RTL/frontend/main.b6d8f7530c3b0221.js
2026-02-01 09:06:07 -08:00

1 line
No EOL
3.3 MiB

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[792],{3:(Ae,ee,l)=>{"use strict";l.d(ee,{WX:()=>P,xW:()=>g});var i=l(2615),t=l(73664),p=l(19945);const c=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,e=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function T(j,U){const K=Array(j);for(let q=0;q<j;q++)K[q]=U(q);return K}let g=(()=>{class j extends p.MJ{useUtcForDisplay=!1;_matDateLocale=(0,i.WQX)(p.Ju,{optional:!0});constructor(){super();const K=(0,i.WQX)(p.Ju,{optional:!0});void 0!==K&&(this._matDateLocale=K),super.setLocale(this._matDateLocale)}getYear(K){return K.getFullYear()}getMonth(K){return K.getMonth()}getDate(K){return K.getDate()}getDayOfWeek(K){return K.getDay()}getMonthNames(K){const q=new Intl.DateTimeFormat(this.locale,{month:K,timeZone:"utc"});return T(12,G=>this._format(q,new Date(2017,G,1)))}getDateNames(){const K=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return T(31,q=>this._format(K,new Date(2017,0,q+1)))}getDayOfWeekNames(K){const q=new Intl.DateTimeFormat(this.locale,{weekday:K,timeZone:"utc"});return T(7,G=>this._format(q,new Date(2017,0,G+1)))}getYearName(K){const q=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(q,K)}getFirstDayOfWeek(){if(typeof Intl<"u"&&Intl.Locale){const K=new Intl.Locale(this.locale),q=(K.getWeekInfo?.()||K.weekInfo)?.firstDay??0;return 7===q?0:q}return 0}getNumDaysInMonth(K){return this.getDate(this._createDateWithOverflow(this.getYear(K),this.getMonth(K)+1,0))}clone(K){return new Date(K.getTime())}createDate(K,q,G){let Q=this._createDateWithOverflow(K,q,G);return Q.getMonth(),Q}today(){return new Date}parse(K,q){return"number"==typeof K?new Date(K):K?new Date(Date.parse(K)):null}format(K,q){if(!this.isValid(K))throw Error("NativeDateAdapter: Cannot format invalid date.");const G=new Intl.DateTimeFormat(this.locale,{...q,timeZone:"utc"});return this._format(G,K)}addCalendarYears(K,q){return this.addCalendarMonths(K,12*q)}addCalendarMonths(K,q){let G=this._createDateWithOverflow(this.getYear(K),this.getMonth(K)+q,this.getDate(K));return this.getMonth(G)!=((this.getMonth(K)+q)%12+12)%12&&(G=this._createDateWithOverflow(this.getYear(G),this.getMonth(G),0)),G}addCalendarDays(K,q){return this._createDateWithOverflow(this.getYear(K),this.getMonth(K),this.getDate(K)+q)}toIso8601(K){return[K.getUTCFullYear(),this._2digit(K.getUTCMonth()+1),this._2digit(K.getUTCDate())].join("-")}deserialize(K){if("string"==typeof K){if(!K)return null;if(c.test(K)){let q=new Date(K);if(this.isValid(q))return q}}return super.deserialize(K)}isDateInstance(K){return K instanceof Date}isValid(K){return!isNaN(K.getTime())}invalid(){return new Date(NaN)}setTime(K,q,G,Q){const $=this.clone(K);return $.setHours(q,G,Q,0),$}getHours(K){return K.getHours()}getMinutes(K){return K.getMinutes()}getSeconds(K){return K.getSeconds()}parseTime(K,q){if("string"!=typeof K)return K instanceof Date?new Date(K.getTime()):null;const G=K.trim();if(0===G.length)return null;let Q=this._parseTimeString(G);if(null===Q){const $=G.replace(/[^0-9:(AM|PM)]/gi,"").trim();$.length>0&&(Q=this._parseTimeString($))}return Q||this.invalid()}addSeconds(K,q){return new Date(K.getTime()+1e3*q)}_createDateWithOverflow(K,q,G){const Q=new Date;return Q.setFullYear(K,q,G),Q.setHours(0,0,0,0),Q}_2digit(K){return("00"+K).slice(-2)}_format(K,q){const G=new Date;return G.setUTCFullYear(q.getFullYear(),q.getMonth(),q.getDate()),G.setUTCHours(q.getHours(),q.getMinutes(),q.getSeconds(),q.getMilliseconds()),K.format(G)}_parseTimeString(K){const q=K.toUpperCase().match(e);if(q){let G=parseInt(q[1]);const Q=parseInt(q[2]);let $=null==q[3]?void 0:parseInt(q[3]);const ae=q[4];if(12===G?G="AM"===ae?0:G:"PM"===ae&&(G+=12),d(G,0,23)&&d(Q,0,59)&&(null==$||d($,0,59)))return this.setTime(this.today(),G,Q,$||0)}return null}static \u0275fac=function(q){return new(q||j)};static \u0275prov=i.jDH({token:j,factory:j.\u0275fac})}return j})();function d(j,U,K){return!isNaN(j)&&j>=U&&j<=K}const w={parse:{dateInput:null,timeInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},timeInput:{hour:"numeric",minute:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"},timeOptionLabel:{hour:"numeric",minute:"numeric"}}};let P=(()=>{class j{static \u0275fac=function(q){return new(q||j)};static \u0275mod=t.$C({type:j});static \u0275inj=i.G2t({providers:[M()]})}return j})();function M(j=w){return[{provide:p.MJ,useClass:g},{provide:p.de,useValue:j}]}},190:(Ae,ee,l)=>{"use strict";l.d(ee,{$6:()=>_e,$J:()=>B,$Q:()=>Te,As:()=>ge,Br:()=>d,CK:()=>Ee,DI:()=>oe,DY:()=>ue,Do:()=>Be,Dq:()=>ye,Fd:()=>nt,GZ:()=>J,Gy:()=>m,H2:()=>r,Hm:()=>ce,J9:()=>me,Jx:()=>Q,L:()=>_,Lf:()=>pe,NS:()=>T,O8:()=>Oe,Qj:()=>P,SM:()=>ve,Sn:()=>g,T4:()=>te,Uj:()=>dt,Uo:()=>ae,VK:()=>q,WE:()=>Ie,X9:()=>e,XT:()=>Pe,Yi:()=>Qt,Zi:()=>K,_$:()=>Le,aB:()=>ct,ar:()=>n,b1:()=>ke,cR:()=>x,cU:()=>o,dv:()=>D,e8:()=>p,ed:()=>U,fy:()=>b,ij:()=>li,jk:()=>di,kv:()=>le,lg:()=>c,mh:()=>Ke,oX:()=>ze,p1:()=>S,pL:()=>f,sq:()=>M,t0:()=>Mt,t5:()=>re,tG:()=>se,tf:()=>he,uK:()=>Rt,vL:()=>A,w0:()=>k,x1:()=>w,yp:()=>$,z2:()=>h,zU:()=>ht});var i=l(59640),t=l(4416);const p=(0,i.VP)(t.QP.UPDATE_API_CALL_STATUS_LND,(0,i.xk)()),S=(0,i.VP)(t.QP.RESET_LND_STORE),c=(0,i.VP)(t.QP.FETCH_PAGE_SETTINGS_LND),e=(0,i.VP)(t.QP.UPDATE_SELECTED_NODE_OPTIONS),T=(0,i.VP)(t.QP.SET_PAGE_SETTINGS_LND,(0,i.xk)()),g=(0,i.VP)(t.QP.SAVE_PAGE_SETTINGS_LND,(0,i.xk)()),d=(0,i.VP)(t.QP.FETCH_INFO_LND,(0,i.xk)()),w=(0,i.VP)(t.QP.SET_INFO_LND,(0,i.xk)()),m=(0,i.VP)(t.QP.FETCH_PEERS_LND),P=(0,i.VP)(t.QP.SET_PEERS_LND,(0,i.xk)()),M=(0,i.VP)(t.QP.SAVE_NEW_PEER_LND,(0,i.xk)()),U=((0,i.VP)(t.QP.NEWLY_ADDED_PEER_LND,(0,i.xk)()),(0,i.VP)(t.QP.DETACH_PEER_LND,(0,i.xk)())),K=(0,i.VP)(t.QP.REMOVE_PEER_LND,(0,i.xk)()),q=(0,i.VP)(t.QP.SAVE_NEW_INVOICE_LND,(0,i.xk)()),Q=((0,i.VP)(t.QP.NEWLY_SAVED_INVOICE_LND,(0,i.xk)()),(0,i.VP)(t.QP.ADD_INVOICE_LND,(0,i.xk)())),$=(0,i.VP)(t.QP.FETCH_FEES_LND),ae=(0,i.VP)(t.QP.SET_FEES_LND,(0,i.xk)()),ue=(0,i.VP)(t.QP.FETCH_BLOCKCHAIN_BALANCE_LND),oe=(0,i.VP)(t.QP.SET_BLOCKCHAIN_BALANCE_LND,(0,i.xk)()),he=(0,i.VP)(t.QP.FETCH_NETWORK_LND),me=(0,i.VP)(t.QP.SET_NETWORK_LND,(0,i.xk)()),Te=(0,i.VP)(t.QP.FETCH_CHANNELS_LND),D=(0,i.VP)(t.QP.SET_CHANNELS_LND,(0,i.xk)()),n=(0,i.VP)(t.QP.FETCH_PENDING_CHANNELS_LND),o=(0,i.VP)(t.QP.SET_PENDING_CHANNELS_LND,(0,i.xk)()),f=(0,i.VP)(t.QP.FETCH_CLOSED_CHANNELS_LND),h=(0,i.VP)(t.QP.SET_CLOSED_CHANNELS_LND,(0,i.xk)()),b=(0,i.VP)(t.QP.UPDATE_CHANNEL_LND,(0,i.xk)()),A=(0,i.VP)(t.QP.SAVE_NEW_CHANNEL_LND,(0,i.xk)()),k=(0,i.VP)(t.QP.CLOSE_CHANNEL_LND,(0,i.xk)()),x=(0,i.VP)(t.QP.REMOVE_CHANNEL_LND,(0,i.xk)()),r=(0,i.VP)(t.QP.BACKUP_CHANNELS_LND,(0,i.xk)()),_=(0,i.VP)(t.QP.VERIFY_CHANNEL_LND,(0,i.xk)()),B=((0,i.VP)(t.QP.BACKUP_CHANNELS_RES_LND,(0,i.xk)()),(0,i.VP)(t.QP.VERIFY_CHANNEL_RES_LND,(0,i.xk)()),(0,i.VP)(t.QP.RESTORE_CHANNELS_LIST_LND)),re=(0,i.VP)(t.QP.SET_RESTORE_CHANNELS_LIST_LND,(0,i.xk)()),pe=(0,i.VP)(t.QP.RESTORE_CHANNELS_LND,(0,i.xk)()),Be=((0,i.VP)(t.QP.RESTORE_CHANNELS_RES_LND,(0,i.xk)()),(0,i.VP)(t.QP.FETCH_INVOICES_LND,(0,i.xk)())),_e=(0,i.VP)(t.QP.SET_INVOICES_LND,(0,i.xk)()),ye=(0,i.VP)(t.QP.UPDATE_INVOICE_LND,(0,i.xk)()),Le=(0,i.VP)(t.QP.UPDATE_PAYMENT_LND,(0,i.xk)()),Ke=(0,i.VP)(t.QP.FETCH_TRANSACTIONS_LND),ge=(0,i.VP)(t.QP.SET_TRANSACTIONS_LND,(0,i.xk)()),ve=(0,i.VP)(t.QP.FETCH_UTXOS_LND),Oe=(0,i.VP)(t.QP.SET_UTXOS_LND,(0,i.xk)()),Ee=(0,i.VP)(t.QP.FETCH_PAYMENTS_LND,(0,i.xk)()),dt=(0,i.VP)(t.QP.SET_PAYMENTS_LND,(0,i.xk)()),nt=(0,i.VP)(t.QP.SEND_PAYMENT_LND,(0,i.xk)()),Mt=((0,i.VP)(t.QP.SEND_PAYMENT_STATUS_LND,(0,i.xk)()),(0,i.VP)(t.QP.FETCH_GRAPH_NODE_LND,(0,i.xk)())),Pe=((0,i.VP)(t.QP.SET_GRAPH_NODE_LND,(0,i.xk)()),(0,i.VP)(t.QP.GET_NEW_ADDRESS_LND,(0,i.xk)())),ct=((0,i.VP)(t.QP.SET_NEW_ADDRESS_LND,(0,i.xk)()),(0,i.VP)(t.QP.SET_CHANNEL_TRANSACTION_LND,(0,i.xk)())),ze=((0,i.VP)(t.QP.SET_CHANNEL_TRANSACTION_RES_LND,(0,i.xk)()),(0,i.VP)(t.QP.GEN_SEED_LND,(0,i.xk)())),J=((0,i.VP)(t.QP.GEN_SEED_RESPONSE_LND,(0,i.xk)()),(0,i.VP)(t.QP.INIT_WALLET_LND,(0,i.xk)())),Ie=((0,i.VP)(t.QP.INIT_WALLET_RESPONSE_LND,(0,i.xk)()),(0,i.VP)(t.QP.UNLOCK_WALLET_LND,(0,i.xk)())),ht=(0,i.VP)(t.QP.PEER_LOOKUP_LND,(0,i.xk)()),li=(0,i.VP)(t.QP.CHANNEL_LOOKUP_LND,(0,i.xk)()),Qt=(0,i.VP)(t.QP.INVOICE_LOOKUP_LND,(0,i.xk)()),di=(0,i.VP)(t.QP.PAYMENT_LOOKUP_LND,(0,i.xk)()),Rt=((0,i.VP)(t.QP.SET_LOOKUP_LND,(0,i.xk)()),(0,i.VP)(t.QP.GET_FORWARDING_HISTORY_LND,(0,i.xk)())),le=(0,i.VP)(t.QP.SET_FORWARDING_HISTORY_LND,(0,i.xk)()),te=(0,i.VP)(t.QP.GET_QUERY_ROUTES_LND,(0,i.xk)()),ce=(0,i.VP)(t.QP.SET_QUERY_ROUTES_LND,(0,i.xk)()),se=(0,i.VP)(t.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),ke=(0,i.VP)(t.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,i.xk)())},283:(Ae,ee,l)=>{"use strict";l.d(ee,{i:()=>he});var i=l(11747),t=l(21413),p=l(7673),S=l(99437),c=l(96354),e=l(31397),T=l(56977),g=l(12462),d=l(8321),w=l(4416),m=l(11771),P=l(28430),M=l(59584),j=l(32142),U=l(2615),K=l(29330),q=l(59640),G=l(53202),Q=l(82571),$=l(98570),ae=l(43694),ue=l(7879),oe=l(57303);let he=(()=>{var me;class Te{constructor(n,o,f,h,b,A,k,x,r){this.actions=n,this.httpClient=o,this.store=f,this.sessionService=h,this.commonService=b,this.logger=A,this.router=k,this.wsService=x,this.location=r,this.CHILD_API_URL=w.H$+"/cln",this.CLN_VERISON="",this.flgInitialized=!1,this.unSubs=[new t.B,new t.B,new t.B],this.infoFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_INFO_CLN),(0,e.Z)(_=>(this.flgInitialized=!1,this.store.dispatch((0,m.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,P.no)({payload:{action:"FetchInfo",status:w.wn.INITIATED}})),this.store.dispatch((0,m.mt)({payload:w.MZ.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+w.rl.GETINFO_API).pipe((0,T.Q)(this.actions.pipe((0,i.gp)(w.aU.SET_SELECTED_NODE))),(0,c.T)(W=>(this.logger.info(W),this.CLN_VERISON=W.version||"",W.chains&&W.chains.length&&W.chains[0]&&"object"==typeof W.chains[0]&&W.chains[0].hasOwnProperty("chain")&&W?.chains[0].chain&&W?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&W?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,P.no)({payload:{action:"FetchInfo",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.GET_NODE_INFO})),this.store.dispatch((0,m.Jh)()),setTimeout(()=>{this.store.dispatch((0,m.xO)({payload:{data:{type:w.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:w.aU.LOGOUT,payload:"Sorry Not Sorry, RTL is Bitcoin Only!"}):(this.initializeRemainingData(W,_.payload.loadPage),this.store.dispatch((0,P.no)({payload:{action:"FetchInfo",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.GET_NODE_INFO})),{type:w.TC.SET_INFO_CLN,payload:W||{}}))),(0,S.W)(W=>{const I=this.commonService.extractErrorCode(W),B=503===I?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(W);return this.router.navigate(["/error"],{state:{errorCode:I,errorMessage:B}}),this.handleErrorWithoutAlert("FetchInfo",w.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:I,error:B}),(0,p.of)({type:w.aU.VOID})})))))),this.fetchFeeRatesCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_FEE_RATES_CLN),(0,e.Z)(_=>(this.store.dispatch((0,P.no)({payload:{action:"FetchFeeRates"+_.payload,status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.NETWORK_API+"/feeRates",{style:_.payload}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"FetchFeeRates"+_.payload,status:w.wn.COMPLETED}})),{type:w.TC.SET_FEE_RATES_CLN,payload:W||{}})),(0,S.W)(W=>(this.handleErrorWithoutAlert("FetchFeeRates"+_.payload,w.MZ.NO_SPINNER,"Fetching Fee Rates Failed.",W),(0,p.of)({type:w.aU.VOID})))))))),this.getNewAddressCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.GET_NEW_ADDRESS_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.post(this.CHILD_API_URL+w.rl.ON_CHAIN_API+"/newaddr",{addresstype:_.payload.addressCode}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,m.y0)({payload:w.MZ.GENERATE_NEW_ADDRESS})),{type:w.TC.SET_NEW_ADDRESS_CLN,payload:W&&W[_.payload.addressCode]?W[_.payload.addressCode]:{}})),(0,S.W)(W=>(this.handleErrorWithAlert("GenerateNewAddress",w.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+w.rl.ON_CHAIN_API,W),(0,p.of)({type:w.aU.VOID})))))))),this.setNewAddressCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SET_NEW_ADDRESS_CLN),(0,c.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.peersFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_PEERS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,P.no)({payload:{action:"FetchPeers",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.PEERS_API).pipe((0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.no)({payload:{action:"FetchPeers",status:w.wn.COMPLETED}})),{type:w.TC.SET_PEERS_CLN,payload:_||[]})),(0,S.W)(_=>(this.handleErrorWithoutAlert("FetchPeers",w.MZ.NO_SPINNER,"Fetching Peers Failed.",_),(0,p.of)({type:w.aU.VOID})))))))),this.saveNewPeerCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SAVE_NEW_PEER_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.CONNECT_PEER})),this.store.dispatch((0,P.no)({payload:{action:"SaveNewPeer",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.PEERS_API,{id:_.payload.id}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"SaveNewPeer",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.CONNECT_PEER})),this.store.dispatch((0,P.Qj)({payload:W||[]})),{type:w.TC.NEWLY_ADDED_PEER_CLN,payload:{peer:W.find(I=>0===_.payload.id.indexOf(I.id?I.id:""))}})),(0,S.W)(W=>(this.handleErrorWithoutAlert("SaveNewPeer",w.MZ.CONNECT_PEER,"Peer Connection Failed.",W),(0,p.of)({type:w.aU.VOID})))))))),this.detachPeerCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.DETACH_PEER_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.DISCONNECT_PEER})),this.httpClient.post(this.CHILD_API_URL+w.rl.PEERS_API+"/disconnect",{id:_.payload.id,force:_.payload.force}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,m.y0)({payload:w.MZ.DISCONNECT_PEER})),this.store.dispatch((0,m.UI)({payload:"Peer Disconnected Successfully!"})),{type:w.TC.REMOVE_PEER_CLN,payload:{id:_.payload.id}})),(0,S.W)(W=>(this.handleErrorWithAlert("PeerDisconnect",w.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+w.rl.PEERS_API+"/"+_.payload.id,W),(0,p.of)({type:w.aU.VOID})))))))),this.channelsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_CHANNELS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,P.no)({payload:{action:"FetchChannels",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.CHANNELS_API+"/listPeerChannels"))),(0,c.T)(_=>{this.logger.info(_),this.store.dispatch((0,P.no)({payload:{action:"FetchChannels",status:w.wn.COMPLETED}}));const W={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return _.forEach(I=>{"CHANNELD_NORMAL"===I.state?I.peer_connected?W.activeChannels.push(I):W.inactiveChannels.push(I):W.pendingChannels.push(I)}),{type:w.TC.SET_CHANNELS_CLN,payload:W}}),(0,S.W)(_=>(this.handleErrorWithoutAlert("FetchChannels",w.MZ.NO_SPINNER,"Fetching Channels Failed.",_),(0,p.of)({type:w.aU.VOID}))))),this.openNewChannelCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SAVE_NEW_CHANNEL_CLN),(0,e.Z)(_=>{this.store.dispatch((0,m.mt)({payload:w.MZ.OPEN_CHANNEL})),this.store.dispatch((0,P.no)({payload:{action:"SaveNewChannel",status:w.wn.INITIATED}}));const W={id:_.payload.peerId,amount:_.payload.amount,feerate:_.payload.feeRate,announce:_.payload.announce};return _.payload.minconf&&(W.minconf=_.payload.minconf),_.payload.utxos&&(W.utxos=_.payload.utxos),_.payload.requestAmount&&(W.request_amt=_.payload.requestAmount),_.payload.compactLease&&(W.compact_lease=_.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+w.rl.CHANNELS_API,W).pipe((0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,P.no)({payload:{action:"SaveNewChannel",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.OPEN_CHANNEL})),this.store.dispatch((0,m.UI)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,P.g6)()),{type:w.TC.FETCH_CHANNELS_CLN})),(0,S.W)(I=>(this.handleErrorWithoutAlert("SaveNewChannel",w.MZ.OPEN_CHANNEL,"Opening Channel Failed.",I),(0,p.of)({type:w.aU.VOID}))))}))),this.updateChannelCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.UPDATE_CHANNEL_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+w.rl.CHANNELS_API+"/setChannelFee",_.payload).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,m.y0)({payload:w.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,m.UI)("all"===_.payload.id?{payload:{message:"All Channels Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}}:{payload:{message:"Channel Updated Successfully. Fee policy updates may take some time to reflect on the channel.",duration:5e3}})),{type:w.TC.FETCH_CHANNELS_CLN})),(0,S.W)(W=>(this.handleErrorWithAlert("UpdateChannel",w.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+w.rl.CHANNELS_API,W),(0,p.of)({type:w.aU.VOID})))))))),this.closeChannelCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.CLOSE_CHANNEL_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:_.payload.force?w.MZ.FORCE_CLOSE_CHANNEL:w.MZ.CLOSE_CHANNEL})),this.httpClient.post(this.CHILD_API_URL+w.rl.CHANNELS_API+"/close",{id:_.payload.channelId,unilateraltimeout:_.payload.force?1:null}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,m.y0)({payload:_.payload.force?w.MZ.FORCE_CLOSE_CHANNEL:w.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,P.$Q)()),this.store.dispatch((0,P.g6)()),this.store.dispatch((0,m.UI)({payload:"Channel Closed Successfully!"})),{type:w.TC.REMOVE_CHANNEL_CLN,payload:_.payload})),(0,S.W)(W=>(this.handleErrorWithAlert("CloseChannel",_.payload.force?w.MZ.FORCE_CLOSE_CHANNEL:w.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+w.rl.CHANNELS_API,W),(0,p.of)({type:w.aU.VOID})))))))),this.paymentsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_PAYMENTS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,P.no)({payload:{action:"FetchPayments",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.PAYMENTS_API))),(0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.no)({payload:{action:"FetchPayments",status:w.wn.COMPLETED}})),{type:w.TC.SET_PAYMENTS_CLN,payload:_||[]})),(0,S.W)(_=>(this.handleErrorWithoutAlert("FetchPayments",w.MZ.NO_SPINNER,"Fetching Payments Failed.",_),(0,p.of)({type:w.aU.VOID}))))),this.fetchOfferInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_OFFER_INVOICE_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.FETCH_INVOICE})),this.store.dispatch((0,P.no)({payload:{action:"FetchOfferInvoice",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.OFFERS_API+"/fetchOfferInvoice",_.payload).pipe((0,c.T)(W=>{this.logger.info(W),setTimeout(()=>{this.store.dispatch((0,P.no)({payload:{action:"FetchOfferInvoice",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.FETCH_INVOICE})),this.store.dispatch((0,P.GZ)({payload:W||{}}))},500)}),(0,S.W)(W=>(this.handleErrorWithoutAlert("FetchOfferInvoice",w.MZ.FETCH_INVOICE,"Offer Invoice Fetch Failed",W),(0,p.of)({type:w.aU.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SET_OFFER_INVOICE_CLN),(0,c.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.sendPaymentCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SEND_PAYMENT_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:_.payload.uiMessage})),this.store.dispatch((0,P.no)({payload:{action:"SendPayment",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.PAYMENTS_API,_.payload).pipe((0,c.T)(W=>{this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"SendPayment",status:w.wn.COMPLETED}}));let I="Payment Sent Successfully!";W.saveToDBError&&(I="Payment Sent Successfully but Offer Saving to Database Failed."),W.saveToDBResponse&&"NA"!==W.saveToDBResponse&&(this.store.dispatch((0,P.Db)({payload:W.saveToDBResponse})),I="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,P.$Q)()),this.store.dispatch((0,P.g6)()),this.store.dispatch((0,P.CK)()),this.store.dispatch((0,m.y0)({payload:_.payload.uiMessage})),this.store.dispatch((0,m.UI)({payload:I})),this.store.dispatch((0,P.N4)({payload:W.paymentResponse}))},1e3)}),(0,S.W)(W=>(this.logger.error("Error: "+JSON.stringify(W)),_.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",_.payload.uiMessage,"Send Payment Failed.",W):this.handleErrorWithAlert("SendPayment",_.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+w.rl.PAYMENTS_API,W),(0,p.of)({type:w.aU.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.GET_QUERY_ROUTES_CLN),(0,e.Z)(_=>(this.store.dispatch((0,P.no)({payload:{action:"GetQueryRoutes",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.NETWORK_API+"/getRoute",{id:_.payload.destPubkey,amount_msat:_.payload.amount,riskfactor:0}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"GetQueryRoutes",status:w.wn.COMPLETED}})),{type:w.TC.SET_QUERY_ROUTES_CLN,payload:W})),(0,S.W)(W=>(this.store.dispatch((0,P.Hm)({payload:{route:[]}})),this.handleErrorWithAlert("GetQueryRoutes",w.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+w.rl.NETWORK_API+"/getRoute",W),(0,p.of)({type:w.aU.VOID})))))))),this.setQueryRoutesCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SET_QUERY_ROUTES_CLN),(0,c.T)(_=>_.payload)),{dispatch:!1}),this.peerLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.PEER_LOOKUP_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.SEARCHING_NODE})),this.store.dispatch((0,P.no)({payload:{action:"Lookup",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.NETWORK_API+"/listNodes",{id:_.payload}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"Lookup",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.SEARCHING_NODE})),{type:w.TC.SET_LOOKUP_CLN,payload:W})),(0,S.W)(W=>(this.handleErrorWithAlert("Lookup",w.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+w.rl.NETWORK_API+"/listNodes/"+_.payload,W),(0,p.of)({type:w.aU.VOID})))))))),this.channelLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.CHANNEL_LOOKUP_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:_.payload.uiMessage})),this.store.dispatch((0,P.no)({payload:{action:"Lookup",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.NETWORK_API+"/listChannels",{short_channel_id:_.payload.shortChannelID}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"Lookup",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:_.payload.uiMessage})),{type:w.TC.SET_LOOKUP_CLN,payload:W})),(0,S.W)(W=>(_.payload.showError?this.handleErrorWithAlert("Lookup",_.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+w.rl.NETWORK_API+"/listChannels/"+_.payload.shortChannelID,W):this.store.dispatch((0,m.y0)({payload:_.payload.uiMessage})),this.store.dispatch((0,P.$J)({payload:[]})),(0,p.of)({type:w.aU.VOID})))))))),this.invoiceLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.INVOICE_LOOKUP_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,P.no)({payload:{action:"Lookup",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.INVOICES_API+"/lookup",{label:_.payload}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"Lookup",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.SEARCHING_INVOICE})),W.invoices&&W.invoices.length&&W.invoices.length>0&&this.store.dispatch((0,P.Dq)({payload:W.invoices[0]})),{type:w.TC.SET_LOOKUP_CLN,payload:W.invoices&&W.invoices.length&&W.invoices.length>0?W.invoices[0]:W})),(0,S.W)(W=>(this.handleErrorWithoutAlert("Lookup",w.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",W),this.store.dispatch((0,m.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,p.of)({type:w.aU.VOID})))))))),this.setLookupCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SET_LOOKUP_CLN),(0,c.T)(_=>(this.logger.info(_.payload),_.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.GET_FORWARDING_HISTORY_CLN),(0,e.Z)(_=>{const W=_.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,P.no)({payload:{action:"FetchForwardingHistory"+W,status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.CHANNELS_API+"/listForwards",_.payload).pipe((0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,P.no)({payload:{action:"FetchForwardingHistory"+W,status:w.wn.COMPLETED}})),_.payload.status===w.xk.FAILED?this.store.dispatch((0,P.kv)({payload:{status:w.xk.FAILED,totalForwards:I.length,listForwards:I}})):_.payload.status===w.xk.LOCAL_FAILED?this.store.dispatch((0,P.kv)({payload:{status:w.xk.LOCAL_FAILED,totalForwards:I.length,listForwards:I}})):_.payload.status===w.xk.SETTLED&&this.store.dispatch((0,P.kv)({payload:{status:w.xk.SETTLED,totalForwards:I.length,listForwards:I}})),{type:w.aU.VOID})),(0,S.W)(I=>(this.handleErrorWithAlert("FetchForwardingHistory"+W,w.MZ.NO_SPINNER,"Get "+_.payload.status+" Forwarding History Failed",this.CHILD_API_URL+w.rl.CHANNELS_API+"/listForwards",I),(0,p.of)({type:w.aU.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.DELETE_EXPIRED_INVOICE_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.DELETE_INVOICE})),this.httpClient.post(this.CHILD_API_URL+w.rl.INVOICES_API+"/delete",{subsystem:"expiredinvoices",age:w.NG}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,m.y0)({payload:w.MZ.DELETE_INVOICE})),this.store.dispatch((0,m.UI)({payload:W.status})),{type:w.TC.FETCH_INVOICES_CLN})),(0,S.W)(W=>(this.handleErrorWithAlert("DeleteInvoices",w.MZ.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+w.rl.INVOICES_API,W),(0,p.of)({type:w.aU.VOID})))))))),this.saveNewInvoiceCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SAVE_NEW_INVOICE_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.ADD_INVOICE})),this.store.dispatch((0,P.no)({payload:{action:"SaveNewInvoice",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.INVOICES_API,_.payload).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"SaveNewInvoice",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.ADD_INVOICE})),W.amount_msat=_.payload.amount_msat,W.label=_.payload.label,W.expires_at=Math.round((new Date).getTime()/1e3+_.payload.expiry),W.description=_.payload.description,W.status="unpaid",setTimeout(()=>{this.store.dispatch((0,m.xO)({payload:{data:{invoice:W,newlyAdded:!0,component:d.y}}}))},200),{type:w.TC.ADD_INVOICE_CLN,payload:W})),(0,S.W)(W=>(this.handleErrorWithoutAlert("SaveNewInvoice",w.MZ.ADD_INVOICE,"Add Invoice Failed.",W),(0,p.of)({type:w.aU.VOID})))))))),this.saveNewOfferCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SAVE_NEW_OFFER_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.CREATE_OFFER})),this.store.dispatch((0,P.no)({payload:{action:"SaveNewOffer",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.OFFERS_API,_.payload).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"SaveNewOffer",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,m.xO)({payload:{data:{offer:W,newlyAdded:!0,component:j.f}}}))},100),{type:w.TC.ADD_OFFER_CLN,payload:W})),(0,S.W)(W=>(this.handleErrorWithoutAlert("SaveNewOffer",w.MZ.CREATE_OFFER,"Create Offer Failed.",W),(0,p.of)({type:w.aU.VOID})))))))),this.invoicesFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_INVOICES_CLN),(0,e.Z)(()=>(this.store.dispatch((0,P.no)({payload:{action:"FetchInvoices",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.INVOICES_API+"/lookup",null))),(0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.no)({payload:{action:"FetchInvoices",status:w.wn.COMPLETED}})),{type:w.TC.SET_INVOICES_CLN,payload:_})),(0,S.W)(_=>(this.handleErrorWithoutAlert("FetchInvoices",w.MZ.NO_SPINNER,"Fetching Invoices Failed.",_),(0,p.of)({type:w.aU.VOID}))))),this.offersFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_OFFERS_CLN),(0,e.Z)(_=>(this.store.dispatch((0,P.no)({payload:{action:"FetchOffers",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.OFFERS_API).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"FetchOffers",status:w.wn.COMPLETED}})),{type:w.TC.SET_OFFERS_CLN,payload:W.offers?W.offers:[]})),(0,S.W)(W=>(this.handleErrorWithoutAlert("FetchOffers",w.MZ.NO_SPINNER,"Fetching Offers Failed.",W),(0,p.of)({type:w.aU.VOID})))))))),this.offersDisableCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.DISABLE_OFFER_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.DISABLE_OFFER})),this.store.dispatch((0,P.no)({payload:{action:"DisableOffer",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.OFFERS_API+"/disableOffer",{offer_id:_.payload.offer_id}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"DisableOffer",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.DISABLE_OFFER})),this.store.dispatch((0,m.UI)({payload:"Offer Disabled Successfully!"})),{type:w.TC.UPDATE_OFFER_CLN,payload:{offer:W}})),(0,S.W)(W=>(this.handleErrorWithoutAlert("DisableOffer",w.MZ.DISABLE_OFFER,"Disabling Offer Failed.",W),(0,p.of)({type:w.aU.VOID})))))))),this.offerBookmarksFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_OFFER_BOOKMARKS_CLN),(0,e.Z)(_=>(this.store.dispatch((0,P.no)({payload:{action:"FetchOfferBookmarks",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.OFFERS_API+"/offerbookmarks").pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"FetchOfferBookmarks",status:w.wn.COMPLETED}})),{type:w.TC.SET_OFFER_BOOKMARKS_CLN,payload:W||[]})),(0,S.W)(W=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",w.MZ.NO_SPINNER,"Fetching Offer Bookmarks Failed.",W),(0,p.of)({type:w.aU.VOID})))))))),this.peidOffersDeleteCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.DELETE_OFFER_BOOKMARK_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,P.no)({payload:{action:"DeleteOfferBookmark",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.OFFERS_API+"/offerbookmark/delete",{offer_str:_.payload.bolt12}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"DeleteOfferBookmark",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,m.UI)({payload:"Offer Bookmark Deleted Successfully!"})),{type:w.TC.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:_.payload.bolt12}})),(0,S.W)(W=>(this.handleErrorWithAlert("DeleteOfferBookmark",w.MZ.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+w.rl.OFFERS_API+"/offerbookmark/"+_.payload.bolt12,W),(0,p.of)({type:w.aU.VOID})))))))),this.SetChannelTransactionCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SET_CHANNEL_TRANSACTION_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.SEND_FUNDS})),this.store.dispatch((0,P.no)({payload:{action:"SetChannelTransaction",status:w.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.rl.ON_CHAIN_API,_.payload).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"SetChannelTransaction",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.SEND_FUNDS})),this.store.dispatch((0,P.g6)()),{type:w.TC.SET_CHANNEL_TRANSACTION_RES_CLN,payload:W})),(0,S.W)(W=>(this.handleErrorWithoutAlert("SetChannelTransaction",w.MZ.SEND_FUNDS,"Sending Fund Failed.",W),(0,p.of)({type:w.aU.VOID})))))))),this.utxoBalancesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_UTXO_BALANCES_CLN),(0,e.Z)(()=>(this.store.dispatch((0,P.no)({payload:{action:"FetchUTXOBalances",status:w.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.rl.ON_CHAIN_API+"/utxos"))),(0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.no)({payload:{action:"FetchUTXOBalances",status:w.wn.COMPLETED}})),{type:w.TC.SET_UTXO_BALANCES_CLN,payload:_})),(0,S.W)(_=>(this.handleErrorWithoutAlert("FetchUTXOBalances",w.MZ.NO_SPINNER,"Fetching UTXO and Balances Failed.",_),(0,p.of)({type:w.aU.VOID}))))),this.pageSettingsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.FETCH_PAGE_SETTINGS_CLN),(0,e.Z)(()=>(this.store.dispatch((0,P.no)({payload:{action:"FetchPageSettings",status:w.wn.INITIATED}})),this.httpClient.get(w.rl.PAGE_SETTINGS_API).pipe((0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.no)({payload:{action:"FetchPageSettings",status:w.wn.COMPLETED}})),{type:w.TC.SET_PAGE_SETTINGS_CLN,payload:_||[]})),(0,S.W)(_=>(this.handleErrorWithoutAlert("FetchPageSettings",w.MZ.NO_SPINNER,"Fetching Page Settings Failed.",_),(0,p.of)({type:w.aU.VOID})))))))),this.savePageSettingsCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(w.TC.SAVE_PAGE_SETTINGS_CLN),(0,e.Z)(_=>(this.store.dispatch((0,m.mt)({payload:w.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,P.no)({payload:{action:"SavePageSettings",status:w.wn.INITIATED}})),this.httpClient.post(w.rl.PAGE_SETTINGS_API,_.payload).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.no)({payload:{action:"SavePageSettings",status:w.wn.COMPLETED}})),this.store.dispatch((0,m.y0)({payload:w.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,m.UI)({payload:"Page Layout Updated Successfully!"})),{type:w.TC.SET_PAGE_SETTINGS_CLN,payload:W||[]})),(0,S.W)(W=>(this.handleErrorWithAlert("SavePageSettings",w.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",w.rl.PAGE_SETTINGS_API,W),(0,p.of)({type:w.aU.VOID})))))))),this.store.select(M.ru).pipe((0,T.Q)(this.unSubs[0])).subscribe(_=>{_.FetchInfo.status!==w.wn.COMPLETED&&_.FetchInfo.status!==w.wn.ERROR||_.FetchChannels.status!==w.wn.COMPLETED&&_.FetchChannels.status!==w.wn.ERROR||_.FetchUTXOBalances.status!==w.wn.COMPLETED&&_.FetchUTXOBalances.status!==w.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,m.y0)({payload:w.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,T.Q)(this.unSubs[1])).subscribe(_=>{this.logger.info("Received new message from the service: "+JSON.stringify(_)),_&&_.data&&_.data[w.Jr.INVOICE_PAYMENT]&&_.data[w.Jr.INVOICE_PAYMENT].label&&this.store.dispatch((0,P.Dq)({payload:_.data[w.Jr.INVOICE_PAYMENT]}))})}initializeRemainingData(n,o){this.sessionService.setItem("clnUnlocked","true");const f={identity_pubkey:n.id,alias:n.alias,testnet:"testnet"===n.network.toLowerCase(),chains:n.chains,uris:n.uris,version:n.version,api_version:n.api_version,numberOfPendingChannels:n.num_pending_channels};this.store.dispatch((0,m.mt)({payload:w.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,m.Fl)({payload:f}));let h=this.location.path();h.includes("/lnd/")?h=h?.replace("/lnd/","/cln/"):h.includes("/ecl/")&&(h=h?.replace("/ecl/","/cln/")),(h.includes("/login")||h.includes("/error")||""===h||"HOME"===o||h.includes("?access-key="))&&(h="/cln/home"),this.router.navigate([h]),this.store.dispatch((0,P.Do)()),this.store.dispatch((0,P.$Q)()),this.store.dispatch((0,P.g6)()),this.store.dispatch((0,P.kX)({payload:"perkw"})),this.store.dispatch((0,P.kX)({payload:"perkb"})),this.store.dispatch((0,P.Gy)()),this.store.dispatch((0,P.CK)())}handleErrorWithoutAlert(n,o,f,h){if(this.logger.error("ERROR IN: "+n+"\n"+JSON.stringify(h)),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,m.Jh)()),this.store.dispatch((0,m.ri)({payload:"Authentication Failed: "+JSON.stringify(h.error)}));else{this.store.dispatch((0,m.y0)({payload:o}));const b=this.commonService.extractErrorMessage(h,f);this.store.dispatch((0,P.no)({payload:{action:n,status:w.wn.ERROR,statusCode:h.status.toString(),message:b}}))}}handleErrorWithAlert(n,o,f,h,b){if(this.logger.error(b),401===b.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,m.Jh)()),this.store.dispatch((0,m.ri)({payload:"Authentication Failed: "+JSON.stringify(b.error)})),this.store.dispatch((0,m.UI)({payload:"Authentication Failed: "+b.error}));else{this.store.dispatch((0,m.y0)({payload:o}));const A=this.commonService.extractErrorMessage(b);this.store.dispatch((0,m.xO)({payload:{data:{type:"ERROR",alertTitle:f,message:{code:b.status,message:A,URL:h},component:g.f}}})),this.store.dispatch((0,P.no)({payload:{action:n,status:w.wn.ERROR,statusCode:b.status.toString(),message:A,URL:h}}))}}ngOnDestroy(){this.unSubs.forEach(n=>{n.next(null),n.complete()})}static#e=me=()=>(this.\u0275fac=function(o){return new(o||Te)(U.KVO(i.En),U.KVO(K.Qq),U.KVO(q.il),U.KVO(G.Q),U.KVO(Q.h),U.KVO($.gP),U.KVO(ae.Ix),U.KVO(ue.I),U.KVO(oe.aZ))},this.\u0275prov=U.jDH({token:Te,factory:Te.\u0275fac}))}return me(),Te})()},345:(Ae,ee,l)=>{"use strict";l.d(ee,{fM:()=>$,hE:()=>e,up:()=>ae});var i=l(2615),t=l(73664),p=l(93393);let e=(()=>{class k{_doc;constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}static \u0275fac=function(_){return new(_||k)(i.KVO(i.qQL))};static \u0275prov=i.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})();const U={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},K=new i.nKC(""),q=new i.nKC("");let G=(()=>{class k{events=[];overrides={};options;buildHammer(r){const _=new Hammer(r,this.options);_.get("pinch").set({enable:!0}),_.get("rotate").set({enable:!0});for(const W in this.overrides)_.get(W).set(this.overrides[W]);return _}static \u0275fac=function(_){return new(_||k)};static \u0275prov=i.jDH({token:k,factory:k.\u0275fac})}return k})(),Q=(()=>{class k extends p.Hl{_config;_injector;loader;_loaderPromise=null;constructor(r,_,W,I){super(r),this._config=_,this._injector=W,this.loader=I}supports(r){return!(!U.hasOwnProperty(r.toLowerCase())&&!this.isCustomEvent(r)||!window.Hammer&&!this.loader)}addEventListener(r,_,W){const I=this.manager.getZone();if(_=_.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||I.runOutsideAngular(()=>this.loader());let B=!1,re=()=>{B=!0};return I.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?B||(re=this.addEventListener(r,_,W)):re=()=>{}}).catch(()=>{re=()=>{}})),()=>{re()}}return I.runOutsideAngular(()=>{const B=this._config.buildHammer(r),re=function(pe){I.runGuarded(function(){W(pe)})};return B.on(_,re),()=>{B.off(_,re),"function"==typeof B.destroy&&B.destroy()}})}isCustomEvent(r){return this._config.events.indexOf(r)>-1}static \u0275fac=function(_){return new(_||k)(i.KVO(i.qQL),i.KVO(K),i.KVO(i.zZn),i.KVO(q,8))};static \u0275prov=i.jDH({token:k,factory:k.\u0275fac})}return k})(),$=(()=>{class k{static \u0275fac=function(_){return new(_||k)};static \u0275mod=t.$C({type:k});static \u0275inj=i.G2t({providers:[{provide:p.Q5,useClass:Q,multi:!0,deps:[i.qQL,K,i.zZn,[new t.Xx1,q]]},{provide:K,useClass:G}]})}return k})(),ae=(()=>{class k{static \u0275fac=function(_){return new(_||k)};static \u0275prov=i.jDH({token:k,factory:function(_){let W=null;return W=_?new(_||k):i.KVO(ue),W},providedIn:"root"})}return k})(),ue=(()=>{class k extends ae{_doc;constructor(r){super(),this._doc=r}sanitize(r,_){if(null==_)return null;switch(r){case t.WPN.NONE:return _;case t.WPN.HTML:return(0,t.iWE)(_,"HTML")?(0,t.aCM)(_):(0,t.wr$)(this._doc,String(_)).toString();case t.WPN.STYLE:return(0,t.iWE)(_,"Style")?(0,t.aCM)(_):_;case t.WPN.SCRIPT:if((0,t.iWE)(_,"Script"))return(0,t.aCM)(_);throw new i.buA(5200,!1);case t.WPN.URL:return(0,t.iWE)(_,"URL")?(0,t.aCM)(_):(0,t.gil)(String(_));case t.WPN.RESOURCE_URL:if((0,t.iWE)(_,"ResourceURL"))return(0,t.aCM)(_);throw new i.buA(5201,!1);default:throw new i.buA(5202,!1)}}bypassSecurityTrustHtml(r){return(0,t.PYC)(r)}bypassSecurityTrustStyle(r){return(0,t.rAh)(r)}bypassSecurityTrustScript(r){return(0,t.p2i)(r)}bypassSecurityTrustUrl(r){return(0,t.B1s)(r)}bypassSecurityTrustResourceUrl(r){return(0,t.RPW)(r)}static \u0275fac=function(_){return new(_||k)(i.KVO(i.qQL))};static \u0275prov=i.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},350:(Ae,ee,l)=>{var i=l(60503),t=l(19307),p=l(27054).Buffer,S=l(91821),c=l(3247),e=l(12375),T=l(18211);function d(j,U,K){c.call(this),this._cache=new m,this._cipher=new e.AES(U),this._prev=p.from(K),this._mode=j,this._autopadding=!0}l(71993)(d,c),d.prototype._update=function(j){this._cache.add(j);for(var U,K,q=[];U=this._cache.get();)K=this._mode.encrypt(this,U),q.push(K);return p.concat(q)};var w=p.alloc(16,16);function m(){this.cache=p.allocUnsafe(0)}function P(j,U,K){var q=i[j.toLowerCase()];if(!q)throw new TypeError("invalid suite type");if("string"==typeof U&&(U=p.from(U)),U.length!==q.key/8)throw new TypeError("invalid key length "+U.length);if("string"==typeof K&&(K=p.from(K)),"GCM"!==q.mode&&K.length!==q.iv)throw new TypeError("invalid iv length "+K.length);return"stream"===q.type?new S(q.module,U,K):"auth"===q.type?new t(q.module,U,K):new d(q.module,U,K)}d.prototype._final=function(){var j=this._cache.flush();if(this._autopadding)return j=this._mode.encrypt(this,j),this._cipher.scrub(),j;if(!j.equals(w))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(j){return this._autopadding=!!j,this},m.prototype.add=function(j){this.cache=p.concat([this.cache,j])},m.prototype.get=function(){if(this.cache.length>15){var j=this.cache.slice(0,16);return this.cache=this.cache.slice(16),j}return null},m.prototype.flush=function(){for(var j=16-this.cache.length,U=p.allocUnsafe(j),K=-1;++K<j;)U.writeUInt8(j,K);return p.concat([this.cache,U])},ee.createCipheriv=P,ee.createCipher=function M(j,U){var K=i[j.toLowerCase()];if(!K)throw new TypeError("invalid suite type");var q=T(U,!1,K.key,K.iv);return P(j,q.key,q.iv)}},573:(Ae,ee,l)=>{"use strict";var i=l(46758),p=l(12773)("TypedArray.prototype.buffer",!0),S=l(4729);Ae.exports=p||function(e){if(!S(e))throw new i("Not a Typed Array");return e.buffer}},917:function(Ae,ee,l){!function(i,t){"use strict";function p(f,h){if(!f)throw new Error(h||"Assertion failed")}function S(f,h){f.super_=h;var b=function(){};b.prototype=h.prototype,f.prototype=new b,f.prototype.constructor=f}function c(f,h,b){if(c.isBN(f))return f;this.negative=0,this.words=null,this.length=0,this.red=null,null!==f&&(("le"===h||"be"===h)&&(b=h,h=10),this._init(f||0,h||10,b||"be"))}var e;"object"==typeof i?i.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{e=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:l(47790).Buffer}catch{}function T(f,h){var b=f.charCodeAt(h);return b>=48&&b<=57?b-48:b>=65&&b<=70?b-55:b>=97&&b<=102?b-87:void p(!1,"Invalid character in "+f)}function g(f,h,b){var A=T(f,b);return b-1>=h&&(A|=T(f,b-1)<<4),A}function d(f,h,b,A){for(var k=0,x=0,r=Math.min(f.length,b),_=h;_<r;_++){var W=f.charCodeAt(_)-48;k*=A,x=W>=49?W-49+10:W>=17?W-17+10:W,p(W>=0&&x<A,"Invalid character"),k+=x}return k}function w(f,h){f.words=h.words,f.length=h.length,f.negative=h.negative,f.red=h.red}if(c.isBN=function(h){return h instanceof c||null!==h&&"object"==typeof h&&h.constructor.wordSize===c.wordSize&&Array.isArray(h.words)},c.max=function(h,b){return h.cmp(b)>0?h:b},c.min=function(h,b){return h.cmp(b)<0?h:b},c.prototype._init=function(h,b,A){if("number"==typeof h)return this._initNumber(h,b,A);if("object"==typeof h)return this._initArray(h,b,A);"hex"===b&&(b=16),p(b===(0|b)&&b>=2&&b<=36);var k=0;"-"===(h=h.toString().replace(/\s+/g,""))[0]&&(k++,this.negative=1),k<h.length&&(16===b?this._parseHex(h,k,A):(this._parseBase(h,b,k),"le"===A&&this._initArray(this.toArray(),b,A)))},c.prototype._initNumber=function(h,b,A){h<0&&(this.negative=1,h=-h),h<67108864?(this.words=[67108863&h],this.length=1):h<4503599627370496?(this.words=[67108863&h,h/67108864&67108863],this.length=2):(p(h<9007199254740992),this.words=[67108863&h,h/67108864&67108863,1],this.length=3),"le"===A&&this._initArray(this.toArray(),b,A)},c.prototype._initArray=function(h,b,A){if(p("number"==typeof h.length),h.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(h.length/3),this.words=new Array(this.length);for(var k=0;k<this.length;k++)this.words[k]=0;var x,r,_=0;if("be"===A)for(k=h.length-1,x=0;k>=0;k-=3)this.words[x]|=(r=h[k]|h[k-1]<<8|h[k-2]<<16)<<_&67108863,this.words[x+1]=r>>>26-_&67108863,(_+=24)>=26&&(_-=26,x++);else if("le"===A)for(k=0,x=0;k<h.length;k+=3)this.words[x]|=(r=h[k]|h[k+1]<<8|h[k+2]<<16)<<_&67108863,this.words[x+1]=r>>>26-_&67108863,(_+=24)>=26&&(_-=26,x++);return this._strip()},c.prototype._parseHex=function(h,b,A){this.length=Math.ceil((h.length-b)/6),this.words=new Array(this.length);for(var k=0;k<this.length;k++)this.words[k]=0;var _,x=0,r=0;if("be"===A)for(k=h.length-1;k>=b;k-=2)_=g(h,b,k)<<x,this.words[r]|=67108863&_,x>=18?(x-=18,this.words[r+=1]|=_>>>26):x+=8;else for(k=(h.length-b)%2==0?b+1:b;k<h.length;k+=2)_=g(h,b,k)<<x,this.words[r]|=67108863&_,x>=18?(x-=18,this.words[r+=1]|=_>>>26):x+=8;this._strip()},c.prototype._parseBase=function(h,b,A){this.words=[0],this.length=1;for(var k=0,x=1;x<=67108863;x*=b)k++;k--,x=x/b|0;for(var r=h.length-A,_=r%k,W=Math.min(r,r-_)+A,I=0,B=A;B<W;B+=k)I=d(h,B,B+k,b),this.imuln(x),this.words[0]+I<67108864?this.words[0]+=I:this._iaddn(I);if(0!==_){var re=1;for(I=d(h,B,h.length,b),B=0;B<_;B++)re*=b;this.imuln(re),this.words[0]+I<67108864?this.words[0]+=I:this._iaddn(I)}this._strip()},c.prototype.copy=function(h){h.words=new Array(this.length);for(var b=0;b<this.length;b++)h.words[b]=this.words[b];h.length=this.length,h.negative=this.negative,h.red=this.red},c.prototype._move=function(h){w(h,this)},c.prototype.clone=function(){var h=new c(null);return this.copy(h),h},c.prototype._expand=function(h){for(;this.length<h;)this.words[this.length++]=0;return this},c.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{c.prototype[Symbol.for("nodejs.util.inspect.custom")]=m}catch{c.prototype.inspect=m}else c.prototype.inspect=m;function m(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var P=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],M=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],j=[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 q(f,h,b){b.negative=h.negative^f.negative;var A=f.length+h.length|0;b.length=A,A=A-1|0;var k=0|f.words[0],x=0|h.words[0],r=k*x,W=r/67108864|0;b.words[0]=67108863&r;for(var I=1;I<A;I++){for(var B=W>>>26,re=67108863&W,pe=Math.min(I,h.length-1),be=Math.max(0,I-f.length+1);be<=pe;be++)B+=(r=(k=0|f.words[I-be|0])*(x=0|h.words[be])+re)/67108864|0,re=67108863&r;b.words[I]=0|re,W=0|B}return 0!==W?b.words[I]=0|W:b.length--,b._strip()}c.prototype.toString=function(h,b){var A;if(b=0|b||1,16===(h=h||10)||"hex"===h){A="";for(var k=0,x=0,r=0;r<this.length;r++){var _=this.words[r],W=(16777215&(_<<k|x)).toString(16);x=_>>>24-k&16777215,(k+=2)>=26&&(k-=26,r--),A=0!==x||r!==this.length-1?P[6-W.length]+W+A:W+A}for(0!==x&&(A=x.toString(16)+A);A.length%b!==0;)A="0"+A;return 0!==this.negative&&(A="-"+A),A}if(h===(0|h)&&h>=2&&h<=36){var I=M[h],B=j[h];A="";var re=this.clone();for(re.negative=0;!re.isZero();){var pe=re.modrn(B).toString(h);A=(re=re.idivn(B)).isZero()?pe+A:P[I-pe.length]+pe+A}for(this.isZero()&&(A="0"+A);A.length%b!==0;)A="0"+A;return 0!==this.negative&&(A="-"+A),A}p(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var h=this.words[0];return 2===this.length?h+=67108864*this.words[1]:3===this.length&&1===this.words[2]?h+=4503599627370496+67108864*this.words[1]:this.length>2&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-h:h},c.prototype.toJSON=function(){return this.toString(16,2)},e&&(c.prototype.toBuffer=function(h,b){return this.toArrayLike(e,h,b)}),c.prototype.toArray=function(h,b){return this.toArrayLike(Array,h,b)},c.prototype.toArrayLike=function(h,b,A){this._strip();var k=this.byteLength(),x=A||Math.max(1,k);p(k<=x,"byte array longer than desired length"),p(x>0,"Requested array length <= 0");var r=function(h,b){return h.allocUnsafe?h.allocUnsafe(b):new h(b)}(h,x);return this["_toArrayLike"+("le"===b?"LE":"BE")](r,k),r},c.prototype._toArrayLikeLE=function(h,b){for(var A=0,k=0,x=0,r=0;x<this.length;x++){var _=this.words[x]<<r|k;h[A++]=255&_,A<h.length&&(h[A++]=_>>8&255),A<h.length&&(h[A++]=_>>16&255),6===r?(A<h.length&&(h[A++]=_>>24&255),k=0,r=0):(k=_>>>24,r+=2)}if(A<h.length)for(h[A++]=k;A<h.length;)h[A++]=0},c.prototype._toArrayLikeBE=function(h,b){for(var A=h.length-1,k=0,x=0,r=0;x<this.length;x++){var _=this.words[x]<<r|k;h[A--]=255&_,A>=0&&(h[A--]=_>>8&255),A>=0&&(h[A--]=_>>16&255),6===r?(A>=0&&(h[A--]=_>>24&255),k=0,r=0):(k=_>>>24,r+=2)}if(A>=0)for(h[A--]=k;A>=0;)h[A--]=0},c.prototype._countBits=Math.clz32?function(h){return 32-Math.clz32(h)}:function(h){var b=h,A=0;return b>=4096&&(A+=13,b>>>=13),b>=64&&(A+=7,b>>>=7),b>=8&&(A+=4,b>>>=4),b>=2&&(A+=2,b>>>=2),A+b},c.prototype._zeroBits=function(h){if(0===h)return 26;var b=h,A=0;return!(8191&b)&&(A+=13,b>>>=13),!(127&b)&&(A+=7,b>>>=7),!(15&b)&&(A+=4,b>>>=4),!(3&b)&&(A+=2,b>>>=2),!(1&b)&&A++,A},c.prototype.bitLength=function(){var b=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+b},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var h=0,b=0;b<this.length;b++){var A=this._zeroBits(this.words[b]);if(h+=A,26!==A)break}return h},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(h){return 0!==this.negative?this.abs().inotn(h).iaddn(1):this.clone()},c.prototype.fromTwos=function(h){return this.testn(h-1)?this.notn(h).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(h){for(;this.length<h.length;)this.words[this.length++]=0;for(var b=0;b<h.length;b++)this.words[b]=this.words[b]|h.words[b];return this._strip()},c.prototype.ior=function(h){return p(0===(this.negative|h.negative)),this.iuor(h)},c.prototype.or=function(h){return this.length>h.length?this.clone().ior(h):h.clone().ior(this)},c.prototype.uor=function(h){return this.length>h.length?this.clone().iuor(h):h.clone().iuor(this)},c.prototype.iuand=function(h){var b;b=this.length>h.length?h:this;for(var A=0;A<b.length;A++)this.words[A]=this.words[A]&h.words[A];return this.length=b.length,this._strip()},c.prototype.iand=function(h){return p(0===(this.negative|h.negative)),this.iuand(h)},c.prototype.and=function(h){return this.length>h.length?this.clone().iand(h):h.clone().iand(this)},c.prototype.uand=function(h){return this.length>h.length?this.clone().iuand(h):h.clone().iuand(this)},c.prototype.iuxor=function(h){var b,A;this.length>h.length?(b=this,A=h):(b=h,A=this);for(var k=0;k<A.length;k++)this.words[k]=b.words[k]^A.words[k];if(this!==b)for(;k<b.length;k++)this.words[k]=b.words[k];return this.length=b.length,this._strip()},c.prototype.ixor=function(h){return p(0===(this.negative|h.negative)),this.iuxor(h)},c.prototype.xor=function(h){return this.length>h.length?this.clone().ixor(h):h.clone().ixor(this)},c.prototype.uxor=function(h){return this.length>h.length?this.clone().iuxor(h):h.clone().iuxor(this)},c.prototype.inotn=function(h){p("number"==typeof h&&h>=0);var b=0|Math.ceil(h/26),A=h%26;this._expand(b),A>0&&b--;for(var k=0;k<b;k++)this.words[k]=67108863&~this.words[k];return A>0&&(this.words[k]=~this.words[k]&67108863>>26-A),this._strip()},c.prototype.notn=function(h){return this.clone().inotn(h)},c.prototype.setn=function(h,b){p("number"==typeof h&&h>=0);var A=h/26|0,k=h%26;return this._expand(A+1),this.words[A]=b?this.words[A]|1<<k:this.words[A]&~(1<<k),this._strip()},c.prototype.iadd=function(h){var b,A,k;if(0!==this.negative&&0===h.negative)return this.negative=0,b=this.isub(h),this.negative^=1,this._normSign();if(0===this.negative&&0!==h.negative)return h.negative=0,b=this.isub(h),h.negative=1,b._normSign();this.length>h.length?(A=this,k=h):(A=h,k=this);for(var x=0,r=0;r<k.length;r++)this.words[r]=67108863&(b=(0|A.words[r])+(0|k.words[r])+x),x=b>>>26;for(;0!==x&&r<A.length;r++)this.words[r]=67108863&(b=(0|A.words[r])+x),x=b>>>26;if(this.length=A.length,0!==x)this.words[this.length]=x,this.length++;else if(A!==this)for(;r<A.length;r++)this.words[r]=A.words[r];return this},c.prototype.add=function(h){var b;return 0!==h.negative&&0===this.negative?(h.negative=0,b=this.sub(h),h.negative^=1,b):0===h.negative&&0!==this.negative?(this.negative=0,b=h.sub(this),this.negative=1,b):this.length>h.length?this.clone().iadd(h):h.clone().iadd(this)},c.prototype.isub=function(h){if(0!==h.negative){h.negative=0;var b=this.iadd(h);return h.negative=1,b._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(h),this.negative=1,this._normSign();var k,x,A=this.cmp(h);if(0===A)return this.negative=0,this.length=1,this.words[0]=0,this;A>0?(k=this,x=h):(k=h,x=this);for(var r=0,_=0;_<x.length;_++)r=(b=(0|k.words[_])-(0|x.words[_])+r)>>26,this.words[_]=67108863&b;for(;0!==r&&_<k.length;_++)r=(b=(0|k.words[_])+r)>>26,this.words[_]=67108863&b;if(0===r&&_<k.length&&k!==this)for(;_<k.length;_++)this.words[_]=k.words[_];return this.length=Math.max(this.length,_),k!==this&&(this.negative=1),this._strip()},c.prototype.sub=function(h){return this.clone().isub(h)};var G=function(h,b,A){var W,I,B,k=h.words,x=b.words,r=A.words,_=0,re=0|k[0],pe=8191&re,be=re>>>13,Be=0|k[1],_e=8191&Be,ye=Be>>>13,Le=0|k[2],Ke=8191&Le,ge=Le>>>13,ve=0|k[3],Oe=8191&ve,Ee=ve>>>13,dt=0|k[4],nt=8191&dt,Ct=dt>>>13,Mt=0|k[5],lt=8191&Mt,Pe=Mt>>>13,Ht=0|k[6],ct=8191&Ht,Ce=Ht>>>13,ze=0|k[7],Z=8191&ze,J=ze>>>13,fe=0|k[8],Ie=8191&fe,ht=fe>>>13,li=0|k[9],Qt=8191&li,di=li>>>13,kt=0|x[0],Rt=8191&kt,le=kt>>>13,te=0|x[1],ce=8191&te,se=te>>>13,ke=0|x[2],Ue=8191&ke,Ne=ke>>>13,Kt=0|x[3],yt=8191&Kt,Vt=Kt>>>13,Zt=0|x[4],ti=8191&Zt,Ye=Zt>>>13,Nt=0|x[5],Et=8191&Nt,Jt=Nt>>>13,qe=0|x[6],$e=8191&qe,tt=qe>>>13,vi=0|x[7],ei=8191&vi,ci=vi>>>13,Hi=0|x[8],oi=8191&Hi,ui=Hi>>>13,ln=0|x[9],nn=8191&ln,dn=ln>>>13;A.negative=h.negative^b.negative,A.length=19;var zn=(_+(W=Math.imul(pe,Rt))|0)+((8191&(I=(I=Math.imul(pe,le))+Math.imul(be,Rt)|0))<<13)|0;_=((B=Math.imul(be,le))+(I>>>13)|0)+(zn>>>26)|0,zn&=67108863,W=Math.imul(_e,Rt),I=(I=Math.imul(_e,le))+Math.imul(ye,Rt)|0,B=Math.imul(ye,le);var It=(_+(W=W+Math.imul(pe,ce)|0)|0)+((8191&(I=(I=I+Math.imul(pe,se)|0)+Math.imul(be,ce)|0))<<13)|0;_=((B=B+Math.imul(be,se)|0)+(I>>>13)|0)+(It>>>26)|0,It&=67108863,W=Math.imul(Ke,Rt),I=(I=Math.imul(Ke,le))+Math.imul(ge,Rt)|0,B=Math.imul(ge,le),W=W+Math.imul(_e,ce)|0,I=(I=I+Math.imul(_e,se)|0)+Math.imul(ye,ce)|0,B=B+Math.imul(ye,se)|0;var Tt=(_+(W=W+Math.imul(pe,Ue)|0)|0)+((8191&(I=(I=I+Math.imul(pe,Ne)|0)+Math.imul(be,Ue)|0))<<13)|0;_=((B=B+Math.imul(be,Ne)|0)+(I>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,W=Math.imul(Oe,Rt),I=(I=Math.imul(Oe,le))+Math.imul(Ee,Rt)|0,B=Math.imul(Ee,le),W=W+Math.imul(Ke,ce)|0,I=(I=I+Math.imul(Ke,se)|0)+Math.imul(ge,ce)|0,B=B+Math.imul(ge,se)|0,W=W+Math.imul(_e,Ue)|0,I=(I=I+Math.imul(_e,Ne)|0)+Math.imul(ye,Ue)|0,B=B+Math.imul(ye,Ne)|0;var Ze=(_+(W=W+Math.imul(pe,yt)|0)|0)+((8191&(I=(I=I+Math.imul(pe,Vt)|0)+Math.imul(be,yt)|0))<<13)|0;_=((B=B+Math.imul(be,Vt)|0)+(I>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,W=Math.imul(nt,Rt),I=(I=Math.imul(nt,le))+Math.imul(Ct,Rt)|0,B=Math.imul(Ct,le),W=W+Math.imul(Oe,ce)|0,I=(I=I+Math.imul(Oe,se)|0)+Math.imul(Ee,ce)|0,B=B+Math.imul(Ee,se)|0,W=W+Math.imul(Ke,Ue)|0,I=(I=I+Math.imul(Ke,Ne)|0)+Math.imul(ge,Ue)|0,B=B+Math.imul(ge,Ne)|0,W=W+Math.imul(_e,yt)|0,I=(I=I+Math.imul(_e,Vt)|0)+Math.imul(ye,yt)|0,B=B+Math.imul(ye,Vt)|0;var Ve=(_+(W=W+Math.imul(pe,ti)|0)|0)+((8191&(I=(I=I+Math.imul(pe,Ye)|0)+Math.imul(be,ti)|0))<<13)|0;_=((B=B+Math.imul(be,Ye)|0)+(I>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,W=Math.imul(lt,Rt),I=(I=Math.imul(lt,le))+Math.imul(Pe,Rt)|0,B=Math.imul(Pe,le),W=W+Math.imul(nt,ce)|0,I=(I=I+Math.imul(nt,se)|0)+Math.imul(Ct,ce)|0,B=B+Math.imul(Ct,se)|0,W=W+Math.imul(Oe,Ue)|0,I=(I=I+Math.imul(Oe,Ne)|0)+Math.imul(Ee,Ue)|0,B=B+Math.imul(Ee,Ne)|0,W=W+Math.imul(Ke,yt)|0,I=(I=I+Math.imul(Ke,Vt)|0)+Math.imul(ge,yt)|0,B=B+Math.imul(ge,Vt)|0,W=W+Math.imul(_e,ti)|0,I=(I=I+Math.imul(_e,Ye)|0)+Math.imul(ye,ti)|0,B=B+Math.imul(ye,Ye)|0;var Fe=(_+(W=W+Math.imul(pe,Et)|0)|0)+((8191&(I=(I=I+Math.imul(pe,Jt)|0)+Math.imul(be,Et)|0))<<13)|0;_=((B=B+Math.imul(be,Jt)|0)+(I>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,W=Math.imul(ct,Rt),I=(I=Math.imul(ct,le))+Math.imul(Ce,Rt)|0,B=Math.imul(Ce,le),W=W+Math.imul(lt,ce)|0,I=(I=I+Math.imul(lt,se)|0)+Math.imul(Pe,ce)|0,B=B+Math.imul(Pe,se)|0,W=W+Math.imul(nt,Ue)|0,I=(I=I+Math.imul(nt,Ne)|0)+Math.imul(Ct,Ue)|0,B=B+Math.imul(Ct,Ne)|0,W=W+Math.imul(Oe,yt)|0,I=(I=I+Math.imul(Oe,Vt)|0)+Math.imul(Ee,yt)|0,B=B+Math.imul(Ee,Vt)|0,W=W+Math.imul(Ke,ti)|0,I=(I=I+Math.imul(Ke,Ye)|0)+Math.imul(ge,ti)|0,B=B+Math.imul(ge,Ye)|0,W=W+Math.imul(_e,Et)|0,I=(I=I+Math.imul(_e,Jt)|0)+Math.imul(ye,Et)|0,B=B+Math.imul(ye,Jt)|0;var it=(_+(W=W+Math.imul(pe,$e)|0)|0)+((8191&(I=(I=I+Math.imul(pe,tt)|0)+Math.imul(be,$e)|0))<<13)|0;_=((B=B+Math.imul(be,tt)|0)+(I>>>13)|0)+(it>>>26)|0,it&=67108863,W=Math.imul(Z,Rt),I=(I=Math.imul(Z,le))+Math.imul(J,Rt)|0,B=Math.imul(J,le),W=W+Math.imul(ct,ce)|0,I=(I=I+Math.imul(ct,se)|0)+Math.imul(Ce,ce)|0,B=B+Math.imul(Ce,se)|0,W=W+Math.imul(lt,Ue)|0,I=(I=I+Math.imul(lt,Ne)|0)+Math.imul(Pe,Ue)|0,B=B+Math.imul(Pe,Ne)|0,W=W+Math.imul(nt,yt)|0,I=(I=I+Math.imul(nt,Vt)|0)+Math.imul(Ct,yt)|0,B=B+Math.imul(Ct,Vt)|0,W=W+Math.imul(Oe,ti)|0,I=(I=I+Math.imul(Oe,Ye)|0)+Math.imul(Ee,ti)|0,B=B+Math.imul(Ee,Ye)|0,W=W+Math.imul(Ke,Et)|0,I=(I=I+Math.imul(Ke,Jt)|0)+Math.imul(ge,Et)|0,B=B+Math.imul(ge,Jt)|0,W=W+Math.imul(_e,$e)|0,I=(I=I+Math.imul(_e,tt)|0)+Math.imul(ye,$e)|0,B=B+Math.imul(ye,tt)|0;var bt=(_+(W=W+Math.imul(pe,ei)|0)|0)+((8191&(I=(I=I+Math.imul(pe,ci)|0)+Math.imul(be,ei)|0))<<13)|0;_=((B=B+Math.imul(be,ci)|0)+(I>>>13)|0)+(bt>>>26)|0,bt&=67108863,W=Math.imul(Ie,Rt),I=(I=Math.imul(Ie,le))+Math.imul(ht,Rt)|0,B=Math.imul(ht,le),W=W+Math.imul(Z,ce)|0,I=(I=I+Math.imul(Z,se)|0)+Math.imul(J,ce)|0,B=B+Math.imul(J,se)|0,W=W+Math.imul(ct,Ue)|0,I=(I=I+Math.imul(ct,Ne)|0)+Math.imul(Ce,Ue)|0,B=B+Math.imul(Ce,Ne)|0,W=W+Math.imul(lt,yt)|0,I=(I=I+Math.imul(lt,Vt)|0)+Math.imul(Pe,yt)|0,B=B+Math.imul(Pe,Vt)|0,W=W+Math.imul(nt,ti)|0,I=(I=I+Math.imul(nt,Ye)|0)+Math.imul(Ct,ti)|0,B=B+Math.imul(Ct,Ye)|0,W=W+Math.imul(Oe,Et)|0,I=(I=I+Math.imul(Oe,Jt)|0)+Math.imul(Ee,Et)|0,B=B+Math.imul(Ee,Jt)|0,W=W+Math.imul(Ke,$e)|0,I=(I=I+Math.imul(Ke,tt)|0)+Math.imul(ge,$e)|0,B=B+Math.imul(ge,tt)|0,W=W+Math.imul(_e,ei)|0,I=(I=I+Math.imul(_e,ci)|0)+Math.imul(ye,ei)|0,B=B+Math.imul(ye,ci)|0;var ut=(_+(W=W+Math.imul(pe,oi)|0)|0)+((8191&(I=(I=I+Math.imul(pe,ui)|0)+Math.imul(be,oi)|0))<<13)|0;_=((B=B+Math.imul(be,ui)|0)+(I>>>13)|0)+(ut>>>26)|0,ut&=67108863,W=Math.imul(Qt,Rt),I=(I=Math.imul(Qt,le))+Math.imul(di,Rt)|0,B=Math.imul(di,le),W=W+Math.imul(Ie,ce)|0,I=(I=I+Math.imul(Ie,se)|0)+Math.imul(ht,ce)|0,B=B+Math.imul(ht,se)|0,W=W+Math.imul(Z,Ue)|0,I=(I=I+Math.imul(Z,Ne)|0)+Math.imul(J,Ue)|0,B=B+Math.imul(J,Ne)|0,W=W+Math.imul(ct,yt)|0,I=(I=I+Math.imul(ct,Vt)|0)+Math.imul(Ce,yt)|0,B=B+Math.imul(Ce,Vt)|0,W=W+Math.imul(lt,ti)|0,I=(I=I+Math.imul(lt,Ye)|0)+Math.imul(Pe,ti)|0,B=B+Math.imul(Pe,Ye)|0,W=W+Math.imul(nt,Et)|0,I=(I=I+Math.imul(nt,Jt)|0)+Math.imul(Ct,Et)|0,B=B+Math.imul(Ct,Jt)|0,W=W+Math.imul(Oe,$e)|0,I=(I=I+Math.imul(Oe,tt)|0)+Math.imul(Ee,$e)|0,B=B+Math.imul(Ee,tt)|0,W=W+Math.imul(Ke,ei)|0,I=(I=I+Math.imul(Ke,ci)|0)+Math.imul(ge,ei)|0,B=B+Math.imul(ge,ci)|0,W=W+Math.imul(_e,oi)|0,I=(I=I+Math.imul(_e,ui)|0)+Math.imul(ye,oi)|0,B=B+Math.imul(ye,ui)|0;var jt=(_+(W=W+Math.imul(pe,nn)|0)|0)+((8191&(I=(I=I+Math.imul(pe,dn)|0)+Math.imul(be,nn)|0))<<13)|0;_=((B=B+Math.imul(be,dn)|0)+(I>>>13)|0)+(jt>>>26)|0,jt&=67108863,W=Math.imul(Qt,ce),I=(I=Math.imul(Qt,se))+Math.imul(di,ce)|0,B=Math.imul(di,se),W=W+Math.imul(Ie,Ue)|0,I=(I=I+Math.imul(Ie,Ne)|0)+Math.imul(ht,Ue)|0,B=B+Math.imul(ht,Ne)|0,W=W+Math.imul(Z,yt)|0,I=(I=I+Math.imul(Z,Vt)|0)+Math.imul(J,yt)|0,B=B+Math.imul(J,Vt)|0,W=W+Math.imul(ct,ti)|0,I=(I=I+Math.imul(ct,Ye)|0)+Math.imul(Ce,ti)|0,B=B+Math.imul(Ce,Ye)|0,W=W+Math.imul(lt,Et)|0,I=(I=I+Math.imul(lt,Jt)|0)+Math.imul(Pe,Et)|0,B=B+Math.imul(Pe,Jt)|0,W=W+Math.imul(nt,$e)|0,I=(I=I+Math.imul(nt,tt)|0)+Math.imul(Ct,$e)|0,B=B+Math.imul(Ct,tt)|0,W=W+Math.imul(Oe,ei)|0,I=(I=I+Math.imul(Oe,ci)|0)+Math.imul(Ee,ei)|0,B=B+Math.imul(Ee,ci)|0,W=W+Math.imul(Ke,oi)|0,I=(I=I+Math.imul(Ke,ui)|0)+Math.imul(ge,oi)|0,B=B+Math.imul(ge,ui)|0;var ai=(_+(W=W+Math.imul(_e,nn)|0)|0)+((8191&(I=(I=I+Math.imul(_e,dn)|0)+Math.imul(ye,nn)|0))<<13)|0;_=((B=B+Math.imul(ye,dn)|0)+(I>>>13)|0)+(ai>>>26)|0,ai&=67108863,W=Math.imul(Qt,Ue),I=(I=Math.imul(Qt,Ne))+Math.imul(di,Ue)|0,B=Math.imul(di,Ne),W=W+Math.imul(Ie,yt)|0,I=(I=I+Math.imul(Ie,Vt)|0)+Math.imul(ht,yt)|0,B=B+Math.imul(ht,Vt)|0,W=W+Math.imul(Z,ti)|0,I=(I=I+Math.imul(Z,Ye)|0)+Math.imul(J,ti)|0,B=B+Math.imul(J,Ye)|0,W=W+Math.imul(ct,Et)|0,I=(I=I+Math.imul(ct,Jt)|0)+Math.imul(Ce,Et)|0,B=B+Math.imul(Ce,Jt)|0,W=W+Math.imul(lt,$e)|0,I=(I=I+Math.imul(lt,tt)|0)+Math.imul(Pe,$e)|0,B=B+Math.imul(Pe,tt)|0,W=W+Math.imul(nt,ei)|0,I=(I=I+Math.imul(nt,ci)|0)+Math.imul(Ct,ei)|0,B=B+Math.imul(Ct,ci)|0,W=W+Math.imul(Oe,oi)|0,I=(I=I+Math.imul(Oe,ui)|0)+Math.imul(Ee,oi)|0,B=B+Math.imul(Ee,ui)|0;var pi=(_+(W=W+Math.imul(Ke,nn)|0)|0)+((8191&(I=(I=I+Math.imul(Ke,dn)|0)+Math.imul(ge,nn)|0))<<13)|0;_=((B=B+Math.imul(ge,dn)|0)+(I>>>13)|0)+(pi>>>26)|0,pi&=67108863,W=Math.imul(Qt,yt),I=(I=Math.imul(Qt,Vt))+Math.imul(di,yt)|0,B=Math.imul(di,Vt),W=W+Math.imul(Ie,ti)|0,I=(I=I+Math.imul(Ie,Ye)|0)+Math.imul(ht,ti)|0,B=B+Math.imul(ht,Ye)|0,W=W+Math.imul(Z,Et)|0,I=(I=I+Math.imul(Z,Jt)|0)+Math.imul(J,Et)|0,B=B+Math.imul(J,Jt)|0,W=W+Math.imul(ct,$e)|0,I=(I=I+Math.imul(ct,tt)|0)+Math.imul(Ce,$e)|0,B=B+Math.imul(Ce,tt)|0,W=W+Math.imul(lt,ei)|0,I=(I=I+Math.imul(lt,ci)|0)+Math.imul(Pe,ei)|0,B=B+Math.imul(Pe,ci)|0,W=W+Math.imul(nt,oi)|0,I=(I=I+Math.imul(nt,ui)|0)+Math.imul(Ct,oi)|0,B=B+Math.imul(Ct,ui)|0;var ki=(_+(W=W+Math.imul(Oe,nn)|0)|0)+((8191&(I=(I=I+Math.imul(Oe,dn)|0)+Math.imul(Ee,nn)|0))<<13)|0;_=((B=B+Math.imul(Ee,dn)|0)+(I>>>13)|0)+(ki>>>26)|0,ki&=67108863,W=Math.imul(Qt,ti),I=(I=Math.imul(Qt,Ye))+Math.imul(di,ti)|0,B=Math.imul(di,Ye),W=W+Math.imul(Ie,Et)|0,I=(I=I+Math.imul(Ie,Jt)|0)+Math.imul(ht,Et)|0,B=B+Math.imul(ht,Jt)|0,W=W+Math.imul(Z,$e)|0,I=(I=I+Math.imul(Z,tt)|0)+Math.imul(J,$e)|0,B=B+Math.imul(J,tt)|0,W=W+Math.imul(ct,ei)|0,I=(I=I+Math.imul(ct,ci)|0)+Math.imul(Ce,ei)|0,B=B+Math.imul(Ce,ci)|0,W=W+Math.imul(lt,oi)|0,I=(I=I+Math.imul(lt,ui)|0)+Math.imul(Pe,oi)|0,B=B+Math.imul(Pe,ui)|0;var Ki=(_+(W=W+Math.imul(nt,nn)|0)|0)+((8191&(I=(I=I+Math.imul(nt,dn)|0)+Math.imul(Ct,nn)|0))<<13)|0;_=((B=B+Math.imul(Ct,dn)|0)+(I>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,W=Math.imul(Qt,Et),I=(I=Math.imul(Qt,Jt))+Math.imul(di,Et)|0,B=Math.imul(di,Jt),W=W+Math.imul(Ie,$e)|0,I=(I=I+Math.imul(Ie,tt)|0)+Math.imul(ht,$e)|0,B=B+Math.imul(ht,tt)|0,W=W+Math.imul(Z,ei)|0,I=(I=I+Math.imul(Z,ci)|0)+Math.imul(J,ei)|0,B=B+Math.imul(J,ci)|0,W=W+Math.imul(ct,oi)|0,I=(I=I+Math.imul(ct,ui)|0)+Math.imul(Ce,oi)|0,B=B+Math.imul(Ce,ui)|0;var Ji=(_+(W=W+Math.imul(lt,nn)|0)|0)+((8191&(I=(I=I+Math.imul(lt,dn)|0)+Math.imul(Pe,nn)|0))<<13)|0;_=((B=B+Math.imul(Pe,dn)|0)+(I>>>13)|0)+(Ji>>>26)|0,Ji&=67108863,W=Math.imul(Qt,$e),I=(I=Math.imul(Qt,tt))+Math.imul(di,$e)|0,B=Math.imul(di,tt),W=W+Math.imul(Ie,ei)|0,I=(I=I+Math.imul(Ie,ci)|0)+Math.imul(ht,ei)|0,B=B+Math.imul(ht,ci)|0,W=W+Math.imul(Z,oi)|0,I=(I=I+Math.imul(Z,ui)|0)+Math.imul(J,oi)|0,B=B+Math.imul(J,ui)|0;var Dn=(_+(W=W+Math.imul(ct,nn)|0)|0)+((8191&(I=(I=I+Math.imul(ct,dn)|0)+Math.imul(Ce,nn)|0))<<13)|0;_=((B=B+Math.imul(Ce,dn)|0)+(I>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,W=Math.imul(Qt,ei),I=(I=Math.imul(Qt,ci))+Math.imul(di,ei)|0,B=Math.imul(di,ci),W=W+Math.imul(Ie,oi)|0,I=(I=I+Math.imul(Ie,ui)|0)+Math.imul(ht,oi)|0,B=B+Math.imul(ht,ui)|0;var En=(_+(W=W+Math.imul(Z,nn)|0)|0)+((8191&(I=(I=I+Math.imul(Z,dn)|0)+Math.imul(J,nn)|0))<<13)|0;_=((B=B+Math.imul(J,dn)|0)+(I>>>13)|0)+(En>>>26)|0,En&=67108863,W=Math.imul(Qt,oi),I=(I=Math.imul(Qt,ui))+Math.imul(di,oi)|0,B=Math.imul(di,ui);var An=(_+(W=W+Math.imul(Ie,nn)|0)|0)+((8191&(I=(I=I+Math.imul(Ie,dn)|0)+Math.imul(ht,nn)|0))<<13)|0;_=((B=B+Math.imul(ht,dn)|0)+(I>>>13)|0)+(An>>>26)|0,An&=67108863;var Fn=(_+(W=Math.imul(Qt,nn))|0)+((8191&(I=(I=Math.imul(Qt,dn))+Math.imul(di,nn)|0))<<13)|0;return _=((B=Math.imul(di,dn))+(I>>>13)|0)+(Fn>>>26)|0,Fn&=67108863,r[0]=zn,r[1]=It,r[2]=Tt,r[3]=Ze,r[4]=Ve,r[5]=Fe,r[6]=it,r[7]=bt,r[8]=ut,r[9]=jt,r[10]=ai,r[11]=pi,r[12]=ki,r[13]=Ki,r[14]=Ji,r[15]=Dn,r[16]=En,r[17]=An,r[18]=Fn,0!==_&&(r[19]=_,A.length++),A};function Q(f,h,b){b.negative=h.negative^f.negative,b.length=f.length+h.length;for(var A=0,k=0,x=0;x<b.length-1;x++){var r=k;k=0;for(var _=67108863&A,W=Math.min(x,h.length-1),I=Math.max(0,x-f.length+1);I<=W;I++){var be=(0|f.words[x-I])*(0|h.words[I]),Be=67108863&be;_=67108863&(Be=Be+_|0),k+=(r=(r=r+(be/67108864|0)|0)+(Be>>>26)|0)>>>26,r&=67108863}b.words[x]=_,A=r,r=k}return 0!==A?b.words[x]=A:b.length--,b._strip()}function $(f,h,b){return Q(f,h,b)}function ae(f,h){this.x=f,this.y=h}Math.imul||(G=q),c.prototype.mulTo=function(h,b){var k=this.length+h.length;return 10===this.length&&10===h.length?G(this,h,b):k<63?q(this,h,b):k<1024?Q(this,h,b):$(this,h,b)},ae.prototype.makeRBT=function(h){for(var b=new Array(h),A=c.prototype._countBits(h)-1,k=0;k<h;k++)b[k]=this.revBin(k,A,h);return b},ae.prototype.revBin=function(h,b,A){if(0===h||h===A-1)return h;for(var k=0,x=0;x<b;x++)k|=(1&h)<<b-x-1,h>>=1;return k},ae.prototype.permute=function(h,b,A,k,x,r){for(var _=0;_<r;_++)k[_]=b[h[_]],x[_]=A[h[_]]},ae.prototype.transform=function(h,b,A,k,x,r){this.permute(r,h,b,A,k,x);for(var _=1;_<x;_<<=1)for(var W=_<<1,I=Math.cos(2*Math.PI/W),B=Math.sin(2*Math.PI/W),re=0;re<x;re+=W)for(var pe=I,be=B,Be=0;Be<_;Be++){var _e=A[re+Be],ye=k[re+Be],Le=A[re+Be+_],Ke=k[re+Be+_],ge=pe*Le-be*Ke;Ke=pe*Ke+be*Le,A[re+Be]=_e+(Le=ge),k[re+Be]=ye+Ke,A[re+Be+_]=_e-Le,k[re+Be+_]=ye-Ke,Be!==W&&(ge=I*pe-B*be,be=I*be+B*pe,pe=ge)}},ae.prototype.guessLen13b=function(h,b){var A=1|Math.max(b,h),k=1&A,x=0;for(A=A/2|0;A;A>>>=1)x++;return 1<<x+1+k},ae.prototype.conjugate=function(h,b,A){if(!(A<=1))for(var k=0;k<A/2;k++){var x=h[k];h[k]=h[A-k-1],h[A-k-1]=x,x=b[k],b[k]=-b[A-k-1],b[A-k-1]=-x}},ae.prototype.normalize13b=function(h,b){for(var A=0,k=0;k<b/2;k++){var x=8192*Math.round(h[2*k+1]/b)+Math.round(h[2*k]/b)+A;h[k]=67108863&x,A=x<67108864?0:x/67108864|0}return h},ae.prototype.convert13b=function(h,b,A,k){for(var x=0,r=0;r<b;r++)A[2*r]=8191&(x+=0|h[r]),A[2*r+1]=8191&(x>>>=13),x>>>=13;for(r=2*b;r<k;++r)A[r]=0;p(0===x),p(!(-8192&x))},ae.prototype.stub=function(h){for(var b=new Array(h),A=0;A<h;A++)b[A]=0;return b},ae.prototype.mulp=function(h,b,A){var k=2*this.guessLen13b(h.length,b.length),x=this.makeRBT(k),r=this.stub(k),_=new Array(k),W=new Array(k),I=new Array(k),B=new Array(k),re=new Array(k),pe=new Array(k),be=A.words;be.length=k,this.convert13b(h.words,h.length,_,k),this.convert13b(b.words,b.length,B,k),this.transform(_,r,W,I,k,x),this.transform(B,r,re,pe,k,x);for(var Be=0;Be<k;Be++){var _e=W[Be]*re[Be]-I[Be]*pe[Be];I[Be]=W[Be]*pe[Be]+I[Be]*re[Be],W[Be]=_e}return this.conjugate(W,I,k),this.transform(W,I,be,r,k,x),this.conjugate(be,r,k),this.normalize13b(be,k),A.negative=h.negative^b.negative,A.length=h.length+b.length,A._strip()},c.prototype.mul=function(h){var b=new c(null);return b.words=new Array(this.length+h.length),this.mulTo(h,b)},c.prototype.mulf=function(h){var b=new c(null);return b.words=new Array(this.length+h.length),$(this,h,b)},c.prototype.imul=function(h){return this.clone().mulTo(h,this)},c.prototype.imuln=function(h){var b=h<0;b&&(h=-h),p("number"==typeof h),p(h<67108864);for(var A=0,k=0;k<this.length;k++){var x=(0|this.words[k])*h,r=(67108863&x)+(67108863&A);A>>=26,A+=x/67108864|0,A+=r>>>26,this.words[k]=67108863&r}return 0!==A&&(this.words[k]=A,this.length++),this.length=0===h?1:this.length,b?this.ineg():this},c.prototype.muln=function(h){return this.clone().imuln(h)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(h){var b=function K(f){for(var h=new Array(f.bitLength()),b=0;b<h.length;b++)h[b]=f.words[b/26|0]>>>b%26&1;return h}(h);if(0===b.length)return new c(1);for(var A=this,k=0;k<b.length&&0===b[k];k++,A=A.sqr());if(++k<b.length)for(var x=A.sqr();k<b.length;k++,x=x.sqr())0!==b[k]&&(A=A.mul(x));return A},c.prototype.iushln=function(h){p("number"==typeof h&&h>=0);var x,b=h%26,A=(h-b)/26,k=67108863>>>26-b<<26-b;if(0!==b){var r=0;for(x=0;x<this.length;x++){var _=this.words[x]&k;this.words[x]=(0|this.words[x])-_<<b|r,r=_>>>26-b}r&&(this.words[x]=r,this.length++)}if(0!==A){for(x=this.length-1;x>=0;x--)this.words[x+A]=this.words[x];for(x=0;x<A;x++)this.words[x]=0;this.length+=A}return this._strip()},c.prototype.ishln=function(h){return p(0===this.negative),this.iushln(h)},c.prototype.iushrn=function(h,b,A){var k;p("number"==typeof h&&h>=0),k=b?(b-b%26)/26:0;var x=h%26,r=Math.min((h-x)/26,this.length),_=67108863^67108863>>>x<<x,W=A;if(k-=r,k=Math.max(0,k),W){for(var I=0;I<r;I++)W.words[I]=this.words[I];W.length=r}if(0!==r)if(this.length>r)for(this.length-=r,I=0;I<this.length;I++)this.words[I]=this.words[I+r];else this.words[0]=0,this.length=1;var B=0;for(I=this.length-1;I>=0&&(0!==B||I>=k);I--){var re=0|this.words[I];this.words[I]=B<<26-x|re>>>x,B=re&_}return W&&0!==B&&(W.words[W.length++]=B),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},c.prototype.ishrn=function(h,b,A){return p(0===this.negative),this.iushrn(h,b,A)},c.prototype.shln=function(h){return this.clone().ishln(h)},c.prototype.ushln=function(h){return this.clone().iushln(h)},c.prototype.shrn=function(h){return this.clone().ishrn(h)},c.prototype.ushrn=function(h){return this.clone().iushrn(h)},c.prototype.testn=function(h){p("number"==typeof h&&h>=0);var b=h%26,A=(h-b)/26;return!(this.length<=A||!(this.words[A]&1<<b))},c.prototype.imaskn=function(h){p("number"==typeof h&&h>=0);var b=h%26,A=(h-b)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=A?this:(0!==b&&A++,this.length=Math.min(A,this.length),0!==b&&(this.words[this.length-1]&=67108863^67108863>>>b<<b),this._strip())},c.prototype.maskn=function(h){return this.clone().imaskn(h)},c.prototype.iaddn=function(h){return p("number"==typeof h),p(h<67108864),h<0?this.isubn(-h):0!==this.negative?1===this.length&&(0|this.words[0])<=h?(this.words[0]=h-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(h),this.negative=1,this):this._iaddn(h)},c.prototype._iaddn=function(h){this.words[0]+=h;for(var b=0;b<this.length&&this.words[b]>=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},c.prototype.isubn=function(h){if(p("number"==typeof h),p(h<67108864),h<0)return this.iaddn(-h);if(0!==this.negative)return this.negative=0,this.iaddn(h),this.negative=1,this;if(this.words[0]-=h,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var b=0;b<this.length&&this.words[b]<0;b++)this.words[b]+=67108864,this.words[b+1]-=1;return this._strip()},c.prototype.addn=function(h){return this.clone().iaddn(h)},c.prototype.subn=function(h){return this.clone().isubn(h)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(h,b,A){var x;this._expand(h.length+A);var r,_=0;for(x=0;x<h.length;x++){r=(0|this.words[x+A])+_;var W=(0|h.words[x])*b;_=((r-=67108863&W)>>26)-(W/67108864|0),this.words[x+A]=67108863&r}for(;x<this.length-A;x++)_=(r=(0|this.words[x+A])+_)>>26,this.words[x+A]=67108863&r;if(0===_)return this._strip();for(p(-1===_),_=0,x=0;x<this.length;x++)_=(r=-(0|this.words[x])+_)>>26,this.words[x]=67108863&r;return this.negative=1,this._strip()},c.prototype._wordDiv=function(h,b){var A,k=this.clone(),x=h,r=0|x.words[x.length-1];0!=(A=26-this._countBits(r))&&(x=x.ushln(A),k.iushln(A),r=0|x.words[x.length-1]);var I,W=k.length-x.length;if("mod"!==b){(I=new c(null)).length=W+1,I.words=new Array(I.length);for(var B=0;B<I.length;B++)I.words[B]=0}var re=k.clone()._ishlnsubmul(x,1,W);0===re.negative&&(k=re,I&&(I.words[W]=1));for(var pe=W-1;pe>=0;pe--){var be=67108864*(0|k.words[x.length+pe])+(0|k.words[x.length+pe-1]);for(be=Math.min(be/r|0,67108863),k._ishlnsubmul(x,be,pe);0!==k.negative;)be--,k.negative=0,k._ishlnsubmul(x,1,pe),k.isZero()||(k.negative^=1);I&&(I.words[pe]=be)}return I&&I._strip(),k._strip(),"div"!==b&&0!==A&&k.iushrn(A),{div:I||null,mod:k}},c.prototype.divmod=function(h,b,A){return p(!h.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===h.negative?(r=this.neg().divmod(h,b),"mod"!==b&&(k=r.div.neg()),"div"!==b&&(x=r.mod.neg(),A&&0!==x.negative&&x.iadd(h)),{div:k,mod:x}):0===this.negative&&0!==h.negative?(r=this.divmod(h.neg(),b),"mod"!==b&&(k=r.div.neg()),{div:k,mod:r.mod}):0!==(this.negative&h.negative)?(r=this.neg().divmod(h.neg(),b),"div"!==b&&(x=r.mod.neg(),A&&0!==x.negative&&x.isub(h)),{div:r.div,mod:x}):h.length>this.length||this.cmp(h)<0?{div:new c(0),mod:this}:1===h.length?"div"===b?{div:this.divn(h.words[0]),mod:null}:"mod"===b?{div:null,mod:new c(this.modrn(h.words[0]))}:{div:this.divn(h.words[0]),mod:new c(this.modrn(h.words[0]))}:this._wordDiv(h,b);var k,x,r},c.prototype.div=function(h){return this.divmod(h,"div",!1).div},c.prototype.mod=function(h){return this.divmod(h,"mod",!1).mod},c.prototype.umod=function(h){return this.divmod(h,"mod",!0).mod},c.prototype.divRound=function(h){var b=this.divmod(h);if(b.mod.isZero())return b.div;var A=0!==b.div.negative?b.mod.isub(h):b.mod,k=h.ushrn(1),x=h.andln(1),r=A.cmp(k);return r<0||1===x&&0===r?b.div:0!==b.div.negative?b.div.isubn(1):b.div.iaddn(1)},c.prototype.modrn=function(h){var b=h<0;b&&(h=-h),p(h<=67108863);for(var A=(1<<26)%h,k=0,x=this.length-1;x>=0;x--)k=(A*k+(0|this.words[x]))%h;return b?-k:k},c.prototype.modn=function(h){return this.modrn(h)},c.prototype.idivn=function(h){var b=h<0;b&&(h=-h),p(h<=67108863);for(var A=0,k=this.length-1;k>=0;k--){var x=(0|this.words[k])+67108864*A;this.words[k]=x/h|0,A=x%h}return this._strip(),b?this.ineg():this},c.prototype.divn=function(h){return this.clone().idivn(h)},c.prototype.egcd=function(h){p(0===h.negative),p(!h.isZero());var b=this,A=h.clone();b=0!==b.negative?b.umod(h):b.clone();for(var k=new c(1),x=new c(0),r=new c(0),_=new c(1),W=0;b.isEven()&&A.isEven();)b.iushrn(1),A.iushrn(1),++W;for(var I=A.clone(),B=b.clone();!b.isZero();){for(var re=0,pe=1;0===(b.words[0]&pe)&&re<26;++re,pe<<=1);if(re>0)for(b.iushrn(re);re-- >0;)(k.isOdd()||x.isOdd())&&(k.iadd(I),x.isub(B)),k.iushrn(1),x.iushrn(1);for(var be=0,Be=1;0===(A.words[0]&Be)&&be<26;++be,Be<<=1);if(be>0)for(A.iushrn(be);be-- >0;)(r.isOdd()||_.isOdd())&&(r.iadd(I),_.isub(B)),r.iushrn(1),_.iushrn(1);b.cmp(A)>=0?(b.isub(A),k.isub(r),x.isub(_)):(A.isub(b),r.isub(k),_.isub(x))}return{a:r,b:_,gcd:A.iushln(W)}},c.prototype._invmp=function(h){p(0===h.negative),p(!h.isZero());var re,b=this,A=h.clone();b=0!==b.negative?b.umod(h):b.clone();for(var k=new c(1),x=new c(0),r=A.clone();b.cmpn(1)>0&&A.cmpn(1)>0;){for(var _=0,W=1;0===(b.words[0]&W)&&_<26;++_,W<<=1);if(_>0)for(b.iushrn(_);_-- >0;)k.isOdd()&&k.iadd(r),k.iushrn(1);for(var I=0,B=1;0===(A.words[0]&B)&&I<26;++I,B<<=1);if(I>0)for(A.iushrn(I);I-- >0;)x.isOdd()&&x.iadd(r),x.iushrn(1);b.cmp(A)>=0?(b.isub(A),k.isub(x)):(A.isub(b),x.isub(k))}return(re=0===b.cmpn(1)?k:x).cmpn(0)<0&&re.iadd(h),re},c.prototype.gcd=function(h){if(this.isZero())return h.abs();if(h.isZero())return this.abs();var b=this.clone(),A=h.clone();b.negative=0,A.negative=0;for(var k=0;b.isEven()&&A.isEven();k++)b.iushrn(1),A.iushrn(1);for(;;){for(;b.isEven();)b.iushrn(1);for(;A.isEven();)A.iushrn(1);var x=b.cmp(A);if(x<0){var r=b;b=A,A=r}else if(0===x||0===A.cmpn(1))break;b.isub(A)}return A.iushln(k)},c.prototype.invm=function(h){return this.egcd(h).a.umod(h)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(h){return this.words[0]&h},c.prototype.bincn=function(h){p("number"==typeof h);var b=h%26,A=(h-b)/26,k=1<<b;if(this.length<=A)return this._expand(A+1),this.words[A]|=k,this;for(var x=k,r=A;0!==x&&r<this.length;r++){var _=0|this.words[r];x=(_+=x)>>>26,this.words[r]=_&=67108863}return 0!==x&&(this.words[r]=x,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(h){var A,b=h<0;if(0!==this.negative&&!b)return-1;if(0===this.negative&&b)return 1;if(this._strip(),this.length>1)A=1;else{b&&(h=-h),p(h<=67108863,"Number is too big");var k=0|this.words[0];A=k===h?0:k<h?-1:1}return 0!==this.negative?0|-A:A},c.prototype.cmp=function(h){if(0!==this.negative&&0===h.negative)return-1;if(0===this.negative&&0!==h.negative)return 1;var b=this.ucmp(h);return 0!==this.negative?0|-b:b},c.prototype.ucmp=function(h){if(this.length>h.length)return 1;if(this.length<h.length)return-1;for(var b=0,A=this.length-1;A>=0;A--){var k=0|this.words[A],x=0|h.words[A];if(k!==x){k<x?b=-1:k>x&&(b=1);break}}return b},c.prototype.gtn=function(h){return 1===this.cmpn(h)},c.prototype.gt=function(h){return 1===this.cmp(h)},c.prototype.gten=function(h){return this.cmpn(h)>=0},c.prototype.gte=function(h){return this.cmp(h)>=0},c.prototype.ltn=function(h){return-1===this.cmpn(h)},c.prototype.lt=function(h){return-1===this.cmp(h)},c.prototype.lten=function(h){return this.cmpn(h)<=0},c.prototype.lte=function(h){return this.cmp(h)<=0},c.prototype.eqn=function(h){return 0===this.cmpn(h)},c.prototype.eq=function(h){return 0===this.cmp(h)},c.red=function(h){return new n(h)},c.prototype.toRed=function(h){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),h.convertTo(this)._forceRed(h)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(h){return this.red=h,this},c.prototype.forceRed=function(h){return p(!this.red,"Already a number in reduction context"),this._forceRed(h)},c.prototype.redAdd=function(h){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,h)},c.prototype.redIAdd=function(h){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,h)},c.prototype.redSub=function(h){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,h)},c.prototype.redISub=function(h){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,h)},c.prototype.redShl=function(h){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,h)},c.prototype.redMul=function(h){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.mul(this,h)},c.prototype.redIMul=function(h){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,h),this.red.imul(this,h)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(h){return p(this.red&&!h.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,h)};var ue={k256:null,p224:null,p192:null,p25519:null};function oe(f,h){this.name=f,this.p=new c(h,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function he(){oe.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function me(){oe.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function Te(){oe.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function D(){oe.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function n(f){if("string"==typeof f){var h=c._prime(f);this.m=h.p,this.prime=h}else p(f.gtn(1),"modulus must be greater than 1"),this.m=f,this.prime=null}function o(f){n.call(this,f),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}oe.prototype._tmp=function(){var h=new c(null);return h.words=new Array(Math.ceil(this.n/13)),h},oe.prototype.ireduce=function(h){var A,b=h;do{this.split(b,this.tmp),A=(b=(b=this.imulK(b)).iadd(this.tmp)).bitLength()}while(A>this.n);var k=A<this.n?-1:b.ucmp(this.p);return 0===k?(b.words[0]=0,b.length=1):k>0?b.isub(this.p):void 0!==b.strip?b.strip():b._strip(),b},oe.prototype.split=function(h,b){h.iushrn(this.n,0,b)},oe.prototype.imulK=function(h){return h.imul(this.k)},S(he,oe),he.prototype.split=function(h,b){for(var A=4194303,k=Math.min(h.length,9),x=0;x<k;x++)b.words[x]=h.words[x];if(b.length=k,h.length<=9)return h.words[0]=0,void(h.length=1);var r=h.words[9];for(b.words[b.length++]=r&A,x=10;x<h.length;x++){var _=0|h.words[x];h.words[x-10]=(_&A)<<4|r>>>22,r=_}h.words[x-10]=r>>>=22,h.length-=0===r&&h.length>10?10:9},he.prototype.imulK=function(h){h.words[h.length]=0,h.words[h.length+1]=0,h.length+=2;for(var b=0,A=0;A<h.length;A++){var k=0|h.words[A];h.words[A]=67108863&(b+=977*k),b=64*k+(b/67108864|0)}return 0===h.words[h.length-1]&&(h.length--,0===h.words[h.length-1]&&h.length--),h},S(me,oe),S(Te,oe),S(D,oe),D.prototype.imulK=function(h){for(var b=0,A=0;A<h.length;A++){var k=19*(0|h.words[A])+b,x=67108863&k;k>>>=26,h.words[A]=x,b=k}return 0!==b&&(h.words[h.length++]=b),h},c._prime=function(h){if(ue[h])return ue[h];var b;if("k256"===h)b=new he;else if("p224"===h)b=new me;else if("p192"===h)b=new Te;else{if("p25519"!==h)throw new Error("Unknown prime "+h);b=new D}return ue[h]=b,b},n.prototype._verify1=function(h){p(0===h.negative,"red works only with positives"),p(h.red,"red works only with red numbers")},n.prototype._verify2=function(h,b){p(0===(h.negative|b.negative),"red works only with positives"),p(h.red&&h.red===b.red,"red works only with red numbers")},n.prototype.imod=function(h){return this.prime?this.prime.ireduce(h)._forceRed(this):(w(h,h.umod(this.m)._forceRed(this)),h)},n.prototype.neg=function(h){return h.isZero()?h.clone():this.m.sub(h)._forceRed(this)},n.prototype.add=function(h,b){this._verify2(h,b);var A=h.add(b);return A.cmp(this.m)>=0&&A.isub(this.m),A._forceRed(this)},n.prototype.iadd=function(h,b){this._verify2(h,b);var A=h.iadd(b);return A.cmp(this.m)>=0&&A.isub(this.m),A},n.prototype.sub=function(h,b){this._verify2(h,b);var A=h.sub(b);return A.cmpn(0)<0&&A.iadd(this.m),A._forceRed(this)},n.prototype.isub=function(h,b){this._verify2(h,b);var A=h.isub(b);return A.cmpn(0)<0&&A.iadd(this.m),A},n.prototype.shl=function(h,b){return this._verify1(h),this.imod(h.ushln(b))},n.prototype.imul=function(h,b){return this._verify2(h,b),this.imod(h.imul(b))},n.prototype.mul=function(h,b){return this._verify2(h,b),this.imod(h.mul(b))},n.prototype.isqr=function(h){return this.imul(h,h.clone())},n.prototype.sqr=function(h){return this.mul(h,h)},n.prototype.sqrt=function(h){if(h.isZero())return h.clone();var b=this.m.andln(3);if(p(b%2==1),3===b){var A=this.m.add(new c(1)).iushrn(2);return this.pow(h,A)}for(var k=this.m.subn(1),x=0;!k.isZero()&&0===k.andln(1);)x++,k.iushrn(1);p(!k.isZero());var r=new c(1).toRed(this),_=r.redNeg(),W=this.m.subn(1).iushrn(1),I=this.m.bitLength();for(I=new c(2*I*I).toRed(this);0!==this.pow(I,W).cmp(_);)I.redIAdd(_);for(var B=this.pow(I,k),re=this.pow(h,k.addn(1).iushrn(1)),pe=this.pow(h,k),be=x;0!==pe.cmp(r);){for(var Be=pe,_e=0;0!==Be.cmp(r);_e++)Be=Be.redSqr();p(_e<be);var ye=this.pow(B,new c(1).iushln(be-_e-1));re=re.redMul(ye),B=ye.redSqr(),pe=pe.redMul(B),be=_e}return re},n.prototype.invm=function(h){var b=h._invmp(this.m);return 0!==b.negative?(b.negative=0,this.imod(b).redNeg()):this.imod(b)},n.prototype.pow=function(h,b){if(b.isZero())return new c(1).toRed(this);if(0===b.cmpn(1))return h.clone();var k=new Array(16);k[0]=new c(1).toRed(this),k[1]=h;for(var x=2;x<k.length;x++)k[x]=this.mul(k[x-1],h);var r=k[0],_=0,W=0,I=b.bitLength()%26;for(0===I&&(I=26),x=b.length-1;x>=0;x--){for(var B=b.words[x],re=I-1;re>=0;re--){var pe=B>>re&1;r!==k[0]&&(r=this.sqr(r)),0!==pe||0!==_?(_<<=1,_|=pe,(4===++W||0===x&&0===re)&&(r=this.mul(r,k[_]),W=0,_=0)):W=0}I=26}return r},n.prototype.convertTo=function(h){var b=h.umod(this.m);return b===h?b.clone():b},n.prototype.convertFrom=function(h){var b=h.clone();return b.red=null,b},c.mont=function(h){return new o(h)},S(o,n),o.prototype.convertTo=function(h){return this.imod(h.ushln(this.shift))},o.prototype.convertFrom=function(h){var b=this.imod(h.mul(this.rinv));return b.red=null,b},o.prototype.imul=function(h,b){if(h.isZero()||b.isZero())return h.words[0]=0,h.length=1,h;var A=h.imul(b),k=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=A.isub(k).iushrn(this.shift),r=x;return x.cmp(this.m)>=0?r=x.isub(this.m):x.cmpn(0)<0&&(r=x.iadd(this.m)),r._forceRed(this)},o.prototype.mul=function(h,b){if(h.isZero()||b.isZero())return new c(0)._forceRed(this);var A=h.mul(b),k=A.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),x=A.isub(k).iushrn(this.shift),r=x;return x.cmp(this.m)>=0?r=x.isub(this.m):x.cmpn(0)<0&&(r=x.iadd(this.m)),r._forceRed(this)},o.prototype.invm=function(h){return this.imod(h._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ae=l.nmd(Ae),this)},983:(Ae,ee,l)=>{"use strict";l.d(ee,{w:()=>t});const t=new(l(71985).c)(c=>c.complete())},1001:(Ae,ee,l)=>{"use strict";l.d(ee,{C:()=>t,q:()=>p});var i=l(11514);const t=[(0,i.hZ)("opacityAnimation",[(0,i.kY)(":enter",[(0,i.iF)({opacity:0}),(0,i.i0)("1000ms ease-in",(0,i.iF)({opacity:1}))]),(0,i.kY)(":leave",[(0,i.i0)("0ms",(0,i.iF)({opacity:0}))])])],p=[(0,i.hZ)("fadeIn",[(0,i.kY)("void => *",[]),(0,i.kY)("* => void",[]),(0,i.kY)("* => *",[(0,i.i0)(800,(0,i.i7)([(0,i.iF)({opacity:0,transform:"translateY(100%)"}),(0,i.iF)({opacity:1,transform:"translateY(0%)"})]))])])]},1018:(Ae,ee,l)=>{const i=l(91677),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 p(S){this.mode=i.ALPHANUMERIC,this.data=S}p.getBitsLength=function(c){return 11*Math.floor(c/2)+c%2*6},p.prototype.getLength=function(){return this.data.length},p.prototype.getBitsLength=function(){return p.getBitsLength(this.data.length)},p.prototype.write=function(c){let e;for(e=0;e+2<=this.data.length;e+=2){let T=45*t.indexOf(this.data[e]);T+=t.indexOf(this.data[e+1]),c.put(T,11)}this.data.length%2&&c.put(t.indexOf(this.data[e]),6)},Ae.exports=p},1030:(Ae,ee,l)=>{"use strict";var i=Object.keys||function(w){var m=[];for(var P in w)m.push(P);return m};Ae.exports=T;var t=l(61092),p=l(15492);l(71993)(T,t);for(var S=i(p.prototype),c=0;c<S.length;c++){var e=S[c];T.prototype[e]||(T.prototype[e]=p.prototype[e])}function T(w){if(!(this instanceof T))return new T(w);t.call(this,w),p.call(this,w),this.allowHalfOpen=!0,w&&(!1===w.readable&&(this.readable=!1),!1===w.writable&&(this.writable=!1),!1===w.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",g)))}function g(){this._writableState.ended||process.nextTick(d,this)}function d(w){w.end()}Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(m){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=m,this._writableState.destroyed=m)}})},1092:(Ae,ee,l)=>{"use strict";l.d(ee,{D:()=>It});var i=l(89417),t=l(21413),p=l(56977),S=l(51585),c=l(45383),e=l(1001),T=l(4416),g=l(63536),d=l(73664),w=l(2615),m=l(59640),P=l(4104),M=l(72200),j=l(98570),U=l(43694),K=l(82571),q=l(88834),G=l(25596),Q=l(9454),$=l(12629),ae=l(33746),ue=l(69588),oe=l(67575),he=l(5951),me=l(52920),Te=l(16038),D=l(30450),n=l(40455),o=l(36013),f=l(89587),h=l(71997);const b=Tt=>({"h-5":Tt});function A(Tt,Ze){1&Tt&&d.eu8(0)}function k(Tt,Ze){1&Tt&&d.eu8(0)}function x(Tt,Ze){if(1&Tt&&(d.j41(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),d.EFF(4),d.nI1(5,"number"),d.k0s()()(),d.DNE(6,k,1,0,"ng-container",2),d.k0s()),2&Tt){const Ve=d.XpG(),Fe=d.sdS(4);d.Y8G("expanded",Ve.panelExpanded)("ngClass",d.eq3(7,b,!Ve.flgShowPanel)),d.R7$(4),d.Lme("Quote for ",Ve.termCaption," amount (",d.bMT(5,5,Ve.quote.amount)," Sats)"),d.R7$(2),d.Y8G("ngTemplateOutlet",Fe)}}function r(Tt,Ze){if(1&Tt&&(d.j41(0,"div",19)(1,"h4",8),d.EFF(2," Prepay Amount (Sats) "),d.j41(3,"mat-icon",20),d.EFF(4,"info_outline"),d.k0s()(),d.j41(5,"span",10),d.EFF(6),d.nI1(7,"number"),d.k0s()()),2&Tt){const Ve=d.XpG(2);d.R7$(6),d.JRh(d.bMT(7,1,null==Ve.quote?null:Ve.quote.prepay_amt_sat))}}function _(Tt,Ze){1&Tt&&d.nrm(0,"mat-divider",13)}function W(Tt,Ze){if(1&Tt&&(d.j41(0,"div",6)(1,"div",21)(2,"h4",8),d.EFF(3," Swap Server Node Pubkey "),d.j41(4,"mat-icon",22),d.EFF(5,"info_outline"),d.k0s()(),d.j41(6,"span",10),d.EFF(7),d.k0s()()()),2&Tt){const Ve=d.XpG(2);d.R7$(7),d.JRh(null==Ve.quote?null:Ve.quote.swap_payment_dest)}}function I(Tt,Ze){if(1&Tt&&(d.j41(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),d.EFF(4," Swap Fee (Sats) "),d.j41(5,"mat-icon",9),d.EFF(6,"info_outline"),d.k0s()(),d.j41(7,"span",10),d.EFF(8),d.nI1(9,"number"),d.k0s()(),d.j41(10,"div",7)(11,"h4",8),d.EFF(12),d.j41(13,"mat-icon",11),d.EFF(14,"info_outline"),d.k0s()(),d.j41(15,"span",10),d.EFF(16),d.nI1(17,"number"),d.k0s()(),d.DNE(18,r,8,3,"div",12),d.k0s(),d.nrm(19,"mat-divider",13),d.j41(20,"div",6)(21,"div",14)(22,"h4",8),d.EFF(23," Max Off-chain Swap Routing Fee (Sats) "),d.j41(24,"mat-icon",15),d.EFF(25,"info_outline"),d.k0s()(),d.j41(26,"span",10),d.EFF(27),d.nI1(28,"number"),d.k0s()(),d.j41(29,"div",14)(30,"h4",8),d.EFF(31," Max Off-chain Prepay Routing Fee (Sats) "),d.j41(32,"mat-icon",16),d.EFF(33,"info_outline"),d.k0s()(),d.j41(34,"span",10),d.EFF(35,"36"),d.k0s()()(),d.DNE(36,_,1,0,"mat-divider",17)(37,W,8,1,"div",18),d.k0s()),2&Tt){const Ve=d.XpG();d.R7$(2),d.Y8G("ngClass",null!=Ve.quote&&Ve.quote.prepay_amt_sat?"flex-30":"flex-50"),d.R7$(6),d.JRh(d.bMT(9,9,null==Ve.quote?null:Ve.quote.swap_fee_sat)),d.R7$(2),d.Y8G("ngClass",null!=Ve.quote&&Ve.quote.prepay_amt_sat?"flex-35":"flex-50"),d.R7$(2),d.SpI(" ",null!=Ve.quote&&Ve.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=Ve.quote&&Ve.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.R7$(4),d.JRh(d.bMT(17,11,null!=Ve.quote&&Ve.quote.htlc_sweep_fee_sat?Ve.quote.htlc_sweep_fee_sat:null!=Ve.quote&&Ve.quote.htlc_publish_fee_sat?Ve.quote.htlc_publish_fee_sat:0)),d.R7$(2),d.Y8G("ngIf",null==Ve.quote?null:Ve.quote.prepay_amt_sat),d.R7$(9),d.JRh(d.bMT(28,13,(null==Ve.quote?null:Ve.quote.amount)*((null!=Ve.quote&&Ve.quote.off_chain_swap_routing_fee_percentage?null==Ve.quote?null:Ve.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.R7$(9),d.Y8G("ngIf",""!==(null==Ve.quote?null:Ve.quote.swap_payment_dest)),d.R7$(),d.Y8G("ngIf",""!==(null==Ve.quote?null:Ve.quote.swap_payment_dest))}}let B=(()=>{var Tt;class Ze{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}static#e=Tt=()=>(this.\u0275fac=function(it){return new(it||Ze)},this.\u0275cmp=d.VBU({type:Ze,selectors:[["rtl-loop-quote"]],inputs:{quote:"quote",termCaption:"termCaption",showPanel:"showPanel",panelExpanded:"panelExpanded"},standalone:!1,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,"ngClass"],["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(it,bt){if(1&it&&d.DNE(0,A,1,0,"ng-container",2)(1,x,7,9,"ng-template",null,0,d.C5r)(3,I,38,15,"ng-template",null,1,d.C5r),2&it){const ut=d.sdS(2),jt=d.sdS(4);d.Y8G("ngTemplateOutlet",bt.showPanel?ut:jt)}},dependencies:[M.YU,M.bT,M.T3,Q.GK,Q.Z2,Q.WN,$.An,h.q,me.DJ,me.sA,me.UI,Te.PW,n.oV,M.QX],encapsulation:2}))}return Tt(),Ze})();function re(Tt,Ze){1&Tt&&d.eu8(0)}function pe(Tt,Ze){if(1&Tt&&(d.j41(0,"div",3)(1,"span",4),d.EFF(2),d.k0s()()),2&Tt){const Ve=d.XpG();d.R7$(2),d.JRh(null!=Ve.loopStatus&&Ve.loopStatus.error?null==Ve.loopStatus?null:Ve.loopStatus.error:"Unknown Error.")}}function be(Tt,Ze){if(1&Tt&&(d.j41(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),d.EFF(4,"ID"),d.k0s(),d.j41(5,"span",4),d.EFF(6),d.k0s()()(),d.nrm(7,"mat-divider",8),d.j41(8,"div",5)(9,"div",6)(10,"h4",7),d.EFF(11,"HTLC Address"),d.k0s(),d.j41(12,"span",4),d.EFF(13),d.k0s()()()()),2&Tt){const Ve=d.XpG();d.R7$(6),d.JRh(null==Ve.loopStatus?null:Ve.loopStatus.id_bytes),d.R7$(7),d.JRh(null==Ve.loopStatus?null:Ve.loopStatus.htlc_address)}}let Be=(()=>{var Tt;class Ze{constructor(){}static#e=Tt=()=>(this.\u0275fac=function(it){return new(it||Ze)},this.\u0275cmp=d.VBU({type:Ze,selectors:[["rtl-loop-status"]],inputs:{loopStatus:"loopStatus"},standalone:!1,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(it,bt){if(1&it&&d.DNE(0,re,1,0,"ng-container",2)(1,pe,3,1,"ng-template",null,0,d.C5r)(3,be,14,2,"ng-template",null,1,d.C5r),2&it){const ut=d.sdS(2),jt=d.sdS(4);d.Y8G("ngTemplateOutlet",null!=bt.loopStatus&&bt.loopStatus.error?ut:jt)}},dependencies:[M.T3,h.q,me.DJ,me.sA,me.UI],encapsulation:2}))}return Tt(),Ze})();var _e=l(16949);const ye=(Tt,Ze)=>({"small-svg":Tt,"large-svg":Ze});function Le(Tt,Ze){1&Tt&&d.eu8(0)}function Ke(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.onSwipe(it))}),w.qSk(),d.j41(1,"svg",7)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d.nrm(8,"circle",12)(9,"path",13),d.k0s(),d.j41(10,"g",14),d.nrm(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.k0s()()()()(),w.joV(),d.j41(26,"div",30)(27,"mat-card-title"),d.EFF(28,"Loop In explained."),d.k0s()(),d.j41(29,"div",31)(30,"mat-card-subtitle",32),d.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@sliderAnimation",Ve.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,ye,Ve.screenSize===Ve.screenSizeEnum.XS,Ve.screenSize!==Ve.screenSizeEnum.XS))}}function ge(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.onSwipe(it))}),w.qSk(),d.j41(1,"svg",33)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),d.nrm(13,"rect",41)(14,"rect",42)(15,"rect",43)(16,"circle",44)(17,"rect",45)(18,"rect",46)(19,"circle",47)(20,"rect",48)(21,"rect",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"circle",53)(26,"circle",54)(27,"circle",55),d.k0s(),d.j41(28,"g",56)(29,"g",57)(30,"g",58),d.nrm(31,"path",59)(32,"rect",60)(33,"polygon",61),d.j41(34,"g",62),d.nrm(35,"path",63),d.k0s(),d.nrm(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"rect",69)(42,"rect",70)(43,"path",71)(44,"path",72),d.k0s(),d.j41(45,"g",73),d.nrm(46,"path",74)(47,"path",75)(48,"path",76)(49,"path",77)(50,"path",78)(51,"path",79)(52,"path",80)(53,"path",81)(54,"path",82)(55,"path",83)(56,"path",84)(57,"circle",85)(58,"circle",86),d.k0s(),d.nrm(59,"path",87),d.k0s()()()()()(),w.joV(),d.j41(60,"div",30)(61,"mat-card-title"),d.EFF(62,"Step 1: Deciding to Loop In"),d.k0s()(),d.j41(63,"div",31)(64,"mat-card-subtitle",32),d.EFF(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@sliderAnimation",Ve.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,ye,Ve.screenSize===Ve.screenSizeEnum.XS,Ve.screenSize!==Ve.screenSizeEnum.XS))}}function ve(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.onSwipe(it))}),w.qSk(),d.j41(1,"svg",88)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",89),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),d.nrm(14,"circle",95)(15,"path",96),d.j41(16,"g",97),d.nrm(17,"polygon",98)(18,"polygon",99)(19,"path",100),d.k0s(),d.j41(20,"g",101),d.nrm(21,"polygon",102)(22,"path",103)(23,"rect",104)(24,"path",105)(25,"rect",106)(26,"rect",107)(27,"rect",108)(28,"rect",109)(29,"circle",110)(30,"path",111),d.j41(31,"g",112)(32,"g",113),d.nrm(33,"g",114),d.k0s(),d.nrm(34,"g",115),d.k0s()()(),d.j41(35,"g",116)(36,"g",40),d.nrm(37,"rect",117)(38,"rect",42)(39,"rect",43)(40,"circle",118)(41,"rect",45)(42,"rect",46)(43,"circle",119)(44,"rect",48)(45,"rect",49)(46,"rect",50)(47,"rect",51)(48,"rect",52)(49,"circle",120)(50,"circle",54)(51,"circle",55)(52,"circle",121),d.k0s(),d.j41(53,"g",56)(54,"g",57)(55,"g",58),d.nrm(56,"path",59)(57,"rect",60)(58,"polygon",61),d.j41(59,"g",122),d.nrm(60,"path",63),d.k0s(),d.nrm(61,"rect",123)(62,"rect",124)(63,"rect",125)(64,"rect",126)(65,"rect",127)(66,"rect",128)(67,"rect",129)(68,"path",130)(69,"path",72),d.k0s(),d.j41(70,"g",73),d.nrm(71,"path",131)(72,"path",132)(73,"path",133)(74,"path",134)(75,"path",135)(76,"path",136)(77,"path",80)(78,"path",81)(79,"path",137)(80,"path",83)(81,"path",138)(82,"circle",85)(83,"circle",86),d.k0s(),d.nrm(84,"path",139),d.k0s()()()(),d.nrm(85,"path",140)(86,"path",141),d.k0s()()()(),w.joV(),d.j41(87,"div",30)(88,"mat-card-title"),d.EFF(89,"Step 2: Send payment out"),d.k0s()(),d.j41(90,"div",31)(91,"mat-card-subtitle",32),d.EFF(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@sliderAnimation",Ve.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,ye,Ve.screenSize===Ve.screenSizeEnum.XS,Ve.screenSize!==Ve.screenSizeEnum.XS))}}function Oe(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.onSwipe(it))}),w.qSk(),d.j41(1,"svg",142)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),d.nrm(10,"circle",12)(11,"path",147),d.k0s(),d.j41(12,"g",14),d.nrm(13,"ellipse",148)(14,"ellipse",16)(15,"rect",17)(16,"rect",18)(17,"rect",19)(18,"rect",20)(19,"rect",21)(20,"rect",22)(21,"rect",23)(22,"rect",24)(23,"rect",25)(24,"rect",26)(25,"rect",27)(26,"rect",28)(27,"rect",29),d.k0s()(),d.j41(28,"g",149),d.nrm(29,"polygon",150)(30,"polygon",99)(31,"path",151),d.k0s(),d.j41(32,"g",152),d.nrm(33,"polygon",102)(34,"path",103)(35,"rect",104)(36,"path",105)(37,"rect",106)(38,"rect",107)(39,"rect",108)(40,"rect",109)(41,"circle",110)(42,"path",111),d.j41(43,"g",112)(44,"g",113),d.nrm(45,"g",114),d.k0s(),d.nrm(46,"g",115),d.k0s()()(),d.nrm(47,"path",153),d.k0s()()()(),w.joV(),d.j41(48,"div",30)(49,"mat-card-title"),d.EFF(50,"Step 3: Recieve Funds Off-chain"),d.k0s()(),d.j41(51,"div",31)(52,"mat-card-subtitle",32),d.EFF(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@sliderAnimation",Ve.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,ye,Ve.screenSize===Ve.screenSizeEnum.XS,Ve.screenSize!==Ve.screenSizeEnum.XS))}}function Ee(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.onSwipe(it))}),w.qSk(),d.j41(1,"svg",154)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),d.nrm(15,"rect",159)(16,"rect",160)(17,"rect",161)(18,"circle",162)(19,"rect",163)(20,"rect",164)(21,"circle",165)(22,"rect",166)(23,"rect",167)(24,"rect",168)(25,"rect",169)(26,"circle",170)(27,"circle",171),d.k0s(),d.j41(28,"g",172),d.nrm(29,"path",173)(30,"rect",174)(31,"polygon",175)(32,"circle",176)(33,"path",177)(34,"rect",178)(35,"rect",179)(36,"rect",180)(37,"rect",181)(38,"rect",182)(39,"rect",183)(40,"rect",184)(41,"path",185)(42,"path",186),d.k0s(),d.nrm(43,"path",187),d.k0s()(),d.nrm(44,"circle",188),d.k0s()()()(),w.joV(),d.j41(45,"div",30)(46,"mat-card-title"),d.EFF(47,"Done!"),d.k0s()(),d.j41(48,"div",31)(49,"mat-card-subtitle",32),d.EFF(50," You send the payment on-chain from your wallet and also move remote balance to the local side of the node, gaining outgoing capacity. "),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@sliderAnimation",Ve.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,ye,Ve.screenSize===Ve.screenSizeEnum.XS,Ve.screenSize!==Ve.screenSizeEnum.XS))}}let dt=(()=>{var Tt;class Ze{constructor(Fe){this.commonService=Fe,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.bkB,this.screenSize="",this.screenSizeEnum=T.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Fe){2===Fe.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Fe.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=Tt=()=>(this.\u0275fac=function(it){return new(it||Ze)(d.rXU(K.h))},this.\u0275cmp=d.VBU({type:Ze,selectors:[["rtl-loop-in-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,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(it,bt){if(1&it&&d.DNE(0,Le,1,0,"ng-container",5)(1,Ke,32,5,"ng-template",null,0,d.C5r)(3,ge,66,5,"ng-template",null,1,d.C5r)(5,ve,93,5,"ng-template",null,2,d.C5r)(7,Oe,54,5,"ng-template",null,3,d.C5r)(9,Ee,51,5,"ng-template",null,4,d.C5r),2&it){const ut=d.sdS(2),jt=d.sdS(4),ai=d.sdS(6),pi=d.sdS(8),ki=d.sdS(10);d.Y8G("ngTemplateOutlet",1===bt.stepNumber?ut:2===bt.stepNumber?jt:3===bt.stepNumber?ai:4===bt.stepNumber?pi:ki)}},dependencies:[M.YU,M.T3,G.Lc,G.dh,me.DJ,me.sA,me.UI,Te.PW],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[_e.k]}}))}return Tt(),Ze})();const nt=(Tt,Ze)=>({"small-svg":Tt,"large-svg":Ze});function Ct(Tt,Ze){1&Tt&&d.eu8(0)}function Mt(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.onSwipe(it))}),w.qSk(),d.j41(1,"svg",7)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d.nrm(8,"circle",12)(9,"path",13),d.k0s(),d.j41(10,"g",14),d.nrm(11,"ellipse",15)(12,"ellipse",16)(13,"rect",17)(14,"rect",18)(15,"rect",19)(16,"rect",20)(17,"rect",21)(18,"rect",22)(19,"rect",23)(20,"rect",24)(21,"rect",25)(22,"rect",26)(23,"rect",27)(24,"rect",28)(25,"rect",29),d.k0s()()()()(),w.joV(),d.j41(26,"div",30)(27,"mat-card-title"),d.EFF(28,"Loop Out explained."),d.k0s()(),d.j41(29,"div",31)(30,"mat-card-subtitle",32),d.EFF(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@sliderAnimation",Ve.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,nt,Ve.screenSize===Ve.screenSizeEnum.XS,Ve.screenSize!==Ve.screenSizeEnum.XS))}}function lt(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.onSwipe(it))}),w.qSk(),d.j41(1,"svg",33)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),d.nrm(15,"rect",43)(16,"rect",44)(17,"rect",45)(18,"circle",46)(19,"rect",47)(20,"rect",48)(21,"circle",49)(22,"rect",50)(23,"rect",51)(24,"rect",52)(25,"rect",53)(26,"circle",54)(27,"circle",55),d.k0s(),d.j41(28,"g",56),d.nrm(29,"path",57)(30,"rect",58)(31,"polygon",59)(32,"circle",60)(33,"path",61)(34,"rect",62)(35,"rect",63)(36,"rect",64)(37,"rect",65)(38,"rect",66)(39,"rect",67)(40,"rect",68)(41,"path",69)(42,"path",70),d.k0s(),d.nrm(43,"path",71),d.k0s()(),d.nrm(44,"circle",72),d.k0s()()()(),w.joV(),d.j41(45,"div",30)(46,"mat-card-title"),d.EFF(47,"Step 1: Deciding to Loop Out"),d.k0s()(),d.j41(48,"div",31)(49,"mat-card-subtitle",32),d.EFF(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@sliderAnimation",Ve.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,nt,Ve.screenSize===Ve.screenSizeEnum.XS,Ve.screenSize!==Ve.screenSizeEnum.XS))}}function Pe(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.onSwipe(it))}),w.qSk(),d.j41(1,"svg",73)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",74),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",75)(11,"g",76),d.nrm(12,"circle",77)(13,"path",78),d.j41(14,"g",79),d.nrm(15,"polygon",80)(16,"polygon",81)(17,"path",82),d.k0s(),d.j41(18,"g",83),d.nrm(19,"polygon",84)(20,"path",85)(21,"rect",86)(22,"path",87)(23,"rect",88)(24,"rect",89)(25,"rect",90)(26,"rect",91)(27,"circle",92)(28,"path",93),d.j41(29,"g",94)(30,"g",95),d.nrm(31,"g",96),d.k0s(),d.nrm(32,"g",97),d.k0s(),d.nrm(33,"path",98),d.k0s(),d.j41(34,"g",99)(35,"g",41)(36,"g",42),d.nrm(37,"rect",43)(38,"rect",44)(39,"rect",45)(40,"circle",46)(41,"rect",47)(42,"rect",48)(43,"circle",49)(44,"rect",50)(45,"rect",51)(46,"rect",52)(47,"rect",53)(48,"circle",100)(49,"circle",54)(50,"circle",55)(51,"circle",101),d.k0s(),d.j41(52,"g",56),d.nrm(53,"path",57)(54,"rect",102)(55,"polygon",103)(56,"circle",104)(57,"path",61)(58,"rect",105)(59,"rect",106)(60,"rect",107)(61,"rect",108)(62,"rect",109)(63,"rect",110)(64,"rect",68)(65,"path",69)(66,"path",70),d.k0s(),d.nrm(67,"path",111),d.k0s()()()()()(),w.joV(),d.j41(68,"div",30)(69,"mat-card-title"),d.EFF(70,"Step 2: Send lightning payment"),d.k0s()(),d.j41(71,"div",31)(72,"mat-card-subtitle",32),d.EFF(73," Your node pays a lightning invoice for the amount requested via the loop service. This moves the local balance, for the amount paid, to the remote side of the channel. "),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@sliderAnimation",Ve.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,nt,Ve.screenSize===Ve.screenSizeEnum.XS,Ve.screenSize!==Ve.screenSizeEnum.XS))}}function Ht(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.onSwipe(it))}),w.qSk(),d.j41(1,"svg",112)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),d.nrm(9,"circle",12)(10,"path",117),d.k0s(),d.j41(11,"g",14),d.nrm(12,"ellipse",118)(13,"ellipse",16)(14,"rect",17)(15,"rect",18)(16,"rect",19)(17,"rect",20)(18,"rect",21)(19,"rect",22)(20,"rect",23)(21,"rect",24)(22,"rect",25)(23,"rect",26)(24,"rect",27)(25,"rect",28)(26,"rect",29),d.k0s()(),d.j41(27,"g",119),d.nrm(28,"polygon",80)(29,"polygon",120)(30,"path",82),d.k0s(),d.j41(31,"g",121),d.nrm(32,"polygon",84)(33,"path",85)(34,"rect",86)(35,"path",87)(36,"rect",88)(37,"rect",89)(38,"rect",90)(39,"rect",91)(40,"circle",122)(41,"path",93),d.j41(42,"g",94)(43,"g",95),d.nrm(44,"g",96),d.k0s(),d.nrm(45,"g",97),d.k0s(),d.nrm(46,"path",123),d.k0s()()()()(),w.joV(),d.j41(47,"div",30)(48,"mat-card-title"),d.EFF(49,"Step 3: Receive funds back"),d.k0s()(),d.j41(50,"div",31)(51,"mat-card-subtitle",32),d.EFF(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@sliderAnimation",Ve.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,nt,Ve.screenSize===Ve.screenSizeEnum.XS,Ve.screenSize!==Ve.screenSizeEnum.XS))}}function ct(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",6),d.bIt("swipe",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.onSwipe(it))}),w.qSk(),d.j41(1,"svg",124)(2,"desc"),d.EFF(3,"Created with Sketch."),d.k0s(),d.j41(4,"defs")(5,"linearGradient",34),d.nrm(6,"stop",35)(7,"stop",36)(8,"stop",37),d.k0s()(),d.j41(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),d.nrm(13,"rect",127)(14,"rect",128)(15,"rect",129)(16,"circle",130)(17,"rect",131)(18,"rect",132)(19,"circle",133)(20,"rect",134)(21,"rect",135)(22,"rect",136)(23,"rect",137)(24,"rect",138)(25,"circle",139)(26,"circle",140)(27,"circle",141),d.k0s(),d.j41(28,"g",142)(29,"g",143)(30,"g",144),d.nrm(31,"path",145)(32,"rect",146)(33,"polygon",147),d.j41(34,"g",148),d.nrm(35,"path",149),d.k0s(),d.nrm(36,"rect",150)(37,"rect",151)(38,"rect",152)(39,"rect",153)(40,"rect",154)(41,"rect",155)(42,"rect",156)(43,"path",157)(44,"path",158),d.k0s(),d.j41(45,"g",159),d.nrm(46,"path",160)(47,"path",161)(48,"path",162)(49,"path",163)(50,"path",164)(51,"path",165)(52,"path",166)(53,"path",167)(54,"path",168)(55,"path",169)(56,"path",170)(57,"circle",171)(58,"circle",172),d.k0s(),d.nrm(59,"path",173),d.k0s()()()()()(),w.joV(),d.j41(60,"div",30)(61,"mat-card-title"),d.EFF(62,"Done!"),d.k0s()(),d.j41(63,"div",31)(64,"mat-card-subtitle",32),d.EFF(65," Final settlement occurs when your node sweeps the on-chain payment and the loop server settles the lightning invoice. You receive the payment on-chain in your wallet and also move local balance to the remote side of the channel, gaining inbound capacity. "),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@sliderAnimation",Ve.animationDirection),d.R7$(),d.Y8G("ngClass",d.l_i(2,nt,Ve.screenSize===Ve.screenSizeEnum.XS,Ve.screenSize!==Ve.screenSizeEnum.XS))}}let Ce=(()=>{var Tt;class Ze{constructor(Fe){this.commonService=Fe,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.bkB,this.screenSize="",this.screenSizeEnum=T.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Fe){2===Fe.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Fe.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=Tt=()=>(this.\u0275fac=function(it){return new(it||Ze)(d.rXU(K.h))},this.\u0275cmp=d.VBU({type:Ze,selectors:[["rtl-loop-out-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,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(it,bt){if(1&it&&d.DNE(0,Ct,1,0,"ng-container",5)(1,Mt,32,5,"ng-template",null,0,d.C5r)(3,lt,51,5,"ng-template",null,1,d.C5r)(5,Pe,74,5,"ng-template",null,2,d.C5r)(7,Ht,53,5,"ng-template",null,3,d.C5r)(9,ct,66,5,"ng-template",null,4,d.C5r),2&it){const ut=d.sdS(2),jt=d.sdS(4),ai=d.sdS(6),pi=d.sdS(8),ki=d.sdS(10);d.Y8G("ngTemplateOutlet",1===bt.stepNumber?ut:2===bt.stepNumber?jt:3===bt.stepNumber?ai:4===bt.stepNumber?pi:ki)}},dependencies:[M.YU,M.T3,G.Lc,G.dh,me.DJ,me.sA,me.UI,Te.PW],styles:["svg.small-svg[_ngcontent-%COMP%]{height:50%;min-height:50%;max-width:100%}svg.large-svg[_ngcontent-%COMP%]{height:60%;min-height:60%;max-width:100%}"],data:{animation:[_e.k]}}))}return Tt(),Ze})();const ze=["stepper"],Z=()=>[1,2,3,4,5],J=(Tt,Ze)=>({"dot-primary":Tt,"dot-primary-lighter":Ze});function fe(Tt,Ze){if(1&Tt&&(d.j41(0,"div",49)(1,"p",50)(2,"strong"),d.EFF(3,"Channel Peer:\xa0"),d.k0s(),d.EFF(4),d.nI1(5,"titlecase"),d.k0s(),d.j41(6,"p",51)(7,"strong"),d.EFF(8,"Channel ID:\xa0"),d.k0s(),d.EFF(9),d.k0s(),d.nrm(10,"p",51),d.k0s()),2&Tt){const Ve=d.XpG(2);d.R7$(4),d.JRh(d.bMT(5,2,Ve.channel.remote_alias)),d.R7$(5),d.JRh(Ve.channel.chan_id)}}function Ie(Tt,Ze){if(1&Tt&&d.EFF(0),2&Tt){const Ve=d.XpG(2);d.JRh(Ve.inputFormLabel)}}function ht(Tt,Ze){1&Tt&&(d.j41(0,"mat-error"),d.EFF(1,"Amount is required."),d.k0s())}function li(Tt,Ze){if(1&Tt&&(d.j41(0,"mat-error"),d.EFF(1),d.nI1(2,"number"),d.k0s()),2&Tt){const Ve=d.XpG(2);d.R7$(),d.SpI("Amount must be greater than or equal to ",d.bMT(2,1,Ve.minQuote.amount),".")}}function Qt(Tt,Ze){if(1&Tt&&(d.j41(0,"mat-error"),d.EFF(1),d.nI1(2,"number"),d.k0s()),2&Tt){const Ve=d.XpG(2);d.R7$(),d.SpI("Amount must be less than or equal to ",d.bMT(2,1,Ve.maxQuote.amount),".")}}function di(Tt,Ze){1&Tt&&(d.j41(0,"mat-error"),d.EFF(1,"Confirmation target is required."),d.k0s())}function kt(Tt,Ze){1&Tt&&(d.j41(0,"mat-error"),d.EFF(1,"Confirmation target must be a positive number."),d.k0s())}function Rt(Tt,Ze){1&Tt&&(d.j41(0,"mat-error"),d.EFF(1,"Percentage is required."),d.k0s())}function le(Tt,Ze){1&Tt&&(d.j41(0,"mat-error"),d.EFF(1,"Percentage must be a positive number."),d.k0s())}function te(Tt,Ze){if(1&Tt&&(d.j41(0,"mat-form-field",51)(1,"mat-label"),d.EFF(2,"Max Off-chain Routing Fee (%)"),d.k0s(),d.nrm(3,"input",52),d.DNE(4,Rt,2,0,"mat-error",26)(5,le,2,0,"mat-error",26),d.k0s()),2&Tt){const Ve=d.XpG(2);d.R7$(3),d.Y8G("step",1),d.R7$(),d.Y8G("ngIf",null==Ve.inputFormGroup.controls.routingFeePercent.errors?null:Ve.inputFormGroup.controls.routingFeePercent.errors.required),d.R7$(),d.Y8G("ngIf",null==Ve.inputFormGroup.controls.routingFeePercent.errors?null:Ve.inputFormGroup.controls.routingFeePercent.errors.min)}}function ce(Tt,Ze){1&Tt&&(d.j41(0,"div",53)(1,"mat-slide-toggle",54),d.EFF(2,"Fast"),d.k0s(),d.j41(3,"mat-icon",55),d.EFF(4,"info_outline"),d.k0s()())}function se(Tt,Ze){if(1&Tt&&d.EFF(0),2&Tt){const Ve=d.XpG(2);d.JRh(Ve.quoteFormLabel)}}function ke(Tt,Ze){1&Tt&&(d.j41(0,"p",56)(1,"mat-icon",57),d.EFF(2,"close"),d.k0s(),d.EFF(3,"Local balance amount is insufficient for swap."),d.k0s())}function Ue(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"button",58),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return w.Njj(it.onValidateAmount())}),d.EFF(1,"Next"),d.k0s()}}function Ne(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"button",59),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return w.Njj(it.onLoop())}),d.EFF(1),d.k0s()}if(2&Tt){const Ve=d.XpG(2);d.R7$(),d.SpI("Initiate ",Ve.loopDirectionCaption)}}function Kt(Tt,Ze){if(1&Tt&&d.EFF(0),2&Tt){const Ve=d.XpG(3);d.JRh(Ve.addressFormLabel)}}function yt(Tt,Ze){1&Tt&&(d.j41(0,"mat-error"),d.EFF(1,"Address is required."),d.k0s())}function Vt(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"mat-step",16)(1,"form",17),d.DNE(2,Kt,1,1,"ng-template",18),d.j41(3,"div",60)(4,"mat-radio-group",61),d.bIt("change",function(it){w.eBV(Ve);const bt=d.XpG(2);return w.Njj(bt.onAddressTypeChange(it))}),d.j41(5,"mat-radio-button",62),d.EFF(6,"Node Local Address"),d.k0s(),d.j41(7,"mat-radio-button",63),d.EFF(8,"External Address"),d.k0s()(),d.j41(9,"mat-form-field",64)(10,"mat-label"),d.EFF(11,"Address"),d.k0s(),d.nrm(12,"input",65),d.DNE(13,yt,2,0,"mat-error",26),d.k0s()(),d.j41(14,"div",30)(15,"button",66),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return w.Njj(it.onLoop())}),d.EFF(16),d.k0s()()()()}if(2&Tt){const Ve=d.XpG(2);d.Y8G("stepControl",Ve.addressFormGroup)("editable",Ve.flgEditable),d.R7$(),d.Y8G("formGroup",Ve.addressFormGroup),d.R7$(11),d.Y8G("required","external"===Ve.addressFormGroup.controls.addressType.value),d.R7$(),d.Y8G("ngIf",null==Ve.addressFormGroup.controls.address.errors?null:Ve.addressFormGroup.controls.address.errors.required),d.R7$(3),d.SpI("Initiate ",Ve.loopDirectionCaption)}}function Zt(Tt,Ze){if(1&Tt&&d.EFF(0),2&Tt){const Ve=d.XpG(2);d.SpI("",Ve.loopDirectionCaption," Status")}}function ti(Tt,Ze){if(1&Tt&&(d.j41(0,"mat-icon",67),d.EFF(1),d.k0s()),2&Tt){const Ve=d.XpG(2);d.R7$(),d.JRh(Ve.loopStatus&&null!=Ve.loopStatus&&Ve.loopStatus.id_bytes?"check":"close")}}function Ye(Tt,Ze){1&Tt&&d.nrm(0,"div")}function Nt(Tt,Ze){1&Tt&&d.nrm(0,"mat-progress-bar",68)}function Et(Tt,Ze){if(1&Tt&&(d.j41(0,"h4",69),d.EFF(1),d.k0s()),2&Tt){const Ve=d.XpG(2);d.R7$(),d.JRh(Ve.loopStatus&&Ve.loopStatus.error?Ve.loopDirectionCaption+" failed.":Ve.loopStatus&&Ve.loopStatus.id_bytes&&Ve.channel?Ve.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":Ve.loopDirectionCaption+" request placed successfully.")}}function Jt(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"button",70),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return w.Njj(it.goToLoop())}),d.EFF(1,"Check Status"),d.k0s()}}function qe(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"button",71),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return w.Njj(it.onRestart())}),d.EFF(1,"Start Again"),d.k0s()}}function $e(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),d.EFF(5),d.k0s()(),d.j41(6,"div",9)(7,"button",10),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG();return w.Njj(it.showInfo())}),d.EFF(8,"?"),d.k0s(),d.j41(9,"button",11),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG();return w.Njj(it.onClose())}),d.EFF(10,"X"),d.k0s()()(),d.j41(11,"mat-card-content",12)(12,"div",13),d.DNE(13,fe,11,4,"div",14),d.j41(14,"mat-vertical-stepper",15,1),d.bIt("selectionChange",function(it){w.eBV(Ve);const bt=d.XpG();return w.Njj(bt.stepSelectionChanged(it))}),d.j41(16,"mat-step",16)(17,"form",17),d.DNE(18,Ie,1,1,"ng-template",18),d.j41(19,"div",19),d.nrm(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",21),d.k0s(),d.j41(22,"div",22)(23,"mat-form-field",23)(24,"mat-label"),d.EFF(25,"Amount"),d.k0s(),d.nrm(26,"input",24),d.j41(27,"mat-hint"),d.EFF(28),d.nI1(29,"number"),d.nI1(30,"number"),d.k0s(),d.j41(31,"span",25),d.EFF(32,"Sats"),d.k0s(),d.DNE(33,ht,2,0,"mat-error",26)(34,li,3,3,"mat-error",26)(35,Qt,3,3,"mat-error",26),d.k0s(),d.j41(36,"mat-form-field",23)(37,"mat-label"),d.EFF(38,"Sweep Confirmation Target"),d.k0s(),d.nrm(39,"input",27),d.DNE(40,di,2,0,"mat-error",26)(41,kt,2,0,"mat-error",26),d.k0s(),d.DNE(42,te,6,3,"mat-form-field",28),d.k0s(),d.DNE(43,ce,5,0,"div",29),d.j41(44,"div",30)(45,"button",31),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG();return w.Njj(it.onEstimateQuote())}),d.EFF(46,"Estimate Quote"),d.k0s()()()(),d.j41(47,"mat-step",16)(48,"form",17),d.DNE(49,se,1,1,"ng-template",18),d.nrm(50,"rtl-loop-quote",32),d.DNE(51,ke,4,0,"p",33),d.j41(52,"div",30),d.DNE(53,Ue,2,0,"button",34)(54,Ne,2,1,"button",35),d.k0s()()(),d.DNE(55,Vt,17,6,"mat-step",36),d.j41(56,"mat-step",37)(57,"form",17),d.DNE(58,Zt,1,1,"ng-template",18),d.j41(59,"div",38)(60,"mat-expansion-panel",39)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",40),d.EFF(64),d.DNE(65,ti,2,1,"mat-icon",41),d.k0s()()(),d.DNE(66,Ye,1,0,"div",42),d.k0s(),d.DNE(67,Nt,1,0,"mat-progress-bar",43),d.k0s(),d.DNE(68,Et,2,1,"h4",44),d.j41(69,"div",30),d.DNE(70,Jt,2,0,"button",45)(71,qe,2,0,"button",46),d.k0s()()()(),d.j41(72,"div",47)(73,"button",48),d.EFF(74,"Close"),d.k0s()()()()()()}if(2&Tt){const Ve=d.XpG(),Fe=d.sdS(2);d.Y8G("@opacityAnimation",void 0),d.R7$(3),d.Y8G("ngClass",Ve.screenSize===Ve.screenSizeEnum.XS||Ve.screenSize===Ve.screenSizeEnum.SM?"flex-83":"flex-91"),d.R7$(2),d.JRh(Ve.channel?"Channel "+Ve.loopDirectionCaption:Ve.loopDirectionCaption),d.R7$(),d.Y8G("ngClass",Ve.screenSize===Ve.screenSizeEnum.XS||Ve.screenSize===Ve.screenSizeEnum.SM?"flex-17":"flex-9"),d.R7$(7),d.Y8G("ngIf",Ve.channel),d.R7$(),d.Y8G("linear",!0),d.R7$(2),d.Y8G("stepControl",Ve.inputFormGroup)("editable",Ve.flgEditable),d.R7$(),d.Y8G("formGroup",Ve.inputFormGroup),d.R7$(3),d.Y8G("quote",Ve.minQuote)("panelExpanded",!1)("showPanel",!0),d.R7$(),d.Y8G("quote",Ve.maxQuote)("panelExpanded",!1)("showPanel",!0),d.R7$(2),d.Y8G("ngClass",Ve.direction===Ve.LoopTypeEnum.LOOP_OUT?"flex-35":"flex-48"),d.R7$(3),d.Y8G("step",1e3),d.R7$(2),d.Lme("Range: ",d.bMT(29,49,Ve.minQuote.amount),"-",d.bMT(30,51,Ve.maxQuote.amount)),d.R7$(5),d.Y8G("ngIf",null==Ve.inputFormGroup.controls.amount.errors?null:Ve.inputFormGroup.controls.amount.errors.required),d.R7$(),d.Y8G("ngIf",null==Ve.inputFormGroup.controls.amount.errors?null:Ve.inputFormGroup.controls.amount.errors.min),d.R7$(),d.Y8G("ngIf",null==Ve.inputFormGroup.controls.amount.errors?null:Ve.inputFormGroup.controls.amount.errors.max),d.R7$(),d.Y8G("ngClass",Ve.direction===Ve.LoopTypeEnum.LOOP_OUT?"flex-30":"flex-48"),d.R7$(3),d.Y8G("step",1),d.R7$(),d.Y8G("ngIf",null==Ve.inputFormGroup.controls.sweepConfTarget.errors?null:Ve.inputFormGroup.controls.sweepConfTarget.errors.required),d.R7$(),d.Y8G("ngIf",null==Ve.inputFormGroup.controls.sweepConfTarget.errors?null:Ve.inputFormGroup.controls.sweepConfTarget.errors.min),d.R7$(),d.Y8G("ngIf",Ve.direction===Ve.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("ngIf",Ve.direction===Ve.LoopTypeEnum.LOOP_OUT),d.R7$(4),d.Y8G("stepControl",Ve.quoteFormGroup)("editable",Ve.flgEditable),d.R7$(),d.Y8G("formGroup",Ve.quoteFormGroup),d.R7$(2),d.Y8G("quote",Ve.quote)("showPanel",!1),d.R7$(),d.Y8G("ngIf",Ve.inputFormGroup.controls.amount.value>Ve.localBalanceToCompare),d.R7$(2),d.Y8G("ngIf",Ve.direction===Ve.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("ngIf",Ve.direction===Ve.LoopTypeEnum.LOOP_IN),d.R7$(),d.Y8G("ngIf",Ve.direction===Ve.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("stepControl",Ve.statusFormGroup),d.R7$(),d.Y8G("formGroup",Ve.statusFormGroup),d.R7$(3),d.Y8G("expanded",!!Ve.loopStatus),d.R7$(4),d.JRh(Ve.loopStatus?Ve.loopStatus.id_bytes?Ve.loopDirectionCaption+" request details":Ve.loopDirectionCaption+" error details":"Waiting for "+Ve.loopDirectionCaption+" request..."),d.R7$(),d.Y8G("ngIf",Ve.loopStatus),d.R7$(),d.Y8G("ngIf",!Ve.loopStatus)("ngIfElse",Fe),d.R7$(),d.Y8G("ngIf",!Ve.loopStatus),d.R7$(),d.Y8G("ngIf",Ve.loopStatus),d.R7$(2),d.Y8G("ngIf",Ve.loopStatus&&Ve.loopStatus.id_bytes&&Ve.channel),d.R7$(),d.Y8G("ngIf",Ve.loopStatus&&(Ve.loopStatus.error||!Ve.loopStatus.id_bytes)),d.R7$(2),d.Y8G("mat-dialog-close",!1)}}function tt(Tt,Ze){if(1&Tt&&d.nrm(0,"rtl-loop-status",72),2&Tt){const Ve=d.XpG();d.Y8G("loopStatus",Ve.loopStatus)}}function vi(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"rtl-loop-out-info-graphics",88),d.mxI("stepNumberChange",function(it){w.eBV(Ve);const bt=d.XpG(2);return d.DH7(bt.stepNumber,it)||(bt.stepNumber=it),w.Njj(it)}),d.k0s()}if(2&Tt){const Ve=d.XpG(2);d.Y8G("animationDirection",Ve.animationDirection),d.R50("stepNumber",Ve.stepNumber)}}function ei(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"rtl-loop-in-info-graphics",88),d.mxI("stepNumberChange",function(it){w.eBV(Ve);const bt=d.XpG(2);return d.DH7(bt.stepNumber,it)||(bt.stepNumber=it),w.Njj(it)}),d.k0s()}if(2&Tt){const Ve=d.XpG(2);d.Y8G("animationDirection",Ve.animationDirection),d.R50("stepNumber",Ve.stepNumber)}}function ci(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"span",89),d.bIt("click",function(){const it=w.eBV(Ve).$implicit,bt=d.XpG(2);return w.Njj(bt.onStepChanged(it))}),d.nrm(1,"p",90),d.k0s()}if(2&Tt){const Ve=Ze.$implicit,Fe=d.XpG(2);d.R7$(),d.Y8G("ngClass",d.l_i(1,J,Fe.stepNumber===Ve,Fe.stepNumber!==Ve))}}function Hi(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"button",91),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return w.Njj(it.onReadMore())}),d.EFF(1,"Read More"),d.k0s()}}function oi(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"button",92),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return w.Njj(it.onStepChanged(4))}),d.EFF(1,"Back"),d.k0s()}}function ui(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"button",93),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return it.flgShowInfo=!1,w.Njj(it.stepNumber=1)}),d.EFF(1,"Close"),d.k0s()}}function ln(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"button",94),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return it.flgShowInfo=!1,w.Njj(it.stepNumber=1)}),d.EFF(1,"Close"),d.k0s()}}function nn(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"button",95),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return w.Njj(it.onStepChanged(it.stepNumber-1))}),d.EFF(1,"Back"),d.k0s()}}function dn(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"button",96),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG(2);return w.Njj(it.onStepChanged(it.stepNumber+1))}),d.EFF(1,"Next"),d.k0s()}}function zn(Tt,Ze){if(1&Tt){const Ve=d.RV6();d.j41(0,"div",73)(1,"div",19)(2,"mat-card-header",74)(3,"div",75),d.nrm(4,"span",8),d.k0s(),d.j41(5,"div",76)(6,"button",11),d.bIt("click",function(){w.eBV(Ve);const it=d.XpG();return it.flgShowInfo=!1,w.Njj(it.stepNumber=1)}),d.EFF(7,"X"),d.k0s()()(),d.j41(8,"mat-card-content",77),d.DNE(9,vi,1,2,"rtl-loop-out-info-graphics",78)(10,ei,1,2,"rtl-loop-in-info-graphics",78),d.k0s(),d.j41(11,"div",79),d.DNE(12,ci,2,4,"span",80),d.k0s(),d.j41(13,"div",81),d.DNE(14,Hi,2,0,"button",82)(15,oi,2,0,"button",83)(16,ui,2,0,"button",84)(17,ln,2,0,"button",85)(18,nn,2,0,"button",86)(19,dn,2,0,"button",87),d.k0s()()()}if(2&Tt){const Ve=d.XpG();d.Y8G("@opacityAnimation",void 0),d.R7$(9),d.Y8G("ngIf",Ve.direction===Ve.LoopTypeEnum.LOOP_OUT),d.R7$(),d.Y8G("ngIf",Ve.direction===Ve.LoopTypeEnum.LOOP_IN),d.R7$(2),d.Y8G("ngForOf",d.lJ4(10,Z)),d.R7$(2),d.Y8G("ngIf",5===Ve.stepNumber),d.R7$(),d.Y8G("ngIf",5===Ve.stepNumber),d.R7$(),d.Y8G("ngIf",5===Ve.stepNumber),d.R7$(),d.Y8G("ngIf",Ve.stepNumber<5),d.R7$(),d.Y8G("ngIf",Ve.stepNumber>1&&Ve.stepNumber<5),d.R7$(),d.Y8G("ngIf",Ve.stepNumber<5)}}let It=(()=>{var Tt;class Ze{constructor(Fe,it,bt,ut,jt,ai,pi,ki,Ki){this.dialogRef=Fe,this.data=it,this.store=bt,this.loopService=ut,this.formBuilder=jt,this.decimalPipe=ai,this.logger=pi,this.router=ki,this.commonService=Ki,this.faInfoCircle=c.iW_,this.LoopTypeEnum=T.C7,this.direction=T.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=T.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||T.C7.LOOP_OUT,this.loopDirectionCaption=this.direction===T.C7.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[i.k0.required,i.k0.min(this.minQuote.amount||0),i.k0.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[i.k0.required,i.k0.min(1)]],routingFeePercent:[2,[i.k0.required,i.k0.min(0)]],fast:[!1,[i.k0.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[i.k0.required]],address:[{value:"",disabled:!0}]}),this.direction===T.C7.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(g.BM).pipe((0,p.Q)(this.unSubs[6])).subscribe(Fe=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:Fe.lightningBalance&&Fe.lightningBalance.local?+Fe.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,p.Q)(this.unSubs[4])).subscribe(Fe=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===T.C7.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,p.Q)(this.unSubs[5])).subscribe(Fe=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(Fe){"external"===Fe.value?(this.addressFormGroup.controls.address.setValidators([i.k0.required]),this.addressFormGroup.controls.address.markAsTouched(),this.addressFormGroup.controls.address.enable()):(this.addressFormGroup.controls.address.setValidators(null),this.addressFormGroup.controls.address.markAsPristine(),this.addressFormGroup.controls.address.disable(),this.addressFormGroup.controls.address.setValue("")),this.addressFormGroup.setErrors({Invalid:!0})}onValidateAmount(){this.localBalanceToCompare&&this.inputFormGroup.controls.amount.value<=this.localBalanceToCompare&&this.stepper.next()}onLoop(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.value<this.minQuote.amount||this.maxQuote.amount&&this.inputFormGroup.controls.amount.value>this.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2||this.direction===T.C7.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===T.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===T.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,p.Q)(this.unSubs[0])).subscribe({next:Fe=>{this.loopStatus=Fe,this.loopService.listSwaps(),this.flgEditable=!0},error:Fe=>{this.loopStatus={error:Fe},this.flgEditable=!0,this.logger.error(Fe)}});else{const Fe=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),it="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",bt=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,Fe,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),bt,it).pipe((0,p.Q)(this.unSubs[1])).subscribe({next:ut=>{this.loopStatus=ut,this.loopService.listSwaps(),this.flgEditable=!0},error:ut=>{this.loopStatus={error:ut},this.flgEditable=!0,this.logger.error(ut)}})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.value<this.minQuote.amount||this.maxQuote.amount&&this.inputFormGroup.controls.amount.value>this.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2)return!0;const Fe=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===T.C7.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Fe).pipe((0,p.Q)(this.unSubs[2])).subscribe(it=>{this.quote=it,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,Fe).pipe((0,p.Q)(this.unSubs[3])).subscribe(it=>{this.quote=it,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(Fe){switch(Fe.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===T.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===T.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===T.C7.LOOP_OUT&&1!==Fe.selectedIndex&&Fe.selectedIndex<Fe.previouslySelectedIndex||this.direction===T.C7.LOOP_IN&&Fe.selectedIndex<Fe.previouslySelectedIndex)&&Fe.selectedStep.stepControl.setErrors({Invalid:!0})}goToLoop(){this.dialogRef.close(!0),this.router.navigateByUrl("/services/loop")}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===T.C7.LOOP_IN?window.open("https://blog.lightning.engineering/announcement/2019/06/25/loop-in.html","_blank"):window.open("https://blog.lightning.engineering/technical/posts/2019/04/15/loop-out-in-depth.html","_blank"),this.onClose()}onStepChanged(Fe){this.animationDirection=Fe<this.stepNumber?"backward":"forward",this.stepNumber=Fe}onRestart(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.minQuote.amount,sweepConfTarget:6,routingFeePercent:2,fast:!1}),this.quoteFormGroup.reset(),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable()}ngOnDestroy(){this.unSubs.forEach(Fe=>{Fe.next(null),Fe.complete()})}static#e=Tt=()=>(this.\u0275fac=function(it){return new(it||Ze)(d.rXU(S.CP),d.rXU(S.Vh),d.rXU(m.il),d.rXU(P.Q),d.rXU(i.ze),d.rXU(M.QX),d.rXU(j.gP),d.rXU(U.Ix),d.rXU(K.h))},this.\u0275cmp=d.VBU({type:Ze,selectors:[["rtl-loop-modal"]],viewQuery:function(it,bt){if(1&it&&d.GBs(ze,5),2&it){let ut;d.mGM(ut=d.lsd())&&(bt.stepper=ut.first)}},standalone:!1,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,"ngClass"],[1,"page-title"],["fxLayoutAlign","space-between end",3,"ngClass"],["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"],["termCaption","min",3,"quote","panelExpanded","showPanel"],["termCaption","max",3,"quote","panelExpanded","showPanel"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],[3,"ngClass"],["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(it,bt){1&it&&d.DNE(0,$e,75,53,"div",2)(1,tt,1,1,"ng-template",null,0,d.C5r)(3,zn,20,11,"div",3),2&it&&(d.Y8G("ngIf",!bt.flgShowInfo),d.R7$(3),d.Y8G("ngIf",bt.flgShowInfo))},dependencies:[M.YU,M.Sq,M.bT,i.qT,i.me,i.Q0,i.BC,i.cb,i.YS,i.j4,i.JD,S.tx,q.$z,G.m2,G.MM,Q.GK,Q.Z2,Q.WN,$.An,ae.fg,ue.rl,ue.nJ,ue.MV,ue.TL,ue.yw,oe.HM,he.VT,he._g,me.DJ,me.sA,me.UI,Te.PW,D.sG,n.oV,o.V5,o.Ti,o.M6,f.N,B,Be,dt,Ce,M.QX,M.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:[e.C]}}))}return Tt(),Ze})()},1636:Ae=>{"use strict";Ae.exports={rE:"6.6.1"}},1756:Ae=>{"use strict";Ae.exports=EvalError},1807:(Ae,ee,l)=>{"use strict";l.d(ee,{O:()=>c});var i=l(71985),t=l(43236),p=l(79470),S=l(28211);function c(e=0,T,g=t.b){let d=-1;return null!=T&&((0,p.m)(T)?g=T:d=T),new i.c(w=>{let m=(0,S.v)(e)?+e-g.now():e;m<0&&(m=0);let P=0;return g.schedule(function(){w.closed||(w.next(P++),0<=d?this.schedule(void 0,d):w.complete())},m)})}},1975:(Ae,ee,l)=>{"use strict";l.d(ee,{Y:()=>j,k:()=>M});var i=l(18617),t=l(17094),p=l(89726),S=l(2615),c=l(73664),e=l(17705),T=l(88968),g=l(49046),d=l(31804),w=l(22466);const m="mat-badge-content";let P=(()=>{class U{static \u0275fac=function(G){return new(G||U)};static \u0275cmp=c.VBU({type:U,selectors:[["ng-component"]],decls:0,vars:0,template:function(G,Q){},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, var(--mat-sys-error));color:var(--mat-badge-text-color, var(--mat-sys-on-error));font-family:var(--mat-badge-text-font, var(--mat-sys-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-sys-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-sys-corner-full))}.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%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error))}.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, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-small-size-line-height, 6px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.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, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-line-height, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.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, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-large-size-line-height, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}\n"],encapsulation:2,changeDetection:0})}return U})(),M=(()=>{class U{_ngZone=(0,S.WQX)(c.SKi);_elementRef=(0,S.WQX)(c.aKT);_ariaDescriber=(0,S.WQX)(i.vr);_renderer=(0,S.WQX)(c.sFG);_animationsDisabled=(0,d.Rc)();_idGenerator=(0,S.WQX)(p.g);get color(){return this._color}set color(q){this._setColor(q),this._color=q}_color="primary";overlap=!0;disabled;position="above after";get content(){return this._content}set content(q){this._updateRenderedContent(q)}_content;get description(){return this._description}set description(q){this._updateDescription(q)}_description;size="medium";hidden;_badgeElement;_inlineBadgeDescription;_isInitialized=!1;_interactivityChecker=(0,S.WQX)(t.Z7);_document=(0,S.WQX)(S.qQL);constructor(){const q=(0,S.WQX)(T.l);q.load(P),q.load(g.Y)}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 q=this._renderer.createElement("span"),G="mat-badge-active";return q.setAttribute("id",this._idGenerator.getId("mat-badge-content-")),q.setAttribute("aria-hidden","true"),q.classList.add(m),this._animationsDisabled&&q.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(q),"function"!=typeof requestAnimationFrame||this._animationsDisabled?q.classList.add(G):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{q.classList.add(G)})}),q}_updateRenderedContent(q){const G=`${q??""}`.trim();this._isInitialized&&G&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=G),this._content=G}_updateDescription(q){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!q||this._isHostInteractive())&&this._removeInlineDescription(),this._description=q,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,q):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(q){const G=this._elementRef.nativeElement.classList;G.remove(`mat-badge-${this._color}`),q&&G.add(`mat-badge-${q}`)}_clearExistingBadges(){const q=this._elementRef.nativeElement.querySelectorAll(`:scope > .${m}`);for(const G of Array.from(q))G!==this._badgeElement&&G.remove()}static \u0275fac=function(G){return new(G||U)};static \u0275dir=c.FsC({type:U,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(G,Q){2&G&&c.AVh("mat-badge-overlap",Q.overlap)("mat-badge-above",Q.isAbove())("mat-badge-below",!Q.isAbove())("mat-badge-before",!Q.isAfter())("mat-badge-after",Q.isAfter())("mat-badge-small","small"===Q.size)("mat-badge-medium","medium"===Q.size)("mat-badge-large","large"===Q.size)("mat-badge-hidden",Q.hidden||!Q.content)("mat-badge-disabled",Q.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]}})}return U})(),j=(()=>{class U{static \u0275fac=function(G){return new(G||U)};static \u0275mod=c.$C({type:U});static \u0275inj=S.G2t({imports:[t.Pd,w.y,w.y]})}return U})()},2042:(Ae,ee,l)=>{"use strict";l.d(ee,{B4:()=>ue,NQ:()=>n,aE:()=>D});var i=l(2615),t=l(73664),p=l(17705),S=l(76838),c=l(18617),e=l(10438),T=l(21413),g=l(92771),d=l(57786),w=l(88968),m=l(31804),P=l(32046),M=l(22466);const j=["mat-sort-header",""],U=["*"];function K(f,h){1&f&&(t.rj2(0,"div",2),i.qSk(),t.rj2(1,"svg",3),t.Hgh(2,"path",4),t.eux()())}const ae=new i.nKC("MAT_SORT_DEFAULT_OPTIONS");let ue=(()=>{class f{_defaultOptions;_initializedStream=new g.m(1);sortables=new Map;_stateChanges=new T.B;active;start="asc";get direction(){return this._direction}set direction(b){this._direction=b}_direction="";disableClear;disabled=!1;sortChange=new t.bkB;initialized=this._initializedStream;constructor(b){this._defaultOptions=b}register(b){this.sortables.set(b.id,b)}deregister(b){this.sortables.delete(b.id)}sort(b){this.active!=b.id?(this.active=b.id,this.direction=b.start?b.start:this.start):this.direction=this.getNextSortDirection(b),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(b){if(!b)return"";let k=function oe(f,h){let b=["asc","desc"];return"desc"==f&&b.reverse(),h||b.push(""),b}(b.start||this.start,b?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),x=k.indexOf(this.direction)+1;return x>=k.length&&(x=0),k[x]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(A){return new(A||f)(t.rXU(ae,8))};static \u0275dir=t.FsC({type:f,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",p.L39],disabled:[2,"matSortDisabled","disabled",p.L39]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[t.OA$]})}return f})(),he=(()=>{class f{changes=new T.B;static \u0275fac=function(A){return new(A||f)};static \u0275prov=i.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})();const Te={provide:he,deps:[[new t.Xx1,new t.kdw,he]],useFactory:function me(f){return f||new he}};let D=(()=>{class f{_intl=(0,i.WQX)(he);_sort=(0,i.WQX)(ue,{optional:!0});_columnDef=(0,i.WQX)("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_changeDetectorRef=(0,i.WQX)(p.gRc);_focusMonitor=(0,i.WQX)(S.FN);_elementRef=(0,i.WQX)(t.aKT);_ariaDescriber=(0,i.WQX)(c.vr,{optional:!0});_renderChanges;_animationsDisabled=(0,m.Rc)();_recentlyCleared=(0,i.vPA)(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(b){this._updateSortActionDescription(b)}_sortActionDescription="Sort";disableClear;constructor(){(0,i.WQX)(w.l).load(P.A);const b=(0,i.WQX)(ae,{optional:!0});b?.arrowPosition&&(this.arrowPosition=b?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=(0,d.h)(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null))})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){const b=this._isSorted(),A=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(b&&!this._isSorted()?A:null)}}_handleKeydown(b){(b.keyCode===e.t6||b.keyCode===e.Fm)&&(b.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_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(b){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,b)),this._sortActionDescription=b}static \u0275fac=function(A){return new(A||f)};static \u0275cmp=t.VBU({type:f,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(A,k){1&A&&t.bIt("click",function(){return k._toggleOnInteraction()})("keydown",function(r){return k._handleKeydown(r)})("mouseleave",function(){return k._recentlyCleared.set(null)}),2&A&&(t.BMQ("aria-sort",k._getAriaSortAttribute()),t.AVh("mat-sort-header-disabled",k._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",p.L39],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",p.L39]},exportAs:["matSortHeader"],attrs:j,ngContentSelectors:U,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(A,k){1&A&&(t.NAR(),t.rj2(0,"div",0)(1,"div",1),t.SdG(2),t.eux(),t.nVh(3,K,3,0,"div",2),t.eux()),2&A&&(t.AVh("mat-sort-header-sorted",k._isSorted())("mat-sort-header-position-before","before"===k.arrowPosition)("mat-sort-header-descending","desc"===k._sort.direction)("mat-sort-header-ascending","asc"===k._sort.direction)("mat-sort-header-recently-cleared-ascending","asc"===k._recentlyCleared())("mat-sort-header-recently-cleared-descending","desc"===k._recentlyCleared())("mat-sort-header-animations-disabled",k._animationsDisabled),t.BMQ("tabindex",k._isDisabled()?null:0)("role",k._isDisabled()?null:"button"),t.R7$(3),t.vxM(k._renderArrow()?3:-1))},styles:[".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;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-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(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}\n"],encapsulation:2,changeDetection:0})}return f})(),n=(()=>{class f{static \u0275fac=function(A){return new(A||f)};static \u0275mod=t.$C({type:f});static \u0275inj=i.G2t({providers:[Te],imports:[M.y]})}return f})()},2615:(Ae,ee,l)=>{"use strict";let i;function t(){return i}function p(De){const pt=i;return i=De,pt}l.d(ee,{JEi:()=>ao,Isx:()=>Ss,EJG:()=>Ca,Yrj:()=>Aa,VVG:()=>yn,Y20:()=>vn,SKP:()=>Pn,hk6:()=>Dr,eVN:()=>zo,b5C:()=>Ra,rQE:()=>Xa,X5O:()=>tr,qFA:()=>Ri,qQL:()=>pc,abz:()=>Pl,tQN:()=>gr,pcR:()=>pr,oMQ:()=>ka,Mlv:()=>kn,MZA:()=>Fi,M0L:()=>Jn,Z63:()=>ca,VML:()=>Hr,uvJ:()=>Wa,zcH:()=>Fl,Wg1:()=>wt,Yw1:()=>Oa,jgP:()=>Lt,tcA:()=>tn,ID:()=>Sn,YEL:()=>Qn,B9r:()=>mn,GBX:()=>xa,ZTf:()=>Zs,nKC:()=>ct,zZn:()=>Ol,rJ1:()=>us,nfM:()=>Li,s6P:()=>ft,K29:()=>Ii,CQl:()=>se,p9y:()=>yt,zSs:()=>Kt,ONQ:()=>Ht,hmW:()=>Ne,yAH:()=>Pe,KXn:()=>Yl,oTH:()=>qn,Czx:()=>Ka,f7T:()=>ii,wVl:()=>za,GYQ:()=>_c,u5s:()=>ir,rev:()=>Nn,Ds7:()=>vr,e5P:()=>Fa,Iaj:()=>ds,GpT:()=>Un,buA:()=>U,AQb:()=>is,jNX:()=>cr,eDl:()=>rt,qlT:()=>Ui,bm_:()=>_i,RxE:()=>m,r4V:()=>Ea,ok8:()=>j,Evm:()=>$l,Jy$:()=>Do,laP:()=>G,EYC:()=>Ci,ng7:()=>Fn,llW:()=>ji,gsJ:()=>zt,GZS:()=>Os,iYM:()=>be,PEr:()=>yo,z7f:()=>_e,LZP:()=>ye,Xln:()=>k,yzR:()=>qi,TWe:()=>Fo,LIA:()=>A,GWr:()=>B,pbo:()=>re,bBq:()=>Ps,Af3:()=>$r,zQk:()=>bo,oZy:()=>Fs,tF7:()=>Le,ZFY:()=>Ze,cP4:()=>vo,MdC:()=>Ua,XvL:()=>W,KET:()=>Po,Tkx:()=>jl,iw4:()=>x,tdH:()=>Tr,pr_:()=>ge,IAh:()=>_,U45:()=>f,WrV:()=>h,kNT:()=>Ke,MI:()=>ul,biv:()=>dl,ZQF:()=>r,Cv0:()=>b,W0r:()=>As,R2n:()=>ro,O8q:()=>Oo,VKj:()=>Gs,Rom:()=>Ds,z6V:()=>Dn,n$e:()=>he,hjC:()=>ki,Pz9:()=>To,PQT:()=>$e,VX4:()=>tt,_Z$:()=>Ye,N79:()=>_l,xLP:()=>Gi,zuh:()=>le,BI7:()=>Rt,U7d:()=>di,uXy:()=>kt,nZS:()=>Qt,ihb:()=>Eo,ID8:()=>jo,gv8:()=>wl,dwj:()=>ue,Bqz:()=>xi,OsK:()=>q,Rfq:()=>D,c$7:()=>uo,gxQ:()=>Ns,ckz:()=>Vo,kLh:()=>ae,xUg:()=>Mi,KdJ:()=>fl,db4:()=>xs,VPL:()=>Ma,MT:()=>xl,Z9v:()=>Kl,Ab:()=>ri,w7Z:()=>Bs,Mx4:()=>_t,veI:()=>Ut,HaV:()=>wi,Agf:()=>en,znI:()=>lo,wGu:()=>An,ebl:()=>lt,OAn:()=>we,_0$:()=>Co,UaU:()=>So,vaC:()=>Dl,d31:()=>qo,ZRn:()=>Al,phH:()=>mr,WbQ:()=>fi,WB9:()=>ja,d_l:()=>gl,vNG:()=>hs,oyA:()=>Xe,_px:()=>Vr,CpD:()=>hc,XRZ:()=>Ll,klJ:()=>je,Fje:()=>Ys,b$O:()=>$d,SMZ:()=>$,WQX:()=>pi,MzJ:()=>Tt,jXY:()=>Bi,MME:()=>Er,JlV:()=>Rn,Qs1:()=>At,srX:()=>He,vOT:()=>oo,YWB:()=>Zi,EPY:()=>Rs,yoD:()=>mi,P3H:()=>Ur,Jzi:()=>o,rFz:()=>yr,JjR:()=>kl,M6u:()=>Hs,KtD:()=>vl,muV:()=>nt,A0l:()=>st,q$2:()=>Je,yP_:()=>ts,EFk:()=>ea,Hps:()=>rl,UhH:()=>Ho,QuC:()=>Gt,Y3W:()=>pa,n$r:()=>Va,K7h:()=>mt,FRF:()=>vt,ezK:()=>Me,m7n:()=>dd,niQ:()=>ho,krE:()=>jc,bll:()=>al,Hh6:()=>Rr,EmA:()=>gt,blu:()=>el,HAh:()=>wn,WfI:()=>Yi,xbp:()=>fs,jvu:()=>wo,lQ1:()=>cn,BCV:()=>Ft,Rc9:()=>or,E6O:()=>Ai,DyX:()=>pl,eFE:()=>Zt,dMS:()=>Bo,HUe:()=>js,nl4:()=>n,N4e:()=>cs,XaM:()=>te,Kw3:()=>bl,vQI:()=>Zd,RZ9:()=>Go,GA0:()=>Mo,iMd:()=>Di,Pfq:()=>On,xyx:()=>$s,a2B:()=>It,kcM:()=>ht,DFp:()=>Z,P2g:()=>co,cBl:()=>Qs,ypq:()=>Zr,vPA:()=>Ja,HO5:()=>Mn,M_e:()=>hl,B22:()=>Xs,ik5:()=>ml,AsM:()=>oe,PP7:()=>ti,$8:()=>Be,$Hz:()=>ci,zAe:()=>Wl,IvY:()=>so,_gW:()=>Xl,F1c:()=>No,ITl:()=>Il,brz:()=>fn,jRZ:()=>Ws,SX7:()=>Rl,jDH:()=>ve,G2t:()=>Ee,fuf:()=>yl,cSN:()=>zr,KVO:()=>jt,dmw:()=>ai,joV:()=>zs,By9:()=>Ml,qSk:()=>fc,Njj:()=>We,eBV:()=>Re});const c=Symbol("NotFound");function T(De){return De===c||"\u0275NotFound"===De?.name}Error;var g=l(48440),d=l(84412),w=l(71985);class m{full;major;minor;patch;constructor(pt){this.full=pt;const Yt=pt.split(".");this.major=Yt[0],this.minor=Yt[1],this.patch=Yt.slice(2).join(".")}}const j="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class U extends Error{code;constructor(pt,Yt){super(q(pt,Yt)),this.code=pt}}function q(De,pt){return`${function K(De){return`NG0${Math.abs(De)}`}(De)}${pt?": "+pt:""}`}const G=globalThis;function $(){return!1}function ae(De){for(let pt in De)if(De[pt]===ae)return pt;throw Error("")}function ue(De,pt){for(const Yt in pt)pt.hasOwnProperty(Yt)&&!De.hasOwnProperty(Yt)&&(De[Yt]=pt[Yt])}function oe(De){if("string"==typeof De)return De;if(Array.isArray(De))return`[${De.map(oe).join(", ")}]`;if(null==De)return""+De;const pt=De.overriddenName||De.name;if(pt)return`${pt}`;const Yt=De.toString();if(null==Yt)return""+Yt;const Pi=Yt.indexOf("\n");return Pi>=0?Yt.slice(0,Pi):Yt}function he(De,pt){return De?pt?`${De} ${pt}`:De:pt||""}const Te=ae({__forward_ref__:ae});function D(De){return De.__forward_ref__=D,De.toString=function(){return oe(this())},De}function n(De){return o(De)?De():De}function o(De){return"function"==typeof De&&De.hasOwnProperty(Te)&&De.__forward_ref__===D}function f(De,pt){"number"!=typeof De&&Be(pt,typeof De,"number","===")}function h(De,pt,Yt){f(De,"Expected a number"),function I(De,pt,Yt){De<=pt||Be(Yt,De,pt,"<=")}(De,Yt,"Expected number to be less than or equal to"),re(De,pt,"Expected number to be greater than or equal to")}function b(De,pt){"string"!=typeof De&&Be(pt,null===De?"null":typeof De,"string","===")}function A(De,pt){"function"!=typeof De&&Be(pt,null===De?"null":typeof De,"function","===")}function k(De,pt,Yt){De!=pt&&Be(Yt,De,pt,"==")}function x(De,pt,Yt){De==pt&&Be(Yt,De,pt,"!=")}function r(De,pt,Yt){De!==pt&&Be(Yt,De,pt,"===")}function _(De,pt,Yt){De===pt&&Be(Yt,De,pt,"!==")}function W(De,pt,Yt){De<pt||Be(Yt,De,pt,"<")}function B(De,pt,Yt){De>pt||Be(Yt,De,pt,">")}function re(De,pt,Yt){De>=pt||Be(Yt,De,pt,">=")}function be(De,pt){null==De&&Be(pt,De,null,"!=")}function Be(De,pt,Yt,Pi){throw new Error(`ASSERTION ERROR: ${De}`+(null==Pi?"":` [Expected=> ${Yt} ${Pi} ${pt} <=Actual]`))}function _e(De){De instanceof Node||Be(`The provided value must be an instance of a DOM Node but got ${oe(De)}`)}function ye(De){De instanceof Element||Be(`The provided value must be an element but got ${oe(De)}`)}function Le(De,pt){be(De,"Array must be defined.");const Yt=De.length;(pt<0||pt>=Yt)&&Be(`Index expected to be less than ${Yt} but got ${pt}`)}function Ke(De,...pt){if(-1!==pt.indexOf(De))return!0;Be(`Expected value to be one of ${JSON.stringify(pt)} but was ${JSON.stringify(De)}.`)}function ge(De){null!==(0,g.nR)()&&Be(`${De}() should never be called in a reactive context.`)}function ve(De){return{token:De.token,providedIn:De.providedIn||null,factory:De.factory,value:void 0}}function Ee(De){return{providers:De.providers||[],imports:De.imports||[]}}function dt(De){return function Ct(De,pt){return De.hasOwnProperty(pt)&&De[pt]||null}(De,Pe)}function nt(De){return null!==dt(De)}function lt(De){return De&&De.hasOwnProperty(Ht)?De[Ht]:null}const Pe=ae({\u0275prov:ae}),Ht=ae({\u0275inj:ae});class ct{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(pt,Yt){this._desc=pt,this.\u0275prov=void 0,"number"==typeof Yt?this.__NG_ELEMENT_ID__=Yt:void 0!==Yt&&(this.\u0275prov=ve({token:this,providedIn:Yt.providedIn||"root",factory:Yt.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let Ce;function ze(){return Be("getInjectorProfilerContext should never be called in production mode"),Ce}function Z(De){Be("setInjectorProfilerContext should never be called in production mode");const pt=Ce;return Ce=De,pt}const J=[],fe=()=>{};function ht(De){return Be("setInjectorProfiler should never be called in production mode"),null!==De?(J.includes(De)||J.push(De),()=>function Ie(De){const pt=J.indexOf(De);-1!==pt&&J.splice(pt,1)}(De)):(J.length=0,fe)}function li(De){Be("Injector profiler should never be called in production mode");for(let pt=0;pt<J.length;pt++)(0,J[pt])(De)}function Qt(De,pt=!1){let Yt;Be("Injector profiler should never be called in production mode"),Yt="function"==typeof De||De instanceof ct?De:n(De.provide);let Pi=De;De instanceof ct&&(Pi=De.\u0275prov||De),li({type:2,context:ze(),providerRecord:{token:Yt,provider:Pi,isViewProvider:pt}})}function di(De){Be("Injector profiler should never be called in production mode"),li({type:4,context:ze(),token:De})}function kt(De){Be("Injector profiler should never be called in production mode"),li({type:1,context:ze(),instance:{value:De}})}function Rt(De,pt,Yt){Be("Injector profiler should never be called in production mode"),li({type:0,context:ze(),service:{token:De,value:pt,flags:Yt}})}function le(De){Be("Injector profiler should never be called in production mode"),li({type:3,context:ze(),effect:De})}function te(De,pt,Yt){Be("runInInjectorProfilerContext should never be called in production mode");const Pi=Z({injector:De,token:pt});try{Yt()}finally{Z(Pi)}}function ce(De){return De&&!!De.\u0275providers}const se=ae({\u0275cmp:ae}),ke=ae({\u0275dir:ae}),Ue=ae({\u0275pipe:ae}),Ne=ae({\u0275mod:ae}),Kt=ae({\u0275fac:ae}),yt=ae({__NG_ELEMENT_ID__:ae}),Vt=ae({__NG_ENV_ID__:ae});function Zt(De){return"string"==typeof De?De:null==De?"":String(De)}function ti(De){return"function"==typeof De?De.name||De.toString():"object"==typeof De&&null!=De&&"function"==typeof De.type?De.type.name||De.type.toString():Zt(De)}function Ye(De){let pt=De[se]||null;return null!==pt&&pt.debugInfo?function Nt(De){return De.filePath&&De.lineNumber?`${De.className} (at ${De.filePath}:${De.lineNumber})`:De.className}(pt.debugInfo):ti(De)}const Et=ae({ngErrorCode:ae}),Jt=ae({ngErrorMessage:ae}),qe=ae({ngTokenPath:ae});function $e(De,pt){return ui("",-200,pt)}function tt(De,pt){return function oi(De,pt){return De.message=function nn(De,pt,Yt=[],Pi=null){let rn="";Yt&&Yt.length>1&&(rn=` Path: ${Yt.join(" -> ")}.`);return q(pt,`${De}${Pi?` Source: ${Pi}.`:""}${rn}`)}(De[Jt]||De.message,De[Et],De[qe],pt),De}($e(0,pt),null)}function ci(De,pt){throw new U(-201,!1)}function ui(De,pt,Yt){const Pi=new U(pt,De);return Pi[Et]=pt,Pi[Jt]=De,Yt&&(Pi[qe]=Yt),Pi}let dn;function zn(){return dn}function It(De){const pt=dn;return dn=De,pt}function Tt(De,pt,Yt){const Pi=dt(De);return Pi&&"root"==Pi.providedIn?void 0===Pi.value?Pi.value=Pi.factory():Pi.value:8&Yt?null:void 0!==pt?pt:void ci()}function Ze(De){}const Fe={},it="__NG_DI_FLAG__";class bt{injector;constructor(pt){this.injector=pt}retrieve(pt,Yt){const Pi=ki(Yt)||0;try{return this.injector.get(pt,8&Pi?null:Fe,Pi)}catch(rn){if(T(rn))return rn;throw rn}}}function ut(De,pt=0){const Yt=t();if(void 0===Yt)throw new U(-203,!1);if(null===Yt)return Tt(De,void 0,pt);{const Pi=function Ki(De){return{optional:!!(8&De),host:!!(1&De),self:!!(2&De),skipSelf:!!(4&De)}}(pt),rn=Yt.retrieve(De,Pi);if(T(rn)){if(Pi.optional)return null;throw rn}return rn}}function jt(De,pt=0){return(zn()||ut)(n(De),pt)}function ai(De){throw new U(202,!1)}function pi(De,pt){return jt(De,ki(pt))}function ki(De){return typeof De>"u"||"number"==typeof De?De:0|(De.optional&&8)|(De.host&&1)|(De.self&&2)|(De.skipSelf&&4)}function Ji(De){const pt=[];for(let Yt=0;Yt<De.length;Yt++){const Pi=n(De[Yt]);if(Array.isArray(Pi)){if(0===Pi.length)throw new U(900,!1);let rn,In=0;for(let Qa=0;Qa<Pi.length;Qa++){const Ar=Pi[Qa],$a=En(Ar);"number"==typeof $a?-1===$a?rn=Ar.token:In|=$a:rn=Ar}pt.push(jt(rn,In))}else pt.push(jt(Pi))}return pt}function Dn(De,pt){return De[it]=pt,De.prototype[it]=pt,De}function En(De){return De[it]}function An(De,pt){return De.hasOwnProperty(Kt)?De[Kt]:null}function Fn(De,pt,Yt){if(De.length!==pt.length)return!1;for(let Pi=0;Pi<De.length;Pi++){let rn=De[Pi],In=pt[Pi];if(Yt&&(rn=Yt(rn),In=Yt(In)),In!==rn)return!1}return!0}function xi(De){return De.flat(Number.POSITIVE_INFINITY)}function Gi(De,pt){De.forEach(Yt=>Array.isArray(Yt)?Gi(Yt,pt):pt(Yt))}function Ci(De,pt,Yt){pt>=De.length?De.push(Yt):De.splice(pt,0,Yt)}function Ai(De,pt){return pt>=De.length-1?De.pop():De.splice(pt,1)[0]}function Yi(De,pt){const Yt=[];for(let Pi=0;Pi<De;Pi++)Yt.push(pt);return Yt}function zt(De,pt,Yt){const Pi=De.length-Yt;for(;pt<Pi;)De[pt]=De[pt+Yt],pt++;for(;Yt--;)De.pop()}function ji(De,pt,Yt,Pi){let rn=De.length;if(rn==pt)De.push(Yt,Pi);else if(1===rn)De.push(Pi,De[0]),De[0]=Yt;else{for(rn--,De.push(De[rn-1],De[rn]);rn>pt;)De[rn]=De[rn-2],rn--;De[pt]=Yt,De[pt+1]=Pi}}function Me(De,pt,Yt){let Pi=vt(De,pt);return Pi>=0?De[1|Pi]=Yt:(Pi=~Pi,ji(De,Pi,pt,Yt)),Pi}function mt(De,pt){const Yt=vt(De,pt);if(Yt>=0)return De[1|Yt]}function vt(De,pt){return function ni(De,pt,Yt){let Pi=0,rn=De.length>>Yt;for(;rn!==Pi;){const In=Pi+(rn-Pi>>1),Qa=De[In<<Yt];if(pt===Qa)return In<<Yt;Qa>pt?rn=In:Pi=In+1}return~(rn<<Yt)}(De,pt,1)}const Fi={},kn=[],ca=new ct(""),an=new ct("",-1),mn=new ct("");class qn{get(pt,Yt=Fe){if(Yt===Fe){const rn=ui("",-201);throw rn.name="\u0275NotFound",rn}return Yt}}function mr(De){return De[Ne]||null}function fi(De){const pt=mr(De);if(!pt)throw new U(915,!1);return pt}function Mi(De){return De[se]||null}function en(De){const pt=wi(De);if(!pt)throw new U(916,!1);return pt}function wi(De){return De[ke]||null}function Xe(De){return De[Ue]||null}function Gt(De){const pt=Mi(De)||wi(De)||Xe(De);return null!==pt&&pt.standalone}function gt(De){return{\u0275providers:De}}function Ft(De){return gt([{provide:ca,multi:!0,useValue:De}])}function gi(...De){return{\u0275providers:Bi(0,De),\u0275fromNgModule:!0}}function Bi(De,...pt){const Yt=[],Pi=new Set;let rn;const In=Qa=>{Yt.push(Qa)};return Gi(pt,Qa=>{const Ar=Qa;fn(Ar,In,[],Pi)&&(rn||=[],rn.push(Ar))}),void 0!==rn&&Qi(rn,In),Yt}function Qi(De,pt){for(let Yt=0;Yt<De.length;Yt++){const{ngModule:Pi,providers:rn}=De[Yt];da(rn,In=>{pt(In,Pi)})}}function fn(De,pt,Yt,Pi){if(!(De=n(De)))return!1;let rn=null,In=lt(De);const Qa=!In&&Mi(De);if(In||Qa){if(Qa&&!Qa.standalone)return!1;rn=De}else{const $a=De.ngModule;if(In=lt($a),!In)return!1;rn=$a}const Ar=Pi.has(rn);if(Qa){if(Ar)return!1;if(Pi.add(rn),Qa.dependencies){const $a="function"==typeof Qa.dependencies?Qa.dependencies():Qa.dependencies;for(const Za of $a)fn(Za,pt,Yt,Pi)}}else{if(!In)return!1;{if(null!=In.imports&&!Ar){let Za;Pi.add(rn);try{Gi(In.imports,ms=>{fn(ms,pt,Yt,Pi)&&(Za||=[],Za.push(ms))})}finally{}void 0!==Za&&Qi(Za,pt)}if(!Ar){const Za=An(rn)||(()=>new rn);pt({provide:rn,useFactory:Za,deps:kn},rn),pt({provide:mn,useValue:rn,multi:!0},rn),pt({provide:ca,useValue:()=>jt(rn),multi:!0},rn)}const $a=In.providers;if(null!=$a&&!Ar){const Za=De;da($a,ms=>{pt(ms,Za)})}}}return rn!==De&&void 0!==De.providers}function da(De,pt){for(let Yt of De)ce(Yt)&&(Yt=Yt.\u0275providers),Array.isArray(Yt)?da(Yt,pt):pt(Yt)}const ga=ae({provide:String,useValue:ae});function Zn(De){return null!==De&&"object"==typeof De&&ga in De}function pa(De){return"function"==typeof De}function Er(De){return!!De.useClass}const xa=new ct(""),Xr={},Ta={};let wr;function ja(){return void 0===wr&&(wr=new qn),wr}class Wa{}class Fa extends Wa{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(pt,Yt,Pi,rn){super(),this.parent=Yt,this.source=Pi,this.scopes=rn,ls(pt,Qa=>this.processProvider(Qa)),this.records.set(an,Yr(void 0,this)),rn.has("environment")&&this.records.set(Wa,Yr(void 0,this));const In=this.records.get(xa);null!=In&&"string"==typeof In.value&&this.scopes.add(In.value),this.injectorDefTypes=new Set(this.get(mn,kn,{self:!0}))}retrieve(pt,Yt){const Pi=ki(Yt)||0;try{return this.get(pt,Fe,Pi)}catch(rn){if(T(rn))return rn;throw rn}}destroy(){os(this),this._destroyed=!0;const pt=(0,g.Ht)(null);try{for(const Pi of this._ngOnDestroyHooks)Pi.ngOnDestroy();const Yt=this._onDestroyHooks;this._onDestroyHooks=[];for(const Pi of Yt)Pi()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,g.Ht)(pt)}}onDestroy(pt){return os(this),this._onDestroyHooks.push(pt),()=>this.removeOnDestroy(pt)}runInContext(pt){os(this);const Yt=p(this),Pi=It(void 0);try{return pt()}finally{p(Yt),It(Pi)}}get(pt,Yt=Fe,Pi){if(os(this),pt.hasOwnProperty(Vt))return pt[Vt](this);const rn=ki(Pi),Qa=p(this),Ar=It(void 0);try{if(!(4&rn)){let Za=this.records.get(pt);if(void 0===Za){const ms=function no(De){return"function"==typeof De||"object"==typeof De&&"InjectionToken"===De.ngMetadataName}(pt)&&dt(pt);Za=ms&&this.injectableDefInScope(ms)?Yr(Br(pt),Xr):null,this.records.set(pt,Za)}if(null!=Za)return this.hydrate(pt,Za,rn)}return(2&rn?ja():this.parent).get(pt,Yt=8&rn&&Yt===Fe?null:Yt)}catch($a){const Za=function ln(De){return De[Et]}($a);throw-200===Za||-201===Za?new U(Za,null):$a}finally{It(Ar),p(Qa)}}resolveInjectorInitializers(){const pt=(0,g.Ht)(null),Yt=p(this),Pi=It(void 0);try{const In=this.get(ca,kn,{self:!0});for(const Qa of In)Qa()}finally{p(Yt),It(Pi),(0,g.Ht)(pt)}}toString(){const pt=[],Yt=this.records;for(const Pi of Yt.keys())pt.push(oe(Pi));return`R3Injector[${pt.join(", ")}]`}processProvider(pt){let Yt=pa(pt=n(pt))?pt:n(pt&&pt.provide);const Pi=function Kr(De){return Zn(De)?Yr(void 0,De.useValue):Yr(or(De),Xr)}(pt);if(!pa(pt)&&!0===pt.multi){let rn=this.records.get(Yt);rn||(rn=Yr(void 0,Xr,!0),rn.factory=()=>Ji(rn.multi),this.records.set(Yt,rn)),Yt=pt,rn.multi.push(pt)}this.records.set(Yt,Pi)}hydrate(pt,Yt,Pi){const rn=(0,g.Ht)(null);try{if(Yt.value===Ta)throw $e(oe(pt));return Yt.value===Xr&&(Yt.value=Ta,Yt.value=Yt.factory(void 0,Pi)),"object"==typeof Yt.value&&Yt.value&&function Qr(De){return null!==De&&"object"==typeof De&&"function"==typeof De.ngOnDestroy}(Yt.value)&&this._ngOnDestroyHooks.add(Yt.value),Yt.value}finally{(0,g.Ht)(rn)}}injectableDefInScope(pt){if(!pt.providedIn)return!1;const Yt=n(pt.providedIn);return"string"==typeof Yt?"any"===Yt||this.scopes.has(Yt):this.injectorDefTypes.has(Yt)}removeOnDestroy(pt){const Yt=this._onDestroyHooks.indexOf(pt);-1!==Yt&&this._onDestroyHooks.splice(Yt,1)}}function Br(De){const pt=dt(De),Yt=null!==pt?pt.factory:An(De);if(null!==Yt)return Yt;if(De instanceof ct)throw new U(204,!1);if(De instanceof Function)return function ys(De){if(De.length>0)throw new U(204,!1);const Yt=function Mt(De){return(De?.[Pe]??null)||null}(De);return null!==Yt?()=>Yt.factory(De):()=>new De}(De);throw new U(204,!1)}function or(De,pt,Yt){let Pi;if(pa(De)){const rn=n(De);return An(rn)||Br(rn)}if(Zn(De))Pi=()=>n(De.useValue);else if(function ia(De){return!(!De||!De.useFactory)}(De))Pi=()=>De.useFactory(...Ji(De.deps||[]));else if(function Sa(De){return!(!De||!De.useExisting)}(De))Pi=(rn,In)=>jt(n(De.useExisting),void 0!==In&&8&In?8:void 0);else{const rn=n(De&&(De.useClass||De.provide));if(!function bs(De){return!!De.deps}(De))return An(rn)||Br(rn);Pi=()=>new rn(...Ji(De.deps))}return Pi}function os(De){if(De.destroyed)throw new U(205,!1)}function Yr(De,pt,Yt=!1){return{factory:De,value:pt,multi:Yt?[]:void 0}}function ls(De,pt){for(const Yt of De)Array.isArray(Yt)?ls(Yt,pt):Yt&&ce(Yt)?ls(Yt.\u0275providers,pt):pt(Yt)}function cs(De,pt){let Yt;De instanceof Fa?(os(De),Yt=De):Yt=new bt(De);const rn=p(Yt),In=It(void 0);try{return pt()}finally{p(rn),It(In)}}function Hs(){return void 0!==zn()||null!=t()}function $r(De){if(!Hs())throw new U(-203,!1)}const Lt=0,rt=1,wt=2,ii=3,Ii=4,Ui=5,tn=6,yn=7,Pn=8,Qn=9,Jn=10,Un=11,Ca=12,Aa=13,tr=14,Ra=15,Xa=16,za=17,vr=18,Sn=19,ka=20,Ka=21,pr=22,gr=23,ds=24,ao=25,Ss=26,Oa=27,Wt=1,Ri=6,ft=7,_i=8,Li=9,vn=10;function Je(De){return Array.isArray(De)&&"object"==typeof De[Wt]}function st(De){return Array.isArray(De)&&!0===De[Wt]}function He(De){return!!(4&De.flags)}function At(De){return De.componentOffset>-1}function mi(De){return!(1&~De.flags)}function Rn(De){return!!De.template}function ea(De){return!!(512&De[wt])}function Rs(De){return!(256&~De[wt])}function Gs(De,pt){Ds(De,pt[rt])}function Oo(De,pt){const Yt=pt+Oa;Le(De,Yt),W(Yt,De[rt].bindingStartIndex,"TNodes should be created before any bindings")}function Ds(De,pt){ro(De);const Yt=pt.data;for(let Pi=Oa;Pi<Yt.length;Pi++)if(Yt[Pi]===De)return;Be("This TNode does not belong to this TView.")}function ro(De){be(De,"TNode must be defined"),De&&"object"==typeof De&&De.hasOwnProperty("directiveStylingLast")||Be("Not of type TNode, got: "+De)}function As(De){be(De,"Expected TIcu to be defined"),"number"!=typeof De.currentCaseLViewIndex&&Be("Object is not of TIcu type.")}function Os(De,pt="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){Mi(De)||Be(pt)}function Po(De,pt="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){mr(De)||Be(pt)}function Ps(De){be(De,"currentTNode should exist!"),be(De.parent,"currentTNode should have a parent")}function vo(De){be(De,"LContainer must be defined"),k(st(De),!0,"Expecting LContainer")}function Ua(De){be(De,"LView must be defined"),k(Je(De),!0,"Expecting LView")}function qi(De,pt){k(De.firstCreatePass,!0,pt||"Should only be called in first create pass.")}function Fo(De,pt){k(De.firstUpdatePass,!0,"Should only be called in first update pass.")}function yo(De){(void 0===De.type||null==De.selectors||void 0===De.inputs)&&Be("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function bo(De,pt){xo(Oa,De.bindingStartIndex,pt)}function Fs(De,pt){xo(De[1].expandoStartIndex,De.length,pt)}function xo(De,pt,Yt){De<=Yt&&Yt<pt||Be(`Index out of range (expecting ${De} <= ${Yt} < ${pt})`)}function dl(De,pt){be(De[Ra],"Component views should exist."),be(De[Ra][Ui].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function ul(De,pt){be(De,"Component views should always have a parent view (component's host view)")}function jl(De,pt){Fs(De,pt),Fs(De,pt+8),f(De[pt+0],"injectorIndex should point to a bloom filter"),f(De[pt+1],"injectorIndex should point to a bloom filter"),f(De[pt+2],"injectorIndex should point to a bloom filter"),f(De[pt+3],"injectorIndex should point to a bloom filter"),f(De[pt+4],"injectorIndex should point to a bloom filter"),f(De[pt+5],"injectorIndex should point to a bloom filter"),f(De[pt+6],"injectorIndex should point to a bloom filter"),f(De[pt+7],"injectorIndex should point to a bloom filter"),f(De[pt+8],"injectorIndex should point to parent injector")}const cr="svg",us="math";function so(De){for(;Array.isArray(De);)De=De[Lt];return De}function Wl(De){for(;Array.isArray(De);){if("object"==typeof De[Wt])return De;De=De[Lt]}return null}function Dl(De,pt){return so(pt[De])}function qo(De,pt){return so(pt[De.index])}function Al(De,pt){const Yt=null===De?-1:De.index;return-1!==Yt?so(pt[Yt]):null}function Ll(De,pt){return De.data[pt]}function Rr(De,pt){return De[pt]}function hl(De,pt,Yt,Pi){Yt>=De.data.length&&(De.data[Yt]=null,De.blueprint[Yt]=null),pt[Yt]=Pi}function fl(De,pt){const Yt=pt[De];return Je(Yt)?Yt:Yt[Lt]}function oo(De){return!(4&~De[wt])}function No(De){return!(128&~De[wt])}function Il(De){return st(De[ii])}function xs(De,pt){return null==pt?null:De[pt]}function js(De){De[za]=0}function wn(De){1024&De[wt]||(De[wt]|=1024,No(De)&&el(De))}function Ws(De,pt){for(;De>0;)pt=pt[tr],De--;return pt}function Bo(De){return!!(9216&De[wt]||De[ds]?.dirty)}function Xl(De){De[Jn].changeDetectionScheduler?.notify(8),64&De[wt]&&(De[wt]|=1024),Bo(De)&&el(De)}function el(De){De[Jn].changeDetectionScheduler?.notify(0);let pt=Co(De);for(;null!==pt&&!(8192&pt[wt])&&(pt[wt]|=8192,No(pt));)pt=Co(pt)}function ml(De,pt){if(Rs(De))throw new U(911,!1);null===De[Ka]&&(De[Ka]=[]),De[Ka].push(pt)}function pl(De,pt){if(null===De[Ka])return;const Yt=De[Ka].indexOf(pt);-1!==Yt&&De[Ka].splice(Yt,1)}function Co(De){const pt=De[ii];return st(pt)?pt[ii]:pt}function gl(De){return De[yn]??=[]}function hs(De){return De.cleanup??=[]}function Xs(De,pt,Yt,Pi){const rn=gl(pt);rn.push(Yt),De.firstCreatePass&&hs(De).push(Pi,rn.length-1)}const ta={lFrame:nl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var zo=function(De){return De[De.Off=0]="Off",De[De.Exhaustive=1]="Exhaustive",De[De.OnlyDirtyViews=2]="OnlyDirtyViews",De}(zo||{});let Uo=0,Ks=!1;function lo(){return ta.lFrame.elementDepthCount}function Ys(){ta.lFrame.elementDepthCount++}function _l(){ta.lFrame.elementDepthCount--}function Vo(){return ta.bindingsEnabled}function vl(){return null!==ta.skipHydrationRootTNode}function Ho(De){return ta.skipHydrationRootTNode===De}function zr(){ta.bindingsEnabled=!0}function yl(){ta.bindingsEnabled=!1}function jc(){ta.skipHydrationRootTNode=null}function we(){return ta.lFrame.lView}function je(){return ta.lFrame.tView}function Re(De){return ta.lFrame.contextLView=De,De[Pn]}function We(De){return ta.lFrame.contextLView=null,De}function _t(){let De=Ut();for(;null!==De&&64===De.type;)De=De.parent;return De}function Ut(){return ta.lFrame.currentTNode}function ri(){const De=ta.lFrame,pt=De.currentTNode;return De.isParent?pt:pt.parent}function Di(De,pt){const Yt=ta.lFrame;Yt.currentTNode=De,Yt.isParent=pt}function Zi(){return ta.lFrame.isParent}function On(){ta.lFrame.isParent=!1}function Ma(){return ta.lFrame.contextLView}function yr(){return Be("Must never be called in production mode"),Uo!==zo.Off}function Ur(){return Be("Must never be called in production mode"),Uo===zo.Exhaustive}function co(De){Be("Must never be called in production mode"),Uo=De}function ts(){return Ks}function Qs(De){const pt=Ks;return Ks=De,pt}function Ns(){const De=ta.lFrame;let pt=De.bindingRootIndex;return-1===pt&&(pt=De.bindingRootIndex=De.tView.bindingStartIndex),pt}function uo(){return ta.lFrame.bindingIndex}function bl(De){return ta.lFrame.bindingIndex=De}function fs(){return ta.lFrame.bindingIndex++}function $d(De){const pt=ta.lFrame,Yt=pt.bindingIndex;return pt.bindingIndex=pt.bindingIndex+De,Yt}function kl(){return ta.lFrame.inI18n}function $s(De){ta.lFrame.inI18n=De}function Zd(De,pt){const Yt=ta.lFrame;Yt.bindingIndex=Yt.bindingRootIndex=De,Go(pt)}function Kl(){return ta.lFrame.currentDirectiveIndex}function Go(De){ta.lFrame.currentDirectiveIndex=De}function xl(De){const pt=ta.lFrame.currentDirectiveIndex;return-1===pt?null:De[pt]}function Bs(){return ta.lFrame.currentQueryIndex}function Mo(De){ta.lFrame.currentQueryIndex=De}function tl(De){const pt=De[rt];return 2===pt.type?pt.declTNode:1===pt.type?De[Ui]:null}function Eo(De,pt,Yt){if(4&Yt){let rn=pt,In=De;for(;!(rn=rn.parent,null!==rn||1&Yt||(rn=tl(In),null===rn||(In=In[tr],10&rn.type))););if(null===rn)return!1;pt=rn,De=In}const Pi=ta.lFrame=il();return Pi.currentTNode=pt,Pi.lView=De,!0}function jo(De){const pt=il(),Yt=De[rt];ta.lFrame=pt,pt.currentTNode=Yt.firstChild,pt.lView=De,pt.tView=Yt,pt.contextLView=De,pt.bindingIndex=Yt.bindingStartIndex,pt.inI18n=!1}function il(){const De=ta.lFrame,pt=null===De?null:De.child;return null===pt?nl(De):pt}function nl(De){const pt={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:De,child:null,inI18n:!1};return null!==De&&(De.child=pt),pt}function Cl(){const De=ta.lFrame;return ta.lFrame=De.parent,De.currentTNode=null,De.lView=null,De}const ho=Cl;function al(){const De=Cl();De.isParent=!0,De.tView=null,De.selectedIndex=-1,De.contextLView=null,De.elementDepthCount=0,De.currentDirectiveIndex=-1,De.currentNamespace=null,De.bindingRootIndex=-1,De.bindingIndex=-1,De.currentQueryIndex=0}function wo(De){return(ta.lFrame.contextLView=Ws(De,ta.lFrame.contextLView))[Pn]}function Vr(){return ta.lFrame.selectedIndex}function Zr(De){ta.lFrame.selectedIndex=De}function hc(){const De=ta.lFrame;return Ll(De.tView,De.selectedIndex)}function fc(){ta.lFrame.currentNamespace=cr}function Ml(){ta.lFrame.currentNamespace=us}function zs(){!function El(){ta.lFrame.currentNamespace=null}()}function So(){return ta.lFrame.currentNamespace}let hn=!0;function Rl(){return hn}function dd(De){hn=De}function mc(De,pt=null,Yt=null,Pi){const rn=To(De,pt,Yt,Pi);return rn.resolveInjectorInitializers(),rn}function To(De,pt=null,Yt=null,Pi,rn=new Set){const In=[Yt||kn,gi(De)];return Pi=Pi||("object"==typeof De?void 0:oe(De)),new Fa(In,pt||ja(),Pi||null,rn)}class Ol{static THROW_IF_NOT_FOUND=Fe;static NULL=new qn;static create(pt,Yt){if(Array.isArray(pt))return mc({name:""},Yt,pt,"");{const Pi=pt.name??"";return mc({name:Pi},pt.parent,pt.providers,Pi)}}static \u0275prov=ve({token:Ol,providedIn:"any",factory:()=>jt(an)});static __NG_ELEMENT_ID__=-1}const pc=new ct("");let Pl=(()=>class De{static __NG_ELEMENT_ID__=Ql;static __NG_ENV_ID__=Yt=>Yt})();class Yl extends Pl{_lView;constructor(pt){super(),this._lView=pt}get destroyed(){return Rs(this._lView)}onDestroy(pt){const Yt=this._lView;return ml(Yt,pt),()=>pl(Yt,pt)}}function Ql(){return new Yl(we())}class Fl{_console=console;handleError(pt){this._console.error("ERROR",pt)}}const Zs=new ct("",{providedIn:"root",factory:()=>{const De=pi(Wa);let pt;return Yt=>{De.destroyed&&!pt?setTimeout(()=>{throw Yt}):(pt??=De.get(Fl),pt.handleError(Yt))}}}),wl={provide:ca,useValue:()=>{pi(Fl)},multi:!0};function rl(De){return"function"==typeof De&&void 0!==De[g.bh]}function Ja(De,pt){const[Yt,Pi,rn]=(0,g.n5)(De,pt?.equal),In=Yt;return In.set=Pi,In.update=rn,In.asReadonly=Mn.bind(In),In}function Mn(){const De=this[g.bh];if(void 0===De.readonlyFn){const pt=()=>this();pt[g.bh]=De,De.readonlyFn=pt}return De.readonlyFn}function Va(De){return rl(De)&&"function"==typeof De.set}function Tr(De,pt){if(null!==(0,g.nR)())throw new U(-602,!1)}let Ea=(()=>class De{view;node;constructor(Yt,Pi){this.view=Yt,this.node=Pi}static __NG_ELEMENT_ID__=bn})();function bn(){return new Ea(we(),_t())}class Dr{}const $l=new ct("",{providedIn:"root",factory:()=>!1}),_c=new ct("",{providedIn:"root",factory:()=>!1}),Do=new ct(""),is=new ct("");let Nn=(()=>{class De{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new d.t(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new w.c(Yt=>{Yt.next(!1),Yt.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const Yt=this.taskId++;return this.pendingTasks.add(Yt),Yt}has(Yt){return this.pendingTasks.has(Yt)}remove(Yt){this.pendingTasks.delete(Yt),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=ve({token:De,providedIn:"root",factory:()=>new De})}return De})(),ir=(()=>{class De{internalPendingTasks=pi(Nn);scheduler=pi(Dr);errorHandler=pi(Zs);add(){const Yt=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(Yt)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(Yt))}}run(Yt){const Pi=this.add();Yt().catch(this.errorHandler).finally(Pi)}static \u0275prov=ve({token:De,providedIn:"root",factory:()=>new De})}return De})();function cn(...De){}let Hr=(()=>{class De{static \u0275prov=ve({token:De,providedIn:"root",factory:()=>new ra})}return De})();class ra{dirtyEffectCount=0;queues=new Map;add(pt){this.enqueue(pt),this.schedule(pt)}schedule(pt){pt.dirty&&this.dirtyEffectCount++}remove(pt){const Pi=this.queues.get(pt.zone);Pi.has(pt)&&(Pi.delete(pt),pt.dirty&&this.dirtyEffectCount--)}enqueue(pt){const Yt=pt.zone;this.queues.has(Yt)||this.queues.set(Yt,new Set);const Pi=this.queues.get(Yt);Pi.has(pt)||Pi.add(pt)}flush(){for(;this.dirtyEffectCount>0;){let pt=!1;for(const[Yt,Pi]of this.queues)pt||=null===Yt?this.flushQueue(Pi):Yt.run(()=>this.flushQueue(Pi));pt||(this.dirtyEffectCount=0)}}flushQueue(pt){let Yt=!1;for(const Pi of pt)Pi.dirty&&(this.dirtyEffectCount--,Yt=!0,Pi.run());return Yt}}},2655:(Ae,ee,l)=>{var i=l(83838),t=i.Buffer;function p(c,e){for(var T in c)e[T]=c[T]}function S(c,e,T){return t(c,e,T)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Ae.exports=i:(p(i,ee),ee.Buffer=S),p(t,S),S.from=function(c,e,T){if("number"==typeof c)throw new TypeError("Argument must not be a number");return t(c,e,T)},S.alloc=function(c,e,T){if("number"!=typeof c)throw new TypeError("Argument must be a number");var g=t(c);return void 0!==e?"string"==typeof T?g.fill(e,T):g.fill(e):g.fill(0),g},S.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return t(c)},S.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return i.SlowBuffer(c)}},2709:(Ae,ee,l)=>{"use strict";l.d(ee,{e:()=>p});var i=l(2615);let p=(()=>{class S{isErrorState(e,T){return!!(e&&e.invalid&&(e.touched||T&&T.submitted))}static \u0275fac=function(T){return new(T||S)};static \u0275prov=i.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},2909:(Ae,ee,l)=>{"use strict";Ae.exports=S;var i=l(74075),t=Object.create(l(27637));function p(T,g){var d=this._transformState;d.transforming=!1;var w=d.writecb;if(!w)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,null!=g&&this.push(g),w(T);var m=this._readableState;m.reading=!1,(m.needReadable||m.length<m.highWaterMark)&&this._read(m.highWaterMark)}function S(T){if(!(this instanceof S))return new S(T);i.call(this,T),this._transformState={afterTransform:p.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,T&&("function"==typeof T.transform&&(this._transform=T.transform),"function"==typeof T.flush&&(this._flush=T.flush)),this.on("prefinish",c)}function c(){var T=this;"function"==typeof this._flush?this._flush(function(g,d){e(T,g,d)}):e(this,null,null)}function e(T,g,d){if(g)return T.emit("error",g);if(null!=d&&T.push(d),T._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(T._transformState.transforming)throw new Error("Calling transform done when still transforming");return T.push(null)}t.inherits=l(71993),t.inherits(S,i),S.prototype.push=function(T,g){return this._transformState.needTransform=!1,i.prototype.push.call(this,T,g)},S.prototype._transform=function(T,g,d){throw new Error("_transform() is not implemented")},S.prototype._write=function(T,g,d){var w=this._transformState;if(w.writecb=d,w.writechunk=T,w.writeencoding=g,!w.transforming){var m=this._readableState;(w.needTransform||m.needReadable||m.length<m.highWaterMark)&&this._read(m.highWaterMark)}},S.prototype._read=function(T){var g=this._transformState;null!==g.writechunk&&g.writecb&&!g.transforming?(g.transforming=!0,this._transform(g.writechunk,g.writeencoding,g.afterTransform)):g.needTransform=!0},S.prototype._destroy=function(T,g){var d=this;i.prototype._destroy.call(this,T,function(w){g(w),d.emit("close")})}},3121:(Ae,ee,l)=>{"use strict";var i=l(71993),t=l(70463),p=l(27054).Buffer,S=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],c=new Array(160);function e(){this.init(),this._w=c,t.call(this,128,112)}function T(K,q,G){return G^K&(q^G)}function g(K,q,G){return K&q|G&(K|q)}function d(K,q){return(K>>>28|q<<4)^(q>>>2|K<<30)^(q>>>7|K<<25)}function w(K,q){return(K>>>14|q<<18)^(K>>>18|q<<14)^(q>>>9|K<<23)}function m(K,q){return(K>>>1|q<<31)^(K>>>8|q<<24)^K>>>7}function P(K,q){return(K>>>1|q<<31)^(K>>>8|q<<24)^(K>>>7|q<<25)}function M(K,q){return(K>>>19|q<<13)^(q>>>29|K<<3)^K>>>6}function j(K,q){return(K>>>19|q<<13)^(q>>>29|K<<3)^(K>>>6|q<<26)}function U(K,q){return K>>>0<q>>>0?1:0}i(e,t),e.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},e.prototype._update=function(K){for(var q=this._w,G=0|this._ah,Q=0|this._bh,$=0|this._ch,ae=0|this._dh,ue=0|this._eh,oe=0|this._fh,he=0|this._gh,me=0|this._hh,Te=0|this._al,D=0|this._bl,n=0|this._cl,o=0|this._dl,f=0|this._el,h=0|this._fl,b=0|this._gl,A=0|this._hl,k=0;k<32;k+=2)q[k]=K.readInt32BE(4*k),q[k+1]=K.readInt32BE(4*k+4);for(;k<160;k+=2){var x=q[k-30],r=q[k-30+1],_=m(x,r),W=P(r,x),I=M(x=q[k-4],r=q[k-4+1]),B=j(r,x),be=q[k-32],Be=q[k-32+1],_e=W+q[k-14+1]|0,ye=_+q[k-14]+U(_e,W)|0;ye=(ye=ye+I+U(_e=_e+B|0,B)|0)+be+U(_e=_e+Be|0,Be)|0,q[k]=ye,q[k+1]=_e}for(var Le=0;Le<160;Le+=2){ye=q[Le],_e=q[Le+1];var Ke=g(G,Q,$),ge=g(Te,D,n),ve=d(G,Te),Oe=d(Te,G),Ee=w(ue,f),dt=w(f,ue),nt=S[Le],Ct=S[Le+1],Mt=T(ue,oe,he),lt=T(f,h,b),Pe=A+dt|0,Ht=me+Ee+U(Pe,A)|0;Ht=(Ht=(Ht=Ht+Mt+U(Pe=Pe+lt|0,lt)|0)+nt+U(Pe=Pe+Ct|0,Ct)|0)+ye+U(Pe=Pe+_e|0,_e)|0;var ct=Oe+ge|0,Ce=ve+Ke+U(ct,Oe)|0;me=he,A=b,he=oe,b=h,oe=ue,h=f,ue=ae+Ht+U(f=o+Pe|0,o)|0,ae=$,o=n,$=Q,n=D,Q=G,D=Te,G=Ht+Ce+U(Te=Pe+ct|0,Pe)|0}this._al=this._al+Te|0,this._bl=this._bl+D|0,this._cl=this._cl+n|0,this._dl=this._dl+o|0,this._el=this._el+f|0,this._fl=this._fl+h|0,this._gl=this._gl+b|0,this._hl=this._hl+A|0,this._ah=this._ah+G+U(this._al,Te)|0,this._bh=this._bh+Q+U(this._bl,D)|0,this._ch=this._ch+$+U(this._cl,n)|0,this._dh=this._dh+ae+U(this._dl,o)|0,this._eh=this._eh+ue+U(this._el,f)|0,this._fh=this._fh+oe+U(this._fl,h)|0,this._gh=this._gh+he+U(this._gl,b)|0,this._hh=this._hh+me+U(this._hl,A)|0},e.prototype._hash=function(){var K=p.allocUnsafe(64);function q(G,Q,$){K.writeInt32BE(G,$),K.writeInt32BE(Q,$+4)}return q(this._ah,this._al,0),q(this._bh,this._bl,8),q(this._ch,this._cl,16),q(this._dh,this._dl,24),q(this._eh,this._el,32),q(this._fh,this._fl,40),q(this._gh,this._gl,48),q(this._hh,this._hl,56),K},Ae.exports=e},3136:(Ae,ee,l)=>{"use strict";var i=ee,t=l(88723),p=l(39210),S=l(21832);i.assert=p,i.toArray=S.toArray,i.zero2=S.zero2,i.toHex=S.toHex,i.encode=S.encode,i.getNAF=function c(w,m,P){var j,M=new Array(Math.max(w.bitLength(),P)+1);for(j=0;j<M.length;j+=1)M[j]=0;var U=1<<m+1,K=w.clone();for(j=0;j<M.length;j++){var q,G=K.andln(U-1);K.isOdd()?K.isubn(q=G>(U>>1)-1?(U>>1)-G:G):q=0,M[j]=q,K.iushrn(1)}return M},i.getJSF=function e(w,m){var P=[[],[]];w=w.clone(),m=m.clone();for(var U,M=0,j=0;w.cmpn(-M)>0||m.cmpn(-j)>0;){var G,Q,K=w.andln(3)+M&3,q=m.andln(3)+j&3;3===K&&(K=-1),3===q&&(q=-1),G=1&K?3!=(U=w.andln(7)+M&7)&&5!==U||2!==q?K:-K:0,P[0].push(G),Q=1&q?3!=(U=m.andln(7)+j&7)&&5!==U||2!==K?q:-q:0,P[1].push(Q),2*M===G+1&&(M=1-M),2*j===Q+1&&(j=1-j),w.iushrn(1),m.iushrn(1)}return P},i.cachedProperty=function T(w,m,P){var M="_"+m;w.prototype[m]=function(){return void 0!==this[M]?this[M]:this[M]=P.call(this)}},i.parseBytes=function g(w){return"string"==typeof w?i.toArray(w,"hex"):w},i.intFromLE=function d(w){return new t(w,"hex","le")}},3219:Ae=>{"use strict";Ae.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"}}')},3247:(Ae,ee,l)=>{"use strict";var i=l(27054).Buffer,t=l(7045).Transform,p=l(78454).I,S=l(71993),c=l(41090);function e(T){t.call(this),this.hashMode="string"==typeof T,this.hashMode?this[T]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}S(e,t),e.prototype.update=function(T,g,d){var w=c(T,g),m=this._update(w);return this.hashMode?this:(d&&(m=this._toString(m,d)),m)},e.prototype.setAutoPadding=function(){},e.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},e.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},e.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},e.prototype._transform=function(T,g,d){var w;try{this.hashMode?this._update(T):this.push(this._update(T))}catch(m){w=m}finally{d(w)}},e.prototype._flush=function(T){var g;try{this.push(this.__final())}catch(d){g=d}T(g)},e.prototype._finalOrDigest=function(T){var g=this.__final()||i.alloc(0);return T&&(g=this._toString(g,T,!0)),g},e.prototype._toString=function(T,g,d){if(this._decoder||(this._decoder=new p(g),this._encoding=g),this._encoding!==g)throw new Error("can\u2019t switch encodings");var w=this._decoder.write(T);return d&&(w+=this._decoder.end()),w},Ae.exports=e},3342:(Ae,ee,l)=>{"use strict";var i=65536,S=l(27054).Buffer,c=global.crypto||global.msCrypto;Ae.exports=c&&c.getRandomValues?function e(T,g){if(T>4294967295)throw new RangeError("requested too many random bytes");var d=S.allocUnsafe(T);if(T>0)if(T>i)for(var w=0;w<T;w+=i)c.getRandomValues(d.slice(w,w+i));else c.getRandomValues(d);return"function"==typeof g?process.nextTick(function(){g(null,d)}):d}:function p(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},3361:(Ae,ee)=>{ee.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function i(t,p,S){switch(t){case ee.Patterns.PATTERN000:return(p+S)%2==0;case ee.Patterns.PATTERN001:return p%2==0;case ee.Patterns.PATTERN010:return S%3==0;case ee.Patterns.PATTERN011:return(p+S)%3==0;case ee.Patterns.PATTERN100:return(Math.floor(p/2)+Math.floor(S/3))%2==0;case ee.Patterns.PATTERN101:return p*S%2+p*S%3==0;case ee.Patterns.PATTERN110:return(p*S%2+p*S%3)%2==0;case ee.Patterns.PATTERN111:return(p*S%3+(p+S)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}}ee.isValid=function(p){return null!=p&&""!==p&&!isNaN(p)&&p>=0&&p<=7},ee.from=function(p){return ee.isValid(p)?parseInt(p,10):void 0},ee.getPenaltyN1=function(p){const S=p.size;let c=0,e=0,T=0,g=null,d=null;for(let w=0;w<S;w++){e=T=0,g=d=null;for(let m=0;m<S;m++){let P=p.get(w,m);P===g?e++:(e>=5&&(c+=e-5+3),g=P,e=1),P=p.get(m,w),P===d?T++:(T>=5&&(c+=T-5+3),d=P,T=1)}e>=5&&(c+=e-5+3),T>=5&&(c+=T-5+3)}return c},ee.getPenaltyN2=function(p){const S=p.size;let c=0;for(let e=0;e<S-1;e++)for(let T=0;T<S-1;T++){const g=p.get(e,T)+p.get(e,T+1)+p.get(e+1,T)+p.get(e+1,T+1);(4===g||0===g)&&c++}return 3*c},ee.getPenaltyN3=function(p){const S=p.size;let c=0,e=0,T=0;for(let g=0;g<S;g++){e=T=0;for(let d=0;d<S;d++)e=e<<1&2047|p.get(g,d),d>=10&&(1488===e||93===e)&&c++,T=T<<1&2047|p.get(d,g),d>=10&&(1488===T||93===T)&&c++}return 40*c},ee.getPenaltyN4=function(p){let S=0;const c=p.data.length;for(let T=0;T<c;T++)S+=p.data[T];return 10*Math.abs(Math.ceil(100*S/c/5)-10)},ee.applyMask=function(p,S){const c=S.size;for(let e=0;e<c;e++)for(let T=0;T<c;T++)S.isReserved(T,e)||S.xor(T,e,i(p,T,e))},ee.getBestMask=function(p,S){const c=Object.keys(ee.Patterns).length;let e=0,T=1/0;for(let g=0;g<c;g++){S(g),ee.applyMask(g,p);const d=ee.getPenaltyN1(p)+ee.getPenaltyN2(p)+ee.getPenaltyN3(p)+ee.getPenaltyN4(p);ee.applyMask(g,p),d<T&&(T=d,e=g)}return e}},3383:Ae=>{"use strict";Ae.exports=Math.floor},3398:Ae=>{function l(i){try{if(!global.localStorage)return!1}catch{return!1}var t=global.localStorage[i];return null!=t&&"true"===String(t).toLowerCase()}Ae.exports=function ee(i,t){if(l("noDeprecation"))return i;var p=!1;return function S(){if(!p){if(l("throwDeprecation"))throw new Error(t);l("traceDeprecation")?console.trace(t):console.warn(t),p=!0}return i.apply(this,arguments)}}},3494:(Ae,ee,l)=>{"use strict";l.d(ee,{s:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},3902:(Ae,ee,l)=>{"use strict";l.d(ee,{Fg:()=>le,YE:()=>J,jt:()=>Z});var i=l(14085),t=l(67847),p=l(2615),S=l(73664),e=(l(17705),l(39842)),g=(l(44522),l(88968)),w=(l(21413),l(18359)),m=l(57786),P=l(12496),M=l(31804),j=l(32046),K=(l(72200),l(72318)),q=l(71997),he=(l(64123),l(83869),l(10438),l(67336),l(89417),l(56977),l(70483)),me=l(22466),Te=l(26881);const D=["*"],o=["unscopedContent"],f=["text"],h=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],b=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],ve=new p.nKC("ListOption");let Oe=(()=>{class te{_elementRef=(0,p.WQX)(S.aKT);constructor(){}static \u0275fac=function(ke){return new(ke||te)};static \u0275dir=S.FsC({type:te,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return te})(),Ee=(()=>{class te{_elementRef=(0,p.WQX)(S.aKT);constructor(){}static \u0275fac=function(ke){return new(ke||te)};static \u0275dir=S.FsC({type:te,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return te})(),dt=(()=>{class te{static \u0275fac=function(ke){return new(ke||te)};static \u0275dir=S.FsC({type:te,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return te})(),nt=(()=>{class te{_listOption=(0,p.WQX)(ve,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static \u0275fac=function(ke){return new(ke||te)};static \u0275dir=S.FsC({type:te,hostVars:4,hostBindings:function(ke,Ue){2&ke&&S.AVh("mdc-list-item__start",Ue._isAlignedAtStart())("mdc-list-item__end",!Ue._isAlignedAtStart())}})}return te})(),Ct=(()=>{class te extends nt{static \u0275fac=(()=>{let se;return function(Ue){return(se||(se=S.xGo(te)))(Ue||te)}})();static \u0275dir=S.FsC({type:te,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[S.Vt3]})}return te})(),Mt=(()=>{class te extends nt{static \u0275fac=(()=>{let se;return function(Ue){return(se||(se=S.xGo(te)))(Ue||te)}})();static \u0275dir=S.FsC({type:te,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[S.Vt3]})}return te})();const lt=new p.nKC("MAT_LIST_CONFIG");let Pe=(()=>{class te{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(se){this._disableRipple=(0,i.he)(se)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(se){this._disabled.set((0,i.he)(se))}_disabled=(0,p.vPA)(!1);_defaultOptions=(0,p.WQX)(lt,{optional:!0});static \u0275fac=function(ke){return new(ke||te)};static \u0275dir=S.FsC({type:te,hostVars:1,hostBindings:function(ke,Ue){2&ke&&S.BMQ("aria-disabled",Ue.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return te})(),Ht=(()=>{class te{_elementRef=(0,p.WQX)(S.aKT);_ngZone=(0,p.WQX)(S.SKi);_listBase=(0,p.WQX)(Pe,{optional:!0});_platform=(0,p.WQX)(e.O);_hostElement;_isButtonElement;_noopAnimations=(0,M.Rc)();_avatars;_icons;set lines(se){this._explicitLines=(0,t.OE)(se,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(se){this._disableRipple=(0,i.he)(se)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(se){this._disabled.set((0,i.he)(se))}_disabled=(0,p.vPA)(!1);_subscriptions=new w.yU;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){(0,p.WQX)(g.l).load(j.A);const se=(0,p.WQX)(P.$E,{optional:!0});this.rippleConfig=se||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._listBase&&!this._listBase._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 P.ug(this,this._ngZone,this._hostElement,this._platform,(0,p.WQX)(p.zZn)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,m.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(se){if(!this._lines||!this._titles||!this._unscopedContent)return;se&&this._checkDomForUnscopedTextContent();const ke=this._explicitLines??this._inferLinesFromContent(),Ue=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",ke<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",ke<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===ke),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===ke),this._hasUnscopedTextContent){const Ne=0===this._titles.length&&1===ke;Ue.classList.toggle("mdc-list-item__primary-text",Ne),Ue.classList.toggle("mdc-list-item__secondary-text",!Ne)}else Ue.classList.remove("mdc-list-item__primary-text"),Ue.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let se=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(se+=1),se}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(se=>se.nodeType!==se.COMMENT_NODE).some(se=>!(!se.textContent||!se.textContent.trim()))}static \u0275fac=function(ke){return new(ke||te)};static \u0275dir=S.FsC({type:te,contentQueries:function(ke,Ue,Ne){if(1&ke&&(S.wni(Ne,Ct,4),S.wni(Ne,Mt,4)),2&ke){let Kt;S.mGM(Kt=S.lsd())&&(Ue._avatars=Kt),S.mGM(Kt=S.lsd())&&(Ue._icons=Kt)}},hostVars:4,hostBindings:function(ke,Ue){2&ke&&(S.BMQ("aria-disabled",Ue.disabled)("disabled",Ue._isButtonElement&&Ue.disabled||null),S.AVh("mdc-list-item--disabled",Ue.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return te})(),Z=(()=>{class te extends Pe{static \u0275fac=(()=>{let se;return function(Ue){return(se||(se=S.xGo(te)))(Ue||te)}})();static \u0275cmp=S.VBU({type:te,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[S.Jv_([{provide:Pe,useExisting:te}]),S.Vt3],ngContentSelectors:D,decls:1,vars:0,template:function(ke,Ue){1&ke&&(S.NAR(),S.SdG(0))},styles:['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mat-list-list-item-container-color, transparent);border-radius:var(--mat-list-list-item-container-shape, var(--mat-sys-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mat-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mat-list-list-item-one-line-container-height, 48px)}.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-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mat-list-list-item-two-line-container-height, 64px)}.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-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mat-list-list-item-three-line-container-height, 88px)}.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-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;content:"";pointer-events:none}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-leading-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-leading-icon-size, 24px);height:var(--mat-list-list-item-leading-icon-size, 24px);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mat-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mat-list-list-item-leading-avatar-size, 40px);height:var(--mat-list-list-item-leading-avatar-size, 40px);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mat-list-list-item-trailing-supporting-text-font, var(--mat-sys-label-small-font));line-height:var(--mat-list-list-item-trailing-supporting-text-line-height, var(--mat-sys-label-small-line-height));font-size:var(--mat-list-list-item-trailing-supporting-text-size, var(--mat-sys-label-small-size));font-weight:var(--mat-list-list-item-trailing-supporting-text-weight, var(--mat-sys-label-small-weight));letter-spacing:var(--mat-list-list-item-trailing-supporting-text-tracking, var(--mat-sys-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-trailing-icon-color, var(--mat-sys-on-surface-variant));width:var(--mat-list-list-item-trailing-icon-size, 24px);height:var(--mat-list-list-item-trailing-icon-size, 24px)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mat-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mat-list-list-item-trailing-supporting-text-color, var(--mat-sys-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-selected-trailing-icon-color, var(--mat-sys-primary))}.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__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mat-list-list-item-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-list-list-item-label-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-list-list-item-label-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-list-list-item-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-list-list-item-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-list-list-item-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mat-list-list-item-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mat-list-list-item-focus-label-text-color, var(--mat-sys-on-surface))}.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;color:var(--mat-list-list-item-supporting-text-color, var(--mat-sys-on-surface-variant));font-family:var(--mat-list-list-item-supporting-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-list-list-item-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-list-list-item-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-list-list-item-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-list-list-item-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.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--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.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-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.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-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.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-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.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-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.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-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.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-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.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-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.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-group__subheader{margin:.75rem 16px}.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{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mat-list-list-item-disabled-leading-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-leading-icon-opacity, 0.38)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mat-list-list-item-disabled-trailing-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-trailing-icon-opacity, 0.38)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mat-list-list-item-disabled-label-text-color, var(--mat-sys-on-surface))}.mdc-list-item:hover::before{background-color:var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mat-list-list-item-disabled-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-disabled-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mat-list-list-item-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-list-list-item-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mat-list-list-item-disabled-label-text-opacity, 0.3)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mat-list-list-item-leading-avatar-shape, var(--mat-sys-corner-full));background-color:var(--mat-list-list-item-leading-avatar-color, var(--mat-sys-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mat-list-list-item-leading-icon-size, 24px)}@media(forced-colors: 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}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;border-radius:inherit}.mat-mdc-list-item>.mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-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, 16px);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space, 16px)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full));--mat-focus-indicator-border-radius: var(--mat-list-active-indicator-shape, var(--mat-sys-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-sys-secondary-container))}\n'],encapsulation:2,changeDetection:0})}return te})(),J=(()=>{class te extends Ht{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(se){this._activated=(0,i.he)(se)}_activated=!1;_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return 0!==this._meta.length&&(0!==this._avatars.length||0!==this._icons.length)}static \u0275fac=(()=>{let se;return function(Ue){return(se||(se=S.xGo(te)))(Ue||te)}})();static \u0275cmp=S.VBU({type:te,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(ke,Ue,Ne){if(1&ke&&(S.wni(Ne,Ee,5),S.wni(Ne,Oe,5),S.wni(Ne,dt,5)),2&ke){let Kt;S.mGM(Kt=S.lsd())&&(Ue._lines=Kt),S.mGM(Kt=S.lsd())&&(Ue._titles=Kt),S.mGM(Kt=S.lsd())&&(Ue._meta=Kt)}},viewQuery:function(ke,Ue){if(1&ke&&(S.GBs(o,5),S.GBs(f,5)),2&ke){let Ne;S.mGM(Ne=S.lsd())&&(Ue._unscopedContent=Ne.first),S.mGM(Ne=S.lsd())&&(Ue._itemText=Ne.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(ke,Ue){2&ke&&(S.BMQ("aria-current",Ue._getAriaCurrent()),S.AVh("mdc-list-item--activated",Ue.activated)("mdc-list-item--with-leading-avatar",0!==Ue._avatars.length)("mdc-list-item--with-leading-icon",0!==Ue._icons.length)("mdc-list-item--with-trailing-meta",0!==Ue._meta.length)("mat-mdc-list-item-both-leading-and-trailing",Ue._hasBothLeadingAndTrailing())("_mat-animation-noopable",Ue._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[S.Vt3],ngContentSelectors:b,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-focus-indicator"]],template:function(ke,Ue){if(1&ke){const Ne=S.RV6();S.NAR(h),S.SdG(0),S.j41(1,"span",1),S.SdG(2,1),S.SdG(3,2),S.j41(4,"span",2,0),S.bIt("cdkObserveContent",function(){return p.eBV(Ne),p.Njj(Ue._updateItemLines(!0))}),S.SdG(6,3),S.k0s()(),S.SdG(7,4),S.SdG(8,5),S.nrm(9,"div",3)}},dependencies:[K.Wv],encapsulation:2,changeDetection:0})}return te})(),le=(()=>{class te{static \u0275fac=function(ke){return new(ke||te)};static \u0275mod=S.$C({type:te});static \u0275inj=p.G2t({imports:[K.w5,me.y,Te.p,he.O,q.w]})}return te})()},4104:(Ae,ee,l)=>{"use strict";l.d(ee,{Q:()=>K});var i=l(29330),t=l(21413),p=l(84412),S=l(7673),c=l(18810),e=l(99437),T=l(96354),g=l(56977),d=l(4416),w=l(12462),m=l(11771),P=l(2615),M=l(98570),j=l(59640),U=l(82571);let K=(()=>{var q;class G{constructor($,ae,ue,oe){this.httpClient=$,this.logger=ae,this.store=ue,this.commonService=oe,this.loopUrl="",this.swaps=[],this.swapsChanged=new p.t([]),this.unSubs=[new t.B,new t.B,new t.B,new t.B,new t.B,new t.B,new t.B]}getLoopInfo(){return this.loopUrl=d.H$+d.rl.LOOP_API+"/info",this.httpClient.get(this.loopUrl)}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,m.mt)({payload:d.MZ.GET_LOOP_SWAPS})),this.loopUrl=d.H$+d.rl.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,g.Q)(this.unSubs[0])).subscribe({next:$=>{this.store.dispatch((0,m.y0)({payload:d.MZ.GET_LOOP_SWAPS})),this.swaps=$,this.swapsChanged.next(this.swaps)},error:$=>this.swapsChanged.error(this.handleErrorWithAlert(d.MZ.GET_LOOP_SWAPS,this.loopUrl,$))})}loopOut($,ae,ue,oe,he,me,Te,D,n,o){const f={amount:$,targetConf:ue,swapRoutingFee:oe,minerFee:he,prepayRoutingFee:me,prepayAmt:Te,swapFee:D,swapPublicationDeadline:n,destAddress:o};return""!==ae&&(f.chanId=ae),this.loopUrl=d.H$+d.rl.LOOP_API+"/out",this.httpClient.post(this.loopUrl,f).pipe((0,e.W)(h=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ae,d.MZ.NO_SPINNER,h)))}getLoopOutTerms(){return this.loopUrl=d.H$+d.rl.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,e.W)($=>this.handleErrorWithoutAlert("Loop Out Terms",d.MZ.NO_SPINNER,$)))}getLoopOutQuote($,ae,ue){let oe=new i.Nl;return oe=oe.append("targetConf",ae.toString()),oe=oe.append("swapPublicationDeadline",ue.toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/out/quote/"+$,this.store.dispatch((0,m.mt)({payload:d.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:oe}).pipe((0,g.Q)(this.unSubs[1]),(0,T.T)(he=>(this.store.dispatch((0,m.y0)({payload:d.MZ.GET_QUOTE})),he)),(0,e.W)(he=>this.handleErrorWithoutAlert("Loop Out Quote",d.MZ.GET_QUOTE,he)))}getLoopOutTermsAndQuotes($){let ae=new i.Nl;return ae=ae.append("targetConf",$.toString()),ae=ae.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,m.mt)({payload:d.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ae}).pipe((0,g.Q)(this.unSubs[2]),(0,T.T)(ue=>(this.store.dispatch((0,m.y0)({payload:d.MZ.GET_TERMS_QUOTES})),ue)),(0,e.W)(ue=>(0,S.of)(this.handleErrorWithAlert(d.MZ.GET_TERMS_QUOTES,this.loopUrl,ue))))}loopIn($,ae,ue,oe,he){const me={amount:$,swapFee:ae,minerFee:ue,lastHop:oe,externalHtlc:he};return this.loopUrl=d.H$+d.rl.LOOP_API+"/in",this.httpClient.post(this.loopUrl,me).pipe((0,e.W)(Te=>this.handleErrorWithoutAlert("Loop In",d.MZ.NO_SPINNER,Te)))}getLoopInTerms(){return this.loopUrl=d.H$+d.rl.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,e.W)($=>this.handleErrorWithoutAlert("Loop In Terms",d.MZ.NO_SPINNER,$)))}getLoopInQuote($,ae,ue){let oe=new i.Nl;return oe=oe.append("targetConf",ae.toString()),oe=oe.append("swapPublicationDeadline",ue.toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/in/quote/"+$,this.store.dispatch((0,m.mt)({payload:d.MZ.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:oe}).pipe((0,g.Q)(this.unSubs[3]),(0,T.T)(he=>(this.store.dispatch((0,m.y0)({payload:d.MZ.GET_QUOTE})),he)),(0,e.W)(he=>this.handleErrorWithoutAlert("Loop In Qoute",d.MZ.GET_QUOTE,he)))}getLoopInTermsAndQuotes($){let ae=new i.Nl;return ae=ae.append("targetConf",$.toString()),ae=ae.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.H$+d.rl.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,m.mt)({payload:d.MZ.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ae}).pipe((0,g.Q)(this.unSubs[4]),(0,T.T)(ue=>(this.store.dispatch((0,m.y0)({payload:d.MZ.GET_TERMS_QUOTES})),ue)),(0,e.W)(ue=>(0,S.of)(this.handleErrorWithAlert(d.MZ.GET_TERMS_QUOTES,this.loopUrl,ue))))}getSwap($){return this.loopUrl=d.H$+d.rl.LOOP_API+"/swap/"+$,this.httpClient.get(this.loopUrl).pipe((0,e.W)(ae=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+$,d.MZ.NO_SPINNER,ae)))}handleErrorWithoutAlert($,ae,ue){let oe="";return this.logger.error("ERROR IN: "+$+"\n"+JSON.stringify(ue)),this.store.dispatch((0,m.y0)({payload:ae})),401===ue.status?(oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,m.ri)({payload:oe}))):503===ue.status?(oe="Unable to Connect to Loop Server.",this.store.dispatch((0,m.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ue.status,message:"Unable to Connect to Loop Server",URL:$},component:w.f}}}))):oe=this.commonService.extractErrorMessage(ue),(0,c.$)(()=>new Error(oe))}handleErrorWithAlert($,ae,ue){let oe="";if(this.logger.error(ue),this.store.dispatch((0,m.y0)({payload:$})),401===ue.status)oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,m.ri)({payload:oe}));else if(503===ue.status)oe="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,m.xO)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ue.status,message:"Unable to Connect to Loop Server",URL:ae},component:w.f}}}))},100);else{oe=this.commonService.extractErrorMessage(ue);const he=ue.error&&ue.error.error&&ue.error.error.code?ue.error.error.code:ue.error&&ue.error.code?ue.error.code:ue.code?ue.code:ue.status;setTimeout(()=>{this.store.dispatch((0,m.xO)({payload:{data:{type:d.A$.ERROR,alertTitle:"ERROR",message:{code:he,message:oe,URL:ae},component:w.f}}}))},100)}return{message:oe}}ngOnDestroy(){this.unSubs.forEach($=>{$.next(null),$.complete()})}static#e=q=()=>(this.\u0275fac=function(ae){return new(ae||G)(P.KVO(i.Qq),P.KVO(M.gP),P.KVO(j.il),P.KVO(U.h))},this.\u0275prov=P.jDH({token:G,factory:G.\u0275fac}))}return q(),G})()},4125:(Ae,ee,l)=>{"use strict";l.d(ee,{Z2:()=>P});var i=l(2615),t=l(73664),p=l(21413),S=l(18359),c=l(74402),e=l(7673),T=l(96697),g=l(59096),d=l(8045);class w{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=U=>!1;_trackByFn=U=>U;_items=[];_typeahead;_typeaheadSubscription=S.yU.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||0===this._items.length)return;let U=0;for(let q=0;q<this._items.length;q++)if(!this._skipPredicateFn(this._items[q])&&!this._isItemDisabled(this._items[q])){U=q;break}const K=this._items[U];K.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=U,this._activeItem=K,this._typeahead?.setCurrentSelectedItemIndex(U),K.makeFocusable()):this.focusItem(U),this._hasInitialFocused=!0}constructor(U,K){U instanceof t.rOR?(this._items=U.toArray(),U.changes.subscribe(q=>{this._items=q.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):(0,c.A)(U)?U.subscribe(q=>{this._items=q,this._typeahead?.setItems(q),this._updateActiveItemIndex(q),this._initializeFocus()}):(this._items=U,this._initializeFocus()),"boolean"==typeof K.shouldActivationFollowFocus&&(this._shouldActivationFollowFocus=K.shouldActivationFollowFocus),K.horizontalOrientation&&(this._horizontalOrientation=K.horizontalOrientation),K.skipPredicate&&(this._skipPredicateFn=K.skipPredicate),K.trackBy&&(this._trackByFn=K.trackBy),typeof K.typeAheadDebounceInterval<"u"&&this._setTypeAhead(K.typeAheadDebounceInterval)}change=new p.B;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(U){switch(U.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":"rtl"===this._horizontalOrientation?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":"rtl"===this._horizontalOrientation?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if("*"===U.key){this._expandAllItemsAtCurrentItemLevel();break}return void this._typeahead?.handleKey(U)}this._typeahead?.reset(),U.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(U,K={}){K.emitChangeEvent??=!0;let q="number"==typeof U?U:this._items.findIndex($=>this._trackByFn($)===this._trackByFn(U));if(q<0||q>=this._items.length)return;const G=this._items[q];if(null!==this._activeItem&&this._trackByFn(G)===this._trackByFn(this._activeItem))return;const Q=this._activeItem;this._activeItem=G??null,this._activeItemIndex=q,this._typeahead?.setCurrentSelectedItemIndex(q),this._activeItem?.focus(),Q?.unfocus(),K.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(U){const K=this._activeItem;if(!K)return;const q=U.findIndex(G=>this._trackByFn(G)===this._trackByFn(K));q>-1&&q!==this._activeItemIndex&&(this._activeItemIndex=q,this._typeahead?.setCurrentSelectedItemIndex(q))}_setTypeAhead(U){this._typeahead=new g.i(this._items,{debounceInterval:"number"==typeof U?U:void 0,skipPredicate:K=>this._skipPredicateFn(K)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(K=>{this.focusItem(K)})}_findNextAvailableItemIndex(U){for(let K=U+1;K<this._items.length;K++)if(!this._skipPredicateFn(this._items[K]))return K;return U}_findPreviousAvailableItemIndex(U){for(let K=U-1;K>=0;K--)if(!this._skipPredicateFn(this._items[K]))return K;return U}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{const U=this._activeItem.getParent();if(!U||this._skipPredicateFn(U))return;this.focusItem(U)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?(0,d.x)(this._activeItem.getChildren()).pipe((0,T.s)(1)).subscribe(U=>{const K=U.find(q=>!this._skipPredicateFn(q));K&&this.focusItem(K)}):this._activeItem.expand())}_isCurrentItemExpanded(){return!!this._activeItem&&("boolean"==typeof this._activeItem.isExpanded?this._activeItem.isExpanded:this._activeItem.isExpanded())}_isItemDisabled(U){return"boolean"==typeof U.isDisabled?U.isDisabled:U.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;const U=this._activeItem.getParent();let K;K=U?(0,d.x)(U.getChildren()):(0,e.of)(this._items.filter(q=>null===q.getParent())),K.pipe((0,T.s)(1)).subscribe(q=>{for(const G of q)G.expand()})}_activateCurrentItem(){this._activeItem?.activate()}}const P=new i.nKC("tree-key-manager",{providedIn:"root",factory:function m(){return(j,U)=>new w(j,U)}})},4377:(Ae,ee,l)=>{var i=l(12727),t=l(23241),p=l(94593),c={binary:!0,hex:!0,base64:!0};ee.DiffieHellmanGroup=ee.createDiffieHellmanGroup=ee.getDiffieHellman=function S(T){var g=new Buffer(t[T].prime,"hex"),d=new Buffer(t[T].gen,"hex");return new p(g,d)},ee.createDiffieHellman=ee.DiffieHellman=function e(T,g,d,w){return Buffer.isBuffer(g)||void 0===c[g]?e(T,"binary",g,d):(g=g||"binary",w=w||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,w)),"number"==typeof T?new p(i(T,d),d,!0):(Buffer.isBuffer(T)||(T=new Buffer(T,g)),new p(T,d,!0)))}},4416:(Ae,ee,l)=>{"use strict";l.d(ee,{A$:()=>Te,A0:()=>m,Ah:()=>Be,BQ:()=>f,Bd:()=>I,Bv:()=>ae,C6:()=>le,C7:()=>W,F7:()=>n,G:()=>$,H$:()=>d,HW:()=>me,Hx:()=>_,It:()=>T,Jd:()=>fe,Jr:()=>oe,KR:()=>re,Ld:()=>q,MZ:()=>ye,NG:()=>e,QP:()=>ve,SY:()=>M,TC:()=>Oe,TH:()=>dt,U1:()=>D,UN:()=>h,Uq:()=>nt,Uu:()=>Ee,WW:()=>Qt,X8:()=>li,XG:()=>G,Y0:()=>Le,ZC:()=>Ie,Zb:()=>r,Zi:()=>kt,Zo:()=>Rt,_1:()=>ht,_U:()=>Ct,aG:()=>k,aR:()=>Ke,aU:()=>ge,bz:()=>c,ck:()=>ue,f7:()=>b,iI:()=>x,jG:()=>Z,k:()=>P,md:()=>U,mu:()=>J,nv:()=>Q,o1:()=>he,oi:()=>ze,on:()=>S,q9:()=>B,rl:()=>w,rs:()=>pe,tj:()=>A,ul:()=>Mt,wn:()=>_e,xk:()=>lt,xp:()=>K,xv:()=>g});var i=l(17705),t=l(96695),p=l(45383);function S(te){const ce=new t.xX;return ce.itemsPerPageLabel=te+" per page:",ce}const c=3600,e=31536e3,T=24*c*7,g="0.15.7-beta",d=(0,i.naY)()?"http://localhost:3000/rtl/api":"./api",w={AUTHENTICATE_API:d+"/authenticate",CONF_API:d+"/conf",PAGE_SETTINGS_API:d+"/pagesettings",BALANCE_API:"/balance",FEES_API:"/fees",PEERS_API:"/peers",CHANNELS_API:"/channels",CHANNELS_BACKUP_API:"/channels/backup",GETINFO_API:"/getinfo",WALLET_API:"/wallet",NETWORK_API:"/network",NEW_ADDRESS_API:"/newaddress",TRANSACTIONS_API:"/transactions",PAYMENTS_API:"/payments",INVOICES_API:"/invoices",SWITCH_API:"/switch",ON_CHAIN_API:"/onchain",MESSAGE_API:"/message",OFFERS_API:"/offers",UTILITY_API:"/utility",LOOP_API:"/loop",BOLTZ_API:"/boltz",Web_SOCKET_API:"/ws"},m=["Sats","BTC"],P={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},M=["SECS","MINS","HOURS","DAYS"],U=10,K=[5,10,25,100],q=[{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"}],G=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],Q=[{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"}],$=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom"}],ae={themes:[{id:"PURPLE",name:"Diogo"},{id:"TEAL",name:"My2Sats"},{id:"INDIGO",name:"RTL"},{id:"PINK",name:"BK"},{id:"YELLOW",name:"Gold"}],modes:[{id:"DAY",name:"Day"},{id:"NIGHT",name:"Night"}]};var ue=function(te){return te.PAYMENT_RECEIVED="payment-received",te.PAYMENT_RELAYED="payment-relayed",te.PAYMENT_SENT="payment-sent",te.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",te.PAYMENT_FAILED="payment-failed",te.CHANNEL_OPENED="channel-opened",te.CHANNEL_STATE_CHANGED="channel-state-changed",te.CHANNEL_CLOSED="channel-closed",te}(ue||{}),oe=function(te){return te.CONNECT="connect",te.DISCONNECT="disconnect",te.WARNING="warning",te.INVOICE_PAYMENT="invoice_payment",te.INVOICE_CREATION="invoice_creation",te.CHANNEL_OPENED="channel_opened",te.CHANNEL_STATE_CHANGED="channel_state_changed",te.SENDPAY_SUCCESS="sendpay_success",te.SENDPAY_FAILURE="sendpay_failure",te.COIN_MOVEMENT="coin_movement",te.BALANCE_SNAPSHOT="balance_snapshot",te.BLOCK_ADDED="block_added",te.OPENCHANNEL_PEER_SIGS="openchannel_peer_sigs",te.CHANNEL_OPEN_FAILED="channel_open_failed",te}(oe||{}),he=function(te){return te.INVOICE="invoice",te}(he||{}),me=function(te){return te.OPERATOR="OPERATOR",te.MERCHANT="MERCHANT",te.ALL="ALL",te}(me||{}),Te=function(te){return te.INFORMATION="Information",te.WARNING="Warning",te.ERROR="Error",te.SUCCESS="Success",te.CONFIRM="Confirm",te}(Te||{}),D=function(te){return te.JWT="JWT",te.PASSWORD="PASSWORD",te}(D||{}),n=function(te){return te.SECS="SECS",te.MINS="MINS",te.HOURS="HOURS",te.DAYS="DAYS",te}(n||{}),f=function(te){return te.SATS="Sats",te.BTC="BTC",te.OTHER="OTHER",te}(f||{}),h=function(te){return te.ARRAY="ARRAY",te.NUMBER="NUMBER",te.STRING="STRING",te.BOOLEAN="BOOLEAN",te.PASSWORD="PASSWORD",te.DATE="DATE",te.DATE_TIME="DATE_TIME",te}(h||{}),b=function(te){return te.XS="XS",te.SM="SM",te.MD="MD",te.LG="LG",te.XL="XL",te}(b||{});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 x=function(te){return te.WIRE_INVALID_ONION_VERSION="Invalid Onion Version",te.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",te.WIRE_INVALID_ONION_KEY="Invalid Onion Key",te.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",te.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",te.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",te.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",te.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",te.WIRE_FEE_INSUFFICIENT="Insufficient Fee",te.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",te.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",te.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",te.WIRE_CHANNEL_DISABLED="Channel Disabled",te.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",te.WIRE_INVALID_REALM="Invalid Realm",te.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",te.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",te.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",te.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",te.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",te.WIRE_MPP_TIMEOUT="MPP Timeout",te.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",te.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",te}(x||{}),r=function(te){return te.CHANNELD_NORMAL="Active",te.OPENINGD="Opening",te.CHANNELD_AWAITING_LOCKIN="Pending Open",te.CHANNELD_SHUTTING_DOWN="Shutting Down",te.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",te.CLOSINGD_COMPLETE="Closed",te.AWAITING_UNILATERAL="Awaiting Unilateral Close",te.FUNDING_SPEND_SEEN="Funding Spend Seen",te.ONCHAIN="Onchain",te.DUALOPEND_OPEN_INIT="Dual Open Initialized",te.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",te}(r||{}),_=function(te){return te.INITIATED="Initiated",te.PREIMAGE_REVEALED="Preimage Revealed",te.HTLC_PUBLISHED="HTLC Published",te.SUCCESS="Successful",te.FAILED="Failed",te.INVOICE_SETTLED="Invoice Settled",te}(_||{}),W=function(te){return te.LOOP_OUT="LOOP_OUT",te.LOOP_IN="LOOP_IN",te}(W||{}),I=function(te){return te.SWAP_OUT="SWAP_OUT",te.SWAP_IN="SWAP_IN",te}(I||{}),B=function(te){return te["swap.created"]="Swap Created",te["swap.expired"]="Swap Expired",te["invoice.set"]="Invoice Set",te["invoice.paid"]="Invoice Paid",te["invoice.pending"]="Invoice Pending",te["invoice.settled"]="Invoice Settled",te["invoice.failedToPay"]="Invoice Failed To Pay",te["channel.created"]="Channel Created",te["transaction.failed"]="Transaction Failed",te["transaction.mempool"]="Transaction Mempool",te["transaction.claimed"]="Transaction Claimed",te["transaction.refunded"]="Transaction Refunded",te["transaction.confirmed"]="Transaction Confirmed",te["transaction.lockupFailed"]="Lockup Transaction Failed",te["swap.refunded"]="Swap Refunded",te["swap.abandoned"]="Swap Abandoned",te}(B||{});const re=[{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}],pe=["MONTHLY","YEARLY"],Be=["password","changeme","moneyprintergobrrr"];var _e=function(te){return te.UN_INITIATED="UN_INITIATED",te.INITIATED="INITIATED",te.COMPLETED="COMPLETED",te.ERROR="ERROR",te}(_e||{});const ye={NO_SPINNER:"No Spinner...",GET_NODE_INFO:"Getting Node Information...",INITALIZE_NODE_DATA:"Initializing Node Data...",GENERATE_NEW_ADDRESS:"Getting New Address...",SEND_FUNDS:"Sending Funds...",UPDATE_CHAN_POLICY:"Updating Channel Policy...",GET_CHAN_POLICY:"Fetching Channel Policy...",GET_REMOTE_POLICY:"Fetching Remote Policy...",CLOSE_CHANNEL:"Closing Channel...",FORCE_CLOSE_CHANNEL:"Force Closing Channel...",OPEN_CHANNEL:"Opening Channel...",CONNECT_PEER:"Connecting Peer...",DISCONNECT_PEER:"Disconnecting Peer...",ADD_INVOICE:"Adding Invoice...",CREATE_INVOICE:"Creating Invoice...",DELETE_INVOICE:"Deleting Invoices...",DECODE_PAYMENT:"Decoding Payment...",DECODE_OFFER:"Decoding Offer...",DECODE_PAYMENTS:"Decoding Payments...",FETCH_INVOICE:"Fetching Invoice...",GET_SENT_PAYMENTS:"Getting Sent Payments...",SEND_PAYMENT:"Sending Payment...",SEND_KEYSEND:"Sending Keysend Payment...",SEARCHING_NODE:"Searching Node...",SEARCHING_CHANNEL:"Searching Channel...",SEARCHING_INVOICE:"Searching Invoice...",SEARCHING_PAYMENT:"Searching Payment...",BACKUP_CHANNEL:"Backup Channels...",VERIFY_CHANNEL:"Verify Channel...",DOWNLOAD_BACKUP_FILE:"Downloading Backup File...",RESTORE_CHANNEL:"Restoring Channels...",GET_TERMS_QUOTES:"Getting Terms and Quotes...",LABEL_UTXO:"Labelling UTXO...",GET_NODE_ADDRESS:"Getting Node Address...",GEN_SEED:"Generating Seed...",INITIALIZE_WALLET:"Initializing Wallet...",UNLOCK_WALLET:"Unlocking Wallet...",WAIT_SYNC_NODE:"Waiting for Node Sync...",UPDATE_BOLTZ_SETTINGS:"Updating Boltz Service Settings...",UPDATE_LOOP_SETTINGS:"Updating Loop Service Settings...",UPDATE_PEERSWAP_SETTINGS:"Updating Peerswap Service Settings...",UPDATE_SETTING:"Updating Setting...",UPDATE_APPLICATION_SETTINGS:"Updating Application Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",GET_BOLTZ_INFO:"Getting Boltz Info...",GET_SERVICE_INFO:"Getting Service Info...",GET_QUOTE:"Getting Quotes...",UPDATE_DEFAULT_NODE_SETTING:"Updating Defaule Node Settings...",GET_BOLTZ_SWAPS:"Getting Boltz Swaps...",SIGN_MESSAGE:"Signing Message...",VERIFY_MESSAGE:"Verifying Message...",BUMP_FEE:"Bumping Fee...",LEASE_UTXO:"Leasing UTXO...",GET_LOOP_INFO:"Getting Loop Info...",GET_LOOP_SWAPS:"Getting List Swaps...",GET_FORWARDING_HISTORY:"Getting Forwarding History...",GET_LOOKUP_DETAILS:"Getting Lookup Details...",GET_RTL_CONFIG:"Getting RTL Config...",VERIFY_TOKEN:"Verify Token...",DISABLE_OFFER:"Disabling Offer...",CREATE_OFFER:"Creating Offer...",DELETE_OFFER_BOOKMARK:"Deleting Bookmark...",GET_FUNDER_POLICY:"Getting Or Updating Funder Policy...",GET_LIST_CONFIGS:"Getting Configurations List...",LIST_NETWORK_NODES:"Getting Network Nodes List...",GET_PAGE_SETTINGS:"Getting Page Settings...",SET_PAGE_SETTINGS:"Setting Page Settings...",UPDATE_PAGE_SETTINGS:"Updating Page Layout...",REBALANCE_CHANNEL:"Rebalancing Channel...",LOG_OUT:"Logging Out..."};var Le=function(te){return te.INVOICE="INVOICE",te.OFFER="OFFER",te.KEYSEND="KEYSEND",te}(Le||{}),Ke=function(te){return te.FEES="FEES",te.EVENTS="EVENTS",te}(Ke||{}),ge=function(te){return te.VOID="VOID",te.SET_API_URL_ECL="SET_API_URL_ECL",te.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",te.RESET_ROOT_STORE="RESET_ROOT_STORE",te.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",te.OPEN_SNACK_BAR="OPEN_SNACKBAR",te.OPEN_SPINNER="OPEN_SPINNER",te.CLOSE_SPINNER="CLOSE_SPINNER",te.OPEN_ALERT="OPEN_ALERT",te.CLOSE_ALERT="CLOSE_ALERT",te.OPEN_CONFIRMATION="OPEN_CONFIRMATION",te.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",te.SHOW_PUBKEY="SHOW_PUBKEY",te.FETCH_CONFIG="FETCH_CONFIG",te.SHOW_CONFIG="SHOW_CONFIG",te.FETCH_STORE="FETCH_STORE",te.SET_STORE="SET_STORE",te.FETCH_APPLICATION_SETTINGS="FETCH_APPLICATION_SETTINGS",te.SET_APPLICATION_SETTINGS="SET_APPLICATION_SETTINGS",te.SAVE_SETTINGS="SAVE_SETTINGS",te.SET_SELECTED_NODE="SET_SELECTED_NODE",te.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",te.UPDATE_APPLICATION_SETTINGS="UPDATE_APPLICATION_SETTINGS",te.UPDATE_NODE_SETTINGS="UPDATE_NODE_SETTINGS",te.SET_SELECTED_NODE_SETTINGS="SET_SELECTED_NODE_SETTINGS",te.SET_NODE_DATA="SET_NODE_DATA",te.IS_AUTHORIZED="IS_AUTHORIZED",te.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",te.LOGIN="LOGIN",te.VERIFY_TWO_FA="VERIFY_TWO_FA",te.LOGOUT="LOGOUT",te.RESET_PASSWORD="RESET_PASSWORD",te.RESET_PASSWORD_RES="RESET_PASSWORD_RES",te.FETCH_FILE="FETCH_FILE",te.SHOW_FILE="SHOW_FILE",te}(ge||{}),ve=function(te){return te.RESET_LND_STORE="RESET_LND_STORE",te.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",te.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",te.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",te.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",te.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",te.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",te.FETCH_INFO_LND="FETCH_INFO_LND",te.SET_INFO_LND="SET_INFO_LND",te.FETCH_PEERS_LND="FETCH_PEERS_LND",te.SET_PEERS_LND="SET_PEERS_LND",te.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",te.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",te.DETACH_PEER_LND="DETACH_PEER_LND",te.REMOVE_PEER_LND="REMOVE_PEER_LND",te.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",te.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",te.ADD_INVOICE_LND="ADD_INVOICE_LND",te.FETCH_FEES_LND="FETCH_FEES_LND",te.SET_FEES_LND="SET_FEES_LND",te.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",te.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",te.FETCH_NETWORK_LND="FETCH_NETWORK_LND",te.SET_NETWORK_LND="SET_NETWORK_LND",te.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",te.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",te.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",te.SET_CHANNELS_LND="SET_CHANNELS_LND",te.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",te.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",te.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",te.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",te.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",te.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",te.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",te.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",te.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",te.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",te.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",te.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",te.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",te.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",te.FETCH_INVOICES_LND="FETCH_INVOICES_LND",te.SET_INVOICES_LND="SET_INVOICES_LND",te.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",te.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",te.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",te.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",te.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",te.FETCH_UTXOS_LND="FETCH_UTXOS_LND",te.SET_UTXOS_LND="SET_UTXOS_LND",te.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",te.SET_PAYMENTS_LND="SET_PAYMENTS_LND",te.SEND_PAYMENT_LND="SEND_PAYMENT_LND",te.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",te.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",te.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",te.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",te.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",te.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",te.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",te.GEN_SEED_LND="GEN_SEED_LND",te.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",te.INIT_WALLET_LND="INIT_WALLET_LND",te.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",te.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",te.PEER_LOOKUP_LND="PEER_LOOKUP_LND",te.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",te.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",te.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",te.SET_LOOKUP_LND="SET_LOOKUP_LND",te.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",te.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",te.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",te.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",te.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",te.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",te}(ve||{}),Oe=function(te){return te.RESET_CLN_STORE="RESET_CLN_STORE",te.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",te.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",te.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",te.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",te.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",te.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",te.SET_INFO_CLN="SET_INFO_CLN",te.FETCH_FEES_CLN="FETCH_FEES_CLN",te.SET_FEES_CLN="SET_FEES_CLN",te.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",te.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",te.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",te.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",te.FETCH_UTXO_BALANCES_CLN="FETCH_UTXO_BALANCES_CLN",te.SET_UTXO_BALANCES_CLN="SET_UTXO_BALANCES_CLN",te.FETCH_PEERS_CLN="FETCH_PEERS_CLN",te.SET_PEERS_CLN="SET_PEERS_CLN",te.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",te.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",te.ADD_PEER_CLN="ADD_PEER_CLN",te.DETACH_PEER_CLN="DETACH_PEER_CLN",te.REMOVE_PEER_CLN="REMOVE_PEER_CLN",te.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",te.SET_CHANNELS_CLN="SET_CHANNELS_CLN",te.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",te.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",te.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",te.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",te.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",te.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",te.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",te.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",te.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",te.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",te.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",te.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",te.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",te.SET_LOOKUP_CLN="SET_LOOKUP_CLN",te.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",te.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",te.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",te.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",te.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",te.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",te.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",te.SET_INVOICES_CLN="SET_INVOICES_CLN",te.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",te.ADD_INVOICE_CLN="ADD_INVOICE_CLN",te.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",te.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",te.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",te.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",te.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",te.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",te.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",te.SET_OFFERS_CLN="SET_OFFERS_CLN",te.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",te.ADD_OFFER_CLN="ADD_OFFER_CLN",te.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",te.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",te.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",te.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",te.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",te.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",te.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",te}(Oe||{}),Ee=function(te){return te.RESET_ECL_STORE="RESET_ECL_STORE",te.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",te.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",te.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",te.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",te.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",te.FETCH_INFO_ECL="FETCH_INFO_ECL",te.SET_INFO_ECL="SET_INFO_ECL",te.FETCH_FEES_ECL="FETCH_FEES_ECL",te.SET_FEES_ECL="SET_FEES_ECL",te.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",te.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",te.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",te.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",te.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",te.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",te.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",te.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",te.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",te.FETCH_PEERS_ECL="FETCH_PEERS_ECL",te.SET_PEERS_ECL="SET_PEERS_ECL",te.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",te.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",te.ADD_PEER_ECL="ADD_PEER_ECL",te.DETACH_PEER_ECL="DETACH_PEER_ECL",te.REMOVE_PEER_ECL="REMOVE_PEER_ECL",te.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",te.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",te.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",te.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",te.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",te.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",te.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",te.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",te.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",te.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",te.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",te.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",te.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",te.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",te.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",te.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",te.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",te.SET_INVOICES_ECL="SET_INVOICES_ECL",te.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",te.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",te.ADD_INVOICE_ECL="ADD_INVOICE_ECL",te.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",te.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",te.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",te.SET_LOOKUP_ECL="SET_LOOKUP_ECL",te.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",te.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",te}(Ee||{});const dt=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"},{range:{min:30,max:31},description:"AMP support"},{range:{min:44,max:45},description:"Explicit commitment type"}];var nt=function(te){return te.gossip_queries_ex="Gossip queries including additional information",te.option_anchor_outputs="Anchor outputs",te.option_data_loss_protect="Extra channel re-establish fields",te.var_onion_optin="Variable-length routing onion payloads",te.option_static_remotekey="Static key for remote output",te.option_support_large_channel="Create large channels",te.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",te.payment_secret="Payment secret field",te.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",te.basic_mpp="Basic multi-part payments",te.gossip_queries="More sophisticated gossip control",te.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",te.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",te.amp="AMP",te}(nt||{}),Ct=function(te){return te["data-loss-protect"]="Extra channel re-establish fields",te["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",te["gossip-queries"]="More sophisticated gossip control",te["tlv-onion"]="Variable-length routing onion payloads",te["ext-gossip-queries"]="Gossip queries can include additional information",te["static-remote-key"]="Static key for remote output",te["payment-addr"]="Payment secret field",te["multi-path-payments"]="Basic multi-part payments",te["wumbo-channels"]="Wumbo Channels",te.anchors="Anchor outputs",te["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",te.amp="AMP",te}(Ct||{});const Mt=[{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 lt=function(te){return te.OFFERED="offered",te.SETTLED="settled",te.FAILED="failed",te.LOCAL_FAILED="local_failed",te}(lt||{}),ze=function(te){return te.ASCENDING="asc",te.DESCENDING="desc",te}(ze||{});const Z=["asc","desc"],J=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:U,sortBy:"blockheight",sortOrder:ze.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:U,sortBy:"blockheight",sortOrder:ze.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:U,sortBy:"msatoshi_to_us",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","msatoshi_to_us","msatoshi_to_them"],columnSelection:["short_channel_id","alias","msatoshi_to_us","msatoshi_to_them","balancedness"]},{tableId:"pending_inactive_channels",recordsPerPage:U,sortBy:"state",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:U,sortBy:"alias",sortOrder:ze.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:U,sortBy:"expiry",sortOrder:ze.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:U,sortBy:"channel_opening_fee",sortOrder:ze.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:U,sortBy:"created_at",sortOrder:ze.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:U,sortBy:"expires_at",sortOrder:ze.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:U,sortBy:"offer_id",sortOrder:ze.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:U,sortBy:"lastUpdatedAt",sortOrder:ze.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:U,sortBy:"received_time",sortOrder:ze.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"routing_peers",recordsPerPage:U,sortBy:"total_fee",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:U,sortBy:"received_time",sortOrder:ze.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"local_failed",recordsPerPage:U,sortBy:"received_time",sortOrder:ze.DESCENDING,columnSelectionSM:["received_time","in_channel_alias","in_msatoshi"],columnSelection:["received_time","in_channel_alias","in_msatoshi","style","failreason"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:U,sortBy:"received_time",sortOrder:ze.DESCENDING,columnSelectionSM:["received_time","in_msatoshi","out_msatoshi"],columnSelection:["received_time","resolved_time","in_channel_alias","out_channel_alias","in_msatoshi","out_msatoshi","fee"]},{tableId:"transactions",recordsPerPage:U,sortBy:"date",sortOrder:ze.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:U,sortBy:"msatoshi",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],fe={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"}]}}},Ie=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:U,sortBy:"tx_id",sortOrder:ze.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:U,sortBy:"time_stamp",sortOrder:ze.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:U,sortBy:"tx_id",sortOrder:ze.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:U,sortBy:"balancedness",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","local_balance"],columnSelection:["remote_alias","uptime_str","total_satoshis_sent","total_satoshis_received","local_balance","remote_balance","balancedness"]},{tableId:"pending_open",sortBy:"capacity",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:U,sortBy:"close_type",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:U,sortBy:"incoming",sortOrder:ze.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:U,sortBy:"alias",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:U,sortBy:"creation_date",sortOrder:ze.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:U,sortBy:"creation_date",sortOrder:ze.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:U,sortBy:"timestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:U,sortBy:"total_amount",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:U,sortBy:"remote_alias",sortOrder:ze.DESCENDING,columnSelectionSM:["remote_alias","local_balance","remote_balance"],columnSelection:["chan_id","remote_alias","total_satoshis_received","total_satoshis_sent","local_balance","remote_balance"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:U,sortBy:"timestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:U,sortBy:"date",sortOrder:ze.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]},{pageId:"graph_lookup",tables:[{tableId:"query_routes",recordsPerPage:U,sortBy:"hop_sequence",sortOrder:ze.ASCENDING,columnSelectionSM:["hop_sequence","pubkey_alias","fee_msat"],columnSelection:["hop_sequence","pubkey_alias","chan_capacity","amt_to_forward_msat","fee_msat"]}]},{pageId:"loop",tables:[{tableId:"loop",recordsPerPage:U,sortBy:"initiation_time",sortOrder:ze.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:U,sortBy:"status",sortOrder:ze.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:U,sortBy:"status",sortOrder:ze.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],ht={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"}]}}},li=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:U,sortBy:"timestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:U,sortBy:"alias",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:U,sortBy:"alias",sortOrder:ze.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:U,sortBy:"alias",sortOrder:ze.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:U,sortBy:"alias",sortOrder:ze.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:U,sortBy:"firstPartTimestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:U,sortBy:"receivedAt",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:U,sortBy:"timestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:U,sortBy:"totalFee",sortOrder:ze.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:U,sortBy:"timestamp",sortOrder:ze.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:U,sortBy:"date",sortOrder:ze.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],Qt={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"}]}}},di_DKK="\n <svg class=\"currency-icon\" xmlns='http://www.w3.org/2000/svg' width=\"300px\" height=\"300px\" viewBox='0 0 100 74.18'>\n <path d='M58.58 72.85H41.05L22 42.15l-6.53 4.68v26H0V0H15.44V33.33l6.09-8.57L41.24 0H58.38L33 32.24 58.58 72.85ZM95 16.12a25.27 25.27 0 0 1 5.14.44L99 30.81a18.05 18.05 0 0 0-4.49-.49q-7.28 0-11.32 3.74T79.09 44.52V72.85H63.91V17.14H75.42l2.22 9.39h.75a21.26 21.26 0 0 1 7-7.55A17.15 17.15 0 0 1 95 16.12Zm10.48 49.59q0-4.18Z' />\n </svg>\n ",kt=[{id:"USD",name:"United States Dollar",iconType:"FA",symbol:p.Vpi},{id:"ARS",name:"Argentina Peso",iconType:"FA",symbol:p.Vpi},{id:"AUD",name:"Australia Dollar",iconType:"FA",symbol:p.Vpi},{id:"BRL",name:"Brazil Real",iconType:"FA",symbol:p.Tq9},{id:"CAD",name:"Canada Dollar",iconType:"FA",symbol:p.Vpi},{id:"CHF",name:"Switzerland Franc",iconType:"FA",symbol:p.zjW},{id:"CLP",name:"Chile Peso",iconType:"FA",symbol:p.Vpi},{id:"CNY",name:"China Yuan Renminbi",iconType:"FA",symbol:p.zPk},{id:"CZK",name:"Czech Republic Koruna",iconType:"SVG",symbol:"\n <svg class=\"currency-icon\" version='1.0' xmlns='http://www.w3.org/2000/svg' width=\"300px\" height=\"300px\" viewBox='0 0 137.000000 118.000000' preserveAspectRatio='xMidYMid meet'>\n <g transform='translate(0.000000,118.000000) scale(0.100000,-0.100000)' stroke='none'>\n <path d='M80 600 l0 -410 50 0 50 0 0 138 0 138 69 68 69 69 46 -64 c25 -35\n 91 -128 146 -206 l101 -143 71 0 70 0 -24 33 c-99 130 -328 446 -328 451 0 4\n 75 81 168 171 l167 164 -70 1 -70 0 -200 -200 c-110 -110 -203 -200 -207 -200\n -5 0 -8 90 -8 200 l0 200 -50 0 -50 0 0 -410z'/>\n <path d='M946 935 l56 -75 57 0 57 0 57 70 c31 38 57 72 57 75 0 3 -24 5 -52\n 5 -52 0 -54 -1 -82 -46 l-30 -47 -23 29 c-13 16 -26 37 -29 47 -4 14 -17 17\n -65 17 l-59 0 56 -75z'/>\n <path d='M939 762 c-99 -51 -148 -164 -136 -315 12 -168 114 -267 274 -267 60\n 0 139 36 175 78 32 39 64 120 52 132 -5 4 -26 10 -47 12 -37 3 -40 1 -52 -35\n -55 -160 -254 -136 -295 34 -29 121 10 258 84 293 78 37 173 9 197 -58 12 -32\n 17 -36 49 -36 54 0 65 11 51 51 -32 93 -106 139 -223 139 -63 0 -84 -5 -129\n -28z'/>\n </g>\n </svg>\n ",class:"currency-icon-x-large"},{id:"DKK",name:"Denmark Krone",iconType:"SVG",symbol:di_DKK,class:"currency-icon-medium"},{id:"EUR",name:"Euro Member Countries",iconType:"FA",symbol:p.s5m},{id:"GBP",name:"United Kingdom Pound",iconType:"FA",symbol:p.vfE},{id:"HKD",name:"Hong Kong Dollar",iconType:"FA",symbol:p.Vpi},{id:"HRK",name:"Croatia Kuna",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/15766/croatia-kuna-currency-symbol --\x3e\n <svg class="currency-icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 75.045 75.045" style="enable-background:new 0 0 75.045 75.045;"\n xml:space="preserve">\n <g>\n <path d="M75.045,42.207v25.959c0,0.301-0.243,0.545-0.544,0.545h-6.817c-0.3,0-0.543-0.244-0.543-0.545V43.105\n c0-8.162-3.111-12.302-9.244-12.302c-4.526,0-8.375,3.021-9.809,7.7c-0.331,0.912-0.516,2.187-0.516,3.522v26.14\n c0,0.301-0.243,0.543-0.543,0.543h-8.448c-0.3,0-0.544-0.242-0.544-0.543l-0.033-43.474c0-0.145,0.059-0.283,0.159-0.385\n c0.103-0.103,0.239-0.159,0.385-0.159h7.17c0.146,0,0.283,0.058,0.386,0.16c0.103,0.103,0.158,0.241,0.157,0.387l-0.03,5.434\n c1.951-3.095,5.375-6.426,12.367-6.426C62.457,23.704,75.045,25.039,75.045,42.207z M14.096,46.926L31.08,25.684\n c0.244-0.306,0.283-0.726,0.102-1.065c-0.176-0.331-0.519-0.535-0.897-0.535H23.02c-0.312,0-0.61,0.145-0.799,0.385L7.874,42.679\n V7.293c0-0.546-0.453-0.989-1.011-0.989H1.012C0.454,6.305,0,6.748,0,7.293V67.75c0,0.547,0.454,0.989,1.012,0.989h5.851\n c0.558,0,1.011-0.442,1.011-0.989V52.449l0.854-0.015l15.355,15.996c0.189,0.196,0.458,0.31,0.734,0.31h6.928\n c0.385,0,0.743-0.219,0.913-0.562c0.175-0.358,0.114-0.783-0.159-1.086L14.096,46.926z"/>\n </g>\n </svg>\n ',class:"currency-icon-medium"},{id:"HUF",name:"Hungary Forint",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/183602/forint-business-and-finance --\x3e\n <svg class="currency-icon" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">\n <g>\n <path d="M265.485,0.03L151.71,0.015c-0.364-0.036-0.62,0.004-0.929,0.015H37.932\n c-15.708,0-28.444,12.735-28.444,28.444v455.082C9.489,499.264,22.224,512,37.932,512s28.444-12.735,28.444-28.444V287.128h142.408\n c15.708,0,28.444-12.735,28.444-28.444c0-15.708-12.735-28.444-28.444-28.444H66.376V56.917h199.105\n c15.708,0,28.442-12.733,28.444-28.442C293.927,12.769,281.193,0.032,265.485,0.03z"/>\n <path d="M474.067,455.114c-36.596,0-66.368-29.773-66.368-66.368V170.692h28.444\n c15.708,0,28.444-12.735,28.444-28.444s-12.735-28.444-28.444-28.444h-28.444V28.474c0-15.708-12.735-28.444-28.444-28.444\n c-15.708,0-28.444,12.735-28.444,28.444v85.331h-28.444c-15.708,0-28.444,12.735-28.444,28.444s12.735,28.444,28.444,28.444h28.444\n v218.052c0,67.963,55.292,123.256,123.256,123.256c15.708,0,28.444-12.735,28.444-28.444\n C502.511,467.848,489.776,455.114,474.067,455.114z"/>\n </g>\n </svg>\n ',class:"currency-icon-small"},{id:"INR",name:"India Rupee",iconType:"FA",symbol:p.FYJ},{id:"ISK",name:"Iceland Krona",iconType:"SVG",symbol:di_DKK,class:"currency-icon-medium"},{id:"JPY",name:"Japan Yen",iconType:"FA",symbol:p.zPk},{id:"KRW",name:"Korea (South) Won",iconType:"FA",symbol:p.JKM},{id:"NZD",name:"New Zealand Dollar",iconType:"FA",symbol:p.Vpi},{id:"PLN",name:"Poland Zloty",iconType:"SVG",symbol:"\n <svg class=\"currency-icon\" version='1.0' xmlns='http://www.w3.org/2000/svg' \n width=\"300px\" height=\"300px\" viewBox='0 0 154.000000 169.000000' preserveAspectRatio='xMidYMid meet'>\n <g transform='translate(0.000000,169.000000) scale(0.100000,-0.100000)' stroke='none'>\n <path d='M1070 1225 l0 -324 -122 -93 c-68 -50 -126 -96 -130 -102 -13 -18 -9\n -54 8 -70 27 -28 59 -17 147 49 48 36 89 65 92 65 3 0 5 -135 5 -300 l0 -300\n 100 0 100 0 0 379 0 379 116 86 c63 48 118 94 121 103 3 8 2 27 -3 42 -7 20\n -17 27 -41 29 -26 3 -46 -8 -106 -52 -41 -31 -77 -56 -80 -56 -4 0 -7 110 -7\n 245 l0 245 -100 0 -100 0 0 -325z'/>\n <path d='M114 1107 c-3 -8 -4 -47 -2 -88 l3 -74 233 -3 c127 -1 232 -5 232 -8\n 0 -3 -20 -29 -44 -57 -24 -29 -139 -176 -255 -327 l-211 -275 0 -62 0 -63 395\n 0 395 0 0 85 0 85 -256 0 c-141 0 -254 3 -252 8 2 4 33 45 70 92 37 47 150\n 193 252 325 l185 240 1 55 c0 31 -5 61 -12 68 -19 19 -727 17 -734 -1z'/>\n </g>\n </svg>\n ",class:"currency-icon-large"},{id:"RON",name:"Romania Leu",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/64526/romania-lei-currency --\x3e\n <svg class="currency-icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 74.19 74.19" style="enable-background:new 0 0 74.19 74.19;" xml:space="preserve"\n >\n <g>\n <path d="M10.052,6.186v60.96c0,0.688-0.559,1.248-1.249,1.248H1.248C0.559,68.394,0,67.834,0,67.146V6.186\n c0-0.689,0.559-1.248,1.248-1.248h7.555C9.493,4.938,10.052,5.496,10.052,6.186z M56.245,44.135c0,1.643-0.093,2.9-0.282,3.852\n c-0.117,0.582-0.629,1.004-1.224,1.004c-0.001,0-0.002,0-0.004,0l-27.798-0.08c0.792,10.729,9.185,11.923,12.862,11.923\n c5.455,0,8.639-0.995,11.035-1.97c0.334-0.137,0.711-0.119,1.032,0.041c0.321,0.164,0.558,0.455,0.647,0.804l1.373,5.323\n c0.151,0.588-0.142,1.199-0.695,1.451c-2.799,1.264-7.574,2.771-14.422,2.771c-13.172,0-21.684-8.714-21.684-22.197\n c0-13.98,8.563-23.744,20.824-23.744C51.443,23.311,56.245,34.529,56.245,44.135z M27.176,40.996h19.242\n c-0.128-1.918-0.689-5.17-2.908-7.429c-1.531-1.56-3.617-2.351-6.201-2.351C31.211,31.217,28.124,36.212,27.176,40.996z\n M67.963,19.197h0.086c3.5,0,6.142-2.64,6.142-6.144c0-3.452-2.603-6.054-6.058-6.054c-3.5,0-6.142,2.602-6.142,6.054\n C61.991,16.557,64.559,19.197,67.963,19.197z M71.911,24.341h-7.555c-0.689,0-1.249,0.56-1.249,1.248v41.557\n c0,0.688,0.559,1.248,1.249,1.248h7.555c0.69,0,1.249-0.56,1.249-1.248V25.589C73.159,24.901,72.602,24.341,71.911,24.341z"/>\n </g>\n </svg>\n ',class:"currency-icon-medium"},{id:"RUB",name:"Russia Ruble",iconType:"FA",symbol:p.f6_},{id:"SEK",name:"Sweden Krona",iconType:"SVG",symbol:di_DKK,class:"currency-icon-medium"},{id:"SGD",name:"Singapore Dollar",iconType:"FA",symbol:p.Vpi},{id:"THB",name:"Thailand Baht",iconType:"FA",symbol:p.Kcb},{id:"TRY",name:"Turkey Lira",iconType:"FA",symbol:p.hb3},{id:"TWD",name:"Taiwan New Dollar",iconType:"SVG",symbol:'\n <?xml version="1.0" encoding="iso-8859-1"?>\n \x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n \x3c!-- License: CC0. Made by SVG Repo: https://www.svgrepo.com/svg/142061/new-taiwan-dollar --\x3e\n <svg class="currency-icon" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="300px" height="300px" viewBox="0 0 300 300" style="enable-background:new 0 0 300 300;" xml:space="preserve">\n <g id="XMLID_7_">\n <path id="XMLID_8_" d="M265,90c8.284,0,15-6.716,15-15s-6.716-15-15-15H35c-8.284,0-15,6.716-15,15s6.716,15,15,15h65v115\n c0,35.841-29.159,65-65,65c-8.284,0-15,6.716-15,15s6.716,15,15,15c52.383,0,95-42.617,95-95V90h70v145c0,35.841,29.159,65,65,65\n c8.284,0,15-6.716,15-15s-6.716-15-15-15c-19.299,0-35-15.701-35-35V90H265z"/>\n <path id="XMLID_9_" d="M35,30h230c8.284,0,15-6.716,15-15s-6.716-15-15-15H35c-8.284,0-15,6.716-15,15S26.716,30,35,30z"/>\n </g>\n </svg>\n ',class:"currency-icon-small"}];function Rt(te){const ce=kt.find(se=>se.id===te);return"SVG"===ce.iconType&&"string"==typeof ce.symbol&&(ce.symbol=ce.symbol.replace('<svg class="currency-icon"','<svg class= "currency-icon '+ce.class+'"')),ce}function le(te,ce,se){return"fixed"===te?ce:"percent"===te?Math.ceil((se||0)*ce/100):1e6}},4570:Ae=>{"use strict";var ee=Object.defineProperty||!1;if(ee)try{ee({},"a",{value:1})}catch{ee=!1}Ae.exports=ee},4729:(Ae,ee,l)=>{"use strict";var i=l(44068);Ae.exports=function(p){return!!i(p)}},4761:(Ae,ee,l)=>{"use strict";l.d(ee,{l:()=>t});const t=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4912:(Ae,ee,l)=>{"use strict";var i=l(85488);Ae.exports=function(p){return i(p)||0===p?p:p<0?-1:1}},5019:Ae=>{"use strict";Ae.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},5286:Ae=>{"use strict";Ae.exports=URIError},5337:Ae=>{"use strict";Ae.exports=Math.round},5451:(Ae,ee,l)=>{"use strict";var i=l(88723),t=l(3136),p=t.assert,S=t.cachedProperty,c=t.parseBytes;function e(T,g){this.eddsa=T,"object"!=typeof g&&(g=c(g)),Array.isArray(g)&&(p(g.length===2*T.encodingLength,"Signature has invalid size"),g={R:g.slice(0,T.encodingLength),S:g.slice(T.encodingLength)}),p(g.R&&g.S,"Signature without R or S"),T.isPoint(g.R)&&(this._R=g.R),g.S instanceof i&&(this._S=g.S),this._Rencoded=Array.isArray(g.R)?g.R:g.Rencoded,this._Sencoded=Array.isArray(g.S)?g.S:g.Sencoded}S(e,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),S(e,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),S(e,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),S(e,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),e.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},e.prototype.toHex=function(){return t.encode(this.toBytes(),"hex").toUpperCase()},Ae.exports=e},5563:(Ae,ee,l)=>{"use strict";var i=l(68283),t=l(27138);function p(){if(!(this instanceof p))return new p;t.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i.inherits(p,t),Ae.exports=p,p.blockSize=512,p.outSize=224,p.hmacStrength=192,p.padLength=64,p.prototype._digest=function(c){return"hex"===c?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},5718:(Ae,ee,l)=>{"use strict";l.d(ee,{uv:()=>pe,Gj:()=>nt,R:()=>re,E9:()=>Ct,Xj:()=>Be});var i=l(2615),t=l(73664),p=l(21413),S=l(7673),c=l(71985),e=l(96780),T=l(18359);const g={schedule(Mt){let lt=requestAnimationFrame,Pe=cancelAnimationFrame;const{delegate:Ht}=g;Ht&&(lt=Ht.requestAnimationFrame,Pe=Ht.cancelAnimationFrame);const ct=lt(Ce=>{Pe=void 0,Mt(Ce)});return new T.yU(()=>Pe?.(ct))},requestAnimationFrame(...Mt){const{delegate:lt}=g;return(lt?.requestAnimationFrame||requestAnimationFrame)(...Mt)},cancelAnimationFrame(...Mt){const{delegate:lt}=g;return(lt?.cancelAnimationFrame||cancelAnimationFrame)(...Mt)},delegate:void 0};var w=l(39687);new class m extends w.q{flush(lt){let Pe;this._active=!0,lt?Pe=lt.id:(Pe=this._scheduled,this._scheduled=void 0);const{actions:Ht}=this;let ct;lt=lt||Ht.shift();do{if(ct=lt.execute(lt.state,lt.delay))break}while((lt=Ht[0])&&lt.id===Pe&&Ht.shift());if(this._active=!1,ct){for(;(lt=Ht[0])&&lt.id===Pe&&Ht.shift();)lt.unsubscribe();throw ct}}}(class d extends e.R{constructor(lt,Pe){super(lt,Pe),this.scheduler=lt,this.work=Pe}requestAsyncId(lt,Pe,Ht=0){return null!==Ht&&Ht>0?super.requestAsyncId(lt,Pe,Ht):(lt.actions.push(this),lt._scheduled||(lt._scheduled=g.requestAnimationFrame(()=>lt.flush(void 0))))}recycleAsyncId(lt,Pe,Ht=0){var ct;if(null!=Ht?Ht>0:this.delay>0)return super.recycleAsyncId(lt,Pe,Ht);const{actions:Ce}=lt;null!=Pe&&Pe===lt._scheduled&&(null===(ct=Ce[Ce.length-1])||void 0===ct?void 0:ct.id)!==Pe&&(g.cancelAnimationFrame(Pe),lt._scheduled=void 0)}});let U,j=1;const K={};function q(Mt){return Mt in K&&(delete K[Mt],!0)}const G={setImmediate(Mt){const lt=j++;return K[lt]=!0,U||(U=Promise.resolve()),U.then(()=>q(lt)&&Mt()),lt},clearImmediate(Mt){q(Mt)}},{setImmediate:$,clearImmediate:ae}=G,ue={setImmediate(...Mt){const{delegate:lt}=ue;return(lt?.setImmediate||$)(...Mt)},clearImmediate(Mt){const{delegate:lt}=ue;return(lt?.clearImmediate||ae)(Mt)},delegate:void 0};new class he extends w.q{flush(lt){this._active=!0;const Pe=this._scheduled;this._scheduled=void 0;const{actions:Ht}=this;let ct;lt=lt||Ht.shift();do{if(ct=lt.execute(lt.state,lt.delay))break}while((lt=Ht[0])&&lt.id===Pe&&Ht.shift());if(this._active=!1,ct){for(;(lt=Ht[0])&&lt.id===Pe&&Ht.shift();)lt.unsubscribe();throw ct}}}(class oe extends e.R{constructor(lt,Pe){super(lt,Pe),this.scheduler=lt,this.work=Pe}requestAsyncId(lt,Pe,Ht=0){return null!==Ht&&Ht>0?super.requestAsyncId(lt,Pe,Ht):(lt.actions.push(this),lt._scheduled||(lt._scheduled=ue.setImmediate(lt.flush.bind(lt,void 0))))}recycleAsyncId(lt,Pe,Ht=0){var ct;if(null!=Ht?Ht>0:this.delay>0)return super.recycleAsyncId(lt,Pe,Ht);const{actions:Ce}=lt;null!=Pe&&(null===(ct=Ce[Ce.length-1])||void 0===ct?void 0:ct.id)!==Pe&&(ue.clearImmediate(Pe),lt._scheduled===Pe&&(lt._scheduled=void 0))}});var D=l(13798),n=l(5964),o=l(67847),f=l(39842),h=l(61577),b=l(47860),A=l(28203);let re=(()=>{class Mt{_ngZone=(0,i.WQX)(t.SKi);_platform=(0,i.WQX)(f.O);_renderer=(0,i.WQX)(t._9s).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new p.B;_scrolledCount=0;scrollContainers=new Map;register(Pe){this.scrollContainers.has(Pe)||this.scrollContainers.set(Pe,Pe.elementScrolled().subscribe(()=>this._scrolled.next(Pe)))}deregister(Pe){const Ht=this.scrollContainers.get(Pe);Ht&&(Ht.unsubscribe(),this.scrollContainers.delete(Pe))}scrolled(Pe=20){return this._platform.isBrowser?new c.c(Ht=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const ct=Pe>0?this._scrolled.pipe((0,D.Z)(Pe)).subscribe(Ht):this._scrolled.subscribe(Ht);return this._scrolledCount++,()=>{ct.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):(0,S.of)()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((Pe,Ht)=>this.deregister(Ht)),this._scrolled.complete()}ancestorScrolled(Pe,Ht){const ct=this.getAncestorScrollContainers(Pe);return this.scrolled(Ht).pipe((0,n.p)(Ce=>!Ce||ct.indexOf(Ce)>-1))}getAncestorScrollContainers(Pe){const Ht=[];return this.scrollContainers.forEach((ct,Ce)=>{this._scrollableContainsElement(Ce,Pe)&&Ht.push(Ce)}),Ht}_scrollableContainsElement(Pe,Ht){let ct=(0,o.i8)(Ht),Ce=Pe.getElementRef().nativeElement;do{if(ct==Ce)return!0}while(ct=ct.parentElement);return!1}static \u0275fac=function(Ht){return new(Ht||Mt)};static \u0275prov=i.jDH({token:Mt,factory:Mt.\u0275fac,providedIn:"root"})}return Mt})(),pe=(()=>{class Mt{elementRef=(0,i.WQX)(t.aKT);scrollDispatcher=(0,i.WQX)(re);ngZone=(0,i.WQX)(t.SKi);dir=(0,i.WQX)(h.dS,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new p.B;_renderer=(0,i.WQX)(t.sFG);_cleanupScroll;_elementScrolled=new p.B;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",Pe=>this._elementScrolled.next(Pe))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(Pe){const Ht=this.elementRef.nativeElement,ct=this.dir&&"rtl"==this.dir.value;null==Pe.left&&(Pe.left=ct?Pe.end:Pe.start),null==Pe.right&&(Pe.right=ct?Pe.start:Pe.end),null!=Pe.bottom&&(Pe.top=Ht.scrollHeight-Ht.clientHeight-Pe.bottom),ct&&(0,b.BD)()!=b.r5.NORMAL?(null!=Pe.left&&(Pe.right=Ht.scrollWidth-Ht.clientWidth-Pe.left),(0,b.BD)()==b.r5.INVERTED?Pe.left=Pe.right:(0,b.BD)()==b.r5.NEGATED&&(Pe.left=Pe.right?-Pe.right:Pe.right)):null!=Pe.right&&(Pe.left=Ht.scrollWidth-Ht.clientWidth-Pe.right),this._applyScrollToOptions(Pe)}_applyScrollToOptions(Pe){const Ht=this.elementRef.nativeElement;(0,b.CZ)()?Ht.scrollTo(Pe):(null!=Pe.top&&(Ht.scrollTop=Pe.top),null!=Pe.left&&(Ht.scrollLeft=Pe.left))}measureScrollOffset(Pe){const Ht="left",Ce=this.elementRef.nativeElement;if("top"==Pe)return Ce.scrollTop;if("bottom"==Pe)return Ce.scrollHeight-Ce.clientHeight-Ce.scrollTop;const ze=this.dir&&"rtl"==this.dir.value;return"start"==Pe?Pe=ze?"right":Ht:"end"==Pe&&(Pe=ze?Ht:"right"),ze&&(0,b.BD)()==b.r5.INVERTED?Pe==Ht?Ce.scrollWidth-Ce.clientWidth-Ce.scrollLeft:Ce.scrollLeft:ze&&(0,b.BD)()==b.r5.NEGATED?Pe==Ht?Ce.scrollLeft+Ce.scrollWidth-Ce.clientWidth:-Ce.scrollLeft:Pe==Ht?Ce.scrollLeft:Ce.scrollWidth-Ce.clientWidth-Ce.scrollLeft}static \u0275fac=function(Ht){return new(Ht||Mt)};static \u0275dir=t.FsC({type:Mt,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return Mt})(),Be=(()=>{class Mt{_platform=(0,i.WQX)(f.O);_listeners;_viewportSize;_change=new p.B;_document=(0,i.WQX)(i.qQL);constructor(){const Pe=(0,i.WQX)(t.SKi),Ht=(0,i.WQX)(t._9s).createRenderer(null,null);Pe.runOutsideAngular(()=>{if(this._platform.isBrowser){const ct=Ce=>this._change.next(Ce);this._listeners=[Ht.listen("window","resize",ct),Ht.listen("window","orientationchange",ct)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(Pe=>Pe()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Pe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Pe}getViewportRect(){const Pe=this.getViewportScrollPosition(),{width:Ht,height:ct}=this.getViewportSize();return{top:Pe.top,left:Pe.left,bottom:Pe.top+ct,right:Pe.left+Ht,height:ct,width:Ht}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Pe=this._document,Ht=this._getWindow(),ct=Pe.documentElement,Ce=ct.getBoundingClientRect();return{top:-Ce.top||Pe.body.scrollTop||Ht.scrollY||ct.scrollTop||0,left:-Ce.left||Pe.body.scrollLeft||Ht.scrollX||ct.scrollLeft||0}}change(Pe=20){return Pe>0?this._change.pipe((0,D.Z)(Pe)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Pe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Pe.innerWidth,height:Pe.innerHeight}:{width:0,height:0}}static \u0275fac=function(Ht){return new(Ht||Mt)};static \u0275prov=i.jDH({token:Mt,factory:Mt.\u0275fac,providedIn:"root"})}return Mt})(),nt=(()=>{class Mt{static \u0275fac=function(Ht){return new(Ht||Mt)};static \u0275mod=t.$C({type:Mt});static \u0275inj=i.G2t({})}return Mt})(),Ct=(()=>{class Mt{static \u0275fac=function(Ht){return new(Ht||Mt)};static \u0275mod=t.$C({type:Mt});static \u0275inj=i.G2t({imports:[A.jI,nt,A.jI,nt]})}return Mt})()},5942:(Ae,ee,l)=>{(ee=Ae.exports=l(19609)).Stream=ee,ee.Readable=ee,ee.Writable=l(47849),ee.Duplex=l(74075),ee.Transform=l(2909),ee.PassThrough=l(18823)},5951:(Ae,ee,l)=>{"use strict";l.d(ee,{VT:()=>oe,Wk:()=>me,_g:()=>he});var i=l(76838),t=l(89726),p=l(18689),S=l(2615),c=l(73664),e=l(17705),T=l(89417),g=l(88968),d=l(31804),w=l(32046),m=l(12496),P=l(53155),M=l(22466),j=l(26881);const U=["input"],K=["formField"],q=["*"];class G{source;value;constructor(D,n){this.source=D,this.value=n}}const Q={provide:T.kq,useExisting:(0,S.Rfq)(()=>oe),multi:!0},$=new S.nKC("MatRadioGroup"),ae=new S.nKC("mat-radio-default-options",{providedIn:"root",factory:function ue(){return{color:"accent",disabledInteractive:!1}}});let oe=(()=>{class Te{_changeDetector=(0,S.WQX)(e.gRc);_value=null;_name=(0,S.WQX)(t.g).getId("mat-radio-group-");_selected=null;_isInitialized=!1;_labelPosition="after";_disabled=!1;_required=!1;_buttonChanges;_controlValueAccessorChangeFn=()=>{};onTouched=()=>{};change=new c.bkB;_radios;color;get name(){return this._name}set name(n){this._name=n,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(n){this._labelPosition="before"===n?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(n){this._value!==n&&(this._value=n,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(n){this._selected=n,this.value=n?n.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._markRadiosForCheck()}get required(){return this._required}set required(n){this._required=n,this._markRadiosForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(n){this._disabledInteractive=n,this._markRadiosForCheck()}_disabledInteractive=!1;constructor(){}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(n=>n===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(n=>{n.name=this.name,n._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(o=>{o.checked=this.value===o.value,o.checked&&(this._selected=o)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new G(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(n=>n._markForCheck())}writeValue(n){this.value=n,this._changeDetector.markForCheck()}registerOnChange(n){this._controlValueAccessorChangeFn=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.disabled=n,this._changeDetector.markForCheck()}static \u0275fac=function(o){return new(o||Te)};static \u0275dir=c.FsC({type:Te,selectors:[["mat-radio-group"]],contentQueries:function(o,f,h){if(1&o&&c.wni(h,he,5),2&o){let b;c.mGM(b=c.lsd())&&(f._radios=b)}},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],disabledInteractive:[2,"disabledInteractive","disabledInteractive",e.L39]},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[c.Jv_([Q,{provide:$,useExisting:Te}])]})}return Te})(),he=(()=>{class Te{_elementRef=(0,S.WQX)(c.aKT);_changeDetector=(0,S.WQX)(e.gRc);_focusMonitor=(0,S.WQX)(i.FN);_radioDispatcher=(0,S.WQX)(p.z);_defaultOptions=(0,S.WQX)(ae,{optional:!0});_ngZone=(0,S.WQX)(c.SKi);_renderer=(0,S.WQX)(c.sFG);_uniqueId=(0,S.WQX)(t.g).getId("mat-radio-");_cleanupClick;id=this._uniqueId;name;ariaLabel;ariaLabelledby;ariaDescribedby;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(n){this._checked!==n&&(this._checked=n,n&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!n&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),n&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(n){this._value!==n&&(this._value=n,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===n),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(n){this._labelPosition=n}_labelPosition;get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(n){this._setDisabled(n)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(n){n!==this._required&&this._changeDetector.markForCheck(),this._required=n}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"}set color(n){this._color=n}_color;get disabledInteractive(){return this._disabledInteractive||null!==this.radioGroup&&this.radioGroup.disabledInteractive}set disabledInteractive(n){this._disabledInteractive=n}_disabledInteractive;change=new c.bkB;radioGroup;get inputId(){return`${this.id||this._uniqueId}-input`}_checked=!1;_disabled;_required;_value=null;_removeUniqueSelectionListener=()=>{};_previousTabIndex;_inputElement;_rippleTrigger;_noopAnimations=(0,d.Rc)();_injector=(0,S.WQX)(S.zZn);constructor(){(0,S.WQX)(g.l).load(w.A);const n=(0,S.WQX)($,{optional:!0}),o=(0,S.WQX)(new e.ES_("tabindex"),{optional:!0});this.radioGroup=n,this._disabledInteractive=this._defaultOptions?.disabledInteractive??!1,o&&(this.tabIndex=(0,e.Udg)(o,0))}focus(n,o){o?this._focusMonitor.focusVia(this._inputElement,o,n):this._inputElement.nativeElement.focus(n)}_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((n,o)=>{n!==this.id&&o===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(n=>{!n&&this.radioGroup&&this.radioGroup._touch()}),this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._inputElement.nativeElement,"click",this._onInputClick)})}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new G(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputInteraction(n){if(n.stopPropagation(),!this.checked&&!this.disabled){const o=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),o&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(n){this._onInputInteraction(n),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus()}_setDisabled(n){this._disabled!==n&&(this._disabled=n,this._changeDetector.markForCheck())}_onInputClick=n=>{this.disabled&&this.disabledInteractive&&n.preventDefault()};_updateTabIndex(){const n=this.radioGroup;let o;if(o=n&&n.selected&&!this.disabled?n.selected===this?this.tabIndex:-1:this.tabIndex,o!==this._previousTabIndex){const f=this._inputElement?.nativeElement;f&&(f.setAttribute("tabindex",o+""),this._previousTabIndex=o,(0,c.mal)(()=>{queueMicrotask(()=>{n&&n.selected&&n.selected!==this&&document.activeElement===f&&(n.selected?._inputElement.nativeElement.focus(),document.activeElement===f&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}static \u0275fac=function(o){return new(o||Te)};static \u0275cmp=c.VBU({type:Te,selectors:[["mat-radio-button"]],viewQuery:function(o,f){if(1&o&&(c.GBs(U,5),c.GBs(K,7,c.aKT)),2&o){let h;c.mGM(h=c.lsd())&&(f._inputElement=h.first),c.mGM(h=c.lsd())&&(f._rippleTrigger=h.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(o,f){1&o&&c.bIt("focus",function(){return f._inputElement.nativeElement.focus()}),2&o&&(c.BMQ("id",f.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),c.AVh("mat-primary","primary"===f.color)("mat-accent","accent"===f.color)("mat-warn","warn"===f.color)("mat-mdc-radio-checked",f.checked)("mat-mdc-radio-disabled",f.disabled)("mat-mdc-radio-disabled-interactive",f.disabledInteractive)("_mat-animation-noopable",f._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",n=>null==n?0:(0,e.Udg)(n)],checked:[2,"checked","checked",e.L39],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",e.L39],required:[2,"required","required",e.L39],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",e.L39]},outputs:{change:"change"},exportAs:["matRadioButton"],ngContentSelectors:q,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio","aria-invalid","false",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-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(o,f){if(1&o){const h=c.RV6();c.NAR(),c.j41(0,"div",2,0)(2,"div",3)(3,"div",4),c.bIt("click",function(A){return S.eBV(h),S.Njj(f._onTouchTargetClick(A))}),c.k0s(),c.j41(4,"input",5,1),c.bIt("change",function(A){return S.eBV(h),S.Njj(f._onInputInteraction(A))}),c.k0s(),c.j41(6,"div",6),c.nrm(7,"div",7)(8,"div",8),c.k0s(),c.j41(9,"div",9),c.nrm(10,"div",10),c.k0s()(),c.j41(11,"label",11),c.SdG(12),c.k0s()()}2&o&&(c.Y8G("labelPosition",f.labelPosition),c.R7$(2),c.AVh("mdc-radio--disabled",f.disabled),c.R7$(2),c.Y8G("id",f.inputId)("checked",f.checked)("disabled",f.disabled&&!f.disabledInteractive)("required",f.required),c.BMQ("name",f.name)("value",f.value)("aria-label",f.ariaLabel)("aria-labelledby",f.ariaLabelledby)("aria-describedby",f.ariaDescribedby)("aria-disabled",f.disabled&&f.disabledInteractive?"true":null),c.R7$(5),c.Y8G("matRippleTrigger",f._rippleTrigger.nativeElement)("matRippleDisabled",f._isRippleDisabled())("matRippleCentered",!0),c.R7$(2),c.Y8G("for",f.inputId))},dependencies:[m.r6,P.t],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .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;padding:calc((var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.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 .mdc-radio:hover>.mdc-radio__native-control:not([disabled])~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-hover-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:hover>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-hover-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-pressed-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio:active>.mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-pressed-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px);top:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2);left:calc(-1*(var(--mat-radio-state-layer-size, 40px) - 20px)/2)}.mat-mdc-radio-button .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 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0);border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),background-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}@media(forced-colors: active){.mat-mdc-radio-button .mdc-radio__inner-circle{background-color:CanvasText !important}}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mat-radio-state-layer-size, 40px);height:var(--mat-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-selected-focus-icon-color, var(--mat-sys-primary, currentColor))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-unselected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background>.mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background>.mdc-radio__inner-circle{background-color:var(--mat-radio-disabled-selected-icon-color, var(--mat-sys-on-surface, currentColor));opacity:var(--mat-radio-disabled-selected-icon-opacity, 0.38)}.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 label{cursor:pointer}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-sys-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple>.mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio>.mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background>.mdc-radio__outer-circle{border-color:var(--mat-radio-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-radio-touch-target-size, 48px);width:var(--mat-radio-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display, block)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],encapsulation:2,changeDetection:0})}return Te})(),me=(()=>{class Te{static \u0275fac=function(o){return new(o||Te)};static \u0275mod=c.$C({type:Te});static \u0275inj=S.G2t({imports:[M.y,j.p,he,M.y]})}return Te})()},5964:(Ae,ee,l)=>{"use strict";l.d(ee,{p:()=>p});var i=l(39974),t=l(54360);function p(S,c){return(0,i.N)((e,T)=>{let g=0;e.subscribe((0,t._)(T,d=>S.call(c,d,g++)&&T.next(d)))})}},6450:(Ae,ee,l)=>{"use strict";l.d(ee,{I:()=>S});var i=l(96354);const{isArray:t}=Array;function S(c){return(0,i.T)(e=>function p(c,e){return t(e)?c(...e):c(e)}(c,e))}},6613:Ae=>{"use strict";Ae.exports=ReferenceError},6846:(Ae,ee,l)=>{"use strict";var i,p=l(30464).F,S=p.ERR_MISSING_ARGS,c=p.ERR_STREAM_DESTROYED;function e(M){if(M)throw M}function d(M){M()}function w(M,j){return M.pipe(j)}Ae.exports=function P(){for(var M=arguments.length,j=new Array(M),U=0;U<M;U++)j[U]=arguments[U];var K=function m(M){return M.length&&"function"==typeof M[M.length-1]?M.pop():e}(j);if(Array.isArray(j[0])&&(j=j[0]),j.length<2)throw new S("streams");var q,G=j.map(function(Q,$){var ae=$<j.length-1;return function g(M,j,U,K){K=function t(M){var j=!1;return function(){j||(j=!0,M.apply(void 0,arguments))}}(K);var q=!1;M.on("close",function(){q=!0}),void 0===i&&(i=l(57854)),i(M,{readable:j,writable:U},function(Q){if(Q)return K(Q);q=!0,K()});var G=!1;return function(Q){if(!q&&!G){if(G=!0,function T(M){return M.setHeader&&"function"==typeof M.abort}(M))return M.abort();if("function"==typeof M.destroy)return M.destroy();K(Q||new c("pipe"))}}}(Q,ae,$>0,function(oe){q||(q=oe),oe&&G.forEach(d),!ae&&(G.forEach(d),K(q))})});return j.reduce(w)}},7030:(Ae,ee,l)=>{const i=l(47077);ee.render=function(c,e,T){let g=T,d=e;typeof g>"u"&&(!e||!e.getContext)&&(g=e,e=void 0),e||(d=function p(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),g=i.getOptions(g);const w=i.getImageWidth(c.modules.size,g),m=d.getContext("2d"),P=m.createImageData(w,w);return i.qrToImageData(P.data,c,g),function t(S,c,e){S.clearRect(0,0,c.width,c.height),c.style||(c.style={}),c.height=e,c.width=e,c.style.height=e+"px",c.style.width=e+"px"}(m,d,w),m.putImageData(P,0,0),d},ee.renderToDataURL=function(c,e,T){let g=T;return typeof g>"u"&&(!e||!e.getContext)&&(g=e,e=void 0),g||(g={}),ee.render(c,e,g).toDataURL(g.type||"image/png",(g.rendererOpts||{}).quality)}},7045:(Ae,ee,l)=>{Ae.exports=p;var i=l(44356).EventEmitter;function p(){i.call(this)}l(71993)(p,i),p.Readable=l(61092),p.Writable=l(15492),p.Duplex=l(1030),p.Transform=l(43410),p.PassThrough=l(83824),p.finished=l(57854),p.pipeline=l(6846),p.Stream=p,p.prototype.pipe=function(S,c){var e=this;function T(j){S.writable&&!1===S.write(j)&&e.pause&&e.pause()}function g(){e.readable&&e.resume&&e.resume()}e.on("data",T),S.on("drain",g),!S._isStdio&&(!c||!1!==c.end)&&(e.on("end",w),e.on("close",m));var d=!1;function w(){d||(d=!0,S.end())}function m(){d||(d=!0,"function"==typeof S.destroy&&S.destroy())}function P(j){if(M(),0===i.listenerCount(this,"error"))throw j}function M(){e.removeListener("data",T),S.removeListener("drain",g),e.removeListener("end",w),e.removeListener("close",m),e.removeListener("error",P),S.removeListener("error",P),e.removeListener("end",M),e.removeListener("close",M),S.removeListener("close",M)}return e.on("error",P),S.on("error",P),e.on("end",M),e.on("close",M),S.on("close",M),S.emit("pipe",e),S}},7673:(Ae,ee,l)=>{"use strict";l.d(ee,{of:()=>p});var i=l(9326),t=l(22806);function p(...S){const c=(0,i.lI)(S);return(0,t.H)(S,c)}},7879:(Ae,ee,l)=>{"use strict";l.d(ee,{I:()=>j});var i=l(84412),t=l(21413),p=l(56977),S=l(47707),c=l(71985),e=l(18359),T=l(92771);const g={url:"",deserializer:U=>JSON.parse(U.data),serializer:U=>JSON.stringify(U)};class w extends t.k{constructor(K,q){if(super(),this._socket=null,K instanceof c.c)this.destination=q,this.source=K;else{const G=this._config=Object.assign({},g);if(this._output=new t.B,"string"==typeof K)G.url=K;else for(const Q in K)K.hasOwnProperty(Q)&&(G[Q]=K[Q]);if(!G.WebSocketCtor&&WebSocket)G.WebSocketCtor=WebSocket;else if(!G.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new T.m}}lift(K){const q=new w(this._config,this.destination);return q.operator=K,q.source=this,q}_resetState(){this._socket=null,this.source||(this.destination=new T.m),this._output=new t.B}multiplex(K,q,G){const Q=this;return new c.c($=>{try{Q.next(K())}catch(ue){$.error(ue)}const ae=Q.subscribe({next:ue=>{try{G(ue)&&$.next(ue)}catch(oe){$.error(oe)}},error:ue=>$.error(ue),complete:()=>$.complete()});return()=>{try{Q.next(q())}catch(ue){$.error(ue)}ae.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:K,protocol:q,url:G,binaryType:Q}=this._config,$=this._output;let ae=null;try{ae=q?new K(G,q):new K(G),this._socket=ae,Q&&(this._socket.binaryType=Q)}catch(oe){return void $.error(oe)}const ue=new e.yU(()=>{this._socket=null,ae&&1===ae.readyState&&ae.close()});ae.onopen=oe=>{const{_socket:he}=this;if(!he)return ae.close(),void this._resetState();const{openObserver:me}=this._config;me&&me.next(oe);const Te=this.destination;this.destination=S.vU.create(D=>{if(1===ae.readyState)try{const{serializer:n}=this._config;ae.send(n(D))}catch(n){this.destination.error(n)}},D=>{const{closingObserver:n}=this._config;n&&n.next(void 0),D&&D.code?ae.close(D.code,D.reason):$.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:D}=this._config;D&&D.next(void 0),ae.close(),this._resetState()}),Te&&Te instanceof T.m&&ue.add(Te.subscribe(this.destination))},ae.onerror=oe=>{this._resetState(),$.error(oe)},ae.onclose=oe=>{ae===this._socket&&this._resetState();const{closeObserver:he}=this._config;he&&he.next(oe),oe.wasClean?$.complete():$.error(oe)},ae.onmessage=oe=>{try{const{deserializer:he}=this._config;$.next(he(oe))}catch(he){$.error(he)}}}_subscribe(K){const{source:q}=this;return q?q.subscribe(K):(this._socket||this._connectSocket(),this._output.subscribe(K),K.add(()=>{const{_socket:G}=this;0===this._output.observers.length&&(G&&(1===G.readyState||0===G.readyState)&&G.close(),this._resetState())}),K)}unsubscribe(){const{_socket:K}=this;K&&(1===K.readyState||0===K.readyState)&&K.close(),this._resetState(),super.unsubscribe()}}var m=l(2615),P=l(98570),M=l(53202);let j=(()=>{var U;class K{constructor(G,Q){this.logger=G,this.sessionService=Q,this.clWSMessages=new i.t(null),this.eclWSMessages=new i.t(null),this.lndWSMessages=new i.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(G,Q){(!this.socket||this.socket.closed)&&(this.wsUrl=G,this.nodeIndex=Q,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new w({url:G,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,p.Q)(this.unSubs[1])).subscribe({next:G=>{if((G="string"==typeof G?JSON.parse(G):G).error)this.handleError(G.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(G)),G.source){case"LND":this.lndWSMessages.next(G);break;case"CLN":this.clWSMessages.next(G);break;case"ECL":this.eclWSMessages.next(G)}},error:G=>this.handleError(G),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(G){this.logger.error(G),this.clWSMessages.error(G),this.eclWSMessages.error(G),this.lndWSMessages.error(G),this.reconnectOnError()}ngOnDestroy(){this.closeConnection(),this.clWSMessages.next(null),this.clWSMessages.complete(),this.eclWSMessages.next(null),this.eclWSMessages.complete(),this.lndWSMessages.next(null),this.lndWSMessages.complete()}static#e=U=()=>(this.\u0275fac=function(Q){return new(Q||K)(m.KVO(P.gP),m.KVO(M.Q))},this.\u0275prov=m.jDH({token:K,factory:K.\u0275fac}))}return U(),K})()},8045:(Ae,ee,l)=>{"use strict";l.d(ee,{x:()=>p});var i=l(74402),t=l(7673);function p(S){return(0,i.A)(S)?S:(0,t.of)(S)}},8321:(Ae,ee,l)=>{"use strict";l.d(ee,{y:()=>Ee});var i=l(51585),t=l(45383),p=l(21413),S=l(56977),c=l(4416),e=l(59584),T=l(2615),g=l(73664),d=l(98570),w=l(82571),m=l(95416),P=l(59640),M=l(72200),j=l(20060),U=l(88834),K=l(25596),q=l(71997),G=l(9183),Q=l(52920),$=l(16038),ae=l(40455),ue=l(38288),oe=l(29157),he=l(89587);const me=dt=>({"display-none":dt}),Te=dt=>({"xs-scroll-y":dt}),D=(dt,nt)=>({"mt-2":dt,"mt-1":nt}),n=dt=>({"mr-0":dt}),o=()=>[];function f(dt,nt){if(1&dt&&g.nrm(0,"qr-code",33),2&dt){const Ct=g.XpG();g.Y8G("value",(null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12))("size",Ct.qrWidth)}}function h(dt,nt){1&dt&&(g.j41(0,"span",34),g.EFF(1,"N/A"),g.k0s())}function b(dt,nt){if(1&dt&&g.nrm(0,"span",35),2&dt){const Ct=g.XpG();g.Y8G("ngClass",g.eq3(1,n,Ct.screenSize===Ct.screenSizeEnum.XS))}}function A(dt,nt){if(1&dt&&g.nrm(0,"span",36),2&dt){const Ct=g.XpG();g.Y8G("ngClass",g.eq3(1,n,Ct.screenSize===Ct.screenSizeEnum.XS))}}function k(dt,nt){if(1&dt&&g.nrm(0,"span",37),2&dt){const Ct=g.XpG();g.Y8G("ngClass",g.eq3(1,n,Ct.screenSize===Ct.screenSizeEnum.XS))}}function x(dt,nt){if(1&dt&&g.nrm(0,"qr-code",33),2&dt){const Ct=g.XpG();g.Y8G("value",(null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12))("size",Ct.qrWidth)}}function r(dt,nt){1&dt&&(g.j41(0,"span",38),g.EFF(1,"QR Code Not Applicable"),g.k0s())}function _(dt,nt){1&dt&&g.nrm(0,"mat-divider",39)}function W(dt,nt){if(1&dt&&(g.j41(0,"div",20)(1,"div",40),g.nrm(2,"fa-icon",41),g.j41(3,"span"),g.EFF(4),g.k0s()()()),2&dt){const Ct=g.XpG();g.R7$(2),g.Y8G("icon",Ct.faExclamationTriangle),g.R7$(2),g.JRh(null==Ct.invoice?null:Ct.invoice.warning_capacity)}}function I(dt,nt){1&dt&&(g.qex(0),g.EFF(1," (zero amount) "),g.bVm())}function B(dt,nt){1&dt&&g.nrm(0,"span",47)}function re(dt,nt){if(1&dt&&(g.j41(0,"div",43)(1,"div",44)(2,"span",45),g.EFF(3),g.nI1(4,"number"),g.k0s(),g.DNE(5,B,1,0,"span",46),g.k0s()()),2&dt){const Ct=g.XpG(2);g.R7$(3),g.SpI("",g.bMT(4,2,(null==Ct.invoice?null:Ct.invoice.amount_received_msat)/1e3)," Sats"),g.R7$(2),g.Y8G("ngForOf",g.lJ4(4,o).constructor(35))}}function pe(dt,nt){if(1&dt&&(g.j41(0,"div"),g.EFF(1),g.nI1(2,"number"),g.k0s()),2&dt){const Ct=g.XpG(2);g.R7$(),g.SpI("",g.bMT(2,1,(null==Ct.invoice?null:Ct.invoice.amount_received_msat)/1e3)," Sats")}}function be(dt,nt){if(1&dt&&(g.qex(0),g.DNE(1,re,6,5,"div",42)(2,pe,3,3,"div",24),g.bVm()),2&dt){const Ct=g.XpG();g.R7$(),g.Y8G("ngIf",Ct.flgInvoicePaid),g.R7$(),g.Y8G("ngIf",!Ct.flgInvoicePaid)}}function Be(dt,nt){1&dt&&(g.j41(0,"span"),g.EFF(1,"-"),g.k0s())}function _e(dt,nt){1&dt&&g.nrm(0,"mat-spinner",49),2&dt&&g.Y8G("diameter",20)}function ye(dt,nt){if(1&dt&&(g.qex(0),g.DNE(1,Be,2,0,"span",24)(2,_e,1,1,"mat-spinner",48),g.bVm()),2&dt){const Ct=g.XpG();g.R7$(),g.Y8G("ngIf","unpaid"!==(null==Ct.invoice?null:Ct.invoice.status)),g.R7$(),g.Y8G("ngIf","unpaid"===(null==Ct.invoice?null:Ct.invoice.status))}}function Le(dt,nt){if(1&dt&&(g.j41(0,"div"),g.nrm(1,"mat-divider",26),g.j41(2,"div",20)(3,"div",27)(4,"h4",22),g.EFF(5,"Payment Hash"),g.k0s(),g.j41(6,"span",25),g.EFF(7),g.k0s()()(),g.nrm(8,"mat-divider",26),g.j41(9,"div",20)(10,"div",27)(11,"h4",22),g.EFF(12,"Label"),g.k0s(),g.j41(13,"span",25),g.EFF(14),g.k0s()()(),g.nrm(15,"mat-divider",26),g.k0s()),2&dt){const Ct=g.XpG();g.R7$(7),g.JRh(null==Ct.invoice?null:Ct.invoice.payment_hash),g.R7$(7),g.JRh(null==Ct.invoice?null:Ct.invoice.label)}}function Ke(dt,nt){1&dt&&(g.j41(0,"p"),g.EFF(1,"Show Advanced"),g.k0s())}function ge(dt,nt){1&dt&&(g.j41(0,"p"),g.EFF(1,"Hide Advanced"),g.k0s())}function ve(dt,nt){if(1&dt){const Ct=g.RV6();g.j41(0,"button",50),g.bIt("copied",function(lt){T.eBV(Ct);const Pe=g.XpG();return T.Njj(Pe.onCopyPayment(lt))}),g.EFF(1,"Copy Invoice"),g.k0s()}if(2&dt){const Ct=g.XpG();g.Y8G("payload",(null==Ct.invoice?null:Ct.invoice.bolt11)||(null==Ct.invoice?null:Ct.invoice.bolt12))}}function Oe(dt,nt){if(1&dt){const Ct=g.RV6();g.j41(0,"button",51),g.bIt("click",function(){T.eBV(Ct);const lt=g.XpG();return T.Njj(lt.onClose())}),g.EFF(1,"OK"),g.k0s()}}let Ee=(()=>{var dt;class nt{constructor(Mt,lt,Pe,Ht,ct,Ce){this.dialogRef=Mt,this.data=lt,this.logger=Pe,this.commonService=Ht,this.snackBar=ct,this.store=Ce,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.invoiceStatus="",this.qrWidth=240,this.screenSize="",this.screenSizeEnum=c.f7,this.flgInvoicePaid=!1,this.unSubs=[new p.B,new p.B,new p.B,new p.B,new p.B]}ngOnInit(){this.invoice=this.data.invoice,this.invoiceStatus=this.invoice.status,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===c.f7.XS&&(this.qrWidth=220),this.store.select(e.Pj).pipe((0,S.Q)(this.unSubs[1])).subscribe(Mt=>{const Pe=(Mt.listInvoices.invoices||[])?.find(Ht=>Ht.payment_hash===this.invoice.payment_hash)||null;Pe&&(this.invoice=Pe),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(Pe),this.logger.info(Mt)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(Mt){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+Mt)}ngOnDestroy(){this.unSubs.forEach(Mt=>{Mt.next(null),Mt.complete()})}static#e=dt=()=>(this.\u0275fac=function(lt){return new(lt||nt)(g.rXU(i.CP),g.rXU(i.Vh),g.rXU(d.gP),g.rXU(w.h),g.rXU(m.UG),g.rXU(P.il))},this.\u0275cmp=g.VBU({type:nt,selectors:[["rtl-cln-invoice-information"]],standalone:!1,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"],["errorCorrectionLevel","L",3,"value","size",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"],["errorCorrectionLevel","L",3,"value","size"],[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(lt,Pe){if(1&lt){const Ht=g.RV6();g.j41(0,"div",1)(1,"div",2),g.DNE(2,f,1,2,"qr-code",3)(3,h,2,0,"span",4),g.k0s(),g.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),g.nrm(7,"fa-icon",8),g.j41(8,"span",9),g.EFF(9),g.DNE(10,b,1,3,"span",10)(11,A,1,3,"span",11)(12,k,1,3,"span",12),g.k0s()(),g.j41(13,"button",13),g.bIt("click",function(){return T.eBV(Ht),T.Njj(Pe.onClose())}),g.EFF(14,"X"),g.k0s()(),g.j41(15,"mat-card-content",14)(16,"div",15)(17,"div",16),g.DNE(18,x,1,2,"qr-code",3)(19,r,2,0,"span",17),g.k0s(),g.DNE(20,_,1,0,"mat-divider",18)(21,W,5,2,"div",19),g.j41(22,"div",20)(23,"div",21)(24,"h4",22),g.EFF(25),g.k0s(),g.j41(26,"span",23),g.EFF(27),g.nI1(28,"number"),g.DNE(29,I,2,0,"ng-container",24),g.k0s()(),g.j41(30,"div",21)(31,"h4",22),g.EFF(32,"Amount Received"),g.k0s(),g.j41(33,"span",25),g.DNE(34,be,3,2,"ng-container",24)(35,ye,3,2,"ng-container",24),g.k0s()()(),g.nrm(36,"mat-divider",26),g.j41(37,"div",20)(38,"div",21)(39,"h4",22),g.EFF(40,"Date Expiry"),g.k0s(),g.j41(41,"span",23),g.EFF(42),g.nI1(43,"date"),g.k0s()(),g.j41(44,"div",21)(45,"h4",22),g.EFF(46,"Date Settled"),g.k0s(),g.j41(47,"span",23),g.EFF(48),g.nI1(49,"date"),g.k0s()()(),g.nrm(50,"mat-divider",26),g.j41(51,"div",20)(52,"div",27)(53,"h4",22),g.EFF(54,"Description"),g.k0s(),g.j41(55,"span",23),g.EFF(56),g.k0s()()(),g.nrm(57,"mat-divider",26),g.j41(58,"div",20)(59,"div",27)(60,"h4",22),g.EFF(61),g.k0s(),g.j41(62,"span",25),g.EFF(63),g.k0s()()(),g.DNE(64,Le,16,2,"div",24),g.j41(65,"div",28)(66,"button",29),g.bIt("click",function(){return T.eBV(Ht),T.Njj(Pe.onShowAdvanced())}),g.DNE(67,Ke,2,0,"p",30)(68,ge,2,0,"ng-template",null,0,g.C5r),g.k0s(),g.DNE(70,ve,2,1,"button",31)(71,Oe,2,0,"button",32),g.k0s()()()()()}if(2&lt){const Ht=g.sdS(69);g.R7$(),g.Y8G("fxLayoutAlign",null!=Pe.invoice&&Pe.invoice.bolt11&&""!==(null==Pe.invoice?null:Pe.invoice.bolt11)||null!=Pe.invoice&&Pe.invoice.bolt12&&""!==(null==Pe.invoice?null:Pe.invoice.bolt12)?"center start":"center center")("ngClass",g.eq3(40,me,Pe.screenSize===Pe.screenSizeEnum.XS||Pe.screenSize===Pe.screenSizeEnum.SM)),g.R7$(),g.Y8G("ngIf",(null==Pe.invoice?null:Pe.invoice.bolt11)&&""!==(null==Pe.invoice?null:Pe.invoice.bolt11)||(null==Pe.invoice?null:Pe.invoice.bolt12)&&""!==(null==Pe.invoice?null:Pe.invoice.bolt12)),g.R7$(),g.Y8G("ngIf",!(null!=Pe.invoice&&Pe.invoice.bolt11||null!=Pe.invoice&&Pe.invoice.bolt12)),g.R7$(4),g.Y8G("icon",Pe.faReceipt),g.R7$(2),g.SpI(" ",Pe.screenSize===Pe.screenSizeEnum.XS?Pe.newlyAdded?"Created":"Invoice":Pe.newlyAdded?"Invoice Created":"Invoice Information"," "),g.R7$(),g.Y8G("ngIf","paid"===(null==Pe.invoice?null:Pe.invoice.status)),g.R7$(),g.Y8G("ngIf","unpaid"===(null==Pe.invoice?null:Pe.invoice.status)),g.R7$(),g.Y8G("ngIf","expired"===(null==Pe.invoice?null:Pe.invoice.status)),g.R7$(3),g.Y8G("ngClass",g.eq3(42,Te,Pe.screenSize===Pe.screenSizeEnum.XS)),g.R7$(2),g.Y8G("fxLayoutAlign",null!=Pe.invoice&&Pe.invoice.bolt11&&""!==(null==Pe.invoice?null:Pe.invoice.bolt11)||null!=Pe.invoice&&Pe.invoice.bolt12&&""!==(null==Pe.invoice?null:Pe.invoice.bolt12)?"center start":"center center")("ngClass",g.eq3(44,me,Pe.screenSize!==Pe.screenSizeEnum.XS&&Pe.screenSize!==Pe.screenSizeEnum.SM)),g.R7$(),g.Y8G("ngIf",(null==Pe.invoice?null:Pe.invoice.bolt11)&&""!==(null==Pe.invoice?null:Pe.invoice.bolt11)||(null==Pe.invoice?null:Pe.invoice.bolt12)&&""!==(null==Pe.invoice?null:Pe.invoice.bolt12)),g.R7$(),g.Y8G("ngIf",!(null!=Pe.invoice&&Pe.invoice.bolt11||null!=Pe.invoice&&Pe.invoice.bolt12)),g.R7$(),g.Y8G("ngIf",Pe.screenSize===Pe.screenSizeEnum.XS||Pe.screenSize===Pe.screenSizeEnum.SM),g.R7$(),g.Y8G("ngIf",null==Pe.invoice?null:Pe.invoice.warning_capacity),g.R7$(4),g.JRh(Pe.screenSize===Pe.screenSizeEnum.XS?"Amount":"Amount Requested"),g.R7$(2),g.SpI(" ",g.bMT(28,32,(null==Pe.invoice?null:Pe.invoice.amount_msat)/1e3||0)," Sats"),g.R7$(2),g.Y8G("ngIf",!(null!=Pe.invoice&&Pe.invoice.amount_msat)||"0"===(null==Pe.invoice?null:Pe.invoice.amount_msat)||"any"===(null==Pe.invoice?null:Pe.invoice.amount_msat)),g.R7$(5),g.Y8G("ngIf","paid"===(null==Pe.invoice?null:Pe.invoice.status)),g.R7$(),g.Y8G("ngIf","paid"!==(null==Pe.invoice?null:Pe.invoice.status)),g.R7$(7),g.JRh(g.i5U(43,34,1e3*(null==Pe.invoice?null:Pe.invoice.expires_at),"dd/MMM/y HH:mm")),g.R7$(6),g.JRh(g.i5U(49,37,1e3*(null==Pe.invoice?null:Pe.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),g.R7$(8),g.JRh((null==Pe.invoice?null:Pe.invoice.description)||"-"),g.R7$(5),g.SpI("",null!=Pe.invoice&&Pe.invoice.bolt12?"Bolt12":null!=Pe.invoice&&Pe.invoice.bolt11&&!Pe.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),g.R7$(2),g.JRh((null==Pe.invoice?null:Pe.invoice.bolt11)||(null==Pe.invoice?null:Pe.invoice.bolt12)),g.R7$(),g.Y8G("ngIf",Pe.showAdvanced),g.R7$(),g.Y8G("ngClass",g.l_i(46,D,!Pe.showAdvanced,Pe.showAdvanced)),g.R7$(2),g.Y8G("ngIf",!Pe.showAdvanced)("ngIfElse",Ht),g.R7$(3),g.Y8G("ngIf",(null==Pe.invoice?null:Pe.invoice.bolt11)&&""!==(null==Pe.invoice?null:Pe.invoice.bolt11)||(null==Pe.invoice?null:Pe.invoice.bolt12)&&""!==(null==Pe.invoice?null:Pe.invoice.bolt12)),g.R7$(),g.Y8G("ngIf",!(null!=Pe.invoice&&Pe.invoice.bolt11||null!=Pe.invoice&&Pe.invoice.bolt12))}},dependencies:[M.YU,M.Sq,M.bT,j.aY,U.$z,K.m2,K.MM,q.q,G.LG,Q.DJ,Q.sA,Q.UI,$.PW,ae.oV,ue.Um,oe.U,he.N,M.QX,M.vh],encapsulation:2}))}return dt(),nt})()},8729:(Ae,ee,l)=>{"use strict";var i=ee;i.base=l(98828),i.short=l(68075),i.mont=l(64947),i.edwards=l(55537)},9183:(Ae,ee,l)=>{"use strict";l.d(ee,{D6:()=>U,LG:()=>M});var i=l(2615),t=l(73664),p=l(17705),S=l(72200),c=l(31804),e=l(22466);const T=["determinateSpinner"];function g(K,q){if(1&K&&(i.qSk(),t.j41(0,"svg",11),t.nrm(1,"circle",12),t.k0s()),2&K){const G=t.XpG();t.BMQ("viewBox",G._viewBox()),t.R7$(),t.xc7("stroke-dasharray",G._strokeCircumference(),"px")("stroke-dashoffset",G._strokeCircumference()/2,"px")("stroke-width",G._circleStrokeWidth(),"%"),t.BMQ("r",G._circleRadius())}}const d=new i.nKC("mat-progress-spinner-default-options",{providedIn:"root",factory:function w(){return{diameter:m}}}),m=100;let M=(()=>{class K{_elementRef=(0,i.WQX)(t.aKT);_noopAnimations;get color(){return this._color||this._defaultColor}set color(G){this._color=G}_color;_defaultColor="primary";_determinateCircle;constructor(){const G=(0,i.WQX)(d),Q=(0,c._J)(),$=this._elementRef.nativeElement;this._noopAnimations="di-disabled"===Q&&!!G&&!G._forceAnimations,this.mode="mat-spinner"===$.nodeName.toLowerCase()?"indeterminate":"determinate",!this._noopAnimations&&"reduced-motion"===Q&&$.classList.add("mat-progress-spinner-reduced-motion"),G&&(G.color&&(this.color=this._defaultColor=G.color),G.diameter&&(this.diameter=G.diameter),G.strokeWidth&&(this.strokeWidth=G.strokeWidth))}mode;get value(){return"determinate"===this.mode?this._value:0}set value(G){this._value=Math.max(0,Math.min(100,G||0))}_value=0;get diameter(){return this._diameter}set diameter(G){this._diameter=G||0}_diameter=m;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(G){this._strokeWidth=G||0}_strokeWidth;_circleRadius(){return(this.diameter-10)/2}_viewBox(){const G=2*this._circleRadius()+this.strokeWidth;return`0 0 ${G} ${G}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(Q){return new(Q||K)};static \u0275cmp=t.VBU({type:K,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(Q,$){if(1&Q&&t.GBs(T,5),2&Q){let ae;t.mGM(ae=t.lsd())&&($._determinateCircle=ae.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(Q,$){2&Q&&(t.BMQ("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===$.mode?$.value:null)("mode",$.mode),t.HbH("mat-"+$.color),t.xc7("width",$.diameter,"px")("height",$.diameter,"px")("--mat-progress-spinner-size",$.diameter+"px")("--mat-progress-spinner-active-indicator-width",$.diameter+"px"),t.AVh("_mat-animation-noopable",$._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===$.mode))},inputs:{color:"color",mode:"mode",value:[2,"value","value",p.Udg],diameter:[2,"diameter","diameter",p.Udg],strokeWidth:[2,"strokeWidth","strokeWidth",p.Udg]},exportAs:["matProgressSpinner"],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(Q,$){if(1&Q&&(t.DNE(0,g,2,8,"ng-template",null,0,t.C5r),t.j41(2,"div",2,1),i.qSk(),t.j41(4,"svg",3),t.nrm(5,"circle",4),t.k0s()(),i.joV(),t.j41(6,"div",5)(7,"div",6)(8,"div",7),t.eu8(9,8),t.k0s(),t.j41(10,"div",9),t.eu8(11,8),t.k0s(),t.j41(12,"div",10),t.eu8(13,8),t.k0s()()()),2&Q){const ae=t.sdS(1);t.R7$(4),t.BMQ("viewBox",$._viewBox()),t.R7$(),t.xc7("stroke-dasharray",$._strokeCircumference(),"px")("stroke-dashoffset",$._strokeDashOffset(),"px")("stroke-width",$._circleStrokeWidth(),"%"),t.BMQ("r",$._circleRadius()),t.R7$(4),t.Y8G("ngTemplateOutlet",ae),t.R7$(2),t.Y8G("ngTemplateOutlet",ae),t.R7$(2),t.Y8G("ngTemplateOutlet",ae)}},dependencies:[S.T3],styles:[".mat-mdc-progress-spinner{--mat-progress-spinner-animation-multiplier: 1;display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mat-progress-spinner-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.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 !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mat-progress-spinner-reduced-motion{--mat-progress-spinner-animation-multiplier: 1.25}.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 .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate calc(1568.2352941176ms*var(--mat-progress-spinner-animation-multiplier)) linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 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 .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__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) 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 calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate calc(5332ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}@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-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)}}\n"],encapsulation:2,changeDetection:0})}return K})(),U=(()=>{class K{static \u0275fac=function(Q){return new(Q||K)};static \u0275mod=t.$C({type:K});static \u0275inj=i.G2t({imports:[e.y]})}return K})()},9326:(Ae,ee,l)=>{"use strict";l.d(ee,{R0:()=>e,lI:()=>c,ms:()=>S});var i=l(98071),t=l(79470);function p(T){return T[T.length-1]}function S(T){return(0,i.T)(p(T))?T.pop():void 0}function c(T){return(0,t.m)(p(T))?T.pop():void 0}function e(T,g){return"number"==typeof p(T)?T.pop():g}},9350:(Ae,ee,l)=>{"use strict";l.d(ee,{G:()=>t});const t=(0,l(81853).L)(p=>function(){p(this),this.name="EmptyError",this.message="no elements in sequence"})},9454:(Ae,ee,l)=>{"use strict";l.d(ee,{BS:()=>be,MY:()=>Be,GK:()=>W,Q6:()=>re,Z2:()=>B,WN:()=>pe});var i=l(73664),t=l(2615),p=l(17705),S=l(21413),c=l(18359),e=l(89726),T=l(18689);const g=new t.nKC("CdkAccordion");let d=(()=>{class Le{_stateChanges=new S.B;_openCloseAllActions=new S.B;id=(0,t.WQX)(e.g).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(ge){this._stateChanges.next(ge)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(ve){return new(ve||Le)};static \u0275dir=i.FsC({type:Le,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",p.L39]},exportAs:["cdkAccordion"],features:[i.Jv_([{provide:g,useExisting:Le}]),i.OA$]})}return Le})(),w=(()=>{class Le{accordion=(0,t.WQX)(g,{optional:!0,skipSelf:!0});_changeDetectorRef=(0,t.WQX)(p.gRc);_expansionDispatcher=(0,t.WQX)(T.z);_openCloseAllSubscription=c.yU.EMPTY;closed=new i.bkB;opened=new i.bkB;destroyed=new i.bkB;expandedChange=new i.bkB;id=(0,t.WQX)(e.g).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(ge){this._expanded!==ge&&(this._expanded=ge,this.expandedChange.emit(ge),ge?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}_expanded=!1;get disabled(){return this._disabled()}set disabled(ge){this._disabled.set(ge)}_disabled=(0,t.vPA)(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((ge,ve)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===ve&&this.id!==ge&&(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(ge=>{this.disabled||(this.expanded=ge)})}static \u0275fac=function(ve){return new(ve||Le)};static \u0275dir=i.FsC({type:Le,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",p.L39],disabled:[2,"disabled","disabled",p.L39]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i.Jv_([{provide:g,useValue:void 0}])]})}return Le})(),m=(()=>{class Le{static \u0275fac=function(ve){return new(ve||Le)};static \u0275mod=i.$C({type:Le});static \u0275inj=t.G2t({})}return Le})();var P=l(76939),M=l(76838),j=l(64123),U=l(99172),K=l(5964),q=l(96697),G=l(10438),Q=l(67336),$=l(983),ae=l(57786),ue=l(31804),oe=l(88968),he=l(32046),me=l(22466);const Te=["body"],D=["bodyWrapper"],n=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],o=["mat-expansion-panel-header","*","mat-action-row"];function f(Le,Ke){}const h=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],b=["mat-panel-title","mat-panel-description","*"];function A(Le,Ke){1&Le&&(i.rj2(0,"span",1),t.qSk(),i.rj2(1,"svg",2),i.Hgh(2,"path",3),i.eux()())}const k=new t.nKC("MAT_ACCORDION"),x=new t.nKC("MAT_EXPANSION_PANEL");let r=(()=>{class Le{_template=(0,t.WQX)(i.C4Q);_expansionPanel=(0,t.WQX)(x,{optional:!0});constructor(){}static \u0275fac=function(ve){return new(ve||Le)};static \u0275dir=i.FsC({type:Le,selectors:[["ng-template","matExpansionPanelContent",""]]})}return Le})();const _=new t.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let W=(()=>{class Le extends w{_viewContainerRef=(0,t.WQX)(i.c1b);_animationsDisabled=(0,ue.Rc)();_document=(0,t.WQX)(t.qQL);_ngZone=(0,t.WQX)(i.SKi);_elementRef=(0,t.WQX)(i.aKT);_renderer=(0,t.WQX)(i.sFG);_cleanupTransitionEnd;get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(ge){this._hideToggle=ge}_hideToggle=!1;get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(ge){this._togglePosition=ge}_togglePosition;afterExpand=new i.bkB;afterCollapse=new i.bkB;_inputChanges=new S.B;accordion=(0,t.WQX)(k,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=(0,t.WQX)(e.g).getId("mat-expansion-panel-header-");constructor(){super();const ge=(0,t.WQX)(_,{optional:!0});this._expansionDispatcher=(0,t.WQX)(T.z),ge&&(this.hideToggle=ge.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,U.Z)(null),(0,K.p)(()=>this.expanded&&!this._portal),(0,q.s)(1)).subscribe(()=>{this._portal=new P.VA(this._lazyContent._template,this._viewContainerRef)}),this._setupAnimationEvents()}ngOnChanges(ge){this._inputChanges.next(ge)}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransitionEnd?.(),this._inputChanges.complete()}_containsFocus(){if(this._body){const ge=this._document.activeElement,ve=this._body.nativeElement;return ge===ve||ve.contains(ge)}return!1}_transitionEndListener=({target:ge,propertyName:ve})=>{ge===this._bodyWrapper?.nativeElement&&"grid-template-rows"===ve&&this._ngZone.run(()=>{this.expanded?this.afterExpand.emit():this.afterCollapse.emit()})};_setupAnimationEvents(){this._ngZone.runOutsideAngular(()=>{this._animationsDisabled?(this.opened.subscribe(()=>this._ngZone.run(()=>this.afterExpand.emit())),this.closed.subscribe(()=>this._ngZone.run(()=>this.afterCollapse.emit()))):setTimeout(()=>{const ge=this._elementRef.nativeElement;this._cleanupTransitionEnd=this._renderer.listen(ge,"transitionend",this._transitionEndListener),ge.classList.add("mat-expansion-panel-animations-enabled")},200)})}static \u0275fac=function(ve){return new(ve||Le)};static \u0275cmp=i.VBU({type:Le,selectors:[["mat-expansion-panel"]],contentQueries:function(ve,Oe,Ee){if(1&ve&&i.wni(Ee,r,5),2&ve){let dt;i.mGM(dt=i.lsd())&&(Oe._lazyContent=dt.first)}},viewQuery:function(ve,Oe){if(1&ve&&(i.GBs(Te,5),i.GBs(D,5)),2&ve){let Ee;i.mGM(Ee=i.lsd())&&(Oe._body=Ee.first),i.mGM(Ee=i.lsd())&&(Oe._bodyWrapper=Ee.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(ve,Oe){2&ve&&i.AVh("mat-expanded",Oe.expanded)("mat-expansion-panel-spacing",Oe._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",p.L39],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Jv_([{provide:k,useValue:void 0},{provide:x,useExisting:Le}]),i.Vt3,i.OA$],ngContentSelectors:o,decls:9,vars:4,consts:[["bodyWrapper",""],["body",""],[1,"mat-expansion-panel-content-wrapper"],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ve,Oe){1&ve&&(i.NAR(n),i.SdG(0),i.j41(1,"div",2,0)(3,"div",3,1)(5,"div",4),i.SdG(6,1),i.DNE(7,f,0,0,"ng-template",5),i.k0s(),i.SdG(8,2),i.k0s()()),2&ve&&(i.R7$(),i.BMQ("inert",Oe.expanded?null:""),i.R7$(2),i.Y8G("id",Oe.id),i.BMQ("aria-labelledby",Oe._headerId),i.R7$(4),i.Y8G("cdkPortalOutlet",Oe._portal))},dependencies:[P.I3],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;position:relative;background:var(--mat-expansion-container-background-color, var(--mat-sys-surface));color:var(--mat-expansion-container-text-color, var(--mat-sys-on-surface));border-radius:var(--mat-expansion-container-shape, 12px)}.mat-expansion-panel.mat-expansion-panel-animations-enabled{transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:var(--mat-expansion-container-elevation-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, 12px);border-top-left-radius:var(--mat-expansion-container-shape, 12px)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape, 12px);border-bottom-left-radius:var(--mat-expansion-container-shape, 12px)}@media(forced-colors: active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel-content-wrapper{display:grid;grid-template-rows:0fr;grid-template-columns:100%}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content-wrapper{transition:grid-template-rows 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{grid-template-rows:1fr}@supports not (grid-template-rows: 0fr){.mat-expansion-panel-content-wrapper{height:0}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper{height:auto}}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;min-height:0;visibility:hidden;font-family:var(--mat-expansion-container-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-sys-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-sys-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-sys-body-large-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-content{transition:visibility 190ms linear}.mat-expansion-panel.mat-expanded>.mat-expansion-panel-content-wrapper>.mat-expansion-panel-content{visibility:visible}.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, var(--mat-sys-outline))}.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}\n"],encapsulation:2,changeDetection:0})}return Le})(),B=(()=>{class Le{panel=(0,t.WQX)(W,{host:!0});_element=(0,t.WQX)(i.aKT);_focusMonitor=(0,t.WQX)(M.FN);_changeDetectorRef=(0,t.WQX)(p.gRc);_parentChangeSubscription=c.yU.EMPTY;constructor(){(0,t.WQX)(oe.l).load(he.A);const ge=this.panel,ve=(0,t.WQX)(_,{optional:!0}),Oe=(0,t.WQX)(new p.ES_("tabindex"),{optional:!0}),Ee=ge.accordion?ge.accordion._stateChanges.pipe((0,K.p)(dt=>!(!dt.hideToggle&&!dt.togglePosition))):$.w;this.tabIndex=parseInt(Oe||"")||0,this._parentChangeSubscription=(0,ae.h)(ge.opened,ge.closed,Ee,ge._inputChanges.pipe((0,K.p)(dt=>!!(dt.hideToggle||dt.disabled||dt.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),ge.closed.pipe((0,K.p)(()=>ge._containsFocus())).subscribe(()=>this._focusMonitor.focusVia(this._element,"program")),ve&&(this.expandedHeight=ve.expandedHeight,this.collapsedHeight=ve.collapsedHeight)}expandedHeight;collapsedHeight;tabIndex=0;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 ge=this._isExpanded();return ge&&this.expandedHeight?this.expandedHeight:!ge&&this.collapsedHeight?this.collapsedHeight:null}_keydown(ge){switch(ge.keyCode){case G.t6:case G.Fm:(0,Q.rp)(ge)||(ge.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(ge))}}focus(ge,ve){ge?this._focusMonitor.focusVia(this._element,ge,ve):this._element.nativeElement.focus(ve)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(ge=>{ge&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static \u0275fac=function(ve){return new(ve||Le)};static \u0275cmp=i.VBU({type:Le,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:13,hostBindings:function(ve,Oe){1&ve&&i.bIt("click",function(){return Oe._toggle()})("keydown",function(dt){return Oe._keydown(dt)}),2&ve&&(i.BMQ("id",Oe.panel._headerId)("tabindex",Oe.disabled?-1:Oe.tabIndex)("aria-controls",Oe._getPanelId())("aria-expanded",Oe._isExpanded())("aria-disabled",Oe.panel.disabled),i.xc7("height",Oe._getHeaderHeight()),i.AVh("mat-expanded",Oe._isExpanded())("mat-expansion-toggle-indicator-after","after"===Oe._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Oe._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",ge=>null==ge?0:(0,p.Udg)(ge)]},ngContentSelectors:b,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(ve,Oe){1&ve&&(i.NAR(h),i.rj2(0,"span",0),i.SdG(1),i.SdG(2,1),i.SdG(3,2),i.eux(),i.nVh(4,A,3,0,"span",1)),2&ve&&(i.AVh("mat-content-hide-toggle",!Oe._showToggle()),i.R7$(4),i.vxM(Oe._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;height:var(--mat-expansion-header-collapsed-state-height, 48px);font-family:var(--mat-expansion-header-text-font, var(--mat-sys-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-sys-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-sys-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-sys-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-sys-title-medium-tracking))}.mat-expansion-panel-animations-enabled .mat-expansion-panel-header{transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header::before{border-radius:inherit}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height, 64px)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}@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, var(--mat-sys-surface))}}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}.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, var(--mat-sys-on-surface))}.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, var(--mat-sys-on-surface-variant))}.mat-expansion-panel-animations-enabled .mat-expansion-indicator{transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header.mat-expanded .mat-expansion-indicator{transform:rotate(180deg)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, none)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-sys-on-surface-variant));display:var(--mat-expansion-header-indicator-display, inline-block)}@media(forced-colors: active){.mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}}\n'],encapsulation:2,changeDetection:0})}return Le})(),re=(()=>{class Le{static \u0275fac=function(ve){return new(ve||Le)};static \u0275dir=i.FsC({type:Le,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return Le})(),pe=(()=>{class Le{static \u0275fac=function(ve){return new(ve||Le)};static \u0275dir=i.FsC({type:Le,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return Le})(),be=(()=>{class Le extends d{_keyManager;_ownHeaders=new i.rOR;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe((0,U.Z)(this._headers)).subscribe(ge=>{this._ownHeaders.reset(ge.filter(ve=>ve.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new j.B(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(ge){this._keyManager.onKeydown(ge)}_handleHeaderFocus(ge){this._keyManager.updateActiveItem(ge)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static \u0275fac=(()=>{let ge;return function(Oe){return(ge||(ge=i.xGo(Le)))(Oe||Le)}})();static \u0275dir=i.FsC({type:Le,selectors:[["mat-accordion"]],contentQueries:function(ve,Oe,Ee){if(1&ve&&i.wni(Ee,B,5),2&ve){let dt;i.mGM(dt=i.lsd())&&(Oe._headers=dt)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(ve,Oe){2&ve&&i.AVh("mat-accordion-multi",Oe.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",p.L39],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[i.Jv_([{provide:k,useExisting:Le}]),i.Vt3]})}return Le})(),Be=(()=>{class Le{static \u0275fac=function(ve){return new(ve||Le)};static \u0275mod=i.$C({type:Le});static \u0275inj=t.G2t({imports:[me.y,m,P.jc]})}return Le})()},9656:Ae=>{"use strict";Ae.exports=typeof process>"u"||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?{nextTick:function ee(l,i,t,p){if("function"!=typeof l)throw new TypeError('"callback" argument must be a function');var c,e,S=arguments.length;switch(S){case 0:case 1:return process.nextTick(l);case 2:return process.nextTick(function(){l.call(null,i)});case 3:return process.nextTick(function(){l.call(null,i,t)});case 4:return process.nextTick(function(){l.call(null,i,t,p)});default:for(c=new Array(S-1),e=0;e<c.length;)c[e++]=arguments[e];return process.nextTick(function(){l.apply(null,c)})}}}:process},9682:(Ae,ee,l)=>{"use strict";function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var t=l(27054),p=l(3342),S=t.Buffer,c=t.kMaxLength,e=global.crypto||global.msCrypto,T=Math.pow(2,32)-1;function g(M,j){if("number"!=typeof M||M!=M)throw new TypeError("offset must be a number");if(M>T||M<0)throw new TypeError("offset must be a uint32");if(M>c||M>j)throw new RangeError("offset out of range")}function d(M,j,U){if("number"!=typeof M||M!=M)throw new TypeError("size must be a number");if(M>T||M<0)throw new TypeError("size must be a uint32");if(M+j>U||M>c)throw new RangeError("buffer too small")}function m(M,j,U,K){if(process.browser){var G=new Uint8Array(M.buffer,j,U);return e.getRandomValues(G),K?void process.nextTick(function(){K(null,M)}):M}if(!K)return p(U).copy(M,j),M;p(U,function($,ae){if($)return K($);ae.copy(M,j),K(null,M)})}e&&e.getRandomValues||!process.browser?(ee.randomFill=function w(M,j,U,K){if(!(S.isBuffer(M)||M instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof j)K=j,j=0,U=M.length;else if("function"==typeof U)K=U,U=M.length-j;else if("function"!=typeof K)throw new TypeError('"cb" argument must be a function');return g(j,M.length),d(U,j,M.length),m(M,j,U,K)},ee.randomFillSync=function P(M,j,U){if(typeof j>"u"&&(j=0),!(S.isBuffer(M)||M instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return g(j,M.length),void 0===U&&(U=M.length-j),d(U,j,M.length),m(M,j,U)}):(ee.randomFill=i,ee.randomFillSync=i)},9881:(Ae,ee,l)=>{"use strict";l.d(ee,{E:()=>t});var i=l(11514);const t=(0,i.hZ)("routeAnimation",[(0,i.kY)("* => *",[(0,i.P)(":enter, :leave",(0,i.iF)({position:"fixed",width:"100%"}),{optional:!0}),(0,i.Os)([(0,i.P)(":enter",[(0,i.iF)({transform:"translateX(100%)"}),(0,i.i0)("1000ms ease-in-out",(0,i.iF)({transform:"translateX(0%)"}))],{optional:!0}),(0,i.P)(":leave",[(0,i.iF)({transform:"translateX(0%)"}),(0,i.i0)("1000ms ease-in-out",(0,i.iF)({transform:"translateX(-100%)"}))],{optional:!0})])])])},10219:(Ae,ee,l)=>{"use strict";var i=l(39210);function t(p){this.options=p,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==p.padding}Ae.exports=t,t.prototype._init=function(){},t.prototype.update=function(S){return 0===S.length?[]:"decrypt"===this.type?this._updateDecrypt(S):this._updateEncrypt(S)},t.prototype._buffer=function(S,c){for(var e=Math.min(this.buffer.length-this.bufferOff,S.length-c),T=0;T<e;T++)this.buffer[this.bufferOff+T]=S[c+T];return this.bufferOff+=e,e},t.prototype._flushBuffer=function(S,c){return this._update(this.buffer,0,S,c),this.bufferOff=0,this.blockSize},t.prototype._updateEncrypt=function(S){var c=0,e=0,g=new Array(((this.bufferOff+S.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(c+=this._buffer(S,c),this.bufferOff===this.buffer.length&&(e+=this._flushBuffer(g,e)));for(var d=S.length-(S.length-c)%this.blockSize;c<d;c+=this.blockSize)this._update(S,c,g,e),e+=this.blockSize;for(;c<S.length;c++,this.bufferOff++)this.buffer[this.bufferOff]=S[c];return g},t.prototype._updateDecrypt=function(S){for(var c=0,e=0,T=Math.ceil((this.bufferOff+S.length)/this.blockSize)-1,g=new Array(T*this.blockSize);T>0;T--)c+=this._buffer(S,c),e+=this._flushBuffer(g,e);return c+=this._buffer(S,c),g},t.prototype.final=function(S){var c,e;return S&&(c=this.update(S)),e="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),c?c.concat(e):e},t.prototype._pad=function(S,c){if(0===c)return!1;for(;c<S.length;)S[c++]=0;return!0},t.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var S=new Array(this.blockSize);return this._update(this.buffer,0,S,0),S},t.prototype._unpad=function(S){return S},t.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var S=new Array(this.blockSize);return this._flushBuffer(S,0),this._unpad(S)}},10438:(Ae,ee,l)=>{"use strict";l.d(ee,{A:()=>I,A$:()=>g,FX:()=>e,Fm:()=>c,G_:()=>t,Ge:()=>fe,Kp:()=>U,LE:()=>Q,SJ:()=>he,UQ:()=>q,W3:()=>T,Z:()=>J,_f:()=>m,bn:()=>k,dB:()=>j,eg:()=>Fn,f2:()=>me,i7:()=>G,n6:()=>$,t6:()=>P,w_:()=>M,wn:()=>p,yZ:()=>K});const t=8,p=9,c=13,e=16,T=17,g=18,m=27,P=32,M=33,j=34,U=35,K=36,q=37,G=38,Q=39,$=40,he=46,me=48,k=57,I=65,J=90,fe=91,Fn=224},10467:(Ae,ee,l)=>{"use strict";function i(p,S,c,e,T,g,d){try{var w=p[g](d),m=w.value}catch(P){return void c(P)}w.done?S(m):Promise.resolve(m).then(e,T)}function t(p){return function(){var S=this,c=arguments;return new Promise(function(e,T){var g=p.apply(S,c);function d(m){i(g,e,T,d,w,"next",m)}function w(m){i(g,e,T,d,w,"throw",m)}d(void 0)})}}l.d(ee,{A:()=>t})},10497:(Ae,ee,l)=>{"use strict";l.d(ee,{kU:()=>Kt,ZF:()=>Nt,Ld:()=>Ye,U$:()=>Jt});var i=l(21413),t=l(33726),p=l(57786),S=l(13798),c=l(56977),e=l(23294),T=l(73703),g=l(73664),d=l(17705),w=l(2615),m=l(72200),P=l(60177);function M(qe){return getComputedStyle(qe)}function j(qe,$e){for(var tt in $e){var vi=$e[tt];"number"==typeof vi&&(vi+="px"),qe.style[tt]=vi}return qe}function U(qe){var $e=document.createElement("div");return $e.className=qe,$e}var K=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function q(qe,$e){if(!K)throw new Error("No element matching method supported");return K.call(qe,$e)}function G(qe){qe.remove?qe.remove():qe.parentNode&&qe.parentNode.removeChild(qe)}function Q(qe,$e){return Array.prototype.filter.call(qe.children,function(tt){return q(tt,$e)})}var $_element_thumb=function(qe){return"ps__thumb-"+qe},$_element_rail=function(qe){return"ps__rail-"+qe},$_element_consuming="ps__child--consume",$_state_focus="ps--focus",$_state_clicking="ps--clicking",$_state_active=function(qe){return"ps--active-"+qe},$_state_scrolling=function(qe){return"ps--scrolling-"+qe},ae={x:null,y:null};function ue(qe,$e){var tt=qe.element.classList,vi=$_state_scrolling($e);tt.contains(vi)?clearTimeout(ae[$e]):tt.add(vi)}function oe(qe,$e){ae[$e]=setTimeout(function(){return qe.isAlive&&qe.element.classList.remove($_state_scrolling($e))},qe.settings.scrollingThreshold)}var me=function($e){this.element=$e,this.handlers={}},Te={isEmpty:{configurable:!0}};me.prototype.bind=function($e,tt){typeof this.handlers[$e]>"u"&&(this.handlers[$e]=[]),this.handlers[$e].push(tt),this.element.addEventListener($e,tt,!1)},me.prototype.unbind=function($e,tt){var vi=this;this.handlers[$e]=this.handlers[$e].filter(function(ei){return!(!tt||ei===tt)||(vi.element.removeEventListener($e,ei,!1),!1)})},me.prototype.unbindAll=function(){for(var $e in this.handlers)this.unbind($e)},Te.isEmpty.get=function(){var qe=this;return Object.keys(this.handlers).every(function($e){return 0===qe.handlers[$e].length})},Object.defineProperties(me.prototype,Te);var D=function(){this.eventElements=[]};function n(qe){if("function"==typeof window.CustomEvent)return new CustomEvent(qe);var $e=document.createEvent("CustomEvent");return $e.initCustomEvent(qe,!1,!1,void 0),$e}function o(qe,$e,tt,vi,ei){var ci;if(void 0===vi&&(vi=!0),void 0===ei&&(ei=!1),"top"===$e)ci=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==$e)throw new Error("A proper axis should be provided");ci=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function f(qe,$e,tt,vi,ei){var ci=tt[0],Hi=tt[1],oi=tt[2],ui=tt[3],ln=tt[4],nn=tt[5];void 0===vi&&(vi=!0),void 0===ei&&(ei=!1);var dn=qe.element;qe.reach[ui]=null,dn[oi]<1&&(qe.reach[ui]="start"),dn[oi]>qe[ci]-qe[Hi]-1&&(qe.reach[ui]="end"),$e&&(dn.dispatchEvent(n("ps-scroll-"+ui)),$e<0?dn.dispatchEvent(n("ps-scroll-"+ln)):$e>0&&dn.dispatchEvent(n("ps-scroll-"+nn)),vi&&function he(qe,$e){ue(qe,$e),oe(qe,$e)}(qe,ui)),qe.reach[ui]&&($e||ei)&&dn.dispatchEvent(n("ps-"+ui+"-reach-"+qe.reach[ui]))}(qe,tt,ci,vi,ei)}function h(qe){return parseInt(qe,10)||0}D.prototype.eventElement=function($e){var tt=this.eventElements.filter(function(vi){return vi.element===$e})[0];return tt||(tt=new me($e),this.eventElements.push(tt)),tt},D.prototype.bind=function($e,tt,vi){this.eventElement($e).bind(tt,vi)},D.prototype.unbind=function($e,tt,vi){var ei=this.eventElement($e);ei.unbind(tt,vi),ei.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(ei),1)},D.prototype.unbindAll=function(){this.eventElements.forEach(function($e){return $e.unbindAll()}),this.eventElements=[]},D.prototype.once=function($e,tt,vi){var ei=this.eventElement($e),ci=function(Hi){ei.unbind(tt,ci),vi(Hi)};ei.bind(tt,ci)};var k={isWebKit:typeof document<"u"&&"WebkitAppearance"in document.documentElement.style,supportsTouch:typeof window<"u"&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:typeof navigator<"u"&&navigator.msMaxTouchPoints,isChrome:typeof navigator<"u"&&/Chrome/i.test(navigator&&navigator.userAgent)};function x(qe){var $e=qe.element,tt=Math.floor($e.scrollTop),vi=$e.getBoundingClientRect();qe.containerWidth=Math.round(vi.width),qe.containerHeight=Math.round(vi.height),qe.contentWidth=$e.scrollWidth,qe.contentHeight=$e.scrollHeight,$e.contains(qe.scrollbarXRail)||(Q($e,$_element_rail("x")).forEach(function(ei){return G(ei)}),$e.appendChild(qe.scrollbarXRail)),$e.contains(qe.scrollbarYRail)||(Q($e,$_element_rail("y")).forEach(function(ei){return G(ei)}),$e.appendChild(qe.scrollbarYRail)),!qe.settings.suppressScrollX&&qe.containerWidth+qe.settings.scrollXMarginOffset<qe.contentWidth?(qe.scrollbarXActive=!0,qe.railXWidth=qe.containerWidth-qe.railXMarginWidth,qe.railXRatio=qe.containerWidth/qe.railXWidth,qe.scrollbarXWidth=r(qe,h(qe.railXWidth*qe.containerWidth/qe.contentWidth)),qe.scrollbarXLeft=h((qe.negativeScrollAdjustment+$e.scrollLeft)*(qe.railXWidth-qe.scrollbarXWidth)/(qe.contentWidth-qe.containerWidth))):qe.scrollbarXActive=!1,!qe.settings.suppressScrollY&&qe.containerHeight+qe.settings.scrollYMarginOffset<qe.contentHeight?(qe.scrollbarYActive=!0,qe.railYHeight=qe.containerHeight-qe.railYMarginHeight,qe.railYRatio=qe.containerHeight/qe.railYHeight,qe.scrollbarYHeight=r(qe,h(qe.railYHeight*qe.containerHeight/qe.contentHeight)),qe.scrollbarYTop=h(tt*(qe.railYHeight-qe.scrollbarYHeight)/(qe.contentHeight-qe.containerHeight))):qe.scrollbarYActive=!1,qe.scrollbarXLeft>=qe.railXWidth-qe.scrollbarXWidth&&(qe.scrollbarXLeft=qe.railXWidth-qe.scrollbarXWidth),qe.scrollbarYTop>=qe.railYHeight-qe.scrollbarYHeight&&(qe.scrollbarYTop=qe.railYHeight-qe.scrollbarYHeight),function _(qe,$e){var tt={width:$e.railXWidth},vi=Math.floor(qe.scrollTop);tt.left=$e.isRtl?$e.negativeScrollAdjustment+qe.scrollLeft+$e.containerWidth-$e.contentWidth:qe.scrollLeft,$e.isScrollbarXUsingBottom?tt.bottom=$e.scrollbarXBottom-vi:tt.top=$e.scrollbarXTop+vi,j($e.scrollbarXRail,tt);var ei={top:vi,height:$e.railYHeight};$e.isScrollbarYUsingRight?ei.right=$e.isRtl?$e.contentWidth-($e.negativeScrollAdjustment+qe.scrollLeft)-$e.scrollbarYRight-$e.scrollbarYOuterWidth-9:$e.scrollbarYRight-qe.scrollLeft:ei.left=$e.isRtl?$e.negativeScrollAdjustment+qe.scrollLeft+2*$e.containerWidth-$e.contentWidth-$e.scrollbarYLeft-$e.scrollbarYOuterWidth:$e.scrollbarYLeft+qe.scrollLeft,j($e.scrollbarYRail,ei),j($e.scrollbarX,{left:$e.scrollbarXLeft,width:$e.scrollbarXWidth-$e.railBorderXWidth}),j($e.scrollbarY,{top:$e.scrollbarYTop,height:$e.scrollbarYHeight-$e.railBorderYWidth})}($e,qe),qe.scrollbarXActive?$e.classList.add($_state_active("x")):($e.classList.remove($_state_active("x")),qe.scrollbarXWidth=0,qe.scrollbarXLeft=0,$e.scrollLeft=!0===qe.isRtl?qe.contentWidth:0),qe.scrollbarYActive?$e.classList.add($_state_active("y")):($e.classList.remove($_state_active("y")),qe.scrollbarYHeight=0,qe.scrollbarYTop=0,$e.scrollTop=0)}function r(qe,$e){return qe.settings.minScrollbarLength&&($e=Math.max($e,qe.settings.minScrollbarLength)),qe.settings.maxScrollbarLength&&($e=Math.min($e,qe.settings.maxScrollbarLength)),$e}function B(qe,$e){var tt=$e[0],vi=$e[1],ei=$e[2],ci=$e[3],Hi=$e[4],oi=$e[5],ui=$e[6],ln=$e[7],nn=$e[8],dn=qe.element,zn=null,It=null,Tt=null;function Ze(it){it.touches&&it.touches[0]&&(it[ei]=it.touches[0].pageY),dn[ui]=zn+Tt*(it[ei]-It),ue(qe,ln),x(qe),it.stopPropagation(),it.type.startsWith("touch")&&it.changedTouches.length>1&&it.preventDefault()}function Ve(){oe(qe,ln),qe[nn].classList.remove($_state_clicking),qe.event.unbind(qe.ownerDocument,"mousemove",Ze)}function Fe(it,bt){zn=dn[ui],bt&&it.touches&&(it[ei]=it.touches[0].pageY),It=it[ei],Tt=(qe[vi]-qe[tt])/(qe[ci]-qe[oi]),bt?qe.event.bind(qe.ownerDocument,"touchmove",Ze):(qe.event.bind(qe.ownerDocument,"mousemove",Ze),qe.event.once(qe.ownerDocument,"mouseup",Ve),it.preventDefault()),qe[nn].classList.add($_state_clicking),it.stopPropagation()}qe.event.bind(qe[Hi],"mousedown",function(it){Fe(it)}),qe.event.bind(qe[Hi],"touchstart",function(it){Fe(it,!0)})}var _e={"click-rail":function W(qe){qe.event.bind(qe.scrollbarY,"mousedown",function(tt){return tt.stopPropagation()}),qe.event.bind(qe.scrollbarYRail,"mousedown",function(tt){var vi=tt.pageY-window.pageYOffset-qe.scrollbarYRail.getBoundingClientRect().top;qe.element.scrollTop+=(vi>qe.scrollbarYTop?1:-1)*qe.containerHeight,x(qe),tt.stopPropagation()}),qe.event.bind(qe.scrollbarX,"mousedown",function(tt){return tt.stopPropagation()}),qe.event.bind(qe.scrollbarXRail,"mousedown",function(tt){var vi=tt.pageX-window.pageXOffset-qe.scrollbarXRail.getBoundingClientRect().left;qe.element.scrollLeft+=(vi>qe.scrollbarXLeft?1:-1)*qe.containerWidth,x(qe),tt.stopPropagation()})},"drag-thumb":function I(qe){B(qe,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),B(qe,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function re(qe){var $e=qe.element;qe.event.bind(qe.ownerDocument,"keydown",function(ci){if(!(ci.isDefaultPrevented&&ci.isDefaultPrevented()||ci.defaultPrevented)&&(q($e,":hover")||q(qe.scrollbarX,":focus")||q(qe.scrollbarY,":focus"))){var Hi=document.activeElement?document.activeElement:qe.ownerDocument.activeElement;if(Hi){if("IFRAME"===Hi.tagName)Hi=Hi.contentDocument.activeElement;else for(;Hi.shadowRoot;)Hi=Hi.shadowRoot.activeElement;if(function b(qe){return q(qe,"input,[contenteditable]")||q(qe,"select,[contenteditable]")||q(qe,"textarea,[contenteditable]")||q(qe,"button,[contenteditable]")}(Hi))return}var oi=0,ui=0;switch(ci.which){case 37:oi=ci.metaKey?-qe.contentWidth:ci.altKey?-qe.containerWidth:-30;break;case 38:ui=ci.metaKey?qe.contentHeight:ci.altKey?qe.containerHeight:30;break;case 39:oi=ci.metaKey?qe.contentWidth:ci.altKey?qe.containerWidth:30;break;case 40:ui=ci.metaKey?-qe.contentHeight:ci.altKey?-qe.containerHeight:-30;break;case 32:ui=ci.shiftKey?qe.containerHeight:-qe.containerHeight;break;case 33:ui=qe.containerHeight;break;case 34:ui=-qe.containerHeight;break;case 36:ui=qe.contentHeight;break;case 35:ui=-qe.contentHeight;break;default:return}qe.settings.suppressScrollX&&0!==oi||qe.settings.suppressScrollY&&0!==ui||($e.scrollTop-=ui,$e.scrollLeft+=oi,x(qe),function ei(ci,Hi){var oi=Math.floor($e.scrollTop);if(0===ci){if(!qe.scrollbarYActive)return!1;if(0===oi&&Hi>0||oi>=qe.contentHeight-qe.containerHeight&&Hi<0)return!qe.settings.wheelPropagation}var ui=$e.scrollLeft;if(0===Hi){if(!qe.scrollbarXActive)return!1;if(0===ui&&ci<0||ui>=qe.contentWidth-qe.containerWidth&&ci>0)return!qe.settings.wheelPropagation}return!0}(oi,ui)&&ci.preventDefault())}})},wheel:function pe(qe){var $e=qe.element;function ci(Hi){var oi=function vi(Hi){var oi=Hi.deltaX,ui=-1*Hi.deltaY;return(typeof oi>"u"||typeof ui>"u")&&(oi=-1*Hi.wheelDeltaX/6,ui=Hi.wheelDeltaY/6),Hi.deltaMode&&1===Hi.deltaMode&&(oi*=10,ui*=10),oi!=oi&&ui!=ui&&(oi=0,ui=Hi.wheelDelta),Hi.shiftKey?[-ui,-oi]:[oi,ui]}(Hi),ui=oi[0],ln=oi[1];if(!function ei(Hi,oi,ui){if(!k.isWebKit&&$e.querySelector("select:focus"))return!0;if(!$e.contains(Hi))return!1;for(var ln=Hi;ln&&ln!==$e;){if(ln.classList.contains($_element_consuming))return!0;var nn=M(ln);if(ui&&nn.overflowY.match(/(scroll|auto)/)){var dn=ln.scrollHeight-ln.clientHeight;if(dn>0&&(ln.scrollTop>0&&ui<0||ln.scrollTop<dn&&ui>0))return!0}if(oi&&nn.overflowX.match(/(scroll|auto)/)){var zn=ln.scrollWidth-ln.clientWidth;if(zn>0&&(ln.scrollLeft>0&&oi<0||ln.scrollLeft<zn&&oi>0))return!0}ln=ln.parentNode}return!1}(Hi.target,ui,ln)){var nn=!1;qe.settings.useBothWheelAxes?qe.scrollbarYActive&&!qe.scrollbarXActive?(ln?$e.scrollTop-=ln*qe.settings.wheelSpeed:$e.scrollTop+=ui*qe.settings.wheelSpeed,nn=!0):qe.scrollbarXActive&&!qe.scrollbarYActive&&(ui?$e.scrollLeft+=ui*qe.settings.wheelSpeed:$e.scrollLeft-=ln*qe.settings.wheelSpeed,nn=!0):($e.scrollTop-=ln*qe.settings.wheelSpeed,$e.scrollLeft+=ui*qe.settings.wheelSpeed),x(qe),nn=nn||function tt(Hi,oi){var ui=Math.floor($e.scrollTop),ln=0===$e.scrollTop,nn=ui+$e.offsetHeight===$e.scrollHeight,dn=0===$e.scrollLeft,zn=$e.scrollLeft+$e.offsetWidth===$e.scrollWidth;return!(Math.abs(oi)>Math.abs(Hi)?ln||nn:dn||zn)||!qe.settings.wheelPropagation}(ui,ln),nn&&!Hi.ctrlKey&&(Hi.stopPropagation(),Hi.preventDefault())}}typeof window.onwheel<"u"?qe.event.bind($e,"wheel",ci):typeof window.onmousewheel<"u"&&qe.event.bind($e,"mousewheel",ci)},touch:function be(qe){if(k.supportsTouch||k.supportsIePointer){var $e=qe.element,ei={},ci=0,Hi={},oi=null;k.supportsTouch?(qe.event.bind($e,"touchstart",nn),qe.event.bind($e,"touchmove",zn),qe.event.bind($e,"touchend",It)):k.supportsIePointer&&(window.PointerEvent?(qe.event.bind($e,"pointerdown",nn),qe.event.bind($e,"pointermove",zn),qe.event.bind($e,"pointerup",It)):window.MSPointerEvent&&(qe.event.bind($e,"MSPointerDown",nn),qe.event.bind($e,"MSPointerMove",zn),qe.event.bind($e,"MSPointerUp",It)))}function vi(Tt,Ze){$e.scrollTop-=Ze,$e.scrollLeft-=Tt,x(qe)}function ui(Tt){return Tt.targetTouches?Tt.targetTouches[0]:Tt}function ln(Tt){return!(Tt.pointerType&&"pen"===Tt.pointerType&&0===Tt.buttons||!(Tt.targetTouches&&1===Tt.targetTouches.length||Tt.pointerType&&"mouse"!==Tt.pointerType&&Tt.pointerType!==Tt.MSPOINTER_TYPE_MOUSE))}function nn(Tt){if(ln(Tt)){var Ze=ui(Tt);ei.pageX=Ze.pageX,ei.pageY=Ze.pageY,ci=(new Date).getTime(),null!==oi&&clearInterval(oi)}}function zn(Tt){if(ln(Tt)){var Ze=ui(Tt),Ve={pageX:Ze.pageX,pageY:Ze.pageY},Fe=Ve.pageX-ei.pageX,it=Ve.pageY-ei.pageY;if(function dn(Tt,Ze,Ve){if(!$e.contains(Tt))return!1;for(var Fe=Tt;Fe&&Fe!==$e;){if(Fe.classList.contains($_element_consuming))return!0;var it=M(Fe);if(Ve&&it.overflowY.match(/(scroll|auto)/)){var bt=Fe.scrollHeight-Fe.clientHeight;if(bt>0&&(Fe.scrollTop>0&&Ve<0||Fe.scrollTop<bt&&Ve>0))return!0}if(Ze&&it.overflowX.match(/(scroll|auto)/)){var ut=Fe.scrollWidth-Fe.clientWidth;if(ut>0&&(Fe.scrollLeft>0&&Ze<0||Fe.scrollLeft<ut&&Ze>0))return!0}Fe=Fe.parentNode}return!1}(Tt.target,Fe,it))return;vi(Fe,it),ei=Ve;var bt=(new Date).getTime(),ut=bt-ci;ut>0&&(Hi.x=Fe/ut,Hi.y=it/ut,ci=bt),function tt(Tt,Ze){var Ve=Math.floor($e.scrollTop),Fe=$e.scrollLeft,it=Math.abs(Tt),bt=Math.abs(Ze);if(bt>it){if(Ze<0&&Ve===qe.contentHeight-qe.containerHeight||Ze>0&&0===Ve)return 0===window.scrollY&&Ze>0&&k.isChrome}else if(it>bt&&(Tt<0&&Fe===qe.contentWidth-qe.containerWidth||Tt>0&&0===Fe))return!0;return!0}(Fe,it)&&Tt.preventDefault()}}function It(){qe.settings.swipeEasing&&(clearInterval(oi),oi=setInterval(function(){qe.isInitialized?clearInterval(oi):Hi.x||Hi.y?Math.abs(Hi.x)<.01&&Math.abs(Hi.y)<.01?clearInterval(oi):qe.element?(vi(30*Hi.x,30*Hi.y),Hi.x*=.8,Hi.y*=.8):clearInterval(oi):clearInterval(oi)},10))}}},ye=function($e,tt){var vi=this;if(void 0===tt&&(tt={}),"string"==typeof $e&&($e=document.querySelector($e)),!$e||!$e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var ei in this.element=$e,$e.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},tt)this.settings[ei]=tt[ei];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var nn,ln,ci=function(){return $e.classList.add($_state_focus)},Hi=function(){return $e.classList.remove($_state_focus)};this.isRtl="rtl"===M($e).direction,!0===this.isRtl&&$e.classList.add("ps__rtl"),this.isNegativeScroll=(ln=$e.scrollLeft,$e.scrollLeft=-1,nn=$e.scrollLeft<0,$e.scrollLeft=ln,nn),this.negativeScrollAdjustment=this.isNegativeScroll?$e.scrollWidth-$e.clientWidth:0,this.event=new D,this.ownerDocument=$e.ownerDocument||document,this.scrollbarXRail=U($_element_rail("x")),$e.appendChild(this.scrollbarXRail),this.scrollbarX=U($_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",ci),this.event.bind(this.scrollbarX,"blur",Hi),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var oi=M(this.scrollbarXRail);this.scrollbarXBottom=parseInt(oi.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=h(oi.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=h(oi.borderLeftWidth)+h(oi.borderRightWidth),j(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=h(oi.marginLeft)+h(oi.marginRight),j(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=U($_element_rail("y")),$e.appendChild(this.scrollbarYRail),this.scrollbarY=U($_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",ci),this.event.bind(this.scrollbarY,"blur",Hi),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var ui=M(this.scrollbarYRail);this.scrollbarYRight=parseInt(ui.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=h(ui.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function A(qe){var $e=M(qe);return h($e.width)+h($e.paddingLeft)+h($e.paddingRight)+h($e.borderLeftWidth)+h($e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=h(ui.borderTopWidth)+h(ui.borderBottomWidth),j(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=h(ui.marginTop)+h(ui.marginBottom),j(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:$e.scrollLeft<=0?"start":$e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:$e.scrollTop<=0?"start":$e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(ln){return _e[ln](vi)}),this.lastScrollTop=Math.floor($e.scrollTop),this.lastScrollLeft=$e.scrollLeft,this.event.bind(this.element,"scroll",function(ln){return vi.onScroll(ln)}),x(this)};ye.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,j(this.scrollbarXRail,{display:"block"}),j(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=h(M(this.scrollbarXRail).marginLeft)+h(M(this.scrollbarXRail).marginRight),this.railYMarginHeight=h(M(this.scrollbarYRail).marginTop)+h(M(this.scrollbarYRail).marginBottom),j(this.scrollbarXRail,{display:"none"}),j(this.scrollbarYRail,{display:"none"}),x(this),o(this,"top",0,!1,!0),o(this,"left",0,!1,!0),j(this.scrollbarXRail,{display:""}),j(this.scrollbarYRail,{display:""}))},ye.prototype.onScroll=function($e){this.isAlive&&(x(this),o(this,"top",this.element.scrollTop-this.lastScrollTop),o(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},ye.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),G(this.scrollbarX),G(this.scrollbarY),G(this.scrollbarXRail),G(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},ye.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function($e){return!$e.match(/^ps([-_].+|)$/)}).join(" ")};const Le=ye;var Ke=function(){if(typeof Map<"u")return Map;function qe($e,tt){var vi=-1;return $e.some(function(ei,ci){return ei[0]===tt&&(vi=ci,!0)}),vi}return function(){function $e(){this.__entries__=[]}return Object.defineProperty($e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),$e.prototype.get=function(tt){var vi=qe(this.__entries__,tt),ei=this.__entries__[vi];return ei&&ei[1]},$e.prototype.set=function(tt,vi){var ei=qe(this.__entries__,tt);~ei?this.__entries__[ei][1]=vi:this.__entries__.push([tt,vi])},$e.prototype.delete=function(tt){var vi=this.__entries__,ei=qe(vi,tt);~ei&&vi.splice(ei,1)},$e.prototype.has=function(tt){return!!~qe(this.__entries__,tt)},$e.prototype.clear=function(){this.__entries__.splice(0)},$e.prototype.forEach=function(tt,vi){void 0===vi&&(vi=null);for(var ei=0,ci=this.__entries__;ei<ci.length;ei++){var Hi=ci[ei];tt.call(vi,Hi[1],Hi[0])}},$e}()}(),ge=typeof window<"u"&&typeof document<"u"&&window.document===document,ve=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Oe="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(ve):function(qe){return setTimeout(function(){return qe(Date.now())},1e3/60)},Ct=["top","right","bottom","left","width","height","size","weight"],Mt=typeof MutationObserver<"u",lt=function(){function qe(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function dt(qe,$e){var tt=!1,vi=!1,ei=0;function ci(){tt&&(tt=!1,qe()),vi&&oi()}function Hi(){Oe(ci)}function oi(){var ui=Date.now();if(tt){if(ui-ei<2)return;vi=!0}else tt=!0,vi=!1,setTimeout(Hi,$e);ei=ui}return oi}(this.refresh.bind(this),20)}return qe.prototype.addObserver=function($e){~this.observers_.indexOf($e)||this.observers_.push($e),this.connected_||this.connect_()},qe.prototype.removeObserver=function($e){var tt=this.observers_,vi=tt.indexOf($e);~vi&&tt.splice(vi,1),!tt.length&&this.connected_&&this.disconnect_()},qe.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},qe.prototype.updateObservers_=function(){var $e=this.observers_.filter(function(tt){return tt.gatherActive(),tt.hasActive()});return $e.forEach(function(tt){return tt.broadcastActive()}),$e.length>0},qe.prototype.connect_=function(){!ge||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Mt?(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)},qe.prototype.disconnect_=function(){!ge||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},qe.prototype.onTransitionEnd_=function($e){var tt=$e.propertyName,vi=void 0===tt?"":tt;Ct.some(function(ci){return!!~vi.indexOf(ci)})&&this.refresh()},qe.getInstance=function(){return this.instance_||(this.instance_=new qe),this.instance_},qe.instance_=null,qe}(),Pe=function(qe,$e){for(var tt=0,vi=Object.keys($e);tt<vi.length;tt++){var ei=vi[tt];Object.defineProperty(qe,ei,{value:$e[ei],enumerable:!1,writable:!1,configurable:!0})}return qe},Ht=function(qe){return qe&&qe.ownerDocument&&qe.ownerDocument.defaultView||ve},ct=di(0,0,0,0);function Ce(qe){return parseFloat(qe)||0}function ze(qe){for(var $e=[],tt=1;tt<arguments.length;tt++)$e[tt-1]=arguments[tt];return $e.reduce(function(vi,ei){return vi+Ce(qe["border-"+ei+"-width"])},0)}var Ie=function(){return typeof SVGGraphicsElement<"u"?function(qe){return qe instanceof Ht(qe).SVGGraphicsElement}:function(qe){return qe instanceof Ht(qe).SVGElement&&"function"==typeof qe.getBBox}}();function li(qe){return ge?Ie(qe)?function J(qe){var $e=qe.getBBox();return di(0,0,$e.width,$e.height)}(qe):function fe(qe){var $e=qe.clientWidth,tt=qe.clientHeight;if(!$e&&!tt)return ct;var vi=Ht(qe).getComputedStyle(qe),ei=function Z(qe){for(var tt={},vi=0,ei=["top","right","bottom","left"];vi<ei.length;vi++){var ci=ei[vi];tt[ci]=Ce(qe["padding-"+ci])}return tt}(vi),ci=ei.left+ei.right,Hi=ei.top+ei.bottom,oi=Ce(vi.width),ui=Ce(vi.height);if("border-box"===vi.boxSizing&&(Math.round(oi+ci)!==$e&&(oi-=ze(vi,"left","right")+ci),Math.round(ui+Hi)!==tt&&(ui-=ze(vi,"top","bottom")+Hi)),!function ht(qe){return qe===Ht(qe).document.documentElement}(qe)){var ln=Math.round(oi+ci)-$e,nn=Math.round(ui+Hi)-tt;1!==Math.abs(ln)&&(oi-=ln),1!==Math.abs(nn)&&(ui-=nn)}return di(ei.left,ei.top,oi,ui)}(qe):ct}function di(qe,$e,tt,vi){return{x:qe,y:$e,width:tt,height:vi}}var kt=function(){function qe($e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=di(0,0,0,0),this.target=$e}return qe.prototype.isActive=function(){var $e=li(this.target);return this.contentRect_=$e,$e.width!==this.broadcastWidth||$e.height!==this.broadcastHeight},qe.prototype.broadcastRect=function(){var $e=this.contentRect_;return this.broadcastWidth=$e.width,this.broadcastHeight=$e.height,$e},qe}(),Rt=function(){return function qe($e,tt){var vi=function Qt(qe){var $e=qe.x,tt=qe.y,vi=qe.width,ei=qe.height,ci=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,Hi=Object.create(ci.prototype);return Pe(Hi,{x:$e,y:tt,width:vi,height:ei,top:tt,right:$e+vi,bottom:ei+tt,left:$e}),Hi}(tt);Pe(this,{target:$e,contentRect:vi})}}(),le=function(){function qe($e,tt,vi){if(this.activeObservations_=[],this.observations_=new Ke,"function"!=typeof $e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=$e,this.controller_=tt,this.callbackCtx_=vi}return qe.prototype.observe=function($e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!($e instanceof Ht($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var tt=this.observations_;tt.has($e)||(tt.set($e,new kt($e)),this.controller_.addObserver(this),this.controller_.refresh())}},qe.prototype.unobserve=function($e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!($e instanceof Ht($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var tt=this.observations_;tt.has($e)&&(tt.delete($e),tt.size||this.controller_.removeObserver(this))}},qe.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},qe.prototype.gatherActive=function(){var $e=this;this.clearActive(),this.observations_.forEach(function(tt){tt.isActive()&&$e.activeObservations_.push(tt)})},qe.prototype.broadcastActive=function(){if(this.hasActive()){var $e=this.callbackCtx_,tt=this.activeObservations_.map(function(vi){return new Rt(vi.target,vi.broadcastRect())});this.callback_.call($e,tt,$e),this.clearActive()}},qe.prototype.clearActive=function(){this.activeObservations_.splice(0)},qe.prototype.hasActive=function(){return this.activeObservations_.length>0},qe}(),te=typeof WeakMap<"u"?new WeakMap:new Ke,ce=function(){return function qe($e){if(!(this instanceof qe))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var tt=lt.getInstance(),vi=new le($e,tt,this);te.set(this,vi)}}();["observe","unobserve","disconnect"].forEach(function(qe){ce.prototype[qe]=function(){var $e;return($e=te.get(this))[qe].apply($e,arguments)}});const ke=typeof ve.ResizeObserver<"u"?ve.ResizeObserver:ce,Ue=["*"];function Ne(qe,$e){if(1&qe&&(g.j41(0,"div",3),g.nrm(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),g.k0s()),2&qe){const tt=g.XpG();g.AVh("ps-at-top",tt.states.top)("ps-at-left",tt.states.left)("ps-at-right",tt.states.right)("ps-at-bottom",tt.states.bottom),g.R7$(),g.AVh("ps-indicator-show",tt.indicatorY&&tt.interaction),g.R7$(),g.AVh("ps-indicator-show",tt.indicatorX&&tt.interaction),g.R7$(),g.AVh("ps-indicator-show",tt.indicatorX&&tt.interaction),g.R7$(),g.AVh("ps-indicator-show",tt.indicatorY&&tt.interaction)}}const Kt=new w.nKC("PERFECT_SCROLLBAR_CONFIG");class yt{constructor($e,tt,vi,ei){this.x=$e,this.y=tt,this.w=vi,this.h=ei}}class Vt{constructor($e,tt){this.x=$e,this.y=tt}}const Zt=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class ti{constructor($e={}){this.assign($e)}assign($e={}){for(const tt in $e)this[tt]=$e[tt]}}let Ye=(()=>{class qe{constructor(tt,vi,ei,ci,Hi){this.zone=tt,this.differs=vi,this.elementRef=ei,this.platformId=ci,this.defaults=Hi,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new i.B,this.disabled=!1,this.psScrollY=new g.bkB,this.psScrollX=new g.bkB,this.psScrollUp=new g.bkB,this.psScrollDown=new g.bkB,this.psScrollLeft=new g.bkB,this.psScrollRight=new g.bkB,this.psYReachEnd=new g.bkB,this.psYReachStart=new g.bkB,this.psXReachEnd=new g.bkB,this.psXReachStart=new g.bkB}ngOnInit(){if(!this.disabled&&(0,P.UE)(this.platformId)){const tt=new ti(this.defaults);tt.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new Le(this.elementRef.nativeElement,tt)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new ke(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{Zt.forEach(vi=>{const ei=vi.replace(/([A-Z])/g,ci=>`-${ci.toLowerCase()}`);(0,t.R)(this.elementRef.nativeElement,ei).pipe((0,S.Z)(20),(0,c.Q)(this.ngDestroy)).subscribe(ci=>{this[vi].emit(ci)})})})}}ngOnDestroy(){(0,P.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,P.UE)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(tt){tt.disabled&&!tt.disabled.isFirstChange()&&(0,P.UE)(this.platformId)&&tt.disabled.currentValue!==tt.disabled.previousValue&&(!0===tt.disabled.currentValue?this.ngOnDestroy():!1===tt.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(tt="scroll"){return new yt(this.elementRef.nativeElement[tt+"Left"],this.elementRef.nativeElement[tt+"Top"],this.elementRef.nativeElement[tt+"Width"],this.elementRef.nativeElement[tt+"Height"])}position(tt=!1){return!tt&&this.instance?new Vt(this.instance.reach.x||0,this.instance.reach.y||0):new Vt(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(tt="any"){const vi=this.elementRef.nativeElement;return"any"===tt?vi.classList.contains("ps--active-x")||vi.classList.contains("ps--active-y"):"both"===tt?vi.classList.contains("ps--active-x")&&vi.classList.contains("ps--active-y"):vi.classList.contains("ps--active-"+tt)}scrollTo(tt,vi,ei){this.disabled||(null==vi&&null==ei?this.animateScrolling("scrollTop",tt,ei):(null!=tt&&this.animateScrolling("scrollLeft",tt,ei),null!=vi&&this.animateScrolling("scrollTop",vi,ei)))}scrollToX(tt,vi){this.animateScrolling("scrollLeft",tt,vi)}scrollToY(tt,vi){this.animateScrolling("scrollTop",tt,vi)}scrollToTop(tt,vi){this.animateScrolling("scrollTop",tt||0,vi)}scrollToLeft(tt,vi){this.animateScrolling("scrollLeft",tt||0,vi)}scrollToRight(tt,vi){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(tt||0),vi)}scrollToBottom(tt,vi){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(tt||0),vi)}scrollToElement(tt,vi,ei){if("string"==typeof tt&&(tt=this.elementRef.nativeElement.querySelector(tt)),tt){const ci=tt.getBoundingClientRect(),Hi=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",ci.left-Hi.left+this.elementRef.nativeElement.scrollLeft+(vi||0),ei),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",ci.top-Hi.top+this.elementRef.nativeElement.scrollTop+(vi||0),ei)}}animateScrolling(tt,vi,ei){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!ei||typeof window>"u")this.elementRef.nativeElement[tt]=vi;else if(vi!==this.elementRef.nativeElement[tt]){let ci=0,Hi=0,oi=performance.now(),ui=this.elementRef.nativeElement[tt];const ln=(ui-vi)/2,nn=dn=>{Hi+=Math.PI/(ei/(dn-oi)),ci=Math.round(vi+ln+ln*Math.cos(Hi)),this.elementRef.nativeElement[tt]===ui&&(Hi>=Math.PI?this.animateScrolling(tt,vi,0):(this.elementRef.nativeElement[tt]=ci,ui=this.elementRef.nativeElement[tt],oi=dn,this.animation=window.requestAnimationFrame(nn)))};window.requestAnimationFrame(nn)}}}return qe.\u0275fac=function(tt){return new(tt||qe)(g.rXU(g.SKi),g.rXU(d.MKu),g.rXU(g.aKT),g.rXU(g.Agw),g.rXU(Kt,8))},qe.\u0275dir=g.FsC({type:qe,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"],standalone:!1,features:[g.OA$]}),qe})(),Nt=(()=>{class qe{constructor(tt,vi,ei){this.zone=tt,this.cdRef=vi,this.platformId=ei,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 i.B,this.stateUpdate=new i.B,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new g.bkB,this.psScrollX=new g.bkB,this.psScrollUp=new g.bkB,this.psScrollDown=new g.bkB,this.psScrollLeft=new g.bkB,this.psScrollRight=new g.bkB,this.psYReachEnd=new g.bkB,this.psYReachStart=new g.bkB,this.psXReachEnd=new g.bkB,this.psXReachStart=new g.bkB}ngOnInit(){(0,P.UE)(this.platformId)&&(this.stateUpdate.pipe((0,c.Q)(this.ngDestroy),(0,e.F)((tt,vi)=>tt===vi&&!this.stateTimeout)).subscribe(tt=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===tt||"y"===tt?(this.interaction=!1,"x"===tt?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===tt&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===tt||"right"===tt?(this.states.left=!1,this.states.right=!1,this.states[tt]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===tt||"bottom"===tt)&&(this.states.top=!1,this.states.bottom=!1,this.states[tt]=!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 tt=this.directiveRef.elementRef.nativeElement;(0,t.R)(tt,"wheel").pipe((0,c.Q)(this.ngDestroy)).subscribe(vi=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(vi,vi.deltaX,vi.deltaY)}),(0,t.R)(tt,"touchmove").pipe((0,c.Q)(this.ngDestroy)).subscribe(vi=>{if(!this.disabled&&this.autoPropagation){const ei=vi.touches[0].clientX,ci=vi.touches[0].clientY;this.checkPropagation(vi,ei-this.scrollPositionX,ci-this.scrollPositionY),this.scrollPositionX=ei,this.scrollPositionY=ci}}),(0,p.h)((0,t.R)(tt,"ps-scroll-x").pipe((0,T.u)("x")),(0,t.R)(tt,"ps-scroll-y").pipe((0,T.u)("y")),(0,t.R)(tt,"ps-x-reach-end").pipe((0,T.u)("right")),(0,t.R)(tt,"ps-y-reach-end").pipe((0,T.u)("bottom")),(0,t.R)(tt,"ps-x-reach-start").pipe((0,T.u)("left")),(0,t.R)(tt,"ps-y-reach-start").pipe((0,T.u)("top"))).pipe((0,c.Q)(this.ngDestroy)).subscribe(vi=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(vi)})}}),window.setTimeout(()=>{Zt.forEach(tt=>{this.directiveRef&&(this.directiveRef[tt]=this[tt])})},0))}ngOnDestroy(){(0,P.UE)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,P.UE)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const tt=this.directiveRef.elementRef.nativeElement;this.usePropagationX=tt.classList.contains("ps--active-x"),this.usePropagationY=tt.classList.contains("ps--active-y")}}checkPropagation(tt,vi,ei){this.interaction=!0;const ci=vi<0?-1:1,Hi=ei<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==ci)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==Hi))&&(tt.preventDefault(),tt.stopPropagation()),vi&&(this.scrollDirectionX=ci),ei&&(this.scrollDirectionY=Hi),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return qe.\u0275fac=function(tt){return new(tt||qe)(g.rXU(g.SKi),g.rXU(d.gRc),g.rXU(g.Agw))},qe.\u0275cmp=g.VBU({type:qe,selectors:[["perfect-scrollbar"]],viewQuery:function(tt,vi){if(1&tt&&g.GBs(Ye,7),2&tt){let ei;g.mGM(ei=g.lsd())&&(vi.directiveRef=ei.first)}},hostVars:4,hostBindings:function(tt,vi){2&tt&&g.AVh("ps-show-limits",vi.autoPropagation)("ps-show-active",vi.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"],standalone:!1,ngContentSelectors:Ue,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(tt,vi){1&tt&&(g.NAR(),g.j41(0,"div",0)(1,"div",1),g.SdG(2),g.k0s(),g.DNE(3,Ne,5,16,"div",2),g.k0s()),2&tt&&(g.AVh("ps",vi.usePSClass),g.Y8G("perfectScrollbar",vi.config)("disabled",vi.disabled),g.R7$(3),g.Y8G("ngIf",vi.scrollIndicators))},dependencies:[Ye,m.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}),qe})(),Jt=(()=>{class qe{}return qe.\u0275fac=function(tt){return new(tt||qe)},qe.\u0275mod=g.$C({type:qe}),qe.\u0275inj=w.G2t({imports:[[m.MD],m.MD]}),qe})()},10568:(Ae,ee,l)=>{var i=l(16508),t=l(27054).Buffer;Ae.exports=function p(S,c){return t.from(S.toRed(i.mont(c.modulus)).redPow(new i(c.publicExponent)).fromRed().toArray())}},10820:function(Ae){!function(ee){"use strict";var l={bytesToString:function(i){return i.map(function(t){return String.fromCharCode(t)}).join("")},stringToBytes:function(i){return i.split("").map(function(t){return t.charCodeAt(0)})}};l.UTF8={bytesToString:function(i){return decodeURIComponent(escape(l.bytesToString(i)))},stringToBytes:function(i){return l.stringToBytes(unescape(encodeURIComponent(i)))}},Ae.exports?Ae.exports=l:ee.convertString=l}(this)},10827:(Ae,ee,l)=>{"use strict";var i=l(68283),t=l(12901),p=l(39210),S=i.rotr64_hi,c=i.rotr64_lo,e=i.shr64_hi,T=i.shr64_lo,g=i.sum64,d=i.sum64_hi,w=i.sum64_lo,m=i.sum64_4_hi,P=i.sum64_4_lo,M=i.sum64_5_hi,j=i.sum64_5_lo,U=t.BlockHash,K=[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 q(){if(!(this instanceof q))return new q;U.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=K,this.W=new Array(160)}function G(f,h,b,A,k){var x=f&b^~f&k;return x<0&&(x+=4294967296),x}function Q(f,h,b,A,k,x){var r=h&A^~h&x;return r<0&&(r+=4294967296),r}function $(f,h,b,A,k){var x=f&b^f&k^b&k;return x<0&&(x+=4294967296),x}function ae(f,h,b,A,k,x){var r=h&A^h&x^A&x;return r<0&&(r+=4294967296),r}function ue(f,h){var x=S(f,h,28)^S(h,f,2)^S(h,f,7);return x<0&&(x+=4294967296),x}function oe(f,h){var x=c(f,h,28)^c(h,f,2)^c(h,f,7);return x<0&&(x+=4294967296),x}function he(f,h){var x=S(f,h,14)^S(f,h,18)^S(h,f,9);return x<0&&(x+=4294967296),x}function me(f,h){var x=c(f,h,14)^c(f,h,18)^c(h,f,9);return x<0&&(x+=4294967296),x}function Te(f,h){var x=S(f,h,1)^S(f,h,8)^e(f,h,7);return x<0&&(x+=4294967296),x}function D(f,h){var x=c(f,h,1)^c(f,h,8)^T(f,h,7);return x<0&&(x+=4294967296),x}function n(f,h){var x=S(f,h,19)^S(h,f,29)^e(f,h,6);return x<0&&(x+=4294967296),x}function o(f,h){var x=c(f,h,19)^c(h,f,29)^T(f,h,6);return x<0&&(x+=4294967296),x}i.inherits(q,U),Ae.exports=q,q.blockSize=1024,q.outSize=512,q.hmacStrength=192,q.padLength=128,q.prototype._prepareBlock=function(h,b){for(var A=this.W,k=0;k<32;k++)A[k]=h[b+k];for(;k<A.length;k+=2){var x=n(A[k-4],A[k-3]),r=o(A[k-4],A[k-3]),_=A[k-14],W=A[k-13],I=Te(A[k-30],A[k-29]),B=D(A[k-30],A[k-29]),re=A[k-32],pe=A[k-31];A[k]=m(x,r,_,W,I,B,re,pe),A[k+1]=P(x,r,_,W,I,B,re,pe)}},q.prototype._update=function(h,b){this._prepareBlock(h,b);var A=this.W,k=this.h[0],x=this.h[1],r=this.h[2],_=this.h[3],W=this.h[4],I=this.h[5],B=this.h[6],re=this.h[7],pe=this.h[8],be=this.h[9],Be=this.h[10],_e=this.h[11],ye=this.h[12],Le=this.h[13],Ke=this.h[14],ge=this.h[15];p(this.k.length===A.length);for(var ve=0;ve<A.length;ve+=2){var Oe=Ke,Ee=ge,dt=he(pe,be),nt=me(pe,be),Ct=G(pe,0,Be,0,ye),Mt=Q(0,be,0,_e,0,Le),lt=this.k[ve],Pe=this.k[ve+1],Ht=A[ve],ct=A[ve+1],Ce=M(Oe,Ee,dt,nt,Ct,Mt,lt,Pe,Ht,ct),ze=j(Oe,Ee,dt,nt,Ct,Mt,lt,Pe,Ht,ct);Oe=ue(k,x),Ee=oe(k,x),dt=$(k,0,r,0,W),nt=ae(0,x,0,_,0,I);var Z=d(Oe,Ee,dt,nt),J=w(Oe,Ee,dt,nt);Ke=ye,ge=Le,ye=Be,Le=_e,Be=pe,_e=be,pe=d(B,re,Ce,ze),be=w(re,re,Ce,ze),B=W,re=I,W=r,I=_,r=k,_=x,k=d(Ce,ze,Z,J),x=w(Ce,ze,Z,J)}g(this.h,0,k,x),g(this.h,2,r,_),g(this.h,4,W,I),g(this.h,6,B,re),g(this.h,8,pe,be),g(this.h,10,Be,_e),g(this.h,12,ye,Le),g(this.h,14,Ke,ge)},q.prototype._digest=function(h){return"hex"===h?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},11048:(Ae,ee,l)=>{"use strict";l.d(ee,{E:()=>M});var i=l(2615),t=l(73664),p=l(39842),S=l(44522),c=l(31804),e=l(12496);const T={capture:!0},g=["focus","mousedown","mouseenter","touchstart"],d="mat-ripple-loader-uninitialized",w="mat-ripple-loader-class-name",m="mat-ripple-loader-centered",P="mat-ripple-loader-disabled";let M=(()=>{class j{_document=(0,i.WQX)(i.qQL);_animationsDisabled=(0,c.Rc)();_globalRippleOptions=(0,i.WQX)(e.$E,{optional:!0});_platform=(0,i.WQX)(p.O);_ngZone=(0,i.WQX)(t.SKi);_injector=(0,i.WQX)(i.zZn);_eventCleanups;_hosts=new Map;constructor(){const K=(0,i.WQX)(t._9s).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>g.map(q=>K.listen(this._document,q,this._onInteraction,T)))}ngOnDestroy(){const K=this._hosts.keys();for(const q of K)this.destroyRipple(q);this._eventCleanups.forEach(q=>q())}configureRipple(K,q){K.setAttribute(d,this._globalRippleOptions?.namespace??""),(q.className||!K.hasAttribute(w))&&K.setAttribute(w,q.className||""),q.centered&&K.setAttribute(m,""),q.disabled&&K.setAttribute(P,"")}setDisabled(K,q){const G=this._hosts.get(K);G?(G.target.rippleDisabled=q,!q&&!G.hasSetUpEvents&&(G.hasSetUpEvents=!0,G.renderer.setupTriggerEvents(K))):q?K.setAttribute(P,""):K.removeAttribute(P)}_onInteraction=K=>{const q=(0,S.Fb)(K);if(q instanceof HTMLElement){const G=q.closest(`[${d}="${this._globalRippleOptions?.namespace??""}"]`);G&&this._createRipple(G)}};_createRipple(K){if(!this._document||this._hosts.has(K))return;K.querySelector(".mat-ripple")?.remove();const q=this._document.createElement("span");q.classList.add("mat-ripple",K.getAttribute(w)),K.append(q);const G=this._globalRippleOptions,Q=this._animationsDisabled?0:G?.animation?.enterDuration??e.EX.enterDuration,$=this._animationsDisabled?0:G?.animation?.exitDuration??e.EX.exitDuration,ae={rippleDisabled:this._animationsDisabled||G?.disabled||K.hasAttribute(P),rippleConfig:{centered:K.hasAttribute(m),terminateOnPointerUp:G?.terminateOnPointerUp,animation:{enterDuration:Q,exitDuration:$}}},ue=new e.ug(ae,this._ngZone,q,this._platform,this._injector),oe=!ae.rippleDisabled;oe&&ue.setupTriggerEvents(K),this._hosts.set(K,{target:ae,renderer:ue,hasSetUpEvents:oe}),K.removeAttribute(d)}destroyRipple(K){const q=this._hosts.get(K);q&&(q.renderer._removeTriggerEvents(),this._hosts.delete(K))}static \u0275fac=function(q){return new(q||j)};static \u0275prov=i.jDH({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},11514:(Ae,ee,l)=>{"use strict";l.d(ee,{FX:()=>G,If:()=>i,K2:()=>e,Os:()=>c,P:()=>j,PZ:()=>q,hZ:()=>p,i0:()=>S,i7:()=>d,iF:()=>T,kY:()=>w,kp:()=>t,sf:()=>K,wk:()=>g});var i=function(Q){return Q[Q.State=0]="State",Q[Q.Transition=1]="Transition",Q[Q.Sequence=2]="Sequence",Q[Q.Group=3]="Group",Q[Q.Animate=4]="Animate",Q[Q.Keyframes=5]="Keyframes",Q[Q.Style=6]="Style",Q[Q.Trigger=7]="Trigger",Q[Q.Reference=8]="Reference",Q[Q.AnimateChild=9]="AnimateChild",Q[Q.AnimateRef=10]="AnimateRef",Q[Q.Query=11]="Query",Q[Q.Stagger=12]="Stagger",Q}(i||{});const t="*";function p(Q,$){return{type:i.Trigger,name:Q,definitions:$,options:{}}}function S(Q,$=null){return{type:i.Animate,styles:$,timings:Q}}function c(Q,$=null){return{type:i.Group,steps:Q,options:$}}function e(Q,$=null){return{type:i.Sequence,steps:Q,options:$}}function T(Q){return{type:i.Style,styles:Q,offset:null}}function g(Q,$,ae){return{type:i.State,name:Q,styles:$,options:ae}}function d(Q){return{type:i.Keyframes,steps:Q}}function w(Q,$,ae=null){return{type:i.Transition,expr:Q,animation:$,options:ae}}function j(Q,$,ae=null){return{type:i.Query,selector:Q,animation:$,options:ae}}class K{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor($=0,ae=0){this.totalTime=$+ae}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach($=>$()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition($){this._position=this.totalTime?$*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback($){const ae="start"==$?this._onStartFns:this._onDoneFns;ae.forEach(ue=>ue()),ae.length=0}}class q{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor($){this.players=$;let ae=0,ue=0,oe=0;const he=this.players.length;0==he?queueMicrotask(()=>this._onFinish()):this.players.forEach(me=>{me.onDone(()=>{++ae==he&&this._onFinish()}),me.onDestroy(()=>{++ue==he&&this._onDestroy()}),me.onStart(()=>{++oe==he&&this._onStart()})}),this.totalTime=this.players.reduce((me,Te)=>Math.max(me,Te.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this.players.forEach($=>$.init())}onStart($){this._onStartFns.push($)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach($=>$()),this._onStartFns=[])}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach($=>$.play())}pause(){this.players.forEach($=>$.pause())}restart(){this.players.forEach($=>$.restart())}finish(){this._onFinish(),this.players.forEach($=>$.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach($=>$.destroy()),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this.players.forEach($=>$.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition($){const ae=$*this.totalTime;this.players.forEach(ue=>{const oe=ue.totalTime?Math.min(1,ae/ue.totalTime):1;ue.setPosition(oe)})}getPosition(){const $=this.players.reduce((ae,ue)=>null===ae||ue.totalTime>ae.totalTime?ue:ae,null);return null!=$?$.getPosition():0}beforeDestroy(){this.players.forEach($=>{$.beforeDestroy&&$.beforeDestroy()})}triggerCallback($){const ae="start"==$?this._onStartFns:this._onDoneFns;ae.forEach(ue=>ue()),ae.length=0}}const G="!"},11747:(Ae,ee,l)=>{"use strict";l.d(ee,{En:()=>re,Vm:()=>Qt,EH:()=>o,gp:()=>pe});var i=l(57786),t=l(71985),p=l(21413),S=l(73557),c=l(983),e=l(7673),T=l(18810),g=l(98071);class w{constructor(te,ce,se){this.kind=te,this.value=ce,this.error=se,this.hasValue="N"===te}observe(te){return m(this,te)}do(te,ce,se){const{kind:ke,value:Ue,error:Ne}=this;return"N"===ke?te?.(Ue):"E"===ke?ce?.(Ne):se?.()}accept(te,ce,se){var ke;return(0,g.T)(null===(ke=te)||void 0===ke?void 0:ke.next)?this.observe(te):this.do(te,ce,se)}toObservable(){const{kind:te,value:ce,error:se}=this,ke="N"===te?(0,e.of)(ce):"E"===te?(0,T.$)(()=>se):"C"===te?c.w:0;if(!ke)throw new TypeError(`Unexpected notification kind ${te}`);return ke}static createNext(te){return new w("N",te)}static createError(te){return new w("E",void 0,te)}static createComplete(){return w.completeNotification}}function m(le,te){var ce,se,ke;const{kind:Ue,value:Ne,error:Kt}=le;if("string"!=typeof Ue)throw new TypeError('Invalid notification, missing "kind"');"N"===Ue?null===(ce=te.next)||void 0===ce||ce.call(te,Ne):"E"===Ue?null===(se=te.error)||void 0===se||se.call(te,Kt):null===(ke=te.complete)||void 0===ke||ke.call(te)}w.completeNotification=new w("C");var P=l(39974),M=l(54360),U=l(96354),K=l(99437),q=l(5964),G=l(58750);function Q(le,te,ce,se){return(0,P.N)((ke,Ue)=>{let Ne;te&&"function"!=typeof te?({duration:ce,element:Ne,connector:se}=te):Ne=te;const Kt=new Map,yt=Et=>{Kt.forEach(Et),Et(Ue)},Vt=Et=>yt(Jt=>Jt.error(Et));let Zt=0,ti=!1;const Ye=new M.H(Ue,Et=>{try{const Jt=le(Et);let qe=Kt.get(Jt);if(!qe){Kt.set(Jt,qe=se?se():new p.B);const $e=function Nt(Et,Jt){const qe=new t.c($e=>{Zt++;const tt=Jt.subscribe($e);return()=>{tt.unsubscribe(),0===--Zt&&ti&&Ye.unsubscribe()}});return qe.key=Et,qe}(Jt,qe);if(Ue.next($e),ce){const tt=(0,M._)(qe,()=>{qe.complete(),tt?.unsubscribe()},void 0,void 0,()=>Kt.delete(Jt));Ye.add((0,G.Tg)(ce($e)).subscribe(tt))}}qe.next(Ne?Ne(Et):Et)}catch(Jt){Vt(Jt)}},()=>yt(Et=>Et.complete()),Vt,()=>Kt.clear(),()=>(ti=!0,0===Zt));ke.subscribe(Ye)})}var $=l(31397);function ae(le,te){return te?ce=>ce.pipe(ae((se,ke)=>(0,G.Tg)(le(se,ke)).pipe((0,U.T)((Ue,Ne)=>te(se,Ue,ke,Ne))))):(0,P.N)((ce,se)=>{let ke=0,Ue=null,Ne=!1;ce.subscribe((0,M._)(se,Kt=>{Ue||(Ue=(0,M._)(se,void 0,()=>{Ue=null,Ne&&se.complete()}),(0,G.Tg)(le(Kt,ke++)).subscribe(Ue))},()=>{Ne=!0,!Ue&&se.complete()}))})}var oe=l(96697),he=l(2615),me=l(73664),Te=l(59640);const D={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},n="__@ngrx/effects_create__";function o(le,te={}){const ce=te.functional?le:le(),se={...D,...te};return Object.defineProperty(ce,n,{value:se}),ce}function A(le){return Object.getPrototypeOf(le)}function x(le){return"function"==typeof le}function r(le){return le.filter(x)}function W(le,te,ce){const se=A(le),Ue=se&&"Object"!==se.constructor.name?se.constructor.name:null,Ne=function b(le){return function f(le){return Object.getOwnPropertyNames(le).filter(se=>!(!le[se]||!le[se].hasOwnProperty(n))&&le[se][n].hasOwnProperty("dispatch")).map(se=>({propertyName:se,...le[se][n]}))}(le)}(le).map(({propertyName:Kt,dispatch:yt,useEffectsErrorHandler:Vt})=>{const Zt="function"==typeof le[Kt]?le[Kt]():le[Kt],ti=Vt?ce(Zt,te):Zt;return!1===yt?ti.pipe((0,S.w)()):ti.pipe(function j(){return(0,P.N)((le,te)=>{le.subscribe((0,M._)(te,ce=>{te.next(w.createNext(ce))},()=>{te.next(w.createComplete()),te.complete()},ce=>{te.next(w.createError(ce)),te.complete()}))})}()).pipe((0,U.T)(Nt=>({effect:le[Kt],notification:Nt,propertyName:Kt,sourceName:Ue,sourceInstance:le})))});return(0,i.h)(...Ne)}function B(le,te,ce=10){return le.pipe((0,K.W)(se=>(te&&te.handleError(se),ce<=1?le:B(le,te,ce-1))))}let re=(()=>{var le;class te extends t.c{constructor(se){super(),se&&(this.source=se)}lift(se){const ke=new te;return ke.source=this,ke.operator=se,ke}static#e=le=()=>(this.\u0275fac=function(ke){return new(ke||te)(he.KVO(Te.sA))},this.\u0275prov=he.jDH({token:te,factory:te.\u0275fac,providedIn:"root"}))}return le(),te})();function pe(...le){return(0,q.p)(te=>le.some(ce=>"string"==typeof ce?ce===te.type:ce.type===te.type))}const be=new he.nKC("@ngrx/effects Internal Root Guard"),Be=new he.nKC("@ngrx/effects User Provided Effects"),_e=new he.nKC("@ngrx/effects Internal Root Effects"),ye=new he.nKC("@ngrx/effects Internal Root Effects Instances"),Le=new he.nKC("@ngrx/effects Internal Feature Effects"),Ke=new he.nKC("@ngrx/effects Internal Feature Effects Instance Groups"),ge=new he.nKC("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>B}),ve="@ngrx/effects/init";function Ce(le){return ze(le,"ngrxOnInitEffects")}function ze(le,te){return le&&te in le&&"function"==typeof le[te]}(0,Te.VP)(ve);let Z=(()=>{var le;class te extends p.B{constructor(se,ke){super(),this.errorHandler=se,this.effectsErrorHandler=ke}addEffects(se){this.next(se)}toActions(){return this.pipe(Q(se=>function k(le){return!!le.constructor&&"Object"!==le.constructor.name&&"Function"!==le.constructor.name}(se)?A(se):se),(0,$.Z)(se=>se.pipe(Q(J))),(0,$.Z)(se=>{const ke=se.pipe(ae(Ne=>function fe(le,te){return ce=>{const se=W(ce,le,te);return function Ht(le){return ze(le,"ngrxOnRunEffects")}(ce)?ce.ngrxOnRunEffects(se):se}}(this.errorHandler,this.effectsErrorHandler)(Ne)),(0,U.T)(Ne=>(function Ee(le,te){if("N"===le.notification.kind){const ce=le.notification.value;!function dt(le){return"function"!=typeof le&&le&&le.type&&"string"==typeof le.type}(ce)&&te.handleError(new Error(`Effect ${function nt({propertyName:le,sourceInstance:te,sourceName:ce}){const se="function"==typeof te[le];return ce?`"${ce}.${String(le)}${se?"()":""}"`:`"${String(le)}()"`}(le)} dispatched an invalid action: ${function Ct(le){try{return JSON.stringify(le)}catch{return le}}(ce)}`))}}(Ne,this.errorHandler),Ne.notification)),(0,q.p)(Ne=>"N"===Ne.kind&&null!=Ne.value),function ue(){return(0,P.N)((le,te)=>{le.subscribe((0,M._)(te,ce=>m(ce,te)))})}()),Ue=se.pipe((0,oe.s)(1),(0,q.p)(Ce),(0,U.T)(Ne=>Ne.ngrxOnInitEffects()));return(0,i.h)(ke,Ue)}))}static#e=le=()=>(this.\u0275fac=function(ke){return new(ke||te)(he.KVO(he.zcH),he.KVO(ge))},this.\u0275prov=he.jDH({token:te,factory:te.\u0275fac,providedIn:"root"}))}return le(),te})();function J(le){return function lt(le){return ze(le,"ngrxOnIdentifyEffects")}(le)?le.ngrxOnIdentifyEffects():""}let Ie=(()=>{var le;class te{get isStarted(){return!!this.effectsSubscription}constructor(se,ke){this.effectSources=se,this.store=ke,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static#e=le=()=>(this.\u0275fac=function(ke){return new(ke||te)(he.KVO(Z),he.KVO(Te.il))},this.\u0275prov=he.jDH({token:te,factory:te.\u0275fac,providedIn:"root"}))}return le(),te})(),ht=(()=>{var le;class te{constructor(se,ke,Ue,Ne,Kt,yt,Vt){this.sources=se,ke.start();for(const Zt of Ne)se.addEffects(Zt);Ue.dispatch({type:ve})}addEffects(se){this.sources.addEffects(se)}static#e=le=()=>(this.\u0275fac=function(ke){return new(ke||te)(he.KVO(Z),he.KVO(Ie),he.KVO(Te.il),he.KVO(ye),he.KVO(Te.wc,8),he.KVO(Te.ae,8),he.KVO(be,8))},this.\u0275mod=me.$C({type:te}),this.\u0275inj=he.G2t({}))}return le(),te})(),li=(()=>{var le;class te{constructor(se,ke,Ue,Ne){const Kt=ke.flat();for(const yt of Kt)se.addEffects(yt)}static#e=le=()=>(this.\u0275fac=function(ke){return new(ke||te)(he.KVO(ht),he.KVO(Ke),he.KVO(Te.wc,8),he.KVO(Te.ae,8))},this.\u0275mod=me.$C({type:te}),this.\u0275inj=he.G2t({}))}return le(),te})(),Qt=(()=>{var le;class te{static forFeature(...se){const ke=se.flat(),Ue=r(ke);return{ngModule:li,providers:[Ue,{provide:Le,multi:!0,useValue:ke},{provide:Be,multi:!0,useValue:[]},{provide:Ke,multi:!0,useFactory:di,deps:[Le,Be]}]}}static forRoot(...se){const ke=se.flat(),Ue=r(ke);return{ngModule:ht,providers:[Ue,{provide:_e,useValue:[ke]},{provide:be,useFactory:kt},{provide:Be,multi:!0,useValue:[]},{provide:ye,useFactory:di,deps:[_e,Be]}]}}static#e=le=()=>(this.\u0275fac=function(ke){return new(ke||te)},this.\u0275mod=me.$C({type:te}),this.\u0275inj=he.G2t({}))}return le(),te})();function di(le,te){const ce=[];for(const se of le)ce.push(...se);for(const se of te)ce.push(...se);return ce.map(se=>function _(le){return le instanceof he.nKC||x(le)}(se)?(0,he.WQX)(se):se)}function kt(){const le=(0,he.WQX)(Ie,{optional:!0,skipSelf:!0}),te=(0,he.WQX)(_e,{self:!0});if((1!==te.length||0!==te[0].length)&&le)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},11771:(Ae,ee,l)=>{"use strict";l.d(ee,{Dz:()=>U,Fl:()=>he,Gd:()=>c,I1:()=>P,IK:()=>Q,Jh:()=>e,My:()=>S,NU:()=>G,Np:()=>ue,OP:()=>j,Qi:()=>$,R$:()=>m,T$:()=>ae,Tn:()=>q,UI:()=>T,iD:()=>f,mt:()=>g,oz:()=>n,rc:()=>oe,ri:()=>me,t2:()=>b,uP:()=>M,xO:()=>w,xw:()=>Te,y0:()=>d});var i=l(59640),t=l(4416);(0,i.VP)(t.aU.VOID);const S=(0,i.VP)(t.aU.SET_API_URL_ECL,(0,i.xk)()),c=(0,i.VP)(t.aU.UPDATE_API_CALL_STATUS_ROOT,(0,i.xk)()),e=(0,i.VP)(t.aU.CLOSE_ALL_DIALOGS),T=(0,i.VP)(t.aU.OPEN_SNACK_BAR,(0,i.xk)()),g=(0,i.VP)(t.aU.OPEN_SPINNER,(0,i.xk)()),d=(0,i.VP)(t.aU.CLOSE_SPINNER,(0,i.xk)()),w=(0,i.VP)(t.aU.OPEN_ALERT,(0,i.xk)()),m=(0,i.VP)(t.aU.CLOSE_ALERT,(0,i.xk)()),P=(0,i.VP)(t.aU.OPEN_CONFIRMATION,(0,i.xk)()),M=(0,i.VP)(t.aU.CLOSE_CONFIRMATION,(0,i.xk)()),j=(0,i.VP)(t.aU.SHOW_PUBKEY),U=(0,i.VP)(t.aU.FETCH_CONFIG,(0,i.xk)()),q=((0,i.VP)(t.aU.SHOW_CONFIG,(0,i.xk)()),(0,i.VP)(t.aU.RESET_ROOT_STORE,(0,i.xk)())),G=(0,i.VP)(t.aU.FETCH_APPLICATION_SETTINGS),Q=(0,i.VP)(t.aU.SET_APPLICATION_SETTINGS,(0,i.xk)()),$=(0,i.VP)(t.aU.SET_SELECTED_NODE,(0,i.xk)()),ae=(0,i.VP)(t.aU.UPDATE_NODE_SETTINGS,(0,i.xk)()),ue=(0,i.VP)(t.aU.SET_SELECTED_NODE_SETTINGS,(0,i.xk)()),oe=(0,i.VP)(t.aU.UPDATE_APPLICATION_SETTINGS,(0,i.xk)()),he=(0,i.VP)(t.aU.SET_NODE_DATA,(0,i.xk)()),me=(0,i.VP)(t.aU.LOGOUT,(0,i.xk)()),Te=(0,i.VP)(t.aU.RESET_PASSWORD,(0,i.xk)()),n=((0,i.VP)(t.aU.RESET_PASSWORD_RES,(0,i.xk)()),(0,i.VP)(t.aU.IS_AUTHORIZED,(0,i.xk)())),f=((0,i.VP)(t.aU.IS_AUTHORIZED_RES,(0,i.xk)()),(0,i.VP)(t.aU.LOGIN,(0,i.xk)())),b=((0,i.VP)(t.aU.VERIFY_TWO_FA,(0,i.xk)()),(0,i.VP)(t.aU.FETCH_FILE,(0,i.xk)()));(0,i.VP)(t.aU.SHOW_FILE,(0,i.xk)())},12375:(Ae,ee,l)=>{var i=l(27054).Buffer;function t(g){i.isBuffer(g)||(g=i.from(g));for(var d=g.length/4|0,w=new Array(d),m=0;m<d;m++)w[m]=g.readUInt32BE(4*m);return w}function p(g){for(;0<g.length;g++)g[0]=0}function S(g,d,w,m,P){for(var ae,ue,oe,he,M=w[0],j=w[1],U=w[2],K=w[3],q=g[0]^d[0],G=g[1]^d[1],Q=g[2]^d[2],$=g[3]^d[3],me=4,Te=1;Te<P;Te++)ae=M[q>>>24]^j[G>>>16&255]^U[Q>>>8&255]^K[255&$]^d[me++],ue=M[G>>>24]^j[Q>>>16&255]^U[$>>>8&255]^K[255&q]^d[me++],oe=M[Q>>>24]^j[$>>>16&255]^U[q>>>8&255]^K[255&G]^d[me++],he=M[$>>>24]^j[q>>>16&255]^U[G>>>8&255]^K[255&Q]^d[me++],q=ae,G=ue,Q=oe,$=he;return ae=(m[q>>>24]<<24|m[G>>>16&255]<<16|m[Q>>>8&255]<<8|m[255&$])^d[me++],ue=(m[G>>>24]<<24|m[Q>>>16&255]<<16|m[$>>>8&255]<<8|m[255&q])^d[me++],oe=(m[Q>>>24]<<24|m[$>>>16&255]<<16|m[q>>>8&255]<<8|m[255&G])^d[me++],he=(m[$>>>24]<<24|m[q>>>16&255]<<16|m[G>>>8&255]<<8|m[255&Q])^d[me++],[ae>>>=0,ue>>>=0,oe>>>=0,he>>>=0]}var c=[0,1,2,4,8,16,32,64,128,27,54],e=function(){for(var g=new Array(256),d=0;d<256;d++)g[d]=d<128?d<<1:d<<1^283;for(var w=[],m=[],P=[[],[],[],[]],M=[[],[],[],[]],j=0,U=0,K=0;K<256;++K){var q=U^U<<1^U<<2^U<<3^U<<4;w[j]=q=q>>>8^255&q^99,m[q]=j;var G=g[j],Q=g[G],$=g[Q],ae=257*g[q]^16843008*q;P[0][j]=ae<<24|ae>>>8,P[1][j]=ae<<16|ae>>>16,P[2][j]=ae<<8|ae>>>24,P[3][j]=ae,M[0][q]=(ae=16843009*$^65537*Q^257*G^16843008*j)<<24|ae>>>8,M[1][q]=ae<<16|ae>>>16,M[2][q]=ae<<8|ae>>>24,M[3][q]=ae,0===j?j=U=1:(j=G^g[g[g[$^G]]],U^=g[g[U]])}return{SBOX:w,INV_SBOX:m,SUB_MIX:P,INV_SUB_MIX:M}}();function T(g){this._key=t(g),this._reset()}T.blockSize=16,T.keySize=32,T.prototype.blockSize=T.blockSize,T.prototype.keySize=T.keySize,T.prototype._reset=function(){for(var g=this._key,d=g.length,w=d+6,m=4*(w+1),P=[],M=0;M<d;M++)P[M]=g[M];for(M=d;M<m;M++){var j=P[M-1];M%d===0?(j=e.SBOX[(j=j<<8|j>>>24)>>>24]<<24|e.SBOX[j>>>16&255]<<16|e.SBOX[j>>>8&255]<<8|e.SBOX[255&j],j^=c[M/d|0]<<24):d>6&&M%d===4&&(j=e.SBOX[j>>>24]<<24|e.SBOX[j>>>16&255]<<16|e.SBOX[j>>>8&255]<<8|e.SBOX[255&j]),P[M]=P[M-d]^j}for(var U=[],K=0;K<m;K++){var q=m-K,G=P[q-(K%4?0:4)];U[K]=K<4||q<=4?G:e.INV_SUB_MIX[0][e.SBOX[G>>>24]]^e.INV_SUB_MIX[1][e.SBOX[G>>>16&255]]^e.INV_SUB_MIX[2][e.SBOX[G>>>8&255]]^e.INV_SUB_MIX[3][e.SBOX[255&G]]}this._nRounds=w,this._keySchedule=P,this._invKeySchedule=U},T.prototype.encryptBlockRaw=function(g){return S(g=t(g),this._keySchedule,e.SUB_MIX,e.SBOX,this._nRounds)},T.prototype.encryptBlock=function(g){var d=this.encryptBlockRaw(g),w=i.allocUnsafe(16);return w.writeUInt32BE(d[0],0),w.writeUInt32BE(d[1],4),w.writeUInt32BE(d[2],8),w.writeUInt32BE(d[3],12),w},T.prototype.decryptBlock=function(g){var d=(g=t(g))[1];g[1]=g[3],g[3]=d;var w=S(g,this._invKeySchedule,e.INV_SUB_MIX,e.INV_SBOX,this._nRounds),m=i.allocUnsafe(16);return m.writeUInt32BE(w[0],0),m.writeUInt32BE(w[3],4),m.writeUInt32BE(w[2],8),m.writeUInt32BE(w[1],12),m},T.prototype.scrub=function(){p(this._keySchedule),p(this._invKeySchedule),p(this._key)},Ae.exports.AES=T},12462:(Ae,ee,l)=>{"use strict";l.d(ee,{f:()=>m});var i=l(51585),t=l(73664),p=l(98570),S=l(72200),c=l(88834),e=l(25596),T=l(71997),g=l(52920),d=l(89587);function w(P,M){if(1&P&&(t.j41(0,"p",14),t.EFF(1),t.k0s()),2&P){const j=t.XpG();t.R7$(),t.JRh(j.data.titleMessage)}}let m=(()=>{var P;class M{constructor(U,K,q){this.dialogRef=U,this.data=K,this.logger=q,this.errorMessage=""}ngOnInit(){this.errorMessage=this.data.message&&this.data.message.message&&"object"==typeof this.data.message.message?JSON.stringify(this.data.message.message):this.data.message&&this.data.message.message?this.data.message.message:"",!this.data.message&&!this.data.titleMessage&&!this.data.message&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.data.message)}onClose(){this.dialogRef.close(!1)}static#e=P=()=>(this.\u0275fac=function(K){return new(K||M)(t.rXU(i.CP),t.rXU(i.Vh),t.rXU(p.gP))},this.\u0275cmp=t.VBU({type:M,selectors:[["rtl-error-message"]],standalone:!1,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(K,q){1&K&&(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 q.onClose()}),t.EFF(7,"X"),t.k0s()(),t.j41(8,"mat-card-content",6)(9,"div",7),t.DNE(10,w,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&K&&(t.R7$(5),t.JRh(q.data.alertTitle||"ERROR"),t.R7$(5),t.Y8G("ngIf",q.data.titleMessage),t.R7$(4),t.JRh(q.data.message.code),t.R7$(5),t.JRh(q.errorMessage),t.R7$(5),t.JRh(q.data.message.URL),t.R7$(3),t.Y8G("mat-dialog-close",!1))},dependencies:[S.bT,i.tx,c.$z,e.m2,e.MM,T.q,g.DJ,g.sA,g.UI,d.N],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}))}return P(),M})()},12496:(Ae,ee,l)=>{"use strict";l.d(ee,{$E:()=>ue,EX:()=>j,r6:()=>oe,ug:()=>$});var i=l(39842),t=l(83300),p=l(44522),S=l(73664),c=l(2615),e=l(95735),T=l(67847),g=l(88968),d=l(31804),w=function(he){return he[he.FADING_IN=0]="FADING_IN",he[he.VISIBLE=1]="VISIBLE",he[he.FADING_OUT=2]="FADING_OUT",he[he.HIDDEN=3]="HIDDEN",he}(w||{});class m{_renderer;element;config;_animationForciblyDisabledThroughCss;state=w.HIDDEN;constructor(me,Te,D,n=!1){this._renderer=me,this.element=Te,this.config=D,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}}const P=(0,t.B)({passive:!0,capture:!0});class M{_events=new Map;addHandler(me,Te,D,n){const o=this._events.get(Te);if(o){const f=o.get(D);f?f.add(n):o.set(D,new Set([n]))}else this._events.set(Te,new Map([[D,new Set([n])]])),me.runOutsideAngular(()=>{document.addEventListener(Te,this._delegateEventHandler,P)})}removeHandler(me,Te,D){const n=this._events.get(me);if(!n)return;const o=n.get(Te);o&&(o.delete(D),0===o.size&&n.delete(Te),0===n.size&&(this._events.delete(me),document.removeEventListener(me,this._delegateEventHandler,P)))}_delegateEventHandler=me=>{const Te=(0,p.Fb)(me);Te&&this._events.get(me.type)?.forEach((D,n)=>{(n===Te||n.contains(Te))&&D.forEach(o=>o.handleEvent(me))})}}const j={enterDuration:225,exitDuration:150},K=(0,t.B)({passive:!0,capture:!0}),q=["mousedown","touchstart"],G=["mouseup","mouseleave","touchend","touchcancel"];let Q=(()=>{class he{static \u0275fac=function(D){return new(D||he)};static \u0275cmp=S.VBU({type:he,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(D,n){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,changeDetection:0})}return he})();class ${_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new M;constructor(me,Te,D,n,o){this._target=me,this._ngZone=Te,this._platform=n,n.isBrowser&&(this._containerElement=(0,T.i8)(D)),o&&o.get(g.l).load(Q)}fadeInRipple(me,Te,D={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...j,...D.animation};D.centered&&(me=n.left+n.width/2,Te=n.top+n.height/2);const f=D.radius||function ae(he,me,Te){const D=Math.max(Math.abs(he-Te.left),Math.abs(he-Te.right)),n=Math.max(Math.abs(me-Te.top),Math.abs(me-Te.bottom));return Math.sqrt(D*D+n*n)}(me,Te,n),h=me-n.left,b=Te-n.top,A=o.enterDuration,k=document.createElement("div");k.classList.add("mat-ripple-element"),k.style.left=h-f+"px",k.style.top=b-f+"px",k.style.height=2*f+"px",k.style.width=2*f+"px",null!=D.color&&(k.style.backgroundColor=D.color),k.style.transitionDuration=`${A}ms`,this._containerElement.appendChild(k);const x=window.getComputedStyle(k),_=x.transitionDuration,W="none"===x.transitionProperty||"0s"===_||"0s, 0s"===_||0===n.width&&0===n.height,I=new m(this,k,D,W);k.style.transform="scale3d(1, 1, 1)",I.state=w.FADING_IN,D.persistent||(this._mostRecentTransientRipple=I);let B=null;return!W&&(A||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const re=()=>{B&&(B.fallbackTimer=null),clearTimeout(be),this._finishRippleTransition(I)},pe=()=>this._destroyRipple(I),be=setTimeout(pe,A+100);k.addEventListener("transitionend",re),k.addEventListener("transitioncancel",pe),B={onTransitionEnd:re,onTransitionCancel:pe,fallbackTimer:be}}),this._activeRipples.set(I,B),(W||!A)&&this._finishRippleTransition(I),I}fadeOutRipple(me){if(me.state===w.FADING_OUT||me.state===w.HIDDEN)return;const Te=me.element,D={...j,...me.config.animation};Te.style.transitionDuration=`${D.exitDuration}ms`,Te.style.opacity="0",me.state=w.FADING_OUT,(me._animationForciblyDisabledThroughCss||!D.exitDuration)&&this._finishRippleTransition(me)}fadeOutAll(){this._getActiveRipples().forEach(me=>me.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(me=>{me.config.persistent||me.fadeOut()})}setupTriggerEvents(me){const Te=(0,T.i8)(me);!this._platform.isBrowser||!Te||Te===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Te,q.forEach(D=>{$._eventManager.addHandler(this._ngZone,D,Te,this)}))}handleEvent(me){"mousedown"===me.type?this._onMousedown(me):"touchstart"===me.type?this._onTouchStart(me):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{G.forEach(Te=>{this._triggerElement.addEventListener(Te,this,K)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(me){me.state===w.FADING_IN?this._startFadeOutTransition(me):me.state===w.FADING_OUT&&this._destroyRipple(me)}_startFadeOutTransition(me){const Te=me===this._mostRecentTransientRipple,{persistent:D}=me.config;me.state=w.VISIBLE,!D&&(!Te||!this._isPointerDown)&&me.fadeOut()}_destroyRipple(me){const Te=this._activeRipples.get(me)??null;this._activeRipples.delete(me),this._activeRipples.size||(this._containerRect=null),me===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),me.state=w.HIDDEN,null!==Te&&(me.element.removeEventListener("transitionend",Te.onTransitionEnd),me.element.removeEventListener("transitioncancel",Te.onTransitionCancel),null!==Te.fallbackTimer&&clearTimeout(Te.fallbackTimer)),me.element.remove()}_onMousedown(me){const Te=(0,e._)(me),D=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!Te&&!D&&(this._isPointerDown=!0,this.fadeInRipple(me.clientX,me.clientY,this._target.rippleConfig))}_onTouchStart(me){if(!this._target.rippleDisabled&&!(0,e.w)(me)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const Te=me.changedTouches;if(Te)for(let D=0;D<Te.length;D++)this.fadeInRipple(Te[D].clientX,Te[D].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(me=>{!me.config.persistent&&(me.state===w.VISIBLE||me.config.terminateOnPointerUp&&me.state===w.FADING_IN)&&me.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const me=this._triggerElement;me&&(q.forEach(Te=>$._eventManager.removeHandler(Te,me,this)),this._pointerUpEventsRegistered&&(G.forEach(Te=>me.removeEventListener(Te,this,K)),this._pointerUpEventsRegistered=!1))}}const ue=new c.nKC("mat-ripple-global-options");let oe=(()=>{class he{_elementRef=(0,c.WQX)(S.aKT);_animationsDisabled=(0,d.Rc)();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(Te){Te&&this.fadeOutAllNonPersistent(),this._disabled=Te,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Te){this._trigger=Te,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const Te=(0,c.WQX)(S.SKi),D=(0,c.WQX)(i.O),n=(0,c.WQX)(ue,{optional:!0}),o=(0,c.WQX)(c.zZn);this._globalOptions=n||{},this._rippleRenderer=new $(this,Te,this._elementRef,D,o)}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,...this._animationsDisabled?{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(Te,D=0,n){return"number"==typeof Te?this._rippleRenderer.fadeInRipple(Te,D,{...this.rippleConfig,...n}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Te})}static \u0275fac=function(D){return new(D||he)};static \u0275dir=S.FsC({type:he,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(D,n){2&D&&S.AVh("mat-ripple-unbounded",n.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return he})()},12593:(Ae,ee,l)=>{"use strict";l.d(ee,{l:()=>d});var i=l(2615),t=l(73664),p=l(59295),S=l(21413),c=l(18359),e=l(59096),T=l(67336),g=l(10438);class d{_items;_activeItemIndex=(0,i.vPA)(-1);_activeItem=(0,i.vPA)(null);_wrap=!1;_typeaheadSubscription=c.yU.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=m=>m.disabled;constructor(m,P){this._items=m,m instanceof t.rOR?this._itemChangesSubscription=m.changes.subscribe(M=>this._itemsChanged(M.toArray())):(0,i.Hps)(m)&&(this._effectRef=(0,p.QZ)(()=>this._itemsChanged(m()),{injector:P}))}tabOut=new S.B;change=new S.B;skipPredicate(m){return this._skipPredicateFn=m,this}withWrap(m=!0){return this._wrap=m,this}withVerticalOrientation(m=!0){return this._vertical=m,this}withHorizontalOrientation(m){return this._horizontal=m,this}withAllowedModifierKeys(m){return this._allowedModifierKeys=m,this}withTypeAhead(m=200){this._typeaheadSubscription.unsubscribe();const P=this._getItemsArray();return this._typeahead=new e.i(P,{debounceInterval:"number"==typeof m?m:void 0,skipPredicate:M=>this._skipPredicateFn(M)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(M=>{this.setActiveItem(M)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(m=!0){return this._homeAndEnd=m,this}withPageUpDown(m=!0,P=10){return this._pageUpAndDown={enabled:m,delta:P},this}setActiveItem(m){const P=this._activeItem();this.updateActiveItem(m),this._activeItem()!==P&&this.change.next(this._activeItemIndex())}onKeydown(m){const P=m.keyCode,j=["altKey","ctrlKey","metaKey","shiftKey"].every(U=>!m[U]||this._allowedModifierKeys.indexOf(U)>-1);switch(P){case g.wn:return void this.tabOut.next();case g.n6:if(this._vertical&&j){this.setNextItemActive();break}return;case g.i7:if(this._vertical&&j){this.setPreviousItemActive();break}return;case g.LE:if(this._horizontal&&j){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case g.UQ:if(this._horizontal&&j){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case g.yZ:if(this._homeAndEnd&&j){this.setFirstItemActive();break}return;case g.Kp:if(this._homeAndEnd&&j){this.setLastItemActive();break}return;case g.w_:if(this._pageUpAndDown.enabled&&j){const U=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(U>0?U:0,1);break}return;case g.dB:if(this._pageUpAndDown.enabled&&j){const U=this._activeItemIndex()+this._pageUpAndDown.delta,K=this._getItemsArray().length;this._setActiveItemByIndex(U<K?U:K-1,-1);break}return;default:return void((j||(0,T.rp)(m,"shiftKey"))&&this._typeahead?.handleKey(m))}this._typeahead?.reset(),m.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}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(m){const P=this._getItemsArray(),M="number"==typeof m?m:P.indexOf(m);this._activeItem.set(P[M]??null),this._activeItemIndex.set(M),this._typeahead?.setCurrentSelectedItemIndex(M)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(m){this._wrap?this._setActiveInWrapMode(m):this._setActiveInDefaultMode(m)}_setActiveInWrapMode(m){const P=this._getItemsArray();for(let M=1;M<=P.length;M++){const j=(this._activeItemIndex()+m*M+P.length)%P.length;if(!this._skipPredicateFn(P[j]))return void this.setActiveItem(j)}}_setActiveInDefaultMode(m){this._setActiveItemByIndex(this._activeItemIndex()+m,m)}_setActiveItemByIndex(m,P){const M=this._getItemsArray();if(M[m]){for(;this._skipPredicateFn(M[m]);)if(!M[m+=P])return;this.setActiveItem(m)}}_getItemsArray(){return(0,i.Hps)(this._items)?this._items():this._items instanceof t.rOR?this._items.toArray():this._items}_itemsChanged(m){this._typeahead?.setItems(m);const P=this._activeItem();if(P){const M=m.indexOf(P);M>-1&&M!==this._activeItemIndex()&&(this._activeItemIndex.set(M),this._typeahead?.setCurrentSelectedItemIndex(M))}}}},12601:(Ae,ee,l)=>{Ae.exports=l(44356).EventEmitter},12629:(Ae,ee,l)=>{"use strict";l.d(ee,{An:()=>W,m_:()=>I});var i=l(73664),t=l(2615),p=l(17705),S=l(18359),c=l(96697),e=l(29330),T=l(345),g=l(7673),d=l(18810),w=l(27468),m=l(88141),P=l(96354),M=l(99437),j=l(70980),U=l(97647);let K;function G(B){return function q(){if(void 0===K&&(K=null,typeof window<"u")){const B=window;void 0!==B.trustedTypes&&(K=B.trustedTypes.createPolicy("angular#components",{createHTML:re=>re}))}return K}()?.createHTML(B)||B}function Q(B){return Error(`Unable to find icon with the name "${B}"`)}function ae(B){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${B}".`)}function ue(B){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${B}".`)}class oe{url;svgText;options;svgElement;constructor(re,pe,be){this.url=re,this.svgText=pe,this.options=be}}let he=(()=>{class B{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(pe,be,Be,_e){this._httpClient=pe,this._sanitizer=be,this._errorHandler=_e,this._document=Be}addSvgIcon(pe,be,Be){return this.addSvgIconInNamespace("",pe,be,Be)}addSvgIconLiteral(pe,be,Be){return this.addSvgIconLiteralInNamespace("",pe,be,Be)}addSvgIconInNamespace(pe,be,Be,_e){return this._addSvgIconConfig(pe,be,new oe(Be,null,_e))}addSvgIconResolver(pe){return this._resolvers.push(pe),this}addSvgIconLiteralInNamespace(pe,be,Be,_e){const ye=this._sanitizer.sanitize(i.WPN.HTML,Be);if(!ye)throw ue(Be);const Le=G(ye);return this._addSvgIconConfig(pe,be,new oe("",Le,_e))}addSvgIconSet(pe,be){return this.addSvgIconSetInNamespace("",pe,be)}addSvgIconSetLiteral(pe,be){return this.addSvgIconSetLiteralInNamespace("",pe,be)}addSvgIconSetInNamespace(pe,be,Be){return this._addSvgIconSetConfig(pe,new oe(be,null,Be))}addSvgIconSetLiteralInNamespace(pe,be,Be){const _e=this._sanitizer.sanitize(i.WPN.HTML,be);if(!_e)throw ue(be);const ye=G(_e);return this._addSvgIconSetConfig(pe,new oe("",ye,Be))}registerFontClassAlias(pe,be=pe){return this._fontCssClassesByAlias.set(pe,be),this}classNameForFontAlias(pe){return this._fontCssClassesByAlias.get(pe)||pe}setDefaultFontSetClass(...pe){return this._defaultFontSetClass=pe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(pe){const be=this._sanitizer.sanitize(i.WPN.RESOURCE_URL,pe);if(!be)throw ae(pe);const Be=this._cachedIconsByUrl.get(be);return Be?(0,g.of)(D(Be)):this._loadSvgIconFromConfig(new oe(pe,null)).pipe((0,m.M)(_e=>this._cachedIconsByUrl.set(be,_e)),(0,P.T)(_e=>D(_e)))}getNamedSvgIcon(pe,be=""){const Be=n(be,pe);let _e=this._svgIconConfigs.get(Be);if(_e)return this._getSvgFromConfig(_e);if(_e=this._getIconConfigFromResolvers(be,pe),_e)return this._svgIconConfigs.set(Be,_e),this._getSvgFromConfig(_e);const ye=this._iconSetConfigs.get(be);return ye?this._getSvgFromIconSetConfigs(pe,ye):(0,d.$)(Q(Be))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(pe){return pe.svgText?(0,g.of)(D(this._svgElementFromConfig(pe))):this._loadSvgIconFromConfig(pe).pipe((0,P.T)(be=>D(be)))}_getSvgFromIconSetConfigs(pe,be){const Be=this._extractIconWithNameFromAnySet(pe,be);if(Be)return(0,g.of)(Be);const _e=be.filter(ye=>!ye.svgText).map(ye=>this._loadSvgIconSetFromConfig(ye).pipe((0,M.W)(Le=>{const ge=`Loading icon set URL: ${this._sanitizer.sanitize(i.WPN.RESOURCE_URL,ye.url)} failed: ${Le.message}`;return this._errorHandler.handleError(new Error(ge)),(0,g.of)(null)})));return(0,w.p)(_e).pipe((0,P.T)(()=>{const ye=this._extractIconWithNameFromAnySet(pe,be);if(!ye)throw Q(pe);return ye}))}_extractIconWithNameFromAnySet(pe,be){for(let Be=be.length-1;Be>=0;Be--){const _e=be[Be];if(_e.svgText&&_e.svgText.toString().indexOf(pe)>-1){const ye=this._svgElementFromConfig(_e),Le=this._extractSvgIconFromSet(ye,pe,_e.options);if(Le)return Le}}return null}_loadSvgIconFromConfig(pe){return this._fetchIcon(pe).pipe((0,m.M)(be=>pe.svgText=be),(0,P.T)(()=>this._svgElementFromConfig(pe)))}_loadSvgIconSetFromConfig(pe){return pe.svgText?(0,g.of)(null):this._fetchIcon(pe).pipe((0,m.M)(be=>pe.svgText=be))}_extractSvgIconFromSet(pe,be,Be){const _e=pe.querySelector(`[id="${be}"]`);if(!_e)return null;const ye=_e.cloneNode(!0);if(ye.removeAttribute("id"),"svg"===ye.nodeName.toLowerCase())return this._setSvgAttributes(ye,Be);if("symbol"===ye.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ye),Be);const Le=this._svgElementFromString(G("<svg></svg>"));return Le.appendChild(ye),this._setSvgAttributes(Le,Be)}_svgElementFromString(pe){const be=this._document.createElement("DIV");be.innerHTML=pe;const Be=be.querySelector("svg");if(!Be)throw Error("<svg> tag not found");return Be}_toSvgElement(pe){const be=this._svgElementFromString(G("<svg></svg>")),Be=pe.attributes;for(let _e=0;_e<Be.length;_e++){const{name:ye,value:Le}=Be[_e];"id"!==ye&&be.setAttribute(ye,Le)}for(let _e=0;_e<pe.childNodes.length;_e++)pe.childNodes[_e].nodeType===this._document.ELEMENT_NODE&&be.appendChild(pe.childNodes[_e].cloneNode(!0));return be}_setSvgAttributes(pe,be){return pe.setAttribute("fit",""),pe.setAttribute("height","100%"),pe.setAttribute("width","100%"),pe.setAttribute("preserveAspectRatio","xMidYMid meet"),pe.setAttribute("focusable","false"),be&&be.viewBox&&pe.setAttribute("viewBox",be.viewBox),pe}_fetchIcon(pe){const{url:be,options:Be}=pe,_e=Be?.withCredentials??!1;if(!this._httpClient)throw function $(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==be)throw Error(`Cannot fetch icon from URL "${be}".`);const ye=this._sanitizer.sanitize(i.WPN.RESOURCE_URL,be);if(!ye)throw ae(be);const Le=this._inProgressUrlFetches.get(ye);if(Le)return Le;const Ke=this._httpClient.get(ye,{responseType:"text",withCredentials:_e}).pipe((0,P.T)(ge=>G(ge)),(0,j.j)(()=>this._inProgressUrlFetches.delete(ye)),(0,U.u)());return this._inProgressUrlFetches.set(ye,Ke),Ke}_addSvgIconConfig(pe,be,Be){return this._svgIconConfigs.set(n(pe,be),Be),this}_addSvgIconSetConfig(pe,be){const Be=this._iconSetConfigs.get(pe);return Be?Be.push(be):this._iconSetConfigs.set(pe,[be]),this}_svgElementFromConfig(pe){if(!pe.svgElement){const be=this._svgElementFromString(pe.svgText);this._setSvgAttributes(be,pe.options),pe.svgElement=be}return pe.svgElement}_getIconConfigFromResolvers(pe,be){for(let Be=0;Be<this._resolvers.length;Be++){const _e=this._resolvers[Be](be,pe);if(_e)return o(_e)?new oe(_e.url,null,_e.options):new oe(_e,null)}}static \u0275fac=function(be){return new(be||B)(t.KVO(e.Qq,8),t.KVO(T.up),t.KVO(t.qQL,8),t.KVO(t.zcH))};static \u0275prov=t.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})();function D(B){return B.cloneNode(!0)}function n(B,re){return B+":"+re}function o(B){return!(!B.url||!B.options)}var f=l(22466);const h=["*"],b=new t.nKC("MAT_ICON_DEFAULT_OPTIONS"),A=new t.nKC("mat-icon-location",{providedIn:"root",factory:function k(){const B=(0,t.WQX)(t.qQL),re=B?B.location:null;return{getPathname:()=>re?re.pathname+re.search:""}}}),x=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],r=x.map(B=>`[${B}]`).join(", "),_=/^url\(['"]?#(.*?)['"]?\)$/;let W=(()=>{class B{_elementRef=(0,t.WQX)(i.aKT);_iconRegistry=(0,t.WQX)(he);_location=(0,t.WQX)(A);_errorHandler=(0,t.WQX)(t.zcH);_defaultColor;get color(){return this._color||this._defaultColor}set color(pe){this._color=pe}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(pe){pe!==this._svgIcon&&(pe?this._updateSvgIcon(pe):this._svgIcon&&this._clearSvgElement(),this._svgIcon=pe)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(pe){const be=this._cleanupFontValue(pe);be!==this._fontSet&&(this._fontSet=be,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(pe){const be=this._cleanupFontValue(pe);be!==this._fontIcon&&(this._fontIcon=be,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=S.yU.EMPTY;constructor(){const pe=(0,t.WQX)(new p.ES_("aria-hidden"),{optional:!0}),be=(0,t.WQX)(b,{optional:!0});be&&(be.color&&(this.color=this._defaultColor=be.color),be.fontSet&&(this.fontSet=be.fontSet)),pe||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(pe){if(!pe)return["",""];const be=pe.split(":");switch(be.length){case 1:return["",be[0]];case 2:return be;default:throw Error(`Invalid icon name: "${pe}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const pe=this._elementsWithExternalReferences;if(pe&&pe.size){const be=this._location.getPathname();be!==this._previousPath&&(this._previousPath=be,this._prependPathToReferences(be))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(pe){this._clearSvgElement();const be=this._location.getPathname();this._previousPath=be,this._cacheChildrenWithExternalReferences(pe),this._prependPathToReferences(be),this._elementRef.nativeElement.appendChild(pe)}_clearSvgElement(){const pe=this._elementRef.nativeElement;let be=pe.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();be--;){const Be=pe.childNodes[be];(1!==Be.nodeType||"svg"===Be.nodeName.toLowerCase())&&Be.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const pe=this._elementRef.nativeElement,be=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Be=>Be.length>0);this._previousFontSetClass.forEach(Be=>pe.classList.remove(Be)),be.forEach(Be=>pe.classList.add(Be)),this._previousFontSetClass=be,this.fontIcon!==this._previousFontIconClass&&!be.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 be=this._elementsWithExternalReferences;be&&be.forEach((Be,_e)=>{Be.forEach(ye=>{_e.setAttribute(ye.name,`url('${pe}#${ye.value}')`)})})}_cacheChildrenWithExternalReferences(pe){const be=pe.querySelectorAll(r),Be=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let _e=0;_e<be.length;_e++)x.forEach(ye=>{const Le=be[_e],Ke=Le.getAttribute(ye),ge=Ke?Ke.match(_):null;if(ge){let ve=Be.get(Le);ve||(ve=[],Be.set(Le,ve)),ve.push({name:ye,value:ge[1]})}})}_updateSvgIcon(pe){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),pe){const[be,Be]=this._splitIconName(pe);be&&(this._svgNamespace=be),Be&&(this._svgName=Be),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Be,be).pipe((0,c.s)(1)).subscribe(_e=>this._setSvgElement(_e),_e=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${be}:${Be}! ${_e.message}`))})}}static \u0275fac=function(be){return new(be||B)};static \u0275cmp=i.VBU({type:B,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(be,Be){2&be&&(i.BMQ("data-mat-icon-type",Be._usingFontIcon()?"font":"svg")("data-mat-icon-name",Be._svgName||Be.fontIcon)("data-mat-icon-namespace",Be._svgNamespace||Be.fontSet)("fontIcon",Be._usingFontIcon()?Be.fontIcon:null),i.HbH(Be.color?"mat-"+Be.color:""),i.AVh("mat-icon-inline",Be.inline)("mat-icon-no-color","primary"!==Be.color&&"accent"!==Be.color&&"warn"!==Be.color))},inputs:{color:"color",inline:[2,"inline","inline",p.L39],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:h,decls:1,vars:0,template:function(be,Be){1&be&&(i.NAR(),i.SdG(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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}\n"],encapsulation:2,changeDetection:0})}return B})(),I=(()=>{class B{static \u0275fac=function(be){return new(be||B)};static \u0275mod=i.$C({type:B});static \u0275inj=t.G2t({imports:[f.y,f.y]})}return B})()},12683:(Ae,ee,l)=>{"use strict";var i;function t($,ae,ue){return ae=function p($){var ae=function S($,ae){if("object"!=typeof $||null===$)return $;var ue=$[Symbol.toPrimitive];if(void 0!==ue){var oe=ue.call($,ae||"default");if("object"!=typeof oe)return oe;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===ae?String:Number)($)}($,"string");return"symbol"==typeof ae?ae:String(ae)}(ae),ae in $?Object.defineProperty($,ae,{value:ue,enumerable:!0,configurable:!0,writable:!0}):$[ae]=ue,$}var c=l(57854),e=Symbol("lastResolve"),T=Symbol("lastReject"),g=Symbol("error"),d=Symbol("ended"),w=Symbol("lastPromise"),m=Symbol("handlePromise"),P=Symbol("stream");function M($,ae){return{value:$,done:ae}}function j($){var ae=$[e];if(null!==ae){var ue=$[P].read();null!==ue&&($[w]=null,$[e]=null,$[T]=null,ae(M(ue,!1)))}}function U($){process.nextTick(j,$)}var q=Object.getPrototypeOf(function(){}),G=Object.setPrototypeOf((t(i={get stream(){return this[P]},next:function(){var ae=this,ue=this[g];if(null!==ue)return Promise.reject(ue);if(this[d])return Promise.resolve(M(void 0,!0));if(this[P].destroyed)return new Promise(function(Te,D){process.nextTick(function(){ae[g]?D(ae[g]):Te(M(void 0,!0))})});var he,oe=this[w];if(oe)he=new Promise(function K($,ae){return function(ue,oe){$.then(function(){ae[d]?ue(M(void 0,!0)):ae[m](ue,oe)},oe)}}(oe,this));else{var me=this[P].read();if(null!==me)return Promise.resolve(M(me,!1));he=new Promise(this[m])}return this[w]=he,he}},Symbol.asyncIterator,function(){return this}),t(i,"return",function(){var ae=this;return new Promise(function(ue,oe){ae[P].destroy(null,function(he){he?oe(he):ue(M(void 0,!0))})})}),i),q);Ae.exports=function(ae){var ue,oe=Object.create(G,(t(ue={},P,{value:ae,writable:!0}),t(ue,e,{value:null,writable:!0}),t(ue,T,{value:null,writable:!0}),t(ue,g,{value:null,writable:!0}),t(ue,d,{value:ae._readableState.endEmitted,writable:!0}),t(ue,m,{value:function(me,Te){var D=oe[P].read();D?(oe[w]=null,oe[e]=null,oe[T]=null,me(M(D,!1))):(oe[e]=me,oe[T]=Te)},writable:!0}),ue));return oe[w]=null,c(ae,function(he){if(he&&"ERR_STREAM_PREMATURE_CLOSE"!==he.code){var me=oe[T];return null!==me&&(oe[w]=null,oe[e]=null,oe[T]=null,me(he)),void(oe[g]=he)}var Te=oe[e];null!==Te&&(oe[w]=null,oe[e]=null,oe[T]=null,Te(M(void 0,!0))),oe[d]=!0}),ae.on("readable",U.bind(null,oe)),oe}},12727:(Ae,ee,l)=>{var i=l(3342);Ae.exports=ae,ae.simpleSieve=Q,ae.fermatTest=$;var t=l(38280),p=new t(24),c=new(l(53459)),e=new t(1),T=new t(2),g=new t(5),m=(new t(16),new t(8),new t(10)),P=new t(3),j=(new t(7),new t(11)),U=new t(4),q=(new t(12),null);function Q(ue){for(var oe=function G(){if(null!==q)return q;var oe=[];oe[0]=2;for(var he=1,me=3;me<1048576;me+=2){for(var Te=Math.ceil(Math.sqrt(me)),D=0;D<he&&oe[D]<=Te&&me%oe[D]!==0;D++);he!==D&&oe[D]<=Te||(oe[he++]=me)}return q=oe,oe}(),he=0;he<oe.length;he++)if(0===ue.modn(oe[he]))return 0===ue.cmpn(oe[he]);return!0}function $(ue){var oe=t.mont(ue);return 0===T.toRed(oe).redPow(ue.subn(1)).fromRed().cmpn(1)}function ae(ue,oe){if(ue<16)return new t(2===oe||5===oe?[140,123]:[140,39]);oe=new t(oe);for(var he,me;;){for(he=new t(i(Math.ceil(ue/8)));he.bitLength()>ue;)he.ishrn(1);if(he.isEven()&&he.iadd(e),he.testn(1)||he.iadd(T),oe.cmp(T)){if(!oe.cmp(g))for(;he.mod(m).cmp(P);)he.iadd(U)}else for(;he.mod(p).cmp(j);)he.iadd(U);if(Q(me=he.shrn(1))&&Q(he)&&$(me)&&$(he)&&c.test(me)&&c.test(he))return he}}},12773:(Ae,ee,l)=>{"use strict";var i=l(90258),t=l(61885),p=t([i("%String.prototype.indexOf%")]);Ae.exports=function(c,e){var T=i(c,!!e);return"function"==typeof T&&p(c,".prototype.")>-1?t([T]):T}},12901:(Ae,ee,l)=>{"use strict";var i=l(68283),t=l(39210);function p(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}ee.BlockHash=p,p.prototype.update=function(c,e){if(c=i.toArray(c,e),this.pending=this.pending?this.pending.concat(c):c,this.pendingTotal+=c.length,this.pending.length>=this._delta8){var T=(c=this.pending).length%this._delta8;this.pending=c.slice(c.length-T,c.length),0===this.pending.length&&(this.pending=null),c=i.join32(c,0,c.length-T,this.endian);for(var g=0;g<c.length;g+=this._delta32)this._update(c,g,g+this._delta32)}return this},p.prototype.digest=function(c){return this.update(this._pad()),t(null===this.pending),this._digest(c)},p.prototype._pad=function(){var c=this.pendingTotal,e=this._delta8,T=e-(c+this.padLength)%e,g=new Array(T+this.padLength);g[0]=128;for(var d=1;d<T;d++)g[d]=0;if(c<<=3,"big"===this.endian){for(var w=8;w<this.padLength;w++)g[d++]=0;g[d++]=0,g[d++]=0,g[d++]=0,g[d++]=0,g[d++]=c>>>24&255,g[d++]=c>>>16&255,g[d++]=c>>>8&255,g[d++]=255&c}else for(g[d++]=255&c,g[d++]=c>>>8&255,g[d++]=c>>>16&255,g[d++]=c>>>24&255,g[d++]=0,g[d++]=0,g[d++]=0,g[d++]=0,w=8;w<this.padLength;w++)g[d++]=0;return g}},13017:(Ae,ee,l)=>{"use strict";l.d(ee,{B:()=>oe});var i=l(11747),t=l(21413),p=l(7673),S=l(99437),c=l(96354),e=l(31397),T=l(56977),g=l(12462),d=l(4416),w=l(11771),m=l(86439),P=l(95428),M=l(72730),j=l(2615),U=l(29330),K=l(59640),q=l(53202),G=l(82571),Q=l(98570),$=l(43694),ae=l(7879),ue=l(57303);let oe=(()=>{var he;class me{constructor(D,n,o,f,h,b,A,k,x){this.actions=D,this.httpClient=n,this.store=o,this.sessionService=f,this.commonService=h,this.logger=b,this.router=A,this.wsService=k,this.location=x,this.CHILD_API_URL=d.H$+"/ecl",this.invoicesPageSettings=d.X8.find(r=>"transactions"===r.pageId)?.tables.find(r=>"invoices"===r.tableId),this.paymentsPageSettings=d.X8.find(r=>"transactions"===r.pageId)?.tables.find(r=>"payments"===r.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,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.FETCH_INFO_ECL),(0,e.Z)(r=>(this.flgInitialized=!1,this.store.dispatch((0,w.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,w.mt)({payload:d.MZ.GET_NODE_INFO})),this.store.dispatch((0,P.uL)({payload:{action:"FetchInfo",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.GETINFO_API).pipe((0,T.Q)(this.actions.pipe((0,i.gp)(d.aU.SET_SELECTED_NODE))),(0,c.T)(_=>(this.logger.info(_),this.initializeRemainingData(_,r.payload.loadPage),this.store.dispatch((0,P.uL)({payload:{action:"FetchInfo",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.GET_NODE_INFO})),{type:d.Uu.SET_INFO_ECL,payload:_||{}})),(0,S.W)(_=>{const W=this.commonService.extractErrorCode(_),I=503===W?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(_);return this.router.navigate(["/error"],{state:{errorCode:W,errorMessage:I}}),this.handleErrorWithoutAlert("FetchInfo",d.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:W,error:I}),(0,p.of)({type:d.aU.VOID})})))))),this.fetchFees=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.FETCH_FEES_ECL),(0,e.Z)(()=>(this.store.dispatch((0,P.uL)({payload:{action:"FetchFees",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.FEES_API+"/fees").pipe((0,c.T)(r=>(this.logger.info(r),this.store.dispatch((0,P.uL)({payload:{action:"FetchFees",status:d.wn.COMPLETED}})),{type:d.Uu.SET_FEES_ECL,payload:r||{}})),(0,S.W)(r=>(this.handleErrorWithoutAlert("FetchFees",d.MZ.NO_SPINNER,"Fetching Fees Failed.",r),(0,p.of)({type:d.aU.VOID})))))))),this.fetchPayments=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.FETCH_PAYMENTS_ECL),(0,e.Z)(r=>(this.store.dispatch((0,P.uL)({payload:{action:"FetchPayments",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.FEES_API+"/payments?count="+r.payload.count+"&skip="+r.payload.skip).pipe((0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.uL)({payload:{action:"FetchPayments",status:d.wn.COMPLETED}})),{type:d.Uu.SET_PAYMENTS_ECL,payload:_||{}})),(0,S.W)(_=>(this.handleErrorWithoutAlert("FetchPayments",d.MZ.NO_SPINNER,"Fetching Payments Failed.",_),(0,p.of)({type:d.aU.VOID})))))))),this.channelsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.FETCH_CHANNELS_ECL),(0,e.Z)(r=>(this.store.dispatch((0,P.uL)({payload:{action:"FetchChannels",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.CHANNELS_API).pipe((0,c.T)(_=>(this.logger.info(_),this.rawChannelsList=_,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,P.uL)({payload:{action:"FetchChannels",status:d.wn.COMPLETED}})),{type:d.aU.VOID})),(0,S.W)(_=>(this.handleErrorWithoutAlert("FetchChannels",d.MZ.NO_SPINNER,"Fetching Channels Failed.",_),(0,p.of)({type:d.aU.VOID})))))))),this.fetchOnchainBalance=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.FETCH_ONCHAIN_BALANCE_ECL),(0,e.Z)(()=>(this.store.dispatch((0,P.uL)({payload:{action:"FetchOnchainBalance",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.ON_CHAIN_API+"/balance"))),(0,c.T)(r=>(this.logger.info(r),this.store.dispatch((0,P.uL)({payload:{action:"FetchOnchainBalance",status:d.wn.COMPLETED}})),{type:d.Uu.SET_ONCHAIN_BALANCE_ECL,payload:r||{}})),(0,S.W)(r=>(this.handleErrorWithoutAlert("FetchOnchainBalance",d.MZ.NO_SPINNER,"Fetching Onchain Balances Failed.",r),(0,p.of)({type:d.aU.VOID}))))),this.peersFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.FETCH_PEERS_ECL),(0,e.Z)(()=>(this.store.dispatch((0,P.uL)({payload:{action:"FetchPeers",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.PEERS_API).pipe((0,c.T)(r=>(this.logger.info(r),this.store.dispatch((0,P.uL)({payload:{action:"FetchPeers",status:d.wn.COMPLETED}})),{type:d.Uu.SET_PEERS_ECL,payload:r||[]})),(0,S.W)(r=>(this.handleErrorWithoutAlert("FetchPeers",d.MZ.NO_SPINNER,"Fetching Peers Failed.",r),(0,p.of)({type:d.aU.VOID})))))))),this.getNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.GET_NEW_ADDRESS_ECL),(0,e.Z)(()=>(this.store.dispatch((0,w.mt)({payload:d.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+d.rl.ON_CHAIN_API).pipe((0,c.T)(r=>(this.logger.info(r),this.store.dispatch((0,w.y0)({payload:d.MZ.GENERATE_NEW_ADDRESS})),{type:d.Uu.SET_NEW_ADDRESS_ECL,payload:r})),(0,S.W)(r=>(this.handleErrorWithAlert("GetNewAddress",d.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+d.rl.ON_CHAIN_API,r),(0,p.of)({type:d.aU.VOID})))))))),this.setNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.SET_NEW_ADDRESS_ECL),(0,c.T)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.saveNewPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.SAVE_NEW_PEER_ECL),(0,e.Z)(r=>(this.store.dispatch((0,w.mt)({payload:d.MZ.CONNECT_PEER})),this.store.dispatch((0,P.uL)({payload:{action:"SaveNewPeer",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.PEERS_API+(r.payload.id.includes("@")?"?uri=":"?nodeId=")+r.payload.id,{}).pipe((0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.uL)({payload:{action:"SaveNewPeer",status:d.wn.COMPLETED}})),_=_||[],this.store.dispatch((0,w.y0)({payload:d.MZ.CONNECT_PEER})),this.store.dispatch((0,P.Qj)({payload:_})),{type:d.Uu.NEWLY_ADDED_PEER_ECL,payload:{peer:_.find(W=>W.nodeId===(r.payload.id.includes("@")?r.payload.id.substring(0,r.payload.id.indexOf("@")):r.payload.id))}})),(0,S.W)(_=>(this.handleErrorWithoutAlert("SaveNewPeer",d.MZ.CONNECT_PEER,"Peer Connection Failed.",_),(0,p.of)({type:d.aU.VOID})))))))),this.detachPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.DETACH_PEER_ECL),(0,e.Z)(r=>(this.store.dispatch((0,w.mt)({payload:d.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+d.rl.PEERS_API+"/"+r.payload.nodeId).pipe((0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,w.y0)({payload:d.MZ.DISCONNECT_PEER})),this.store.dispatch((0,w.UI)({payload:"Disconnecting Peer!"})),{type:d.Uu.REMOVE_PEER_ECL,payload:{nodeId:r.payload.nodeId}})),(0,S.W)(_=>(this.handleErrorWithAlert("DisconnectPeer",d.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.rl.PEERS_API+"/"+r.payload.nodeId,_),(0,p.of)({type:d.aU.VOID})))))))),this.openNewChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.SAVE_NEW_CHANNEL_ECL),(0,e.Z)(r=>{this.store.dispatch((0,w.mt)({payload:d.MZ.OPEN_CHANNEL})),this.store.dispatch((0,P.uL)({payload:{action:"SaveNewChannel",status:d.wn.INITIATED}}));const _={nodeId:r.payload.nodeId,fundingSatoshis:r.payload.amount,announceChannel:!r.payload.private};return r.payload.feeRate&&r.payload.feeRate>0&&(_.fundingFeerateSatByte=r.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+d.rl.CHANNELS_API,_).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,P.uL)({payload:{action:"SaveNewChannel",status:d.wn.COMPLETED}})),this.store.dispatch((0,P.Gy)()),this.store.dispatch((0,P.jJ)()),this.store.dispatch((0,w.y0)({payload:d.MZ.OPEN_CHANNEL})),this.store.dispatch((0,w.UI)({payload:"Channel Added Successfully!"})),{type:d.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,S.W)(W=>(this.handleErrorWithoutAlert("SaveNewChannel",d.MZ.OPEN_CHANNEL,"Opening Channel Failed.",W),(0,p.of)({type:d.aU.VOID}))))}))),this.updateChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.UPDATE_CHANNEL_ECL),(0,e.Z)(r=>{this.store.dispatch((0,w.mt)({payload:d.MZ.UPDATE_CHAN_POLICY}));let _="?feeBaseMsat="+r.payload.baseFeeMsat+"&feeProportionalMillionths="+r.payload.feeRate;return _=r.payload.nodeIds?_+"&nodeIds="+r.payload.nodeIds:r.payload.nodeId?_+"&nodeId="+r.payload.nodeId:r.payload.channelIds?_+"&channelIds="+r.payload.channelIds:_+"&channelId="+r.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.rl.CHANNELS_API+"/updateRelayFee"+_,{}).pipe((0,c.T)(W=>(this.logger.info(W),this.store.dispatch((0,w.y0)({payload:d.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,w.UI)(r.payload.nodeIds||r.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:d.Uu.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,S.W)(W=>(this.handleErrorWithAlert("UpdateChannels",d.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+d.rl.CHANNELS_API,W),(0,p.of)({type:d.aU.VOID}))))}))),this.closeChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.CLOSE_CHANNEL_ECL),(0,e.Z)(r=>(this.store.dispatch((0,w.mt)({payload:r.payload.force?d.MZ.FORCE_CLOSE_CHANNEL:d.MZ.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+d.rl.CHANNELS_API+"?channelId="+r.payload.channelId+"&force="+r.payload.force).pipe((0,c.T)(_=>(this.logger.info(_),setTimeout(()=>{this.store.dispatch((0,w.y0)({payload:r.payload.force?d.MZ.FORCE_CLOSE_CHANNEL:d.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,w.UI)({payload:r.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:d.aU.VOID})),(0,S.W)(_=>(this.handleErrorWithAlert("CloseChannel",r.payload.force?d.MZ.FORCE_CLOSE_CHANNEL:d.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.rl.CHANNELS_API,_),(0,p.of)({type:d.aU.VOID})))))))),this.queryRoutesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.GET_QUERY_ROUTES_ECL),(0,e.Z)(r=>this.httpClient.get(this.CHILD_API_URL+d.rl.PAYMENTS_API+"/route?nodeId="+r.payload.nodeId+"&amountMsat="+r.payload.amount).pipe((0,c.T)(_=>(this.logger.info(_),{type:d.Uu.SET_QUERY_ROUTES_ECL,payload:_})),(0,S.W)(_=>(this.store.dispatch((0,P.Hm)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",d.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+d.rl.PAYMENTS_API+"/route?nodeId="+r.payload.nodeId+"&amountMsat="+r.payload.amount,_),(0,p.of)({type:d.aU.VOID}))))))),this.setQueryRoutes=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.SET_QUERY_ROUTES_ECL),(0,c.T)(r=>r.payload)),{dispatch:!1}),this.sendPayment=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.SEND_PAYMENT_ECL),(0,e.Z)(r=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,w.mt)({payload:d.MZ.SEND_PAYMENT})),this.store.dispatch((0,P.uL)({payload:{action:"SendPayment",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.PAYMENTS_API,r.payload).pipe((0,c.T)(_=>(this.logger.info(_),this.latestPaymentRes=_,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:d.aU.VOID})),(0,S.W)(_=>(this.logger.error("Error: "+JSON.stringify(_)),r.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",d.MZ.SEND_PAYMENT,"Send Payment Failed.",_):this.handleErrorWithAlert("SendPayment",d.MZ.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+d.rl.PAYMENTS_API,_),(0,p.of)({type:d.aU.VOID})))))))),this.transactionsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.FETCH_TRANSACTIONS_ECL),(0,e.Z)(r=>(this.store.dispatch((0,P.uL)({payload:{action:"FetchTransactions",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.ON_CHAIN_API+"/transactions?count="+r.payload.count+"&skip="+r.payload.skip))),(0,c.T)(r=>(this.logger.info(r),this.store.dispatch((0,P.uL)({payload:{action:"FetchTransactions",status:d.wn.COMPLETED}})),{type:d.Uu.SET_TRANSACTIONS_ECL,payload:r||[]})),(0,S.W)(r=>(this.handleErrorWithoutAlert("FetchTransactions",d.MZ.NO_SPINNER,"Fetching Transactions Failed.",r),(0,p.of)({type:d.aU.VOID}))))),this.SendOnchainFunds=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.SEND_ONCHAIN_FUNDS_ECL),(0,e.Z)(r=>(this.store.dispatch((0,w.mt)({payload:d.MZ.SEND_FUNDS})),this.store.dispatch((0,P.uL)({payload:{action:"SendOnchainFunds",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.ON_CHAIN_API,r.payload).pipe((0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.uL)({payload:{action:"SendOnchainFunds",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.SEND_FUNDS})),this.store.dispatch((0,P.jJ)()),{type:d.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,payload:_})),(0,S.W)(_=>(this.handleErrorWithoutAlert("SendOnchainFunds",d.MZ.SEND_FUNDS,"Sending Fund Failed.",_),(0,p.of)({type:d.aU.VOID})))))))),this.createInvoice=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.CREATE_INVOICE_ECL),(0,e.Z)(r=>(this.store.dispatch((0,w.mt)({payload:d.MZ.CREATE_INVOICE})),this.store.dispatch((0,P.uL)({payload:{action:"CreateInvoice",status:d.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.rl.INVOICES_API,r.payload).pipe((0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.uL)({payload:{action:"CreateInvoice",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.CREATE_INVOICE})),_.timestamp=Math.round((new Date).getTime()/1e3),_.expiresAt=Math.round(_.timestamp+r.payload.expireIn),_.description=r.payload.description,_.status="unpaid",setTimeout(()=>{this.store.dispatch((0,w.xO)({payload:{data:{invoice:_,newlyAdded:!0,component:m.Z}}}))},200),{type:d.Uu.ADD_INVOICE_ECL,payload:_})),(0,S.W)(_=>(this.handleErrorWithoutAlert("CreateInvoice",d.MZ.CREATE_INVOICE,"Create Invoice Failed.",_),(0,p.of)({type:d.aU.VOID})))))))),this.invoicesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.FETCH_INVOICES_ECL),(0,e.Z)(r=>(this.store.dispatch((0,P.uL)({payload:{action:"FetchInvoices",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.INVOICES_API+"?count="+r.payload.count+"&skip="+r.payload.skip).pipe((0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.uL)({payload:{action:"FetchInvoices",status:d.wn.COMPLETED}})),{type:d.Uu.SET_INVOICES_ECL,payload:_})),(0,S.W)(_=>(this.handleErrorWithoutAlert("FetchInvoices",d.MZ.NO_SPINNER,"Fetching Invoices Failed.",_),(0,p.of)({type:d.aU.VOID})))))))),this.peerLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.PEER_LOOKUP_ECL),(0,e.Z)(r=>(this.store.dispatch((0,w.mt)({payload:d.MZ.SEARCHING_NODE})),this.store.dispatch((0,P.uL)({payload:{action:"Lookup",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.NETWORK_API+"/nodes/"+r.payload).pipe((0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.uL)({payload:{action:"Lookup",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.SEARCHING_NODE})),{type:d.Uu.SET_LOOKUP_ECL,payload:_})),(0,S.W)(_=>(this.handleErrorWithAlert("Lookup",d.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+d.rl.NETWORK_API+"/nodes/"+r.payload,_),(0,p.of)({type:d.aU.VOID})))))))),this.invoiceLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.INVOICE_LOOKUP_ECL),(0,e.Z)(r=>(this.store.dispatch((0,w.mt)({payload:d.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,P.uL)({payload:{action:"Lookup",status:d.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.rl.INVOICES_API+"/"+r.payload).pipe((0,c.T)(_=>(this.logger.info(_),this.store.dispatch((0,P.uL)({payload:{action:"Lookup",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,P.Dq)({payload:_})),{type:d.Uu.SET_LOOKUP_ECL,payload:_})),(0,S.W)(_=>(this.handleErrorWithoutAlert("Lookup",d.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",_),this.store.dispatch((0,w.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,p.of)({type:d.aU.VOID})))))))),this.setLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.SET_LOOKUP_ECL),(0,c.T)(r=>(this.logger.info(r.payload),r.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.FETCH_PAGE_SETTINGS_ECL),(0,e.Z)(()=>(this.store.dispatch((0,P.uL)({payload:{action:"FetchPageSettings",status:d.wn.INITIATED}})),this.httpClient.get(d.rl.PAGE_SETTINGS_API).pipe((0,c.T)(r=>(this.logger.info(r),this.store.dispatch((0,P.uL)({payload:{action:"FetchPageSettings",status:d.wn.COMPLETED}})),this.invoicesPageSettings=r&&Object.keys(r).length>0?r.find(_=>"transactions"===_.pageId)?.tables.find(_=>"invoices"===_.tableId):d.X8.find(_=>"transactions"===_.pageId)?.tables.find(_=>"invoices"===_.tableId),this.paymentsPageSettings=r&&Object.keys(r).length>0?r.find(_=>"transactions"===_.pageId)?.tables.find(_=>"payments"===_.tableId):d.X8.find(_=>"transactions"===_.pageId)?.tables.find(_=>"payments"===_.tableId),{type:d.Uu.SET_PAGE_SETTINGS_ECL,payload:r||[]})),(0,S.W)(r=>(this.handleErrorWithoutAlert("FetchPageSettings",d.MZ.NO_SPINNER,"Fetching Page Settings Failed.",r),(0,p.of)({type:d.aU.VOID})))))))),this.savePageSettingsCL=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(d.Uu.SAVE_PAGE_SETTINGS_ECL),(0,e.Z)(r=>(this.store.dispatch((0,w.mt)({payload:d.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,P.uL)({payload:{action:"SavePageSettings",status:d.wn.INITIATED}})),this.httpClient.post(d.rl.PAGE_SETTINGS_API,r.payload).pipe((0,c.T)(_=>{this.logger.info(_),this.store.dispatch((0,P.uL)({payload:{action:"SavePageSettings",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,w.UI)({payload:"Page Layout Updated Successfully!"}));const W=(_.find(B=>"transactions"===B.pageId)?.tables.find(B=>"invoices"===B.tableId)||d.X8.find(B=>"transactions"===B.pageId)?.tables.find(B=>"invoices"===B.tableId))?.recordsPerPage,I=(_.find(B=>"transactions"===B.pageId)?.tables.find(B=>"payments"===B.tableId)||d.X8.find(B=>"transactions"===B.pageId)?.tables.find(B=>"payments"===B.tableId))?.recordsPerPage;return this.invoicesPageSettings&&W!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=W),this.paymentsPageSettings&&I!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=I),{type:d.Uu.SET_PAGE_SETTINGS_ECL,payload:_||[]}}),(0,S.W)(_=>(this.handleErrorWithAlert("SavePageSettings",d.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",d.rl.PAGE_SETTINGS_API,_),(0,p.of)({type:d.aU.VOID})))))))),this.handleSendPaymentStatus=r=>{this.store.dispatch((0,P.uL)({payload:{action:"SendPayment",status:d.wn.COMPLETED}})),this.store.dispatch((0,w.y0)({payload:d.MZ.SEND_PAYMENT})),this.store.dispatch((0,P.N4)({payload:this.latestPaymentRes})),this.store.dispatch((0,w.UI)({payload:r}))},this.store.select(M.ru).pipe((0,T.Q)(this.unSubs[0])).subscribe(r=>{r.FetchInfo.status!==d.wn.COMPLETED&&r.FetchInfo.status!==d.wn.ERROR||r.FetchFees.status!==d.wn.COMPLETED&&r.FetchFees.status!==d.wn.ERROR||r.FetchOnchainBalance.status!==d.wn.COMPLETED&&r.FetchOnchainBalance.status!==d.wn.ERROR||r.FetchChannels.status!==d.wn.COMPLETED&&r.FetchChannels.status!==d.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,w.y0)({payload:d.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,T.Q)(this.unSubs[1])).subscribe(r=>{this.logger.info("Received new message from the service: "+JSON.stringify(r));let _="";if(r)switch(r.type){case d.ck.PAYMENT_SENT:r&&r.id&&this.latestPaymentRes===r.id&&(this.flgReceivedPaymentUpdateFromWS=!0,_="Payment Sent: "+(r.paymentHash?"with payment hash "+r.paymentHash:JSON.stringify(r)),this.handleSendPaymentStatus(_));break;case d.ck.PAYMENT_FAILED:r&&r.id&&this.latestPaymentRes===r.id&&(this.flgReceivedPaymentUpdateFromWS=!0,_="Payment Failed: "+(r.failures&&r.failures.length&&r.failures.length>0&&r.failures[0].t?r.failures[0].t:r.failures&&r.failures.length&&r.failures.length>0&&r.failures[0].e&&r.failures[0].e.failureMessage?r.failures[0].e.failureMessage:JSON.stringify(r)),this.handleSendPaymentStatus(_));break;case d.ck.PAYMENT_RECEIVED:this.store.dispatch((0,P.Dq)({payload:r}));break;case d.ck.PAYMENT_RELAYED:delete r.source,r.amountIn=Math.round((r.amountIn||0)/1e3),r.amountOut=Math.round((r.amountOut||0)/1e3),r.timestamp.unix&&(r.timestamp=1e3*r.timestamp.unix),this.store.dispatch((0,P.yn)({payload:r}));break;case d.ck.CHANNEL_STATE_CHANGED:"NORMAL"===r.currentState||"CLOSED"===r.currentState?(this.rawChannelsList=this.rawChannelsList?.map(W=>(W.channelId===r.channelId&&W.nodeId===r.remoteNodeId&&(W.state=r.currentState),W)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,P.gZ)({payload:r}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(r))}})}setChannelsAndStatusAndBalances(){let D=0,n=0,o=0,f={localBalance:0,remoteBalance:0},h=[];const b=[],A=[],k={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((x,r)=>{x&&("NORMAL"===x.state?(D=(x.toLocal||0)+(x.toRemote||0),n+=x.toLocal||0,o+=x.toRemote||0,x.balancedness=0===D?1:+(1-Math.abs(((x.toLocal||0)-(x.toRemote||0))/D)).toFixed(3),h.push(x),k.active.channels=k.active.channels+1,k.active.capacity=k.active.capacity+(x.toLocal||0)):x.state?.includes("WAIT")||x.state?.includes("CLOSING")||x.state?.includes("SYNCING")?(x.state=x.state?.replace(/_/g," "),b.push(x),k.pending.channels=k.pending.channels+1,k.pending.capacity=k.pending.capacity+(x.toLocal||0)):(x.state=x.state?.replace(/_/g," "),A.push(x),k.inactive.channels=k.inactive.channels+1,k.inactive.capacity=k.inactive.capacity+(x.toLocal||0)))}),f={localBalance:n,remoteBalance:o},h=this.commonService.sortDescByKey(h,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(h)),this.logger.info("Pending Channels: "+JSON.stringify(b)),this.logger.info("Inactive Channels: "+JSON.stringify(A)),this.logger.info("Lightning Balances: "+JSON.stringify(f)),this.logger.info("Channels Status: "+JSON.stringify(k)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:h,pending:b,inactive:A,balances:f,status:k})),this.store.dispatch((0,P.Tp)({payload:h})),this.store.dispatch((0,P.cU)({payload:b})),this.store.dispatch((0,P.I6)({payload:A})),this.store.dispatch((0,P.N8)({payload:f})),this.store.dispatch((0,P.ZE)({payload:k}))}initializeRemainingData(D,n){this.sessionService.setItem("eclUnlocked","true");const o={identity_pubkey:D.nodeId,alias:D.alias,testnet:"testnet"===D.network,chains:D.publicAddresses,uris:D.uris,version:D.version,numberOfPendingChannels:0};this.store.dispatch((0,w.mt)({payload:d.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,w.Fl)({payload:o}));let f=this.location.path();f.includes("/lnd/")?f=f?.replace("/lnd/","/ecl/"):f.includes("/cln/")&&(f=f?.replace("/cln/","/ecl/")),(f.includes("/login")||f.includes("/error")||""===f||"HOME"===n||f.includes("?access-key="))&&(f="/ecl/home"),this.router.navigate([f]),this.store.dispatch((0,P.$Q)()),this.store.dispatch((0,P.yp)()),this.store.dispatch((0,P.jJ)()),this.store.dispatch((0,P.Gy)())}handleErrorWithoutAlert(D,n,o,f){this.logger.error("ERROR IN: "+D+"\n"+JSON.stringify(f)),401===f.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.Jh)()),this.store.dispatch((0,w.ri)({payload:"Authentication Failed: "+JSON.stringify(f.error)}))):(this.store.dispatch((0,w.y0)({payload:n})),this.store.dispatch((0,P.uL)({payload:{action:D,status:d.wn.ERROR,statusCode:f.status.toString(),message:this.commonService.extractErrorMessage(f,o)}})))}handleErrorWithAlert(D,n,o,f,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.Jh)()),this.store.dispatch((0,w.ri)({payload:"Authentication Failed: "+JSON.stringify(h.error)}));else{this.store.dispatch((0,w.y0)({payload:n}));const b=this.commonService.extractErrorMessage(h);this.store.dispatch((0,w.xO)({payload:{data:{type:"ERROR",alertTitle:o,message:{code:h.status,message:b,URL:f},component:g.f}}})),this.store.dispatch((0,P.uL)({payload:{action:D,status:d.wn.ERROR,statusCode:h.status.toString(),message:b,URL:f}}))}}ngOnDestroy(){this.unSubs.forEach(D=>{D.next(null),D.complete()})}static#e=he=()=>(this.\u0275fac=function(n){return new(n||me)(j.KVO(i.En),j.KVO(U.Qq),j.KVO(K.il),j.KVO(q.Q),j.KVO(G.h),j.KVO(Q.gP),j.KVO($.Ix),j.KVO(ae.I),j.KVO(ue.aZ))},this.\u0275prov=j.jDH({token:me,factory:me.\u0275fac}))}return he(),me})()},13546:Ae=>{Ae.exports=function(l,i){for(var t=Math.min(l.length,i.length),p=new Buffer(t),S=0;S<t;++S)p[S]=l[S]^i[S];return p}},13686:(Ae,ee,l)=>{"use strict";var i=l(27054).Buffer,t=l(7045).Transform;function S(g){t.call(this),this._block=i.allocUnsafe(g),this._blockSize=g,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}l(71993)(S,t),S.prototype._transform=function(g,d,w){var m=null;try{this.update(g,d)}catch(P){m=P}w(m)},S.prototype._flush=function(g){var d=null;try{this.push(this.digest())}catch(w){d=w}g(d)};var c=typeof Uint8Array<"u",e=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(i.prototype instanceof Uint8Array||i.TYPED_ARRAY_SUPPORT);S.prototype.update=function(g,d){if(this._finalized)throw new Error("Digest already called");g=function T(g,d){if(g instanceof i)return g;if("string"==typeof g)return i.from(g,d);if(e&&ArrayBuffer.isView(g)){if(0===g.byteLength)return i.alloc(0);var w=i.from(g.buffer,g.byteOffset,g.byteLength);if(w.byteLength===g.byteLength)return w}if(c&&g instanceof Uint8Array||i.isBuffer(g)&&g.constructor&&"function"==typeof g.constructor.isBuffer&&g.constructor.isBuffer(g))return i.from(g);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}(g,d);for(var w=this._block,m=0;this._blockOffset+g.length-m>=this._blockSize;){for(var P=this._blockOffset;P<this._blockSize;)w[P++]=g[m++];this._update(),this._blockOffset=0}for(;m<g.length;)w[this._blockOffset++]=g[m++];for(var M=0,j=8*g.length;j>0;++M)this._length[M]+=j,(j=this._length[M]/4294967296|0)>0&&(this._length[M]-=4294967296*j);return this},S.prototype._update=function(){throw new Error("_update is not implemented")},S.prototype.digest=function(g){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var d=this._digest();void 0!==g&&(d=d.toString(g)),this._block.fill(0),this._blockOffset=0;for(var w=0;w<4;++w)this._length[w]=0;return d},S.prototype._digest=function(){throw new Error("_digest is not implemented")},Ae.exports=S},13798:(Ae,ee,l)=>{"use strict";l.d(ee,{Z:()=>T});var i=l(43236),t=l(39974),p=l(58750),S=l(54360),e=l(1807);function T(g,d=i.E){return function c(g){return(0,t.N)((d,w)=>{let m=!1,P=null,M=null,j=!1;const U=()=>{if(M?.unsubscribe(),M=null,m){m=!1;const q=P;P=null,w.next(q)}j&&w.complete()},K=()=>{M=null,j&&w.complete()};d.subscribe((0,S._)(w,q=>{m=!0,P=q,M||(0,p.Tg)(g(q)).subscribe(M=(0,S._)(w,U,K))},()=>{j=!0,(!m||!M||M.closed)&&w.complete()}))})}(()=>(0,e.O)(g,d))}},13981:(Ae,ee)=>{"use strict";ee.byteLength=function T(M){var j=e(M),K=j[1];return 3*(j[0]+K)/4-K},ee.toByteArray=function d(M){var j,ae,U=e(M),K=U[0],q=U[1],G=new t(function g(M,j,U){return 3*(j+U)/4-U}(0,K,q)),Q=0,$=q>0?K-4:K;for(ae=0;ae<$;ae+=4)j=i[M.charCodeAt(ae)]<<18|i[M.charCodeAt(ae+1)]<<12|i[M.charCodeAt(ae+2)]<<6|i[M.charCodeAt(ae+3)],G[Q++]=j>>16&255,G[Q++]=j>>8&255,G[Q++]=255&j;return 2===q&&(j=i[M.charCodeAt(ae)]<<2|i[M.charCodeAt(ae+1)]>>4,G[Q++]=255&j),1===q&&(j=i[M.charCodeAt(ae)]<<10|i[M.charCodeAt(ae+1)]<<4|i[M.charCodeAt(ae+2)]>>2,G[Q++]=j>>8&255,G[Q++]=255&j),G},ee.fromByteArray=function P(M){for(var j,U=M.length,K=U%3,q=[],G=16383,Q=0,$=U-K;Q<$;Q+=G)q.push(m(M,Q,Q+G>$?$:Q+G));return 1===K?q.push(l[(j=M[U-1])>>2]+l[j<<4&63]+"=="):2===K&&q.push(l[(j=(M[U-2]<<8)+M[U-1])>>10]+l[j>>4&63]+l[j<<2&63]+"="),q.join("")};for(var l=[],i=[],t=typeof Uint8Array<"u"?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S=0;S<64;++S)l[S]=p[S],i[p.charCodeAt(S)]=S;function e(M){var j=M.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var U=M.indexOf("=");return-1===U&&(U=j),[U,U===j?0:4-U%4]}function w(M){return l[M>>18&63]+l[M>>12&63]+l[M>>6&63]+l[63&M]}function m(M,j,U){for(var q=[],G=j;G<U;G+=3)q.push(w((M[G]<<16&16711680)+(M[G+1]<<8&65280)+(255&M[G+2])));return q.join("")}i[45]=62,i[95]=63},14085:(Ae,ee,l)=>{"use strict";function i(p){return null!=p&&"false"!=`${p}`}function t(p,S=/\s+/){const c=[];if(null!=p){const e=Array.isArray(p)?p:`${p}`.split(S);for(const T of e){const g=`${T}`.trim();g&&c.push(g)}}return c}l.d(ee,{cc:()=>t,he:()=>i})},14105:(Ae,ee,l)=>{"use strict";var i=l(917),t=l(3342),p=l(27054).Buffer;function S(T){var d,g=T.modulus.byteLength();do{d=new i(t(g))}while(d.cmp(T.modulus)>=0||!d.umod(T.prime1)||!d.umod(T.prime2));return d}function e(T,g){var d=function c(T){var g=S(T);return{blinder:g.toRed(i.mont(T.modulus)).redPow(new i(T.publicExponent)).fromRed(),unblinder:g.invm(T.modulus)}}(g),w=g.modulus.byteLength(),m=new i(T).mul(d.blinder).umod(g.modulus),P=m.toRed(i.mont(g.prime1)),M=m.toRed(i.mont(g.prime2)),j=g.coefficient,U=g.prime1,K=g.prime2,q=P.redPow(g.exponent1).fromRed(),G=M.redPow(g.exponent2).fromRed(),Q=q.isub(G).imul(j).umod(U).imul(K);return G.iadd(Q).imul(d.unblinder).umod(g.modulus).toArrayLike(p,"be",w)}e.getr=S,Ae.exports=e},14117:(Ae,ee,l)=>{"use strict";l.d(ee,{q:()=>t,y:()=>p});var i=l(30017);class t{}function p(S){return S&&"function"==typeof S.connect&&!(S instanceof i.G)}},14981:Ae=>{"use strict";Ae.exports=Math.min},15066:(Ae,ee,l)=>{var i=ee;i.Reporter=l(85697).a,i.DecoderBuffer=l(97290).t,i.EncoderBuffer=l(97290).d,i.Node=l(34320)},15196:(Ae,ee,l)=>{"use strict";l.d(ee,{C:()=>p,U:()=>S});var i=l(31635),t=l(98071);function p(c){return(0,i.AQ)(this,arguments,function*(){const T=c.getReader();try{for(;;){const{value:g,done:d}=yield(0,i.N3)(T.read());if(d)return yield(0,i.N3)(void 0);yield yield(0,i.N3)(g)}}finally{T.releaseLock()}})}function S(c){return(0,t.T)(c?.getReader)}},15283:(Ae,ee,l)=>{"use strict";var i=l(68283),t=l(12901),p=i.rotl32,S=i.sum32,c=i.sum32_3,e=i.sum32_4,T=t.BlockHash;function g(){if(!(this instanceof g))return new g;T.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(K,q,G,Q){return K<=15?q^G^Q:K<=31?q&G|~q&Q:K<=47?(q|~G)^Q:K<=63?q&Q|G&~Q:q^(G|~Q)}function w(K){return K<=15?0:K<=31?1518500249:K<=47?1859775393:K<=63?2400959708:2840853838}function m(K){return K<=15?1352829926:K<=31?1548603684:K<=47?1836072691:K<=63?2053994217:0}i.inherits(g,T),ee.ripemd160=g,g.blockSize=512,g.outSize=160,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(q,G){for(var Q=this.h[0],$=this.h[1],ae=this.h[2],ue=this.h[3],oe=this.h[4],he=Q,me=$,Te=ae,D=ue,n=oe,o=0;o<80;o++){var f=S(p(e(Q,d(o,$,ae,ue),q[P[o]+G],w(o)),j[o]),oe);Q=oe,oe=ue,ue=p(ae,10),ae=$,$=f,f=S(p(e(he,d(79-o,me,Te,D),q[M[o]+G],m(o)),U[o]),n),he=n,n=D,D=p(Te,10),Te=me,me=f}f=c(this.h[1],ae,D),this.h[1]=c(this.h[2],ue,n),this.h[2]=c(this.h[3],oe,he),this.h[3]=c(this.h[4],Q,me),this.h[4]=c(this.h[0],$,Te),this.h[0]=f},g.prototype._digest=function(q){return"hex"===q?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var P=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],M=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],j=[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],U=[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]},15340:()=>{},15492:(Ae,ee,l)=>{"use strict";function t(Be){var _e=this;this.next=null,this.entry=null,this.finish=function(){!function be(Be,_e,ye){var Le=Be.entry;for(Be.entry=null;Le;){var Ke=Le.callback;_e.pendingcb--,Ke(ye),Le=Le.next}_e.corkedRequestsFree.next=Be}(_e,Be)}}var p;Ae.exports=Te,Te.WritableState=he;var me,S={deprecate:l(3398)},c=l(12601),e=l(83838).Buffer,T=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},w=l(88152),P=l(22827).getHighWaterMark,M=l(30464).F,j=M.ERR_INVALID_ARG_TYPE,U=M.ERR_METHOD_NOT_IMPLEMENTED,K=M.ERR_MULTIPLE_CALLBACK,q=M.ERR_STREAM_CANNOT_PIPE,G=M.ERR_STREAM_DESTROYED,Q=M.ERR_STREAM_NULL_VALUES,$=M.ERR_STREAM_WRITE_AFTER_END,ae=M.ERR_UNKNOWN_ENCODING,ue=w.errorOrDestroy;function oe(){}function he(Be,_e,ye){p=p||l(1030),"boolean"!=typeof ye&&(ye=_e instanceof p),this.objectMode=!!(Be=Be||{}).objectMode,ye&&(this.objectMode=this.objectMode||!!Be.writableObjectMode),this.highWaterMark=P(this,Be,"writableHighWaterMark",ye),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Be.decodeStrings),this.defaultEncoding=Be.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ke){!function k(Be,_e){var ye=Be._writableState,Le=ye.sync,Ke=ye.writecb;if("function"!=typeof Ke)throw new K;if(function A(Be){Be.writing=!1,Be.writecb=null,Be.length-=Be.writelen,Be.writelen=0}(ye),_e)!function b(Be,_e,ye,Le,Ke){--_e.pendingcb,ye?(process.nextTick(Ke,Le),process.nextTick(re,Be,_e),Be._writableState.errorEmitted=!0,ue(Be,Le)):(Ke(Le),Be._writableState.errorEmitted=!0,ue(Be,Le),re(Be,_e))}(Be,ye,Le,_e,Ke);else{var ge=W(ye)||Be.destroyed;!ge&&!ye.corked&&!ye.bufferProcessing&&ye.bufferedRequest&&_(Be,ye),Le?process.nextTick(x,Be,ye,ge,Ke):x(Be,ye,ge,Ke)}}(_e,Ke)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Be.emitClose,this.autoDestroy=!!Be.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function Te(Be){var _e=this instanceof(p=p||l(1030));if(!_e&&!me.call(Te,this))return new Te(Be);this._writableState=new he(Be,this,_e),this.writable=!0,Be&&("function"==typeof Be.write&&(this._write=Be.write),"function"==typeof Be.writev&&(this._writev=Be.writev),"function"==typeof Be.destroy&&(this._destroy=Be.destroy),"function"==typeof Be.final&&(this._final=Be.final)),c.call(this)}function h(Be,_e,ye,Le,Ke,ge,ve){_e.writelen=Le,_e.writecb=ve,_e.writing=!0,_e.sync=!0,_e.destroyed?_e.onwrite(new G("write")):ye?Be._writev(Ke,_e.onwrite):Be._write(Ke,ge,_e.onwrite),_e.sync=!1}function x(Be,_e,ye,Le){ye||function r(Be,_e){0===_e.length&&_e.needDrain&&(_e.needDrain=!1,Be.emit("drain"))}(Be,_e),_e.pendingcb--,Le(),re(Be,_e)}function _(Be,_e){_e.bufferProcessing=!0;var ye=_e.bufferedRequest;if(Be._writev&&ye&&ye.next){var Ke=new Array(_e.bufferedRequestCount),ge=_e.corkedRequestsFree;ge.entry=ye;for(var ve=0,Oe=!0;ye;)Ke[ve]=ye,ye.isBuf||(Oe=!1),ye=ye.next,ve+=1;Ke.allBuffers=Oe,h(Be,_e,!0,_e.length,Ke,"",ge.finish),_e.pendingcb++,_e.lastBufferedRequest=null,ge.next?(_e.corkedRequestsFree=ge.next,ge.next=null):_e.corkedRequestsFree=new t(_e),_e.bufferedRequestCount=0}else{for(;ye;){var Ee=ye.chunk;if(h(Be,_e,!1,_e.objectMode?1:Ee.length,Ee,ye.encoding,ye.callback),ye=ye.next,_e.bufferedRequestCount--,_e.writing)break}null===ye&&(_e.lastBufferedRequest=null)}_e.bufferedRequest=ye,_e.bufferProcessing=!1}function W(Be){return Be.ending&&0===Be.length&&null===Be.bufferedRequest&&!Be.finished&&!Be.writing}function I(Be,_e){Be._final(function(ye){_e.pendingcb--,ye&&ue(Be,ye),_e.prefinished=!0,Be.emit("prefinish"),re(Be,_e)})}function re(Be,_e){var ye=W(_e);if(ye&&(function B(Be,_e){!_e.prefinished&&!_e.finalCalled&&("function"!=typeof Be._final||_e.destroyed?(_e.prefinished=!0,Be.emit("prefinish")):(_e.pendingcb++,_e.finalCalled=!0,process.nextTick(I,Be,_e)))}(Be,_e),0===_e.pendingcb&&(_e.finished=!0,Be.emit("finish"),_e.autoDestroy))){var Le=Be._readableState;(!Le||Le.autoDestroy&&Le.endEmitted)&&Be.destroy()}return ye}l(71993)(Te,c),he.prototype.getBuffer=function(){for(var _e=this.bufferedRequest,ye=[];_e;)ye.push(_e),_e=_e.next;return ye},function(){try{Object.defineProperty(he.prototype,"buffer",{get:S.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(me=Function.prototype[Symbol.hasInstance],Object.defineProperty(Te,Symbol.hasInstance,{value:function(_e){return!!me.call(this,_e)||this===Te&&_e&&_e._writableState instanceof he}})):me=function(_e){return _e instanceof this},Te.prototype.pipe=function(){ue(this,new q)},Te.prototype.write=function(Be,_e,ye){var Le=this._writableState,Ke=!1,ge=!Le.objectMode&&function d(Be){return e.isBuffer(Be)||Be instanceof T}(Be);return ge&&!e.isBuffer(Be)&&(Be=function g(Be){return e.from(Be)}(Be)),"function"==typeof _e&&(ye=_e,_e=null),ge?_e="buffer":_e||(_e=Le.defaultEncoding),"function"!=typeof ye&&(ye=oe),Le.ending?function D(Be,_e){var ye=new $;ue(Be,ye),process.nextTick(_e,ye)}(this,ye):(ge||function n(Be,_e,ye,Le){var Ke;return null===ye?Ke=new Q:"string"!=typeof ye&&!_e.objectMode&&(Ke=new j("chunk",["string","Buffer"],ye)),!Ke||(ue(Be,Ke),process.nextTick(Le,Ke),!1)}(this,Le,Be,ye))&&(Le.pendingcb++,Ke=function f(Be,_e,ye,Le,Ke,ge){if(!ye){var ve=function o(Be,_e,ye){return!Be.objectMode&&!1!==Be.decodeStrings&&"string"==typeof _e&&(_e=e.from(_e,ye)),_e}(_e,Le,Ke);Le!==ve&&(ye=!0,Ke="buffer",Le=ve)}var Oe=_e.objectMode?1:Le.length;_e.length+=Oe;var Ee=_e.length<_e.highWaterMark;if(Ee||(_e.needDrain=!0),_e.writing||_e.corked){var dt=_e.lastBufferedRequest;_e.lastBufferedRequest={chunk:Le,encoding:Ke,isBuf:ye,callback:ge,next:null},dt?dt.next=_e.lastBufferedRequest:_e.bufferedRequest=_e.lastBufferedRequest,_e.bufferedRequestCount+=1}else h(Be,_e,!1,Oe,Le,Ke,ge);return Ee}(this,Le,ge,Be,_e,ye)),Ke},Te.prototype.cork=function(){this._writableState.corked++},Te.prototype.uncork=function(){var Be=this._writableState;Be.corked&&(Be.corked--,!Be.writing&&!Be.corked&&!Be.bufferProcessing&&Be.bufferedRequest&&_(this,Be))},Te.prototype.setDefaultEncoding=function(_e){if("string"==typeof _e&&(_e=_e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((_e+"").toLowerCase())>-1))throw new ae(_e);return this._writableState.defaultEncoding=_e,this},Object.defineProperty(Te.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Te.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Te.prototype._write=function(Be,_e,ye){ye(new U("_write()"))},Te.prototype._writev=null,Te.prototype.end=function(Be,_e,ye){var Le=this._writableState;return"function"==typeof Be?(ye=Be,Be=null,_e=null):"function"==typeof _e&&(ye=_e,_e=null),null!=Be&&this.write(Be,_e),Le.corked&&(Le.corked=1,this.uncork()),Le.ending||function pe(Be,_e,ye){_e.ending=!0,re(Be,_e),ye&&(_e.finished?process.nextTick(ye):Be.once("finish",ye)),_e.ended=!0,Be.writable=!1}(this,Le,ye),this},Object.defineProperty(Te.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Te.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(_e){this._writableState&&(this._writableState.destroyed=_e)}}),Te.prototype.destroy=w.destroy,Te.prototype._undestroy=w.undestroy,Te.prototype._destroy=function(Be,_e){_e(Be)}},15526:(Ae,ee,l)=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});var t=function i(c){return c&&"object"==typeof c&&"default"in c?c.default:c}(l(47851));ee.keyDecoder=(c,e)=>t.decode(c).toString(e),ee.keyEncoder=(c,e)=>t.encode(Buffer.from(c,e).toString("ascii")).toString().replace(/=/g,"")},15579:Ae=>{"use strict";Ae.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"}')},16038:(Ae,ee,l)=>{"use strict";l.d(ee,{Cc:()=>I,PW:()=>Q,eI:()=>r});var i=l(2615),t=l(73664),p=l(17705),S=l(29340),c=l(72200),e=l(60177),d=(l(14085),l(56977),l(345));let K=(()=>{class B extends S.DJ{constructor(pe,be,Be,_e,ye,Le,Ke){super(pe,null,be,Be),this.ngClassInstance=Ke,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new c.YU(_e,ye,pe,Le)),this.init(),this.setValue("","")}set klass(pe){this.ngClassInstance.klass=pe,this.setValue(pe,"")}updateWithValue(pe){this.ngClassInstance.ngClass=pe,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return B.\u0275fac=function(pe){return new(pe||B)(t.rXU(t.aKT),t.rXU(S.ZH),t.rXU(S.qH),t.rXU(p._q3),t.rXU(p.MKu),t.rXU(t.sFG),t.rXU(c.YU,10))},B.\u0275dir=t.FsC({type:B,inputs:{klass:[0,"class","klass"]},standalone:!1,features:[t.Vt3]}),B})();const q=["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 Q=(()=>{class B extends K{constructor(){super(...arguments),this.inputs=q}}return B.\u0275fac=(()=>{let re;return function(be){return(re||(re=t.xGo(B)))(be||B)}})(),B.\u0275dir=t.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"},standalone:!1,features:[t.Vt3]}),B})();class Te{constructor(re,pe,be=!0){this.key=re,this.value=pe,this.key=be?re.replace(/['"]/g,"").trim():re.trim(),this.value=be?pe.replace(/['"]/g,"").trim():pe.trim(),this.value=this.value.replace(/;/,"")}}function D(B){let re=typeof B;return"object"===re?B.constructor===Array?"array":B.constructor===Set?"set":"object":re}function h(B){const[re,...pe]=B.split(":");return new Te(re,pe.join(":"))}function b(B,re){return re.key&&(B[re.key]=re.value),B}let A=(()=>{class B extends S.DJ{constructor(pe,be,Be,_e,ye,Le,Ke,ge,ve){super(pe,null,be,Be),this.sanitizer=_e,this.ngStyleInstance=Ke,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new c.B3(pe,ye,Le)),this.init();const Oe=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(Oe),this.isServer=ge&&(0,e.Vy)(ve)}updateWithValue(pe){const be=this.buildStyleMap(pe);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...be},this.isServer&&this.applyStyleToElement(be),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(pe){const be=Be=>this.sanitizer.sanitize(t.WPN.STYLE,Be)??"";if(pe)switch(D(pe)){case"string":return _(function n(B,re=";"){return String(B).trim().split(re).map(pe=>pe.trim()).filter(pe=>""!==pe)}(pe),be);case"array":return _(pe,be);default:return function f(B,re){let pe=[];return"set"===D(B)?B.forEach(be=>pe.push(be)):Object.keys(B).forEach(be=>{pe.push(`${be}:${B[be]}`)}),function o(B,re){return B.map(h).filter(be=>!!be).map(be=>(re&&(be.value=re(be.value)),be)).reduce(b,{})}(pe,re)}(pe,be)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return B.\u0275fac=function(pe){return new(pe||B)(t.rXU(t.aKT),t.rXU(S.ZH),t.rXU(S.qH),t.rXU(d.up),t.rXU(p.MKu),t.rXU(t.sFG),t.rXU(c.B3,10),t.rXU(S.Ce),t.rXU(t.Agw))},B.\u0275dir=t.FsC({type:B,standalone:!1,features:[t.Vt3]}),B})();const k=["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 r=(()=>{class B extends A{constructor(){super(...arguments),this.inputs=k}}return B.\u0275fac=(()=>{let re;return function(be){return(re||(re=t.xGo(B)))(be||B)}})(),B.\u0275dir=t.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"},standalone:!1,features:[t.Vt3]}),B})();function _(B,re){return B.map(h).filter(be=>!!be).map(be=>(re&&(be.value=re(be.value)),be)).reduce(b,{})}let I=(()=>{class B{}return B.\u0275fac=function(pe){return new(pe||B)},B.\u0275mod=t.$C({type:B}),B.\u0275inj=i.G2t({imports:[S.Ui]}),B})()},16508:function(Ae,ee,l){!function(i,t){"use strict";function p(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var o=function(){};o.prototype=n.prototype,D.prototype=new o,D.prototype.constructor=D}function c(D,n,o){if(c.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(D||0,n||10,o||"be"))}var e;"object"==typeof i?i.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{e=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:l(51069).Buffer}catch{}function T(D,n){var o=D.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function g(D,n,o){var f=T(D,o);return o-1>=n&&(f|=T(D,o-1)<<4),f}function d(D,n,o,f){for(var h=0,b=Math.min(D.length,o),A=n;A<b;A++){var k=D.charCodeAt(A)-48;h*=f,h+=k>=49?k-49+10:k>=17?k-17+10:k}return h}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,f){if("number"==typeof n)return this._initNumber(n,o,f);if("object"==typeof n)return this._initArray(n,o,f);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===o?this._parseHex(n,h,f):(this._parseBase(n,o,h),"le"===f&&this._initArray(this.toArray(),o,f)))},c.prototype._initNumber=function(n,o,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(p(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),o,f)},c.prototype._initArray=function(n,o,f){if(p("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var b,A,k=0;if("be"===f)for(h=n.length-1,b=0;h>=0;h-=3)this.words[b]|=(A=n[h]|n[h-1]<<8|n[h-2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);else if("le"===f)for(h=0,b=0;h<n.length;h+=3)this.words[b]|=(A=n[h]|n[h+1]<<8|n[h+2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);return this.strip()},c.prototype._parseHex=function(n,o,f){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var k,b=0,A=0;if("be"===f)for(h=n.length-1;h>=o;h-=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;else for(h=(n.length-o)%2==0?o+1:o;h<n.length;h+=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;this.strip()},c.prototype._parseBase=function(n,o,f){this.words=[0],this.length=1;for(var h=0,b=1;b<=67108863;b*=o)h++;h--,b=b/o|0;for(var A=n.length-f,k=A%h,x=Math.min(A,A-k)+f,r=0,_=f;_<x;_+=h)r=d(n,_,_+h,o),this.imuln(b),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==k){var W=1;for(r=d(n,_,n.length,o),_=0;_<k;_++)W*=o;this.imuln(W),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},c.prototype.copy=function(n){n.words=new Array(this.length);for(var o=0;o<this.length;o++)n.words[o]=this.words[o];n.length=this.length,n.negative=this.negative,n.red=this.red},c.prototype.clone=function(){var n=new c(null);return this.copy(n),n},c.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var w=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],P=[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 j(D,n,o){o.negative=n.negative^D.negative;var f=D.length+n.length|0;o.length=f,f=f-1|0;var h=0|D.words[0],b=0|n.words[0],A=h*b,x=A/67108864|0;o.words[0]=67108863&A;for(var r=1;r<f;r++){for(var _=x>>>26,W=67108863&x,I=Math.min(r,n.length-1),B=Math.max(0,r-D.length+1);B<=I;B++)_+=(A=(h=0|D.words[r-B|0])*(b=0|n.words[B])+W)/67108864|0,W=67108863&A;o.words[r]=0|W,x=0|_}return 0!==x?o.words[r]=0|x:o.length--,o.strip()}c.prototype.toString=function(n,o){var f;if(o=0|o||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,b=0,A=0;A<this.length;A++){var k=this.words[A],x=(16777215&(k<<h|b)).toString(16);b=k>>>24-h&16777215,(h+=2)>=26&&(h-=26,A--),f=0!==b||A!==this.length-1?w[6-x.length]+x+f:x+f}for(0!==b&&(f=b.toString(16)+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],_=P[n];f="";var W=this.clone();for(W.negative=0;!W.isZero();){var I=W.modn(_).toString(n);f=(W=W.idivn(_)).isZero()?I+f:w[r-I.length]+I+f}for(this.isZero()&&(f="0"+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}p(!1,"Base should be between 2 and 36")},c.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&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof e<"u"),this.toArrayLike(e,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,f){var h=this.byteLength(),b=f||Math.max(1,h);p(h<=b,"byte array longer than desired length"),p(b>0,"Requested array length <= 0"),this.strip();var x,r,A="le"===o,k=new n(b),_=this.clone();if(A){for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[r]=x;for(;r<b;r++)k[r]=0}else{for(r=0;r<b-h;r++)k[r]=0;for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[b-r-1]=x}return k},c.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var o=n,f=0;return o>=4096&&(f+=13,o>>>=13),o>=64&&(f+=7,o>>>=7),o>=8&&(f+=4,o>>>=4),o>=2&&(f+=2,o>>>=2),f+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,f=0;return!(8191&o)&&(f+=13,o>>>=13),!(127&o)&&(f+=7,o>>>=7),!(15&o)&&(f+=4,o>>>=4),!(3&o)&&(f+=2,o>>>=2),!(1&o)&&f++,f},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;o<this.length;o++){var f=this._zeroBits(this.words[o]);if(n+=f,26!==f)break}return n},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},c.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var o=0;o<n.length;o++)this.words[o]=this.words[o]|n.words[o];return this.strip()},c.prototype.ior=function(n){return p(0===(this.negative|n.negative)),this.iuor(n)},c.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var f=0;f<o.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=o.length,this.strip()},c.prototype.iand=function(n){return p(0===(this.negative|n.negative)),this.iuand(n)},c.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,f;this.length>n.length?(o=this,f=n):(o=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=o.words[h]^f.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},c.prototype.ixor=function(n){return p(0===(this.negative|n.negative)),this.iuxor(n)},c.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),f=n%26;this._expand(o),f>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=o?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},c.prototype.iadd=function(n){var o,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,o=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,o=this.isub(n),n.negative=1,o._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var b=0,A=0;A<h.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+(0|h.words[A])+b),b=o>>>26;for(;0!==b&&A<f.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+b),b=o>>>26;if(this.length=f.length,0!==b)this.words[this.length]=b,this.length++;else if(f!==this)for(;A<f.length;A++)this.words[A]=f.words[A];return this},c.prototype.add=function(n){var o;return 0!==n.negative&&0===this.negative?(n.negative=0,o=this.sub(n),n.negative^=1,o):0===n.negative&&0!==this.negative?(this.negative=0,o=n.sub(this),this.negative=1,o):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,b,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,b=n):(h=n,b=this);for(var A=0,k=0;k<b.length;k++)A=(o=(0|h.words[k])-(0|b.words[k])+A)>>26,this.words[k]=67108863&o;for(;0!==A&&k<h.length;k++)A=(o=(0|h.words[k])+A)>>26,this.words[k]=67108863&o;if(0===A&&k<h.length&&h!==this)for(;k<h.length;k++)this.words[k]=h.words[k];return this.length=Math.max(this.length,k),h!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(n){return this.clone().isub(n)};var U=function(n,o,f){var x,r,_,h=n.words,b=o.words,A=f.words,k=0,W=0|h[0],I=8191&W,B=W>>>13,re=0|h[1],pe=8191&re,be=re>>>13,Be=0|h[2],_e=8191&Be,ye=Be>>>13,Le=0|h[3],Ke=8191&Le,ge=Le>>>13,ve=0|h[4],Oe=8191&ve,Ee=ve>>>13,dt=0|h[5],nt=8191&dt,Ct=dt>>>13,Mt=0|h[6],lt=8191&Mt,Pe=Mt>>>13,Ht=0|h[7],ct=8191&Ht,Ce=Ht>>>13,ze=0|h[8],Z=8191&ze,J=ze>>>13,fe=0|h[9],Ie=8191&fe,ht=fe>>>13,li=0|b[0],Qt=8191&li,di=li>>>13,kt=0|b[1],Rt=8191&kt,le=kt>>>13,te=0|b[2],ce=8191&te,se=te>>>13,ke=0|b[3],Ue=8191&ke,Ne=ke>>>13,Kt=0|b[4],yt=8191&Kt,Vt=Kt>>>13,Zt=0|b[5],ti=8191&Zt,Ye=Zt>>>13,Nt=0|b[6],Et=8191&Nt,Jt=Nt>>>13,qe=0|b[7],$e=8191&qe,tt=qe>>>13,vi=0|b[8],ei=8191&vi,ci=vi>>>13,Hi=0|b[9],oi=8191&Hi,ui=Hi>>>13;f.negative=n.negative^o.negative,f.length=19;var ln=(k+(x=Math.imul(I,Qt))|0)+((8191&(r=(r=Math.imul(I,di))+Math.imul(B,Qt)|0))<<13)|0;k=((_=Math.imul(B,di))+(r>>>13)|0)+(ln>>>26)|0,ln&=67108863,x=Math.imul(pe,Qt),r=(r=Math.imul(pe,di))+Math.imul(be,Qt)|0,_=Math.imul(be,di);var nn=(k+(x=x+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,le)|0)+Math.imul(B,Rt)|0))<<13)|0;k=((_=_+Math.imul(B,le)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,x=Math.imul(_e,Qt),r=(r=Math.imul(_e,di))+Math.imul(ye,Qt)|0,_=Math.imul(ye,di),x=x+Math.imul(pe,Rt)|0,r=(r=r+Math.imul(pe,le)|0)+Math.imul(be,Rt)|0,_=_+Math.imul(be,le)|0;var dn=(k+(x=x+Math.imul(I,ce)|0)|0)+((8191&(r=(r=r+Math.imul(I,se)|0)+Math.imul(B,ce)|0))<<13)|0;k=((_=_+Math.imul(B,se)|0)+(r>>>13)|0)+(dn>>>26)|0,dn&=67108863,x=Math.imul(Ke,Qt),r=(r=Math.imul(Ke,di))+Math.imul(ge,Qt)|0,_=Math.imul(ge,di),x=x+Math.imul(_e,Rt)|0,r=(r=r+Math.imul(_e,le)|0)+Math.imul(ye,Rt)|0,_=_+Math.imul(ye,le)|0,x=x+Math.imul(pe,ce)|0,r=(r=r+Math.imul(pe,se)|0)+Math.imul(be,ce)|0,_=_+Math.imul(be,se)|0;var zn=(k+(x=x+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ne)|0)+Math.imul(B,Ue)|0))<<13)|0;k=((_=_+Math.imul(B,Ne)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,x=Math.imul(Oe,Qt),r=(r=Math.imul(Oe,di))+Math.imul(Ee,Qt)|0,_=Math.imul(Ee,di),x=x+Math.imul(Ke,Rt)|0,r=(r=r+Math.imul(Ke,le)|0)+Math.imul(ge,Rt)|0,_=_+Math.imul(ge,le)|0,x=x+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,se)|0)+Math.imul(ye,ce)|0,_=_+Math.imul(ye,se)|0,x=x+Math.imul(pe,Ue)|0,r=(r=r+Math.imul(pe,Ne)|0)+Math.imul(be,Ue)|0,_=_+Math.imul(be,Ne)|0;var It=(k+(x=x+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Vt)|0)+Math.imul(B,yt)|0))<<13)|0;k=((_=_+Math.imul(B,Vt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,x=Math.imul(nt,Qt),r=(r=Math.imul(nt,di))+Math.imul(Ct,Qt)|0,_=Math.imul(Ct,di),x=x+Math.imul(Oe,Rt)|0,r=(r=r+Math.imul(Oe,le)|0)+Math.imul(Ee,Rt)|0,_=_+Math.imul(Ee,le)|0,x=x+Math.imul(Ke,ce)|0,r=(r=r+Math.imul(Ke,se)|0)+Math.imul(ge,ce)|0,_=_+Math.imul(ge,se)|0,x=x+Math.imul(_e,Ue)|0,r=(r=r+Math.imul(_e,Ne)|0)+Math.imul(ye,Ue)|0,_=_+Math.imul(ye,Ne)|0,x=x+Math.imul(pe,yt)|0,r=(r=r+Math.imul(pe,Vt)|0)+Math.imul(be,yt)|0,_=_+Math.imul(be,Vt)|0;var Tt=(k+(x=x+Math.imul(I,ti)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ye)|0)+Math.imul(B,ti)|0))<<13)|0;k=((_=_+Math.imul(B,Ye)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,x=Math.imul(lt,Qt),r=(r=Math.imul(lt,di))+Math.imul(Pe,Qt)|0,_=Math.imul(Pe,di),x=x+Math.imul(nt,Rt)|0,r=(r=r+Math.imul(nt,le)|0)+Math.imul(Ct,Rt)|0,_=_+Math.imul(Ct,le)|0,x=x+Math.imul(Oe,ce)|0,r=(r=r+Math.imul(Oe,se)|0)+Math.imul(Ee,ce)|0,_=_+Math.imul(Ee,se)|0,x=x+Math.imul(Ke,Ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,Ue)|0,_=_+Math.imul(ge,Ne)|0,x=x+Math.imul(_e,yt)|0,r=(r=r+Math.imul(_e,Vt)|0)+Math.imul(ye,yt)|0,_=_+Math.imul(ye,Vt)|0,x=x+Math.imul(pe,ti)|0,r=(r=r+Math.imul(pe,Ye)|0)+Math.imul(be,ti)|0,_=_+Math.imul(be,Ye)|0;var Ze=(k+(x=x+Math.imul(I,Et)|0)|0)+((8191&(r=(r=r+Math.imul(I,Jt)|0)+Math.imul(B,Et)|0))<<13)|0;k=((_=_+Math.imul(B,Jt)|0)+(r>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,x=Math.imul(ct,Qt),r=(r=Math.imul(ct,di))+Math.imul(Ce,Qt)|0,_=Math.imul(Ce,di),x=x+Math.imul(lt,Rt)|0,r=(r=r+Math.imul(lt,le)|0)+Math.imul(Pe,Rt)|0,_=_+Math.imul(Pe,le)|0,x=x+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,se)|0)+Math.imul(Ct,ce)|0,_=_+Math.imul(Ct,se)|0,x=x+Math.imul(Oe,Ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Ee,Ue)|0,_=_+Math.imul(Ee,Ne)|0,x=x+Math.imul(Ke,yt)|0,r=(r=r+Math.imul(Ke,Vt)|0)+Math.imul(ge,yt)|0,_=_+Math.imul(ge,Vt)|0,x=x+Math.imul(_e,ti)|0,r=(r=r+Math.imul(_e,Ye)|0)+Math.imul(ye,ti)|0,_=_+Math.imul(ye,Ye)|0,x=x+Math.imul(pe,Et)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(be,Et)|0,_=_+Math.imul(be,Jt)|0;var Ve=(k+(x=x+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,tt)|0)+Math.imul(B,$e)|0))<<13)|0;k=((_=_+Math.imul(B,tt)|0)+(r>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,x=Math.imul(Z,Qt),r=(r=Math.imul(Z,di))+Math.imul(J,Qt)|0,_=Math.imul(J,di),x=x+Math.imul(ct,Rt)|0,r=(r=r+Math.imul(ct,le)|0)+Math.imul(Ce,Rt)|0,_=_+Math.imul(Ce,le)|0,x=x+Math.imul(lt,ce)|0,r=(r=r+Math.imul(lt,se)|0)+Math.imul(Pe,ce)|0,_=_+Math.imul(Pe,se)|0,x=x+Math.imul(nt,Ue)|0,r=(r=r+Math.imul(nt,Ne)|0)+Math.imul(Ct,Ue)|0,_=_+Math.imul(Ct,Ne)|0,x=x+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,Vt)|0)+Math.imul(Ee,yt)|0,_=_+Math.imul(Ee,Vt)|0,x=x+Math.imul(Ke,ti)|0,r=(r=r+Math.imul(Ke,Ye)|0)+Math.imul(ge,ti)|0,_=_+Math.imul(ge,Ye)|0,x=x+Math.imul(_e,Et)|0,r=(r=r+Math.imul(_e,Jt)|0)+Math.imul(ye,Et)|0,_=_+Math.imul(ye,Jt)|0,x=x+Math.imul(pe,$e)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(be,$e)|0,_=_+Math.imul(be,tt)|0;var Fe=(k+(x=x+Math.imul(I,ei)|0)|0)+((8191&(r=(r=r+Math.imul(I,ci)|0)+Math.imul(B,ei)|0))<<13)|0;k=((_=_+Math.imul(B,ci)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,x=Math.imul(Ie,Qt),r=(r=Math.imul(Ie,di))+Math.imul(ht,Qt)|0,_=Math.imul(ht,di),x=x+Math.imul(Z,Rt)|0,r=(r=r+Math.imul(Z,le)|0)+Math.imul(J,Rt)|0,_=_+Math.imul(J,le)|0,x=x+Math.imul(ct,ce)|0,r=(r=r+Math.imul(ct,se)|0)+Math.imul(Ce,ce)|0,_=_+Math.imul(Ce,se)|0,x=x+Math.imul(lt,Ue)|0,r=(r=r+Math.imul(lt,Ne)|0)+Math.imul(Pe,Ue)|0,_=_+Math.imul(Pe,Ne)|0,x=x+Math.imul(nt,yt)|0,r=(r=r+Math.imul(nt,Vt)|0)+Math.imul(Ct,yt)|0,_=_+Math.imul(Ct,Vt)|0,x=x+Math.imul(Oe,ti)|0,r=(r=r+Math.imul(Oe,Ye)|0)+Math.imul(Ee,ti)|0,_=_+Math.imul(Ee,Ye)|0,x=x+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Jt)|0)+Math.imul(ge,Et)|0,_=_+Math.imul(ge,Jt)|0,x=x+Math.imul(_e,$e)|0,r=(r=r+Math.imul(_e,tt)|0)+Math.imul(ye,$e)|0,_=_+Math.imul(ye,tt)|0,x=x+Math.imul(pe,ei)|0,r=(r=r+Math.imul(pe,ci)|0)+Math.imul(be,ei)|0,_=_+Math.imul(be,ci)|0;var it=(k+(x=x+Math.imul(I,oi)|0)|0)+((8191&(r=(r=r+Math.imul(I,ui)|0)+Math.imul(B,oi)|0))<<13)|0;k=((_=_+Math.imul(B,ui)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,x=Math.imul(Ie,Rt),r=(r=Math.imul(Ie,le))+Math.imul(ht,Rt)|0,_=Math.imul(ht,le),x=x+Math.imul(Z,ce)|0,r=(r=r+Math.imul(Z,se)|0)+Math.imul(J,ce)|0,_=_+Math.imul(J,se)|0,x=x+Math.imul(ct,Ue)|0,r=(r=r+Math.imul(ct,Ne)|0)+Math.imul(Ce,Ue)|0,_=_+Math.imul(Ce,Ne)|0,x=x+Math.imul(lt,yt)|0,r=(r=r+Math.imul(lt,Vt)|0)+Math.imul(Pe,yt)|0,_=_+Math.imul(Pe,Vt)|0,x=x+Math.imul(nt,ti)|0,r=(r=r+Math.imul(nt,Ye)|0)+Math.imul(Ct,ti)|0,_=_+Math.imul(Ct,Ye)|0,x=x+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Jt)|0)+Math.imul(Ee,Et)|0,_=_+Math.imul(Ee,Jt)|0,x=x+Math.imul(Ke,$e)|0,r=(r=r+Math.imul(Ke,tt)|0)+Math.imul(ge,$e)|0,_=_+Math.imul(ge,tt)|0,x=x+Math.imul(_e,ei)|0,r=(r=r+Math.imul(_e,ci)|0)+Math.imul(ye,ei)|0,_=_+Math.imul(ye,ci)|0;var bt=(k+(x=x+Math.imul(pe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(pe,ui)|0)+Math.imul(be,oi)|0))<<13)|0;k=((_=_+Math.imul(be,ui)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863,x=Math.imul(Ie,ce),r=(r=Math.imul(Ie,se))+Math.imul(ht,ce)|0,_=Math.imul(ht,se),x=x+Math.imul(Z,Ue)|0,r=(r=r+Math.imul(Z,Ne)|0)+Math.imul(J,Ue)|0,_=_+Math.imul(J,Ne)|0,x=x+Math.imul(ct,yt)|0,r=(r=r+Math.imul(ct,Vt)|0)+Math.imul(Ce,yt)|0,_=_+Math.imul(Ce,Vt)|0,x=x+Math.imul(lt,ti)|0,r=(r=r+Math.imul(lt,Ye)|0)+Math.imul(Pe,ti)|0,_=_+Math.imul(Pe,Ye)|0,x=x+Math.imul(nt,Et)|0,r=(r=r+Math.imul(nt,Jt)|0)+Math.imul(Ct,Et)|0,_=_+Math.imul(Ct,Jt)|0,x=x+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,tt)|0)+Math.imul(Ee,$e)|0,_=_+Math.imul(Ee,tt)|0,x=x+Math.imul(Ke,ei)|0,r=(r=r+Math.imul(Ke,ci)|0)+Math.imul(ge,ei)|0,_=_+Math.imul(ge,ci)|0;var ut=(k+(x=x+Math.imul(_e,oi)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(ye,oi)|0))<<13)|0;k=((_=_+Math.imul(ye,ui)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,x=Math.imul(Ie,Ue),r=(r=Math.imul(Ie,Ne))+Math.imul(ht,Ue)|0,_=Math.imul(ht,Ne),x=x+Math.imul(Z,yt)|0,r=(r=r+Math.imul(Z,Vt)|0)+Math.imul(J,yt)|0,_=_+Math.imul(J,Vt)|0,x=x+Math.imul(ct,ti)|0,r=(r=r+Math.imul(ct,Ye)|0)+Math.imul(Ce,ti)|0,_=_+Math.imul(Ce,Ye)|0,x=x+Math.imul(lt,Et)|0,r=(r=r+Math.imul(lt,Jt)|0)+Math.imul(Pe,Et)|0,_=_+Math.imul(Pe,Jt)|0,x=x+Math.imul(nt,$e)|0,r=(r=r+Math.imul(nt,tt)|0)+Math.imul(Ct,$e)|0,_=_+Math.imul(Ct,tt)|0,x=x+Math.imul(Oe,ei)|0,r=(r=r+Math.imul(Oe,ci)|0)+Math.imul(Ee,ei)|0,_=_+Math.imul(Ee,ci)|0;var jt=(k+(x=x+Math.imul(Ke,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,ui)|0)+Math.imul(ge,oi)|0))<<13)|0;k=((_=_+Math.imul(ge,ui)|0)+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,x=Math.imul(Ie,yt),r=(r=Math.imul(Ie,Vt))+Math.imul(ht,yt)|0,_=Math.imul(ht,Vt),x=x+Math.imul(Z,ti)|0,r=(r=r+Math.imul(Z,Ye)|0)+Math.imul(J,ti)|0,_=_+Math.imul(J,Ye)|0,x=x+Math.imul(ct,Et)|0,r=(r=r+Math.imul(ct,Jt)|0)+Math.imul(Ce,Et)|0,_=_+Math.imul(Ce,Jt)|0,x=x+Math.imul(lt,$e)|0,r=(r=r+Math.imul(lt,tt)|0)+Math.imul(Pe,$e)|0,_=_+Math.imul(Pe,tt)|0,x=x+Math.imul(nt,ei)|0,r=(r=r+Math.imul(nt,ci)|0)+Math.imul(Ct,ei)|0,_=_+Math.imul(Ct,ci)|0;var ai=(k+(x=x+Math.imul(Oe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,ui)|0)+Math.imul(Ee,oi)|0))<<13)|0;k=((_=_+Math.imul(Ee,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,x=Math.imul(Ie,ti),r=(r=Math.imul(Ie,Ye))+Math.imul(ht,ti)|0,_=Math.imul(ht,Ye),x=x+Math.imul(Z,Et)|0,r=(r=r+Math.imul(Z,Jt)|0)+Math.imul(J,Et)|0,_=_+Math.imul(J,Jt)|0,x=x+Math.imul(ct,$e)|0,r=(r=r+Math.imul(ct,tt)|0)+Math.imul(Ce,$e)|0,_=_+Math.imul(Ce,tt)|0,x=x+Math.imul(lt,ei)|0,r=(r=r+Math.imul(lt,ci)|0)+Math.imul(Pe,ei)|0,_=_+Math.imul(Pe,ci)|0;var pi=(k+(x=x+Math.imul(nt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ct,oi)|0))<<13)|0;k=((_=_+Math.imul(Ct,ui)|0)+(r>>>13)|0)+(pi>>>26)|0,pi&=67108863,x=Math.imul(Ie,Et),r=(r=Math.imul(Ie,Jt))+Math.imul(ht,Et)|0,_=Math.imul(ht,Jt),x=x+Math.imul(Z,$e)|0,r=(r=r+Math.imul(Z,tt)|0)+Math.imul(J,$e)|0,_=_+Math.imul(J,tt)|0,x=x+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,ci)|0)+Math.imul(Ce,ei)|0,_=_+Math.imul(Ce,ci)|0;var ki=(k+(x=x+Math.imul(lt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(lt,ui)|0)+Math.imul(Pe,oi)|0))<<13)|0;k=((_=_+Math.imul(Pe,ui)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,x=Math.imul(Ie,$e),r=(r=Math.imul(Ie,tt))+Math.imul(ht,$e)|0,_=Math.imul(ht,tt),x=x+Math.imul(Z,ei)|0,r=(r=r+Math.imul(Z,ci)|0)+Math.imul(J,ei)|0,_=_+Math.imul(J,ci)|0;var Ki=(k+(x=x+Math.imul(ct,oi)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ce,oi)|0))<<13)|0;k=((_=_+Math.imul(Ce,ui)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,x=Math.imul(Ie,ei),r=(r=Math.imul(Ie,ci))+Math.imul(ht,ei)|0,_=Math.imul(ht,ci);var Ji=(k+(x=x+Math.imul(Z,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Z,ui)|0)+Math.imul(J,oi)|0))<<13)|0;k=((_=_+Math.imul(J,ui)|0)+(r>>>13)|0)+(Ji>>>26)|0,Ji&=67108863;var Dn=(k+(x=Math.imul(Ie,oi))|0)+((8191&(r=(r=Math.imul(Ie,ui))+Math.imul(ht,oi)|0))<<13)|0;return k=((_=Math.imul(ht,ui))+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,A[0]=ln,A[1]=nn,A[2]=dn,A[3]=zn,A[4]=It,A[5]=Tt,A[6]=Ze,A[7]=Ve,A[8]=Fe,A[9]=it,A[10]=bt,A[11]=ut,A[12]=jt,A[13]=ai,A[14]=pi,A[15]=ki,A[16]=Ki,A[17]=Ji,A[18]=Dn,0!==k&&(A[19]=k,f.length++),f};function q(D,n,o){return(new G).mulp(D,n,o)}function G(D,n){this.x=D,this.y=n}Math.imul||(U=j),c.prototype.mulTo=function(n,o){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?U(this,n,o):h<63?j(this,n,o):h<1024?function K(D,n,o){o.negative=n.negative^D.negative,o.length=D.length+n.length;for(var f=0,h=0,b=0;b<o.length-1;b++){var A=h;h=0;for(var k=67108863&f,x=Math.min(b,n.length-1),r=Math.max(0,b-D.length+1);r<=x;r++){var B=(0|D.words[b-r])*(0|n.words[r]),re=67108863&B;k=67108863&(re=re+k|0),h+=(A=(A=A+(B/67108864|0)|0)+(re>>>26)|0)>>>26,A&=67108863}o.words[b]=k,f=A,A=h}return 0!==f?o.words[b]=f:o.length--,o.strip()}(this,n,o):q(this,n,o),f},G.prototype.makeRBT=function(n){for(var o=new Array(n),f=c.prototype._countBits(n)-1,h=0;h<n;h++)o[h]=this.revBin(h,f,n);return o},G.prototype.revBin=function(n,o,f){if(0===n||n===f-1)return n;for(var h=0,b=0;b<o;b++)h|=(1&n)<<o-b-1,n>>=1;return h},G.prototype.permute=function(n,o,f,h,b,A){for(var k=0;k<A;k++)h[k]=o[n[k]],b[k]=f[n[k]]},G.prototype.transform=function(n,o,f,h,b,A){this.permute(A,n,o,f,h,b);for(var k=1;k<b;k<<=1)for(var x=k<<1,r=Math.cos(2*Math.PI/x),_=Math.sin(2*Math.PI/x),W=0;W<b;W+=x)for(var I=r,B=_,re=0;re<k;re++){var pe=f[W+re],be=h[W+re],Be=f[W+re+k],_e=h[W+re+k],ye=I*Be-B*_e;_e=I*_e+B*Be,f[W+re]=pe+(Be=ye),h[W+re]=be+_e,f[W+re+k]=pe-Be,h[W+re+k]=be-_e,re!==x&&(ye=r*I-_*B,B=r*B+_*I,I=ye)}},G.prototype.guessLen13b=function(n,o){var f=1|Math.max(o,n),h=1&f,b=0;for(f=f/2|0;f;f>>>=1)b++;return 1<<b+1+h},G.prototype.conjugate=function(n,o,f){if(!(f<=1))for(var h=0;h<f/2;h++){var b=n[h];n[h]=n[f-h-1],n[f-h-1]=b,b=o[h],o[h]=-o[f-h-1],o[f-h-1]=-b}},G.prototype.normalize13b=function(n,o){for(var f=0,h=0;h<o/2;h++){var b=8192*Math.round(n[2*h+1]/o)+Math.round(n[2*h]/o)+f;n[h]=67108863&b,f=b<67108864?0:b/67108864|0}return n},G.prototype.convert13b=function(n,o,f,h){for(var b=0,A=0;A<o;A++)f[2*A]=8191&(b+=0|n[A]),f[2*A+1]=8191&(b>>>=13),b>>>=13;for(A=2*o;A<h;++A)f[A]=0;p(0===b),p(!(-8192&b))},G.prototype.stub=function(n){for(var o=new Array(n),f=0;f<n;f++)o[f]=0;return o},G.prototype.mulp=function(n,o,f){var h=2*this.guessLen13b(n.length,o.length),b=this.makeRBT(h),A=this.stub(h),k=new Array(h),x=new Array(h),r=new Array(h),_=new Array(h),W=new Array(h),I=new Array(h),B=f.words;B.length=h,this.convert13b(n.words,n.length,k,h),this.convert13b(o.words,o.length,_,h),this.transform(k,A,x,r,h,b),this.transform(_,A,W,I,h,b);for(var re=0;re<h;re++){var pe=x[re]*W[re]-r[re]*I[re];r[re]=x[re]*I[re]+r[re]*W[re],x[re]=pe}return this.conjugate(x,r,h),this.transform(x,r,B,A,h,b),this.conjugate(B,A,h),this.normalize13b(B,h),f.negative=n.negative^o.negative,f.length=n.length+o.length,f.strip()},c.prototype.mul=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),this.mulTo(n,o)},c.prototype.mulf=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),q(this,n,o)},c.prototype.imul=function(n){return this.clone().mulTo(n,this)},c.prototype.imuln=function(n){p("number"==typeof n),p(n<67108864);for(var o=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,b=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=b>>>26,this.words[f]=67108863&b}return 0!==o&&(this.words[f]=o,this.length++),this.length=0===n?1:this.length,this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function M(D){for(var n=new Array(D.bitLength()),o=0;o<n.length;o++){var h=o%26;n[o]=(D.words[o/26|0]&1<<h)>>>h}return n}(n);if(0===o.length)return new c(1);for(var f=this,h=0;h<o.length&&0===o[h];h++,f=f.sqr());if(++h<o.length)for(var b=f.sqr();h<o.length;h++,b=b.sqr())0!==o[h]&&(f=f.mul(b));return f},c.prototype.iushln=function(n){p("number"==typeof n&&n>=0);var b,o=n%26,f=(n-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(b=0;b<this.length;b++){var k=this.words[b]&h;this.words[b]=(0|this.words[b])-k<<o|A,A=k>>>26-o}A&&(this.words[b]=A,this.length++)}if(0!==f){for(b=this.length-1;b>=0;b--)this.words[b+f]=this.words[b];for(b=0;b<f;b++)this.words[b]=0;this.length+=f}return this.strip()},c.prototype.ishln=function(n){return p(0===this.negative),this.iushln(n)},c.prototype.iushrn=function(n,o,f){var h;p("number"==typeof n&&n>=0),h=o?(o-o%26)/26:0;var b=n%26,A=Math.min((n-b)/26,this.length),k=67108863^67108863>>>b<<b,x=f;if(h-=A,h=Math.max(0,h),x){for(var r=0;r<A;r++)x.words[r]=this.words[r];x.length=A}if(0!==A)if(this.length>A)for(this.length-=A,r=0;r<this.length;r++)this.words[r]=this.words[r+A];else this.words[0]=0,this.length=1;var _=0;for(r=this.length-1;r>=0&&(0!==_||r>=h);r--){var W=0|this.words[r];this.words[r]=_<<26-b|W>>>b,_=W&k}return x&&0!==_&&(x.words[x.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,f){return p(0===this.negative),this.iushrn(n,o,f)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return!(this.length<=f||!(this.words[f]&1<<o))},c.prototype.imaskn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==o&&f++,this.length=Math.min(f,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(n){return this.clone().imaskn(n)},c.prototype.iaddn=function(n){return p("number"==typeof n),p(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},c.prototype._iaddn=function(n){this.words[0]+=n;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(n){return this.clone().iaddn(n)},c.prototype.subn=function(n){return this.clone().isubn(n)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(n,o,f){var b;this._expand(n.length+f);var A,k=0;for(b=0;b<n.length;b++){A=(0|this.words[b+f])+k;var x=(0|n.words[b])*o;k=((A-=67108863&x)>>26)-(x/67108864|0),this.words[b+f]=67108863&A}for(;b<this.length-f;b++)k=(A=(0|this.words[b+f])+k)>>26,this.words[b+f]=67108863&A;if(0===k)return this.strip();for(p(-1===k),k=0,b=0;b<this.length;b++)k=(A=-(0|this.words[b])+k)>>26,this.words[b]=67108863&A;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var f,h=this.clone(),b=n,A=0|b.words[b.length-1];0!=(f=26-this._countBits(A))&&(b=b.ushln(f),h.iushln(f),A=0|b.words[b.length-1]);var r,x=h.length-b.length;if("mod"!==o){(r=new c(null)).length=x+1,r.words=new Array(r.length);for(var _=0;_<r.length;_++)r.words[_]=0}var W=h.clone()._ishlnsubmul(b,1,x);0===W.negative&&(h=W,r&&(r.words[x]=1));for(var I=x-1;I>=0;I--){var B=67108864*(0|h.words[b.length+I])+(0|h.words[b.length+I-1]);for(B=Math.min(B/A|0,67108863),h._ishlnsubmul(b,B,I);0!==h.negative;)B--,h.negative=0,h._ishlnsubmul(b,1,I),h.isZero()||(h.negative^=1);r&&(r.words[I]=B)}return r&&r.strip(),h.strip(),"div"!==o&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},c.prototype.divmod=function(n,o,f){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.iadd(n)),{div:h,mod:b}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!==(this.negative&n.negative)?(A=this.neg().divmod(n.neg(),o),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.isub(n)),{div:A.div,mod:b}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var h,b,A},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var f=0!==o.div.negative?o.mod.isub(n):o.mod,h=n.ushrn(1),b=n.andln(1),A=f.cmp(h);return A<0||1===b&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(o*f+(0|this.words[h]))%n;return f},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*o;this.words[f]=h/n|0,o=h%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=new c(0),k=new c(1),x=0;o.isEven()&&f.isEven();)o.iushrn(1),f.iushrn(1),++x;for(var r=f.clone(),_=o.clone();!o.isZero();){for(var W=0,I=1;0===(o.words[0]&I)&&W<26;++W,I<<=1);if(W>0)for(o.iushrn(W);W-- >0;)(h.isOdd()||b.isOdd())&&(h.iadd(r),b.isub(_)),h.iushrn(1),b.iushrn(1);for(var B=0,re=1;0===(f.words[0]&re)&&B<26;++B,re<<=1);if(B>0)for(f.iushrn(B);B-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(r),k.isub(_)),A.iushrn(1),k.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(A),b.isub(k)):(f.isub(o),A.isub(h),k.isub(b))}return{a:A,b:k,gcd:f.iushln(x)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var W,o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=f.clone();o.cmpn(1)>0&&f.cmpn(1)>0;){for(var k=0,x=1;0===(o.words[0]&x)&&k<26;++k,x<<=1);if(k>0)for(o.iushrn(k);k-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var r=0,_=1;0===(f.words[0]&_)&&r<26;++r,_<<=1);if(r>0)for(f.iushrn(r);r-- >0;)b.isOdd()&&b.iadd(A),b.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(b)):(f.isub(o),b.isub(h))}return(W=0===o.cmpn(1)?h:b).cmpn(0)<0&&W.iadd(n),W},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),f=n.clone();o.negative=0,f.negative=0;for(var h=0;o.isEven()&&f.isEven();h++)o.iushrn(1),f.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;f.isEven();)f.iushrn(1);var b=o.cmp(f);if(b<0){var A=o;o=f,f=A}else if(0===b||0===f.cmpn(1))break;o.isub(f)}return f.iushln(h)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,f=(n-o)/26,h=1<<o;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var b=h,A=f;0!==b&&A<this.length;A++){var k=0|this.words[A];b=(k+=b)>>>26,this.words[A]=k&=67108863}return 0!==b&&(this.words[A]=b,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var f,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)f=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},c.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var o=this.ucmp(n);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var o=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],b=0|n.words[f];if(h!==b){h<b?o=-1:h>b&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new me(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var Q={k256:null,p224:null,p192:null,p25519:null};function $(D,n){this.name=D,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function me(D){if("string"==typeof D){var n=c._prime(D);this.m=n.p,this.prime=n}else p(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function Te(D){me.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}$.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},$.prototype.ireduce=function(n){var f,o=n;do{this.split(o,this.tmp),f=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},$.prototype.split=function(n,o){n.iushrn(this.n,0,o)},$.prototype.imulK=function(n){return n.imul(this.k)},S(ae,$),ae.prototype.split=function(n,o){for(var f=4194303,h=Math.min(n.length,9),b=0;b<h;b++)o.words[b]=n.words[b];if(o.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var A=n.words[9];for(o.words[o.length++]=A&f,b=10;b<n.length;b++){var k=0|n.words[b];n.words[b-10]=(k&f)<<4|A>>>22,A=k}n.words[b-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(o+=977*h),o=64*h+(o/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ue,$),S(oe,$),S(he,$),he.prototype.imulK=function(n){for(var o=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+o,b=67108863&h;h>>>=26,n.words[f]=b,o=h}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(Q[n])return Q[n];var o;if("k256"===n)o=new ae;else if("p224"===n)o=new ue;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new he}return Q[n]=o,o},me.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},me.prototype._verify2=function(n,o){p(0===(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},me.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},me.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},me.prototype.add=function(n,o){this._verify2(n,o);var f=n.add(o);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},me.prototype.iadd=function(n,o){this._verify2(n,o);var f=n.iadd(o);return f.cmp(this.m)>=0&&f.isub(this.m),f},me.prototype.sub=function(n,o){this._verify2(n,o);var f=n.sub(o);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},me.prototype.isub=function(n,o){this._verify2(n,o);var f=n.isub(o);return f.cmpn(0)<0&&f.iadd(this.m),f},me.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},me.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},me.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},me.prototype.isqr=function(n){return this.imul(n,n.clone())},me.prototype.sqr=function(n){return this.mul(n,n)},me.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var f=this.m.add(new c(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),b=0;!h.isZero()&&0===h.andln(1);)b++,h.iushrn(1);p(!h.isZero());var A=new c(1).toRed(this),k=A.redNeg(),x=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,x).cmp(k);)r.redIAdd(k);for(var _=this.pow(r,h),W=this.pow(n,h.addn(1).iushrn(1)),I=this.pow(n,h),B=b;0!==I.cmp(A);){for(var re=I,pe=0;0!==re.cmp(A);pe++)re=re.redSqr();p(pe<B);var be=this.pow(_,new c(1).iushln(B-pe-1));W=W.redMul(be),_=be.redSqr(),I=I.redMul(_),B=pe}return W},me.prototype.invm=function(n){var o=n._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},me.prototype.pow=function(n,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return n.clone();var h=new Array(16);h[0]=new c(1).toRed(this),h[1]=n;for(var b=2;b<h.length;b++)h[b]=this.mul(h[b-1],n);var A=h[0],k=0,x=0,r=o.bitLength()%26;for(0===r&&(r=26),b=o.length-1;b>=0;b--){for(var _=o.words[b],W=r-1;W>=0;W--){var I=_>>W&1;A!==h[0]&&(A=this.sqr(A)),0!==I||0!==k?(k<<=1,k|=I,(4===++x||0===b&&0===W)&&(A=this.mul(A,h[k]),x=0,k=0)):x=0}r=26}return A},me.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},me.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new Te(n)},S(Te,me),Te.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},Te.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},Te.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var f=n.mul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ae=l.nmd(Ae),this)},16626:(Ae,ee,l)=>{var i=l(49609),t=l(71993);function S(c,e){this.name=c,this.body=e,this.decoders={},this.encoders={}}ee.define=function(e,T){return new S(e,T)},S.prototype._createNamed=function(e){var T;try{T=l(68326).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch{T=function(d){this._initNamed(d)}}return t(T,e),T.prototype._initNamed=function(d){e.call(this,d)},new T(this)},S.prototype._getDecoder=function(e){return this.decoders.hasOwnProperty(e=e||"der")||(this.decoders[e]=this._createNamed(i.decoders[e])),this.decoders[e]},S.prototype.decode=function(e,T,g){return this._getDecoder(T).decode(e,g)},S.prototype._getEncoder=function(e){return this.encoders.hasOwnProperty(e=e||"der")||(this.encoders[e]=this._createNamed(i.encoders[e])),this.encoders[e]},S.prototype.encode=function(e,T,g){return this._getEncoder(T).encode(e,g)}},16949:(Ae,ee,l)=>{"use strict";l.d(ee,{k:()=>t});var i=l(11514);const t=[(0,i.hZ)("sliderAnimation",[(0,i.wk)("*",(0,i.iF)({transform:"translateX(0)"})),(0,i.kY)("void => backward",[(0,i.iF)({transform:"translateX(-100%"}),(0,i.i0)("800ms")]),(0,i.kY)("backward => void",[(0,i.i0)("0ms",(0,i.iF)({transform:"translateX(100%)"}))]),(0,i.kY)("void => forward",[(0,i.iF)({transform:"translateX(100%"}),(0,i.i0)("800ms")]),(0,i.kY)("forward => void",[(0,i.i0)("0ms",(0,i.iF)({transform:"translateX(-100%)"}))])])]},17090:(Ae,ee,l)=>{var i=l(27054).Buffer,t=l(13546);function p(S,c,e){var T=c.length,g=t(c,S._cache);return S._cache=S._cache.slice(T),S._prev=i.concat([S._prev,e?c:g]),g}ee.encrypt=function(S,c,e){for(var g,T=i.allocUnsafe(0);c.length;){if(0===S._cache.length&&(S._cache=S._cipher.encryptBlock(S._prev),S._prev=i.allocUnsafe(0)),!(S._cache.length<=c.length)){T=i.concat([T,p(S,c,e)]);break}T=i.concat([T,p(S,c.slice(0,g=S._cache.length),e)]),c=c.slice(g)}return T}},17094:(Ae,ee,l)=>{"use strict";l.d(ee,{Ai:()=>h,GX:()=>me,Pd:()=>W,Q_:()=>_,Z7:()=>m,kB:()=>Te,sp:()=>he});var i=l(2615),t=l(73664),p=l(17705),S=l(39842),c=l(44522),e=l(88968),T=l(49046),g=l(34330),d=l(72318);let m=(()=>{class I{_platform=(0,i.WQX)(S.O);constructor(){}isDisabled(re){return re.hasAttribute("disabled")}isVisible(re){return function M(I){return!!(I.offsetWidth||I.offsetHeight||"function"==typeof I.getClientRects&&I.getClientRects().length)}(re)&&"visible"===getComputedStyle(re).visibility}isTabbable(re){if(!this._platform.isBrowser)return!1;const pe=function P(I){try{return I.frameElement}catch{return null}}(function oe(I){return I.ownerDocument&&I.ownerDocument.defaultView||window}(re));if(pe&&(-1===$(pe)||!this.isVisible(pe)))return!1;let be=re.nodeName.toLowerCase(),Be=$(re);return re.hasAttribute("contenteditable")?-1!==Be:!("iframe"===be||"object"===be||this._platform.WEBKIT&&this._platform.IOS&&!function ae(I){let B=I.nodeName.toLowerCase(),re="input"===B&&I.type;return"text"===re||"password"===re||"select"===B||"textarea"===B}(re))&&("audio"===be?!!re.hasAttribute("controls")&&-1!==Be:"video"===be?-1!==Be&&(null!==Be||this._platform.FIREFOX||re.hasAttribute("controls")):re.tabIndex>=0)}isFocusable(re,pe){return function ue(I){return!function U(I){return function q(I){return"input"==I.nodeName.toLowerCase()}(I)&&"hidden"==I.type}(I)&&(function j(I){let B=I.nodeName.toLowerCase();return"input"===B||"select"===B||"button"===B||"textarea"===B}(I)||function K(I){return function G(I){return"a"==I.nodeName.toLowerCase()}(I)&&I.hasAttribute("href")}(I)||I.hasAttribute("contenteditable")||Q(I))}(re)&&!this.isDisabled(re)&&(pe?.ignoreVisibility||this.isVisible(re))}static \u0275fac=function(pe){return new(pe||I)};static \u0275prov=i.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})();function Q(I){if(!I.hasAttribute("tabindex")||void 0===I.tabIndex)return!1;let B=I.getAttribute("tabindex");return!(!B||isNaN(parseInt(B,10)))}function $(I){if(!Q(I))return null;const B=parseInt(I.getAttribute("tabindex")||"",10);return isNaN(B)?-1:B}class he{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(B){this._enabled=B,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(B,this._startAnchor),this._toggleAnchorTabIndex(B,this._endAnchor))}_enabled=!0;constructor(B,re,pe,be,Be=!1,_e){this._element=B,this._checker=re,this._ngZone=pe,this._document=be,this._injector=_e,Be||this.attachAnchors()}destroy(){const B=this._startAnchor,re=this._endAnchor;B&&(B.removeEventListener("focus",this.startAnchorListener),B.remove()),re&&(re.removeEventListener("focus",this.endAnchorListener),re.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(B){return new Promise(re=>{this._executeOnStable(()=>re(this.focusInitialElement(B)))})}focusFirstTabbableElementWhenReady(B){return new Promise(re=>{this._executeOnStable(()=>re(this.focusFirstTabbableElement(B)))})}focusLastTabbableElementWhenReady(B){return new Promise(re=>{this._executeOnStable(()=>re(this.focusLastTabbableElement(B)))})}_getRegionBoundary(B){const re=this._element.querySelectorAll(`[cdk-focus-region-${B}], [cdkFocusRegion${B}], [cdk-focus-${B}]`);return"start"==B?re.length?re[0]:this._getFirstTabbableElement(this._element):re.length?re[re.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(B){const re=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(re){if(!this._checker.isFocusable(re)){const pe=this._getFirstTabbableElement(re);return pe?.focus(B),!!pe}return re.focus(B),!0}return this.focusFirstTabbableElement(B)}focusFirstTabbableElement(B){const re=this._getRegionBoundary("start");return re&&re.focus(B),!!re}focusLastTabbableElement(B){const re=this._getRegionBoundary("end");return re&&re.focus(B),!!re}hasAttached(){return this._hasAttached}_getFirstTabbableElement(B){if(this._checker.isFocusable(B)&&this._checker.isTabbable(B))return B;const re=B.children;for(let pe=0;pe<re.length;pe++){const be=re[pe].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(re[pe]):null;if(be)return be}return null}_getLastTabbableElement(B){if(this._checker.isFocusable(B)&&this._checker.isTabbable(B))return B;const re=B.children;for(let pe=re.length-1;pe>=0;pe--){const be=re[pe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(re[pe]):null;if(be)return be}return null}_createAnchor(){const B=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,B),B.classList.add("cdk-visually-hidden"),B.classList.add("cdk-focus-trap-anchor"),B.setAttribute("aria-hidden","true"),B}_toggleAnchorTabIndex(B,re){B?re.setAttribute("tabindex","0"):re.removeAttribute("tabindex")}toggleAnchors(B){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(B,this._startAnchor),this._toggleAnchorTabIndex(B,this._endAnchor))}_executeOnStable(B){this._injector?(0,t.mal)(B,{injector:this._injector}):setTimeout(B)}}let me=(()=>{class I{_checker=(0,i.WQX)(m);_ngZone=(0,i.WQX)(t.SKi);_document=(0,i.WQX)(i.qQL);_injector=(0,i.WQX)(i.zZn);constructor(){(0,i.WQX)(e.l).load(T.Y)}create(re,pe=!1){return new he(re,this._checker,this._ngZone,this._document,pe,this._injector)}static \u0275fac=function(pe){return new(pe||I)};static \u0275prov=i.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})(),Te=(()=>{class I{_elementRef=(0,i.WQX)(t.aKT);_focusTrapFactory=(0,i.WQX)(me);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(re){this.focusTrap&&(this.focusTrap.enabled=re)}autoCapture;constructor(){(0,i.WQX)(S.O).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(re){const pe=re.autoCapture;pe&&!pe.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,c.vc)(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(pe){return new(pe||I)};static \u0275dir=t.FsC({type:I,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",p.L39],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",p.L39]},exportAs:["cdkTrapFocus"],features:[t.OA$]})}return I})();const D=new i.nKC("liveAnnouncerElement",{providedIn:"root",factory:function n(){return null}}),o=new i.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let f=0,h=(()=>{class I{_ngZone=(0,i.WQX)(t.SKi);_defaultOptions=(0,i.WQX)(o,{optional:!0});_liveElement;_document=(0,i.WQX)(i.qQL);_previousTimeout;_currentPromise;_currentResolve;constructor(){const re=(0,i.WQX)(D,{optional:!0});this._liveElement=re||this._createLiveElement()}announce(re,...pe){const be=this._defaultOptions;let Be,_e;return 1===pe.length&&"number"==typeof pe[0]?_e=pe[0]:[Be,_e]=pe,this.clear(),clearTimeout(this._previousTimeout),Be||(Be=be&&be.politeness?be.politeness:"polite"),null==_e&&be&&(_e=be.duration),this._liveElement.setAttribute("aria-live",Be),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ye=>this._currentResolve=ye)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=re,"number"==typeof _e&&(this._previousTimeout=setTimeout(()=>this.clear(),_e)),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 re="cdk-live-announcer-element",pe=this._document.getElementsByClassName(re),be=this._document.createElement("div");for(let Be=0;Be<pe.length;Be++)pe[Be].remove();return be.classList.add(re),be.classList.add("cdk-visually-hidden"),be.setAttribute("aria-atomic","true"),be.setAttribute("aria-live","polite"),be.id="cdk-live-announcer-"+f++,this._document.body.appendChild(be),be}_exposeAnnouncerToModals(re){const pe=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let be=0;be<pe.length;be++){const Be=pe[be],_e=Be.getAttribute("aria-owns");_e?-1===_e.indexOf(re)&&Be.setAttribute("aria-owns",_e+" "+re):Be.setAttribute("aria-owns",re)}}static \u0275fac=function(pe){return new(pe||I)};static \u0275prov=i.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})();var A=function(I){return I[I.NONE=0]="NONE",I[I.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",I[I.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",I}(A||{});const k="cdk-high-contrast-black-on-white",x="cdk-high-contrast-white-on-black",r="cdk-high-contrast-active";let _=(()=>{class I{_platform=(0,i.WQX)(S.O);_hasCheckedHighContrastMode;_document=(0,i.WQX)(i.qQL);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,i.WQX)(g.Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return A.NONE;const re=this._document.createElement("div");re.style.backgroundColor="rgb(1,2,3)",re.style.position="absolute",this._document.body.appendChild(re);const pe=this._document.defaultView||window,be=pe&&pe.getComputedStyle?pe.getComputedStyle(re):null,Be=(be&&be.backgroundColor||"").replace(/ /g,"");switch(re.remove(),Be){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return A.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return A.BLACK_ON_WHITE}return A.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const re=this._document.body.classList;re.remove(r,k,x),this._hasCheckedHighContrastMode=!0;const pe=this.getHighContrastMode();pe===A.BLACK_ON_WHITE?re.add(r,k):pe===A.WHITE_ON_BLACK&&re.add(r,x)}}static \u0275fac=function(pe){return new(pe||I)};static \u0275prov=i.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})(),W=(()=>{class I{constructor(){(0,i.WQX)(_)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(pe){return new(pe||I)};static \u0275mod=t.$C({type:I});static \u0275inj=i.G2t({imports:[d.w5]})}return I})()},17186:(Ae,ee,l)=>{"use strict";l.d(ee,{Wz:()=>T,fe:()=>g,jn:()=>e,q_:()=>c});var i=l(2615),t=l(43694),p=l(53202),S=l(96354);function c(){return()=>{const d=(0,i.WQX)(t.Ix),w=(0,i.WQX)(t.nX),m=(0,i.WQX)(p.Q);return!(!m.getItem("token")||w.snapshot.url&&w.snapshot.url.length&&"settings"!==w.snapshot.url[0].path&&"auth"!==w.snapshot.url[0].path&&"true"===m.getItem("defaultPassword")&&(d.navigate(["/settings/auth"]),1))}}function e(){return()=>!!(0,i.WQX)(p.Q).watchSession().pipe((0,S.T)(w=>w.lndUnlocked))}function T(){return()=>!!(0,i.WQX)(p.Q).watchSession().pipe((0,S.T)(w=>w.clnUnlocked))}function g(){return()=>!!(0,i.WQX)(p.Q).watchSession().pipe((0,S.T)(w=>w.eclUnlocked))}},17705:(Ae,ee,l)=>{"use strict";l.d(ee,{ES_:()=>P,HJs:()=>no,Hbi:()=>oi,L39:()=>Gt,MKu:()=>$e,Udg:()=>gt,_q3:()=>Et,a0P:()=>Qr,cCO:()=>M,ebz:()=>ae,fpN:()=>Hi,gRc:()=>kt,geq:()=>h,hFB:()=>G,naY:()=>Ie,oH4:()=>Mt,sbv:()=>me,uEv:()=>os});var i=l(2615),t=l(48440),p=l(73664),S=l(59295);const c=Symbol("InputSignalNode#UNSET"),e={...t.s0,transformFn:void 0,applyValueToInputSignal(Lt,rt){(0,t.j2)(Lt,rt)}};function g(Lt,rt){const wt=Object.create(e);function ii(){if((0,t.mK)(wt),wt.value===c)throw new i.buA(-950,null);return wt.value}return wt.value=Lt,wt.transformFn=rt?.transform,ii[t.bh]=wt,ii}class P{attributeName;constructor(rt){this.attributeName=rt}__NG_ELEMENT_ID__=()=>(0,p.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}const M=new i.nKC("");function K(Lt,rt){return g(Lt,rt)}M.__NG_ELEMENT_ID__=Lt=>{const rt=(0,i.Mx4)();if(null===rt)throw new i.buA(204,!1);if(2&rt.type)return rt.value;if(8&Lt)return null;throw new i.buA(204,!1)};const G=(K.required=function q(Lt){return g(c,Lt)},K);function Q(Lt,rt){return(0,p.mU9)(rt)}const ae=(Q.required=function $(Lt,rt){return(0,p.hnC)(rt)},Q);function oe(Lt,rt){return(0,p.mU9)(rt)}const me=(oe.required=function he(Lt,rt){return(0,p.hnC)(rt)},oe);function D(Lt,rt){const wt=Object.create(e),ii=new S.Zf;function Ii(){return(0,t.mK)(wt),n(wt.value),wt.value}return wt.value=Lt,Ii[t.bh]=wt,Ii.asReadonly=i.HO5.bind(Ii),Ii.set=Ui=>{wt.equal(wt.value,Ui)||((0,t.j2)(wt,Ui),ii.emit(Ui))},Ii.update=Ui=>{n(wt.value),Ii.set(Ui(wt.value))},Ii.subscribe=ii.subscribe.bind(ii),Ii.destroyRef=ii.destroyRef,Ii}function n(Lt){if(Lt===c)throw new i.buA(952,!1)}function o(Lt,rt){return D(Lt)}const h=(o.required=function f(Lt){return D(c)},o),_e=new i.nKC(""),ye=new i.nKC("");function Le(Lt){return!Lt.moduleRef}let ge;function ve(){ge=Oe}function Oe(Lt,rt){const wt=Lt.injector.get(p.o8S);if(Lt._bootstrapComponents.length>0)Lt._bootstrapComponents.forEach(ii=>wt.bootstrap(ii));else{if(!Lt.instance.ngDoBootstrap)throw new i.buA(-403,!1);Lt.instance.ngDoBootstrap(wt)}rt.push(Lt)}let dt=(()=>{class Lt{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(wt){this._injector=wt}bootstrapModuleFactory(wt,ii){const Ii=ii?.scheduleInRootZone,tn=ii?.ignoreChangesOutsideZone,yn=[(0,p.SdI)({ngZoneFactory:()=>(0,p.G5x)(ii?.ngZone,{...(0,p.cZr)({eventCoalescing:ii?.ngZoneEventCoalescing,runCoalescing:ii?.ngZoneRunCoalescing}),scheduleInRootZone:Ii}),ignoreChangesOutsideZone:tn}),{provide:i.hk6,useExisting:p.Ts$},i.gv8],Pn=(0,p.VzW)(wt.moduleType,this.injector,yn);return ve(),function Ke(Lt){const rt=Le(Lt)?Lt.r3Injector:Lt.moduleRef.injector,wt=rt.get(p.SKi);return wt.run(()=>{Le(Lt)?Lt.r3Injector.resolveInjectorInitializers():Lt.moduleRef.resolveInjectorInitializers();const ii=rt.get(i.ZTf);let Ii;if(wt.runOutsideAngular(()=>{Ii=wt.onError.subscribe({next:ii})}),Le(Lt)){const Ui=()=>rt.destroy(),tn=Lt.platformInjector.get(_e);tn.add(Ui),rt.onDestroy(()=>{Ii.unsubscribe(),tn.delete(Ui)})}else{const Ui=()=>Lt.moduleRef.destroy(),tn=Lt.platformInjector.get(_e);tn.add(Ui),Lt.moduleRef.onDestroy(()=>{(0,p.TFI)(Lt.allPlatformModules,Lt.moduleRef),Ii.unsubscribe(),tn.delete(Ui)})}return function Ee(Lt,rt,wt){try{const ii=wt();return(0,p.yLl)(ii)?ii.catch(Ii=>{throw rt.runOutsideAngular(()=>Lt(Ii)),Ii}):ii}catch(ii){throw rt.runOutsideAngular(()=>Lt(ii)),ii}}(ii,wt,()=>{const Ui=rt.get(i.rev),tn=Ui.add(),yn=rt.get(p.H1s);return yn.runInitializers(),yn.donePromise.then(()=>{const Pn=rt.get(p.xe9,p.DkB);if((0,p.e6s)(Pn||p.DkB),!rt.get(ye,!0))return Le(Lt)?rt.get(p.o8S):(Lt.allPlatformModules.push(Lt.moduleRef),Lt.moduleRef);if(Le(Lt)){const Jn=rt.get(p.o8S);return void 0!==Lt.rootComponent&&Jn.bootstrap(Lt.rootComponent),Jn}return ge?.(Lt.moduleRef,Lt.allPlatformModules),Lt.moduleRef}).finally(()=>{Ui.remove(tn)})})})}({moduleRef:Pn,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(wt,ii=[]){const Ii=(0,p.lJT)({},ii);return ve(),function W(Lt,rt,wt){const ii=new p.Co$(wt);return Promise.resolve(ii)}(0,0,wt).then(Ui=>this.bootstrapModuleFactory(Ui,Ii))}onDestroy(wt){this._destroyListeners.push(wt)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new i.buA(404,!1);this._modules.slice().forEach(ii=>ii.destroy()),this._destroyListeners.forEach(ii=>ii());const wt=this._injector.get(_e,null);wt&&(wt.forEach(ii=>ii()),wt.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(ii){return new(ii||Lt)((0,i.KVO)(i.zZn))};static \u0275prov=(0,i.jDH)({token:Lt,factory:Lt.\u0275fac,providedIn:"platform"})}return Lt})(),nt=null;function Mt(Lt,rt,wt=[]){const ii=`Platform: ${rt}`,Ii=new i.nKC(ii);return(Ui=[])=>{let tn=Ht();if(!tn){const yn=[...wt,...Ui,{provide:Ii,useValue:!0}];tn=Lt?.(yn)??function Ct(Lt){if(Ht())throw new i.buA(400,!1);(0,p.pl0)(),(0,p.ypd)(),nt=Lt;const rt=Lt.get(dt);return function Z(Lt){const rt=Lt.get(p.PLl,null);(0,i.N4e)(Lt,()=>{rt?.forEach(wt=>wt())})}(Lt),rt}(function lt(Lt=[],rt){return i.zZn.create({name:rt,providers:[{provide:i.GBX,useValue:"platform"},{provide:_e,useValue:new Set([()=>nt=null])},...Lt]})}(yn,ii))}return function Pe(){const rt=Ht();if(!rt)throw new i.buA(-401,!1);return rt}()}}function Ht(){return nt?.get(dt)??null}function Ie(){return!1}let kt=(()=>class Lt{static __NG_ELEMENT_ID__=Rt})();function Rt(Lt){return function le(Lt,rt,wt){if((0,i.Qs1)(Lt)&&!wt){const ii=(0,i.KdJ)(Lt.index,rt);return new p.NCX(ii,ii)}return 175&Lt.type?new p.NCX(rt[i.b5C],rt):null}((0,i.Mx4)(),(0,i.OAn)(),!(16&~Lt))}class se{constructor(){}supports(rt){return(0,p.ozJ)(rt)}create(rt){return new Ue(rt)}}const ke=(Lt,rt)=>rt;class Ue{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(rt){this._trackByFn=rt||ke}forEachItem(rt){let wt;for(wt=this._itHead;null!==wt;wt=wt._next)rt(wt)}forEachOperation(rt){let wt=this._itHead,ii=this._removalsHead,Ii=0,Ui=null;for(;wt||ii;){const tn=!ii||wt&&wt.currentIndex<Vt(ii,Ii,Ui)?wt:ii,yn=Vt(tn,Ii,Ui),Pn=tn.currentIndex;if(tn===ii)Ii--,ii=ii._nextRemoved;else if(wt=wt._next,null==tn.previousIndex)Ii++;else{Ui||(Ui=[]);const Qn=yn-Ii,Jn=Pn-Ii;if(Qn!=Jn){for(let Ca=0;Ca<Qn;Ca++){const Aa=Ca<Ui.length?Ui[Ca]:Ui[Ca]=0,tr=Aa+Ca;Jn<=tr&&tr<Qn&&(Ui[Ca]=Aa+1)}Ui[tn.previousIndex]=Jn-Qn}}yn!==Pn&&rt(tn,yn,Pn)}}forEachPreviousItem(rt){let wt;for(wt=this._previousItHead;null!==wt;wt=wt._nextPrevious)rt(wt)}forEachAddedItem(rt){let wt;for(wt=this._additionsHead;null!==wt;wt=wt._nextAdded)rt(wt)}forEachMovedItem(rt){let wt;for(wt=this._movesHead;null!==wt;wt=wt._nextMoved)rt(wt)}forEachRemovedItem(rt){let wt;for(wt=this._removalsHead;null!==wt;wt=wt._nextRemoved)rt(wt)}forEachIdentityChange(rt){let wt;for(wt=this._identityChangesHead;null!==wt;wt=wt._nextIdentityChange)rt(wt)}diff(rt){if(null==rt&&(rt=[]),!(0,p.ozJ)(rt))throw new i.buA(900,!1);return this.check(rt)?this:null}onDestroy(){}check(rt){this._reset();let Ii,Ui,tn,wt=this._itHead,ii=!1;if(Array.isArray(rt)){this.length=rt.length;for(let yn=0;yn<this.length;yn++)Ui=rt[yn],tn=this._trackByFn(yn,Ui),null!==wt&&Object.is(wt.trackById,tn)?(ii&&(wt=this._verifyReinsertion(wt,Ui,tn,yn)),Object.is(wt.item,Ui)||this._addIdentityChange(wt,Ui)):(wt=this._mismatch(wt,Ui,tn,yn),ii=!0),wt=wt._next}else Ii=0,(0,p.utN)(rt,yn=>{tn=this._trackByFn(Ii,yn),null!==wt&&Object.is(wt.trackById,tn)?(ii&&(wt=this._verifyReinsertion(wt,yn,tn,Ii)),Object.is(wt.item,yn)||this._addIdentityChange(wt,yn)):(wt=this._mismatch(wt,yn,tn,Ii),ii=!0),wt=wt._next,Ii++}),this.length=Ii;return this._truncate(wt),this.collection=rt,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let rt;for(rt=this._previousItHead=this._itHead;null!==rt;rt=rt._next)rt._nextPrevious=rt._next;for(rt=this._additionsHead;null!==rt;rt=rt._nextAdded)rt.previousIndex=rt.currentIndex;for(this._additionsHead=this._additionsTail=null,rt=this._movesHead;null!==rt;rt=rt._nextMoved)rt.previousIndex=rt.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(rt,wt,ii,Ii){let Ui;return null===rt?Ui=this._itTail:(Ui=rt._prev,this._remove(rt)),null!==(rt=null===this._unlinkedRecords?null:this._unlinkedRecords.get(ii,null))?(Object.is(rt.item,wt)||this._addIdentityChange(rt,wt),this._reinsertAfter(rt,Ui,Ii)):null!==(rt=null===this._linkedRecords?null:this._linkedRecords.get(ii,Ii))?(Object.is(rt.item,wt)||this._addIdentityChange(rt,wt),this._moveAfter(rt,Ui,Ii)):rt=this._addAfter(new Ne(wt,ii),Ui,Ii),rt}_verifyReinsertion(rt,wt,ii,Ii){let Ui=null===this._unlinkedRecords?null:this._unlinkedRecords.get(ii,null);return null!==Ui?rt=this._reinsertAfter(Ui,rt._prev,Ii):rt.currentIndex!=Ii&&(rt.currentIndex=Ii,this._addToMoves(rt,Ii)),rt}_truncate(rt){for(;null!==rt;){const wt=rt._next;this._addToRemovals(this._unlink(rt)),rt=wt}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(rt,wt,ii){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(rt);const Ii=rt._prevRemoved,Ui=rt._nextRemoved;return null===Ii?this._removalsHead=Ui:Ii._nextRemoved=Ui,null===Ui?this._removalsTail=Ii:Ui._prevRemoved=Ii,this._insertAfter(rt,wt,ii),this._addToMoves(rt,ii),rt}_moveAfter(rt,wt,ii){return this._unlink(rt),this._insertAfter(rt,wt,ii),this._addToMoves(rt,ii),rt}_addAfter(rt,wt,ii){return this._insertAfter(rt,wt,ii),this._additionsTail=null===this._additionsTail?this._additionsHead=rt:this._additionsTail._nextAdded=rt,rt}_insertAfter(rt,wt,ii){const Ii=null===wt?this._itHead:wt._next;return rt._next=Ii,rt._prev=wt,null===Ii?this._itTail=rt:Ii._prev=rt,null===wt?this._itHead=rt:wt._next=rt,null===this._linkedRecords&&(this._linkedRecords=new yt),this._linkedRecords.put(rt),rt.currentIndex=ii,rt}_remove(rt){return this._addToRemovals(this._unlink(rt))}_unlink(rt){null!==this._linkedRecords&&this._linkedRecords.remove(rt);const wt=rt._prev,ii=rt._next;return null===wt?this._itHead=ii:wt._next=ii,null===ii?this._itTail=wt:ii._prev=wt,rt}_addToMoves(rt,wt){return rt.previousIndex===wt||(this._movesTail=null===this._movesTail?this._movesHead=rt:this._movesTail._nextMoved=rt),rt}_addToRemovals(rt){return null===this._unlinkedRecords&&(this._unlinkedRecords=new yt),this._unlinkedRecords.put(rt),rt.currentIndex=null,rt._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=rt,rt._prevRemoved=null):(rt._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=rt),rt}_addIdentityChange(rt,wt){return rt.item=wt,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=rt:this._identityChangesTail._nextIdentityChange=rt,rt}}class Ne{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(rt,wt){this.item=rt,this.trackById=wt}}class Kt{_head=null;_tail=null;add(rt){null===this._head?(this._head=this._tail=rt,rt._nextDup=null,rt._prevDup=null):(this._tail._nextDup=rt,rt._prevDup=this._tail,rt._nextDup=null,this._tail=rt)}get(rt,wt){let ii;for(ii=this._head;null!==ii;ii=ii._nextDup)if((null===wt||wt<=ii.currentIndex)&&Object.is(ii.trackById,rt))return ii;return null}remove(rt){const wt=rt._prevDup,ii=rt._nextDup;return null===wt?this._head=ii:wt._nextDup=ii,null===ii?this._tail=wt:ii._prevDup=wt,null===this._head}}class yt{map=new Map;put(rt){const wt=rt.trackById;let ii=this.map.get(wt);ii||(ii=new Kt,this.map.set(wt,ii)),ii.add(rt)}get(rt,wt){const Ii=this.map.get(rt);return Ii?Ii.get(rt,wt):null}remove(rt){const wt=rt.trackById;return this.map.get(wt).remove(rt)&&this.map.delete(wt),rt}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Vt(Lt,rt,wt){const ii=Lt.previousIndex;if(null===ii)return ii;let Ii=0;return wt&&ii<wt.length&&(Ii=wt[ii]),ii+rt+Ii}class Zt{constructor(){}supports(rt){return rt instanceof Map||(0,p.vDg)(rt)}create(){return new ti}}class ti{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(rt){let wt;for(wt=this._mapHead;null!==wt;wt=wt._next)rt(wt)}forEachPreviousItem(rt){let wt;for(wt=this._previousMapHead;null!==wt;wt=wt._nextPrevious)rt(wt)}forEachChangedItem(rt){let wt;for(wt=this._changesHead;null!==wt;wt=wt._nextChanged)rt(wt)}forEachAddedItem(rt){let wt;for(wt=this._additionsHead;null!==wt;wt=wt._nextAdded)rt(wt)}forEachRemovedItem(rt){let wt;for(wt=this._removalsHead;null!==wt;wt=wt._nextRemoved)rt(wt)}diff(rt){if(rt){if(!(rt instanceof Map||(0,p.vDg)(rt)))throw new i.buA(900,!1)}else rt=new Map;return this.check(rt)?this:null}onDestroy(){}check(rt){this._reset();let wt=this._mapHead;if(this._appendAfter=null,this._forEach(rt,(ii,Ii)=>{if(wt&&wt.key===Ii)this._maybeAddToChanges(wt,ii),this._appendAfter=wt,wt=wt._next;else{const Ui=this._getOrCreateRecordForKey(Ii,ii);wt=this._insertBeforeOrAppend(wt,Ui)}}),wt){wt._prev&&(wt._prev._next=null),this._removalsHead=wt;for(let ii=wt;null!==ii;ii=ii._nextRemoved)ii===this._mapHead&&(this._mapHead=null),this._records.delete(ii.key),ii._nextRemoved=ii._next,ii.previousValue=ii.currentValue,ii.currentValue=null,ii._prev=null,ii._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(rt,wt){if(rt){const ii=rt._prev;return wt._next=rt,wt._prev=ii,rt._prev=wt,ii&&(ii._next=wt),rt===this._mapHead&&(this._mapHead=wt),this._appendAfter=rt,rt}return this._appendAfter?(this._appendAfter._next=wt,wt._prev=this._appendAfter):this._mapHead=wt,this._appendAfter=wt,null}_getOrCreateRecordForKey(rt,wt){if(this._records.has(rt)){const Ii=this._records.get(rt);this._maybeAddToChanges(Ii,wt);const Ui=Ii._prev,tn=Ii._next;return Ui&&(Ui._next=tn),tn&&(tn._prev=Ui),Ii._next=null,Ii._prev=null,Ii}const ii=new Ye(rt);return this._records.set(rt,ii),ii.currentValue=wt,this._addToAdditions(ii),ii}_reset(){if(this.isDirty){let rt;for(this._previousMapHead=this._mapHead,rt=this._previousMapHead;null!==rt;rt=rt._next)rt._nextPrevious=rt._next;for(rt=this._changesHead;null!==rt;rt=rt._nextChanged)rt.previousValue=rt.currentValue;for(rt=this._additionsHead;null!=rt;rt=rt._nextAdded)rt.previousValue=rt.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(rt,wt){Object.is(wt,rt.currentValue)||(rt.previousValue=rt.currentValue,rt.currentValue=wt,this._addToChanges(rt))}_addToAdditions(rt){null===this._additionsHead?this._additionsHead=this._additionsTail=rt:(this._additionsTail._nextAdded=rt,this._additionsTail=rt)}_addToChanges(rt){null===this._changesHead?this._changesHead=this._changesTail=rt:(this._changesTail._nextChanged=rt,this._changesTail=rt)}_forEach(rt,wt){rt instanceof Map?rt.forEach(wt):Object.keys(rt).forEach(ii=>wt(rt[ii],ii))}}class Ye{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(rt){this.key=rt}}function Nt(){return new Et([new se])}let Et=(()=>{class Lt{factories;static \u0275prov=(0,i.jDH)({token:Lt,providedIn:"root",factory:Nt});constructor(wt){this.factories=wt}static create(wt,ii){if(null!=ii){const Ii=ii.factories.slice();wt=wt.concat(Ii)}return new Lt(wt)}static extend(wt){return{provide:Lt,useFactory:()=>{const ii=(0,i.WQX)(Lt,{optional:!0,skipSelf:!0});return Lt.create(wt,ii||Nt())}}}find(wt){const ii=this.factories.find(Ii=>Ii.supports(wt));if(null!=ii)return ii;throw new i.buA(901,!1)}}return Lt})();function qe(){return new $e([new Zt])}let $e=(()=>{class Lt{static \u0275prov=(0,i.jDH)({token:Lt,providedIn:"root",factory:qe});factories;constructor(wt){this.factories=wt}static create(wt,ii){if(ii){const Ii=ii.factories.slice();wt=wt.concat(Ii)}return new Lt(wt)}static extend(wt){return{provide:Lt,useFactory:()=>{const ii=(0,i.WQX)(Lt,{optional:!0,skipSelf:!0});return Lt.create(wt,ii||qe())}}}find(wt){const ii=this.factories.find(Ii=>Ii.supports(wt));if(ii)return ii;throw new i.buA(901,!1)}}return Lt})();const Hi=Mt(null,"core",[]);let oi=(()=>{class Lt{constructor(wt){}static \u0275fac=function(ii){return new(ii||Lt)((0,i.KVO)(p.o8S))};static \u0275mod=(0,p.$C)({type:Lt});static \u0275inj=(0,i.G2t)({})}return Lt})();function Gt(Lt){return"boolean"==typeof Lt?Lt:null!=Lt&&"false"!==Lt}function gt(Lt,rt=NaN){return isNaN(parseFloat(Lt))||isNaN(Number(Lt))?rt:Number(Lt)}const Br=Symbol("NOT_SET"),ys=new Set,Kr={...t.s0,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Br,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(Lt){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Br&&!(0,t.si)(this))return this.signal;try{for(const Ii of this.cleanup??ys)Ii()}finally{this.cleanup?.clear()}const rt=[];void 0!==Lt&&rt.push(Lt),rt.push(this.registerCleanupFn);const wt=(0,t.Bg)(this);let ii;try{ii=this.userFn.apply(null,rt)}finally{(0,t.Wu)(this,wt)}return(this.value===Br||!this.equal(this.value,ii))&&(this.value=ii,this.version++),this.signal}};class or extends p._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(rt,wt,ii,Ii,Ui,tn=null){super(rt,[void 0,void 0,void 0,void 0],ii,!1,Ui.get(i.abz),tn),this.scheduler=Ii;for(const yn of p.zoo){const Pn=wt[yn];if(void 0===Pn)continue;const Qn=Object.create(Kr);Qn.sequence=this,Qn.phase=yn,Qn.userFn=Pn,Qn.dirty=!0,Qn.signal=()=>((0,t.mK)(Qn),Qn.value),Qn.signal[t.bh]=Qn,Qn.registerCleanupFn=Jn=>(Qn.cleanup??=new Set).add(Jn),this.nodes[yn]=Qn,this.hooks[yn]=Jn=>Qn.phaseFn(Jn)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(const rt of this.nodes)if(rt)try{for(const wt of rt.cleanup??ys)wt()}finally{(0,t.XR)(rt)}}}function os(Lt,rt){const wt=rt?.injector??(0,i.WQX)(i.zZn),ii=wt.get(i.hk6),Ii=wt.get(p.cf$),Ui=wt.get(p.a8H,null,{optional:!0});Ii.impl??=wt.get(p.ziy);let tn=Lt;"function"==typeof tn&&(tn={mixedReadWrite:Lt});const yn=wt.get(i.r4V,null,{optional:!0}),Pn=new or(Ii.impl,[tn.earlyRead,tn.write,tn.mixedReadWrite,tn.read],yn?.view,ii,wt,Ui?.snapshot(null));return Ii.impl.register(Pn),Pn}function Qr(Lt,rt){const wt=(0,i.xUg)(Lt),ii=rt.elementInjector||(0,i.WB9)();return new p.eHC(wt).create(ii,rt.projectableNodes,rt.hostElement,rt.environmentInjector,rt.directives,rt.bindings)}function no(Lt){const rt=(0,i.xUg)(Lt);if(!rt)return null;const wt=new p.eHC(rt);return{get selector(){return wt.selector},get type(){return wt.componentType},get inputs(){return wt.inputs},get outputs(){return wt.outputs},get ngContentSelectors(){return wt.ngContentSelectors},get isStandalone(){return rt.standalone},get isSignal(){return rt.signals}}}},18211:(Ae,ee,l)=>{var i=l(27054).Buffer,t=l(34725);Ae.exports=function p(S,c,e,T){if(i.isBuffer(S)||(S=i.from(S,"binary")),c&&(i.isBuffer(c)||(c=i.from(c,"binary")),8!==c.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var g=e/8,d=i.alloc(g),w=i.alloc(T||0),m=i.alloc(0);g>0||T>0;){var P=new t;P.update(m),P.update(S),c&&P.update(c),m=P.digest();var M=0;if(g>0){var j=d.length-g;M=Math.min(g,m.length),m.copy(d,j,0,M),g-=M}if(M<m.length&&T>0){var U=w.length-T,K=Math.min(T,m.length-M);m.copy(w,U,M,M+K),T-=K}}return m.fill(0),{key:d,iv:w}}},18342:(Ae,ee,l)=>{Ae.exports=l(44356).EventEmitter},18359:(Ae,ee,l)=>{"use strict";l.d(ee,{Kn:()=>e,yU:()=>c,Uv:()=>T});var i=l(98071);const p=(0,l(81853).L)(d=>function(m){d(this),this.message=m?`${m.length} errors occurred during unsubscription:\n${m.map((P,M)=>`${M+1}) ${P.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=m});var S=l(57908);class c{constructor(w){this.initialTeardown=w,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let w;if(!this.closed){this.closed=!0;const{_parentage:m}=this;if(m)if(this._parentage=null,Array.isArray(m))for(const j of m)j.remove(this);else m.remove(this);const{initialTeardown:P}=this;if((0,i.T)(P))try{P()}catch(j){w=j instanceof p?j.errors:[j]}const{_finalizers:M}=this;if(M){this._finalizers=null;for(const j of M)try{g(j)}catch(U){w=w??[],U instanceof p?w=[...w,...U.errors]:w.push(U)}}if(w)throw new p(w)}}add(w){var m;if(w&&w!==this)if(this.closed)g(w);else{if(w instanceof c){if(w.closed||w._hasParent(this))return;w._addParent(this)}(this._finalizers=null!==(m=this._finalizers)&&void 0!==m?m:[]).push(w)}}_hasParent(w){const{_parentage:m}=this;return m===w||Array.isArray(m)&&m.includes(w)}_addParent(w){const{_parentage:m}=this;this._parentage=Array.isArray(m)?(m.push(w),m):m?[m,w]:w}_removeParent(w){const{_parentage:m}=this;m===w?this._parentage=null:Array.isArray(m)&&(0,S.o)(m,w)}remove(w){const{_finalizers:m}=this;m&&(0,S.o)(m,w),w instanceof c&&w._removeParent(this)}}c.EMPTY=(()=>{const d=new c;return d.closed=!0,d})();const e=c.EMPTY;function T(d){return d instanceof c||d&&"closed"in d&&(0,i.T)(d.remove)&&(0,i.T)(d.add)&&(0,i.T)(d.unsubscribe)}function g(d){(0,i.T)(d)?d():d.unsubscribe()}},18617:(Ae,ee,l)=>{"use strict";l.d(ee,{Ae:()=>m,px:()=>w,vr:()=>q}),l(17094);var t=l(2615),p=l(73664),S=l(39842),c=l(88968),e=l(49046);l(21413),l(4125);const d=" ";function w(n,o,f){const h=P(n,o);f=f.trim(),!h.some(b=>b.trim()===f)&&(h.push(f),n.setAttribute(o,h.join(d)))}function m(n,o,f){const h=P(n,o);f=f.trim();const b=h.filter(A=>A!==f);b.length?n.setAttribute(o,b.join(d)):n.removeAttribute(o)}function P(n,o){return n.getAttribute(o)?.match(/\S+/g)??[]}const j="cdk-describedby-message",U="cdk-describedby-host";let K=0,q=(()=>{class n{_platform=(0,t.WQX)(S.O);_document=(0,t.WQX)(t.qQL);_messageRegistry=new Map;_messagesContainer=null;_id=""+K++;constructor(){(0,t.WQX)(c.l).load(e.Y),this._id=(0,t.WQX)(p.sZ2)+"-"+K++}describe(f,h,b){if(!this._canBeDescribed(f,h))return;const A=G(h,b);"string"!=typeof h?(Q(h,this._id),this._messageRegistry.set(A,{messageElement:h,referenceCount:0})):this._messageRegistry.has(A)||this._createMessageElement(h,b),this._isElementDescribedByMessage(f,A)||this._addMessageReference(f,A)}removeDescription(f,h,b){if(!h||!this._isElementNode(f))return;const A=G(h,b);if(this._isElementDescribedByMessage(f,A)&&this._removeMessageReference(f,A),"string"==typeof h){const k=this._messageRegistry.get(A);k&&0===k.referenceCount&&this._deleteMessageElement(A)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const f=this._document.querySelectorAll(`[${U}="${this._id}"]`);for(let h=0;h<f.length;h++)this._removeCdkDescribedByReferenceIds(f[h]),f[h].removeAttribute(U);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(f,h){const b=this._document.createElement("div");Q(b,this._id),b.textContent=f,h&&b.setAttribute("role",h),this._createMessagesContainer(),this._messagesContainer.appendChild(b),this._messageRegistry.set(G(f,h),{messageElement:b,referenceCount:0})}_deleteMessageElement(f){this._messageRegistry.get(f)?.messageElement?.remove(),this._messageRegistry.delete(f)}_createMessagesContainer(){if(this._messagesContainer)return;const f="cdk-describedby-message-container",h=this._document.querySelectorAll(`.${f}[platform="server"]`);for(let A=0;A<h.length;A++)h[A].remove();const b=this._document.createElement("div");b.style.visibility="hidden",b.classList.add(f),b.classList.add("cdk-visually-hidden"),this._platform.isBrowser||b.setAttribute("platform","server"),this._document.body.appendChild(b),this._messagesContainer=b}_removeCdkDescribedByReferenceIds(f){const h=P(f,"aria-describedby").filter(b=>0!=b.indexOf(j));f.setAttribute("aria-describedby",h.join(" "))}_addMessageReference(f,h){const b=this._messageRegistry.get(h);w(f,"aria-describedby",b.messageElement.id),f.setAttribute(U,this._id),b.referenceCount++}_removeMessageReference(f,h){const b=this._messageRegistry.get(h);b.referenceCount--,m(f,"aria-describedby",b.messageElement.id),f.removeAttribute(U)}_isElementDescribedByMessage(f,h){const b=P(f,"aria-describedby"),A=this._messageRegistry.get(h),k=A&&A.messageElement.id;return!!k&&-1!=b.indexOf(k)}_canBeDescribed(f,h){if(!this._isElementNode(f))return!1;if(h&&"object"==typeof h)return!0;const b=null==h?"":`${h}`.trim(),A=f.getAttribute("aria-label");return!(!b||A&&A.trim()===b)}_isElementNode(f){return f.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(h){return new(h||n)};static \u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function G(n,o){return"string"==typeof n?`${o||""}/${n}`:n}function Q(n,o){n.id||(n.id=`${j}-${o}-${K++}`)}},18689:(Ae,ee,l)=>{"use strict";l.d(ee,{z:()=>t});var i=l(2615);let t=(()=>{class p{_listeners=[];notify(c,e){for(let T of this._listeners)T(c,e)}listen(c){return this._listeners.push(c),()=>{this._listeners=this._listeners.filter(e=>c!==e)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(e){return new(e||p)};static \u0275prov=i.jDH({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},18810:(Ae,ee,l)=>{"use strict";l.d(ee,{$:()=>p});var i=l(71985),t=l(98071);function p(S,c){const e=(0,t.T)(S)?S:()=>S,T=g=>g.error(e());return new i.c(c?g=>c.schedule(T,0,g):T)}},18823:(Ae,ee,l)=>{"use strict";Ae.exports=p;var i=l(2909),t=Object.create(l(27637));function p(S){if(!(this instanceof p))return new p(S);i.call(this,S)}t.inherits=l(71993),t.inherits(p,i),p.prototype._transform=function(S,c,e){e(null,S)}},19029:(Ae,ee,l)=>{"use strict";l.d(ee,{G:()=>Oa});var i=l(72200),t=l(38132),p=l(89417),S=l(20060),c=l(99327),e=l(3),T=l(19945),g=l(51585),d=l(22628),w=l(1975),m=l(88834),P=l(89726),M=l(76838),G=(l(61577),l(83869),l(67336),l(10438),l(88968)),Q=l(73664),$=l(2615),ae=l(17705),ue=l(12496),oe=l(63386),he=l(31804),me=l(32046),Te=l(22466),D=l(26881);const n=["button"],o=["*"];function f(Wt,Ri){if(1&Wt&&(Q.j41(0,"div",2),Q.nrm(1,"mat-pseudo-checkbox",6),Q.k0s()),2&Wt){const ft=Q.XpG();Q.R7$(),Q.Y8G("disabled",ft.disabled)}}const h=new $.nKC("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:function b(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}}),A=new $.nKC("MatButtonToggleGroup");class x{source;value;constructor(Ri,ft){this.source=Ri,this.value=ft}}let _=(()=>{class Wt{_changeDetectorRef=(0,$.WQX)(ae.gRc);_elementRef=(0,$.WQX)(Q.aKT);_focusMonitor=(0,$.WQX)(M.FN);_idGenerator=(0,$.WQX)(P.g);_animationDisabled=(0,he.Rc)();_checked=!1;ariaLabel;ariaLabelledby=null;_buttonElement;buttonToggleGroup;get buttonId(){return`${this.id}-button`}id;name;value;get tabIndex(){return this._tabIndex()}set tabIndex(ft){this._tabIndex.set(ft)}_tabIndex;disableRipple;get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(ft){this._appearance=ft}_appearance;get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(ft){ft!==this._checked&&(this._checked=ft,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(ft){this._disabled=ft}_disabled=!1;get disabledInteractive(){return this._disabledInteractive||null!==this.buttonToggleGroup&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(ft){this._disabledInteractive=ft}_disabledInteractive;change=new Q.bkB;constructor(){(0,$.WQX)(G.l).load(me.A);const ft=(0,$.WQX)(A,{optional:!0}),_i=(0,$.WQX)(new ae.ES_("tabindex"),{optional:!0})||"",Li=(0,$.WQX)(h,{optional:!0});this._tabIndex=(0,$.vPA)(parseInt(_i)||0),this.buttonToggleGroup=ft,this.appearance=Li&&Li.appearance?Li.appearance:"standard",this.disabledInteractive=Li?.disabledInteractive??!1}ngOnInit(){const ft=this.buttonToggleGroup;this.id=this.id||this._idGenerator.getId("mat-button-toggle-"),ft&&(ft._isPrechecked(this)?this.checked=!0:ft._isSelected(this)!==this._checked&&ft._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._animationDisabled||this._elementRef.nativeElement.classList.add("mat-button-toggle-animations-enabled"),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const ft=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),ft&&ft._isSelected(this)&&ft._syncButtonToggle(this,!1,!1,!0)}focus(ft){this._buttonElement.nativeElement.focus(ft)}_onButtonClick(){if(this.disabled)return;const ft=!!this.isSingleSelector()||!this._checked;if(ft!==this._checked&&(this._checked=ft,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){const _i=this.buttonToggleGroup._buttonToggles.find(Li=>0===Li.tabIndex);_i&&(_i.tabIndex=-1),this.tabIndex=0}this.change.emit(new x(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 \u0275fac=function(_i){return new(_i||Wt)};static \u0275cmp=Q.VBU({type:Wt,selectors:[["mat-button-toggle"]],viewQuery:function(_i,Li){if(1&_i&&Q.GBs(n,5),2&_i){let vn;Q.mGM(vn=Q.lsd())&&(Li._buttonElement=vn.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(_i,Li){1&_i&&Q.bIt("focus",function(){return Li.focus()}),2&_i&&(Q.BMQ("aria-label",null)("aria-labelledby",null)("id",Li.id)("name",null),Q.AVh("mat-button-toggle-standalone",!Li.buttonToggleGroup)("mat-button-toggle-checked",Li.checked)("mat-button-toggle-disabled",Li.disabled)("mat-button-toggle-disabled-interactive",Li.disabledInteractive)("mat-button-toggle-appearance-standard","standard"===Li.appearance))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",ae.L39],appearance:"appearance",checked:[2,"checked","checked",ae.L39],disabled:[2,"disabled","disabled",ae.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ae.L39]},outputs:{change:"change"},exportAs:["matButtonToggle"],ngContentSelectors:o,decls:7,vars:13,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-checkbox-wrapper"],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"],["state","checked","aria-hidden","true","appearance","minimal",3,"disabled"]],template:function(_i,Li){if(1&_i){const vn=Q.RV6();Q.NAR(),Q.j41(0,"button",1,0),Q.bIt("click",function(){return $.eBV(vn),$.Njj(Li._onButtonClick())}),Q.nVh(2,f,2,1,"div",2),Q.j41(3,"span",3),Q.SdG(4),Q.k0s()(),Q.nrm(5,"span",4)(6,"span",5)}if(2&_i){const vn=Q.sdS(1);Q.Y8G("id",Li.buttonId)("disabled",Li.disabled&&!Li.disabledInteractive||null),Q.BMQ("role",Li.isSingleSelector()?"radio":"button")("tabindex",Li.disabled&&!Li.disabledInteractive?-1:Li.tabIndex)("aria-pressed",Li.isSingleSelector()?null:Li.checked)("aria-checked",Li.isSingleSelector()?Li.checked:null)("name",Li._getButtonName())("aria-label",Li.ariaLabel)("aria-labelledby",Li.ariaLabelledby)("aria-disabled",Li.disabled&&Li.disabledInteractive?"true":null),Q.R7$(2),Q.vxM(Li.buttonToggleGroup&&(!Li.buttonToggleGroup.multiple&&!Li.buttonToggleGroup.hideSingleSelectionIndicator||Li.buttonToggleGroup.multiple&&!Li.buttonToggleGroup.hideMultipleSelectionIndicator)?2:-1),Q.R7$(4),Q.Y8G("matRippleTrigger",vn)("matRippleDisabled",Li.disableRipple||Li.disabled)}},dependencies:[ue.r6,oe.w],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);border-radius:var(--mat-button-toggle-legacy-shape);transform:translateZ(0)}.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)}@media(forced-colors: active){.mat-button-toggle-standalone,.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-button-toggle-shape, var(--mat-sys-corner-extra-large));border:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container))}.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}@media(forced-colors: active){.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.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-button-toggle-legacy-text-color);font-family:var(--mat-button-toggle-legacy-label-text-font);font-size:var(--mat-button-toggle-legacy-label-text-size);line-height:var(--mat-button-toggle-legacy-label-text-line-height);font-weight:var(--mat-button-toggle-legacy-label-text-weight);letter-spacing:var(--mat-button-toggle-legacy-label-text-tracking);--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-button-toggle-legacy-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-legacy-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checkbox-wrapper{display:inline-block;justify-content:flex-start;align-items:center;width:0;height:18px;line-height:18px;overflow:hidden;box-sizing:border-box;position:absolute;top:50%;left:16px;transform:translate3d(0, -50%, 0)}[dir=rtl] .mat-button-toggle-checkbox-wrapper{left:auto;right:16px}.mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:12px}[dir=rtl] .mat-button-toggle-appearance-standard .mat-button-toggle-checkbox-wrapper{left:auto;right:12px}.mat-button-toggle-checked .mat-button-toggle-checkbox-wrapper{width:18px}.mat-button-toggle-animations-enabled .mat-button-toggle-checkbox-wrapper{transition:width 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-checkbox-wrapper{transition:none}.mat-button-toggle-checked{color:var(--mat-button-toggle-legacy-selected-state-text-color);background-color:var(--mat-button-toggle-legacy-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-button-toggle-legacy-disabled-state-text-color);background-color:var(--mat-button-toggle-legacy-disabled-state-background-color);--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-legacy-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-button-toggle-legacy-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-button-toggle-text-color, var(--mat-sys-on-surface));background-color:var(--mat-button-toggle-background-color, transparent);font-family:var(--mat-button-toggle-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-toggle-label-text-size, var(--mat-sys-label-large-size));line-height:var(--mat-button-toggle-label-text-line-height, var(--mat-sys-label-large-line-height));font-weight:var(--mat-button-toggle-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-button-toggle-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-button-toggle-divider-color, var(--mat-sys-outline))}[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-button-toggle-divider-color, var(--mat-sys-outline))}.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-button-toggle-divider-color, var(--mat-sys-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-button-toggle-selected-state-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-toggle-selected-state-background-color, var(--mat-sys-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-button-toggle-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-state-background-color, transparent)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color: var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-button-toggle-disabled-selected-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-toggle-disabled-selected-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-button-toggle-state-layer-color, var(--mat-sys-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-button-toggle-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard: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-button-toggle-legacy-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-button-toggle-height, 40px)}.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-button-toggle-legacy-state-layer-color)}@media(forced-colors: active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.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-animations-enabled .mat-button-toggle-button{transition:padding 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-button-toggle-vertical .mat-button-toggle-button{transition:none}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:30px}[dir=rtl] .mat-button-toggle-checked .mat-button-toggle-button:has(.mat-button-toggle-checkbox-wrapper){padding-left:0;padding-right:30px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius: var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard:not(.mat-button-toggle-vertical) .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-bottom-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-bottom-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large));border-top-left-radius:var(--mat-button-toggle-shape, var(--mat-sys-corner-extra-large))}\n"],encapsulation:2,changeDetection:0})}return Wt})(),W=(()=>{class Wt{static \u0275fac=function(_i){return new(_i||Wt)};static \u0275mod=Q.$C({type:Wt});static \u0275inj=$.G2t({imports:[Te.y,D.p,_,Te.y]})}return Wt})();var I=l(25596),B=l(82765),re=l(25084),pe=l(9454),be=l(82885),Be=l(12629),_e=l(33746),ye=l(3902),Le=l(59115),Ke=l(96695),ge=l(67575),ve=l(9183),Oe=l(5951),Ee=l(96183),dt=l(90882),nt=l(30450),Ct=l(39842);l(21413);let yt=(()=>{class Wt{static \u0275fac=function(_i){return new(_i||Wt)};static \u0275mod=Q.$C({type:Wt});static \u0275inj=$.G2t({imports:[Te.y,D.p]})}return Wt})();var Vt=l(95416),Zt=l(2042),ti=l(36013),Ye=l(19295),Nt=l(96850),Et=l(55911),Jt=l(86156),qe=l(47358),$e=l(36471),tt=l(29340),vi=l(16038),ei=l(52920);l(14085);let Un=(()=>{class Wt{}return Wt.\u0275fac=function(ft){return new(ft||Wt)},Wt.\u0275mod=Q.$C({type:Wt}),Wt.\u0275inj=$.G2t({imports:[tt.Ui]}),Wt})();var Ca=l(60177);let tr=(()=>{class Wt{constructor(ft,_i){(0,Ca.Vy)(_i)&&!ft&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(ft,_i=[]){return{ngModule:Wt,providers:ft.serverLoaded?[{provide:tt.EA,useValue:{...tt.PV,...ft}},{provide:tt.SL,useValue:_i,multi:!0},{provide:tt.Ce,useValue:!0}]:[{provide:tt.EA,useValue:{...tt.PV,...ft}},{provide:tt.SL,useValue:_i,multi:!0}]}}}return Wt.\u0275fac=function(ft){return new(ft||Wt)($.KVO(tt.Ce),$.KVO(Q.Agw))},Wt.\u0275mod=Q.$C({type:Wt}),Wt.\u0275inj=$.G2t({imports:[ei.w2,vi.Cc,Un,ei.w2,vi.Cc,Un]}),Wt})();var Ra=l(51993),Xa=l(38288),za=l(10497),vr=l(49338);let Sn=(()=>{var Wt;class Ri extends vr.Sf{constructor(_i,Li){super(_i,Li)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}static#e=Wt=()=>(this.\u0275fac=function(Li){return new(Li||Ri)(Q.rXU($.qQL),Q.rXU(Ct.O))},this.\u0275dir=Q.FsC({type:Ri,features:[Q.Vt3]}))}return Wt(),Ri})();var ka=l(98570),Ka=l(4416),pr=l(52929),gr=l(29330);const ds={suppressScrollX:!1,suppressScrollY:!1};let ao=(()=>{var Wt;class Ri extends e.xW{constructor(_i){super(_i)}format(_i,Li){if("input"===Li){let vn=_i.getDate().toString();return vn=+vn<10?"0"+vn:vn,vn+"/"+Ka.KR[_i.getMonth()].name.toUpperCase()+"/"+_i.getFullYear()}return Ka.KR[_i.getMonth()].name.toUpperCase()+" "+_i.getFullYear()}static#e=Wt=()=>(this.\u0275fac=function(Li){return new(Li||Ri)($.KVO(T.Ju,8))},this.\u0275prov=$.jDH({token:Ri,factory:Ri.\u0275fac}))}return Wt(),Ri})();const Ss={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 Oa=(()=>{var Wt;class Ri{static#e=Wt=()=>(this.\u0275fac=function(Li){return new(Li||Ri)},this.\u0275mod=Q.$C({type:Ri}),this.\u0275inj=$.G2t({providers:[{provide:ka.gP,useClass:ka.tU},{provide:za.kU,useValue:ds},{provide:Vt.x6,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:g.di,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:T.MJ,useClass:ao},{provide:T.de,useValue:Ss},{provide:vr.Sf,useClass:Sn},i.QX,i.PV,i.vh,pr.gZ,pr.ZE,pr.VD,pr.Qu],imports:[i.MD,gr.q1,p.YN,p.X1,S.dX,c.RH,g.hM,m.Hl,W,I.Hu,B.g7,pe.MY,be.Fe,re.X6,e.WX,Be.m_,_e.fS,ye.Fg,Le.Cn,ge.PO,ve.D6,Oe.Wk,qe.jH,tr,$e.YN,Ee.Ve,dt.vg,nt.mV,Zt.NQ,Ye.tP,Et.s5,Jt.u,w.Y,Ke.Ou,ti.aP,yt,Nt.RI,Vt._T,d.jL,Ra.dV,Xa.XK,t.iI,za.U$,p.YN,p.X1,S.dX,c.RH,g.hM,m.Hl,W,I.Hu,B.g7,pe.MY,be.Fe,re.X6,e.WX,Be.m_,_e.fS,ye.Fg,Le.Cn,ge.PO,ve.D6,Oe.Wk,qe.jH,tr,$e.YN,Ee.Ve,dt.vg,nt.mV,Zt.NQ,Ye.tP,Et.s5,Jt.u,w.Y,Ke.Ou,ti.aP,yt,Nt.RI,Vt._T,d.jL,Ra.dV,Xa.XK,za.U$]}))}return Wt(),Ri})()},19089:(Ae,ee)=>{let l;const i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];ee.getSymbolSize=function(p){if(!p)throw new Error('"version" cannot be null or undefined');if(p<1||p>40)throw new Error('"version" should be in range from 1 to 40');return 4*p+17},ee.getSymbolTotalCodewords=function(p){return i[p]},ee.getBCHDigit=function(t){let p=0;for(;0!==t;)p++,t>>>=1;return p},ee.setToSJISFunction=function(p){if("function"!=typeof p)throw new Error('"toSJISFunc" is not a valid function.');l=p},ee.isKanjiModeEnabled=function(){return typeof l<"u"},ee.toSJIS=function(p){return l(p)}},19270:(Ae,ee,l)=>{"use strict";l.d(ee,{f:()=>i});const i={setTimeout(t,p,...S){const{delegate:c}=i;return c?.setTimeout?c.setTimeout(t,p,...S):setTimeout(t,p,...S)},clearTimeout(t){const{delegate:p}=i;return(p?.clearTimeout||clearTimeout)(t)},delegate:void 0}},19295:(Ae,ee,l)=>{"use strict";l.d(ee,{$R:()=>Jt,YV:()=>Vt,cC:()=>Ye,Qo:()=>Et,Zq:()=>ti,iF:()=>ci,xW:()=>tt,KS:()=>Nt,tL:()=>Zt,YZ:()=>ei,ji:()=>$e,NB:()=>Hi,iL:()=>vi,Zl:()=>yt,I6:()=>zn,tP:()=>nn});var i=l(73664),t=l(2615),p=l(17705),S=l(14117),c=l(21413),e=l(84412),T=l(74402),g=l(7673),d=l(56977),m=function(It){return It[It.REPLACED=0]="REPLACED",It[It.INSERTED=1]="INSERTED",It[It.MOVED=2]="MOVED",It[It.REMOVED=3]="REMOVED",It}(m||{});const P=new t.nKC("_ViewRepeater");class j{applyChanges(Tt,Ze,Ve,Fe,it){Tt.forEachOperation((bt,ut,jt)=>{let ai,pi;if(null==bt.previousIndex){const ki=Ve(bt,ut,jt);ai=Ze.createEmbeddedView(ki.templateRef,ki.context,ki.index),pi=m.INSERTED}else null==jt?(Ze.remove(ut),pi=m.REMOVED):(ai=Ze.get(ut),Ze.move(ai,jt),pi=m.MOVED);it&&it({context:ai?.context,operation:pi,record:bt})})}detach(){}}var U=l(61577),K=l(39842),q=l(5718);const G=[[["caption"]],[["colgroup"],["col"]],"*"],Q=["caption","colgroup, col","*"];function $(It,Tt){1&It&&i.SdG(0,2)}function ae(It,Tt){1&It&&(i.j41(0,"thead",0),i.eu8(1,1),i.k0s(),i.j41(2,"tbody",0),i.eu8(3,2)(4,3),i.k0s(),i.j41(5,"tfoot",0),i.eu8(6,4),i.k0s())}function ue(It,Tt){1&It&&i.eu8(0,1)(1,2)(2,3)(3,4)}const me=new t.nKC("CDK_TABLE");let D=(()=>{class It{template=(0,t.WQX)(i.C4Q);constructor(){}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","cdkCellDef",""]]})}return It})(),n=(()=>{class It{template=(0,t.WQX)(i.C4Q);constructor(){}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","cdkHeaderCellDef",""]]})}return It})(),o=(()=>{class It{template=(0,t.WQX)(i.C4Q);constructor(){}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","cdkFooterCellDef",""]]})}return It})(),f=(()=>{class It{_table=(0,t.WQX)(me,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(Ze){this._setNameInput(Ze)}_name;get sticky(){return this._sticky}set sticky(Ze){Ze!==this._sticky&&(this._sticky=Ze,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(Ze){Ze!==this._stickyEnd&&(this._stickyEnd=Ze,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){const Ze=this._hasStickyChanged;return this.resetStickyChanged(),Ze}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Ze){Ze&&(this._name=Ze,this.cssClassFriendlyName=Ze.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","cdkColumnDef",""]],contentQueries:function(Ve,Fe,it){if(1&Ve&&(i.wni(it,D,5),i.wni(it,n,5),i.wni(it,o,5)),2&Ve){let bt;i.mGM(bt=i.lsd())&&(Fe.cell=bt.first),i.mGM(bt=i.lsd())&&(Fe.headerCell=bt.first),i.mGM(bt=i.lsd())&&(Fe.footerCell=bt.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",p.L39],stickyEnd:[2,"stickyEnd","stickyEnd",p.L39]},features:[i.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:It}])]})}return It})();class h{constructor(Tt,Ze){Ze.nativeElement.classList.add(...Tt._columnCssClassName)}}let b=(()=>{class It extends h{constructor(){super((0,t.WQX)(f),(0,t.WQX)(i.aKT))}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.Vt3]})}return It})(),A=(()=>{class It extends h{constructor(){const Ze=(0,t.WQX)(f),Ve=(0,t.WQX)(i.aKT);super(Ze,Ve);const Fe=Ze._table?._getCellRole();Fe&&Ve.nativeElement.setAttribute("role",Fe)}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[i.Vt3]})}return It})(),k=(()=>{class It extends h{constructor(){const Ze=(0,t.WQX)(f),Ve=(0,t.WQX)(i.aKT);super(Ze,Ve);const Fe=Ze._table?._getCellRole();Fe&&Ve.nativeElement.setAttribute("role",Fe)}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[i.Vt3]})}return It})(),r=(()=>{class It{template=(0,t.WQX)(i.C4Q);_differs=(0,t.WQX)(p._q3);columns;_columnsDiffer;constructor(){}ngOnChanges(Ze){if(!this._columnsDiffer){const Ve=Ze.columns&&Ze.columns.currentValue||[];this._columnsDiffer=this._differs.find(Ve).create(),this._columnsDiffer.diff(Ve)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Ze){return this instanceof _?Ze.headerCell.template:this instanceof W?Ze.footerCell.template:Ze.cell.template}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,features:[i.OA$]})}return It})(),_=(()=>{class It extends r{_table=(0,t.WQX)(me,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(Ze){Ze!==this._sticky&&(this._sticky=Ze,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super((0,t.WQX)(i.C4Q),(0,t.WQX)(p._q3))}ngOnChanges(Ze){super.ngOnChanges(Ze)}hasStickyChanged(){const Ze=this._hasStickyChanged;return this.resetStickyChanged(),Ze}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",p.L39]},features:[i.Vt3,i.OA$]})}return It})(),W=(()=>{class It extends r{_table=(0,t.WQX)(me,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(Ze){Ze!==this._sticky&&(this._sticky=Ze,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super((0,t.WQX)(i.C4Q),(0,t.WQX)(p._q3))}ngOnChanges(Ze){super.ngOnChanges(Ze)}hasStickyChanged(){const Ze=this._hasStickyChanged;return this.resetStickyChanged(),Ze}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",p.L39]},features:[i.Vt3,i.OA$]})}return It})(),I=(()=>{class It extends r{_table=(0,t.WQX)(me,{optional:!0});when;constructor(){super((0,t.WQX)(i.C4Q),(0,t.WQX)(p._q3))}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[i.Vt3]})}return It})(),B=(()=>{class It{_viewContainer=(0,t.WQX)(i.c1b);cells;context;static mostRecentCellOutlet=null;constructor(){It.mostRecentCellOutlet=this}ngOnDestroy(){It.mostRecentCellOutlet===this&&(It.mostRecentCellOutlet=null)}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","cdkCellOutlet",""]]})}return It})(),re=(()=>{class It{static \u0275fac=function(Ve){return new(Ve||It)};static \u0275cmp=i.VBU({type:It,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Ve,Fe){1&Ve&&i.eu8(0,0)},dependencies:[B],encapsulation:2})}return It})(),pe=(()=>{class It{static \u0275fac=function(Ve){return new(Ve||It)};static \u0275cmp=i.VBU({type:It,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Ve,Fe){1&Ve&&i.eu8(0,0)},dependencies:[B],encapsulation:2})}return It})(),be=(()=>{class It{static \u0275fac=function(Ve){return new(Ve||It)};static \u0275cmp=i.VBU({type:It,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Ve,Fe){1&Ve&&i.eu8(0,0)},dependencies:[B],encapsulation:2})}return It})(),Be=(()=>{class It{templateRef=(0,t.WQX)(i.C4Q);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["ng-template","cdkNoDataRow",""]]})}return It})();const _e=["top","bottom","left","right"];class ye{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(Tt=>this._updateCachedSizes(Tt)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(Tt,Ze,Ve=!0,Fe=!0,it,bt,ut){this._isNativeHtmlTable=Tt,this._stickCellCss=Ze,this._isBrowser=Ve,this._needsPositionStickyOnElement=Fe,this.direction=it,this._positionListener=bt,this._tableInjector=ut,this._borderCellCss={top:`${Ze}-border-elem-top`,bottom:`${Ze}-border-elem-bottom`,left:`${Ze}-border-elem-left`,right:`${Ze}-border-elem-right`}}clearStickyPositioning(Tt,Ze){(Ze.includes("left")||Ze.includes("right"))&&this._removeFromStickyColumnReplayQueue(Tt);const Ve=[];for(const Fe of Tt)Fe.nodeType===Fe.ELEMENT_NODE&&Ve.push(Fe,...Array.from(Fe.children));(0,i.mal)({write:()=>{for(const Fe of Ve)this._removeStickyStyle(Fe,Ze)}},{injector:this._tableInjector})}updateStickyColumns(Tt,Ze,Ve,Fe=!0,it=!0){if(!Tt.length||!this._isBrowser||!Ze.some(An=>An)&&!Ve.some(An=>An))return this._positionListener?.stickyColumnsUpdated({sizes:[]}),void this._positionListener?.stickyEndColumnsUpdated({sizes:[]});const bt=Tt[0],ut=bt.children.length,jt="rtl"===this.direction,ai=jt?"right":"left",pi=jt?"left":"right",ki=Ze.lastIndexOf(!0),Ki=Ve.indexOf(!0);let Ji,Dn,En;it&&this._updateStickyColumnReplayQueue({rows:[...Tt],stickyStartStates:[...Ze],stickyEndStates:[...Ve]}),(0,i.mal)({earlyRead:()=>{Ji=this._getCellWidths(bt,Fe),Dn=this._getStickyStartColumnPositions(Ji,Ze),En=this._getStickyEndColumnPositions(Ji,Ve)},write:()=>{for(const An of Tt)for(let Fn=0;Fn<ut;Fn++){const xi=An.children[Fn];Ze[Fn]&&this._addStickyStyle(xi,ai,Dn[Fn],Fn===ki),Ve[Fn]&&this._addStickyStyle(xi,pi,En[Fn],Fn===Ki)}this._positionListener&&Ji.some(An=>!!An)&&(this._positionListener.stickyColumnsUpdated({sizes:-1===ki?[]:Ji.slice(0,ki+1).map((An,Fn)=>Ze[Fn]?An:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ki?[]:Ji.slice(Ki).map((An,Fn)=>Ve[Fn+Ki]?An:null).reverse()}))}},{injector:this._tableInjector})}stickRows(Tt,Ze,Ve){if(!this._isBrowser)return;const Fe="bottom"===Ve?Tt.slice().reverse():Tt,it="bottom"===Ve?Ze.slice().reverse():Ze,bt=[],ut=[],jt=[];(0,i.mal)({earlyRead:()=>{for(let ai=0,pi=0;ai<Fe.length;ai++){if(!it[ai])continue;bt[ai]=pi;const ki=Fe[ai];jt[ai]=this._isNativeHtmlTable?Array.from(ki.children):[ki];const Ki=this._retrieveElementSize(ki).height;pi+=Ki,ut[ai]=Ki}},write:()=>{const ai=it.lastIndexOf(!0);for(let pi=0;pi<Fe.length;pi++){if(!it[pi])continue;const ki=bt[pi],Ki=pi===ai;for(const Ji of jt[pi])this._addStickyStyle(Ji,Ve,ki,Ki)}"top"===Ve?this._positionListener?.stickyHeaderRowsUpdated({sizes:ut,offsets:bt,elements:jt}):this._positionListener?.stickyFooterRowsUpdated({sizes:ut,offsets:bt,elements:jt})}},{injector:this._tableInjector})}updateStickyFooterContainer(Tt,Ze){this._isNativeHtmlTable&&(0,i.mal)({write:()=>{const Ve=Tt.querySelector("tfoot");Ve&&(Ze.some(Fe=>!Fe)?this._removeStickyStyle(Ve,["bottom"]):this._addStickyStyle(Ve,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(Tt,Ze){if(Tt.classList.contains(this._stickCellCss)){for(const Fe of Ze)Tt.style[Fe]="",Tt.classList.remove(this._borderCellCss[Fe]);_e.some(Fe=>-1===Ze.indexOf(Fe)&&Tt.style[Fe])?Tt.style.zIndex=this._getCalculatedZIndex(Tt):(Tt.style.zIndex="",this._needsPositionStickyOnElement&&(Tt.style.position=""),Tt.classList.remove(this._stickCellCss))}}_addStickyStyle(Tt,Ze,Ve,Fe){Tt.classList.add(this._stickCellCss),Fe&&Tt.classList.add(this._borderCellCss[Ze]),Tt.style[Ze]=`${Ve}px`,Tt.style.zIndex=this._getCalculatedZIndex(Tt),this._needsPositionStickyOnElement&&(Tt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Tt){const Ze={top:100,bottom:10,left:1,right:1};let Ve=0;for(const Fe of _e)Tt.style[Fe]&&(Ve+=Ze[Fe]);return Ve?`${Ve}`:""}_getCellWidths(Tt,Ze=!0){if(!Ze&&this._cachedCellWidths.length)return this._cachedCellWidths;const Ve=[],Fe=Tt.children;for(let it=0;it<Fe.length;it++)Ve.push(this._retrieveElementSize(Fe[it]).width);return this._cachedCellWidths=Ve,Ve}_getStickyStartColumnPositions(Tt,Ze){const Ve=[];let Fe=0;for(let it=0;it<Tt.length;it++)Ze[it]&&(Ve[it]=Fe,Fe+=Tt[it]);return Ve}_getStickyEndColumnPositions(Tt,Ze){const Ve=[];let Fe=0;for(let it=Tt.length;it>0;it--)Ze[it]&&(Ve[it]=Fe,Fe+=Tt[it]);return Ve}_retrieveElementSize(Tt){const Ze=this._elemSizeCache.get(Tt);if(Ze)return Ze;const Ve=Tt.getBoundingClientRect(),Fe={width:Ve.width,height:Ve.height};return this._resizeObserver&&(this._elemSizeCache.set(Tt,Fe),this._resizeObserver.observe(Tt,{box:"border-box"})),Fe}_updateStickyColumnReplayQueue(Tt){this._removeFromStickyColumnReplayQueue(Tt.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(Tt)}_removeFromStickyColumnReplayQueue(Tt){const Ze=new Set(Tt);for(const Ve of this._updatedStickyColumnsParamsToReplay)Ve.rows=Ve.rows.filter(Fe=>!Ze.has(Fe));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(Ve=>!!Ve.rows.length)}_updateCachedSizes(Tt){let Ze=!1;for(const Ve of Tt){const Fe=Ve.borderBoxSize?.length?{width:Ve.borderBoxSize[0].inlineSize,height:Ve.borderBoxSize[0].blockSize}:{width:Ve.contentRect.width,height:Ve.contentRect.height};Fe.width!==this._elemSizeCache.get(Ve.target)?.width&&Le(Ve.target)&&(Ze=!0),this._elemSizeCache.set(Ve.target,Fe)}Ze&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(const Ve of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(Ve.rows,Ve.stickyStartStates,Ve.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}}function Le(It){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(Tt=>It.classList.contains(Tt))}const Mt=new t.nKC("CDK_SPL");let Pe=(()=>{class It{viewContainer=(0,t.WQX)(i.c1b);elementRef=(0,t.WQX)(i.aKT);constructor(){const Ze=(0,t.WQX)(me);Ze._rowOutlet=this,Ze._outletAssigned()}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","rowOutlet",""]]})}return It})(),Ht=(()=>{class It{viewContainer=(0,t.WQX)(i.c1b);elementRef=(0,t.WQX)(i.aKT);constructor(){const Ze=(0,t.WQX)(me);Ze._headerRowOutlet=this,Ze._outletAssigned()}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","headerRowOutlet",""]]})}return It})(),ct=(()=>{class It{viewContainer=(0,t.WQX)(i.c1b);elementRef=(0,t.WQX)(i.aKT);constructor(){const Ze=(0,t.WQX)(me);Ze._footerRowOutlet=this,Ze._outletAssigned()}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","footerRowOutlet",""]]})}return It})(),Ce=(()=>{class It{viewContainer=(0,t.WQX)(i.c1b);elementRef=(0,t.WQX)(i.aKT);constructor(){const Ze=(0,t.WQX)(me);Ze._noDataRowOutlet=this,Ze._outletAssigned()}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275dir=i.FsC({type:It,selectors:[["","noDataRowOutlet",""]]})}return It})(),ze=(()=>{class It{_differs=(0,t.WQX)(p._q3);_changeDetectorRef=(0,t.WQX)(p.gRc);_elementRef=(0,t.WQX)(i.aKT);_dir=(0,t.WQX)(U.dS,{optional:!0});_platform=(0,t.WQX)(K.O);_viewRepeater=(0,t.WQX)(P);_viewportRuler=(0,t.WQX)(q.Xj);_stickyPositioningListener=(0,t.WQX)(Mt,{optional:!0,skipSelf:!0});_document=(0,t.WQX)(t.qQL);_data;_onDestroy=new c.B;_renderRows;_renderChangeSubscription;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_getCellRole(){if(void 0===this._cellRoleInternal){const Ze=this._elementRef.nativeElement.getAttribute("role");return"grid"===Ze||"treegrid"===Ze?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(Ze){this._trackByFn=Ze}_trackByFn;get dataSource(){return this._dataSource}set dataSource(Ze){this._dataSource!==Ze&&this._switchDataSource(Ze)}_dataSource;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Ze){this._multiTemplateDataRows=Ze,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._fixedLayout}set fixedLayout(Ze){this._fixedLayout=Ze,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;contentChanged=new i.bkB;viewChange=new e.t({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=(0,t.WQX)(t.zZn);constructor(){(0,t.WQX)(new p.ES_("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName,this._dataDiffer=this._differs.find([]).create((Ve,Fe)=>this.trackBy?this.trackBy(Fe.dataIndex,Fe.data):Fe)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe((0,d.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Ze=>{Ze?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,S.y)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Ze=this._dataDiffer.diff(this._renderRows);if(!Ze)return this._updateNoDataRow(),void this.contentChanged.next();const Ve=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Ze,Ve,(Fe,it,bt)=>this._getEmbeddedViewArgs(Fe.item,bt),Fe=>Fe.item.data,Fe=>{Fe.operation===m.INSERTED&&Fe.context&&this._renderCellTemplateForItem(Fe.record.item.rowDef,Fe.context)}),this._updateRowIndexContext(),Ze.forEachIdentityChange(Fe=>{Ve.get(Fe.currentIndex).context.$implicit=Fe.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(Ze){this._customColumnDefs.add(Ze)}removeColumnDef(Ze){this._customColumnDefs.delete(Ze)}addRowDef(Ze){this._customRowDefs.add(Ze)}removeRowDef(Ze){this._customRowDefs.delete(Ze)}addHeaderRowDef(Ze){this._customHeaderRowDefs.add(Ze),this._headerRowDefChanged=!0}removeHeaderRowDef(Ze){this._customHeaderRowDefs.delete(Ze),this._headerRowDefChanged=!0}addFooterRowDef(Ze){this._customFooterRowDefs.add(Ze),this._footerRowDefChanged=!0}removeFooterRowDef(Ze){this._customFooterRowDefs.delete(Ze),this._footerRowDefChanged=!0}setNoDataRow(Ze){this._customNoDataRow=Ze}updateStickyHeaderRowStyles(){const Ze=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const Fe=J(this._headerRowOutlet,"thead");Fe&&(Fe.style.display=Ze.length?"":"none")}const Ve=this._headerRowDefs.map(Fe=>Fe.sticky);this._stickyStyler.clearStickyPositioning(Ze,["top"]),this._stickyStyler.stickRows(Ze,Ve,"top"),this._headerRowDefs.forEach(Fe=>Fe.resetStickyChanged())}updateStickyFooterRowStyles(){const Ze=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const Fe=J(this._footerRowOutlet,"tfoot");Fe&&(Fe.style.display=Ze.length?"":"none")}const Ve=this._footerRowDefs.map(Fe=>Fe.sticky);this._stickyStyler.clearStickyPositioning(Ze,["bottom"]),this._stickyStyler.stickRows(Ze,Ve,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Ve),this._footerRowDefs.forEach(Fe=>Fe.resetStickyChanged())}updateStickyColumnStyles(){const Ze=this._getRenderedRows(this._headerRowOutlet),Ve=this._getRenderedRows(this._rowOutlet),Fe=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Ze,...Ve,...Fe],["left","right"]),this._stickyColumnStylesNeedReset=!1),Ze.forEach((it,bt)=>{this._addStickyColumnStyles([it],this._headerRowDefs[bt])}),this._rowDefs.forEach(it=>{const bt=[];for(let ut=0;ut<Ve.length;ut++)this._renderRows[ut].rowDef===it&&bt.push(Ve[ut]);this._addStickyColumnStyles(bt,it)}),Fe.forEach((it,bt)=>{this._addStickyColumnStyles([it],this._footerRowDefs[bt])}),Array.from(this._columnDefsByName.values()).forEach(it=>it.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 Ve=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Ve,this._forceRecalculateCellWidths=Ve,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 Ze=[],Ve=this._cachedRenderRowsMap;if(this._cachedRenderRowsMap=new Map,!this._data)return Ze;for(let Fe=0;Fe<this._data.length;Fe++){let it=this._data[Fe];const bt=this._getRenderRowsForData(it,Fe,Ve.get(it));this._cachedRenderRowsMap.has(it)||this._cachedRenderRowsMap.set(it,new WeakMap);for(let ut=0;ut<bt.length;ut++){let jt=bt[ut];const ai=this._cachedRenderRowsMap.get(jt.data);ai.has(jt.rowDef)?ai.get(jt.rowDef).push(jt):ai.set(jt.rowDef,[jt]),Ze.push(jt)}}return Ze}_getRenderRowsForData(Ze,Ve,Fe){return this._getRowDefs(Ze,Ve).map(bt=>{const ut=Fe&&Fe.has(bt)?Fe.get(bt):[];if(ut.length){const jt=ut.shift();return jt.dataIndex=Ve,jt}return{data:Ze,rowDef:bt,dataIndex:Ve}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Z(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Ve=>{this._columnDefsByName.has(Ve.name),this._columnDefsByName.set(Ve.name,Ve)})}_cacheRowDefs(){this._headerRowDefs=Z(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Z(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Z(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Ze=this._rowDefs.filter(Ve=>!Ve.when);this._defaultRowDef=Ze[0]}_renderUpdatedColumns(){const Ze=(bt,ut)=>{const jt=!!ut.getColumnsDiff();return bt||jt},Ve=this._rowDefs.reduce(Ze,!1);Ve&&this._forceRenderDataRows();const Fe=this._headerRowDefs.reduce(Ze,!1);Fe&&this._forceRenderHeaderRows();const it=this._footerRowDefs.reduce(Ze,!1);return it&&this._forceRenderFooterRows(),Ve||Fe||it}_switchDataSource(Ze){this._data=[],(0,S.y)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Ze||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=Ze}_observeRenderChanges(){if(!this.dataSource)return;let Ze;(0,S.y)(this.dataSource)?Ze=this.dataSource.connect(this):(0,T.A)(this.dataSource)?Ze=this.dataSource:Array.isArray(this.dataSource)&&(Ze=(0,g.of)(this.dataSource)),this._renderChangeSubscription=Ze.pipe((0,d.Q)(this._onDestroy)).subscribe(Ve=>{this._data=Ve||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Ze,Ve)=>this._renderRow(this._headerRowOutlet,Ze,Ve)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Ze,Ve)=>this._renderRow(this._footerRowOutlet,Ze,Ve)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Ze,Ve){const Fe=Array.from(Ve?.columns||[]).map(ut=>this._columnDefsByName.get(ut)),it=Fe.map(ut=>ut.sticky),bt=Fe.map(ut=>ut.stickyEnd);this._stickyStyler.updateStickyColumns(Ze,it,bt,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Ze){const Ve=[];for(let Fe=0;Fe<Ze.viewContainer.length;Fe++){const it=Ze.viewContainer.get(Fe);Ve.push(it.rootNodes[0])}return Ve}_getRowDefs(Ze,Ve){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Fe=[];if(this.multiTemplateDataRows)Fe=this._rowDefs.filter(it=>!it.when||it.when(Ve,Ze));else{let it=this._rowDefs.find(bt=>bt.when&&bt.when(Ve,Ze))||this._defaultRowDef;it&&Fe.push(it)}return Fe}_getEmbeddedViewArgs(Ze,Ve){return{templateRef:Ze.rowDef.template,context:{$implicit:Ze.data},index:Ve}}_renderRow(Ze,Ve,Fe,it={}){const bt=Ze.viewContainer.createEmbeddedView(Ve.template,it,Fe);return this._renderCellTemplateForItem(Ve,it),bt}_renderCellTemplateForItem(Ze,Ve){for(let Fe of this._getCellTemplates(Ze))B.mostRecentCellOutlet&&B.mostRecentCellOutlet._viewContainer.createEmbeddedView(Fe,Ve);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Ze=this._rowOutlet.viewContainer;for(let Ve=0,Fe=Ze.length;Ve<Fe;Ve++){const bt=Ze.get(Ve).context;bt.count=Fe,bt.first=0===Ve,bt.last=Ve===Fe-1,bt.even=Ve%2==0,bt.odd=!bt.even,this.multiTemplateDataRows?(bt.dataIndex=this._renderRows[Ve].dataIndex,bt.renderIndex=Ve):bt.index=this._renderRows[Ve].dataIndex}}_getCellTemplates(Ze){return Ze&&Ze.columns?Array.from(Ze.columns,Ve=>{const Fe=this._columnDefsByName.get(Ve);return Ze.extractCellTemplate(Fe)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Ze=(Ve,Fe)=>Ve||Fe.hasStickyChanged();this._headerRowDefs.reduce(Ze,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Ze,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Ze,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ye(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,this._dir?this._dir.value:"ltr",this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:(0,g.of)()).pipe((0,d.Q)(this._onDestroy)).subscribe(Ve=>{this._stickyStyler.direction=Ve,this.updateStickyColumnStyles()})}_getOwnDefs(Ze){return Ze.filter(Ve=>!Ve._table||Ve._table===this)}_updateNoDataRow(){const Ze=this._customNoDataRow||this._noDataRow;if(!Ze)return;const Ve=0===this._rowOutlet.viewContainer.length;if(Ve===this._isShowingNoDataRow)return;const Fe=this._noDataRowOutlet.viewContainer;if(Ve){const it=Fe.createEmbeddedView(Ze.templateRef),bt=it.rootNodes[0];if(1===it.rootNodes.length&&bt?.nodeType===this._document.ELEMENT_NODE){bt.setAttribute("role","row"),bt.classList.add(...Ze._contentClassNames);const ut=bt.querySelectorAll(Ze._cellSelector);for(let jt=0;jt<ut.length;jt++)ut[jt].classList.add(...Ze._cellClassNames)}}else Fe.clear();this._isShowingNoDataRow=Ve,this._changeDetectorRef.markForCheck()}static \u0275fac=function(Ve){return new(Ve||It)};static \u0275cmp=i.VBU({type:It,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Ve,Fe,it){if(1&Ve&&(i.wni(it,Be,5),i.wni(it,f,5),i.wni(it,I,5),i.wni(it,_,5),i.wni(it,W,5)),2&Ve){let bt;i.mGM(bt=i.lsd())&&(Fe._noDataRow=bt.first),i.mGM(bt=i.lsd())&&(Fe._contentColumnDefs=bt),i.mGM(bt=i.lsd())&&(Fe._contentRowDefs=bt),i.mGM(bt=i.lsd())&&(Fe._contentHeaderRowDefs=bt),i.mGM(bt=i.lsd())&&(Fe._contentFooterRowDefs=bt)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(Ve,Fe){2&Ve&&i.AVh("cdk-table-fixed-layout",Fe.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",p.L39],fixedLayout:[2,"fixedLayout","fixedLayout",p.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[i.Jv_([{provide:me,useExisting:It},{provide:P,useClass:j},{provide:Mt,useValue:null}])],ngContentSelectors:Q,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Ve,Fe){1&Ve&&(i.NAR(G),i.SdG(0),i.SdG(1,1),i.nVh(2,$,1,0),i.nVh(3,ae,7,0)(4,ue,4,0)),2&Ve&&(i.R7$(2),i.vxM(Fe._isServer?2:-1),i.R7$(),i.vxM(Fe._isNativeHtmlTable?3:4))},dependencies:[Ht,Pe,Ce,ct],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2})}return It})();function Z(It,Tt){return It.concat(Array.from(Tt))}function J(It,Tt){const Ze=Tt.toUpperCase();let Ve=It.viewContainer.element.nativeElement;for(;Ve;){const Fe=1===Ve.nodeType?Ve.nodeName:null;if(Fe===Ze)return Ve;if("TABLE"===Fe)break;Ve=Ve.parentNode}return null}let ht=(()=>{class It{static \u0275fac=function(Ve){return new(Ve||It)};static \u0275mod=i.$C({type:It});static \u0275inj=t.G2t({imports:[q.E9]})}return It})();var li=l(22466),Qt=l(57786),di=l(84572),kt=l(67847),Rt=l(96354);const le=[[["caption"]],[["colgroup"],["col"]],"*"],te=["caption","colgroup, col","*"];function ce(It,Tt){1&It&&i.SdG(0,2)}function se(It,Tt){1&It&&(i.j41(0,"thead",0),i.eu8(1,1),i.k0s(),i.j41(2,"tbody",2),i.eu8(3,3)(4,4),i.k0s(),i.j41(5,"tfoot",0),i.eu8(6,5),i.k0s())}function ke(It,Tt){1&It&&i.eu8(0,1)(1,3)(2,4)(3,5)}let yt=(()=>{class It extends ze{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275cmp=i.VBU({type:It,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(Ve,Fe){2&Ve&&i.AVh("mdc-table-fixed-layout",Fe.fixedLayout)},exportAs:["matTable"],features:[i.Jv_([{provide:ze,useExisting:It},{provide:me,useExisting:It},{provide:P,useClass:j},{provide:Mt,useValue:null}]),i.Vt3],ngContentSelectors:te,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Ve,Fe){1&Ve&&(i.NAR(le),i.SdG(0),i.SdG(1,1),i.nVh(2,ce,1,0),i.nVh(3,se,7,0)(4,ke,4,0)),2&Ve&&(i.R7$(2),i.vxM(Fe._isServer?2:-1),i.R7$(),i.vxM(Fe._isNativeHtmlTable?3:4))},dependencies:[Ht,Pe,Ce,ct],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:var(--mat-table-header-container-height, 56px)}mat-row{min-height:var(--mat-table-row-item-container-height, 52px)}mat-footer-row{min-height:var(--mat-table-footer-container-height, 52px)}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{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-sys-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.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, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, 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, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-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, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, 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, var(--mat-sys-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mdc-data-table__row:last-child>.mat-mdc-header-cell{border-bottom:none}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-sys-outline, 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, var(--mat-sys-body-medium-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, var(--mat-sys-body-medium-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}\n"],encapsulation:2})}return It})(),Vt=(()=>{class It extends D{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275dir=i.FsC({type:It,selectors:[["","matCellDef",""]],features:[i.Jv_([{provide:D,useExisting:It}]),i.Vt3]})}return It})(),Zt=(()=>{class It extends n{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275dir=i.FsC({type:It,selectors:[["","matHeaderCellDef",""]],features:[i.Jv_([{provide:n,useExisting:It}]),i.Vt3]})}return It})(),ti=(()=>{class It extends o{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275dir=i.FsC({type:It,selectors:[["","matFooterCellDef",""]],features:[i.Jv_([{provide:o,useExisting:It}]),i.Vt3]})}return It})(),Ye=(()=>{class It extends f{get name(){return this._name}set name(Ze){this._setNameInput(Ze)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275dir=i.FsC({type:It,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[i.Jv_([{provide:f,useExisting:It},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:It}]),i.Vt3]})}return It})(),Nt=(()=>{class It extends b{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275dir=i.FsC({type:It,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[i.Vt3]})}return It})(),Et=(()=>{class It extends A{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275dir=i.FsC({type:It,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[i.Vt3]})}return It})(),Jt=(()=>{class It extends k{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275dir=i.FsC({type:It,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[i.Vt3]})}return It})(),$e=(()=>{class It extends _{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275dir=i.FsC({type:It,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",p.L39]},features:[i.Jv_([{provide:_,useExisting:It}]),i.Vt3]})}return It})(),tt=(()=>{class It extends W{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275dir=i.FsC({type:It,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",p.L39]},features:[i.Jv_([{provide:W,useExisting:It}]),i.Vt3]})}return It})(),vi=(()=>{class It extends I{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275dir=i.FsC({type:It,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[i.Jv_([{provide:I,useExisting:It}]),i.Vt3]})}return It})(),ei=(()=>{class It extends re{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275cmp=i.VBU({type:It,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[i.Jv_([{provide:re,useExisting:It}]),i.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Ve,Fe){1&Ve&&i.eu8(0,0)},dependencies:[B],encapsulation:2})}return It})(),ci=(()=>{class It extends pe{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275cmp=i.VBU({type:It,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[i.Jv_([{provide:pe,useExisting:It}]),i.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Ve,Fe){1&Ve&&i.eu8(0,0)},dependencies:[B],encapsulation:2})}return It})(),Hi=(()=>{class It extends be{static \u0275fac=(()=>{let Ze;return function(Fe){return(Ze||(Ze=i.xGo(It)))(Fe||It)}})();static \u0275cmp=i.VBU({type:It,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[i.Jv_([{provide:be,useExisting:It}]),i.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Ve,Fe){1&Ve&&i.eu8(0,0)},dependencies:[B],encapsulation:2})}return It})(),nn=(()=>{class It{static \u0275fac=function(Ve){return new(Ve||It)};static \u0275mod=i.$C({type:It});static \u0275inj=t.G2t({imports:[li.y,ht,li.y]})}return It})();class zn extends S.q{_data;_renderData=new e.t([]);_filter=new e.t("");_internalPageChanges=new c.B;_renderChangesSubscription=null;filteredData;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()}_sort;get paginator(){return this._paginator}set paginator(Tt){this._paginator=Tt,this._updateChangeSubscription()}_paginator;sortingDataAccessor=(Tt,Ze)=>{const Ve=Tt[Ze];if((0,kt.o1)(Ve)){const Fe=Number(Ve);return Fe<9007199254740991?Fe:Ve}return Ve};sortData=(Tt,Ze)=>{const Ve=Ze.active,Fe=Ze.direction;return Ve&&""!=Fe?Tt.sort((it,bt)=>{let ut=this.sortingDataAccessor(it,Ve),jt=this.sortingDataAccessor(bt,Ve);const ai=typeof ut,pi=typeof jt;ai!==pi&&("number"===ai&&(ut+=""),"number"===pi&&(jt+=""));let ki=0;return null!=ut&&null!=jt?ut>jt?ki=1:ut<jt&&(ki=-1):null!=ut?ki=1:null!=jt&&(ki=-1),ki*("asc"==Fe?1:-1)}):Tt};filterPredicate=(Tt,Ze)=>{const Ve=Ze.trim().toLowerCase();return Object.values(Tt).some(Fe=>`${Fe}`.toLowerCase().includes(Ve))};constructor(Tt=[]){super(),this._data=new e.t(Tt),this._updateChangeSubscription()}_updateChangeSubscription(){const Tt=this._sort?(0,Qt.h)(this._sort.sortChange,this._sort.initialized):(0,g.of)(null),Ze=this._paginator?(0,Qt.h)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,g.of)(null),Fe=(0,di.z)([this._data,this._filter]).pipe((0,Rt.T)(([ut])=>this._filterData(ut))),it=(0,di.z)([Fe,Tt]).pipe((0,Rt.T)(([ut])=>this._orderData(ut))),bt=(0,di.z)([it,Ze]).pipe((0,Rt.T)(([ut])=>this._pageData(ut)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=bt.subscribe(ut=>this._renderData.next(ut))}_filterData(Tt){return this.filteredData=null==this.filter||""===this.filter?Tt:Tt.filter(Ze=>this.filterPredicate(Ze,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 Ze=this.paginator.pageIndex*this.paginator.pageSize;return Tt.slice(Ze,Ze+this.paginator.pageSize)}_updatePaginator(Tt){Promise.resolve().then(()=>{const Ze=this.paginator;if(Ze&&(Ze.length=Tt,Ze.pageIndex>0)){const Ve=Math.ceil(Ze.length/Ze.pageSize)-1||0,Fe=Math.min(Ze.pageIndex,Ve);Fe!==Ze.pageIndex&&(Ze.pageIndex=Fe,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}},19307:(Ae,ee,l)=>{var i=l(12375),t=l(27054).Buffer,p=l(3247),S=l(71993),c=l(85917),e=l(13546),T=l(95725);function w(m,P,M,j){p.call(this);var U=t.alloc(4,0);this._cipher=new i.AES(P);var K=this._cipher.encryptBlock(U);this._ghash=new c(K),M=function d(m,P,M){if(12===P.length)return m._finID=t.concat([P,t.from([0,0,0,1])]),t.concat([P,t.from([0,0,0,2])]);var j=new c(M),U=P.length,K=U%16;j.update(P),K&&j.update(t.alloc(K=16-K,0)),j.update(t.alloc(8,0));var q=8*U,G=t.alloc(8);G.writeUIntBE(q,0,8),j.update(G),m._finID=j.state;var Q=t.from(m._finID);return T(Q),Q}(this,M,K),this._prev=t.from(M),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=j,this._alen=0,this._len=0,this._mode=m,this._authTag=null,this._called=!1}S(w,p),w.prototype._update=function(m){if(!this._called&&this._alen){var P=16-this._alen%16;P<16&&(P=t.alloc(P,0),this._ghash.update(P))}this._called=!0;var M=this._mode.encrypt(this,m);return this._ghash.update(this._decrypt?m:M),this._len+=m.length,M},w.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var m=e(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function g(m,P){var M=0;m.length!==P.length&&M++;for(var j=Math.min(m.length,P.length),U=0;U<j;++U)M+=m[U]^P[U];return M}(m,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=m,this._cipher.scrub()},w.prototype.getAuthTag=function(){if(this._decrypt||!t.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},w.prototype.setAuthTag=function(P){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=P},w.prototype.setAAD=function(P){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(P),this._alen+=P.length},Ae.exports=w},19609:(Ae,ee,l)=>{"use strict";var i=l(9656);Ae.exports=$;var p,t=l(20053);$.ReadableState=Q,l(44356);var c=function(_e,ye){return _e.listeners(ye).length},e=l(18342),T=l(2655).Buffer,g=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},m=Object.create(l(27637));m.inherits=l(71993);var P=l(79838),M=void 0;M=P&&P.debuglog?P.debuglog("stream"):function(){};var K,j=l(27809),U=l(21509);m.inherits($,e);var q=["error","close","destroy","pause","resume"];function Q(_e,ye){var Le=ye instanceof(p=p||l(74075));this.objectMode=!!(_e=_e||{}).objectMode,Le&&(this.objectMode=this.objectMode||!!_e.readableObjectMode);var Ke=_e.highWaterMark,ge=_e.readableHighWaterMark;this.highWaterMark=Ke||0===Ke?Ke:Le&&(ge||0===ge)?ge:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new j,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=_e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,_e.encoding&&(K||(K=l(78454).I),this.decoder=new K(_e.encoding),this.encoding=_e.encoding)}function $(_e){if(p=p||l(74075),!(this instanceof $))return new $(_e);this._readableState=new Q(_e,this),this.readable=!0,_e&&("function"==typeof _e.read&&(this._read=_e.read),"function"==typeof _e.destroy&&(this._destroy=_e.destroy)),e.call(this)}function ae(_e,ye,Le,Ke,ge){var Oe,ve=_e._readableState;return null===ye?(ve.reading=!1,function n(_e,ye){if(!ye.ended){if(ye.decoder){var Le=ye.decoder.end();Le&&Le.length&&(ye.buffer.push(Le),ye.length+=ye.objectMode?1:Le.length)}ye.ended=!0,o(_e)}}(_e,ve)):(ge||(Oe=function oe(_e,ye){var Le;return!function w(_e){return T.isBuffer(_e)||_e instanceof g}(ye)&&"string"!=typeof ye&&void 0!==ye&&!_e.objectMode&&(Le=new TypeError("Invalid non-string/buffer chunk")),Le}(ve,ye)),Oe?_e.emit("error",Oe):ve.objectMode||ye&&ye.length>0?("string"!=typeof ye&&!ve.objectMode&&Object.getPrototypeOf(ye)!==T.prototype&&(ye=function d(_e){return T.from(_e)}(ye)),Ke?ve.endEmitted?_e.emit("error",new Error("stream.unshift() after end event")):ue(_e,ve,ye,!0):ve.ended?_e.emit("error",new Error("stream.push() after EOF")):(ve.reading=!1,ve.decoder&&!Le?(ye=ve.decoder.write(ye),ve.objectMode||0!==ye.length?ue(_e,ve,ye,!1):h(_e,ve)):ue(_e,ve,ye,!1))):Ke||(ve.reading=!1)),function he(_e){return!_e.ended&&(_e.needReadable||_e.length<_e.highWaterMark||0===_e.length)}(ve)}function ue(_e,ye,Le,Ke){ye.flowing&&0===ye.length&&!ye.sync?(_e.emit("data",Le),_e.read(0)):(ye.length+=ye.objectMode?1:Le.length,Ke?ye.buffer.unshift(Le):ye.buffer.push(Le),ye.needReadable&&o(_e)),h(_e,ye)}function D(_e,ye){return _e<=0||0===ye.length&&ye.ended?0:ye.objectMode?1:_e!=_e?ye.flowing&&ye.length?ye.buffer.head.data.length:ye.length:(_e>ye.highWaterMark&&(ye.highWaterMark=function Te(_e){return _e>=8388608?_e=8388608:(_e--,_e|=_e>>>1,_e|=_e>>>2,_e|=_e>>>4,_e|=_e>>>8,_e|=_e>>>16,_e++),_e}(_e)),_e<=ye.length?_e:ye.ended?ye.length:(ye.needReadable=!0,0))}function o(_e){var ye=_e._readableState;ye.needReadable=!1,ye.emittedReadable||(M("emitReadable",ye.flowing),ye.emittedReadable=!0,ye.sync?i.nextTick(f,_e):f(_e))}function f(_e){M("emit readable"),_e.emit("readable"),_(_e)}function h(_e,ye){ye.readingMore||(ye.readingMore=!0,i.nextTick(b,_e,ye))}function b(_e,ye){for(var Le=ye.length;!ye.reading&&!ye.flowing&&!ye.ended&&ye.length<ye.highWaterMark&&(M("maybeReadMore read 0"),_e.read(0),Le!==ye.length);)Le=ye.length;ye.readingMore=!1}function k(_e){M("readable nexttick read 0"),_e.read(0)}function r(_e,ye){ye.reading||(M("resume read 0"),_e.read(0)),ye.resumeScheduled=!1,ye.awaitDrain=0,_e.emit("resume"),_(_e),ye.flowing&&!ye.reading&&_e.read(0)}function _(_e){var ye=_e._readableState;for(M("flow",ye.flowing);ye.flowing&&null!==_e.read(););}function W(_e,ye){return 0===ye.length?null:(ye.objectMode?Le=ye.buffer.shift():!_e||_e>=ye.length?(Le=ye.decoder?ye.buffer.join(""):1===ye.buffer.length?ye.buffer.head.data:ye.buffer.concat(ye.length),ye.buffer.clear()):Le=function I(_e,ye,Le){var Ke;return _e<ye.head.data.length?(Ke=ye.head.data.slice(0,_e),ye.head.data=ye.head.data.slice(_e)):Ke=_e===ye.head.data.length?ye.shift():Le?function B(_e,ye){var Le=ye.head,Ke=1,ge=Le.data;for(_e-=ge.length;Le=Le.next;){var ve=Le.data,Oe=_e>ve.length?ve.length:_e;if(ge+=Oe===ve.length?ve:ve.slice(0,_e),0===(_e-=Oe)){Oe===ve.length?(++Ke,ye.head=Le.next?Le.next:ye.tail=null):(ye.head=Le,Le.data=ve.slice(Oe));break}++Ke}return ye.length-=Ke,ge}(_e,ye):function re(_e,ye){var Le=T.allocUnsafe(_e),Ke=ye.head,ge=1;for(Ke.data.copy(Le),_e-=Ke.data.length;Ke=Ke.next;){var ve=Ke.data,Oe=_e>ve.length?ve.length:_e;if(ve.copy(Le,Le.length-_e,0,Oe),0===(_e-=Oe)){Oe===ve.length?(++ge,ye.head=Ke.next?Ke.next:ye.tail=null):(ye.head=Ke,Ke.data=ve.slice(Oe));break}++ge}return ye.length-=ge,Le}(_e,ye),Ke}(_e,ye.buffer,ye.decoder),Le);var Le}function pe(_e){var ye=_e._readableState;if(ye.length>0)throw new Error('"endReadable()" called on non-empty stream');ye.endEmitted||(ye.ended=!0,i.nextTick(be,ye,_e))}function be(_e,ye){!_e.endEmitted&&0===_e.length&&(_e.endEmitted=!0,ye.readable=!1,ye.emit("end"))}function Be(_e,ye){for(var Le=0,Ke=_e.length;Le<Ke;Le++)if(_e[Le]===ye)return Le;return-1}Object.defineProperty($.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(_e){this._readableState&&(this._readableState.destroyed=_e)}}),$.prototype.destroy=U.destroy,$.prototype._undestroy=U.undestroy,$.prototype._destroy=function(_e,ye){this.push(null),ye(_e)},$.prototype.push=function(_e,ye){var Ke,Le=this._readableState;return Le.objectMode?Ke=!0:"string"==typeof _e&&((ye=ye||Le.defaultEncoding)!==Le.encoding&&(_e=T.from(_e,ye),ye=""),Ke=!0),ae(this,_e,ye,!1,Ke)},$.prototype.unshift=function(_e){return ae(this,_e,null,!0,!1)},$.prototype.isPaused=function(){return!1===this._readableState.flowing},$.prototype.setEncoding=function(_e){return K||(K=l(78454).I),this._readableState.decoder=new K(_e),this._readableState.encoding=_e,this},$.prototype.read=function(_e){M("read",_e),_e=parseInt(_e,10);var ye=this._readableState,Le=_e;if(0!==_e&&(ye.emittedReadable=!1),0===_e&&ye.needReadable&&(ye.length>=ye.highWaterMark||ye.ended))return M("read: emitReadable",ye.length,ye.ended),0===ye.length&&ye.ended?pe(this):o(this),null;if(0===(_e=D(_e,ye))&&ye.ended)return 0===ye.length&&pe(this),null;var ge,Ke=ye.needReadable;return M("need readable",Ke),(0===ye.length||ye.length-_e<ye.highWaterMark)&&M("length less than watermark",Ke=!0),ye.ended||ye.reading?M("reading or ended",Ke=!1):Ke&&(M("do read"),ye.reading=!0,ye.sync=!0,0===ye.length&&(ye.needReadable=!0),this._read(ye.highWaterMark),ye.sync=!1,ye.reading||(_e=D(Le,ye))),null===(ge=_e>0?W(_e,ye):null)?(ye.needReadable=!0,_e=0):ye.length-=_e,0===ye.length&&(ye.ended||(ye.needReadable=!0),Le!==_e&&ye.ended&&pe(this)),null!==ge&&this.emit("data",ge),ge},$.prototype._read=function(_e){this.emit("error",new Error("_read() is not implemented"))},$.prototype.pipe=function(_e,ye){var Le=this,Ke=this._readableState;switch(Ke.pipesCount){case 0:Ke.pipes=_e;break;case 1:Ke.pipes=[Ke.pipes,_e];break;default:Ke.pipes.push(_e)}Ke.pipesCount+=1,M("pipe count=%d opts=%j",Ke.pipesCount,ye);var ve=ye&&!1===ye.end||_e===process.stdout||_e===process.stderr?Ce:Ee;function Ee(){M("onend"),_e.end()}Ke.endEmitted?i.nextTick(ve):Le.once("end",ve),_e.on("unpipe",function Oe(ze,Z){M("onunpipe"),ze===Le&&Z&&!1===Z.hasUnpiped&&(Z.hasUnpiped=!0,function Ct(){M("cleanup"),_e.removeListener("close",Ht),_e.removeListener("finish",ct),_e.removeListener("drain",dt),_e.removeListener("error",Pe),_e.removeListener("unpipe",Oe),Le.removeListener("end",Ee),Le.removeListener("end",Ce),Le.removeListener("data",lt),nt=!0,Ke.awaitDrain&&(!_e._writableState||_e._writableState.needDrain)&&dt()}())});var dt=function A(_e){return function(){var ye=_e._readableState;M("pipeOnDrain",ye.awaitDrain),ye.awaitDrain&&ye.awaitDrain--,0===ye.awaitDrain&&c(_e,"data")&&(ye.flowing=!0,_(_e))}}(Le);_e.on("drain",dt);var nt=!1,Mt=!1;function lt(ze){M("ondata"),Mt=!1,!1===_e.write(ze)&&!Mt&&((1===Ke.pipesCount&&Ke.pipes===_e||Ke.pipesCount>1&&-1!==Be(Ke.pipes,_e))&&!nt&&(M("false write response, pause",Ke.awaitDrain),Ke.awaitDrain++,Mt=!0),Le.pause())}function Pe(ze){M("onerror",ze),Ce(),_e.removeListener("error",Pe),0===c(_e,"error")&&_e.emit("error",ze)}function Ht(){_e.removeListener("finish",ct),Ce()}function ct(){M("onfinish"),_e.removeListener("close",Ht),Ce()}function Ce(){M("unpipe"),Le.unpipe(_e)}return Le.on("data",lt),function G(_e,ye,Le){if("function"==typeof _e.prependListener)return _e.prependListener(ye,Le);_e._events&&_e._events[ye]?t(_e._events[ye])?_e._events[ye].unshift(Le):_e._events[ye]=[Le,_e._events[ye]]:_e.on(ye,Le)}(_e,"error",Pe),_e.once("close",Ht),_e.once("finish",ct),_e.emit("pipe",Le),Ke.flowing||(M("pipe resume"),Le.resume()),_e},$.prototype.unpipe=function(_e){var ye=this._readableState,Le={hasUnpiped:!1};if(0===ye.pipesCount)return this;if(1===ye.pipesCount)return _e&&_e!==ye.pipes||(_e||(_e=ye.pipes),ye.pipes=null,ye.pipesCount=0,ye.flowing=!1,_e&&_e.emit("unpipe",this,Le)),this;if(!_e){var Ke=ye.pipes,ge=ye.pipesCount;ye.pipes=null,ye.pipesCount=0,ye.flowing=!1;for(var ve=0;ve<ge;ve++)Ke[ve].emit("unpipe",this,{hasUnpiped:!1});return this}var Oe=Be(ye.pipes,_e);return-1===Oe||(ye.pipes.splice(Oe,1),ye.pipesCount-=1,1===ye.pipesCount&&(ye.pipes=ye.pipes[0]),_e.emit("unpipe",this,Le)),this},$.prototype.addListener=$.prototype.on=function(_e,ye){var Le=e.prototype.on.call(this,_e,ye);if("data"===_e)!1!==this._readableState.flowing&&this.resume();else if("readable"===_e){var Ke=this._readableState;!Ke.endEmitted&&!Ke.readableListening&&(Ke.readableListening=Ke.needReadable=!0,Ke.emittedReadable=!1,Ke.reading?Ke.length&&o(this):i.nextTick(k,this))}return Le},$.prototype.resume=function(){var _e=this._readableState;return _e.flowing||(M("resume"),_e.flowing=!0,function x(_e,ye){ye.resumeScheduled||(ye.resumeScheduled=!0,i.nextTick(r,_e,ye))}(this,_e)),this},$.prototype.pause=function(){return M("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(M("pause"),this._readableState.flowing=!1,this.emit("pause")),this},$.prototype.wrap=function(_e){var ye=this,Le=this._readableState,Ke=!1;for(var ge in _e.on("end",function(){if(M("wrapped end"),Le.decoder&&!Le.ended){var Oe=Le.decoder.end();Oe&&Oe.length&&ye.push(Oe)}ye.push(null)}),_e.on("data",function(Oe){M("wrapped data"),Le.decoder&&(Oe=Le.decoder.write(Oe)),Le.objectMode&&null==Oe||!(Le.objectMode||Oe&&Oe.length)||ye.push(Oe)||(Ke=!0,_e.pause())}),_e)void 0===this[ge]&&"function"==typeof _e[ge]&&(this[ge]=function(Oe){return function(){return _e[Oe].apply(_e,arguments)}}(ge));for(var ve=0;ve<q.length;ve++)_e.on(q[ve],this.emit.bind(this,q[ve]));return this._read=function(Oe){M("wrapped _read",Oe),Ke&&(Ke=!1,_e.resume())},this},Object.defineProperty($.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),$._fromList=W},19846:(Ae,ee,l)=>{"use strict";var i=l(27054).Buffer,t=l(35696),p=l(5942).Transform;function c(e){p.call(this),this._block=i.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}l(71993)(c,p),c.prototype._transform=function(e,T,g){var d=null;try{this.update(e,T)}catch(w){d=w}g(d)},c.prototype._flush=function(e){var T=null;try{this.push(this.digest())}catch(g){T=g}e(T)},c.prototype.update=function(e,T){if(this._finalized)throw new Error("Digest already called");for(var g=t(e,T),d=this._block,w=0;this._blockOffset+g.length-w>=this._blockSize;){for(var m=this._blockOffset;m<this._blockSize;)d[m]=g[w],m+=1,w+=1;this._update(),this._blockOffset=0}for(;w<g.length;)d[this._blockOffset]=g[w],this._blockOffset+=1,w+=1;for(var P=0,M=8*g.length;M>0;++P)this._length[P]+=M,(M=this._length[P]/4294967296|0)>0&&(this._length[P]-=4294967296*M);return this},c.prototype._update=function(){throw new Error("_update is not implemented")},c.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var T=this._digest();void 0!==e&&(T=T.toString(e)),this._block.fill(0),this._blockOffset=0;for(var g=0;g<4;++g)this._length[g]=0;return T},c.prototype._digest=function(){throw new Error("_digest is not implemented")},Ae.exports=c},19900:(Ae,ee,l)=>{"use strict";var i=typeof Symbol<"u"&&Symbol,t=l(45310);Ae.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&t()}},19945:(Ae,ee,l)=>{"use strict";l.d(ee,{Ju:()=>S,MJ:()=>T,de:()=>g});var i=l(2615),t=l(73664),p=l(21413);const S=new i.nKC("MAT_DATE_LOCALE",{providedIn:"root",factory:function c(){return(0,i.WQX)(t.xe9)}}),e="Method not implemented";class T{locale;_localeChanges=new p.B;localeChanges=this._localeChanges;setTime(w,m,P,M){throw new Error(e)}getHours(w){throw new Error(e)}getMinutes(w){throw new Error(e)}getSeconds(w){throw new Error(e)}parseTime(w,m){throw new Error(e)}addSeconds(w,m){throw new Error(e)}getValidDateOrNull(w){return this.isDateInstance(w)&&this.isValid(w)?w:null}deserialize(w){return null==w||this.isDateInstance(w)&&this.isValid(w)?w:this.invalid()}setLocale(w){this.locale=w,this._localeChanges.next()}compareDate(w,m){return this.getYear(w)-this.getYear(m)||this.getMonth(w)-this.getMonth(m)||this.getDate(w)-this.getDate(m)}compareTime(w,m){return this.getHours(w)-this.getHours(m)||this.getMinutes(w)-this.getMinutes(m)||this.getSeconds(w)-this.getSeconds(m)}sameDate(w,m){if(w&&m){let P=this.isValid(w),M=this.isValid(m);return P&&M?!this.compareDate(w,m):P==M}return w==m}sameTime(w,m){if(w&&m){const P=this.isValid(w),M=this.isValid(m);return P&&M?!this.compareTime(w,m):P==M}return w==m}clampDate(w,m,P){return m&&this.compareDate(w,m)<0?m:P&&this.compareDate(w,P)>0?P:w}}const g=new i.nKC("mat-date-formats")},20053:Ae=>{var ee={}.toString;Ae.exports=Array.isArray||function(l){return"[object Array]"==ee.call(l)}},20060:(Ae,ee,l)=>{"use strict";l.d(ee,{aY:()=>Wc,dX:()=>Q1});var i=l(2615),t=l(73664),p=l(17705),S=l(59295),c=l(345);function e(Qe,Dt){(null==Dt||Dt>Qe.length)&&(Dt=Qe.length);for(var St=0,Ot=Array(Dt);St<Dt;St++)Ot[St]=Qe[St];return Ot}function w(Qe,Dt){for(var St=0;St<Dt.length;St++){var Ot=Dt[St];Ot.enumerable=Ot.enumerable||!1,Ot.configurable=!0,"value"in Ot&&(Ot.writable=!0),Object.defineProperty(Qe,me(Ot.key),Ot)}}function P(Qe,Dt){var St=typeof Symbol<"u"&&Qe[Symbol.iterator]||Qe["@@iterator"];if(!St){if(Array.isArray(Qe)||(St=D(Qe))||Dt&&Qe&&"number"==typeof Qe.length){St&&(Qe=St);var Ot=0,si=function(){};return{s:si,n:function(){return Ot>=Qe.length?{done:!0}:{done:!1,value:Qe[Ot++]}},e:function($i){throw $i},f:si}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var ot,Ti=!0,Ni=!1;return{s:function(){St=St.call(Qe)},n:function(){var $i=St.next();return Ti=$i.done,$i},e:function($i){Ni=!0,ot=$i},f:function(){try{Ti||null==St.return||St.return()}finally{if(Ni)throw ot}}}}function M(Qe,Dt,St){return(Dt=me(Dt))in Qe?Object.defineProperty(Qe,Dt,{value:St,enumerable:!0,configurable:!0,writable:!0}):Qe[Dt]=St,Qe}function Q(Qe,Dt){var St=Object.keys(Qe);if(Object.getOwnPropertySymbols){var Ot=Object.getOwnPropertySymbols(Qe);Dt&&(Ot=Ot.filter(function(si){return Object.getOwnPropertyDescriptor(Qe,si).enumerable})),St.push.apply(St,Ot)}return St}function $(Qe){for(var Dt=1;Dt<arguments.length;Dt++){var St=null!=arguments[Dt]?arguments[Dt]:{};Dt%2?Q(Object(St),!0).forEach(function(Ot){M(Qe,Ot,St[Ot])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Qe,Object.getOwnPropertyDescriptors(St)):Q(Object(St)).forEach(function(Ot){Object.defineProperty(Qe,Ot,Object.getOwnPropertyDescriptor(St,Ot))})}return Qe}function ue(Qe,Dt){return function T(Qe){if(Array.isArray(Qe))return Qe}(Qe)||function K(Qe,Dt){var St=null==Qe?null:typeof Symbol<"u"&&Qe[Symbol.iterator]||Qe["@@iterator"];if(null!=St){var Ot,si,ot,Ti,Ni=[],$i=!0,Tn=!1;try{if(ot=(St=St.call(Qe)).next,0===Dt){if(Object(St)!==St)return;$i=!1}else for(;!($i=(Ot=ot.call(St)).done)&&(Ni.push(Ot.value),Ni.length!==Dt);$i=!0);}catch(Vn){Tn=!0,si=Vn}finally{try{if(!$i&&null!=St.return&&(Ti=St.return(),Object(Ti)!==Ti))return}finally{if(Tn)throw si}}return Ni}}(Qe,Dt)||D(Qe,Dt)||function q(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(Qe){return function g(Qe){if(Array.isArray(Qe))return e(Qe)}(Qe)||function U(Qe){if(typeof Symbol<"u"&&null!=Qe[Symbol.iterator]||null!=Qe["@@iterator"])return Array.from(Qe)}(Qe)||D(Qe)||function G(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function me(Qe){var Dt=function he(Qe,Dt){if("object"!=typeof Qe||!Qe)return Qe;var St=Qe[Symbol.toPrimitive];if(void 0!==St){var Ot=St.call(Qe,Dt||"default");if("object"!=typeof Ot)return Ot;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===Dt?String:Number)(Qe)}(Qe,"string");return"symbol"==typeof Dt?Dt:Dt+""}function Te(Qe){return(Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Dt){return typeof Dt}:function(Dt){return Dt&&"function"==typeof Symbol&&Dt.constructor===Symbol&&Dt!==Symbol.prototype?"symbol":typeof Dt})(Qe)}function D(Qe,Dt){if(Qe){if("string"==typeof Qe)return e(Qe,Dt);var St={}.toString.call(Qe).slice(8,-1);return"Object"===St&&Qe.constructor&&(St=Qe.constructor.name),"Map"===St||"Set"===St?Array.from(Qe):"Arguments"===St||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(St)?e(Qe,Dt):void 0}}var o=function(){},f={},h={},b=null,A={mark:o,measure:o};try{typeof window<"u"&&(f=window),typeof document<"u"&&(h=document),typeof MutationObserver<"u"&&(b=MutationObserver),typeof performance<"u"&&(A=performance)}catch{}var Be,Ze,x=(f.navigator||{}).userAgent,r=void 0===x?"":x,_=f,W=h,I=b,B=A,pe=!!W.documentElement&&!!W.head&&"function"==typeof W.addEventListener&&"function"==typeof W.createElement,be=~r.indexOf("MSIE")||~r.indexOf("Trident/"),Le={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},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",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},ge=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],ve="classic",Oe="duotone",dt="sharp-duotone",lt="jelly-duo",Pe="jelly-fill",ct="notdog-duo",ze="slab-press",Z="thumbprint",J="utility",fe="utility-duo",Ie="utility-fill",ht="whiteboard",Nt=[ve,Oe,"sharp",dt,"chisel","etch","jelly",lt,Pe,"notdog",ct,"slab",ze,Z,J,fe,Ie,ht],$e=(M(M(M(M(M(M(M(M(M(M(Be={},ve,"Classic"),Oe,"Duotone"),"sharp","Sharp"),dt,"Sharp Duotone"),"chisel","Chisel"),"etch","Etch"),"jelly","Jelly"),lt,"Jelly Duo"),Pe,"Jelly Fill"),"notdog","Notdog"),M(M(M(M(M(M(M(M(Be,ct,"Notdog Duo"),"slab","Slab"),ze,"Slab Press"),Z,"Thumbprint"),J,"Utility"),fe,"Utility Duo"),Ie,"Utility Fill"),ht,"Whiteboard"),new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]])),vi=["fak","fa-kit","fakd","fa-kit-duotone"],Tt_kit=(M(M({},"kit","Kit"),"kit-duotone","Kit Duotone"),{kit:"fak"}),da=(M(M(M(M(M(M(M(M(M(M(Ze={},"classic","Classic"),"duotone","Duotone"),"sharp","Sharp"),"sharp-duotone","Sharp Duotone"),"chisel","Chisel"),"etch","Etch"),"jelly","Jelly"),"jelly-duo","Jelly Duo"),"jelly-fill","Jelly Fill"),"notdog","Notdog"),M(M(M(M(M(M(M(M(Ze,"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"utility","Utility"),"utility-duo","Utility Duo"),"utility-fill","Utility Fill"),"whiteboard","Whiteboard"),M(M({},"kit","Kit"),"kit-duotone","Kit Duotone"),{classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}}),Zn=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"]),ia=[1,2,3,4,5,6,7,8,9,10],pa=ia.concat([11,12,13,14,15,16,17,18,19,20]),xa=[].concat(oe(Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]})),["solid","regular","light","thin","duotone","brands","semibold"],["aw","fw","pull-left","pull-right"],["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed","duotone-group","swap-opacity","primary","secondary"]).concat(ia.map(function(Qe){return"".concat(Qe,"x")})).concat(pa.map(function(Qe){return"w-".concat(Qe)})),Ta="___FONT_AWESOME___",Wa="svg-inline--fa",Fa="data-fa-i2svg",Br="data-fa-pseudo-element",Kr="data-prefix",or="data-icon",os="fontawesome-i2svg",bs=["HTML","HEAD","STYLE","SCRIPT"],Qr=["::before","::after",":before",":after"],no=function(){try{return!0}catch{return!1}}();function ls(Qe){return new Proxy(Qe,{get:function(St,Ot){return Ot in St?St[Ot]:St[ve]}})}var cs=$({},Le);cs[ve]=$($($($({},{"fa-duotone":"duotone"}),Le[ve]),{fak:"kit","fa-kit":"kit"}),{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"});var Hs=ls(cs),$r=$({},{chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}});$r[ve]=$($($($({},{duotone:"fad"}),$r[ve]),Tt_kit),{"kit-duotone":"fakd"});var Lt=ls($r),rt=$({},da);rt[ve]=$($({},rt[ve]),{fak:"fa-kit"});var wt=ls(rt),ii=$({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}});ii[ve]=$($({},ii[ve]),{"fa-kit":"fak"}),ls(ii);var Ui=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,tn="fa-layers-text",yn=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,Jn=(ls($({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}})),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),Un_GROUP="duotone-group",Un_PRIMARY="primary",Un_SECONDARY="secondary",Ca=[].concat(oe(["kit"]),oe(xa)),Aa=_.FontAwesomeConfig||{};W&&"function"==typeof W.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-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(Qe){var Dt=ue(Qe,2),Ot=Dt[1],si=function Ra(Qe){return""===Qe||"false"!==Qe&&("true"===Qe||Qe)}(function tr(Qe){var Dt=W.querySelector("script["+Qe+"]");if(Dt)return Dt.getAttribute(Qe)}(Dt[0]));null!=si&&(Aa[Ot]=si)});var za={styleDefault:"solid",familyDefault:ve,cssPrefix:"fa",replacementClass:Wa,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Aa.familyPrefix&&(Aa.cssPrefix=Aa.familyPrefix);var vr=$($({},za),Aa);vr.autoReplaceSvg||(vr.observeMutations=!1);var Sn={};Object.keys(za).forEach(function(Qe){Object.defineProperty(Sn,Qe,{enumerable:!0,set:function(St){vr[Qe]=St,ka.forEach(function(Ot){return Ot(Sn)})},get:function(){return vr[Qe]}})}),Object.defineProperty(Sn,"familyPrefix",{enumerable:!0,set:function(Dt){vr.cssPrefix=Dt,ka.forEach(function(St){return St(Sn)})},get:function(){return vr.cssPrefix}}),_.FontAwesomeConfig=Sn;var ka=[],gr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Ss(){for(var Qe=12,Dt="";Qe-- >0;)Dt+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return Dt}function Oa(Qe){for(var Dt=[],St=(Qe||[]).length>>>0;St--;)Dt[St]=Qe[St];return Dt}function Wt(Qe){return Qe.classList?Oa(Qe.classList):(Qe.getAttribute("class")||"").split(" ").filter(function(Dt){return Dt})}function Ri(Qe){return"".concat(Qe).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function _i(Qe){return Object.keys(Qe||{}).reduce(function(Dt,St){return Dt+"".concat(St,": ").concat(Qe[St].trim(),";")},"")}function Li(Qe){return Qe.size!==gr.size||Qe.x!==gr.x||Qe.y!==gr.y||Qe.rotate!==gr.rotate||Qe.flipX||Qe.flipY}function He(){var Dt=Wa,St=Sn.cssPrefix,Ot=Sn.replacementClass,si=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";\n --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";\n --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\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.0714285714em;\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.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\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: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\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: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: 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/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\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.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: 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: none !important;\n transition: none !important;\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.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.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';if("fa"!==St||Ot!==Dt){var ot=new RegExp("\\.".concat("fa","\\-"),"g"),Ti=new RegExp("\\--".concat("fa","\\-"),"g"),Ni=new RegExp("\\.".concat(Dt),"g");si=si.replace(ot,".".concat(St,"-")).replace(Ti,"--".concat(St,"-")).replace(Ni,".".concat(Ot))}return si}var At=!1;function mi(){Sn.autoAddCss&&!At&&(function ds(Qe){if(Qe&&pe){var Dt=W.createElement("style");Dt.setAttribute("type","text/css"),Dt.innerHTML=Qe;for(var St=W.head.childNodes,Ot=null,si=St.length-1;si>-1;si--){var ot=St[si],Ti=(ot.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Ti)>-1&&(Ot=ot)}W.head.insertBefore(Dt,Ot)}}(He()),At=!0)}var Rn={mixout:function(){return{dom:{css:He,insertCss:mi}}},hooks:function(){return{beforeDOMElementCreation:function(){mi()},beforeI2svg:function(){mi()}}}},ea=_||{};ea[Ta]||(ea[Ta]={}),ea[Ta].styles||(ea[Ta].styles={}),ea[Ta].hooks||(ea[Ta].hooks={}),ea[Ta].shims||(ea[Ta].shims=[]);var lr=ea[Ta],Ts=[],Rs=function(){W.removeEventListener("DOMContentLoaded",Rs),Gs=1,Ts.map(function(Dt){return Dt()})},Gs=!1;function Ds(Qe){var Dt=Qe.tag,St=Qe.attributes,Ot=void 0===St?{}:St,si=Qe.children,ot=void 0===si?[]:si;return"string"==typeof Qe?Ri(Qe):"<".concat(Dt," ").concat(function ft(Qe){return Object.keys(Qe||{}).reduce(function(Dt,St){return Dt+"".concat(St,'="').concat(Ri(Qe[St]),'" ')},"").trim()}(Ot),">").concat(ot.map(Ds).join(""),"</").concat(Dt,">")}function ro(Qe,Dt,St){if(Qe&&Qe[Dt]&&Qe[Dt][St])return{prefix:Dt,iconName:St,icon:Qe[Dt][St]}}pe&&((Gs=(W.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(W.readyState))||W.addEventListener("DOMContentLoaded",Rs));var Os=function(Dt,St,Ot,si){var $i,Tn,Vn,ot=Object.keys(Dt),Ti=ot.length,Ni=void 0!==si?function(Dt,St){return function(Ot,si,ot,Ti){return Dt.call(St,Ot,si,ot,Ti)}}(St,si):St;for(void 0===Ot?($i=1,Vn=Dt[ot[0]]):($i=0,Vn=Ot);$i<Ti;$i++)Vn=Ni(Vn,Dt[Tn=ot[$i]],Tn,Dt);return Vn};function Po(Qe){return 1!==oe(Qe).length?null:Qe.codePointAt(0).toString(16)}function Ps(Qe){return Object.keys(Qe).reduce(function(Dt,St){var Ot=Qe[St];return Ot.icon?Dt[Ot.iconName]=Ot.icon:Dt[St]=Ot,Dt},{})}function vo(Qe,Dt){var Ot=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,si=void 0!==Ot&&Ot,ot=Ps(Dt);"function"!=typeof lr.hooks.addPack||si?lr.styles[Qe]=$($({},lr.styles[Qe]||{}),ot):lr.hooks.addPack(Qe,Ps(Dt)),"fas"===Qe&&vo("fa",Dt)}var yo=lr.styles,bo=lr.shims,Fs=Object.keys(wt),xo=Fs.reduce(function(Qe,Dt){return Qe[Dt]=Object.keys(wt[Dt]),Qe},{}),dl=null,ul={},jl={},cr={},us={},so={};var qo=function(){var Dt=function(ot){return Os(yo,function(Ti,Ni,$i){return Ti[$i]=Os(Ni,ot,{}),Ti},{})};ul=Dt(function(si,ot,Ti){return ot[3]&&(si[ot[3]]=Ti),ot[2]&&ot[2].filter(function($i){return"number"==typeof $i}).forEach(function($i){si[$i.toString(16)]=Ti}),si}),jl=Dt(function(si,ot,Ti){return si[Ti]=Ti,ot[2]&&ot[2].filter(function($i){return"string"==typeof $i}).forEach(function($i){si[$i]=Ti}),si}),so=Dt(function(si,ot,Ti){var Ni=ot[2];return si[Ti]=Ti,Ni.forEach(function($i){si[$i]=Ti}),si});var St="far"in yo||Sn.autoFetchSvg,Ot=Os(bo,function(si,ot){var Ti=ot[0],Ni=ot[1],$i=ot[2];return"far"===Ni&&!St&&(Ni="fas"),"string"==typeof Ti&&(si.names[Ti]={prefix:Ni,iconName:$i}),"number"==typeof Ti&&(si.unicodes[Ti.toString(16)]={prefix:Ni,iconName:$i}),si},{names:{},unicodes:{}});cr=Ot.names,us=Ot.unicodes,dl=xs(Sn.styleDefault,{family:Sn.familyDefault})};function Al(Qe,Dt){return(ul[Qe]||{})[Dt]}function Rr(Qe,Dt){return(so[Qe]||{})[Dt]}function hl(Qe){return cr[Qe]||{prefix:null,iconName:null}}function oo(){return dl}function xs(Qe){var St=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,Ot=void 0===St?ve:St;return Ot!==Oe||Qe?Lt[Ot][Qe]||Lt[Ot][Hs[Ot][Qe]]||(Qe in lr.styles?Qe:null)||null:"fad"}function wn(Qe){return Qe.sort().filter(function(Dt,St,Ot){return Ot.indexOf(Dt)===St})}(function Ka(Qe){ka.push(Qe)})(function(Qe){dl=xs(Qe.styleDefault,{family:Sn.familyDefault})}),qo();var Ws=Zn.concat(vi);function Bo(Qe){var St=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,Ot=void 0!==St&&St,si=null,ot=wn(Qe.filter(function(ya){return Ws.includes(ya)})),Ti=wn(Qe.filter(function(ya){return!Ws.includes(ya)})),Tn=ue(ot.filter(function(ya){return si=ya,!ge.includes(ya)}),1)[0],Vn=void 0===Tn?null:Tn,Hn=function Il(Qe){var Dt=ve,St=Fs.reduce(function(Ot,si){return Ot[si]="".concat(Sn.cssPrefix,"-").concat(si),Ot},{});return Nt.forEach(function(Ot){(Qe.includes(St[Ot])||Qe.some(function(si){return xo[Ot].includes(si)}))&&(Dt=Ot)}),Dt}(ot),va=$($({},function js(Qe){var Dt=[],St=null;return Qe.forEach(function(Ot){var si=function Dl(Qe,Dt){var St=Dt.split("-"),Ot=St[0],si=St.slice(1).join("-");return Ot!==Qe||""===si||function Wl(Qe){return~Ca.indexOf(Qe)}(si)?null:si}(Sn.cssPrefix,Ot);si?St=si:Ot&&Dt.push(Ot)}),{iconName:St,rest:Dt}}(Ti)),{},{prefix:xs(Vn,{family:Hn})});return $($($({},va),function pl(Qe){var Dt=Qe.values,St=Qe.family,Ot=Qe.canonical,si=Qe.givenPrefix,ot=void 0===si?"":si,Ti=Qe.styles,Ni=void 0===Ti?{}:Ti,$i=Qe.config,Tn=void 0===$i?{}:$i,Vn=St===Oe,Hn=Dt.includes("fa-duotone")||Dt.includes("fad");if(!Vn&&(Hn||"duotone"===Tn.familyDefault||("fad"===Ot.prefix||"fa-duotone"===Ot.prefix))&&(Ot.prefix="fad"),(Dt.includes("fa-brands")||Dt.includes("fab"))&&(Ot.prefix="fab"),!Ot.prefix&&el.includes(St)&&(Object.keys(Ni).find(function(Ls){return ml.includes(Ls)})||Tn.autoFetchSvg)){var br=$e.get(St).defaultShortPrefixId;Ot.prefix=br,Ot.iconName=Rr(Ot.prefix,Ot.iconName)||Ot.iconName}return("fa"===Ot.prefix||"fa"===ot)&&(Ot.prefix=oo()||"fas"),Ot}({values:Qe,family:Hn,styles:yo,config:Sn,canonical:va,givenPrefix:si})),function Xl(Qe,Dt,St){var Ot=St.prefix,si=St.iconName;if(Qe||!Ot||!si)return{prefix:Ot,iconName:si};var ot="fa"===Dt?hl(si):{},Ti=Rr(Ot,si);return"far"===(Ot=ot.prefix||Ot)&&!yo.far&&yo.fas&&!Sn.autoFetchSvg&&(Ot="fas"),{prefix:Ot,iconName:si=ot.iconName||Ti||si}}(Ot,si,va))}var el=Nt.filter(function(Qe){return Qe!==ve||Qe!==Oe}),ml=Object.keys(da).filter(function(Qe){return Qe!==ve}).map(function(Qe){return Object.keys(da[Qe])}).flat(),Co=function(){return function m(Qe,Dt,St){return Dt&&w(Qe.prototype,Dt),St&&w(Qe,St),Object.defineProperty(Qe,"prototype",{writable:!1}),Qe}(function Qe(){(function d(Qe,Dt){if(!(Qe instanceof Dt))throw new TypeError("Cannot call a class as a function")})(this,Qe),this.definitions={}},[{key:"add",value:function(){for(var St=this,Ot=arguments.length,si=new Array(Ot),ot=0;ot<Ot;ot++)si[ot]=arguments[ot];var Ti=si.reduce(this._pullDefinitions,{});Object.keys(Ti).forEach(function(Ni){St.definitions[Ni]=$($({},St.definitions[Ni]||{}),Ti[Ni]),vo(Ni,Ti[Ni]);var $i=wt[ve][Ni];$i&&vo($i,Ti[Ni]),qo()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(St,Ot){var si=Ot.prefix&&Ot.iconName&&Ot.icon?{0:Ot}:Ot;return Object.keys(si).map(function(ot){var Ti=si[ot],Ni=Ti.prefix,$i=Ti.iconName,Tn=Ti.icon,Vn=Tn[2];St[Ni]||(St[Ni]={}),Vn.length>0&&Vn.forEach(function(Hn){"string"==typeof Hn&&(St[Ni][Hn]=Tn)}),St[Ni][$i]=Tn}),St}}])}(),gl=[],hs={},Xs={},ta=Object.keys(Xs);function Uo(Qe,Dt){for(var St=arguments.length,Ot=new Array(St>2?St-2:0),si=2;si<St;si++)Ot[si-2]=arguments[si];return(hs[Qe]||[]).forEach(function(Ti){Dt=Ti.apply(null,[Dt].concat(Ot))}),Dt}function Ks(Qe){for(var Dt=arguments.length,St=new Array(Dt>1?Dt-1:0),Ot=1;Ot<Dt;Ot++)St[Ot-1]=arguments[Ot];(hs[Qe]||[]).forEach(function(ot){ot.apply(null,St)})}function lo(){var Qe=arguments[0],Dt=Array.prototype.slice.call(arguments,1);return Xs[Qe]?Xs[Qe].apply(null,Dt):void 0}function Ys(Qe){"fa"===Qe.prefix&&(Qe.prefix="fas");var Dt=Qe.iconName,St=Qe.prefix||oo();if(Dt)return Dt=Rr(St,Dt)||Dt,ro(_l.definitions,St,Dt)||ro(lr.styles,St,Dt)}var _l=new Co,vl={i2svg:function(){var Dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return pe?(Ks("beforeI2svg",Dt),lo("pseudoElements2svg",Dt),lo("i2svg",Dt)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var Dt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},St=Dt.autoReplaceSvgRoot;!1===Sn.autoReplaceSvg&&(Sn.autoReplaceSvg=!0),Sn.observeMutations=!0,function Oo(Qe){pe&&(Gs?setTimeout(Qe,0):Ts.push(Qe))}(function(){cd({autoReplaceSvgRoot:St}),Ks("watch",Dt)})}},zr={noAuto:function(){Sn.autoReplaceSvg=!1,Sn.observeMutations=!1,Ks("noAuto")},config:Sn,dom:vl,parse:{icon:function(Dt){if(null===Dt)return null;if("object"===Te(Dt)&&Dt.prefix&&Dt.iconName)return{prefix:Dt.prefix,iconName:Rr(Dt.prefix,Dt.iconName)||Dt.iconName};if(Array.isArray(Dt)&&2===Dt.length){var St=0===Dt[1].indexOf("fa-")?Dt[1].slice(3):Dt[1],Ot=xs(Dt[0]);return{prefix:Ot,iconName:Rr(Ot,St)||St}}if("string"==typeof Dt&&(Dt.indexOf("".concat(Sn.cssPrefix,"-"))>-1||Dt.match(Ui))){var si=Bo(Dt.split(" "),{skipLookups:!0});return{prefix:si.prefix||oo(),iconName:Rr(si.prefix,si.iconName)||si.iconName}}if("string"==typeof Dt){var ot=oo();return{prefix:ot,iconName:Rr(ot,Dt)||Dt}}}},library:_l,findIconDefinition:Ys,toHtml:Ds},cd=function(){var St=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,Ot=void 0===St?W:St;(Object.keys(lr.styles).length>0||Sn.autoFetchSvg)&&pe&&Sn.autoReplaceSvg&&zr.dom.i2svg({node:Ot})};function yl(Qe,Dt){return Object.defineProperty(Qe,"abstract",{get:Dt}),Object.defineProperty(Qe,"html",{get:function(){return Qe.abstract.map(function(Ot){return Ds(Ot)})}}),Object.defineProperty(Qe,"node",{get:function(){if(pe){var Ot=W.createElement("div");return Ot.innerHTML=Qe.html,Ot.children}}}),Qe}function Re(Qe){var Dt=Qe.icons,St=Dt.main,Ot=Dt.mask,si=Qe.prefix,ot=Qe.iconName,Ti=Qe.transform,Ni=Qe.symbol,$i=Qe.maskId,Tn=Qe.extra,Vn=Qe.watchable,Hn=void 0!==Vn&&Vn,va=Ot.found?Ot:St,ya=va.width,_r=va.height,br=[Sn.replacementClass,ot?"".concat(Sn.cssPrefix,"-").concat(ot):""].filter(function(ps){return-1===Tn.classes.indexOf(ps)}).filter(function(ps){return""!==ps||!!ps}).concat(Tn.classes).join(" "),Ls={children:[],attributes:$($({},Tn.attributes),{},{"data-prefix":si,"data-icon":ot,class:br,role:Tn.attributes.role||"img",viewBox:"0 0 ".concat(ya," ").concat(_r)})};!function je(Qe){return["aria-label","aria-labelledby","title","role"].some(function(St){return St in Qe})}(Tn.attributes)&&!Tn.attributes["aria-hidden"]&&(Ls.attributes["aria-hidden"]="true"),Hn&&(Ls.attributes[Fa]="");var ns=$($({},Ls),{},{prefix:si,iconName:ot,main:St,mask:Ot,maskId:$i,transform:Ti,symbol:Ni,styles:$({},Tn.styles)}),Js=Ot.found&&St.found?lo("generateAbstractMask",ns)||{children:[],attributes:{}}:lo("generateAbstractIcon",ns)||{children:[],attributes:{}},Ko=Js.attributes;return ns.children=Js.children,ns.attributes=Ko,Ni?function we(Qe){var St=Qe.iconName,Ot=Qe.children,si=Qe.attributes,ot=Qe.symbol,Ti=!0===ot?"".concat(Qe.prefix,"-").concat(Sn.cssPrefix,"-").concat(St):ot;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:$($({},si),{},{id:Ti}),children:Ot}]}]}(ns):function jc(Qe){var Dt=Qe.children,St=Qe.main,Ot=Qe.mask,si=Qe.attributes,ot=Qe.styles,Ti=Qe.transform;if(Li(Ti)&&St.found&&!Ot.found){var Tn={x:St.width/St.height/2,y:.5};si.style=_i($($({},ot),{},{"transform-origin":"".concat(Tn.x+Ti.x/16,"em ").concat(Tn.y+Ti.y/16,"em")}))}return[{tag:"svg",attributes:si,children:Dt}]}(ns)}function We(Qe){var Dt=Qe.content,St=Qe.width,Ot=Qe.height,si=Qe.transform,ot=Qe.extra,Ti=Qe.watchable,Ni=void 0!==Ti&&Ti,$i=$($({},ot.attributes),{},{class:ot.classes.join(" ")});Ni&&($i[Fa]="");var Tn=$({},ot.styles);Li(si)&&(Tn.transform=function Je(Qe){var Dt=Qe.transform,St=Qe.width,si=Qe.height,ot=void 0===si?16:si,Ti=Qe.startCentered,Ni=void 0!==Ti&&Ti,$i="";return $i+=Ni&&be?"translate(".concat(Dt.x/16-(void 0===St?16:St)/2,"em, ").concat(Dt.y/16-ot/2,"em) "):Ni?"translate(calc(-50% + ".concat(Dt.x/16,"em), calc(-50% + ").concat(Dt.y/16,"em)) "):"translate(".concat(Dt.x/16,"em, ").concat(Dt.y/16,"em) "),($i+="scale(".concat(Dt.size/16*(Dt.flipX?-1:1),", ").concat(Dt.size/16*(Dt.flipY?-1:1),") "))+"rotate(".concat(Dt.rotate,"deg) ")}({transform:si,startCentered:!0,width:St,height:Ot}),Tn["-webkit-transform"]=Tn.transform);var Vn=_i(Tn);Vn.length>0&&($i.style=Vn);var Hn=[];return Hn.push({tag:"span",attributes:$i,children:[Dt]}),Hn}var Ut=lr.styles;function ri(Qe){var Dt=Qe[0],St=Qe[1],ot=ue(Qe.slice(4),1)[0];return{found:!0,width:Dt,height:St,icon:Array.isArray(ot)?{tag:"g",attributes:{class:"".concat(Sn.cssPrefix,"-").concat(Un_GROUP)},children:[{tag:"path",attributes:{class:"".concat(Sn.cssPrefix,"-").concat(Un_SECONDARY),fill:"currentColor",d:ot[0]}},{tag:"path",attributes:{class:"".concat(Sn.cssPrefix,"-").concat(Un_PRIMARY),fill:"currentColor",d:ot[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ot}}}}var Di={found:!1,width:512,height:512};function On(Qe,Dt){var St=Dt;return"fa"===Dt&&null!==Sn.styleDefault&&(Dt=oo()),new Promise(function(Ot,si){if("fa"===St){var ot=hl(Qe)||{};Qe=ot.iconName||Qe,Dt=ot.prefix||Dt}if(Qe&&Dt&&Ut[Dt]&&Ut[Dt][Qe])return Ot(ri(Ut[Dt][Qe]));(function Zi(Qe,Dt){!no&&!Sn.showMissingIcons&&Qe&&console.error('Icon with name "'.concat(Qe,'" and prefix "').concat(Dt,'" is missing.'))})(Qe,Dt),Ot($($({},Di),{},{icon:Sn.showMissingIcons&&Qe&&lo("missingIconAbstract")||{}}))})}var Ma=function(){},yr=Sn.measurePerformance&&B&&B.mark&&B.measure?B:{mark:Ma,measure:Ma},Ur='FA "7.1.0"',Qs_begin=function(Dt){return yr.mark("".concat(Ur," ").concat(Dt," begins")),function(){return function(Dt){yr.mark("".concat(Ur," ").concat(Dt," ends")),yr.measure("".concat(Ur," ").concat(Dt),"".concat(Ur," ").concat(Dt," begins"),"".concat(Ur," ").concat(Dt," ends"))}(Dt)}},Ns=function(){};function uo(Qe){return"string"==typeof(Qe.getAttribute?Qe.getAttribute(Fa):null)}function kl(Qe){return W.createElementNS("http://www.w3.org/2000/svg",Qe)}function $s(Qe){return W.createElement(Qe)}function Zd(Qe){var St=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,Ot=void 0===St?"svg"===Qe.tag?kl:$s:St;if("string"==typeof Qe)return W.createTextNode(Qe);var si=Ot(Qe.tag);return Object.keys(Qe.attributes||[]).forEach(function(Ti){si.setAttribute(Ti,Qe.attributes[Ti])}),(Qe.children||[]).forEach(function(Ti){si.appendChild(Zd(Ti,{ceFn:Ot}))}),si}var Go={replace:function(Dt){var St=Dt[0];if(St.parentNode)if(Dt[1].forEach(function(si){St.parentNode.insertBefore(Zd(si),St)}),null===St.getAttribute(Fa)&&Sn.keepOriginalSource){var Ot=W.createComment(function Kl(Qe){var Dt=" ".concat(Qe.outerHTML," ");return"".concat(Dt,"Font Awesome fontawesome.com ")}(St));St.parentNode.replaceChild(Ot,St)}else St.remove()},nest:function(Dt){var St=Dt[0],Ot=Dt[1];if(~Wt(St).indexOf(Sn.replacementClass))return Go.replace(Dt);var si=new RegExp("".concat(Sn.cssPrefix,"-.*"));if(delete Ot[0].attributes.id,Ot[0].attributes.class){var ot=Ot[0].attributes.class.split(" ").reduce(function(Ni,$i){return $i===Sn.replacementClass||$i.match(si)?Ni.toSvg.push($i):Ni.toNode.push($i),Ni},{toNode:[],toSvg:[]});Ot[0].attributes.class=ot.toSvg.join(" "),0===ot.toNode.length?St.removeAttribute("class"):St.setAttribute("class",ot.toNode.join(" "))}var Ti=Ot.map(function(Ni){return Ds(Ni)}).join("\n");St.setAttribute(Fa,""),St.innerHTML=Ti}};function xl(Qe){Qe()}function Bs(Qe,Dt){var St="function"==typeof Dt?Dt:Ns;if(0===Qe.length)St();else{var Ot=xl;"async"===Sn.mutateApproach&&(Ot=_.requestAnimationFrame||xl),Ot(function(){var si=function $d(){return!0===Sn.autoReplaceSvg?Go.replace:Go[Sn.autoReplaceSvg]||Go.replace}(),ot=Qs_begin("mutate");Qe.map(si),ot(),St()})}}var Mo=!1;function tl(){Mo=!0}function Eo(){Mo=!1}var jo=null;function il(Qe){if(I&&Sn.observeMutations){var Dt=Qe.treeCallback,St=void 0===Dt?Ns:Dt,Ot=Qe.nodeCallback,si=void 0===Ot?Ns:Ot,ot=Qe.pseudoElementsCallback,Ti=void 0===ot?Ns:ot,Ni=Qe.observeMutationsRoot,$i=void 0===Ni?W:Ni;jo=new I(function(Tn){if(!Mo){var Vn=oo();Oa(Tn).forEach(function(Hn){if("childList"===Hn.type&&Hn.addedNodes.length>0&&!uo(Hn.addedNodes[0])&&(Sn.searchPseudoElements&&Ti(Hn.target),St(Hn.target)),"attributes"===Hn.type&&Hn.target.parentNode&&Sn.searchPseudoElements&&Ti([Hn.target],!0),"attributes"===Hn.type&&uo(Hn.target)&&~Jn.indexOf(Hn.attributeName))if("class"===Hn.attributeName&&function bl(Qe){var Dt=Qe.getAttribute?Qe.getAttribute(Kr):null,St=Qe.getAttribute?Qe.getAttribute(or):null;return Dt&&St}(Hn.target)){var va=Bo(Wt(Hn.target)),_r=va.iconName;Hn.target.setAttribute(Kr,va.prefix||Vn),_r&&Hn.target.setAttribute(or,_r)}else(function fs(Qe){return Qe&&Qe.classList&&Qe.classList.contains&&Qe.classList.contains(Sn.replacementClass)})(Hn.target)&&si(Hn.target)})}}),pe&&jo.observe($i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Vr(Qe){var Dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},St=function ho(Qe){var Dt=Qe.getAttribute("data-prefix"),St=Qe.getAttribute("data-icon"),Ot=void 0!==Qe.innerText?Qe.innerText.trim():"",si=Bo(Wt(Qe));return si.prefix||(si.prefix=oo()),Dt&&St&&(si.prefix=Dt,si.iconName=St),si.iconName&&si.prefix||(si.prefix&&Ot.length>0&&(si.iconName=function Ll(Qe,Dt){return(jl[Qe]||{})[Dt]}(si.prefix,Qe.innerText)||Al(si.prefix,Po(Qe.innerText))),!si.iconName&&Sn.autoFetchSvg&&Qe.firstChild&&Qe.firstChild.nodeType===Node.TEXT_NODE&&(si.iconName=Qe.firstChild.data)),si}(Qe),Ot=St.iconName,si=St.prefix,ot=St.rest,Ti=function al(Qe){return Oa(Qe.attributes).reduce(function(St,Ot){return"class"!==St.name&&"style"!==St.name&&(St[Ot.name]=Ot.value),St},{})}(Qe),Ni=Uo("parseNodeAttributes",{},Qe),$i=Dt.styleParser?function Cl(Qe){var Dt=Qe.getAttribute("style"),St=[];return Dt&&(St=Dt.split(";").reduce(function(Ot,si){var ot=si.split(":"),Ti=ot[0],Ni=ot.slice(1);return Ti&&Ni.length>0&&(Ot[Ti]=Ni.join(":").trim()),Ot},{})),St}(Qe):[];return $({iconName:Ot,prefix:si,transform:gr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:ot,styles:$i,attributes:Ti}},Ni)}var Zr=lr.styles;function hc(Qe){var Dt="nest"===Sn.autoReplaceSvg?Vr(Qe,{styleParser:!1}):Vr(Qe);return~Dt.extra.classes.indexOf(tn)?lo("generateLayersText",Qe,Dt):lo("generateSvgReplacementMutation",Qe,Dt)}function Ml(Qe){var Dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!pe)return Promise.resolve();var St=W.documentElement.classList,Ot=function(Hn){return St.add("".concat(os,"-").concat(Hn))},si=function(Hn){return St.remove("".concat(os,"-").concat(Hn))},ot=Sn.autoFetchSvg?function fc(){return[].concat(oe(vi),oe(Zn))}():ge.concat(Object.keys(Zr));ot.includes("fa")||ot.push("fa");var Ti=[".".concat(tn,":not([").concat(Fa,"])")].concat(ot.map(function(Vn){return".".concat(Vn,":not([").concat(Fa,"])")})).join(", ");if(0===Ti.length)return Promise.resolve();var Ni=[];try{Ni=Oa(Qe.querySelectorAll(Ti))}catch{}if(!(Ni.length>0))return Promise.resolve();Ot("pending"),si("complete");var $i=Qs_begin("onTree"),Tn=Ni.reduce(function(Vn,Hn){try{var va=hc(Hn);va&&Vn.push(va)}catch(ya){no||"MissingIcon"===ya.name&&console.error(ya)}return Vn},[]);return new Promise(function(Vn,Hn){Promise.all(Tn).then(function(va){Bs(va,function(){Ot("active"),Ot("complete"),si("pending"),"function"==typeof Dt&&Dt(),$i(),Vn()})}).catch(function(va){$i(),Hn(va)})})}function zs(Qe){var Dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;hc(Qe).then(function(St){St&&Bs([St],Dt)})}var So=function(Dt){var St=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ot=St.transform,si=void 0===Ot?gr:Ot,ot=St.symbol,Ti=void 0!==ot&&ot,Ni=St.mask,$i=void 0===Ni?null:Ni,Tn=St.maskId,Vn=void 0===Tn?null:Tn,Hn=St.classes,va=void 0===Hn?[]:Hn,ya=St.attributes,_r=void 0===ya?{}:ya,br=St.styles,Ls=void 0===br?{}:br;if(Dt){var ns=Dt.prefix,Js=Dt.iconName,mo=Dt.icon;return yl($({type:"icon"},Dt),function(){return Ks("beforeDOMElementCreation",{iconDefinition:Dt,params:St}),Re({icons:{main:ri(mo),mask:$i?ri($i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:ns,iconName:Js,transform:$($({},gr),si),symbol:Ti,maskId:Vn,extra:{attributes:_r,styles:Ls,classes:va}})})}},hn={mixout:function(){return{icon:(Qe=So,function(Dt){var St=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ot=(Dt||{}).icon?Dt:Ys(Dt||{}),si=St.mask;return si&&(si=(si||{}).icon?si:Ys(si||{})),Qe(Ot,$($({},St),{},{mask:si}))})};var Qe},hooks:function(){return{mutationObserverCallbacks:function(St){return St.treeCallback=Ml,St.nodeCallback=zs,St}}},provides:function(Dt){Dt.i2svg=function(St){var Ot=St.node,ot=St.callback;return Ml(void 0===Ot?W:Ot,void 0===ot?function(){}:ot)},Dt.generateSvgReplacementMutation=function(St,Ot){var si=Ot.iconName,ot=Ot.prefix,Ti=Ot.transform,Ni=Ot.symbol,$i=Ot.mask,Tn=Ot.maskId,Vn=Ot.extra;return new Promise(function(Hn,va){Promise.all([On(si,ot),$i.iconName?On($i.iconName,$i.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(ya){var _r=ue(ya,2);Hn([St,Re({icons:{main:_r[0],mask:_r[1]},prefix:ot,iconName:si,transform:Ti,symbol:Ni,maskId:Tn,extra:Vn,watchable:!0})])}).catch(va)})},Dt.generateAbstractIcon=function(St){var Tn,Ot=St.children,si=St.attributes,ot=St.main,Ti=St.transform,$i=_i(St.styles);return $i.length>0&&(si.style=$i),Li(Ti)&&(Tn=lo("generateAbstractTransformGrouping",{main:ot,transform:Ti,containerWidth:ot.width,iconWidth:ot.width})),Ot.push(Tn||ot.icon),{children:Ot,attributes:si}}}},Rl={mixout:function(){return{layer:function(St){var Ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},si=Ot.classes,ot=void 0===si?[]:si;return yl({type:"layer"},function(){Ks("beforeDOMElementCreation",{assembler:St,params:Ot});var Ti=[];return St(function(Ni){Array.isArray(Ni)?Ni.map(function($i){Ti=Ti.concat($i.abstract)}):Ti=Ti.concat(Ni.abstract)}),[{tag:"span",attributes:{class:["".concat(Sn.cssPrefix,"-layers")].concat(oe(ot)).join(" ")},children:Ti}]})}}}},dd={mixout:function(){return{counter:function(St){var Ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},si=Ot.title,ot=void 0===si?null:si,Ti=Ot.classes,Ni=void 0===Ti?[]:Ti,$i=Ot.attributes,Tn=void 0===$i?{}:$i,Vn=Ot.styles,Hn=void 0===Vn?{}:Vn;return yl({type:"counter",content:St},function(){return Ks("beforeDOMElementCreation",{content:St,params:Ot}),function _t(Qe){var Dt=Qe.content,St=Qe.extra,Ot=$($({},St.attributes),{},{class:St.classes.join(" ")}),si=_i(St.styles);si.length>0&&(Ot.style=si);var ot=[];return ot.push({tag:"span",attributes:Ot,children:[Dt]}),ot}({content:St.toString(),title:ot,extra:{attributes:Tn,styles:Hn,classes:["".concat(Sn.cssPrefix,"-layers-counter")].concat(oe(Ni))}})})}}}},mc={mixout:function(){return{text:function(St){var Ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},si=Ot.transform,ot=void 0===si?gr:si,Ti=Ot.classes,Ni=void 0===Ti?[]:Ti,$i=Ot.attributes,Tn=void 0===$i?{}:$i,Vn=Ot.styles,Hn=void 0===Vn?{}:Vn;return yl({type:"text",content:St},function(){return Ks("beforeDOMElementCreation",{content:St,params:Ot}),We({content:St,transform:$($({},gr),ot),extra:{attributes:Tn,styles:Hn,classes:["".concat(Sn.cssPrefix,"-layers-text")].concat(oe(Ni))}})})}}},provides:function(Dt){Dt.generateLayersText=function(St,Ot){var si=Ot.transform,ot=Ot.extra,Ti=null,Ni=null;if(be){var $i=parseInt(getComputedStyle(St).fontSize,10),Tn=St.getBoundingClientRect();Ti=Tn.width/$i,Ni=Tn.height/$i}return Promise.resolve([St,We({content:St.innerHTML,width:Ti,height:Ni,transform:si,extra:ot,watchable:!0})])}}},To=new RegExp('"',"ug"),Ol=[1105920,1112319],pc=$($($($({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}}),{"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"}}),Pl=Object.keys(pc).reduce(function(Qe,Dt){return Qe[Dt.toLowerCase()]=pc[Dt],Qe},{}),Yl=Object.keys(Pl).reduce(function(Qe,Dt){var St=Pl[Dt];return Qe[Dt]=St[900]||oe(Object.entries(St))[0][1],Qe},{});function wl(Qe,Dt){var St="".concat("data-fa-pseudo-element-pending").concat(Dt.replace(":","-"));return new Promise(function(Ot,si){if(null!==Qe.getAttribute(St))return Ot();var Ti=Oa(Qe.children).filter(function(Jl){return Jl.getAttribute(Br)===Dt})[0],Ni=_.getComputedStyle(Qe,Dt),$i=Ni.getPropertyValue("font-family"),Tn=$i.match(yn),Vn=Ni.getPropertyValue("font-weight"),Hn=Ni.getPropertyValue("content");if(Ti&&!Tn)return Qe.removeChild(Ti),Ot();if(Tn&&"none"!==Hn&&""!==Hn){var va=Ni.getPropertyValue("content"),ya=function Zs(Qe,Dt){var St=Qe.replace(/^['"]|['"]$/g,"").toLowerCase(),Ot=parseInt(Dt),si=isNaN(Ot)?"normal":Ot;return(Pl[St]||{})[si]||Yl[St]}($i,Vn),_r=function Ql(Qe){return Po(oe(Qe.replace(To,""))[0]||"")}(va),br=Tn[0].startsWith("FontAwesome"),Ls=function Fl(Qe){var Dt=Qe.getPropertyValue("font-feature-settings").includes("ss01"),Ot=Qe.getPropertyValue("content").replace(To,""),si=Ot.codePointAt(0);return si>=Ol[0]&&si<=Ol[1]||2===Ot.length&&Ot[0]===Ot[1]||Dt}(Ni),ns=Al(ya,_r),Js=ns;if(br){var mo=function fl(Qe){var Dt=us[Qe],St=Al("fas",Qe);return Dt||(St?{prefix:"fas",iconName:St}:null)||{prefix:null,iconName:null}}(_r);mo.iconName&&mo.prefix&&(ns=mo.iconName,ya=mo.prefix)}if(!ns||Ls||Ti&&Ti.getAttribute(Kr)===ya&&Ti.getAttribute(or)===Js)Ot();else{Qe.setAttribute(St,Js),Ti&&Qe.removeChild(Ti);var Ko=function wo(){return{iconName:null,prefix:null,transform:gr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),ps=Ko.extra;ps.attributes[Br]=Dt,On(ns,ya).then(function(Jl){var x2=Re($($({},Ko),{},{icons:{main:Jl,mask:{prefix:null,iconName:null,rest:[]}},prefix:ya,iconName:Js,extra:ps,watchable:!0})),yc=W.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===Dt?Qe.insertBefore(yc,Qe.firstChild):Qe.appendChild(yc),yc.outerHTML=x2.map(function(Zu){return Ds(Zu)}).join("\n"),Qe.removeAttribute(St),Ot()}).catch(si)}}else Ot()})}function ud(Qe){return Promise.all([wl(Qe,"::before"),wl(Qe,"::after")])}function gc(Qe){return!(Qe.parentNode===document.head||~bs.indexOf(Qe.tagName.toUpperCase())||Qe.getAttribute(Br)||Qe.parentNode&&"svg"===Qe.parentNode.tagName)}var rl=function(Dt){return!!Dt&&Qr.some(function(St){return Dt.includes(St)})},Wo=function(Dt){if(!Dt)return[];var ot,St=new Set,Ot=Dt.split(/,(?![^()]*\))/).map(function($i){return $i.trim()}),si=P(Ot=Ot.flatMap(function($i){return $i.includes("(")?$i:$i.split(",").map(function(Tn){return Tn.trim()})}));try{for(si.s();!(ot=si.n()).done;){var Ti=ot.value;if(rl(Ti)){var Ni=Qr.reduce(function($i,Tn){return $i.replace(Tn,"")},Ti);""!==Ni&&"*"!==Ni&&St.add(Ni)}}}catch($i){si.e($i)}finally{si.f()}return St};function Ja(Qe){if(pe){var St;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])St=Qe;else if(Sn.searchPseudoElementsFullScan)St=Qe.querySelectorAll("*");else{var ot,Ot=new Set,si=P(document.styleSheets);try{for(si.s();!(ot=si.n()).done;){var Ti=ot.value;try{var $i,Ni=P(Ti.cssRules);try{for(Ni.s();!($i=Ni.n()).done;){var va,Hn=P(Wo($i.value.selectorText));try{for(Hn.s();!(va=Hn.n()).done;)Ot.add(va.value)}catch(br){Hn.e(br)}finally{Hn.f()}}}catch(br){Ni.e(br)}finally{Ni.f()}}catch(br){Sn.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(Ti.href," (").concat(br.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(br){si.e(br)}finally{si.f()}if(!Ot.size)return;var _r=Array.from(Ot).join(", ");try{St=Qe.querySelectorAll(_r)}catch{}}return new Promise(function(br,Ls){var ns=Oa(St).filter(gc).map(ud),Js=Qs_begin("searchPseudoElements");tl(),Promise.all(ns).then(function(){Js(),Eo(),br()}).catch(function(){Js(),Eo(),Ls()})})}}var Va=!1,Ea=function(Dt){return Dt.toLowerCase().split(" ").reduce(function(Ot,si){var ot=si.toLowerCase().split("-"),Ti=ot[0],Ni=ot.slice(1).join("-");if(Ti&&"h"===Ni)return Ot.flipX=!0,Ot;if(Ti&&"v"===Ni)return Ot.flipY=!0,Ot;if(Ni=parseFloat(Ni),isNaN(Ni))return Ot;switch(Ti){case"grow":Ot.size=Ot.size+Ni;break;case"shrink":Ot.size=Ot.size-Ni;break;case"left":Ot.x=Ot.x-Ni;break;case"right":Ot.x=Ot.x+Ni;break;case"up":Ot.y=Ot.y-Ni;break;case"down":Ot.y=Ot.y+Ni;break;case"rotate":Ot.rotate=Ot.rotate+Ni}return Ot},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Dr={x:0,y:0,width:"100%",height:"100%"};function $l(Qe){return Qe.attributes&&(Qe.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Qe.attributes.fill="black"),Qe}!function zo(Qe,Dt){var St=Dt.mixoutsTo;gl=Qe,hs={},Object.keys(Xs).forEach(function(Ot){-1===ta.indexOf(Ot)&&delete Xs[Ot]}),gl.forEach(function(Ot){var si=Ot.mixout?Ot.mixout():{};if(Object.keys(si).forEach(function(Ti){"function"==typeof si[Ti]&&(St[Ti]=si[Ti]),"object"===Te(si[Ti])&&Object.keys(si[Ti]).forEach(function(Ni){St[Ti]||(St[Ti]={}),St[Ti][Ni]=si[Ti][Ni]})}),Ot.hooks){var ot=Ot.hooks();Object.keys(ot).forEach(function(Ti){hs[Ti]||(hs[Ti]=[]),hs[Ti].push(ot[Ti])})}Ot.provides&&Ot.provides(Xs)})}([Rn,hn,Rl,dd,mc,{hooks:function(){return{mutationObserverCallbacks:function(St){return St.pseudoElementsCallback=Ja,St}}},provides:function(Dt){Dt.pseudoElements2svg=function(St){var Ot=St.node;Sn.searchPseudoElements&&Ja(void 0===Ot?W:Ot)}}},{mixout:function(){return{dom:{unwatch:function(){tl(),Va=!0}}}},hooks:function(){return{bootstrap:function(){il(Uo("mutationObserverCallbacks",{}))},noAuto:function(){!function nl(){jo&&jo.disconnect()}()},watch:function(St){var Ot=St.observeMutationsRoot;Va?Eo():il(Uo("mutationObserverCallbacks",{observeMutationsRoot:Ot}))}}}},{mixout:function(){return{parse:{transform:function(St){return Ea(St)}}}},hooks:function(){return{parseNodeAttributes:function(St,Ot){var si=Ot.getAttribute("data-fa-transform");return si&&(St.transform=Ea(si)),St}}},provides:function(Dt){Dt.generateAbstractTransformGrouping=function(St){var Ot=St.main,si=St.transform,Ti=St.iconWidth,Ni={transform:"translate(".concat(St.containerWidth/2," 256)")},$i="translate(".concat(32*si.x,", ").concat(32*si.y,") "),Tn="scale(".concat(si.size/16*(si.flipX?-1:1),", ").concat(si.size/16*(si.flipY?-1:1),") "),Vn="rotate(".concat(si.rotate," 0 0)"),ya={outer:Ni,inner:{transform:"".concat($i," ").concat(Tn," ").concat(Vn)},path:{transform:"translate(".concat(Ti/2*-1," -256)")}};return{tag:"g",attributes:$({},ya.outer),children:[{tag:"g",attributes:$({},ya.inner),children:[{tag:Ot.icon.tag,children:Ot.icon.children,attributes:$($({},Ot.icon.attributes),ya.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(St,Ot){var si=Ot.getAttribute("data-fa-mask"),ot=si?Bo(si.split(" ").map(function(Ti){return Ti.trim()})):{prefix:null,iconName:null,rest:[]};return ot.prefix||(ot.prefix=oo()),St.mask=ot,St.maskId=Ot.getAttribute("data-fa-mask-id"),St}}},provides:function(Dt){Dt.generateAbstractMask=function(St){var Qe,Ot=St.children,si=St.attributes,ot=St.main,Ti=St.mask,Ni=St.maskId,Vn=ot.icon,va=Ti.icon,ya=function vn(Qe){var Dt=Qe.transform,Ot=Qe.iconWidth,si={transform:"translate(".concat(Qe.containerWidth/2," 256)")},ot="translate(".concat(32*Dt.x,", ").concat(32*Dt.y,") "),Ti="scale(".concat(Dt.size/16*(Dt.flipX?-1:1),", ").concat(Dt.size/16*(Dt.flipY?-1:1),") "),Ni="rotate(".concat(Dt.rotate," 0 0)");return{outer:si,inner:{transform:"".concat(ot," ").concat(Ti," ").concat(Ni)},path:{transform:"translate(".concat(Ot/2*-1," -256)")}}}({transform:St.transform,containerWidth:Ti.width,iconWidth:ot.width}),_r={tag:"rect",attributes:$($({},Dr),{},{fill:"white"})},br=Vn.children?{children:Vn.children.map($l)}:{},Ls={tag:"g",attributes:$({},ya.inner),children:[$l($({tag:Vn.tag,attributes:$($({},Vn.attributes),ya.path)},br))]},ns={tag:"g",attributes:$({},ya.outer),children:[Ls]},Js="mask-".concat(Ni||Ss()),mo="clip-".concat(Ni||Ss()),Ko={tag:"mask",attributes:$($({},Dr),{},{id:Js,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[_r,ns]},ps={tag:"defs",children:[{tag:"clipPath",attributes:{id:mo},children:(Qe=va,"g"===Qe.tag?Qe.children:[Qe])},Ko]};return Ot.push(ps,{tag:"rect",attributes:$({fill:"currentColor","clip-path":"url(#".concat(mo,")"),mask:"url(#".concat(Js,")")},Dr)}),{children:Ot,attributes:si}}}},{provides:function(Dt){var St=!1;_.matchMedia&&(St=_.matchMedia("(prefers-reduced-motion: reduce)").matches),Dt.missingIconAbstract=function(){var Ot=[],si={fill:"currentColor"},ot={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Ot.push({tag:"path",attributes:$($({},si),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var Ti=$($({},ot),{},{attributeName:"opacity"}),Ni={tag:"circle",attributes:$($({},si),{},{cx:"256",cy:"364",r:"28"}),children:[]};return St||Ni.children.push({tag:"animate",attributes:$($({},ot),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:$($({},Ti),{},{values:"1;0;1;1;0;1;"})}),Ot.push(Ni),Ot.push({tag:"path",attributes:$($({},si),{},{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:St?[]:[{tag:"animate",attributes:$($({},Ti),{},{values:"1;0;0;0;0;1;"})}]}),St||Ot.push({tag:"path",attributes:$($({},si),{},{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:$($({},Ti),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Ot}}}},{hooks:function(){return{parseNodeAttributes:function(St,Ot){var si=Ot.getAttribute("data-fa-symbol");return St.symbol=null!==si&&(""===si||si),St}}}}],{mixoutsTo:zr});var Hr=zr.config,De=zr.dom,pt=zr.parse,rn=zr.icon;const $a=["*"];let Za=(()=>{class Qe{defaultPrefix="fas";fallbackIcon=null;fixedWidth;set autoAddCss(St){Hr.autoAddCss=St,this._autoAddCss=St}get autoAddCss(){return this._autoAddCss}_autoAddCss=!0;static \u0275fac=function(Ot){return new(Ot||Qe)};static \u0275prov=i.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})(),ms=(()=>{class Qe{definitions={};addIcons(...St){for(const Ot of St){Ot.prefix in this.definitions||(this.definitions[Ot.prefix]={}),this.definitions[Ot.prefix][Ot.iconName]=Ot;for(const si of Ot.icon[2])"string"==typeof si&&(this.definitions[Ot.prefix][si]=Ot)}}addIconPacks(...St){for(const Ot of St){const si=Object.keys(Ot).map(ot=>Ot[ot]);this.addIcons(...si)}}getIconDefinition(St,Ot){return St in this.definitions&&Ot in this.definitions[St]?this.definitions[St][Ot]:null}static \u0275fac=function(Ot){return new(Ot||Qe)};static \u0275prov=i.jDH({token:Qe,factory:Qe.\u0275fac,providedIn:"root"})}return Qe})();const Xo=Qe=>null!=Qe&&(90===Qe||180===Qe||270===Qe||"90"===Qe||"180"===Qe||"270"===Qe),fd=Qe=>{const Dt=Xo(Qe.rotate),St={[`fa-${Qe.animation}`]:null!=Qe.animation&&!Qe.animation.startsWith("spin"),"fa-spin":"spin"===Qe.animation||"spin-reverse"===Qe.animation,"fa-spin-pulse":"spin-pulse"===Qe.animation||"spin-pulse-reverse"===Qe.animation,"fa-spin-reverse":"spin-reverse"===Qe.animation||"spin-pulse-reverse"===Qe.animation,"fa-pulse":"spin-pulse"===Qe.animation||"spin-pulse-reverse"===Qe.animation,"fa-fw":Qe.fixedWidth,"fa-border":Qe.border,"fa-inverse":Qe.inverse,"fa-layers-counter":Qe.counter,"fa-flip-horizontal":"horizontal"===Qe.flip||"both"===Qe.flip,"fa-flip-vertical":"vertical"===Qe.flip||"both"===Qe.flip,[`fa-${Qe.size}`]:null!==Qe.size,[`fa-rotate-${Qe.rotate}`]:Dt,"fa-rotate-by":null!=Qe.rotate&&!Dt,[`fa-pull-${Qe.pull}`]:null!==Qe.pull,[`fa-stack-${Qe.stackItemSize}`]:null!=Qe.stackItemSize};return Object.keys(St).map(Ot=>St[Ot]?Ot:null).filter(Ot=>null!=Ot)},Zl=new WeakSet,K1="fa-auto-css";let v2=(()=>{class Qe{stackItemSize=(0,p.hFB)("1x");size=(0,p.hFB)();_effect=(0,S.QZ)(()=>{if(this.size())throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')});static \u0275fac=function(Ot){return new(Ot||Qe)};static \u0275dir=t.FsC({type:Qe,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:[1,"stackItemSize"],size:[1,"size"]}})}return Qe})(),sl=(()=>{class Qe{size=(0,p.hFB)();classes=(0,S.EW)(()=>{const St=this.size();return{...St?{[`fa-${St}`]:!0}:{},"fa-stack":!0}});static \u0275fac=function(Ot){return new(Ot||Qe)};static \u0275cmp=t.VBU({type:Qe,selectors:[["fa-stack"]],hostVars:2,hostBindings:function(Ot,si){2&Ot&&t.HbH(si.classes())},inputs:{size:[1,"size"]},ngContentSelectors:$a,decls:1,vars:0,template:function(Ot,si){1&Ot&&(t.NAR(),t.SdG(0))},encapsulation:2,changeDetection:0})}return Qe})(),Wc=(()=>{class Qe{icon=(0,p.geq)();title=(0,p.geq)();animation=(0,p.geq)();mask=(0,p.geq)();flip=(0,p.geq)();size=(0,p.geq)();pull=(0,p.geq)();border=(0,p.geq)();inverse=(0,p.geq)();symbol=(0,p.geq)();rotate=(0,p.geq)();fixedWidth=(0,p.geq)();transform=(0,p.geq)();a11yRole=(0,p.geq)();renderedIconHTML=(0,S.EW)(()=>{const St=this.icon()??this.config.fallbackIcon;if(!St)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})(),"";const Ot=this.findIconDefinition(St);if(!Ot)return"";const si=this.buildParams();!function Nl(Qe,Dt){if(!Dt.autoAddCss||Zl.has(Qe))return;if(null!=Qe.getElementById(K1))return Dt.autoAddCss=!1,void Zl.add(Qe);const St=Qe.createElement("style");St.setAttribute("type","text/css"),St.setAttribute("id",K1),St.innerHTML=De.css();const Ot=Qe.head.childNodes;let si=null;for(let ot=Ot.length-1;ot>-1;ot--){const Ti=Ot[ot],Ni=Ti.nodeName.toUpperCase();["STYLE","LINK"].indexOf(Ni)>-1&&(si=Ti)}Qe.head.insertBefore(St,si),Dt.autoAddCss=!1,Zl.add(Qe)}(this.document,this.config);const ot=rn(Ot,si);return this.sanitizer.bypassSecurityTrustHtml(ot.html.join("\n"))});document=(0,i.WQX)(i.qQL);sanitizer=(0,i.WQX)(c.up);config=(0,i.WQX)(Za);iconLibrary=(0,i.WQX)(ms);stackItem=(0,i.WQX)(v2,{optional:!0});stack=(0,i.WQX)(sl,{optional:!0});constructor(){null!=this.stack&&null==this.stackItem&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x" />.')}findIconDefinition(St){const Ot=((Qe,Dt)=>(Qe=>void 0!==Qe.prefix&&void 0!==Qe.iconName)(Qe)?Qe:Array.isArray(Qe)&&2===Qe.length?{prefix:Qe[0],iconName:Qe[1]}:{prefix:Dt,iconName:Qe})(St,this.config.defaultPrefix);return"icon"in Ot?Ot:this.iconLibrary.getIconDefinition(Ot.prefix,Ot.iconName)??((Qe=>{throw new Error(`Could not find icon with iconName=${Qe.iconName} and prefix=${Qe.prefix} in the icon library.`)})(Ot),null)}buildParams(){const St=this.fixedWidth(),Ot={flip:this.flip(),animation:this.animation(),border:this.border(),inverse:this.inverse(),size:this.size(),pull:this.pull(),rotate:this.rotate(),fixedWidth:"boolean"==typeof St?St:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize():void 0},si=this.transform(),ot="string"==typeof si?pt.transform(si):si,Ti=this.mask(),Ni=null!=Ti?this.findIconDefinition(Ti):null,$i={},Tn=this.a11yRole();null!=Tn&&($i.role=Tn);const Vn={};return null!=Ot.rotate&&!Xo(Ot.rotate)&&(Vn["--fa-rotate-angle"]=`${Ot.rotate}`),{title:this.title(),transform:ot,classes:fd(Ot),mask:Ni??void 0,symbol:this.symbol(),attributes:$i,styles:Vn}}static \u0275fac=function(Ot){return new(Ot||Qe)};static \u0275cmp=t.VBU({type:Qe,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(Ot,si){2&Ot&&(t.Avn("innerHTML",si.renderedIconHTML(),t.npT),t.BMQ("title",si.title()??void 0))},inputs:{icon:[1,"icon"],title:[1,"title"],animation:[1,"animation"],mask:[1,"mask"],flip:[1,"flip"],size:[1,"size"],pull:[1,"pull"],border:[1,"border"],inverse:[1,"inverse"],symbol:[1,"symbol"],rotate:[1,"rotate"],fixedWidth:[1,"fixedWidth"],transform:[1,"transform"],a11yRole:[1,"a11yRole"]},outputs:{icon:"iconChange",title:"titleChange",animation:"animationChange",mask:"maskChange",flip:"flipChange",size:"sizeChange",pull:"pullChange",border:"borderChange",inverse:"inverseChange",symbol:"symbolChange",rotate:"rotateChange",fixedWidth:"fixedWidthChange",transform:"transformChange",a11yRole:"a11yRoleChange"},decls:0,vars:0,template:function(Ot,si){},encapsulation:2,changeDetection:0})}return Qe})(),Q1=(()=>{class Qe{static \u0275fac=function(Ot){return new(Ot||Qe)};static \u0275mod=t.$C({type:Qe});static \u0275inj=i.G2t({})}return Qe})()},21270:(Ae,ee,l)=>{"use strict";var i=l(71993),t=l(70463),p=l(27054).Buffer,S=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function e(){this.init(),this._w=c,t.call(this,64,56)}function T(m){return m<<1|m>>>31}function g(m){return m<<5|m>>>27}function d(m){return m<<30|m>>>2}function w(m,P,M,j){return 0===m?P&M|~P&j:2===m?P&M|P&j|M&j:P^M^j}i(e,t),e.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},e.prototype._update=function(m){for(var P=this._w,M=0|this._a,j=0|this._b,U=0|this._c,K=0|this._d,q=0|this._e,G=0;G<16;++G)P[G]=m.readInt32BE(4*G);for(;G<80;++G)P[G]=T(P[G-3]^P[G-8]^P[G-14]^P[G-16]);for(var Q=0;Q<80;++Q){var $=~~(Q/20),ae=g(M)+w($,j,U,K)+q+P[Q]+S[$]|0;q=K,K=U,U=d(j),j=M,M=ae}this._a=M+this._a|0,this._b=j+this._b|0,this._c=U+this._c|0,this._d=K+this._d|0,this._e=q+this._e|0},e.prototype._hash=function(){var m=p.allocUnsafe(20);return m.writeInt32BE(0|this._a,0),m.writeInt32BE(0|this._b,4),m.writeInt32BE(0|this._c,8),m.writeInt32BE(0|this._d,12),m.writeInt32BE(0|this._e,16),m},Ae.exports=e},21413:(Ae,ee,l)=>{"use strict";l.d(ee,{k:()=>g,B:()=>T});var i=l(71985),t=l(18359);const S=(0,l(81853).L)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=l(57908),e=l(49786);let T=(()=>{class d extends i.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(m){const P=new g(this,this);return P.operator=m,P}_throwIfClosed(){if(this.closed)throw new S}next(m){(0,e.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const P of this.currentObservers)P.next(m)}})}error(m){(0,e.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=m;const{observers:P}=this;for(;P.length;)P.shift().error(m)}})}complete(){(0,e.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:m}=this;for(;m.length;)m.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var m;return(null===(m=this.observers)||void 0===m?void 0:m.length)>0}_trySubscribe(m){return this._throwIfClosed(),super._trySubscribe(m)}_subscribe(m){return this._throwIfClosed(),this._checkFinalizedStatuses(m),this._innerSubscribe(m)}_innerSubscribe(m){const{hasError:P,isStopped:M,observers:j}=this;return P||M?t.Kn:(this.currentObservers=null,j.push(m),new t.yU(()=>{this.currentObservers=null,(0,c.o)(j,m)}))}_checkFinalizedStatuses(m){const{hasError:P,thrownError:M,isStopped:j}=this;P?m.error(M):j&&m.complete()}asObservable(){const m=new i.c;return m.source=this,m}}return d.create=(w,m)=>new g(w,m),d})();class g extends T{constructor(w,m){super(),this.destination=w,this.source=m}next(w){var m,P;null===(P=null===(m=this.destination)||void 0===m?void 0:m.next)||void 0===P||P.call(m,w)}error(w){var m,P;null===(P=null===(m=this.destination)||void 0===m?void 0:m.error)||void 0===P||P.call(m,w)}complete(){var w,m;null===(m=null===(w=this.destination)||void 0===w?void 0:w.complete)||void 0===m||m.call(w)}_subscribe(w){var m,P;return null!==(P=null===(m=this.source)||void 0===m?void 0:m.subscribe(w))&&void 0!==P?P:t.Kn}}},21509:(Ae,ee,l)=>{"use strict";var i=l(9656);function S(c,e){c.emit("error",e)}Ae.exports={destroy:function t(c,e){var T=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(e?e(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(S,this,c)):i.nextTick(S,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(w){!e&&w?T._writableState?T._writableState.errorEmitted||(T._writableState.errorEmitted=!0,i.nextTick(S,T,w)):i.nextTick(S,T,w):e&&e(w)}),this)},undestroy:function p(){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)}}},21832:(Ae,ee)=>{"use strict";var l=ee;function t(S){return 1===S.length?"0"+S:S}function p(S){for(var c="",e=0;e<S.length;e++)c+=t(S[e].toString(16));return c}l.toArray=function i(S,c){if(Array.isArray(S))return S.slice();if(!S)return[];var e=[];if("string"!=typeof S){for(var T=0;T<S.length;T++)e[T]=0|S[T];return e}if("hex"===c)for((S=S.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(S="0"+S),T=0;T<S.length;T+=2)e.push(parseInt(S[T]+S[T+1],16));else for(T=0;T<S.length;T++){var g=S.charCodeAt(T),d=g>>8,w=255&g;d?e.push(d,w):e.push(w)}return e},l.zero2=t,l.toHex=p,l.encode=function(c,e){return"hex"===e?p(c):c}},22020:(Ae,ee)=>{ee.read=function(l,i,t,p,S){var c,e,T=8*S-p-1,g=(1<<T)-1,d=g>>1,w=-7,m=t?S-1:0,P=t?-1:1,M=l[i+m];for(m+=P,c=M&(1<<-w)-1,M>>=-w,w+=T;w>0;c=256*c+l[i+m],m+=P,w-=8);for(e=c&(1<<-w)-1,c>>=-w,w+=p;w>0;e=256*e+l[i+m],m+=P,w-=8);if(0===c)c=1-d;else{if(c===g)return e?NaN:1/0*(M?-1:1);e+=Math.pow(2,p),c-=d}return(M?-1:1)*e*Math.pow(2,c-p)},ee.write=function(l,i,t,p,S,c){var e,T,g,d=8*c-S-1,w=(1<<d)-1,m=w>>1,P=23===S?Math.pow(2,-24)-Math.pow(2,-77):0,M=p?0:c-1,j=p?1:-1,U=i<0||0===i&&1/i<0?1:0;for(i=Math.abs(i),isNaN(i)||i===1/0?(T=isNaN(i)?1:0,e=w):(e=Math.floor(Math.log(i)/Math.LN2),i*(g=Math.pow(2,-e))<1&&(e--,g*=2),(i+=e+m>=1?P/g:P*Math.pow(2,1-m))*g>=2&&(e++,g/=2),e+m>=w?(T=0,e=w):e+m>=1?(T=(i*g-1)*Math.pow(2,S),e+=m):(T=i*Math.pow(2,m-1)*Math.pow(2,S),e=0));S>=8;l[t+M]=255&T,M+=j,T/=256,S-=8);for(e=e<<S|T,d+=S;d>0;l[t+M]=255&e,M+=j,e/=256,d-=8);l[t+M-j]|=128*U}},22466:(Ae,ee,l)=>{"use strict";l.d(ee,{y:()=>e});var i=l(17094),t=l(28203),p=l(2615),S=l(73664);let e=(()=>{class T{constructor(){(0,p.WQX)(i.Q_)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(w){return new(w||T)};static \u0275mod=S.$C({type:T});static \u0275inj=p.G2t({imports:[t.jI,t.jI]})}return T})()},22598:(Ae,ee,l)=>{"use strict";l.d(ee,{iM:()=>M,iY:()=>j});var i=l(73664),t=l(2615),p=l(17705),S=l(76838),c=l(88968),e=l(11048),T=l(32046),g=l(31804);const d=["mat-icon-button",""],w=["*"],m=new t.nKC("MAT_BUTTON_CONFIG");function P(K){return null==K?void 0:(0,p.Udg)(K)}let M=(()=>{class K{_elementRef=(0,t.WQX)(i.aKT);_ngZone=(0,t.WQX)(i.SKi);_animationsDisabled=(0,g.Rc)();_config=(0,t.WQX)(m,{optional:!0});_focusMonitor=(0,t.WQX)(S.FN);_cleanupClick;_renderer=(0,t.WQX)(i.sFG);_rippleLoader=(0,t.WQX)(e.E);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(G){this._disableRipple=G,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(G){this._disabled=G,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(G){this.tabIndex=G}constructor(){(0,t.WQX)(c.l).load(T.A);const G=this._elementRef.nativeElement;this._isAnchor="A"===G.tagName,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(G,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(G="program",Q){G?this._focusMonitor.focusVia(this._elementRef.nativeElement,G,Q):this._elementRef.nativeElement.focus(Q)}_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:this._isAnchor?this.disabled||null:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor&&this.disabled&&!this.disabledInteractive?-1:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",G=>{this.disabled&&(G.preventDefault(),G.stopImmediatePropagation())}))}static \u0275fac=function(Q){return new(Q||K)};static \u0275dir=i.FsC({type:K,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(Q,$){2&Q&&(i.BMQ("disabled",$._getDisabledAttribute())("aria-disabled",$._getAriaDisabled())("tabindex",$._getTabIndex()),i.HbH($.color?"mat-"+$.color:""),i.AVh("mat-mdc-button-disabled",$.disabled)("mat-mdc-button-disabled-interactive",$.disabledInteractive)("mat-unthemed",!$.color)("_mat-animation-noopable",$._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",p.L39],disabled:[2,"disabled","disabled",p.L39],ariaDisabled:[2,"aria-disabled","ariaDisabled",p.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",p.L39],tabIndex:[2,"tabIndex","tabIndex",P],_tabindex:[2,"tabindex","_tabindex",P]}})}return K})(),j=(()=>{class K extends M{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(Q){return new(Q||K)};static \u0275cmp=i.VBU({type:K,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[i.Vt3],attrs:d,ngContentSelectors:w,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Q,$){1&Q&&(i.NAR(),i.Hgh(0,"span",0),i.SdG(1),i.Hgh(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.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,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.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}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return K})()},22628:(Ae,ee,l)=>{"use strict";l.d(ee,{$3:()=>Oe,jL:()=>Ht,pN:()=>Pe});var i=l(23029),t=l(73664),p=l(2615),S=l(17705),c=l(5718),e=l(49338),T=l(89726),g=l(99090),d=l(18617),w=l(39842),m=l(44522),P=l(18359),M=l(21413),j=l(57786),U=l(7673),K=l(59030),q=l(71985),G=l(31804),Q=l(61577),$=l(67336),ae=l(10438),ue=l(34330),oe=l(99327),he=l(76939),me=l(80408),Te=l(89417),D=l(5964),n=l(96354),o=l(99172),f=l(25558),h=l(88141),b=l(43236),A=l(28793),k=l(96697),x=l(73557),r=l(73703),_=l(31397),W=l(58750);function I(ct,Ce){return Ce?ze=>(0,A.x)(Ce.pipe((0,k.s)(1),(0,x.w)()),ze.pipe(I(ct))):(0,_.Z)((ze,Z)=>(0,W.Tg)(ct(ze,Z)).pipe((0,k.s)(1),(0,r.u)(ze)))}var B=l(1807);function re(ct,Ce=b.E){const ze=(0,B.O)(ct,Ce);return I(()=>ze)}var pe=l(69588),be=l(40146),Be=l(22466);const _e=["panel"],ye=["*"];function Le(ct,Ce){if(1&ct&&(t.rj2(0,"div",1,0),t.SdG(2),t.eux()),2&ct){const ze=Ce.id,Z=t.XpG();t.HbH(Z._classList),t.AVh("mat-mdc-autocomplete-visible",Z.showPanel)("mat-mdc-autocomplete-hidden",!Z.showPanel)("mat-autocomplete-panel-animations-enabled",!Z._animationsDisabled)("mat-primary","primary"===Z._color)("mat-accent","accent"===Z._color)("mat-warn","warn"===Z._color),t.Avn("id",Z.id),t.BMQ("aria-label",Z.ariaLabel||null)("aria-labelledby",Z._getPanelAriaLabelledby(ze))}}class Ke{source;option;constructor(Ce,ze){this.source=Ce,this.option=ze}}const ge=new p.nKC("mat-autocomplete-default-options",{providedIn:"root",factory:function ve(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}});let Oe=(()=>{class ct{_changeDetectorRef=(0,p.WQX)(S.gRc);_elementRef=(0,p.WQX)(t.aKT);_defaults=(0,p.WQX)(ge);_animationsDisabled=(0,G.Rc)();_activeOptionChanges=P.yU.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(ze){this._color=ze,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new t.bkB;opened=new t.bkB;closed=new t.bkB;optionActivated=new t.bkB;set classList(ze){this._classList=ze,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(ze){this._hideSingleSelectionIndicator=ze,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(const ze of this.options)ze._changeDetectorRef.markForCheck()}id=(0,p.WQX)(T.g).getId("mat-autocomplete-");inertGroups;constructor(){const ze=(0,p.WQX)(w.O);this.inertGroups=ze?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new g.A(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(ze=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[ze]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(ze){this.panel&&(this.panel.nativeElement.scrollTop=ze)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(ze){const Z=new Ke(this,ze);this.optionSelected.emit(Z)}_getPanelAriaLabelledby(ze){return this.ariaLabel?null:this.ariaLabelledby?(ze?ze+" ":"")+this.ariaLabelledby:ze}_skipPredicate(){return!1}static \u0275fac=function(Z){return new(Z||ct)};static \u0275cmp=t.VBU({type:ct,selectors:[["mat-autocomplete"]],contentQueries:function(Z,J,fe){if(1&Z&&(t.wni(fe,i.wT,5),t.wni(fe,i.QC,5)),2&Z){let Ie;t.mGM(Ie=t.lsd())&&(J.options=Ie),t.mGM(Ie=t.lsd())&&(J.optionGroups=Ie)}},viewQuery:function(Z,J){if(1&Z&&(t.GBs(t.C4Q,7),t.GBs(_e,5)),2&Z){let fe;t.mGM(fe=t.lsd())&&(J.template=fe.first),t.mGM(fe=t.lsd())&&(J.panel=fe.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",S.L39],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",S.L39],requireSelection:[2,"requireSelection","requireSelection",S.L39],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",S.L39],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",S.L39]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[t.Jv_([{provide:i.is,useExisting:ct}])],ngContentSelectors:ye,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(Z,J){1&Z&&(t.NAR(),t.PeT(0,Le,3,17,"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:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-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));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: 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}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0})}return ct})();const dt={provide:Te.kq,useExisting:(0,p.Rfq)(()=>Pe),multi:!0},Ct=new p.nKC("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{const ct=(0,p.WQX)(p.zZn);return()=>(0,e.RH)(ct)}}),lt={provide:Ct,deps:[],useFactory:function Mt(ct){const Ce=(0,p.WQX)(p.zZn);return()=>(0,e.RH)(Ce)}};let Pe=(()=>{class ct{_environmentInjector=(0,p.WQX)(p.uvJ);_element=(0,p.WQX)(t.aKT);_injector=(0,p.WQX)(p.zZn);_viewContainerRef=(0,p.WQX)(t.c1b);_zone=(0,p.WQX)(t.SKi);_changeDetectorRef=(0,p.WQX)(S.gRc);_dir=(0,p.WQX)(Q.dS,{optional:!0});_formField=(0,p.WQX)(pe.xb,{optional:!0,host:!0});_viewportRuler=(0,p.WQX)(c.Xj);_scrollStrategy=(0,p.WQX)(Ct);_renderer=(0,p.WQX)(t.sFG);_animationsDisabled=(0,G.Rc)();_defaults=(0,p.WQX)(ge,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new M.B;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=P.yU.EMPTY;_breakpointObserver=(0,p.WQX)(ue.Q);_handsetLandscapeSubscription=P.yU.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new M.B;_overlayPanelClass=(0,me.F)(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(ze){ze.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;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,d.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,j.h)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,D.p)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,D.p)(()=>this._overlayAttached)):(0,U.of)()).pipe((0,n.T)(ze=>ze instanceof i.MI?ze:null))}optionSelections=(0,K.v)(()=>{const ze=this.autocomplete?this.autocomplete.options:null;return ze?ze.changes.pipe((0,o.Z)(ze),(0,f.n)(()=>(0,j.h)(...ze.map(Z=>Z.onSelectionChange)))):this._initialized.pipe((0,f.n)(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new q.c(ze=>{const Z=fe=>{const Ie=(0,m.Fb)(fe),ht=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,li=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&Ie!==this._element.nativeElement&&!this._hasFocus()&&(!ht||!ht.contains(Ie))&&(!li||!li.contains(Ie))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(Ie)&&ze.next(fe)},J=[this._renderer.listen("document","click",Z),this._renderer.listen("document","auxclick",Z),this._renderer.listen("document","touchend",Z)];return()=>{J.forEach(fe=>fe())}})}writeValue(ze){Promise.resolve(null).then(()=>this._assignOptionValue(ze))}registerOnChange(ze){this._onChange=ze}registerOnTouched(ze){this._onTouched=ze}setDisabledState(ze){this._element.nativeElement.disabled=ze}_handleKeydown(ze){const Z=ze,J=Z.keyCode,fe=(0,$.rp)(Z);if(J===ae._f&&!fe&&Z.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&J===ae.Fm&&this.panelOpen&&!fe)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Z.preventDefault();else if(this.autocomplete){const Ie=this.autocomplete._keyManager.activeItem,ht=J===ae.i7||J===ae.n6;J===ae.wn||ht&&!fe&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Z):ht&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(ht||this.autocomplete._keyManager.activeItem!==Ie)&&(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(ze){let Z=ze.target,J=Z.value;if("number"===Z.type&&(J=""==J?null:parseFloat(J)),this._previousValue!==J){if(this._previousValue=J,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(J),J){if(this.panelOpen&&!this.autocomplete.requireSelection){const fe=this.autocomplete.options?.find(Ie=>Ie.selected);fe&&J!==this._getDisplayValue(fe.value)&&fe.deselect(!1)}}else this._clearPreviousSelectedOption(null,!1);if(this._canOpen()&&this._hasFocus()){const fe=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(fe)}}}_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()}_hasFocus(){return(0,m.vc)()===this._element.nativeElement}_floatLabel(ze=!1){this._formField&&"auto"===this._formField.floatLabel&&(ze?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const ze=new q.c(J=>{(0,t.mal)(()=>{J.next()},{injector:this._environmentInjector})}),Z=this.autocomplete.options?.changes.pipe((0,h.M)(()=>this._positionStrategy.reapplyLastPosition()),re(0))??(0,U.of)();return(0,j.h)(ze,Z).pipe((0,f.n)(()=>this._zone.run(()=>{const J=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),J!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),(0,k.s)(1)).subscribe(J=>this._setValueAndClose(J))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(ze){const Z=this.autocomplete;return Z&&Z.displayWith?Z.displayWith(ze):ze}_assignOptionValue(ze){const Z=this._getDisplayValue(ze);null==ze&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(Z??"")}_updateNativeInputValue(ze){this._formField?this._formField._control.value=ze:this._element.nativeElement.value=ze,this._previousValue=ze}_setValueAndClose(ze){const Z=this.autocomplete,J=ze?ze.source:this._pendingAutoselectedOption;J?(this._clearPreviousSelectedOption(J),this._assignOptionValue(J.value),this._onChange(J.value),Z._emitSelectEvent(J),this._element.nativeElement.focus()):Z.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(ze,Z){this.autocomplete?.options?.forEach(J=>{J!==ze&&J.selected&&J.deselect(Z)})}_openPanelInternal(ze=this._element.nativeElement.value){this._attachOverlay(ze),this._floatLabel(),this._trackedModal&&(0,d.px)(this._trackedModal,"aria-owns",this.autocomplete.id)}_attachOverlay(ze){let Z=this._overlayRef;Z?(this._positionStrategy.setOrigin(this._getConnectedElement()),Z.updateSize({width:this._getPanelWidth()})):(this._portal=new he.VA(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Z=(0,e.Y$)(this._injector,this._getOverlayConfig()),this._overlayRef=Z,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Z&&Z.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(oe.Rp.HandsetLandscape).subscribe(fe=>{fe.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),Z&&!Z.hasAttached()&&(Z.attach(this._portal),this._valueOnAttach=ze,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());const J=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&J!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=ze=>{(ze.keyCode===ae._f&&!(0,$.rp)(ze)||ze.keyCode===ae.i7&&(0,$.rp)(ze,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),ze.stopPropagation(),ze.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const ze=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=ze.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=ze.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new e.rR({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){const ze=(0,e.$M)(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(ze),this._positionStrategy=ze,ze}_setStrategyPositions(ze){const Z=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],J=this._aboveClass,fe=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:J},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:J}];let Ie;Ie="above"===this.position?fe:"below"===this.position?Z:[...Z,...fe],ze.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 ze=this.autocomplete;if(ze.autoActiveFirstOption){let Z=-1;for(let J=0;J<ze.options.length;J++)if(!ze.options.get(J).disabled){Z=J;break}ze._keyManager.setActiveItem(Z)}else ze._keyManager.setActiveItem(-1)}_canOpen(){const ze=this._element.nativeElement;return!ze.readOnly&&!ze.disabled&&!this.autocompleteDisabled}_scrollToOption(ze){const Z=this.autocomplete,J=(0,i.jb)(ze,Z.options,Z.optionGroups);if(0===ze&&1===J)Z._setScrollTop(0);else if(Z.panel){const fe=Z.options.toArray()[ze];if(fe){const Ie=fe._getHostElement(),ht=(0,i.TL)(Ie.offsetTop,Ie.offsetHeight,Z._getScrollTop(),Z.panel.nativeElement.offsetHeight);Z._setScrollTop(ht)}}}_trackedModal=null;_applyModalPanelOwnership(){const ze=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!ze)return;const Z=this.autocomplete.id;this._trackedModal&&(0,d.Ae)(this._trackedModal,"aria-owns",Z),(0,d.px)(ze,"aria-owns",Z),this._trackedModal=ze}_clearFromModal(){this._trackedModal&&((0,d.Ae)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static \u0275fac=function(Z){return new(Z||ct)};static \u0275dir=t.FsC({type:ct,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(Z,J){1&Z&&t.bIt("focusin",function(){return J._handleFocus()})("blur",function(){return J._onTouched()})("input",function(Ie){return J._handleInput(Ie)})("keydown",function(Ie){return J._handleKeydown(Ie)})("click",function(){return J._handleClick()}),2&Z&&t.BMQ("autocomplete",J.autocompleteAttribute)("role",J.autocompleteDisabled?null:"combobox")("aria-autocomplete",J.autocompleteDisabled?null:"list")("aria-activedescendant",J.panelOpen&&J.activeOption?J.activeOption.id:null)("aria-expanded",J.autocompleteDisabled?null:J.panelOpen.toString())("aria-controls",J.autocompleteDisabled||!J.panelOpen||null==J.autocomplete?null:J.autocomplete.id)("aria-haspopup",J.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",S.L39]},exportAs:["matAutocompleteTrigger"],features:[t.Jv_([dt]),t.OA$]})}return ct})(),Ht=(()=>{class ct{static \u0275fac=function(Z){return new(Z||ct)};static \u0275mod=t.$C({type:ct});static \u0275inj=p.G2t({providers:[lt],imports:[e.z_,be.S,Be.y,c.Gj,be.S,Be.y]})}return ct})()},22714:(Ae,ee,l)=>{var i=ee;i.der=l(72193),i.pem=l(24816)},22806:(Ae,ee,l)=>{"use strict";l.d(ee,{H:()=>oe});var i=l(58750),t=l(40941),p=l(39974);function S(he,me=0){return(0,p.N)((Te,D)=>{D.add(he.schedule(()=>Te.subscribe(D),me))})}var T=l(71985),d=l(4761),w=l(98071),m=l(45225);function M(he,me){if(!he)throw new Error("Iterable cannot be null");return new T.c(Te=>{(0,m.N)(Te,me,()=>{const D=he[Symbol.asyncIterator]();(0,m.N)(Te,me,()=>{D.next().then(n=>{n.done?Te.complete():Te.next(n.value)})},0,!0)})})}var j=l(55055),U=l(59858),K=l(47441),q=l(85397),G=l(37953),Q=l(50591),$=l(15196);function oe(he,me){return me?function ue(he,me){if(null!=he){if((0,j.l)(he))return function c(he,me){return(0,i.Tg)(he).pipe(S(me),(0,t.Q)(me))}(he,me);if((0,K.X)(he))return function g(he,me){return new T.c(Te=>{let D=0;return me.schedule(function(){D===he.length?Te.complete():(Te.next(he[D++]),Te.closed||this.schedule())})})}(he,me);if((0,U.y)(he))return function e(he,me){return(0,i.Tg)(he).pipe(S(me),(0,t.Q)(me))}(he,me);if((0,G.T)(he))return M(he,me);if((0,q.x)(he))return function P(he,me){return new T.c(Te=>{let D;return(0,m.N)(Te,me,()=>{D=he[d.l](),(0,m.N)(Te,me,()=>{let n,o;try{({value:n,done:o}=D.next())}catch(f){return void Te.error(f)}o?Te.complete():Te.next(n)},0,!0)}),()=>(0,w.T)(D?.return)&&D.return()})}(he,me);if((0,$.U)(he))return function ae(he,me){return M((0,$.C)(he),me)}(he,me)}throw(0,Q.L)(he)}(he,me):(0,i.Tg)(he)}},22827:(Ae,ee,l)=>{"use strict";var i=l(30464).F.ERR_INVALID_OPT_VALUE;Ae.exports={getHighWaterMark:function p(S,c,e,T){var g=function t(S,c,e){return null!=S.highWaterMark?S.highWaterMark:c?S[e]:null}(c,T,e);if(null!=g){if(!isFinite(g)||Math.floor(g)!==g||g<0)throw new i(T?e:"highWaterMark",g);return Math.floor(g)}return S.objectMode?16:16384}}},22868:(Ae,ee,l)=>{const i=l(91677),t=l(96628),p=l(1018),S=l(54969),c=l(83264),e=l(99359),T=l(19089),g=l(80243);function d(q){return unescape(encodeURIComponent(q)).length}function w(q,G,Q){const $=[];let ae;for(;null!==(ae=q.exec(Q));)$.push({data:ae[0],index:ae.index,mode:G,length:ae[0].length});return $}function m(q){const G=w(e.NUMERIC,i.NUMERIC,q),Q=w(e.ALPHANUMERIC,i.ALPHANUMERIC,q);let $,ae;return T.isKanjiModeEnabled()?($=w(e.BYTE,i.BYTE,q),ae=w(e.KANJI,i.KANJI,q)):($=w(e.BYTE_KANJI,i.BYTE,q),ae=[]),G.concat(Q,$,ae).sort(function(oe,he){return oe.index-he.index}).map(function(oe){return{data:oe.data,mode:oe.mode,length:oe.length}})}function P(q,G){switch(G){case i.NUMERIC:return t.getBitsLength(q);case i.ALPHANUMERIC:return p.getBitsLength(q);case i.KANJI:return c.getBitsLength(q);case i.BYTE:return S.getBitsLength(q)}}function K(q,G){let Q;const $=i.getBestModeForData(q);if(Q=i.from(G,$),Q!==i.BYTE&&Q.bit<$.bit)throw new Error('"'+q+'" cannot be encoded with mode '+i.toString(Q)+".\n Suggested mode is: "+i.toString($));switch(Q===i.KANJI&&!T.isKanjiModeEnabled()&&(Q=i.BYTE),Q){case i.NUMERIC:return new t(q);case i.ALPHANUMERIC:return new p(q);case i.KANJI:return new c(q);case i.BYTE:return new S(q)}}ee.fromArray=function(G){return G.reduce(function(Q,$){return"string"==typeof $?Q.push(K($,null)):$.data&&Q.push(K($.data,$.mode)),Q},[])},ee.fromString=function(G,Q){const ae=function j(q){const G=[];for(let Q=0;Q<q.length;Q++){const $=q[Q];switch($.mode){case i.NUMERIC:G.push([$,{data:$.data,mode:i.ALPHANUMERIC,length:$.length},{data:$.data,mode:i.BYTE,length:$.length}]);break;case i.ALPHANUMERIC:G.push([$,{data:$.data,mode:i.BYTE,length:$.length}]);break;case i.KANJI:G.push([$,{data:$.data,mode:i.BYTE,length:d($.data)}]);break;case i.BYTE:G.push([{data:$.data,mode:i.BYTE,length:d($.data)}])}}return G}(m(G,T.isKanjiModeEnabled())),ue=function U(q,G){const Q={},$={start:{}};let ae=["start"];for(let ue=0;ue<q.length;ue++){const oe=q[ue],he=[];for(let me=0;me<oe.length;me++){const Te=oe[me],D=""+ue+me;he.push(D),Q[D]={node:Te,lastCount:0},$[D]={};for(let n=0;n<ae.length;n++){const o=ae[n];Q[o]&&Q[o].node.mode===Te.mode?($[o][D]=P(Q[o].lastCount+Te.length,Te.mode)-P(Q[o].lastCount,Te.mode),Q[o].lastCount+=Te.length):(Q[o]&&(Q[o].lastCount=Te.length),$[o][D]=P(Te.length,Te.mode)+4+i.getCharCountIndicator(Te.mode,G))}}ae=he}for(let ue=0;ue<ae.length;ue++)$[ae[ue]].end=0;return{map:$,table:Q}}(ae,Q),oe=g.find_path(ue.map,"start","end"),he=[];for(let me=1;me<oe.length-1;me++)he.push(ue.table[oe[me]].node);return ee.fromArray(function M(q){return q.reduce(function(G,Q){const $=G.length-1>=0?G[G.length-1]:null;return $&&$.mode===Q.mode?(G[G.length-1].data+=Q.data,G):(G.push(Q),G)},[])}(he))},ee.rawSplit=function(G){return ee.fromArray(m(G,T.isKanjiModeEnabled()))}},23029:(Ae,ee,l)=>{"use strict";l.d(ee,{MI:()=>he,QC:()=>ue,TL:()=>D,is:()=>ae,jb:()=>Te,wT:()=>me});var i=l(89726),t=l(10438),p=l(67336),S=l(73664),c=l(2615),e=l(17705),T=l(21413),g=l(12496),d=l(63386),w=l(32046),m=l(88968),P=l(49046);const U=["text"],K=[[["mat-icon"]],"*"],q=["mat-icon","*"];function G(n,o){if(1&n&&S.nrm(0,"mat-pseudo-checkbox",1),2&n){const f=S.XpG();S.Y8G("disabled",f.disabled)("state",f.selected?"checked":"unchecked")}}function Q(n,o){if(1&n&&S.nrm(0,"mat-pseudo-checkbox",3),2&n){const f=S.XpG();S.Y8G("disabled",f.disabled)}}function $(n,o){if(1&n&&(S.j41(0,"span",4),S.EFF(1),S.k0s()),2&n){const f=S.XpG();S.R7$(),S.SpI("(",f.group.label,")")}}const ae=new c.nKC("MAT_OPTION_PARENT_COMPONENT"),ue=new c.nKC("MatOptgroup");class he{source;isUserInput;constructor(o,f=!1){this.source=o,this.isUserInput=f}}let me=(()=>{class n{_element=(0,c.WQX)(S.aKT);_changeDetectorRef=(0,c.WQX)(e.gRc);_parent=(0,c.WQX)(ae,{optional:!0});group=(0,c.WQX)(ue,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=(0,c.WQX)(i.g).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(f){this._disabled.set(f)}_disabled=(0,c.vPA)(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new S.bkB;_text;_stateChanges=new T.B;constructor(){const f=(0,c.WQX)(m.l);f.load(w.A),f.load(P.Y),this._signalDisableRipple=!!this._parent&&(0,c.Hps)(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(f=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),f&&this._emitSelectionChangeEvent())}deselect(f=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),f&&this._emitSelectionChangeEvent())}focus(f,h){const b=this._getHostElement();"function"==typeof b.focus&&b.focus(h)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(f){(f.keyCode===t.Fm||f.keyCode===t.t6)&&!(0,p.rp)(f)&&(this._selectViaInteraction(),f.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 f=this.viewValue;f!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=f)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(f=!1){this.onSelectionChange.emit(new he(this,f))}static \u0275fac=function(h){return new(h||n)};static \u0275cmp=S.VBU({type:n,selectors:[["mat-option"]],viewQuery:function(h,b){if(1&h&&S.GBs(U,7),2&h){let A;S.mGM(A=S.lsd())&&(b._text=A.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(h,b){1&h&&S.bIt("click",function(){return b._selectViaInteraction()})("keydown",function(k){return b._handleKeydown(k)}),2&h&&(S.Avn("id",b.id),S.BMQ("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),S.AVh("mdc-list-item--selected",b.selected)("mat-mdc-option-multiple",b.multiple)("mat-mdc-option-active",b.active)("mdc-list-item--disabled",b.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",e.L39]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:q,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(h,b){1&h&&(S.NAR(K),S.nVh(0,G,1,2,"mat-pseudo-checkbox",1),S.SdG(1),S.j41(2,"span",2,0),S.SdG(4,1),S.k0s(),S.nVh(5,Q,1,1,"mat-pseudo-checkbox",3),S.nVh(6,$,2,1,"span",4),S.nrm(7,"div",5)),2&h&&(S.vxM(b.multiple?0:-1),S.R7$(5),S.vxM(b.multiple||!b.selected||b.hideSingleSelectionIndicator?-1:5),S.R7$(),S.vxM(b.group&&b.group._inert?6:-1),S.R7$(),S.Y8G("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[d.w,g.r6],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.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, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.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}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return n})();function Te(n,o,f){if(f.length){let h=o.toArray(),b=f.toArray(),A=0;for(let k=0;k<n+1;k++)h[k].group&&h[k].group===b[A]&&A++;return A}return 0}function D(n,o,f,h){return n<f?n:n+o>f+h?Math.max(0,n-h+o):f}},23241:Ae=>{"use strict";Ae.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"}}')},23294:(Ae,ee,l)=>{"use strict";l.d(ee,{F:()=>S});var i=l(33669),t=l(39974),p=l(54360);function S(e,T=i.D){return e=e??c,(0,t.N)((g,d)=>{let w,m=!0;g.subscribe((0,p._)(d,P=>{const M=T(P);(m||!e(w,M))&&(m=!1,w=M,d.next(P))}))})}function c(e,T){return e===T}},23401:(Ae,ee,l)=>{"use strict";var g,i=ee,t=l(52529),p=l(8729),c=l(3136).assert;function e(d){this.curve="short"===d.type?new p.short(d):"edwards"===d.type?new p.edwards(d):new p.mont(d),this.g=this.curve.g,this.n=this.curve.n,this.hash=d.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function T(d,w){Object.defineProperty(i,d,{configurable:!0,enumerable:!0,get:function(){var m=new e(w);return Object.defineProperty(i,d,{configurable:!0,enumerable:!0,value:m}),m}})}i.PresetCurve=e,T("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"]}),T("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"]}),T("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"]}),T("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"]}),T("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"]}),T("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"]}),T("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{g=l(51416)}catch{g=void 0}T("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",g]})},23677:(Ae,ee,l)=>{const i=l(47424),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],p=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];ee.getBlocksCount=function(c,e){switch(e){case i.L:return t[4*(c-1)+0];case i.M:return t[4*(c-1)+1];case i.Q:return t[4*(c-1)+2];case i.H:return t[4*(c-1)+3];default:return}},ee.getTotalCodewordsCount=function(c,e){switch(e){case i.L:return p[4*(c-1)+0];case i.M:return p[4*(c-1)+1];case i.Q:return p[4*(c-1)+2];case i.H:return p[4*(c-1)+3];default:return}}},24545:(Ae,ee,l)=>{"use strict";function i(w){for(let m in w){let P=w[m]??"";switch(m){case"display":w.display="flex"===P?["-webkit-flex","flex"]:"inline-flex"===P?["-webkit-inline-flex","inline-flex"]:P;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":w["-webkit-"+m]=P;break;case"flex-direction":w["-webkit-flex-direction"]=P,w["flex-direction"]=P;break;case"order":w.order=w["-webkit-"+m]=isNaN(+P)?"0":P}}return w}l.d(ee,{C5:()=>d,O5:()=>i,Uo:()=>p,Vc:()=>e,uG:()=>S});const t="inline",p=["row","column","row-reverse","column-reverse"];function S(w){let[m,P,M]=c(w);return function g(w,m=null,P=!1){return{display:P?"inline-flex":"flex","box-sizing":"border-box","flex-direction":w,"flex-wrap":m||null}}(m,P,M)}function c(w){w=w?.toLowerCase()??"";let[m,P,M]=w.split(" ");return p.find(j=>j===m)||(m=p[0]),P===t&&(P=M!==t?M:"",M=t),[m,T(P),!!M]}function e(w){let[m]=c(w);return m.indexOf("row")>-1}function T(w){if(w)switch(w.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":w="wrap-reverse";break;case"no":case"none":case"nowrap":w="nowrap";break;default:w="wrap"}return w}function d(w,...m){if(null==w)throw TypeError("Cannot convert undefined or null to object");for(let P of m)if(null!=P)for(let M in P)P.hasOwnProperty(M)&&(w[M]=P[M]);return w}},24740:function(Ae){!function(ee){"use strict";var l={bytesToHex:function(p){return function i(p){return p.map(function(S){return function t(p,S){return p.length>S?p:Array(S-p.length+1).join("0")+p}(S.toString(16),2)}).join("")}(p)},hexToBytes:function(p){if(p.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===p.indexOf("0x")&&(p=p.slice(2)),p.match(/../g).map(function(S){return parseInt(S,16)})}};Ae.exports?Ae.exports=l:ee.convertHex=l}(this)},24816:(Ae,ee,l)=>{var i=l(71993),t=l(72193);function p(S){t.call(this,S),this.enc="pem"}i(p,t),Ae.exports=p,p.prototype.encode=function(c,e){for(var g=t.prototype.encode.call(this,c).toString("base64"),d=["-----BEGIN "+e.label+"-----"],w=0;w<g.length;w+=64)d.push(g.slice(w,w+64));return d.push("-----END "+e.label+"-----"),d.join("\n")}},25084:(Ae,ee,l)=>{"use strict";l.d(ee,{Vh:()=>zn,X6:()=>Ai,bU:()=>ut,bZ:()=>it});var i=l(2615),t=l(73664),p=l(17705),S=l(21413),c=l(18359),e=l(57786),T=l(7673),g=l(19945),d=l(76838),w=l(17094),m=l(89726),P=l(61577),M=l(14085),j=l(10438),U=l(67336),K=l(49338),q=l(39842),G=l(44522),Q=l(76939),$=l(5964),ae=l(99172),ue=l(96697),oe=l(72200),he=l(88968),me=l(49046),Te=l(32046),D=l(88834),n=l(22598),o=l(40455),f=l(31804),h=l(89417),b=l(68010),A=l(69588),k=l(5718),x=l(22466);const r=["mat-calendar-body",""];function _(zt,ji){return this._trackRow(ji)}const W=(zt,ji)=>ji.id;function I(zt,ji){if(1&zt&&(t.j41(0,"tr",0)(1,"td",3),t.EFF(2),t.k0s()()),2&zt){const Me=t.XpG();t.R7$(),t.xc7("padding-top",Me._cellPadding)("padding-bottom",Me._cellPadding),t.BMQ("colspan",Me.numCols),t.R7$(),t.SpI(" ",Me.label," ")}}function B(zt,ji){if(1&zt&&(t.j41(0,"td",3),t.EFF(1),t.k0s()),2&zt){const Me=t.XpG(2);t.xc7("padding-top",Me._cellPadding)("padding-bottom",Me._cellPadding),t.BMQ("colspan",Me._firstRowOffset),t.R7$(),t.SpI(" ",Me._firstRowOffset>=Me.labelMinRequiredCells?Me.label:""," ")}}function re(zt,ji){if(1&zt){const Me=t.RV6();t.j41(0,"td",6)(1,"button",7),t.bIt("click",function(vt){const ni=i.eBV(Me).$implicit,Fi=t.XpG(2);return i.Njj(Fi._cellClicked(ni,vt))})("focus",function(vt){const ni=i.eBV(Me).$implicit,Fi=t.XpG(2);return i.Njj(Fi._emitActiveDateChange(ni,vt))}),t.j41(2,"span",8),t.EFF(3),t.k0s(),t.nrm(4,"span",9),t.k0s()()}if(2&zt){const Me=ji.$implicit,mt=ji.$index,vt=t.XpG().$index,ni=t.XpG();t.xc7("width",ni._cellWidth)("padding-top",ni._cellPadding)("padding-bottom",ni._cellPadding),t.BMQ("data-mat-row",vt)("data-mat-col",mt),t.R7$(),t.AVh("mat-calendar-body-disabled",!Me.enabled)("mat-calendar-body-active",ni._isActiveCell(vt,mt))("mat-calendar-body-range-start",ni._isRangeStart(Me.compareValue))("mat-calendar-body-range-end",ni._isRangeEnd(Me.compareValue))("mat-calendar-body-in-range",ni._isInRange(Me.compareValue))("mat-calendar-body-comparison-bridge-start",ni._isComparisonBridgeStart(Me.compareValue,vt,mt))("mat-calendar-body-comparison-bridge-end",ni._isComparisonBridgeEnd(Me.compareValue,vt,mt))("mat-calendar-body-comparison-start",ni._isComparisonStart(Me.compareValue))("mat-calendar-body-comparison-end",ni._isComparisonEnd(Me.compareValue))("mat-calendar-body-in-comparison-range",ni._isInComparisonRange(Me.compareValue))("mat-calendar-body-preview-start",ni._isPreviewStart(Me.compareValue))("mat-calendar-body-preview-end",ni._isPreviewEnd(Me.compareValue))("mat-calendar-body-in-preview",ni._isInPreview(Me.compareValue)),t.Y8G("ngClass",Me.cssClasses)("tabindex",ni._isActiveCell(vt,mt)?0:-1),t.BMQ("aria-label",Me.ariaLabel)("aria-disabled",!Me.enabled||null)("aria-pressed",ni._isSelected(Me.compareValue))("aria-current",ni.todayValue===Me.compareValue?"date":null)("aria-describedby",ni._getDescribedby(Me.compareValue)),t.R7$(),t.AVh("mat-calendar-body-selected",ni._isSelected(Me.compareValue))("mat-calendar-body-comparison-identical",ni._isComparisonIdentical(Me.compareValue))("mat-calendar-body-today",ni.todayValue===Me.compareValue),t.R7$(),t.SpI(" ",Me.displayValue," ")}}function pe(zt,ji){if(1&zt&&(t.j41(0,"tr",1),t.nVh(1,B,2,6,"td",4),t.Z7z(2,re,5,48,"td",5,W),t.k0s()),2&zt){const Me=ji.$implicit,mt=ji.$index,vt=t.XpG();t.R7$(),t.vxM(0===mt&&vt._firstRowOffset?1:-1),t.R7$(),t.Dyx(Me)}}function be(zt,ji){if(1&zt&&(t.j41(0,"th",2)(1,"span",6),t.EFF(2),t.k0s(),t.j41(3,"span",3),t.EFF(4),t.k0s()()),2&zt){const Me=ji.$implicit;t.R7$(2),t.JRh(Me.long),t.R7$(2),t.JRh(Me.narrow)}}const Be=["*"];function _e(zt,ji){}function ye(zt,ji){if(1&zt){const Me=t.RV6();t.j41(0,"mat-month-view",4),t.mxI("activeDateChange",function(vt){i.eBV(Me);const ni=t.XpG();return t.DH7(ni.activeDate,vt)||(ni.activeDate=vt),i.Njj(vt)}),t.bIt("_userSelection",function(vt){i.eBV(Me);const ni=t.XpG();return i.Njj(ni._dateSelected(vt))})("dragStarted",function(vt){i.eBV(Me);const ni=t.XpG();return i.Njj(ni._dragStarted(vt))})("dragEnded",function(vt){i.eBV(Me);const ni=t.XpG();return i.Njj(ni._dragEnded(vt))}),t.k0s()}if(2&zt){const Me=t.XpG();t.R50("activeDate",Me.activeDate),t.Y8G("selected",Me.selected)("dateFilter",Me.dateFilter)("maxDate",Me.maxDate)("minDate",Me.minDate)("dateClass",Me.dateClass)("comparisonStart",Me.comparisonStart)("comparisonEnd",Me.comparisonEnd)("startDateAccessibleName",Me.startDateAccessibleName)("endDateAccessibleName",Me.endDateAccessibleName)("activeDrag",Me._activeDrag)}}function Le(zt,ji){if(1&zt){const Me=t.RV6();t.j41(0,"mat-year-view",5),t.mxI("activeDateChange",function(vt){i.eBV(Me);const ni=t.XpG();return t.DH7(ni.activeDate,vt)||(ni.activeDate=vt),i.Njj(vt)}),t.bIt("monthSelected",function(vt){i.eBV(Me);const ni=t.XpG();return i.Njj(ni._monthSelectedInYearView(vt))})("selectedChange",function(vt){i.eBV(Me);const ni=t.XpG();return i.Njj(ni._goToDateInView(vt,"month"))}),t.k0s()}if(2&zt){const Me=t.XpG();t.R50("activeDate",Me.activeDate),t.Y8G("selected",Me.selected)("dateFilter",Me.dateFilter)("maxDate",Me.maxDate)("minDate",Me.minDate)("dateClass",Me.dateClass)}}function Ke(zt,ji){if(1&zt){const Me=t.RV6();t.j41(0,"mat-multi-year-view",6),t.mxI("activeDateChange",function(vt){i.eBV(Me);const ni=t.XpG();return t.DH7(ni.activeDate,vt)||(ni.activeDate=vt),i.Njj(vt)}),t.bIt("yearSelected",function(vt){i.eBV(Me);const ni=t.XpG();return i.Njj(ni._yearSelectedInMultiYearView(vt))})("selectedChange",function(vt){i.eBV(Me);const ni=t.XpG();return i.Njj(ni._goToDateInView(vt,"year"))}),t.k0s()}if(2&zt){const Me=t.XpG();t.R50("activeDate",Me.activeDate),t.Y8G("selected",Me.selected)("dateFilter",Me.dateFilter)("maxDate",Me.maxDate)("minDate",Me.minDate)("dateClass",Me.dateClass)}}function ge(zt,ji){}const ve=["button"],Oe=[[["","matDatepickerToggleIcon",""]]],Ee=["[matDatepickerToggleIcon]"];function dt(zt,ji){1&zt&&(i.qSk(),t.j41(0,"svg",2),t.nrm(1,"path",3),t.k0s())}let Pe=(()=>{class zt{changes=new S.B;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(Me,mt){return`${Me} \u2013 ${mt}`}formatYearRangeLabel(Me,mt){return`${Me} to ${mt}`}static \u0275fac=function(mt){return new(mt||zt)};static \u0275prov=i.jDH({token:zt,factory:zt.\u0275fac,providedIn:"root"})}return zt})(),Ht=0;class ct{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=Ht++;constructor(ji,Me,mt,vt,ni={},Fi=ji,kn){this.value=ji,this.displayValue=Me,this.ariaLabel=mt,this.enabled=vt,this.cssClasses=ni,this.compareValue=Fi,this.rawValue=kn}}const Ce={passive:!1,capture:!0},ze={passive:!0,capture:!0},Z={passive:!0};let J=(()=>{class zt{_elementRef=(0,i.WQX)(t.aKT);_ngZone=(0,i.WQX)(t.SKi);_platform=(0,i.WQX)(q.O);_intl=(0,i.WQX)(Pe);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new t.bkB;previewChange=new t.bkB;activeDateChange=new t.bkB;dragStarted=new t.bkB;dragEnded=new t.bkB;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=(0,i.WQX)(i.zZn);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=Me=>Me;constructor(){const Me=(0,i.WQX)(t.sFG),mt=(0,i.WQX)(m.g);this._startDateLabelId=mt.getId("mat-calendar-body-start-"),this._endDateLabelId=mt.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=mt.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=mt.getId("mat-calendar-body-comparison-end-"),(0,i.WQX)(he.l).load(Te.A),this._ngZone.runOutsideAngular(()=>{const vt=this._elementRef.nativeElement,ni=[Me.listen(vt,"touchmove",this._touchmoveHandler,Ce),Me.listen(vt,"mouseenter",this._enterHandler,ze),Me.listen(vt,"focus",this._enterHandler,ze),Me.listen(vt,"mouseleave",this._leaveHandler,ze),Me.listen(vt,"blur",this._leaveHandler,ze),Me.listen(vt,"mousedown",this._mousedownHandler,Z),Me.listen(vt,"touchstart",this._mousedownHandler,Z)];this._platform.isBrowser&&ni.push(Me.listen("window","mouseup",this._mouseupHandler),Me.listen("window","touchend",this._touchendHandler)),this._eventCleanups=ni})}_cellClicked(Me,mt){this._didDragSinceMouseDown||Me.enabled&&this.selectedValueChange.emit({value:Me.value,event:mt})}_emitActiveDateChange(Me,mt){Me.enabled&&this.activeDateChange.emit({value:Me.value,event:mt})}_isSelected(Me){return this.startValue===Me||this.endValue===Me}ngOnChanges(Me){const mt=Me.numCols,{rows:vt,numCols:ni}=this;(Me.rows||mt)&&(this._firstRowOffset=vt&&vt.length&&vt[0].length?ni-vt[0].length:0),(Me.cellAspectRatio||mt||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ni+"%"),(mt||!this._cellWidth)&&(this._cellWidth=100/ni+"%")}ngOnDestroy(){this._eventCleanups.forEach(Me=>Me())}_isActiveCell(Me,mt){let vt=Me*this.numCols+mt;return Me&&(vt-=this._firstRowOffset),vt==this.activeCell}_focusActiveCell(Me=!0){(0,t.mal)(()=>{setTimeout(()=>{const mt=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");mt&&(Me||(this._skipNextFocus=!0),mt.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(Me){return ht(Me,this.startValue,this.endValue)}_isRangeEnd(Me){return li(Me,this.startValue,this.endValue)}_isInRange(Me){return Qt(Me,this.startValue,this.endValue,this.isRange)}_isComparisonStart(Me){return ht(Me,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(Me,mt,vt){if(!this._isComparisonStart(Me)||this._isRangeStart(Me)||!this._isInRange(Me))return!1;let ni=this.rows[mt][vt-1];if(!ni){const Fi=this.rows[mt-1];ni=Fi&&Fi[Fi.length-1]}return ni&&!this._isRangeEnd(ni.compareValue)}_isComparisonBridgeEnd(Me,mt,vt){if(!this._isComparisonEnd(Me)||this._isRangeEnd(Me)||!this._isInRange(Me))return!1;let ni=this.rows[mt][vt+1];if(!ni){const Fi=this.rows[mt+1];ni=Fi&&Fi[0]}return ni&&!this._isRangeStart(ni.compareValue)}_isComparisonEnd(Me){return li(Me,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(Me){return Qt(Me,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(Me){return this.comparisonStart===this.comparisonEnd&&Me===this.comparisonStart}_isPreviewStart(Me){return ht(Me,this.previewStart,this.previewEnd)}_isPreviewEnd(Me){return li(Me,this.previewStart,this.previewEnd)}_isInPreview(Me){return Qt(Me,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(Me){if(!this.isRange)return null;if(this.startValue===Me&&this.endValue===Me)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===Me)return this._startDateLabelId;if(this.endValue===Me)return this._endDateLabelId;if(null!==this.comparisonStart&&null!==this.comparisonEnd){if(Me===this.comparisonStart&&Me===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(Me===this.comparisonStart)return this._comparisonStartDateLabelId;if(Me===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=Me=>{if(this._skipNextFocus&&"focus"===Me.type)this._skipNextFocus=!1;else if(Me.target&&this.isRange){const mt=this._getCellFromElement(Me.target);mt&&this._ngZone.run(()=>this.previewChange.emit({value:mt.enabled?mt:null,event:Me}))}};_touchmoveHandler=Me=>{if(!this.isRange)return;const mt=di(Me),vt=mt?this._getCellFromElement(mt):null;mt!==Me.target&&(this._didDragSinceMouseDown=!0),Ie(Me.target)&&Me.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:vt?.enabled?vt:null,event:Me}))};_leaveHandler=Me=>{null!==this.previewEnd&&this.isRange&&("blur"!==Me.type&&(this._didDragSinceMouseDown=!0),Me.target&&this._getCellFromElement(Me.target)&&(!Me.relatedTarget||!this._getCellFromElement(Me.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Me})))};_mousedownHandler=Me=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const mt=Me.target&&this._getCellFromElement(Me.target);!mt||!this._isInRange(mt.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:mt.rawValue,event:Me})})};_mouseupHandler=Me=>{if(!this.isRange)return;const mt=Ie(Me.target);mt?mt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const vt=this._getCellFromElement(mt);this.dragEnded.emit({value:vt?.rawValue??null,event:Me})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Me})})};_touchendHandler=Me=>{const mt=di(Me);mt&&this._mouseupHandler({target:mt})};_getCellFromElement(Me){const mt=Ie(Me);if(mt){const vt=mt.getAttribute("data-mat-row"),ni=mt.getAttribute("data-mat-col");if(vt&&ni)return this.rows[parseInt(vt)]?.[parseInt(ni)]||null}return null}static \u0275fac=function(mt){return new(mt||zt)};static \u0275cmp=t.VBU({type:zt,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[t.OA$],attrs:r,decls:11,vars:11,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(mt,vt){1&mt&&(t.nVh(0,I,3,6,"tr",0),t.Z7z(1,pe,4,1,"tr",1,_,!0),t.j41(3,"span",2),t.EFF(4),t.k0s(),t.j41(5,"span",2),t.EFF(6),t.k0s(),t.j41(7,"span",2),t.EFF(8),t.k0s(),t.j41(9,"span",2),t.EFF(10),t.k0s()),2&mt&&(t.vxM(vt._firstRowOffset<vt.labelMinRequiredCells?0:-1),t.R7$(),t.Dyx(vt.rows),t.R7$(2),t.Y8G("id",vt._startDateLabelId),t.R7$(),t.SpI(" ",vt.startDateAccessibleName,"\n"),t.R7$(),t.Y8G("id",vt._endDateLabelId),t.R7$(),t.SpI(" ",vt.endDateAccessibleName,"\n"),t.R7$(),t.Y8G("id",vt._comparisonStartDateLabelId),t.R7$(),t.Lme(" ",vt.comparisonDateAccessibleName," ",vt.startDateAccessibleName,"\n"),t.R7$(),t.Y8G("id",vt._comparisonEndDateLabelId),t.R7$(),t.Lme(" ",vt.comparisonDateAccessibleName," ",vt.endDateAccessibleName,"\n"))},dependencies:[oe.YU],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;margin:0;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: 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, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: 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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.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, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 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, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 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, var(--mat-sys-secondary-container))}.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, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}\n'],encapsulation:2,changeDetection:0})}return zt})();function fe(zt){return"TD"===zt?.nodeName}function Ie(zt){let ji;return fe(zt)?ji=zt:fe(zt.parentNode)?ji=zt.parentNode:fe(zt.parentNode?.parentNode)&&(ji=zt.parentNode.parentNode),null!=ji?.getAttribute("data-mat-row")?ji:null}function ht(zt,ji,Me){return null!==Me&&ji!==Me&&zt<Me&&zt===ji}function li(zt,ji,Me){return null!==ji&&ji!==Me&&zt>=ji&&zt===Me}function Qt(zt,ji,Me,mt){return mt&&null!==ji&&null!==Me&&ji!==Me&&zt>=ji&&zt<=Me}function di(zt){const ji=zt.changedTouches[0];return document.elementFromPoint(ji.clientX,ji.clientY)}class kt{start;end;_disableStructuralEquivalency;constructor(ji,Me){this.start=ji,this.end=Me}}let Rt=(()=>{class zt{selection;_adapter;_selectionChanged=new S.B;selectionChanged=this._selectionChanged;constructor(Me,mt){this.selection=Me,this._adapter=mt,this.selection=Me}updateSelection(Me,mt){const vt=this.selection;this.selection=Me,this._selectionChanged.next({selection:Me,source:mt,oldValue:vt})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(Me){return this._adapter.isDateInstance(Me)&&this._adapter.isValid(Me)}static \u0275fac=function(mt){t.QTQ()};static \u0275prov=i.jDH({token:zt,factory:zt.\u0275fac})}return zt})(),le=(()=>{class zt extends Rt{constructor(Me){super(null,Me)}add(Me){super.updateSelection(Me,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const Me=new zt(this._adapter);return Me.updateSelection(this.selection,this),Me}static \u0275fac=function(mt){return new(mt||zt)(i.KVO(g.MJ))};static \u0275prov=i.jDH({token:zt,factory:zt.\u0275fac})}return zt})();const se={provide:Rt,deps:[[new t.Xx1,new t.kdw,Rt],g.MJ],useFactory:function ce(zt,ji){return zt||new le(ji)}},Ne=new i.nKC("MAT_DATE_RANGE_SELECTION_STRATEGY");let ti=0,Ye=(()=>{class zt{_changeDetectorRef=(0,i.WQX)(p.gRc);_dateFormats=(0,i.WQX)(g.de,{optional:!0});_dateAdapter=(0,i.WQX)(g.MJ,{optional:!0});_dir=(0,i.WQX)(P.dS,{optional:!0});_rangeStrategy=(0,i.WQX)(Ne,{optional:!0});_rerenderSubscription=c.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(Me){const mt=this._activeDate,vt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(vt,this.minDate,this.maxDate),this._hasSameMonthAndYear(mt,this._activeDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(Me){this._selected=Me instanceof kt?Me:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me)),this._setRanges(this._selected)}_selected;get minDate(){return this._minDate}set minDate(Me){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_minDate;get maxDate(){return this._maxDate}set maxDate(Me){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;activeDrag=null;selectedChange=new t.bkB;_userSelection=new t.bkB;dragStarted=new t.bkB;dragEnded=new t.bkB;activeDateChange=new t.bkB;_matCalendarBody;_monthLabel=(0,i.vPA)("");_weeks=(0,i.vPA)([]);_firstWeekOffset=(0,i.vPA)(0);_rangeStart=(0,i.vPA)(null);_rangeEnd=(0,i.vPA)(null);_comparisonRangeStart=(0,i.vPA)(null);_comparisonRangeEnd=(0,i.vPA)(null);_previewStart=(0,i.vPA)(null);_previewEnd=(0,i.vPA)(null);_isRange=(0,i.vPA)(!1);_todayDate=(0,i.vPA)(null);_weekdays=(0,i.vPA)([]);constructor(){(0,i.WQX)(he.l).load(me.Y),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,ae.Z)(null)).subscribe(()=>this._init())}ngOnChanges(Me){const mt=Me.comparisonStart||Me.comparisonEnd;mt&&!mt.firstChange&&this._setRanges(this.selected),Me.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(Me){const mt=Me.value,vt=this._getDateFromDayOfMonth(mt);let ni,Fi;this._selected instanceof kt?(ni=this._getDateInCurrentMonth(this._selected.start),Fi=this._getDateInCurrentMonth(this._selected.end)):ni=Fi=this._getDateInCurrentMonth(this._selected),(ni!==mt||Fi!==mt)&&this.selectedChange.emit(vt),this._userSelection.emit({value:vt,event:Me.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(Me){const vt=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(Me.value),this._dateAdapter.compareDate(vt,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(Me){const mt=this._activeDate,vt=this._isRtl();switch(Me.keyCode){case j.UQ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,vt?1:-1);break;case j.LE:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,vt?-1:1);break;case j.i7:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case j.n6:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case j.yZ:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case j.Kp:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case j.w_:this.activeDate=Me.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case j.dB:this.activeDate=Me.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case j.Fm:case j.t6:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&Me.preventDefault());case j._f:return void(null!=this._previewEnd()&&!(0,U.rp)(Me)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:Me}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:Me})),Me.preventDefault(),Me.stopPropagation()));default:return}this._dateAdapter.compareDate(mt,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Me.preventDefault()}_handleCalendarBodyKeyup(Me){(Me.keyCode===j.t6||Me.keyCode===j.Fm)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:Me}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate.set(this._getCellCompareValue(this._dateAdapter.today())),this._monthLabel.set(this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase());let Me=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset.set((7+this._dateAdapter.getDayOfWeek(Me)-this._dateAdapter.getFirstDayOfWeek())%7),this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(Me){this._matCalendarBody._focusActiveCell(Me)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:Me,value:mt}){if(this._rangeStrategy){const vt=mt?mt.rawValue:null,ni=this._rangeStrategy.createPreview(vt,this.selected,Me);if(this._previewStart.set(this._getCellCompareValue(ni.start)),this._previewEnd.set(this._getCellCompareValue(ni.end)),this.activeDrag&&vt){const Fi=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,vt,Me);Fi&&(this._previewStart.set(this._getCellCompareValue(Fi.start)),this._previewEnd.set(this._getCellCompareValue(Fi.end)))}}}_dragEnded(Me){if(this.activeDrag)if(Me.value){const mt=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,Me.value,Me.event);this.dragEnded.emit({value:mt??null,event:Me.event})}else this.dragEnded.emit({value:null,event:Me.event})}_getDateFromDayOfMonth(Me){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Me)}_initWeekdays(){const Me=this._dateAdapter.getFirstDayOfWeek(),mt=this._dateAdapter.getDayOfWeekNames("narrow"),ni=this._dateAdapter.getDayOfWeekNames("long").map((Fi,kn)=>({long:Fi,narrow:mt[kn],id:ti++}));this._weekdays.set(ni.slice(Me).concat(ni.slice(0,Me)))}_createWeekCells(){const Me=this._dateAdapter.getNumDaysInMonth(this.activeDate),mt=this._dateAdapter.getDateNames(),vt=[[]];for(let ni=0,Fi=this._firstWeekOffset();ni<Me;ni++,Fi++){7==Fi&&(vt.push([]),Fi=0);const kn=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),ni+1),ca=this._shouldEnableDate(kn),an=this._dateAdapter.format(kn,this._dateFormats.display.dateA11yLabel),mn=this.dateClass?this.dateClass(kn,"month"):void 0;vt[vt.length-1].push(new ct(ni+1,mt[ni],an,ca,mn,this._getCellCompareValue(kn),kn))}this._weeks.set(vt)}_shouldEnableDate(Me){return!!Me&&(!this.minDate||this._dateAdapter.compareDate(Me,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(Me,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(Me))}_getDateInCurrentMonth(Me){return Me&&this._hasSameMonthAndYear(Me,this.activeDate)?this._dateAdapter.getDate(Me):null}_hasSameMonthAndYear(Me,mt){return!(!Me||!mt||this._dateAdapter.getMonth(Me)!=this._dateAdapter.getMonth(mt)||this._dateAdapter.getYear(Me)!=this._dateAdapter.getYear(mt))}_getCellCompareValue(Me){if(Me){const mt=this._dateAdapter.getYear(Me),vt=this._dateAdapter.getMonth(Me),ni=this._dateAdapter.getDate(Me);return new Date(mt,vt,ni).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(Me){Me instanceof kt?(this._rangeStart.set(this._getCellCompareValue(Me.start)),this._rangeEnd.set(this._getCellCompareValue(Me.end)),this._isRange.set(!0)):(this._rangeStart.set(this._getCellCompareValue(Me)),this._rangeEnd.set(this._rangeStart()),this._isRange.set(!1)),this._comparisonRangeStart.set(this._getCellCompareValue(this.comparisonStart)),this._comparisonRangeEnd.set(this._getCellCompareValue(this.comparisonEnd))}_canSelect(Me){return!this.dateFilter||this.dateFilter(Me)}_clearPreview(){this._previewStart.set(null),this._previewEnd.set(null)}static \u0275fac=function(mt){return new(mt||zt)};static \u0275cmp=t.VBU({type:zt,selectors:[["mat-month-view"]],viewQuery:function(mt,vt){if(1&mt&&t.GBs(J,5),2&mt){let ni;t.mGM(ni=t.lsd())&&(vt._matCalendarBody=ni.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[t.OA$],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(mt,vt){1&mt&&(t.j41(0,"table",0)(1,"thead",1)(2,"tr"),t.Z7z(3,be,5,2,"th",2,W),t.k0s(),t.j41(5,"tr",3),t.nrm(6,"th",4),t.k0s()(),t.j41(7,"tbody",5),t.bIt("selectedValueChange",function(Fi){return vt._dateSelected(Fi)})("activeDateChange",function(Fi){return vt._updateActiveDate(Fi)})("previewChange",function(Fi){return vt._previewChanged(Fi)})("dragStarted",function(Fi){return vt.dragStarted.emit(Fi)})("dragEnded",function(Fi){return vt._dragEnded(Fi)})("keyup",function(Fi){return vt._handleCalendarBodyKeyup(Fi)})("keydown",function(Fi){return vt._handleCalendarBodyKeydown(Fi)}),t.k0s()()),2&mt&&(t.R7$(3),t.Dyx(vt._weekdays()),t.R7$(4),t.Y8G("label",vt._monthLabel())("rows",vt._weeks())("todayValue",vt._todayDate())("startValue",vt._rangeStart())("endValue",vt._rangeEnd())("comparisonStart",vt._comparisonRangeStart())("comparisonEnd",vt._comparisonRangeEnd())("previewStart",vt._previewStart())("previewEnd",vt._previewEnd())("isRange",vt._isRange())("labelMinRequiredCells",3)("activeCell",vt._dateAdapter.getDate(vt.activeDate)-1)("startDateAccessibleName",vt.startDateAccessibleName)("endDateAccessibleName",vt.endDateAccessibleName))},dependencies:[J],encapsulation:2,changeDetection:0})}return zt})(),Jt=(()=>{class zt{_changeDetectorRef=(0,i.WQX)(p.gRc);_dateAdapter=(0,i.WQX)(g.MJ,{optional:!0});_dir=(0,i.WQX)(P.dS,{optional:!0});_rerenderSubscription=c.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(Me){let mt=this._activeDate;const vt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(vt,this.minDate,this.maxDate),qe(this._dateAdapter,mt,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(Me){this._selected=Me instanceof kt?Me:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me)),this._setSelectedYear(Me)}_selected;get minDate(){return this._minDate}set minDate(Me){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_minDate;get maxDate(){return this._maxDate}set maxDate(Me){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_maxDate;dateFilter;dateClass;selectedChange=new t.bkB;yearSelected=new t.bkB;activeDateChange=new t.bkB;_matCalendarBody;_years=(0,i.vPA)([]);_todayYear=(0,i.vPA)(0);_selectedYear=(0,i.vPA)(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,ae.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear.set(this._dateAdapter.getYear(this._dateAdapter.today()));const mt=this._dateAdapter.getYear(this._activeDate)-$e(this._dateAdapter,this.activeDate,this.minDate,this.maxDate),vt=[];for(let ni=0,Fi=[];ni<24;ni++)Fi.push(mt+ni),4==Fi.length&&(vt.push(Fi.map(kn=>this._createCellForYear(kn))),Fi=[]);this._years.set(vt),this._changeDetectorRef.markForCheck()}_yearSelected(Me){const mt=Me.value,vt=this._dateAdapter.createDate(mt,0,1),ni=this._getDateFromYear(mt);this.yearSelected.emit(vt),this.selectedChange.emit(ni)}_updateActiveDate(Me){const vt=this._activeDate;this.activeDate=this._getDateFromYear(Me.value),this._dateAdapter.compareDate(vt,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Me){const mt=this._activeDate,vt=this._isRtl();switch(Me.keyCode){case j.UQ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,vt?1:-1);break;case j.LE:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,vt?-1:1);break;case j.i7:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case j.n6:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case j.yZ:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-$e(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case j.Kp:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-$e(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case j.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Me.altKey?-240:-24);break;case j.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Me.altKey?240:24);break;case j.Fm:case j.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(mt,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),Me.preventDefault()}_handleCalendarBodyKeyup(Me){(Me.keyCode===j.t6||Me.keyCode===j.Fm)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:Me}),this._selectionKeyPressed=!1)}_getActiveCell(){return $e(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(Me){const mt=this._dateAdapter.getMonth(this.activeDate),vt=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(Me,mt,1));return this._dateAdapter.createDate(Me,mt,Math.min(this._dateAdapter.getDate(this.activeDate),vt))}_createCellForYear(Me){const mt=this._dateAdapter.createDate(Me,0,1),vt=this._dateAdapter.getYearName(mt),ni=this.dateClass?this.dateClass(mt,"multi-year"):void 0;return new ct(Me,vt,vt,this._shouldEnableYear(Me),ni)}_shouldEnableYear(Me){if(null==Me||this.maxDate&&Me>this._dateAdapter.getYear(this.maxDate)||this.minDate&&Me<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let vt=this._dateAdapter.createDate(Me,0,1);this._dateAdapter.getYear(vt)==Me;vt=this._dateAdapter.addCalendarDays(vt,1))if(this.dateFilter(vt))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(Me){if(this._selectedYear.set(null),Me instanceof kt){const mt=Me.start||Me.end;mt&&this._selectedYear.set(this._dateAdapter.getYear(mt))}else Me&&this._selectedYear.set(this._dateAdapter.getYear(Me))}static \u0275fac=function(mt){return new(mt||zt)};static \u0275cmp=t.VBU({type:zt,selectors:[["mat-multi-year-view"]],viewQuery:function(mt,vt){if(1&mt&&t.GBs(J,5),2&mt){let ni;t.mGM(ni=t.lsd())&&(vt._matCalendarBody=ni.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(mt,vt){1&mt&&(t.j41(0,"table",0)(1,"thead",1)(2,"tr"),t.nrm(3,"th",2),t.k0s()(),t.j41(4,"tbody",3),t.bIt("selectedValueChange",function(Fi){return vt._yearSelected(Fi)})("activeDateChange",function(Fi){return vt._updateActiveDate(Fi)})("keyup",function(Fi){return vt._handleCalendarBodyKeyup(Fi)})("keydown",function(Fi){return vt._handleCalendarBodyKeydown(Fi)}),t.k0s()()),2&mt&&(t.R7$(4),t.Y8G("rows",vt._years())("todayValue",vt._todayYear())("startValue",vt._selectedYear())("endValue",vt._selectedYear())("numCols",4)("cellAspectRatio",4/7)("activeCell",vt._getActiveCell()))},dependencies:[J],encapsulation:2,changeDetection:0})}return zt})();function qe(zt,ji,Me,mt,vt){const ni=zt.getYear(ji),Fi=zt.getYear(Me),kn=tt(zt,mt,vt);return Math.floor((ni-kn)/24)===Math.floor((Fi-kn)/24)}function $e(zt,ji,Me,mt){return function vi(zt,ji){return(zt%ji+ji)%ji}(zt.getYear(ji)-tt(zt,Me,mt),24)}function tt(zt,ji,Me){let mt=0;return Me?mt=zt.getYear(Me)-24+1:ji&&(mt=zt.getYear(ji)),mt}let ei=(()=>{class zt{_changeDetectorRef=(0,i.WQX)(p.gRc);_dateFormats=(0,i.WQX)(g.de,{optional:!0});_dateAdapter=(0,i.WQX)(g.MJ,{optional:!0});_dir=(0,i.WQX)(P.dS,{optional:!0});_rerenderSubscription=c.yU.EMPTY;_selectionKeyPressed;get activeDate(){return this._activeDate}set activeDate(Me){let mt=this._activeDate;const vt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(vt,this.minDate,this.maxDate),this._dateAdapter.getYear(mt)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}_activeDate;get selected(){return this._selected}set selected(Me){this._selected=Me instanceof kt?Me:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me)),this._setSelectedMonth(Me)}_selected;get minDate(){return this._minDate}set minDate(Me){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_minDate;get maxDate(){return this._maxDate}set maxDate(Me){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_maxDate;dateFilter;dateClass;selectedChange=new t.bkB;monthSelected=new t.bkB;activeDateChange=new t.bkB;_matCalendarBody;_months=(0,i.vPA)([]);_yearLabel=(0,i.vPA)("");_todayMonth=(0,i.vPA)(null);_selectedMonth=(0,i.vPA)(null);constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,ae.Z)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(Me){const mt=Me.value,vt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),mt,1);this.monthSelected.emit(vt);const ni=this._getDateFromMonth(mt);this.selectedChange.emit(ni)}_updateActiveDate(Me){const vt=this._activeDate;this.activeDate=this._getDateFromMonth(Me.value),this._dateAdapter.compareDate(vt,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(Me){const mt=this._activeDate,vt=this._isRtl();switch(Me.keyCode){case j.UQ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,vt?1:-1);break;case j.LE:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,vt?-1:1);break;case j.i7:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case j.n6:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case j.yZ:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case j.Kp:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case j.w_:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Me.altKey?-10:-1);break;case j.dB:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Me.altKey?10:1);break;case j.Fm:case j.t6:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(mt,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),Me.preventDefault()}_handleCalendarBodyKeyup(Me){(Me.keyCode===j.t6||Me.keyCode===j.Fm)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:Me}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth.set(this._getMonthInCurrentYear(this._dateAdapter.today())),this._yearLabel.set(this._dateAdapter.getYearName(this.activeDate));let Me=this._dateAdapter.getMonthNames("short");this._months.set([[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(mt=>mt.map(vt=>this._createCellForMonth(vt,Me[vt])))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(Me){return Me&&this._dateAdapter.getYear(Me)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(Me):null}_getDateFromMonth(Me){const mt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Me,1),vt=this._dateAdapter.getNumDaysInMonth(mt);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Me,Math.min(this._dateAdapter.getDate(this.activeDate),vt))}_createCellForMonth(Me,mt){const vt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Me,1),ni=this._dateAdapter.format(vt,this._dateFormats.display.monthYearA11yLabel),Fi=this.dateClass?this.dateClass(vt,"year"):void 0;return new ct(Me,mt.toLocaleUpperCase(),ni,this._shouldEnableMonth(Me),Fi)}_shouldEnableMonth(Me){const mt=this._dateAdapter.getYear(this.activeDate);if(null==Me||this._isYearAndMonthAfterMaxDate(mt,Me)||this._isYearAndMonthBeforeMinDate(mt,Me))return!1;if(!this.dateFilter)return!0;for(let ni=this._dateAdapter.createDate(mt,Me,1);this._dateAdapter.getMonth(ni)==Me;ni=this._dateAdapter.addCalendarDays(ni,1))if(this.dateFilter(ni))return!0;return!1}_isYearAndMonthAfterMaxDate(Me,mt){if(this.maxDate){const vt=this._dateAdapter.getYear(this.maxDate),ni=this._dateAdapter.getMonth(this.maxDate);return Me>vt||Me===vt&&mt>ni}return!1}_isYearAndMonthBeforeMinDate(Me,mt){if(this.minDate){const vt=this._dateAdapter.getYear(this.minDate),ni=this._dateAdapter.getMonth(this.minDate);return Me<vt||Me===vt&&mt<ni}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(Me){this._selectedMonth.set(Me instanceof kt?this._getMonthInCurrentYear(Me.start)||this._getMonthInCurrentYear(Me.end):this._getMonthInCurrentYear(Me))}static \u0275fac=function(mt){return new(mt||zt)};static \u0275cmp=t.VBU({type:zt,selectors:[["mat-year-view"]],viewQuery:function(mt,vt){if(1&mt&&t.GBs(J,5),2&mt){let ni;t.mGM(ni=t.lsd())&&(vt._matCalendarBody=ni.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(mt,vt){1&mt&&(t.j41(0,"table",0)(1,"thead",1)(2,"tr"),t.nrm(3,"th",2),t.k0s()(),t.j41(4,"tbody",3),t.bIt("selectedValueChange",function(Fi){return vt._monthSelected(Fi)})("activeDateChange",function(Fi){return vt._updateActiveDate(Fi)})("keyup",function(Fi){return vt._handleCalendarBodyKeyup(Fi)})("keydown",function(Fi){return vt._handleCalendarBodyKeydown(Fi)}),t.k0s()()),2&mt&&(t.R7$(4),t.Y8G("label",vt._yearLabel())("rows",vt._months())("todayValue",vt._todayMonth())("startValue",vt._selectedMonth())("endValue",vt._selectedMonth())("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",vt._dateAdapter.getMonth(vt.activeDate)))},dependencies:[J],encapsulation:2,changeDetection:0})}return zt})(),ci=(()=>{class zt{_intl=(0,i.WQX)(Pe);calendar=(0,i.WQX)(Hi);_dateAdapter=(0,i.WQX)(g.MJ,{optional:!0});_dateFormats=(0,i.WQX)(g.de,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){(0,i.WQX)(he.l).load(me.Y);const Me=(0,i.WQX)(p.gRc);this._updateLabels(),this.calendar.stateChanges.subscribe(()=>{this._updateLabels(),Me.markForCheck()})}get periodButtonText(){return this._periodButtonText}get periodButtonDescription(){return this._periodButtonDescription}get periodButtonLabel(){return this._periodButtonLabel}get prevButtonLabel(){return this._prevButtonLabel}get nextButtonLabel(){return this._nextButtonLabel}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.previousEnabled()&&(this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24))}nextClicked(){this.nextEnabled()&&(this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24))}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_updateLabels(){const Me=this.calendar,mt=this._intl,vt=this._dateAdapter;"month"===Me.currentView?(this._periodButtonText=vt.format(Me.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonDescription=vt.format(Me.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase(),this._periodButtonLabel=mt.switchToMultiYearViewLabel,this._prevButtonLabel=mt.prevMonthLabel,this._nextButtonLabel=mt.nextMonthLabel):"year"===Me.currentView?(this._periodButtonText=vt.getYearName(Me.activeDate),this._periodButtonDescription=vt.getYearName(Me.activeDate),this._periodButtonLabel=mt.switchToMonthViewLabel,this._prevButtonLabel=mt.prevYearLabel,this._nextButtonLabel=mt.nextYearLabel):(this._periodButtonText=mt.formatYearRange(...this._formatMinAndMaxYearLabels()),this._periodButtonDescription=mt.formatYearRangeLabel(...this._formatMinAndMaxYearLabels()),this._periodButtonLabel=mt.switchToMonthViewLabel,this._prevButtonLabel=mt.prevMultiYearLabel,this._nextButtonLabel=mt.nextMultiYearLabel)}_isSameView(Me,mt){return"month"==this.calendar.currentView?this._dateAdapter.getYear(Me)==this._dateAdapter.getYear(mt)&&this._dateAdapter.getMonth(Me)==this._dateAdapter.getMonth(mt):"year"==this.calendar.currentView?this._dateAdapter.getYear(Me)==this._dateAdapter.getYear(mt):qe(this._dateAdapter,Me,mt,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const mt=this._dateAdapter.getYear(this.calendar.activeDate)-$e(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),vt=mt+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(mt,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(vt,0,1))]}_periodButtonLabelId=(0,i.WQX)(m.g).getId("mat-calendar-period-label-");static \u0275fac=function(mt){return new(mt||zt)};static \u0275cmp=t.VBU({type:zt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Be,decls:17,vars:13,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["matButton","","type","button",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"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-previous-button",3,"click","disabled","matTooltip"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","disabledInteractive","",1,"mat-calendar-next-button",3,"click","disabled","matTooltip"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(mt,vt){1&mt&&(t.NAR(),t.j41(0,"div",0)(1,"div",1)(2,"span",2),t.EFF(3),t.k0s(),t.j41(4,"button",3),t.bIt("click",function(){return vt.currentPeriodClicked()}),t.j41(5,"span",4),t.EFF(6),t.k0s(),i.qSk(),t.j41(7,"svg",5),t.nrm(8,"polygon",6),t.k0s()(),i.joV(),t.nrm(9,"div",7),t.SdG(10),t.j41(11,"button",8),t.bIt("click",function(){return vt.previousClicked()}),i.qSk(),t.j41(12,"svg",9),t.nrm(13,"path",10),t.k0s()(),i.joV(),t.j41(14,"button",11),t.bIt("click",function(){return vt.nextClicked()}),i.qSk(),t.j41(15,"svg",9),t.nrm(16,"path",12),t.k0s()()()()),2&mt&&(t.R7$(2),t.Y8G("id",vt._periodButtonLabelId),t.R7$(),t.JRh(vt.periodButtonDescription),t.R7$(),t.BMQ("aria-label",vt.periodButtonLabel)("aria-describedby",vt._periodButtonLabelId),t.R7$(2),t.JRh(vt.periodButtonText),t.R7$(),t.AVh("mat-calendar-invert","month"!==vt.calendar.currentView),t.R7$(4),t.Y8G("disabled",!vt.previousEnabled())("matTooltip",vt.prevButtonLabel),t.BMQ("aria-label",vt.prevButtonLabel),t.R7$(3),t.Y8G("disabled",!vt.nextEnabled())("matTooltip",vt.nextButtonLabel),t.BMQ("aria-label",vt.nextButtonLabel))},dependencies:[D.$z,n.iY,o.oV],encapsulation:2,changeDetection:0})}return zt})(),Hi=(()=>{class zt{_dateAdapter=(0,i.WQX)(g.MJ,{optional:!0});_dateFormats=(0,i.WQX)(g.de,{optional:!0});_changeDetectorRef=(0,i.WQX)(p.gRc);_elementRef=(0,i.WQX)(t.aKT);headerComponent;_calendarHeaderPortal;_intlChanges;_moveFocusOnNextTick=!1;get startAt(){return this._startAt}set startAt(Me){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_startAt;startView="month";get selected(){return this._selected}set selected(Me){this._selected=Me instanceof kt?Me:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_selected;get minDate(){return this._minDate}set minDate(Me){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_minDate;get maxDate(){return this._maxDate}set maxDate(Me){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_maxDate;dateFilter;dateClass;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;selectedChange=new t.bkB;yearSelected=new t.bkB;monthSelected=new t.bkB;viewChanged=new t.bkB(!0);_userSelection=new t.bkB;_userDragDrop=new t.bkB;monthView;yearView;multiYearView;get activeDate(){return this._clampedActiveDate}set activeDate(Me){this._clampedActiveDate=this._dateAdapter.clampDate(Me,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}_clampedActiveDate;get currentView(){return this._currentView}set currentView(Me){const mt=this._currentView!==Me?Me:null;this._currentView=Me,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),mt&&(this.stateChanges.next(),this.viewChanged.emit(mt))}_currentView;_activeDrag=null;stateChanges=new S.B;constructor(){this._intlChanges=(0,i.WQX)(Pe).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new Q.A8(this.headerComponent||ci),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(Me){const mt=Me.minDate&&!this._dateAdapter.sameDate(Me.minDate.previousValue,Me.minDate.currentValue)?Me.minDate:void 0,vt=Me.maxDate&&!this._dateAdapter.sameDate(Me.maxDate.previousValue,Me.maxDate.currentValue)?Me.maxDate:void 0,ni=mt||vt||Me.dateFilter;if(ni&&!ni.firstChange){const Fi=this._getCurrentViewComponent();Fi&&(this._elementRef.nativeElement.contains((0,G.vc)())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),Fi._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(Me){const mt=Me.value;(this.selected instanceof kt||mt&&!this._dateAdapter.sameDate(mt,this.selected))&&this.selectedChange.emit(mt),this._userSelection.emit(Me)}_yearSelectedInMultiYearView(Me){this.yearSelected.emit(Me)}_monthSelectedInYearView(Me){this.monthSelected.emit(Me)}_goToDateInView(Me,mt){this.activeDate=Me,this.currentView=mt}_dragStarted(Me){this._activeDrag=Me}_dragEnded(Me){this._activeDrag&&(Me.value&&this._userDragDrop.emit(Me),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static \u0275fac=function(mt){return new(mt||zt)};static \u0275cmp=t.VBU({type:zt,selectors:[["mat-calendar"]],viewQuery:function(mt,vt){if(1&mt&&(t.GBs(Ye,5),t.GBs(ei,5),t.GBs(Jt,5)),2&mt){let ni;t.mGM(ni=t.lsd())&&(vt.monthView=ni.first),t.mGM(ni=t.lsd())&&(vt.yearView=ni.first),t.mGM(ni=t.lsd())&&(vt.multiYearView=ni.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[t.Jv_([se]),t.OA$],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(mt,vt){if(1&mt&&(t.DNE(0,_e,0,0,"ng-template",0),t.j41(1,"div",1),t.nVh(2,ye,1,11,"mat-month-view",2)(3,Le,1,6,"mat-year-view",3)(4,Ke,1,6,"mat-multi-year-view",3),t.k0s()),2&mt){let ni;t.Y8G("cdkPortalOutlet",vt._calendarHeaderPortal),t.R7$(2),t.vxM("month"===(ni=vt.currentView)?2:"year"===ni?3:"multi-year"===ni?4:-1)}},dependencies:[Q.I3,d.vR,Ye,ei,Jt],styles:['.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-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, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mat-button-text-label-text-color: var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.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, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.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, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.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, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-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, transparent)}.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:""}\n'],encapsulation:2,changeDetection:0})}return zt})();const oi=new i.nKC("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{const zt=(0,i.WQX)(i.zZn);return()=>(0,K.RH)(zt)}}),ln={provide:oi,deps:[],useFactory:function ui(zt){const ji=(0,i.WQX)(i.zZn);return()=>(0,K.RH)(ji)}};let nn=(()=>{class zt{_elementRef=(0,i.WQX)(t.aKT);_animationsDisabled=(0,f.Rc)();_changeDetectorRef=(0,i.WQX)(p.gRc);_globalModel=(0,i.WQX)(Rt);_dateAdapter=(0,i.WQX)(g.MJ);_ngZone=(0,i.WQX)(t.SKi);_rangeSelectionStrategy=(0,i.WQX)(Ne,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new S.B;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if((0,i.WQX)(he.l).load(me.Y),this._closeButtonText=(0,i.WQX)(Pe).closeCalendarLabel,!this._animationsDisabled){const Me=this._elementRef.nativeElement,mt=(0,i.WQX)(t.sFG);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[mt.listen(Me,"animationstart",this._handleAnimationEvent),mt.listen(Me,"animationend",this._handleAnimationEvent),mt.listen(Me,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){clearTimeout(this._animationFallback),this._eventCleanups?.forEach(Me=>Me()),this._stateChanges?.unsubscribe(),this._animationDone.complete()}_handleUserSelection(Me){const mt=this._model.selection,vt=Me.value,ni=mt instanceof kt;if(ni&&this._rangeSelectionStrategy){const Fi=this._rangeSelectionStrategy.selectionFinished(vt,mt,Me.event);this._model.updateSelection(Fi,this)}else vt&&(ni||!this._dateAdapter.sameDate(vt,mt))&&this._model.add(vt);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(Me){this._model.updateSelection(Me.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_handleAnimationEvent=Me=>{const mt=this._elementRef.nativeElement;Me.target!==mt||!Me.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating="animationstart"===Me.type,mt.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())};_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(Me,mt){this._model=Me?this._globalModel.clone():this._globalModel,this._actionsPortal=Me,mt&&this._changeDetectorRef.detectChanges()}static \u0275fac=function(mt){return new(mt||zt)};static \u0275cmp=t.VBU({type:zt,selectors:[["mat-datepicker-content"]],viewQuery:function(mt,vt){if(1&mt&&t.GBs(Hi,5),2&mt){let ni;t.mGM(ni=t.lsd())&&(vt._calendar=ni.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(mt,vt){2&mt&&(t.HbH(vt.color?"mat-"+vt.color:""),t.AVh("mat-datepicker-content-touch",vt.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!vt._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,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","matButton","elevated",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(mt,vt){1&mt&&(t.j41(0,"div",0)(1,"mat-calendar",1),t.bIt("yearSelected",function(Fi){return vt.datepicker._selectYear(Fi)})("monthSelected",function(Fi){return vt.datepicker._selectMonth(Fi)})("viewChanged",function(Fi){return vt.datepicker._viewChanged(Fi)})("_userSelection",function(Fi){return vt._handleUserSelection(Fi)})("_userDragDrop",function(Fi){return vt._handleUserDragDrop(Fi)}),t.k0s(),t.DNE(2,ge,0,0,"ng-template",2),t.j41(3,"button",3),t.bIt("focus",function(){return vt._closeButtonFocused=!0})("blur",function(){return vt._closeButtonFocused=!1})("click",function(){return vt.datepicker.close()}),t.EFF(4),t.k0s()()),2&mt&&(t.AVh("mat-datepicker-content-container-with-custom-header",vt.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",vt._actionsPortal),t.BMQ("aria-modal",!0)("aria-labelledby",vt._dialogLabelId??void 0),t.R7$(),t.HbH(vt.datepicker.panelClass),t.Y8G("id",vt.datepicker.id)("startAt",vt.datepicker.startAt)("startView",vt.datepicker.startView)("minDate",vt.datepicker._getMinDate())("maxDate",vt.datepicker._getMaxDate())("dateFilter",vt.datepicker._getDateFilter())("headerComponent",vt.datepicker.calendarHeaderComponent)("selected",vt._getSelected())("dateClass",vt.datepicker.dateClass)("comparisonStart",vt.comparisonStart)("comparisonEnd",vt.comparisonEnd)("startDateAccessibleName",vt.startDateAccessibleName)("endDateAccessibleName",vt.endDateAccessibleName),t.R7$(),t.Y8G("cdkPortalOutlet",vt._actionsPortal),t.R7$(),t.AVh("cdk-visually-hidden",!vt._closeButtonFocused),t.Y8G("color",vt.color||"primary"),t.R7$(),t.JRh(vt._closeButtonText))},dependencies:[w.kB,Hi,Q.I3,D.$z],styles:["@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.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}.mat-datepicker-content-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, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.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}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@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}}\n"],encapsulation:2,changeDetection:0})}return zt})(),dn=(()=>{class zt{_injector=(0,i.WQX)(i.zZn);_viewContainerRef=(0,i.WQX)(t.c1b);_dateAdapter=(0,i.WQX)(g.MJ,{optional:!0});_dir=(0,i.WQX)(P.dS,{optional:!0});_model=(0,i.WQX)(Rt);_animationsDisabled=(0,f.Rc)();_scrollStrategy=(0,i.WQX)(oi);_inputStateChanges=c.yU.EMPTY;_document=(0,i.WQX)(i.qQL);calendarHeaderComponent;get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(Me){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me))}_startAt;startView="month";get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(Me){this._color=Me}_color;touchUi=!1;get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(Me){Me!==this._disabled&&(this._disabled=Me,this.stateChanges.next(void 0))}_disabled;xPosition="start";yPosition="below";restoreFocus=!0;yearSelected=new t.bkB;monthSelected=new t.bkB;viewChanged=new t.bkB(!0);dateClass;openedStream=new t.bkB;closedStream=new t.bkB;get panelClass(){return this._panelClass}set panelClass(Me){this._panelClass=(0,M.cc)(Me)}_panelClass;get opened(){return this._opened}set opened(Me){Me?this.open():this.close()}_opened=!1;id=(0,i.WQX)(m.g).getId("mat-datepicker-");_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}_overlayRef;_componentRef;_focusedElementBeforeOpen=null;_backdropHarnessClass=`${this.id}-backdrop`;_actionsPortal;datepickerInput;stateChanges=new S.B;_changeDetectorRef=(0,i.WQX)(p.gRc);constructor(){this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}ngOnChanges(Me){const mt=Me.xPosition||Me.yPosition;if(mt&&!mt.firstChange&&this._overlayRef){const vt=this._overlayRef.getConfig().positionStrategy;vt instanceof K.rW&&(this._setConnectedPositions(vt),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(Me){this._model.add(Me)}_selectYear(Me){this.yearSelected.emit(Me)}_selectMonth(Me){this.monthSelected.emit(Me)}_viewChanged(Me){this.viewChanged.emit(Me)}registerInput(Me){return this._inputStateChanges.unsubscribe(),this.datepickerInput=Me,this._inputStateChanges=Me.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(Me){this._actionsPortal=Me,this._componentRef?.instance._assignActions(Me,!0)}removeActions(Me){Me===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,G.vc)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const Me=this.restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,mt=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:vt,location:ni}=this._componentRef;vt._animationDone.pipe((0,ue.s)(1)).subscribe(()=>{const Fi=this._document.activeElement;Me&&(!Fi||Fi===this._document.activeElement||ni.nativeElement.contains(Fi))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),vt._startExitAnimation()}Me?setTimeout(mt):mt()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(Me){Me.datepicker=this,Me.color=this.color,Me._dialogLabelId=this.datepickerInput.getOverlayLabelId(),Me._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const Me=this.touchUi,mt=new Q.A8(nn,this._viewContainerRef),vt=this._overlayRef=(0,K.Y$)(this._injector,new K.rR({positionStrategy:Me?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[Me?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:Me?(0,K.gA)(this._injector):this._scrollStrategy(),panelClass:"mat-datepicker-"+(Me?"dialog":"popup"),disableAnimations:this._animationsDisabled}));this._getCloseStream(vt).subscribe(ni=>{ni&&ni.preventDefault(),this.close()}),vt.keydownEvents().subscribe(ni=>{const Fi=ni.keyCode;(Fi===j.i7||Fi===j.n6||Fi===j.UQ||Fi===j.LE||Fi===j.w_||Fi===j.dB)&&ni.preventDefault()}),this._componentRef=vt.attach(mt),this._forwardContentValues(this._componentRef.instance),Me||(0,t.mal)(()=>{vt.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return(0,K.uA)(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){const Me=(0,K.$M)(this._injector,this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(Me)}_setConnectedPositions(Me){const mt="end"===this.xPosition?"end":"start",vt="start"===mt?"end":"start",ni="above"===this.yPosition?"bottom":"top",Fi="top"===ni?"bottom":"top";return Me.withPositions([{originX:mt,originY:Fi,overlayX:mt,overlayY:ni},{originX:mt,originY:ni,overlayX:mt,overlayY:Fi},{originX:vt,originY:Fi,overlayX:vt,overlayY:ni},{originX:vt,originY:ni,overlayX:vt,overlayY:Fi}])}_getCloseStream(Me){const mt=["ctrlKey","shiftKey","metaKey"];return(0,e.h)(Me.backdropClick(),Me.detachments(),Me.keydownEvents().pipe((0,$.p)(vt=>vt.keyCode===j._f&&!(0,U.rp)(vt)||this.datepickerInput&&(0,U.rp)(vt,"altKey")&&vt.keyCode===j.i7&&mt.every(ni=>!(0,U.rp)(vt,ni)))))}static \u0275fac=function(mt){return new(mt||zt)};static \u0275dir=t.FsC({type:zt,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",p.L39],disabled:[2,"disabled","disabled",p.L39],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",p.L39],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",p.L39]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[t.OA$]})}return zt})(),zn=(()=>{class zt extends dn{static \u0275fac=(()=>{let Me;return function(vt){return(Me||(Me=t.xGo(zt)))(vt||zt)}})();static \u0275cmp=t.VBU({type:zt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[t.Jv_([se,{provide:dn,useExisting:zt}]),t.Vt3],decls:0,vars:0,template:function(mt,vt){},encapsulation:2,changeDetection:0})}return zt})();class It{target;targetElement;value;constructor(ji,Me){this.target=ji,this.targetElement=Me,this.value=this.target.value}}let Tt=(()=>{class zt{_elementRef=(0,i.WQX)(t.aKT);_dateAdapter=(0,i.WQX)(g.MJ,{optional:!0});_dateFormats=(0,i.WQX)(g.de,{optional:!0});_isInitialized;get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(Me){this._assignValueProgrammatically(Me)}_model;get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(Me){const mt=Me,vt=this._elementRef.nativeElement;this._disabled!==mt&&(this._disabled=mt,this.stateChanges.next(void 0)),mt&&this._isInitialized&&vt.blur&&vt.blur()}_disabled;dateChange=new t.bkB;dateInput=new t.bkB;stateChanges=new S.B;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=c.yU.EMPTY;_localeSubscription=c.yU.EMPTY;_pendingValue;_parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}};_filterValidator=Me=>{const mt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me.value));return!mt||this._matchesFilter(mt)?null:{matDatepickerFilter:!0}};_minValidator=Me=>{const mt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me.value)),vt=this._getMinDate();return!vt||!mt||this._dateAdapter.compareDate(vt,mt)<=0?null:{matDatepickerMin:{min:vt,actual:mt}}};_maxValidator=Me=>{const mt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me.value)),vt=this._getMaxDate();return!vt||!mt||this._dateAdapter.compareDate(vt,mt)>=0?null:{matDatepickerMax:{max:vt,actual:mt}}};_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(Me){this._model=Me,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(mt=>{if(this._shouldHandleChangeEvent(mt)){const vt=this._getValueFromModel(mt.selection);this._lastValueValid=this._isValidValue(vt),this._cvaOnChange(vt),this._onTouched(),this._formatValue(vt),this.dateInput.emit(new It(this,this._elementRef.nativeElement)),this.dateChange.emit(new It(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(Me){(function Ze(zt,ji){const Me=Object.keys(zt);for(let mt of Me){const{previousValue:vt,currentValue:ni}=zt[mt];if(!ji.isDateInstance(vt)||!ji.isDateInstance(ni))return!0;if(!ji.sameDate(vt,ni))return!0}return!1})(Me,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(Me){this._validatorOnChange=Me}validate(Me){return this._validator?this._validator(Me):null}writeValue(Me){this._assignValueProgrammatically(Me)}registerOnChange(Me){this._cvaOnChange=Me}registerOnTouched(Me){this._onTouched=Me}setDisabledState(Me){this.disabled=Me}_onKeydown(Me){(0,U.rp)(Me,"altKey")&&Me.keyCode===j.n6&&["ctrlKey","shiftKey","metaKey"].every(ni=>!(0,U.rp)(Me,ni))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),Me.preventDefault())}_onInput(Me){const mt=Me.target.value,vt=this._lastValueValid;let ni=this._dateAdapter.parse(mt,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ni),ni=this._dateAdapter.getValidDateOrNull(ni);const Fi=!this._dateAdapter.sameDate(ni,this.value);!ni||Fi?this._cvaOnChange(ni):(mt&&!this.value&&this._cvaOnChange(ni),vt!==this._lastValueValid&&this._validatorOnChange()),Fi&&(this._assignValue(ni),this.dateInput.emit(new It(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new It(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(Me){this._elementRef.nativeElement.value=null!=Me?this._dateAdapter.format(Me,this._dateFormats.display.dateInput):""}_assignValue(Me){this._model?(this._assignValueToModel(Me),this._pendingValue=null):this._pendingValue=Me}_isValidValue(Me){return!Me||this._dateAdapter.isValid(Me)}_parentDisabled(){return!1}_assignValueProgrammatically(Me){Me=this._dateAdapter.deserialize(Me),this._lastValueValid=this._isValidValue(Me),Me=this._dateAdapter.getValidDateOrNull(Me),this._assignValue(Me),this._formatValue(Me)}_matchesFilter(Me){const mt=this._getDateFilter();return!mt||mt(Me)}static \u0275fac=function(mt){return new(mt||zt)};static \u0275dir=t.FsC({type:zt,inputs:{value:"value",disabled:[2,"disabled","disabled",p.L39]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[t.OA$]})}return zt})();const Ve={provide:h.kq,useExisting:(0,i.Rfq)(()=>it),multi:!0},Fe={provide:h.cz,useExisting:(0,i.Rfq)(()=>it),multi:!0};let it=(()=>{class zt extends Tt{_formField=(0,i.WQX)(A.xb,{optional:!0});_closedSubscription=c.yU.EMPTY;_openedSubscription=c.yU.EMPTY;set matDatepicker(Me){Me&&(this._datepicker=Me,this._ariaOwns.set(Me.opened?Me.id:null),this._closedSubscription=Me.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=Me.openedStream.subscribe(()=>{this._ariaOwns.set(Me.id)}),this._registerModel(Me.registerInput(this)))}_datepicker;_ariaOwns=(0,i.vPA)(null);get min(){return this._min}set min(Me){const mt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me));this._dateAdapter.sameDate(mt,this._min)||(this._min=mt,this._validatorOnChange())}_min;get max(){return this._max}set max(Me){const mt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Me));this._dateAdapter.sameDate(mt,this._max)||(this._max=mt,this._validatorOnChange())}_max;get dateFilter(){return this._dateFilter}set dateFilter(Me){const mt=this._matchesFilter(this.value);this._dateFilter=Me,this._matchesFilter(this.value)!==mt&&this._validatorOnChange()}_dateFilter;_validator;constructor(){super(),this._validator=h.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(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(Me){return Me}_assignValueToModel(Me){this._model&&this._model.updateSelection(Me,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(Me){return Me.source!==this}static \u0275fac=function(mt){return new(mt||zt)};static \u0275dir=t.FsC({type:zt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(mt,vt){1&mt&&t.bIt("input",function(Fi){return vt._onInput(Fi)})("change",function(){return vt._onChange()})("blur",function(){return vt._onBlur()})("keydown",function(Fi){return vt._onKeydown(Fi)}),2&mt&&(t.Avn("disabled",vt.disabled),t.BMQ("aria-haspopup",vt._datepicker?"dialog":null)("aria-owns",vt._ariaOwns())("min",vt.min?vt._dateAdapter.toIso8601(vt.min):null)("max",vt.max?vt._dateAdapter.toIso8601(vt.max):null)("data-mat-calendar",vt._datepicker?vt._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[t.Jv_([Ve,Fe,{provide:b.O,useExisting:zt}]),t.Vt3]})}return zt})(),bt=(()=>{class zt{static \u0275fac=function(mt){return new(mt||zt)};static \u0275dir=t.FsC({type:zt,selectors:[["","matDatepickerToggleIcon",""]]})}return zt})(),ut=(()=>{class zt{_intl=(0,i.WQX)(Pe);_changeDetectorRef=(0,i.WQX)(p.gRc);_stateChanges=c.yU.EMPTY;datepicker;tabIndex;ariaLabel;get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(Me){this._disabled=Me}_disabled;disableRipple;_customIcon;_button;constructor(){const Me=(0,i.WQX)(new p.ES_("tabindex"),{optional:!0}),mt=Number(Me);this.tabIndex=mt||0===mt?mt:null}ngOnChanges(Me){Me.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(Me){this.datepicker&&!this.disabled&&(this.datepicker.open(),Me.stopPropagation())}_watchStateChanges(){const Me=this.datepicker?this.datepicker.stateChanges:(0,T.of)(),mt=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,T.of)(),vt=this.datepicker?(0,e.h)(this.datepicker.openedStream,this.datepicker.closedStream):(0,T.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,e.h)(this._intl.changes,Me,mt,vt).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(mt){return new(mt||zt)};static \u0275cmp=t.VBU({type:zt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(mt,vt,ni){if(1&mt&&t.wni(ni,bt,5),2&mt){let Fi;t.mGM(Fi=t.lsd())&&(vt._customIcon=Fi.first)}},viewQuery:function(mt,vt){if(1&mt&&t.GBs(ve,5),2&mt){let ni;t.mGM(ni=t.lsd())&&(vt._button=ni.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(mt,vt){1&mt&&t.bIt("click",function(Fi){return vt._open(Fi)}),2&mt&&(t.BMQ("tabindex",null)("data-mat-calendar",vt.datepicker?vt.datepicker.id:null),t.AVh("mat-datepicker-toggle-active",vt.datepicker&&vt.datepicker.opened)("mat-accent",vt.datepicker&&"accent"===vt.datepicker.color)("mat-warn",vt.datepicker&&"warn"===vt.datepicker.color))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",p.L39],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[t.OA$],ngContentSelectors:Ee,decls:4,vars:7,consts:[["button",""],["matIconButton","","type","button",3,"tabIndex","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(mt,vt){1&mt&&(t.NAR(Oe),t.j41(0,"button",1,0),t.nVh(2,dt,2,0,":svg:svg",2),t.SdG(3),t.k0s()),2&mt&&(t.Y8G("tabIndex",vt.disabled?-1:vt.tabIndex)("disabled",vt.disabled)("disableRipple",vt.disableRipple),t.BMQ("aria-haspopup",vt.datepicker?"dialog":null)("aria-label",vt.ariaLabel||vt._intl.openCalendarLabel)("aria-expanded",vt.datepicker?vt.datepicker.opened:null),t.R7$(2),t.vxM(vt._customIcon?-1:2))},dependencies:[n.iY],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle button{color:inherit}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}\n"],encapsulation:2,changeDetection:0})}return zt})(),Ai=(()=>{class zt{static \u0275fac=function(mt){return new(mt||zt)};static \u0275mod=t.$C({type:zt});static \u0275inj=i.G2t({providers:[Pe,ln],imports:[D.Hl,K.z_,w.Pd,Q.jc,x.y,nn,ut,ci,k.Gj]})}return zt})()},25443:(Ae,ee,l)=>{"use strict";Ae.exports=function(t){var p=t.toLowerCase(),S=Ae.exports[p];if(!S)throw new Error(p+" is not supported (we accept pull requests)");return new S},Ae.exports.sha=l(48585),Ae.exports.sha1=l(21270),Ae.exports.sha224=l(42709),Ae.exports.sha256=l(32148),Ae.exports.sha384=l(51856),Ae.exports.sha512=l(3121)},25558:(Ae,ee,l)=>{"use strict";l.d(ee,{n:()=>S});var i=l(58750),t=l(39974),p=l(54360);function S(c,e){return(0,t.N)((T,g)=>{let d=null,w=0,m=!1;const P=()=>m&&!d&&g.complete();T.subscribe((0,p._)(g,M=>{d?.unsubscribe();let j=0;const U=w++;(0,i.Tg)(c(M,U)).subscribe(d=(0,p._)(g,K=>g.next(e?e(M,K,U,j++):K),()=>{d=null,P()}))},()=>{m=!0,P()}))})}},25596:(Ae,ee,l)=>{"use strict";l.d(ee,{Hu:()=>me,Lc:()=>j,MM:()=>K,RN:()=>w,dh:()=>m,m2:()=>M});var i=l(2615),t=l(73664),p=l(22466);const S=["*"],T=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],g=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],d=new i.nKC("MAT_CARD_CONFIG");let w=(()=>{class Te{appearance;constructor(){const n=(0,i.WQX)(d,{optional:!0});this.appearance=n?.appearance||"raised"}static \u0275fac=function(o){return new(o||Te)};static \u0275cmp=t.VBU({type:Te,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:8,hostBindings:function(o,f){2&o&&t.AVh("mat-mdc-card-outlined","outlined"===f.appearance)("mdc-card--outlined","outlined"===f.appearance)("mat-mdc-card-filled","filled"===f.appearance)("mdc-card--filled","filled"===f.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:S,decls:1,vars:0,template:function(o,f){1&o&&(t.NAR(),t.SdG(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-color:var(--mat-card-elevated-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-elevated-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mat-card-elevated-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mat-card-outlined-container-color, var(--mat-sys-surface));border-radius:var(--mat-card-outlined-container-shape, var(--mat-sys-corner-medium));border-width:var(--mat-card-outlined-outline-width, 1px);border-color:var(--mat-card-outlined-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mat-card-outlined-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mat-mdc-card-filled{background-color:var(--mat-card-filled-container-color, var(--mat-sys-surface-container-highest));border-radius:var(--mat-card-filled-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mat-card-filled-container-elevation, var(--mat-sys-level0))}.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}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.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}\n'],encapsulation:2,changeDetection:0})}return Te})(),m=(()=>{class Te{static \u0275fac=function(o){return new(o||Te)};static \u0275dir=t.FsC({type:Te,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return Te})(),M=(()=>{class Te{static \u0275fac=function(o){return new(o||Te)};static \u0275dir=t.FsC({type:Te,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return Te})(),j=(()=>{class Te{static \u0275fac=function(o){return new(o||Te)};static \u0275dir=t.FsC({type:Te,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return Te})(),K=(()=>{class Te{static \u0275fac=function(o){return new(o||Te)};static \u0275cmp=t.VBU({type:Te,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:g,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(o,f){1&o&&(t.NAR(T),t.SdG(0),t.rj2(1,"div",0),t.SdG(2,1),t.eux(),t.SdG(3,2))},encapsulation:2,changeDetection:0})}return Te})(),me=(()=>{class Te{static \u0275fac=function(o){return new(o||Te)};static \u0275mod=t.$C({type:Te});static \u0275inj=i.G2t({imports:[p.y,p.y]})}return Te})()},26254:(Ae,ee,l)=>{const i=l(19089),S=i.getBCHDigit(1335);ee.getEncodedBits=function(e,T){const g=e.bit<<3|T;let d=g<<10;for(;i.getBCHDigit(d)-S>=0;)d^=1335<<i.getBCHDigit(d)-S;return 21522^(g<<10|d)}},26365:(Ae,ee,l)=>{"use strict";l.d(ee,{U:()=>p});var i=l(31397),t=l(33669);function p(S=1/0){return(0,i.Z)(t.D,S)}},26881:(Ae,ee,l)=>{"use strict";l.d(ee,{p:()=>S});var i=l(2615),t=l(73664),p=l(22466);let S=(()=>{class c{static \u0275fac=function(g){return new(g||c)};static \u0275mod=t.$C({type:c});static \u0275inj=i.G2t({imports:[p.y,p.y]})}return c})()},27054:(Ae,ee,l)=>{var i=l(83838),t=i.Buffer;function p(c,e){for(var T in c)e[T]=c[T]}function S(c,e,T){return t(c,e,T)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Ae.exports=i:(p(i,ee),ee.Buffer=S),S.prototype=Object.create(t.prototype),p(t,S),S.from=function(c,e,T){if("number"==typeof c)throw new TypeError("Argument must not be a number");return t(c,e,T)},S.alloc=function(c,e,T){if("number"!=typeof c)throw new TypeError("Argument must be a number");var g=t(c);return void 0!==e?"string"==typeof T?g.fill(e,T):g.fill(e):g.fill(0),g},S.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return t(c)},S.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return i.SlowBuffer(c)}},27138:(Ae,ee,l)=>{"use strict";var i=l(68283),t=l(12901),p=l(95542),S=l(39210),c=i.sum32,e=i.sum32_4,T=i.sum32_5,g=p.ch32,d=p.maj32,w=p.s0_256,m=p.s1_256,P=p.g0_256,M=p.g1_256,j=t.BlockHash,U=[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 K(){if(!(this instanceof K))return new K;j.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=U,this.W=new Array(64)}i.inherits(K,j),Ae.exports=K,K.blockSize=512,K.outSize=256,K.hmacStrength=192,K.padLength=64,K.prototype._update=function(G,Q){for(var $=this.W,ae=0;ae<16;ae++)$[ae]=G[Q+ae];for(;ae<$.length;ae++)$[ae]=e(M($[ae-2]),$[ae-7],P($[ae-15]),$[ae-16]);var ue=this.h[0],oe=this.h[1],he=this.h[2],me=this.h[3],Te=this.h[4],D=this.h[5],n=this.h[6],o=this.h[7];for(S(this.k.length===$.length),ae=0;ae<$.length;ae++){var f=T(o,m(Te),g(Te,D,n),this.k[ae],$[ae]),h=c(w(ue),d(ue,oe,he));o=n,n=D,D=Te,Te=c(me,f),me=he,he=oe,oe=ue,ue=c(f,h)}this.h[0]=c(this.h[0],ue),this.h[1]=c(this.h[1],oe),this.h[2]=c(this.h[2],he),this.h[3]=c(this.h[3],me),this.h[4]=c(this.h[4],Te),this.h[5]=c(this.h[5],D),this.h[6]=c(this.h[6],n),this.h[7]=c(this.h[7],o)},K.prototype._digest=function(G){return"hex"===G?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},27203:(Ae,ee,l)=>{"use strict";var i=l(65891);Ae.exports=i.getPrototypeOf||null},27468:(Ae,ee,l)=>{"use strict";l.d(ee,{p:()=>g});var i=l(71985),t=l(93073),p=l(58750),S=l(9326),c=l(54360),e=l(6450),T=l(58496);function g(...d){const w=(0,S.ms)(d),{args:m,keys:P}=(0,t.D)(d),M=new i.c(j=>{const{length:U}=m;if(!U)return void j.complete();const K=new Array(U);let q=U,G=U;for(let Q=0;Q<U;Q++){let $=!1;(0,p.Tg)(m[Q]).subscribe((0,c._)(j,ae=>{$||($=!0,G--),K[Q]=ae},()=>q--,void 0,()=>{(!q||!$)&&(G||j.next(P?(0,T.e)(P,K):K),j.complete())}))}});return w?M.pipe((0,e.I)(w)):M}},27637:(Ae,ee,l)=>{function U(K){return Object.prototype.toString.call(K)}ee.isArray=function i(K){return Array.isArray?Array.isArray(K):"[object Array]"===U(K)},ee.isBoolean=function t(K){return"boolean"==typeof K},ee.isNull=function p(K){return null===K},ee.isNullOrUndefined=function S(K){return null==K},ee.isNumber=function c(K){return"number"==typeof K},ee.isString=function e(K){return"string"==typeof K},ee.isSymbol=function T(K){return"symbol"==typeof K},ee.isUndefined=function g(K){return void 0===K},ee.isRegExp=function d(K){return"[object RegExp]"===U(K)},ee.isObject=function w(K){return"object"==typeof K&&null!==K},ee.isDate=function m(K){return"[object Date]"===U(K)},ee.isError=function P(K){return"[object Error]"===U(K)||K instanceof Error},ee.isFunction=function M(K){return"function"==typeof K},ee.isPrimitive=function j(K){return null===K||"boolean"==typeof K||"number"==typeof K||"string"==typeof K||"symbol"==typeof K||typeof K>"u"},ee.isBuffer=l(83838).Buffer.isBuffer},27809:(Ae,ee,l)=>{"use strict";var t=l(2655).Buffer,p=l(15340);function S(c,e,T){c.copy(e,T)}Ae.exports=function(){function c(){(function i(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")})(this,c),this.head=null,this.tail=null,this.length=0}return c.prototype.push=function(T){var g={data:T,next:null};this.length>0?this.tail.next=g:this.head=g,this.tail=g,++this.length},c.prototype.unshift=function(T){var g={data:T,next:this.head};0===this.length&&(this.tail=g),this.head=g,++this.length},c.prototype.shift=function(){if(0!==this.length){var T=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,T}},c.prototype.clear=function(){this.head=this.tail=null,this.length=0},c.prototype.join=function(T){if(0===this.length)return"";for(var g=this.head,d=""+g.data;g=g.next;)d+=T+g.data;return d},c.prototype.concat=function(T){if(0===this.length)return t.alloc(0);for(var g=t.allocUnsafe(T>>>0),d=this.head,w=0;d;)S(d.data,g,w),w+=d.data.length,d=d.next;return g},c}(),p&&p.inspect&&p.inspect.custom&&(Ae.exports.prototype[p.inspect.custom]=function(){var c=p.inspect({length:this.length});return this.constructor.name+" "+c})},28203:(Ae,ee,l)=>{"use strict";l.d(ee,{jI:()=>S});var i=l(2615),t=l(73664);let S=(()=>{class c{static \u0275fac=function(g){return new(g||c)};static \u0275mod=t.$C({type:c});static \u0275inj=i.G2t({})}return c})()},28211:(Ae,ee,l)=>{"use strict";function i(t){return t instanceof Date&&!isNaN(t)}l.d(ee,{v:()=>i})},28430:(Ae,ee,l)=>{"use strict";l.d(ee,{$6:()=>B,$J:()=>r,$Q:()=>D,Aw:()=>g,C2:()=>m,CK:()=>ae,Db:()=>Ht,Do:()=>I,Dq:()=>be,ED:()=>ct,EM:()=>Ke,Eb:()=>Oe,Ew:()=>ge,Fd:()=>oe,GZ:()=>ve,Gy:()=>j,Gz:()=>Mt,Hm:()=>Te,Jx:()=>pe,Ml:()=>lt,N4:()=>he,NS:()=>e,NU:()=>Ce,Qj:()=>U,Qv:()=>Pe,Sn:()=>T,T4:()=>me,Uj:()=>ue,VK:()=>re,We:()=>G,XT:()=>P,Yi:()=>x,Zi:()=>$,a5:()=>Be,aB:()=>_e,cR:()=>b,dv:()=>n,ed:()=>Q,fy:()=>o,g6:()=>Le,gf:()=>S,ij:()=>k,jQ:()=>Ct,kQ:()=>nt,kX:()=>w,kv:()=>W,lg:()=>c,no:()=>p,qw:()=>Ee,sq:()=>K,uK:()=>_,vL:()=>f,w0:()=>h,x1:()=>d,y0:()=>dt,zU:()=>A});var i=l(59640),t=l(4416);const p=(0,i.VP)(t.TC.UPDATE_API_CALL_STATUS_CLN,(0,i.xk)()),S=(0,i.VP)(t.TC.RESET_CLN_STORE),c=(0,i.VP)(t.TC.FETCH_PAGE_SETTINGS_CLN),e=(0,i.VP)(t.TC.SET_PAGE_SETTINGS_CLN,(0,i.xk)()),T=(0,i.VP)(t.TC.SAVE_PAGE_SETTINGS_CLN,(0,i.xk)()),g=(0,i.VP)(t.TC.FETCH_INFO_CLN,(0,i.xk)()),d=(0,i.VP)(t.TC.SET_INFO_CLN,(0,i.xk)()),w=(0,i.VP)(t.TC.FETCH_FEE_RATES_CLN,(0,i.xk)()),m=(0,i.VP)(t.TC.SET_FEE_RATES_CLN,(0,i.xk)()),P=(0,i.VP)(t.TC.GET_NEW_ADDRESS_CLN,(0,i.xk)()),j=((0,i.VP)(t.TC.SET_NEW_ADDRESS_CLN,(0,i.xk)()),(0,i.VP)(t.TC.FETCH_PEERS_CLN)),U=(0,i.VP)(t.TC.SET_PEERS_CLN,(0,i.xk)()),K=(0,i.VP)(t.TC.SAVE_NEW_PEER_CLN,(0,i.xk)()),G=((0,i.VP)(t.TC.NEWLY_ADDED_PEER_CLN,(0,i.xk)()),(0,i.VP)(t.TC.ADD_PEER_CLN,(0,i.xk)())),Q=(0,i.VP)(t.TC.DETACH_PEER_CLN,(0,i.xk)()),$=(0,i.VP)(t.TC.REMOVE_PEER_CLN,(0,i.xk)()),ae=(0,i.VP)(t.TC.FETCH_PAYMENTS_CLN),ue=(0,i.VP)(t.TC.SET_PAYMENTS_CLN,(0,i.xk)()),oe=(0,i.VP)(t.TC.SEND_PAYMENT_CLN,(0,i.xk)()),he=(0,i.VP)(t.TC.SEND_PAYMENT_STATUS_CLN,(0,i.xk)()),me=(0,i.VP)(t.TC.GET_QUERY_ROUTES_CLN,(0,i.xk)()),Te=(0,i.VP)(t.TC.SET_QUERY_ROUTES_CLN,(0,i.xk)()),D=(0,i.VP)(t.TC.FETCH_CHANNELS_CLN),n=(0,i.VP)(t.TC.SET_CHANNELS_CLN,(0,i.xk)()),o=(0,i.VP)(t.TC.UPDATE_CHANNEL_CLN,(0,i.xk)()),f=(0,i.VP)(t.TC.SAVE_NEW_CHANNEL_CLN,(0,i.xk)()),h=(0,i.VP)(t.TC.CLOSE_CHANNEL_CLN,(0,i.xk)()),b=(0,i.VP)(t.TC.REMOVE_CHANNEL_CLN,(0,i.xk)()),A=(0,i.VP)(t.TC.PEER_LOOKUP_CLN,(0,i.xk)()),k=(0,i.VP)(t.TC.CHANNEL_LOOKUP_CLN,(0,i.xk)()),x=(0,i.VP)(t.TC.INVOICE_LOOKUP_CLN,(0,i.xk)()),r=(0,i.VP)(t.TC.SET_LOOKUP_CLN,(0,i.xk)()),_=(0,i.VP)(t.TC.GET_FORWARDING_HISTORY_CLN,(0,i.xk)()),W=(0,i.VP)(t.TC.SET_FORWARDING_HISTORY_CLN,(0,i.xk)()),I=(0,i.VP)(t.TC.FETCH_INVOICES_CLN),B=(0,i.VP)(t.TC.SET_INVOICES_CLN,(0,i.xk)()),re=(0,i.VP)(t.TC.SAVE_NEW_INVOICE_CLN,(0,i.xk)()),pe=(0,i.VP)(t.TC.ADD_INVOICE_CLN,(0,i.xk)()),be=(0,i.VP)(t.TC.UPDATE_INVOICE_CLN,(0,i.xk)()),Be=(0,i.VP)(t.TC.DELETE_EXPIRED_INVOICE_CLN,(0,i.xk)()),_e=(0,i.VP)(t.TC.SET_CHANNEL_TRANSACTION_CLN,(0,i.xk)()),Le=((0,i.VP)(t.TC.SET_CHANNEL_TRANSACTION_RES_CLN,(0,i.xk)()),(0,i.VP)(t.TC.FETCH_UTXO_BALANCES_CLN)),Ke=(0,i.VP)(t.TC.SET_UTXO_BALANCES_CLN,(0,i.xk)()),ge=(0,i.VP)(t.TC.FETCH_OFFER_INVOICE_CLN,(0,i.xk)()),ve=(0,i.VP)(t.TC.SET_OFFER_INVOICE_CLN,(0,i.xk)()),Oe=(0,i.VP)(t.TC.FETCH_OFFERS_CLN),Ee=(0,i.VP)(t.TC.SET_OFFERS_CLN,(0,i.xk)()),dt=(0,i.VP)(t.TC.SAVE_NEW_OFFER_CLN,(0,i.xk)()),nt=(0,i.VP)(t.TC.ADD_OFFER_CLN,(0,i.xk)()),Ct=(0,i.VP)(t.TC.DISABLE_OFFER_CLN,(0,i.xk)()),Mt=(0,i.VP)(t.TC.UPDATE_OFFER_CLN,(0,i.xk)()),lt=(0,i.VP)(t.TC.FETCH_OFFER_BOOKMARKS_CLN),Pe=(0,i.VP)(t.TC.SET_OFFER_BOOKMARKS_CLN,(0,i.xk)()),Ht=(0,i.VP)(t.TC.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,i.xk)()),ct=(0,i.VP)(t.TC.DELETE_OFFER_BOOKMARK_CLN,(0,i.xk)()),Ce=(0,i.VP)(t.TC.REMOVE_OFFER_BOOKMARK_CLN,(0,i.xk)())},28793:(Ae,ee,l)=>{"use strict";l.d(ee,{x:()=>c});var i=l(26365),p=l(9326),S=l(22806);function c(...e){return function t(){return(0,i.U)(1)}()((0,S.H)(e,(0,p.lI)(e)))}},29042:(Ae,ee,l)=>{"use strict";var i=l(88723),t=l(33556),p=l(3136),S=l(23401),c=l(35294),e=p.assert,T=l(60541),g=l(40484);function d(w){if(!(this instanceof d))return new d(w);"string"==typeof w&&(e(Object.prototype.hasOwnProperty.call(S,w),"Unknown curve "+w),w=S[w]),w instanceof S.PresetCurve&&(w={curve:w}),this.curve=w.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=w.curve.g,this.g.precompute(w.curve.n.bitLength()+1),this.hash=w.hash||w.curve.hash}Ae.exports=d,d.prototype.keyPair=function(m){return new T(this,m)},d.prototype.keyFromPrivate=function(m,P){return T.fromPrivate(this,m,P)},d.prototype.keyFromPublic=function(m,P){return T.fromPublic(this,m,P)},d.prototype.genKeyPair=function(m){m||(m={});for(var P=new t({hash:this.hash,pers:m.pers,persEnc:m.persEnc||"utf8",entropy:m.entropy||c(this.hash.hmacStrength),entropyEnc:m.entropy&&m.entropyEnc||"utf8",nonce:this.n.toArray()}),M=this.n.byteLength(),j=this.n.sub(new i(2));;){var U=new i(P.generate(M));if(!(U.cmp(j)>0))return U.iaddn(1),this.keyFromPrivate(U)}},d.prototype._truncateToN=function(m,P,M){var j;if(i.isBN(m)||"number"==typeof m)j=(m=new i(m,16)).byteLength();else if("object"==typeof m)j=m.length,m=new i(m,16);else{var U=m.toString();j=U.length+1>>>1,m=new i(U,16)}"number"!=typeof M&&(M=8*j);var K=M-this.n.bitLength();return K>0&&(m=m.ushrn(K)),!P&&m.cmp(this.n)>=0?m.sub(this.n):m},d.prototype.sign=function(m,P,M,j){if("object"==typeof M&&(j=M,M=null),j||(j={}),"string"!=typeof m&&"number"!=typeof m&&!i.isBN(m)){e("object"==typeof m&&m&&"number"==typeof m.length,"Expected message to be an array-like, a hex string, or a BN instance"),e(m.length>>>0===m.length);for(var U=0;U<m.length;U++)e((255&m[U])===m[U])}P=this.keyFromPrivate(P,M),m=this._truncateToN(m,!1,j.msgBitLength),e(!m.isNeg(),"Can not sign a negative message");var K=this.n.byteLength(),q=P.getPrivate().toArray("be",K),G=m.toArray("be",K);e(new i(G).eq(m),"Can not sign message");for(var Q=new t({hash:this.hash,entropy:q,nonce:G,pers:j.pers,persEnc:j.persEnc||"utf8"}),$=this.n.sub(new i(1)),ae=0;;ae++){var ue=j.k?j.k(ae):new i(Q.generate(this.n.byteLength()));if(!((ue=this._truncateToN(ue,!0)).cmpn(1)<=0||ue.cmp($)>=0)){var oe=this.g.mul(ue);if(!oe.isInfinity()){var he=oe.getX(),me=he.umod(this.n);if(0!==me.cmpn(0)){var Te=ue.invm(this.n).mul(me.mul(P.getPrivate()).iadd(m));if(0!==(Te=Te.umod(this.n)).cmpn(0)){var D=(oe.getY().isOdd()?1:0)|(0!==he.cmp(me)?2:0);return j.canonical&&Te.cmp(this.nh)>0&&(Te=this.n.sub(Te),D^=1),new g({r:me,s:Te,recoveryParam:D})}}}}}},d.prototype.verify=function(m,P,M,j,U){U||(U={}),m=this._truncateToN(m,!1,U.msgBitLength),M=this.keyFromPublic(M,j);var K=(P=new g(P,"hex")).r,q=P.s;if(K.cmpn(1)<0||K.cmp(this.n)>=0||q.cmpn(1)<0||q.cmp(this.n)>=0)return!1;var ae,G=q.invm(this.n),Q=G.mul(m).umod(this.n),$=G.mul(K).umod(this.n);return this.curve._maxwellTrick?!(ae=this.g.jmulAdd(Q,M.getPublic(),$)).isInfinity()&&ae.eqXToP(K):!(ae=this.g.mulAdd(Q,M.getPublic(),$)).isInfinity()&&0===ae.getX().umod(this.n).cmp(K)},d.prototype.recoverPubKey=function(w,m,P,M){e((3&P)===P,"The recovery param is more than two bits"),m=new g(m,M);var j=this.n,U=new i(w),K=m.r,q=m.s,G=1&P,Q=P>>1;if(K.cmp(this.curve.p.umod(this.curve.n))>=0&&Q)throw new Error("Unable to find sencond key candinate");K=this.curve.pointFromX(Q?K.add(this.curve.n):K,G);var $=m.r.invm(j),ae=j.sub(U).mul($).umod(j),ue=q.mul($).umod(j);return this.g.mulAdd(ae,K,ue)},d.prototype.getKeyRecoveryParam=function(w,m,P,M){if(null!==(m=new g(m,M)).recoveryParam)return m.recoveryParam;for(var j=0;j<4;j++){var U;try{U=this.recoverPubKey(w,m,j)}catch{continue}if(U.eq(P))return j}throw new Error("Unable to find valid recovery factor")}},29157:(Ae,ee,l)=>{"use strict";l.d(ee,{U:()=>t});var i=l(73664);let t=(()=>{var p;class S{constructor(){this.copied=new i.bkB}onClick(e){e.preventDefault(),this.payload&&(navigator.clipboard?this.copyUsingClipboardAPI():this.copyUsingFallbackMethod())}copyUsingFallbackMethod(){const e=document.createElement("textarea");e.value=this.payload,document.body.appendChild(e),e.select();try{document.execCommand("copy")?this.copied.emit(this.payload.toString()):this.copied.emit("Error could not copy text.")}finally{document.body.removeChild(e)}}copyUsingClipboardAPI(){navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())}).catch(e=>{this.copied.emit("Error could not copy text: "+JSON.stringify(e))})}static#e=p=()=>(this.\u0275fac=function(T){return new(T||S)},this.\u0275dir=i.FsC({type:S,selectors:[["","rtlClipboard",""]],hostBindings:function(T,g){1&T&&i.bIt("click",function(w){return g.onClick(w)})},inputs:{payload:"payload"},outputs:{copied:"copied"},standalone:!1}))}return p(),S})()},29330:(Ae,ee,l)=>{"use strict";l.d(ee,{$R:()=>ci,Nl:()=>oe,Qq:()=>Le,Sx:()=>ui,ZZ:()=>It,a7:()=>Ht,q1:()=>Ze});var i=l(10467),t=l(2615),p=l(73664),S=l(70274),c=l(5964),e=l(70980),T=l(96354),g=l(25558),d=l(71985),m=(l(22806),l(7673)),P=l(52512);class M{}class j{}class U{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(it){it?"string"==typeof it?this.lazyInit=()=>{this.headers=new Map,it.split("\n").forEach(bt=>{const ut=bt.indexOf(":");if(ut>0){const jt=bt.slice(0,ut),ai=bt.slice(ut+1).trim();this.addHeaderEntry(jt,ai)}})}:typeof Headers<"u"&&it instanceof Headers?(this.headers=new Map,it.forEach((bt,ut)=>{this.addHeaderEntry(ut,bt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(it).forEach(([bt,ut])=>{this.setHeaderEntries(bt,ut)})}:this.headers=new Map}has(it){return this.init(),this.headers.has(it.toLowerCase())}get(it){this.init();const bt=this.headers.get(it.toLowerCase());return bt&&bt.length>0?bt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(it){return this.init(),this.headers.get(it.toLowerCase())||null}append(it,bt){return this.clone({name:it,value:bt,op:"a"})}set(it,bt){return this.clone({name:it,value:bt,op:"s"})}delete(it,bt){return this.clone({name:it,value:bt,op:"d"})}maybeSetNormalizedName(it,bt){this.normalizedNames.has(bt)||this.normalizedNames.set(bt,it)}init(){this.lazyInit&&(this.lazyInit instanceof U?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(it=>this.applyUpdate(it)),this.lazyUpdate=null))}copyFrom(it){it.init(),Array.from(it.headers.keys()).forEach(bt=>{this.headers.set(bt,it.headers.get(bt)),this.normalizedNames.set(bt,it.normalizedNames.get(bt))})}clone(it){const bt=new U;return bt.lazyInit=this.lazyInit&&this.lazyInit instanceof U?this.lazyInit:this,bt.lazyUpdate=(this.lazyUpdate||[]).concat([it]),bt}applyUpdate(it){const bt=it.name.toLowerCase();switch(it.op){case"a":case"s":let ut=it.value;if("string"==typeof ut&&(ut=[ut]),0===ut.length)return;this.maybeSetNormalizedName(it.name,bt);const jt=("a"===it.op?this.headers.get(bt):void 0)||[];jt.push(...ut),this.headers.set(bt,jt);break;case"d":const ai=it.value;if(ai){let pi=this.headers.get(bt);if(!pi)return;pi=pi.filter(ki=>-1===ai.indexOf(ki)),0===pi.length?(this.headers.delete(bt),this.normalizedNames.delete(bt)):this.headers.set(bt,pi)}else this.headers.delete(bt),this.normalizedNames.delete(bt)}}addHeaderEntry(it,bt){const ut=it.toLowerCase();this.maybeSetNormalizedName(it,ut),this.headers.has(ut)?this.headers.get(ut).push(bt):this.headers.set(ut,[bt])}setHeaderEntries(it,bt){const ut=(Array.isArray(bt)?bt:[bt]).map(ai=>ai.toString()),jt=it.toLowerCase();this.headers.set(jt,ut),this.maybeSetNormalizedName(it,jt)}forEach(it){this.init(),Array.from(this.normalizedNames.keys()).forEach(bt=>it(this.normalizedNames.get(bt),this.headers.get(bt)))}}class q{encodeKey(it){return ae(it)}encodeValue(it){return ae(it)}decodeKey(it){return decodeURIComponent(it)}decodeValue(it){return decodeURIComponent(it)}}const Q=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ae(Fe){return encodeURIComponent(Fe).replace(Q,(it,bt)=>$[bt]??it)}function ue(Fe){return`${Fe}`}class oe{map;encoder;updates=null;cloneFrom=null;constructor(it={}){if(this.encoder=it.encoder||new q,it.fromString){if(it.fromObject)throw new t.buA(2805,!1);this.map=function G(Fe,it){const bt=new Map;return Fe.length>0&&Fe.replace(/^\?/,"").split("&").forEach(jt=>{const ai=jt.indexOf("="),[pi,ki]=-1==ai?[it.decodeKey(jt),""]:[it.decodeKey(jt.slice(0,ai)),it.decodeValue(jt.slice(ai+1))],Ki=bt.get(pi)||[];Ki.push(ki),bt.set(pi,Ki)}),bt}(it.fromString,this.encoder)}else it.fromObject?(this.map=new Map,Object.keys(it.fromObject).forEach(bt=>{const ut=it.fromObject[bt],jt=Array.isArray(ut)?ut.map(ue):[ue(ut)];this.map.set(bt,jt)})):this.map=null}has(it){return this.init(),this.map.has(it)}get(it){this.init();const bt=this.map.get(it);return bt?bt[0]:null}getAll(it){return this.init(),this.map.get(it)||null}keys(){return this.init(),Array.from(this.map.keys())}append(it,bt){return this.clone({param:it,value:bt,op:"a"})}appendAll(it){const bt=[];return Object.keys(it).forEach(ut=>{const jt=it[ut];Array.isArray(jt)?jt.forEach(ai=>{bt.push({param:ut,value:ai,op:"a"})}):bt.push({param:ut,value:jt,op:"a"})}),this.clone(bt)}set(it,bt){return this.clone({param:it,value:bt,op:"s"})}delete(it,bt){return this.clone({param:it,value:bt,op:"d"})}toString(){return this.init(),this.keys().map(it=>{const bt=this.encoder.encodeKey(it);return this.map.get(it).map(ut=>bt+"="+this.encoder.encodeValue(ut)).join("&")}).filter(it=>""!==it).join("&")}clone(it){const bt=new oe({encoder:this.encoder});return bt.cloneFrom=this.cloneFrom||this,bt.updates=(this.updates||[]).concat(it),bt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(it=>this.map.set(it,this.cloneFrom.map.get(it))),this.updates.forEach(it=>{switch(it.op){case"a":case"s":const bt=("a"===it.op?this.map.get(it.param):void 0)||[];bt.push(ue(it.value)),this.map.set(it.param,bt);break;case"d":if(void 0===it.value){this.map.delete(it.param);break}{let ut=this.map.get(it.param)||[];const jt=ut.indexOf(ue(it.value));-1!==jt&&ut.splice(jt,1),ut.length>0?this.map.set(it.param,ut):this.map.delete(it.param)}}}),this.cloneFrom=this.updates=null)}}class me{map=new Map;set(it,bt){return this.map.set(it,bt),this}get(it){return this.map.has(it)||this.map.set(it,it.defaultValue()),this.map.get(it)}delete(it){return this.map.delete(it),this}has(it){return this.map.has(it)}keys(){return this.map.keys()}}function D(Fe){return typeof ArrayBuffer<"u"&&Fe instanceof ArrayBuffer}function n(Fe){return typeof Blob<"u"&&Fe instanceof Blob}function o(Fe){return typeof FormData<"u"&&Fe instanceof FormData}const h="Content-Type",b="Accept",A="X-Request-URL",k="text/plain",x="application/json",r=`${x}, ${k}, */*`;class _{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(it,bt,ut,jt){let ai;if(this.url=bt,this.method=it.toUpperCase(),function Te(Fe){switch(Fe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||jt?(this.body=void 0!==ut?ut:null,ai=jt):ai=ut,ai){if(this.reportProgress=!!ai.reportProgress,this.withCredentials=!!ai.withCredentials,this.keepalive=!!ai.keepalive,ai.responseType&&(this.responseType=ai.responseType),ai.headers&&(this.headers=ai.headers),ai.context&&(this.context=ai.context),ai.params&&(this.params=ai.params),ai.priority&&(this.priority=ai.priority),ai.cache&&(this.cache=ai.cache),ai.credentials&&(this.credentials=ai.credentials),"number"==typeof ai.timeout){if(ai.timeout<1||!Number.isInteger(ai.timeout))throw new t.buA(2822,"");this.timeout=ai.timeout}ai.mode&&(this.mode=ai.mode),ai.redirect&&(this.redirect=ai.redirect),ai.integrity&&(this.integrity=ai.integrity),ai.referrer&&(this.referrer=ai.referrer),this.transferCache=ai.transferCache}if(this.headers??=new U,this.context??=new me,this.params){const pi=this.params.toString();if(0===pi.length)this.urlWithParams=bt;else{const ki=bt.indexOf("?");this.urlWithParams=bt+(-1===ki?"?":ki<bt.length-1?"&":"")+pi}}else this.params=new oe,this.urlWithParams=bt}serializeBody(){return null===this.body?null:"string"==typeof this.body||D(this.body)||n(this.body)||o(this.body)||function f(Fe){return typeof URLSearchParams<"u"&&Fe instanceof URLSearchParams}(this.body)?this.body:this.body instanceof oe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||o(this.body)?null:n(this.body)?this.body.type||null:D(this.body)?null:"string"==typeof this.body?k:this.body instanceof oe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?x:null}clone(it={}){const bt=it.method||this.method,ut=it.url||this.url,jt=it.responseType||this.responseType,ai=it.keepalive??this.keepalive,pi=it.priority||this.priority,ki=it.cache||this.cache,Ki=it.mode||this.mode,Ji=it.redirect||this.redirect,Dn=it.credentials||this.credentials,En=it.referrer||this.referrer,An=it.integrity||this.integrity,Fn=it.transferCache??this.transferCache,xi=it.timeout??this.timeout,Gi=void 0!==it.body?it.body:this.body,Ci=it.withCredentials??this.withCredentials,Ai=it.reportProgress??this.reportProgress;let Yi=it.headers||this.headers,zt=it.params||this.params;const ji=it.context??this.context;return void 0!==it.setHeaders&&(Yi=Object.keys(it.setHeaders).reduce((Me,mt)=>Me.set(mt,it.setHeaders[mt]),Yi)),it.setParams&&(zt=Object.keys(it.setParams).reduce((Me,mt)=>Me.set(mt,it.setParams[mt]),zt)),new _(bt,ut,Gi,{params:zt,headers:Yi,context:ji,reportProgress:Ai,responseType:jt,withCredentials:Ci,transferCache:Fn,keepalive:ai,cache:ki,priority:pi,timeout:xi,mode:Ki,redirect:Ji,credentials:Dn,referrer:En,integrity:An})}}var W=function(Fe){return Fe[Fe.Sent=0]="Sent",Fe[Fe.UploadProgress=1]="UploadProgress",Fe[Fe.ResponseHeader=2]="ResponseHeader",Fe[Fe.DownloadProgress=3]="DownloadProgress",Fe[Fe.Response=4]="Response",Fe[Fe.User=5]="User",Fe}(W||{});class I{headers;status;statusText;url;ok;type;redirected;constructor(it,bt=200,ut="OK"){this.headers=it.headers||new U,this.status=void 0!==it.status?it.status:bt,this.statusText=it.statusText||ut,this.url=it.url||null,this.redirected=it.redirected,this.ok=this.status>=200&&this.status<300}}class B extends I{constructor(it={}){super(it)}type=W.ResponseHeader;clone(it={}){return new B({headers:it.headers||this.headers,status:void 0!==it.status?it.status:this.status,statusText:it.statusText||this.statusText,url:it.url||this.url||void 0})}}class re extends I{body;constructor(it={}){super(it),this.body=void 0!==it.body?it.body:null}type=W.Response;clone(it={}){return new re({body:void 0!==it.body?it.body:this.body,headers:it.headers||this.headers,status:void 0!==it.status?it.status:this.status,statusText:it.statusText||this.statusText,url:it.url||this.url||void 0,redirected:it.redirected??this.redirected})}}class pe extends I{name="HttpErrorResponse";message;error;ok=!1;constructor(it){super(it,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${it.url||"(unknown url)"}`:`Http failure response for ${it.url||"(unknown url)"}: ${it.status} ${it.statusText}`,this.error=it.error||null}}function ye(Fe,it){return{body:it,headers:Fe.headers,context:Fe.context,observe:Fe.observe,params:Fe.params,reportProgress:Fe.reportProgress,responseType:Fe.responseType,withCredentials:Fe.withCredentials,credentials:Fe.credentials,transferCache:Fe.transferCache,timeout:Fe.timeout,keepalive:Fe.keepalive,priority:Fe.priority,cache:Fe.cache,mode:Fe.mode,redirect:Fe.redirect,integrity:Fe.integrity,referrer:Fe.referrer}}let Le=(()=>{class Fe{handler;constructor(bt){this.handler=bt}request(bt,ut,jt={}){let ai;if(bt instanceof _)ai=bt;else{let Ki,Ji;Ki=jt.headers instanceof U?jt.headers:new U(jt.headers),jt.params&&(Ji=jt.params instanceof oe?jt.params:new oe({fromObject:jt.params})),ai=new _(bt,ut,void 0!==jt.body?jt.body:null,{headers:Ki,context:jt.context,params:Ji,reportProgress:jt.reportProgress,responseType:jt.responseType||"json",withCredentials:jt.withCredentials,transferCache:jt.transferCache,keepalive:jt.keepalive,priority:jt.priority,cache:jt.cache,mode:jt.mode,redirect:jt.redirect,credentials:jt.credentials,referrer:jt.referrer,integrity:jt.integrity,timeout:jt.timeout})}const pi=(0,m.of)(ai).pipe((0,S.H)(Ki=>this.handler.handle(Ki)));if(bt instanceof _||"events"===jt.observe)return pi;const ki=pi.pipe((0,c.p)(Ki=>Ki instanceof re));switch(jt.observe||"body"){case"body":switch(ai.responseType){case"arraybuffer":return ki.pipe((0,T.T)(Ki=>{if(null!==Ki.body&&!(Ki.body instanceof ArrayBuffer))throw new t.buA(2806,!1);return Ki.body}));case"blob":return ki.pipe((0,T.T)(Ki=>{if(null!==Ki.body&&!(Ki.body instanceof Blob))throw new t.buA(2807,!1);return Ki.body}));case"text":return ki.pipe((0,T.T)(Ki=>{if(null!==Ki.body&&"string"!=typeof Ki.body)throw new t.buA(2808,!1);return Ki.body}));default:return ki.pipe((0,T.T)(Ki=>Ki.body))}case"response":return ki;default:throw new t.buA(2809,!1)}}delete(bt,ut={}){return this.request("DELETE",bt,ut)}get(bt,ut={}){return this.request("GET",bt,ut)}head(bt,ut={}){return this.request("HEAD",bt,ut)}jsonp(bt,ut){return this.request("JSONP",bt,{params:(new oe).append(ut,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(bt,ut={}){return this.request("OPTIONS",bt,ut)}patch(bt,ut,jt={}){return this.request("PATCH",bt,ye(jt,ut))}post(bt,ut,jt={}){return this.request("POST",bt,ye(jt,ut))}put(bt,ut,jt={}){return this.request("PUT",bt,ye(jt,ut))}static \u0275fac=function(ut){return new(ut||Fe)(t.KVO(M))};static \u0275prov=t.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();const Ke=/^\)\]\}',?\n/;function ge(Fe){if(Fe.url)return Fe.url;const it=A.toLocaleLowerCase();return Fe.headers.get(it)}const ve=new t.nKC("");let Oe=(()=>{class Fe{fetchImpl=(0,t.WQX)(Ee,{optional:!0})?.fetch??((...bt)=>globalThis.fetch(...bt));ngZone=(0,t.WQX)(p.SKi);destroyRef=(0,t.WQX)(t.abz);handle(bt){return new d.c(ut=>{const jt=new AbortController;let ai;return this.doRequest(bt,jt.signal,ut).then(dt,pi=>ut.error(new pe({error:pi}))),bt.timeout&&(ai=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{jt.signal.aborted||jt.abort(new DOMException("signal timed out","TimeoutError"))},bt.timeout))),()=>{void 0!==ai&&clearTimeout(ai),jt.abort()}})}doRequest(bt,ut,jt){var ai=this;return(0,i.A)(function*(){const pi=ai.createRequestInit(bt);let ki;try{const Gi=ai.ngZone.runOutsideAngular(()=>ai.fetchImpl(bt.urlWithParams,{signal:ut,...pi}));(function Ct(Fe){Fe.then(dt,dt)})(Gi),jt.next({type:W.Sent}),ki=yield Gi}catch(Gi){return void jt.error(new pe({error:Gi,status:Gi.status??0,statusText:Gi.statusText,url:bt.urlWithParams,headers:Gi.headers}))}const Ki=new U(ki.headers),Ji=ki.statusText,Dn=ge(ki)??bt.urlWithParams;let En=ki.status,An=null;if(bt.reportProgress&&jt.next(new B({headers:Ki,status:En,statusText:Ji,url:Dn})),ki.body){const Gi=ki.headers.get("content-length"),Ci=[],Ai=ki.body.getReader();let zt,ji,Yi=0;const Me=typeof Zone<"u"&&Zone.current;let mt=!1;if(yield ai.ngZone.runOutsideAngular((0,i.A)(function*(){for(;;){if(ai.destroyRef.destroyed){yield Ai.cancel(),mt=!0;break}const{done:ni,value:Fi}=yield Ai.read();if(ni)break;if(Ci.push(Fi),Yi+=Fi.length,bt.reportProgress){ji="text"===bt.responseType?(ji??"")+(zt??=new TextDecoder).decode(Fi,{stream:!0}):void 0;const kn=()=>jt.next({type:W.DownloadProgress,total:Gi?+Gi:void 0,loaded:Yi,partialText:ji});Me?Me.run(kn):kn()}}})),mt)return void jt.complete();const vt=ai.concatChunks(Ci,Yi);try{const ni=ki.headers.get(h)??"";An=ai.parseBody(bt,vt,ni,En)}catch(ni){return void jt.error(new pe({error:ni,headers:new U(ki.headers),status:ki.status,statusText:ki.statusText,url:ge(ki)??bt.urlWithParams}))}}0===En&&(En=An?200:0);const xi=ki.redirected;En>=200&&En<300?(jt.next(new re({body:An,headers:Ki,status:En,statusText:Ji,url:Dn,redirected:xi})),jt.complete()):jt.error(new pe({error:An,headers:Ki,status:En,statusText:Ji,url:Dn,redirected:xi}))})()}parseBody(bt,ut,jt,ai){switch(bt.responseType){case"json":const pi=(new TextDecoder).decode(ut).replace(Ke,"");if(""===pi)return null;try{return JSON.parse(pi)}catch(ki){if(ai<200||ai>=300)return pi;throw ki}case"text":return(new TextDecoder).decode(ut);case"blob":return new Blob([ut],{type:jt});case"arraybuffer":return ut.buffer}}createRequestInit(bt){const ut={};let jt;if(jt=bt.credentials,bt.withCredentials&&(jt="include"),bt.headers.forEach((ai,pi)=>ut[ai]=pi.join(",")),bt.headers.has(b)||(ut[b]=r),!bt.headers.has(h)){const ai=bt.detectContentTypeHeader();null!==ai&&(ut[h]=ai)}return{body:bt.serializeBody(),method:bt.method,headers:ut,credentials:jt,keepalive:bt.keepalive,cache:bt.cache,priority:bt.priority,mode:bt.mode,redirect:bt.redirect,referrer:bt.referrer,integrity:bt.integrity}}concatChunks(bt,ut){const jt=new Uint8Array(ut);let ai=0;for(const pi of bt)jt.set(pi,ai),ai+=pi.length;return jt}static \u0275fac=function(ut){return new(ut||Fe)};static \u0275prov=t.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();class Ee{}function dt(){}function Mt(Fe,it){return it(Fe)}function lt(Fe,it){return(bt,ut)=>it.intercept(bt,{handle:jt=>Fe(jt,ut)})}const Ht=new t.nKC(""),ct=new t.nKC(""),Ce=new t.nKC(""),ze=new t.nKC("",{providedIn:"root",factory:()=>!0});function Z(){let Fe=null;return(it,bt)=>{null===Fe&&(Fe=((0,t.WQX)(Ht,{optional:!0})??[]).reduceRight(lt,Mt));const ut=(0,t.WQX)(t.u5s);if((0,t.WQX)(ze)){const ai=ut.add();return Fe(it,bt).pipe((0,e.j)(ai))}return Fe(it,bt)}}let fe=(()=>{class Fe extends M{backend;injector;chain=null;pendingTasks=(0,t.WQX)(t.u5s);contributeToStability=(0,t.WQX)(ze);constructor(bt,ut){super(),this.backend=bt,this.injector=ut}handle(bt){if(null===this.chain){const ut=Array.from(new Set([...this.injector.get(ct),...this.injector.get(Ce,[])]));this.chain=ut.reduceRight((jt,ai)=>function Pe(Fe,it,bt){return(ut,jt)=>(0,t.N4e)(bt,()=>it(ut,ai=>Fe(ai,jt)))}(jt,ai,this.injector),Mt)}if(this.contributeToStability){const ut=this.pendingTasks.add();return this.chain(bt,jt=>this.backend.handle(jt)).pipe((0,e.j)(ut))}return this.chain(bt,ut=>this.backend.handle(ut))}static \u0275fac=function(ut){return new(ut||Fe)(t.KVO(j),t.KVO(t.uvJ))};static \u0275prov=t.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();const ke=/^\)\]\}',?\n/,Ue=RegExp(`^${A}:`,"m");let yt=(()=>{class Fe{xhrFactory;constructor(bt){this.xhrFactory=bt}handle(bt){if("JSONP"===bt.method)throw new t.buA(-2800,!1);const ut=this.xhrFactory;return(0,m.of)(null).pipe((0,g.n)(()=>new d.c(ai=>{const pi=ut.build();if(pi.open(bt.method,bt.urlWithParams),bt.withCredentials&&(pi.withCredentials=!0),bt.headers.forEach((Ci,Ai)=>pi.setRequestHeader(Ci,Ai.join(","))),bt.headers.has(b)||pi.setRequestHeader(b,r),!bt.headers.has(h)){const Ci=bt.detectContentTypeHeader();null!==Ci&&pi.setRequestHeader(h,Ci)}if(bt.timeout&&(pi.timeout=bt.timeout),bt.responseType){const Ci=bt.responseType.toLowerCase();pi.responseType="json"!==Ci?Ci:"text"}const ki=bt.serializeBody();let Ki=null;const Ji=()=>{if(null!==Ki)return Ki;const Ci=pi.statusText||"OK",Ai=new U(pi.getAllResponseHeaders()),Yi=function Ne(Fe){return"responseURL"in Fe&&Fe.responseURL?Fe.responseURL:Ue.test(Fe.getAllResponseHeaders())?Fe.getResponseHeader(A):null}(pi)||bt.url;return Ki=new B({headers:Ai,status:pi.status,statusText:Ci,url:Yi}),Ki},Dn=()=>{let{headers:Ci,status:Ai,statusText:Yi,url:zt}=Ji(),ji=null;204!==Ai&&(ji=typeof pi.response>"u"?pi.responseText:pi.response),0===Ai&&(Ai=ji?200:0);let Me=Ai>=200&&Ai<300;if("json"===bt.responseType&&"string"==typeof ji){const mt=ji;ji=ji.replace(ke,"");try{ji=""!==ji?JSON.parse(ji):null}catch(vt){ji=mt,Me&&(Me=!1,ji={error:vt,text:ji})}}Me?(ai.next(new re({body:ji,headers:Ci,status:Ai,statusText:Yi,url:zt||void 0})),ai.complete()):ai.error(new pe({error:ji,headers:Ci,status:Ai,statusText:Yi,url:zt||void 0}))},En=Ci=>{const{url:Ai}=Ji(),Yi=new pe({error:Ci,status:pi.status||0,statusText:pi.statusText||"Unknown Error",url:Ai||void 0});ai.error(Yi)};let An=En;bt.timeout&&(An=Ci=>{const{url:Ai}=Ji(),Yi=new pe({error:new DOMException("Request timed out","TimeoutError"),status:pi.status||0,statusText:pi.statusText||"Request timeout",url:Ai||void 0});ai.error(Yi)});let Fn=!1;const xi=Ci=>{Fn||(ai.next(Ji()),Fn=!0);let Ai={type:W.DownloadProgress,loaded:Ci.loaded};Ci.lengthComputable&&(Ai.total=Ci.total),"text"===bt.responseType&&pi.responseText&&(Ai.partialText=pi.responseText),ai.next(Ai)},Gi=Ci=>{let Ai={type:W.UploadProgress,loaded:Ci.loaded};Ci.lengthComputable&&(Ai.total=Ci.total),ai.next(Ai)};return pi.addEventListener("load",Dn),pi.addEventListener("error",En),pi.addEventListener("timeout",An),pi.addEventListener("abort",En),bt.reportProgress&&(pi.addEventListener("progress",xi),null!==ki&&pi.upload&&pi.upload.addEventListener("progress",Gi)),pi.send(ki),ai.next({type:W.Sent}),()=>{pi.removeEventListener("error",En),pi.removeEventListener("abort",En),pi.removeEventListener("load",Dn),pi.removeEventListener("timeout",An),bt.reportProgress&&(pi.removeEventListener("progress",xi),null!==ki&&pi.upload&&pi.upload.removeEventListener("progress",Gi)),pi.readyState!==pi.DONE&&pi.abort()}})))}static \u0275fac=function(ut){return new(ut||Fe)(t.KVO(P.N))};static \u0275prov=t.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();const Vt=new t.nKC(""),ti=new t.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Nt=new t.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Et{}let Jt=(()=>{class Fe{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(bt,ut){this.doc=bt,this.cookieName=ut}getToken(){const bt=this.doc.cookie||"";return bt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,P.b)(bt,this.cookieName),this.lastCookieString=bt),this.lastToken}static \u0275fac=function(ut){return new(ut||Fe)(t.KVO(t.qQL),t.KVO(ti))};static \u0275prov=t.jDH({token:Fe,factory:Fe.\u0275fac})}return Fe})();const qe=/^(?:https?:)?\/\//i;function $e(Fe,it){if(!(0,t.WQX)(Vt)||"GET"===Fe.method||"HEAD"===Fe.method||qe.test(Fe.url))return it(Fe);const bt=(0,t.WQX)(Et).getToken(),ut=(0,t.WQX)(Nt);return null!=bt&&!Fe.headers.has(ut)&&(Fe=Fe.clone({headers:Fe.headers.set(ut,bt)})),it(Fe)}var vi=function(Fe){return Fe[Fe.Interceptors=0]="Interceptors",Fe[Fe.LegacyInterceptors=1]="LegacyInterceptors",Fe[Fe.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Fe[Fe.NoXsrfProtection=3]="NoXsrfProtection",Fe[Fe.JsonpSupport=4]="JsonpSupport",Fe[Fe.RequestsMadeViaParent=5]="RequestsMadeViaParent",Fe[Fe.Fetch=6]="Fetch",Fe}(vi||{});function ei(Fe,it){return{\u0275kind:Fe,\u0275providers:it}}function ci(...Fe){const it=[Le,yt,fe,{provide:M,useExisting:fe},{provide:j,useFactory:()=>(0,t.WQX)(ve,{optional:!0})??(0,t.WQX)(yt)},{provide:ct,useValue:$e,multi:!0},{provide:Vt,useValue:!0},{provide:Et,useClass:Jt}];for(const bt of Fe)it.push(...bt.\u0275providers);return(0,t.EmA)(it)}const oi=new t.nKC("");function ui(){return ei(vi.LegacyInterceptors,[{provide:oi,useFactory:Z},{provide:ct,useExisting:oi,multi:!0}])}function It(){return ei(vi.Fetch,[Oe,{provide:ve,useExisting:Oe},{provide:j,useExisting:Oe}])}let Ze=(()=>{class Fe{static \u0275fac=function(ut){return new(ut||Fe)};static \u0275mod=p.$C({type:Fe});static \u0275inj=t.G2t({providers:[ci(ui())]})}return Fe})()},29340:(Ae,ee,l)=>{"use strict";l.d(ee,{Ce:()=>Q,DJ:()=>Pe,EA:()=>G,PV:()=>q,SL:()=>$,Ui:()=>j,ZH:()=>oe,cL:()=>di,hN:()=>ht,qH:()=>Mt,r3:()=>ue});var i=l(2615),t=l(73664),p=l(60177),S=l(71985),c=l(21413),e=l(84412),T=l(57786),g=l(24545),d=l(5964),w=l(88141);const P={provide:t.iLQ,useFactory:function m(kt,Rt){return()=>{if((0,p.UE)(Rt)){const le=Array.from(kt.querySelectorAll(`[class*=${M}]`)),te=/\bflex-layout-.+?\b/g;le.forEach(ce=>{ce.classList.contains(`${M}ssr`)&&ce.parentNode?ce.parentNode.removeChild(ce):ce.className.replace(te,"")})}}},deps:[i.qQL,t.Agw],multi:!0},M="flex-layout-";let j=(()=>{class kt{}return kt.\u0275fac=function(le){return new(le||kt)},kt.\u0275mod=t.$C({type:kt}),kt.\u0275inj=i.G2t({providers:[P]}),kt})();class U{constructor(Rt=!1,le="all",te="",ce="",se=0){this.matches=Rt,this.mediaQuery=le,this.mqAlias=te,this.suffix=ce,this.priority=se,this.property=""}clone(){return new U(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let K=(()=>{class kt{constructor(){this.stylesheet=new Map}addStyleToElement(le,te,ce){const se=this.stylesheet.get(le);se?se.set(te,ce):this.stylesheet.set(le,new Map([[te,ce]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(le,te){const ce=this.stylesheet.get(le);let se="";if(ce){const ke=ce.get(te);("number"==typeof ke||"string"==typeof ke)&&(se=ke+"")}return se}}return kt.\u0275fac=function(le){return new(le||kt)},kt.\u0275prov=i.jDH({token:kt,factory:kt.\u0275fac,providedIn:"root"}),kt})();const q={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},G=new i.nKC("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>q}),Q=new i.nKC("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),$=new i.nKC("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ae(kt,Rt){return kt=kt?.clone()??new U,Rt&&(kt.mqAlias=Rt.alias,kt.mediaQuery=Rt.mediaQuery,kt.suffix=Rt.suffix,kt.priority=Rt.priority),kt}class ue{constructor(){this.shouldCache=!0}sideEffect(Rt,le,te){}}let oe=(()=>{class kt{constructor(le,te,ce,se){this._serverStylesheet=le,this._serverModuleLoaded=te,this._platformId=ce,this.layoutConfig=se}applyStyleToElement(le,te,ce=null){let se={};"string"==typeof te&&(se[te]=ce,te=se),se=this.layoutConfig.disableVendorPrefixes?te:(0,g.O5)(te),this._applyMultiValueStyleToElement(se,le)}applyStyleToElements(le,te=[]){const ce=this.layoutConfig.disableVendorPrefixes?le:(0,g.O5)(le);te.forEach(se=>{this._applyMultiValueStyleToElement(ce,se)})}getFlowDirection(le){const te="flex-direction";let ce=this.lookupStyle(le,te);return[ce||"row",this.lookupInlineStyle(le,te)||(0,p.Vy)(this._platformId)&&this._serverModuleLoaded?ce:""]}hasWrap(le){return"wrap"===this.lookupStyle(le,"flex-wrap")}lookupAttributeValue(le,te){return le.getAttribute(te)??""}lookupInlineStyle(le,te){return(0,p.UE)(this._platformId)?le.style.getPropertyValue(te):function he(kt,Rt){return D(kt)[Rt]??""}(le,te)}lookupStyle(le,te,ce=!1){let se="";return le&&((se=this.lookupInlineStyle(le,te))||((0,p.UE)(this._platformId)?ce||(se=getComputedStyle(le).getPropertyValue(te)):this._serverModuleLoaded&&(se=this._serverStylesheet.getStyleForElement(le,te)))),se?se.trim():""}_applyMultiValueStyleToElement(le,te){Object.keys(le).sort().forEach(ce=>{const se=le[ce],ke=Array.isArray(se)?se:[se];ke.sort();for(let Ue of ke)Ue=Ue?Ue+"":"",(0,p.UE)(this._platformId)||!this._serverModuleLoaded?(0,p.UE)(this._platformId)?te.style.setProperty(ce,Ue):me(te,ce,Ue):this._serverStylesheet.addStyleToElement(te,ce,Ue)})}}return kt.\u0275fac=function(le){return new(le||kt)(i.KVO(K),i.KVO(Q),i.KVO(t.Agw),i.KVO(G))},kt.\u0275prov=i.jDH({token:kt,factory:kt.\u0275fac,providedIn:"root"}),kt})();function me(kt,Rt,le){Rt=Rt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const te=D(kt);te[Rt]=le??"",function Te(kt,Rt){let le="";for(const te in Rt)Rt[te]&&(le+=`${te}:${Rt[te]};`);kt.setAttribute("style",le)}(kt,te)}function D(kt){const Rt={},le=kt.getAttribute("style");if(le){const te=le.split(/;+/g);for(let ce=0;ce<te.length;ce++){const se=te[ce].trim();if(se.length>0){const ke=se.indexOf(":");if(-1===ke)throw new Error(`Invalid CSS style: ${se}`);Rt[se.substr(0,ke).trim()]=se.substr(ke+1).trim()}}}return Rt}function n(kt,Rt){return(Rt&&Rt.priority||0)-(kt&&kt.priority||0)}function o(kt,Rt){return(kt.priority||0)-(Rt.priority||0)}let f=(()=>{class kt{constructor(le,te,ce){this._zone=le,this._platformId=te,this._document=ce,this.source=new e.t(new U(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const le=[];return this.registry.forEach((te,ce)=>{te.matches&&le.push(ce)}),le}isActive(le){return this.registry.get(le)?.matches??this.registerQuery(le).some(ce=>ce.matches)}observe(le,te=!1){if(le&&le.length){const ce=this._observable$.pipe((0,d.p)(ke=>!te||le.indexOf(ke.mediaQuery)>-1)),se=new S.c(ke=>{const Ue=this.registerQuery(le);if(Ue.length){const Ne=Ue.pop();Ue.forEach(Kt=>{ke.next(Kt)}),this.source.next(Ne)}ke.complete()});return(0,T.h)(se,ce)}return this._observable$}registerQuery(le){const te=Array.isArray(le)?le:[le],ce=[];return function b(kt,Rt){const le=kt.filter(te=>!h[te]);if(le.length>0){const te=le.join(", ");try{const ce=Rt.createElement("style");ce.setAttribute("type","text/css"),ce.styleSheet||ce.appendChild(Rt.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${te} {.fx-query-test{ }}\n`)),Rt.head.appendChild(ce),le.forEach(se=>h[se]=ce)}catch(ce){console.error(ce)}}}(te,this._document),te.forEach(se=>{const ke=Ne=>{this._zone.run(()=>this.source.next(new U(Ne.matches,se)))};let Ue=this.registry.get(se);Ue||(Ue=this.buildMQL(se),Ue.addListener(ke),this.pendingRemoveListenerFns.push(()=>Ue.removeListener(ke)),this.registry.set(se,Ue)),Ue.matches&&ce.push(new U(!0,se))}),ce}ngOnDestroy(){let le;for(;le=this.pendingRemoveListenerFns.pop();)le()}buildMQL(le){return function k(kt,Rt){return Rt&&window.matchMedia("all").addListener?window.matchMedia(kt):function A(kt){const Rt=new EventTarget;return Rt.matches="all"===kt||""===kt,Rt.media=kt,Rt.addListener=()=>{},Rt.removeListener=()=>{},Rt.addEventListener=()=>{},Rt.dispatchEvent=()=>!1,Rt.onchange=null,Rt}(kt)}(le,(0,p.UE)(this._platformId))}}return kt.\u0275fac=function(le){return new(le||kt)(i.KVO(t.SKi),i.KVO(t.Agw),i.KVO(i.qQL))},kt.\u0275prov=i.jDH({token:kt,factory:kt.\u0275fac,providedIn:"root"}),kt})();const h={},x=[{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}],r="(orientation: portrait) and (max-width: 599.98px)",_="(orientation: landscape) and (max-width: 959.98px)",W="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",I="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",B="(orientation: portrait) and (min-width: 840px)",re="(orientation: landscape) and (min-width: 1280px)",pe={HANDSET:`${r}, ${_}`,TABLET:`${W} , ${I}`,WEB:`${B}, ${re} `,HANDSET_PORTRAIT:`${r}`,TABLET_PORTRAIT:`${W} `,WEB_PORTRAIT:`${B}`,HANDSET_LANDSCAPE:`${_}`,TABLET_LANDSCAPE:`${I}`,WEB_LANDSCAPE:`${re}`},be=[{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}],Be=/(\.|-|_)/g;function _e(kt){let Rt=kt.length>0?kt.charAt(0):"",le=kt.length>1?kt.slice(1):"";return Rt.toUpperCase()+le}const ge=new i.nKC("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const kt=(0,i.WQX)($),Rt=(0,i.WQX)(G),le=[].concat.apply([],(kt||[]).map(ce=>Array.isArray(ce)?ce:[ce]));return function Ke(kt,Rt=[]){const le={};return kt.forEach(te=>{le[te.alias]=te}),Rt.forEach(te=>{le[te.alias]?(0,g.C5)(le[te.alias],te):le[te.alias]=te}),function Le(kt){return kt.forEach(Rt=>{Rt.suffix||(Rt.suffix=function ye(kt){return kt.replace(Be,"|").split("|").map(_e).join("")}(Rt.alias),Rt.overlapping=!!Rt.overlapping)}),kt}(Object.keys(le).map(te=>le[te]))}((Rt.disableDefaultBps?[]:x).concat(Rt.addOrientationBps?be:[]),le)}});let ve=(()=>{class kt{constructor(le){this.findByMap=new Map,this.items=[...le].sort(o)}findByAlias(le){return le?this.findWithPredicate(le,te=>te.alias===le):null}findByQuery(le){return this.findWithPredicate(le,te=>te.mediaQuery===le)}get overlappings(){return this.items.filter(le=>le.overlapping)}get aliases(){return this.items.map(le=>le.alias)}get suffixes(){return this.items.map(le=>le?.suffix??"")}findWithPredicate(le,te){let ce=this.findByMap.get(le);return ce||(ce=this.items.find(te)??null,this.findByMap.set(le,ce)),ce??null}}return kt.\u0275fac=function(le){return new(le||kt)(i.KVO(ge))},kt.\u0275prov=i.jDH({token:kt,factory:kt.\u0275fac,providedIn:"root"}),kt})();const Oe="print",Ee={alias:Oe,mediaQuery:Oe,priority:1e3};let dt=(()=>{class kt{constructor(le,te,ce){this.breakpoints=le,this.layoutConfig=te,this._document=ce,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new nt,this.deactivations=[]}withPrintQuery(le){return[...le,Oe]}isPrintEvent(le){return le.mediaQuery.startsWith(Oe)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(le=>this.breakpoints.findByAlias(le)).filter(le=>null!==le)}getEventBreakpoints({mediaQuery:le}){const te=this.breakpoints.findByQuery(le);return(te?[...this.printBreakPoints,te]:this.printBreakPoints).sort(n)}updateEvent(le){let te=this.breakpoints.findByQuery(le.mediaQuery);return this.isPrintEvent(le)&&(te=this.getEventBreakpoints(le)[0],le.mediaQuery=te?.mediaQuery??""),ae(le,te)}registerBeforeAfterPrintHooks(le){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const te=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(le,this.getEventBreakpoints(new U(!0,Oe))),le.updateStyles())},ce=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(le),le.updateStyles())};this._document.defaultView.addEventListener("beforeprint",te),this._document.defaultView.addEventListener("afterprint",ce),this.beforePrintEventListeners.push(te),this.afterPrintEventListeners.push(ce)}interceptEvents(le){return te=>{this.isPrintEvent(te)?te.matches&&!this.isPrinting?(this.startPrinting(le,this.getEventBreakpoints(te)),le.updateStyles()):!te.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(le),le.updateStyles()):this.collectActivations(le,te)}}blockPropagation(){return le=>!(this.isPrinting||this.isPrintEvent(le))}startPrinting(le,te){this.isPrinting=!0,this.formerActivations=le.activatedBreakpoints,le.activatedBreakpoints=this.queue.addPrintBreakpoints(te)}stopPrinting(le){le.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(le,te){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!te.matches){const ce=this.breakpoints.findByQuery(te.mediaQuery);if(ce){const se=this.formerActivations&&this.formerActivations.includes(ce),ke=!this.formerActivations&&le.activatedBreakpoints.includes(ce);(se||ke)&&(this.deactivations.push(ce),this.deactivations.sort(n))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(le=>this._document.defaultView.removeEventListener("beforeprint",le)),this.afterPrintEventListeners.forEach(le=>this._document.defaultView.removeEventListener("afterprint",le)))}}return kt.\u0275fac=function(le){return new(le||kt)(i.KVO(ve),i.KVO(G),i.KVO(i.qQL))},kt.\u0275prov=i.jDH({token:kt,factory:kt.\u0275fac,providedIn:"root"}),kt})();class nt{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Rt){return Rt.push(Ee),Rt.sort(n),Rt.forEach(le=>this.addBreakpoint(le)),this.printBreakpoints}addBreakpoint(Rt){Rt&&void 0===this.printBreakpoints.find(te=>te.mediaQuery===Rt.mediaQuery)&&(this.printBreakpoints=function Ct(kt){return kt?.mediaQuery.startsWith(Oe)??!1}(Rt)?[Rt,...this.printBreakpoints]:[...this.printBreakpoints,Rt])}clear(){this.printBreakpoints=[]}}let Mt=(()=>{class kt{constructor(le,te,ce){this.matchMedia=le,this.breakpoints=te,this.hook=ce,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new c.B,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(le){this._activatedBreakpoints=[...le]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(le){this._useFallbacks=le}onMediaChange(le){const te=this.findByQuery(le.mediaQuery);if(te){le=ae(le,te);const ce=this.activatedBreakpoints.indexOf(te);le.matches&&-1===ce?(this._activatedBreakpoints.push(te),this._activatedBreakpoints.sort(n),this.updateStyles()):!le.matches&&-1!==ce&&(this._activatedBreakpoints.splice(ce,1),this._activatedBreakpoints.sort(n),this.updateStyles())}}init(le,te,ce,se,ke=[]){lt(this.updateMap,le,te,ce),lt(this.clearMap,le,te,se),this.buildElementKeyMap(le,te),this.watchExtraTriggers(le,te,ke)}getValue(le,te,ce){const se=this.elementMap.get(le);if(se){const ke=void 0!==ce?se.get(ce):this.getActivatedValues(se,te);if(ke)return ke.get(te)}}hasValue(le,te){const ce=this.elementMap.get(le);if(ce){const se=this.getActivatedValues(ce,te);if(se)return void 0!==se.get(te)||!1}return!1}setValue(le,te,ce,se){let ke=this.elementMap.get(le);if(ke){const Ne=(ke.get(se)??new Map).set(te,ce);ke.set(se,Ne),this.elementMap.set(le,ke)}else ke=(new Map).set(se,(new Map).set(te,ce)),this.elementMap.set(le,ke);const Ue=this.getValue(le,te);void 0!==Ue&&this.updateElement(le,te,Ue)}trackValue(le,te){return this.subject.asObservable().pipe((0,d.p)(ce=>ce.element===le&&ce.key===te))}updateStyles(){this.elementMap.forEach((le,te)=>{const ce=new Set(this.elementKeyMap.get(te));let se=this.getActivatedValues(le);se&&se.forEach((ke,Ue)=>{this.updateElement(te,Ue,ke),ce.delete(Ue)}),ce.forEach(ke=>{if(se=this.getActivatedValues(le,ke),se){const Ue=se.get(ke);this.updateElement(te,ke,Ue)}else this.clearElement(te,ke)})})}clearElement(le,te){const ce=this.clearMap.get(le);if(ce){const se=ce.get(te);se&&(se(),this.subject.next({element:le,key:te,value:""}))}}updateElement(le,te,ce){const se=this.updateMap.get(le);if(se){const ke=se.get(te);ke&&(ke(ce),this.subject.next({element:le,key:te,value:ce}))}}releaseElement(le){const te=this.watcherMap.get(le);te&&(te.forEach(se=>se.unsubscribe()),this.watcherMap.delete(le));const ce=this.elementMap.get(le);ce&&(ce.forEach((se,ke)=>ce.delete(ke)),this.elementMap.delete(le))}triggerUpdate(le,te){const ce=this.elementMap.get(le);if(ce){const se=this.getActivatedValues(ce,te);se&&(te?this.updateElement(le,te,se.get(te)):se.forEach((ke,Ue)=>this.updateElement(le,Ue,ke)))}}buildElementKeyMap(le,te){let ce=this.elementKeyMap.get(le);ce||(ce=new Set,this.elementKeyMap.set(le,ce)),ce.add(te)}watchExtraTriggers(le,te,ce){if(ce&&ce.length){let se=this.watcherMap.get(le);if(se||(se=new Map,this.watcherMap.set(le,se)),!se.get(te)){const Ue=(0,T.h)(...ce).subscribe(()=>{const Ne=this.getValue(le,te);this.updateElement(le,te,Ne)});se.set(te,Ue)}}}findByQuery(le){return this.breakpoints.findByQuery(le)}getActivatedValues(le,te){for(let se=0;se<this.activatedBreakpoints.length;se++){const Ue=le.get(this.activatedBreakpoints[se].alias);if(Ue&&(void 0===te||Ue.has(te)&&null!=Ue.get(te)))return Ue}if(!this._useFallbacks)return;const ce=le.get("");return void 0===te||ce&&ce.has(te)?ce:void 0}observeActivations(){const le=this.breakpoints.items.map(te=>te.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(le)).pipe((0,w.M)(this.hook.interceptEvents(this)),(0,d.p)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return kt.\u0275fac=function(le){return new(le||kt)(i.KVO(f),i.KVO(ve),i.KVO(dt))},kt.\u0275prov=i.jDH({token:kt,factory:kt.\u0275fac,providedIn:"root"}),kt})();function lt(kt,Rt,le,te){if(void 0!==te){const ce=kt.get(Rt)??new Map;ce.set(le,te),kt.set(Rt,ce)}}let Pe=(()=>{class kt{constructor(le,te,ce,se){this.elementRef=le,this.styleBuilder=te,this.styler=ce,this.marshal=se,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new c.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(le){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,le,this.marshal.activatedAlias)}ngOnChanges(le){Object.keys(le).forEach(te=>{if(-1!==this.inputs.indexOf(te)){const ce=te.split(".").slice(1).join(".");this.setValue(le[te].currentValue,ce)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(le=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),le)}addStyles(le,te){const ce=this.styleBuilder,se=ce.shouldCache;let ke=this.styleCache.get(le);(!ke||!se)&&(ke=ce.buildStyles(le,te),se&&this.styleCache.set(le,ke)),this.mru={...ke},this.applyStyleToElement(ke),ce.sideEffect(le,ke,te)}clearStyles(){Object.keys(this.mru).forEach(le=>{this.mru[le]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(le,te=!1){if(le){const[ce,se]=this.styler.getFlowDirection(le);if(!se&&te){const ke=(0,g.uG)(ce);this.styler.applyStyleToElements(ke,[le])}return ce.trim()}return"row"}hasWrap(le){return this.styler.hasWrap(le)}applyStyleToElement(le,te,ce=this.nativeElement){this.styler.applyStyleToElement(ce,le,te)}setValue(le,te){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,le,te)}updateWithValue(le){this.currentValue!==le&&(this.addStyles(le),this.currentValue=le)}}return kt.\u0275fac=function(le){return new(le||kt)(t.rXU(t.aKT),t.rXU(ue),t.rXU(oe),t.rXU(Mt))},kt.\u0275dir=t.FsC({type:kt,standalone:!1,features:[t.OA$]}),kt})();function ht(kt,Rt="1",le="1"){let te=[Rt,le,kt],ce=kt.indexOf("calc");if(ce>0){te[2]=li(kt.substring(ce).trim());let se=kt.substr(0,ce).trim().split(" ");2==se.length&&(te[0]=se[0],te[1]=se[1])}else if(0==ce)te[2]=li(kt.trim());else{let se=kt.split(" ");te=3===se.length?se:[Rt,le,kt]}return te}function li(kt){return kt.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}EventTarget;const Qt="x";function di(kt,Rt){if(void 0===Rt)return kt;const le=te=>{const ce=+te.slice(0,-Qt.length);return kt.endsWith(Qt)&&!isNaN(ce)?`${ce*Rt.value}${Rt.unit}`:kt};return kt.includes(" ")?kt.split(" ").map(le).join(" "):le(kt)}},30017:(Ae,ee,l)=>{"use strict";l.d(ee,{G:()=>e});var i=l(71985),t=l(18359),p=l(99898),S=l(54360),c=l(39974);class e extends i.c{constructor(g,d){super(),this.source=g,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,c.S)(g)&&(this.lift=g.lift)}_subscribe(g){return this.getSubject().subscribe(g)}getSubject(){const g=this._subject;return(!g||g.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:g}=this;this._subject=this._connection=null,g?.unsubscribe()}connect(){let g=this._connection;if(!g){g=this._connection=new t.yU;const d=this.getSubject();g.add(this.source.subscribe((0,S._)(d,void 0,()=>{this._teardown(),d.complete()},w=>{this._teardown(),d.error(w)},()=>this._teardown()))),g.closed&&(this._connection=null,g=t.yU.EMPTY)}return g}refCount(){return(0,p.B)()(this)}}},30450:(Ae,ee,l)=>{"use strict";l.d(ee,{mV:()=>Q,sG:()=>G});var i=l(2615),t=l(73664),p=l(17705),S=l(89417),c=l(76838),e=l(89726),T=l(88968),g=l(31804),d=l(32046),w=l(12496),m=l(53155),P=l(22466);const M=["switch"],j=["*"];function U($,ae){1&$&&(t.j41(0,"span",11),i.qSk(),t.j41(1,"svg",13),t.nrm(2,"path",14),t.k0s(),t.j41(3,"svg",15),t.nrm(4,"path",16),t.k0s()())}const K=new i.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})});class q{source;checked;constructor(ae,ue){this.source=ae,this.checked=ue}}let G=(()=>{class ${_elementRef=(0,i.WQX)(t.aKT);_focusMonitor=(0,i.WQX)(c.FN);_changeDetectorRef=(0,i.WQX)(p.gRc);defaults=(0,i.WQX)(K);_onChange=ue=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(ue){return new q(this,ue)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=(0,g.Rc)();_focused;name=null;id;labelPosition="after";ariaLabel=null;ariaLabelledby=null;ariaDescribedby;required;color;disabled=!1;disableRipple=!1;tabIndex=0;get checked(){return this._checked}set checked(ue){this._checked=ue,this._changeDetectorRef.markForCheck()}hideIcon;disabledInteractive;change=new t.bkB;toggleChange=new t.bkB;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){(0,i.WQX)(T.l).load(d.A);const ue=(0,i.WQX)(new p.ES_("tabindex"),{optional:!0}),oe=this.defaults;this.tabIndex=null==ue?0:parseInt(ue)||0,this.color=oe.color||"accent",this.id=this._uniqueId=(0,i.WQX)(e.g).getId("mat-mdc-slide-toggle-"),this.hideIcon=oe.hideIcon??!1,this.disabledInteractive=oe.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ue=>{"keyboard"===ue||"program"===ue?(this._focused=!0,this._changeDetectorRef.markForCheck()):ue||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(ue){ue.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(ue){this.checked=!!ue}registerOnChange(ue){this._onChange=ue}registerOnTouched(ue){this._onTouched=ue}validate(ue){return this.required&&!0!==ue.value?{required:!0}:null}registerOnValidatorChange(ue){this._validatorOnChange=ue}setDisabledState(ue){this.disabled=ue,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.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new q(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(oe){return new(oe||$)};static \u0275cmp=t.VBU({type:$,selectors:[["mat-slide-toggle"]],viewQuery:function(oe,he){if(1&oe&&t.GBs(M,5),2&oe){let me;t.mGM(me=t.lsd())&&(he._switchElement=me.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(oe,he){2&oe&&(t.Avn("id",he.id),t.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),t.HbH(he.color?"mat-"+he.color:""),t.AVh("mat-mdc-slide-toggle-focused",he._focused)("mat-mdc-slide-toggle-checked",he.checked)("_mat-animation-noopable",he._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",p.L39],color:"color",disabled:[2,"disabled","disabled",p.L39],disableRipple:[2,"disableRipple","disableRipple",p.L39],tabIndex:[2,"tabIndex","tabIndex",ue=>null==ue?0:(0,p.Udg)(ue)],checked:[2,"checked","checked",p.L39],hideIcon:[2,"hideIcon","hideIcon",p.L39],disabledInteractive:[2,"disabledInteractive","disabledInteractive",p.L39]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[t.Jv_([{provide:S.kq,useExisting:(0,i.Rfq)(()=>$),multi:!0},{provide:S.cz,useExisting:$,multi:!0}]),t.OA$],ngContentSelectors:j,decls:14,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mat-mdc-slide-toggle-touch-target"],[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-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(oe,he){if(1&oe){const me=t.RV6();t.NAR(),t.j41(0,"div",1)(1,"button",2,0),t.bIt("click",function(){return i.eBV(me),i.Njj(he._handleClick())}),t.nrm(3,"div",3)(4,"span",4),t.j41(5,"span",5)(6,"span",6)(7,"span",7),t.nrm(8,"span",8),t.k0s(),t.j41(9,"span",9),t.nrm(10,"span",10),t.k0s(),t.nVh(11,U,5,0,"span",11),t.k0s()()(),t.j41(12,"label",12),t.bIt("click",function(D){return i.eBV(me),i.Njj(D.stopPropagation())}),t.SdG(13),t.k0s()()}if(2&oe){const me=t.sdS(2);t.Y8G("labelPosition",he.labelPosition),t.R7$(),t.AVh("mdc-switch--selected",he.checked)("mdc-switch--unselected",!he.checked)("mdc-switch--checked",he.checked)("mdc-switch--disabled",he.disabled)("mat-mdc-slide-toggle-disabled-interactive",he.disabledInteractive),t.Y8G("tabIndex",he.disabled&&!he.disabledInteractive?-1:he.tabIndex)("disabled",he.disabled&&!he.disabledInteractive),t.BMQ("id",he.buttonId)("name",he.name)("aria-label",he.ariaLabel)("aria-labelledby",he._getAriaLabelledBy())("aria-describedby",he.ariaDescribedby)("aria-required",he.required||null)("aria-checked",he.checked)("aria-disabled",he.disabled&&he.disabledInteractive?"true":null),t.R7$(9),t.Y8G("matRippleTrigger",me)("matRippleDisabled",he.disableRipple||he.disabled)("matRippleCentered",!0),t.R7$(),t.vxM(he.hideIcon?-1:11),t.R7$(),t.Y8G("for",he.buttonId),t.BMQ("id",he._labelId)}},dependencies:[w.r6,m.t],styles:['.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;width:var(--mat-slide-toggle-track-width, 52px)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mat-slide-toggle-track-height, 32px);border-radius:var(--mat-slide-toggle-track-shape, var(--mat-sys-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mat-slide-toggle-disabled-track-opacity, 0.12)}.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%;border-width:var(--mat-slide-toggle-track-outline-width, 2px);border-color:var(--mat-slide-toggle-track-outline-color, var(--mat-sys-outline))}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-slide-toggle-selected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-selected-track-outline-color, transparent)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-slide-toggle-disabled-unselected-track-outline-width, 2px);border-color:var(--mat-slide-toggle-disabled-unselected-track-outline-color, var(--mat-sys-on-surface))}@media(forced-colors: active){.mdc-switch__track{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mat-slide-toggle-unselected-track-color, var(--mat-sys-surface-variant))}.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--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-hover-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-focus-track-color, var(--mat-sys-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mat-slide-toggle-unselected-pressed-track-color, var(--mat-sys-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mat-slide-toggle-disabled-unselected-track-color, var(--mat-sys-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mat-slide-toggle-selected-track-color, var(--mat-sys-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-visible-track-opacity, 1);transition:var(--mat-slide-toggle-visible-track-transition, opacity 75ms)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-slide-toggle-hidden-track-opacity, 0);transition:var(--mat-slide-toggle-hidden-track-transition, opacity 75ms)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-hover-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-focus-track-color, var(--mat-sys-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mat-slide-toggle-selected-pressed-track-color, var(--mat-sys-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mat-slide-toggle-disabled-selected-track-color, var(--mat-sys-on-surface))}.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);width:calc(100% - var(--mat-slide-toggle-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;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);width:var(--mat-slide-toggle-handle-width);height:var(--mat-slide-toggle-handle-height);border-radius:var(--mat-slide-toggle-handle-shape, var(--mat-sys-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-slide-toggle-unselected-handle-size, 16px);height:var(--mat-slide-toggle-unselected-handle-size, 16px);margin:var(--mat-slide-toggle-unselected-handle-horizontal-margin, 0 8px)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-unselected-with-icon-handle-horizontal-margin, 0 4px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-slide-toggle-selected-handle-size, 24px);height:var(--mat-slide-toggle-selected-handle-size, 24px);margin:var(--mat-slide-toggle-selected-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-slide-toggle-selected-with-icon-handle-horizontal-margin, 0 24px)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-slide-toggle-with-icon-handle-size, 24px);height:var(--mat-slide-toggle-with-icon-handle-size, 24px)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-slide-toggle-pressed-handle-size, 28px);height:var(--mat-slide-toggle-pressed-handle-size, 28px)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-selected-pressed-handle-horizontal-margin, 0 22px)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-slide-toggle-unselected-pressed-handle-horizontal-margin, 0 2px)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-selected-handle-opacity, 1)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-slide-toggle-disabled-unselected-handle-opacity, 0.38)}.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(forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-handle-color, var(--mat-sys-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-hover-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-focus-handle-color, var(--mat-sys-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-selected-pressed-handle-color, var(--mat-sys-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-selected-handle-color, var(--mat-sys-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-handle-color, var(--mat-sys-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-hover-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-focus-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mat-slide-toggle-unselected-pressed-handle-color, var(--mat-sys-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mat-slide-toggle-disabled-unselected-handle-color, var(--mat-sys-on-surface))}.mdc-switch__handle::before{background:var(--mat-slide-toggle-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mat-slide-toggle-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mat-slide-toggle-state-layer-size, 40px);height:var(--mat-slide-toggle-state-layer-size, 40px)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-hover-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-focus-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-unselected-pressed-state-layer-color, var(--mat-sys-on-surface));opacity:var(--mat-slide-toggle-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-hover-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-focus-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mat-slide-toggle-selected-pressed-state-layer-color, var(--mat-sys-primary));opacity:var(--mat-slide-toggle-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1;transform:translateZ(0)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-unselected-icon-opacity, 0.38)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mat-slide-toggle-disabled-selected-icon-opacity, 0.38)}.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--unselected .mdc-switch__icon{width:var(--mat-slide-toggle-unselected-icon-size, 16px);height:var(--mat-slide-toggle-unselected-icon-size, 16px);fill:var(--mat-slide-toggle-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-unselected-icon-color, var(--mat-sys-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mat-slide-toggle-selected-icon-size, 16px);height:var(--mat-slide-toggle-selected-icon-size, 16px);fill:var(--mat-slide-toggle-selected-icon-color, var(--mat-sys-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mat-slide-toggle-disabled-selected-icon-color, var(--mat-sys-on-surface))}.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{-webkit-user-select:none;user-select:none;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.mat-mdc-slide-toggle-focused .mat-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-slide-toggle-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-slide-toggle-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-slide-toggle-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-slide-toggle-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-slide-toggle-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-slide-toggle-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-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-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}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mat-slide-toggle-disabled-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-slide-toggle-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-slide-toggle-touch-target-size, 48px);width:100%;transform:translate(-50%, -50%);display:var(--mat-slide-toggle-touch-target-display, block)}[dir=rtl] .mat-mdc-slide-toggle-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],encapsulation:2,changeDetection:0})}return $})(),Q=(()=>{class ${static \u0275fac=function(oe){return new(oe||$)};static \u0275mod=t.$C({type:$});static \u0275inj=i.G2t({imports:[G,P.y,P.y]})}return $})()},30464:Ae=>{"use strict";var l={};function i(e,T,g){g||(g=Error);var w=function(m){function P(M,j,U){return m.call(this,function d(m,P,M){return"string"==typeof T?T:T(m,P,M)}(M,j,U))||this}return function ee(e,T){e.prototype=Object.create(T.prototype),e.prototype.constructor=e,e.__proto__=T}(P,m),P}(g);w.prototype.name=g.name,w.prototype.code=e,l[e]=w}function t(e,T){if(Array.isArray(e)){var g=e.length;return e=e.map(function(d){return String(d)}),g>2?"one of ".concat(T," ").concat(e.slice(0,g-1).join(", "),", or ")+e[g-1]:2===g?"one of ".concat(T," ").concat(e[0]," or ").concat(e[1]):"of ".concat(T," ").concat(e[0])}return"of ".concat(T," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",function(e,T){return'The value "'+T+'" is invalid for option "'+e+'"'},TypeError),i("ERR_INVALID_ARG_TYPE",function(e,T,g){var d,w;if("string"==typeof T&&function p(e,T,g){return e.substr(!g||g<0?0:+g,T.length)===T}(T,"not ")?(d="must not be",T=T.replace(/^not /,"")):d="must be",function S(e,T,g){return(void 0===g||g>e.length)&&(g=e.length),e.substring(g-T.length,g)===T}(e," argument"))w="The ".concat(e," ").concat(d," ").concat(t(T,"type"));else{var m=function c(e,T,g){return"number"!=typeof g&&(g=0),!(g+T.length>e.length)&&-1!==e.indexOf(T,g)}(e,".")?"property":"argument";w='The "'.concat(e,'" ').concat(m," ").concat(d," ").concat(t(T,"type"))}return w+". Received type ".concat(typeof g)},TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ae.exports.F=l},30715:(Ae,ee,l)=>{var i=l(67211),t=l(27054).Buffer;function p(S){var c=t.allocUnsafe(4);return c.writeUInt32BE(S,0),c}Ae.exports=function(S,c){for(var g,e=t.alloc(0),T=0;e.length<c;)g=p(T++),e=t.concat([e,i("sha1").update(S).update(g).digest()]);return e.slice(0,c)}},31264:(Ae,ee,l)=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});var i=l(94478);Object.keys(i).forEach(function(t){"default"!==t&&Object.defineProperty(ee,t,{enumerable:!0,get:function(){return i[t]}})})},31358:(Ae,ee,l)=>{"use strict";var i=l(90258),t=l(92736),p=l(35861)(),S=l(83798),c=l(46758),e=i("%Math.floor%");Ae.exports=function(g,d){if("function"!=typeof g)throw new c("`fn` is not a function");if("number"!=typeof d||d<0||d>4294967295||e(d)!==d)throw new c("`length` must be a positive 32-bit integer");var w=arguments.length>2&&!!arguments[2],m=!0,P=!0;if("length"in g&&S){var M=S(g,"length");M&&!M.configurable&&(m=!1),M&&!M.writable&&(P=!1)}return(m||P||!w)&&(p?t(g,"length",d,!0,!0):t(g,"length",d)),g}},31397:(Ae,ee,l)=>{"use strict";l.d(ee,{Z:()=>g});var i=l(96354),t=l(58750),p=l(39974),S=l(45225),c=l(54360),T=l(98071);function g(d,w,m=1/0){return(0,T.T)(w)?g((P,M)=>(0,i.T)((j,U)=>w(P,j,M,U))((0,t.Tg)(d(P,M))),m):("number"==typeof w&&(m=w),(0,p.N)((P,M)=>function e(d,w,m,P,M,j,U,K){const q=[];let G=0,Q=0,$=!1;const ae=()=>{$&&!q.length&&!G&&w.complete()},ue=he=>G<P?oe(he):q.push(he),oe=he=>{j&&w.next(he),G++;let me=!1;(0,t.Tg)(m(he,Q++)).subscribe((0,c._)(w,Te=>{M?.(Te),j?ue(Te):w.next(Te)},()=>{me=!0},void 0,()=>{if(me)try{for(G--;q.length&&G<P;){const Te=q.shift();U?(0,S.N)(w,U,()=>oe(Te)):oe(Te)}ae()}catch(Te){w.error(Te)}}))};return d.subscribe((0,c._)(w,ue,()=>{$=!0,ae()})),()=>{K?.()}}(P,M,d,m)))}},31635:(Ae,ee,l)=>{"use strict";function c(W,I,B,re){var Be,pe=arguments.length,be=pe<3?I:null===re?re=Object.getOwnPropertyDescriptor(I,B):re;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)be=Reflect.decorate(W,I,B,re);else for(var _e=W.length-1;_e>=0;_e--)(Be=W[_e])&&(be=(pe<3?Be(be):pe>3?Be(I,B,be):Be(I,B))||be);return pe>3&&be&&Object.defineProperty(I,B,be),be}function P(W,I,B,re){return new(B||(B=Promise))(function(be,Be){function _e(Ke){try{Le(re.next(Ke))}catch(ge){Be(ge)}}function ye(Ke){try{Le(re.throw(Ke))}catch(ge){Be(ge)}}function Le(Ke){Ke.done?be(Ke.value):function pe(be){return be instanceof B?be:new B(function(Be){Be(be)})}(Ke.value).then(_e,ye)}Le((re=re.apply(W,I||[])).next())})}function ae(W){return this instanceof ae?(this.v=W,this):new ae(W)}function ue(W,I,B){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,re=B.apply(W,I||[]),be=[];return pe=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),_e("next"),_e("throw"),_e("return",function Be(Oe){return function(Ee){return Promise.resolve(Ee).then(Oe,ge)}}),pe[Symbol.asyncIterator]=function(){return this},pe;function _e(Oe,Ee){re[Oe]&&(pe[Oe]=function(dt){return new Promise(function(nt,Ct){be.push([Oe,dt,nt,Ct])>1||ye(Oe,dt)})},Ee&&(pe[Oe]=Ee(pe[Oe])))}function ye(Oe,Ee){try{!function Le(Oe){Oe.value instanceof ae?Promise.resolve(Oe.value.v).then(Ke,ge):ve(be[0][2],Oe)}(re[Oe](Ee))}catch(dt){ve(be[0][3],dt)}}function Ke(Oe){ye("next",Oe)}function ge(Oe){ye("throw",Oe)}function ve(Oe,Ee){Oe(Ee),be.shift(),be.length&&ye(be[0][0],be[0][1])}}function he(W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var B,I=W[Symbol.asyncIterator];return I?I.call(W):(W=function K(W){var I="function"==typeof Symbol&&Symbol.iterator,B=I&&W[I],re=0;if(B)return B.call(W);if(W&&"number"==typeof W.length)return{next:function(){return W&&re>=W.length&&(W=void 0),{value:W&&W[re++],done:!W}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")}(W),B={},re("next"),re("throw"),re("return"),B[Symbol.asyncIterator]=function(){return this},B);function re(be){B[be]=W[be]&&function(Be){return new Promise(function(_e,ye){!function pe(be,Be,_e,ye){Promise.resolve(ye).then(function(Le){be({value:Le,done:_e})},Be)}(_e,ye,(Be=W[be](Be)).done,Be.value)})}}}l.d(ee,{AQ:()=>ue,Cg:()=>c,N3:()=>ae,sH:()=>P,xN:()=>he}),"function"==typeof SuppressedError&&SuppressedError},31804:(Ae,ee,l)=>{"use strict";l.d(ee,{Rc:()=>d,_J:()=>g});var i=l(34330),t=l(2615),p=l(73664);const S=new t.nKC("MATERIAL_ANIMATIONS");let T=null;function g(){return(0,t.WQX)(S,{optional:!0})?.animationsDisabled||"NoopAnimations"===(0,t.WQX)(p.bc$,{optional:!0})?"di-disabled":(T??=(0,t.WQX)(i.D).matchMedia("(prefers-reduced-motion)").matches,T?"reduced-motion":"enabled")}function d(){return"enabled"!==g()}},31943:(Ae,ee,l)=>{"use strict";l.d(ee,{S:()=>p});var i=l(39974),t=l(46649);function p(S,c){return(0,i.N)((0,t.S)(S,c,arguments.length>=2,!0))}},32046:(Ae,ee,l)=>{"use strict";l.d(ee,{A:()=>t});var i=l(73664);let t=(()=>{class p{static \u0275fac=function(e){return new(e||p)};static \u0275cmp=i.VBU({type:p,selectors:[["structural-styles"]],decls:0,vars:0,template:function(e,T){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,changeDetection:0})}return p})()},32142:(Ae,ee,l)=>{"use strict";l.d(ee,{f:()=>re});var i=l(51585),t=l(45383),p=l(21413),S=l(56977),c=l(4416),e=l(2615),T=l(73664),g=l(98570),d=l(82571),w=l(95416),m=l(51534),P=l(72200),M=l(20060),j=l(88834),U=l(25596),K=l(71997),q=l(52920),G=l(16038),Q=l(38288),$=l(29157),ae=l(89587);const ue=pe=>({"display-none":pe}),oe=pe=>({"xs-scroll-y":pe}),he=(pe,be)=>({"mt-2":pe,"mt-1":be});function me(pe,be){if(1&pe&&T.nrm(0,"qr-code",28),2&pe){const Be=T.XpG();T.Y8G("value",null==Be.offer?null:Be.offer.bolt12)("size",Be.qrWidth)}}function Te(pe,be){1&pe&&(T.j41(0,"span",29),T.EFF(1,"N/A"),T.k0s())}function D(pe,be){if(1&pe&&T.nrm(0,"qr-code",28),2&pe){const Be=T.XpG();T.Y8G("value",null==Be.offer?null:Be.offer.bolt12)("size",Be.qrWidth)}}function n(pe,be){1&pe&&(T.j41(0,"span",30),T.EFF(1,"QR Code Not Applicable"),T.k0s())}function o(pe,be){1&pe&&T.nrm(0,"mat-divider",31),2&pe&&T.Y8G("inset",!0)}function f(pe,be){1&pe&&T.nrm(0,"mat-divider",20)}function h(pe,be){if(1&pe&&(T.j41(0,"div",16)(1,"div",17)(2,"h4",18),T.EFF(3,"Used"),T.k0s(),T.j41(4,"span",19),T.EFF(5),T.k0s()(),T.j41(6,"div",17)(7,"h4",18),T.EFF(8,"Single Use"),T.k0s(),T.j41(9,"span",19),T.EFF(10),T.k0s()()()),2&pe){const Be=T.XpG(2);T.R7$(5),T.SpI(" ",null!=Be.offer&&Be.offer.used?null!=Be.offer&&Be.offer.used?"Yes":"No":"N/K"," "),T.R7$(5),T.SpI(" ",null!=Be.offer&&Be.offer.single_use?null!=Be.offer&&Be.offer.single_use?"Yes":"No":"N/K"," ")}}function b(pe,be){1&pe&&T.nrm(0,"mat-divider",20)}function A(pe,be){if(1&pe&&(T.j41(0,"div",16)(1,"div",21)(2,"h4",18),T.EFF(3,"Issuer"),T.k0s(),T.j41(4,"span",34),T.EFF(5),T.k0s()()()),2&pe){const Be=T.XpG(2);T.R7$(5),T.JRh(null==Be.offerDecoded?null:Be.offerDecoded.offer_issuer)}}function k(pe,be){1&pe&&T.nrm(0,"mat-divider",20)}function x(pe,be){if(1&pe&&(T.j41(0,"div",16)(1,"div",21)(2,"h4",18),T.EFF(3,"Label"),T.k0s(),T.j41(4,"span",19),T.EFF(5),T.k0s()()()),2&pe){const Be=T.XpG(2);T.R7$(5),T.JRh(Be.offer.label)}}function r(pe,be){if(1&pe&&(T.j41(0,"div"),T.DNE(1,f,1,0,"mat-divider",32)(2,h,11,2,"div",33)(3,b,1,0,"mat-divider",32)(4,A,6,1,"div",33)(5,k,1,0,"mat-divider",32)(6,x,6,1,"div",33),T.nrm(7,"mat-divider",20),T.j41(8,"div",16)(9,"div",21)(10,"h4",18),T.EFF(11,"Offer ID"),T.k0s(),T.j41(12,"span",19),T.EFF(13),T.k0s()()(),T.nrm(14,"mat-divider",20),T.j41(15,"div",16)(16,"div",21)(17,"h4",18),T.EFF(18,"Offer Node ID"),T.k0s(),T.j41(19,"span",19),T.EFF(20),T.k0s()()(),T.nrm(21,"mat-divider",20),T.k0s()),2&pe){const Be=T.XpG();T.R7$(),T.Y8G("ngIf",(null==Be.offer?null:Be.offer.used)||(null==Be.offer?null:Be.offer.single_use)),T.R7$(),T.Y8G("ngIf",(null==Be.offer?null:Be.offer.used)||(null==Be.offer?null:Be.offer.single_use)),T.R7$(),T.Y8G("ngIf",null==Be.offerDecoded?null:Be.offerDecoded.issuer),T.R7$(),T.Y8G("ngIf",null==Be.offerDecoded?null:Be.offerDecoded.issuer),T.R7$(),T.Y8G("ngIf",Be.offer.label),T.R7$(),T.Y8G("ngIf",Be.offer.label),T.R7$(7),T.JRh(Be.offerDecoded.offer_id),T.R7$(7),T.JRh(null==Be.offerDecoded?null:Be.offerDecoded.offer_node_id)}}function _(pe,be){1&pe&&(T.j41(0,"p"),T.EFF(1,"Show Advanced"),T.k0s())}function W(pe,be){1&pe&&(T.j41(0,"p"),T.EFF(1,"Hide Advanced"),T.k0s())}function I(pe,be){if(1&pe){const Be=T.RV6();T.j41(0,"button",35),T.bIt("copied",function(ye){e.eBV(Be);const Le=T.XpG();return e.Njj(Le.onCopyOffer(ye))}),T.EFF(1,"Copy Offer"),T.k0s()}if(2&pe){const Be=T.XpG();T.Y8G("payload",null==Be.offer?null:Be.offer.bolt12)}}function B(pe,be){if(1&pe){const Be=T.RV6();T.j41(0,"button",36),T.bIt("click",function(){e.eBV(Be);const ye=T.XpG();return e.Njj(ye.onClose())}),T.EFF(1,"OK"),T.k0s()}}let re=(()=>{var pe;class be{constructor(_e,ye,Le,Ke,ge,ve){this.dialogRef=_e,this.data=ye,this.logger=Le,this.commonService=Ke,this.snackBar=ge,this.dataService=ve,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=c.f7,this.flgOfferPaid=!1,this.unSubs=[new p.B,new p.B,new p.B,new p.B,new p.B]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===c.f7.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,S.Q)(this.unSubs[1])).subscribe(_e=>{this.offerDecoded=_e,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(_e){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+_e)}ngOnDestroy(){this.unSubs.forEach(_e=>{_e.next(null),_e.complete()})}static#e=pe=()=>(this.\u0275fac=function(ye){return new(ye||be)(T.rXU(i.CP),T.rXU(i.Vh),T.rXU(g.gP),T.rXU(d.h),T.rXU(w.UG),T.rXU(m.u))},this.\u0275cmp=T.VBU({type:be,selectors:[["rtl-cln-offer-information"]],standalone:!1,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"],["errorCorrectionLevel","L",3,"value","size",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"],["errorCorrectionLevel","L",3,"value","size"],[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(ye,Le){if(1&ye){const Ke=T.RV6();T.j41(0,"div",1)(1,"div",2),T.DNE(2,me,1,2,"qr-code",3)(3,Te,2,0,"span",4),T.k0s(),T.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),T.nrm(7,"fa-icon",8),T.j41(8,"span",9),T.EFF(9),T.k0s()(),T.j41(10,"button",10),T.bIt("click",function(){return e.eBV(Ke),e.Njj(Le.onClose())}),T.EFF(11,"X"),T.k0s()(),T.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),T.DNE(15,D,1,2,"qr-code",3)(16,n,2,0,"span",14),T.k0s(),T.DNE(17,o,1,1,"mat-divider",15),T.j41(18,"div",16)(19,"div",17)(20,"h4",18),T.EFF(21,"Amount Requested (Sats)"),T.k0s(),T.j41(22,"span",19),T.EFF(23),T.nI1(24,"number"),T.k0s()(),T.j41(25,"div",17)(26,"h4",18),T.EFF(27,"Valid"),T.k0s(),T.j41(28,"span",19),T.EFF(29),T.k0s()()(),T.nrm(30,"mat-divider",20),T.j41(31,"div",16)(32,"div",21)(33,"h4",18),T.EFF(34,"Description"),T.k0s(),T.j41(35,"span",19),T.EFF(36),T.k0s()()(),T.nrm(37,"mat-divider",20),T.j41(38,"div",16)(39,"div",21)(40,"h4",18),T.EFF(41,"Offer"),T.k0s(),T.j41(42,"span",19),T.EFF(43),T.k0s()()(),T.DNE(44,r,22,8,"div",22),T.j41(45,"div",23)(46,"button",24),T.bIt("click",function(){return e.eBV(Ke),e.Njj(Le.onShowAdvanced())}),T.DNE(47,_,2,0,"p",25)(48,W,2,0,"ng-template",null,0,T.C5r),T.k0s(),T.DNE(50,I,2,1,"button",26)(51,B,2,0,"button",27),T.k0s()()()()()}if(2&ye){const Ke=T.sdS(49);T.R7$(),T.Y8G("fxLayoutAlign",null!=Le.offer&&Le.offer.bolt12&&""!==(null==Le.offer?null:Le.offer.bolt12)?"center start":"center center")("ngClass",T.eq3(24,ue,Le.screenSize===Le.screenSizeEnum.XS||Le.screenSize===Le.screenSizeEnum.SM)),T.R7$(),T.Y8G("ngIf",(null==Le.offer?null:Le.offer.bolt12)&&""!==(null==Le.offer?null:Le.offer.bolt12)),T.R7$(),T.Y8G("ngIf",!(null!=Le.offer&&Le.offer.bolt12)||""===(null==Le.offer?null:Le.offer.bolt12)),T.R7$(4),T.Y8G("icon",Le.faReceipt),T.R7$(2),T.JRh(Le.screenSize===Le.screenSizeEnum.XS?Le.newlyAdded?"Created":"Offer":Le.newlyAdded?"Offer Created":"Offer Information"),T.R7$(3),T.Y8G("ngClass",T.eq3(26,oe,Le.screenSize===Le.screenSizeEnum.XS)),T.R7$(2),T.Y8G("fxLayoutAlign",null!=Le.offer&&Le.offer.bolt12&&""!==(null==Le.offer?null:Le.offer.bolt12)?"center start":"center center")("ngClass",T.eq3(28,ue,Le.screenSize!==Le.screenSizeEnum.XS&&Le.screenSize!==Le.screenSizeEnum.SM)),T.R7$(),T.Y8G("ngIf",(null==Le.offer?null:Le.offer.bolt12)&&""!==(null==Le.offer?null:Le.offer.bolt12)),T.R7$(),T.Y8G("ngIf",!(null!=Le.offer&&Le.offer.bolt12)||""===(null==Le.offer?null:Le.offer.bolt12)),T.R7$(),T.Y8G("ngIf",Le.screenSize===Le.screenSizeEnum.XS||Le.screenSize===Le.screenSizeEnum.SM),T.R7$(6),T.SpI(" ",null!=Le.offerDecoded&&Le.offerDecoded.offer_amount_msat&&0!==(null==Le.offerDecoded?null:Le.offerDecoded.offer_amount_msat)?T.bMT(24,22,(null==Le.offerDecoded?null:Le.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),T.R7$(6),T.SpI(" ",null!=Le.offerDecoded&&Le.offerDecoded.valid?null!=Le.offerDecoded&&Le.offerDecoded.valid?"Yes":"No":"N/K"," "),T.R7$(7),T.SpI(" ",null==Le.offerDecoded?null:Le.offerDecoded.offer_description," "),T.R7$(7),T.JRh(null==Le.offer?null:Le.offer.bolt12),T.R7$(),T.Y8G("ngIf",Le.showAdvanced),T.R7$(),T.Y8G("ngClass",T.l_i(30,he,!Le.showAdvanced,Le.showAdvanced)),T.R7$(2),T.Y8G("ngIf",!Le.showAdvanced)("ngIfElse",Ke),T.R7$(3),T.Y8G("ngIf",(null==Le.offer?null:Le.offer.bolt12)&&""!==(null==Le.offer?null:Le.offer.bolt12)),T.R7$(),T.Y8G("ngIf",!(null!=Le.offer&&Le.offer.bolt12)||""===(null==Le.offer?null:Le.offer.bolt12))}},dependencies:[P.YU,P.bT,M.aY,j.$z,U.m2,U.MM,K.q,q.DJ,q.sA,q.UI,G.PW,Q.Um,$.U,ae.N,P.QX],encapsulation:2}))}return pe(),be})()},32148:(Ae,ee,l)=>{"use strict";var i=l(71993),t=l(70463),p=l(27054).Buffer,S=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],c=new Array(64);function e(){this.init(),this._w=c,t.call(this,64,56)}function T(M,j,U){return U^M&(j^U)}function g(M,j,U){return M&j|U&(M|j)}function d(M){return(M>>>2|M<<30)^(M>>>13|M<<19)^(M>>>22|M<<10)}function w(M){return(M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7)}function m(M){return(M>>>7|M<<25)^(M>>>18|M<<14)^M>>>3}function P(M){return(M>>>17|M<<15)^(M>>>19|M<<13)^M>>>10}i(e,t),e.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},e.prototype._update=function(M){for(var j=this._w,U=0|this._a,K=0|this._b,q=0|this._c,G=0|this._d,Q=0|this._e,$=0|this._f,ae=0|this._g,ue=0|this._h,oe=0;oe<16;++oe)j[oe]=M.readInt32BE(4*oe);for(;oe<64;++oe)j[oe]=P(j[oe-2])+j[oe-7]+m(j[oe-15])+j[oe-16]|0;for(var he=0;he<64;++he){var me=ue+w(Q)+T(Q,$,ae)+S[he]+j[he]|0,Te=d(U)+g(U,K,q)|0;ue=ae,ae=$,$=Q,Q=G+me|0,G=q,q=K,K=U,U=me+Te|0}this._a=U+this._a|0,this._b=K+this._b|0,this._c=q+this._c|0,this._d=G+this._d|0,this._e=Q+this._e|0,this._f=$+this._f|0,this._g=ae+this._g|0,this._h=ue+this._h|0},e.prototype._hash=function(){var M=p.allocUnsafe(32);return M.writeInt32BE(this._a,0),M.writeInt32BE(this._b,4),M.writeInt32BE(this._c,8),M.writeInt32BE(this._d,12),M.writeInt32BE(this._e,16),M.writeInt32BE(this._f,20),M.writeInt32BE(this._g,24),M.writeInt32BE(this._h,28),M},Ae.exports=e},33468:(Ae,ee,l)=>{"use strict";var i=l(68283),t=l(12901),p=l(95542),S=i.rotl32,c=i.sum32,e=i.sum32_5,T=p.ft_1,g=t.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function w(){if(!(this instanceof w))return new w;g.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i.inherits(w,g),Ae.exports=w,w.blockSize=512,w.outSize=160,w.hmacStrength=80,w.padLength=64,w.prototype._update=function(P,M){for(var j=this.W,U=0;U<16;U++)j[U]=P[M+U];for(;U<j.length;U++)j[U]=S(j[U-3]^j[U-8]^j[U-14]^j[U-16],1);var K=this.h[0],q=this.h[1],G=this.h[2],Q=this.h[3],$=this.h[4];for(U=0;U<j.length;U++){var ae=~~(U/20),ue=e(S(K,5),T(ae,q,G,Q),$,j[U],d[ae]);$=Q,Q=G,G=S(q,30),q=K,K=ue}this.h[0]=c(this.h[0],K),this.h[1]=c(this.h[1],q),this.h[2]=c(this.h[2],G),this.h[3]=c(this.h[3],Q),this.h[4]=c(this.h[4],$)},w.prototype._digest=function(P){return"hex"===P?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},33556:(Ae,ee,l)=>{"use strict";var i=l(52529),t=l(21832),p=l(39210);function S(c){if(!(this instanceof S))return new S(c);this.hash=c.hash,this.predResist=!!c.predResist,this.outLen=this.hash.outSize,this.minEntropy=c.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=t.toArray(c.entropy,c.entropyEnc||"hex"),T=t.toArray(c.nonce,c.nonceEnc||"hex"),g=t.toArray(c.pers,c.persEnc||"hex");p(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,T,g)}Ae.exports=S,S.prototype._init=function(e,T,g){var d=e.concat(T).concat(g);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var w=0;w<this.V.length;w++)this.K[w]=0,this.V[w]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},S.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},S.prototype._update=function(e){var T=this._hmac().update(this.V).update([0]);e&&(T=T.update(e)),this.K=T.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},S.prototype.reseed=function(e,T,g,d){"string"!=typeof T&&(d=g,g=T,T=null),e=t.toArray(e,T),g=t.toArray(g,d),p(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(g||[])),this._reseed=1},S.prototype.generate=function(e,T,g,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof T&&(d=g,g=T,T=null),g&&(g=t.toArray(g,d||"hex"),this._update(g));for(var w=[];w.length<e;)this.V=this._hmac().update(this.V).digest(),w=w.concat(this.V);var m=w.slice(0,e);return this._update(g),this._reseed++,t.encode(m,T)}},33669:(Ae,ee,l)=>{"use strict";function i(t){return t}l.d(ee,{D:()=>i})},33726:(Ae,ee,l)=>{"use strict";l.d(ee,{R:()=>w});var i=l(58750),t=l(71985),p=l(31397),S=l(47441),c=l(98071),e=l(6450);const T=["addListener","removeListener"],g=["addEventListener","removeEventListener"],d=["on","off"];function w(U,K,q,G){if((0,c.T)(q)&&(G=q,q=void 0),G)return w(U,K,q).pipe((0,e.I)(G));const[Q,$]=function j(U){return(0,c.T)(U.addEventListener)&&(0,c.T)(U.removeEventListener)}(U)?g.map(ae=>ue=>U[ae](K,ue,q)):function P(U){return(0,c.T)(U.addListener)&&(0,c.T)(U.removeListener)}(U)?T.map(m(U,K)):function M(U){return(0,c.T)(U.on)&&(0,c.T)(U.off)}(U)?d.map(m(U,K)):[];if(!Q&&(0,S.X)(U))return(0,p.Z)(ae=>w(ae,K,q))((0,i.Tg)(U));if(!Q)throw new TypeError("Invalid event target");return new t.c(ae=>{const ue=(...oe)=>ae.next(1<oe.length?oe:oe[0]);return Q(ue),()=>$(ue)})}function m(U,K){return q=>G=>U[q](K,G)}},33746:(Ae,ee,l)=>{"use strict";l.d(ee,{fg:()=>b,fS:()=>A});var i=l(14085),t=l(39842);let S;const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function e(){if(S)return S;if("object"!=typeof document||!document)return S=new Set(c),S;let k=document.createElement("input");return S=new Set(c.filter(x=>(k.setAttribute("type",x),k.type===x))),S}var T=l(73664),g=l(2615),d=l(983),w=l(21413),m=l(88968),P=l(67847);let M=(()=>{class k{static \u0275fac=function(_){return new(_||k)};static \u0275cmp=T.VBU({type:k,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(_,W){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,changeDetection:0})}return k})();const j={passive:!0};let U=(()=>{class k{_platform=(0,g.WQX)(t.O);_ngZone=(0,g.WQX)(T.SKi);_renderer=(0,g.WQX)(T._9s).createRenderer(null,null);_styleLoader=(0,g.WQX)(m.l);_monitoredElements=new Map;constructor(){}monitor(r){if(!this._platform.isBrowser)return d.w;this._styleLoader.load(M);const _=(0,P.i8)(r),W=this._monitoredElements.get(_);if(W)return W.subject;const I=new w.B,B="cdk-text-field-autofilled",re=be=>{"cdk-text-field-autofill-start"!==be.animationName||_.classList.contains(B)?"cdk-text-field-autofill-end"===be.animationName&&_.classList.contains(B)&&(_.classList.remove(B),this._ngZone.run(()=>I.next({target:be.target,isAutofilled:!1}))):(_.classList.add(B),this._ngZone.run(()=>I.next({target:be.target,isAutofilled:!0})))},pe=this._ngZone.runOutsideAngular(()=>(_.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(_,"animationstart",re,j)));return this._monitoredElements.set(_,{subject:I,unlisten:pe}),I}stopMonitoring(r){const _=(0,P.i8)(r),W=this._monitoredElements.get(_);W&&(W.unlisten(),W.subject.complete(),_.classList.remove("cdk-text-field-autofill-monitored"),_.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(_))}ngOnDestroy(){this._monitoredElements.forEach((r,_)=>this.stopMonitoring(_))}static \u0275fac=function(_){return new(_||k)};static \u0275prov=g.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})(),G=(()=>{class k{static \u0275fac=function(_){return new(_||k)};static \u0275mod=T.$C({type:k});static \u0275inj=g.G2t({})}return k})();var Q=l(59295),$=l(17705),ae=l(89726),ue=l(89417),oe=l(68010),he=l(69588),me=l(2709),Te=l(39336),D=l(71228),n=l(22466);const f=["button","checkbox","file","hidden","image","radio","range","reset","submit"],h=new g.nKC("MAT_INPUT_CONFIG");let b=(()=>{class k{_elementRef=(0,g.WQX)(T.aKT);_platform=(0,g.WQX)(t.O);ngControl=(0,g.WQX)(ue.vO,{optional:!0,self:!0});_autofillMonitor=(0,g.WQX)(U);_ngZone=(0,g.WQX)(T.SKi);_formField=(0,g.WQX)(he.xb,{optional:!0});_renderer=(0,g.WQX)(T.sFG);_uid=(0,g.WQX)(ae.g).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=(0,g.WQX)(h,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new w.B;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(r){this._disabled=(0,i.he)(r),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(r){this._id=r||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(ue.k0.required)??!1}set required(r){this._required=(0,i.he)(r)}_required;get type(){return this._type}set type(r){this._type=r||"text",this._validateType(),!this._isTextarea&&e().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(r){this._errorStateTracker.matcher=r}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(r){r!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(r):this._inputValueAccessor.value=r,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(r){this._readonly=(0,i.he)(r)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(r){this._errorStateTracker.errorState=r}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(r=>e().has(r));constructor(){const r=(0,g.WQX)(ue.cV,{optional:!0}),_=(0,g.WQX)(ue.j4,{optional:!0}),W=(0,g.WQX)(me.e),I=(0,g.WQX)(oe.O,{optional:!0,self:!0}),B=this._elementRef.nativeElement,re=B.nodeName.toLowerCase();I?(0,g.Hps)(I.value)?this._signalBasedValueAccessor=I:this._inputValueAccessor=I:this._inputValueAccessor=B,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(B,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Te.X(W,this.ngControl,_,r,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===re,this._isTextarea="textarea"===re,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=B.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&(0,Q.QZ)(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(r=>{this.autofilled=r.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}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(r){this._elementRef.nativeElement.focus(r)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(r){if(r!==this.focused){if(!this._isNativeSelect&&r&&this.disabled&&this.disabledInteractive){const _=this._elementRef.nativeElement;"number"===_.type?(_.type="text",_.setSelectionRange(0,0),_.type="number"):_.setSelectionRange(0,0)}this.focused=r,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const r=this._elementRef.nativeElement.value;this._previousNativeValue!==r&&(this._previousNativeValue=r,this.stateChanges.next())}_dirtyCheckPlaceholder(){const r=this._getPlaceholder();if(r!==this._previousPlaceholder){const _=this._elementRef.nativeElement;this._previousPlaceholder=r,r?_.setAttribute("placeholder",r):_.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){f.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let r=this._elementRef.nativeElement.validity;return r&&r.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const r=this._elementRef.nativeElement,_=r.options[0];return this.focused||r.multiple||!this.empty||!!(r.selectedIndex>-1&&_&&_.label)}return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(r){const _=this._elementRef.nativeElement;r.length?_.setAttribute("aria-describedby",r.join(" ")):_.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const r=this._elementRef.nativeElement;return this._isNativeSelect&&(r.multiple||r.size>1)}_iOSKeyupListener=r=>{const _=r.target;!_.value&&0===_.selectionStart&&0===_.selectionEnd&&(_.setSelectionRange(1,1),_.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(_){return new(_||k)};static \u0275dir=T.FsC({type:k,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(_,W){1&_&&T.bIt("focus",function(){return W._focusChanged(!0)})("blur",function(){return W._focusChanged(!1)})("input",function(){return W._onInput()}),2&_&&(T.Avn("id",W.id)("disabled",W.disabled&&!W.disabledInteractive)("required",W.required),T.BMQ("name",W.name||null)("readonly",W._getReadonlyAttribute())("aria-disabled",W.disabled&&W.disabledInteractive?"true":null)("aria-invalid",W.empty&&W.required?null:W.errorState)("aria-required",W.required)("id",W.id),T.AVh("mat-input-server",W._isServer)("mat-mdc-form-field-textarea-control",W._isInFormField&&W._isTextarea)("mat-mdc-form-field-input-control",W._isInFormField)("mat-mdc-input-disabled-interactive",W.disabledInteractive)("mdc-text-field__input",W._isInFormField)("mat-mdc-native-select-inline",W._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",disabledInteractive:[2,"disabledInteractive","disabledInteractive",$.L39]},exportAs:["matInput"],features:[T.Jv_([{provide:he.qT,useExisting:k}]),T.OA$]})}return k})(),A=(()=>{class k{static \u0275fac=function(_){return new(_||k)};static \u0275mod=T.$C({type:k});static \u0275inj=g.G2t({imports:[n.y,D.R,D.R,G,n.y]})}return k})()},34133:(Ae,ee,l)=>{var i=l(13546);ee.encrypt=function(t,p){var S=i(p,t._prev);return t._prev=t._cipher.encryptBlock(S),t._prev},ee.decrypt=function(t,p){var S=t._prev;t._prev=p;var c=t._cipher.decryptBlock(p);return i(c,S)}},34320:(Ae,ee,l)=>{var i=l(15066).Reporter,t=l(15066).EncoderBuffer,p=l(15066).DecoderBuffer,S=l(39210),c=["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"],e=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c);function g(w,m){var P={};this._baseState=P,P.enc=w,P.parent=m||null,P.children=null,P.tag=null,P.args=null,P.reverseArgs=null,P.choice=null,P.optional=!1,P.any=!1,P.obj=!1,P.use=null,P.useDecoder=null,P.key=null,P.default=null,P.explicit=null,P.implicit=null,P.contains=null,P.parent||(P.children=[],this._wrap())}Ae.exports=g;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];g.prototype.clone=function(){var m=this._baseState,P={};d.forEach(function(j){P[j]=m[j]});var M=new this.constructor(P.parent);return M._baseState=P,M},g.prototype._wrap=function(){var m=this._baseState;e.forEach(function(P){this[P]=function(){var j=new this.constructor(this);return m.children.push(j),j[P].apply(j,arguments)}},this)},g.prototype._init=function(m){var P=this._baseState;S(null===P.parent),m.call(this),P.children=P.children.filter(function(M){return M._baseState.parent===this},this),S.equal(P.children.length,1,"Root node can have only one child")},g.prototype._useArgs=function(m){var P=this._baseState,M=m.filter(function(j){return j instanceof this.constructor},this);m=m.filter(function(j){return!(j instanceof this.constructor)},this),0!==M.length&&(S(null===P.children),P.children=M,M.forEach(function(j){j._baseState.parent=this},this)),0!==m.length&&(S(null===P.args),P.args=m,P.reverseArgs=m.map(function(j){if("object"!=typeof j||j.constructor!==Object)return j;var U={};return Object.keys(j).forEach(function(K){K==(0|K)&&(K|=0),U[j[K]]=K}),U}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(w){g.prototype[w]=function(){throw new Error(w+" not implemented for encoding: "+this._baseState.enc)}}),c.forEach(function(w){g.prototype[w]=function(){var P=this._baseState,M=Array.prototype.slice.call(arguments);return S(null===P.tag),P.tag=w,this._useArgs(M),this}}),g.prototype.use=function(m){S(m);var P=this._baseState;return S(null===P.use),P.use=m,this},g.prototype.optional=function(){return this._baseState.optional=!0,this},g.prototype.def=function(m){var P=this._baseState;return S(null===P.default),P.default=m,P.optional=!0,this},g.prototype.explicit=function(m){var P=this._baseState;return S(null===P.explicit&&null===P.implicit),P.explicit=m,this},g.prototype.implicit=function(m){var P=this._baseState;return S(null===P.explicit&&null===P.implicit),P.implicit=m,this},g.prototype.obj=function(){var m=this._baseState,P=Array.prototype.slice.call(arguments);return m.obj=!0,0!==P.length&&this._useArgs(P),this},g.prototype.key=function(m){var P=this._baseState;return S(null===P.key),P.key=m,this},g.prototype.any=function(){return this._baseState.any=!0,this},g.prototype.choice=function(m){var P=this._baseState;return S(null===P.choice),P.choice=m,this._useArgs(Object.keys(m).map(function(M){return m[M]})),this},g.prototype.contains=function(m){var P=this._baseState;return S(null===P.use),P.contains=m,this},g.prototype._decode=function(m,P){var M=this._baseState;if(null===M.parent)return m.wrapResult(M.children[0]._decode(m,P));var Q,j=M.default,U=!0,K=null;if(null!==M.key&&(K=m.enterKey(M.key)),M.optional){var q=null;if(null!==M.explicit?q=M.explicit:null!==M.implicit?q=M.implicit:null!==M.tag&&(q=M.tag),null!==q||M.any){if(U=this._peekTag(m,q,M.any),m.isError(U))return U}else{var G=m.save();try{null===M.choice?this._decodeGeneric(M.tag,m,P):this._decodeChoice(m,P),U=!0}catch{U=!1}m.restore(G)}}if(M.obj&&U&&(Q=m.enterObject()),U){if(null!==M.explicit){var $=this._decodeTag(m,M.explicit);if(m.isError($))return $;m=$}var ae=m.offset;if(null===M.use&&null===M.choice){M.any&&(G=m.save());var ue=this._decodeTag(m,null!==M.implicit?M.implicit:M.tag,M.any);if(m.isError(ue))return ue;M.any?j=m.raw(G):m=ue}if(P&&P.track&&null!==M.tag&&P.track(m.path(),ae,m.length,"tagged"),P&&P.track&&null!==M.tag&&P.track(m.path(),m.offset,m.length,"content"),M.any||(j=null===M.choice?this._decodeGeneric(M.tag,m,P):this._decodeChoice(m,P)),m.isError(j))return j;if(!M.any&&null===M.choice&&null!==M.children&&M.children.forEach(function(me){me._decode(m,P)}),M.contains&&("octstr"===M.tag||"bitstr"===M.tag)){var oe=new p(j);j=this._getUse(M.contains,m._reporterState.obj)._decode(oe,P)}}return M.obj&&U&&(j=m.leaveObject(Q)),null===M.key||null===j&&!0!==U?null!==K&&m.exitKey(K):m.leaveKey(K,M.key,j),j},g.prototype._decodeGeneric=function(m,P,M){var j=this._baseState;return"seq"===m||"set"===m?null:"seqof"===m||"setof"===m?this._decodeList(P,m,j.args[0],M):/str$/.test(m)?this._decodeStr(P,m,M):"objid"===m&&j.args?this._decodeObjid(P,j.args[0],j.args[1],M):"objid"===m?this._decodeObjid(P,null,null,M):"gentime"===m||"utctime"===m?this._decodeTime(P,m,M):"null_"===m?this._decodeNull(P,M):"bool"===m?this._decodeBool(P,M):"objDesc"===m?this._decodeStr(P,m,M):"int"===m||"enum"===m?this._decodeInt(P,j.args&&j.args[0],M):null!==j.use?this._getUse(j.use,P._reporterState.obj)._decode(P,M):P.error("unknown tag: "+m)},g.prototype._getUse=function(m,P){var M=this._baseState;return M.useDecoder=this._use(m,P),S(null===M.useDecoder._baseState.parent),M.useDecoder=M.useDecoder._baseState.children[0],M.implicit!==M.useDecoder._baseState.implicit&&(M.useDecoder=M.useDecoder.clone(),M.useDecoder._baseState.implicit=M.implicit),M.useDecoder},g.prototype._decodeChoice=function(m,P){var M=this._baseState,j=null,U=!1;return Object.keys(M.choice).some(function(K){var q=m.save(),G=M.choice[K];try{var Q=G._decode(m,P);if(m.isError(Q))return!1;j={type:K,value:Q},U=!0}catch{return m.restore(q),!1}return!0},this),U?j:m.error("Choice not matched")},g.prototype._createEncoderBuffer=function(m){return new t(m,this.reporter)},g.prototype._encode=function(m,P,M){var j=this._baseState;if(null===j.default||j.default!==m){var U=this._encodeValue(m,P,M);if(void 0!==U&&!this._skipDefault(U,P,M))return U}},g.prototype._encodeValue=function(m,P,M){var j=this._baseState;if(null===j.parent)return j.children[0]._encode(m,P||new i);var G=null;if(this.reporter=P,j.optional&&void 0===m){if(null===j.default)return;m=j.default}var U=null,K=!1;if(j.any)G=this._createEncoderBuffer(m);else if(j.choice)G=this._encodeChoice(m,P);else if(j.contains)U=this._getUse(j.contains,M)._encode(m,P),K=!0;else if(j.children)U=j.children.map(function(ae){if("null_"===ae._baseState.tag)return ae._encode(null,P,m);if(null===ae._baseState.key)return P.error("Child should have a key");var ue=P.enterKey(ae._baseState.key);if("object"!=typeof m)return P.error("Child expected, but input is not object");var oe=ae._encode(m[ae._baseState.key],P,m);return P.leaveKey(ue),oe},this).filter(function(ae){return ae}),U=this._createEncoderBuffer(U);else if("seqof"===j.tag||"setof"===j.tag){if(!j.args||1!==j.args.length)return P.error("Too many args for : "+j.tag);if(!Array.isArray(m))return P.error("seqof/setof, but data is not Array");var q=this.clone();q._baseState.implicit=null,U=this._createEncoderBuffer(m.map(function(ae){return this._getUse(this._baseState.args[0],m)._encode(ae,P)},q))}else null!==j.use?G=this._getUse(j.use,M)._encode(m,P):(U=this._encodePrimitive(j.tag,m),K=!0);if(!j.any&&null===j.choice){var Q=null!==j.implicit?j.implicit:j.tag,$=null===j.implicit?"universal":"context";null===Q?null===j.use&&P.error("Tag could be omitted only for .use()"):null===j.use&&(G=this._encodeComposite(Q,K,$,U))}return null!==j.explicit&&(G=this._encodeComposite(j.explicit,!1,"context",G)),G},g.prototype._encodeChoice=function(m,P){var M=this._baseState,j=M.choice[m.type];return j||S(!1,m.type+" not found in "+JSON.stringify(Object.keys(M.choice))),j._encode(m.value,P)},g.prototype._encodePrimitive=function(m,P){var M=this._baseState;if(/str$/.test(m))return this._encodeStr(P,m);if("objid"===m&&M.args)return this._encodeObjid(P,M.reverseArgs[0],M.args[1]);if("objid"===m)return this._encodeObjid(P,null,null);if("gentime"===m||"utctime"===m)return this._encodeTime(P,m);if("null_"===m)return this._encodeNull();if("int"===m||"enum"===m)return this._encodeInt(P,M.args&&M.reverseArgs[0]);if("bool"===m)return this._encodeBool(P);if("objDesc"===m)return this._encodeStr(P,m);throw new Error("Unsupported tag: "+m)},g.prototype._isNumstr=function(m){return/^[0-9 ]*$/.test(m)},g.prototype._isPrintstr=function(m){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(m)}},34330:(Ae,ee,l)=>{"use strict";l.d(ee,{D:()=>q,Q:()=>$});var i=l(2615),t=l(73664),p=l(71985),S=l(21413),c=l(84572),e=l(28793),T=l(70152),g=l(96354),d=l(65245),w=l(99172),m=l(96697),P=l(56977),M=l(39842),j=l(80408);const U=new Set;let K,q=(()=>{class ue{_platform=(0,i.WQX)(M.O);_nonce=(0,i.WQX)(t.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Q}matchMedia(he){return(this._platform.WEBKIT||this._platform.BLINK)&&function G(ue,oe){if(!U.has(ue))try{K||(K=document.createElement("style"),oe&&K.setAttribute("nonce",oe),K.setAttribute("type","text/css"),document.head.appendChild(K)),K.sheet&&(K.sheet.insertRule(`@media ${ue} {body{ }}`,0),U.add(ue))}catch(he){console.error(he)}}(he,this._nonce),this._matchMedia(he)}static \u0275fac=function(me){return new(me||ue)};static \u0275prov=i.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function Q(ue){return{matches:"all"===ue||""===ue,media:ue,addListener:()=>{},removeListener:()=>{}}}let $=(()=>{class ue{_mediaMatcher=(0,i.WQX)(q);_zone=(0,i.WQX)(t.SKi);_queries=new Map;_destroySubject=new S.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(he){return ae((0,j.F)(he)).some(Te=>this._registerQuery(Te).mql.matches)}observe(he){const Te=ae((0,j.F)(he)).map(n=>this._registerQuery(n).observable);let D=(0,c.z)(Te);return D=(0,e.x)(D.pipe((0,m.s)(1)),D.pipe((0,d.i)(1),(0,T.B)(0))),D.pipe((0,g.T)(n=>{const o={matches:!1,breakpoints:{}};return n.forEach(({matches:f,query:h})=>{o.matches=o.matches||f,o.breakpoints[h]=f}),o}))}_registerQuery(he){if(this._queries.has(he))return this._queries.get(he);const me=this._mediaMatcher.matchMedia(he),D={observable:new p.c(n=>{const o=f=>this._zone.run(()=>n.next(f));return me.addListener(o),()=>{me.removeListener(o)}}).pipe((0,w.Z)(me),(0,g.T)(({matches:n})=>({query:he,matches:n})),(0,P.Q)(this._destroySubject)),mql:me};return this._queries.set(he,D),D}static \u0275fac=function(me){return new(me||ue)};static \u0275prov=i.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();function ae(ue){return ue.map(oe=>oe.split(",")).reduce((oe,he)=>oe.concat(he)).map(oe=>oe.trim())}},34725:(Ae,ee,l)=>{"use strict";var i=l(71993),t=l(13686),p=l(27054).Buffer,S=new Array(16);function c(){t.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function e(m,P){return m<<P|m>>>32-P}function T(m,P,M,j,U,K,q){return e(m+(P&M|~P&j)+U+K|0,q)+P|0}function g(m,P,M,j,U,K,q){return e(m+(P&j|M&~j)+U+K|0,q)+P|0}function d(m,P,M,j,U,K,q){return e(m+(P^M^j)+U+K|0,q)+P|0}function w(m,P,M,j,U,K,q){return e(m+(M^(P|~j))+U+K|0,q)+P|0}i(c,t),c.prototype._update=function(){for(var m=S,P=0;P<16;++P)m[P]=this._block.readInt32LE(4*P);var M=this._a,j=this._b,U=this._c,K=this._d;M=T(M,j,U,K,m[0],3614090360,7),K=T(K,M,j,U,m[1],3905402710,12),U=T(U,K,M,j,m[2],606105819,17),j=T(j,U,K,M,m[3],3250441966,22),M=T(M,j,U,K,m[4],4118548399,7),K=T(K,M,j,U,m[5],1200080426,12),U=T(U,K,M,j,m[6],2821735955,17),j=T(j,U,K,M,m[7],4249261313,22),M=T(M,j,U,K,m[8],1770035416,7),K=T(K,M,j,U,m[9],2336552879,12),U=T(U,K,M,j,m[10],4294925233,17),j=T(j,U,K,M,m[11],2304563134,22),M=T(M,j,U,K,m[12],1804603682,7),K=T(K,M,j,U,m[13],4254626195,12),U=T(U,K,M,j,m[14],2792965006,17),M=g(M,j=T(j,U,K,M,m[15],1236535329,22),U,K,m[1],4129170786,5),K=g(K,M,j,U,m[6],3225465664,9),U=g(U,K,M,j,m[11],643717713,14),j=g(j,U,K,M,m[0],3921069994,20),M=g(M,j,U,K,m[5],3593408605,5),K=g(K,M,j,U,m[10],38016083,9),U=g(U,K,M,j,m[15],3634488961,14),j=g(j,U,K,M,m[4],3889429448,20),M=g(M,j,U,K,m[9],568446438,5),K=g(K,M,j,U,m[14],3275163606,9),U=g(U,K,M,j,m[3],4107603335,14),j=g(j,U,K,M,m[8],1163531501,20),M=g(M,j,U,K,m[13],2850285829,5),K=g(K,M,j,U,m[2],4243563512,9),U=g(U,K,M,j,m[7],1735328473,14),M=d(M,j=g(j,U,K,M,m[12],2368359562,20),U,K,m[5],4294588738,4),K=d(K,M,j,U,m[8],2272392833,11),U=d(U,K,M,j,m[11],1839030562,16),j=d(j,U,K,M,m[14],4259657740,23),M=d(M,j,U,K,m[1],2763975236,4),K=d(K,M,j,U,m[4],1272893353,11),U=d(U,K,M,j,m[7],4139469664,16),j=d(j,U,K,M,m[10],3200236656,23),M=d(M,j,U,K,m[13],681279174,4),K=d(K,M,j,U,m[0],3936430074,11),U=d(U,K,M,j,m[3],3572445317,16),j=d(j,U,K,M,m[6],76029189,23),M=d(M,j,U,K,m[9],3654602809,4),K=d(K,M,j,U,m[12],3873151461,11),U=d(U,K,M,j,m[15],530742520,16),M=w(M,j=d(j,U,K,M,m[2],3299628645,23),U,K,m[0],4096336452,6),K=w(K,M,j,U,m[7],1126891415,10),U=w(U,K,M,j,m[14],2878612391,15),j=w(j,U,K,M,m[5],4237533241,21),M=w(M,j,U,K,m[12],1700485571,6),K=w(K,M,j,U,m[3],2399980690,10),U=w(U,K,M,j,m[10],4293915773,15),j=w(j,U,K,M,m[1],2240044497,21),M=w(M,j,U,K,m[8],1873313359,6),K=w(K,M,j,U,m[15],4264355552,10),U=w(U,K,M,j,m[6],2734768916,15),j=w(j,U,K,M,m[13],1309151649,21),M=w(M,j,U,K,m[4],4149444226,6),K=w(K,M,j,U,m[11],3174756917,10),U=w(U,K,M,j,m[2],718787259,15),j=w(j,U,K,M,m[9],3951481745,21),this._a=this._a+M|0,this._b=this._b+j|0,this._c=this._c+U|0,this._d=this._d+K|0},c.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var m=p.allocUnsafe(16);return m.writeInt32LE(this._a,0),m.writeInt32LE(this._b,4),m.writeInt32LE(this._c,8),m.writeInt32LE(this._d,12),m},Ae.exports=c},35294:(Ae,ee,l)=>{var i;function t(S){this.rand=S}if(Ae.exports=function(c){return i||(i=new t(null)),i.generate(c)},Ae.exports.Rand=t,t.prototype.generate=function(c){return this._rand(c)},t.prototype._rand=function(c){if(this.rand.getBytes)return this.rand.getBytes(c);for(var e=new Uint8Array(c),T=0;T<e.length;T++)e[T]=this.rand.getByte();return e},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?t.prototype._rand=function(c){var e=new Uint8Array(c);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?t.prototype._rand=function(c){var e=new Uint8Array(c);return self.msCrypto.getRandomValues(e),e}:"object"==typeof window&&(t.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var p=l(91426);if("function"!=typeof p.randomBytes)throw new Error("Not supported");t.prototype._rand=function(c){return p.randomBytes(c)}}catch{}},35696:(Ae,ee,l)=>{"use strict";var i=l(27054).Buffer,t=l(41090),p=typeof Uint8Array<"u",c=p&&typeof ArrayBuffer<"u"&&ArrayBuffer.isView;Ae.exports=function(e,T){if("string"==typeof e||i.isBuffer(e)||p&&e instanceof Uint8Array||c&&c(e))return t(e,T);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')}},35861:(Ae,ee,l)=>{"use strict";var i=l(4570),t=function(){return!!i};t.hasArrayLengthDefineBug=function(){if(!i)return null;try{return 1!==i([],"length",{value:1}).length}catch{return!0}},Ae.exports=t},35941:Ae=>{function ee(l){if(!l||l<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=l,this.data=new Uint8Array(l*l),this.reservedBit=new Uint8Array(l*l)}ee.prototype.set=function(l,i,t,p){const S=l*this.size+i;this.data[S]=t,p&&(this.reservedBit[S]=!0)},ee.prototype.get=function(l,i){return this.data[l*this.size+i]},ee.prototype.xor=function(l,i,t){this.data[l*this.size+i]^=t},ee.prototype.isReserved=function(l,i){return this.reservedBit[l*this.size+i]},Ae.exports=ee},36013:(Ae,ee,l)=>{"use strict";l.d(ee,{F7:()=>lt,FR:()=>Pe,M6:()=>Mt,Ti:()=>Ke,V5:()=>Ct,aP:()=>Ht,xJ:()=>dt});var i=l(76939),t=l(97768),p=l(2615),S=l(73664),c=l(17705),e=l(76838),T=l(21413),g=l(18359),d=l(72200),w=l(88968),m=l(49046),P=l(12629),M=l(32046),j=l(12496),U=l(39842),K=l(96354),q=l(99172),G=l(25558),Q=l(56977),$=l(2709),ae=l(31804),ue=l(22466),oe=l(26881);const he=(Ce,ze,Z)=>({index:Ce,active:ze,optional:Z});function me(Ce,ze){if(1&Ce&&S.eu8(0,2),2&Ce){const Z=S.XpG();S.Y8G("ngTemplateOutlet",Z.iconOverrides[Z.state])("ngTemplateOutletContext",S.sMw(2,he,Z.index,Z.active,Z.optional))}}function Te(Ce,ze){if(1&Ce&&(S.j41(0,"span",7),S.EFF(1),S.k0s()),2&Ce){const Z=S.XpG(2);S.R7$(),S.JRh(Z._getDefaultTextForState(Z.state))}}function D(Ce,ze){if(1&Ce&&(S.j41(0,"span",8),S.EFF(1),S.k0s()),2&Ce){const Z=S.XpG(3);S.R7$(),S.JRh(Z._intl.completedLabel)}}function n(Ce,ze){if(1&Ce&&(S.j41(0,"span",8),S.EFF(1),S.k0s()),2&Ce){const Z=S.XpG(3);S.R7$(),S.JRh(Z._intl.editableLabel)}}function o(Ce,ze){if(1&Ce&&(S.nVh(0,D,2,1,"span",8)(1,n,2,1,"span",8),S.j41(2,"mat-icon",7),S.EFF(3),S.k0s()),2&Ce){const Z=S.XpG(2);S.vxM("done"===Z.state?0:"edit"===Z.state?1:-1),S.R7$(3),S.JRh(Z._getDefaultTextForState(Z.state))}}function f(Ce,ze){if(1&Ce&&S.nVh(0,Te,2,1,"span",7)(1,o,4,2),2&Ce){let Z;const J=S.XpG();S.vxM("number"===(Z=J.state)?0:1)}}function h(Ce,ze){1&Ce&&(S.j41(0,"div",4),S.eu8(1,9),S.k0s()),2&Ce&&(S.R7$(),S.Y8G("ngTemplateOutlet",ze.template))}function b(Ce,ze){if(1&Ce&&(S.j41(0,"div",4),S.EFF(1),S.k0s()),2&Ce){const Z=S.XpG();S.R7$(),S.JRh(Z.label)}}function A(Ce,ze){if(1&Ce&&(S.j41(0,"div",5),S.EFF(1),S.k0s()),2&Ce){const Z=S.XpG();S.R7$(),S.JRh(Z._intl.optionalLabel)}}function k(Ce,ze){if(1&Ce&&(S.j41(0,"div",6),S.EFF(1),S.k0s()),2&Ce){const Z=S.XpG();S.R7$(),S.JRh(Z.errorMessage)}}const x=["*"];function r(Ce,ze){}function _(Ce,ze){if(1&Ce&&(S.SdG(0),S.DNE(1,r,0,0,"ng-template",0)),2&Ce){const Z=S.XpG();S.R7$(),S.Y8G("cdkPortalOutlet",Z._portal)}}const W=["animatedContainer"],I=Ce=>({step:Ce});function B(Ce,ze){1&Ce&&S.SdG(0)}function re(Ce,ze){1&Ce&&S.nrm(0,"div",7)}function pe(Ce,ze){if(1&Ce&&(S.eu8(0,6),S.nVh(1,re,1,0,"div",7)),2&Ce){const Z=ze.$implicit,J=ze.$index,fe=ze.$count;S.XpG(2);const Ie=S.sdS(4);S.Y8G("ngTemplateOutlet",Ie)("ngTemplateOutletContext",S.eq3(3,I,Z)),S.R7$(),S.vxM(J!==fe-1?1:-1)}}function be(Ce,ze){if(1&Ce&&(S.j41(0,"div",8,1),S.eu8(2,9),S.k0s()),2&Ce){const Z=ze.$implicit,J=ze.$index,fe=S.XpG(2);S.HbH("mat-horizontal-stepper-content-"+fe._getAnimationDirection(J)),S.Y8G("id",fe._getStepContentId(J)),S.BMQ("aria-labelledby",fe._getStepLabelId(J))("inert",fe.selectedIndex===J?null:""),S.R7$(2),S.Y8G("ngTemplateOutlet",Z.content)}}function Be(Ce,ze){if(1&Ce&&(S.j41(0,"div",2)(1,"div",3),S.Z7z(2,pe,2,5,null,null,S.fX1),S.k0s(),S.j41(4,"div",4),S.Z7z(5,be,3,6,"div",5,S.fX1),S.k0s()()),2&Ce){const Z=S.XpG();S.R7$(2),S.Dyx(Z.steps),S.R7$(3),S.Dyx(Z.steps)}}function _e(Ce,ze){if(1&Ce&&(S.j41(0,"div",10),S.eu8(1,6),S.j41(2,"div",11,1)(4,"div",12)(5,"div",13),S.eu8(6,9),S.k0s()()()()),2&Ce){const Z=ze.$implicit,J=ze.$index,fe=ze.$index,Ie=ze.$count,ht=S.XpG(2),li=S.sdS(4);S.R7$(),S.Y8G("ngTemplateOutlet",li)("ngTemplateOutletContext",S.eq3(10,I,Z)),S.R7$(),S.AVh("mat-stepper-vertical-line",fe!==Ie-1)("mat-vertical-content-container-active",ht.selectedIndex===J),S.BMQ("inert",ht.selectedIndex===J?null:""),S.R7$(2),S.Y8G("id",ht._getStepContentId(J)),S.BMQ("aria-labelledby",ht._getStepLabelId(J)),S.R7$(2),S.Y8G("ngTemplateOutlet",Z.content)}}function ye(Ce,ze){if(1&Ce&&S.Z7z(0,_e,7,12,"div",10,S.fX1),2&Ce){const Z=S.XpG();S.Dyx(Z.steps)}}function Le(Ce,ze){if(1&Ce){const Z=S.RV6();S.j41(0,"mat-step-header",14),S.bIt("click",function(){const fe=p.eBV(Z).step;return p.Njj(fe.select())})("keydown",function(fe){p.eBV(Z);const Ie=S.XpG();return p.Njj(Ie._onKeydown(fe))}),S.k0s()}if(2&Ce){const Z=ze.step,J=S.XpG();S.AVh("mat-horizontal-stepper-header","horizontal"===J.orientation)("mat-vertical-stepper-header","vertical"===J.orientation),S.Y8G("tabIndex",J._getFocusIndex()===Z.index()?0:-1)("id",J._getStepLabelId(Z.index()))("index",Z.index())("state",Z.indicatorType())("label",Z.stepLabel||Z.label)("selected",Z.isSelected())("active",Z.isNavigable())("optional",Z.optional)("errorMessage",Z.errorMessage)("iconOverrides",J._iconOverrides)("disableRipple",J.disableRipple||!Z.isNavigable())("color",Z.color||J.color),S.BMQ("aria-posinset",Z.index()+1)("aria-setsize",J.steps.length)("aria-controls",J._getStepContentId(Z.index()))("aria-selected",Z.isSelected())("aria-label",Z.ariaLabel||null)("aria-labelledby",!Z.ariaLabel&&Z.ariaLabelledby?Z.ariaLabelledby:null)("aria-disabled",!Z.isNavigable()||null)}}let Ke=(()=>{class Ce extends t.nb{static \u0275fac=(()=>{let Z;return function(fe){return(Z||(Z=S.xGo(Ce)))(fe||Ce)}})();static \u0275dir=S.FsC({type:Ce,selectors:[["","matStepLabel",""]],features:[S.Vt3]})}return Ce})(),ge=(()=>{class Ce{changes=new T.B;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(J){return new(J||Ce)};static \u0275prov=p.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}return Ce})();const Oe={provide:ge,deps:[[new S.Xx1,new S.kdw,ge]],useFactory:function ve(Ce){return Ce||new ge}};let Ee=(()=>{class Ce extends t.oX{_intl=(0,p.WQX)(ge);_focusMonitor=(0,p.WQX)(e.FN);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super();const Z=(0,p.WQX)(w.l);Z.load(M.A),Z.load(m.Y);const J=(0,p.WQX)(c.gRc);this._intlSubscription=this._intl.changes.subscribe(()=>J.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Z,J){Z?this._focusMonitor.focusVia(this._elementRef,Z,J):this._elementRef.nativeElement.focus(J)}_stringLabel(){return this.label instanceof Ke?null:this.label}_templateLabel(){return this.label instanceof Ke?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getDefaultTextForState(Z){return"number"==Z?`${this.index+1}`:"edit"==Z?"create":"error"==Z?"warning":Z}_hasEmptyLabel(){return!(this._stringLabel()||this._templateLabel()||this._hasOptionalLabel()||this._hasErrorLabel())}_hasOptionalLabel(){return this.optional&&"error"!==this.state}_hasErrorLabel(){return"error"===this.state}static \u0275fac=function(J){return new(J||Ce)};static \u0275cmp=S.VBU({type:Ce,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:4,hostBindings:function(J,fe){2&J&&(S.HbH("mat-"+(fe.color||"primary")),S.AVh("mat-step-header-empty-label",fe._hasEmptyLabel()))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[S.Vt3],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(J,fe){if(1&J&&(S.nrm(0,"div",0),S.j41(1,"div")(2,"div",1),S.nVh(3,me,1,6,"ng-container",2)(4,f,2,1),S.k0s()(),S.j41(5,"div",3),S.nVh(6,h,2,1,"div",4)(7,b,2,1,"div",4),S.nVh(8,A,2,1,"div",5),S.nVh(9,k,2,1,"div",6),S.k0s()),2&J){let Ie;S.Y8G("matRippleTrigger",fe._getHostElement())("matRippleDisabled",fe.disableRipple),S.R7$(),S.HbH(S.VkB("mat-step-icon-state-",fe.state," mat-step-icon")),S.AVh("mat-step-icon-selected",fe.selected),S.R7$(2),S.vxM(fe.iconOverrides&&fe.iconOverrides[fe.state]?3:4),S.R7$(2),S.AVh("mat-step-label-active",fe.active)("mat-step-label-selected",fe.selected)("mat-step-label-error","error"==fe.state),S.R7$(),S.vxM((Ie=fe._templateLabel())?6:fe._stringLabel()?7:-1,Ie),S.R7$(2),S.vxM(fe._hasOptionalLabel()?8:-1),S.R7$(),S.vxM(fe._hasErrorLabel()?9:-1)}},dependencies:[j.r6,d.T3,P.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.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, var(--mat-sys-on-surface-variant))}.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, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.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, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.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, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-header-empty-label .mat-step-label{min-width:0}.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, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-done-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}\n'],encapsulation:2,changeDetection:0})}return Ce})(),dt=(()=>{class Ce{templateRef=(0,p.WQX)(S.C4Q);name;constructor(){}static \u0275fac=function(J){return new(J||Ce)};static \u0275dir=S.FsC({type:Ce,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return Ce})(),nt=(()=>{class Ce{_template=(0,p.WQX)(S.C4Q);constructor(){}static \u0275fac=function(J){return new(J||Ce)};static \u0275dir=S.FsC({type:Ce,selectors:[["ng-template","matStepContent",""]]})}return Ce})(),Ct=(()=>{class Ce extends t.VI{_errorStateMatcher=(0,p.WQX)($.e,{skipSelf:!0});_viewContainerRef=(0,p.WQX)(S.c1b);_isSelected=g.yU.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,G.n)(()=>this._stepper.selectionChange.pipe((0,K.T)(Z=>Z.selectedStep===this),(0,q.Z)(this._stepper.selected===this)))).subscribe(Z=>{Z&&this._lazyContent&&!this._portal&&(this._portal=new i.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Z,J){return this._errorStateMatcher.isErrorState(Z,J)||!!(Z&&Z.invalid&&this.interacted)}static \u0275fac=(()=>{let Z;return function(fe){return(Z||(Z=S.xGo(Ce)))(fe||Ce)}})();static \u0275cmp=S.VBU({type:Ce,selectors:[["mat-step"]],contentQueries:function(J,fe,Ie){if(1&J&&(S.wni(Ie,Ke,5),S.wni(Ie,nt,5)),2&J){let ht;S.mGM(ht=S.lsd())&&(fe.stepLabel=ht.first),S.mGM(ht=S.lsd())&&(fe._lazyContent=ht.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[S.Jv_([{provide:$.e,useExisting:Ce},{provide:t.VI,useExisting:Ce}]),S.Vt3],ngContentSelectors:x,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(J,fe){1&J&&(S.NAR(),S.DNE(0,_,2,1,"ng-template"))},dependencies:[i.I3],encapsulation:2,changeDetection:0})}return Ce})(),Mt=(()=>{class Ce extends t.Up{_ngZone=(0,p.WQX)(S.SKi);_renderer=(0,p.WQX)(S.sFG);_animationsDisabled=(0,ae.Rc)();_cleanupTransition;_isAnimating=(0,p.vPA)(!1);_stepHeader=void 0;_animatedContainers;_steps=void 0;steps=new S.rOR;_icons;animationDone=new S.bkB;disableRipple;color;labelPosition="end";headerPosition="top";_iconOverrides={};get animationDuration(){return this._animationDuration}set animationDuration(Z){this._animationDuration=/^\d+$/.test(Z)?Z+"ms":Z}_animationDuration="";_isServer=!(0,p.WQX)(U.O).isBrowser;constructor(){super();const J=(0,p.WQX)(S.aKT).nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===J?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Z,templateRef:J})=>this._iconOverrides[Z]=J),this.steps.changes.pipe((0,Q.Q)(this._destroyed)).subscribe(()=>this._stateChanged()),this.selectedIndexChange.pipe((0,Q.Q)(this._destroyed)).subscribe(()=>{const Z=this._getAnimationDuration();"0ms"===Z||"0s"===Z?this._onAnimationDone():this._isAnimating.set(!0)}),this._ngZone.runOutsideAngular(()=>{this._animationsDisabled||setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-stepper-animations-enabled"),this._cleanupTransition=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionend)},200)})}ngAfterViewInit(){if(super.ngAfterViewInit(),"function"==typeof queueMicrotask){let Z=!1;this._animatedContainers.changes.pipe((0,q.Z)(null),(0,Q.Q)(this._destroyed)).subscribe(()=>queueMicrotask(()=>{Z||(Z=!0,this.animationDone.emit()),this._stateChanged()}))}}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransition?.()}_getAnimationDuration(){return this._animationsDisabled?"0ms":this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}_handleTransitionend=Z=>{const J=Z.target;if(!J)return;const fe="horizontal"===this.orientation&&"transform"===Z.propertyName&&J.classList.contains("mat-horizontal-stepper-content-current"),Ie="vertical"===this.orientation&&"grid-template-rows"===Z.propertyName&&J.classList.contains("mat-vertical-content-container-active");(fe||Ie)&&this._animatedContainers.find(li=>li.nativeElement===J)&&this._onAnimationDone()};_onAnimationDone(){this._isAnimating.set(!1),this.animationDone.emit()}static \u0275fac=function(J){return new(J||Ce)};static \u0275cmp=S.VBU({type:Ce,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(J,fe,Ie){if(1&J&&(S.wni(Ie,Ct,5),S.wni(Ie,dt,5)),2&J){let ht;S.mGM(ht=S.lsd())&&(fe._steps=ht),S.mGM(ht=S.lsd())&&(fe._icons=ht)}},viewQuery:function(J,fe){if(1&J&&(S.GBs(Ee,5),S.GBs(W,5)),2&J){let Ie;S.mGM(Ie=S.lsd())&&(fe._stepHeader=Ie),S.mGM(Ie=S.lsd())&&(fe._animatedContainers=Ie)}},hostAttrs:["role","tablist"],hostVars:15,hostBindings:function(J,fe){2&J&&(S.BMQ("aria-orientation",fe.orientation),S.xc7("--mat-stepper-animation-duration",fe._getAnimationDuration()),S.AVh("mat-stepper-horizontal","horizontal"===fe.orientation)("mat-stepper-vertical","vertical"===fe.orientation)("mat-stepper-label-position-end","horizontal"===fe.orientation&&"end"==fe.labelPosition)("mat-stepper-label-position-bottom","horizontal"===fe.orientation&&"bottom"==fe.labelPosition)("mat-stepper-header-position-bottom","bottom"===fe.headerPosition)("mat-stepper-animating",fe._isAnimating()))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[S.Jv_([{provide:t.Up,useExisting:Ce}]),S.Vt3],ngContentSelectors:x,decls:5,vars:2,consts:[["stepTemplate",""],["animatedContainer",""],[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","class"],[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(J,fe){if(1&J&&(S.NAR(),S.nVh(0,B,1,0),S.nVh(1,Be,7,0,"div",2)(2,ye,2,0),S.DNE(3,Le,1,23,"ng-template",null,0,S.C5r)),2&J){let Ie;S.vxM(fe._isServer?0:-1),S.R7$(),S.vxM("horizontal"===(Ie=fe.orientation)?1:"vertical"===Ie?2:-1)}},dependencies:[d.T3,Ee],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.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, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 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;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.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.mat-step-header-empty-label .mat-step-icon{margin:0}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 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, 72px) - 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, 72px) - 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{visibility:hidden;overflow:hidden;outline:0;height:0}.mat-stepper-animations-enabled .mat-horizontal-stepper-content{transition:transform var(--mat-stepper-animation-duration, 0) cubic-bezier(0.35, 0, 0.25, 1)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-previous{transform:translate3d(-100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-next{transform:translate3d(100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{visibility:visible;transform:none;height:auto}.mat-stepper-horizontal:not(.mat-stepper-animating) .mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{overflow:visible}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: 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{display:grid;grid-template-rows:0fr;grid-template-columns:100%;margin-left:36px;border:0;position:relative}.mat-stepper-animations-enabled .mat-vertical-content-container{transition:grid-template-rows var(--mat-stepper-animation-duration, 0) cubic-bezier(0.4, 0, 0.2, 1)}.mat-vertical-content-container.mat-vertical-content-container-active{grid-template-rows:1fr}.mat-step:last-child .mat-vertical-content-container{border:none}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}@supports not (grid-template-rows: 0fr){.mat-vertical-content-container{height:0}.mat-vertical-content-container.mat-vertical-content-container-active{height:auto}}.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, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0;visibility:hidden}.mat-stepper-animations-enabled .mat-vertical-stepper-content{transition:visibility var(--mat-stepper-animation-duration, 0) linear}.mat-vertical-content-container-active>.mat-vertical-stepper-content{visibility:visible}.mat-vertical-content{padding:0 24px 24px 24px}\n'],encapsulation:2,changeDetection:0})}return Ce})(),lt=(()=>{class Ce extends t.v5{static \u0275fac=(()=>{let Z;return function(fe){return(Z||(Z=S.xGo(Ce)))(fe||Ce)}})();static \u0275dir=S.FsC({type:Ce,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(J,fe){2&J&&S.Avn("type",fe.type)},features:[S.Vt3]})}return Ce})(),Pe=(()=>{class Ce extends t.FK{static \u0275fac=(()=>{let Z;return function(fe){return(Z||(Z=S.xGo(Ce)))(fe||Ce)}})();static \u0275dir=S.FsC({type:Ce,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(J,fe){2&J&&S.Avn("type",fe.type)},features:[S.Vt3]})}return Ce})(),Ht=(()=>{class Ce{static \u0275fac=function(J){return new(J||Ce)};static \u0275mod=S.$C({type:Ce});static \u0275inj=p.G2t({providers:[Oe,$.e],imports:[ue.y,i.jc,t.uY,P.m_,oe.p,Mt,Ee,ue.y]})}return Ce})()},36283:(Ae,ee,l)=>{var i=l(47740);ee.tagClass={0:"universal",1:"application",2:"context",3:"private"},ee.tagClassByName=i._reverse(ee.tagClass),ee.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},ee.tagByName=i._reverse(ee.tag)},36471:(Ae,ee,l)=>{"use strict";l.d(ee,{Jl:()=>lt,YN:()=>di});var i=l(76838),t=l(89726),S=(l(64123),l(10438)),e=(l(67336),l(88968)),T=l(49046),g=l(2615),d=l(73664),w=l(17705),m=l(21413),P=l(57786),M=l(32046),j=l(12496),U=l(31804),K=l(11048),ue=(l(99172),l(25558),l(56977),l(61577),l(89417),l(2709)),me=(l(39336),l(69588),l(22466)),Te=l(26881);const D=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],n=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function o(kt,Rt){1&kt&&(d.j41(0,"span",3),d.SdG(1,1),d.k0s())}function f(kt,Rt){1&kt&&(d.j41(0,"span",6),d.SdG(1,2),d.k0s())}const ye=new g.nKC("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[S.Fm]})}),Le=new g.nKC("MatChipAvatar"),Ke=new g.nKC("MatChipTrailingIcon"),ge=new g.nKC("MatChipEdit"),ve=new g.nKC("MatChipRemove"),Oe=new g.nKC("MatChip");let Ee=(()=>{class kt{_elementRef=(0,g.WQX)(d.aKT);_parentChip=(0,g.WQX)(Oe);isInteractive=!0;_isPrimary=!0;_isLeading=!1;get disabled(){return this._disabled||this._parentChip?.disabled||!1}set disabled(le){this._disabled=le}_disabled=!1;tabIndex=-1;_allowFocusWhenDisabled=!1;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(){(0,g.WQX)(e.l).load(M.A),"BUTTON"===this._elementRef.nativeElement.nodeName&&this._elementRef.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(le){!this.disabled&&this.isInteractive&&this._isPrimary&&(le.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(le){(le.keyCode===S.Fm||le.keyCode===S.t6)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(le.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static \u0275fac=function(te){return new(te||kt)};static \u0275dir=d.FsC({type:kt,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:11,hostBindings:function(te,ce){1&te&&d.bIt("click",function(ke){return ce._handleClick(ke)})("keydown",function(ke){return ce._handleKeydown(ke)}),2&te&&(d.BMQ("tabindex",ce._getTabindex())("disabled",ce._getDisabledAttribute())("aria-disabled",ce.disabled),d.AVh("mdc-evolution-chip__action--primary",ce._isPrimary)("mdc-evolution-chip__action--presentational",!ce.isInteractive)("mdc-evolution-chip__action--secondary",!ce._isPrimary)("mdc-evolution-chip__action--trailing",!ce._isPrimary&&!ce._isLeading))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",w.L39],tabIndex:[2,"tabIndex","tabIndex",le=>null==le?-1:(0,w.Udg)(le)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return kt})(),lt=(()=>{class kt{_changeDetectorRef=(0,g.WQX)(w.gRc);_elementRef=(0,g.WQX)(d.aKT);_tagName=(0,g.WQX)(w.cCO);_ngZone=(0,g.WQX)(d.SKi);_focusMonitor=(0,g.WQX)(i.FN);_globalRippleOptions=(0,g.WQX)(j.$E,{optional:!0});_document=(0,g.WQX)(g.qQL);_onFocus=new m.B;_onBlur=new m.B;_isBasicChip;role=null;_hasFocusInternal=!1;_pendingFocus;_actionChanges;_animationsDisabled=(0,U.Rc)();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=(0,g.WQX)(t.g).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=!1;_hadFocusOnRemove=!1;_textElement;get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(le){this._value=le}_value;color;removable=!0;highlighted=!1;disableRipple=!1;get disabled(){return this._disabled||this._chipListDisabled}set disabled(le){this._disabled=le}_disabled=!1;removed=new d.bkB;destroyed=new d.bkB;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=(0,g.WQX)(K.E);_injector=(0,g.WQX)(g.zZn);constructor(){const le=(0,g.WQX)(e.l);le.load(M.A),le.load(T.Y),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._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,P.h)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.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._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}))}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(le){(le.keyCode===S.G_&&!le.repeat||le.keyCode===S.SJ)&&(le.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(le){return this._getActions().find(te=>{const ce=te._elementRef.nativeElement;return ce===le||ce.contains(le)})}_getActions(){const le=[];return this.editIcon&&le.push(this.editIcon),this.primaryAction&&le.push(this.primaryAction),this.removeIcon&&le.push(this.removeIcon),this.trailingIcon&&le.push(this.trailingIcon),le}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().some(le=>le.isInteractive)}_edit(le){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(le=>{const te=null!==le;te!==this._hasFocusInternal&&(this._hasFocusInternal=te,te?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}static \u0275fac=function(te){return new(te||kt)};static \u0275cmp=d.VBU({type:kt,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(te,ce,se){if(1&te&&(d.wni(se,Le,5),d.wni(se,ge,5),d.wni(se,Ke,5),d.wni(se,ve,5),d.wni(se,Le,5),d.wni(se,Ke,5),d.wni(se,ge,5),d.wni(se,ve,5)),2&te){let ke;d.mGM(ke=d.lsd())&&(ce.leadingIcon=ke.first),d.mGM(ke=d.lsd())&&(ce.editIcon=ke.first),d.mGM(ke=d.lsd())&&(ce.trailingIcon=ke.first),d.mGM(ke=d.lsd())&&(ce.removeIcon=ke.first),d.mGM(ke=d.lsd())&&(ce._allLeadingIcons=ke),d.mGM(ke=d.lsd())&&(ce._allTrailingIcons=ke),d.mGM(ke=d.lsd())&&(ce._allEditIcons=ke),d.mGM(ke=d.lsd())&&(ce._allRemoveIcons=ke)}},viewQuery:function(te,ce){if(1&te&&d.GBs(Ee,5),2&te){let se;d.mGM(se=d.lsd())&&(ce.primaryAction=se.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(te,ce){1&te&&d.bIt("keydown",function(ke){return ce._handleKeydown(ke)}),2&te&&(d.Avn("id",ce.id),d.BMQ("role",ce.role)("aria-label",ce.ariaLabel),d.HbH("mat-"+(ce.color||"primary")),d.AVh("mdc-evolution-chip",!ce._isBasicChip)("mdc-evolution-chip--disabled",ce.disabled)("mdc-evolution-chip--with-trailing-action",ce._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",ce.leadingIcon)("mdc-evolution-chip--with-primary-icon",ce.leadingIcon)("mdc-evolution-chip--with-avatar",ce.leadingIcon)("mat-mdc-chip-with-avatar",ce.leadingIcon)("mat-mdc-chip-highlighted",ce.highlighted)("mat-mdc-chip-disabled",ce.disabled)("mat-mdc-basic-chip",ce._isBasicChip)("mat-mdc-standard-chip",!ce._isBasicChip)("mat-mdc-chip-with-trailing-icon",ce._hasTrailingIcon())("_mat-animation-noopable",ce._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",w.L39],highlighted:[2,"highlighted","highlighted",w.L39],disableRipple:[2,"disableRipple","disableRipple",w.L39],disabled:[2,"disabled","disabled",w.L39]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[d.Jv_([{provide:Oe,useExisting:kt}])],ngContentSelectors:n,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-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(te,ce){1&te&&(d.NAR(D),d.nrm(0,"span",0),d.j41(1,"span",1)(2,"span",2),d.nVh(3,o,2,0,"span",3),d.j41(4,"span",4),d.SdG(5),d.nrm(6,"span",5),d.k0s()()(),d.nVh(7,f,2,0,"span",6)),2&te&&(d.R7$(2),d.Y8G("isInteractive",!1),d.R7$(),d.vxM(ce.leadingIcon?3:-1),d.R7$(4),d.vxM(ce._hasTrailingIcon()?7:-1))},dependencies:[Ee],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__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;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}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-outline-width, 1px);border-radius:var(--mat-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.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{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.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{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.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{padding-left:0;padding-right:0}.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{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__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{padding-left:0;padding-right:0}.mdc-evolution-chip__action--secondary{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary{color:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary{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__action--secondary{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__action--secondary{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--secondary{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mat-chip-with-avatar-avatar-size, 24px);height:var(--mat-chip-with-avatar-avatar-size, 24px);font-size:var(--mat-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.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{padding-left:8px;padding-right:4px}.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}.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{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic{padding-left:0}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.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--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.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__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mat-chip-container-shape-radius, 8px);height:var(--mat-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mat-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mat-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mat-chip-with-icon-icon-size, 18px);height:var(--mat-chip-with-icon-icon-size, 18px);font-size:var(--mat-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-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(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-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(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mat-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.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, var(--mat-sys-on-secondary-container))}.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, var(--mat-sys-on-surface))}.mat-mdc-chip-edit,.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-edit:focus,.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-edit:hover::after,.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-edit:focus::after,.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.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 .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .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(--mat-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-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-edit::before,.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-edit::after,.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-edit .mat-icon,.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}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-edit .mat-icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}img.mdc-evolution-chip__icon{min-height:0}\n'],encapsulation:2,changeDetection:0})}return kt})(),di=(()=>{class kt{static \u0275fac=function(te){return new(te||kt)};static \u0275mod=d.$C({type:kt});static \u0275inj=g.G2t({providers:[ue.e,{provide:ye,useValue:{separatorKeyCodes:[S.Fm]}}],imports:[me.y,Te.p,me.y]})}return kt})()},36636:(Ae,ee,l)=>{"use strict";var i=l(83838).Buffer,t=l(71993),p=l(19846),S=new Array(16),c=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],e=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],T=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],w=[1352829926,1548603684,1836072691,2053994217,0];function m(G,Q){return G<<Q|G>>>32-Q}function P(G,Q,$,ae,ue,oe,he,me){return m(G+(Q^$^ae)+oe+he|0,me)+ue|0}function M(G,Q,$,ae,ue,oe,he,me){return m(G+(Q&$|~Q&ae)+oe+he|0,me)+ue|0}function j(G,Q,$,ae,ue,oe,he,me){return m(G+((Q|~$)^ae)+oe+he|0,me)+ue|0}function U(G,Q,$,ae,ue,oe,he,me){return m(G+(Q&ae|$&~ae)+oe+he|0,me)+ue|0}function K(G,Q,$,ae,ue,oe,he,me){return m(G+(Q^($|~ae))+oe+he|0,me)+ue|0}function q(){p.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}t(q,p),q.prototype._update=function(){for(var G=S,Q=0;Q<16;++Q)G[Q]=this._block.readInt32LE(4*Q);for(var $=0|this._a,ae=0|this._b,ue=0|this._c,oe=0|this._d,he=0|this._e,me=0|this._a,Te=0|this._b,D=0|this._c,n=0|this._d,o=0|this._e,f=0;f<80;f+=1){var h,b;f<16?(h=P($,ae,ue,oe,he,G[c[f]],d[0],T[f]),b=K(me,Te,D,n,o,G[e[f]],w[0],g[f])):f<32?(h=M($,ae,ue,oe,he,G[c[f]],d[1],T[f]),b=U(me,Te,D,n,o,G[e[f]],w[1],g[f])):f<48?(h=j($,ae,ue,oe,he,G[c[f]],d[2],T[f]),b=j(me,Te,D,n,o,G[e[f]],w[2],g[f])):f<64?(h=U($,ae,ue,oe,he,G[c[f]],d[3],T[f]),b=M(me,Te,D,n,o,G[e[f]],w[3],g[f])):(h=K($,ae,ue,oe,he,G[c[f]],d[4],T[f]),b=P(me,Te,D,n,o,G[e[f]],w[4],g[f])),$=he,he=oe,oe=m(ue,10),ue=ae,ae=h,me=o,o=n,n=m(D,10),D=Te,Te=b}var A=this._b+ue+n|0;this._b=this._c+oe+o|0,this._c=this._d+he+me|0,this._d=this._e+$+Te|0,this._e=this._a+ae+D|0,this._a=A},q.prototype._digest=function(){this._block[this._blockOffset]=128,this._blockOffset+=1,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 G=i.alloc?i.alloc(20):new i(20);return G.writeInt32LE(this._a,0),G.writeInt32LE(this._b,4),G.writeInt32LE(this._c,8),G.writeInt32LE(this._d,12),G.writeInt32LE(this._e,16),G},Ae.exports=q},37163:(Ae,ee,l)=>{"use strict";var i=l(68283),t=l(39210);function p(S,c,e){if(!(this instanceof p))return new p(S,c,e);this.Hash=S,this.blockSize=S.blockSize/8,this.outSize=S.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(c,e))}Ae.exports=p,p.prototype._init=function(c){c.length>this.blockSize&&(c=(new this.Hash).update(c).digest()),t(c.length<=this.blockSize);for(var e=c.length;e<this.blockSize;e++)c.push(0);for(e=0;e<c.length;e++)c[e]^=54;for(this.inner=(new this.Hash).update(c),e=0;e<c.length;e++)c[e]^=106;this.outer=(new this.Hash).update(c)},p.prototype.update=function(c,e){return this.inner.update(c,e),this},p.prototype.digest=function(c){return this.outer.update(this.inner.digest()),this.outer.digest(c)}},37196:Ae=>{Ae.exports=function(l,i){for(var t=l.length,p=-1;++p<t;)l[p]^=i[p];return l}},37513:(Ae,ee)=>{ee.encrypt=function(l,i){return l._cipher.encryptBlock(i)},ee.decrypt=function(l,i){return l._cipher.decryptBlock(i)}},37541:(Ae,ee,l)=>{"use strict";l.d(ee,{H:()=>Fn});var i=l(17705),t=l(11747),p=l(21413),S=l(7673),c=l(96354),e=l(96697),T=l(53993),g=l(31397),d=l(99437),w=l(56977),m=l(4416),P=l(51585),M=l(73664),j=l(9183),U=l(52920);let K=(()=>{var xi;class Gi{constructor(Ai,Yi){this.dialogRef=Ai,this.data=Yi}static#e=xi=()=>(this.\u0275fac=function(Yi){return new(Yi||Gi)(M.rXU(P.CP),M.rXU(P.Vh))},this.\u0275cmp=M.VBU({type:Gi,selectors:[["rtl-spinner-dialog"]],standalone:!1,decls:4,vars:1,consts:[["fxLayout","column","fxLayoutAlign","center center",1,"spinner-container"],["color","primary","mode","indeterminate",1,"modal-spinner-message"]],template:function(Yi,zt){1&Yi&&(M.j41(0,"div",0),M.nrm(1,"mat-progress-spinner",1),M.j41(2,"h2"),M.EFF(3),M.k0s()()),2&Yi&&(M.R7$(3),M.JRh(zt.data.titleMessage))},dependencies:[j.LG,U.DJ,U.sA],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]}))}return xi(),Gi})();var q=l(45383),G=l(79647),Q=l(2615),$=l(98570),ae=l(95416),ue=l(82571),oe=l(43694),he=l(59640),me=l(72200),Te=l(20060),D=l(88834),n=l(25596),o=l(12629),f=l(71997),h=l(16038),b=l(40455),A=l(38288),k=l(10497),x=l(29157),r=l(89587);const _=["scrollContainer"],W=xi=>({"display-none":xi}),I=xi=>({"h-40":xi}),B=xi=>({"failed-status":xi});function re(xi,Gi){if(1&xi&&M.nrm(0,"qr-code",19),2&xi){const Ci=M.XpG();M.Y8G("value",Ci.showQRField)("size",200)}}function pe(xi,Gi){1&xi&&M.eu8(0)}function be(xi,Gi){if(1&xi&&(M.qex(0),M.j41(1,"mat-card-content",20,1),M.DNE(3,pe,1,0,"ng-container",21),M.k0s(),M.bVm()),2&xi){const Ci=M.XpG(),Ai=M.sdS(20);M.R7$(),M.Y8G("ngClass",M.eq3(2,I,Ci.data.scrollable)),M.R7$(2),M.Y8G("ngTemplateOutlet",Ai)}}function Be(xi,Gi){1&xi&&M.eu8(0)}function _e(xi,Gi){if(1&xi&&(M.qex(0),M.j41(1,"mat-card-content",22),M.DNE(2,Be,1,0,"ng-container",21),M.k0s(),M.bVm()),2&xi){M.XpG();const Ci=M.sdS(20);M.R7$(2),M.Y8G("ngTemplateOutlet",Ci)}}function ye(xi,Gi){1&xi&&(M.j41(0,"mat-icon",27),M.EFF(1,"arrow_downward"),M.k0s())}function Le(xi,Gi){1&xi&&(M.j41(0,"mat-icon",28),M.EFF(1,"arrow_upward"),M.k0s())}function Ke(xi,Gi){if(1&xi){const Ci=M.RV6();M.j41(0,"div",23)(1,"button",24),M.bIt("click",function(){Q.eBV(Ci);const Yi=M.XpG();return Q.Njj(Yi.onScroll())}),M.DNE(2,ye,2,0,"mat-icon",25)(3,Le,2,0,"mat-icon",26),M.k0s()()}if(2&xi){const Ci=M.XpG();M.R7$(2),M.Y8G("ngIf","DOWN"===Ci.scrollDirection),M.R7$(),M.Y8G("ngIf","UP"===Ci.scrollDirection)}}function ge(xi,Gi){1&xi&&(M.j41(0,"button",29),M.EFF(1,"OK"),M.k0s()),2&xi&&M.Y8G("mat-dialog-close",!1)}function ve(xi,Gi){1&xi&&(M.j41(0,"button",30),M.EFF(1,"Close"),M.k0s()),2&xi&&M.Y8G("mat-dialog-close",!1)}function Oe(xi,Gi){if(1&xi){const Ci=M.RV6();M.j41(0,"button",31),M.bIt("copied",function(Yi){Q.eBV(Ci);const zt=M.XpG();return Q.Njj(zt.onCopyField(Yi))}),M.EFF(1),M.k0s()}if(2&xi){const Ci=M.XpG();M.Y8G("payload",Ci.showCopyField),M.R7$(),M.SpI("Copy ",Ci.showCopyName)}}function Ee(xi,Gi){1&xi&&(M.j41(0,"button",30),M.EFF(1,"Close"),M.k0s()),2&xi&&M.Y8G("mat-dialog-close",!1)}function dt(xi,Gi){if(1&xi){const Ci=M.RV6();M.j41(0,"button",31),M.bIt("copied",function(Yi){Q.eBV(Ci);const zt=M.XpG();return Q.Njj(zt.onCopyField(Yi))}),M.EFF(1),M.k0s()}if(2&xi){const Ci=M.XpG();M.Y8G("payload",Ci.showQRField),M.R7$(),M.SpI("Copy ",Ci.showQRName)}}function nt(xi,Gi){if(1&xi&&M.nrm(0,"qr-code",19),2&xi){const Ci=M.XpG(2);M.Y8G("value",Ci.showQRField)("size",200)}}function Ct(xi,Gi){if(1&xi&&(M.j41(0,"p",37),M.EFF(1),M.k0s()),2&xi){const Ci=M.XpG(2);M.R7$(),M.JRh(Ci.data.titleMessage)}}function Mt(xi,Gi){1&xi&&M.nrm(0,"span",51),2&xi&&M.Y8G("innerHTML",Gi.$implicit,M.npT)}function lt(xi,Gi){if(1&xi&&(M.qex(0),M.j41(1,"span",34),M.DNE(2,Mt,1,1,"span",50),M.k0s(),M.bVm()),2&xi){const Ci=M.XpG(2).$implicit;M.R7$(2),M.Y8G("ngForOf",Ci.value)}}function Pe(xi,Gi){if(1&xi&&(M.qex(0),M.EFF(1),M.nI1(2,"date"),M.bVm()),2&xi){const Ci=M.XpG(2).$implicit;M.R7$(),M.JRh(M.i5U(2,1,1e3*Ci.value,"dd/MMM/y HH:mm"))}}function Ht(xi,Gi){if(1&xi&&(M.qex(0),M.EFF(1),M.nI1(2,"number"),M.bVm()),2&xi){const Ci=M.XpG(2).$implicit;M.R7$(),M.JRh(M.i5U(2,1,Ci.value,Ci.digitsInfo?Ci.digitsInfo:"1.0-3"))}}function ct(xi,Gi){if(1&xi&&(M.qex(0),M.EFF(1),M.bVm()),2&xi){const Ci=M.XpG(2).$implicit;M.R7$(),M.JRh(Ci.value?"True":"False")}}function Ce(xi,Gi){1&xi&&(M.j41(0,"mat-icon",55),M.EFF(1,"info"),M.k0s())}function ze(xi,Gi){if(1&xi&&(M.j41(0,"p",53),M.EFF(1),M.DNE(2,Ce,2,0,"mat-icon",54),M.k0s()),2&xi){const Ci=M.XpG(3).$implicit,Ai=M.XpG(4);M.Y8G("ngClass",M.eq3(3,B,Ci.value===Ai.LoopStateEnum.FAILED)),M.R7$(),M.SpI(" ",Ci.value," "),M.R7$(),M.Y8G("ngIf",Ci.value===Ai.LoopStateEnum.FAILED)}}function Z(xi,Gi){if(1&xi){const Ci=M.RV6();M.j41(0,"p",57),M.bIt("click",function(){Q.eBV(Ci);const Yi=M.XpG(8);return Q.Njj(Yi.onGoToLink())}),M.EFF(1),M.k0s()}if(2&xi){const Ci=M.XpG(4).$implicit,Ai=M.XpG(4);M.Y8G("matTooltip",M.mNQ("Go To "+Ai.goToName)),M.R7$(),M.SpI(" ",Ci.value," ")}}function J(xi,Gi){if(1&xi&&M.EFF(0),2&xi){const Ci=M.XpG(4).$implicit;M.SpI(" ",Ci.value," ")}}function fe(xi,Gi){if(1&xi&&M.DNE(0,Z,2,3,"p",56)(1,J,1,1,"ng-template",null,4,M.C5r),2&xi){const Ci=M.sdS(2),Ai=M.XpG(3).$implicit,Yi=M.XpG(4);M.Y8G("ngIf",Ai.value===Yi.goToFieldValue)("ngIfElse",Ci)}}function Ie(xi,Gi){if(1&xi&&(M.qex(0),M.DNE(1,ze,3,5,"p",52)(2,fe,3,2,"ng-template",null,3,M.C5r),M.bVm()),2&xi){const Ci=M.sdS(3),Ai=M.XpG(2).$implicit,Yi=M.XpG(4);M.R7$(),M.Y8G("ngIf","SWAP"===Yi.data.openedBy&&"state"===Ai.key)("ngIfElse",Ci)}}function ht(xi,Gi){if(1&xi){const Ci=M.RV6();M.j41(0,"fa-icon",58),M.bIt("click",function(){Q.eBV(Ci);const Yi=M.XpG(2).$implicit,zt=M.XpG(4);return Q.Njj(zt.onExplorerClicked(Yi))}),M.k0s()}if(2&xi){const Ci=M.XpG(6);M.Y8G("matTooltip",M.mNQ("Link to "+Ci.selNode.settings.blockExplorerUrl))("icon",Ci.faUpRightFromSquare)}}function li(xi,Gi){if(1&xi&&(M.j41(0,"span")(1,"span",46),M.DNE(2,lt,3,1,"ng-container",47)(3,Pe,3,4,"ng-container",47)(4,Ht,3,4,"ng-container",47)(5,ct,2,1,"ng-container",47)(6,Ie,4,2,"ng-container",48),M.j41(7,"span"),M.DNE(8,ht,1,3,"fa-icon",49),M.k0s()()()),2&xi){const Ci=M.XpG().$implicit,Ai=M.XpG(4);M.R7$(),M.Y8G("ngSwitch",Ci.type),M.R7$(),M.Y8G("ngSwitchCase",Ai.dataTypeEnum.ARRAY),M.R7$(),M.Y8G("ngSwitchCase",Ai.dataTypeEnum.DATE_TIME),M.R7$(),M.Y8G("ngSwitchCase",Ai.dataTypeEnum.NUMBER),M.R7$(),M.Y8G("ngSwitchCase",Ai.dataTypeEnum.BOOLEAN),M.R7$(3),M.Y8G("ngIf",Ci.explorerLink&&""!==Ci.explorerLink)}}function Qt(xi,Gi){1&xi&&(M.j41(0,"span",59),M.EFF(1,"\xa0"),M.k0s())}function di(xi,Gi){if(1&xi&&(M.j41(0,"div",42)(1,"h4",43),M.EFF(2),M.k0s(),M.DNE(3,li,9,6,"span",44)(4,Qt,2,0,"ng-template",null,2,M.C5r),M.nrm(6,"mat-divider",45),M.k0s()),2&xi){const Ci=Gi.$implicit,Ai=M.sdS(5);M.Y8G("fxFlex.gt-md",M.mNQ(Ci.width)),M.R7$(2),M.JRh(Ci.title),M.R7$(),M.Y8G("ngIf",Ci&&(!!Ci.value||0===Ci.value))("ngIfElse",Ai)}}function kt(xi,Gi){if(1&xi&&(M.j41(0,"div")(1,"div",40),M.DNE(2,di,7,5,"div",41),M.k0s()()),2&xi){const Ci=Gi.$implicit;M.R7$(2),M.Y8G("ngForOf",Ci)}}function Rt(xi,Gi){if(1&xi&&(M.j41(0,"div",38),M.DNE(1,kt,3,1,"div",39),M.k0s()),2&xi){const Ci=M.XpG(2);M.R7$(),M.Y8G("ngForOf",Ci.messageObjs)}}function le(xi,Gi){if(1&xi&&(M.j41(0,"div",32)(1,"div",33),M.DNE(2,nt,1,2,"qr-code",7),M.k0s(),M.j41(3,"div",34),M.DNE(4,Ct,2,1,"p",35)(5,Rt,2,1,"div",36),M.k0s()()),2&xi){const Ci=M.XpG();M.R7$(),M.Y8G("ngClass",M.eq3(4,W,""===Ci.showQRField||Ci.screenSize!==Ci.screenSizeEnum.XS&&Ci.screenSize!==Ci.screenSizeEnum.SM)),M.R7$(),M.Y8G("ngIf",""!==Ci.showQRField),M.R7$(2),M.Y8G("ngIf",Ci.data.titleMessage),M.R7$(),M.Y8G("ngIf",(null==Ci.messageObjs?null:Ci.messageObjs.length)>0)}}let te=(()=>{var xi;class Gi{set container(Ai){Ai&&(this.scrollContainer=Ai,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",Yi=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",Yi=>{this.scrollDirection="DOWN"})))}constructor(Ai,Yi,zt,ji,Me,mt,vt,ni){this.dialogRef=Ai,this.data=Yi,this.logger=zt,this.snackBar=ji,this.commonService=Me,this.renderer=mt,this.router=vt,this.store=ni,this.faUpRightFromSquare=q.k02,this.LoopStateEnum=m.Hx,this.goToFieldValue="",this.goToName="",this.goToLink="",this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=m.A$,this.dataTypeEnum=m.UN,this.screenSize="",this.screenSizeEnum=m.f7,this.scrollDirection="DOWN",this.shouldScroll=!0,this.unSubs=[new p.B,new p.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===m.A$.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs),this.store.select(G._c).pipe((0,w.Q)(this.unSubs[0])).subscribe(Ai=>{this.selNode=Ai,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(Ai){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+Ai)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}onExplorerClicked(Ai){window.open(this.selNode.settings.blockExplorerUrl+"/"+Ai.explorerLink+"/"+Ai.value,"_blank")}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd(),this.unSubs.forEach(Ai=>{Ai.next(null),Ai.complete()})}static#e=xi=()=>(this.\u0275fac=function(Yi){return new(Yi||Gi)(M.rXU(P.CP),M.rXU(P.Vh),M.rXU($.gP),M.rXU(ae.UG),M.rXU(ue.h),M.rXU(M.sFG),M.rXU(oe.Ix),M.rXU(he.il))},this.\u0275cmp=M.VBU({type:Gi,selectors:[["rtl-alert-message"]],viewQuery:function(Yi,zt){if(1&Yi&&M.GBs(_,5),2&Yi){let ji;M.mGM(ji=M.lsd())&&(zt.container=ji.first)}},standalone:!1,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"],["errorCorrectionLevel","L",3,"value","size",4,"ngIf"],[3,"ngClass"],["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"],["errorCorrectionLevel","L",3,"value","size"],[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"],["fxLayout","row","class","go-to-link","tabindex","4",3,"matTooltip","click",4,"ngIf","ngIfElse"],["fxLayout","row","tabindex","4",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(Yi,zt){if(1&Yi){const ji=M.RV6();M.j41(0,"div",5)(1,"div",6),M.DNE(2,re,1,2,"qr-code",7),M.k0s(),M.j41(3,"div",8)(4,"mat-card-header",9)(5,"div",10)(6,"span",11),M.EFF(7),M.k0s()(),M.j41(8,"button",12),M.bIt("click",function(){return Q.eBV(ji),Q.Njj(zt.onClose())}),M.EFF(9,"X"),M.k0s()(),M.DNE(10,be,4,4,"ng-container",13)(11,_e,3,1,"ng-container",13)(12,Ke,4,2,"div",14),M.j41(13,"div",15),M.DNE(14,ge,2,1,"button",16)(15,ve,2,1,"button",17)(16,Oe,2,2,"button",18)(17,Ee,2,1,"button",17)(18,dt,2,2,"button",18),M.k0s()()(),M.DNE(19,le,6,6,"ng-template",null,0,M.C5r)}2&Yi&&(M.R7$(),M.Y8G("ngClass",M.eq3(12,W,""===zt.showQRField||zt.screenSize===zt.screenSizeEnum.XS||zt.screenSize===zt.screenSizeEnum.SM)),M.R7$(),M.Y8G("ngIf",""!==zt.showQRField),M.R7$(),M.Y8G("ngClass",""===zt.showQRField||zt.screenSize===zt.screenSizeEnum.XS||zt.screenSize===zt.screenSizeEnum.SM?"flex-100":"flex-70"),M.R7$(4),M.JRh(zt.data.alertTitle||zt.alertTypeEnum[zt.data.type]),M.R7$(3),M.Y8G("ngIf",zt.data.scrollable),M.R7$(),M.Y8G("ngIf",!zt.data.scrollable),M.R7$(),M.Y8G("ngIf",zt.data.scrollable&&zt.shouldScroll),M.R7$(2),M.Y8G("ngIf",(!zt.showQRField||""===zt.showQRField)&&""===zt.showCopyName),M.R7$(),M.Y8G("ngIf",""!==zt.showCopyName),M.R7$(),M.Y8G("ngIf",""!==zt.showCopyName),M.R7$(),M.Y8G("ngIf",""!==zt.showQRField),M.R7$(),M.Y8G("ngIf",""!==zt.showQRField))},dependencies:[me.YU,me.Sq,me.bT,me.T3,me.ux,me.e1,me.fG,Te.aY,P.tx,D.$z,D.$0,n.m2,n.MM,o.An,f.q,U.DJ,U.sA,U.UI,h.PW,b.oV,A.Um,k.Ld,x.U,r.N,me.QX,me.vh],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}))}return xi(),Gi})();var ce=l(11771),se=l(89417),ke=l(33746),Ue=l(69588),Ne=l(56114);function Kt(xi,Gi){if(1&xi&&(M.j41(0,"div",20),M.nrm(1,"fa-icon",21),M.j41(2,"span"),M.EFF(3),M.k0s()()),2&xi){const Ci=M.XpG();M.R7$(),M.Y8G("icon",Ci.faExclamationTriangle),M.R7$(2),M.JRh(Ci.warningMessage)}}function yt(xi,Gi){if(1&xi&&(M.j41(0,"div",22),M.nrm(1,"fa-icon",21),M.j41(2,"span"),M.EFF(3),M.k0s()()),2&xi){const Ci=M.XpG();M.R7$(),M.Y8G("icon",Ci.faInfoCircle),M.R7$(2),M.JRh(Ci.informationMessage)}}function Vt(xi,Gi){if(1&xi&&(M.j41(0,"p",23),M.EFF(1),M.k0s()),2&xi){const Ci=M.XpG();M.R7$(),M.JRh(Ci.data.titleMessage)}}function Zt(xi,Gi){1&xi&&M.nrm(0,"div",37),2&xi&&M.Y8G("innerHTML",Gi.$implicit,M.npT)}function ti(xi,Gi){if(1&xi&&(M.qex(0,35),M.DNE(1,Zt,1,1,"div",36),M.bVm()),2&xi){const Ci=M.XpG(2).$implicit;M.R7$(),M.Y8G("ngForOf",Ci.value)}}function Ye(xi,Gi){if(1&xi&&(M.qex(0),M.EFF(1),M.nI1(2,"date"),M.bVm()),2&xi){const Ci=M.XpG(2).$implicit;M.R7$(),M.JRh(M.i5U(2,1,1e3*Ci.value,"dd/MMM/y HH:mm"))}}function Nt(xi,Gi){if(1&xi&&(M.qex(0),M.EFF(1),M.nI1(2,"number"),M.bVm()),2&xi){const Ci=M.XpG(2).$implicit;M.R7$(),M.JRh(M.i5U(2,1,Ci.value,"1.0-3"))}}function Et(xi,Gi){if(1&xi&&(M.qex(0),M.EFF(1),M.bVm()),2&xi){const Ci=M.XpG(2).$implicit;M.R7$(),M.JRh(!0===Ci.value?"True":"False")}}function Jt(xi,Gi){if(1&xi&&(M.qex(0),M.EFF(1),M.bVm()),2&xi){const Ci=M.XpG(2).$implicit;M.R7$(),M.JRh(Ci.value)}}function qe(xi,Gi){if(1&xi&&(M.j41(0,"span")(1,"span",31),M.DNE(2,ti,2,1,"ng-container",32)(3,Ye,3,4,"ng-container",33)(4,Nt,3,4,"ng-container",33)(5,Et,2,1,"ng-container",33)(6,Jt,2,1,"ng-container",34),M.k0s()()),2&xi){const Ci=M.XpG().$implicit,Ai=M.XpG(3);M.R7$(),M.Y8G("ngSwitch",Ci.type),M.R7$(),M.Y8G("ngSwitchCase",Ai.dataTypeEnum.ARRAY),M.R7$(),M.Y8G("ngSwitchCase",Ai.dataTypeEnum.DATE_TIME),M.R7$(),M.Y8G("ngSwitchCase",Ai.dataTypeEnum.NUMBER),M.R7$(),M.Y8G("ngSwitchCase",Ai.dataTypeEnum.BOOLEAN)}}function $e(xi,Gi){1&xi&&(M.j41(0,"span",38),M.EFF(1,"\xa0"),M.k0s())}function tt(xi,Gi){if(1&xi&&(M.j41(0,"div",27)(1,"h4",28),M.EFF(2),M.k0s(),M.DNE(3,qe,7,5,"span",29)(4,$e,2,0,"ng-template",null,0,M.C5r),M.nrm(6,"mat-divider",30),M.k0s()),2&xi){const Ci=Gi.$implicit,Ai=M.sdS(5);M.Y8G("fxFlex.gt-md",M.mNQ(Ci.width)),M.R7$(2),M.JRh(Ci.title),M.R7$(),M.Y8G("ngIf",Ci&&(!!Ci.value||0===Ci.value))("ngIfElse",Ai)}}function vi(xi,Gi){if(1&xi&&(M.j41(0,"div")(1,"div",25),M.DNE(2,tt,7,5,"div",26),M.k0s()()),2&xi){const Ci=Gi.$implicit;M.R7$(2),M.Y8G("ngForOf",Ci)}}function ei(xi,Gi){if(1&xi&&(M.j41(0,"div"),M.DNE(1,vi,3,1,"div",24),M.k0s()),2&xi){const Ci=M.XpG();M.R7$(),M.Y8G("ngForOf",Ci.messageObjs)}}function ci(xi,Gi){if(1&xi&&(M.j41(0,"p",23),M.EFF(1),M.k0s()),2&xi){const Ci=M.XpG(2);M.R7$(),M.JRh(Ci.data.titleMessage)}}function Hi(xi,Gi){if(1&xi&&(M.j41(0,"mat-error"),M.EFF(1),M.k0s()),2&xi){const Ci=M.XpG(2).$implicit;M.R7$(),M.SpI("",Ci.placeholder," is required.")}}function oi(xi,Gi){if(1&xi){const Ci=M.RV6();M.j41(0,"mat-form-field",42)(1,"mat-label"),M.EFF(2),M.k0s(),M.j41(3,"input",43),M.nI1(4,"lowercase"),M.mxI("ngModelChange",function(Yi){Q.eBV(Ci);const zt=M.XpG().$implicit;return M.DH7(zt.inputValue,Yi)||(zt.inputValue=Yi),Q.Njj(Yi)}),M.k0s(),M.DNE(5,Hi,2,1,"mat-error",13),M.j41(6,"mat-hint"),M.EFF(7),M.k0s()()}if(2&xi){const Ci=M.XpG(),Ai=Ci.$implicit,Yi=Ci.index;M.Y8G("ngClass",Ai.width),M.R7$(2),M.JRh(Ai.placeholder),M.R7$(),M.Y8G("name",M.VkB("input",Yi))("autoFocus",0===Yi)("min",Ai.min)("step",Ai.step)("type",M.bMT(4,12,Ai.inputType))("tabindex",Yi+1),M.R50("ngModel",Ai.inputValue),M.R7$(2),M.Y8G("ngIf",!Ai.inputValue),M.R7$(2),M.JRh(Ai.hintFunction?Ai.hintFunction(Ai.inputValue):Ai.hintText)}}function ui(xi,Gi){if(1&xi&&(M.qex(0),M.DNE(1,oi,8,14,"mat-form-field",41),M.bVm()),2&xi){const Ci=Gi.$implicit,Ai=M.XpG(2);M.R7$(),M.Y8G("ngIf",!Ci.advancedField||Ai.showAdvanced)}}function ln(xi,Gi){if(1&xi&&(M.j41(0,"div",39),M.DNE(1,ci,2,1,"p",12),M.j41(2,"div",40),M.DNE(3,ui,2,1,"ng-container",24),M.k0s()()),2&xi){const Ci=M.XpG();M.R7$(),M.Y8G("ngIf",Ci.data.titleMessage),M.R7$(2),M.Y8G("ngForOf",Ci.getInputs)}}function nn(xi,Gi){1&xi&&(M.j41(0,"p"),M.EFF(1,"Show Advanced"),M.k0s())}function dn(xi,Gi){1&xi&&(M.j41(0,"p"),M.EFF(1,"Hide Advanced"),M.k0s())}function zn(xi,Gi){if(1&xi){const Ci=M.RV6();M.j41(0,"button",44),M.bIt("click",function(){Q.eBV(Ci);const Yi=M.XpG();return Q.Njj(Yi.onShowAdvanced())}),M.DNE(1,nn,2,0,"p",29)(2,dn,2,0,"ng-template",null,1,M.C5r),M.k0s()}if(2&xi){const Ci=M.sdS(3),Ai=M.XpG();M.R7$(),M.Y8G("ngIf",!Ai.showAdvanced)("ngIfElse",Ci)}}function It(xi,Gi){if(1&xi){const Ci=M.RV6();M.j41(0,"button",45),M.bIt("click",function(){Q.eBV(Ci);const Yi=M.XpG();return Q.Njj(Yi.onClose(Yi.getInputs))}),M.EFF(1),M.k0s()}if(2&xi){const Ci=M.XpG();M.R7$(),M.JRh(Ci.yesBtnText)}}function Tt(xi,Gi){if(1&xi){const Ci=M.RV6();M.j41(0,"button",46),M.bIt("click",function(){Q.eBV(Ci);const Yi=M.XpG();return Q.Njj(Yi.onClose(!0))}),M.EFF(1),M.k0s()}if(2&xi){const Ci=M.XpG();M.R7$(),M.JRh(Ci.yesBtnText)}}let Ze=(()=>{var xi;class Gi{constructor(Ai,Yi,zt,ji){this.dialogRef=Ai,this.data=Yi,this.logger=zt,this.store=ji,this.faInfoCircle=q.iW_,this.faExclamationTriangle=q.zpE,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=m.A$,this.dataTypeEnum=m.UN,this.getInputs=[{placeholder:"",inputType:m.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===m.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(Ai){if(Ai&&this.getInputs&&this.getInputs.some(Yi=>typeof Yi.inputValue>"u"))return!0;!this.showAdvanced&&Ai.length&&(Ai=Ai?.reduce((Yi,zt)=>(zt.advancedField||Yi.push(zt),Yi),[])),this.store.dispatch((0,ce.uP)({payload:Ai}))}static#e=xi=()=>(this.\u0275fac=function(Yi){return new(Yi||Gi)(M.rXU(P.CP),M.rXU(P.Vh),M.rXU($.gP),M.rXU(he.il))},this.\u0275cmp=M.VBU({type:Gi,selectors:[["rtl-confirmation-message"]],standalone:!1,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,"ngClass",4,"ngIf"],[3,"ngClass"],["matInput","","required","",3,"ngModelChange","name","autoFocus","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(Yi,zt){1&Yi&&(M.j41(0,"div",2)(1,"div",3)(2,"mat-card-header",4)(3,"div",5)(4,"span",6),M.EFF(5),M.k0s()(),M.j41(6,"button",7),M.bIt("click",function(){return zt.onClose(!1)}),M.EFF(7,"X"),M.k0s()(),M.j41(8,"mat-card-content",8)(9,"form",9),M.DNE(10,Kt,4,2,"div",10)(11,yt,4,2,"div",11)(12,Vt,2,1,"p",12)(13,ei,2,1,"div",13)(14,ln,4,2,"div",14),M.j41(15,"div",15)(16,"button",16),M.bIt("click",function(){return zt.onClose(!1)}),M.EFF(17),M.k0s(),M.DNE(18,zn,4,2,"button",17)(19,It,2,1,"button",18)(20,Tt,2,1,"button",19),M.k0s()()()()()),2&Yi&&(M.R7$(5),M.JRh(zt.data.alertTitle||zt.alertTypeEnum[zt.data.type]),M.R7$(5),M.Y8G("ngIf",zt.warningMessage&&""!==zt.warningMessage),M.R7$(),M.Y8G("ngIf",zt.informationMessage&&""!==zt.informationMessage),M.R7$(),M.Y8G("ngIf",zt.data.titleMessage&&!zt.flgShowInput),M.R7$(),M.Y8G("ngIf",(null==zt.messageObjs?null:zt.messageObjs.length)>0),M.R7$(),M.Y8G("ngIf",zt.flgShowInput),M.R7$(3),M.JRh(zt.noBtnText),M.R7$(),M.Y8G("ngIf",zt.hasAdvanced),M.R7$(),M.Y8G("ngIf",zt.flgShowInput),M.R7$(),M.Y8G("ngIf",!zt.flgShowInput))},dependencies:[me.YU,me.Sq,me.bT,me.ux,me.e1,me.fG,se.qT,se.me,se.BC,se.cb,se.YS,se.vS,se.cV,Te.aY,D.$z,n.m2,n.MM,ke.fg,Ue.rl,Ue.nJ,Ue.MV,Ue.TL,f.q,U.DJ,U.sA,U.UI,h.PW,r.N,Ne.V,me.GH,me.QX,me.vh],encapsulation:2}))}return xi(),Gi})();var Ve=l(12462),Fe=l(96183),it=l(23029);const bt=xi=>({"display-none":xi});function ut(xi,Gi){if(1&xi&&(M.j41(0,"mat-option",23),M.EFF(1),M.k0s()),2&xi){const Ci=Gi.$implicit;M.Y8G("value",Ci),M.R7$(),M.SpI(" ",Ci.infoName," ")}}function jt(xi,Gi){if(1&xi){const Ci=M.RV6();M.j41(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),M.mxI("valueChange",function(Yi){Q.eBV(Ci);const zt=M.XpG();return M.DH7(zt.selInfoType,Yi)||(zt.selInfoType=Yi),Q.Njj(Yi)}),M.DNE(3,ut,2,2,"mat-option",22),M.k0s()()()}if(2&xi){const Ci=M.XpG();M.R7$(2),M.R50("value",Ci.selInfoType),M.R7$(),M.Y8G("ngForOf",Ci.infoTypes)}}let ai=(()=>{var xi;class Gi{constructor(Ai,Yi,zt,ji,Me){this.dialogRef=Ai,this.data=Yi,this.logger=zt,this.snackBar=ji,this.commonService=Me,this.faReceipt=q.Mf0,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=m.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((Ai,Yi)=>{this.infoTypes.push({infoID:Yi+1,infoKey:"node URI "+(Yi+1),infoName:"Node URI "+(Yi+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(Ai){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+Ai)}static#e=xi=()=>(this.\u0275fac=function(Yi){return new(Yi||Gi)(M.rXU(P.CP),M.rXU(P.Vh),M.rXU($.gP),M.rXU(ae.UG),M.rXU(ue.h))},this.\u0275cmp=M.VBU({type:Gi,selectors:[["rtl-show-pubkey"]],standalone:!1,decls:26,vars:20,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"],["errorCorrectionLevel","L",3,"value","size"],["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(Yi,zt){1&Yi&&(M.j41(0,"div",0)(1,"div",1),M.nrm(2,"qr-code",2),M.k0s(),M.j41(3,"div",3)(4,"mat-card-header",4)(5,"div",5),M.nrm(6,"fa-icon",6),M.j41(7,"span",7),M.EFF(8),M.k0s()(),M.j41(9,"button",8),M.bIt("click",function(){return zt.onClose()}),M.EFF(10,"X"),M.k0s()(),M.j41(11,"mat-card-content",9)(12,"div",10)(13,"div",11),M.nrm(14,"qr-code",2),M.k0s(),M.DNE(15,jt,4,2,"div",12),M.j41(16,"div",13)(17,"div",14)(18,"h4",15),M.EFF(19),M.k0s(),M.j41(20,"span",16),M.EFF(21),M.k0s()()(),M.nrm(22,"mat-divider",17),M.j41(23,"div",18)(24,"button",19),M.bIt("copied",function(Me){return zt.onCopyPubkey(Me)}),M.EFF(25),M.k0s()()()()()()),2&Yi&&(M.R7$(),M.Y8G("ngClass",M.eq3(16,bt,zt.screenSize===zt.screenSizeEnum.XS||zt.screenSize===zt.screenSizeEnum.SM)),M.R7$(),M.Y8G("value",M.mNQ(0===zt.selInfoType.infoID?zt.information.identity_pubkey:zt.information.uris[zt.selInfoType.infoID-1]))("size",zt.qrWidth),M.R7$(4),M.Y8G("icon",zt.faReceipt),M.R7$(2),M.JRh(zt.selInfoType.infoName),M.R7$(5),M.Y8G("ngClass",M.eq3(18,bt,zt.screenSize!==zt.screenSizeEnum.XS&&zt.screenSize!==zt.screenSizeEnum.SM)),M.R7$(),M.Y8G("value",M.mNQ(0===zt.selInfoType.infoID?zt.information.identity_pubkey:zt.information.uris[zt.selInfoType.infoID-1]))("size",zt.qrWidth),M.R7$(),M.Y8G("ngIf",zt.information.uris&&zt.information.uris.length>0),M.R7$(4),M.JRh(zt.selInfoType.infoName),M.R7$(2),M.JRh(0===zt.selInfoType.infoID?zt.information.identity_pubkey:zt.information.uris[zt.selInfoType.infoID-1]),M.R7$(3),M.Y8G("payload",M.mNQ(0===zt.selInfoType.infoID?zt.information.identity_pubkey:zt.information.uris[zt.selInfoType.infoID-1])),M.R7$(),M.SpI("Copy ",zt.selInfoType.infoKey))},dependencies:[me.YU,me.Sq,me.bT,Te.aY,D.$z,n.m2,n.MM,Ue.rl,f.q,U.DJ,U.sA,U.UI,h.PW,Fe.VO,it.wT,A.Um,x.U,r.N],encapsulation:2}))}return xi(),Gi})();var pi=l(190),ki=l(28430),Ki=l(95428),Ji=l(29330),Dn=l(7879),En=l(53202),An=l(51534);let Fn=(()=>{var xi;class Gi{constructor(Ai,Yi,zt,ji,Me,mt,vt,ni,Fi,kn,ca){this.actions=Ai,this.httpClient=Yi,this.store=zt,this.logger=ji,this.wsService=Me,this.sessionService=mt,this.commonService=vt,this.dataService=ni,this.dialog=Fi,this.snackBar=kn,this.router=ca,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new p.B,new p.B],this.closeAllDialogs=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.CLOSE_ALL_DIALOGS),(0,c.T)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.OPEN_SNACK_BAR),(0,c.T)(an=>{"string"==typeof an.payload?this.snackBar.open(an.payload):this.snackBar.open(an.payload.message,"","ERROR"===an.payload.type?{duration:an.payload.duration?an.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===an.payload.type?{duration:an.payload.duration?an.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:an.payload.duration?an.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.OPEN_SPINNER),(0,c.T)(an=>{an.payload!==m.MZ.NO_SPINNER&&(this.dialogRef=this.dialog.open(K,{panelClass:"spinner-dialog-panel",data:{titleMessage:an.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.CLOSE_SPINNER),(0,c.T)(an=>{if(an.payload!==m.MZ.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===an.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(mn=>{mn.componentInstance&&mn.componentInstance.data&&mn.componentInstance.data.titleMessage&&mn.componentInstance.data.titleMessage===an.payload&&mn.close()})}catch(mn){this.logger.error(mn)}})),{dispatch:!1}),this.openAlert=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.OPEN_ALERT),(0,c.T)(an=>{const mn=JSON.parse(JSON.stringify(an.payload));mn.width||(mn.width=this.alertWidth),this.dialogRef=this.dialog.open(an.payload.data.component?an.payload.data.component:te,mn)})),{dispatch:!1}),this.closeAlert=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.CLOSE_ALERT),(0,c.T)(an=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(an.payload),an.payload))),{dispatch:!1}),this.openConfirm=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.OPEN_CONFIRMATION),(0,c.T)(an=>{const mn=JSON.parse(JSON.stringify(an.payload));mn.width||(mn.width=this.confirmWidth),this.dialogRef=this.dialog.open(Ze,mn)})),{dispatch:!1}),this.closeConfirm=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.CLOSE_CONFIRMATION),(0,e.s)(1),(0,c.T)(an=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(an.payload),an.payload))),{dispatch:!1}),this.showNodePubkey=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.SHOW_PUBKEY),(0,T.E)(this.store.select(G.N)),(0,g.Z)(([an,mn])=>(this.sessionService.getItem("token")&&mn.identity_pubkey?this.store.dispatch((0,ce.xO)({payload:{data:{information:mn,component:ai}}})):this.snackBar.open("Node Pubkey does not exist."),(0,S.of)({type:m.aU.VOID}))))),this.appConfigFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.FETCH_APPLICATION_SETTINGS),(0,g.Z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===m.f7.XS||this.screenSize===m.f7.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===m.f7.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,ce.mt)({payload:m.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,ce.Gd)({payload:{action:"FetchRTLConfig",status:m.wn.INITIATED}})),this.httpClient.get(m.rl.CONF_API))),(0,c.T)(an=>{this.logger.info(an),this.store.dispatch((0,ce.y0)({payload:m.MZ.GET_RTL_CONFIG})),this.store.dispatch((0,ce.Gd)({payload:{action:"FetchRTLConfig",status:m.wn.COMPLETED}}));let mn=null;return an.nodes.forEach(qn=>{qn.settings.currencyUnits=[...m.A0,qn.settings?.currencyUnit?qn.settings?.currencyUnit:""],+(qn.index||-1)===an.selectedNodeIndex&&(mn=qn)}),mn?(this.store.dispatch((0,ce.Qi)({payload:{uiMessage:m.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:mn,isInitialSetup:!0}})),{type:m.aU.SET_APPLICATION_SETTINGS,payload:an}):{type:m.aU.VOID}}),(0,d.W)(an=>(this.handleErrorWithAlert("FetchRTLConfig",m.MZ.GET_RTL_CONFIG,"Fetch RTL Config Failed!",m.rl.CONF_API,an),(0,S.of)({type:m.aU.VOID}))))),this.updateNodeSettings=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.UPDATE_NODE_SETTINGS),(0,g.Z)(an=>(this.store.dispatch((0,ce.mt)({payload:m.MZ.UPDATE_NODE_SETTINGS})),this.store.dispatch((0,ce.Gd)({payload:{action:"updateNodeSettings",status:m.wn.INITIATED}})),an.payload.settings.fiatConversion||delete an.payload.settings.currencyUnit,delete an.payload.settings.currencyUnits,this.httpClient.post(m.rl.CONF_API+"/node",an.payload).pipe((0,c.T)(mn=>(this.store.dispatch((0,ce.Gd)({payload:{action:"updateNodeSettings",status:m.wn.COMPLETED}})),this.store.dispatch((0,ce.y0)({payload:m.MZ.UPDATE_NODE_SETTINGS})),mn.settings.currencyUnits=[...m.A0,mn.settings?.currencyUnit?mn.settings?.currencyUnit:""],this.store.dispatch((0,ce.Np)({payload:mn})),{type:m.aU.OPEN_SNACK_BAR,payload:"Node settings updated successfully!"})),(0,d.W)(mn=>(this.handleErrorWithAlert("updateNodeSettings",m.MZ.UPDATE_NODE_SETTINGS,"Update Node Settings Failed!",m.rl.CONF_API+"/node",mn),(0,S.of)({type:m.aU.VOID})))))))),this.updateApplicationSettings=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.UPDATE_APPLICATION_SETTINGS),(0,g.Z)(an=>(this.store.dispatch((0,ce.mt)({payload:m.MZ.UPDATE_APPLICATION_SETTINGS})),this.store.dispatch((0,ce.Gd)({payload:{action:"updateApplicationSettings",status:m.wn.INITIATED}})),an.payload.config.nodes.forEach(mn=>{delete mn.settings.currencyUnits}),this.httpClient.post(m.rl.CONF_API+"/application",an.payload.config).pipe((0,c.T)(mn=>(this.store.dispatch((0,ce.Gd)({payload:{action:"updateApplicationSettings",status:m.wn.COMPLETED}})),this.store.dispatch((0,ce.y0)({payload:m.MZ.UPDATE_APPLICATION_SETTINGS})),an.payload.showSnackBar&&this.store.dispatch((0,ce.UI)({payload:an.payload.message})),{type:m.aU.SET_APPLICATION_SETTINGS,payload:mn})),(0,d.W)(mn=>(this.handleErrorWithAlert("updateApplicationSettings",m.MZ.UPDATE_APPLICATION_SETTINGS,"Update Application Settings Failed!",m.rl.CONF_API+"/application",mn),(0,S.of)({type:m.aU.VOID})))))))),this.configFetch=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.FETCH_CONFIG),(0,g.Z)(an=>(this.store.dispatch((0,ce.mt)({payload:m.MZ.OPEN_CONFIG_FILE})),this.store.dispatch((0,ce.Gd)({payload:{action:"fetchConfig",status:m.wn.INITIATED}})),this.httpClient.get(m.rl.CONF_API+"/config/"+an.payload).pipe((0,c.T)(mn=>(this.store.dispatch((0,ce.Gd)({payload:{action:"fetchConfig",status:m.wn.COMPLETED}})),this.store.dispatch((0,ce.y0)({payload:m.MZ.OPEN_CONFIG_FILE})),{type:m.aU.SHOW_CONFIG,payload:mn})),(0,d.W)(mn=>(this.handleErrorWithAlert("fetchConfig",m.MZ.OPEN_CONFIG_FILE,"Fetch Config Failed!",m.rl.CONF_API+"/config/"+an.payload,mn),(0,S.of)({type:m.aU.VOID})))))))),this.showLnConfig=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.SHOW_CONFIG),(0,c.T)(an=>an.payload)),{dispatch:!1}),this.isAuthorized=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.IS_AUTHORIZED),(0,g.Z)(an=>(this.store.dispatch((0,ce.Gd)({payload:{action:"IsAuthorized",status:m.wn.INITIATED}})),this.httpClient.post(m.rl.AUTHENTICATE_API,{authenticateWith:an.payload&&""!==an.payload.trim()?m.U1.PASSWORD:m.U1.JWT,authenticationValue:an.payload&&""!==an.payload.trim()?an.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,c.T)(mn=>(this.logger.info(mn),this.store.dispatch((0,ce.Gd)({payload:{action:"IsAuthorized",status:m.wn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:m.aU.IS_AUTHORIZED_RES,payload:mn})),(0,d.W)(mn=>(this.handleErrorWithAlert("IsAuthorized",m.MZ.NO_SPINNER,"Authorization Failed",m.rl.AUTHENTICATE_API,mn),(0,S.of)({type:m.aU.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.IS_AUTHORIZED_RES),(0,c.T)(an=>an.payload)),{dispatch:!1}),this.authLogin=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.LOGIN),(0,T.E)(this.store.select(G.qv)),(0,g.Z)(([an,mn])=>(this.store.dispatch((0,pi.p1)()),this.store.dispatch((0,ki.gf)()),this.store.dispatch((0,Ki.Hh)()),this.store.dispatch((0,ce.Gd)({payload:{action:"Login",status:m.wn.INITIATED}})),this.httpClient.post(m.rl.AUTHENTICATE_API,{authenticateWith:an.payload.password?m.U1.PASSWORD:m.U1.JWT,authenticationValue:an.payload.password?an.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:an.payload.twoFAToken?an.payload.twoFAToken:""}).pipe((0,c.T)(qn=>{this.logger.info(qn),this.store.dispatch((0,ce.Gd)({payload:{action:"Login",status:m.wn.COMPLETED}})),this.setLoggedInDetails(an.payload.defaultPassword,qn)}),(0,d.W)(qn=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",m.MZ.NO_SPINNER,qn),+mn.SSO.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:qn.error&&qn.error.error?qn.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"],{state:{logoutReason:qn.error&&qn.error.error?qn.error.error:"Single Sign On Failed!"}}),(0,S.of)({type:m.aU.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.VERIFY_TWO_FA),(0,g.Z)(an=>(this.store.dispatch((0,ce.mt)({payload:m.MZ.VERIFY_TOKEN})),this.store.dispatch((0,ce.Gd)({payload:{action:"VerifyToken",status:m.wn.INITIATED}})),this.httpClient.post(m.rl.AUTHENTICATE_API+"/token",{authentication2FA:an.payload.token}).pipe((0,c.T)(mn=>{this.logger.info(mn),this.store.dispatch((0,ce.y0)({payload:m.MZ.VERIFY_TOKEN})),this.store.dispatch((0,ce.Gd)({payload:{action:"VerifyToken",status:m.wn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,an.payload.authResponse)}),(0,d.W)(mn=>(this.handleErrorWithAlert("VerifyToken",m.MZ.VERIFY_TOKEN,"Authorization Failed!",m.rl.AUTHENTICATE_API+"/token",mn),(0,S.of)({type:m.aU.VOID}))))))),{dispatch:!1}),this.logOut=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.LOGOUT),(0,T.E)(this.store.select(G.qv)),(0,g.Z)(([an,mn])=>(this.store.dispatch((0,ce.mt)({payload:m.MZ.LOG_OUT})),mn.SSO&&+mn.SSO.rtlSSO?window.location.href=mn.SSO.logoutRedirectLink:this.router.navigate(["./login"],{state:{logoutReason:an.payload}}),this.sessionService.clearAll(),this.store.dispatch((0,ce.Fl)({payload:{}})),this.store.dispatch((0,ce.y0)({payload:m.MZ.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(m.rl.AUTHENTICATE_API+"/logout").pipe((0,c.T)(qn=>{this.logger.info(qn),this.store.dispatch((0,ce.y0)({payload:m.MZ.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,t.EH)(()=>this.actions.pipe((0,w.Q)(this.unSubs[1]),(0,t.gp)(m.aU.RESET_PASSWORD),(0,g.Z)(an=>(this.store.dispatch((0,ce.Gd)({payload:{action:"ResetPassword",status:m.wn.INITIATED}})),this.httpClient.post(m.rl.AUTHENTICATE_API+"/reset",{currPassword:an.payload.currPassword,newPassword:an.payload.newPassword}).pipe((0,w.Q)(this.unSubs[0]),(0,c.T)(mn=>(this.logger.info(mn),this.store.dispatch((0,ce.Gd)({payload:{action:"ResetPassword",status:m.wn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,ce.UI)({payload:"Password Reset Successful!"})),this.SetToken(mn.token),{type:m.aU.RESET_PASSWORD_RES,payload:mn.token})),(0,d.W)(mn=>(this.handleErrorWithAlert("ResetPassword",m.MZ.NO_SPINNER,"Password Reset Failed!",m.rl.AUTHENTICATE_API+"/reset",mn),(0,S.of)({type:m.aU.VOID})))))))),this.setSelectedNode=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.SET_SELECTED_NODE),(0,g.Z)(an=>(this.store.dispatch((0,ce.mt)({payload:an.payload.uiMessage})),this.store.dispatch((0,ce.Gd)({payload:{action:"UpdateSelNode",status:m.wn.INITIATED}})),this.httpClient.get(m.rl.CONF_API+"/updateSelNode/"+an.payload.currentLnNode?.index+"/"+an.payload.prevLnNodeIndex).pipe((0,c.T)(mn=>(this.logger.info(mn),this.store.dispatch((0,ce.Gd)({payload:{action:"UpdateSelNode",status:m.wn.COMPLETED}})),this.store.dispatch((0,ce.y0)({payload:an.payload.uiMessage})),this.initializeNode(mn,an.payload.isInitialSetup),{type:m.aU.VOID})),(0,d.W)(mn=>(this.handleErrorWithAlert("UpdateSelNode",an.payload.uiMessage,"Update Selected Node Failed!",m.rl.CONF_API+"/updateSelNode",mn),(0,S.of)({type:m.aU.VOID})))))))),this.fetchFile=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.FETCH_FILE),(0,g.Z)(an=>{this.store.dispatch((0,ce.mt)({payload:m.MZ.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,ce.Gd)({payload:{action:"FetchFile",status:m.wn.INITIATED}}));const mn="?channel="+an.payload.channelPoint+(an.payload.path?"&path="+an.payload.path:"");return this.httpClient.get(m.rl.CONF_API+"/file"+mn).pipe((0,c.T)(qn=>(this.store.dispatch((0,ce.Gd)({payload:{action:"FetchFile",status:m.wn.COMPLETED}})),this.store.dispatch((0,ce.y0)({payload:m.MZ.DOWNLOAD_BACKUP_FILE})),{type:m.aU.SHOW_FILE,payload:qn})),(0,d.W)(qn=>(this.handleErrorWithAlert("fetchFile",m.MZ.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",m.rl.CONF_API+"/file"+mn,{status:this.commonService.extractErrorNumber(qn),error:{error:this.commonService.extractErrorCode(qn)}}),(0,S.of)({type:m.aU.VOID}))))}))),this.showFile=(0,t.EH)(()=>this.actions.pipe((0,t.gp)(m.aU.SHOW_FILE),(0,c.T)(an=>an.payload)),{dispatch:!1})}initializeNode(Ai,Yi){this.logger.info("Initializing node from RTL Effects.");const zt=Yi?"":"HOME";if(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),Ai.settings.currencyUnits=[...m.A0,Ai.settings?.currencyUnit?Ai.settings?.currencyUnit:""],this.store.dispatch((0,ce.Tn)({payload:Ai})),this.store.dispatch((0,pi.p1)()),this.store.dispatch((0,ki.gf)()),this.store.dispatch((0,Ki.Hh)()),this.sessionService.getItem("token")){const ji=Ai.lnImplementation?Ai.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(ji);const Me=!(0,i.naY)()&&window.location.origin?window.location.origin+"/rtl/api":m.H$;switch(this.wsService.connectWebSocket(Me?.replace(/^http/,"ws")+m.rl.Web_SOCKET_API,Ai.index?Ai.index.toString():"-1"),ji){case"CLN":this.store.dispatch((0,ki.lg)()),this.store.dispatch((0,ki.Aw)({payload:{loadPage:zt}}));break;case"ECL":this.store.dispatch((0,Ki.lg)()),this.store.dispatch((0,Ki.zR)({payload:{loadPage:zt}}));break;default:this.store.dispatch((0,pi.lg)()),this.store.dispatch((0,pi.Br)({payload:{loadPage:zt}}))}}}SetToken(Ai){Ai?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",Ai)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(Ai,Yi){this.logger.info("Successfully Authorized!"),this.SetToken(Yi.token),this.sessionService.setItem("defaultPassword",Ai),Ai?(this.store.dispatch((0,ce.UI)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,ce.NU)())}handleErrorWithoutAlert(Ai,Yi,zt){this.logger.error("ERROR IN: "+Ai+"\n"+JSON.stringify(zt)),401===zt.status&&"Login"!==Ai?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,ce.Jh)()),this.store.dispatch((0,ce.ri)({payload:"Authentication Failed: "+JSON.stringify(zt.error)}))):(this.store.dispatch((0,ce.y0)({payload:Yi})),this.store.dispatch((0,ce.Gd)({payload:{action:Ai,status:m.wn.ERROR,statusCode:zt.status?zt.status.toString():"",message:this.commonService.extractErrorMessage(zt)}})))}handleErrorWithAlert(Ai,Yi,zt,ji,Me){if(this.logger.error(Me),0===Me.status&&Me.statusText&&"Unknown Error"===Me.statusText&&(Me={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===Me.status&&"Login"!==Ai)this.logger.info("Redirecting to Login"),this.store.dispatch((0,ce.Jh)()),this.store.dispatch((0,ce.ri)({payload:"Authentication Failed: "+JSON.stringify(Me.error)}));else{this.store.dispatch((0,ce.y0)({payload:Yi}));const mt=this.commonService.extractErrorMessage(Me);this.store.dispatch((0,ce.xO)({payload:{data:{type:"ERROR",alertTitle:zt,message:{code:Me.status?Me.status:"Unknown Error",message:mt,URL:ji},component:Ve.f}}})),this.store.dispatch((0,ce.Gd)({payload:{action:Ai,status:m.wn.ERROR,statusCode:Me.status?Me.status.toString():"",message:mt,URL:ji}}))}}ngOnDestroy(){this.unSubs.forEach(Ai=>{Ai.next(null),Ai.complete()})}static#e=xi=()=>(this.\u0275fac=function(Yi){return new(Yi||Gi)(Q.KVO(t.En),Q.KVO(Ji.Qq),Q.KVO(he.il),Q.KVO($.gP),Q.KVO(Dn.I),Q.KVO(En.Q),Q.KVO(ue.h),Q.KVO(An.u),Q.KVO(P.bZ),Q.KVO(ae.UG),Q.KVO(oe.Ix))},this.\u0275prov=Q.jDH({token:Gi,factory:Gi.\u0275fac}))}return xi(),Gi})()},37640:Ae=>{"use strict";Ae.exports=Error},37953:(Ae,ee,l)=>{"use strict";l.d(ee,{T:()=>t});var i=l(98071);function t(p){return Symbol.asyncIterator&&(0,i.T)(p?.[Symbol.asyncIterator])}},38132:(Ae,ee,l)=>{"use strict";l.d(ee,{Wk:()=>q,iI:()=>Ee,wQ:()=>G});var i=l(10467),t=l(57303),p=l(72200),S=l(60177),c=l(2615),e=l(73664),T=l(17705),g=l(59295),d=l(43694),w=l(21413),m=l(22806),P=l(7673),M=l(70274),j=l(5964),U=l(26365),K=l(31397);let q=(()=>{class ct{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=(0,c.vPA)(null);get href(){return(0,g.O8)(this.reactiveHref)}set href(ze){this.reactiveHref.set(ze)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new w.B;applicationErrorHandler=(0,c.WQX)(c.ZTf);options=(0,c.WQX)(d.J_,{optional:!0});constructor(ze,Z,J,fe,Ie,ht){this.router=ze,this.route=Z,this.tabIndexAttribute=J,this.renderer=fe,this.el=Ie,this.locationStrategy=ht,this.reactiveHref.set((0,c.WQX)(new T.ES_("href"),{optional:!0}));const li=Ie.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===li||"area"===li||!("object"!=typeof customElements||!customElements.get(li)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let ze=this.preserveFragment;const Z=J=>"merge"===J||"preserve"===J;ze||=Z(this.queryParamsHandling),ze||=!this.queryParamsHandling&&!Z(this.options?.defaultQueryParamsHandling),ze&&(this.subscription=this.router.events.subscribe(J=>{J instanceof d.wF&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(ze){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ze)}ngOnChanges(ze){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(ze){null==ze?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=(0,d.wO)(ze)||Array.isArray(ze)?ze:[ze],this.setTabIndexIfNotOnNativeEl("0"))}onClick(ze,Z,J,fe,Ie){const ht=this.urlTree;if(null===ht||this.isAnchorElement&&(0!==ze||Z||J||fe||Ie||"string"==typeof this.target&&"_self"!=this.target))return!0;const li={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(ht,li)?.catch(Qt=>{this.applicationErrorHandler(Qt)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const ze=this.urlTree;this.reactiveHref.set(null!==ze&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(ze))??"":null)}applyAttributeValue(ze,Z){const J=this.renderer,fe=this.el.nativeElement;null!==Z?J.setAttribute(fe,ze,Z):J.removeAttribute(fe,ze)}get urlTree(){return null===this.routerLinkInput?null:(0,d.wO)(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 \u0275fac=function(Z){return new(Z||ct)(e.rXU(d.Ix),e.rXU(d.nX),e.kS0("tabindex"),e.rXU(e.sFG),e.rXU(e.aKT),e.rXU(t.hb))};static \u0275dir=e.FsC({type:ct,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(Z,J){1&Z&&e.bIt("click",function(Ie){return J.onClick(Ie.button,Ie.ctrlKey,Ie.shiftKey,Ie.altKey,Ie.metaKey)}),2&Z&&e.BMQ("href",J.reactiveHref(),e.n$t)("target",J.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",T.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",T.L39],replaceUrl:[2,"replaceUrl","replaceUrl",T.L39],routerLink:"routerLink"},features:[e.OA$]})}return ct})(),G=(()=>{class ct{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new e.bkB;constructor(ze,Z,J,fe,Ie){this.router=ze,this.element=Z,this.renderer=J,this.cdr=fe,this.link=Ie,this.routerEventsSubscription=ze.events.subscribe(ht=>{ht instanceof d.wF&&this.update()})}ngAfterContentInit(){(0,P.of)(this.links.changes,(0,P.of)(null)).pipe((0,U.U)()).subscribe(ze=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ze=[...this.links.toArray(),this.link].filter(Z=>!!Z).map(Z=>Z.onChanges);this.linkInputChangesSubscription=(0,m.H)(ze).pipe((0,U.U)()).subscribe(Z=>{this._isActive!==this.isLinkActive(this.router)(Z)&&this.update()})}set routerLinkActive(ze){const Z=Array.isArray(ze)?ze:ze.split(" ");this.classes=Z.filter(J=>!!J)}ngOnChanges(ze){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const ze=this.hasActiveLinks();this.classes.forEach(Z=>{ze?this.renderer.addClass(this.element.nativeElement,Z):this.renderer.removeClass(this.element.nativeElement,Z)}),ze&&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!==ze&&(this._isActive=ze,this.cdr.markForCheck(),this.isActiveChange.emit(ze))})}isLinkActive(ze){const Z=function Q(ct){return!!ct.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return J=>{const fe=J.urlTree;return!!fe&&ze.isActive(fe,Z)}}hasActiveLinks(){const ze=this.isLinkActive(this.router);return this.link&&ze(this.link)||this.links.some(ze)}static \u0275fac=function(Z){return new(Z||ct)(e.rXU(d.Ix),e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(T.gRc),e.rXU(q,8))};static \u0275dir=e.FsC({type:ct,selectors:[["","routerLinkActive",""]],contentQueries:function(Z,J,fe){if(1&Z&&e.wni(fe,q,5),2&Z){let Ie;e.mGM(Ie=e.lsd())&&(J.links=Ie)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[e.OA$]})}return ct})();class ${}let oe=(()=>{class ct{router;injector;preloadingStrategy;loader;subscription;constructor(ze,Z,J,fe){this.router=ze,this.injector=Z,this.preloadingStrategy=J,this.loader=fe}setUpPreloading(){this.subscription=this.router.events.pipe((0,j.p)(ze=>ze instanceof d.wF),(0,M.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ze,Z){const J=[];for(const fe of Z){fe.providers&&!fe._injector&&(fe._injector=(0,e.Ol2)(fe.providers,ze,`Route: ${fe.path}`));const Ie=fe._injector??ze,ht=fe._loadedInjector??Ie;(fe.loadChildren&&!fe._loadedRoutes&&void 0===fe.canLoad||fe.loadComponent&&!fe._loadedComponent)&&J.push(this.preloadConfig(Ie,fe)),(fe.children||fe._loadedRoutes)&&J.push(this.processRoutes(ht,fe.children??fe._loadedRoutes))}return(0,m.H)(J).pipe((0,U.U)())}preloadConfig(ze,Z){return this.preloadingStrategy.preload(Z,()=>{let J;J=Z.loadChildren&&void 0===Z.canLoad?this.loader.loadChildren(ze,Z):(0,P.of)(null);const fe=J.pipe((0,K.Z)(Ie=>null===Ie?(0,P.of)(void 0):(Z._loadedRoutes=Ie.routes,Z._loadedInjector=Ie.injector,this.processRoutes(Ie.injector??ze,Ie.routes))));if(Z.loadComponent&&!Z._loadedComponent){const Ie=this.loader.loadComponent(ze,Z);return(0,m.H)([fe,Ie]).pipe((0,U.U)())}return fe})}static \u0275fac=function(Z){return new(Z||ct)(c.KVO(d.Ix),c.KVO(c.uvJ),c.KVO($),c.KVO(d.D$))};static \u0275prov=c.jDH({token:ct,factory:ct.\u0275fac,providedIn:"root"})}return ct})();const he=new c.nKC("");let me=(()=>{class ct{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=d.wU;restoredId=0;store={};constructor(ze,Z,J,fe,Ie={}){this.urlSerializer=ze,this.transitions=Z,this.viewportScroller=J,this.zone=fe,this.options=Ie,Ie.scrollPositionRestoration||="disabled",Ie.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(ze=>{ze instanceof d.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ze.navigationTrigger,this.restoredId=ze.restoredState?ze.restoredState.navigationId:0):ze instanceof d.wF?(this.lastId=ze.id,this.scheduleScrollEvent(ze,this.urlSerializer.parse(ze.urlAfterRedirects).fragment)):ze instanceof d.lW&&ze.code===d.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ze,this.urlSerializer.parse(ze.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ze=>{if(!(ze instanceof d.OY))return;const Z={behavior:"instant"};ze.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],Z):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ze.position,Z):ze.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ze.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(ze,Z){var J=this;this.zone.runOutsideAngular((0,i.A)(function*(){yield new Promise(fe=>{setTimeout(fe),typeof requestAnimationFrame<"u"&&requestAnimationFrame(fe)}),J.zone.run(()=>{J.transitions.events.next(new d.OY(ze,"popstate"===J.lastSource?J.store[J.restoredId]:null,Z))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(Z){e.QTQ()};static \u0275prov=c.jDH({token:ct,factory:ct.\u0275fac})}return ct})();function h(ct,Ce){return{\u0275kind:ct,\u0275providers:Ce}}function r(){const ct=(0,c.WQX)(c.zZn);return Ce=>{const ze=ct.get(e.o8S);if(Ce!==ze.components[0])return;const Z=ct.get(d.Ix),J=ct.get(_);1===ct.get(W)&&Z.initialNavigation(),ct.get(pe,null,{optional:!0})?.setUpPreloading(),ct.get(he,null,{optional:!0})?.init(),Z.resetRootComponentType(ze.componentTypes[0]),J.closed||(J.next(),J.complete(),J.unsubscribe())}}const _=new c.nKC("",{factory:()=>new w.B}),W=new c.nKC("",{providedIn:"root",factory:()=>1}),pe=new c.nKC("");function be(ct){return h(0,[{provide:pe,useExisting:oe},{provide:$,useExisting:ct}])}function Ke(ct){return(0,e._jY)("NgRouterViewTransitions"),h(9,[{provide:d.Pu,useValue:d.Lg},{provide:d.bK,useValue:{skipNextTransition:!!ct?.skipInitialTransition,...ct}}])}const Oe=[t.aZ,{provide:d.Sd,useClass:d.nU},d.Ix,d.Zp,{provide:d.nX,useFactory:function f(ct){return ct.routerState.root},deps:[d.Ix]},d.D$,[]];let Ee=(()=>{class ct{constructor(){}static forRoot(ze,Z){return{ngModule:ct,providers:[Oe,[],{provide:d.bw,multi:!0,useValue:ze},[],Z?.errorHandler?{provide:d.XR,useValue:Z.errorHandler}:[],{provide:d.J_,useValue:Z||{}},Z?.useHash?{provide:t.hb,useClass:p.fw}:{provide:t.hb,useClass:t.Sm},{provide:he,useFactory:()=>{const ct=(0,c.WQX)(S.Xr),Ce=(0,c.WQX)(e.SKi),ze=(0,c.WQX)(d.J_),Z=(0,c.WQX)(d.J2),J=(0,c.WQX)(d.Sd);return ze.scrollOffset&&ct.setOffset(ze.scrollOffset),new me(J,Z,ct,Ce,ze)}},Z?.preloadingStrategy?be(Z.preloadingStrategy).\u0275providers:[],Z?.initialNavigation?lt(Z):[],Z?.bindToComponentInputs?h(8,[d.tD,{provide:d.c1,useExisting:d.tD}]).\u0275providers:[],Z?.enableViewTransitions?Ke().\u0275providers:[],[{provide:Pe,useFactory:r},{provide:e.iLQ,multi:!0,useExisting:Pe}]]}}static forChild(ze){return{ngModule:ct,providers:[{provide:d.bw,multi:!0,useValue:ze}]}}static \u0275fac=function(Z){return new(Z||ct)};static \u0275mod=e.$C({type:ct});static \u0275inj=c.G2t({})}return ct})();function lt(ct){return["disabled"===ct.initialNavigation?h(3,[(0,e.phd)(()=>{(0,c.WQX)(d.Ix).setUpLocationChangeListener()}),{provide:W,useValue:2}]).\u0275providers:[],"enabledBlocking"===ct.initialNavigation?h(2,[{provide:e.tvf,useValue:!0},{provide:W,useValue:0},(0,e.phd)(()=>{const Ce=(0,c.WQX)(c.zZn);return Ce.get(t.hj,Promise.resolve()).then(()=>new Promise(Z=>{const J=Ce.get(d.Ix),fe=Ce.get(_);(0,d.gk)(J,()=>{Z(!0)}),Ce.get(d.J2).afterPreactivation=()=>(Z(!0),fe.closed?(0,P.of)(void 0):fe),J.initialNavigation()}))})]).\u0275providers:[]]}const Pe=new c.nKC("")},38280:function(Ae,ee,l){!function(i,t){"use strict";function p(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var o=function(){};o.prototype=n.prototype,D.prototype=new o,D.prototype.constructor=D}function c(D,n,o){if(c.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(D||0,n||10,o||"be"))}var e;"object"==typeof i?i.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{e=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:l(66089).Buffer}catch{}function T(D,n){var o=D.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function g(D,n,o){var f=T(D,o);return o-1>=n&&(f|=T(D,o-1)<<4),f}function d(D,n,o,f){for(var h=0,b=Math.min(D.length,o),A=n;A<b;A++){var k=D.charCodeAt(A)-48;h*=f,h+=k>=49?k-49+10:k>=17?k-17+10:k}return h}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,f){if("number"==typeof n)return this._initNumber(n,o,f);if("object"==typeof n)return this._initArray(n,o,f);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===o?this._parseHex(n,h,f):(this._parseBase(n,o,h),"le"===f&&this._initArray(this.toArray(),o,f)))},c.prototype._initNumber=function(n,o,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(p(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),o,f)},c.prototype._initArray=function(n,o,f){if(p("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var b,A,k=0;if("be"===f)for(h=n.length-1,b=0;h>=0;h-=3)this.words[b]|=(A=n[h]|n[h-1]<<8|n[h-2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);else if("le"===f)for(h=0,b=0;h<n.length;h+=3)this.words[b]|=(A=n[h]|n[h+1]<<8|n[h+2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);return this.strip()},c.prototype._parseHex=function(n,o,f){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var k,b=0,A=0;if("be"===f)for(h=n.length-1;h>=o;h-=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;else for(h=(n.length-o)%2==0?o+1:o;h<n.length;h+=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;this.strip()},c.prototype._parseBase=function(n,o,f){this.words=[0],this.length=1;for(var h=0,b=1;b<=67108863;b*=o)h++;h--,b=b/o|0;for(var A=n.length-f,k=A%h,x=Math.min(A,A-k)+f,r=0,_=f;_<x;_+=h)r=d(n,_,_+h,o),this.imuln(b),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==k){var W=1;for(r=d(n,_,n.length,o),_=0;_<k;_++)W*=o;this.imuln(W),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},c.prototype.copy=function(n){n.words=new Array(this.length);for(var o=0;o<this.length;o++)n.words[o]=this.words[o];n.length=this.length,n.negative=this.negative,n.red=this.red},c.prototype.clone=function(){var n=new c(null);return this.copy(n),n},c.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var w=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],P=[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 j(D,n,o){o.negative=n.negative^D.negative;var f=D.length+n.length|0;o.length=f,f=f-1|0;var h=0|D.words[0],b=0|n.words[0],A=h*b,x=A/67108864|0;o.words[0]=67108863&A;for(var r=1;r<f;r++){for(var _=x>>>26,W=67108863&x,I=Math.min(r,n.length-1),B=Math.max(0,r-D.length+1);B<=I;B++)_+=(A=(h=0|D.words[r-B|0])*(b=0|n.words[B])+W)/67108864|0,W=67108863&A;o.words[r]=0|W,x=0|_}return 0!==x?o.words[r]=0|x:o.length--,o.strip()}c.prototype.toString=function(n,o){var f;if(o=0|o||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,b=0,A=0;A<this.length;A++){var k=this.words[A],x=(16777215&(k<<h|b)).toString(16);b=k>>>24-h&16777215,(h+=2)>=26&&(h-=26,A--),f=0!==b||A!==this.length-1?w[6-x.length]+x+f:x+f}for(0!==b&&(f=b.toString(16)+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],_=P[n];f="";var W=this.clone();for(W.negative=0;!W.isZero();){var I=W.modn(_).toString(n);f=(W=W.idivn(_)).isZero()?I+f:w[r-I.length]+I+f}for(this.isZero()&&(f="0"+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}p(!1,"Base should be between 2 and 36")},c.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&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof e<"u"),this.toArrayLike(e,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,f){var h=this.byteLength(),b=f||Math.max(1,h);p(h<=b,"byte array longer than desired length"),p(b>0,"Requested array length <= 0"),this.strip();var x,r,A="le"===o,k=new n(b),_=this.clone();if(A){for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[r]=x;for(;r<b;r++)k[r]=0}else{for(r=0;r<b-h;r++)k[r]=0;for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[b-r-1]=x}return k},c.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var o=n,f=0;return o>=4096&&(f+=13,o>>>=13),o>=64&&(f+=7,o>>>=7),o>=8&&(f+=4,o>>>=4),o>=2&&(f+=2,o>>>=2),f+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,f=0;return!(8191&o)&&(f+=13,o>>>=13),!(127&o)&&(f+=7,o>>>=7),!(15&o)&&(f+=4,o>>>=4),!(3&o)&&(f+=2,o>>>=2),!(1&o)&&f++,f},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;o<this.length;o++){var f=this._zeroBits(this.words[o]);if(n+=f,26!==f)break}return n},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},c.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var o=0;o<n.length;o++)this.words[o]=this.words[o]|n.words[o];return this.strip()},c.prototype.ior=function(n){return p(0===(this.negative|n.negative)),this.iuor(n)},c.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var f=0;f<o.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=o.length,this.strip()},c.prototype.iand=function(n){return p(0===(this.negative|n.negative)),this.iuand(n)},c.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,f;this.length>n.length?(o=this,f=n):(o=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=o.words[h]^f.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},c.prototype.ixor=function(n){return p(0===(this.negative|n.negative)),this.iuxor(n)},c.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),f=n%26;this._expand(o),f>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=o?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},c.prototype.iadd=function(n){var o,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,o=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,o=this.isub(n),n.negative=1,o._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var b=0,A=0;A<h.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+(0|h.words[A])+b),b=o>>>26;for(;0!==b&&A<f.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+b),b=o>>>26;if(this.length=f.length,0!==b)this.words[this.length]=b,this.length++;else if(f!==this)for(;A<f.length;A++)this.words[A]=f.words[A];return this},c.prototype.add=function(n){var o;return 0!==n.negative&&0===this.negative?(n.negative=0,o=this.sub(n),n.negative^=1,o):0===n.negative&&0!==this.negative?(this.negative=0,o=n.sub(this),this.negative=1,o):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,b,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,b=n):(h=n,b=this);for(var A=0,k=0;k<b.length;k++)A=(o=(0|h.words[k])-(0|b.words[k])+A)>>26,this.words[k]=67108863&o;for(;0!==A&&k<h.length;k++)A=(o=(0|h.words[k])+A)>>26,this.words[k]=67108863&o;if(0===A&&k<h.length&&h!==this)for(;k<h.length;k++)this.words[k]=h.words[k];return this.length=Math.max(this.length,k),h!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(n){return this.clone().isub(n)};var U=function(n,o,f){var x,r,_,h=n.words,b=o.words,A=f.words,k=0,W=0|h[0],I=8191&W,B=W>>>13,re=0|h[1],pe=8191&re,be=re>>>13,Be=0|h[2],_e=8191&Be,ye=Be>>>13,Le=0|h[3],Ke=8191&Le,ge=Le>>>13,ve=0|h[4],Oe=8191&ve,Ee=ve>>>13,dt=0|h[5],nt=8191&dt,Ct=dt>>>13,Mt=0|h[6],lt=8191&Mt,Pe=Mt>>>13,Ht=0|h[7],ct=8191&Ht,Ce=Ht>>>13,ze=0|h[8],Z=8191&ze,J=ze>>>13,fe=0|h[9],Ie=8191&fe,ht=fe>>>13,li=0|b[0],Qt=8191&li,di=li>>>13,kt=0|b[1],Rt=8191&kt,le=kt>>>13,te=0|b[2],ce=8191&te,se=te>>>13,ke=0|b[3],Ue=8191&ke,Ne=ke>>>13,Kt=0|b[4],yt=8191&Kt,Vt=Kt>>>13,Zt=0|b[5],ti=8191&Zt,Ye=Zt>>>13,Nt=0|b[6],Et=8191&Nt,Jt=Nt>>>13,qe=0|b[7],$e=8191&qe,tt=qe>>>13,vi=0|b[8],ei=8191&vi,ci=vi>>>13,Hi=0|b[9],oi=8191&Hi,ui=Hi>>>13;f.negative=n.negative^o.negative,f.length=19;var ln=(k+(x=Math.imul(I,Qt))|0)+((8191&(r=(r=Math.imul(I,di))+Math.imul(B,Qt)|0))<<13)|0;k=((_=Math.imul(B,di))+(r>>>13)|0)+(ln>>>26)|0,ln&=67108863,x=Math.imul(pe,Qt),r=(r=Math.imul(pe,di))+Math.imul(be,Qt)|0,_=Math.imul(be,di);var nn=(k+(x=x+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,le)|0)+Math.imul(B,Rt)|0))<<13)|0;k=((_=_+Math.imul(B,le)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,x=Math.imul(_e,Qt),r=(r=Math.imul(_e,di))+Math.imul(ye,Qt)|0,_=Math.imul(ye,di),x=x+Math.imul(pe,Rt)|0,r=(r=r+Math.imul(pe,le)|0)+Math.imul(be,Rt)|0,_=_+Math.imul(be,le)|0;var dn=(k+(x=x+Math.imul(I,ce)|0)|0)+((8191&(r=(r=r+Math.imul(I,se)|0)+Math.imul(B,ce)|0))<<13)|0;k=((_=_+Math.imul(B,se)|0)+(r>>>13)|0)+(dn>>>26)|0,dn&=67108863,x=Math.imul(Ke,Qt),r=(r=Math.imul(Ke,di))+Math.imul(ge,Qt)|0,_=Math.imul(ge,di),x=x+Math.imul(_e,Rt)|0,r=(r=r+Math.imul(_e,le)|0)+Math.imul(ye,Rt)|0,_=_+Math.imul(ye,le)|0,x=x+Math.imul(pe,ce)|0,r=(r=r+Math.imul(pe,se)|0)+Math.imul(be,ce)|0,_=_+Math.imul(be,se)|0;var zn=(k+(x=x+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ne)|0)+Math.imul(B,Ue)|0))<<13)|0;k=((_=_+Math.imul(B,Ne)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,x=Math.imul(Oe,Qt),r=(r=Math.imul(Oe,di))+Math.imul(Ee,Qt)|0,_=Math.imul(Ee,di),x=x+Math.imul(Ke,Rt)|0,r=(r=r+Math.imul(Ke,le)|0)+Math.imul(ge,Rt)|0,_=_+Math.imul(ge,le)|0,x=x+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,se)|0)+Math.imul(ye,ce)|0,_=_+Math.imul(ye,se)|0,x=x+Math.imul(pe,Ue)|0,r=(r=r+Math.imul(pe,Ne)|0)+Math.imul(be,Ue)|0,_=_+Math.imul(be,Ne)|0;var It=(k+(x=x+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Vt)|0)+Math.imul(B,yt)|0))<<13)|0;k=((_=_+Math.imul(B,Vt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,x=Math.imul(nt,Qt),r=(r=Math.imul(nt,di))+Math.imul(Ct,Qt)|0,_=Math.imul(Ct,di),x=x+Math.imul(Oe,Rt)|0,r=(r=r+Math.imul(Oe,le)|0)+Math.imul(Ee,Rt)|0,_=_+Math.imul(Ee,le)|0,x=x+Math.imul(Ke,ce)|0,r=(r=r+Math.imul(Ke,se)|0)+Math.imul(ge,ce)|0,_=_+Math.imul(ge,se)|0,x=x+Math.imul(_e,Ue)|0,r=(r=r+Math.imul(_e,Ne)|0)+Math.imul(ye,Ue)|0,_=_+Math.imul(ye,Ne)|0,x=x+Math.imul(pe,yt)|0,r=(r=r+Math.imul(pe,Vt)|0)+Math.imul(be,yt)|0,_=_+Math.imul(be,Vt)|0;var Tt=(k+(x=x+Math.imul(I,ti)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ye)|0)+Math.imul(B,ti)|0))<<13)|0;k=((_=_+Math.imul(B,Ye)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,x=Math.imul(lt,Qt),r=(r=Math.imul(lt,di))+Math.imul(Pe,Qt)|0,_=Math.imul(Pe,di),x=x+Math.imul(nt,Rt)|0,r=(r=r+Math.imul(nt,le)|0)+Math.imul(Ct,Rt)|0,_=_+Math.imul(Ct,le)|0,x=x+Math.imul(Oe,ce)|0,r=(r=r+Math.imul(Oe,se)|0)+Math.imul(Ee,ce)|0,_=_+Math.imul(Ee,se)|0,x=x+Math.imul(Ke,Ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,Ue)|0,_=_+Math.imul(ge,Ne)|0,x=x+Math.imul(_e,yt)|0,r=(r=r+Math.imul(_e,Vt)|0)+Math.imul(ye,yt)|0,_=_+Math.imul(ye,Vt)|0,x=x+Math.imul(pe,ti)|0,r=(r=r+Math.imul(pe,Ye)|0)+Math.imul(be,ti)|0,_=_+Math.imul(be,Ye)|0;var Ze=(k+(x=x+Math.imul(I,Et)|0)|0)+((8191&(r=(r=r+Math.imul(I,Jt)|0)+Math.imul(B,Et)|0))<<13)|0;k=((_=_+Math.imul(B,Jt)|0)+(r>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,x=Math.imul(ct,Qt),r=(r=Math.imul(ct,di))+Math.imul(Ce,Qt)|0,_=Math.imul(Ce,di),x=x+Math.imul(lt,Rt)|0,r=(r=r+Math.imul(lt,le)|0)+Math.imul(Pe,Rt)|0,_=_+Math.imul(Pe,le)|0,x=x+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,se)|0)+Math.imul(Ct,ce)|0,_=_+Math.imul(Ct,se)|0,x=x+Math.imul(Oe,Ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Ee,Ue)|0,_=_+Math.imul(Ee,Ne)|0,x=x+Math.imul(Ke,yt)|0,r=(r=r+Math.imul(Ke,Vt)|0)+Math.imul(ge,yt)|0,_=_+Math.imul(ge,Vt)|0,x=x+Math.imul(_e,ti)|0,r=(r=r+Math.imul(_e,Ye)|0)+Math.imul(ye,ti)|0,_=_+Math.imul(ye,Ye)|0,x=x+Math.imul(pe,Et)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(be,Et)|0,_=_+Math.imul(be,Jt)|0;var Ve=(k+(x=x+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,tt)|0)+Math.imul(B,$e)|0))<<13)|0;k=((_=_+Math.imul(B,tt)|0)+(r>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,x=Math.imul(Z,Qt),r=(r=Math.imul(Z,di))+Math.imul(J,Qt)|0,_=Math.imul(J,di),x=x+Math.imul(ct,Rt)|0,r=(r=r+Math.imul(ct,le)|0)+Math.imul(Ce,Rt)|0,_=_+Math.imul(Ce,le)|0,x=x+Math.imul(lt,ce)|0,r=(r=r+Math.imul(lt,se)|0)+Math.imul(Pe,ce)|0,_=_+Math.imul(Pe,se)|0,x=x+Math.imul(nt,Ue)|0,r=(r=r+Math.imul(nt,Ne)|0)+Math.imul(Ct,Ue)|0,_=_+Math.imul(Ct,Ne)|0,x=x+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,Vt)|0)+Math.imul(Ee,yt)|0,_=_+Math.imul(Ee,Vt)|0,x=x+Math.imul(Ke,ti)|0,r=(r=r+Math.imul(Ke,Ye)|0)+Math.imul(ge,ti)|0,_=_+Math.imul(ge,Ye)|0,x=x+Math.imul(_e,Et)|0,r=(r=r+Math.imul(_e,Jt)|0)+Math.imul(ye,Et)|0,_=_+Math.imul(ye,Jt)|0,x=x+Math.imul(pe,$e)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(be,$e)|0,_=_+Math.imul(be,tt)|0;var Fe=(k+(x=x+Math.imul(I,ei)|0)|0)+((8191&(r=(r=r+Math.imul(I,ci)|0)+Math.imul(B,ei)|0))<<13)|0;k=((_=_+Math.imul(B,ci)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,x=Math.imul(Ie,Qt),r=(r=Math.imul(Ie,di))+Math.imul(ht,Qt)|0,_=Math.imul(ht,di),x=x+Math.imul(Z,Rt)|0,r=(r=r+Math.imul(Z,le)|0)+Math.imul(J,Rt)|0,_=_+Math.imul(J,le)|0,x=x+Math.imul(ct,ce)|0,r=(r=r+Math.imul(ct,se)|0)+Math.imul(Ce,ce)|0,_=_+Math.imul(Ce,se)|0,x=x+Math.imul(lt,Ue)|0,r=(r=r+Math.imul(lt,Ne)|0)+Math.imul(Pe,Ue)|0,_=_+Math.imul(Pe,Ne)|0,x=x+Math.imul(nt,yt)|0,r=(r=r+Math.imul(nt,Vt)|0)+Math.imul(Ct,yt)|0,_=_+Math.imul(Ct,Vt)|0,x=x+Math.imul(Oe,ti)|0,r=(r=r+Math.imul(Oe,Ye)|0)+Math.imul(Ee,ti)|0,_=_+Math.imul(Ee,Ye)|0,x=x+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Jt)|0)+Math.imul(ge,Et)|0,_=_+Math.imul(ge,Jt)|0,x=x+Math.imul(_e,$e)|0,r=(r=r+Math.imul(_e,tt)|0)+Math.imul(ye,$e)|0,_=_+Math.imul(ye,tt)|0,x=x+Math.imul(pe,ei)|0,r=(r=r+Math.imul(pe,ci)|0)+Math.imul(be,ei)|0,_=_+Math.imul(be,ci)|0;var it=(k+(x=x+Math.imul(I,oi)|0)|0)+((8191&(r=(r=r+Math.imul(I,ui)|0)+Math.imul(B,oi)|0))<<13)|0;k=((_=_+Math.imul(B,ui)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,x=Math.imul(Ie,Rt),r=(r=Math.imul(Ie,le))+Math.imul(ht,Rt)|0,_=Math.imul(ht,le),x=x+Math.imul(Z,ce)|0,r=(r=r+Math.imul(Z,se)|0)+Math.imul(J,ce)|0,_=_+Math.imul(J,se)|0,x=x+Math.imul(ct,Ue)|0,r=(r=r+Math.imul(ct,Ne)|0)+Math.imul(Ce,Ue)|0,_=_+Math.imul(Ce,Ne)|0,x=x+Math.imul(lt,yt)|0,r=(r=r+Math.imul(lt,Vt)|0)+Math.imul(Pe,yt)|0,_=_+Math.imul(Pe,Vt)|0,x=x+Math.imul(nt,ti)|0,r=(r=r+Math.imul(nt,Ye)|0)+Math.imul(Ct,ti)|0,_=_+Math.imul(Ct,Ye)|0,x=x+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Jt)|0)+Math.imul(Ee,Et)|0,_=_+Math.imul(Ee,Jt)|0,x=x+Math.imul(Ke,$e)|0,r=(r=r+Math.imul(Ke,tt)|0)+Math.imul(ge,$e)|0,_=_+Math.imul(ge,tt)|0,x=x+Math.imul(_e,ei)|0,r=(r=r+Math.imul(_e,ci)|0)+Math.imul(ye,ei)|0,_=_+Math.imul(ye,ci)|0;var bt=(k+(x=x+Math.imul(pe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(pe,ui)|0)+Math.imul(be,oi)|0))<<13)|0;k=((_=_+Math.imul(be,ui)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863,x=Math.imul(Ie,ce),r=(r=Math.imul(Ie,se))+Math.imul(ht,ce)|0,_=Math.imul(ht,se),x=x+Math.imul(Z,Ue)|0,r=(r=r+Math.imul(Z,Ne)|0)+Math.imul(J,Ue)|0,_=_+Math.imul(J,Ne)|0,x=x+Math.imul(ct,yt)|0,r=(r=r+Math.imul(ct,Vt)|0)+Math.imul(Ce,yt)|0,_=_+Math.imul(Ce,Vt)|0,x=x+Math.imul(lt,ti)|0,r=(r=r+Math.imul(lt,Ye)|0)+Math.imul(Pe,ti)|0,_=_+Math.imul(Pe,Ye)|0,x=x+Math.imul(nt,Et)|0,r=(r=r+Math.imul(nt,Jt)|0)+Math.imul(Ct,Et)|0,_=_+Math.imul(Ct,Jt)|0,x=x+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,tt)|0)+Math.imul(Ee,$e)|0,_=_+Math.imul(Ee,tt)|0,x=x+Math.imul(Ke,ei)|0,r=(r=r+Math.imul(Ke,ci)|0)+Math.imul(ge,ei)|0,_=_+Math.imul(ge,ci)|0;var ut=(k+(x=x+Math.imul(_e,oi)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(ye,oi)|0))<<13)|0;k=((_=_+Math.imul(ye,ui)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,x=Math.imul(Ie,Ue),r=(r=Math.imul(Ie,Ne))+Math.imul(ht,Ue)|0,_=Math.imul(ht,Ne),x=x+Math.imul(Z,yt)|0,r=(r=r+Math.imul(Z,Vt)|0)+Math.imul(J,yt)|0,_=_+Math.imul(J,Vt)|0,x=x+Math.imul(ct,ti)|0,r=(r=r+Math.imul(ct,Ye)|0)+Math.imul(Ce,ti)|0,_=_+Math.imul(Ce,Ye)|0,x=x+Math.imul(lt,Et)|0,r=(r=r+Math.imul(lt,Jt)|0)+Math.imul(Pe,Et)|0,_=_+Math.imul(Pe,Jt)|0,x=x+Math.imul(nt,$e)|0,r=(r=r+Math.imul(nt,tt)|0)+Math.imul(Ct,$e)|0,_=_+Math.imul(Ct,tt)|0,x=x+Math.imul(Oe,ei)|0,r=(r=r+Math.imul(Oe,ci)|0)+Math.imul(Ee,ei)|0,_=_+Math.imul(Ee,ci)|0;var jt=(k+(x=x+Math.imul(Ke,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,ui)|0)+Math.imul(ge,oi)|0))<<13)|0;k=((_=_+Math.imul(ge,ui)|0)+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,x=Math.imul(Ie,yt),r=(r=Math.imul(Ie,Vt))+Math.imul(ht,yt)|0,_=Math.imul(ht,Vt),x=x+Math.imul(Z,ti)|0,r=(r=r+Math.imul(Z,Ye)|0)+Math.imul(J,ti)|0,_=_+Math.imul(J,Ye)|0,x=x+Math.imul(ct,Et)|0,r=(r=r+Math.imul(ct,Jt)|0)+Math.imul(Ce,Et)|0,_=_+Math.imul(Ce,Jt)|0,x=x+Math.imul(lt,$e)|0,r=(r=r+Math.imul(lt,tt)|0)+Math.imul(Pe,$e)|0,_=_+Math.imul(Pe,tt)|0,x=x+Math.imul(nt,ei)|0,r=(r=r+Math.imul(nt,ci)|0)+Math.imul(Ct,ei)|0,_=_+Math.imul(Ct,ci)|0;var ai=(k+(x=x+Math.imul(Oe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,ui)|0)+Math.imul(Ee,oi)|0))<<13)|0;k=((_=_+Math.imul(Ee,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,x=Math.imul(Ie,ti),r=(r=Math.imul(Ie,Ye))+Math.imul(ht,ti)|0,_=Math.imul(ht,Ye),x=x+Math.imul(Z,Et)|0,r=(r=r+Math.imul(Z,Jt)|0)+Math.imul(J,Et)|0,_=_+Math.imul(J,Jt)|0,x=x+Math.imul(ct,$e)|0,r=(r=r+Math.imul(ct,tt)|0)+Math.imul(Ce,$e)|0,_=_+Math.imul(Ce,tt)|0,x=x+Math.imul(lt,ei)|0,r=(r=r+Math.imul(lt,ci)|0)+Math.imul(Pe,ei)|0,_=_+Math.imul(Pe,ci)|0;var pi=(k+(x=x+Math.imul(nt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ct,oi)|0))<<13)|0;k=((_=_+Math.imul(Ct,ui)|0)+(r>>>13)|0)+(pi>>>26)|0,pi&=67108863,x=Math.imul(Ie,Et),r=(r=Math.imul(Ie,Jt))+Math.imul(ht,Et)|0,_=Math.imul(ht,Jt),x=x+Math.imul(Z,$e)|0,r=(r=r+Math.imul(Z,tt)|0)+Math.imul(J,$e)|0,_=_+Math.imul(J,tt)|0,x=x+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,ci)|0)+Math.imul(Ce,ei)|0,_=_+Math.imul(Ce,ci)|0;var ki=(k+(x=x+Math.imul(lt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(lt,ui)|0)+Math.imul(Pe,oi)|0))<<13)|0;k=((_=_+Math.imul(Pe,ui)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,x=Math.imul(Ie,$e),r=(r=Math.imul(Ie,tt))+Math.imul(ht,$e)|0,_=Math.imul(ht,tt),x=x+Math.imul(Z,ei)|0,r=(r=r+Math.imul(Z,ci)|0)+Math.imul(J,ei)|0,_=_+Math.imul(J,ci)|0;var Ki=(k+(x=x+Math.imul(ct,oi)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ce,oi)|0))<<13)|0;k=((_=_+Math.imul(Ce,ui)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,x=Math.imul(Ie,ei),r=(r=Math.imul(Ie,ci))+Math.imul(ht,ei)|0,_=Math.imul(ht,ci);var Ji=(k+(x=x+Math.imul(Z,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Z,ui)|0)+Math.imul(J,oi)|0))<<13)|0;k=((_=_+Math.imul(J,ui)|0)+(r>>>13)|0)+(Ji>>>26)|0,Ji&=67108863;var Dn=(k+(x=Math.imul(Ie,oi))|0)+((8191&(r=(r=Math.imul(Ie,ui))+Math.imul(ht,oi)|0))<<13)|0;return k=((_=Math.imul(ht,ui))+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,A[0]=ln,A[1]=nn,A[2]=dn,A[3]=zn,A[4]=It,A[5]=Tt,A[6]=Ze,A[7]=Ve,A[8]=Fe,A[9]=it,A[10]=bt,A[11]=ut,A[12]=jt,A[13]=ai,A[14]=pi,A[15]=ki,A[16]=Ki,A[17]=Ji,A[18]=Dn,0!==k&&(A[19]=k,f.length++),f};function q(D,n,o){return(new G).mulp(D,n,o)}function G(D,n){this.x=D,this.y=n}Math.imul||(U=j),c.prototype.mulTo=function(n,o){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?U(this,n,o):h<63?j(this,n,o):h<1024?function K(D,n,o){o.negative=n.negative^D.negative,o.length=D.length+n.length;for(var f=0,h=0,b=0;b<o.length-1;b++){var A=h;h=0;for(var k=67108863&f,x=Math.min(b,n.length-1),r=Math.max(0,b-D.length+1);r<=x;r++){var B=(0|D.words[b-r])*(0|n.words[r]),re=67108863&B;k=67108863&(re=re+k|0),h+=(A=(A=A+(B/67108864|0)|0)+(re>>>26)|0)>>>26,A&=67108863}o.words[b]=k,f=A,A=h}return 0!==f?o.words[b]=f:o.length--,o.strip()}(this,n,o):q(this,n,o),f},G.prototype.makeRBT=function(n){for(var o=new Array(n),f=c.prototype._countBits(n)-1,h=0;h<n;h++)o[h]=this.revBin(h,f,n);return o},G.prototype.revBin=function(n,o,f){if(0===n||n===f-1)return n;for(var h=0,b=0;b<o;b++)h|=(1&n)<<o-b-1,n>>=1;return h},G.prototype.permute=function(n,o,f,h,b,A){for(var k=0;k<A;k++)h[k]=o[n[k]],b[k]=f[n[k]]},G.prototype.transform=function(n,o,f,h,b,A){this.permute(A,n,o,f,h,b);for(var k=1;k<b;k<<=1)for(var x=k<<1,r=Math.cos(2*Math.PI/x),_=Math.sin(2*Math.PI/x),W=0;W<b;W+=x)for(var I=r,B=_,re=0;re<k;re++){var pe=f[W+re],be=h[W+re],Be=f[W+re+k],_e=h[W+re+k],ye=I*Be-B*_e;_e=I*_e+B*Be,f[W+re]=pe+(Be=ye),h[W+re]=be+_e,f[W+re+k]=pe-Be,h[W+re+k]=be-_e,re!==x&&(ye=r*I-_*B,B=r*B+_*I,I=ye)}},G.prototype.guessLen13b=function(n,o){var f=1|Math.max(o,n),h=1&f,b=0;for(f=f/2|0;f;f>>>=1)b++;return 1<<b+1+h},G.prototype.conjugate=function(n,o,f){if(!(f<=1))for(var h=0;h<f/2;h++){var b=n[h];n[h]=n[f-h-1],n[f-h-1]=b,b=o[h],o[h]=-o[f-h-1],o[f-h-1]=-b}},G.prototype.normalize13b=function(n,o){for(var f=0,h=0;h<o/2;h++){var b=8192*Math.round(n[2*h+1]/o)+Math.round(n[2*h]/o)+f;n[h]=67108863&b,f=b<67108864?0:b/67108864|0}return n},G.prototype.convert13b=function(n,o,f,h){for(var b=0,A=0;A<o;A++)f[2*A]=8191&(b+=0|n[A]),f[2*A+1]=8191&(b>>>=13),b>>>=13;for(A=2*o;A<h;++A)f[A]=0;p(0===b),p(!(-8192&b))},G.prototype.stub=function(n){for(var o=new Array(n),f=0;f<n;f++)o[f]=0;return o},G.prototype.mulp=function(n,o,f){var h=2*this.guessLen13b(n.length,o.length),b=this.makeRBT(h),A=this.stub(h),k=new Array(h),x=new Array(h),r=new Array(h),_=new Array(h),W=new Array(h),I=new Array(h),B=f.words;B.length=h,this.convert13b(n.words,n.length,k,h),this.convert13b(o.words,o.length,_,h),this.transform(k,A,x,r,h,b),this.transform(_,A,W,I,h,b);for(var re=0;re<h;re++){var pe=x[re]*W[re]-r[re]*I[re];r[re]=x[re]*I[re]+r[re]*W[re],x[re]=pe}return this.conjugate(x,r,h),this.transform(x,r,B,A,h,b),this.conjugate(B,A,h),this.normalize13b(B,h),f.negative=n.negative^o.negative,f.length=n.length+o.length,f.strip()},c.prototype.mul=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),this.mulTo(n,o)},c.prototype.mulf=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),q(this,n,o)},c.prototype.imul=function(n){return this.clone().mulTo(n,this)},c.prototype.imuln=function(n){p("number"==typeof n),p(n<67108864);for(var o=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,b=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=b>>>26,this.words[f]=67108863&b}return 0!==o&&(this.words[f]=o,this.length++),this.length=0===n?1:this.length,this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function M(D){for(var n=new Array(D.bitLength()),o=0;o<n.length;o++){var h=o%26;n[o]=(D.words[o/26|0]&1<<h)>>>h}return n}(n);if(0===o.length)return new c(1);for(var f=this,h=0;h<o.length&&0===o[h];h++,f=f.sqr());if(++h<o.length)for(var b=f.sqr();h<o.length;h++,b=b.sqr())0!==o[h]&&(f=f.mul(b));return f},c.prototype.iushln=function(n){p("number"==typeof n&&n>=0);var b,o=n%26,f=(n-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(b=0;b<this.length;b++){var k=this.words[b]&h;this.words[b]=(0|this.words[b])-k<<o|A,A=k>>>26-o}A&&(this.words[b]=A,this.length++)}if(0!==f){for(b=this.length-1;b>=0;b--)this.words[b+f]=this.words[b];for(b=0;b<f;b++)this.words[b]=0;this.length+=f}return this.strip()},c.prototype.ishln=function(n){return p(0===this.negative),this.iushln(n)},c.prototype.iushrn=function(n,o,f){var h;p("number"==typeof n&&n>=0),h=o?(o-o%26)/26:0;var b=n%26,A=Math.min((n-b)/26,this.length),k=67108863^67108863>>>b<<b,x=f;if(h-=A,h=Math.max(0,h),x){for(var r=0;r<A;r++)x.words[r]=this.words[r];x.length=A}if(0!==A)if(this.length>A)for(this.length-=A,r=0;r<this.length;r++)this.words[r]=this.words[r+A];else this.words[0]=0,this.length=1;var _=0;for(r=this.length-1;r>=0&&(0!==_||r>=h);r--){var W=0|this.words[r];this.words[r]=_<<26-b|W>>>b,_=W&k}return x&&0!==_&&(x.words[x.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,f){return p(0===this.negative),this.iushrn(n,o,f)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return!(this.length<=f||!(this.words[f]&1<<o))},c.prototype.imaskn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==o&&f++,this.length=Math.min(f,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(n){return this.clone().imaskn(n)},c.prototype.iaddn=function(n){return p("number"==typeof n),p(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},c.prototype._iaddn=function(n){this.words[0]+=n;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(n){return this.clone().iaddn(n)},c.prototype.subn=function(n){return this.clone().isubn(n)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(n,o,f){var b;this._expand(n.length+f);var A,k=0;for(b=0;b<n.length;b++){A=(0|this.words[b+f])+k;var x=(0|n.words[b])*o;k=((A-=67108863&x)>>26)-(x/67108864|0),this.words[b+f]=67108863&A}for(;b<this.length-f;b++)k=(A=(0|this.words[b+f])+k)>>26,this.words[b+f]=67108863&A;if(0===k)return this.strip();for(p(-1===k),k=0,b=0;b<this.length;b++)k=(A=-(0|this.words[b])+k)>>26,this.words[b]=67108863&A;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var f,h=this.clone(),b=n,A=0|b.words[b.length-1];0!=(f=26-this._countBits(A))&&(b=b.ushln(f),h.iushln(f),A=0|b.words[b.length-1]);var r,x=h.length-b.length;if("mod"!==o){(r=new c(null)).length=x+1,r.words=new Array(r.length);for(var _=0;_<r.length;_++)r.words[_]=0}var W=h.clone()._ishlnsubmul(b,1,x);0===W.negative&&(h=W,r&&(r.words[x]=1));for(var I=x-1;I>=0;I--){var B=67108864*(0|h.words[b.length+I])+(0|h.words[b.length+I-1]);for(B=Math.min(B/A|0,67108863),h._ishlnsubmul(b,B,I);0!==h.negative;)B--,h.negative=0,h._ishlnsubmul(b,1,I),h.isZero()||(h.negative^=1);r&&(r.words[I]=B)}return r&&r.strip(),h.strip(),"div"!==o&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},c.prototype.divmod=function(n,o,f){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.iadd(n)),{div:h,mod:b}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!==(this.negative&n.negative)?(A=this.neg().divmod(n.neg(),o),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.isub(n)),{div:A.div,mod:b}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var h,b,A},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var f=0!==o.div.negative?o.mod.isub(n):o.mod,h=n.ushrn(1),b=n.andln(1),A=f.cmp(h);return A<0||1===b&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(o*f+(0|this.words[h]))%n;return f},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*o;this.words[f]=h/n|0,o=h%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=new c(0),k=new c(1),x=0;o.isEven()&&f.isEven();)o.iushrn(1),f.iushrn(1),++x;for(var r=f.clone(),_=o.clone();!o.isZero();){for(var W=0,I=1;0===(o.words[0]&I)&&W<26;++W,I<<=1);if(W>0)for(o.iushrn(W);W-- >0;)(h.isOdd()||b.isOdd())&&(h.iadd(r),b.isub(_)),h.iushrn(1),b.iushrn(1);for(var B=0,re=1;0===(f.words[0]&re)&&B<26;++B,re<<=1);if(B>0)for(f.iushrn(B);B-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(r),k.isub(_)),A.iushrn(1),k.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(A),b.isub(k)):(f.isub(o),A.isub(h),k.isub(b))}return{a:A,b:k,gcd:f.iushln(x)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var W,o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=f.clone();o.cmpn(1)>0&&f.cmpn(1)>0;){for(var k=0,x=1;0===(o.words[0]&x)&&k<26;++k,x<<=1);if(k>0)for(o.iushrn(k);k-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var r=0,_=1;0===(f.words[0]&_)&&r<26;++r,_<<=1);if(r>0)for(f.iushrn(r);r-- >0;)b.isOdd()&&b.iadd(A),b.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(b)):(f.isub(o),b.isub(h))}return(W=0===o.cmpn(1)?h:b).cmpn(0)<0&&W.iadd(n),W},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),f=n.clone();o.negative=0,f.negative=0;for(var h=0;o.isEven()&&f.isEven();h++)o.iushrn(1),f.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;f.isEven();)f.iushrn(1);var b=o.cmp(f);if(b<0){var A=o;o=f,f=A}else if(0===b||0===f.cmpn(1))break;o.isub(f)}return f.iushln(h)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,f=(n-o)/26,h=1<<o;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var b=h,A=f;0!==b&&A<this.length;A++){var k=0|this.words[A];b=(k+=b)>>>26,this.words[A]=k&=67108863}return 0!==b&&(this.words[A]=b,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var f,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)f=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},c.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var o=this.ucmp(n);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var o=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],b=0|n.words[f];if(h!==b){h<b?o=-1:h>b&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new me(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var Q={k256:null,p224:null,p192:null,p25519:null};function $(D,n){this.name=D,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function me(D){if("string"==typeof D){var n=c._prime(D);this.m=n.p,this.prime=n}else p(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function Te(D){me.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}$.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},$.prototype.ireduce=function(n){var f,o=n;do{this.split(o,this.tmp),f=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},$.prototype.split=function(n,o){n.iushrn(this.n,0,o)},$.prototype.imulK=function(n){return n.imul(this.k)},S(ae,$),ae.prototype.split=function(n,o){for(var f=4194303,h=Math.min(n.length,9),b=0;b<h;b++)o.words[b]=n.words[b];if(o.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var A=n.words[9];for(o.words[o.length++]=A&f,b=10;b<n.length;b++){var k=0|n.words[b];n.words[b-10]=(k&f)<<4|A>>>22,A=k}n.words[b-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(o+=977*h),o=64*h+(o/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ue,$),S(oe,$),S(he,$),he.prototype.imulK=function(n){for(var o=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+o,b=67108863&h;h>>>=26,n.words[f]=b,o=h}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(Q[n])return Q[n];var o;if("k256"===n)o=new ae;else if("p224"===n)o=new ue;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new he}return Q[n]=o,o},me.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},me.prototype._verify2=function(n,o){p(0===(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},me.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},me.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},me.prototype.add=function(n,o){this._verify2(n,o);var f=n.add(o);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},me.prototype.iadd=function(n,o){this._verify2(n,o);var f=n.iadd(o);return f.cmp(this.m)>=0&&f.isub(this.m),f},me.prototype.sub=function(n,o){this._verify2(n,o);var f=n.sub(o);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},me.prototype.isub=function(n,o){this._verify2(n,o);var f=n.isub(o);return f.cmpn(0)<0&&f.iadd(this.m),f},me.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},me.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},me.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},me.prototype.isqr=function(n){return this.imul(n,n.clone())},me.prototype.sqr=function(n){return this.mul(n,n)},me.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var f=this.m.add(new c(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),b=0;!h.isZero()&&0===h.andln(1);)b++,h.iushrn(1);p(!h.isZero());var A=new c(1).toRed(this),k=A.redNeg(),x=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,x).cmp(k);)r.redIAdd(k);for(var _=this.pow(r,h),W=this.pow(n,h.addn(1).iushrn(1)),I=this.pow(n,h),B=b;0!==I.cmp(A);){for(var re=I,pe=0;0!==re.cmp(A);pe++)re=re.redSqr();p(pe<B);var be=this.pow(_,new c(1).iushln(B-pe-1));W=W.redMul(be),_=be.redSqr(),I=I.redMul(_),B=pe}return W},me.prototype.invm=function(n){var o=n._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},me.prototype.pow=function(n,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return n.clone();var h=new Array(16);h[0]=new c(1).toRed(this),h[1]=n;for(var b=2;b<h.length;b++)h[b]=this.mul(h[b-1],n);var A=h[0],k=0,x=0,r=o.bitLength()%26;for(0===r&&(r=26),b=o.length-1;b>=0;b--){for(var _=o.words[b],W=r-1;W>=0;W--){var I=_>>W&1;A!==h[0]&&(A=this.sqr(A)),0!==I||0!==k?(k<<=1,k|=I,(4===++x||0===b&&0===W)&&(A=this.mul(A,h[k]),x=0,k=0)):x=0}r=26}return A},me.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},me.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new Te(n)},S(Te,me),Te.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},Te.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},Te.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var f=n.mul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ae=l.nmd(Ae),this)},38288:(Ae,ee,l)=>{"use strict";l.d(ee,{Um:()=>M,XK:()=>j});var i=l(10467),t=l(72200),p=l(2615),S=l(73664),c=l(17705),e=l(68314);function T(U,K){if(1&U&&S.nrm(0,"canvas",1),2&U){const q=S.XpG();S.HbH(q.styleClass),S.Y8G("qrCode",q.value)("qrCodeErrorCorrectionLevel",q.errorCorrectionLevel)("qrCodeCenterImageSrc",q.centerImageSrc)("qrCodeCenterImageWidth",q.centerImageSize)("qrCodeCenterImageHeight",q.centerImageSize)("qrCodeMargin",q.margin)("qrScale",q.scale)("qrCodeMaskPattern",q.maskPattern)("width",q.size)("height",q.size)("ngStyle",q.style)("darkColor",q.darkColor)("lightColor",q.lightColor)}}const g=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/,d=/^[0-9.]+$/;let w=(()=>{var U;class K{constructor(G){this.viewContainerRef=G,this.errorCorrectionLevel=K.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var G=this;return(0,i.A)(function*(){if(!G.value)return;G.version&&G.version>40?(console.warn("[qrCode] max version is 40, clamping"),G.version=40):G.version&&G.version<1?(console.warn("[qrCode] min version is 1, clamping"),G.version=1):void 0!==G.version&&isNaN(G.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),G.version=void 0);const Q=G.viewContainerRef.element.nativeElement;if(!Q)return;const $=Q.getContext("2d");$&&$.clearRect(0,0,$.canvas.width,$.canvas.height);const ae=G.errorCorrectionLevel??K.DEFAULT_ERROR_CORRECTION_LEVEL,ue=G.darkColor&&g.test(G.darkColor)?G.darkColor:void 0,oe=G.lightColor&&g.test(G.lightColor)?G.lightColor:void 0;(0,c.naY)()&&(!ue&&G.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!oe&&G.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield e.toCanvas(Q,G.value,{version:G.version,errorCorrectionLevel:ae,width:m(G.width),margin:G.margin,scale:G.qrScale,maskPattern:G.qrCodeMaskPattern,color:{dark:ue,light:oe}});const he=G.centerImageSrc,me=P(G.centerImageWidth,K.DEFAULT_CENTER_IMAGE_SIZE),Te=P(G.centerImageHeight,K.DEFAULT_CENTER_IMAGE_SIZE);if(he&&$){G.centerImage||(G.centerImage=new Image(me,Te));const D=G.centerImage;he!==G.centerImage.src&&(D.src=he),me!==G.centerImage.width&&(D.width=me),Te!==G.centerImage.height&&(D.height=Te);const n=()=>{$.drawImage(D,Q.width/2-me/2,Q.height/2-Te/2,me,Te)};D.onload=n,D.complete&&n()}})()}static#e=U=()=>(this.DEFAULT_ERROR_CORRECTION_LEVEL="M",this.DEFAULT_CENTER_IMAGE_SIZE=40,this.\u0275fac=function(Q){return new(Q||K)(S.rXU(S.c1b))},this.\u0275dir=S.FsC({type:K,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"],qrScale:"qrScale",qrCodeMaskPattern:"qrCodeMaskPattern"},features:[S.OA$]}))}return U(),K})();function m(U){if(void 0!==U&&""!==U){if("string"==typeof U){if(!d.test(U))throw new Error(`'${U}' is not a valid number`);return parseFloat(U)}return U}}function P(U,K){return void 0===U||""===U?K:m(U)}let M=(()=>{var U;class K{static#e=U=()=>(this.\u0275fac=function(Q){return new(Q||K)},this.\u0275cmp=S.VBU({type:K,selectors:[["qr-code"]],inputs:{value:"value",size:"size",style:"style",styleClass:"styleClass",darkColor:"darkColor",lightColor:"lightColor",errorCorrectionLevel:"errorCorrectionLevel",centerImageSrc:"centerImageSrc",centerImageSize:"centerImageSize",margin:"margin",scale:"scale",maskPattern:"maskPattern"},decls:1,vars:1,consts:[[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","qrScale","qrCodeMaskPattern","width","height","class","ngStyle","darkColor","lightColor"],[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","qrScale","qrCodeMaskPattern","width","height","ngStyle","darkColor","lightColor"]],template:function(Q,$){1&Q&&S.nVh(0,T,1,15,"canvas",0),2&Q&&S.vxM($.value?0:-1)},dependencies:[w,t.MD,t.B3],encapsulation:2}))}return U(),K})(),j=(()=>{var U;class K{static#e=U=()=>(this.\u0275fac=function(Q){return new(Q||K)},this.\u0275mod=S.$C({type:K}),this.\u0275inj=p.G2t({imports:[t.MD,M]}))}return U(),K})()},39210:Ae=>{function ee(l,i){if(!l)throw new Error(i||"Assertion failed")}Ae.exports=ee,ee.equal=function(i,t,p){if(i!=t)throw new Error(p||"Assertion failed: "+i+" != "+t)}},39336:(Ae,ee,l)=>{"use strict";l.d(ee,{X:()=>i});class i{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(p,S,c,e,T){this._defaultMatcher=p,this.ngControl=S,this._parentFormGroup=c,this._parentForm=e,this._stateChanges=T}updateErrorState(){const p=this.errorState,S=this._parentFormGroup||this._parentForm,c=this.matcher||this._defaultMatcher,e=this.ngControl?this.ngControl.control:null,T=c?.isErrorState(e,S)??!1;T!==p&&(this.errorState=T,this._stateChanges.next())}}},39687:(Ae,ee,l)=>{"use strict";l.d(ee,{q:()=>p});var i=l(86129);class t{constructor(c,e=t.now){this.schedulerActionCtor=c,this.now=e}schedule(c,e=0,T){return new this.schedulerActionCtor(this,c).schedule(T,e)}}t.now=i.U.now;class p extends t{constructor(c,e=t.now){super(c,e),this.actions=[],this._active=!1}flush(c){const{actions:e}=this;if(this._active)return void e.push(c);let T;this._active=!0;do{if(T=c.execute(c.state,c.delay))break}while(c=e.shift());if(this._active=!1,T){for(;c=e.shift();)c.unsubscribe();throw T}}}},39799:(Ae,ee,l)=>{var i=l(3247),t=l(71549),p=l(71993),S=l(27054).Buffer,c={"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 e(T){i.call(this);var w,g=T.mode.toLowerCase(),d=c[g];w=T.decrypt?"decrypt":"encrypt";var m=T.key;S.isBuffer(m)||(m=S.from(m)),("des-ede"===g||"des-ede-cbc"===g)&&(m=S.concat([m,m.slice(0,8)]));var P=T.iv;S.isBuffer(P)||(P=S.from(P)),this._des=d.create({key:m,iv:P,type:w})}c.des=c["des-cbc"],c.des3=c["des-ede3-cbc"],Ae.exports=e,p(e,i),e.prototype._update=function(T){return S.from(this._des.update(T))},e.prototype._final=function(){return S.from(this._des.final())}},39842:(Ae,ee,l)=>{"use strict";l.d(ee,{O:()=>c});var i=l(2615),t=l(73664),p=l(60177);let S;try{S=typeof Intl<"u"&&Intl.v8BreakIterator}catch{S=!1}let c=(()=>{class e{_platformId=(0,i.WQX)(t.Agw);isBrowser=this._platformId?(0,p.UE)(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!S)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(d){return new(d||e)};static \u0275prov=i.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},39901:(Ae,ee,l)=>{"use strict";l.d(ee,{U:()=>p});var i=l(39974),t=l(54360);function p(S){return(0,i.N)((c,e)=>{let T=!1;c.subscribe((0,t._)(e,g=>{T=!0,e.next(g)},()=>{T||e.next(S),e.complete()}))})}},39974:(Ae,ee,l)=>{"use strict";l.d(ee,{N:()=>p,S:()=>t});var i=l(98071);function t(S){return(0,i.T)(S?.lift)}function p(S){return c=>{if(t(c))return c.lift(function(e){try{return S(e,this)}catch(T){this.error(T)}});throw new TypeError("Unable to lift unknown Observable type")}}},40146:(Ae,ee,l)=>{"use strict";l.d(ee,{S:()=>T});var i=l(2615),t=l(73664),p=l(26881),S=l(70483),c=l(22466),e=l(23029);let T=(()=>{class g{static \u0275fac=function(m){return new(m||g)};static \u0275mod=t.$C({type:g});static \u0275inj=i.G2t({imports:[p.p,c.y,S.O,e.wT]})}return g})()},40455:(Ae,ee,l)=>{"use strict";l.d(ee,{YZ:()=>me,oV:()=>x});var i=l(56977),t=l(14085),p=l(67847),S=l(10438),c=l(67336),e=l(2615),T=l(73664),g=l(17705),d=l(72200),w=l(39842),m=l(83300),P=l(18617),M=l(76838),j=l(61577),U=l(49338),K=l(5718),q=l(76939),G=l(21413),Q=l(31804);const $=["tooltip"],oe=new e.nKC("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{const _=(0,e.WQX)(e.zZn);return()=>(0,U.RH)(_,{scrollThrottle:20})}}),me={provide:oe,deps:[],useFactory:function he(_){const W=(0,e.WQX)(e.zZn);return()=>(0,U.RH)(W,{scrollThrottle:20})}},D=new e.nKC("mat-tooltip-default-options",{providedIn:"root",factory:function Te(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),o="tooltip-panel",f=(0,m.B)({passive:!0});let x=(()=>{class _{_elementRef=(0,e.WQX)(T.aKT);_ngZone=(0,e.WQX)(T.SKi);_platform=(0,e.WQX)(w.O);_ariaDescriber=(0,e.WQX)(P.vr);_focusMonitor=(0,e.WQX)(M.FN);_dir=(0,e.WQX)(j.dS);_injector=(0,e.WQX)(e.zZn);_viewContainerRef=(0,e.WQX)(T.c1b);_animationsDisabled=(0,Q.Rc)();_defaultOptions=(0,e.WQX)(D,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=r;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(I){I!==this._position&&(this._position=I,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(I){this._positionAtOrigin=(0,t.he)(I),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(I){const B=(0,t.he)(I);this._disabled!==B&&(this._disabled=B,B?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(I){this._showDelay=(0,p.OE)(I)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(I){this._hideDelay=(0,p.OE)(I),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(I){const B=this._message;this._message=null!=I?String(I).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(B)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(I){this._tooltipClass=I,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new G.B;_isDestroyed=!1;constructor(){const I=this._defaultOptions;I&&(this._showDelay=I.showDelay,this._hideDelay=I.hideDelay,I.position&&(this.position=I.position),I.positionAtOrigin&&(this.positionAtOrigin=I.positionAtOrigin),I.touchGestures&&(this.touchGestures=I.touchGestures),I.tooltipClass&&(this.tooltipClass=I.tooltipClass)),this._viewportMargin=8}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,i.Q)(this._destroyed)).subscribe(I=>{I?"keyboard"===I&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const I=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([B,re])=>{I.removeEventListener(B,re,f)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(I,this.message,"tooltip"),this._focusMonitor.stopMonitoring(I)}show(I=this.showDelay,B){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const re=this._createOverlay(B);this._detach(),this._portal=this._portal||new q.A8(this._tooltipComponent,this._viewContainerRef);const pe=this._tooltipInstance=re.attach(this._portal).instance;pe._triggerElement=this._elementRef.nativeElement,pe._mouseLeaveHideDelay=this._hideDelay,pe.afterHidden().pipe((0,i.Q)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),pe.show(I)}hide(I=this.hideDelay){const B=this._tooltipInstance;B&&(B.isVisible()?B.hide(I):(B._cancelPendingAnimations(),this._detach()))}toggle(I){this._isTooltipVisible()?this.hide():this.show(void 0,I)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(I){if(this._overlayRef){const be=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!I)&&be._origin instanceof T.aKT)return this._overlayRef;this._detach()}const B=this._injector.get(K.R).getAncestorScrollContainers(this._elementRef),re=`${this._cssClassPrefix}-${o}`,pe=(0,U.$M)(this._injector,this.positionAtOrigin&&I||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(B);return pe.positionChanges.pipe((0,i.Q)(this._destroyed)).subscribe(be=>{this._updateCurrentPositionClass(be.connectionPair),this._tooltipInstance&&be.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=(0,U.Y$)(this._injector,{direction:this._dir,positionStrategy:pe,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,re]:re,scrollStrategy:this._injector.get(oe)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,i.Q)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,i.Q)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,i.Q)(this._destroyed)).subscribe(be=>{this._isTooltipVisible()&&be.keyCode===S._f&&!(0,c.rp)(be)&&(be.preventDefault(),be.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe((0,i.Q)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(I){const B=I.getConfig().positionStrategy,re=this._getOrigin(),pe=this._getOverlayPosition();B.withPositions([this._addOffset({...re.main,...pe.main}),this._addOffset({...re.fallback,...pe.fallback})])}_addOffset(I){const re=!this._dir||"ltr"==this._dir.value;return"top"===I.originY?I.offsetY=-8:"bottom"===I.originY?I.offsetY=8:"start"===I.originX?I.offsetX=re?-8:8:"end"===I.originX&&(I.offsetX=re?8:-8),I}_getOrigin(){const I=!this._dir||"ltr"==this._dir.value,B=this.position;let re;"above"==B||"below"==B?re={originX:"center",originY:"above"==B?"top":"bottom"}:"before"==B||"left"==B&&I||"right"==B&&!I?re={originX:"start",originY:"center"}:("after"==B||"right"==B&&I||"left"==B&&!I)&&(re={originX:"end",originY:"center"});const{x:pe,y:be}=this._invertPosition(re.originX,re.originY);return{main:re,fallback:{originX:pe,originY:be}}}_getOverlayPosition(){const I=!this._dir||"ltr"==this._dir.value,B=this.position;let re;"above"==B?re={overlayX:"center",overlayY:"bottom"}:"below"==B?re={overlayX:"center",overlayY:"top"}:"before"==B||"left"==B&&I||"right"==B&&!I?re={overlayX:"end",overlayY:"center"}:("after"==B||"right"==B&&I||"left"==B&&!I)&&(re={overlayX:"start",overlayY:"center"});const{x:pe,y:be}=this._invertPosition(re.overlayX,re.overlayY);return{main:re,fallback:{overlayX:pe,overlayY:be}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),(0,T.mal)(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(I){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=I,this._tooltipInstance._markForCheck())}_invertPosition(I,B){return"above"===this.position||"below"===this.position?"top"===B?B="bottom":"bottom"===B&&(B="top"):"end"===I?I="start":"start"===I&&(I="end"),{x:I,y:B}}_updateCurrentPositionClass(I){const{overlayY:B,originX:re,originY:pe}=I;let be;if(be="center"===B?this._dir&&"rtl"===this._dir.value?"end"===re?"left":"right":"start"===re?"left":"right":"bottom"===B&&"top"===pe?"above":"below",be!==this._currentPosition){const Be=this._overlayRef;if(Be){const _e=`${this._cssClassPrefix}-${o}-`;Be.removePanelClass(_e+this._currentPosition),Be.addPanelClass(_e+be)}this._currentPosition=be}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",I=>{let B;this._setupPointerExitEventsIfNeeded(),void 0!==I.x&&void 0!==I.y&&(B=I),this.show(void 0,B)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",I=>{const B=I.targetTouches?.[0],re=B?{x:B.clientX,y:B.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,re)},this._defaultOptions?.touchLongPressShowDelay??500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const I=[];if(this._platformSupportsMouseEvents())I.push(["mouseleave",B=>{const re=B.relatedTarget;(!re||!this._overlayRef?.overlayElement.contains(re))&&this.hide()}],["wheel",B=>this._wheelListener(B)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const B=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};I.push(["touchend",B],["touchcancel",B])}this._addListeners(I),this._passiveListeners.push(...I)}_addListeners(I){I.forEach(([B,re])=>{this._elementRef.nativeElement.addEventListener(B,re,f)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(I){if(this._isTooltipVisible()){const B=this._injector.get(e.qQL).elementFromPoint(I.clientX,I.clientY),re=this._elementRef.nativeElement;B!==re&&!re.contains(B)&&this.hide()}}_disableNativeGesturesIfNecessary(){const I=this.touchGestures;if("off"!==I){const B=this._elementRef.nativeElement,re=B.style;("on"===I||"INPUT"!==B.nodeName&&"TEXTAREA"!==B.nodeName)&&(re.userSelect=re.msUserSelect=re.webkitUserSelect=re.MozUserSelect="none"),("on"===I||!B.draggable)&&(re.webkitUserDrag="none"),re.touchAction="none",re.webkitTapHighlightColor="transparent"}}_syncAriaDescription(I){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,I,"tooltip"),this._isDestroyed||(0,T.mal)({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(B){return new(B||_)};static \u0275dir=T.FsC({type:_,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(B,re){2&B&&T.AVh("mat-mdc-tooltip-disabled",re.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return _})(),r=(()=>{class _{_changeDetectorRef=(0,e.WQX)(g.gRc);_elementRef=(0,e.WQX)(T.aKT);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=(0,Q.Rc)();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new G.B;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(I){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},I)}hide(I){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},I)}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:I}){(!I||!this._triggerElement.contains(I))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const I=this._elementRef.nativeElement.getBoundingClientRect();return I.height>24&&I.width>=200}_handleAnimationEnd({animationName:I}){(I===this._showAnimation||I===this._hideAnimation)&&this._finalizeAnimation(I===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(I){I?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(I){const B=this._tooltip.nativeElement,re=this._showAnimation,pe=this._hideAnimation;if(B.classList.remove(I?pe:re),B.classList.add(I?re:pe),this._isVisible!==I&&(this._isVisible=I,this._changeDetectorRef.markForCheck()),I&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const be=getComputedStyle(B);("0s"===be.getPropertyValue("animation-duration")||"none"===be.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}I&&this._onShow(),this._animationsDisabled&&(B.classList.add("_mat-animation-noopable"),this._finalizeAnimation(I))}static \u0275fac=function(B){return new(B||_)};static \u0275cmp=T.VBU({type:_,selectors:[["mat-tooltip-component"]],viewQuery:function(B,re){if(1&B&&T.GBs($,7),2&B){let pe;T.mGM(pe=T.lsd())&&(re._tooltip=pe.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(B,re){1&B&&T.bIt("mouseleave",function(be){return re._handleMouseLeave(be)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(B,re){if(1&B){const pe=T.RV6();T.j41(0,"div",1,0),T.bIt("animationend",function(Be){return e.eBV(pe),e.Njj(re._handleAnimationEnd(Be))}),T.j41(2,"div",2),T.EFF(3),T.k0s()()}2&B&&(T.AVh("mdc-tooltip--multiline",re._isMultiline),T.Y8G("ngClass",re.tooltipClass),T.R7$(3),T.JRh(re.message))},dependencies:[d.YU],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.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-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-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}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.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}\n'],encapsulation:2,changeDetection:0})}return _})()},40484:(Ae,ee,l)=>{"use strict";var i=l(88723),t=l(3136),p=t.assert;function S(d,w){if(d instanceof S)return d;this._importDER(d,w)||(p(d.r&&d.s,"Signature without r or s"),this.r=new i(d.r,16),this.s=new i(d.s,16),this.recoveryParam=void 0===d.recoveryParam?null:d.recoveryParam)}function c(){this.place=0}function e(d,w){var m=d[w.place++];if(!(128&m))return m;var P=15&m;if(0===P||P>4||0===d[w.place])return!1;for(var M=0,j=0,U=w.place;j<P;j++,U++)M<<=8,M|=d[U],M>>>=0;return!(M<=127)&&(w.place=U,M)}function T(d){for(var w=0,m=d.length-1;!d[w]&&!(128&d[w+1])&&w<m;)w++;return 0===w?d:d.slice(w)}function g(d,w){if(w<128)d.push(w);else{var m=1+(Math.log(w)/Math.LN2>>>3);for(d.push(128|m);--m;)d.push(w>>>(m<<3)&255);d.push(w)}}Ae.exports=S,S.prototype._importDER=function(w,m){w=t.toArray(w,m);var P=new c;if(48!==w[P.place++])return!1;var M=e(w,P);if(!1===M||M+P.place!==w.length||2!==w[P.place++])return!1;var j=e(w,P);if(!1===j||128&w[P.place])return!1;var U=w.slice(P.place,j+P.place);if(P.place+=j,2!==w[P.place++])return!1;var K=e(w,P);if(!1===K||w.length!==K+P.place||128&w[P.place])return!1;var q=w.slice(P.place,K+P.place);if(0===U[0]){if(!(128&U[1]))return!1;U=U.slice(1)}if(0===q[0]){if(!(128&q[1]))return!1;q=q.slice(1)}return this.r=new i(U),this.s=new i(q),this.recoveryParam=null,!0},S.prototype.toDER=function(w){var m=this.r.toArray(),P=this.s.toArray();for(128&m[0]&&(m=[0].concat(m)),128&P[0]&&(P=[0].concat(P)),m=T(m),P=T(P);!(P[0]||128&P[1]);)P=P.slice(1);var M=[2];g(M,m.length),(M=M.concat(m)).push(2),g(M,P.length);var j=M.concat(P),U=[48];return g(U,j.length),U=U.concat(j),t.encode(U,w)}},40941:(Ae,ee,l)=>{"use strict";l.d(ee,{Q:()=>S});var i=l(45225),t=l(39974),p=l(54360);function S(c,e=0){return(0,t.N)((T,g)=>{T.subscribe((0,p._)(g,d=>(0,i.N)(g,c,()=>g.next(d),e),()=>(0,i.N)(g,c,()=>g.complete(),e),d=>(0,i.N)(g,c,()=>g.error(d),e)))})}},41026:(Ae,ee,l)=>{"use strict";l.d(ee,{$:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},41090:(Ae,ee,l)=>{"use strict";var i=l(27054).Buffer,t=l(56471),p=l(573),S=ArrayBuffer.isView||function(d){try{return p(d),!0}catch{return!1}},c=typeof Uint8Array<"u",e=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",T=e&&(i.prototype instanceof Uint8Array||i.TYPED_ARRAY_SUPPORT);Ae.exports=function(d,w){if(i.isBuffer(d))return d.constructor&&!("isBuffer"in d)?i.from(d):d;if("string"==typeof d)return i.from(d,w);if(e&&S(d)){if(0===d.byteLength)return i.alloc(0);if(T){var m=i.from(d.buffer,d.byteOffset,d.byteLength);if(m.byteLength===d.byteLength)return m}var P=d instanceof Uint8Array?d:new Uint8Array(d.buffer,d.byteOffset,d.byteLength),M=i.from(P);if(M.length===d.byteLength)return M}if(c&&d instanceof Uint8Array)return i.from(d);var j=t(d);if(j)for(var U=0;U<d.length;U+=1){var K=d[U];if("number"!=typeof K||K<0||K>255||~~K!==K)throw new RangeError("Array items must be numbers in the range 0-255.")}if(j||i.isBuffer(d)&&d.constructor&&"function"==typeof d.constructor.isBuffer&&d.constructor.isBuffer(d))return i.from(d);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},41876:(Ae,ee)=>{"use strict";var i=[255,255,26,27,28,29,30,31,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255];ee.encode=function(p){Buffer.isBuffer(p)||(p=new Buffer(p));for(var S=0,c=0,e=0,T=0,g=new Buffer(8*function t(p){var S=Math.floor(p.length/5);return p.length%5==0?S:S+1}(p));S<p.length;){var d=p[S];e>3?(T=(T=d&255>>e)<<(e=(e+5)%8)|(S+1<p.length?p[S+1]:0)>>8-e,S++):(T=d>>8-(e+5)&31,0==(e=(e+5)%8)&&S++),g[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(T),c++}for(S=c;S<g.length;S++)g[S]=61;return g},ee.decode=function(p){var e,S=0,c=0,T=0;Buffer.isBuffer(p)||(p=new Buffer(p));for(var g=new Buffer(Math.ceil(5*p.length/8)),d=0;d<p.length&&61!==p[d];d++){var w=p[d]-48;if(!(w<i.length))throw new Error("Invalid input - it is not base32 encoded string");c=i[w],S<=3?0==(S=(S+5)%8)?(g[T]=e|=c,T++,e=0):e|=255&c<<8-S:(g[T]=e|=255&c>>>(S=(S+5)%8),T++,e=255&c<<8-S)}return g.slice(0,T)}},42709:(Ae,ee,l)=>{"use strict";var i=l(71993),t=l(32148),p=l(70463),S=l(27054).Buffer,c=new Array(64);function e(){this.init(),this._w=c,p.call(this,64,56)}i(e,t),e.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},e.prototype._hash=function(){var T=S.allocUnsafe(28);return T.writeInt32BE(this._a,0),T.writeInt32BE(this._b,4),T.writeInt32BE(this._c,8),T.writeInt32BE(this._d,12),T.writeInt32BE(this._e,16),T.writeInt32BE(this._f,20),T.writeInt32BE(this._g,24),T},Ae.exports=e},43150:(Ae,ee,l)=>{"use strict";var i=l(27054).Buffer,t=l(56432),p=l(14105),S=l(90518).ec,c=l(917),e=l(65667),T=l(64589);function M(G,Q,$,ae){if((G=i.from(G.toArray())).length<Q.byteLength()){var ue=i.alloc(Q.byteLength()-G.length);G=i.concat([ue,G])}var oe=$.length,he=function U(G,Q){G=(G=j(G,Q)).mod(Q);var $=i.from(G.toArray());if($.length<Q.byteLength()){var ae=i.alloc(Q.byteLength()-$.length);$=i.concat([ae,$])}return $}($,Q),me=i.alloc(oe);me.fill(1);var Te=i.alloc(oe);return Te=t(ae,Te).update(me).update(i.from([0])).update(G).update(he).digest(),me=t(ae,Te).update(me).digest(),{k:Te=t(ae,Te).update(me).update(i.from([1])).update(G).update(he).digest(),v:me=t(ae,Te).update(me).digest()}}function j(G,Q){var $=new c(G),ae=(G.length<<3)-Q.bitLength();return ae>0&&$.ishrn(ae),$}function K(G,Q,$){var ae,ue;do{for(ae=i.alloc(0);8*ae.length<G.bitLength();)Q.v=t($,Q.k).update(Q.v).digest(),ae=i.concat([ae,Q.v]);ue=j(ae,G),Q.k=t($,Q.k).update(Q.v).update(i.from([0])).digest(),Q.v=t($,Q.k).update(Q.v).digest()}while(-1!==ue.cmp(G));return ue}function q(G,Q,$,ae){return G.toRed(c.mont($)).redPow(Q).fromRed().mod(ae)}Ae.exports=function d(G,Q,$,ae,ue){var oe=e(Q);if(oe.curve){if("ecdsa"!==ae&&"ecdsa/rsa"!==ae)throw new Error("wrong private key type");return function w(G,Q){var $=T[Q.curve.join(".")];if(!$)throw new Error("unknown curve "+Q.curve.join("."));var oe=new S($).keyFromPrivate(Q.privateKey).sign(G);return i.from(oe.toDER())}(G,oe)}if("dsa"===oe.type){if("dsa"!==ae)throw new Error("wrong private key type");return function m(G,Q,$){for(var Te,ae=Q.params.priv_key,ue=Q.params.p,oe=Q.params.q,he=Q.params.g,me=new c(0),D=j(G,oe).mod(oe),n=!1,o=M(ae,oe,G,$);!1===n;)me=q(he,Te=K(oe,o,$),ue,oe),0===(n=Te.invm(oe).imul(D.add(ae.mul(me))).mod(oe)).cmpn(0)&&(n=!1,me=new c(0));return function P(G,Q){G=G.toArray(),Q=Q.toArray(),128&G[0]&&(G=[0].concat(G)),128&Q[0]&&(Q=[0].concat(Q));var ae=[48,G.length+Q.length+4,2,G.length];return ae=ae.concat(G,[2,Q.length],Q),i.from(ae)}(me,n)}(G,oe,$)}if("rsa"!==ae&&"ecdsa/rsa"!==ae)throw new Error("wrong private key type");if(void 0!==Q.padding&&1!==Q.padding)throw new Error("illegal or unsupported padding mode");G=i.concat([ue,G]);for(var he=oe.modulus.byteLength(),me=[0,1];G.length+me.length+1<he;)me.push(255);me.push(0);for(var Te=-1;++Te<G.length;)me.push(G[Te]);return p(me,oe)},Ae.exports.getKey=M,Ae.exports.makeKey=K},43236:(Ae,ee,l)=>{"use strict";l.d(ee,{E:()=>p,b:()=>S});var i=l(96780);const p=new(l(39687).q)(i.R),S=p},43388:(Ae,ee,l)=>{var i=l(350),t=l(60102),p=l(3219);ee.createCipher=ee.Cipher=i.createCipher,ee.createCipheriv=ee.Cipheriv=i.createCipheriv,ee.createDecipher=ee.Decipher=t.createDecipher,ee.createDecipheriv=ee.Decipheriv=t.createDecipheriv,ee.listCiphers=ee.getCiphers=function S(){return Object.keys(p)}},43410:(Ae,ee,l)=>{"use strict";Ae.exports=g;var i=l(30464).F,t=i.ERR_METHOD_NOT_IMPLEMENTED,p=i.ERR_MULTIPLE_CALLBACK,S=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,c=i.ERR_TRANSFORM_WITH_LENGTH_0,e=l(1030);function T(m,P){var M=this._transformState;M.transforming=!1;var j=M.writecb;if(null===j)return this.emit("error",new p);M.writechunk=null,M.writecb=null,null!=P&&this.push(P),j(m);var U=this._readableState;U.reading=!1,(U.needReadable||U.length<U.highWaterMark)&&this._read(U.highWaterMark)}function g(m){if(!(this instanceof g))return new g(m);e.call(this,m),this._transformState={afterTransform:T.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,m&&("function"==typeof m.transform&&(this._transform=m.transform),"function"==typeof m.flush&&(this._flush=m.flush)),this.on("prefinish",d)}function d(){var m=this;"function"!=typeof this._flush||this._readableState.destroyed?w(this,null,null):this._flush(function(P,M){w(m,P,M)})}function w(m,P,M){if(P)return m.emit("error",P);if(null!=M&&m.push(M),m._writableState.length)throw new c;if(m._transformState.transforming)throw new S;return m.push(null)}l(71993)(g,e),g.prototype.push=function(m,P){return this._transformState.needTransform=!1,e.prototype.push.call(this,m,P)},g.prototype._transform=function(m,P,M){M(new t("_transform()"))},g.prototype._write=function(m,P,M){var j=this._transformState;if(j.writecb=M,j.writechunk=m,j.writeencoding=P,!j.transforming){var U=this._readableState;(j.needTransform||U.needReadable||U.length<U.highWaterMark)&&this._read(U.highWaterMark)}},g.prototype._read=function(m){var P=this._transformState;null===P.writechunk||P.transforming?P.needTransform=!0:(P.transforming=!0,this._transform(P.writechunk,P.writeencoding,P.afterTransform))},g.prototype._destroy=function(m,P){e.prototype._destroy.call(this,m,function(M){P(M)})}},43694:(Ae,ee,l)=>{"use strict";l.d(ee,{nX:()=>Ta,Pu:()=>gl,Zp:()=>da,nU:()=>di,wU:()=>Dn,c1:()=>Qr,XR:()=>zo,j5:()=>Ai,wF:()=>xi,L6:()=>zt,lW:()=>Yi,mo:()=>Ci,Z:()=>Fn,J2:()=>Uo,J_:()=>js,bw:()=>wn,gx:()=>ni,tD:()=>no,Ix:()=>yl,D$:()=>Ws,n3:()=>Yr,OY:()=>mr,Sd:()=>Qt,bK:()=>hs,gk:()=>Ho,Lg:()=>Xs,wO:()=>Hi,Us:()=>wi,we:()=>ls});var i=l(2615),t=l(57303),p=l(73664),S=l(17705),c=l(59295),e=l(74402),T=l(22806),g=l(7673),d=l(84412),w=l(84572),m=l(9350),P=l(28793),M=l(59030),j=l(71203),U=l(18810),K=l(983),q=l(30017),G=l(21413),Q=l(71985),$=l(18359),ae=l(96354),ue=l(25558),oe=l(96697),he=l(99172),me=l(5964),Te=l(31397),D=l(61594),n=l(70274),o=l(88141),f=l(99437),h=l(31943),b=l(39901),A=l(39974),k=l(54360);function x(we){return we<=0?()=>K.w:(0,A.N)((je,Re)=>{let We=[];je.subscribe((0,k._)(Re,_t=>{We.push(_t),we<We.length&&We.shift()},()=>{for(const _t of We)Re.next(_t);Re.complete()},void 0,()=>{We=null}))})}var r=l(93774),_=l(33669),I=l(70980),B=l(99898),re=l(56977),pe=l(345);const be="primary",Be=Symbol("RouteTitle");class _e{params;constructor(je){this.params=je||{}}has(je){return Object.prototype.hasOwnProperty.call(this.params,je)}get(je){if(this.has(je)){const Re=this.params[je];return Array.isArray(Re)?Re[0]:Re}return null}getAll(je){if(this.has(je)){const Re=this.params[je];return Array.isArray(Re)?Re:[Re]}return[]}get keys(){return Object.keys(this.params)}}function ye(we){return new _e(we)}function Le(we,je,Re){const We=Re.path.split("/");if(We.length>we.length||"full"===Re.pathMatch&&(je.hasChildren()||We.length<we.length))return null;const _t={};for(let Ut=0;Ut<We.length;Ut++){const ri=We[Ut],Di=we[Ut];if(":"===ri[0])_t[ri.substring(1)]=Di;else if(ri!==Di.path)return null}return{consumed:we.slice(0,We.length),posParams:_t}}function ge(we,je){const Re=we?ve(we):void 0,We=je?ve(je):void 0;if(!Re||!We||Re.length!=We.length)return!1;let _t;for(let Ut=0;Ut<Re.length;Ut++)if(_t=Re[Ut],!Oe(we[_t],je[_t]))return!1;return!0}function ve(we){return[...Object.keys(we),...Object.getOwnPropertySymbols(we)]}function Oe(we,je){if(Array.isArray(we)&&Array.isArray(je)){if(we.length!==je.length)return!1;const Re=[...we].sort(),We=[...je].sort();return Re.every((_t,Ut)=>We[Ut]===_t)}return we===je}function Ee(we){return we.length>0?we[we.length-1]:null}function dt(we){return(0,e.A)(we)?we:(0,p.yLl)(we)?(0,T.H)(Promise.resolve(we)):(0,g.of)(we)}const nt={exact:function Pe(we,je,Re){if(!ht(we.segments,je.segments)||!ze(we.segments,je.segments,Re)||we.numberOfChildren!==je.numberOfChildren)return!1;for(const We in je.children)if(!we.children[We]||!Pe(we.children[We],je.children[We],Re))return!1;return!0},subset:ct},Ct={exact:function lt(we,je){return ge(we,je)},subset:function Ht(we,je){return Object.keys(je).length<=Object.keys(we).length&&Object.keys(je).every(Re=>Oe(we[Re],je[Re]))},ignored:()=>!0};function Mt(we,je,Re){return nt[Re.paths](we.root,je.root,Re.matrixParams)&&Ct[Re.queryParams](we.queryParams,je.queryParams)&&!("exact"===Re.fragment&&we.fragment!==je.fragment)}function ct(we,je,Re){return Ce(we,je,je.segments,Re)}function Ce(we,je,Re,We){if(we.segments.length>Re.length){const _t=we.segments.slice(0,Re.length);return!(!ht(_t,Re)||je.hasChildren()||!ze(_t,Re,We))}if(we.segments.length===Re.length){if(!ht(we.segments,Re)||!ze(we.segments,Re,We))return!1;for(const _t in je.children)if(!we.children[_t]||!ct(we.children[_t],je.children[_t],We))return!1;return!0}{const _t=Re.slice(0,we.segments.length),Ut=Re.slice(we.segments.length);return!!(ht(we.segments,_t)&&ze(we.segments,_t,We)&&we.children[be])&&Ce(we.children[be],je,Ut,We)}}function ze(we,je,Re){return je.every((We,_t)=>Ct[Re](we[_t].parameters,We.parameters))}class Z{root;queryParams;fragment;_queryParamMap;constructor(je=new J([],{}),Re={},We=null){this.root=je,this.queryParams=Re,this.fragment=We}get queryParamMap(){return this._queryParamMap??=ye(this.queryParams),this._queryParamMap}toString(){return kt.serialize(this)}}class J{segments;children;parent=null;constructor(je,Re){this.segments=je,this.children=Re,Object.values(Re).forEach(We=>We.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Rt(this)}}class fe{path;parameters;_parameterMap;constructor(je,Re){this.path=je,this.parameters=Re}get parameterMap(){return this._parameterMap??=ye(this.parameters),this._parameterMap}toString(){return Kt(this)}}function ht(we,je){return we.length===je.length&&we.every((Re,We)=>Re.path===je[We].path)}let Qt=(()=>{class we{static \u0275fac=function(We){return new(We||we)};static \u0275prov=i.jDH({token:we,factory:()=>new di,providedIn:"root"})}return we})();class di{parse(je){const Re=new tt(je);return new Z(Re.parseRootSegment(),Re.parseQueryParams(),Re.parseFragment())}serialize(je){const Re=`/${le(je.root,!0)}`,We=function Vt(we){const je=Object.entries(we).map(([Re,We])=>Array.isArray(We)?We.map(_t=>`${ce(Re)}=${ce(_t)}`).join("&"):`${ce(Re)}=${ce(We)}`).filter(Re=>Re);return je.length?`?${je.join("&")}`:""}(je.queryParams);return`${Re}${We}${"string"==typeof je.fragment?`#${function se(we){return encodeURI(we)}(je.fragment)}`:""}`}}const kt=new di;function Rt(we){return we.segments.map(je=>Kt(je)).join("/")}function le(we,je){if(!we.hasChildren())return Rt(we);if(je){const Re=we.children[be]?le(we.children[be],!1):"",We=[];return Object.entries(we.children).forEach(([_t,Ut])=>{_t!==be&&We.push(`${_t}:${le(Ut,!1)}`)}),We.length>0?`${Re}(${We.join("//")})`:Re}{const Re=function li(we,je){let Re=[];return Object.entries(we.children).forEach(([We,_t])=>{We===be&&(Re=Re.concat(je(_t,We)))}),Object.entries(we.children).forEach(([We,_t])=>{We!==be&&(Re=Re.concat(je(_t,We)))}),Re}(we,(We,_t)=>_t===be?[le(we.children[be],!1)]:[`${_t}:${le(We,!1)}`]);return 1===Object.keys(we.children).length&&null!=we.children[be]?`${Rt(we)}/${Re[0]}`:`${Rt(we)}/(${Re.join("//")})`}}function te(we){return encodeURIComponent(we).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ce(we){return te(we).replace(/%3B/gi,";")}function ke(we){return te(we).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ue(we){return decodeURIComponent(we)}function Ne(we){return Ue(we.replace(/\+/g,"%20"))}function Kt(we){return`${ke(we.path)}${function yt(we){return Object.entries(we).map(([je,Re])=>`;${ke(je)}=${ke(Re)}`).join("")}(we.parameters)}`}const Zt=/^[^\/()?;#]+/;function ti(we){const je=we.match(Zt);return je?je[0]:""}const Ye=/^[^\/()?;=#]+/,Et=/^[^=?&#]+/,qe=/^[^&#]+/;class tt{url;remaining;constructor(je){this.url=je,this.remaining=je}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new J([],{}):new J([],this.parseChildren())}parseQueryParams(){const je={};if(this.consumeOptional("?"))do{this.parseQueryParam(je)}while(this.consumeOptional("&"));return je}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const je=[];for(this.peekStartsWith("(")||je.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),je.push(this.parseSegment());let Re={};this.peekStartsWith("/(")&&(this.capture("/"),Re=this.parseParens(!0));let We={};return this.peekStartsWith("(")&&(We=this.parseParens(!1)),(je.length>0||Object.keys(Re).length>0)&&(We[be]=new J(je,Re)),We}parseSegment(){const je=ti(this.remaining);if(""===je&&this.peekStartsWith(";"))throw new i.buA(4009,!1);return this.capture(je),new fe(Ue(je),this.parseMatrixParams())}parseMatrixParams(){const je={};for(;this.consumeOptional(";");)this.parseParam(je);return je}parseParam(je){const Re=function Nt(we){const je=we.match(Ye);return je?je[0]:""}(this.remaining);if(!Re)return;this.capture(Re);let We="";if(this.consumeOptional("=")){const _t=ti(this.remaining);_t&&(We=_t,this.capture(We))}je[Ue(Re)]=Ue(We)}parseQueryParam(je){const Re=function Jt(we){const je=we.match(Et);return je?je[0]:""}(this.remaining);if(!Re)return;this.capture(Re);let We="";if(this.consumeOptional("=")){const ri=function $e(we){const je=we.match(qe);return je?je[0]:""}(this.remaining);ri&&(We=ri,this.capture(We))}const _t=Ne(Re),Ut=Ne(We);if(je.hasOwnProperty(_t)){let ri=je[_t];Array.isArray(ri)||(ri=[ri],je[_t]=ri),ri.push(Ut)}else je[_t]=Ut}parseParens(je){const Re={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const We=ti(this.remaining),_t=this.remaining[We.length];if("/"!==_t&&")"!==_t&&";"!==_t)throw new i.buA(4010,!1);let Ut;We.indexOf(":")>-1?(Ut=We.slice(0,We.indexOf(":")),this.capture(Ut),this.capture(":")):je&&(Ut=be);const ri=this.parseChildren();Re[Ut??be]=1===Object.keys(ri).length&&ri[be]?ri[be]:new J([],ri),this.consumeOptional("//")}return Re}peekStartsWith(je){return this.remaining.startsWith(je)}consumeOptional(je){return!!this.peekStartsWith(je)&&(this.remaining=this.remaining.substring(je.length),!0)}capture(je){if(!this.consumeOptional(je))throw new i.buA(4011,!1)}}function vi(we){return we.segments.length>0?new J([],{[be]:we}):we}function ei(we){const je={};for(const[We,_t]of Object.entries(we.children)){const Ut=ei(_t);if(We===be&&0===Ut.segments.length&&Ut.hasChildren())for(const[ri,Di]of Object.entries(Ut.children))je[ri]=Di;else(Ut.segments.length>0||Ut.hasChildren())&&(je[We]=Ut)}return function ci(we){if(1===we.numberOfChildren&&we.children[be]){const je=we.children[be];return new J(we.segments.concat(je.segments),je.children)}return we}(new J(we.segments,je))}function Hi(we){return we instanceof Z}function ui(we){let je;const _t=vi(function Re(Ut){const ri={};for(const Zi of Ut.children){const On=Re(Zi);ri[Zi.outlet]=On}const Di=new J(Ut.url,ri);return Ut===we&&(je=Di),Di}(we.root));return je??_t}function ln(we,je,Re,We){let _t=we;for(;_t.parent;)_t=_t.parent;if(0===je.length)return zn(_t,_t,_t,Re,We);const Ut=function Ze(we){if("string"==typeof we[0]&&1===we.length&&"/"===we[0])return new Tt(!0,0,we);let je=0,Re=!1;const We=we.reduce((_t,Ut,ri)=>{if("object"==typeof Ut&&null!=Ut){if(Ut.outlets){const Di={};return Object.entries(Ut.outlets).forEach(([Zi,On])=>{Di[Zi]="string"==typeof On?On.split("/"):On}),[..._t,{outlets:Di}]}if(Ut.segmentPath)return[..._t,Ut.segmentPath]}return"string"!=typeof Ut?[..._t,Ut]:0===ri?(Ut.split("/").forEach((Di,Zi)=>{0==Zi&&"."===Di||(0==Zi&&""===Di?Re=!0:".."===Di?je++:""!=Di&&_t.push(Di))}),_t):[..._t,Ut]},[]);return new Tt(Re,je,We)}(je);if(Ut.toRoot())return zn(_t,_t,new J([],{}),Re,We);const ri=function Fe(we,je,Re){if(we.isAbsolute)return new Ve(je,!0,0);if(!Re)return new Ve(je,!1,NaN);if(null===Re.parent)return new Ve(Re,!0,0);const We=nn(we.commands[0])?0:1;return function it(we,je,Re){let We=we,_t=je,Ut=Re;for(;Ut>_t;){if(Ut-=_t,We=We.parent,!We)throw new i.buA(4005,!1);_t=We.segments.length}return new Ve(We,!1,_t-Ut)}(Re,Re.segments.length-1+We,we.numberOfDoubleDots)}(Ut,_t,we),Di=ri.processChildren?jt(ri.segmentGroup,ri.index,Ut.commands):ut(ri.segmentGroup,ri.index,Ut.commands);return zn(_t,ri.segmentGroup,Di,Re,We)}function nn(we){return"object"==typeof we&&null!=we&&!we.outlets&&!we.segmentPath}function dn(we){return"object"==typeof we&&null!=we&&we.outlets}function zn(we,je,Re,We,_t){let ri,Ut={};We&&Object.entries(We).forEach(([Zi,On])=>{Ut[Zi]=Array.isArray(On)?On.map(Ma=>`${Ma}`):`${On}`}),ri=we===je?Re:It(we,je,Re);const Di=vi(ei(ri));return new Z(Di,Ut,_t)}function It(we,je,Re){const We={};return Object.entries(we.children).forEach(([_t,Ut])=>{We[_t]=Ut===je?Re:It(Ut,je,Re)}),new J(we.segments,We)}class Tt{isAbsolute;numberOfDoubleDots;commands;constructor(je,Re,We){if(this.isAbsolute=je,this.numberOfDoubleDots=Re,this.commands=We,je&&We.length>0&&nn(We[0]))throw new i.buA(4003,!1);const _t=We.find(dn);if(_t&&_t!==Ee(We))throw new i.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ve{segmentGroup;processChildren;index;constructor(je,Re,We){this.segmentGroup=je,this.processChildren=Re,this.index=We}}function ut(we,je,Re){if(we??=new J([],{}),0===we.segments.length&&we.hasChildren())return jt(we,je,Re);const We=function ai(we,je,Re){let We=0,_t=je;const Ut={match:!1,pathIndex:0,commandIndex:0};for(;_t<we.segments.length;){if(We>=Re.length)return Ut;const ri=we.segments[_t],Di=Re[We];if(dn(Di))break;const Zi=`${Di}`,On=We<Re.length-1?Re[We+1]:null;if(_t>0&&void 0===Zi)break;if(Zi&&On&&"object"==typeof On&&void 0===On.outlets){if(!Ji(Zi,On,ri))return Ut;We+=2}else{if(!Ji(Zi,{},ri))return Ut;We++}_t++}return{match:!0,pathIndex:_t,commandIndex:We}}(we,je,Re),_t=Re.slice(We.commandIndex);if(We.match&&We.pathIndex<we.segments.length){const Ut=new J(we.segments.slice(0,We.pathIndex),{});return Ut.children[be]=new J(we.segments.slice(We.pathIndex),we.children),jt(Ut,0,_t)}return We.match&&0===_t.length?new J(we.segments,{}):We.match&&!we.hasChildren()?pi(we,je,Re):We.match?jt(we,0,_t):pi(we,je,Re)}function jt(we,je,Re){if(0===Re.length)return new J(we.segments,{});{const We=function bt(we){return dn(we[0])?we[0].outlets:{[be]:we}}(Re),_t={};if(Object.keys(We).some(Ut=>Ut!==be)&&we.children[be]&&1===we.numberOfChildren&&0===we.children[be].segments.length){const Ut=jt(we.children[be],je,Re);return new J(we.segments,Ut.children)}return Object.entries(We).forEach(([Ut,ri])=>{"string"==typeof ri&&(ri=[ri]),null!==ri&&(_t[Ut]=ut(we.children[Ut],je,ri))}),Object.entries(we.children).forEach(([Ut,ri])=>{void 0===We[Ut]&&(_t[Ut]=ri)}),new J(we.segments,_t)}}function pi(we,je,Re){const We=we.segments.slice(0,je);let _t=0;for(;_t<Re.length;){const Ut=Re[_t];if(dn(Ut)){const Zi=ki(Ut.outlets);return new J(We,Zi)}if(0===_t&&nn(Re[0])){We.push(new fe(we.segments[je].path,Ki(Re[0]))),_t++;continue}const ri=dn(Ut)?Ut.outlets[be]:`${Ut}`,Di=_t<Re.length-1?Re[_t+1]:null;ri&&Di&&nn(Di)?(We.push(new fe(ri,Ki(Di))),_t+=2):(We.push(new fe(ri,{})),_t++)}return new J(We,{})}function ki(we){const je={};return Object.entries(we).forEach(([Re,We])=>{"string"==typeof We&&(We=[We]),null!==We&&(je[Re]=pi(new J([],{}),0,We))}),je}function Ki(we){const je={};return Object.entries(we).forEach(([Re,We])=>je[Re]=`${We}`),je}function Ji(we,je,Re){return we==Re.path&&ge(je,Re.parameters)}const Dn="imperative";var En=function(we){return we[we.NavigationStart=0]="NavigationStart",we[we.NavigationEnd=1]="NavigationEnd",we[we.NavigationCancel=2]="NavigationCancel",we[we.NavigationError=3]="NavigationError",we[we.RoutesRecognized=4]="RoutesRecognized",we[we.ResolveStart=5]="ResolveStart",we[we.ResolveEnd=6]="ResolveEnd",we[we.GuardsCheckStart=7]="GuardsCheckStart",we[we.GuardsCheckEnd=8]="GuardsCheckEnd",we[we.RouteConfigLoadStart=9]="RouteConfigLoadStart",we[we.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",we[we.ChildActivationStart=11]="ChildActivationStart",we[we.ChildActivationEnd=12]="ChildActivationEnd",we[we.ActivationStart=13]="ActivationStart",we[we.ActivationEnd=14]="ActivationEnd",we[we.Scroll=15]="Scroll",we[we.NavigationSkipped=16]="NavigationSkipped",we}(En||{});class An{id;url;constructor(je,Re){this.id=je,this.url=Re}}class Fn extends An{type=En.NavigationStart;navigationTrigger;restoredState;constructor(je,Re,We="imperative",_t=null){super(je,Re),this.navigationTrigger=We,this.restoredState=_t}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class xi extends An{urlAfterRedirects;type=En.NavigationEnd;constructor(je,Re,We){super(je,Re),this.urlAfterRedirects=We}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Gi=function(we){return we[we.Redirect=0]="Redirect",we[we.SupersededByNewNavigation=1]="SupersededByNewNavigation",we[we.NoDataFromResolver=2]="NoDataFromResolver",we[we.GuardRejected=3]="GuardRejected",we[we.Aborted=4]="Aborted",we}(Gi||{}),Ci=function(we){return we[we.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",we[we.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",we}(Ci||{});class Ai extends An{reason;code;type=En.NavigationCancel;constructor(je,Re,We,_t){super(je,Re),this.reason=We,this.code=_t}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Yi extends An{reason;code;type=En.NavigationSkipped;constructor(je,Re,We,_t){super(je,Re),this.reason=We,this.code=_t}}class zt extends An{error;target;type=En.NavigationError;constructor(je,Re,We,_t){super(je,Re),this.error=We,this.target=_t}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ji extends An{urlAfterRedirects;state;type=En.RoutesRecognized;constructor(je,Re,We,_t){super(je,Re),this.urlAfterRedirects=We,this.state=_t}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Me extends An{urlAfterRedirects;state;type=En.GuardsCheckStart;constructor(je,Re,We,_t){super(je,Re),this.urlAfterRedirects=We,this.state=_t}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mt extends An{urlAfterRedirects;state;shouldActivate;type=En.GuardsCheckEnd;constructor(je,Re,We,_t,Ut){super(je,Re),this.urlAfterRedirects=We,this.state=_t,this.shouldActivate=Ut}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class vt extends An{urlAfterRedirects;state;type=En.ResolveStart;constructor(je,Re,We,_t){super(je,Re),this.urlAfterRedirects=We,this.state=_t}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ni extends An{urlAfterRedirects;state;type=En.ResolveEnd;constructor(je,Re,We,_t){super(je,Re),this.urlAfterRedirects=We,this.state=_t}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fi{route;type=En.RouteConfigLoadStart;constructor(je){this.route=je}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class kn{route;type=En.RouteConfigLoadEnd;constructor(je){this.route=je}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ca{snapshot;type=En.ChildActivationStart;constructor(je){this.snapshot=je}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class an{snapshot;type=En.ChildActivationEnd;constructor(je){this.snapshot=je}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mn{snapshot;type=En.ActivationStart;constructor(je){this.snapshot=je}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qn{snapshot;type=En.ActivationEnd;constructor(je){this.snapshot=je}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mr{routerEvent;position;anchor;type=En.Scroll;constructor(je,Re,We){this.routerEvent=je,this.position=Re,this.anchor=We}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class fi{}class Mi{url;navigationBehaviorOptions;constructor(je,Re){this.url=je,this.navigationBehaviorOptions=Re}}function wi(we){switch(we.type){case En.ActivationEnd:return`ActivationEnd(path: '${we.snapshot.routeConfig?.path||""}')`;case En.ActivationStart:return`ActivationStart(path: '${we.snapshot.routeConfig?.path||""}')`;case En.ChildActivationEnd:return`ChildActivationEnd(path: '${we.snapshot.routeConfig?.path||""}')`;case En.ChildActivationStart:return`ChildActivationStart(path: '${we.snapshot.routeConfig?.path||""}')`;case En.GuardsCheckEnd:return`GuardsCheckEnd(id: ${we.id}, url: '${we.url}', urlAfterRedirects: '${we.urlAfterRedirects}', state: ${we.state}, shouldActivate: ${we.shouldActivate})`;case En.GuardsCheckStart:return`GuardsCheckStart(id: ${we.id}, url: '${we.url}', urlAfterRedirects: '${we.urlAfterRedirects}', state: ${we.state})`;case En.NavigationCancel:return`NavigationCancel(id: ${we.id}, url: '${we.url}')`;case En.NavigationSkipped:return`NavigationSkipped(id: ${we.id}, url: '${we.url}')`;case En.NavigationEnd:return`NavigationEnd(id: ${we.id}, url: '${we.url}', urlAfterRedirects: '${we.urlAfterRedirects}')`;case En.NavigationError:return`NavigationError(id: ${we.id}, url: '${we.url}', error: ${we.error})`;case En.NavigationStart:return`NavigationStart(id: ${we.id}, url: '${we.url}')`;case En.ResolveEnd:return`ResolveEnd(id: ${we.id}, url: '${we.url}', urlAfterRedirects: '${we.urlAfterRedirects}', state: ${we.state})`;case En.ResolveStart:return`ResolveStart(id: ${we.id}, url: '${we.url}', urlAfterRedirects: '${we.urlAfterRedirects}', state: ${we.state})`;case En.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${we.route.path})`;case En.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${we.route.path})`;case En.RoutesRecognized:return`RoutesRecognized(id: ${we.id}, url: '${we.url}', urlAfterRedirects: '${we.urlAfterRedirects}', state: ${we.state})`;case En.Scroll:return`Scroll(anchor: '${we.anchor}', position: '${we.position?`${we.position[0]}, ${we.position[1]}`:null}')`}}function Bi(we){return we.outlet||be}function fn(we){if(!we)return null;if(we.routeConfig?._injector)return we.routeConfig._injector;for(let je=we.parent;je;je=je.parent){const Re=je.routeConfig;if(Re?._loadedInjector)return Re._loadedInjector;if(Re?._injector)return Re._injector}return null}class ma{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return fn(this.route?.snapshot)??this.rootInjector}constructor(je){this.rootInjector=je,this.children=new da(this.rootInjector)}}let da=(()=>{class we{rootInjector;contexts=new Map;constructor(Re){this.rootInjector=Re}onChildOutletCreated(Re,We){const _t=this.getOrCreateContext(Re);_t.outlet=We,this.contexts.set(Re,_t)}onChildOutletDestroyed(Re){const We=this.getContext(Re);We&&(We.outlet=null,We.attachRef=null)}onOutletDeactivated(){const Re=this.contexts;return this.contexts=new Map,Re}onOutletReAttached(Re){this.contexts=Re}getOrCreateContext(Re){let We=this.getContext(Re);return We||(We=new ma(this.rootInjector),this.contexts.set(Re,We)),We}getContext(Re){return this.contexts.get(Re)||null}static \u0275fac=function(We){return new(We||we)(i.KVO(i.uvJ))};static \u0275prov=i.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();class ga{_root;constructor(je){this._root=je}get root(){return this._root.value}parent(je){const Re=this.pathFromRoot(je);return Re.length>1?Re[Re.length-2]:null}children(je){const Re=Zn(je,this._root);return Re?Re.children.map(We=>We.value):[]}firstChild(je){const Re=Zn(je,this._root);return Re&&Re.children.length>0?Re.children[0].value:null}siblings(je){const Re=Sa(je,this._root);return Re.length<2?[]:Re[Re.length-2].children.map(_t=>_t.value).filter(_t=>_t!==je)}pathFromRoot(je){return Sa(je,this._root).map(Re=>Re.value)}}function Zn(we,je){if(we===je.value)return je;for(const Re of je.children){const We=Zn(we,Re);if(We)return We}return null}function Sa(we,je){if(we===je.value)return[je];for(const Re of je.children){const We=Sa(we,Re);if(We.length)return We.unshift(je),We}return[]}class ia{value;children;constructor(je,Re){this.value=je,this.children=Re}toString(){return`TreeNode(${this.value})`}}function pa(we){const je={};return we&&we.children.forEach(Re=>je[Re.value.outlet]=Re),je}class Er extends ga{snapshot;constructor(je,Re){super(je),this.snapshot=Re,Fa(this,je)}toString(){return this.snapshot.toString()}}function xa(we){const je=function Xr(we){const Ut=new ja([],{},{},"",{},be,we,null,{});return new Wa("",new ia(Ut,[]))}(we),Re=new d.t([new fe("",{})]),We=new d.t({}),_t=new d.t({}),Ut=new d.t({}),ri=new d.t(""),Di=new Ta(Re,We,Ut,ri,_t,be,we,je.root);return Di.snapshot=je.root,new Er(new ia(Di,[]),je)}class Ta{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(je,Re,We,_t,Ut,ri,Di,Zi){this.urlSubject=je,this.paramsSubject=Re,this.queryParamsSubject=We,this.fragmentSubject=_t,this.dataSubject=Ut,this.outlet=ri,this.component=Di,this._futureSnapshot=Zi,this.title=this.dataSubject?.pipe((0,ae.T)(On=>On[Be]))??(0,g.of)(void 0),this.url=je,this.params=Re,this.queryParams=We,this.fragment=_t,this.data=Ut}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,ae.T)(je=>ye(je))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,ae.T)(je=>ye(je))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function wr(we,je,Re="emptyOnly"){let We;const{routeConfig:_t}=we;return We=null===je||"always"!==Re&&""!==_t?.path&&(je.component||je.routeConfig?.loadComponent)?{params:{...we.params},data:{...we.data},resolve:{...we.data,...we._resolvedData??{}}}:{params:{...je.params,...we.params},data:{...je.data,...we.data},resolve:{...we.data,...je.data,..._t?.data,...we._resolvedData}},_t&&or(_t)&&(We.resolve[Be]=_t.title),We}class ja{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Be]}constructor(je,Re,We,_t,Ut,ri,Di,Zi,On){this.url=je,this.params=Re,this.queryParams=We,this.fragment=_t,this.data=Ut,this.outlet=ri,this.component=Di,this.routeConfig=Zi,this._resolve=On}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??=ye(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ye(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(We=>We.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Wa extends ga{url;constructor(je,Re){super(Re),this.url=je,Fa(this,Re)}toString(){return Br(this._root)}}function Fa(we,je){je.value._routerState=we,je.children.forEach(Re=>Fa(we,Re))}function Br(we){const je=we.children.length>0?` { ${we.children.map(Br).join(", ")} } `:"";return`${we.value}${je}`}function ys(we){if(we.snapshot){const je=we.snapshot,Re=we._futureSnapshot;we.snapshot=Re,ge(je.queryParams,Re.queryParams)||we.queryParamsSubject.next(Re.queryParams),je.fragment!==Re.fragment&&we.fragmentSubject.next(Re.fragment),ge(je.params,Re.params)||we.paramsSubject.next(Re.params),function Ke(we,je){if(we.length!==je.length)return!1;for(let Re=0;Re<we.length;++Re)if(!ge(we[Re],je[Re]))return!1;return!0}(je.url,Re.url)||we.urlSubject.next(Re.url),ge(je.data,Re.data)||we.dataSubject.next(Re.data)}else we.snapshot=we._futureSnapshot,we.dataSubject.next(we._futureSnapshot.data)}function Kr(we,je){const Re=ge(we.params,je.params)&&function Ie(we,je){return ht(we,je)&&we.every((Re,We)=>ge(Re.parameters,je[We].parameters))}(we.url,je.url);return Re&&!(!we.parent!=!je.parent)&&(!we.parent||Kr(we.parent,je.parent))}function or(we){return"string"==typeof we.title||null===we.title}const os=new i.nKC("");let Yr=(()=>{class we{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=be;activateEvents=new p.bkB;deactivateEvents=new p.bkB;attachEvents=new p.bkB;detachEvents=new p.bkB;routerOutletData=(0,S.hFB)();parentContexts=(0,i.WQX)(da);location=(0,i.WQX)(p.c1b);changeDetector=(0,i.WQX)(S.gRc);inputBinder=(0,i.WQX)(Qr,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(Re){if(Re.name){const{firstChange:We,previousValue:_t}=Re.name;if(We)return;this.isTrackedInParentContexts(_t)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(_t)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Re){return this.parentContexts.getContext(Re)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Re=this.parentContexts.getContext(this.name);Re?.route&&(Re.attachRef?this.attach(Re.attachRef,Re.route):this.activateWith(Re.route,Re.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.buA(4012,!1);this.location.detach();const Re=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Re.instance),Re}attach(Re,We){this.activated=Re,this._activatedRoute=We,this.location.insert(Re.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Re.instance)}deactivate(){if(this.activated){const Re=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Re)}}activateWith(Re,We){if(this.isActivated)throw new i.buA(4013,!1);this._activatedRoute=Re;const _t=this.location,ri=Re.snapshot.component,Di=this.parentContexts.getOrCreateContext(this.name).children,Zi=new bs(Re,Di,_t.injector,this.routerOutletData);this.activated=_t.createComponent(ri,{index:_t.length,injector:Zi,environmentInjector:We}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(We){return new(We||we)};static \u0275dir=p.FsC({type:we,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[p.OA$]})}return we})();class bs{route;childContexts;parent;outletData;constructor(je,Re,We,_t){this.route=je,this.childContexts=Re,this.parent=We,this.outletData=_t}get(je,Re){return je===Ta?this.route:je===da?this.childContexts:je===os?this.outletData:this.parent.get(je,Re)}}const Qr=new i.nKC("");let no=(()=>{class we{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(Re){this.unsubscribeFromRouteData(Re),this.subscribeToRouteData(Re)}unsubscribeFromRouteData(Re){this.outletDataSubscriptions.get(Re)?.unsubscribe(),this.outletDataSubscriptions.delete(Re)}subscribeToRouteData(Re){const{activatedRoute:We}=Re,_t=(0,w.z)([We.queryParams,We.params,We.data]).pipe((0,ue.n)(([Ut,ri,Di],Zi)=>(Di={...Ut,...ri,...Di},0===Zi?(0,g.of)(Di):Promise.resolve(Di)))).subscribe(Ut=>{if(!Re.isActivated||!Re.activatedComponentRef||Re.activatedRoute!==We||null===We.component)return void this.unsubscribeFromRouteData(Re);const ri=(0,S.HJs)(We.component);if(ri)for(const{templateName:Di}of ri.inputs)Re.activatedComponentRef.setInput(Di,Ut[Di]);else this.unsubscribeFromRouteData(Re)});this.outletDataSubscriptions.set(Re,_t)}static \u0275fac=function(We){return new(We||we)};static \u0275prov=i.jDH({token:we,factory:we.\u0275fac})}return we})(),ls=(()=>{class we{static \u0275fac=function(We){return new(We||we)};static \u0275cmp=p.VBU({type:we,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(We,_t){1&We&&p.nrm(0,"router-outlet")},dependencies:[Yr],encapsulation:2})}return we})();function cs(we){const je=we.children&&we.children.map(cs),Re=je?{...we,children:je}:{...we};return!Re.component&&!Re.loadComponent&&(je||Re.loadChildren)&&Re.outlet&&Re.outlet!==be&&(Re.component=ls),Re}function $r(we,je,Re){if(Re&&we.shouldReuseRoute(je.value,Re.value.snapshot)){const We=Re.value;We._futureSnapshot=je.value;const _t=function Lt(we,je,Re){return je.children.map(We=>{for(const _t of Re.children)if(we.shouldReuseRoute(We.value,_t.value.snapshot))return $r(we,We,_t);return $r(we,We)})}(we,je,Re);return new ia(We,_t)}{if(we.shouldAttach(je.value)){const Ut=we.retrieve(je.value);if(null!==Ut){const ri=Ut.route;return ri.value._futureSnapshot=je.value,ri.children=je.children.map(Di=>$r(we,Di)),ri}}const We=function rt(we){return new Ta(new d.t(we.url),new d.t(we.params),new d.t(we.queryParams),new d.t(we.fragment),new d.t(we.data),we.outlet,we.component,we)}(je.value),_t=je.children.map(Ut=>$r(we,Ut));return new ia(We,_t)}}class wt{redirectTo;navigationBehaviorOptions;constructor(je,Re){this.redirectTo=je,this.navigationBehaviorOptions=Re}}const ii="ngNavigationCancelingError";function Ii(we,je){const{redirectTo:Re,navigationBehaviorOptions:We}=Hi(je)?{redirectTo:je,navigationBehaviorOptions:void 0}:je,_t=Ui(!1,Gi.Redirect);return _t.url=Re,_t.navigationBehaviorOptions=We,_t}function Ui(we,je){const Re=new Error(`NavigationCancelingError: ${we||""}`);return Re[ii]=!0,Re.cancellationCode=je,Re}function yn(we){return!!we&&we[ii]}class Jn{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(je,Re,We,_t,Ut){this.routeReuseStrategy=je,this.futureState=Re,this.currState=We,this.forwardEvent=_t,this.inputBindingEnabled=Ut}activate(je){const Re=this.futureState._root,We=this.currState?this.currState._root:null;this.deactivateChildRoutes(Re,We,je),ys(this.futureState.root),this.activateChildRoutes(Re,We,je)}deactivateChildRoutes(je,Re,We){const _t=pa(Re);je.children.forEach(Ut=>{const ri=Ut.value.outlet;this.deactivateRoutes(Ut,_t[ri],We),delete _t[ri]}),Object.values(_t).forEach(Ut=>{this.deactivateRouteAndItsChildren(Ut,We)})}deactivateRoutes(je,Re,We){const _t=je.value,Ut=Re?Re.value:null;if(_t===Ut)if(_t.component){const ri=We.getContext(_t.outlet);ri&&this.deactivateChildRoutes(je,Re,ri.children)}else this.deactivateChildRoutes(je,Re,We);else Ut&&this.deactivateRouteAndItsChildren(Re,We)}deactivateRouteAndItsChildren(je,Re){je.value.component&&this.routeReuseStrategy.shouldDetach(je.value.snapshot)?this.detachAndStoreRouteSubtree(je,Re):this.deactivateRouteAndOutlet(je,Re)}detachAndStoreRouteSubtree(je,Re){const We=Re.getContext(je.value.outlet),_t=We&&je.value.component?We.children:Re,Ut=pa(je);for(const ri of Object.values(Ut))this.deactivateRouteAndItsChildren(ri,_t);if(We&&We.outlet){const ri=We.outlet.detach(),Di=We.children.onOutletDeactivated();this.routeReuseStrategy.store(je.value.snapshot,{componentRef:ri,route:je,contexts:Di})}}deactivateRouteAndOutlet(je,Re){const We=Re.getContext(je.value.outlet),_t=We&&je.value.component?We.children:Re,Ut=pa(je);for(const ri of Object.values(Ut))this.deactivateRouteAndItsChildren(ri,_t);We&&(We.outlet&&(We.outlet.deactivate(),We.children.onOutletDeactivated()),We.attachRef=null,We.route=null)}activateChildRoutes(je,Re,We){const _t=pa(Re);je.children.forEach(Ut=>{this.activateRoutes(Ut,_t[Ut.value.outlet],We),this.forwardEvent(new qn(Ut.value.snapshot))}),je.children.length&&this.forwardEvent(new an(je.value.snapshot))}activateRoutes(je,Re,We){const _t=je.value,Ut=Re?Re.value:null;if(ys(_t),_t===Ut)if(_t.component){const ri=We.getOrCreateContext(_t.outlet);this.activateChildRoutes(je,Re,ri.children)}else this.activateChildRoutes(je,Re,We);else if(_t.component){const ri=We.getOrCreateContext(_t.outlet);if(this.routeReuseStrategy.shouldAttach(_t.snapshot)){const Di=this.routeReuseStrategy.retrieve(_t.snapshot);this.routeReuseStrategy.store(_t.snapshot,null),ri.children.onOutletReAttached(Di.contexts),ri.attachRef=Di.componentRef,ri.route=Di.route.value,ri.outlet&&ri.outlet.attach(Di.componentRef,Di.route.value),ys(Di.route.value),this.activateChildRoutes(je,null,ri.children)}else ri.attachRef=null,ri.route=_t,ri.outlet&&ri.outlet.activateWith(_t,ri.injector),this.activateChildRoutes(je,null,ri.children)}else this.activateChildRoutes(je,null,We)}}class Un{path;route;constructor(je){this.path=je,this.route=this.path[this.path.length-1]}}class Ca{component;route;constructor(je,Re){this.component=je,this.route=Re}}function Aa(we,je,Re){const We=we._root;return Xa(We,je?je._root:null,Re,[We.value])}function Ra(we,je){const Re=Symbol(),We=je.get(we,Re);return We===Re?"function"!=typeof we||(0,i.muV)(we)?je.get(we):we:We}function Xa(we,je,Re,We,_t={canDeactivateChecks:[],canActivateChecks:[]}){const Ut=pa(je);return we.children.forEach(ri=>{(function za(we,je,Re,We,_t={canDeactivateChecks:[],canActivateChecks:[]}){const Ut=we.value,ri=je?je.value:null,Di=Re?Re.getContext(we.value.outlet):null;if(ri&&Ut.routeConfig===ri.routeConfig){const Zi=function vr(we,je,Re){if("function"==typeof Re)return Re(we,je);switch(Re){case"pathParamsChange":return!ht(we.url,je.url);case"pathParamsOrQueryParamsChange":return!ht(we.url,je.url)||!ge(we.queryParams,je.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Kr(we,je)||!ge(we.queryParams,je.queryParams);default:return!Kr(we,je)}}(ri,Ut,Ut.routeConfig.runGuardsAndResolvers);Zi?_t.canActivateChecks.push(new Un(We)):(Ut.data=ri.data,Ut._resolvedData=ri._resolvedData),Xa(we,je,Ut.component?Di?Di.children:null:Re,We,_t),Zi&&Di&&Di.outlet&&Di.outlet.isActivated&&_t.canDeactivateChecks.push(new Ca(Di.outlet.component,ri))}else ri&&Sn(je,Di,_t),_t.canActivateChecks.push(new Un(We)),Xa(we,null,Ut.component?Di?Di.children:null:Re,We,_t)})(ri,Ut[ri.value.outlet],Re,We.concat([ri.value]),_t),delete Ut[ri.value.outlet]}),Object.entries(Ut).forEach(([ri,Di])=>Sn(Di,Re.getContext(ri),_t)),_t}function Sn(we,je,Re){const We=pa(we),_t=we.value;Object.entries(We).forEach(([Ut,ri])=>{Sn(ri,_t.component?je?je.children.getContext(Ut):null:je,Re)}),Re.canDeactivateChecks.push(new Ca(_t.component&&je&&je.outlet&&je.outlet.isActivated?je.outlet.component:null,_t))}function ka(we){return"function"==typeof we}function Oa(we){return we instanceof m.G||"EmptyError"===we?.name}const Wt=Symbol("INITIAL_VALUE");function Ri(){return(0,ue.n)(we=>(0,w.z)(we.map(je=>je.pipe((0,oe.s)(1),(0,he.Z)(Wt)))).pipe((0,ae.T)(je=>{for(const Re of je)if(!0!==Re){if(Re===Wt)return Wt;if(!1===Re||ft(Re))return Re}return!0}),(0,me.p)(je=>je!==Wt),(0,oe.s)(1)))}function ft(we){return Hi(we)||we instanceof wt}function ea(we){return(0,j.F)((0,o.M)(je=>{if("boolean"!=typeof je)throw Ii(0,je)}),(0,ae.T)(je=>!0===je))}class Ts{segmentGroup;constructor(je){this.segmentGroup=je||null}}class Rs extends Error{urlTree;constructor(je){super(),this.urlTree=je}}function Gs(we){return(0,U.$)(new Ts(we))}function Oo(we){return(0,U.$)(new i.buA(4e3,!1))}class ro{urlSerializer;urlTree;constructor(je,Re){this.urlSerializer=je,this.urlTree=Re}lineralizeSegments(je,Re){let We=[],_t=Re.root;for(;;){if(We=We.concat(_t.segments),0===_t.numberOfChildren)return(0,g.of)(We);if(_t.numberOfChildren>1||!_t.children[be])return Oo();_t=_t.children[be]}}applyRedirectCommands(je,Re,We,_t,Ut){return function As(we,je,Re){if("string"==typeof we)return(0,g.of)(we);const We=we,{queryParams:_t,fragment:Ut,routeConfig:ri,url:Di,outlet:Zi,params:On,data:Ma,title:yr}=je;return dt((0,i.N4e)(Re,()=>We({params:On,data:Ma,queryParams:_t,fragment:Ut,routeConfig:ri,url:Di,outlet:Zi,title:yr})))}(Re,_t,Ut).pipe((0,ae.T)(ri=>{if(ri instanceof Z)throw new Rs(ri);const Di=this.applyRedirectCreateUrlTree(ri,this.urlSerializer.parse(ri),je,We);if("/"===ri[0])throw new Rs(Di);return Di}))}applyRedirectCreateUrlTree(je,Re,We,_t){const Ut=this.createSegmentGroup(je,Re.root,We,_t);return new Z(Ut,this.createQueryParams(Re.queryParams,this.urlTree.queryParams),Re.fragment)}createQueryParams(je,Re){const We={};return Object.entries(je).forEach(([_t,Ut])=>{if("string"==typeof Ut&&":"===Ut[0]){const Di=Ut.substring(1);We[_t]=Re[Di]}else We[_t]=Ut}),We}createSegmentGroup(je,Re,We,_t){const Ut=this.createSegments(je,Re.segments,We,_t);let ri={};return Object.entries(Re.children).forEach(([Di,Zi])=>{ri[Di]=this.createSegmentGroup(je,Zi,We,_t)}),new J(Ut,ri)}createSegments(je,Re,We,_t){return Re.map(Ut=>":"===Ut.path[0]?this.findPosParam(je,Ut,_t):this.findOrReturn(Ut,We))}findPosParam(je,Re,We){const _t=We[Re.path.substring(1)];if(!_t)throw new i.buA(4001,!1);return _t}findOrReturn(je,Re){let We=0;for(const _t of Re){if(_t.path===je.path)return Re.splice(We),_t;We++}return je}}const Os={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Po(we,je,Re,We,_t){const Ut=Ps(we,je,Re);return Ut.matched?(We=function Xe(we,je){return we.providers&&!we._injector&&(we._injector=(0,p.Ol2)(we.providers,je,`Route: ${we.path}`)),we._injector??je}(je,We),function lr(we,je,Re,We){const _t=je.canMatch;if(!_t||0===_t.length)return(0,g.of)(!0);const Ut=_t.map(ri=>{const Di=Ra(ri,we);return dt(function Ss(we){return we&&ka(we.canMatch)}(Di)?Di.canMatch(je,Re):(0,i.N4e)(we,()=>Di(je,Re)))});return(0,g.of)(Ut).pipe(Ri(),ea())}(We,je,Re).pipe((0,ae.T)(ri=>!0===ri?Ut:{...Os}))):(0,g.of)(Ut)}function Ps(we,je,Re){if("**"===je.path)return function vo(we){return{matched:!0,parameters:we.length>0?Ee(we).parameters:{},consumedSegments:we,remainingSegments:[],positionalParamSegments:{}}}(Re);if(""===je.path)return"full"===je.pathMatch&&(we.hasChildren()||Re.length>0)?{...Os}:{matched:!0,consumedSegments:[],remainingSegments:Re,parameters:{},positionalParamSegments:{}};const _t=(je.matcher||Le)(Re,we,je);if(!_t)return{...Os};const Ut={};Object.entries(_t.posParams??{}).forEach(([Di,Zi])=>{Ut[Di]=Zi.path});const ri=_t.consumed.length>0?{...Ut,..._t.consumed[_t.consumed.length-1].parameters}:Ut;return{matched:!0,consumedSegments:_t.consumed,remainingSegments:Re.slice(_t.consumed.length),parameters:ri,positionalParamSegments:_t.posParams??{}}}function Sr(we,je,Re,We){return Re.length>0&&function Fo(we,je,Re){return Re.some(We=>bo(we,je,We)&&Bi(We)!==be)}(we,Re,We)?{segmentGroup:new J(je,qi(We,new J(Re,we.children))),slicedSegments:[]}:0===Re.length&&function yo(we,je,Re){return Re.some(We=>bo(we,je,We))}(we,Re,We)?{segmentGroup:new J(we.segments,Ua(we,Re,We,we.children)),slicedSegments:Re}:{segmentGroup:new J(we.segments,we.children),slicedSegments:Re}}function Ua(we,je,Re,We){const _t={};for(const Ut of Re)if(bo(we,je,Ut)&&!We[Bi(Ut)]){const ri=new J([],{});_t[Bi(Ut)]=ri}return{...We,..._t}}function qi(we,je){const Re={};Re[be]=je;for(const We of we)if(""===We.path&&Bi(We)!==be){const _t=new J([],{});Re[Bi(We)]=_t}return Re}function bo(we,je,Re){return(!(we.hasChildren()||je.length>0)||"full"!==Re.pathMatch)&&""===Re.path}class xo{}class jl{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(je,Re,We,_t,Ut,ri,Di){this.injector=je,this.configLoader=Re,this.rootComponentType=We,this.config=_t,this.urlTree=Ut,this.paramsInheritanceStrategy=ri,this.urlSerializer=Di,this.applyRedirects=new ro(this.urlSerializer,this.urlTree)}noMatchError(je){return new i.buA(4002,`'${je.segmentGroup}'`)}recognize(){const je=Sr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(je).pipe((0,ae.T)(({children:Re,rootSnapshot:We})=>{const _t=new ia(We,Re),Ut=new Wa("",_t),ri=function oi(we,je,Re=null,We=null){return ln(ui(we),je,Re,We)}(We,[],this.urlTree.queryParams,this.urlTree.fragment);return ri.queryParams=this.urlTree.queryParams,Ut.url=this.urlSerializer.serialize(ri),{state:Ut,tree:ri}}))}match(je){const Re=new ja([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),be,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,je,be,Re).pipe((0,ae.T)(We=>({children:We,rootSnapshot:Re})),(0,f.W)(We=>{if(We instanceof Rs)return this.urlTree=We.urlTree,this.match(We.urlTree.root);throw We instanceof Ts?this.noMatchError(We):We}))}processSegmentGroup(je,Re,We,_t,Ut){return 0===We.segments.length&&We.hasChildren()?this.processChildren(je,Re,We,Ut):this.processSegment(je,Re,We,We.segments,_t,!0,Ut).pipe((0,ae.T)(ri=>ri instanceof ia?[ri]:[]))}processChildren(je,Re,We,_t){const Ut=[];for(const ri of Object.keys(We.children))"primary"===ri?Ut.unshift(ri):Ut.push(ri);return(0,T.H)(Ut).pipe((0,n.H)(ri=>{const Di=We.children[ri],Zi=function Qi(we,je){const Re=we.filter(We=>Bi(We)===je);return Re.push(...we.filter(We=>Bi(We)!==je)),Re}(Re,ri);return this.processSegmentGroup(je,Zi,Di,ri,_t)}),(0,h.S)((ri,Di)=>(ri.push(...Di),ri)),(0,b.U)(null),function W(we,je){const Re=arguments.length>=2;return We=>We.pipe(we?(0,me.p)((_t,Ut)=>we(_t,Ut,We)):_.D,x(1),Re?(0,b.U)(je):(0,r.v)(()=>new m.G))}(),(0,Te.Z)(ri=>{if(null===ri)return Gs(We);const Di=so(ri);return function cr(we){we.sort((je,Re)=>je.value.outlet===be?-1:Re.value.outlet===be?1:je.value.outlet.localeCompare(Re.value.outlet))}(Di),(0,g.of)(Di)}))}processSegment(je,Re,We,_t,Ut,ri,Di){return(0,T.H)(Re).pipe((0,n.H)(Zi=>this.processSegmentAgainstRoute(Zi._injector??je,Re,Zi,We,_t,Ut,ri,Di).pipe((0,f.W)(On=>{if(On instanceof Ts)return(0,g.of)(null);throw On}))),(0,D.$)(Zi=>!!Zi),(0,f.W)(Zi=>{if(Oa(Zi))return function Fs(we,je,Re){return 0===je.length&&!we.children[Re]}(We,_t,Ut)?(0,g.of)(new xo):Gs(We);throw Zi}))}processSegmentAgainstRoute(je,Re,We,_t,Ut,ri,Di,Zi){return Bi(We)===ri||ri!==be&&bo(_t,Ut,We)?void 0===We.redirectTo?this.matchSegmentAgainstRoute(je,_t,We,Ut,ri,Zi):this.allowRedirects&&Di?this.expandSegmentAgainstRouteUsingRedirect(je,_t,Re,We,Ut,ri,Zi):Gs(_t):Gs(_t)}expandSegmentAgainstRouteUsingRedirect(je,Re,We,_t,Ut,ri,Di){const{matched:Zi,parameters:On,consumedSegments:Ma,positionalParamSegments:yr,remainingSegments:Ur}=Ps(Re,_t,Ut);if(!Zi)return Gs(Re);"string"==typeof _t.redirectTo&&"/"===_t.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const co=new ja(Ut,On,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Dl(_t),Bi(_t),_t.component??_t._loadedComponent??null,_t,qo(_t)),ts=wr(co,Di,this.paramsInheritanceStrategy);return co.params=Object.freeze(ts.params),co.data=Object.freeze(ts.data),this.applyRedirects.applyRedirectCommands(Ma,_t.redirectTo,yr,co,je).pipe((0,ue.n)(Ns=>this.applyRedirects.lineralizeSegments(_t,Ns)),(0,Te.Z)(Ns=>this.processSegment(je,We,Re,Ns.concat(Ur),ri,!1,Di)))}matchSegmentAgainstRoute(je,Re,We,_t,Ut,ri){const Di=Po(Re,We,_t,je);return"**"===We.path&&(Re.children={}),Di.pipe((0,ue.n)(Zi=>Zi.matched?this.getChildConfig(je=We._injector??je,We,_t).pipe((0,ue.n)(({routes:On})=>{const Ma=We._loadedInjector??je,{parameters:yr,consumedSegments:Ur,remainingSegments:co}=Zi,ts=new ja(Ur,yr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Dl(We),Bi(We),We.component??We._loadedComponent??null,We,qo(We)),Qs=wr(ts,ri,this.paramsInheritanceStrategy);ts.params=Object.freeze(Qs.params),ts.data=Object.freeze(Qs.data);const{segmentGroup:Ns,slicedSegments:uo}=Sr(Re,Ur,co,On);if(0===uo.length&&Ns.hasChildren())return this.processChildren(Ma,On,Ns,ts).pipe((0,ae.T)(fs=>new ia(ts,fs)));if(0===On.length&&0===uo.length)return(0,g.of)(new ia(ts,[]));const bl=Bi(We)===Ut;return this.processSegment(Ma,On,Ns,uo,bl?be:Ut,!0,ts).pipe((0,ae.T)(fs=>new ia(ts,fs instanceof ia?[fs]:[])))})):Gs(Re)))}getChildConfig(je,Re,We){return Re.children?(0,g.of)({routes:Re.children,injector:je}):Re.loadChildren?void 0!==Re._loadedRoutes?(0,g.of)({routes:Re._loadedRoutes,injector:Re._loadedInjector}):function Rn(we,je,Re,We){const _t=je.canLoad;if(void 0===_t||0===_t.length)return(0,g.of)(!0);const Ut=_t.map(ri=>{const Di=Ra(ri,we);return dt(function pr(we){return we&&ka(we.canLoad)}(Di)?Di.canLoad(je,Re):(0,i.N4e)(we,()=>Di(je,Re)))});return(0,g.of)(Ut).pipe(Ri(),ea())}(je,Re,We).pipe((0,Te.Z)(_t=>_t?this.configLoader.loadChildren(je,Re).pipe((0,o.M)(Ut=>{Re._loadedRoutes=Ut.routes,Re._loadedInjector=Ut.injector})):function Ds(){return(0,U.$)(Ui(!1,Gi.GuardRejected))}())):(0,g.of)({routes:[],injector:je})}}function us(we){const je=we.value.routeConfig;return je&&""===je.path}function so(we){const je=[],Re=new Set;for(const We of we){if(!us(We)){je.push(We);continue}const _t=je.find(Ut=>We.value.routeConfig===Ut.value.routeConfig);void 0!==_t?(_t.children.push(...We.children),Re.add(_t)):je.push(We)}for(const We of Re){const _t=so(We.children);je.push(new ia(We.value,_t))}return je.filter(We=>!Re.has(We))}function Dl(we){return we.data||{}}function qo(we){return we.resolve||{}}function Rr(we){const je=we.children.map(Re=>Rr(Re)).flat();return[we,...je]}function No(we){return(0,ue.n)(je=>{const Re=we(je);return Re?(0,T.H)(Re).pipe((0,ae.T)(()=>je)):(0,g.of)(je)})}let Il=(()=>{class we{buildTitle(Re){let We,_t=Re.root;for(;void 0!==_t;)We=this.getResolvedTitleForRoute(_t)??We,_t=_t.children.find(Ut=>Ut.outlet===be);return We}getResolvedTitleForRoute(Re){return Re.data[Be]}static \u0275fac=function(We){return new(We||we)};static \u0275prov=i.jDH({token:we,factory:()=>(0,i.WQX)(xs),providedIn:"root"})}return we})(),xs=(()=>{class we extends Il{title;constructor(Re){super(),this.title=Re}updateTitle(Re){const We=this.buildTitle(Re);void 0!==We&&this.title.setTitle(We)}static \u0275fac=function(We){return new(We||we)(i.KVO(pe.hE))};static \u0275prov=i.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();const js=new i.nKC("",{providedIn:"root",factory:()=>({})}),wn=new i.nKC("");let Ws=(()=>{class we{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,i.WQX)(p.Ql9);loadComponent(Re,We){if(this.componentLoaders.get(We))return this.componentLoaders.get(We);if(We._loadedComponent)return(0,g.of)(We._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(We);const _t=dt((0,i.N4e)(Re,()=>We.loadComponent())).pipe((0,ae.T)(el),(0,ue.n)(ml),(0,o.M)(ri=>{this.onLoadEndListener&&this.onLoadEndListener(We),We._loadedComponent=ri}),(0,I.j)(()=>{this.componentLoaders.delete(We)})),Ut=new q.G(_t,()=>new G.B).pipe((0,B.B)());return this.componentLoaders.set(We,Ut),Ut}loadChildren(Re,We){if(this.childrenLoaders.get(We))return this.childrenLoaders.get(We);if(We._loadedRoutes)return(0,g.of)({routes:We._loadedRoutes,injector:We._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(We);const Ut=function Bo(we,je,Re,We){return dt((0,i.N4e)(Re,()=>we.loadChildren())).pipe((0,ae.T)(el),(0,ue.n)(ml),(0,Te.Z)(_t=>_t instanceof p.PYt||Array.isArray(_t)?(0,g.of)(_t):(0,T.H)(je.compileModuleAsync(_t))),(0,ae.T)(_t=>{We&&We(we);let Ut,ri,Di=!1;return Array.isArray(_t)?(ri=_t,!0):(Ut=_t.create(Re).injector,ri=Ut.get(wn,[],{optional:!0,self:!0}).flat()),{routes:ri.map(cs),injector:Ut}}))}(We,this.compiler,Re,this.onLoadEndListener).pipe((0,I.j)(()=>{this.childrenLoaders.delete(We)})),ri=new q.G(Ut,()=>new G.B).pipe((0,B.B)());return this.childrenLoaders.set(We,ri),ri}static \u0275fac=function(We){return new(We||we)};static \u0275prov=i.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();function el(we){return function Xl(we){return we&&"object"==typeof we&&"default"in we}(we)?we.default:we}function ml(we){return(0,g.of)(we)}let pl=(()=>{class we{static \u0275fac=function(We){return new(We||we)};static \u0275prov=i.jDH({token:we,factory:()=>(0,i.WQX)(Co),providedIn:"root"})}return we})(),Co=(()=>{class we{shouldProcessUrl(Re){return!0}extract(Re){return Re}merge(Re,We){return Re}static \u0275fac=function(We){return new(We||we)};static \u0275prov=i.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();const gl=new i.nKC(""),hs=new i.nKC("");function Xs(we,je,Re){const We=we.get(hs),_t=we.get(i.qQL);if(!_t.startViewTransition||We.skipNextTransition)return We.skipNextTransition=!1,new Promise(On=>setTimeout(On));let Ut;const ri=new Promise(On=>{Ut=On}),Di=_t.startViewTransition(()=>(Ut(),function ta(we){return new Promise(je=>{(0,p.mal)({read:()=>setTimeout(je)},{injector:we})})}(we)));Di.ready.catch(On=>{});const{onViewTransitionCreated:Zi}=We;return Zi&&(0,i.N4e)(we,()=>Zi({transition:Di,from:je,to:Re})),ri}const zo=new i.nKC("");let Uo=(()=>{class we{currentNavigation=(0,i.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new G.B;transitionAbortWithErrorSubject=new G.B;configLoader=(0,i.WQX)(Ws);environmentInjector=(0,i.WQX)(i.uvJ);destroyRef=(0,i.WQX)(i.abz);urlSerializer=(0,i.WQX)(Qt);rootContexts=(0,i.WQX)(da);location=(0,i.WQX)(t.aZ);inputBindingEnabled=null!==(0,i.WQX)(Qr,{optional:!0});titleStrategy=(0,i.WQX)(Il);options=(0,i.WQX)(js,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,i.WQX)(pl);createViewTransition=(0,i.WQX)(gl,{optional:!0});navigationErrorHandler=(0,i.WQX)(zo,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,g.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=_t=>this.events.next(new kn(_t)),this.configLoader.onLoadStartListener=_t=>this.events.next(new Fi(_t)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(Re){const We=++this.navigationId;(0,c.O8)(()=>{this.transitions?.next({...Re,extractedUrl:this.urlHandlingStrategy.extract(Re.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:We})})}setupNavigations(Re){return this.transitions=new d.t(null),this.transitions.pipe((0,me.p)(We=>null!==We),(0,ue.n)(We=>{let _t=!1;return(0,g.of)(We).pipe((0,ue.n)(Ut=>{if(this.navigationId>We.id)return this.cancelNavigationTransition(We,"",Gi.SupersededByNewNavigation),K.w;this.currentTransition=We,this.currentNavigation.set({id:Ut.id,initialUrl:Ut.rawUrl,extractedUrl:Ut.extractedUrl,targetBrowserUrl:"string"==typeof Ut.extras.browserUrl?this.urlSerializer.parse(Ut.extras.browserUrl):Ut.extras.browserUrl,trigger:Ut.source,extras:Ut.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>Ut.abortController.abort()});const ri=!Re.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!ri&&"reload"!==(Ut.extras.onSameUrlNavigation??Re.onSameUrlNavigation))return this.events.next(new Yi(Ut.id,this.urlSerializer.serialize(Ut.rawUrl),"",Ci.IgnoredSameUrlNavigation)),Ut.resolve(!1),K.w;if(this.urlHandlingStrategy.shouldProcessUrl(Ut.rawUrl))return(0,g.of)(Ut).pipe((0,ue.n)(Zi=>(this.events.next(new Fn(Zi.id,this.urlSerializer.serialize(Zi.extractedUrl),Zi.source,Zi.restoredState)),Zi.id!==this.navigationId?K.w:Promise.resolve(Zi))),function Al(we,je,Re,We,_t,Ut){return(0,Te.Z)(ri=>function dl(we,je,Re,We,_t,Ut,ri="emptyOnly"){return new jl(we,je,Re,We,_t,ri,Ut).recognize()}(we,je,Re,We,ri.extractedUrl,_t,Ut).pipe((0,ae.T)(({state:Di,tree:Zi})=>({...ri,targetSnapshot:Di,urlAfterRedirects:Zi}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Re.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,o.M)(Zi=>{We.targetSnapshot=Zi.targetSnapshot,We.urlAfterRedirects=Zi.urlAfterRedirects,this.currentNavigation.update(Ma=>(Ma.finalUrl=Zi.urlAfterRedirects,Ma));const On=new ji(Zi.id,this.urlSerializer.serialize(Zi.extractedUrl),this.urlSerializer.serialize(Zi.urlAfterRedirects),Zi.targetSnapshot);this.events.next(On)}));if(ri&&this.urlHandlingStrategy.shouldProcessUrl(Ut.currentRawUrl)){const{id:Zi,extractedUrl:On,source:Ma,restoredState:yr,extras:Ur}=Ut,co=new Fn(Zi,this.urlSerializer.serialize(On),Ma,yr);this.events.next(co);const ts=xa(this.rootComponentType).snapshot;return this.currentTransition=We={...Ut,targetSnapshot:ts,urlAfterRedirects:On,extras:{...Ur,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(Qs=>(Qs.finalUrl=On,Qs)),(0,g.of)(We)}return this.events.next(new Yi(Ut.id,this.urlSerializer.serialize(Ut.extractedUrl),"",Ci.IgnoredByUrlHandlingStrategy)),Ut.resolve(!1),K.w}),(0,o.M)(Ut=>{const ri=new Me(Ut.id,this.urlSerializer.serialize(Ut.extractedUrl),this.urlSerializer.serialize(Ut.urlAfterRedirects),Ut.targetSnapshot);this.events.next(ri)}),(0,ae.T)(Ut=>(this.currentTransition=We={...Ut,guards:Aa(Ut.targetSnapshot,Ut.currentSnapshot,this.rootContexts)},We)),function _i(we,je){return(0,Te.Z)(Re=>{const{targetSnapshot:We,currentSnapshot:_t,guards:{canActivateChecks:Ut,canDeactivateChecks:ri}}=Re;return 0===ri.length&&0===Ut.length?(0,g.of)({...Re,guardsResult:!0}):function Li(we,je,Re,We){return(0,T.H)(we).pipe((0,Te.Z)(_t=>function mi(we,je,Re,We,_t){const Ut=je&&je.routeConfig?je.routeConfig.canDeactivate:null;if(!Ut||0===Ut.length)return(0,g.of)(!0);const ri=Ut.map(Di=>{const Zi=fn(je)??_t,On=Ra(Di,Zi);return dt(function ao(we){return we&&ka(we.canDeactivate)}(On)?On.canDeactivate(we,je,Re,We):(0,i.N4e)(Zi,()=>On(we,je,Re,We))).pipe((0,D.$)())});return(0,g.of)(ri).pipe(Ri())}(_t.component,_t.route,Re,je,We)),(0,D.$)(_t=>!0!==_t,!0))}(ri,We,_t,we).pipe((0,Te.Z)(Di=>Di&&function Ka(we){return"boolean"==typeof we}(Di)?function vn(we,je,Re,We){return(0,T.H)(je).pipe((0,n.H)(_t=>(0,P.x)(function st(we,je){return null!==we&&je&&je(new ca(we)),(0,g.of)(!0)}(_t.route.parent,We),function Je(we,je){return null!==we&&je&&je(new mn(we)),(0,g.of)(!0)}(_t.route,We),function At(we,je,Re){const We=je[je.length-1],Ut=je.slice(0,je.length-1).reverse().map(ri=>function tr(we){const je=we.routeConfig?we.routeConfig.canActivateChild:null;return je&&0!==je.length?{node:we,guards:je}:null}(ri)).filter(ri=>null!==ri).map(ri=>(0,M.v)(()=>{const Di=ri.guards.map(Zi=>{const On=fn(ri.node)??Re,Ma=Ra(Zi,On);return dt(function ds(we){return we&&ka(we.canActivateChild)}(Ma)?Ma.canActivateChild(We,we):(0,i.N4e)(On,()=>Ma(We,we))).pipe((0,D.$)())});return(0,g.of)(Di).pipe(Ri())}));return(0,g.of)(Ut).pipe(Ri())}(we,_t.path,Re),function He(we,je,Re){const We=je.routeConfig?je.routeConfig.canActivate:null;if(!We||0===We.length)return(0,g.of)(!0);const _t=We.map(Ut=>(0,M.v)(()=>{const ri=fn(je)??Re,Di=Ra(Ut,ri);return dt(function gr(we){return we&&ka(we.canActivate)}(Di)?Di.canActivate(je,we):(0,i.N4e)(ri,()=>Di(je,we))).pipe((0,D.$)())}));return(0,g.of)(_t).pipe(Ri())}(we,_t.route,Re))),(0,D.$)(_t=>!0!==_t,!0))}(We,Ut,we,je):(0,g.of)(Di)),(0,ae.T)(Di=>({...Re,guardsResult:Di})))})}(this.environmentInjector,Ut=>this.events.next(Ut)),(0,o.M)(Ut=>{if(We.guardsResult=Ut.guardsResult,Ut.guardsResult&&"boolean"!=typeof Ut.guardsResult)throw Ii(0,Ut.guardsResult);const ri=new mt(Ut.id,this.urlSerializer.serialize(Ut.extractedUrl),this.urlSerializer.serialize(Ut.urlAfterRedirects),Ut.targetSnapshot,!!Ut.guardsResult);this.events.next(ri)}),(0,me.p)(Ut=>!!Ut.guardsResult||(this.cancelNavigationTransition(Ut,"",Gi.GuardRejected),!1)),No(Ut=>{if(0!==Ut.guards.canActivateChecks.length)return(0,g.of)(Ut).pipe((0,o.M)(ri=>{const Di=new vt(ri.id,this.urlSerializer.serialize(ri.extractedUrl),this.urlSerializer.serialize(ri.urlAfterRedirects),ri.targetSnapshot);this.events.next(Di)}),(0,ue.n)(ri=>{let Di=!1;return(0,g.of)(ri).pipe(function Ll(we,je){return(0,Te.Z)(Re=>{const{targetSnapshot:We,guards:{canActivateChecks:_t}}=Re;if(!_t.length)return(0,g.of)(Re);const Ut=new Set(_t.map(Zi=>Zi.route)),ri=new Set;for(const Zi of Ut)if(!ri.has(Zi))for(const On of Rr(Zi))ri.add(On);let Di=0;return(0,T.H)(ri).pipe((0,n.H)(Zi=>Ut.has(Zi)?function hl(we,je,Re,We){const _t=we.routeConfig,Ut=we._resolve;return void 0!==_t?.title&&!or(_t)&&(Ut[Be]=_t.title),(0,M.v)(()=>(we.data=wr(we,we.parent,Re).resolve,function fl(we,je,Re,We){const _t=ve(we);if(0===_t.length)return(0,g.of)({});const Ut={};return(0,T.H)(_t).pipe((0,Te.Z)(ri=>function oo(we,je,Re,We){const _t=fn(je)??We,Ut=Ra(we,_t);return dt(Ut.resolve?Ut.resolve(je,Re):(0,i.N4e)(_t,()=>Ut(je,Re)))}(we[ri],je,Re,We).pipe((0,D.$)(),(0,o.M)(Di=>{if(Di instanceof wt)throw Ii(new di,Di);Ut[ri]=Di}))),x(1),(0,ae.T)(()=>Ut),(0,f.W)(ri=>Oa(ri)?K.w:(0,U.$)(ri)))}(Ut,we,je,We).pipe((0,ae.T)(ri=>(we._resolvedData=ri,we.data={...we.data,...ri},null)))))}(Zi,We,we,je):(Zi.data=wr(Zi,Zi.parent,we).resolve,(0,g.of)(void 0))),(0,o.M)(()=>Di++),x(1),(0,Te.Z)(Zi=>Di===ri.size?(0,g.of)(Re):K.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,o.M)({next:()=>Di=!0,complete:()=>{Di||this.cancelNavigationTransition(ri,"",Gi.NoDataFromResolver)}}))}),(0,o.M)(ri=>{const Di=new ni(ri.id,this.urlSerializer.serialize(ri.extractedUrl),this.urlSerializer.serialize(ri.urlAfterRedirects),ri.targetSnapshot);this.events.next(Di)}))}),No(Ut=>{const ri=Di=>{const Zi=[];if(Di.routeConfig?.loadComponent){const On=fn(Di)??this.environmentInjector;Zi.push(this.configLoader.loadComponent(On,Di.routeConfig).pipe((0,o.M)(Ma=>{Di.component=Ma}),(0,ae.T)(()=>{})))}for(const On of Di.children)Zi.push(...ri(On));return Zi};return(0,w.z)(ri(Ut.targetSnapshot.root)).pipe((0,b.U)(null),(0,oe.s)(1))}),No(()=>this.afterPreactivation()),(0,ue.n)(()=>{const{currentSnapshot:Ut,targetSnapshot:ri}=We,Di=this.createViewTransition?.(this.environmentInjector,Ut.root,ri.root);return Di?(0,T.H)(Di).pipe((0,ae.T)(()=>We)):(0,g.of)(We)}),(0,ae.T)(Ut=>{const ri=function Hs(we,je,Re){const We=$r(we,je._root,Re?Re._root:void 0);return new Er(We,je)}(Re.routeReuseStrategy,Ut.targetSnapshot,Ut.currentRouterState);return this.currentTransition=We={...Ut,targetRouterState:ri},this.currentNavigation.update(Di=>(Di.targetRouterState=ri,Di)),We}),(0,o.M)(()=>{this.events.next(new fi)}),((we,je,Re,We)=>(0,ae.T)(_t=>(new Jn(je,_t.targetRouterState,_t.currentRouterState,Re,We).activate(we),_t)))(this.rootContexts,Re.routeReuseStrategy,Ut=>this.events.next(Ut),this.inputBindingEnabled),(0,oe.s)(1),(0,re.Q)(new Q.c(Ut=>{const ri=We.abortController.signal,Di=()=>Ut.next();return ri.addEventListener("abort",Di),()=>ri.removeEventListener("abort",Di)}).pipe((0,me.p)(()=>!_t&&!We.targetRouterState),(0,o.M)(()=>{this.cancelNavigationTransition(We,We.abortController.signal.reason+"",Gi.Aborted)}))),(0,o.M)({next:Ut=>{_t=!0,this.lastSuccessfulNavigation=(0,c.O8)(this.currentNavigation),this.events.next(new xi(Ut.id,this.urlSerializer.serialize(Ut.extractedUrl),this.urlSerializer.serialize(Ut.urlAfterRedirects))),this.titleStrategy?.updateTitle(Ut.targetRouterState.snapshot),Ut.resolve(!0)},complete:()=>{_t=!0}}),(0,re.Q)(this.transitionAbortWithErrorSubject.pipe((0,o.M)(Ut=>{throw Ut}))),(0,I.j)(()=>{_t||this.cancelNavigationTransition(We,"",Gi.SupersededByNewNavigation),this.currentTransition?.id===We.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,f.W)(Ut=>{if(this.destroyed)return We.resolve(!1),K.w;if(_t=!0,yn(Ut))this.events.next(new Ai(We.id,this.urlSerializer.serialize(We.extractedUrl),Ut.message,Ut.cancellationCode)),function tn(we){return yn(we)&&Hi(we.url)}(Ut)?this.events.next(new Mi(Ut.url,Ut.navigationBehaviorOptions)):We.resolve(!1);else{const ri=new zt(We.id,this.urlSerializer.serialize(We.extractedUrl),Ut,We.targetSnapshot??void 0);try{const Di=(0,i.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(ri));if(!(Di instanceof wt))throw this.events.next(ri),Ut;{const{message:Zi,cancellationCode:On}=Ii(0,Di);this.events.next(new Ai(We.id,this.urlSerializer.serialize(We.extractedUrl),Zi,On)),this.events.next(new Mi(Di.redirectTo,Di.navigationBehaviorOptions))}}catch(Di){this.options.resolveNavigationPromiseOnError?We.resolve(!1):We.reject(Di)}}return K.w}))}))}cancelNavigationTransition(Re,We,_t){const Ut=new Ai(Re.id,this.urlSerializer.serialize(Re.extractedUrl),We,_t);this.events.next(Ut),Re.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const Re=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),We=(0,c.O8)(this.currentNavigation),_t=We?.targetBrowserUrl??We?.extractedUrl;return Re.toString()!==_t?.toString()&&!We?.extras.skipLocationChange}static \u0275fac=function(We){return new(We||we)};static \u0275prov=i.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();function Ks(we){return we!==Dn}let lo=(()=>{class we{static \u0275fac=function(We){return new(We||we)};static \u0275prov=i.jDH({token:we,factory:()=>(0,i.WQX)(_l),providedIn:"root"})}return we})();class Ys{shouldDetach(je){return!1}store(je,Re){}shouldAttach(je){return!1}retrieve(je){return null}shouldReuseRoute(je,Re){return je.routeConfig===Re.routeConfig}}let _l=(()=>{class we extends Ys{static \u0275fac=(()=>{let Re;return function(_t){return(Re||(Re=p.xGo(we)))(_t||we)}})();static \u0275prov=i.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Vo=(()=>{class we{urlSerializer=(0,i.WQX)(Qt);options=(0,i.WQX)(js,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,i.WQX)(t.aZ);urlHandlingStrategy=(0,i.WQX)(pl);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Z;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:Re,initialUrl:We,targetBrowserUrl:_t}){const Ut=void 0!==Re?this.urlHandlingStrategy.merge(Re,We):We,ri=_t??Ut;return ri instanceof Z?this.urlSerializer.serialize(ri):ri}commitTransition({targetRouterState:Re,finalUrl:We,initialUrl:_t}){We&&Re?(this.currentUrlTree=We,this.rawUrlTree=this.urlHandlingStrategy.merge(We,_t),this.routerState=Re):this.rawUrlTree=_t}routerState=xa(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:Re}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Re??this.rawUrlTree)}static \u0275fac=function(We){return new(We||we)};static \u0275prov=i.jDH({token:we,factory:()=>(0,i.WQX)(vl),providedIn:"root"})}return we})(),vl=(()=>{class we extends Vo{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(Re){return this.location.subscribe(We=>{"popstate"===We.type&&setTimeout(()=>{Re(We.url,We.state,"popstate")})})}handleRouterEvent(Re,We){Re instanceof Fn?this.updateStateMemento():Re instanceof Yi?this.commitTransition(We):Re instanceof ji?"eager"===this.urlUpdateStrategy&&(We.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(We),We)):Re instanceof fi?(this.commitTransition(We),"deferred"===this.urlUpdateStrategy&&!We.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(We),We)):Re instanceof Ai&&Re.code!==Gi.SupersededByNewNavigation&&Re.code!==Gi.Redirect?this.restoreHistory(We):Re instanceof zt?this.restoreHistory(We,!0):Re instanceof xi&&(this.lastSuccessfulId=Re.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Re,{extras:We,id:_t}){const{replaceUrl:Ut,state:ri}=We;if(this.location.isCurrentPathEqualTo(Re)||Ut){const Di=this.browserPageId,Zi={...ri,...this.generateNgRouterState(_t,Di)};this.location.replaceState(Re,"",Zi)}else{const Di={...ri,...this.generateNgRouterState(_t,this.browserPageId+1)};this.location.go(Re,"",Di)}}restoreHistory(Re,We=!1){if("computed"===this.canceledNavigationResolution){const Ut=this.currentPageId-this.browserPageId;0!==Ut?this.location.historyGo(Ut):this.getCurrentUrlTree()===Re.finalUrl&&0===Ut&&(this.resetInternalState(Re),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(We&&this.resetInternalState(Re),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Re,We){return"computed"===this.canceledNavigationResolution?{navigationId:Re,\u0275routerPageId:We}:{navigationId:Re}}static \u0275fac=(()=>{let Re;return function(_t){return(Re||(Re=p.xGo(we)))(_t||we)}})();static \u0275prov=i.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})();function Ho(we,je){we.events.pipe((0,me.p)(Re=>Re instanceof xi||Re instanceof Ai||Re instanceof zt||Re instanceof Yi),(0,ae.T)(Re=>Re instanceof xi||Re instanceof Yi?0:Re instanceof Ai&&(Re.code===Gi.Redirect||Re.code===Gi.SupersededByNewNavigation)?2:1),(0,me.p)(Re=>2!==Re),(0,oe.s)(1)).subscribe(()=>{je()})}const zr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},cd={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let yl=(()=>{class we{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,i.WQX)(p.C7A);stateManager=(0,i.WQX)(Vo);options=(0,i.WQX)(js,{optional:!0})||{};pendingTasks=(0,i.WQX)(i.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,i.WQX)(Uo);urlSerializer=(0,i.WQX)(Qt);location=(0,i.WQX)(t.aZ);urlHandlingStrategy=(0,i.WQX)(pl);injector=(0,i.WQX)(i.uvJ);_events=new G.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,i.WQX)(lo);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,i.WQX)(wn,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,i.WQX)(Qr,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:Re=>{this.console.warn(Re)}}),this.subscribeToNavigationEvents()}eventsSubscription=new $.yU;subscribeToNavigationEvents(){const Re=this.navigationTransitions.events.subscribe(We=>{try{const _t=this.navigationTransitions.currentTransition,Ut=(0,c.O8)(this.navigationTransitions.currentNavigation);if(null!==_t&&null!==Ut)if(this.stateManager.handleRouterEvent(We,Ut),We instanceof Ai&&We.code!==Gi.Redirect&&We.code!==Gi.SupersededByNewNavigation)this.navigated=!0;else if(We instanceof xi)this.navigated=!0;else if(We instanceof Mi){const ri=We.navigationBehaviorOptions,Di=this.urlHandlingStrategy.merge(We.url,_t.currentRawUrl),Zi={browserUrl:_t.extras.browserUrl,info:_t.extras.info,skipLocationChange:_t.extras.skipLocationChange,replaceUrl:_t.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Ks(_t.source),...ri};this.scheduleNavigation(Di,Dn,null,Zi,{resolve:_t.resolve,reject:_t.reject,promise:_t.promise})}(function en(we){return!(we instanceof fi||we instanceof Mi)})(We)&&this._events.next(We)}catch(_t){this.navigationTransitions.transitionAbortWithErrorSubject.next(_t)}});this.eventsSubscription.add(Re)}resetRootComponentType(Re){this.routerState.root.component=Re,this.navigationTransitions.rootComponentType=Re}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Dn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((Re,We,_t)=>{this.navigateToSyncWithBrowser(Re,_t,We)})}navigateToSyncWithBrowser(Re,We,_t){const Ut={replaceUrl:!0},ri=_t?.navigationId?_t:null;if(_t){const Zi={..._t};delete Zi.navigationId,delete Zi.\u0275routerPageId,0!==Object.keys(Zi).length&&(Ut.state=Zi)}const Di=this.parseUrl(Re);this.scheduleNavigation(Di,We,ri,Ut).catch(Zi=>{this.disposed||this.injector.get(i.ZTf)(Zi)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,c.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Re){this.config=Re.map(cs),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(Re,We={}){const{relativeTo:_t,queryParams:Ut,fragment:ri,queryParamsHandling:Di,preserveFragment:Zi}=We,On=Zi?this.currentUrlTree.fragment:ri;let yr,Ma=null;switch(Di??this.options.defaultQueryParamsHandling){case"merge":Ma={...this.currentUrlTree.queryParams,...Ut};break;case"preserve":Ma=this.currentUrlTree.queryParams;break;default:Ma=Ut||null}null!==Ma&&(Ma=this.removeEmptyProps(Ma));try{yr=ui(_t?_t.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Re[0]||"/"!==Re[0][0])&&(Re=[]),yr=this.currentUrlTree.root}return ln(yr,Re,Ma,On??null)}navigateByUrl(Re,We={skipLocationChange:!1}){const _t=Hi(Re)?Re:this.parseUrl(Re),Ut=this.urlHandlingStrategy.merge(_t,this.rawUrlTree);return this.scheduleNavigation(Ut,Dn,null,We)}navigate(Re,We={skipLocationChange:!1}){return function jc(we){for(let je=0;je<we.length;je++)if(null==we[je])throw new i.buA(4008,!1)}(Re),this.navigateByUrl(this.createUrlTree(Re,We),We)}serializeUrl(Re){return this.urlSerializer.serialize(Re)}parseUrl(Re){try{return this.urlSerializer.parse(Re)}catch{return this.console.warn((0,i.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(Re,We){let _t;if(_t=!0===We?{...zr}:!1===We?{...cd}:We,Hi(Re))return Mt(this.currentUrlTree,Re,_t);const Ut=this.parseUrl(Re);return Mt(this.currentUrlTree,Ut,_t)}removeEmptyProps(Re){return Object.entries(Re).reduce((We,[_t,Ut])=>(null!=Ut&&(We[_t]=Ut),We),{})}scheduleNavigation(Re,We,_t,Ut,ri){if(this.disposed)return Promise.resolve(!1);let Di,Zi,On;ri?(Di=ri.resolve,Zi=ri.reject,On=ri.promise):On=new Promise((yr,Ur)=>{Di=yr,Zi=Ur});const Ma=this.pendingTasks.add();return Ho(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Ma))}),this.navigationTransitions.handleNavigationRequest({source:We,restoredState:_t,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Re,extras:Ut,resolve:Di,reject:Zi,promise:On,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),On.catch(yr=>Promise.reject(yr))}static \u0275fac=function(We){return new(We||we)};static \u0275prov=i.jDH({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})()},44068:(Ae,ee,l)=>{"use strict";var i=l(89999),t=l(97594),p=l(48128),S=l(12773),c=l(83798),e=l(91627),T=S("Object.prototype.toString"),g=l(88779)(),d=typeof globalThis>"u"?global:globalThis,w=t(),m=S("String.prototype.slice"),P=S("Array.prototype.indexOf",!0)||function(q,G){for(var Q=0;Q<q.length;Q+=1)if(q[Q]===G)return Q;return-1},M={__proto__:null};i(w,g&&c&&e?function(K){var q=new d[K];if(Symbol.toStringTag in q&&e){var G=e(q),Q=c(G,Symbol.toStringTag);if(!Q&&G){var $=e(G);Q=c($,Symbol.toStringTag)}if(Q&&Q.get){var ae=p(Q.get);M["$"+K]=ae}}}:function(K){var q=new d[K],G=q.slice||q.set;if(G){var Q=p(G);M["$"+K]=Q}}),Ae.exports=function(q){if(!q||"object"!=typeof q)return!1;if(!g){var G=m(T(q),8,-1);return P(w,G)>-1?G:"Object"===G&&function(q){var G=!1;return i(M,function(Q,$){if(!G)try{Q(q),G=m($,1)}catch{}}),G}(q)}return c?function(q){var G=!1;return i(M,function(Q,$){if(!G)try{"$"+Q(q)===$&&(G=m($,1))}catch{}}),G}(q):null}},44356:Ae=>{"use strict";var i,ee="object"==typeof Reflect?Reflect:null,l=ee&&"function"==typeof ee.apply?ee.apply:function($,ae,ue){return Function.prototype.apply.call($,ae,ue)};i=ee&&"function"==typeof ee.ownKeys?ee.ownKeys:Object.getOwnPropertySymbols?function($){return Object.getOwnPropertyNames($).concat(Object.getOwnPropertySymbols($))}:function($){return Object.getOwnPropertyNames($)};var p=Number.isNaN||function($){return $!=$};function S(){S.init.call(this)}Ae.exports=S,Ae.exports.once=function K(Q,$){return new Promise(function(ae,ue){function oe(me){Q.removeListener($,he),ue(me)}function he(){"function"==typeof Q.removeListener&&Q.removeListener("error",oe),ae([].slice.call(arguments))}G(Q,$,he,{once:!0}),"error"!==$&&function q(Q,$,ae){"function"==typeof Q.on&&G(Q,"error",$,ae)}(Q,oe,{once:!0})})},S.EventEmitter=S,S.prototype._events=void 0,S.prototype._eventsCount=0,S.prototype._maxListeners=void 0;var c=10;function e(Q){if("function"!=typeof Q)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Q)}function T(Q){return void 0===Q._maxListeners?S.defaultMaxListeners:Q._maxListeners}function g(Q,$,ae,ue){var oe,he,me;if(e(ae),void 0===(he=Q._events)?(he=Q._events=Object.create(null),Q._eventsCount=0):(void 0!==he.newListener&&(Q.emit("newListener",$,ae.listener?ae.listener:ae),he=Q._events),me=he[$]),void 0===me)me=he[$]=ae,++Q._eventsCount;else if("function"==typeof me?me=he[$]=ue?[ae,me]:[me,ae]:ue?me.unshift(ae):me.push(ae),(oe=T(Q))>0&&me.length>oe&&!me.warned){me.warned=!0;var Te=new Error("Possible EventEmitter memory leak detected. "+me.length+" "+String($)+" listeners added. Use emitter.setMaxListeners() to increase limit");Te.name="MaxListenersExceededWarning",Te.emitter=Q,Te.type=$,Te.count=me.length,function t(Q){console&&console.warn&&console.warn(Q)}(Te)}return Q}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function w(Q,$,ae){var ue={fired:!1,wrapFn:void 0,target:Q,type:$,listener:ae},oe=d.bind(ue);return oe.listener=ae,ue.wrapFn=oe,oe}function m(Q,$,ae){var ue=Q._events;if(void 0===ue)return[];var oe=ue[$];return void 0===oe?[]:"function"==typeof oe?ae?[oe.listener||oe]:[oe]:ae?function U(Q){for(var $=new Array(Q.length),ae=0;ae<$.length;++ae)$[ae]=Q[ae].listener||Q[ae];return $}(oe):M(oe,oe.length)}function P(Q){var $=this._events;if(void 0!==$){var ae=$[Q];if("function"==typeof ae)return 1;if(void 0!==ae)return ae.length}return 0}function M(Q,$){for(var ae=new Array($),ue=0;ue<$;++ue)ae[ue]=Q[ue];return ae}function G(Q,$,ae,ue){if("function"==typeof Q.on)ue.once?Q.once($,ae):Q.on($,ae);else{if("function"!=typeof Q.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Q);Q.addEventListener($,function oe(he){ue.once&&Q.removeEventListener($,oe),ae(he)})}}Object.defineProperty(S,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(Q){if("number"!=typeof Q||Q<0||p(Q))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Q+".");c=Q}}),S.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},S.prototype.setMaxListeners=function($){if("number"!=typeof $||$<0||p($))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+$+".");return this._maxListeners=$,this},S.prototype.getMaxListeners=function(){return T(this)},S.prototype.emit=function($){for(var ae=[],ue=1;ue<arguments.length;ue++)ae.push(arguments[ue]);var oe="error"===$,he=this._events;if(void 0!==he)oe=oe&&void 0===he.error;else if(!oe)return!1;if(oe){var me;if(ae.length>0&&(me=ae[0]),me instanceof Error)throw me;var Te=new Error("Unhandled error."+(me?" ("+me.message+")":""));throw Te.context=me,Te}var D=he[$];if(void 0===D)return!1;if("function"==typeof D)l(D,this,ae);else{var n=D.length,o=M(D,n);for(ue=0;ue<n;++ue)l(o[ue],this,ae)}return!0},S.prototype.on=S.prototype.addListener=function($,ae){return g(this,$,ae,!1)},S.prototype.prependListener=function($,ae){return g(this,$,ae,!0)},S.prototype.once=function($,ae){return e(ae),this.on($,w(this,$,ae)),this},S.prototype.prependOnceListener=function($,ae){return e(ae),this.prependListener($,w(this,$,ae)),this},S.prototype.off=S.prototype.removeListener=function($,ae){var ue,oe,he,me,Te;if(e(ae),void 0===(oe=this._events))return this;if(void 0===(ue=oe[$]))return this;if(ue===ae||ue.listener===ae)0===--this._eventsCount?this._events=Object.create(null):(delete oe[$],oe.removeListener&&this.emit("removeListener",$,ue.listener||ae));else if("function"!=typeof ue){for(he=-1,me=ue.length-1;me>=0;me--)if(ue[me]===ae||ue[me].listener===ae){Te=ue[me].listener,he=me;break}if(he<0)return this;0===he?ue.shift():function j(Q,$){for(;$+1<Q.length;$++)Q[$]=Q[$+1];Q.pop()}(ue,he),1===ue.length&&(oe[$]=ue[0]),void 0!==oe.removeListener&&this.emit("removeListener",$,Te||ae)}return this},S.prototype.removeAllListeners=function($){var ae,ue,oe;if(void 0===(ue=this._events))return this;if(void 0===ue.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==ue[$]&&(0===--this._eventsCount?this._events=Object.create(null):delete ue[$]),this;if(0===arguments.length){var me,he=Object.keys(ue);for(oe=0;oe<he.length;++oe)"removeListener"!==(me=he[oe])&&this.removeAllListeners(me);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ae=ue[$]))this.removeListener($,ae);else if(void 0!==ae)for(oe=ae.length-1;oe>=0;oe--)this.removeListener($,ae[oe]);return this},S.prototype.listeners=function($){return m(this,$,!0)},S.prototype.rawListeners=function($){return m(this,$,!1)},S.listenerCount=function(Q,$){return"function"==typeof Q.listenerCount?Q.listenerCount($):P.call(Q,$)},S.prototype.listenerCount=P,S.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},44522:(Ae,ee,l)=>{"use strict";let i;function p(e){if(function t(){if(null==i){const e=typeof document<"u"?document.head:null;i=!(!e||!e.createShadowRoot&&!e.attachShadow)}return i}()){const T=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&T instanceof ShadowRoot)return T}return null}function S(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){const T=e.shadowRoot.activeElement;if(T===e)break;e=T}return e}function c(e){return e.composedPath?e.composedPath()[0]:e.target}l.d(ee,{Fb:()=>c,KT:()=>p,vc:()=>S})},45225:(Ae,ee,l)=>{"use strict";function i(t,p,S,c=0,e=!1){const T=p.schedule(function(){S(),e?t.add(this.schedule(null,c)):this.unsubscribe()},c);if(t.add(T),!e)return T}l.d(ee,{N:()=>i})},45310:Ae=>{"use strict";Ae.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var l={},i=Symbol("test"),t=Object(i);if("string"==typeof i||"[object Symbol]"!==Object.prototype.toString.call(i)||"[object Symbol]"!==Object.prototype.toString.call(t))return!1;for(var S in l[i]=42,l)return!1;if("function"==typeof Object.keys&&0!==Object.keys(l).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(l).length)return!1;var c=Object.getOwnPropertySymbols(l);if(1!==c.length||c[0]!==i||!Object.prototype.propertyIsEnumerable.call(l,i))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var e=Object.getOwnPropertyDescriptor(l,i);if(42!==e.value||!0!==e.enumerable)return!1}return!0}},45334:(Ae,ee,l)=>{"use strict";l.d(ee,{m:()=>p});var i=l(41026),t=l(19270);function p(S){t.f.setTimeout(()=>{const{onUnhandledError:c}=i.$;if(!c)throw S;c(S)})}},45383:(Ae,ee,l)=>{"use strict";l.d(ee,{$$g:()=>f1,$Fj:()=>Hc,$sC:()=>Qy,BA1:()=>Gi,C8j:()=>Lr,CQO:()=>K0,Ccf:()=>o9,D6w:()=>g5,DW4:()=>n_,EvL:()=>_,FYJ:()=>tt,GR4:()=>J,GRI:()=>Zf,HEq:()=>In,If6:()=>Ji,Int:()=>v8,JKM:()=>Dc,Kcb:()=>ba,M29:()=>my,McB:()=>zy,Mf0:()=>bl,MjD:()=>ea,Oh6:()=>hb,QLR:()=>a9,TBz:()=>Ky,Tq9:()=>Pu,Vpi:()=>P,VwO:()=>yp,W1p:()=>rm,WKo:()=>ao,WxX:()=>Mu,Xbc:()=>Oo,_eQ:()=>js,_qq:()=>_p,aAJ:()=>Ya,aFw:()=>h_,cbP:()=>Yd,dB:()=>m3,e4L:()=>c6,eGi:()=>df,f6_:()=>X1,gdJ:()=>$c,hb3:()=>kd,iW_:()=>Eb,iy8:()=>oy,jPR:()=>q9,jTw:()=>hf,k02:()=>fn,k6j:()=>dy,knH:()=>Td,ld_:()=>B0,njF:()=>ib,nsx:()=>Gy,o97:()=>Sa,pCJ:()=>ui,pS3:()=>we,peG:()=>wg,qFF:()=>Ru,qIE:()=>Db,s5m:()=>S1,vfE:()=>K_,xiI:()=>hp,ymQ:()=>oa,zPk:()=>nd,zjW:()=>w0,zm_:()=>l9,zpE:()=>$8});var P={prefix:"fas",iconName:"dollar-sign",icon:[320,512,[128178,61781,"dollar","usd"],"24","M136 24c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 56 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-114.9 0c-24.9 0-45.1 20.2-45.1 45.1 0 22.5 16.5 41.5 38.7 44.7l91.6 13.1c53.8 7.7 93.7 53.7 93.7 108 0 60.3-48.9 109.1-109.1 109.1l-10.9 0 0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40-72 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l130.9 0c24.9 0 45.1-20.2 45.1-45.1 0-22.5-16.5-41.5-38.7-44.7l-91.6-13.1C55.9 273.5 16 227.4 16 173.1 16 112.9 64.9 64 125.1 64l10.9 0 0-40z"]},_={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M64 160c0-53 43-96 96-96s96 43 96 96c0 42.7-27.9 78.9-66.5 91.4-28.4 9.2-61.5 35.3-61.5 76.6l0 24c0 17.7 14.3 32 32 32s32-14.3 32-32l0-24c0-1.7 .6-4.1 3.5-7.3 3-3.3 7.9-6.5 13.7-8.4 64.3-20.7 110.8-81 110.8-152.3 0-88.4-71.6-160-160-160S0 71.6 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm96 352c22.1 0 40-17.9 40-40s-17.9-40-40-40-40 17.9-40 40 17.9 40 40 40z"]},J={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.3l0 294.7 160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-384 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 288L584.4 320 512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9-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.1-10.8 44.8-63.1 78.9-126 78.9zM126.8 195.8L54.4 320 199.3 320 126.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.1-10.8 44.8-63.1 78.9-126 78.9S11.7 382 .9 337.1z"]},tt={prefix:"fas",iconName:"indian-rupee-sign",icon:[320,512,["indian-rupee","inr"],"e1bc","M0 64C0 46.3 14.3 32 32 32l264 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-76.7 0c17.7 19.8 30.1 44.6 34.7 72l42 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-42 0c-10.4 62.2-60.8 110.9-123.8 118.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 0c35.8 0 66.1-23.5 76.3-56L24 200c-13.3 0-24-10.7-24-24s10.7-24 24-24l164.3 0c-10.2-32.5-40.5-56-76.3-56L32 96C14.3 96 0 81.7 0 64z"]},ui={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M286 304c98.5 0 178.3 79.8 178.3 178.3 0 16.4-13.3 29.7-29.7 29.7L78 512c-16.4 0-29.7-13.3-29.7-29.7 0-98.5 79.8-178.3 178.3-178.3l59.4 0zM585.7 105.9c7.8-10.7 22.8-13.1 33.5-5.3s13.1 22.8 5.3 33.5L522.1 274.9c-4.2 5.7-10.7 9.4-17.7 9.8s-14-2.2-18.9-7.3l-46.4-48c-9.2-9.5-9-24.7 .6-33.9 9.5-9.2 24.7-8.9 33.9 .6l26.5 27.4 85.6-117.7zM256.3 248a120 120 0 1 1 0-240 120 120 0 1 1 0 240z"]},Ji={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[448,512,[],"e4c1","M265.4-6.6c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L285.3 64 352 64c53 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-66.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-80zm-82.7 272l80 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.3L162.7 400 96 400c-17.7 0-32 14.3-32 32l0 32c0 17.7-14.3 32-32 32S0 481.7 0 464l0-32c0-53 43-96 96-96l66.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM320 368a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM64 160a64 64 0 1 1 0-128 64 64 0 1 1 0 128z"]},Gi={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-192c0-35.3-28.7-64-64-64L72 128c-13.3 0-24-10.7-24-24S58.7 80 72 80l384 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L64 32zM416 256a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},fn={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M290.4 19.8C295.4 7.8 307.1 0 320 0L480 0c17.7 0 32 14.3 32 32l0 160c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9L400 157.3 246.6 310.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L354.7 112 297.4 54.6c-9.2-9.2-11.9-22.9-6.9-34.9zM0 176c0-44.2 35.8-80 80-80l80 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-80 0c-8.8 0-16 7.2-16 16l0 256c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-80c0-17.7 14.3-32 32-32s32 14.3 32 32l0 80c0 44.2-35.8 80-80 80L80 512c-44.2 0-80-35.8-80-80L0 176z"]},Sa={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"]},ao={prefix:"fas",iconName:"percent",icon:[448,512,[62101,62785,"percentage"],"25","M192 128a96 96 0 1 0 -192 0 96 96 0 1 0 192 0zM448 384a96 96 0 1 0 -192 0 96 96 0 1 0 192 0zM438.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-384 384c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l384-384z"]},ea={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 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Oo={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 70.7 176 0c26.5 0 48-21.5 48-48l0-22.7c-28.3-12.3-48-40.5-48-73.3 0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3l0 22.7c0 61.9-50.1 112-112 112l-176 0 0 70.7c28.3 12.3 48 40.5 48 73.3 0 44.2-35.8 80-80 80S0 476.2 0 432c0-32.8 19.7-61 48-73.3l0-205.3C19.7 141 0 112.8 0 80 0 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"]},js={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M480.5 10.3L259.1 158c-29.1 19.4-47.6 50.9-50.6 85.3 62.3 12.8 111.4 61.9 124.3 124.3 34.5-3 65.9-21.5 85.3-50.6L565.7 95.5c6.7-10.1 10.3-21.9 10.3-34.1 0-33.9-27.5-61.4-61.4-61.4-12.1 0-24 3.6-34.1 10.3zM288 400c0-61.9-50.1-112-112-112S64 338.1 64 400c0 3.9 .2 7.8 .6 11.6 1.8 17.5-10.2 36.4-27.8 36.4L32 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0c61.9 0 112-50.1 112-112z"]},we={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z"]},bl={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.2-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6S384 14.6 384 24l0 464c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6l-40.4-34.6-40.4 34.6c-9 7.7-22.2 7.7-31.2 0l-40.4-34.6-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.2zM104 136c-13.3 0-24 10.7-24 24s10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0zM80 352c0 13.3 10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0c-13.3 0-24 10.7-24 24zm24-120c-13.3 0-24 10.7-24 24s10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0z"]},In={prefix:"fas",iconName:"unlock-keyhole",icon:[384,512,["unlock-alt"],"f13e","M192 32c-35.3 0-64 28.7-64 64l0 64 192 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l0-64c0-70.7 57.3-128 128-128 63.5 0 116.1 46.1 126.2 106.7 2.9 17.4-8.8 33.9-26.3 36.9s-33.9-8.8-36.9-26.3C250 55.1 223.7 32 192 32zm40 328c13.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 24l80 0z"]},Lr={prefix:"fas",iconName:"infinity",icon:[640,512,[8734,9854],"f534","M0 256c0-88.4 71.6-160 160-160 50.4 0 97.8 23.7 128 64l32 42.7 32-42.7c30.2-40.3 77.6-64 128-64 88.4 0 160 71.6 160 160S568.4 416 480 416c-50.4 0-97.8-23.7-128-64l-32-42.7-32 42.7c-30.2 40.3-77.6 64-128 64-88.4 0-160-71.6-160-160zm280 0l-43.2-57.6c-18.1-24.2-46.6-38.4-76.8-38.4-53 0-96 43-96 96s43 96 96 96c30.2 0 58.7-14.2 76.8-38.4L280 256zm80 0l43.2 57.6c18.1 24.2 46.6 38.4 76.8 38.4 53 0 96-43 96-96s-43-96-96-96c-30.2 0-58.7 14.2-76.8 38.4L360 256z"]},$c={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M320 16a104 104 0 1 1 0 208 104 104 0 1 1 0-208zM96 88a72 72 0 1 1 0 144 72 72 0 1 1 0-144zM0 416c0-70.7 57.3-128 128-128 12.8 0 25.2 1.9 36.9 5.4-32.9 36.8-52.9 85.4-52.9 138.6l0 16c0 11.4 2.4 22.2 6.7 32L32 480c-17.7 0-32-14.3-32-32l0-32zm521.3 64c4.3-9.8 6.7-20.6 6.7-32l0-16c0-53.2-20-101.8-52.9-138.6 11.7-3.5 24.1-5.4 36.9-5.4 70.7 0 128 57.3 128 128l0 32c0 17.7-14.3 32-32 32l-86.7 0zM472 160a72 72 0 1 1 144 0 72 72 0 1 1 -144 0zM160 432c0-88.4 71.6-160 160-160s160 71.6 160 160l0 16c0 17.7-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32l0-16z"]},f1={prefix:"fas",iconName:"pen-ruler",icon:[512,512,["pencil-ruler"],"f5ae","M404 0c19.2 0 37.6 7.6 51.1 21.2l35.7 35.7C504.4 70.4 512 88.8 512 108s-7.6 37.6-21.2 51.1L445.9 204 308 66.1 352.9 21.2C366.4 7.6 384.8 0 404 0zM58.9 315.1L274.1 100 412 237.9 196.9 453.1c-10.7 10.7-24.1 18.5-38.7 22.6L30.4 511.1c-8.3 2.3-17.3 0-23.4-6.2s-8.5-15.1-6.2-23.4L36.4 353.8c4.1-14.6 11.8-27.9 22.6-38.7zM225.4 80.8L80.8 225.4 11.7 156.3c-15.6-15.6-15.6-40.9 0-56.6l88-88c15.6-15.6 40.9-15.6 56.6 0l5.9 5.9-56.3 56.3c-7.8 7.8-7.8 20.5 0 28.3s20.5 7.8 28.3 0l56.3-56.3 34.9 34.9zM431.2 286.6l34.9 34.9-56.3 56.3c-7.8 7.8-7.8 20.5 0 28.3s20.5 7.8 28.3 0l56.3-56.3 5.9 5.9c15.6 15.6 15.6 40.9 0 56.6l-88 88c-15.6 15.6-40.9 15.6-56.6 0l-69.1-69.1 144.6-144.6z"]},Dc={prefix:"fas",iconName:"won-sign",icon:[512,512,[8361,"krw","won"],"f159","M62.4 53.9C56.8 37.1 38.7 28.1 21.9 33.6S-3.9 57.4 1.7 74.1L56.9 240 32 240c-13.3 0-24 10.7-24 24s10.7 24 24 24l40.9 0 56.7 170.1c4.5 13.5 17.4 22.4 31.6 21.9s26.4-10.4 29.8-24.2L233 288 279 288 321 455.8c3.4 13.8 15.6 23.7 29.8 24.2s27.1-8.4 31.6-21.9L439.1 288 480 288c13.3 0 24-10.7 24-24s-10.7-24-24-24l-24.9 0 55.3-165.9c5.6-16.8-3.5-34.9-20.2-40.5s-34.9 3.5-40.5 20.2l-62 186.1-54.6 0-45.9-183.8C283.5 42 270.7 32 256 32s-27.5 10-31 24.2L179 240 124.4 240 62.4 53.9zm78 234.1l26.6 0-11.4 45.6-15.2-45.6zM245 240l11-44.1 11 44.1-22 0zm100 48l26.6 0-15.2 45.6-11.4-45.6z"]},w0={prefix:"fas",iconName:"franc-sign",icon:[320,512,[],"e18f","M80 32C62.3 32 48 46.3 48 64l0 256-24 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 80c0 17.7 14.3 32 32 32s32-14.3 32-32l0-80 88 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-88 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"]},Td={prefix:"fas",iconName:"signs-post",icon:[512,512,["map-signs"],"f277","M256.4 0c-17.7 0-32 14.3-32 32l0 32-160 0c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32l160 0 0 64-153.4 0c-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.7l153.4 0 0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96 160 0c17.7 0 32-14.3 32-32l0-64c0-17.7-14.3-32-32-32l-160 0 0-64 153.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.7l-153.4 0 0-32c0-17.7-14.3-32-32-32z"]},kd={prefix:"fas",iconName:"turkish-lira-sign",icon:[448,512,["try","turkish-lira"],"e2bb","M160 32c17.7 0 32 14.3 32 32l0 43.6 121.4-34.7c12.7-3.6 26 3.7 29.7 16.5s-3.7 26-16.5 29.7l-134.6 38.5 0 46.1 121.4-34.7c12.7-3.6 26 3.7 29.7 16.5s-3.7 26-16.5 29.7l-134.6 38.5 0 162.5 72 0c53 0 96-43 96-96 0-17.7 14.3-32 32-32s32 14.3 32 32c0 88.4-71.6 160-160 160l-104 0c-17.7 0-32-14.3-32-32l0-176.2-25.4 7.3c-12.7 3.6-26-3.7-29.7-16.5s3.7-26 16.5-29.7l38.6-11 0-46.1-25.4 7.3c-12.7 3.6-26-3.7-29.7-16.5s3.7-26 16.5-29.7l38.6-11 0-61.9c0-17.7 14.3-32 32-32z"]},B0={prefix:"fas",iconName:"user-clock",icon:[576,512,[],"f4fd","M224 8a120 120 0 1 1 0 240 120 120 0 1 1 0-240zM194.3 304l59.4 0c3.9 0 7.9 .1 11.8 .4-16.2 28.2-25.5 60.8-25.5 95.6 0 41.8 13.4 80.5 36 112L45.7 512C29.3 512 16 498.7 16 482.3 16 383.8 95.8 304 194.3 304zM288 400a144 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"]},S1={prefix:"fas",iconName:"euro-sign",icon:[448,512,[8364,"eur","euro"],"f153","M73.3 192C100.8 99.5 186.5 32 288 32l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-65.6 0-122 39.5-146.7 96L272 192c13.3 0 24 10.7 24 24s-10.7 24-24 24l-143.2 0c-.5 5.3-.8 10.6-.8 16s.3 10.7 .8 16L272 272c13.3 0 24 10.7 24 24s-10.7 24-24 24l-130.7 0c24.7 56.5 81.1 96 146.7 96l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-101.5 0-187.2-67.5-214.7-160L40 320c-13.3 0-24-10.7-24-24s10.7-24 24-24l24.6 0c-.7-10.5-.7-21.5 0-32L40 240c-13.3 0-24-10.7-24-24s10.7-24 24-24l33.3 0z"]},nd={prefix:"fas",iconName:"yen-sign",icon:[384,512,[165,"cny","jpy","rmb","yen"],"f157","M74.9 46.7c-9.6-14.9-29.4-19.2-44.2-9.6S11.5 66.4 21.1 81.3L143.7 272 88 272c-13.3 0-24 10.7-24 24s10.7 24 24 24l72 0 0 32-72 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l72 0 0 48c0 17.7 14.3 32 32 32s32-14.3 32-32l0-48 72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0 0-32 72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-55.7 0 122.6-190.7c9.6-14.9 5.3-34.7-9.6-44.2s-34.7-5.3-44.2 9.6L192 228.8 74.9 46.7z"]},Mu={prefix:"fas",iconName:"angles-down",icon:[384,512,["angle-double-down"],"f103","M214.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 402.7 329.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 210.7 329.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"]},df={prefix:"fas",iconName:"network-wired",icon:[576,512,[],"f6ff","M248 88l80 0 0 48-80 0 0-48zm-8-56c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l16 0 0 32-224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 192 0 0 32-16 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-16 0 0-32 96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0 0-32 16 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-96 0zM448 376l8 0 0 48-80 0 0-48 72 0zm-256 0l8 0 0 48-80 0 0-48 72 0z"]},hf={prefix:"fas",iconName:"code",icon:[576,512,[],"f121","M360.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.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.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 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z"]},Ru={prefix:"fas",iconName:"diagram-project",icon:[512,512,["project-diagram"],"f542","M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 128 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-128 0 0 16c0 7.3-1.7 14.3-4.6 20.5l68.6 91.5 80 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-7.3 1.7-14.3 4.6-20.5L128 224 48 224c-26.5 0-48-21.5-48-48L0 80z"]},oa={prefix:"fas",iconName:"money-bill-wave",icon:[512,512,[],"f53a","M0 419.6L0 109.5c0-23.2 24.1-38.6 46.3-32 87.7 26.2 149.7 5.5 212.1-15.3 64.5-21.5 129.4-43.1 223.3-13.1 18.5 5.9 30.3 23.8 30.3 43.3l0 310.1c0 23.2-24.1 38.6-46.2 32-87.7-26.2-149.8-5.5-212.1 15.3-64.5 21.5-129.4 43.1-223.3 13.1-18.5-5.9-30.3-23.8-30.3-43.3zM336 256c0-53-35.8-96-80-96s-80 43-80 96 35.8 96 80 96 80-43 80-96zM120 413.6c4.4 0 7.9-3.8 7.2-8.1-4.6-27.8-27-49.5-55.2-53-4.4-.5-8 3.1-8 7.5l0 39.9c0 3.6 2.4 6.8 6 7.7 17.9 4.2 34.3 6.1 50 6.1zm318.5-51.1c5 .8 9.5-3 9.5-8l0-42.6c0-4.4-3.6-8.1-8-7.5-25.2 3.1-45.9 20.9-53.2 44.6-1.4 4.7 2.3 9.1 7.2 9.2 14.2 .4 29 1.7 44.4 4.3zM448 152l0-39.9c0-3.6-2.5-6.8-6-7.7-17.9-4.2-34.3-6.1-50-6.1-4.4 0-7.9 3.8-7.2 8.1 4.6 27.8 27 49.5 55.2 53 4.4 .5 8-3.1 8-7.5zM125.2 162.9c1.4-4.7-2.3-9.1-7.2-9.2-14.2-.4-29-1.7-44.4-4.3-5-.8-9.5 3-9.5 8L64 200c0 4.4 3.6 8.1 8 7.5 25.2-3.1 45.9-20.9 53.2-44.6z"]},Pu={prefix:"fas",iconName:"brazilian-real-sign",icon:[512,512,[],"e46c","M400 16c17.7 0 32 14.3 32 32l0 16 16 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-48.9 0c-26 0-47.1 21.1-47.1 47.1 0 22.5 15.9 41.8 37.9 46.2l32.8 6.6c51.9 10.4 89.3 56 89.3 109 0 50.6-33.8 93.3-80 106.7l0 20.4c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-16-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64.9 0c26 0 47.1-21.1 47.1-47.1 0-22.5-15.9-41.8-37.9-46.2l-32.8-6.6c-51.9-10.4-89.3-56-89.3-109 0-50.6 33.8-93.2 80-106.7L368 48c0-17.7 14.3-32 32-32zM0 64C0 46.3 14.3 32 32 32l80 0c79.5 0 144 64.5 144 144 0 54.3-30 101.5-74.4 126.1l41 136.7c5.1 16.9-4.5 34.8-21.5 39.8s-34.8-4.5-39.8-21.5L120.1 319.8c-2.7 .1-5.4 .2-8.1 .2l-48 0 0 128c0 17.7-14.3 32-32 32S0 465.7 0 448L0 64zM64 256l48 0c44.2 0 80-35.8 80-80s-35.8-80-80-80l-48 0 0 160z"]},K0={prefix:"fas",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"]},m3={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z"]},Ya={prefix:"fas",iconName:"user-lock",icon:[576,512,[],"f502","M224 8a120 120 0 1 1 0 240 120 120 0 1 1 0-240zM194.3 304l59.4 0c29.7 0 57.7 7.3 82.3 20.1l0 4.3c-19.6 17.6-32 43.1-32 71.5l0 96c0 5.5 .5 10.9 1.3 16.1L45.7 512C29.3 512 16 498.7 16 482.3 16 383.8 95.8 304 194.3 304zm301.7 .1c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 47.9 64 0 0-47.9zM352 400c0-20.9 13.4-38.7 32-45.3l0-50.6c0-44.2 35.8-80 80-80s80 35.8 80 80l0 50.6c18.6 6.6 32 24.4 32 45.3l0 96c0 26.5-21.5 48-48 48l-128 0c-26.5 0-48-21.5-48-48l0-96z"]},Hc={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 64c0-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 80l128 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 112l256 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"]},ba={prefix:"fas",iconName:"baht-sign",icon:[320,512,[],"e0ac","M136 0c-13.3 0-24 10.7-24 24l0 40-74.4 0C16.8 64 0 80.8 0 101.6L0 406.3c0 23 18.7 41.7 41.7 41.7l70.3 0 0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40 48 0c61.9 0 112-50.1 112-112 0-40.1-21.1-75.3-52.7-95.1 13.1-18.3 20.7-40.7 20.7-64.9 0-61.9-50.1-112-112-112l-16 0 0-40c0-13.3-10.7-24-24-24zM112 128l0 96-48 0 0-96 48 0zm48 96l0-96 16 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-16 0zm-48 64l0 96-48 0 0-96 48 0zm48 96l0-96 48 0c26.5 0 48 21.5 48 48s-21.5 48-48 48l-48 0z"]},g5={prefix:"fas",iconName:"server",icon:[448,512,[],"f233","M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm216 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 0zM64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm216 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"]},wg={prefix:"fas",iconName:"arrows-turn-right",icon:[448,512,[],"e4c0","M313.4-6.6c12.5-12.5 32.8-12.5 45.3 0l80 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.3L338.7 128 128 128c-35.3 0-64 28.7-64 64l0 32c0 17.7-14.3 32-32 32S0 241.7 0 224l0-32C0 121.3 57.3 64 128 64l210.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l80 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 384 96 384c-17.7 0-32 14.3-32 32l0 32c0 17.7-14.3 32-32 32S0 465.7 0 448l0-32c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3z"]},hp={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM256 416c35.3 0 64-28.7 64-64 0-16.2-6-31.1-16-42.3l69.5-138.9c5.9-11.9 1.1-26.3-10.7-32.2s-26.3-1.1-32.2 10.7L261.1 288.2c-1.7-.1-3.4-.2-5.1-.2-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"]},_p={prefix:"fas",iconName:"right-left",icon:[512,512,["exchange-alt"],"f362","M502.6 150.6l-96 96c-9.2 9.2-22.9 11.9-34.9 6.9S352 236.9 352 224l0-64-320 0c-17.7 0-32-14.3-32-32S14.3 96 32 96l320 0 0-64c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l96 96c12.5 12.5 12.5 32.8 0 45.3zm-397.3 352l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c9.2-9.2 22.9-11.9 34.9-6.9S160 275.1 160 288l0 64 320 0c17.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.9z"]},yp={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 112c0-26.5 21.5-48 48-48s48 21.5 48 48l0 112 256 0 0-112c0-26.5 21.5-48 48-48s48 21.5 48 48l0 16 16 0c26.5 0 48 21.5 48 48l0 48c17.7 0 32 14.3 32 32s-14.3 32-32 32l0 48c0 26.5-21.5 48-48 48l-16 0 0 16c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-112-256 0 0 112c0 26.5-21.5 48-48 48s-48-21.5-48-48l0-16-16 0c-26.5 0-48-21.5-48-48l0-48c-17.7 0-32-14.3-32-32s14.3-32 32-32l0-48c0-26.5 21.5-48 48-48l16 0 0-16z"]},Zf={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]},X1={prefix:"fas",iconName:"ruble-sign",icon:[448,512,[8381,"rouble","rub","ruble"],"f158","M112 32C94.3 32 80 46.3 80 64l0 208-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 48-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 152 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-152 0 0-48 112 0c79.5 0 144-64.5 144-144S335.5 32 256 32L112 32zM256 256l-112 0 0-160 112 0c44.2 0 80 35.8 80 80s-35.8 80-80 80z"]},v8={prefix:"fas",iconName:"clock-rotate-left",icon:[576,512,["history"],"f1da","M288 64c106 0 192 86 192 192S394 448 288 448c-65.2 0-122.9-32.5-157.6-82.3-10.1-14.5-30.1-18-44.6-7.9s-18 30.1-7.9 44.6C124.1 468.6 201 512 288 512 429.4 512 544 397.4 544 256S429.4 0 288 0C202.3 0 126.5 42.1 80 106.7L80 80c0-17.7-14.3-32-32-32S16 62.3 16 80l0 112c0 17.7 14.3 32 32 32l24.6 0c.5 0 1 0 1.5 0l86 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-38.3 0C154.9 102.6 217 64 288 64zm24 88c0-13.3-10.7-24-24-24s-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.1z"]},rm={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M512.4 240l-176 0c-17.7 0-32-14.3-32-32l0-176c0-17.7 14.4-32.2 31.9-29.9 107 14.2 191.8 99 206 206 2.3 17.5-12.2 31.9-29.9 31.9zM222.6 37.2c18.1-3.8 33.8 11 33.8 29.5l0 197.3c0 5.6 2 11 5.5 15.3L394 438.7c11.7 14.1 9.2 35.4-6.9 44.1-34.1 18.6-73.2 29.2-114.7 29.2-132.5 0-240-107.5-240-240 0-115.5 81.5-211.9 190.2-234.8zM477.8 288l64 0c18.5 0 33.3 15.7 29.5 33.8-10.2 48.4-35 91.4-69.6 124.2-12.3 11.7-31.6 9.2-42.4-3.9L374.9 340.4c-17.3-20.9-2.4-52.4 24.6-52.4l78.2 0z"]},c6={prefix:"fas",iconName:"bullhorn",icon:[512,512,[128226,128363],"f0a1","M461.2 18.9C472.7 24 480 35.4 480 48l0 416c0 12.6-7.3 24-18.8 29.1s-24.8 3.2-34.3-5.1l-46.6-40.7c-43.6-38.1-98.7-60.3-156.4-63l0 95.7c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-96C57.3 384 0 326.7 0 256S57.3 128 128 128l84.5 0c61.8-.2 121.4-22.7 167.9-63.3l46.6-40.7c9.4-8.3 22.9-10.2 34.3-5.1zM224 320l0 .2c70.3 2.7 137.8 28.5 192 73.4l0-275.3c-54.2 44.9-121.7 70.7-192 73.4L224 320z"]},$8={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},n_={prefix:"fas",iconName:"lock",icon:[384,512,[128274],"f023","M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]},h_={prefix:"fas",iconName:"window-restore",icon:[576,512,[],"f2d2","M512 96L160 96c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64l-48 0 0-64 48 0 0-192zM0 224c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 224zm64 40c0 13.3 10.7 24 24 24l240 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 240c-13.3 0-24 10.7-24 24z"]},Yd={prefix:"fas",iconName:"download",icon:[448,512,[],"f019","M256 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 210.7-41.4-41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 242.7 256 32zM64 320c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-46.9 0-56.6 56.6c-31.2 31.2-81.9 31.2-113.1 0L110.9 320 64 320zm304 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},a9={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"]},q9={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z"]},o9={prefix:"fas",iconName:"money-bill-1",icon:[512,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm192 80a112 112 0 1 1 0 224 112 112 0 1 1 0-224zM64 184l0-48c0-4.4 3.6-8 8-8l48 0c4.4 0 8.1 3.6 7.5 8-3.6 29-26.6 51.9-55.5 55.5-4.4 .5-8-3.1-8-7.5zm0 144c0-4.4 3.6-8.1 8-7.5 29 3.6 51.9 26.6 55.5 55.5 .5 4.4-3.1 8-7.5 8l-48 0c-4.4 0-8-3.6-8-8l0-48zM440 191.5c-29-3.6-51.9-26.6-55.5-55.5-.5-4.4 3.1-8 7.5-8l48 0c4.4 0 8 3.6 8 8l0 48c0 4.4-3.6 8.1-8 7.5zM448 328l0 48c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8.1-3.6-7.5-8 3.6-29 26.6-51.9 55.5-55.5 4.4-.5 8 3.1 8 7.5zM240 188c-11 0-20 9-20 20 0 9.7 6.9 17.7 16 19.6l0 48.4-4 0c-11 0-20 9-20 20s9 20 20 20l48 0c11 0 20-9 20-20s-9-20-20-20l-4 0 0-68c0-11-9-20-20-20l-16 0z"]},oy=o9,dy={prefix:"fas",iconName:"eye-slash",icon:[576,512,[],"f070","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM204.5 138.7c23.5-16.8 52.4-26.7 83.5-26.7 79.5 0 144 64.5 144 144 0 31.1-9.9 59.9-26.7 83.5l-34.7-34.7c12.7-21.4 17-47.7 10.1-73.7-13.7-51.2-66.4-81.6-117.6-67.9-8.6 2.3-16.7 5.7-24 10l-34.7-34.7zM325.3 395.1c-11.9 3.2-24.4 4.9-37.3 4.9-79.5 0-144-64.5-144-144 0-12.9 1.7-25.4 4.9-37.3L69.4 139.2c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6l-64.2-64.2z"]},l9={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M338.8-9.9c11.9 8.6 16.3 24.2 10.9 37.8L271.3 224 416 224c13.5 0 25.5 8.4 30.1 21.1s.7 26.9-9.6 35.5l-288 240c-11.3 9.4-27.4 9.9-39.3 1.3s-16.3-24.2-10.9-37.8L176.7 288 32 288c-13.5 0-25.5-8.4-30.1-21.1s-.7-26.9 9.6-35.5l288-240c11.3-9.4 27.4-9.9 39.3-1.3z"]},my={prefix:"fas",iconName:"burst",icon:[512,512,[],"e4dc","M37.6 4.2C28-2.3 15.2-1.1 7 7S-2.3 28 4.2 37.6l112 163.3-99.6 32.3C6.7 236.4 0 245.6 0 256s6.7 19.6 16.6 22.8l103.1 33.4-52.9 100.6c-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.1l-52.9-100.6 103.1-33.4c9.9-3.2 16.6-12.4 16.6-22.8s-6.7-19.6-16.6-22.8l-106.5-34.5 25.7-70.4c3.2-8.8 1-18.6-5.6-25.2s-16.4-8.8-25.2-5.6l-70.4 25.7-34.5-106.5C275.6 6.7 266.4 0 256 0s-19.6 6.7-22.8 16.6L200.9 116.2 37.6 4.2z"]},zy={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M256.5 8a120 120 0 1 1 0 240 120 120 0 1 1 0-240zM226.7 304l59.4 0 1.5 0c-12.9 26.8-7.8 58.2 11.5 79.5-20.2 22.3-24.8 55.8-9.4 83.4l22.5 40.4c.9 1.6 1.9 3.2 2.9 4.7l-237 0c-16.4 0-29.7-13.3-29.7-29.7 0-98.5 79.8-178.3 178.3-178.3zm205.9-56.4c0-13.3 10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 6.1c0 18.9 24.1 32.8 40.5 23.4l5-2.9c11.6-6.7 26.5-2.6 33 9.1l22.4 40.2c6.2 11.2 2.6 25.2-8.2 32l-4.7 2.9c-16.2 10.1-16.2 39.9 0 50.1l4.6 2.9c10.8 6.8 14.5 20.8 8.3 32L607 483.8c-6.5 11.7-21.4 15.9-33 9.1l-4.9-2.9c-16.4-9.5-40.5 4.5-40.5 23.4l0 6.1c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-5.9c0-19-24.2-33-40.7-23.5l-4.8 2.8c-11.6 6.7-26.4 2.6-33-9.1l-22.6-40.4c-6.2-11.2-2.6-25.3 8.3-32.1l4.4-2.7c16.3-10.1 16.3-40.1 0-50.2l-4.5-2.8c-10.9-6.8-14.5-20.9-8.3-32.1l22.5-40.3c6.5-11.7 21.4-15.8 32.9-9.1l4.8 2.8c16.5 9.5 40.7-4.5 40.7-23.5l0-5.9zm99.9 136.2a52 52 0 1 0 -104 0 52 52 0 1 0 104 0z"]},Gy={prefix:"fas",iconName:"screwdriver-wrench",icon:[576,512,["tools"],"f7d9","M70.8-6.7c5.4-5.4 13.8-6.2 20.2-2L209.9 70.5c8.9 5.9 14.2 15.9 14.2 26.6l0 49.6 90.8 90.8c33.3-15 73.9-8.9 101.2 18.5L542.2 382.1c18.7 18.7 18.7 49.1 0 67.9l-60.1 60.1c-18.7 18.7-49.1 18.7-67.9 0L288.1 384c-27.4-27.4-33.5-67.9-18.5-101.2l-90.8-90.8-49.6 0c-10.7 0-20.7-5.3-26.6-14.2L23.4 58.9c-4.2-6.3-3.4-14.8 2-20.2L70.8-6.7zm145 303.5c-6.3 36.9 2.3 75.9 26.2 107.2l-94.9 95c-28.1 28.1-73.7 28.1-101.8 0s-28.1-73.7 0-101.8l135.4-135.5 35.2 35.1zM384.1 0c20.1 0 39.4 3.7 57.1 10.5 10 3.8 11.8 16.5 4.3 24.1L388.8 91.3c-3 3-4.7 7.1-4.7 11.3l0 41.4c0 8.8 7.2 16 16 16l41.4 0c4.2 0 8.3-1.7 11.3-4.7l56.7-56.7c7.6-7.5 20.3-5.7 24.1 4.3 6.8 17.7 10.5 37 10.5 57.1 0 43.2-17.2 82.3-45 111.1l-49.1-49.1c-33.1-33-78.5-45.7-121.1-38.4l-56.8-56.8 0-29.7-.2-5c-.8-12.4-4.4-24.3-10.5-34.9 29.4-35 73.4-57.2 122.7-57.3z"]},Ky={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M512 96c0 50.2-59.1 125.1-84.6 155-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.8 6.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-96 0-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.8-25.2-27.4-85-97.9-85-148.4 0-53 43-96 96-96s96 43 96 96c0 30-21.1 67-43.5 97.9-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"]},Qy={prefix:"fas",iconName:"angles-up",icon:[384,512,["angle-double-up"],"f102","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 109.3 329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160zm160 352l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 329.4 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"]},ib={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"]},hb={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M0 64C0 46.3 14.3 32 32 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 64zM32 176l448 0 0 240c0 35.3-28.7 64-64 64L96 480c-35.3 0-64-28.7-64-64l0-240zm152 64c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]},K_={prefix:"fas",iconName:"sterling-sign",icon:[384,512,[163,"gbp","pound-sign"],"f154","M91.3 288l-34.8 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l21.4 0C37.3 147.3 105.1 42 207.6 42l8.2 0c33.6 0 66.2 11.3 92.5 32.2l16.1 12.7c13.9 11 16.2 31.1 5.2 45s-31.1 16.2-45 5.2l-16.1-12.7c-15-11.9-33.6-18.4-52.8-18.4l-8.2 0c-57.3 0-94.7 59.9-69.7 111.4 3.6 7.4 6.6 14.9 9.1 22.6l149.5 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-141.2 0c1 35.3-8.7 70.6-28.9 100.9l-18.1 27.1 212.2 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-272 0c-11.8 0-22.6-6.5-28.2-16.9s-5-23 1.6-32.9l51.2-76.8c13.1-19.6 19.2-42.6 18.2-65.4z"]},Eb={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 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-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},Db={prefix:"fas",iconName:"layer-group",icon:[512,512,[],"f5fd","M232.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 0L13.9 149.8C5.4 145.8 0 137.3 0 128s5.4-17.9 13.9-21.8L232.5 5.2zM48.1 218.4l164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.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 0L13.9 277.8C5.4 273.8 0 265.3 0 256s5.4-17.9 13.9-21.8l34.1-15.8zM13.9 362.2l34.1-15.8 164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.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 0L13.9 405.8C5.4 401.8 0 393.3 0 384s5.4-17.9 13.9-21.8z"]}},45392:Ae=>{"use strict";var ee;ee=global.process&&global.process.browser?"utf-8":global.process&&global.process.version?parseInt(process.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",Ae.exports=ee},46391:(Ae,ee,l)=>{"use strict";l.d(ee,{H:()=>ct});var i=l(51585),t=l(45383),p=l(21413),S=l(56977),c=l(4416),e=l(63536),T=l(2615),g=l(73664),d=l(98570),w=l(82571),m=l(95416),P=l(59640),M=l(72200),j=l(20060),U=l(88834),K=l(25596),q=l(9454),G=l(12629),Q=l(71997),$=l(9183),ae=l(52920),ue=l(16038),oe=l(40455),he=l(38288),me=l(29157),Te=l(89587);const D=["scrollContainer"],n=Ce=>({"display-none":Ce}),o=Ce=>({"xs-scroll-y":Ce}),f=Ce=>({"h-50":Ce}),h=()=>[],b=Ce=>({"mr-0":Ce});function A(Ce,ze){if(1&Ce&&g.nrm(0,"qr-code",33),2&Ce){const Z=g.XpG();g.Y8G("value",null==Z.invoice?null:Z.invoice.payment_request)("size",Z.qrWidth)}}function k(Ce,ze){1&Ce&&(g.j41(0,"span",34),g.EFF(1,"N/A"),g.k0s())}function x(Ce,ze){if(1&Ce&&g.nrm(0,"qr-code",33),2&Ce){const Z=g.XpG();g.Y8G("value",null==Z.invoice?null:Z.invoice.payment_request)("size",Z.qrWidth)}}function r(Ce,ze){1&Ce&&(g.j41(0,"span",35),g.EFF(1,"QR Code Not Applicable"),g.k0s())}function _(Ce,ze){1&Ce&&g.nrm(0,"mat-divider",24),2&Ce&&g.Y8G("inset",!0)}function W(Ce,ze){1&Ce&&(g.qex(0),g.EFF(1," (zero amount) "),g.bVm())}function I(Ce,ze){1&Ce&&g.nrm(0,"span",41)}function B(Ce,ze){if(1&Ce&&(g.j41(0,"div",37)(1,"div",38)(2,"span",39),g.EFF(3),g.nI1(4,"number"),g.k0s(),g.DNE(5,I,1,0,"span",40),g.k0s()()),2&Ce){const Z=g.XpG(2);g.R7$(3),g.SpI("",g.bMT(4,2,null==Z.invoice?null:Z.invoice.amt_paid_sat)," Sats"),g.R7$(2),g.Y8G("ngForOf",g.lJ4(4,h).constructor(35))}}function re(Ce,ze){if(1&Ce&&(g.j41(0,"div"),g.EFF(1),g.nI1(2,"number"),g.k0s()),2&Ce){const Z=g.XpG(2);g.R7$(),g.SpI("",g.bMT(2,1,null==Z.invoice?null:Z.invoice.amt_paid_sat)," Sats")}}function pe(Ce,ze){if(1&Ce&&(g.qex(0),g.DNE(1,B,6,5,"div",36)(2,re,3,3,"div",23),g.bVm()),2&Ce){const Z=g.XpG();g.R7$(),g.Y8G("ngIf",Z.flgInvoicePaid),g.R7$(),g.Y8G("ngIf",!Z.flgInvoicePaid)}}function be(Ce,ze){1&Ce&&(g.j41(0,"span"),g.EFF(1,"-"),g.k0s())}function Be(Ce,ze){1&Ce&&g.nrm(0,"mat-spinner",43),2&Ce&&g.Y8G("diameter",20)}function _e(Ce,ze){if(1&Ce&&(g.qex(0),g.DNE(1,be,2,0,"span",23)(2,Be,1,1,"mat-spinner",42),g.bVm()),2&Ce){const Z=g.XpG();g.R7$(),g.Y8G("ngIf","OPEN"!==(null==Z.invoice?null:Z.invoice.state)||!Z.flgVersionCompatible),g.R7$(),g.Y8G("ngIf","OPEN"===(null==Z.invoice?null:Z.invoice.state)&&Z.flgVersionCompatible)}}function ye(Ce,ze){1&Ce&&g.eu8(0)}function Le(Ce,ze){if(1&Ce&&(g.j41(0,"div"),g.DNE(1,ye,1,0,"ng-container",44),g.k0s()),2&Ce){g.XpG();const Z=g.sdS(79);g.R7$(),g.Y8G("ngTemplateOutlet",Z)}}function Ke(Ce,ze){if(1&Ce){const Z=g.RV6();g.j41(0,"div",45)(1,"button",46),g.bIt("click",function(){T.eBV(Z);const fe=g.XpG();return T.Njj(fe.onScrollDown())}),g.j41(2,"mat-icon",47),g.EFF(3,"arrow_downward"),g.k0s()()()}}function ge(Ce,ze){1&Ce&&(g.j41(0,"p"),g.EFF(1,"Show Advanced"),g.k0s())}function ve(Ce,ze){1&Ce&&(g.j41(0,"p"),g.EFF(1,"Hide Advanced"),g.k0s())}function Oe(Ce,ze){if(1&Ce){const Z=g.RV6();g.j41(0,"button",48),g.bIt("copied",function(fe){T.eBV(Z);const Ie=g.XpG();return T.Njj(Ie.onCopyPayment(fe))}),g.EFF(1),g.k0s()}if(2&Ce){const Z=g.XpG();g.Y8G("payload",null==Z.invoice?null:Z.invoice.payment_request),g.R7$(),g.JRh(Z.screenSize===Z.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function Ee(Ce,ze){if(1&Ce){const Z=g.RV6();g.j41(0,"button",49),g.bIt("click",function(){T.eBV(Z);const fe=g.XpG();return T.Njj(fe.onClose())}),g.EFF(1,"OK"),g.k0s()}}function dt(Ce,ze){if(1&Ce&&g.nrm(0,"span",64),2&Ce){const Z=g.XpG(4);g.Y8G("ngClass",g.eq3(1,b,Z.screenSize===Z.screenSizeEnum.XS))}}function nt(Ce,ze){if(1&Ce&&g.nrm(0,"span",65),2&Ce){const Z=g.XpG(4);g.Y8G("ngClass",g.eq3(1,b,Z.screenSize===Z.screenSizeEnum.XS))}}function Ct(Ce,ze){if(1&Ce&&g.nrm(0,"span",66),2&Ce){const Z=g.XpG(4);g.Y8G("ngClass",g.eq3(1,b,Z.screenSize===Z.screenSizeEnum.XS))}}function Mt(Ce,ze){if(1&Ce&&(g.j41(0,"div",53)(1,"div",58)(2,"span",59),g.DNE(3,dt,1,3,"span",60)(4,nt,1,3,"span",61)(5,Ct,1,3,"span",62),g.EFF(6),g.k0s(),g.j41(7,"span",63),g.EFF(8),g.nI1(9,"number"),g.k0s()(),g.nrm(10,"mat-divider",24),g.k0s()),2&Ce){const Z=ze.$implicit,J=g.XpG(3);g.R7$(3),g.Y8G("ngIf","SETTLED"===Z.state),g.R7$(),g.Y8G("ngIf","ACCEPTED"===Z.state),g.R7$(),g.Y8G("ngIf","CANCELED"===Z.state),g.R7$(),g.SpI(" ",Z.chan_id," "),g.R7$(2),g.JRh(g.i5U(9,6,+Z.amt_msat/1e3||0,J.getDecimalFormat(Z))),g.R7$(2),g.Y8G("inset",!0)}}function lt(Ce,ze){if(1&Ce){const Z=g.RV6();g.j41(0,"div",19)(1,"mat-expansion-panel",51),g.bIt("opened",function(){T.eBV(Z);const fe=g.XpG(2);return T.Njj(fe.flgOpened=!0)})("closed",function(){T.eBV(Z);const fe=g.XpG(2);return T.Njj(fe.onExpansionClosed())}),g.j41(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),g.EFF(5,"HTLCs"),g.k0s()()(),g.j41(6,"div",53)(7,"div",54)(8,"span",55),g.EFF(9,"Channel ID"),g.k0s(),g.j41(10,"span",56),g.EFF(11,"Amount (Sats)"),g.k0s()(),g.nrm(12,"mat-divider",24),g.DNE(13,Mt,11,9,"div",57),g.k0s()()()}if(2&Ce){const Z=g.XpG(2);g.R7$(12),g.Y8G("inset",!0),g.R7$(),g.Y8G("ngForOf",null==Z.invoice?null:Z.invoice.htlcs)}}function Pe(Ce,ze){1&Ce&&g.nrm(0,"mat-divider",24),2&Ce&&g.Y8G("inset",!0)}function Ht(Ce,ze){if(1&Ce&&(g.nrm(0,"mat-divider",24),g.j41(1,"div",19)(2,"div",25)(3,"h4",21),g.EFF(4,"Preimage"),g.k0s(),g.j41(5,"span",26),g.EFF(6),g.k0s()()(),g.nrm(7,"mat-divider",24),g.j41(8,"div",19)(9,"div",20)(10,"h4",21),g.EFF(11,"State"),g.k0s(),g.j41(12,"span",26),g.EFF(13),g.k0s()(),g.j41(14,"div",20)(15,"h4",21),g.EFF(16,"Expiry"),g.k0s(),g.j41(17,"span",26),g.EFF(18),g.nI1(19,"date"),g.k0s()()(),g.nrm(20,"mat-divider",24),g.j41(21,"div",19)(22,"div",20)(23,"h4",21),g.EFF(24,"Private Routing Hints"),g.k0s(),g.j41(25,"span",26),g.EFF(26),g.k0s()(),g.j41(27,"div",20)(28,"h4",21),g.EFF(29,"AMP Invoice"),g.k0s(),g.j41(30,"span",26),g.EFF(31),g.k0s()()(),g.nrm(32,"mat-divider",24),g.DNE(33,lt,14,2,"div",50)(34,Pe,1,1,"mat-divider",17)),2&Ce){const Z=g.XpG();g.Y8G("inset",!0),g.R7$(6),g.JRh((null==Z.invoice?null:Z.invoice.r_preimage)||"-"),g.R7$(),g.Y8G("inset",!0),g.R7$(6),g.JRh(null==Z.invoice?null:Z.invoice.state),g.R7$(5),g.JRh(g.i5U(19,11,1e3*(+(null==Z.invoice?null:Z.invoice.creation_date)+ +(null==Z.invoice?null:Z.invoice.expiry)),"dd/MMM/y HH:mm")),g.R7$(2),g.Y8G("inset",!0),g.R7$(6),g.JRh(null!=Z.invoice&&Z.invoice.private?"Yes":"No"),g.R7$(5),g.JRh(null!=Z.invoice&&Z.invoice.is_amp?"Yes":"No"),g.R7$(),g.Y8G("inset",!0),g.R7$(),g.Y8G("ngIf",(null==Z.invoice?null:Z.invoice.htlcs)&&(null==Z.invoice?null:Z.invoice.htlcs.length)>0),g.R7$(),g.Y8G("ngIf",(null==Z.invoice?null:Z.invoice.htlcs)&&(null==Z.invoice?null:Z.invoice.htlcs.length)>0)}}let ct=(()=>{var Ce;class ze{set container(J){J&&(this.scrollContainer=J)}constructor(J,fe,Ie,ht,li,Qt){this.dialogRef=J,this.data=fe,this.logger=Ie,this.commonService=ht,this.snackBar=li,this.store=Qt,this.faReceipt=t.Mf0,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=c.f7,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new p.B,new p.B,new p.B,new p.B,new p.B]}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===c.f7.XS&&(this.qrWidth=220),this.store.select(e.pI).pipe((0,S.Q)(this.unSubs[0])).subscribe(fe=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(fe.version,"0.11.0")});const J=JSON.parse(JSON.stringify(this.invoice));this.store.select(e.rN).pipe((0,S.Q)(this.unSubs[1])).subscribe(fe=>{const Ie=this.invoice?.state,li=(fe.listInvoices.invoices||[]).find(Qt=>Qt.r_hash===J.r_hash)||null;li&&(this.invoice=li),Ie!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(fe)})}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(J){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+J)}getDecimalFormat(J){return J.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(J=>{J.next(null),J.complete()})}static#e=Ce=()=>(this.\u0275fac=function(fe){return new(fe||ze)(g.rXU(i.CP),g.rXU(i.Vh),g.rXU(d.gP),g.rXU(w.h),g.rXU(m.UG),g.rXU(P.il))},this.\u0275cmp=g.VBU({type:ze,selectors:[["rtl-invoice-information"]],viewQuery:function(fe,Ie){if(1&fe&&g.GBs(D,5),2&fe){let ht;g.mGM(ht=g.lsd())&&(Ie.container=ht.first)}},standalone:!1,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"],["errorCorrectionLevel","L",3,"value","size",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"],["errorCorrectionLevel","L",3,"value","size"],[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(fe,Ie){if(1&fe){const ht=g.RV6();g.j41(0,"div",3)(1,"div",4),g.DNE(2,A,1,2,"qr-code",5)(3,k,2,0,"span",6),g.k0s(),g.j41(4,"div",7)(5,"mat-card-header",8)(6,"div",9),g.nrm(7,"fa-icon",10),g.j41(8,"span",11),g.EFF(9),g.k0s()(),g.j41(10,"button",12),g.bIt("click",function(){return T.eBV(ht),T.Njj(Ie.onClose())}),g.EFF(11,"X"),g.k0s()(),g.j41(12,"mat-card-content",13)(13,"div",14)(14,"div",15),g.DNE(15,x,1,2,"qr-code",5)(16,r,2,0,"span",16),g.k0s(),g.DNE(17,_,1,1,"mat-divider",17),g.j41(18,"div",18,0)(20,"div",19)(21,"div",20)(22,"h4",21),g.EFF(23),g.k0s(),g.j41(24,"span",22),g.EFF(25),g.nI1(26,"number"),g.DNE(27,W,2,0,"ng-container",23),g.k0s()(),g.j41(28,"div",20)(29,"h4",21),g.EFF(30,"Amount Settled"),g.k0s(),g.j41(31,"span",22),g.DNE(32,pe,3,2,"ng-container",23)(33,_e,3,2,"ng-container",23),g.k0s()()(),g.nrm(34,"mat-divider",24),g.j41(35,"div",19)(36,"div",20)(37,"h4",21),g.EFF(38,"Date Created"),g.k0s(),g.j41(39,"span",22),g.EFF(40),g.nI1(41,"date"),g.k0s()(),g.j41(42,"div",20)(43,"h4",21),g.EFF(44,"Date Settled"),g.k0s(),g.j41(45,"span",22),g.EFF(46),g.nI1(47,"date"),g.k0s()()(),g.nrm(48,"mat-divider",24),g.j41(49,"div",19)(50,"div",25)(51,"h4",21),g.EFF(52,"Memo"),g.k0s(),g.j41(53,"span",22),g.EFF(54),g.k0s()()(),g.nrm(55,"mat-divider",24),g.j41(56,"div",19)(57,"div",25)(58,"h4",21),g.EFF(59,"Payment Request"),g.k0s(),g.j41(60,"span",26),g.EFF(61),g.k0s()()(),g.nrm(62,"mat-divider",24),g.j41(63,"div",19)(64,"div",25)(65,"h4",21),g.EFF(66,"Payment Hash"),g.k0s(),g.j41(67,"span",26),g.EFF(68),g.k0s()()(),g.DNE(69,Le,2,1,"div",23),g.k0s()()(),g.DNE(70,Ke,4,0,"div",27),g.j41(71,"div",28)(72,"button",29),g.bIt("click",function(){return T.eBV(ht),T.Njj(Ie.onShowAdvanced())}),g.DNE(73,ge,2,0,"p",30)(74,ve,2,0,"ng-template",null,1,g.C5r),g.k0s(),g.DNE(76,Oe,2,2,"button",31)(77,Ee,2,0,"button",32),g.k0s()()(),g.DNE(78,Ht,35,14,"ng-template",null,2,g.C5r)}if(2&fe){const ht=g.sdS(75);g.R7$(),g.Y8G("fxLayoutAlign",null!=Ie.invoice&&Ie.invoice.payment_request&&""!==(null==Ie.invoice?null:Ie.invoice.payment_request)?"center start":"center center")("ngClass",g.eq3(41,n,Ie.screenSize===Ie.screenSizeEnum.XS||Ie.screenSize===Ie.screenSizeEnum.SM)),g.R7$(),g.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.payment_request)&&""!==(null==Ie.invoice?null:Ie.invoice.payment_request)),g.R7$(),g.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.payment_request)||""===(null==Ie.invoice?null:Ie.invoice.payment_request)),g.R7$(4),g.Y8G("icon",Ie.faReceipt),g.R7$(2),g.JRh(Ie.screenSize===Ie.screenSizeEnum.XS?Ie.newlyAdded?"Created":"Invoice":Ie.newlyAdded?"Invoice Created":"Invoice Information"),g.R7$(3),g.Y8G("ngClass",g.eq3(43,o,Ie.screenSize===Ie.screenSizeEnum.XS)),g.R7$(2),g.Y8G("fxLayoutAlign",null!=Ie.invoice&&Ie.invoice.payment_request&&""!==(null==Ie.invoice?null:Ie.invoice.payment_request)?"center start":"center center")("ngClass",g.eq3(45,n,Ie.screenSize!==Ie.screenSizeEnum.XS&&Ie.screenSize!==Ie.screenSizeEnum.SM)),g.R7$(),g.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.payment_request)&&""!==(null==Ie.invoice?null:Ie.invoice.payment_request)),g.R7$(),g.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.payment_request)||""===(null==Ie.invoice?null:Ie.invoice.payment_request)),g.R7$(),g.Y8G("ngIf",Ie.screenSize===Ie.screenSizeEnum.XS||Ie.screenSize===Ie.screenSizeEnum.SM),g.R7$(),g.Y8G("ngClass",g.eq3(47,f,(null==Ie.invoice?null:Ie.invoice.htlcs)&&(null==Ie.invoice?null:Ie.invoice.htlcs.length)>0&&Ie.showAdvanced)),g.R7$(5),g.JRh(Ie.screenSize===Ie.screenSizeEnum.XS?"Amount":"Amount Requested"),g.R7$(2),g.SpI("",g.bMT(26,33,(null==Ie.invoice?null:Ie.invoice.value)||0)," Sats"),g.R7$(2),g.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.value)||"0"===(null==Ie.invoice?null:Ie.invoice.value)),g.R7$(5),g.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.amt_paid_sat)&&"OPEN"!==(null==Ie.invoice?null:Ie.invoice.state)),g.R7$(),g.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.amt_paid_sat)||"0"===(null==Ie.invoice?null:Ie.invoice.amt_paid_sat)),g.R7$(),g.Y8G("inset",!0),g.R7$(6),g.JRh(g.i5U(41,35,1e3*(null==Ie.invoice?null:Ie.invoice.creation_date),"dd/MMM/y HH:mm")),g.R7$(6),g.JRh(0!=+(null==Ie.invoice?null:Ie.invoice.settle_date)?g.i5U(47,38,1e3*+(null==Ie.invoice?null:Ie.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),g.R7$(2),g.Y8G("inset",!0),g.R7$(6),g.JRh(null==Ie.invoice?null:Ie.invoice.memo),g.R7$(),g.Y8G("inset",!0),g.R7$(6),g.JRh((null==Ie.invoice?null:Ie.invoice.payment_request)||"N/A"),g.R7$(),g.Y8G("inset",!0),g.R7$(6),g.JRh((null==Ie.invoice?null:Ie.invoice.r_hash)||""),g.R7$(),g.Y8G("ngIf",Ie.showAdvanced),g.R7$(),g.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.htlcs)&&(null==Ie.invoice?null:Ie.invoice.htlcs.length)>0&&Ie.showAdvanced&&Ie.flgOpened),g.R7$(3),g.Y8G("ngIf",!Ie.showAdvanced)("ngIfElse",ht),g.R7$(3),g.Y8G("ngIf",(null==Ie.invoice?null:Ie.invoice.payment_request)&&""!==(null==Ie.invoice?null:Ie.invoice.payment_request)),g.R7$(),g.Y8G("ngIf",!(null!=Ie.invoice&&Ie.invoice.payment_request)||""===(null==Ie.invoice?null:Ie.invoice.payment_request))}},dependencies:[M.YU,M.Sq,M.bT,M.T3,j.aY,U.$z,U.$0,K.m2,K.MM,q.GK,q.Z2,q.WN,G.An,Q.q,$.LG,ae.DJ,ae.sA,ae.UI,ue.PW,oe.oV,he.Um,me.U,Te.N,M.QX,M.vh],encapsulation:2}))}return Ce(),ze})()},46649:(Ae,ee,l)=>{"use strict";l.d(ee,{S:()=>t});var i=l(54360);function t(p,S,c,e,T){return(g,d)=>{let w=c,m=S,P=0;g.subscribe((0,i._)(d,M=>{const j=P++;m=w?p(m,M,j):(w=!0,M),e&&d.next(m)},T&&(()=>{w&&d.next(m),d.complete()})))}}},46758:Ae=>{"use strict";Ae.exports=TypeError},46854:(Ae,ee,l)=>{var i=l(13546);function t(p){return p._prev=p._cipher.encryptBlock(p._prev),p._prev}ee.encrypt=function(p,S){for(;p._cache.length<S.length;)p._cache=Buffer.concat([p._cache,t(p)]);var c=p._cache.slice(0,S.length);return p._cache=p._cache.slice(S.length),i(S,c)}},47077:(Ae,ee)=>{function l(i){if("number"==typeof i&&(i=i.toString()),"string"!=typeof i)throw new Error("Color should be defined as hex string");let t=i.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+i);(3===t.length||4===t.length)&&(t=Array.prototype.concat.apply([],t.map(function(S){return[S,S]}))),6===t.length&&t.push("F","F");const p=parseInt(t.join(""),16);return{r:p>>24&255,g:p>>16&255,b:p>>8&255,a:255&p,hex:"#"+t.slice(0,6).join("")}}ee.getOptions=function(t){t||(t={}),t.color||(t.color={});const S=t.width&&t.width>=21?t.width:void 0;return{width:S,scale:S?4:t.scale||4,margin:typeof t.margin>"u"||null===t.margin||t.margin<0?4:t.margin,color:{dark:l(t.color.dark||"#000000ff"),light:l(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},ee.getScale=function(t,p){return p.width&&p.width>=t+2*p.margin?p.width/(t+2*p.margin):p.scale},ee.getImageWidth=function(t,p){const S=ee.getScale(t,p);return Math.floor((t+2*p.margin)*S)},ee.qrToImageData=function(t,p,S){const c=p.modules.size,e=p.modules.data,T=ee.getScale(c,S),g=Math.floor((c+2*S.margin)*T),d=S.margin*T,w=[S.color.light,S.color.dark];for(let m=0;m<g;m++)for(let P=0;P<g;P++){let M=4*(m*g+P),j=S.color.light;m>=d&&P>=d&&m<g-d&&P<g-d&&(j=w[e[Math.floor((m-d)/T)*c+Math.floor((P-d)/T)]?1:0]),t[M++]=j.r,t[M++]=j.g,t[M++]=j.b,t[M]=j.a}}},47242:(Ae,ee,l)=>{"use strict";l.d(ee,{T:()=>c});var i=l(96780),p=l(39687);const c=new class S extends p.q{}(class t extends i.R{constructor(g,d){super(g,d),this.scheduler=g,this.work=d}schedule(g,d=0){return d>0?super.schedule(g,d):(this.delay=d,this.state=g,this.scheduler.flush(this),this)}execute(g,d){return d>0||this.closed?super.execute(g,d):this._execute(g,d)}requestAsyncId(g,d,w=0){return null!=w&&w>0||null==w&&this.delay>0?super.requestAsyncId(g,d,w):(g.flush(this),0)}})},47358:(Ae,ee,l)=>{"use strict";l.d(ee,{Zh:()=>ue,d6:()=>m,jH:()=>Q,lQ:()=>K,pO:()=>q,q1:()=>M,wx:()=>U,yI:()=>P});var i=l(72279),t=l(2615),p=l(73664),S=l(17705),c=l(22466),e=l(14117),T=l(84412),g=l(57786),d=l(96354);let m=(()=>{class oe extends i.xn{get tabIndexInputBinding(){return this._tabIndexInputBinding}set tabIndexInputBinding(me){this._tabIndexInputBinding=me}_tabIndexInputBinding;defaultTabIndex=0;_getTabindexAttribute(){return function w(oe){return!!oe._isNoopTreeKeyManager}(this._tree._keyManager)?this.tabIndexInputBinding:this._tabindex}get disabled(){return this.isDisabled}set disabled(me){this.isDisabled=me}constructor(){super();const me=(0,t.WQX)(new S.ES_("tabindex"),{optional:!0});this.tabIndexInputBinding=Number(me)||this.defaultTabIndex}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static \u0275fac=function(Te){return new(Te||oe)};static \u0275dir=p.FsC({type:oe,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],hostVars:5,hostBindings:function(Te,D){1&Te&&p.bIt("click",function(){return D._focusItem()}),2&Te&&(p.Avn("tabIndex",D._getTabindexAttribute()),p.BMQ("aria-expanded",D._getAriaExpanded())("aria-level",D.level+1)("aria-posinset",D._getPositionInSet())("aria-setsize",D._getSetSize()))},inputs:{tabIndexInputBinding:[2,"tabIndex","tabIndexInputBinding",me=>null==me?0:(0,S.Udg)(me)],disabled:[2,"disabled","disabled",S.L39]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["matTreeNode"],features:[p.Jv_([{provide:i.xn,useExisting:oe}]),p.Vt3]})}return oe})(),P=(()=>{class oe extends i.Sz{data;static \u0275fac=(()=>{let me;return function(D){return(me||(me=p.xGo(oe)))(D||oe)}})();static \u0275dir=p.FsC({type:oe,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},features:[p.Jv_([{provide:i.Sz,useExisting:oe}]),p.Vt3]})}return oe})(),M=(()=>{class oe extends i.s3{node;get disabled(){return this.isDisabled}set disabled(me){this.isDisabled=me}get tabIndex(){return this.isDisabled?-1:this._tabIndex}set tabIndex(me){this._tabIndex=me}_tabIndex;ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static \u0275fac=(()=>{let me;return function(D){return(me||(me=p.xGo(oe)))(D||oe)}})();static \u0275dir=p.FsC({type:oe,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{node:[0,"matNestedTreeNode","node"],disabled:[2,"disabled","disabled",S.L39],tabIndex:[2,"tabIndex","tabIndex",me=>null==me?0:(0,S.Udg)(me)]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["matNestedTreeNode"],features:[p.Jv_([{provide:i.s3,useExisting:oe},{provide:i.xn,useExisting:oe},{provide:i.kZ,useExisting:oe}]),p.Vt3]})}return oe})(),U=(()=>{class oe{viewContainer=(0,t.WQX)(p.c1b);_node=(0,t.WQX)(i.kZ,{optional:!0});static \u0275fac=function(Te){return new(Te||oe)};static \u0275dir=p.FsC({type:oe,selectors:[["","matTreeNodeOutlet",""]],features:[p.Jv_([{provide:i.a$,useExisting:oe}])]})}return oe})(),K=(()=>{class oe extends i.NL{_nodeOutlet=void 0;static \u0275fac=(()=>{let me;return function(D){return(me||(me=p.xGo(oe)))(D||oe)}})();static \u0275cmp=p.VBU({type:oe,selectors:[["mat-tree"]],viewQuery:function(Te,D){if(1&Te&&p.GBs(U,7),2&Te){let n;p.mGM(n=p.lsd())&&(D._nodeOutlet=n.first)}},hostAttrs:[1,"mat-tree"],exportAs:["matTree"],features:[p.Jv_([{provide:i.NL,useExisting:oe}]),p.Vt3],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(Te,D){1&Te&&p.eu8(0,0)},dependencies:[U],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color, var(--mat-sys-surface))}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color, var(--mat-sys-on-surface));font-family:var(--mat-tree-node-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-tree-node-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-tree-node-text-weight, var(--mat-sys-body-large-weight))}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height, 48px)}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2})}return oe})(),q=(()=>{class oe extends i.Hy{static \u0275fac=(()=>{let me;return function(D){return(me||(me=p.xGo(oe)))(D||oe)}})();static \u0275dir=p.FsC({type:oe,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},features:[p.Jv_([{provide:i.Hy,useExisting:oe}]),p.Vt3]})}return oe})(),Q=(()=>{class oe{static \u0275fac=function(Te){return new(Te||oe)};static \u0275mod=p.$C({type:oe});static \u0275inj=t.G2t({imports:[i.Dc,c.y,c.y]})}return oe})();class ue extends e.q{get data(){return this._data.value}set data(he){this._data.next(he)}_data=new T.t([]);connect(he){return(0,g.h)(he.viewChange,this._data).pipe((0,d.T)(()=>this.data))}disconnect(){}}},47424:(Ae,ee)=>{ee.L={bit:1},ee.M={bit:0},ee.Q={bit:3},ee.H={bit:2},ee.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},ee.from=function(t,p){if(ee.isValid(t))return t;try{return function l(i){if("string"!=typeof i)throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return ee.L;case"m":case"medium":return ee.M;case"q":case"quartile":return ee.Q;case"h":case"high":return ee.H;default:throw new Error("Unknown EC Level: "+i)}}(t)}catch{return p}}},47441:(Ae,ee,l)=>{"use strict";l.d(ee,{X:()=>i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},47707:(Ae,ee,l)=>{"use strict";l.d(ee,{Ms:()=>K,vU:()=>P});var i=l(98071),t=l(18359),p=l(41026),S=l(45334),c=l(85343);const e=d("C",void 0,void 0);function d(ae,ue,oe){return{kind:ae,value:ue,error:oe}}var w=l(19270),m=l(49786);class P extends t.yU{constructor(ue){super(),this.isStopped=!1,ue?(this.destination=ue,(0,t.Uv)(ue)&&ue.add(this)):this.destination=$}static create(ue,oe,he){return new K(ue,oe,he)}next(ue){this.isStopped?Q(function g(ae){return d("N",ae,void 0)}(ue),this):this._next(ue)}error(ue){this.isStopped?Q(function T(ae){return d("E",void 0,ae)}(ue),this):(this.isStopped=!0,this._error(ue))}complete(){this.isStopped?Q(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ue){this.destination.next(ue)}_error(ue){try{this.destination.error(ue)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const M=Function.prototype.bind;function j(ae,ue){return M.call(ae,ue)}class U{constructor(ue){this.partialObserver=ue}next(ue){const{partialObserver:oe}=this;if(oe.next)try{oe.next(ue)}catch(he){q(he)}}error(ue){const{partialObserver:oe}=this;if(oe.error)try{oe.error(ue)}catch(he){q(he)}else q(ue)}complete(){const{partialObserver:ue}=this;if(ue.complete)try{ue.complete()}catch(oe){q(oe)}}}class K extends P{constructor(ue,oe,he){let me;if(super(),(0,i.T)(ue)||!ue)me={next:ue??void 0,error:oe??void 0,complete:he??void 0};else{let Te;this&&p.$.useDeprecatedNextContext?(Te=Object.create(ue),Te.unsubscribe=()=>this.unsubscribe(),me={next:ue.next&&j(ue.next,Te),error:ue.error&&j(ue.error,Te),complete:ue.complete&&j(ue.complete,Te)}):me=ue}this.destination=new U(me)}}function q(ae){p.$.useDeprecatedSynchronousErrorHandling?(0,m.l)(ae):(0,S.m)(ae)}function Q(ae,ue){const{onStoppedNotification:oe}=p.$;oe&&w.f.setTimeout(()=>oe(ae,ue))}const $={closed:!0,next:c.l,error:function G(ae){throw ae},complete:c.l}},47740:(Ae,ee,l)=>{var i=ee;i._reverse=function(p){var S={};return Object.keys(p).forEach(function(c){(0|c)==c&&(c|=0),S[p[c]]=c}),S},i.der=l(36283)},47765:Ae=>{Ae.exports=function(){throw new Error("Readable.from is not available in the browser")}},47790:()=>{},47849:(Ae,ee,l)=>{"use strict";var i=l(9656);function p(x){var r=this;this.next=null,this.entry=null,this.finish=function(){!function k(x,r,_){var W=x.entry;for(x.entry=null;W;){var I=W.callback;r.pendingcb--,I(_),W=W.next}r.corkedRequestsFree.next=x}(r,x)}}Ae.exports=q;var c,S=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:i.nextTick;q.WritableState=U;var e=Object.create(l(27637));e.inherits=l(71993);var K,T={deprecate:l(3398)},g=l(18342),d=l(2655).Buffer,w=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},M=l(21509);function j(){}function U(x,r){c=c||l(74075);var _=r instanceof c;this.objectMode=!!(x=x||{}).objectMode,_&&(this.objectMode=this.objectMode||!!x.writableObjectMode);var W=x.highWaterMark,I=x.writableHighWaterMark;this.highWaterMark=W||0===W?W:_&&(I||0===I)?I: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===x.decodeStrings),this.defaultEncoding=x.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(pe){!function me(x,r){var _=x._writableState,W=_.sync,I=_.writecb;if(function he(x){x.writing=!1,x.writecb=null,x.length-=x.writelen,x.writelen=0}(_),r)!function oe(x,r,_,W,I){--r.pendingcb,_?(i.nextTick(I,W),i.nextTick(b,x,r),x._writableState.errorEmitted=!0,x.emit("error",W)):(I(W),x._writableState.errorEmitted=!0,x.emit("error",W),b(x,r))}(x,_,W,r,I);else{var B=o(_);!B&&!_.corked&&!_.bufferProcessing&&_.bufferedRequest&&n(x,_),W?S(Te,x,_,B,I):Te(x,_,B,I)}}(r,pe)},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 p(this)}function q(x){if(c=c||l(74075),!(K.call(q,this)||this instanceof c))return new q(x);this._writableState=new U(x,this),this.writable=!0,x&&("function"==typeof x.write&&(this._write=x.write),"function"==typeof x.writev&&(this._writev=x.writev),"function"==typeof x.destroy&&(this._destroy=x.destroy),"function"==typeof x.final&&(this._final=x.final)),g.call(this)}function ue(x,r,_,W,I,B,re){r.writelen=W,r.writecb=re,r.writing=!0,r.sync=!0,_?x._writev(I,r.onwrite):x._write(I,B,r.onwrite),r.sync=!1}function Te(x,r,_,W){_||function D(x,r){0===r.length&&r.needDrain&&(r.needDrain=!1,x.emit("drain"))}(x,r),r.pendingcb--,W(),b(x,r)}function n(x,r){r.bufferProcessing=!0;var _=r.bufferedRequest;if(x._writev&&_&&_.next){var I=new Array(r.bufferedRequestCount),B=r.corkedRequestsFree;B.entry=_;for(var re=0,pe=!0;_;)I[re]=_,_.isBuf||(pe=!1),_=_.next,re+=1;I.allBuffers=pe,ue(x,r,!0,r.length,I,"",B.finish),r.pendingcb++,r.lastBufferedRequest=null,B.next?(r.corkedRequestsFree=B.next,B.next=null):r.corkedRequestsFree=new p(r),r.bufferedRequestCount=0}else{for(;_;){var be=_.chunk;if(ue(x,r,!1,r.objectMode?1:be.length,be,_.encoding,_.callback),_=_.next,r.bufferedRequestCount--,r.writing)break}null===_&&(r.lastBufferedRequest=null)}r.bufferedRequest=_,r.bufferProcessing=!1}function o(x){return x.ending&&0===x.length&&null===x.bufferedRequest&&!x.finished&&!x.writing}function f(x,r){x._final(function(_){r.pendingcb--,_&&x.emit("error",_),r.prefinished=!0,x.emit("prefinish"),b(x,r)})}function b(x,r){var _=o(r);return _&&(function h(x,r){!r.prefinished&&!r.finalCalled&&("function"==typeof x._final?(r.pendingcb++,r.finalCalled=!0,i.nextTick(f,x,r)):(r.prefinished=!0,x.emit("prefinish")))}(x,r),0===r.pendingcb&&(r.finished=!0,x.emit("finish"))),_}e.inherits(q,g),U.prototype.getBuffer=function(){for(var r=this.bufferedRequest,_=[];r;)_.push(r),r=r.next;return _},function(){try{Object.defineProperty(U.prototype,"buffer",{get:T.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]?(K=Function.prototype[Symbol.hasInstance],Object.defineProperty(q,Symbol.hasInstance,{value:function(x){return!!K.call(this,x)||this===q&&x&&x._writableState instanceof U}})):K=function(x){return x instanceof this},q.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},q.prototype.write=function(x,r,_){var W=this._writableState,I=!1,B=!W.objectMode&&function P(x){return d.isBuffer(x)||x instanceof w}(x);return B&&!d.isBuffer(x)&&(x=function m(x){return d.from(x)}(x)),"function"==typeof r&&(_=r,r=null),B?r="buffer":r||(r=W.defaultEncoding),"function"!=typeof _&&(_=j),W.ended?function G(x,r){var _=new Error("write after end");x.emit("error",_),i.nextTick(r,_)}(this,_):(B||function Q(x,r,_,W){var I=!0,B=!1;return null===_?B=new TypeError("May not write null values to stream"):"string"!=typeof _&&void 0!==_&&!r.objectMode&&(B=new TypeError("Invalid non-string/buffer chunk")),B&&(x.emit("error",B),i.nextTick(W,B),I=!1),I}(this,W,x,_))&&(W.pendingcb++,I=function ae(x,r,_,W,I,B){if(!_){var re=function $(x,r,_){return!x.objectMode&&!1!==x.decodeStrings&&"string"==typeof r&&(r=d.from(r,_)),r}(r,W,I);W!==re&&(_=!0,I="buffer",W=re)}var pe=r.objectMode?1:W.length;r.length+=pe;var be=r.length<r.highWaterMark;if(be||(r.needDrain=!0),r.writing||r.corked){var Be=r.lastBufferedRequest;r.lastBufferedRequest={chunk:W,encoding:I,isBuf:_,callback:B,next:null},Be?Be.next=r.lastBufferedRequest:r.bufferedRequest=r.lastBufferedRequest,r.bufferedRequestCount+=1}else ue(x,r,!1,pe,W,I,B);return be}(this,W,B,x,r,_)),I},q.prototype.cork=function(){this._writableState.corked++},q.prototype.uncork=function(){var x=this._writableState;x.corked&&(x.corked--,!x.writing&&!x.corked&&!x.bufferProcessing&&x.bufferedRequest&&n(this,x))},q.prototype.setDefaultEncoding=function(r){if("string"==typeof r&&(r=r.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((r+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+r);return this._writableState.defaultEncoding=r,this},Object.defineProperty(q.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),q.prototype._write=function(x,r,_){_(new Error("_write() is not implemented"))},q.prototype._writev=null,q.prototype.end=function(x,r,_){var W=this._writableState;"function"==typeof x?(_=x,x=null,r=null):"function"==typeof r&&(_=r,r=null),null!=x&&this.write(x,r),W.corked&&(W.corked=1,this.uncork()),W.ending||function A(x,r,_){r.ending=!0,b(x,r),_&&(r.finished?i.nextTick(_):x.once("finish",_)),r.ended=!0,x.writable=!1}(this,W,_)},Object.defineProperty(q.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(x){this._writableState&&(this._writableState.destroyed=x)}}),q.prototype.destroy=M.destroy,q.prototype._undestroy=M.undestroy,q.prototype._destroy=function(x,r){this.end(),r(x)}},47851:(Ae,ee,l)=>{var i=l(41876);ee.encode=i.encode,ee.decode=i.decode},47860:(Ae,ee,l)=>{"use strict";l.d(ee,{BD:()=>c,CZ:()=>S,r5:()=>i});var i=function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e}(i||{});let t,p;function S(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)p=!0;else{const e=Element.prototype.scrollTo;p=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return p}function c(){if("object"!=typeof document||!document)return i.NORMAL;if(null==t){const e=document.createElement("div"),T=e.style;e.dir="rtl",T.width="1px",T.overflow="auto",T.visibility="hidden",T.pointerEvents="none",T.position="absolute";const g=document.createElement("div"),d=g.style;d.width="2px",d.height="1px",e.appendChild(g),document.body.appendChild(e),t=i.NORMAL,0===e.scrollLeft&&(e.scrollLeft=1,t=0===e.scrollLeft?i.NEGATED:i.INVERTED),e.remove()}return t}},48128:(Ae,ee,l)=>{"use strict";var i=l(31358),t=l(4570),p=l(61885),S=l(98910);Ae.exports=function(e){var T=p(arguments),g=e.length-(arguments.length-1);return i(T,1+(g>0?g:0),!0)},t?t(Ae.exports,"apply",{value:S}):Ae.exports.apply=S},48440:(Ae,ee,l)=>{"use strict";l.d(ee,{Ag:()=>b,Bg:()=>G,EF:()=>k,H8:()=>f,Ht:()=>e,JC:()=>M,KE:()=>g,KO:()=>I,KZ:()=>h,Ny:()=>A,TO:()=>q,Wu:()=>$,XR:()=>oe,a7:()=>D,bh:()=>c,j2:()=>Be,mC:()=>_e,mK:()=>m,n5:()=>re,nR:()=>T,pL:()=>w,s0:()=>Le,si:()=>ue});let i=null,t=!1,p=1,S=null;const c=Symbol("SIGNAL");function e(ge){const ve=i;return i=ge,ve}function T(){return i}function g(){return t}const w={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function m(ge){if(t)throw new Error("");if(null===i)return;i.consumerOnSignalRead(ge);const ve=i.producersTail;if(void 0!==ve&&ve.producer===ge)return;let Oe;const Ee=i.recomputing;if(Ee&&(Oe=void 0!==ve?ve.nextProducer:i.producers,void 0!==Oe&&Oe.producer===ge))return i.producersTail=Oe,void(Oe.lastReadVersion=ge.version);const dt=ge.consumersTail;if(void 0!==dt&&dt.consumer===i&&(!Ee||function o(ge,ve){const Oe=ve.producersTail;if(void 0!==Oe){let Ee=ve.producers;do{if(Ee===ge)return!0;if(Ee===Oe)break;Ee=Ee.nextProducer}while(void 0!==Ee)}return!1}(dt,i)))return;const nt=Te(i),Ct={producer:ge,consumer:i,nextProducer:Oe,prevConsumer:dt,lastReadVersion:ge.version,nextConsumer:void 0};i.producersTail=Ct,void 0!==ve?ve.nextProducer=Ct:i.producers=Ct,nt&&he(ge,Ct)}function M(ge){if((!Te(ge)||ge.dirty)&&(ge.dirty||ge.lastCleanEpoch!==p)){if(!ge.producerMustRecompute(ge)&&!ue(ge))return void q(ge);ge.producerRecomputeValue(ge),q(ge)}}function j(ge){if(void 0===ge.consumers)return;const ve=t;t=!0;try{for(let Oe=ge.consumers;void 0!==Oe;Oe=Oe.nextConsumer){const Ee=Oe.consumer;Ee.dirty||K(Ee)}}finally{t=ve}}function U(){return!1!==i?.consumerAllowSignalWrites}function K(ge){ge.dirty=!0,j(ge),ge.consumerMarkedDirty?.(ge)}function q(ge){ge.dirty=!1,ge.lastCleanEpoch=p}function G(ge){return ge&&function Q(ge){ge.producersTail=void 0,ge.recomputing=!0}(ge),e(ge)}function $(ge,ve){e(ve),ge&&function ae(ge){ge.recomputing=!1;const ve=ge.producersTail;let Oe=void 0!==ve?ve.nextProducer:ge.producers;if(void 0!==Oe){if(Te(ge))do{Oe=me(Oe)}while(void 0!==Oe);void 0!==ve?ve.nextProducer=void 0:ge.producers=void 0}}(ge)}function ue(ge){for(let ve=ge.producers;void 0!==ve;ve=ve.nextProducer){const Oe=ve.producer,Ee=ve.lastReadVersion;if(Ee!==Oe.version||(M(Oe),Ee!==Oe.version))return!0}return!1}function oe(ge){if(Te(ge)){let ve=ge.producers;for(;void 0!==ve;)ve=me(ve)}ge.producers=void 0,ge.producersTail=void 0,ge.consumers=void 0,ge.consumersTail=void 0}function he(ge,ve){const Oe=ge.consumersTail,Ee=Te(ge);if(void 0!==Oe?(ve.nextConsumer=Oe.nextConsumer,Oe.nextConsumer=ve):(ve.nextConsumer=void 0,ge.consumers=ve),ve.prevConsumer=Oe,ge.consumersTail=ve,!Ee)for(let dt=ge.producers;void 0!==dt;dt=dt.nextProducer)he(dt.producer,dt)}function me(ge){const ve=ge.producer,Oe=ge.nextProducer,Ee=ge.nextConsumer,dt=ge.prevConsumer;if(ge.nextConsumer=void 0,ge.prevConsumer=void 0,void 0!==Ee?Ee.prevConsumer=dt:ve.consumersTail=dt,void 0!==dt)dt.nextConsumer=Ee;else if(ve.consumers=Ee,!Te(ve)){let nt=ve.producers;for(;void 0!==nt;)nt=me(nt)}return Oe}function Te(ge){return ge.consumerIsAlwaysLive||void 0!==ge.consumers}function D(ge){S?.(ge)}function f(ge,ve){return Object.is(ge,ve)}function h(ge,ve){const Oe=Object.create(x);Oe.computation=ge,void 0!==ve&&(Oe.equal=ve);const Ee=()=>{if(M(Oe),m(Oe),Oe.value===k)throw Oe.error;return Oe.value};return Ee[c]=Oe,D(Oe),Ee}const b=Symbol("UNSET"),A=Symbol("COMPUTING"),k=Symbol("ERRORED"),x={...w,value:b,dirty:!0,error:null,equal:f,kind:"computed",producerMustRecompute:ge=>ge.value===b||ge.value===A,producerRecomputeValue(ge){if(ge.value===A)throw new Error("");const ve=ge.value;ge.value=A;const Oe=G(ge);let Ee,dt=!1;try{Ee=ge.computation(),e(null),dt=ve!==b&&ve!==k&&Ee!==k&&ge.equal(ve,Ee)}catch(nt){Ee=k,ge.error=nt}finally{$(ge,Oe)}dt?ge.value=ve:(ge.value=Ee,ge.version++)}};let _=function r(){throw new Error};function W(ge){_(ge)}function I(ge){_=ge}let B=null;function re(ge,ve){const Oe=Object.create(Le);Oe.value=ge,void 0!==ve&&(Oe.equal=ve);const Ee=()=>function be(ge){return m(ge),ge.value}(Oe);return Ee[c]=Oe,D(Oe),[Ee,Ct=>Be(Oe,Ct),Ct=>_e(Oe,Ct)]}function Be(ge,ve){U()||W(ge),ge.equal(ge.value,ve)||(ge.value=ve,function Ke(ge){ge.version++,function P(){p++}(),j(ge),B?.(ge)}(ge))}function _e(ge,ve){U()||W(ge),Be(ge,ve(ge.value))}const Le={...w,equal:f,value:void 0,kind:"signal"}},48585:(Ae,ee,l)=>{"use strict";var i=l(71993),t=l(70463),p=l(27054).Buffer,S=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function e(){this.init(),this._w=c,t.call(this,64,56)}function T(w){return w<<5|w>>>27}function g(w){return w<<30|w>>>2}function d(w,m,P,M){return 0===w?m&P|~m&M:2===w?m&P|m&M|P&M:m^P^M}i(e,t),e.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},e.prototype._update=function(w){for(var m=this._w,P=0|this._a,M=0|this._b,j=0|this._c,U=0|this._d,K=0|this._e,q=0;q<16;++q)m[q]=w.readInt32BE(4*q);for(;q<80;++q)m[q]=m[q-3]^m[q-8]^m[q-14]^m[q-16];for(var G=0;G<80;++G){var Q=~~(G/20),$=T(P)+d(Q,M,j,U)+K+m[G]+S[Q]|0;K=U,U=j,j=g(M),M=P,P=$}this._a=P+this._a|0,this._b=M+this._b|0,this._c=j+this._c|0,this._d=U+this._d|0,this._e=K+this._e|0},e.prototype._hash=function(){var w=p.allocUnsafe(20);return w.writeInt32BE(0|this._a,0),w.writeInt32BE(0|this._b,4),w.writeInt32BE(0|this._c,8),w.writeInt32BE(0|this._d,12),w.writeInt32BE(0|this._e,16),w},Ae.exports=e},49046:(Ae,ee,l)=>{"use strict";l.d(ee,{Y:()=>t});var i=l(73664);let t=(()=>{class p{static \u0275fac=function(e){return new(e||p)};static \u0275cmp=i.VBU({type:p,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(e,T){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}\n"],encapsulation:2,changeDetection:0})}return p})()},49132:Ae=>{"use strict";var l=Object.prototype.toString,i=Math.max,p=function(T,g){for(var d=[],w=0;w<T.length;w+=1)d[w]=T[w];for(var m=0;m<g.length;m+=1)d[m+T.length]=g[m];return d};Ae.exports=function(T){var g=this;if("function"!=typeof g||"[object Function]"!==l.apply(g))throw new TypeError("Function.prototype.bind called on incompatible "+g);for(var w,d=function(T){for(var d=[],w=1,m=0;w<T.length;w+=1,m+=1)d[m]=T[w];return d}(arguments),P=i(0,g.length-d.length),M=[],j=0;j<P;j++)M[j]="$"+j;if(w=Function("binder","return function ("+function(e){for(var g="",d=0;d<e.length;d+=1)g+=e[d],d+1<e.length&&(g+=",");return g}(M)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof w){var K=g.apply(this,p(d,arguments));return Object(K)===K?K:this}return g.apply(T,p(d,arguments))}),g.prototype){var U=function(){};U.prototype=g.prototype,w.prototype=new U,U.prototype=null}return w}},49338:(Ae,ee,l)=>{"use strict";l.d(ee,{WB:()=>kt,$Q:()=>di,rW:()=>Ct,rR:()=>W,Sf:()=>ge,z_:()=>te,yY:()=>Oe,gA:()=>Te,$M:()=>nt,uA:()=>Z,Y$:()=>Ie,RH:()=>x});var i=l(2615),t=l(73664),p=l(17705),S=l(57303),c=l(39842),e=l(44522);function T(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var g=l(88968),d=l(21413),w=l(18359);function m(ce){return null==ce?"":"string"==typeof ce?ce:`${ce}px`}var P=l(80408),M=l(5718),j=l(76939),U=l(47860),K=l(5964),q=l(39974),G=l(54360),$=l(89726),ae=l(61577),ue=l(10438),oe=l(67336),he=l(28203);const me=(0,U.CZ)();function Te(ce){return new D(ce.get(M.Xj),ce.get(i.qQL))}class D{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(se,ke){this._viewportRuler=se,this._document=ke}attach(){}enable(){if(this._canBeEnabled()){const se=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=se.style.left||"",this._previousHTMLStyles.top=se.style.top||"",se.style.left=m(-this._previousScrollPosition.left),se.style.top=m(-this._previousScrollPosition.top),se.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const se=this._document.documentElement,Ue=se.style,Ne=this._document.body.style,Kt=Ue.scrollBehavior||"",yt=Ne.scrollBehavior||"";this._isEnabled=!1,Ue.left=this._previousHTMLStyles.left,Ue.top=this._previousHTMLStyles.top,se.classList.remove("cdk-global-scrollblock"),me&&(Ue.scrollBehavior=Ne.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),me&&(Ue.scrollBehavior=Kt,Ne.scrollBehavior=yt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ke=this._document.documentElement,Ue=this._viewportRuler.getViewportSize();return ke.scrollHeight>Ue.height||ke.scrollWidth>Ue.width}}class f{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(se,ke,Ue,Ne){this._scrollDispatcher=se,this._ngZone=ke,this._viewportRuler=Ue,this._config=Ne}attach(se){this._overlayRef=se}enable(){if(this._scrollSubscription)return;const se=this._scrollDispatcher.scrolled(0).pipe((0,K.p)(ke=>!ke||!this._overlayRef.overlayElement.contains(ke.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=se.subscribe(()=>{const ke=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ke-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=se.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class b{enable(){}disable(){}attach(){}}function A(ce,se){return se.some(ke=>ce.bottom<ke.top||ce.top>ke.bottom||ce.right<ke.left||ce.left>ke.right)}function k(ce,se){return se.some(ke=>ce.top<ke.top||ce.bottom>ke.bottom||ce.left<ke.left||ce.right>ke.right)}function x(ce,se){return new r(ce.get(M.R),ce.get(M.Xj),ce.get(t.SKi),se)}class r{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(se,ke,Ue,Ne){this._scrollDispatcher=se,this._viewportRuler=ke,this._ngZone=Ue,this._config=Ne}attach(se){this._overlayRef=se}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 ke=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ue,height:Ne}=this._viewportRuler.getViewportSize();A(ke,[{width:Ue,height:Ne,bottom:Ne,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 _=(()=>{class ce{_injector=(0,i.WQX)(i.zZn);constructor(){}noop=()=>new b;close=ke=>function o(ce,se){return new f(ce.get(M.R),ce.get(t.SKi),ce.get(M.Xj),se)}(this._injector,ke);block=()=>Te(this._injector);reposition=ke=>x(this._injector,ke);static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275prov=i.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();class W{positionStrategy;scrollStrategy=new b;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(se){if(se){const ke=Object.keys(se);for(const Ue of ke)void 0!==se[Ue]&&(this[Ue]=se[Ue])}}}class re{connectionPair;scrollableViewProperties;constructor(se,ke){this.connectionPair=se,this.scrollableViewProperties=ke}}let Be=(()=>{class ce{_attachedOverlays=[];_document=(0,i.WQX)(i.qQL);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(ke){this.remove(ke),this._attachedOverlays.push(ke)}remove(ke){const Ue=this._attachedOverlays.indexOf(ke);Ue>-1&&this._attachedOverlays.splice(Ue,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275prov=i.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})(),_e=(()=>{class ce extends Be{_ngZone=(0,i.WQX)(t.SKi);_renderer=(0,i.WQX)(t._9s).createRenderer(null,null);_cleanupKeydown;add(ke){super.add(ke),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=ke=>{const Ue=this._attachedOverlays;for(let Ne=Ue.length-1;Ne>-1;Ne--)if(Ue[Ne]._keydownEvents.observers.length>0){this._ngZone.run(()=>Ue[Ne]._keydownEvents.next(ke));break}};static \u0275fac=(()=>{let ke;return function(Ne){return(ke||(ke=t.xGo(ce)))(Ne||ce)}})();static \u0275prov=i.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})(),ye=(()=>{class ce extends Be{_platform=(0,i.WQX)(c.O);_ngZone=(0,i.WQX)(t.SKi);_renderer=(0,i.WQX)(t._9s).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(ke){if(super.add(ke),!this._isAttached){const Ue=this._document.body,Ne={capture:!0},Kt=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[Kt.listen(Ue,"pointerdown",this._pointerDownListener,Ne),Kt.listen(Ue,"click",this._clickListener,Ne),Kt.listen(Ue,"auxclick",this._clickListener,Ne),Kt.listen(Ue,"contextmenu",this._clickListener,Ne)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ue.style.cursor,Ue.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(ke=>ke()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=ke=>{this._pointerDownEventTarget=(0,e.Fb)(ke)};_clickListener=ke=>{const Ue=(0,e.Fb)(ke),Ne="click"===ke.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ue;this._pointerDownEventTarget=null;const Kt=this._attachedOverlays.slice();for(let yt=Kt.length-1;yt>-1;yt--){const Vt=Kt[yt];if(Vt._outsidePointerEvents.observers.length<1||!Vt.hasAttached())continue;if(Le(Vt.overlayElement,Ue)||Le(Vt.overlayElement,Ne))break;const Zt=Vt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Zt.next(ke)):Zt.next(ke)}};static \u0275fac=(()=>{let ke;return function(Ne){return(ke||(ke=t.xGo(ce)))(Ne||ce)}})();static \u0275prov=i.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();function Le(ce,se){const ke=typeof ShadowRoot<"u"&&ShadowRoot;let Ue=se;for(;Ue;){if(Ue===ce)return!0;Ue=ke&&Ue instanceof ShadowRoot?Ue.host:Ue.parentNode}return!1}let Ke=(()=>{class ce{static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275cmp=t.VBU({type:ce,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(Ue,Ne){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return ce})(),ge=(()=>{class ce{_platform=(0,i.WQX)(c.O);_containerElement;_document=(0,i.WQX)(i.qQL);_styleLoader=(0,i.WQX)(g.l);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ke="cdk-overlay-container";if(this._platform.isBrowser||T()){const Ne=this._document.querySelectorAll(`.${ke}[platform="server"], .${ke}[platform="test"]`);for(let Kt=0;Kt<Ne.length;Kt++)Ne[Kt].remove()}const Ue=this._document.createElement("div");Ue.classList.add(ke),T()?Ue.setAttribute("platform","test"):this._platform.isBrowser||Ue.setAttribute("platform","server"),this._document.body.appendChild(Ue),this._containerElement=Ue}_loadStyles(){this._styleLoader.load(Ke)}static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275prov=i.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();class ve{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(se,ke,Ue,Ne){this._renderer=ke,this._ngZone=Ue,this.element=se.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=ke.listen(this.element,"click",Ne)}detach(){this._ngZone.runOutsideAngular(()=>{const se=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(se,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),se.style.pointerEvents="none",se.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}class Oe{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new d.B;_attachments=new d.B;_detachments=new d.B;_positionStrategy;_scrollStrategy;_locationChanges=w.yU.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new d.B;_outsidePointerEvents=new d.B;_afterNextRenderRef;constructor(se,ke,Ue,Ne,Kt,yt,Vt,Zt,ti,Ye=!1,Nt,Et){this._portalOutlet=se,this._host=ke,this._pane=Ue,this._config=Ne,this._ngZone=Kt,this._keyboardDispatcher=yt,this._document=Vt,this._location=Zt,this._outsideClickDispatcher=ti,this._animationsDisabled=Ye,this._injector=Nt,this._renderer=Et,Ne.scrollStrategy&&(this._scrollStrategy=Ne.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ne.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(se){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ke=this._portalOutlet.attach(se);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=(0,t.mal)(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof ke?.onDestroy&&ke.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),ke}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const se=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),se}dispose(){const se=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),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._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,se&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}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(se){se!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=se,this.hasAttached()&&(se.attach(this),this.updatePosition()))}updateSize(se){this._config={...this._config,...se},this._updateElementSize()}setDirection(se){this._config={...this._config,direction:se},this._updateElementDirection()}addPanelClass(se){this._pane&&this._toggleClasses(this._pane,se,!0)}removePanelClass(se){this._pane&&this._toggleClasses(this._pane,se,!1)}getDirection(){const se=this._config.direction;return se?"string"==typeof se?se:se.value:"ltr"}updateScrollStrategy(se){se!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=se,this.hasAttached()&&(se.attach(this),se.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const se=this._pane.style;se.width=m(this._config.width),se.height=m(this._config.height),se.minWidth=m(this._config.minWidth),se.minHeight=m(this._config.minHeight),se.maxWidth=m(this._config.maxWidth),se.maxHeight=m(this._config.maxHeight)}_togglePointerEvents(se){this._pane.style.pointerEvents=se?"":"none"}_attachBackdrop(){const se="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new ve(this._document,this._renderer,this._ngZone,ke=>{this._backdropClick.next(ke)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(se))}):this._backdropRef.element.classList.add(se)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(se,ke,Ue){const Ne=(0,P.F)(ke||[]).filter(Kt=>!!Kt);Ne.length&&(Ue?se.classList.add(...Ne):se.classList.remove(...Ne))}_detachContentWhenEmpty(){let se=!1;try{this._detachContentAfterRenderRef=(0,t.mal)(()=>{se=!0,this._detachContent()},{injector:this._injector})}catch(ke){if(se)throw ke;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!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()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const se=this._scrollStrategy;se?.disable(),se?.detach?.()}}const Ee="cdk-overlay-connected-position-bounding-box",dt=/([A-Za-z%]+)$/;function nt(ce,se){return new Ct(se,ce.get(M.Xj),ce.get(i.qQL),ce.get(c.O),ce.get(ge))}class Ct{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new d.B;_resizeSubscription=w.yU.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(se,ke,Ue,Ne,Kt){this._viewportRuler=ke,this._document=Ue,this._platform=Ne,this._overlayContainer=Kt,this.setOrigin(se)}attach(se){this._validatePositions(),se.hostElement.classList.add(Ee),this._overlayRef=se,this._boundingBox=se.hostElement,this._pane=se.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 se=this._originRect,ke=this._overlayRect,Ue=this._viewportRect,Ne=this._containerRect,Kt=[];let yt;for(let Vt of this._preferredPositions){let Zt=this._getOriginPoint(se,Ne,Vt),ti=this._getOverlayPoint(Zt,ke,Vt),Ye=this._getOverlayFit(ti,ke,Ue,Vt);if(Ye.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Vt,Zt);this._canFitWithFlexibleDimensions(Ye,ti,Ue)?Kt.push({position:Vt,origin:Zt,overlayRect:ke,boundingBoxRect:this._calculateBoundingBoxRect(Zt,Vt)}):(!yt||yt.overlayFit.visibleArea<Ye.visibleArea)&&(yt={overlayFit:Ye,overlayPoint:ti,originPoint:Zt,position:Vt,overlayRect:ke})}if(Kt.length){let Vt=null,Zt=-1;for(const ti of Kt){const Ye=ti.boundingBoxRect.width*ti.boundingBoxRect.height*(ti.position.weight||1);Ye>Zt&&(Zt=Ye,Vt=ti)}return this._isPushed=!1,void this._applyPosition(Vt.position,Vt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(yt.position,yt.originPoint);this._applyPosition(yt.position,yt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Mt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ee),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const se=this._lastPosition;if(se){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ke=this._getOriginPoint(this._originRect,this._containerRect,se);this._applyPosition(se,ke)}else this.apply()}withScrollableContainers(se){return this._scrollables=se,this}withPositions(se){return this._preferredPositions=se,-1===se.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(se){return this._viewportMargin=se,this}withFlexibleDimensions(se=!0){return this._hasFlexibleDimensions=se,this}withGrowAfterOpen(se=!0){return this._growAfterOpen=se,this}withPush(se=!0){return this._canPush=se,this}withLockedPosition(se=!0){return this._positionLocked=se,this}setOrigin(se){return this._origin=se,this}withDefaultOffsetX(se){return this._offsetX=se,this}withDefaultOffsetY(se){return this._offsetY=se,this}withTransformOriginOn(se){return this._transformOriginSelector=se,this}_getOriginPoint(se,ke,Ue){let Ne,Kt;if("center"==Ue.originX)Ne=se.left+se.width/2;else{const yt=this._isRtl()?se.right:se.left,Vt=this._isRtl()?se.left:se.right;Ne="start"==Ue.originX?yt:Vt}return ke.left<0&&(Ne-=ke.left),Kt="center"==Ue.originY?se.top+se.height/2:"top"==Ue.originY?se.top:se.bottom,ke.top<0&&(Kt-=ke.top),{x:Ne,y:Kt}}_getOverlayPoint(se,ke,Ue){let Ne,Kt;return Ne="center"==Ue.overlayX?-ke.width/2:"start"===Ue.overlayX?this._isRtl()?-ke.width:0:this._isRtl()?0:-ke.width,Kt="center"==Ue.overlayY?-ke.height/2:"top"==Ue.overlayY?0:-ke.height,{x:se.x+Ne,y:se.y+Kt}}_getOverlayFit(se,ke,Ue,Ne){const Kt=Pe(ke);let{x:yt,y:Vt}=se,Zt=this._getOffset(Ne,"x"),ti=this._getOffset(Ne,"y");Zt&&(yt+=Zt),ti&&(Vt+=ti);let Et=0-Vt,Jt=Vt+Kt.height-Ue.height,qe=this._subtractOverflows(Kt.width,0-yt,yt+Kt.width-Ue.width),$e=this._subtractOverflows(Kt.height,Et,Jt),tt=qe*$e;return{visibleArea:tt,isCompletelyWithinViewport:Kt.width*Kt.height===tt,fitsInViewportVertically:$e===Kt.height,fitsInViewportHorizontally:qe==Kt.width}}_canFitWithFlexibleDimensions(se,ke,Ue){if(this._hasFlexibleDimensions){const Ne=Ue.bottom-ke.y,Kt=Ue.right-ke.x,yt=lt(this._overlayRef.getConfig().minHeight),Vt=lt(this._overlayRef.getConfig().minWidth);return(se.fitsInViewportVertically||null!=yt&&yt<=Ne)&&(se.fitsInViewportHorizontally||null!=Vt&&Vt<=Kt)}return!1}_pushOverlayOnScreen(se,ke,Ue){if(this._previousPushAmount&&this._positionLocked)return{x:se.x+this._previousPushAmount.x,y:se.y+this._previousPushAmount.y};const Ne=Pe(ke),Kt=this._viewportRect,yt=Math.max(se.x+Ne.width-Kt.width,0),Vt=Math.max(se.y+Ne.height-Kt.height,0),Zt=Math.max(Kt.top-Ue.top-se.y,0),ti=Math.max(Kt.left-Ue.left-se.x,0);let Ye=0,Nt=0;return Ye=Ne.width<=Kt.width?ti||-yt:se.x<this._viewportMargin?Kt.left-Ue.left-se.x:0,Nt=Ne.height<=Kt.height?Zt||-Vt:se.y<this._viewportMargin?Kt.top-Ue.top-se.y:0,this._previousPushAmount={x:Ye,y:Nt},{x:se.x+Ye,y:se.y+Nt}}_applyPosition(se,ke){if(this._setTransformOrigin(se),this._setOverlayElementStyles(ke,se),this._setBoundingBoxStyles(ke,se),se.panelClass&&this._addPanelClasses(se.panelClass),this._positionChanges.observers.length){const Ue=this._getScrollVisibility();if(se!==this._lastPosition||!this._lastScrollVisibility||!function Ht(ce,se){return ce===se||ce.isOriginClipped===se.isOriginClipped&&ce.isOriginOutsideView===se.isOriginOutsideView&&ce.isOverlayClipped===se.isOverlayClipped&&ce.isOverlayOutsideView===se.isOverlayOutsideView}(this._lastScrollVisibility,Ue)){const Ne=new re(se,Ue);this._positionChanges.next(Ne)}this._lastScrollVisibility=Ue}this._lastPosition=se,this._isInitialRender=!1}_setTransformOrigin(se){if(!this._transformOriginSelector)return;const ke=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ue,Ne=se.overlayY;Ue="center"===se.overlayX?"center":this._isRtl()?"start"===se.overlayX?"right":"left":"start"===se.overlayX?"left":"right";for(let Kt=0;Kt<ke.length;Kt++)ke[Kt].style.transformOrigin=`${Ue} ${Ne}`}_calculateBoundingBoxRect(se,ke){const Ue=this._viewportRect,Ne=this._isRtl();let Kt,yt,Vt,Ye,Nt,Et;if("top"===ke.overlayY)yt=se.y,Kt=Ue.height-yt+this._viewportMargin;else if("bottom"===ke.overlayY)Vt=Ue.height-se.y+2*this._viewportMargin,Kt=Ue.height-Vt+this._viewportMargin;else{const Jt=Math.min(Ue.bottom-se.y+Ue.top,se.y),qe=this._lastBoundingBoxSize.height;Kt=2*Jt,yt=se.y-Jt,Kt>qe&&!this._isInitialRender&&!this._growAfterOpen&&(yt=se.y-qe/2)}if("end"===ke.overlayX&&!Ne||"start"===ke.overlayX&&Ne)Et=Ue.width-se.x+2*this._viewportMargin,Ye=se.x-this._viewportMargin;else if("start"===ke.overlayX&&!Ne||"end"===ke.overlayX&&Ne)Nt=se.x,Ye=Ue.right-se.x;else{const Jt=Math.min(Ue.right-se.x+Ue.left,se.x),qe=this._lastBoundingBoxSize.width;Ye=2*Jt,Nt=se.x-Jt,Ye>qe&&!this._isInitialRender&&!this._growAfterOpen&&(Nt=se.x-qe/2)}return{top:yt,left:Nt,bottom:Vt,right:Et,width:Ye,height:Kt}}_setBoundingBoxStyles(se,ke){const Ue=this._calculateBoundingBoxRect(se,ke);!this._isInitialRender&&!this._growAfterOpen&&(Ue.height=Math.min(Ue.height,this._lastBoundingBoxSize.height),Ue.width=Math.min(Ue.width,this._lastBoundingBoxSize.width));const Ne={};if(this._hasExactPosition())Ne.top=Ne.left="0",Ne.bottom=Ne.right=Ne.maxHeight=Ne.maxWidth="",Ne.width=Ne.height="100%";else{const Kt=this._overlayRef.getConfig().maxHeight,yt=this._overlayRef.getConfig().maxWidth;Ne.height=m(Ue.height),Ne.top=m(Ue.top),Ne.bottom=m(Ue.bottom),Ne.width=m(Ue.width),Ne.left=m(Ue.left),Ne.right=m(Ue.right),Ne.alignItems="center"===ke.overlayX?"center":"end"===ke.overlayX?"flex-end":"flex-start",Ne.justifyContent="center"===ke.overlayY?"center":"bottom"===ke.overlayY?"flex-end":"flex-start",Kt&&(Ne.maxHeight=m(Kt)),yt&&(Ne.maxWidth=m(yt))}this._lastBoundingBoxSize=Ue,Mt(this._boundingBox.style,Ne)}_resetBoundingBoxStyles(){Mt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Mt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(se,ke){const Ue={},Ne=this._hasExactPosition(),Kt=this._hasFlexibleDimensions,yt=this._overlayRef.getConfig();if(Ne){const Ye=this._viewportRuler.getViewportScrollPosition();Mt(Ue,this._getExactOverlayY(ke,se,Ye)),Mt(Ue,this._getExactOverlayX(ke,se,Ye))}else Ue.position="static";let Vt="",Zt=this._getOffset(ke,"x"),ti=this._getOffset(ke,"y");Zt&&(Vt+=`translateX(${Zt}px) `),ti&&(Vt+=`translateY(${ti}px)`),Ue.transform=Vt.trim(),yt.maxHeight&&(Ne?Ue.maxHeight=m(yt.maxHeight):Kt&&(Ue.maxHeight="")),yt.maxWidth&&(Ne?Ue.maxWidth=m(yt.maxWidth):Kt&&(Ue.maxWidth="")),Mt(this._pane.style,Ue)}_getExactOverlayY(se,ke,Ue){let Ne={top:"",bottom:""},Kt=this._getOverlayPoint(ke,this._overlayRect,se);return this._isPushed&&(Kt=this._pushOverlayOnScreen(Kt,this._overlayRect,Ue)),"bottom"===se.overlayY?Ne.bottom=this._document.documentElement.clientHeight-(Kt.y+this._overlayRect.height)+"px":Ne.top=m(Kt.y),Ne}_getExactOverlayX(se,ke,Ue){let yt,Ne={left:"",right:""},Kt=this._getOverlayPoint(ke,this._overlayRect,se);return this._isPushed&&(Kt=this._pushOverlayOnScreen(Kt,this._overlayRect,Ue)),yt=this._isRtl()?"end"===se.overlayX?"left":"right":"end"===se.overlayX?"right":"left","right"===yt?Ne.right=this._document.documentElement.clientWidth-(Kt.x+this._overlayRect.width)+"px":Ne.left=m(Kt.x),Ne}_getScrollVisibility(){const se=this._getOriginRect(),ke=this._pane.getBoundingClientRect(),Ue=this._scrollables.map(Ne=>Ne.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:k(se,Ue),isOriginOutsideView:A(se,Ue),isOverlayClipped:k(ke,Ue),isOverlayOutsideView:A(ke,Ue)}}_subtractOverflows(se,...ke){return ke.reduce((Ue,Ne)=>Ue-Math.max(Ne,0),se)}_getNarrowedViewportRect(){const se=this._document.documentElement.clientWidth,ke=this._document.documentElement.clientHeight,Ue=this._viewportRuler.getViewportScrollPosition();return{top:Ue.top+this._viewportMargin,left:Ue.left+this._viewportMargin,right:Ue.left+se-this._viewportMargin,bottom:Ue.top+ke-this._viewportMargin,width:se-2*this._viewportMargin,height:ke-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(se,ke){return"x"===ke?null==se.offsetX?this._offsetX:se.offsetX:null==se.offsetY?this._offsetY:se.offsetY}_validatePositions(){}_addPanelClasses(se){this._pane&&(0,P.F)(se).forEach(ke=>{""!==ke&&-1===this._appliedPanelClasses.indexOf(ke)&&(this._appliedPanelClasses.push(ke),this._pane.classList.add(ke))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(se=>{this._pane.classList.remove(se)}),this._appliedPanelClasses=[])}_getOriginRect(){const se=this._origin;if(se instanceof t.aKT)return se.nativeElement.getBoundingClientRect();if(se instanceof Element)return se.getBoundingClientRect();const ke=se.width||0,Ue=se.height||0;return{top:se.y,bottom:se.y+Ue,left:se.x,right:se.x+ke,height:Ue,width:ke}}}function Mt(ce,se){for(let ke in se)se.hasOwnProperty(ke)&&(ce[ke]=se[ke]);return ce}function lt(ce){if("number"!=typeof ce&&null!=ce){const[se,ke]=ce.split(dt);return ke&&"px"!==ke?null:parseFloat(se)}return ce||null}function Pe(ce){return{top:Math.floor(ce.top),right:Math.floor(ce.right),bottom:Math.floor(ce.bottom),left:Math.floor(ce.left),width:Math.floor(ce.width),height:Math.floor(ce.height)}}const ze="cdk-global-overlay-wrapper";function Z(ce){return new J}class J{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(se){const ke=se.getConfig();this._overlayRef=se,this._width&&!ke.width&&se.updateSize({width:this._width}),this._height&&!ke.height&&se.updateSize({height:this._height}),se.hostElement.classList.add(ze),this._isDisposed=!1}top(se=""){return this._bottomOffset="",this._topOffset=se,this._alignItems="flex-start",this}left(se=""){return this._xOffset=se,this._xPosition="left",this}bottom(se=""){return this._topOffset="",this._bottomOffset=se,this._alignItems="flex-end",this}right(se=""){return this._xOffset=se,this._xPosition="right",this}start(se=""){return this._xOffset=se,this._xPosition="start",this}end(se=""){return this._xOffset=se,this._xPosition="end",this}width(se=""){return this._overlayRef?this._overlayRef.updateSize({width:se}):this._width=se,this}height(se=""){return this._overlayRef?this._overlayRef.updateSize({height:se}):this._height=se,this}centerHorizontally(se=""){return this.left(se),this._xPosition="center",this}centerVertically(se=""){return this.top(se),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const se=this._overlayRef.overlayElement.style,ke=this._overlayRef.hostElement.style,Ue=this._overlayRef.getConfig(),{width:Ne,height:Kt,maxWidth:yt,maxHeight:Vt}=Ue,Zt=!("100%"!==Ne&&"100vw"!==Ne||yt&&"100%"!==yt&&"100vw"!==yt),ti=!("100%"!==Kt&&"100vh"!==Kt||Vt&&"100%"!==Vt&&"100vh"!==Vt),Ye=this._xPosition,Nt=this._xOffset,Et="rtl"===this._overlayRef.getConfig().direction;let Jt="",qe="",$e="";Zt?$e="flex-start":"center"===Ye?($e="center",Et?qe=Nt:Jt=Nt):Et?"left"===Ye||"end"===Ye?($e="flex-end",Jt=Nt):("right"===Ye||"start"===Ye)&&($e="flex-start",qe=Nt):"left"===Ye||"start"===Ye?($e="flex-start",Jt=Nt):("right"===Ye||"end"===Ye)&&($e="flex-end",qe=Nt),se.position=this._cssPosition,se.marginLeft=Zt?"0":Jt,se.marginTop=ti?"0":this._topOffset,se.marginBottom=this._bottomOffset,se.marginRight=Zt?"0":qe,ke.justifyContent=$e,ke.alignItems=ti?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const se=this._overlayRef.overlayElement.style,ke=this._overlayRef.hostElement,Ue=ke.style;ke.classList.remove(ze),Ue.justifyContent=Ue.alignItems=se.marginTop=se.marginBottom=se.marginLeft=se.marginRight=se.position="",this._overlayRef=null,this._isDisposed=!0}}let fe=(()=>{class ce{_injector=(0,i.WQX)(i.zZn);constructor(){}global(){return Z()}flexibleConnectedTo(ke){return nt(this._injector,ke)}static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275prov=i.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();function Ie(ce,se){ce.get(g.l).load(Ke);const ke=ce.get(ge),Ue=ce.get(i.qQL),Ne=ce.get($.g),Kt=ce.get(t.o8S),yt=ce.get(ae.dS),Vt=Ue.createElement("div"),Zt=Ue.createElement("div");Zt.id=Ne.getId("cdk-overlay-"),Zt.classList.add("cdk-overlay-pane"),Vt.appendChild(Zt),ke.getContainerElement().appendChild(Vt);const ti=new j.aI(Zt,Kt,ce),Ye=new W(se),Nt=ce.get(t.sFG,null,{optional:!0})||ce.get(t._9s).createRenderer(null,null);return Ye.direction=Ye.direction||yt.value,new Oe(ti,Vt,Zt,Ye,ce.get(t.SKi),ce.get(_e),Ue,ce.get(S.aZ),ce.get(ye),se?.disableAnimations??"NoopAnimations"===ce.get(t.bc$,null,{optional:!0}),ce.get(i.uvJ),Nt)}let ht=(()=>{class ce{scrollStrategies=(0,i.WQX)(_);_positionBuilder=(0,i.WQX)(fe);_injector=(0,i.WQX)(i.zZn);constructor(){}create(ke){return Ie(this._injector,ke)}position(){return this._positionBuilder}static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275prov=i.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();const li=[{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"}],Qt=new i.nKC("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const ce=(0,i.WQX)(i.zZn);return()=>x(ce)}});let di=(()=>{class ce{elementRef=(0,i.WQX)(t.aKT);constructor(){}static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275dir=t.FsC({type:ce,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return ce})(),kt=(()=>{class ce{_dir=(0,i.WQX)(ae.dS,{optional:!0});_injector=(0,i.WQX)(i.zZn);_overlayRef;_templatePortal;_backdropSubscription=w.yU.EMPTY;_attachSubscription=w.yU.EMPTY;_detachSubscription=w.yU.EMPTY;_positionSubscription=w.yU.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=(0,i.WQX)(Qt);_disposeOnNavigation=!1;_ngZone=(0,i.WQX)(t.SKi);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(ke){this._offsetX=ke,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ke){this._offsetY=ke,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(ke){this._disposeOnNavigation=ke}backdropClick=new t.bkB;positionChange=new t.bkB;attach=new t.bkB;detach=new t.bkB;overlayKeydown=new t.bkB;overlayOutsideClick=new t.bkB;constructor(){const ke=(0,i.WQX)(t.C4Q),Ue=(0,i.WQX)(t.c1b);this._templatePortal=new j.VA(ke,Ue),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(ke){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ke.origin&&this.open&&this._position.apply()),ke.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=li);const ke=this._overlayRef=Ie(this._injector,this._buildConfig());this._attachSubscription=ke.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ke.detachments().subscribe(()=>this.detach.emit()),ke.keydownEvents().subscribe(Ue=>{this.overlayKeydown.next(Ue),Ue.keyCode===ue._f&&!this.disableClose&&!(0,oe.rp)(Ue)&&(Ue.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ue=>{const Ne=this._getOriginElement(),Kt=(0,e.Fb)(Ue);(!Ne||Ne!==Kt&&!Ne.contains(Kt))&&this.overlayOutsideClick.next(Ue)})}_buildConfig(){const ke=this._position=this.positionStrategy||this._createPositionStrategy(),Ue=new W({direction:this._dir||"ltr",positionStrategy:ke,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(ke){const Ue=this.positions.map(Ne=>({originX:Ne.originX,originY:Ne.originY,overlayX:Ne.overlayX,overlayY:Ne.overlayY,offsetX:Ne.offsetX||this.offsetX,offsetY:Ne.offsetY||this.offsetY,panelClass:Ne.panelClass||void 0}));return ke.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 ke=nt(this._injector,this._getOrigin());return this._updatePositionStrategy(ke),ke}_getOrigin(){return this.origin instanceof di?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof di?this.origin.elementRef.nativeElement:this.origin instanceof t.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(ke=>{this.backdropClick.emit(ke)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Q(ce,se=!1){return(0,q.N)((ke,Ue)=>{let Ne=0;ke.subscribe((0,G._)(Ue,Kt=>{const yt=ce(Kt,Ne++);(yt||se)&&Ue.next(Kt),!yt&&Ue.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(ke=>{this._ngZone.run(()=>this.positionChange.emit(ke)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275dir=t.FsC({type:ce,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",p.L39],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",p.L39],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",p.L39],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",p.L39],push:[2,"cdkConnectedOverlayPush","push",p.L39],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",p.L39]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[t.OA$]})}return ce})();const le={provide:Qt,useFactory:function Rt(ce){const se=(0,i.WQX)(i.zZn);return()=>x(se)}};let te=(()=>{class ce{static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275mod=t.$C({type:ce});static \u0275inj=i.G2t({providers:[ht,le],imports:[he.jI,j.jc,M.E9,M.E9]})}return ce})()},49609:(Ae,ee,l)=>{var i=ee;i.bignum=l(96867),i.define=l(16626).define,i.base=l(15066),i.constants=l(47740),i.decoders=l(91558),i.encoders=l(22714)},49786:(Ae,ee,l)=>{"use strict";l.d(ee,{Y:()=>p,l:()=>S});var i=l(41026);let t=null;function p(c){if(i.$.useDeprecatedSynchronousErrorHandling){const e=!t;if(e&&(t={errorThrown:!1,error:null}),c(),e){const{errorThrown:T,error:g}=t;if(t=null,T)throw g}}else c()}function S(c){i.$.useDeprecatedSynchronousErrorHandling&&t&&(t.errorThrown=!0,t.error=c)}},50591:(Ae,ee,l)=>{"use strict";function i(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.`)}l.d(ee,{L:()=>i})},51069:()=>{},51416:Ae=>{Ae.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"]]}}},51534:(Ae,ee,l)=>{"use strict";l.d(ee,{u:()=>oe});var i=l(29330),t=l(21413),p=l(84412),S=l(7673),c=l(18810),e=l(99437),T=l(61594),g=l(96354),d=l(31397),w=l(56977),m=l(53993),P=l(4416),M=l(12462),j=l(11771),U=l(190),K=l(63536),q=l(59584),G=l(2615),Q=l(59640),$=l(98570),ae=l(95416),ue=l(72200);let oe=(()=>{var he;class me{constructor(D,n,o,f,h){this.httpClient=D,this.store=n,this.logger=o,this.snackBar=f,this.titleCasePipe=h,this.APIUrl=P.H$,this.lnImplementation="",this.lnImplementationUpdated=new p.t(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],this.mapAliases=(b,A)=>(b&&b.length>0?b.forEach((k,x)=>{if(A&&A.length>0)for(let r=0;r<A.length;r++){if(A[r].short_channel_id&&A[r].short_channel_id===k.in_channel&&(k.in_channel_alias=A[r].alias?A[r].alias:k.in_channel,k.out_channel_alias)||A[r].short_channel_id&&A[r].short_channel_id?.toString()===k.out_channel&&(k.out_channel_alias=A[r].alias?A[r].alias:k.out_channel,k.in_channel_alias))return;r===A.length-1&&(k.in_channel_alias||(k.in_channel_alias=k.in_channel?k.in_channel:"-"),k.out_channel_alias||(k.out_channel_alias=k.out_channel?k.out_channel:"-"))}else k.in_channel_alias=k.in_channel?k.in_channel:"-",k.out_channel_alias=k.out_channel?k.out_channel:"-"}):b=[],b)}setLnImplementation(D){this.lnImplementation=D.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getRecommendedFeeRates(){return this.httpClient.get(P.rl.CONF_API+"/explorerFeesRecommended")}getBlockExplorerTransaction(D){return this.httpClient.get(P.rl.CONF_API+"/explorerTransaction/"+D)}getFiatRates(){return this.httpClient.get(P.rl.CONF_API+"/rates")}decodePayment(D,n){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(o=>{let f=this.APIUrl+"/"+o+P.rl.PAYMENTS_API+"/decode/"+D,h="GET",b=null;return"cln"===o&&(f=this.APIUrl+"/"+o+P.rl.UTILITY_API+"/decode",b={string:D},h="POST"),this.store.dispatch((0,j.mt)({payload:P.MZ.DECODE_PAYMENT})),this.httpClient.request(h,f,{body:JSON.stringify(b),headers:{"Content-Type":"application/json"}}).pipe((0,w.Q)(this.unSubs[0]),(0,g.T)(A=>(this.store.dispatch((0,j.y0)({payload:P.MZ.DECODE_PAYMENT})),A)),(0,e.W)(A=>(n?this.handleErrorWithoutAlert("Decode Payment",P.MZ.DECODE_PAYMENT,A):this.handleErrorWithAlert("decodePaymentData",P.MZ.DECODE_PAYMENT,"Decode Payment Failed",f,A),(0,c.$)(()=>new Error(this.extractErrorMessage(A))))))}))}decodePayments(D){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(n=>{let o="",f="",h=null;return"ecl"===n?(o=this.APIUrl+"/"+n+P.rl.PAYMENTS_API+"/getsentinfos",h={payments:D},f=P.MZ.GET_SENT_PAYMENTS):"cln"===n?(o=this.APIUrl+"/"+n+P.rl.UTILITY_API+"/decode",h={string:D},f=P.MZ.DECODE_PAYMENTS):(o=this.APIUrl+"/"+n+P.rl.PAYMENTS_API,h={payments:D},f=P.MZ.DECODE_PAYMENTS),this.store.dispatch((0,j.mt)({payload:f})),this.httpClient.post(o,h).pipe((0,w.Q)(this.unSubs[1]),(0,g.T)(b=>(this.store.dispatch((0,j.y0)({payload:f})),b)),(0,e.W)(b=>(this.handleErrorWithAlert("decodePaymentsData",f,f+" Failed",o,b),(0,c.$)(()=>new Error(this.extractErrorMessage(b))))))}))}getAliasesFromPubkeys(D,n){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(o=>{if(n){const f=(new i.Nl).set("pubkeys",D);return this.httpClient.get(this.APIUrl+"/"+o+P.rl.NETWORK_API+"/nodes",{params:f})}return this.httpClient.get(this.APIUrl+"/"+o+P.rl.NETWORK_API+"/node/"+D)}))}signMessage(D){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(n=>{let o=this.APIUrl+"/"+n+P.rl.MESSAGE_API+"/sign";return"cln"===n&&(o=this.APIUrl+"/"+n+P.rl.UTILITY_API+"/sign"),this.store.dispatch((0,j.mt)({payload:P.MZ.SIGN_MESSAGE})),this.httpClient.post(o,{message:D}).pipe((0,w.Q)(this.unSubs[2]),(0,g.T)(f=>(this.store.dispatch((0,j.y0)({payload:P.MZ.SIGN_MESSAGE})),f)),(0,e.W)(f=>(this.handleErrorWithAlert("signMessageData",P.MZ.SIGN_MESSAGE,"Sign Message Failed",o,f),(0,c.$)(()=>new Error(this.extractErrorMessage(f))))))}))}verifyMessage(D,n){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(o=>{let f="",h=null;return"cln"===o?(f=this.APIUrl+"/"+o+P.rl.UTILITY_API+"/verify",h={message:D,zbase:n}):(f=this.APIUrl+"/"+o+P.rl.MESSAGE_API+"/verify",h={message:D,signature:n}),this.store.dispatch((0,j.mt)({payload:P.MZ.VERIFY_MESSAGE})),this.httpClient.post(f,h).pipe((0,w.Q)(this.unSubs[3]),(0,g.T)(b=>(this.store.dispatch((0,j.y0)({payload:P.MZ.VERIFY_MESSAGE})),b)),(0,e.W)(b=>(this.handleErrorWithAlert("verifyMessageData",P.MZ.VERIFY_MESSAGE,"Verify Message Failed",f,b),(0,c.$)(()=>new Error(this.extractErrorMessage(b))))))}))}bumpFee(D,n,o,f){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(h=>{const b={txid:D,outputIndex:n};return o&&(b.targetConf=o),f&&(b.satPerByte=f),this.store.dispatch((0,j.mt)({payload:P.MZ.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+h+P.rl.WALLET_API+"/bumpfee",b).pipe((0,w.Q)(this.unSubs[4]),(0,g.T)(A=>(this.store.dispatch((0,j.y0)({payload:P.MZ.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),A)),(0,e.W)(A=>(this.handleErrorWithoutAlert("Bump Fee",P.MZ.BUMP_FEE,A),(0,c.$)(()=>new Error(this.extractErrorMessage(A))))))}))}labelUTXO(D,n,o=!0){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(f=>{const h={txid:D,label:n,overwrite:o};return this.store.dispatch((0,j.mt)({payload:P.MZ.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+f+P.rl.WALLET_API+"/label",h).pipe((0,w.Q)(this.unSubs[5]),(0,g.T)(b=>(this.store.dispatch((0,j.y0)({payload:P.MZ.LABEL_UTXO})),b)),(0,e.W)(b=>(this.handleErrorWithoutAlert("Label UTXO",P.MZ.LABEL_UTXO,b),(0,c.$)(()=>new Error(this.extractErrorMessage(b))))))}))}leaseUTXO(D,n){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(o=>{const f={txid:D,outputIndex:n};return this.store.dispatch((0,j.mt)({payload:P.MZ.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+o+P.rl.WALLET_API+"/lease",f).pipe((0,w.Q)(this.unSubs[6]),(0,g.T)(h=>{this.store.dispatch((0,j.y0)({payload:P.MZ.LEASE_UTXO})),this.store.dispatch((0,U.mh)()),this.store.dispatch((0,U.SM)());const b=new Date(1e3*h.expiration);return Math.round(b.getTime())-60*b.getTimezoneOffset()}),(0,e.W)(h=>(this.handleErrorWithoutAlert("Lease UTXO",P.MZ.LEASE_UTXO,h),(0,c.$)(()=>new Error(this.extractErrorMessage(h))))))}))}getForwardingHistory(D,n,o,f){if("LND"===D){const h={end_time:o,start_time:n};return this.store.dispatch((0,j.mt)({payload:P.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+P.rl.SWITCH_API,h).pipe((0,w.Q)(this.unSubs[7]),(0,m.E)(this.store.select(K.eO)),(0,d.Z)(([b,A])=>{if(b.forwarding_events){const k=[...A.channels,...A.closedChannels];b.forwarding_events.forEach(x=>{if(k&&k.length>0)for(let r=0;r<k.length;r++){if(k[r].chan_id?.toString()===x.chan_id_in&&(x.alias_in=k[r].remote_alias?k[r].remote_alias:x.chan_id_in,x.alias_out)||k[r].chan_id?.toString()===x.chan_id_out&&(x.alias_out=k[r].remote_alias?k[r].remote_alias:x.chan_id_out,x.alias_in))return;r===k.length-1&&(x.alias_in||(x.alias_in=x.chan_id_in),x.alias_out||(x.alias_out=x.chan_id_out))}else x.alias_in=x.chan_id_in,x.alias_out=x.chan_id_out})}else b={};return this.store.dispatch((0,j.y0)({payload:P.MZ.GET_FORWARDING_HISTORY})),(0,S.of)(b)}),(0,e.W)(b=>(this.handleErrorWithAlert("getForwardingHistoryData",P.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+P.rl.SWITCH_API,b),(0,c.$)(()=>new Error(this.extractErrorMessage(b))))))}return"CLN"===D?(this.store.dispatch((0,j.mt)({payload:P.MZ.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/cln"+P.rl.CHANNELS_API+"/listForwards",{status:f||"settled"}).pipe((0,w.Q)(this.unSubs[8]),(0,m.E)(this.store.select(q.BM)),(0,d.Z)(([h,b])=>{const A=this.mapAliases(h,[...b.activeChannels,...b.pendingChannels,...b.inactiveChannels]);return this.store.dispatch((0,j.y0)({payload:P.MZ.GET_FORWARDING_HISTORY})),(0,S.of)(A)}),(0,e.W)(h=>(this.handleErrorWithAlert("getForwardingHistoryData",P.MZ.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+P.rl.CHANNELS_API+"/listForwards",h),(0,c.$)(()=>new Error(this.extractErrorMessage(h))))))):(0,S.of)({})}listNetworkNodes(D){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(n=>(this.store.dispatch((0,j.mt)({payload:P.MZ.LIST_NETWORK_NODES})),this.httpClient.post(this.APIUrl+"/"+n+P.rl.NETWORK_API+"/listNodes",D).pipe((0,w.Q)(this.unSubs[9]),(0,d.Z)(o=>(this.store.dispatch((0,j.y0)({payload:P.MZ.LIST_NETWORK_NODES})),(0,S.of)(o))),(0,e.W)(o=>(this.handleErrorWithoutAlert("List Network Nodes",P.MZ.LIST_NETWORK_NODES,o),(0,c.$)(()=>this.extractErrorMessage(o))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(D=>(this.store.dispatch((0,j.mt)({payload:P.MZ.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+D+P.rl.UTILITY_API+"/listConfigs").pipe((0,w.Q)(this.unSubs[10]),(0,d.Z)(n=>(this.store.dispatch((0,j.y0)({payload:P.MZ.GET_LIST_CONFIGS})),(0,S.of)(n))),(0,e.W)(n=>(this.handleErrorWithoutAlert("List Configurations",P.MZ.GET_LIST_CONFIGS,n),(0,c.$)(()=>this.extractErrorMessage(n))))))))}getOrUpdateFunderPolicy(D,n,o,f,h,b){return this.lnImplementationUpdated.pipe((0,T.$)(),(0,d.Z)(A=>{const k=D?{policy:D,policy_mod:n,lease_fee_base_msat:o,lease_fee_basis:f,channel_fee_max_base_msat:h,channel_fee_max_proportional_thousandths:b}:null;return this.store.dispatch((0,j.mt)({payload:P.MZ.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+A+P.rl.CHANNELS_API+"/funderUpdate",k).pipe((0,w.Q)(this.unSubs[11]),(0,g.T)(x=>(this.store.dispatch((0,j.y0)({payload:P.MZ.GET_FUNDER_POLICY})),k&&this.store.dispatch((0,j.UI)({payload:"Funder Policy Updated Successfully with Compact Lease: "+x.compact_lease+"!"})),x)),(0,e.W)(x=>(this.handleErrorWithoutAlert("Funder Policy",P.MZ.GET_FUNDER_POLICY,x),(0,c.$)(()=>new Error(this.extractErrorMessage(x))))))}))}circularRebalance(D,n="",o="",f="",h="",b=[],A="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+P.rl.CHANNELS_API+"/circularRebalance",{amountMsat:D,sourceShortChannelId:n,sourceNodeId:o,targetShortChannelId:f,targetNodeId:h,ignoreNodeIds:b,format:A}).pipe((0,w.Q)(this.unSubs[12]),(0,g.T)(r=>r),(0,e.W)(r=>(this.handleErrorWithoutAlert("Rebalance Channel",P.MZ.REBALANCE_CHANNEL,r),(0,c.$)(()=>r.error))))}extractErrorMessage(D,n="Unknown Error."){return this.titleCasePipe.transform(D.error.text&&"string"==typeof D.error.text&&D.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":D.error&&D.error.error&&D.error.error.error&&D.error.error.error.error&&D.error.error.error.error.error&&"string"==typeof D.error.error.error.error.error?D.error.error.error.error.error:D.error&&D.error.error&&D.error.error.error&&D.error.error.error.error&&"string"==typeof D.error.error.error.error?D.error.error.error.error:D.error&&D.error.error&&D.error.error.error&&"string"==typeof D.error.error.error?D.error.error.error:D.error&&D.error.error&&"string"==typeof D.error.error?D.error.error:D.error&&"string"==typeof D.error?D.error:D.error&&D.error.error&&D.error.error.error&&D.error.error.error.error&&D.error.error.error.error.message&&"string"==typeof D.error.error.error.error.message?D.error.error.error.error.message:D.error&&D.error.error&&D.error.error.error&&D.error.error.error.message&&"string"==typeof D.error.error.error.message?D.error.error.error.message:D.error&&D.error.error&&D.error.error.message&&"string"==typeof D.error.error.message?D.error.error.message:D.error&&D.error.message&&"string"==typeof D.error.message?D.error.message:D.message&&"string"==typeof D.message?D.message:n)}handleErrorWithoutAlert(D,n,o){o.error.text&&"string"==typeof o.error.text&&o.error.text.includes('<!DOCTYPE html><html lang="en">')&&(o={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+D+"\n"+JSON.stringify(o)),401===o.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,j.Jh)()),this.store.dispatch((0,j.ri)({payload:"Authentication Failed: "+JSON.stringify(o.error)}))):(this.store.dispatch((0,j.y0)({payload:n})),this.store.dispatch((0,j.Gd)({payload:{action:D,status:P.wn.ERROR,statusCode:o.status.toString(),message:this.extractErrorMessage(o)}})))}handleErrorWithAlert(D,n,o,f,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,j.Jh)()),this.store.dispatch((0,j.ri)({payload:"Authentication Failed: "+JSON.stringify(h.error)}));else{this.store.dispatch((0,j.y0)({payload:n}));const b=this.extractErrorMessage(h);this.store.dispatch((0,j.xO)({payload:{data:{type:"ERROR",alertTitle:o,message:{code:h.status?h.status:"Unknown Error",message:b,URL:f},component:M.f}}})),this.store.dispatch((0,j.Gd)({payload:{action:D,status:P.wn.ERROR,statusCode:h.status.toString(),message:b,URL:f}}))}}ngOnDestroy(){this.unSubs.forEach(D=>{D.next(null),D.complete()})}static#e=he=()=>(this.\u0275fac=function(n){return new(n||me)(G.KVO(i.Qq),G.KVO(Q.il),G.KVO($.gP),G.KVO(ae.UG),G.KVO(ue.PV))},this.\u0275prov=G.jDH({token:me,factory:me.\u0275fac}))}return he(),me})()},51585:(Ae,ee,l)=>{"use strict";l.d(ee,{Vh:()=>ge,di:()=>ve,bZ:()=>Ee,tx:()=>dt,hM:()=>ct,CP:()=>Le});var i=l(73664),t=l(2615),p=l(17705),S=l(21413),c=l(59030),e=l(76939),T=l(17094),g=l(76838),d=l(39842),w=l(44522),m=l(10438),P=l(67336),M=l(99172),j=l(96697),U=l(49338),K=l(89726),q=l(61577);function G(Ce,ze){}class Q{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext}let ae=(()=>{class Ce extends e.lb{_elementRef=(0,t.WQX)(i.aKT);_focusTrapFactory=(0,t.WQX)(T.GX);_config;_interactivityChecker=(0,t.WQX)(T.Z7);_ngZone=(0,t.WQX)(i.SKi);_focusMonitor=(0,t.WQX)(g.FN);_renderer=(0,t.WQX)(i.sFG);_changeDetectorRef=(0,t.WQX)(p.gRc);_injector=(0,t.WQX)(t.zZn);_platform=(0,t.WQX)(d.O);_document=(0,t.WQX)(t.qQL);_portalOutlet;_focusTrapped=new S.B;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=(0,t.WQX)(Q,{optional:!0})||new Q,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(Z){this._ariaLabelledByQueue.push(Z),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(Z){const J=this._ariaLabelledByQueue.indexOf(Z);J>-1&&(this._ariaLabelledByQueue.splice(J,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(Z){this._portalOutlet.hasAttached();const J=this._portalOutlet.attachComponentPortal(Z);return this._contentAttached(),J}attachTemplatePortal(Z){this._portalOutlet.hasAttached();const J=this._portalOutlet.attachTemplatePortal(Z);return this._contentAttached(),J}attachDomPortal=Z=>{this._portalOutlet.hasAttached();const J=this._portalOutlet.attachDomPortal(Z);return this._contentAttached(),J};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(Z,J){this._interactivityChecker.isFocusable(Z)||(Z.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const fe=()=>{Ie(),ht(),Z.removeAttribute("tabindex")},Ie=this._renderer.listen(Z,"blur",fe),ht=this._renderer.listen(Z,"mousedown",fe)})),Z.focus(J)}_focusByCssSelector(Z,J){let fe=this._elementRef.nativeElement.querySelector(Z);fe&&this._forceFocus(fe,J)}_trapFocus(Z){this._isDestroyed||(0,i.mal)(()=>{const J=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||J.focus(Z);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(Z)||this._focusDialogContainer(Z);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',Z);break;default:this._focusByCssSelector(this._config.autoFocus,Z)}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){const Z=this._config.restoreFocus;let J=null;if("string"==typeof Z?J=this._document.querySelector(Z):"boolean"==typeof Z?J=Z?this._elementFocusedBeforeDialogWasOpened:null:Z&&(J=Z),this._config.restoreFocus&&J&&"function"==typeof J.focus){const fe=(0,w.vc)(),Ie=this._elementRef.nativeElement;(!fe||fe===this._document.body||fe===Ie||Ie.contains(fe))&&(this._focusMonitor?(this._focusMonitor.focusVia(J,this._closeInteractionType),this._closeInteractionType=null):J.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(Z){this._elementRef.nativeElement.focus?.(Z)}_containsFocus(){const Z=this._elementRef.nativeElement,J=(0,w.vc)();return Z===J||Z.contains(J)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,w.vc)()))}static \u0275fac=function(J){return new(J||Ce)};static \u0275cmp=i.VBU({type:Ce,selectors:[["cdk-dialog-container"]],viewQuery:function(J,fe){if(1&J&&i.GBs(e.I3,7),2&J){let Ie;i.mGM(Ie=i.lsd())&&(fe._portalOutlet=Ie.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(J,fe){2&J&&i.BMQ("id",fe._config.id||null)("role",fe._config.role)("aria-modal",fe._config.ariaModal)("aria-labelledby",fe._config.ariaLabel?null:fe._ariaLabelledByQueue[0])("aria-label",fe._config.ariaLabel)("aria-describedby",fe._config.ariaDescribedBy||null)},features:[i.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(J,fe){1&J&&i.DNE(0,G,0,0,"ng-template",0)},dependencies:[e.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2})}return Ce})();class ue{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new S.B;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(ze,Z){this.overlayRef=ze,this.config=Z,this.disableClose=Z.disableClose,this.backdropClick=ze.backdropClick(),this.keydownEvents=ze.keydownEvents(),this.outsidePointerEvents=ze.outsidePointerEvents(),this.id=Z.id,this.keydownEvents.subscribe(J=>{J.keyCode===m._f&&!this.disableClose&&!(0,P.rp)(J)&&(J.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=ze.detachments().subscribe(()=>{!1!==Z.closeOnOverlayDetachments&&this.close()})}close(ze,Z){if(this._canClose(ze)){const J=this.closed;this.containerInstance._closeInteractionType=Z?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),J.next(ze),J.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(ze="",Z=""){return this.overlayRef.updateSize({width:ze,height:Z}),this}addPanelClass(ze){return this.overlayRef.addPanelClass(ze),this}removePanelClass(ze){return this.overlayRef.removePanelClass(ze),this}_canClose(ze){const Z=this.config;return!!this.containerInstance&&(!Z.closePredicate||Z.closePredicate(ze,Z,this.componentInstance))}}const oe=new t.nKC("DialogScrollStrategy",{providedIn:"root",factory:()=>{const Ce=(0,t.WQX)(t.zZn);return()=>(0,U.gA)(Ce)}}),he=new t.nKC("DialogData"),me=new t.nKC("DefaultDialogConfig");function Te(Ce){const ze=(0,t.vPA)(Ce),Z=new i.bkB;return{valueSignal:ze,get value(){return ze()},change:Z,ngOnDestroy(){Z.complete()}}}let D=(()=>{class Ce{_injector=(0,t.WQX)(t.zZn);_defaultOptions=(0,t.WQX)(me,{optional:!0});_parentDialog=(0,t.WQX)(Ce,{optional:!0,skipSelf:!0});_overlayContainer=(0,t.WQX)(U.Sf);_idGenerator=(0,t.WQX)(K.g);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new S.B;_afterOpenedAtThisLevel=new S.B;_ariaHiddenElements=new Map;_scrollStrategy=(0,t.WQX)(oe);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=(0,c.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,M.Z)(void 0)));constructor(){}open(Z,J){(J={...this._defaultOptions||new Q,...J}).id=J.id||this._idGenerator.getId("cdk-dialog-"),J.id&&this.getDialogById(J.id);const Ie=this._getOverlayConfig(J),ht=(0,U.Y$)(this._injector,Ie),li=new ue(ht,J),Qt=this._attachContainer(ht,li,J);if(li.containerInstance=Qt,!this.openDialogs.length){const di=this._overlayContainer.getContainerElement();Qt._focusTrapped?Qt._focusTrapped.pipe((0,j.s)(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(di)}):this._hideNonDialogContentFromAssistiveTechnology(di)}return this._attachDialogContent(Z,li,Qt,J),this.openDialogs.push(li),li.closed.subscribe(()=>this._removeOpenDialog(li,!0)),this.afterOpened.next(li),li}closeAll(){n(this.openDialogs,Z=>Z.close())}getDialogById(Z){return this.openDialogs.find(J=>J.id===Z)}ngOnDestroy(){n(this._openDialogsAtThisLevel,Z=>{!1===Z.config.closeOnDestroy&&this._removeOpenDialog(Z,!1)}),n(this._openDialogsAtThisLevel,Z=>Z.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(Z){const J=new U.rR({positionStrategy:Z.positionStrategy||(0,U.uA)().centerHorizontally().centerVertically(),scrollStrategy:Z.scrollStrategy||this._scrollStrategy(),panelClass:Z.panelClass,hasBackdrop:Z.hasBackdrop,direction:Z.direction,minWidth:Z.minWidth,minHeight:Z.minHeight,maxWidth:Z.maxWidth,maxHeight:Z.maxHeight,width:Z.width,height:Z.height,disposeOnNavigation:Z.closeOnNavigation,disableAnimations:Z.disableAnimations});return Z.backdropClass&&(J.backdropClass=Z.backdropClass),J}_attachContainer(Z,J,fe){const Ie=fe.injector||fe.viewContainerRef?.injector,ht=[{provide:Q,useValue:fe},{provide:ue,useValue:J},{provide:U.yY,useValue:Z}];let li;fe.container?"function"==typeof fe.container?li=fe.container:(li=fe.container.type,ht.push(...fe.container.providers(fe))):li=ae;const Qt=new e.A8(li,fe.viewContainerRef,t.zZn.create({parent:Ie||this._injector,providers:ht}));return Z.attach(Qt).instance}_attachDialogContent(Z,J,fe,Ie){if(Z instanceof i.C4Q){const ht=this._createInjector(Ie,J,fe,void 0);let li={$implicit:Ie.data,dialogRef:J};Ie.templateContext&&(li={...li,..."function"==typeof Ie.templateContext?Ie.templateContext():Ie.templateContext}),fe.attachTemplatePortal(new e.VA(Z,null,li,ht))}else{const ht=this._createInjector(Ie,J,fe,this._injector),li=fe.attachComponentPortal(new e.A8(Z,Ie.viewContainerRef,ht));J.componentRef=li,J.componentInstance=li.instance}}_createInjector(Z,J,fe,Ie){const ht=Z.injector||Z.viewContainerRef?.injector,li=[{provide:he,useValue:Z.data},{provide:ue,useValue:J}];return Z.providers&&("function"==typeof Z.providers?li.push(...Z.providers(J,Z,fe)):li.push(...Z.providers)),Z.direction&&(!ht||!ht.get(q.dS,null,{optional:!0}))&&li.push({provide:q.dS,useValue:Te(Z.direction)}),t.zZn.create({parent:ht||Ie,providers:li})}_removeOpenDialog(Z,J){const fe=this.openDialogs.indexOf(Z);fe>-1&&(this.openDialogs.splice(fe,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Ie,ht)=>{Ie?ht.setAttribute("aria-hidden",Ie):ht.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),J&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(Z){if(Z.parentElement){const J=Z.parentElement.children;for(let fe=J.length-1;fe>-1;fe--){const Ie=J[fe];Ie!==Z&&"SCRIPT"!==Ie.nodeName&&"STYLE"!==Ie.nodeName&&!Ie.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Ie,Ie.getAttribute("aria-hidden")),Ie.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const Z=this._parentDialog;return Z?Z._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(J){return new(J||Ce)};static \u0275prov=t.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}return Ce})();function n(Ce,ze){let Z=Ce.length;for(;Z--;)ze(Ce[Z])}let o=(()=>{class Ce{static \u0275fac=function(J){return new(J||Ce)};static \u0275mod=i.$C({type:Ce});static \u0275inj=t.G2t({providers:[D],imports:[U.z_,e.jc,T.Pd,e.jc]})}return Ce})();var f=l(67847),h=l(31804),b=l(57786),A=l(5964),x=(l(5718),l(22466));function r(Ce,ze){}class _{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration}const W="mdc-dialog--open",I="mdc-dialog--opening",B="mdc-dialog--closing";let be=(()=>{class Ce extends ae{_animationStateChanged=new i.bkB;_animationsEnabled=!(0,h.Rc)();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?_e(this._config.enterAnimationDuration)??150:0;_exitAnimationDuration=this._animationsEnabled?_e(this._config.exitAnimationDuration)??75:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Be,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(I,W)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(W),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(W),this._animationsEnabled?(this._hostElement.style.setProperty(Be,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(B)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(Z){this._actionSectionCount+=Z,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(I,B)}_waitForAnimationToComplete(Z,J){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(J,Z)}_requestAnimationFrame(Z){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(Z):Z()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(Z){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Z})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(Z){const J=super.attachComponentPortal(Z);return J.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),J}static \u0275fac=(()=>{let Z;return function(fe){return(Z||(Z=i.xGo(Ce)))(fe||Ce)}})();static \u0275cmp=i.VBU({type:Ce,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(J,fe){2&J&&(i.Avn("id",fe._config.id),i.BMQ("aria-modal",fe._config.ariaModal)("role",fe._config.role)("aria-labelledby",fe._config.ariaLabel?null:fe._ariaLabelledByQueue[0])("aria-label",fe._config.ariaLabel)("aria-describedby",fe._config.ariaDescribedBy||null),i.AVh("_mat-animation-noopable",!fe._animationsEnabled)("mat-mdc-dialog-container-with-actions",fe._actionSectionCount>0))},features:[i.Vt3],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(J,fe){1&J&&(i.j41(0,"div",0)(1,"div",1),i.DNE(2,r,0,0,"ng-template",2),i.k0s()())},dependencies:[e.I3],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-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}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.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 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.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}.mat-mdc-dialog-component-host{display:contents}\n'],encapsulation:2})}return Ce})();const Be="--mat-dialog-transition-duration";function _e(Ce){return null==Ce?null:"number"==typeof Ce?Ce:Ce.endsWith("ms")?(0,f.OE)(Ce.substring(0,Ce.length-2)):Ce.endsWith("s")?1e3*(0,f.OE)(Ce.substring(0,Ce.length-1)):"0"===Ce?0:null}var ye=function(Ce){return Ce[Ce.OPEN=0]="OPEN",Ce[Ce.CLOSING=1]="CLOSING",Ce[Ce.CLOSED=2]="CLOSED",Ce}(ye||{});class Le{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new S.B;_beforeClosed=new S.B;_result;_closeFallbackTimeout;_state=ye.OPEN;_closeInteractionType;constructor(ze,Z,J){this._ref=ze,this._config=Z,this._containerInstance=J,this.disableClose=Z.disableClose,this.id=ze.id,ze.addPanelClass("mat-mdc-dialog-panel"),J._animationStateChanged.pipe((0,A.p)(fe=>"opened"===fe.state),(0,j.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),J._animationStateChanged.pipe((0,A.p)(fe=>"closed"===fe.state),(0,j.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ze.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,b.h)(this.backdropClick(),this.keydownEvents().pipe((0,A.p)(fe=>fe.keyCode===m._f&&!this.disableClose&&!(0,P.rp)(fe)))).subscribe(fe=>{this.disableClose||(fe.preventDefault(),Ke(this,"keydown"===fe.type?"keyboard":"mouse"))})}close(ze){const Z=this._config.closePredicate;Z&&!Z(ze,this._config,this.componentInstance)||(this._result=ze,this._containerInstance._animationStateChanged.pipe((0,A.p)(J=>"closing"===J.state),(0,j.s)(1)).subscribe(J=>{this._beforeClosed.next(ze),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),J.totalTime+100)}),this._state=ye.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(ze){let Z=this._ref.config.positionStrategy;return ze&&(ze.left||ze.right)?ze.left?Z.left(ze.left):Z.right(ze.right):Z.centerHorizontally(),ze&&(ze.top||ze.bottom)?ze.top?Z.top(ze.top):Z.bottom(ze.bottom):Z.centerVertically(),this._ref.updatePosition(),this}updateSize(ze="",Z=""){return this._ref.updateSize(ze,Z),this}addPanelClass(ze){return this._ref.addPanelClass(ze),this}removePanelClass(ze){return this._ref.removePanelClass(ze),this}getState(){return this._state}_finishDialogClose(){this._state=ye.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Ke(Ce,ze,Z){return Ce._closeInteractionType=ze,Ce.close(Z)}const ge=new t.nKC("MatMdcDialogData"),ve=new t.nKC("mat-mdc-dialog-default-options"),Oe=new t.nKC("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const Ce=(0,t.WQX)(t.zZn);return()=>(0,U.gA)(Ce)}});let Ee=(()=>{class Ce{_defaultOptions=(0,t.WQX)(ve,{optional:!0});_scrollStrategy=(0,t.WQX)(Oe);_parentDialog=(0,t.WQX)(Ce,{optional:!0,skipSelf:!0});_idGenerator=(0,t.WQX)(K.g);_injector=(0,t.WQX)(t.zZn);_dialog=(0,t.WQX)(D);_animationsDisabled=(0,h.Rc)();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new S.B;_afterOpenedAtThisLevel=new S.B;dialogConfigClass=_;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const Z=this._parentDialog;return Z?Z._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=(0,c.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,M.Z)(void 0)));constructor(){this._dialogRefConstructor=Le,this._dialogContainerType=be,this._dialogDataToken=ge}open(Z,J){let fe;(J={...this._defaultOptions||new _,...J}).id=J.id||this._idGenerator.getId("mat-mdc-dialog-"),J.scrollStrategy=J.scrollStrategy||this._scrollStrategy();const Ie=this._dialog.open(Z,{...J,positionStrategy:(0,U.uA)(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||"0"===J.enterAnimationDuration?.toLocaleString()||"0"===J.exitAnimationDuration?.toString(),container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:J},{provide:Q,useValue:J}]},templateContext:()=>({dialogRef:fe}),providers:(ht,li,Qt)=>(fe=new this._dialogRefConstructor(ht,J,Qt),fe.updatePosition(J?.position),[{provide:this._dialogContainerType,useValue:Qt},{provide:this._dialogDataToken,useValue:li.data},{provide:this._dialogRefConstructor,useValue:fe}])});return fe.componentRef=Ie.componentRef,fe.componentInstance=Ie.componentInstance,this.openDialogs.push(fe),this.afterOpened.next(fe),fe.afterClosed().subscribe(()=>{const ht=this.openDialogs.indexOf(fe);ht>-1&&(this.openDialogs.splice(ht,1),this.openDialogs.length||this._getAfterAllClosed().next())}),fe}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(Z){return this.openDialogs.find(J=>J.id===Z)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(Z){let J=Z.length;for(;J--;)Z[J].close()}static \u0275fac=function(J){return new(J||Ce)};static \u0275prov=t.jDH({token:Ce,factory:Ce.\u0275fac,providedIn:"root"})}return Ce})(),dt=(()=>{class Ce{dialogRef=(0,t.WQX)(Le,{optional:!0});_elementRef=(0,t.WQX)(i.aKT);_dialog=(0,t.WQX)(Ee);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=function Pe(Ce,ze){let Z=Ce.nativeElement.parentElement;for(;Z&&!Z.classList.contains("mat-mdc-dialog-container");)Z=Z.parentElement;return Z?ze.find(J=>J.id===Z.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(Z){const J=Z._matDialogClose||Z._matDialogCloseResult;J&&(this.dialogResult=J.currentValue)}_onButtonClick(Z){Ke(this.dialogRef,0===Z.screenX&&0===Z.screenY?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(J){return new(J||Ce)};static \u0275dir=i.FsC({type:Ce,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(J,fe){1&J&&i.bIt("click",function(ht){return fe._onButtonClick(ht)}),2&J&&i.BMQ("aria-label",fe.ariaLabel||null)("type",fe.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[i.OA$]})}return Ce})();let ct=(()=>{class Ce{static \u0275fac=function(J){return new(J||Ce)};static \u0275mod=i.$C({type:Ce});static \u0275inj=t.G2t({providers:[Ee],imports:[o,U.z_,e.jc,x.y,x.y]})}return Ce})()},51856:(Ae,ee,l)=>{"use strict";var i=l(71993),t=l(3121),p=l(70463),S=l(27054).Buffer,c=new Array(160);function e(){this.init(),this._w=c,p.call(this,128,112)}i(e,t),e.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},e.prototype._hash=function(){var T=S.allocUnsafe(48);function g(d,w,m){T.writeInt32BE(d,m),T.writeInt32BE(w,m+4)}return g(this._ah,this._al,0),g(this._bh,this._bl,8),g(this._ch,this._cl,16),g(this._dh,this._dl,24),g(this._eh,this._el,32),g(this._fh,this._fl,40),T},Ae.exports=e},51993:(Ae,ee,l)=>{"use strict";l.d(ee,{Dl:()=>K6,L8:()=>Pm,dV:()=>Km});var i=l(73664),t=l(2615),p=l(17705),S=l(72200),c=l(60177),e=l(31635),T=l(76939),g=l(33726),d=l(70152),w=l(11514);function m(){}function P(v){return null==v?m:function(){return this.querySelector(v)}}function U(){return[]}function K(v){return null==v?U:function(){return this.querySelectorAll(v)}}function Q(v){return function(){return this.matches(v)}}function $(v){return function(O){return O.matches(v)}}var ae=Array.prototype.find;function oe(){return this.firstElementChild}var me=Array.prototype.filter;function Te(){return Array.from(this.children)}function f(v){return new Array(v.length)}function b(v,O){this.ownerDocument=v.ownerDocument,this.namespaceURI=v.namespaceURI,this._next=null,this._parent=v,this.__data__=O}function k(v,O,E,y,N,V){for(var Ge,de=0,Pt=O.length,Xt=V.length;de<Xt;++de)(Ge=O[de])?(Ge.__data__=V[de],y[de]=Ge):E[de]=new b(v,V[de]);for(;de<Pt;++de)(Ge=O[de])&&(N[de]=Ge)}function x(v,O,E,y,N,V,de){var Ge,Pt,sn,Xt=new Map,hi=O.length,Si=V.length,Oi=new Array(hi);for(Ge=0;Ge<hi;++Ge)(Pt=O[Ge])&&(Oi[Ge]=sn=de.call(Pt,Pt.__data__,Ge,O)+"",Xt.has(sn)?N[Ge]=Pt:Xt.set(sn,Pt));for(Ge=0;Ge<Si;++Ge)sn=de.call(v,V[Ge],Ge,V)+"",(Pt=Xt.get(sn))?(y[Ge]=Pt,Pt.__data__=V[Ge],Xt.delete(sn)):E[Ge]=new b(v,V[Ge]);for(Ge=0;Ge<hi;++Ge)(Pt=O[Ge])&&Xt.get(Oi[Ge])===Pt&&(N[Ge]=Pt)}function r(v){return v.__data__}function W(v){return"object"==typeof v&&"length"in v?v:Array.from(v)}function Be(v,O){return v<O?-1:v>O?1:v>=O?0:NaN}b.prototype={constructor:b,appendChild:function(v){return this._parent.insertBefore(v,this._next)},insertBefore:function(v,O){return this._parent.insertBefore(v,O)},querySelector:function(v){return this._parent.querySelector(v)},querySelectorAll:function(v){return this._parent.querySelectorAll(v)}};var Oe="http://www.w3.org/1999/xhtml";const Ee={svg:"http://www.w3.org/2000/svg",xhtml:Oe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function dt(v){var O=v+="",E=O.indexOf(":");return E>=0&&"xmlns"!==(O=v.slice(0,E))&&(v=v.slice(E+1)),Ee.hasOwnProperty(O)?{space:Ee[O],local:v}:v}function nt(v){return function(){this.removeAttribute(v)}}function Ct(v){return function(){this.removeAttributeNS(v.space,v.local)}}function Mt(v,O){return function(){this.setAttribute(v,O)}}function lt(v,O){return function(){this.setAttributeNS(v.space,v.local,O)}}function Pe(v,O){return function(){var E=O.apply(this,arguments);null==E?this.removeAttribute(v):this.setAttribute(v,E)}}function Ht(v,O){return function(){var E=O.apply(this,arguments);null==E?this.removeAttributeNS(v.space,v.local):this.setAttributeNS(v.space,v.local,E)}}function Ce(v){return v.ownerDocument&&v.ownerDocument.defaultView||v.document&&v||v.defaultView}function ze(v){return function(){this.style.removeProperty(v)}}function Z(v,O,E){return function(){this.style.setProperty(v,O,E)}}function J(v,O,E){return function(){var y=O.apply(this,arguments);null==y?this.style.removeProperty(v):this.style.setProperty(v,y,E)}}function Ie(v,O){return v.style.getPropertyValue(O)||Ce(v).getComputedStyle(v,null).getPropertyValue(O)}function ht(v){return function(){delete this[v]}}function li(v,O){return function(){this[v]=O}}function Qt(v,O){return function(){var E=O.apply(this,arguments);null==E?delete this[v]:this[v]=E}}function kt(v){return v.trim().split(/^|\s+/)}function Rt(v){return v.classList||new le(v)}function le(v){this._node=v,this._names=kt(v.getAttribute("class")||"")}function te(v,O){for(var E=Rt(v),y=-1,N=O.length;++y<N;)E.add(O[y])}function ce(v,O){for(var E=Rt(v),y=-1,N=O.length;++y<N;)E.remove(O[y])}function se(v){return function(){te(this,v)}}function ke(v){return function(){ce(this,v)}}function Ue(v,O){return function(){(O.apply(this,arguments)?te:ce)(this,v)}}function Kt(){this.textContent=""}function yt(v){return function(){this.textContent=v}}function Vt(v){return function(){var O=v.apply(this,arguments);this.textContent=O??""}}function ti(){this.innerHTML=""}function Ye(v){return function(){this.innerHTML=v}}function Nt(v){return function(){var O=v.apply(this,arguments);this.innerHTML=O??""}}function Jt(){this.nextSibling&&this.parentNode.appendChild(this)}function $e(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function vi(v){return function(){var O=this.ownerDocument,E=this.namespaceURI;return E===Oe&&O.documentElement.namespaceURI===Oe?O.createElement(v):O.createElementNS(E,v)}}function ei(v){return function(){return this.ownerDocument.createElementNS(v.space,v.local)}}function ci(v){var O=dt(v);return(O.local?ei:vi)(O)}function oi(){return null}function ln(){var v=this.parentNode;v&&v.removeChild(this)}function dn(){var v=this.cloneNode(!1),O=this.parentNode;return O?O.insertBefore(v,this.nextSibling):v}function zn(){var v=this.cloneNode(!0),O=this.parentNode;return O?O.insertBefore(v,this.nextSibling):v}function Fe(v){return function(){var O=this.__on;if(O){for(var V,E=0,y=-1,N=O.length;E<N;++E)V=O[E],v.type&&V.type!==v.type||V.name!==v.name?O[++y]=V:this.removeEventListener(V.type,V.listener,V.options);++y?O.length=y:delete this.__on}}}function it(v,O,E){return function(){var N,y=this.__on,V=function Ze(v){return function(O){v.call(this,O,this.__data__)}}(O);if(y)for(var de=0,Ge=y.length;de<Ge;++de)if((N=y[de]).type===v.type&&N.name===v.name)return this.removeEventListener(N.type,N.listener,N.options),this.addEventListener(N.type,N.listener=V,N.options=E),void(N.value=O);this.addEventListener(v.type,V,E),N={type:v.type,name:v.name,value:O,listener:V,options:E},y?y.push(N):this.__on=[N]}}function ut(v,O,E){var y=Ce(v),N=y.CustomEvent;"function"==typeof N?N=new N(O,E):(N=y.document.createEvent("Event"),E?(N.initEvent(O,E.bubbles,E.cancelable),N.detail=E.detail):N.initEvent(O,!1,!1)),v.dispatchEvent(N)}function jt(v,O){return function(){return ut(this,v,O)}}function ai(v,O){return function(){return ut(this,v,O.apply(this,arguments))}}le.prototype={add:function(v){this._names.indexOf(v)<0&&(this._names.push(v),this._node.setAttribute("class",this._names.join(" ")))},remove:function(v){var O=this._names.indexOf(v);O>=0&&(this._names.splice(O,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(v){return this._names.indexOf(v)>=0}};var Ki=[null];function Ji(v,O){this._groups=v,this._parents=O}function Dn(){return new Ji([[document.documentElement]],Ki)}Ji.prototype=Dn.prototype={constructor:Ji,select:function M(v){"function"!=typeof v&&(v=P(v));for(var O=this._groups,E=O.length,y=new Array(E),N=0;N<E;++N)for(var Pt,Xt,V=O[N],de=V.length,Ge=y[N]=new Array(de),hi=0;hi<de;++hi)(Pt=V[hi])&&(Xt=v.call(Pt,Pt.__data__,hi,V))&&("__data__"in Pt&&(Xt.__data__=Pt.__data__),Ge[hi]=Xt);return new Ji(y,this._parents)},selectAll:function G(v){v="function"==typeof v?function q(v){return function(){return function j(v){return null==v?[]:Array.isArray(v)?v:Array.from(v)}(v.apply(this,arguments))}}(v):K(v);for(var O=this._groups,E=O.length,y=[],N=[],V=0;V<E;++V)for(var Pt,de=O[V],Ge=de.length,Xt=0;Xt<Ge;++Xt)(Pt=de[Xt])&&(y.push(v.call(Pt,Pt.__data__,Xt,de)),N.push(Pt));return new Ji(y,N)},selectChild:function he(v){return this.select(null==v?oe:function ue(v){return function(){return ae.call(this.children,v)}}("function"==typeof v?v:$(v)))},selectChildren:function n(v){return this.selectAll(null==v?Te:function D(v){return function(){return me.call(this.children,v)}}("function"==typeof v?v:$(v)))},filter:function o(v){"function"!=typeof v&&(v=Q(v));for(var O=this._groups,E=O.length,y=new Array(E),N=0;N<E;++N)for(var Pt,V=O[N],de=V.length,Ge=y[N]=[],Xt=0;Xt<de;++Xt)(Pt=V[Xt])&&v.call(Pt,Pt.__data__,Xt,V)&&Ge.push(Pt);return new Ji(y,this._parents)},data:function _(v,O){if(!arguments.length)return Array.from(this,r);var E=O?x:k,y=this._parents,N=this._groups;"function"!=typeof v&&(v=function A(v){return function(){return v}}(v));for(var V=N.length,de=new Array(V),Ge=new Array(V),Pt=new Array(V),Xt=0;Xt<V;++Xt){var hi=y[Xt],Si=N[Xt],Oi=Si.length,sn=W(v.call(hi,hi&&hi.__data__,Xt,y)),on=sn.length,Wn=Ge[Xt]=new Array(on),Wi=de[Xt]=new Array(on);E(hi,Si,Wn,Wi,Pt[Xt]=new Array(Oi),sn,O);for(var la,Ia,sa=0,Xn=0;sa<on;++sa)if(la=Wn[sa]){for(sa>=Xn&&(Xn=sa+1);!(Ia=Wi[Xn])&&++Xn<on;);la._next=Ia||null}}return(de=new Ji(de,y))._enter=Ge,de._exit=Pt,de},enter:function h(){return new Ji(this._enter||this._groups.map(f),this._parents)},exit:function I(){return new Ji(this._exit||this._groups.map(f),this._parents)},join:function B(v,O,E){var y=this.enter(),N=this,V=this.exit();return"function"==typeof v?(y=v(y))&&(y=y.selection()):y=y.append(v+""),null!=O&&(N=O(N))&&(N=N.selection()),null==E?V.remove():E(V),y&&N?y.merge(N).order():N},merge:function re(v){for(var O=v.selection?v.selection():v,E=this._groups,y=O._groups,N=E.length,de=Math.min(N,y.length),Ge=new Array(N),Pt=0;Pt<de;++Pt)for(var sn,Xt=E[Pt],hi=y[Pt],Si=Xt.length,Oi=Ge[Pt]=new Array(Si),on=0;on<Si;++on)(sn=Xt[on]||hi[on])&&(Oi[on]=sn);for(;Pt<N;++Pt)Ge[Pt]=E[Pt];return new Ji(Ge,this._parents)},selection:function En(){return this},order:function pe(){for(var v=this._groups,O=-1,E=v.length;++O<E;)for(var de,y=v[O],N=y.length-1,V=y[N];--N>=0;)(de=y[N])&&(V&&4^de.compareDocumentPosition(V)&&V.parentNode.insertBefore(de,V),V=de);return this},sort:function be(v){function O(Si,Oi){return Si&&Oi?v(Si.__data__,Oi.__data__):!Si-!Oi}v||(v=Be);for(var E=this._groups,y=E.length,N=new Array(y),V=0;V<y;++V){for(var Xt,de=E[V],Ge=de.length,Pt=N[V]=new Array(Ge),hi=0;hi<Ge;++hi)(Xt=de[hi])&&(Pt[hi]=Xt);Pt.sort(O)}return new Ji(N,this._parents).order()},call:function _e(){var v=arguments[0];return arguments[0]=this,v.apply(null,arguments),this},nodes:function ye(){return Array.from(this)},node:function Le(){for(var v=this._groups,O=0,E=v.length;O<E;++O)for(var y=v[O],N=0,V=y.length;N<V;++N){var de=y[N];if(de)return de}return null},size:function Ke(){let v=0;for(const O of this)++v;return v},empty:function ge(){return!this.node()},each:function ve(v){for(var O=this._groups,E=0,y=O.length;E<y;++E)for(var Ge,N=O[E],V=0,de=N.length;V<de;++V)(Ge=N[V])&&v.call(Ge,Ge.__data__,V,N);return this},attr:function ct(v,O){var E=dt(v);if(arguments.length<2){var y=this.node();return E.local?y.getAttributeNS(E.space,E.local):y.getAttribute(E)}return this.each((null==O?E.local?Ct:nt:"function"==typeof O?E.local?Ht:Pe:E.local?lt:Mt)(E,O))},style:function fe(v,O,E){return arguments.length>1?this.each((null==O?ze:"function"==typeof O?J:Z)(v,O,E??"")):Ie(this.node(),v)},property:function di(v,O){return arguments.length>1?this.each((null==O?ht:"function"==typeof O?Qt:li)(v,O)):this.node()[v]},classed:function Ne(v,O){var E=kt(v+"");if(arguments.length<2){for(var y=Rt(this.node()),N=-1,V=E.length;++N<V;)if(!y.contains(E[N]))return!1;return!0}return this.each(("function"==typeof O?Ue:O?se:ke)(E,O))},text:function Zt(v){return arguments.length?this.each(null==v?Kt:("function"==typeof v?Vt:yt)(v)):this.node().textContent},html:function Et(v){return arguments.length?this.each(null==v?ti:("function"==typeof v?Nt:Ye)(v)):this.node().innerHTML},raise:function qe(){return this.each(Jt)},lower:function tt(){return this.each($e)},append:function Hi(v){var O="function"==typeof v?v:ci(v);return this.select(function(){return this.appendChild(O.apply(this,arguments))})},insert:function ui(v,O){var E="function"==typeof v?v:ci(v),y=null==O?oi:"function"==typeof O?O:P(O);return this.select(function(){return this.insertBefore(E.apply(this,arguments),y.apply(this,arguments)||null)})},remove:function nn(){return this.each(ln)},clone:function It(v){return this.select(v?zn:dn)},datum:function Tt(v){return arguments.length?this.property("__data__",v):this.node().__data__},on:function bt(v,O,E){var N,de,y=function Ve(v){return v.trim().split(/^|\s+/).map(function(O){var E="",y=O.indexOf(".");return y>=0&&(E=O.slice(y+1),O=O.slice(0,y)),{type:O,name:E}})}(v+""),V=y.length;if(!(arguments.length<2)){for(Ge=O?it:Fe,N=0;N<V;++N)this.each(Ge(y[N],O,E));return this}var Ge=this.node().__on;if(Ge)for(var hi,Pt=0,Xt=Ge.length;Pt<Xt;++Pt)for(N=0,hi=Ge[Pt];N<V;++N)if((de=y[N]).type===hi.type&&de.name===hi.name)return hi.value},dispatch:function pi(v,O){return this.each(("function"==typeof O?ai:jt)(v,O))},[Symbol.iterator]:function*ki(){for(var v=this._groups,O=0,E=v.length;O<E;++O)for(var de,y=v[O],N=0,V=y.length;N<V;++N)(de=y[N])&&(yield de)}};const An=Dn;function Fn(v){return"string"==typeof v?new Ji([[document.querySelector(v)]],[document.documentElement]):new Ji([[v]],Ki)}var xi={value:()=>{}};function Gi(){for(var y,v=0,O=arguments.length,E={};v<O;++v){if(!(y=arguments[v]+"")||y in E||/[\s.]/.test(y))throw new Error("illegal type: "+y);E[y]=[]}return new Ci(E)}function Ci(v){this._=v}function Yi(v,O){for(var N,E=0,y=v.length;E<y;++E)if((N=v[E]).name===O)return N.value}function zt(v,O,E){for(var y=0,N=v.length;y<N;++y)if(v[y].name===O){v[y]=xi,v=v.slice(0,y).concat(v.slice(y+1));break}return null!=E&&v.push({name:O,value:E}),v}Ci.prototype=Gi.prototype={constructor:Ci,on:function(v,O){var N,E=this._,y=function Ai(v,O){return v.trim().split(/^|\s+/).map(function(E){var y="",N=E.indexOf(".");if(N>=0&&(y=E.slice(N+1),E=E.slice(0,N)),E&&!O.hasOwnProperty(E))throw new Error("unknown type: "+E);return{type:E,name:y}})}(v+"",E),V=-1,de=y.length;if(!(arguments.length<2)){if(null!=O&&"function"!=typeof O)throw new Error("invalid callback: "+O);for(;++V<de;)if(N=(v=y[V]).type)E[N]=zt(E[N],v.name,O);else if(null==O)for(N in E)E[N]=zt(E[N],v.name,null);return this}for(;++V<de;)if((N=(v=y[V]).type)&&(N=Yi(E[N],v.name)))return N},copy:function(){var v={},O=this._;for(var E in O)v[E]=O[E].slice();return new Ci(v)},call:function(v,O){if((N=arguments.length-2)>0)for(var N,V,E=new Array(N),y=0;y<N;++y)E[y]=arguments[y+2];if(!this._.hasOwnProperty(v))throw new Error("unknown type: "+v);for(y=0,N=(V=this._[v]).length;y<N;++y)V[y].value.apply(O,E)},apply:function(v,O,E){if(!this._.hasOwnProperty(v))throw new Error("unknown type: "+v);for(var y=this._[v],N=0,V=y.length;N<V;++N)y[N].value.apply(O,E)}};const ji=Gi;function ca(v,O,E){v.prototype=O.prototype=E,E.constructor=v}function an(v,O){var E=Object.create(v.prototype);for(var y in O)E[y]=O[y];return E}function mn(){}var mr=1/.7,fi="\\s*([+-]?\\d+)\\s*",Mi="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",en="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",wi=/^#([0-9a-f]{3,8})$/,Xe=new RegExp(`^rgb\\(${fi},${fi},${fi}\\)$`),Gt=new RegExp(`^rgb\\(${en},${en},${en}\\)$`),gt=new RegExp(`^rgba\\(${fi},${fi},${fi},${Mi}\\)$`),Ft=new RegExp(`^rgba\\(${en},${en},${en},${Mi}\\)$`),gi=new RegExp(`^hsl\\(${Mi},${en},${en}\\)$`),Bi=new RegExp(`^hsla\\(${Mi},${en},${en},${Mi}\\)$`),Qi={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function fn(){return this.rgb().formatHex()}function ga(){return this.rgb().formatRgb()}function Zn(v){var O,E;return v=(v+"").trim().toLowerCase(),(O=wi.exec(v))?(E=O[1].length,O=parseInt(O[1],16),6===E?Sa(O):3===E?new xa(O>>8&15|O>>4&240,O>>4&15|240&O,(15&O)<<4|15&O,1):8===E?ia(O>>24&255,O>>16&255,O>>8&255,(255&O)/255):4===E?ia(O>>12&15|O>>8&240,O>>8&15|O>>4&240,O>>4&15|240&O,((15&O)<<4|15&O)/255):null):(O=Xe.exec(v))?new xa(O[1],O[2],O[3],1):(O=Gt.exec(v))?new xa(255*O[1]/100,255*O[2]/100,255*O[3]/100,1):(O=gt.exec(v))?ia(O[1],O[2],O[3],O[4]):(O=Ft.exec(v))?ia(255*O[1]/100,255*O[2]/100,255*O[3]/100,O[4]):(O=gi.exec(v))?Br(O[1],O[2]/100,O[3]/100,1):(O=Bi.exec(v))?Br(O[1],O[2]/100,O[3]/100,O[4]):Qi.hasOwnProperty(v)?Sa(Qi[v]):"transparent"===v?new xa(NaN,NaN,NaN,0):null}function Sa(v){return new xa(v>>16&255,v>>8&255,255&v,1)}function ia(v,O,E,y){return y<=0&&(v=O=E=NaN),new xa(v,O,E,y)}function Er(v,O,E,y){return 1===arguments.length?function pa(v){return v instanceof mn||(v=Zn(v)),v?new xa((v=v.rgb()).r,v.g,v.b,v.opacity):new xa}(v):new xa(v,O,E,y??1)}function xa(v,O,E,y){this.r=+v,this.g=+O,this.b=+E,this.opacity=+y}function Xr(){return`#${Fa(this.r)}${Fa(this.g)}${Fa(this.b)}`}function wr(){const v=ja(this.opacity);return`${1===v?"rgb(":"rgba("}${Wa(this.r)}, ${Wa(this.g)}, ${Wa(this.b)}${1===v?")":`, ${v})`}`}function ja(v){return isNaN(v)?1:Math.max(0,Math.min(1,v))}function Wa(v){return Math.max(0,Math.min(255,Math.round(v)||0))}function Fa(v){return((v=Wa(v))<16?"0":"")+v.toString(16)}function Br(v,O,E,y){return y<=0?v=O=E=NaN:E<=0||E>=1?v=O=NaN:O<=0&&(v=NaN),new or(v,O,E,y)}function ys(v){if(v instanceof or)return new or(v.h,v.s,v.l,v.opacity);if(v instanceof mn||(v=Zn(v)),!v)return new or;if(v instanceof or)return v;var O=(v=v.rgb()).r/255,E=v.g/255,y=v.b/255,N=Math.min(O,E,y),V=Math.max(O,E,y),de=NaN,Ge=V-N,Pt=(V+N)/2;return Ge?(de=O===V?(E-y)/Ge+6*(E<y):E===V?(y-O)/Ge+2:(O-E)/Ge+4,Ge/=Pt<.5?V+N:2-V-N,de*=60):Ge=Pt>0&&Pt<1?0:de,new or(de,Ge,Pt,v.opacity)}function or(v,O,E,y){this.h=+v,this.s=+O,this.l=+E,this.opacity=+y}function os(v){return(v=(v||0)%360)<0?v+360:v}function Yr(v){return Math.max(0,Math.min(1,v||0))}function bs(v,O,E){return 255*(v<60?O+(E-O)*v/60:v<180?E:v<240?O+(E-O)*(240-v)/60:O)}function Qr(v,O,E,y,N){var V=v*v,de=V*v;return((1-3*v+3*V-de)*O+(4-6*V+3*de)*E+(1+3*v+3*V-3*de)*y+de*N)/6}ca(mn,Zn,{copy(v){return Object.assign(new this.constructor,this,v)},displayable(){return this.rgb().displayable()},hex:fn,formatHex:fn,formatHex8:function ma(){return this.rgb().formatHex8()},formatHsl:function da(){return ys(this).formatHsl()},formatRgb:ga,toString:ga}),ca(xa,Er,an(mn,{brighter(v){return v=null==v?mr:Math.pow(mr,v),new xa(this.r*v,this.g*v,this.b*v,this.opacity)},darker(v){return v=null==v?.7:Math.pow(.7,v),new xa(this.r*v,this.g*v,this.b*v,this.opacity)},rgb(){return this},clamp(){return new xa(Wa(this.r),Wa(this.g),Wa(this.b),ja(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:Xr,formatHex:Xr,formatHex8:function Ta(){return`#${Fa(this.r)}${Fa(this.g)}${Fa(this.b)}${Fa(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:wr,toString:wr})),ca(or,function Kr(v,O,E,y){return 1===arguments.length?ys(v):new or(v,O,E,y??1)},an(mn,{brighter(v){return v=null==v?mr:Math.pow(mr,v),new or(this.h,this.s,this.l*v,this.opacity)},darker(v){return v=null==v?.7:Math.pow(.7,v),new or(this.h,this.s,this.l*v,this.opacity)},rgb(){var v=this.h%360+360*(this.h<0),O=isNaN(v)||isNaN(this.s)?0:this.s,E=this.l,y=E+(E<.5?E:1-E)*O,N=2*E-y;return new xa(bs(v>=240?v-240:v+120,N,y),bs(v,N,y),bs(v<120?v+240:v-120,N,y),this.opacity)},clamp(){return new or(os(this.h),Yr(this.s),Yr(this.l),ja(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 v=ja(this.opacity);return`${1===v?"hsl(":"hsla("}${os(this.h)}, ${100*Yr(this.s)}%, ${100*Yr(this.l)}%${1===v?")":`, ${v})`}`}}));const cs=v=>()=>v;function wt(v,O){var E=O-v;return E?function Hs(v,O){return function(E){return v+E*O}}(v,E):cs(isNaN(v)?O:v)}const ii=function v(O){var E=function rt(v){return 1==(v=+v)?wt:function(O,E){return E-O?function $r(v,O,E){return v=Math.pow(v,E),O=Math.pow(O,E)-v,E=1/E,function(y){return Math.pow(v+y*O,E)}}(O,E,v):cs(isNaN(O)?E:O)}}(O);function y(N,V){var de=E((N=Er(N)).r,(V=Er(V)).r),Ge=E(N.g,V.g),Pt=E(N.b,V.b),Xt=wt(N.opacity,V.opacity);return function(hi){return N.r=de(hi),N.g=Ge(hi),N.b=Pt(hi),N.opacity=Xt(hi),N+""}}return y.gamma=v,y}(1);function Ii(v){return function(O){var de,Ge,E=O.length,y=new Array(E),N=new Array(E),V=new Array(E);for(de=0;de<E;++de)Ge=Er(O[de]),y[de]=Ge.r||0,N[de]=Ge.g||0,V[de]=Ge.b||0;return y=v(y),N=v(N),V=v(V),Ge.opacity=1,function(Pt){return Ge.r=y(Pt),Ge.g=N(Pt),Ge.b=V(Pt),Ge+""}}}function Pn(v,O){var de,E=O?O.length:0,y=v?Math.min(E,v.length):0,N=new Array(y),V=new Array(E);for(de=0;de<y;++de)N[de]=Sn(v[de],O[de]);for(;de<E;++de)V[de]=O[de];return function(Ge){for(de=0;de<y;++de)V[de]=N[de](Ge);return V}}function Qn(v,O){var E=new Date;return v=+v,O=+O,function(y){return E.setTime(v*(1-y)+O*y),E}}function Jn(v,O){return v=+v,O=+O,function(E){return v*(1-E)+O*E}}function Un(v,O){var N,E={},y={};for(N in(null===v||"object"!=typeof v)&&(v={}),(null===O||"object"!=typeof O)&&(O={}),O)N in v?E[N]=Sn(v[N],O[N]):y[N]=O[N];return function(V){for(N in E)y[N]=E[N](V);return y}}Ii(function no(v){var O=v.length-1;return function(E){var y=E<=0?E=0:E>=1?(E=1,O-1):Math.floor(E*O),N=v[y],V=v[y+1];return Qr((E-y/O)*O,y>0?v[y-1]:2*N-V,N,V,y<O-1?v[y+2]:2*V-N)}}),Ii(function ls(v){var O=v.length;return function(E){var y=Math.floor(((E%=1)<0?++E:E)*O);return Qr((E-y/O)*O,v[(y+O-1)%O],v[y%O],v[(y+1)%O],v[(y+2)%O])}});var Ca=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Aa=new RegExp(Ca.source,"g");function Xa(v,O){var y,N,V,E=Ca.lastIndex=Aa.lastIndex=0,de=-1,Ge=[],Pt=[];for(v+="",O+="";(y=Ca.exec(v))&&(N=Aa.exec(O));)(V=N.index)>E&&(V=O.slice(E,V),Ge[de]?Ge[de]+=V:Ge[++de]=V),(y=y[0])===(N=N[0])?Ge[de]?Ge[de]+=N:Ge[++de]=N:(Ge[++de]=null,Pt.push({i:de,x:Jn(y,N)})),E=Aa.lastIndex;return E<O.length&&(V=O.slice(E),Ge[de]?Ge[de]+=V:Ge[++de]=V),Ge.length<2?Pt[0]?function Ra(v){return function(O){return v(O)+""}}(Pt[0].x):function tr(v){return function(){return v}}(O):(O=Pt.length,function(Xt){for(var Si,hi=0;hi<O;++hi)Ge[(Si=Pt[hi]).i]=Si.x(Xt);return Ge.join("")})}function za(v,O){O||(O=[]);var N,E=v?Math.min(O.length,v.length):0,y=O.slice();return function(V){for(N=0;N<E;++N)y[N]=v[N]*(1-V)+O[N]*V;return y}}function Sn(v,O){var y,E=typeof O;return null==O||"boolean"===E?cs(O):("number"===E?Jn:"string"===E?(y=Zn(O))?(O=y,ii):Xa:O instanceof Zn?ii:O instanceof Date?Qn:function vr(v){return ArrayBuffer.isView(v)&&!(v instanceof DataView)}(O)?za:Array.isArray(O)?Pn:"function"!=typeof O.valueOf&&"function"!=typeof O.toString||isNaN(O)?Un:Jn)(v,O)}var Ss,Oa,pr=0,gr=0,ds=0,Wt=0,Ri=0,ft=0,_i="object"==typeof performance&&performance.now?performance:Date,Li="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(v){setTimeout(v,17)};function vn(){return Ri||(Li(Je),Ri=_i.now()+ft)}function Je(){Ri=0}function st(){this._call=this._time=this._next=null}function He(v,O,E){var y=new st;return y.restart(v,O,E),y}function mi(){Ri=(Wt=_i.now())+ft,pr=gr=0;try{!function At(){vn(),++pr;for(var O,v=Ss;v;)(O=Ri-v._time)>=0&&v._call.call(void 0,O),v=v._next;--pr}()}finally{pr=0,function ea(){for(var v,E,O=Ss,y=1/0;O;)O._call?(y>O._time&&(y=O._time),v=O,O=O._next):(E=O._next,O._next=null,O=v?v._next=E:Ss=E);Oa=v,lr(y)}(),Ri=0}}function Rn(){var v=_i.now(),O=v-Wt;O>1e3&&(ft-=O,Wt=v)}function lr(v){pr||(gr&&(gr=clearTimeout(gr)),v-Ri>24?(v<1/0&&(gr=setTimeout(mi,v-_i.now()-ft)),ds&&(ds=clearInterval(ds))):(ds||(Wt=_i.now(),ds=setInterval(Rn,1e3)),pr=1,Li(mi)))}function Ts(v,O,E){var y=new st;return y.restart(N=>{y.stop(),v(N+O)},O=null==O?0:+O,E),y}st.prototype=He.prototype={constructor:st,restart:function(v,O,E){if("function"!=typeof v)throw new TypeError("callback is not a function");E=(null==E?vn():+E)+(null==O?0:+O),!this._next&&Oa!==this&&(Oa?Oa._next=this:Ss=this,Oa=this),this._call=v,this._time=E,lr()},stop:function(){this._call&&(this._call=null,this._time=1/0,lr())}};var Rs=ji("start","end","cancel","interrupt"),Gs=[];function vo(v,O,E,y,N,V){var de=v.__transition;if(de){if(E in de)return}else v.__transition={};!function Fo(v,O,E){var N,y=v.__transition;function de(Xt){var hi,Si,Oi,sn;if(1!==E.state)return Pt();for(hi in y)if((sn=y[hi]).name===E.name){if(3===sn.state)return Ts(de);4===sn.state?(sn.state=6,sn.timer.stop(),sn.on.call("interrupt",v,v.__data__,sn.index,sn.group),delete y[hi]):+hi<O&&(sn.state=6,sn.timer.stop(),sn.on.call("cancel",v,v.__data__,sn.index,sn.group),delete y[hi])}if(Ts(function(){3===E.state&&(E.state=4,E.timer.restart(Ge,E.delay,E.time),Ge(Xt))}),E.state=2,E.on.call("start",v,v.__data__,E.index,E.group),2===E.state){for(E.state=3,N=new Array(Oi=E.tween.length),hi=0,Si=-1;hi<Oi;++hi)(sn=E.tween[hi].value.call(v,v.__data__,E.index,E.group))&&(N[++Si]=sn);N.length=Si+1}}function Ge(Xt){for(var hi=Xt<E.duration?E.ease.call(null,Xt/E.duration):(E.timer.restart(Pt),E.state=5,1),Si=-1,Oi=N.length;++Si<Oi;)N[Si].call(v,hi);5===E.state&&(E.on.call("end",v,v.__data__,E.index,E.group),Pt())}function Pt(){for(var Xt in E.state=6,E.timer.stop(),delete y[O],y)return;delete v.__transition}y[O]=E,E.timer=He(function V(Xt){E.state=1,E.timer.restart(de,E.delay,E.time),E.delay<=Xt&&de(Xt-E.delay)},0,E.time)}(v,E,{name:O,index:y,group:N,on:Rs,tween:Gs,time:V.time,delay:V.delay,duration:V.duration,ease:V.ease,timer:null,state:0})}function Sr(v,O){var E=qi(v,O);if(E.state>0)throw new Error("too late; already scheduled");return E}function Ua(v,O){var E=qi(v,O);if(E.state>3)throw new Error("too late; already running");return E}function qi(v,O){var E=v.__transition;if(!E||!(E=E[O]))throw new Error("transition not found");return E}var ul,Fs=180/Math.PI,xo={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function dl(v,O,E,y,N,V){var de,Ge,Pt;return(de=Math.sqrt(v*v+O*O))&&(v/=de,O/=de),(Pt=v*E+O*y)&&(E-=v*Pt,y-=O*Pt),(Ge=Math.sqrt(E*E+y*y))&&(E/=Ge,y/=Ge,Pt/=Ge),v*y<O*E&&(v=-v,O=-O,Pt=-Pt,de=-de),{translateX:N,translateY:V,rotate:Math.atan2(O,v)*Fs,skewX:Math.atan(Pt)*Fs,scaleX:de,scaleY:Ge}}function us(v,O,E,y){function N(Xt){return Xt.length?Xt.pop()+" ":""}return function(Xt,hi){var Si=[],Oi=[];return Xt=v(Xt),hi=v(hi),function V(Xt,hi,Si,Oi,sn,on){if(Xt!==Si||hi!==Oi){var Wn=sn.push("translate(",null,O,null,E);on.push({i:Wn-4,x:Jn(Xt,Si)},{i:Wn-2,x:Jn(hi,Oi)})}else(Si||Oi)&&sn.push("translate("+Si+O+Oi+E)}(Xt.translateX,Xt.translateY,hi.translateX,hi.translateY,Si,Oi),function de(Xt,hi,Si,Oi){Xt!==hi?(Xt-hi>180?hi+=360:hi-Xt>180&&(Xt+=360),Oi.push({i:Si.push(N(Si)+"rotate(",null,y)-2,x:Jn(Xt,hi)})):hi&&Si.push(N(Si)+"rotate("+hi+y)}(Xt.rotate,hi.rotate,Si,Oi),function Ge(Xt,hi,Si,Oi){Xt!==hi?Oi.push({i:Si.push(N(Si)+"skewX(",null,y)-2,x:Jn(Xt,hi)}):hi&&Si.push(N(Si)+"skewX("+hi+y)}(Xt.skewX,hi.skewX,Si,Oi),function Pt(Xt,hi,Si,Oi,sn,on){if(Xt!==Si||hi!==Oi){var Wn=sn.push(N(sn)+"scale(",null,",",null,")");on.push({i:Wn-4,x:Jn(Xt,Si)},{i:Wn-2,x:Jn(hi,Oi)})}else(1!==Si||1!==Oi)&&sn.push(N(sn)+"scale("+Si+","+Oi+")")}(Xt.scaleX,Xt.scaleY,hi.scaleX,hi.scaleY,Si,Oi),Xt=hi=null,function(sn){for(var Wi,on=-1,Wn=Oi.length;++on<Wn;)Si[(Wi=Oi[on]).i]=Wi.x(sn);return Si.join("")}}}var so=us(function jl(v){const O=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(v+"");return O.isIdentity?xo:dl(O.a,O.b,O.c,O.d,O.e,O.f)},"px, ","px)","deg)"),Wl=us(function cr(v){return null!=v&&(ul||(ul=document.createElementNS("http://www.w3.org/2000/svg","g")),ul.setAttribute("transform",v),v=ul.transform.baseVal.consolidate())?dl((v=v.matrix).a,v.b,v.c,v.d,v.e,v.f):xo},", ",")",")");function Dl(v,O){var E,y;return function(){var N=Ua(this,v),V=N.tween;if(V!==E)for(var de=0,Ge=(y=E=V).length;de<Ge;++de)if(y[de].name===O){(y=y.slice()).splice(de,1);break}N.tween=y}}function qo(v,O,E){var y,N;if("function"!=typeof E)throw new Error;return function(){var V=Ua(this,v),de=V.tween;if(de!==y){N=(y=de).slice();for(var Ge={name:O,value:E},Pt=0,Xt=N.length;Pt<Xt;++Pt)if(N[Pt].name===O){N[Pt]=Ge;break}Pt===Xt&&N.push(Ge)}V.tween=N}}function Ll(v,O,E){var y=v._id;return v.each(function(){var N=Ua(this,y);(N.value||(N.value={}))[O]=E.apply(this,arguments)}),function(N){return qi(N,y).value[O]}}function Rr(v,O){var E;return("number"==typeof O?Jn:O instanceof Zn?ii:(E=Zn(O))?(O=E,ii):Xa)(v,O)}function hl(v){return function(){this.removeAttribute(v)}}function fl(v){return function(){this.removeAttributeNS(v.space,v.local)}}function oo(v,O,E){var y,V,N=E+"";return function(){var de=this.getAttribute(v);return de===N?null:de===y?V:V=O(y=de,E)}}function No(v,O,E){var y,V,N=E+"";return function(){var de=this.getAttributeNS(v.space,v.local);return de===N?null:de===y?V:V=O(y=de,E)}}function Il(v,O,E){var y,N,V;return function(){var de,Pt,Ge=E(this);return null==Ge?void this.removeAttribute(v):(de=this.getAttribute(v))===(Pt=Ge+"")?null:de===y&&Pt===N?V:(N=Pt,V=O(y=de,Ge))}}function xs(v,O,E){var y,N,V;return function(){var de,Pt,Ge=E(this);return null==Ge?void this.removeAttributeNS(v.space,v.local):(de=this.getAttributeNS(v.space,v.local))===(Pt=Ge+"")?null:de===y&&Pt===N?V:(N=Pt,V=O(y=de,Ge))}}function Bo(v,O){var E,y;function N(){var V=O.apply(this,arguments);return V!==y&&(E=(y=V)&&function Ws(v,O){return function(E){this.setAttributeNS(v.space,v.local,O.call(this,E))}}(v,V)),E}return N._value=O,N}function Xl(v,O){var E,y;function N(){var V=O.apply(this,arguments);return V!==y&&(E=(y=V)&&function wn(v,O){return function(E){this.setAttribute(v,O.call(this,E))}}(v,V)),E}return N._value=O,N}function ml(v,O){return function(){Sr(this,v).delay=+O.apply(this,arguments)}}function pl(v,O){return O=+O,function(){Sr(this,v).delay=O}}function gl(v,O){return function(){Ua(this,v).duration=+O.apply(this,arguments)}}function hs(v,O){return O=+O,function(){Ua(this,v).duration=O}}var jc=An.prototype.constructor;function Re(v){return function(){this.style.removeProperty(v)}}var bl=0;function fs(v,O,E,y){this._groups=v,this._parents=O,this._name=E,this._id=y}function kl(){return++bl}var $s=An.prototype;fs.prototype=function $d(v){return An().transition(v)}.prototype={constructor:fs,select:function cd(v){var O=this._name,E=this._id;"function"!=typeof v&&(v=P(v));for(var y=this._groups,N=y.length,V=new Array(N),de=0;de<N;++de)for(var hi,Si,Ge=y[de],Pt=Ge.length,Xt=V[de]=new Array(Pt),Oi=0;Oi<Pt;++Oi)(hi=Ge[Oi])&&(Si=v.call(hi,hi.__data__,Oi,Ge))&&("__data__"in hi&&(Si.__data__=hi.__data__),Xt[Oi]=Si,vo(Xt[Oi],O,E,Oi,Xt,qi(hi,E)));return new fs(V,this._parents,O,E)},selectAll:function yl(v){var O=this._name,E=this._id;"function"!=typeof v&&(v=K(v));for(var y=this._groups,N=y.length,V=[],de=[],Ge=0;Ge<N;++Ge)for(var hi,Pt=y[Ge],Xt=Pt.length,Si=0;Si<Xt;++Si)if(hi=Pt[Si]){for(var sn,Oi=v.call(hi,hi.__data__,Si,Pt),on=qi(hi,E),Wn=0,Wi=Oi.length;Wn<Wi;++Wn)(sn=Oi[Wn])&&vo(sn,O,E,Wn,Oi,on);V.push(Oi),de.push(hi)}return new fs(V,de,O,E)},selectChild:$s.selectChild,selectChildren:$s.selectChildren,filter:function lo(v){"function"!=typeof v&&(v=Q(v));for(var O=this._groups,E=O.length,y=new Array(E),N=0;N<E;++N)for(var Pt,V=O[N],de=V.length,Ge=y[N]=[],Xt=0;Xt<de;++Xt)(Pt=V[Xt])&&v.call(Pt,Pt.__data__,Xt,V)&&Ge.push(Pt);return new fs(y,this._parents,this._name,this._id)},merge:function Ys(v){if(v._id!==this._id)throw new Error;for(var O=this._groups,E=v._groups,y=O.length,V=Math.min(y,E.length),de=new Array(y),Ge=0;Ge<V;++Ge)for(var Oi,Pt=O[Ge],Xt=E[Ge],hi=Pt.length,Si=de[Ge]=new Array(hi),sn=0;sn<hi;++sn)(Oi=Pt[sn]||Xt[sn])&&(Si[sn]=Oi);for(;Ge<y;++Ge)de[Ge]=O[Ge];return new fs(de,this._parents,this._name,this._id)},selection:function we(){return new jc(this._groups,this._parents)},transition:function Ns(){for(var v=this._name,O=this._id,E=kl(),y=this._groups,N=y.length,V=0;V<N;++V)for(var Pt,de=y[V],Ge=de.length,Xt=0;Xt<Ge;++Xt)if(Pt=de[Xt]){var hi=qi(Pt,O);vo(Pt,v,E,Xt,de,{time:hi.time+hi.delay+hi.duration,delay:0,duration:hi.duration,ease:hi.ease})}return new fs(y,this._parents,v,E)},call:$s.call,nodes:$s.nodes,node:$s.node,size:$s.size,empty:$s.empty,each:$s.each,on:function vl(v,O){var E=this._id;return arguments.length<2?qi(this.node(),E).on.on(v):this.each(function Vo(v,O,E){var y,N,V=function _l(v){return(v+"").trim().split(/^|\s+/).every(function(O){var E=O.indexOf(".");return E>=0&&(O=O.slice(0,E)),!O||"start"===O})}(O)?Sr:Ua;return function(){var de=V(this,v),Ge=de.on;Ge!==y&&(N=(y=Ge).copy()).on(O,E),de.on=N}}(E,v,O))},attr:function js(v,O){var E=dt(v),y="transform"===E?Wl:Rr;return this.attrTween(v,"function"==typeof O?(E.local?xs:Il)(E,y,Ll(this,"attr."+v,O)):null==O?(E.local?fl:hl)(E):(E.local?No:oo)(E,y,O))},attrTween:function el(v,O){var E="attr."+v;if(arguments.length<2)return(E=this.tween(E))&&E._value;if(null==O)return this.tween(E,null);if("function"!=typeof O)throw new Error;var y=dt(v);return this.tween(E,(y.local?Bo:Xl)(y,O))},style:function ri(v,O,E){var y="transform"==(v+="")?so:Rr;return null==O?this.styleTween(v,function je(v,O){var E,y,N;return function(){var V=Ie(this,v),de=(this.style.removeProperty(v),Ie(this,v));return V===de?null:V===E&&de===y?N:N=O(E=V,y=de)}}(v,y)).on("end.style."+v,Re(v)):"function"==typeof O?this.styleTween(v,function _t(v,O,E){var y,N,V;return function(){var de=Ie(this,v),Ge=E(this),Pt=Ge+"";return null==Ge&&(this.style.removeProperty(v),Pt=Ge=Ie(this,v)),de===Pt?null:de===y&&Pt===N?V:(N=Pt,V=O(y=de,Ge))}}(v,y,Ll(this,"style."+v,O))).each(function Ut(v,O){var E,y,N,Ge,V="style."+O,de="end."+V;return function(){var Pt=Ua(this,v),Xt=Pt.on,hi=null==Pt.value[V]?Ge||(Ge=Re(O)):void 0;(Xt!==E||N!==hi)&&(y=(E=Xt).copy()).on(de,N=hi),Pt.on=y}}(this._id,v)):this.styleTween(v,function We(v,O,E){var y,V,N=E+"";return function(){var de=Ie(this,v);return de===N?null:de===y?V:V=O(y=de,E)}}(v,y,O),E).on("end.style."+v,null)},styleTween:function On(v,O,E){var y="style."+(v+="");if(arguments.length<2)return(y=this.tween(y))&&y._value;if(null==O)return this.tween(y,null);if("function"!=typeof O)throw new Error;return this.tween(y,function Zi(v,O,E){var y,N;function V(){var de=O.apply(this,arguments);return de!==N&&(y=(N=de)&&function Di(v,O,E){return function(y){this.style.setProperty(v,O.call(this,y),E)}}(v,de,E)),y}return V._value=O,V}(v,O,E??""))},text:function Ur(v){return this.tween("text","function"==typeof v?function yr(v){return function(){var O=v(this);this.textContent=O??""}}(Ll(this,"text",v)):function Ma(v){return function(){this.textContent=v}}(null==v?"":v+""))},textTween:function Qs(v){var O="text";if(arguments.length<1)return(O=this.tween(O))&&O._value;if(null==v)return this.tween(O,null);if("function"!=typeof v)throw new Error;return this.tween(O,function ts(v){var O,E;function y(){var N=v.apply(this,arguments);return N!==E&&(O=(E=N)&&function co(v){return function(O){this.textContent=v.call(this,O)}}(N)),O}return y._value=v,y}(v))},remove:function zr(){return this.on("end.remove",function Ho(v){return function(){var O=this.parentNode;for(var E in this.__transition)if(+E!==v)return;O&&O.removeChild(this)}}(this._id))},tween:function Al(v,O){var E=this._id;if(v+="",arguments.length<2){for(var de,y=qi(this.node(),E).tween,N=0,V=y.length;N<V;++N)if((de=y[N]).name===v)return de.value;return null}return this.each((null==O?Dl:qo)(E,v,O))},delay:function Co(v){var O=this._id;return arguments.length?this.each(("function"==typeof v?ml:pl)(O,v)):qi(this.node(),O).delay},duration:function Xs(v){var O=this._id;return arguments.length?this.each(("function"==typeof v?gl:hs)(O,v)):qi(this.node(),O).duration},ease:function zo(v){var O=this._id;return arguments.length?this.each(function ta(v,O){if("function"!=typeof O)throw new Error;return function(){Ua(this,v).ease=O}}(O,v)):qi(this.node(),O).ease},easeVarying:function Ks(v){if("function"!=typeof v)throw new Error;return this.each(function Uo(v,O){return function(){var E=O.apply(this,arguments);if("function"!=typeof E)throw new Error;Ua(this,v).ease=E}}(this._id,v))},end:function uo(){var v,O,E=this,y=E._id,N=E.size();return new Promise(function(V,de){var Ge={value:de},Pt={value:function(){0===--N&&V()}};E.each(function(){var Xt=Ua(this,y),hi=Xt.on;hi!==v&&((O=(v=hi).copy())._.cancel.push(Ge),O._.interrupt.push(Ge),O._.end.push(Pt)),Xt.on=O}),0===N&&V()})},[Symbol.iterator]:$s[Symbol.iterator]};var xl={time:null,delay:0,duration:250,ease:function Go(v){return((v*=2)<=1?v*v*v:(v-=2)*v*v+2)/2}};function Bs(v,O){for(var E;!(E=v.__transition)||!(E=E[O]);)if(!(v=v.parentNode))throw new Error(`transition ${O} not found`);return E}An.prototype.interrupt=function bo(v){return this.each(function(){!function yo(v,O){var y,N,de,E=v.__transition,V=!0;if(E){for(de in O=null==O?null:O+"",E)(y=E[de]).name===O?(N=y.state>2&&y.state<5,y.state=6,y.timer.stop(),y.on.call(N?"interrupt":"cancel",v,v.__data__,y.index,y.group),delete E[de]):V=!1;V&&delete v.__transition}}(this,v)})},An.prototype.transition=function Mo(v){var O,E;v instanceof fs?(O=v._id,v=v._name):(O=kl(),(E=xl).time=vn(),v=null==v?null:v+"");for(var y=this._groups,N=y.length,V=0;V<N;++V)for(var Pt,de=y[V],Ge=de.length,Xt=0;Xt<Ge;++Xt)(Pt=de[Xt])&&vo(Pt,v,O,Xt,de,E||Bs(Pt,O));return new fs(y,this._parents,v,O)};Math;function To(v){return{type:v}}function rl(v,O){return null==v||null==O?NaN:v<O?-1:v>O?1:v>=O?0:NaN}function Wo(v,O){return null==v||null==O?NaN:O<v?-1:O>v?1:O>=v?0:NaN}function Ja(v){let O,E,y;function N(Ge,Pt,Xt=0,hi=Ge.length){if(Xt<hi){if(0!==O(Pt,Pt))return hi;do{const Si=Xt+hi>>>1;E(Ge[Si],Pt)<0?Xt=Si+1:hi=Si}while(Xt<hi)}return Xt}return 2!==v.length?(O=rl,E=(Ge,Pt)=>rl(v(Ge),Pt),y=(Ge,Pt)=>v(Ge)-Pt):(O=v===rl||v===Wo?v:Mn,E=v,y=v),{left:N,center:function de(Ge,Pt,Xt=0,hi=Ge.length){const Si=N(Ge,Pt,Xt,hi-1);return Si>Xt&&y(Ge[Si-1],Pt)>-y(Ge[Si],Pt)?Si-1:Si},right:function V(Ge,Pt,Xt=0,hi=Ge.length){if(Xt<hi){if(0!==O(Pt,Pt))return hi;do{const Si=Xt+hi>>>1;E(Ge[Si],Pt)<=0?Xt=Si+1:hi=Si}while(Xt<hi)}return Xt}}}function Mn(){return 0}["w","e"].map(To),["n","s"].map(To),["n","w","e","s","nw","ne","sw","se"].map(To);const Va=Math.sqrt(50),Tr=Math.sqrt(10),Ea=Math.sqrt(2);function bn(v,O,E){const y=(O-v)/Math.max(0,E),N=Math.floor(Math.log10(y)),V=y/Math.pow(10,N),de=V>=Va?10:V>=Tr?5:V>=Ea?2:1;let Ge,Pt,Xt;return N<0?(Xt=Math.pow(10,-N)/de,Ge=Math.round(v*Xt),Pt=Math.round(O*Xt),Ge/Xt<v&&++Ge,Pt/Xt>O&&--Pt,Xt=-Xt):(Xt=Math.pow(10,N)*de,Ge=Math.round(v/Xt),Pt=Math.round(O/Xt),Ge*Xt<v&&++Ge,Pt*Xt>O&&--Pt),Pt<Ge&&.5<=E&&E<2?bn(v,O,2*E):[Ge,Pt,Xt]}function $l(v,O,E){return bn(v=+v,O=+O,E=+E)[2]}function _c(v,O,E){E=+E;const y=(O=+O)<(v=+v),N=y?$l(O,v,E):$l(v,O,E);return(y?-1:1)*(N<0?1/-N:N)}const Do=1e3,is=6e4,Nn=60*is,ir=24*Nn,cn=7*ir,Hr=30*ir,ra=365*ir,De=new Date,pt=new Date;function Yt(v,O,E,y){function N(V){return v(V=0===arguments.length?new Date:new Date(+V)),V}return N.floor=V=>(v(V=new Date(+V)),V),N.ceil=V=>(v(V=new Date(V-1)),O(V,1),v(V),V),N.round=V=>{const de=N(V),Ge=N.ceil(V);return V-de<Ge-V?de:Ge},N.offset=(V,de)=>(O(V=new Date(+V),null==de?1:Math.floor(de)),V),N.range=(V,de,Ge)=>{const Pt=[];if(V=N.ceil(V),Ge=null==Ge?1:Math.floor(Ge),!(V<de&&Ge>0))return Pt;let Xt;do{Pt.push(Xt=new Date(+V)),O(V,Ge),v(V)}while(Xt<V&&V<de);return Pt},N.filter=V=>Yt(de=>{if(de>=de)for(;v(de),!V(de);)de.setTime(de-1)},(de,Ge)=>{if(de>=de)if(Ge<0)for(;++Ge<=0;)for(;O(de,-1),!V(de););else for(;--Ge>=0;)for(;O(de,1),!V(de););}),E&&(N.count=(V,de)=>(De.setTime(+V),pt.setTime(+de),v(De),v(pt),Math.floor(E(De,pt))),N.every=V=>(V=Math.floor(V),isFinite(V)&&V>0?V>1?N.filter(y?de=>y(de)%V===0:de=>N.count(0,de)%V===0):N:null)),N}const Pi=Yt(()=>{},(v,O)=>{v.setTime(+v+O)},(v,O)=>O-v);Pi.every=v=>(v=Math.floor(v),isFinite(v)&&v>0?v>1?Yt(O=>{O.setTime(Math.floor(O/v)*v)},(O,E)=>{O.setTime(+O+E*v)},(O,E)=>(E-O)/v):Pi:null);const In=Yt(v=>{v.setTime(v-v.getMilliseconds())},(v,O)=>{v.setTime(+v+O*Do)},(v,O)=>(O-v)/Do,v=>v.getUTCSeconds()),Ar=Yt(v=>{v.setTime(v-v.getMilliseconds()-v.getSeconds()*Do)},(v,O)=>{v.setTime(+v+O*is)},(v,O)=>(O-v)/is,v=>v.getMinutes()),Za=Yt(v=>{v.setUTCSeconds(0,0)},(v,O)=>{v.setTime(+v+O*is)},(v,O)=>(O-v)/is,v=>v.getUTCMinutes()),hd=Yt(v=>{v.setTime(v-v.getMilliseconds()-v.getSeconds()*Do-v.getMinutes()*is)},(v,O)=>{v.setTime(+v+O*Nn)},(v,O)=>(O-v)/Nn,v=>v.getHours()),Xo=Yt(v=>{v.setUTCMinutes(0,0,0)},(v,O)=>{v.setTime(+v+O*Nn)},(v,O)=>(O-v)/Nn,v=>v.getUTCHours()),Zl=Yt(v=>v.setHours(0,0,0,0),(v,O)=>v.setDate(v.getDate()+O),(v,O)=>(O-v-(O.getTimezoneOffset()-v.getTimezoneOffset())*is)/ir,v=>v.getDate()-1),Nl=Yt(v=>{v.setUTCHours(0,0,0,0)},(v,O)=>{v.setUTCDate(v.getUTCDate()+O)},(v,O)=>(O-v)/ir,v=>v.getUTCDate()-1),Jd=Yt(v=>{v.setUTCHours(0,0,0,0)},(v,O)=>{v.setUTCDate(v.getUTCDate()+O)},(v,O)=>(O-v)/ir,v=>Math.floor(v/ir));function sl(v){return Yt(O=>{O.setDate(O.getDate()-(O.getDay()+7-v)%7),O.setHours(0,0,0,0)},(O,E)=>{O.setDate(O.getDate()+7*E)},(O,E)=>(E-O-(E.getTimezoneOffset()-O.getTimezoneOffset())*is)/cn)}const Wc=sl(0),qd=sl(1),vc=(sl(2),sl(3),sl(4));function Ni(v){return Yt(O=>{O.setUTCDate(O.getUTCDate()-(O.getUTCDay()+7-v)%7),O.setUTCHours(0,0,0,0)},(O,E)=>{O.setUTCDate(O.getUTCDate()+7*E)},(O,E)=>(E-O)/cn)}sl(5),sl(6);const $i=Ni(0),Tn=Ni(1),va=(Ni(2),Ni(3),Ni(4)),Jl=(Ni(5),Ni(6),Yt(v=>{v.setDate(1),v.setHours(0,0,0,0)},(v,O)=>{v.setMonth(v.getMonth()+O)},(v,O)=>O.getMonth()-v.getMonth()+12*(O.getFullYear()-v.getFullYear()),v=>v.getMonth())),yc=Yt(v=>{v.setUTCDate(1),v.setUTCHours(0,0,0,0)},(v,O)=>{v.setUTCMonth(v.getUTCMonth()+O)},(v,O)=>O.getUTCMonth()-v.getUTCMonth()+12*(O.getUTCFullYear()-v.getUTCFullYear()),v=>v.getUTCMonth()),ql=Yt(v=>{v.setMonth(0,1),v.setHours(0,0,0,0)},(v,O)=>{v.setFullYear(v.getFullYear()+O)},(v,O)=>O.getFullYear()-v.getFullYear(),v=>v.getFullYear());ql.every=v=>isFinite(v=Math.floor(v))&&v>0?Yt(O=>{O.setFullYear(Math.floor(O.getFullYear()/v)*v),O.setMonth(0,1),O.setHours(0,0,0,0)},(O,E)=>{O.setFullYear(O.getFullYear()+E*v)}):null;const Bl=Yt(v=>{v.setUTCMonth(0,1),v.setUTCHours(0,0,0,0)},(v,O)=>{v.setUTCFullYear(v.getUTCFullYear()+O)},(v,O)=>O.getUTCFullYear()-v.getUTCFullYear(),v=>v.getUTCFullYear());function M2(v,O,E,y,N,V){const de=[[In,1,Do],[In,5,5e3],[In,15,15e3],[In,30,3e4],[V,1,is],[V,5,5*is],[V,15,15*is],[V,30,30*is],[N,1,Nn],[N,3,3*Nn],[N,6,6*Nn],[N,12,12*Nn],[y,1,ir],[y,2,2*ir],[E,1,cn],[O,1,Hr],[O,3,3*Hr],[v,1,ra]];function Pt(Xt,hi,Si){const Oi=Math.abs(hi-Xt)/Si,sn=Ja(([,,Wi])=>Wi).right(de,Oi);if(sn===de.length)return v.every(_c(Xt/ra,hi/ra,Si));if(0===sn)return Pi.every(Math.max(_c(Xt,hi,Si),1));const[on,Wn]=de[Oi/de[sn-1][2]<de[sn][2]/Oi?sn-1:sn];return on.every(Wn)}return[function Ge(Xt,hi,Si){const Oi=hi<Xt;Oi&&([Xt,hi]=[hi,Xt]);const sn=Si&&"function"==typeof Si.range?Si:Pt(Xt,hi,Si),on=sn?sn.range(Xt,+hi+1):[];return Oi?on.reverse():on},Pt]}Bl.every=v=>isFinite(v=Math.floor(v))&&v>0?Yt(O=>{O.setUTCFullYear(Math.floor(O.getUTCFullYear()/v)*v),O.setUTCMonth(0,1),O.setUTCHours(0,0,0,0)},(O,E)=>{O.setUTCFullYear(O.getUTCFullYear()+E*v)}):null;const[$1,p4]=M2(Bl,yc,$i,Jd,Xo,Za),[Z1,Ju]=M2(ql,Jl,Wc,Zl,hd,Ar);function J1(v){if(0<=v.y&&v.y<100){var O=new Date(-1,v.m,v.d,v.H,v.M,v.S,v.L);return O.setFullYear(v.y),O}return new Date(v.y,v.m,v.d,v.H,v.M,v.S,v.L)}function Ao(v){if(0<=v.y&&v.y<100){var O=new Date(Date.UTC(-1,v.m,v.d,v.H,v.M,v.S,v.L));return O.setUTCFullYear(v.y),O}return new Date(Date.UTC(v.y,v.m,v.d,v.H,v.M,v.S,v.L))}function md(v,O,E){return{y:v,m:O,d:E,H:0,M:0,S:0,L:0}}var Lr={"-":"",_:" ",0:"0"},Jr=/^\s*\d+/,Lo=/^%/,pd=/[\\^$*+?|[\]().{}]/g;function Na(v,O,E){var y=v<0?"-":"",N=(y?-v:v)+"",V=N.length;return y+(V<E?new Array(E-V+1).join(O)+N:N)}function qu(v){return v.replace(pd,"\\$&")}function gd(v){return new RegExp("^(?:"+v.map(qu).join("|")+")","i")}function ec(v){return new Map(v.map((O,E)=>[O.toLowerCase(),E]))}function qa(v,O,E){var y=Jr.exec(O.slice(E,E+1));return y?(v.w=+y[0],E+y[0].length):-1}function q1(v,O,E){var y=Jr.exec(O.slice(E,E+1));return y?(v.u=+y[0],E+y[0].length):-1}function E2(v,O,E){var y=Jr.exec(O.slice(E,E+2));return y?(v.U=+y[0],E+y[0].length):-1}function e0(v,O,E){var y=Jr.exec(O.slice(E,E+2));return y?(v.V=+y[0],E+y[0].length):-1}function e1(v,O,E){var y=Jr.exec(O.slice(E,E+2));return y?(v.W=+y[0],E+y[0].length):-1}function zl(v,O,E){var y=Jr.exec(O.slice(E,E+4));return y?(v.y=+y[0],E+y[0].length):-1}function _d(v,O,E){var y=Jr.exec(O.slice(E,E+2));return y?(v.y=+y[0]+(+y[0]>68?1900:2e3),E+y[0].length):-1}function Ir(v,O,E){var y=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(O.slice(E,E+6));return y?(v.Z=y[1]?0:-(y[2]+(y[3]||"00")),E+y[0].length):-1}function nr(v,O,E){var y=Jr.exec(O.slice(E,E+1));return y?(v.q=3*y[0]-3,E+y[0].length):-1}function w2(v,O,E){var y=Jr.exec(O.slice(E,E+2));return y?(v.m=y[0]-1,E+y[0].length):-1}function Or(v,O,E){var y=Jr.exec(O.slice(E,E+2));return y?(v.d=+y[0],E+y[0].length):-1}function vd(v,O,E){var y=Jr.exec(O.slice(E,E+3));return y?(v.m=0,v.d=+y[0],E+y[0].length):-1}function tc(v,O,E){var y=Jr.exec(O.slice(E,E+2));return y?(v.H=+y[0],E+y[0].length):-1}function Xc(v,O,E){var y=Jr.exec(O.slice(E,E+2));return y?(v.M=+y[0],E+y[0].length):-1}function t1(v,O,E){var y=Jr.exec(O.slice(E,E+2));return y?(v.S=+y[0],E+y[0].length):-1}function t0(v,O,E){var y=Jr.exec(O.slice(E,E+3));return y?(v.L=+y[0],E+y[0].length):-1}function n1(v,O,E){var y=Jr.exec(O.slice(E,E+6));return y?(v.L=Math.floor(y[0]/1e3),E+y[0].length):-1}function eh(v,O,E){var y=Lo.exec(O.slice(E,E+1));return y?E+y[0].length:-1}function n0(v,O,E){var y=Jr.exec(O.slice(E));return y?(v.Q=+y[0],E+y[0].length):-1}function Kc(v,O,E){var y=Jr.exec(O.slice(E));return y?(v.s=+y[0],E+y[0].length):-1}function a1(v,O){return Na(v.getDate(),O,2)}function S2(v,O){return Na(v.getHours(),O,2)}function T2(v,O){return Na(v.getHours()%12||12,O,2)}function r1(v,O){return Na(1+Zl.count(ql(v),v),O,3)}function Yc(v,O){return Na(v.getMilliseconds(),O,3)}function s1(v,O){return Yc(v,O)+"000"}function a0(v,O){return Na(v.getMonth()+1,O,2)}function o1(v,O){return Na(v.getMinutes(),O,2)}function th(v,O){return Na(v.getSeconds(),O,2)}function yd(v){var O=v.getDay();return 0===O?7:O}function Qc(v,O){return Na(Wc.count(ql(v)-1,v),O,2)}function D2(v){var O=v.getDay();return O>=4||0===O?vc(v):vc.ceil(v)}function A2(v,O){return v=D2(v),Na(vc.count(ql(v),v)+(4===ql(v).getDay()),O,2)}function L2(v){return v.getDay()}function I2(v,O){return Na(qd.count(ql(v)-1,v),O,2)}function ih(v,O){return Na(v.getFullYear()%100,O,2)}function r0(v,O){return Na((v=D2(v)).getFullYear()%100,O,2)}function nh(v,O){return Na(v.getFullYear()%1e4,O,4)}function bc(v,O){var E=v.getDay();return Na((v=E>=4||0===E?vc(v):vc.ceil(v)).getFullYear()%1e4,O,4)}function s0(v){var O=v.getTimezoneOffset();return(O>0?"-":(O*=-1,"+"))+Na(O/60|0,"0",2)+Na(O%60,"0",2)}function xc(v,O){return Na(v.getUTCDate(),O,2)}function k2(v,O){return Na(v.getUTCHours(),O,2)}function Cs(v,O){return Na(v.getUTCHours()%12||12,O,2)}function R2(v,O){return Na(1+Nl.count(Bl(v),v),O,3)}function O2(v,O){return Na(v.getUTCMilliseconds(),O,3)}function Sl(v,O){return O2(v,O)+"000"}function P2(v,O){return Na(v.getUTCMonth()+1,O,2)}function F2(v,O){return Na(v.getUTCMinutes(),O,2)}function g4(v,O){return Na(v.getUTCSeconds(),O,2)}function l1(v){var O=v.getUTCDay();return 0===O?7:O}function Cc(v,O){return Na($i.count(Bl(v)-1,v),O,2)}function Mc(v){var O=v.getUTCDay();return O>=4||0===O?va(v):va.ceil(v)}function Ha(v,O){return v=Mc(v),Na(va.count(Bl(v),v)+(4===Bl(v).getUTCDay()),O,2)}function Ba(v){return v.getUTCDay()}function $c(v,O){return Na(Tn.count(Bl(v)-1,v),O,2)}function ah(v,O){return Na(v.getUTCFullYear()%100,O,2)}function rh(v,O){return Na((v=Mc(v)).getUTCFullYear()%100,O,2)}function o0(v,O){return Na(v.getUTCFullYear()%1e4,O,4)}function bd(v,O){var E=v.getUTCDay();return Na((v=E>=4||0===E?va(v):va.ceil(v)).getUTCFullYear()%1e4,O,4)}function N2(){return"+0000"}function c1(){return"%"}function B2(v){return+v}function z2(v){return Math.floor(+v/1e3)}function G2(v){return null===v?NaN:+v}!function H2(v){(function qs(v){var O=v.dateTime,E=v.date,y=v.time,N=v.periods,V=v.days,de=v.shortDays,Ge=v.months,Pt=v.shortMonths,Xt=gd(N),hi=ec(N),Si=gd(V),Oi=ec(V),sn=gd(de),on=ec(de),Wn=gd(Ge),Wi=ec(Ge),Ln=gd(Pt),sa=ec(Pt),Xn={a:function Nr(Kn){return de[Kn.getDay()]},A:function Vs(Kn){return V[Kn.getDay()]},b:function jr(Kn){return Pt[Kn.getMonth()]},B:function rr(Kn){return Ge[Kn.getMonth()]},c:null,d:a1,e:a1,f:s1,g:r0,G:bc,H:S2,I:T2,j:r1,L:Yc,m:a0,M:o1,p:function _s(Kn){return N[+(Kn.getHours()>=12)]},q:function vs(Kn){return 1+~~(Kn.getMonth()/3)},Q:B2,s:z2,S:th,u:yd,U:Qc,V:A2,w:L2,W:I2,x:null,X:null,y:ih,Y:nh,Z:s0,"%":c1},la={a:function r2(Kn){return de[Kn.getUTCDay()]},A:function jd(Kn){return V[Kn.getUTCDay()]},b:function Wd(Kn){return Pt[Kn.getUTCMonth()]},B:function Hc(Kn){return Ge[Kn.getUTCMonth()]},c:null,d:xc,e:xc,f:Sl,g:rh,G:bd,H:k2,I:Cs,j:R2,L:O2,m:P2,M:F2,p:function go(Kn){return N[+(Kn.getUTCHours()>=12)]},q:function ld(Kn){return 1+~~(Kn.getUTCMonth()/3)},Q:B2,s:z2,S:g4,u:l1,U:Cc,V:Ha,w:Ba,W:$c,x:null,X:null,y:ah,Y:o0,Z:N2,"%":c1},Ia={a:function Gr(Kn,ba,Pa){var Cn=sn.exec(ba.slice(Pa));return Cn?(Kn.w=on.get(Cn[0].toLowerCase()),Pa+Cn[0].length):-1},A:function as(Kn,ba,Pa){var Cn=Si.exec(ba.slice(Pa));return Cn?(Kn.w=Oi.get(Cn[0].toLowerCase()),Pa+Cn[0].length):-1},b:function _a(Kn,ba,Pa){var Cn=Ln.exec(ba.slice(Pa));return Cn?(Kn.m=sa.get(Cn[0].toLowerCase()),Pa+Cn[0].length):-1},B:function Mr(Kn,ba,Pa){var Cn=Wn.exec(ba.slice(Pa));return Cn?(Kn.m=Wi.get(Cn[0].toLowerCase()),Pa+Cn[0].length):-1},c:function Ya(Kn,ba,Pa){return kr(Kn,O,ba,Pa)},d:Or,e:Or,f:n1,g:_d,G:zl,H:tc,I:tc,j:vd,L:t0,m:w2,M:Xc,p:function to(Kn,ba,Pa){var Cn=Xt.exec(ba.slice(Pa));return Cn?(Kn.p=hi.get(Cn[0].toLowerCase()),Pa+Cn[0].length):-1},q:nr,Q:n0,s:Kc,S:t1,u:q1,U:E2,V:e0,w:qa,W:e1,x:function Us(Kn,ba,Pa){return kr(Kn,E,ba,Pa)},X:function rs(Kn,ba,Pa){return kr(Kn,y,ba,Pa)},y:_d,Y:zl,Z:Ir,"%":eh};function Gn(Kn,ba){return function(Pa){var hr,fa,Wr,Cn=[],es=-1,sr=0,_o=Kn.length;for(Pa instanceof Date||(Pa=new Date(+Pa));++es<_o;)37===Kn.charCodeAt(es)&&(Cn.push(Kn.slice(sr,es)),null!=(fa=Lr[hr=Kn.charAt(++es)])?hr=Kn.charAt(++es):fa="e"===hr?" ":"0",(Wr=ba[hr])&&(hr=Wr(Pa,fa)),Cn.push(hr),sr=es+1);return Cn.push(Kn.slice(sr,es)),Cn.join("")}}function Cr(Kn,ba){return function(Pa){var sr,_o,Cn=md(1900,void 0,1);if(kr(Cn,Kn,Pa+="",0)!=Pa.length)return null;if("Q"in Cn)return new Date(Cn.Q);if("s"in Cn)return new Date(1e3*Cn.s+("L"in Cn?Cn.L:0));if(ba&&!("Z"in Cn)&&(Cn.Z=0),"p"in Cn&&(Cn.H=Cn.H%12+12*Cn.p),void 0===Cn.m&&(Cn.m="q"in Cn?Cn.q:0),"V"in Cn){if(Cn.V<1||Cn.V>53)return null;"w"in Cn||(Cn.w=1),"Z"in Cn?(_o=(sr=Ao(md(Cn.y,0,1))).getUTCDay(),sr=_o>4||0===_o?Tn.ceil(sr):Tn(sr),sr=Nl.offset(sr,7*(Cn.V-1)),Cn.y=sr.getUTCFullYear(),Cn.m=sr.getUTCMonth(),Cn.d=sr.getUTCDate()+(Cn.w+6)%7):(_o=(sr=J1(md(Cn.y,0,1))).getDay(),sr=_o>4||0===_o?qd.ceil(sr):qd(sr),sr=Zl.offset(sr,7*(Cn.V-1)),Cn.y=sr.getFullYear(),Cn.m=sr.getMonth(),Cn.d=sr.getDate()+(Cn.w+6)%7)}else("W"in Cn||"U"in Cn)&&("w"in Cn||(Cn.w="u"in Cn?Cn.u%7:"W"in Cn?1:0),_o="Z"in Cn?Ao(md(Cn.y,0,1)).getUTCDay():J1(md(Cn.y,0,1)).getDay(),Cn.m=0,Cn.d="W"in Cn?(Cn.w+6)%7+7*Cn.W-(_o+5)%7:Cn.w+7*Cn.U-(_o+6)%7);return"Z"in Cn?(Cn.H+=Cn.Z/100|0,Cn.M+=Cn.Z%100,Ao(Cn)):J1(Cn)}}function kr(Kn,ba,Pa,Cn){for(var hr,fa,es=0,sr=ba.length,_o=Pa.length;es<sr;){if(Cn>=_o)return-1;if(37===(hr=ba.charCodeAt(es++))){if(hr=ba.charAt(es++),!(fa=Ia[hr in Lr?ba.charAt(es++):hr])||(Cn=fa(Kn,Pa,Cn))<0)return-1}else if(hr!=Pa.charCodeAt(Cn++))return-1}return Cn}return Xn.x=Gn(E,Xn),Xn.X=Gn(y,Xn),Xn.c=Gn(O,Xn),la.x=Gn(E,la),la.X=Gn(y,la),la.c=Gn(O,la),{format:function(Kn){var ba=Gn(Kn+="",Xn);return ba.toString=function(){return Kn},ba},parse:function(Kn){var ba=Cr(Kn+="",!1);return ba.toString=function(){return Kn},ba},utcFormat:function(Kn){var ba=Gn(Kn+="",la);return ba.toString=function(){return Kn},ba},utcParse:function(Kn){var ba=Cr(Kn+="",!0);return ba.toString=function(){return Kn},ba}}})(v)}({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 W2=Ja(rl).right,u0=(Ja(G2),W2);function sh(v,O){return v=+v,O=+O,function(E){return Math.round(v*(1-E)+O*E)}}function u1(v){return+v}var h1=[0,1];function wc(v){return v}function ic(v,O){return(O-=v=+v)?function(E){return(E-v)/O}:function h0(v){return function(){return v}}(isNaN(O)?NaN:.5)}function oh(v,O,E){var y=v[0],N=v[1],V=O[0],de=O[1];return N<y?(y=ic(N,y),V=E(de,V)):(y=ic(y,N),V=E(V,de)),function(Ge){return V(y(Ge))}}function X2(v,O,E){var y=Math.min(v.length,O.length)-1,N=new Array(y),V=new Array(y),de=-1;for(v[y]<v[0]&&(v=v.slice().reverse(),O=O.slice().reverse());++de<y;)N[de]=ic(v[de],v[de+1]),V[de]=E(O[de],O[de+1]);return function(Ge){var Pt=u0(v,Ge,1,y)-1;return V[Pt](N[Pt](Ge))}}function Zc(){return function m1(){var y,N,V,Ge,Pt,Xt,v=h1,O=h1,E=Sn,de=wc;function hi(){var Oi=Math.min(v.length,O.length);return de!==wc&&(de=function f1(v,O){var E;return v>O&&(E=v,v=O,O=E),function(y){return Math.max(v,Math.min(O,y))}}(v[0],v[Oi-1])),Ge=Oi>2?X2:oh,Pt=Xt=null,Si}function Si(Oi){return null==Oi||isNaN(Oi=+Oi)?V:(Pt||(Pt=Ge(v.map(y),O,E)))(y(de(Oi)))}return Si.invert=function(Oi){return de(N((Xt||(Xt=Ge(O,v.map(y),Jn)))(Oi)))},Si.domain=function(Oi){return arguments.length?(v=Array.from(Oi,u1),hi()):v.slice()},Si.range=function(Oi){return arguments.length?(O=Array.from(Oi),hi()):O.slice()},Si.rangeRound=function(Oi){return O=Array.from(Oi),E=sh,hi()},Si.clamp=function(Oi){return arguments.length?(de=!!Oi||wc,hi()):de!==wc},Si.interpolate=function(Oi){return arguments.length?(E=Oi,hi()):E},Si.unknown=function(Oi){return arguments.length?(V=Oi,Si):V},function(Oi,sn){return y=Oi,N=sn,hi()}}()(wc,wc)}function nc(v,O){switch(arguments.length){case 0:break;case 1:this.range(v);break;default:this.range(O).domain(v)}return this}var sc,m0=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Sc(v){if(!(O=m0.exec(v)))throw new Error("invalid format: "+v);var O;return new Tc({fill:O[1],align:O[2],sign:O[3],symbol:O[4],zero:O[5],width:O[6],comma:O[7],precision:O[8]&&O[8].slice(1),trim:O[9],type:O[10]})}function Tc(v){this.fill=void 0===v.fill?" ":v.fill+"",this.align=void 0===v.align?">":v.align+"",this.sign=void 0===v.sign?"-":v.sign+"",this.symbol=void 0===v.symbol?"":v.symbol+"",this.zero=!!v.zero,this.width=void 0===v.width?void 0:+v.width,this.comma=!!v.comma,this.precision=void 0===v.precision?void 0:+v.precision,this.trim=!!v.trim,this.type=void 0===v.type?"":v.type+""}function Cd(v,O){if(!isFinite(v)||0===v)return null;var E=(v=O?v.toExponential(O-1):v.toExponential()).indexOf("e"),y=v.slice(0,E);return[y.length>1?y[0]+y.slice(2):y,+v.slice(E+1)]}function ac(v){return(v=Cd(Math.abs(v)))?v[1]:NaN}function g0(v,O){var E=Cd(v,O);if(!E)return v+"";var y=E[0],N=E[1];return N<0?"0."+new Array(-N).join("0")+y:y.length>N+1?y.slice(0,N+1)+"."+y.slice(N+1):y+new Array(N-y.length+2).join("0")}Sc.prototype=Tc.prototype,Tc.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 g1={"%":(v,O)=>(100*v).toFixed(O),b:v=>Math.round(v).toString(2),c:v=>v+"",d:function p1(v){return Math.abs(v=Math.round(v))>=1e21?v.toLocaleString("en").replace(/,/g,""):v.toString(10)},e:(v,O)=>v.toExponential(O),f:(v,O)=>v.toFixed(O),g:(v,O)=>v.toPrecision(O),o:v=>Math.round(v).toString(8),p:(v,O)=>g0(100*v,O),r:g0,s:function hh(v,O){var E=Cd(v,O);if(!E)return sc=void 0,v.toPrecision(O);var y=E[0],N=E[1],V=N-(sc=3*Math.max(-8,Math.min(8,Math.floor(N/3))))+1,de=y.length;return V===de?y:V>de?y+new Array(V-de+1).join("0"):V>0?y.slice(0,V)+"."+y.slice(V):"0."+new Array(1-V).join("0")+Cd(v,Math.max(0,O+V-1))[0]},X:v=>Math.round(v).toString(16).toUpperCase(),x:v=>Math.round(v).toString(16)};function Q2(v){return v}var Dc,$2,v0,_0=Array.prototype.map,Jc=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function b0(v){var O=v.domain;return v.ticks=function(E){var y=O();return function Dr(v,O,E){if(!((E=+E)>0))return[];if((v=+v)===(O=+O))return[v];const y=O<v,[N,V,de]=y?bn(O,v,E):bn(v,O,E);if(!(V>=N))return[];const Ge=V-N+1,Pt=new Array(Ge);if(y)if(de<0)for(let Xt=0;Xt<Ge;++Xt)Pt[Xt]=(V-Xt)/-de;else for(let Xt=0;Xt<Ge;++Xt)Pt[Xt]=(V-Xt)*de;else if(de<0)for(let Xt=0;Xt<Ge;++Xt)Pt[Xt]=(N+Xt)/-de;else for(let Xt=0;Xt<Ge;++Xt)Pt[Xt]=(N+Xt)*de;return Pt}(y[0],y[y.length-1],E??10)},v.tickFormat=function(E,y){var N=O();return function y0(v,O,E,y){var V,N=_c(v,O,E);switch((y=Sc(y??",f")).type){case"s":var de=Math.max(Math.abs(v),Math.abs(O));return null==y.precision&&!isNaN(V=function rc(v,O){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ac(O)/3)))-ac(Math.abs(v)))}(N,de))&&(y.precision=V),v0(y,de);case"":case"e":case"g":case"p":case"r":null==y.precision&&!isNaN(V=function _1(v,O){return v=Math.abs(v),O=Math.abs(O)-v,Math.max(0,ac(O)-ac(v))+1}(N,Math.max(Math.abs(v),Math.abs(O))))&&(y.precision=V-("e"===y.type));break;case"f":case"%":null==y.precision&&!isNaN(V=function fh(v){return Math.max(0,-ac(Math.abs(v)))}(N))&&(y.precision=V-2*("%"===y.type))}return $2(y)}(N[0],N[N.length-1],E??10,y)},v.nice=function(E){null==E&&(E=10);var Pt,Xt,y=O(),N=0,V=y.length-1,de=y[N],Ge=y[V],hi=10;for(Ge<de&&(Xt=de,de=Ge,Ge=Xt,Xt=N,N=V,V=Xt);hi-- >0;){if((Xt=$l(de,Ge,E))===Pt)return y[N]=de,y[V]=Ge,O(y);if(Xt>0)de=Math.floor(de/Xt)*Xt,Ge=Math.ceil(Ge/Xt)*Xt;else{if(!(Xt<0))break;de=Math.ceil(de*Xt)/Xt,Ge=Math.floor(Ge*Xt)/Xt}Pt=Xt}return v},v}function oc(){var v=Zc();return v.copy=function(){return function K2(v,O){return O.domain(v.domain()).range(v.range()).interpolate(v.interpolate()).clamp(v.clamp()).unknown(v.unknown())}(v,oc())},nc.apply(v,arguments),b0(v)}function v1(v,O,E){v=+v,O=+O,E=(N=arguments.length)<2?(O=v,v=0,1):N<3?1:+E;for(var y=-1,N=0|Math.max(0,Math.ceil((O-v)/E)),V=new Array(N);++y<N;)V[y]=v+y*E;return V}!function Z2(v){Dc=function qc(v){var O=void 0===v.grouping||void 0===v.thousands?Q2:function Y2(v,O){return function(E,y){for(var N=E.length,V=[],de=0,Ge=v[0],Pt=0;N>0&&Ge>0&&(Pt+Ge+1>y&&(Ge=Math.max(1,y-Pt)),V.push(E.substring(N-=Ge,N+Ge)),!((Pt+=Ge+1)>y));)Ge=v[de=(de+1)%v.length];return V.reverse().join(O)}}(_0.call(v.grouping,Number),v.thousands+""),E=void 0===v.currency?"":v.currency[0]+"",y=void 0===v.currency?"":v.currency[1]+"",N=void 0===v.decimal?".":v.decimal+"",V=void 0===v.numerals?Q2:function Md(v){return function(O){return O.replace(/[0-9]/g,function(E){return v[+E]})}}(_0.call(v.numerals,String)),de=void 0===v.percent?"%":v.percent+"",Ge=void 0===v.minus?"\u2212":v.minus+"",Pt=void 0===v.nan?"NaN":v.nan+"";function Xt(Si,Oi){var sn=(Si=Sc(Si)).fill,on=Si.align,Wn=Si.sign,Wi=Si.symbol,Ln=Si.zero,sa=Si.width,Xn=Si.comma,la=Si.precision,Ia=Si.trim,Gn=Si.type;"n"===Gn?(Xn=!0,Gn="g"):g1[Gn]||(void 0===la&&(la=12),Ia=!0,Gn="g"),(Ln||"0"===sn&&"="===on)&&(Ln=!0,sn="0",on="=");var Cr=(Oi&&void 0!==Oi.prefix?Oi.prefix:"")+("$"===Wi?E:"#"===Wi&&/[boxX]/.test(Gn)?"0"+Gn.toLowerCase():""),kr=("$"===Wi?y:/[%p]/.test(Gn)?de:"")+(Oi&&void 0!==Oi.suffix?Oi.suffix:""),to=g1[Gn],Gr=/[defgprs%]/.test(Gn);function as(_a){var Us,rs,Nr,Mr=Cr,Ya=kr;if("c"===Gn)Ya=to(_a)+Ya,_a="";else{var Vs=(_a=+_a)<0||1/_a<0;if(_a=isNaN(_a)?Pt:to(Math.abs(_a),la),Ia&&(_a=function p0(v){e:for(var N,O=v.length,E=1,y=-1;E<O;++E)switch(v[E]){case".":y=N=E;break;case"0":0===y&&(y=E),N=E;break;default:if(!+v[E])break e;y>0&&(y=0)}return y>0?v.slice(0,y)+v.slice(N+1):v}(_a)),Vs&&0==+_a&&"+"!==Wn&&(Vs=!1),Mr=(Vs?"("===Wn?Wn:Ge:"-"===Wn||"("===Wn?"":Wn)+Mr,Ya=("s"!==Gn||isNaN(_a)||void 0===sc?"":Jc[8+sc/3])+Ya+(Vs&&"("===Wn?")":""),Gr)for(Us=-1,rs=_a.length;++Us<rs;)if(48>(Nr=_a.charCodeAt(Us))||Nr>57){Ya=(46===Nr?N+_a.slice(Us+1):_a.slice(Us))+Ya,_a=_a.slice(0,Us);break}}Xn&&!Ln&&(_a=O(_a,1/0));var jr=Mr.length+_a.length+Ya.length,rr=jr<sa?new Array(sa-jr+1).join(sn):"";switch(Xn&&Ln&&(_a=O(rr+_a,rr.length?sa-Ya.length:1/0),rr=""),on){case"<":_a=Mr+_a+Ya+rr;break;case"=":_a=Mr+rr+_a+Ya;break;case"^":_a=rr.slice(0,jr=rr.length>>1)+Mr+_a+Ya+rr.slice(jr);break;default:_a=rr+Mr+_a+Ya}return V(_a)}return la=void 0===la?6:/[gprs]/.test(Gn)?Math.max(1,Math.min(21,la)):Math.max(0,Math.min(20,la)),as.toString=function(){return Si+""},as}return{format:Xt,formatPrefix:function hi(Si,Oi){var sn=3*Math.max(-8,Math.min(8,Math.floor(ac(Oi)/3))),on=Math.pow(10,-sn),Wn=Xt(((Si=Sc(Si)).type="f",Si),{suffix:Jc[8+sn/3]});return function(Wi){return Wn(on*Wi)}}}}(v),$2=Dc.format,v0=Dc.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});class mh extends Map{constructor(O,E=x0){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:E}}),null!=O)for(const[y,N]of O)this.set(y,N)}get(O){return super.get(Ac(this,O))}has(O){return super.has(Ac(this,O))}set(O,E){return super.set(function J2({_intern:v,_key:O},E){const y=O(E);return v.has(y)?v.get(y):(v.set(y,E),E)}(this,O),E)}delete(O){return super.delete(function y1({_intern:v,_key:O},E){const y=O(E);return v.has(y)&&(E=v.get(y),v.delete(y)),E}(this,O))}}function Ac({_intern:v,_key:O},E){const y=O(E);return v.has(y)?v.get(y):E}function x0(v){return null!==v&&"object"==typeof v?v.valueOf():v}Set;const Ed=Symbol("implicit");function C0(){var v=new mh,O=[],E=[],y=Ed;function N(V){let de=v.get(V);if(void 0===de){if(y!==Ed)return y;v.set(V,de=O.push(V)-1)}return E[de%E.length]}return N.domain=function(V){if(!arguments.length)return O.slice();O=[],v=new mh;for(const de of V)v.has(de)||v.set(de,O.push(de)-1);return N},N.range=function(V){return arguments.length?(E=Array.from(V),N):E.slice()},N.unknown=function(V){return arguments.length?(y=V,N):y},N.copy=function(){return C0(O,E).unknown(y)},nc.apply(N,arguments),N}function Ul(){var V,de,v=C0().unknown(void 0),O=v.domain,E=v.range,y=0,N=1,Ge=!1,Pt=0,Xt=0,hi=.5;function Si(){var Oi=O().length,sn=N<y,on=sn?N:y,Wn=sn?y:N;V=(Wn-on)/Math.max(1,Oi-Pt+2*Xt),Ge&&(V=Math.floor(V)),on+=(Wn-on-V*(Oi-Pt))*hi,de=V*(1-Pt),Ge&&(on=Math.round(on),de=Math.round(de));var Wi=v1(Oi).map(function(Ln){return on+V*Ln});return E(sn?Wi.reverse():Wi)}return delete v.unknown,v.domain=function(Oi){return arguments.length?(O(Oi),Si()):O()},v.range=function(Oi){return arguments.length?([y,N]=Oi,y=+y,N=+N,Si()):[y,N]},v.rangeRound=function(Oi){return[y,N]=Oi,y=+y,N=+N,Ge=!0,Si()},v.bandwidth=function(){return de},v.step=function(){return V},v.round=function(Oi){return arguments.length?(Ge=!!Oi,Si()):Ge},v.padding=function(Oi){return arguments.length?(Pt=Math.min(1,Xt=+Oi),Si()):Pt},v.paddingInner=function(Oi){return arguments.length?(Pt=Math.min(1,Oi),Si()):Pt},v.paddingOuter=function(Oi){return arguments.length?(Xt=+Oi,Si()):Xt},v.align=function(Oi){return arguments.length?(hi=Math.max(0,Math.min(1,Oi)),Si()):hi},v.copy=function(){return Ul(O(),[y,N]).round(Ge).paddingInner(Pt).paddingOuter(Xt).align(hi)},nc.apply(Si(),arguments)}function M0(v,O,E=G2){if((y=v.length)&&!isNaN(O=+O)){if(O<=0||y<2)return+E(v[0],0,v);if(O>=1)return+E(v[y-1],y-1,v);var y,N=(y-1)*O,V=Math.floor(N),de=+E(v[V],V,v);return de+(+E(v[V+1],V+1,v)-de)*(N-V)}}function eu(){var y,v=[],O=[],E=[];function N(){var de=0,Ge=Math.max(1,O.length);for(E=new Array(Ge-1);++de<Ge;)E[de-1]=M0(v,de/Ge);return V}function V(de){return null==de||isNaN(de=+de)?y:O[u0(E,de)]}return V.invertExtent=function(de){var Ge=O.indexOf(de);return Ge<0?[NaN,NaN]:[Ge>0?E[Ge-1]:v[0],Ge<E.length?E[Ge]:v[v.length-1]]},V.domain=function(de){if(!arguments.length)return v.slice();v=[];for(let Ge of de)null!=Ge&&!isNaN(Ge=+Ge)&&v.push(Ge);return v.sort(rl),N()},V.range=function(de){return arguments.length?(O=Array.from(de),N()):O.slice()},V.unknown=function(de){return arguments.length?(y=de,V):y},V.quantiles=function(){return E.slice()},V.copy=function(){return eu().domain(v).range(O).unknown(y)},nc.apply(V,arguments)}const ph=["caretElm"],gh=v=>({model:v});function x1(v,O){}function _h(v,O){if(1&v&&(i.j41(0,"span"),i.DNE(1,x1,0,0,"ng-template",5),i.k0s()),2&v){const E=i.XpG();i.R7$(),i.Y8G("ngTemplateOutlet",E.template)("ngTemplateOutletContext",i.eq3(2,gh,E.context))}}function td(v,O){if(1&v&&i.nrm(0,"span",6),2&v){const E=i.XpG();i.Y8G("innerHTML",E.title,i.npT)}}function Lc(v,O){if(1&v&&(i.j41(0,"header",4)(1,"span",5),i.EFF(2),i.k0s()()),2&v){const E=i.XpG();i.R7$(2),i.JRh(E.title)}}function vh(v,O){if(1&v){const E=i.RV6();i.j41(0,"li",6)(1,"ngx-charts-legend-entry",7),i.bIt("select",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.labelClick.emit(N))})("activate",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.activate(N))})("deactivate",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.deactivate(N))}),i.k0s()()}if(2&v){const E=O.$implicit,y=i.XpG();i.R7$(),i.Y8G("label",E.label)("formattedLabel",E.formattedLabel)("color",E.color)("isActive",y.isActive(E))}}const yh=["*"];function wd(v,O){if(1&v&&i.nrm(0,"ngx-charts-scale-legend",4),2&v){const E=i.XpG();i.Y8G("horizontal",E.legendOptions&&E.legendOptions.position===E.LegendPosition.Below)("valueRange",E.legendOptions.domain)("colors",E.legendOptions.colors)("height",E.view[1])("width",E.legendWidth)}}function bh(v,O){if(1&v){const E=i.RV6();i.j41(0,"ngx-charts-legend",5),i.bIt("labelClick",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.legendLabelClick.emit(N))})("labelActivate",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.legendLabelActivate.emit(N))})("labelDeactivate",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.legendLabelDeactivate.emit(N))}),i.k0s()}if(2&v){const E=i.XpG();i.Y8G("horizontal",E.legendOptions&&E.legendOptions.position===E.LegendPosition.Below)("data",E.legendOptions.domain)("title",E.legendOptions.title)("colors",E.legendOptions.colors)("height",E.view[1])("width",E.legendWidth)("activeEntries",E.activeEntries)}}const tu=["ngx-charts-axis-label",""],C1=["ticksel"],xh=["ngx-charts-x-axis-ticks",""];function Ch(v,O){1&v&&(t.qSk(),i.eu8(0))}function Mh(v,O){if(1&v&&(t.qSk(),i.j41(0,"tspan",12),i.EFF(1),i.k0s()),2&v){const E=O.$implicit;i.BMQ("y",12*O.index),i.R7$(),i.SpI(" ",E," ")}}function Eh(v,O){if(1&v&&(t.qSk(),i.qex(0),i.DNE(1,Mh,2,2,"tspan",11),i.bVm()),2&v){const E=O.ngIf;i.R7$(),i.Y8G("ngForOf",E)}}function wh(v,O){if(1&v&&i.DNE(0,Eh,2,1,"ng-container",8),2&v){const E=i.XpG(2).$implicit,y=i.XpG();i.Y8G("ngIf",y.tickChunks(E))}}function Sh(v,O){if(1&v&&i.EFF(0),2&v){const E=i.XpG().ngIf,y=i.XpG(2);i.SpI(" ",y.tickTrim(E)," ")}}function E0(v,O){if(1&v&&(t.qSk(),i.qex(0),i.j41(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",9),i.DNE(4,Ch,1,0,"ng-container",10),i.k0s(),i.DNE(5,wh,1,1,"ng-template",null,1,i.C5r)(7,Sh,1,1,"ng-template",null,2,i.C5r),i.bVm()),2&v){const E=O.ngIf,y=i.sdS(6),N=i.sdS(8),V=i.XpG(2);i.R7$(2),i.JRh(E),i.R7$(),i.BMQ("text-anchor",V.textAnchor)("transform",V.textTransform),i.R7$(),i.Y8G("ngIf",V.isWrapTicksSupported)("ngIfThen",y)("ngIfElse",N)}}function b4(v,O){if(1&v&&(t.qSk(),i.j41(0,"g",7),i.DNE(1,E0,9,6,"ng-container",8),i.k0s()),2&v){const E=O.$implicit,y=i.XpG();i.BMQ("transform",y.tickTransform(E)),i.R7$(),i.Y8G("ngIf",y.tickFormat(E))}}function w0(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.nrm(1,"line",13),i.k0s()),2&v){const E=i.XpG(2);i.BMQ("transform",E.gridLineTransform()),i.R7$(),i.BMQ("y1",-E.gridLineHeight)}}function iu(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.DNE(1,w0,2,2,"g",8),i.k0s()),2&v){const E=O.$implicit,y=i.XpG();i.BMQ("transform",y.tickTransform(E)),i.R7$(),i.Y8G("ngIf",y.showGridLines)}}function M1(v,O){if(1&v&&(t.qSk(),i.nrm(0,"path",14)),2&v){const E=i.XpG();i.BMQ("d",E.referenceAreaPath)("transform",E.gridLineTransform())}}function Th(v,O){if(1&v&&(t.qSk(),i.j41(0,"g")(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",17),i.EFF(4),i.k0s()()),2&v){const E=i.XpG(2).$implicit,y=i.XpG();i.R7$(2),i.JRh(y.tickTrim(y.tickFormat(E.value))),i.R7$(2),i.SpI(" ",E.name," ")}}function Dh(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.nrm(1,"line",16),i.DNE(2,Th,5,2,"g",8),i.k0s()),2&v){const E=i.XpG().$implicit,y=i.XpG();i.BMQ("transform",y.transform(E.value)),i.R7$(),i.BMQ("y2",25+y.gridLineHeight)("transform",y.gridLineTransform()),i.R7$(),i.Y8G("ngIf",y.showRefLabels)}}function nu(v,O){if(1&v&&(t.qSk(),i.j41(0,"g",15),i.DNE(1,Dh,3,4,"g",8),i.k0s()),2&v){const E=i.XpG();i.R7$(),i.Y8G("ngIf",E.showRefLines)}}const au=["ngx-charts-x-axis",""];function Ah(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",2),i.bIt("dimensionsChanged",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.emitTicksHeight(N))}),i.k0s()}if(2&v){const E=i.XpG();i.Y8G("trimTicks",E.trimTicks)("rotateTicks",E.rotateTicks)("maxTickLength",E.maxTickLength)("tickFormatting",E.tickFormatting)("tickArguments",E.tickArguments)("tickStroke",E.tickStroke)("scale",E.xScale)("orient",E.xOrient)("showGridLines",E.showGridLines)("gridLineHeight",E.dims.height)("referenceLines",E.referenceLines)("showRefLines",E.showRefLines)("showRefLabels",E.showRefLabels)("width",E.dims.width)("tickValues",E.ticks)("wrapTicks",E.wrapTicks)}}function Lh(v,O){if(1&v&&(t.qSk(),i.nrm(0,"g",3)),2&v){const E=i.XpG();i.Y8G("label",E.labelText)("offset",E.labelOffset)("orient",E.orientation.Bottom)("height",E.dims.height)("width",E.dims.width)}}const S0=["ngx-charts-y-axis-ticks",""];function T0(v,O){1&v&&(t.qSk(),i.eu8(0))}function ru(v,O){if(1&v&&(t.qSk(),i.j41(0,"tspan",13),i.EFF(1),i.k0s()),2&v){const E=O.$implicit,y=O.index,N=i.XpG(6);i.BMQ("y",y*(8+N.tickSpacing)),i.R7$(),i.SpI(" ",E," ")}}function Ic(v,O){if(1&v&&(t.qSk(),i.qex(0),i.DNE(1,ru,2,2,"tspan",12),i.bVm()),2&v){const E=i.XpG().ngIf;i.R7$(),i.Y8G("ngForOf",E)}}function kc(v,O){if(1&v&&(t.qSk(),i.qex(0),i.DNE(1,Ic,2,1,"ng-container",11),i.bVm()),2&v){const E=O.ngIf;i.XpG(2);const y=i.sdS(8);i.R7$(),i.Y8G("ngIf",E.length>1)("ngIfElse",y)}}function su(v,O){if(1&v&&i.DNE(0,kc,2,2,"ng-container",8),2&v){const E=i.XpG(2).$implicit,y=i.XpG();i.Y8G("ngIf",y.tickChunks(E))}}function D0(v,O){if(1&v&&i.EFF(0),2&v){const E=i.XpG().ngIf,y=i.XpG(2);i.SpI(" ",y.tickTrim(E)," ")}}function id(v,O){if(1&v&&(t.qSk(),i.qex(0),i.j41(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",9),i.DNE(4,T0,1,0,"ng-container",10),i.k0s(),i.DNE(5,su,1,1,"ng-template",null,1,i.C5r)(7,D0,1,1,"ng-template",null,2,i.C5r),i.bVm()),2&v){const E=O.ngIf,y=i.sdS(6),N=i.sdS(8),V=i.XpG(2);i.R7$(2),i.JRh(E),i.R7$(),i.xc7("font-size","12px"),i.BMQ("dy",V.dy)("x",V.x1)("y",V.y1)("text-anchor",V.textAnchor),i.R7$(),i.Y8G("ngIf",V.wrapTicks)("ngIfThen",y)("ngIfElse",N)}}function A0(v,O){if(1&v&&(t.qSk(),i.j41(0,"g",7),i.DNE(1,id,9,10,"ng-container",8),i.k0s()),2&v){const E=O.$implicit,y=i.XpG();i.BMQ("transform",y.transform(E)),i.R7$(),i.Y8G("ngIf",y.tickFormat(E))}}function Sd(v,O){if(1&v&&(t.qSk(),i.nrm(0,"path",14)),2&v){const E=i.XpG();i.BMQ("d",E.referenceAreaPath)("transform",E.gridLineTransform())}}function Ih(v,O){if(1&v&&(t.qSk(),i.nrm(0,"line",16)),2&v){const E=i.XpG(3);i.BMQ("x2",E.gridLineWidth)}}function L0(v,O){if(1&v&&(t.qSk(),i.nrm(0,"line",16)),2&v){const E=i.XpG(3);i.BMQ("x2",-E.gridLineWidth)}}function Td(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.DNE(1,Ih,1,1,"line",15)(2,L0,1,1,"line",15),i.k0s()),2&v){const E=i.XpG(2);i.BMQ("transform",E.gridLineTransform()),i.R7$(),i.Y8G("ngIf",E.orient===E.Orientation.Left),i.R7$(),i.Y8G("ngIf",E.orient===E.Orientation.Right)}}function x4(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.DNE(1,Td,3,3,"g",8),i.k0s()),2&v){const E=O.$implicit,y=i.XpG();i.BMQ("transform",y.transform(E)),i.R7$(),i.Y8G("ngIf",y.showGridLines)}}function C4(v,O){if(1&v&&(t.qSk(),i.j41(0,"g")(1,"title"),i.EFF(2),i.k0s(),i.j41(3,"text",19),i.EFF(4),i.k0s()()),2&v){const E=i.XpG(2).$implicit,y=i.XpG();i.R7$(2),i.JRh(y.tickTrim(y.tickFormat(E.value))),i.R7$(),i.BMQ("dy",y.dy)("y",-6)("x",y.gridLineWidth)("text-anchor",y.textAnchor),i.R7$(),i.SpI(" ",E.name," ")}}function Dd(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.nrm(1,"line",18),i.DNE(2,C4,5,6,"g",8),i.k0s()),2&v){const E=i.XpG().$implicit,y=i.XpG();i.BMQ("transform",y.transform(E.value)),i.R7$(),i.BMQ("x2",y.gridLineWidth),i.R7$(),i.Y8G("ngIf",y.showRefLabels)}}function kh(v,O){if(1&v&&(t.qSk(),i.j41(0,"g",17),i.DNE(1,Dd,3,3,"g",8),i.k0s()),2&v){const E=i.XpG();i.R7$(),i.Y8G("ngIf",E.showRefLines)}}const Ad=["ngx-charts-y-axis",""];function I0(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",2),i.bIt("dimensionsChanged",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.emitTicksWidth(N))}),i.k0s()}if(2&v){const E=i.XpG();i.Y8G("trimTicks",E.trimTicks)("maxTickLength",E.maxTickLength)("tickFormatting",E.tickFormatting)("tickArguments",E.tickArguments)("tickValues",E.ticks)("tickStroke",E.tickStroke)("scale",E.yScale)("orient",E.yOrient)("showGridLines",E.showGridLines)("gridLineWidth",E.dims.width)("referenceLines",E.referenceLines)("showRefLines",E.showRefLines)("showRefLabels",E.showRefLabels)("height",E.dims.height)("wrapTicks",E.wrapTicks)}}function ou(v,O){if(1&v&&(t.qSk(),i.nrm(0,"g",3)),2&v){const E=i.XpG();i.Y8G("label",E.labelText)("offset",E.labelOffset)("orient",E.yOrient)("height",E.dims.height)("width",E.dims.width)}}const Rh=["ngx-charts-svg-linear-gradient",""];function Oh(v,O){if(1&v&&(t.qSk(),i.nrm(0,"stop")),2&v){const E=O.$implicit;i.xc7("stop-color",E.color)("stop-opacity",E.opacity),i.BMQ("offset",E.offset+"%")}}const zh=["ngx-charts-grid-panel",""],Uh=["ngx-charts-grid-panel-series",""];function k0(v,O){if(1&v&&(t.qSk(),i.nrm(0,"g",1)),2&v){const E=O.$implicit;i.AVh("grid-panel",!0)("odd","odd"===E.class)("even","even"===E.class),i.Y8G("height",E.height)("width",E.width)("x",E.x)("y",E.y)}}const Wh=["tooltipTemplate"],Rd=(v,O)=>[v,O],pu=".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",D1=["ngx-charts-bar",""];function A4(v,O){if(1&v&&(t.qSk(),i.j41(0,"defs"),i.nrm(1,"g",2),i.k0s()),2&v){const E=i.XpG();i.R7$(),i.Y8G("orientation",E.orientation)("name",E.gradientId)("stops",E.gradientStops)}}const $h=["ngx-charts-bar-label",""],Cu=["ngx-charts-series-vertical",""];function z4(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",2),i.bIt("select",function(N){t.eBV(E);const V=i.XpG(2);return t.Njj(V.onClick(N))})("activate",function(N){t.eBV(E);const V=i.XpG(2);return t.Njj(V.activate.emit(N))})("deactivate",function(N){t.eBV(E);const V=i.XpG(2);return t.Njj(V.deactivate.emit(N))}),i.k0s()}if(2&v){const E=O.$implicit,y=i.XpG(2);i.Y8G("@animationState","active")("@.disabled",!y.animations)("width",E.width)("height",E.height)("x",E.x)("y",E.y)("fill",E.color)("stops",E.gradientStops)("data",E.data)("orientation",y.barOrientation.Vertical)("roundEdges",E.roundEdges)("gradient",y.gradient)("ariaLabel",E.ariaLabel)("isActive",y.isActive(E.data))("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.tooltipPlacement)("tooltipType",y.tooltipType)("tooltipTitle",y.tooltipTemplate?void 0:E.tooltipText)("tooltipTemplate",y.tooltipTemplate)("tooltipContext",E.data)("noBarWhenZero",y.noBarWhenZero)("animations",y.animations)}}function Io(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.DNE(1,z4,1,22,"g",1),i.k0s()),2&v){const E=i.XpG();i.R7$(),i.Y8G("ngForOf",E.bars)("ngForTrackBy",E.trackBy)}}function z0(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",2),i.bIt("select",function(N){t.eBV(E);const V=i.XpG(2);return t.Njj(V.onClick(N))})("activate",function(N){t.eBV(E);const V=i.XpG(2);return t.Njj(V.activate.emit(N))})("deactivate",function(N){t.eBV(E);const V=i.XpG(2);return t.Njj(V.deactivate.emit(N))}),i.k0s()}if(2&v){const E=O.$implicit,y=i.XpG(2);i.Y8G("width",E.width)("height",E.height)("x",E.x)("y",E.y)("fill",E.color)("stops",E.gradientStops)("data",E.data)("orientation",y.barOrientation.Vertical)("roundEdges",E.roundEdges)("gradient",y.gradient)("ariaLabel",E.ariaLabel)("isActive",y.isActive(E.data))("tooltipDisabled",y.tooltipDisabled)("tooltipPlacement",y.tooltipPlacement)("tooltipType",y.tooltipType)("tooltipTitle",y.tooltipTemplate?void 0:E.tooltipText)("tooltipTemplate",y.tooltipTemplate)("tooltipContext",E.data)("noBarWhenZero",y.noBarWhenZero)("animations",y.animations)}}function ef(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.DNE(1,z0,1,20,"g",1),i.k0s()),2&v){const E=i.XpG();i.R7$(),i.Y8G("ngForOf",E.bars)("ngForTrackBy",E.trackBy)}}function tf(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",4),i.bIt("dimensionsChanged",function(N){const V=t.eBV(E).index,de=i.XpG(2);return t.Njj(de.dataLabelHeightChanged.emit({size:N,index:V}))}),i.k0s()}if(2&v){const E=O.$implicit,y=i.XpG(2);i.Y8G("barX",E.x)("barY",E.y)("barWidth",E.width)("barHeight",E.height)("value",E.total)("valueFormatting",y.dataLabelFormatting)("orientation",y.barOrientation.Vertical)}}function nf(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.DNE(1,tf,1,7,"g",3),i.k0s()),2&v){const E=i.XpG();i.R7$(),i.Y8G("ngForOf",E.barsForDataLabels)("ngForTrackBy",E.trackDataLabelBy)}}function af(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",5),i.bIt("dimensionsChanged",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.updateXAxisHeight(N))}),i.k0s()}if(2&v){const E=i.XpG();i.Y8G("xScale",E.xScale)("dims",E.dims)("showGridLines",E.showGridLines)("showLabel",E.showXAxisLabel)("labelText",E.xAxisLabel)("trimTicks",E.trimXAxisTicks)("rotateTicks",E.rotateXAxisTicks)("maxTickLength",E.maxXAxisTickLength)("tickFormatting",E.xAxisTickFormatting)("ticks",E.xAxisTicks)("xAxisOffset",E.dataLabelMaxHeight.negative)("wrapTicks",E.wrapTicks)}}function rf(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",6),i.bIt("dimensionsChanged",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.updateYAxisWidth(N))}),i.k0s()}if(2&v){const E=i.XpG();i.Y8G("yScale",E.yScale)("dims",E.dims)("showGridLines",E.showGridLines)("showLabel",E.showYAxisLabel)("labelText",E.yAxisLabel)("trimTicks",E.trimYAxisTicks)("maxTickLength",E.maxYAxisTickLength)("tickFormatting",E.yAxisTickFormatting)("ticks",E.yAxisTicks)("referenceLines",E.referenceLines)("showRefLines",E.showRefLines)("showRefLabels",E.showRefLabels)("wrapTicks",E.wrapTicks)}}function Od(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",6),i.bIt("dimensionsChanged",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.updateXAxisHeight(N))}),i.k0s()}if(2&v){const E=i.XpG();i.Y8G("xScale",E.groupScale)("dims",E.dims)("showLabel",E.showXAxisLabel)("labelText",E.xAxisLabel)("trimTicks",E.trimXAxisTicks)("rotateTicks",E.rotateXAxisTicks)("maxTickLength",E.maxXAxisTickLength)("tickFormatting",E.xAxisTickFormatting)("ticks",E.xAxisTicks)("xAxisOffset",E.dataLabelMaxHeight.negative)("wrapTicks",E.wrapTicks)}}function Mu(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",7),i.bIt("dimensionsChanged",function(N){t.eBV(E);const V=i.XpG();return t.Njj(V.updateYAxisWidth(N))}),i.k0s()}if(2&v){const E=i.XpG();i.Y8G("yScale",E.valueScale)("dims",E.dims)("showGridLines",E.showGridLines)("showLabel",E.showYAxisLabel)("labelText",E.yAxisLabel)("trimTicks",E.trimYAxisTicks)("maxTickLength",E.maxYAxisTickLength)("tickFormatting",E.yAxisTickFormatting)("ticks",E.yAxisTicks)("wrapTicks",E.wrapTicks)}}function Eu(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",9),i.bIt("select",function(N){const V=t.eBV(E).$implicit,de=i.XpG(2);return t.Njj(de.onClick(N,V))})("activate",function(N){const V=t.eBV(E).$implicit,de=i.XpG(2);return t.Njj(de.onActivate(N,V))})("deactivate",function(N){const V=t.eBV(E).$implicit,de=i.XpG(2);return t.Njj(de.onDeactivate(N,V))})("dataLabelHeightChanged",function(N){const V=t.eBV(E).index,de=i.XpG(2);return t.Njj(de.onDataLabelMaxHeightChanged(N,V))}),i.k0s()}if(2&v){const E=O.$implicit,y=i.XpG(2);i.Y8G("@animationState","active")("activeEntries",y.activeEntries)("xScale",y.innerScale)("yScale",y.valueScale)("colors",y.colors)("series",E.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("showDataLabel",y.showDataLabel)("dataLabelFormatting",y.dataLabelFormatting)("seriesName",E.name)("roundEdges",y.roundEdges)("animations",y.animations)("noBarWhenZero",y.noBarWhenZero),i.BMQ("transform",y.groupTransform(E))}}function Pd(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.DNE(1,Eu,1,17,"g",8),i.k0s()),2&v){const E=i.XpG();i.R7$(),i.Y8G("ngForOf",E.results)("ngForTrackBy",E.trackBy)}}function L1(v,O){if(1&v){const E=i.RV6();t.qSk(),i.j41(0,"g",9),i.bIt("select",function(N){const V=t.eBV(E).$implicit,de=i.XpG(2);return t.Njj(de.onClick(N,V))})("activate",function(N){const V=t.eBV(E).$implicit,de=i.XpG(2);return t.Njj(de.onActivate(N,V))})("deactivate",function(N){const V=t.eBV(E).$implicit,de=i.XpG(2);return t.Njj(de.onDeactivate(N,V))})("dataLabelHeightChanged",function(N){const V=t.eBV(E).index,de=i.XpG(2);return t.Njj(de.onDataLabelMaxHeightChanged(N,V))}),i.k0s()}if(2&v){const E=O.$implicit,y=i.XpG(2);i.Y8G("activeEntries",y.activeEntries)("xScale",y.innerScale)("yScale",y.valueScale)("colors",y.colors)("series",E.series)("dims",y.dims)("gradient",y.gradient)("tooltipDisabled",y.tooltipDisabled)("tooltipTemplate",y.tooltipTemplate)("showDataLabel",y.showDataLabel)("dataLabelFormatting",y.dataLabelFormatting)("seriesName",E.name)("roundEdges",y.roundEdges)("animations",y.animations)("noBarWhenZero",y.noBarWhenZero),i.BMQ("transform",y.groupTransform(E))}}function sf(v,O){if(1&v&&(t.qSk(),i.j41(0,"g"),i.DNE(1,L1,1,16,"g",8),i.k0s()),2&v){const E=i.XpG();i.R7$(),i.Y8G("ngForOf",E.results)("ngForTrackBy",E.trackBy)}}function Mf(v,O,E){E=E||{};let y,N,V,de=null,Ge=0;function Pt(){Ge=!1===E.leading?0:+new Date,de=null,V=v.apply(y,N)}return function(){const Xt=+new Date;!Ge&&!1===E.leading&&(Ge=Xt);const hi=O-(Xt-Ge);return y=this,N=arguments,hi<=0?(clearTimeout(de),de=null,Ge=Xt,V=v.apply(y,N)):!de&&!1!==E.trailing&&(de=setTimeout(Pt,hi)),V}}function Fu(v,O){return function(y,N,V){return{configurable:!0,enumerable:V.enumerable,get:function(){return Object.defineProperty(this,N,{configurable:!0,enumerable:V.enumerable,value:Mf(V.value,v,O)}),this[N]}}}}var La=function(v){return v.Top="top",v.Bottom="bottom",v.Left="left",v.Right="right",v.Center="center",v}(La||{});function i3(v,O,E){return E===La.Top?v.top-7:E===La.Bottom?v.top+v.height-O.height+7:E===La.Center?v.top+v.height/2-O.height/2:void 0}function Ef(v,O,E){return E===La.Left?v.left-7:E===La.Right?v.left+v.width-O.width+7:E===La.Center?v.left+v.width/2-O.width/2:void 0}class Zo{static calculateVerticalAlignment(O,E,y){let N=i3(O,E,y);return N+E.height>window.innerHeight&&(N=window.innerHeight-E.height),N}static calculateVerticalCaret(O,E,y,N){let V;N===La.Top&&(V=O.height/2-y.height/2+7),N===La.Bottom&&(V=E.height-O.height/2-y.height/2-7),N===La.Center&&(V=E.height/2-y.height/2);const de=i3(O,E,N);return de+E.height>window.innerHeight&&(V+=de+E.height-window.innerHeight),V}static calculateHorizontalAlignment(O,E,y){let N=Ef(O,E,y);return N+E.width>window.innerWidth&&(N=window.innerWidth-E.width),N}static calculateHorizontalCaret(O,E,y,N){let V;N===La.Left&&(V=O.width/2-y.width/2+7),N===La.Right&&(V=E.width-O.width/2-y.width/2-7),N===La.Center&&(V=E.width/2-y.width/2);const de=Ef(O,E,N);return de+E.width>window.innerWidth&&(V+=de+E.width-window.innerWidth),V}static shouldFlip(O,E,y,N){let V=!1;return y===La.Right&&O.left+O.width+E.width+N>window.innerWidth&&(V=!0),y===La.Left&&O.left-E.width-N<0&&(V=!0),y===La.Top&&O.top-E.height-N<0&&(V=!0),y===La.Bottom&&O.top+O.height+E.height+N>window.innerHeight&&(V=!0),V}static positionCaret(O,E,y,N,V){let de=0,Ge=0;return O===La.Right?(Ge=-7,de=Zo.calculateVerticalCaret(y,E,N,V)):O===La.Left?(Ge=E.width,de=Zo.calculateVerticalCaret(y,E,N,V)):O===La.Top?(de=E.height,Ge=Zo.calculateHorizontalCaret(y,E,N,V)):O===La.Bottom&&(de=-7,Ge=Zo.calculateHorizontalCaret(y,E,N,V)),{top:de,left:Ge}}static positionContent(O,E,y,N,V){let de=0,Ge=0;return O===La.Right?(Ge=y.left+y.width+N,de=Zo.calculateVerticalAlignment(y,E,V)):O===La.Left?(Ge=y.left-E.width-N,de=Zo.calculateVerticalAlignment(y,E,V)):O===La.Top?(de=y.top-E.height-N,Ge=Zo.calculateHorizontalAlignment(y,E,V)):O===La.Bottom&&(de=y.top+y.height+N,Ge=Zo.calculateHorizontalAlignment(y,E,V)),{top:de,left:Ge}}static determinePlacement(O,E,y,N){if(Zo.shouldFlip(y,E,O,N)){if(O===La.Right)return La.Left;if(O===La.Left)return La.Right;if(O===La.Top)return La.Bottom;if(O===La.Bottom)return La.Top}return O}}let K0=(()=>{var v;class O{get cssClasses(){let y="ngx-charts-tooltip-content";return y+=` position-${this.placement}`,y+=` type-${this.type}`,y+=` ${this.cssClass}`,y}constructor(y,N,V){this.element=y,this.renderer=N,this.platformId=V}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,c.UE)(this.platformId))return;const y=this.element.nativeElement,N=this.host.nativeElement.getBoundingClientRect();if(!N.height&&!N.width)return;const V=y.getBoundingClientRect();this.checkFlip(N,V),this.positionContent(y,N,V),this.showCaret&&this.positionCaret(N,V),setTimeout(()=>this.renderer.addClass(y,"animate"),1)}positionContent(y,N,V){const{top:de,left:Ge}=Zo.positionContent(this.placement,V,N,this.spacing,this.alignment);this.renderer.setStyle(y,"top",`${de}px`),this.renderer.setStyle(y,"left",`${Ge}px`)}positionCaret(y,N){const V=this.caretElm.nativeElement,de=V.getBoundingClientRect(),{top:Ge,left:Pt}=Zo.positionCaret(this.placement,N,y,de,this.alignment);this.renderer.setStyle(V,"top",`${Ge}px`),this.renderer.setStyle(V,"left",`${Pt}px`)}checkFlip(y,N){this.placement=Zo.determinePlacement(this.placement,N,y,this.spacing)}onWindowResize(){this.position()}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:O,selectors:[["ngx-tooltip-content"]],viewQuery:function(N,V){if(1&N&&i.GBs(ph,5),2&N){let de;i.mGM(de=i.lsd())&&(V.caretElm=de.first)}},hostVars:2,hostBindings:function(N,V){1&N&&i.bIt("resize",function(){return V.onWindowResize()},i.tSv),2&N&&i.HbH(V.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},standalone:!1,decls:6,vars:6,consts:[["caretElm",""],[3,"hidden"],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(N,V){1&N&&(i.j41(0,"div"),i.nrm(1,"span",1,0),i.j41(3,"div",2),i.DNE(4,_h,2,4,"span",3)(5,td,1,1,"span",4),i.k0s()()),2&N&&(i.R7$(),i.HbH(i.VkB("tooltip-caret position-",V.placement)),i.Y8G("hidden",!V.showCaret),i.R7$(3),i.Y8G("ngIf",!V.title),i.R7$(),i.Y8G("ngIf",V.title))},dependencies:[S.bT,S.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:#000000bf;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:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translateZ(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}))}return v(),(0,e.Cg)([Fu(100)],O.prototype,"onWindowResize",null),O})();class wf{constructor(O){this.injectionService=O,this.defaults={},this.components=new Map}getByType(O=this.type){return this.components.get(O)}create(O){return this.createByType(this.type,O)}createByType(O,E){E=this.assignDefaults(E);const y=this.injectComponent(O,E);return this.register(O,y),y}destroy(O){const E=this.components.get(O.componentType);if(E&&E.length){const y=E.indexOf(O);y>-1&&(E[y].destroy(),E.splice(y,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(O){const E=this.components.get(O);if(E&&E.length){let y=E.length-1;for(;y>=0;)this.destroy(E[y--])}}injectComponent(O,E){return this.injectionService.appendComponent(O,E)}assignDefaults(O){const E={...this.defaults.inputs},y={...this.defaults.outputs};return!O.inputs&&!O.outputs&&(O={inputs:O}),E&&(O.inputs={...E,...O.inputs}),y&&(O.outputs={...y,...O.outputs}),O}register(O,E){this.components.has(O)||this.components.set(O,[]),this.components.get(O).push(E)}}let Tf=(()=>{var v;class O{static setGlobalRootViewContainer(y){O.globalRootViewContainer=y}constructor(y,N){this.applicationRef=y,this.injector=N}getRootViewContainer(){if(this._container)return this._container;if(O.globalRootViewContainer)return O.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(y){this._container=y}getComponentRootNode(y){return function Sf(v){return v.element}(y)?y.element.nativeElement:y.hostView&&y.hostView.rootNodes.length>0?y.hostView.rootNodes[0]:y.location.nativeElement}getRootViewContainerNode(y){return this.getComponentRootNode(y)}projectComponentBindings(y,N){if(N){if(void 0!==N.inputs){const V=Object.getOwnPropertyNames(N.inputs);for(const de of V)y.instance[de]=N.inputs[de]}if(void 0!==N.outputs){const V=Object.getOwnPropertyNames(N.outputs);for(const de of V)y.instance[de]=N.outputs[de]}}return y}appendComponent(y,N={},V){V||(V=this.getRootViewContainer());const de=this.getComponentRootNode(V),Ge=new T.aI(de,this.applicationRef,this.injector),Pt=new T.A8(y),Xt=Ge.attach(Pt);return this.projectComponentBindings(Xt,N),Xt}static#e=v=()=>(this.globalRootViewContainer=null,this.\u0275fac=function(N){return new(N||O)(t.KVO(i.o8S),t.KVO(t.zZn))},this.\u0275prov=t.jDH({token:O,factory:O.\u0275fac}))}return v(),O})(),Nu=(()=>{var v;class O extends wf{constructor(y){super(y),this.type=K0}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(t.KVO(Tf))},this.\u0275prov=t.jDH({token:O,factory:O.\u0275fac}))}return v(),O})();var zc=function(v){return v.Right="right",v.Below="below",v}(zc||{}),B1=function(v){return v.ScaleLegend="scaleLegend",v.Legend="legend",v}(B1||{}),aa=function(v){return v.Time="time",v.Linear="linear",v.Ordinal="ordinal",v.Quantile="quantile",v}(aa||{});function Nd(v){return v instanceof Date?v.toLocaleDateString():v.toLocaleString()}let Bu=(()=>{var v;class O{constructor(){this.isActive=!1,this.select=new i.bkB,this.activate=new i.bkB,this.deactivate=new i.bkB,this.toggle=new i.bkB}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275cmp=i.VBU({type:O,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(N,V){1&N&&i.bIt("mouseenter",function(){return V.onMouseEnter()})("mouseleave",function(){return V.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},standalone:!1,decls:4,vars:6,consts:[["tabindex","-1",3,"click","title"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(N,V){1&N&&(i.j41(0,"span",0),i.bIt("click",function(){return V.select.emit(V.formattedLabel)}),i.j41(1,"span",1),i.bIt("click",function(){return V.toggle.emit(V.formattedLabel)}),i.k0s(),i.j41(2,"span",2),i.EFF(3),i.k0s()()),2&N&&(i.AVh("active",V.isActive),i.Y8G("title",V.formattedLabel),i.R7$(),i.xc7("background-color",V.color),i.R7$(2),i.SpI(" ",V.trimmedLabel," "))},encapsulation:2,changeDetection:0}))}return v(),O})(),Df=(()=>{var v;class O{constructor(y){this.cd=y,this.horizontal=!1,this.labelClick=new i.bkB,this.labelActivate=new i.bkB,this.labelDeactivate=new i.bkB,this.legendEntries=[]}ngOnChanges(y){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const y=[];for(const N of this.data){const V=Nd(N);-1===y.findIndex(Ge=>Ge.label===V)&&y.push({label:N,formattedLabel:V,color:this.colors.getColor(N)})}return y}isActive(y){return!!this.activeEntries&&void 0!==this.activeEntries.find(V=>y.label===V.name)}activate(y){this.labelActivate.emit(y)}deactivate(y){this.labelDeactivate.emit(y)}trackBy(y,N){return N.label}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(p.gRc))},this.\u0275cmp=i.VBU({type:O,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"},standalone:!1,features:[i.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(N,V){1&N&&(i.j41(0,"div"),i.DNE(1,Lc,3,1,"header",0),i.j41(2,"div",1)(3,"ul",2),i.DNE(4,vh,2,4,"li",3),i.k0s()()()),2&N&&(i.xc7("width",V.width,"px"),i.R7$(),i.Y8G("ngIf",(null==V.title?null:V.title.length)>0),i.R7$(2),i.xc7("max-height",V.height-45,"px"),i.AVh("horizontal-legend",V.horizontal),i.R7$(),i.Y8G("ngForOf",V.legendEntries)("ngForTrackBy",V.trackBy))},dependencies:[S.Sq,S.bT,Bu],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:#0000000d}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;-webkit-transition:.2s;-moz-transition:.2s;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}))}return v(),O})(),n3=(()=>{var v;class O{constructor(){this.horizontal=!1}ngOnChanges(y){const N=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${N})`}gradientString(y,N){N.push(1);const V=[];return y.reverse().forEach((de,Ge)=>{V.push(`${de} ${Math.round(100*N[Ge])}%`)}),V.join(", ")}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275cmp=i.VBU({type:O,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},standalone:!1,features:[i.OA$],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(N,V){1&N&&(i.j41(0,"div",0)(1,"div",1)(2,"span"),i.EFF(3),i.k0s()(),i.nrm(4,"div",2),i.j41(5,"div",1)(6,"span"),i.EFF(7),i.k0s()()()),2&N&&(i.xc7("height",V.horizontal?void 0:V.height,"px")("width",V.width,"px"),i.AVh("horizontal-legend",V.horizontal),i.R7$(3),i.JRh(V.valueRange[1].toLocaleString()),i.R7$(),i.xc7("background",V.gradient),i.R7$(3),i.JRh(V.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}))}return v(),O})(),Af=(()=>{var v;class O{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new i.bkB,this.legendLabelActivate=new i.bkB,this.legendLabelDeactivate=new i.bkB,this.LegendPosition=zc,this.LegendType=B1}ngOnChanges(y){this.update()}update(){let y=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===zc.Right)&&(y=this.legendType===B1.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-y)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==zc.Right?this.chartWidth:Math.floor(this.view[0]*y/12)}getLegendType(){return this.legendOptions.scaleType===aa.Linear?B1.ScaleLegend:B1.Legend}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275cmp=i.VBU({type:O,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},standalone:!1,features:[i.Jv_([Nu]),i.OA$],ngContentSelectors:yh,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(N,V){1&N&&(i.NAR(),i.j41(0,"div",0),t.qSk(),i.j41(1,"svg",1),i.SdG(2),i.k0s(),i.DNE(3,wd,1,5,"ngx-charts-scale-legend",2)(4,bh,1,7,"ngx-charts-legend",3),i.k0s()),2&N&&(i.xc7("width",V.view[0],"px")("height",V.view[1],"px"),i.R7$(),i.BMQ("width",V.chartWidth)("height",V.view[1]),i.R7$(2),i.Y8G("ngIf",V.showLegend&&V.legendType===V.LegendType.ScaleLegend),i.R7$(),i.Y8G("ngIf",V.showLegend&&V.legendType===V.LegendType.Legend))},dependencies:[S.bT,Df,n3],encapsulation:2,changeDetection:0}))}return v(),O})(),a3=(()=>{var v;class O{constructor(y,N){this.element=y,this.zone=N,this.visible=new i.bkB,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const y=()=>{if(!this.element)return;const{offsetHeight:N,offsetWidth:V}=this.element.nativeElement;N&&V?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>y(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>y())})}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(i.aKT),i.rXU(i.SKi))},this.\u0275dir=i.FsC({type:O,selectors:[["visibility-observer"]],outputs:{visible:"visible"},standalone:!1}))}return v(),O})();function r3(v){return"[object Date]"===toString.call(v)}let od=(()=>{var v;class O{constructor(y,N,V,de){this.chartElement=y,this.zone=N,this.cd=V,this.platformId=de,this.scheme="cool",this.schemeType=aa.Ordinal,this.animations=!0,this.select=new i.bkB}ngOnInit(){(0,c.Vy)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new a3(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(y){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 y=this.getContainerDims();y&&(this.width=y.width,this.height=y.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 y,N;const V=this.chartElement.nativeElement;if((0,c.UE)(this.platformId)&&null!==V.parentNode){const de=V.parentNode.getBoundingClientRect();y=de.width,N=de.height}return y&&N?{width:y,height:N}:null}formatDates(){for(let y=0;y<this.results.length;y++){const N=this.results[y];if(N.label=N.name,r3(N.label)&&(N.label=N.label.toLocaleDateString()),N.series)for(let V=0;V<N.series.length;V++){const de=N.series[V];de.label=de.name,r3(de.label)&&(de.label=de.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,c.UE)(this.platformId))return;const N=(0,g.R)(window,"resize").pipe((0,d.B)(200)).subscribe(V=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=N}cloneData(y){const N=[];for(const V of y){const de={};if(void 0!==V.name&&(de.name=V.name),void 0!==V.value&&(de.value=V.value),void 0!==V.series){de.series=[];for(const Ge of V.series){const Pt=Object.assign({},Ge);de.series.push(Pt)}}void 0!==V.extra&&(de.extra=JSON.parse(JSON.stringify(V.extra))),void 0!==V.source&&(de.source=V.source),void 0!==V.target&&(de.target=V.target),N.push(de)}return N}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(i.aKT),i.rXU(i.SKi),i.rXU(p.gRc),i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:O,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},standalone:!1,features:[i.OA$],decls:1,vars:0,template:function(N,V){1&N&&i.nrm(0,"div")},encapsulation:2}))}return v(),O})();var xr=function(v){return v.Top="top",v.Bottom="bottom",v.Left="left",v.Right="right",v}(xr||{});let s3=(()=>{var v;class O{constructor(y){this.textHeight=25,this.margin=5,this.element=y.nativeElement}ngOnChanges(y){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case xr.Top:case xr.Bottom:this.y=this.offset,this.x=this.width/2;break;case xr.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case xr.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(i.aKT))},this.\u0275cmp=i.VBU({type:O,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},standalone:!1,features:[i.OA$],attrs:tu,decls:2,vars:6,template:function(N,V){1&N&&(t.qSk(),i.j41(0,"text"),i.EFF(1),i.k0s()),2&N&&(i.BMQ("stroke-width",V.strokeWidth)("x",V.x)("y",V.y)("text-anchor",V.textAnchor)("transform",V.transform),i.R7$(),i.SpI(" ",V.label," "))},encapsulation:2,changeDetection:0}))}return v(),O})();function o3(v,O=16){return"string"!=typeof v?"number"==typeof v?v+"":"":(v=v.trim()).length<=O?v:`${v.slice(0,O)}...`}function zu(v,O){if(v.length>O){const E=[],y=Math.floor(v.length/O);for(let N=0;N<v.length;N++)N%y===0&&E.push(v[N]);v=E}return v}function l3(v,O,E){const y=(v||"").toString();let N=[];if(/\s/.test(y))N=y.split(/\s+/).reduce((V,de)=>{const Ge=(V.pop()||"")+" ";return Ge.length+de.length>O?[...V,Ge.trim(),de.trim()]:[...V,Ge+de]},[]);else{let V=0;for(;V<y.length;)N.push(y.substring(V,V+O)),V+=O}return N.length>E&&(N=N.splice(0,E),N[N.length-1]+="..."),N}var ll=function(v){return v.Start="start",v.Middle="middle",v.End="end",v}(ll||{});function Uc(v,O,E,y,N,[V,de,Ge,Pt]){let Xt="";return Xt=`M${[v+N,O]}`,Xt+="h"+((E=0===(E=Math.floor(E))?1:E)-2*N),Xt+=de?`a${[N,N]} 0 0 1 ${[N,N]}`:`h${N}v${N}`,Xt+="v"+((y=0===(y=Math.floor(y))?1:y)-2*N),Xt+=Pt?`a${[N,N]} 0 0 1 ${[-N,N]}`:`v${N}h${-N}`,Xt+="h"+(2*N-E),Xt+=Ge?`a${[N,N]} 0 0 1 ${[-N,-N]}`:`h${-N}v${-N}`,Xt+="v"+(2*N-y),Xt+=V?`a${[N,N]} 0 0 1 ${[N,-N]}`:`v${-N}h${N}`,Xt+="z",Xt}let Lf=(()=>{var v;class O{get isWrapTicksSupported(){return this.wrapTicks&&this.scale.step}constructor(y){this.platformId=y,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new i.bkB,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=ll.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10,this.maxPossibleLengthForTickIfWrapped=16,this.referenceLineLength=0}ngOnChanges(y){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,c.UE)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const y=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);y!==this.height&&(this.height=y,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const y=this.scale;this.adjustedScale=this.scale.bandwidth?function(de){return this.scale(de)+.5*this.scale.bandwidth()}:this.scale,this.ticks=this.getTicks();const N=this.orient===xr.Top||this.orient===xr.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.orient){case xr.Bottom:this.transform=function(de){return"translate("+this.adjustedScale(de)+",0)"},this.textAnchor=ll.Middle,this.x2=this.innerTickSize*N,this.x1=this.tickSpacing*N,this.dx=N<0?"0em":".71em";break;case xr.Left:this.transform=function(de){return"translate(0,"+this.adjustedScale(de)+")"},this.textAnchor=ll.End,this.y2=this.innerTickSize*-N,this.y1=this.tickSpacing*-N,this.dx=".32em";break;case xr.Top:this.transform=function(de){return"translate("+this.adjustedScale(de)+",0)"},this.textAnchor=ll.Middle,this.y2=this.innerTickSize*N,this.y1=this.tickSpacing*N,this.dx=N<0?"0em":".71em";break;case xr.Right:this.transform=function(de){return"translate(0,"+this.adjustedScale(de)+")"},this.textAnchor=ll.Start,this.x2=this.innerTickSize*-N,this.x1=this.tickSpacing*-N,this.dx=".32em"}this.tickFormat=this.tickFormatting?this.tickFormatting:y.tickFormat?y.tickFormat.apply(y,this.tickArguments):function(de){return"Date"===de.constructor.name?de.toLocaleDateString():de.toLocaleString()};const V=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.textTransform="",V&&0!==V?(this.textTransform=`rotate(${V})`,this.textAnchor=ll.End,this.verticalSpacing=10):this.textAnchor=ll.Middle,setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(y=>y.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(y=>y.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Uc(this.refMax,25-this.gridLineHeight,this.refMin-this.refMax,this.gridLineHeight,0,[!1,!1,!1,!1])}getRotationAngle(y){let N=0;this.maxTicksLength=0;for(let Oi=0;Oi<y.length;Oi++){const sn=this.tickFormat(y[Oi]).toString();let on=sn.length;this.trimTicks&&(on=this.tickTrim(sn).length),on>this.maxTicksLength&&(this.maxTicksLength=on)}const Ge=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let Pt=Ge;const Xt=Math.floor(this.width/y.length);for(;Pt>Xt&&N>-90;)N-=30,Pt=Math.cos(N*(Math.PI/180))*Ge;let hi=14;if(this.isWrapTicksSupported){const Oi=this.ticks.reduce((on,Wn)=>Wn.length>on.length?Wn:on,"");hi=14*(this.tickChunks(Oi).length||1),this.maxPossibleLengthForTickIfWrapped=this.getMaxPossibleLengthForTick(Oi)}const Si=0!==N?Math.max(Math.abs(Math.sin(N*Math.PI/180))*this.maxTickLength*7,10):hi;return this.approxHeight=Math.min(Si,200),this.showRefLines&&this.referenceLines&&this.setReferencelines(),N}getTicks(){let y;const N=this.getMaxTicks(20),V=this.getMaxTicks(100);return this.tickValues?y=this.tickValues:this.scale.ticks?y=this.scale.ticks.apply(this.scale,[V]):(y=this.scale.domain(),y=zu(y,N)),y}getMaxTicks(y){return Math.floor(this.width/y)}tickTransform(y){return"translate("+this.adjustedScale(y)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(y){return this.trimTicks?o3(y,this.maxTickLength):y}getMaxPossibleLengthForTick(y){if(this.scale.bandwidth){const V=Math.floor(this.scale.bandwidth()/7),de=y.slice(0,V);return Math.max(de.length,this.maxTickLength)}return this.maxTickLength}tickChunks(y){if(y.toString().length>this.maxTickLength&&this.scale.bandwidth){let V=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(V<=1)return[this.tickTrim(y)];let de=Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength);return(0,c.UE)(this.platformId)||(de=Math.floor(Math.min(this.approxHeight/5,Math.max(this.maxPossibleLengthForTickIfWrapped,this.maxTickLength)))),V=Math.min(V,5),l3(y,de,V<1?1:V)}return[this.tickTrim(y)]}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:O,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(N,V){if(1&N&&i.GBs(C1,5),2&N){let de;i.mGM(de=i.lsd())&&(V.ticksElement=de.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",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:xh,decls:6,vars:4,consts:[["ticksel",""],["tmplMultilineTick",""],["tmplSinglelineTick",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],["class","ref-line",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"],[1,"reference-area"],[1,"ref-line"],["y1","25",1,"refline-path","gridline-path-vertical"],["transform","rotate(-270) translate(5, -5)",1,"refline-label"]],template:function(N,V){1&N&&(t.qSk(),i.j41(0,"g",null,0),i.DNE(2,b4,2,2,"g",3),i.k0s(),i.DNE(3,iu,2,2,"g",4)(4,M1,1,2,"path",5)(5,nu,2,1,"g",6)),2&N&&(i.R7$(2),i.Y8G("ngForOf",V.ticks),i.R7$(),i.Y8G("ngForOf",V.ticks),i.R7$(),i.Y8G("ngIf",V.referenceLineLength>1&&V.refMax&&V.refMin&&V.showRefLines),i.R7$(),i.Y8G("ngForOf",V.referenceLines))},dependencies:[S.Sq,S.bT],encapsulation:2,changeDetection:0}))}return v(),O})(),c3=(()=>{var v;class O{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=xr.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new i.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=xr}ngOnChanges(y){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:y}){const N=y+25+5;N!==this.labelOffset&&(this.labelOffset=N,setTimeout(()=>{this.dimensionsChanged.emit({height:y})},0))}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275cmp=i.VBU({type:O,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(N,V){if(1&N&&i.GBs(Lf,5),2&N){let de;i.mGM(de=i.lsd())&&(V.ticksComponent=de.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",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:au,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","referenceLines","showRefLines","showRefLabels","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","referenceLines","showRefLines","showRefLabels","width","tickValues","wrapTicks"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(N,V){1&N&&(t.qSk(),i.j41(0,"g"),i.DNE(1,Ah,1,16,"g",0)(2,Lh,1,5,"g",1),i.k0s()),2&N&&(i.BMQ("class",V.xAxisClassName)("transform",V.transform),i.R7$(),i.Y8G("ngIf",V.xScale),i.R7$(),i.Y8G("ngIf",V.showLabel))},dependencies:[S.bT,s3,Lf],encapsulation:2,changeDetection:0}))}return v(),O})(),Uu=(()=>{var v;class O{constructor(y){this.platformId=y,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 i.bkB,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=ll.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=xr}ngOnChanges(y){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,c.UE)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const y=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);y!==this.width&&(this.width=y,this.dimensionsChanged.emit({width:y}),setTimeout(()=>this.updateDims()))}update(){const y=this.scale,N=this.orient===xr.Top||this.orient===xr.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:y.tickFormat?y.tickFormat.apply(y,this.tickArguments):function(V){return"Date"===V.constructor.name?V.toLocaleDateString():V.toLocaleString()},this.adjustedScale=y.bandwidth?V=>{const de=y(V)+.5*y.bandwidth();if(this.wrapTicks&&V.toString().length>this.maxTickLength){const Ge=this.tickChunks(V).length;if(1===Ge)return de;const hi=.5*y.bandwidth()-8*Ge*.5;return y(V)+hi}return de}:y,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case xr.Top:case xr.Bottom:this.transform=function(V){return"translate("+this.adjustedScale(V)+",0)"},this.textAnchor=ll.Middle,this.y2=this.innerTickSize*N,this.y1=this.tickSpacing*N,this.dy=N<0?"0em":".71em";break;case xr.Left:this.transform=function(V){return"translate(0,"+this.adjustedScale(V)+")"},this.textAnchor=ll.End,this.x2=this.innerTickSize*-N,this.x1=this.tickSpacing*-N,this.dy=".32em";break;case xr.Right:this.transform=function(V){return"translate(0,"+this.adjustedScale(V)+")"},this.textAnchor=ll.Start,this.x2=this.innerTickSize*-N,this.x1=this.tickSpacing*-N,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(y=>y.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(y=>y.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Uc(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let y;const N=this.getMaxTicks(20),V=this.getMaxTicks(50);return this.tickValues?y=this.tickValues:this.scale.ticks?y=this.scale.ticks.apply(this.scale,[V]):(y=this.scale.domain(),y=zu(y,N)),y}getMaxTicks(y){return Math.floor(this.height/y)}tickTransform(y){return`translate(${this.adjustedScale(y)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(y){return this.trimTicks?o3(y,this.maxTickLength):y}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(V=>this.tickTrim(this.tickFormat(V)).length))}tickChunks(y){if(y.toString().length>this.maxTickLength&&this.scale.bandwidth){const N=this.maxTickLength,V=Math.floor(this.scale.bandwidth()/15);return V<=1?[this.tickTrim(y)]:l3(y,N,Math.min(V,5))}return[this.tickFormat(y)]}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:O,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(N,V){if(1&N&&i.GBs(C1,5),2&N){let de;i.mGM(de=i.lsd())&&(V.ticksElement=de.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"},standalone:!1,features:[i.OA$],attrs:S0,decls:6,vars:4,consts:[["ticksel",""],["tmplMultilineTick",""],["tmplSinglelineTick",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],["class","ref-line",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"],[1,"ref-line"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(N,V){1&N&&(t.qSk(),i.j41(0,"g",null,0),i.DNE(2,A0,2,2,"g",3),i.k0s(),i.DNE(3,Sd,1,2,"path",4)(4,x4,2,2,"g",5)(5,kh,2,1,"g",6)),2&N&&(i.R7$(2),i.Y8G("ngForOf",V.ticks),i.R7$(),i.Y8G("ngIf",V.referenceLineLength>1&&V.refMax&&V.refMin&&V.showRefLines),i.R7$(),i.Y8G("ngForOf",V.ticks),i.R7$(),i.Y8G("ngForOf",V.referenceLines))},dependencies:[S.Sq,S.bT],encapsulation:2,changeDetection:0}))}return v(),O})(),If=(()=>{var v;class O{constructor(){this.showGridLines=!1,this.yOrient=xr.Left,this.yAxisOffset=0,this.wrapTicks=!1,this.dimensionsChanged=new i.bkB,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(y){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===xr.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:y}){y!==this.labelOffset&&this.yOrient===xr.Right?(this.labelOffset=y+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:y})},0)):y!==this.labelOffset&&(this.labelOffset=y,setTimeout(()=>{this.dimensionsChanged.emit({width:y})},0))}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275cmp=i.VBU({type:O,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(N,V){if(1&N&&i.GBs(Uu,5),2&N){let de;i.mGM(de=i.lsd())&&(V.ticksComponent=de.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"},standalone:!1,features:[i.OA$],attrs:Ad,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(N,V){1&N&&(t.qSk(),i.j41(0,"g"),i.DNE(1,I0,1,15,"g",0)(2,ou,1,5,"g",1),i.k0s()),2&N&&(i.BMQ("class",V.yAxisClassName)("transform",V.transform),i.R7$(),i.Y8G("ngIf",V.yScale),i.R7$(),i.Y8G("ngIf",V.showLabel))},dependencies:[S.bT,s3,Uu],encapsulation:2,changeDetection:0}))}return v(),O})(),d3=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[S.MD]}))}return v(),O})();var Bd=function(v){return v.popover="popover",v.tooltip="tooltip",v}(Bd||{}),Q0=function(v){return v[v.all="all"]="all",v[v.focus="focus"]="focus",v[v.mouseover="mouseover"]="mouseover",v}(Q0||{});let u3=(()=>{var v;class O{get listensForFocus(){return this.tooltipShowEvent===Q0.all||this.tooltipShowEvent===Q0.focus}get listensForHover(){return this.tooltipShowEvent===Q0.all||this.tooltipShowEvent===Q0.mouseover}constructor(y,N,V){this.tooltipService=y,this.viewContainerRef=N,this.renderer=V,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=La.Top,this.tooltipAlignment=La.Center,this.tooltipType=Bd.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=Q0.all,this.tooltipImmediateExit=!1,this.show=new i.bkB,this.hide=new i.bkB}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(y){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(y))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(y){if(this.component||this.tooltipDisabled)return;const N=y?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const V=this.createBoundOptions();this.component=this.tooltipService.create(V),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},N)}addHideListeners(y){this.mouseEnterContentEvent=this.renderer.listen(y,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(y,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",N=>{y.contains(N.target)||this.hideTooltip()}))}hideTooltip(y=!1){if(!this.component)return;const N=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),y?N():this.timeout=setTimeout(N,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(Nu),i.rXU(i.c1b),i.rXU(i.sFG))},this.\u0275dir=i.FsC({type:O,selectors:[["","ngx-tooltip",""]],hostBindings:function(N,V){1&N&&i.bIt("focusin",function(){return V.onFocus()})("blur",function(){return V.onBlur()})("mouseenter",function(){return V.onMouseEnter()})("mouseleave",function(Ge){return V.onMouseLeave(Ge.target)})("click",function(){return V.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"},standalone:!1}))}return v(),O})(),h3=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({providers:[Tf,Nu],imports:[S.MD]}))}return v(),O})();const Vc={};function z1(){let v=("0000"+(Math.random()*Math.pow(36,4)|0).toString(36)).slice(-4);return v=`a${v}`,Vc[v]?z1():(Vc[v]=!0,v)}var Es=function(v){return v.Vertical="vertical",v.Horizontal="horizontal",v}(Es||{});let U1=(()=>{var v;class O{constructor(){this.orientation=Es.Vertical}ngOnChanges(y){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===Es.Horizontal?this.x2="100%":this.orientation===Es.Vertical&&(this.y1="100%")}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275cmp=i.VBU({type:O,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},standalone:!1,features:[i.OA$],attrs:Rh,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(N,V){1&N&&(t.qSk(),i.j41(0,"linearGradient",0),i.DNE(1,Oh,1,5,"stop",1),i.k0s()),2&N&&(i.Y8G("id",V.name),i.BMQ("x1",V.x1)("y1",V.y1)("x2",V.x2)("y2",V.y2),i.R7$(),i.Y8G("ngForOf",V.stops))},dependencies:[S.Sq],encapsulation:2,changeDetection:0}))}return v(),O})(),p3=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275cmp=i.VBU({type:O,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},standalone:!1,attrs:zh,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(N,V){1&N&&(t.qSk(),i.nrm(0,"rect",0)),2&N&&i.BMQ("height",V.height)("width",V.width)("x",V.x)("y",V.y)},encapsulation:2,changeDetection:0}))}return v(),O})();var H1=function(v){return v.Odd="odd",v.Even="even",v}(H1||{});let $0,kf=(()=>{var v;class O{ngOnChanges(y){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(y=>{let N,V,de,Ge,Pt,Xt=H1.Odd;if(this.orient===Es.Vertical){const hi=this.xScale(y.name);Number.parseInt((hi/this.xScale.step()).toString(),10)%2==1&&(Xt=H1.Even),N=this.xScale.bandwidth()*this.xScale.paddingInner(),V=this.xScale.bandwidth()+N,de=this.dims.height,Ge=this.xScale(y.name)-N/2,Pt=0}else if(this.orient===Es.Horizontal){const hi=this.yScale(y.name);Number.parseInt((hi/this.yScale.step()).toString(),10)%2==1&&(Xt=H1.Even),N=this.yScale.bandwidth()*this.yScale.paddingInner(),V=this.dims.width,de=this.yScale.bandwidth()+N,Ge=0,Pt=this.yScale(y.name)-N/2}return{name:y.name,class:Xt,height:de,width:V,x:Ge,y:Pt}})}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275cmp=i.VBU({type:O,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},standalone:!1,features:[i.OA$],attrs:Uh,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(N,V){1&N&&i.DNE(0,k0,1,10,"g",0),2&N&&i.Y8G("ngForOf",V.gridPanels)},dependencies:[S.Sq,p3],encapsulation:2,changeDetection:0}))}return v(),O})();typeof window<"u"?$0=window:typeof global<"u"&&($0=global);let Jo=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[S.MD,d3,h3,S.MD,d3,h3]}))}return v(),O})();function y3({width:v,height:O,margins:E,showXAxis:y=!1,showYAxis:N=!1,xAxisHeight:V=0,yAxisWidth:de=0,showXLabel:Ge=!1,showYLabel:Pt=!1,showLegend:Xt=!1,legendType:hi=aa.Ordinal,legendPosition:Si=zc.Right,columns:Oi=12}){let sn=E[3],on=v,Wn=O-E[0]-E[2];return Xt&&Si===zc.Right&&(Oi-=hi===aa.Ordinal?2:1),on=on*Oi/12,on=on-E[1]-E[3],y&&(Wn-=5,Wn-=V,Ge&&(Wn-=30)),N&&(on-=5,on-=de,sn+=de,sn+=10,Pt&&(on-=30,sn+=30)),on=Math.max(0,on),Wn=Math.max(0,Wn),{width:Math.floor(on),height:Math.floor(Wn),xOffset:Math.floor(sn)}}const J0=[{name:"vivid",selectable:!0,group:aa.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:aa.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:aa.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:aa.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:aa.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:aa.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:aa.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:aa.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:aa.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:aa.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:aa.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:aa.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:aa.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:aa.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:aa.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class b3{constructor(O,E,y,N){"string"==typeof O&&(O=J0.find(V=>V.name===O)),this.colorDomain=O.domain,this.scaleType=E,this.domain=y,this.customColors=N,this.scale=this.generateColorScheme(O,E,this.domain)}generateColorScheme(O,E,y){let N;switch("string"==typeof O&&(O=J0.find(V=>V.name===O)),E){case aa.Quantile:N=eu().range(O.domain).domain(y);break;case aa.Ordinal:N=C0().range(O.domain).domain(y);break;case aa.Linear:{const V=[...O.domain];1===V.length&&(V.push(V[0]),this.colorDomain=V);const de=v1(0,1,1/V.length);N=oc().range(V).domain(de)}}return N}getColor(O){if(null==O)throw new Error("Value can not be null");if(this.scaleType===aa.Linear){const E=oc().domain(this.domain).range([0,1]);return this.scale(E(O))}{if("function"==typeof this.customColors)return this.customColors(O);const E=O.toString();let y;return this.customColors&&this.customColors.length>0&&(y=this.customColors.find(N=>N.name.toLowerCase()===E.toLowerCase())),y?y.value:this.scale(O)}}getLinearGradientStops(O,E){void 0===E&&(E=this.domain[0]);const y=oc().domain(this.domain).range([0,1]),N=Ul().domain(this.colorDomain).range([0,1]),V=this.getColor(O),de=y(E),Ge=this.getColor(E),Pt=y(O);let Xt=1,hi=de;const Si=[];for(Si.push({color:Ge,offset:de,originalOffset:de,opacity:1});hi<Pt&&Xt<this.colorDomain.length;){const Oi=this.colorDomain[Xt],sn=N(Oi);if(sn<=de)Xt++;else{if(sn.toFixed(4)>=(Pt-N.bandwidth()).toFixed(4))break;Si.push({color:Oi,offset:sn,opacity:1}),hi=sn,Xt++}}if(Si[Si.length-1].offset<100&&Si.push({color:V,offset:Pt,opacity:1}),Pt===de)Si[0].offset=0,Si[1].offset=100;else if(100!==Si[Si.length-1].offset)for(const Oi of Si)Oi.offset=(Oi.offset-de)/(Pt-de)*100;return Si}}let M3=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo]}))}return v(),O})(),E3=(()=>{var v;class O{constructor(y){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new i.bkB,this.activate=new i.bkB,this.deactivate=new i.bkB,this.hasGradient=!1,this.hideBar=!1,this.element=y.nativeElement}ngOnChanges(y){y.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+z1().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const y=Fn(this.element).select(".bar"),N=this.getPath();this.animations?y.transition().duration(500).attr("d",N):y.attr("d",N)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartingPath(){if(!this.animations)return this.getPath();let N,y=this.getRadius();return this.roundEdges?this.orientation===Es.Vertical?(y=Math.min(this.height,y),N=Uc(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===Es.Horizontal&&(y=Math.min(this.width,y),N=Uc(this.x,this.y,1,this.height,0,this.edges)):this.orientation===Es.Vertical?N=Uc(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===Es.Horizontal&&(N=Uc(this.x,this.y,1,this.height,0,this.edges)),N}getPath(){let N,y=this.getRadius();return this.roundEdges?this.orientation===Es.Vertical?(y=Math.min(this.height,y),N=Uc(this.x,this.y,this.width,this.height,y,this.edges)):this.orientation===Es.Horizontal&&(y=Math.min(this.width,y),N=Uc(this.x,this.y,this.width,this.height,y,this.edges)):N=Uc(this.x,this.y,this.width,this.height,y,this.edges),N}getRadius(){let y=0;return this.roundEdges&&this.height>5&&this.width>5&&(y=Math.floor(Math.min(5,this.height/2,this.width/2))),y}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let y=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===Es.Vertical?y=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===Es.Horizontal&&(y=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),y}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===Es.Vertical&&0===this.height||this.orientation===Es.Horizontal&&0===this.width)}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(i.aKT))},this.\u0275cmp=i.VBU({type:O,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(N,V){1&N&&i.bIt("mouseenter",function(){return V.onMouseEnter()})("mouseleave",function(){return V.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"},standalone:!1,features:[i.OA$],attrs:D1,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(N,V){1&N&&(i.DNE(0,A4,2,3,"defs",0),t.qSk(),i.j41(1,"path",1),i.bIt("click",function(){return V.select.emit(V.data)}),i.k0s()),2&N&&(i.Y8G("ngIf",V.hasGradient),i.R7$(),i.AVh("active",V.isActive)("hidden",V.hideBar),i.BMQ("d",V.path)("aria-label",V.ariaLabel)("fill",V.hasGradient?V.gradientFill:V.fill))},dependencies:[S.bT,U1],encapsulation:2,changeDetection:0}))}return v(),O})();var zd=function(v){return v.Standard="standard",v.Normalized="normalized",v.Stacked="stacked",v}(zd||{}),Ud=function(v){return v.positive="positive",v.negative="negative",v}(Ud||{});let w3=(()=>{var v;class O{constructor(y){this.dimensionsChanged=new i.bkB,this.horizontalPadding=2,this.verticalPadding=5,this.element=y.nativeElement}ngOnChanges(y){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):Nd(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})`)}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(i.aKT))},this.\u0275cmp=i.VBU({type:O,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},standalone:!1,features:[i.OA$],attrs:$h,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(N,V){1&N&&(t.qSk(),i.j41(0,"text",0),i.EFF(1),i.k0s()),2&N&&(i.BMQ("text-anchor",V.textAnchor)("transform",V.transform)("x",V.x)("y",V.y),i.R7$(),i.SpI(" ",V.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}))}return v(),O})(),Nf=(()=>{var v;class O{constructor(y){this.platformId=y,this.type=zd.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new i.bkB,this.activate=new i.bkB,this.deactivate=new i.bkB,this.dataLabelHeightChanged=new i.bkB,this.barsForDataLabels=[],this.barOrientation=Es,this.isSSR=!1}ngOnInit(){(0,c.Vy)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(){this.update()}update(){let y;this.updateTooltipSettings(),this.series.length&&(y=this.xScale.bandwidth()),y=Math.round(y);const N=Math.max(this.yScale.domain()[0],0),V={[Ud.positive]:0,[Ud.negative]:0};let Ge,de=Ud.positive;this.type===zd.Normalized&&(Ge=this.series.map(Pt=>Pt.value).reduce((Pt,Xt)=>Pt+Xt,0)),this.bars=this.series.map((Pt,Xt)=>{let hi=Pt.value;const Si=this.getLabel(Pt),Oi=Nd(Si);de=hi>0?Ud.positive:Ud.negative;const on={value:hi,label:Si,roundEdges:this.roundEdges,data:Pt,width:y,formattedLabel:Oi,height:0,x:0,y:0};if(this.type===zd.Standard)on.height=Math.abs(this.yScale(hi)-this.yScale(N)),on.x=this.xScale(Si),on.y=this.yScale(hi<0?0:hi);else if(this.type===zd.Stacked){const Wi=V[de],Ln=Wi+hi;V[de]+=hi,on.height=this.yScale(Wi)-this.yScale(Ln),on.x=0,on.y=this.yScale(Ln),on.offset0=Wi,on.offset1=Ln}else if(this.type===zd.Normalized){let Wi=V[de],Ln=Wi+hi;V[de]+=hi,Ge>0?(Wi=100*Wi/Ge,Ln=100*Ln/Ge):(Wi=0,Ln=0),on.height=this.yScale(Wi)-this.yScale(Ln),on.x=0,on.y=this.yScale(Ln),on.offset0=Wi,on.offset1=Ln,hi=(Ln-Wi).toFixed(2)+"%"}this.colors.scaleType===aa.Ordinal?on.color=this.colors.getColor(Si):this.type===zd.Standard?(on.color=this.colors.getColor(hi),on.gradientStops=this.colors.getLinearGradientStops(hi)):(on.color=this.colors.getColor(on.offset1),on.gradientStops=this.colors.getLinearGradientStops(on.offset1,on.offset0));let Wn=Oi;return on.ariaLabel=Oi+" "+hi.toLocaleString(),null!=this.seriesName&&(Wn=`${this.seriesName} \u2022 ${Oi}`,on.data.series=this.seriesName,on.ariaLabel=this.seriesName+" "+on.ariaLabel),on.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function Y0(v){return v.toLocaleString().replace(/[&'`"<>]/g,O=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[O]))}(Wn)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(hi):hi.toLocaleString()}</span>\n `,on}),this.updateDataLabels()}updateDataLabels(){if(this.type===zd.Stacked){this.barsForDataLabels=[];const y={};y.series=this.seriesName;const N=this.series.map(de=>de.value).reduce((de,Ge)=>Ge>0?de+Ge:de,0),V=this.series.map(de=>de.value).reduce((de,Ge)=>Ge<0?de+Ge:de,0);y.total=N+V,y.x=0,y.y=0,y.height=this.yScale(y.total>0?N:V),y.width=this.xScale.bandwidth(),this.barsForDataLabels.push(y)}else this.barsForDataLabels=this.series.map(y=>{const N={};return N.series=this.seriesName??y.label,N.total=y.value,N.x=this.xScale(y.label),N.y=this.yScale(0),N.height=this.yScale(N.total)-this.yScale(0),N.width=this.xScale.bandwidth(),N})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:La.Top,this.tooltipType=this.tooltipDisabled?void 0:Bd.tooltip}isActive(y){return!!this.activeEntries&&void 0!==this.activeEntries.find(V=>y.name===V.name&&y.value===V.value)}onClick(y){this.select.emit(y)}getLabel(y){return y.label?y.label:y.name}trackBy(y,N){return N.label}trackDataLabelBy(y,N){return y+"#"+N.series+"#"+N.total}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)(i.rXU(i.Agw))},this.\u0275cmp=i.VBU({type:O,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"},standalone:!1,features:[i.OA$],attrs:Cu,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(N,V){1&N&&i.DNE(0,Io,2,2,"g",0)(1,ef,2,2,"g",0)(2,nf,2,2,"g",0),2&N&&(i.Y8G("ngIf",!V.isSSR),i.R7$(),i.Y8G("ngIf",V.isSSR),i.R7$(),i.Y8G("ngIf",V.showDataLabel))},dependencies:[S.Sq,S.bT,u3,E3,w3],encapsulation:2,data:{animation:[(0,w.hZ)("animationState",[(0,w.kY)(":leave",[(0,w.iF)({opacity:1}),(0,w.i0)(500,(0,w.iF)({opacity:0}))])])]},changeDetection:0}))}return v(),O})(),Pm=(()=>{var v;class O extends od{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=zc.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 i.bkB,this.deactivate=new i.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}ngOnChanges(){this.update()}update(){if(super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=y3({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})`,this.showRefLines){const y=Fn(this.chartElement.nativeElement).select(".bar-chart").node();Fn(this.chartElement.nativeElement).selectAll(".ref-line").nodes().forEach(V=>y.appendChild(V))}}getXScale(){this.xDomain=this.getXDomain();const y=this.xDomain.length/(this.dims.width/this.barPadding+1);return Ul().range([0,this.dims.width]).paddingInner(y).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const y=oc().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?y.nice():y}getXDomain(){return this.results.map(y=>y.label)}getYDomain(){const y=this.results.map(de=>de.value);let N=this.yScaleMin?Math.min(this.yScaleMin,...y):Math.min(0,...y);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(N=Math.min(N,...this.yAxisTicks));let V=this.yScaleMax?Math.max(this.yScaleMax,...y):Math.max(0,...y);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(V=Math.max(V,...this.yAxisTicks)),[N,V]}onClick(y){this.select.emit(y)}setColors(){let y;y=this.schemeType===aa.Ordinal?this.xDomain:this.yDomain,this.colors=new b3(this.scheme,this.schemeType,y,this.customColors)}getLegendOptions(){const y={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return y.scaleType===aa.Ordinal?(y.domain=this.xDomain,y.colors=this.colors,y.title=this.legendTitle):(y.domain=this.yDomain,y.colors=this.colors.scale),y}updateYAxisWidth({width:y}){this.yAxisWidth=y,this.update()}updateXAxisHeight({height:y}){this.xAxisHeight=y,this.update()}onDataLabelMaxHeightChanged(y){y.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,y.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,y.size.height),y.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(y,N=!1){y=this.results.find(de=>N?de.label===y.name:de.name===y.name),!(this.activeEntries.findIndex(de=>de.name===y.name&&de.value===y.value&&de.series===y.series)>-1)&&(this.activeEntries=[y,...this.activeEntries],this.activate.emit({value:y,entries:this.activeEntries}))}onDeactivate(y,N=!1){y=this.results.find(de=>N?de.label===y.name:de.name===y.name);const V=this.activeEntries.findIndex(de=>de.name===y.name&&de.value===y.value&&de.series===y.series);this.activeEntries.splice(V,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:y,entries:this.activeEntries})}static#e=v=()=>(this.\u0275fac=(()=>{let y;return function(V){return(y||(y=i.xGo(O)))(V||O)}})(),this.\u0275cmp=i.VBU({type:O,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(N,V,de){if(1&N&&i.wni(de,Wh,5),2&N){let Ge;i.mGM(Ge=i.lsd())&&(V.tooltipTemplate=Ge.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",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"},standalone:!1,features:[i.Vt3,i.OA$],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","referenceLines","showRefLines","showRefLabels","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","referenceLines","showRefLines","showRefLabels","wrapTicks"]],template:function(N,V){1&N&&(i.j41(0,"ngx-charts-chart",0),i.bIt("legendLabelClick",function(Ge){return V.onClick(Ge)})("legendLabelActivate",function(Ge){return V.onActivate(Ge,!0)})("legendLabelDeactivate",function(Ge){return V.onDeactivate(Ge,!0)}),t.qSk(),i.j41(1,"g",1),i.DNE(2,af,1,12,"g",2)(3,rf,1,13,"g",3),i.j41(4,"g",4),i.bIt("activate",function(Ge){return V.onActivate(Ge)})("deactivate",function(Ge){return V.onDeactivate(Ge)})("select",function(Ge){return V.onClick(Ge)})("dataLabelHeightChanged",function(Ge){return V.onDataLabelMaxHeightChanged(Ge)}),i.k0s()()()),2&N&&(i.Y8G("view",i.l_i(22,Rd,V.width,V.height))("showLegend",V.legend)("legendOptions",V.legendOptions)("activeEntries",V.activeEntries)("animations",V.animations),i.R7$(),i.BMQ("transform",V.transform),i.R7$(),i.Y8G("ngIf",V.xAxis),i.R7$(),i.Y8G("ngIf",V.yAxis),i.R7$(),i.Y8G("xScale",V.xScale)("yScale",V.yScale)("colors",V.colors)("series",V.results)("dims",V.dims)("gradient",V.gradient)("tooltipDisabled",V.tooltipDisabled)("tooltipTemplate",V.tooltipTemplate)("showDataLabel",V.showDataLabel)("dataLabelFormatting",V.dataLabelFormatting)("activeEntries",V.activeEntries)("roundEdges",V.roundEdges)("animations",V.animations)("noBarWhenZero",V.noBarWhenZero))},dependencies:[S.bT,c3,If,Af,Nf],styles:[pu],encapsulation:2,changeDetection:0}))}return v(),O})(),K6=(()=>{var v;class O extends od{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=zc.Right,this.tooltipDisabled=!1,this.scaleType=aa.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.schemeType=aa.Ordinal,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 i.bkB,this.deactivate=new i.bkB,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=Es,this.trackBy=(y,N)=>N.name}ngOnInit(){(0,c.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=y3({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(y,N){y.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,y.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,y.size.height),N===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const y=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return Ul().rangeRound([0,this.dims.width]).paddingInner(y).paddingOuter(y/2).domain(this.groupDomain)}getInnerScale(){const y=this.groupScale.bandwidth(),N=this.innerDomain.length/(y/this.barPadding+1);return Ul().rangeRound([0,y]).paddingInner(N).domain(this.innerDomain)}getValueScale(){const y=oc().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?y.nice():y}getGroupDomain(){const y=[];for(const N of this.results)y.includes(N.label)||y.push(N.label);return y}getInnerDomain(){const y=[];for(const N of this.results)for(const V of N.series)y.includes(V.label)||y.push(V.label);return y}getValueDomain(){const y=[];for(const de of this.results)for(const Ge of de.series)y.includes(Ge.value)||y.push(Ge.value);return[Math.min(0,...y),this.yScaleMax?Math.max(this.yScaleMax,...y):Math.max(0,...y)]}groupTransform(y){return`translate(${this.groupScale(y.label)}, 0)`}onClick(y,N){N&&(y.series=N.name),this.select.emit(y)}setColors(){let y;y=this.schemeType===aa.Ordinal?this.innerDomain:this.valueDomain,this.colors=new b3(this.scheme,this.schemeType,y,this.customColors)}getLegendOptions(){const y={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return y.scaleType===aa.Ordinal?(y.domain=this.innerDomain,y.colors=this.colors,y.title=this.legendTitle):(y.domain=this.valueDomain,y.colors=this.colors.scale),y}updateYAxisWidth({width:y}){this.yAxisWidth=y,this.update()}updateXAxisHeight({height:y}){this.xAxisHeight=y,this.update()}onActivate(y,N,V=!1){const de=Object.assign({},y);N&&(de.series=N.name);const Ge=this.results.map(Pt=>Pt.series).flat().filter(Pt=>V?Pt.label===de.name:Pt.name===de.name&&Pt.series===de.series);this.activeEntries=[...Ge],this.activate.emit({value:de,entries:this.activeEntries})}onDeactivate(y,N,V=!1){const de=Object.assign({},y);N&&(de.series=N.name),this.activeEntries=this.activeEntries.filter(Ge=>V?Ge.label!==de.name:!(Ge.name===de.name&&Ge.series===de.series)),this.deactivate.emit({value:de,entries:this.activeEntries})}static#e=v=()=>(this.\u0275fac=(()=>{let y;return function(V){return(y||(y=i.xGo(O)))(V||O)}})(),this.\u0275cmp=i.VBU({type:O,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(N,V,de){if(1&N&&i.wni(de,Wh,5),2&N){let Ge;i.mGM(Ge=i.lsd())&&(V.tooltipTemplate=Ge.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"},standalone:!1,features:[i.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(N,V){1&N&&(i.j41(0,"ngx-charts-chart",0),i.bIt("legendLabelActivate",function(Ge){return V.onActivate(Ge,void 0,!0)})("legendLabelDeactivate",function(Ge){return V.onDeactivate(Ge,void 0,!0)})("legendLabelClick",function(Ge){return V.onClick(Ge)}),t.qSk(),i.j41(1,"g",1),i.nrm(2,"g",2),i.DNE(3,Od,1,11,"g",3)(4,Mu,1,10,"g",4)(5,Pd,2,2,"g",5)(6,sf,2,2,"g",5),i.k0s()()),2&N&&(i.Y8G("view",i.l_i(15,Rd,V.width,V.height))("showLegend",V.legend)("legendOptions",V.legendOptions)("activeEntries",V.activeEntries)("animations",V.animations),i.R7$(),i.BMQ("transform",V.transform),i.R7$(),i.Y8G("xScale",V.groupScale)("yScale",V.valueScale)("data",V.results)("dims",V.dims)("orient",V.barOrientation.Vertical),i.R7$(),i.Y8G("ngIf",V.xAxis),i.R7$(),i.Y8G("ngIf",V.yAxis),i.R7$(),i.Y8G("ngIf",!V.isSSR),i.R7$(),i.Y8G("ngIf",V.isSSR))},dependencies:[S.Sq,S.bT,c3,If,Af,kf,Nf],styles:[pu],encapsulation:2,data:{animation:[(0,w.hZ)("animationState",[(0,w.kY)(":leave",[(0,w.iF)({opacity:1,transform:"*"}),(0,w.i0)(500,(0,w.iF)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}))}return v(),O})(),zf=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo]}))}return v(),O})(),Fm=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo]}))}return v(),O})(),Bm=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo]}))}return v(),O})(),A3=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo]}))}return v(),O})(),L3=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo]}))}return v(),O})();Math;let Vf=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo]}))}return v(),O})(),Gd=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo,Vf,L3]}))}return v(),O})(),ag=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo]}))}return v(),O})(),Gl=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo]}))}return v(),O})(),Gf=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo,Vf,zf]}))}return v(),O})(),ju=(()=>{var v;class O{static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo]}))}return v(),O})(),Km=(()=>{var v;class O{constructor(){!function jf(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}static#e=v=()=>(this.\u0275fac=function(N){return new(N||O)},this.\u0275mod=i.$C({type:O}),this.\u0275inj=t.G2t({imports:[Jo,M3,zf,Fm,Bm,A3,ju,L3,Gd,ag,Vf,Gl,Gf]}))}return v(),O})()},52512:(Ae,ee,l)=>{"use strict";function i(p,S){S=encodeURIComponent(S);for(const c of p.split(";")){const e=c.indexOf("="),[T,g]=-1==e?[c,""]:[c.slice(0,e),c.slice(e+1)];if(T.trim()===S)return decodeURIComponent(g)}return null}l.d(ee,{N:()=>t,b:()=>i});class t{}},52529:(Ae,ee,l)=>{var i=ee;i.utils=l(68283),i.common=l(12901),i.sha=l(78528),i.ripemd=l(15283),i.hmac=l(37163),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},52786:Ae=>{"use strict";Ae.exports=Object.getOwnPropertyDescriptor},52910:Ae=>{"use strict";Ae.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply},52920:(Ae,ee,l)=>{"use strict";l.d(ee,{DJ:()=>M,UI:()=>k,sA:()=>li,w2:()=>Ue});var i=l(2615),t=l(73664),S=(l(61577),l(28203)),c=l(29340),e=l(24545),g=(l(21413),l(56977));let d=(()=>{class Ne extends c.r3{buildStyles(yt,{display:Vt}){const Zt=(0,e.uG)(yt);return{...Zt,display:"none"===Vt?Vt:Zt.display}}}return Ne.\u0275fac=(()=>{let Kt;return function(Vt){return(Kt||(Kt=t.xGo(Ne)))(Vt||Ne)}})(),Ne.\u0275prov=i.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();const w=["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 P=(()=>{class Ne extends c.DJ{constructor(yt,Vt,Zt,ti,Ye){super(yt,Zt,Vt,ti),this._config=Ye,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(yt){const Zt=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=j.get(Zt)??new Map,j.set(Zt,this.styleCache),this.currentValue!==yt&&(this.addStyles(yt,{display:Zt}),this.currentValue=yt)}}return Ne.\u0275fac=function(yt){return new(yt||Ne)(t.rXU(t.aKT),t.rXU(c.ZH),t.rXU(d),t.rXU(c.qH),t.rXU(c.EA))},Ne.\u0275dir=t.FsC({type:Ne,standalone:!1,features:[t.Vt3]}),Ne})(),M=(()=>{class Ne extends P{constructor(){super(...arguments),this.inputs=w}}return Ne.\u0275fac=(()=>{let Kt;return function(Vt){return(Kt||(Kt=t.xGo(Ne)))(Vt||Ne)}})(),Ne.\u0275dir=t.FsC({type:Ne,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"},standalone:!1,features:[t.Vt3]}),Ne})();const j=new Map;let f=(()=>{class Ne extends c.r3{constructor(yt){super(),this.layoutConfig=yt}buildStyles(yt,Vt){let[Zt,ti,...Ye]=yt.split(" "),Nt=Ye.join(" ");const Et=Vt.direction.indexOf("column")>-1?"column":"row",Jt=(0,e.Vc)(Et)?"max-width":"max-height",qe=(0,e.Vc)(Et)?"min-width":"min-height",$e=String(Nt).indexOf("calc")>-1,tt=$e||"auto"===Nt,vi=String(Nt).indexOf("%")>-1&&!$e,ei=String(Nt).indexOf("px")>-1||String(Nt).indexOf("rem")>-1||String(Nt).indexOf("em")>-1||String(Nt).indexOf("vw")>-1||String(Nt).indexOf("vh")>-1;let ci=$e||ei;Zt="0"==Zt?0:Zt,ti="0"==ti?0:ti;const Hi=!Zt&&!ti;let oi={};const ui={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Nt||""){case"":Nt="row"===Et?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":Zt=0,Nt="auto";break;case"grow":Nt="100%";break;case"noshrink":ti=0,Nt="auto";break;case"auto":break;case"none":Zt=0,ti=0,Nt="auto";break;default:!ci&&!vi&&!isNaN(Nt)&&(Nt+="%"),"0%"===Nt&&(ci=!0),"0px"===Nt&&(Nt="0%"),oi=(0,e.C5)(ui,$e?{"flex-grow":Zt,"flex-shrink":ti,"flex-basis":ci?Nt:"100%"}:{flex:`${Zt} ${ti} ${ci?Nt:"100%"}`})}return oi.flex||oi["flex-grow"]||(oi=(0,e.C5)(ui,$e?{"flex-grow":Zt,"flex-shrink":ti,"flex-basis":Nt}:{flex:`${Zt} ${ti} ${Nt}`})),"0%"!==Nt&&"0px"!==Nt&&"0.000000001px"!==Nt&&"auto"!==Nt&&(oi[qe]=Hi||ci&&Zt?Nt:null,oi[Jt]=Hi||!tt&&ti?Nt:null),oi[qe]||oi[Jt]?Vt.hasWrap&&(oi[$e?"flex-basis":"flex"]=oi[Jt]?$e?oi[Jt]:`${Zt} ${ti} ${oi[Jt]}`:$e?oi[qe]:`${Zt} ${ti} ${oi[qe]}`):oi=(0,e.C5)(ui,$e?{"flex-grow":Zt,"flex-shrink":ti,"flex-basis":Nt}:{flex:`${Zt} ${ti} ${Nt}`}),(0,e.C5)(oi,{"box-sizing":"border-box"})}}return Ne.\u0275fac=function(yt){return new(yt||Ne)(i.KVO(c.EA))},Ne.\u0275prov=i.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();const h=["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 A=(()=>{class Ne extends c.DJ{constructor(yt,Vt,Zt,ti,Ye){super(yt,ti,Vt,Ye),this.layoutConfig=Zt,this.marshal=Ye,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(yt){this.flexShrink=yt||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(yt){this.flexGrow=yt||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,g.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,g.Q)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(yt){const Zt=yt.value.split(" ");this.direction=Zt[0],this.wrap=void 0!==Zt[1]&&"wrap"===Zt[1],this.triggerUpdate()}updateWithValue(yt){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 Zt=this.direction,ti=Zt.startsWith("row"),Ye=this.wrap;ti&&Ye?this.styleCache=_:ti&&!Ye?this.styleCache=x:!ti&&Ye?this.styleCache=W:!ti&&!Ye&&(this.styleCache=r);const Nt=String(yt).replace(";",""),Et=(0,c.hN)(Nt,this.flexGrow,this.flexShrink);this.addStyles(Et.join(" "),{direction:Zt,hasWrap:Ye})}triggerReflow(){const yt=this.activatedValue;if(void 0!==yt){const Vt=(0,c.hN)(yt+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,Vt.join(" "))}}}return Ne.\u0275fac=function(yt){return new(yt||Ne)(t.rXU(t.aKT),t.rXU(c.ZH),t.rXU(c.EA),t.rXU(f),t.rXU(c.qH))},Ne.\u0275dir=t.FsC({type:Ne,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},standalone:!1,features:[t.Vt3]}),Ne})(),k=(()=>{class Ne extends A{constructor(){super(...arguments),this.inputs=h}}return Ne.\u0275fac=(()=>{let Kt;return function(Vt){return(Kt||(Kt=t.xGo(Ne)))(Vt||Ne)}})(),Ne.\u0275dir=t.FsC({type:Ne,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"},standalone:!1,features:[t.Vt3]}),Ne})();const x=new Map,r=new Map,_=new Map,W=new Map;let J=(()=>{class Ne extends c.r3{buildStyles(yt,Vt){const Zt={},[ti,Ye]=yt.split(" ");switch(ti){case"center":Zt["justify-content"]="center";break;case"space-around":Zt["justify-content"]="space-around";break;case"space-between":Zt["justify-content"]="space-between";break;case"space-evenly":Zt["justify-content"]="space-evenly";break;case"end":case"flex-end":Zt["justify-content"]="flex-end";break;default:Zt["justify-content"]="flex-start"}switch(Ye){case"start":case"flex-start":Zt["align-items"]=Zt["align-content"]="flex-start";break;case"center":Zt["align-items"]=Zt["align-content"]="center";break;case"end":case"flex-end":Zt["align-items"]=Zt["align-content"]="flex-end";break;case"space-between":Zt["align-content"]="space-between",Zt["align-items"]="stretch";break;case"space-around":Zt["align-content"]="space-around",Zt["align-items"]="stretch";break;case"baseline":Zt["align-content"]="stretch",Zt["align-items"]="baseline";break;default:Zt["align-items"]=Zt["align-content"]="stretch"}return(0,e.C5)(Zt,{display:Vt.inline?"inline-flex":"flex","flex-direction":Vt.layout,"box-sizing":"border-box","max-width":"stretch"===Ye?(0,e.Vc)(Vt.layout)?null:"100%":null,"max-height":"stretch"===Ye&&(0,e.Vc)(Vt.layout)?"100%":null})}}return Ne.\u0275fac=(()=>{let Kt;return function(Vt){return(Kt||(Kt=t.xGo(Ne)))(Vt||Ne)}})(),Ne.\u0275prov=i.jDH({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})();const fe=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let ht=(()=>{class Ne extends c.DJ{constructor(yt,Vt,Zt,ti){super(yt,Zt,Vt,ti),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,g.Q)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(yt){const Vt=this.layout||"row",Zt=this.inline;"row"===Vt&&Zt?this.styleCache=le:"row"!==Vt||Zt?"row-reverse"===Vt&&Zt?this.styleCache=ce:"row-reverse"!==Vt||Zt?"column"===Vt&&Zt?this.styleCache=te:"column"!==Vt||Zt?"column-reverse"===Vt&&Zt?this.styleCache=se:"column-reverse"===Vt&&!Zt&&(this.styleCache=Rt):this.styleCache=di:this.styleCache=kt:this.styleCache=Qt,this.addStyles(yt,{layout:Vt,inline:Zt})}onLayoutChange(yt){const Vt=yt.value.split(" ");this.layout=Vt[0],this.inline=yt.value.includes("inline"),e.Uo.find(Zt=>Zt===this.layout)||(this.layout="row"),this.triggerUpdate()}}return Ne.\u0275fac=function(yt){return new(yt||Ne)(t.rXU(t.aKT),t.rXU(c.ZH),t.rXU(J),t.rXU(c.qH))},Ne.\u0275dir=t.FsC({type:Ne,standalone:!1,features:[t.Vt3]}),Ne})(),li=(()=>{class Ne extends ht{constructor(){super(...arguments),this.inputs=fe}}return Ne.\u0275fac=(()=>{let Kt;return function(Vt){return(Kt||(Kt=t.xGo(Ne)))(Vt||Ne)}})(),Ne.\u0275dir=t.FsC({type:Ne,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"},standalone:!1,features:[t.Vt3]}),Ne})();const Qt=new Map,di=new Map,kt=new Map,Rt=new Map,le=new Map,te=new Map,ce=new Map,se=new Map;let Ue=(()=>{class Ne{}return Ne.\u0275fac=function(yt){return new(yt||Ne)},Ne.\u0275mod=t.$C({type:Ne}),Ne.\u0275inj=i.G2t({imports:[c.Ui,S.jI]}),Ne})()},52929:(Ae,ee,l)=>{"use strict";l.d(ee,{Qu:()=>S,VD:()=>c,ZE:()=>p,gZ:()=>t});var i=l(73664);let t=(()=>{var e;class T{transform(d,w){return d?.replace(/^[0]+/g,"")}static#e=e=()=>(this.\u0275fac=function(w){return new(w||T)},this.\u0275pipe=i.EJ8({name:"removeleadingzeros",type:T,pure:!0,standalone:!1}))}return e(),T})(),p=(()=>{var e;class T{transform(d,w){return d?.replace(/(?:^\w|[A-Z]|\b\w)/g,(m,P)=>m.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}static#e=e=()=>(this.\u0275fac=function(w){return new(w||T)},this.\u0275pipe=i.EJ8({name:"camelcase",type:T,pure:!0,standalone:!1}))}return e(),T})(),S=(()=>{var e;class T{transform(d,w,m){return d.replace(/(?:^\w|[A-Z]|\b\w)/g,(P,M)=>" "+P.toUpperCase())}static#e=e=()=>(this.\u0275fac=function(w){return new(w||T)},this.\u0275pipe=i.EJ8({name:"camelCaseWithSpaces",type:T,pure:!0,standalone:!1}))}return e(),T})(),c=(()=>{var e;class T{transform(d,w,m){return d=d?d.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",w&&(d=d.replace(new RegExp(w,"g")," ")),m&&(d=d.replace(new RegExp(m,"g")," ")),d.replace(/(?:^\w|[A-Z]|\b\w)/g,(P,M)=>P.toUpperCase())}static#e=e=()=>(this.\u0275fac=function(w){return new(w||T)},this.\u0275pipe=i.EJ8({name:"camelcaseWithReplace",type:T,pure:!0,standalone:!1}))}return e(),T})()},52965:(Ae,ee,l)=>{ee.publicEncrypt=l(87267),ee.privateDecrypt=l(98613),ee.privateEncrypt=function(t,p){return ee.publicEncrypt(t,p,!0)},ee.publicDecrypt=function(t,p){return ee.privateDecrypt(t,p,!0)}},53155:(Ae,ee,l)=>{"use strict";l.d(ee,{t:()=>S});var i=l(73664);const t=["mat-internal-form-field",""],p=["*"];let S=(()=>{class c{labelPosition;static \u0275fac=function(g){return new(g||c)};static \u0275cmp=i.VBU({type:c,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(g,d){2&g&&i.AVh("mdc-form-field--align-end","before"===d.labelPosition)},inputs:{labelPosition:"labelPosition"},attrs:t,ngContentSelectors:p,decls:1,vars:0,template:function(g,d){1&g&&(i.NAR(),i.SdG(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.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 .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}\n"],encapsulation:2,changeDetection:0})}return c})()},53202:(Ae,ee,l)=>{"use strict";l.d(ee,{Q:()=>p});var i=l(21413),t=l(2615);let p=(()=>{var S;class c{constructor(){this.sessionSub=new i.B}watchSession(){return this.sessionSub.asObservable()}getItem(T){return sessionStorage.getItem(T)}getAllItems(){return sessionStorage}setItem(T,g){sessionStorage.setItem(T,g),this.sessionSub.next(sessionStorage)}removeItem(T){sessionStorage.removeItem(T),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}static#e=S=()=>(this.\u0275fac=function(g){return new(g||c)},this.\u0275prov=t.jDH({token:c,factory:c.\u0275fac}))}return S(),c})()},53459:(Ae,ee,l)=>{var i=l(57223),t=l(35294);function p(S){this.rand=S||new t.Rand}Ae.exports=p,p.create=function(c){return new p(c)},p.prototype._randbelow=function(c){var e=c.bitLength(),T=Math.ceil(e/8);do{var g=new i(this.rand.generate(T))}while(g.cmp(c)>=0);return g},p.prototype._randrange=function(c,e){var T=e.sub(c);return c.add(this._randbelow(T))},p.prototype.test=function(c,e,T){var g=c.bitLength(),d=i.mont(c),w=new i(1).toRed(d);e||(e=Math.max(1,g/48|0));for(var m=c.subn(1),P=0;!m.testn(P);P++);for(var M=c.shrn(P),j=m.toRed(d);e>0;e--){var K=this._randrange(new i(2),m);T&&T(K);var q=K.toRed(d).redPow(M);if(0!==q.cmp(w)&&0!==q.cmp(j)){for(var G=1;G<P;G++){if(0===(q=q.redSqr()).cmp(w))return!1;if(0===q.cmp(j))break}if(G===P)return!1}}return!0},p.prototype.getDivisor=function(c,e){var T=c.bitLength(),g=i.mont(c),d=new i(1).toRed(g);e||(e=Math.max(1,T/48|0));for(var w=c.subn(1),m=0;!w.testn(m);m++);for(var P=c.shrn(m),M=w.toRed(g);e>0;e--){var j=this._randrange(new i(2),w),U=c.gcd(j);if(0!==U.cmpn(1))return U;var K=j.toRed(g).redPow(P);if(0!==K.cmp(d)&&0!==K.cmp(M)){for(var q=1;q<m;q++){if(0===(K=K.redSqr()).cmp(d))return K.fromRed().subn(1).gcd(c);if(0===K.cmp(M))break}if(q===m)return(K=K.redSqr()).fromRed().subn(1).gcd(c)}}return!1}},53993:(Ae,ee,l)=>{"use strict";l.d(ee,{E:()=>T});var i=l(39974),t=l(54360),p=l(58750),S=l(33669),c=l(85343),e=l(9326);function T(...g){const d=(0,e.ms)(g);return(0,i.N)((w,m)=>{const P=g.length,M=new Array(P);let j=g.map(()=>!1),U=!1;for(let K=0;K<P;K++)(0,p.Tg)(g[K]).subscribe((0,t._)(m,q=>{M[K]=q,!U&&!j[K]&&(j[K]=!0,(U=j.every(S.D))&&(j=null))},c.l));w.subscribe((0,t._)(m,K=>{if(U){const q=[K,...M];m.next(d?d(...q):q)}}))})}},54272:(Ae,ee,l)=>{var i=l(83838),t=i.Buffer;function p(c,e){for(var T in c)e[T]=c[T]}function S(c,e,T){return t(c,e,T)}t.from&&t.alloc&&t.allocUnsafe&&t.allocUnsafeSlow?Ae.exports=i:(p(i,ee),ee.Buffer=S),p(t,S),S.from=function(c,e,T){if("number"==typeof c)throw new TypeError("Argument must not be a number");return t(c,e,T)},S.alloc=function(c,e,T){if("number"!=typeof c)throw new TypeError("Argument must be a number");var g=t(c);return void 0!==e?"string"==typeof T?g.fill(e,T):g.fill(e):g.fill(0),g},S.allocUnsafe=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return t(c)},S.allocUnsafeSlow=function(c){if("number"!=typeof c)throw new TypeError("Argument must be a number");return i.SlowBuffer(c)}},54360:(Ae,ee,l)=>{"use strict";l.d(ee,{H:()=>p,_:()=>t});var i=l(47707);function t(S,c,e,T,g){return new p(S,c,e,T,g)}class p extends i.vU{constructor(c,e,T,g,d,w){super(c),this.onFinalize=d,this.shouldUnsubscribe=w,this._next=e?function(m){try{e(m)}catch(P){c.error(P)}}:super._next,this._error=g?function(m){try{g(m)}catch(P){c.error(P)}finally{this.unsubscribe()}}:super._error,this._complete=T?function(){try{T()}catch(m){c.error(m)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}},54969:(Ae,ee,l)=>{const i=l(91677);function t(p){this.mode=i.BYTE,this.data="string"==typeof p?(new TextEncoder).encode(p):new Uint8Array(p)}t.getBitsLength=function(S){return 8*S},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(p){for(let S=0,c=this.data.length;S<c;S++)p.put(this.data[S],8)},Ae.exports=t},55055:(Ae,ee,l)=>{"use strict";l.d(ee,{l:()=>p});var i=l(3494),t=l(98071);function p(S){return(0,t.T)(S[i.s])}},55537:(Ae,ee,l)=>{"use strict";var i=l(3136),t=l(88723),p=l(71993),S=l(98828),c=i.assert;function e(g){this.twisted=1!=(0|g.a),this.mOneA=this.twisted&&-1==(0|g.a),this.extended=this.mOneA,S.call(this,"edwards",g),this.a=new t(g.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new t(g.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new t(g.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),c(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|g.c)}function T(g,d,w,m,P){S.BasePoint.call(this,g,"projective"),null===d&&null===w&&null===m?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new t(d,16),this.y=new t(w,16),this.z=m?new t(m,16):this.curve.one,this.t=P&&new t(P,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()))))}p(e,S),Ae.exports=e,e.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},e.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},e.prototype.jpoint=function(d,w,m,P){return this.point(d,w,m,P)},e.prototype.pointFromX=function(d,w){(d=new t(d,16)).red||(d=d.toRed(this.red));var m=d.redSqr(),P=this.c2.redSub(this.a.redMul(m)),M=this.one.redSub(this.c2.redMul(this.d).redMul(m)),j=P.redMul(M.redInvm()),U=j.redSqrt();if(0!==U.redSqr().redSub(j).cmp(this.zero))throw new Error("invalid point");var K=U.fromRed().isOdd();return(w&&!K||!w&&K)&&(U=U.redNeg()),this.point(d,U)},e.prototype.pointFromY=function(d,w){(d=new t(d,16)).red||(d=d.toRed(this.red));var m=d.redSqr(),P=m.redSub(this.c2),M=m.redMul(this.d).redMul(this.c2).redSub(this.a),j=P.redMul(M.redInvm());if(0===j.cmp(this.zero)){if(w)throw new Error("invalid point");return this.point(this.zero,d)}var U=j.redSqrt();if(0!==U.redSqr().redSub(j).cmp(this.zero))throw new Error("invalid point");return U.fromRed().isOdd()!==w&&(U=U.redNeg()),this.point(U,d)},e.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var w=d.x.redSqr(),m=d.y.redSqr(),P=w.redMul(this.a).redAdd(m),M=this.c2.redMul(this.one.redAdd(this.d.redMul(w).redMul(m)));return 0===P.cmp(M)},p(T,S.BasePoint),e.prototype.pointFromJSON=function(d){return T.fromJSON(this,d)},e.prototype.point=function(d,w,m,P){return new T(this,d,w,m,P)},T.fromJSON=function(d,w){return new T(d,w[0],w[1],w[2])},T.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},T.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},T.prototype._extDbl=function(){var d=this.x.redSqr(),w=this.y.redSqr(),m=this.z.redSqr();m=m.redIAdd(m);var P=this.curve._mulA(d),M=this.x.redAdd(this.y).redSqr().redISub(d).redISub(w),j=P.redAdd(w),U=j.redSub(m),K=P.redSub(w),q=M.redMul(U),G=j.redMul(K),Q=M.redMul(K),$=U.redMul(j);return this.curve.point(q,G,$,Q)},T.prototype._projDbl=function(){var P,M,j,U,K,q,d=this.x.redAdd(this.y).redSqr(),w=this.x.redSqr(),m=this.y.redSqr();if(this.curve.twisted){var G=(U=this.curve._mulA(w)).redAdd(m);this.zOne?(P=d.redSub(w).redSub(m).redMul(G.redSub(this.curve.two)),M=G.redMul(U.redSub(m)),j=G.redSqr().redSub(G).redSub(G)):(K=this.z.redSqr(),q=G.redSub(K).redISub(K),P=d.redSub(w).redISub(m).redMul(q),M=G.redMul(U.redSub(m)),j=G.redMul(q))}else U=w.redAdd(m),K=this.curve._mulC(this.z).redSqr(),q=U.redSub(K).redSub(K),P=this.curve._mulC(d.redISub(U)).redMul(q),M=this.curve._mulC(U).redMul(w.redISub(m)),j=U.redMul(q);return this.curve.point(P,M,j)},T.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},T.prototype._extAdd=function(d){var w=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),m=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),P=this.t.redMul(this.curve.dd).redMul(d.t),M=this.z.redMul(d.z.redAdd(d.z)),j=m.redSub(w),U=M.redSub(P),K=M.redAdd(P),q=m.redAdd(w),G=j.redMul(U),Q=K.redMul(q),$=j.redMul(q),ae=U.redMul(K);return this.curve.point(G,Q,ae,$)},T.prototype._projAdd=function(d){var Q,$,w=this.z.redMul(d.z),m=w.redSqr(),P=this.x.redMul(d.x),M=this.y.redMul(d.y),j=this.curve.d.redMul(P).redMul(M),U=m.redSub(j),K=m.redAdd(j),q=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(P).redISub(M),G=w.redMul(U).redMul(q);return this.curve.twisted?(Q=w.redMul(K).redMul(M.redSub(this.curve._mulA(P))),$=U.redMul(K)):(Q=w.redMul(K).redMul(M.redSub(P)),$=this.curve._mulC(U).redMul(K)),this.curve.point(G,Q,$)},T.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},T.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},T.prototype.mulAdd=function(d,w,m){return this.curve._wnafMulAdd(1,[this,w],[d,m],2,!1)},T.prototype.jmulAdd=function(d,w,m){return this.curve._wnafMulAdd(1,[this,w],[d,m],2,!0)},T.prototype.normalize=function(){if(this.zOne)return this;var d=this.z.redInvm();return this.x=this.x.redMul(d),this.y=this.y.redMul(d),this.t&&(this.t=this.t.redMul(d)),this.z=this.curve.one,this.zOne=!0,this},T.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},T.prototype.getX=function(){return this.normalize(),this.x.fromRed()},T.prototype.getY=function(){return this.normalize(),this.y.fromRed()},T.prototype.eq=function(d){return this===d||0===this.getX().cmp(d.getX())&&0===this.getY().cmp(d.getY())},T.prototype.eqXToP=function(d){var w=d.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(w))return!0;for(var m=d.clone(),P=this.curve.redN.redMul(this.z);;){if(m.iadd(this.curve.n),m.cmp(this.curve.p)>=0)return!1;if(w.redIAdd(P),0===this.x.cmp(w))return!0}},T.prototype.toP=T.prototype.normalize,T.prototype.mixedAdd=T.prototype.add},55911:(Ae,ee,l)=>{"use strict";l.d(ee,{KQ:()=>g,s5:()=>w});var i=l(2615),t=l(73664),p=l(39842),S=l(22466);const c=["*",[["mat-toolbar-row"]]],e=["*","mat-toolbar-row"];let T=(()=>{class m{static \u0275fac=function(j){return new(j||m)};static \u0275dir=t.FsC({type:m,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return m})(),g=(()=>{class m{_elementRef=(0,i.WQX)(t.aKT);_platform=(0,i.WQX)(p.O);_document=(0,i.WQX)(i.qQL);color;_toolbarRows;constructor(){}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static \u0275fac=function(j){return new(j||m)};static \u0275cmp=t.VBU({type:m,selectors:[["mat-toolbar"]],contentQueries:function(j,U,K){if(1&j&&t.wni(K,T,5),2&j){let q;t.mGM(q=t.lsd())&&(U._toolbarRows=q)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(j,U){2&j&&(t.HbH(U.color?"mat-"+U.color:""),t.AVh("mat-toolbar-multiple-rows",U._toolbarRows.length>0)("mat-toolbar-single-row",0===U._toolbarRows.length))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:e,decls:2,vars:0,template:function(j,U){1&j&&(t.NAR(c),t.SdG(0),t.SdG(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-sys-surface));color:var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.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, var(--mat-sys-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-sys-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-sys-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-sys-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-sys-title-large-tracking));margin:0}@media(forced-colors: 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{--mat-button-text-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface));--mat-button-outlined-label-text-color: var(--mat-toolbar-container-text-color, var(--mat-sys-on-surface))}.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, 64px)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height, 56px)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height, 64px)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height, 56px)}}\n"],encapsulation:2,changeDetection:0})}return m})(),w=(()=>{class m{static \u0275fac=function(j){return new(j||m)};static \u0275mod=t.$C({type:m});static \u0275inj=i.G2t({imports:[S.y,S.y]})}return m})()},55941:(Ae,ee,l)=>{var i=l(71993),t=l(49609),p=t.base,S=t.bignum,c=t.constants.der;function e(w){this.enc="der",this.name=w.name,this.entity=w,this.tree=new T,this.tree._init(w.body)}function T(w){p.Node.call(this,"der",w)}function g(w,m){var P=w.readUInt8(m);if(w.isError(P))return P;var M=c.tagClass[P>>6],j=!(32&P);if(31&~P)P&=31;else{var U=P;for(P=0;!(128&~U);){if(U=w.readUInt8(m),w.isError(U))return U;P<<=7,P|=127&U}}return{cls:M,primitive:j,tag:P,tagStr:c.tag[P]}}function d(w,m,P){var M=w.readUInt8(P);if(w.isError(M))return M;if(!m&&128===M)return null;if(!(128&M))return M;var j=127&M;if(j>4)return w.error("length octect is too long");M=0;for(var U=0;U<j;U++){M<<=8;var K=w.readUInt8(P);if(w.isError(K))return K;M|=K}return M}Ae.exports=e,e.prototype.decode=function(m,P){return m instanceof p.DecoderBuffer||(m=new p.DecoderBuffer(m,P)),this.tree._decode(m,P)},i(T,p.Node),T.prototype._peekTag=function(m,P,M){if(m.isEmpty())return!1;var j=m.save(),U=g(m,'Failed to peek tag: "'+P+'"');return m.isError(U)?U:(m.restore(j),U.tag===P||U.tagStr===P||U.tagStr+"of"===P||M)},T.prototype._decodeTag=function(m,P,M){var j=g(m,'Failed to decode tag of "'+P+'"');if(m.isError(j))return j;var U=d(m,j.primitive,'Failed to get length of "'+P+'"');if(m.isError(U))return U;if(!M&&j.tag!==P&&j.tagStr!==P&&j.tagStr+"of"!==P)return m.error('Failed to match tag: "'+P+'"');if(j.primitive||null!==U)return m.skip(U,'Failed to match body of: "'+P+'"');var K=m.save(),q=this._skipUntilEnd(m,'Failed to skip indefinite length body: "'+this.tag+'"');return m.isError(q)?q:(U=m.offset-K.offset,m.restore(K),m.skip(U,'Failed to match body of: "'+P+'"'))},T.prototype._skipUntilEnd=function(m,P){for(;;){var M=g(m,P);if(m.isError(M))return M;var U,j=d(m,M.primitive,P);if(m.isError(j))return j;if(U=M.primitive||null!==j?m.skip(j):this._skipUntilEnd(m,P),m.isError(U))return U;if("end"===M.tagStr)break}},T.prototype._decodeList=function(m,P,M,j){for(var U=[];!m.isEmpty();){var K=this._peekTag(m,"end");if(m.isError(K))return K;var q=M.decode(m,"der",j);if(m.isError(q)&&K)break;U.push(q)}return U},T.prototype._decodeStr=function(m,P){if("bitstr"===P){var M=m.readUInt8();return m.isError(M)?M:{unused:M,data:m.raw()}}if("bmpstr"===P){var j=m.raw();if(j.length%2==1)return m.error("Decoding of string type: bmpstr length mismatch");for(var U="",K=0;K<j.length/2;K++)U+=String.fromCharCode(j.readUInt16BE(2*K));return U}if("numstr"===P){var q=m.raw().toString("ascii");return this._isNumstr(q)?q:m.error("Decoding of string type: numstr unsupported characters")}if("octstr"===P)return m.raw();if("objDesc"===P)return m.raw();if("printstr"===P){var G=m.raw().toString("ascii");return this._isPrintstr(G)?G:m.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(P)?m.raw().toString():m.error("Decoding of string type: "+P+" unsupported")},T.prototype._decodeObjid=function(m,P,M){for(var j,U=[],K=0;!m.isEmpty();){var q=m.readUInt8();K<<=7,K|=127&q,!(128&q)&&(U.push(K),K=0)}if(128&q&&U.push(K),j=M?U:[U[0]/40|0,U[0]%40].concat(U.slice(1)),P){var $=P[j.join(" ")];void 0===$&&($=P[j.join(".")]),void 0!==$&&(j=$)}return j},T.prototype._decodeTime=function(m,P){var M=m.raw().toString();if("gentime"===P)var j=0|M.slice(0,4),U=0|M.slice(4,6),K=0|M.slice(6,8),q=0|M.slice(8,10),G=0|M.slice(10,12),Q=0|M.slice(12,14);else{if("utctime"!==P)return m.error("Decoding "+P+" time is not supported yet");j=0|M.slice(0,2),U=0|M.slice(2,4),K=0|M.slice(4,6),q=0|M.slice(6,8),G=0|M.slice(8,10),Q=0|M.slice(10,12),j=j<70?2e3+j:1900+j}return Date.UTC(j,U-1,K,q,G,Q,0)},T.prototype._decodeNull=function(m){return null},T.prototype._decodeBool=function(m){var P=m.readUInt8();return m.isError(P)?P:0!==P},T.prototype._decodeInt=function(m,P){var M=m.raw(),j=new S(M);return P&&(j=P[j.toString(10)]||j),j},T.prototype._use=function(m,P){return"function"==typeof m&&(m=m(P)),m._getDecoder("der").tree}},56114:(Ae,ee,l)=>{"use strict";l.d(ee,{V:()=>p});var i=l(89417),t=l(73664);let p=(()=>{var S;class c{validate(T){return this.min?i.k0.min(+this.min)(T):null}static#e=S=()=>(this.\u0275fac=function(g){return new(g||c)},this.\u0275dir=t.FsC({type:c,selectors:[["input","min",""]],inputs:{min:"min"},standalone:!1,features:[t.Jv_([{provide:i.cz,useExisting:c,multi:!0}])]}))}return S(),c})()},56432:(Ae,ee,l)=>{"use strict";var i=l(71993),t=l(90509),p=l(3247),S=l(27054).Buffer,c=l(83407),e=l(36636),T=l(25443),g=S.alloc(128);function d(w,m){p.call(this,"digest"),"string"==typeof m&&(m=S.from(m));var P="sha512"===w||"sha384"===w?128:64;this._alg=w,this._key=m,m.length>P?m=("rmd160"===w?new e:T(w)).update(m).digest():m.length<P&&(m=S.concat([m,g],P));for(var j=this._ipad=S.allocUnsafe(P),U=this._opad=S.allocUnsafe(P),K=0;K<P;K++)j[K]=54^m[K],U[K]=92^m[K];this._hash="rmd160"===w?new e:T(w),this._hash.update(j)}i(d,p),d.prototype._update=function(w){this._hash.update(w)},d.prototype._final=function(){var w=this._hash.digest();return("rmd160"===this._alg?new e:T(this._alg)).update(this._opad).update(w).digest()},Ae.exports=function(m,P){return"rmd160"===(m=m.toLowerCase())||"ripemd160"===m?new d("rmd160",P):"md5"===m?new t(c,P):new d(m,P)}},56471:Ae=>{var ee={}.toString;Ae.exports=Array.isArray||function(l){return"[object Array]"==ee.call(l)}},56511:(Ae,ee,l)=>{const i=l(47077);function t(c,e){const T=c.a/255,g=e+'="'+c.hex+'"';return T<1?g+" "+e+'-opacity="'+T.toFixed(2).slice(1)+'"':g}function p(c,e,T){let g=c+e;return typeof T<"u"&&(g+=" "+T),g}ee.render=function(e,T,g){const d=i.getOptions(T),w=e.modules.size,m=e.modules.data,P=w+2*d.margin,M=d.color.light.a?"<path "+t(d.color.light,"fill")+' d="M0 0h'+P+"v"+P+'H0z"/>':"",j="<path "+t(d.color.dark,"stroke")+' d="'+function S(c,e,T){let g="",d=0,w=!1,m=0;for(let P=0;P<c.length;P++){const M=Math.floor(P%e),j=Math.floor(P/e);!M&&!w&&(w=!0),c[P]?(m++,P>0&&M>0&&c[P-1]||(g+=w?p("M",M+T,.5+j+T):p("m",d,0),d=0,w=!1),M+1<e&&c[P+1]||(g+=p("h",m),m=0)):d++}return g}(m,w,d.margin)+'"/>',q='<svg xmlns="http://www.w3.org/2000/svg" '+(d.width?'width="'+d.width+'" height="'+d.width+'" ':"")+'viewBox="0 0 '+P+" "+P+'" shape-rendering="crispEdges">'+M+j+"</svg>\n";return"function"==typeof g&&g(null,q),q}},56977:(Ae,ee,l)=>{"use strict";l.d(ee,{Q:()=>c});var i=l(39974),t=l(54360),p=l(58750),S=l(85343);function c(e){return(0,i.N)((T,g)=>{(0,p.Tg)(e).subscribe((0,t._)(g,()=>g.complete(),S.l)),!g.closed&&T.subscribe(g)})}},57223:function(Ae,ee,l){!function(i,t){"use strict";function p(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var o=function(){};o.prototype=n.prototype,D.prototype=new o,D.prototype.constructor=D}function c(D,n,o){if(c.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(D||0,n||10,o||"be"))}var e;"object"==typeof i?i.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{e=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:l(64688).Buffer}catch{}function T(D,n){var o=D.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function g(D,n,o){var f=T(D,o);return o-1>=n&&(f|=T(D,o-1)<<4),f}function d(D,n,o,f){for(var h=0,b=Math.min(D.length,o),A=n;A<b;A++){var k=D.charCodeAt(A)-48;h*=f,h+=k>=49?k-49+10:k>=17?k-17+10:k}return h}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,f){if("number"==typeof n)return this._initNumber(n,o,f);if("object"==typeof n)return this._initArray(n,o,f);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===o?this._parseHex(n,h,f):(this._parseBase(n,o,h),"le"===f&&this._initArray(this.toArray(),o,f)))},c.prototype._initNumber=function(n,o,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(p(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),o,f)},c.prototype._initArray=function(n,o,f){if(p("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var b,A,k=0;if("be"===f)for(h=n.length-1,b=0;h>=0;h-=3)this.words[b]|=(A=n[h]|n[h-1]<<8|n[h-2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);else if("le"===f)for(h=0,b=0;h<n.length;h+=3)this.words[b]|=(A=n[h]|n[h+1]<<8|n[h+2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);return this.strip()},c.prototype._parseHex=function(n,o,f){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var k,b=0,A=0;if("be"===f)for(h=n.length-1;h>=o;h-=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;else for(h=(n.length-o)%2==0?o+1:o;h<n.length;h+=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;this.strip()},c.prototype._parseBase=function(n,o,f){this.words=[0],this.length=1;for(var h=0,b=1;b<=67108863;b*=o)h++;h--,b=b/o|0;for(var A=n.length-f,k=A%h,x=Math.min(A,A-k)+f,r=0,_=f;_<x;_+=h)r=d(n,_,_+h,o),this.imuln(b),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==k){var W=1;for(r=d(n,_,n.length,o),_=0;_<k;_++)W*=o;this.imuln(W),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},c.prototype.copy=function(n){n.words=new Array(this.length);for(var o=0;o<this.length;o++)n.words[o]=this.words[o];n.length=this.length,n.negative=this.negative,n.red=this.red},c.prototype.clone=function(){var n=new c(null);return this.copy(n),n},c.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var w=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],P=[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 j(D,n,o){o.negative=n.negative^D.negative;var f=D.length+n.length|0;o.length=f,f=f-1|0;var h=0|D.words[0],b=0|n.words[0],A=h*b,x=A/67108864|0;o.words[0]=67108863&A;for(var r=1;r<f;r++){for(var _=x>>>26,W=67108863&x,I=Math.min(r,n.length-1),B=Math.max(0,r-D.length+1);B<=I;B++)_+=(A=(h=0|D.words[r-B|0])*(b=0|n.words[B])+W)/67108864|0,W=67108863&A;o.words[r]=0|W,x=0|_}return 0!==x?o.words[r]=0|x:o.length--,o.strip()}c.prototype.toString=function(n,o){var f;if(o=0|o||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,b=0,A=0;A<this.length;A++){var k=this.words[A],x=(16777215&(k<<h|b)).toString(16);b=k>>>24-h&16777215,(h+=2)>=26&&(h-=26,A--),f=0!==b||A!==this.length-1?w[6-x.length]+x+f:x+f}for(0!==b&&(f=b.toString(16)+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],_=P[n];f="";var W=this.clone();for(W.negative=0;!W.isZero();){var I=W.modn(_).toString(n);f=(W=W.idivn(_)).isZero()?I+f:w[r-I.length]+I+f}for(this.isZero()&&(f="0"+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}p(!1,"Base should be between 2 and 36")},c.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&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof e<"u"),this.toArrayLike(e,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,f){var h=this.byteLength(),b=f||Math.max(1,h);p(h<=b,"byte array longer than desired length"),p(b>0,"Requested array length <= 0"),this.strip();var x,r,A="le"===o,k=new n(b),_=this.clone();if(A){for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[r]=x;for(;r<b;r++)k[r]=0}else{for(r=0;r<b-h;r++)k[r]=0;for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[b-r-1]=x}return k},c.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var o=n,f=0;return o>=4096&&(f+=13,o>>>=13),o>=64&&(f+=7,o>>>=7),o>=8&&(f+=4,o>>>=4),o>=2&&(f+=2,o>>>=2),f+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,f=0;return!(8191&o)&&(f+=13,o>>>=13),!(127&o)&&(f+=7,o>>>=7),!(15&o)&&(f+=4,o>>>=4),!(3&o)&&(f+=2,o>>>=2),!(1&o)&&f++,f},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;o<this.length;o++){var f=this._zeroBits(this.words[o]);if(n+=f,26!==f)break}return n},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},c.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var o=0;o<n.length;o++)this.words[o]=this.words[o]|n.words[o];return this.strip()},c.prototype.ior=function(n){return p(0===(this.negative|n.negative)),this.iuor(n)},c.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var f=0;f<o.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=o.length,this.strip()},c.prototype.iand=function(n){return p(0===(this.negative|n.negative)),this.iuand(n)},c.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,f;this.length>n.length?(o=this,f=n):(o=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=o.words[h]^f.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},c.prototype.ixor=function(n){return p(0===(this.negative|n.negative)),this.iuxor(n)},c.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),f=n%26;this._expand(o),f>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=o?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},c.prototype.iadd=function(n){var o,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,o=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,o=this.isub(n),n.negative=1,o._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var b=0,A=0;A<h.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+(0|h.words[A])+b),b=o>>>26;for(;0!==b&&A<f.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+b),b=o>>>26;if(this.length=f.length,0!==b)this.words[this.length]=b,this.length++;else if(f!==this)for(;A<f.length;A++)this.words[A]=f.words[A];return this},c.prototype.add=function(n){var o;return 0!==n.negative&&0===this.negative?(n.negative=0,o=this.sub(n),n.negative^=1,o):0===n.negative&&0!==this.negative?(this.negative=0,o=n.sub(this),this.negative=1,o):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,b,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,b=n):(h=n,b=this);for(var A=0,k=0;k<b.length;k++)A=(o=(0|h.words[k])-(0|b.words[k])+A)>>26,this.words[k]=67108863&o;for(;0!==A&&k<h.length;k++)A=(o=(0|h.words[k])+A)>>26,this.words[k]=67108863&o;if(0===A&&k<h.length&&h!==this)for(;k<h.length;k++)this.words[k]=h.words[k];return this.length=Math.max(this.length,k),h!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(n){return this.clone().isub(n)};var U=function(n,o,f){var x,r,_,h=n.words,b=o.words,A=f.words,k=0,W=0|h[0],I=8191&W,B=W>>>13,re=0|h[1],pe=8191&re,be=re>>>13,Be=0|h[2],_e=8191&Be,ye=Be>>>13,Le=0|h[3],Ke=8191&Le,ge=Le>>>13,ve=0|h[4],Oe=8191&ve,Ee=ve>>>13,dt=0|h[5],nt=8191&dt,Ct=dt>>>13,Mt=0|h[6],lt=8191&Mt,Pe=Mt>>>13,Ht=0|h[7],ct=8191&Ht,Ce=Ht>>>13,ze=0|h[8],Z=8191&ze,J=ze>>>13,fe=0|h[9],Ie=8191&fe,ht=fe>>>13,li=0|b[0],Qt=8191&li,di=li>>>13,kt=0|b[1],Rt=8191&kt,le=kt>>>13,te=0|b[2],ce=8191&te,se=te>>>13,ke=0|b[3],Ue=8191&ke,Ne=ke>>>13,Kt=0|b[4],yt=8191&Kt,Vt=Kt>>>13,Zt=0|b[5],ti=8191&Zt,Ye=Zt>>>13,Nt=0|b[6],Et=8191&Nt,Jt=Nt>>>13,qe=0|b[7],$e=8191&qe,tt=qe>>>13,vi=0|b[8],ei=8191&vi,ci=vi>>>13,Hi=0|b[9],oi=8191&Hi,ui=Hi>>>13;f.negative=n.negative^o.negative,f.length=19;var ln=(k+(x=Math.imul(I,Qt))|0)+((8191&(r=(r=Math.imul(I,di))+Math.imul(B,Qt)|0))<<13)|0;k=((_=Math.imul(B,di))+(r>>>13)|0)+(ln>>>26)|0,ln&=67108863,x=Math.imul(pe,Qt),r=(r=Math.imul(pe,di))+Math.imul(be,Qt)|0,_=Math.imul(be,di);var nn=(k+(x=x+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,le)|0)+Math.imul(B,Rt)|0))<<13)|0;k=((_=_+Math.imul(B,le)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,x=Math.imul(_e,Qt),r=(r=Math.imul(_e,di))+Math.imul(ye,Qt)|0,_=Math.imul(ye,di),x=x+Math.imul(pe,Rt)|0,r=(r=r+Math.imul(pe,le)|0)+Math.imul(be,Rt)|0,_=_+Math.imul(be,le)|0;var dn=(k+(x=x+Math.imul(I,ce)|0)|0)+((8191&(r=(r=r+Math.imul(I,se)|0)+Math.imul(B,ce)|0))<<13)|0;k=((_=_+Math.imul(B,se)|0)+(r>>>13)|0)+(dn>>>26)|0,dn&=67108863,x=Math.imul(Ke,Qt),r=(r=Math.imul(Ke,di))+Math.imul(ge,Qt)|0,_=Math.imul(ge,di),x=x+Math.imul(_e,Rt)|0,r=(r=r+Math.imul(_e,le)|0)+Math.imul(ye,Rt)|0,_=_+Math.imul(ye,le)|0,x=x+Math.imul(pe,ce)|0,r=(r=r+Math.imul(pe,se)|0)+Math.imul(be,ce)|0,_=_+Math.imul(be,se)|0;var zn=(k+(x=x+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ne)|0)+Math.imul(B,Ue)|0))<<13)|0;k=((_=_+Math.imul(B,Ne)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,x=Math.imul(Oe,Qt),r=(r=Math.imul(Oe,di))+Math.imul(Ee,Qt)|0,_=Math.imul(Ee,di),x=x+Math.imul(Ke,Rt)|0,r=(r=r+Math.imul(Ke,le)|0)+Math.imul(ge,Rt)|0,_=_+Math.imul(ge,le)|0,x=x+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,se)|0)+Math.imul(ye,ce)|0,_=_+Math.imul(ye,se)|0,x=x+Math.imul(pe,Ue)|0,r=(r=r+Math.imul(pe,Ne)|0)+Math.imul(be,Ue)|0,_=_+Math.imul(be,Ne)|0;var It=(k+(x=x+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Vt)|0)+Math.imul(B,yt)|0))<<13)|0;k=((_=_+Math.imul(B,Vt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,x=Math.imul(nt,Qt),r=(r=Math.imul(nt,di))+Math.imul(Ct,Qt)|0,_=Math.imul(Ct,di),x=x+Math.imul(Oe,Rt)|0,r=(r=r+Math.imul(Oe,le)|0)+Math.imul(Ee,Rt)|0,_=_+Math.imul(Ee,le)|0,x=x+Math.imul(Ke,ce)|0,r=(r=r+Math.imul(Ke,se)|0)+Math.imul(ge,ce)|0,_=_+Math.imul(ge,se)|0,x=x+Math.imul(_e,Ue)|0,r=(r=r+Math.imul(_e,Ne)|0)+Math.imul(ye,Ue)|0,_=_+Math.imul(ye,Ne)|0,x=x+Math.imul(pe,yt)|0,r=(r=r+Math.imul(pe,Vt)|0)+Math.imul(be,yt)|0,_=_+Math.imul(be,Vt)|0;var Tt=(k+(x=x+Math.imul(I,ti)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ye)|0)+Math.imul(B,ti)|0))<<13)|0;k=((_=_+Math.imul(B,Ye)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,x=Math.imul(lt,Qt),r=(r=Math.imul(lt,di))+Math.imul(Pe,Qt)|0,_=Math.imul(Pe,di),x=x+Math.imul(nt,Rt)|0,r=(r=r+Math.imul(nt,le)|0)+Math.imul(Ct,Rt)|0,_=_+Math.imul(Ct,le)|0,x=x+Math.imul(Oe,ce)|0,r=(r=r+Math.imul(Oe,se)|0)+Math.imul(Ee,ce)|0,_=_+Math.imul(Ee,se)|0,x=x+Math.imul(Ke,Ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,Ue)|0,_=_+Math.imul(ge,Ne)|0,x=x+Math.imul(_e,yt)|0,r=(r=r+Math.imul(_e,Vt)|0)+Math.imul(ye,yt)|0,_=_+Math.imul(ye,Vt)|0,x=x+Math.imul(pe,ti)|0,r=(r=r+Math.imul(pe,Ye)|0)+Math.imul(be,ti)|0,_=_+Math.imul(be,Ye)|0;var Ze=(k+(x=x+Math.imul(I,Et)|0)|0)+((8191&(r=(r=r+Math.imul(I,Jt)|0)+Math.imul(B,Et)|0))<<13)|0;k=((_=_+Math.imul(B,Jt)|0)+(r>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,x=Math.imul(ct,Qt),r=(r=Math.imul(ct,di))+Math.imul(Ce,Qt)|0,_=Math.imul(Ce,di),x=x+Math.imul(lt,Rt)|0,r=(r=r+Math.imul(lt,le)|0)+Math.imul(Pe,Rt)|0,_=_+Math.imul(Pe,le)|0,x=x+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,se)|0)+Math.imul(Ct,ce)|0,_=_+Math.imul(Ct,se)|0,x=x+Math.imul(Oe,Ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Ee,Ue)|0,_=_+Math.imul(Ee,Ne)|0,x=x+Math.imul(Ke,yt)|0,r=(r=r+Math.imul(Ke,Vt)|0)+Math.imul(ge,yt)|0,_=_+Math.imul(ge,Vt)|0,x=x+Math.imul(_e,ti)|0,r=(r=r+Math.imul(_e,Ye)|0)+Math.imul(ye,ti)|0,_=_+Math.imul(ye,Ye)|0,x=x+Math.imul(pe,Et)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(be,Et)|0,_=_+Math.imul(be,Jt)|0;var Ve=(k+(x=x+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,tt)|0)+Math.imul(B,$e)|0))<<13)|0;k=((_=_+Math.imul(B,tt)|0)+(r>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,x=Math.imul(Z,Qt),r=(r=Math.imul(Z,di))+Math.imul(J,Qt)|0,_=Math.imul(J,di),x=x+Math.imul(ct,Rt)|0,r=(r=r+Math.imul(ct,le)|0)+Math.imul(Ce,Rt)|0,_=_+Math.imul(Ce,le)|0,x=x+Math.imul(lt,ce)|0,r=(r=r+Math.imul(lt,se)|0)+Math.imul(Pe,ce)|0,_=_+Math.imul(Pe,se)|0,x=x+Math.imul(nt,Ue)|0,r=(r=r+Math.imul(nt,Ne)|0)+Math.imul(Ct,Ue)|0,_=_+Math.imul(Ct,Ne)|0,x=x+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,Vt)|0)+Math.imul(Ee,yt)|0,_=_+Math.imul(Ee,Vt)|0,x=x+Math.imul(Ke,ti)|0,r=(r=r+Math.imul(Ke,Ye)|0)+Math.imul(ge,ti)|0,_=_+Math.imul(ge,Ye)|0,x=x+Math.imul(_e,Et)|0,r=(r=r+Math.imul(_e,Jt)|0)+Math.imul(ye,Et)|0,_=_+Math.imul(ye,Jt)|0,x=x+Math.imul(pe,$e)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(be,$e)|0,_=_+Math.imul(be,tt)|0;var Fe=(k+(x=x+Math.imul(I,ei)|0)|0)+((8191&(r=(r=r+Math.imul(I,ci)|0)+Math.imul(B,ei)|0))<<13)|0;k=((_=_+Math.imul(B,ci)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,x=Math.imul(Ie,Qt),r=(r=Math.imul(Ie,di))+Math.imul(ht,Qt)|0,_=Math.imul(ht,di),x=x+Math.imul(Z,Rt)|0,r=(r=r+Math.imul(Z,le)|0)+Math.imul(J,Rt)|0,_=_+Math.imul(J,le)|0,x=x+Math.imul(ct,ce)|0,r=(r=r+Math.imul(ct,se)|0)+Math.imul(Ce,ce)|0,_=_+Math.imul(Ce,se)|0,x=x+Math.imul(lt,Ue)|0,r=(r=r+Math.imul(lt,Ne)|0)+Math.imul(Pe,Ue)|0,_=_+Math.imul(Pe,Ne)|0,x=x+Math.imul(nt,yt)|0,r=(r=r+Math.imul(nt,Vt)|0)+Math.imul(Ct,yt)|0,_=_+Math.imul(Ct,Vt)|0,x=x+Math.imul(Oe,ti)|0,r=(r=r+Math.imul(Oe,Ye)|0)+Math.imul(Ee,ti)|0,_=_+Math.imul(Ee,Ye)|0,x=x+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Jt)|0)+Math.imul(ge,Et)|0,_=_+Math.imul(ge,Jt)|0,x=x+Math.imul(_e,$e)|0,r=(r=r+Math.imul(_e,tt)|0)+Math.imul(ye,$e)|0,_=_+Math.imul(ye,tt)|0,x=x+Math.imul(pe,ei)|0,r=(r=r+Math.imul(pe,ci)|0)+Math.imul(be,ei)|0,_=_+Math.imul(be,ci)|0;var it=(k+(x=x+Math.imul(I,oi)|0)|0)+((8191&(r=(r=r+Math.imul(I,ui)|0)+Math.imul(B,oi)|0))<<13)|0;k=((_=_+Math.imul(B,ui)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,x=Math.imul(Ie,Rt),r=(r=Math.imul(Ie,le))+Math.imul(ht,Rt)|0,_=Math.imul(ht,le),x=x+Math.imul(Z,ce)|0,r=(r=r+Math.imul(Z,se)|0)+Math.imul(J,ce)|0,_=_+Math.imul(J,se)|0,x=x+Math.imul(ct,Ue)|0,r=(r=r+Math.imul(ct,Ne)|0)+Math.imul(Ce,Ue)|0,_=_+Math.imul(Ce,Ne)|0,x=x+Math.imul(lt,yt)|0,r=(r=r+Math.imul(lt,Vt)|0)+Math.imul(Pe,yt)|0,_=_+Math.imul(Pe,Vt)|0,x=x+Math.imul(nt,ti)|0,r=(r=r+Math.imul(nt,Ye)|0)+Math.imul(Ct,ti)|0,_=_+Math.imul(Ct,Ye)|0,x=x+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Jt)|0)+Math.imul(Ee,Et)|0,_=_+Math.imul(Ee,Jt)|0,x=x+Math.imul(Ke,$e)|0,r=(r=r+Math.imul(Ke,tt)|0)+Math.imul(ge,$e)|0,_=_+Math.imul(ge,tt)|0,x=x+Math.imul(_e,ei)|0,r=(r=r+Math.imul(_e,ci)|0)+Math.imul(ye,ei)|0,_=_+Math.imul(ye,ci)|0;var bt=(k+(x=x+Math.imul(pe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(pe,ui)|0)+Math.imul(be,oi)|0))<<13)|0;k=((_=_+Math.imul(be,ui)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863,x=Math.imul(Ie,ce),r=(r=Math.imul(Ie,se))+Math.imul(ht,ce)|0,_=Math.imul(ht,se),x=x+Math.imul(Z,Ue)|0,r=(r=r+Math.imul(Z,Ne)|0)+Math.imul(J,Ue)|0,_=_+Math.imul(J,Ne)|0,x=x+Math.imul(ct,yt)|0,r=(r=r+Math.imul(ct,Vt)|0)+Math.imul(Ce,yt)|0,_=_+Math.imul(Ce,Vt)|0,x=x+Math.imul(lt,ti)|0,r=(r=r+Math.imul(lt,Ye)|0)+Math.imul(Pe,ti)|0,_=_+Math.imul(Pe,Ye)|0,x=x+Math.imul(nt,Et)|0,r=(r=r+Math.imul(nt,Jt)|0)+Math.imul(Ct,Et)|0,_=_+Math.imul(Ct,Jt)|0,x=x+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,tt)|0)+Math.imul(Ee,$e)|0,_=_+Math.imul(Ee,tt)|0,x=x+Math.imul(Ke,ei)|0,r=(r=r+Math.imul(Ke,ci)|0)+Math.imul(ge,ei)|0,_=_+Math.imul(ge,ci)|0;var ut=(k+(x=x+Math.imul(_e,oi)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(ye,oi)|0))<<13)|0;k=((_=_+Math.imul(ye,ui)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,x=Math.imul(Ie,Ue),r=(r=Math.imul(Ie,Ne))+Math.imul(ht,Ue)|0,_=Math.imul(ht,Ne),x=x+Math.imul(Z,yt)|0,r=(r=r+Math.imul(Z,Vt)|0)+Math.imul(J,yt)|0,_=_+Math.imul(J,Vt)|0,x=x+Math.imul(ct,ti)|0,r=(r=r+Math.imul(ct,Ye)|0)+Math.imul(Ce,ti)|0,_=_+Math.imul(Ce,Ye)|0,x=x+Math.imul(lt,Et)|0,r=(r=r+Math.imul(lt,Jt)|0)+Math.imul(Pe,Et)|0,_=_+Math.imul(Pe,Jt)|0,x=x+Math.imul(nt,$e)|0,r=(r=r+Math.imul(nt,tt)|0)+Math.imul(Ct,$e)|0,_=_+Math.imul(Ct,tt)|0,x=x+Math.imul(Oe,ei)|0,r=(r=r+Math.imul(Oe,ci)|0)+Math.imul(Ee,ei)|0,_=_+Math.imul(Ee,ci)|0;var jt=(k+(x=x+Math.imul(Ke,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,ui)|0)+Math.imul(ge,oi)|0))<<13)|0;k=((_=_+Math.imul(ge,ui)|0)+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,x=Math.imul(Ie,yt),r=(r=Math.imul(Ie,Vt))+Math.imul(ht,yt)|0,_=Math.imul(ht,Vt),x=x+Math.imul(Z,ti)|0,r=(r=r+Math.imul(Z,Ye)|0)+Math.imul(J,ti)|0,_=_+Math.imul(J,Ye)|0,x=x+Math.imul(ct,Et)|0,r=(r=r+Math.imul(ct,Jt)|0)+Math.imul(Ce,Et)|0,_=_+Math.imul(Ce,Jt)|0,x=x+Math.imul(lt,$e)|0,r=(r=r+Math.imul(lt,tt)|0)+Math.imul(Pe,$e)|0,_=_+Math.imul(Pe,tt)|0,x=x+Math.imul(nt,ei)|0,r=(r=r+Math.imul(nt,ci)|0)+Math.imul(Ct,ei)|0,_=_+Math.imul(Ct,ci)|0;var ai=(k+(x=x+Math.imul(Oe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,ui)|0)+Math.imul(Ee,oi)|0))<<13)|0;k=((_=_+Math.imul(Ee,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,x=Math.imul(Ie,ti),r=(r=Math.imul(Ie,Ye))+Math.imul(ht,ti)|0,_=Math.imul(ht,Ye),x=x+Math.imul(Z,Et)|0,r=(r=r+Math.imul(Z,Jt)|0)+Math.imul(J,Et)|0,_=_+Math.imul(J,Jt)|0,x=x+Math.imul(ct,$e)|0,r=(r=r+Math.imul(ct,tt)|0)+Math.imul(Ce,$e)|0,_=_+Math.imul(Ce,tt)|0,x=x+Math.imul(lt,ei)|0,r=(r=r+Math.imul(lt,ci)|0)+Math.imul(Pe,ei)|0,_=_+Math.imul(Pe,ci)|0;var pi=(k+(x=x+Math.imul(nt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ct,oi)|0))<<13)|0;k=((_=_+Math.imul(Ct,ui)|0)+(r>>>13)|0)+(pi>>>26)|0,pi&=67108863,x=Math.imul(Ie,Et),r=(r=Math.imul(Ie,Jt))+Math.imul(ht,Et)|0,_=Math.imul(ht,Jt),x=x+Math.imul(Z,$e)|0,r=(r=r+Math.imul(Z,tt)|0)+Math.imul(J,$e)|0,_=_+Math.imul(J,tt)|0,x=x+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,ci)|0)+Math.imul(Ce,ei)|0,_=_+Math.imul(Ce,ci)|0;var ki=(k+(x=x+Math.imul(lt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(lt,ui)|0)+Math.imul(Pe,oi)|0))<<13)|0;k=((_=_+Math.imul(Pe,ui)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,x=Math.imul(Ie,$e),r=(r=Math.imul(Ie,tt))+Math.imul(ht,$e)|0,_=Math.imul(ht,tt),x=x+Math.imul(Z,ei)|0,r=(r=r+Math.imul(Z,ci)|0)+Math.imul(J,ei)|0,_=_+Math.imul(J,ci)|0;var Ki=(k+(x=x+Math.imul(ct,oi)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ce,oi)|0))<<13)|0;k=((_=_+Math.imul(Ce,ui)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,x=Math.imul(Ie,ei),r=(r=Math.imul(Ie,ci))+Math.imul(ht,ei)|0,_=Math.imul(ht,ci);var Ji=(k+(x=x+Math.imul(Z,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Z,ui)|0)+Math.imul(J,oi)|0))<<13)|0;k=((_=_+Math.imul(J,ui)|0)+(r>>>13)|0)+(Ji>>>26)|0,Ji&=67108863;var Dn=(k+(x=Math.imul(Ie,oi))|0)+((8191&(r=(r=Math.imul(Ie,ui))+Math.imul(ht,oi)|0))<<13)|0;return k=((_=Math.imul(ht,ui))+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,A[0]=ln,A[1]=nn,A[2]=dn,A[3]=zn,A[4]=It,A[5]=Tt,A[6]=Ze,A[7]=Ve,A[8]=Fe,A[9]=it,A[10]=bt,A[11]=ut,A[12]=jt,A[13]=ai,A[14]=pi,A[15]=ki,A[16]=Ki,A[17]=Ji,A[18]=Dn,0!==k&&(A[19]=k,f.length++),f};function q(D,n,o){return(new G).mulp(D,n,o)}function G(D,n){this.x=D,this.y=n}Math.imul||(U=j),c.prototype.mulTo=function(n,o){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?U(this,n,o):h<63?j(this,n,o):h<1024?function K(D,n,o){o.negative=n.negative^D.negative,o.length=D.length+n.length;for(var f=0,h=0,b=0;b<o.length-1;b++){var A=h;h=0;for(var k=67108863&f,x=Math.min(b,n.length-1),r=Math.max(0,b-D.length+1);r<=x;r++){var B=(0|D.words[b-r])*(0|n.words[r]),re=67108863&B;k=67108863&(re=re+k|0),h+=(A=(A=A+(B/67108864|0)|0)+(re>>>26)|0)>>>26,A&=67108863}o.words[b]=k,f=A,A=h}return 0!==f?o.words[b]=f:o.length--,o.strip()}(this,n,o):q(this,n,o),f},G.prototype.makeRBT=function(n){for(var o=new Array(n),f=c.prototype._countBits(n)-1,h=0;h<n;h++)o[h]=this.revBin(h,f,n);return o},G.prototype.revBin=function(n,o,f){if(0===n||n===f-1)return n;for(var h=0,b=0;b<o;b++)h|=(1&n)<<o-b-1,n>>=1;return h},G.prototype.permute=function(n,o,f,h,b,A){for(var k=0;k<A;k++)h[k]=o[n[k]],b[k]=f[n[k]]},G.prototype.transform=function(n,o,f,h,b,A){this.permute(A,n,o,f,h,b);for(var k=1;k<b;k<<=1)for(var x=k<<1,r=Math.cos(2*Math.PI/x),_=Math.sin(2*Math.PI/x),W=0;W<b;W+=x)for(var I=r,B=_,re=0;re<k;re++){var pe=f[W+re],be=h[W+re],Be=f[W+re+k],_e=h[W+re+k],ye=I*Be-B*_e;_e=I*_e+B*Be,f[W+re]=pe+(Be=ye),h[W+re]=be+_e,f[W+re+k]=pe-Be,h[W+re+k]=be-_e,re!==x&&(ye=r*I-_*B,B=r*B+_*I,I=ye)}},G.prototype.guessLen13b=function(n,o){var f=1|Math.max(o,n),h=1&f,b=0;for(f=f/2|0;f;f>>>=1)b++;return 1<<b+1+h},G.prototype.conjugate=function(n,o,f){if(!(f<=1))for(var h=0;h<f/2;h++){var b=n[h];n[h]=n[f-h-1],n[f-h-1]=b,b=o[h],o[h]=-o[f-h-1],o[f-h-1]=-b}},G.prototype.normalize13b=function(n,o){for(var f=0,h=0;h<o/2;h++){var b=8192*Math.round(n[2*h+1]/o)+Math.round(n[2*h]/o)+f;n[h]=67108863&b,f=b<67108864?0:b/67108864|0}return n},G.prototype.convert13b=function(n,o,f,h){for(var b=0,A=0;A<o;A++)f[2*A]=8191&(b+=0|n[A]),f[2*A+1]=8191&(b>>>=13),b>>>=13;for(A=2*o;A<h;++A)f[A]=0;p(0===b),p(!(-8192&b))},G.prototype.stub=function(n){for(var o=new Array(n),f=0;f<n;f++)o[f]=0;return o},G.prototype.mulp=function(n,o,f){var h=2*this.guessLen13b(n.length,o.length),b=this.makeRBT(h),A=this.stub(h),k=new Array(h),x=new Array(h),r=new Array(h),_=new Array(h),W=new Array(h),I=new Array(h),B=f.words;B.length=h,this.convert13b(n.words,n.length,k,h),this.convert13b(o.words,o.length,_,h),this.transform(k,A,x,r,h,b),this.transform(_,A,W,I,h,b);for(var re=0;re<h;re++){var pe=x[re]*W[re]-r[re]*I[re];r[re]=x[re]*I[re]+r[re]*W[re],x[re]=pe}return this.conjugate(x,r,h),this.transform(x,r,B,A,h,b),this.conjugate(B,A,h),this.normalize13b(B,h),f.negative=n.negative^o.negative,f.length=n.length+o.length,f.strip()},c.prototype.mul=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),this.mulTo(n,o)},c.prototype.mulf=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),q(this,n,o)},c.prototype.imul=function(n){return this.clone().mulTo(n,this)},c.prototype.imuln=function(n){p("number"==typeof n),p(n<67108864);for(var o=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,b=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=b>>>26,this.words[f]=67108863&b}return 0!==o&&(this.words[f]=o,this.length++),this.length=0===n?1:this.length,this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function M(D){for(var n=new Array(D.bitLength()),o=0;o<n.length;o++){var h=o%26;n[o]=(D.words[o/26|0]&1<<h)>>>h}return n}(n);if(0===o.length)return new c(1);for(var f=this,h=0;h<o.length&&0===o[h];h++,f=f.sqr());if(++h<o.length)for(var b=f.sqr();h<o.length;h++,b=b.sqr())0!==o[h]&&(f=f.mul(b));return f},c.prototype.iushln=function(n){p("number"==typeof n&&n>=0);var b,o=n%26,f=(n-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(b=0;b<this.length;b++){var k=this.words[b]&h;this.words[b]=(0|this.words[b])-k<<o|A,A=k>>>26-o}A&&(this.words[b]=A,this.length++)}if(0!==f){for(b=this.length-1;b>=0;b--)this.words[b+f]=this.words[b];for(b=0;b<f;b++)this.words[b]=0;this.length+=f}return this.strip()},c.prototype.ishln=function(n){return p(0===this.negative),this.iushln(n)},c.prototype.iushrn=function(n,o,f){var h;p("number"==typeof n&&n>=0),h=o?(o-o%26)/26:0;var b=n%26,A=Math.min((n-b)/26,this.length),k=67108863^67108863>>>b<<b,x=f;if(h-=A,h=Math.max(0,h),x){for(var r=0;r<A;r++)x.words[r]=this.words[r];x.length=A}if(0!==A)if(this.length>A)for(this.length-=A,r=0;r<this.length;r++)this.words[r]=this.words[r+A];else this.words[0]=0,this.length=1;var _=0;for(r=this.length-1;r>=0&&(0!==_||r>=h);r--){var W=0|this.words[r];this.words[r]=_<<26-b|W>>>b,_=W&k}return x&&0!==_&&(x.words[x.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,f){return p(0===this.negative),this.iushrn(n,o,f)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return!(this.length<=f||!(this.words[f]&1<<o))},c.prototype.imaskn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==o&&f++,this.length=Math.min(f,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(n){return this.clone().imaskn(n)},c.prototype.iaddn=function(n){return p("number"==typeof n),p(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},c.prototype._iaddn=function(n){this.words[0]+=n;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(n){return this.clone().iaddn(n)},c.prototype.subn=function(n){return this.clone().isubn(n)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(n,o,f){var b;this._expand(n.length+f);var A,k=0;for(b=0;b<n.length;b++){A=(0|this.words[b+f])+k;var x=(0|n.words[b])*o;k=((A-=67108863&x)>>26)-(x/67108864|0),this.words[b+f]=67108863&A}for(;b<this.length-f;b++)k=(A=(0|this.words[b+f])+k)>>26,this.words[b+f]=67108863&A;if(0===k)return this.strip();for(p(-1===k),k=0,b=0;b<this.length;b++)k=(A=-(0|this.words[b])+k)>>26,this.words[b]=67108863&A;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var f,h=this.clone(),b=n,A=0|b.words[b.length-1];0!=(f=26-this._countBits(A))&&(b=b.ushln(f),h.iushln(f),A=0|b.words[b.length-1]);var r,x=h.length-b.length;if("mod"!==o){(r=new c(null)).length=x+1,r.words=new Array(r.length);for(var _=0;_<r.length;_++)r.words[_]=0}var W=h.clone()._ishlnsubmul(b,1,x);0===W.negative&&(h=W,r&&(r.words[x]=1));for(var I=x-1;I>=0;I--){var B=67108864*(0|h.words[b.length+I])+(0|h.words[b.length+I-1]);for(B=Math.min(B/A|0,67108863),h._ishlnsubmul(b,B,I);0!==h.negative;)B--,h.negative=0,h._ishlnsubmul(b,1,I),h.isZero()||(h.negative^=1);r&&(r.words[I]=B)}return r&&r.strip(),h.strip(),"div"!==o&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},c.prototype.divmod=function(n,o,f){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.iadd(n)),{div:h,mod:b}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!==(this.negative&n.negative)?(A=this.neg().divmod(n.neg(),o),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.isub(n)),{div:A.div,mod:b}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var h,b,A},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var f=0!==o.div.negative?o.mod.isub(n):o.mod,h=n.ushrn(1),b=n.andln(1),A=f.cmp(h);return A<0||1===b&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(o*f+(0|this.words[h]))%n;return f},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*o;this.words[f]=h/n|0,o=h%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=new c(0),k=new c(1),x=0;o.isEven()&&f.isEven();)o.iushrn(1),f.iushrn(1),++x;for(var r=f.clone(),_=o.clone();!o.isZero();){for(var W=0,I=1;0===(o.words[0]&I)&&W<26;++W,I<<=1);if(W>0)for(o.iushrn(W);W-- >0;)(h.isOdd()||b.isOdd())&&(h.iadd(r),b.isub(_)),h.iushrn(1),b.iushrn(1);for(var B=0,re=1;0===(f.words[0]&re)&&B<26;++B,re<<=1);if(B>0)for(f.iushrn(B);B-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(r),k.isub(_)),A.iushrn(1),k.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(A),b.isub(k)):(f.isub(o),A.isub(h),k.isub(b))}return{a:A,b:k,gcd:f.iushln(x)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var W,o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=f.clone();o.cmpn(1)>0&&f.cmpn(1)>0;){for(var k=0,x=1;0===(o.words[0]&x)&&k<26;++k,x<<=1);if(k>0)for(o.iushrn(k);k-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var r=0,_=1;0===(f.words[0]&_)&&r<26;++r,_<<=1);if(r>0)for(f.iushrn(r);r-- >0;)b.isOdd()&&b.iadd(A),b.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(b)):(f.isub(o),b.isub(h))}return(W=0===o.cmpn(1)?h:b).cmpn(0)<0&&W.iadd(n),W},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),f=n.clone();o.negative=0,f.negative=0;for(var h=0;o.isEven()&&f.isEven();h++)o.iushrn(1),f.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;f.isEven();)f.iushrn(1);var b=o.cmp(f);if(b<0){var A=o;o=f,f=A}else if(0===b||0===f.cmpn(1))break;o.isub(f)}return f.iushln(h)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,f=(n-o)/26,h=1<<o;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var b=h,A=f;0!==b&&A<this.length;A++){var k=0|this.words[A];b=(k+=b)>>>26,this.words[A]=k&=67108863}return 0!==b&&(this.words[A]=b,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var f,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)f=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},c.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var o=this.ucmp(n);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var o=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],b=0|n.words[f];if(h!==b){h<b?o=-1:h>b&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new me(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var Q={k256:null,p224:null,p192:null,p25519:null};function $(D,n){this.name=D,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function me(D){if("string"==typeof D){var n=c._prime(D);this.m=n.p,this.prime=n}else p(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function Te(D){me.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}$.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},$.prototype.ireduce=function(n){var f,o=n;do{this.split(o,this.tmp),f=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},$.prototype.split=function(n,o){n.iushrn(this.n,0,o)},$.prototype.imulK=function(n){return n.imul(this.k)},S(ae,$),ae.prototype.split=function(n,o){for(var f=4194303,h=Math.min(n.length,9),b=0;b<h;b++)o.words[b]=n.words[b];if(o.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var A=n.words[9];for(o.words[o.length++]=A&f,b=10;b<n.length;b++){var k=0|n.words[b];n.words[b-10]=(k&f)<<4|A>>>22,A=k}n.words[b-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(o+=977*h),o=64*h+(o/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ue,$),S(oe,$),S(he,$),he.prototype.imulK=function(n){for(var o=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+o,b=67108863&h;h>>>=26,n.words[f]=b,o=h}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(Q[n])return Q[n];var o;if("k256"===n)o=new ae;else if("p224"===n)o=new ue;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new he}return Q[n]=o,o},me.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},me.prototype._verify2=function(n,o){p(0===(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},me.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},me.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},me.prototype.add=function(n,o){this._verify2(n,o);var f=n.add(o);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},me.prototype.iadd=function(n,o){this._verify2(n,o);var f=n.iadd(o);return f.cmp(this.m)>=0&&f.isub(this.m),f},me.prototype.sub=function(n,o){this._verify2(n,o);var f=n.sub(o);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},me.prototype.isub=function(n,o){this._verify2(n,o);var f=n.isub(o);return f.cmpn(0)<0&&f.iadd(this.m),f},me.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},me.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},me.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},me.prototype.isqr=function(n){return this.imul(n,n.clone())},me.prototype.sqr=function(n){return this.mul(n,n)},me.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var f=this.m.add(new c(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),b=0;!h.isZero()&&0===h.andln(1);)b++,h.iushrn(1);p(!h.isZero());var A=new c(1).toRed(this),k=A.redNeg(),x=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,x).cmp(k);)r.redIAdd(k);for(var _=this.pow(r,h),W=this.pow(n,h.addn(1).iushrn(1)),I=this.pow(n,h),B=b;0!==I.cmp(A);){for(var re=I,pe=0;0!==re.cmp(A);pe++)re=re.redSqr();p(pe<B);var be=this.pow(_,new c(1).iushln(B-pe-1));W=W.redMul(be),_=be.redSqr(),I=I.redMul(_),B=pe}return W},me.prototype.invm=function(n){var o=n._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},me.prototype.pow=function(n,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return n.clone();var h=new Array(16);h[0]=new c(1).toRed(this),h[1]=n;for(var b=2;b<h.length;b++)h[b]=this.mul(h[b-1],n);var A=h[0],k=0,x=0,r=o.bitLength()%26;for(0===r&&(r=26),b=o.length-1;b>=0;b--){for(var _=o.words[b],W=r-1;W>=0;W--){var I=_>>W&1;A!==h[0]&&(A=this.sqr(A)),0!==I||0!==k?(k<<=1,k|=I,(4===++x||0===b&&0===W)&&(A=this.mul(A,h[k]),x=0,k=0)):x=0}r=26}return A},me.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},me.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new Te(n)},S(Te,me),Te.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},Te.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},Te.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var f=n.mul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ae=l.nmd(Ae),this)},57303:(Ae,ee,l)=>{"use strict";l.d(ee,{Q:()=>P,Sm:()=>U,Vw:()=>T,aZ:()=>K,hb:()=>M,hj:()=>g,ig:()=>c,kB:()=>j,om:()=>w,qj:()=>e,rb:()=>S});var i=l(2615),t=l(21413);let p=null;function S(){return p}function c(ae){p??=ae}class e{}let T=(()=>{class ae{historyGo(oe){throw new Error("")}static \u0275fac=function(he){return new(he||ae)};static \u0275prov=i.jDH({token:ae,factory:()=>(0,i.WQX)(d),providedIn:"platform"})}return ae})();const g=new i.nKC("");let d=(()=>{class ae extends T{_location;_history;_doc=(0,i.WQX)(i.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return S().getBaseHref(this._doc)}onPopState(oe){const he=S().getGlobalEventTarget(this._doc,"window");return he.addEventListener("popstate",oe,!1),()=>he.removeEventListener("popstate",oe)}onHashChange(oe){const he=S().getGlobalEventTarget(this._doc,"window");return he.addEventListener("hashchange",oe,!1),()=>he.removeEventListener("hashchange",oe)}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(oe){this._location.pathname=oe}pushState(oe,he,me){this._history.pushState(oe,he,me)}replaceState(oe,he,me){this._history.replaceState(oe,he,me)}forward(){this._history.forward()}back(){this._history.back()}historyGo(oe=0){this._history.go(oe)}getState(){return this._history.state}static \u0275fac=function(he){return new(he||ae)};static \u0275prov=i.jDH({token:ae,factory:()=>new ae,providedIn:"platform"})}return ae})();function w(ae,ue){return ae?ue?ae.endsWith("/")?ue.startsWith("/")?ae+ue.slice(1):ae+ue:ue.startsWith("/")?ae+ue:`${ae}/${ue}`:ae:ue}function m(ae){const ue=ae.search(/#|\?|$/);return"/"===ae[ue-1]?ae.slice(0,ue-1)+ae.slice(ue):ae}function P(ae){return ae&&"?"!==ae[0]?`?${ae}`:ae}let M=(()=>{class ae{historyGo(oe){throw new Error("")}static \u0275fac=function(he){return new(he||ae)};static \u0275prov=i.jDH({token:ae,factory:()=>(0,i.WQX)(U),providedIn:"root"})}return ae})();const j=new i.nKC("");let U=(()=>{class ae extends M{_platformLocation;_baseHref;_removeListenerFns=[];constructor(oe,he){super(),this._platformLocation=oe,this._baseHref=he??this._platformLocation.getBaseHrefFromDOM()??(0,i.WQX)(i.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(oe){this._removeListenerFns.push(this._platformLocation.onPopState(oe),this._platformLocation.onHashChange(oe))}getBaseHref(){return this._baseHref}prepareExternalUrl(oe){return w(this._baseHref,oe)}path(oe=!1){const he=this._platformLocation.pathname+P(this._platformLocation.search),me=this._platformLocation.hash;return me&&oe?`${he}${me}`:he}pushState(oe,he,me,Te){const D=this.prepareExternalUrl(me+P(Te));this._platformLocation.pushState(oe,he,D)}replaceState(oe,he,me,Te){const D=this.prepareExternalUrl(me+P(Te));this._platformLocation.replaceState(oe,he,D)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(oe=0){this._platformLocation.historyGo?.(oe)}static \u0275fac=function(he){return new(he||ae)(i.KVO(T),i.KVO(j,8))};static \u0275prov=i.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})(),K=(()=>{class ae{_subject=new t.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(oe){this._locationStrategy=oe;const he=this._locationStrategy.getBaseHref();this._basePath=function $(ae){if(new RegExp("^(https?:)?//").test(ae)){const[,oe]=ae.split(/\/\/[^\/]+/);return oe}return ae}(m(Q(he))),this._locationStrategy.onPopState(me=>{this._subject.next({url:this.path(!0),pop:!0,state:me.state,type:me.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(oe=!1){return this.normalize(this._locationStrategy.path(oe))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(oe,he=""){return this.path()==this.normalize(oe+P(he))}normalize(oe){return ae.stripTrailingSlash(function G(ae,ue){if(!ae||!ue.startsWith(ae))return ue;const oe=ue.substring(ae.length);return""===oe||["/",";","?","#"].includes(oe[0])?oe:ue}(this._basePath,Q(oe)))}prepareExternalUrl(oe){return oe&&"/"!==oe[0]&&(oe="/"+oe),this._locationStrategy.prepareExternalUrl(oe)}go(oe,he="",me=null){this._locationStrategy.pushState(me,"",oe,he),this._notifyUrlChangeListeners(this.prepareExternalUrl(oe+P(he)),me)}replaceState(oe,he="",me=null){this._locationStrategy.replaceState(me,"",oe,he),this._notifyUrlChangeListeners(this.prepareExternalUrl(oe+P(he)),me)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(oe=0){this._locationStrategy.historyGo?.(oe)}onUrlChange(oe){return this._urlChangeListeners.push(oe),this._urlChangeSubscription??=this.subscribe(he=>{this._notifyUrlChangeListeners(he.url,he.state)}),()=>{const he=this._urlChangeListeners.indexOf(oe);this._urlChangeListeners.splice(he,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(oe="",he){this._urlChangeListeners.forEach(me=>me(oe,he))}subscribe(oe,he,me){return this._subject.subscribe({next:oe,error:he??void 0,complete:me??void 0})}static normalizeQueryParams=P;static joinWithSlash=w;static stripTrailingSlash=m;static \u0275fac=function(he){return new(he||ae)(i.KVO(M))};static \u0275prov=i.jDH({token:ae,factory:()=>function q(){return new K((0,i.KVO)(M))}(),providedIn:"root"})}return ae})();function Q(ae){return ae.replace(/\/index.html$/,"")}},57786:(Ae,ee,l)=>{"use strict";l.d(ee,{h:()=>e});var i=l(26365),t=l(58750),p=l(983),S=l(9326),c=l(22806);function e(...T){const g=(0,S.lI)(T),d=(0,S.R0)(T,1/0),w=T;return w.length?1===w.length?(0,t.Tg)(w[0]):(0,i.U)(d)((0,c.H)(w,g)):p.w}},57854:(Ae,ee,l)=>{"use strict";var i=l(30464).F.ERR_STREAM_PREMATURE_CLOSE;function p(){}Ae.exports=function c(e,T,g){if("function"==typeof T)return c(e,null,T);T||(T={}),g=function t(e){var T=!1;return function(){if(!T){T=!0;for(var g=arguments.length,d=new Array(g),w=0;w<g;w++)d[w]=arguments[w];e.apply(this,d)}}}(g||p);var d=T.readable||!1!==T.readable&&e.readable,w=T.writable||!1!==T.writable&&e.writable,m=function(){e.writable||M()},P=e._writableState&&e._writableState.finished,M=function(){w=!1,P=!0,d||g.call(e)},j=e._readableState&&e._readableState.endEmitted,U=function(){d=!1,j=!0,w||g.call(e)},K=function($){g.call(e,$)},q=function(){var $;return d&&!j?((!e._readableState||!e._readableState.ended)&&($=new i),g.call(e,$)):w&&!P?((!e._writableState||!e._writableState.ended)&&($=new i),g.call(e,$)):void 0},G=function(){e.req.on("finish",M)};return function S(e){return e.setHeader&&"function"==typeof e.abort}(e)?(e.on("complete",M),e.on("abort",q),e.req?G():e.on("request",G)):w&&!e._writableState&&(e.on("end",m),e.on("close",m)),e.on("end",U),e.on("finish",M),!1!==T.error&&e.on("error",K),e.on("close",q),function(){e.removeListener("complete",M),e.removeListener("abort",q),e.removeListener("request",G),e.req&&e.req.removeListener("finish",M),e.removeListener("end",m),e.removeListener("close",m),e.removeListener("finish",M),e.removeListener("end",U),e.removeListener("error",K),e.removeListener("close",q)}}},57908:(Ae,ee,l)=>{"use strict";function i(t,p){if(t){const S=t.indexOf(p);0<=S&&t.splice(S,1)}}l.d(ee,{o:()=>i})},58239:Ae=>{"use strict";var i,t,ee=Function.prototype.toString,l="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof l&&"function"==typeof Object.defineProperty)try{i=Object.defineProperty({},"length",{get:function(){throw t}}),t={},l(function(){throw 42},null,i)}catch(q){q!==t&&(l=null)}else l=null;var p=/^\s*class\b/,S=function(G){try{var Q=ee.call(G);return p.test(Q)}catch{return!1}},c=function(G){try{return!S(G)&&(ee.call(G),!0)}catch{return!1}},e=Object.prototype.toString,M="function"==typeof Symbol&&!!Symbol.toStringTag,j=!(0 in[,]),U=function(){return!1};if("object"==typeof document){var K=document.all;e.call(K)===e.call(document.all)&&(U=function(G){if((j||!G)&&(typeof G>"u"||"object"==typeof G))try{var Q=e.call(G);return("[object HTMLAllCollection]"===Q||"[object HTML document.all class]"===Q||"[object HTMLCollection]"===Q||"[object Object]"===Q)&&null==G("")}catch{}return!1})}Ae.exports=l?function(G){if(U(G))return!0;if(!G||"function"!=typeof G&&"object"!=typeof G)return!1;try{l(G,null,i)}catch(Q){if(Q!==t)return!1}return!S(G)&&c(G)}:function(G){if(U(G))return!0;if(!G||"function"!=typeof G&&"object"!=typeof G)return!1;if(M)return c(G);if(S(G))return!1;var Q=e.call(G);return!("[object Function]"!==Q&&"[object GeneratorFunction]"!==Q&&!/^\[object HTML/.test(Q))&&c(G)}},58413:Ae=>{"use strict";Ae.exports=SyntaxError},58496:(Ae,ee,l)=>{"use strict";function i(t,p){return t.reduce((S,c,e)=>(S[c]=p[e],S),{})}l.d(ee,{e:()=>i})},58750:(Ae,ee,l)=>{"use strict";l.d(ee,{Tg:()=>M});var i=l(31635),t=l(47441),p=l(59858),S=l(71985),c=l(55055),e=l(37953),T=l(50591),g=l(85397),d=l(15196),w=l(98071),m=l(45334),P=l(3494);function M(ae){if(ae instanceof S.c)return ae;if(null!=ae){if((0,c.l)(ae))return function j(ae){return new S.c(ue=>{const oe=ae[P.s]();if((0,w.T)(oe.subscribe))return oe.subscribe(ue);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ae);if((0,t.X)(ae))return function U(ae){return new S.c(ue=>{for(let oe=0;oe<ae.length&&!ue.closed;oe++)ue.next(ae[oe]);ue.complete()})}(ae);if((0,p.y)(ae))return function K(ae){return new S.c(ue=>{ae.then(oe=>{ue.closed||(ue.next(oe),ue.complete())},oe=>ue.error(oe)).then(null,m.m)})}(ae);if((0,e.T)(ae))return G(ae);if((0,g.x)(ae))return function q(ae){return new S.c(ue=>{for(const oe of ae)if(ue.next(oe),ue.closed)return;ue.complete()})}(ae);if((0,d.U)(ae))return function Q(ae){return G((0,d.C)(ae))}(ae)}throw(0,T.L)(ae)}function G(ae){return new S.c(ue=>{(function $(ae,ue){var oe,he,me,Te;return(0,i.sH)(this,void 0,void 0,function*(){try{for(oe=(0,i.xN)(ae);!(he=yield oe.next()).done;)if(ue.next(he.value),ue.closed)return}catch(D){me={error:D}}finally{try{he&&!he.done&&(Te=oe.return)&&(yield Te.call(oe))}finally{if(me)throw me.error}}ue.complete()})})(ae,ue).catch(oe=>ue.error(oe))})}},59030:(Ae,ee,l)=>{"use strict";l.d(ee,{v:()=>p});var i=l(71985),t=l(58750);function p(S){return new i.c(c=>{(0,t.Tg)(S()).subscribe(c)})}},59096:(Ae,ee,l)=>{"use strict";l.d(ee,{i:()=>g});var i=l(21413),t=l(70152),p=l(5964),S=l(96354),c=l(88141),e=l(10438);class g{_letterKeyStream=new i.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new i.B;selectedItem=this._selectedItem;constructor(w,m){const P="number"==typeof m?.debounceInterval?m.debounceInterval:200;m?.skipPredicate&&(this._skipPredicateFn=m.skipPredicate),this.setItems(w),this._setupKeyHandler(P)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(w){this._selectedItemIndex=w}setItems(w){this._items=w}handleKey(w){const m=w.keyCode;w.key&&1===w.key.length?this._letterKeyStream.next(w.key.toLocaleUpperCase()):(m>=e.A&&m<=e.Z||m>=e.f2&&m<=e.bn)&&this._letterKeyStream.next(String.fromCharCode(m))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(w){this._letterKeyStream.pipe((0,c.M)(m=>this._pressedLetters.push(m)),(0,t.B)(w),(0,p.p)(()=>this._pressedLetters.length>0),(0,S.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(m=>{for(let P=1;P<this._items.length+1;P++){const j=this._items[(this._selectedItemIndex+P)%this._items.length];if(!this._skipPredicateFn?.(j)&&0===j.getLabel?.().toLocaleUpperCase().trim().indexOf(m)){this._selectedItem.next(j);break}}this._pressedLetters=[]})}}},59111:(Ae,ee,l)=>{"use strict";var i=l(83407),t=l(36636),p=l(25443),S=l(27054).Buffer,c=l(86111),e=l(45392),T=l(76643),g=S.alloc(128),d={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},w={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function m(U){return(new t).update(U).digest()}function M(U,K,q){var G=function P(U){return"rmd160"===U||"ripemd160"===U?m:"md5"===U?i:function K(q){return p(U).update(q).digest()}}(U),Q="sha512"===U||"sha384"===U?128:64;K.length>Q?K=G(K):K.length<Q&&(K=S.concat([K,g],Q));for(var $=S.allocUnsafe(Q+d[U]),ae=S.allocUnsafe(Q+d[U]),ue=0;ue<Q;ue++)$[ue]=54^K[ue],ae[ue]=92^K[ue];var oe=S.allocUnsafe(Q+q+4);$.copy(oe,0,0,Q),this.ipad1=oe,this.ipad2=$,this.opad=ae,this.alg=U,this.blocksize=Q,this.hash=G,this.size=d[U]}M.prototype.run=function(U,K){return U.copy(K,this.blocksize),this.hash(K).copy(this.opad,this.blocksize),this.hash(this.opad)},Ae.exports=function j(U,K,q,G,Q){c(q,G),U=T(U,e,"Password"),K=T(K,e,"Salt");var $=(Q||"sha1").toLowerCase(),ae=w[$]||$,ue=d[ae];if("number"!=typeof ue||!ue)throw new TypeError("Digest algorithm not supported: "+Q);var oe=new M(ae,U,K.length),he=S.allocUnsafe(G),me=S.allocUnsafe(K.length+4);K.copy(me,0,0,K.length);for(var Te=0,D=ue,n=Math.ceil(G/D),o=1;o<=n;o++){me.writeUInt32BE(o,K.length);for(var f=oe.run(me,oe.ipad1),h=f,b=1;b<q;b++){h=oe.run(h,oe.ipad2);for(var A=0;A<D;A++)f[A]^=h[A]}f.copy(he,Te),Te+=D}return he}},59115:(Ae,ee,l)=>{"use strict";l.d(ee,{Cn:()=>Ct,Cp:()=>dt,fb:()=>r,kk:()=>ye});var i=l(2615),t=l(73664),p=l(17705),S=l(76838),c=l(89726),e=l(64123),T=l(95735),g=l(10438),d=l(67336),w=l(21413),m=l(18359),P=l(57786),M=l(7673),j=l(5964),U=l(99172),K=l(25558),q=l(96697),G=l(56977),Q=l(88968),$=l(32046),ae=l(12496),ue=l(76939),oe=l(31804),he=l(61577),me=l(49338),Te=l(5718),D=l(26881),n=l(22466);const o=["mat-menu-item",""],f=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],h=["mat-icon, [matMenuItemIcon]","*"];function b(Ht,ct){1&Ht&&(i.qSk(),t.j41(0,"svg",2),t.nrm(1,"polygon",3),t.k0s())}const A=["*"];function k(Ht,ct){if(1&Ht){const Ce=t.RV6();t.rj2(0,"div",0),t.VwU("click",function(){i.eBV(Ce);const Z=t.XpG();return i.Njj(Z.closed.emit("click"))})("animationstart",function(Z){i.eBV(Ce);const J=t.XpG();return i.Njj(J._onAnimationStart(Z.animationName))})("animationend",function(Z){i.eBV(Ce);const J=t.XpG();return i.Njj(J._onAnimationDone(Z.animationName))})("animationcancel",function(Z){i.eBV(Ce);const J=t.XpG();return i.Njj(J._onAnimationDone(Z.animationName))}),t.rj2(1,"div",1),t.SdG(2),t.eux()()}if(2&Ht){const Ce=t.XpG();t.HbH(Ce._classList),t.AVh("mat-menu-panel-animations-disabled",Ce._animationsDisabled)("mat-menu-panel-exit-animation","void"===Ce._panelAnimationState)("mat-menu-panel-animating",Ce._isAnimating()),t.Avn("id",Ce.panelId),t.BMQ("aria-label",Ce.ariaLabel||null)("aria-labelledby",Ce.ariaLabelledby||null)("aria-describedby",Ce.ariaDescribedby||null)}}const x=new i.nKC("MAT_MENU_PANEL");let r=(()=>{class Ht{_elementRef=(0,i.WQX)(t.aKT);_document=(0,i.WQX)(i.qQL);_focusMonitor=(0,i.WQX)(S.FN);_parentMenu=(0,i.WQX)(x,{optional:!0});_changeDetectorRef=(0,i.WQX)(p.gRc);role="menuitem";disabled=!1;disableRipple=!1;_hovered=new w.B;_focused=new w.B;_highlighted=!1;_triggersSubmenu=!1;constructor(){(0,i.WQX)(Q.l).load($.A),this._parentMenu?.addItem?.(this)}focus(Ce,ze){this._focusMonitor&&Ce?this._focusMonitor.focusVia(this._getHostElement(),Ce,ze):this._getHostElement().focus(ze),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(Ce){this.disabled&&(Ce.preventDefault(),Ce.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ce=this._elementRef.nativeElement.cloneNode(!0),ze=Ce.querySelectorAll("mat-icon, .material-icons");for(let Z=0;Z<ze.length;Z++)ze[Z].remove();return Ce.textContent?.trim()||""}_setHighlighted(Ce){this._highlighted=Ce,this._changeDetectorRef.markForCheck()}_setTriggersSubmenu(Ce){this._triggersSubmenu=Ce,this._changeDetectorRef.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static \u0275fac=function(ze){return new(ze||Ht)};static \u0275cmp=t.VBU({type:Ht,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-focus-indicator"],hostVars:8,hostBindings:function(ze,Z){1&ze&&t.bIt("click",function(fe){return Z._checkDisabled(fe)})("mouseenter",function(){return Z._handleMouseEnter()}),2&ze&&(t.BMQ("role",Z.role)("tabindex",Z._getTabIndex())("aria-disabled",Z.disabled)("disabled",Z.disabled||null),t.AVh("mat-mdc-menu-item-highlighted",Z._highlighted)("mat-mdc-menu-item-submenu-trigger",Z._triggersSubmenu))},inputs:{role:"role",disabled:[2,"disabled","disabled",p.L39],disableRipple:[2,"disableRipple","disableRipple",p.L39]},exportAs:["matMenuItem"],attrs:o,ngContentSelectors:h,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ze,Z){1&ze&&(t.NAR(f),t.SdG(0),t.j41(1,"span",0),t.SdG(2,1),t.k0s(),t.nrm(3,"div",1),t.nVh(4,b,2,0,":svg:svg",2)),2&ze&&(t.R7$(3),t.Y8G("matRippleDisabled",Z.disableRipple||Z.disabled)("matRippleTrigger",Z._getHostElement()),t.R7$(),t.vxM(Z._triggersSubmenu?4:-1))},dependencies:[ae.r6],encapsulation:2,changeDetection:0})}return Ht})();const B=new i.nKC("MatMenuContent"),pe=new i.nKC("mat-menu-default-options",{providedIn:"root",factory:function be(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),Be="_mat-menu-enter",_e="_mat-menu-exit";let ye=(()=>{class Ht{_elementRef=(0,i.WQX)(t.aKT);_changeDetectorRef=(0,i.WQX)(p.gRc);_injector=(0,i.WQX)(i.zZn);_keyManager;_xPosition;_yPosition;_firstItemFocusRef;_exitFallbackTimeout;_animationsDisabled=(0,oe.Rc)();_allItems;_directDescendantItems=new t.rOR;_classList={};_panelAnimationState="void";_animationDone=new w.B;_isAnimating=(0,i.vPA)(!1);parentMenu;direction;overlayPanelClass;backdropClass;ariaLabel;ariaLabelledby;ariaDescribedby;get xPosition(){return this._xPosition}set xPosition(Ce){this._xPosition=Ce,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ce){this._yPosition=Ce,this.setPositionClasses()}templateRef;items;lazyContent;overlapTrigger;hasBackdrop;set panelClass(Ce){const ze=this._previousPanelClass,Z={...this._classList};ze&&ze.length&&ze.split(" ").forEach(J=>{Z[J]=!1}),this._previousPanelClass=Ce,Ce&&Ce.length&&(Ce.split(" ").forEach(J=>{Z[J]=!0}),this._elementRef.nativeElement.className=""),this._classList=Z}_previousPanelClass;get classList(){return this.panelClass}set classList(Ce){this.panelClass=Ce}closed=new t.bkB;close=this.closed;panelId=(0,i.WQX)(c.g).getId("mat-menu-panel-");constructor(){const Ce=(0,i.WQX)(pe);this.overlayPanelClass=Ce.overlayPanelClass||"",this._xPosition=Ce.xPosition,this._yPosition=Ce.yPosition,this.backdropClass=Ce.backdropClass,this.overlapTrigger=Ce.overlapTrigger,this.hasBackdrop=Ce.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new e.B(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,U.Z)(this._directDescendantItems),(0,K.n)(Ce=>(0,P.h)(...Ce.map(ze=>ze._focused)))).subscribe(Ce=>this._keyManager.updateActiveItem(Ce)),this._directDescendantItems.changes.subscribe(Ce=>{const ze=this._keyManager;if("enter"===this._panelAnimationState&&ze.activeItem?._hasFocus()){const Z=Ce.toArray(),J=Math.max(0,Math.min(Z.length-1,ze.activeItemIndex||0));Z[J]&&!Z[J].disabled?ze.setActiveItem(J):ze.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy(),clearTimeout(this._exitFallbackTimeout)}_hovered(){return this._directDescendantItems.changes.pipe((0,U.Z)(this._directDescendantItems),(0,K.n)(ze=>(0,P.h)(...ze.map(Z=>Z._hovered))))}addItem(Ce){}removeItem(Ce){}_handleKeydown(Ce){const ze=Ce.keyCode,Z=this._keyManager;switch(ze){case g._f:(0,d.rp)(Ce)||(Ce.preventDefault(),this.closed.emit("keydown"));break;case g.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case g.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ze===g.i7||ze===g.n6)&&Z.setFocusOrigin("keyboard"),void Z.onKeydown(Ce)}}focusFirstItem(Ce="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=(0,t.mal)(()=>{const ze=this._resolvePanel();if(!ze||!ze.contains(document.activeElement)){const Z=this._keyManager;Z.setFocusOrigin(Ce).setFirstItemActive(),!Z.activeItem&&ze&&ze.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ce){}setPositionClasses(Ce=this.xPosition,ze=this.yPosition){this._classList={...this._classList,"mat-menu-before":"before"===Ce,"mat-menu-after":"after"===Ce,"mat-menu-above":"above"===ze,"mat-menu-below":"below"===ze},this._changeDetectorRef.markForCheck()}_onAnimationDone(Ce){const ze=Ce===_e;(ze||Ce===Be)&&(ze&&(clearTimeout(this._exitFallbackTimeout),this._exitFallbackTimeout=void 0),this._animationDone.next(ze?"void":"enter"),this._isAnimating.set(!1))}_onAnimationStart(Ce){(Ce===Be||Ce===_e)&&this._isAnimating.set(!0)}_setIsOpen(Ce){if(this._panelAnimationState=Ce?"enter":"void",Ce){if(0===this._keyManager.activeItemIndex){const ze=this._resolvePanel();ze&&(ze.scrollTop=0)}}else this._animationsDisabled||(this._exitFallbackTimeout=setTimeout(()=>this._onAnimationDone(_e),200));this._animationsDisabled&&setTimeout(()=>{this._onAnimationDone(Ce?Be:_e)}),this._changeDetectorRef.markForCheck()}_updateDirectDescendants(){this._allItems.changes.pipe((0,U.Z)(this._allItems)).subscribe(Ce=>{this._directDescendantItems.reset(Ce.filter(ze=>ze._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}_resolvePanel(){let Ce=null;return this._directDescendantItems.length&&(Ce=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),Ce}static \u0275fac=function(ze){return new(ze||Ht)};static \u0275cmp=t.VBU({type:Ht,selectors:[["mat-menu"]],contentQueries:function(ze,Z,J){if(1&ze&&(t.wni(J,B,5),t.wni(J,r,5),t.wni(J,r,4)),2&ze){let fe;t.mGM(fe=t.lsd())&&(Z.lazyContent=fe.first),t.mGM(fe=t.lsd())&&(Z._allItems=fe),t.mGM(fe=t.lsd())&&(Z.items=fe)}},viewQuery:function(ze,Z){if(1&ze&&t.GBs(t.C4Q,5),2&ze){let J;t.mGM(J=t.lsd())&&(Z.templateRef=J.first)}},hostVars:3,hostBindings:function(ze,Z){2&ze&&t.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",p.L39],hasBackdrop:[2,"hasBackdrop","hasBackdrop",Ce=>null==Ce?null:(0,p.L39)(Ce)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],features:[t.Jv_([{provide:x,useExisting:Ht}])],ngContentSelectors:A,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel",3,"click","animationstart","animationend","animationcancel","id"],[1,"mat-mdc-menu-content"]],template:function(ze,Z){1&ze&&(t.NAR(),t.PeT(0,k,3,12,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.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, var(--mat-sys-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-sys-label-large-weight))}@keyframes _mat-menu-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-menu-exit{from{opacity:1}to{opacity:0}}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;box-sizing:border-box;outline:0;animation:_mat-menu-enter 120ms cubic-bezier(0, 0, 0.2, 1);border-radius:var(--mat-menu-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-sys-surface-container));box-shadow:var(--mat-menu-container-elevation-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));will-change:transform,opacity}.mat-mdc-menu-panel.mat-menu-panel-exit-animation{animation:_mat-menu-exit 100ms 25ms linear forwards}.mat-mdc-menu-panel.mat-menu-panel-animations-disabled{animation:none}.mat-mdc-menu-panel.mat-menu-panel-animating{pointer-events:none}.mat-mdc-menu-panel.mat-menu-panel-animating:has(.mat-mdc-menu-content:empty){display:none}@media(forced-colors: active){.mat-mdc-menu-panel{outline:solid 1px}}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-sys-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing, 8px);margin-top:var(--mat-menu-divider-top-spacing, 8px)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px;padding-left:var(--mat-menu-item-leading-spacing, 12px);padding-right:var(--mat-menu-item-trailing-spacing, 12px);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-menu-item::-moz-focus-inner{border:0}[dir=rtl] .mat-mdc-menu-item{padding-left:var(--mat-menu-item-trailing-spacing, 12px);padding-right:var(--mat-menu-item-leading-spacing, 12px)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-trailing-spacing, 12px)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-trailing-spacing, 12px);padding-right:var(--mat-menu-item-with-icon-leading-spacing, 12px)}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-sys-on-surface-variant))}.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:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing, 12px);height:var(--mat-menu-item-icon-size, 24px);width:var(--mat-menu-item-icon-size, 24px)}[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, 12px)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.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, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(forced-colors: active){.mat-mdc-menu-item{margin-top:1px}}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size, 24px);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing, 12px)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing, 12px);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}@media(forced-colors: 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}\n'],encapsulation:2,changeDetection:0})}return Ht})();const Le=new i.nKC("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{const Ht=(0,i.WQX)(i.zZn);return()=>(0,me.RH)(Ht)}}),ge={provide:Le,deps:[],useFactory:function Ke(Ht){const ct=(0,i.WQX)(i.zZn);return()=>(0,me.RH)(ct)}},Oe=new WeakMap;let Ee=(()=>{class Ht{_canHaveBackdrop;_element=(0,i.WQX)(t.aKT);_viewContainerRef=(0,i.WQX)(t.c1b);_menuItemInstance=(0,i.WQX)(r,{optional:!0,self:!0});_dir=(0,i.WQX)(he.dS,{optional:!0});_focusMonitor=(0,i.WQX)(S.FN);_ngZone=(0,i.WQX)(t.SKi);_injector=(0,i.WQX)(i.zZn);_scrollStrategy=(0,i.WQX)(Le);_changeDetectorRef=(0,i.WQX)(p.gRc);_animationsDisabled=(0,oe.Rc)();_portal;_overlayRef=null;_menuOpen=!1;_closingActionsSubscription=m.yU.EMPTY;_menuCloseSubscription=m.yU.EMPTY;_pendingRemoval;_parentMaterialMenu;_parentInnerPadding;_openedBy=void 0;get _menu(){return this._menuInternal}set _menu(Ce){Ce!==this._menuInternal&&(this._menuInternal=Ce,this._menuCloseSubscription.unsubscribe(),Ce&&(this._menuCloseSubscription=Ce.close.subscribe(ze=>{this._destroyMenu(ze),("click"===ze||"tab"===ze)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ze)})),this._menuItemInstance?._setTriggersSubmenu(this._triggersSubmenu()))}_menuInternal;constructor(Ce){this._canHaveBackdrop=Ce;const ze=(0,i.WQX)(x,{optional:!0});this._parentMaterialMenu=ze instanceof ye?ze:void 0}ngOnDestroy(){this._menu&&this._ownsMenu(this._menu)&&Oe.delete(this._menu),this._pendingRemoval?.unsubscribe(),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this._menu)}_closeMenu(){this._menu?.close.emit()}_openMenu(Ce){const ze=this._menu;if(this._menuOpen||!ze)return;this._pendingRemoval?.unsubscribe();const Z=Oe.get(ze);Oe.set(ze,this),Z&&Z!==this&&Z._closeMenu();const J=this._createOverlay(ze),fe=J.getConfig(),Ie=fe.positionStrategy;this._setPosition(ze,Ie),fe.hasBackdrop=!!this._canHaveBackdrop&&(null==ze.hasBackdrop?!this._triggersSubmenu():ze.hasBackdrop),J.hasAttached()||(J.attach(this._getPortal(ze)),ze.lazyContent?.attach(this.menuData)),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this._closeMenu()),ze.parentMenu=this._triggersSubmenu()?this._parentMaterialMenu:void 0,ze.direction=this.dir,Ce&&ze.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0),ze instanceof ye&&(ze._setIsOpen(!0),ze._directDescendantItems.changes.pipe((0,G.Q)(ze.close)).subscribe(()=>{Ie.withLockedPosition(!1).reapplyLastPosition(),Ie.withLockedPosition(!0)}))}focus(Ce,ze){this._focusMonitor&&Ce?this._focusMonitor.focusVia(this._element,Ce,ze):this._element.nativeElement.focus(ze)}_destroyMenu(Ce){const ze=this._overlayRef,Z=this._menu;!ze||!this.menuOpen||(this._closingActionsSubscription.unsubscribe(),this._pendingRemoval?.unsubscribe(),Z instanceof ye&&this._ownsMenu(Z)?(this._pendingRemoval=Z._animationDone.pipe((0,q.s)(1)).subscribe(()=>{ze.detach(),Oe.has(Z)||Z.lazyContent?.detach()}),Z._setIsOpen(!1)):(ze.detach(),Z?.lazyContent?.detach()),Z&&this._ownsMenu(Z)&&Oe.delete(Z),this.restoreFocus&&("keydown"===Ce||!this._openedBy||!this._triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,this._setIsMenuOpen(!1))}_setIsMenuOpen(Ce){Ce!==this._menuOpen&&(this._menuOpen=Ce,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this._triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ce),this._changeDetectorRef.markForCheck())}_createOverlay(Ce){if(!this._overlayRef){const ze=this._getOverlayConfig(Ce);this._subscribeToPositions(Ce,ze.positionStrategy),this._overlayRef=(0,me.Y$)(this._injector,ze),this._overlayRef.keydownEvents().subscribe(Z=>{this._menu instanceof ye&&this._menu._handleKeydown(Z)})}return this._overlayRef}_getOverlayConfig(Ce){return new me.rR({positionStrategy:(0,me.$M)(this._injector,this._getOverlayOrigin()).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ce.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ce.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir||"ltr",disableAnimations:this._animationsDisabled})}_subscribeToPositions(Ce,ze){Ce.setPositionClasses&&ze.positionChanges.subscribe(Z=>{this._ngZone.run(()=>{Ce.setPositionClasses("start"===Z.connectionPair.overlayX?"after":"before","top"===Z.connectionPair.overlayY?"below":"above")})})}_setPosition(Ce,ze){let[Z,J]="before"===Ce.xPosition?["end","start"]:["start","end"],[fe,Ie]="above"===Ce.yPosition?["bottom","top"]:["top","bottom"],[ht,li]=[fe,Ie],[Qt,di]=[Z,J],kt=0;if(this._triggersSubmenu()){if(di=Z="before"===Ce.xPosition?"start":"end",J=Qt="end"===Z?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Rt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Rt?Rt._getHostElement().offsetTop:0}kt="bottom"===fe?this._parentInnerPadding:-this._parentInnerPadding}}else Ce.overlapTrigger||(ht="top"===fe?"bottom":"top",li="top"===Ie?"bottom":"top");ze.withPositions([{originX:Z,originY:ht,overlayX:Qt,overlayY:fe,offsetY:kt},{originX:J,originY:ht,overlayX:di,overlayY:fe,offsetY:kt},{originX:Z,originY:li,overlayX:Qt,overlayY:Ie,offsetY:-kt},{originX:J,originY:li,overlayX:di,overlayY:Ie,offsetY:-kt}])}_menuClosingActions(){const Ce=this._getOutsideClickStream(this._overlayRef),ze=this._overlayRef.detachments(),Z=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,M.of)(),J=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,j.p)(fe=>this._menuOpen&&fe!==this._menuItemInstance)):(0,M.of)();return(0,P.h)(Ce,Z,J,ze)}_getPortal(Ce){return(!this._portal||this._portal.templateRef!==Ce.templateRef)&&(this._portal=new ue.VA(Ce.templateRef,this._viewContainerRef)),this._portal}_ownsMenu(Ce){return Oe.get(Ce)===this}static \u0275fac=function(ze){t.QTQ()};static \u0275dir=t.FsC({type:Ht})}return Ht})(),dt=(()=>{class Ht extends Ee{_cleanupTouchstart;_hoverSubscription=m.yU.EMPTY;get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ce){this.menu=Ce}get menu(){return this._menu}set menu(Ce){this._menu=Ce}menuData;restoreFocus=!0;menuOpened=new t.bkB;onMenuOpen=this.menuOpened;menuClosed=new t.bkB;onMenuClose=this.menuClosed;constructor(){super(!0);const Ce=(0,i.WQX)(t.sFG);this._cleanupTouchstart=Ce.listen(this._element.nativeElement,"touchstart",ze=>{(0,T.w)(ze)||(this._openedBy="touch")},{passive:!0})}triggersSubmenu(){return super._triggersSubmenu()}toggleMenu(){return this.menuOpen?this.closeMenu():this.openMenu()}openMenu(){this._openMenu(!0)}closeMenu(){this._closeMenu()}updatePosition(){this._overlayRef?.updatePosition()}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTouchstart(),this._hoverSubscription.unsubscribe()}_getOverlayOrigin(){return this._element}_getOutsideClickStream(Ce){return Ce.backdropClick()}_handleMousedown(Ce){(0,T._)(Ce)||(this._openedBy=0===Ce.button?"mouse":void 0,this.triggersSubmenu()&&Ce.preventDefault())}_handleKeydown(Ce){const ze=Ce.keyCode;(ze===g.Fm||ze===g.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ze===g.LE&&"ltr"===this.dir||ze===g.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ce){this.triggersSubmenu()?(Ce.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().subscribe(Ce=>{Ce===this._menuItemInstance&&!Ce.disabled&&"void"!==this._parentMaterialMenu?._panelAnimationState&&(this._openedBy="mouse",this._openMenu(!1))}))}static \u0275fac=function(ze){return new(ze||Ht)};static \u0275dir=t.FsC({type:Ht,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(ze,Z){1&ze&&t.bIt("click",function(fe){return Z._handleClick(fe)})("mousedown",function(fe){return Z._handleMousedown(fe)})("keydown",function(fe){return Z._handleKeydown(fe)}),2&ze&&t.BMQ("aria-haspopup",Z.menu?"menu":null)("aria-expanded",Z.menuOpen)("aria-controls",Z.menuOpen?null==Z.menu?null:Z.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"],features:[t.Vt3]})}return Ht})(),Ct=(()=>{class Ht{static \u0275fac=function(ze){return new(ze||Ht)};static \u0275mod=t.$C({type:Ht});static \u0275inj=i.G2t({providers:[ge],imports:[D.p,n.y,me.z_,Te.Gj,n.y]})}return Ht})()},59295:(Ae,ee,l)=>{"use strict";l.d(ee,{Zf:()=>m,EW:()=>j,QZ:()=>K,O8:()=>M}),l(10467);var t=l(2615),p=l(48440);const d={...p.pL,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};class m{destroyed=!1;listeners=null;errorHandler=(0,t.WQX)(t.zcH,{optional:!0});destroyRef=(0,t.WQX)(t.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(W){if(this.destroyed)throw new t.buA(953,!1);return(this.listeners??=[]).push(W),{unsubscribe:()=>{const I=this.listeners?.indexOf(W);void 0!==I&&-1!==I&&this.listeners?.splice(I,1)}}}emit(W){if(this.destroyed)return void console.warn((0,t.OsK)(953,!1));if(null===this.listeners)return;const I=(0,p.Ht)(null);try{for(const B of this.listeners)try{B(W)}catch(re){this.errorHandler?.handleError(re)}}finally{(0,p.Ht)(I)}}}function M(_){return function g(_){const W=(0,p.Ht)(null);try{return _()}finally{(0,p.Ht)(W)}}(_)}function j(_,W){return(0,p.KZ)(_,W?.equal)}class U{[p.bh];constructor(W){this[p.bh]=W}destroy(){this[p.bh].destroy()}}function K(_,W){const I=W?.injector??(0,t.WQX)(t.zZn);let re,B=!0!==W?.manualCleanup?I.get(t.abz):null;const pe=I.get(t.r4V,null,{optional:!0}),be=I.get(t.hk6);return null!==pe?(re=function $(_,W,I){const B=Object.create(Q);return B.view=_,B.zone=typeof Zone<"u"?Zone.current:null,B.notifier=W,B.fn=ue(B,I),_[t.tQN]??=new Set,_[t.tQN].add(B),B.consumerMarkedDirty(B),B}(pe.view,be,_),B instanceof t.KXn&&B._lView===pe.view&&(B=null)):re=function ae(_,W,I){const B=Object.create(G);return B.fn=ue(B,_),B.scheduler=W,B.notifier=I,B.zone=typeof Zone<"u"?Zone.current:null,B.scheduler.add(B),B.notifier.notify(12),B}(_,I.get(t.VML),be),re.injector=I,null!==B&&(re.onDestroyFn=B.onDestroy(()=>re.destroy())),new U(re)}const q={...d,cleanupFns:void 0,zone:null,onDestroyFn:t.lQ1,run(){const _=(0,t.cBl)(!1);try{!function w(_){if(_.dirty=!1,_.version>0&&!(0,p.si)(_))return;_.version++;const W=(0,p.Bg)(_);try{_.cleanup(),_.fn()}finally{(0,p.Wu)(_,W)}}(this)}finally{(0,t.cBl)(_)}},cleanup(){if(!this.cleanupFns?.length)return;const _=(0,p.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,p.Ht)(_)}}},G={...q,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){(0,p.XR)(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},Q={...q,consumerMarkedDirty(){this.view[t.Wg1]|=8192,(0,t.blu)(this.view),this.notifier.notify(13)},destroy(){(0,p.XR)(this),this.onDestroyFn(),this.cleanup(),this.view[t.tQN]?.delete(this)}};function ue(_,W){return()=>{W(I=>(_.cleanupFns??=[]).push(I))}}Error,Error},59316:(Ae,ee,l)=>{var i=l(71993),t=l(83838).Buffer,p=l(55941);function S(c){p.call(this,c),this.enc="pem"}i(S,p),Ae.exports=S,S.prototype.decode=function(e,T){for(var g=e.toString().split(/[\r\n]+/g),d=T.label.toUpperCase(),w=/^-----(BEGIN|END) ([^-]+)-----$/,m=-1,P=-1,M=0;M<g.length;M++){var j=g[M].match(w);if(null!==j&&j[2]===d){if(-1!==m){if("END"!==j[1])break;P=M;break}if("BEGIN"!==j[1])break;m=M}}if(-1===m||-1===P)throw new Error("PEM section not found for: "+d);var U=g.slice(m+1,P).join("");U.replace(/[^a-z0-9\+\/=]+/gi,"");var K=new t(U,"base64");return p.prototype.decode.call(this,K,T)}},59571:(Ae,ee)=>{ee["des-ecb"]={key:8,iv:0},ee["des-cbc"]=ee.des={key:8,iv:8},ee["des-ede3-cbc"]=ee.des3={key:24,iv:8},ee["des-ede3"]={key:24,iv:0},ee["des-ede-cbc"]={key:16,iv:8},ee["des-ede"]={key:16,iv:0}},59584:(Ae,ee,l)=>{"use strict";l.d(ee,{Al:()=>P,BM:()=>M,Dv:()=>U,GX:()=>q,Ie:()=>j,KT:()=>T,O5:()=>$,Pj:()=>m,RB:()=>w,RQ:()=>Q,aJ:()=>K,av:()=>p,ip:()=>ae,kQ:()=>G,kr:()=>d,mH:()=>S,os:()=>g,ru:()=>e});var i=l(59640);const t=(0,i.UX)("cln"),p=(0,i.Mz)(t,oe=>({pageSettings:oe.pageSettings,apiCallStatus:oe.apisCallStatus.FetchPageSettings})),S=(0,i.Mz)(t,oe=>oe.information),e=((0,i.Mz)(t,oe=>oe.apisCallStatus.FetchInfo),(0,i.Mz)(t,oe=>oe.apisCallStatus)),T=(0,i.Mz)(t,oe=>({payments:oe.payments,apiCallStatus:oe.apisCallStatus.FetchPayments})),g=(0,i.Mz)(t,oe=>({peers:oe.peers,apiCallStatus:oe.apisCallStatus.FetchPeers})),d=(0,i.Mz)(t,oe=>({feeRatesPerKB:oe.feeRatesPerKB,apiCallStatus:oe.apisCallStatus.FetchFeeRatesperkb})),w=(0,i.Mz)(t,oe=>({feeRatesPerKW:oe.feeRatesPerKW,apiCallStatus:oe.apisCallStatus.FetchFeeRatesperkw})),m=(0,i.Mz)(t,oe=>({listInvoices:oe.invoices,apiCallStatus:oe.apisCallStatus.FetchInvoices})),P=(0,i.Mz)(t,oe=>({utxos:oe.utxos,balance:oe.balance,localRemoteBalance:oe.localRemoteBalance,apiCallStatus:oe.apisCallStatus.FetchUTXOBalances})),M=(0,i.Mz)(t,oe=>({activeChannels:oe.activeChannels,pendingChannels:oe.pendingChannels,inactiveChannels:oe.inactiveChannels,apiCallStatus:oe.apisCallStatus.FetchChannels})),j=(0,i.Mz)(t,oe=>({forwardingHistory:oe.forwardingHistory,apiCallStatus:oe.apisCallStatus.FetchForwardingHistoryS})),U=(0,i.Mz)(t,oe=>({failedForwardingHistory:oe.failedForwardingHistory,apiCallStatus:oe.apisCallStatus.FetchForwardingHistoryF})),K=(0,i.Mz)(t,oe=>({localFailedForwardingHistory:oe.localFailedForwardingHistory,apiCallStatus:oe.apisCallStatus.FetchForwardingHistoryL})),q=(0,i.Mz)(t,oe=>({information:oe.information,balance:oe.balance,numPeers:oe.peers.length})),G=(0,i.Mz)(t,oe=>({information:oe.information,balance:oe.balance})),Q=(0,i.Mz)(t,oe=>({information:oe.information,fees:oe.fees,apisCallStatus:[oe.apisCallStatus.FetchInfo,oe.apisCallStatus.FetchForwardingHistoryS]})),$=(0,i.Mz)(t,oe=>({offers:oe.offers,apiCallStatus:oe.apisCallStatus.FetchOffers})),ae=(0,i.Mz)(t,oe=>({offersBookmarks:oe.offersBookmarks,apiCallStatus:oe.apisCallStatus.FetchOfferBookmarks}))},59640:(Ae,ee,l)=>{"use strict";l.d(ee,{SS:()=>f,Zz:()=>o,N_:()=>k,Bh:()=>Ce,QU:()=>ct,sA:()=>fe,h1:()=>ht,il:()=>kt,ae:()=>an,md:()=>mn,wc:()=>ca,q6:()=>ze,VP:()=>G,UX:()=>ln,vy:()=>mr,Mz:()=>Hi,on:()=>qn,xk:()=>Q});var i=l(2615),t=l(73664),p=l(59295),S=l(17705),c=l(84412),e=l(71985),T=l(21413),g=l(47242),d=l(40941),w=l(53993),m=l(31943),P=l(96354),j=l(23294),U=l(89079);const K={};function G(fi,Mi){if(K[fi]=(K[fi]||0)+1,"function"==typeof Mi)return ae(fi,(...wi)=>({...Mi(...wi),type:fi}));switch(Mi?Mi._as:"empty"){case"empty":return ae(fi,()=>({type:fi}));case"props":return ae(fi,wi=>({...wi,type:fi}));default:throw new Error("Unexpected config.")}}function Q(){return{_as:"props",_p:void 0}}function ae(fi,Mi){return Object.defineProperty(Mi,"type",{value:fi,writable:!1})}const o="@ngrx/store/init";let f=(()=>{var fi;class Mi extends c.t{constructor(){super({type:o})}next(wi){if("function"==typeof wi)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 wi>"u")throw new TypeError("Actions must be objects");if(typeof wi.type>"u")throw new TypeError("Actions must have a type property");super.next(wi)}complete(){}ngOnDestroy(){super.complete()}static#e=fi=()=>(this.\u0275fac=function(Xe){return new(Xe||Mi)},this.\u0275prov=i.jDH({token:Mi,factory:Mi.\u0275fac}))}return fi(),Mi})();const h=[f],b=new i.nKC("@ngrx/store Internal Root Guard"),A=new i.nKC("@ngrx/store Internal Initial State"),k=new i.nKC("@ngrx/store Initial State"),x=new i.nKC("@ngrx/store Reducer Factory"),r=new i.nKC("@ngrx/store Internal Reducer Factory Provider"),_=new i.nKC("@ngrx/store Initial Reducers"),W=new i.nKC("@ngrx/store Internal Initial Reducers"),I=new i.nKC("@ngrx/store Store Features"),B=new i.nKC("@ngrx/store Internal Store Reducers"),re=new i.nKC("@ngrx/store Internal Feature Reducers"),pe=new i.nKC("@ngrx/store Internal Feature Configs"),be=new i.nKC("@ngrx/store Internal Store Features"),Be=new i.nKC("@ngrx/store Internal Feature Reducers Token"),_e=new i.nKC("@ngrx/store Feature Reducers"),ye=new i.nKC("@ngrx/store User Provided Meta Reducers"),Le=new i.nKC("@ngrx/store Meta Reducers"),Ke=new i.nKC("@ngrx/store Internal Resolved Meta Reducers"),ge=new i.nKC("@ngrx/store User Runtime Checks Config"),ve=new i.nKC("@ngrx/store Internal User Runtime Checks Config"),Oe=new i.nKC("@ngrx/store Internal Runtime Checks"),Ee=new i.nKC("@ngrx/store Check if Action types are unique"),dt=new i.nKC("@ngrx/store Root Store Provider"),nt=new i.nKC("@ngrx/store Feature State Provider");function Ct(fi,Mi={}){const en=Object.keys(fi),wi={};for(let Gt=0;Gt<en.length;Gt++){const gt=en[Gt];"function"==typeof fi[gt]&&(wi[gt]=fi[gt])}const Xe=Object.keys(wi);return function(gt,Ft){gt=void 0===gt?Mi:gt;let gi=!1;const Bi={};for(let Qi=0;Qi<Xe.length;Qi++){const fn=Xe[Qi],da=gt[fn],ga=(0,wi[fn])(da,Ft);Bi[fn]=ga,gi=gi||ga!==da}return gi?Bi:gt}}function lt(...fi){return function(Mi){if(0===fi.length)return Mi;const en=fi[fi.length-1];return fi.slice(0,-1).reduceRight((Xe,Gt)=>Gt(Xe),en(Mi))}}function Pe(fi,Mi){return Array.isArray(Mi)&&Mi.length>0&&(fi=lt.apply(null,[...Mi,fi])),(en,wi)=>{const Xe=fi(en);return(Gt,gt)=>Xe(Gt=void 0===Gt?wi:Gt,gt)}}class ct extends e.c{}class Ce extends f{}const ze="@ngrx/store/update-reducers";let Z=(()=>{var fi;class Mi extends c.t{get currentReducers(){return this.reducers}constructor(wi,Xe,Gt,gt){super(gt(Gt,Xe)),this.dispatcher=wi,this.initialState=Xe,this.reducers=Gt,this.reducerFactory=gt}addFeature(wi){this.addFeatures([wi])}addFeatures(wi){const Xe=wi.reduce((Gt,{reducers:gt,reducerFactory:Ft,metaReducers:gi,initialState:Bi,key:Qi})=>{const fn="function"==typeof gt?function Ht(fi){const Mi=Array.isArray(fi)&&fi.length>0?lt(...fi):en=>en;return(en,wi)=>(en=Mi(en),(Xe,Gt)=>en(Xe=void 0===Xe?wi:Xe,Gt))}(gi)(gt,Bi):Pe(Ft,gi)(gt,Bi);return Gt[Qi]=fn,Gt},{});this.addReducers(Xe)}removeFeature(wi){this.removeFeatures([wi])}removeFeatures(wi){this.removeReducers(wi.map(Xe=>Xe.key))}addReducer(wi,Xe){this.addReducers({[wi]:Xe})}addReducers(wi){this.reducers={...this.reducers,...wi},this.updateReducers(Object.keys(wi))}removeReducer(wi){this.removeReducers([wi])}removeReducers(wi){wi.forEach(Xe=>{this.reducers=function Mt(fi,Mi){return Object.keys(fi).filter(en=>en!==Mi).reduce((en,wi)=>Object.assign(en,{[wi]:fi[wi]}),{})}(this.reducers,Xe)}),this.updateReducers(wi)}updateReducers(wi){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:ze,features:wi})}ngOnDestroy(){this.complete()}static#e=fi=()=>(this.\u0275fac=function(Xe){return new(Xe||Mi)(i.KVO(Ce),i.KVO(k),i.KVO(_),i.KVO(x))},this.\u0275prov=i.jDH({token:Mi,factory:Mi.\u0275fac}))}return fi(),Mi})();const J=[Z,{provide:ct,useExisting:Z},{provide:Ce,useExisting:f}];let fe=(()=>{var fi;class Mi extends T.B{ngOnDestroy(){this.complete()}static#e=fi=()=>(this.\u0275fac=(()=>{let wi;return function(Gt){return(wi||(wi=t.xGo(Mi)))(Gt||Mi)}})(),this.\u0275prov=i.jDH({token:Mi,factory:Mi.\u0275fac}))}return fi(),Mi})();const Ie=[fe];class ht extends e.c{}let li=(()=>{var fi;class Mi extends c.t{constructor(wi,Xe,Gt,gt){super(gt);const Qi=wi.pipe((0,d.Q)(g.T)).pipe((0,w.E)(Xe)).pipe((0,m.S)(Qt,{state:gt}));this.stateSubscription=Qi.subscribe(({state:fn,action:ma})=>{this.next(fn),Gt.next(ma)}),this.state=(0,U.ot)(this,{manualCleanup:!0,requireSync:!0})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}static#e=fi=()=>(this.INIT=o,this.\u0275fac=function(Xe){return new(Xe||Mi)(i.KVO(f),i.KVO(ct),i.KVO(fe),i.KVO(k))},this.\u0275prov=i.jDH({token:Mi,factory:Mi.\u0275fac}))}return fi(),Mi})();function Qt(fi={state:void 0},[Mi,en]){const{state:wi}=fi;return{state:en(wi,Mi),action:Mi}}const di=[li,{provide:ht,useExisting:li}];let kt=(()=>{var fi;class Mi extends e.c{constructor(wi,Xe,Gt,gt){super(),this.actionsObserver=Xe,this.reducerManager=Gt,this.injector=gt,this.source=wi,this.state=wi.state}select(wi,...Xe){return le.call(null,wi,...Xe)(this)}selectSignal(wi,Xe){return(0,p.EW)(()=>wi(this.state()),Xe)}lift(wi){const Xe=new Mi(this,this.actionsObserver,this.reducerManager);return Xe.operator=wi,Xe}dispatch(wi,Xe){if("function"==typeof wi)return this.processDispatchFn(wi,Xe);this.actionsObserver.next(wi)}next(wi){this.actionsObserver.next(wi)}error(wi){this.actionsObserver.error(wi)}complete(){this.actionsObserver.complete()}addReducer(wi,Xe){this.reducerManager.addReducer(wi,Xe)}removeReducer(wi){this.reducerManager.removeReducer(wi)}processDispatchFn(wi,Xe){!function he(fi,Mi){if(null==fi)throw new Error(`${Mi} must be defined.`)}(this.injector,"Store Injector");const Gt=Xe?.injector??function te(){try{return(0,i.WQX)(i.zZn)}catch{return}}()??this.injector;return(0,p.QZ)(()=>{const gt=wi();(0,p.O8)(()=>this.dispatch(gt))},{injector:Gt})}static#e=fi=()=>(this.\u0275fac=function(Xe){return new(Xe||Mi)(i.KVO(ht),i.KVO(f),i.KVO(Z),i.KVO(i.zZn))},this.\u0275prov=i.jDH({token:Mi,factory:Mi.\u0275fac}))}return fi(),Mi})();const Rt=[kt];function le(fi,Mi,...en){return function(Xe){let Gt;if("string"==typeof fi){const gt=[Mi,...en].filter(Boolean);Gt=Xe.pipe(function M(...fi){const Mi=fi.length;if(0===Mi)throw new Error("list of properties cannot be empty.");return(0,P.T)(en=>{let wi=en;for(let Xe=0;Xe<Mi;Xe++){const Gt=wi?.[fi[Xe]];if(!(typeof Gt<"u"))return;wi=Gt}return wi})}(fi,...gt))}else{if("function"!=typeof fi)throw new TypeError(`Unexpected type '${typeof fi}' in select operator, expected 'string' or 'function'`);Gt=Xe.pipe((0,P.T)(gt=>fi(gt,Mi)))}return Gt.pipe((0,j.F)())}}const ce="https://ngrx.io/guide/store/configuration/runtime-checks";function se(fi){return void 0===fi}function ke(fi){return null===fi}function Ue(fi){return Array.isArray(fi)}function Vt(fi){return"object"==typeof fi&&null!==fi}function Ye(fi){return"function"==typeof fi}let Jt=!1;function tt(fi,Mi){return fi===Mi}function ci(fi,Mi=tt,en=tt){let Gt,wi=null,Xe=null;return{memoized:function Bi(){if(void 0!==Gt)return Gt.result;if(!wi)return Xe=fi.apply(null,arguments),wi=arguments,Xe;if(!function vi(fi,Mi,en){for(let wi=0;wi<fi.length;wi++)if(!en(fi[wi],Mi[wi]))return!0;return!1}(arguments,wi,Mi))return Xe;const Qi=fi.apply(null,arguments);return wi=arguments,en(Xe,Qi)?Xe:(Xe=Qi,Qi)},reset:function gt(){wi=null,Xe=null},setResult:function Ft(Qi=void 0){Gt={result:Qi}},clearResult:function gi(){Gt=void 0}}}function Hi(...fi){return function ui(fi,Mi={stateFn:oi}){return function(...en){let wi=en;if(Array.isArray(wi[0])){const[Qi,...fn]=wi;wi=[...Qi,...fn]}else 1===wi.length&&function nn(fi){return!!fi&&"object"==typeof fi&&Object.values(fi).every(Mi=>"function"==typeof Mi)}(wi[0])&&(wi=function dn(fi){const Mi=Object.values(fi),en=Object.keys(fi);return[...Mi,(...Xe)=>en.reduce((Gt,gt,Ft)=>({...Gt,[gt]:Xe[Ft]}),{})]}(wi[0]));const Xe=wi.slice(0,wi.length-1),Gt=wi[wi.length-1],gt=Xe.filter(Qi=>Qi.release&&"function"==typeof Qi.release),Ft=fi(function(...Qi){return Gt.apply(null,Qi)}),gi=ci(function(Qi,fn){return Mi.stateFn.apply(null,[Qi,Xe,fn,Ft])});return Object.assign(gi.memoized,{release:function Bi(){gi.reset(),Ft.reset(),gt.forEach(Qi=>Qi.release())},projector:Ft.memoized,setResult:gi.setResult,clearResult:gi.clearResult})}}(ci)(...fi)}function oi(fi,Mi,en,wi){if(void 0===en){const Gt=Mi.map(gt=>gt(fi));return wi.memoized.apply(null,Gt)}const Xe=Mi.map(Gt=>Gt(fi,en));return wi.memoized.apply(null,[...Xe,en])}function ln(fi){return Hi(Mi=>{const en=Mi[fi];return!function $e(){return Jt}()&&(0,S.naY)()&&!(fi in Mi)&&console.warn(`@ngrx/store: The feature name "${fi}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${fi}', ...) or StoreModule.forFeature('${fi}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),en},Mi=>Mi)}function Ze(fi){return fi instanceof i.nKC?(0,i.WQX)(fi):fi}function Ve(fi,Mi){return Mi.map((en,wi)=>{if(fi[wi]instanceof i.nKC){const Xe=(0,i.WQX)(fi[wi]);return{key:en.key,reducerFactory:Xe.reducerFactory?Xe.reducerFactory:Ct,metaReducers:Xe.metaReducers?Xe.metaReducers:[],initialState:Xe.initialState}}return en})}function Fe(fi){return fi.map(Mi=>Mi instanceof i.nKC?(0,i.WQX)(Mi):Mi)}function it(fi){return"function"==typeof fi?fi():fi}function bt(fi,Mi){return fi.concat(Mi)}function ut(){if((0,i.WQX)(kt,{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 ai(fi){Object.freeze(fi);const Mi=Ye(fi);return Object.getOwnPropertyNames(fi).forEach(en=>{if(!en.startsWith("\u0275")&&function Et(fi,Mi){return Object.prototype.hasOwnProperty.call(fi,Mi)}(fi,en)&&(!Mi||"caller"!==en&&"callee"!==en&&"arguments"!==en)){const wi=fi[en];(Vt(wi)||Ye(wi))&&!Object.isFrozen(wi)&&ai(wi)}}),fi}function ki(fi,Mi=[]){return(se(fi)||ke(fi))&&0===Mi.length?{path:["root"],value:fi}:Object.keys(fi).reduce((wi,Xe)=>{if(wi)return wi;const Gt=fi[Xe];return function Nt(fi){return Ye(fi)&&fi.hasOwnProperty("\u0275cmp")}(Gt)?wi:!(se(Gt)||ke(Gt)||function yt(fi){return"number"==typeof fi}(Gt)||function Kt(fi){return"boolean"==typeof fi}(Gt)||function Ne(fi){return"string"==typeof fi}(Gt)||Ue(Gt))&&(function ti(fi){if(!function Zt(fi){return Vt(fi)&&!Ue(fi)}(fi))return!1;const Mi=Object.getPrototypeOf(fi);return Mi===Object.prototype||null===Mi}(Gt)?ki(Gt,[...Mi,Xe]):{path:[...Mi,Xe],value:Gt})},!1)}function Ki(fi,Mi){if(!1===fi)return;const en=fi.path.join("."),wi=new Error(`Detected unserializable ${Mi} at "${en}". ${ce}#strict${Mi}serializability`);throw wi.value=fi.value,wi.unserializablePath=en,wi}function Dn(fi){return(0,S.naY)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...fi}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function En({strictActionSerializability:fi,strictStateSerializability:Mi}){return en=>fi||Mi?function pi(fi,Mi){return function(en,wi){Mi.action(wi)&&Ki(ki(wi),"action");const Xe=fi(en,wi);return Mi.state()&&Ki(ki(Xe),"state"),Xe}}(en,{action:wi=>fi&&!Fn(wi),state:()=>Mi}):en}function An({strictActionImmutability:fi,strictStateImmutability:Mi}){return en=>fi||Mi?function jt(fi,Mi){return function(en,wi){const Xe=Mi.action(wi)?ai(wi):wi,Gt=fi(en,Xe);return Mi.state()?ai(Gt):Gt}}(en,{action:wi=>fi&&!Fn(wi),state:()=>Mi}):en}function Fn(fi){return fi.type.startsWith("@ngrx")}function xi({strictActionWithinNgZone:fi}){return Mi=>fi?function Ji(fi,Mi){return function(en,wi){if(Mi.action(wi)&&!t.SKi.isInAngularZone())throw new Error(`Action '${wi.type}' running outside NgZone. ${ce}#strictactionwithinngzone`);return fi(en,wi)}}(Mi,{action:en=>fi&&!Fn(en)}):Mi}function Gi(fi){return[{provide:ve,useValue:fi},{provide:ge,useFactory:Ai,deps:[ve]},{provide:Oe,deps:[ge],useFactory:Dn},{provide:Le,multi:!0,deps:[Oe],useFactory:An},{provide:Le,multi:!0,deps:[Oe],useFactory:En},{provide:Le,multi:!0,deps:[Oe],useFactory:xi}]}function Ci(){return[{provide:Ee,multi:!0,deps:[Oe],useFactory:Yi}]}function Ai(fi){return fi}function Yi(fi){if(!fi.strictActionTypeUniqueness)return;const Mi=Object.entries(K).filter(([,en])=>en>1).map(([en])=>en);if(Mi.length)throw new Error(`Action types are registered more than once, ${Mi.map(en=>`"${en}"`).join(", ")}. ${ce}#strictactiontypeuniqueness`)}function ji(fi={},Mi={}){return[{provide:b,useFactory:ut},{provide:A,useValue:Mi.initialState},{provide:k,useFactory:it,deps:[A]},{provide:W,useValue:fi},{provide:B,useExisting:fi instanceof i.nKC?fi:W},{provide:_,deps:[W,[new t.y_5(B)]],useFactory:Ze},{provide:ye,useValue:Mi.metaReducers?Mi.metaReducers:[]},{provide:Ke,deps:[Le,ye],useFactory:bt},{provide:r,useValue:Mi.reducerFactory?Mi.reducerFactory:Ct},{provide:x,deps:[r,Ke],useFactory:Pe},h,J,Ie,di,Rt,Gi(Mi.runtimeChecks),Ci()]}function kn(fi,Mi,en={}){return[{provide:pe,multi:!0,useValue:fi instanceof Object?{}:en},{provide:I,multi:!0,useValue:{key:fi instanceof Object?fi.name:fi,reducerFactory:en instanceof i.nKC||!en.reducerFactory?Ct:en.reducerFactory,metaReducers:en instanceof i.nKC||!en.metaReducers?[]:en.metaReducers,initialState:en instanceof i.nKC||!en.initialState?void 0:en.initialState}},{provide:be,deps:[pe,I],useFactory:Ve},{provide:re,multi:!0,useValue:fi instanceof Object?fi.reducer:Mi},{provide:Be,multi:!0,useExisting:Mi instanceof i.nKC?Mi:re},{provide:_e,multi:!0,deps:[re,[new t.y_5(Be)]],useFactory:Fe},Ci()]}(0,i.BCV)(()=>(0,i.WQX)(dt)),(0,i.BCV)(()=>(0,i.WQX)(nt));let ca=(()=>{var fi;class Mi{constructor(wi,Xe,Gt,gt,Ft,gi){}static#e=fi=()=>(this.\u0275fac=function(Xe){return new(Xe||Mi)(i.KVO(f),i.KVO(ct),i.KVO(fe),i.KVO(kt),i.KVO(b,8),i.KVO(Ee,8))},this.\u0275mod=t.$C({type:Mi}),this.\u0275inj=i.G2t({}))}return fi(),Mi})(),an=(()=>{var fi;class Mi{constructor(wi,Xe,Gt,gt,Ft){this.features=wi,this.featureReducers=Xe,this.reducerManager=Gt;const gi=wi.map((Bi,Qi)=>{const ma=Xe.shift()[Qi];return{...Bi,reducers:ma,initialState:it(Bi.initialState)}});Gt.addFeatures(gi)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}static#e=fi=()=>(this.\u0275fac=function(Xe){return new(Xe||Mi)(i.KVO(be),i.KVO(_e),i.KVO(Z),i.KVO(ca),i.KVO(Ee,8))},this.\u0275mod=t.$C({type:Mi}),this.\u0275inj=i.G2t({}))}return fi(),Mi})(),mn=(()=>{var fi;class Mi{static forRoot(wi,Xe){return{ngModule:ca,providers:[...ji(wi,Xe)]}}static forFeature(wi,Xe,Gt={}){return{ngModule:an,providers:[...kn(wi,Xe,Gt)]}}static#e=fi=()=>(this.\u0275fac=function(Xe){return new(Xe||Mi)},this.\u0275mod=t.$C({type:Mi}),this.\u0275inj=i.G2t({}))}return fi(),Mi})();function qn(...fi){return{reducer:fi.pop(),types:fi.map(wi=>wi.type)}}function mr(fi,...Mi){const en=new Map;for(const wi of Mi)for(const Xe of wi.types){const Gt=en.get(Xe);en.set(Xe,Gt?(Ft,gi)=>wi.reducer(Gt(Ft,gi),gi):wi.reducer)}return function(wi=fi,Xe){const Gt=en.get(Xe.type);return Gt?Gt(wi,Xe):wi}}},59705:Ae=>{"use strict";Ae.exports=Function.prototype.call},59858:(Ae,ee,l)=>{"use strict";l.d(ee,{y:()=>t});var i=l(98071);function t(p){return(0,i.T)(p?.then)}},60092:(Ae,ee,l)=>{"use strict";l.d(ee,{z:()=>p});var i=l(89417),t=l(73664);let p=(()=>{var S;class c{validate(T){return this.max?i.k0.max(+this.max)(T):null}static#e=S=()=>(this.\u0275fac=function(g){return new(g||c)},this.\u0275dir=t.FsC({type:c,selectors:[["input","max",""]],inputs:{max:"max"},standalone:!1,features:[t.Jv_([{provide:i.cz,useExisting:c,multi:!0}])]}))}return S(),c})()},60102:(Ae,ee,l)=>{var i=l(19307),t=l(27054).Buffer,p=l(60503),S=l(91821),c=l(3247),e=l(12375),T=l(18211);function d(j,U,K){c.call(this),this._cache=new w,this._last=void 0,this._cipher=new e.AES(U),this._prev=t.from(K),this._mode=j,this._autopadding=!0}function w(){this.cache=t.allocUnsafe(0)}function P(j,U,K){var q=p[j.toLowerCase()];if(!q)throw new TypeError("invalid suite type");if("string"==typeof K&&(K=t.from(K)),"GCM"!==q.mode&&K.length!==q.iv)throw new TypeError("invalid iv length "+K.length);if("string"==typeof U&&(U=t.from(U)),U.length!==q.key/8)throw new TypeError("invalid key length "+U.length);return"stream"===q.type?new S(q.module,U,K,!0):"auth"===q.type?new i(q.module,U,K,!0):new d(q.module,U,K)}l(71993)(d,c),d.prototype._update=function(j){this._cache.add(j);for(var U,K,q=[];U=this._cache.get(this._autopadding);)K=this._mode.decrypt(this,U),q.push(K);return t.concat(q)},d.prototype._final=function(){var j=this._cache.flush();if(this._autopadding)return function m(j){var U=j[15];if(U<1||U>16)throw new Error("unable to decrypt data");for(var K=-1;++K<U;)if(j[K+(16-U)]!==U)throw new Error("unable to decrypt data");if(16!==U)return j.slice(0,16-U)}(this._mode.decrypt(this,j));if(j)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(j){return this._autopadding=!!j,this},w.prototype.add=function(j){this.cache=t.concat([this.cache,j])},w.prototype.get=function(j){var U;if(j){if(this.cache.length>16)return U=this.cache.slice(0,16),this.cache=this.cache.slice(16),U}else if(this.cache.length>=16)return U=this.cache.slice(0,16),this.cache=this.cache.slice(16),U;return null},w.prototype.flush=function(){if(this.cache.length)return this.cache},ee.createDecipher=function M(j,U){var K=p[j.toLowerCase()];if(!K)throw new TypeError("invalid suite type");var q=T(U,!1,K.key,K.iv);return P(j,q.key,q.iv)},ee.createDecipheriv=P},60177:(Ae,ee,l)=>{"use strict";l.d(ee,{AJ:()=>p,UE:()=>c,Vy:()=>e,Xr:()=>g});var i=l(2615);const p="browser",S="server";function c(ut){return ut===p}function e(ut){return ut===S}let g=(()=>{class ut{static \u0275prov=(0,i.jDH)({token:ut,providedIn:"root",factory:()=>new d((0,i.WQX)(i.qQL),window)})}return ut})();class d{document;window;offset=()=>[0,0];constructor(jt,ai){this.document=jt,this.window=ai}setOffset(jt){this.offset=Array.isArray(jt)?()=>jt:jt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(jt,ai){this.window.scrollTo({...ai,left:jt[0],top:jt[1]})}scrollToAnchor(jt,ai){const pi=function w(ut,jt){const ai=ut.getElementById(jt)||ut.getElementsByName(jt)[0];if(ai)return ai;if("function"==typeof ut.createTreeWalker&&ut.body&&"function"==typeof ut.body.attachShadow){const pi=ut.createTreeWalker(ut.body,NodeFilter.SHOW_ELEMENT);let ki=pi.currentNode;for(;ki;){const Ki=ki.shadowRoot;if(Ki){const Ji=Ki.getElementById(jt)||Ki.querySelector(`[name="${jt}"]`);if(Ji)return Ji}ki=pi.nextNode()}}return null}(this.document,jt);pi&&(this.scrollToElement(pi,ai),pi.focus())}setHistoryScrollRestoration(jt){try{this.window.history.scrollRestoration=jt}catch{console.warn((0,i.OsK)(2400,!1))}}scrollToElement(jt,ai){const pi=jt.getBoundingClientRect(),ki=pi.left+this.window.pageXOffset,Ki=pi.top+this.window.pageYOffset,Ji=this.offset();this.window.scrollTo({...ai,left:ki-Ji[0],top:Ki-Ji[1]})}}},60426:(Ae,ee)=>{"use strict";function l(ye){return Object.keys(ye).map(Le=>ye[Le])}var ye;Object.defineProperty(ee,"__esModule",{value:!0}),(ye=ee.HashAlgorithms||(ee.HashAlgorithms={})).SHA1="sha1",ye.SHA256="sha256",ye.SHA512="sha512";const i=l(ee.HashAlgorithms);!function(ye){ye.ASCII="ascii",ye.BASE64="base64",ye.HEX="hex",ye.LATIN1="latin1",ye.UTF8="utf8"}(ee.KeyEncodings||(ee.KeyEncodings={}));const t=l(ee.KeyEncodings);!function(ye){ye.HOTP="hotp",ye.TOTP="totp"}(ee.Strategy||(ee.Strategy={}));const p=l(ee.Strategy),S=()=>{throw new Error("Please provide an options.createDigest implementation.")};function c(ye){return/^(\d+)$/.test(ye)}function e(ye,Le,Ke){return ye.length>=Le?ye:`${Array(Le+1).join(Ke)}${ye}`.slice(-1*Le)}function T(ye){const Le=`otpauth://${ye.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,Ke=[];if(p.indexOf(ye.type)<0)throw new Error(`Expecting options.type to be one of ${p.join(", ")}. Received ${ye.type}.`);if("hotp"===ye.type){if(null==ye.counter||"number"!=typeof ye.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');Ke.push(`&counter=${ye.counter}`)}return"totp"===ye.type&&ye.step&&Ke.push(`&period=${ye.step}`),ye.digits&&Ke.push(`&digits=${ye.digits}`),ye.algorithm&&Ke.push(`&algorithm=${ye.algorithm.toUpperCase()}`),ye.issuer&&Ke.push(`&issuer=${encodeURIComponent(ye.issuer)}`),Le.replace("{labelPrefix}",encodeURIComponent(ye.issuer||ye.accountName)).replace("{accountName}",encodeURIComponent(ye.accountName)).replace("{secret}",ye.secret).replace("{query}",Ke.join(""))}class g{constructor(Le={}){this._defaultOptions=Object.freeze({...Le}),this._options=Object.freeze({})}create(Le={}){return new g(Le)}clone(Le={}){const Ke=this.create({...this._defaultOptions,...Le});return Ke.options=this._options,Ke}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(Le){this._options=Object.freeze({...this._options,...Le})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(ye){if("function"!=typeof ye.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof ye.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof ye.digits)throw new Error("Expecting options.digits to be a number.");if(!ye.algorithm||i.indexOf(ye.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${i.join(", ")}. Received ${ye.algorithm}.`);if(!ye.encoding||t.indexOf(ye.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${t.join(", ")}. Received ${ye.encoding}.`)}const w=(ye,Le,Ke)=>Buffer.from(Le,Ke).toString("hex");function m(){return{algorithm:ee.HashAlgorithms.SHA1,createHmacKey:w,createDigest:S,digits:6,encoding:ee.KeyEncodings.ASCII}}function P(ye){const Le={...m(),...ye};return d(Le),Object.freeze(Le)}function M(ye){return e(ye.toString(16),16,"0")}function j(ye,Le){const Ke=Buffer.from(ye,"hex"),ge=15&Ke[Ke.length-1],Oe=((127&Ke[ge])<<24|(255&Ke[ge+1])<<16|(255&Ke[ge+2])<<8|255&Ke[ge+3])%Math.pow(10,Le);return e(String(Oe),Le,"0")}function K(ye,Le,Ke){const ge=Ke.digest||function U(ye,Le,Ke){const ge=M(Le),ve=Ke.createHmacKey(Ke.algorithm,ye,Ke.encoding);return Ke.createDigest(Ke.algorithm,ve,ge)}(ye,Le,Ke);return j(ge,Ke.digits)}function q(ye,Le,Ke,ge){return!!c(ye)&&ye===K(Le,Ke,ge)}function G(ye,Le,Ke,ge,ve){return T({algorithm:ve.algorithm,digits:ve.digits,type:ee.Strategy.HOTP,accountName:ye,counter:ge,issuer:Le,secret:Ke})}class Q extends g{create(Le={}){return new Q(Le)}allOptions(){return P(this.options)}generate(Le,Ke){return K(Le,Ke,this.allOptions())}check(Le,Ke,ge){return q(Le,Ke,ge,this.allOptions())}verify(Le){if("object"!=typeof Le)throw new Error("Expecting argument 0 of verify to be an object");return this.check(Le.token,Le.secret,Le.counter)}keyuri(Le,Ke,ge,ve){return G(Le,Ke,ge,ve,this.allOptions())}}function $(ye){if("number"==typeof ye)return[Math.abs(ye),Math.abs(ye)];if(Array.isArray(ye)){const[Le,Ke]=ye;if("number"==typeof Le&&"number"==typeof Ke)return[Math.abs(Le),Math.abs(Ke)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ae(ye){if(d(ye),$(ye.window),"number"!=typeof ye.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof ye.step)throw new Error("Expecting options.step to be a number.")}const ue=(ye,Le,Ke)=>{const ge=ye.length,ve=Buffer.from(ye,Le).toString("hex");if(ge<Ke){const Oe=new Array(Ke-ge+1).join(ve);return Buffer.from(Oe,"hex").slice(0,Ke).toString("hex")}return ve},oe=(ye,Le,Ke)=>{switch(ye){case ee.HashAlgorithms.SHA1:return ue(Le,Ke,20);case ee.HashAlgorithms.SHA256:return ue(Le,Ke,32);case ee.HashAlgorithms.SHA512:return ue(Le,Ke,64);default:throw new Error(`Expecting algorithm to be one of ${i.join(", ")}. Received ${ye}.`)}};function he(){return{algorithm:ee.HashAlgorithms.SHA1,createDigest:S,createHmacKey:oe,digits:6,encoding:ee.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function me(ye){const Le={...he(),...ye};return ae(Le),Object.freeze(Le)}function Te(ye,Le){return Math.floor(ye/Le/1e3)}function D(ye,Le){return K(ye,Te(Le.epoch,Le.step),Le)}function n(ye,Le,Ke,ge){const ve=[];if(0===ge)return ve;for(let Oe=1;Oe<=ge;Oe++)ve.push(ye+Le*Oe*Ke);return ve}function o(ye,Le,Ke){const ge=$(Ke),ve=1e3*Le;return{current:ye,past:n(ye,-1,ve,ge[0]),future:n(ye,1,ve,ge[1])}}function f(ye,Le,Ke){return!!c(ye)&&ye===D(Le,Ke)}function h(ye,Le,Ke,ge){let ve=null;return ye.some((Oe,Ee)=>!!f(Le,Ke,{...ge,epoch:Oe})&&(ve=Ee+1,!0)),ve}function b(ye,Le,Ke){if(f(ye,Le,Ke))return 0;const ge=o(Ke.epoch,Ke.step,Ke.window),ve=h(ge.past,ye,Le,Ke);return null!==ve?-1*ve:h(ge.future,ye,Le,Ke)}function A(ye,Le){return Math.floor(ye/1e3)%Le}function k(ye,Le){return Le-A(ye,Le)}function x(ye,Le,Ke,ge){return T({algorithm:ge.algorithm,digits:ge.digits,step:ge.step,type:ee.Strategy.TOTP,accountName:ye,issuer:Le,secret:Ke})}class r extends Q{create(Le={}){return new r(Le)}allOptions(){return me(this.options)}generate(Le){return D(Le,this.allOptions())}checkDelta(Le,Ke){return b(Le,Ke,this.allOptions())}check(Le,Ke){return"number"==typeof this.checkDelta(Le,Ke)}verify(Le){if("object"!=typeof Le)throw new Error("Expecting argument 0 of verify to be an object");return this.check(Le.token,Le.secret)}timeRemaining(){const Le=this.allOptions();return k(Le.epoch,Le.step)}timeUsed(){const Le=this.allOptions();return A(Le.epoch,Le.step)}keyuri(Le,Ke,ge){return x(Le,Ke,ge,this.allOptions())}}function _(ye){if(ae(ye),"function"!=typeof ye.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(ye.keyEncoder&&"function"!=typeof ye.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function W(){return{algorithm:ee.HashAlgorithms.SHA1,createDigest:S,createHmacKey:oe,digits:6,encoding:ee.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function I(ye){const Le={...W(),...ye};return _(Le),Object.freeze(Le)}function B(ye,Le){return Le.keyEncoder(ye,Le.encoding)}function re(ye,Le){return Le.keyDecoder(ye,Le.encoding)}function pe(ye,Le){return B(Le.createRandomBytes(ye,Le.encoding),Le)}function be(ye,Le){return D(re(ye,Le),Le)}function Be(ye,Le,Ke){return b(ye,re(Le,Ke),Ke)}class _e extends r{create(Le={}){return new _e(Le)}allOptions(){return I(this.options)}generate(Le){return be(Le,this.allOptions())}checkDelta(Le,Ke){return Be(Le,Ke,this.allOptions())}encode(Le){return B(Le,this.allOptions())}decode(Le){return re(Le,this.allOptions())}generateSecret(Le=10){return pe(Le,this.allOptions())}}ee.Authenticator=_e,ee.HASH_ALGORITHMS=i,ee.HOTP=Q,ee.KEY_ENCODINGS=t,ee.OTP=g,ee.STRATEGY=p,ee.TOTP=r,ee.authenticatorCheckWithWindow=Be,ee.authenticatorDecoder=re,ee.authenticatorDefaultOptions=W,ee.authenticatorEncoder=B,ee.authenticatorGenerateSecret=pe,ee.authenticatorOptionValidator=_,ee.authenticatorOptions=I,ee.authenticatorToken=be,ee.createDigestPlaceholder=S,ee.hotpCheck=q,ee.hotpCounter=M,ee.hotpCreateHmacKey=w,ee.hotpDefaultOptions=m,ee.hotpDigestToToken=j,ee.hotpKeyuri=G,ee.hotpOptions=P,ee.hotpOptionsValidator=d,ee.hotpToken=K,ee.isTokenValid=c,ee.keyuri=T,ee.objectValues=l,ee.padStart=e,ee.totpCheck=f,ee.totpCheckByEpoch=h,ee.totpCheckWithWindow=b,ee.totpCounter=Te,ee.totpCreateHmacKey=oe,ee.totpDefaultOptions=he,ee.totpEpochAvailable=o,ee.totpKeyuri=x,ee.totpOptions=me,ee.totpOptionsValidator=ae,ee.totpPadSecret=ue,ee.totpTimeRemaining=k,ee.totpTimeUsed=A,ee.totpToken=D},60503:(Ae,ee,l)=>{var i={ECB:l(37513),CBC:l(34133),CFB:l(17090),CFB8:l(72576),CFB1:l(71039),OFB:l(46854),CTR:l(70336),GCM:l(70336)},t=l(3219);for(var p in t)t[p].module=i[t[p].mode];Ae.exports=t},60541:(Ae,ee,l)=>{"use strict";var i=l(88723),p=l(3136).assert;function S(c,e){this.ec=c,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}Ae.exports=S,S.fromPublic=function(e,T,g){return T instanceof S?T:new S(e,{pub:T,pubEnc:g})},S.fromPrivate=function(e,T,g){return T instanceof S?T:new S(e,{priv:T,privEnc:g})},S.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},S.prototype.getPublic=function(e,T){return"string"==typeof e&&(T=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),T?this.pub.encode(T,e):this.pub},S.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},S.prototype._importPrivate=function(e,T){this.priv=new i(e,T||16),this.priv=this.priv.umod(this.ec.curve.n)},S.prototype._importPublic=function(e,T){if(e.x||e.y)return"mont"===this.ec.curve.type?p(e.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&p(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,T)},S.prototype.derive=function(e){return e.validate()||p(e.validate(),"public point not validated"),e.mul(this.priv).getX()},S.prototype.sign=function(e,T,g){return this.ec.sign(e,this,T,g)},S.prototype.verify=function(e,T,g){return this.ec.verify(e,T,this,void 0,g)},S.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},61092:(Ae,ee,l)=>{"use strict";var i;Ae.exports=D,D.ReadableState=Te,l(44356);var w,p=function(ve,Oe){return ve.listeners(Oe).length},S=l(12601),c=l(83838).Buffer,e=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},d=l(77199);w=d&&d.debuglog?d.debuglog("stream"):function(){};var $,ae,ue,m=l(75225),P=l(88152),j=l(22827).getHighWaterMark,U=l(30464).F,K=U.ERR_INVALID_ARG_TYPE,q=U.ERR_STREAM_PUSH_AFTER_EOF,G=U.ERR_METHOD_NOT_IMPLEMENTED,Q=U.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;l(71993)(D,S);var oe=P.errorOrDestroy,he=["error","close","destroy","pause","resume"];function Te(ge,ve,Oe){i=i||l(1030),"boolean"!=typeof Oe&&(Oe=ve instanceof i),this.objectMode=!!(ge=ge||{}).objectMode,Oe&&(this.objectMode=this.objectMode||!!ge.readableObjectMode),this.highWaterMark=j(this,ge,"readableHighWaterMark",Oe),this.buffer=new m,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!==ge.emitClose,this.autoDestroy=!!ge.autoDestroy,this.destroyed=!1,this.defaultEncoding=ge.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ge.encoding&&($||($=l(78454).I),this.decoder=new $(ge.encoding),this.encoding=ge.encoding)}function D(ge){if(i=i||l(1030),!(this instanceof D))return new D(ge);this._readableState=new Te(ge,this,this instanceof i),this.readable=!0,ge&&("function"==typeof ge.read&&(this._read=ge.read),"function"==typeof ge.destroy&&(this._destroy=ge.destroy)),S.call(this)}function n(ge,ve,Oe,Ee,dt){w("readableAddChunk",ve);var Ct,nt=ge._readableState;if(null===ve)nt.reading=!1,function k(ge,ve){if(w("onEofChunk"),!ve.ended){if(ve.decoder){var Oe=ve.decoder.end();Oe&&Oe.length&&(ve.buffer.push(Oe),ve.length+=ve.objectMode?1:Oe.length)}ve.ended=!0,ve.sync?x(ge):(ve.needReadable=!1,ve.emittedReadable||(ve.emittedReadable=!0,r(ge)))}}(ge,nt);else if(dt||(Ct=function f(ge,ve){var Oe;return!function g(ge){return c.isBuffer(ge)||ge instanceof e}(ve)&&"string"!=typeof ve&&void 0!==ve&&!ge.objectMode&&(Oe=new K("chunk",["string","Buffer","Uint8Array"],ve)),Oe}(nt,ve)),Ct)oe(ge,Ct);else if(nt.objectMode||ve&&ve.length>0)if("string"!=typeof ve&&!nt.objectMode&&Object.getPrototypeOf(ve)!==c.prototype&&(ve=function T(ge){return c.from(ge)}(ve)),Ee)nt.endEmitted?oe(ge,new Q):o(ge,nt,ve,!0);else if(nt.ended)oe(ge,new q);else{if(nt.destroyed)return!1;nt.reading=!1,nt.decoder&&!Oe?(ve=nt.decoder.write(ve),nt.objectMode||0!==ve.length?o(ge,nt,ve,!1):_(ge,nt)):o(ge,nt,ve,!1)}else Ee||(nt.reading=!1,_(ge,nt));return!nt.ended&&(nt.length<nt.highWaterMark||0===nt.length)}function o(ge,ve,Oe,Ee){ve.flowing&&0===ve.length&&!ve.sync?(ve.awaitDrain=0,ge.emit("data",Oe)):(ve.length+=ve.objectMode?1:Oe.length,Ee?ve.buffer.unshift(Oe):ve.buffer.push(Oe),ve.needReadable&&x(ge)),_(ge,ve)}Object.defineProperty(D.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(ve){this._readableState&&(this._readableState.destroyed=ve)}}),D.prototype.destroy=P.destroy,D.prototype._undestroy=P.undestroy,D.prototype._destroy=function(ge,ve){ve(ge)},D.prototype.push=function(ge,ve){var Ee,Oe=this._readableState;return Oe.objectMode?Ee=!0:"string"==typeof ge&&((ve=ve||Oe.defaultEncoding)!==Oe.encoding&&(ge=c.from(ge,ve),ve=""),Ee=!0),n(this,ge,ve,!1,Ee)},D.prototype.unshift=function(ge){return n(this,ge,null,!0,!1)},D.prototype.isPaused=function(){return!1===this._readableState.flowing},D.prototype.setEncoding=function(ge){$||($=l(78454).I);var ve=new $(ge);this._readableState.decoder=ve,this._readableState.encoding=this._readableState.decoder.encoding;for(var Oe=this._readableState.buffer.head,Ee="";null!==Oe;)Ee+=ve.write(Oe.data),Oe=Oe.next;return this._readableState.buffer.clear(),""!==Ee&&this._readableState.buffer.push(Ee),this._readableState.length=Ee.length,this};var h=1073741824;function A(ge,ve){return ge<=0||0===ve.length&&ve.ended?0:ve.objectMode?1:ge!=ge?ve.flowing&&ve.length?ve.buffer.head.data.length:ve.length:(ge>ve.highWaterMark&&(ve.highWaterMark=function b(ge){return ge>=h?ge=h:(ge--,ge|=ge>>>1,ge|=ge>>>2,ge|=ge>>>4,ge|=ge>>>8,ge|=ge>>>16,ge++),ge}(ge)),ge<=ve.length?ge:ve.ended?ve.length:(ve.needReadable=!0,0))}function x(ge){var ve=ge._readableState;w("emitReadable",ve.needReadable,ve.emittedReadable),ve.needReadable=!1,ve.emittedReadable||(w("emitReadable",ve.flowing),ve.emittedReadable=!0,process.nextTick(r,ge))}function r(ge){var ve=ge._readableState;w("emitReadable_",ve.destroyed,ve.length,ve.ended),!ve.destroyed&&(ve.length||ve.ended)&&(ge.emit("readable"),ve.emittedReadable=!1),ve.needReadable=!ve.flowing&&!ve.ended&&ve.length<=ve.highWaterMark,Be(ge)}function _(ge,ve){ve.readingMore||(ve.readingMore=!0,process.nextTick(W,ge,ve))}function W(ge,ve){for(;!ve.reading&&!ve.ended&&(ve.length<ve.highWaterMark||ve.flowing&&0===ve.length);){var Oe=ve.length;if(w("maybeReadMore read 0"),ge.read(0),Oe===ve.length)break}ve.readingMore=!1}function B(ge){var ve=ge._readableState;ve.readableListening=ge.listenerCount("readable")>0,ve.resumeScheduled&&!ve.paused?ve.flowing=!0:ge.listenerCount("data")>0&&ge.resume()}function re(ge){w("readable nexttick read 0"),ge.read(0)}function be(ge,ve){w("resume",ve.reading),ve.reading||ge.read(0),ve.resumeScheduled=!1,ge.emit("resume"),Be(ge),ve.flowing&&!ve.reading&&ge.read(0)}function Be(ge){var ve=ge._readableState;for(w("flow",ve.flowing);ve.flowing&&null!==ge.read(););}function _e(ge,ve){return 0===ve.length?null:(ve.objectMode?Oe=ve.buffer.shift():!ge||ge>=ve.length?(Oe=ve.decoder?ve.buffer.join(""):1===ve.buffer.length?ve.buffer.first():ve.buffer.concat(ve.length),ve.buffer.clear()):Oe=ve.buffer.consume(ge,ve.decoder),Oe);var Oe}function ye(ge){var ve=ge._readableState;w("endReadable",ve.endEmitted),ve.endEmitted||(ve.ended=!0,process.nextTick(Le,ve,ge))}function Le(ge,ve){if(w("endReadableNT",ge.endEmitted,ge.length),!ge.endEmitted&&0===ge.length&&(ge.endEmitted=!0,ve.readable=!1,ve.emit("end"),ge.autoDestroy)){var Oe=ve._writableState;(!Oe||Oe.autoDestroy&&Oe.finished)&&ve.destroy()}}function Ke(ge,ve){for(var Oe=0,Ee=ge.length;Oe<Ee;Oe++)if(ge[Oe]===ve)return Oe;return-1}D.prototype.read=function(ge){w("read",ge),ge=parseInt(ge,10);var ve=this._readableState,Oe=ge;if(0!==ge&&(ve.emittedReadable=!1),0===ge&&ve.needReadable&&((0!==ve.highWaterMark?ve.length>=ve.highWaterMark:ve.length>0)||ve.ended))return w("read: emitReadable",ve.length,ve.ended),0===ve.length&&ve.ended?ye(this):x(this),null;if(0===(ge=A(ge,ve))&&ve.ended)return 0===ve.length&&ye(this),null;var dt,Ee=ve.needReadable;return w("need readable",Ee),(0===ve.length||ve.length-ge<ve.highWaterMark)&&w("length less than watermark",Ee=!0),ve.ended||ve.reading?w("reading or ended",Ee=!1):Ee&&(w("do read"),ve.reading=!0,ve.sync=!0,0===ve.length&&(ve.needReadable=!0),this._read(ve.highWaterMark),ve.sync=!1,ve.reading||(ge=A(Oe,ve))),null===(dt=ge>0?_e(ge,ve):null)?(ve.needReadable=ve.length<=ve.highWaterMark,ge=0):(ve.length-=ge,ve.awaitDrain=0),0===ve.length&&(ve.ended||(ve.needReadable=!0),Oe!==ge&&ve.ended&&ye(this)),null!==dt&&this.emit("data",dt),dt},D.prototype._read=function(ge){oe(this,new G("_read()"))},D.prototype.pipe=function(ge,ve){var Oe=this,Ee=this._readableState;switch(Ee.pipesCount){case 0:Ee.pipes=ge;break;case 1:Ee.pipes=[Ee.pipes,ge];break;default:Ee.pipes.push(ge)}Ee.pipesCount+=1,w("pipe count=%d opts=%j",Ee.pipesCount,ve);var nt=ve&&!1===ve.end||ge===process.stdout||ge===process.stderr?J:Mt;function Mt(){w("onend"),ge.end()}Ee.endEmitted?process.nextTick(nt):Oe.once("end",nt),ge.on("unpipe",function Ct(fe,Ie){w("onunpipe"),fe===Oe&&Ie&&!1===Ie.hasUnpiped&&(Ie.hasUnpiped=!0,function Ht(){w("cleanup"),ge.removeListener("close",ze),ge.removeListener("finish",Z),ge.removeListener("drain",lt),ge.removeListener("error",Ce),ge.removeListener("unpipe",Ct),Oe.removeListener("end",Mt),Oe.removeListener("end",J),Oe.removeListener("data",ct),Pe=!0,Ee.awaitDrain&&(!ge._writableState||ge._writableState.needDrain)&&lt()}())});var lt=function I(ge){return function(){var Oe=ge._readableState;w("pipeOnDrain",Oe.awaitDrain),Oe.awaitDrain&&Oe.awaitDrain--,0===Oe.awaitDrain&&p(ge,"data")&&(Oe.flowing=!0,Be(ge))}}(Oe);ge.on("drain",lt);var Pe=!1;function ct(fe){w("ondata");var Ie=ge.write(fe);w("dest.write",Ie),!1===Ie&&((1===Ee.pipesCount&&Ee.pipes===ge||Ee.pipesCount>1&&-1!==Ke(Ee.pipes,ge))&&!Pe&&(w("false write response, pause",Ee.awaitDrain),Ee.awaitDrain++),Oe.pause())}function Ce(fe){w("onerror",fe),J(),ge.removeListener("error",Ce),0===p(ge,"error")&&oe(ge,fe)}function ze(){ge.removeListener("finish",Z),J()}function Z(){w("onfinish"),ge.removeListener("close",ze),J()}function J(){w("unpipe"),Oe.unpipe(ge)}return Oe.on("data",ct),function me(ge,ve,Oe){if("function"==typeof ge.prependListener)return ge.prependListener(ve,Oe);ge._events&&ge._events[ve]?Array.isArray(ge._events[ve])?ge._events[ve].unshift(Oe):ge._events[ve]=[Oe,ge._events[ve]]:ge.on(ve,Oe)}(ge,"error",Ce),ge.once("close",ze),ge.once("finish",Z),ge.emit("pipe",Oe),Ee.flowing||(w("pipe resume"),Oe.resume()),ge},D.prototype.unpipe=function(ge){var ve=this._readableState,Oe={hasUnpiped:!1};if(0===ve.pipesCount)return this;if(1===ve.pipesCount)return ge&&ge!==ve.pipes||(ge||(ge=ve.pipes),ve.pipes=null,ve.pipesCount=0,ve.flowing=!1,ge&&ge.emit("unpipe",this,Oe)),this;if(!ge){var Ee=ve.pipes,dt=ve.pipesCount;ve.pipes=null,ve.pipesCount=0,ve.flowing=!1;for(var nt=0;nt<dt;nt++)Ee[nt].emit("unpipe",this,{hasUnpiped:!1});return this}var Ct=Ke(ve.pipes,ge);return-1===Ct||(ve.pipes.splice(Ct,1),ve.pipesCount-=1,1===ve.pipesCount&&(ve.pipes=ve.pipes[0]),ge.emit("unpipe",this,Oe)),this},D.prototype.addListener=D.prototype.on=function(ge,ve){var Oe=S.prototype.on.call(this,ge,ve),Ee=this._readableState;return"data"===ge?(Ee.readableListening=this.listenerCount("readable")>0,!1!==Ee.flowing&&this.resume()):"readable"===ge&&!Ee.endEmitted&&!Ee.readableListening&&(Ee.readableListening=Ee.needReadable=!0,Ee.flowing=!1,Ee.emittedReadable=!1,w("on readable",Ee.length,Ee.reading),Ee.length?x(this):Ee.reading||process.nextTick(re,this)),Oe},D.prototype.removeListener=function(ge,ve){var Oe=S.prototype.removeListener.call(this,ge,ve);return"readable"===ge&&process.nextTick(B,this),Oe},D.prototype.removeAllListeners=function(ge){var ve=S.prototype.removeAllListeners.apply(this,arguments);return("readable"===ge||void 0===ge)&&process.nextTick(B,this),ve},D.prototype.resume=function(){var ge=this._readableState;return ge.flowing||(w("resume"),ge.flowing=!ge.readableListening,function pe(ge,ve){ve.resumeScheduled||(ve.resumeScheduled=!0,process.nextTick(be,ge,ve))}(this,ge)),ge.paused=!1,this},D.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},D.prototype.wrap=function(ge){var ve=this,Oe=this._readableState,Ee=!1;for(var dt in ge.on("end",function(){if(w("wrapped end"),Oe.decoder&&!Oe.ended){var Ct=Oe.decoder.end();Ct&&Ct.length&&ve.push(Ct)}ve.push(null)}),ge.on("data",function(Ct){w("wrapped data"),Oe.decoder&&(Ct=Oe.decoder.write(Ct)),Oe.objectMode&&null==Ct||!(Oe.objectMode||Ct&&Ct.length)||ve.push(Ct)||(Ee=!0,ge.pause())}),ge)void 0===this[dt]&&"function"==typeof ge[dt]&&(this[dt]=function(Mt){return function(){return ge[Mt].apply(ge,arguments)}}(dt));for(var nt=0;nt<he.length;nt++)ge.on(he[nt],this.emit.bind(this,he[nt]));return this._read=function(Ct){w("wrapped _read",Ct),Ee&&(Ee=!1,ge.resume())},this},"function"==typeof Symbol&&(D.prototype[Symbol.asyncIterator]=function(){return void 0===ae&&(ae=l(12683)),ae(this)}),Object.defineProperty(D.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(D.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(D.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(ve){this._readableState&&(this._readableState.flowing=ve)}}),D._fromList=_e,Object.defineProperty(D.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(D.from=function(ge,ve){return void 0===ue&&(ue=l(47765)),ue(D,ge,ve)})},61577:(Ae,ee,l)=>{"use strict";l.d(ee,{dS:()=>T});var i=l(2615),t=l(73664);const p=new i.nKC("cdk-dir-doc",{providedIn:"root",factory:function S(){return(0,i.WQX)(i.qQL)}}),c=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let T=(()=>{class g{get value(){return this.valueSignal()}valueSignal=(0,i.vPA)("ltr");change=new t.bkB;constructor(){const w=(0,i.WQX)(p,{optional:!0});w&&this.valueSignal.set(function e(g){const d=g?.toLowerCase()||"";return"auto"===d&&typeof navigator<"u"&&navigator?.language?c.test(navigator.language)?"rtl":"ltr":"rtl"===d?"rtl":"ltr"}((w.body?w.body.dir:null)||(w.documentElement?w.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(m){return new(m||g)};static \u0275prov=i.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},61594:(Ae,ee,l)=>{"use strict";l.d(ee,{$:()=>T});var i=l(9350),t=l(5964),p=l(96697),S=l(39901),c=l(93774),e=l(33669);function T(g,d){const w=arguments.length>=2;return m=>m.pipe(g?(0,t.p)((P,M)=>g(P,M,m)):e.D,(0,p.s)(1),w?(0,S.U)(d):(0,c.v)(()=>new i.G))}},61885:(Ae,ee,l)=>{"use strict";var i=l(65992),t=l(46758),p=l(59705),S=l(95731);Ae.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new t("a function is required");return S(i,p,e)}},62122:(Ae,ee,l)=>{"use strict";var i=l(39210),t=l(71993),p=l(10219),S=l(64166);function c(T,g){i.equal(g.length,24,"Invalid key length");var d=g.slice(0,8),w=g.slice(8,16),m=g.slice(16,24);this.ciphers="encrypt"===T?[S.create({type:"encrypt",key:d}),S.create({type:"decrypt",key:w}),S.create({type:"encrypt",key:m})]:[S.create({type:"decrypt",key:m}),S.create({type:"encrypt",key:w}),S.create({type:"decrypt",key:d})]}function e(T){p.call(this,T);var g=new c(this.type,this.options.key);this._edeState=g}t(e,p),Ae.exports=e,e.create=function(g){return new e(g)},e.prototype._update=function(g,d,w,m){var P=this._edeState;P.ciphers[0]._update(g,d,w,m),P.ciphers[1]._update(w,m,w,m),P.ciphers[2]._update(w,m,w,m)},e.prototype._pad=S.prototype._pad,e.prototype._unpad=S.prototype._unpad},62951:Ae=>{"use strict";Ae.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"}}')},63361:(Ae,ee,l)=>{"use strict";var p,i=l(61885),t=l(83798);try{p=[].__proto__===Array.prototype}catch(T){if(!T||"object"!=typeof T||!("code"in T)||"ERR_PROTO_ACCESS"!==T.code)throw T}var S=!!p&&t&&t(Object.prototype,"__proto__"),c=Object,e=c.getPrototypeOf;Ae.exports=S&&"function"==typeof S.get?i([S.get]):"function"==typeof e&&function(g){return e(null==g?g:c(g))}},63386:(Ae,ee,l)=>{"use strict";l.d(ee,{w:()=>p});var i=l(73664),t=l(31804);let p=(()=>{class S{_animationsDisabled=(0,t.Rc)();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(T){return new(T||S)};static \u0275cmp=i.VBU({type:S,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(T,g){2&T&&i.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===g.state)("mat-pseudo-checkbox-checked","checked"===g.state)("mat-pseudo-checkbox-disabled",g.disabled)("mat-pseudo-checkbox-minimal","minimal"===g.appearance)("mat-pseudo-checkbox-full","full"===g.appearance)("_mat-animation-noopable",g._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(T,g){},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-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.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-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));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-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.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-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.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}\n'],encapsulation:2,changeDetection:0})}return S})()},63536:(Ae,ee,l)=>{"use strict";l.d(ee,{$7:()=>q,$G:()=>p,BM:()=>M,Bw:()=>K,Ie:()=>T,KT:()=>g,Uv:()=>U,ah:()=>Q,eO:()=>ue,gN:()=>m,gj:()=>oe,n_:()=>ae,oR:()=>d,os:()=>w,pI:()=>S,rN:()=>P,ru:()=>e,tA:()=>$});var i=l(59640);const t=(0,i.UX)("lnd"),p=(0,i.Mz)(t,he=>({pageSettings:he.pageSettings,apiCallStatus:he.apisCallStatus.FetchPageSettings})),S=(0,i.Mz)(t,he=>he.information),e=((0,i.Mz)(t,he=>({information:he.information,apiCallStatus:he.apisCallStatus.FetchInfo})),(0,i.Mz)(t,he=>he.apisCallStatus)),T=(0,i.Mz)(t,he=>({forwardingHistory:he.forwardingHistory,apiCallStatus:he.apisCallStatus.FetchForwardingHistory})),g=(0,i.Mz)(t,he=>({listPayments:he.listPayments,apiCallStatus:he.apisCallStatus.FetchPayments})),d=(0,i.Mz)(t,he=>({fees:he.fees,apiCallStatus:he.apisCallStatus.FetchFees})),w=(0,i.Mz)(t,he=>({peers:he.peers,apiCallStatus:he.apisCallStatus.FetchPeers})),m=(0,i.Mz)(t,he=>({transactions:he.transactions,apiCallStatus:he.apisCallStatus.FetchTransactions})),P=(0,i.Mz)(t,he=>({listInvoices:he.listInvoices,apiCallStatus:he.apisCallStatus.FetchInvoices})),M=(0,i.Mz)(t,he=>({channels:he.channels,channelsSummary:he.channelsSummary,lightningBalance:he.lightningBalance,apiCallStatus:he.apisCallStatus.FetchAllChannels})),U=((0,i.Mz)(t,he=>({channelsSummary:he.channelsSummary,pendingChannels:he.pendingChannels,closedChannels:he.closedChannels,apiCallStatus:he.apisCallStatus.FetchAllChannels})),(0,i.Mz)(t,he=>({pendingChannels:he.pendingChannels,pendingChannelsSummary:he.pendingChannelsSummary,apiCallStatus:he.apisCallStatus.FetchPendingChannels}))),K=(0,i.Mz)(t,he=>({closedChannels:he.closedChannels,apiCallStatus:he.apisCallStatus.FetchClosedChannels})),q=(0,i.Mz)(t,he=>({blockchainBalance:he.blockchainBalance,apiCallStatus:he.apisCallStatus.FetchBalanceBlockchain})),Q=((0,i.Mz)(t,he=>({lightningBalance:he.lightningBalance,apiCallStatus:he.apisCallStatus.FetchAllChannels})),(0,i.Mz)(t,he=>({utxos:he.utxos,apiCallStatus:he.apisCallStatus.FetchUTXOs}))),$=(0,i.Mz)(t,he=>({networkInfo:he.networkInfo,apiCallStatus:he.apisCallStatus.FetchNetwork})),ae=(0,i.Mz)(t,he=>({allLightningTransactions:he.allLightningTransactions,apiCallStatus:he.apisCallStatus.FetchLightningTransactions})),ue=(0,i.Mz)(t,he=>({channels:he.channels,pendingChannels:he.pendingChannels,closedChannels:he.closedChannels})),oe=(0,i.Mz)(t,he=>({information:he.information,apiCallStatus:he.apisCallStatus.FetchInfo}))},63610:(Ae,ee,l)=>{"use strict";l.d(ee,{a:()=>P});var i=l(2615),t=l(73664),p=l(21413),S=l(71985),c=l(5964),e=l(92771),T=l(97647),d=l(56977);class m{_box;_destroyed=new p.B;_resizeSubject=new p.B;_resizeObserver;_elementObservables=new Map;constructor(j){this._box=j,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(U=>this._resizeSubject.next(U)))}observe(j){return this._elementObservables.has(j)||this._elementObservables.set(j,new S.c(U=>{const K=this._resizeSubject.subscribe(U);return this._resizeObserver?.observe(j,{box:this._box}),()=>{this._resizeObserver?.unobserve(j),K.unsubscribe(),this._elementObservables.delete(j)}}).pipe((0,c.p)(U=>U.some(K=>K.target===j)),function g(M,j,U){let K,q=!1;return M&&"object"==typeof M?({bufferSize:K=1/0,windowTime:j=1/0,refCount:q=!1,scheduler:U}=M):K=M??1/0,(0,T.u)({connector:()=>new e.m(K,j,U),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:q})}({bufferSize:1,refCount:!0}),(0,d.Q)(this._destroyed))),this._elementObservables.get(j)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let P=(()=>{class M{_cleanupErrorListener;_observers=new Map;_ngZone=(0,i.WQX)(t.SKi);constructor(){}ngOnDestroy(){for(const[,U]of this._observers)U.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(U,K){const q=K?.box||"content-box";return this._observers.has(q)||this._observers.set(q,new m(q)),this._observers.get(q).observe(U)}static \u0275fac=function(K){return new(K||M)};static \u0275prov=i.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})()},63779:()=>{},64123:(Ae,ee,l)=>{"use strict";l.d(ee,{B:()=>t});var i=l(12593);class t extends i.l{_origin="program";setFocusOrigin(S){return this._origin=S,this}setActiveItem(S){super.setActiveItem(S),this.activeItem&&this.activeItem.focus(this._origin)}}},64166:(Ae,ee,l)=>{"use strict";var i=l(39210),t=l(71993),p=l(85671),S=l(10219);function c(){this.tmp=new Array(2),this.keys=null}function e(g){S.call(this,g);var d=new c;this._desState=d,this.deriveKeys(d,g.key)}t(e,S),Ae.exports=e,e.create=function(d){return new e(d)};var T=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];e.prototype.deriveKeys=function(d,w){d.keys=new Array(32),i.equal(w.length,this.blockSize,"Invalid key length");var m=p.readUInt32BE(w,0),P=p.readUInt32BE(w,4);p.pc1(m,P,d.tmp,0),m=d.tmp[0],P=d.tmp[1];for(var M=0;M<d.keys.length;M+=2){var j=T[M>>>1];m=p.r28shl(m,j),P=p.r28shl(P,j),p.pc2(m,P,d.keys,M)}},e.prototype._update=function(d,w,m,P){var M=this._desState,j=p.readUInt32BE(d,w),U=p.readUInt32BE(d,w+4);p.ip(j,U,M.tmp,0),j=M.tmp[0],U=M.tmp[1],"encrypt"===this.type?this._encrypt(M,j,U,M.tmp,0):this._decrypt(M,j,U,M.tmp,0),U=M.tmp[1],p.writeUInt32BE(m,j=M.tmp[0],P),p.writeUInt32BE(m,U,P+4)},e.prototype._pad=function(d,w){if(!1===this.padding)return!1;for(var m=d.length-w,P=w;P<d.length;P++)d[P]=m;return!0},e.prototype._unpad=function(d){if(!1===this.padding)return d;for(var w=d[d.length-1],m=d.length-w;m<d.length;m++)i.equal(d[m],w);return d.slice(0,d.length-w)},e.prototype._encrypt=function(d,w,m,P,M){for(var j=w,U=m,K=0;K<d.keys.length;K+=2){var q=d.keys[K],G=d.keys[K+1];p.expand(U,d.tmp,0);var Q=p.substitute(q^=d.tmp[0],G^=d.tmp[1]),ae=U;U=(j^p.permute(Q))>>>0,j=ae}p.rip(U,j,P,M)},e.prototype._decrypt=function(d,w,m,P,M){for(var j=m,U=w,K=d.keys.length-2;K>=0;K-=2){var q=d.keys[K],G=d.keys[K+1];p.expand(j,d.tmp,0);var Q=p.substitute(q^=d.tmp[0],G^=d.tmp[1]),ae=j;j=(U^p.permute(Q))>>>0,U=ae}p.rip(j,U,P,M)}},64589:Ae=>{"use strict";Ae.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"}')},64688:()=>{},64947:(Ae,ee,l)=>{"use strict";var i=l(88723),t=l(71993),p=l(98828),S=l(3136);function c(T){p.call(this,"mont",T),this.a=new i(T.a,16).toRed(this.red),this.b=new i(T.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function e(T,g,d){p.BasePoint.call(this,T,"projective"),null===g&&null===d?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(g,16),this.z=new i(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}t(c,p),Ae.exports=c,c.prototype.validate=function(g){var d=g.normalize().x,w=d.redSqr(),m=w.redMul(d).redAdd(w.redMul(this.a)).redAdd(d);return 0===m.redSqrt().redSqr().cmp(m)},t(e,p.BasePoint),c.prototype.decodePoint=function(g,d){return this.point(S.toArray(g,d),1)},c.prototype.point=function(g,d){return new e(this,g,d)},c.prototype.pointFromJSON=function(g){return e.fromJSON(this,g)},e.prototype.precompute=function(){},e.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},e.fromJSON=function(g,d){return new e(g,d[0],d[1]||g.one)},e.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},e.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},e.prototype.dbl=function(){var d=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),P=d.redSub(m),M=d.redMul(m),j=P.redMul(m.redAdd(this.curve.a24.redMul(P)));return this.curve.point(M,j)},e.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},e.prototype.diffAdd=function(g,d){var w=this.x.redAdd(this.z),m=this.x.redSub(this.z),P=g.x.redAdd(g.z),j=g.x.redSub(g.z).redMul(w),U=P.redMul(m),K=d.z.redMul(j.redAdd(U).redSqr()),q=d.x.redMul(j.redISub(U).redSqr());return this.curve.point(K,q)},e.prototype.mul=function(g){for(var d=g.clone(),w=this,m=this.curve.point(null,null),M=[];0!==d.cmpn(0);d.iushrn(1))M.push(d.andln(1));for(var j=M.length-1;j>=0;j--)0===M[j]?(w=w.diffAdd(m,this),m=m.dbl()):(m=w.diffAdd(m,this),w=w.dbl());return m},e.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},e.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},e.prototype.eq=function(g){return 0===this.getX().cmp(g.getX())},e.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},e.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},65245:(Ae,ee,l)=>{"use strict";l.d(ee,{i:()=>t});var i=l(5964);function t(p){return(0,i.p)((S,c)=>p<=c)}},65667:(Ae,ee,l)=>{"use strict";var i=l(83138),t=l(15579),p=l(89472),S=l(43388),c=l(93397).pbkdf2Sync,e=l(27054).Buffer;function g(d){var w;"object"==typeof d&&!e.isBuffer(d)&&(w=d.passphrase,d=d.key),"string"==typeof d&&(d=e.from(d));var j,U,m=p(d,w),P=m.tag,M=m.data;switch(P){case"CERTIFICATE":U=i.certificate.decode(M,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(U||(U=i.PublicKey.decode(M,"der")),j=U.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(U.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return U.subjectPrivateKey=U.subjectPublicKey,{type:"ec",data:U};case"1.2.840.10040.4.1":return U.algorithm.params.pub_key=i.DSAparam.decode(U.subjectPublicKey.data,"der"),{type:"dsa",data:U.algorithm.params};default:throw new Error("unknown key id "+j)}case"ENCRYPTED PRIVATE KEY":M=function T(d,w){var m=d.algorithm.decrypt.kde.kdeparams.salt,P=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),M=t[d.algorithm.decrypt.cipher.algo.join(".")],j=d.algorithm.decrypt.cipher.iv,U=d.subjectPrivateKey,K=parseInt(M.split("-")[1],10)/8,q=c(w,m,P,K,"sha1"),G=S.createDecipheriv(M,q,j),Q=[];return Q.push(G.update(U)),Q.push(G.final()),e.concat(Q)}(M=i.EncryptedPrivateKey.decode(M,"der"),w);case"PRIVATE KEY":switch(j=(U=i.PrivateKey.decode(M,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(U.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:U.algorithm.curve,privateKey:i.ECPrivateKey.decode(U.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return U.algorithm.params.priv_key=i.DSAparam.decode(U.subjectPrivateKey,"der"),{type:"dsa",params:U.algorithm.params};default:throw new Error("unknown key id "+j)}case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(M,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(M,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(M,"der")};case"EC PRIVATE KEY":return{curve:(M=i.ECPrivateKey.decode(M,"der")).parameters.value,privateKey:M.privateKey};default:throw new Error("unknown key type "+P)}}g.signature=i.signature,Ae.exports=g},65891:Ae=>{"use strict";Ae.exports=Object},65992:(Ae,ee,l)=>{"use strict";var i=l(49132);Ae.exports=Function.prototype.bind||i},66089:()=>{},66686:(Ae,ee)=>{const l=new Uint8Array(512),i=new Uint8Array(256);(function(){let p=1;for(let S=0;S<255;S++)l[S]=p,i[p]=S,p<<=1,256&p&&(p^=285);for(let S=255;S<512;S++)l[S]=l[S-255]})(),ee.log=function(p){if(p<1)throw new Error("log("+p+")");return i[p]},ee.exp=function(p){return l[p]},ee.mul=function(p,S){return 0===p||0===S?0:l[i[p]+i[S]]}},67211:(Ae,ee,l)=>{"use strict";var i=l(71993),t=l(34725),p=l(36636),S=l(25443),c=l(3247);function e(T){c.call(this,"digest"),this._hash=T}i(e,c),e.prototype._update=function(T){this._hash.update(T)},e.prototype._final=function(){return this._hash.digest()},Ae.exports=function(g){return"md5"===(g=g.toLowerCase())?new t:"rmd160"===g||"ripemd160"===g?new p:new e(S(g))}},67336:(Ae,ee,l)=>{"use strict";function i(t,...p){return p.length?p.some(S=>t[S]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}l.d(ee,{rp:()=>i})},67575:(Ae,ee,l)=>{"use strict";l.d(ee,{HM:()=>w,PO:()=>P});var i=l(2615),t=l(73664),p=l(17705),S=l(31804),c=l(22466);function e(M,j){1&M&&t.Hgh(0,"div",2)}const T=new i.nKC("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");let w=(()=>{class M{_elementRef=(0,i.WQX)(t.aKT);_ngZone=(0,i.WQX)(t.SKi);_changeDetectorRef=(0,i.WQX)(p.gRc);_renderer=(0,i.WQX)(t.sFG);_cleanupTransitionEnd;constructor(){const U=(0,S._J)(),K=(0,i.WQX)(T,{optional:!0});this._isNoopAnimation="di-disabled"===U,"reduced-motion"===U&&this._elementRef.nativeElement.classList.add("mat-progress-bar-reduced-motion"),K&&(K.color&&(this.color=this._defaultColor=K.color),this.mode=K.mode||this.mode)}_isNoopAnimation;get color(){return this._color||this._defaultColor}set color(U){this._color=U}_color;_defaultColor="primary";get value(){return this._value}set value(U){this._value=m(U||0),this._changeDetectorRef.markForCheck()}_value=0;get bufferValue(){return this._bufferValue||0}set bufferValue(U){this._bufferValue=m(U||0),this._changeDetectorRef.markForCheck()}_bufferValue=0;animationEnd=new t.bkB;get mode(){return this._mode}set mode(U){this._mode=U,this._changeDetectorRef.markForCheck()}_mode="determinate";ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupTransitionEnd=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._transitionendHandler)})}ngOnDestroy(){this._cleanupTransitionEnd?.()}_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}_transitionendHandler=U=>{0===this.animationEnd.observers.length||!U.target||!U.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))};static \u0275fac=function(K){return new(K||M)};static \u0275cmp=t.VBU({type:M,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(K,q){2&K&&(t.BMQ("aria-valuenow",q._isIndeterminate()?null:q.value)("mode",q.mode),t.HbH("mat-"+q.color),t.AVh("_mat-animation-noopable",q._isNoopAnimation)("mdc-linear-progress--animation-ready",!q._isNoopAnimation)("mdc-linear-progress--indeterminate",q._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",p.Udg],bufferValue:[2,"bufferValue","bufferValue",p.Udg],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],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(K,q){1&K&&(t.rj2(0,"div",0),t.Hgh(1,"div",1),t.nVh(2,e,1,0,"div",2),t.eux(),t.rj2(3,"div",3),t.Hgh(4,"span",4),t.eux(),t.rj2(5,"div",5),t.Hgh(6,"span",4),t.eux()),2&K&&(t.R7$(),t.xc7("flex-basis",q._getBufferBarFlexBasis()),t.R7$(),t.vxM("buffer"===q.mode?2:-1),t.R7$(),t.xc7("transform",q._getPrimaryBarTransform()))},styles:[".mat-mdc-progress-bar{--mat-progress-bar-animation-multiplier: 1;display:block;text-align:start}.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}.mat-progress-bar-reduced-motion{--mat-progress-bar-animation-multiplier: 2}.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);height:max(var(--mat-progress-bar-track-height, 4px),var(--mat-progress-bar-active-indicator-height, 4px))}@media(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);height:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mat-progress-bar-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-progress-bar-active-indicator-height, 4px)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mat-progress-bar-track-height, 4px);border-radius:var(--mat-progress-bar-track-shape, var(--mat-sys-corner-none))}.mdc-linear-progress__buffer-dots{background-image:radial-gradient(circle, var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant)) calc(var(--mat-progress-bar-track-height, 4px) / 2), transparent 0);background-repeat:repeat-x;background-size:calc(calc(var(--mat-progress-bar-track-height, 4px) / 2)*5);background-position:left;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse calc(250ms*var(--mat-progress-bar-animation-multiplier)) infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mat-progress-bar-track-color, var(--mat-sys-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) 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 calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.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__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate calc(2s*var(--mat-progress-bar-animation-multiplier)) 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 calc(2s*var(--mat-progress-bar-animation-multiplier)) infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mat-progress-bar-track-height, 4px) * -2.5))}}@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(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-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(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}\n"],encapsulation:2,changeDetection:0})}return M})();function m(M,j=0,U=100){return Math.max(j,Math.min(U,M))}let P=(()=>{class M{static \u0275fac=function(K){return new(K||M)};static \u0275mod=t.$C({type:M});static \u0275inj=i.G2t({imports:[c.y]})}return M})()},67847:(Ae,ee,l)=>{"use strict";l.d(ee,{OE:()=>t,i8:()=>S,o1:()=>p});var i=l(73664);function t(c,e=0){return p(c)?Number(c):2===arguments.length?e:0}function p(c){return!isNaN(parseFloat(c))&&!isNaN(Number(c))}function S(c){return c instanceof i.aKT?c.nativeElement:c}},67947:(Ae,ee,l)=>{"use strict";var i=l(57303),t=l(52512),p=l(2615),S=l(60177),c=l(72200),e=l(73664),T=l(17705),g=l(93393);class d extends i.qj{supportsDOMEvents=!0;static makeCurrent(){(0,i.ig)(new d)}onAndCancel(F,L,H,Y){return F.addEventListener(L,H,Y),()=>{F.removeEventListener(L,H,Y)}}dispatchEvent(F,L){F.dispatchEvent(L)}remove(F){F.remove()}createElement(F,L){return(L=L||this.getDefaultDocument()).createElement(F)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(F){return F.nodeType===Node.ELEMENT_NODE}isShadowRoot(F){return F instanceof DocumentFragment}getGlobalEventTarget(F,L){return"window"===L?window:"document"===L?F:"body"===L?F.body:null}getBaseHref(F){const L=function m(){return w=w||document.head.querySelector("base"),w?w.getAttribute("href"):null}();return null==L?null:function P(z){return new URL(z,document.baseURI).pathname}(L)}resetBaseElement(){w=null}getUserAgent(){return window.navigator.userAgent}getCookie(F){return(0,t.b)(document.cookie,F)}}let w=null,j=(()=>{class z{build(){return new XMLHttpRequest}static \u0275fac=function(H){return new(H||z)};static \u0275prov=p.jDH({token:z,factory:z.\u0275fac})}return z})();const U=["alt","control","meta","shift"],K={"\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"},q={alt:z=>z.altKey,control:z=>z.ctrlKey,meta:z=>z.metaKey,shift:z=>z.shiftKey};let G=(()=>{class z extends g.Hl{constructor(L){super(L)}supports(L){return null!=z.parseEventName(L)}addEventListener(L,H,Y,ie){const et=z.parseEventName(H),Bt=z.eventCallback(et.fullKey,Y,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.rb)().onAndCancel(L,et.domEventName,Bt,ie))}static parseEventName(L){const H=L.toLowerCase().split("."),Y=H.shift();if(0===H.length||"keydown"!==Y&&"keyup"!==Y)return null;const ie=z._normalizeKey(H.pop());let et="",Bt=H.indexOf("code");if(Bt>-1&&(H.splice(Bt,1),et="code."),U.forEach(Ei=>{const zi=H.indexOf(Ei);zi>-1&&(H.splice(zi,1),et+=Ei+".")}),et+=ie,0!=H.length||0===ie.length)return null;const $t={};return $t.domEventName=Y,$t.fullKey=et,$t}static matchEventFullKeyCode(L,H){let Y=K[L.key]||L.key,ie="";return H.indexOf("code.")>-1&&(Y=L.code,ie="code."),!(null==Y||!Y)&&(Y=Y.toLowerCase()," "===Y?Y="space":"."===Y&&(Y="dot"),U.forEach(et=>{et!==Y&&(0,q[et])(L)&&(ie+=et+".")}),ie+=Y,ie===H)}static eventCallback(L,H,Y){return ie=>{z.matchEventFullKeyCode(ie,L)&&Y.runGuarded(()=>H(ie))}}static _normalizeKey(L){return"esc"===L?"escape":L}static \u0275fac=function(H){return new(H||z)(p.KVO(p.qQL))};static \u0275prov=p.jDH({token:z,factory:z.\u0275fac})}return z})();const D=(0,T.oH4)(T.fpN,"browser",[{provide:e.Agw,useValue:S.AJ},{provide:e.PLl,useValue:function oe(){d.makeCurrent()},multi:!0},{provide:p.qQL,useFactory:function me(){return(0,e._9u)(document),document}}]),o=[{provide:e.$Ln,useClass:class M{addToWindow(F){p.laP.getAngularTestability=(H,Y=!0)=>{const ie=F.findTestabilityInTree(H,Y);if(null==ie)throw new p.buA(5103,!1);return ie},p.laP.getAllAngularTestabilities=()=>F.getAllTestabilities(),p.laP.getAllAngularRootElements=()=>F.getAllRootElements(),p.laP.frameworkStabilizers||(p.laP.frameworkStabilizers=[]),p.laP.frameworkStabilizers.push(H=>{const Y=p.laP.getAllAngularTestabilities();let ie=Y.length;const et=function(){ie--,0==ie&&H()};Y.forEach(Bt=>{Bt.whenStable(et)})})}findTestabilityInTree(F,L,H){return null==L?null:F.getTestability(L)??(H?(0,i.rb)().isShadowRoot(L)?this.findTestabilityInTree(F,L.host,!0):this.findTestabilityInTree(F,L.parentElement,!0):null)}}},{provide:e.dOL,useClass:e.NYb,deps:[e.SKi,e.giA,e.$Ln]},{provide:e.NYb,useClass:e.NYb,deps:[e.SKi,e.giA,e.$Ln]}],f=[{provide:p.GBX,useValue:"root"},{provide:p.zcH,useFactory:function he(){return new p.zcH}},{provide:g.Q5,useClass:g.jd,multi:!0,deps:[p.qQL]},{provide:g.Q5,useClass:G,multi:!0,deps:[p.qQL]},g.mE,g.CI,g.EU,{provide:e._9s,useExisting:g.mE},{provide:t.N,useClass:j},[]];let h=(()=>{class z{constructor(){}static \u0275fac=function(H){return new(H||z)};static \u0275mod=e.$C({type:z});static \u0275inj=p.G2t({providers:[...f,...o],imports:[c.MD,T.Hbi]})}return z})();var b=l(345),A=l(11514);function x(z){return new p.buA(3e3,!1)}function _e(z){return new p.buA(3002,!1)}function di(z){switch(z.length){case 0:return new A.sf;case 1:return z[0];default:return new A.PZ(z)}}function kt(z,F,L=new Map,H=new Map){const Y=[],ie=[];let et=-1,Bt=null;if(F.forEach($t=>{const Ei=$t.get("offset"),zi=Ei==et,Vi=zi&&Bt||new Map;$t.forEach((un,Bn)=>{let pn=Bn,gn=un;if("offset"!==Bn)switch(pn=z.normalizePropertyName(pn,Y),gn){case A.FX:gn=L.get(Bn);break;case A.kp:gn=H.get(Bn);break;default:gn=z.normalizeStyleValue(Bn,pn,gn,Y)}Vi.set(pn,gn)}),zi||ie.push(Vi),Bt=Vi,et=Ei}),Y.length)throw function Pe(){return new p.buA(3502,!1)}();return ie}function Rt(z,F,L,H){switch(F){case"start":z.onStart(()=>H(L&&le(L,"start",z)));break;case"done":z.onDone(()=>H(L&&le(L,"done",z)));break;case"destroy":z.onDestroy(()=>H(L&&le(L,"destroy",z)))}}function le(z,F,L){const ie=te(z.element,z.triggerName,z.fromState,z.toState,F||z.phaseName,L.totalTime??z.totalTime,!!L.disabled),et=z._data;return null!=et&&(ie._data=et),ie}function te(z,F,L,H,Y="",ie=0,et){return{element:z,triggerName:F,fromState:L,toState:H,phaseName:Y,totalTime:ie,disabled:!!et}}function ce(z,F,L){let H=z.get(F);return H||z.set(F,H=L),H}function se(z){const F=z.indexOf(":");return[z.substring(1,F),z.slice(F+1)]}const ke=typeof document>"u"?null:document.documentElement;function Ue(z){const F=z.parentNode||z.host||null;return F===ke?null:F}let Kt=null,yt=!1;function Ye(z,F){for(;F;){if(F===z)return!0;F=Ue(F)}return!1}function Nt(z,F,L){if(L)return Array.from(z.querySelectorAll(F));const H=z.querySelector(F);return H?[H]:[]}const $e="ng-enter",tt="ng-leave",vi="ng-trigger",ei=".ng-trigger",ci="ng-animating",Hi=".ng-animating";function oi(z){if("number"==typeof z)return z;const F=z.match(/^(-?[\.\d]+)(m?s)/);return!F||F.length<2?0:ui(parseFloat(F[1]),F[2])}function ui(z,F){return"s"===F?1e3*z:z}function ln(z,F,L){return z.hasOwnProperty("duration")?z:function dn(z,F,L){let H,Y=0,ie="";if("string"==typeof z){const et=z.match(nn);if(null===et)return F.push(x()),{duration:0,delay:0,easing:""};H=ui(parseFloat(et[1]),et[2]);const Bt=et[3];null!=Bt&&(Y=ui(parseFloat(Bt),et[4]));const $t=et[5];$t&&(ie=$t)}else H=z;if(!L){let et=!1,Bt=F.length;H<0&&(F.push(function r(){return new p.buA(3100,!1)}()),et=!0),Y<0&&(F.push(function _(){return new p.buA(3101,!1)}()),et=!0),et&&F.splice(Bt,0,x())}return{duration:H,delay:Y,easing:ie}}(z,F,L)}const nn=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Tt(z,F,L){F.forEach((H,Y)=>{const ie=ai(Y);L&&!L.has(Y)&&L.set(Y,z.style[ie]),z.style[ie]=H})}function Ze(z,F){F.forEach((L,H)=>{const Y=ai(H);z.style[Y]=""})}function Ve(z){return Array.isArray(z)?1==z.length?z[0]:(0,A.K2)(z):z}const it=new RegExp("{{\\s*(.+?)\\s*}}","g");function bt(z){let F=[];if("string"==typeof z){let L;for(;L=it.exec(z);)F.push(L[1]);it.lastIndex=0}return F}function ut(z,F,L){const H=`${z}`,Y=H.replace(it,(ie,et)=>{let Bt=F[et];return null==Bt&&(L.push(function I(){return new p.buA(3003,!1)}()),Bt=""),Bt.toString()});return Y==H?z:Y}const jt=/-+([a-z0-9])/g;function ai(z){return z.replace(jt,(...F)=>F[1].toUpperCase())}function Ji(z,F,L){switch(F.type){case A.If.Trigger:return z.visitTrigger(F,L);case A.If.State:return z.visitState(F,L);case A.If.Transition:return z.visitTransition(F,L);case A.If.Sequence:return z.visitSequence(F,L);case A.If.Group:return z.visitGroup(F,L);case A.If.Animate:return z.visitAnimate(F,L);case A.If.Keyframes:return z.visitKeyframes(F,L);case A.If.Style:return z.visitStyle(F,L);case A.If.Reference:return z.visitReference(F,L);case A.If.AnimateChild:return z.visitAnimateChild(F,L);case A.If.AnimateRef:return z.visitAnimateRef(F,L);case A.If.Query:return z.visitQuery(F,L);case A.If.Stagger:return z.visitStagger(F,L);default:throw function B(){return new p.buA(3004,!1)}()}}function Dn(z,F){return window.getComputedStyle(z)[F]}let En=(()=>{class z{validateStyleProperty(L){return function Vt(z){Kt||(Kt=function ti(){return typeof document<"u"?document.body:null}()||{},yt=!!Kt.style&&"WebkitAppearance"in Kt.style);let F=!0;return Kt.style&&!function Ne(z){return"ebkit"==z.substring(1,6)}(z)&&(F=z in Kt.style,!F&&yt&&(F="Webkit"+z.charAt(0).toUpperCase()+z.slice(1)in Kt.style)),F}(L)}containsElement(L,H){return Ye(L,H)}getParentElement(L){return Ue(L)}query(L,H,Y){return Nt(L,H,Y)}computeStyle(L,H,Y){return Y||""}animate(L,H,Y,ie,et,Bt=[],$t){return new A.sf(Y,ie)}static \u0275fac=function(H){return new(H||z)};static \u0275prov=p.jDH({token:z,factory:z.\u0275fac})}return z})();class An{static NOOP=new En}class Fn{}const Gi=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 Ci extends Fn{normalizePropertyName(F,L){return ai(F)}normalizeStyleValue(F,L,H,Y){let ie="";const et=H.toString().trim();if(Gi.has(L)&&0!==H&&"0"!==H)if("number"==typeof H)ie="px";else{const Bt=H.match(/^[+-]?[\d\.]+([a-z]*)$/);Bt&&0==Bt[1].length&&Y.push(function re(){return new p.buA(3005,!1)}())}return et+ie}}const kn=new Set(["true","1"]),ca=new Set(["false","0"]);function an(z,F){const L=kn.has(z)||ca.has(z),H=kn.has(F)||ca.has(F);return(Y,ie)=>{let et="*"==z||z==Y,Bt="*"==F||F==ie;return!et&&L&&"boolean"==typeof Y&&(et=Y?kn.has(z):ca.has(z)),!Bt&&H&&"boolean"==typeof ie&&(Bt=ie?kn.has(F):ca.has(F)),et&&Bt}}const qn=new RegExp("s*:selfs*,?","g");function mr(z,F,L,H){return new Mi(z).build(F,L,H)}class Mi{_driver;constructor(F){this._driver=F}build(F,L,H){const Y=new Xe(L);return this._resetContextStyleTimingState(Y),Ji(this,Ve(F),Y)}_resetContextStyleTimingState(F){F.currentQuerySelector="",F.collectedStyles=new Map,F.collectedStyles.set("",new Map),F.currentTime=0}visitTrigger(F,L){let H=L.queryCount=0,Y=L.depCount=0;const ie=[],et=[];return"@"==F.name.charAt(0)&&L.errors.push(function pe(){return new p.buA(3006,!1)}()),F.definitions.forEach(Bt=>{if(this._resetContextStyleTimingState(L),Bt.type==A.If.State){const $t=Bt,Ei=$t.name;Ei.toString().split(/\s*,\s*/).forEach(zi=>{$t.name=zi,ie.push(this.visitState($t,L))}),$t.name=Ei}else if(Bt.type==A.If.Transition){const $t=this.visitTransition(Bt,L);H+=$t.queryCount,Y+=$t.depCount,et.push($t)}else L.errors.push(function be(){return new p.buA(3007,!1)}())}),{type:A.If.Trigger,name:F.name,states:ie,transitions:et,queryCount:H,depCount:Y,options:null}}visitState(F,L){const H=this.visitStyle(F.styles,L),Y=F.options&&F.options.params||null;if(H.containsDynamicStyles){const ie=new Set,et=Y||{};H.styles.forEach(Bt=>{Bt instanceof Map&&Bt.forEach($t=>{bt($t).forEach(Ei=>{et.hasOwnProperty(Ei)||ie.add(Ei)})})}),ie.size&&L.errors.push(function Be(){return new p.buA(3008,!1)}(0,ie.values()))}return{type:A.If.State,name:F.name,style:H,options:Y?{params:Y}:null}}visitTransition(F,L){L.queryCount=0,L.depCount=0;const H=Ji(this,Ve(F.animation),L),Y=function vt(z,F){const L=[];return"string"==typeof z?z.split(/\s*,\s*/).forEach(H=>function ni(z,F,L){if(":"==z[0]){const $t=function Fi(z,F){switch(z){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(L,H)=>parseFloat(H)>parseFloat(L);case":decrement":return(L,H)=>parseFloat(H)<parseFloat(L);default:return F.push(function nt(){return new p.buA(3016,!1)}()),"* => *"}}(z,L);if("function"==typeof $t)return void F.push($t);z=$t}const H=z.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==H||H.length<4)return L.push(function dt(){return new p.buA(3015,!1)}()),F;const Y=H[1],ie=H[2],et=H[3];F.push(an(Y,et)),"<"==ie[0]&&("*"!=Y||"*"!=et)&&F.push(an(et,Y))}(H,L,F)):L.push(z),L}(F.expr,L.errors);return{type:A.If.Transition,matchers:Y,animation:H,queryCount:L.queryCount,depCount:L.depCount,options:Ft(F.options)}}visitSequence(F,L){return{type:A.If.Sequence,steps:F.steps.map(H=>Ji(this,H,L)),options:Ft(F.options)}}visitGroup(F,L){const H=L.currentTime;let Y=0;const ie=F.steps.map(et=>{L.currentTime=H;const Bt=Ji(this,et,L);return Y=Math.max(Y,L.currentTime),Bt});return L.currentTime=Y,{type:A.If.Group,steps:ie,options:Ft(F.options)}}visitAnimate(F,L){const H=function gt(z,F){if(z.hasOwnProperty("duration"))return z;if("number"==typeof z)return gi(ln(z,F).duration,0,"");const L=z;if(L.split(/\s+/).some(ie=>"{"==ie.charAt(0)&&"{"==ie.charAt(1))){const ie=gi(0,0,"");return ie.dynamic=!0,ie.strValue=L,ie}const Y=ln(L,F);return gi(Y.duration,Y.delay,Y.easing)}(F.timings,L.errors);L.currentAnimateTimings=H;let Y,ie=F.styles?F.styles:(0,A.iF)({});if(ie.type==A.If.Keyframes)Y=this.visitKeyframes(ie,L);else{let et=F.styles,Bt=!1;if(!et){Bt=!0;const Ei={};H.easing&&(Ei.easing=H.easing),et=(0,A.iF)(Ei)}L.currentTime+=H.duration+H.delay;const $t=this.visitStyle(et,L);$t.isEmptyStep=Bt,Y=$t}return L.currentAnimateTimings=null,{type:A.If.Animate,timings:H,style:Y,options:null}}visitStyle(F,L){const H=this._makeStyleAst(F,L);return this._validateStyleAst(H,L),H}_makeStyleAst(F,L){const H=[],Y=Array.isArray(F.styles)?F.styles:[F.styles];for(let Bt of Y)"string"==typeof Bt?Bt===A.kp?H.push(Bt):L.errors.push(_e()):H.push(new Map(Object.entries(Bt)));let ie=!1,et=null;return H.forEach(Bt=>{if(Bt instanceof Map&&(Bt.has("easing")&&(et=Bt.get("easing"),Bt.delete("easing")),!ie))for(let $t of Bt.values())if($t.toString().indexOf("{{")>=0){ie=!0;break}}),{type:A.If.Style,styles:H,easing:et,offset:F.offset,containsDynamicStyles:ie,options:null}}_validateStyleAst(F,L){const H=L.currentAnimateTimings;let Y=L.currentTime,ie=L.currentTime;H&&ie>0&&(ie-=H.duration+H.delay),F.styles.forEach(et=>{"string"!=typeof et&&et.forEach((Bt,$t)=>{const Ei=L.collectedStyles.get(L.currentQuerySelector),zi=Ei.get($t);let Vi=!0;zi&&(ie!=Y&&ie>=zi.startTime&&Y<=zi.endTime&&(L.errors.push(function ye(){return new p.buA(3010,!1)}()),Vi=!1),ie=zi.startTime),Vi&&Ei.set($t,{startTime:ie,endTime:Y}),L.options&&function Fe(z,F,L){const H=F.params||{},Y=bt(z);Y.length&&Y.forEach(ie=>{H.hasOwnProperty(ie)||L.push(function W(){return new p.buA(3001,!1)}())})}(Bt,L.options,L.errors)})})}visitKeyframes(F,L){const H={type:A.If.Keyframes,styles:[],options:null};if(!L.currentAnimateTimings)return L.errors.push(function Le(){return new p.buA(3011,!1)}()),H;let ie=0;const et=[];let Bt=!1,$t=!1,Ei=0;const zi=F.steps.map(wa=>{const er=this._makeStyleAst(wa,L);let qr=null!=er.offset?er.offset:function Gt(z){if("string"==typeof z)return null;let F=null;if(Array.isArray(z))z.forEach(L=>{if(L instanceof Map&&L.has("offset")){const H=L;F=parseFloat(H.get("offset")),H.delete("offset")}});else if(z instanceof Map&&z.has("offset")){const L=z;F=parseFloat(L.get("offset")),L.delete("offset")}return F}(er.styles),ha=0;return null!=qr&&(ie++,ha=er.offset=qr),$t=$t||ha<0||ha>1,Bt=Bt||ha<Ei,Ei=ha,et.push(ha),er});$t&&L.errors.push(function Ke(){return new p.buA(3012,!1)}()),Bt&&L.errors.push(function ge(){return new p.buA(3200,!1)}());const Vi=F.steps.length;let un=0;ie>0&&ie<Vi?L.errors.push(function ve(){return new p.buA(3202,!1)}()):0==ie&&(un=1/(Vi-1));const Bn=Vi-1,pn=L.currentTime,gn=L.currentAnimateTimings,oa=gn.duration;return zi.forEach((wa,er)=>{const qr=un>0?er==Bn?1:un*er:et[er],ha=qr*oa;L.currentTime=pn+gn.delay+ha,gn.duration=ha,this._validateStyleAst(wa,L),wa.offset=qr,H.styles.push(wa)}),H}visitReference(F,L){return{type:A.If.Reference,animation:Ji(this,Ve(F.animation),L),options:Ft(F.options)}}visitAnimateChild(F,L){return L.depCount++,{type:A.If.AnimateChild,options:Ft(F.options)}}visitAnimateRef(F,L){return{type:A.If.AnimateRef,animation:this.visitReference(F.animation,L),options:Ft(F.options)}}visitQuery(F,L){const H=L.currentQuerySelector,Y=F.options||{};L.queryCount++,L.currentQuery=F;const[ie,et]=function en(z){const F=!!z.split(/\s*,\s*/).find(L=>":self"==L);return F&&(z=z.replace(qn,"")),z=z.replace(/@\*/g,ei).replace(/@\w+/g,L=>ei+"-"+L.slice(1)).replace(/:animating/g,Hi),[z,F]}(F.selector);L.currentQuerySelector=H.length?H+" "+ie:ie,ce(L.collectedStyles,L.currentQuerySelector,new Map);const Bt=Ji(this,Ve(F.animation),L);return L.currentQuery=null,L.currentQuerySelector=H,{type:A.If.Query,selector:ie,limit:Y.limit||0,optional:!!Y.optional,includeSelf:et,animation:Bt,originalSelector:F.selector,options:Ft(F.options)}}visitStagger(F,L){L.currentQuery||L.errors.push(function Oe(){return new p.buA(3013,!1)}());const H="full"===F.timings?{duration:0,delay:0,easing:"full"}:ln(F.timings,L.errors,!0);return{type:A.If.Stagger,animation:Ji(this,Ve(F.animation),L),timings:H,options:null}}}class Xe{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(F){this.errors=F}}function Ft(z){return z?(z={...z}).params&&(z.params=function wi(z){return z?{...z}:null}(z.params)):z={},z}function gi(z,F,L){return{duration:z,delay:F,easing:L}}function Bi(z,F,L,H,Y,ie,et=null,Bt=!1){return{type:1,element:z,keyframes:F,preStyleProps:L,postStyleProps:H,duration:Y,delay:ie,totalTime:Y+ie,easing:et,subTimeline:Bt}}class Qi{_map=new Map;get(F){return this._map.get(F)||[]}append(F,L){let H=this._map.get(F);H||this._map.set(F,H=[]),H.push(...L)}has(F){return this._map.has(F)}clear(){this._map.clear()}}const da=new RegExp(":enter","g"),Zn=new RegExp(":leave","g");function Sa(z,F,L,H,Y,ie=new Map,et=new Map,Bt,$t,Ei=[]){return(new ia).buildKeyframes(z,F,L,H,Y,ie,et,Bt,$t,Ei)}class ia{buildKeyframes(F,L,H,Y,ie,et,Bt,$t,Ei,zi=[]){Ei=Ei||new Qi;const Vi=new Er(F,L,Ei,Y,ie,zi,[]);Vi.options=$t;const un=$t.delay?oi($t.delay):0;Vi.currentTimeline.delayNextStep(un),Vi.currentTimeline.setStyles([et],null,Vi.errors,$t),Ji(this,H,Vi);const Bn=Vi.timelines.filter(pn=>pn.containsAnimation());if(Bn.length&&Bt.size){let pn;for(let gn=Bn.length-1;gn>=0;gn--){const oa=Bn[gn];if(oa.element===L){pn=oa;break}}pn&&!pn.allowOnlyTimelineStyles()&&pn.setStyles([Bt],null,Vi.errors,$t)}return Bn.length?Bn.map(pn=>pn.buildKeyframes()):[Bi(L,[],[],[],0,un,"",!1)]}visitTrigger(F,L){}visitState(F,L){}visitTransition(F,L){}visitAnimateChild(F,L){const H=L.subInstructions.get(L.element);if(H){const Y=L.createSubContext(F.options),ie=L.currentTimeline.currentTime,et=this._visitSubInstructions(H,Y,Y.options);ie!=et&&L.transformIntoNewTimeline(et)}L.previousNode=F}visitAnimateRef(F,L){const H=L.createSubContext(F.options);H.transformIntoNewTimeline(),this._applyAnimationRefDelays([F.options,F.animation.options],L,H),this.visitReference(F.animation,H),L.transformIntoNewTimeline(H.currentTimeline.currentTime),L.previousNode=F}_applyAnimationRefDelays(F,L,H){for(const Y of F){const ie=Y?.delay;if(ie){const et="number"==typeof ie?ie:oi(ut(ie,Y?.params??{},L.errors));H.delayNextStep(et)}}}_visitSubInstructions(F,L,H){let ie=L.currentTimeline.currentTime;const et=null!=H.duration?oi(H.duration):null,Bt=null!=H.delay?oi(H.delay):null;return 0!==et&&F.forEach($t=>{const Ei=L.appendInstructionToTimeline($t,et,Bt);ie=Math.max(ie,Ei.duration+Ei.delay)}),ie}visitReference(F,L){L.updateOptions(F.options,!0),Ji(this,F.animation,L),L.previousNode=F}visitSequence(F,L){const H=L.subContextCount;let Y=L;const ie=F.options;if(ie&&(ie.params||ie.delay)&&(Y=L.createSubContext(ie),Y.transformIntoNewTimeline(),null!=ie.delay)){Y.previousNode.type==A.If.Style&&(Y.currentTimeline.snapshotCurrentStyles(),Y.previousNode=pa);const et=oi(ie.delay);Y.delayNextStep(et)}F.steps.length&&(F.steps.forEach(et=>Ji(this,et,Y)),Y.currentTimeline.applyStylesToKeyframe(),Y.subContextCount>H&&Y.transformIntoNewTimeline()),L.previousNode=F}visitGroup(F,L){const H=[];let Y=L.currentTimeline.currentTime;const ie=F.options&&F.options.delay?oi(F.options.delay):0;F.steps.forEach(et=>{const Bt=L.createSubContext(F.options);ie&&Bt.delayNextStep(ie),Ji(this,et,Bt),Y=Math.max(Y,Bt.currentTimeline.currentTime),H.push(Bt.currentTimeline)}),H.forEach(et=>L.currentTimeline.mergeTimelineCollectedStyles(et)),L.transformIntoNewTimeline(Y),L.previousNode=F}_visitTiming(F,L){if(F.dynamic){const H=F.strValue;return ln(L.params?ut(H,L.params,L.errors):H,L.errors)}return{duration:F.duration,delay:F.delay,easing:F.easing}}visitAnimate(F,L){const H=L.currentAnimateTimings=this._visitTiming(F.timings,L),Y=L.currentTimeline;H.delay&&(L.incrementTime(H.delay),Y.snapshotCurrentStyles());const ie=F.style;ie.type==A.If.Keyframes?this.visitKeyframes(ie,L):(L.incrementTime(H.duration),this.visitStyle(ie,L),Y.applyStylesToKeyframe()),L.currentAnimateTimings=null,L.previousNode=F}visitStyle(F,L){const H=L.currentTimeline,Y=L.currentAnimateTimings;!Y&&H.hasCurrentStyleProperties()&&H.forwardFrame();const ie=Y&&Y.easing||F.easing;F.isEmptyStep?H.applyEmptyStep(ie):H.setStyles(F.styles,ie,L.errors,L.options),L.previousNode=F}visitKeyframes(F,L){const H=L.currentAnimateTimings,Y=L.currentTimeline.duration,ie=H.duration,Bt=L.createSubContext().currentTimeline;Bt.easing=H.easing,F.styles.forEach($t=>{Bt.forwardTime(($t.offset||0)*ie),Bt.setStyles($t.styles,$t.easing,L.errors,L.options),Bt.applyStylesToKeyframe()}),L.currentTimeline.mergeTimelineCollectedStyles(Bt),L.transformIntoNewTimeline(Y+ie),L.previousNode=F}visitQuery(F,L){const H=L.currentTimeline.currentTime,Y=F.options||{},ie=Y.delay?oi(Y.delay):0;ie&&(L.previousNode.type===A.If.Style||0==H&&L.currentTimeline.hasCurrentStyleProperties())&&(L.currentTimeline.snapshotCurrentStyles(),L.previousNode=pa);let et=H;const Bt=L.invokeQuery(F.selector,F.originalSelector,F.limit,F.includeSelf,!!Y.optional,L.errors);L.currentQueryTotal=Bt.length;let $t=null;Bt.forEach((Ei,zi)=>{L.currentQueryIndex=zi;const Vi=L.createSubContext(F.options,Ei);ie&&Vi.delayNextStep(ie),Ei===L.element&&($t=Vi.currentTimeline),Ji(this,F.animation,Vi),Vi.currentTimeline.applyStylesToKeyframe(),et=Math.max(et,Vi.currentTimeline.currentTime)}),L.currentQueryIndex=0,L.currentQueryTotal=0,L.transformIntoNewTimeline(et),$t&&(L.currentTimeline.mergeTimelineCollectedStyles($t),L.currentTimeline.snapshotCurrentStyles()),L.previousNode=F}visitStagger(F,L){const H=L.parentContext,Y=L.currentTimeline,ie=F.timings,et=Math.abs(ie.duration),Bt=et*(L.currentQueryTotal-1);let $t=et*L.currentQueryIndex;switch(ie.duration<0?"reverse":ie.easing){case"reverse":$t=Bt-$t;break;case"full":$t=H.currentStaggerTime}const zi=L.currentTimeline;$t&&zi.delayNextStep($t);const Vi=zi.currentTime;Ji(this,F.animation,L),L.previousNode=F,H.currentStaggerTime=Y.currentTime-Vi+(Y.startTime-H.currentTimeline.startTime)}}const pa={};class Er{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=pa;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(F,L,H,Y,ie,et,Bt,$t){this._driver=F,this.element=L,this.subInstructions=H,this._enterClassName=Y,this._leaveClassName=ie,this.errors=et,this.timelines=Bt,this.currentTimeline=$t||new xa(this._driver,L,0),Bt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(F,L){if(!F)return;const H=F;let Y=this.options;null!=H.duration&&(Y.duration=oi(H.duration)),null!=H.delay&&(Y.delay=oi(H.delay));const ie=H.params;if(ie){let et=Y.params;et||(et=this.options.params={}),Object.keys(ie).forEach(Bt=>{(!L||!et.hasOwnProperty(Bt))&&(et[Bt]=ut(ie[Bt],et,this.errors))})}}_copyOptions(){const F={};if(this.options){const L=this.options.params;if(L){const H=F.params={};Object.keys(L).forEach(Y=>{H[Y]=L[Y]})}}return F}createSubContext(F=null,L,H){const Y=L||this.element,ie=new Er(this._driver,Y,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Y,H||0));return ie.previousNode=this.previousNode,ie.currentAnimateTimings=this.currentAnimateTimings,ie.options=this._copyOptions(),ie.updateOptions(F),ie.currentQueryIndex=this.currentQueryIndex,ie.currentQueryTotal=this.currentQueryTotal,ie.parentContext=this,this.subContextCount++,ie}transformIntoNewTimeline(F){return this.previousNode=pa,this.currentTimeline=this.currentTimeline.fork(this.element,F),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(F,L,H){const Y={duration:L??F.duration,delay:this.currentTimeline.currentTime+(H??0)+F.delay,easing:""},ie=new Xr(this._driver,F.element,F.keyframes,F.preStyleProps,F.postStyleProps,Y,F.stretchStartingKeyframe);return this.timelines.push(ie),Y}incrementTime(F){this.currentTimeline.forwardTime(this.currentTimeline.duration+F)}delayNextStep(F){F>0&&this.currentTimeline.delayNextStep(F)}invokeQuery(F,L,H,Y,ie,et){let Bt=[];if(Y&&Bt.push(this.element),F.length>0){F=(F=F.replace(da,"."+this._enterClassName)).replace(Zn,"."+this._leaveClassName);let Ei=this._driver.query(this.element,F,1!=H);0!==H&&(Ei=H<0?Ei.slice(Ei.length+H,Ei.length):Ei.slice(0,H)),Bt.push(...Ei)}return!ie&&0==Bt.length&&et.push(function Ee(){return new p.buA(3014,!1)}()),Bt}}class xa{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(F,L,H,Y){this._driver=F,this.element=L,this.startTime=H,this._elementTimelineStylesLookup=Y,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(L),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(L,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(F){const L=1===this._keyframes.size&&this._pendingStyles.size;this.duration||L?(this.forwardTime(this.currentTime+F),L&&this.snapshotCurrentStyles()):this.startTime+=F}fork(F,L){return this.applyStylesToKeyframe(),new xa(this._driver,F,L||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(F){this.applyStylesToKeyframe(),this.duration=F,this._loadKeyframe()}_updateStyle(F,L){this._localTimelineStyles.set(F,L),this._globalTimelineStyles.set(F,L),this._styleSummary.set(F,{time:this.currentTime,value:L})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(F){F&&this._previousKeyframe.set("easing",F);for(let[L,H]of this._globalTimelineStyles)this._backFill.set(L,H||A.kp),this._currentKeyframe.set(L,A.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(F,L,H,Y){L&&this._previousKeyframe.set("easing",L);const ie=Y&&Y.params||{},et=function wr(z,F){const L=new Map;let H;return z.forEach(Y=>{if("*"===Y){H??=F.keys();for(let ie of H)L.set(ie,A.kp)}else for(let[ie,et]of Y)L.set(ie,et)}),L}(F,this._globalTimelineStyles);for(let[Bt,$t]of et){const Ei=ut($t,ie,H);this._pendingStyles.set(Bt,Ei),this._localTimelineStyles.has(Bt)||this._backFill.set(Bt,this._globalTimelineStyles.get(Bt)??A.kp),this._updateStyle(Bt,Ei)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((F,L)=>{this._currentKeyframe.set(L,F)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((F,L)=>{this._currentKeyframe.has(L)||this._currentKeyframe.set(L,F)}))}snapshotCurrentStyles(){for(let[F,L]of this._localTimelineStyles)this._pendingStyles.set(F,L),this._updateStyle(F,L)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const F=[];for(let L in this._currentKeyframe)F.push(L);return F}mergeTimelineCollectedStyles(F){F._styleSummary.forEach((L,H)=>{const Y=this._styleSummary.get(H);(!Y||L.time>Y.time)&&this._updateStyle(H,L.value)})}buildKeyframes(){this.applyStylesToKeyframe();const F=new Set,L=new Set,H=1===this._keyframes.size&&0===this.duration;let Y=[];this._keyframes.forEach((Bt,$t)=>{const Ei=new Map([...this._backFill,...Bt]);Ei.forEach((zi,Vi)=>{zi===A.FX?F.add(Vi):zi===A.kp&&L.add(Vi)}),H||Ei.set("offset",$t/this.duration),Y.push(Ei)});const ie=[...F.values()],et=[...L.values()];if(H){const Bt=Y[0],$t=new Map(Bt);Bt.set("offset",0),$t.set("offset",1),Y=[Bt,$t]}return Bi(this.element,Y,ie,et,this.duration,this.startTime,this.easing,!1)}}class Xr extends xa{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(F,L,H,Y,ie,et,Bt=!1){super(F,L,et.delay),this.keyframes=H,this.preStyleProps=Y,this.postStyleProps=ie,this._stretchStartingKeyframe=Bt,this.timings={duration:et.duration,delay:et.delay,easing:et.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let F=this.keyframes,{delay:L,duration:H,easing:Y}=this.timings;if(this._stretchStartingKeyframe&&L){const ie=[],et=H+L,Bt=L/et,$t=new Map(F[0]);$t.set("offset",0),ie.push($t);const Ei=new Map(F[0]);Ei.set("offset",Ta(Bt)),ie.push(Ei);const zi=F.length-1;for(let Vi=1;Vi<=zi;Vi++){let un=new Map(F[Vi]);const Bn=un.get("offset");un.set("offset",Ta((L+Bn*H)/et)),ie.push(un)}H=et,L=0,Y="",F=ie}return Bi(this.element,F,this.preStyleProps,this.postStyleProps,H,L,Y,!0)}}function Ta(z,F=3){const L=Math.pow(10,F-1);return Math.round(z*L)/L}function ja(z,F,L,H,Y,ie,et,Bt,$t,Ei,zi,Vi,un){return{type:0,element:z,triggerName:F,isRemovalTransition:Y,fromState:L,fromStyles:ie,toState:H,toStyles:et,timelines:Bt,queriedElements:$t,preStyleProps:Ei,postStyleProps:zi,totalTime:Vi,errors:un}}const Wa={};class Fa{_triggerName;ast;_stateStyles;constructor(F,L,H){this._triggerName=F,this.ast=L,this._stateStyles=H}match(F,L,H,Y){return function ys(z,F,L,H,Y){return z.some(ie=>ie(F,L,H,Y))}(this.ast.matchers,F,L,H,Y)}buildStyles(F,L,H){let Y=this._stateStyles.get("*");return void 0!==F&&(Y=this._stateStyles.get(F?.toString())||Y),Y?Y.buildStyles(L,H):new Map}build(F,L,H,Y,ie,et,Bt,$t,Ei,zi){const Vi=[],un=this.ast.options&&this.ast.options.params||Wa,pn=this.buildStyles(H,Bt&&Bt.params||Wa,Vi),gn=$t&&$t.params||Wa,oa=this.buildStyles(Y,gn,Vi),wa=new Set,er=new Map,qr=new Map,ha="void"===Y,dr={params:Kr(gn,un),delay:this.ast.options?.delay},Da=zi?[]:Sa(F,L,this.ast.animation,ie,et,pn,oa,dr,Ei,Vi);let Pr=0;return Da.forEach(ar=>{Pr=Math.max(ar.duration+ar.delay,Pr)}),Vi.length?ja(L,this._triggerName,H,Y,ha,pn,oa,[],[],er,qr,Pr,Vi):(Da.forEach(ar=>{const Qo=ar.element,ko=ce(er,Qo,new Set);ar.preStyleProps.forEach(cc=>ko.add(cc));const Ou=ce(qr,Qo,new Set);ar.postStyleProps.forEach(cc=>Ou.add(cc)),Qo!==L&&wa.add(Qo)}),ja(L,this._triggerName,H,Y,ha,pn,oa,Da,[...wa.values()],er,qr,Pr))}}function Kr(z,F){const L={...F};return Object.entries(z).forEach(([H,Y])=>{null!=Y&&(L[H]=Y)}),L}class or{styles;defaultParams;normalizer;constructor(F,L,H){this.styles=F,this.defaultParams=L,this.normalizer=H}buildStyles(F,L){const H=new Map,Y=Kr(F,this.defaultParams);return this.styles.styles.forEach(ie=>{"string"!=typeof ie&&ie.forEach((et,Bt)=>{et&&(et=ut(et,Y,L));const $t=this.normalizer.normalizePropertyName(Bt,L);et=this.normalizer.normalizeStyleValue(Bt,$t,et,L),H.set(Bt,et)})}),H}}class Yr{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(F,L,H){this.name=F,this.ast=L,this._normalizer=H,L.states.forEach(Y=>{this.states.set(Y.name,new or(Y.style,Y.options&&Y.options.params||{},H))}),Qr(this.states,"true","1"),Qr(this.states,"false","0"),L.transitions.forEach(Y=>{this.transitionFactories.push(new Fa(F,Y,this.states))}),this.fallbackTransition=function bs(z,F){return new Fa(z,{type:A.If.Transition,animation:{type:A.If.Sequence,steps:[],options:null},matchers:[(et,Bt)=>!0],options:null,queryCount:0,depCount:0},F)}(F,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(F,L,H,Y){return this.transitionFactories.find(et=>et.match(F,L,H,Y))||null}matchStyles(F,L,H){return this.fallbackTransition.buildStyles(F,L,H)}}function Qr(z,F,L){z.has(F)?z.has(L)||z.set(L,z.get(F)):z.has(L)&&z.set(F,z.get(L))}const no=new Qi;class ls{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(F,L,H){this.bodyNode=F,this._driver=L,this._normalizer=H}register(F,L){const H=[],ie=mr(this._driver,L,H,[]);if(H.length)throw function Ht(){return new p.buA(3503,!1)}();this._animations.set(F,ie)}_buildPlayer(F,L,H){const Y=F.element,ie=kt(this._normalizer,F.keyframes,L,H);return this._driver.animate(Y,ie,F.duration,F.delay,F.easing,[],!0)}create(F,L,H={}){const Y=[],ie=this._animations.get(F);let et;const Bt=new Map;if(ie?(et=Sa(this._driver,L,ie,$e,tt,new Map,new Map,H,no,Y),et.forEach(zi=>{const Vi=ce(Bt,zi.element,new Map);zi.postStyleProps.forEach(un=>Vi.set(un,null))})):(Y.push(function ct(){return new p.buA(3300,!1)}()),et=[]),Y.length)throw function Ce(){return new p.buA(3504,!1)}();Bt.forEach((zi,Vi)=>{zi.forEach((un,Bn)=>{zi.set(Bn,this._driver.computeStyle(Vi,Bn,A.kp))})});const Ei=di(et.map(zi=>{const Vi=Bt.get(zi.element);return this._buildPlayer(zi,new Map,Vi)}));return this._playersById.set(F,Ei),Ei.onDestroy(()=>this.destroy(F)),this.players.push(Ei),Ei}destroy(F){const L=this._getPlayer(F);L.destroy(),this._playersById.delete(F);const H=this.players.indexOf(L);H>=0&&this.players.splice(H,1)}_getPlayer(F){const L=this._playersById.get(F);if(!L)throw function ze(){return new p.buA(3301,!1)}();return L}listen(F,L,H,Y){const ie=te(L,"","","");return Rt(this._getPlayer(F),H,ie,Y),()=>{}}command(F,L,H,Y){if("register"==H)return void this.register(F,Y[0]);if("create"==H)return void this.create(F,L,Y[0]||{});const ie=this._getPlayer(F);switch(H){case"play":ie.play();break;case"pause":ie.pause();break;case"reset":ie.reset();break;case"restart":ie.restart();break;case"finish":ie.finish();break;case"init":ie.init();break;case"setPosition":ie.setPosition(parseFloat(Y[0]));break;case"destroy":this.destroy(F)}}}const cs="ng-animate-queued",$r="ng-animate-disabled",ii=[],Ii={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},tn="__ng_removed";class yn{namespaceId;value;options;get params(){return this.options.params}constructor(F,L=""){this.namespaceId=L;const H=F&&F.hasOwnProperty("value");if(this.value=function tr(z){return z??null}(H?F.value:F),H){const{value:ie,...et}=F;this.options=et}else this.options={};this.options.params||(this.options.params={})}absorbOptions(F){const L=F.params;if(L){const H=this.options.params;Object.keys(L).forEach(Y=>{null==H[Y]&&(H[Y]=L[Y])})}}}const Pn="void",Qn=new yn(Pn);class Jn{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(F,L,H){this.id=F,this.hostElement=L,this._engine=H,this._hostClassName="ng-tns-"+F,ka(L,this._hostClassName)}listen(F,L,H,Y){if(!this._triggers.has(L))throw function Z(){return new p.buA(3302,!1)}();if(null==H||0==H.length)throw function J(){return new p.buA(3303,!1)}();if(!function Xa(z){return"start"==z||"done"==z}(H))throw function fe(){return new p.buA(3400,!1)}();const ie=ce(this._elementListeners,F,[]),et={name:L,phase:H,callback:Y};ie.push(et);const Bt=ce(this._engine.statesByElement,F,new Map);return Bt.has(L)||(ka(F,vi),ka(F,vi+"-"+L),Bt.set(L,Qn)),()=>{this._engine.afterFlush(()=>{const $t=ie.indexOf(et);$t>=0&&ie.splice($t,1),this._triggers.has(L)||Bt.delete(L)})}}register(F,L){return!this._triggers.has(F)&&(this._triggers.set(F,L),!0)}_getTrigger(F){const L=this._triggers.get(F);if(!L)throw function Ie(){return new p.buA(3401,!1)}();return L}trigger(F,L,H,Y=!0){const ie=this._getTrigger(L),et=new Ca(this.id,L,F);let Bt=this._engine.statesByElement.get(F);Bt||(ka(F,vi),ka(F,vi+"-"+L),this._engine.statesByElement.set(F,Bt=new Map));let $t=Bt.get(L);const Ei=new yn(H,this.id);if(!(H&&H.hasOwnProperty("value"))&&$t&&Ei.absorbOptions($t.options),Bt.set(L,Ei),$t||($t=Qn),Ei.value!==Pn&&$t.value===Ei.value){if(!function ao(z,F){const L=Object.keys(z),H=Object.keys(F);if(L.length!=H.length)return!1;for(let Y=0;Y<L.length;Y++){const ie=L[Y];if(!F.hasOwnProperty(ie)||z[ie]!==F[ie])return!1}return!0}($t.params,Ei.params)){const gn=[],oa=ie.matchStyles($t.value,$t.params,gn),wa=ie.matchStyles(Ei.value,Ei.params,gn);gn.length?this._engine.reportError(gn):this._engine.afterFlush(()=>{Ze(F,oa),Tt(F,wa)})}return}const un=ce(this._engine.playersByElement,F,[]);un.forEach(gn=>{gn.namespaceId==this.id&&gn.triggerName==L&&gn.queued&&gn.destroy()});let Bn=ie.matchTransition($t.value,Ei.value,F,Ei.params),pn=!1;if(!Bn){if(!Y)return;Bn=ie.fallbackTransition,pn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:F,triggerName:L,transition:Bn,fromState:$t,toState:Ei,player:et,isFallbackTransition:pn}),pn||(ka(F,cs),et.onStart(()=>{Ka(F,cs)})),et.onDone(()=>{let gn=this.players.indexOf(et);gn>=0&&this.players.splice(gn,1);const oa=this._engine.playersByElement.get(F);if(oa){let wa=oa.indexOf(et);wa>=0&&oa.splice(wa,1)}}),this.players.push(et),un.push(et),et}deregister(F){this._triggers.delete(F),this._engine.statesByElement.forEach(L=>L.delete(F)),this._elementListeners.forEach((L,H)=>{this._elementListeners.set(H,L.filter(Y=>Y.name!=F))})}clearElementCache(F){this._engine.statesByElement.delete(F),this._elementListeners.delete(F);const L=this._engine.playersByElement.get(F);L&&(L.forEach(H=>H.destroy()),this._engine.playersByElement.delete(F))}_signalRemovalForInnerTriggers(F,L){const H=this._engine.driver.query(F,ei,!0);H.forEach(Y=>{if(Y[tn])return;const ie=this._engine.fetchNamespacesByElement(Y);ie.size?ie.forEach(et=>et.triggerLeaveAnimation(Y,L,!1,!0)):this.clearElementCache(Y)}),this._engine.afterFlushAnimationsDone(()=>H.forEach(Y=>this.clearElementCache(Y)))}triggerLeaveAnimation(F,L,H,Y){const ie=this._engine.statesByElement.get(F),et=new Map;if(ie){const Bt=[];if(ie.forEach(($t,Ei)=>{if(et.set(Ei,$t.value),this._triggers.has(Ei)){const zi=this.trigger(F,Ei,Pn,Y);zi&&Bt.push(zi)}}),Bt.length)return this._engine.markElementAsRemoved(this.id,F,!0,L,et),H&&di(Bt).onDone(()=>this._engine.processLeaveNode(F)),!0}return!1}prepareLeaveAnimationListeners(F){const L=this._elementListeners.get(F),H=this._engine.statesByElement.get(F);if(L&&H){const Y=new Set;L.forEach(ie=>{const et=ie.name;if(Y.has(et))return;Y.add(et);const $t=this._triggers.get(et).fallbackTransition,Ei=H.get(et)||Qn,zi=new yn(Pn),Vi=new Ca(this.id,et,F);this._engine.totalQueuedPlayers++,this._queue.push({element:F,triggerName:et,transition:$t,fromState:Ei,toState:zi,player:Vi,isFallbackTransition:!0})})}}removeNode(F,L){const H=this._engine;if(F.childElementCount&&this._signalRemovalForInnerTriggers(F,L),this.triggerLeaveAnimation(F,L,!0))return;let Y=!1;if(H.totalAnimations){const ie=H.players.length?H.playersByQueriedElement.get(F):[];if(ie&&ie.length)Y=!0;else{let et=F;for(;et=et.parentNode;)if(H.statesByElement.get(et)){Y=!0;break}}}if(this.prepareLeaveAnimationListeners(F),Y)H.markElementAsRemoved(this.id,F,!1,L);else{const ie=F[tn];(!ie||ie===Ii)&&(H.afterFlush(()=>this.clearElementCache(F)),H.destroyInnerAnimations(F),H._onRemovalComplete(F,L))}}insertNode(F,L){ka(F,this._hostClassName)}drainQueuedTransitions(F){const L=[];return this._queue.forEach(H=>{const Y=H.player;if(Y.destroyed)return;const ie=H.element,et=this._elementListeners.get(ie);et&&et.forEach(Bt=>{if(Bt.name==H.triggerName){const $t=te(ie,H.triggerName,H.fromState.value,H.toState.value);$t._data=F,Rt(H.player,Bt.phase,$t,Bt.callback)}}),Y.markedForDestroy?this._engine.afterFlush(()=>{Y.destroy()}):L.push(H)}),this._queue=[],L.sort((H,Y)=>{const ie=H.transition.ast.depCount,et=Y.transition.ast.depCount;return 0==ie||0==et?ie-et:this._engine.driver.containsElement(H.element,Y.element)?1:-1})}destroy(F){this.players.forEach(L=>L.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,F)}}class Un{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(F,L)=>{};_onRemovalComplete(F,L){this.onRemovalComplete(F,L)}constructor(F,L,H){this.bodyNode=F,this.driver=L,this._normalizer=H}get queuedPlayers(){const F=[];return this._namespaceList.forEach(L=>{L.players.forEach(H=>{H.queued&&F.push(H)})}),F}createNamespace(F,L){const H=new Jn(F,L,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,L)?this._balanceNamespaceList(H,L):(this.newHostElements.set(L,H),this.collectEnterElement(L)),this._namespaceLookup[F]=H}_balanceNamespaceList(F,L){const H=this._namespaceList,Y=this.namespacesByHostElement;if(H.length-1>=0){let et=!1,Bt=this.driver.getParentElement(L);for(;Bt;){const $t=Y.get(Bt);if($t){const Ei=H.indexOf($t);H.splice(Ei+1,0,F),et=!0;break}Bt=this.driver.getParentElement(Bt)}et||H.unshift(F)}else H.push(F);return Y.set(L,F),F}register(F,L){let H=this._namespaceLookup[F];return H||(H=this.createNamespace(F,L)),H}registerTrigger(F,L,H){let Y=this._namespaceLookup[F];Y&&Y.register(L,H)&&this.totalAnimations++}destroy(F,L){F&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const H=this._fetchNamespace(F);this.namespacesByHostElement.delete(H.hostElement);const Y=this._namespaceList.indexOf(H);Y>=0&&this._namespaceList.splice(Y,1),H.destroy(L),delete this._namespaceLookup[F]}))}_fetchNamespace(F){return this._namespaceLookup[F]}fetchNamespacesByElement(F){const L=new Set,H=this.statesByElement.get(F);if(H)for(let Y of H.values())if(Y.namespaceId){const ie=this._fetchNamespace(Y.namespaceId);ie&&L.add(ie)}return L}trigger(F,L,H,Y){if(Ra(L)){const ie=this._fetchNamespace(F);if(ie)return ie.trigger(L,H,Y),!0}return!1}insertNode(F,L,H,Y){if(!Ra(L))return;const ie=L[tn];if(ie&&ie.setForRemoval){ie.setForRemoval=!1,ie.setForMove=!0;const et=this.collectedLeaveElements.indexOf(L);et>=0&&this.collectedLeaveElements.splice(et,1)}if(F){const et=this._fetchNamespace(F);et&&et.insertNode(L,H)}Y&&this.collectEnterElement(L)}collectEnterElement(F){this.collectedEnterElements.push(F)}markElementAsDisabled(F,L){L?this.disabledNodes.has(F)||(this.disabledNodes.add(F),ka(F,$r)):this.disabledNodes.has(F)&&(this.disabledNodes.delete(F),Ka(F,$r))}removeNode(F,L,H){if(Ra(L)){const Y=F?this._fetchNamespace(F):null;Y?Y.removeNode(L,H):this.markElementAsRemoved(F,L,!1,H);const ie=this.namespacesByHostElement.get(L);ie&&ie.id!==F&&ie.removeNode(L,H)}else this._onRemovalComplete(L,H)}markElementAsRemoved(F,L,H,Y,ie){this.collectedLeaveElements.push(L),L[tn]={namespaceId:F,setForRemoval:Y,hasAnimation:H,removedBeforeQueried:!1,previousTriggersValues:ie}}listen(F,L,H,Y,ie){return Ra(L)?this._fetchNamespace(F).listen(L,H,Y,ie):()=>{}}_buildInstruction(F,L,H,Y,ie){return F.transition.build(this.driver,F.element,F.fromState.value,F.toState.value,H,Y,F.fromState.options,F.toState.options,L,ie)}destroyInnerAnimations(F){let L=this.driver.query(F,ei,!0);L.forEach(H=>this.destroyActiveAnimationsForElement(H)),0!=this.playersByQueriedElement.size&&(L=this.driver.query(F,Hi,!0),L.forEach(H=>this.finishActiveQueriedAnimationOnElement(H)))}destroyActiveAnimationsForElement(F){const L=this.playersByElement.get(F);L&&L.forEach(H=>{H.queued?H.markedForDestroy=!0:H.destroy()})}finishActiveQueriedAnimationOnElement(F){const L=this.playersByQueriedElement.get(F);L&&L.forEach(H=>H.finish())}whenRenderingDone(){return new Promise(F=>{if(this.players.length)return di(this.players).onDone(()=>F());F()})}processLeaveNode(F){const L=F[tn];if(L&&L.setForRemoval){if(F[tn]=Ii,L.namespaceId){this.destroyInnerAnimations(F);const H=this._fetchNamespace(L.namespaceId);H&&H.clearElementCache(F)}this._onRemovalComplete(F,L.setForRemoval)}F.classList?.contains($r)&&this.markElementAsDisabled(F,!1),this.driver.query(F,".ng-animate-disabled",!0).forEach(H=>{this.markElementAsDisabled(H,!1)})}flush(F=-1){let L=[];if(this.newHostElements.size&&(this.newHostElements.forEach((H,Y)=>this._balanceNamespaceList(H,Y)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let H=0;H<this.collectedEnterElements.length;H++)ka(this.collectedEnterElements[H],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const H=[];try{L=this._flushAnimations(H,F)}finally{for(let Y=0;Y<H.length;Y++)H[Y]()}}else for(let H=0;H<this.collectedLeaveElements.length;H++)this.processLeaveNode(this.collectedLeaveElements[H]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(H=>H()),this._flushFns=[],this._whenQuietFns.length){const H=this._whenQuietFns;this._whenQuietFns=[],L.length?di(L).onDone(()=>{H.forEach(Y=>Y())}):H.forEach(Y=>Y())}}reportError(F){throw function ht(){return new p.buA(3402,!1)}()}_flushAnimations(F,L){const H=new Qi,Y=[],ie=new Map,et=[],Bt=new Map,$t=new Map,Ei=new Map,zi=new Set;this.disabledNodes.forEach($n=>{zi.add($n);const na=this.driver.query($n,".ng-animate-queued",!0);for(let ua=0;ua<na.length;ua++)zi.add(na[ua])});const Vi=this.bodyNode,un=Array.from(this.statesByElement.keys()),Bn=Sn(un,this.collectedEnterElements),pn=new Map;let gn=0;Bn.forEach(($n,na)=>{const ua=$e+gn++;pn.set(na,ua),$n.forEach(Ga=>ka(Ga,ua))});const oa=[],wa=new Set,er=new Set;for(let $n=0;$n<this.collectedLeaveElements.length;$n++){const na=this.collectedLeaveElements[$n],ua=na[tn];ua&&ua.setForRemoval&&(oa.push(na),wa.add(na),ua.hasAnimation?this.driver.query(na,".ng-star-inserted",!0).forEach(Ga=>wa.add(Ga)):er.add(na))}const qr=new Map,ha=Sn(un,Array.from(wa));ha.forEach(($n,na)=>{const ua=tt+gn++;qr.set(na,ua),$n.forEach(Ga=>ka(Ga,ua))}),F.push(()=>{Bn.forEach(($n,na)=>{const ua=pn.get(na);$n.forEach(Ga=>Ka(Ga,ua))}),ha.forEach(($n,na)=>{const ua=qr.get(na);$n.forEach(Ga=>Ka(Ga,ua))}),oa.forEach($n=>{this.processLeaveNode($n)})});const dr=[],Da=[];for(let $n=this._namespaceList.length-1;$n>=0;$n--)this._namespaceList[$n].drainQueuedTransitions(L).forEach(ua=>{const Ga=ua.player,ks=ua.element;if(dr.push(Ga),this.collectedEnterElements.length){const eo=ks[tn];if(eo&&eo.setForMove){if(eo.previousTriggersValues&&eo.previousTriggersValues.has(ua.triggerName)){const Bc=eo.previousTriggersValues.get(ua.triggerName),ol=this.statesByElement.get(ua.element);if(ol&&ol.has(ua.triggerName)){const N1=ol.get(ua.triggerName);N1.value=Bc,ol.set(ua.triggerName,N1)}}return void Ga.destroy()}}const Hl=!Vi||!this.driver.containsElement(Vi,ks),$o=qr.get(ks),dc=pn.get(ks),Fr=this._buildInstruction(ua,H,dc,$o,Hl);if(Fr.errors&&Fr.errors.length)return void Da.push(Fr);if(Hl)return Ga.onStart(()=>Ze(ks,Fr.fromStyles)),Ga.onDestroy(()=>Tt(ks,Fr.toStyles)),void Y.push(Ga);if(ua.isFallbackTransition)return Ga.onStart(()=>Ze(ks,Fr.fromStyles)),Ga.onDestroy(()=>Tt(ks,Fr.toStyles)),void Y.push(Ga);const F1=[];Fr.timelines.forEach(eo=>{eo.stretchStartingKeyframe=!0,this.disabledNodes.has(eo.element)||F1.push(eo)}),Fr.timelines=F1,H.append(ks,Fr.timelines),et.push({instruction:Fr,player:Ga,element:ks}),Fr.queriedElements.forEach(eo=>ce(Bt,eo,[]).push(Ga)),Fr.preStyleProps.forEach((eo,Bc)=>{if(eo.size){let ol=$t.get(Bc);ol||$t.set(Bc,ol=new Set),eo.forEach((N1,Fd)=>ol.add(Fd))}}),Fr.postStyleProps.forEach((eo,Bc)=>{let ol=Ei.get(Bc);ol||Ei.set(Bc,ol=new Set),eo.forEach((N1,Fd)=>ol.add(Fd))})});if(Da.length){const $n=[];Da.forEach(na=>{$n.push(function li(){return new p.buA(3505,!1)}())}),dr.forEach(na=>na.destroy()),this.reportError($n)}const Pr=new Map,ar=new Map;et.forEach($n=>{const na=$n.element;H.has(na)&&(ar.set(na,na),this._beforeAnimationBuild($n.player.namespaceId,$n.instruction,Pr))}),Y.forEach($n=>{const na=$n.element;this._getPreviousPlayers(na,!1,$n.namespaceId,$n.triggerName,null).forEach(Ga=>{ce(Pr,na,[]).push(Ga),Ga.destroy()})});const Qo=oa.filter($n=>Ss($n,$t,Ei)),ko=new Map;vr(ko,this.driver,er,Ei,A.kp).forEach($n=>{Ss($n,$t,Ei)&&Qo.push($n)});const cc=new Map;Bn.forEach(($n,na)=>{vr(cc,this.driver,new Set($n),$t,A.FX)}),Qo.forEach($n=>{const na=ko.get($n),ua=cc.get($n);ko.set($n,new Map([...na?.entries()??[],...ua?.entries()??[]]))});const X0=[],Pu=[],bf={};et.forEach($n=>{const{element:na,player:ua,instruction:Ga}=$n;if(H.has(na)){if(zi.has(na))return ua.onDestroy(()=>Tt(na,Ga.toStyles)),ua.disabled=!0,ua.overrideTotalTime(Ga.totalTime),void Y.push(ua);let ks=bf;if(ar.size>1){let $o=na;const dc=[];for(;$o=$o.parentNode;){const Fr=ar.get($o);if(Fr){ks=Fr;break}dc.push($o)}dc.forEach(Fr=>ar.set(Fr,ks))}const Hl=this._buildAnimation(ua.namespaceId,Ga,Pr,ie,cc,ko);if(ua.setRealPlayer(Hl),ks===bf)X0.push(ua);else{const $o=this.playersByElement.get(ks);$o&&$o.length&&(ua.parentPlayer=di($o)),Y.push(ua)}}else Ze(na,Ga.fromStyles),ua.onDestroy(()=>Tt(na,Ga.toStyles)),Pu.push(ua),zi.has(na)&&Y.push(ua)}),Pu.forEach($n=>{const na=ie.get($n.element);if(na&&na.length){const ua=di(na);$n.setRealPlayer(ua)}}),Y.forEach($n=>{$n.parentPlayer?$n.syncPlayerEvents($n.parentPlayer):$n.destroy()});for(let $n=0;$n<oa.length;$n++){const na=oa[$n],ua=na[tn];if(Ka(na,tt),ua&&ua.hasAnimation)continue;let Ga=[];if(Bt.size){let Hl=Bt.get(na);Hl&&Hl.length&&Ga.push(...Hl);let $o=this.driver.query(na,Hi,!0);for(let dc=0;dc<$o.length;dc++){let Fr=Bt.get($o[dc]);Fr&&Fr.length&&Ga.push(...Fr)}}const ks=Ga.filter(Hl=>!Hl.destroyed);ks.length?pr(this,na,ks):this.processLeaveNode(na)}return oa.length=0,X0.forEach($n=>{this.players.push($n),$n.onDone(()=>{$n.destroy();const na=this.players.indexOf($n);this.players.splice(na,1)}),$n.play()}),X0}afterFlush(F){this._flushFns.push(F)}afterFlushAnimationsDone(F){this._whenQuietFns.push(F)}_getPreviousPlayers(F,L,H,Y,ie){let et=[];if(L){const Bt=this.playersByQueriedElement.get(F);Bt&&(et=Bt)}else{const Bt=this.playersByElement.get(F);if(Bt){const $t=!ie||ie==Pn;Bt.forEach(Ei=>{Ei.queued||!$t&&Ei.triggerName!=Y||et.push(Ei)})}}return(H||Y)&&(et=et.filter(Bt=>!(H&&H!=Bt.namespaceId||Y&&Y!=Bt.triggerName))),et}_beforeAnimationBuild(F,L,H){const ie=L.element,et=L.isRemovalTransition?void 0:F,Bt=L.isRemovalTransition?void 0:L.triggerName;for(const $t of L.timelines){const Ei=$t.element,zi=Ei!==ie,Vi=ce(H,Ei,[]);this._getPreviousPlayers(Ei,zi,et,Bt,L.toState).forEach(Bn=>{const pn=Bn.getRealPlayer();pn.beforeDestroy&&pn.beforeDestroy(),Bn.destroy(),Vi.push(Bn)})}Ze(ie,L.fromStyles)}_buildAnimation(F,L,H,Y,ie,et){const Bt=L.triggerName,$t=L.element,Ei=[],zi=new Set,Vi=new Set,un=L.timelines.map(pn=>{const gn=pn.element;zi.add(gn);const oa=gn[tn];if(oa&&oa.removedBeforeQueried)return new A.sf(pn.duration,pn.delay);const wa=gn!==$t,er=function gr(z){const F=[];return ds(z,F),F}((H.get(gn)||ii).map(Pr=>Pr.getRealPlayer())).filter(Pr=>!!Pr.element&&Pr.element===gn),qr=ie.get(gn),ha=et.get(gn),dr=kt(this._normalizer,pn.keyframes,qr,ha),Da=this._buildPlayer(pn,dr,er);if(pn.subTimeline&&Y&&Vi.add(gn),wa){const Pr=new Ca(F,Bt,gn);Pr.setRealPlayer(Da),Ei.push(Pr)}return Da});Ei.forEach(pn=>{ce(this.playersByQueriedElement,pn.element,[]).push(pn),pn.onDone(()=>function Aa(z,F,L){let H=z.get(F);if(H){if(H.length){const Y=H.indexOf(L);H.splice(Y,1)}0==H.length&&z.delete(F)}return H}(this.playersByQueriedElement,pn.element,pn))}),zi.forEach(pn=>ka(pn,ci));const Bn=di(un);return Bn.onDestroy(()=>{zi.forEach(pn=>Ka(pn,ci)),Tt($t,L.toStyles)}),Vi.forEach(pn=>{ce(Y,pn,[]).push(Bn)}),Bn}_buildPlayer(F,L,H){return L.length>0?this.driver.animate(F.element,L,F.duration,F.delay,F.easing,H):new A.sf(F.duration,F.delay)}}class Ca{namespaceId;triggerName;element;_player=new A.sf;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(F,L,H){this.namespaceId=F,this.triggerName=L,this.element=H}setRealPlayer(F){this._containsRealPlayer||(this._player=F,this._queuedCallbacks.forEach((L,H)=>{L.forEach(Y=>Rt(F,H,void 0,Y))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(F.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(F){this.totalTime=F}syncPlayerEvents(F){const L=this._player;L.triggerCallback&&F.onStart(()=>L.triggerCallback("start")),F.onDone(()=>this.finish()),F.onDestroy(()=>this.destroy())}_queueEvent(F,L){ce(this._queuedCallbacks,F,[]).push(L)}onDone(F){this.queued&&this._queueEvent("done",F),this._player.onDone(F)}onStart(F){this.queued&&this._queueEvent("start",F),this._player.onStart(F)}onDestroy(F){this.queued&&this._queueEvent("destroy",F),this._player.onDestroy(F)}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(F){this.queued||this._player.setPosition(F)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(F){const L=this._player;L.triggerCallback&&L.triggerCallback(F)}}function Ra(z){return z&&1===z.nodeType}function za(z,F){const L=z.style.display;return z.style.display=F??"none",L}function vr(z,F,L,H,Y){const ie=[];L.forEach($t=>ie.push(za($t)));const et=[];H.forEach(($t,Ei)=>{const zi=new Map;$t.forEach(Vi=>{const un=F.computeStyle(Ei,Vi,Y);zi.set(Vi,un),(!un||0==un.length)&&(Ei[tn]=Ui,et.push(Ei))}),z.set(Ei,zi)});let Bt=0;return L.forEach($t=>za($t,ie[Bt++])),et}function Sn(z,F){const L=new Map;if(z.forEach(Bt=>L.set(Bt,[])),0==F.length)return L;const Y=new Set(F),ie=new Map;function et(Bt){if(!Bt)return 1;let $t=ie.get(Bt);if($t)return $t;const Ei=Bt.parentNode;return $t=L.has(Ei)?Ei:Y.has(Ei)?1:et(Ei),ie.set(Bt,$t),$t}return F.forEach(Bt=>{const $t=et(Bt);1!==$t&&L.get($t).push(Bt)}),L}function ka(z,F){z.classList?.add(F)}function Ka(z,F){z.classList?.remove(F)}function pr(z,F,L){di(L).onDone(()=>z.processLeaveNode(F))}function ds(z,F){for(let L=0;L<z.length;L++){const H=z[L];H instanceof A.PZ?ds(H.players,F):F.push(H)}}function Ss(z,F,L){const H=L.get(z);if(!H)return!1;let Y=F.get(z);return Y?H.forEach(ie=>Y.add(ie)):F.set(z,H),L.delete(z),!0}class Oa{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(F,L)=>{};constructor(F,L,H){this._driver=L,this._normalizer=H,this._transitionEngine=new Un(F.body,L,H),this._timelineEngine=new ls(F.body,L,H),this._transitionEngine.onRemovalComplete=(Y,ie)=>this.onRemovalComplete(Y,ie)}registerTrigger(F,L,H,Y,ie){const et=F+"-"+Y;let Bt=this._triggerCache[et];if(!Bt){const $t=[],zi=mr(this._driver,ie,$t,[]);if($t.length)throw function lt(){return new p.buA(3404,!1)}();Bt=function os(z,F,L){return new Yr(z,F,L)}(Y,zi,this._normalizer),this._triggerCache[et]=Bt}this._transitionEngine.registerTrigger(L,Y,Bt)}register(F,L){this._transitionEngine.register(F,L)}destroy(F,L){this._transitionEngine.destroy(F,L)}onInsert(F,L,H,Y){this._transitionEngine.insertNode(F,L,H,Y)}onRemove(F,L,H){this._transitionEngine.removeNode(F,L,H)}disableAnimations(F,L){this._transitionEngine.markElementAsDisabled(F,L)}process(F,L,H,Y){if("@"==H.charAt(0)){const[ie,et]=se(H);this._timelineEngine.command(ie,L,et,Y)}else this._transitionEngine.trigger(F,L,H,Y)}listen(F,L,H,Y,ie){if("@"==H.charAt(0)){const[et,Bt]=se(H);return this._timelineEngine.listen(et,L,Bt,ie)}return this._transitionEngine.listen(F,L,H,Y,ie)}flush(F=-1){this._transitionEngine.flush(F)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(F){this._transitionEngine.afterFlushAnimationsDone(F)}}let Ri=(()=>{class z{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(L,H,Y){this._element=L,this._startStyles=H,this._endStyles=Y;let ie=z.initialStylesByElement.get(L);ie||z.initialStylesByElement.set(L,ie=new Map),this._initialStyles=ie}start(){this._state<1&&(this._startStyles&&Tt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Tt(this._element,this._initialStyles),this._endStyles&&(Tt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(z.initialStylesByElement.delete(this._element),this._startStyles&&(Ze(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ze(this._element,this._endStyles),this._endStyles=null),Tt(this._element,this._initialStyles),this._state=3)}}return z})();function ft(z){let F=null;return z.forEach((L,H)=>{(function _i(z){return"display"===z||"position"===z})(H)&&(F=F||new Map,F.set(H,L))}),F}class Li{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(F,L,H,Y){this.element=F,this.keyframes=L,this.options=H,this._specialStyles=Y,this._duration=H.duration,this._delay=H.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const F=this.keyframes,L=this._triggerWebAnimation(this.element,F,this.options);if(!L)return this._onFinish(),null;this.domPlayer=L,this._finalKeyframe=F.length?F[F.length-1]:new Map;const H=()=>this._onFinish();return L.addEventListener("finish",H),this.onDestroy(()=>{L.removeEventListener("finish",H)}),L}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(F){const L=[];return F.forEach(H=>{L.push(Object.fromEntries(H))}),L}_triggerWebAnimation(F,L,H){const Y=this._convertKeyframesToObject(L);try{return F.animate(Y,H)}catch{return null}}onStart(F){this._originalOnStartFns.push(F),this._onStartFns.push(F)}onDone(F){this._originalOnDoneFns.push(F),this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}play(){const F=this._buildPlayer();F&&(this.hasStarted()||(this._onStartFns.forEach(L=>L()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),F.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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(F=>F()),this._onDestroyFns=[])}setPosition(F){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=F*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const F=new Map;this.hasStarted()&&this._finalKeyframe.forEach((H,Y)=>{"offset"!==Y&&F.set(Y,this._finished?H:Dn(this.element,Y))}),this.currentSnapshot=F}triggerCallback(F){const L="start"===F?this._onStartFns:this._onDoneFns;L.forEach(H=>H()),L.length=0}}class vn{validateStyleProperty(F){return!0}validateAnimatableStyleProperty(F){return!0}containsElement(F,L){return Ye(F,L)}getParentElement(F){return Ue(F)}query(F,L,H){return Nt(F,L,H)}computeStyle(F,L,H){return Dn(F,L)}animate(F,L,H,Y,ie,et=[]){const $t={duration:H,delay:Y,fill:0==Y?"both":"forwards"};ie&&($t.easing=ie);const Ei=new Map,zi=et.filter(Bn=>Bn instanceof Li);(function ki(z,F){return 0===z||0===F})(H,Y)&&zi.forEach(Bn=>{Bn.currentSnapshot.forEach((pn,gn)=>Ei.set(gn,pn))});let Vi=function zn(z){return z.length?z[0]instanceof Map?z:z.map(F=>new Map(Object.entries(F))):[]}(L).map(Bn=>new Map(Bn));Vi=function Ki(z,F,L){if(L.size&&F.length){let H=F[0],Y=[];if(L.forEach((ie,et)=>{H.has(et)||Y.push(et),H.set(et,ie)}),Y.length)for(let ie=1;ie<F.length;ie++){let et=F[ie];Y.forEach(Bt=>et.set(Bt,Dn(z,Bt)))}}return F}(F,Vi,Ei);const un=function Wt(z,F){let L=null,H=null;return Array.isArray(F)&&F.length?(L=ft(F[0]),F.length>1&&(H=ft(F[F.length-1]))):F instanceof Map&&(L=ft(F)),L||H?new Ri(z,L,H):null}(F,Vi);return new Li(F,Vi,$t,un)}}const At="@.disabled";class mi{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(F,L,H,Y){this.namespaceId=F,this.delegate=L,this.engine=H,this._onDestroy=Y}get data(){return this.delegate.data}destroyNode(F){this.delegate.destroyNode?.(F)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(F,L){return this.delegate.createElement(F,L)}createComment(F){return this.delegate.createComment(F)}createText(F){return this.delegate.createText(F)}appendChild(F,L){this.delegate.appendChild(F,L),this.engine.onInsert(this.namespaceId,L,F,!1)}insertBefore(F,L,H,Y=!0){this.delegate.insertBefore(F,L,H),this.engine.onInsert(this.namespaceId,L,F,Y)}removeChild(F,L,H,Y){Y?this.delegate.removeChild(F,L,H,Y):this.parentNode(L)&&this.engine.onRemove(this.namespaceId,L,this.delegate)}selectRootElement(F,L){return this.delegate.selectRootElement(F,L)}parentNode(F){return this.delegate.parentNode(F)}nextSibling(F){return this.delegate.nextSibling(F)}setAttribute(F,L,H,Y){this.delegate.setAttribute(F,L,H,Y)}removeAttribute(F,L,H){this.delegate.removeAttribute(F,L,H)}addClass(F,L){this.delegate.addClass(F,L)}removeClass(F,L){this.delegate.removeClass(F,L)}setStyle(F,L,H,Y){this.delegate.setStyle(F,L,H,Y)}removeStyle(F,L,H){this.delegate.removeStyle(F,L,H)}setProperty(F,L,H){"@"==L.charAt(0)&&L==At?this.disableAnimations(F,!!H):this.delegate.setProperty(F,L,H)}setValue(F,L){this.delegate.setValue(F,L)}listen(F,L,H,Y){return this.delegate.listen(F,L,H,Y)}disableAnimations(F,L){this.engine.disableAnimations(F,L)}}class Rn extends mi{factory;constructor(F,L,H,Y,ie){super(L,H,Y,ie),this.factory=F,this.namespaceId=L}setProperty(F,L,H){"@"==L.charAt(0)?"."==L.charAt(1)&&L==At?this.disableAnimations(F,H=void 0===H||!!H):this.engine.process(this.namespaceId,F,L.slice(1),H):this.delegate.setProperty(F,L,H)}listen(F,L,H,Y){if("@"==L.charAt(0)){const ie=function ea(z){switch(z){case"body":return document.body;case"document":return document;case"window":return window;default:return z}}(F);let et=L.slice(1),Bt="";return"@"!=et.charAt(0)&&([et,Bt]=function lr(z){const F=z.indexOf(".");return[z.substring(0,F),z.slice(F+1)]}(et)),this.engine.listen(this.namespaceId,ie,et,Bt,$t=>{this.factory.scheduleListenerCallback($t._data||-1,H,$t)})}return this.delegate.listen(F,L,H,Y)}}class Ts{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(F,L,H){this.delegate=F,this.engine=L,this._zone=H,L.onRemovalComplete=(Y,ie)=>{ie?.removeChild(null,Y)}}createRenderer(F,L){const Y=this.delegate.createRenderer(F,L);if(!F||!L?.data?.animation){const Ei=this._rendererCache;let zi=Ei.get(Y);return zi||(zi=new mi("",Y,this.engine,()=>Ei.delete(Y)),Ei.set(Y,zi)),zi}const ie=L.id,et=L.id+"-"+this._currentId;this._currentId++,this.engine.register(et,F);const Bt=Ei=>{Array.isArray(Ei)?Ei.forEach(Bt):this.engine.registerTrigger(ie,et,F,Ei.name,Ei)};return L.data.animation.forEach(Bt),new Rn(this,et,Y,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(F,L,H){if(F>=0&&F<this._microtaskId)return void this._zone.run(()=>L(H));const Y=this._animationCallbacksBuffer;0==Y.length&&queueMicrotask(()=>{this._zone.run(()=>{Y.forEach(ie=>{const[et,Bt]=ie;et(Bt)}),this._animationCallbacksBuffer=[]})}),Y.push([L,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()}componentReplaced(F){this.engine.flush(),this.delegate.componentReplaced?.(F)}}const Ds=[{provide:Fn,useFactory:function Gs(){return new Ci}},{provide:Oa,useClass:(()=>{class z extends Oa{constructor(L,H,Y){super(L,H,Y)}ngOnDestroy(){this.flush()}static \u0275fac=function(H){return new(H||z)(p.KVO(p.qQL),p.KVO(An),p.KVO(Fn))};static \u0275prov=p.jDH({token:z,factory:z.\u0275fac})}return z})()},{provide:e._9s,useFactory:function Oo(z,F,L){return new Ts(z,F,L)},deps:[g.mE,Oa,e.SKi]}],ro=[{provide:An,useClass:En},{provide:e.bc$,useValue:"NoopAnimations"},...Ds],As=[{provide:An,useFactory:()=>new vn},{provide:e.bc$,useFactory:()=>"BrowserAnimations"},...Ds];let Os=(()=>{class z{static withConfig(L){return{ngModule:z,providers:L.disableAnimations?ro:As}}static \u0275fac=function(H){return new(H||z)};static \u0275mod=e.$C({type:z});static \u0275inj=p.G2t({providers:As,imports:[h]})}return z})();var Sr=l(99327),Ua=l(29330),qi=l(59640),Fo=l(11747),yo=l(983),bo=l(71985),Fs=l(7673),xo=l(57786),dl=l(47242),ul=l(92771),jl=l(97647),cr=l(5964),us=l(96354),so=l(70274),Wl=l(43236),Dl=l(28211),qo=l(39974),Al=l(58750),Ll=l(81853),Rr=l(54360),hl=l(45225);const fl=(0,Ll.L)(z=>function(L=null){z(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=L});function No(z){throw new fl(z)}var Il=l(70152),xs=l(99437),js=l(96697),wn=l(56977),Ws=l(25558),Bo=l(65245),Xl=l(40941),el=l(53993),ml=l(31943),pl=l(89079);const Co="PERFORM_ACTION",Xs="ROLLBACK",Uo="TOGGLE_ACTION",lo="JUMP_TO_STATE",Ys="JUMP_TO_ACTION",_l="IMPORT_STATE",Vo="LOCK_CHANGES",vl="PAUSE_RECORDING";class Ho{constructor(F,L){if(this.action=F,this.timestamp=L,this.type=Co,typeof F.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class zr{constructor(){this.type="REFRESH"}}class cd{constructor(F){this.timestamp=F,this.type="RESET"}}class yl{constructor(F){this.timestamp=F,this.type=Xs}}class jc{constructor(F){this.timestamp=F,this.type="COMMIT"}}class we{constructor(){this.type="SWEEP"}}class je{constructor(F){this.id=F,this.type=Uo}}class We{constructor(F){this.index=F,this.type=lo}}class _t{constructor(F){this.actionId=F,this.type=Ys}}class Ut{constructor(F){this.nextLiftedState=F,this.type=_l}}class ri{constructor(F){this.status=F,this.type=Vo}}class Di{constructor(F){this.status=F,this.type=vl}}const On=new p.nKC("@ngrx/store-devtools Options"),Ma=new p.nKC("@ngrx/store-devtools Initial Config");function yr(){return null}function co(z){const F={maxAge:!1,monitor:yr,actionSanitizer:void 0,stateSanitizer:void 0,name:"NgRx Store DevTools",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},L="function"==typeof z?z():z,Y=L.features||!!L.logOnly&&{pause:!0,export:!0,test:!0}||F.features;!0===Y.import&&(Y.import="custom");const ie=Object.assign({},F,{features:Y},L);if(ie.maxAge&&ie.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${ie.maxAge}`);return ie}function ts(z,F){return z.filter(L=>F.indexOf(L)<0)}function Qs(z){const{computedStates:F,currentStateIndex:L}=z;if(L>=F.length){const{state:Y}=F[F.length-1];return Y}const{state:H}=F[L];return H}function uo(z){return new Ho(z,+Date.now())}function bl(z,F){return Object.keys(F).reduce((L,H)=>{const Y=Number(H);return L[Y]=fs(z,F[Y],Y),L},{})}function fs(z,F,L){return{...F,action:z(F.action,L)}}function $d(z,F){return F.map((L,H)=>({state:kl(z,L.state,H),error:L.error}))}function kl(z,F,L){return z(F,L)}function $s(z){return z.predicate||z.actionsSafelist||z.actionsBlocklist}function Kl(z,F,L,H,Y){const ie=L&&!L(z,F.action),et=H&&!F.action.type.match(H.map($t=>Go($t)).join("|")),Bt=Y&&F.action.type.match(Y.map($t=>Go($t)).join("|"));return ie||et||Bt}function Go(z){return z.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function xl(z){return{ngZone:z?(0,p.WQX)(e.SKi):null,connectInZone:z}}let Bs=(()=>{var z;class F extends qi.SS{static#e=z=()=>(this.\u0275fac=(()=>{let H;return function(ie){return(H||(H=e.xGo(F)))(ie||F)}})(),this.\u0275prov=p.jDH({token:F,factory:F.\u0275fac}))}return z(),F})();const tl=new p.nKC("@ngrx/store-devtools Redux Devtools Extension");let Eo=(()=>{var z;class F{constructor(H,Y,ie){this.config=Y,this.dispatcher=ie,this.zoneConfig=xl(this.config.connectInZone),this.devtoolsExtension=H,this.createActionStreams()}notify(H,Y){if(this.devtoolsExtension)if(H.type===Co){if(Y.isLocked||Y.isPaused)return;const ie=Qs(Y);if($s(this.config)&&Kl(ie,H,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const et=this.config.stateSanitizer?kl(this.config.stateSanitizer,ie,Y.currentStateIndex):ie,Bt=this.config.actionSanitizer?fs(this.config.actionSanitizer,H,Y.nextActionId):H;this.sendToReduxDevtools(()=>this.extensionConnection.send(Bt,et))}else{const ie={...Y,stagedActionIds:Y.stagedActionIds,actionsById:this.config.actionSanitizer?bl(this.config.actionSanitizer,Y.actionsById):Y.actionsById,computedStates:this.config.stateSanitizer?$d(this.config.stateSanitizer,Y.computedStates):Y.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,ie,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new bo.c(H=>{const Y=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=Y,Y.init(),Y.subscribe(ie=>H.next(ie)),Y.unsubscribe}):yo.w}createActionStreams(){const H=this.createChangesObservable().pipe((0,jl.u)()),Y=H.pipe((0,cr.p)(zi=>"START"===zi.type)),ie=H.pipe((0,cr.p)(zi=>"STOP"===zi.type)),et=H.pipe((0,cr.p)(zi=>"DISPATCH"===zi.type),(0,us.T)(zi=>this.unwrapAction(zi.payload)),(0,so.H)(zi=>zi.type===_l?this.dispatcher.pipe((0,cr.p)(Vi=>Vi.type===qi.q6),function oo(z,F){const{first:L,each:H,with:Y=No,scheduler:ie=F??Wl.E,meta:et=null}=(0,Dl.v)(z)?{first:z}:"number"==typeof z?{each:z}:z;if(null==L&&null==H)throw new TypeError("No timeout provided.");return(0,qo.N)((Bt,$t)=>{let Ei,zi,Vi=null,un=0;const Bn=pn=>{zi=(0,hl.N)($t,ie,()=>{try{Ei.unsubscribe(),(0,Al.Tg)(Y({meta:et,lastValue:Vi,seen:un})).subscribe($t)}catch(gn){$t.error(gn)}},pn)};Ei=Bt.subscribe((0,Rr._)($t,pn=>{zi?.unsubscribe(),un++,$t.next(Vi=pn),H>0&&Bn(H)},void 0,void 0,()=>{zi?.closed||zi?.unsubscribe(),Vi=null})),!un&&Bn(null!=L?"number"==typeof L?L:+L-ie.now():H)})}(1e3),(0,Il.B)(1e3),(0,us.T)(()=>zi),(0,xs.W)(()=>(0,Fs.of)(zi)),(0,js.s)(1)):(0,Fs.of)(zi))),$t=H.pipe((0,cr.p)(zi=>"ACTION"===zi.type),(0,us.T)(zi=>this.unwrapAction(zi.payload))).pipe((0,wn.Q)(ie)),Ei=et.pipe((0,wn.Q)(ie));this.start$=Y.pipe((0,wn.Q)(ie)),this.actions$=this.start$.pipe((0,Ws.n)(()=>$t)),this.liftedActions$=this.start$.pipe((0,Ws.n)(()=>Ei))}unwrapAction(H){return"string"==typeof H?(0,eval)(`(${H})`):H}getExtensionConfig(H){const Y={name:H.name,features:H.features,serialize:H.serialize,autoPause:H.autoPause??!1,trace:H.trace??!1,traceLimit:H.traceLimit??75};return!1!==H.maxAge&&(Y.maxAge=H.maxAge),Y}sendToReduxDevtools(H){try{H()}catch(Y){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",Y)}}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(p.KVO(tl),p.KVO(On),p.KVO(Bs))},this.\u0275prov=p.jDH({token:F,factory:F.\u0275fac}))}return z(),F})();const jo={type:qi.Zz},nl={type:"@ngrx/store-devtools/recompute"};function Cl(z,F,L,H,Y){if(H)return{state:L,error:"Interrupted by an error up the chain"};let et,ie=L;try{ie=z(L,F)}catch(Bt){et=Bt.toString(),Y.handleError(Bt)}return{state:ie,error:et}}function ho(z,F,L,H,Y,ie,et,Bt,$t){if(F>=z.length&&z.length===ie.length)return z;const Ei=z.slice(0,F),zi=ie.length-($t?1:0);for(let Vi=F;Vi<zi;Vi++){const un=ie[Vi],Bn=Y[un].action,pn=Ei[Vi-1],gn=pn?pn.state:H,oa=pn?pn.error:void 0,er=et.indexOf(un)>-1?pn:Cl(L,Bn,gn,oa,Bt);Ei.push(er)}return $t&&Ei.push(z[z.length-1]),Ei}let Vr=(()=>{var z;class F{constructor(H,Y,ie,et,Bt,$t,Ei,zi){const Vi=function al(z,F){return{monitorState:F(void 0,{}),nextActionId:1,actionsById:{0:uo(jo)},stagedActionIds:[0],skippedActionIds:[],committedState:z,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}(Ei,zi.monitor),un=function wo(z,F,L,H,Y={}){return ie=>(et,Bt)=>{let{monitorState:$t,actionsById:Ei,nextActionId:zi,stagedActionIds:Vi,skippedActionIds:un,committedState:Bn,currentStateIndex:pn,computedStates:gn,isLocked:oa,isPaused:wa}=et||F;function er(dr){let Da=dr,Pr=Vi.slice(1,Da+1);for(let ar=0;ar<Pr.length;ar++){if(gn[ar+1].error){Da=ar,Pr=Vi.slice(1,Da+1);break}delete Ei[Pr[ar]]}un=un.filter(ar=>-1===Pr.indexOf(ar)),Vi=[0,...Vi.slice(Da+1)],Bn=gn[Da].state,gn=gn.slice(Da),pn=pn>Da?pn-Da:0}function qr(){Ei={0:uo(jo)},zi=1,Vi=[0],un=[],Bn=gn[pn].state,pn=0,gn=[]}et||(Ei=Object.create(Ei));let ha=0;switch(Bt.type){case Vo:oa=Bt.status,ha=1/0;break;case vl:wa=Bt.status,wa?(Vi=[...Vi,zi],Ei[zi]=new Ho({type:"@ngrx/devtools/pause"},+Date.now()),zi++,ha=Vi.length-1,gn=gn.concat(gn[gn.length-1]),pn===Vi.length-2&&pn++,ha=1/0):qr();break;case"RESET":Ei={0:uo(jo)},zi=1,Vi=[0],un=[],Bn=z,pn=0,gn=[];break;case"COMMIT":qr();break;case Xs:Ei={0:uo(jo)},zi=1,Vi=[0],un=[],pn=0,gn=[];break;case Uo:{const{id:dr}=Bt;un=-1===un.indexOf(dr)?[dr,...un]:un.filter(Pr=>Pr!==dr),ha=Vi.indexOf(dr);break}case"SET_ACTIONS_ACTIVE":{const{start:dr,end:Da,active:Pr}=Bt,ar=[];for(let Qo=dr;Qo<Da;Qo++)ar.push(Qo);un=Pr?ts(un,ar):[...un,...ar],ha=Vi.indexOf(dr);break}case lo:pn=Bt.index,ha=1/0;break;case Ys:{const dr=Vi.indexOf(Bt.actionId);-1!==dr&&(pn=dr),ha=1/0;break}case"SWEEP":Vi=ts(Vi,un),un=[],pn=Math.min(pn,Vi.length-1);break;case Co:{if(oa)return et||F;if(wa||et&&Kl(et.computedStates[pn],Bt,Y.predicate,Y.actionsSafelist,Y.actionsBlocklist)){const Da=gn[gn.length-1];gn=[...gn.slice(0,-1),Cl(ie,Bt.action,Da.state,Da.error,L)],ha=1/0;break}Y.maxAge&&Vi.length===Y.maxAge&&er(1),pn===Vi.length-1&&pn++;const dr=zi++;Ei[dr]=Bt,Vi=[...Vi,dr],ha=Vi.length-1;break}case _l:({monitorState:$t,actionsById:Ei,nextActionId:zi,stagedActionIds:Vi,skippedActionIds:un,committedState:Bn,currentStateIndex:pn,computedStates:gn,isLocked:oa,isPaused:wa}=Bt.nextLiftedState);break;case qi.Zz:ha=0,Y.maxAge&&Vi.length>Y.maxAge&&(gn=ho(gn,ha,ie,Bn,Ei,Vi,un,L,wa),er(Vi.length-Y.maxAge),ha=1/0);break;case qi.q6:if(gn.filter(Da=>Da.error).length>0)ha=0,Y.maxAge&&Vi.length>Y.maxAge&&(gn=ho(gn,ha,ie,Bn,Ei,Vi,un,L,wa),er(Vi.length-Y.maxAge),ha=1/0);else{if(!wa&&!oa){pn===Vi.length-1&&pn++;const Da=zi++;Ei[Da]=new Ho(Bt,+Date.now()),Vi=[...Vi,Da],ha=Vi.length-1,gn=ho(gn,ha,ie,Bn,Ei,Vi,un,L,wa)}gn=gn.map(Da=>({...Da,state:ie(Da.state,nl)})),pn=Vi.length-1,Y.maxAge&&Vi.length>Y.maxAge&&er(Vi.length-Y.maxAge),ha=1/0}break;default:ha=1/0}return gn=ho(gn,ha,ie,Bn,Ei,Vi,un,L,wa),$t=H($t,Bt),{monitorState:$t,actionsById:Ei,nextActionId:zi,stagedActionIds:Vi,skippedActionIds:un,committedState:Bn,currentStateIndex:pn,computedStates:gn,isLocked:oa,isPaused:wa}}}(Ei,Vi,$t,zi.monitor,zi),Bn=(0,xo.h)((0,xo.h)(Y.asObservable().pipe((0,Bo.i)(1)),et.actions$).pipe((0,us.T)(uo)),H,et.liftedActions$).pipe((0,Xl.Q)(dl.T)),pn=ie.pipe((0,us.T)(un)),gn=xl(zi.connectInZone),oa=new ul.m(1);this.liftedStateSubscription=Bn.pipe((0,el.E)(pn),Zr(gn),(0,ml.S)(({state:qr},[ha,dr])=>{let Da=dr(qr,ha);return ha.type!==Co&&$s(zi)&&(Da=function Zd(z,F,L,H){const Y=[],ie={},et=[];return z.stagedActionIds.forEach((Bt,$t)=>{const Ei=z.actionsById[Bt];Ei&&($t&&Kl(z.computedStates[$t],Ei,F,L,H)||(ie[Bt]=Ei,Y.push(Bt),et.push(z.computedStates[$t])))}),{...z,stagedActionIds:Y,actionsById:ie,computedStates:et}}(Da,zi.predicate,zi.actionsSafelist,zi.actionsBlocklist)),et.notify(ha,Da),{state:Da,action:ha}},{state:Vi,action:null})).subscribe(({state:qr,action:ha})=>{oa.next(qr),ha.type===Co&&Bt.next(ha.action)}),this.extensionStartSubscription=et.start$.pipe(Zr(gn)).subscribe(()=>{this.refresh()});const wa=oa.asObservable(),er=wa.pipe((0,us.T)(Qs));Object.defineProperty(er,"state",{value:(0,pl.ot)(er,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=H,this.liftedState=wa,this.state=er}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(H){this.dispatcher.next(H)}next(H){this.dispatcher.next(H)}error(H){}complete(){}performAction(H){this.dispatch(new Ho(H,+Date.now()))}refresh(){this.dispatch(new zr)}reset(){this.dispatch(new cd(+Date.now()))}rollback(){this.dispatch(new yl(+Date.now()))}commit(){this.dispatch(new jc(+Date.now()))}sweep(){this.dispatch(new we)}toggleAction(H){this.dispatch(new je(H))}jumpToAction(H){this.dispatch(new _t(H))}jumpToState(H){this.dispatch(new We(H))}importState(H){this.dispatch(new Ut(H))}lockChanges(H){this.dispatch(new ri(H))}pauseRecording(H){this.dispatch(new Di(H))}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(p.KVO(Bs),p.KVO(qi.SS),p.KVO(qi.QU),p.KVO(Eo),p.KVO(qi.sA),p.KVO(p.zcH),p.KVO(qi.N_),p.KVO(On))},this.\u0275prov=p.jDH({token:F,factory:F.\u0275fac}))}return z(),F})();function Zr({ngZone:z,connectInZone:F}){return L=>F?new bo.c(H=>L.subscribe({next:Y=>z.run(()=>H.next(Y)),error:Y=>z.run(()=>H.error(Y)),complete:()=>z.run(()=>H.complete())})):L}const hc=new p.nKC("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function fc(z,F){return!!z||F.monitor!==yr}function Ml(){const z="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[z]<"u"?window[z]:null}function zs(z){return z.state}function El(z={}){return(0,p.EmA)([Eo,Bs,Vr,{provide:Ma,useValue:z},{provide:hc,deps:[tl,On],useFactory:fc},{provide:tl,useFactory:Ml},{provide:On,deps:[Ma],useFactory:co},{provide:qi.h1,deps:[Vr],useFactory:zs},{provide:qi.Bh,useExisting:Bs}])}let So=(()=>{var z;class F{static instrument(H={}){return{ngModule:F,providers:[El(H)]}}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)},this.\u0275mod=e.$C({type:F}),this.\u0275inj=p.G2t({}))}return z(),F})();var hn=l(21413),Rl=l(33726),dd=l(22806),mc=l(1807);function To(z=0,F=Wl.E){return z<0&&(z=0),(0,mc.O)(z,z,F)}var Ol=l(18359),pc=l(57908),Pl=l(9326),Ql=l(88141),Fl=l(70980),Zs=l(23294);class wl{}function ud(z){return(0,p.EmA)([{provide:wl,useValue:z}])}let gc=(()=>{class z{constructor(L,H){this._ngZone=H,this.timerStart$=new hn.B,this.idleDetected$=new hn.B,this.timeout$=new hn.B,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,L&&this.setConfig(L)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,xo.h)((0,Rl.R)(window,"mousemove"),(0,Rl.R)(window,"resize"),(0,Rl.R)(document,"keydown"))),this.idle$=(0,dd.H)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Yl(z,...F){var L,H;const Y=null!==(L=(0,Pl.lI)(F))&&void 0!==L?L:Wl.E,ie=null!==(H=F[0])&&void 0!==H?H:null,et=F[1]||1/0;return(0,qo.N)((Bt,$t)=>{let Ei=[],zi=!1;const Vi=pn=>{const{buffer:gn,subs:oa}=pn;oa.unsubscribe(),(0,pc.o)(Ei,pn),$t.next(gn),zi&&un()},un=()=>{if(Ei){const pn=new Ol.yU;$t.add(pn);const oa={buffer:[],subs:pn};Ei.push(oa),(0,hl.N)(pn,Y,()=>Vi(oa),z)}};null!==ie&&ie>=0?(0,hl.N)($t,Y,un,ie,!0):zi=!0,un();const Bn=(0,Rr._)($t,pn=>{const gn=Ei.slice();for(const oa of gn){const{buffer:wa}=oa;wa.push(pn),et<=wa.length&&Vi(oa)}},()=>{for(;Ei?.length;)$t.next(Ei.shift().buffer);Bn?.unsubscribe(),$t.complete(),$t.unsubscribe()},void 0,()=>Ei=null);Bt.subscribe(Bn)})}(this.idleSensitivityMillisec),(0,cr.p)(L=>!L.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,Ql.M)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Ws.n)(()=>this._ngZone.runOutsideAngular(()=>To(1e3).pipe((0,wn.Q)((0,xo.h)(this.activityEvents$,(0,mc.O)(this.idleMillisec).pipe((0,Ql.M)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Fl.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,Zs.F)(),(0,Ws.n)(L=>L?this.timer$:(0,Fs.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,cr.p)(L=>!!L),(0,Ql.M)(()=>this.isTimeout=!0),(0,us.T)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(L){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(L):console.error("Call stopWatching() before set config values")}setConfig(L){L.idle&&(this.idleMillisec=1e3*L.idle),L.ping&&(this.pingMillisec=1e3*L.ping),L.idleSensitivity&&(this.idleSensitivityMillisec=1e3*L.idleSensitivity),L.timeout&&(this.timeout=L.timeout)}setCustomActivityEvents(L){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=L:console.error("Call stopWatching() before set custom activity events")}setupTimer(L){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,Fs.of)(()=>new Date).pipe((0,us.T)(H=>H()),(0,Ws.n)(H=>To(1e3).pipe((0,us.T)(()=>Math.round(((new Date).valueOf()-H.valueOf())/1e3)),(0,Ql.M)(Y=>{Y>=L&&this.timeout$.next(!0)}))))})}setupPing(L){this.ping$=To(L).pipe((0,cr.p)(()=>!this.isTimeout))}}return z.\u0275fac=function(L){return new(L||z)(p.KVO(wl,8),p.KVO(e.SKi))},z.\u0275prov=p.jDH({token:z,factory:z.\u0275fac,providedIn:"root"}),z})();var Wo=l(38132),Ja=l(43694),Mn=l(45383),Va=l(79647),Tr=l(20060),Ea=l(25596),bn=l(52920),Dr=l(96850);const $l=()=>({initial:!1});function _c(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.activeLink=Y.links[1].link)}),e.EFF(1),e.k0s()}if(2&z){const L=e.XpG();e.Y8G("routerLink",e.mNQ(L.links[1].link))("active",L.activeLink===L.links[1].link)("state",e.lJ4(5,$l)),e.R7$(),e.JRh(L.links[1].name)}}function Do(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",12),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.activeLink=Y.links[2].link)}),e.EFF(1),e.k0s()}if(2&z){const L=e.XpG();e.Y8G("routerLink",e.mNQ(L.links[2].link))("active",L.activeLink===L.links[2].link),e.R7$(),e.JRh(L.links[2].name)}}let is=(()=>{var z;class F{constructor(H,Y){this.store=H,this.router=Y,this.faUserCog=Mn.McB,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new hn.B,new hn.B,new hn.B]}ngOnInit(){const H=this.links.find(Y=>this.router.url.includes(Y.link));this.activeLink=H?H.link:this.links[0].link,this.router.events.pipe((0,wn.Q)(this.unSubs[0]),(0,cr.p)(Y=>Y instanceof Ja.gx)).subscribe({next:Y=>{const ie=this.links.find(et=>Y.urlAfterRedirects.includes(et.link));this.activeLink=ie?ie.link:this.links[0].link}}),this.store.select(Va.qv).pipe((0,wn.Q)(this.unSubs[1])).subscribe(Y=>{this.appConfig=Y}),this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[2])).subscribe(Y=>{this.showBitcoind=!1,this.selNode=Y,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(qi.il),e.rXU(Ja.Ix))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-settings"]],standalone:!1,decls:16,vars:8,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","routerLink","active"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","state","click",4,"ngIf"],["role","tab","tabindex","3","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","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","routerLink","active","state"],["role","tab","tabindex","3","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"]],template:function(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3,"Settings"),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.activeLink=ie.links[0].link)}),e.EFF(9),e.k0s(),e.DNE(10,_c,2,6,"div",8)(11,Do,2,4,"div",9),e.k0s(),e.nrm(12,"mat-tab-nav-panel",null,0),e.j41(14,"div",10),e.nrm(15,"router-outlet"),e.k0s()()()()}if(2&Y){const et=e.sdS(13);e.R7$(),e.Y8G("icon",ie.faUserCog),e.R7$(6),e.Y8G("tabPanel",et),e.R7$(),e.Y8G("routerLink",e.mNQ(ie.links[0].link))("active",ie.activeLink===ie.links[0].link),e.R7$(),e.JRh(ie.links[0].name),e.R7$(),e.Y8G("ngIf",!+ie.appConfig.SSO.rtlSSO),e.R7$(),e.Y8G("ngIf",ie.showBitcoind)}},dependencies:[c.bT,Tr.aY,Ea.RN,Ea.m2,bn.DJ,bn.sA,bn.UI,Dr.Bu,Dr.hQ,Dr.Ql,Ja.n3,Wo.Wk],encapsulation:2}))}return z(),F})();var Nn=l(11771),ir=l(98570),cn=l(89417),Hr=l(88834),ra=l(69588),De=l(96183),pt=l(23029),Yt=l(10497),Pi=l(89587);function rn(z,F){if(1&z&&(e.j41(0,"mat-option",15),e.EFF(1),e.k0s()),2&z){const L=F.$implicit;e.Y8G("value",L.index),e.R7$(),e.Lme(" ",L.lnNode," (",L.lnImplementation,") ")}}function In(z,F){if(1&z){const L=e.RV6();e.j41(0,"form",3,0)(2,"div",4),e.nrm(3,"fa-icon",5),e.j41(4,"span",6),e.EFF(5,"Default Node"),e.k0s()(),e.j41(6,"div",7)(7,"div",8)(8,"mat-form-field",9)(9,"mat-select",10),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG();return e.DH7(ie.appConfig.defaultNodeIndex,Y)||(ie.appConfig.defaultNodeIndex=Y),p.Njj(Y)}),e.DNE(10,rn,2,3,"mat-option",11),e.k0s()()(),e.j41(11,"div",12)(12,"div",8)(13,"button",13),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.onResetSettings())}),e.EFF(14,"Reset"),e.k0s(),e.j41(15,"button",14),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.onUpdateApplicationSettings())}),e.EFF(16,"Update"),e.k0s()()()()()}if(2&z){const L=e.XpG();e.R7$(3),e.Y8G("icon",L.faWindowRestore),e.R7$(6),e.R50("ngModel",L.appConfig.defaultNodeIndex),e.R7$(),e.Y8G("ngForOf",L.appConfig.nodes)}}let Qa=(()=>{var z;class F{constructor(H,Y){this.logger=H,this.store=Y,this.faWindowRestore=Mn.aFw,this.faPlus=Mn.QLR,this.previousDefaultNode=0,this.unSubs=[new hn.B,new hn.B]}ngOnInit(){this.store.select(Va.qv).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{this.appConfig=H,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(H)})}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,Nn.rc)({payload:{showSnackBar:!0,message:"Default Node Updated.",config:this.appConfig}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qi.il))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-app-settings"]],standalone:!1,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(Y,ie){1&Y&&(e.j41(0,"div",1),e.DNE(1,In,17,3,"form",2),e.k0s()),2&Y&&(e.R7$(),e.Y8G("ngIf",ie.appConfig.nodes&&ie.appConfig.nodes.length&&ie.appConfig.nodes.length>0))},dependencies:[c.Sq,c.bT,cn.qT,cn.BC,cn.cb,cn.vS,cn.cV,Tr.aY,Hr.$z,ra.rl,bn.DJ,bn.sA,bn.UI,De.VO,pt.wT,Yt.Ld,Pi.N],encapsulation:2}))}return z(),F})();var Ar=l(82852),$a=l(51585),Za=l(31264),ms=l(37541),hd=l(95416),fo=l(33746),Xo=l(36013),fd=l(38288),Zl=l(29157);const K1=["stepper"];function Nl(z,F){if(1&z&&e.EFF(0),2&z){const L=e.XpG();e.JRh(L.passwordFormLabel)}}function _2(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}function Jd(z,F){if(1&z&&e.EFF(0),2&z){const L=e.XpG(2);e.JRh(L.secretFormLabel)}}function v2(z,F){if(1&z&&e.nrm(0,"qr-code",33),2&z){const L=e.XpG(2);e.Y8G("value",L.otpauth)("size",180)}}function sl(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Secret Code is required."),e.k0s())}function Wc(z,F){if(1&z){const L=e.RV6();e.j41(0,"mat-step",10)(1,"form",22),e.DNE(2,Jd,1,1,"ng-template",23),e.j41(3,"div",24),e.DNE(4,v2,1,2,"qr-code",25),e.k0s(),e.j41(5,"div",26),e.nrm(6,"fa-icon",27),e.j41(7,"span"),e.EFF(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),e.k0s()(),e.j41(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),e.EFF(12,"Secret Code"),e.k0s(),e.nrm(13,"input",29),e.j41(14,"fa-icon",30),e.bIt("copied",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onCopySecret(Y))}),e.k0s(),e.DNE(15,sl,2,0,"mat-error",15),e.k0s()(),e.j41(16,"div",31)(17,"button",32),e.EFF(18,"Next"),e.k0s()()()()}if(2&z){const L=e.XpG();e.Y8G("stepControl",L.secretFormGroup)("editable",L.flgEditable),e.R7$(),e.Y8G("formGroup",L.secretFormGroup),e.R7$(3),e.Y8G("ngIf",L.otpauth),e.R7$(2),e.Y8G("icon",L.faInfoCircle),e.R7$(8),e.Y8G("icon",L.faCopy)("payload",null==L.secretFormGroup||null==L.secretFormGroup.controls||null==L.secretFormGroup.controls.secret?null:L.secretFormGroup.controls.secret.value),e.R7$(),e.Y8G("ngIf",null==L.secretFormGroup||null==L.secretFormGroup.controls||null==L.secretFormGroup.controls.secret||null==L.secretFormGroup.controls.secret.errors?null:L.secretFormGroup.controls.secret.errors.required)}}function qd(z,F){if(1&z&&e.EFF(0),2&z){const L=e.XpG(2);e.JRh(L.tokenFormLabel)}}function y2(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Token is required."),e.k0s())}function b2(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Token is invalid."),e.k0s())}function vc(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",8)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),e.EFF(4,"Token"),e.k0s(),e.nrm(5,"input",37),e.DNE(6,y2,2,0,"mat-error",15)(7,b2,2,0,"mat-error",15),e.k0s()(),e.j41(8,"div",31)(9,"button",38),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return p.Njj(Y.onVerifyToken())}),e.EFF(10),e.k0s()()()}if(2&z){const L=e.XpG(2);e.R7$(6),e.Y8G("ngIf",null==L.tokenFormGroup||null==L.tokenFormGroup.controls||null==L.tokenFormGroup.controls.token||null==L.tokenFormGroup.controls.token.errors?null:L.tokenFormGroup.controls.token.errors.required),e.R7$(),e.Y8G("ngIf",null==L.tokenFormGroup||null==L.tokenFormGroup.controls||null==L.tokenFormGroup.controls.token||null==L.tokenFormGroup.controls.token.errors?null:L.tokenFormGroup.controls.token.errors.notValid),e.R7$(3),e.JRh(null!=L.tokenFormGroup&&null!=L.tokenFormGroup.controls&&null!=L.tokenFormGroup.controls.token&&null!=L.tokenFormGroup.controls.token.errors&&L.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function Y1(z,F){1&z&&(e.j41(0,"div")(1,"strong"),e.EFF(2,"Success! You are all set."),e.k0s()())}function Q1(z,F){if(1&z&&(e.j41(0,"mat-step",34)(1,"form",35),e.DNE(2,qd,1,1,"ng-template",12)(3,vc,11,3,"div",36)(4,Y1,3,0,"div",15),e.k0s()()),2&z){const L=e.XpG();e.Y8G("stepControl",L.tokenFormGroup),e.R7$(),e.Y8G("formGroup",L.tokenFormGroup),e.R7$(2),e.Y8G("ngIf",!L.flgValidated||!L.isTokenValid),e.R7$(),e.Y8G("ngIf",L.flgValidated&&L.isTokenValid)}}function Qe(z,F){if(1&z&&e.EFF(0),2&z){const L=e.XpG(2);e.JRh(L.disableFormLabel)}}function Dt(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",8)(1,"div",39),e.nrm(2,"fa-icon",27),e.j41(3,"span"),e.EFF(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),e.k0s()(),e.j41(5,"div",31)(6,"button",38),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return p.Njj(Y.onVerifyToken())}),e.EFF(7,"Disable"),e.k0s()()()}if(2&z){const L=e.XpG(2);e.R7$(2),e.Y8G("icon",L.faExclamationTriangle)}}function St(z,F){1&z&&(e.j41(0,"div")(1,"strong"),e.EFF(2,"Two factor authentication removed from RTL."),e.k0s()())}function Ot(z,F){if(1&z&&(e.j41(0,"mat-step",34)(1,"form",35),e.DNE(2,Qe,1,1,"ng-template",12)(3,Dt,8,1,"div",36)(4,St,3,0,"div",15),e.k0s()()),2&z){const L=e.XpG();e.Y8G("stepControl",L.disableFormGroup),e.R7$(),e.Y8G("formGroup",L.disableFormGroup),e.R7$(2),e.Y8G("ngIf",!L.flgValidated||!L.isTokenValid),e.R7$(),e.Y8G("ngIf",L.flgValidated&&L.isTokenValid)}}let si=(()=>{var z;class F{constructor(H,Y,ie,et,Bt,$t){this.dialogRef=H,this.data=Y,this.store=ie,this.formBuilder=et,this.rtlEffects=Bt,this.snackBar=$t,this.faExclamationTriangle=Mn.zpE,this.faCopy=Mn.jPR,this.faInfoCircle=Mn.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:["",[cn.k0.required]],password:["",[cn.k0.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},cn.k0.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",cn.k0.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new hn.B,new hn.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},cn.k0.required]})}generateSecret(){const H=Za.authenticator.generateSecret();return this.otpauth=Za.authenticator.keyuri("","Ride The Lightning (RTL)",H),H}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Nn.oz)({payload:Ar(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,js.s)(1)).subscribe(H=>{"ERROR"!==H?(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(H){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,Nn.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=Za.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,Nn.rc)({payload:{showSnackBar:!1,message:"Two factor authentication enabled successfully.",config:this.appConfig}})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0}stepSelectionChanged(H){switch(H.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}H.selectedIndex<H.previouslySelectedIndex&&0===H.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU($a.CP),e.rXU($a.Vh),e.rXU(qi.il),e.rXU(cn.ze),e.rXU(ms.H),e.rXU(hd.UG))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-two-factor-auth"]],viewQuery:function(Y,ie){if(1&Y&&e.GBs(K1,5),2&Y){let et;e.mGM(et=e.lsd())&&(ie.stepper=et.first)}},standalone:!1,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"],["errorCorrectionLevel","L",3,"value","size",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",""],["errorCorrectionLevel","L",3,"value","size"],[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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),e.EFF(5,"Setup Two Factor Authentication"),e.k0s()(),e.j41(6,"button",6),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",7)(9,"div",8)(10,"mat-vertical-stepper",9,0),e.bIt("selectionChange",function($t){return p.eBV(et),p.Njj(ie.stepSelectionChanged($t))}),e.j41(12,"mat-step",10)(13,"form",11),e.DNE(14,Nl,1,1,"ng-template",12),e.j41(15,"div",1)(16,"mat-form-field",13)(17,"mat-label"),e.EFF(18,"Password"),e.k0s(),e.nrm(19,"input",14),e.DNE(20,_2,2,0,"mat-error",15),e.k0s()(),e.j41(21,"div",16)(22,"button",17),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onAuthenticate())}),e.EFF(23,"Confirm"),e.k0s()()()(),e.DNE(24,Wc,19,8,"mat-step",18)(25,Q1,5,4,"mat-step",19)(26,Ot,5,4,"mat-step",19),e.k0s(),e.j41(27,"div",20)(28,"button",21),e.EFF(29),e.k0s()()()()()()}2&Y&&(e.R7$(6),e.Y8G("mat-dialog-close",!1),e.R7$(4),e.Y8G("linear",!0),e.R7$(2),e.Y8G("stepControl",ie.passwordFormGroup)("editable",ie.flgEditable),e.R7$(),e.Y8G("formGroup",ie.passwordFormGroup),e.R7$(7),e.Y8G("ngIf",null==ie.passwordFormGroup||null==ie.passwordFormGroup.controls||null==ie.passwordFormGroup.controls.password||null==ie.passwordFormGroup.controls.password.errors?null:ie.passwordFormGroup.controls.password.errors.required),e.R7$(4),e.Y8G("ngIf",!ie.showDisableStepper),e.R7$(),e.Y8G("ngIf",!ie.showDisableStepper),e.R7$(),e.Y8G("ngIf",ie.showDisableStepper),e.R7$(2),e.Y8G("mat-dialog-close",!1),e.R7$(),e.JRh(ie.flgValidated&&ie.isTokenValid?"Close":"Cancel"))},dependencies:[c.bT,cn.qT,cn.me,cn.BC,cn.cb,cn.YS,cn.j4,cn.JD,Tr.aY,$a.tx,Hr.$z,Ea.m2,Ea.MM,fo.fg,ra.rl,ra.nJ,ra.TL,ra.yw,bn.DJ,bn.sA,bn.UI,Xo.V5,Xo.Ti,Xo.M6,Xo.F7,fd.Um,Zl.U,Pi.N],encapsulation:2}))}return z(),F})();var ot=l(4416),Ti=l(53202),Ni=l(71997);const $i=["authForm"];function Tn(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Current password is required."),e.k0s())}function Vn(z,F){if(1&z&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&z){const L=e.XpG(2);e.R7$(),e.JRh(L.errorMsg)}}function Hn(z,F){if(1&z&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&z){const L=e.XpG(2);e.R7$(),e.JRh(L.errorConfirmMsg)}}function va(z,F){if(1&z){const L=e.RV6();e.j41(0,"form",12,0)(2,"div",13),e.nrm(3,"fa-icon",6),e.j41(4,"span",7),e.EFF(5,"Password"),e.k0s()(),e.j41(6,"mat-form-field")(7,"mat-label"),e.EFF(8,"Current Password"),e.k0s(),e.j41(9,"input",14),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG();return e.DH7(ie.currPassword,Y)||(ie.currPassword=Y),p.Njj(Y)}),e.k0s(),e.DNE(10,Tn,2,0,"mat-error",15),e.k0s(),e.j41(11,"mat-form-field")(12,"mat-label"),e.EFF(13,"New Password"),e.k0s(),e.j41(14,"input",16),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG();return e.DH7(ie.newPassword,Y)||(ie.newPassword=Y),p.Njj(Y)}),e.k0s(),e.DNE(15,Vn,2,1,"mat-error",15),e.k0s(),e.j41(16,"mat-form-field")(17,"mat-label"),e.EFF(18,"Confirm New Password"),e.k0s(),e.j41(19,"input",17),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG();return e.DH7(ie.confirmPassword,Y)||(ie.confirmPassword=Y),p.Njj(Y)}),e.k0s(),e.DNE(20,Hn,2,1,"mat-error",15),e.k0s(),e.j41(21,"div",18)(22,"button",19),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.onResetPassword())}),e.EFF(23,"Reset"),e.k0s(),e.j41(24,"button",20),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.onChangePassword())}),e.EFF(25,"Change Password"),e.k0s()()()}if(2&z){const L=e.XpG();e.R7$(3),e.Y8G("icon",L.faLock),e.R7$(6),e.R50("ngModel",L.currPassword),e.R7$(),e.Y8G("ngIf",!L.currPassword),e.R7$(4),e.R50("ngModel",L.newPassword),e.R7$(),e.Y8G("ngIf",L.matchOldAndNewPasswords()),e.R7$(4),e.R50("ngModel",L.confirmPassword),e.R7$(),e.Y8G("ngIf",L.matchNewPasswords())}}let ya=(()=>{var z;class F{constructor(H,Y,ie,et,Bt){this.logger=H,this.store=Y,this.actions=ie,this.router=et,this.sessionService=Bt,this.faInfoCircle=Mn.iW_,this.faUserLock=Mn.aAJ,this.faUserClock=Mn.ld_,this.faLock=Mn.DW4,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new hn.B,new hn.B,new hn.B]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Va.qv).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{this.appConfig=H,this.logger.info(this.appConfig)}),this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[1])).subscribe(H=>{this.selNode=H}),this.actions.pipe((0,wn.Q)(this.unSubs[2]),(0,cr.p)(H=>H.type===ot.aU.RESET_PASSWORD_RES)).subscribe(H=>{if(ot.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||ot.Ah.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Nn.xw)({payload:{currPassword:Ar(this.currPassword).toString(),newPassword:Ar(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let H=!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.",H=!0):ot.Ah.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=ot.Ah?.reduce((Y,ie,et)=>et<ot.Ah.length-1?Y+ie+'" / "':Y+ie+'".','Password cannot be "'),H=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",H=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",H=!0)),H}matchNewPasswords(){let H=!1;return this.form&&this.form.controls&&this.form.controls.confirmpassword&&(this.confirmPassword?""!==this.newPassword&&""!==this.confirmPassword&&this.newPassword!==this.confirmPassword?(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="New and confirm passwords do not match.",H=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",H=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",H=!0)),H}on2FAuth(){this.store.dispatch((0,Nn.xO)({payload:{data:{appConfig:this.appConfig,component:si}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Nn.Qi)({payload:{uiMessage:ot.MZ.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(H=>{H.next(),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qi.il),e.rXU(Fo.En),e.rXU(Ja.Ix),e.rXU(Ti.Q))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-auth-settings"]],viewQuery:function(Y,ie){if(1&Y&&e.GBs($i,5),2&Y){let et;e.mGM(et=e.lsd())&&(ie.form=et.first)}},standalone:!1,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(Y,ie){1&Y&&(e.j41(0,"div",1),e.DNE(1,va,26,7,"form",2),e.nrm(2,"mat-divider",3),e.j41(3,"div",4)(4,"div",5),e.nrm(5,"fa-icon",6),e.j41(6,"span",7),e.EFF(7,"Two Factor Authentication"),e.k0s()(),e.j41(8,"div",8),e.nrm(9,"fa-icon",9),e.j41(10,"span"),e.EFF(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),e.k0s()(),e.j41(12,"div",10)(13,"button",11),e.bIt("click",function(){return ie.on2FAuth()}),e.EFF(14),e.k0s()()()()),2&Y&&(e.R7$(),e.Y8G("ngIf",null==ie.appConfig?null:ie.appConfig.allowPasswordUpdate),e.R7$(4),e.Y8G("icon",ie.faUserClock),e.R7$(4),e.Y8G("icon",ie.faInfoCircle),e.R7$(5),e.JRh(ie.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[c.bT,cn.qT,cn.me,cn.BC,cn.cb,cn.YS,cn.vS,cn.cV,Tr.aY,Hr.$z,fo.fg,ra.rl,ra.nJ,ra.TL,Ni.q,bn.DJ,bn.sA,bn.UI,Pi.N],encapsulation:2}))}return z(),F})();var _r=l(3902);function br(z,F){1&z&&e.nrm(0,"mat-divider",7)}function Ls(z,F){if(1&z&&(e.j41(0,"div",4)(1,"pre",5),e.EFF(2),e.nI1(3,"json"),e.k0s(),e.DNE(4,br,1,0,"mat-divider",6),e.k0s()),2&z){const L=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,L.configData)),e.R7$(2),e.Y8G("ngIf",""!==L.configData)}}function ns(z,F){if(1&z&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.JRh(L)}}function Js(z,F){if(1&z&&(e.j41(0,"h4",14),e.EFF(1),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.JRh(L)}}function mo(z,F){1&z&&e.nrm(0,"mat-divider",15),2&z&&e.Y8G("inset",!0)}function Ko(z,F){if(1&z&&(e.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),e.DNE(2,ns,2,1,"h2",10),e.k0s(),e.j41(3,"mat-card-subtitle",11),e.DNE(4,Js,2,1,"h4",12),e.k0s(),e.DNE(5,mo,1,1,"mat-divider",13),e.k0s()),2&z){const L=F.$implicit;e.R7$(2),e.Y8G("ngIf",L.indexOf("[")>=0),e.R7$(2),e.Y8G("ngIf",L.indexOf("[")<0),e.R7$(),e.Y8G("ngIf",L.indexOf("[")<0)}}function ps(z,F){if(1&z&&(e.j41(0,"div",8)(1,"mat-list"),e.DNE(2,Ko,6,3,"mat-list-item",9),e.k0s()()),2&z){const L=e.XpG();e.R7$(2),e.Y8G("ngForOf",L.configData)}}let Jl=(()=>{var z;class F{constructor(H,Y,ie){this.store=H,this.rtlEffects=Y,this.router=ie,this.configData="",this.fileFormat="INI",this.faCog=Mn.dB,this.unSubs=[new hn.B,new hn.B]}ngOnInit(){this.store.dispatch((0,Nn.Dz)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,wn.Q)(this.unSubs[1])).subscribe(H=>{const Y=H.data;this.fileFormat=H.format,this.configData=""===Y||!Y||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==Y&&Y&&"JSON"===this.fileFormat?Y:"":Y.split("\n")})}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(qi.il),e.rXU(ms.H),e.rXU(Ja.Ix))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-bitcoin-config"]],standalone:!1,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(Y,ie){1&Y&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,Ls,5,4,"div",2)(3,ps,3,1,"div",3),e.k0s()()),2&Y&&(e.R7$(2),e.Y8G("ngIf",""!==ie.configData&&"JSON"===ie.fileFormat),e.R7$(),e.Y8G("ngIf",""!==ie.configData&&("INI"===ie.fileFormat||"HOCON"===ie.fileFormat)))},dependencies:[c.Sq,c.bT,Ea.Lc,_r.jt,_r.YE,Ni.q,bn.DJ,bn.sA,bn.UI,c.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return z(),F})();function x2(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}let yc=(()=>{var z;class F{constructor(H,Y,ie){this.dialogRef=H,this.store=Y,this.rtlEffects=ie,this.password="",this.isAuthenticated=!1,this.unSubs=[new hn.B,new hn.B]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,js.s)(1)).subscribe(H=>{"ERROR"!==H?(this.isAuthenticated=!0,this.store.dispatch((0,Nn.R$)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Nn.oz)({payload:Ar(this.password)}))}onClose(){this.store.dispatch((0,Nn.R$)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU($a.CP),e.rXU(qi.il),e.rXU(ms.H))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-is-authorized"]],standalone:!1,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(Y,ie){1&Y&&(e.j41(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e.EFF(5,"Authenticate with your RTL Password"),e.k0s()(),e.j41(6,"button",5),e.bIt("click",function(){return ie.onClose()}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),e.EFF(12,"Password"),e.k0s(),e.j41(13,"input",8),e.mxI("ngModelChange",function(Bt){return e.DH7(ie.password,Bt)||(ie.password=Bt),Bt}),e.k0s(),e.DNE(14,x2,2,0,"mat-error",9),e.k0s(),e.j41(15,"div",10)(16,"button",11),e.bIt("click",function(){return ie.onAuthenticate()}),e.EFF(17,"Confirm"),e.k0s()()()()()()),2&Y&&(e.R7$(13),e.R50("ngModel",ie.password),e.R7$(),e.Y8G("ngIf",!ie.password))},dependencies:[c.bT,cn.qT,cn.me,cn.BC,cn.cb,cn.YS,cn.vS,cn.cV,Hr.$z,Ea.m2,Ea.MM,fo.fg,ra.rl,ra.nJ,ra.TL,bn.DJ,bn.sA,bn.UI,Pi.N],encapsulation:2}))}return z(),F})();const Zu=()=>({initial:!1});function ql(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",13),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.activeLink=Y.links[2].link)}),e.EFF(1),e.k0s()}if(2&z){const L=e.XpG();e.Y8G("routerLink",e.mNQ(L.links[2].link))("active",L.activeLink===L.links[2].link)("state",e.lJ4(5,Zu)),e.R7$(),e.JRh(L.links[2].name)}}function C2(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",14),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.activeLink=Y.links[3].link)}),e.EFF(1),e.k0s()}if(2&z){const L=e.XpG();e.Y8G("routerLink",e.mNQ(L.links[3].link))("active",L.activeLink===L.links[3].link),e.R7$(),e.JRh(L.links[3].name)}}function Bl(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",15),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.showLnConfigClicked())}),e.EFF(1),e.k0s()}if(2&z){const L=e.XpG();e.Y8G("active",L.activeLink===L.links[4].link),e.R7$(),e.JRh(L.links[4].name)}}let m4=(()=>{var z;class F{constructor(H,Y,ie,et){this.store=H,this.router=Y,this.rtlEffects=ie,this.activatedRoute=et,this.faTools=Mn.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 hn.B,new hn.B,new hn.B,new hn.B,new hn.B]}ngOnInit(){const H=this.links.find(Y=>this.router.url.includes(Y.link));this.activeLink=H?H.link:this.links[0].link,this.router.events.pipe((0,wn.Q)(this.unSubs[0]),(0,cr.p)(Y=>Y instanceof Ja.gx)).subscribe({next:Y=>{const ie=this.links.find(et=>Y.urlAfterRedirects.includes(et.link));this.activeLink=ie?ie.link:this.links[0].link}}),this.store.select(Va.qv).pipe((0,wn.Q)(this.unSubs[1])).subscribe(Y=>{this.appConfig=Y}),this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[2])).subscribe(Y=>{switch(this.showLnConfig=!1,this.selNode=Y,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,Nn.xO)({payload:{maxWidth:"50rem",data:{component:yc}}})),this.rtlEffects.closeAlert.pipe((0,wn.Q)(this.unSubs[3])).subscribe(H=>{H&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(qi.il),e.rXU(Ja.Ix),e.rXU(ms.H),e.rXU(Ja.nX))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-node-config"]],standalone:!1,decls:19,vars:13,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","routerLink","active"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","state","click",4,"ngIf"],["tabindex","4","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","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","routerLink","active","state"],["tabindex","4","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","5","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","active"]],template:function(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3,"Node Config"),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6)(8,"div",7),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.activeLink=ie.links[0].link)}),e.EFF(9),e.k0s(),e.j41(10,"div",8),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.activeLink=ie.links[1].link)}),e.EFF(11),e.k0s(),e.DNE(12,ql,2,6,"div",9)(13,C2,2,4,"div",10)(14,Bl,2,2,"div",11),e.k0s(),e.nrm(15,"mat-tab-nav-panel",null,0),e.j41(17,"div",12),e.nrm(18,"router-outlet"),e.k0s()()()()}if(2&Y){const et=e.sdS(16);e.R7$(),e.Y8G("icon",ie.faTools),e.R7$(6),e.Y8G("tabPanel",et),e.R7$(),e.Y8G("routerLink",e.mNQ(ie.links[0].link))("active",ie.activeLink===ie.links[0].link),e.R7$(),e.JRh(ie.links[0].name),e.R7$(),e.Y8G("routerLink",e.mNQ(ie.links[1].link))("active",ie.activeLink===ie.links[1].link),e.R7$(),e.JRh(ie.links[1].name),e.R7$(),e.Y8G("ngIf","ECL"!==(null==ie.selNode||null==ie.selNode.lnImplementation?null:ie.selNode.lnImplementation.toUpperCase())),e.R7$(),e.Y8G("ngIf","CLN"===(null==ie.selNode||null==ie.selNode.lnImplementation?null:ie.selNode.lnImplementation.toUpperCase())),e.R7$(),e.Y8G("ngIf",ie.showLnConfig)}},dependencies:[c.bT,Tr.aY,Ea.RN,Ea.m2,bn.DJ,bn.sA,bn.UI,Dr.Bu,Dr.hQ,Dr.Ql,Ja.n3,Wo.Wk],encapsulation:2}))}return z(),F})();function M2(z,F){1&z&&e.nrm(0,"mat-divider",7)}function $1(z,F){if(1&z&&(e.j41(0,"div",4)(1,"pre",5),e.EFF(2),e.nI1(3,"json"),e.k0s(),e.DNE(4,M2,1,0,"mat-divider",6),e.k0s()),2&z){const L=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,L.configData)),e.R7$(2),e.Y8G("ngIf",""!==L.configData)}}function p4(z,F){if(1&z&&(e.j41(0,"h2"),e.EFF(1),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.JRh(L)}}function Z1(z,F){if(1&z&&(e.j41(0,"h4",14),e.EFF(1),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.JRh(L)}}function Ju(z,F){1&z&&e.nrm(0,"mat-divider",15),2&z&&e.Y8G("inset",!0)}function J1(z,F){if(1&z&&(e.j41(0,"mat-list-item")(1,"mat-card-subtitle",7),e.DNE(2,p4,2,1,"h2",10),e.k0s(),e.j41(3,"mat-card-subtitle",11),e.DNE(4,Z1,2,1,"h4",12),e.k0s(),e.DNE(5,Ju,1,1,"mat-divider",13),e.k0s()),2&z){const L=F.$implicit;e.R7$(2),e.Y8G("ngIf",L.indexOf("[")>=0),e.R7$(2),e.Y8G("ngIf",L.indexOf("[")<0),e.R7$(),e.Y8G("ngIf",L.indexOf("[")<0)}}function Ao(z,F){if(1&z&&(e.j41(0,"div",8)(1,"mat-list"),e.DNE(2,J1,6,3,"mat-list-item",9),e.k0s()()),2&z){const L=e.XpG();e.R7$(2),e.Y8G("ngForOf",L.configData)}}let md=(()=>{var z;class F{constructor(H,Y,ie){this.store=H,this.rtlEffects=Y,this.router=ie,this.configData="",this.fileFormat="INI",this.faCog=Mn.dB,this.unSubs=[new hn.B,new hn.B]}ngOnInit(){this.store.dispatch((0,Nn.Dz)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,wn.Q)(this.unSubs[1])).subscribe(H=>{const Y=H.data;this.fileFormat=H.format,this.configData=""===Y||!Y||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==Y&&Y&&"JSON"===this.fileFormat?Y:"":Y.split("\n")})}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(qi.il),e.rXU(ms.H),e.rXU(Ja.Ix))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-lnp-config"]],standalone:!1,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(Y,ie){1&Y&&(e.j41(0,"div",0)(1,"div",1),e.DNE(2,$1,5,4,"div",2)(3,Ao,3,1,"div",3),e.k0s()()),2&Y&&(e.R7$(2),e.Y8G("ngIf",""!==ie.configData&&"JSON"===ie.fileFormat),e.R7$(),e.Y8G("ngIf",""!==ie.configData&&("INI"===ie.fileFormat||"HOCON"===ie.fileFormat)))},dependencies:[c.Sq,c.bT,Ea.Lc,_r.jt,_r.YE,Ni.q,bn.DJ,bn.sA,bn.UI,c.TG],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return z(),F})();var qs=l(82571),Lr=l(9454),Jr=l(5951),Lo=l(16038),pd=l(30450);const Na=z=>({skin:!0,"selected-color":z});function qu(z,F){if(1&z&&(e.j41(0,"span",41),e.nrm(1,"fa-icon",42),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.Y8G("icon",L.symbol)}}function gd(z,F){if(1&z&&(e.j41(0,"span",41),e.nrm(1,"span",43),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.Y8G("innerHTML",L.symbol,e.npT)}}function ec(z,F){if(1&z&&(e.j41(0,"mat-option",39),e.DNE(1,qu,2,1,"span",40)(2,gd,2,1,"span",40),e.EFF(3),e.k0s()),2&z){const L=F.$implicit;e.Y8G("value",L.id),e.R7$(),e.Y8G("ngIf",L&&"FA"===L.iconType),e.R7$(),e.Y8G("ngIf",L&&"SVG"===L.iconType),e.R7$(),e.Lme(" ",L.name," (",L.id,") ")}}function qa(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Currency unit is required."),e.k0s())}function q1(z,F){if(1&z&&(e.j41(0,"mat-radio-button",44),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&z){const L=F.$implicit,H=e.XpG();e.Y8G("value",L)("checked",H.selNode.settings.userPersona===L),e.R7$(),e.SpI(" ",e.bMT(2,3,L)," ")}}function E2(z,F){if(1&z&&(e.j41(0,"mat-radio-button",45),e.EFF(1),e.k0s()),2&z){const L=F.$implicit;e.Y8G("value",L),e.R7$(),e.SpI("",L.name," ")}}function e0(z,F){if(1&z){const L=e.RV6();e.j41(0,"span",46)(1,"div",47),e.nI1(2,"lowercase"),e.bIt("click",function(){const Y=p.eBV(L).$implicit,ie=e.XpG();return p.Njj(ie.changeThemeColor(Y.id))}),e.k0s(),e.EFF(3),e.k0s()}if(2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.HbH(e.bMT(2,4,L.id)),e.Y8G("ngClass",e.eq3(6,Na,H.selectedThemeColor===L.id)),e.R7$(2),e.SpI(" ",L.name," ")}}let e1=(()=>{var z;class F{constructor(H,Y,ie,et){this.logger=H,this.commonService=Y,this.store=ie,this.sanitizer=et,this.faBarsStaggered=Mn.o97,this.faExclamationTriangle=Mn.zpE,this.faMoneyBillAlt=Mn.iy8,this.faPaintBrush=Mn._eQ,this.faInfoCircle=Mn.iW_,this.faEyeSlash=Mn.k6j,this.userPersonas=[ot.HW.OPERATOR,ot.HW.MERCHANT],this.currencyUnits=ot.Zi,this.themeModes=ot.Bv.modes,this.themeColors=ot.Bv.themes,this.selectedThemeMode=ot.Bv.modes[0],this.selectedThemeColor=ot.Bv.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=ot.f7,this.unSubs=[new hn.B,new hn.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.currencyUnits.map(H=>("SVG"===H.iconType&&"string"==typeof H.symbol&&(H.symbol=H.symbol.replace('<svg class="currency-icon" ','<svg class="currency-icon '+H.class+'"'),H.symbol=this.sanitizer.bypassSecurityTrustHtml(H.symbol)),H)),this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{this.selNode=JSON.parse(JSON.stringify(H)),this.selectedThemeMode=this.themeModes.find(Y=>this.selNode.settings.themeMode===Y.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(H)})}toggleSettings(H,Y){this.selNode.settings[H]=!this.selNode.settings[H]}changeThemeColor(H){this.selectedThemeColor=H,this.selNode.settings.themeColor=H}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onFiatConversionChange(H){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,Nn.T$)({payload:this.selNode}))}onResetSettings(){const H=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(Y=>Y.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Nn.Qi)({payload:{uiMessage:ot.MZ.NO_SPINNER,prevLnNodeIndex:+H,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qs.h),e.rXU(qi.il),e.rXU(b.up))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-node-settings"]],standalone:!1,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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",2)(1,"form",3,0)(3,"mat-accordion",4)(4,"mat-expansion-panel",5)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),e.nrm(7,"fa-icon",6),e.j41(8,"span",7),e.EFF(9,"Block Explorer"),e.k0s()()(),e.j41(10,"div",8)(11,"div",9),e.nrm(12,"fa-icon",10),e.j41(13,"span"),e.EFF(14,"Configure your own blockchain explorer url or "),e.j41(15,"strong")(16,"a",11),e.EFF(17,"mempool.space"),e.k0s()(),e.EFF(18," will be used."),e.k0s()(),e.j41(19,"div",12)(20,"mat-form-field",13)(21,"mat-label"),e.EFF(22,"Block Explorer URL"),e.k0s(),e.j41(23,"input",14),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selNode.settings.blockExplorerUrl,$t)||(ie.selNode.settings.blockExplorerUrl=$t),p.Njj($t)}),e.k0s(),e.j41(24,"mat-hint"),e.EFF(25,"Blockchain explorer URL, eg. https://mempool.space or https://blockstream.info"),e.k0s()()()()(),e.j41(26,"mat-expansion-panel",5)(27,"mat-expansion-panel-header")(28,"mat-panel-title"),e.nrm(29,"fa-icon",6),e.j41(30,"span",7),e.EFF(31,"Open Unannounced Channels"),e.k0s()()(),e.j41(32,"div",8)(33,"div",15),e.nrm(34,"fa-icon",10),e.j41(35,"span"),e.EFF(36,"Use this control to toggle setting which defaults to opening unannounced channels only."),e.k0s()(),e.j41(37,"div",12)(38,"mat-slide-toggle",16),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selNode.settings.unannouncedChannels,$t)||(ie.selNode.settings.unannouncedChannels=$t),p.Njj($t)}),e.bIt("change",function(){return p.eBV(et),p.Njj(!ie.selNode.settings.unannouncedChannels)}),e.EFF(39,"Open Unannounced Channels"),e.k0s()()()(),e.j41(40,"mat-expansion-panel",5)(41,"mat-expansion-panel-header")(42,"mat-panel-title"),e.nrm(43,"fa-icon",6),e.j41(44,"span",7),e.EFF(45,"Balance Display"),e.k0s()()(),e.j41(46,"div",8)(47,"div",9),e.nrm(48,"fa-icon",10),e.j41(49,"span"),e.EFF(50,"Fiat conversion calls "),e.j41(51,"strong")(52,"a",17),e.EFF(53,"Blockchain.com"),e.k0s()(),e.EFF(54," API to get conversion rates."),e.k0s()(),e.j41(55,"div",12)(56,"mat-slide-toggle",18),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selNode.settings.fiatConversion,$t)||(ie.selNode.settings.fiatConversion=$t),p.Njj($t)}),e.bIt("change",function($t){return p.eBV(et),p.Njj(ie.onFiatConversionChange($t))}),e.EFF(57,"Enable Fiat Conversion"),e.k0s(),e.j41(58,"mat-form-field",19)(59,"mat-label"),e.EFF(60,"Fiat Currency"),e.k0s(),e.j41(61,"mat-select",20,1),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selNode.settings.currencyUnit,$t)||(ie.selNode.settings.currencyUnit=$t),p.Njj($t)}),e.DNE(63,ec,4,5,"mat-option",21),e.k0s(),e.DNE(64,qa,2,0,"mat-error",22),e.k0s()()()(),e.j41(65,"mat-expansion-panel",5)(66,"mat-expansion-panel-header")(67,"mat-panel-title"),e.nrm(68,"fa-icon",6),e.j41(69,"span",7),e.EFF(70,"Customization"),e.k0s()()(),e.j41(71,"div",8)(72,"div",23),e.nrm(73,"fa-icon",10),e.j41(74,"span"),e.EFF(75,"Dashboard layout will be tailored based on the role selected to better serve its needs."),e.k0s()(),e.j41(76,"div",24)(77,"h4"),e.EFF(78,"Dashboard Layout"),e.k0s(),e.j41(79,"mat-radio-group",25),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selNode.settings.userPersona,$t)||(ie.selNode.settings.userPersona=$t),p.Njj($t)}),e.DNE(80,q1,3,5,"mat-radio-button",26),e.k0s()(),e.nrm(81,"mat-divider",27),e.j41(82,"div",28)(83,"h4"),e.EFF(84,"Mode"),e.k0s(),e.j41(85,"mat-radio-group",29),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selectedThemeMode,$t)||(ie.selectedThemeMode=$t),p.Njj($t)}),e.bIt("change",function(){return p.eBV(et),p.Njj(ie.chooseThemeMode())}),e.DNE(86,E2,2,2,"mat-radio-button",30),e.k0s()(),e.nrm(87,"mat-divider",27),e.j41(88,"div",31)(89,"div",32)(90,"h4"),e.EFF(91,"Themes"),e.k0s(),e.j41(92,"div",33),e.DNE(93,e0,4,8,"span",34),e.k0s()()()()()()(),e.j41(94,"div",35)(95,"div",36)(96,"button",37),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onResetSettings())}),e.EFF(97,"Reset"),e.k0s(),e.j41(98,"button",38),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onUpdateNodeSettings())}),e.EFF(99,"Update"),e.k0s()()()()}2&Y&&(e.R7$(7),e.Y8G("icon",ie.faBarsStaggered),e.R7$(5),e.Y8G("icon",ie.faExclamationTriangle),e.R7$(11),e.R50("ngModel",ie.selNode.settings.blockExplorerUrl),e.R7$(6),e.Y8G("icon",ie.faEyeSlash),e.R7$(5),e.Y8G("icon",ie.faInfoCircle),e.R7$(4),e.R50("ngModel",ie.selNode.settings.unannouncedChannels),e.R7$(5),e.Y8G("icon",ie.faMoneyBillAlt),e.R7$(5),e.Y8G("icon",ie.faExclamationTriangle),e.R7$(8),e.R50("ngModel",ie.selNode.settings.fiatConversion),e.R7$(5),e.Y8G("disabled",!ie.selNode.settings.fiatConversion)("required",ie.selNode.settings.fiatConversion),e.R50("ngModel",ie.selNode.settings.currencyUnit),e.R7$(2),e.Y8G("ngForOf",ie.currencyUnits),e.R7$(),e.Y8G("ngIf",ie.selNode.settings.fiatConversion&&!ie.selNode.settings.currencyUnit),e.R7$(4),e.Y8G("icon",ie.faPaintBrush),e.R7$(5),e.Y8G("icon",ie.faInfoCircle),e.R7$(6),e.R50("ngModel",ie.selNode.settings.userPersona),e.R7$(),e.Y8G("ngForOf",ie.userPersonas),e.R7$(5),e.R50("ngModel",ie.selectedThemeMode),e.R7$(),e.Y8G("ngForOf",ie.themeModes),e.R7$(7),e.Y8G("ngForOf",ie.themeColors))},dependencies:[c.YU,c.Sq,c.bT,cn.qT,cn.me,cn.BC,cn.cb,cn.YS,cn.vS,cn.cV,Tr.aY,Hr.$z,Lr.BS,Lr.GK,Lr.Z2,Lr.WN,fo.fg,ra.rl,ra.nJ,ra.MV,ra.TL,Ni.q,Jr.VT,Jr._g,bn.DJ,bn.sA,bn.UI,Lo.PW,De.VO,pt.wT,pd.sG,Yt.Ld,Pi.N,c.GH,c.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 z(),F})();var zl=l(59584),_d=l(63536),Ir=l(28430),nr=l(190),w2=l(72730),Or=l(95428),vd=l(22598),tc=l(12629),Xc=l(40455),t1=l(52929);const t0=z=>({error:z}),n1=z=>({"error-border":z}),eh=z=>({"ml-minus-1":z}),n0=z=>({"error-border p-2":z});function Kc(z,F){if(1&z&&e.eu8(0,14),2&z){const L=e.XpG(),H=e.sdS(18);e.Y8G("ngTemplateOutlet",H)("ngTemplateOutletContext",e.eq3(2,t0,L.errorMessage))}}function a1(z,F){if(1&z&&(e.j41(0,"mat-option",31),e.EFF(1),e.k0s()),2&z){const L=F.$implicit;e.Y8G("value",L),e.R7$(),e.SpI(" ",L," ")}}function S2(z,F){if(1&z&&(e.j41(0,"mat-option",31),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&z){const L=F.$implicit,H=e.XpG(3);e.Y8G("value",L),e.R7$(),e.SpI(" ","ECL"===H.selNode.lnImplementation?e.bMT(2,2,L):e.i5U(3,4,L,"_")," ")}}function T2(z,F){if(1&z&&(e.j41(0,"mat-option",31),e.EFF(1),e.k0s()),2&z){const L=F.$implicit;e.Y8G("value",L),e.R7$(),e.SpI(" ","desc"===L?"Descending":"Ascending"," ")}}function r1(z,F){if(1&z&&(e.j41(0,"mat-option",34),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&z){const L=F.$implicit,H=e.XpG(2).$implicit,Y=e.XpG(2);e.Y8G("value",L.column)("disabled",H.columnSelection.length<=2&&H.columnSelection.includes(L.column)),e.R7$(),e.SpI(" ",L.label?L.label:"ECL"===Y.selNode.lnImplementation?e.bMT(2,3,L.column):e.i5U(3,5,L.column,"_")," ")}}function Yc(z,F){if(1&z){const L=e.RV6();e.j41(0,"mat-form-field",32)(1,"mat-label"),e.EFF(2,"Column selection (Desktop Resolution)"),e.k0s(),e.j41(3,"mat-select",33),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG().$implicit;return e.DH7(ie.columnSelection,Y)||(ie.columnSelection=Y),p.Njj(Y)}),e.bIt("selectionChange",function(){p.eBV(L);const Y=e.XpG().$implicit,ie=e.XpG(2);return p.Njj(ie.oncolumnSelectionChange(Y))}),e.DNE(4,r1,4,8,"mat-option",28),e.k0s()()}if(2&z){const L=e.XpG().$implicit,H=e.XpG().$implicit,Y=e.XpG();e.R7$(3),e.Y8G("name",e.ai1("",H.pageId,"",L.tableId,"-columns-selection")),e.R50("ngModel",L.columnSelection),e.R7$(),e.Y8G("ngForOf",Y.nodePageDefs[H.pageId][L.tableId].allowedColumns)}}function s1(z,F){if(1&z&&(e.j41(0,"mat-option",34),e.EFF(1),e.nI1(2,"camelCaseWithSpaces"),e.nI1(3,"camelcaseWithReplace"),e.k0s()),2&z){const L=F.$implicit,H=e.XpG().$implicit,Y=e.XpG(2);e.Y8G("value",L.column)("disabled",H.columnSelectionSM.length<=1&&H.columnSelectionSM.includes(L.column)||H.columnSelectionSM.length>=3&&!H.columnSelectionSM.includes(L.column)),e.R7$(),e.SpI(" ",L.label?L.label:"ECL"===Y.selNode.lnImplementation?e.bMT(2,3,L.column):e.i5U(3,5,L.column,"_")," ")}}function a0(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",17)(1,"div",18)(2,"span",19),e.EFF(3),e.nI1(4,"camelcaseWithReplace"),e.k0s(),e.j41(5,"mat-form-field",20)(6,"mat-label"),e.EFF(7,"Records/Page"),e.k0s(),e.j41(8,"mat-select",21),e.mxI("ngModelChange",function(Y){const ie=p.eBV(L).$implicit;return e.DH7(ie.recordsPerPage,Y)||(ie.recordsPerPage=Y),p.Njj(Y)}),e.DNE(9,a1,2,2,"mat-option",22),e.k0s()(),e.j41(10,"mat-form-field",20)(11,"mat-label"),e.EFF(12,"Sort By"),e.k0s(),e.j41(13,"mat-select",23),e.mxI("ngModelChange",function(Y){const ie=p.eBV(L).$implicit;return e.DH7(ie.sortBy,Y)||(ie.sortBy=Y),p.Njj(Y)}),e.DNE(14,S2,4,7,"mat-option",22),e.k0s()(),e.j41(15,"mat-form-field",20)(16,"mat-label"),e.EFF(17,"Sort Order"),e.k0s(),e.j41(18,"mat-select",24),e.mxI("ngModelChange",function(Y){const ie=p.eBV(L).$implicit;return e.DH7(ie.sortOrder,Y)||(ie.sortOrder=Y),p.Njj(Y)}),e.DNE(19,T2,2,2,"mat-option",22),e.k0s()(),e.DNE(20,Yc,5,5,"mat-form-field",25),e.j41(21,"mat-form-field",26)(22,"mat-label"),e.EFF(23,"Column Selection (Mobile Resolution)"),e.k0s(),e.j41(24,"mat-select",27),e.mxI("ngModelChange",function(Y){const ie=p.eBV(L).$implicit;return e.DH7(ie.columnSelectionSM,Y)||(ie.columnSelectionSM=Y),p.Njj(Y)}),e.DNE(25,s1,4,8,"mat-option",28),e.k0s()(),e.j41(26,"button",29),e.bIt("click",function(){const Y=p.eBV(L).$implicit,ie=e.XpG().$implicit,et=e.XpG();return p.Njj(et.onTableReset(ie.pageId,Y))}),e.j41(27,"mat-icon",30),e.EFF(28,"restore"),e.k0s()()()()}if(2&z){const L=F.$implicit,H=e.XpG().$implicit,Y=e.XpG();e.R7$(3),e.SpI("",e.i5U(4,24,L.tableId,"_"),":"),e.R7$(5),e.Y8G("name",e.ai1("",H.pageId,"",L.tableId,"-page-size-options"))("disabled",Y.nodePageDefs[H.pageId][L.tableId].disablePageSize),e.R50("ngModel",L.recordsPerPage),e.R7$(),e.Y8G("ngForOf",Y.pageSizeOptions),e.R7$(4),e.Y8G("name",e.ai1("",H.pageId,"",L.tableId,"-sort-by")),e.R50("ngModel",L.sortBy),e.R7$(),e.Y8G("ngForOf",L.columnSelection),e.R7$(4),e.Y8G("name",e.ai1("",H.pageId,"",L.tableId,"-sort-order")),e.R50("ngModel",L.sortOrder),e.R7$(),e.Y8G("ngForOf",Y.sortOrders),e.R7$(),e.Y8G("ngIf",Y.screenSize!==Y.screenSizeEnum.XS),e.R7$(4),e.Y8G("name",e.ai1("",H.pageId,"",L.tableId,"-columns-selection-sm")),e.R50("ngModel",L.columnSelectionSM),e.R7$(),e.Y8G("ngForOf",Y.nodePageDefs[H.pageId][L.tableId].allowedColumns),e.R7$(2),e.Y8G("ngClass",e.eq3(27,eh,Y.screenSize===Y.screenSizeEnum.XS||Y.screenSize===Y.screenSizeEnum.SM))}}function o1(z,F){if(1&z&&e.eu8(0,14),2&z){const L=e.XpG(2),H=e.sdS(18);e.Y8G("ngTemplateOutlet",H)("ngTemplateOutletContext",e.eq3(2,t0,L.errorMessage))}}function th(z,F){if(1&z&&(e.j41(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e.EFF(3),e.nI1(4,"camelcaseWithReplace"),e.k0s()(),e.DNE(5,a0,29,29,"div",16)(6,o1,1,4,"ng-container",7),e.k0s()),2&z){const L=F.$implicit,H=e.XpG();e.Y8G("ngClass",e.eq3(7,n1,(null==H.errorMessage?null:H.errorMessage.page)===L.pageId)),e.R7$(3),e.JRh(e.i5U(4,4,L.pageId,"_")),e.R7$(2),e.Y8G("ngForOf",L.tables),e.R7$(),e.Y8G("ngIf",H.errorMessage&&(null==H.errorMessage?null:H.errorMessage.page)===L.pageId)}}function yd(z,F){if(1&z&&(e.j41(0,"mat-panel-title"),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&z){const L=e.XpG().error;e.R7$(),e.SpI("Page ",e.bMT(2,1,L.page))}}function Qc(z,F){if(1&z&&(e.j41(0,"mat-list-item")(1,"mat-icon",39),e.EFF(2,"close"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.k0s()()),2&z){const L=e.XpG().error;e.R7$(4),e.JRh(L.message)}}function D2(z,F){if(1&z&&(e.j41(0,"mat-list-item")(1,"mat-icon",39),e.EFF(2,"close"),e.k0s(),e.j41(3,"span"),e.EFF(4),e.nI1(5,"titlecase"),e.k0s()()),2&z){const L=F.$implicit;e.R7$(4),e.Lme("Table ",e.bMT(5,2,L.table)," ",L.message)}}function A2(z,F){if(1&z&&(e.j41(0,"div",35),e.DNE(1,yd,3,3,"mat-panel-title",36),e.j41(2,"mat-list",37),e.DNE(3,Qc,5,1,"mat-list-item",36)(4,D2,6,4,"mat-list-item",38),e.k0s()()),2&z){const L=F.error,H=e.XpG();e.Y8G("ngClass",e.eq3(4,n0,"unknown"===H.errorMessage.page)),e.R7$(),e.Y8G("ngIf","unknown"===H.errorMessage.page),e.R7$(2),e.Y8G("ngIf",L.message),e.R7$(),e.Y8G("ngForOf",L.tables)}}let L2=(()=>{var z;class F{constructor(H,Y,ie,et){this.logger=H,this.commonService=Y,this.store=ie,this.actions=et,this.faPenRuler=Mn.$$g,this.faExclamationTriangle=Mn.zpE,this.screenSize="",this.screenSizeEnum=ot.f7,this.pageSizeOptions=ot.xp,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=ot.jG,this.apiCallStatus=null,this.apiCallStatusEnum=ot.wn,this.errorMessage=null,this.unSubs=[new hn.B,new hn.B,new hn.B,new hn.B],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{switch(this.selNode=H,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],ot.mu),this.defaultSettings=Object.assign([],ot.mu),this.nodePageDefs=ot.Jd,this.store.select(zl.av).pipe((0,wn.Q)(this.unSubs[1]),(0,el.E)(this.store.select(Va._c))).subscribe(([Y,ie])=>{const et=JSON.parse(JSON.stringify(Y.pageSettings));if(this.errorMessage=null,this.apiCallStatus=Y.apiCallStatus,this.apiCallStatus.status===ot.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=et,this.initialPageSettings=et;else{if(!ie?.settings.enableOffers){const Bt=et.find(zi=>"transactions"===zi.pageId),$t=Bt?.tables.findIndex(zi=>"offers"===zi.tableId),Ei=Bt?.tables.findIndex(zi=>"offer_bookmarks"===zi.tableId);$t>-1&&Bt?.tables.splice($t,1),Ei>-1&&Bt?.tables.splice(Ei,1)}if(!ie?.settings.enablePeerswap){const Bt=et.findIndex($t=>"peerswap"===$t.pageId);Bt>-1&&et.splice(Bt,1)}this.pageSettings=et,this.initialPageSettings=et}this.logger.info(et)}),this.actions.pipe((0,wn.Q)(this.unSubs[2]),(0,cr.p)(Y=>Y.type===ot.TC.UPDATE_API_CALL_STATUS_CLN||Y.type===ot.TC.SAVE_PAGE_SETTINGS_CLN)).subscribe(Y=>{Y.type===ot.TC.UPDATE_API_CALL_STATUS_CLN&&Y.payload.status===ot.wn.ERROR&&"SavePageSettings"===Y.payload.action&&(this.errorMessage=JSON.parse(Y.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],ot.X8),this.defaultSettings=Object.assign([],ot.X8),this.nodePageDefs=ot.WW,this.store.select(w2.jZ).pipe((0,wn.Q)(this.unSubs[1])).subscribe(Y=>{const ie=JSON.parse(JSON.stringify(Y.pageSettings));this.errorMessage=null,this.apiCallStatus=Y.apiCallStatus,this.apiCallStatus.status===ot.wn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=ie,this.initialPageSettings=ie):(this.pageSettings=ie,this.initialPageSettings=ie),this.logger.info(ie)}),this.actions.pipe((0,wn.Q)(this.unSubs[2]),(0,cr.p)(Y=>Y.type===ot.Uu.UPDATE_API_CALL_STATUS_ECL||Y.type===ot.Uu.SAVE_PAGE_SETTINGS_ECL)).subscribe(Y=>{Y.type===ot.Uu.UPDATE_API_CALL_STATUS_ECL&&Y.payload.status===ot.wn.ERROR&&"SavePageSettings"===Y.payload.action&&(this.errorMessage=JSON.parse(Y.payload.message))});break;default:this.initialPageSettings=Object.assign([],ot.ZC),this.defaultSettings=Object.assign([],ot.ZC),this.nodePageDefs=ot._1,this.store.select(_d.$G).pipe((0,wn.Q)(this.unSubs[1]),(0,el.E)(this.store.select(Va._c))).subscribe(([Y,ie])=>{const et=JSON.parse(JSON.stringify(Y.pageSettings));if(this.errorMessage=null,this.apiCallStatus=Y.apiCallStatus,this.apiCallStatus.status===ot.wn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=et,this.initialPageSettings=et;else{if(!ie?.settings.swapServerUrl||""===ie.settings.swapServerUrl.trim()){const Bt=et.findIndex($t=>"loop"===$t.pageId);Bt>-1&&et.splice(Bt,1)}if(!ie?.settings.boltzServerUrl||""===ie.settings.boltzServerUrl.trim()){const Bt=et.findIndex($t=>"boltz"===$t.pageId);Bt>-1&&et.splice(Bt,1)}if(!ie?.settings.enablePeerswap){const Bt=et.findIndex($t=>"peerswap"===$t.pageId);Bt>-1&&et.splice(Bt,1)}this.pageSettings=et,this.initialPageSettings=et}this.logger.info(et)}),this.actions.pipe((0,wn.Q)(this.unSubs[2]),(0,cr.p)(Y=>Y.type===ot.QP.UPDATE_API_CALL_STATUS_LND||Y.type===ot.QP.SAVE_PAGE_SETTINGS_LND)).subscribe(Y=>{Y.type===ot.QP.UPDATE_API_CALL_STATUS_LND&&Y.payload.status===ot.wn.ERROR&&"SavePageSettings"===Y.payload.action&&(this.errorMessage=JSON.parse(Y.payload.message))})}})}oncolumnSelectionChange(H){H.columnSelection&&(!H.sortBy||!H.columnSelection.includes(H.sortBy))&&(H.sortBy=H.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((H,Y)=>H||Y.tables.reduce((ie,et)=>!(et.recordsPerPage&&et.sortBy&&et.sortOrder&&et.columnSelection&&et.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,Ir.Sn)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Or.Sn)({payload:this.pageSettings}));break;default:this.store.dispatch((0,nr.Sn)({payload:this.pageSettings}))}}onTableReset(H,Y){const ie=this.pageSettings.findIndex($t=>$t.pageId===H),et=this.pageSettings[ie].tables.findIndex($t=>$t.tableId===Y.tableId),Bt=this.defaultSettings.find($t=>$t.pageId===H)?.tables.find($t=>$t.tableId===Y.tableId)||this.pageSettings.find($t=>$t.pageId===H)?.tables.find($t=>$t.tableId===Y.tableId);this.pageSettings[ie].tables.splice(et,1,Bt)}onResetPageSettings(H){"current"===H?(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(H=>{H.next(),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qs.h),e.rXU(qi.il),e.rXU(Fo.En))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-page-settings"]],standalone:!1,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","name","disabled","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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",2)(1,"form",3,0)(3,"div",4),e.nrm(4,"fa-icon",5),e.j41(5,"span",6),e.EFF(6,"Grid Settings"),e.k0s()(),e.DNE(7,Kc,1,4,"ng-container",7),e.j41(8,"mat-accordion",8),e.DNE(9,th,7,9,"mat-expansion-panel",9),e.k0s()(),e.j41(10,"div",10)(11,"button",11),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onResetPageSettings("current"))}),e.EFF(12,"Reset"),e.k0s(),e.j41(13,"button",12),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onResetPageSettings("default"))}),e.EFF(14,"Reset to Default"),e.k0s(),e.j41(15,"button",13),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onUpdatePageSettings())}),e.EFF(16,"Save"),e.k0s()()(),e.DNE(17,A2,5,6,"ng-template",null,1,e.C5r)}2&Y&&(e.R7$(4),e.Y8G("icon",ie.faPenRuler),e.R7$(3),e.Y8G("ngIf",ie.errorMessage&&"unknown"===ie.errorMessage.page),e.R7$(2),e.Y8G("ngForOf",ie.pageSettings))},dependencies:[c.YU,c.Sq,c.bT,c.T3,cn.qT,cn.BC,cn.cb,cn.YS,cn.vS,cn.cV,Tr.aY,Hr.$z,vd.iY,Lr.BS,Lr.GK,Lr.Z2,Lr.WN,tc.An,ra.rl,ra.nJ,_r.jt,_r.YE,bn.DJ,bn.sA,bn.UI,Lo.PW,De.VO,pt.wT,Xc.oV,Yt.Ld,c.PV,t1.VD,t1.Qu],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]}))}return z(),F})();function I2(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.setActiveLink(Y.links[0].link))}),e.EFF(1),e.k0s()}if(2&z){const L=e.XpG();e.Y8G("routerLink",e.mNQ(L.links[0].link))("active",L.activeLink===L.links[0].link),e.R7$(),e.JRh(L.links[0].name)}}function ih(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",12),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.setActiveLink(Y.links[1].link))}),e.EFF(1),e.k0s()}if(2&z){const L=e.XpG();e.Y8G("routerLink",e.mNQ(L.links[1].link))("active",L.activeLink===L.links[1].link),e.R7$(),e.JRh(L.links[1].name)}}function r0(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",13),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.setActiveLink(Y.links[2].link))}),e.EFF(1),e.k0s()}if(2&z){const L=e.XpG();e.Y8G("routerLink",e.mNQ(L.links[2].link))("active",L.activeLink===L.links[2].link),e.R7$(),e.JRh(L.links[2].name)}}let nh=(()=>{var z;class F{constructor(H,Y,ie){this.store=H,this.router=Y,this.activatedRoute=ie,this.faLayerGroup=Mn.qIE,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"noservice",name:"No Service"}],this.activeLink="",this.unSubs=[new hn.B,new hn.B,new hn.B]}ngOnInit(){this.setActiveLink(),this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[1])).subscribe(H=>{this.selNode=H,this.setActiveLink(),this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})})}setActiveLink(H){if(H&&""!==H)this.activeLink=H;else{const Y=this.links.find(ie=>this.router.url.includes(ie.link));this.activeLink=Y?this.selNode&&"CLN"===this.selNode.lnImplementation?this.links[1].link:Y.link:this.links[this.links.length-1].link}}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(qi.il),e.rXU(Ja.Ix),e.rXU(Ja.nX))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-services-settings"]],standalone:!1,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,"routerLink","active","click",4,"ngIf"],["tabindex","2","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","click",4,"ngIf"],["tabindex","3","role","tab","mat-tab-link","","class","mat-tab-label",3,"routerLink","active","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","routerLink","active"],["tabindex","2","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"],["tabindex","3","role","tab","mat-tab-link","",1,"mat-tab-label",3,"click","routerLink","active"]],template:function(Y,ie){if(1&Y&&(e.j41(0,"div",1)(1,"div",2),e.nrm(2,"fa-icon",3),e.j41(3,"span",4),e.EFF(4,"Services"),e.k0s()()(),e.j41(5,"div",5)(6,"mat-card")(7,"mat-card-content",5)(8,"nav",6),e.DNE(9,I2,2,4,"div",7)(10,ih,2,4,"div",8)(11,r0,2,4,"div",9),e.k0s(),e.nrm(12,"mat-tab-nav-panel",null,0),e.j41(14,"div",10),e.nrm(15,"router-outlet"),e.k0s()()()()),2&Y){const et=e.sdS(13);e.R7$(2),e.Y8G("icon",ie.faLayerGroup),e.R7$(6),e.Y8G("tabPanel",et),e.R7$(),e.Y8G("ngIf","LND"===ie.selNode.lnImplementation),e.R7$(),e.Y8G("ngIf","ECL"!==ie.selNode.lnImplementation),e.R7$(),e.Y8G("ngIf","ECL"===ie.selNode.lnImplementation)}},dependencies:[c.bT,Tr.aY,Ea.RN,Ea.m2,bn.DJ,bn.sA,bn.UI,Dr.Bu,Dr.hQ,Dr.Ql,Ja.n3,Wo.Wk],encapsulation:2}))}return z(),F})();const bc=["form"];function s0(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Loop server URL is required."),e.k0s())}function xc(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Specify the loop server url with 'https://'."),e.k0s())}function k2(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Loop macaroon path is required."),e.k0s())}let Cs=(()=>{var z;class F{constructor(H,Y){this.logger=H,this.store=Y,this.faInfoCircle=Mn.iW_,this.enableLoop=!1,this.unSubs=[new hn.B,new hn.B]}ngOnInit(){this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{this.selNode=H,this.enableLoop=!(!H.settings.swapServerUrl||""===H.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(H)})}onEnableServiceChanged(H){this.enableLoop=H.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,Nn.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(H=>{H.next(),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qi.il))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-loop-service-settings"]],viewQuery:function(Y,ie){if(1&Y&&e.GBs(bc,7),2&Y){let et;e.mGM(et=e.lsd())&&(ie.form=et.first)}},standalone:!1,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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"loopd"),e.k0s(),e.EFF(7," is running and accessible to RTL before enabling this service. Click "),e.j41(8,"strong")(9,"a",5),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about the installation."),e.k0s()(),e.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.enableLoop,$t)||(ie.enableLoop=$t),p.Njj($t)}),e.bIt("change",function($t){return p.eBV(et),p.Njj(ie.onEnableServiceChanged($t))}),e.EFF(16,"Enable Loop Service"),e.k0s(),e.j41(17,"mat-form-field",9)(18,"mat-label"),e.EFF(19,"Loop Server URL"),e.k0s(),e.j41(20,"input",10,1),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selNode.settings.swapServerUrl,$t)||(ie.selNode.settings.swapServerUrl=$t),p.Njj($t)}),e.k0s(),e.j41(22,"mat-hint"),e.EFF(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),e.k0s(),e.DNE(24,s0,2,0,"mat-error",11)(25,xc,2,0,"mat-error",11),e.k0s(),e.j41(26,"mat-form-field")(27,"mat-label"),e.EFF(28,"Loop Macaroon Path"),e.k0s(),e.j41(29,"input",12),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selNode.authentication.swapMacaroonPath,$t)||(ie.selNode.authentication.swapMacaroonPath=$t),p.Njj($t)}),e.k0s(),e.j41(30,"mat-hint"),e.EFF(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),e.k0s(),e.DNE(32,k2,2,0,"mat-error",11),e.k0s()()(),e.j41(33,"div",13)(34,"button",14),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onReset())}),e.EFF(35,"Reset"),e.k0s(),e.j41(36,"button",15),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onUpdateService())}),e.EFF(37,"Update"),e.k0s()()()}if(2&Y){const et=e.sdS(21);e.R7$(2),e.Y8G("icon",ie.faInfoCircle),e.R7$(13),e.R50("ngModel",ie.enableLoop),e.R7$(5),e.Y8G("required",ie.enableLoop)("disabled",!ie.enableLoop),e.R50("ngModel",ie.selNode.settings.swapServerUrl),e.R7$(4),e.Y8G("ngIf",!ie.selNode.settings.swapServerUrl&&ie.enableLoop),e.R7$(),e.Y8G("ngIf",(null==et||null==et.errors?null:et.errors.invalid)&&ie.enableLoop),e.R7$(4),e.Y8G("required",ie.enableLoop)("disabled",!ie.enableLoop),e.R50("ngModel",ie.selNode.authentication.swapMacaroonPath),e.R7$(3),e.Y8G("ngIf",!ie.selNode.authentication.swapMacaroonPath&&ie.enableLoop)}},dependencies:[c.bT,cn.qT,cn.me,cn.BC,cn.cb,cn.YS,cn.vS,cn.cV,Tr.aY,Hr.$z,fo.fg,ra.rl,ra.nJ,ra.MV,ra.TL,bn.DJ,bn.sA,bn.UI,pd.sG,Yt.Ld,Pi.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return z(),F})();const R2=["form"];function O2(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Boltz server URL is required."),e.k0s())}function Sl(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Specify the boltz server url with 'https://'."),e.k0s())}function P2(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Boltz macaroon path is required."),e.k0s())}let F2=(()=>{var z;class F{constructor(H,Y){this.logger=H,this.store=Y,this.faInfoCircle=Mn.iW_,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new hn.B,new hn.B]}ngOnInit(){this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{this.selNode=H,this.enableBoltz=!(!H.settings.boltzServerUrl||""===H.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(H)})}onEnableServiceChanged(H){this.enableBoltz=H.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,Nn.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(H=>{H.next(),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qi.il))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(Y,ie){if(1&Y&&e.GBs(R2,7),2&Y){let et;e.mGM(et=e.lsd())&&(ie.form=et.first)}},standalone:!1,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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"boltzd"),e.k0s(),e.EFF(7," is running and accessible to RTL before enabling this service. Click "),e.j41(8,"strong")(9,"a",5),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about the installation."),e.k0s()(),e.j41(12,"form",6,0)(14,"div",7)(15,"mat-slide-toggle",8),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.enableBoltz,$t)||(ie.enableBoltz=$t),p.Njj($t)}),e.bIt("change",function($t){return p.eBV(et),p.Njj(ie.onEnableServiceChanged($t))}),e.EFF(16,"Enable Boltz Service"),e.k0s(),e.j41(17,"mat-form-field",9)(18,"mat-label"),e.EFF(19,"Boltz Server URL"),e.k0s(),e.j41(20,"input",10,1),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.serverUrl,$t)||(ie.serverUrl=$t),p.Njj($t)}),e.k0s(),e.j41(22,"mat-hint"),e.EFF(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),e.k0s(),e.DNE(24,O2,2,0,"mat-error",11)(25,Sl,2,0,"mat-error",11),e.k0s(),e.j41(26,"mat-form-field")(27,"mat-label"),e.EFF(28,"Boltz Macaroon Path"),e.k0s(),e.j41(29,"input",12),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.macaroonPath,$t)||(ie.macaroonPath=$t),p.Njj($t)}),e.k0s(),e.j41(30,"mat-hint"),e.EFF(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),e.k0s(),e.DNE(32,P2,2,0,"mat-error",11),e.k0s()()(),e.j41(33,"div",13)(34,"button",14),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onReset())}),e.EFF(35,"Reset"),e.k0s(),e.j41(36,"button",15),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onUpdateService())}),e.EFF(37,"Update"),e.k0s()()()}if(2&Y){const et=e.sdS(21);e.R7$(2),e.Y8G("icon",ie.faInfoCircle),e.R7$(13),e.R50("ngModel",ie.enableBoltz),e.R7$(5),e.Y8G("required",ie.enableBoltz)("disabled",!ie.enableBoltz),e.R50("ngModel",ie.serverUrl),e.R7$(4),e.Y8G("ngIf",(!ie.serverUrl||""===ie.serverUrl.trim())&&ie.enableBoltz),e.R7$(),e.Y8G("ngIf",(null==et||null==et.errors?null:et.errors.invalid)&&ie.enableBoltz),e.R7$(4),e.Y8G("required",ie.enableBoltz)("disabled",!ie.enableBoltz),e.R50("ngModel",ie.macaroonPath),e.R7$(3),e.Y8G("ngIf",!ie.macaroonPath&&ie.enableBoltz)}},dependencies:[c.bT,cn.qT,cn.me,cn.BC,cn.cb,cn.YS,cn.vS,cn.cV,Tr.aY,Hr.$z,fo.fg,ra.rl,ra.nJ,ra.MV,ra.TL,bn.DJ,bn.sA,bn.UI,pd.sG,Yt.Ld,Pi.N],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return z(),F})(),g4=(()=>{var z;class F{constructor(){}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-ln-services"]],standalone:!1,decls:1,vars:0,template:function(Y,ie){1&Y&&e.nrm(0,"router-outlet")},dependencies:[Ja.n3],encapsulation:2}))}return z(),F})();var l1=l(1092),Cc=l(4104),Mc=l(96695),Ha=l(2042),Ba=l(19295),$c=l(67575);const ah=()=>["all"],rh=z=>({"overflow-auto error-border":z,"overflow-auto":!0}),o0=()=>["no_swap"],bd=z=>({width:z}),N2=z=>({"display-none":z});function c1(z,F){if(1&z&&(e.j41(0,"mat-option",37),e.EFF(1),e.k0s()),2&z){const L=F.$implicit,H=e.XpG();e.Y8G("value",L),e.R7$(),e.JRh(H.getLabel(L))}}function B2(z,F){1&z&&e.nrm(0,"mat-progress-bar",38)}function z2(z,F){1&z&&(e.j41(0,"th",39),e.EFF(1,"State"),e.k0s())}function Ec(z,F){if(1&z&&(e.j41(0,"td",40),e.EFF(1),e.k0s()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.JRh(H.LoopStateEnum[null==L?null:L.state])}}function l0(z,F){1&z&&(e.j41(0,"th",39),e.EFF(1,"Initiation Time"),e.k0s())}function c0(z,F){if(1&z&&(e.j41(0,"td",40),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&z){const L=F.$implicit;e.R7$(),e.JRh(e.i5U(2,1,(null==L?null:L.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function U2(z,F){1&z&&(e.j41(0,"th",39),e.EFF(1,"Last Update Time"),e.k0s())}function V2(z,F){if(1&z&&(e.j41(0,"td",40),e.EFF(1),e.nI1(2,"date"),e.k0s()),2&z){const L=F.$implicit;e.R7$(),e.JRh(e.i5U(2,1,(null==L?null:L.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function H2(z,F){1&z&&(e.j41(0,"th",41),e.EFF(1,"Amount (Sats)"),e.k0s())}function G2(z,F){if(1&z&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&z){const L=F.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==L?null:L.amt))}}function d0(z,F){1&z&&(e.j41(0,"th",41),e.EFF(1,"Cost Server (Sats)"),e.k0s())}function j2(z,F){if(1&z&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&z){const L=F.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==L?null:L.cost_server))}}function W2(z,F){1&z&&(e.j41(0,"th",41),e.EFF(1,"Cost Offchain (Sats)"),e.k0s())}function _4(z,F){if(1&z&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&z){const L=F.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==L?null:L.cost_offchain))}}function d1(z,F){1&z&&(e.j41(0,"th",41),e.EFF(1,"Cost Onchain (Sats)"),e.k0s())}function u0(z,F){if(1&z&&(e.j41(0,"td",40)(1,"span",42),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&z){const L=F.$implicit;e.R7$(2),e.SpI(" ",e.bMT(3,1,null==L?null:L.cost_onchain)," ")}}function sh(z,F){1&z&&(e.j41(0,"th",39),e.EFF(1,"HTLC Address"),e.k0s())}function h0(z,F){if(1&z&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,bd,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.R7$(2),e.JRh(null==L?null:L.htlc_address)}}function u1(z,F){1&z&&(e.j41(0,"th",39),e.EFF(1,"ID"),e.k0s())}function h1(z,F){if(1&z&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,bd,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.R7$(2),e.JRh(null==L?null:L.id)}}function wc(z,F){1&z&&(e.j41(0,"th",39),e.EFF(1,"ID (Bytes)"),e.k0s())}function ic(z,F){if(1&z&&(e.j41(0,"td",40)(1,"span",43)(2,"span",44),e.EFF(3),e.k0s()()()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,bd,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.R7$(2),e.JRh(null==L?null:L.id_bytes)}}function f1(z,F){if(1&z){const L=e.RV6();e.j41(0,"th",45)(1,"div",46)(2,"mat-select",47),e.nrm(3,"mat-select-trigger"),e.j41(4,"mat-option",48),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.onDownloadCSV())}),e.EFF(5,"Download CSV"),e.k0s()()()()}}function oh(z,F){if(1&z){const L=e.RV6();e.j41(0,"td",49)(1,"button",50),e.bIt("click",function(Y){const ie=p.eBV(L).$implicit,et=e.XpG();return p.Njj(et.onSwapClick(ie,Y))}),e.EFF(2,"View Info"),e.k0s()()}}function X2(z,F){if(1&z&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&z){const L=e.XpG(2);e.R7$(),e.JRh(L.emptyTableMessage)}}function K2(z,F){if(1&z&&(e.j41(0,"td",51),e.DNE(1,X2,2,1,"p",52),e.k0s()),2&z){const L=e.XpG();e.R7$(),e.Y8G("ngIf",!(null!=L.listSwaps&&L.listSwaps.data)||(null==L.listSwaps||null==L.listSwaps.data?null:L.listSwaps.data.length)<1)}}function m1(z,F){if(1&z&&e.nrm(0,"tr",53),2&z){const L=e.XpG();e.Y8G("ngClass",e.eq3(1,N2,(null==L.listSwaps?null:L.listSwaps.data)&&(null==L.listSwaps||null==L.listSwaps.data?null:L.listSwaps.data.length)>0))}}function Zc(z,F){1&z&&e.nrm(0,"tr",54)}function nc(z,F){1&z&&e.nrm(0,"tr",55)}let lh=(()=>{var z;class F{constructor(H,Y,ie,et,Bt,$t){this.logger=H,this.commonService=Y,this.store=ie,this.loopService=et,this.datePipe=Bt,this.camelCaseWithReplace=$t,this.selectedSwapType=ot.C7.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=ot._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:ot.md,sortBy:"initiation_time",sortOrder:ot.oi.DESCENDING},this.LoopStateEnum=ot.Hx,this.faHistory=Mn.Int,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new Ba.I6([]),this.selFilter="",this.pageSize=ot.md,this.pageSizeOptions=ot.xp,this.screenSize="",this.screenSizeEnum=ot.f7,this.unSubs=[new hn.B,new hn.B,new hn.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(H){this.swapCaption=this.selectedSwapType===ot.C7.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(_d.$G).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{this.tableSetting=H.pageSettings.find(Y=>Y.pageId===this.PAGE_ID)?.tables.find(Y=>Y.tableId===this.tableSetting.tableId)||ot.ZC.find(Y=>Y.pageId===this.PAGE_ID)?.tables.find(Y=>Y.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===ot.f7.XS||this.screenSize===ot.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:ot.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(H){const Y=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(ie=>ie.column===H);return Y?Y.label?Y.label:this.camelCaseWithReplace.transform(Y.column,"_"):this.commonService.titleCase(H)}setFilterPredicate(){this.listSwaps.filterPredicate=(H,Y)=>{let ie="";switch(this.selFilterBy){case"all":ie=JSON.stringify(H).toLowerCase();break;case"state":ie=H?.state?this.LoopStateEnum[H?.state]:"";break;case"initiation_time":case"last_update_time":ie=this.datePipe.transform(new Date((H[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:ie=typeof H[this.selFilterBy]>"u"?"":"string"==typeof H[this.selFilterBy]?H[this.selFilterBy].toLowerCase():"boolean"==typeof H[this.selFilterBy]?H[this.selFilterBy]?"yes":"no":H[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===ie.indexOf(Y):ie.includes(Y)}}onSwapClick(H,Y){this.loopService.getSwap(H.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,wn.Q)(this.unSubs[1])).subscribe(ie=>{this.store.dispatch((0,Nn.xO)({payload:{data:{type:ot.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:ot.Hx[ie.state||""],title:"Status",width:50,type:ot.UN.STRING},{key:"amt",value:ie.amt,title:"Amount (Sats)",width:50,type:ot.UN.NUMBER}],[{key:"initiation_time",value:(ie.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:ot.UN.DATE_TIME},{key:"last_update_time",value:(ie.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:ot.UN.DATE_TIME}],[{key:"cost_server",value:ie.cost_server,title:"Server Cost (Sats)",width:33,type:ot.UN.NUMBER},{key:"cost_offchain",value:ie.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:ot.UN.NUMBER},{key:"cost_onchain",value:ie.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:ot.UN.NUMBER}],[{key:"id_bytes",value:ie.id_bytes,title:"ID",width:100,type:ot.UN.STRING}],[{key:"htlc_address",value:ie.htlc_address,title:"HTLC Address",width:100,type:ot.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(H){this.listSwaps=new Ba.I6([...H]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(Y,ie)=>Y[ie]&&isNaN(Y[ie])?Y[ie].toLocaleLowerCase():Y[ie]?+Y[ie]: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===ot.C7.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qs.h),e.rXU(qi.il),e.rXU(Cc.Q),e.rXU(c.vh),e.rXU(t1.VD))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-swaps"]],viewQuery:function(Y,ie){if(1&Y&&(e.GBs(Ha.B4,5),e.GBs(Mc.iy,5)),2&Y){let et;e.mGM(et=e.lsd())&&(ie.sort=et.first),e.mGM(et=e.lsd())&&(ie.paginator=et.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},standalone:!1,features:[e.Jv_([{provide:De.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Mc.xX,useValue:(0,ot.on)("Swaps")}]),e.OA$],decls:61,vars:20,consts:[["table",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModelChange","input","keyup","ngModel"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["matColumnDef","state"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","initiation_time"],["matColumnDef","last_update_time"],["matColumnDef","amt"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","cost_server"],["matColumnDef","cost_offchain"],["matColumnDef","cost_onchain"],["matColumnDef","htlc_address"],["matColumnDef","id"],["matColumnDef","id_bytes"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","hidePageSize"],[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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.nrm(3,"fa-icon",4),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),e.EFF(9,"Filter By"),e.k0s(),e.j41(10,"mat-select",8),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selFilterBy,$t)||(ie.selFilterBy=$t),p.Njj($t)}),e.bIt("selectionChange",function(){return p.eBV(et),ie.selFilter="",p.Njj(ie.applyFilter())}),e.j41(11,"perfect-scrollbar"),e.DNE(12,c1,2,2,"mat-option",9),e.k0s()()(),e.j41(13,"mat-form-field",7)(14,"mat-label"),e.EFF(15,"Filter"),e.k0s(),e.j41(16,"input",10),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selFilter,$t)||(ie.selFilter=$t),p.Njj($t)}),e.bIt("input",function(){return p.eBV(et),p.Njj(ie.applyFilter())})("keyup",function(){return p.eBV(et),p.Njj(ie.applyFilter())}),e.k0s()()()(),e.j41(17,"div",11)(18,"div",12),e.DNE(19,B2,1,0,"mat-progress-bar",13),e.j41(20,"table",14,0),e.qex(22,15),e.DNE(23,z2,2,0,"th",16)(24,Ec,2,1,"td",17),e.bVm(),e.qex(25,18),e.DNE(26,l0,2,0,"th",16)(27,c0,3,4,"td",17),e.bVm(),e.qex(28,19),e.DNE(29,U2,2,0,"th",16)(30,V2,3,4,"td",17),e.bVm(),e.qex(31,20),e.DNE(32,H2,2,0,"th",21)(33,G2,4,3,"td",17),e.bVm(),e.qex(34,22),e.DNE(35,d0,2,0,"th",21)(36,j2,4,3,"td",17),e.bVm(),e.qex(37,23),e.DNE(38,W2,2,0,"th",21)(39,_4,4,3,"td",17),e.bVm(),e.qex(40,24),e.DNE(41,d1,2,0,"th",21)(42,u0,4,3,"td",17),e.bVm(),e.qex(43,25),e.DNE(44,sh,2,0,"th",16)(45,h0,4,4,"td",17),e.bVm(),e.qex(46,26),e.DNE(47,u1,2,0,"th",16)(48,h1,4,4,"td",17),e.bVm(),e.qex(49,27),e.DNE(50,wc,2,0,"th",16)(51,ic,4,4,"td",17),e.bVm(),e.qex(52,28),e.DNE(53,f1,6,0,"th",29)(54,oh,3,0,"td",30),e.bVm(),e.qex(55,31),e.DNE(56,K2,2,1,"td",32),e.bVm(),e.DNE(57,m1,1,3,"tr",33)(58,Zc,1,0,"tr",34)(59,nc,1,0,"tr",35),e.k0s(),e.nrm(60,"mat-paginator",36),e.k0s()()()}2&Y&&(e.R7$(3),e.Y8G("icon",ie.faHistory),e.R7$(2),e.SpI("",ie.swapCaption," History"),e.R7$(5),e.R50("ngModel",ie.selFilterBy),e.R7$(2),e.Y8G("ngForOf",e.lJ4(16,ah).concat(ie.displayedColumns.slice(0,-1))),e.R7$(4),e.R50("ngModel",ie.selFilter),e.R7$(3),e.Y8G("ngIf",!0===ie.flgLoading[0]),e.R7$(),e.Y8G("matSortActive",ie.tableSetting.sortBy)("matSortDirection",ie.tableSetting.sortOrder)("dataSource",ie.listSwaps)("ngClass",e.eq3(17,rh,"error"===ie.flgLoading[0])),e.R7$(37),e.Y8G("matFooterRowDef",e.lJ4(19,o0)),e.R7$(),e.Y8G("matHeaderRowDef",ie.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",ie.displayedColumns),e.R7$(),e.Y8G("pageSize",ie.pageSize)("pageSizeOptions",ie.pageSizeOptions)("hidePageSize",ie.screenSize!==ie.screenSizeEnum.XS))},dependencies:[c.YU,c.Sq,c.bT,c.B3,cn.me,cn.BC,cn.vS,Tr.aY,Hr.$z,fo.fg,ra.rl,ra.nJ,$c.HM,bn.DJ,bn.sA,bn.UI,Lo.PW,Lo.eI,De.VO,De.$2,pt.wT,Ha.B4,Ha.aE,Ba.Zl,Ba.tL,Ba.ji,Ba.cC,Ba.YV,Ba.iL,Ba.Zq,Ba.xW,Ba.KS,Ba.$R,Ba.Qo,Ba.YZ,Ba.NB,Ba.iF,Mc.iy,Yt.ZF,Yt.Ld,c.QX,c.vh],encapsulation:2}))}return z(),F})();const ch=z=>["../",z];function dh(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",11),e.bIt("click",function(){const Y=p.eBV(L).$implicit,ie=e.XpG();return p.Njj(ie.onSelectedIndexChange(Y))}),e.EFF(1),e.k0s()}if(2&z){const L=F.$implicit,H=e.XpG();e.Y8G("active",H.activeTab.link===L.link)("routerLink",e.eq3(3,ch,L.link)),e.R7$(),e.JRh(L.name)}}let uh=(()=>{var z;class F{constructor(H,Y,ie){this.router=H,this.loopService=Y,this.store=ie,this.faInfinity=Mn.C8j,this.loopInfo=null,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=ot.C7,this.selectedSwapType=ot.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 hn.B,new hn.B,new hn.B,new hn.B,new hn.B,new hn.B]}ngOnInit(){this.store.dispatch((0,Nn.mt)({payload:ot.MZ.GET_LOOP_INFO})),this.loopService.getLoopInfo().pipe((0,wn.Q)(this.unSubs[4])).subscribe({next:Y=>{this.store.dispatch((0,Nn.y0)({payload:ot.MZ.GET_LOOP_INFO})),this.loopInfo=Y,this.loopInfo&&this.loopInfo.version&&(this.loopInfo.version=this.loopInfo.version.split(" ")[0])},error:Y=>{this.store.dispatch((0,Nn.y0)({payload:ot.MZ.GET_LOOP_INFO})),this.loopInfo.version=" Unknown"}}),this.loopService.listSwaps();const H=this.links.find(Y=>this.router.url.includes(Y.link));this.activeTab=H||this.links[0],this.selectedSwapType=H&&"loopin"===H.link?ot.C7.LOOP_IN:ot.C7.LOOP_OUT,this.router.events.pipe((0,wn.Q)(this.unSubs[0]),(0,cr.p)(Y=>Y instanceof Ja.gx)).subscribe({next:Y=>{const ie=this.links.find(et=>Y.urlAfterRedirects.includes(et.link));this.activeTab=ie||this.links[0],this.selectedSwapType=ie&&"loopin"===ie.link?ot.C7.LOOP_IN:ot.C7.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,wn.Q)(this.unSubs[1])).subscribe({next:Y=>{this.flgLoading[0]=!1,this.storedSwaps=Y,this.filteredSwaps=this.storedSwaps?.filter(ie=>ie.type===this.selectedSwapType)},error:Y=>{this.flgLoading[0]="error",this.emptyTableMessage=Y.message?Y.message:"No loop "+(this.selectedSwapType===ot.C7.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(H){this.selectedSwapType="loopin"===H.link?ot.C7.LOOP_IN:ot.C7.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(Y=>Y.type===this.selectedSwapType)}onLoop(H){H===ot.C7.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,wn.Q)(this.unSubs[2])).subscribe({next:Y=>{this.store.dispatch((0,Nn.xO)({payload:{data:{minQuote:Y[0],maxQuote:Y[1],direction:H,component:l1.D}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,wn.Q)(this.unSubs[3])).subscribe({next:Y=>{this.store.dispatch((0,Nn.xO)({payload:{data:{minQuote:Y[0],maxQuote:Y[1],direction:H,component:l1.D}}}))}})}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(Ja.Ix),e.rXU(Cc.Q),e.rXU(qi.il))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-loop"]],standalone:!1,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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",1),e.nrm(1,"fa-icon",2),e.j41(2,"span",3),e.EFF(3),e.k0s()(),e.j41(4,"div",4)(5,"mat-card")(6,"mat-card-content",5)(7,"nav",6),e.DNE(8,dh,2,5,"div",7),e.k0s(),e.nrm(9,"mat-tab-nav-panel",null,0),e.j41(11,"div",8)(12,"button",9),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onLoop(ie.selectedSwapType))}),e.EFF(13),e.k0s()(),e.nrm(14,"rtl-swaps",10),e.k0s()()()}if(2&Y){const et=e.sdS(10);e.R7$(),e.Y8G("icon",ie.faInfinity),e.R7$(2),e.SpI("Loop (v",(null==ie.loopInfo?null:ie.loopInfo.version)||" Unknown",")"),e.R7$(4),e.Y8G("tabPanel",et),e.R7$(),e.Y8G("ngForOf",ie.links),e.R7$(5),e.SpI("Start ",ie.activeTab.name),e.R7$(),e.Y8G("selectedSwapType",ie.selectedSwapType)("swapsData",ie.filteredSwaps)("flgLoading",ie.flgLoading)("emptyTableMessage",ie.emptyTableMessage)}},dependencies:[c.Sq,Tr.aY,Hr.$z,Ea.RN,Ea.m2,bn.DJ,bn.sA,bn.UI,Dr.Bu,Dr.hQ,Dr.Ql,Wo.Wk,lh],encapsulation:2}))}return z(),F})();var xd=l(1001),f0=l(84412),m0=l(18810),Sc=l(12462);let Tc=(()=>{var z;class F{constructor(H,Y,ie,et){this.httpClient=H,this.logger=Y,this.store=ie,this.commonService=et,this.swapUrl="",this.swaps={},this.boltzInfo=null,this.boltzInfoChanged=new f0.t(null),this.swapsChanged=new f0.t({}),this.unSubs=[new hn.B,new hn.B,new hn.B,new hn.B,new hn.B]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Nn.mt)({payload:ot.MZ.GET_BOLTZ_SWAPS})),this.swapUrl=ot.H$+ot.rl.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,wn.Q)(this.unSubs[0])).subscribe({next:H=>{this.store.dispatch((0,Nn.y0)({payload:ot.MZ.GET_BOLTZ_SWAPS})),this.swaps=H,this.swapsChanged.next(this.swaps)},error:H=>this.swapsChanged.error(this.handleErrorWithAlert(ot.MZ.GET_BOLTZ_SWAPS,this.swapUrl,H))})}swapInfo(H){return this.swapUrl=ot.H$+ot.rl.BOLTZ_API+"/swapInfo/"+H,this.httpClient.get(this.swapUrl).pipe((0,xs.W)(Y=>(0,Fs.of)(this.handleErrorWithAlert(ot.MZ.NO_SPINNER,this.swapUrl,Y))))}getBoltzInfo(){this.store.dispatch((0,Nn.mt)({payload:ot.MZ.GET_BOLTZ_INFO})),this.swapUrl=ot.H$+ot.rl.BOLTZ_API+"/info",this.httpClient.get(this.swapUrl).pipe((0,wn.Q)(this.unSubs[1])).subscribe({next:H=>{this.store.dispatch((0,Nn.y0)({payload:ot.MZ.GET_BOLTZ_INFO})),this.boltzInfo=H,this.boltzInfoChanged.next(this.boltzInfo)},error:H=>(this.boltzInfo={version:"2.0.0"},this.boltzInfoChanged.next(this.boltzInfo),(0,Fs.of)(this.handleErrorWithoutAlert(ot.MZ.GET_BOLTZ_INFO,this.swapUrl,H)))})}serviceInfo(){return this.store.dispatch((0,Nn.mt)({payload:ot.MZ.GET_SERVICE_INFO})),this.swapUrl=ot.H$+ot.rl.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,wn.Q)(this.unSubs[2]),(0,us.T)(H=>(this.store.dispatch((0,Nn.y0)({payload:ot.MZ.GET_SERVICE_INFO})),H)),(0,xs.W)(H=>(0,Fs.of)(this.handleErrorWithAlert(ot.MZ.GET_SERVICE_INFO,this.swapUrl,H))))}swapOut(H,Y,ie){const et={amount:H,address:Y,acceptZeroConf:ie};return this.swapUrl=ot.H$+ot.rl.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,et).pipe((0,xs.W)(Bt=>this.handleErrorWithoutAlert("Swap Out for Address: "+Y,ot.MZ.NO_SPINNER,Bt)))}swapIn(H,Y,ie){const et={amount:H,sendFromInternal:Y,refundAddress:ie};return this.swapUrl=ot.H$+ot.rl.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,et).pipe((0,xs.W)(Bt=>this.handleErrorWithoutAlert("Swap In for Amount: "+H,ot.MZ.NO_SPINNER,Bt)))}handleErrorWithoutAlert(H,Y,ie){let et="";return this.logger.error("ERROR IN: "+H+"\n"+JSON.stringify(ie)),this.store.dispatch((0,Nn.y0)({payload:Y})),401===ie.status?(et="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Nn.ri)({payload:et}))):503===ie.status?(et="Unable to Connect to Boltz Server.",this.store.dispatch((0,Nn.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:ie.status,message:"Unable to Connect to Boltz Server",URL:H},component:Sc.f}}}))):et=this.commonService.extractErrorMessage(ie),(0,m0.$)(()=>new Error(et))}handleErrorWithAlert(H,Y,ie){let et="";if(401===ie.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Nn.ri)({payload:"Authentication Failed: "+JSON.stringify(ie.error)}))),this.logger.error(ie),this.store.dispatch((0,Nn.y0)({payload:H})),401===ie.status)et="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Nn.ri)({payload:et}));else if(503===ie.status)et="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Nn.xO)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:ie.status,message:"Unable to Connect to Boltz Server",URL:Y},component:Sc.f}}}))},100);else{et=this.commonService.extractErrorMessage(ie);const Bt=ie.error&&ie.error.error&&ie.error.error.code?ie.error.error.code:ie.error&&ie.error.code?ie.error.code:ie.code?ie.code:ie.status;setTimeout(()=>{this.store.dispatch((0,Nn.xO)({payload:{data:{type:ot.A$.ERROR,alertTitle:"ERROR",message:{code:Bt,message:et,URL:Y},component:Sc.f}}}))},100)}return{message:et}}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(p.KVO(Ua.Qq),p.KVO(ir.gP),p.KVO(qi.il),p.KVO(qs.h))},this.\u0275prov=p.jDH({token:F,factory:F.\u0275fac}))}return z(),F})();const p1=z=>({"display-none":z});function Cd(z,F){1&z&&e.eu8(0)}function ac(z,F){if(1&z&&(e.j41(0,"div",4)(1,"span",5),e.EFF(2),e.k0s()()),2&z){const L=e.XpG();e.R7$(2),e.JRh(null!=L.swapStatus&&L.swapStatus.error?null==L.swapStatus?null:L.swapStatus.error:"Unknown Error.")}}function rc(z,F){if(1&z&&(e.j41(0,"div",7)(1,"h4",8),e.EFF(2,"Routing Fee (mSats)"),e.k0s(),e.j41(3,"span",5),e.EFF(4),e.nI1(5,"number"),e.k0s()()),2&z){const L=e.XpG(2);e.R7$(4),e.JRh(e.bMT(5,1,null==L.swapStatus?null:L.swapStatus.routingFeeMilliSat))}}function Y2(z,F){if(1&z&&(e.j41(0,"div",7)(1,"h4",8),e.EFF(2,"Claim Transaction ID"),e.k0s(),e.j41(3,"span",5),e.EFF(4),e.k0s()()),2&z){const L=e.XpG(2);e.R7$(4),e.JRh(null==L.swapStatus?null:L.swapStatus.claimTransactionId)}}function Md(z,F){if(1&z&&(e.j41(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),e.EFF(4,"ID"),e.k0s(),e.j41(5,"span",5),e.EFF(6),e.k0s()(),e.DNE(7,rc,6,3,"div",9)(8,Y2,5,1,"div",9),e.k0s(),e.nrm(9,"mat-divider",10),e.j41(10,"div",6)(11,"div",11)(12,"h4",8),e.EFF(13,"Lockup Address"),e.k0s(),e.j41(14,"span",5),e.EFF(15),e.k0s()()()()),2&z){const L=e.XpG();e.R7$(6),e.JRh(null==L.swapStatus?null:L.swapStatus.id),e.R7$(),e.Y8G("ngIf",L.acceptZeroConf),e.R7$(),e.Y8G("ngIf",L.acceptZeroConf),e.R7$(7),e.JRh(null==L.swapStatus?null:L.swapStatus.lockupAddress)}}function p0(z,F){1&z&&(e.j41(0,"span",22),e.EFF(1,"N/A"),e.k0s())}function sc(z,F){1&z&&(e.j41(0,"span",23),e.EFF(1,"QR Code Not Applicable"),e.k0s())}function hh(z,F){1&z&&e.nrm(0,"mat-divider",24),2&z&&e.Y8G("inset",!0)}function g0(z,F){if(1&z&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"Transaction ID"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&z){const L=e.XpG(2);e.R7$(5),e.JRh(null==L.swapStatus?null:L.swapStatus.txId)}}function g1(z,F){if(1&z&&(e.j41(0,"div",6)(1,"div",25)(2,"h4",8),e.EFF(3,"ID"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",25)(7,"h4",8),e.EFF(8,"Expected Amount (Sats)"),e.k0s(),e.j41(9,"span",5),e.EFF(10),e.nI1(11,"number"),e.k0s()()()),2&z){const L=e.XpG(2);e.R7$(5),e.JRh(null==L.swapStatus?null:L.swapStatus.id),e.R7$(5),e.JRh(e.bMT(11,2,null==L.swapStatus?null:L.swapStatus.expectedAmount))}}function Q2(z,F){1&z&&e.nrm(0,"mat-divider",10)}function _0(z,F){if(1&z&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"Address"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&z){const L=e.XpG(2);e.R7$(5),e.JRh(null==L.swapStatus?null:L.swapStatus.address)}}function Jc(z,F){1&z&&e.nrm(0,"mat-divider",10)}function qc(z,F){if(1&z&&(e.j41(0,"div",6)(1,"div",11)(2,"h4",8),e.EFF(3,"BIP 21"),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s()()()),2&z){const L=e.XpG(2);e.R7$(5),e.JRh(null==L.swapStatus?null:L.swapStatus.bip21)}}function Dc(z,F){if(1&z&&(e.j41(0,"div",12)(1,"div",13),e.nrm(2,"qr-code",14),e.DNE(3,p0,2,0,"span",15),e.k0s(),e.j41(4,"div",16)(5,"div",4)(6,"div",17),e.nrm(7,"qr-code",14),e.DNE(8,sc,2,0,"span",18),e.k0s(),e.DNE(9,hh,1,1,"mat-divider",19)(10,g0,6,1,"div",20)(11,g1,12,4,"div",20)(12,Q2,1,0,"mat-divider",21)(13,_0,6,1,"div",20)(14,Jc,1,0,"mat-divider",21)(15,qc,6,1,"div",20),e.k0s()()()),2&z){const L=e.XpG();e.R7$(),e.Y8G("fxLayoutAlign",""!==((null==L.swapStatus?null:L.swapStatus.txId)||(null==L.swapStatus?null:L.swapStatus.address))?"center start":"center center")("ngClass",e.eq3(17,p1,L.screenSize===L.screenSizeEnum.XS||L.screenSize===L.screenSizeEnum.SM)),e.R7$(),e.Y8G("value",(null==L.swapStatus?null:L.swapStatus.txId)||(null==L.swapStatus?null:L.swapStatus.address))("size",L.qrWidth),e.R7$(),e.Y8G("ngIf",""===((null==L.swapStatus?null:L.swapStatus.txId)||(null==L.swapStatus?null:L.swapStatus.address))),e.R7$(3),e.Y8G("fxLayoutAlign",""!==((null==L.swapStatus?null:L.swapStatus.txId)||(null==L.swapStatus?null:L.swapStatus.address))?"center start":"center center")("ngClass",e.eq3(19,p1,L.screenSize!==L.screenSizeEnum.XS&&L.screenSize!==L.screenSizeEnum.SM)),e.R7$(),e.Y8G("value",(null==L.swapStatus?null:L.swapStatus.txId)||(null==L.swapStatus?null:L.swapStatus.address))("size",L.qrWidth),e.R7$(),e.Y8G("ngIf",""===((null==L.swapStatus?null:L.swapStatus.txId)||(null==L.swapStatus?null:L.swapStatus.address))),e.R7$(),e.Y8G("ngIf",L.screenSize===L.screenSizeEnum.XS||L.screenSize===L.screenSizeEnum.SM),e.R7$(),e.Y8G("ngIf",L.sendFromInternal),e.R7$(),e.Y8G("ngIf",!L.sendFromInternal),e.R7$(),e.Y8G("ngIf",!L.sendFromInternal),e.R7$(),e.Y8G("ngIf",!L.sendFromInternal),e.R7$(),e.Y8G("ngIf",!L.sendFromInternal),e.R7$(),e.Y8G("ngIf",!L.sendFromInternal)}}let $2=(()=>{var z;class F{constructor(H){this.commonService=H,this.swapStatus=null,this.direction=ot.Bd.SWAP_OUT,this.acceptZeroConf=!1,this.sendFromInternal=!0,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=ot.f7,this.swapTypeEnum=ot.Bd}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.screenSize===ot.f7.XS&&(this.qrWidth=180)}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(qs.h))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction",acceptZeroConf:"acceptZeroConf",sendFromInternal:"sendFromInternal"},standalone:!1,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"],["errorCorrectionLevel","L",3,"value","size"],["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(Y,ie){if(1&Y&&e.DNE(0,Cd,1,0,"ng-container",3)(1,ac,3,1,"ng-template",null,0,e.C5r)(3,Md,16,4,"ng-template",null,1,e.C5r)(5,Dc,16,21,"ng-template",null,2,e.C5r),2&Y){const et=e.sdS(2),Bt=e.sdS(4),$t=e.sdS(6);e.Y8G("ngTemplateOutlet",null!=ie.swapStatus&&ie.swapStatus.error?et:ie.direction===ie.swapTypeEnum.SWAP_OUT?Bt:$t)}},dependencies:[c.YU,c.bT,c.T3,Ni.q,bn.DJ,bn.sA,bn.UI,Lo.PW,fd.Um,c.QX],encapsulation:2}))}return z(),F})(),v0=(()=>{var z;class F{constructor(){this.serviceInfo={},this.direction=ot.Bd.SWAP_OUT,this.swapTypeEnum=ot.Bd}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-boltz-service-info"]],inputs:{serviceInfo:"serviceInfo",direction:"direction"},standalone:!1,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(Y,ie){1&Y&&(e.j41(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),e.EFF(4,"Service Information"),e.k0s()()(),e.j41(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),e.EFF(9,"Minimum Amount (Sats)"),e.k0s(),e.j41(10,"span",6),e.EFF(11),e.nI1(12,"number"),e.k0s()(),e.j41(13,"div",4)(14,"h4",5),e.EFF(15,"Maximum Amount (Sats)"),e.k0s(),e.j41(16,"span",6),e.EFF(17),e.nI1(18,"number"),e.k0s()()(),e.nrm(19,"mat-divider",7),e.j41(20,"div",3)(21,"div",4)(22,"h4",5),e.EFF(23,"Fee Percentage"),e.k0s(),e.j41(24,"span",6),e.EFF(25),e.nI1(26,"number"),e.k0s()(),e.j41(27,"div",4)(28,"h4",5),e.EFF(29,"Miner Fee (Sats)"),e.k0s(),e.j41(30,"span",6),e.EFF(31),e.nI1(32,"number"),e.k0s()()()()()),2&Y&&(e.Y8G("expanded",!0),e.R7$(11),e.JRh(e.bMT(12,5,null==ie.serviceInfo||null==ie.serviceInfo.limits?null:ie.serviceInfo.limits.minimal)),e.R7$(6),e.JRh(e.bMT(18,7,null==ie.serviceInfo||null==ie.serviceInfo.limits?null:ie.serviceInfo.limits.maximal)),e.R7$(8),e.JRh(e.bMT(26,9,null==ie.serviceInfo||null==ie.serviceInfo.fees?null:ie.serviceInfo.fees.percentage)),e.R7$(6),e.JRh(e.bMT(32,11,ie.direction===ie.swapTypeEnum.SWAP_OUT?null==ie.serviceInfo||null==ie.serviceInfo.fees||null==ie.serviceInfo.fees.miner?null:ie.serviceInfo.fees.miner.reverse:null==ie.serviceInfo||null==ie.serviceInfo.fees||null==ie.serviceInfo.fees.miner?null:ie.serviceInfo.fees.miner.normal)))},dependencies:[Lr.GK,Lr.Z2,Lr.WN,Ni.q,bn.DJ,bn.sA,bn.UI,c.QX],encapsulation:2}))}return z(),F})();var Z2=l(16949);const _1=(z,F)=>({"small-svg":z,"large-svg":F});function fh(z,F){1&z&&e.eu8(0)}function y0(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onSwipe(Y))}),p.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),e.k0s(),p.joV(),e.j41(12,"div",18)(13,"mat-card-title"),e.EFF(14,"Boltz Submarine Swaps explained."),e.k0s()(),e.j41(15,"div",19)(16,"mat-card-subtitle",20),e.EFF(17," Boltz is a privacy-first account free exchange and a Lightning service provider. By doing a Submarine Swap on Boltz, you can swap your on-chain Bitcoin for Lightning Bitcoin. "),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@sliderAnimation",L.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,_1,L.screenSize===L.screenSizeEnum.XS,L.screenSize!==L.screenSizeEnum.XS))}}function b0(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onSwipe(Y))}),p.qSk(),e.j41(1,"svg",21),e.nrm(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.k0s(),p.joV(),e.j41(9,"div",18)(10,"mat-card-title"),e.EFF(11,"Step 1: Deciding to Submarine Swap"),e.k0s()(),e.j41(12,"div",19)(13,"mat-card-subtitle",20),e.EFF(14," You have one or more Lightning channels that are running low on outbound liquidity and you want to fund it using your on-chain Bitcoin. "),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@sliderAnimation",L.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,_1,L.screenSize===L.screenSizeEnum.XS,L.screenSize!==L.screenSizeEnum.XS))}}function oc(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onSwipe(Y))}),p.qSk(),e.j41(1,"svg",29),e.nrm(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),e.j41(9,"defs")(10,"pattern",37),e.nrm(11,"use",38),e.k0s(),e.nrm(12,"image",39),e.k0s()(),p.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 2: Sending the on-chain funds"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," You send the on-chain funds to an address which can only be spent by Boltz when it pays a Lightning invoice to your node. "),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@sliderAnimation",L.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,_1,L.screenSize===L.screenSizeEnum.XS,L.screenSize!==L.screenSizeEnum.XS))}}function v1(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onSwipe(Y))}),p.qSk(),e.j41(1,"svg",40)(2,"g",41),e.nrm(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),e.k0s(),e.j41(8,"defs")(9,"clipPath",47),e.nrm(10,"rect",48),e.k0s()()(),p.joV(),e.j41(11,"div",18)(12,"mat-card-title"),e.EFF(13,"Step 3: Receiving the funds on Lightning"),e.k0s()(),e.j41(14,"div",19)(15,"mat-card-subtitle",20),e.EFF(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@sliderAnimation",L.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,_1,L.screenSize===L.screenSizeEnum.XS,L.screenSize!==L.screenSizeEnum.XS))}}function mh(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onSwipe(Y))}),p.qSk(),e.j41(1,"svg",49),e.nrm(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),e.k0s(),p.joV(),e.j41(7,"div",18)(8,"mat-card-title"),e.EFF(9,"Done!"),e.k0s()(),e.j41(10,"div",19)(11,"mat-card-subtitle",20),e.EFF(12," You swapped your on-chain Bitcoin for Lightning Bitcoin, while also adding outbound capacity for your channels in the process - all in a non-custodial manner. "),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@sliderAnimation",L.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,_1,L.screenSize===L.screenSizeEnum.XS,L.screenSize!==L.screenSizeEnum.XS))}}let v4=(()=>{var z;class F{constructor(H){this.commonService=H,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.bkB,this.screenSize="",this.screenSizeEnum=ot.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(H){2===H.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===H.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(qs.h))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,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(Y,ie){if(1&Y&&e.DNE(0,fh,1,0,"ng-container",5)(1,y0,18,5,"ng-template",null,0,e.C5r)(3,b0,15,5,"ng-template",null,1,e.C5r)(5,oc,19,5,"ng-template",null,2,e.C5r)(7,v1,17,5,"ng-template",null,3,e.C5r)(9,mh,13,5,"ng-template",null,4,e.C5r),2&Y){const et=e.sdS(2),Bt=e.sdS(4),$t=e.sdS(6),Ei=e.sdS(8),zi=e.sdS(10);e.Y8G("ngTemplateOutlet",1===ie.stepNumber?et:2===ie.stepNumber?Bt:3===ie.stepNumber?$t:4===ie.stepNumber?Ei:zi)}},dependencies:[c.YU,c.T3,Ea.Lc,Ea.dh,bn.DJ,bn.sA,bn.UI,Lo.PW],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:[Z2.k]}}))}return z(),F})();const Ac=(z,F)=>({"small-svg":z,"large-svg":F});function J2(z,F){1&z&&e.eu8(0)}function y1(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onSwipe(Y))}),p.qSk(),e.j41(1,"svg",7),e.nrm(2,"path",8)(3,"path",9)(4,"path",10)(5,"path",11)(6,"path",12)(7,"path",13)(8,"path",14)(9,"path",15)(10,"path",16)(11,"path",17),e.k0s(),p.joV(),e.j41(12,"div",18)(13,"mat-card-title"),e.EFF(14,"Boltz Reverse Submarine Swap explained."),e.k0s()(),e.j41(15,"div",19)(16,"mat-card-subtitle",20),e.EFF(17," Boltz is a privacy-first account free exchange and a Lightning Service Provider. By doing a Reverse Submarine Swap on Boltz, you can swap your Lightning Bitcoin for on-chain Bitcoin. "),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@sliderAnimation",L.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Ac,L.screenSize===L.screenSizeEnum.XS,L.screenSize!==L.screenSizeEnum.XS))}}function x0(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onSwipe(Y))}),p.qSk(),e.j41(1,"svg",21)(2,"g",22),e.nrm(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.k0s(),e.nrm(9,"path",29),e.j41(10,"defs")(11,"clipPath",30),e.nrm(12,"rect",31),e.k0s()()(),p.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 1: Deciding to Reverse Submarine Swap"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," You have one or more channels that are running low on inbound capacity or you want to move some of your Lightning Bitcoin to your onchain wallet. "),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@sliderAnimation",L.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Ac,L.screenSize===L.screenSizeEnum.XS,L.screenSize!==L.screenSizeEnum.XS))}}function Ed(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onSwipe(Y))}),p.qSk(),e.j41(1,"svg",32),e.nrm(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),e.j41(9,"defs")(10,"pattern",40),e.nrm(11,"use",41),e.k0s(),e.nrm(12,"image",42),e.k0s()(),p.joV(),e.j41(13,"div",18)(14,"mat-card-title"),e.EFF(15,"Step 2: Paying the Lightning Invoice"),e.k0s()(),e.j41(16,"div",19)(17,"mat-card-subtitle",20),e.EFF(18," Your Boltz client generates a secret which is sent to Boltz. In return Boltz sends a Lightning invoice based on that secret. Your Lightning node pays that invoice which moves some of your local balance to the other side of the channel. "),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@sliderAnimation",L.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Ac,L.screenSize===L.screenSizeEnum.XS,L.screenSize!==L.screenSizeEnum.XS))}}function C0(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onSwipe(Y))}),p.qSk(),e.j41(1,"svg",43)(2,"g",22),e.nrm(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),e.k0s(),e.j41(8,"defs")(9,"clipPath",30),e.nrm(10,"rect",49),e.k0s()()(),p.joV(),e.j41(11,"div",18)(12,"mat-card-title"),e.EFF(13,"Step 3: Receiving the funds on-chain"),e.k0s()(),e.j41(14,"div",19)(15,"mat-card-subtitle",20),e.EFF(16," In return for paying the invoice, Boltz locks on-chain BTC. Your node claims that onchain BTC to your wallet and by doing that, reveals the secret. With that secret Boltz can settle the Lightning invoice paid by your node. "),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@sliderAnimation",L.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Ac,L.screenSize===L.screenSizeEnum.XS,L.screenSize!==L.screenSizeEnum.XS))}}function Ul(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",6),e.bIt("swipe",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onSwipe(Y))}),p.qSk(),e.j41(1,"svg",50),e.nrm(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),e.k0s(),p.joV(),e.j41(7,"div",18)(8,"mat-card-title"),e.EFF(9,"Done!"),e.k0s()(),e.j41(10,"div",19)(11,"mat-card-subtitle",20),e.EFF(12," You have now successfully received your funds in your on-chain wallet and also spent your local balance to increase the inbound capacity of your node - all in a non-custodial manner. "),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@sliderAnimation",L.animationDirection),e.R7$(),e.Y8G("ngClass",e.l_i(2,Ac,L.screenSize===L.screenSizeEnum.XS,L.screenSize!==L.screenSizeEnum.XS))}}let ed=(()=>{var z;class F{constructor(H){this.commonService=H,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.bkB,this.screenSize="",this.screenSizeEnum=ot.f7}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(H){2===H.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===H.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(qs.h))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},standalone:!1,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(Y,ie){if(1&Y&&e.DNE(0,J2,1,0,"ng-container",5)(1,y1,18,5,"ng-template",null,0,e.C5r)(3,x0,19,5,"ng-template",null,1,e.C5r)(5,Ed,19,5,"ng-template",null,2,e.C5r)(7,C0,17,5,"ng-template",null,3,e.C5r)(9,Ul,13,5,"ng-template",null,4,e.C5r),2&Y){const et=e.sdS(2),Bt=e.sdS(4),$t=e.sdS(6),Ei=e.sdS(8),zi=e.sdS(10);e.Y8G("ngTemplateOutlet",1===ie.stepNumber?et:2===ie.stepNumber?Bt:3===ie.stepNumber?$t:4===ie.stepNumber?Ei:zi)}},dependencies:[c.YU,c.T3,Ea.Lc,Ea.dh,bn.DJ,bn.sA,bn.UI,Lo.PW],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:[Z2.k]}}))}return z(),F})();const y4=["stepper"],q2=()=>[1,2,3,4,5],M0=(z,F)=>({"dot-primary":z,"dot-primary-lighter":F});function b1(z,F){if(1&z&&e.EFF(0),2&z){const L=e.XpG(2);e.JRh(L.inputFormLabel)}}function eu(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Amount is required."),e.k0s())}function ph(z,F){if(1&z&&(e.j41(0,"mat-error"),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&z){const L=e.XpG(2);e.R7$(),e.SpI("Amount must be greater than or equal to ",e.bMT(2,1,null==L.serviceInfo||null==L.serviceInfo.limits?null:L.serviceInfo.limits.minimal),".")}}function gh(z,F){if(1&z&&(e.j41(0,"mat-error"),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&z){const L=e.XpG(2);e.R7$(),e.SpI("Amount must be less than or equal to ",e.bMT(2,1,null==L.serviceInfo||null==L.serviceInfo.limits?null:L.serviceInfo.limits.maximal),".")}}function x1(z,F){1&z&&(e.j41(0,"div",44)(1,"div",45)(2,"mat-slide-toggle",46),e.EFF(3,"Accept Zero Conf"),e.k0s(),e.j41(4,"mat-icon",47),e.EFF(5,"info_outline"),e.k0s()()())}function _h(z,F){1&z&&(e.j41(0,"div",44)(1,"div",45)(2,"mat-slide-toggle",48),e.EFF(3,"Send from Internal Wallet"),e.k0s(),e.j41(4,"mat-icon",49),e.EFF(5,"info_outline"),e.k0s()()())}function td(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1," Refund address is required when not using internal wallet. "),e.k0s())}function Lc(z,F){1&z&&(e.j41(0,"button",50),e.EFF(1,"Next"),e.k0s())}function vh(z,F){if(1&z){const L=e.RV6();e.j41(0,"button",51),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return p.Njj(Y.onSwap())}),e.EFF(1),e.k0s()}if(2&z){const L=e.XpG(2);e.R7$(),e.SpI("Initiate ",L.swapDirectionCaption)}}function yh(z,F){if(1&z&&e.EFF(0),2&z){const L=e.XpG(3);e.JRh(L.addressFormLabel)}}function wd(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Address is required."),e.k0s())}function bh(z,F){if(1&z){const L=e.RV6();e.j41(0,"mat-step",15)(1,"form",16),e.DNE(2,yh,1,1,"ng-template",17),e.j41(3,"div",52)(4,"mat-radio-group",53),e.bIt("change",function(Y){p.eBV(L);const ie=e.XpG(2);return p.Njj(ie.onAddressTypeChange(Y))}),e.j41(5,"mat-radio-button",54),e.EFF(6,"Node Local Address"),e.k0s(),e.j41(7,"mat-radio-button",55),e.EFF(8,"External Address"),e.k0s()(),e.j41(9,"mat-form-field",56)(10,"mat-label"),e.EFF(11,"Address"),e.k0s(),e.nrm(12,"input",57),e.DNE(13,wd,2,0,"mat-error",24),e.k0s()(),e.j41(14,"div",29)(15,"button",58),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return p.Njj(Y.onSwap())}),e.EFF(16),e.k0s()()()()}if(2&z){const L=e.XpG(2);e.Y8G("stepControl",L.addressFormGroup)("editable",L.flgEditable),e.R7$(),e.Y8G("formGroup",L.addressFormGroup),e.R7$(11),e.Y8G("required","external"===L.addressFormGroup.controls.addressType.value),e.R7$(),e.Y8G("ngIf",null==L.addressFormGroup.controls.address.errors?null:L.addressFormGroup.controls.address.errors.required),e.R7$(3),e.SpI("Initiate ",L.swapDirectionCaption)}}function tu(z,F){if(1&z&&e.EFF(0),2&z){const L=e.XpG(2);e.SpI("",L.swapDirectionCaption," Status")}}function C1(z,F){if(1&z&&(e.j41(0,"mat-icon",59),e.EFF(1),e.k0s()),2&z){const L=e.XpG(2);e.R7$(),e.JRh(L.swapStatus&&null!=L.swapStatus&&L.swapStatus.id?"check":"close")}}function xh(z,F){1&z&&e.nrm(0,"div")}function Ch(z,F){1&z&&e.nrm(0,"mat-progress-bar",60)}function Mh(z,F){if(1&z&&(e.j41(0,"h4",61),e.EFF(1),e.k0s()),2&z){const L=e.XpG(2);e.R7$(),e.JRh(L.swapStatus&&L.swapStatus.error?L.swapDirectionCaption+" failed.":L.swapStatus&&L.swapStatus.id?L.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":L.swapDirectionCaption+" request placed successfully.")}}function Eh(z,F){if(1&z){const L=e.RV6();e.j41(0,"button",62),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return p.Njj(Y.onRestart())}),e.EFF(1,"Start Again"),e.k0s()}}function wh(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",4)(1,"div",5)(2,"mat-card-header",6)(3,"div",7)(4,"span",8),e.EFF(5),e.k0s()(),e.j41(6,"div",9)(7,"button",10),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.showInfo())}),e.EFF(8,"?"),e.k0s(),e.j41(9,"button",11),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.onClose())}),e.EFF(10,"X"),e.k0s()()(),e.j41(11,"mat-card-content",12)(12,"div",13)(13,"mat-vertical-stepper",14,1),e.bIt("selectionChange",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.stepSelectionChanged(Y))}),e.j41(15,"mat-step",15)(16,"form",16),e.DNE(17,b1,1,1,"ng-template",17),e.j41(18,"div",18),e.nrm(19,"rtl-boltz-service-info",19),e.k0s(),e.j41(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),e.EFF(23,"Amount"),e.k0s(),e.nrm(24,"input",22),e.j41(25,"mat-hint"),e.EFF(26),e.nI1(27,"number"),e.nI1(28,"number"),e.k0s(),e.j41(29,"span",23),e.EFF(30,"Sats"),e.k0s(),e.DNE(31,eu,2,0,"mat-error",24)(32,ph,3,3,"mat-error",24)(33,gh,3,3,"mat-error",24),e.k0s(),e.DNE(34,x1,6,0,"div",25)(35,_h,6,0,"div",25),e.j41(36,"div",26)(37,"mat-form-field",27)(38,"mat-label"),e.EFF(39,"Refund Address"),e.k0s(),e.nrm(40,"input",28),e.j41(41,"mat-hint"),e.EFF(42,"The address where funds will be returned in case of a failed swap"),e.k0s(),e.DNE(43,td,2,0,"mat-error",24),e.k0s()()(),e.j41(44,"div",29),e.DNE(45,Lc,2,0,"button",30)(46,vh,2,1,"button",31),e.k0s()()(),e.DNE(47,bh,17,6,"mat-step",32),e.j41(48,"mat-step",33)(49,"form",16),e.DNE(50,tu,1,1,"ng-template",17),e.j41(51,"div",34)(52,"mat-expansion-panel",35)(53,"mat-expansion-panel-header")(54,"mat-panel-title")(55,"span",36),e.EFF(56),e.DNE(57,C1,2,1,"mat-icon",37),e.k0s()()(),e.DNE(58,xh,1,0,"div",38),e.k0s(),e.DNE(59,Ch,1,0,"mat-progress-bar",39),e.k0s(),e.DNE(60,Mh,2,1,"h4",40),e.j41(61,"div",29),e.DNE(62,Eh,2,0,"button",41),e.k0s()()()(),e.j41(63,"div",42)(64,"button",43),e.EFF(65,"Close"),e.k0s()()()()()()}if(2&z){const L=e.XpG(),H=e.sdS(2);e.Y8G("@opacityAnimation",void 0),e.R7$(3),e.Y8G("ngClass",L.screenSize===L.screenSizeEnum.XS||L.screenSize===L.screenSizeEnum.SM?"flex-83":"flex-91"),e.R7$(2),e.JRh(L.swapDirectionCaption),e.R7$(),e.Y8G("ngClass",L.screenSize===L.screenSizeEnum.XS||L.screenSize===L.screenSizeEnum.SM?"flex-17":"flex-9"),e.R7$(7),e.Y8G("linear",!0),e.R7$(2),e.Y8G("stepControl",L.inputFormGroup)("editable",L.flgEditable),e.R7$(),e.Y8G("formGroup",L.inputFormGroup),e.R7$(3),e.Y8G("serviceInfo",L.serviceInfo)("direction",L.direction),e.R7$(5),e.Y8G("step",1e3),e.R7$(2),e.Lme("Range: ",e.bMT(27,34,null==L.serviceInfo||null==L.serviceInfo.limits?null:L.serviceInfo.limits.minimal),"-",e.bMT(28,36,null==L.serviceInfo||null==L.serviceInfo.limits?null:L.serviceInfo.limits.maximal)),e.R7$(5),e.Y8G("ngIf",null==L.inputFormGroup||null==L.inputFormGroup.controls||null==L.inputFormGroup.controls.amount||null==L.inputFormGroup.controls.amount.errors?null:L.inputFormGroup.controls.amount.errors.required),e.R7$(),e.Y8G("ngIf",null==L.inputFormGroup||null==L.inputFormGroup.controls||null==L.inputFormGroup.controls.amount||null==L.inputFormGroup.controls.amount.errors?null:L.inputFormGroup.controls.amount.errors.min),e.R7$(),e.Y8G("ngIf",null==L.inputFormGroup||null==L.inputFormGroup.controls||null==L.inputFormGroup.controls.amount||null==L.inputFormGroup.controls.amount.errors?null:L.inputFormGroup.controls.amount.errors.max),e.R7$(),e.Y8G("ngIf",L.direction===L.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",L.direction===L.swapTypeEnum.SWAP_IN&&L.isSendFromInternalCompatible),e.R7$(5),e.Y8G("required",!(null!=L.inputFormGroup&&null!=L.inputFormGroup.controls&&L.inputFormGroup.controls.sendFromInternal.value)),e.R7$(3),e.Y8G("ngIf",null==L.inputFormGroup||null==L.inputFormGroup.controls||null==L.inputFormGroup.controls.refundAddress||null==L.inputFormGroup.controls.refundAddress.errors?null:L.inputFormGroup.controls.refundAddress.errors.required),e.R7$(2),e.Y8G("ngIf",L.direction===L.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",L.direction===L.swapTypeEnum.SWAP_IN),e.R7$(),e.Y8G("ngIf",L.direction===L.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("stepControl",L.statusFormGroup),e.R7$(),e.Y8G("formGroup",L.statusFormGroup),e.R7$(3),e.Y8G("expanded",!!L.swapStatus),e.R7$(4),e.JRh(L.swapStatus?L.swapStatus.id?L.swapDirectionCaption+" request details":L.swapDirectionCaption+" error details":"Waiting for "+L.swapDirectionCaption+" request..."),e.R7$(),e.Y8G("ngIf",L.swapStatus),e.R7$(),e.Y8G("ngIf",!L.swapStatus)("ngIfElse",H),e.R7$(),e.Y8G("ngIf",!L.swapStatus),e.R7$(),e.Y8G("ngIf",L.swapStatus),e.R7$(2),e.Y8G("ngIf",L.swapStatus&&(L.swapStatus.error||!L.swapStatus.id)),e.R7$(2),e.Y8G("mat-dialog-close",!1)}}function Sh(z,F){if(1&z&&e.nrm(0,"rtl-boltz-swap-status",63),2&z){const L=e.XpG();e.Y8G("swapStatus",L.swapStatus)("direction",L.direction)("acceptZeroConf",null==L.inputFormGroup||null==L.inputFormGroup.controls?null:L.inputFormGroup.controls.acceptZeroConf.value)("sendFromInternal",null==L.inputFormGroup||null==L.inputFormGroup.controls?null:L.inputFormGroup.controls.sendFromInternal.value)}}function E0(z,F){if(1&z){const L=e.RV6();e.j41(0,"rtl-boltz-swapout-info-graphics",79),e.mxI("stepNumberChange",function(Y){p.eBV(L);const ie=e.XpG(2);return e.DH7(ie.stepNumber,Y)||(ie.stepNumber=Y),p.Njj(Y)}),e.k0s()}if(2&z){const L=e.XpG(2);e.Y8G("animationDirection",L.animationDirection),e.R50("stepNumber",L.stepNumber)}}function b4(z,F){if(1&z){const L=e.RV6();e.j41(0,"rtl-boltz-swapin-info-graphics",79),e.mxI("stepNumberChange",function(Y){p.eBV(L);const ie=e.XpG(2);return e.DH7(ie.stepNumber,Y)||(ie.stepNumber=Y),p.Njj(Y)}),e.k0s()}if(2&z){const L=e.XpG(2);e.Y8G("animationDirection",L.animationDirection),e.R50("stepNumber",L.stepNumber)}}function w0(z,F){if(1&z){const L=e.RV6();e.j41(0,"span",80),e.bIt("click",function(){const Y=p.eBV(L).$implicit,ie=e.XpG(2);return p.Njj(ie.onStepChanged(Y))}),e.nrm(1,"p",81),e.k0s()}if(2&z){const L=F.$implicit,H=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.l_i(1,M0,H.stepNumber===L,H.stepNumber!==L))}}function iu(z,F){if(1&z){const L=e.RV6();e.j41(0,"button",82),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return p.Njj(Y.onReadMore())}),e.EFF(1,"Read More"),e.k0s()}}function M1(z,F){if(1&z){const L=e.RV6();e.j41(0,"button",83),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return p.Njj(Y.onStepChanged(4))}),e.EFF(1,"Back"),e.k0s()}}function Th(z,F){if(1&z){const L=e.RV6();e.j41(0,"button",84),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return Y.flgShowInfo=!1,p.Njj(Y.stepNumber=1)}),e.EFF(1,"Close"),e.k0s()}}function Dh(z,F){if(1&z){const L=e.RV6();e.j41(0,"button",85),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return Y.flgShowInfo=!1,p.Njj(Y.stepNumber=1)}),e.EFF(1,"Close"),e.k0s()}}function nu(z,F){if(1&z){const L=e.RV6();e.j41(0,"button",86),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return p.Njj(Y.onStepChanged(Y.stepNumber-1))}),e.EFF(1,"Back"),e.k0s()}}function au(z,F){if(1&z){const L=e.RV6();e.j41(0,"button",87),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(2);return p.Njj(Y.onStepChanged(Y.stepNumber+1))}),e.EFF(1,"Next"),e.k0s()}}function Ah(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",64)(1,"div",18)(2,"mat-card-header",65)(3,"div",66),e.nrm(4,"span",8),e.k0s(),e.j41(5,"div",67)(6,"button",11),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return Y.flgShowInfo=!1,p.Njj(Y.stepNumber=1)}),e.EFF(7,"X"),e.k0s()()(),e.j41(8,"mat-card-content",68),e.DNE(9,E0,1,2,"rtl-boltz-swapout-info-graphics",69)(10,b4,1,2,"rtl-boltz-swapin-info-graphics",69),e.k0s(),e.j41(11,"div",70),e.DNE(12,w0,2,4,"span",71),e.k0s(),e.j41(13,"div",72),e.DNE(14,iu,2,0,"button",73)(15,M1,2,0,"button",74)(16,Th,2,0,"button",75)(17,Dh,2,0,"button",76)(18,nu,2,0,"button",77)(19,au,2,0,"button",78),e.k0s()()()}if(2&z){const L=e.XpG();e.Y8G("@opacityAnimation",void 0),e.R7$(9),e.Y8G("ngIf",L.direction===L.swapTypeEnum.SWAP_OUT),e.R7$(),e.Y8G("ngIf",L.direction===L.swapTypeEnum.SWAP_IN),e.R7$(2),e.Y8G("ngForOf",e.lJ4(10,q2)),e.R7$(2),e.Y8G("ngIf",5===L.stepNumber),e.R7$(),e.Y8G("ngIf",5===L.stepNumber),e.R7$(),e.Y8G("ngIf",5===L.stepNumber),e.R7$(),e.Y8G("ngIf",L.stepNumber<5),e.R7$(),e.Y8G("ngIf",L.stepNumber>1&&L.stepNumber<5),e.R7$(),e.Y8G("ngIf",L.stepNumber<5)}}let Lh=(()=>{var z;class F{constructor(H,Y,ie,et,Bt,$t,Ei){this.dialogRef=H,this.data=Y,this.boltzService=ie,this.formBuilder=et,this.decimalPipe=Bt,this.logger=$t,this.commonService=Ei,this.faInfoCircle=Mn.iW_,this.boltzInfo=null,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=ot.Bd,this.direction=ot.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=ot.f7,this.animationDirection="forward",this.flgEditable=!0,this.isSendFromInternalCompatible=!0,this.unSubs=[new hn.B,new hn.B,new hn.B,new hn.B,new hn.B,new hn.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||ot.Bd.SWAP_OUT,this.swapDirectionCaption=this.direction===ot.Bd.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[cn.k0.required,cn.k0.min(this.serviceInfo.limits?.minimal||0),cn.k0.max(this.serviceInfo.limits?.maximal||0)]],acceptZeroConf:[!1],sendFromInternal:[!0],refundAddress:[{value:"",disabled:!0}]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[cn.k0.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.boltzService.boltzInfoChanged.pipe((0,wn.Q)(this.unSubs[0])).subscribe({next:H=>{this.boltzInfo=H,this.isSendFromInternalCompatible=this.commonService.isVersionCompatible(this.boltzInfo.version,"2.0.0")},error:H=>{this.boltzInfo={version:"2.0.0"},this.logger.error(H)}})}ngAfterViewInit(){this.direction===ot.Bd.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===ot.Bd.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,wn.Q)(this.unSubs[1])).subscribe(H=>{this.addressFormGroup.setErrors({Invalid:!0})}),this.direction===ot.Bd.SWAP_IN&&this.inputFormGroup.controls.sendFromInternal.valueChanges.pipe((0,wn.Q)(this.unSubs[4])).subscribe(()=>{this.onSendFromInternalChange()})}onSendFromInternalChange(){this.inputFormGroup.controls.sendFromInternal.value?(this.inputFormGroup.controls.refundAddress.disable(),this.inputFormGroup.controls.refundAddress.clearValidators(),this.inputFormGroup.controls.refundAddress.updateValueAndValidity()):(this.inputFormGroup.controls.refundAddress.enable(),this.inputFormGroup.controls.refundAddress.setValidators([cn.k0.required]),this.inputFormGroup.controls.refundAddress.updateValueAndValidity())}onAddressTypeChange(H){"external"===H.value?(this.addressFormGroup.controls.address.setValidators([cn.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===ot.Bd.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;if(this.flgEditable=!1,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===ot.Bd.SWAP_IN){const H=this.inputFormGroup.controls.sendFromInternal.value?null:this.inputFormGroup.controls.refundAddress.value,Y=this.isSendFromInternalCompatible?this.inputFormGroup.controls.sendFromInternal.value:null;if(!Y&&!H)return this.stepper.selected?.stepControl.setErrors({Invalid:!0}),void(this.flgEditable=!0);this.boltzService.swapIn(this.inputFormGroup.controls.amount.value,Y,H).pipe((0,wn.Q)(this.unSubs[2])).subscribe({next:ie=>{this.swapStatus=ie,this.boltzService.listSwaps(),this.flgEditable=!0},error:ie=>{this.swapStatus={error:ie},this.flgEditable=!0,this.logger.error(ie)}})}else this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",this.inputFormGroup.controls.acceptZeroConf.value).pipe((0,wn.Q)(this.unSubs[3])).subscribe({next:Y=>{this.swapStatus=Y,this.boltzService.listSwaps(),this.flgEditable=!0},error:Y=>{this.swapStatus={error:Y},this.flgEditable=!0,this.logger.error(Y)}})}stepSelectionChanged(H){switch(H.selectedIndex){case 0:default:this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address";break;case 1:if(this.inputFormGroup.controls.amount.value)if(this.direction===ot.Bd.SWAP_IN){let Y=this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Send from Internal Wallet: "+(this.inputFormGroup.controls.sendFromInternal.value?"Yes":"No");!this.inputFormGroup.controls.sendFromInternal.value&&this.inputFormGroup.controls.refundAddress.value&&(Y+=" | Refund Address: "+this.inputFormGroup.controls.refundAddress.value),this.inputFormLabel=Y}else this.inputFormLabel=this.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats | Zero Conf: "+(this.inputFormGroup.controls.acceptZeroConf.value?"Yes":"No");else this.inputFormLabel="Amount to "+this.swapDirectionCaption;this.addressFormLabel="Withdrawal Address"}H.selectedIndex<H.previouslySelectedIndex&&H.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===ot.Bd.SWAP_IN?window.open("https://docs.boltz.exchange/en/latest/lifecycle/#normal-submarine-swaps","_blank"):window.open("https://docs.boltz.exchange/en/latest/lifecycle/#reverse-submarine-swaps","_blank"),this.onClose()}onStepChanged(H){this.animationDirection=H<this.stepNumber?"backward":"forward",this.stepNumber=H}onRestart(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.serviceInfo.limits?.minimal,acceptZeroConf:!1,sendFromInternal:!0,refundAddress:""}),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable(),this.swapStatus=null}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU($a.CP),e.rXU($a.Vh),e.rXU(Tc),e.rXU(cn.ze),e.rXU(c.QX),e.rXU(ir.gP),e.rXU(qs.h))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(Y,ie){if(1&Y&&e.GBs(y4,5),2&Y){let et;e.mGM(et=e.lsd())&&(ie.stepper=et.first)}},standalone:!1,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,"ngClass"],[1,"page-title"],["fxLayoutAlign","end end",3,"ngClass"],["tabindex","21","mat-button","",1,"btn-close-x","p-0",3,"click"],["tabindex","22","mat-button","",1,"btn-close-x","p-0",3,"click"],[1,"padding-gap-x-large"],["fxLayout","column"],[3,"selectionChange","linear"],[3,"stepControl","editable"],["fxLayout","column","fxLayoutAlign","start","fxLayoutAlign.gt-sm","space-between",1,"my-1",3,"formGroup"],["matStepLabel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[3,"serviceInfo","direction"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between center",1,"mt-1"],["fxLayout","column","fxFlex","48"],["autoFocus","","matInput","","type","number","tabindex","1","formControlName","amount","required","",3,"step"],["matSuffix",""],[4,"ngIf"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch",4,"ngIf"],["disabled","direction === swapTypeEnum.SWAP_IN && isSendFromInternalCompatible && !inputFormGroup?.controls?.sendFromInternal.value","fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"mt-1"],["fxLayout","column","fxFlex","100"],["matInput","","type","text","tabindex","3","formControlName","refundAddress",3,"required"],["fxLayout","row","fxLayoutAlign","start center","fxFlex","100",1,"mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext","",4,"ngIf"],["mat-button","","color","primary","tabindex","3","type","button",3,"click",4,"ngIf"],[3,"stepControl","editable",4,"ngIf"],[3,"stepControl"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch"],["fxFlex","100",1,"flat-expansion-panel",3,"expanded"],["fxLayoutAlign","start center","fxFlex","100"],["class","ml-1 icon-small",4,"ngIf"],[4,"ngIf","ngIfElse"],["fxFlex","100","color","primary","mode","indeterminate",4,"ngIf"],["fxLayoutAlign","start","class","font-bold-500 mt-2",4,"ngIf"],["mat-button","","color","primary","tabindex","13","type","button",3,"click",4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end end"],["mat-button","","color","primary","tabindex","14","type","button","default","",3,"mat-dialog-close"],["fxLayout","column","fxFlex","48","fxLayoutAlign","start stretch"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","acceptZeroConf","name","acceptZeroConf"],["matTooltip","Only recommended for smaller payments, involves trust in Boltz","matTooltipPosition","above",1,"info-icon","mt-2"],["fxLayoutAlign","start center","tabindex","2","color","primary","formControlName","sendFromInternal","name","sendFromInternal"],["matTooltip","Pay from the node's onchain wallet","matTooltipPosition","above",1,"info-icon","mt-2"],["mat-button","","color","primary","tabindex","2","type","button","matStepperNext",""],["mat-button","","color","primary","tabindex","3","type","button",3,"click"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mt-1"],["color","primary","name","addressType","formControlName","addressType","fxFlex","100","fxLayoutAlign","space-between stretch",3,"change"],["fxFlex","48","tabindex","8","value","local"],["fxFlex","48","tabindex","9","value","external"],["fxLayout","column","fxFlex","100",1,"mt-1"],["matInput","","tabindex","10","formControlName","address",3,"required"],["mat-button","","color","primary","tabindex","11","type","button",3,"click"],[1,"ml-1","icon-small"],["fxFlex","100","color","primary","mode","indeterminate"],["fxLayoutAlign","start",1,"font-bold-500","mt-2"],["mat-button","","color","primary","tabindex","13","type","button",3,"click"],["fxLayout","column",3,"swapStatus","direction","acceptZeroConf","sendFromInternal"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"info-graphics-container"],["fxLayout","row","fxFlex","8","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],["fxFlex","5","fxLayoutAlign","end center"],["fxLayout","column","fxFlex","70","fxLayoutAlign","space-between center",1,"padding-gap-x-large"],["fxFlex","100",3,"animationDirection","stepNumber","stepNumberChange",4,"ngIf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","center end",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","21","fxLayoutAlign","center center","class","dots-stepper-block",3,"click",4,"ngFor","ngForOf"],["fxLayout","row","fxFlex","10","fxLayoutAlign","end end",1,"padding-gap-x-large","padding-gap-bottom-large"],["mat-button","","class","mr-1","color","primary","tabindex","15","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","16","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","17","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","18","type","button",3,"click",4,"ngIf"],["mat-button","","class","mr-1","color","primary","tabindex","19","type","button",3,"click",4,"ngIf"],["mat-button","","color","primary","tabindex","20","type","button",3,"click",4,"ngIf"],["fxFlex","100",3,"stepNumberChange","animationDirection","stepNumber"],["tabindex","21","fxLayoutAlign","center center",1,"dots-stepper-block",3,"click"],[1,"dot","tiny-dot","mr-0",3,"ngClass"],["mat-button","","color","primary","tabindex","15","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","16","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","17","type","button",3,"click"],["mat-button","","color","primary","tabindex","18","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","19","type","button",1,"mr-1",3,"click"],["mat-button","","color","primary","tabindex","20","type","button",3,"click"]],template:function(Y,ie){1&Y&&e.DNE(0,wh,66,38,"div",2)(1,Sh,1,4,"ng-template",null,0,e.C5r)(3,Ah,20,11,"div",3),2&Y&&(e.Y8G("ngIf",!ie.flgShowInfo),e.R7$(3),e.Y8G("ngIf",ie.flgShowInfo))},dependencies:[c.YU,c.Sq,c.bT,cn.qT,cn.me,cn.Q0,cn.BC,cn.cb,cn.YS,cn.j4,cn.JD,$a.tx,Hr.$z,Ea.m2,Ea.MM,Lr.GK,Lr.Z2,Lr.WN,tc.An,fo.fg,ra.rl,ra.nJ,ra.MV,ra.TL,ra.yw,$c.HM,Jr.VT,Jr._g,bn.DJ,bn.sA,bn.UI,Lo.PW,pd.sG,Xc.oV,Xo.V5,Xo.Ti,Xo.M6,Xo.F7,Pi.N,$2,v0,v4,ed,c.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:[xd.C]}}))}return z(),F})();const S0=()=>["all"],T0=z=>({"overflow-auto error-border":z,"overflow-auto":!0}),ru=()=>["no_swap"],Ic=z=>({width:z}),kc=z=>({"display-none":z});function su(z,F){if(1&z&&(e.j41(0,"mat-option",42),e.EFF(1),e.k0s()),2&z){const L=F.$implicit,H=e.XpG();e.Y8G("value",L),e.R7$(),e.JRh(H.getLabel(L))}}function D0(z,F){1&z&&e.nrm(0,"mat-progress-bar",43)}function id(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Status"),e.k0s())}function A0(z,F){if(1&z&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.JRh(H.swapStateEnum[null==L?null:L.status])}}function Sd(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Swap ID"),e.k0s())}function Ih(z,F){if(1&z&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&z){const L=F.$implicit;e.R7$(),e.JRh(null==L?null:L.id)}}function L0(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Claim Address"),e.k0s())}function Td(z,F){if(1&z&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ic,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.R7$(2),e.JRh(null==L?null:L.claimAddress)}}function x4(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Lockup Address"),e.k0s())}function C4(z,F){if(1&z&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ic,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.R7$(2),e.JRh(null==L?null:L.lockupAddress)}}function Dd(z,F){1&z&&(e.j41(0,"th",48),e.EFF(1,"Onchain Amount (Sats)"),e.k0s())}function kh(z,F){if(1&z&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&z){const L=F.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==L?null:L.onchainAmount))}}function Ad(z,F){1&z&&(e.j41(0,"th",48),e.EFF(1,"Expected Amount (Sats)"),e.k0s())}function I0(z,F){if(1&z&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&z){const L=F.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==L?null:L.expectedAmount))}}function ou(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Error"),e.k0s())}function M4(z,F){if(1&z&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ic,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.R7$(2),e.JRh(null==L?null:L.error)}}function Rh(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Private Key"),e.k0s())}function Oh(z,F){if(1&z&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ic,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.R7$(2),e.JRh(null==L?null:L.privateKey)}}function Ph(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Preimage"),e.k0s())}function Fh(z,F){if(1&z&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ic,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.R7$(2),e.JRh(null==L?null:L.preimage)}}function E4(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Redeem Script"),e.k0s())}function Nh(z,F){if(1&z&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ic,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.R7$(2),e.JRh(null==L?null:L.redeemScript)}}function Bh(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Invoice"),e.k0s())}function zh(z,F){if(1&z&&(e.j41(0,"td",45)(1,"span",46)(2,"span",47),e.EFF(3),e.k0s()()()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngStyle",e.eq3(2,Ic,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.R7$(2),e.JRh(null==L?null:L.invoice)}}function Uh(z,F){1&z&&(e.j41(0,"th",48),e.EFF(1,"Timeout Block Height"),e.k0s())}function k0(z,F){if(1&z&&(e.j41(0,"td",45)(1,"span",49),e.EFF(2),e.nI1(3,"number"),e.k0s()()),2&z){const L=F.$implicit;e.R7$(2),e.JRh(e.bMT(3,1,null==L?null:L.timeoutBlockHeight))}}function Ld(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Lockup Tx ID"),e.k0s())}function R0(z,F){if(1&z&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&z){const L=F.$implicit;e.R7$(),e.JRh(null==L?null:L.lockupTransactionId)}}function E1(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Claim Tx ID"),e.k0s())}function lu(z,F){if(1&z&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&z){const L=F.$implicit;e.R7$(),e.JRh(null==L?null:L.claimTransactionId)}}function Id(z,F){1&z&&(e.j41(0,"th",44),e.EFF(1,"Refund Tx ID"),e.k0s())}function cu(z,F){if(1&z&&(e.j41(0,"td",45),e.EFF(1),e.k0s()),2&z){const L=F.$implicit;e.R7$(),e.JRh(null==L?null:L.refundTransactionId)}}function Vh(z,F){if(1&z){const L=e.RV6();e.j41(0,"th",50)(1,"div",51)(2,"mat-select",52),e.nrm(3,"mat-select-trigger"),e.j41(4,"mat-option",53),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.onDownloadCSV())}),e.EFF(5,"Download CSV"),e.k0s()()()()}}function Rc(z,F){if(1&z){const L=e.RV6();e.j41(0,"td",54)(1,"button",55),e.bIt("click",function(Y){const ie=p.eBV(L).$implicit,et=e.XpG();return p.Njj(et.onSwapClick(ie,Y))}),e.EFF(2,"View Info"),e.k0s()()}}function du(z,F){if(1&z&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&z){const L=e.XpG(2);e.R7$(),e.JRh(L.emptyTableMessage)}}function uu(z,F){if(1&z&&(e.j41(0,"td",56),e.DNE(1,du,2,1,"p",57),e.k0s()),2&z){const L=e.XpG();e.R7$(),e.Y8G("ngIf",!(null!=L.listSwaps&&L.listSwaps.data)||(null==L.listSwaps||null==L.listSwaps.data?null:L.listSwaps.data.length)<1)}}function Vl(z,F){if(1&z&&e.nrm(0,"tr",58),2&z){const L=e.XpG();e.Y8G("ngClass",e.eq3(1,kc,(null==L.listSwaps?null:L.listSwaps.data)&&(null==L.listSwaps||null==L.listSwaps.data?null:L.listSwaps.data.length)>0))}}function O0(z,F){1&z&&e.nrm(0,"tr",59)}function Hh(z,F){1&z&&e.nrm(0,"tr",60)}let Gh=(()=>{var z;class F{constructor(H,Y,ie,et,Bt){this.logger=H,this.commonService=Y,this.store=ie,this.boltzService=et,this.camelCaseWithReplace=Bt,this.selectedSwapType=ot.Bd.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=ot._1,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:ot.md,sortBy:"status",sortOrder:ot.oi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:ot.md,sortBy:"status",sortOrder:ot.oi.DESCENDING},this.swapStateEnum=ot.q9,this.swapTypeEnum=ot.Bd,this.faHistory=Mn.Int,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new Ba.I6([]),this.selFilter="",this.pageSize=ot.md,this.pageSizeOptions=ot.xp,this.screenSize="",this.screenSizeEnum=ot.f7,this.unSubs=[new hn.B,new hn.B,new hn.B],this.screenSize=this.commonService.getScreenSize()}ngOnChanges(H){H.selectedSwapType&&!H.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===ot.Bd.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}ngOnInit(){this.store.select(_d.$G).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{this.tableSettingSwapOut=H.pageSettings.find(Y=>Y.pageId===this.PAGE_ID)?.tables.find(Y=>Y.tableId===this.tableSettingSwapOut.tableId)||ot.ZC.find(Y=>Y.pageId===this.PAGE_ID)?.tables.find(Y=>Y.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=H.pageSettings.find(Y=>Y.pageId===this.PAGE_ID)?.tables.find(Y=>Y.tableId===this.tableSettingSwapIn.tableId)||ot.ZC.find(Y=>Y.pageId===this.PAGE_ID)?.tables.find(Y=>Y.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===ot.Bd.SWAP_IN?(this.displayedColumns=this.screenSize===ot.f7.XS||this.screenSize===ot.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:ot.md):(this.displayedColumns=this.screenSize===ot.f7.XS||this.screenSize===ot.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:ot.md)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(H){const ie=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===ot.Bd.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(et=>et.column===H);return ie?ie.label?ie.label:this.camelCaseWithReplace.transform(ie.column,"_"):this.commonService.titleCase(H)}setFilterPredicate(){this.listSwaps.filterPredicate=(H,Y)=>{let ie="";switch(this.selFilterBy){case"all":ie=JSON.stringify(H).toLowerCase();break;case"status":ie=H?.status?this.swapStateEnum[H?.status]:"";break;default:ie=typeof H[this.selFilterBy]>"u"?"":"string"==typeof H[this.selFilterBy]?H[this.selFilterBy].toLowerCase():"boolean"==typeof H[this.selFilterBy]?H[this.selFilterBy]?"yes":"no":H[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===ie.indexOf(Y):ie.includes(Y)}}onSwapClick(H,Y){this.boltzService.swapInfo(H.id||"").pipe((0,wn.Q)(this.unSubs[1])).subscribe(ie=>{this.store.dispatch((0,Nn.xO)({payload:{data:{type:ot.A$.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:ot.q9[(ie=this.selectedSwapType===ot.Bd.SWAP_IN?ie.swap:ie.reverseSwap).status],title:"Status",width:50,type:ot.UN.STRING},{key:"id",value:ie.id,title:"ID",width:50,type:ot.UN.STRING}],[{key:"amount",value:ie.onchainAmount?ie.onchainAmount:ie.expectedAmount?ie.expectedAmount:0,title:ie.onchainAmount?"Onchain Amount (Sats)":ie.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:ot.UN.NUMBER},{key:"timeoutBlockHeight",value:ie.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:ot.UN.NUMBER}],[{key:"address",value:ie.claimAddress?ie.claimAddress:ie.lockupAddress?ie.lockupAddress:"",title:ie.claimAddress?"Claim Address":ie.lockupAddress?"Lockup Address":"Address",width:100,type:ot.UN.STRING}],[{key:"invoice",value:ie.invoice,title:"Invoice",width:100,type:ot.UN.STRING}],[{key:"privateKey",value:ie.privateKey,title:"Private Key",width:100,type:ot.UN.STRING}],[{key:"preimage",value:ie.preimage,title:"Preimage",width:100,type:ot.UN.STRING}],[{key:"redeemScript",value:ie.redeemScript,title:"Redeem Script",width:100,type:ot.UN.STRING}],[{key:"lockupTransactionId",value:ie.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:ot.UN.STRING},{key:"transactionId",value:ie.claimTransactionId?ie.claimTransactionId:ie.refundTransactionId?ie.refundTransactionId:"",title:ie.claimTransactionId?"Claim Transaction ID":ie.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:ot.UN.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(H){this.listSwaps=new Ba.I6(H?[...H]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(Y,ie)=>Y[ie]&&isNaN(Y[ie])?Y[ie].toLocaleLowerCase():Y[ie]?+Y[ie]: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===ot.Bd.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qs.h),e.rXU(qi.il),e.rXU(Tc),e.rXU(t1.VD))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-boltz-swaps"]],viewQuery:function(Y,ie){if(1&Y&&(e.GBs(Ha.B4,5),e.GBs(Mc.iy,5)),2&Y){let et;e.mGM(et=e.lsd())&&(ie.sort=et.first),e.mGM(et=e.lsd())&&(ie.paginator=et.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},standalone:!1,features:[e.Jv_([{provide:De.JO,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Mc.xX,useValue:(0,ot.on)("Swaps")}]),e.OA$],decls:76,vars:20,consts:[["table",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start start",1,"card-content-gap"],["fxLayout","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutAlign","start stretch","fxFlex","100",1,"page-sub-title-container","w-100"],["fxFlex","70"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["fxFlex.gt-xs","30","fxLayoutAlign.gt-xs","space-between center","fxLayout","row","fxLayoutAlign","space-between stretch"],["fxLayout","column","fxFlex","49"],["tabindex","1","name","filterBy",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModelChange","input","keyup","ngModel"],["fxLayout","row","fxLayoutAlign","start center",1,"w-100"],["fxFlex","100",1,"table-container",3,"perfectScrollbar"],["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",3,"matSortActive","matSortDirection","dataSource","ngClass"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","id"],["matColumnDef","claimAddress"],["matColumnDef","lockupAddress"],["matColumnDef","onchainAmount"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",4,"matHeaderCellDef"],["matColumnDef","expectedAmount"],["matColumnDef","error"],["matColumnDef","privateKey"],["matColumnDef","preimage"],["matColumnDef","redeemScript"],["matColumnDef","invoice"],["matColumnDef","timeoutBlockHeight"],["matColumnDef","lockupTransactionId"],["matColumnDef","claimTransactionId"],["matColumnDef","refundTransactionId"],["matColumnDef","actions"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","fxLayoutAlign","end center",4,"matCellDef"],["matColumnDef","no_swap"],["mat-footer-cell","","colspan","4",4,"matFooterCellDef"],["mat-footer-row","",3,"ngClass",4,"matFooterRowDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"mb-1",3,"pageSize","pageSizeOptions","hidePageSize"],[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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"div",3),e.nrm(3,"fa-icon",4),e.j41(4,"span",5),e.EFF(5),e.k0s()(),e.j41(6,"div",6)(7,"mat-form-field",7)(8,"mat-label"),e.EFF(9,"Filter By"),e.k0s(),e.j41(10,"mat-select",8),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selFilterBy,$t)||(ie.selFilterBy=$t),p.Njj($t)}),e.bIt("selectionChange",function(){return p.eBV(et),ie.selFilter="",p.Njj(ie.applyFilter())}),e.j41(11,"perfect-scrollbar"),e.DNE(12,su,2,2,"mat-option",9),e.k0s()()(),e.j41(13,"mat-form-field",7)(14,"mat-label"),e.EFF(15,"Filter"),e.k0s(),e.j41(16,"input",10),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.selFilter,$t)||(ie.selFilter=$t),p.Njj($t)}),e.bIt("input",function(){return p.eBV(et),p.Njj(ie.applyFilter())})("keyup",function(){return p.eBV(et),p.Njj(ie.applyFilter())}),e.k0s()()()(),e.j41(17,"div",11)(18,"div",12),e.DNE(19,D0,1,0,"mat-progress-bar",13),e.j41(20,"table",14,0),e.qex(22,15),e.DNE(23,id,2,0,"th",16)(24,A0,2,1,"td",17),e.bVm(),e.qex(25,18),e.DNE(26,Sd,2,0,"th",16)(27,Ih,2,1,"td",17),e.bVm(),e.qex(28,19),e.DNE(29,L0,2,0,"th",16)(30,Td,4,4,"td",17),e.bVm(),e.qex(31,20),e.DNE(32,x4,2,0,"th",16)(33,C4,4,4,"td",17),e.bVm(),e.qex(34,21),e.DNE(35,Dd,2,0,"th",22)(36,kh,4,3,"td",17),e.bVm(),e.qex(37,23),e.DNE(38,Ad,2,0,"th",22)(39,I0,4,3,"td",17),e.bVm(),e.qex(40,24),e.DNE(41,ou,2,0,"th",16)(42,M4,4,4,"td",17),e.bVm(),e.qex(43,25),e.DNE(44,Rh,2,0,"th",16)(45,Oh,4,4,"td",17),e.bVm(),e.qex(46,26),e.DNE(47,Ph,2,0,"th",16)(48,Fh,4,4,"td",17),e.bVm(),e.qex(49,27),e.DNE(50,E4,2,0,"th",16)(51,Nh,4,4,"td",17),e.bVm(),e.qex(52,28),e.DNE(53,Bh,2,0,"th",16)(54,zh,4,4,"td",17),e.bVm(),e.qex(55,29),e.DNE(56,Uh,2,0,"th",22)(57,k0,4,3,"td",17),e.bVm(),e.qex(58,30),e.DNE(59,Ld,2,0,"th",16)(60,R0,2,1,"td",17),e.bVm(),e.qex(61,31),e.DNE(62,E1,2,0,"th",16)(63,lu,2,1,"td",17),e.bVm(),e.qex(64,32),e.DNE(65,Id,2,0,"th",16)(66,cu,2,1,"td",17),e.bVm(),e.qex(67,33),e.DNE(68,Vh,6,0,"th",34)(69,Rc,3,0,"td",35),e.bVm(),e.qex(70,36),e.DNE(71,uu,2,1,"td",37),e.bVm(),e.DNE(72,Vl,1,3,"tr",38)(73,O0,1,0,"tr",39)(74,Hh,1,0,"tr",40),e.k0s(),e.nrm(75,"mat-paginator",41),e.k0s()()()}2&Y&&(e.R7$(3),e.Y8G("icon",ie.faHistory),e.R7$(2),e.SpI("",ie.swapCaption," History"),e.R7$(5),e.R50("ngModel",ie.selFilterBy),e.R7$(2),e.Y8G("ngForOf",e.lJ4(16,S0).concat(ie.displayedColumns.slice(0,-1))),e.R7$(4),e.R50("ngModel",ie.selFilter),e.R7$(3),e.Y8G("ngIf",!0===ie.flgLoading[0]),e.R7$(),e.Y8G("matSortActive",ie.selectedSwapType===ie.swapTypeEnum.SWAP_IN?ie.tableSettingSwapIn.sortBy:ie.tableSettingSwapOut.sortBy)("matSortDirection",ie.selectedSwapType===ie.swapTypeEnum.SWAP_IN?ie.tableSettingSwapIn.sortOrder:ie.tableSettingSwapOut.sortOrder)("dataSource",ie.listSwaps)("ngClass",e.eq3(17,T0,"error"===ie.flgLoading[0])),e.R7$(52),e.Y8G("matFooterRowDef",e.lJ4(19,ru)),e.R7$(),e.Y8G("matHeaderRowDef",ie.displayedColumns),e.R7$(),e.Y8G("matRowDefColumns",ie.displayedColumns),e.R7$(),e.Y8G("pageSize",ie.pageSize)("pageSizeOptions",ie.pageSizeOptions)("hidePageSize",ie.screenSize!==ie.screenSizeEnum.XS))},dependencies:[c.YU,c.Sq,c.bT,c.B3,cn.me,cn.BC,cn.vS,Tr.aY,Hr.$z,fo.fg,ra.rl,ra.nJ,$c.HM,bn.DJ,bn.sA,bn.UI,Lo.PW,Lo.eI,De.VO,De.$2,pt.wT,Ha.B4,Ha.aE,Ba.Zl,Ba.tL,Ba.ji,Ba.cC,Ba.YV,Ba.iL,Ba.Zq,Ba.xW,Ba.KS,Ba.$R,Ba.Qo,Ba.YZ,Ba.NB,Ba.iF,Mc.iy,Yt.ZF,Yt.Ld,c.QX],encapsulation:2}))}return z(),F})();const kd=z=>["../",z];function hu(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",16),e.bIt("click",function(){const Y=p.eBV(L).$implicit,ie=e.XpG();return p.Njj(ie.onSelectedIndexChange(Y))}),e.EFF(1),e.k0s()}if(2&z){const L=F.$implicit,H=e.XpG();e.Y8G("active",H.activeTab.link===L.link)("routerLink",e.eq3(3,kd,L.link)),e.R7$(),e.JRh(L.name)}}let jh=(()=>{var z;class F{constructor(H,Y,ie){this.router=H,this.store=Y,this.boltzService=ie,this.swapTypeEnum=ot.Bd,this.selectedSwapType=ot.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 hn.B,new hn.B,new hn.B,new hn.B]}ngOnInit(){this.boltzService.getBoltzInfo(),this.boltzService.listSwaps();const H=this.links.find(Y=>this.router.url.includes(Y.link));this.activeTab=H||this.links[0],this.selectedSwapType=H&&"swapin"===H.link?ot.Bd.SWAP_IN:ot.Bd.SWAP_OUT,this.router.events.pipe((0,wn.Q)(this.unSubs[0]),(0,cr.p)(Y=>Y instanceof Ja.gx)).subscribe({next:Y=>{const ie=this.links.find(et=>Y.urlAfterRedirects.includes(et.link));this.activeTab=ie||this.links[0],this.selectedSwapType=ie&&"swapin"===ie.link?ot.Bd.SWAP_IN:ot.Bd.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,wn.Q)(this.unSubs[1])).subscribe({next:Y=>{this.swaps=Y,this.swapsData=this.selectedSwapType===ot.Bd.SWAP_IN&&Y.swaps?Y.swaps:this.selectedSwapType===ot.Bd.SWAP_OUT&&Y.reverseSwaps?Y.reverseSwaps:[],this.flgLoading[0]=!1},error:Y=>{this.flgLoading[0]="error",this.emptyTableMessage=Y.message?Y.message:"No swap "+(this.selectedSwapType===ot.Bd.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(H){"swapin"===H.link?(this.selectedSwapType=ot.Bd.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=ot.Bd.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(H){this.boltzService.serviceInfo().pipe((0,wn.Q)(this.unSubs[2])).subscribe({next:Y=>{this.store.dispatch((0,Nn.xO)({payload:{data:{serviceInfo:Y,direction:H,component:Lh}}}))}})}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(Ja.Ix),e.rXU(qi.il),e.rXU(Tc))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-boltz-root"]],standalone:!1,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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",1),p.qSk(),e.j41(1,"svg",2)(2,"g",3)(3,"g",4),e.nrm(4,"circle",5)(5,"path",6)(6,"path",7),e.k0s()()(),p.joV(),e.j41(7,"span",8),e.EFF(8,"Boltz"),e.k0s()(),e.j41(9,"div",9)(10,"mat-card")(11,"mat-card-content",10)(12,"nav",11),e.DNE(13,hu,2,5,"div",12),e.k0s(),e.nrm(14,"mat-tab-nav-panel",null,0),e.j41(16,"div",13)(17,"button",14),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onSwap(ie.selectedSwapType))}),e.EFF(18),e.k0s()(),e.nrm(19,"rtl-boltz-swaps",15),e.k0s()()()}if(2&Y){const et=e.sdS(15);e.R7$(12),e.Y8G("tabPanel",et),e.R7$(),e.Y8G("ngForOf",ie.links),e.R7$(5),e.SpI("Start ",ie.activeTab.name),e.R7$(),e.Y8G("selectedSwapType",ie.selectedSwapType)("swapsData",ie.swapsData)("flgLoading",ie.flgLoading)("emptyTableMessage",ie.emptyTableMessage)}},dependencies:[c.Sq,Hr.$z,Ea.RN,Ea.m2,bn.DJ,bn.sA,bn.UI,Dr.Bu,Dr.hQ,Dr.Ql,Wo.Wk,Gh],encapsulation:2}))}return z(),F})();class Ms{constructor(F){this.help=F}}function F0(z,F){if(1&z&&(e.j41(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e.EFF(3),e.k0s()(),e.j41(4,"mat-panel-description",9),e.nrm(5,"span",10),e.j41(6,"a",11),e.EFF(7),e.k0s()()()),2&z){const L=e.XpG().$implicit,H=e.XpG();e.R7$(3),e.JRh(L.help.question),e.R7$(2),e.Y8G("innerHTML",L.help.answer,e.npT),e.R7$(),e.Y8G("routerLink",H.flgLoggedIn?L.help.link:"/login"),e.R7$(),e.JRh(H.flgLoggedIn?L.help.linkCaption:"Login to go to the page")}}function N0(z,F){if(1&z&&(e.j41(0,"div",6),e.DNE(1,F0,8,4,"mat-expansion-panel",7),e.k0s()),2&z){const L=F.$implicit,H=e.XpG();e.R7$(),e.Y8G("ngIf","ALL"===L.help.lnImplementation||L.help.lnImplementation===H.selNode.lnImplementation)}}let Xh=(()=>{var z;class F{constructor(H,Y){this.store=H,this.sessionService=Y,this.helpTopics=[],this.faQuestion=Mn.EvL,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new hn.B,new hn.B,new hn.B,new hn.B]}ngOnInit(){this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{this.selNode=H,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,wn.Q)(this.unSubs[1])).subscribe(H=>{this.flgLoggedIn=!!H.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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 Ms({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(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(qi.il),e.rXU(Ti.Q))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-help"]],standalone:!1,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(Y,ie){1&Y&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"fa-icon",2),e.j41(3,"span",3),e.EFF(4,"Help"),e.k0s()(),e.j41(5,"div",4)(6,"div",0),e.DNE(7,N0,2,1,"div",5),e.k0s()()()),2&Y&&(e.R7$(2),e.Y8G("icon",ie.faQuestion),e.R7$(5),e.Y8G("ngForOf",ie.helpTopics))},dependencies:[c.Sq,c.bT,Tr.aY,Lr.GK,Lr.Z2,Lr.WN,Lr.Q6,bn.DJ,bn.sA,bn.UI,Wo.Wk],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]}))}return z(),F})();var B0=l(84572);function w4(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Token is required."),e.k0s())}let fu=(()=>{var z;class F{constructor(H,Y){this.dialogRef=H,this.store=Y,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Nn.R$)({payload:{twoFAToken:this.token}}))}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU($a.CP),e.rXU(qi.il))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-login-token"]],standalone:!1,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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card-header",3)(3,"div",4)(4,"span",5),e.EFF(5,"Two Factor Token"),e.k0s()(),e.j41(6,"button",6),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onClose())}),e.EFF(7,"X"),e.k0s()(),e.j41(8,"mat-card-content",7)(9,"form",8,0),e.bIt("ngSubmit",function(){return p.eBV(et),p.Njj(ie.onVerifyToken())}),e.j41(11,"mat-form-field")(12,"mat-label"),e.EFF(13,"Token"),e.k0s(),e.j41(14,"input",9),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.token,$t)||(ie.token=$t),p.Njj($t)}),e.k0s(),e.DNE(15,w4,2,0,"mat-error",10),e.k0s(),e.j41(16,"div",11)(17,"button",12),e.EFF(18,"Verify Token"),e.k0s()()()()()()}2&Y&&(e.R7$(14),e.R50("ngModel",ie.token),e.R7$(),e.Y8G("ngIf",!ie.token))},dependencies:[c.bT,cn.qT,cn.me,cn.BC,cn.cb,cn.YS,cn.vS,cn.cV,Hr.$z,Ea.m2,Ea.MM,fo.fg,ra.rl,ra.nJ,ra.TL,bn.DJ,bn.sA,bn.UI,Pi.N],encapsulation:2}))}return z(),F})();const mu=z=>({"padding-gap-large":z}),w1=(z,F)=>({"font-size-200":z,"font-size-300":F});function Kh(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Password is required."),e.k0s())}function S4(z,F){if(1&z&&(e.j41(0,"p",21)(1,"mat-icon",22),e.EFF(2,"close"),e.k0s(),e.EFF(3),e.k0s()),2&z){const L=e.XpG();e.R7$(3),e.SpI(" ",L.loginErrorMessage," ")}}function S1(z,F){if(1&z&&(e.j41(0,"p",23)(1,"mat-icon",22),e.EFF(2,"close"),e.k0s(),e.EFF(3),e.k0s()),2&z){const L=e.XpG();e.R7$(3),e.SpI(" ",L.logoutReason," ")}}let T4=(()=>{var z;class F{constructor(H,Y,ie,et,Bt){this.actions=H,this.logger=Y,this.store=ie,this.rtlEffects=et,this.commonService=Bt,this.faUnlockAlt=Mn.HEq,this.logoutReason="",this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=ot.f7,this.loginErrorMessage="",this.apiCallStatusEnum=ot.wn,this.unSubs=[new hn.B,new hn.B,new hn.B]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,B0.z)([this.store.select(Va.Kq),this.store.select(Va.E2)]).pipe((0,wn.Q)(this.unSubs[0])).subscribe(([H,Y])=>{this.loginErrorMessage="",H.status===ot.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof H.message?JSON.stringify(H.message):H.message),this.logger.error(H.message)),Y.status===ot.wn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof Y.message?JSON.stringify(Y.message):Y.message),this.logger.error(Y.message))}),this.store.select(Va.qv).pipe((0,wn.Q)(this.unSubs[1])).subscribe(H=>{this.appConfig=H,this.logger.info(H)}),this.actions.pipe((0,cr.p)(H=>H.type===ot.aU.LOGOUT),(0,js.s)(1)).subscribe(H=>{this.logoutReason=H.payload})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.logoutReason="",this.appConfig.enable2FA?(this.store.dispatch((0,Nn.xO)({payload:{maxWidth:"35rem",data:{component:fu}}})),this.rtlEffects.closeAlert.pipe((0,js.s)(1)).subscribe(H=>{H&&this.store.dispatch((0,Nn.iD)({payload:{password:Ar(this.password),defaultPassword:ot.Ah.includes(this.password.toLowerCase()),twoFAToken:H.twoFAToken}}))})):this.store.dispatch((0,Nn.iD)({payload:{password:Ar(this.password),defaultPassword:ot.Ah.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.logoutReason="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(Fo.En),e.rXU(ir.gP),e.rXU(qi.il),e.rXU(ms.H),e.rXU(qs.h))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-login"]],standalone:!1,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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",1)(1,"div",2)(2,"mat-card",3)(3,"div",4)(4,"div",5),e.nrm(5,"img",6),e.k0s(),e.j41(6,"div",7)(7,"mat-card-header",8)(8,"mat-card-title",9)(9,"span",10),e.EFF(10,"Welcome"),e.k0s()()(),e.j41(11,"mat-card-content",11)(12,"form",12,0)(14,"mat-form-field")(15,"mat-label"),e.EFF(16,"Password"),e.k0s(),e.j41(17,"input",13),e.mxI("ngModelChange",function($t){return p.eBV(et),e.DH7(ie.password,$t)||(ie.password=$t),p.Njj($t)}),e.k0s(),e.j41(18,"button",14),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.flgShow=!ie.flgShow)}),e.j41(19,"mat-icon"),e.EFF(20),e.k0s()(),e.DNE(21,Kh,2,0,"mat-error",15),e.k0s(),e.DNE(22,S4,4,1,"p",16)(23,S1,4,1,"p",17),e.j41(24,"div",18)(25,"button",19),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.resetData())}),e.EFF(26,"Clear"),e.k0s(),e.j41(27,"button",20),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onLogin())}),e.EFF(28,"Login"),e.k0s()()()()()()()()()}2&Y&&(e.R7$(6),e.Y8G("ngClass",e.eq3(9,mu,ie.screenSize===ie.screenSizeEnum.XS)),e.R7$(2),e.Y8G("ngClass",e.l_i(11,w1,ie.screenSize===ie.screenSizeEnum.XS,ie.screenSize!==ie.screenSizeEnum.XS)),e.R7$(9),e.Y8G("type",ie.flgShow?"text":"password"),e.R50("ngModel",ie.password),e.R7$(),e.BMQ("aria-label","Hide password"),e.R7$(2),e.JRh(ie.flgShow?"visibility_off":"visibility"),e.R7$(),e.Y8G("ngIf",!ie.password),e.R7$(),e.Y8G("ngIf",""!==ie.loginErrorMessage),e.R7$(),e.Y8G("ngIf",""!==ie.logoutReason))},dependencies:[c.YU,c.bT,cn.qT,cn.me,cn.BC,cn.cb,cn.YS,cn.vS,cn.cV,Hr.$z,vd.iY,Ea.RN,Ea.m2,Ea.MM,Ea.dh,tc.An,fo.fg,ra.rl,ra.nJ,ra.TL,ra.yw,bn.DJ,bn.sA,bn.UI,Lo.PW,Pi.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 z(),F})();var pu=l(90013);let D4=(()=>{var z;class F{constructor(H,Y){this.activatedRoute=H,this.router=Y,this.error={errorCode:"",errorMessage:""},this.faTimes=Mn.GRI,this.unsubs=[new hn.B,new hn.B]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,wn.Q)(this.unsubs[0])).subscribe(H=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(Ja.nX),e.rXU(Ja.Ix))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-error"]],standalone:!1,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(Y,ie){1&Y&&(e.j41(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),e.nrm(4,"fa-icon",4),e.j41(5,"span",5),e.EFF(6),e.k0s()()(),e.j41(7,"mat-card-content",6)(8,"div",7),e.EFF(9),e.k0s(),e.j41(10,"span",8)(11,"button",9),e.bIt("click",function(){return ie.goToHelp()}),e.EFF(12,"Go To Help"),e.k0s()()()()()),2&Y&&(e.R7$(4),e.Y8G("icon",ie.faTimes),e.R7$(2),e.SpI("Error ",ie.error.errorCode),e.R7$(3),e.JRh(ie.error.errorMessage))},dependencies:[Tr.aY,Hr.$z,Ea.RN,Ea.m2,Ea.MM,Ea.dh,bn.DJ,bn.sA,bn.UI],encapsulation:2}))}return z(),F})();var Is=l(17186),nd=l(51534),gu=l(60092),Yh=l(56114);const Qh=(z,F)=>({"alert-danger":z,"alert-info":F});function T1(z,F){1&z&&e.nrm(0,"span",17)}function D1(z,F){1&z&&e.nrm(0,"span",18)}function A4(z,F){if(1&z){const L=e.RV6();e.j41(0,"form",19,0)(2,"div",20),e.nrm(3,"fa-icon",4),e.j41(4,"span"),e.EFF(5,"Please ensure that "),e.j41(6,"strong"),e.EFF(7,"experimental-offers"),e.k0s(),e.EFF(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.j41(9,"strong")(10,"a",21),e.EFF(11,"here"),e.k0s()(),e.EFF(12," to learn more about Core Lightning offers."),e.k0s()(),e.j41(13,"h4",22),e.EFF(14,"Description"),e.k0s(),e.j41(15,"span"),e.EFF(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),e.k0s(),e.j41(17,"h4",22),e.EFF(18,"Links"),e.k0s(),e.j41(19,"span")(20,"a",23),e.EFF(21,"Core lightning Bolt12"),e.k0s()(),e.nrm(22,"mat-divider",24),e.j41(23,"div",25),e.nrm(24,"fa-icon",4),e.j41(25,"span"),e.EFF(26,"Do not get an Offer tattoo until spec is fully ratified!"),e.k0s()(),e.j41(27,"mat-slide-toggle",26),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG(2);return e.DH7(ie.enableOffers,Y)||(ie.enableOffers=Y),p.Njj(Y)}),e.bIt("change",function(){p.eBV(L);const Y=e.XpG(2);return p.Njj(Y.onUpdateFeature())}),e.EFF(28),e.k0s()()}if(2&z){const L=e.XpG(2);e.R7$(3),e.Y8G("icon",L.faInfoCircle),e.R7$(19),e.Y8G("inset",!0),e.R7$(2),e.Y8G("icon",L.faExclamationTriangle),e.R7$(3),e.R50("ngModel",L.enableOffers),e.R7$(),e.SpI("Enable Offers ",L.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"")}}function $h(z,F){if(1&z&&(e.j41(0,"div")(1,"div",29),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Please ensure that "),e.j41(5,"strong"),e.EFF(6,"experimental-dual-fund"),e.k0s(),e.EFF(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.j41(8,"strong")(9,"a",30),e.EFF(10,"here"),e.k0s()(),e.EFF(11," to learn more about Core Lightning Liquidity Ads."),e.k0s()()()),2&z){const L=e.XpG(3);e.R7$(2),e.Y8G("icon",L.faExclamationTriangle)}}function _u(z,F){if(1&z&&(e.j41(0,"mat-option",47),e.EFF(1),e.nI1(2,"titlecase"),e.k0s()),2&z){const L=F.$implicit;e.Y8G("value",L),e.R7$(),e.SpI(" ",e.bMT(2,2,L.id)," ")}}function vu(z,F){if(1&z&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&z){const L=e.XpG(4);e.R7$(),e.SpI("",L.selPolicyType.placeholder," is required.")}}function Zh(z,F){if(1&z&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&z){const L=e.XpG(4);e.R7$(),e.Lme("",L.selPolicyType.placeholder," must be greater than or equal to ",L.selPolicyType.min,".")}}function Jh(z,F){if(1&z&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&z){const L=e.XpG(4);e.R7$(),e.Lme("",L.selPolicyType.placeholder," must be less than or equal to ",L.selPolicyType.max,".")}}function _m(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Lease base fee is required."),e.k0s())}function L4(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Lease base basis is required."),e.k0s())}function I4(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Max channel routing base fee is required."),e.k0s())}function qh(z,F){1&z&&(e.j41(0,"mat-error"),e.EFF(1,"Max channel routing fee rate is required."),e.k0s())}function yu(z,F){if(1&z&&(e.j41(0,"h4",48)(1,"span",49),e.EFF(2),e.k0s()()),2&z){const L=e.XpG(4);e.R7$(),e.Y8G("ngClass",e.l_i(2,Qh,!!L.updateMsg.error,!!L.updateMsg.data)),e.R7$(),e.SpI(" ",L.updateMsg.error&&""!==L.updateMsg.error?`Error: ${L.updateMsg.error||"Unknown Error"}`:L.updateMsg.data&&""!==L.updateMsg.data?L.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function vm(z,F){if(1&z){const L=e.RV6();e.j41(0,"div",31)(1,"div",32),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"These config changes should be configured permanently via the config file on your CLN node otherwise the policy would need to be configured again, if your node restarts."),e.k0s()(),e.j41(5,"div",33)(6,"mat-form-field",34)(7,"mat-label"),e.EFF(8,"Policy"),e.k0s(),e.j41(9,"mat-select",35),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG(3);return e.DH7(ie.selPolicyType,Y)||(ie.selPolicyType=Y),p.Njj(Y)}),e.bIt("selectionChange",function(){p.eBV(L);const Y=e.XpG(3);return p.Njj(Y.policyMod=null)}),e.DNE(10,_u,3,4,"mat-option",36),e.k0s()(),e.j41(11,"mat-form-field",37)(12,"mat-label"),e.EFF(13),e.k0s(),e.j41(14,"input",38,1),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG(3);return e.DH7(ie.policyMod,Y)||(ie.policyMod=Y),p.Njj(Y)}),e.k0s(),e.j41(16,"mat-hint"),e.EFF(17),e.k0s(),e.DNE(18,vu,2,1,"mat-error",27)(19,Zh,2,2,"mat-error",27)(20,Jh,2,2,"mat-error",27),e.k0s()(),e.j41(21,"div",33)(22,"mat-form-field",37)(23,"mat-label"),e.EFF(24,"Lease Base Fee (Sats)"),e.k0s(),e.j41(25,"input",39),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG(3);return e.DH7(ie.lease_fee_base_sat,Y)||(ie.lease_fee_base_sat=Y),p.Njj(Y)}),e.k0s(),e.DNE(26,_m,2,0,"mat-error",27),e.k0s(),e.j41(27,"mat-form-field",37)(28,"mat-label"),e.EFF(29,"Lease Base Basis (bps)"),e.k0s(),e.j41(30,"input",40),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG(3);return e.DH7(ie.lease_fee_basis,Y)||(ie.lease_fee_basis=Y),p.Njj(Y)}),e.k0s(),e.DNE(31,L4,2,0,"mat-error",27),e.k0s()(),e.j41(32,"div",33)(33,"mat-form-field",37)(34,"mat-label"),e.EFF(35,"Max Channel Routing Base Fee (Sats)"),e.k0s(),e.j41(36,"input",41),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG(3);return e.DH7(ie.channelFeeMaxBaseSat,Y)||(ie.channelFeeMaxBaseSat=Y),p.Njj(Y)}),e.k0s(),e.DNE(37,I4,2,0,"mat-error",27),e.k0s(),e.j41(38,"mat-form-field",37)(39,"mat-label"),e.EFF(40,"Max Channel Routing Fee Rate (ppm)"),e.k0s(),e.j41(41,"input",42),e.mxI("ngModelChange",function(Y){p.eBV(L);const ie=e.XpG(3);return e.DH7(ie.channelFeeMaxProportional,Y)||(ie.channelFeeMaxProportional=Y),p.Njj(Y)}),e.k0s(),e.DNE(42,qh,2,0,"mat-error",27),e.k0s()(),e.DNE(43,yu,3,5,"h4",43),e.j41(44,"div",44)(45,"button",45),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(3);return p.Njj(Y.onResetPolicy())}),e.EFF(46,"Reset"),e.k0s(),e.j41(47,"button",46),e.bIt("click",function(){p.eBV(L);const Y=e.XpG(3);return p.Njj(Y.onUpdateFundingPolicy())}),e.EFF(48,"Update"),e.k0s()()()}if(2&z){const L=e.XpG(3);e.R7$(2),e.Y8G("icon",L.faExclamationTriangle),e.R7$(7),e.R50("ngModel",L.selPolicyType),e.R7$(),e.Y8G("ngForOf",L.policyTypes),e.R7$(3),e.JRh(L.selPolicyType.placeholder),e.R7$(),e.Y8G("step","fixed"===L.selPolicyType.id?1e3:10)("min",L.selPolicyType.min)("max",L.selPolicyType.max),e.R50("ngModel",L.policyMod),e.R7$(3),e.E5c("",L.selPolicyType.placeholder," should be between ",L.selPolicyType.min," and ",L.selPolicyType.max),e.R7$(),e.Y8G("ngIf",!L.policyMod),e.R7$(),e.Y8G("ngIf",L.policyMod<L.selPolicyType.min),e.R7$(),e.Y8G("ngIf",L.policyMod>L.selPolicyType.max),e.R7$(5),e.R50("ngModel",L.lease_fee_base_sat),e.R7$(),e.Y8G("ngIf",!L.lease_fee_base_sat),e.R7$(4),e.R50("ngModel",L.lease_fee_basis),e.R7$(),e.Y8G("ngIf",!L.lease_fee_basis),e.R7$(5),e.R50("ngModel",L.channelFeeMaxBaseSat),e.R7$(),e.Y8G("ngIf",!L.channelFeeMaxBaseSat),e.R7$(4),e.R50("ngModel",L.channelFeeMaxProportional),e.R7$(),e.Y8G("ngIf",!L.channelFeeMaxProportional),e.R7$(),e.Y8G("ngIf",L.flgUpdateCalled)}}function bu(z,F){if(1&z&&(e.j41(0,"form",19,0),e.DNE(2,$h,12,1,"div",27)(3,vm,49,23,"div",28),e.k0s()),2&z){const L=e.XpG(2);e.R7$(2),e.Y8G("ngIf",!L.features[1].enabled),e.R7$(),e.Y8G("ngIf",L.features[1].enabled)}}function k4(z,F){if(1&z){const L=e.RV6();e.j41(0,"mat-expansion-panel",10),e.bIt("opened",function(){const Y=p.eBV(L).index,ie=e.XpG();return p.Njj(ie.onPanelExpanded(Y))}),e.j41(1,"mat-expansion-panel-header")(2,"mat-panel-title",11)(3,"h4",12),e.EFF(4),e.k0s(),e.j41(5,"h4",12),e.DNE(6,T1,1,0,"span",13)(7,D1,1,0,"span",14),e.EFF(8),e.k0s()()(),e.j41(9,"div",15),e.DNE(10,A4,29,5,"form",16)(11,bu,4,2,"form",16),e.k0s()()}if(2&z){const L=F.$implicit,H=F.index;e.Y8G("expanded",!1),e.R7$(4),e.JRh(L.name),e.R7$(2),e.Y8G("ngIf",L.enabled),e.R7$(),e.Y8G("ngIf",!L.enabled),e.R7$(),e.SpI(" ",L.enabled?"Enabled":"Disabled"," "),e.R7$(2),e.Y8G("ngIf",0===H),e.R7$(),e.Y8G("ngIf",1===H)}}let ym=(()=>{var z;class F{constructor(H,Y,ie,et){this.logger=H,this.store=Y,this.dataService=ie,this.commonService=et,this.faInfoCircle=Mn.iW_,this.faExclamationTriangle=Mn.zpE,this.faCode=Mn.jTw,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=ot.ul,this.selPolicyType=ot.ul[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new hn.B,new hn.B,new hn.B,new hn.B,new hn.B]}ngOnInit(){this.dataService.listConfigs().pipe((0,wn.Q)(this.unSubs[0])).subscribe({next:H=>{this.logger.info("Received List Configs: "+JSON.stringify(H)),this.features[1].enabled=!!H.configs["experimental-dual-fund"].set},error:H=>{this.logger.error("List Configs Error: "+JSON.stringify(H)),this.features[1].enabled=!1}}),this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[1])).subscribe(H=>{this.selNode=H,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(zl.Al).pipe((0,wn.Q)(this.unSubs[2])).subscribe(H=>{this.policyTypes[2].max=H.balance.totalBalance||1e3})}onPanelExpanded(H){1===H&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,wn.Q)(this.unSubs[3])).subscribe(Y=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(Y)),this.fundingPolicy=Y,this.fundingPolicy.policy&&(this.selPolicyType=ot.ul.find(ie=>ie.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,Nn.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,wn.Q)(this.unSubs[4])).subscribe({next:H=>{this.logger.info(H),this.fundingPolicy=H,this.updateMsg={data:"Compact Lease: "+H.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:H=>{this.logger.error(H),this.updateMsg={error:this.commonService.extractErrorMessage(H,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?ot.ul.find(H=>H.id===this.fundingPolicy.policy)||this.policyTypes[0]:ot.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(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qi.il),e.rXU(nd.u),e.rXU(qs.h))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-experimental-settings"]],standalone:!1,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(Y,ie){1&Y&&(e.j41(0,"div",2)(1,"div",3),e.nrm(2,"fa-icon",4),e.j41(3,"span"),e.EFF(4,"Experimental features should be enabled with caution. Many such features may be implementation specific and not ratified for the BOLT spec. Enabling these may still result in a broken experience. Referencing relevant feature documentation is highly advised before enabling."),e.k0s()(),e.j41(5,"form",5,0)(7,"div",6),e.nrm(8,"fa-icon",7),e.j41(9,"span",8),e.EFF(10,"Features"),e.k0s()(),e.j41(11,"mat-accordion"),e.DNE(12,k4,12,7,"mat-expansion-panel",9),e.k0s()()()),2&Y&&(e.R7$(2),e.Y8G("icon",ie.faInfoCircle),e.R7$(6),e.Y8G("icon",ie.faCode),e.R7$(4),e.Y8G("ngForOf",ie.features))},dependencies:[c.YU,c.Sq,c.bT,cn.qT,cn.me,cn.Q0,cn.BC,cn.cb,cn.YS,cn.VZ,cn.zX,cn.vS,cn.cV,Tr.aY,Hr.$z,Lr.BS,Lr.GK,Lr.Z2,Lr.WN,fo.fg,ra.rl,ra.nJ,ra.MV,ra.TL,Ni.q,bn.DJ,bn.sA,bn.UI,Lo.PW,De.VO,pt.wT,pd.sG,Yt.Ld,Pi.N,gu.z,Yh.V,c.PV],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}))}return z(),F})(),R4=(()=>{var z;class F{constructor(){}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-no-service-found"]],standalone:!1,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(Y,ie){1&Y&&(e.j41(0,"div",0)(1,"mat-card")(2,"mat-card-content",1)(3,"div",2)(4,"div",3),e.EFF(5,"No Service Found!"),e.k0s()()()()())},dependencies:[Ea.RN,Ea.m2,bn.DJ,bn.sA],encapsulation:2}))}return z(),F})();const O4=[{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([l.e(193),l.e(190)]).then(l.bind(l,39190)).then(z=>z.LNDModule),canActivate:[(0,Is.q_)()]},{path:"cln",loadChildren:()=>Promise.all([l.e(193),l.e(853)]).then(l.bind(l,94853)).then(z=>z.CLNModule),canActivate:[(0,Is.q_)()]},{path:"ecl",loadChildren:()=>Promise.all([l.e(193),l.e(17)]).then(l.bind(l,89017)).then(z=>z.ECLModule),canActivate:[(0,Is.q_)()]},{path:"settings",component:is,canActivate:[(0,Is.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:Qa,canActivate:[(0,Is.q_)()]},{path:"auth",component:ya,canActivate:[(0,Is.q_)()]},{path:"bconfig",component:Jl,canActivate:[(0,Is.q_)()]}]},{path:"config",component:m4,canActivate:[(0,Is.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:e1,canActivate:[(0,Is.q_)()]},{path:"pglayout",component:L2,canActivate:[(0,Is.q_)()]},{path:"services",component:nh,canActivate:[(0,Is.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:Cs,canActivate:[(0,Is.q_)()]},{path:"boltz",component:F2,canActivate:[(0,Is.q_)()]},{path:"noservice",component:R4}]},{path:"experimental",component:ym,canActivate:[(0,Is.q_)()]},{path:"lnconfig",component:md,canActivate:[(0,Is.q_)()]}]},{path:"services",component:g4,canActivate:[(0,Is.q_)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:uh},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:jh}]},{path:"help",component:Xh},{path:"login",component:T4},{path:"error",component:D4},{path:"**",component:pu.X}],P4=Wo.iI.forRoot(O4,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var F4=l(19029),xu=l(9881),N4=l(34330),B4=l(9183),A1=l(90882),ad=l(55911),Oc=l(72279),Yo=l(47358);const Io={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Mn.xiI,link:"/lnd/home",userPersona:ot.HW.ALL,children:[]},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Mn.CQO,link:"/lnd/onchain",userPersona:ot.HW.ALL,children:[]},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Mn.zm_,link:"/lnd/connections",userPersona:ot.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Mn.gdJ,link:"/lnd/connections",userPersona:ot.HW.ALL,children:[]},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Mn._qq,link:"/lnd/transactions",userPersona:ot.HW.ALL,children:[]},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Mn.knH,link:"/lnd/routing",userPersona:ot.HW.ALL,children:[]},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Mn.$Fj,link:"/lnd/reports",userPersona:ot.HW.ALL,children:[]},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Mn.MjD,link:"/lnd/graph",userPersona:ot.HW.ALL,children:[]},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Mn.pCJ,link:"/lnd/messages",userPersona:ot.HW.ALL,children:[]},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:Mn.cbP,link:"/lnd/channelbackup",userPersona:ot.HW.ALL,children:[]},{id:38,parentId:3,name:"Network",iconType:"FA",icon:Mn.qFF,link:"/lnd/network",userPersona:ot.HW.OPERATOR,children:[]},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:Mn.D6w,link:"/lnd/network",userPersona:ot.HW.MERCHANT,children:[]}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:Mn.qIE,link:"/services/loop",userPersona:ot.HW.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:Mn.C8j,link:"/services/loop",userPersona:ot.HW.ALL,children:[]},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:ot.HW.ALL,children:[]}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Mn.nsx,link:"/config",userPersona:ot.HW.ALL,children:[]},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Mn.EvL,link:"/help",userPersona:ot.HW.ALL,children:[]}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Mn.xiI,link:"/cln/home",userPersona:ot.HW.ALL,children:[]},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Mn.CQO,link:"/cln/onchain",userPersona:ot.HW.ALL,children:[]},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Mn.zm_,link:"/cln/connections",userPersona:ot.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Mn.gdJ,link:"/cln/connections",userPersona:ot.HW.ALL,children:[]},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:Mn.e4L,link:"/cln/liquidityads",userPersona:ot.HW.ALL,children:[]},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:Mn._qq,link:"/cln/transactions",userPersona:ot.HW.ALL,children:[]},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:Mn.knH,link:"/cln/routing",userPersona:ot.HW.ALL,children:[]},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:Mn.$Fj,link:"/cln/reports",userPersona:ot.HW.ALL,children:[]},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Mn.MjD,link:"/cln/graph",userPersona:ot.HW.ALL,children:[]},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Mn.pCJ,link:"/cln/messages",userPersona:ot.HW.ALL,children:[]},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:Mn.WKo,link:"/cln/rates",userPersona:ot.HW.OPERATOR,children:[]},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:Mn.D6w,link:"/cln/rates",userPersona:ot.HW.MERCHANT,children:[]}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:Mn.qIE,link:"/services/loop",userPersona:ot.HW.ALL,children:[{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:ot.HW.ALL,children:[]}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Mn.nsx,link:"/config",userPersona:ot.HW.ALL,children:[]},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Mn.EvL,link:"/help",userPersona:ot.HW.ALL,children:[]}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Mn.xiI,link:"/ecl/home",userPersona:ot.HW.ALL,children:[]},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Mn.CQO,link:"/ecl/onchain",userPersona:ot.HW.ALL,children:[]},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Mn.zm_,link:"/ecl/connections",userPersona:ot.HW.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Mn.gdJ,link:"/ecl/connections",userPersona:ot.HW.ALL,children:[]},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Mn._qq,link:"/ecl/transactions",userPersona:ot.HW.ALL,children:[]},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Mn.knH,link:"/ecl/routing",userPersona:ot.HW.ALL,children:[]},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Mn.$Fj,link:"/ecl/reports",userPersona:ot.HW.ALL,children:[]},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Mn.MjD,link:"/ecl/graph",userPersona:ot.HW.ALL,children:[]}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:Mn.nsx,link:"/config",userPersona:ot.HW.ALL,children:[]},{id:5,parentId:0,name:"Help",iconType:"FA",icon:Mn.EvL,link:"/help",userPersona:ot.HW.ALL,children:[]}]};function z0(z,F){if(1&z&&(e.j41(0,"mat-option",12),e.EFF(1),e.k0s()),2&z){const L=F.$implicit;e.Y8G("value",L.index),e.R7$(),e.Lme(" ",L.lnNode," (",L.lnImplementation,") ")}}function ef(z,F){if(1&z){const L=e.RV6();e.j41(0,"mat-select",10),e.bIt("selectionChange",function(Y){p.eBV(L);const ie=e.XpG();return p.Njj(ie.onNodeSelectionChange(Y.value))}),e.j41(1,"perfect-scrollbar"),e.DNE(2,z0,2,3,"mat-option",11),e.k0s()()}if(2&z){const L=e.XpG();e.Y8G("value",L.selConfigNodeIndex),e.R7$(2),e.Y8G("ngForOf",L.appConfig.nodes)}}function tf(z,F){if(1&z&&(e.j41(0,"span",21),e.eu8(1,22),e.k0s()),2&z){const L=e.XpG().$implicit;e.XpG(2);const H=e.sdS(11);e.R7$(),e.Y8G("ngTemplateOutlet","boltzIconBlock"===L.icon?H:null)}}function nf(z,F){if(1&z&&e.nrm(0,"fa-icon",23),2&z){const L=e.XpG().$implicit;e.Y8G("icon",L.icon)}}function af(z,F){if(1&z&&(e.j41(0,"mat-icon",24),e.EFF(1),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.JRh(L.icon)}}function rf(z,F){if(1&z){const L=e.RV6();e.j41(0,"mat-tree-node",15)(1,"div",16),e.bIt("click",function(){const Y=p.eBV(L).$implicit,ie=e.XpG(2);return p.Njj(ie.onChildNavClicked(Y))}),e.j41(2,"div",17),e.DNE(3,tf,2,1,"span",18)(4,nf,1,1,"fa-icon",19)(5,af,2,1,"mat-icon",20),e.j41(6,"span"),e.EFF(7),e.k0s()()()()}if(2&z){const L=F.$implicit;e.Y8G("routerLink",e.mNQ(L.link)),e.R7$(3),e.Y8G("ngIf","SVG"===L.iconType),e.R7$(),e.Y8G("ngIf","FA"===L.iconType),e.R7$(),e.Y8G("ngIf",!L.iconType),e.R7$(2),e.JRh(L.name)}}function Od(z,F){if(1&z&&(e.j41(0,"span",32),e.eu8(1,22),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",L.icon)}}function Mu(z,F){if(1&z&&e.nrm(0,"fa-icon",23),2&z){const L=e.XpG().$implicit;e.Y8G("icon",L.icon)}}function Eu(z,F){if(1&z&&(e.j41(0,"mat-icon",24),e.EFF(1),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.JRh(L.icon)}}function Pd(z,F){if(1&z&&(e.j41(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),e.DNE(3,Od,2,1,"span",28)(4,Mu,1,1,"fa-icon",19)(5,Eu,2,1,"mat-icon",20),e.j41(6,"span"),e.EFF(7),e.k0s()(),e.j41(8,"button",29)(9,"mat-icon"),e.EFF(10),e.k0s()()(),e.j41(11,"div",30),e.eu8(12,31),e.k0s()()),2&z){const L=F.$implicit,H=e.XpG(2);e.R7$(3),e.Y8G("ngIf","SVG"===L.iconType),e.R7$(),e.Y8G("ngIf","FA"===L.iconType),e.R7$(),e.Y8G("ngIf",!L.iconType),e.R7$(2),e.JRh(L.name),e.R7$(),e.BMQ("aria-label","toggle "+L.name),e.R7$(2),e.JRh(H.treeControlNested.isExpanded(L)?"arrow_drop_up":"arrow_drop_down"),e.R7$(),e.AVh("tree-children-invisible",!H.treeControlNested.isExpanded(L))}}function L1(z,F){if(1&z&&(e.j41(0,"mat-tree",7,1),e.DNE(2,rf,8,6,"mat-tree-node",13)(3,Pd,13,8,"mat-nested-tree-node",14),e.k0s()),2&z){const L=e.XpG();e.Y8G("dataSource",L.navMenus)("treeControl",L.treeControlNested),e.R7$(3),e.Y8G("matTreeNodeDefWhen",L.hasChild)}}function sf(z,F){if(1&z&&(e.j41(0,"span",37),e.eu8(1,22),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",L.icon)}}function U4(z,F){if(1&z&&e.nrm(0,"fa-icon",38),2&z){const L=e.XpG().$implicit;e.Y8G("matTooltip",e.mNQ(L.name))("icon",L.icon)}}function V4(z,F){if(1&z&&(e.j41(0,"mat-icon",39),e.EFF(1),e.k0s()),2&z){const L=e.XpG().$implicit;e.Y8G("matTooltip",e.mNQ(L.name)),e.R7$(),e.JRh(L.icon)}}function U0(z,F){if(1&z){const L=e.RV6();e.j41(0,"mat-tree-node",33),e.bIt("click",function(){const Y=p.eBV(L).$implicit,ie=e.XpG();return p.Njj(ie.onShowData(Y))}),e.DNE(1,sf,2,1,"span",34)(2,U4,1,3,"fa-icon",35)(3,V4,2,3,"mat-icon",36),e.j41(4,"span"),e.EFF(5),e.k0s()()}if(2&z){const L=F.$implicit;e.R7$(),e.Y8G("ngIf","SVG"===L.iconType),e.R7$(),e.Y8G("ngIf","FA"===L.iconType),e.R7$(),e.Y8G("ngIf",!L.iconType),e.R7$(2),e.JRh(L.name)}}function lf(z,F){if(1&z&&(e.j41(0,"span",32),e.eu8(1,22),e.k0s()),2&z){const L=e.XpG().$implicit;e.R7$(),e.Y8G("ngTemplateOutlet",L.icon)}}function H4(z,F){if(1&z&&e.nrm(0,"fa-icon",38),2&z){const L=e.XpG().$implicit;e.Y8G("matTooltip",e.mNQ(L.name))("icon",L.icon)}}function G4(z,F){if(1&z){const L=e.RV6();e.j41(0,"mat-tree-node",33),e.bIt("click",function(){const Y=p.eBV(L).$implicit,ie=e.XpG(2);return p.Njj(ie.onClick(Y))}),e.DNE(1,lf,2,1,"span",28)(2,H4,1,3,"fa-icon",35),e.j41(3,"span"),e.EFF(4),e.k0s()()}if(2&z){const L=F.$implicit;e.R7$(),e.Y8G("ngIf","SVG"===L.iconType),e.R7$(),e.Y8G("ngIf","FA"===L.iconType),e.R7$(2),e.JRh(L.name)}}function I1(z,F){if(1&z&&(e.j41(0,"mat-tree",7),e.DNE(1,G4,5,3,"mat-tree-node",8),e.k0s()),2&z){const L=e.XpG();e.Y8G("dataSource",L.navMenusLogout)("treeControl",L.treeControlLogout)}}function j4(z,F){1&z&&(p.qSk(),e.j41(0,"svg",40)(1,"g",41)(2,"g",42),e.nrm(3,"circle",43)(4,"path",44)(5,"path",45),e.k0s()()())}let wu=(()=>{var z;class F{constructor(H,Y,ie,et,Bt,$t){this.logger=H,this.commonService=Y,this.sessionService=ie,this.store=et,this.actions=Bt,this.rtlEffects=$t,this.ChildNavClicked=new e.bkB,this.faEject=Mn.njF,this.faEye=Mn.pS3,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:Mn.njF,children:[]}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:Mn.pS3,children:[]}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=ot.HW,this.unSubs=[new hn.B,new hn.B,new hn.B,new hn.B,new hn.B,new hn.B],this.treeControlNested=new Oc.XO(Ei=>Ei.children),this.treeControlLogout=new Oc.XO(Ei=>Ei.children),this.treeControlShowData=new Oc.XO(Ei=>Ei.children),this.navMenus=new Yo.Zh,this.navMenusLogout=new Yo.Zh,this.navMenusShowData=new Yo.Zh,this.hasChild=(Ei,zi)=>!!zi.children&&zi.children.length>0,this.version=ot.xv,Io.LNDChildren&&200===Io.LNDChildren[Io.LNDChildren.length-1].id&&Io.LNDChildren.pop(),this.navMenus.data=Io.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const H=this.sessionService.getItem("token");this.showLogout=!!H,this.flgLoading=!!H,this.store.select(Va.qv).pipe((0,wn.Q)(this.unSubs[0])).subscribe(Y=>{this.appConfig=Y}),this.store.select(Va.Az).pipe((0,wn.Q)(this.unSubs[1])).subscribe(Y=>{if(this.information=Y.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 ie=this.information.chains[0];this.informationChain.chain=ie.chain,this.informationChain.network=ie.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=Y.selNode,this.selConfigNodeIndex=+(Y.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(Y)}),this.sessionService.watchSession().pipe((0,wn.Q)(this.unSubs[2])).subscribe(Y=>{this.showLogout=!!Y.token,this.flgLoading=!!Y.token}),this.actions.pipe((0,wn.Q)(this.unSubs[3]),(0,cr.p)(Y=>Y.type===ot.aU.LOGOUT)).subscribe(Y=>{this.showLogout=!1})}onClick(H){"Logout"===H.name&&(this.store.dispatch((0,Nn.I1)({payload:{data:{type:ot.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,wn.Q)(this.unSubs[4])).subscribe(Y=>{Y&&(this.showLogout=!1,this.store.dispatch((0,Nn.ri)({payload:""})))})),this.ChildNavClicked.emit(H)}onChildNavClicked(H){this.ChildNavClicked.emit(H)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){const H=JSON.parse(JSON.stringify(Io.LNDChildren));this.navMenus.data=H?.filter(Y=>Y.children&&Y.children.length?(Y.children=Y.children?.filter(ie=>(ie.userPersona===ot.HW.ALL||ie.userPersona===this.selNode.settings.userPersona)&&"/services/loop"!==ie.link&&"/services/boltz"!==ie.link||"/services/loop"===ie.link&&this.selNode.settings.swapServerUrl&&""!==this.selNode.settings.swapServerUrl.trim()||"/services/boltz"===ie.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim()),Y.children.length>0):Y.userPersona===ot.HW.ALL||Y.userPersona===this.selNode.settings.userPersona)}loadCLNMenu(){const H=JSON.parse(JSON.stringify(Io.CLNChildren));this.navMenus.data=H?.filter(Y=>Y.children&&Y.children.length?(Y.children=Y.children?.filter(ie=>(ie.userPersona===ot.HW.ALL||ie.userPersona===this.selNode.settings.userPersona)&&(!ie.link.includes("/services")||"/services/peerswap"===ie.link&&this.selNode.settings.enablePeerswap||"/services/boltz"===ie.link&&this.selNode.settings.boltzServerUrl&&""!==this.selNode.settings.boltzServerUrl.trim())),Y.children.length>0):Y.userPersona===ot.HW.ALL||Y.userPersona===this.selNode.settings.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(Io.ECLChildren))}onShowData(H){this.store.dispatch((0,Nn.OP)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(H){const Y=this.selConfigNodeIndex;this.selConfigNodeIndex=H;const ie=this.appConfig.nodes.find(et=>+et.index===H);this.store.dispatch((0,Nn.Qi)({payload:{uiMessage:ot.MZ.UPDATE_SELECTED_NODE,prevLnNodeIndex:+Y,currentLnNode:ie||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qs.h),e.rXU(Ti.Q),e.rXU(qi.il),e.rXU(Fo.En),e.rXU(ms.H))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-side-navigation"]],viewQuery:function(Y,ie){if(1&Y&&e.GBs(Yo.lQ,5),2&Y){let et;e.mGM(et=e.lsd())&&(ie.tree=et.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},standalone:!1,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"],["routerLinkActive","active-link","matTreeNodeToggle","",3,"routerLink",4,"matTreeNodeDef"],["fxLayout","column","matTreeNodeToggle","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["routerLinkActive","active-link","matTreeNodeToggle","",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,"matTooltip","icon",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,"matTooltip","icon"],["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(Y,ie){1&Y&&(e.j41(0,"div",2)(1,"div",3),e.DNE(2,ef,3,2,"mat-select",4),e.nrm(3,"mat-divider",5),e.DNE(4,L1,4,3,"mat-tree",6),e.nrm(5,"mat-divider",5),e.j41(6,"mat-tree",7),e.DNE(7,U0,6,4,"mat-tree-node",8),e.k0s()(),e.j41(8,"div",9),e.DNE(9,I1,2,2,"mat-tree",6),e.k0s()(),e.DNE(10,j4,6,0,"ng-template",null,0,e.C5r)),2&Y&&(e.R7$(2),e.Y8G("ngIf",ie.appConfig.nodes.length>1),e.R7$(2),e.Y8G("ngIf",null==ie.selNode.settings?null:ie.selNode.settings.lnServerUrl),e.R7$(2),e.Y8G("dataSource",ie.navMenusShowData)("treeControl",ie.treeControlShowData),e.R7$(3),e.Y8G("ngIf",ie.showLogout))},dependencies:[c.Sq,c.bT,c.T3,Tr.aY,vd.iY,tc.An,Ni.q,Yo.q1,Yo.yI,Yo.pO,Yo.lQ,Yo.d6,Yo.wx,bn.DJ,bn.sA,bn.UI,De.VO,pt.wT,Xc.oV,Wo.Wk,Wo.wQ,Yt.ZF,Yt.Ld],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]}))}return z(),F})();var V0=l(59115);function Su(z,F){if(1&z&&(e.j41(0,"p",14),e.nrm(1,"fa-icon",3),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&z){const L=e.XpG();e.R7$(),e.Y8G("icon",L.faCode),e.R7$(2),e.SpI("API Version: ",null==L.information?null:L.information.api_version)}}function cf(z,F){if(1&z&&(e.j41(0,"p",15),e.nrm(1,"fa-icon",3),e.j41(2,"span",16),e.EFF(3,"Settings"),e.k0s()()),2&z){const L=e.XpG();e.R7$(),e.Y8G("icon",L.faUserCog)}}function df(z,F){if(1&z&&(e.j41(0,"p",17),e.nrm(1,"fa-icon",3),e.j41(2,"span",18),e.EFF(3,"Help"),e.k0s()()),2&z){const L=e.XpG();e.R7$(),e.Y8G("icon",L.faQuestion)}}function uf(z,F){if(1&z){const L=e.RV6();e.j41(0,"p",19),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.onClick())}),e.nrm(1,"fa-icon",3),e.j41(2,"span"),e.EFF(3,"Logout"),e.k0s()()}if(2&z){const L=e.XpG();e.R7$(),e.Y8G("icon",L.faEject)}}let hf=(()=>{var z;class F{constructor(H,Y,ie,et,Bt){this.logger=H,this.sessionService=Y,this.store=ie,this.rtlEffects=et,this.actions=Bt,this.faUserCog=Mn.McB,this.faCodeBranch=Mn.Xbc,this.faCode=Mn.jTw,this.faCog=Mn.dB,this.faQuestion=Mn.EvL,this.faEject=Mn.njF,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new hn.B,new hn.B,new hn.B,new hn.B],this.version=ot.xv}ngOnInit(){this.store.select(Va.N).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{if(this.information=H,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 Y=this.information.chains[0];this.informationChain.chain=Y.chain,this.informationChain.network=Y.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(H)}),this.sessionService.watchSession().pipe((0,wn.Q)(this.unSubs[1])).subscribe(H=>{this.showLogout=!!H.token,this.flgLoading=!!H.token}),this.actions.pipe((0,wn.Q)(this.unSubs[2]),(0,cr.p)(H=>H.type===ot.aU.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Nn.I1)({payload:{data:{type:ot.A$.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,wn.Q)(this.unSubs[3])).subscribe(H=>{H&&(this.showLogout=!1,this.store.dispatch((0,Nn.ri)({payload:""})))})}onDonate(){window.open("https://www.ridethelightning.info/donate/","_blank")}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(null),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(Ti.Q),e.rXU(qi.il),e.rXU(ms.H),e.rXU(Fo.En))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-top-menu"]],standalone:!1,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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"mat-menu",1,0)(2,"p",2),e.nrm(3,"fa-icon",3),e.j41(4,"span"),e.EFF(5),e.k0s()(),e.DNE(6,Su,4,2,"p",4)(7,cf,4,1,"p",5)(8,df,4,1,"p",6),e.j41(9,"p",7),e.bIt("click",function(){return p.eBV(et),p.Njj(ie.onDonate())}),p.qSk(),e.j41(10,"svg",8)(11,"g"),e.nrm(12,"path",9),e.k0s()(),p.joV(),e.j41(13,"span"),e.EFF(14,"Donate"),e.k0s()(),e.DNE(15,uf,4,1,"p",10),e.k0s(),e.j41(16,"button",11),e.nrm(17,"img",12),e.j41(18,"mat-icon",13),e.EFF(19,"arrow_drop_down"),e.k0s()()}if(2&Y){const et=e.sdS(1);e.Y8G("overlapTrigger",!1),e.R7$(3),e.Y8G("icon",ie.faCodeBranch),e.R7$(2),e.SpI("Version: ",ie.version),e.R7$(),e.Y8G("ngIf",null==ie.information?null:ie.information.api_version),e.R7$(),e.Y8G("ngIf",ie.showLogout),e.R7$(),e.Y8G("ngIf",ie.showLogout),e.R7$(7),e.Y8G("ngIf",ie.showLogout),e.R7$(),e.Y8G("matMenuTriggerFor",et)}},dependencies:[c.bT,Tr.aY,vd.iY,tc.An,V0.kk,V0.fb,V0.Cp,bn.sA,Wo.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 z(),F})();const k1=["sideNavigation"],Tu=["sideNavContent"],W4=(z,F)=>[z,F];function ff(z,F){if(1&z){const L=e.RV6();e.j41(0,"button",15),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.sideNavToggle())}),e.j41(1,"mat-icon",16),e.EFF(2,"menu"),e.k0s()()}if(2&z){const L=e.XpG();e.Y8G("matTooltip",L.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",L.smallScreen)}}function R1(z,F){1&z&&(p.qSk(),e.nrm(0,"path",21))}function Du(z,F){1&z&&(p.qSk(),e.nrm(0,"path",22))}function rd(z,F){if(1&z){const L=e.RV6();e.j41(0,"button",17),e.bIt("click",function(){p.eBV(L);const Y=e.XpG();return p.Njj(Y.flgSidenavPinned=!Y.flgSidenavPinned)}),p.qSk(),e.j41(1,"svg",18),e.DNE(2,R1,1,0,"path",19)(3,Du,1,0,"path",20),e.k0s()()}if(2&z){const L=e.XpG();e.Y8G("matTooltip",L.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),e.R7$(2),e.Y8G("ngIf",!L.flgSidenavPinned),e.R7$(),e.Y8G("ngIf",L.flgSidenavPinned)}}function H0(z,F){if(1&z&&(e.j41(0,"span",23),e.EFF(1),e.k0s()),2&z){const L=e.XpG();e.R7$(),e.JRh(L.information.alias?"RTL - "+L.information.alias:"RTL")}}function Au(z,F){if(1&z&&(e.j41(0,"span",24),e.EFF(1),e.k0s()),2&z){const L=e.XpG();e.R7$(),e.JRh(L.information.alias?"Ride The Lightning - "+L.information.alias:"Ride The Lightning")}}function Pc(z,F){1&z&&(e.j41(0,"div",25),e.nrm(1,"mat-spinner",26),e.j41(2,"h4"),e.EFF(3,"Loading RTL..."),e.k0s()())}let mf=(()=>{var z;class F{constructor(H,Y,ie,et,Bt,$t,Ei,zi,Vi){this.logger=H,this.commonService=Y,this.store=ie,this.actions=et,this.userIdle=Bt,this.router=$t,this.sessionService=Ei,this.breakpointObserver=zi,this.renderer=Vi,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 hn.B,new hn.B,new hn.B,new hn.B,new hn.B,new hn.B,new hn.B,new hn.B]}ngOnInit(){this.router.events.subscribe(H=>{H instanceof Ja.wF&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([Sr.Rp.XSmall,Sr.Rp.TabletPortrait,Sr.Rp.Small,Sr.Rp.Medium,Sr.Rp.Large,Sr.Rp.XLarge]).pipe((0,wn.Q)(this.unSubs[0])).subscribe(H=>{H.breakpoints[Sr.Rp.XSmall]?(this.commonService.setScreenSize(ot.f7.XS),this.smallScreen=!0):H.breakpoints[Sr.Rp.TabletPortrait]?(this.commonService.setScreenSize(ot.f7.SM),this.smallScreen=!0):H.breakpoints[Sr.Rp.Small]||H.breakpoints[Sr.Rp.Medium]?(this.commonService.setScreenSize(ot.f7.MD),this.smallScreen=!1):H.breakpoints[Sr.Rp.Large]?(this.commonService.setScreenSize(ot.f7.LG),this.smallScreen=!1):(this.commonService.setScreenSize(ot.f7.XL),this.smallScreen=!1)}),this.store.dispatch((0,Nn.NU)()),this.accessKey=this.readAccessKey()||"",this.store.select(Va._c).pipe((0,wn.Q)(this.unSubs[1])).subscribe(H=>{this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1),this.selNode=H}),this.store.select(Va.qv).pipe((0,wn.Q)(this.unSubs[2])).subscribe(H=>{this.appConfig=H}),this.store.select(Va.N).pipe((0,wn.Q)(this.unSubs[3])).subscribe(H=>{this.information=H,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,wn.Q)(this.unSubs[4]),(0,cr.p)(H=>H.type===ot.aU.SET_APPLICATION_SETTINGS||H.type===ot.aU.LOGIN||H.type===ot.aU.LOGOUT)).subscribe(H=>{H.type===ot.aU.SET_APPLICATION_SETTINGS&&(this.sessionService.getItem("token")||(+H.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,Nn.iD)({payload:{password:Ar(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"],{state:{logoutReason:"Access key too short. It should be at least 32 characters long."}}))),H.type===ot.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)),H.type===ot.aU.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,wn.Q)(this.unSubs[5])).subscribe(H=>{this.logger.info("Counting Down: "+(11-H))}),this.userIdle.onTimeout().pipe((0,wn.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,Nn.Jh)()),this.store.dispatch((0,Nn.xO)({payload:{data:{type:ot.A$.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Nn.ri)({payload:"Logging Out. Time limit exceeded for session inactivity."})))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const H=window.location.href;return H.includes("access-key=")?H.substring(H.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(H){this.smallScreen&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}backdropClicked(){(!this.flgSidenavPinned||this.smallScreen)&&(this.flgSideNavOpened=!this.flgSideNavOpened,this.sideNavigation.close())}copiedText(H){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+H)}ngOnDestroy(){this.unSubs.forEach(H=>{H.next(),H.complete()})}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(e.rXU(ir.gP),e.rXU(qs.h),e.rXU(qi.il),e.rXU(Fo.En),e.rXU(gc),e.rXU(Ja.Ix),e.rXU(Ti.Q),e.rXU(N4.Q),e.rXU(e.sFG))},this.\u0275cmp=e.VBU({type:F,selectors:[["rtl-app"]],viewQuery:function(Y,ie){if(1&Y&&(e.GBs(k1,5),e.GBs(Tu,5)),2&Y){let et;e.mGM(et=e.lsd())&&(ie.sideNavigation=et.first),e.mGM(et=e.lsd())&&(ie.sideNavContent=et.first)}},standalone:!1,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(Y,ie){if(1&Y){const et=e.RV6();e.j41(0,"div",3),e.nI1(1,"lowercase"),e.nI1(2,"lowercase"),e.j41(3,"mat-toolbar",4)(4,"div"),e.DNE(5,ff,3,2,"button",5)(6,rd,4,3,"button",6),e.k0s(),e.j41(7,"div"),e.DNE(8,H0,2,1,"span",7)(9,Au,2,1,"span",8),e.k0s(),e.j41(10,"div"),e.nrm(11,"rtl-top-menu"),e.k0s()(),e.j41(12,"mat-sidenav-container",9),e.bIt("backdropClick",function(){return p.eBV(et),p.Njj(ie.backdropClicked())}),e.j41(13,"mat-sidenav",10,0)(15,"rtl-side-navigation",11),e.bIt("ChildNavClicked",function($t){return p.eBV(et),p.Njj(ie.onNavigationClicked($t))}),e.k0s()(),e.j41(16,"mat-sidenav-content",12,1)(18,"div",13),e.nrm(19,"router-outlet",null,2),e.k0s()()(),e.DNE(21,Pc,4,0,"div",14),e.k0s()}2&Y&&(e.Y8G("ngClass",e.l_i(12,W4,e.bMT(1,8,ie.selNode.settings.themeColor),e.bMT(2,10,ie.selNode.settings.themeMode))),e.R7$(5),e.Y8G("ngIf",ie.flgLoggedIn),e.R7$(),e.Y8G("ngIf",!ie.smallScreen&&ie.flgLoggedIn),e.R7$(2),e.Y8G("ngIf",ie.smallScreen),e.R7$(),e.Y8G("ngIf",!ie.smallScreen),e.R7$(4),e.Y8G("opened",ie.flgSideNavOpened&&ie.flgLoggedIn)("mode",ie.flgSidenavPinned&&!ie.smallScreen?"side":"over"),e.R7$(8),e.Y8G("ngIf",!ie.selNode.settings.themeColor))},dependencies:[c.YU,c.bT,vd.iY,tc.An,B4.LG,bn.DJ,bn.sA,bn.UI,Lo.PW,A1.LG,A1.US,A1.El,ad.KQ,Xc.oV,Yt.Ld,wu,hf,Ja.n3,c.GH],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[xu.E]}}))}return z(),F})(),X4=(()=>{var z;class F{constructor(H){this.sessionService=H}intercept(H,Y){if(this.sessionService.getItem("token")){const ie=H.clone({headers:H.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return Y.handle(ie)}return Y.handle(H)}static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)(p.KVO(Ti.Q))},this.\u0275prov=p.jDH({token:F,factory:F.\u0275fac}))}return z(),F})();var K4=l(7879),Fc=l(69579),O1=l(283),G0=l(13017);const Nc={userPersona:ot.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"},P1={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},lc={apiURL:"",apisCallStatus:{Login:{status:ot.wn.UN_INITIATED},IsAuthorized:{status:ot.wn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:Nc,authentication:P1,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,SSO:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,secret2FA:"",allowPasswordUpdate:!0,nodes:[{settings:Nc,authentication:P1}]},nodeData:{}},pf=(0,qi.vy)(lc,(0,qi.on)(Nn.Gd,(z,{payload:F})=>{const L=JSON.parse(JSON.stringify(z.apisCallStatus));return F.action&&(L[F.action]={status:F.status,statusCode:F.statusCode,message:F.message,URL:F.URL,filePath:F.filePath}),{...z,apisCallStatus:L}}),(0,qi.on)(Nn.Tn,(z,{payload:F})=>({...lc,apisCallStatus:z.apisCallStatus,appConfig:z.appConfig,selNode:F})),(0,qi.on)(Nn.Np,(z,{payload:F})=>({...z,selNode:F})),(0,qi.on)(Nn.Fl,(z,{payload:F})=>({...z,nodeData:F})),(0,qi.on)(Nn.IK,(z,{payload:F})=>({...z,appConfig:F}))),Lu={apisCallStatus:{FetchPageSettings:{status:ot.wn.UN_INITIATED},FetchInfo:{status:ot.wn.UN_INITIATED},FetchFees:{status:ot.wn.UN_INITIATED},FetchPeers:{status:ot.wn.UN_INITIATED},FetchClosedChannels:{status:ot.wn.UN_INITIATED},FetchPendingChannels:{status:ot.wn.UN_INITIATED},FetchAllChannels:{status:ot.wn.UN_INITIATED},FetchBalanceBlockchain:{status:ot.wn.UN_INITIATED},FetchInvoices:{status:ot.wn.UN_INITIATED},FetchPayments:{status:ot.wn.UN_INITIATED},FetchForwardingHistory:{status:ot.wn.UN_INITIATED},FetchUTXOs:{status:ot.wn.UN_INITIATED},FetchTransactions:{status:ot.wn.UN_INITIATED},FetchLightningTransactions:{status:ot.wn.UN_INITIATED},FetchNetwork:{status:ot.wn.UN_INITIATED}},pageSettings:ot.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 gf=!1,Iu=!1;const Y4=(0,qi.vy)(Lu,(0,qi.on)(nr.e8,(z,{payload:F})=>{const L=JSON.parse(JSON.stringify(z.apisCallStatus));return F.action&&(L[F.action]={status:F.status,statusCode:F.statusCode,message:F.message,URL:F.URL,filePath:F.filePath}),{...z,apisCallStatus:L}}),(0,qi.on)(nr.p1,z=>({...Lu})),(0,qi.on)(nr.x1,(z,{payload:F})=>({...z,information:F})),(0,qi.on)(nr.Qj,(z,{payload:F})=>({...z,peers:F})),(0,qi.on)(nr.Zi,(z,{payload:F})=>{const L=[...z.peers],H=z.peers.findIndex(Y=>Y.pub_key===F.pubkey);return H>-1&&L.splice(H,1),{...z,peers:L}}),(0,qi.on)(nr.Jx,(z,{payload:F})=>{const L=z.listInvoices;return L.invoices?.unshift(F),{...z,listInvoices:L}}),(0,qi.on)(nr.Dq,(z,{payload:F})=>{const L=z.listInvoices;return L.invoices=L.invoices?.map(H=>H.payment_request===F.payment_request?F:H),{...z,listInvoices:L}}),(0,qi.on)(nr._$,(z,{payload:F})=>{const L=z.listPayments;return L.payments=L.payments?.map(H=>H.payment_hash===F.payment_hash?F:H),{...z,listPayments:L}}),(0,qi.on)(nr.Uo,(z,{payload:F})=>({...z,fees:F})),(0,qi.on)(nr.z2,(z,{payload:F})=>({...z,closedChannels:F})),(0,qi.on)(nr.cU,(z,{payload:F})=>({...z,pendingChannels:F.pendingChannels,pendingChannelsSummary:F.pendingChannelsSummary})),(0,qi.on)(nr.dv,(z,{payload:F})=>{let L=0,H=0,Y=0,ie=0,et=0,Bt=0;return F&&F.forEach($t=>{$t.local_balance||($t.local_balance=0),!0===$t.active?(et+=+$t.local_balance,Y+=1,$t.local_balance?L=+L+ +$t.local_balance:$t.local_balance=0,$t.remote_balance?H=+H+ +$t.remote_balance:$t.remote_balance=0):(Bt+=+$t.local_balance,ie+=1)}),{...z,channels:F,channelsSummary:{active:{num_channels:Y,capacity:et},inactive:{num_channels:ie,capacity:Bt}},lightningBalance:{local:L,remote:H}}}),(0,qi.on)(nr.cR,(z,{payload:F})=>{const L=[...z.channels],H=z.channels.findIndex(Y=>Y.channel_point===F.channelPoint);return H>-1&&L.splice(H,1),{...z,channels:L}}),(0,qi.on)(nr.DI,(z,{payload:F})=>({...z,blockchainBalance:F})),(0,qi.on)(nr.J9,(z,{payload:F})=>({...z,networkInfo:F})),(0,qi.on)(nr.$6,(z,{payload:F})=>(F.total_invoices||(F.total_invoices=z.listInvoices.total_invoices),{...z,listInvoices:F})),(0,qi.on)(nr.As,(z,{payload:F})=>{if(gf=!0,F.length&&Iu){const L=[...z.utxos];return L.forEach(H=>{const Y=F.find(ie=>ie.tx_hash===H.outpoint?.txid_str);H.label=Y&&Y.label?Y.label:""}),{...z,utxos:L,transactions:F}}return{...z,transactions:F}}),(0,qi.on)(nr.O8,(z,{payload:F})=>{if(Iu=!0,F.length&&gf){const L=[...z.transactions];F.forEach(H=>{const Y=L.find(ie=>ie.tx_hash===H.outpoint?.txid_str);H.label=Y&&Y.label?Y.label:""})}return{...z,utxos:F}}),(0,qi.on)(nr.Uj,(z,{payload:F})=>{const L={listInvoicesAll:z.allLightningTransactions.listInvoicesAll,listPaymentsAll:F};return{...z,listPayments:F,allLightningTransactions:L}}),(0,qi.on)(nr.b1,(z,{payload:F})=>{const L={listInvoicesAll:F.listInvoicesAll,listPaymentsAll:z.listPayments};return{...z,allLightningTransactions:L}}),(0,qi.on)(nr.kv,(z,{payload:F})=>{const L=[...z.channels,...z.closedChannels];let H=F.forwarding_events?JSON.parse(JSON.stringify(F)):{};return H.forwarding_events&&(H=Q4(H,L)),{...z,forwardingHistory:H}}),(0,qi.on)(nr.NS,(z,{payload:F})=>{const L=[];return ot.ZC.forEach(H=>{const Y=F&&F.length&&F.length>0?F.find(ie=>ie.pageId===H.pageId):null;if(Y){const ie=JSON.parse(JSON.stringify(Y.tables));Y.tables=[],H.tables.forEach(et=>{const Bt=ie.find($t=>$t.tableId===et.tableId)||null;Y.tables.push(Bt||JSON.parse(JSON.stringify(et)))}),L.push(Y)}else L.push(JSON.parse(JSON.stringify(H)))}),{...z,pageSettings:L}})),Q4=(z,F)=>(z.forwarding_events.forEach(L=>{if(F&&F.length>0)for(let H=0;H<F.length;H++){if(F[H].chan_id?.toString()===L.chan_id_in&&(L.alias_in=F[H].remote_alias?F[H].remote_alias:L.chan_id_in,L.alias_out)||F[H].chan_id?.toString()===L.chan_id_out&&(L.alias_out=F[H].remote_alias?F[H].remote_alias:L.chan_id_out,L.alias_in))return;H===F.length-1&&(L.alias_in||(L.alias_in=L.chan_id_in),L.alias_out||(L.alias_out=L.chan_id_out))}else L.alias_in=L.chan_id_in,L.alias_out=L.chan_id_out}),z),ku={apisCallStatus:{FetchPageSettings:{status:ot.wn.UN_INITIATED},FetchInfo:{status:ot.wn.UN_INITIATED},FetchInvoices:{status:ot.wn.UN_INITIATED},FetchChannels:{status:ot.wn.UN_INITIATED},FetchUTXOBalances:{status:ot.wn.UN_INITIATED},FetchFeeRatesperkb:{status:ot.wn.UN_INITIATED},FetchFeeRatesperkw:{status:ot.wn.UN_INITIATED},FetchPeers:{status:ot.wn.UN_INITIATED},FetchPayments:{status:ot.wn.UN_INITIATED},FetchForwardingHistoryS:{status:ot.wn.UN_INITIATED},FetchForwardingHistoryF:{status:ot.wn.UN_INITIATED},FetchForwardingHistoryL:{status:ot.wn.UN_INITIATED},FetchOffers:{status:ot.wn.UN_INITIATED},FetchOfferBookmarks:{status:ot.wn.UN_INITIATED}},pageSettings:ot.mu,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},_f=(0,qi.vy)(ku,(0,qi.on)(Ir.no,(z,{payload:F})=>{const L=JSON.parse(JSON.stringify(z.apisCallStatus));return F.action&&(L[F.action]={status:F.status,statusCode:F.statusCode,message:F.message,URL:F.URL,filePath:F.filePath}),{...z,apisCallStatus:L}}),(0,qi.on)(Ir.gf,z=>({...ku})),(0,qi.on)(Ir.x1,(z,{payload:F})=>({...z,information:F,fees:{feeCollected:F.fees_collected_msat}})),(0,qi.on)(Ir.C2,(z,{payload:F})=>F.perkb?{...z,feeRatesPerKB:F}:F.perkw?{...z,feeRatesPerKW:F}:{...z}),(0,qi.on)(Ir.EM,(z,{payload:F})=>({...z,utxos:F.utxos||[],balance:F.balance,localRemoteBalance:F.localRemoteBalance})),(0,qi.on)(Ir.Qj,(z,{payload:F})=>({...z,peers:F})),(0,qi.on)(Ir.We,(z,{payload:F})=>({...z,peers:[...z.peers,F]})),(0,qi.on)(Ir.Zi,(z,{payload:F})=>{const L=[...z.peers],H=z.peers.findIndex(Y=>Y.id===F.id);return H>-1&&L.splice(H,1),{...z,peers:L}}),(0,qi.on)(Ir.dv,(z,{payload:F})=>({...z,activeChannels:F.activeChannels,pendingChannels:F.pendingChannels,inactiveChannels:F.inactiveChannels})),(0,qi.on)(Ir.cR,(z,{payload:F})=>{const L=[...z.peers];return L.forEach(H=>{H.id===F.id&&(H.connected=!1,delete H.netaddr)}),{...z,peers:L}}),(0,qi.on)(Ir.Uj,(z,{payload:F})=>({...z,payments:F})),(0,qi.on)(Ir.kv,(z,{payload:F})=>{const L=[...z.activeChannels,...z.pendingChannels,...z.inactiveChannels],H=vf(F.listForwards,L);switch(F.listForwards=H,F.status){case ot.xk.SETTLED:const Y=z.fees;return Y.totalTxCount=F.totalForwards||0,{...z,fees:Y,forwardingHistory:F};case ot.xk.FAILED:return{...z,failedForwardingHistory:F};case ot.xk.LOCAL_FAILED:return{...z,localFailedForwardingHistory:F};default:return{...z}}}),(0,qi.on)(Ir.Jx,(z,{payload:F})=>{const L=z.invoices;return L.invoices?.unshift(F),{...z,invoices:L}}),(0,qi.on)(Ir.$6,(z,{payload:F})=>({...z,invoices:F})),(0,qi.on)(Ir.Dq,(z,{payload:F})=>{const L=z.invoices;return L.invoices=L.invoices?.map(H=>(H.label===F.label&&(H.amount_received_msat=F.msat,H.payment_preimage=F.preimage,H.status="paid"),H)),{...z,invoices:L}}),(0,qi.on)(Ir.qw,(z,{payload:F})=>({...z,offers:F})),(0,qi.on)(Ir.kQ,(z,{payload:F})=>{const L=z.offers;return L?.unshift(F),{...z,offers:L}}),(0,qi.on)(Ir.Gz,(z,{payload:F})=>{const L=[...z.offers],H=z.offers.findIndex(Y=>Y.offer_id===F.offer.offer_id);return H>-1&&L.splice(H,1,F.offer),{...z,offers:L}}),(0,qi.on)(Ir.Qv,(z,{payload:F})=>({...z,offersBookmarks:F})),(0,qi.on)(Ir.Db,(z,{payload:F})=>{const L=[...z.offersBookmarks],H=L.findIndex(Y=>Y.bolt12===F.bolt12);if(H<0)L?.unshift(F);else{const Y={...L[H]};Y.title=F.title,Y.amountMSat=F.amountMSat,Y.lastUpdatedAt=F.lastUpdatedAt,Y.description=F.description,Y.issuer=F.issuer,L.splice(H,1,Y)}return{...z,offersBookmarks:L}}),(0,qi.on)(Ir.NU,(z,{payload:F})=>{const L=[...z.offersBookmarks],H=z.offersBookmarks.findIndex(Y=>Y.bolt12===F.bolt12);return H>-1&&L.splice(H,1),{...z,offersBookmarks:L}}),(0,qi.on)(Ir.NS,(z,{payload:F})=>{const L=[];return ot.mu.forEach(H=>{const Y=F&&F.length&&F.length>0?F.find(ie=>ie.pageId===H.pageId):null;if(Y){const ie=JSON.parse(JSON.stringify(Y.tables));Y.tables=[],H.tables.forEach(et=>{const Bt=ie.find($t=>$t.tableId===et.tableId)||null;Y.tables.push(Bt||JSON.parse(JSON.stringify(et)))}),L.push(Y)}else L.push(JSON.parse(JSON.stringify(H)))}),{...z,pageSettings:L}})),vf=(z,F)=>(z&&z.length>0?z.forEach((L,H)=>{if(F&&F.length>0)for(let Y=0;Y<F.length;Y++){if(F[Y].short_channel_id&&F[Y].short_channel_id===L.in_channel&&(L.in_channel_alias=F[Y].alias?F[Y].alias:L.in_channel,L.out_channel_alias)||F[Y].short_channel_id&&F[Y].short_channel_id?.toString()===L.out_channel&&(L.out_channel_alias=F[Y].alias?F[Y].alias:L.out_channel,L.in_channel_alias))return;Y===F.length-1&&(L.in_channel_alias||(L.in_channel_alias=L.in_channel?L.in_channel:"-"),L.out_channel_alias||(L.out_channel_alias=L.out_channel?L.out_channel:"-"))}else L.in_channel_alias=L.in_channel?L.in_channel:"-",L.out_channel_alias=L.out_channel?L.out_channel:"-"}):z=[],z),j0={apisCallStatus:{FetchPageSettings:{status:ot.wn.UN_INITIATED},FetchInfo:{status:ot.wn.UN_INITIATED},FetchFees:{status:ot.wn.UN_INITIATED},FetchChannels:{status:ot.wn.UN_INITIATED},FetchOnchainBalance:{status:ot.wn.UN_INITIATED},FetchPeers:{status:ot.wn.UN_INITIATED},FetchPayments:{status:ot.wn.UN_INITIATED},FetchInvoices:{status:ot.wn.UN_INITIATED},FetchTransactions:{status:ot.wn.UN_INITIATED}},pageSettings:ot.X8,information:{},fees:{},activeChannels:[],pendingChannels:[],inactiveChannels:[],channelsStatus:{active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0},closing:{channels:0,capacity:0}},onchainBalance:{total:0,confirmed:0,unconfirmed:0},lightningBalance:{localBalance:-1,remoteBalance:-1},peers:[],payments:{},transactions:[],invoices:[]},$4=(0,qi.vy)(j0,(0,qi.on)(Or.uL,(z,{payload:F})=>{const L=JSON.parse(JSON.stringify(z.apisCallStatus));return F.action&&(L[F.action]={status:F.status,statusCode:F.statusCode,message:F.message,URL:F.URL,filePath:F.filePath}),{...z,apisCallStatus:L}}),(0,qi.on)(Or.Hh,z=>({...j0})),(0,qi.on)(Or.x1,(z,{payload:F})=>({...z,information:F})),(0,qi.on)(Or.Uo,(z,{payload:F})=>({...z,fees:F})),(0,qi.on)(Or.Tp,(z,{payload:F})=>({...z,activeChannels:F})),(0,qi.on)(Or.cU,(z,{payload:F})=>({...z,pendingChannels:F})),(0,qi.on)(Or.I6,(z,{payload:F})=>({...z,inactiveChannels:F})),(0,qi.on)(Or.ZE,(z,{payload:F})=>({...z,channelsStatus:F})),(0,qi.on)(Or.Xx,(z,{payload:F})=>({...z,onchainBalance:F})),(0,qi.on)(Or.N8,(z,{payload:F})=>({...z,lightningBalance:F})),(0,qi.on)(Or.Qj,(z,{payload:F})=>({...z,peers:F})),(0,qi.on)(Or.Zi,(z,{payload:F})=>{const L=[...z.peers],H=z.peers.findIndex(Y=>Y.nodeId===F.nodeId);return H>-1&&L.splice(H,1),{...z,peers:L}}),(0,qi.on)(Or.cR,(z,{payload:F})=>{const L=[...z.activeChannels],H=z.activeChannels.findIndex(Y=>Y.channelId===F.channelId);return H>-1&&L.splice(H,1),{...z,activeChannels:L}}),(0,qi.on)(Or.Uj,(z,{payload:F})=>{if(F&&F.sent){const L=[...z.activeChannels,...z.pendingChannels,...z.inactiveChannels];F.sent?.map(H=>{const Y=z.peers.find(ie=>ie.nodeId===H.recipientNodeId);return H.recipientNodeAlias=Y?Y.alias:H.recipientNodeId,H.parts&&H.parts?.map(ie=>{const et=L.find(Bt=>Bt.channelId===ie.toChannelId);return ie.toChannelAlias=et?et.alias:ie.toChannelId,H.parts}),F.sent})}if(F&&F.relayed){const L=[...z.activeChannels,...z.pendingChannels,...z.inactiveChannels];F.relayed.forEach(H=>{H=W0(H,L)})}return{...z,payments:F}}),(0,qi.on)(Or.As,(z,{payload:F})=>({...z,transactions:F})),(0,qi.on)(Or.Jx,(z,{payload:F})=>{const L=z.invoices;return L?.unshift(F),{...z,invoices:L}}),(0,qi.on)(Or.$6,(z,{payload:F})=>({...z,invoices:F})),(0,qi.on)(Or.Dq,(z,{payload:F})=>{let L=z.invoices;return L=L?.map(H=>{if(H.paymentHash===F.paymentHash){if(F.hasOwnProperty("type")){const Y=JSON.parse(JSON.stringify(H));return Y.amountSettled=F.parts&&F.parts.length&&F.parts.length>0&&F.parts[0].amount?(F.parts[0].amount||0)/1e3:0,Y.receivedAt=F.parts&&F.parts.length&&F.parts.length>0&&F.parts[0].timestamp?Math.round((F.parts[0].timestamp||0)/1e3):0,Y.status="received",Y}return F}return H}),{...z,invoices:L}}),(0,qi.on)(Or.gZ,(z,{payload:F})=>{let L=z.pendingChannels;return L=L?.map(H=>(H.channelId===F.channelId&&H.nodeId===F.remoteNodeId&&(F.currentState=F.currentState?.replace(/_/g," "),H.state=F.currentState),H)),{...z,pendingChannels:L}}),(0,qi.on)(Or.yn,(z,{payload:F})=>{const L=z.payments,H=W0(F,[...z.activeChannels,...z.pendingChannels,...z.inactiveChannels]);L.relayed?.unshift(H);const Y=(F.amountIn||0)-(F.amountOut||0),ie={localBalance:z.lightningBalance.localBalance+Y,remoteBalance:z.lightningBalance.remoteBalance-Y},et=z.channelsStatus;et.active&&(et.active.capacity=(z.channelsStatus?.active?.capacity||0)+Y);const Bt={daily_fee:(z.fees.daily_fee||0)+Y,daily_txs:(z.fees.daily_txs||0)+1,weekly_fee:(z.fees.weekly_fee||0)+Y,weekly_txs:(z.fees.weekly_txs||0)+1,monthly_fee:(z.fees.monthly_fee||0)+Y,monthly_txs:(z.fees.monthly_txs||0)+1},$t=z.activeChannels;let Ei=!1,zi=!1;for(const Vi of $t){if(Vi.channelId===F.fromChannelId){Ei=!0;const un=(Vi.toLocal||0)+(Vi.toRemote||0);Vi.toLocal=(Vi.toLocal||0)+H.amountIn,Vi.toRemote=(Vi.toRemote||0)-H.amountIn,Vi.balancedness=0===un?1:+(1-Math.abs((Vi.toLocal-Vi.toRemote)/un)).toFixed(3)}if(Vi.channelId===F.toChannelId){zi=!0;const un=(Vi.toLocal||0)+(Vi.toRemote||0);Vi.toLocal=(Vi.toLocal||0)-H.amountOut,Vi.toRemote=(Vi.toRemote||0)+H.amountOut,Vi.balancedness=0===un?1:+(1-Math.abs((Vi.toLocal-Vi.toRemote)/un)).toFixed(3)}if(zi&&Ei)break}return{...z,payments:L,lightningBalance:ie,channelStatus:et,fees:Bt,activeChannels:$t}}),(0,qi.on)(Or.NS,(z,{payload:F})=>{const L=[];return ot.X8.forEach(H=>{const Y=F&&F.length&&F.length>0?F.find(ie=>ie.pageId===H.pageId):null;if(Y){const ie=JSON.parse(JSON.stringify(Y.tables));Y.tables=[],H.tables.forEach(et=>{const Bt=ie.find($t=>$t.tableId===et.tableId)||null;Y.tables.push(Bt||JSON.parse(JSON.stringify(et)))}),L.push(Y)}else L.push(JSON.parse(JSON.stringify(H)))}),{...z,pageSettings:L}})),W0=(z,F)=>{if("payment-relayed"===z.type)if(F&&F.length>0)for(let L=0;L<F.length;L++){if(F[L].channelId?.toString()===z.fromChannelId&&(z.fromChannelAlias=F[L].alias?F[L].alias:z.fromChannelId,z.fromShortChannelId=F[L].shortChannelId?F[L].shortChannelId:"",z.toChannelAlias)||F[L].channelId?.toString()===z.toChannelId&&(z.toChannelAlias=F[L].alias?F[L].alias:z.toChannelId,z.toShortChannelId=F[L].shortChannelId?F[L].shortChannelId:"",z.fromChannelAlias))return z;L===F.length-1&&(z.fromChannelAlias||(z.fromChannelAlias=z.fromChannelId?.substring(0,17)+"...",z.fromShortChannelId=""),z.toChannelAlias||(z.toChannelAlias=z.toChannelId?.substring(0,17)+"...",z.toShortChannelId=""))}else z.fromChannelAlias=z.fromChannelId?.substring(0,17)+"...",z.fromShortChannelId="",z.toChannelAlias=z.toChannelId?.substring(0,17)+"...",z.toShortChannelId="";else if(z.type="trampoline-payment-relayed"){if(F&&F.length>0)for(let Y=0;Y<F.length;Y++)z.incoming?.forEach(ie=>{F[Y].channelId?.toString()===ie.channelId&&(ie.channelAlias=F[Y].alias?F[Y].alias:ie.channelId,ie.shortChannelId=F[Y].shortChannelId?F[Y].shortChannelId:"")}),z.outgoing?.forEach(ie=>{F[Y].channelId?.toString()===ie.channelId&&(ie.channelAlias=F[Y].alias?F[Y].alias:ie.channelId,ie.shortChannelId=F[Y].shortChannelId?F[Y].shortChannelId:"")}),Y===F.length-1&&(z.incoming&&z.incoming.length&&z.incoming.length>0&&!z.incoming[0].channelAlias&&z.incoming?.forEach(ie=>{ie.channelAlias=ie.channelId?.substring(0,17)+"...",ie.shortChannelId=""}),z.outgoing&&z.outgoing.length&&z.outgoing.length>0&&!z.outgoing[0].channelAlias&&z.outgoing?.forEach(ie=>{ie.channelAlias=ie.channelId?.substring(0,17)+"...",ie.shortChannelId=""}));else z.incoming?.forEach(Y=>{Y.channelAlias=Y.channelId?.substring(0,17)+"...",Y.shortChannelId=""}),z.outgoing?.forEach(Y=>{Y.channelAlias=Y.channelId?.substring(0,17)+"...",Y.shortChannelId=""});const L=z.incoming?.reduce((Y,ie)=>Y+ie.amount,0)||0;z.amountIn=Math.round(L/1e3),z.fromChannelId=z.incoming&&z.incoming.length?z.incoming[0].channelId:"",z.fromChannelAlias=z.incoming&&z.incoming.length?z.incoming[0].channelAlias:"",z.fromShortChannelId=z.incoming&&z.incoming.length?z.incoming[0].shortChannelId:"";const H=z.outgoing?.reduce((Y,ie)=>Y+ie.amount,0)||0;z.amountOut=Math.round(H/1e3),z.toChannelId=z.outgoing&&z.outgoing.length?z.outgoing[0].channelId:"",z.toChannelAlias=z.outgoing&&z.outgoing.length?z.outgoing[0].channelAlias:"",z.toShortChannelId=z.outgoing&&z.outgoing.length?z.outgoing[0].shortChannelId:""}return z};let Ru=!1;(0,T.naY)()&&(Ru=!0);let yf=(()=>{var z;class F{static#e=z=()=>(this.\u0275fac=function(Y){return new(Y||F)},this.\u0275mod=e.$C({type:F,bootstrap:[mf]}),this.\u0275inj=p.G2t({providers:[(0,Ua.$R)((0,Ua.ZZ)(),(0,Ua.Sx)()),ud({idle:ot.bz-10,timeout:10,ping:12e3}),{provide:Ua.a7,useClass:X4,multi:!0},Ti.Q,nd.u,K4.I,Cc.Q,qs.h,Tc],imports:[Os,F4.G,P4,Sr.RH,b.fM,qi.md.forRoot({root:pf,lnd:Y4,cln:_f,ecl:$4},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),Fo.Vm.forRoot([ms.H,Fc.L,O1.i,G0.B]),Ru?So.instrument({connectInZone:!0}):[]]}))}return z(),F})();D().bootstrapModule(yf).catch(z=>console.error(z))},68010:(Ae,ee,l)=>{"use strict";l.d(ee,{O:()=>t});const t=new(l(2615).nKC)("MAT_INPUT_VALUE_ACCESSOR")},68075:(Ae,ee,l)=>{"use strict";var i=l(3136),t=l(88723),p=l(71993),S=l(98828),c=i.assert;function e(d){S.call(this,"short",d),this.a=new t(d.a,16).toRed(this.red),this.b=new t(d.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function T(d,w,m,P){S.BasePoint.call(this,d,"affine"),null===w&&null===m?(this.x=null,this.y=null,this.inf=!0):(this.x=new t(w,16),this.y=new t(m,16),P&&(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 g(d,w,m,P){S.BasePoint.call(this,d,"jacobian"),null===w&&null===m&&null===P?(this.x=this.curve.one,this.y=this.curve.one,this.z=new t(0)):(this.x=new t(w,16),this.y=new t(m,16),this.z=new t(P,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}p(e,S),Ae.exports=e,e.prototype._getEndomorphism=function(w){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var m,P;if(w.beta)m=new t(w.beta,16).toRed(this.red);else{var M=this._getEndoRoots(this.p);m=(m=M[0].cmp(M[1])<0?M[0]:M[1]).toRed(this.red)}if(w.lambda)P=new t(w.lambda,16);else{var j=this._getEndoRoots(this.n);0===this.g.mul(j[0]).x.cmp(this.g.x.redMul(m))?P=j[0]:c(0===this.g.mul(P=j[1]).x.cmp(this.g.x.redMul(m)))}return{beta:m,lambda:P,basis:w.basis?w.basis.map(function(K){return{a:new t(K.a,16),b:new t(K.b,16)}}):this._getEndoBasis(P)}}},e.prototype._getEndoRoots=function(w){var m=w===this.p?this.red:t.mont(w),P=new t(2).toRed(m).redInvm(),M=P.redNeg(),j=new t(3).toRed(m).redNeg().redSqrt().redMul(P);return[M.redAdd(j).fromRed(),M.redSub(j).fromRed()]},e.prototype._getEndoBasis=function(w){for(var G,Q,$,ae,ue,oe,he,Te,D,m=this.n.ushrn(Math.floor(this.n.bitLength()/2)),P=w,M=this.n.clone(),j=new t(1),U=new t(0),K=new t(0),q=new t(1),me=0;0!==P.cmpn(0);){var n=M.div(P);Te=M.sub(n.mul(P)),D=K.sub(n.mul(j));var o=q.sub(n.mul(U));if(!$&&Te.cmp(m)<0)G=he.neg(),Q=j,$=Te.neg(),ae=D;else if($&&2===++me)break;he=Te,M=P,P=Te,K=j,j=D,q=U,U=o}ue=Te.neg(),oe=D;var f=$.sqr().add(ae.sqr());return ue.sqr().add(oe.sqr()).cmp(f)>=0&&(ue=G,oe=Q),$.negative&&($=$.neg(),ae=ae.neg()),ue.negative&&(ue=ue.neg(),oe=oe.neg()),[{a:$,b:ae},{a:ue,b:oe}]},e.prototype._endoSplit=function(w){var m=this.endo.basis,P=m[0],M=m[1],j=M.b.mul(w).divRound(this.n),U=P.b.neg().mul(w).divRound(this.n),K=j.mul(P.a),q=U.mul(M.a),G=j.mul(P.b),Q=U.mul(M.b);return{k1:w.sub(K).sub(q),k2:G.add(Q).neg()}},e.prototype.pointFromX=function(w,m){(w=new t(w,16)).red||(w=w.toRed(this.red));var P=w.redSqr().redMul(w).redIAdd(w.redMul(this.a)).redIAdd(this.b),M=P.redSqrt();if(0!==M.redSqr().redSub(P).cmp(this.zero))throw new Error("invalid point");var j=M.fromRed().isOdd();return(m&&!j||!m&&j)&&(M=M.redNeg()),this.point(w,M)},e.prototype.validate=function(w){if(w.inf)return!0;var m=w.x,P=w.y,M=this.a.redMul(m),j=m.redSqr().redMul(m).redIAdd(M).redIAdd(this.b);return 0===P.redSqr().redISub(j).cmpn(0)},e.prototype._endoWnafMulAdd=function(w,m,P){for(var M=this._endoWnafT1,j=this._endoWnafT2,U=0;U<w.length;U++){var K=this._endoSplit(m[U]),q=w[U],G=q._getBeta();K.k1.negative&&(K.k1.ineg(),q=q.neg(!0)),K.k2.negative&&(K.k2.ineg(),G=G.neg(!0)),M[2*U]=q,M[2*U+1]=G,j[2*U]=K.k1,j[2*U+1]=K.k2}for(var Q=this._wnafMulAdd(1,M,j,2*U,P),$=0;$<2*U;$++)M[$]=null,j[$]=null;return Q},p(T,S.BasePoint),e.prototype.point=function(w,m,P){return new T(this,w,m,P)},e.prototype.pointFromJSON=function(w,m){return T.fromJSON(this,w,m)},T.prototype._getBeta=function(){if(this.curve.endo){var w=this.precomputed;if(w&&w.beta)return w.beta;var m=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(w){var P=this.curve,M=function(j){return P.point(j.x.redMul(P.endo.beta),j.y)};w.beta=m,m.precomputed={beta:null,naf:w.naf&&{wnd:w.naf.wnd,points:w.naf.points.map(M)},doubles:w.doubles&&{step:w.doubles.step,points:w.doubles.points.map(M)}}}return m}},T.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},T.fromJSON=function(w,m,P){"string"==typeof m&&(m=JSON.parse(m));var M=w.point(m[0],m[1],P);if(!m[2])return M;function j(K){return w.point(K[0],K[1],P)}var U=m[2];return M.precomputed={beta:null,doubles:U.doubles&&{step:U.doubles.step,points:[M].concat(U.doubles.points.map(j))},naf:U.naf&&{wnd:U.naf.wnd,points:[M].concat(U.naf.points.map(j))}},M},T.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},T.prototype.isInfinity=function(){return this.inf},T.prototype.add=function(w){if(this.inf)return w;if(w.inf)return this;if(this.eq(w))return this.dbl();if(this.neg().eq(w))return this.curve.point(null,null);if(0===this.x.cmp(w.x))return this.curve.point(null,null);var m=this.y.redSub(w.y);0!==m.cmpn(0)&&(m=m.redMul(this.x.redSub(w.x).redInvm()));var P=m.redSqr().redISub(this.x).redISub(w.x),M=m.redMul(this.x.redSub(P)).redISub(this.y);return this.curve.point(P,M)},T.prototype.dbl=function(){if(this.inf)return this;var w=this.y.redAdd(this.y);if(0===w.cmpn(0))return this.curve.point(null,null);var m=this.curve.a,P=this.x.redSqr(),M=w.redInvm(),j=P.redAdd(P).redIAdd(P).redIAdd(m).redMul(M),U=j.redSqr().redISub(this.x.redAdd(this.x)),K=j.redMul(this.x.redSub(U)).redISub(this.y);return this.curve.point(U,K)},T.prototype.getX=function(){return this.x.fromRed()},T.prototype.getY=function(){return this.y.fromRed()},T.prototype.mul=function(w){return w=new t(w,16),this.isInfinity()?this:this._hasDoubles(w)?this.curve._fixedNafMul(this,w):this.curve.endo?this.curve._endoWnafMulAdd([this],[w]):this.curve._wnafMul(this,w)},T.prototype.mulAdd=function(w,m,P){var M=[this,m],j=[w,P];return this.curve.endo?this.curve._endoWnafMulAdd(M,j):this.curve._wnafMulAdd(1,M,j,2)},T.prototype.jmulAdd=function(w,m,P){var M=[this,m],j=[w,P];return this.curve.endo?this.curve._endoWnafMulAdd(M,j,!0):this.curve._wnafMulAdd(1,M,j,2,!0)},T.prototype.eq=function(w){return this===w||this.inf===w.inf&&(this.inf||0===this.x.cmp(w.x)&&0===this.y.cmp(w.y))},T.prototype.neg=function(w){if(this.inf)return this;var m=this.curve.point(this.x,this.y.redNeg());if(w&&this.precomputed){var P=this.precomputed,M=function(j){return j.neg()};m.precomputed={naf:P.naf&&{wnd:P.naf.wnd,points:P.naf.points.map(M)},doubles:P.doubles&&{step:P.doubles.step,points:P.doubles.points.map(M)}}}return m},T.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},p(g,S.BasePoint),e.prototype.jpoint=function(w,m,P){return new g(this,w,m,P)},g.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var w=this.z.redInvm(),m=w.redSqr(),P=this.x.redMul(m),M=this.y.redMul(m).redMul(w);return this.curve.point(P,M)},g.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},g.prototype.add=function(w){if(this.isInfinity())return w;if(w.isInfinity())return this;var m=w.z.redSqr(),P=this.z.redSqr(),M=this.x.redMul(m),j=w.x.redMul(P),U=this.y.redMul(m.redMul(w.z)),K=w.y.redMul(P.redMul(this.z)),q=M.redSub(j),G=U.redSub(K);if(0===q.cmpn(0))return 0!==G.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var Q=q.redSqr(),$=Q.redMul(q),ae=M.redMul(Q),ue=G.redSqr().redIAdd($).redISub(ae).redISub(ae),oe=G.redMul(ae.redISub(ue)).redISub(U.redMul($)),he=this.z.redMul(w.z).redMul(q);return this.curve.jpoint(ue,oe,he)},g.prototype.mixedAdd=function(w){if(this.isInfinity())return w.toJ();if(w.isInfinity())return this;var m=this.z.redSqr(),P=this.x,M=w.x.redMul(m),j=this.y,U=w.y.redMul(m).redMul(this.z),K=P.redSub(M),q=j.redSub(U);if(0===K.cmpn(0))return 0!==q.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var G=K.redSqr(),Q=G.redMul(K),$=P.redMul(G),ae=q.redSqr().redIAdd(Q).redISub($).redISub($),ue=q.redMul($.redISub(ae)).redISub(j.redMul(Q)),oe=this.z.redMul(K);return this.curve.jpoint(ae,ue,oe)},g.prototype.dblp=function(w){if(0===w)return this;if(this.isInfinity())return this;if(!w)return this.dbl();var m;if(this.curve.zeroA||this.curve.threeA){var P=this;for(m=0;m<w;m++)P=P.dbl();return P}var M=this.curve.a,j=this.curve.tinv,U=this.x,K=this.y,q=this.z,G=q.redSqr().redSqr(),Q=K.redAdd(K);for(m=0;m<w;m++){var $=U.redSqr(),ae=Q.redSqr(),ue=ae.redSqr(),oe=$.redAdd($).redIAdd($).redIAdd(M.redMul(G)),he=U.redMul(ae),me=oe.redSqr().redISub(he.redAdd(he)),Te=he.redISub(me),D=oe.redMul(Te);D=D.redIAdd(D).redISub(ue);var n=Q.redMul(q);m+1<w&&(G=G.redMul(ue)),U=me,q=n,Q=D}return this.curve.jpoint(U,Q.redMul(j),q)},g.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},g.prototype._zeroDbl=function(){var w,m,P;if(this.zOne){var M=this.x.redSqr(),j=this.y.redSqr(),U=j.redSqr(),K=this.x.redAdd(j).redSqr().redISub(M).redISub(U);K=K.redIAdd(K);var q=M.redAdd(M).redIAdd(M),G=q.redSqr().redISub(K).redISub(K),Q=U.redIAdd(U);Q=(Q=Q.redIAdd(Q)).redIAdd(Q),w=G,m=q.redMul(K.redISub(G)).redISub(Q),P=this.y.redAdd(this.y)}else{var $=this.x.redSqr(),ae=this.y.redSqr(),ue=ae.redSqr(),oe=this.x.redAdd(ae).redSqr().redISub($).redISub(ue);oe=oe.redIAdd(oe);var he=$.redAdd($).redIAdd($),me=he.redSqr(),Te=ue.redIAdd(ue);Te=(Te=Te.redIAdd(Te)).redIAdd(Te),w=me.redISub(oe).redISub(oe),m=he.redMul(oe.redISub(w)).redISub(Te),P=(P=this.y.redMul(this.z)).redIAdd(P)}return this.curve.jpoint(w,m,P)},g.prototype._threeDbl=function(){var w,m,P;if(this.zOne){var M=this.x.redSqr(),j=this.y.redSqr(),U=j.redSqr(),K=this.x.redAdd(j).redSqr().redISub(M).redISub(U);K=K.redIAdd(K);var q=M.redAdd(M).redIAdd(M).redIAdd(this.curve.a),G=q.redSqr().redISub(K).redISub(K);w=G;var Q=U.redIAdd(U);Q=(Q=Q.redIAdd(Q)).redIAdd(Q),m=q.redMul(K.redISub(G)).redISub(Q),P=this.y.redAdd(this.y)}else{var $=this.z.redSqr(),ae=this.y.redSqr(),ue=this.x.redMul(ae),oe=this.x.redSub($).redMul(this.x.redAdd($));oe=oe.redAdd(oe).redIAdd(oe);var he=ue.redIAdd(ue),me=(he=he.redIAdd(he)).redAdd(he);w=oe.redSqr().redISub(me),P=this.y.redAdd(this.z).redSqr().redISub(ae).redISub($);var Te=ae.redSqr();Te=(Te=(Te=Te.redIAdd(Te)).redIAdd(Te)).redIAdd(Te),m=oe.redMul(he.redISub(w)).redISub(Te)}return this.curve.jpoint(w,m,P)},g.prototype._dbl=function(){var w=this.curve.a,m=this.x,P=this.y,M=this.z,j=M.redSqr().redSqr(),U=m.redSqr(),K=P.redSqr(),q=U.redAdd(U).redIAdd(U).redIAdd(w.redMul(j)),G=m.redAdd(m),Q=(G=G.redIAdd(G)).redMul(K),$=q.redSqr().redISub(Q.redAdd(Q)),ae=Q.redISub($),ue=K.redSqr();ue=(ue=(ue=ue.redIAdd(ue)).redIAdd(ue)).redIAdd(ue);var oe=q.redMul(ae).redISub(ue),he=P.redAdd(P).redMul(M);return this.curve.jpoint($,oe,he)},g.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var w=this.x.redSqr(),m=this.y.redSqr(),P=this.z.redSqr(),M=m.redSqr(),j=w.redAdd(w).redIAdd(w),U=j.redSqr(),K=this.x.redAdd(m).redSqr().redISub(w).redISub(M),q=(K=(K=(K=K.redIAdd(K)).redAdd(K).redIAdd(K)).redISub(U)).redSqr(),G=M.redIAdd(M);G=(G=(G=G.redIAdd(G)).redIAdd(G)).redIAdd(G);var Q=j.redIAdd(K).redSqr().redISub(U).redISub(q).redISub(G),$=m.redMul(Q);$=($=$.redIAdd($)).redIAdd($);var ae=this.x.redMul(q).redISub($);ae=(ae=ae.redIAdd(ae)).redIAdd(ae);var ue=this.y.redMul(Q.redMul(G.redISub(Q)).redISub(K.redMul(q)));ue=(ue=(ue=ue.redIAdd(ue)).redIAdd(ue)).redIAdd(ue);var oe=this.z.redAdd(K).redSqr().redISub(P).redISub(q);return this.curve.jpoint(ae,ue,oe)},g.prototype.mul=function(w,m){return w=new t(w,m),this.curve._wnafMul(this,w)},g.prototype.eq=function(w){if("affine"===w.type)return this.eq(w.toJ());if(this===w)return!0;var m=this.z.redSqr(),P=w.z.redSqr();if(0!==this.x.redMul(P).redISub(w.x.redMul(m)).cmpn(0))return!1;var M=m.redMul(this.z),j=P.redMul(w.z);return 0===this.y.redMul(j).redISub(w.y.redMul(M)).cmpn(0)},g.prototype.eqXToP=function(w){var m=this.z.redSqr(),P=w.toRed(this.curve.red).redMul(m);if(0===this.x.cmp(P))return!0;for(var M=w.clone(),j=this.curve.redN.redMul(m);;){if(M.iadd(this.curve.n),M.cmp(this.curve.p)>=0)return!1;if(P.redIAdd(j),0===this.x.cmp(P))return!0}},g.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},g.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},68283:(Ae,ee,l)=>{"use strict";var i=l(39210),t=l(71993);function p(o,f){return!(55296!=(64512&o.charCodeAt(f))||f<0||f+1>=o.length)&&56320==(64512&o.charCodeAt(f+1))}function e(o){return(o>>>24|o>>>8&65280|o<<8&16711680|(255&o)<<24)>>>0}function g(o){return 1===o.length?"0"+o:o}function d(o){return 7===o.length?"0"+o:6===o.length?"00"+o:5===o.length?"000"+o:4===o.length?"0000"+o:3===o.length?"00000"+o:2===o.length?"000000"+o:1===o.length?"0000000"+o:o}ee.inherits=t,ee.toArray=function S(o,f){if(Array.isArray(o))return o.slice();if(!o)return[];var h=[];if("string"==typeof o)if(f){if("hex"===f)for((o=o.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(o="0"+o),A=0;A<o.length;A+=2)h.push(parseInt(o[A]+o[A+1],16))}else for(var b=0,A=0;A<o.length;A++){var k=o.charCodeAt(A);k<128?h[b++]=k:k<2048?(h[b++]=k>>6|192,h[b++]=63&k|128):p(o,A)?(k=65536+((1023&k)<<10)+(1023&o.charCodeAt(++A)),h[b++]=k>>18|240,h[b++]=k>>12&63|128,h[b++]=k>>6&63|128,h[b++]=63&k|128):(h[b++]=k>>12|224,h[b++]=k>>6&63|128,h[b++]=63&k|128)}else for(A=0;A<o.length;A++)h[A]=0|o[A];return h},ee.toHex=function c(o){for(var f="",h=0;h<o.length;h++)f+=g(o[h].toString(16));return f},ee.htonl=e,ee.toHex32=function T(o,f){for(var h="",b=0;b<o.length;b++){var A=o[b];"little"===f&&(A=e(A)),h+=d(A.toString(16))}return h},ee.zero2=g,ee.zero8=d,ee.join32=function w(o,f,h,b){var A=h-f;i(A%4==0);for(var k=new Array(A/4),x=0,r=f;x<k.length;x++,r+=4)k[x]=("big"===b?o[r]<<24|o[r+1]<<16|o[r+2]<<8|o[r+3]:o[r+3]<<24|o[r+2]<<16|o[r+1]<<8|o[r])>>>0;return k},ee.split32=function m(o,f){for(var h=new Array(4*o.length),b=0,A=0;b<o.length;b++,A+=4){var k=o[b];"big"===f?(h[A]=k>>>24,h[A+1]=k>>>16&255,h[A+2]=k>>>8&255,h[A+3]=255&k):(h[A+3]=k>>>24,h[A+2]=k>>>16&255,h[A+1]=k>>>8&255,h[A]=255&k)}return h},ee.rotr32=function P(o,f){return o>>>f|o<<32-f},ee.rotl32=function M(o,f){return o<<f|o>>>32-f},ee.sum32=function j(o,f){return o+f>>>0},ee.sum32_3=function U(o,f,h){return o+f+h>>>0},ee.sum32_4=function K(o,f,h,b){return o+f+h+b>>>0},ee.sum32_5=function q(o,f,h,b,A){return o+f+h+b+A>>>0},ee.sum64=function G(o,f,h,b){var x=b+o[f+1]>>>0;o[f]=(x<b?1:0)+h+o[f]>>>0,o[f+1]=x},ee.sum64_hi=function Q(o,f,h,b){return(f+b>>>0<f?1:0)+o+h>>>0},ee.sum64_lo=function $(o,f,h,b){return f+b>>>0},ee.sum64_4_hi=function ae(o,f,h,b,A,k,x,r){var _=0,W=f;return _+=(W=W+b>>>0)<f?1:0,_+=(W=W+k>>>0)<k?1:0,o+h+A+x+(_+=(W=W+r>>>0)<r?1:0)>>>0},ee.sum64_4_lo=function ue(o,f,h,b,A,k,x,r){return f+b+k+r>>>0},ee.sum64_5_hi=function oe(o,f,h,b,A,k,x,r,_,W){var I=0,B=f;return I+=(B=B+b>>>0)<f?1:0,I+=(B=B+k>>>0)<k?1:0,I+=(B=B+r>>>0)<r?1:0,o+h+A+x+_+(I+=(B=B+W>>>0)<W?1:0)>>>0},ee.sum64_5_lo=function he(o,f,h,b,A,k,x,r,_,W){return f+b+k+r+W>>>0},ee.rotr64_hi=function me(o,f,h){return(f<<32-h|o>>>h)>>>0},ee.rotr64_lo=function Te(o,f,h){return(o<<32-h|f>>>h)>>>0},ee.shr64_hi=function D(o,f,h){return o>>>h},ee.shr64_lo=function n(o,f,h){return(o<<32-h|f>>>h)>>>0}},68314:(Ae,ee,l)=>{const i=l(72836),t=l(89460),p=l(7030),S=l(56511);function c(e,T,g,d,w){const m=[].slice.call(arguments,1),P=m.length,M="function"==typeof m[P-1];if(!M&&!i())throw new Error("Callback required as last argument");if(!M){if(P<1)throw new Error("Too few arguments provided");return 1===P?(g=T,T=d=void 0):2===P&&!T.getContext&&(d=g,g=T,T=void 0),new Promise(function(j,U){try{const K=t.create(g,d);j(e(K,T,d))}catch(K){U(K)}})}if(P<2)throw new Error("Too few arguments provided");2===P?(w=g,g=T,T=d=void 0):3===P&&(T.getContext&&typeof w>"u"?(w=d,d=void 0):(w=d,d=g,g=T,T=void 0));try{const j=t.create(g,d);w(null,e(j,T,d))}catch(j){w(j)}}ee.create=t.create,ee.toCanvas=c.bind(null,p.render),ee.toDataURL=c.bind(null,p.renderToDataURL),ee.toString=c.bind(null,function(e,T,g){return S.render(e,g)})},68326:(__unused_webpack_module,exports)=>{var indexOf=function(Ae,ee){if(Ae.indexOf)return Ae.indexOf(ee);for(var l=0;l<Ae.length;l++)if(Ae[l]===ee)return l;return-1},Object_keys=function(Ae){if(Object.keys)return Object.keys(Ae);var ee=[];for(var l in Ae)ee.push(l);return ee},forEach=function(Ae,ee){if(Ae.forEach)return Ae.forEach(ee);for(var l=0;l<Ae.length;l++)ee(Ae[l],l,Ae)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(Ae,ee,l){Object.defineProperty(Ae,ee,{writable:!0,enumerable:!1,configurable:!0,value:l})}}catch{return function(ee,l,i){ee[l]=i}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(ee){if(!(this instanceof Script))return new Script(ee);this.code=ee};Script.prototype.runInContext=function(Ae){if(!(Ae instanceof Context))throw new TypeError("needs a 'context' argument.");var ee=document.createElement("iframe");ee.style||(ee.style={}),ee.style.display="none",document.body.appendChild(ee);var l=ee.contentWindow,i=l.eval,t=l.execScript;!i&&t&&(t.call(l,"null"),i=l.eval),forEach(Object_keys(Ae),function(c){l[c]=Ae[c]}),forEach(globals,function(c){Ae[c]&&(l[c]=Ae[c])});var p=Object_keys(l),S=i.call(l,this.code);return forEach(Object_keys(l),function(c){(c in Ae||-1===indexOf(p,c))&&(Ae[c]=l[c])}),forEach(globals,function(c){c in Ae||defineProp(Ae,c,l[c])}),document.body.removeChild(ee),S},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(Ae){var ee=Script.createContext(Ae),l=this.runInContext(ee);return Ae&&forEach(Object_keys(ee),function(i){Ae[i]=ee[i]}),l},forEach(Object_keys(Script.prototype),function(Ae){exports[Ae]=Script[Ae]=function(ee){var l=Script(ee);return l[Ae].apply(l,[].slice.call(arguments,1))}}),exports.isContext=function(Ae){return Ae instanceof Context},exports.createScript=function(Ae){return exports.Script(Ae)},exports.createContext=Script.createContext=function(Ae){var ee=new Context;return"object"==typeof Ae&&forEach(Object_keys(Ae),function(l){ee[l]=Ae[l]}),ee}},69579:(Ae,ee,l)=>{"use strict";l.d(ee,{L:()=>me});var i=l(11747),t=l(21413),p=l(7673),S=l(99437),c=l(96354),e=l(31397),T=l(56977),g=l(53993),d=l(46391),w=l(12462),m=l(4416),P=l(11771),M=l(190),j=l(63536),U=l(2615),K=l(29330),q=l(59640),G=l(98570),Q=l(82571),$=l(53202),ae=l(51585),ue=l(43694),oe=l(7879),he=l(57303);let me=(()=>{var Te;class D{constructor(o,f,h,b,A,k,x,r,_,W){this.actions=o,this.httpClient=f,this.store=h,this.logger=b,this.commonService=A,this.sessionService=k,this.dialog=x,this.router=r,this.wsService=_,this.location=W,this.CHILD_API_URL=m.H$+"/lnd",this.invoicesPageSettings=m.ZC.find(I=>"transactions"===I.pageId)?.tables.find(I=>"invoices"===I.tableId),this.paymentsPageSettings=m.ZC.find(I=>"transactions"===I.pageId)?.tables.find(I=>"payments"===I.tableId),this.flgInitialized=!1,this.unSubs=[new t.B,new t.B],this.infoFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_INFO_LND),(0,e.Z)(I=>(this.flgInitialized=!1,this.store.dispatch((0,P.My)({payload:this.CHILD_API_URL})),this.store.dispatch((0,P.Jh)()),this.store.dispatch((0,P.mt)({payload:m.MZ.GET_NODE_INFO})),this.store.dispatch((0,M.e8)({payload:{action:"FetchInfo",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.GETINFO_API).pipe((0,T.Q)(this.actions.pipe((0,i.gp)(m.aU.SET_SELECTED_NODE))),(0,c.T)(B=>(this.logger.info(B),B.chains&&B.chains.length&&B.chains[0]&&("string"==typeof B.chains[0]&&B.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof B.chains[0]&&B.chains[0].hasOwnProperty("chain")&&B.chains[0].chain&&B.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,M.e8)({payload:{action:"FetchInfo",status:m.wn.COMPLETED}})),this.store.dispatch((0,P.Jh)()),this.store.dispatch((0,P.xO)({payload:{data:{type:m.A$.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:m.aU.LOGOUT}):B.identity_pubkey?(B.lnImplementation="LND",this.initializeRemainingData(B,I.payload.loadPage),this.store.dispatch((0,M.e8)({payload:{action:"FetchInfo",status:m.wn.COMPLETED}})),this.store.dispatch((0,P.Jh)()),{type:m.QP.SET_INFO_LND,payload:B||{}}):(this.store.dispatch((0,M.e8)({payload:{action:"FetchInfo",status:m.wn.COMPLETED}})),this.store.dispatch((0,P.Jh)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:m.QP.SET_INFO_LND,payload:{}}))),(0,S.W)(B=>{if("string"==typeof B.error.error&&B.error.error.includes("Not Found")||"string"==typeof B.error.error&&B.error.error.includes("wallet locked")||502===B.status&&!B.error.message.includes("Bad or Missing Macaroon"))this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),this.handleErrorWithoutAlert("FetchInfo",m.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",B);else if("string"==typeof B.error.error&&B.error.error.includes("starting up")&&500===B.status)setTimeout(()=>{this.store.dispatch((0,M.Br)({payload:{loadPage:"HOME"}}))},2e3);else{const re=this.commonService.extractErrorCode(B),pe=503===re?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(B);this.router.navigate(["/error"],{state:{errorCode:re,errorMessage:pe}}),this.handleErrorWithoutAlert("FetchInfo",m.MZ.GET_NODE_INFO,"Fetching Node Info Failed.",{status:re,error:pe})}return(0,p.of)({type:m.aU.VOID})})))))),this.peersFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_PEERS_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchPeers",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.PEERS_API).pipe((0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"FetchPeers",status:m.wn.COMPLETED}})),{type:m.QP.SET_PEERS_LND,payload:I||[]})),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchPeers",m.MZ.NO_SPINNER,"Fetching Peers Failed.",I),(0,p.of)({type:m.aU.VOID})))))))),this.saveNewPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SAVE_NEW_PEER_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.CONNECT_PEER})),this.store.dispatch((0,M.e8)({payload:{action:"SaveNewPeer",status:m.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+m.rl.PEERS_API,{pubkey:I.payload.pubkey,host:I.payload.host,perm:I.payload.perm}).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,M.e8)({payload:{action:"SaveNewPeer",status:m.wn.COMPLETED}})),this.store.dispatch((0,P.y0)({payload:m.MZ.CONNECT_PEER})),this.store.dispatch((0,M.Qj)({payload:B||[]})),{type:m.QP.NEWLY_ADDED_PEER_LND,payload:{peer:B[0]}})),(0,S.W)(B=>(this.handleErrorWithoutAlert("SaveNewPeer",m.MZ.CONNECT_PEER,"Peer Connection Failed.",B),(0,p.of)({type:m.aU.VOID})))))))),this.detachPeer=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.DETACH_PEER_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+m.rl.PEERS_API+"/"+I.payload.pubkey).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,P.y0)({payload:m.MZ.DISCONNECT_PEER})),this.store.dispatch((0,P.UI)({payload:"Peer Disconnected Successfully."})),{type:m.QP.REMOVE_PEER_LND,payload:{pubkey:I.payload.pubkey}})),(0,S.W)(B=>(this.handleErrorWithAlert("DetachPeer",m.MZ.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+m.rl.PEERS_API+"/"+I.payload.pubkey,B),(0,p.of)({type:m.aU.VOID})))))))),this.saveNewInvoice=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SAVE_NEW_INVOICE_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:I.payload.uiMessage})),this.store.dispatch((0,M.e8)({payload:{action:"SaveNewInvoice",status:m.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+m.rl.INVOICES_API,{memo:I.payload.memo,value:I.payload.value,private:I.payload.private,expiry:I.payload.expiry,is_amp:I.payload.is_amp}).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,M.e8)({payload:{action:"SaveNewInvoice",status:m.wn.COMPLETED}})),this.store.dispatch((0,M.Do)({payload:{num_max_invoices:I.payload.pageSize,reversed:!0}})),I.payload.openModal?(B.memo=I.payload.memo,B.value=I.payload.value,B.expiry=I.payload.expiry,B.private=I.payload.private,B.is_amp=I.payload.is_amp,B.cltv_expiry="144",B.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,P.xO)({payload:{data:{invoice:B,newlyAdded:!0,component:d.H}}}))},200),{type:m.aU.CLOSE_SPINNER,payload:I.payload.uiMessage}):{type:m.QP.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:B.payment_request}})),(0,S.W)(B=>(this.handleErrorWithoutAlert("SaveNewInvoice",I.payload.uiMessage,"Add Invoice Failed.",B),(0,p.of)({type:m.aU.VOID})))))))),this.openNewChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SAVE_NEW_CHANNEL_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.OPEN_CHANNEL})),this.store.dispatch((0,M.e8)({payload:{action:"SaveNewChannel",status:m.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+m.rl.CHANNELS_API,{node_pubkey:I.payload.selectedPeerPubkey,local_funding_amount:I.payload.fundingAmount,private:I.payload.private,trans_type:I.payload.transType,trans_type_value:I.payload.transTypeValue,spend_unconfirmed:I.payload.spendUnconfirmed,commitment_type:I.payload.commitmentType}).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,M.e8)({payload:{action:"SaveNewChannel",status:m.wn.COMPLETED}})),this.store.dispatch((0,P.y0)({payload:m.MZ.OPEN_CHANNEL})),this.store.dispatch((0,M.DY)()),this.store.dispatch((0,M.$Q)()),this.store.dispatch((0,M.H2)({payload:{uiMessage:m.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:m.QP.FETCH_PENDING_CHANNELS_LND})),(0,S.W)(B=>(this.handleErrorWithoutAlert("SaveNewChannel",m.MZ.OPEN_CHANNEL,"Opening Channel Failed.",B),(0,p.of)({type:m.aU.VOID})))))))),this.updateChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.UPDATE_CHANNEL_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+m.rl.CHANNELS_API+"/chanPolicy",{baseFeeMsat:I.payload.baseFeeMsat,feeRate:I.payload.feeRate,timeLockDelta:I.payload.timeLockDelta,max_htlc_msat:I.payload.maxHtlcMsat,min_htlc_msat:I.payload.minHtlcMsat,chanPoint:I.payload.chanPoint}).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,P.y0)({payload:m.MZ.UPDATE_CHAN_POLICY})),this.store.dispatch((0,P.UI)("all"===I.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:m.QP.FETCH_CHANNELS_LND})),(0,S.W)(B=>(this.handleErrorWithAlert("UpdateChannels",m.MZ.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+m.rl.CHANNELS_API+"/chanPolicy",B),(0,p.of)({type:m.aU.VOID})))))))),this.closeChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.CLOSE_CHANNEL_LND),(0,e.Z)(I=>{this.store.dispatch((0,P.mt)({payload:I.payload.forcibly?m.MZ.FORCE_CLOSE_CHANNEL:m.MZ.CLOSE_CHANNEL}));let B=this.CHILD_API_URL+m.rl.CHANNELS_API+"/"+I.payload.channelPoint+"?force="+I.payload.forcibly;return I.payload.targetConf&&(B=B+"&target_conf="+I.payload.targetConf),I.payload.satPerByte&&(B=B+"&sat_per_byte="+I.payload.satPerByte),this.httpClient.delete(B).pipe((0,c.T)(re=>(this.logger.info(re),this.store.dispatch((0,P.y0)({payload:I.payload.forcibly?m.MZ.FORCE_CLOSE_CHANNEL:m.MZ.CLOSE_CHANNEL})),this.store.dispatch((0,M.$Q)()),this.store.dispatch((0,M.ar)()),this.store.dispatch((0,M.H2)({payload:{uiMessage:m.MZ.NO_SPINNER,channelPoint:"ALL",showMessage:re.message}})),{type:m.aU.VOID})),(0,S.W)(re=>(this.handleErrorWithAlert("CloseChannel",I.payload.forcibly?m.MZ.FORCE_CLOSE_CHANNEL:m.MZ.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+m.rl.CHANNELS_API+"/"+I.payload.channelPoint+"?force="+I.payload.forcibly,re),(0,p.of)({type:m.aU.VOID}))))}))),this.backupChannels=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.BACKUP_CHANNELS_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:I.payload.uiMessage})),this.store.dispatch((0,M.e8)({payload:{action:"BackupChannels",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.CHANNELS_BACKUP_API+"/"+I.payload.channelPoint).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,M.e8)({payload:{action:"BackupChannels",status:m.wn.COMPLETED}})),this.store.dispatch((0,P.y0)({payload:I.payload.uiMessage})),this.store.dispatch((0,P.UI)({payload:I.payload.showMessage+" "+B.message})),{type:m.QP.BACKUP_CHANNELS_RES_LND,payload:B.message})),(0,S.W)(B=>(this.handleErrorWithAlert("BackupChannels",I.payload.uiMessage,I.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+m.rl.CHANNELS_BACKUP_API+"/"+I.payload.channelPoint,B),(0,p.of)({type:m.aU.VOID})))))))),this.verifyChannel=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.VERIFY_CHANNEL_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,M.e8)({payload:{action:"VerifyChannel",status:m.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+m.rl.CHANNELS_BACKUP_API+"/verify/"+I.payload.channelPoint,{}).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,M.e8)({payload:{action:"VerifyChannel",status:m.wn.COMPLETED}})),this.store.dispatch((0,P.y0)({payload:m.MZ.VERIFY_CHANNEL})),this.store.dispatch((0,P.UI)({payload:B.message})),{type:m.QP.VERIFY_CHANNEL_RES_LND,payload:B.message})),(0,S.W)(B=>(this.handleErrorWithAlert("VerifyChannel",m.MZ.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+m.rl.CHANNELS_BACKUP_API+"/verify/"+I.payload.channelPoint,B),(0,p.of)({type:m.aU.VOID})))))))),this.restoreChannels=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.RESTORE_CHANNELS_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,M.e8)({payload:{action:"RestoreChannels",status:m.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+m.rl.CHANNELS_BACKUP_API+"/restore/"+I.payload.channelPoint,{}).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,M.e8)({payload:{action:"RestoreChannels",status:m.wn.COMPLETED}})),this.store.dispatch((0,P.y0)({payload:m.MZ.RESTORE_CHANNEL})),this.store.dispatch((0,P.UI)({payload:B.message})),this.store.dispatch((0,M.t5)({payload:B.list})),{type:m.QP.RESTORE_CHANNELS_RES_LND,payload:B.message})),(0,S.W)(B=>(this.handleErrorWithAlert("RestoreChannels",m.MZ.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+m.rl.CHANNELS_BACKUP_API+"/restore/"+I.payload.channelPoint,B),(0,p.of)({type:m.aU.VOID})))))))),this.fetchFees=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_FEES_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchFees",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.FEES_API))),(0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"FetchFees",status:m.wn.COMPLETED}})),I.forwarding_events_history&&(this.store.dispatch((0,M.kv)({payload:I.forwarding_events_history})),delete I.forwarding_events_history),{type:m.QP.SET_FEES_LND,payload:I||{}})),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchFees",m.MZ.NO_SPINNER,"Fetching Fees Failed.",I),(0,p.of)({type:m.aU.VOID}))))),this.balanceBlockchainFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_BLOCKCHAIN_BALANCE_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchBalance",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.BALANCE_API))),(0,c.T)(I=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchBalance",status:m.wn.COMPLETED}})),this.logger.info(I),{type:m.QP.SET_BLOCKCHAIN_BALANCE_LND,payload:I||{total_balance:""}})),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchBalance",m.MZ.NO_SPINNER,"Fetching Blockchain Balance Failed.",I),(0,p.of)({type:m.aU.VOID}))))),this.networkInfoFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_NETWORK_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchNetwork",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.NETWORK_API+"/info"))),(0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"FetchNetwork",status:m.wn.COMPLETED}})),{type:m.QP.SET_NETWORK_LND,payload:I||{}})),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchNetwork",m.MZ.NO_SPINNER,"Fetching Network Failed.",I),(0,p.of)({type:m.aU.VOID}))))),this.channelsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_CHANNELS_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchChannels",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.CHANNELS_API).pipe((0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"FetchChannels",status:m.wn.COMPLETED}})),{type:m.QP.SET_CHANNELS_LND,payload:I.channels||[]})),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchChannels",m.MZ.NO_SPINNER,"Fetching Channels Failed.",I),(0,p.of)({type:m.aU.VOID})))))))),this.channelsPendingFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_PENDING_CHANNELS_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchPendingChannels",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.CHANNELS_API+"/pending").pipe((0,c.T)(I=>{this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"FetchPendingChannels",status:m.wn.COMPLETED}}));const B={open:{num_channels:0,limbo_balance:0},closing:{num_channels:0,limbo_balance:0},force_closing:{num_channels:0,limbo_balance:0},waiting_close:{num_channels:0,limbo_balance:0},total_channels:0,total_limbo_balance:0};return I&&(B.total_limbo_balance=I.total_limbo_balance,I.pending_closing_channels&&(B.closing.num_channels=I.pending_closing_channels.length,B.total_channels=B.total_channels+I.pending_closing_channels.length,I.pending_closing_channels.forEach(re=>{B.closing.limbo_balance=+B.closing.limbo_balance+(re.channel.local_balance?+re.channel.local_balance:0)})),I.pending_force_closing_channels&&(B.force_closing.num_channels=I.pending_force_closing_channels.length,B.total_channels=B.total_channels+I.pending_force_closing_channels.length,I.pending_force_closing_channels.forEach(re=>{B.force_closing.limbo_balance=+B.force_closing.limbo_balance+(re.channel.local_balance?+re.channel.local_balance:0)})),I.pending_open_channels&&(B.open.num_channels=I.pending_open_channels.length,B.total_channels=B.total_channels+I.pending_open_channels.length,I.pending_open_channels.forEach(re=>{B.open.limbo_balance=+B.open.limbo_balance+(re.channel.local_balance?+re.channel.local_balance:0)})),I.waiting_close_channels&&(B.waiting_close.num_channels=I.waiting_close_channels.length,B.total_channels=B.total_channels+I.waiting_close_channels.length,I.waiting_close_channels.forEach(re=>{B.waiting_close.limbo_balance=+B.waiting_close.limbo_balance+(re.channel.local_balance?+re.channel.local_balance:0)}))),{type:m.QP.SET_PENDING_CHANNELS_LND,payload:I?{pendingChannels:I,pendingChannelsSummary:B}:{pendingChannels:{},pendingChannelsSummary:B}}}),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchPendingChannels",m.MZ.NO_SPINNER,"Fetching Pending Channels Failed.",I),(0,p.of)({type:m.aU.VOID})))))))),this.channelsClosedFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_CLOSED_CHANNELS_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchClosedChannels",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.CHANNELS_API+"/closed").pipe((0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"FetchClosedChannels",status:m.wn.COMPLETED}})),{type:m.QP.SET_CLOSED_CHANNELS_LND,payload:I.channels||[]})),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchClosedChannels",m.MZ.NO_SPINNER,"Fetching Closed Channels Failed.",I),(0,p.of)({type:m.aU.VOID})))))))),this.invoicesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_INVOICES_LND),(0,e.Z)(I=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchInvoices",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.INVOICES_API+"?num_max_invoices="+(I.payload.num_max_invoices?I.payload.num_max_invoices:100)+"&index_offset="+(I.payload.index_offset?I.payload.index_offset:0)+"&reversed="+(!!I.payload.reversed&&I.payload.reversed)).pipe((0,c.T)(be=>(this.logger.info(be),this.store.dispatch((0,M.e8)({payload:{action:"FetchInvoices",status:m.wn.COMPLETED}})),I.payload.reversed&&!I.payload.index_offset&&(be.total_invoices=+(be.last_index_offset||0)),{type:m.QP.SET_INVOICES_LND,payload:be})),(0,S.W)(be=>(this.handleErrorWithoutAlert("FetchInvoices",m.MZ.NO_SPINNER,"Fetching Invoices Failed.",be),(0,p.of)({type:m.aU.VOID})))))))),this.transactionsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_TRANSACTIONS_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchTransactions",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.TRANSACTIONS_API))),(0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"FetchTransactions",status:m.wn.COMPLETED}})),{type:m.QP.SET_TRANSACTIONS_LND,payload:I||[]})),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchTransactions",m.MZ.NO_SPINNER,"Fetching Transactions Failed.",I),(0,p.of)({type:m.aU.VOID}))))),this.utxosFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_UTXOS_LND),(0,g.E)(this.store.select(j.pI)),(0,e.Z)(([I,B])=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchUTXOs",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.WALLET_API+"/getUTXOs?max_confs="+(B&&B.block_height?B.block_height:1e9)))),(0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"FetchUTXOs",status:m.wn.COMPLETED}})),{type:m.QP.SET_UTXOS_LND,payload:I||[]})),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchUTXOs",m.MZ.NO_SPINNER,"Fetching UTXOs Failed.",I),(0,p.of)({type:m.aU.VOID}))))),this.paymentsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_PAYMENTS_LND),(0,e.Z)(I=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchPayments",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.PAYMENTS_API+"?max_payments="+(I.payload.max_payments?I.payload.max_payments:100)+"&index_offset="+(I.payload.index_offset?I.payload.index_offset:0)+"&reversed="+(!!I.payload.reversed&&I.payload.reversed)).pipe((0,c.T)(be=>(this.logger.info(be),this.store.dispatch((0,M.e8)({payload:{action:"FetchPayments",status:m.wn.COMPLETED}})),this.commonService.sortByKey(be.payments||[],this.paymentsPageSettings?.sortBy||"creation_date","number",this.paymentsPageSettings?.sortOrder),{type:m.QP.SET_PAYMENTS_LND,payload:be})),(0,S.W)(be=>(this.handleErrorWithoutAlert("FetchPayments",m.MZ.NO_SPINNER,"Fetching Payments Failed.",be),(0,p.of)({type:m.QP.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SEND_PAYMENT_LND),(0,e.Z)(I=>{this.store.dispatch((0,P.mt)({payload:I.payload.uiMessage})),this.store.dispatch((0,M.e8)({payload:{action:"SendPayment",status:m.wn.INITIATED}}));const B=JSON.parse(JSON.stringify(I.payload));return delete B.uiMessage,delete B.fromDialog,this.httpClient.post(this.CHILD_API_URL+m.rl.PAYMENTS_API+"/send",B).pipe((0,c.T)(re=>{if(this.logger.info(re),this.store.dispatch((0,P.y0)({payload:I.payload.uiMessage})),this.store.dispatch((0,M.e8)({payload:{action:"SendPayment",status:m.wn.COMPLETED}})),re.payment_error)return I.payload.allow_self_payment?(this.store.dispatch((0,M.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),{type:m.QP.SEND_PAYMENT_STATUS_LND,payload:re}):(I.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",I.payload.uiMessage,"Send Payment Failed.",re.payment_error):this.handleErrorWithAlert("SendPayment",I.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+m.rl.CHANNELS_API+"/transactions",re.payment_error),{type:m.aU.VOID});if(this.store.dispatch((0,P.y0)({payload:I.payload.uiMessage})),this.store.dispatch((0,M.e8)({payload:{action:"SendPayment",status:m.wn.COMPLETED}})),this.store.dispatch((0,M.$Q)()),this.store.dispatch((0,M.CK)({payload:{max_payments:this.paymentsPageSettings?.recordsPerPage,reversed:!0}})),I.payload.allow_self_payment)this.store.dispatch((0,M.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}));else{let pe="Payment Sent Successfully.";re.payment_route&&re.payment_route.total_fees_msat&&(pe="Payment sent successfully with the total fee "+re.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,P.UI)({payload:pe}))}return{type:m.QP.SEND_PAYMENT_STATUS_LND,payload:re}}),(0,S.W)(re=>(this.logger.error("Error: "+JSON.stringify(re)),I.payload.allow_self_payment?(this.handleErrorWithoutAlert("SendPayment",I.payload.uiMessage,"Send Payment Failed.",re),this.store.dispatch((0,M.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}})),(0,p.of)({type:m.QP.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(re)}})):(I.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",I.payload.uiMessage,"Send Payment Failed.",re):this.handleErrorWithAlert("SendPayment",I.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+m.rl.CHANNELS_API+"/transactions",re),(0,p.of)({type:m.aU.VOID})))))}))),this.graphNodeFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_GRAPH_NODE_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,M.e8)({payload:{action:"FetchGraphNode",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.NETWORK_API+"/node/"+I.payload.pubkey).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,P.y0)({payload:m.MZ.GET_NODE_ADDRESS})),this.store.dispatch((0,M.e8)({payload:{action:"FetchGraphNode",status:m.wn.COMPLETED}})),{type:m.QP.SET_GRAPH_NODE_LND,payload:B&&B.node?{node:B.node}:{node:null}})),(0,S.W)(B=>(this.handleErrorWithoutAlert("FetchGraphNode",m.MZ.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",B),(0,p.of)({type:m.aU.VOID})))))))),this.setGraphNode=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SET_GRAPH_NODE_LND),(0,c.T)(I=>(this.logger.info(I.payload),I.payload))),{dispatch:!1}),this.getNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.GET_NEW_ADDRESS_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+m.rl.NEW_ADDRESS_API+"?type="+I.payload.addressId).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,P.y0)({payload:m.MZ.GENERATE_NEW_ADDRESS})),{type:m.QP.SET_NEW_ADDRESS_LND,payload:B&&B.address?B.address:{}})),(0,S.W)(B=>(this.handleErrorWithAlert("GetNewAddress",m.MZ.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+m.rl.NEW_ADDRESS_API+"?type="+I.payload.addressId,B),(0,p.of)({type:m.aU.VOID})))))))),this.setNewAddress=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SET_NEW_ADDRESS_LND),(0,c.T)(I=>(this.logger.info(I.payload),I.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SET_CHANNEL_TRANSACTION_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.SEND_FUNDS})),this.store.dispatch((0,M.e8)({payload:{action:"SetChannelTransaction",status:m.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+m.rl.TRANSACTIONS_API,{amount:I.payload.amount,address:I.payload.address,sendAll:I.payload.sendAll,fees:I.payload.fees,blocks:I.payload.blocks}).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,M.e8)({payload:{action:"SetChannelTransaction",status:m.wn.COMPLETED}})),this.store.dispatch((0,P.y0)({payload:m.MZ.SEND_FUNDS})),this.store.dispatch((0,M.mh)()),this.store.dispatch((0,M.DY)()),this.store.dispatch((0,M.$Q)()),{type:m.QP.SET_CHANNEL_TRANSACTION_RES_LND,payload:B})),(0,S.W)(B=>(this.handleErrorWithoutAlert("SetChannelTransaction",m.MZ.SEND_FUNDS,"Sending Fund Failed.",B),(0,p.of)({type:m.aU.VOID})))))))),this.fetchForwardingHistory=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.GET_FORWARDING_HISTORY_LND),(0,e.Z)(I=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchForwardingHistory",status:m.wn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+m.rl.SWITCH_API,{num_max_events:I.payload.num_max_events,index_offset:I.payload.index_offset,end_time:I.payload.end_time,start_time:I.payload.start_time}).pipe((0,c.T)(re=>(this.logger.info(re),this.store.dispatch((0,M.e8)({payload:{action:"FetchForwardingHistory",status:m.wn.COMPLETED}})),{type:m.QP.SET_FORWARDING_HISTORY_LND,payload:re})),(0,S.W)(re=>(this.handleErrorWithAlert("FetchForwardingHistory",m.MZ.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+m.rl.SWITCH_API,re),(0,p.of)({type:m.aU.VOID})))))))),this.queryRoutesFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.GET_QUERY_ROUTES_LND),(0,e.Z)(I=>{let B=this.CHILD_API_URL+m.rl.NETWORK_API+"/routes/"+I.payload.destPubkey+"/"+I.payload.amount;return I.payload.outgoingChanId&&(B=B+"?outgoing_chan_id="+I.payload.outgoingChanId),this.httpClient.get(B).pipe((0,c.T)(re=>(this.logger.info(re),{type:m.QP.SET_QUERY_ROUTES_LND,payload:re})),(0,S.W)(re=>(this.store.dispatch((0,M.Hm)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",m.MZ.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+m.rl.NETWORK_API,re),(0,p.of)({type:m.aU.VOID}))))}))),this.setQueryRoutes=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SET_QUERY_ROUTES_LND),(0,c.T)(I=>I.payload)),{dispatch:!1}),this.genSeed=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.GEN_SEED_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+m.rl.WALLET_API+"/genseed/"+I.payload).pipe((0,c.T)(B=>(this.logger.info("Generated GenSeed!"),this.logger.info(B),this.store.dispatch((0,P.y0)({payload:m.MZ.GEN_SEED})),{type:m.QP.GEN_SEED_RESPONSE_LND,payload:B.cipher_seed_mnemonic})),(0,S.W)(B=>(this.handleErrorWithAlert("GenSeed",m.MZ.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+m.rl.WALLET_API+"/genseed/"+I.payload,B),(0,p.of)({type:m.aU.VOID})))))))),this.updateSelNodeOptions=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.UPDATE_SELECTED_NODE_OPTIONS),(0,e.Z)(()=>this.httpClient.get(this.CHILD_API_URL+m.rl.WALLET_API+"/updateSelNodeOptions").pipe((0,c.T)(I=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(I),{type:m.aU.VOID})),(0,S.W)(I=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",m.MZ.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",I),(0,p.of)({type:m.aU.VOID}))))))),this.genSeedResponse=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.GEN_SEED_RESPONSE_LND),(0,c.T)(I=>I.payload)),{dispatch:!1}),this.initWalletRes=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.INIT_WALLET_RESPONSE_LND),(0,c.T)(I=>I.payload)),{dispatch:!1}),this.initWallet=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.INIT_WALLET_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+m.rl.WALLET_API+"/wallet/initwallet",{wallet_password:I.payload.pwd,cipher_seed_mnemonic:I.payload.cipher?I.payload.cipher:"",aezeed_passphrase:I.payload.passphrase?I.payload.passphrase:""}).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,P.y0)({payload:m.MZ.INITIALIZE_WALLET})),{type:m.QP.INIT_WALLET_RESPONSE_LND,payload:B})),(0,S.W)(B=>(this.handleErrorWithAlert("InitWallet",m.MZ.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+m.rl.WALLET_API+"/initwallet",B),(0,p.of)({type:m.aU.VOID})))))))),this.unlockWallet=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.UNLOCK_WALLET_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+m.rl.WALLET_API+"/wallet/unlockwallet",{wallet_password:I.payload.pwd}).pipe((0,c.T)(B=>(this.logger.info(B),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,P.y0)({payload:m.MZ.UNLOCK_WALLET})),this.store.dispatch((0,P.mt)({payload:m.MZ.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,P.y0)({payload:m.MZ.WAIT_SYNC_NODE})),this.store.dispatch((0,M.Br)({payload:{loadPage:"HOME"}}))},5e3),{type:m.aU.VOID})),(0,S.W)(B=>(this.handleErrorWithAlert("UnlockWallet",m.MZ.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+m.rl.WALLET_API+"/unlockwallet",B),(0,p.of)({type:m.aU.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.PEER_LOOKUP_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.SEARCHING_NODE})),this.store.dispatch((0,M.e8)({payload:{action:"Lookup",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.NETWORK_API+"/node/"+I.payload).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,P.y0)({payload:m.MZ.SEARCHING_NODE})),this.store.dispatch((0,M.e8)({payload:{action:"Lookup",status:m.wn.COMPLETED}})),{type:m.QP.SET_LOOKUP_LND,payload:B})),(0,S.W)(B=>(this.handleErrorWithAlert("Lookup",m.MZ.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+m.rl.NETWORK_API+"/node/"+I.payload,B),(0,p.of)({type:m.aU.VOID})))))))),this.channelLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.CHANNEL_LOOKUP_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:I.payload.uiMessage})),this.store.dispatch((0,M.e8)({payload:{action:"Lookup",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.NETWORK_API+"/edge/"+I.payload.channelID).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,P.y0)({payload:I.payload.uiMessage})),this.store.dispatch((0,M.e8)({payload:{action:"Lookup",status:m.wn.COMPLETED}})),{type:m.QP.SET_LOOKUP_LND,payload:B})),(0,S.W)(B=>(this.handleErrorWithAlert("Lookup",I.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+m.rl.NETWORK_API+"/edge/"+I.payload.channelID,B),(0,p.of)({type:m.aU.VOID})))))))),this.invoiceLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.INVOICE_LOOKUP_LND),(0,e.Z)(I=>{this.store.dispatch((0,P.mt)({payload:m.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,M.e8)({payload:{action:"Lookup",status:m.wn.INITIATED}}));let B=this.CHILD_API_URL+m.rl.INVOICES_API+"/lookup";return B=I.payload.paymentAddress&&""!==I.payload.paymentAddress?B+"?payment_addr="+I.payload.paymentAddress:B+"?payment_hash="+I.payload.paymentHash,this.httpClient.get(B).pipe((0,c.T)(re=>(this.logger.info(re),this.store.dispatch((0,P.y0)({payload:m.MZ.SEARCHING_INVOICE})),this.store.dispatch((0,M.e8)({payload:{action:"Lookup",status:m.wn.COMPLETED}})),this.store.dispatch((0,M.Dq)({payload:re})),{type:m.QP.SET_LOOKUP_LND,payload:re})),(0,S.W)(re=>(this.store.dispatch((0,M.e8)({payload:{action:"Lookup",status:m.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",m.MZ.SEARCHING_INVOICE,"Invoice Lookup Failed",re),I.payload.openSnackBar&&this.store.dispatch((0,P.UI)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,p.of)({type:m.QP.SET_LOOKUP_LND,payload:{error:re}}))))}))),this.paymentLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.PAYMENT_LOOKUP_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,M.e8)({payload:{action:"Lookup",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.PAYMENTS_API+"/lookup/"+I.payload).pipe((0,c.T)(B=>(this.logger.info(B),this.store.dispatch((0,P.y0)({payload:m.MZ.SEARCHING_PAYMENT})),this.store.dispatch((0,M.e8)({payload:{action:"Lookup",status:m.wn.COMPLETED}})),this.store.dispatch((0,M._$)({payload:B})),{type:m.QP.SET_LOOKUP_LND,payload:B})),(0,S.W)(B=>(this.store.dispatch((0,M.e8)({payload:{action:"Lookup",status:m.wn.ERROR}})),this.handleErrorWithoutAlert("Lookup",m.MZ.SEARCHING_PAYMENT,"Payment Lookup Failed",B),(0,p.of)({type:m.QP.SET_LOOKUP_LND,payload:{error:B}})))))))),this.setLookup=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SET_LOOKUP_LND),(0,c.T)(I=>(this.logger.info(I.payload),I.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.RESTORE_CHANNELS_LIST_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"RestoreChannelsList",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.CHANNELS_BACKUP_API+"/restore/list").pipe((0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"RestoreChannelsList",status:m.wn.COMPLETED}})),{type:m.QP.SET_RESTORE_CHANNELS_LIST_LND,payload:I||{all_restore_exists:!1,files:[]}})),(0,S.W)(I=>(this.handleErrorWithAlert("RestoreChannelsList",m.MZ.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+m.rl.CHANNELS_BACKUP_API,I),(0,p.of)({type:m.aU.VOID})))))))),this.setRestoreChannelList=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SET_RESTORE_CHANNELS_LIST_LND),(0,c.T)(I=>(this.logger.info(I.payload),I.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchLightningTransactions",status:m.wn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+m.rl.PAYMENTS_API+"/alltransactions").pipe((0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"FetchLightningTransactions",status:m.wn.COMPLETED}})),{type:m.QP.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:I})),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchLightningTransactions",m.MZ.NO_SPINNER,"Fetching All Lightning Transaction Failed.",I),(0,p.of)({type:m.aU.VOID})))))))),this.pageSettingsFetch=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.FETCH_PAGE_SETTINGS_LND),(0,e.Z)(()=>(this.store.dispatch((0,M.e8)({payload:{action:"FetchPageSettings",status:m.wn.INITIATED}})),this.httpClient.get(m.rl.PAGE_SETTINGS_API).pipe((0,c.T)(I=>(this.logger.info(I),this.store.dispatch((0,M.e8)({payload:{action:"FetchPageSettings",status:m.wn.COMPLETED}})),this.invoicesPageSettings=I&&Object.keys(I).length>0?I.find(B=>"transactions"===B.pageId)?.tables.find(B=>"invoices"===B.tableId):m.ZC.find(B=>"transactions"===B.pageId)?.tables.find(B=>"invoices"===B.tableId),this.paymentsPageSettings=I&&Object.keys(I).length>0?I.find(B=>"transactions"===B.pageId)?.tables.find(B=>"payments"===B.tableId):m.ZC.find(B=>"transactions"===B.pageId)?.tables.find(B=>"payments"===B.tableId),{type:m.QP.SET_PAGE_SETTINGS_LND,payload:I||[]})),(0,S.W)(I=>(this.handleErrorWithoutAlert("FetchPageSettings",m.MZ.NO_SPINNER,"Fetching Page Settings Failed.",I),(0,p.of)({type:m.aU.VOID})))))))),this.savePageSettings=(0,i.EH)(()=>this.actions.pipe((0,i.gp)(m.QP.SAVE_PAGE_SETTINGS_LND),(0,e.Z)(I=>(this.store.dispatch((0,P.mt)({payload:m.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,M.e8)({payload:{action:"SavePageSettings",status:m.wn.INITIATED}})),this.httpClient.post(m.rl.PAGE_SETTINGS_API,I.payload).pipe((0,c.T)(B=>{this.logger.info(B),this.store.dispatch((0,M.e8)({payload:{action:"SavePageSettings",status:m.wn.COMPLETED}})),this.store.dispatch((0,P.y0)({payload:m.MZ.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,P.UI)({payload:"Page Layout Updated Successfully!"}));const re=(B.find(be=>"transactions"===be.pageId)?.tables.find(be=>"invoices"===be.tableId)||m.ZC.find(be=>"transactions"===be.pageId)?.tables.find(be=>"invoices"===be.tableId)).recordsPerPage,pe=(B.find(be=>"transactions"===be.pageId)?.tables.find(be=>"payments"===be.tableId)||m.ZC.find(be=>"transactions"===be.pageId)?.tables.find(be=>"payments"===be.tableId)).recordsPerPage;return this.invoicesPageSettings&&re!==this.invoicesPageSettings?.recordsPerPage&&(this.invoicesPageSettings.recordsPerPage=re,this.store.dispatch((0,M.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))),this.paymentsPageSettings&&pe!==this.paymentsPageSettings?.recordsPerPage&&(this.paymentsPageSettings.recordsPerPage=pe),{type:m.QP.SET_PAGE_SETTINGS_LND,payload:B||[]}}),(0,S.W)(B=>(this.handleErrorWithAlert("SavePageSettings",m.MZ.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",m.rl.PAGE_SETTINGS_API,B),(0,p.of)({type:m.aU.VOID})))))))),this.store.select(j.ru).pipe((0,T.Q)(this.unSubs[0])).subscribe(I=>{I.FetchInfo.status!==m.wn.COMPLETED&&I.FetchInfo.status!==m.wn.ERROR||I.FetchFees.status!==m.wn.COMPLETED&&I.FetchFees.status!==m.wn.ERROR||I.FetchBalanceBlockchain.status!==m.wn.COMPLETED&&I.FetchBalanceBlockchain.status!==m.wn.ERROR||I.FetchAllChannels.status!==m.wn.COMPLETED&&I.FetchAllChannels.status!==m.wn.ERROR||I.FetchPendingChannels.status!==m.wn.COMPLETED&&I.FetchPendingChannels.status!==m.wn.ERROR||this.flgInitialized||(this.store.dispatch((0,P.y0)({payload:m.MZ.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,T.Q)(this.unSubs[1])).subscribe(I=>{this.logger.info("Received new message from the service: "+JSON.stringify(I)),I&&(I.type===m.o1.INVOICE?(this.logger.info(I),I&&I.result&&I.result.payment_request&&this.store.dispatch((0,M.Dq)({payload:I.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(I)))})}initializeRemainingData(o,f){this.sessionService.setItem("lndUnlocked","true");const h={identity_pubkey:o.identity_pubkey,alias:o.alias,testnet:o.testnet,chains:o.chains,uris:o.uris,version:o.version?o.version.split(" ")[0]:""};this.store.dispatch((0,P.mt)({payload:m.MZ.INITALIZE_NODE_DATA})),this.store.dispatch((0,P.Fl)({payload:h}));let b=this.location.path();b.includes("/cln/")?b=b?.replace("/cln/","/lnd/"):b.includes("/ecl/")&&(b=b?.replace("/ecl/","/lnd/")),(b.includes("/unlock")||b.includes("/login")||b.includes("/error")||""===b||"HOME"===f||b.includes("?access-key="))&&(b="/lnd/home"),this.router.navigate([b]),this.store.dispatch((0,M.DY)()),this.store.dispatch((0,M.$Q)()),this.store.dispatch((0,M.ar)()),this.store.dispatch((0,M.pL)()),this.store.dispatch((0,M.Gy)()),this.store.dispatch((0,M.tf)()),this.store.dispatch((0,M.yp)()),this.store.dispatch((0,M.CK)({payload:{max_payments:1e5,reversed:!0}})),this.store.dispatch((0,M.Do)({payload:{num_max_invoices:this.invoicesPageSettings?.recordsPerPage,reversed:!0}}))}handleErrorWithoutAlert(o,f,h,b){this.logger.error("ERROR IN: "+o+"\n"+JSON.stringify(b)),401===b.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,P.Jh)()),this.store.dispatch((0,P.ri)({payload:"Authentication Failed: "+JSON.stringify(b.error)}))):(this.store.dispatch((0,P.y0)({payload:f})),this.store.dispatch((0,M.e8)({payload:{action:o,status:m.wn.ERROR,statusCode:b.status.toString(),message:this.commonService.extractErrorMessage(b,h)}})))}handleErrorWithAlert(o,f,h,b,A){if(this.logger.error(A),401===A.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,P.Jh)()),this.store.dispatch((0,P.ri)({payload:"Authentication Failed: "+JSON.stringify(A.error)}));else{this.store.dispatch((0,P.y0)({payload:f}));const k=this.commonService.extractErrorMessage(A);this.store.dispatch((0,P.xO)({payload:{data:{type:"ERROR",alertTitle:h,message:{code:A.status,message:k,URL:b},component:w.f}}})),this.store.dispatch((0,M.e8)({payload:{action:o,status:m.wn.ERROR,statusCode:A.status.toString(),message:k,URL:b}}))}}ngOnDestroy(){this.unSubs.forEach(o=>{o.next(null),o.complete()})}static#e=Te=()=>(this.\u0275fac=function(f){return new(f||D)(U.KVO(i.En),U.KVO(K.Qq),U.KVO(q.il),U.KVO(G.gP),U.KVO(Q.h),U.KVO($.Q),U.KVO(ae.bZ),U.KVO(ue.Ix),U.KVO(oe.I),U.KVO(he.aZ))},this.\u0275prov=U.jDH({token:D,factory:D.\u0275fac}))}return Te(),D})()},69588:(Ae,ee,l)=>{"use strict";l.d(ee,{xb:()=>li,TL:()=>Oe,rl:()=>te,qT:()=>J,MV:()=>Ee,nJ:()=>ge,yw:()=>Mt});var i=l(89726),t=l(61577),p=l(14085),S=l(39842),c=l(72200),e=l(73664),T=l(2615),g=l(17705),d=l(59295),w=l(18359),m=l(21413),P=l(57786),M=l(99172),j=l(96354),U=l(39974),K=l(54360),G=l(5964),Q=l(56977),$=l(63610),ae=l(31804);const ue=["notch"],oe=["matFormFieldNotchedOutline",""],he=["*"],me=["iconPrefixContainer"],Te=["textPrefixContainer"],D=["iconSuffixContainer"],n=["textSuffixContainer"],o=["textField"],f=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],h=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function b(ce,se){1&ce&&e.nrm(0,"span",21)}function A(ce,se){if(1&ce&&(e.j41(0,"label",20),e.SdG(1,1),e.nVh(2,b,1,0,"span",21),e.k0s()),2&ce){const ke=e.XpG(2);e.Y8G("floating",ke._shouldLabelFloat())("monitorResize",ke._hasOutline())("id",ke._labelId),e.BMQ("for",ke._control.disableAutomaticLabeling?null:ke._control.id),e.R7$(2),e.vxM(!ke.hideRequiredMarker&&ke._control.required?2:-1)}}function k(ce,se){if(1&ce&&e.nVh(0,A,3,5,"label",20),2&ce){const ke=e.XpG();e.vxM(ke._hasFloatingLabel()?0:-1)}}function x(ce,se){1&ce&&e.nrm(0,"div",7)}function r(ce,se){}function _(ce,se){if(1&ce&&e.DNE(0,r,0,0,"ng-template",13),2&ce){e.XpG(2);const ke=e.sdS(1);e.Y8G("ngTemplateOutlet",ke)}}function W(ce,se){if(1&ce&&(e.j41(0,"div",9),e.nVh(1,_,1,1,null,13),e.k0s()),2&ce){const ke=e.XpG();e.Y8G("matFormFieldNotchedOutlineOpen",ke._shouldLabelFloat()),e.R7$(),e.vxM(ke._forceDisplayInfixLabel()?-1:1)}}function I(ce,se){1&ce&&(e.j41(0,"div",10,2),e.SdG(2,2),e.k0s())}function B(ce,se){1&ce&&(e.j41(0,"div",11,3),e.SdG(2,3),e.k0s())}function re(ce,se){}function pe(ce,se){if(1&ce&&e.DNE(0,re,0,0,"ng-template",13),2&ce){e.XpG();const ke=e.sdS(1);e.Y8G("ngTemplateOutlet",ke)}}function be(ce,se){1&ce&&(e.j41(0,"div",14,4),e.SdG(2,4),e.k0s())}function Be(ce,se){1&ce&&(e.j41(0,"div",15,5),e.SdG(2,5),e.k0s())}function _e(ce,se){1&ce&&e.nrm(0,"div",16)}function ye(ce,se){1&ce&&(e.j41(0,"div",18),e.SdG(1,6),e.k0s())}function Le(ce,se){if(1&ce&&(e.j41(0,"mat-hint",22),e.EFF(1),e.k0s()),2&ce){const ke=e.XpG(2);e.Y8G("id",ke._hintLabelId),e.R7$(),e.JRh(ke.hintLabel)}}function Ke(ce,se){if(1&ce&&(e.j41(0,"div",19),e.nVh(1,Le,2,2,"mat-hint",22),e.SdG(2,7),e.nrm(3,"div",23),e.SdG(4,8),e.k0s()),2&ce){const ke=e.XpG();e.R7$(),e.vxM(ke.hintLabel?1:-1)}}let ge=(()=>{class ce{static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275dir=e.FsC({type:ce,selectors:[["mat-label"]]})}return ce})();const ve=new T.nKC("MatError");let Oe=(()=>{class ce{id=(0,T.WQX)(i.g).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275dir=e.FsC({type:ce,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Ue,Ne){2&Ue&&e.Avn("id",Ne.id)},inputs:{id:"id"},features:[e.Jv_([{provide:ve,useExisting:ce}])]})}return ce})(),Ee=(()=>{class ce{align="start";id=(0,T.WQX)(i.g).getId("mat-mdc-hint-");static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275dir=e.FsC({type:ce,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Ue,Ne){2&Ue&&(e.Avn("id",Ne.id),e.BMQ("align",null),e.AVh("mat-mdc-form-field-hint-end","end"===Ne.align))},inputs:{align:"align",id:"id"}})}return ce})();const dt=new T.nKC("MatPrefix"),Ct=new T.nKC("MatSuffix");let Mt=(()=>{class ce{set _isTextSelector(ke){this._isText=!0}_isText=!1;static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275dir=e.FsC({type:ce,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[e.Jv_([{provide:Ct,useExisting:ce}])]})}return ce})();const lt=new T.nKC("FloatingLabelParent");let Pe=(()=>{class ce{_elementRef=(0,T.WQX)(e.aKT);get floating(){return this._floating}set floating(ke){this._floating=ke,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(ke){this._monitorResize=ke,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=(0,T.WQX)($.a);_ngZone=(0,T.WQX)(e.SKi);_parent=(0,T.WQX)(lt);_resizeSubscription=new w.yU;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Ht(ce){if(null!==ce.offsetParent)return ce.scrollWidth;const ke=ce.cloneNode(!0);ke.style.setProperty("position","absolute"),ke.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(ke);const Ue=ke.scrollWidth;return ke.remove(),Ue}(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 \u0275fac=function(Ue){return new(Ue||ce)};static \u0275dir=e.FsC({type:ce,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Ue,Ne){2&Ue&&e.AVh("mdc-floating-label--float-above",Ne.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return ce})();const ct="mdc-line-ripple--active",Ce="mdc-line-ripple--deactivating";let ze=(()=>{class ce{_elementRef=(0,T.WQX)(e.aKT);_cleanupTransitionEnd;constructor(){const ke=(0,T.WQX)(e.SKi),Ue=(0,T.WQX)(e.sFG);ke.runOutsideAngular(()=>{this._cleanupTransitionEnd=Ue.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const ke=this._elementRef.nativeElement.classList;ke.remove(Ce),ke.add(ct)}deactivate(){this._elementRef.nativeElement.classList.add(Ce)}_handleTransitionEnd=ke=>{const Ue=this._elementRef.nativeElement.classList,Ne=Ue.contains(Ce);"opacity"===ke.propertyName&&Ne&&Ue.remove(ct,Ce)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275dir=e.FsC({type:ce,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return ce})(),Z=(()=>{class ce{_elementRef=(0,T.WQX)(e.aKT);_ngZone=(0,T.WQX)(e.SKi);open=!1;_notch;ngAfterViewInit(){const ke=this._elementRef.nativeElement,Ue=ke.querySelector(".mdc-floating-label");Ue?(ke.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Ue.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Ue.style.transitionDuration="")}))):ke.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(ke){this._notch.nativeElement.style.width=this.open&&ke?`calc(${ke}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}_setMaxWidth(ke){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${ke}px)`)}static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275cmp=e.VBU({type:ce,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(Ue,Ne){if(1&Ue&&e.GBs(ue,5),2&Ue){let Kt;e.mGM(Kt=e.lsd())&&(Ne._notch=Kt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Ue,Ne){2&Ue&&e.AVh("mdc-notched-outline--notched",Ne.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:oe,ngContentSelectors:he,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(Ue,Ne){1&Ue&&(e.NAR(),e.Hgh(0,"div",1),e.rj2(1,"div",2,0),e.SdG(3),e.eux(),e.Hgh(4,"div",3))},encapsulation:2,changeDetection:0})}return ce})(),J=(()=>{class ce{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275dir=e.FsC({type:ce})}return ce})();const li=new T.nKC("MatFormField"),Qt=new T.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let te=(()=>{class ce{_elementRef=(0,T.WQX)(e.aKT);_changeDetectorRef=(0,T.WQX)(g.gRc);_platform=(0,T.WQX)(S.O);_idGenerator=(0,T.WQX)(i.g);_ngZone=(0,T.WQX)(e.SKi);_defaults=(0,T.WQX)(Qt,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=(0,g.ebz)("iconPrefixContainer");_textPrefixContainerSignal=(0,g.ebz)("textPrefixContainer");_iconSuffixContainerSignal=(0,g.ebz)("iconSuffixContainer");_textSuffixContainerSignal=(0,g.ebz)("textSuffixContainer");_prefixSuffixContainers=(0,d.EW)(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(ke=>ke?.nativeElement).filter(ke=>void 0!==ke));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=(0,g.sbv)(ge);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(ke){this._hideRequiredMarker=(0,p.he)(ke)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(ke){ke!==this._floatLabel&&(this._floatLabel=ke,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(ke){this._appearanceSignal.set(ke||this._defaults?.appearance||"fill")}_appearanceSignal=(0,T.vPA)("fill");get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(ke){this._subscriptSizing=ke||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(ke){this._hintLabel=ke,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(ke){this._explicitFormFieldControl=ke}_destroyed=new m.B;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=(0,ae.Rc)();constructor(){const ke=this._defaults,Ue=(0,T.WQX)(t.dS);ke&&(ke.appearance&&(this.appearance=ke.appearance),this._hideRequiredMarker=!!ke?.hideRequiredMarker,ke.color&&(this.color=ke.color)),(0,d.QZ)(()=>this._currentDirection=Ue.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=(0,d.EW)(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(ke){const Ue=this._control,Ne="mat-mdc-form-field-type-";ke&&this._elementRef.nativeElement.classList.remove(Ne+ke.controlType),Ue.controlType&&this._elementRef.nativeElement.classList.add(Ne+Ue.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=Ue.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=Ue.stateChanges.pipe((0,M.Z)([void 0,void 0]),(0,j.T)(()=>[Ue.errorState,Ue.userAriaDescribedBy]),function q(){return(0,U.N)((ce,se)=>{let ke,Ue=!1;ce.subscribe((0,K._)(se,Ne=>{const Kt=ke;ke=Ne,Ue&&se.next([Kt,Ne]),Ue=!0}))})}(),(0,G.p)(([[Kt,yt],[Vt,Zt]])=>Kt!==Vt||yt!==Zt)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),Ue.ngControl&&Ue.ngControl.valueChanges&&(this._valueChanges=Ue.ngControl.valueChanges.pipe((0,Q.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(ke=>!ke._isText),this._hasTextPrefix=!!this._prefixChildren.find(ke=>ke._isText),this._hasIconSuffix=!!this._suffixChildren.find(ke=>!ke._isText),this._hasTextSuffix=!!this._suffixChildren.find(ke=>ke._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,P.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(){const ke=this._control.focused;ke&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!ke&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",ke),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",ke)}_syncOutlineLabelOffset(){(0,g.uEv)({earlyRead:()=>{if("outline"!==this._appearanceSignal())return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(const ke of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(ke,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:ke=>this._writeOutlinedLabelStyles(ke())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=(0,d.EW)(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(ke){const Ue=this._control?this._control.ngControl:null;return Ue&&Ue[ke]}_getSubscriptMessageType(){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 ke=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&ke.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const Kt=this._hintChildren?this._hintChildren.find(Vt=>"start"===Vt.align):null,yt=this._hintChildren?this._hintChildren.find(Vt=>"end"===Vt.align):null;Kt?ke.push(Kt.id):this._hintLabel&&ke.push(this._hintLabelId),yt&&ke.push(yt.id)}else this._errorChildren&&ke.push(...this._errorChildren.map(Kt=>Kt.id));const Ue=this._control.describedByIds;let Ne;if(Ue){const Kt=this._describedByIds||ke;Ne=ke.concat(Ue.filter(yt=>yt&&!Kt.includes(yt)))}else Ne=ke;this._control.setDescribedByIds(Ne),this._describedByIds=ke}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const ke=this._iconPrefixContainer?.nativeElement,Ue=this._textPrefixContainer?.nativeElement,Ne=this._iconSuffixContainer?.nativeElement,Kt=this._textSuffixContainer?.nativeElement,yt=ke?.getBoundingClientRect().width??0,Vt=Ue?.getBoundingClientRect().width??0,Zt=Ne?.getBoundingClientRect().width??0,ti=Kt?.getBoundingClientRect().width??0;return[`var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc(${"rtl"===this._currentDirection?"-1":"1"} * (${yt+Vt}px + var(--mat-mdc-form-field-label-offset-x, 0px)))))`,yt+Vt+Zt+ti]}_writeOutlinedLabelStyles(ke){if(null!==ke){const[Ue,Ne]=ke;this._floatingLabel&&(this._floatingLabel.element.style.transform=Ue),null!==Ne&&this._notchedOutline?._setMaxWidth(Ne)}}_isAttachedToDom(){const ke=this._elementRef.nativeElement;if(ke.getRootNode){const Ue=ke.getRootNode();return Ue&&Ue!==ke}return document.documentElement.contains(ke)}static \u0275fac=function(Ue){return new(Ue||ce)};static \u0275cmp=e.VBU({type:ce,selectors:[["mat-form-field"]],contentQueries:function(Ue,Ne,Kt){if(1&Ue&&(e.C6U(Kt,Ne._labelChild,ge,5),e.wni(Kt,J,5),e.wni(Kt,dt,5),e.wni(Kt,Ct,5),e.wni(Kt,ve,5),e.wni(Kt,Ee,5)),2&Ue){let yt;e.NyB(),e.mGM(yt=e.lsd())&&(Ne._formFieldControl=yt.first),e.mGM(yt=e.lsd())&&(Ne._prefixChildren=yt),e.mGM(yt=e.lsd())&&(Ne._suffixChildren=yt),e.mGM(yt=e.lsd())&&(Ne._errorChildren=yt),e.mGM(yt=e.lsd())&&(Ne._hintChildren=yt)}},viewQuery:function(Ue,Ne){if(1&Ue&&(e.wEZ(Ne._iconPrefixContainerSignal,me,5),e.wEZ(Ne._textPrefixContainerSignal,Te,5),e.wEZ(Ne._iconSuffixContainerSignal,D,5),e.wEZ(Ne._textSuffixContainerSignal,n,5),e.GBs(o,5),e.GBs(me,5),e.GBs(Te,5),e.GBs(D,5),e.GBs(n,5),e.GBs(Pe,5),e.GBs(Z,5),e.GBs(ze,5)),2&Ue){let Kt;e.NyB(4),e.mGM(Kt=e.lsd())&&(Ne._textField=Kt.first),e.mGM(Kt=e.lsd())&&(Ne._iconPrefixContainer=Kt.first),e.mGM(Kt=e.lsd())&&(Ne._textPrefixContainer=Kt.first),e.mGM(Kt=e.lsd())&&(Ne._iconSuffixContainer=Kt.first),e.mGM(Kt=e.lsd())&&(Ne._textSuffixContainer=Kt.first),e.mGM(Kt=e.lsd())&&(Ne._floatingLabel=Kt.first),e.mGM(Kt=e.lsd())&&(Ne._notchedOutline=Kt.first),e.mGM(Kt=e.lsd())&&(Ne._lineRipple=Kt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(Ue,Ne){2&Ue&&e.AVh("mat-mdc-form-field-label-always-float",Ne._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Ne._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Ne._hasIconSuffix)("mat-form-field-invalid",Ne._control.errorState)("mat-form-field-disabled",Ne._control.disabled)("mat-form-field-autofilled",Ne._control.autofilled)("mat-form-field-appearance-fill","fill"==Ne.appearance)("mat-form-field-appearance-outline","outline"==Ne.appearance)("mat-form-field-hide-placeholder",Ne._hasFloatingLabel()&&!Ne._shouldLabelFloat())("mat-primary","accent"!==Ne.color&&"warn"!==Ne.color)("mat-accent","accent"===Ne.color)("mat-warn","warn"===Ne.color)("ng-untouched",Ne._shouldForward("untouched"))("ng-touched",Ne._shouldForward("touched"))("ng-pristine",Ne._shouldForward("pristine"))("ng-dirty",Ne._shouldForward("dirty"))("ng-valid",Ne._shouldForward("valid"))("ng-invalid",Ne._shouldForward("invalid"))("ng-pending",Ne._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e.Jv_([{provide:li,useExisting:ce},{provide:lt,useExisting:ce}])],ngContentSelectors:h,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[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",""],["aria-atomic","true","aria-live","polite",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(Ue,Ne){if(1&Ue){const Kt=e.RV6();e.NAR(f),e.DNE(0,k,1,1,"ng-template",null,0,e.C5r),e.j41(2,"div",6,1),e.bIt("click",function(Vt){return T.eBV(Kt),T.Njj(Ne._control.onContainerClick(Vt))}),e.nVh(4,x,1,0,"div",7),e.j41(5,"div",8),e.nVh(6,W,2,2,"div",9),e.nVh(7,I,3,0,"div",10),e.nVh(8,B,3,0,"div",11),e.j41(9,"div",12),e.nVh(10,pe,1,1,null,13),e.SdG(11),e.k0s(),e.nVh(12,be,3,0,"div",14),e.nVh(13,Be,3,0,"div",15),e.k0s(),e.nVh(14,_e,1,0,"div",16),e.k0s(),e.j41(15,"div",17),e.nVh(16,ye,2,0,"div",18)(17,Ke,5,1,"div",19),e.k0s()}if(2&Ue){let Kt;e.R7$(2),e.AVh("mdc-text-field--filled",!Ne._hasOutline())("mdc-text-field--outlined",Ne._hasOutline())("mdc-text-field--no-label",!Ne._hasFloatingLabel())("mdc-text-field--disabled",Ne._control.disabled)("mdc-text-field--invalid",Ne._control.errorState),e.R7$(2),e.vxM(Ne._hasOutline()||Ne._control.disabled?-1:4),e.R7$(2),e.vxM(Ne._hasOutline()?6:-1),e.R7$(),e.vxM(Ne._hasIconPrefix?7:-1),e.R7$(),e.vxM(Ne._hasTextPrefix?8:-1),e.R7$(2),e.vxM(!Ne._hasOutline()||Ne._forceDisplayInfixLabel()?10:-1),e.R7$(2),e.vxM(Ne._hasTextSuffix?12:-1),e.R7$(),e.vxM(Ne._hasIconSuffix?13:-1),e.R7$(),e.vxM(Ne._hasOutline()?-1:14),e.R7$(),e.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Ne.subscriptSizing);const yt=Ne._getSubscriptMessageType();e.R7$(),e.vxM("error"===(Kt=yt)?16:"hint"===Kt?17:-1)}},dependencies:[Pe,Z,c.T3,ze,Ee],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.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--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;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{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.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-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::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{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.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{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;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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-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, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.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, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/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, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.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, var(--mat-sys-error))}.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, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-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, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-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, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}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, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.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, var(--mat-sys-on-surface-variant))}[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, var(--mat-sys-primary))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: 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, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.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)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;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, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.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, var(--mat-sys-on-error-container))}.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, var(--mat-sys-error))}.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-infix:has(textarea[cols]){width:auto}.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.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .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)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.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)}\n'],encapsulation:2,changeDetection:0})}return ce})()},70152:(Ae,ee,l)=>{"use strict";l.d(ee,{B:()=>S});var i=l(43236),t=l(39974),p=l(54360);function S(c,e=i.E){return(0,t.N)((T,g)=>{let d=null,w=null,m=null;const P=()=>{if(d){d.unsubscribe(),d=null;const j=w;w=null,g.next(j)}};function M(){const j=m+c,U=e.now();if(U<j)return d=this.schedule(void 0,j-U),void g.add(d);P()}T.subscribe((0,p._)(g,j=>{w=j,m=e.now(),d||(d=e.schedule(M,c),g.add(d))},()=>{P(),g.complete()},void 0,()=>{w=d=null}))})}},70274:(Ae,ee,l)=>{"use strict";l.d(ee,{H:()=>p});var i=l(31397),t=l(98071);function p(S,c){return(0,t.T)(c)?(0,i.Z)(S,c,1):(0,i.Z)(S,1)}},70336:(Ae,ee,l)=>{var i=l(13546),t=l(27054).Buffer,p=l(95725);function S(e){var T=e._cipher.encryptBlockRaw(e._prev);return p(e._prev),T}ee.encrypt=function(e,T){var g=Math.ceil(T.length/16),d=e._cache.length;e._cache=t.concat([e._cache,t.allocUnsafe(16*g)]);for(var w=0;w<g;w++){var m=S(e),P=d+16*w;e._cache.writeUInt32BE(m[0],P+0),e._cache.writeUInt32BE(m[1],P+4),e._cache.writeUInt32BE(m[2],P+8),e._cache.writeUInt32BE(m[3],P+12)}var M=e._cache.slice(0,T.length);return e._cache=e._cache.slice(T.length),i(T,M)}},70463:(Ae,ee,l)=>{"use strict";var i=l(27054).Buffer,t=l(41090);function p(S,c){this._block=i.alloc(S),this._finalSize=c,this._blockSize=S,this._len=0}p.prototype.update=function(S,c){S=t(S,c||"utf8");for(var e=this._block,T=this._blockSize,g=S.length,d=this._len,w=0;w<g;){for(var m=d%T,P=Math.min(g-w,T-m),M=0;M<P;M++)e[m+M]=S[w+M];w+=P,(d+=P)%T===0&&this._update(e)}return this._len+=g,this},p.prototype.digest=function(S){var c=this._len%this._blockSize;this._block[c]=128,this._block.fill(0,c+1),c>=this._finalSize&&(this._update(this._block),this._block.fill(0));var e=8*this._len;if(e<=4294967295)this._block.writeUInt32BE(e,this._blockSize-4);else{var T=(4294967295&e)>>>0;this._block.writeUInt32BE((e-T)/4294967296,this._blockSize-8),this._block.writeUInt32BE(T,this._blockSize-4)}this._update(this._block);var d=this._hash();return S?d.toString(S):d},p.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Ae.exports=p},70483:(Ae,ee,l)=>{"use strict";l.d(ee,{O:()=>S});var i=l(2615),t=l(73664),p=l(22466);let S=(()=>{class c{static \u0275fac=function(g){return new(g||c)};static \u0275mod=t.$C({type:c});static \u0275inj=i.G2t({imports:[p.y]})}return c})()},70837:Ae=>{"use strict";Ae.exports=Math.abs},70980:(Ae,ee,l)=>{"use strict";l.d(ee,{j:()=>t});var i=l(39974);function t(p){return(0,i.N)((S,c)=>{try{S.subscribe(c)}finally{c.add(p)}})}},71039:(Ae,ee,l)=>{var i=l(27054).Buffer;function t(S,c,e){for(var m,P,g=-1,w=0;++g<8;)w+=(128&(P=S._cipher.encryptBlock(S._prev)[0]^(m=c&1<<7-g?128:0)))>>g%8,S._prev=p(S._prev,e?m:P);return w}function p(S,c){var e=S.length,T=-1,g=i.allocUnsafe(S.length);for(S=i.concat([S,i.from([c])]);++T<e;)g[T]=S[T]<<1|S[T+1]>>7;return g}ee.encrypt=function(S,c,e){for(var T=c.length,g=i.allocUnsafe(T),d=-1;++d<T;)g[d]=t(S,c[d],e);return g}},71203:(Ae,ee,l)=>{"use strict";l.d(ee,{F:()=>t,m:()=>p});var i=l(33669);function t(...S){return p(S)}function p(S){return 0===S.length?i.D:1===S.length?S[0]:function(e){return S.reduce((T,g)=>g(T),e)}}},71228:(Ae,ee,l)=>{"use strict";l.d(ee,{R:()=>e});var i=l(72318),t=l(2615),p=l(73664),S=l(69588),c=l(22466);let e=(()=>{class T{static \u0275fac=function(w){return new(w||T)};static \u0275mod=p.$C({type:T});static \u0275inj=t.G2t({imports:[c.y,i.w5,S.rl,c.y]})}return T})()},71549:(Ae,ee,l)=>{"use strict";ee.utils=l(85671),ee.Cipher=l(10219),ee.DES=l(64166),ee.CBC=l(88800),ee.EDE=l(62122)},71985:(Ae,ee,l)=>{"use strict";l.d(ee,{c:()=>g});var i=l(47707),t=l(18359),p=l(3494),S=l(71203),c=l(41026),e=l(98071),T=l(49786);let g=(()=>{class P{constructor(j){j&&(this._subscribe=j)}lift(j){const U=new P;return U.source=this,U.operator=j,U}subscribe(j,U,K){const q=function m(P){return P&&P instanceof i.vU||function w(P){return P&&(0,e.T)(P.next)&&(0,e.T)(P.error)&&(0,e.T)(P.complete)}(P)&&(0,t.Uv)(P)}(j)?j:new i.Ms(j,U,K);return(0,T.Y)(()=>{const{operator:G,source:Q}=this;q.add(G?G.call(q,Q):Q?this._subscribe(q):this._trySubscribe(q))}),q}_trySubscribe(j){try{return this._subscribe(j)}catch(U){j.error(U)}}forEach(j,U){return new(U=d(U))((K,q)=>{const G=new i.Ms({next:Q=>{try{j(Q)}catch($){q($),G.unsubscribe()}},error:q,complete:K});this.subscribe(G)})}_subscribe(j){var U;return null===(U=this.source)||void 0===U?void 0:U.subscribe(j)}[p.s](){return this}pipe(...j){return(0,S.m)(j)(this)}toPromise(j){return new(j=d(j))((U,K)=>{let q;this.subscribe(G=>q=G,G=>K(G),()=>U(q))})}}return P.create=M=>new P(M),P})();function d(P){var M;return null!==(M=P??c.$.Promise)&&void 0!==M?M:Promise}},71993:Ae=>{Ae.exports="function"==typeof Object.create?function(l,i){i&&(l.super_=i,l.prototype=Object.create(i.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}))}:function(l,i){if(i){l.super_=i;var t=function(){};t.prototype=i.prototype,l.prototype=new t,l.prototype.constructor=l}}},71997:(Ae,ee,l)=>{"use strict";l.d(ee,{q:()=>c,w:()=>e});var i=l(2615),t=l(73664),p=l(14085),S=l(22466);let c=(()=>{class T{get vertical(){return this._vertical}set vertical(d){this._vertical=(0,p.he)(d)}_vertical=!1;get inset(){return this._inset}set inset(d){this._inset=(0,p.he)(d)}_inset=!1;static \u0275fac=function(w){return new(w||T)};static \u0275cmp=t.VBU({type:T,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(w,m){2&w&&(t.BMQ("aria-orientation",m.vertical?"vertical":"horizontal"),t.AVh("mat-divider-vertical",m.vertical)("mat-divider-horizontal",!m.vertical)("mat-divider-inset",m.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(w,m){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-top-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-sys-outline-variant));border-right-width:var(--mat-divider-width, 1px)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0})}return T})(),e=(()=>{class T{static \u0275fac=function(w){return new(w||T)};static \u0275mod=t.$C({type:T});static \u0275inj=i.G2t({imports:[S.y,S.y]})}return T})()},72193:(Ae,ee,l)=>{var i=l(71993),t=l(83838).Buffer,p=l(49609),S=p.base,c=p.constants.der;function e(w){this.enc="der",this.name=w.name,this.entity=w,this.tree=new T,this.tree._init(w.body)}function T(w){S.Node.call(this,"der",w)}function g(w){return w<10?"0"+w:w}Ae.exports=e,e.prototype.encode=function(m,P){return this.tree._encode(m,P).join()},i(T,S.Node),T.prototype._encodeComposite=function(m,P,M,j){var G,U=function d(w,m,P,M){var j;if("seqof"===w?w="seq":"setof"===w&&(w="set"),c.tagByName.hasOwnProperty(w))j=c.tagByName[w];else{if("number"!=typeof w||(0|w)!==w)return M.error("Unknown tag: "+w);j=w}return j>=31?M.error("Multi-octet tag encoding unsupported"):(m||(j|=32),j|=c.tagClassByName[P||"universal"]<<6)}(m,P,M,this.reporter);if(j.length<128)return(G=new t(2))[0]=U,G[1]=j.length,this._createEncoderBuffer([G,j]);for(var K=1,q=j.length;q>=256;q>>=8)K++;(G=new t(2+K))[0]=U,G[1]=128|K,q=1+K;for(var Q=j.length;Q>0;q--,Q>>=8)G[q]=255&Q;return this._createEncoderBuffer([G,j])},T.prototype._encodeStr=function(m,P){if("bitstr"===P)return this._createEncoderBuffer([0|m.unused,m.data]);if("bmpstr"===P){for(var M=new t(2*m.length),j=0;j<m.length;j++)M.writeUInt16BE(m.charCodeAt(j),2*j);return this._createEncoderBuffer(M)}return"numstr"===P?this._isNumstr(m)?this._createEncoderBuffer(m):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===P?this._isPrintstr(m)?this._createEncoderBuffer(m):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(P)||"objDesc"===P?this._createEncoderBuffer(m):this.reporter.error("Encoding of string type: "+P+" unsupported")},T.prototype._encodeObjid=function(m,P,M){if("string"==typeof m){if(!P)return this.reporter.error("string objid given, but no values map found");if(!P.hasOwnProperty(m))return this.reporter.error("objid not found in values map");m=P[m].split(/[\s\.]+/g);for(var j=0;j<m.length;j++)m[j]|=0}else if(Array.isArray(m))for(m=m.slice(),j=0;j<m.length;j++)m[j]|=0;if(!Array.isArray(m))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(m));if(!M){if(m[1]>=40)return this.reporter.error("Second objid identifier OOB");m.splice(0,2,40*m[0]+m[1])}var U=0;for(j=0;j<m.length;j++){var K=m[j];for(U++;K>=128;K>>=7)U++}var q=new t(U),G=q.length-1;for(j=m.length-1;j>=0;j--)for(q[G--]=127&(K=m[j]);(K>>=7)>0;)q[G--]=128|127&K;return this._createEncoderBuffer(q)},T.prototype._encodeTime=function(m,P){var M,j=new Date(m);return"gentime"===P?M=[g(j.getFullYear()),g(j.getUTCMonth()+1),g(j.getUTCDate()),g(j.getUTCHours()),g(j.getUTCMinutes()),g(j.getUTCSeconds()),"Z"].join(""):"utctime"===P?M=[g(j.getFullYear()%100),g(j.getUTCMonth()+1),g(j.getUTCDate()),g(j.getUTCHours()),g(j.getUTCMinutes()),g(j.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+P+" time is not supported yet"),this._encodeStr(M,"octstr")},T.prototype._encodeNull=function(){return this._createEncoderBuffer("")},T.prototype._encodeInt=function(m,P){if("string"==typeof m){if(!P)return this.reporter.error("String int or enum given, but no values map");if(!P.hasOwnProperty(m))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(m));m=P[m]}if("number"!=typeof m&&!t.isBuffer(m)){var M=m.toArray();!m.sign&&128&M[0]&&M.unshift(0),m=new t(M)}if(t.isBuffer(m)){var j=m.length;0===m.length&&j++;var K=new t(j);return m.copy(K),0===m.length&&(K[0]=0),this._createEncoderBuffer(K)}if(m<128)return this._createEncoderBuffer(m);if(m<256)return this._createEncoderBuffer([0,m]);j=1;for(var U=m;U>=256;U>>=8)j++;for(U=(K=new Array(j)).length-1;U>=0;U--)K[U]=255&m,m>>=8;return 128&K[0]&&K.unshift(0),this._createEncoderBuffer(new t(K))},T.prototype._encodeBool=function(m){return this._createEncoderBuffer(m?255:0)},T.prototype._use=function(m,P){return"function"==typeof m&&(m=m(P)),m._getEncoder("der").tree},T.prototype._skipDefault=function(m,P,M){var U,j=this._baseState;if(null===j.default)return!1;var K=m.join();if(void 0===j.defaultBuffer&&(j.defaultBuffer=this._encodeValue(j.default,P,M).join()),K.length!==j.defaultBuffer.length)return!1;for(U=0;U<K.length;U++)if(K[U]!==j.defaultBuffer[U])return!1;return!0}},72200:(Ae,ee,l)=>{"use strict";l.d(ee,{B3:()=>jt,GH:()=>Fn,Jj:()=>An,MD:()=>wi,P9:()=>Mi,PV:()=>Gi,Pc:()=>Ci,QX:()=>an,Sq:()=>ui,T3:()=>ai,TG:()=>ni,YU:()=>ei,bT:()=>dn,e1:()=>Ve,fG:()=>Fe,fw:()=>e,lG:()=>kn,ux:()=>Ze,vh:()=>ji});var i=l(2615),t=l(73664),p=l(17705),S=l(59295),c=l(57303);let e=(()=>{class Xe extends c.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(gt,Ft){super(),this._platformLocation=gt,null!=Ft&&(this._baseHref=Ft)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(gt){this._removeListenerFns.push(this._platformLocation.onPopState(gt),this._platformLocation.onHashChange(gt))}getBaseHref(){return this._baseHref}path(gt=!1){const Ft=this._platformLocation.hash??"#";return Ft.length>0?Ft.substring(1):Ft}prepareExternalUrl(gt){const Ft=(0,c.om)(this._baseHref,gt);return Ft.length>0?"#"+Ft:Ft}pushState(gt,Ft,gi,Bi){const Qi=this.prepareExternalUrl(gi+(0,c.Q)(Bi))||this._platformLocation.pathname;this._platformLocation.pushState(gt,Ft,Qi)}replaceState(gt,Ft,gi,Bi){const Qi=this.prepareExternalUrl(gi+(0,c.Q)(Bi))||this._platformLocation.pathname;this._platformLocation.replaceState(gt,Ft,Qi)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(gt=0){this._platformLocation.historyGo?.(gt)}static \u0275fac=function(Ft){return new(Ft||Xe)(i.KVO(c.Vw),i.KVO(c.kB,8))};static \u0275prov=i.jDH({token:Xe,factory:Xe.\u0275fac})}return Xe})();var g=function(Xe){return Xe[Xe.Decimal=0]="Decimal",Xe[Xe.Percent=1]="Percent",Xe[Xe.Currency=2]="Currency",Xe[Xe.Scientific=3]="Scientific",Xe}(g||{}),w=function(Xe){return Xe[Xe.Format=0]="Format",Xe[Xe.Standalone=1]="Standalone",Xe}(w||{}),m=function(Xe){return Xe[Xe.Narrow=0]="Narrow",Xe[Xe.Abbreviated=1]="Abbreviated",Xe[Xe.Wide=2]="Wide",Xe[Xe.Short=3]="Short",Xe}(m||{}),P=function(Xe){return Xe[Xe.Short=0]="Short",Xe[Xe.Medium=1]="Medium",Xe[Xe.Long=2]="Long",Xe[Xe.Full=3]="Full",Xe}(P||{});function ue(Xe,Gt){return r((0,t.kBR)(Xe)[t.NSC.DateFormat],Gt)}function oe(Xe,Gt){return r((0,t.kBR)(Xe)[t.NSC.TimeFormat],Gt)}function he(Xe,Gt){return r((0,t.kBR)(Xe)[t.NSC.DateTimeFormat],Gt)}function me(Xe,Gt){const gt=(0,t.kBR)(Xe),Ft=gt[t.NSC.NumberSymbols][Gt];if(typeof Ft>"u"){if(12===Gt)return gt[t.NSC.NumberSymbols][0];if(13===Gt)return gt[t.NSC.NumberSymbols][1]}return Ft}function b(Xe){if(!Xe[t.NSC.ExtraData])throw new i.buA(2303,!1)}function r(Xe,Gt){for(let gt=Gt;gt>-1;gt--)if(typeof Xe[gt]<"u")return Xe[gt];throw new i.buA(2304,!1)}function _(Xe){const[Gt,gt]=Xe.split(":");return{hours:+Gt,minutes:+gt}}const re=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pe={},be=/((?:[^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]*)/;function Be(Xe,Gt,gt,Ft){let gi=function ht(Xe){if(Qt(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[gi,Bi=1,Qi=1]=Xe.split("-").map(fn=>+fn);return ye(gi,Bi-1,Qi)}const gt=parseFloat(Xe);if(!isNaN(Xe-gt))return new Date(gt);let Ft;if(Ft=Xe.match(re))return function li(Xe){const Gt=new Date(0);let gt=0,Ft=0;const gi=Xe[8]?Gt.setUTCFullYear:Gt.setFullYear,Bi=Xe[8]?Gt.setUTCHours:Gt.setHours;Xe[9]&&(gt=Number(Xe[9]+Xe[10]),Ft=Number(Xe[9]+Xe[11])),gi.call(Gt,Number(Xe[1]),Number(Xe[2])-1,Number(Xe[3]));const Qi=Number(Xe[4]||0)-gt,fn=Number(Xe[5]||0)-Ft,ma=Number(Xe[6]||0),da=Math.floor(1e3*parseFloat("0."+(Xe[7]||0)));return Bi.call(Gt,Qi,fn,ma,da),Gt}(Ft)}const Gt=new Date(Xe);if(!Qt(Gt))throw new i.buA(2311,!1);return Gt}(Xe);Gt=Le(gt,Gt)||Gt;let fn,Qi=[];for(;Gt;){if(fn=be.exec(Gt),!fn){Qi.push(Gt);break}{Qi=Qi.concat(fn.slice(1));const ga=Qi.pop();if(!ga)break;Gt=ga}}let ma=gi.getTimezoneOffset();Ft&&(ma=J(Ft,ma),gi=function Ie(Xe,Gt){const gi=Xe.getTimezoneOffset();return function fe(Xe,Gt){return(Xe=new Date(Xe.getTime())).setMinutes(Xe.getMinutes()+Gt),Xe}(Xe,-1*(J(Gt,gi)-gi))}(gi,Ft));let da="";return Qi.forEach(ga=>{const Zn=function Z(Xe){if(ze[Xe])return ze[Xe];let Gt;switch(Xe){case"G":case"GG":case"GGG":Gt=dt(3,m.Abbreviated);break;case"GGGG":Gt=dt(3,m.Wide);break;case"GGGGG":Gt=dt(3,m.Narrow);break;case"y":Gt=Oe(0,1,0,!1,!0);break;case"yy":Gt=Oe(0,2,0,!0,!0);break;case"yyy":Gt=Oe(0,3,0,!1,!0);break;case"yyyy":Gt=Oe(0,4,0,!1,!0);break;case"Y":Gt=Ce(1);break;case"YY":Gt=Ce(2,!0);break;case"YYY":Gt=Ce(3);break;case"YYYY":Gt=Ce(4);break;case"M":case"L":Gt=Oe(1,1,1);break;case"MM":case"LL":Gt=Oe(1,2,1);break;case"MMM":Gt=dt(2,m.Abbreviated);break;case"MMMM":Gt=dt(2,m.Wide);break;case"MMMMM":Gt=dt(2,m.Narrow);break;case"LLL":Gt=dt(2,m.Abbreviated,w.Standalone);break;case"LLLL":Gt=dt(2,m.Wide,w.Standalone);break;case"LLLLL":Gt=dt(2,m.Narrow,w.Standalone);break;case"w":Gt=ct(1);break;case"ww":Gt=ct(2);break;case"W":Gt=ct(1,!0);break;case"d":Gt=Oe(2,1);break;case"dd":Gt=Oe(2,2);break;case"c":case"cc":Gt=Oe(7,1);break;case"ccc":Gt=dt(1,m.Abbreviated,w.Standalone);break;case"cccc":Gt=dt(1,m.Wide,w.Standalone);break;case"ccccc":Gt=dt(1,m.Narrow,w.Standalone);break;case"cccccc":Gt=dt(1,m.Short,w.Standalone);break;case"E":case"EE":case"EEE":Gt=dt(1,m.Abbreviated);break;case"EEEE":Gt=dt(1,m.Wide);break;case"EEEEE":Gt=dt(1,m.Narrow);break;case"EEEEEE":Gt=dt(1,m.Short);break;case"a":case"aa":case"aaa":Gt=dt(0,m.Abbreviated);break;case"aaaa":Gt=dt(0,m.Wide);break;case"aaaaa":Gt=dt(0,m.Narrow);break;case"b":case"bb":case"bbb":Gt=dt(0,m.Abbreviated,w.Standalone,!0);break;case"bbbb":Gt=dt(0,m.Wide,w.Standalone,!0);break;case"bbbbb":Gt=dt(0,m.Narrow,w.Standalone,!0);break;case"B":case"BB":case"BBB":Gt=dt(0,m.Abbreviated,w.Format,!0);break;case"BBBB":Gt=dt(0,m.Wide,w.Format,!0);break;case"BBBBB":Gt=dt(0,m.Narrow,w.Format,!0);break;case"h":Gt=Oe(3,1,-12);break;case"hh":Gt=Oe(3,2,-12);break;case"H":Gt=Oe(3,1);break;case"HH":Gt=Oe(3,2);break;case"m":Gt=Oe(4,1);break;case"mm":Gt=Oe(4,2);break;case"s":Gt=Oe(5,1);break;case"ss":Gt=Oe(5,2);break;case"S":Gt=Oe(6,1);break;case"SS":Gt=Oe(6,2);break;case"SSS":Gt=Oe(6,3);break;case"Z":case"ZZ":case"ZZZ":Gt=Ct(0);break;case"ZZZZZ":Gt=Ct(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Gt=Ct(1);break;case"OOOO":case"ZZZZ":case"zzzz":Gt=Ct(2);break;default:return null}return ze[Xe]=Gt,Gt}(ga);da+=Zn?Zn(gi,gt,ma):"''"===ga?"'":ga.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),da}function ye(Xe,Gt,gt){const Ft=new Date(0);return Ft.setFullYear(Xe,Gt,gt),Ft.setHours(0,0,0),Ft}function Le(Xe,Gt){const gt=function U(Xe){return(0,t.kBR)(Xe)[t.NSC.LocaleId]}(Xe);if(pe[gt]??={},pe[gt][Gt])return pe[gt][Gt];let Ft="";switch(Gt){case"shortDate":Ft=ue(Xe,P.Short);break;case"mediumDate":Ft=ue(Xe,P.Medium);break;case"longDate":Ft=ue(Xe,P.Long);break;case"fullDate":Ft=ue(Xe,P.Full);break;case"shortTime":Ft=oe(Xe,P.Short);break;case"mediumTime":Ft=oe(Xe,P.Medium);break;case"longTime":Ft=oe(Xe,P.Long);break;case"fullTime":Ft=oe(Xe,P.Full);break;case"short":const gi=Le(Xe,"shortTime"),Bi=Le(Xe,"shortDate");Ft=Ke(he(Xe,P.Short),[gi,Bi]);break;case"medium":const Qi=Le(Xe,"mediumTime"),fn=Le(Xe,"mediumDate");Ft=Ke(he(Xe,P.Medium),[Qi,fn]);break;case"long":const ma=Le(Xe,"longTime"),da=Le(Xe,"longDate");Ft=Ke(he(Xe,P.Long),[ma,da]);break;case"full":const ga=Le(Xe,"fullTime"),Zn=Le(Xe,"fullDate");Ft=Ke(he(Xe,P.Full),[ga,Zn])}return Ft&&(pe[gt][Gt]=Ft),Ft}function Ke(Xe,Gt){return Gt&&(Xe=Xe.replace(/\{([^}]+)}/g,function(gt,Ft){return null!=Gt&&Ft in Gt?Gt[Ft]:gt})),Xe}function ge(Xe,Gt,gt="-",Ft,gi){let Bi="";(Xe<0||gi&&Xe<=0)&&(gi?Xe=1-Xe:(Xe=-Xe,Bi=gt));let Qi=String(Xe);for(;Qi.length<Gt;)Qi="0"+Qi;return Ft&&(Qi=Qi.slice(Qi.length-Gt)),Bi+Qi}function Oe(Xe,Gt,gt=0,Ft=!1,gi=!1){return function(Bi,Qi){let fn=function Ee(Xe,Gt){switch(Xe){case 0:return Gt.getFullYear();case 1:return Gt.getMonth();case 2:return Gt.getDate();case 3:return Gt.getHours();case 4:return Gt.getMinutes();case 5:return Gt.getSeconds();case 6:return Gt.getMilliseconds();case 7:return Gt.getDay();default:throw new i.buA(2301,!1)}}(Xe,Bi);if((gt>0||fn>-gt)&&(fn+=gt),3===Xe)0===fn&&-12===gt&&(fn=12);else if(6===Xe)return function ve(Xe,Gt){return ge(Xe,3).substring(0,Gt)}(fn,Gt);const ma=me(Qi,5);return ge(fn,Gt,ma,Ft,gi)}}function dt(Xe,Gt,gt=w.Format,Ft=!1){return function(gi,Bi){return function nt(Xe,Gt,gt,Ft,gi,Bi){switch(gt){case 2:return function G(Xe,Gt,gt){const Ft=(0,t.kBR)(Xe),Bi=r([Ft[t.NSC.MonthsFormat],Ft[t.NSC.MonthsStandalone]],Gt);return r(Bi,gt)}(Gt,gi,Ft)[Xe.getMonth()];case 1:return function q(Xe,Gt,gt){const Ft=(0,t.kBR)(Xe),Bi=r([Ft[t.NSC.DaysFormat],Ft[t.NSC.DaysStandalone]],Gt);return r(Bi,gt)}(Gt,gi,Ft)[Xe.getDay()];case 0:const Qi=Xe.getHours(),fn=Xe.getMinutes();if(Bi){const da=function A(Xe){const Gt=(0,t.kBR)(Xe);return b(Gt),(Gt[t.NSC.ExtraData][2]||[]).map(Ft=>"string"==typeof Ft?_(Ft):[_(Ft[0]),_(Ft[1])])}(Gt),ga=function k(Xe,Gt,gt){const Ft=(0,t.kBR)(Xe);b(Ft);const Bi=r([Ft[t.NSC.ExtraData][0],Ft[t.NSC.ExtraData][1]],Gt)||[];return r(Bi,gt)||[]}(Gt,gi,Ft),Zn=da.findIndex(Sa=>{if(Array.isArray(Sa)){const[ia,pa]=Sa,Er=Qi>=ia.hours&&fn>=ia.minutes,xa=Qi<pa.hours||Qi===pa.hours&&fn<pa.minutes;if(ia.hours<pa.hours){if(Er&&xa)return!0}else if(Er||xa)return!0}else if(Sa.hours===Qi&&Sa.minutes===fn)return!0;return!1});if(-1!==Zn)return ga[Zn]}return function K(Xe,Gt,gt){const Ft=(0,t.kBR)(Xe),Bi=r([Ft[t.NSC.DayPeriodsFormat],Ft[t.NSC.DayPeriodsStandalone]],Gt);return r(Bi,gt)}(Gt,gi,Ft)[Qi<12?0:1];case 3:return function Q(Xe,Gt){return r((0,t.kBR)(Xe)[t.NSC.Eras],Gt)}(Gt,Ft)[Xe.getFullYear()<=0?0:1];default:throw new i.buA(2302,!1)}}(gi,Bi,Xe,Gt,gt,Ft)}}function Ct(Xe){return function(Gt,gt,Ft){const gi=-1*Ft,Bi=me(gt,5),Qi=gi>0?Math.floor(gi/60):Math.ceil(gi/60);switch(Xe){case 0:return(gi>=0?"+":"")+ge(Qi,2,Bi)+ge(Math.abs(gi%60),2,Bi);case 1:return"GMT"+(gi>=0?"+":"")+ge(Qi,1,Bi);case 2:return"GMT"+(gi>=0?"+":"")+ge(Qi,2,Bi)+":"+ge(Math.abs(gi%60),2,Bi);case 3:return 0===Ft?"Z":(gi>=0?"+":"")+ge(Qi,2,Bi)+":"+ge(Math.abs(gi%60),2,Bi);default:throw new i.buA(2310,!1)}}}const Mt=0,lt=4;function Ht(Xe){const Gt=Xe.getDay(),gt=0===Gt?-3:lt-Gt;return ye(Xe.getFullYear(),Xe.getMonth(),Xe.getDate()+gt)}function ct(Xe,Gt=!1){return function(gt,Ft){let gi;if(Gt){const Bi=new Date(gt.getFullYear(),gt.getMonth(),1).getDay()-1,Qi=gt.getDate();gi=1+Math.floor((Qi+Bi)/7)}else{const Bi=Ht(gt),Qi=function Pe(Xe){const Gt=ye(Xe,Mt,1).getDay();return ye(Xe,0,1+(Gt<=lt?lt:lt+7)-Gt)}(Bi.getFullYear()),fn=Bi.getTime()-Qi.getTime();gi=1+Math.round(fn/6048e5)}return ge(gi,Xe,me(Ft,5))}}function Ce(Xe,Gt=!1){return function(gt,Ft){return ge(Ht(gt).getFullYear(),Xe,me(Ft,5),Gt)}}const ze={};function J(Xe,Gt){Xe=Xe.replace(/:/g,"");const gt=Date.parse("Jan 01, 1970 00:00:00 "+Xe)/6e4;return isNaN(gt)?Gt:gt}function Qt(Xe){return Xe instanceof Date&&!isNaN(Xe.valueOf())}const di=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Et(Xe){const Gt=parseInt(Xe);if(isNaN(Gt))throw new i.buA(2305,!1);return Gt}const tt=/\s+/,vi=[];let ei=(()=>{class Xe{_ngEl;_renderer;initialClasses=vi;rawClass;stateMap=new Map;constructor(gt,Ft){this._ngEl=gt,this._renderer=Ft}set klass(gt){this.initialClasses=null!=gt?gt.trim().split(tt):vi}set ngClass(gt){this.rawClass="string"==typeof gt?gt.trim().split(tt):gt}ngDoCheck(){for(const Ft of this.initialClasses)this._updateState(Ft,!0);const gt=this.rawClass;if(Array.isArray(gt)||gt instanceof Set)for(const Ft of gt)this._updateState(Ft,!0);else if(null!=gt)for(const Ft of Object.keys(gt))this._updateState(Ft,!!gt[Ft]);this._applyStateDiff()}_updateState(gt,Ft){const gi=this.stateMap.get(gt);void 0!==gi?(gi.enabled!==Ft&&(gi.changed=!0,gi.enabled=Ft),gi.touched=!0):this.stateMap.set(gt,{enabled:Ft,changed:!0,touched:!0})}_applyStateDiff(){for(const gt of this.stateMap){const Ft=gt[0],gi=gt[1];gi.changed?(this._toggleClass(Ft,gi.enabled),gi.changed=!1):gi.touched||(gi.enabled&&this._toggleClass(Ft,!1),this.stateMap.delete(Ft)),gi.touched=!1}}_toggleClass(gt,Ft){(gt=gt.trim()).length>0&&gt.split(tt).forEach(gi=>{Ft?this._renderer.addClass(this._ngEl.nativeElement,gi):this._renderer.removeClass(this._ngEl.nativeElement,gi)})}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(t.aKT),t.rXU(t.sFG))};static \u0275dir=t.FsC({type:Xe,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return Xe})();class oi{$implicit;ngForOf;index;count;constructor(Gt,gt,Ft,gi){this.$implicit=Gt,this.ngForOf=gt,this.index=Ft,this.count=gi}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 ui=(()=>{class Xe{_viewContainer;_template;_differs;set ngForOf(gt){this._ngForOf=gt,this._ngForOfDirty=!0}set ngForTrackBy(gt){this._trackByFn=gt}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(gt,Ft,gi){this._viewContainer=gt,this._template=Ft,this._differs=gi}set ngForTemplate(gt){gt&&(this._template=gt)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const gt=this._ngForOf;!this._differ&&gt&&(this._differ=this._differs.find(gt).create(this.ngForTrackBy))}if(this._differ){const gt=this._differ.diff(this._ngForOf);gt&&this._applyChanges(gt)}}_applyChanges(gt){const Ft=this._viewContainer;gt.forEachOperation((gi,Bi,Qi)=>{if(null==gi.previousIndex)Ft.createEmbeddedView(this._template,new oi(gi.item,this._ngForOf,-1,-1),null===Qi?void 0:Qi);else if(null==Qi)Ft.remove(null===Bi?void 0:Bi);else if(null!==Bi){const fn=Ft.get(Bi);Ft.move(fn,Qi),ln(fn,gi)}});for(let gi=0,Bi=Ft.length;gi<Bi;gi++){const fn=Ft.get(gi).context;fn.index=gi,fn.count=Bi,fn.ngForOf=this._ngForOf}gt.forEachIdentityChange(gi=>{ln(Ft.get(gi.currentIndex),gi)})}static ngTemplateContextGuard(gt,Ft){return!0}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(p._q3))};static \u0275dir=t.FsC({type:Xe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return Xe})();function ln(Xe,Gt){Xe.context.$implicit=Gt.item}let dn=(()=>{class Xe{_viewContainer;_context=new zn;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(gt,Ft){this._viewContainer=gt,this._thenTemplateRef=Ft}set ngIf(gt){this._context.$implicit=this._context.ngIf=gt,this._updateView()}set ngIfThen(gt){It(gt),this._thenTemplateRef=gt,this._thenViewRef=null,this._updateView()}set ngIfElse(gt){It(gt),this._elseTemplateRef=gt,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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(gt,Ft){return!0}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(t.c1b),t.rXU(t.C4Q))};static \u0275dir=t.FsC({type:Xe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return Xe})();class zn{$implicit=null;ngIf=null}function It(Xe,Gt){if(Xe&&!Xe.createEmbeddedView)throw new i.buA(2020,!1)}class Tt{_viewContainerRef;_templateRef;_created=!1;constructor(Gt,gt){this._viewContainerRef=Gt,this._templateRef=gt}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Gt){Gt&&!this._created?this.create():!Gt&&this._created&&this.destroy()}}let Ze=(()=>{class Xe{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(gt){this._ngSwitch=gt,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(gt){this._defaultViews.push(gt)}_matchCase(gt){const Ft=gt===this._ngSwitch;return this._lastCasesMatched||=Ft,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ft}_updateDefaultCases(gt){if(this._defaultViews.length>0&&gt!==this._defaultUsed){this._defaultUsed=gt;for(const Ft of this._defaultViews)Ft.enforceState(gt)}}static \u0275fac=function(Ft){return new(Ft||Xe)};static \u0275dir=t.FsC({type:Xe,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return Xe})(),Ve=(()=>{class Xe{ngSwitch;_view;ngSwitchCase;constructor(gt,Ft,gi){this.ngSwitch=gi,gi._addCase(),this._view=new Tt(gt,Ft)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(Ze,9))};static \u0275dir=t.FsC({type:Xe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return Xe})(),Fe=(()=>{class Xe{constructor(gt,Ft,gi){gi._addDefault(new Tt(gt,Ft))}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(t.c1b),t.rXU(t.C4Q),t.rXU(Ze,9))};static \u0275dir=t.FsC({type:Xe,selectors:[["","ngSwitchDefault",""]]})}return Xe})(),jt=(()=>{class Xe{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(gt,Ft,gi){this._ngEl=gt,this._differs=Ft,this._renderer=gi}set ngStyle(gt){this._ngStyle=gt,!this._differ&&gt&&(this._differ=this._differs.find(gt).create())}ngDoCheck(){if(this._differ){const gt=this._differ.diff(this._ngStyle);gt&&this._applyChanges(gt)}}_setStyle(gt,Ft){const[gi,Bi]=gt.split("."),Qi=-1===gi.indexOf("-")?void 0:t.czy.DashCase;null!=Ft?this._renderer.setStyle(this._ngEl.nativeElement,gi,Bi?`${Ft}${Bi}`:Ft,Qi):this._renderer.removeStyle(this._ngEl.nativeElement,gi,Qi)}_applyChanges(gt){gt.forEachRemovedItem(Ft=>this._setStyle(Ft.key,null)),gt.forEachAddedItem(Ft=>this._setStyle(Ft.key,Ft.currentValue)),gt.forEachChangedItem(Ft=>this._setStyle(Ft.key,Ft.currentValue))}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(t.aKT),t.rXU(p.MKu),t.rXU(t.sFG))};static \u0275dir=t.FsC({type:Xe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return Xe})(),ai=(()=>{class Xe{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(gt){this._viewContainerRef=gt}ngOnChanges(gt){if(this._shouldRecreateView(gt)){const Ft=this._viewContainerRef;if(this._viewRef&&Ft.remove(Ft.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const gi=this._createContextForwardProxy();this._viewRef=Ft.createEmbeddedView(this.ngTemplateOutlet,gi,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(gt){return!!gt.ngTemplateOutlet||!!gt.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(gt,Ft,gi)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Ft,gi),get:(gt,Ft,gi)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Ft,gi)}})}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(t.c1b))};static \u0275dir=t.FsC({type:Xe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[t.OA$]})}return Xe})();function ki(Xe,Gt){return new i.buA(2100,!1)}class Ki{createSubscription(Gt,gt,Ft){return(0,S.O8)(()=>Gt.subscribe({next:gt,error:Ft}))}dispose(Gt){(0,S.O8)(()=>Gt.unsubscribe())}}class Ji{createSubscription(Gt,gt,Ft){return Gt.then(gi=>gt?.(gi),gi=>Ft?.(gi)),{unsubscribe:()=>{gt=null,Ft=null}}}dispose(Gt){Gt.unsubscribe()}}const Dn=new Ji,En=new Ki;let An=(()=>{class Xe{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,i.WQX)(i.ZTf);constructor(gt){this._ref=gt}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(gt){if(!this._obj){if(gt)try{this.markForCheckOnValueUpdate=!1,this._subscribe(gt)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return gt!==this._obj?(this._dispose(),this.transform(gt)):this._latestValue}_subscribe(gt){this._obj=gt,this._strategy=this._selectStrategy(gt),this._subscription=this._strategy.createSubscription(gt,Ft=>this._updateLatestValue(gt,Ft),Ft=>this.applicationErrorHandler(Ft))}_selectStrategy(gt){if((0,t.yLl)(gt))return Dn;if((0,t.cdK)(gt))return En;throw ki()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(gt,Ft){gt===this._obj&&(this._latestValue=Ft,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(p.gRc,16))};static \u0275pipe=t.EJ8({name:"async",type:Xe,pure:!1})}return Xe})(),Fn=(()=>{class Xe{transform(gt){if(null==gt)return null;if("string"!=typeof gt)throw ki();return gt.toLowerCase()}static \u0275fac=function(Ft){return new(Ft||Xe)};static \u0275pipe=t.EJ8({name:"lowercase",type:Xe,pure:!0})}return Xe})();const xi=/(?:[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 Gi=(()=>{class Xe{transform(gt){if(null==gt)return null;if("string"!=typeof gt)throw ki();return gt.replace(xi,Ft=>Ft[0].toUpperCase()+Ft.slice(1).toLowerCase())}static \u0275fac=function(Ft){return new(Ft||Xe)};static \u0275pipe=t.EJ8({name:"titlecase",type:Xe,pure:!0})}return Xe})(),Ci=(()=>{class Xe{transform(gt){if(null==gt)return null;if("string"!=typeof gt)throw ki();return gt.toUpperCase()}static \u0275fac=function(Ft){return new(Ft||Xe)};static \u0275pipe=t.EJ8({name:"uppercase",type:Xe,pure:!0})}return Xe})();const Yi=new i.nKC(""),zt=new i.nKC("");let ji=(()=>{class Xe{locale;defaultTimezone;defaultOptions;constructor(gt,Ft,gi){this.locale=gt,this.defaultTimezone=Ft,this.defaultOptions=gi}transform(gt,Ft,gi,Bi){if(null==gt||""===gt||gt!=gt)return null;try{return Be(gt,Ft??this.defaultOptions?.dateFormat??"mediumDate",Bi||this.locale,gi??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Qi){throw ki()}}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(t.xe9,16),t.rXU(Yi,24),t.rXU(zt,24))};static \u0275pipe=t.EJ8({name:"date",type:Xe,pure:!0})}return Xe})(),ni=(()=>{class Xe{transform(gt){return JSON.stringify(gt,null,2)}static \u0275fac=function(Ft){return new(Ft||Xe)};static \u0275pipe=t.EJ8({name:"json",type:Xe,pure:!1})}return Xe})(),kn=(()=>{class Xe{differs;constructor(gt){this.differs=gt}differ;keyValues=[];compareFn=ca;transform(gt,Ft=ca){if(!gt||!(gt instanceof Map)&&"object"!=typeof gt)return null;this.differ??=this.differs.find(gt).create();const gi=this.differ.diff(gt),Bi=Ft!==this.compareFn;return gi&&(this.keyValues=[],gi.forEachItem(Qi=>{this.keyValues.push(function Fi(Xe,Gt){return{key:Xe,value:Gt}}(Qi.key,Qi.currentValue))})),(gi||Bi)&&(Ft&&this.keyValues.sort(Ft),this.compareFn=Ft),this.keyValues}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(p.MKu,16))};static \u0275pipe=t.EJ8({name:"keyvalue",type:Xe,pure:!1})}return Xe})();function ca(Xe,Gt){const gt=Xe.key,Ft=Gt.key;if(gt===Ft)return 0;if(null==gt)return 1;if(null==Ft)return-1;if("string"==typeof gt&&"string"==typeof Ft)return gt<Ft?-1:1;if("number"==typeof gt&&"number"==typeof Ft)return gt-Ft;if("boolean"==typeof gt&&"boolean"==typeof Ft)return gt<Ft?-1:1;const gi=String(gt),Bi=String(Ft);return gi==Bi?0:gi<Bi?-1:1}let an=(()=>{class Xe{_locale;constructor(gt){this._locale=gt}transform(gt,Ft,gi){if(!function mr(Xe){return!(null==Xe||""===Xe||Xe!=Xe)}(gt))return null;gi||=this._locale;try{return function Vt(Xe,Gt,gt){return function Ne(Xe,Gt,gt,Ft,gi,Bi,Qi=!1){let fn="",ma=!1;if(isFinite(Xe)){let da=function Ye(Xe){let Ft,gi,Bi,Qi,fn,Gt=Math.abs(Xe)+"",gt=0;for((gi=Gt.indexOf("."))>-1&&(Gt=Gt.replace(".","")),(Bi=Gt.search(/e/i))>0?(gi<0&&(gi=Bi),gi+=+Gt.slice(Bi+1),Gt=Gt.substring(0,Bi)):gi<0&&(gi=Gt.length),Bi=0;"0"===Gt.charAt(Bi);Bi++);if(Bi===(fn=Gt.length))Ft=[0],gi=1;else{for(fn--;"0"===Gt.charAt(fn);)fn--;for(gi-=Bi,Ft=[],Qi=0;Bi<=fn;Bi++,Qi++)Ft[Qi]=Number(Gt.charAt(Bi))}return gi>22&&(Ft=Ft.splice(0,21),gt=gi-1,gi=1),{digits:Ft,exponent:gt,integerLen:gi}}(Xe);Qi&&(da=function ti(Xe){if(0===Xe.digits[0])return Xe;const Gt=Xe.digits.length-Xe.integerLen;return Xe.exponent?Xe.exponent+=2:(0===Gt?Xe.digits.push(0,0):1===Gt&&Xe.digits.push(0),Xe.integerLen+=2),Xe}(da));let ga=Gt.minInt,Zn=Gt.minFrac,Sa=Gt.maxFrac;if(Bi){const Ta=Bi.match(di);if(null===Ta)throw new i.buA(2306,!1);const wr=Ta[1],ja=Ta[3],Wa=Ta[5];null!=wr&&(ga=Et(wr)),null!=ja&&(Zn=Et(ja)),null!=Wa?Sa=Et(Wa):null!=ja&&Zn>Sa&&(Sa=Zn)}!function Nt(Xe,Gt,gt){if(Gt>gt)throw new i.buA(2307,!1);let Ft=Xe.digits,gi=Ft.length-Xe.integerLen;const Bi=Math.min(Math.max(Gt,gi),gt);let Qi=Bi+Xe.integerLen,fn=Ft[Qi];if(Qi>0){Ft.splice(Math.max(Xe.integerLen,Qi));for(let Zn=Qi;Zn<Ft.length;Zn++)Ft[Zn]=0}else{gi=Math.max(0,gi),Xe.integerLen=1,Ft.length=Math.max(1,Qi=Bi+1),Ft[0]=0;for(let Zn=1;Zn<Qi;Zn++)Ft[Zn]=0}if(fn>=5)if(Qi-1<0){for(let Zn=0;Zn>Qi;Zn--)Ft.unshift(0),Xe.integerLen++;Ft.unshift(1),Xe.integerLen++}else Ft[Qi-1]++;for(;gi<Math.max(0,Bi);gi++)Ft.push(0);let ma=0!==Bi;const da=Gt+Xe.integerLen,ga=Ft.reduceRight(function(Zn,Sa,ia,pa){return pa[ia]=(Sa+=Zn)<10?Sa:Sa-10,ma&&(0===pa[ia]&&ia>=da?pa.pop():ma=!1),Sa>=10?1:0},0);ga&&(Ft.unshift(ga),Xe.integerLen++)}(da,Zn,Sa);let ia=da.digits,pa=da.integerLen;const Er=da.exponent;let xa=[];for(ma=ia.every(Ta=>!Ta);pa<ga;pa++)ia.unshift(0);for(;pa<0;pa++)ia.unshift(0);pa>0?xa=ia.splice(pa,ia.length):(xa=ia,ia=[0]);const Xr=[];for(ia.length>=Gt.lgSize&&Xr.unshift(ia.splice(-Gt.lgSize,ia.length).join(""));ia.length>Gt.gSize;)Xr.unshift(ia.splice(-Gt.gSize,ia.length).join(""));ia.length&&Xr.unshift(ia.join("")),fn=Xr.join(me(gt,Ft)),xa.length&&(fn+=me(gt,gi)+xa.join("")),Er&&(fn+=me(gt,6)+"+"+Er)}else fn=me(gt,9);return fn=Xe<0&&!ma?Gt.negPre+fn+Gt.negSuf:Gt.posPre+fn+Gt.posSuf,fn}(Xe,function Zt(Xe,Gt="-"){const gt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ft=Xe.split(";"),gi=Ft[0],Bi=Ft[1],Qi=-1!==gi.indexOf(".")?gi.split("."):[gi.substring(0,gi.lastIndexOf("0")+1),gi.substring(gi.lastIndexOf("0")+1)],fn=Qi[0],ma=Qi[1]||"";gt.posPre=fn.substring(0,fn.indexOf("#"));for(let ga=0;ga<ma.length;ga++){const Zn=ma.charAt(ga);"0"===Zn?gt.minFrac=gt.maxFrac=ga+1:"#"===Zn?gt.maxFrac=ga+1:gt.posSuf+=Zn}const da=fn.split(",");if(gt.gSize=da[1]?da[1].length:0,gt.lgSize=da[2]||da[1]?(da[2]||da[1]).length:0,Bi){const ga=gi.length-gt.posPre.length-gt.posSuf.length,Zn=Bi.indexOf("#");gt.negPre=Bi.substring(0,Zn).replace(/'/g,""),gt.negSuf=Bi.slice(Zn+ga).replace(/'/g,"")}else gt.negPre=Gt+gt.posPre,gt.negSuf=gt.posSuf;return gt}(function Te(Xe,Gt){return(0,t.kBR)(Xe)[t.NSC.NumberFormats][Gt]}(Gt,g.Decimal),me(Gt,5)),Gt,1,0,gt)}(function fi(Xe){if("string"==typeof Xe&&!isNaN(Number(Xe)-parseFloat(Xe)))return Number(Xe);if("number"!=typeof Xe)throw new i.buA(2309,!1);return Xe}(gt),gi,Ft)}catch(Bi){throw ki()}}static \u0275fac=function(Ft){return new(Ft||Xe)(t.rXU(t.xe9,16))};static \u0275pipe=t.EJ8({name:"number",type:Xe,pure:!0})}return Xe})();let Mi=(()=>{class Xe{transform(gt,Ft,gi){if(null==gt)return null;if("string"!=typeof gt&&!Array.isArray(gt))throw ki();return gt.slice(Ft,gi)}static \u0275fac=function(Ft){return new(Ft||Xe)};static \u0275pipe=t.EJ8({name:"slice",type:Xe,pure:!1})}return Xe})(),wi=(()=>{class Xe{static \u0275fac=function(Ft){return new(Ft||Xe)};static \u0275mod=t.$C({type:Xe});static \u0275inj=i.G2t({})}return Xe})()},72279:(Ae,ee,l)=>{"use strict";l.d(ee,{kZ:()=>h,s3:()=>Be,NL:()=>B,Dc:()=>ge,xn:()=>re,Sz:()=>k,a$:()=>b,aI:()=>ye,Hy:()=>Le,XO:()=>f});var i=l(83869),t=l(74402),p=l(21413),S=l(84412),c=l(7673),e=l(84572),T=l(983),g=l(28793),d=l(96697),w=l(5964),m=l(56977),P=l(99172),M=l(88141),j=l(25558),U=l(96354),K=l(46649),q=l(39974);function G(ve,Oe){return(0,q.N)((0,K.S)(ve,Oe,arguments.length>=2,!1,!0))}var Q=l(70274),$=l(23294),ae=l(73664),ue=l(2615),oe=l(17705),he=l(4125),me=l(61577),Te=l(14117),D=l(8045);class n{dataNodes;expansionModel=new i.C(!0);trackBy;getLevel;isExpandable;getChildren;toggle(Oe){this.expansionModel.toggle(this._trackByValue(Oe))}expand(Oe){this.expansionModel.select(this._trackByValue(Oe))}collapse(Oe){this.expansionModel.deselect(this._trackByValue(Oe))}isExpanded(Oe){return this.expansionModel.isSelected(this._trackByValue(Oe))}toggleDescendants(Oe){this.expansionModel.isSelected(this._trackByValue(Oe))?this.collapseDescendants(Oe):this.expandDescendants(Oe)}collapseAll(){this.expansionModel.clear()}expandDescendants(Oe){let Ee=[Oe];Ee.push(...this.getDescendants(Oe)),this.expansionModel.select(...Ee.map(dt=>this._trackByValue(dt)))}collapseDescendants(Oe){let Ee=[Oe];Ee.push(...this.getDescendants(Oe)),this.expansionModel.deselect(...Ee.map(dt=>this._trackByValue(dt)))}_trackByValue(Oe){return this.trackBy?this.trackBy(Oe):Oe}}class f extends n{getChildren;options;constructor(Oe,Ee){super(),this.getChildren=Oe,this.options=Ee,this.options&&(this.trackBy=this.options.trackBy),this.options?.isExpandable&&(this.isExpandable=this.options.isExpandable)}expandAll(){this.expansionModel.clear();const Oe=this.dataNodes.reduce((Ee,dt)=>[...Ee,...this.getDescendants(dt),dt],[]);this.expansionModel.select(...Oe.map(Ee=>this._trackByValue(Ee)))}getDescendants(Oe){const Ee=[];return this._getDescendants(Ee,Oe),Ee.splice(1)}_getDescendants(Oe,Ee){Oe.push(Ee);const dt=this.getChildren(Ee);Array.isArray(dt)?dt.forEach(nt=>this._getDescendants(Oe,nt)):(0,t.A)(dt)&&dt.pipe((0,d.s)(1),(0,w.p)(Boolean)).subscribe(nt=>{for(const Ct of nt)this._getDescendants(Oe,Ct)})}}const h=new ue.nKC("CDK_TREE_NODE_OUTLET_NODE");let b=(()=>{class ve{viewContainer=(0,ue.WQX)(ae.c1b);_node=(0,ue.WQX)(h,{optional:!0});constructor(){}static \u0275fac=function(dt){return new(dt||ve)};static \u0275dir=ae.FsC({type:ve,selectors:[["","cdkTreeNodeOutlet",""]]})}return ve})();class A{$implicit;level;index;count;constructor(Oe){this.$implicit=Oe}}let k=(()=>{class ve{template=(0,ue.WQX)(ae.C4Q);when;constructor(){}static \u0275fac=function(dt){return new(dt||ve)};static \u0275dir=ae.FsC({type:ve,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]}})}return ve})();function W(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}let B=(()=>{class ve{_differs=(0,ue.WQX)(oe._q3);_changeDetectorRef=(0,ue.WQX)(oe.gRc);_elementRef=(0,ue.WQX)(ae.aKT);_dir=(0,ue.WQX)(me.dS);_onDestroy=new p.B;_dataDiffer;_defaultNodeDef;_dataSubscription;_levels=new Map;_parents=new Map;_ariaSets=new Map;get dataSource(){return this._dataSource}set dataSource(Ee){this._dataSource!==Ee&&this._switchDataSource(Ee)}_dataSource;treeControl;levelAccessor;childrenAccessor;trackBy;expansionKey;_nodeOutlet;_nodeDefs;viewChange=new S.t({start:0,end:Number.MAX_VALUE});_expansionModel;_flattenedNodes=new S.t([]);_nodeType=new S.t(null);_nodes=new S.t(new Map);_keyManagerNodes=new S.t([]);_keyManagerFactory=(0,ue.WQX)(he.Z2);_keyManager;_viewInit=!1;constructor(){}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this._nodes.complete(),this._keyManagerNodes.complete(),this._nodeType.complete(),this._flattenedNodes.complete(),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),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){const Ee=this._nodeDefs.filter(dt=>!dt.when);this._defaultNodeDef=Ee[0]}_setNodeTypeIfUnset(Ee){null===this._nodeType.value&&this._nodeType.next(Ee)}_switchDataSource(Ee){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),Ee||this._nodeOutlet.viewContainer.clear(),this._dataSource=Ee,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new i.C(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let Ee;(0,Te.y)(this._dataSource)?Ee=this._dataSource.connect(this):(0,t.A)(this._dataSource)?Ee=this._dataSource:Array.isArray(this._dataSource)&&(Ee=(0,c.of)(this._dataSource)),Ee&&(this._dataSubscription=this._getRenderData(Ee).pipe((0,m.Q)(this._onDestroy)).subscribe(dt=>{this._renderDataChanges(dt)}))}_getRenderData(Ee){const dt=this._getExpansionModel();return(0,e.z)([Ee,this._nodeType,dt.changed.pipe((0,P.Z)(null),(0,M.M)(nt=>{this._emitExpansionChanges(nt)}))]).pipe((0,j.n)(([nt,Ct])=>null===Ct?(0,c.of)({renderNodes:nt,flattenedNodes:null,nodeType:Ct}):this._computeRenderingData(nt,Ct).pipe((0,U.T)(Mt=>({...Mt,nodeType:Ct})))))}_renderDataChanges(Ee){null!==Ee.nodeType?(this._updateCachedData(Ee.flattenedNodes),this.renderNodeChanges(Ee.renderNodes),this._updateKeyManagerItems(Ee.flattenedNodes)):this.renderNodeChanges(Ee.renderNodes)}_emitExpansionChanges(Ee){if(!Ee)return;const dt=this._nodes.value;for(const nt of Ee.added)dt.get(nt)?._emitExpansionState(!0);for(const nt of Ee.removed)dt.get(nt)?._emitExpansionState(!1)}_initializeKeyManager(){const Ee=(0,e.z)([this._keyManagerNodes,this._nodes]).pipe((0,U.T)(([nt,Ct])=>nt.reduce((Mt,lt)=>{const Pe=Ct.get(this._getExpansionKey(lt));return Pe&&Mt.push(Pe),Mt},[])));this._keyManager=this._keyManagerFactory(Ee,{trackBy:nt=>this._getExpansionKey(nt.data),skipPredicate:nt=>!!nt.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value})}_initializeDataDiffer(){const Ee=this.trackBy??((dt,nt)=>this._getExpansionKey(nt));this._dataDiffer=this._differs.find([]).create(Ee)}_checkTreeControlUsage(){}renderNodeChanges(Ee,dt=this._dataDiffer,nt=this._nodeOutlet.viewContainer,Ct){const Mt=dt.diff(Ee);!Mt&&!this._viewInit||(Mt?.forEachOperation((lt,Pe,Ht)=>{if(null==lt.previousIndex)this.insertNode(Ee[Ht],Ht,nt,Ct);else if(null==Ht)nt.remove(Pe);else{const ct=nt.get(Pe);nt.move(ct,Ht)}}),Mt?.forEachIdentityChange(lt=>{const Pe=lt.item;null!=lt.currentIndex&&(nt.get(lt.currentIndex).context.$implicit=Pe)}),Ct?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(Ee,dt){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(Ct=>Ct.when&&Ct.when(dt,Ee))||this._defaultNodeDef}insertNode(Ee,dt,nt,Ct){const Mt=this._getLevelAccessor(),lt=this._getNodeDef(Ee,dt),Pe=this._getExpansionKey(Ee),Ht=new A(Ee);Ht.index=dt,Ct??=this._parents.get(Pe)??void 0,Ht.level=Mt?Mt(Ee):void 0!==Ct&&this._levels.has(this._getExpansionKey(Ct))?this._levels.get(this._getExpansionKey(Ct))+1:0,this._levels.set(Pe,Ht.level),(nt||this._nodeOutlet.viewContainer).createEmbeddedView(lt.template,Ht,dt),re.mostRecentTreeNode&&(re.mostRecentTreeNode.data=Ee)}isExpanded(Ee){return!(!this.treeControl?.isExpanded(Ee)&&!this._expansionModel?.isSelected(this._getExpansionKey(Ee)))}toggle(Ee){this.treeControl?this.treeControl.toggle(Ee):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(Ee))}expand(Ee){this.treeControl?this.treeControl.expand(Ee):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(Ee))}collapse(Ee){this.treeControl?this.treeControl.collapse(Ee):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(Ee))}toggleDescendants(Ee){this.treeControl?this.treeControl.toggleDescendants(Ee):this._expansionModel&&(this.isExpanded(Ee)?this.collapseDescendants(Ee):this.expandDescendants(Ee))}expandDescendants(Ee){if(this.treeControl)this.treeControl.expandDescendants(Ee);else if(this._expansionModel){const dt=this._expansionModel;dt.select(this._getExpansionKey(Ee)),this._getDescendants(Ee).pipe((0,d.s)(1),(0,m.Q)(this._onDestroy)).subscribe(nt=>{dt.select(...nt.map(Ct=>this._getExpansionKey(Ct)))})}}collapseDescendants(Ee){if(this.treeControl)this.treeControl.collapseDescendants(Ee);else if(this._expansionModel){const dt=this._expansionModel;dt.deselect(this._getExpansionKey(Ee)),this._getDescendants(Ee).pipe((0,d.s)(1),(0,m.Q)(this._onDestroy)).subscribe(nt=>{dt.deselect(...nt.map(Ct=>this._getExpansionKey(Ct)))})}}expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._forEachExpansionKey(Ee=>this._expansionModel?.select(...Ee))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._forEachExpansionKey(Ee=>this._expansionModel?.deselect(...Ee))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(Ee){const dt=this._getLevelAccessor(),nt=this._expansionModel??this.treeControl?.expansionModel;if(!nt)return(0,c.of)([]);const Ct=this._getExpansionKey(Ee),Mt=nt.changed.pipe((0,j.n)(Pe=>Pe.added.includes(Ct)?(0,c.of)(!0):Pe.removed.includes(Ct)?(0,c.of)(!1):T.w),(0,P.Z)(this.isExpanded(Ee)));if(dt)return(0,e.z)([Mt,this._flattenedNodes]).pipe((0,U.T)(([Pe,Ht])=>Pe?this._findChildrenByLevel(dt,Ht,Ee,1):[]));const lt=this._getChildrenAccessor();if(lt)return(0,D.x)(lt(Ee)??[]);throw W()}_findChildrenByLevel(Ee,dt,nt,Ct){const Mt=this._getExpansionKey(nt),lt=dt.findIndex(Ce=>this._getExpansionKey(Ce)===Mt),Pe=Ee(nt),Ht=Pe+Ct,ct=[];for(let Ce=lt+1;Ce<dt.length;Ce++){const ze=Ee(dt[Ce]);if(ze<=Pe)break;ze<=Ht&&ct.push(dt[Ce])}return ct}_registerNode(Ee){this._nodes.value.set(this._getExpansionKey(Ee.data),Ee),this._nodes.next(this._nodes.value)}_unregisterNode(Ee){this._nodes.value.delete(this._getExpansionKey(Ee.data)),this._nodes.next(this._nodes.value)}_getLevel(Ee){return this._levels.get(this._getExpansionKey(Ee))}_getSetSize(Ee){return this._getAriaSet(Ee).length}_getPositionInSet(Ee){const dt=this._getAriaSet(Ee),nt=this._getExpansionKey(Ee);return dt.findIndex(Ct=>this._getExpansionKey(Ct)===nt)+1}_getNodeParent(Ee){const dt=this._parents.get(this._getExpansionKey(Ee.data));return dt&&this._nodes.value.get(this._getExpansionKey(dt))}_getNodeChildren(Ee){return this._getDirectChildren(Ee.data).pipe((0,U.T)(dt=>dt.reduce((nt,Ct)=>{const Mt=this._nodes.value.get(this._getExpansionKey(Ct));return Mt&&nt.push(Mt),nt},[])))}_sendKeydownToKeyManager(Ee){if(Ee.target===this._elementRef.nativeElement)this._keyManager.onKeydown(Ee);else{const dt=this._nodes.getValue();for(const[,nt]of dt)if(Ee.target===nt._elementRef.nativeElement){this._keyManager.onKeydown(Ee);break}}}_getDescendants(Ee){if(this.treeControl)return(0,c.of)(this.treeControl.getDescendants(Ee));if(this.levelAccessor){const dt=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,Ee,1/0);return(0,c.of)(dt)}if(this.childrenAccessor)return this._getAllChildrenRecursively(Ee).pipe(G((dt,nt)=>(dt.push(...nt),dt),[]));throw W()}_getAllChildrenRecursively(Ee){return this.childrenAccessor?(0,D.x)(this.childrenAccessor(Ee)).pipe((0,d.s)(1),(0,j.n)(dt=>{for(const nt of dt)this._parents.set(this._getExpansionKey(nt),Ee);return(0,c.of)(...dt).pipe((0,Q.H)(nt=>(0,g.x)((0,c.of)([nt]),this._getAllChildrenRecursively(nt))))})):(0,c.of)([])}_getExpansionKey(Ee){return this.expansionKey?.(Ee)??Ee}_getAriaSet(Ee){const dt=this._getExpansionKey(Ee),nt=this._parents.get(dt),Ct=nt?this._getExpansionKey(nt):null;return this._ariaSets.get(Ct)??[Ee]}_findParentForNode(Ee,dt,nt){if(!nt.length)return null;const Ct=this._levels.get(this._getExpansionKey(Ee))??0;for(let Mt=dt-1;Mt>=0;Mt--){const lt=nt[Mt];if((this._levels.get(this._getExpansionKey(lt))??0)<Ct)return lt}return null}_flattenNestedNodesWithExpansion(Ee,dt=0){const nt=this._getChildrenAccessor();return nt?(0,c.of)(...Ee).pipe((0,Q.H)(Ct=>{const Mt=this._getExpansionKey(Ct);this._parents.has(Mt)||this._parents.set(Mt,null),this._levels.set(Mt,dt);const lt=(0,D.x)(nt(Ct));return(0,g.x)((0,c.of)([Ct]),lt.pipe((0,d.s)(1),(0,M.M)(Pe=>{this._ariaSets.set(Mt,[...Pe??[]]);for(const Ht of Pe??[]){const ct=this._getExpansionKey(Ht);this._parents.set(ct,Ct),this._levels.set(ct,dt+1)}}),(0,j.n)(Pe=>Pe?this._flattenNestedNodesWithExpansion(Pe,dt+1).pipe((0,U.T)(Ht=>this.isExpanded(Ct)?Ht:[])):(0,c.of)([]))))}),G((Ct,Mt)=>(Ct.push(...Mt),Ct),[])):(0,c.of)([...Ee])}_computeRenderingData(Ee,dt){if(this.childrenAccessor&&"flat"===dt)return this._clearPreviousCache(),this._ariaSets.set(null,[...Ee]),this._flattenNestedNodesWithExpansion(Ee).pipe((0,U.T)(nt=>({renderNodes:nt,flattenedNodes:nt})));if(this.levelAccessor&&"nested"===dt){const nt=this.levelAccessor;return(0,c.of)(Ee.filter(Ct=>0===nt(Ct))).pipe((0,U.T)(Ct=>({renderNodes:Ct,flattenedNodes:Ee})),(0,M.M)(({flattenedNodes:Ct})=>{this._calculateParents(Ct)}))}return"flat"===dt?(0,c.of)({renderNodes:Ee,flattenedNodes:Ee}).pipe((0,M.M)(({flattenedNodes:nt})=>{this._calculateParents(nt)})):(this._clearPreviousCache(),this._ariaSets.set(null,[...Ee]),this._flattenNestedNodesWithExpansion(Ee).pipe((0,U.T)(nt=>({renderNodes:Ee,flattenedNodes:nt}))))}_updateCachedData(Ee){this._flattenedNodes.next(Ee)}_updateKeyManagerItems(Ee){this._keyManagerNodes.next(Ee)}_calculateParents(Ee){const dt=this._getLevelAccessor();if(dt){this._clearPreviousCache();for(let nt=0;nt<Ee.length;nt++){const Ct=Ee[nt],Mt=this._getExpansionKey(Ct);this._levels.set(Mt,dt(Ct));const lt=this._findParentForNode(Ct,nt,Ee);this._parents.set(Mt,lt);const Pe=lt?this._getExpansionKey(lt):null,Ht=this._ariaSets.get(Pe)??[];Ht.splice(nt,0,Ct),this._ariaSets.set(Pe,Ht)}}}_forEachExpansionKey(Ee){const dt=[],nt=[];this._nodes.value.forEach(Ct=>{dt.push(this._getExpansionKey(Ct.data)),nt.push(this._getDescendants(Ct.data))}),nt.length>0?(0,e.z)(nt).pipe((0,d.s)(1),(0,m.Q)(this._onDestroy)).subscribe(Ct=>{Ct.forEach(Mt=>Mt.forEach(lt=>dt.push(this._getExpansionKey(lt)))),Ee(dt)}):Ee(dt)}_clearPreviousCache(){this._parents.clear(),this._levels.clear(),this._ariaSets.clear()}static \u0275fac=function(dt){return new(dt||ve)};static \u0275cmp=ae.VBU({type:ve,selectors:[["cdk-tree"]],contentQueries:function(dt,nt,Ct){if(1&dt&&ae.wni(Ct,k,5),2&dt){let Mt;ae.mGM(Mt=ae.lsd())&&(nt._nodeDefs=Mt)}},viewQuery:function(dt,nt){if(1&dt&&ae.GBs(b,7),2&dt){let Ct;ae.mGM(Ct=ae.lsd())&&(nt._nodeOutlet=Ct.first)}},hostAttrs:["role","tree",1,"cdk-tree"],hostBindings:function(dt,nt){1&dt&&ae.bIt("keydown",function(Mt){return nt._sendKeydownToKeyManager(Mt)})},inputs:{dataSource:"dataSource",treeControl:"treeControl",levelAccessor:"levelAccessor",childrenAccessor:"childrenAccessor",trackBy:"trackBy",expansionKey:"expansionKey"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(dt,nt){1&dt&&ae.eu8(0,0)},dependencies:[b],encapsulation:2})}return ve})(),re=(()=>{class ve{_elementRef=(0,ue.WQX)(ae.aKT);_tree=(0,ue.WQX)(B);_tabindex=-1;_type="flat";get role(){return"treeitem"}set role(Ee){}get isExpandable(){return this._isExpandable()}set isExpandable(Ee){this._inputIsExpandable=Ee,(!this.data||this._isExpandable)&&this._inputIsExpandable&&(this._inputIsExpanded?this.expand():!1===this._inputIsExpanded&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(Ee){this._inputIsExpanded=Ee,Ee?this.expand():this.collapse()}isDisabled;typeaheadLabel;getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}activation=new ae.bkB;expandedChange=new ae.bkB;static mostRecentTreeNode=null;_destroyed=new p.B;_dataChanges=new p.B;_inputIsExpandable=!1;_inputIsExpanded=void 0;_shouldFocus=!0;_parentNodeAriaLevel;get data(){return this._data}set data(Ee){Ee!==this._data&&(this._data=Ee,this._dataChanges.next())}_data;get isLeafNode(){return void 0!==this._tree.treeControl?.isExpandable&&!this._tree.treeControl.isExpandable(this._data)||void 0===this._tree.treeControl?.isExpandable&&0===this._tree.treeControl?.getDescendants(this._data).length}get level(){return this._tree._getLevel(this._data)??this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}_changeDetectorRef=(0,ue.WQX)(oe.gRc);constructor(){ve.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=function pe(ve){let Oe=ve.parentElement;for(;Oe&&!be(Oe);)Oe=Oe.parentElement;return Oe?Oe.classList.contains("cdk-nested-tree-node")?(0,oe.Udg)(Oe.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe((0,U.T)(()=>this.isExpanded),(0,$.F)(),(0,m.Q)(this._destroyed)).pipe((0,m.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._tree._setNodeTypeIfUnset(this._type),this._tree._registerNode(this)}ngOnDestroy(){ve.mostRecentTreeNode===this&&(ve.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(Ee){this.expandedChange.emit(Ee)}static \u0275fac=function(dt){return new(dt||ve)};static \u0275dir=ae.FsC({type:ve,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(dt,nt){1&dt&&ae.bIt("click",function(){return nt._setActiveItem()})("focus",function(){return nt._focusItem()}),2&dt&&(ae.Avn("tabIndex",nt._tabindex),ae.BMQ("aria-expanded",nt._getAriaExpanded())("aria-level",nt.level+1)("aria-posinset",nt._getPositionInSet())("aria-setsize",nt._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",oe.L39],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",oe.L39],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"]})}return ve})();function be(ve){const Oe=ve.classList;return!(!Oe?.contains("cdk-nested-tree-node")&&!Oe?.contains("cdk-tree"))}let Be=(()=>{class ve extends re{_type="nested";_differs=(0,ue.WQX)(oe._q3);_dataDiffer;_children;nodeOutlet;constructor(){super()}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),this._tree._getDirectChildren(this.data).pipe((0,m.Q)(this._destroyed)).subscribe(Ee=>this.updateChildrenNodes(Ee)),this.nodeOutlet.changes.pipe((0,m.Q)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(Ee){const dt=this._getNodeOutlet();Ee&&(this._children=Ee),dt&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,dt.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const Ee=this._getNodeOutlet();Ee&&(Ee.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const Ee=this.nodeOutlet;return Ee&&Ee.find(dt=>!dt._node||dt._node===this)}static \u0275fac=function(dt){return new(dt||ve)};static \u0275dir=ae.FsC({type:ve,selectors:[["cdk-nested-tree-node"]],contentQueries:function(dt,nt,Ct){if(1&dt&&ae.wni(Ct,b,5),2&dt){let Mt;ae.mGM(Mt=ae.lsd())&&(nt.nodeOutlet=Mt)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],features:[ae.Jv_([{provide:re,useExisting:ve},{provide:h,useExisting:ve}]),ae.Vt3]})}return ve})();const _e=/([A-Za-z%]+)$/;let ye=(()=>{class ve{_treeNode=(0,ue.WQX)(re);_tree=(0,ue.WQX)(B);_element=(0,ue.WQX)(ae.aKT);_dir=(0,ue.WQX)(me.dS,{optional:!0});_currentPadding;_destroyed=new p.B;indentUnits="px";get level(){return this._level}set level(Ee){this._setLevelInput(Ee)}_level;get indent(){return this._indent}set indent(Ee){this._setIndentInput(Ee)}_indent=40;constructor(){this._setPadding(),this._dir?.change.pipe((0,m.Q)(this._destroyed)).subscribe(()=>this._setPadding(!0)),this._treeNode._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const Ee=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,dt=null==this._level?Ee:this._level;return"number"==typeof dt?`${dt*this._indent}${this.indentUnits}`:null}_setPadding(Ee=!1){const dt=this._paddingIndent();if(dt!==this._currentPadding||Ee){const nt=this._element.nativeElement,Ct=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",Mt="paddingLeft"===Ct?"paddingRight":"paddingLeft";nt.style[Ct]=dt||"",nt.style[Mt]="",this._currentPadding=dt}}_setLevelInput(Ee){this._level=isNaN(Ee)?null:Ee,this._setPadding()}_setIndentInput(Ee){let dt=Ee,nt="px";if("string"==typeof Ee){const Ct=Ee.split(_e);dt=Ct[0],nt=Ct[1]||nt}this.indentUnits=nt,this._indent=(0,oe.Udg)(dt),this._setPadding()}static \u0275fac=function(dt){return new(dt||ve)};static \u0275dir=ae.FsC({type:ve,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",oe.Udg],indent:[0,"cdkTreeNodePaddingIndent","indent"]}})}return ve})(),Le=(()=>{class ve{_tree=(0,ue.WQX)(B);_treeNode=(0,ue.WQX)(re);recursive=!1;constructor(){}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static \u0275fac=function(dt){return new(dt||ve)};static \u0275dir=ae.FsC({type:ve,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(dt,nt){1&dt&&ae.bIt("click",function(Mt){return nt._toggle(),Mt.stopPropagation()})("keydown.Enter",function(Mt){return nt._toggle(),Mt.preventDefault()})("keydown.Space",function(Mt){return nt._toggle(),Mt.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",oe.L39]}})}return ve})(),ge=(()=>{class ve{static \u0275fac=function(dt){return new(dt||ve)};static \u0275mod=ae.$C({type:ve});static \u0275inj=ue.G2t({})}return ve})()},72318:(Ae,ee,l)=>{"use strict";l.d(ee,{Wv:()=>M,w5:()=>j});var i=l(2615),t=l(73664),p=l(17705),S=l(71985),c=l(21413),e=l(70152),T=l(5964),g=l(96354),d=l(67847);let m=(()=>{class U{create(q){return typeof MutationObserver>"u"?null:new MutationObserver(q)}static \u0275fac=function(G){return new(G||U)};static \u0275prov=i.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),P=(()=>{class U{_mutationObserverFactory=(0,i.WQX)(m);_observedElements=new Map;_ngZone=(0,i.WQX)(t.SKi);constructor(){}ngOnDestroy(){this._observedElements.forEach((q,G)=>this._cleanupObserver(G))}observe(q){const G=(0,d.i8)(q);return new S.c(Q=>{const ae=this._observeElement(G).pipe((0,g.T)(ue=>ue.filter(oe=>!function w(U){if("characterData"===U.type&&U.target instanceof Comment)return!0;if("childList"===U.type){for(let K=0;K<U.addedNodes.length;K++)if(!(U.addedNodes[K]instanceof Comment))return!1;for(let K=0;K<U.removedNodes.length;K++)if(!(U.removedNodes[K]instanceof Comment))return!1;return!0}return!1}(oe))),(0,T.p)(ue=>!!ue.length)).subscribe(ue=>{this._ngZone.run(()=>{Q.next(ue)})});return()=>{ae.unsubscribe(),this._unobserveElement(G)}})}_observeElement(q){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(q))this._observedElements.get(q).count++;else{const G=new c.B,Q=this._mutationObserverFactory.create($=>G.next($));Q&&Q.observe(q,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(q,{observer:Q,stream:G,count:1})}return this._observedElements.get(q).stream})}_unobserveElement(q){this._observedElements.has(q)&&(this._observedElements.get(q).count--,this._observedElements.get(q).count||this._cleanupObserver(q))}_cleanupObserver(q){if(this._observedElements.has(q)){const{observer:G,stream:Q}=this._observedElements.get(q);G&&G.disconnect(),Q.complete(),this._observedElements.delete(q)}}static \u0275fac=function(G){return new(G||U)};static \u0275prov=i.jDH({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})(),M=(()=>{class U{_contentObserver=(0,i.WQX)(P);_elementRef=(0,i.WQX)(t.aKT);event=new t.bkB;get disabled(){return this._disabled}set disabled(q){this._disabled=q,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(q){this._debounce=(0,d.OE)(q),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const q=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?q.pipe((0,e.B)(this.debounce)):q).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(G){return new(G||U)};static \u0275dir=t.FsC({type:U,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",p.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return U})(),j=(()=>{class U{static \u0275fac=function(G){return new(G||U)};static \u0275mod=t.$C({type:U});static \u0275inj=i.G2t({providers:[m]})}return U})()},72576:(Ae,ee,l)=>{var i=l(27054).Buffer;function t(p,S,c){var T=p._cipher.encryptBlock(p._prev)[0]^S;return p._prev=i.concat([p._prev.slice(1),i.from([c?S:T])]),T}ee.encrypt=function(p,S,c){for(var e=S.length,T=i.allocUnsafe(e),g=-1;++g<e;)T[g]=t(p,S[g],c);return T}},72730:(Ae,ee,l)=>{"use strict";l.d(ee,{DW:()=>q,KT:()=>g,Ou:()=>M,b_:()=>c,gN:()=>j,jZ:()=>p,oR:()=>d,os:()=>K,p3:()=>S,rN:()=>U,ru:()=>T});var i=l(59640);const t=(0,i.UX)("ecl"),p=(0,i.Mz)(t,G=>({pageSettings:G.pageSettings,apiCallStatus:G.apisCallStatus.FetchPageSettings})),S=(0,i.Mz)(t,G=>G.information),c=(0,i.Mz)(t,G=>({information:G.information,apiCallStatus:G.apisCallStatus.FetchInfo})),T=((0,i.Mz)(t,G=>G.apisCallStatus.FetchInfo),(0,i.Mz)(t,G=>G.apisCallStatus)),g=(0,i.Mz)(t,G=>({payments:G.payments,apiCallStatus:G.apisCallStatus.FetchPayments})),d=(0,i.Mz)(t,G=>({fees:G.fees,apiCallStatus:G.apisCallStatus.FetchFees})),M=((0,i.Mz)(t,G=>({activeChannels:G.activeChannels,apiCallStatus:G.apisCallStatus.FetchChannels})),(0,i.Mz)(t,G=>({pendingChannels:G.pendingChannels,apiCallStatus:G.apisCallStatus.FetchChannels})),(0,i.Mz)(t,G=>({inactiveChannels:G.inactiveChannels,apiCallStatus:G.apisCallStatus.FetchChannels})),(0,i.Mz)(t,G=>({activeChannels:G.activeChannels,pendingChannels:G.pendingChannels,inactiveChannels:G.inactiveChannels,lightningBalance:G.lightningBalance,channelsStatus:G.channelsStatus,apiCallStatus:G.apisCallStatus.FetchChannels}))),j=(0,i.Mz)(t,G=>({transactions:G.transactions,apiCallStatus:G.apisCallStatus.FetchTransactions})),U=(0,i.Mz)(t,G=>({invoices:G.invoices,apiCallStatus:G.apisCallStatus.FetchInvoices})),K=(0,i.Mz)(t,G=>({peers:G.peers,apiCallStatus:G.apisCallStatus.FetchPeers})),q=(0,i.Mz)(t,G=>({onchainBalance:G.onchainBalance,apiCallStatus:G.apisCallStatus.FetchOnchainBalance}))},72836:Ae=>{Ae.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},73557:(Ae,ee,l)=>{"use strict";l.d(ee,{w:()=>S});var i=l(39974),t=l(54360),p=l(85343);function S(){return(0,i.N)((c,e)=>{c.subscribe((0,t._)(e,p.l))})}},73664:(Ae,ee,l)=>{"use strict";l.d(ee,{$C:()=>Of,$Ln:()=>dg,AVh:()=>qp,Ab1:()=>Vc,Agw:()=>Qn,Avn:()=>em,B1s:()=>mc,BIS:()=>Ca,BMQ:()=>dp,C4Q:()=>Dd,C5r:()=>f_,C6U:()=>m8,C7A:()=>O,Co$:()=>V1,DH7:()=>lm,DNE:()=>S3,DUP:()=>bc,DkB:()=>kp,Dyx:()=>bp,E5c:()=>h6,EFF:()=>k8,EJ8:()=>$0,FsC:()=>Pf,FuF:()=>Af,G5x:()=>l0,GBs:()=>u8,H1s:()=>mg,HbH:()=>e6,Hgh:()=>wp,JRh:()=>d6,Jt5:()=>Ip,Jv_:()=>Z8,KED:()=>Lv,LHq:()=>s4,Lme:()=>u6,NAR:()=>c8,NCX:()=>Td,NOj:()=>yc,NSC:()=>Qu,NYb:()=>N3,NyB:()=>p8,OA$:()=>k,OR8:()=>rd,Ocv:()=>qv,Ol2:()=>H1,PLl:()=>Pn,PYC:()=>hn,PYt:()=>z1,PeT:()=>T3,QTQ:()=>pf,Ql9:()=>Yv,R50:()=>m6,R7$:()=>S2,RPW:()=>To,RV6:()=>Fg,SKi:()=>Ha,SdG:()=>d8,SdI:()=>P_,SpI:()=>om,TFI:()=>z3,Ts$:()=>B_,UQu:()=>Kv,V5L:()=>A6,VBU:()=>g3,VeQ:()=>tr,VkB:()=>W8,Vt3:()=>v3,VwU:()=>Gp,VzW:()=>m3,WPN:()=>In,XpG:()=>o8,Xx1:()=>K,Y8G:()=>Cp,YEm:()=>Ui,Z7z:()=>yp,Zhj:()=>V6,_9s:()=>Tu,_9u:()=>Ii,_jY:()=>Cs,_qm:()=>Fn,_ys:()=>H2,a8H:()=>xc,aCM:()=>zs,aKT:()=>Ci,ai1:()=>X8,bIt:()=>Hp,bMT:()=>c_,bVm:()=>u2,bc$:()=>Un,bkB:()=>Sl,brH:()=>u_,c1b:()=>Fd,cDI:()=>v,cZr:()=>L6,cdK:()=>hg,cf$:()=>c0,czy:()=>s1,d80:()=>O_,dOL:()=>$m,e6s:()=>u7,eHC:()=>F1,eq3:()=>e_,eu8:()=>Sp,eux:()=>Z3,fX1:()=>Rg,gXe:()=>Bs,giA:()=>ug,gil:()=>Fl,hnC:()=>n3,i5U:()=>d_,iLQ:()=>qm,iWE:()=>El,j41:()=>Zf,jOp:()=>cp,k0s:()=>Jf,kBR:()=>Lp,kS0:()=>Ve,kdw:()=>G,lJ4:()=>x6,lJT:()=>ep,l_i:()=>t_,lsd:()=>f8,mGM:()=>h8,mNQ:()=>j8,mU9:()=>Df,mal:()=>d0,mxI:()=>p6,n$t:()=>fd,nI1:()=>l_,nI4:()=>_4,nM4:()=>Rm,nVh:()=>_p,npT:()=>Qa,nrm:()=>Ep,o8S:()=>B3,ozJ:()=>ie,p2i:()=>dd,phd:()=>n5,pl0:()=>a5,qex:()=>q3,rAh:()=>Rl,rOR:()=>zt,rXU:()=>lc,rj2:()=>$3,sFG:()=>W4,sMw:()=>i_,sZ2:()=>tn,sdS:()=>g8,sgu:()=>Uc,tSv:()=>ns,tvf:()=>Gs,uiO:()=>$,utN:()=>Bt,vDg:()=>$t,vxM:()=>kg,w6W:()=>Es,wEZ:()=>Wp,wni:()=>am,wr$:()=>Yt,xGo:()=>zn,xc7:()=>Jp,xe9:()=>k6,yLl:()=>Jm,y_5:()=>U,ypd:()=>pg,ziy:()=>V2,zoo:()=>U2});var i=l(10467),t=l(2615),p=l(48440),S=l(21413),c=l(18359),e=l(96354);function T(a){return{toString:a}.toString()}const g="__annotations__",d="__parameters__",w="__prop__metadata__";function m(a,s,u,C,R){return T(()=>{const X=P(s);function ne(...xe){if(this instanceof ne)return X.call(this,...xe),this;const Se=new ne(...xe);return function(xt){return R&&R(xt,...xe),(xt.hasOwnProperty(g)?xt[g]:Object.defineProperty(xt,g,{value:[]})[g]).push(Se),xt}}return u&&(ne.prototype=Object.create(u.prototype)),ne.prototype.ngMetadataName=a,ne.annotationCls=ne,ne})}function P(a){return function(...u){if(a){const C=a(...u);for(const R in C)this[R]=C[R]}}}function M(a,s,u){return T(()=>{const C=P(s);function R(...X){if(this instanceof R)return C.apply(this,X),this;const ne=new R(...X);return xe.annotation=ne,xe;function xe(Se,at,xt){const qt=Se.hasOwnProperty(d)?Se[d]:Object.defineProperty(Se,d,{value:[]})[d];for(;qt.length<=xt;)qt.push(null);return(qt[xt]=qt[xt]||[]).push(ne),Se}}return R.prototype.ngMetadataName=a,R.annotationCls=R,R})}const U=(0,t.z6V)(M("Inject",a=>({token:a})),-1),K=(0,t.z6V)(M("Optional"),8),q=(0,t.z6V)(M("Self"),2),G=(0,t.z6V)(M("SkipSelf"),4),Q=(0,t.z6V)(M("Host"),1);function $(a){const s=t.laP.ng;if(s&&s.\u0275compilerFacade)return s.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const ae={\u0275\u0275defineInjectable:t.jDH,\u0275\u0275defineInjector:t.G2t,\u0275\u0275inject:t.KVO,\u0275\u0275invalidFactoryDep:t.dmw,resolveForwardRef:t.nl4},ue=Function;function oe(a){return"function"==typeof a}const he=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,me=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Te=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,D=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class o{_reflect;constructor(s){this._reflect=s||t.laP.Reflect}factory(s){return(...u)=>new s(...u)}_zipTypesAndAnnotations(s,u){let C;C=(0,t.WfI)(typeof s>"u"?u.length:s.length);for(let R=0;R<C.length;R++)C[R]=typeof s>"u"?[]:s[R]&&s[R]!=Object?[s[R]]:[],u&&null!=u[R]&&(C[R]=C[R].concat(u[R]));return C}_ownParameters(s,u){if(function n(a){return he.test(a)||D.test(a)||me.test(a)&&!Te.test(a)}(s.toString()))return null;if(s.parameters&&s.parameters!==u.parameters)return s.parameters;const R=s.ctorParameters;if(R&&R!==u.ctorParameters){const xe="function"==typeof R?R():R,Se=xe.map(xt=>xt&&xt.type),at=xe.map(xt=>xt&&f(xt.decorators));return this._zipTypesAndAnnotations(Se,at)}const X=s.hasOwnProperty(d)&&s[d],ne=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",s);return ne||X?this._zipTypesAndAnnotations(ne,X):(0,t.WfI)(s.length)}parameters(s){if(!oe(s))return[];const u=h(s);let C=this._ownParameters(s,u);return!C&&u!==Object&&(C=this.parameters(u)),C||[]}_ownAnnotations(s,u){if(s.annotations&&s.annotations!==u.annotations){let C=s.annotations;return"function"==typeof C&&C.annotations&&(C=C.annotations),C}return s.decorators&&s.decorators!==u.decorators?f(s.decorators):s.hasOwnProperty(g)?s[g]:null}annotations(s){if(!oe(s))return[];const u=h(s),C=this._ownAnnotations(s,u)||[];return(u!==Object?this.annotations(u):[]).concat(C)}_ownPropMetadata(s,u){if(s.propMetadata&&s.propMetadata!==u.propMetadata){let C=s.propMetadata;return"function"==typeof C&&C.propMetadata&&(C=C.propMetadata),C}if(s.propDecorators&&s.propDecorators!==u.propDecorators){const C=s.propDecorators,R={};return Object.keys(C).forEach(X=>{R[X]=f(C[X])}),R}return s.hasOwnProperty(w)?s[w]:null}propMetadata(s){if(!oe(s))return{};const u=h(s),C={};if(u!==Object){const X=this.propMetadata(u);Object.keys(X).forEach(ne=>{C[ne]=X[ne]})}const R=this._ownPropMetadata(s,u);return R&&Object.keys(R).forEach(X=>{const ne=[];C.hasOwnProperty(X)&&ne.push(...C[X]),ne.push(...R[X]),C[X]=ne}),C}ownPropMetadata(s){return oe(s)&&this._ownPropMetadata(s,h(s))||{}}hasLifecycleHook(s,u){return s instanceof ue&&u in s.prototype}}function f(a){return a?a.map(s=>new(0,s.type.annotationCls)(...s.args?s.args:[])):[]}function h(a){const s=a.prototype?Object.getPrototypeOf(a.prototype):null;return(s?s.constructor:null)||Object}class b{previousValue;currentValue;firstChange;constructor(s,u,C){this.previousValue=s,this.currentValue=u,this.firstChange=C}isFirstChange(){return this.firstChange}}function A(a,s,u,C){null!==s?s.applyValueToInputSignal(s,C):a[u]=C}const k=(()=>{const a=()=>x;return a.ngInherit=!0,a})();function x(a){return a.type.prototype.ngOnChanges&&(a.setInput=_),r}function r(){const a=I(this),s=a?.current;if(s){const u=a.previous;if(u===t.MZA)a.previous=s;else for(let C in s)u[C]=s[C];a.current=null,this.ngOnChanges(s)}}function _(a,s,u,C,R){const X=this.declaredInputs[C],ne=I(a)||function B(a,s){return a[W]=s}(a,{previous:t.MZA,current:null}),xe=ne.current||(ne.current={}),Se=ne.previous,at=Se[X];xe[X]=new b(at&&at.currentValue,u,Se===t.MZA),A(a,s,R,u)}const W="__ngSimpleChanges__";function I(a){return a[W]||null}const re=[],_e=function(a,s=null,u){for(let C=0;C<re.length;C++)(0,re[C])(a,s,u)};function Le(a,s){for(let u=s.directiveStart,C=s.directiveEnd;u<C;u++){const X=a.data[u].type.prototype,{ngAfterContentInit:ne,ngAfterContentChecked:xe,ngAfterViewInit:Se,ngAfterViewChecked:at,ngOnDestroy:xt}=X;ne&&(a.contentHooks??=[]).push(-u,ne),xe&&((a.contentHooks??=[]).push(u,xe),(a.contentCheckHooks??=[]).push(u,xe)),Se&&(a.viewHooks??=[]).push(-u,Se),at&&((a.viewHooks??=[]).push(u,at),(a.viewCheckHooks??=[]).push(u,at)),null!=xt&&(a.destroyHooks??=[]).push(u,xt)}}function Ke(a,s,u){Oe(a,s,3,u)}function ge(a,s,u,C){(3&a[t.Wg1])===u&&Oe(a,s,u,C)}function ve(a,s){let u=a[t.Wg1];(3&u)===s&&(u&=16383,u+=1,a[t.Wg1]=u)}function Oe(a,s,u,C){const X=C??-1,ne=s.length-1;let xe=0;for(let Se=void 0!==C?65535&a[t.wVl]:0;Se<ne;Se++)if("number"==typeof s[Se+1]){if(xe=s[Se],null!=C&&xe>=C)break}else s[Se]<0&&(a[t.wVl]+=65536),(xe<X||-1==X)&&(dt(a,u,s,Se),a[t.wVl]=(4294901760&a[t.wVl])+Se+2),Se++}function Ee(a,s){_e(4,a,s);const u=(0,p.Ht)(null);try{s.call(a)}finally{(0,p.Ht)(u),_e(5,a,s)}}function dt(a,s,u,C){const R=u[C]<0,X=u[C+1],xe=a[R?-u[C]:u[C]];R?a[t.Wg1]>>14<a[t.wVl]>>16&&(3&a[t.Wg1])===s&&(a[t.Wg1]+=16384,Ee(xe,X)):Ee(xe,X)}const nt=-1;class Ct{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(s,u,C,R){this.factory=s,this.name=R,this.canSeeViewProviders=u,this.injectImpl=C}}function lt(a){return null!=a&&"object"==typeof a&&(null===a.insertBeforeIndex||"number"==typeof a.insertBeforeIndex||Array.isArray(a.insertBeforeIndex))}function J(a){return 3===a||4===a||6===a}function fe(a){return 64===a.charCodeAt(0)}function Ie(a,s){if(null!==s&&0!==s.length)if(null===a||0===a.length)a=s.slice();else{let u=-1;for(let C=0;C<s.length;C++){const R=s[C];"number"==typeof R?u=R:0===u||ht(a,u,R,0,-1===u||2===u?s[++C]:null)}}return a}function ht(a,s,u,C,R){let X=0,ne=a.length;if(-1===s)ne=-1;else for(;X<a.length;){const xe=a[X++];if("number"==typeof xe){if(xe===s){ne=-1;break}if(xe>s){ne=X-1;break}}}for(;X<a.length;){const xe=a[X];if("number"==typeof xe)break;if(xe===u)return void(null!==R&&(a[X+1]=R));X++,null!==R&&X++}-1!==ne&&(a.splice(ne,0,s),X=ne+1),a.splice(X++,0,u),null!==R&&a.splice(X++,0,R)}function li(a){return a!==nt}function Qt(a){return 32767&a}function kt(a,s){let u=function di(a){return a>>16}(a),C=s;for(;u>0;)C=C[t.X5O],u--;return C}let Rt=!0;function le(a){const s=Rt;return Rt=a,s}const ce=255,se=5;let ke=0;const Ue={};function Kt(a,s){const u=Vt(a,s);if(-1!==u)return u;const C=s[t.eDl];C.firstCreatePass&&(a.injectorIndex=s.length,yt(C.data,a),yt(s,null),yt(C.blueprint,null));const R=Zt(a,s),X=a.injectorIndex;if(li(R)){const ne=Qt(R),xe=kt(R,s),Se=xe[t.eDl].data;for(let at=0;at<8;at++)s[X+at]=xe[ne+at]|Se[ne+at]}return s[X+8]=R,X}function yt(a,s){a.push(0,0,0,0,0,0,0,0,s)}function Vt(a,s){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===s[a.injectorIndex+8]?-1:a.injectorIndex}function Zt(a,s){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;let u=0,C=null,R=s;for(;null!==R;){if(C=Ze(R),null===C)return nt;if(u++,R=R[t.X5O],-1!==C.injectorIndex)return C.injectorIndex|u<<16}return nt}function ti(a,s,u){!function Ne(a,s,u){let C;"string"==typeof u?C=u.charCodeAt(0)||0:u.hasOwnProperty(t.p9y)&&(C=u[t.p9y]),null==C&&(C=u[t.p9y]=ke++);const R=C&ce;s.data[a+(R>>se)]|=1<<R}(a,s,u)}function Nt(a,s,u){if(8&u||void 0!==a)return a;(0,t.$Hz)(s,"NodeInjector")}function Et(a,s,u,C){if(8&u&&void 0===C&&(C=null),!(3&u)){const R=a[t.YEL],X=(0,t.a2B)(void 0);try{return R?R.get(s,C,8&u):(0,t.MzJ)(s,C,8&u)}finally{(0,t.a2B)(X)}}return Nt(C,s,u)}function Jt(a,s,u,C=0,R){if(null!==a){if(2048&s[t.Wg1]&&!(2&C)){const ne=function Tt(a,s,u,C,R){let X=a,ne=s;for(;null!==X&&null!==ne&&2048&ne[t.Wg1]&&!(0,t.EFk)(ne);){const xe=qe(X,ne,u,2|C,Ue);if(xe!==Ue)return xe;let Se=X.parent;if(!Se){const at=ne[t.oMQ];if(at){const xt=at.get(u,Ue,C);if(xt!==Ue)return xt}Se=Ze(ne),ne=ne[t.X5O]}X=Se}return R}(a,s,u,C,Ue);if(ne!==Ue)return ne}const X=qe(a,s,u,C,Ue);if(X!==Ue)return X}return Et(s,u,C,R)}function qe(a,s,u,C,R){const X=function ci(a){if("string"==typeof a)return a.charCodeAt(0)||0;const s=a.hasOwnProperty(t.p9y)?a[t.p9y]:void 0;return"number"==typeof s?s>=0?s&ce:dn:s}(u);if("function"==typeof X){if(!(0,t.ihb)(s,a,C))return 1&C?Nt(R,u,C):Et(s,u,C,R);try{let ne;if(ne=X(C),null!=ne||8&C)return ne;(0,t.$Hz)(u)}finally{(0,t.niQ)()}}else if("number"==typeof X){let ne=null,xe=Vt(a,s),Se=nt,at=1&C?s[t.b5C][t.qlT]:null;for((-1===xe||4&C)&&(Se=-1===xe?Zt(a,s):s[xe+8],Se!==nt&&oi(C,!1)?(ne=s[t.eDl],xe=Qt(Se),s=kt(Se,s)):xe=-1);-1!==xe;){const xt=s[t.eDl];if(Hi(X,xe,xt.data)){const qt=$e(xe,s,u,ne,C,at);if(qt!==Ue)return qt}Se=s[xe+8],Se!==nt&&oi(C,s[t.eDl].data[xe+8]===at)&&Hi(X,xe,s)?(ne=xt,xe=Qt(Se),s=kt(Se,s)):xe=-1}}return R}function $e(a,s,u,C,R,X){const ne=s[t.eDl],xe=ne.data[a+8],xt=tt(xe,ne,u,null==C?(0,t.Qs1)(xe)&&Rt:C!=ne&&!!(3&xe.type),1&R&&X===xe);return null!==xt?ei(s,ne,xt,xe,R):Ue}function tt(a,s,u,C,R){const X=a.providerIndexes,ne=s.data,xe=1048575&X,Se=a.directiveStart,xt=X>>20,yi=R?xe+xt:a.directiveEnd;for(let bi=C?xe:xe+xt;bi<yi;bi++){const Xi=ne[bi];if(bi<Se&&u===Xi||bi>=Se&&Xi.type===u)return bi}if(R){const bi=ne[Se];if(bi&&(0,t.JlV)(bi)&&bi.type===u)return Se}return null}function ei(a,s,u,C,R){let X=a[u];const ne=s.data;if(X instanceof Ct){const xe=X;if(xe.resolving){const bi=(0,t.PP7)(ne[u]);throw(0,t.PQT)(bi)}const Se=le(xe.canSeeViewProviders);xe.resolving=!0;const qt=xe.injectImpl?(0,t.a2B)(xe.injectImpl):null;(0,t.ihb)(a,C,0);try{X=a[u]=xe.factory(void 0,R,ne,a,C),s.firstCreatePass&&u>=C.directiveStart&&function ye(a,s,u){const{ngOnChanges:C,ngOnInit:R,ngDoCheck:X}=s.type.prototype;if(C){const ne=x(s);(u.preOrderHooks??=[]).push(a,ne),(u.preOrderCheckHooks??=[]).push(a,ne)}R&&(u.preOrderHooks??=[]).push(0-a,R),X&&((u.preOrderHooks??=[]).push(a,X),(u.preOrderCheckHooks??=[]).push(a,X))}(u,ne[u],s)}finally{null!==qt&&(0,t.a2B)(qt),le(Se),xe.resolving=!1,(0,t.niQ)()}}return X}function Hi(a,s,u){return!!(u[s+(a>>se)]&1<<a)}function oi(a,s){return!(2&a||1&a&&s)}class nn{_tNode;_lView;constructor(s,u){this._tNode=s,this._lView=u}get(s,u,C){return Jt(this._tNode,this._lView,s,(0,t.hjC)(C),u)}}function dn(){return new nn((0,t.Mx4)(),(0,t.OAn)())}function zn(a){return T(()=>{const s=a.prototype.constructor,u=s[t.zSs]||It(s),C=Object.prototype;let R=Object.getPrototypeOf(a.prototype).constructor;for(;R&&R!==C;){const X=R[t.zSs]||It(R);if(X&&X!==u)return X;R=Object.getPrototypeOf(R)}return X=>new X})}function It(a){return(0,t.Jzi)(a)?()=>{const s=It((0,t.nl4)(a));return s&&s()}:(0,t.wGu)(a)}function Ze(a){const s=a[t.eDl],u=s.type;return 2===u?s.declTNode:1===u?a[t.qlT]:null}function Ve(a){return function Ye(a,s){if("class"===s)return a.classes;if("style"===s)return a.styles;const u=a.attrs;if(u){const C=u.length;let R=0;for(;R<C;){const X=u[R];if(J(X))break;if(0===X)R+=2;else if("number"==typeof X)for(R++;R<C&&"string"==typeof u[R];)R++;else{if(X===s)return u[R+1];R+=2}}}return null}((0,t.Mx4)(),a)}const Fe=M("Attribute",a=>({attributeName:a,__NG_ELEMENT_ID__:()=>Ve(a)}));let it=null;function ut(a){return jt(function bt(){return it=it||new o}().parameters(a))}function jt(a){return a.map(s=>function ai(a){const s={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(a)&&a.length>0)for(let u=0;u<a.length;u++){const C=a[u];if(void 0===C)continue;const R=Object.getPrototypeOf(C);if(C instanceof K||"Optional"===R.ngMetadataName)s.optional=!0;else if(C instanceof G||"SkipSelf"===R.ngMetadataName)s.skipSelf=!0;else if(C instanceof q||"Self"===R.ngMetadataName)s.self=!0;else if(C instanceof Q||"Host"===R.ngMetadataName)s.host=!0;else if(C instanceof U)s.token=C.token;else if(C instanceof Fe){if(void 0===C.attributeName)throw new t.buA(204,!1);s.attribute=C.attributeName}else s.token=C}else s.token=void 0===a||Array.isArray(a)&&0===a.length?null:a;return s}(s))}const ki=(0,t.kLh)({provide:String,useValue:t.kLh});function Ki(a){return void 0!==a.useClass}function Dn(a){return void 0!==a.useFactory}const Fn=m("Injectable",void 0,void 0,0,(a,s)=>function pi(a,s){let u=null,C=null;a.hasOwnProperty(t.yAH)||Object.defineProperty(a,t.yAH,{get:()=>(null===u&&(u=$().compileInjectable(ae,`ng:///${a.name}/\u0275prov.js`,function An(a,s){const u=s||{providedIn:null},C={name:a.name,type:a,typeArgumentCount:0,providedIn:u.providedIn};return(Ki(u)||Dn(u))&&void 0!==u.deps&&(C.deps=jt(u.deps)),Ki(u)?C.useClass=u.useClass:function Ji(a){return ki in a}(u)?C.useValue=u.useValue:Dn(u)?C.useFactory=u.useFactory:function En(a){return void 0!==a.useExisting}(u)&&(C.useExisting=u.useExisting),C}(a,s))),u)}),a.hasOwnProperty(t.zSs)||Object.defineProperty(a,t.zSs,{get:()=>{if(null===C){const R=$();C=R.compileFactory(ae,`ng:///${a.name}/\u0275fac.js`,{name:a.name,type:a,typeArgumentCount:0,deps:ut(a),target:R.FactoryTarget.Injectable})}return C},configurable:!0})}(a,s));function xi(){return Gi((0,t.Mx4)(),(0,t.OAn)())}function Gi(a,s){return new Ci((0,t.d31)(a,s))}let Ci=(()=>class a{nativeElement;constructor(u){this.nativeElement=u}static __NG_ELEMENT_ID__=xi})();function Ai(a){return a instanceof Ci?a.nativeElement:a}function Yi(){return this._results[Symbol.iterator]()}class zt{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new S.B}constructor(s=!1){this._emitDistinctChangesOnly=s}get(s){return this._results[s]}map(s){return this._results.map(s)}filter(s){return this._results.filter(s)}find(s){return this._results.find(s)}reduce(s,u){return this._results.reduce(s,u)}forEach(s){this._results.forEach(s)}some(s){return this._results.some(s)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(s,u){this.dirty=!1;const C=(0,t.Bqz)(s);(this._changesDetected=!(0,t.ng7)(this._results,C,u))&&(this._results=C,this.length=C.length,this.last=C[this.length-1],this.first=C[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(s){this._onDirty=s}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Yi}function ni(a){return!(128&~a.flags)}var ca=function(a){return a[a.OnPush=0]="OnPush",a[a.Default=1]="Default",a}(ca||{});const an=new Map;let mn=0;function Mi(a){an.delete(a[t.ID])}const Ft="__ngContext__";function gi(a,s){(0,t.q$2)(s)?(a[Ft]=s[t.ID],function mr(a){an.set(a[t.ID],a)}(s)):a[Ft]=s}function Ta(a){return ja(a[t.EJG])}function wr(a){return ja(a[t.K29])}function ja(a){for(;null!==a&&!(0,t.A0l)(a);)a=a[t.K29];return a}let ii;function Ii(a){ii=a}function Ui(){if(void 0!==ii)return ii;if(typeof document<"u")return document;throw new t.buA(210,!1)}const tn=new t.nKC("",{providedIn:"root",factory:()=>yn}),yn="ng",Pn=new t.nKC(""),Qn=new t.nKC("",{providedIn:"platform",factory:()=>"unknown"}),Un=new t.nKC(""),Ca=new t.nKC("",{providedIn:"root",factory:()=>Ui().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Aa={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},tr=new t.nKC("",{providedIn:"root",factory:()=>Aa});function Xa(){const a=new za;return a.store=function vr(a,s){const u=a.getElementById(s+"-state");if(u?.textContent)try{return JSON.parse(u.textContent)}catch(C){console.warn("Exception while restoring TransferState for app "+s,C)}return{}}(Ui(),(0,t.WQX)(tn)),a}let za=(()=>{class a{static \u0275prov=(0,t.jDH)({token:a,providedIn:"root",factory:Xa});store={};onSerializeCallbacks={};get(u,C){return void 0!==this.store[u]?this.store[u]:C}set(u,C){this.store[u]=C}remove(u){delete this.store[u]}hasKey(u){return this.store.hasOwnProperty(u)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(u,C){this.onSerializeCallbacks[u]=C}toJson(){for(const u in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(u))try{this.store[u]=this.onSerializeCallbacks[u]()}catch(C){console.warn("Exception in onSerialize callback: ",C)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return a})();const Oa="r",Li="di",mi=new t.nKC("",{providedIn:"root",factory:()=>!1}),Ts=new t.nKC(""),Gs=new t.nKC(""),Oo={passive:!0,capture:!0},Ds=new WeakMap,ro=new WeakMap,As=new WeakMap,Os=["click","keydown"],Po=["mouseenter","mouseover","focusin"];let Ps=null,vo=0;class Sr{callbacks=new Set;listener=()=>{for(const s of this.callbacks)s()}}function Ua(a,s){let u=ro.get(a);if(!u){u=new Sr,ro.set(a,u);for(const C of Os)a.addEventListener(C,u.listener,Oo)}return u.callbacks.add(s),()=>{const{callbacks:C,listener:R}=u;if(C.delete(s),0===C.size){ro.delete(a);for(const X of Os)a.removeEventListener(X,R,Oo)}}}function qi(a,s){let u=Ds.get(a);if(!u){u=new Sr,Ds.set(a,u);for(const C of Po)a.addEventListener(C,u.listener,Oo)}return u.callbacks.add(s),()=>{const{callbacks:C,listener:R}=u;if(C.delete(s),0===C.size){for(const X of Po)a.removeEventListener(X,R,Oo);Ds.delete(a)}}}let qo=(a,s,u,C)=>{};const Rr=new t.nKC("");function fl(a){return!(32&~a.flags)}let Bo=()=>null;function ml(a,s,u=!1){return Bo(a,s,u)}function pl(a){let s=a._lView;return 2===s[t.eDl].type?null:((0,t.EFk)(s)&&(s=s[t.Yw1]),s)}function Ho(a){return a.get(Ts,!1,{optional:!0})}function Kl(a,s){const u=a.contentQueries;if(null!==u){const C=(0,p.Ht)(null);try{for(let R=0;R<u.length;R+=2){const ne=u[R+1];if(-1!==ne){const xe=a.data[ne];(0,t.GA0)(u[R]),xe.contentQueries(2,s[ne],ne)}}}finally{(0,p.Ht)(C)}}}function Go(a,s,u){(0,t.GA0)(0);const C=(0,p.Ht)(null);try{s(a,u)}finally{(0,p.Ht)(C)}}function xl(a,s,u){if((0,t.srX)(s)){const C=(0,p.Ht)(null);try{const X=s.directiveEnd;for(let ne=s.directiveStart;ne<X;ne++){const xe=a.data[ne];xe.contentQueries&&xe.contentQueries(1,u[ne],ne)}}finally{(0,p.Ht)(C)}}}var Bs=function(a){return a[a.Emulated=0]="Emulated",a[a.None=2]="None",a[a.ShadowDom=3]="ShadowDom",a}(Bs||{});let Mo,il;function tl(){if(void 0===Mo&&(Mo=null,t.laP.trustedTypes))try{Mo=t.laP.trustedTypes.createPolicy("angular",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch{}return Mo}function Eo(a){return tl()?.createHTML(a)||a}function nl(){if(void 0===il&&(il=null,t.laP.trustedTypes))try{il=t.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:a=>a,createScript:a=>a,createScriptURL:a=>a})}catch{}return il}function Cl(a){return nl()?.createHTML(a)||a}function ho(a){return nl()?.createScript(a)||a}function al(a){return nl()?.createScriptURL(a)||a}class wo{changingThisBreaksApplicationSecurity;constructor(s){this.changingThisBreaksApplicationSecurity=s}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${t.ok8})`}}class Vr extends wo{getTypeName(){return"HTML"}}class Zr extends wo{getTypeName(){return"Style"}}class hc extends wo{getTypeName(){return"Script"}}class fc extends wo{getTypeName(){return"URL"}}class Ml extends wo{getTypeName(){return"ResourceURL"}}function zs(a){return a instanceof wo?a.changingThisBreaksApplicationSecurity:a}function El(a,s){const u=function So(a){return a instanceof wo&&a.getTypeName()||null}(a);if(null!=u&&u!==s){if("ResourceURL"===u&&"URL"===s)return!0;throw new Error(`Required a safe ${s}, got a ${u} (see ${t.ok8})`)}return u===s}function hn(a){return new Vr(a)}function Rl(a){return new Zr(a)}function dd(a){return new hc(a)}function mc(a){return new fc(a)}function To(a){return new Ml(a)}function Ol(a){const s=new Pl(a);return function Yl(){try{return!!(new window.DOMParser).parseFromString(Eo(""),"text/html")}catch{return!1}}()?new pc(s):s}class pc{inertDocumentHelper;constructor(s){this.inertDocumentHelper=s}getInertBodyElement(s){s="<body><remove></remove>"+s;try{const u=(new window.DOMParser).parseFromString(Eo(s),"text/html").body;return null===u?this.inertDocumentHelper.getInertBodyElement(s):(u.firstChild?.remove(),u)}catch{return null}}}class Pl{defaultDoc;inertDocument;constructor(s){this.defaultDoc=s,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(s){const u=this.inertDocument.createElement("template");return u.innerHTML=Eo(s),u}}const Ql=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Fl(a){return(a=String(a)).match(Ql)?a:"unsafe:"+a}function Zs(a){const s={};for(const u of a.split(","))s[u]=!0;return s}function wl(...a){const s={};for(const u of a)for(const C in u)u.hasOwnProperty(C)&&(s[C]=!0);return s}const ud=Zs("area,br,col,hr,img,wbr"),gc=Zs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rl=Zs("rp,rt"),Va=wl(ud,wl(gc,Zs("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")),wl(rl,Zs("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")),wl(rl,gc)),Tr=Zs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dr=wl(Tr,Zs("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"),Zs("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")),$l=Zs("script,style,template");class _c{sanitizedSomething=!1;buf=[];sanitizeChildren(s){let u=s.firstChild,C=!0,R=[];for(;u;)if(u.nodeType===Node.ELEMENT_NODE?C=this.startElement(u):u.nodeType===Node.TEXT_NODE?this.chars(u.nodeValue):this.sanitizedSomething=!0,C&&u.firstChild)R.push(u),u=Nn(u);else for(;u;){u.nodeType===Node.ELEMENT_NODE&&this.endElement(u);let X=is(u);if(X){u=X;break}u=R.pop()}return this.buf.join("")}startElement(s){const u=ir(s).toLowerCase();if(!Va.hasOwnProperty(u))return this.sanitizedSomething=!0,!$l.hasOwnProperty(u);this.buf.push("<"),this.buf.push(u);const C=s.attributes;for(let R=0;R<C.length;R++){const X=C.item(R),ne=X.name,xe=ne.toLowerCase();if(!Dr.hasOwnProperty(xe)){this.sanitizedSomething=!0;continue}let Se=X.value;Tr[xe]&&(Se=Fl(Se)),this.buf.push(" ",ne,'="',De(Se),'"')}return this.buf.push(">"),!0}endElement(s){const u=ir(s).toLowerCase();Va.hasOwnProperty(u)&&!ud.hasOwnProperty(u)&&(this.buf.push("</"),this.buf.push(u),this.buf.push(">"))}chars(s){this.buf.push(De(s))}}function is(a){const s=a.nextSibling;if(s&&a!==s.previousSibling)throw cn(s);return s}function Nn(a){const s=a.firstChild;if(s&&function Do(a,s){return(a.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(a,s))throw cn(s);return s}function ir(a){const s=a.nodeName;return"string"==typeof s?s:"FORM"}function cn(a){return new Error(`Failed to sanitize html because the element is clobbered: ${a.outerHTML}`)}const Hr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ra=/([^\#-~ |!])/g;function De(a){return a.replace(/&/g,"&amp;").replace(Hr,function(s){return"&#"+(1024*(s.charCodeAt(0)-55296)+(s.charCodeAt(1)-56320)+65536)+";"}).replace(ra,function(s){return"&#"+s.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let pt;function Yt(a,s){let u=null;try{pt=pt||Ol(a);let C=s?String(s):"";u=pt.getInertBodyElement(C);let R=5,X=C;do{if(0===R)throw new Error("Failed to sanitize html because the input is unstable");R--,C=X,X=u.innerHTML,u=pt.getInertBodyElement(C)}while(C!==X);return Eo((new _c).sanitizeChildren(Pi(u)||u))}finally{if(u){const C=Pi(u)||u;for(;C.firstChild;)C.firstChild.remove()}}}function Pi(a){return"content"in a&&function rn(a){return a.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===a.nodeName}(a)?a.content:null}var In=function(a){return a[a.NONE=0]="NONE",a[a.HTML=1]="HTML",a[a.STYLE=2]="STYLE",a[a.SCRIPT=3]="SCRIPT",a[a.URL=4]="URL",a[a.RESOURCE_URL=5]="RESOURCE_URL",a}(In||{});function Qa(a){const s=Nl();return s?Cl(s.sanitize(In.HTML,a)||""):El(a,"HTML")?Cl(zs(a)):Yt(Ui(),(0,t.eFE)(a))}function $a(a){const s=Nl();return s?s.sanitize(In.URL,a)||"":El(a,"URL")?zs(a):Fl((0,t.eFE)(a))}function Za(a){const s=Nl();if(s)return al(s.sanitize(In.RESOURCE_URL,a)||"");if(El(a,"ResourceURL"))return al(zs(a));throw new t.buA(904,!1)}function fd(a,s,u){return function Xo(a,s){return"src"===s&&("embed"===a||"frame"===a||"iframe"===a||"media"===a||"script"===a)||"href"===s&&("base"===a||"link"===a)?Za:$a}(s,u)(a)}function Nl(){const a=(0,t.OAn)();return a&&a[t.M0L].sanitizer}const _2=/^>|^->|<!--|-->|--!>|<!-$/g,Jd=/(<|>)/g;function ns(a){return a.ownerDocument.defaultView}function ps(a){return a instanceof Function?a():a}function yc(a){if(!(0,t.xUg)(a))throw new t.buA(906,`The ${(0,t.PP7)(a)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function M2(a,s,u){let C=a.length;for(;;){const R=a.indexOf(s,u);if(-1===R)return R;if(0===R||a.charCodeAt(R-1)<=32){const X=s.length;if(R+X===C||a.charCodeAt(R+X)<=32)return R}u=R+1}}const $1="ng-template";function p4(a,s,u,C){let R=0;if(C){for(;R<s.length&&"string"==typeof s[R];R+=2)if("class"===s[R]&&-1!==M2(s[R+1].toLowerCase(),u,0))return!0}else if(Z1(a))return!1;if(R=s.indexOf(1,R),R>-1){let X;for(;++R<s.length&&"string"==typeof(X=s[R]);)if(X.toLowerCase()===u)return!0}return!1}function Z1(a){return 4===a.type&&a.value!==$1}function Ju(a,s,u){return s===(4!==a.type||u?a.value:$1)}function J1(a,s,u){let C=4;const R=a.attrs,X=null!==R?function Jr(a){for(let s=0;s<a.length;s++)if(J(a[s]))return s;return a.length}(R):0;let ne=!1;for(let xe=0;xe<s.length;xe++){const Se=s[xe];if("number"!=typeof Se){if(!ne)if(4&C){if(C=2|1&C,""!==Se&&!Ju(a,Se,u)||""===Se&&1===s.length){if(Ao(C))return!1;ne=!0}}else if(8&C){if(null===R||!p4(a,R,Se,u)){if(Ao(C))return!1;ne=!0}}else{const at=s[++xe],xt=md(Se,R,Z1(a),u);if(-1===xt){if(Ao(C))return!1;ne=!0;continue}if(""!==at){let qt;if(qt=xt>X?"":R[xt+1].toLowerCase(),2&C&&at!==qt){if(Ao(C))return!1;ne=!0}}}}else{if(!ne&&!Ao(C)&&!Ao(Se))return!1;if(ne&&Ao(Se))continue;ne=!1,C=Se|1&C}}return Ao(C)||ne}function Ao(a){return!(1&a)}function md(a,s,u,C){if(null===s)return-1;let R=0;if(C||!u){let X=!1;for(;R<s.length;){const ne=s[R];if(ne===a)return R;if(3===ne||6===ne)X=!0;else{if(1===ne||2===ne){let xe=s[++R];for(;"string"==typeof xe;)xe=s[++R];continue}if(4===ne)break;if(0===ne){R+=4;continue}}R+=X?1:2}return-1}return function Lo(a,s){let u=a.indexOf(4);if(u>-1)for(u++;u<a.length;){const C=a[u];if("number"==typeof C)return-1;if(C===s)return u;u++}return-1}(s,a)}function qs(a,s,u=!1){for(let C=0;C<s.length;C++)if(J1(a,s[C],u))return!0;return!1}function pd(a,s){e:for(let u=0;u<s.length;u++){const C=s[u];if(a.length===C.length){for(let R=0;R<a.length;R++)if(a[R]!==C[R])continue e;return!0}}return!1}function Na(a,s){return a?":not("+s.trim()+")":s}function qu(a){let s=a[0],u=1,C=2,R="",X=!1;for(;u<a.length;){let ne=a[u];if("string"==typeof ne)if(2&C){const xe=a[++u];R+="["+ne+(xe.length>0?'="'+xe+'"':"")+"]"}else 8&C?R+="."+ne:4&C&&(R+=" "+ne);else""!==R&&!Ao(ne)&&(s+=Na(X,R),R=""),C=ne,X=X||!Ao(C);u++}return""!==R&&(s+=Na(X,R)),s}const qa={};function q1(a,s){return a.createText(s)}function E2(a,s,u){a.setValue(s,u)}function e0(a,s){return a.createComment(function sl(a){return a.replace(_2,s=>s.replace(Jd,"\u200b$1\u200b"))}(s))}function e1(a,s,u){return a.createElement(s,u)}function zl(a,s,u,C,R){a.insertBefore(s,u,C,R)}function _d(a,s,u){a.appendChild(s,u)}function Ir(a,s,u,C,R){null!==C?zl(a,s,u,C,R):_d(a,s,u)}function nr(a,s,u,C){a.removeChild(null,s,u,C)}function tc(a,s,u){const{mergedAttrs:C,classes:R,styles:X}=u;null!==C&&function Z(a,s,u){let C=0;for(;C<u.length;){const R=u[C];if("number"==typeof R){if(0!==R)break;C++;const X=u[C++],ne=u[C++],xe=u[C++];a.setAttribute(s,ne,xe,X)}else{const X=R,ne=u[++C];fe(X)?a.setProperty(s,X,ne):a.setAttribute(s,X,ne),C++}}}(a,s,C),null!==R&&function vd(a,s,u){""===u?a.removeAttribute(s,"class"):a.setAttribute(s,"class",u)}(a,s,R),null!==X&&function Or(a,s,u){a.setAttribute(s,"style",u)}(a,s,X)}function Xc(a,s,u,C,R,X,ne,xe,Se,at,xt){const qt=t.Yw1+C,yi=qt+R,bi=function t1(a,s){const u=[];for(let C=0;C<s;C++)u.push(C<a?null:qa);return u}(qt,yi),Xi="function"==typeof at?at():at;return bi[t.eDl]={type:a,blueprint:bi,template:u,queries:null,viewQuery:xe,declTNode:s,data:bi.slice().fill(null,qt),bindingStartIndex:qt,expandoStartIndex:yi,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof X?X():X,pipeRegistry:"function"==typeof ne?ne():ne,firstChild:null,schemas:Se,consts:Xi,incompleteFirstPass:!1,ssrId:xt}}function t0(a){const s=a.tView;return null===s||s.incompleteFirstPass?a.tView=Xc(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):s}function n1(a,s,u,C,R,X,ne,xe,Se,at,xt){const qt=s.blueprint.slice();return qt[t.jgP]=R,qt[t.Wg1]=1228|C,(null!==at||a&&2048&a[t.Wg1])&&(qt[t.Wg1]|=2048),(0,t.HUe)(qt),qt[t.f7T]=qt[t.X5O]=a,qt[t.SKP]=u,qt[t.M0L]=ne||a&&a[t.M0L],qt[t.GpT]=xe||a&&a[t.GpT],qt[t.YEL]=Se||a&&a[t.YEL]||null,qt[t.qlT]=X,qt[t.ID]=function qn(){return mn++}(),qt[t.tcA]=xt,qt[t.oMQ]=at,qt[t.b5C]=2==s.type?a[t.b5C]:qt,qt}function n0(a){let s=16;return a.signals?s=4096:a.onPush&&(s=64),s}function Kc(a,s,u,C){if(0===u)return-1;const R=s.length;for(let X=0;X<u;X++)s.push(C),a.blueprint.push(C),a.data.push(null);return R}function a1(a,s){return a[t.EJG]?a[t.Yrj][t.K29]=s:a[t.EJG]=s,a[t.Yrj]=s,s}function S2(a=1){T2((0,t.klJ)(),(0,t.OAn)(),(0,t._px)()+a,!1)}function T2(a,s,u,C){if(!C)if(3&~s[t.Wg1]){const X=a.preOrderHooks;null!==X&&ge(s,X,0,u)}else{const X=a.preOrderCheckHooks;null!==X&&Ke(s,X,u)}(0,t.ypq)(u)}var r1=function(a){return a[a.None=0]="None",a[a.SignalBased=1]="SignalBased",a[a.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",a}(r1||{});function Yc(a,s,u,C){const R=(0,p.Ht)(null);try{const[X,ne,xe]=a.inputs[u];let Se=null;0!==(ne&r1.SignalBased)&&(Se=s[X][p.bh]),null!==Se&&void 0!==Se.transformFn?C=Se.transformFn(C):null!==xe&&(C=xe.call(s,C)),null!==a.setInput?a.setInput(s,Se,C,u,X):A(s,Se,X,C)}finally{(0,p.Ht)(R)}}var s1=function(a){return a[a.Important=1]="Important",a[a.DashCase=2]="DashCase",a}(s1||{});let a0;function o1(a,s){return a0(a,s)}function yd(a){if(!a)return 0;const s=a.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(a)*s}function Qc(a,s){return a.getPropertyValue(s).split(",").map(C=>C.trim())}function L2(a,s){return void 0!==a&&a.duration>s.duration}function I2(a){return(null!=a.animationName||null!=a.propertyName)&&a.duration>0}function r0(a,s,u){if(!u)return;const C=a.getAnimations();return 0===C.length?function ih(a,s){const u=getComputedStyle(a),C=function A2(a){const s=Qc(a,"animation-name"),u=Qc(a,"animation-delay"),C=Qc(a,"animation-duration"),R={animationName:"",propertyName:void 0,duration:0};for(let X=0;X<s.length;X++){const ne=yd(u[X])+yd(C[X]);ne>R.duration&&(R.animationName=s[X],R.duration=ne)}return R}(u),R=function D2(a){const s=Qc(a,"transition-property"),u=Qc(a,"transition-duration"),C=Qc(a,"transition-delay"),R={propertyName:"",duration:0,animationName:void 0};for(let X=0;X<s.length;X++){const ne=yd(C[X])+yd(u[X]);ne>R.duration&&(R.propertyName=s[X],R.duration=ne)}return R}(u),X=C.duration>R.duration?C:R;L2(s.get(a),X)||I2(X)&&s.set(a,X)}(a,s):function nh(a,s,u){let C={animationName:void 0,propertyName:void 0,duration:0};for(const R of u){const X=R.effect?.getTiming(),ne="number"==typeof X?.duration?X.duration:0;let Se,at,xe=(X?.delay??0)+ne;R.animationName?at=R.animationName:Se=R.transitionProperty,xe>=C.duration&&(C={animationName:at,propertyName:Se,duration:xe})}L2(s.get(a),C)||I2(C)&&s.set(a,C)}(a,s,C)}const bc=new Set;var s0=function(a){return a[a.CHANGE_DETECTION=0]="CHANGE_DETECTION",a[a.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",a}(s0||{});const xc=new t.nKC(""),k2=new Set;function Cs(a){k2.has(a)||(k2.add(a),performance?.mark?.("mark_feature_usage",{detail:{feature:a}}))}const R2=!1,Sl=class O2 extends S.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(s=!1){super(),this.__isAsync=s,(0,t.M6u)()&&(this.destroyRef=(0,t.WQX)(t.abz,{optional:!0})??void 0,this.pendingTasks=(0,t.WQX)(t.rev,{optional:!0})??void 0)}emit(s){const u=(0,p.Ht)(null);try{super.next(s)}finally{(0,p.Ht)(u)}}subscribe(s,u,C){let R=s,X=u||(()=>null),ne=C;if(s&&"object"==typeof s){const Se=s;R=Se.next?.bind(Se),X=Se.error?.bind(Se),ne=Se.complete?.bind(Se)}this.__isAsync&&(X=this.wrapInTimeout(X),R&&(R=this.wrapInTimeout(R)),ne&&(ne=this.wrapInTimeout(ne)));const xe=super.subscribe({next:R,error:X,complete:ne});return s instanceof c.yU&&s.add(xe),xe}wrapInTimeout(s){return u=>{const C=this.pendingTasks?.add();setTimeout(()=>{try{s(u)}finally{void 0!==C&&this.pendingTasks?.remove(C)}})}}};function P2(a){let s,u;function C(){a=t.lQ1;try{void 0!==u&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(u),void 0!==s&&clearTimeout(s)}catch{}}return s=setTimeout(()=>{a(),C()}),"function"==typeof requestAnimationFrame&&(u=requestAnimationFrame(()=>{a(),C()})),()=>C()}function F2(a){return queueMicrotask(()=>a()),()=>{a=t.lQ1}}const l1="isAngularZone",Cc=l1+"_ID";let Mc=0;class Ha{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Sl(!1);onMicrotaskEmpty=new Sl(!1);onStable=new Sl(!1);onError=new Sl(!1);constructor(s){const{enableLongStackTrace:u=!1,shouldCoalesceEventChangeDetection:C=!1,shouldCoalesceRunChangeDetection:R=!1,scheduleInRootZone:X=R2}=s;if(typeof Zone>"u")throw new t.buA(908,!1);Zone.assertZonePatched();const ne=this;ne._nesting=0,ne._outer=ne._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(ne._inner=ne._inner.fork(new Zone.TaskTrackingZoneSpec)),u&&Zone.longStackTraceZoneSpec&&(ne._inner=ne._inner.fork(Zone.longStackTraceZoneSpec)),ne.shouldCoalesceEventChangeDetection=!R&&C,ne.shouldCoalesceRunChangeDetection=R,ne.callbackScheduled=!1,ne.scheduleInRootZone=X,function rh(a){const s=()=>{!function ah(a){function s(){P2(()=>{a.callbackScheduled=!1,o0(a),a.isCheckStableRunning=!0,$c(a),a.isCheckStableRunning=!1})}a.isCheckStableRunning||a.callbackScheduled||(a.callbackScheduled=!0,a.scheduleInRootZone?Zone.root.run(()=>{s()}):a._outer.run(()=>{s()}),o0(a))}(a)},u=Mc++;a._inner=a._inner.fork({name:"angular",properties:{[l1]:!0,[Cc]:u,[Cc+u]:!0},onInvokeTask:(C,R,X,ne,xe,Se)=>{if(function B2(a){return Ec(a,"__ignore_ng_zone__")}(Se))return C.invokeTask(X,ne,xe,Se);try{return bd(a),C.invokeTask(X,ne,xe,Se)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===ne.type||a.shouldCoalesceRunChangeDetection)&&s(),N2(a)}},onInvoke:(C,R,X,ne,xe,Se,at)=>{try{return bd(a),C.invoke(X,ne,xe,Se,at)}finally{a.shouldCoalesceRunChangeDetection&&!a.callbackScheduled&&!function z2(a){return Ec(a,"__scheduler_tick__")}(Se)&&s(),N2(a)}},onHasTask:(C,R,X,ne)=>{C.hasTask(X,ne),R===X&&("microTask"==ne.change?(a._hasPendingMicrotasks=ne.microTask,o0(a),$c(a)):"macroTask"==ne.change&&(a.hasPendingMacrotasks=ne.macroTask))},onHandleError:(C,R,X,ne)=>(C.handleError(X,ne),a.runOutsideAngular(()=>a.onError.emit(ne)),!1)})}(ne)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(l1)}static assertInAngularZone(){if(!Ha.isInAngularZone())throw new t.buA(909,!1)}static assertNotInAngularZone(){if(Ha.isInAngularZone())throw new t.buA(909,!1)}run(s,u,C){return this._inner.run(s,u,C)}runTask(s,u,C,R){const X=this._inner,ne=X.scheduleEventTask("NgZoneEvent: "+R,s,Ba,t.lQ1,t.lQ1);try{return X.runTask(ne,u,C)}finally{X.cancelTask(ne)}}runGuarded(s,u,C){return this._inner.runGuarded(s,u,C)}runOutsideAngular(s){return this._outer.run(s)}}const Ba={};function $c(a){if(0==a._nesting&&!a.hasPendingMicrotasks&&!a.isStable)try{a._nesting++,a.onMicrotaskEmpty.emit(null)}finally{if(a._nesting--,!a.hasPendingMicrotasks)try{a.runOutsideAngular(()=>a.onStable.emit(null))}finally{a.isStable=!0}}}function o0(a){a.hasPendingMicrotasks=!!(a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&!0===a.callbackScheduled)}function bd(a){a._nesting++,a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))}function N2(a){a._nesting--,$c(a)}class c1{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Sl;onMicrotaskEmpty=new Sl;onStable=new Sl;onError=new Sl;run(s,u,C){return s.apply(u,C)}runGuarded(s,u,C){return s.apply(u,C)}runOutsideAngular(s){return s()}runTask(s,u,C,R){return s.apply(u,C)}}function Ec(a,s){return!(!Array.isArray(a)||1!==a.length)&&!0===a[0]?.data?.[s]}function l0(a="zone.js",s){return"noop"===a?new c1:"zone.js"===a?new Ha(s):a}let c0=(()=>{class a{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,t.jDH)({token:a,providedIn:"root",factory:()=>new a})}return a})();const U2=[0,1,2,3];let V2=(()=>{class a{ngZone=(0,t.WQX)(Ha);scheduler=(0,t.WQX)(t.hk6);errorHandler=(0,t.WQX)(t.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,t.WQX)(xc,{optional:!0})}execute(){const u=this.sequences.size>0;u&&_e(16),this.executing=!0;for(const C of U2)for(const R of this.sequences)if(!R.erroredOrDestroyed&&R.hooks[C])try{R.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,R.hooks[C])(R.pipelinedValue),R.snapshot))}catch(X){R.erroredOrDestroyed=!0,this.errorHandler?.handleError(X)}this.executing=!1;for(const C of this.sequences)C.afterRun(),C.once&&(this.sequences.delete(C),C.destroy());for(const C of this.deferredRegistrations)this.sequences.add(C);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),u&&_e(17)}register(u){const{view:C}=u;void 0!==C?((C[t.JEi]??=[]).push(u),(0,t.blu)(C),C[t.Wg1]|=8192):this.executing?this.deferredRegistrations.add(u):this.addSequence(u)}addSequence(u){this.sequences.add(u),this.scheduler.notify(7)}unregister(u){this.executing&&this.sequences.has(u)?(u.erroredOrDestroyed=!0,u.pipelinedValue=void 0,u.once=!0):(this.sequences.delete(u),this.deferredRegistrations.delete(u))}maybeTrace(u,C){return C?C.run(s0.AFTER_NEXT_RENDER,u):u()}static \u0275prov=(0,t.jDH)({token:a,providedIn:"root",factory:()=>new a})}return a})();class H2{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(s,u,C,R,X,ne=null){this.impl=s,this.hooks=u,this.view=C,this.once=R,this.snapshot=ne,this.unregisterOnDestroy=X?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const s=this.view?.[t.JEi];s&&(this.view[t.JEi]=s.filter(u=>u!==this))}}function d0(a,s){const u=s?.injector??(0,t.WQX)(t.zZn);return Cs("NgAfterNextRender"),W2(a,u,s,!0)}function W2(a,s,u,C){const R=s.get(c0);R.impl??=s.get(V2);const X=s.get(xc,null,{optional:!0}),ne=!0!==u?.manualCleanup?s.get(t.abz):null,xe=s.get(t.r4V,null,{optional:!0}),Se=new H2(R.impl,function j2(a){return a instanceof Function?[void 0,void 0,a,void 0]:[a.earlyRead,a.write,a.mixedReadWrite,a.read]}(a),xe?.view,C,ne,X?.snapshot(null));return R.impl.register(Se),Se}const _4={destroy(){}},d1=new t.nKC("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function u0(a,s,u){const C=a.get(d1);if(Array.isArray(s))for(const R of s)C.queue.add(R),u?.detachedLeaveAnimationFns?.push(R);else C.queue.add(s),u?.detachedLeaveAnimationFns?.push(s);C.scheduler&&C.scheduler(a)}function h0(a){const s=a.get(d1);s.isScheduled||(d0(()=>{s.isScheduled=!1;for(let u of s.queue)u();s.queue.clear()},{injector:a}),s.isScheduled=!0)}function u1(a){const s=a.get(d1);s.scheduler=h0,s.scheduler(a)}function h1(a,s){for(const[u,C]of s)u0(a,C.animateFns)}function wc(a,s,u,C){const R=a?.[t.Isx]?.enter;null!==s&&R&&R.has(u.index)&&h1(C,R)}function ic(a,s,u,C,R,X,ne,xe){if(null!=R){let Se,at=!1;(0,t.A0l)(R)?Se=R:(0,t.q$2)(R)&&(at=!0,R=R[t.jgP]);const xt=(0,t.IvY)(R);0===a&&null!==C?(wc(xe,C,X,u),null==ne?_d(s,C,xt):zl(s,C,xt,ne||null,!0)):1===a&&null!==C?(wc(xe,C,X,u),zl(s,C,xt,ne||null,!0)):2===a?lh(xe,X,u,qt=>{nr(s,xt,at,qt)}):3===a&&lh(xe,X,u,()=>{s.destroyNode(xt)}),null!=Se&&function g1(a,s,u,C,R,X,ne){const xe=C[t.s6P];xe!==(0,t.IvY)(C)&&ic(s,a,u,X,xe,R,ne);for(let at=t.Y20;at<C.length;at++){const xt=C[at];sc(xt[t.eDl],xt,a,s,X,xe)}}(s,a,u,Se,X,C,ne)}}function f1(a,s){X2(a,s),s[t.jgP]=null,s[t.qlT]=null}function X2(a,s){s[t.M0L].changeDetectionScheduler?.notify(9),sc(a,s,s[t.GpT],2,null,null)}function m1(a,s){const u=a[t.nfM],C=u.indexOf(s);u.splice(C,1)}function Zc(a,s){if((0,t.EPY)(s))return;const u=s[t.GpT];u.destroyNode&&sc(a,s,u,3,null,null),function K2(a){let s=a[t.EJG];if(!s)return nc(a[t.eDl],a);for(;s;){let u=null;if((0,t.q$2)(s))u=s[t.EJG];else{const C=s[t.Y20];C&&(u=C)}if(!u){for(;s&&!s[t.K29]&&s!==a;)(0,t.q$2)(s)&&nc(s[t.eDl],s),s=s[t.f7T];null===s&&(s=a),(0,t.q$2)(s)&&nc(s[t.eDl],s),u=s&&s[t.K29]}s=u}}(s)}function nc(a,s){if((0,t.EPY)(s))return;const u=(0,p.Ht)(null);try{s[t.Wg1]&=-129,s[t.Wg1]|=256,s[t.Iaj]&&(0,p.XR)(s[t.Iaj]),function uh(a,s){let u;if(null!=a&&null!=(u=a.destroyHooks))for(let C=0;C<u.length;C+=2){const R=s[u[C]];if(!(R instanceof Ct)){const X=u[C+1];if(Array.isArray(X))for(let ne=0;ne<X.length;ne+=2){const xe=R[X[ne]],Se=X[ne+1];_e(4,xe,Se);try{Se.call(xe)}finally{_e(5,xe,Se)}}else{_e(4,R,X);try{X.call(R)}finally{_e(5,R,X)}}}}}(a,s),function dh(a,s){const u=a.cleanup,C=s[t.VVG];if(null!==u)for(let ne=0;ne<u.length-1;ne+=2)if("string"==typeof u[ne]){const xe=u[ne+3];xe>=0?C[xe]():C[-xe].unsubscribe(),ne+=2}else u[ne].call(C[u[ne+1]]);null!==C&&(s[t.VVG]=null);const R=s[t.Czx];if(null!==R){s[t.Czx]=null;for(let ne=0;ne<R.length;ne++)(0,R[ne])()}const X=s[t.tQN];if(null!==X){s[t.tQN]=null;for(const ne of X)ne.destroy()}}(a,s),1===s[t.eDl].type&&s[t.GpT].destroy();const C=s[t.rQE];if(null!==C&&(0,t.A0l)(s[t.f7T])){C!==s[t.f7T]&&m1(C,s);const R=s[t.Ds7];null!==R&&R.detachView(a)}Mi(s)}finally{(0,p.Ht)(u)}}function lh(a,s,u,C){const R=a?.[t.Isx];if(null==R||null==R.leave||!R.leave.has(s.index))return C(!1);a&&bc.add(a),u0(u,()=>{if(R.leave&&R.leave.has(s.index)){const ne=R.leave.get(s.index),xe=[];if(ne){for(let Se=0;Se<ne.animateFns.length;Se++){const at=ne.animateFns[Se],{promise:xt}=at();xe.push(xt)}R.detachedLeaveAnimationFns=void 0}R.running=Promise.allSettled(xe),function ch(a,s){const u=a[t.Isx]?.running;u?u.then(()=>{a[t.Isx].running=void 0,bc.delete(a),s(!0)}):s(!1)}(a,C)}else a&&bc.delete(a),C(!1)},R)}function xd(a,s,u){return f0(a,s.parent,u)}function f0(a,s,u){let C=s;for(;null!==C&&168&C.type;)C=(s=C).parent;if(null===C)return u[t.jgP];if((0,t.Qs1)(C)){const{encapsulation:R}=a.data[C.directiveStart+C.componentOffset];if(R===Bs.None||R===Bs.Emulated)return null}return(0,t.d31)(C,u)}function m0(a,s,u){return Tc(a,s,u)}function Sc(a,s,u){return 40&a.type?(0,t.d31)(a,u):null}let p1,Tc=Sc;function Cd(a,s){Tc=a,p1=s}function ac(a,s,u,C){const R=xd(a,C,s),X=s[t.GpT],xe=m0(C.parent||s[t.qlT],C,s);if(null!=R)if(Array.isArray(u))for(let Se=0;Se<u.length;Se++)Ir(X,R,u[Se],xe,!1);else Ir(X,R,u,xe,!1);void 0!==p1&&p1(X,C,s,u,R)}function rc(a,s){if(null!==s){const u=s.type;if(3&u)return(0,t.d31)(s,a);if(4&u)return Md(-1,a[s.index]);if(8&u){const C=s.child;if(null!==C)return rc(a,C);{const R=a[s.index];return(0,t.A0l)(R)?Md(-1,R):(0,t.IvY)(R)}}if(128&u)return rc(a,s.next);if(32&u)return o1(s,a)()||(0,t.IvY)(a[s.index]);{const C=Y2(a,s);return null!==C?Array.isArray(C)?C[0]:rc((0,t._0$)(a[t.b5C]),C):rc(a,s.next)}}return null}function Y2(a,s){return null!==s?a[t.b5C][t.qlT].projection[s.projection]:null}function Md(a,s){const u=t.Y20+a+1;if(u<s.length){const C=s[u],R=C[t.eDl].firstChild;if(null!==R)return rc(C,R)}return s[t.s6P]}function p0(a,s,u,C,R,X,ne){for(;null!=u;){const xe=C[t.YEL];if(128===u.type){u=u.next;continue}const Se=C[u.index],at=u.type;if(ne&&0===s&&(Se&&gi((0,t.IvY)(Se),C),u.flags|=2),!fl(u))if(8&at)p0(a,s,u.child,C,R,X,!1),ic(s,a,xe,R,Se,u,X,C);else if(32&at){const xt=o1(u,C);let qt;for(;qt=xt();)ic(s,a,xe,R,qt,u,X,C);ic(s,a,xe,R,Se,u,X,C)}else 16&at?g0(a,s,C,u,R,X):ic(s,a,xe,R,Se,u,X,C);u=ne?u.projectionNext:u.next}}function sc(a,s,u,C,R,X){p0(u,C,a.firstChild,s,R,X,!1)}function g0(a,s,u,C,R,X){const ne=u[t.b5C],Se=ne[t.qlT].projection[C.projection];if(Array.isArray(Se))for(let at=0;at<Se.length;at++)ic(s,a,u[t.YEL],R,Se[at],C,X,u);else{let at=Se;const xt=ne[t.f7T];ni(C)&&(at.flags|=128),p0(a,s,at,xt,R,X,!0)}}function _0(a,s,u,C,R){const X=(0,t._px)(),ne=2&C;try{(0,t.ypq)(-1),ne&&s.length>t.Yw1&&T2(a,s,t.Yw1,!1),_e(ne?2:0,R,u),u(C,R)}finally{(0,t.ypq)(X),_e(ne?3:1,R,u)}}function Jc(a,s,u){(function v4(a,s,u){const C=u.directiveStart,R=u.directiveEnd;(0,t.Qs1)(u)&&function eh(a,s,u){const C=(0,t.d31)(s,a),R=t0(u),X=a[t.M0L].rendererFactory,ne=a1(a,n1(a,R,null,n0(u),C,s,null,X.createRenderer(C,u),null,null,null));a[s.index]=ne}(s,u,a.data[C+u.componentOffset]),a.firstCreatePass||Kt(u,s);const X=u.initialInputs;for(let ne=C;ne<R;ne++){const xe=a.data[ne],Se=ei(s,a,ne,u);gi(Se,s),null!==X&&C0(0,ne-C,Se,xe,0,X),(0,t.JlV)(xe)&&((0,t.KdJ)(u.index,s)[t.SKP]=ei(s,a,ne,u))}})(a,s,u),!(64&~u.flags)&&function Ac(a,s,u){const C=u.directiveStart,R=u.directiveEnd,X=u.index,ne=(0,t.Z9v)();try{(0,t.ypq)(X);for(let xe=C;xe<R;xe++){const Se=a.data[xe],at=s[xe];(0,t.RZ9)(xe),(null!==Se.hostBindings||0!==Se.hostVars||null!==Se.hostAttrs)&&J2(Se,at)}}finally{(0,t.ypq)(-1),(0,t.RZ9)(ne)}}(a,s,u)}function qc(a,s,u=t.d31){const C=s.localNames;if(null!==C){let R=s.index+1;for(let X=0;X<C.length;X+=2){const ne=C[X+1],xe=-1===ne?u(s,a):a[ne];a[R++]=xe}}}let v0=()=>null;function y0(a,s,u,C,R,X){b1(a,s[t.eDl],s,u,C)?(0,t.Qs1)(a)&&oc(s,a.index):(3&a.type&&(u=function fh(a){return"class"===a?"className":"for"===a?"htmlFor":"formaction"===a?"formAction":"innerHtml"===a?"innerHTML":"readonly"===a?"readOnly":"tabindex"===a?"tabIndex":a}(u)),b0(a,s,u,C,R,X))}function b0(a,s,u,C,R,X){if(3&a.type){const ne=(0,t.d31)(a,s);C=null!=X?X(C,a.value||"",u):C,R.setProperty(ne,u,C)}}function oc(a,s){const u=(0,t.KdJ)(s,a);16&u[t.Wg1]||(u[t.Wg1]|=64)}function J2(a,s){null!==a.hostBindings&&a.hostBindings(1,s)}function y1(a,s){const u=a.directiveRegistry;let C=null;if(u)for(let R=0;R<u.length;R++){const X=u[R];qs(s,X.selectors,!1)&&(C??=[],(0,t.JlV)(X)?C.unshift(X):C.push(X))}return C}function Ed(a,s,u,C,R,X,ne){if(null==X)a.removeAttribute(s,R,u);else{const xe=null==ne?(0,t.eFE)(X):ne(X,C||"",R);a.setAttribute(s,R,xe,u)}}function C0(a,s,u,C,R,X){const ne=X[s];if(null!==ne)for(let xe=0;xe<ne.length;xe+=2)Yc(C,u,ne[xe],ne[xe+1])}function Ul(a,s,u,C,R){const X=t.Yw1+u,ne=s[t.eDl],xe=R(ne,s,a,C,u);s[X]=xe,(0,t.iMd)(a,!0);const Se=2===a.type;return Se?(tc(s[t.GpT],xe,a),(0===(0,t.znI)()||(0,t.yoD)(a))&&gi(xe,s),(0,t.Fje)()):gi(xe,s),(0,t.SX7)()&&(!Se||!fl(a))&&ac(ne,s,xe,a),a}function ed(a){let s=a;return(0,t.YWB)()?(0,t.Pfq)():(s=s.parent,(0,t.iMd)(s,!1)),s}function q2(a,s,u){return(null===a||(0,t.JlV)(a))&&(u=(0,t.zAe)(u[s.index])),u[t.GpT]}function M0(a,s){const u=a[t.YEL];if(!u)return;let C;try{C=u.get(t.ZTf,null)}catch{C=null}C?.(s)}function b1(a,s,u,C,R){const X=a.inputs?.[C],ne=a.hostDirectiveInputs?.[C];let xe=!1;if(ne)for(let Se=0;Se<ne.length;Se+=2){const at=ne[Se];Yc(s.data[at],u[at],ne[Se+1],R),xe=!0}if(X)for(const Se of X)Yc(s.data[Se],u[Se],C,R),xe=!0;return xe}function ph(a,s){const u=(0,t.KdJ)(s,a),C=u[t.eDl];!function gh(a,s){for(let u=s.length;u<a.blueprint.length;u++)s.push(a.blueprint[u])}(C,u);const R=u[t.jgP];null!==R&&null===u[t.tcA]&&(u[t.tcA]=ml(R,u[t.YEL])),_e(18),x1(C,u,u[t.SKP]),_e(19,u[t.SKP])}function x1(a,s,u){(0,t.ID8)(s);try{const C=a.viewQuery;null!==C&&Go(1,C,u);const R=a.template;null!==R&&_0(a,s,R,1,u),a.firstCreatePass&&(a.firstCreatePass=!1),s[t.Ds7]?.finishViewCreation(a),a.staticContentQueries&&Kl(a,s),a.staticViewQueries&&Go(2,a.viewQuery,u);const X=a.components;null!==X&&function _h(a,s){for(let u=0;u<s.length;u++)ph(a,s[u])}(s,X)}catch(C){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=!1),C}finally{s[t.Wg1]&=-5,(0,t.bll)()}}function td(a,s,u,C){const R=(0,p.Ht)(null);try{const X=s.tView,Se=n1(a,X,u,4096&a[t.Wg1]?4096:16,null,s,null,null,C?.injector??null,C?.embeddedViewInjector??null,C?.dehydratedView??null);Se[t.rQE]=a[s.index];const xt=a[t.Ds7];return null!==xt&&(Se[t.Ds7]=xt.createEmbeddedView(X)),x1(X,Se,u),Se}finally{(0,p.Ht)(R)}}function Lc(a,s){return!s||null===s.firstChild||ni(a)}function wd(a,s,u,C,R=!1){for(;null!==u;){if(128===u.type){u=R?u.projectionNext:u.next;continue}const X=s[u.index];null!==X&&C.push((0,t.IvY)(X)),(0,t.A0l)(X)&&bh(X,C);const ne=u.type;if(8&ne)wd(a,s,u.child,C);else if(32&ne){const xe=o1(u,s);let Se;for(;Se=xe();)C.push(Se)}else if(16&ne){const xe=Y2(s,u);if(Array.isArray(xe))C.push(...xe);else{const Se=(0,t._0$)(s[t.b5C]);wd(Se[t.eDl],Se,xe,C,!0)}}u=R?u.projectionNext:u.next}return C}function bh(a,s){for(let u=t.Y20;u<a.length;u++){const C=a[u],R=C[t.eDl].firstChild;null!==R&&wd(C[t.eDl],C,R,s)}a[t.s6P]!==a[t.jgP]&&s.push(a[t.s6P])}function tu(a){if(null!==a[t.JEi]){for(const s of a[t.JEi])s.impl.addSequence(s);a[t.JEi].length=0}}let C1=[];const Eh={...p.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:a=>{(0,t.blu)(a.lView)},consumerOnSignalRead(){this.lView[t.Iaj]=this}},Sh={...p.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:a=>{let s=(0,t._0$)(a.lView);for(;s&&!E0(s[t.eDl]);)s=(0,t._0$)(s);s&&(0,t.HAh)(s)},consumerOnSignalRead(){this.lView[t.Iaj]=this}};function E0(a){return 2!==a.type}function w0(a){if(null===a[t.tQN])return;let s=!0;for(;s;){let u=!1;for(const C of a[t.tQN])C.dirty&&(u=!0,null===C.zone||Zone.current===C.zone?C.run():C.zone.run(()=>C.run()));s=u&&!!(8192&a[t.Wg1])}}function M1(a,s=0){const C=a[t.M0L].rendererFactory;C.begin?.();try{!function Th(a,s){const u=(0,t.yP_)();try{(0,t.cBl)(!0),T0(a,s);let C=0;for(;(0,t.dMS)(a);){if(100===C)throw new t.buA(103,!1);C++,T0(a,1)}}finally{(0,t.cBl)(u)}}(a,s)}finally{C.end?.()}}function nu(a,s,u,C){if((0,t.EPY)(s))return;const R=s[t.Wg1];(0,t.ID8)(s);let xe=!0,Se=null,at=null;E0(a)?(at=function xh(a){return a[t.Iaj]??function Ch(a){const s=C1.pop()??Object.create(Eh);return s.lView=a,s}(a)}(s),Se=(0,p.Bg)(at)):null===(0,p.nR)()?(xe=!1,at=function wh(a){const s=a[t.Iaj]??Object.create(Sh);return s.lView=a,s}(s),Se=(0,p.Bg)(at)):s[t.Iaj]&&((0,p.XR)(s[t.Iaj]),s[t.Iaj]=null);try{(0,t.HUe)(s),(0,t.Kw3)(a.bindingStartIndex),null!==u&&_0(a,s,u,2,C);const xt=!(3&~R);if(xt){const bi=a.preOrderCheckHooks;null!==bi&&Ke(s,bi,null)}else{const bi=a.preOrderHooks;null!==bi&&ge(s,bi,0,null),ve(s,0)}if(function Ah(a){for(let s=Ta(a);null!==s;s=wr(s)){if(!(2&s[t.Wg1]))continue;const u=s[t.nfM];for(let C=0;C<u.length;C++)(0,t.HAh)(u[C])}}(s),w0(s),au(s,0),null!==a.contentQueries&&Kl(a,s),xt){const bi=a.contentCheckHooks;null!==bi&&Ke(s,bi)}else{const bi=a.contentHooks;null!==bi&&ge(s,bi,1),ve(s,1)}!function Ic(a,s){const u=a.hostBindingOpCodes;if(null!==u)try{for(let C=0;C<u.length;C++){const R=u[C];if(R<0)(0,t.ypq)(~R);else{const X=R,ne=u[++C],xe=u[++C];(0,t.vQI)(ne,X);const Se=s[X];_e(24,Se),xe(2,Se),_e(25,Se)}}}finally{(0,t.ypq)(-1)}}(a,s);const qt=a.components;null!==qt&&ru(s,qt,0);const yi=a.viewQuery;if(null!==yi&&Go(2,yi,C),xt){const bi=a.viewCheckHooks;null!==bi&&Ke(s,bi)}else{const bi=a.viewHooks;null!==bi&&ge(s,bi,2),ve(s,2)}if(!0===a.firstUpdatePass&&(a.firstUpdatePass=!1),s[t.pcR]){for(const bi of s[t.pcR])bi();s[t.pcR]=null}tu(s),s[t.Wg1]&=-73}catch(xt){throw(0,t.blu)(s),xt}finally{null!==at&&((0,p.Wu)(at,Se),xe&&function Mh(a){a.lView[t.Iaj]!==a&&(a.lView=null,C1.push(a))}(at)),(0,t.bll)()}}function au(a,s){for(let u=Ta(a);null!==u;u=wr(u))for(let C=t.Y20;C<u.length;C++)S0(u[C],s)}function Lh(a,s,u){_e(18);const C=(0,t.KdJ)(s,a);S0(C,u),_e(19,C[t.SKP])}function S0(a,s){(0,t.F1c)(a)&&T0(a,s)}function T0(a,s){const C=a[t.eDl],R=a[t.Wg1],X=a[t.Iaj];let ne=!!(0===s&&16&R);if(ne||=!!(64&R&&0===s),ne||=!!(1024&R),ne||=!(!X?.dirty||!(0,p.si)(X)),ne||=!1,X&&(X.dirty=!1),a[t.Wg1]&=-9217,ne)nu(C,a,C.template,a[t.SKP]);else if(8192&R){const xe=(0,p.Ht)(null);try{w0(a),au(a,1);const Se=C.components;null!==Se&&ru(a,Se,1),tu(a)}finally{(0,p.Ht)(xe)}}}function ru(a,s,u){for(let C=0;C<s.length;C++)Lh(a,s[C],u)}function kc(a,s){const u=(0,t.yP_)()?64:1088;for(a[t.M0L].changeDetectionScheduler?.notify(s);a;){a[t.Wg1]|=u;const C=(0,t._0$)(a);if((0,t.EFk)(a)&&!C)return a;a=C}return null}function su(a,s,u,C){return[a,!0,0,s,null,C,null,u,null,null]}function D0(a,s){const u=t.Y20+s;if(u<a.length)return a[u]}function id(a,s,u,C=!0){const R=s[t.eDl];if(function Ih(a,s,u,C){const R=t.Y20+C,X=u.length;C>0&&(u[R-1][t.K29]=s),C<X-t.Y20?(s[t.K29]=u[R],(0,t.EYC)(u,t.Y20+C,s)):(u.push(s),s[t.K29]=null),s[t.f7T]=u;const ne=s[t.rQE];null!==ne&&u!==ne&&L0(ne,s);const xe=s[t.Ds7];null!==xe&&xe.insertView(a),(0,t._gW)(s),s[t.Wg1]|=128}(R,s,a,u),C){const ne=Md(u,a),xe=s[t.GpT],Se=xe.parentNode(a[t.s6P]);null!==Se&&function oh(a,s,u,C,R,X){C[t.jgP]=R,C[t.qlT]=s,sc(a,C,u,1,R,X)}(R,a[t.qlT],xe,s,Se,ne)}const X=s[t.tcA];null!==X&&null!==X.firstChild&&(X.firstChild=null)}function A0(a,s){const u=Sd(a,s);return void 0!==u&&Zc(u[t.eDl],u),u}function Sd(a,s){if(a.length<=t.Y20)return;const u=t.Y20+s,C=a[u];if(C){const R=C[t.rQE];null!==R&&R!==a&&m1(R,C),s>0&&(a[u-1][t.K29]=C[t.K29]);const X=(0,t.E6O)(a,t.Y20+s);f1(C[t.eDl],C);const ne=X[t.Ds7];null!==ne&&ne.detachView(X[t.eDl]),C[t.f7T]=null,C[t.K29]=null,C[t.Wg1]&=-129}return C}function L0(a,s){const u=a[t.nfM],C=s[t.f7T];((0,t.q$2)(C)||s[t.b5C]!==C[t.f7T][t.b5C])&&(a[t.Wg1]|=2),null===u?a[t.nfM]=[s]:u.push(s)}class Td{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const s=this._lView,u=s[t.eDl];return wd(u,s,u.firstChild,[])}constructor(s,u){this._lView=s,this._cdRefInjectingView=u}get context(){return this._lView[t.SKP]}set context(s){this._lView[t.SKP]=s}get destroyed(){return(0,t.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const s=this._lView[t.f7T];if((0,t.A0l)(s)){const u=s[t.bm_],C=u?u.indexOf(this):-1;C>-1&&(Sd(s,C),(0,t.E6O)(u,C))}this._attachedToViewContainer=!1}Zc(this._lView[t.eDl],this._lView)}onDestroy(s){(0,t.ik5)(this._lView,s)}markForCheck(){kc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[t.Wg1]&=-129}reattach(){(0,t._gW)(this._lView),this._lView[t.Wg1]|=128}detectChanges(){this._lView[t.Wg1]|=1024,M1(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new t.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const s=(0,t.EFk)(this._lView),u=this._lView[t.rQE];null!==u&&!s&&m1(u,this._lView),X2(this._lView[t.eDl],this._lView)}attachToAppRef(s){if(this._attachedToViewContainer)throw new t.buA(902,!1);this._appRef=s;const u=(0,t.EFk)(this._lView),C=this._lView[t.rQE];null!==C&&!u&&L0(C,this._lView),(0,t._gW)(this._lView)}}let Dd=(()=>class a{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=kh;constructor(u,C,R){this._declarationLView=u,this._declarationTContainer=C,this.elementRef=R}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(u,C){return this.createEmbeddedViewImpl(u,C)}createEmbeddedViewImpl(u,C,R){const X=td(this._declarationLView,this._declarationTContainer,u,{embeddedViewInjector:C,dehydratedView:R});return new Td(X)}})();function kh(){return Ad((0,t.Mx4)(),(0,t.OAn)())}function Ad(a,s){return 4&a.type?new Dd(s,a,Gi(a,s)):null}function du(a,s,u){const C=s.insertBeforeIndex,R=Array.isArray(C)?C[0]:C;return null===R?Sc(a,0,u):(0,t.IvY)(u[R])}function uu(a,s,u,C,R){const X=s.insertBeforeIndex;if(Array.isArray(X)){let ne=C,xe=null;if(3&s.type||(xe=ne,ne=R),null!==ne&&-1===s.componentOffset)for(let Se=1;Se<X.length;Se++)zl(a,ne,u[X[Se]],xe,!1)}}function Vl(a,s,u,C,R){let X=a.data[s];if(null===X)X=O0(a,s,u,C,R),(0,t.JjR)()&&(X.flags|=32);else if(64&X.type){X.type=u,X.value=C,X.attrs=R;const ne=(0,t.Ab)();X.injectorIndex=null===ne?-1:ne.injectorIndex}return(0,t.iMd)(X,!0),X}function O0(a,s,u,C,R){const X=(0,t.veI)(),ne=(0,t.YWB)(),Se=a.data[s]=function Gh(a,s,u,C,R,X){let ne=s?s.injectorIndex:-1,xe=0;return(0,t.KtD)()&&(xe|=128),{type:u,index:C,insertBeforeIndex:null,injectorIndex:ne,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:xe,providerIndexes:0,value:R,attrs:X,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:s,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,ne?X:X&&X.parent,u,s,C,R);return function Hh(a,s,u,C){null===a.firstChild&&(a.firstChild=s),null!==u&&(C?null==u.child&&null!==s.parent&&(u.child=s):null===u.next&&(u.next=s,s.prev=u))}(a,Se,X,ne),Se}function kd(a,s){if(a.push(s),a.length>1)for(let u=a.length-2;u>=0;u--){const C=a[u];hu(C)||jh(C,s)&&null===pm(C)&&Wh(C,s.index)}}function hu(a){return!(64&a.type)}function jh(a,s){return hu(s)||a.index>s.index}function pm(a){const s=a.insertBeforeIndex;return Array.isArray(s)?s[0]:s}function Wh(a,s){const u=a.insertBeforeIndex;Array.isArray(u)?u[0]=s:(Cd(du,uu),a.insertBeforeIndex=s)}function P0(a,s){const u=a.data[s];return null===u||"string"==typeof u?null:u.hasOwnProperty("currentCaseLViewIndex")?u:u.value}function Ms(a,s,u){const C=O0(a,u,64,null,null);return kd(s,C),C}function F0(a,s){const u=s[a.currentCaseLViewIndex];return null===u?u:u<0?~u:u}function N0(a){return a>>>17}function Xh(a){return(131070&a)>>>1}function mu(a,s,u){a.index=0;const C=F0(s,u);a.removes=null!==C?s.remove[C]:t.Mlv}function w1(a){if(a.index<a.removes.length){const s=a.removes[a.index++];return s>0?a.lView[s]:(a.stack.push(a.index,a.removes),mu(a,a.lView[t.eDl].data[~s],a.lView),w1(a))}return 0===a.stack.length?(a.lView=void 0,null):(a.removes=a.stack.pop(),a.index=a.stack.pop(),w1(a))}function Kh(){const a={stack:[],index:-1};return function s(u,C){for(a.lView=C;a.stack.length;)a.stack.pop();return mu(a,u.value,C),w1.bind(null,a)}}function rf(a,s,u){for(const C of u.node.cases[u.case]){const R=s.get(C.index-t.Yw1);R&&nr(a,R,!1)}}function Od(a){const s=a[t.qFA]??[],C=a[t.f7T][t.GpT],R=[];for(const X of s)void 0!==X.data[Li]?R.push(X):Eu(X,C);a[t.qFA]=R}function Mu(a){const{lContainer:s}=a,u=s[t.qFA];if(null===u)return;const R=s[t.f7T][t.GpT];for(const X of u)Eu(X,R)}function Eu(a,s){let u=0,C=a.firstChild;if(C){const R=a.data[Oa];for(;u<R;){const X=C.nextSibling;nr(s,C,!1),C=X,u++}}}function Pd(a){Od(a);const s=a[t.jgP];(0,t.q$2)(s)&&L1(s);for(let u=t.Y20;u<a.length;u++)L1(a[u])}function L1(a){!function af(a){const s=a[t.tcA];if(s){const{i18nNodes:u,dehydratedIcuData:C}=s;if(u&&C){const R=a[t.GpT];for(const X of C.values())rf(R,u,X)}s.i18nNodes=void 0,s.dehydratedIcuData=void 0}}(a);const s=a[t.eDl];for(let u=t.Yw1;u<s.bindingStartIndex;u++)(0,t.A0l)(a[u])?Pd(a[u]):(0,t.q$2)(a[u])&&L1(a[u])}let U0=()=>null,lf=()=>null;function I1(a,s){return U0(a,s)}function wu(a,s,u){return lf(a,s,u)}let df=class{},uf=class{};class hf{resolveComponentFactory(s){throw new t.buA(917,!1)}}let k1=class{static NULL=new hf};class Tu{}let W4=(()=>class a{destroyNode=null;static __NG_ELEMENT_ID__=()=>function ff(){const a=(0,t.OAn)(),s=(0,t.Mx4)(),u=(0,t.KdJ)(s.index,a);return((0,t.q$2)(u)?u:a)[t.GpT]}()})(),R1=(()=>{class a{static \u0275prov=(0,t.jDH)({token:a,providedIn:"root",factory:()=>null})}return a})();function Du(a){return void 0!==a.ngModule}function rd(a){return!!(0,t.phH)(a)}function H0(a){return!!(0,t.oyA)(a)}function Au(a){return!!(0,t.HaV)(a)}function Pc(a){return!!(0,t.xUg)(a)}function X4(a,s){if((0,t.Jzi)(a)&&!(a=(0,t.nl4)(a)))throw new Error(`Expected forwardRef function, imported from "${(0,t.PP7)(s)}", to return a standalone entity or NgModule but got "${(0,t.PP7)(a)||a}".`);if(null==(0,t.phH)(a)){const u=(0,t.xUg)(a)||(0,t.HaV)(a)||(0,t.oyA)(a);if(null==u)throw Du(a)?new Error(`A module with providers was imported from "${(0,t.PP7)(s)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,t.PP7)(a)}" type, imported from "${(0,t.PP7)(s)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!u.standalone)throw new Error(`The "${(0,t.PP7)(a)}" ${function mf(a){return(0,t.xUg)(a)?"component":(0,t.HaV)(a)?"directive":(0,t.oyA)(a)?"pipe":"type"}(a)}, imported from "${(0,t.PP7)(s)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class K4{ownerNgModule=new Map;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new Map;standaloneComponentsScopeCache=new Map;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const s of this.ngModulesWithSomeUnresolvedDecls){const u=(0,t.phH)(s);if(u?.declarations)for(const C of ps(u.declarations))Pc(C)&&this.ownerNgModule.set(C,s)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(s,u){this.resolveNgModulesDecls();const C=(0,t.xUg)(s);if(null===C)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${s}`);if(C.standalone){const R=this.getStandaloneComponentScope(s,u);return R.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...R.compilation.directives,...R.compilation.pipes,...R.compilation.ngModules]}}{if(!this.ownerNgModule.has(s))return{dependencies:[]};const R=this.getNgModuleScope(this.ownerNgModule.get(s));return R.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...R.compilation.directives,...R.compilation.pipes]}}}registerNgModule(s,u){if(!rd(s))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${s}`);this.ngModulesWithSomeUnresolvedDecls.add(s)}clearScopeCacheFor(s){this.ngModulesScopeCache.delete(s),this.standaloneComponentsScopeCache.delete(s)}getNgModuleScope(s){if(this.ngModulesScopeCache.has(s))return this.ngModulesScopeCache.get(s);const u=this.computeNgModuleScope(s);return this.ngModulesScopeCache.set(s,u),u}computeNgModuleScope(s){const u=(0,t.WbQ)(s),C={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const R of ps(u.imports))if(rd(R)){const X=this.getNgModuleScope(R);Fc(X.exported.directives,C.compilation.directives),Fc(X.exported.pipes,C.compilation.pipes)}else{if(!(0,t.QuC)(R)){C.compilation.isPoisoned=!0;break}if(Au(R)||Pc(R))C.compilation.directives.add(R);else{if(!H0(R))throw new t.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");C.compilation.pipes.add(R)}}if(!C.compilation.isPoisoned)for(const R of ps(u.declarations)){if(rd(R)||(0,t.QuC)(R)){C.compilation.isPoisoned=!0;break}H0(R)?C.compilation.pipes.add(R):C.compilation.directives.add(R)}for(const R of ps(u.exports))if(rd(R)){const X=this.getNgModuleScope(R);Fc(X.exported.directives,C.exported.directives),Fc(X.exported.pipes,C.exported.pipes),Fc(X.exported.directives,C.compilation.directives),Fc(X.exported.pipes,C.compilation.pipes)}else H0(R)?C.exported.pipes.add(R):C.exported.directives.add(R);return C}getStandaloneComponentScope(s,u){if(this.standaloneComponentsScopeCache.has(s))return this.standaloneComponentsScopeCache.get(s);const C=this.computeStandaloneComponentScope(s,u);return this.standaloneComponentsScopeCache.set(s,C),C}computeStandaloneComponentScope(s,u){const C={compilation:{directives:new Set([s]),pipes:new Set,ngModules:new Set}};for(const R of(0,t.Bqz)(u??[])){const X=(0,t.nl4)(R);try{X4(X,s)}catch{return C.compilation.isPoisoned=!0,C}if(rd(X)){C.compilation.ngModules.add(X);const ne=this.getNgModuleScope(X);if(ne.exported.isPoisoned)return C.compilation.isPoisoned=!0,C;Fc(ne.exported.directives,C.compilation.directives),Fc(ne.exported.pipes,C.compilation.pipes)}else if(H0(X))C.compilation.pipes.add(X);else{if(!Au(X)&&!Pc(X))return C.compilation.isPoisoned=!0,C;C.compilation.directives.add(X)}}return C}isOrphanComponent(s){const u=(0,t.xUg)(s);return!(!u||u.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(s)))}}function Fc(a,s){for(const u of a)s.add(u)}const O1=new K4,G0={};class Nc{injector;parentInjector;constructor(s,u){this.injector=s,this.parentInjector=u}get(s,u,C){const R=this.injector.get(s,G0,C);return R!==G0||u===G0?R:this.parentInjector.get(s,u,C)}}function P1(a,s,u){let C=u?a.styles:null,R=u?a.classes:null,X=0;if(null!==s)for(let ne=0;ne<s.length;ne++){const xe=s[ne];if("number"==typeof xe)X=xe;else if(1==X)R=(0,t.n$e)(R,xe);else if(2==X){const at=s[++ne];C=(0,t.n$e)(C,xe+": "+at+";")}}u?a.styles=C:a.stylesWithoutHost=C,u?a.classes=R:a.classesWithoutHost=R}function lc(a,s=0){const u=(0,t.OAn)();return null===u?(0,t.KVO)(a,s):Jt((0,t.Mx4)(),u,(0,t.nl4)(a),s)}function pf(){throw new Error("invalid")}function Lu(a,s,u,C,R){const X=null===C?null:{"":-1},ne=R(a,u);if(null!==ne){let xe=ne,Se=null,at=null;for(const xt of ne)if(null!==xt.resolveHostDirectives){[xe,Se,at]=xt.resolveHostDirectives(ne);break}!function Y4(a,s,u,C,R,X,ne){const xe=C.length;let Se=!1;for(let yi=0;yi<xe;yi++){const bi=C[yi];!Se&&(0,t.JlV)(bi)&&(Se=!0,Iu(a,u,yi)),ti(Kt(u,s),a,bi.type)}!function z(a,s,u){a.flags|=1,a.directiveStart=s,a.directiveEnd=s+u,a.providerIndexes=s}(u,a.data.length,xe);for(let yi=0;yi<xe;yi++){const bi=C[yi];bi.providersResolver&&bi.providersResolver(bi)}let at=!1,xt=!1,qt=Kc(a,s,xe,null);xe>0&&(u.directiveToIndex=new Map);for(let yi=0;yi<xe;yi++){const bi=C[yi];if(u.mergedAttrs=Ie(u.mergedAttrs,bi.hostAttrs),$4(a,u,s,qt,bi),yf(qt,bi,R),null!==ne&&ne.has(bi)){const[_n,jn]=ne.get(bi);u.directiveToIndex.set(bi.type,[qt,_n+u.directiveStart,jn+u.directiveStart])}else(null===X||!X.has(bi))&&u.directiveToIndex.set(bi.type,qt);null!==bi.contentQueries&&(u.flags|=4),(null!==bi.hostBindings||null!==bi.hostAttrs||0!==bi.hostVars)&&(u.flags|=64);const Xi=bi.type.prototype;!at&&(Xi.ngOnChanges||Xi.ngOnInit||Xi.ngDoCheck)&&((a.preOrderHooks??=[]).push(u.index),at=!0),!xt&&(Xi.ngOnChanges||Xi.ngDoCheck)&&((a.preOrderCheckHooks??=[]).push(u.index),xt=!0),qt++}!function Q4(a,s,u){for(let C=s.directiveStart;C<s.directiveEnd;C++){const R=a.data[C];if(null!==u&&u.has(R)){const X=u.get(R);_f(0,s,X,C),_f(1,s,X,C),j0(s,C,!0)}else ku(0,s,R,C),ku(1,s,R,C),j0(s,C,!1)}}(a,u,X)}(a,s,u,xe,X,Se,at)}null!==X&&null!==C&&function gf(a,s,u){const C=a.localNames=[];for(let R=0;R<s.length;R+=2){const X=u[s[R+1]];if(null==X)throw new t.buA(-301,!1);C.push(s[R],X)}}(u,C,X)}function Iu(a,s,u){s.componentOffset=u,(a.components??=[]).push(s.index)}function ku(a,s,u,C){const R=0===a?u.inputs:u.outputs;for(const X in R)if(R.hasOwnProperty(X)){let ne;ne=0===a?s.inputs??={}:s.outputs??={},ne[X]??=[],ne[X].push(C),vf(s,X)}}function _f(a,s,u,C){const R=0===a?u.inputs:u.outputs;for(const X in R)if(R.hasOwnProperty(X)){const ne=R[X];let xe;xe=0===a?s.hostDirectiveInputs??={}:s.hostDirectiveOutputs??={},xe[ne]??=[],xe[ne].push(C,X),vf(s,ne)}}function vf(a,s){"class"===s?a.flags|=8:"style"===s&&(a.flags|=16)}function j0(a,s,u){const{attrs:C,inputs:R,hostDirectiveInputs:X}=a;if(null===C||!u&&null===R||u&&null===X||Z1(a))return a.initialInputs??=[],void a.initialInputs.push(null);let ne=null,xe=0;for(;xe<C.length;){const Se=C[xe];if(0!==Se)if(5!==Se){if("number"==typeof Se)break;if(!u&&R.hasOwnProperty(Se)){const at=R[Se];for(const xt of at)if(xt===s){ne??=[],ne.push(Se,C[xe+1]);break}}else if(u&&X.hasOwnProperty(Se)){const at=X[Se];for(let xt=0;xt<at.length;xt+=2)if(at[xt]===s){ne??=[],ne.push(at[xt+1],C[xe+1]);break}}xe+=2}else xe+=2;else xe+=4}a.initialInputs??=[],a.initialInputs.push(ne)}function $4(a,s,u,C,R){a.data[C]=R;const X=R.factory||(R.factory=(0,t.wGu)(R.type,!0)),ne=new Ct(X,(0,t.JlV)(R),lc,null);a.blueprint[C]=ne,u[C]=ne,function W0(a,s,u,C,R){const X=R.hostBindings;if(X){let ne=a.hostBindingOpCodes;null===ne&&(ne=a.hostBindingOpCodes=[]);const xe=~s.index;(function Ru(a){let s=a.length;for(;s>0;){const u=a[--s];if("number"==typeof u&&u<0)return u}return 0})(ne)!=xe&&ne.push(xe),ne.push(u,C,X)}}(a,s,C,Kc(a,u,R.hostVars,qa),R)}function yf(a,s,u){if(u){if(s.exportAs)for(let C=0;C<s.exportAs.length;C++)u[s.exportAs[C]]=a;(0,t.JlV)(s)&&(u[""]=a)}}function L(a,s,u,C,R,X,ne,xe){const Se=s[t.eDl],at=Se.consts,qt=Vl(Se,a,u,C,(0,t.db4)(at,ne));return X&&Lu(Se,s,qt,(0,t.db4)(at,xe),R),qt.mergedAttrs=Ie(qt.mergedAttrs,qt.attrs),null!==qt.attrs&&P1(qt,qt.attrs,!1),null!==qt.mergedAttrs&&P1(qt,qt.mergedAttrs,!0),null!==Se.queries&&Se.queries.elementStart(Se,qt),qt}function H(a,s){Le(a,s),(0,t.srX)(s)&&a.queries.elementEnd(s)}function Y(a,s,u,C,R,X){const ne=s.consts,Se=Vl(s,a,u,C,(0,t.db4)(ne,R));if(Se.mergedAttrs=Ie(Se.mergedAttrs,Se.attrs),null!=X){const at=(0,t.db4)(ne,X);Se.localNames=[];for(let xt=0;xt<at.length;xt+=2)Se.localNames.push(at[xt],-1)}return null!==Se.attrs&&P1(Se,Se.attrs,!1),null!==Se.mergedAttrs&&P1(Se,Se.mergedAttrs,!0),null!==s.queries&&s.queries.elementStart(s,Se),Se}function ie(a){return!!$t(a)&&(Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a)}function Bt(a,s){if(Array.isArray(a))for(let u=0;u<a.length;u++)s(a[u]);else{const u=a[Symbol.iterator]();let C;for(;!(C=u.next()).done;)s(C.value)}}function $t(a){return null!==a&&("function"==typeof a||"object"==typeof a)}function zi(a,s,u){return a[s]=u}function Vi(a,s){return a[s]}function un(a,s,u){return u!==qa&&(!Object.is(a[s],u)&&(a[s]=u,!0))}function Bn(a,s,u,C){const R=un(a,s,u);return un(a,s+1,C)||R}function pn(a,s,u,C,R){const X=Bn(a,s,u,C);return un(a,s+2,R)||X}function gn(a,s,u,C,R,X){const ne=Bn(a,s,u,C);return Bn(a,s+2,R,X)||ne}function oa(a,s,u){return function C(R){kc((0,t.Qs1)(a)?(0,t.KdJ)(a.index,s):s,5);const ne=s[t.SKP];let xe=wa(s,ne,u,R),Se=C.__ngNextListenerFn__;for(;Se;)xe=wa(s,ne,Se,R)&&xe,Se=Se.__ngNextListenerFn__;return xe}}function wa(a,s,u,C){const R=(0,p.Ht)(null);try{return _e(6,s,u),!1!==u(C)}catch(X){return M0(a,X),!1}finally{_e(7,s,u),(0,p.Ht)(R)}}function er(a,s,u,C,R,X,ne,xe){const Se=(0,t.yoD)(a);let at=!1,xt=null;if(!C&&Se&&(xt=function ha(a,s,u,C){const R=a.cleanup;if(null!=R)for(let X=0;X<R.length-1;X+=2){const ne=R[X];if(ne===u&&R[X+1]===C){const xe=s[t.VVG],Se=R[X+2];return xe&&xe.length>Se?xe[Se]:null}"string"==typeof ne&&(X+=2)}return null}(s,u,X,a.index)),null!==xt)(xt.__ngLastListenerFn__||xt).__ngNextListenerFn__=ne,xt.__ngLastListenerFn__=ne,at=!0;else{const qt=(0,t.d31)(a,u),yi=C?C(qt):qt;!function Al(a,s,u,C){qo(a,s,u,C)}(u,yi,X,xe);const bi=R.listen(yi,X,xe);(function qr(a){return a.startsWith("animation")||a.startsWith("transition")})(X)||dr(C?_n=>C((0,t.IvY)(_n[a.index])):a.index,s,u,X,xe,bi,!1)}return at}function dr(a,s,u,C,R,X,ne){const xe=s.firstCreatePass?(0,t.vNG)(s):null,Se=(0,t.d_l)(u),at=Se.length;Se.push(R,X),xe&&xe.push(C,a,at,(at+1)*(ne?-1:1))}function ar(a,s,u,C,R,X){const xe=s[t.eDl],qt=s[u][xe.data[u].outputs[C]].subscribe(X);dr(a.index,xe,s,R,X,qt,!0)}const ko=Symbol("BINDING");class na extends k1{ngModule;constructor(s){super(),this.ngModule=s}resolveComponentFactory(s){const u=(0,t.xUg)(s);return new F1(u,this.ngModule)}}class F1 extends uf{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function ua(a){return Object.keys(a).map(s=>{const[u,C,R]=a[s],X={propName:u,templateName:s,isSignal:0!==(C&r1.SignalBased)};return R&&(X.transform=R),X})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function Ga(a){return Object.keys(a).map(s=>({propName:a[s],templateName:s}))}(this.componentDef.outputs),this.cachedOutputs}constructor(s,u){super(),this.componentDef=s,this.ngModule=u,this.componentType=s.type,this.selector=function gd(a){return a.map(qu).join(",")}(s.selectors),this.ngContentSelectors=s.ngContentSelectors??[],this.isBoundToModule=!!u}create(s,u,C,R,X,ne){_e(22);const xe=(0,p.Ht)(null);try{const Se=this.componentDef,at=function Z4(a,s,u,C){const R=a?["ng-version","20.3.14"]:function ec(a){const s=[],u=[];let C=1,R=2;for(;C<a.length;){let X=a[C];if("string"==typeof X)2===R?""!==X&&s.push(X,a[++C]):8===R&&u.push(X);else{if(!Ao(R))break;R=X}C++}return u.length&&s.push(1,...u),s}(s.selectors[0]);let X=null,ne=null,xe=0;if(u)for(const xt of u)xe+=xt[ko].requiredVars,xt.create&&(xt.targetIdx=0,(X??=[]).push(xt)),xt.update&&(xt.targetIdx=0,(ne??=[]).push(xt));if(C)for(let xt=0;xt<C.length;xt++){const qt=C[xt];if("function"!=typeof qt)for(const yi of qt.bindings){xe+=yi[ko].requiredVars;const bi=xt+1;yi.create&&(yi.targetIdx=bi,(X??=[]).push(yi)),yi.update&&(yi.targetIdx=bi,(ne??=[]).push(yi))}}const Se=[s];if(C)for(const xt of C){const yi=(0,t.HaV)("function"==typeof xt?xt:xt.type);Se.push(yi)}return Xc(0,null,function eo(a,s){return a||s?u=>{if(1&u&&a)for(const C of a)C.create();if(2&u&&s)for(const C of s)C.update()}:null}(X,ne),1,xe,Se,null,null,null,[R],null)}(C,Se,ne,X),xt=function Hl(a,s,u){let C=s instanceof t.uvJ?s:s?.injector;return C&&null!==a.getStandaloneInjector&&(C=a.getStandaloneInjector(C)||C),C?new Nc(u,C):u}(Se,R||this.ngModule,s),qt=function $o(a){const s=a.get(Tu,null);if(null===s)throw new t.buA(407,!1);return{rendererFactory:s,sanitizer:a.get(R1,null),changeDetectionScheduler:a.get(t.hk6,null),ngReflect:!1}}(xt),yi=qt.rendererFactory.createRenderer(null,Se),bi=C?function Dc(a,s,u,C){const X=C.get(mi,!1)||u===Bs.ShadowDom,ne=a.selectRootElement(s,X);return function $2(a){v0(a)}(ne),ne}(yi,C,Se.encapsulation,xt):function dc(a,s){const u=function Fr(a){return(a.selectors[0][0]||"div").toLowerCase()}(a);return e1(s,u,"svg"===u?t.jNX:"math"===u?t.rJ1:null)}(Se,yi),Xi=ne?.some(Bc)||X?.some(Yn=>"function"!=typeof Yn&&Yn.bindings.some(Bc)),_n=n1(null,at,null,512|n0(Se),null,null,qt,yi,xt,null,ml(bi,xt,!0));_n[t.Yw1]=bi,(0,t.ID8)(_n);let jn=null;try{const Yn=L(t.Yw1,_n,2,"#host",()=>at.directiveRegistry,!0,0);tc(yi,bi,Yn),gi(bi,_n),Jc(at,_n,Yn),xl(at,Yn,_n),H(at,Yn),void 0!==u&&function N1(a,s,u){const C=a.projection=[];for(let R=0;R<s.length;R++){const X=u[R];C.push(null!=X&&X.length?Array.from(X):null)}}(Yn,this.ngContentSelectors,u),jn=(0,t.KdJ)(Yn.index,_n),_n[t.SKP]=jn[t.SKP],x1(at,_n,null)}catch(Yn){throw null!==jn&&Mi(jn),Mi(_n),Yn}finally{_e(23),(0,t.bll)()}return new ol(this.componentType,_n,!!Xi)}finally{(0,p.Ht)(xe)}}}function Bc(a){const s=a[ko].kind;return"input"===s||"twoWay"===s}class ol extends df{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(s,u,C){super(),this._rootLView=u,this._hasInputBindings=C,this._tNode=(0,t.XRZ)(u[t.eDl],t.Yw1),this.location=Gi(this._tNode,u),this.instance=(0,t.KdJ)(this._tNode.index,u)[t.SKP],this.hostView=this.changeDetectorRef=new Td(u,void 0),this.componentType=s}setInput(s,u){const C=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(s)&&Object.is(this.previousInputValues.get(s),u))return;const R=this._rootLView;b1(C,R[t.eDl],R,s,u),this.previousInputValues.set(s,u),kc((0,t.KdJ)(C.index,R),1)}get injector(){return new nn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(s){this.hostView.onDestroy(s)}}let Fd=(()=>class a{static __NG_ELEMENT_ID__=bm})();function bm(){return Mm((0,t.Mx4)(),(0,t.OAn)())}const B6=Fd,xm=class extends B6{_lContainer;_hostTNode;_hostLView;constructor(s,u,C){super(),this._lContainer=s,this._hostTNode=u,this._hostLView=C}get element(){return Gi(this._hostTNode,this._hostLView)}get injector(){return new nn(this._hostTNode,this._hostLView)}get parentInjector(){const s=Zt(this._hostTNode,this._hostLView);if(li(s)){const u=kt(s,this._hostLView),C=Qt(s);return new nn(u[t.eDl].data[C+8],u)}return new nn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(s){const u=Cm(this._lContainer);return null!==u&&u[s]||null}get length(){return this._lContainer.length-t.Y20}createEmbeddedView(s,u,C){let R,X;"number"==typeof C?R=C:null!=C&&(R=C.index,X=C.injector);const ne=I1(this._lContainer,s.ssrId),xe=s.createEmbeddedViewImpl(u||{},X,ne);return this.insertImpl(xe,R,Lc(this._hostTNode,ne)),xe}createComponent(s,u,C,R,X,ne,xe){const Se=s&&!oe(s);let at;if(Se)at=u;else{const jn=u||{};at=jn.index,C=jn.injector,R=jn.projectableNodes,X=jn.environmentInjector||jn.ngModuleRef,ne=jn.directives,xe=jn.bindings}const xt=Se?s:new F1((0,t.xUg)(s)),qt=C||this.parentInjector;if(!X&&null==xt.ngModule){const Yn=(Se?qt:this.parentInjector).get(t.uvJ,null);Yn&&(X=Yn)}const yi=(0,t.xUg)(xt.componentType??{}),bi=I1(this._lContainer,yi?.id??null),_n=xt.create(qt,R,bi?.firstChild??null,X,ne,xe);return this.insertImpl(_n.hostView,at,Lc(this._hostTNode,bi)),_n}insert(s,u){return this.insertImpl(s,u,!0)}insertImpl(s,u,C){const R=s._lView;if((0,t.ITl)(R)){const xe=this.indexOf(s);if(-1!==xe)this.detach(xe);else{const Se=R[t.f7T],at=new xm(Se,Se[t.qlT],Se[t.f7T]);at.detach(at.indexOf(s))}}const X=this._adjustIndex(u),ne=this._lContainer;return id(ne,R,X,C),s.attachToViewContainerRef(),(0,t.EYC)(J4(ne),X,s),s}move(s,u){return this.insert(s,u)}indexOf(s){const u=Cm(this._lContainer);return null!==u?u.indexOf(s):-1}remove(s){const u=this._adjustIndex(s,-1),C=Sd(this._lContainer,u);C&&((0,t.E6O)(J4(this._lContainer),u),Zc(C[t.eDl],C))}detach(s){const u=this._adjustIndex(s,-1),C=Sd(this._lContainer,u);return C&&null!=(0,t.E6O)(J4(this._lContainer),u)?new Td(C):null}_adjustIndex(s,u=0){return s??this.length+u}};function Cm(a){return a[t.bm_]}function J4(a){return a[t.bm_]||(a[t.bm_]=[])}function Mm(a,s){let u;const C=s[a.index];return(0,t.A0l)(C)?u=C:(u=su(C,s,null,a),s[a.index]=u,a1(s,u)),q4(u,s,a,C),new xm(u,a,s)}let q4=function wm(a,s,u,C){if(a[t.s6P])return;let R;R=8&u.type?(0,t.IvY)(C):function z6(a,s){const u=a[t.GpT],C=u.createComment(""),R=(0,t.d31)(s,a),X=u.parentNode(R);return zl(u,X,C,u.nextSibling(R),!1),C}(s,u),a[t.s6P]=R},e3=()=>!1;function Em(a,s,u){return e3(a,s,u)}class xf{queryList;matches=null;constructor(s){this.queryList=s}clone(){return new xf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Cf{queries;constructor(s=[]){this.queries=s}createEmbeddedView(s){const u=s.queries;if(null!==u){const C=null!==s.contentQueries?s.contentQueries[0]:u.length,R=[];for(let X=0;X<C;X++){const ne=u.getByIndex(X);R.push(this.queries[ne.indexInDeclarationView].clone())}return new Cf(R)}return null}insertView(s){this.dirtyQueriesWithMatches(s)}detachView(s){this.dirtyQueriesWithMatches(s)}finishViewCreation(s){this.dirtyQueriesWithMatches(s)}dirtyQueriesWithMatches(s){for(let u=0;u<this.queries.length;u++)null!==Nd(s,u).matches&&this.queries[u].setDirty()}}class t3{flags;read;predicate;constructor(s,u,C=null){this.flags=u,this.read=C,this.predicate="string"==typeof s?function zc(a){return a.split(",").map(s=>s.trim())}(s):s}}class Mf{queries;constructor(s=[]){this.queries=s}elementStart(s,u){for(let C=0;C<this.queries.length;C++)this.queries[C].elementStart(s,u)}elementEnd(s){for(let u=0;u<this.queries.length;u++)this.queries[u].elementEnd(s)}embeddedTView(s){let u=null;for(let C=0;C<this.length;C++){const R=null!==u?u.length:0,X=this.getByIndex(C).embeddedTView(s,R);X&&(X.indexInDeclarationView=C,null!==u?u.push(X):u=[X])}return null!==u?new Mf(u):null}template(s,u){for(let C=0;C<this.queries.length;C++)this.queries[C].template(s,u)}getByIndex(s){return this.queries[s]}get length(){return this.queries.length}track(s){this.queries.push(s)}}class Fu{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(s,u=-1){this.metadata=s,this._declarationNodeIndex=u}elementStart(s,u){this.isApplyingToNode(u)&&this.matchTNode(s,u)}elementEnd(s){this._declarationNodeIndex===s.index&&(this._appliesToNextNode=!1)}template(s,u){this.elementStart(s,u)}embeddedTView(s,u){return this.isApplyingToNode(s)?(this.crossesNgTemplate=!0,this.addMatch(-s.index,u),new Fu(this.metadata)):null}isApplyingToNode(s){if(this._appliesToNextNode&&1&~this.metadata.flags){const u=this._declarationNodeIndex;let C=s.parent;for(;null!==C&&8&C.type&&C.index!==u;)C=C.parent;return u===(null!==C?C.index:-1)}return this._appliesToNextNode}matchTNode(s,u){const C=this.metadata.predicate;if(Array.isArray(C))for(let R=0;R<C.length;R++){const X=C[R];this.matchTNodeWithReadOption(s,u,La(u,X)),this.matchTNodeWithReadOption(s,u,tt(u,s,X,!1,!1))}else C===Dd?4&u.type&&this.matchTNodeWithReadOption(s,u,-1):this.matchTNodeWithReadOption(s,u,tt(u,s,C,!1,!1))}matchTNodeWithReadOption(s,u,C){if(null!==C){const R=this.metadata.read;if(null!==R)if(R===Ci||R===Fd||R===Dd&&4&u.type)this.addMatch(u.index,-2);else{const X=tt(u,s,R,!1,!1);null!==X&&this.addMatch(u.index,X)}else this.addMatch(u.index,C)}}addMatch(s,u){null===this.matches?this.matches=[s,u]:this.matches.push(s,u)}}function La(a,s){const u=a.localNames;if(null!==u)for(let C=0;C<u.length;C+=2)if(u[C]===s)return u[C+1];return null}function i3(a,s,u,C){return-1===u?function sd(a,s){return 11&a.type?Gi(a,s):4&a.type?Ad(a,s):null}(s,a):-2===u?function Ef(a,s,u){return u===Ci?Gi(s,a):u===Dd?Ad(s,a):u===Fd?Mm(s,a):void 0}(a,s,C):ei(a,a[t.eDl],u,s)}function Zo(a,s,u,C){const R=s[t.Ds7].queries[C];if(null===R.matches){const X=a.data,ne=u.matches,xe=[];for(let Se=0;null!==ne&&Se<ne.length;Se+=2){const at=ne[Se];xe.push(at<0?null:i3(s,X[at],ne[Se+1],u.metadata.read))}R.matches=xe}return R.matches}function K0(a,s,u,C){const R=a.queries.getByIndex(u),X=R.matches;if(null!==X){const ne=Zo(a,s,R,u);for(let xe=0;xe<X.length;xe+=2){const Se=X[xe];if(Se>0)C.push(ne[xe/2]);else{const at=X[xe+1],xt=s[-Se];for(let qt=t.Y20;qt<xt.length;qt++){const yi=xt[qt];yi[t.rQE]===yi[t.f7T]&&K0(yi[t.eDl],yi,at,C)}if(null!==xt[t.nfM]){const qt=xt[t.nfM];for(let yi=0;yi<qt.length;yi++){const bi=qt[yi];K0(bi[t.eDl],bi,at,C)}}}}}return C}function wf(a,s){return a[t.Ds7].queries[s].queryList}function Sf(a,s,u){const C=new zt(!(4&~u));return(0,t.B22)(a,s,C,C.destroy),(s[t.Ds7]??=new Cf).queries.push(new xf(C))-1}function Tf(a,s,u){const C=(0,t.klJ)();return C.firstCreatePass&&(B1(C,new t3(a,s,u),-1),!(2&~s)&&(C.staticViewQueries=!0)),Sf(C,(0,t.OAn)(),s)}function Nu(a,s,u,C){const R=(0,t.klJ)();if(R.firstCreatePass){const X=(0,t.Mx4)();B1(R,new t3(s,u,C),X.index),function aa(a,s){const u=a.contentQueries||(a.contentQueries=[]);s!==(u.length?u[u.length-1]:-1)&&u.push(a.queries.length-1,s)}(R,a),!(2&~u)&&(R.staticContentQueries=!0)}return Sf(R,(0,t.OAn)(),u)}function B1(a,s,u){null===a.queries&&(a.queries=new Mf),a.queries.track(new Fu(s,u))}function Nd(a,s){return a.queries.getByIndex(s)}function Y0(a,s){const u=a[t.eDl],C=Nd(u,s);return C.crossesNgTemplate?K0(u,a,s,[]):Zo(u,a,C,s)}function Bu(a,s,u){let C;const R=(0,p.KZ)(()=>{C._dirtyCounter();const X=function r3(a,s){const u=a._lView,C=a._queryIndex;if(void 0===u||void 0===C||4&u[t.Wg1])return s?void 0:t.Mlv;const R=wf(u,C),X=Y0(u,C);return R.reset(X,Ai),s?R.first:R._changesDetected||void 0===a._flatValue?a._flatValue=R.toArray():a._flatValue}(C,a);if(s&&void 0===X)throw new t.buA(-951,!1);return X});return C=R[p.bh],C._dirtyCounter=(0,t.vPA)(0),C._flatValue=void 0,R}function Df(a){return Bu(!0,!1)}function n3(a){return Bu(!0,!0)}function Af(a){return Bu(!1,!1)}function a3(a,s){const u=a[p.bh];u._lView=(0,t.OAn)(),u._queryIndex=s,u._queryList=wf(u._lView,s),u._queryList.onDirty(()=>u._dirtyCounter.update(C=>C+1))}function V6(a){const s=[],u=new Map;function C(R){let X=u.get(R);if(!X){const ne=a(R);u.set(R,X=ne.then(xe=>function Lf(a,s){return"string"==typeof s?s:void 0!==s.status&&200!==s.status?Promise.reject(new t.buA(918,!1)):s.text()}(0,xe)))}return X}return od.forEach((R,X)=>{const ne=[];R.templateUrl&&ne.push(C(R.templateUrl).then(at=>{R.template=at}));const xe="string"==typeof R.styles?[R.styles]:R.styles||[];if(R.styles=xe,R.styleUrl&&R.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(R.styleUrls?.length){const at=R.styles.length,xt=R.styleUrls;R.styleUrls.forEach((qt,yi)=>{xe.push(""),ne.push(C(qt).then(bi=>{xe[at+yi]=bi,xt.splice(xt.indexOf(qt),1),0==xt.length&&(R.styleUrls=void 0)}))})}else R.styleUrl&&ne.push(C(R.styleUrl).then(at=>{xe.push(at),R.styleUrl=void 0}));const Se=Promise.all(ne).then(()=>function c3(a){xr.delete(a)}(X));s.push(Se)}),function l3(){const a=od;od=new Map}(),Promise.all(s).then(()=>{})}let od=new Map;const xr=new Set;function Uc(){return 0===od.size}const Uu=new Map;function Bd(a,s){(function d3(a,s,u){if(s&&s!==u)throw new Error(`Duplicate module registered for ${a} - ${(0,t.AsM)(s)} vs ${(0,t.AsM)(s.name)}`)})(s,Uu.get(s)||null,a),Uu.set(s,a)}let Vc=class{},z1=class{};function Es(a,s){return new U1(a,s??null,[])}class U1 extends Vc{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new na(this);constructor(s,u,C,R=!0){super(),this.ngModuleType=s,this._parent=u;const X=(0,t.phH)(s);this._bootstrapComponents=ps(X.bootstrap),this._r3Injector=(0,t.Pz9)(s,u,[{provide:Vc,useValue:this},{provide:k1,useValue:this.componentFactoryResolver},...C],(0,t.AsM)(s),new Set(["environment"])),R&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const s=this._r3Injector;!s.destroyed&&s.destroy(),this.destroyCbs.forEach(u=>u()),this.destroyCbs=null}onDestroy(s){this.destroyCbs.push(s)}}class V1 extends z1{moduleType;constructor(s){super(),this.moduleType=s}create(s){return new U1(this.moduleType,s,[])}}function m3(a,s,u){return new U1(a,s,u,!1)}class p3 extends Vc{injector;componentFactoryResolver=new na(this);instance=null;constructor(s){super();const u=new t.e5P([...s.providers,{provide:Vc,useValue:this},{provide:k1,useValue:this.componentFactoryResolver}],s.parent||(0,t.WB9)(),s.debugName,new Set(["environment"]));this.injector=u,s.runEnvironmentInitializers&&u.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(s){this.injector.onDestroy(s)}}function H1(a,s,u=null){return new p3({providers:a,parent:s,debugName:u,runEnvironmentInitializers:!0}).injector}let kf=(()=>{class a{_injector;cachedInjectors=new Map;constructor(u){this._injector=u}getOrCreateStandaloneInjector(u){if(!u.standalone)return null;if(!this.cachedInjectors.has(u)){const C=(0,t.jXY)(!1,u.type),R=C.length>0?H1([C],this._injector,`Standalone[${u.type.name}]`):null;this.cachedInjectors.set(u,R)}return this.cachedInjectors.get(u)}ngOnDestroy(){try{for(const u of this.cachedInjectors.values())null!==u&&u.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,t.jDH)({token:a,providedIn:"environment",factory:()=>new a((0,t.KVO)(t.uvJ))})}return a})();function g3(a){return T(()=>{const s=Ff(a),u={...s,decls:a.decls,vars:a.vars,template:a.template,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,onPush:a.changeDetection===ca.OnPush,directiveDefs:null,pipeDefs:null,dependencies:s.standalone&&a.dependencies||null,getStandaloneInjector:s.standalone?R=>R.get(kf).getOrCreateStandaloneInjector(u):null,getExternalStyles:null,signals:a.signals??!1,data:a.data||{},encapsulation:a.encapsulation||Bs.Emulated,styles:a.styles||t.Mlv,_:null,schemas:a.schemas||null,tView:null,id:""};s.standalone&&Cs("NgStandalone"),Z0(u);const C=a.dependencies;return u.directiveDefs=Vu(C,Rf),u.pipeDefs=Vu(C,t.oyA),u.id=function Am(a){let s=0;const C=[a.selectors,a.ngContentSelectors,a.hostVars,a.hostAttrs,"function"==typeof a.consts?"":a.consts,a.vars,a.decls,a.encapsulation,a.standalone,a.signals,a.exportAs,JSON.stringify(a.inputs),JSON.stringify(a.outputs),Object.getOwnPropertyNames(a.type.prototype),!!a.contentQueries,!!a.viewQuery];for(const X of C.join("|"))s=Math.imul(31,s)+X.charCodeAt(0)|0;return s+=2147483648,"c"+s}(u),u})}function Rf(a){return(0,t.xUg)(a)||(0,t.HaV)(a)}function Of(a){return T(()=>({type:a.type,bootstrap:a.bootstrap||t.Mlv,declarations:a.declarations||t.Mlv,imports:a.imports||t.Mlv,exports:a.exports||t.Mlv,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}))}function Tm(a,s){if(null==a)return t.MZA;const u={};for(const C in a)if(a.hasOwnProperty(C)){const R=a[C];let X,ne,xe,Se;Array.isArray(R)?(xe=R[0],X=R[1],ne=R[2]??X,Se=R[3]||null):(X=R,ne=R,xe=r1.None,Se=null),u[X]=[C,xe,Se],s[X]=ne}return u}function _3(a){if(null==a)return t.MZA;const s={};for(const u in a)a.hasOwnProperty(u)&&(s[a[u]]=u);return s}function Pf(a){return T(()=>{const s=Ff(a);return Z0(s),s})}function $0(a){return{type:a.type,name:a.name,factory:null,pure:!1!==a.pure,standalone:a.standalone??!0,onDestroy:a.type.prototype.ngOnDestroy||null}}function Ff(a){const s={};return{type:a.type,providersResolver:null,factory:null,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:s,inputConfig:a.inputs||t.MZA,exportAs:a.exportAs||null,standalone:a.standalone??!0,signals:!0===a.signals,selectors:a.selectors||t.Mlv,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Tm(a.inputs,s),outputs:_3(a.outputs),debugInfo:null}}function Z0(a){a.features?.forEach(s=>s(a))}function Vu(a,s){return a?()=>{const u="function"==typeof a?a():a,C=[];for(const R of u){const X=s(R);null!==X&&C.push(X)}return C}:null}function Lm(a){return Object.getPrototypeOf(a.prototype).constructor}function v3(a){let s=Lm(a.type),u=!0;const C=[a];for(;s;){let R;if((0,t.JlV)(a))R=s.\u0275cmp||s.\u0275dir;else{if(s.\u0275cmp)throw new t.buA(903,!1);R=s.\u0275dir}if(R){if(u){C.push(R);const ne=a;ne.inputs=J0(a.inputs),ne.declaredInputs=J0(a.declaredInputs),ne.outputs=J0(a.outputs);const xe=R.hostBindings;xe&&Im(a,xe);const Se=R.viewQuery,at=R.contentQueries;if(Se&&b3(a,Se),at&&H6(a,at),Jo(a,R),(0,t.dwj)(a.outputs,R.outputs),(0,t.JlV)(R)&&R.data.animation){const xt=a.data;xt.animation=(xt.animation||[]).concat(R.data.animation)}}const X=R.features;if(X)for(let ne=0;ne<X.length;ne++){const xe=X[ne];xe&&xe.ngInherit&&xe(a),xe===v3&&(u=!1)}}s=Object.getPrototypeOf(s)}!function y3(a){let s=0,u=null;for(let C=a.length-1;C>=0;C--){const R=a[C];R.hostVars=s+=R.hostVars,R.hostAttrs=Ie(R.hostAttrs,u=Ie(u,R.hostAttrs))}}(C)}function Jo(a,s){for(const u in s.inputs){if(!s.inputs.hasOwnProperty(u)||a.inputs.hasOwnProperty(u))continue;const C=s.inputs[u];void 0!==C&&(a.inputs[u]=C,a.declaredInputs[u]=s.declaredInputs[u])}}function J0(a){return a===t.MZA?{}:a===t.Mlv?[]:a}function b3(a,s){const u=a.viewQuery;a.viewQuery=u?(C,R)=>{s(C,R),u(C,R)}:s}function H6(a,s){const u=a.contentQueries;a.contentQueries=u?(C,R,X)=>{s(C,R,X),u(C,R,X)}:s}function Im(a,s){const u=a.hostBindings;a.hostBindings=u?(C,R)=>{s(C,R),u(C,R)}:s}const G6=["providersResolver"],km=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Rm(a){const s=u=>{const C=Array.isArray(a);null===u.hostDirectives?(u.resolveHostDirectives=W6,u.hostDirectives=C?a.map(C3):[a]):C?u.hostDirectives.unshift(...a.map(C3)):u.hostDirectives.unshift(a)};return s.ngInherit=!0,s}function W6(a){const s=[];let u=!1,C=null,R=null;for(let X=0;X<a.length;X++){const ne=a[X];if(null!==ne.hostDirectives){const xe=s.length;C??=new Map,R??=new Map,x3(ne,s,C),R.set(ne,[xe,s.length-1])}0===X&&(0,t.JlV)(ne)&&(u=!0,s.push(ne))}for(let X=u?1:0;X<a.length;X++)s.push(a[X]);return[s,C,R]}function x3(a,s,u){if(null!==a.hostDirectives)for(const C of a.hostDirectives)if("function"==typeof C){const R=C();for(const X of R)Om(C3(X),s,u)}else Om(C,s,u)}function Om(a,s,u){const C=(0,t.HaV)(a.directive);(function E3(a,s){for(const u in s)s.hasOwnProperty(u)&&(a[s[u]]=a[u])})(C.declaredInputs,a.inputs),x3(C,s,u),u.set(C,a),s.push(C)}function C3(a){return"function"==typeof a?{directive:(0,t.nl4)(a),inputs:t.MZA,outputs:t.MZA}:{directive:(0,t.nl4)(a.directive),inputs:M3(a.inputs),outputs:M3(a.outputs)}}function M3(a){if(void 0===a||0===a.length)return t.MZA;const s={};for(let u=0;u<a.length;u+=2)s[a[u]]=a[u+1];return s}function w3(a,s,u,C,R,X,ne,xe){if(u.firstCreatePass){a.mergedAttrs=Ie(a.mergedAttrs,a.attrs);const xt=a.tView=Xc(2,a,R,X,ne,u.directiveRegistry,u.pipeRegistry,null,u.schemas,u.consts,null);null!==u.queries&&(u.queries.template(u,a),xt.queries=u.queries.embeddedTView(a))}xe&&(a.flags|=xe),(0,t.iMd)(a,!1);const Se=D3(u,s,a,C);(0,t.SX7)()&&ac(u,s,Se,a),gi(Se,s);const at=su(Se,s,Se,a);s[C+t.Yw1]=at,a1(s,at),Em(at,a,s)}function Vd(a,s,u,C,R,X,ne,xe,Se,at,xt){const qt=u+t.Yw1;let yi;if(s.firstCreatePass){if(yi=Vl(s,qt,4,ne||null,xe||null),null!=at){const bi=(0,t.db4)(s.consts,at);yi.localNames=[];for(let Xi=0;Xi<bi.length;Xi+=2)yi.localNames.push(bi[Xi],-1)}}else yi=s.data[qt];return w3(yi,a,s,u,C,R,X,Se),null!=at&&qc(a,yi,xt),yi}function S3(a,s,u,C,R,X,ne,xe){const Se=(0,t.OAn)(),at=(0,t.klJ)();return function X6(a,s,u,C,R,X,ne,xe,Se,at,xt){const qt=u+t.Yw1;let yi;s.firstCreatePass?(yi=Vl(s,qt,4,ne||null,xe||null),(0,t.ckz)()&&Lu(s,a,yi,(0,t.db4)(s.consts,at),y1),Le(s,yi)):yi=s.data[qt],w3(yi,a,s,u,C,R,X,Se),(0,t.yoD)(yi)&&Jc(s,a,yi),null!=at&&qc(a,yi,xt)}(Se,at,a,s,u,C,R,(0,t.db4)(at.consts,X),void 0,ne,xe),S3}function T3(a,s,u,C,R,X,ne,xe){const Se=(0,t.OAn)(),at=(0,t.klJ)();return Vd(Se,at,a,s,u,C,R,(0,t.db4)(at.consts,X),void 0,ne,xe),T3}let D3=function Nf(a,s,u,C){return(0,t.m7n)(!0),s[t.GpT].createComment("")};var gs=function(a){return a[a.NOT_STARTED=0]="NOT_STARTED",a[a.IN_PROGRESS=1]="IN_PROGRESS",a[a.COMPLETE=2]="COMPLETE",a[a.FAILED=3]="FAILED",a}(gs||{}),ur=function(a){return a[a.Placeholder=0]="Placeholder",a[a.Loading=1]="Loading",a[a.Complete=2]="Complete",a[a.Error=3]="Error",a}(ur||{}),uc=function(a){return a[a.Initial=-1]="Initial",a}(uc||{}),zm=function(a){return a[a.Manual=0]="Manual",a[a.Playthrough=1]="Playthrough",a}(zm||{});function i2(a,s,u){const C=Um(a);null===s[C]&&(s[C]=[]),s[C].push(u)}function Uf(a,s){const u=Um(a),C=s[u];if(null!==C){for(const R of C)R();s[u]=null}}function A3(a){Uf(1,a),Uf(0,a),Uf(2,a)}function Um(a){let s=4;return 1===a?s=5:2===a&&(s=9),s}function n2(a){return a+1}function cl(a,s){return a[n2(s.index)]}function po(a,s){const u=n2(s.index);return a.data[u]}function I3(a,s){return s===ur.Placeholder?a.placeholderBlockConfig?.[0]??null:s===ur.Loading?a.loadingBlockConfig?.[0]??null:null}function Vm(a){return a.loadingBlockConfig?.[1]??null}function Hm(a,s){if(!a||0===a.length)return s;const u=new Set(a);for(const C of s)u.add(C);return a.length===u.size?a:Array.from(u)}function R3(a,s,u){const C=u.get(Ha);return function yo(a,s,u){let C=As.get(a);return Ps=Ps||u(),C||(C=new Sr,Ps.observe(a),As.set(a,C),vo++),C.callbacks.add(s),()=>{As.has(a)&&(C.callbacks.delete(s),0===C.callbacks.size&&(Ps?.unobserve(a),As.delete(a),vo--),0===vo&&(Ps?.disconnect(),Ps=null))}}(a,()=>C.run(s),()=>C.runOutsideAngular(()=>function Fo(){return new IntersectionObserver(a=>{for(const s of a)s.isIntersecting&&As.has(s.target)&&As.get(s.target).listener()})}()))}function Gd(a,s,u,C,R,X,ne){const xe=a[t.YEL],Se=xe.get(Ha);let at;at=function G2(a,s){const u=s?.injector??(0,t.WQX)(t.zZn);return Cs("NgAfterRender"),W2(a,u,s,!1)}({read:function xt(){if((0,t.EPY)(a))return void at.destroy();const qt=cl(a,s),yi=qt[1];if(yi!==uc.Initial&&yi!==ur.Placeholder)return void at.destroy();const bi=function J6(a,s,u){return null==u?a:u>=0?(0,t.jRZ)(u,a):a[s.index][t.Y20]??null}(a,s,C);if(!bi||(at.destroy(),(0,t.EPY)(bi)))return;const Xi=function Vf(a,s){return(0,t.vaC)(t.Yw1+s,a)}(bi,u),_n=R(Xi,()=>{Se.run(()=>{a!==bi&&(0,t.DyX)(bi,_n),X()})},xe);a!==bi&&(0,t.ik5)(bi,_n),i2(ne,qt,_n)}},{injector:xe})}function Hf(a,s){const u=s.get(tg);return u.add(a),()=>u.remove(a)}let tg=(()=>{class a{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=(0,t.WQX)(Ha);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(u){(this.executingCallbacks?this.deferred:this.current).add(u),null===this.idleId&&this.scheduleIdleCallback()}remove(u){const{current:C,deferred:R}=this;C.delete(u),R.delete(u),0===C.size&&0===R.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const u=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const C of this.current)C();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const C of this.deferred)this.current.add(C);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(u))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,t.jDH)({token:a,providedIn:"root",factory:()=>new a})}return a})();function Gu(a){return(s,u)=>O3(a,s,u)}function O3(a,s,u){const C=u.get(ig),R=u.get(Ha);return C.add(a,s,R),()=>C.remove(s)}let ig=(()=>{class a{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(u,C,R){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+u,C),this.scheduleTimer(R)}remove(u){const{current:C,deferred:R}=this;-1===this.removeFromQueue(C,u)&&this.removeFromQueue(R,u),0===C.length&&0===R.length&&this.clearTimeout()}addToQueue(u,C,R){let X=u.length;for(let ne=0;ne<u.length;ne+=2)if(u[ne]>C){X=ne;break}(0,t.llW)(u,X,C,R)}removeFromQueue(u,C){let R=-1;for(let X=0;X<u.length;X+=2)if(u[X+1]===C){R=X;break}return R>-1&&(0,t.gsJ)(u,R,2),R}scheduleTimer(u){const C=()=>{this.clearTimeout(),this.executingCallbacks=!0;const X=[...this.current],ne=Date.now();for(let Se=0;Se<X.length;Se+=2){const xt=X[Se+1];if(!(X[Se]<=ne))break;xt()}let xe=-1;for(let Se=0;Se<this.current.length&&this.current[Se]<=ne;Se+=2)xe=Se+1;if(xe>=0&&(0,t.gsJ)(this.current,0,xe+1),this.executingCallbacks=!1,this.deferred.length>0){for(let Se=0;Se<this.deferred.length;Se+=2)this.addToQueue(this.current,this.deferred[Se],this.deferred[Se+1]);this.deferred.length=0}this.scheduleTimer(u)};if(this.current.length>0){const X=Date.now(),ne=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-ne>16){this.clearTimeout();const xe=Math.max(ne-X,16);this.invokeTimerAt=ne,this.timeoutId=u.runOutsideAngular(()=>setTimeout(()=>u.run(C),xe))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,t.jDH)({token:a,providedIn:"root",factory:()=>new a})}return a})(),ng=(()=>{class a{cachedInjectors=new Map;getOrCreateInjector(u,C,R,X){if(!this.cachedInjectors.has(u)){const ne=R.length>0?H1(R,C,X):null;this.cachedInjectors.set(u,ne)}return this.cachedInjectors.get(u)}ngOnDestroy(){try{for(const u of this.cachedInjectors.values())null!==u&&u.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,t.jDH)({token:a,providedIn:"environment",factory:()=>new a})}return a})();const rg=new t.nKC("");function P3(a,s,u){return a.get(ng).getOrCreateInjector(s,a,u,"")}function Gl(a,s,u,C=!1){const R=u[t.f7T],X=R[t.eDl];if((0,t.EPY)(R))return;const ne=cl(R,s),Se=ne[7];if(!(null!==Se&&a<Se)&&F3(ne[1],a)&&F3(ne[0]??-1,a)){const at=po(X,s),qt=C||null===Vm(at)&&null===I3(at,ur.Loading)&&!I3(at,ur.Placeholder)?Wm:jf;try{qt(a,ne,u,s,R)}catch(yi){M0(R,yi)}}}function Wm(a,s,u,C,R){_e(20);const X=function $6(a,s,u){const R=po(s[t.eDl],u);switch(a){case ur.Complete:return R.primaryTmplIndex;case ur.Loading:return R.loadingTmplIndex;case ur.Error:return R.errorTmplIndex;case ur.Placeholder:return R.placeholderTmplIndex;default:return null}}(a,R,C);if(null!==X){s[1]=a;const ne=R[t.eDl],Se=(0,t.XRZ)(ne,X+t.Yw1),at=0;let xt;if(A0(u,at),a===ur.Complete){const Xi=po(ne,C),_n=Xi.providers;_n&&_n.length>0&&(xt=function sg(a,s,u){if(a instanceof Nc){const R=a.injector,ne=P3(a.parentInjector,s,u);return new Nc(R,ne)}const C=a.get(t.uvJ);if(C!==a){const R=P3(C,s,u);return new Nc(a,R)}return P3(a,s,u)}(R[t.YEL],Xi,_n))}const{dehydratedView:qt,dehydratedViewIx:yi}=function jm(a,s){const u=a[t.qFA]?.findIndex(R=>R.data.s===s[1])??-1;return{dehydratedView:u>-1?a[t.qFA][u]:null,dehydratedViewIx:u}}(u,s),bi=td(R,Se,null,{injector:xt,dehydratedView:qt});if(id(u,bi,at,Lc(Se,qt)),kc(bi,2),yi>-1&&u[t.qFA]?.splice(yi,1),(a===ur.Complete||a===ur.Error)&&Array.isArray(s[8])){for(const Xi of s[8])Xi();s[8]=null}}_e(21)}function og(a,s,u,C,R){const X=Date.now(),xe=po(R[t.eDl],C);if(null===s[2]||s[2]<=X){s[2]=null;const Se=Vm(xe),at=null!==s[3];if(a!==ur.Loading||null===Se||at){a>ur.Loading&&at&&(s[3](),s[3]=null,s[0]=null),Wm(a,s,u,C,R);const xt=I3(xe,a);null!==xt&&(s[2]=X+xt,Xm(xt,s,C,u,R))}else{s[0]=a;const xt=Xm(Se,s,C,u,R);s[3]=xt}}else s[0]=a}function Xm(a,s,u,C,R){return O3(a,()=>{const ne=s[0];s[2]=null,s[0]=null,null!==ne&&Gl(ne,u,C)},R[t.YEL])}function F3(a,s){return a<s}function a2(a,s){Gl(ur.Placeholder,s,a[s.index])}function Gf(a,s,u){a.loadingPromise.then(()=>{a.loadingState===gs.COMPLETE?Gl(ur.Complete,s,u):a.loadingState===gs.FAILED&&Gl(ur.Error,s,u)})}let jf=null;function v(a,s,u,C){return T(()=>{const R=a;null!==s&&(R.hasOwnProperty("decorators")&&void 0!==R.decorators?R.decorators.push(...s):R.decorators=s),null!==u&&(R.ctorParameters=u),null!==C&&(R.propDecorators=R.hasOwnProperty("propDecorators")&&void 0!==R.propDecorators?{...R.propDecorators,...C}:C)})}let O=(()=>{class a{log(u){console.log(u)}warn(u){console.warn(u)}static \u0275fac=function(C){return new(C||a)};static \u0275prov=(0,t.jDH)({token:a,factory:a.\u0275fac,providedIn:"platform"})}return a})();const $m=new t.nKC(""),dg=new t.nKC("");let Zm,N3=(()=>{class a{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(u,C,R){this._ngZone=u,this.registry=C,(0,t.M6u)()&&(this._destroyRef=(0,t.WQX)(t.abz,{optional:!0})??void 0),Zm||(function i5(a){Zm=a}(R),R.addToWindow(C)),this._watchAngularEvents(),u.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const u=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),C=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Ha.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{u.unsubscribe(),C.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let u=this._callbacks.pop();clearTimeout(u.timeoutId),u.doneCb()}});else{let u=this.getPendingTasks();this._callbacks=this._callbacks.filter(C=>!C.updateCb||!C.updateCb(u)||(clearTimeout(C.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(u=>({source:u.source,creationLocation:u.creationLocation,data:u.data})):[]}addCallback(u,C,R){let X=-1;C&&C>0&&(X=setTimeout(()=>{this._callbacks=this._callbacks.filter(ne=>ne.timeoutId!==X),u()},C)),this._callbacks.push({doneCb:u,timeoutId:X,updateCb:R})}whenStable(u,C,R){if(R&&!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(u,C,R),this._runCallbacksIfReady()}registerApplication(u){this.registry.registerApplication(u,this)}unregisterApplication(u){this.registry.unregisterApplication(u)}findProviders(u,C,R){return[]}static \u0275fac=function(C){return new(C||a)((0,t.KVO)(Ha),(0,t.KVO)(ug),(0,t.KVO)(dg))};static \u0275prov=(0,t.jDH)({token:a,factory:a.\u0275fac})}return a})(),ug=(()=>{class a{_applications=new Map;registerApplication(u,C){this._applications.set(u,C)}unregisterApplication(u){this._applications.delete(u)}unregisterAllApplications(){this._applications.clear()}getTestability(u){return this._applications.get(u)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(u,C=!0){return Zm?.findTestabilityInTree(this,u,C)??null}static \u0275fac=function(C){return new(C||a)};static \u0275prov=(0,t.jDH)({token:a,factory:a.\u0275fac,providedIn:"platform"})}return a})();function Jm(a){return!!a&&"function"==typeof a.then}function hg(a){return!!a&&"function"==typeof a.subscribe}const fg=new t.nKC("");function n5(a){return(0,t.EmA)([{provide:fg,multi:!0,useValue:a}])}let mg=(()=>{class a{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((u,C)=>{this.resolve=u,this.reject=C});appInits=(0,t.WQX)(fg,{optional:!0})??[];injector=(0,t.WQX)(t.zZn);constructor(){}runInitializers(){if(this.initialized)return;const u=[];for(const R of this.appInits){const X=(0,t.N4e)(this.injector,R);if(Jm(X))u.push(X);else if(hg(X)){const ne=new Promise((xe,Se)=>{X.subscribe({complete:xe,error:Se})});u.push(ne)}}const C=()=>{this.done=!0,this.resolve()};Promise.all(u).then(()=>{C()}).catch(R=>{this.reject(R)}),0===u.length&&C(),this.initialized=!0}static \u0275fac=function(C){return new(C||a)};static \u0275prov=(0,t.jDH)({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();const qm=new t.nKC("");function a5(){}function pg(){(0,p.KO)(()=>{throw new t.buA(600,"")})}function ep(a,s){return Array.isArray(s)?s.reduce(ep,a):{...a,...s}}let B3=(()=>{class a{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,t.WQX)(t.ZTf);afterRenderManager=(0,t.WQX)(c0);zonelessEnabled=(0,t.WQX)(t.Evm);rootEffectScheduler=(0,t.WQX)(t.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new S.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,t.WQX)(t.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,e.T)(u=>!u))}constructor(){(0,t.WQX)(xc,{optional:!0})}whenStable(){let u;return new Promise(C=>{u=this.isStable.subscribe({next:R=>{R&&C()}})}).finally(()=>{u.unsubscribe()})}_injector=(0,t.WQX)(t.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(u,C){return this.bootstrapImpl(u,C)}bootstrapImpl(u,C,R=t.zZn.NULL){return this._injector.get(Ha).run(()=>{_e(10);const ne=u instanceof uf;if(!this._injector.get(mg).done)throw new t.buA(405,"");let Se;Se=ne?u:this._injector.get(k1).resolveComponentFactory(u),this.componentTypes.push(Se.componentType);const at=function r5(a){return a.isBoundToModule}(Se)?void 0:this._injector.get(Vc),qt=Se.create(R,[],C||Se.selector,at),yi=qt.location.nativeElement,bi=qt.injector.get($m,null);return bi?.registerApplication(yi),qt.onDestroy(()=>{this.detachView(qt.hostView),z3(this.components,qt),bi?.unregisterApplication(yi)}),this._loadComponent(qt),_e(11,qt),qt})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){_e(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(s0.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new t.buA(101,!1);const u=(0,p.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,p.Ht)(u),this.afterTick.next(),_e(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Tu,null,{optional:!0}));let u=0;for(;0!==this.dirtyFlags&&u++<10;)_e(14),this.synchronizeOnce(),_e(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let u=!1;if(7&this.dirtyFlags){const C=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:R}of this.allViews)(C||(0,t.dMS)(R))&&(M1(R,C&&!this.zonelessEnabled?0:1),u=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}u||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:u})=>(0,t.dMS)(u))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(u){const C=u;this._views.push(C),C.attachToAppRef(this)}detachView(u){const C=u;z3(this._views,C),C.detachFromAppRef()}_loadComponent(u){this.attachView(u.hostView);try{this.tick()}catch(R){this.internalErrorHandler(R)}this.components.push(u),this._injector.get(qm,[]).forEach(R=>R(u))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(u=>u()),this._views.slice().forEach(u=>u.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(u){return this._destroyListeners.push(u),()=>z3(this._destroyListeners,u)}destroy(){if(this._destroyed)throw new t.buA(406,!1);const u=this._injector;u.destroy&&!u.destroyed&&u.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(C){return new(C||a)};static \u0275prov=(0,t.jDH)({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();function z3(a,s){const u=a.indexOf(s);u>-1&&a.splice(u,1)}function tp(){let a,s;return{promise:new Promise((C,R)=>{a=C,s=R}),resolve:a,reject:s}}function ip(a){const s=(0,t.OAn)(),u=(0,t.Mx4)();if(a2(s,u),!_g(0,s))return;const C=s[t.YEL];i2(0,cl(s,u),a(()=>W1(0,s,u),C))}function gg(a){const s=(0,t.OAn)(),u=s[t.YEL],C=(0,t.Mx4)(),X=po(s[t.eDl],C);X.loadingState===gs.NOT_STARTED&&i2(1,cl(s,C),a(()=>Wf(X,s,C),u))}function np(a,s,u){const C=s[t.YEL],R=cl(s,u),X=R[6];i2(2,R,a(()=>s2(C,X),C))}function Wf(a,s,u){U3(a,s,u)}function U3(a,s,u){const C=s[t.YEL],R=s[t.eDl];if(a.loadingState!==gs.NOT_STARTED)return a.loadingPromise??Promise.resolve();const X=cl(s,u),ne=function Z6(a,s){return(0,t.XRZ)(a,s.primaryTmplIndex+t.Yw1)}(R,a);a.loadingState=gs.IN_PROGRESS,Uf(1,X);let xe=a.dependencyResolverFn;const Se=C.get(t.u5s).add();return xe?(a.loadingPromise=Promise.allSettled(xe()).then(at=>{let xt=!1;const qt=[],yi=[];for(const bi of at){if("fulfilled"!==bi.status){xt=!0;break}{const Xi=bi.value,_n=(0,t.xUg)(Xi)||(0,t.HaV)(Xi);if(_n)qt.push(_n);else{const jn=(0,t.oyA)(Xi);jn&&yi.push(jn)}}}if(xt){if(a.loadingState=gs.FAILED,null===a.errorTmplIndex){const Xi=new t.buA(-750,!1);M0(s,Xi)}}else{a.loadingState=gs.COMPLETE;const bi=ne.tView;if(qt.length>0){bi.directiveRegistry=Hm(bi.directiveRegistry,qt);const Xi=qt.map(jn=>jn.type),_n=(0,t.jXY)(!1,...Xi);a.providers=_n}yi.length>0&&(bi.pipeRegistry=Hm(bi.pipeRegistry,yi))}}),a.loadingPromise.finally(()=>{a.loadingPromise=null,Se()})):(a.loadingPromise=Promise.resolve().then(()=>{a.loadingPromise=null,a.loadingState=gs.COMPLETE,Se()}),a.loadingPromise)}function _g(a,s){return s[t.YEL].get(rg,null,{optional:!0})?.behavior!==zm.Manual}function W1(a,s,u){const C=s[t.eDl],R=s[u.index];if(!_g(0,s))return;const X=cl(s,u),ne=po(C,u);switch(A3(X),ne.loadingState){case gs.NOT_STARTED:Gl(ur.Loading,u,R),U3(ne,s,u),ne.loadingState===gs.IN_PROGRESS&&Gf(ne,u,R);break;case gs.IN_PROGRESS:Gl(ur.Loading,u,R),Gf(ne,u,R);break;case gs.COMPLETE:Gl(ur.Complete,u,R);break;case gs.FAILED:Gl(ur.Error,u,R)}}function s2(a,s,u){return ap.apply(this,arguments)}function ap(){return(ap=(0,i.A)(function*(a,s,u){const C=a.get(Rr);if(C.hydrating.has(s))return;const{parentBlockPromise:X,hydrationQueue:ne}=function On(a,s){const u=s.get(Rr),R=s.get(za).get("__nghDeferData__",{});let X=!1,ne=a,xe=null;const Se=[];for(;!X&&ne;){X=u.has(ne);const at=u.hydrating.get(ne);if(null===xe&&null!=at){xe=at.promise;break}Se.unshift(ne),ne=R[ne].p}return{parentBlockPromise:xe,hydrationQueue:Se}}(s,a);if(0===ne.length)return;null!==X&&ne.shift(),function c5(a,s){for(let u of s)a.hydrating.set(u,tp())}(C,ne),null!==X&&(yield X);const xe=ne[0];C.has(xe)?yield vg(a,ne,u):C.awaitParentBlock(xe,(0,i.A)(function*(){return yield vg(a,ne,u)}))})).apply(this,arguments)}function vg(a,s,u){return rp.apply(this,arguments)}function rp(){return(rp=(0,i.A)(function*(a,s,u){const C=a.get(Rr),R=C.hydrating,X=a.get(t.rev),ne=X.add();for(let Se=0;Se<s.length;Se++){const at=s[Se],xt=C.get(at);if(null==xt){l5(Se,s,C),bg(s.slice(Se),C);break}if(yield u5(xt),yield d5(a),yg(xt)){Mu(xt),bg(s.slice(Se),C);break}R.get(at).resolve()}const xe=s[s.length-1];yield R.get(xe)?.promise,X.remove(ne),u&&u(s),function U4(a,s,u,C){null!==a&&(u.cleanup(s),Pd(a.lContainer),function sf(a){const s=a._views;for(const u of s){const C=pl(u);null!==C&&null!==C[t.jgP]&&((0,t.q$2)(C)?L1(C):Pd(C))}}(C))}(C.get(xe),s,C,a.get(B3))})).apply(this,arguments)}function yg(a){return cl(a.lView,a.tNode)[1]===ur.Error}function l5(a,s,u){const C=a-1,R=C>-1?u.get(s[C]):null;R&&Pd(R.lContainer)}function bg(a,s){const u=s.hydrating;for(const C in a)u.get(C)?.reject();s.cleanup(a)}function d5(a){return new Promise(s=>d0(s,{injector:a}))}function u5(a){return sp.apply(this,arguments)}function sp(){return(sp=(0,i.A)(function*(a){const{tNode:s,lView:u}=a,C=cl(u,s);return new Promise(R=>{(function h5(a,s){Array.isArray(a[8])||(a[8]=[]),a[8].push(s)})(C,R),W1(0,u,s)})})).apply(this,arguments)}function ws(a,s,u){return 0===a?Cg(s,u):2!==a||!Cg(s,u)}function Cg(a,s){const u=a[t.YEL],C=po(a[t.eDl],s),R=Ho(u),X=function xg(a){return null!=a&&!(1&~a)}(C.flags),xe=null!==cl(a,s)[6];return!(X&&xe&&R)}function Xd(a,s){const u=po(a,s);return u.hydrateTriggers??=new Map}function cp(a,s){const u=(0,t.OAn)();if(un(u,(0,t.xbp)(),s)){const R=(0,t.klJ)(),X=(0,t.CpD)();if(b1(X,R,u,a,s))(0,t.Qs1)(X)&&oc(u,X.index);else{const xe=(0,t.d31)(X,u);Ed(u[t.GpT],xe,null,X.value,a,s,null)}}return cp}function dp(a,s,u,C){const R=(0,t.OAn)();return un(R,(0,t.xbp)(),s)&&((0,t.klJ)(),function x0(a,s,u,C,R,X){const ne=(0,t.d31)(a,s);Ed(s[t.GpT],ne,X,a.value,u,C,R)}((0,t.CpD)(),R,a,s,u,C)),dp}const F5=new t.nKC("",{providedIn:"root",factory:()=>!1}),N5=new t.nKC("",{providedIn:"root",factory:()=>B5}),B5=4e3,o2=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function Xf(a){return a[t.YEL].get(F5,!1)}function Kf(a){const s=Wu.get(a);if(s){for(const u of s.cleanupFns)u();Wu.delete(a)}l2.delete(a)}const U5=()=>{},Wu=new WeakMap,l2=new WeakMap,c2=new WeakMap;function up(a,s){const u=c2.get(a);if(u&&u.length>0){const C=u.findIndex(R=>R===s);C>-1&&u.splice(C,1)}0===u?.length&&c2.delete(a)}function Xu(a,s){const u=c2.get(a)?.shift(),C=s[t.rQE];if(C){const X=Md(a.index,C)?.previousSibling;u&&X&&u===X&&u.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function hp(a,s){c2.has(a)?c2.get(a)?.push(s):c2.set(a,[s])}function H3(a){const s=a[t.Isx]??={};return s.enter??=new Map}function d2(a){const s=a[t.Isx]??={};return s.leave??=new Map}function Tg(a){const s="function"==typeof a?a():a;let u=Array.isArray(s)?s:null;return"string"==typeof s&&(u=s.trim().split(/\s+/).filter(C=>C)),u}function Dg(a,s){const u=l2.get(s);return void 0===u||s===a.target&&(void 0!==u.animationName&&a.animationName===u.animationName||void 0!==u.propertyName&&a.propertyName===u.propertyName)}function G3(a,s,u){const C=a.get(s.index)??{animateFns:[]};C.animateFns.push(u),a.set(s.index,C)}function j3(a,s){if(a)for(const u of a)u();for(const u of s)u()}function mp(a,s){const u=d2(a).get(s.index);u&&(u.resolvers=void 0)}function W3(a,s,u,C,R){up(s,u),j3(C,R),mp(a,s)}class Y5{destroy(s){}updateValue(s,u){}swap(s,u){const C=Math.min(s,u),R=Math.max(s,u),X=this.detach(R);if(R-C>1){const ne=this.detach(C);this.attach(C,X),this.attach(R,ne)}else this.attach(C,X)}move(s,u){this.attach(u,this.detach(s))}}function pp(a,s,u,C,R){return a===u&&Object.is(s,C)?1:Object.is(R(a,s),R(u,C))?-1:0}function Qf(a,s,u,C){return!(void 0===s||!s.has(C)||(a.attach(u,s.get(C)),s.delete(C),0))}function Lg(a,s,u,C,R){if(Qf(a,s,C,u(C,R)))a.updateValue(C,R);else{const X=a.create(C,R);a.attach(C,X)}}function Ig(a,s,u,C){const R=new Set;for(let X=s;X<=u;X++)R.add(C(X,a.at(X)));return R}class gp{kvMap=new Map;_vMap=void 0;has(s){return this.kvMap.has(s)}delete(s){if(!this.has(s))return!1;const u=this.kvMap.get(s);return void 0!==this._vMap&&this._vMap.has(u)?(this.kvMap.set(s,this._vMap.get(u)),this._vMap.delete(u)):this.kvMap.delete(s),!0}get(s){return this.kvMap.get(s)}set(s,u){if(this.kvMap.has(s)){let C=this.kvMap.get(s);void 0===this._vMap&&(this._vMap=new Map);const R=this._vMap;for(;R.has(C);)C=R.get(C);R.set(C,u)}else this.kvMap.set(s,u)}forEach(s){for(let[u,C]of this.kvMap)if(s(C,u),void 0!==this._vMap){const R=this._vMap;for(;R.has(C);)C=R.get(C),s(C,u)}}}function _p(a,s,u,C,R,X,ne,xe){Cs("NgControlFlow");const Se=(0,t.OAn)(),at=(0,t.klJ)();return Vd(Se,at,a,s,u,C,R,(0,t.db4)(at.consts,X),256,ne,xe),vp}function vp(a,s,u,C,R,X,ne,xe){Cs("NgControlFlow");const Se=(0,t.OAn)(),at=(0,t.klJ)();return Vd(Se,at,a,s,u,C,R,(0,t.db4)(at.consts,X),512,ne,xe),vp}function kg(a,s){Cs("NgControlFlow");const u=(0,t.OAn)(),C=(0,t.xbp)(),R=u[C]!==qa?u[C]:-1,X=-1!==R?Q3(u,t.Yw1+R):void 0;if(un(u,C,a)){const xe=(0,p.Ht)(null);try{if(void 0!==X&&A0(X,0),-1!==a){const Se=t.Yw1+a,at=Q3(u,Se),xt=xp(u[t.eDl],Se),qt=wu(at,xt,u);id(at,td(u,xt,s,{dehydratedView:qt}),0,Lc(xt,qt))}}finally{(0,p.Ht)(xe)}}else if(void 0!==X){const xe=D0(X,0);void 0!==xe&&(xe[t.SKP]=s)}}class $5{lContainer;$implicit;$index;constructor(s,u,C){this.lContainer=s,this.$implicit=u,this.$index=C}get $count(){return this.lContainer.length-t.Y20}}function Rg(a,s){return s}class J5{hasEmptyBlock;trackByFn;liveCollection;constructor(s,u,C){this.hasEmptyBlock=s,this.trackByFn=u,this.liveCollection=C}}function yp(a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi){Cs("NgControlFlow");const bi=(0,t.OAn)(),Xi=(0,t.klJ)(),_n=void 0!==Se,jn=(0,t.OAn)(),Yn=xe?ne.bind(jn[t.b5C][t.SKP]):ne,xn=new J5(_n,Yn);jn[t.Yw1+a]=xn,Vd(bi,Xi,a+1,s,u,C,R,(0,t.db4)(Xi.consts,X),256),_n&&Vd(bi,Xi,a+2,Se,at,xt,qt,(0,t.db4)(Xi.consts,yi),512)}class e7 extends Y5{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(s,u,C){super(),this.lContainer=s,this.hostLView=u,this.templateTNode=C}get length(){return this.lContainer.length-t.Y20}at(s){return this.getLView(s)[t.SKP].$implicit}attach(s,u){const C=u[t.tcA];this.needsIndexUpdate||=s!==this.length,id(this.lContainer,u,s,Lc(this.templateTNode,C)),function Og(a,s){if(a.length<=t.Y20)return;const C=a[t.Y20+s],R=C?C[t.Isx]:void 0;C&&R&&R.detachedLeaveAnimationFns&&R.detachedLeaveAnimationFns.length>0&&(function sh(a,s){const u=a.get(d1);if(s.detachedLeaveAnimationFns){for(const C of s.detachedLeaveAnimationFns)u.queue.delete(C);s.detachedLeaveAnimationFns=void 0}}(C[t.YEL],R),bc.delete(C),R.detachedLeaveAnimationFns=void 0)}(this.lContainer,s)}detach(s){return this.needsIndexUpdate||=s!==this.length-1,function t7(a,s){if(a.length<=t.Y20)return;const C=a[t.Y20+s],R=C?C[t.Isx]:void 0;R&&R.leave&&R.leave.size>0&&(R.detachedLeaveAnimationFns=[])}(this.lContainer,s),function i7(a,s){return Sd(a,s)}(this.lContainer,s)}create(s,u){const C=I1(this.lContainer,this.templateTNode.tView.ssrId),R=td(this.hostLView,this.templateTNode,new $5(this.lContainer,u,s),{dehydratedView:C});return this.operationsCounter?.recordCreate(),R}destroy(s){Zc(s[t.eDl],s),this.operationsCounter?.recordDestroy()}updateValue(s,u){this.getLView(s)[t.SKP].$implicit=u}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let s=0;s<this.length;s++)this.getLView(s)[t.SKP].$index=s}getLView(s){return function $f(a,s){return D0(a,s)}(this.lContainer,s)}}function bp(a){const s=(0,p.Ht)(null),u=(0,t._px)();try{const C=(0,t.OAn)(),R=C[t.eDl],X=C[u],ne=u+1,xe=Q3(C,ne);if(void 0===X.liveCollection){const at=xp(R,ne);X.liveCollection=new e7(xe,C,at)}else X.liveCollection.reset();const Se=X.liveCollection;if(function Q5(a,s,u){let C,R,X=0,ne=a.length-1;if(Array.isArray(s)){let Se=s.length-1;for(;X<=ne&&X<=Se;){const at=a.at(X),xt=s[X],qt=pp(X,at,X,xt,u);if(0!==qt){qt<0&&a.updateValue(X,xt),X++;continue}const yi=a.at(ne),bi=s[Se],Xi=pp(ne,yi,Se,bi,u);if(0!==Xi){Xi<0&&a.updateValue(ne,bi),ne--,Se--;continue}const _n=u(X,at),jn=u(ne,yi),Yn=u(X,xt);if(Object.is(Yn,jn)){const xn=u(Se,bi);Object.is(xn,_n)?(a.swap(X,ne),a.updateValue(ne,bi),Se--,ne--):a.move(ne,X),a.updateValue(X,xt),X++;continue}if(C??=new gp,R??=Ig(a,X,ne,u),Qf(a,C,X,Yn))a.updateValue(X,xt),X++,ne++;else if(R.has(Yn))C.set(_n,a.detach(X)),ne--;else{const xn=a.create(X,s[X]);a.attach(X,xn),X++,ne++}}for(;X<=Se;)Lg(a,C,u,X,s[X]),X++}else if(null!=s){const Se=s[Symbol.iterator]();let at=Se.next();for(;!at.done&&X<=ne;){const xt=a.at(X),qt=at.value,yi=pp(X,xt,X,qt,u);if(0!==yi)yi<0&&a.updateValue(X,qt),X++,at=Se.next();else{C??=new gp,R??=Ig(a,X,ne,u);const bi=u(X,qt);if(Qf(a,C,X,bi))a.updateValue(X,qt),X++,ne++,at=Se.next();else if(R.has(bi)){const Xi=u(X,xt);C.set(Xi,a.detach(X)),ne--}else a.attach(X,a.create(X,qt)),X++,ne++,at=Se.next()}}for(;!at.done;)Lg(a,C,u,a.length,at.value),at=Se.next()}for(;X<=ne;)a.destroy(a.detach(ne--));C?.forEach(Se=>{a.destroy(Se)})}(Se,a,X.trackByFn),Se.updateIndexes(),X.hasEmptyBlock){const at=(0,t.xbp)(),xt=0===Se.length;if(un(C,at,xt)){const qt=u+2,yi=Q3(C,qt);if(xt){const bi=xp(R,qt),Xi=wu(yi,bi,C);id(yi,td(C,bi,void 0,{dehydratedView:Xi}),0,Lc(bi,Xi))}else R.firstUpdatePass&&Od(yi),A0(yi,0)}}}finally{(0,p.Ht)(s)}}function Q3(a,s){return a[s]}function xp(a,s){return(0,t.XRZ)(a,s)}function Cp(a,s,u){const C=(0,t.OAn)();return un(C,(0,t.xbp)(),s)&&((0,t.klJ)(),y0((0,t.CpD)(),C,a,s,C[t.GpT],u)),Cp}function Mp(a,s,u,C,R){b1(s,a,u,R?"class":"style",C)}function Zf(a,s,u,C){const R=(0,t.OAn)(),X=R[t.eDl],ne=a+t.Yw1,xe=X.firstCreatePass?L(ne,R,2,s,y1,(0,t.ckz)(),u,C):X.data[ne];if(Ul(xe,R,a,s,J3),(0,t.yoD)(xe)){const Se=R[t.eDl];Jc(Se,R,xe),xl(Se,xe,R)}return null!=C&&qc(R,xe),Zf}function Jf(){const a=(0,t.klJ)(),u=ed((0,t.Mx4)());return a.firstCreatePass&&H(a,u),(0,t.UhH)(u)&&(0,t.krE)(),(0,t.N79)(),null!=u.classesWithoutHost&&function Ht(a){return!!(8&a.flags)}(u)&&Mp(a,u,(0,t.OAn)(),u.classesWithoutHost,!0),null!=u.stylesWithoutHost&&function ct(a){return!!(16&a.flags)}(u)&&Mp(a,u,(0,t.OAn)(),u.stylesWithoutHost,!1),Jf}function Ep(a,s,u,C){return Zf(a,s,u,C),Jf(),Ep}function $3(a,s,u,C){const R=(0,t.OAn)(),X=R[t.eDl],ne=a+t.Yw1,xe=X.firstCreatePass?Y(ne,X,2,s,u,C):X.data[ne];return Ul(xe,R,a,s,J3),null!=C&&qc(R,xe),$3}function Z3(){const s=ed((0,t.Mx4)());return(0,t.UhH)(s)&&(0,t.krE)(),(0,t.N79)(),Z3}function wp(a,s,u,C){return $3(a,s,u,C),Z3(),wp}let J3=(a,s,u,C,R)=>((0,t.m7n)(!0),e1(s[t.GpT],C,(0,t.UaU)()));function q3(a,s,u){const C=(0,t.OAn)(),R=C[t.eDl],X=a+t.Yw1,ne=R.firstCreatePass?L(X,C,8,"ng-container",y1,(0,t.ckz)(),s,u):R.data[X];if(Ul(ne,C,a,"ng-container",Ap),(0,t.yoD)(ne)){const xe=C[t.eDl];Jc(xe,C,ne),xl(xe,ne,C)}return null!=u&&qc(C,ne),q3}function u2(){const a=(0,t.klJ)(),u=ed((0,t.Mx4)());return a.firstCreatePass&&H(a,u),u2}function Sp(a,s,u){return q3(a,s,u),u2(),Sp}function Tp(a,s,u){const C=(0,t.OAn)(),R=C[t.eDl],X=a+t.Yw1,ne=R.firstCreatePass?Y(X,R,8,"ng-container",s,u):R.data[X];return Ul(ne,C,a,"ng-container",Ap),null!=u&&qc(C,ne),Tp}function Pg(){return ed((0,t.Mx4)()),u2}let Ap=(a,s,u,C,R)=>((0,t.m7n)(!0),e0(s[t.GpT],""));function Fg(){return(0,t.OAn)()}function em(a,s,u){const C=(0,t.OAn)();return un(C,(0,t.xbp)(),s)&&((0,t.klJ)(),b0((0,t.CpD)(),C,a,s,C[t.GpT],u)),em}const Ku=void 0;var o7=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["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"]],Ku,[["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"]],Ku,[["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}",Ku,"{1} 'at' {0}",Ku],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function s7(a){const s=Math.floor(Math.abs(a)),u=a.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===u?1:5}];let Yu={};function Lp(a){const s=function c7(a){return a.toLowerCase().replace(/_/g,"-")}(a);let u=Bg(s);if(u)return u;const C=s.split("-")[0];if(u=Bg(C),u)return u;if("en"===C)return o7;throw new t.buA(701,!1)}function Ip(a){return Lp(a)[Qu.PluralCase]}function Bg(a){return a in Yu||(Yu[a]=t.laP.ng&&t.laP.ng.common&&t.laP.ng.common.locales&&t.laP.ng.common.locales[a]),Yu[a]}var Qu=function(a){return a[a.LocaleId=0]="LocaleId",a[a.DayPeriodsFormat=1]="DayPeriodsFormat",a[a.DayPeriodsStandalone=2]="DayPeriodsStandalone",a[a.DaysFormat=3]="DaysFormat",a[a.DaysStandalone=4]="DaysStandalone",a[a.MonthsFormat=5]="MonthsFormat",a[a.MonthsStandalone=6]="MonthsStandalone",a[a.Eras=7]="Eras",a[a.FirstDayOfWeek=8]="FirstDayOfWeek",a[a.WeekendRange=9]="WeekendRange",a[a.DateFormat=10]="DateFormat",a[a.TimeFormat=11]="TimeFormat",a[a.DateTimeFormat=12]="DateTimeFormat",a[a.NumberSymbols=13]="NumberSymbols",a[a.NumberFormats=14]="NumberFormats",a[a.CurrencyCode=15]="CurrencyCode",a[a.CurrencySymbol=16]="CurrencySymbol",a[a.CurrencyName=17]="CurrencyName",a[a.Currencies=18]="Currencies",a[a.Directionality=19]="Directionality",a[a.PluralCase=20]="PluralCase",a[a.ExtraData=21]="ExtraData",a}(Qu||{});const d7=["zero","one","two","few","many"],kp="en-US",tm={marker:"element"},X1={marker:"ICU"};var Tl=function(a){return a[a.SHIFT=2]="SHIFT",a[a.APPEND_EAGERLY=1]="APPEND_EAGERLY",a[a.COMMENT=2]="COMMENT",a}(Tl||{});let Vg=kp;function u7(a){"string"==typeof a&&(Vg=a.toLowerCase().replace(/_/g,"-"))}let qf=0,e4=0;let t4=(a,s,u,C)=>((0,t.m7n)(!0),function Gg(a,s,u){const C=a[t.GpT];switch(u){case Node.COMMENT_NODE:return e0(C,s);case Node.TEXT_NODE:return q1(C,s);case Node.ELEMENT_NODE:return e1(C,s,null)}}(a,u,C));function Xg(a,s,u,C){const R=u[t.GpT];let ne,X=null;for(let xe=0;xe<s.length;xe++){const Se=s[xe];if("string"==typeof Se){const at=s[++xe];null===u[at]&&(u[at]=t4(u,0,Se,Node.TEXT_NODE))}else if("number"==typeof Se)switch(1&Se){case 0:const at=N0(Se);let xt,qt;if(null===X&&(X=at,ne=R.parentNode(C)),at===X?(xt=C,qt=ne):(xt=null,qt=(0,t.IvY)(u[at])),null!==qt){const _n=Xh(Se);zl(R,qt,u[_n],xt,!1);const Yn=P0(a,_n);if(null!==Yn&&"object"==typeof Yn){const xn=F0(Yn,u);null!==xn&&Xg(a,Yn.create[xn],u,u[Yn.anchorIdx])}}break;case 1:const bi=s[++xe],Xi=s[++xe];Ed(R,(0,t.vaC)(Se>>>1,u),null,null,bi,Xi,null)}else switch(Se){case X1:const at=s[++xe],xt=s[++xe];null===u[xt]&&gi(u[xt]=t4(u,0,at,Node.COMMENT_NODE),u);break;case tm:const qt=s[++xe],yi=s[++xe];null===u[yi]&&gi(u[yi]=t4(u,0,qt,Node.ELEMENT_NODE),u)}}}function Rp(a,s,u,C,R){for(let X=0;X<u.length;X++){const ne=u[X],xe=u[++X];if(ne&R){let Se="";for(let at=X+1;at<=X+xe;at++){const xt=u[at];if("string"==typeof xt)Se+=xt;else if("number"==typeof xt)if(xt<0)Se+=(0,t.eFE)(s[C-xt]);else{const qt=xt>>>2;switch(3&xt){case 1:const yi=u[++at],bi=u[++at],Xi=a.data[qt];"string"==typeof Xi?Ed(s[t.GpT],s[qt],null,Xi,yi,Se,bi):y0(Xi,s,yi,Se,s[t.GpT],bi);break;case 0:const _n=s[qt];null!==_n&&E2(s[t.GpT],_n,Se);break;case 2:m7(a,P0(a,qt),s,Se);break;case 3:Kg(a,P0(a,qt),C,s)}}}}else{const Se=u[X+1];if(Se>0&&!(3&~Se)){const xt=P0(a,Se>>>2);s[xt.currentCaseLViewIndex]<0&&Kg(a,xt,C,s)}}X+=xe}}function Kg(a,s,u,C){let R=C[s.currentCaseLViewIndex];if(null!==R){let X=qf;R<0&&(R=C[s.currentCaseLViewIndex]=~R,X=-1),Rp(a,C,s.update[R],u,X)}}function m7(a,s,u,C){const R=function p7(a,s){let u=a.cases.indexOf(s);if(-1===u)switch(a.type){case 1:{const C=function zg(a,s){const u=Ip(s)(parseInt(a,10)),C=d7[u];return void 0!==C?C:"other"}(s,function h7(){return Vg}());u=a.cases.indexOf(C),-1===u&&"other"!==C&&(u=a.cases.indexOf("other"));break}case 0:u=a.cases.indexOf("other")}return-1===u?null:u}(s,C);if(F0(s,u)!==R&&(Yg(a,s,u),u[s.currentCaseLViewIndex]=null===R?null:~R,null!==R)){const ne=u[s.anchorIdx];ne&&Xg(a,s.create[R],u,ne)}}function Yg(a,s,u){let C=F0(s,u);if(null!==C){const R=s.remove[C];for(let X=0;X<R.length;X++){const ne=R[X];if(ne>0){const xe=(0,t.vaC)(ne,u);null!==xe&&nr(u[t.GpT],xe)}else Yg(a,P0(a,~ne),u)}}}const im=/\ufffd(\d+):?\d*\ufffd/gi,_7=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,v7=/\ufffd(\d+)\ufffd/,Op=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,$g=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,y7=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Zg=/\uE500/g;function nm(a,s,u,C,R,X,ne){const xe=Kc(a,C,1,null);let Se=xe<<Tl.SHIFT,at=(0,t.Ab)();s===at&&(at=null),null===at&&(Se|=Tl.APPEND_EAGERLY),ne&&(Se|=Tl.COMMENT,function th(a){void 0===a0&&(a0=a())}(Kh)),R.push(Se,null===X?"":X);const xt=O0(a,xe,ne?32:1,null===X?"":X,null);kd(u,xt);const qt=xt.index;return(0,t.iMd)(xt,!1),null!==at&&s!==at&&function gm(a,s){let u=a.insertBeforeIndex;null===u?(Cd(du,uu),u=a.insertBeforeIndex=[null,s]):((0,t.Xln)(Array.isArray(u),!0,"Expecting array here"),u.push(s))}(at,qt),xt}function C7(a,s,u,C,R,X,ne,xe){const Se=xe.match(im),xt=nm(s,u,C,ne,R,Se?null:xe,!1).index;Se&&n4(X,xe,xt,null,0,null),a.push({kind:0,index:xt})}function n4(a,s,u,C,R,X){const ne=a.length,xe=ne+1;a.push(null,null);const Se=ne+2,at=s.split(im);let xt=0;for(let qt=0;qt<at.length;qt++){const yi=at[qt];if(1&qt){const bi=R+parseInt(yi,10);a.push(-1-bi),xt|=Jg(bi)}else""!==yi&&a.push(yi)}return a.push(u<<2|(C?1:0)),C&&a.push(C,X),a[ne]=xt,a[xe]=a.length-Se,xt}function E7(a){let s=0;for(let u=0;u<a.length;u++){const C=a[u];"number"==typeof C&&C<0&&s++}return s}function Jg(a){return 1<<Math.min(a,31)}function Pp(a){let s,X,u="",C=0,R=!1;for(;null!==(s=$g.exec(a));)R?s[0]===`\ufffd/*${X}\ufffd`&&(C=s.index,R=!1):(u+=a.substring(C,s.index+s[0].length),X=s[1],R=!0);return u+=a.slice(C),u}function Fp(a,s,u,C,R,X,ne){let xe=0;const Se={type:X.type,currentCaseLViewIndex:Kc(s,u,1,null),anchorIdx:ne,cases:[],create:[],remove:[],update:[]};(function e8(a,s,u){a.push(Jg(s.mainBinding),2,-1-s.mainBinding,u<<2|2)})(C,X,ne),function Rd(a,s,u){const C=a.data[s];null===C?a.data[s]=u:C.value=u}(s,ne,Se);const at=X.values,xt=[];for(let qt=0;qt<at.length;qt++){const yi=at[qt],bi=[];for(let _n=0;_n<yi.length;_n++){const jn=yi[_n];if("string"!=typeof jn){const Yn=bi.push(jn)-1;yi[_n]=`\x3c!--\ufffd${Yn}\ufffd--\x3e`}}const Xi=[];xt.push(Xi),xe=T7(Xi,s,Se,u,C,R,X.cases[qt],yi.join(""),bi)|xe}xe&&function A7(a,s,u){a.push(s,1,u<<2|3)}(C,xe,ne),a.push({kind:3,index:ne,cases:xt,currentCaseLViewIndex:Se.currentCaseLViewIndex})}function S7(a){const s=[],u=[];let C=1,R=0;const X=Np(a=a.replace(Op,function(ne,xe,Se){return C="select"===Se?0:1,R=parseInt(xe.slice(1),10),""}));for(let ne=0;ne<X.length;){let xe=X[ne++].trim();1===C&&(xe=xe.replace(/\s*(?:=)?(\w+)\s*/,"$1")),xe.length&&s.push(xe);const Se=Np(X[ne++]);s.length>u.length&&u.push(Se)}return{type:C,mainBinding:R,cases:s,values:u}}function Np(a){if(!a)return[];let s=0;const u=[],C=[],R=/[{}]/g;let X;for(R.lastIndex=0;X=R.exec(a);){const xe=X.index;if("}"==X[0]){if(u.pop(),0==u.length){const Se=a.substring(s,xe);Op.test(Se)?C.push(S7(Se)):C.push(Se),s=xe+1}}else{if(0==u.length){const Se=a.substring(s,xe);C.push(Se),s=xe+1}u.push("{")}}const ne=a.substring(s);return C.push(ne),C}function T7(a,s,u,C,R,X,ne,xe,Se){const at=[],xt=[],qt=[];u.cases.push(ne),u.create.push(at),u.remove.push(xt),u.update.push(qt);const bi=Ol(Ui()).getInertBodyElement(xe),Xi=Pi(bi)||bi;return Xi?qg(a,s,u,C,R,at,xt,qt,Xi,X,Se,0):0}function qg(a,s,u,C,R,X,ne,xe,Se,at,xt,qt){let yi=0,bi=Se.firstChild;for(;bi;){const Xi=Kc(s,C,1,null);switch(bi.nodeType){case Node.ELEMENT_NODE:const _n=bi,jn=_n.tagName.toLowerCase();if(Va.hasOwnProperty(jn)){zp(X,tm,jn,at,Xi),s.data[Xi]=jn;const Ro=_n.attributes;for(let Qd=0;Qd<Ro.length;Qd++){const g2=Ro.item(Qd),P6=g2.name.toLowerCase();g2.value.match(im)?Dr.hasOwnProperty(P6)&&n4(xe,g2.value,Xi,g2.name,0,Tr[P6]?Fl:null):Up(X,Xi,g2)}const ss={kind:1,index:Xi,children:[]};a.push(ss),yi=qg(ss.children,s,u,C,R,X,ne,xe,bi,Xi,xt,qt+1)|yi,Bp(ne,Xi,qt)}break;case Node.TEXT_NODE:const Yn=bi.textContent||"",xn=Yn.match(im);zp(X,null,xn?"":Yn,at,Xi),Bp(ne,Xi,qt),xn&&(yi=n4(xe,Yn,Xi,null,0,null)|yi),a.push({kind:0,index:Xi});break;case Node.COMMENT_NODE:const fr=v7.exec(bi.textContent||"");if(fr){const ss=xt[parseInt(fr[1],10)];zp(X,X1,"",at,Xi),Fp(a,s,C,R,at,ss,Xi),D7(ne,Xi,qt)}}bi=bi.nextSibling}return yi}function Bp(a,s,u){0===u&&a.push(s)}function D7(a,s,u){0===u&&(a.push(~s),a.push(s))}function zp(a,s,u,C,R){null!==s&&a.push(s),a.push(u,R,function w4(a,s,u){return a|s<<17|u<<1}(0,C,R))}function Up(a,s,u){a.push(s<<1|1,u.name,u.value)}const L7=/\[(\ufffd.+?\ufffd?)\]/,I7=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,k7=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,R7=/{([A-Z0-9_]+)}/g,i8=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,O7=/\/\*/,P7=/\d+\:(\d+)/;function a8(a,s,u=-1){const C=(0,t.klJ)(),R=(0,t.OAn)(),X=t.Yw1+a,ne=(0,t.db4)(C.consts,s),xe=(0,t.Ab)();C.firstCreatePass&&function x7(a,s,u,C,R,X){const ne=(0,t.Ab)(),xe=[],Se=[],at=[[]],xt=[[]];R=function w7(a,s){if(function fu(a){return-1===a}(s))return Pp(a);{const u=a.indexOf(`:${s}\ufffd`)+2+s.toString().length,C=a.search(new RegExp(`\ufffd\\/\\*\\d+:${s}\ufffd`));return Pp(a.substring(u,C))}}(R,X);const qt=function b7(a){return a.replace(Zg," ")}(R).split(y7);for(let yi=0;yi<qt.length;yi++){let bi=qt[yi];if(1&yi){const Xi=47===bi.charCodeAt(0),_n=bi.charCodeAt(Xi?1:0),jn=t.Yw1+Number.parseInt(bi.substring(Xi?2:1));if(Xi)at.shift(),xt.shift(),(0,t.iMd)((0,t.Ab)(),!1);else{const Yn=Ms(a,at[0],jn);at.unshift([]),(0,t.iMd)(Yn,!0);const xn={kind:2,index:jn,children:[],type:35===_n?0:1};xt[0].push(xn),xt.unshift(xn.children)}}else{const Xi=Np(bi);for(let _n=0;_n<Xi.length;_n++){let jn=Xi[_n];if(1&_n){const Yn=jn;if("object"!=typeof Yn)throw new Error(`Unable to parse ICU expression in "${R}" message.`);const fr=nm(a,ne,at[0],u,xe,"",!0).index;Fp(xt[0],a,u,Se,s,Yn,fr)}else""!==jn&&C7(xt[0],a,ne,at[0],xe,Se,u,jn)}}}a.data[C]={create:xe,update:Se,ast:xt[0],parentTNodeIndex:s}}(C,null===xe?0:xe.index,R,X,ne,u),2===C.type?R[t.b5C][t.Wg1]|=32:R[t.Wg1]|=32;const Se=C.data[X],xt=f0(C,xe===R[t.qlT]?null:xe,R);(function Wg(a,s,u,C){const R=a[t.GpT];for(let X=0;X<s.length;X++){const ne=s[X++],at=(ne&Tl.APPEND_EAGERLY)===Tl.APPEND_EAGERLY,xt=ne>>>Tl.SHIFT;let qt=a[xt],yi=!1;null===qt&&(qt=a[xt]=t4(a,0,s[X],(ne&Tl.COMMENT)===Tl.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),yi=(0,t.SX7)()),at&&null!==u&&yi&&zl(R,u,qt,C,!1)}})(R,Se.create,xt,xe&&8&xe.type?R[xe.index]:null),(0,t.xyx)(!0)}function Vp(){(0,t.xyx)(!1)}function Hp(a,s,u){const C=(0,t.OAn)(),R=(0,t.klJ)(),X=(0,t.Mx4)();return jp(R,C,C[t.GpT],X,a,s,u),Hp}function Gp(a,s,u){const C=(0,t.OAn)(),R=(0,t.klJ)(),X=(0,t.Mx4)();return(3&X.type||u)&&er(X,R,C,u,C[t.GpT],a,s,oa(X,C,s)),Gp}function jp(a,s,u,C,R,X,ne){let xe=!0,Se=null;if((3&C.type||ne)&&(Se??=oa(C,s,X),er(C,a,s,ne,u,R,X,Se)&&(xe=!1)),xe){const at=C.outputs?.[R],xt=C.hostDirectiveOutputs?.[R];if(xt&&xt.length)for(let qt=0;qt<xt.length;qt+=2){const yi=xt[qt],bi=xt[qt+1];Se??=oa(C,s,X),ar(C,s,yi,bi,R,Se)}if(at&&at.length)for(const qt of at)Se??=oa(C,s,X),ar(C,s,qt,R,R,Se)}}function o8(a=1){return(0,t.jvu)(a)}function l8(a,s){let u=null;const C=function Lr(a){const s=a.attrs;if(null!=s){const u=s.indexOf(5);if(!(1&u))return s[u+1]}return null}(a);for(let R=0;R<s.length;R++){const X=s[R];if("*"!==X){if(null===C?qs(a,X,!0):pd(C,X))return R}else u=R}return u}function c8(a){const s=(0,t.OAn)()[t.b5C][t.qlT];if(!s.projection){const C=s.projection=(0,t.WfI)(a?a.length:1,null),R=C.slice();let X=s.child;for(;null!==X;){if(128!==X.type){const ne=a?l8(X,a):0;null!==ne&&(R[ne]?R[ne].projectionNext=X:C[ne]=X,R[ne]=X)}X=X.next}}}function d8(a,s=0,u,C,R,X){const ne=(0,t.OAn)(),xe=(0,t.klJ)(),Se=C?a+1:null;null!==Se&&Vd(ne,xe,Se,C,R,X,null,u);const at=Vl(xe,t.Yw1+a,16,null,u||null);null===at.projection&&(at.projection=s),(0,t.Pfq)();const qt=!ne[t.tcA]||(0,t.KtD)();null===ne[t.b5C][t.qlT].projection[at.projection]&&null!==Se?function U7(a,s,u){const C=t.Yw1+u,R=s.data[C],X=a[C],ne=I1(X,R.tView.ssrId);id(X,td(a,R,void 0,{dehydratedView:ne}),0,Lc(R,ne))}(ne,xe,Se):qt&&!fl(at)&&function hh(a,s,u){g0(s[t.GpT],0,s,u,xd(a,u,s),m0(u.parent||s[t.qlT],u,s))}(xe,ne,at)}function am(a,s,u,C){Nu(a,s,u,C)}function u8(a,s,u){Tf(a,s,u)}function h8(a){const s=(0,t.OAn)(),u=(0,t.klJ)(),C=(0,t.w7Z)();(0,t.GA0)(C+1);const R=Nd(u,C);if(a.dirty&&(0,t.vOT)(s)===!(2&~R.metadata.flags)){if(null===R.matches)a.reset([]);else{const X=Y0(s,C);a.reset(X,Ai),a.notifyOnChanges()}return!0}return!1}function f8(){return wf((0,t.OAn)(),(0,t.w7Z)())}function m8(a,s,u,C,R){a3(s,Nu(a,u,C,R))}function Wp(a,s,u,C){a3(a,Tf(s,u,C))}function p8(a=1){(0,t.GA0)((0,t.w7Z)()+a)}function g8(a){const s=(0,t.VPL)();return(0,t.Hh6)(s,t.Yw1+a)}function a4(a,s){return a<<17|s<<2}function h2(a){return a>>17&32767}function Xp(a){return 2|a}function f2(a){return(131068&a)>>2}function Kp(a,s){return-131069&a|s<<2}function Yp(a){return 1|a}function y8(a,s,u,C){const R=a[u+1],X=null===s;let ne=C?h2(R):f2(R),xe=!1;for(;0!==ne&&(!1===xe||X);){const at=a[ne+1];Qp(a[ne],s)&&(xe=!0,a[ne+1]=C?Yp(at):Xp(at)),ne=C?h2(at):f2(at)}xe&&(a[u+1]=C?Xp(R):Yp(R))}function Qp(a,s){return null===a||null==s||(Array.isArray(a)?a[1]:a)===s||!(!Array.isArray(a)||"string"!=typeof s)&&(0,t.FRF)(a,s)>=0}const io={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function b8(a){return a.substring(io.key,io.keyEnd)}function x8(a){return a.substring(io.value,io.valueEnd)}function C8(a,s){const u=io.textEnd;return u===s?-1:(s=io.keyEnd=function X7(a,s,u){for(;s<u&&a.charCodeAt(s)>32;)s++;return s}(a,io.key=s,u),m2(a,s,u))}function M8(a,s){const u=io.textEnd;let C=io.key=m2(a,s,u);return u===C?-1:(C=io.keyEnd=function K7(a,s,u){let C;for(;s<u&&(45===(C=a.charCodeAt(s))||95===C||(-33&C)>=65&&(-33&C)<=90||C>=48&&C<=57);)s++;return s}(a,C,u),C=$p(a,C,u),C=io.value=m2(a,C,u),C=io.valueEnd=function Y7(a,s,u){let C=-1,R=-1,X=-1,ne=s,xe=ne;for(;ne<u;){const Se=a.charCodeAt(ne++);if(59===Se)return xe;34===Se||39===Se?xe=ne=Zp(a,Se,ne,u):s===ne-4&&85===X&&82===R&&76===C&&40===Se?xe=ne=Zp(a,41,ne,u):Se>32&&(xe=ne),X=R,R=C,C=-33&Se}return xe}(a,C,u),$p(a,C,u))}function E8(a){io.key=0,io.keyEnd=0,io.value=0,io.valueEnd=0,io.textEnd=a.length}function m2(a,s,u){for(;s<u&&a.charCodeAt(s)<=32;)s++;return s}function $p(a,s,u,C){return(s=m2(a,s,u))<u&&s++,s}function Zp(a,s,u,C){let R=-1,X=u;for(;X<C;){const ne=a.charCodeAt(X++);if(ne==s&&92!==R)return X;R=92==ne&&92===R?0:ne}throw new Error}function Jp(a,s,u){return t6(a,s,u,!1),Jp}function qp(a,s){return t6(a,s,null,!0),qp}function $7(a,s){for(let u=function W7(a){return E8(a),M8(a,m2(a,0,io.textEnd))}(s);u>=0;u=M8(s,u))A8(a,b8(s),x8(s))}function e6(a){w8(tv,Z7,a,!0)}function Z7(a,s){for(let u=function j7(a){return E8(a),C8(a,m2(a,0,io.textEnd))}(s);u>=0;u=C8(s,u))(0,t.ezK)(a,b8(s),!0)}function t6(a,s,u,C){const R=(0,t.OAn)(),X=(0,t.klJ)(),ne=(0,t.b$O)(2);X.firstUpdatePass&&S8(X,a,ne,C),s!==qa&&un(R,ne,s)&&n6(X,X.data[(0,t._px)()],R,R[t.GpT],a,R[ne+1]=function a6(a,s){return null==a||""===a||("string"==typeof s?a+=s:"object"==typeof a&&(a=(0,t.AsM)(zs(a)))),a}(s,u),C,ne)}function w8(a,s,u,C){const R=(0,t.klJ)(),X=(0,t.b$O)(2);R.firstUpdatePass&&S8(R,null,X,C);const ne=(0,t.OAn)();if(u!==qa&&un(ne,X,u)){const xe=R.data[(0,t._px)()];if(I8(xe,C)&&!rm(R,X)){let Se=C?xe.classesWithoutHost:xe.stylesWithoutHost;null!==Se&&(u=(0,t.n$e)(Se,u||"")),Mp(R,xe,ne,u,C)}else!function iv(a,s,u,C,R,X,ne,xe){R===qa&&(R=t.Mlv);let Se=0,at=0,xt=0<R.length?R[0]:null,qt=0<X.length?X[0]:null;for(;null!==xt||null!==qt;){const yi=Se<R.length?R[Se+1]:void 0,bi=at<X.length?X[at+1]:void 0;let _n,Xi=null;xt===qt?(Se+=2,at+=2,yi!==bi&&(Xi=qt,_n=bi)):null===qt||null!==xt&&xt<qt?(Se+=2,Xi=xt):(at+=2,Xi=qt,_n=bi),null!==Xi&&n6(a,s,u,C,Xi,_n,ne,xe),xt=Se<R.length?R[Se]:null,qt=at<X.length?X[at]:null}}(R,xe,ne,ne[t.GpT],ne[X+1],ne[X+1]=function D8(a,s,u){if(null==u||""===u)return t.Mlv;const C=[],R=zs(u);if(Array.isArray(R))for(let X=0;X<R.length;X++)a(C,R[X],!0);else if("object"==typeof R)for(const X in R)R.hasOwnProperty(X)&&a(C,X,R[X]);else"string"==typeof R&&s(C,R);return C}(a,s,u),C,X)}}function rm(a,s){return s>=a.expandoStartIndex}function S8(a,s,u,C){const R=a.data;if(null===R[u+1]){const X=R[(0,t._px)()],ne=rm(a,u);I8(X,C)&&null===s&&!ne&&(s=!1),s=function J7(a,s,u,C){const R=(0,t.MT)(a);let X=C?s.residualClasses:s.residualStyles;if(null===R)0===(C?s.classBindings:s.styleBindings)&&(u=r4(u=i6(null,a,s,u,C),s.attrs,C),X=null);else{const ne=s.directiveStylingLast;if(-1===ne||a[ne]!==R)if(u=i6(R,a,s,u,C),null===X){let Se=function q7(a,s,u){const C=u?s.classBindings:s.styleBindings;if(0!==f2(C))return a[h2(C)]}(a,s,C);void 0!==Se&&Array.isArray(Se)&&(Se=i6(null,a,s,Se[1],C),Se=r4(Se,s.attrs,C),function ev(a,s,u,C){a[h2(u?s.classBindings:s.styleBindings)]=C}(a,s,C,Se))}else X=function T8(a,s,u){let C;const R=s.directiveEnd;for(let X=1+s.directiveStylingLast;X<R;X++)C=r4(C,a[X].hostAttrs,u);return r4(C,s.attrs,u)}(a,s,C)}return void 0!==X&&(C?s.residualClasses=X:s.residualStyles=X),u}(R,X,s,C),function _8(a,s,u,C,R,X){let ne=X?s.classBindings:s.styleBindings,xe=h2(ne),Se=f2(ne);a[C]=u;let xt,at=!1;if(Array.isArray(u)?(xt=u[1],(null===xt||(0,t.FRF)(u,xt)>0)&&(at=!0)):xt=u,R)if(0!==Se){const yi=h2(a[xe+1]);a[C+1]=a4(yi,xe),0!==yi&&(a[yi+1]=Kp(a[yi+1],C)),a[xe+1]=function H7(a,s){return 131071&a|s<<17}(a[xe+1],C)}else a[C+1]=a4(xe,0),0!==xe&&(a[xe+1]=Kp(a[xe+1],C)),xe=C;else a[C+1]=a4(Se,0),0===xe?xe=C:a[Se+1]=Kp(a[Se+1],C),Se=C;at&&(a[C+1]=Xp(a[C+1])),y8(a,xt,C,!0),y8(a,xt,C,!1),function v8(a,s,u,C,R){const X=R?a.residualClasses:a.residualStyles;null!=X&&"string"==typeof s&&(0,t.FRF)(X,s)>=0&&(u[C+1]=Yp(u[C+1]))}(s,xt,a,C,X),ne=a4(xe,Se),X?s.classBindings=ne:s.styleBindings=ne}(R,X,s,u,ne,C)}}function i6(a,s,u,C,R){let X=null;const ne=u.directiveEnd;let xe=u.directiveStylingLast;for(-1===xe?xe=u.directiveStart:xe++;xe<ne&&(X=s[xe],C=r4(C,X.hostAttrs,R),X!==a);)xe++;return null!==a&&(u.directiveStylingLast=xe),C}function r4(a,s,u){const C=u?1:2;let R=-1;if(null!==s)for(let X=0;X<s.length;X++){const ne=s[X];"number"==typeof ne?R=ne:R===C&&(Array.isArray(a)||(a=void 0===a?[]:["",a]),(0,t.ezK)(a,ne,!!u||s[++X]))}return void 0===a?null:a}function A8(a,s,u){(0,t.ezK)(a,s,zs(u))}function tv(a,s,u){const C=String(s);""!==C&&!C.includes(" ")&&(0,t.ezK)(a,C,u)}function n6(a,s,u,C,R,X,ne,xe){if(!(3&s.type))return;const Se=a.data,at=Se[xe+1],xt=function G7(a){return!(1&~a)}(at)?L8(Se,s,u,R,f2(at),ne):void 0;sm(xt)||(sm(X)||function V7(a){return!(2&~a)}(at)&&(X=L8(Se,null,u,R,xe,ne)),function Q2(a,s,u,C,R){if(s)R?a.addClass(u,C):a.removeClass(u,C);else{let X=-1===C.indexOf("-")?void 0:s1.DashCase;null==R?a.removeStyle(u,C,X):("string"==typeof R&&R.endsWith("!important")&&(R=R.slice(0,-10),X|=s1.Important),a.setStyle(u,C,R,X))}}(C,ne,(0,t.vaC)((0,t._px)(),u),R,X))}function L8(a,s,u,C,R,X){const ne=null===s;let xe;for(;R>0;){const Se=a[R],at=Array.isArray(Se),xt=at?Se[1]:Se,qt=null===xt;let yi=u[R+1];yi===qa&&(yi=qt?t.Mlv:void 0);let bi=qt?(0,t.K7h)(yi,C):xt===C?yi:void 0;if(at&&!sm(bi)&&(bi=(0,t.K7h)(Se,C)),sm(bi)&&(xe=bi,ne))return xe;const Xi=a[R+1];R=ne?h2(Xi):f2(Xi)}if(null!==s){let Se=X?s.residualClasses:s.residualStyles;null!=Se&&(xe=(0,t.K7h)(Se,C))}return xe}function sm(a){return void 0!==a}function I8(a,s){return!!(a.flags&(s?8:16))}function k8(a,s=""){const u=(0,t.OAn)(),C=(0,t.klJ)(),R=a+t.Yw1,X=C.firstCreatePass?Vl(C,R,1,s,null):C.data[R],ne=r6(C,u,X,s,a);u[R]=ne,(0,t.SX7)()&&ac(C,u,ne,X),(0,t.iMd)(X,!1)}let r6=(a,s,u,C,R)=>((0,t.m7n)(!0),q1(s[t.GpT],C));function R8(a,s){let u=!1,C=(0,t.c$7)();for(let X=1;X<s.length;X+=2)u=un(a,C++,s[X])||u;if((0,t.Kw3)(C),!u)return qa;let R=s[0];for(let X=1;X<s.length;X+=2)R+=(0,t.eFE)(s[X])+(X+1!==s.length?s[X+1]:"");return R}function s6(a,s,u,C=""){return un(a,(0,t.xbp)(),u)?s+(0,t.eFE)(u)+C:qa}function O8(a,s,u,C,R,X=""){const xe=Bn(a,(0,t.c$7)(),u,R);return(0,t.b$O)(2),xe?s+(0,t.eFE)(u)+C+(0,t.eFE)(R)+X:qa}function P8(a,s,u,C,R,X,ne,xe=""){const at=pn(a,(0,t.c$7)(),u,R,ne);return(0,t.b$O)(3),at?s+(0,t.eFE)(u)+C+(0,t.eFE)(R)+X+(0,t.eFE)(ne)+xe:qa}function o6(a,s,u,C,R,X,ne,xe,Se,at=""){const qt=gn(a,(0,t.c$7)(),u,R,ne,Se);return(0,t.b$O)(4),qt?s+(0,t.eFE)(u)+C+(0,t.eFE)(R)+X+(0,t.eFE)(ne)+xe+(0,t.eFE)(Se)+at:qa}function F8(a,s,u,C,R,X,ne,xe,Se,at,xt,qt=""){const yi=(0,t.c$7)();let bi=gn(a,yi,u,R,ne,Se);return bi=un(a,yi+4,xt)||bi,(0,t.b$O)(5),bi?s+(0,t.eFE)(u)+C+(0,t.eFE)(R)+X+(0,t.eFE)(ne)+xe+(0,t.eFE)(Se)+at+(0,t.eFE)(xt)+qt:qa}function l6(a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi=""){const Xi=(0,t.c$7)();let _n=gn(a,Xi,u,R,ne,Se);return _n=Bn(a,Xi+4,xt,yi)||_n,(0,t.b$O)(6),_n?s+(0,t.eFE)(u)+C+(0,t.eFE)(R)+X+(0,t.eFE)(ne)+xe+(0,t.eFE)(Se)+at+(0,t.eFE)(xt)+qt+(0,t.eFE)(yi)+bi:qa}function N8(a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi,Xi,_n=""){const jn=(0,t.c$7)();let Yn=gn(a,jn,u,R,ne,Se);return Yn=pn(a,jn+4,xt,yi,Xi)||Yn,(0,t.b$O)(7),Yn?s+(0,t.eFE)(u)+C+(0,t.eFE)(R)+X+(0,t.eFE)(ne)+xe+(0,t.eFE)(Se)+at+(0,t.eFE)(xt)+qt+(0,t.eFE)(yi)+bi+(0,t.eFE)(Xi)+_n:qa}function c6(a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi,Xi,_n,jn,Yn=""){const xn=(0,t.c$7)();let fr=gn(a,xn,u,R,ne,Se);return fr=gn(a,xn+4,xt,yi,Xi,jn)||fr,(0,t.b$O)(8),fr?s+(0,t.eFE)(u)+C+(0,t.eFE)(R)+X+(0,t.eFE)(ne)+xe+(0,t.eFE)(Se)+at+(0,t.eFE)(xt)+qt+(0,t.eFE)(yi)+bi+(0,t.eFE)(Xi)+_n+(0,t.eFE)(jn)+Yn:qa}function d6(a){return om("",a),d6}function om(a,s,u){const C=(0,t.OAn)(),R=s6(C,a,s,u);return R!==qa&&Kd(C,(0,t._px)(),R),om}function u6(a,s,u,C,R){const X=(0,t.OAn)(),ne=O8(X,a,s,u,C,R);return ne!==qa&&Kd(X,(0,t._px)(),ne),u6}function h6(a,s,u,C,R,X,ne){const xe=(0,t.OAn)(),Se=P8(xe,a,s,u,C,R,X,ne);return Se!==qa&&Kd(xe,(0,t._px)(),Se),h6}function s4(a,s,u,C,R,X,ne,xe,Se){const at=(0,t.OAn)(),xt=o6(at,a,s,u,C,R,X,ne,xe,Se);return xt!==qa&&Kd(at,(0,t._px)(),xt),s4}function Kd(a,s,u){const C=(0,t.vaC)(s,a);E2(a[t.GpT],C,u)}function m6(a,s,u){(0,t.n$r)(s)&&(s=s());const C=(0,t.OAn)();return un(C,(0,t.xbp)(),s)&&((0,t.klJ)(),y0((0,t.CpD)(),C,a,s,C[t.GpT],u)),m6}function lm(a,s){const u=(0,t.n$r)(a);return u&&a.set(s),u}function p6(a,s){const u=(0,t.OAn)(),C=(0,t.klJ)(),R=(0,t.Mx4)();return jp(C,u,u[t.GpT],R,a,s),p6}const H8={};function j8(a){return un((0,t.OAn)(),(0,t.xbp)(),a)?(0,t.eFE)(a):qa}function W8(a,s,u=""){return s6((0,t.OAn)(),a,s,u)}function X8(a,s,u,C,R=""){return O8((0,t.OAn)(),a,s,u,C,R)}function v6(a,s,u,C,R){if(a=(0,t.nl4)(a),Array.isArray(a))for(let X=0;X<a.length;X++)v6(a[X],s,u,C,R);else{const X=(0,t.klJ)(),ne=(0,t.OAn)(),xe=(0,t.Mx4)();let Se=(0,t.Y3W)(a)?a:(0,t.nl4)(a.provide);const at=(0,t.Rc9)(a),xt=1048575&xe.providerIndexes,qt=xe.directiveStart,yi=xe.providerIndexes>>20;if((0,t.Y3W)(a)||!a.multi){const bi=new Ct(at,R,lc,null),Xi=b6(Se,s,R?xt:xt+yi,qt);-1===Xi?(ti(Kt(xe,ne),X,Se),y6(X,a,s.length),s.push(Se),xe.directiveStart++,xe.directiveEnd++,R&&(xe.providerIndexes+=1048576),u.push(bi),ne.push(bi)):(u[Xi]=bi,ne[Xi]=bi)}else{const bi=b6(Se,s,xt+yi,qt),Xi=b6(Se,s,xt,xt+yi),jn=Xi>=0&&u[Xi];if(R&&!jn||!R&&!(bi>=0&&u[bi])){ti(Kt(xe,ne),X,Se);const Yn=function $8(a,s,u,C,R){const ne=new Ct(a,u,lc,null);return ne.multi=[],ne.index=s,ne.componentProviders=0,Q8(ne,R,C&&!u),ne}(R?fv:hv,u.length,R,C,at);!R&&jn&&(u[Xi].providerFactory=Yn),y6(X,a,s.length,0),s.push(Se),xe.directiveStart++,xe.directiveEnd++,R&&(xe.providerIndexes+=1048576),u.push(Yn),ne.push(Yn)}else y6(X,a,bi>-1?bi:Xi,Q8(u[R?Xi:bi],at,!R&&C));!R&&C&&jn&&u[Xi].componentProviders++}}}function y6(a,s,u,C){const R=(0,t.Y3W)(s),X=(0,t.MME)(s);if(R||X){const Se=(X?(0,t.nl4)(s.useClass):s).prototype.ngOnDestroy;if(Se){const at=a.destroyHooks||(a.destroyHooks=[]);if(!R&&s.multi){const xt=at.indexOf(u);-1===xt?at.push(u,[C,Se]):at[xt+1].push(C,Se)}else at.push(u,Se)}}}function Q8(a,s,u){return u&&a.componentProviders++,a.multi.push(s)-1}function b6(a,s,u,C){for(let R=u;R<C;R++)if(s[R]===a)return R;return-1}function hv(a,s,u,C,R){return o4(this.multi,[])}function fv(a,s,u,C,R){const X=this.multi;let ne;if(this.providerFactory){const xe=this.providerFactory.componentProviders,Se=ei(C,C[t.eDl],this.providerFactory.index,R);ne=Se.slice(0,xe),o4(X,ne);for(let at=xe;at<Se.length;at++)ne.push(Se[at])}else ne=[],o4(X,ne);return ne}function o4(a,s){for(let u=0;u<a.length;u++)s.push((0,a[u])());return s}function Z8(a,s=[]){return u=>{u.providersResolver=(C,R)=>function _6(a,s,u){const C=(0,t.klJ)();if(C.firstCreatePass){const R=(0,t.JlV)(a);v6(u,C.data,C.blueprint,R,!0),v6(s,C.data,C.blueprint,R,!1)}}(C,R?R(a):a,s)}}function cm(a){if("function"==typeof a)return a;const s=(0,t.Bqz)(a);return s.some(t.Jzi)?()=>s.map(t.nl4).map(q8):s.map(q8)}function q8(a){return Du(a)?a.ngModule:a}function x6(a,s,u){const C=(0,t.gxQ)()+a,R=(0,t.OAn)();return R[C]===qa?zi(R,C,u?s.call(u):s()):Vi(R,C)}function e_(a,s,u,C){return r_((0,t.OAn)(),(0,t.gxQ)(),a,s,u,C)}function t_(a,s,u,C,R){return C6((0,t.OAn)(),(0,t.gxQ)(),a,s,u,C,R)}function i_(a,s,u,C,R,X){return s_((0,t.OAn)(),(0,t.gxQ)(),a,s,u,C,R,X)}function l4(a,s){const u=a[s];return u===qa?void 0:u}function r_(a,s,u,C,R,X){const ne=s+u;return un(a,ne,R)?zi(a,ne+1,X?C.call(X,R):C(R)):l4(a,ne+1)}function C6(a,s,u,C,R,X,ne){const xe=s+u;return Bn(a,xe,R,X)?zi(a,xe+2,ne?C.call(ne,R,X):C(R,X)):l4(a,xe+2)}function s_(a,s,u,C,R,X,ne,xe){const Se=s+u;return pn(a,Se,R,X,ne)?zi(a,Se+3,xe?C.call(xe,R,X,ne):C(R,X,ne)):l4(a,Se+3)}function o_(a,s,u,C,R,X,ne,xe,Se){const at=s+u;return gn(a,at,R,X,ne,xe)?zi(a,at+4,Se?C.call(Se,R,X,ne,xe):C(R,X,ne,xe)):l4(a,at+4)}function c4(a,s,u,C,R,X){let ne=s+u,xe=!1;for(let Se=0;Se<R.length;Se++)un(a,ne++,R[Se])&&(xe=!0);return xe?zi(a,ne,C.apply(X,R)):l4(a,ne)}function l_(a,s){const u=(0,t.klJ)();let C;const R=a+t.Yw1;u.firstCreatePass?(C=function bv(a,s){if(s)for(let u=s.length-1;u>=0;u--){const C=s[u];if(a===C.name)return C}}(s,u.pipeRegistry),u.data[R]=C,C.onDestroy&&(u.destroyHooks??=[]).push(R,C.onDestroy)):C=u.data[R];const X=C.factory||(C.factory=(0,t.wGu)(C.type,!0)),xe=(0,t.a2B)(lc);try{const Se=le(!1),at=X();return le(Se),(0,t.M_e)(u,(0,t.OAn)(),R,at),at}finally{(0,t.a2B)(xe)}}function c_(a,s,u){const C=a+t.Yw1,R=(0,t.OAn)(),X=(0,t.Hh6)(R,C);return d4(R,C)?r_(R,(0,t.gxQ)(),s,X.transform,u,X):X.transform(u)}function d_(a,s,u,C){const R=a+t.Yw1,X=(0,t.OAn)(),ne=(0,t.Hh6)(X,R);return d4(X,R)?C6(X,(0,t.gxQ)(),s,ne.transform,u,C,ne):ne.transform(u,C)}function u_(a,s,u,C,R){const X=a+t.Yw1,ne=(0,t.OAn)(),xe=(0,t.Hh6)(ne,X);return d4(ne,X)?s_(ne,(0,t.gxQ)(),s,xe.transform,u,C,R,xe):xe.transform(u,C,R)}function d4(a,s){return a[t.eDl].data[s].pure}function f_(a,s){return Ad(a,s)}function u4(a,s,u,C,R){const X=R[t.eDl];if(X!==C.tView)for(let ne=t.Yw1;ne<X.bindingStartIndex;ne++){const xe=R[ne];if((0,t.A0l)(xe)){(0,t.q$2)(xe[t.jgP])&&u4(a,s,u,C,xe[t.jgP]);for(let Se=t.Y20;Se<xe.length;Se++)u4(a,s,u,C,xe[Se])}else(0,t.q$2)(xe)&&u4(a,s,u,C,xe)}else!function Dv(a,s,u,C,R){const X=R[t.SKP];let ne=R[t.jgP];const xe=R[t.f7T],Se=R[t.qlT],at=R[t.YEL].get(Ha,null),xt=()=>{if(C.encapsulation===Bs.ShadowDom){const Xi=ne.cloneNode(!1);ne.replaceWith(Xi),ne=Xi}const qt=t0(u),yi=n1(xe,qt,X,n0(u),ne,Se,null,null,null,null,null);(function g_(a,s,u,C){for(let R=t.Yw1;R<a[t.eDl].bindingStartIndex;R++){const X=a[R];if(((0,t.q$2)(X)||(0,t.A0l)(X))&&X[t.K29]===s){X[t.K29]=u;break}}a[t.EJG]===s&&(a[t.EJG]=u),a[t.Yrj]===s&&(a[t.Yrj]=u),u[t.K29]=s[t.K29],s[t.K29]=null,a[C]=u})(xe,R,yi,Se.index),Zc(R[t.eDl],R);const bi=R[t.M0L].rendererFactory;(function Tv(a,s){a.componentReplaced?.(s.id)})(bi,C),yi[t.GpT]=bi.createRenderer(ne,u),f1(R[t.eDl],R),function Av(a){if(null!==a.projection){for(const s of a.projection)lt(s)&&(s.projectionNext=null,s.flags&=-3);a.projection=null}}(Se),x1(qt,yi,X),nu(qt,yi,qt.template,X)};null===at?p_(a,s,xt):at.run(()=>p_(a,s,xt))}(a,s,u,C,R)}function p_(a,s,u){try{u()}catch(C){if(null!==s&&C.message){const X=C.message+(C.stack?"\n"+C.stack:"");a?.hot?.send?.("angular:invalidate",{id:s,message:X,error:!0})}throw C}}const Yd={\u0275\u0275animateEnter:function X3(a){if(Cs("NgAnimateEnter"),!o2)return X3;const s=(0,t.OAn)();if(Xf(s))return X3;const u=(0,t.Mx4)();return Xu(u,s),G3(H3(s),u,()=>function H5(a,s,u){const C=(0,t.d31)(s,a),R=a[t.GpT],X=a[t.YEL].get(Ha),ne=Tg(u),xe=[],Se=xt=>{if(xt.target!==C)return;const qt=xt instanceof AnimationEvent?"animationend":"transitionend";X.runOutsideAngular(()=>{R.listen(C,qt,at)})},at=xt=>{xt.target===C&&function Ag(a,s,u){const C=Wu.get(s);if(a.target===s&&C&&Dg(a,s)){a.stopImmediatePropagation();for(const R of C.classList)u.removeClass(s,R);Kf(s)}}(xt,C,R)};if(ne&&ne.length>0){X.runOutsideAngular(()=>{xe.push(R.listen(C,"animationstart",Se)),xe.push(R.listen(C,"transitionstart",Se))}),function z5(a,s,u){const C=Wu.get(a);if(C){for(const R of s)C.classList.push(R);for(const R of u)C.cleanupFns.push(R)}else Wu.set(a,{classList:s,cleanupFns:u})}(C,ne,xe);for(const xt of ne)R.addClass(C,xt);X.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(r0(C,l2,o2),!l2.has(C)){for(const xt of ne)R.removeClass(C,xt);Kf(C)}})})}}(s,u,a)),u1(s[t.YEL]),h1(s[t.YEL],H3(s)),X3},\u0275\u0275animateEnterListener:function K3(a){if(Cs("NgAnimateEnter"),!o2)return K3;const s=(0,t.OAn)();if(Xf(s))return K3;const u=(0,t.Mx4)();return Xu(u,s),G3(H3(s),u,()=>function G5(a,s,u){const C=(0,t.d31)(s,a);u.call(a[t.SKP],{target:C,animationComplete:U5})}(s,u,a)),u1(s[t.YEL]),h1(s[t.YEL],H3(s)),K3},\u0275\u0275animateLeave:function Yf(a){if(Cs("NgAnimateLeave"),!o2)return Yf;const s=(0,t.OAn)();if(Xf(s))return Yf;const C=(0,t.Mx4)();return Xu(C,s),G3(d2(s),C,()=>function j5(a,s,u){const{promise:C,resolve:R}=tp(),X=(0,t.d31)(s,a),ne=a[t.GpT],xe=a[t.YEL].get(Ha);bc.add(a),(d2(a).get(s.index).resolvers??=[]).push(R);const Se=Tg(u);return Se&&Se.length>0?function W5(a,s,u,C,R,X){!function V5(a,s){if(!o2)return;const u=Wu.get(a);if(u&&u.classList.length>0&&function fp(a,s){for(const u of s)if(a.classList.contains(u))return!0;return!1}(a,u.classList))for(const C of u.classList)s.removeClass(a,C);Kf(a)}(a,R);const ne=[],xe=d2(u).get(s.index)?.resolvers,Se=at=>{if(at.target===a&&(at instanceof CustomEvent||Dg(at,a))){if(at.stopImmediatePropagation(),l2.delete(a),up(s,a),Array.isArray(s.projection))for(const xt of C)R.removeClass(a,xt);j3(xe,ne),mp(u,s)}};X.runOutsideAngular(()=>{ne.push(R.listen(a,"animationend",Se)),ne.push(R.listen(a,"transitionend",Se))}),hp(s,a);for(const at of C)R.addClass(a,at);X.runOutsideAngular(()=>{requestAnimationFrame(()=>{r0(a,l2,o2),l2.has(a)||(up(s,a),j3(xe,ne),mp(u,s))})})}(X,s,a,Se,ne,xe):R(),{promise:C,resolve:R}}(s,C,a)),u1(s[t.YEL]),Yf},\u0275\u0275animateLeaveListener:function Y3(a){if(Cs("NgAnimateLeave"),!o2)return Y3;const s=(0,t.OAn)(),u=(0,t.Mx4)();return Xu(u,s),bc.add(s),G3(d2(s),u,()=>function X5(a,s,u){const{promise:C,resolve:R}=tp(),X=(0,t.d31)(s,a),ne=[],xe=a[t.GpT],Se=Xf(a),at=a[t.YEL].get(Ha),xt=a[t.YEL].get(N5);(d2(a).get(s.index).resolvers??=[]).push(R);const qt=d2(a).get(s.index)?.resolvers;if(Se)W3(a,s,X,qt,ne);else{const yi=setTimeout(()=>W3(a,s,X,qt,ne),xt),bi={target:X,animationComplete:()=>{W3(a,s,X,qt,ne),clearTimeout(yi)}};hp(s,X),at.runOutsideAngular(()=>{ne.push(xe.listen(X,"animationend",()=>{W3(a,s,X,qt,ne),clearTimeout(yi)},{once:!0}))}),u.call(a[t.SKP],bi)}return{promise:C,resolve:R}}(s,u,a)),u1(s[t.YEL]),Y3},\u0275\u0275attribute:dp,\u0275\u0275defineComponent:g3,\u0275\u0275defineDirective:Pf,\u0275\u0275defineInjectable:t.jDH,\u0275\u0275defineInjector:t.G2t,\u0275\u0275defineNgModule:Of,\u0275\u0275definePipe:$0,\u0275\u0275directiveInject:lc,\u0275\u0275getInheritedFactory:zn,\u0275\u0275inject:t.KVO,\u0275\u0275injectAttribute:Ve,\u0275\u0275invalidFactory:pf,\u0275\u0275invalidFactoryDep:t.dmw,\u0275\u0275templateRefExtractor:f_,\u0275\u0275resetView:t.Njj,\u0275\u0275HostDirectivesFeature:Rm,\u0275\u0275NgOnChangesFeature:k,\u0275\u0275ProvidersFeature:Z8,\u0275\u0275CopyDefinitionFeature:function j6(a){let u,s=Lm(a.type);u=(0,t.JlV)(a)?s.\u0275cmp:s.\u0275dir;const C=a;for(const R of G6)C[R]=u[R];if((0,t.JlV)(u))for(const R of km)C[R]=u[R]},\u0275\u0275InheritDefinitionFeature:v3,\u0275\u0275ExternalStylesFeature:function J8(a){return s=>{a.length<1||(s.getExternalStyles=u=>a.map(R=>R+"?ngcomp"+(u?"="+encodeURIComponent(u):"")+"&e="+s.encapsulation))}},\u0275\u0275nextContext:o8,\u0275\u0275namespaceHTML:t.joV,\u0275\u0275namespaceMathML:t.By9,\u0275\u0275namespaceSVG:t.qSk,\u0275\u0275enableBindings:t.cSN,\u0275\u0275disableBindings:t.fuf,\u0275\u0275elementStart:Zf,\u0275\u0275elementEnd:Jf,\u0275\u0275element:Ep,\u0275\u0275elementContainerStart:q3,\u0275\u0275elementContainerEnd:u2,\u0275\u0275domElement:wp,\u0275\u0275domElementStart:$3,\u0275\u0275domElementEnd:Z3,\u0275\u0275domElementContainer:function Dp(a,s,u){return Tp(a,s,u),Pg(),Dp},\u0275\u0275domElementContainerStart:Tp,\u0275\u0275domElementContainerEnd:Pg,\u0275\u0275domTemplate:T3,\u0275\u0275domListener:Gp,\u0275\u0275elementContainer:Sp,\u0275\u0275pureFunction0:x6,\u0275\u0275pureFunction1:e_,\u0275\u0275pureFunction2:t_,\u0275\u0275pureFunction3:i_,\u0275\u0275pureFunction4:function gv(a,s,u,C,R,X,ne){return o_((0,t.OAn)(),(0,t.gxQ)(),a,s,u,C,R,X,ne)},\u0275\u0275pureFunction5:function n_(a,s,u,C,R,X,ne,xe){const Se=(0,t.gxQ)()+a,at=(0,t.OAn)(),xt=gn(at,Se,u,C,R,X);return un(at,Se+4,ne)||xt?zi(at,Se+5,xe?s.call(xe,u,C,R,X,ne):s(u,C,R,X,ne)):Vi(at,Se+5)},\u0275\u0275pureFunction6:function _v(a,s,u,C,R,X,ne,xe,Se){const at=(0,t.gxQ)()+a,xt=(0,t.OAn)(),qt=gn(xt,at,u,C,R,X);return Bn(xt,at+4,ne,xe)||qt?zi(xt,at+6,Se?s.call(Se,u,C,R,X,ne,xe):s(u,C,R,X,ne,xe)):Vi(xt,at+6)},\u0275\u0275pureFunction7:function a_(a,s,u,C,R,X,ne,xe,Se,at){const xt=(0,t.gxQ)()+a,qt=(0,t.OAn)();let yi=gn(qt,xt,u,C,R,X);return pn(qt,xt+4,ne,xe,Se)||yi?zi(qt,xt+7,at?s.call(at,u,C,R,X,ne,xe,Se):s(u,C,R,X,ne,xe,Se)):Vi(qt,xt+7)},\u0275\u0275pureFunction8:function vv(a,s,u,C,R,X,ne,xe,Se,at,xt){const qt=(0,t.gxQ)()+a,yi=(0,t.OAn)(),bi=gn(yi,qt,u,C,R,X);return gn(yi,qt+4,ne,xe,Se,at)||bi?zi(yi,qt+8,xt?s.call(xt,u,C,R,X,ne,xe,Se,at):s(u,C,R,X,ne,xe,Se,at)):Vi(yi,qt+8)},\u0275\u0275pureFunctionV:function yv(a,s,u,C){return c4((0,t.OAn)(),(0,t.gxQ)(),a,s,u,C)},\u0275\u0275getCurrentView:Fg,\u0275\u0275restoreView:t.eBV,\u0275\u0275listener:Hp,\u0275\u0275projection:d8,\u0275\u0275syntheticHostProperty:function Ng(a,s,u){const C=(0,t.OAn)();if(un(C,(0,t.xbp)(),s)){const X=(0,t.klJ)(),ne=(0,t.CpD)();b0(ne,C,a,s,q2((0,t.MT)(X.data),ne,C),u)}return Ng},\u0275\u0275syntheticHostListener:function s8(a,s){const u=(0,t.Mx4)(),C=(0,t.OAn)(),R=(0,t.klJ)();return jp(R,C,q2((0,t.MT)(R.data),u,C),u,a,s),s8},\u0275\u0275pipeBind1:c_,\u0275\u0275pipeBind2:d_,\u0275\u0275pipeBind3:u_,\u0275\u0275pipeBind4:function h_(a,s,u,C,R,X){const ne=a+t.Yw1,xe=(0,t.OAn)(),Se=(0,t.Hh6)(xe,ne);return d4(xe,ne)?o_(xe,(0,t.gxQ)(),s,Se.transform,u,C,R,X,Se):Se.transform(u,C,R,X)},\u0275\u0275pipeBindV:function Cv(a,s,u){const C=a+t.Yw1,R=(0,t.OAn)(),X=(0,t.Hh6)(R,C);return d4(R,C)?c4(R,(0,t.gxQ)(),s,X.transform,u,X):X.transform.apply(X,u)},\u0275\u0275projectionDef:c8,\u0275\u0275domProperty:em,\u0275\u0275ariaProperty:cp,\u0275\u0275property:Cp,\u0275\u0275pipe:l_,\u0275\u0275queryRefresh:h8,\u0275\u0275queryAdvance:p8,\u0275\u0275viewQuery:u8,\u0275\u0275viewQuerySignal:Wp,\u0275\u0275loadQuery:f8,\u0275\u0275contentQuery:am,\u0275\u0275contentQuerySignal:m8,\u0275\u0275reference:g8,\u0275\u0275classMap:e6,\u0275\u0275styleMap:function Q7(a){w8(A8,$7,a,!1)},\u0275\u0275styleProp:Jp,\u0275\u0275classProp:qp,\u0275\u0275advance:S2,\u0275\u0275template:S3,\u0275\u0275conditional:kg,\u0275\u0275conditionalCreate:_p,\u0275\u0275conditionalBranchCreate:vp,\u0275\u0275defer:function op(a,s,u,C,R,X,ne,xe,Se,at){const xt=(0,t.OAn)(),qt=(0,t.klJ)(),yi=a+t.Yw1,bi=Vd(xt,qt,a,null,0,0),Xi=xt[t.YEL],_n=Ho(Xi);if(qt.firstCreatePass){Cs("NgDefer");const Qd={primaryTmplIndex:s,loadingTmplIndex:C??null,placeholderTmplIndex:R??null,errorTmplIndex:X??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:u??null,loadingState:gs.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:at??0};Se?.(qt,Qd,xe,ne),function Q6(a,s,u){const C=n2(s);a.data[C]=u}(qt,yi,Qd)}const jn=xt[yi];Em(jn,bi,xt);let Yn=null,xn=null;if(jn[t.qFA]?.length>0){const Qd=jn[t.qFA][0].data;xn=Qd[Li]??null,Yn=Qd.s}const fr=[null,uc.Initial,null,null,null,null,xn,Yn,null,null];!function L3(a,s,u){a[n2(s)]=u}(xt,yi,fr);let Ro=null;null!==xn&&_n&&(Ro=Xi.get(Rr),Ro.add(xn,{lView:xt,tNode:bi,lContainer:jn}));const ss=()=>{A3(fr),null!==xn&&Ro?.cleanup([xn])};i2(0,fr,()=>(0,t.DyX)(xt,ss)),(0,t.ik5)(xt,ss)},\u0275\u0275deferWhen:function _5(a){const s=(0,t.OAn)(),u=(0,t.CpD)();if(ws(0,s,u)&&un(s,(0,t.xbp)(),a)){const R=(0,p.Ht)(null);try{const X=!!a,xe=cl(s,u)[1];!1===X&&xe===uc.Initial?a2(s,u):!0===X&&(xe===uc.Initial||xe===ur.Placeholder)&&W1(0,s,u)}finally{(0,p.Ht)(R)}}},\u0275\u0275deferOnIdle:function x5(){ws(0,(0,t.OAn)(),(0,t.Mx4)())&&ip(Hf)},\u0275\u0275deferOnImmediate:function M5(){const a=(0,t.OAn)(),s=(0,t.Mx4)();ws(0,a,s)&&(null===po(a[t.eDl],s).loadingTmplIndex&&a2(a,s),W1(0,a,s))},\u0275\u0275deferOnTimer:function S5(a){ws(0,(0,t.OAn)(),(0,t.Mx4)())&&ip(Gu(a))},\u0275\u0275deferOnHover:function D5(a,s){const u=(0,t.OAn)(),C=(0,t.Mx4)();ws(0,u,C)&&(a2(u,C),Gd(u,C,a,s,qi,()=>W1(0,u,C),0))},\u0275\u0275deferOnInteraction:function I5(a,s){const u=(0,t.OAn)(),C=(0,t.Mx4)();ws(0,u,C)&&(a2(u,C),Gd(u,C,a,s,Ua,()=>W1(0,u,C),0))},\u0275\u0275deferOnViewport:function O5(a,s){const u=(0,t.OAn)(),C=(0,t.Mx4)();ws(0,u,C)&&(a2(u,C),Gd(u,C,a,s,R3,()=>W1(0,u,C),0))},\u0275\u0275deferPrefetchWhen:function v5(a){const s=(0,t.OAn)(),u=(0,t.CpD)();if(ws(1,s,u)&&un(s,(0,t.xbp)(),a)){const R=(0,p.Ht)(null);try{const X=!!a,xe=po(s[t.eDl],u);!0===X&&xe.loadingState===gs.NOT_STARTED&&Wf(xe,s,u)}finally{(0,p.Ht)(R)}}},\u0275\u0275deferPrefetchOnIdle:function C5(){ws(1,(0,t.OAn)(),(0,t.Mx4)())&&gg(Hf)},\u0275\u0275deferPrefetchOnImmediate:function E5(){const a=(0,t.OAn)(),s=(0,t.Mx4)();if(!ws(1,a,s))return;const C=po(a[t.eDl],s);C.loadingState===gs.NOT_STARTED&&U3(C,a,s)},\u0275\u0275deferPrefetchOnTimer:function T5(a){ws(1,(0,t.OAn)(),(0,t.Mx4)())&&gg(Gu(a))},\u0275\u0275deferPrefetchOnHover:function A5(a,s){const u=(0,t.OAn)(),C=(0,t.Mx4)();if(!ws(1,u,C))return;const X=po(u[t.eDl],C);X.loadingState===gs.NOT_STARTED&&Gd(u,C,a,s,qi,()=>Wf(X,u,C),1)},\u0275\u0275deferPrefetchOnInteraction:function k5(a,s){const u=(0,t.OAn)(),C=(0,t.Mx4)();if(!ws(1,u,C))return;const X=po(u[t.eDl],C);X.loadingState===gs.NOT_STARTED&&Gd(u,C,a,s,Ua,()=>Wf(X,u,C),1)},\u0275\u0275deferPrefetchOnViewport:function lp(a,s){const u=(0,t.OAn)(),C=(0,t.Mx4)();if(!ws(1,u,C))return;const X=po(u[t.eDl],C);X.loadingState===gs.NOT_STARTED&&Gd(u,C,a,s,R3,()=>Wf(X,u,C),1)},\u0275\u0275deferHydrateWhen:function y5(a){const s=(0,t.OAn)(),u=(0,t.CpD)();if(!ws(2,s,u))return;const C=(0,t.xbp)();if(Xd((0,t.klJ)(),u).set(6,null),un(s,C,a)){const ne=s[t.YEL],xe=(0,p.Ht)(null);try{1==!!a&&s2(ne,cl(s,u)[6])}finally{(0,p.Ht)(xe)}}},\u0275\u0275deferHydrateNever:function b5(){const a=(0,t.OAn)(),s=(0,t.Mx4)();ws(2,a,s)&&Xd((0,t.klJ)(),s).set(7,null)},\u0275\u0275deferHydrateOnIdle:function V3(){const a=(0,t.OAn)(),s=(0,t.Mx4)();ws(2,a,s)&&(Xd((0,t.klJ)(),s).set(0,null),np(Hf,a,s))},\u0275\u0275deferHydrateOnImmediate:function w5(){const a=(0,t.OAn)(),s=(0,t.Mx4)();ws(2,a,s)&&(Xd((0,t.klJ)(),s).set(1,null),s2(a[t.YEL],cl(a,s)[6]))},\u0275\u0275deferHydrateOnTimer:function wg(a){const s=(0,t.OAn)(),u=(0,t.Mx4)();ws(2,s,u)&&(Xd((0,t.klJ)(),u).set(5,{delay:a}),np(Gu(a),s,u))},\u0275\u0275deferHydrateOnHover:function L5(){const a=(0,t.OAn)(),s=(0,t.Mx4)();ws(2,a,s)&&Xd((0,t.klJ)(),s).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function R5(){const a=(0,t.OAn)(),s=(0,t.Mx4)();ws(2,a,s)&&Xd((0,t.klJ)(),s).set(3,null)},\u0275\u0275deferHydrateOnViewport:function P5(){const a=(0,t.OAn)(),s=(0,t.Mx4)();ws(2,a,s)&&Xd((0,t.klJ)(),s).set(2,null)},\u0275\u0275deferEnableTimerScheduling:function lg(a,s,u,C){const R=a.consts;null!=u&&(s.placeholderBlockConfig=(0,t.db4)(R,u)),null!=C&&(s.loadingBlockConfig=(0,t.db4)(R,C)),null===jf&&(jf=og)},\u0275\u0275repeater:bp,\u0275\u0275repeaterCreate:yp,\u0275\u0275repeaterTrackByIndex:function Z5(a){return a},\u0275\u0275repeaterTrackByIdentity:Rg,\u0275\u0275componentInstance:function K5(){return(0,t.OAn)()[t.b5C][t.SKP]},\u0275\u0275text:k8,\u0275\u0275textInterpolate:d6,\u0275\u0275textInterpolate1:om,\u0275\u0275textInterpolate2:u6,\u0275\u0275textInterpolate3:h6,\u0275\u0275textInterpolate4:s4,\u0275\u0275textInterpolate5:function B8(a,s,u,C,R,X,ne,xe,Se,at,xt){const qt=(0,t.OAn)(),yi=F8(qt,a,s,u,C,R,X,ne,xe,Se,at,xt);return yi!==qa&&Kd(qt,(0,t._px)(),yi),B8},\u0275\u0275textInterpolate6:function z8(a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi){const bi=(0,t.OAn)(),Xi=l6(bi,a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi);return Xi!==qa&&Kd(bi,(0,t._px)(),Xi),z8},\u0275\u0275textInterpolate7:function U8(a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi,Xi){const _n=(0,t.OAn)(),jn=N8(_n,a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi,Xi);return jn!==qa&&Kd(_n,(0,t._px)(),jn),U8},\u0275\u0275textInterpolate8:function f6(a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi,Xi,_n,jn){const Yn=(0,t.OAn)(),xn=c6(Yn,a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi,Xi,_n,jn);return xn!==qa&&Kd(Yn,(0,t._px)(),xn),f6},\u0275\u0275textInterpolateV:function V8(a){const s=(0,t.OAn)(),u=R8(s,a);return u!==qa&&Kd(s,(0,t._px)(),u),V8},\u0275\u0275i18n:function F7(a,s,u){a8(a,s,u),Vp()},\u0275\u0275i18nAttributes:function N7(a,s){const u=(0,t.klJ)(),C=(0,t.db4)(u.consts,s);!function M7(a,s,u){const R=(0,t.Mx4)().index,X=[];if(a.firstCreatePass&&null===a.data[s]){for(let ne=0;ne<u.length;ne+=2){const xe=u[ne],Se=u[ne+1];if(""!==Se){if(_7.test(Se))throw new Error(`ICU expressions are not supported in attributes. Message: "${Se}".`);n4(X,Se,R,xe,E7(X),null)}}a.data[s]=X}}(u,a+t.Yw1,C)},\u0275\u0275i18nExp:function r8(a){return function f7(a){a&&(qf|=1<<Math.min(e4,31)),e4++}(un((0,t.OAn)(),(0,t.xbp)(),a)),r8},\u0275\u0275i18nStart:a8,\u0275\u0275i18nEnd:Vp,\u0275\u0275i18nApply:function B7(a){!function Hg(a,s,u){if(e4>0){const C=a.data[u];Rp(a,s,Array.isArray(C)?C:C.update,(0,t.c$7)()-e4-1,qf)}qf=0,e4=0}((0,t.klJ)(),(0,t.OAn)(),a+t.Yw1)},\u0275\u0275i18nPostprocess:function z7(a,s={}){return function n8(a,s={}){let u=a;if(L7.test(a)){const C={},R=[0];u=u.replace(I7,(X,ne,xe)=>{const Se=ne||xe,at=C[Se]||[];if(at.length||(Se.split("|").forEach(_n=>{const jn=_n.match(P7),Yn=jn?parseInt(jn[1],10):0,xn=O7.test(_n);at.push([Yn,xn,_n])}),C[Se]=at),!at.length)throw new Error(`i18n postprocess: unmatched placeholder - ${Se}`);const xt=R[R.length-1];let qt=0;for(let _n=0;_n<at.length;_n++)if(at[_n][0]===xt){qt=_n;break}const[yi,bi,Xi]=at[qt];return bi?R.pop():xt!==yi&&R.push(yi),at.splice(qt,1),Xi})}return Object.keys(s).length&&(u=u.replace(k7,(C,R,X,ne,xe,Se)=>s.hasOwnProperty(X)?`${R}${s[X]}${Se}`:C),u=u.replace(R7,(C,R)=>s.hasOwnProperty(R)?s[R]:C),u=u.replace(i8,(C,R)=>{if(s.hasOwnProperty(R)){const X=s[R];if(!X.length)throw new Error(`i18n postprocess: unmatched ICU - ${C} with key: ${R}`);return X.shift()}return C})),u}(a,s)},\u0275\u0275resolveWindow:ns,\u0275\u0275resolveDocument:function Js(a){return a.ownerDocument},\u0275\u0275resolveBody:function mo(a){return a.ownerDocument.body},\u0275\u0275setComponentScope:function mv(a,s,u){const C=a.\u0275cmp;C.directiveDefs=Vu(s,Rf),C.pipeDefs=Vu(u,t.oyA)},\u0275\u0275setNgModuleScope:function pv(a,s){return T(()=>{const u=(0,t.WbQ)(a);u.declarations=cm(s.declarations||t.Mlv),u.imports=cm(s.imports||t.Mlv),u.exports=cm(s.exports||t.Mlv),s.bootstrap&&(u.bootstrap=cm(s.bootstrap)),O1.registerNgModule(a,s)})},\u0275\u0275registerNgModuleType:Bd,\u0275\u0275getComponentDepsFactory:function Mv(a,s){return()=>{try{return O1.getComponentDependencies(a,s).dependencies}catch(u){throw console.error(`Computing dependencies in local compilation mode for the component "${a.name}" failed with the exception:`,u),u}}},\u0275setClassDebugInfo:function Ev(a,s){const u=(0,t.xUg)(a);null!==u&&(u.debugInfo=s)},\u0275\u0275declareLet:function G8(a){const s=(0,t.klJ)(),u=(0,t.OAn)(),C=a+t.Yw1,R=Vl(s,C,128,null,null);return(0,t.iMd)(R,!1),(0,t.M_e)(s,u,C,H8),G8},\u0275\u0275storeLet:function rv(a){Cs("NgLet");const s=(0,t.klJ)(),u=(0,t.OAn)(),C=(0,t._px)();return(0,t.M_e)(s,u,C,a),a},\u0275\u0275readContextLet:function g6(a){const s=(0,t.VPL)(),u=(0,t.Hh6)(s,t.Yw1+a);if(u===H8)throw new t.buA(314,!1);return u},\u0275\u0275attachSourceLocations:function sv(a,s){const u=(0,t.klJ)(),C=(0,t.OAn)(),R=C[t.GpT],X="data-ng-source-location";for(const[ne,xe,Se,at]of s){(0,t.XRZ)(u,ne+t.Yw1);const qt=(0,t.vaC)(ne+t.Yw1,C);qt.hasAttribute(X)||R.setAttribute(qt,X,`${a}@o:${xe},l:${Se},c:${at}`)}},\u0275\u0275interpolate:j8,\u0275\u0275interpolate1:W8,\u0275\u0275interpolate2:X8,\u0275\u0275interpolate3:function K8(a,s,u,C,R,X,ne=""){return P8((0,t.OAn)(),a,s,u,C,R,X,ne)},\u0275\u0275interpolate4:function ov(a,s,u,C,R,X,ne,xe,Se=""){return o6((0,t.OAn)(),a,s,u,C,R,X,ne,xe,Se)},\u0275\u0275interpolate5:function Y8(a,s,u,C,R,X,ne,xe,Se,at,xt=""){return F8((0,t.OAn)(),a,s,u,C,R,X,ne,xe,Se,at,xt)},\u0275\u0275interpolate6:function lv(a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi=""){return l6((0,t.OAn)(),a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi)},\u0275\u0275interpolate7:function cv(a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi,Xi=""){return N8((0,t.OAn)(),a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi,Xi)},\u0275\u0275interpolate8:function dv(a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi,Xi,_n,jn=""){return c6((0,t.OAn)(),a,s,u,C,R,X,ne,xe,Se,at,xt,qt,yi,bi,Xi,_n,jn)},\u0275\u0275interpolateV:function uv(a){return R8((0,t.OAn)(),a)},\u0275\u0275sanitizeHtml:Qa,\u0275\u0275sanitizeStyle:function Ar(a){const s=Nl();return s?s.sanitize(In.STYLE,a)||"":El(a,"Style")?zs(a):(0,t.eFE)(a)},\u0275\u0275sanitizeResourceUrl:Za,\u0275\u0275sanitizeScript:function ms(a){const s=Nl();if(s)return ho(s.sanitize(In.SCRIPT,a)||"");if(El(a,"Script"))return ho(zs(a));throw new t.buA(905,!1)},\u0275\u0275sanitizeUrl:$a,\u0275\u0275sanitizeUrlOrResourceUrl:fd,\u0275\u0275trustConstantHtml:function hd(a){return Eo(a[0])},\u0275\u0275trustConstantResourceUrl:function fo(a){return function jo(a){return tl()?.createScriptURL(a)||a}(a[0])},\u0275\u0275validateIframeAttribute:function h3(a,s,u){const C=(0,t.OAn)(),R=(0,t.CpD)(),X=(0,t.d31)(R,C);if(2===R.type&&"iframe"===s.toLowerCase()){const ne=X;throw ne.src="",ne.srcdoc=Eo(""),nr(C[t.GpT],ne),new t.buA(-910,!1)}return a},forwardRef:t.Rfq,resolveForwardRef:t.nl4,\u0275\u0275twoWayProperty:m6,\u0275\u0275twoWayBindingSet:lm,\u0275\u0275twoWayListener:p6,\u0275\u0275replaceMetadata:function wv(a,s,u,C,R=null,X=null){const ne=(0,t.xUg)(a);s.apply(null,[a,u,...C]);const{newDef:xe,oldDef:Se}=function Sv(a,s){const u={...a};return{newDef:Object.assign(a,s,{directiveDefs:u.directiveDefs,pipeDefs:u.pipeDefs,setInput:u.setInput,type:u.type}),oldDef:u}}(ne,(0,t.xUg)(a));if(a[t.CQl]=xe,Se.tView){const at=function en(){return an}().values();for(const xt of at)(0,t.EFk)(xt)&&null===xt[t.f7T]&&u4(R,X,xe,Se,xt)}},\u0275\u0275getReplaceMetadataURL:function m_(a,s,u){const C=`./@ng/component?c=${a}&t=${encodeURIComponent(s)}`;return new URL(C,u).href}};let $u=null;function Lv(a){null!==$u&&(a.defaultEncapsulation!==$u.defaultEncapsulation||a.preserveWhitespaces!==$u.preserveWhitespaces)||($u=a)}const h4=[];function w_(a){return Du(a)?a.ngModule:a}const Kv=m("NgModule",a=>a,void 0,0,(a,s)=>function kv(a,s={}){(function Rv(a,s){const C=(0,t.Bqz)(s.declarations||t.Mlv);let R=null;Object.defineProperty(a,t.hmW,{configurable:!0,get:()=>(null===R&&(R=$().compileNgModule(Yd,`ng:///${a.name}/\u0275mod.js`,{type:a,bootstrap:(0,t.Bqz)(s.bootstrap||t.Mlv).map(t.nl4),declarations:C.map(t.nl4),imports:(0,t.Bqz)(s.imports||t.Mlv).map(t.nl4).map(w_),exports:(0,t.Bqz)(s.exports||t.Mlv).map(t.nl4).map(w_),schemas:s.schemas?(0,t.Bqz)(s.schemas):null,id:s.id||null}),R.schemas||(R.schemas=[])),R)});let X=null;Object.defineProperty(a,t.zSs,{get:()=>{if(null===X){const xe=$();X=xe.compileFactory(Yd,`ng:///${a.name}/\u0275fac.js`,{name:a.name,type:a,deps:ut(a),target:xe.FactoryTarget.NgModule,typeArgumentCount:0})}return X},configurable:!1});let ne=null;Object.defineProperty(a,t.ONQ,{get:()=>{if(null===ne){const xe={name:a.name,type:a,providers:s.providers||t.Mlv,imports:[(s.imports||t.Mlv).map(t.nl4),(s.exports||t.Mlv).map(t.nl4)]};ne=$().compileInjector(Yd,`ng:///${a.name}/\u0275inj.js`,xe)}return ne},configurable:!1})})(a,s),void 0!==s.id&&Bd(a,s.id),function v_(a,s){h4.push({moduleType:a,ngModule:s})}(a,s)}(a,s));class R_{ngModuleFactory;componentFactories;constructor(s,u){this.ngModuleFactory=s,this.componentFactories=u}}let Yv=(()=>{class a{compileModuleSync(u){return new V1(u)}compileModuleAsync(u){return Promise.resolve(this.compileModuleSync(u))}compileModuleAndAllComponentsSync(u){const C=this.compileModuleSync(u),X=ps((0,t.phH)(u).declarations).reduce((ne,xe)=>{const Se=(0,t.xUg)(xe);return Se&&ne.push(new F1(Se)),ne},[]);return new R_(C,X)}compileModuleAndAllComponentsAsync(u){return Promise.resolve(this.compileModuleAndAllComponentsSync(u))}clearCache(){}clearCacheFor(u){}getModuleId(u){}static \u0275fac=function(C){return new(C||a)};static \u0275prov=(0,t.jDH)({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();const O_=new t.nKC("");let Qv=(()=>{class a{zone=(0,t.WQX)(Ha);changeDetectionScheduler=(0,t.WQX)(t.hk6);applicationRef=(0,t.WQX)(B3);applicationErrorHandler=(0,t.WQX)(t.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(u){this.applicationErrorHandler(u)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(C){return new(C||a)};static \u0275prov=(0,t.jDH)({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();const A6=new t.nKC("",{factory:()=>!1});function P_({ngZoneFactory:a,ignoreChangesOutsideZone:s,scheduleInRootZone:u}){return a??=()=>new Ha({...L6(),scheduleInRootZone:u}),[{provide:Ha,useFactory:a},{provide:t.Z63,multi:!0,useFactory:()=>{const C=(0,t.WQX)(Qv,{optional:!0});return()=>C.initialize()}},{provide:t.Z63,multi:!0,useFactory:()=>{const C=(0,t.WQX)(Zv);return()=>{C.initialize()}}},!0===s?{provide:t.Jy$,useValue:!0}:[],{provide:t.AQb,useValue:u??R2},{provide:t.ZTf,useFactory:()=>{const C=(0,t.WQX)(Ha),R=(0,t.WQX)(t.uvJ);let X;return ne=>{C.runOutsideAngular(()=>{R.destroyed&&!X?setTimeout(()=>{throw ne}):(X??=R.get(t.zcH),X.handleError(ne))})}}}]}function L6(a){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:a?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:a?.runCoalescing??!1}}let Zv=(()=>{class a{subscription=new c.yU;initialized=!1;zone=(0,t.WQX)(Ha);pendingTasks=(0,t.WQX)(t.rev);initialize(){if(this.initialized)return;this.initialized=!0;let u=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(u=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ha.assertNotInAngularZone(),queueMicrotask(()=>{null!==u&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(u),u=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ha.assertInAngularZone(),u??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(C){return new(C||a)};static \u0275prov=(0,t.jDH)({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),B_=(()=>{class a{applicationErrorHandler=(0,t.WQX)(t.ZTf);appRef=(0,t.WQX)(B3);taskService=(0,t.WQX)(t.rev);ngZone=(0,t.WQX)(Ha);zonelessEnabled=(0,t.WQX)(t.Evm);tracing=(0,t.WQX)(xc,{optional:!0});disableScheduling=(0,t.WQX)(t.Jy$,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new c.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Cc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,t.WQX)(t.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 c1||!this.zoneIsDefined)}notify(u){if(!this.zonelessEnabled&&5===u)return;let C=!1;switch(u){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,C=!0;break;case 12:this.appRef.dirtyFlags|=16,C=!0;break;case 11:C=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(C))return;const R=this.useMicrotaskScheduler?F2:P2;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>R(()=>this.tick())):this.ngZone.runOutsideAngular(()=>R(()=>this.tick()))}shouldScheduleTick(u){return!(this.disableScheduling&&!u||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Cc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const u=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(C){this.taskService.remove(u),this.applicationErrorHandler(C)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,F2(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(u)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const u=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(u)}}static \u0275fac=function(C){return new(C||a)};static \u0275prov=(0,t.jDH)({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();const k6=new t.nKC("",{providedIn:"root",factory:()=>(0,t.WQX)(k6,{optional:!0,skipSelf:!0})||function Jv(){return typeof $localize<"u"&&$localize.locale||kp}()}),qv=new t.nKC("",{providedIn:"root",factory:()=>"USD"})},73703:(Ae,ee,l)=>{"use strict";l.d(ee,{u:()=>t});var i=l(96354);function t(p){return(0,i.T)(()=>p)}},74075:(Ae,ee,l)=>{"use strict";var i=l(9656),t=Object.keys||function(P){var M=[];for(var j in P)M.push(j);return M};Ae.exports=d;var p=Object.create(l(27637));p.inherits=l(71993);var S=l(19609),c=l(47849);p.inherits(d,S);for(var e=t(c.prototype),T=0;T<e.length;T++){var g=e[T];d.prototype[g]||(d.prototype[g]=c.prototype[g])}function d(P){if(!(this instanceof d))return new d(P);S.call(this,P),c.call(this,P),P&&!1===P.readable&&(this.readable=!1),P&&!1===P.writable&&(this.writable=!1),this.allowHalfOpen=!0,P&&!1===P.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",w)}function w(){this.allowHalfOpen||this._writableState.ended||i.nextTick(m,this)}function m(P){P.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(P){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=P,this._writableState.destroyed=P)}}),d.prototype._destroy=function(P,M){this.push(null),this.end(),i.nextTick(M,P)}},74402:(Ae,ee,l)=>{"use strict";l.d(ee,{A:()=>p});var i=l(71985),t=l(98071);function p(S){return!!S&&(S instanceof i.c||(0,t.T)(S.lift)&&(0,t.T)(S.subscribe))}},74754:(Ae,ee,l)=>{"use strict";var i=l(27054).Buffer,t=l(917),p=l(90518).ec,S=l(65667),c=l(64589);function d(w,m){if(w.cmpn(0)<=0)throw new Error("invalid sig");if(w.cmp(m)>=0)throw new Error("invalid sig")}Ae.exports=function e(w,m,P,M,j){var U=S(P);if("ec"===U.type){if("ecdsa"!==M&&"ecdsa/rsa"!==M)throw new Error("wrong public key type");return function T(w,m,P){var M=c[P.data.algorithm.curve.join(".")];if(!M)throw new Error("unknown curve "+P.data.algorithm.curve.join("."));return new p(M).verify(m,w,P.data.subjectPrivateKey.data)}(w,m,U)}if("dsa"===U.type){if("dsa"!==M)throw new Error("wrong public key type");return function g(w,m,P){var M=P.data.p,j=P.data.q,U=P.data.g,K=P.data.pub_key,q=S.signature.decode(w,"der"),G=q.s,Q=q.r;d(G,j),d(Q,j);var $=t.mont(M),ae=G.invm(j);return 0===U.toRed($).redPow(new t(m).mul(ae).mod(j)).fromRed().mul(K.toRed($).redPow(Q.mul(ae).mod(j)).fromRed()).mod(M).mod(j).cmp(Q)}(w,m,U)}if("rsa"!==M&&"ecdsa/rsa"!==M)throw new Error("wrong public key type");m=i.concat([j,m]);for(var K=U.modulus.byteLength(),q=[1],G=0;m.length+q.length+2<K;)q.push(255),G+=1;q.push(0);for(var Q=-1;++Q<m.length;)q.push(m[Q]);q=i.from(q);var $=t.mont(U.modulus);w=(w=new t(w).toRed($)).redPow(new t(U.publicExponent)),w=i.from(w.fromRed().toArray());var ae=G<8?1:0;for(K=Math.min(w.length,q.length),w.length!==q.length&&(ae=1),Q=-1;++Q<K;)ae|=w[Q]^q[Q];return 0===ae}},75225:(Ae,ee,l)=>{"use strict";function i(U,K){var q=Object.keys(U);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(U);K&&(G=G.filter(function(Q){return Object.getOwnPropertyDescriptor(U,Q).enumerable})),q.push.apply(q,G)}return q}function t(U){for(var K=1;K<arguments.length;K++){var q=null!=arguments[K]?arguments[K]:{};K%2?i(Object(q),!0).forEach(function(G){p(U,G,q[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(q)):i(Object(q)).forEach(function(G){Object.defineProperty(U,G,Object.getOwnPropertyDescriptor(q,G))})}return U}function p(U,K,q){return(K=T(K))in U?Object.defineProperty(U,K,{value:q,enumerable:!0,configurable:!0,writable:!0}):U[K]=q,U}function c(U,K){for(var q=0;q<K.length;q++){var G=K[q];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(U,T(G.key),G)}}function T(U){var K=function g(U,K){if("object"!=typeof U||null===U)return U;var q=U[Symbol.toPrimitive];if(void 0!==q){var G=q.call(U,K||"default");if("object"!=typeof G)return G;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===K?String:Number)(U)}(U,"string");return"symbol"==typeof K?K:String(K)}var w=l(83838).Buffer,P=l(63779).inspect,M=P&&P.custom||"inspect";function j(U,K,q){w.prototype.copy.call(U,K,q)}Ae.exports=function(){function U(){(function S(U,K){if(!(U instanceof K))throw new TypeError("Cannot call a class as a function")})(this,U),this.head=null,this.tail=null,this.length=0}return function e(U,K,q){K&&c(U.prototype,K),q&&c(U,q),Object.defineProperty(U,"prototype",{writable:!1})}(U,[{key:"push",value:function(q){var G={data:q,next:null};this.length>0?this.tail.next=G:this.head=G,this.tail=G,++this.length}},{key:"unshift",value:function(q){var G={data:q,next:this.head};0===this.length&&(this.tail=G),this.head=G,++this.length}},{key:"shift",value:function(){if(0!==this.length){var q=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,q}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(q){if(0===this.length)return"";for(var G=this.head,Q=""+G.data;G=G.next;)Q+=q+G.data;return Q}},{key:"concat",value:function(q){if(0===this.length)return w.alloc(0);for(var G=w.allocUnsafe(q>>>0),Q=this.head,$=0;Q;)j(Q.data,G,$),$+=Q.data.length,Q=Q.next;return G}},{key:"consume",value:function(q,G){var Q;return q<this.head.data.length?(Q=this.head.data.slice(0,q),this.head.data=this.head.data.slice(q)):Q=q===this.head.data.length?this.shift():G?this._getString(q):this._getBuffer(q),Q}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(q){var G=this.head,Q=1,$=G.data;for(q-=$.length;G=G.next;){var ae=G.data,ue=q>ae.length?ae.length:q;if($+=ue===ae.length?ae:ae.slice(0,q),0===(q-=ue)){ue===ae.length?(++Q,this.head=G.next?G.next:this.tail=null):(this.head=G,G.data=ae.slice(ue));break}++Q}return this.length-=Q,$}},{key:"_getBuffer",value:function(q){var G=w.allocUnsafe(q),Q=this.head,$=1;for(Q.data.copy(G),q-=Q.data.length;Q=Q.next;){var ae=Q.data,ue=q>ae.length?ae.length:q;if(ae.copy(G,G.length-q,0,ue),0===(q-=ue)){ue===ae.length?(++$,this.head=Q.next?Q.next:this.tail=null):(this.head=Q,Q.data=ae.slice(ue));break}++$}return this.length-=$,G}},{key:M,value:function(q,G){return P(this,t(t({},G),{},{depth:0,customInspect:!1}))}}]),U}()},76269:(Ae,ee,l)=>{const i=l(19089).getSymbolSize;ee.getPositions=function(S){const c=i(S);return[[0,0],[c-7,0],[0,c-7]]}},76643:(Ae,ee,l)=>{"use strict";var i=l(27054).Buffer,t=l(41090),p=typeof Uint8Array<"u",c=p&&typeof ArrayBuffer<"u"&&ArrayBuffer.isView;Ae.exports=function(e,T,g){if("string"==typeof e||i.isBuffer(e)||p&&e instanceof Uint8Array||c&&c(e))return t(e,T);throw new TypeError(g+" must be a string, a Buffer, a Uint8Array, or a DataView")}},76838:(Ae,ee,l)=>{"use strict";l.d(ee,{FN:()=>oe,vR:()=>he});var i=l(2615),t=l(73664),p=l(21413),S=l(84412),c=l(7673),e=l(23294),T=l(65245),g=l(56977),d=l(95735),w=l(10438),m=l(44522),P=l(39842),M=l(83300),j=l(67847);const U=new i.nKC("cdk-input-modality-detector-options"),K={ignoreKeys:[w.A$,w.W3,w.eg,w.Ge,w.FX]},G={passive:!0,capture:!0};let Q=(()=>{class me{_platform=(0,i.WQX)(P.O);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new S.t(null);_options;_lastTouchMs=0;_onKeydown=D=>{this._options?.ignoreKeys?.some(n=>n===D.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,m.Fb)(D))};_onMousedown=D=>{Date.now()-this._lastTouchMs<650||(this._modality.next((0,d._)(D)?"keyboard":"mouse"),this._mostRecentTarget=(0,m.Fb)(D))};_onTouchstart=D=>{(0,d.w)(D)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,m.Fb)(D))};constructor(){const D=(0,i.WQX)(t.SKi),n=(0,i.WQX)(i.qQL),o=(0,i.WQX)(U,{optional:!0});if(this._options={...K,...o},this.modalityDetected=this._modality.pipe((0,T.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,e.F)()),this._platform.isBrowser){const f=(0,i.WQX)(t._9s).createRenderer(null,null);this._listenerCleanups=D.runOutsideAngular(()=>[f.listen(n,"keydown",this._onKeydown,G),f.listen(n,"mousedown",this._onMousedown,G),f.listen(n,"touchstart",this._onTouchstart,G)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(D=>D())}static \u0275fac=function(n){return new(n||me)};static \u0275prov=i.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})();var $=function(me){return me[me.IMMEDIATE=0]="IMMEDIATE",me[me.EVENTUAL=1]="EVENTUAL",me}($||{});const ae=new i.nKC("cdk-focus-monitor-default-options"),ue=(0,M.B)({passive:!0,capture:!0});let oe=(()=>{class me{_ngZone=(0,i.WQX)(t.SKi);_platform=(0,i.WQX)(P.O);_inputModalityDetector=(0,i.WQX)(Q);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=(0,i.WQX)(i.qQL);_stopInputModalityDetector=new p.B;constructor(){const D=(0,i.WQX)(ae,{optional:!0});this._detectionMode=D?.detectionMode||$.IMMEDIATE}_rootNodeFocusAndBlurListener=D=>{for(let o=(0,m.Fb)(D);o;o=o.parentElement)"focus"===D.type?this._onFocus(D,o):this._onBlur(D,o)};monitor(D,n=!1){const o=(0,j.i8)(D);if(!this._platform.isBrowser||1!==o.nodeType)return(0,c.of)();const f=(0,m.KT)(o)||this._document,h=this._elementInfo.get(o);if(h)return n&&(h.checkChildren=!0),h.subject;const b={checkChildren:n,subject:new p.B,rootNode:f};return this._elementInfo.set(o,b),this._registerGlobalListeners(b),b.subject}stopMonitoring(D){const n=(0,j.i8)(D),o=this._elementInfo.get(n);o&&(o.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(o))}focusVia(D,n,o){const f=(0,j.i8)(D);f===this._document.activeElement?this._getClosestElementsInfo(f).forEach(([b,A])=>this._originChanged(b,n,A)):(this._setOrigin(n),"function"==typeof f.focus&&f.focus(o))}ngOnDestroy(){this._elementInfo.forEach((D,n)=>this.stopMonitoring(n))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(D){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(D)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:D&&this._isLastInteractionFromInputLabel(D)?"mouse":"program"}_shouldBeAttributedToTouch(D){return this._detectionMode===$.EVENTUAL||!!D?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(D,n){D.classList.toggle("cdk-focused",!!n),D.classList.toggle("cdk-touch-focused","touch"===n),D.classList.toggle("cdk-keyboard-focused","keyboard"===n),D.classList.toggle("cdk-mouse-focused","mouse"===n),D.classList.toggle("cdk-program-focused","program"===n)}_setOrigin(D,n=!1){this._ngZone.runOutsideAngular(()=>{this._origin=D,this._originFromTouchInteraction="touch"===D&&n,this._detectionMode===$.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(D,n){const o=this._elementInfo.get(n),f=(0,m.Fb)(D);!o||!o.checkChildren&&n!==f||this._originChanged(n,this._getFocusOrigin(f),o)}_onBlur(D,n){const o=this._elementInfo.get(n);!o||o.checkChildren&&D.relatedTarget instanceof Node&&n.contains(D.relatedTarget)||(this._setClasses(n),this._emitOrigin(o,null))}_emitOrigin(D,n){D.subject.observers.length&&this._ngZone.run(()=>D.subject.next(n))}_registerGlobalListeners(D){if(!this._platform.isBrowser)return;const n=D.rootNode,o=this._rootNodeFocusListenerCount.get(n)||0;o||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,ue),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,ue)}),this._rootNodeFocusListenerCount.set(n,o+1),1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,g.Q)(this._stopInputModalityDetector)).subscribe(f=>{this._setOrigin(f,!0)}))}_removeGlobalListeners(D){const n=D.rootNode;if(this._rootNodeFocusListenerCount.has(n)){const o=this._rootNodeFocusListenerCount.get(n);o>1?this._rootNodeFocusListenerCount.set(n,o-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ue),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ue),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(D,n,o){this._setClasses(D,n),this._emitOrigin(o,n),this._lastFocusOrigin=n}_getClosestElementsInfo(D){const n=[];return this._elementInfo.forEach((o,f)=>{(f===D||o.checkChildren&&f.contains(D))&&n.push([f,o])}),n}_isLastInteractionFromInputLabel(D){const{_mostRecentTarget:n,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!n||n===D||"INPUT"!==D.nodeName&&"TEXTAREA"!==D.nodeName||D.disabled)return!1;const f=D.labels;if(f)for(let h=0;h<f.length;h++)if(f[h].contains(n))return!0;return!1}static \u0275fac=function(n){return new(n||me)};static \u0275prov=i.jDH({token:me,factory:me.\u0275fac,providedIn:"root"})}return me})(),he=(()=>{class me{_elementRef=(0,i.WQX)(t.aKT);_focusMonitor=(0,i.WQX)(oe);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new t.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const D=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(D,1===D.nodeType&&D.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||me)};static \u0275dir=t.FsC({type:me,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return me})()},76939:(Ae,ee,l)=>{"use strict";l.d(ee,{A8:()=>m,I3:()=>G,VA:()=>P,aI:()=>U,bV:()=>K,jc:()=>$,lb:()=>j});var i=l(2615),t=l(73664),p=l(17705);class w{_attachedHost;attach(ue){return this._attachedHost=ue,ue.attach(this)}detach(){let ue=this._attachedHost;null!=ue&&(this._attachedHost=null,ue.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ue){this._attachedHost=ue}}class m extends w{component;viewContainerRef;injector;projectableNodes;constructor(ue,oe,he,me){super(),this.component=ue,this.viewContainerRef=oe,this.injector=he,this.projectableNodes=me}}class P extends w{templateRef;viewContainerRef;context;injector;constructor(ue,oe,he,me){super(),this.templateRef=ue,this.viewContainerRef=oe,this.context=he,this.injector=me}get origin(){return this.templateRef.elementRef}attach(ue,oe=this.context){return this.context=oe,super.attach(ue)}detach(){return this.context=void 0,super.detach()}}class M extends w{element;constructor(ue){super(),this.element=ue instanceof t.aKT?ue.nativeElement:ue}}class j{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(ue){return ue instanceof m?(this._attachedPortal=ue,this.attachComponentPortal(ue)):ue instanceof P?(this._attachedPortal=ue,this.attachTemplatePortal(ue)):this.attachDomPortal&&ue instanceof M?(this._attachedPortal=ue,this.attachDomPortal(ue)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(ue){this._disposeFn=ue}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class U extends j{outletElement;_appRef;_defaultInjector;constructor(ue,oe,he){super(),this.outletElement=ue,this._appRef=oe,this._defaultInjector=he}attachComponentPortal(ue){let oe;if(ue.viewContainerRef){const he=ue.injector||ue.viewContainerRef.injector,me=he.get(t.Ab1,null,{optional:!0})||void 0;oe=ue.viewContainerRef.createComponent(ue.component,{index:ue.viewContainerRef.length,injector:he,ngModuleRef:me,projectableNodes:ue.projectableNodes||void 0}),this.setDisposeFn(()=>oe.destroy())}else{const he=this._appRef,me=ue.injector||this._defaultInjector||i.zZn.NULL,Te=me.get(i.uvJ,he.injector);oe=(0,p.a0P)(ue.component,{elementInjector:me,environmentInjector:Te,projectableNodes:ue.projectableNodes||void 0}),he.attachView(oe.hostView),this.setDisposeFn(()=>{he.viewCount>0&&he.detachView(oe.hostView),oe.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(oe)),this._attachedPortal=ue,oe}attachTemplatePortal(ue){let oe=ue.viewContainerRef,he=oe.createEmbeddedView(ue.templateRef,ue.context,{injector:ue.injector});return he.rootNodes.forEach(me=>this.outletElement.appendChild(me)),he.detectChanges(),this.setDisposeFn(()=>{let me=oe.indexOf(he);-1!==me&&oe.remove(me)}),this._attachedPortal=ue,he}attachDomPortal=ue=>{const oe=ue.element,he=this.outletElement.ownerDocument.createComment("dom-portal");oe.parentNode.insertBefore(he,oe),this.outletElement.appendChild(oe),this._attachedPortal=ue,super.setDisposeFn(()=>{he.parentNode&&he.parentNode.replaceChild(oe,he)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ue){return ue.hostView.rootNodes[0]}}let K=(()=>{class ae extends P{constructor(){super((0,i.WQX)(t.C4Q),(0,i.WQX)(t.c1b))}static \u0275fac=function(he){return new(he||ae)};static \u0275dir=t.FsC({type:ae,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[t.Vt3]})}return ae})(),G=(()=>{class ae extends j{_moduleRef=(0,i.WQX)(t.Ab1,{optional:!0});_document=(0,i.WQX)(i.qQL);_viewContainerRef=(0,i.WQX)(t.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(oe){this.hasAttached()&&!oe&&!this._isInitialized||(this.hasAttached()&&super.detach(),oe&&super.attach(oe),this._attachedPortal=oe||null)}attached=new t.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(oe){oe.setAttachedHost(this);const he=null!=oe.viewContainerRef?oe.viewContainerRef:this._viewContainerRef,me=he.createComponent(oe.component,{index:he.length,injector:oe.injector||he.injector,projectableNodes:oe.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return he!==this._viewContainerRef&&this._getRootNode().appendChild(me.hostView.rootNodes[0]),super.setDisposeFn(()=>me.destroy()),this._attachedPortal=oe,this._attachedRef=me,this.attached.emit(me),me}attachTemplatePortal(oe){oe.setAttachedHost(this);const he=this._viewContainerRef.createEmbeddedView(oe.templateRef,oe.context,{injector:oe.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=oe,this._attachedRef=he,this.attached.emit(he),he}attachDomPortal=oe=>{const he=oe.element,me=this._document.createComment("dom-portal");oe.setAttachedHost(this),he.parentNode.insertBefore(me,he),this._getRootNode().appendChild(he),this._attachedPortal=oe,super.setDisposeFn(()=>{me.parentNode&&me.parentNode.replaceChild(he,me)})};_getRootNode(){const oe=this._viewContainerRef.element.nativeElement;return oe.nodeType===oe.ELEMENT_NODE?oe:oe.parentNode}static \u0275fac=function(he){return new(he||ae)};static \u0275dir=t.FsC({type:ae,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.Vt3]})}return ae})(),$=(()=>{class ae{static \u0275fac=function(he){return new(he||ae)};static \u0275mod=t.$C({type:ae});static \u0275inj=i.G2t({})}return ae})()},77199:()=>{},77933:Ae=>{"use strict";Ae.exports=RangeError},77965:()=>{},78368:(Ae,ee,l)=>{"use strict";var i=Function.prototype.call,t=Object.prototype.hasOwnProperty,p=l(65992);Ae.exports=p.call(i,t)},78454:(Ae,ee,l)=>{"use strict";var i=l(54272).Buffer,t=i.isEncoding||function(G){switch((G=""+G)&&G.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 c(G){var Q;switch(this.encoding=function S(G){var Q=function p(G){if(!G)return"utf8";for(var Q;;)switch(G){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 G;default:if(Q)return;G=(""+G).toLowerCase(),Q=!0}}(G);if("string"!=typeof Q&&(i.isEncoding===t||!t(G)))throw new Error("Unknown encoding: "+G);return Q||G}(G),this.encoding){case"utf16le":this.text=P,this.end=M,Q=4;break;case"utf8":this.fillLast=d,Q=4;break;case"base64":this.text=j,this.end=U,Q=3;break;default:return this.write=K,void(this.end=q)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(Q)}function e(G){return G<=127?0:G>>5==6?2:G>>4==14?3:G>>3==30?4:G>>6==2?-1:-2}function d(G){var Q=this.lastTotal-this.lastNeed,$=function g(G,Q){if(128!=(192&Q[0]))return G.lastNeed=0,"\ufffd";if(G.lastNeed>1&&Q.length>1){if(128!=(192&Q[1]))return G.lastNeed=1,"\ufffd";if(G.lastNeed>2&&Q.length>2&&128!=(192&Q[2]))return G.lastNeed=2,"\ufffd"}}(this,G);return void 0!==$?$:this.lastNeed<=G.length?(G.copy(this.lastChar,Q,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(G.copy(this.lastChar,Q,0,G.length),void(this.lastNeed-=G.length))}function P(G,Q){if((G.length-Q)%2==0){var $=G.toString("utf16le",Q);if($){var ae=$.charCodeAt($.length-1);if(ae>=55296&&ae<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=G[G.length-2],this.lastChar[1]=G[G.length-1],$.slice(0,-1)}return $}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=G[G.length-1],G.toString("utf16le",Q,G.length-1)}function M(G){var Q=G&&G.length?this.write(G):"";return this.lastNeed?Q+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):Q}function j(G,Q){var $=(G.length-Q)%3;return 0===$?G.toString("base64",Q):(this.lastNeed=3-$,this.lastTotal=3,1===$?this.lastChar[0]=G[G.length-1]:(this.lastChar[0]=G[G.length-2],this.lastChar[1]=G[G.length-1]),G.toString("base64",Q,G.length-$))}function U(G){var Q=G&&G.length?this.write(G):"";return this.lastNeed?Q+this.lastChar.toString("base64",0,3-this.lastNeed):Q}function K(G){return G.toString(this.encoding)}function q(G){return G&&G.length?this.write(G):""}ee.I=c,c.prototype.write=function(G){if(0===G.length)return"";var Q,$;if(this.lastNeed){if(void 0===(Q=this.fillLast(G)))return"";$=this.lastNeed,this.lastNeed=0}else $=0;return $<G.length?Q?Q+this.text(G,$):this.text(G,$):Q||""},c.prototype.end=function m(G){var Q=G&&G.length?this.write(G):"";return this.lastNeed?Q+"\ufffd":Q},c.prototype.text=function w(G,Q){var $=function T(G,Q,$){var ae=Q.length-1;if(ae<$)return 0;var ue=e(Q[ae]);return ue>=0?(ue>0&&(G.lastNeed=ue-1),ue):--ae<$||-2===ue?0:(ue=e(Q[ae]))>=0?(ue>0&&(G.lastNeed=ue-2),ue):--ae<$||-2===ue?0:(ue=e(Q[ae]))>=0?(ue>0&&(2===ue?ue=0:G.lastNeed=ue-3),ue):0}(this,G,Q);if(!this.lastNeed)return G.toString("utf8",Q);this.lastTotal=$;var ae=G.length-($-this.lastNeed);return G.copy(this.lastChar,0,ae),G.toString("utf8",Q,ae)},c.prototype.fillLast=function(G){if(this.lastNeed<=G.length)return G.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);G.copy(this.lastChar,this.lastTotal-this.lastNeed,0,G.length),this.lastNeed-=G.length}},78528:(Ae,ee,l)=>{"use strict";ee.sha1=l(33468),ee.sha224=l(5563),ee.sha256=l(27138),ee.sha384=l(93898),ee.sha512=l(10827)},78982:()=>{},79039:Ae=>{"use strict";Ae.exports=Math.max},79143:(Ae,ee,l)=>{"use strict";var i=l(27054).Buffer,t=l(67211),p=l(5942),S=l(71993),c=l(43150),e=l(74754),T=l(62951);function g(P){p.Writable.call(this);var M=T[P];if(!M)throw new Error("Unknown message digest");this._hashType=M.hash,this._hash=t(M.hash),this._tag=M.id,this._signType=M.sign}function d(P){p.Writable.call(this);var M=T[P];if(!M)throw new Error("Unknown message digest");this._hash=t(M.hash),this._tag=M.id,this._signType=M.sign}function w(P){return new g(P)}function m(P){return new d(P)}Object.keys(T).forEach(function(P){T[P].id=i.from(T[P].id,"hex"),T[P.toLowerCase()]=T[P]}),S(g,p.Writable),g.prototype._write=function(M,j,U){this._hash.update(M),U()},g.prototype.update=function(M,j){return this._hash.update("string"==typeof M?i.from(M,j):M),this},g.prototype.sign=function(M,j){this.end();var U=this._hash.digest(),K=c(U,M,this._hashType,this._signType,this._tag);return j?K.toString(j):K},S(d,p.Writable),d.prototype._write=function(M,j,U){this._hash.update(M),U()},d.prototype.update=function(M,j){return this._hash.update("string"==typeof M?i.from(M,j):M),this},d.prototype.verify=function(M,j,U){var K="string"==typeof j?i.from(j,U):j;this.end();var q=this._hash.digest();return e(K,q,M,this._signType,this._tag)},Ae.exports={Sign:w,Verify:m,createSign:w,createVerify:m}},79368:()=>{},79470:(Ae,ee,l)=>{"use strict";l.d(ee,{m:()=>t});var i=l(98071);function t(p){return p&&(0,i.T)(p.schedule)}},79477:Ae=>{"use strict";Ae.exports=Function.prototype.apply},79647:(Ae,ee,l)=>{"use strict";l.d(ee,{Az:()=>d,E2:()=>g,Kq:()=>T,N:()=>e,_c:()=>S,qv:()=>c});var i=l(59640);const t=(0,i.UX)("root"),S=((0,i.Mz)(t,w=>w.apiURL),(0,i.Mz)(t,w=>w.selNode)),c=(0,i.Mz)(t,w=>w.appConfig),e=(0,i.Mz)(t,w=>w.nodeData),T=(0,i.Mz)(t,w=>w.apisCallStatus.Login),g=(0,i.Mz)(t,w=>w.apisCallStatus.IsAuthorized),d=(0,i.Mz)(t,w=>({nodeDate:w.nodeData,selNode:w.selNode}))},79838:()=>{},80243:Ae=>{"use strict";var ee={single_source_shortest_paths:function(l,i,t){var p={},S={};S[i]=0;var e,T,g,d,w,P,c=ee.PriorityQueue.make();for(c.push(i,0);!c.empty();)for(g in d=(e=c.pop()).cost,w=l[T=e.value]||{})w.hasOwnProperty(g)&&(P=d+w[g],(typeof S[g]>"u"||S[g]>P)&&(S[g]=P,c.push(g,P),p[g]=T));if(typeof t<"u"&&typeof S[t]>"u"){var U=["Could not find a path from ",i," to ",t,"."].join("");throw new Error(U)}return p},extract_shortest_path_from_predecessor_list:function(l,i){for(var t=[],p=i;p;)t.push(p),p=l[p];return t.reverse(),t},find_path:function(l,i,t){var p=ee.single_source_shortest_paths(l,i,t);return ee.extract_shortest_path_from_predecessor_list(p,t)},PriorityQueue:{make:function(l){var p,i=ee.PriorityQueue,t={};for(p in l=l||{},i)i.hasOwnProperty(p)&&(t[p]=i[p]);return t.queue=[],t.sorter=l.sorter||i.default_sorter,t},default_sorter:function(l,i){return l.cost-i.cost},push:function(l,i){this.queue.push({value:l,cost:i}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Ae.exports=ee},80377:(Ae,ee)=>{ee.isValid=function(i){return!isNaN(i)&&i>=1&&i<=40}},80408:(Ae,ee,l)=>{"use strict";function i(t){return Array.isArray(t)?t:[t]}l.d(ee,{F:()=>i})},80975:Ae=>{"use strict";Ae.exports=Math.pow},81744:(Ae,ee,l)=>{const i=l(66686);ee.mul=function(p,S){const c=new Uint8Array(p.length+S.length-1);for(let e=0;e<p.length;e++)for(let T=0;T<S.length;T++)c[e+T]^=i.mul(p[e],S[T]);return c},ee.mod=function(p,S){let c=new Uint8Array(p);for(;c.length-S.length>=0;){const e=c[0];for(let g=0;g<S.length;g++)c[g]^=i.mul(S[g],e);let T=0;for(;T<c.length&&0===c[T];)T++;c=c.slice(T)}return c},ee.generateECPolynomial=function(p){let S=new Uint8Array([1]);for(let c=0;c<p;c++)S=ee.mul(S,new Uint8Array([1,i.exp(c)]));return S}},81853:(Ae,ee,l)=>{"use strict";function i(t){const S=t(c=>{Error.call(c),c.stack=(new Error).stack});return S.prototype=Object.create(Error.prototype),S.prototype.constructor=S,S}l.d(ee,{L:()=>i})},82571:(Ae,ee,l)=>{"use strict";l.d(ee,{h:()=>j});var i=l(21413),t=l(84412),p=l(7673),S=l(18810),c=l(99437),e=l(25558),T=l(56977),g=l(4416),d=l(2615),w=l(51534),m=l(98570),P=l(72200),M=l(345);let j=(()=>{var U;class K{constructor(G,Q,$,ae){this.dataService=G,this.logger=Q,this.datePipe=$,this.sanitizer=ae,this.currencyUnits=[],this.CurrencyUnitEnum=g.BQ,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=g.wn.UN_INITIATED,this.screenSize=g.f7.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new t.t(this.containerSize),this.unSubs=[new i.B,new i.B,new i.B]}getScreenSize(){return this.screenSize}setScreenSize(G){this.screenSize=G}getContainerSize(){return this.containerSize}setContainerSize(G,Q){this.containerSize={width:G,height:Q},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(G,Q,$,ae="asc"){return G.sort("number"===$?"desc"===ae?(ue,oe)=>+ue[Q]>+oe[Q]?-1:1:(ue,oe)=>+ue[Q]>+oe[Q]?1:-1:"desc"===ae?(ue,oe)=>ue[Q]>oe[Q]?-1:1:(ue,oe)=>ue[Q]>oe[Q]?1:-1)}sortDescByKey(G,Q){return G.sort(($,ae)=>{const ue=+$[Q],oe=+ae[Q];return ue>oe?-1:ue<oe?1:0})}sortAscByKey(G,Q){return G.sort(($,ae)=>{const ue=+$[Q],oe=+ae[Q];return ue<oe?-1:ue>oe?1:0})}camelCase(G){return G?.replace(/(?:^\w|[A-Z]|\b\w)/g,(Q,$)=>Q.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(G,Q,$){return Q&&$&&""!==Q&&""!==$&&(G=G?.replace(new RegExp(Q,"g"),$)),G.indexOf("!\n")>0||G.indexOf(".\n")>0?G.split("\n")?.reduce((ae,ue)=>ae+ue.charAt(0).toUpperCase()+ue.substring(1).toLowerCase()+"\n",""):G.indexOf(" ")>0?G.split(" ")?.reduce((ae,ue)=>ae+ue.charAt(0).toUpperCase()+ue.substring(1).toLowerCase()+" ",""):G.charAt(0).toUpperCase()+G.substring(1).toLowerCase()}convertCurrency(G,Q,$,ae,ue){const oe=(new Date).valueOf();try{return ue&&ae&&(Q===g.BQ.OTHER||$===g.BQ.OTHER)?this.ratesAPIStatus!==g.wn.INITIATED?this.conversionData.data&&this.conversionData.last_fetched&&oe<this.conversionData.last_fetched+3e5?(0,p.of)(this.convertWithFiat(G,Q,ae)):(this.ratesAPIStatus=g.wn.INITIATED,this.dataService.getFiatRates().pipe((0,T.Q)(this.unSubs[0]),(0,e.n)(he=>(this.ratesAPIStatus=g.wn.COMPLETED,this.conversionData.data=he&&"object"==typeof he?he:he&&"string"==typeof he?JSON.parse(he):{},this.conversionData.last_fetched=oe,(0,p.of)(this.convertWithFiat(G,Q,ae)))),(0,c.W)(he=>(this.ratesAPIStatus=g.wn.ERROR,(0,S.$)(()=>"Currency Conversion Error."))))):(0,p.of)(this.conversionData.data&&this.conversionData.last_fetched&&oe<this.conversionData.last_fetched+3e5?this.convertWithFiat(G,Q,ae):this.convertWithoutFiat(G,Q)):(0,p.of)(this.convertWithoutFiat(G,Q))}catch{return(0,S.$)(()=>"Currency Conversion Error.")}}convertWithoutFiat(G,Q){const $={};switch($[g.BQ.SATS]=0,$[g.BQ.BTC]=0,Q){case g.BQ.SATS:$[g.BQ.SATS]=G,$[g.BQ.BTC]=1e-8*G;break;case g.BQ.BTC:$[g.BQ.SATS]=1e8*G,$[g.BQ.BTC]=G}return $}convertWithFiat(G,Q,$){const ae={unit:$,iconType:"FA",symbol:null};if($){const ue=(0,g.Zo)(this.conversionData.data[$].symbol);ae.iconType=ue.iconType,ae.symbol=ue&&"SVG"===ue.iconType&&ue.symbol&&"string"==typeof ue.symbol?this.sanitizer.bypassSecurityTrustHtml(ue.symbol):ue.symbol}switch(ae[g.BQ.SATS]=0,ae[g.BQ.BTC]=0,ae[g.BQ.OTHER]=0,Q){case g.BQ.SATS:ae[g.BQ.SATS]=G,ae[g.BQ.BTC]=1e-8*G,ae[g.BQ.OTHER]=1e-8*G*this.conversionData.data[$].last;break;case g.BQ.BTC:ae[g.BQ.SATS]=1e8*G,ae[g.BQ.BTC]=G,ae[g.BQ.OTHER]=G*this.conversionData.data[$].last;break;case g.BQ.OTHER:ae[g.BQ.SATS]=G/this.conversionData.data[$].last*1e8,ae[g.BQ.BTC]=G/this.conversionData.data[$].last,ae[g.BQ.OTHER]=G}return ae}convertTime(G,Q,$){switch(Q){case g.F7.SECS:switch($){case g.F7.MINS:G/=60;break;case g.F7.HOURS:G/=g.bz;break;case g.F7.DAYS:G/=24*g.bz}break;case g.F7.MINS:switch($){case g.F7.SECS:G*=60;break;case g.F7.HOURS:G/=60;break;case g.F7.DAYS:G/=1440}break;case g.F7.HOURS:switch($){case g.F7.SECS:G*=g.bz;break;case g.F7.MINS:G*=60;break;case g.F7.DAYS:G/=24}break;case g.F7.DAYS:switch($){case g.F7.SECS:G=G*g.bz*24;break;case g.F7.MINS:G=60*G*24;break;case g.F7.HOURS:G*=24}}return G}downloadFile(G,Q,$=".json",ae=".csv"){let ue=new Blob;ue=".json"===$?new Blob(["\ufeff"+this.convertToCSV(G)],{type:"text/csv;charset=utf-8;"}):new Blob([G.toString()],{type:"text/plain;charset=utf-8"});const oe=document.createElement("a"),he=URL.createObjectURL(ue);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&oe.setAttribute("target","_blank"),oe.setAttribute("href",he),oe.setAttribute("download",Q+ae),oe.style.visibility="hidden",document.body.appendChild(oe),oe.click(),document.body.removeChild(oe)}convertToCSV(G){const Q=[];let $="",ae="",ue="";return"object"!=typeof G&&(G=JSON.parse(G)),G.forEach((he,me)=>{for(const Te in he)Q.findIndex(D=>D===Te)<0&&Q.push(Te)}),ue=Q.join(",")+"\r\n",G.forEach(he=>{$="",Q.forEach(me=>{if(he.hasOwnProperty(me))if(Array.isArray(he[me]))ae="",he[me].forEach((Te,D)=>{ae+="object"==typeof Te?"("+JSON.stringify(Te)?.replace(/\,/g,";")+")":"("+Te+")"}),$+=ae+",";else if("object"==typeof he[me])$+=JSON.stringify(he[me])?.replace(/\,/g,";")+",";else if(me.includes("timestamp")||me.includes("date"))try{switch(he[me].toString().length){case 10:$+=this.datePipe.transform(new Date(1e3*he[me]),"dd/MMM/y HH:mm")+",";break;case 13:$+=this.datePipe.transform(new Date(he[me]),"dd/MMM/y HH:mm")+",";break;default:$+=he[me]+","}}catch{$+=he[me]+","}else $+=he[me]+",";else $+=","}),ue+=$.slice(0,-1)+"\r\n"}),ue}isVersionCompatible(G,Q){if(G){const $=G.match(/v?(?<version>\d+(?:\.\d+)*)/);if($&&$.groups&&$.groups.version){this.logger.info("Current Version: "+$.groups.version),this.logger.info("Checking Compatiblility with Version: "+Q);const ae=$.groups.version.split(".")||[],ue=Q.split(".");return+ae[0]>+ue[0]||+ae[0]==+ue[0]&&+ae[1]>+ue[1]||+ae[0]==+ue[0]&&+ae[1]==+ue[1]&&+ae[2]>=+ue[2]}return this.logger.error("Invalid Version String: "+G),!1}return!1}extractErrorMessage(G,Q="Unknown Error."){const $=this.titleCase(G.error&&G.error.text&&"string"==typeof G.error.text&&G.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":G.error&&G.error.error&&G.error.error.error&&G.error.error.error.error&&G.error.error.error.error.error&&"string"==typeof G.error.error.error.error.error?G.error.error.error.error.error:G.error&&G.error.error&&G.error.error.error&&G.error.error.error.error&&"string"==typeof G.error.error.error.error?G.error.error.error.error:G.error&&G.error.error&&G.error.error.error&&"string"==typeof G.error.error.error?G.error.error.error:G.error&&G.error.error&&"string"==typeof G.error.error?G.error.error:G.error&&"string"==typeof G.error?G.error:G.error&&G.error.error&&G.error.error.error&&G.error.error.error.error&&G.error.error.error.error.message&&"string"==typeof G.error.error.error.error.message?G.error.error.error.error.message:G.error&&G.error.error&&G.error.error.error&&G.error.error.error.message&&"string"==typeof G.error.error.error.message?G.error.error.error.message:G.error&&G.error.error&&G.error.error.message&&"string"==typeof G.error.error.message?G.error.error.message:G.error&&G.error.message&&"string"==typeof G.error.message?G.error.message:G.message&&"string"==typeof G.message?G.message:Q);return this.logger.info("Error Message: "+$),$}extractErrorCode(G,Q=500){const $=G.error&&G.error.error&&G.error.error.message&&G.error.error.message.code?G.error.error.message.code:G.error&&G.error.error&&G.error.error.code?G.error.error.code:G.error&&G.error.code?G.error.code:G.code?G.code:G.status?G.status:Q;return this.logger.info("Error Code: "+$),$}extractErrorNumber(G,Q=500){const $=G.error&&G.error.error&&G.error.error.errno?G.error.error.errno:G.error&&G.error.errno?G.error.errno:G.errno?G.errno:G.status?G.status:Q;return this.logger.info("Error Number: "+$),$}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}static#e=U=()=>(this.\u0275fac=function(Q){return new(Q||K)(d.KVO(w.u),d.KVO(m.gP),d.KVO(P.vh),d.KVO(M.up))},this.\u0275prov=d.jDH({token:K,factory:K.\u0275fac}))}return U(),K})()},82685:(Ae,ee,l)=>{"use strict";var e,w,i=l(27054).Buffer,t=l(86111),p=l(45392),S=l(59111),c=l(76643),T=global.crypto&&global.crypto.subtle,g={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];function m(){return w||(w=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function P(U,K,q,G,Q){return T.importKey("raw",U,{name:"PBKDF2"},!1,["deriveBits"]).then(function($){return T.deriveBits({name:"PBKDF2",salt:K,iterations:q,hash:{name:Q}},$,G<<3)}).then(function($){return i.from($)})}Ae.exports=function(U,K,q,G,Q,$){if("function"==typeof Q&&($=Q,Q=void 0),t(q,G),U=c(U,p,"Password"),K=c(K,p,"Salt"),"function"!=typeof $)throw new Error("No callback provided to pbkdf2");var ae=g[(Q=Q||"sha1").toLowerCase()];ae&&"function"==typeof global.Promise?function j(U,K){U.then(function(q){m()(function(){K(null,q)})},function(q){m()(function(){K(q)})})}(function M(U){if(global.process&&!global.process.browser||!T||!T.importKey||!T.deriveBits)return Promise.resolve(!1);if(void 0!==d[U])return d[U];var K=P(e=e||i.alloc(8),e,10,128,U).then(function(){return!0},function(){return!1});return d[U]=K,K}(ae).then(function(ue){return ue?P(U,K,q,G,ae):S(U,K,q,G,Q)}),$):m()(function(){var ue;try{ue=S(U,K,q,G,Q)}catch(oe){return void $(oe)}$(null,ue)})}},82765:(Ae,ee,l)=>{"use strict";l.d(ee,{So:()=>$,g7:()=>ae});var i=l(89726),t=l(2615),p=l(73664),S=l(17705),c=l(89417),e=l(88968),T=l(53155),g=l(31804),d=l(32046),w=l(12496),m=l(22466);const P=["input"],M=["label"],j=["*"],U=new t.nKC("mat-checkbox-default-options",{providedIn:"root",factory:K});function K(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var q=function(ue){return ue[ue.Init=0]="Init",ue[ue.Checked=1]="Checked",ue[ue.Unchecked=2]="Unchecked",ue[ue.Indeterminate=3]="Indeterminate",ue}(q||{});class G{source;checked}const Q=K();let $=(()=>{class ue{_elementRef=(0,t.WQX)(p.aKT);_changeDetectorRef=(0,t.WQX)(S.gRc);_ngZone=(0,t.WQX)(p.SKi);_animationsDisabled=(0,g.Rc)();_options=(0,t.WQX)(U,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(he){const me=new G;return me.source=this,me.checked=he,me}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_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"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new p.bkB;indeterminateChange=new p.bkB;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=q.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){(0,t.WQX)(e.l).load(d.A);const he=(0,t.WQX)(new S.ES_("tabindex"),{optional:!0});this._options=this._options||Q,this.color=this._options.color||Q.color,this.tabIndex=null==he?0:parseInt(he)||0,this.id=this._uniqueId=(0,t.WQX)(i.g).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(he){he.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(he){he!=this.checked&&(this._checked=he,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(he){he!==this.disabled&&(this._disabled=he,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(he){const me=he!=this._indeterminate();this._indeterminate.set(he),me&&(this._transitionCheckState(he?q.Indeterminate:this.checked?q.Checked:q.Unchecked),this.indeterminateChange.emit(he)),this._syncIndeterminate(he)}_indeterminate=(0,t.vPA)(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(he){this.checked=!!he}registerOnChange(he){this._controlValueAccessorChangeFn=he}registerOnTouched(he){this._onTouched=he}setDisabledState(he){this.disabled=he}validate(he){return this.required&&!0!==he.value?{required:!0}:null}registerOnValidatorChange(he){this._validatorChangeFn=he}_transitionCheckState(he){let me=this._currentCheckState,Te=this._getAnimationTargetElement();if(me!==he&&Te&&(this._currentAnimationClass&&Te.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(me,he),this._currentCheckState=he,this._currentAnimationClass.length>0)){Te.classList.add(this._currentAnimationClass);const D=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{Te.classList.remove(D)},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 he=this._options?.clickAction;this.disabled||"noop"===he?(this.disabled&&this.disabledInteractive||!this.disabled&&"noop"===he)&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==he&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?q.Checked:q.Unchecked),this._emitChangeEvent())}_onInteractionEvent(he){he.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(he,me){if(this._animationsDisabled)return"";switch(he){case q.Init:if(me===q.Checked)return this._animationClasses.uncheckedToChecked;if(me==q.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case q.Unchecked:return me===q.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case q.Checked:return me===q.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case q.Indeterminate:return me===q.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(he){const me=this._inputElement;me&&(me.nativeElement.indeterminate=he)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(he){he.target&&this._labelElement.nativeElement.contains(he.target)&&he.stopPropagation()}static \u0275fac=function(me){return new(me||ue)};static \u0275cmp=p.VBU({type:ue,selectors:[["mat-checkbox"]],viewQuery:function(me,Te){if(1&me&&(p.GBs(P,5),p.GBs(M,5)),2&me){let D;p.mGM(D=p.lsd())&&(Te._inputElement=D.first),p.mGM(D=p.lsd())&&(Te._labelElement=D.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(me,Te){2&me&&(p.Avn("id",Te.id),p.BMQ("tabindex",null)("aria-label",null)("aria-labelledby",null),p.HbH(Te.color?"mat-"+Te.color:"mat-accent"),p.AVh("_mat-animation-noopable",Te._animationsDisabled)("mdc-checkbox--disabled",Te.disabled)("mat-mdc-checkbox-disabled",Te.disabled)("mat-mdc-checkbox-checked",Te.checked)("mat-mdc-checkbox-disabled-interactive",Te.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",S.L39],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",S.L39],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",S.L39],tabIndex:[2,"tabIndex","tabIndex",he=>null==he?void 0:(0,S.Udg)(he)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",S.L39],checked:[2,"checked","checked",S.L39],disabled:[2,"disabled","disabled",S.L39],indeterminate:[2,"indeterminate","indeterminate",S.L39]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[p.Jv_([{provide:c.kq,useExisting:(0,t.Rfq)(()=>ue),multi:!0},{provide:c.cz,useExisting:ue,multi:!0}]),p.OA$],ngContentSelectors:j,decls:15,vars:23,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-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(me,Te){if(1&me){const D=p.RV6();p.NAR(),p.j41(0,"div",3),p.bIt("click",function(o){return t.eBV(D),t.Njj(Te._preventBubblingFromLabel(o))}),p.j41(1,"div",4,0)(3,"div",5),p.bIt("click",function(){return t.eBV(D),t.Njj(Te._onTouchTargetClick())}),p.k0s(),p.j41(4,"input",6,1),p.bIt("blur",function(){return t.eBV(D),t.Njj(Te._onBlur())})("click",function(){return t.eBV(D),t.Njj(Te._onInputClick())})("change",function(o){return t.eBV(D),t.Njj(Te._onInteractionEvent(o))}),p.k0s(),p.nrm(6,"div",7),p.j41(7,"div",8),t.qSk(),p.j41(8,"svg",9),p.nrm(9,"path",10),p.k0s(),t.joV(),p.nrm(10,"div",11),p.k0s(),p.nrm(11,"div",12),p.k0s(),p.j41(12,"label",13,2),p.SdG(14),p.k0s()()}if(2&me){const D=p.sdS(2);p.Y8G("labelPosition",Te.labelPosition),p.R7$(4),p.AVh("mdc-checkbox--selected",Te.checked),p.Y8G("checked",Te.checked)("indeterminate",Te.indeterminate)("disabled",Te.disabled&&!Te.disabledInteractive)("id",Te.inputId)("required",Te.required)("tabIndex",Te.disabled&&!Te.disabledInteractive?-1:Te.tabIndex),p.BMQ("aria-label",Te.ariaLabel||null)("aria-labelledby",Te.ariaLabelledby)("aria-describedby",Te.ariaDescribedby)("aria-checked",Te.indeterminate?"mixed":null)("aria-controls",Te.ariaControls)("aria-disabled",!(!Te.disabled||!Te.disabledInteractive)||null)("aria-expanded",Te.ariaExpanded)("aria-owns",Te.ariaOwns)("name",Te.name)("value",Te.value),p.R7$(7),p.Y8G("matRippleTrigger",D)("matRippleDisabled",Te.disableRipple||Te.disabled)("matRippleCentered",!0),p.R7$(),p.Y8G("for",Te.inputId)}},dependencies:[w.r6,T.t],styles:['.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;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.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 cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 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 cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.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;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 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{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);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}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:GrayText}}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .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 .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%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return ue})(),ae=(()=>{class ue{static \u0275fac=function(me){return new(me||ue)};static \u0275mod=p.$C({type:ue});static \u0275inj=t.G2t({imports:[$,m.y,m.y]})}return ue})()},82852:function(Ae,ee,l){!function(i){"use strict";var t={};Ae.exports?(t.bytesToHex=l(24740).bytesToHex,t.convertString=l(10820),Ae.exports=g):(t.bytesToHex=i.convertHex.bytesToHex,t.convertString=i.convertString,i.sha256=g);var p=[];!function(){function d(M){for(var j=Math.sqrt(M),U=2;U<=j;U++)if(!(M%U))return!1;return!0}function w(M){return 4294967296*(M-(0|M))|0}for(var m=2,P=0;P<64;)d(m)&&(p[P]=w(Math.pow(m,1/3)),P++),m++}();var S=function(d){for(var w=[],m=0,P=0;m<d.length;m++,P+=8)w[P>>>5]|=d[m]<<24-P%32;return w},c=function(d){for(var w=[],m=0;m<32*d.length;m+=8)w.push(d[m>>>5]>>>24-m%32&255);return w},e=[],T=function(d,w,m){for(var P=d[0],M=d[1],j=d[2],U=d[3],K=d[4],q=d[5],G=d[6],Q=d[7],$=0;$<64;$++){if($<16)e[$]=0|w[m+$];else{var ae=e[$-15],oe=e[$-2];e[$]=((ae<<25|ae>>>7)^(ae<<14|ae>>>18)^ae>>>3)+e[$-7]+((oe<<15|oe>>>17)^(oe<<13|oe>>>19)^oe>>>10)+e[$-16]}var Te=P&M^P&j^M&j,o=Q+((K<<26|K>>>6)^(K<<21|K>>>11)^(K<<7|K>>>25))+(K&q^~K&G)+p[$]+e[$];Q=G,G=q,q=K,K=U+o|0,U=j,j=M,M=P,P=o+(((P<<30|P>>>2)^(P<<19|P>>>13)^(P<<10|P>>>22))+Te)|0}d[0]=d[0]+P|0,d[1]=d[1]+M|0,d[2]=d[2]+j|0,d[3]=d[3]+U|0,d[4]=d[4]+K|0,d[5]=d[5]+q|0,d[6]=d[6]+G|0,d[7]=d[7]+Q|0};function g(d,w){d.constructor===String&&(d=t.convertString.UTF8.stringToBytes(d));var m=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],P=S(d),M=8*d.length;P[M>>5]|=128<<24-M%32,P[15+(M+64>>9<<4)]=M;for(var j=0;j<P.length;j+=16)T(m,P,j);var U=c(m);return w&&w.asBytes?U:w&&w.asString?t.convertString.bytesToString(U):t.bytesToHex(U)}g.x2=function(d,w){return g(g(d,{asBytes:!0}),w)}}(this)},82885:(Ae,ee,l)=>{"use strict";l.d(ee,{B_:()=>h,Fe:()=>b,NS:()=>G});class i{tracker;columnIndex=0;rowIndex=0;get rowCount(){return this.rowIndex+1}get rowspan(){const k=Math.max(...this.tracker);return k>1?this.rowCount+k-1:this.rowCount}positions;update(k,x){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(k),this.tracker.fill(0,0,this.tracker.length),this.positions=x.map(r=>this._trackTile(r))}_trackTile(k){const x=this._findMatchingGap(k.colspan);return this._markTilePosition(x,k),this.columnIndex=x+k.colspan,new t(this.rowIndex,x)}_findMatchingGap(k){let x=-1,r=-1;do{this.columnIndex+k>this.tracker.length?(this._nextRow(),x=this.tracker.indexOf(0,this.columnIndex),r=this._findGapEndIndex(x)):(x=this.tracker.indexOf(0,this.columnIndex),-1!=x?(r=this._findGapEndIndex(x),this.columnIndex=x+1):(this._nextRow(),x=this.tracker.indexOf(0,this.columnIndex),r=this._findGapEndIndex(x)))}while(r-x<k||0==r);return Math.max(x,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let k=0;k<this.tracker.length;k++)this.tracker[k]=Math.max(0,this.tracker[k]-1)}_findGapEndIndex(k){for(let x=k+1;x<this.tracker.length;x++)if(0!=this.tracker[x])return x;return this.tracker.length}_markTilePosition(k,x){for(let r=0;r<x.colspan;r++)this.tracker[k+r]=x.rowspan}}class t{row;col;constructor(k,x){this.row=k,this.col=x}}var S=l(73664),c=l(2615),e=l(22466);let w=(()=>{class A{static \u0275fac=function(r){return new(r||A)};static \u0275mod=S.$C({type:A});static \u0275inj=c.G2t({imports:[e.y,e.y]})}return A})();var m=l(67847),P=l(61577);const M=["*"],q=new c.nKC("MAT_GRID_LIST");let G=(()=>{class A{_element=(0,c.WQX)(S.aKT);_gridList=(0,c.WQX)(q,{optional:!0});_rowspan=1;_colspan=1;constructor(){}get rowspan(){return this._rowspan}set rowspan(x){this._rowspan=Math.round((0,m.OE)(x))}get colspan(){return this._colspan}set colspan(x){this._colspan=Math.round((0,m.OE)(x))}_setStyle(x,r){this._element.nativeElement.style[x]=r}static \u0275fac=function(r){return new(r||A)};static \u0275cmp=S.VBU({type:A,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(r,_){2&r&&S.BMQ("rowspan",_.rowspan)("colspan",_.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:M,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(r,_){1&r&&(S.NAR(),S.rj2(0,"div",0),S.SdG(1),S.eux())},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, var(--mat-sys-body-large))}.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, var(--mat-sys-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large))}.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, var(--mat-sys-body-medium))}.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}\n"],encapsulation:2,changeDetection:0})}return A})();const oe=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class he{_gutterSize;_rows=0;_rowspan=0;_cols;_direction;init(k,x,r,_){this._gutterSize=o(k),this._rows=x.rowCount,this._rowspan=x.rowspan,this._cols=r,this._direction=_}getBaseTileSize(k,x){return`(${k}% - (${this._gutterSize} * ${x}))`}getTilePosition(k,x){return 0===x?"0":n(`(${k} + ${this._gutterSize}) * ${x}`)}getTileSize(k,x){return`(${k} * ${x}) + (${x-1} * ${this._gutterSize})`}setStyle(k,x,r){let _=100/this._cols,W=(this._cols-1)/this._cols;this.setColStyles(k,r,_,W),this.setRowStyles(k,x,_,W)}setColStyles(k,x,r,_){let W=this.getBaseTileSize(r,_);k._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(W,x)),k._setStyle("width",n(this.getTileSize(W,k.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(k){return`${this._rowspan} * ${this.getTileSize(k,1)}`}getComputedHeight(){return null}}class me extends he{fixedRowHeight;constructor(k){super(),this.fixedRowHeight=k}init(k,x,r,_){super.init(k,x,r,_),this.fixedRowHeight=o(this.fixedRowHeight),oe.test(this.fixedRowHeight)}setRowStyles(k,x){k._setStyle("top",this.getTilePosition(this.fixedRowHeight,x)),k._setStyle("height",n(this.getTileSize(this.fixedRowHeight,k.rowspan)))}getComputedHeight(){return["height",n(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(k){k._setListStyle(["height",null]),k._tiles&&k._tiles.forEach(x=>{x._setStyle("top",null),x._setStyle("height",null)})}}class Te extends he{rowHeightRatio;baseTileHeight;constructor(k){super(),this._parseRatio(k)}setRowStyles(k,x,r,_){this.baseTileHeight=this.getBaseTileSize(r/this.rowHeightRatio,_),k._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,x)),k._setStyle("paddingTop",n(this.getTileSize(this.baseTileHeight,k.rowspan)))}getComputedHeight(){return["paddingBottom",n(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(k){k._setListStyle(["paddingBottom",null]),k._tiles.forEach(x=>{x._setStyle("marginTop",null),x._setStyle("paddingTop",null)})}_parseRatio(k){const x=k.split(":");this.rowHeightRatio=parseFloat(x[0])/parseFloat(x[1])}}class D extends he{setRowStyles(k,x){let W=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);k._setStyle("top",this.getTilePosition(W,x)),k._setStyle("height",n(this.getTileSize(W,k.rowspan)))}reset(k){k._tiles&&k._tiles.forEach(x=>{x._setStyle("top",null),x._setStyle("height",null)})}}function n(A){return`calc(${A})`}function o(A){return A.match(/([A-Za-z%]+)$/)?A:`${A}px`}let h=(()=>{class A{_element=(0,c.WQX)(S.aKT);_dir=(0,c.WQX)(P.dS,{optional:!0});_cols;_tileCoordinator;_rowHeight;_gutter="1px";_tileStyler;_tiles;constructor(){}get cols(){return this._cols}set cols(x){this._cols=Math.max(1,Math.round((0,m.OE)(x)))}get gutterSize(){return this._gutter}set gutterSize(x){this._gutter=`${x??""}`}get rowHeight(){return this._rowHeight}set rowHeight(x){const r=`${x??""}`;r!==this._rowHeight&&(this._rowHeight=r,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(x){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===x?new D:x&&x.indexOf(":")>-1?new Te(x):new me(x)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new i);const x=this._tileCoordinator,r=this._tiles.filter(W=>!W._gridList||W._gridList===this),_=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,r),this._tileStyler.init(this.gutterSize,x,this.cols,_),r.forEach((W,I)=>{const B=x.positions[I];this._tileStyler.setStyle(W,B.row,B.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(x){x&&(this._element.nativeElement.style[x[0]]=x[1])}static \u0275fac=function(r){return new(r||A)};static \u0275cmp=S.VBU({type:A,selectors:[["mat-grid-list"]],contentQueries:function(r,_,W){if(1&r&&S.wni(W,G,5),2&r){let I;S.mGM(I=S.lsd())&&(_._tiles=I)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(r,_){2&r&&S.BMQ("cols",_.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[S.Jv_([{provide:q,useExisting:A}])],ngContentSelectors:M,decls:2,vars:0,template:function(r,_){1&r&&(S.NAR(),S.rj2(0,"div"),S.SdG(1),S.eux())},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, var(--mat-sys-body-large))}.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, var(--mat-sys-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-sys-body-large))}.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, var(--mat-sys-body-medium))}.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}\n"],encapsulation:2,changeDetection:0})}return A})(),b=(()=>{class A{static \u0275fac=function(r){return new(r||A)};static \u0275mod=S.$C({type:A});static \u0275inj=c.G2t({imports:[w,e.y,w,e.y]})}return A})()},83045:(Ae,ee,l)=>{"use strict";var i=l(52529),t=l(23401),p=l(3136),S=p.assert,c=p.parseBytes,e=l(87222),T=l(5451);function g(d){if(S("ed25519"===d,"only tested with ed25519 so far"),!(this instanceof g))return new g(d);this.curve=d=t[d].curve,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=i.sha512}Ae.exports=g,g.prototype.sign=function(w,m){w=c(w);var P=this.keyFromSecret(m),M=this.hashInt(P.messagePrefix(),w),j=this.g.mul(M),U=this.encodePoint(j),K=this.hashInt(U,P.pubBytes(),w).mul(P.priv()),q=M.add(K).umod(this.curve.n);return this.makeSignature({R:j,S:q,Rencoded:U})},g.prototype.verify=function(w,m,P){if(w=c(w),(m=this.makeSignature(m)).S().gte(m.eddsa.curve.n)||m.S().isNeg())return!1;var M=this.keyFromPublic(P),j=this.hashInt(m.Rencoded(),M.pubBytes(),w),U=this.g.mul(m.S());return m.R().add(M.pub().mul(j)).eq(U)},g.prototype.hashInt=function(){for(var w=this.hash(),m=0;m<arguments.length;m++)w.update(arguments[m]);return p.intFromLE(w.digest()).umod(this.curve.n)},g.prototype.keyFromPublic=function(w){return e.fromPublic(this,w)},g.prototype.keyFromSecret=function(w){return e.fromSecret(this,w)},g.prototype.makeSignature=function(w){return w instanceof T?w:new T(this,w)},g.prototype.encodePoint=function(w){var m=w.getY().toArray("le",this.encodingLength);return m[this.encodingLength-1]|=w.getX().isOdd()?128:0,m},g.prototype.decodePoint=function(w){var m=(w=p.parseBytes(w)).length-1,P=w.slice(0,m).concat(-129&w[m]),M=!!(128&w[m]),j=p.intFromLE(P);return this.curve.pointFromY(j,M)},g.prototype.encodeInt=function(w){return w.toArray("le",this.encodingLength)},g.prototype.decodeInt=function(w){return p.intFromLE(w)},g.prototype.isPoint=function(w){return w instanceof this.pointClass}},83138:(Ae,ee,l)=>{"use strict";var i=l(49609);ee.certificate=l(94772);var t=i.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});ee.RSAPrivateKey=t;var p=i.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});ee.RSAPublicKey=p;var S=i.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=i.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(S),this.key("subjectPublicKey").bitstr())});ee.PublicKey=c;var e=i.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(S),this.key("subjectPrivateKey").octstr())});ee.PrivateKey=e;var T=i.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});ee.EncryptedPrivateKey=T;var g=i.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});ee.DSAPrivateKey=g,ee.DSAparam=i.define("DSAparam",function(){this.int()});var d=i.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),w=i.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())});ee.ECPrivateKey=w,ee.signature=i.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},83264:(Ae,ee,l)=>{const i=l(91677),t=l(19089);function p(S){this.mode=i.KANJI,this.data=S}p.getBitsLength=function(c){return 13*c},p.prototype.getLength=function(){return this.data.length},p.prototype.getBitsLength=function(){return p.getBitsLength(this.data.length)},p.prototype.write=function(S){let c;for(c=0;c<this.data.length;c++){let e=t.toSJIS(this.data[c]);if(e>=33088&&e<=40956)e-=33088;else{if(!(e>=57408&&e<=60351))throw new Error("Invalid SJIS character: "+this.data[c]+"\nMake sure your charset is UTF-8");e-=49472}e=192*(e>>>8&255)+(255&e),S.put(e,13)}},Ae.exports=p},83300:(Ae,ee,l)=>{"use strict";let i;function p(S){return function t(){if(null==i&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>i=!0}))}finally{i=i||!1}return i}()?S:!!S.capture}l.d(ee,{B:()=>p})},83407:(Ae,ee,l)=>{var i=l(34725);Ae.exports=function(t){return(new i).update(t).digest()}},83798:(Ae,ee,l)=>{"use strict";var i=l(52786);if(i)try{i([],"length")}catch{i=null}Ae.exports=i},83824:(Ae,ee,l)=>{"use strict";Ae.exports=t;var i=l(43410);function t(p){if(!(this instanceof t))return new t(p);i.call(this,p)}l(71993)(t,i),t.prototype._transform=function(p,S,c){c(null,p)}},83838:(Ae,ee,l)=>{"use strict";const i=l(13981),t=l(22020),p="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;ee.Buffer=T,ee.SlowBuffer=function G(Z){return+Z!=Z&&(Z=0),T.alloc(+Z)},ee.INSPECT_MAX_BYTES=50;const S=2147483647;function e(Z){if(Z>S)throw new RangeError('The value "'+Z+'" is invalid for option "size"');const J=new Uint8Array(Z);return Object.setPrototypeOf(J,T.prototype),J}function T(Z,J,fe){if("number"==typeof Z){if("string"==typeof J)throw new TypeError('The "string" argument must be of type string. Received type number');return m(Z)}return g(Z,J,fe)}function g(Z,J,fe){if("string"==typeof Z)return function P(Z,J){if(("string"!=typeof J||""===J)&&(J="utf8"),!T.isEncoding(J))throw new TypeError("Unknown encoding: "+J);const fe=0|Q(Z,J);let Ie=e(fe);const ht=Ie.write(Z,J);return ht!==fe&&(Ie=Ie.slice(0,ht)),Ie}(Z,J);if(ArrayBuffer.isView(Z))return function j(Z){if(Pe(Z,Uint8Array)){const J=new Uint8Array(Z);return U(J.buffer,J.byteOffset,J.byteLength)}return M(Z)}(Z);if(null==Z)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Z);if(Pe(Z,ArrayBuffer)||Z&&Pe(Z.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pe(Z,SharedArrayBuffer)||Z&&Pe(Z.buffer,SharedArrayBuffer)))return U(Z,J,fe);if("number"==typeof Z)throw new TypeError('The "value" argument must not be of type number. Received type number');const Ie=Z.valueOf&&Z.valueOf();if(null!=Ie&&Ie!==Z)return T.from(Ie,J,fe);const ht=function K(Z){if(T.isBuffer(Z)){const J=0|q(Z.length),fe=e(J);return 0===fe.length||Z.copy(fe,0,0,J),fe}return void 0!==Z.length?"number"!=typeof Z.length||Ht(Z.length)?e(0):M(Z):"Buffer"===Z.type&&Array.isArray(Z.data)?M(Z.data):void 0}(Z);if(ht)return ht;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof Z[Symbol.toPrimitive])return T.from(Z[Symbol.toPrimitive]("string"),J,fe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Z)}function d(Z){if("number"!=typeof Z)throw new TypeError('"size" argument must be of type number');if(Z<0)throw new RangeError('The value "'+Z+'" is invalid for option "size"')}function m(Z){return d(Z),e(Z<0?0:0|q(Z))}function M(Z){const J=Z.length<0?0:0|q(Z.length),fe=e(J);for(let Ie=0;Ie<J;Ie+=1)fe[Ie]=255&Z[Ie];return fe}function U(Z,J,fe){if(J<0||Z.byteLength<J)throw new RangeError('"offset" is outside of buffer bounds');if(Z.byteLength<J+(fe||0))throw new RangeError('"length" is outside of buffer bounds');let Ie;return Ie=void 0===J&&void 0===fe?new Uint8Array(Z):void 0===fe?new Uint8Array(Z,J):new Uint8Array(Z,J,fe),Object.setPrototypeOf(Ie,T.prototype),Ie}function q(Z){if(Z>=S)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+S.toString(16)+" bytes");return 0|Z}function Q(Z,J){if(T.isBuffer(Z))return Z.length;if(ArrayBuffer.isView(Z)||Pe(Z,ArrayBuffer))return Z.byteLength;if("string"!=typeof Z)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Z);const fe=Z.length,Ie=arguments.length>2&&!0===arguments[2];if(!Ie&&0===fe)return 0;let ht=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return fe;case"utf8":case"utf-8":return dt(Z).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*fe;case"hex":return fe>>>1;case"base64":return Mt(Z).length;default:if(ht)return Ie?-1:dt(Z).length;J=(""+J).toLowerCase(),ht=!0}}function $(Z,J,fe){let Ie=!1;if((void 0===J||J<0)&&(J=0),J>this.length||((void 0===fe||fe>this.length)&&(fe=this.length),fe<=0)||(fe>>>=0)<=(J>>>=0))return"";for(Z||(Z="utf8");;)switch(Z){case"hex":return x(this,J,fe);case"utf8":case"utf-8":return f(this,J,fe);case"ascii":return A(this,J,fe);case"latin1":case"binary":return k(this,J,fe);case"base64":return o(this,J,fe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r(this,J,fe);default:if(Ie)throw new TypeError("Unknown encoding: "+Z);Z=(Z+"").toLowerCase(),Ie=!0}}function ae(Z,J,fe){const Ie=Z[J];Z[J]=Z[fe],Z[fe]=Ie}function ue(Z,J,fe,Ie,ht){if(0===Z.length)return-1;if("string"==typeof fe?(Ie=fe,fe=0):fe>2147483647?fe=2147483647:fe<-2147483648&&(fe=-2147483648),Ht(fe=+fe)&&(fe=ht?0:Z.length-1),fe<0&&(fe=Z.length+fe),fe>=Z.length){if(ht)return-1;fe=Z.length-1}else if(fe<0){if(!ht)return-1;fe=0}if("string"==typeof J&&(J=T.from(J,Ie)),T.isBuffer(J))return 0===J.length?-1:oe(Z,J,fe,Ie,ht);if("number"==typeof J)return J&=255,"function"==typeof Uint8Array.prototype.indexOf?ht?Uint8Array.prototype.indexOf.call(Z,J,fe):Uint8Array.prototype.lastIndexOf.call(Z,J,fe):oe(Z,[J],fe,Ie,ht);throw new TypeError("val must be string, number or Buffer")}function oe(Z,J,fe,Ie,ht){let Rt,li=1,Qt=Z.length,di=J.length;if(void 0!==Ie&&("ucs2"===(Ie=String(Ie).toLowerCase())||"ucs-2"===Ie||"utf16le"===Ie||"utf-16le"===Ie)){if(Z.length<2||J.length<2)return-1;li=2,Qt/=2,di/=2,fe/=2}function kt(le,te){return 1===li?le[te]:le.readUInt16BE(te*li)}if(ht){let le=-1;for(Rt=fe;Rt<Qt;Rt++)if(kt(Z,Rt)===kt(J,-1===le?0:Rt-le)){if(-1===le&&(le=Rt),Rt-le+1===di)return le*li}else-1!==le&&(Rt-=Rt-le),le=-1}else for(fe+di>Qt&&(fe=Qt-di),Rt=fe;Rt>=0;Rt--){let le=!0;for(let te=0;te<di;te++)if(kt(Z,Rt+te)!==kt(J,te)){le=!1;break}if(le)return Rt}return-1}function he(Z,J,fe,Ie){fe=Number(fe)||0;const ht=Z.length-fe;Ie?(Ie=Number(Ie))>ht&&(Ie=ht):Ie=ht;const li=J.length;let Qt;for(Ie>li/2&&(Ie=li/2),Qt=0;Qt<Ie;++Qt){const di=parseInt(J.substr(2*Qt,2),16);if(Ht(di))return Qt;Z[fe+Qt]=di}return Qt}function me(Z,J,fe,Ie){return lt(dt(J,Z.length-fe),Z,fe,Ie)}function Te(Z,J,fe,Ie){return lt(function nt(Z){const J=[];for(let fe=0;fe<Z.length;++fe)J.push(255&Z.charCodeAt(fe));return J}(J),Z,fe,Ie)}function D(Z,J,fe,Ie){return lt(Mt(J),Z,fe,Ie)}function n(Z,J,fe,Ie){return lt(function Ct(Z,J){let fe,Ie,ht;const li=[];for(let Qt=0;Qt<Z.length&&!((J-=2)<0);++Qt)fe=Z.charCodeAt(Qt),Ie=fe>>8,ht=fe%256,li.push(ht),li.push(Ie);return li}(J,Z.length-fe),Z,fe,Ie)}function o(Z,J,fe){return i.fromByteArray(0===J&&fe===Z.length?Z:Z.slice(J,fe))}function f(Z,J,fe){fe=Math.min(Z.length,fe);const Ie=[];let ht=J;for(;ht<fe;){const li=Z[ht];let Qt=null,di=li>239?4:li>223?3:li>191?2:1;if(ht+di<=fe){let kt,Rt,le,te;switch(di){case 1:li<128&&(Qt=li);break;case 2:kt=Z[ht+1],128==(192&kt)&&(te=(31&li)<<6|63&kt,te>127&&(Qt=te));break;case 3:kt=Z[ht+1],Rt=Z[ht+2],128==(192&kt)&&128==(192&Rt)&&(te=(15&li)<<12|(63&kt)<<6|63&Rt,te>2047&&(te<55296||te>57343)&&(Qt=te));break;case 4:kt=Z[ht+1],Rt=Z[ht+2],le=Z[ht+3],128==(192&kt)&&128==(192&Rt)&&128==(192&le)&&(te=(15&li)<<18|(63&kt)<<12|(63&Rt)<<6|63&le,te>65535&&te<1114112&&(Qt=te))}}null===Qt?(Qt=65533,di=1):Qt>65535&&(Qt-=65536,Ie.push(Qt>>>10&1023|55296),Qt=56320|1023&Qt),Ie.push(Qt),ht+=di}return function b(Z){const J=Z.length;if(J<=h)return String.fromCharCode.apply(String,Z);let fe="",Ie=0;for(;Ie<J;)fe+=String.fromCharCode.apply(String,Z.slice(Ie,Ie+=h));return fe}(Ie)}ee.kMaxLength=S,!(T.TYPED_ARRAY_SUPPORT=function c(){try{const Z=new Uint8Array(1),J={foo:function(){return 42}};return Object.setPrototypeOf(J,Uint8Array.prototype),Object.setPrototypeOf(Z,J),42===Z.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(T.prototype,"parent",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.buffer}}),Object.defineProperty(T.prototype,"offset",{enumerable:!0,get:function(){if(T.isBuffer(this))return this.byteOffset}}),T.poolSize=8192,T.from=function(Z,J,fe){return g(Z,J,fe)},Object.setPrototypeOf(T.prototype,Uint8Array.prototype),Object.setPrototypeOf(T,Uint8Array),T.alloc=function(Z,J,fe){return function w(Z,J,fe){return d(Z),Z<=0?e(Z):void 0!==J?"string"==typeof fe?e(Z).fill(J,fe):e(Z).fill(J):e(Z)}(Z,J,fe)},T.allocUnsafe=function(Z){return m(Z)},T.allocUnsafeSlow=function(Z){return m(Z)},T.isBuffer=function(J){return null!=J&&!0===J._isBuffer&&J!==T.prototype},T.compare=function(J,fe){if(Pe(J,Uint8Array)&&(J=T.from(J,J.offset,J.byteLength)),Pe(fe,Uint8Array)&&(fe=T.from(fe,fe.offset,fe.byteLength)),!T.isBuffer(J)||!T.isBuffer(fe))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(J===fe)return 0;let Ie=J.length,ht=fe.length;for(let li=0,Qt=Math.min(Ie,ht);li<Qt;++li)if(J[li]!==fe[li]){Ie=J[li],ht=fe[li];break}return Ie<ht?-1:ht<Ie?1:0},T.isEncoding=function(J){switch(String(J).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},T.concat=function(J,fe){if(!Array.isArray(J))throw new TypeError('"list" argument must be an Array of Buffers');if(0===J.length)return T.alloc(0);let Ie;if(void 0===fe)for(fe=0,Ie=0;Ie<J.length;++Ie)fe+=J[Ie].length;const ht=T.allocUnsafe(fe);let li=0;for(Ie=0;Ie<J.length;++Ie){let Qt=J[Ie];if(Pe(Qt,Uint8Array))li+Qt.length>ht.length?(T.isBuffer(Qt)||(Qt=T.from(Qt)),Qt.copy(ht,li)):Uint8Array.prototype.set.call(ht,Qt,li);else{if(!T.isBuffer(Qt))throw new TypeError('"list" argument must be an Array of Buffers');Qt.copy(ht,li)}li+=Qt.length}return ht},T.byteLength=Q,T.prototype._isBuffer=!0,T.prototype.swap16=function(){const J=this.length;if(J%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let fe=0;fe<J;fe+=2)ae(this,fe,fe+1);return this},T.prototype.swap32=function(){const J=this.length;if(J%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let fe=0;fe<J;fe+=4)ae(this,fe,fe+3),ae(this,fe+1,fe+2);return this},T.prototype.swap64=function(){const J=this.length;if(J%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let fe=0;fe<J;fe+=8)ae(this,fe,fe+7),ae(this,fe+1,fe+6),ae(this,fe+2,fe+5),ae(this,fe+3,fe+4);return this},T.prototype.toLocaleString=T.prototype.toString=function(){const J=this.length;return 0===J?"":0===arguments.length?f(this,0,J):$.apply(this,arguments)},T.prototype.equals=function(J){if(!T.isBuffer(J))throw new TypeError("Argument must be a Buffer");return this===J||0===T.compare(this,J)},T.prototype.inspect=function(){let J="";const fe=ee.INSPECT_MAX_BYTES;return J=this.toString("hex",0,fe).replace(/(.{2})/g,"$1 ").trim(),this.length>fe&&(J+=" ... "),"<Buffer "+J+">"},p&&(T.prototype[p]=T.prototype.inspect),T.prototype.compare=function(J,fe,Ie,ht,li){if(Pe(J,Uint8Array)&&(J=T.from(J,J.offset,J.byteLength)),!T.isBuffer(J))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof J);if(void 0===fe&&(fe=0),void 0===Ie&&(Ie=J?J.length:0),void 0===ht&&(ht=0),void 0===li&&(li=this.length),fe<0||Ie>J.length||ht<0||li>this.length)throw new RangeError("out of range index");if(ht>=li&&fe>=Ie)return 0;if(ht>=li)return-1;if(fe>=Ie)return 1;if(this===J)return 0;let Qt=(li>>>=0)-(ht>>>=0),di=(Ie>>>=0)-(fe>>>=0);const kt=Math.min(Qt,di),Rt=this.slice(ht,li),le=J.slice(fe,Ie);for(let te=0;te<kt;++te)if(Rt[te]!==le[te]){Qt=Rt[te],di=le[te];break}return Qt<di?-1:di<Qt?1:0},T.prototype.includes=function(J,fe,Ie){return-1!==this.indexOf(J,fe,Ie)},T.prototype.indexOf=function(J,fe,Ie){return ue(this,J,fe,Ie,!0)},T.prototype.lastIndexOf=function(J,fe,Ie){return ue(this,J,fe,Ie,!1)},T.prototype.write=function(J,fe,Ie,ht){if(void 0===fe)ht="utf8",Ie=this.length,fe=0;else if(void 0===Ie&&"string"==typeof fe)ht=fe,Ie=this.length,fe=0;else{if(!isFinite(fe))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");fe>>>=0,isFinite(Ie)?(Ie>>>=0,void 0===ht&&(ht="utf8")):(ht=Ie,Ie=void 0)}const li=this.length-fe;if((void 0===Ie||Ie>li)&&(Ie=li),J.length>0&&(Ie<0||fe<0)||fe>this.length)throw new RangeError("Attempt to write outside buffer bounds");ht||(ht="utf8");let Qt=!1;for(;;)switch(ht){case"hex":return he(this,J,fe,Ie);case"utf8":case"utf-8":return me(this,J,fe,Ie);case"ascii":case"latin1":case"binary":return Te(this,J,fe,Ie);case"base64":return D(this,J,fe,Ie);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,J,fe,Ie);default:if(Qt)throw new TypeError("Unknown encoding: "+ht);ht=(""+ht).toLowerCase(),Qt=!0}},T.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const h=4096;function A(Z,J,fe){let Ie="";fe=Math.min(Z.length,fe);for(let ht=J;ht<fe;++ht)Ie+=String.fromCharCode(127&Z[ht]);return Ie}function k(Z,J,fe){let Ie="";fe=Math.min(Z.length,fe);for(let ht=J;ht<fe;++ht)Ie+=String.fromCharCode(Z[ht]);return Ie}function x(Z,J,fe){const Ie=Z.length;(!J||J<0)&&(J=0),(!fe||fe<0||fe>Ie)&&(fe=Ie);let ht="";for(let li=J;li<fe;++li)ht+=ct[Z[li]];return ht}function r(Z,J,fe){const Ie=Z.slice(J,fe);let ht="";for(let li=0;li<Ie.length-1;li+=2)ht+=String.fromCharCode(Ie[li]+256*Ie[li+1]);return ht}function _(Z,J,fe){if(Z%1!=0||Z<0)throw new RangeError("offset is not uint");if(Z+J>fe)throw new RangeError("Trying to access beyond buffer length")}function W(Z,J,fe,Ie,ht,li){if(!T.isBuffer(Z))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ht||J<li)throw new RangeError('"value" argument is out of bounds');if(fe+Ie>Z.length)throw new RangeError("Index out of range")}function I(Z,J,fe,Ie,ht){Ke(J,Ie,ht,Z,fe,7);let li=Number(J&BigInt(4294967295));Z[fe++]=li,li>>=8,Z[fe++]=li,li>>=8,Z[fe++]=li,li>>=8,Z[fe++]=li;let Qt=Number(J>>BigInt(32)&BigInt(4294967295));return Z[fe++]=Qt,Qt>>=8,Z[fe++]=Qt,Qt>>=8,Z[fe++]=Qt,Qt>>=8,Z[fe++]=Qt,fe}function B(Z,J,fe,Ie,ht){Ke(J,Ie,ht,Z,fe,7);let li=Number(J&BigInt(4294967295));Z[fe+7]=li,li>>=8,Z[fe+6]=li,li>>=8,Z[fe+5]=li,li>>=8,Z[fe+4]=li;let Qt=Number(J>>BigInt(32)&BigInt(4294967295));return Z[fe+3]=Qt,Qt>>=8,Z[fe+2]=Qt,Qt>>=8,Z[fe+1]=Qt,Qt>>=8,Z[fe]=Qt,fe+8}function re(Z,J,fe,Ie,ht,li){if(fe+Ie>Z.length)throw new RangeError("Index out of range");if(fe<0)throw new RangeError("Index out of range")}function pe(Z,J,fe,Ie,ht){return J=+J,fe>>>=0,ht||re(Z,0,fe,4),t.write(Z,J,fe,Ie,23,4),fe+4}function be(Z,J,fe,Ie,ht){return J=+J,fe>>>=0,ht||re(Z,0,fe,8),t.write(Z,J,fe,Ie,52,8),fe+8}T.prototype.slice=function(J,fe){const Ie=this.length;(J=~~J)<0?(J+=Ie)<0&&(J=0):J>Ie&&(J=Ie),(fe=void 0===fe?Ie:~~fe)<0?(fe+=Ie)<0&&(fe=0):fe>Ie&&(fe=Ie),fe<J&&(fe=J);const ht=this.subarray(J,fe);return Object.setPrototypeOf(ht,T.prototype),ht},T.prototype.readUintLE=T.prototype.readUIntLE=function(J,fe,Ie){J>>>=0,fe>>>=0,Ie||_(J,fe,this.length);let ht=this[J],li=1,Qt=0;for(;++Qt<fe&&(li*=256);)ht+=this[J+Qt]*li;return ht},T.prototype.readUintBE=T.prototype.readUIntBE=function(J,fe,Ie){J>>>=0,fe>>>=0,Ie||_(J,fe,this.length);let ht=this[J+--fe],li=1;for(;fe>0&&(li*=256);)ht+=this[J+--fe]*li;return ht},T.prototype.readUint8=T.prototype.readUInt8=function(J,fe){return J>>>=0,fe||_(J,1,this.length),this[J]},T.prototype.readUint16LE=T.prototype.readUInt16LE=function(J,fe){return J>>>=0,fe||_(J,2,this.length),this[J]|this[J+1]<<8},T.prototype.readUint16BE=T.prototype.readUInt16BE=function(J,fe){return J>>>=0,fe||_(J,2,this.length),this[J]<<8|this[J+1]},T.prototype.readUint32LE=T.prototype.readUInt32LE=function(J,fe){return J>>>=0,fe||_(J,4,this.length),(this[J]|this[J+1]<<8|this[J+2]<<16)+16777216*this[J+3]},T.prototype.readUint32BE=T.prototype.readUInt32BE=function(J,fe){return J>>>=0,fe||_(J,4,this.length),16777216*this[J]+(this[J+1]<<16|this[J+2]<<8|this[J+3])},T.prototype.readBigUInt64LE=Ce(function(J){ge(J>>>=0,"offset");const fe=this[J],Ie=this[J+7];(void 0===fe||void 0===Ie)&&ve(J,this.length-8);const ht=fe+256*this[++J]+65536*this[++J]+this[++J]*2**24,li=this[++J]+256*this[++J]+65536*this[++J]+Ie*2**24;return BigInt(ht)+(BigInt(li)<<BigInt(32))}),T.prototype.readBigUInt64BE=Ce(function(J){ge(J>>>=0,"offset");const fe=this[J],Ie=this[J+7];(void 0===fe||void 0===Ie)&&ve(J,this.length-8);const ht=fe*2**24+65536*this[++J]+256*this[++J]+this[++J],li=this[++J]*2**24+65536*this[++J]+256*this[++J]+Ie;return(BigInt(ht)<<BigInt(32))+BigInt(li)}),T.prototype.readIntLE=function(J,fe,Ie){J>>>=0,fe>>>=0,Ie||_(J,fe,this.length);let ht=this[J],li=1,Qt=0;for(;++Qt<fe&&(li*=256);)ht+=this[J+Qt]*li;return li*=128,ht>=li&&(ht-=Math.pow(2,8*fe)),ht},T.prototype.readIntBE=function(J,fe,Ie){J>>>=0,fe>>>=0,Ie||_(J,fe,this.length);let ht=fe,li=1,Qt=this[J+--ht];for(;ht>0&&(li*=256);)Qt+=this[J+--ht]*li;return li*=128,Qt>=li&&(Qt-=Math.pow(2,8*fe)),Qt},T.prototype.readInt8=function(J,fe){return J>>>=0,fe||_(J,1,this.length),128&this[J]?-1*(255-this[J]+1):this[J]},T.prototype.readInt16LE=function(J,fe){J>>>=0,fe||_(J,2,this.length);const Ie=this[J]|this[J+1]<<8;return 32768&Ie?4294901760|Ie:Ie},T.prototype.readInt16BE=function(J,fe){J>>>=0,fe||_(J,2,this.length);const Ie=this[J+1]|this[J]<<8;return 32768&Ie?4294901760|Ie:Ie},T.prototype.readInt32LE=function(J,fe){return J>>>=0,fe||_(J,4,this.length),this[J]|this[J+1]<<8|this[J+2]<<16|this[J+3]<<24},T.prototype.readInt32BE=function(J,fe){return J>>>=0,fe||_(J,4,this.length),this[J]<<24|this[J+1]<<16|this[J+2]<<8|this[J+3]},T.prototype.readBigInt64LE=Ce(function(J){ge(J>>>=0,"offset");const fe=this[J],Ie=this[J+7];return(void 0===fe||void 0===Ie)&&ve(J,this.length-8),(BigInt(this[J+4]+256*this[J+5]+65536*this[J+6]+(Ie<<24))<<BigInt(32))+BigInt(fe+256*this[++J]+65536*this[++J]+this[++J]*2**24)}),T.prototype.readBigInt64BE=Ce(function(J){ge(J>>>=0,"offset");const fe=this[J],Ie=this[J+7];(void 0===fe||void 0===Ie)&&ve(J,this.length-8);const ht=(fe<<24)+65536*this[++J]+256*this[++J]+this[++J];return(BigInt(ht)<<BigInt(32))+BigInt(this[++J]*2**24+65536*this[++J]+256*this[++J]+Ie)}),T.prototype.readFloatLE=function(J,fe){return J>>>=0,fe||_(J,4,this.length),t.read(this,J,!0,23,4)},T.prototype.readFloatBE=function(J,fe){return J>>>=0,fe||_(J,4,this.length),t.read(this,J,!1,23,4)},T.prototype.readDoubleLE=function(J,fe){return J>>>=0,fe||_(J,8,this.length),t.read(this,J,!0,52,8)},T.prototype.readDoubleBE=function(J,fe){return J>>>=0,fe||_(J,8,this.length),t.read(this,J,!1,52,8)},T.prototype.writeUintLE=T.prototype.writeUIntLE=function(J,fe,Ie,ht){J=+J,fe>>>=0,Ie>>>=0,ht||W(this,J,fe,Ie,Math.pow(2,8*Ie)-1,0);let li=1,Qt=0;for(this[fe]=255&J;++Qt<Ie&&(li*=256);)this[fe+Qt]=J/li&255;return fe+Ie},T.prototype.writeUintBE=T.prototype.writeUIntBE=function(J,fe,Ie,ht){J=+J,fe>>>=0,Ie>>>=0,ht||W(this,J,fe,Ie,Math.pow(2,8*Ie)-1,0);let li=Ie-1,Qt=1;for(this[fe+li]=255&J;--li>=0&&(Qt*=256);)this[fe+li]=J/Qt&255;return fe+Ie},T.prototype.writeUint8=T.prototype.writeUInt8=function(J,fe,Ie){return J=+J,fe>>>=0,Ie||W(this,J,fe,1,255,0),this[fe]=255&J,fe+1},T.prototype.writeUint16LE=T.prototype.writeUInt16LE=function(J,fe,Ie){return J=+J,fe>>>=0,Ie||W(this,J,fe,2,65535,0),this[fe]=255&J,this[fe+1]=J>>>8,fe+2},T.prototype.writeUint16BE=T.prototype.writeUInt16BE=function(J,fe,Ie){return J=+J,fe>>>=0,Ie||W(this,J,fe,2,65535,0),this[fe]=J>>>8,this[fe+1]=255&J,fe+2},T.prototype.writeUint32LE=T.prototype.writeUInt32LE=function(J,fe,Ie){return J=+J,fe>>>=0,Ie||W(this,J,fe,4,4294967295,0),this[fe+3]=J>>>24,this[fe+2]=J>>>16,this[fe+1]=J>>>8,this[fe]=255&J,fe+4},T.prototype.writeUint32BE=T.prototype.writeUInt32BE=function(J,fe,Ie){return J=+J,fe>>>=0,Ie||W(this,J,fe,4,4294967295,0),this[fe]=J>>>24,this[fe+1]=J>>>16,this[fe+2]=J>>>8,this[fe+3]=255&J,fe+4},T.prototype.writeBigUInt64LE=Ce(function(J,fe=0){return I(this,J,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeBigUInt64BE=Ce(function(J,fe=0){return B(this,J,fe,BigInt(0),BigInt("0xffffffffffffffff"))}),T.prototype.writeIntLE=function(J,fe,Ie,ht){if(J=+J,fe>>>=0,!ht){const kt=Math.pow(2,8*Ie-1);W(this,J,fe,Ie,kt-1,-kt)}let li=0,Qt=1,di=0;for(this[fe]=255&J;++li<Ie&&(Qt*=256);)J<0&&0===di&&0!==this[fe+li-1]&&(di=1),this[fe+li]=(J/Qt|0)-di&255;return fe+Ie},T.prototype.writeIntBE=function(J,fe,Ie,ht){if(J=+J,fe>>>=0,!ht){const kt=Math.pow(2,8*Ie-1);W(this,J,fe,Ie,kt-1,-kt)}let li=Ie-1,Qt=1,di=0;for(this[fe+li]=255&J;--li>=0&&(Qt*=256);)J<0&&0===di&&0!==this[fe+li+1]&&(di=1),this[fe+li]=(J/Qt|0)-di&255;return fe+Ie},T.prototype.writeInt8=function(J,fe,Ie){return J=+J,fe>>>=0,Ie||W(this,J,fe,1,127,-128),J<0&&(J=255+J+1),this[fe]=255&J,fe+1},T.prototype.writeInt16LE=function(J,fe,Ie){return J=+J,fe>>>=0,Ie||W(this,J,fe,2,32767,-32768),this[fe]=255&J,this[fe+1]=J>>>8,fe+2},T.prototype.writeInt16BE=function(J,fe,Ie){return J=+J,fe>>>=0,Ie||W(this,J,fe,2,32767,-32768),this[fe]=J>>>8,this[fe+1]=255&J,fe+2},T.prototype.writeInt32LE=function(J,fe,Ie){return J=+J,fe>>>=0,Ie||W(this,J,fe,4,2147483647,-2147483648),this[fe]=255&J,this[fe+1]=J>>>8,this[fe+2]=J>>>16,this[fe+3]=J>>>24,fe+4},T.prototype.writeInt32BE=function(J,fe,Ie){return J=+J,fe>>>=0,Ie||W(this,J,fe,4,2147483647,-2147483648),J<0&&(J=4294967295+J+1),this[fe]=J>>>24,this[fe+1]=J>>>16,this[fe+2]=J>>>8,this[fe+3]=255&J,fe+4},T.prototype.writeBigInt64LE=Ce(function(J,fe=0){return I(this,J,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeBigInt64BE=Ce(function(J,fe=0){return B(this,J,fe,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),T.prototype.writeFloatLE=function(J,fe,Ie){return pe(this,J,fe,!0,Ie)},T.prototype.writeFloatBE=function(J,fe,Ie){return pe(this,J,fe,!1,Ie)},T.prototype.writeDoubleLE=function(J,fe,Ie){return be(this,J,fe,!0,Ie)},T.prototype.writeDoubleBE=function(J,fe,Ie){return be(this,J,fe,!1,Ie)},T.prototype.copy=function(J,fe,Ie,ht){if(!T.isBuffer(J))throw new TypeError("argument should be a Buffer");if(Ie||(Ie=0),!ht&&0!==ht&&(ht=this.length),fe>=J.length&&(fe=J.length),fe||(fe=0),ht>0&&ht<Ie&&(ht=Ie),ht===Ie||0===J.length||0===this.length)return 0;if(fe<0)throw new RangeError("targetStart out of bounds");if(Ie<0||Ie>=this.length)throw new RangeError("Index out of range");if(ht<0)throw new RangeError("sourceEnd out of bounds");ht>this.length&&(ht=this.length),J.length-fe<ht-Ie&&(ht=J.length-fe+Ie);const li=ht-Ie;return this===J&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(fe,Ie,ht):Uint8Array.prototype.set.call(J,this.subarray(Ie,ht),fe),li},T.prototype.fill=function(J,fe,Ie,ht){if("string"==typeof J){if("string"==typeof fe?(ht=fe,fe=0,Ie=this.length):"string"==typeof Ie&&(ht=Ie,Ie=this.length),void 0!==ht&&"string"!=typeof ht)throw new TypeError("encoding must be a string");if("string"==typeof ht&&!T.isEncoding(ht))throw new TypeError("Unknown encoding: "+ht);if(1===J.length){const Qt=J.charCodeAt(0);("utf8"===ht&&Qt<128||"latin1"===ht)&&(J=Qt)}}else"number"==typeof J?J&=255:"boolean"==typeof J&&(J=Number(J));if(fe<0||this.length<fe||this.length<Ie)throw new RangeError("Out of range index");if(Ie<=fe)return this;let li;if(fe>>>=0,Ie=void 0===Ie?this.length:Ie>>>0,J||(J=0),"number"==typeof J)for(li=fe;li<Ie;++li)this[li]=J;else{const Qt=T.isBuffer(J)?J:T.from(J,ht),di=Qt.length;if(0===di)throw new TypeError('The value "'+J+'" is invalid for argument "value"');for(li=0;li<Ie-fe;++li)this[li+fe]=Qt[li%di]}return this};const Be={};function _e(Z,J,fe){Be[Z]=class extends fe{constructor(){super(),Object.defineProperty(this,"message",{value:J.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Z}]`,delete this.name}get code(){return Z}set code(ht){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ht,writable:!0})}toString(){return`${this.name} [${Z}]: ${this.message}`}}}function ye(Z){let J="",fe=Z.length;const Ie="-"===Z[0]?1:0;for(;fe>=Ie+4;fe-=3)J=`_${Z.slice(fe-3,fe)}${J}`;return`${Z.slice(0,fe)}${J}`}function Ke(Z,J,fe,Ie,ht,li){if(Z>fe||Z<J){const Qt="bigint"==typeof J?"n":"";let di;throw di=li>3?0===J||J===BigInt(0)?`>= 0${Qt} and < 2${Qt} ** ${8*(li+1)}${Qt}`:`>= -(2${Qt} ** ${8*(li+1)-1}${Qt}) and < 2 ** ${8*(li+1)-1}${Qt}`:`>= ${J}${Qt} and <= ${fe}${Qt}`,new Be.ERR_OUT_OF_RANGE("value",di,Z)}!function Le(Z,J,fe){ge(J,"offset"),(void 0===Z[J]||void 0===Z[J+fe])&&ve(J,Z.length-(fe+1))}(Ie,ht,li)}function ge(Z,J){if("number"!=typeof Z)throw new Be.ERR_INVALID_ARG_TYPE(J,"number",Z)}function ve(Z,J,fe){throw Math.floor(Z)!==Z?(ge(Z,fe),new Be.ERR_OUT_OF_RANGE(fe||"offset","an integer",Z)):J<0?new Be.ERR_BUFFER_OUT_OF_BOUNDS:new Be.ERR_OUT_OF_RANGE(fe||"offset",`>= ${fe?1:0} and <= ${J}`,Z)}_e("ERR_BUFFER_OUT_OF_BOUNDS",function(Z){return Z?`${Z} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),_e("ERR_INVALID_ARG_TYPE",function(Z,J){return`The "${Z}" argument must be of type number. Received type ${typeof J}`},TypeError),_e("ERR_OUT_OF_RANGE",function(Z,J,fe){let Ie=`The value of "${Z}" is out of range.`,ht=fe;return Number.isInteger(fe)&&Math.abs(fe)>2**32?ht=ye(String(fe)):"bigint"==typeof fe&&(ht=String(fe),(fe>BigInt(2)**BigInt(32)||fe<-(BigInt(2)**BigInt(32)))&&(ht=ye(ht)),ht+="n"),Ie+=` It must be ${J}. Received ${ht}`,Ie},RangeError);const Oe=/[^+/0-9A-Za-z-_]/g;function dt(Z,J){let fe;J=J||1/0;const Ie=Z.length;let ht=null;const li=[];for(let Qt=0;Qt<Ie;++Qt){if(fe=Z.charCodeAt(Qt),fe>55295&&fe<57344){if(!ht){if(fe>56319){(J-=3)>-1&&li.push(239,191,189);continue}if(Qt+1===Ie){(J-=3)>-1&&li.push(239,191,189);continue}ht=fe;continue}if(fe<56320){(J-=3)>-1&&li.push(239,191,189),ht=fe;continue}fe=65536+(ht-55296<<10|fe-56320)}else ht&&(J-=3)>-1&&li.push(239,191,189);if(ht=null,fe<128){if((J-=1)<0)break;li.push(fe)}else if(fe<2048){if((J-=2)<0)break;li.push(fe>>6|192,63&fe|128)}else if(fe<65536){if((J-=3)<0)break;li.push(fe>>12|224,fe>>6&63|128,63&fe|128)}else{if(!(fe<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;li.push(fe>>18|240,fe>>12&63|128,fe>>6&63|128,63&fe|128)}}return li}function Mt(Z){return i.toByteArray(function Ee(Z){if((Z=(Z=Z.split("=")[0]).trim().replace(Oe,"")).length<2)return"";for(;Z.length%4!=0;)Z+="=";return Z}(Z))}function lt(Z,J,fe,Ie){let ht;for(ht=0;ht<Ie&&!(ht+fe>=J.length||ht>=Z.length);++ht)J[ht+fe]=Z[ht];return ht}function Pe(Z,J){return Z instanceof J||null!=Z&&null!=Z.constructor&&null!=Z.constructor.name&&Z.constructor.name===J.name}function Ht(Z){return Z!=Z}const ct=function(){const Z="0123456789abcdef",J=new Array(256);for(let fe=0;fe<16;++fe){const Ie=16*fe;for(let ht=0;ht<16;++ht)J[Ie+ht]=Z[fe]+Z[ht]}return J}();function Ce(Z){return typeof BigInt>"u"?ze:Z}function ze(){throw new Error("BigInt not supported")}},83869:(Ae,ee,l)=>{"use strict";l.d(ee,{C:()=>t});var i=l(21413);class t{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new i.B;constructor(c=!1,e,T=!0,g){this._multiple=c,this._emitChanges=T,this.compareWith=g,e&&e.length&&(c?e.forEach(d=>this._markSelected(d)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...c){this._verifyValueAssignment(c),c.forEach(T=>this._markSelected(T));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...c){this._verifyValueAssignment(c),c.forEach(T=>this._unmarkSelected(T));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...c){this._verifyValueAssignment(c);const e=this.selected,T=new Set(c.map(d=>this._getConcreteValue(d)));c.forEach(d=>this._markSelected(d)),e.filter(d=>!T.has(this._getConcreteValue(d,T))).forEach(d=>this._unmarkSelected(d));const g=this._hasQueuedChanges();return this._emitChangeEvent(),g}toggle(c){return this.isSelected(c)?this.deselect(c):this.select(c)}clear(c=!0){this._unmarkAll();const e=this._hasQueuedChanges();return c&&this._emitChangeEvent(),e}isSelected(c){return this._selection.has(this._getConcreteValue(c))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(c){this._multiple&&this.selected&&this._selected.sort(c)}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(c){c=this._getConcreteValue(c),this.isSelected(c)||(this._multiple||this._unmarkAll(),this.isSelected(c)||this._selection.add(c),this._emitChanges&&this._selectedToEmit.push(c))}_unmarkSelected(c){c=this._getConcreteValue(c),this.isSelected(c)&&(this._selection.delete(c),this._emitChanges&&this._deselectedToEmit.push(c))}_unmarkAll(){this.isEmpty()||this._selection.forEach(c=>this._unmarkSelected(c))}_verifyValueAssignment(c){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(c,e){if(this.compareWith){e=e??this._selection;for(let T of e)if(this.compareWith(c,T))return T;return c}return c}}},84412:(Ae,ee,l)=>{"use strict";l.d(ee,{t:()=>t});var i=l(21413);class t extends i.B{constructor(S){super(),this._value=S}get value(){return this.getValue()}_subscribe(S){const c=super._subscribe(S);return!c.closed&&S.next(this._value),c}getValue(){const{hasError:S,thrownError:c,_value:e}=this;if(S)throw c;return this._throwIfClosed(),e}next(S){super.next(this._value=S)}}},84572:(Ae,ee,l)=>{"use strict";l.d(ee,{z:()=>w});var i=l(71985),t=l(93073),p=l(22806),S=l(33669),c=l(6450),e=l(9326),T=l(58496),g=l(54360),d=l(45225);function w(...M){const j=(0,e.lI)(M),U=(0,e.ms)(M),{args:K,keys:q}=(0,t.D)(M);if(0===K.length)return(0,p.H)([],j);const G=new i.c(function m(M,j,U=S.D){return K=>{P(j,()=>{const{length:q}=M,G=new Array(q);let Q=q,$=q;for(let ae=0;ae<q;ae++)P(j,()=>{const ue=(0,p.H)(M[ae],j);let oe=!1;ue.subscribe((0,g._)(K,he=>{G[ae]=he,oe||(oe=!0,$--),$||K.next(U(G.slice()))},()=>{--Q||K.complete()}))},K)},K)}}(K,j,q?Q=>(0,T.e)(q,Q):S.D));return U?G.pipe((0,c.I)(U)):G}function P(M,j,U){M?(0,d.N)(U,M,j):j()}},84662:Ae=>{function ee(){this.buffer=[],this.length=0}ee.prototype={get:function(l){const i=Math.floor(l/8);return 1==(this.buffer[i]>>>7-l%8&1)},put:function(l,i){for(let t=0;t<i;t++)this.putBit(1==(l>>>i-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(l){const i=Math.floor(this.length/8);this.buffer.length<=i&&this.buffer.push(0),l&&(this.buffer[i]|=128>>>this.length%8),this.length++}},Ae.exports=ee},85343:(Ae,ee,l)=>{"use strict";function i(){}l.d(ee,{l:()=>i})},85397:(Ae,ee,l)=>{"use strict";l.d(ee,{x:()=>p});var i=l(4761),t=l(98071);function p(S){return(0,t.T)(S?.[i.l])}},85488:Ae=>{"use strict";Ae.exports=Number.isNaN||function(l){return l!=l}},85671:(Ae,ee)=>{"use strict";ee.readUInt32BE=function(S,c){return(S[0+c]<<24|S[1+c]<<16|S[2+c]<<8|S[3+c])>>>0},ee.writeUInt32BE=function(S,c,e){S[0+e]=c>>>24,S[1+e]=c>>>16&255,S[2+e]=c>>>8&255,S[3+e]=255&c},ee.ip=function(S,c,e,T){for(var g=0,d=0,w=6;w>=0;w-=2){for(var m=0;m<=24;m+=8)g<<=1,g|=c>>>m+w&1;for(m=0;m<=24;m+=8)g<<=1,g|=S>>>m+w&1}for(w=6;w>=0;w-=2){for(m=1;m<=25;m+=8)d<<=1,d|=c>>>m+w&1;for(m=1;m<=25;m+=8)d<<=1,d|=S>>>m+w&1}e[T+0]=g>>>0,e[T+1]=d>>>0},ee.rip=function(S,c,e,T){for(var g=0,d=0,w=0;w<4;w++)for(var m=24;m>=0;m-=8)g<<=1,g|=c>>>m+w&1,g<<=1,g|=S>>>m+w&1;for(w=4;w<8;w++)for(m=24;m>=0;m-=8)d<<=1,d|=c>>>m+w&1,d<<=1,d|=S>>>m+w&1;e[T+0]=g>>>0,e[T+1]=d>>>0},ee.pc1=function(S,c,e,T){for(var g=0,d=0,w=7;w>=5;w--){for(var m=0;m<=24;m+=8)g<<=1,g|=c>>m+w&1;for(m=0;m<=24;m+=8)g<<=1,g|=S>>m+w&1}for(m=0;m<=24;m+=8)g<<=1,g|=c>>m+w&1;for(w=1;w<=3;w++){for(m=0;m<=24;m+=8)d<<=1,d|=c>>m+w&1;for(m=0;m<=24;m+=8)d<<=1,d|=S>>m+w&1}for(m=0;m<=24;m+=8)d<<=1,d|=S>>m+w&1;e[T+0]=g>>>0,e[T+1]=d>>>0},ee.r28shl=function(S,c){return S<<c&268435455|S>>>28-c};var l=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];ee.pc2=function(S,c,e,T){for(var g=0,d=0,w=l.length>>>1,m=0;m<w;m++)g<<=1,g|=S>>>l[m]&1;for(m=w;m<l.length;m++)d<<=1,d|=c>>>l[m]&1;e[T+0]=g>>>0,e[T+1]=d>>>0},ee.expand=function(S,c,e){var T=0,g=0;T=(1&S)<<5|S>>>27;for(var d=23;d>=15;d-=4)T<<=6,T|=S>>>d&63;for(d=11;d>=3;d-=4)g|=S>>>d&63,g<<=6;g|=(31&S)<<1|S>>>31,c[e+0]=T>>>0,c[e+1]=g>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];ee.substitute=function(S,c){for(var e=0,T=0;T<4;T++)e<<=4,e|=i[64*T+(S>>>18-6*T&63)];for(T=0;T<4;T++)e<<=4,e|=i[256+64*T+(c>>>18-6*T&63)];return e>>>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];ee.permute=function(S){for(var c=0,e=0;e<t.length;e++)c<<=1,c|=S>>>t[e]&1;return c>>>0},ee.padSplit=function(S,c,e){for(var T=S.toString(2);T.length<c;)T="0"+T;for(var g=[],d=0;d<c;d+=e)g.push(T.slice(d,d+e));return g.join(" ")}},85697:(Ae,ee,l)=>{var i=l(71993);function t(S){this._reporterState={obj:null,path:[],options:S||{},errors:[]}}function p(S,c){this.path=S,this.rethrow(c)}ee.a=t,t.prototype.isError=function(c){return c instanceof p},t.prototype.save=function(){var c=this._reporterState;return{obj:c.obj,pathLen:c.path.length}},t.prototype.restore=function(c){var e=this._reporterState;e.obj=c.obj,e.path=e.path.slice(0,c.pathLen)},t.prototype.enterKey=function(c){return this._reporterState.path.push(c)},t.prototype.exitKey=function(c){var e=this._reporterState;e.path=e.path.slice(0,c-1)},t.prototype.leaveKey=function(c,e,T){var g=this._reporterState;this.exitKey(c),null!==g.obj&&(g.obj[e]=T)},t.prototype.path=function(){return this._reporterState.path.join("/")},t.prototype.enterObject=function(){var c=this._reporterState,e=c.obj;return c.obj={},e},t.prototype.leaveObject=function(c){var e=this._reporterState,T=e.obj;return e.obj=c,T},t.prototype.error=function(c){var e,T=this._reporterState,g=c instanceof p;if(e=g?c:new p(T.path.map(function(d){return"["+JSON.stringify(d)+"]"}).join(""),c.message||c,c.stack),!T.options.partial)throw e;return g||T.errors.push(e),e},t.prototype.wrapResult=function(c){var e=this._reporterState;return e.options.partial?{result:this.isError(c)?null:c,errors:e.errors}:c},i(p,Error),p.prototype.rethrow=function(c){if(this.message=c+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,p),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},85917:(Ae,ee,l)=>{var i=l(27054).Buffer,t=i.alloc(16,0);function S(e){var T=i.allocUnsafe(16);return T.writeUInt32BE(e[0]>>>0,0),T.writeUInt32BE(e[1]>>>0,4),T.writeUInt32BE(e[2]>>>0,8),T.writeUInt32BE(e[3]>>>0,12),T}function c(e){this.h=e,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}c.prototype.ghash=function(e){for(var T=-1;++T<e.length;)this.state[T]^=e[T];this._multiply()},c.prototype._multiply=function(){for(var g,w,e=function p(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}(this.h),T=[0,0,0,0],m=-1;++m<128;){for(!!(this.state[~~(m/8)]&1<<7-m%8)&&(T[0]^=e[0],T[1]^=e[1],T[2]^=e[2],T[3]^=e[3]),w=!!(1&e[3]),g=3;g>0;g--)e[g]=e[g]>>>1|(1&e[g-1])<<31;e[0]=e[0]>>>1,w&&(e[0]=e[0]^225<<24)}this.state=S(T)},c.prototype.update=function(e){this.cache=i.concat([this.cache,e]);for(var T;this.cache.length>=16;)T=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(T)},c.prototype.final=function(e,T){return this.cache.length&&this.ghash(i.concat([this.cache,t],16)),this.ghash(S([0,e,0,T])),this.state},Ae.exports=c},86111:Ae=>{"use strict";var ee=isFinite,l=Math.pow(2,30)-1;Ae.exports=function(i,t){if("number"!=typeof i)throw new TypeError("Iterations not a number");if(i<0||!ee(i))throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>l||t!=t)throw new TypeError("Bad key length")}},86129:(Ae,ee,l)=>{"use strict";l.d(ee,{U:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},86156:(Ae,ee,l)=>{"use strict";l.d(ee,{u:()=>g});var i=l(2615),t=l(73664),p=l(17094),S=l(49338),c=l(5718),e=l(40455),T=l(22466);let g=(()=>{class d{static \u0275fac=function(P){return new(P||d)};static \u0275mod=t.$C({type:d});static \u0275inj=i.G2t({providers:[e.YZ],imports:[p.Pd,S.z_,T.y,T.y,c.Gj]})}return d})()},86289:(Ae,ee,l)=>{const i=l(81744);function t(p){this.genPoly=void 0,this.degree=p,this.degree&&this.initialize(this.degree)}t.prototype.initialize=function(S){this.degree=S,this.genPoly=i.generateECPolynomial(this.degree)},t.prototype.encode=function(S){if(!this.genPoly)throw new Error("Encoder not initialized");const c=new Uint8Array(S.length+this.degree);c.set(S);const e=i.mod(c,this.genPoly),T=this.degree-e.length;if(T>0){const g=new Uint8Array(this.degree);return g.set(e,T),g}return e},Ae.exports=t},86439:(Ae,ee,l)=>{"use strict";l.d(ee,{Z:()=>ye});var i=l(51585),t=l(45383),p=l(21413),S=l(56977),c=l(4416),e=l(72730),T=l(2615),g=l(73664),d=l(98570),w=l(82571),m=l(95416),P=l(59640),M=l(72200),j=l(20060),U=l(88834),K=l(25596),q=l(71997),G=l(9183),Q=l(52920),$=l(16038),ae=l(38288),ue=l(29157),oe=l(89587);const he=Le=>({"display-none":Le}),me=Le=>({"xs-scroll-y":Le}),Te=(Le,Ke)=>({"mt-2":Le,"mt-1":Ke}),D=()=>[];function n(Le,Ke){if(1&Le&&g.nrm(0,"qr-code",29),2&Le){const ge=g.XpG();g.Y8G("value",null==ge.invoice?null:ge.invoice.serialized)("size",ge.qrWidth)}}function o(Le,Ke){1&Le&&(g.j41(0,"span",30),g.EFF(1,"N/A"),g.k0s())}function f(Le,Ke){if(1&Le&&g.nrm(0,"qr-code",29),2&Le){const ge=g.XpG();g.Y8G("value",null==ge.invoice?null:ge.invoice.serialized)("size",ge.qrWidth)}}function h(Le,Ke){1&Le&&(g.j41(0,"span",31),g.EFF(1,"QR Code Not Applicable"),g.k0s())}function b(Le,Ke){1&Le&&g.nrm(0,"mat-divider",32),2&Le&&g.Y8G("inset",!0)}function A(Le,Ke){1&Le&&(g.qex(0),g.EFF(1," (zero amount) "),g.bVm())}function k(Le,Ke){1&Le&&g.nrm(0,"span",38)}function x(Le,Ke){if(1&Le&&(g.j41(0,"div",34)(1,"div",35)(2,"span",36),g.EFF(3),g.nI1(4,"number"),g.k0s(),g.DNE(5,k,1,0,"span",37),g.k0s()()),2&Le){const ge=g.XpG(2);g.R7$(3),g.SpI("",g.bMT(4,2,null==ge.invoice?null:ge.invoice.amountSettled)," Sats"),g.R7$(2),g.Y8G("ngForOf",g.lJ4(4,D).constructor(35))}}function r(Le,Ke){if(1&Le&&(g.j41(0,"div"),g.EFF(1),g.nI1(2,"number"),g.k0s()),2&Le){const ge=g.XpG(2);g.R7$(),g.SpI("",g.bMT(2,1,null==ge.invoice?null:ge.invoice.amountSettled)," Sats")}}function _(Le,Ke){if(1&Le&&(g.qex(0),g.DNE(1,x,6,5,"div",33)(2,r,3,3,"div",20),g.bVm()),2&Le){const ge=g.XpG();g.R7$(),g.Y8G("ngIf",ge.flgInvoicePaid),g.R7$(),g.Y8G("ngIf",!ge.flgInvoicePaid)}}function W(Le,Ke){1&Le&&(g.j41(0,"span"),g.EFF(1,"-"),g.k0s())}function I(Le,Ke){1&Le&&g.nrm(0,"mat-spinner",40),2&Le&&g.Y8G("diameter",20)}function B(Le,Ke){if(1&Le&&(g.qex(0),g.DNE(1,W,2,0,"span",20)(2,I,1,1,"mat-spinner",39),g.bVm()),2&Le){const ge=g.XpG();g.R7$(),g.Y8G("ngIf","unpaid"!==(null==ge.invoice?null:ge.invoice.status)||!ge.flgVersionCompatible),g.R7$(),g.Y8G("ngIf","unpaid"===(null==ge.invoice?null:ge.invoice.status)&&ge.flgVersionCompatible)}}function re(Le,Ke){if(1&Le&&(g.j41(0,"div"),g.nrm(1,"mat-divider",21),g.j41(2,"div",16)(3,"div",41)(4,"h4",18),g.EFF(5,"Date Expiry"),g.k0s(),g.j41(6,"span",19),g.EFF(7),g.nI1(8,"date"),g.k0s()(),g.j41(9,"div",42)(10,"h4",18),g.EFF(11,"Date Settled"),g.k0s(),g.j41(12,"span",22),g.EFF(13),g.nI1(14,"date"),g.k0s()()(),g.nrm(15,"mat-divider",21),g.j41(16,"div",16)(17,"div",23)(18,"h4",18),g.EFF(19,"Payment Hash"),g.k0s(),g.j41(20,"span",22),g.EFF(21),g.k0s()()(),g.nrm(22,"mat-divider",21),g.j41(23,"div",16)(24,"div",23)(25,"h4",18),g.EFF(26,"Node ID"),g.k0s(),g.j41(27,"span",22),g.EFF(28),g.k0s()()(),g.nrm(29,"mat-divider",21),g.k0s()),2&Le){const ge=g.XpG();g.R7$(7),g.JRh(g.i5U(8,4,1e3*(null==ge.invoice?null:ge.invoice.expiresAt),"dd/MMM/y HH:mm")),g.R7$(6),g.JRh(g.i5U(14,7,1e3*(null==ge.invoice?null:ge.invoice.receivedAt),"dd/MMM/y HH:mm")),g.R7$(8),g.JRh(null==ge.invoice?null:ge.invoice.paymentHash),g.R7$(7),g.JRh(null==ge.invoice?null:ge.invoice.nodeId)}}function pe(Le,Ke){1&Le&&(g.j41(0,"p"),g.EFF(1,"Show Advanced"),g.k0s())}function be(Le,Ke){1&Le&&(g.j41(0,"p"),g.EFF(1,"Hide Advanced"),g.k0s())}function Be(Le,Ke){if(1&Le){const ge=g.RV6();g.j41(0,"button",43),g.bIt("copied",function(Oe){T.eBV(ge);const Ee=g.XpG();return T.Njj(Ee.onCopyPayment(Oe))}),g.EFF(1,"Copy Invoice"),g.k0s()}if(2&Le){const ge=g.XpG();g.Y8G("payload",null==ge.invoice?null:ge.invoice.serialized)}}function _e(Le,Ke){if(1&Le){const ge=g.RV6();g.j41(0,"button",44),g.bIt("click",function(){T.eBV(ge);const Oe=g.XpG();return T.Njj(Oe.onClose())}),g.EFF(1,"OK"),g.k0s()}}let ye=(()=>{var Le;class Ke{constructor(ve,Oe,Ee,dt,nt,Ct){this.dialogRef=ve,this.data=Oe,this.logger=Ee,this.commonService=dt,this.snackBar=nt,this.store=Ct,this.faReceipt=t.Mf0,this.faExclamationTriangle=t.zpE,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=c.f7,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new p.B,new p.B,new p.B,new p.B,new p.B]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===c.f7.XS&&(this.qrWidth=220),this.store.select(e.p3).pipe((0,S.Q)(this.unSubs[0])).subscribe(ve=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(ve.version,"0.5.0")}),this.store.select(e.rN).pipe((0,S.Q)(this.unSubs[1])).subscribe(ve=>{const Oe=this.invoice.status,dt=(ve.invoices&&ve.invoices.length>0?ve.invoices:[])?.find(nt=>nt.paymentHash===this.invoice.paymentHash)||null;dt&&(this.invoice=dt),Oe!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(ve)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ve){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ve)}ngOnDestroy(){this.unSubs.forEach(ve=>{ve.next(null),ve.complete()})}static#e=Le=()=>(this.\u0275fac=function(Oe){return new(Oe||Ke)(g.rXU(i.CP),g.rXU(i.Vh),g.rXU(d.gP),g.rXU(w.h),g.rXU(m.UG),g.rXU(P.il))},this.\u0275cmp=g.VBU({type:Ke,selectors:[["rtl-ecl-invoice-information"]],standalone:!1,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"],["errorCorrectionLevel","L",3,"value","size",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"],["errorCorrectionLevel","L",3,"value","size"],[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(Oe,Ee){if(1&Oe){const dt=g.RV6();g.j41(0,"div",1)(1,"div",2),g.DNE(2,n,1,2,"qr-code",3)(3,o,2,0,"span",4),g.k0s(),g.j41(4,"div",5)(5,"mat-card-header",6)(6,"div",7),g.nrm(7,"fa-icon",8),g.j41(8,"span",9),g.EFF(9),g.k0s()(),g.j41(10,"button",10),g.bIt("click",function(){return T.eBV(dt),T.Njj(Ee.onClose())}),g.EFF(11,"X"),g.k0s()(),g.j41(12,"mat-card-content",11)(13,"div",12)(14,"div",13),g.DNE(15,f,1,2,"qr-code",3)(16,h,2,0,"span",14),g.k0s(),g.DNE(17,b,1,1,"mat-divider",15),g.j41(18,"div",16)(19,"div",17)(20,"h4",18),g.EFF(21,"Amount Requested"),g.k0s(),g.j41(22,"span",19),g.EFF(23),g.nI1(24,"number"),g.DNE(25,A,2,0,"ng-container",20),g.k0s()(),g.j41(26,"div",17)(27,"h4",18),g.EFF(28,"Amount Settled"),g.k0s(),g.j41(29,"span",19),g.DNE(30,_,3,2,"ng-container",20)(31,B,3,2,"ng-container",20),g.k0s()()(),g.nrm(32,"mat-divider",21),g.j41(33,"div",16)(34,"div",17)(35,"h4",18),g.EFF(36,"Date Created"),g.k0s(),g.j41(37,"span",22),g.EFF(38),g.nI1(39,"date"),g.k0s()(),g.j41(40,"div",17)(41,"h4",18),g.EFF(42,"Status"),g.k0s(),g.j41(43,"span",22),g.EFF(44),g.nI1(45,"titlecase"),g.k0s()()(),g.nrm(46,"mat-divider",21),g.j41(47,"div",16)(48,"div",23)(49,"h4",18),g.EFF(50,"Description"),g.k0s(),g.j41(51,"span",19),g.EFF(52),g.k0s()()(),g.nrm(53,"mat-divider",21),g.j41(54,"div",16)(55,"div",23)(56,"h4",18),g.EFF(57,"Invoice"),g.k0s(),g.j41(58,"span",22),g.EFF(59),g.k0s()()(),g.DNE(60,re,30,10,"div",20),g.j41(61,"div",24)(62,"button",25),g.bIt("click",function(){return T.eBV(dt),T.Njj(Ee.onShowAdvanced())}),g.DNE(63,pe,2,0,"p",26)(64,be,2,0,"ng-template",null,0,g.C5r),g.k0s(),g.DNE(66,Be,2,1,"button",27)(67,_e,2,0,"button",28),g.k0s()()()()()}if(2&Oe){const dt=g.sdS(65);g.R7$(),g.Y8G("fxLayoutAlign",null!=Ee.invoice&&Ee.invoice.serialized&&""!==(null==Ee.invoice?null:Ee.invoice.serialized)?"center start":"center center")("ngClass",g.eq3(33,he,Ee.screenSize===Ee.screenSizeEnum.XS||Ee.screenSize===Ee.screenSizeEnum.SM)),g.R7$(),g.Y8G("ngIf",(null==Ee.invoice?null:Ee.invoice.serialized)&&""!==(null==Ee.invoice?null:Ee.invoice.serialized)),g.R7$(),g.Y8G("ngIf",!(null!=Ee.invoice&&Ee.invoice.serialized)||""===(null==Ee.invoice?null:Ee.invoice.serialized)),g.R7$(4),g.Y8G("icon",Ee.faReceipt),g.R7$(2),g.JRh(Ee.screenSize===Ee.screenSizeEnum.XS?Ee.newlyAdded?"Created":"Invoice":Ee.newlyAdded?"Invoice Created":"Invoice Information"),g.R7$(3),g.Y8G("ngClass",g.eq3(35,me,Ee.screenSize===Ee.screenSizeEnum.XS)),g.R7$(2),g.Y8G("fxLayoutAlign",null!=Ee.invoice&&Ee.invoice.serialized&&""!==(null==Ee.invoice?null:Ee.invoice.serialized)?"center start":"center center")("ngClass",g.eq3(37,he,Ee.screenSize!==Ee.screenSizeEnum.XS&&Ee.screenSize!==Ee.screenSizeEnum.SM)),g.R7$(),g.Y8G("ngIf",(null==Ee.invoice?null:Ee.invoice.serialized)&&""!==(null==Ee.invoice?null:Ee.invoice.serialized)),g.R7$(),g.Y8G("ngIf",!(null!=Ee.invoice&&Ee.invoice.serialized)||""===(null==Ee.invoice?null:Ee.invoice.serialized)),g.R7$(),g.Y8G("ngIf",Ee.screenSize===Ee.screenSizeEnum.XS||Ee.screenSize===Ee.screenSizeEnum.SM),g.R7$(6),g.SpI("",g.bMT(24,26,(null==Ee.invoice?null:Ee.invoice.amount)||0)," Sats"),g.R7$(2),g.Y8G("ngIf",!(null!=Ee.invoice&&Ee.invoice.amount)||"0"===(null==Ee.invoice?null:Ee.invoice.amount)),g.R7$(5),g.Y8G("ngIf",null==Ee.invoice?null:Ee.invoice.amountSettled),g.R7$(),g.Y8G("ngIf",!(null!=Ee.invoice&&Ee.invoice.amountSettled)),g.R7$(7),g.JRh(g.i5U(39,28,1e3*(null==Ee.invoice?null:Ee.invoice.timestamp),"dd/MMM/y HH:mm")),g.R7$(6),g.JRh(g.bMT(45,31,null==Ee.invoice?null:Ee.invoice.status)),g.R7$(8),g.JRh((null==Ee.invoice?null:Ee.invoice.description)||"-"),g.R7$(7),g.JRh((null==Ee.invoice?null:Ee.invoice.serialized)||"N/A"),g.R7$(),g.Y8G("ngIf",Ee.showAdvanced),g.R7$(),g.Y8G("ngClass",g.l_i(39,Te,!Ee.showAdvanced,Ee.showAdvanced)),g.R7$(2),g.Y8G("ngIf",!Ee.showAdvanced)("ngIfElse",dt),g.R7$(3),g.Y8G("ngIf",(null==Ee.invoice?null:Ee.invoice.serialized)&&""!==(null==Ee.invoice?null:Ee.invoice.serialized)),g.R7$(),g.Y8G("ngIf",!(null!=Ee.invoice&&Ee.invoice.serialized)||""===(null==Ee.invoice?null:Ee.invoice.serialized))}},dependencies:[M.YU,M.Sq,M.bT,j.aY,U.$z,K.m2,K.MM,q.q,G.LG,Q.DJ,Q.sA,Q.UI,$.PW,ae.Um,ue.U,oe.N,M.QX,M.PV,M.vh],encapsulation:2}))}return Le(),Ke})()},87222:(Ae,ee,l)=>{"use strict";var i=l(3136),t=i.assert,p=i.parseBytes,S=i.cachedProperty;function c(e,T){this.eddsa=e,this._secret=p(T.secret),e.isPoint(T.pub)?this._pub=T.pub:this._pubBytes=p(T.pub)}c.fromPublic=function(T,g){return g instanceof c?g:new c(T,{pub:g})},c.fromSecret=function(T,g){return g instanceof c?g:new c(T,{secret:g})},c.prototype.secret=function(){return this._secret},S(c,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),S(c,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),S(c,"privBytes",function(){var T=this.eddsa,g=this.hash(),d=T.encodingLength-1,w=g.slice(0,T.encodingLength);return w[0]&=248,w[d]&=127,w[d]|=64,w}),S(c,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),S(c,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),S(c,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),c.prototype.sign=function(T){return t(this._secret,"KeyPair can only verify"),this.eddsa.sign(T,this)},c.prototype.verify=function(T,g){return this.eddsa.verify(T,g,this)},c.prototype.getSecret=function(T){return t(this._secret,"KeyPair is public only"),i.encode(this.secret(),T)},c.prototype.getPublic=function(T){return i.encode(this.pubBytes(),T)},Ae.exports=c},87267:(Ae,ee,l)=>{var i=l(65667),t=l(3342),p=l(67211),S=l(30715),c=l(37196),e=l(16508),T=l(10568),g=l(14105),d=l(27054).Buffer;Ae.exports=function(j,U,K){var q;q=j.padding?j.padding:K?1:4;var Q,G=i(j);if(4===q)Q=function w(M,j){var U=M.modulus.byteLength(),K=j.length,q=p("sha1").update(d.alloc(0)).digest(),G=q.length,Q=2*G;if(K>U-Q-2)throw new Error("message too long");var $=d.alloc(U-K-Q-2),ae=U-G-1,ue=t(G),oe=c(d.concat([q,$,d.alloc(1,1),j],ae),S(ue,ae)),he=c(ue,S(oe,G));return new e(d.concat([d.alloc(1),he,oe],U))}(G,U);else if(1===q)Q=function m(M,j,U){var G,K=j.length,q=M.modulus.byteLength();if(K>q-11)throw new Error("message too long");return G=U?d.alloc(q-K-3,255):function P(M){for(var G,j=d.allocUnsafe(M),U=0,K=t(2*M),q=0;U<M;)q===K.length&&(K=t(2*M),q=0),(G=K[q++])&&(j[U++]=G);return j}(q-K-3),new e(d.concat([d.from([0,U?1:2]),G,d.alloc(1),j],q))}(G,U,K);else{if(3!==q)throw new Error("unknown padding");if((Q=new e(U)).cmp(G.modulus)>=0)throw new Error("data too long for modulus")}return K?g(Q,G):T(Q,G)}},87303:(Ae,ee,l)=>{var i=l(90518),t=l(89606);Ae.exports=function(T){return new S(T)};var p={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function S(e){this.curveType=p[e],this.curveType||(this.curveType={name:e}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function c(e,T,g){Array.isArray(e)||(e=e.toArray());var d=new Buffer(e);if(g&&d.length<g){var w=new Buffer(g-d.length);w.fill(0),d=Buffer.concat([w,d])}return T?d.toString(T):d}p.p224=p.secp224r1,p.p256=p.secp256r1=p.prime256v1,p.p192=p.secp192r1=p.prime192v1,p.p384=p.secp384r1,p.p521=p.secp521r1,S.prototype.generateKeys=function(e,T){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,T)},S.prototype.computeSecret=function(e,T,g){return T=T||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,T)),c(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),g,this.curveType.byteLength)},S.prototype.getPublicKey=function(e,T){var g=this.keys.getPublic("compressed"===T,!0);return"hybrid"===T&&(g[0]=g[g.length-1]%2?7:6),c(g,e)},S.prototype.getPrivateKey=function(e){return c(this.keys.getPrivate(),e)},S.prototype.setPublicKey=function(e,T){return T=T||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,T)),this.keys._importPublic(e),this},S.prototype.setPrivateKey=function(e,T){T=T||"utf8",Buffer.isBuffer(e)||(e=new Buffer(e,T));var g=new t(e);return g=g.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(g),this}},88141:(Ae,ee,l)=>{"use strict";l.d(ee,{M:()=>c});var i=l(98071),t=l(39974),p=l(54360),S=l(33669);function c(e,T,g){const d=(0,i.T)(e)||T||g?{next:e,error:T,complete:g}:e;return d?(0,t.N)((w,m)=>{var P;null===(P=d.subscribe)||void 0===P||P.call(d);let M=!0;w.subscribe((0,p._)(m,j=>{var U;null===(U=d.next)||void 0===U||U.call(d,j),m.next(j)},()=>{var j;M=!1,null===(j=d.complete)||void 0===j||j.call(d),m.complete()},j=>{var U;M=!1,null===(U=d.error)||void 0===U||U.call(d,j),m.error(j)},()=>{var j,U;M&&(null===(j=d.unsubscribe)||void 0===j||j.call(d)),null===(U=d.finalize)||void 0===U||U.call(d)}))}):S.D}},88152:Ae=>{"use strict";function l(c,e){p(c,e),i(c)}function i(c){c._writableState&&!c._writableState.emitClose||c._readableState&&!c._readableState.emitClose||c.emit("close")}function p(c,e){c.emit("error",e)}Ae.exports={destroy:function ee(c,e){var T=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(e?e(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(p,this,c)):process.nextTick(p,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,function(w){!e&&w?T._writableState?T._writableState.errorEmitted?process.nextTick(i,T):(T._writableState.errorEmitted=!0,process.nextTick(l,T,w)):process.nextTick(l,T,w):e?(process.nextTick(i,T),e(w)):process.nextTick(i,T)}),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 S(c,e){var T=c._readableState,g=c._writableState;T&&T.autoDestroy||g&&g.autoDestroy?c.destroy(e):c.emit("error",e)}}},88723:function(Ae,ee,l){!function(i,t){"use strict";function p(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var o=function(){};o.prototype=n.prototype,D.prototype=new o,D.prototype.constructor=D}function c(D,n,o){if(c.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(D||0,n||10,o||"be"))}var e;"object"==typeof i?i.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{e=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:l(79368).Buffer}catch{}function T(D,n){var o=D.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function g(D,n,o){var f=T(D,o);return o-1>=n&&(f|=T(D,o-1)<<4),f}function d(D,n,o,f){for(var h=0,b=Math.min(D.length,o),A=n;A<b;A++){var k=D.charCodeAt(A)-48;h*=f,h+=k>=49?k-49+10:k>=17?k-17+10:k}return h}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,f){if("number"==typeof n)return this._initNumber(n,o,f);if("object"==typeof n)return this._initArray(n,o,f);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===o?this._parseHex(n,h,f):(this._parseBase(n,o,h),"le"===f&&this._initArray(this.toArray(),o,f)))},c.prototype._initNumber=function(n,o,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(p(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),o,f)},c.prototype._initArray=function(n,o,f){if(p("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var b,A,k=0;if("be"===f)for(h=n.length-1,b=0;h>=0;h-=3)this.words[b]|=(A=n[h]|n[h-1]<<8|n[h-2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);else if("le"===f)for(h=0,b=0;h<n.length;h+=3)this.words[b]|=(A=n[h]|n[h+1]<<8|n[h+2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);return this.strip()},c.prototype._parseHex=function(n,o,f){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var k,b=0,A=0;if("be"===f)for(h=n.length-1;h>=o;h-=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;else for(h=(n.length-o)%2==0?o+1:o;h<n.length;h+=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;this.strip()},c.prototype._parseBase=function(n,o,f){this.words=[0],this.length=1;for(var h=0,b=1;b<=67108863;b*=o)h++;h--,b=b/o|0;for(var A=n.length-f,k=A%h,x=Math.min(A,A-k)+f,r=0,_=f;_<x;_+=h)r=d(n,_,_+h,o),this.imuln(b),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==k){var W=1;for(r=d(n,_,n.length,o),_=0;_<k;_++)W*=o;this.imuln(W),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},c.prototype.copy=function(n){n.words=new Array(this.length);for(var o=0;o<this.length;o++)n.words[o]=this.words[o];n.length=this.length,n.negative=this.negative,n.red=this.red},c.prototype.clone=function(){var n=new c(null);return this.copy(n),n},c.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var w=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],P=[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 j(D,n,o){o.negative=n.negative^D.negative;var f=D.length+n.length|0;o.length=f,f=f-1|0;var h=0|D.words[0],b=0|n.words[0],A=h*b,x=A/67108864|0;o.words[0]=67108863&A;for(var r=1;r<f;r++){for(var _=x>>>26,W=67108863&x,I=Math.min(r,n.length-1),B=Math.max(0,r-D.length+1);B<=I;B++)_+=(A=(h=0|D.words[r-B|0])*(b=0|n.words[B])+W)/67108864|0,W=67108863&A;o.words[r]=0|W,x=0|_}return 0!==x?o.words[r]=0|x:o.length--,o.strip()}c.prototype.toString=function(n,o){var f;if(o=0|o||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,b=0,A=0;A<this.length;A++){var k=this.words[A],x=(16777215&(k<<h|b)).toString(16);b=k>>>24-h&16777215,(h+=2)>=26&&(h-=26,A--),f=0!==b||A!==this.length-1?w[6-x.length]+x+f:x+f}for(0!==b&&(f=b.toString(16)+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],_=P[n];f="";var W=this.clone();for(W.negative=0;!W.isZero();){var I=W.modn(_).toString(n);f=(W=W.idivn(_)).isZero()?I+f:w[r-I.length]+I+f}for(this.isZero()&&(f="0"+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}p(!1,"Base should be between 2 and 36")},c.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&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof e<"u"),this.toArrayLike(e,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,f){var h=this.byteLength(),b=f||Math.max(1,h);p(h<=b,"byte array longer than desired length"),p(b>0,"Requested array length <= 0"),this.strip();var x,r,A="le"===o,k=new n(b),_=this.clone();if(A){for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[r]=x;for(;r<b;r++)k[r]=0}else{for(r=0;r<b-h;r++)k[r]=0;for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[b-r-1]=x}return k},c.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var o=n,f=0;return o>=4096&&(f+=13,o>>>=13),o>=64&&(f+=7,o>>>=7),o>=8&&(f+=4,o>>>=4),o>=2&&(f+=2,o>>>=2),f+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,f=0;return!(8191&o)&&(f+=13,o>>>=13),!(127&o)&&(f+=7,o>>>=7),!(15&o)&&(f+=4,o>>>=4),!(3&o)&&(f+=2,o>>>=2),!(1&o)&&f++,f},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;o<this.length;o++){var f=this._zeroBits(this.words[o]);if(n+=f,26!==f)break}return n},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},c.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var o=0;o<n.length;o++)this.words[o]=this.words[o]|n.words[o];return this.strip()},c.prototype.ior=function(n){return p(0===(this.negative|n.negative)),this.iuor(n)},c.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var f=0;f<o.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=o.length,this.strip()},c.prototype.iand=function(n){return p(0===(this.negative|n.negative)),this.iuand(n)},c.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,f;this.length>n.length?(o=this,f=n):(o=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=o.words[h]^f.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},c.prototype.ixor=function(n){return p(0===(this.negative|n.negative)),this.iuxor(n)},c.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),f=n%26;this._expand(o),f>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=o?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},c.prototype.iadd=function(n){var o,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,o=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,o=this.isub(n),n.negative=1,o._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var b=0,A=0;A<h.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+(0|h.words[A])+b),b=o>>>26;for(;0!==b&&A<f.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+b),b=o>>>26;if(this.length=f.length,0!==b)this.words[this.length]=b,this.length++;else if(f!==this)for(;A<f.length;A++)this.words[A]=f.words[A];return this},c.prototype.add=function(n){var o;return 0!==n.negative&&0===this.negative?(n.negative=0,o=this.sub(n),n.negative^=1,o):0===n.negative&&0!==this.negative?(this.negative=0,o=n.sub(this),this.negative=1,o):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,b,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,b=n):(h=n,b=this);for(var A=0,k=0;k<b.length;k++)A=(o=(0|h.words[k])-(0|b.words[k])+A)>>26,this.words[k]=67108863&o;for(;0!==A&&k<h.length;k++)A=(o=(0|h.words[k])+A)>>26,this.words[k]=67108863&o;if(0===A&&k<h.length&&h!==this)for(;k<h.length;k++)this.words[k]=h.words[k];return this.length=Math.max(this.length,k),h!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(n){return this.clone().isub(n)};var U=function(n,o,f){var x,r,_,h=n.words,b=o.words,A=f.words,k=0,W=0|h[0],I=8191&W,B=W>>>13,re=0|h[1],pe=8191&re,be=re>>>13,Be=0|h[2],_e=8191&Be,ye=Be>>>13,Le=0|h[3],Ke=8191&Le,ge=Le>>>13,ve=0|h[4],Oe=8191&ve,Ee=ve>>>13,dt=0|h[5],nt=8191&dt,Ct=dt>>>13,Mt=0|h[6],lt=8191&Mt,Pe=Mt>>>13,Ht=0|h[7],ct=8191&Ht,Ce=Ht>>>13,ze=0|h[8],Z=8191&ze,J=ze>>>13,fe=0|h[9],Ie=8191&fe,ht=fe>>>13,li=0|b[0],Qt=8191&li,di=li>>>13,kt=0|b[1],Rt=8191&kt,le=kt>>>13,te=0|b[2],ce=8191&te,se=te>>>13,ke=0|b[3],Ue=8191&ke,Ne=ke>>>13,Kt=0|b[4],yt=8191&Kt,Vt=Kt>>>13,Zt=0|b[5],ti=8191&Zt,Ye=Zt>>>13,Nt=0|b[6],Et=8191&Nt,Jt=Nt>>>13,qe=0|b[7],$e=8191&qe,tt=qe>>>13,vi=0|b[8],ei=8191&vi,ci=vi>>>13,Hi=0|b[9],oi=8191&Hi,ui=Hi>>>13;f.negative=n.negative^o.negative,f.length=19;var ln=(k+(x=Math.imul(I,Qt))|0)+((8191&(r=(r=Math.imul(I,di))+Math.imul(B,Qt)|0))<<13)|0;k=((_=Math.imul(B,di))+(r>>>13)|0)+(ln>>>26)|0,ln&=67108863,x=Math.imul(pe,Qt),r=(r=Math.imul(pe,di))+Math.imul(be,Qt)|0,_=Math.imul(be,di);var nn=(k+(x=x+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,le)|0)+Math.imul(B,Rt)|0))<<13)|0;k=((_=_+Math.imul(B,le)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,x=Math.imul(_e,Qt),r=(r=Math.imul(_e,di))+Math.imul(ye,Qt)|0,_=Math.imul(ye,di),x=x+Math.imul(pe,Rt)|0,r=(r=r+Math.imul(pe,le)|0)+Math.imul(be,Rt)|0,_=_+Math.imul(be,le)|0;var dn=(k+(x=x+Math.imul(I,ce)|0)|0)+((8191&(r=(r=r+Math.imul(I,se)|0)+Math.imul(B,ce)|0))<<13)|0;k=((_=_+Math.imul(B,se)|0)+(r>>>13)|0)+(dn>>>26)|0,dn&=67108863,x=Math.imul(Ke,Qt),r=(r=Math.imul(Ke,di))+Math.imul(ge,Qt)|0,_=Math.imul(ge,di),x=x+Math.imul(_e,Rt)|0,r=(r=r+Math.imul(_e,le)|0)+Math.imul(ye,Rt)|0,_=_+Math.imul(ye,le)|0,x=x+Math.imul(pe,ce)|0,r=(r=r+Math.imul(pe,se)|0)+Math.imul(be,ce)|0,_=_+Math.imul(be,se)|0;var zn=(k+(x=x+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ne)|0)+Math.imul(B,Ue)|0))<<13)|0;k=((_=_+Math.imul(B,Ne)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,x=Math.imul(Oe,Qt),r=(r=Math.imul(Oe,di))+Math.imul(Ee,Qt)|0,_=Math.imul(Ee,di),x=x+Math.imul(Ke,Rt)|0,r=(r=r+Math.imul(Ke,le)|0)+Math.imul(ge,Rt)|0,_=_+Math.imul(ge,le)|0,x=x+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,se)|0)+Math.imul(ye,ce)|0,_=_+Math.imul(ye,se)|0,x=x+Math.imul(pe,Ue)|0,r=(r=r+Math.imul(pe,Ne)|0)+Math.imul(be,Ue)|0,_=_+Math.imul(be,Ne)|0;var It=(k+(x=x+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Vt)|0)+Math.imul(B,yt)|0))<<13)|0;k=((_=_+Math.imul(B,Vt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,x=Math.imul(nt,Qt),r=(r=Math.imul(nt,di))+Math.imul(Ct,Qt)|0,_=Math.imul(Ct,di),x=x+Math.imul(Oe,Rt)|0,r=(r=r+Math.imul(Oe,le)|0)+Math.imul(Ee,Rt)|0,_=_+Math.imul(Ee,le)|0,x=x+Math.imul(Ke,ce)|0,r=(r=r+Math.imul(Ke,se)|0)+Math.imul(ge,ce)|0,_=_+Math.imul(ge,se)|0,x=x+Math.imul(_e,Ue)|0,r=(r=r+Math.imul(_e,Ne)|0)+Math.imul(ye,Ue)|0,_=_+Math.imul(ye,Ne)|0,x=x+Math.imul(pe,yt)|0,r=(r=r+Math.imul(pe,Vt)|0)+Math.imul(be,yt)|0,_=_+Math.imul(be,Vt)|0;var Tt=(k+(x=x+Math.imul(I,ti)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ye)|0)+Math.imul(B,ti)|0))<<13)|0;k=((_=_+Math.imul(B,Ye)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,x=Math.imul(lt,Qt),r=(r=Math.imul(lt,di))+Math.imul(Pe,Qt)|0,_=Math.imul(Pe,di),x=x+Math.imul(nt,Rt)|0,r=(r=r+Math.imul(nt,le)|0)+Math.imul(Ct,Rt)|0,_=_+Math.imul(Ct,le)|0,x=x+Math.imul(Oe,ce)|0,r=(r=r+Math.imul(Oe,se)|0)+Math.imul(Ee,ce)|0,_=_+Math.imul(Ee,se)|0,x=x+Math.imul(Ke,Ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,Ue)|0,_=_+Math.imul(ge,Ne)|0,x=x+Math.imul(_e,yt)|0,r=(r=r+Math.imul(_e,Vt)|0)+Math.imul(ye,yt)|0,_=_+Math.imul(ye,Vt)|0,x=x+Math.imul(pe,ti)|0,r=(r=r+Math.imul(pe,Ye)|0)+Math.imul(be,ti)|0,_=_+Math.imul(be,Ye)|0;var Ze=(k+(x=x+Math.imul(I,Et)|0)|0)+((8191&(r=(r=r+Math.imul(I,Jt)|0)+Math.imul(B,Et)|0))<<13)|0;k=((_=_+Math.imul(B,Jt)|0)+(r>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,x=Math.imul(ct,Qt),r=(r=Math.imul(ct,di))+Math.imul(Ce,Qt)|0,_=Math.imul(Ce,di),x=x+Math.imul(lt,Rt)|0,r=(r=r+Math.imul(lt,le)|0)+Math.imul(Pe,Rt)|0,_=_+Math.imul(Pe,le)|0,x=x+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,se)|0)+Math.imul(Ct,ce)|0,_=_+Math.imul(Ct,se)|0,x=x+Math.imul(Oe,Ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Ee,Ue)|0,_=_+Math.imul(Ee,Ne)|0,x=x+Math.imul(Ke,yt)|0,r=(r=r+Math.imul(Ke,Vt)|0)+Math.imul(ge,yt)|0,_=_+Math.imul(ge,Vt)|0,x=x+Math.imul(_e,ti)|0,r=(r=r+Math.imul(_e,Ye)|0)+Math.imul(ye,ti)|0,_=_+Math.imul(ye,Ye)|0,x=x+Math.imul(pe,Et)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(be,Et)|0,_=_+Math.imul(be,Jt)|0;var Ve=(k+(x=x+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,tt)|0)+Math.imul(B,$e)|0))<<13)|0;k=((_=_+Math.imul(B,tt)|0)+(r>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,x=Math.imul(Z,Qt),r=(r=Math.imul(Z,di))+Math.imul(J,Qt)|0,_=Math.imul(J,di),x=x+Math.imul(ct,Rt)|0,r=(r=r+Math.imul(ct,le)|0)+Math.imul(Ce,Rt)|0,_=_+Math.imul(Ce,le)|0,x=x+Math.imul(lt,ce)|0,r=(r=r+Math.imul(lt,se)|0)+Math.imul(Pe,ce)|0,_=_+Math.imul(Pe,se)|0,x=x+Math.imul(nt,Ue)|0,r=(r=r+Math.imul(nt,Ne)|0)+Math.imul(Ct,Ue)|0,_=_+Math.imul(Ct,Ne)|0,x=x+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,Vt)|0)+Math.imul(Ee,yt)|0,_=_+Math.imul(Ee,Vt)|0,x=x+Math.imul(Ke,ti)|0,r=(r=r+Math.imul(Ke,Ye)|0)+Math.imul(ge,ti)|0,_=_+Math.imul(ge,Ye)|0,x=x+Math.imul(_e,Et)|0,r=(r=r+Math.imul(_e,Jt)|0)+Math.imul(ye,Et)|0,_=_+Math.imul(ye,Jt)|0,x=x+Math.imul(pe,$e)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(be,$e)|0,_=_+Math.imul(be,tt)|0;var Fe=(k+(x=x+Math.imul(I,ei)|0)|0)+((8191&(r=(r=r+Math.imul(I,ci)|0)+Math.imul(B,ei)|0))<<13)|0;k=((_=_+Math.imul(B,ci)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,x=Math.imul(Ie,Qt),r=(r=Math.imul(Ie,di))+Math.imul(ht,Qt)|0,_=Math.imul(ht,di),x=x+Math.imul(Z,Rt)|0,r=(r=r+Math.imul(Z,le)|0)+Math.imul(J,Rt)|0,_=_+Math.imul(J,le)|0,x=x+Math.imul(ct,ce)|0,r=(r=r+Math.imul(ct,se)|0)+Math.imul(Ce,ce)|0,_=_+Math.imul(Ce,se)|0,x=x+Math.imul(lt,Ue)|0,r=(r=r+Math.imul(lt,Ne)|0)+Math.imul(Pe,Ue)|0,_=_+Math.imul(Pe,Ne)|0,x=x+Math.imul(nt,yt)|0,r=(r=r+Math.imul(nt,Vt)|0)+Math.imul(Ct,yt)|0,_=_+Math.imul(Ct,Vt)|0,x=x+Math.imul(Oe,ti)|0,r=(r=r+Math.imul(Oe,Ye)|0)+Math.imul(Ee,ti)|0,_=_+Math.imul(Ee,Ye)|0,x=x+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Jt)|0)+Math.imul(ge,Et)|0,_=_+Math.imul(ge,Jt)|0,x=x+Math.imul(_e,$e)|0,r=(r=r+Math.imul(_e,tt)|0)+Math.imul(ye,$e)|0,_=_+Math.imul(ye,tt)|0,x=x+Math.imul(pe,ei)|0,r=(r=r+Math.imul(pe,ci)|0)+Math.imul(be,ei)|0,_=_+Math.imul(be,ci)|0;var it=(k+(x=x+Math.imul(I,oi)|0)|0)+((8191&(r=(r=r+Math.imul(I,ui)|0)+Math.imul(B,oi)|0))<<13)|0;k=((_=_+Math.imul(B,ui)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,x=Math.imul(Ie,Rt),r=(r=Math.imul(Ie,le))+Math.imul(ht,Rt)|0,_=Math.imul(ht,le),x=x+Math.imul(Z,ce)|0,r=(r=r+Math.imul(Z,se)|0)+Math.imul(J,ce)|0,_=_+Math.imul(J,se)|0,x=x+Math.imul(ct,Ue)|0,r=(r=r+Math.imul(ct,Ne)|0)+Math.imul(Ce,Ue)|0,_=_+Math.imul(Ce,Ne)|0,x=x+Math.imul(lt,yt)|0,r=(r=r+Math.imul(lt,Vt)|0)+Math.imul(Pe,yt)|0,_=_+Math.imul(Pe,Vt)|0,x=x+Math.imul(nt,ti)|0,r=(r=r+Math.imul(nt,Ye)|0)+Math.imul(Ct,ti)|0,_=_+Math.imul(Ct,Ye)|0,x=x+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Jt)|0)+Math.imul(Ee,Et)|0,_=_+Math.imul(Ee,Jt)|0,x=x+Math.imul(Ke,$e)|0,r=(r=r+Math.imul(Ke,tt)|0)+Math.imul(ge,$e)|0,_=_+Math.imul(ge,tt)|0,x=x+Math.imul(_e,ei)|0,r=(r=r+Math.imul(_e,ci)|0)+Math.imul(ye,ei)|0,_=_+Math.imul(ye,ci)|0;var bt=(k+(x=x+Math.imul(pe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(pe,ui)|0)+Math.imul(be,oi)|0))<<13)|0;k=((_=_+Math.imul(be,ui)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863,x=Math.imul(Ie,ce),r=(r=Math.imul(Ie,se))+Math.imul(ht,ce)|0,_=Math.imul(ht,se),x=x+Math.imul(Z,Ue)|0,r=(r=r+Math.imul(Z,Ne)|0)+Math.imul(J,Ue)|0,_=_+Math.imul(J,Ne)|0,x=x+Math.imul(ct,yt)|0,r=(r=r+Math.imul(ct,Vt)|0)+Math.imul(Ce,yt)|0,_=_+Math.imul(Ce,Vt)|0,x=x+Math.imul(lt,ti)|0,r=(r=r+Math.imul(lt,Ye)|0)+Math.imul(Pe,ti)|0,_=_+Math.imul(Pe,Ye)|0,x=x+Math.imul(nt,Et)|0,r=(r=r+Math.imul(nt,Jt)|0)+Math.imul(Ct,Et)|0,_=_+Math.imul(Ct,Jt)|0,x=x+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,tt)|0)+Math.imul(Ee,$e)|0,_=_+Math.imul(Ee,tt)|0,x=x+Math.imul(Ke,ei)|0,r=(r=r+Math.imul(Ke,ci)|0)+Math.imul(ge,ei)|0,_=_+Math.imul(ge,ci)|0;var ut=(k+(x=x+Math.imul(_e,oi)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(ye,oi)|0))<<13)|0;k=((_=_+Math.imul(ye,ui)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,x=Math.imul(Ie,Ue),r=(r=Math.imul(Ie,Ne))+Math.imul(ht,Ue)|0,_=Math.imul(ht,Ne),x=x+Math.imul(Z,yt)|0,r=(r=r+Math.imul(Z,Vt)|0)+Math.imul(J,yt)|0,_=_+Math.imul(J,Vt)|0,x=x+Math.imul(ct,ti)|0,r=(r=r+Math.imul(ct,Ye)|0)+Math.imul(Ce,ti)|0,_=_+Math.imul(Ce,Ye)|0,x=x+Math.imul(lt,Et)|0,r=(r=r+Math.imul(lt,Jt)|0)+Math.imul(Pe,Et)|0,_=_+Math.imul(Pe,Jt)|0,x=x+Math.imul(nt,$e)|0,r=(r=r+Math.imul(nt,tt)|0)+Math.imul(Ct,$e)|0,_=_+Math.imul(Ct,tt)|0,x=x+Math.imul(Oe,ei)|0,r=(r=r+Math.imul(Oe,ci)|0)+Math.imul(Ee,ei)|0,_=_+Math.imul(Ee,ci)|0;var jt=(k+(x=x+Math.imul(Ke,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,ui)|0)+Math.imul(ge,oi)|0))<<13)|0;k=((_=_+Math.imul(ge,ui)|0)+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,x=Math.imul(Ie,yt),r=(r=Math.imul(Ie,Vt))+Math.imul(ht,yt)|0,_=Math.imul(ht,Vt),x=x+Math.imul(Z,ti)|0,r=(r=r+Math.imul(Z,Ye)|0)+Math.imul(J,ti)|0,_=_+Math.imul(J,Ye)|0,x=x+Math.imul(ct,Et)|0,r=(r=r+Math.imul(ct,Jt)|0)+Math.imul(Ce,Et)|0,_=_+Math.imul(Ce,Jt)|0,x=x+Math.imul(lt,$e)|0,r=(r=r+Math.imul(lt,tt)|0)+Math.imul(Pe,$e)|0,_=_+Math.imul(Pe,tt)|0,x=x+Math.imul(nt,ei)|0,r=(r=r+Math.imul(nt,ci)|0)+Math.imul(Ct,ei)|0,_=_+Math.imul(Ct,ci)|0;var ai=(k+(x=x+Math.imul(Oe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,ui)|0)+Math.imul(Ee,oi)|0))<<13)|0;k=((_=_+Math.imul(Ee,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,x=Math.imul(Ie,ti),r=(r=Math.imul(Ie,Ye))+Math.imul(ht,ti)|0,_=Math.imul(ht,Ye),x=x+Math.imul(Z,Et)|0,r=(r=r+Math.imul(Z,Jt)|0)+Math.imul(J,Et)|0,_=_+Math.imul(J,Jt)|0,x=x+Math.imul(ct,$e)|0,r=(r=r+Math.imul(ct,tt)|0)+Math.imul(Ce,$e)|0,_=_+Math.imul(Ce,tt)|0,x=x+Math.imul(lt,ei)|0,r=(r=r+Math.imul(lt,ci)|0)+Math.imul(Pe,ei)|0,_=_+Math.imul(Pe,ci)|0;var pi=(k+(x=x+Math.imul(nt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ct,oi)|0))<<13)|0;k=((_=_+Math.imul(Ct,ui)|0)+(r>>>13)|0)+(pi>>>26)|0,pi&=67108863,x=Math.imul(Ie,Et),r=(r=Math.imul(Ie,Jt))+Math.imul(ht,Et)|0,_=Math.imul(ht,Jt),x=x+Math.imul(Z,$e)|0,r=(r=r+Math.imul(Z,tt)|0)+Math.imul(J,$e)|0,_=_+Math.imul(J,tt)|0,x=x+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,ci)|0)+Math.imul(Ce,ei)|0,_=_+Math.imul(Ce,ci)|0;var ki=(k+(x=x+Math.imul(lt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(lt,ui)|0)+Math.imul(Pe,oi)|0))<<13)|0;k=((_=_+Math.imul(Pe,ui)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,x=Math.imul(Ie,$e),r=(r=Math.imul(Ie,tt))+Math.imul(ht,$e)|0,_=Math.imul(ht,tt),x=x+Math.imul(Z,ei)|0,r=(r=r+Math.imul(Z,ci)|0)+Math.imul(J,ei)|0,_=_+Math.imul(J,ci)|0;var Ki=(k+(x=x+Math.imul(ct,oi)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ce,oi)|0))<<13)|0;k=((_=_+Math.imul(Ce,ui)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,x=Math.imul(Ie,ei),r=(r=Math.imul(Ie,ci))+Math.imul(ht,ei)|0,_=Math.imul(ht,ci);var Ji=(k+(x=x+Math.imul(Z,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Z,ui)|0)+Math.imul(J,oi)|0))<<13)|0;k=((_=_+Math.imul(J,ui)|0)+(r>>>13)|0)+(Ji>>>26)|0,Ji&=67108863;var Dn=(k+(x=Math.imul(Ie,oi))|0)+((8191&(r=(r=Math.imul(Ie,ui))+Math.imul(ht,oi)|0))<<13)|0;return k=((_=Math.imul(ht,ui))+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,A[0]=ln,A[1]=nn,A[2]=dn,A[3]=zn,A[4]=It,A[5]=Tt,A[6]=Ze,A[7]=Ve,A[8]=Fe,A[9]=it,A[10]=bt,A[11]=ut,A[12]=jt,A[13]=ai,A[14]=pi,A[15]=ki,A[16]=Ki,A[17]=Ji,A[18]=Dn,0!==k&&(A[19]=k,f.length++),f};function q(D,n,o){return(new G).mulp(D,n,o)}function G(D,n){this.x=D,this.y=n}Math.imul||(U=j),c.prototype.mulTo=function(n,o){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?U(this,n,o):h<63?j(this,n,o):h<1024?function K(D,n,o){o.negative=n.negative^D.negative,o.length=D.length+n.length;for(var f=0,h=0,b=0;b<o.length-1;b++){var A=h;h=0;for(var k=67108863&f,x=Math.min(b,n.length-1),r=Math.max(0,b-D.length+1);r<=x;r++){var B=(0|D.words[b-r])*(0|n.words[r]),re=67108863&B;k=67108863&(re=re+k|0),h+=(A=(A=A+(B/67108864|0)|0)+(re>>>26)|0)>>>26,A&=67108863}o.words[b]=k,f=A,A=h}return 0!==f?o.words[b]=f:o.length--,o.strip()}(this,n,o):q(this,n,o),f},G.prototype.makeRBT=function(n){for(var o=new Array(n),f=c.prototype._countBits(n)-1,h=0;h<n;h++)o[h]=this.revBin(h,f,n);return o},G.prototype.revBin=function(n,o,f){if(0===n||n===f-1)return n;for(var h=0,b=0;b<o;b++)h|=(1&n)<<o-b-1,n>>=1;return h},G.prototype.permute=function(n,o,f,h,b,A){for(var k=0;k<A;k++)h[k]=o[n[k]],b[k]=f[n[k]]},G.prototype.transform=function(n,o,f,h,b,A){this.permute(A,n,o,f,h,b);for(var k=1;k<b;k<<=1)for(var x=k<<1,r=Math.cos(2*Math.PI/x),_=Math.sin(2*Math.PI/x),W=0;W<b;W+=x)for(var I=r,B=_,re=0;re<k;re++){var pe=f[W+re],be=h[W+re],Be=f[W+re+k],_e=h[W+re+k],ye=I*Be-B*_e;_e=I*_e+B*Be,f[W+re]=pe+(Be=ye),h[W+re]=be+_e,f[W+re+k]=pe-Be,h[W+re+k]=be-_e,re!==x&&(ye=r*I-_*B,B=r*B+_*I,I=ye)}},G.prototype.guessLen13b=function(n,o){var f=1|Math.max(o,n),h=1&f,b=0;for(f=f/2|0;f;f>>>=1)b++;return 1<<b+1+h},G.prototype.conjugate=function(n,o,f){if(!(f<=1))for(var h=0;h<f/2;h++){var b=n[h];n[h]=n[f-h-1],n[f-h-1]=b,b=o[h],o[h]=-o[f-h-1],o[f-h-1]=-b}},G.prototype.normalize13b=function(n,o){for(var f=0,h=0;h<o/2;h++){var b=8192*Math.round(n[2*h+1]/o)+Math.round(n[2*h]/o)+f;n[h]=67108863&b,f=b<67108864?0:b/67108864|0}return n},G.prototype.convert13b=function(n,o,f,h){for(var b=0,A=0;A<o;A++)f[2*A]=8191&(b+=0|n[A]),f[2*A+1]=8191&(b>>>=13),b>>>=13;for(A=2*o;A<h;++A)f[A]=0;p(0===b),p(!(-8192&b))},G.prototype.stub=function(n){for(var o=new Array(n),f=0;f<n;f++)o[f]=0;return o},G.prototype.mulp=function(n,o,f){var h=2*this.guessLen13b(n.length,o.length),b=this.makeRBT(h),A=this.stub(h),k=new Array(h),x=new Array(h),r=new Array(h),_=new Array(h),W=new Array(h),I=new Array(h),B=f.words;B.length=h,this.convert13b(n.words,n.length,k,h),this.convert13b(o.words,o.length,_,h),this.transform(k,A,x,r,h,b),this.transform(_,A,W,I,h,b);for(var re=0;re<h;re++){var pe=x[re]*W[re]-r[re]*I[re];r[re]=x[re]*I[re]+r[re]*W[re],x[re]=pe}return this.conjugate(x,r,h),this.transform(x,r,B,A,h,b),this.conjugate(B,A,h),this.normalize13b(B,h),f.negative=n.negative^o.negative,f.length=n.length+o.length,f.strip()},c.prototype.mul=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),this.mulTo(n,o)},c.prototype.mulf=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),q(this,n,o)},c.prototype.imul=function(n){return this.clone().mulTo(n,this)},c.prototype.imuln=function(n){p("number"==typeof n),p(n<67108864);for(var o=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,b=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=b>>>26,this.words[f]=67108863&b}return 0!==o&&(this.words[f]=o,this.length++),this.length=0===n?1:this.length,this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function M(D){for(var n=new Array(D.bitLength()),o=0;o<n.length;o++){var h=o%26;n[o]=(D.words[o/26|0]&1<<h)>>>h}return n}(n);if(0===o.length)return new c(1);for(var f=this,h=0;h<o.length&&0===o[h];h++,f=f.sqr());if(++h<o.length)for(var b=f.sqr();h<o.length;h++,b=b.sqr())0!==o[h]&&(f=f.mul(b));return f},c.prototype.iushln=function(n){p("number"==typeof n&&n>=0);var b,o=n%26,f=(n-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(b=0;b<this.length;b++){var k=this.words[b]&h;this.words[b]=(0|this.words[b])-k<<o|A,A=k>>>26-o}A&&(this.words[b]=A,this.length++)}if(0!==f){for(b=this.length-1;b>=0;b--)this.words[b+f]=this.words[b];for(b=0;b<f;b++)this.words[b]=0;this.length+=f}return this.strip()},c.prototype.ishln=function(n){return p(0===this.negative),this.iushln(n)},c.prototype.iushrn=function(n,o,f){var h;p("number"==typeof n&&n>=0),h=o?(o-o%26)/26:0;var b=n%26,A=Math.min((n-b)/26,this.length),k=67108863^67108863>>>b<<b,x=f;if(h-=A,h=Math.max(0,h),x){for(var r=0;r<A;r++)x.words[r]=this.words[r];x.length=A}if(0!==A)if(this.length>A)for(this.length-=A,r=0;r<this.length;r++)this.words[r]=this.words[r+A];else this.words[0]=0,this.length=1;var _=0;for(r=this.length-1;r>=0&&(0!==_||r>=h);r--){var W=0|this.words[r];this.words[r]=_<<26-b|W>>>b,_=W&k}return x&&0!==_&&(x.words[x.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,f){return p(0===this.negative),this.iushrn(n,o,f)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return!(this.length<=f||!(this.words[f]&1<<o))},c.prototype.imaskn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==o&&f++,this.length=Math.min(f,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(n){return this.clone().imaskn(n)},c.prototype.iaddn=function(n){return p("number"==typeof n),p(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},c.prototype._iaddn=function(n){this.words[0]+=n;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(n){return this.clone().iaddn(n)},c.prototype.subn=function(n){return this.clone().isubn(n)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(n,o,f){var b;this._expand(n.length+f);var A,k=0;for(b=0;b<n.length;b++){A=(0|this.words[b+f])+k;var x=(0|n.words[b])*o;k=((A-=67108863&x)>>26)-(x/67108864|0),this.words[b+f]=67108863&A}for(;b<this.length-f;b++)k=(A=(0|this.words[b+f])+k)>>26,this.words[b+f]=67108863&A;if(0===k)return this.strip();for(p(-1===k),k=0,b=0;b<this.length;b++)k=(A=-(0|this.words[b])+k)>>26,this.words[b]=67108863&A;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var f,h=this.clone(),b=n,A=0|b.words[b.length-1];0!=(f=26-this._countBits(A))&&(b=b.ushln(f),h.iushln(f),A=0|b.words[b.length-1]);var r,x=h.length-b.length;if("mod"!==o){(r=new c(null)).length=x+1,r.words=new Array(r.length);for(var _=0;_<r.length;_++)r.words[_]=0}var W=h.clone()._ishlnsubmul(b,1,x);0===W.negative&&(h=W,r&&(r.words[x]=1));for(var I=x-1;I>=0;I--){var B=67108864*(0|h.words[b.length+I])+(0|h.words[b.length+I-1]);for(B=Math.min(B/A|0,67108863),h._ishlnsubmul(b,B,I);0!==h.negative;)B--,h.negative=0,h._ishlnsubmul(b,1,I),h.isZero()||(h.negative^=1);r&&(r.words[I]=B)}return r&&r.strip(),h.strip(),"div"!==o&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},c.prototype.divmod=function(n,o,f){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.iadd(n)),{div:h,mod:b}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!==(this.negative&n.negative)?(A=this.neg().divmod(n.neg(),o),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.isub(n)),{div:A.div,mod:b}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var h,b,A},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var f=0!==o.div.negative?o.mod.isub(n):o.mod,h=n.ushrn(1),b=n.andln(1),A=f.cmp(h);return A<0||1===b&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(o*f+(0|this.words[h]))%n;return f},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*o;this.words[f]=h/n|0,o=h%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=new c(0),k=new c(1),x=0;o.isEven()&&f.isEven();)o.iushrn(1),f.iushrn(1),++x;for(var r=f.clone(),_=o.clone();!o.isZero();){for(var W=0,I=1;0===(o.words[0]&I)&&W<26;++W,I<<=1);if(W>0)for(o.iushrn(W);W-- >0;)(h.isOdd()||b.isOdd())&&(h.iadd(r),b.isub(_)),h.iushrn(1),b.iushrn(1);for(var B=0,re=1;0===(f.words[0]&re)&&B<26;++B,re<<=1);if(B>0)for(f.iushrn(B);B-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(r),k.isub(_)),A.iushrn(1),k.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(A),b.isub(k)):(f.isub(o),A.isub(h),k.isub(b))}return{a:A,b:k,gcd:f.iushln(x)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var W,o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=f.clone();o.cmpn(1)>0&&f.cmpn(1)>0;){for(var k=0,x=1;0===(o.words[0]&x)&&k<26;++k,x<<=1);if(k>0)for(o.iushrn(k);k-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var r=0,_=1;0===(f.words[0]&_)&&r<26;++r,_<<=1);if(r>0)for(f.iushrn(r);r-- >0;)b.isOdd()&&b.iadd(A),b.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(b)):(f.isub(o),b.isub(h))}return(W=0===o.cmpn(1)?h:b).cmpn(0)<0&&W.iadd(n),W},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),f=n.clone();o.negative=0,f.negative=0;for(var h=0;o.isEven()&&f.isEven();h++)o.iushrn(1),f.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;f.isEven();)f.iushrn(1);var b=o.cmp(f);if(b<0){var A=o;o=f,f=A}else if(0===b||0===f.cmpn(1))break;o.isub(f)}return f.iushln(h)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,f=(n-o)/26,h=1<<o;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var b=h,A=f;0!==b&&A<this.length;A++){var k=0|this.words[A];b=(k+=b)>>>26,this.words[A]=k&=67108863}return 0!==b&&(this.words[A]=b,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var f,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)f=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},c.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var o=this.ucmp(n);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var o=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],b=0|n.words[f];if(h!==b){h<b?o=-1:h>b&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new me(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var Q={k256:null,p224:null,p192:null,p25519:null};function $(D,n){this.name=D,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function me(D){if("string"==typeof D){var n=c._prime(D);this.m=n.p,this.prime=n}else p(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function Te(D){me.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}$.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},$.prototype.ireduce=function(n){var f,o=n;do{this.split(o,this.tmp),f=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},$.prototype.split=function(n,o){n.iushrn(this.n,0,o)},$.prototype.imulK=function(n){return n.imul(this.k)},S(ae,$),ae.prototype.split=function(n,o){for(var f=4194303,h=Math.min(n.length,9),b=0;b<h;b++)o.words[b]=n.words[b];if(o.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var A=n.words[9];for(o.words[o.length++]=A&f,b=10;b<n.length;b++){var k=0|n.words[b];n.words[b-10]=(k&f)<<4|A>>>22,A=k}n.words[b-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(o+=977*h),o=64*h+(o/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ue,$),S(oe,$),S(he,$),he.prototype.imulK=function(n){for(var o=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+o,b=67108863&h;h>>>=26,n.words[f]=b,o=h}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(Q[n])return Q[n];var o;if("k256"===n)o=new ae;else if("p224"===n)o=new ue;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new he}return Q[n]=o,o},me.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},me.prototype._verify2=function(n,o){p(0===(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},me.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},me.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},me.prototype.add=function(n,o){this._verify2(n,o);var f=n.add(o);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},me.prototype.iadd=function(n,o){this._verify2(n,o);var f=n.iadd(o);return f.cmp(this.m)>=0&&f.isub(this.m),f},me.prototype.sub=function(n,o){this._verify2(n,o);var f=n.sub(o);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},me.prototype.isub=function(n,o){this._verify2(n,o);var f=n.isub(o);return f.cmpn(0)<0&&f.iadd(this.m),f},me.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},me.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},me.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},me.prototype.isqr=function(n){return this.imul(n,n.clone())},me.prototype.sqr=function(n){return this.mul(n,n)},me.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var f=this.m.add(new c(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),b=0;!h.isZero()&&0===h.andln(1);)b++,h.iushrn(1);p(!h.isZero());var A=new c(1).toRed(this),k=A.redNeg(),x=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,x).cmp(k);)r.redIAdd(k);for(var _=this.pow(r,h),W=this.pow(n,h.addn(1).iushrn(1)),I=this.pow(n,h),B=b;0!==I.cmp(A);){for(var re=I,pe=0;0!==re.cmp(A);pe++)re=re.redSqr();p(pe<B);var be=this.pow(_,new c(1).iushln(B-pe-1));W=W.redMul(be),_=be.redSqr(),I=I.redMul(_),B=pe}return W},me.prototype.invm=function(n){var o=n._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},me.prototype.pow=function(n,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return n.clone();var h=new Array(16);h[0]=new c(1).toRed(this),h[1]=n;for(var b=2;b<h.length;b++)h[b]=this.mul(h[b-1],n);var A=h[0],k=0,x=0,r=o.bitLength()%26;for(0===r&&(r=26),b=o.length-1;b>=0;b--){for(var _=o.words[b],W=r-1;W>=0;W--){var I=_>>W&1;A!==h[0]&&(A=this.sqr(A)),0!==I||0!==k?(k<<=1,k|=I,(4===++x||0===b&&0===W)&&(A=this.mul(A,h[k]),x=0,k=0)):x=0}r=26}return A},me.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},me.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new Te(n)},S(Te,me),Te.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},Te.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},Te.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var f=n.mul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ae=l.nmd(Ae),this)},88779:(Ae,ee,l)=>{"use strict";var i=l(45310);Ae.exports=function(){return i()&&!!Symbol.toStringTag}},88800:(Ae,ee,l)=>{"use strict";var i=l(39210),t=l(71993),p={};function S(e){i.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var T=0;T<this.iv.length;T++)this.iv[T]=e[T]}ee.instantiate=function c(e){function T(m){e.call(this,m),this._cbcInit()}t(T,e);for(var g=Object.keys(p),d=0;d<g.length;d++){var w=g[d];T.prototype[w]=p[w]}return T.create=function(P){return new T(P)},T},p._cbcInit=function(){var T=new S(this.options.iv);this._cbcState=T},p._update=function(T,g,d,w){var P=this.constructor.super_.prototype,M=this._cbcState.iv;if("encrypt"===this.type){for(var j=0;j<this.blockSize;j++)M[j]^=T[g+j];for(P._update.call(this,M,0,d,w),j=0;j<this.blockSize;j++)M[j]=d[w+j]}else{for(P._update.call(this,T,g,d,w),j=0;j<this.blockSize;j++)d[w+j]^=M[j];for(j=0;j<this.blockSize;j++)M[j]=T[g+j]}}},88834:(Ae,ee,l)=>{"use strict";l.d(ee,{$0:()=>$,$z:()=>M,Hl:()=>oe});var i=l(22598),t=l(2615),p=l(73664),S=l(26881),c=l(22466);const e=["matButton",""],T=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],g=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],w=["mat-mini-fab",""],P=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]);let M=(()=>{class he extends i.iM{get appearance(){return this._appearance}set appearance(Te){this.setAppearance(Te||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();const Te=function j(he){return he.hasAttribute("mat-raised-button")?"elevated":he.hasAttribute("mat-stroked-button")?"outlined":he.hasAttribute("mat-flat-button")?"filled":he.hasAttribute("mat-button")?"text":null}(this._elementRef.nativeElement);Te&&this.setAppearance(Te)}setAppearance(Te){if(Te===this._appearance)return;const D=this._elementRef.nativeElement.classList,n=this._appearance?P.get(this._appearance):null,o=P.get(Te);n&&D.remove(...n),D.add(...o),this._appearance=Te}static \u0275fac=function(D){return new(D||he)};static \u0275cmp=p.VBU({type:he,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[p.Vt3],attrs:e,ngContentSelectors:g,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(D,n){1&D&&(p.NAR(T),p.Hgh(0,"span",0),p.SdG(1),p.rj2(2,"span",1),p.SdG(3,1),p.eux(),p.SdG(4,2),p.Hgh(5,"span",2)(6,"span",3)),2&D&&p.AVh("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;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;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.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__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-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-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-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-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-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-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-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-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-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,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-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,.mat-tonal-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,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.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,.mat-tonal-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,.mat-tonal-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}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}\n',"@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}\n"],encapsulation:2,changeDetection:0})}return he})();const K=new t.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:q});function q(){return{color:"accent"}}const G=q();let $=(()=>{class he extends i.iM{_options=(0,t.WQX)(K,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||G,this.color=this._options.color||G.color}static \u0275fac=function(D){return new(D||he)};static \u0275cmp=p.VBU({type:he,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[p.Vt3],attrs:w,ngContentSelectors:g,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(D,n){1&D&&(p.NAR(T),p.Hgh(0,"span",0),p.SdG(1),p.rj2(2,"span",1),p.SdG(3,1),p.eux(),p.SdG(4,2),p.Hgh(5,"span",2)(6,"span",3)),2&D&&p.AVh("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab)},styles:['.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;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;-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);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .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-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::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}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mat-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-touch-target-size, 48px);display:var(--mat-fab-touch-target-display, block);left:50%;width:var(--mat-fab-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.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, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mat-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-small-touch-target-size, 48px);display:var(--mat-fab-small-touch-target-display);left:50%;width:var(--mat-fab-small-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.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, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));height:var(--mat-fab-extended-container-height, 56px);border-radius:var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));font-family:var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3))}.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}[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>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}\n'],encapsulation:2,changeDetection:0})}return he})(),oe=(()=>{class he{static \u0275fac=function(D){return new(D||he)};static \u0275mod=p.$C({type:he});static \u0275inj=t.G2t({imports:[c.y,S.p,c.y]})}return he})()},88862:(Ae,ee,l)=>{var i=l(39799),t=l(43388),p=l(60503),S=l(59571),c=l(18211);function g(m,P,M){if(m=m.toLowerCase(),p[m])return t.createCipheriv(m,P,M);if(S[m])return new i({key:P,iv:M,mode:m});throw new TypeError("invalid suite type")}function d(m,P,M){if(m=m.toLowerCase(),p[m])return t.createDecipheriv(m,P,M);if(S[m])return new i({key:P,iv:M,mode:m,decrypt:!0});throw new TypeError("invalid suite type")}ee.createCipher=ee.Cipher=function e(m,P){var M,j;if(m=m.toLowerCase(),p[m])M=p[m].key,j=p[m].iv;else{if(!S[m])throw new TypeError("invalid suite type");M=8*S[m].key,j=S[m].iv}var U=c(P,!1,M,j);return g(m,U.key,U.iv)},ee.createCipheriv=ee.Cipheriv=g,ee.createDecipher=ee.Decipher=function T(m,P){var M,j;if(m=m.toLowerCase(),p[m])M=p[m].key,j=p[m].iv;else{if(!S[m])throw new TypeError("invalid suite type");M=8*S[m].key,j=S[m].iv}var U=c(P,!1,M,j);return d(m,U.key,U.iv)},ee.createDecipheriv=ee.Decipheriv=d,ee.listCiphers=ee.getCiphers=function w(){return Object.keys(S).concat(t.getCiphers())}},88968:(Ae,ee,l)=>{"use strict";l.d(ee,{l:()=>c});var i=l(2615),t=l(73664),p=l(17705);const S=new WeakMap;let c=(()=>{class e{_appRef;_injector=(0,i.WQX)(i.zZn);_environmentInjector=(0,i.WQX)(i.uvJ);load(g){const d=this._appRef=this._appRef||this._injector.get(t.o8S);let w=S.get(d);w||(w={loaders:new Set,refs:[]},S.set(d,w),d.onDestroy(()=>{S.get(d)?.refs.forEach(m=>m.destroy()),S.delete(d)})),w.loaders.has(g)||(w.loaders.add(g),w.refs.push((0,p.a0P)(g,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(d){return new(d||e)};static \u0275prov=i.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},89079:(Ae,ee,l)=>{"use strict";l.d(ee,{ot:()=>g});var i=l(2615),t=l(59295);function g(P,M){const U=M?.manualCleanup?null:M?.injector?.get(i.abz)??(0,i.WQX)(i.abz),K=function d(P=Object.is){return(M,j)=>1===M.kind&&1===j.kind&&P(M.value,j.value)}(M?.equal);let q,G;q=(0,i.vPA)(M?.requireSync?{kind:0}:{kind:1,value:M?.initialValue},{equal:K});const Q=P.subscribe({next:$=>q.set({kind:1,value:$}),error:$=>{q.set({kind:2,error:$}),G?.()},complete:()=>{G?.()}});if(M?.requireSync&&0===q().kind)throw new i.buA(601,!1);return G=U?.onDestroy(Q.unsubscribe.bind(Q)),(0,t.EW)(()=>{const $=q();switch($.kind){case 1:return $.value;case 2:throw $.error;case 0:throw new i.buA(601,!1)}},{equal:M?.equal})}},89417:(Ae,ee,l)=>{"use strict";l.d(ee,{BC:()=>lt,JD:()=>Kr,Q0:()=>fn,VZ:()=>yn,X1:()=>vn,YN:()=>Li,YS:()=>Jn,ZU:()=>Ee,cV:()=>ni,cb:()=>Pe,cz:()=>ae,hs:()=>an,j4:()=>Ta,k0:()=>he,kq:()=>P,l_:()=>xa,me:()=>G,ok:()=>Wt,qT:()=>Bi,vO:()=>dt,vS:()=>Ft,zX:()=>Ui,ze:()=>ft});var i=l(2615),t=l(73664),p=l(59295),S=l(17705),c=l(57303),e=l(21413),T=l(27468),g=l(22806),d=l(96354);let w=(()=>{class Je{_renderer;_elementRef;onChange=He=>{};onTouched=()=>{};constructor(He,At){this._renderer=He,this._elementRef=At}setProperty(He,At){this._renderer.setProperty(this._elementRef.nativeElement,He,At)}registerOnTouched(He){this.onTouched=He}registerOnChange(He){this.onChange=He}setDisabledState(He){this.setProperty("disabled",He)}static \u0275fac=function(At){return new(At||Je)(t.rXU(t.sFG),t.rXU(t.aKT))};static \u0275dir=t.FsC({type:Je})}return Je})(),m=(()=>{class Je extends w{static \u0275fac=(()=>{let He;return function(mi){return(He||(He=t.xGo(Je)))(mi||Je)}})();static \u0275dir=t.FsC({type:Je,features:[t.Vt3]})}return Je})();const P=new i.nKC(""),U={provide:P,useExisting:(0,i.Rfq)(()=>G),multi:!0},q=new i.nKC("");let G=(()=>{class Je extends w{_compositionMode;_composing=!1;constructor(He,At,mi){super(He,At),this._compositionMode=mi,null==this._compositionMode&&(this._compositionMode=!function K(){const Je=(0,c.rb)()?(0,c.rb)().getUserAgent():"";return/android (\d+)/.test(Je.toLowerCase())}())}writeValue(He){this.setProperty("value",He??"")}_handleInput(He){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(He)}_compositionStart(){this._composing=!0}_compositionEnd(He){this._composing=!1,this._compositionMode&&this.onChange(He)}static \u0275fac=function(At){return new(At||Je)(t.rXU(t.sFG),t.rXU(t.aKT),t.rXU(q,8))};static \u0275dir=t.FsC({type:Je,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(At,mi){1&At&&t.bIt("input",function(ea){return mi._handleInput(ea.target.value)})("blur",function(){return mi.onTouched()})("compositionstart",function(){return mi._compositionStart()})("compositionend",function(ea){return mi._compositionEnd(ea.target.value)})},standalone:!1,features:[t.Jv_([U]),t.Vt3]})}return Je})();function Q(Je){return null==Je||0===$(Je)}function $(Je){return null==Je?null:Array.isArray(Je)||"string"==typeof Je?Je.length:Je instanceof Set?Je.size:null}const ae=new i.nKC(""),ue=new i.nKC(""),oe=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class he{static min(st){return me(st)}static max(st){return Te(st)}static required(st){return D(st)}static requiredTrue(st){return function n(Je){return!0===Je.value?null:{required:!0}}(st)}static email(st){return function o(Je){return Q(Je.value)||oe.test(Je.value)?null:{email:!0}}(st)}static minLength(st){return function f(Je){return st=>{const He=st.value?.length??$(st.value);return null===He||0===He?null:He<Je?{minlength:{requiredLength:Je,actualLength:He}}:null}}(st)}static maxLength(st){return function h(Je){return st=>{const He=st.value?.length??$(st.value);return null!==He&&He>Je?{maxlength:{requiredLength:Je,actualLength:He}}:null}}(st)}static pattern(st){return function b(Je){if(!Je)return A;let st,He;return"string"==typeof Je?(He="","^"!==Je.charAt(0)&&(He+="^"),He+=Je,"$"!==Je.charAt(Je.length-1)&&(He+="$"),st=new RegExp(He)):(He=Je.toString(),st=Je),At=>{if(Q(At.value))return null;const mi=At.value;return st.test(mi)?null:{pattern:{requiredPattern:He,actualValue:mi}}}}(st)}static nullValidator(st){return null}static compose(st){return B(st)}static composeAsync(st){return pe(st)}}function me(Je){return st=>{if(null==st.value||null==Je)return null;const He=parseFloat(st.value);return!isNaN(He)&&He<Je?{min:{min:Je,actual:st.value}}:null}}function Te(Je){return st=>{if(null==st.value||null==Je)return null;const He=parseFloat(st.value);return!isNaN(He)&&He>Je?{max:{max:Je,actual:st.value}}:null}}function D(Je){return Q(Je.value)?{required:!0}:null}function A(Je){return null}function k(Je){return null!=Je}function x(Je){return(0,t.yLl)(Je)?(0,g.H)(Je):Je}function r(Je){let st={};return Je.forEach(He=>{st=null!=He?{...st,...He}:st}),0===Object.keys(st).length?null:st}function _(Je,st){return st.map(He=>He(Je))}function I(Je){return Je.map(st=>function W(Je){return!Je.validate}(st)?st:He=>st.validate(He))}function B(Je){if(!Je)return null;const st=Je.filter(k);return 0==st.length?null:function(He){return r(_(He,st))}}function re(Je){return null!=Je?B(I(Je)):null}function pe(Je){if(!Je)return null;const st=Je.filter(k);return 0==st.length?null:function(He){const At=_(He,st).map(x);return(0,T.p)(At).pipe((0,d.T)(r))}}function be(Je){return null!=Je?pe(I(Je)):null}function Be(Je,st){return null===Je?[st]:Array.isArray(Je)?[...Je,st]:[Je,st]}function _e(Je){return Je._rawValidators}function ye(Je){return Je._rawAsyncValidators}function Le(Je){return Je?Array.isArray(Je)?Je:[Je]:[]}function Ke(Je,st){return Array.isArray(Je)?Je.includes(st):Je===st}function ge(Je,st){const He=Le(st);return Le(Je).forEach(mi=>{Ke(He,mi)||He.push(mi)}),He}function ve(Je,st){return Le(st).filter(He=>!Ke(Je,He))}class Oe{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(st){this._rawValidators=st||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(st){this._rawAsyncValidators=st||[],this._composedAsyncValidatorFn=be(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(st){this._onDestroyCallbacks.push(st)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(st=>st()),this._onDestroyCallbacks=[]}reset(st=void 0){this.control&&this.control.reset(st)}hasError(st,He){return!!this.control&&this.control.hasError(st,He)}getError(st,He){return this.control?this.control.getError(st,He):null}}class Ee extends Oe{name;get formDirective(){return null}get path(){return null}}class dt extends Oe{_parent=null;name=null;valueAccessor=null}class nt{_cd;constructor(st){this._cd=st}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 lt=(()=>{class Je extends nt{constructor(He){super(He)}static \u0275fac=function(At){return new(At||Je)(t.rXU(dt,2))};static \u0275dir=t.FsC({type:Je,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(At,mi){2&At&&t.AVh("ng-untouched",mi.isUntouched)("ng-touched",mi.isTouched)("ng-pristine",mi.isPristine)("ng-dirty",mi.isDirty)("ng-valid",mi.isValid)("ng-invalid",mi.isInvalid)("ng-pending",mi.isPending)},standalone:!1,features:[t.Vt3]})}return Je})(),Pe=(()=>{class Je extends nt{constructor(He){super(He)}static \u0275fac=function(At){return new(At||Je)(t.rXU(Ee,10))};static \u0275dir=t.FsC({type:Je,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(At,mi){2&At&&t.AVh("ng-untouched",mi.isUntouched)("ng-touched",mi.isTouched)("ng-pristine",mi.isPristine)("ng-dirty",mi.isDirty)("ng-valid",mi.isValid)("ng-invalid",mi.isInvalid)("ng-pending",mi.isPending)("ng-submitted",mi.isSubmitted)},standalone:!1,features:[t.Vt3]})}return Je})();const ke="VALID",Ue="INVALID",Ne="PENDING",Kt="DISABLED";class yt{}class Vt extends yt{value;source;constructor(st,He){super(),this.value=st,this.source=He}}class Zt extends yt{pristine;source;constructor(st,He){super(),this.pristine=st,this.source=He}}class ti extends yt{touched;source;constructor(st,He){super(),this.touched=st,this.source=He}}class Ye extends yt{status;source;constructor(st,He){super(),this.status=st,this.source=He}}class Nt extends yt{source;constructor(st){super(),this.source=st}}class Et extends yt{source;constructor(st){super(),this.source=st}}function Jt(Je){return(vi(Je)?Je.validators:Je)||null}function $e(Je,st){return(vi(st)?st.asyncValidators:Je)||null}function vi(Je){return null!=Je&&!Array.isArray(Je)&&"object"==typeof Je}function ei(Je,st,He){const At=Je.controls;if(!(st?Object.keys(At):At).length)throw new i.buA(1e3,"");if(!At[He])throw new i.buA(1001,"")}function ci(Je,st,He){Je._forEachChild((At,mi)=>{if(void 0===He[mi])throw new i.buA(1002,"")})}class Hi{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(st,He){this._assignValidators(st),this._assignAsyncValidators(He)}get validator(){return this._composedValidatorFn}set validator(st){this._rawValidators=this._composedValidatorFn=st}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(st){this._rawAsyncValidators=this._composedAsyncValidatorFn=st}get parent(){return this._parent}get status(){return(0,p.O8)(this.statusReactive)}set status(st){(0,p.O8)(()=>this.statusReactive.set(st))}_status=(0,p.EW)(()=>this.statusReactive());statusReactive=(0,i.vPA)(void 0);get valid(){return this.status===ke}get invalid(){return this.status===Ue}get pending(){return this.status==Ne}get disabled(){return this.status===Kt}get enabled(){return this.status!==Kt}errors;get pristine(){return(0,p.O8)(this.pristineReactive)}set pristine(st){(0,p.O8)(()=>this.pristineReactive.set(st))}_pristine=(0,p.EW)(()=>this.pristineReactive());pristineReactive=(0,i.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,p.O8)(this.touchedReactive)}set touched(st){(0,p.O8)(()=>this.touchedReactive.set(st))}_touched=(0,p.EW)(()=>this.touchedReactive());touchedReactive=(0,i.vPA)(!1);get untouched(){return!this.touched}_events=new e.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(st){this._assignValidators(st)}setAsyncValidators(st){this._assignAsyncValidators(st)}addValidators(st){this.setValidators(ge(st,this._rawValidators))}addAsyncValidators(st){this.setAsyncValidators(ge(st,this._rawAsyncValidators))}removeValidators(st){this.setValidators(ve(st,this._rawValidators))}removeAsyncValidators(st){this.setAsyncValidators(ve(st,this._rawAsyncValidators))}hasValidator(st){return Ke(this._rawValidators,st)}hasAsyncValidator(st){return Ke(this._rawAsyncValidators,st)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(st={}){const He=!1===this.touched;this.touched=!0;const At=st.sourceControl??this;this._parent&&!st.onlySelf&&this._parent.markAsTouched({...st,sourceControl:At}),He&&!1!==st.emitEvent&&this._events.next(new ti(!0,At))}markAllAsDirty(st={}){this.markAsDirty({onlySelf:!0,emitEvent:st.emitEvent,sourceControl:this}),this._forEachChild(He=>He.markAllAsDirty(st))}markAllAsTouched(st={}){this.markAsTouched({onlySelf:!0,emitEvent:st.emitEvent,sourceControl:this}),this._forEachChild(He=>He.markAllAsTouched(st))}markAsUntouched(st={}){const He=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const At=st.sourceControl??this;this._forEachChild(mi=>{mi.markAsUntouched({onlySelf:!0,emitEvent:st.emitEvent,sourceControl:At})}),this._parent&&!st.onlySelf&&this._parent._updateTouched(st,At),He&&!1!==st.emitEvent&&this._events.next(new ti(!1,At))}markAsDirty(st={}){const He=!0===this.pristine;this.pristine=!1;const At=st.sourceControl??this;this._parent&&!st.onlySelf&&this._parent.markAsDirty({...st,sourceControl:At}),He&&!1!==st.emitEvent&&this._events.next(new Zt(!1,At))}markAsPristine(st={}){const He=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const At=st.sourceControl??this;this._forEachChild(mi=>{mi.markAsPristine({onlySelf:!0,emitEvent:st.emitEvent})}),this._parent&&!st.onlySelf&&this._parent._updatePristine(st,At),He&&!1!==st.emitEvent&&this._events.next(new Zt(!0,At))}markAsPending(st={}){this.status=Ne;const He=st.sourceControl??this;!1!==st.emitEvent&&(this._events.next(new Ye(this.status,He)),this.statusChanges.emit(this.status)),this._parent&&!st.onlySelf&&this._parent.markAsPending({...st,sourceControl:He})}disable(st={}){const He=this._parentMarkedDirty(st.onlySelf);this.status=Kt,this.errors=null,this._forEachChild(mi=>{mi.disable({...st,onlySelf:!0})}),this._updateValue();const At=st.sourceControl??this;!1!==st.emitEvent&&(this._events.next(new Vt(this.value,At)),this._events.next(new Ye(this.status,At)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...st,skipPristineCheck:He},this),this._onDisabledChange.forEach(mi=>mi(!0))}enable(st={}){const He=this._parentMarkedDirty(st.onlySelf);this.status=ke,this._forEachChild(At=>{At.enable({...st,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:st.emitEvent}),this._updateAncestors({...st,skipPristineCheck:He},this),this._onDisabledChange.forEach(At=>At(!1))}_updateAncestors(st,He){this._parent&&!st.onlySelf&&(this._parent.updateValueAndValidity(st),st.skipPristineCheck||this._parent._updatePristine({},He),this._parent._updateTouched({},He))}setParent(st){this._parent=st}getRawValue(){return this.value}updateValueAndValidity(st={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const At=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ke||this.status===Ne)&&this._runAsyncValidator(At,st.emitEvent)}const He=st.sourceControl??this;!1!==st.emitEvent&&(this._events.next(new Vt(this.value,He)),this._events.next(new Ye(this.status,He)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!st.onlySelf&&this._parent.updateValueAndValidity({...st,sourceControl:He})}_updateTreeValidity(st={emitEvent:!0}){this._forEachChild(He=>He._updateTreeValidity(st)),this.updateValueAndValidity({onlySelf:!0,emitEvent:st.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Kt:ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(st,He){if(this.asyncValidator){this.status=Ne,this._hasOwnPendingAsyncValidator={emitEvent:!1!==He,shouldHaveEmitted:!1!==st};const At=x(this.asyncValidator(this));this._asyncValidationSubscription=At.subscribe(mi=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(mi,{emitEvent:He,shouldHaveEmitted:st})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const st=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,st}return!1}setErrors(st,He={}){this.errors=st,this._updateControlsErrors(!1!==He.emitEvent,this,He.shouldHaveEmitted)}get(st){let He=st;return null==He||(Array.isArray(He)||(He=He.split(".")),0===He.length)?null:He.reduce((At,mi)=>At&&At._find(mi),this)}getError(st,He){const At=He?this.get(He):this;return At&&At.errors?At.errors[st]:null}hasError(st,He){return!!this.getError(st,He)}get root(){let st=this;for(;st._parent;)st=st._parent;return st}_updateControlsErrors(st,He,At){this.status=this._calculateStatus(),st&&this.statusChanges.emit(this.status),(st||At)&&this._events.next(new Ye(this.status,He)),this._parent&&this._parent._updateControlsErrors(st,He,At)}_initObservables(){this.valueChanges=new t.bkB,this.statusChanges=new t.bkB}_calculateStatus(){return this._allControlsDisabled()?Kt:this.errors?Ue:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ne)?Ne:this._anyControlsHaveStatus(Ue)?Ue:ke}_anyControlsHaveStatus(st){return this._anyControls(He=>He.status===st)}_anyControlsDirty(){return this._anyControls(st=>st.dirty)}_anyControlsTouched(){return this._anyControls(st=>st.touched)}_updatePristine(st,He){const At=!this._anyControlsDirty(),mi=this.pristine!==At;this.pristine=At,this._parent&&!st.onlySelf&&this._parent._updatePristine(st,He),mi&&this._events.next(new Zt(this.pristine,He))}_updateTouched(st={},He){this.touched=this._anyControlsTouched(),this._events.next(new ti(this.touched,He)),this._parent&&!st.onlySelf&&this._parent._updateTouched(st,He)}_onDisabledChange=[];_registerOnCollectionChange(st){this._onCollectionChange=st}_setUpdateStrategy(st){vi(st)&&null!=st.updateOn&&(this._updateOn=st.updateOn)}_parentMarkedDirty(st){return!st&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(st){return null}_assignValidators(st){this._rawValidators=Array.isArray(st)?st.slice():st,this._composedValidatorFn=function qe(Je){return Array.isArray(Je)?re(Je):Je||null}(this._rawValidators)}_assignAsyncValidators(st){this._rawAsyncValidators=Array.isArray(st)?st.slice():st,this._composedAsyncValidatorFn=function tt(Je){return Array.isArray(Je)?be(Je):Je||null}(this._rawAsyncValidators)}}class oi extends Hi{constructor(st,He,At){super(Jt(He),$e(At,He)),this.controls=st,this._initObservables(),this._setUpdateStrategy(He),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(st,He){return this.controls[st]?this.controls[st]:(this.controls[st]=He,He.setParent(this),He._registerOnCollectionChange(this._onCollectionChange),He)}addControl(st,He,At={}){this.registerControl(st,He),this.updateValueAndValidity({emitEvent:At.emitEvent}),this._onCollectionChange()}removeControl(st,He={}){this.controls[st]&&this.controls[st]._registerOnCollectionChange(()=>{}),delete this.controls[st],this.updateValueAndValidity({emitEvent:He.emitEvent}),this._onCollectionChange()}setControl(st,He,At={}){this.controls[st]&&this.controls[st]._registerOnCollectionChange(()=>{}),delete this.controls[st],He&&this.registerControl(st,He),this.updateValueAndValidity({emitEvent:At.emitEvent}),this._onCollectionChange()}contains(st){return this.controls.hasOwnProperty(st)&&this.controls[st].enabled}setValue(st,He={}){ci(this,0,st),Object.keys(st).forEach(At=>{ei(this,!0,At),this.controls[At].setValue(st[At],{onlySelf:!0,emitEvent:He.emitEvent})}),this.updateValueAndValidity(He)}patchValue(st,He={}){null!=st&&(Object.keys(st).forEach(At=>{const mi=this.controls[At];mi&&mi.patchValue(st[At],{onlySelf:!0,emitEvent:He.emitEvent})}),this.updateValueAndValidity(He))}reset(st={},He={}){this._forEachChild((At,mi)=>{At.reset(st?st[mi]:null,{onlySelf:!0,emitEvent:He.emitEvent})}),this._updatePristine(He,this),this._updateTouched(He,this),this.updateValueAndValidity(He),!1!==He?.emitEvent&&this._events.next(new Et(this))}getRawValue(){return this._reduceChildren({},(st,He,At)=>(st[At]=He.getRawValue(),st))}_syncPendingControls(){let st=this._reduceChildren(!1,(He,At)=>!!At._syncPendingControls()||He);return st&&this.updateValueAndValidity({onlySelf:!0}),st}_forEachChild(st){Object.keys(this.controls).forEach(He=>{const At=this.controls[He];At&&st(At,He)})}_setUpControls(){this._forEachChild(st=>{st.setParent(this),st._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(st){for(const[He,At]of Object.entries(this.controls))if(this.contains(He)&&st(At))return!0;return!1}_reduceValue(){return this._reduceChildren({},(He,At,mi)=>((At.enabled||this.disabled)&&(He[mi]=At.value),He))}_reduceChildren(st,He){let At=st;return this._forEachChild((mi,Rn)=>{At=He(At,mi,Rn)}),At}_allControlsDisabled(){for(const st of Object.keys(this.controls))if(this.controls[st].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(st){return this.controls.hasOwnProperty(st)?this.controls[st]:null}}class dn extends oi{}const It=new i.nKC("",{providedIn:"root",factory:()=>Tt}),Tt="always";function Ze(Je,st){return[...st.path,Je]}function Ve(Je,st,He=Tt){ut(Je,st),st.valueAccessor.writeValue(Je.value),(Je.disabled||"always"===He)&&st.valueAccessor.setDisabledState?.(Je.disabled),function ai(Je,st){st.valueAccessor.registerOnChange(He=>{Je._pendingValue=He,Je._pendingChange=!0,Je._pendingDirty=!0,"change"===Je.updateOn&&ki(Je,st)})}(Je,st),function Ki(Je,st){const He=(At,mi)=>{st.valueAccessor.writeValue(At),mi&&st.viewToModelUpdate(At)};Je.registerOnChange(He),st._registerOnDestroy(()=>{Je._unregisterOnChange(He)})}(Je,st),function pi(Je,st){st.valueAccessor.registerOnTouched(()=>{Je._pendingTouched=!0,"blur"===Je.updateOn&&Je._pendingChange&&ki(Je,st),"submit"!==Je.updateOn&&Je.markAsTouched()})}(Je,st),function bt(Je,st){if(st.valueAccessor.setDisabledState){const He=At=>{st.valueAccessor.setDisabledState(At)};Je.registerOnDisabledChange(He),st._registerOnDestroy(()=>{Je._unregisterOnDisabledChange(He)})}}(Je,st)}function Fe(Je,st,He=!0){const At=()=>{};st.valueAccessor&&(st.valueAccessor.registerOnChange(At),st.valueAccessor.registerOnTouched(At)),jt(Je,st),Je&&(st._invokeOnDestroyCallbacks(),Je._registerOnCollectionChange(()=>{}))}function it(Je,st){Je.forEach(He=>{He.registerOnValidatorChange&&He.registerOnValidatorChange(st)})}function ut(Je,st){const He=_e(Je);null!==st.validator?Je.setValidators(Be(He,st.validator)):"function"==typeof He&&Je.setValidators([He]);const At=ye(Je);null!==st.asyncValidator?Je.setAsyncValidators(Be(At,st.asyncValidator)):"function"==typeof At&&Je.setAsyncValidators([At]);const mi=()=>Je.updateValueAndValidity();it(st._rawValidators,mi),it(st._rawAsyncValidators,mi)}function jt(Je,st){let He=!1;if(null!==Je){if(null!==st.validator){const mi=_e(Je);if(Array.isArray(mi)&&mi.length>0){const Rn=mi.filter(ea=>ea!==st.validator);Rn.length!==mi.length&&(He=!0,Je.setValidators(Rn))}}if(null!==st.asyncValidator){const mi=ye(Je);if(Array.isArray(mi)&&mi.length>0){const Rn=mi.filter(ea=>ea!==st.asyncValidator);Rn.length!==mi.length&&(He=!0,Je.setAsyncValidators(Rn))}}}const At=()=>{};return it(st._rawValidators,At),it(st._rawAsyncValidators,At),He}function ki(Je,st){Je._pendingDirty&&Je.markAsDirty(),Je.setValue(Je._pendingValue,{emitModelToViewChange:!1}),st.viewToModelUpdate(Je._pendingValue),Je._pendingChange=!1}function Ji(Je,st){ut(Je,st)}function Ci(Je,st){if(!Je.hasOwnProperty("model"))return!1;const He=Je.model;return!!He.isFirstChange()||!Object.is(st,He.currentValue)}function Yi(Je,st){Je._syncPendingControls(),st.forEach(He=>{const At=He.control;"submit"===At.updateOn&&At._pendingChange&&(He.viewToModelUpdate(At._pendingValue),At._pendingChange=!1)})}function zt(Je,st){if(!st)return null;let He,At,mi;return Array.isArray(st),st.forEach(Rn=>{Rn.constructor===G?He=Rn:function Ai(Je){return Object.getPrototypeOf(Je.constructor)===m}(Rn)?At=Rn:mi=Rn}),mi||At||He||null}const mt={provide:Ee,useExisting:(0,i.Rfq)(()=>ni)},vt=Promise.resolve();let ni=(()=>{class Je extends Ee{callSetDisabledState;get submitted(){return(0,p.O8)(this.submittedReactive)}_submitted=(0,p.EW)(()=>this.submittedReactive());submittedReactive=(0,i.vPA)(!1);_directives=new Set;form;ngSubmit=new t.bkB;options;constructor(He,At,mi){super(),this.callSetDisabledState=mi,this.form=new oi({},re(He),be(At))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(He){vt.then(()=>{const At=this._findContainer(He.path);He.control=At.registerControl(He.name,He.control),Ve(He.control,He,this.callSetDisabledState),He.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(He)})}getControl(He){return this.form.get(He.path)}removeControl(He){vt.then(()=>{const At=this._findContainer(He.path);At&&At.removeControl(He.name),this._directives.delete(He)})}addFormGroup(He){vt.then(()=>{const At=this._findContainer(He.path),mi=new oi({});Ji(mi,He),At.registerControl(He.name,mi),mi.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(He){vt.then(()=>{const At=this._findContainer(He.path);At&&At.removeControl(He.name)})}getFormGroup(He){return this.form.get(He.path)}updateModel(He,At){vt.then(()=>{this.form.get(He.path).setValue(At)})}setValue(He){this.control.setValue(He)}onSubmit(He){return this.submittedReactive.set(!0),Yi(this.form,this._directives),this.ngSubmit.emit(He),this.form._events.next(new Nt(this.control)),"dialog"===He?.target?.method}onReset(){this.resetForm()}resetForm(He=void 0){this.form.reset(He),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(He){return He.pop(),He.length?this.form.get(He):this.form}static \u0275fac=function(At){return new(At||Je)(t.rXU(ae,10),t.rXU(ue,10),t.rXU(It,8))};static \u0275dir=t.FsC({type:Je,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(At,mi){1&At&&t.bIt("submit",function(ea){return mi.onSubmit(ea)})("reset",function(){return mi.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[t.Jv_([mt]),t.Vt3]})}return Je})();function Fi(Je,st){const He=Je.indexOf(st);He>-1&&Je.splice(He,1)}function kn(Je){return"object"==typeof Je&&null!==Je&&2===Object.keys(Je).length&&"value"in Je&&"disabled"in Je}const ca=class extends Hi{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(st=null,He,At){super(Jt(He),$e(At,He)),this._applyFormState(st),this._setUpdateStrategy(He),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vi(He)&&(He.nonNullable||He.initialValueIsDefault)&&(this.defaultValue=kn(st)?st.value:st)}setValue(st,He={}){this.value=this._pendingValue=st,this._onChange.length&&!1!==He.emitModelToViewChange&&this._onChange.forEach(At=>At(this.value,!1!==He.emitViewToModelChange)),this.updateValueAndValidity(He)}patchValue(st,He={}){this.setValue(st,He)}reset(st=this.defaultValue,He={}){this._applyFormState(st),this.markAsPristine(He),this.markAsUntouched(He),this.setValue(this.value,He),this._pendingChange=!1,!1!==He?.emitEvent&&this._events.next(new Et(this))}_updateValue(){}_anyControls(st){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(st){this._onChange.push(st)}_unregisterOnChange(st){Fi(this._onChange,st)}registerOnDisabledChange(st){this._onDisabledChange.push(st)}_unregisterOnDisabledChange(st){Fi(this._onDisabledChange,st)}_forEachChild(st){}_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(st){kn(st)?(this.value=this._pendingValue=st.value,st.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=st}},an=ca,Gt={provide:dt,useExisting:(0,i.Rfq)(()=>Ft)},gt=Promise.resolve();let Ft=(()=>{class Je extends dt{_changeDetectorRef;callSetDisabledState;control=new ca;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new t.bkB;constructor(He,At,mi,Rn,ea,lr){super(),this._changeDetectorRef=ea,this.callSetDisabledState=lr,this._parent=He,this._setValidators(At),this._setAsyncValidators(mi),this.valueAccessor=zt(0,Rn)}ngOnChanges(He){if(this._checkForErrors(),!this._registered||"name"in He){if(this._registered&&(this._checkName(),this.formDirective)){const At=He.name.previousValue;this.formDirective.removeControl({name:At,path:this._getPath(At)})}this._setUpControl()}"isDisabled"in He&&this._updateDisabled(He),Ci(He,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(He){this.viewModel=He,this.update.emit(He)}_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(){Ve(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(He){gt.then(()=>{this.control.setValue(He,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(He){const At=He.isDisabled.currentValue,mi=0!==At&&(0,S.L39)(At);gt.then(()=>{mi&&!this.control.disabled?this.control.disable():!mi&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(He){return this._parent?Ze(He,this._parent):[He]}static \u0275fac=function(At){return new(At||Je)(t.rXU(Ee,9),t.rXU(ae,10),t.rXU(ue,10),t.rXU(P,10),t.rXU(S.gRc,8),t.rXU(It,8))};static \u0275dir=t.FsC({type:Je,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"],standalone:!1,features:[t.Jv_([Gt]),t.Vt3,t.OA$]})}return Je})(),Bi=(()=>{class Je{static \u0275fac=function(At){return new(At||Je)};static \u0275dir=t.FsC({type:Je,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return Je})();const Qi={provide:P,useExisting:(0,i.Rfq)(()=>fn),multi:!0};let fn=(()=>{class Je extends m{writeValue(He){this.setProperty("value",He??"")}registerOnChange(He){this.onChange=At=>{He(""==At?null:parseFloat(At))}}static \u0275fac=(()=>{let He;return function(mi){return(He||(He=t.xGo(Je)))(mi||Je)}})();static \u0275dir=t.FsC({type:Je,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(At,mi){1&At&&t.bIt("input",function(ea){return mi.onChange(ea.target.value)})("blur",function(){return mi.onTouched()})},standalone:!1,features:[t.Jv_([Qi]),t.Vt3]})}return Je})();const pa=new i.nKC(""),Er={provide:dt,useExisting:(0,i.Rfq)(()=>xa)};let xa=(()=>{class Je extends dt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(He){}model;update=new t.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(He,At,mi,Rn,ea){super(),this._ngModelWarningConfig=Rn,this.callSetDisabledState=ea,this._setValidators(He),this._setAsyncValidators(At),this.valueAccessor=zt(0,mi)}ngOnChanges(He){if(this._isControlChanged(He)){const At=He.form.previousValue;At&&Fe(At,this,!1),Ve(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ci(He,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Fe(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(He){this.viewModel=He,this.update.emit(He)}_isControlChanged(He){return He.hasOwnProperty("form")}static \u0275fac=function(At){return new(At||Je)(t.rXU(ae,10),t.rXU(ue,10),t.rXU(P,10),t.rXU(pa,8),t.rXU(It,8))};static \u0275dir=t.FsC({type:Je,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[t.Jv_([Er]),t.Vt3,t.OA$]})}return Je})();const Xr={provide:Ee,useExisting:(0,i.Rfq)(()=>Ta)};let Ta=(()=>{class Je extends Ee{callSetDisabledState;get submitted(){return(0,p.O8)(this._submittedReactive)}set submitted(He){this._submittedReactive.set(He)}_submitted=(0,p.EW)(()=>this._submittedReactive());_submittedReactive=(0,i.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new t.bkB;constructor(He,At,mi){super(),this.callSetDisabledState=mi,this._setValidators(He),this._setAsyncValidators(At)}ngOnChanges(He){He.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(jt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(He){const At=this.form.get(He.path);return Ve(At,He,this.callSetDisabledState),At.updateValueAndValidity({emitEvent:!1}),this.directives.push(He),At}getControl(He){return this.form.get(He.path)}removeControl(He){Fe(He.control||null,He,!1),function ji(Je,st){const He=Je.indexOf(st);He>-1&&Je.splice(He,1)}(this.directives,He)}addFormGroup(He){this._setUpFormContainer(He)}removeFormGroup(He){this._cleanUpFormContainer(He)}getFormGroup(He){return this.form.get(He.path)}addFormArray(He){this._setUpFormContainer(He)}removeFormArray(He){this._cleanUpFormContainer(He)}getFormArray(He){return this.form.get(He.path)}updateModel(He,At){this.form.get(He.path).setValue(At)}onSubmit(He){return this._submittedReactive.set(!0),Yi(this.form,this.directives),this.ngSubmit.emit(He),this.form._events.next(new Nt(this.control)),"dialog"===He?.target?.method}onReset(){this.resetForm()}resetForm(He=void 0,At={}){this.form.reset(He,At),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(He=>{const At=He.control,mi=this.form.get(He.path);At!==mi&&(Fe(At||null,He),(Je=>Je instanceof ca)(mi)&&(Ve(mi,He,this.callSetDisabledState),He.control=mi))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(He){const At=this.form.get(He.path);Ji(At,He),At.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(He){if(this.form){const At=this.form.get(He.path);At&&function Dn(Je,st){return jt(Je,st)}(At,He)&&At.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ut(this.form,this),this._oldForm&&jt(this._oldForm,this)}static \u0275fac=function(At){return new(At||Je)(t.rXU(ae,10),t.rXU(ue,10),t.rXU(It,8))};static \u0275dir=t.FsC({type:Je,selectors:[["","formGroup",""]],hostBindings:function(At,mi){1&At&&t.bIt("submit",function(ea){return mi.onSubmit(ea)})("reset",function(){return mi.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[t.Jv_([Xr]),t.Vt3,t.OA$]})}return Je})();const ys={provide:dt,useExisting:(0,i.Rfq)(()=>Kr)};let Kr=(()=>{class Je extends dt{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(He){}model;update=new t.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(He,At,mi,Rn,ea){super(),this._ngModelWarningConfig=ea,this._parent=He,this._setValidators(At),this._setAsyncValidators(mi),this.valueAccessor=zt(0,Rn)}ngOnChanges(He){this._added||this._setUpControl(),Ci(He,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(He){this.viewModel=He,this.update.emit(He)}get path(){return Ze(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(At){return new(At||Je)(t.rXU(Ee,13),t.rXU(ae,10),t.rXU(ue,10),t.rXU(P,10),t.rXU(pa,8))};static \u0275dir=t.FsC({type:Je,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[t.Jv_([ys]),t.Vt3,t.OA$]})}return Je})();function wt(Je){return"number"==typeof Je?Je:parseFloat(Je)}let ii=(()=>{class Je{_validator=A;_onChange;_enabled;ngOnChanges(He){if(this.inputName in He){const At=this.normalizeInput(He[this.inputName].currentValue);this._enabled=this.enabled(At),this._validator=this._enabled?this.createValidator(At):A,this._onChange&&this._onChange()}}validate(He){return this._validator(He)}registerOnValidatorChange(He){this._onChange=He}enabled(He){return null!=He}static \u0275fac=function(At){return new(At||Je)};static \u0275dir=t.FsC({type:Je,features:[t.OA$]})}return Je})();const Ii={provide:ae,useExisting:(0,i.Rfq)(()=>Ui),multi:!0};let Ui=(()=>{class Je extends ii{max;inputName="max";normalizeInput=He=>wt(He);createValidator=He=>Te(He);static \u0275fac=(()=>{let He;return function(mi){return(He||(He=t.xGo(Je)))(mi||Je)}})();static \u0275dir=t.FsC({type:Je,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(At,mi){2&At&&t.BMQ("max",mi._enabled?mi.max:null)},inputs:{max:"max"},standalone:!1,features:[t.Jv_([Ii]),t.Vt3]})}return Je})();const tn={provide:ae,useExisting:(0,i.Rfq)(()=>yn),multi:!0};let yn=(()=>{class Je extends ii{min;inputName="min";normalizeInput=He=>wt(He);createValidator=He=>me(He);static \u0275fac=(()=>{let He;return function(mi){return(He||(He=t.xGo(Je)))(mi||Je)}})();static \u0275dir=t.FsC({type:Je,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(At,mi){2&At&&t.BMQ("min",mi._enabled?mi.min:null)},inputs:{min:"min"},standalone:!1,features:[t.Jv_([tn]),t.Vt3]})}return Je})();const Pn={provide:ae,useExisting:(0,i.Rfq)(()=>Jn),multi:!0};let Jn=(()=>{class Je extends ii{required;inputName="required";normalizeInput=S.L39;createValidator=He=>D;enabled(He){return He}static \u0275fac=(()=>{let He;return function(mi){return(He||(He=t.xGo(Je)))(mi||Je)}})();static \u0275dir=t.FsC({type:Je,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(At,mi){2&At&&t.BMQ("required",mi._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[t.Jv_([Pn]),t.Vt3]})}return Je})(),gr=(()=>{class Je{static \u0275fac=function(At){return new(At||Je)};static \u0275mod=t.$C({type:Je});static \u0275inj=i.G2t({})}return Je})();class ds extends Hi{constructor(st,He,At){super(Jt(He),$e(At,He)),this.controls=st,this._initObservables(),this._setUpdateStrategy(He),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(st){return this.controls[this._adjustIndex(st)]}push(st,He={}){Array.isArray(st)?st.forEach(At=>{this.controls.push(At),this._registerControl(At)}):(this.controls.push(st),this._registerControl(st)),this.updateValueAndValidity({emitEvent:He.emitEvent}),this._onCollectionChange()}insert(st,He,At={}){this.controls.splice(st,0,He),this._registerControl(He),this.updateValueAndValidity({emitEvent:At.emitEvent})}removeAt(st,He={}){let At=this._adjustIndex(st);At<0&&(At=0),this.controls[At]&&this.controls[At]._registerOnCollectionChange(()=>{}),this.controls.splice(At,1),this.updateValueAndValidity({emitEvent:He.emitEvent})}setControl(st,He,At={}){let mi=this._adjustIndex(st);mi<0&&(mi=0),this.controls[mi]&&this.controls[mi]._registerOnCollectionChange(()=>{}),this.controls.splice(mi,1),He&&(this.controls.splice(mi,0,He),this._registerControl(He)),this.updateValueAndValidity({emitEvent:At.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(st,He={}){ci(this,0,st),st.forEach((At,mi)=>{ei(this,!1,mi),this.at(mi).setValue(At,{onlySelf:!0,emitEvent:He.emitEvent})}),this.updateValueAndValidity(He)}patchValue(st,He={}){null!=st&&(st.forEach((At,mi)=>{this.at(mi)&&this.at(mi).patchValue(At,{onlySelf:!0,emitEvent:He.emitEvent})}),this.updateValueAndValidity(He))}reset(st=[],He={}){this._forEachChild((At,mi)=>{At.reset(st[mi],{onlySelf:!0,emitEvent:He.emitEvent})}),this._updatePristine(He,this),this._updateTouched(He,this),this.updateValueAndValidity(He),!1!==He?.emitEvent&&this._events.next(new Et(this))}getRawValue(){return this.controls.map(st=>st.getRawValue())}clear(st={}){this.controls.length<1||(this._forEachChild(He=>He._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:st.emitEvent}))}_adjustIndex(st){return st<0?st+this.length:st}_syncPendingControls(){let st=this.controls.reduce((He,At)=>!!At._syncPendingControls()||He,!1);return st&&this.updateValueAndValidity({onlySelf:!0}),st}_forEachChild(st){this.controls.forEach((He,At)=>{st(He,At)})}_updateValue(){this.value=this.controls.filter(st=>st.enabled||this.disabled).map(st=>st.value)}_anyControls(st){return this.controls.some(He=>He.enabled&&st(He))}_setUpControls(){this._forEachChild(st=>this._registerControl(st))}_allControlsDisabled(){for(const st of this.controls)if(st.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(st){st.setParent(this),st._registerOnCollectionChange(this._onCollectionChange)}_find(st){return this.at(st)??null}}function Oa(Je){return!!Je&&(void 0!==Je.asyncValidators||void 0!==Je.validators||void 0!==Je.updateOn)}let Wt=(()=>{class Je{useNonNullable=!1;get nonNullable(){const He=new Je;return He.useNonNullable=!0,He}group(He,At=null){const mi=this._reduceControls(He);let Rn={};return Oa(At)?Rn=At:null!==At&&(Rn.validators=At.validator,Rn.asyncValidators=At.asyncValidator),new oi(mi,Rn)}record(He,At=null){const mi=this._reduceControls(He);return new dn(mi,At)}control(He,At,mi){let Rn={};return this.useNonNullable?(Oa(At)?Rn=At:(Rn.validators=At,Rn.asyncValidators=mi),new ca(He,{...Rn,nonNullable:!0})):new ca(He,At,mi)}array(He,At,mi){const Rn=He.map(ea=>this._createControl(ea));return new ds(Rn,At,mi)}_reduceControls(He){const At={};return Object.keys(He).forEach(mi=>{At[mi]=this._createControl(He[mi])}),At}_createControl(He){return He instanceof ca||He instanceof Hi?He:Array.isArray(He)?this.control(He[0],He.length>1?He[1]:null,He.length>2?He[2]:null):this.control(He)}static \u0275fac=function(At){return new(At||Je)};static \u0275prov=i.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),ft=(()=>{class Je extends Wt{group(He,At=null){return super.group(He,At)}control(He,At,mi){return super.control(He,At,mi)}array(He,At,mi){return super.array(He,At,mi)}static \u0275fac=(()=>{let He;return function(mi){return(He||(He=t.xGo(Je)))(mi||Je)}})();static \u0275prov=i.jDH({token:Je,factory:Je.\u0275fac,providedIn:"root"})}return Je})(),Li=(()=>{class Je{static withConfig(He){return{ngModule:Je,providers:[{provide:It,useValue:He.callSetDisabledState??Tt}]}}static \u0275fac=function(At){return new(At||Je)};static \u0275mod=t.$C({type:Je});static \u0275inj=i.G2t({imports:[gr]})}return Je})(),vn=(()=>{class Je{static withConfig(He){return{ngModule:Je,providers:[{provide:pa,useValue:He.warnOnNgModelWithFormControl??"always"},{provide:It,useValue:He.callSetDisabledState??Tt}]}}static \u0275fac=function(At){return new(At||Je)};static \u0275mod=t.$C({type:Je});static \u0275inj=i.G2t({imports:[gr]})}return Je})()},89460:(Ae,ee,l)=>{const i=l(19089),t=l(47424),p=l(84662),S=l(35941),c=l(96214),e=l(76269),T=l(3361),g=l(23677),d=l(86289),w=l(91252),m=l(26254),P=l(91677),M=l(22868);function G(oe,he,me){const Te=oe.size,D=m.getEncodedBits(he,me);let n,o;for(n=0;n<15;n++)o=1==(D>>n&1),oe.set(n<6?n:n<8?n+1:Te-15+n,8,o,!0),oe.set(8,n<8?Te-n-1:n<9?15-n-1+1:15-n-1,o,!0);oe.set(Te-8,8,1,!0)}function ue(oe,he,me,Te){let D;if(Array.isArray(oe))D=M.fromArray(oe);else{if("string"!=typeof oe)throw new Error("Invalid data");{let b=he;if(!b){const A=M.rawSplit(oe);b=w.getBestVersionForData(A,me)}D=M.fromString(oe,b||40)}}const n=w.getBestVersionForData(D,me);if(!n)throw new Error("The amount of data is too big to be stored in a QR Code");if(he){if(he<n)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+n+".\n")}else he=n;const o=function $(oe,he,me){const Te=new p;me.forEach(function(h){Te.put(h.mode.bit,4),Te.put(h.getLength(),P.getCharCountIndicator(h.mode,oe)),h.write(Te)});const o=8*(i.getSymbolTotalCodewords(oe)-g.getTotalCodewordsCount(oe,he));for(Te.getLengthInBits()+4<=o&&Te.put(0,4);Te.getLengthInBits()%8!=0;)Te.putBit(0);const f=(o-Te.getLengthInBits())/8;for(let h=0;h<f;h++)Te.put(h%2?17:236,8);return function ae(oe,he,me){const Te=i.getSymbolTotalCodewords(he),n=Te-g.getTotalCodewordsCount(he,me),o=g.getBlocksCount(he,me),h=o-Te%o,b=Math.floor(Te/o),A=Math.floor(n/o),k=A+1,x=b-A,r=new d(x);let _=0;const W=new Array(o),I=new Array(o);let B=0;const re=new Uint8Array(oe.buffer);for(let ye=0;ye<o;ye++){const Le=ye<h?A:k;W[ye]=re.slice(_,_+Le),I[ye]=r.encode(W[ye]),_+=Le,B=Math.max(B,Le)}const pe=new Uint8Array(Te);let Be,_e,be=0;for(Be=0;Be<B;Be++)for(_e=0;_e<o;_e++)Be<W[_e].length&&(pe[be++]=W[_e][Be]);for(Be=0;Be<x;Be++)for(_e=0;_e<o;_e++)pe[be++]=I[_e][Be];return pe}(Te,oe,he)}(he,me,D),f=i.getSymbolSize(he),h=new S(f);return function j(oe,he){const me=oe.size,Te=e.getPositions(he);for(let D=0;D<Te.length;D++){const n=Te[D][0],o=Te[D][1];for(let f=-1;f<=7;f++)if(!(n+f<=-1||me<=n+f))for(let h=-1;h<=7;h++)o+h<=-1||me<=o+h||oe.set(n+f,o+h,f>=0&&f<=6&&(0===h||6===h)||h>=0&&h<=6&&(0===f||6===f)||f>=2&&f<=4&&h>=2&&h<=4,!0)}}(h,he),function U(oe){const he=oe.size;for(let me=8;me<he-8;me++){const Te=me%2==0;oe.set(me,6,Te,!0),oe.set(6,me,Te,!0)}}(h),function K(oe,he){const me=c.getPositions(he);for(let Te=0;Te<me.length;Te++){const D=me[Te][0],n=me[Te][1];for(let o=-2;o<=2;o++)for(let f=-2;f<=2;f++)oe.set(D+o,n+f,-2===o||2===o||-2===f||2===f||0===o&&0===f,!0)}}(h,he),G(h,me,0),he>=7&&function q(oe,he){const me=oe.size,Te=w.getEncodedBits(he);let D,n,o;for(let f=0;f<18;f++)D=Math.floor(f/3),n=f%3+me-8-3,o=1==(Te>>f&1),oe.set(D,n,o,!0),oe.set(n,D,o,!0)}(h,he),function Q(oe,he){const me=oe.size;let Te=-1,D=me-1,n=7,o=0;for(let f=me-1;f>0;f-=2)for(6===f&&f--;;){for(let h=0;h<2;h++)if(!oe.isReserved(D,f-h)){let b=!1;o<he.length&&(b=1==(he[o]>>>n&1)),oe.set(D,f-h,b),n--,-1===n&&(o++,n=7)}if(D+=Te,D<0||me<=D){D-=Te,Te=-Te;break}}}(h,o),isNaN(Te)&&(Te=T.getBestMask(h,G.bind(null,h,me))),T.applyMask(Te,h),G(h,me,Te),{modules:h,version:he,errorCorrectionLevel:me,maskPattern:Te,segments:D}}ee.create=function(he,me){if(typeof he>"u"||""===he)throw new Error("No input text");let D,n,Te=t.M;return typeof me<"u"&&(Te=t.from(me.errorCorrectionLevel,t.M),D=w.from(me.version),n=T.from(me.maskPattern),me.toSJISFunc&&i.setToSJISFunction(me.toSJISFunc)),ue(he,D,Te,n)}},89472:(Ae,ee,l)=>{"use strict";var i=/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,p=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,S=l(18211),c=l(43388),e=l(27054).Buffer;Ae.exports=function(T,g){var m,d=T.toString(),w=d.match(i);if(w){var M="aes"+w[1],j=e.from(w[2],"hex"),U=e.from(w[3].replace(/[\r\n]/g,""),"base64"),K=S(g,j.slice(0,8),parseInt(w[1],10)).key,q=[],G=c.createDecipheriv(M,K,j);q.push(G.update(U)),q.push(G.final()),m=e.concat(q)}else{var P=d.match(p);m=e.from(P[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(t)[1],data:m}}},89587:(Ae,ee,l)=>{"use strict";l.d(ee,{N:()=>t});var i=l(73664);let t=(()=>{var p;class S{constructor(e){this.el=e}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}static#e=p=()=>(this.\u0275fac=function(T){return new(T||S)(i.rXU(i.aKT))},this.\u0275dir=i.FsC({type:S,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"},standalone:!1}))}return p(),S})()},89606:function(Ae,ee,l){!function(i,t){"use strict";function p(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var o=function(){};o.prototype=n.prototype,D.prototype=new o,D.prototype.constructor=D}function c(D,n,o){if(c.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(D||0,n||10,o||"be"))}var e;"object"==typeof i?i.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{e=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:l(77965).Buffer}catch{}function T(D,n){var o=D.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function g(D,n,o){var f=T(D,o);return o-1>=n&&(f|=T(D,o-1)<<4),f}function d(D,n,o,f){for(var h=0,b=Math.min(D.length,o),A=n;A<b;A++){var k=D.charCodeAt(A)-48;h*=f,h+=k>=49?k-49+10:k>=17?k-17+10:k}return h}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,f){if("number"==typeof n)return this._initNumber(n,o,f);if("object"==typeof n)return this._initArray(n,o,f);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===o?this._parseHex(n,h,f):(this._parseBase(n,o,h),"le"===f&&this._initArray(this.toArray(),o,f)))},c.prototype._initNumber=function(n,o,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(p(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),o,f)},c.prototype._initArray=function(n,o,f){if(p("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var b,A,k=0;if("be"===f)for(h=n.length-1,b=0;h>=0;h-=3)this.words[b]|=(A=n[h]|n[h-1]<<8|n[h-2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);else if("le"===f)for(h=0,b=0;h<n.length;h+=3)this.words[b]|=(A=n[h]|n[h+1]<<8|n[h+2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);return this.strip()},c.prototype._parseHex=function(n,o,f){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var k,b=0,A=0;if("be"===f)for(h=n.length-1;h>=o;h-=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;else for(h=(n.length-o)%2==0?o+1:o;h<n.length;h+=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;this.strip()},c.prototype._parseBase=function(n,o,f){this.words=[0],this.length=1;for(var h=0,b=1;b<=67108863;b*=o)h++;h--,b=b/o|0;for(var A=n.length-f,k=A%h,x=Math.min(A,A-k)+f,r=0,_=f;_<x;_+=h)r=d(n,_,_+h,o),this.imuln(b),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==k){var W=1;for(r=d(n,_,n.length,o),_=0;_<k;_++)W*=o;this.imuln(W),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},c.prototype.copy=function(n){n.words=new Array(this.length);for(var o=0;o<this.length;o++)n.words[o]=this.words[o];n.length=this.length,n.negative=this.negative,n.red=this.red},c.prototype.clone=function(){var n=new c(null);return this.copy(n),n},c.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var w=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],P=[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 j(D,n,o){o.negative=n.negative^D.negative;var f=D.length+n.length|0;o.length=f,f=f-1|0;var h=0|D.words[0],b=0|n.words[0],A=h*b,x=A/67108864|0;o.words[0]=67108863&A;for(var r=1;r<f;r++){for(var _=x>>>26,W=67108863&x,I=Math.min(r,n.length-1),B=Math.max(0,r-D.length+1);B<=I;B++)_+=(A=(h=0|D.words[r-B|0])*(b=0|n.words[B])+W)/67108864|0,W=67108863&A;o.words[r]=0|W,x=0|_}return 0!==x?o.words[r]=0|x:o.length--,o.strip()}c.prototype.toString=function(n,o){var f;if(o=0|o||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,b=0,A=0;A<this.length;A++){var k=this.words[A],x=(16777215&(k<<h|b)).toString(16);b=k>>>24-h&16777215,(h+=2)>=26&&(h-=26,A--),f=0!==b||A!==this.length-1?w[6-x.length]+x+f:x+f}for(0!==b&&(f=b.toString(16)+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],_=P[n];f="";var W=this.clone();for(W.negative=0;!W.isZero();){var I=W.modn(_).toString(n);f=(W=W.idivn(_)).isZero()?I+f:w[r-I.length]+I+f}for(this.isZero()&&(f="0"+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}p(!1,"Base should be between 2 and 36")},c.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&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof e<"u"),this.toArrayLike(e,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,f){var h=this.byteLength(),b=f||Math.max(1,h);p(h<=b,"byte array longer than desired length"),p(b>0,"Requested array length <= 0"),this.strip();var x,r,A="le"===o,k=new n(b),_=this.clone();if(A){for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[r]=x;for(;r<b;r++)k[r]=0}else{for(r=0;r<b-h;r++)k[r]=0;for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[b-r-1]=x}return k},c.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var o=n,f=0;return o>=4096&&(f+=13,o>>>=13),o>=64&&(f+=7,o>>>=7),o>=8&&(f+=4,o>>>=4),o>=2&&(f+=2,o>>>=2),f+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,f=0;return!(8191&o)&&(f+=13,o>>>=13),!(127&o)&&(f+=7,o>>>=7),!(15&o)&&(f+=4,o>>>=4),!(3&o)&&(f+=2,o>>>=2),!(1&o)&&f++,f},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;o<this.length;o++){var f=this._zeroBits(this.words[o]);if(n+=f,26!==f)break}return n},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},c.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var o=0;o<n.length;o++)this.words[o]=this.words[o]|n.words[o];return this.strip()},c.prototype.ior=function(n){return p(0===(this.negative|n.negative)),this.iuor(n)},c.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var f=0;f<o.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=o.length,this.strip()},c.prototype.iand=function(n){return p(0===(this.negative|n.negative)),this.iuand(n)},c.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,f;this.length>n.length?(o=this,f=n):(o=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=o.words[h]^f.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},c.prototype.ixor=function(n){return p(0===(this.negative|n.negative)),this.iuxor(n)},c.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),f=n%26;this._expand(o),f>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=o?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},c.prototype.iadd=function(n){var o,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,o=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,o=this.isub(n),n.negative=1,o._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var b=0,A=0;A<h.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+(0|h.words[A])+b),b=o>>>26;for(;0!==b&&A<f.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+b),b=o>>>26;if(this.length=f.length,0!==b)this.words[this.length]=b,this.length++;else if(f!==this)for(;A<f.length;A++)this.words[A]=f.words[A];return this},c.prototype.add=function(n){var o;return 0!==n.negative&&0===this.negative?(n.negative=0,o=this.sub(n),n.negative^=1,o):0===n.negative&&0!==this.negative?(this.negative=0,o=n.sub(this),this.negative=1,o):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,b,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,b=n):(h=n,b=this);for(var A=0,k=0;k<b.length;k++)A=(o=(0|h.words[k])-(0|b.words[k])+A)>>26,this.words[k]=67108863&o;for(;0!==A&&k<h.length;k++)A=(o=(0|h.words[k])+A)>>26,this.words[k]=67108863&o;if(0===A&&k<h.length&&h!==this)for(;k<h.length;k++)this.words[k]=h.words[k];return this.length=Math.max(this.length,k),h!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(n){return this.clone().isub(n)};var U=function(n,o,f){var x,r,_,h=n.words,b=o.words,A=f.words,k=0,W=0|h[0],I=8191&W,B=W>>>13,re=0|h[1],pe=8191&re,be=re>>>13,Be=0|h[2],_e=8191&Be,ye=Be>>>13,Le=0|h[3],Ke=8191&Le,ge=Le>>>13,ve=0|h[4],Oe=8191&ve,Ee=ve>>>13,dt=0|h[5],nt=8191&dt,Ct=dt>>>13,Mt=0|h[6],lt=8191&Mt,Pe=Mt>>>13,Ht=0|h[7],ct=8191&Ht,Ce=Ht>>>13,ze=0|h[8],Z=8191&ze,J=ze>>>13,fe=0|h[9],Ie=8191&fe,ht=fe>>>13,li=0|b[0],Qt=8191&li,di=li>>>13,kt=0|b[1],Rt=8191&kt,le=kt>>>13,te=0|b[2],ce=8191&te,se=te>>>13,ke=0|b[3],Ue=8191&ke,Ne=ke>>>13,Kt=0|b[4],yt=8191&Kt,Vt=Kt>>>13,Zt=0|b[5],ti=8191&Zt,Ye=Zt>>>13,Nt=0|b[6],Et=8191&Nt,Jt=Nt>>>13,qe=0|b[7],$e=8191&qe,tt=qe>>>13,vi=0|b[8],ei=8191&vi,ci=vi>>>13,Hi=0|b[9],oi=8191&Hi,ui=Hi>>>13;f.negative=n.negative^o.negative,f.length=19;var ln=(k+(x=Math.imul(I,Qt))|0)+((8191&(r=(r=Math.imul(I,di))+Math.imul(B,Qt)|0))<<13)|0;k=((_=Math.imul(B,di))+(r>>>13)|0)+(ln>>>26)|0,ln&=67108863,x=Math.imul(pe,Qt),r=(r=Math.imul(pe,di))+Math.imul(be,Qt)|0,_=Math.imul(be,di);var nn=(k+(x=x+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,le)|0)+Math.imul(B,Rt)|0))<<13)|0;k=((_=_+Math.imul(B,le)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,x=Math.imul(_e,Qt),r=(r=Math.imul(_e,di))+Math.imul(ye,Qt)|0,_=Math.imul(ye,di),x=x+Math.imul(pe,Rt)|0,r=(r=r+Math.imul(pe,le)|0)+Math.imul(be,Rt)|0,_=_+Math.imul(be,le)|0;var dn=(k+(x=x+Math.imul(I,ce)|0)|0)+((8191&(r=(r=r+Math.imul(I,se)|0)+Math.imul(B,ce)|0))<<13)|0;k=((_=_+Math.imul(B,se)|0)+(r>>>13)|0)+(dn>>>26)|0,dn&=67108863,x=Math.imul(Ke,Qt),r=(r=Math.imul(Ke,di))+Math.imul(ge,Qt)|0,_=Math.imul(ge,di),x=x+Math.imul(_e,Rt)|0,r=(r=r+Math.imul(_e,le)|0)+Math.imul(ye,Rt)|0,_=_+Math.imul(ye,le)|0,x=x+Math.imul(pe,ce)|0,r=(r=r+Math.imul(pe,se)|0)+Math.imul(be,ce)|0,_=_+Math.imul(be,se)|0;var zn=(k+(x=x+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ne)|0)+Math.imul(B,Ue)|0))<<13)|0;k=((_=_+Math.imul(B,Ne)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,x=Math.imul(Oe,Qt),r=(r=Math.imul(Oe,di))+Math.imul(Ee,Qt)|0,_=Math.imul(Ee,di),x=x+Math.imul(Ke,Rt)|0,r=(r=r+Math.imul(Ke,le)|0)+Math.imul(ge,Rt)|0,_=_+Math.imul(ge,le)|0,x=x+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,se)|0)+Math.imul(ye,ce)|0,_=_+Math.imul(ye,se)|0,x=x+Math.imul(pe,Ue)|0,r=(r=r+Math.imul(pe,Ne)|0)+Math.imul(be,Ue)|0,_=_+Math.imul(be,Ne)|0;var It=(k+(x=x+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Vt)|0)+Math.imul(B,yt)|0))<<13)|0;k=((_=_+Math.imul(B,Vt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,x=Math.imul(nt,Qt),r=(r=Math.imul(nt,di))+Math.imul(Ct,Qt)|0,_=Math.imul(Ct,di),x=x+Math.imul(Oe,Rt)|0,r=(r=r+Math.imul(Oe,le)|0)+Math.imul(Ee,Rt)|0,_=_+Math.imul(Ee,le)|0,x=x+Math.imul(Ke,ce)|0,r=(r=r+Math.imul(Ke,se)|0)+Math.imul(ge,ce)|0,_=_+Math.imul(ge,se)|0,x=x+Math.imul(_e,Ue)|0,r=(r=r+Math.imul(_e,Ne)|0)+Math.imul(ye,Ue)|0,_=_+Math.imul(ye,Ne)|0,x=x+Math.imul(pe,yt)|0,r=(r=r+Math.imul(pe,Vt)|0)+Math.imul(be,yt)|0,_=_+Math.imul(be,Vt)|0;var Tt=(k+(x=x+Math.imul(I,ti)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ye)|0)+Math.imul(B,ti)|0))<<13)|0;k=((_=_+Math.imul(B,Ye)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,x=Math.imul(lt,Qt),r=(r=Math.imul(lt,di))+Math.imul(Pe,Qt)|0,_=Math.imul(Pe,di),x=x+Math.imul(nt,Rt)|0,r=(r=r+Math.imul(nt,le)|0)+Math.imul(Ct,Rt)|0,_=_+Math.imul(Ct,le)|0,x=x+Math.imul(Oe,ce)|0,r=(r=r+Math.imul(Oe,se)|0)+Math.imul(Ee,ce)|0,_=_+Math.imul(Ee,se)|0,x=x+Math.imul(Ke,Ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,Ue)|0,_=_+Math.imul(ge,Ne)|0,x=x+Math.imul(_e,yt)|0,r=(r=r+Math.imul(_e,Vt)|0)+Math.imul(ye,yt)|0,_=_+Math.imul(ye,Vt)|0,x=x+Math.imul(pe,ti)|0,r=(r=r+Math.imul(pe,Ye)|0)+Math.imul(be,ti)|0,_=_+Math.imul(be,Ye)|0;var Ze=(k+(x=x+Math.imul(I,Et)|0)|0)+((8191&(r=(r=r+Math.imul(I,Jt)|0)+Math.imul(B,Et)|0))<<13)|0;k=((_=_+Math.imul(B,Jt)|0)+(r>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,x=Math.imul(ct,Qt),r=(r=Math.imul(ct,di))+Math.imul(Ce,Qt)|0,_=Math.imul(Ce,di),x=x+Math.imul(lt,Rt)|0,r=(r=r+Math.imul(lt,le)|0)+Math.imul(Pe,Rt)|0,_=_+Math.imul(Pe,le)|0,x=x+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,se)|0)+Math.imul(Ct,ce)|0,_=_+Math.imul(Ct,se)|0,x=x+Math.imul(Oe,Ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Ee,Ue)|0,_=_+Math.imul(Ee,Ne)|0,x=x+Math.imul(Ke,yt)|0,r=(r=r+Math.imul(Ke,Vt)|0)+Math.imul(ge,yt)|0,_=_+Math.imul(ge,Vt)|0,x=x+Math.imul(_e,ti)|0,r=(r=r+Math.imul(_e,Ye)|0)+Math.imul(ye,ti)|0,_=_+Math.imul(ye,Ye)|0,x=x+Math.imul(pe,Et)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(be,Et)|0,_=_+Math.imul(be,Jt)|0;var Ve=(k+(x=x+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,tt)|0)+Math.imul(B,$e)|0))<<13)|0;k=((_=_+Math.imul(B,tt)|0)+(r>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,x=Math.imul(Z,Qt),r=(r=Math.imul(Z,di))+Math.imul(J,Qt)|0,_=Math.imul(J,di),x=x+Math.imul(ct,Rt)|0,r=(r=r+Math.imul(ct,le)|0)+Math.imul(Ce,Rt)|0,_=_+Math.imul(Ce,le)|0,x=x+Math.imul(lt,ce)|0,r=(r=r+Math.imul(lt,se)|0)+Math.imul(Pe,ce)|0,_=_+Math.imul(Pe,se)|0,x=x+Math.imul(nt,Ue)|0,r=(r=r+Math.imul(nt,Ne)|0)+Math.imul(Ct,Ue)|0,_=_+Math.imul(Ct,Ne)|0,x=x+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,Vt)|0)+Math.imul(Ee,yt)|0,_=_+Math.imul(Ee,Vt)|0,x=x+Math.imul(Ke,ti)|0,r=(r=r+Math.imul(Ke,Ye)|0)+Math.imul(ge,ti)|0,_=_+Math.imul(ge,Ye)|0,x=x+Math.imul(_e,Et)|0,r=(r=r+Math.imul(_e,Jt)|0)+Math.imul(ye,Et)|0,_=_+Math.imul(ye,Jt)|0,x=x+Math.imul(pe,$e)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(be,$e)|0,_=_+Math.imul(be,tt)|0;var Fe=(k+(x=x+Math.imul(I,ei)|0)|0)+((8191&(r=(r=r+Math.imul(I,ci)|0)+Math.imul(B,ei)|0))<<13)|0;k=((_=_+Math.imul(B,ci)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,x=Math.imul(Ie,Qt),r=(r=Math.imul(Ie,di))+Math.imul(ht,Qt)|0,_=Math.imul(ht,di),x=x+Math.imul(Z,Rt)|0,r=(r=r+Math.imul(Z,le)|0)+Math.imul(J,Rt)|0,_=_+Math.imul(J,le)|0,x=x+Math.imul(ct,ce)|0,r=(r=r+Math.imul(ct,se)|0)+Math.imul(Ce,ce)|0,_=_+Math.imul(Ce,se)|0,x=x+Math.imul(lt,Ue)|0,r=(r=r+Math.imul(lt,Ne)|0)+Math.imul(Pe,Ue)|0,_=_+Math.imul(Pe,Ne)|0,x=x+Math.imul(nt,yt)|0,r=(r=r+Math.imul(nt,Vt)|0)+Math.imul(Ct,yt)|0,_=_+Math.imul(Ct,Vt)|0,x=x+Math.imul(Oe,ti)|0,r=(r=r+Math.imul(Oe,Ye)|0)+Math.imul(Ee,ti)|0,_=_+Math.imul(Ee,Ye)|0,x=x+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Jt)|0)+Math.imul(ge,Et)|0,_=_+Math.imul(ge,Jt)|0,x=x+Math.imul(_e,$e)|0,r=(r=r+Math.imul(_e,tt)|0)+Math.imul(ye,$e)|0,_=_+Math.imul(ye,tt)|0,x=x+Math.imul(pe,ei)|0,r=(r=r+Math.imul(pe,ci)|0)+Math.imul(be,ei)|0,_=_+Math.imul(be,ci)|0;var it=(k+(x=x+Math.imul(I,oi)|0)|0)+((8191&(r=(r=r+Math.imul(I,ui)|0)+Math.imul(B,oi)|0))<<13)|0;k=((_=_+Math.imul(B,ui)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,x=Math.imul(Ie,Rt),r=(r=Math.imul(Ie,le))+Math.imul(ht,Rt)|0,_=Math.imul(ht,le),x=x+Math.imul(Z,ce)|0,r=(r=r+Math.imul(Z,se)|0)+Math.imul(J,ce)|0,_=_+Math.imul(J,se)|0,x=x+Math.imul(ct,Ue)|0,r=(r=r+Math.imul(ct,Ne)|0)+Math.imul(Ce,Ue)|0,_=_+Math.imul(Ce,Ne)|0,x=x+Math.imul(lt,yt)|0,r=(r=r+Math.imul(lt,Vt)|0)+Math.imul(Pe,yt)|0,_=_+Math.imul(Pe,Vt)|0,x=x+Math.imul(nt,ti)|0,r=(r=r+Math.imul(nt,Ye)|0)+Math.imul(Ct,ti)|0,_=_+Math.imul(Ct,Ye)|0,x=x+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Jt)|0)+Math.imul(Ee,Et)|0,_=_+Math.imul(Ee,Jt)|0,x=x+Math.imul(Ke,$e)|0,r=(r=r+Math.imul(Ke,tt)|0)+Math.imul(ge,$e)|0,_=_+Math.imul(ge,tt)|0,x=x+Math.imul(_e,ei)|0,r=(r=r+Math.imul(_e,ci)|0)+Math.imul(ye,ei)|0,_=_+Math.imul(ye,ci)|0;var bt=(k+(x=x+Math.imul(pe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(pe,ui)|0)+Math.imul(be,oi)|0))<<13)|0;k=((_=_+Math.imul(be,ui)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863,x=Math.imul(Ie,ce),r=(r=Math.imul(Ie,se))+Math.imul(ht,ce)|0,_=Math.imul(ht,se),x=x+Math.imul(Z,Ue)|0,r=(r=r+Math.imul(Z,Ne)|0)+Math.imul(J,Ue)|0,_=_+Math.imul(J,Ne)|0,x=x+Math.imul(ct,yt)|0,r=(r=r+Math.imul(ct,Vt)|0)+Math.imul(Ce,yt)|0,_=_+Math.imul(Ce,Vt)|0,x=x+Math.imul(lt,ti)|0,r=(r=r+Math.imul(lt,Ye)|0)+Math.imul(Pe,ti)|0,_=_+Math.imul(Pe,Ye)|0,x=x+Math.imul(nt,Et)|0,r=(r=r+Math.imul(nt,Jt)|0)+Math.imul(Ct,Et)|0,_=_+Math.imul(Ct,Jt)|0,x=x+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,tt)|0)+Math.imul(Ee,$e)|0,_=_+Math.imul(Ee,tt)|0,x=x+Math.imul(Ke,ei)|0,r=(r=r+Math.imul(Ke,ci)|0)+Math.imul(ge,ei)|0,_=_+Math.imul(ge,ci)|0;var ut=(k+(x=x+Math.imul(_e,oi)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(ye,oi)|0))<<13)|0;k=((_=_+Math.imul(ye,ui)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,x=Math.imul(Ie,Ue),r=(r=Math.imul(Ie,Ne))+Math.imul(ht,Ue)|0,_=Math.imul(ht,Ne),x=x+Math.imul(Z,yt)|0,r=(r=r+Math.imul(Z,Vt)|0)+Math.imul(J,yt)|0,_=_+Math.imul(J,Vt)|0,x=x+Math.imul(ct,ti)|0,r=(r=r+Math.imul(ct,Ye)|0)+Math.imul(Ce,ti)|0,_=_+Math.imul(Ce,Ye)|0,x=x+Math.imul(lt,Et)|0,r=(r=r+Math.imul(lt,Jt)|0)+Math.imul(Pe,Et)|0,_=_+Math.imul(Pe,Jt)|0,x=x+Math.imul(nt,$e)|0,r=(r=r+Math.imul(nt,tt)|0)+Math.imul(Ct,$e)|0,_=_+Math.imul(Ct,tt)|0,x=x+Math.imul(Oe,ei)|0,r=(r=r+Math.imul(Oe,ci)|0)+Math.imul(Ee,ei)|0,_=_+Math.imul(Ee,ci)|0;var jt=(k+(x=x+Math.imul(Ke,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,ui)|0)+Math.imul(ge,oi)|0))<<13)|0;k=((_=_+Math.imul(ge,ui)|0)+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,x=Math.imul(Ie,yt),r=(r=Math.imul(Ie,Vt))+Math.imul(ht,yt)|0,_=Math.imul(ht,Vt),x=x+Math.imul(Z,ti)|0,r=(r=r+Math.imul(Z,Ye)|0)+Math.imul(J,ti)|0,_=_+Math.imul(J,Ye)|0,x=x+Math.imul(ct,Et)|0,r=(r=r+Math.imul(ct,Jt)|0)+Math.imul(Ce,Et)|0,_=_+Math.imul(Ce,Jt)|0,x=x+Math.imul(lt,$e)|0,r=(r=r+Math.imul(lt,tt)|0)+Math.imul(Pe,$e)|0,_=_+Math.imul(Pe,tt)|0,x=x+Math.imul(nt,ei)|0,r=(r=r+Math.imul(nt,ci)|0)+Math.imul(Ct,ei)|0,_=_+Math.imul(Ct,ci)|0;var ai=(k+(x=x+Math.imul(Oe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,ui)|0)+Math.imul(Ee,oi)|0))<<13)|0;k=((_=_+Math.imul(Ee,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,x=Math.imul(Ie,ti),r=(r=Math.imul(Ie,Ye))+Math.imul(ht,ti)|0,_=Math.imul(ht,Ye),x=x+Math.imul(Z,Et)|0,r=(r=r+Math.imul(Z,Jt)|0)+Math.imul(J,Et)|0,_=_+Math.imul(J,Jt)|0,x=x+Math.imul(ct,$e)|0,r=(r=r+Math.imul(ct,tt)|0)+Math.imul(Ce,$e)|0,_=_+Math.imul(Ce,tt)|0,x=x+Math.imul(lt,ei)|0,r=(r=r+Math.imul(lt,ci)|0)+Math.imul(Pe,ei)|0,_=_+Math.imul(Pe,ci)|0;var pi=(k+(x=x+Math.imul(nt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ct,oi)|0))<<13)|0;k=((_=_+Math.imul(Ct,ui)|0)+(r>>>13)|0)+(pi>>>26)|0,pi&=67108863,x=Math.imul(Ie,Et),r=(r=Math.imul(Ie,Jt))+Math.imul(ht,Et)|0,_=Math.imul(ht,Jt),x=x+Math.imul(Z,$e)|0,r=(r=r+Math.imul(Z,tt)|0)+Math.imul(J,$e)|0,_=_+Math.imul(J,tt)|0,x=x+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,ci)|0)+Math.imul(Ce,ei)|0,_=_+Math.imul(Ce,ci)|0;var ki=(k+(x=x+Math.imul(lt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(lt,ui)|0)+Math.imul(Pe,oi)|0))<<13)|0;k=((_=_+Math.imul(Pe,ui)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,x=Math.imul(Ie,$e),r=(r=Math.imul(Ie,tt))+Math.imul(ht,$e)|0,_=Math.imul(ht,tt),x=x+Math.imul(Z,ei)|0,r=(r=r+Math.imul(Z,ci)|0)+Math.imul(J,ei)|0,_=_+Math.imul(J,ci)|0;var Ki=(k+(x=x+Math.imul(ct,oi)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ce,oi)|0))<<13)|0;k=((_=_+Math.imul(Ce,ui)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,x=Math.imul(Ie,ei),r=(r=Math.imul(Ie,ci))+Math.imul(ht,ei)|0,_=Math.imul(ht,ci);var Ji=(k+(x=x+Math.imul(Z,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Z,ui)|0)+Math.imul(J,oi)|0))<<13)|0;k=((_=_+Math.imul(J,ui)|0)+(r>>>13)|0)+(Ji>>>26)|0,Ji&=67108863;var Dn=(k+(x=Math.imul(Ie,oi))|0)+((8191&(r=(r=Math.imul(Ie,ui))+Math.imul(ht,oi)|0))<<13)|0;return k=((_=Math.imul(ht,ui))+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,A[0]=ln,A[1]=nn,A[2]=dn,A[3]=zn,A[4]=It,A[5]=Tt,A[6]=Ze,A[7]=Ve,A[8]=Fe,A[9]=it,A[10]=bt,A[11]=ut,A[12]=jt,A[13]=ai,A[14]=pi,A[15]=ki,A[16]=Ki,A[17]=Ji,A[18]=Dn,0!==k&&(A[19]=k,f.length++),f};function q(D,n,o){return(new G).mulp(D,n,o)}function G(D,n){this.x=D,this.y=n}Math.imul||(U=j),c.prototype.mulTo=function(n,o){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?U(this,n,o):h<63?j(this,n,o):h<1024?function K(D,n,o){o.negative=n.negative^D.negative,o.length=D.length+n.length;for(var f=0,h=0,b=0;b<o.length-1;b++){var A=h;h=0;for(var k=67108863&f,x=Math.min(b,n.length-1),r=Math.max(0,b-D.length+1);r<=x;r++){var B=(0|D.words[b-r])*(0|n.words[r]),re=67108863&B;k=67108863&(re=re+k|0),h+=(A=(A=A+(B/67108864|0)|0)+(re>>>26)|0)>>>26,A&=67108863}o.words[b]=k,f=A,A=h}return 0!==f?o.words[b]=f:o.length--,o.strip()}(this,n,o):q(this,n,o),f},G.prototype.makeRBT=function(n){for(var o=new Array(n),f=c.prototype._countBits(n)-1,h=0;h<n;h++)o[h]=this.revBin(h,f,n);return o},G.prototype.revBin=function(n,o,f){if(0===n||n===f-1)return n;for(var h=0,b=0;b<o;b++)h|=(1&n)<<o-b-1,n>>=1;return h},G.prototype.permute=function(n,o,f,h,b,A){for(var k=0;k<A;k++)h[k]=o[n[k]],b[k]=f[n[k]]},G.prototype.transform=function(n,o,f,h,b,A){this.permute(A,n,o,f,h,b);for(var k=1;k<b;k<<=1)for(var x=k<<1,r=Math.cos(2*Math.PI/x),_=Math.sin(2*Math.PI/x),W=0;W<b;W+=x)for(var I=r,B=_,re=0;re<k;re++){var pe=f[W+re],be=h[W+re],Be=f[W+re+k],_e=h[W+re+k],ye=I*Be-B*_e;_e=I*_e+B*Be,f[W+re]=pe+(Be=ye),h[W+re]=be+_e,f[W+re+k]=pe-Be,h[W+re+k]=be-_e,re!==x&&(ye=r*I-_*B,B=r*B+_*I,I=ye)}},G.prototype.guessLen13b=function(n,o){var f=1|Math.max(o,n),h=1&f,b=0;for(f=f/2|0;f;f>>>=1)b++;return 1<<b+1+h},G.prototype.conjugate=function(n,o,f){if(!(f<=1))for(var h=0;h<f/2;h++){var b=n[h];n[h]=n[f-h-1],n[f-h-1]=b,b=o[h],o[h]=-o[f-h-1],o[f-h-1]=-b}},G.prototype.normalize13b=function(n,o){for(var f=0,h=0;h<o/2;h++){var b=8192*Math.round(n[2*h+1]/o)+Math.round(n[2*h]/o)+f;n[h]=67108863&b,f=b<67108864?0:b/67108864|0}return n},G.prototype.convert13b=function(n,o,f,h){for(var b=0,A=0;A<o;A++)f[2*A]=8191&(b+=0|n[A]),f[2*A+1]=8191&(b>>>=13),b>>>=13;for(A=2*o;A<h;++A)f[A]=0;p(0===b),p(!(-8192&b))},G.prototype.stub=function(n){for(var o=new Array(n),f=0;f<n;f++)o[f]=0;return o},G.prototype.mulp=function(n,o,f){var h=2*this.guessLen13b(n.length,o.length),b=this.makeRBT(h),A=this.stub(h),k=new Array(h),x=new Array(h),r=new Array(h),_=new Array(h),W=new Array(h),I=new Array(h),B=f.words;B.length=h,this.convert13b(n.words,n.length,k,h),this.convert13b(o.words,o.length,_,h),this.transform(k,A,x,r,h,b),this.transform(_,A,W,I,h,b);for(var re=0;re<h;re++){var pe=x[re]*W[re]-r[re]*I[re];r[re]=x[re]*I[re]+r[re]*W[re],x[re]=pe}return this.conjugate(x,r,h),this.transform(x,r,B,A,h,b),this.conjugate(B,A,h),this.normalize13b(B,h),f.negative=n.negative^o.negative,f.length=n.length+o.length,f.strip()},c.prototype.mul=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),this.mulTo(n,o)},c.prototype.mulf=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),q(this,n,o)},c.prototype.imul=function(n){return this.clone().mulTo(n,this)},c.prototype.imuln=function(n){p("number"==typeof n),p(n<67108864);for(var o=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,b=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=b>>>26,this.words[f]=67108863&b}return 0!==o&&(this.words[f]=o,this.length++),this.length=0===n?1:this.length,this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function M(D){for(var n=new Array(D.bitLength()),o=0;o<n.length;o++){var h=o%26;n[o]=(D.words[o/26|0]&1<<h)>>>h}return n}(n);if(0===o.length)return new c(1);for(var f=this,h=0;h<o.length&&0===o[h];h++,f=f.sqr());if(++h<o.length)for(var b=f.sqr();h<o.length;h++,b=b.sqr())0!==o[h]&&(f=f.mul(b));return f},c.prototype.iushln=function(n){p("number"==typeof n&&n>=0);var b,o=n%26,f=(n-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(b=0;b<this.length;b++){var k=this.words[b]&h;this.words[b]=(0|this.words[b])-k<<o|A,A=k>>>26-o}A&&(this.words[b]=A,this.length++)}if(0!==f){for(b=this.length-1;b>=0;b--)this.words[b+f]=this.words[b];for(b=0;b<f;b++)this.words[b]=0;this.length+=f}return this.strip()},c.prototype.ishln=function(n){return p(0===this.negative),this.iushln(n)},c.prototype.iushrn=function(n,o,f){var h;p("number"==typeof n&&n>=0),h=o?(o-o%26)/26:0;var b=n%26,A=Math.min((n-b)/26,this.length),k=67108863^67108863>>>b<<b,x=f;if(h-=A,h=Math.max(0,h),x){for(var r=0;r<A;r++)x.words[r]=this.words[r];x.length=A}if(0!==A)if(this.length>A)for(this.length-=A,r=0;r<this.length;r++)this.words[r]=this.words[r+A];else this.words[0]=0,this.length=1;var _=0;for(r=this.length-1;r>=0&&(0!==_||r>=h);r--){var W=0|this.words[r];this.words[r]=_<<26-b|W>>>b,_=W&k}return x&&0!==_&&(x.words[x.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,f){return p(0===this.negative),this.iushrn(n,o,f)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return!(this.length<=f||!(this.words[f]&1<<o))},c.prototype.imaskn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==o&&f++,this.length=Math.min(f,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(n){return this.clone().imaskn(n)},c.prototype.iaddn=function(n){return p("number"==typeof n),p(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},c.prototype._iaddn=function(n){this.words[0]+=n;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(n){return this.clone().iaddn(n)},c.prototype.subn=function(n){return this.clone().isubn(n)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(n,o,f){var b;this._expand(n.length+f);var A,k=0;for(b=0;b<n.length;b++){A=(0|this.words[b+f])+k;var x=(0|n.words[b])*o;k=((A-=67108863&x)>>26)-(x/67108864|0),this.words[b+f]=67108863&A}for(;b<this.length-f;b++)k=(A=(0|this.words[b+f])+k)>>26,this.words[b+f]=67108863&A;if(0===k)return this.strip();for(p(-1===k),k=0,b=0;b<this.length;b++)k=(A=-(0|this.words[b])+k)>>26,this.words[b]=67108863&A;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var f,h=this.clone(),b=n,A=0|b.words[b.length-1];0!=(f=26-this._countBits(A))&&(b=b.ushln(f),h.iushln(f),A=0|b.words[b.length-1]);var r,x=h.length-b.length;if("mod"!==o){(r=new c(null)).length=x+1,r.words=new Array(r.length);for(var _=0;_<r.length;_++)r.words[_]=0}var W=h.clone()._ishlnsubmul(b,1,x);0===W.negative&&(h=W,r&&(r.words[x]=1));for(var I=x-1;I>=0;I--){var B=67108864*(0|h.words[b.length+I])+(0|h.words[b.length+I-1]);for(B=Math.min(B/A|0,67108863),h._ishlnsubmul(b,B,I);0!==h.negative;)B--,h.negative=0,h._ishlnsubmul(b,1,I),h.isZero()||(h.negative^=1);r&&(r.words[I]=B)}return r&&r.strip(),h.strip(),"div"!==o&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},c.prototype.divmod=function(n,o,f){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.iadd(n)),{div:h,mod:b}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!==(this.negative&n.negative)?(A=this.neg().divmod(n.neg(),o),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.isub(n)),{div:A.div,mod:b}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var h,b,A},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var f=0!==o.div.negative?o.mod.isub(n):o.mod,h=n.ushrn(1),b=n.andln(1),A=f.cmp(h);return A<0||1===b&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(o*f+(0|this.words[h]))%n;return f},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*o;this.words[f]=h/n|0,o=h%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=new c(0),k=new c(1),x=0;o.isEven()&&f.isEven();)o.iushrn(1),f.iushrn(1),++x;for(var r=f.clone(),_=o.clone();!o.isZero();){for(var W=0,I=1;0===(o.words[0]&I)&&W<26;++W,I<<=1);if(W>0)for(o.iushrn(W);W-- >0;)(h.isOdd()||b.isOdd())&&(h.iadd(r),b.isub(_)),h.iushrn(1),b.iushrn(1);for(var B=0,re=1;0===(f.words[0]&re)&&B<26;++B,re<<=1);if(B>0)for(f.iushrn(B);B-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(r),k.isub(_)),A.iushrn(1),k.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(A),b.isub(k)):(f.isub(o),A.isub(h),k.isub(b))}return{a:A,b:k,gcd:f.iushln(x)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var W,o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=f.clone();o.cmpn(1)>0&&f.cmpn(1)>0;){for(var k=0,x=1;0===(o.words[0]&x)&&k<26;++k,x<<=1);if(k>0)for(o.iushrn(k);k-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var r=0,_=1;0===(f.words[0]&_)&&r<26;++r,_<<=1);if(r>0)for(f.iushrn(r);r-- >0;)b.isOdd()&&b.iadd(A),b.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(b)):(f.isub(o),b.isub(h))}return(W=0===o.cmpn(1)?h:b).cmpn(0)<0&&W.iadd(n),W},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),f=n.clone();o.negative=0,f.negative=0;for(var h=0;o.isEven()&&f.isEven();h++)o.iushrn(1),f.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;f.isEven();)f.iushrn(1);var b=o.cmp(f);if(b<0){var A=o;o=f,f=A}else if(0===b||0===f.cmpn(1))break;o.isub(f)}return f.iushln(h)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,f=(n-o)/26,h=1<<o;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var b=h,A=f;0!==b&&A<this.length;A++){var k=0|this.words[A];b=(k+=b)>>>26,this.words[A]=k&=67108863}return 0!==b&&(this.words[A]=b,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var f,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)f=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},c.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var o=this.ucmp(n);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var o=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],b=0|n.words[f];if(h!==b){h<b?o=-1:h>b&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new me(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var Q={k256:null,p224:null,p192:null,p25519:null};function $(D,n){this.name=D,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function me(D){if("string"==typeof D){var n=c._prime(D);this.m=n.p,this.prime=n}else p(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function Te(D){me.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}$.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},$.prototype.ireduce=function(n){var f,o=n;do{this.split(o,this.tmp),f=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},$.prototype.split=function(n,o){n.iushrn(this.n,0,o)},$.prototype.imulK=function(n){return n.imul(this.k)},S(ae,$),ae.prototype.split=function(n,o){for(var f=4194303,h=Math.min(n.length,9),b=0;b<h;b++)o.words[b]=n.words[b];if(o.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var A=n.words[9];for(o.words[o.length++]=A&f,b=10;b<n.length;b++){var k=0|n.words[b];n.words[b-10]=(k&f)<<4|A>>>22,A=k}n.words[b-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(o+=977*h),o=64*h+(o/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ue,$),S(oe,$),S(he,$),he.prototype.imulK=function(n){for(var o=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+o,b=67108863&h;h>>>=26,n.words[f]=b,o=h}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(Q[n])return Q[n];var o;if("k256"===n)o=new ae;else if("p224"===n)o=new ue;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new he}return Q[n]=o,o},me.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},me.prototype._verify2=function(n,o){p(0===(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},me.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},me.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},me.prototype.add=function(n,o){this._verify2(n,o);var f=n.add(o);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},me.prototype.iadd=function(n,o){this._verify2(n,o);var f=n.iadd(o);return f.cmp(this.m)>=0&&f.isub(this.m),f},me.prototype.sub=function(n,o){this._verify2(n,o);var f=n.sub(o);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},me.prototype.isub=function(n,o){this._verify2(n,o);var f=n.isub(o);return f.cmpn(0)<0&&f.iadd(this.m),f},me.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},me.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},me.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},me.prototype.isqr=function(n){return this.imul(n,n.clone())},me.prototype.sqr=function(n){return this.mul(n,n)},me.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var f=this.m.add(new c(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),b=0;!h.isZero()&&0===h.andln(1);)b++,h.iushrn(1);p(!h.isZero());var A=new c(1).toRed(this),k=A.redNeg(),x=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,x).cmp(k);)r.redIAdd(k);for(var _=this.pow(r,h),W=this.pow(n,h.addn(1).iushrn(1)),I=this.pow(n,h),B=b;0!==I.cmp(A);){for(var re=I,pe=0;0!==re.cmp(A);pe++)re=re.redSqr();p(pe<B);var be=this.pow(_,new c(1).iushln(B-pe-1));W=W.redMul(be),_=be.redSqr(),I=I.redMul(_),B=pe}return W},me.prototype.invm=function(n){var o=n._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},me.prototype.pow=function(n,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return n.clone();var h=new Array(16);h[0]=new c(1).toRed(this),h[1]=n;for(var b=2;b<h.length;b++)h[b]=this.mul(h[b-1],n);var A=h[0],k=0,x=0,r=o.bitLength()%26;for(0===r&&(r=26),b=o.length-1;b>=0;b--){for(var _=o.words[b],W=r-1;W>=0;W--){var I=_>>W&1;A!==h[0]&&(A=this.sqr(A)),0!==I||0!==k?(k<<=1,k|=I,(4===++x||0===b&&0===W)&&(A=this.mul(A,h[k]),x=0,k=0)):x=0}r=26}return A},me.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},me.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new Te(n)},S(Te,me),Te.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},Te.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},Te.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var f=n.mul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ae=l.nmd(Ae),this)},89726:(Ae,ee,l)=>{"use strict";l.d(ee,{g:()=>S});var i=l(2615),t=l(73664);const p={};let S=(()=>{class c{_appId=(0,i.WQX)(t.sZ2);getId(T){return"ng"!==this._appId&&(T+=this._appId),p.hasOwnProperty(T)||(p[T]=0),`${T}${p[T]++}`}static \u0275fac=function(g){return new(g||c)};static \u0275prov=i.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},89999:(Ae,ee,l)=>{"use strict";var i=l(58239),t=Object.prototype.toString,p=Object.prototype.hasOwnProperty;Ae.exports=function(d,w,m){if(!i(w))throw new TypeError("iterator must be a function");var P;arguments.length>=3&&(P=m),function T(g){return"[object Array]"===t.call(g)}(d)?function(d,w,m){for(var P=0,M=d.length;P<M;P++)p.call(d,P)&&(null==m?w(d[P],P,d):w.call(m,d[P],P,d))}(d,w,P):"string"==typeof d?function(d,w,m){for(var P=0,M=d.length;P<M;P++)null==m?w(d.charAt(P),P,d):w.call(m,d.charAt(P),P,d)}(d,w,P):function(d,w,m){for(var P in d)p.call(d,P)&&(null==m?w(d[P],P,d):w.call(m,d[P],P,d))}(d,w,P)}},90013:(Ae,ee,l)=>{"use strict";l.d(ee,{X:()=>g});var i=l(45383),t=l(73664),p=l(43694),S=l(20060),c=l(88834),e=l(25596),T=l(52920);let g=(()=>{var d;class w{constructor(P){this.router=P,this.faTimes=i.GRI}goToHelp(){this.router.navigate(["/help"])}static#e=d=()=>(this.\u0275fac=function(M){return new(M||w)(t.rXU(p.Ix))},this.\u0275cmp=t.VBU({type:w,selectors:[["rtl-not-found"]],standalone:!1,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(M,j){1&M&&(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 j.goToHelp()}),t.EFF(12,"Go To Help"),t.k0s()()()()()()),2&M&&(t.R7$(),t.Y8G("icon",j.faTimes))},dependencies:[S.aY,c.$z,e.RN,e.m2,T.DJ,T.sA,T.UI],encapsulation:2}))}return d(),w})()},90258:(Ae,ee,l)=>{"use strict";var i,t=l(65891),p=l(37640),S=l(1756),c=l(77933),e=l(6613),T=l(58413),g=l(46758),d=l(5286),w=l(70837),m=l(3383),P=l(79039),M=l(14981),j=l(80975),U=l(5337),K=l(4912),q=Function,G=function(ye){try{return q('"use strict"; return ('+ye+").constructor;")()}catch{}},Q=l(83798),$=l(4570),ae=function(){throw new g},ue=Q?function(){try{return ae}catch{try{return Q(arguments,"callee").get}catch{return ae}}}():ae,oe=l(19900)(),he=l(91627),me=l(27203),Te=l(97669),D=l(79477),n=l(59705),o={},f=typeof Uint8Array>"u"||!he?i:he(Uint8Array),h={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?i:ArrayBuffer,"%ArrayIteratorPrototype%":oe&&he?he([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":o,"%AsyncGenerator%":o,"%AsyncGeneratorFunction%":o,"%AsyncIteratorPrototype%":o,"%Atomics%":typeof Atomics>"u"?i:Atomics,"%BigInt%":typeof BigInt>"u"?i:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?i:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":p,"%eval%":eval,"%EvalError%":S,"%Float16Array%":typeof Float16Array>"u"?i:Float16Array,"%Float32Array%":typeof Float32Array>"u"?i:Float32Array,"%Float64Array%":typeof Float64Array>"u"?i:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?i:FinalizationRegistry,"%Function%":q,"%GeneratorFunction%":o,"%Int8Array%":typeof Int8Array>"u"?i:Int8Array,"%Int16Array%":typeof Int16Array>"u"?i:Int16Array,"%Int32Array%":typeof Int32Array>"u"?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":oe&&he?he(he([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":typeof Map>"u"?i:Map,"%MapIteratorPrototype%":typeof Map>"u"||!oe||!he?i:he((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":Q,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?i:Promise,"%Proxy%":typeof Proxy>"u"?i:Proxy,"%RangeError%":c,"%ReferenceError%":e,"%Reflect%":typeof Reflect>"u"?i:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?i:Set,"%SetIteratorPrototype%":typeof Set>"u"||!oe||!he?i:he((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":oe&&he?he(""[Symbol.iterator]()):i,"%Symbol%":oe?Symbol:i,"%SyntaxError%":T,"%ThrowTypeError%":ue,"%TypedArray%":f,"%TypeError%":g,"%Uint8Array%":typeof Uint8Array>"u"?i:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?i:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?i:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?i:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?i:WeakMap,"%WeakRef%":typeof WeakRef>"u"?i:WeakRef,"%WeakSet%":typeof WeakSet>"u"?i:WeakSet,"%Function.prototype.call%":n,"%Function.prototype.apply%":D,"%Object.defineProperty%":$,"%Object.getPrototypeOf%":me,"%Math.abs%":w,"%Math.floor%":m,"%Math.max%":P,"%Math.min%":M,"%Math.pow%":j,"%Math.round%":U,"%Math.sign%":K,"%Reflect.getPrototypeOf%":Te};if(he)try{null.error}catch(ye){var b=he(he(ye));h["%Error.prototype%"]=b}var A=function ye(Le){var Ke;if("%AsyncFunction%"===Le)Ke=G("async function () {}");else if("%GeneratorFunction%"===Le)Ke=G("function* () {}");else if("%AsyncGeneratorFunction%"===Le)Ke=G("async function* () {}");else if("%AsyncGenerator%"===Le){var ge=ye("%AsyncGeneratorFunction%");ge&&(Ke=ge.prototype)}else if("%AsyncIteratorPrototype%"===Le){var ve=ye("%AsyncGenerator%");ve&&he&&(Ke=he(ve.prototype))}return h[Le]=Ke,Ke},k={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=l(65992),r=l(78368),_=x.call(n,Array.prototype.concat),W=x.call(D,Array.prototype.splice),I=x.call(n,String.prototype.replace),B=x.call(n,String.prototype.slice),re=x.call(n,RegExp.prototype.exec),pe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,be=/\\(\\)?/g,_e=function(Le,Ke){var ve,ge=Le;if(r(k,ge)&&(ge="%"+(ve=k[ge])[0]+"%"),r(h,ge)){var Oe=h[ge];if(Oe===o&&(Oe=A(ge)),typeof Oe>"u"&&!Ke)throw new g("intrinsic "+Le+" exists, but is not available. Please file an issue!");return{alias:ve,name:ge,value:Oe}}throw new T("intrinsic "+Le+" does not exist!")};Ae.exports=function(Le,Ke){if("string"!=typeof Le||0===Le.length)throw new g("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof Ke)throw new g('"allowMissing" argument must be a boolean');if(null===re(/^%?[^%]*%?$/,Le))throw new T("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ge=function(Le){var Ke=B(Le,0,1),ge=B(Le,-1);if("%"===Ke&&"%"!==ge)throw new T("invalid intrinsic syntax, expected closing `%`");if("%"===ge&&"%"!==Ke)throw new T("invalid intrinsic syntax, expected opening `%`");var ve=[];return I(Le,pe,function(Oe,Ee,dt,nt){ve[ve.length]=dt?I(nt,be,"$1"):Ee||Oe}),ve}(Le),ve=ge.length>0?ge[0]:"",Oe=_e("%"+ve+"%",Ke),Ee=Oe.name,dt=Oe.value,nt=!1,Ct=Oe.alias;Ct&&(ve=Ct[0],W(ge,_([0,1],Ct)));for(var Mt=1,lt=!0;Mt<ge.length;Mt+=1){var Pe=ge[Mt],Ht=B(Pe,0,1),ct=B(Pe,-1);if(('"'===Ht||"'"===Ht||"`"===Ht||'"'===ct||"'"===ct||"`"===ct)&&Ht!==ct)throw new T("property names with quotes must have matching quotes");if(("constructor"===Pe||!lt)&&(nt=!0),r(h,Ee="%"+(ve+="."+Pe)+"%"))dt=h[Ee];else if(null!=dt){if(!(Pe in dt)){if(!Ke)throw new g("base intrinsic for "+Le+" exists, but the property is not available.");return}if(Q&&Mt+1>=ge.length){var Ce=Q(dt,Pe);dt=(lt=!!Ce)&&"get"in Ce&&!("originalValue"in Ce.get)?Ce.get:dt[Pe]}else lt=r(dt,Pe),dt=dt[Pe];lt&&!nt&&(h[Ee]=dt)}}return dt}},90509:(Ae,ee,l)=>{"use strict";var i=l(71993),t=l(27054).Buffer,p=l(3247),S=t.alloc(128),c=64;function e(T,g){p.call(this,"digest"),"string"==typeof g&&(g=t.from(g)),this._alg=T,this._key=g,g.length>c?g=T(g):g.length<c&&(g=t.concat([g,S],c));for(var d=this._ipad=t.allocUnsafe(c),w=this._opad=t.allocUnsafe(c),m=0;m<c;m++)d[m]=54^g[m],w[m]=92^g[m];this._hash=[d]}i(e,p),e.prototype._update=function(T){this._hash.push(T)},e.prototype._final=function(){var T=this._alg(t.concat(this._hash));return this._alg(t.concat([this._opad,T]))},Ae.exports=e},90518:(Ae,ee,l)=>{"use strict";var i=ee;i.version=l(1636).rE,i.utils=l(3136),i.rand=l(35294),i.curve=l(8729),i.curves=l(23401),i.ec=l(29042),i.eddsa=l(83045)},90882:(Ae,ee,l)=>{"use strict";l.d(ee,{El:()=>be,LG:()=>Be,US:()=>_e,vg:()=>ye});var i=l(76838),t=l(17094),p=l(61577),S=l(14085),c=l(67847),e=l(10438),T=l(67336),g=l(39842),d=l(5718),w=l(2615),m=l(73664),P=l(17705),M=l(21413),j=l(33726),U=l(57786),K=l(70152),q=l(5964),G=l(96354),Q=l(73703),$=l(99172),ae=l(96697),ue=l(56977),oe=l(31804),he=l(22466);const me=["*"],Te=["content"],D=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],n=["mat-drawer","mat-drawer-content","*"];function o(Ke,ge){if(1&Ke){const ve=m.RV6();m.j41(0,"div",1),m.bIt("click",function(){w.eBV(ve);const Ee=m.XpG();return w.Njj(Ee._onBackdropClicked())}),m.k0s()}if(2&Ke){const ve=m.XpG();m.AVh("mat-drawer-shown",ve._isShowingBackdrop())}}function f(Ke,ge){1&Ke&&(m.j41(0,"mat-drawer-content"),m.SdG(1,2),m.k0s())}const h=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],b=["mat-sidenav","mat-sidenav-content","*"];function A(Ke,ge){if(1&Ke){const ve=m.RV6();m.j41(0,"div",1),m.bIt("click",function(){w.eBV(ve);const Ee=m.XpG();return w.Njj(Ee._onBackdropClicked())}),m.k0s()}if(2&Ke){const ve=m.XpG();m.AVh("mat-drawer-shown",ve._isShowingBackdrop())}}function k(Ke,ge){1&Ke&&(m.j41(0,"mat-sidenav-content"),m.SdG(1,2),m.k0s())}const _=new w.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function I(){return!1}}),W=new w.nKC("MAT_DRAWER_CONTAINER");let B=(()=>{class Ke extends d.uv{_platform=(0,w.WQX)(g.O);_changeDetectorRef=(0,w.WQX)(P.gRc);_container=(0,w.WQX)(pe);constructor(){super((0,w.WQX)(m.aKT),(0,w.WQX)(d.R),(0,w.WQX)(m.SKi))}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;const{start:ve,end:Oe}=this._container;return null!=ve&&"over"!==ve.mode&&ve.opened||null!=Oe&&"over"!==Oe.mode&&Oe.opened}static \u0275fac=function(Oe){return new(Oe||Ke)};static \u0275cmp=m.VBU({type:Ke,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(Oe,Ee){2&Oe&&(m.xc7("margin-left",Ee._container._contentMargins.left,"px")("margin-right",Ee._container._contentMargins.right,"px"),m.AVh("mat-drawer-content-hidden",Ee._shouldBeHidden()))},features:[m.Jv_([{provide:d.uv,useExisting:Ke}]),m.Vt3],ngContentSelectors:me,decls:1,vars:0,template:function(Oe,Ee){1&Oe&&(m.NAR(),m.SdG(0))},encapsulation:2,changeDetection:0})}return Ke})(),re=(()=>{class Ke{_elementRef=(0,w.WQX)(m.aKT);_focusTrapFactory=(0,w.WQX)(t.GX);_focusMonitor=(0,w.WQX)(i.FN);_platform=(0,w.WQX)(g.O);_ngZone=(0,w.WQX)(m.SKi);_renderer=(0,w.WQX)(m.sFG);_interactivityChecker=(0,w.WQX)(t.Z7);_doc=(0,w.WQX)(w.qQL);_container=(0,w.WQX)(W,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached;_anchor;get position(){return this._position}set position(ve){(ve="end"===ve?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ve),this._position=ve,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(ve){this._mode=ve,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(ve){this._disableClose=(0,S.he)(ve)}_disableClose=!1;get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(ve){("true"===ve||"false"===ve||null==ve)&&(ve=(0,S.he)(ve)),this._autoFocus=ve}_autoFocus;get opened(){return this._opened()}set opened(ve){this.toggle((0,S.he)(ve))}_opened=(0,w.vPA)(!1);_openedVia;_animationStarted=new M.B;_animationEnd=new M.B;openedChange=new m.bkB(!0);_openedStream=this.openedChange.pipe((0,q.p)(ve=>ve),(0,G.T)(()=>{}));openedStart=this._animationStarted.pipe((0,q.p)(()=>this.opened),(0,Q.u)(void 0));_closedStream=this.openedChange.pipe((0,q.p)(ve=>!ve),(0,G.T)(()=>{}));closedStart=this._animationStarted.pipe((0,q.p)(()=>!this.opened),(0,Q.u)(void 0));_destroyed=new M.B;onPositionChanged=new m.bkB;_content;_modeChanged=new M.B;_injector=(0,w.WQX)(w.zZn);_changeDetectorRef=(0,w.WQX)(P.gRc);constructor(){this.openedChange.pipe((0,ue.Q)(this._destroyed)).subscribe(ve=>{ve?(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement,this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{const ve=this._elementRef.nativeElement;(0,j.R)(ve,"keydown").pipe((0,q.p)(Oe=>Oe.keyCode===e._f&&!this.disableClose&&!(0,T.rp)(Oe)),(0,ue.Q)(this._destroyed)).subscribe(Oe=>this._ngZone.run(()=>{this.close(),Oe.stopPropagation(),Oe.preventDefault()})),this._eventCleanups=[this._renderer.listen(ve,"transitionrun",this._handleTransitionEvent),this._renderer.listen(ve,"transitionend",this._handleTransitionEvent),this._renderer.listen(ve,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this.opened)})}_forceFocus(ve,Oe){this._interactivityChecker.isFocusable(ve)||(ve.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ee=()=>{dt(),nt(),ve.removeAttribute("tabindex")},dt=this._renderer.listen(ve,"blur",Ee),nt=this._renderer.listen(ve,"mousedown",Ee)})),ve.focus(Oe)}_focusByCssSelector(ve,Oe){let Ee=this._elementRef.nativeElement.querySelector(ve);Ee&&this._forceFocus(Ee,Oe)}_takeFocus(){if(!this._focusTrap)return;const ve=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":(0,m.mal)(()=>{!this._focusTrap.focusInitialElement()&&"function"==typeof ve.focus&&ve.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ve){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ve):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ve=this._doc.activeElement;return!!ve&&this._elementRef.nativeElement.contains(ve)}ngAfterViewInit(){this._isAttached=!0,"end"===this._position&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(ve=>ve()),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(ve){return this.toggle(!0,ve)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ve=!this.opened,Oe){ve&&Oe&&(this._openedVia=Oe);const Ee=this._setOpen(ve,!ve&&this._isFocusWithinDrawer(),this._openedVia||"program");return ve||(this._openedVia=null),Ee}_setOpen(ve,Oe,Ee){return ve===this.opened?Promise.resolve(ve?"open":"close"):(this._opened.set(ve),this._container?._transitionsEnabled?this._setIsAnimating(!0):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",ve),!ve&&Oe&&this._restoreFocus(Ee),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(dt=>{this.openedChange.pipe((0,ae.s)(1)).subscribe(nt=>dt(nt?"open":"close"))}))}_setIsAnimating(ve){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",ve)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(ve){if(!this._platform.isBrowser)return;const Oe=this._elementRef.nativeElement,Ee=Oe.parentNode;"end"===ve?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Ee.insertBefore(this._anchor,Oe)),Ee.appendChild(Oe)):this._anchor&&this._anchor.parentNode.insertBefore(Oe,this._anchor)}_handleTransitionEvent=ve=>{ve.target===this._elementRef.nativeElement&&this._ngZone.run(()=>{"transitionrun"===ve.type?this._animationStarted.next(ve):("transitionend"===ve.type&&this._setIsAnimating(!1),this._animationEnd.next(ve))})};static \u0275fac=function(Oe){return new(Oe||Ke)};static \u0275cmp=m.VBU({type:Ke,selectors:[["mat-drawer"]],viewQuery:function(Oe,Ee){if(1&Oe&&m.GBs(Te,5),2&Oe){let dt;m.mGM(dt=m.lsd())&&(Ee._content=dt.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(Oe,Ee){2&Oe&&(m.BMQ("align",null)("tabIndex","side"!==Ee.mode?"-1":null),m.xc7("visibility",Ee._container||Ee.opened?null:"hidden"),m.AVh("mat-drawer-end","end"===Ee.position)("mat-drawer-over","over"===Ee.mode)("mat-drawer-push","push"===Ee.mode)("mat-drawer-side","side"===Ee.mode))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:me,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Oe,Ee){1&Oe&&(m.NAR(),m.j41(0,"div",1,0),m.SdG(2),m.k0s())},dependencies:[d.uv],encapsulation:2,changeDetection:0})}return Ke})(),pe=(()=>{class Ke{_dir=(0,w.WQX)(p.dS,{optional:!0});_element=(0,w.WQX)(m.aKT);_ngZone=(0,w.WQX)(m.SKi);_changeDetectorRef=(0,w.WQX)(P.gRc);_animationDisabled=(0,oe.Rc)();_transitionsEnabled=!1;_allDrawers;_drawers=new m.rOR;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ve){this._autosize=(0,S.he)(ve)}_autosize=(0,w.WQX)(_);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(ve){this._backdropOverride=null==ve?null:(0,S.he)(ve)}_backdropOverride;backdropClick=new m.bkB;_start;_end;_left;_right;_destroyed=new M.B;_doCheckSubject=new M.B;_contentMargins={left:null,right:null};_contentMarginChanges=new M.B;get scrollable(){return this._userContent||this._content}_injector=(0,w.WQX)(w.zZn);constructor(){const ve=(0,w.WQX)(g.O),Oe=(0,w.WQX)(d.Xj);this._dir?.change.pipe((0,ue.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Oe.change().pipe((0,ue.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),!this._animationDisabled&&ve.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe((0,$.Z)(this._allDrawers),(0,ue.Q)(this._destroyed)).subscribe(ve=>{this._drawers.reset(ve.filter(Oe=>!Oe._container||Oe._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,$.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ve=>{this._watchDrawerToggle(ve),this._watchDrawerPosition(ve),this._watchDrawerMode(ve)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,K.B)(10),(0,ue.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(ve=>ve.open())}close(){this._drawers.forEach(ve=>ve.close())}updateContentMargins(){let ve=0,Oe=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ve+=this._left._getWidth();else if("push"==this._left.mode){const Ee=this._left._getWidth();ve+=Ee,Oe-=Ee}if(this._right&&this._right.opened)if("side"==this._right.mode)Oe+=this._right._getWidth();else if("push"==this._right.mode){const Ee=this._right._getWidth();Oe+=Ee,ve-=Ee}ve=ve||null,Oe=Oe||null,(ve!==this._contentMargins.left||Oe!==this._contentMargins.right)&&(this._contentMargins={left:ve,right:Oe},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ve){ve._animationStarted.pipe((0,ue.Q)(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ve.mode&&ve.openedChange.pipe((0,ue.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ve.opened))}_watchDrawerPosition(ve){ve.onPositionChanged.pipe((0,ue.Q)(this._drawers.changes)).subscribe(()=>{(0,m.mal)({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(ve){ve._modeChanged.pipe((0,ue.Q)((0,U.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ve){const Oe=this._element.nativeElement.classList,Ee="mat-drawer-container-has-open";ve?Oe.add(Ee):Oe.remove(Ee)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ve=>{"end"==ve.position?this._end=ve:this._start=ve}),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(ve=>ve&&!ve.disableClose&&this._drawerHasBackdrop(ve)).forEach(ve=>ve._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(ve){return null!=ve&&ve.opened}_drawerHasBackdrop(ve){return null==this._backdropOverride?!!ve&&"side"!==ve.mode:this._backdropOverride}static \u0275fac=function(Oe){return new(Oe||Ke)};static \u0275cmp=m.VBU({type:Ke,selectors:[["mat-drawer-container"]],contentQueries:function(Oe,Ee,dt){if(1&Oe&&(m.wni(dt,B,5),m.wni(dt,re,5)),2&Oe){let nt;m.mGM(nt=m.lsd())&&(Ee._content=nt.first),m.mGM(nt=m.lsd())&&(Ee._allDrawers=nt)}},viewQuery:function(Oe,Ee){if(1&Oe&&m.GBs(B,5),2&Oe){let dt;m.mGM(dt=m.lsd())&&(Ee._userContent=dt.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(Oe,Ee){2&Oe&&m.AVh("mat-drawer-container-explicit-backdrop",Ee._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[m.Jv_([{provide:W,useExisting:Ke}])],ngContentSelectors:n,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Oe,Ee){1&Oe&&(m.NAR(D),m.nVh(0,o,1,2,"div",0),m.SdG(1),m.SdG(2,1),m.nVh(3,f,2,0,"mat-drawer-content")),2&Oe&&(m.vxM(Ee.hasBackdrop?0:-1),m.R7$(3),m.vxM(Ee._content?-1:3))},dependencies:[B],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;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, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.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}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.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, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);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)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.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, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));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, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);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, transparent);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, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0})}return Ke})(),be=(()=>{class Ke extends B{static \u0275fac=(()=>{let ve;return function(Ee){return(ve||(ve=m.xGo(Ke)))(Ee||Ke)}})();static \u0275cmp=m.VBU({type:Ke,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[m.Jv_([{provide:d.uv,useExisting:Ke}]),m.Vt3],ngContentSelectors:me,decls:1,vars:0,template:function(Oe,Ee){1&Oe&&(m.NAR(),m.SdG(0))},encapsulation:2,changeDetection:0})}return Ke})(),Be=(()=>{class Ke extends re{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(ve){this._fixedInViewport=(0,S.he)(ve)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(ve){this._fixedTopGap=(0,c.OE)(ve)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(ve){this._fixedBottomGap=(0,c.OE)(ve)}_fixedBottomGap=0;static \u0275fac=(()=>{let ve;return function(Ee){return(ve||(ve=m.xGo(Ke)))(Ee||Ke)}})();static \u0275cmp=m.VBU({type:Ke,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(Oe,Ee){2&Oe&&(m.BMQ("tabIndex","side"!==Ee.mode?"-1":null)("align",null),m.xc7("top",Ee.fixedInViewport?Ee.fixedTopGap:null,"px")("bottom",Ee.fixedInViewport?Ee.fixedBottomGap:null,"px"),m.AVh("mat-drawer-end","end"===Ee.position)("mat-drawer-over","over"===Ee.mode)("mat-drawer-push","push"===Ee.mode)("mat-drawer-side","side"===Ee.mode)("mat-sidenav-fixed",Ee.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[m.Jv_([{provide:re,useExisting:Ke}]),m.Vt3],ngContentSelectors:me,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(Oe,Ee){1&Oe&&(m.NAR(),m.j41(0,"div",1,0),m.SdG(2),m.k0s())},dependencies:[d.uv],encapsulation:2,changeDetection:0})}return Ke})(),_e=(()=>{class Ke extends pe{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let ve;return function(Ee){return(ve||(ve=m.xGo(Ke)))(Ee||Ke)}})();static \u0275cmp=m.VBU({type:Ke,selectors:[["mat-sidenav-container"]],contentQueries:function(Oe,Ee,dt){if(1&Oe&&(m.wni(dt,be,5),m.wni(dt,Be,5)),2&Oe){let nt;m.mGM(nt=m.lsd())&&(Ee._content=nt.first),m.mGM(nt=m.lsd())&&(Ee._allDrawers=nt)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(Oe,Ee){2&Oe&&m.AVh("mat-drawer-container-explicit-backdrop",Ee._backdropOverride)},exportAs:["matSidenavContainer"],features:[m.Jv_([{provide:W,useExisting:Ke},{provide:pe,useExisting:Ke}]),m.Vt3],ngContentSelectors:b,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Oe,Ee){1&Oe&&(m.NAR(h),m.nVh(0,A,1,2,"div",0),m.SdG(1),m.SdG(2,1),m.nVh(3,k,2,0,"mat-sidenav-content")),2&Oe&&(m.vxM(Ee.hasBackdrop?0:-1),m.R7$(3),m.vxM(Ee._content?-1:3))},dependencies:[be],styles:[".mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;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, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.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}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}.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, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);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)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.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, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));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, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);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, transparent);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, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0})}return Ke})(),ye=(()=>{class Ke{static \u0275fac=function(Oe){return new(Oe||Ke)};static \u0275mod=m.$C({type:Ke});static \u0275inj=w.G2t({imports:[he.y,d.Gj,d.Gj,he.y]})}return Ke})()},91252:(Ae,ee,l)=>{const i=l(19089),t=l(23677),p=l(47424),S=l(91677),c=l(80377),T=i.getBCHDigit(7973);function d(P,M){return S.getCharCountIndicator(P,M)+4}function w(P,M){let j=0;return P.forEach(function(U){const K=d(U.mode,M);j+=K+U.getBitsLength()}),j}ee.from=function(M,j){return c.isValid(M)?parseInt(M,10):j},ee.getCapacity=function(M,j,U){if(!c.isValid(M))throw new Error("Invalid QR Code version");typeof U>"u"&&(U=S.BYTE);const G=8*(i.getSymbolTotalCodewords(M)-t.getTotalCodewordsCount(M,j));if(U===S.MIXED)return G;const Q=G-d(U,M);switch(U){case S.NUMERIC:return Math.floor(Q/10*3);case S.ALPHANUMERIC:return Math.floor(Q/11*2);case S.KANJI:return Math.floor(Q/13);default:return Math.floor(Q/8)}},ee.getBestVersionForData=function(M,j){let U;const K=p.from(j,p.M);if(Array.isArray(M)){if(M.length>1)return function m(P,M){for(let j=1;j<=40;j++)if(w(P,j)<=ee.getCapacity(j,M,S.MIXED))return j}(M,K);if(0===M.length)return 1;U=M[0]}else U=M;return function g(P,M,j){for(let U=1;U<=40;U++)if(M<=ee.getCapacity(U,j,P))return U}(U.mode,U.getLength(),K)},ee.getEncodedBits=function(M){if(!c.isValid(M)||M<7)throw new Error("Invalid QR Code version");let j=M<<12;for(;i.getBCHDigit(j)-T>=0;)j^=7973<<i.getBCHDigit(j)-T;return M<<12|j}},91426:(Ae,ee,l)=>{"use strict";ee.randomBytes=ee.rng=ee.pseudoRandomBytes=ee.prng=l(3342),ee.createHash=ee.Hash=l(67211),ee.createHmac=ee.Hmac=l(56432);var i=l(99560),t=Object.keys(i),p=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(t);ee.getHashes=function(){return p};var S=l(93397);ee.pbkdf2=S.pbkdf2,ee.pbkdf2Sync=S.pbkdf2Sync;var c=l(88862);ee.Cipher=c.Cipher,ee.createCipher=c.createCipher,ee.Cipheriv=c.Cipheriv,ee.createCipheriv=c.createCipheriv,ee.Decipher=c.Decipher,ee.createDecipher=c.createDecipher,ee.Decipheriv=c.Decipheriv,ee.createDecipheriv=c.createDecipheriv,ee.getCiphers=c.getCiphers,ee.listCiphers=c.listCiphers;var e=l(4377);ee.DiffieHellmanGroup=e.DiffieHellmanGroup,ee.createDiffieHellmanGroup=e.createDiffieHellmanGroup,ee.getDiffieHellman=e.getDiffieHellman,ee.createDiffieHellman=e.createDiffieHellman,ee.DiffieHellman=e.DiffieHellman;var T=l(79143);ee.createSign=T.createSign,ee.Sign=T.Sign,ee.createVerify=T.createVerify,ee.Verify=T.Verify,ee.createECDH=l(87303);var g=l(52965);ee.publicEncrypt=g.publicEncrypt,ee.privateEncrypt=g.privateEncrypt,ee.publicDecrypt=g.publicDecrypt,ee.privateDecrypt=g.privateDecrypt;var d=l(9682);ee.randomFill=d.randomFill,ee.randomFillSync=d.randomFillSync,ee.createCredentials=function(){throw new Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/browserify/crypto-browserify")},ee.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},91558:(Ae,ee,l)=>{var i=ee;i.der=l(55941),i.pem=l(59316)},91627:(Ae,ee,l)=>{"use strict";var i=l(97669),t=l(27203),p=l(63361);Ae.exports=i?function(c){return i(c)}:t?function(c){if(!c||"object"!=typeof c&&"function"!=typeof c)throw new TypeError("getProto: not an object");return t(c)}:p?function(c){return p(c)}:null},91677:(Ae,ee,l)=>{const i=l(80377),t=l(99359);ee.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},ee.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},ee.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},ee.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},ee.MIXED={bit:-1},ee.getCharCountIndicator=function(c,e){if(!c.ccBits)throw new Error("Invalid mode: "+c);if(!i.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?c.ccBits[0]:e<27?c.ccBits[1]:c.ccBits[2]},ee.getBestModeForData=function(c){return t.testNumeric(c)?ee.NUMERIC:t.testAlphanumeric(c)?ee.ALPHANUMERIC:t.testKanji(c)?ee.KANJI:ee.BYTE},ee.toString=function(c){if(c&&c.id)return c.id;throw new Error("Invalid mode")},ee.isValid=function(c){return c&&c.bit&&c.ccBits},ee.from=function(c,e){if(ee.isValid(c))return c;try{return function p(S){if("string"!=typeof S)throw new Error("Param is not a string");switch(S.toLowerCase()){case"numeric":return ee.NUMERIC;case"alphanumeric":return ee.ALPHANUMERIC;case"kanji":return ee.KANJI;case"byte":return ee.BYTE;default:throw new Error("Unknown mode: "+S)}}(c)}catch{return e}}},91821:(Ae,ee,l)=>{var i=l(12375),t=l(27054).Buffer,p=l(3247);function c(e,T,g,d){p.call(this),this._cipher=new i.AES(T),this._prev=t.from(g),this._cache=t.allocUnsafe(0),this._secCache=t.allocUnsafe(0),this._decrypt=d,this._mode=e}l(71993)(c,p),c.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},c.prototype._final=function(){this._cipher.scrub()},Ae.exports=c},92736:(Ae,ee,l)=>{"use strict";var i=l(4570),t=l(58413),p=l(46758),S=l(83798);Ae.exports=function(e,T,g){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new p("`obj` must be an object or a function`");if("string"!=typeof T&&"symbol"!=typeof T)throw new p("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new p("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new p("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new p("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new p("`loose`, if provided, must be a boolean");var d=arguments.length>3?arguments[3]:null,w=arguments.length>4?arguments[4]:null,m=arguments.length>5?arguments[5]:null,P=arguments.length>6&&arguments[6],M=!!S&&S(e,T);if(i)i(e,T,{configurable:null===m&&M?M.configurable:!m,enumerable:null===d&&M?M.enumerable:!d,value:g,writable:null===w&&M?M.writable:!w});else{if(!P&&(d||w||m))throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[T]=g}}},92771:(Ae,ee,l)=>{"use strict";l.d(ee,{m:()=>p});var i=l(21413),t=l(86129);class p extends i.B{constructor(c=1/0,e=1/0,T=t.U){super(),this._bufferSize=c,this._windowTime=e,this._timestampProvider=T,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,c),this._windowTime=Math.max(1,e)}next(c){const{isStopped:e,_buffer:T,_infiniteTimeWindow:g,_timestampProvider:d,_windowTime:w}=this;e||(T.push(c),!g&&T.push(d.now()+w)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(c),{_infiniteTimeWindow:T,_buffer:g}=this,d=g.slice();for(let w=0;w<d.length&&!c.closed;w+=T?1:2)c.next(d[w]);return this._checkFinalizedStatuses(c),e}_trimBuffer(){const{_bufferSize:c,_timestampProvider:e,_buffer:T,_infiniteTimeWindow:g}=this,d=(g?1:2)*c;if(c<1/0&&d<T.length&&T.splice(0,T.length-d),!g){const w=e.now();let m=0;for(let P=1;P<T.length&&T[P]<=w;P+=2)m=P;m&&T.splice(0,m+1)}}}},93073:(Ae,ee,l)=>{"use strict";l.d(ee,{D:()=>c});const{isArray:i}=Array,{getPrototypeOf:t,prototype:p,keys:S}=Object;function c(T){if(1===T.length){const g=T[0];if(i(g))return{args:g,keys:null};if(function e(T){return T&&"object"==typeof T&&t(T)===p}(g)){const d=S(g);return{args:d.map(w=>g[w]),keys:d}}}return{args:T,keys:null}}},93393:(Ae,ee,l)=>{"use strict";l.d(ee,{CI:()=>M,EU:()=>T,Hl:()=>S,Q5:()=>e,jd:()=>c,mE:()=>D});var i=l(2615),t=l(57303),p=l(73664);class S{_doc;constructor(r){this._doc=r}manager}let c=(()=>{class x extends S{constructor(_){super(_)}supports(_){return!0}addEventListener(_,W,I,B){return _.addEventListener(W,I,B),()=>this.removeEventListener(_,W,I,B)}removeEventListener(_,W,I,B){return _.removeEventListener(W,I,B)}static \u0275fac=function(W){return new(W||x)(i.KVO(i.qQL))};static \u0275prov=i.jDH({token:x,factory:x.\u0275fac})}return x})();const e=new i.nKC("");let T=(()=>{class x{_zone;_plugins;_eventNameToPlugin=new Map;constructor(_,W){this._zone=W,_.forEach(re=>{re.manager=this});const I=_.filter(re=>!(re instanceof c));this._plugins=I.slice().reverse();const B=_.find(re=>re instanceof c);B&&this._plugins.push(B)}addEventListener(_,W,I,B){return this._findPluginFor(W).addEventListener(_,W,I,B)}getZone(){return this._zone}_findPluginFor(_){let W=this._eventNameToPlugin.get(_);if(W)return W;if(W=this._plugins.find(B=>B.supports(_)),!W)throw new i.buA(5101,!1);return this._eventNameToPlugin.set(_,W),W}static \u0275fac=function(W){return new(W||x)(i.KVO(e),i.KVO(p.SKi))};static \u0275prov=i.jDH({token:x,factory:x.\u0275fac})}return x})();const g="ng-app-id";function d(x){for(const r of x)r.remove()}function w(x,r){const _=r.createElement("style");return _.textContent=x,_}function P(x,r){const _=r.createElement("link");return _.setAttribute("rel","stylesheet"),_.setAttribute("href",x),_}let M=(()=>{class x{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(_,W,I,B={}){this.doc=_,this.appId=W,this.nonce=I,function m(x,r,_,W){const I=x.head?.querySelectorAll(`style[${g}="${r}"],link[${g}="${r}"]`);if(I)for(const B of I)B.removeAttribute(g),B instanceof HTMLLinkElement?W.set(B.href.slice(B.href.lastIndexOf("/")+1),{usage:0,elements:[B]}):B.textContent&&_.set(B.textContent,{usage:0,elements:[B]})}(_,W,this.inline,this.external),this.hosts.add(_.head)}addStyles(_,W){for(const I of _)this.addUsage(I,this.inline,w);W?.forEach(I=>this.addUsage(I,this.external,P))}removeStyles(_,W){for(const I of _)this.removeUsage(I,this.inline);W?.forEach(I=>this.removeUsage(I,this.external))}addUsage(_,W,I){const B=W.get(_);B?B.usage++:W.set(_,{usage:1,elements:[...this.hosts].map(re=>this.addElement(re,I(_,this.doc)))})}removeUsage(_,W){const I=W.get(_);I&&(I.usage--,I.usage<=0&&(d(I.elements),W.delete(_)))}ngOnDestroy(){for(const[,{elements:_}]of[...this.inline,...this.external])d(_);this.hosts.clear()}addHost(_){this.hosts.add(_);for(const[W,{elements:I}]of this.inline)I.push(this.addElement(_,w(W,this.doc)));for(const[W,{elements:I}]of this.external)I.push(this.addElement(_,P(W,this.doc)))}removeHost(_){this.hosts.delete(_)}addElement(_,W){return this.nonce&&W.setAttribute("nonce",this.nonce),_.appendChild(W)}static \u0275fac=function(W){return new(W||x)(i.KVO(i.qQL),i.KVO(p.sZ2),i.KVO(p.BIS,8),i.KVO(p.Agw))};static \u0275prov=i.jDH({token:x,factory:x.\u0275fac})}return x})();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"},U=/%COMP%/g,G="%COMP%",Q=`_nghost-${G}`,$=`_ngcontent-${G}`,ue=new i.nKC("",{providedIn:"root",factory:()=>!0});function me(x,r){return r.map(_=>_.replace(U,x))}let D=(()=>{class x{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(_,W,I,B,re,pe,be=null,Be=null){this.eventManager=_,this.sharedStylesHost=W,this.appId=I,this.removeStylesOnCompDestroy=B,this.doc=re,this.ngZone=pe,this.nonce=be,this.tracingService=Be,this.platformIsServer=!1,this.defaultRenderer=new n(_,re,pe,this.platformIsServer,this.tracingService)}createRenderer(_,W){if(!_||!W)return this.defaultRenderer;const I=this.getOrCreateRenderer(_,W);return I instanceof k?I.applyToHost(_):I instanceof A&&I.applyStyles(),I}getOrCreateRenderer(_,W){const I=this.rendererByCompId;let B=I.get(W.id);if(!B){const re=this.doc,pe=this.ngZone,be=this.eventManager,Be=this.sharedStylesHost,_e=this.removeStylesOnCompDestroy,ye=this.platformIsServer,Le=this.tracingService;switch(W.encapsulation){case p.gXe.Emulated:B=new k(be,Be,W,this.appId,_e,re,pe,ye,Le);break;case p.gXe.ShadowDom:return new b(be,Be,_,W,re,pe,this.nonce,ye,Le);default:B=new A(be,Be,W,_e,re,pe,ye,Le)}I.set(W.id,B)}return B}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(_){this.rendererByCompId.delete(_)}static \u0275fac=function(W){return new(W||x)(i.KVO(T),i.KVO(M),i.KVO(p.sZ2),i.KVO(ue),i.KVO(i.qQL),i.KVO(p.SKi),i.KVO(p.BIS),i.KVO(p.a8H,8))};static \u0275prov=i.jDH({token:x,factory:x.\u0275fac})}return x})();class n{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,_,W,I,B){this.eventManager=r,this.doc=_,this.ngZone=W,this.platformIsServer=I,this.tracingService=B}destroy(){}destroyNode=null;createElement(r,_){return _?this.doc.createElementNS(j[_]||_,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,_){(h(r)?r.content:r).appendChild(_)}insertBefore(r,_,W){r&&(h(r)?r.content:r).insertBefore(_,W)}removeChild(r,_){_.remove()}selectRootElement(r,_){let W="string"==typeof r?this.doc.querySelector(r):r;if(!W)throw new i.buA(-5104,!1);return _||(W.textContent=""),W}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,_,W,I){if(I){_=I+":"+_;const B=j[I];B?r.setAttributeNS(B,_,W):r.setAttribute(_,W)}else r.setAttribute(_,W)}removeAttribute(r,_,W){if(W){const I=j[W];I?r.removeAttributeNS(I,_):r.removeAttribute(`${W}:${_}`)}else r.removeAttribute(_)}addClass(r,_){r.classList.add(_)}removeClass(r,_){r.classList.remove(_)}setStyle(r,_,W,I){I&(p.czy.DashCase|p.czy.Important)?r.style.setProperty(_,W,I&p.czy.Important?"important":""):r.style[_]=W}removeStyle(r,_,W){W&p.czy.DashCase?r.style.removeProperty(_):r.style[_]=""}setProperty(r,_,W){null!=r&&(r[_]=W)}setValue(r,_){r.nodeValue=_}listen(r,_,W,I){if("string"==typeof r&&!(r=(0,t.rb)().getGlobalEventTarget(this.doc,r)))throw new i.buA(5102,!1);let B=this.decoratePreventDefault(W);return this.tracingService?.wrapEventListener&&(B=this.tracingService.wrapEventListener(r,_,B)),this.eventManager.addEventListener(r,_,B,I)}decoratePreventDefault(r){return _=>{if("__ngUnwrap__"===_)return r;!1===r(_)&&_.preventDefault()}}}function h(x){return"TEMPLATE"===x.tagName&&void 0!==x.content}class b extends n{sharedStylesHost;hostEl;shadowRoot;constructor(r,_,W,I,B,re,pe,be,Be){super(r,B,re,be,Be),this.sharedStylesHost=_,this.hostEl=W,this.shadowRoot=W.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let _e=I.styles;_e=me(I.id,_e);for(const Le of _e){const Ke=document.createElement("style");pe&&Ke.setAttribute("nonce",pe),Ke.textContent=Le,this.shadowRoot.appendChild(Ke)}const ye=I.getExternalStyles?.();if(ye)for(const Le of ye){const Ke=P(Le,B);pe&&Ke.setAttribute("nonce",pe),this.shadowRoot.appendChild(Ke)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,_){return super.appendChild(this.nodeOrShadowRoot(r),_)}insertBefore(r,_,W){return super.insertBefore(this.nodeOrShadowRoot(r),_,W)}removeChild(r,_){return super.removeChild(null,_)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class A extends n{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,_,W,I,B,re,pe,be,Be){super(r,B,re,pe,be),this.sharedStylesHost=_,this.removeStylesOnCompDestroy=I;let _e=W.styles;this.styles=Be?me(Be,_e):_e,this.styleUrls=W.getExternalStyles?.(Be)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===p.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class k extends A{contentAttr;hostAttr;constructor(r,_,W,I,B,re,pe,be,Be){const _e=I+"-"+W.id;super(r,_,W,B,re,pe,be,Be,_e),this.contentAttr=function oe(x){return $.replace(U,x)}(_e),this.hostAttr=function he(x){return Q.replace(U,x)}(_e)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,_){const W=super.createElement(r,_);return super.setAttribute(W,this.contentAttr,""),W}}},93397:(Ae,ee,l)=>{"use strict";ee.pbkdf2=l(82685),ee.pbkdf2Sync=l(59111)},93774:(Ae,ee,l)=>{"use strict";l.d(ee,{v:()=>S});var i=l(9350),t=l(39974),p=l(54360);function S(e=c){return(0,t.N)((T,g)=>{let d=!1;T.subscribe((0,p._)(g,w=>{d=!0,g.next(w)},()=>d?g.complete():g.error(e())))})}function c(){return new i.G}},93898:(Ae,ee,l)=>{"use strict";var i=l(68283),t=l(10827);function p(){if(!(this instanceof p))return new p;t.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}i.inherits(p,t),Ae.exports=p,p.blockSize=1024,p.outSize=384,p.hmacStrength=192,p.padLength=128,p.prototype._digest=function(c){return"hex"===c?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},94478:(Ae,ee,l)=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});var i=l(97840),t=l(15526),p=l(60426);const S=new p.HOTP({createDigest:i.createDigest}),c=new p.TOTP({createDigest:i.createDigest}),e=new p.Authenticator({createDigest:i.createDigest,createRandomBytes:i.createRandomBytes,keyDecoder:t.keyDecoder,keyEncoder:t.keyEncoder});ee.authenticator=e,ee.hotp=S,ee.totp=c},94593:(Ae,ee,l)=>{var i=l(38280),p=new(l(53459)),S=new i(24),c=new i(11),e=new i(10),T=new i(3),g=new i(7),d=l(12727),w=l(3342);function m(q,G){return G=G||"utf8",Buffer.isBuffer(q)||(q=new Buffer(q,G)),this._pub=new i(q),this}function P(q,G){return G=G||"utf8",Buffer.isBuffer(q)||(q=new Buffer(q,G)),this._priv=new i(q),this}Ae.exports=U;var M={};function U(q,G,Q){this.setGenerator(G),this.__prime=new i(q),this._prime=i.mont(this.__prime),this._primeLen=q.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,Q?(this.setPublicKey=m,this.setPrivateKey=P):this._primeCode=8}function K(q,G){var Q=new Buffer(q.toArray());return G?Q.toString(G):Q}Object.defineProperty(U.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function j(q,G){var Q=G.toString("hex"),$=[Q,q.toString(16)].join("_");if($ in M)return M[$];var ue,ae=0;if(q.isEven()||!d.simpleSieve||!d.fermatTest(q)||!p.test(q))return ae+=1,M[$]=ae+="02"===Q||"05"===Q?8:4,ae;switch(p.test(q.shrn(1))||(ae+=2),Q){case"02":q.mod(S).cmp(c)&&(ae+=8);break;case"05":(ue=q.mod(e)).cmp(T)&&ue.cmp(g)&&(ae+=8);break;default:ae+=4}return M[$]=ae,ae}(this.__prime,this.__gen)),this._primeCode}}),U.prototype.generateKeys=function(){return this._priv||(this._priv=new i(w(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},U.prototype.computeSecret=function(q){var G=(q=(q=new i(q)).toRed(this._prime)).redPow(this._priv).fromRed(),Q=new Buffer(G.toArray()),$=this.getPrime();if(Q.length<$.length){var ae=new Buffer($.length-Q.length);ae.fill(0),Q=Buffer.concat([ae,Q])}return Q},U.prototype.getPublicKey=function(G){return K(this._pub,G)},U.prototype.getPrivateKey=function(G){return K(this._priv,G)},U.prototype.getPrime=function(q){return K(this.__prime,q)},U.prototype.getGenerator=function(q){return K(this._gen,q)},U.prototype.setGenerator=function(q,G){return G=G||"utf8",Buffer.isBuffer(q)||(q=new Buffer(q,G)),this.__gen=q,this._gen=new i(q),this}},94772:(Ae,ee,l)=>{"use strict";var i=l(49609),t=i.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),p=i.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),S=i.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),c=i.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(S),this.key("subjectPublicKey").bitstr())}),e=i.define("RelativeDistinguishedName",function(){this.setof(p)}),T=i.define("RDNSequence",function(){this.seqof(e)}),g=i.define("Name",function(){this.choice({rdnSequence:this.use(T)})}),d=i.define("Validity",function(){this.seq().obj(this.key("notBefore").use(t),this.key("notAfter").use(t))}),w=i.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),m=i.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(S),this.key("issuer").use(g),this.key("validity").use(d),this.key("subject").use(g),this.key("subjectPublicKeyInfo").use(c),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(w).optional())}),P=i.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(m),this.key("signatureAlgorithm").use(S),this.key("signatureValue").bitstr())});Ae.exports=P},95416:(Ae,ee,l)=>{"use strict";l.d(ee,{UG:()=>A,_T:()=>x,x6:()=>b});var i=l(2615),t=l(73664),p=l(17705),S=l(21413),c=l(7673),e=l(88834),T=l(17094),g=l(89726),d=l(39842),w=l(76939),m=l(31804),P=l(34330),M=l(99327),j=l(49338),U=l(56977),K=l(22466);function q(_,W){if(1&_){const I=t.RV6();t.j41(0,"div",1)(1,"button",2),t.bIt("click",function(){i.eBV(I);const re=t.XpG();return i.Njj(re.action())}),t.EFF(2),t.k0s()()}if(2&_){const I=t.XpG();t.R7$(2),t.SpI(" ",I.data.action," ")}}const G=["label"];function Q(_,W){}const $=Math.pow(2,31)-1;class ae{_overlayRef;instance;containerInstance;_afterDismissed=new S.B;_afterOpened=new S.B;_onAction=new S.B;_durationTimeoutId;_dismissedByAction=!1;constructor(W,I){this._overlayRef=I,this.containerInstance=W,W._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(W){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(W,$))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const ue=new i.nKC("MatSnackBarData");class oe{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"}let he=(()=>{class _{static \u0275fac=function(B){return new(B||_)};static \u0275dir=t.FsC({type:_,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return _})(),me=(()=>{class _{static \u0275fac=function(B){return new(B||_)};static \u0275dir=t.FsC({type:_,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return _})(),Te=(()=>{class _{static \u0275fac=function(B){return new(B||_)};static \u0275dir=t.FsC({type:_,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return _})(),D=(()=>{class _{snackBarRef=(0,i.WQX)(ae);data=(0,i.WQX)(ue);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(B){return new(B||_)};static \u0275cmp=t.VBU({type:_,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(B,re){1&B&&(t.j41(0,"div",0),t.EFF(1),t.k0s(),t.nVh(2,q,3,1,"div",1)),2&B&&(t.R7$(),t.SpI(" ",re.data.message,"\n"),t.R7$(),t.vxM(re.hasAction?2:-1))},dependencies:[e.$z,he,me,Te],styles:[".mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}\n"],encapsulation:2,changeDetection:0})}return _})();const n="_mat-snack-bar-enter",o="_mat-snack-bar-exit";let f=(()=>{class _ extends w.lb{_ngZone=(0,i.WQX)(t.SKi);_elementRef=(0,i.WQX)(t.aKT);_changeDetectorRef=(0,i.WQX)(p.gRc);_platform=(0,i.WQX)(d.O);_animationsDisabled=(0,m.Rc)();snackBarConfig=(0,i.WQX)(oe);_document=(0,i.WQX)(i.qQL);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=(0,i.WQX)(i.zZn);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new S.B;_onExit=new S.B;_onEnter=new S.B;_animationState="void";_live;_label;_role;_liveElementId=(0,i.WQX)(g.g).getId("mat-snack-bar-container-live-");constructor(){super();const I=this.snackBarConfig;this._live="assertive"!==I.politeness||I.announcementMessage?"off"===I.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(I){this._assertNotAttached();const B=this._portalOutlet.attachComponentPortal(I);return this._afterPortalAttached(),B}attachTemplatePortal(I){this._assertNotAttached();const B=this._portalOutlet.attachTemplatePortal(I);return this._afterPortalAttached(),B}attachDomPortal=I=>{this._assertNotAttached();const B=this._portalOutlet.attachDomPortal(I);return this._afterPortalAttached(),B};onAnimationEnd(I){I===o?this._completeExit():I===n&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?(0,t.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(n)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(n)},200)))}exit(){return this._destroyed?(0,c.of)(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?(0,t.mal)(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(o)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(o),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const I=this._elementRef.nativeElement,B=this.snackBarConfig.panelClass;B&&(Array.isArray(B)?B.forEach(be=>I.classList.add(be)):I.classList.add(B)),this._exposeToModals();const re=this._label.nativeElement,pe="mdc-snackbar__label";re.classList.toggle(pe,!re.querySelector(`.${pe}`))}_exposeToModals(){const I=this._liveElementId,B=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let re=0;re<B.length;re++){const pe=B[re],be=pe.getAttribute("aria-owns");this._trackedModals.add(pe),be?-1===be.indexOf(I)&&pe.setAttribute("aria-owns",be+" "+I):pe.setAttribute("aria-owns",I)}}_clearFromModals(){this._trackedModals.forEach(I=>{const B=I.getAttribute("aria-owns");if(B){const re=B.replace(this._liveElementId,"").trim();re.length>0?I.setAttribute("aria-owns",re):I.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;const I=this._elementRef.nativeElement,B=I.querySelector("[aria-hidden]"),re=I.querySelector("[aria-live]");if(B&&re){let pe=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&B.contains(document.activeElement)&&(pe=document.activeElement),B.removeAttribute("aria-hidden"),re.appendChild(B),pe?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(B){return new(B||_)};static \u0275cmp=t.VBU({type:_,selectors:[["mat-snack-bar-container"]],viewQuery:function(B,re){if(1&B&&(t.GBs(w.I3,7),t.GBs(G,7)),2&B){let pe;t.mGM(pe=t.lsd())&&(re._portalOutlet=pe.first),t.mGM(pe=t.lsd())&&(re._label=pe.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(B,re){1&B&&t.bIt("animationend",function(be){return re.onAnimationEnd(be.animationName)})("animationcancel",function(be){return re.onAnimationEnd(be.animationName)}),2&B&&t.AVh("mat-snack-bar-container-enter","visible"===re._animationState)("mat-snack-bar-container-exit","hidden"===re._animationState)("mat-snack-bar-container-animations-enabled",!re._animationsDisabled)},features:[t.Vt3],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(B,re){1&B&&(t.j41(0,"div",1)(1,"div",2,0)(3,"div",3),t.DNE(4,Q,0,0,"ng-template",4),t.k0s(),t.nrm(5,"div"),t.k0s()()),2&B&&(t.R7$(5),t.BMQ("aria-live",re._live)("role",re._role)("id",re._liveElementId))},dependencies:[w.I3],styles:["@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-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);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}\n"],encapsulation:2})}return _})();const b=new i.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function h(){return new oe}});let A=(()=>{class _{_live=(0,i.WQX)(T.Ai);_injector=(0,i.WQX)(i.zZn);_breakpointObserver=(0,i.WQX)(P.Q);_parentSnackBar=(0,i.WQX)(_,{optional:!0,skipSelf:!0});_defaultConfig=(0,i.WQX)(b);_animationsDisabled=(0,m.Rc)();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=D;snackBarContainerComponent=f;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){const I=this._parentSnackBar;return I?I._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(I){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=I:this._snackBarRefAtThisLevel=I}constructor(){}openFromComponent(I,B){return this._attach(I,B)}openFromTemplate(I,B){return this._attach(I,B)}open(I,B="",re){const pe={...this._defaultConfig,...re};return pe.data={message:I,action:B},pe.announcementMessage===I&&(pe.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,pe)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(I,B){const pe=i.zZn.create({parent:B&&B.viewContainerRef&&B.viewContainerRef.injector||this._injector,providers:[{provide:oe,useValue:B}]}),be=new w.A8(this.snackBarContainerComponent,B.viewContainerRef,pe),Be=I.attach(be);return Be.instance.snackBarConfig=B,Be.instance}_attach(I,B){const re={...new oe,...this._defaultConfig,...B},pe=this._createOverlay(re),be=this._attachSnackBarContainer(pe,re),Be=new ae(be,pe);if(I instanceof t.C4Q){const _e=new w.VA(I,null,{$implicit:re.data,snackBarRef:Be});Be.instance=be.attachTemplatePortal(_e)}else{const _e=this._createInjector(re,Be),ye=new w.A8(I,void 0,_e),Le=be.attachComponentPortal(ye);Be.instance=Le.instance}return this._breakpointObserver.observe(M.Rp.HandsetPortrait).pipe((0,U.Q)(pe.detachments())).subscribe(_e=>{pe.overlayElement.classList.toggle(this.handsetCssClass,_e.matches)}),re.announcementMessage&&be._onAnnounce.subscribe(()=>{this._live.announce(re.announcementMessage,re.politeness)}),this._animateSnackBar(Be,re),this._openedSnackBarRef=Be,this._openedSnackBarRef}_animateSnackBar(I,B){I.afterDismissed().subscribe(()=>{this._openedSnackBarRef==I&&(this._openedSnackBarRef=null),B.announcementMessage&&this._live.clear()}),B.duration&&B.duration>0&&I.afterOpened().subscribe(()=>I._dismissAfter(B.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{I.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):I.containerInstance.enter()}_createOverlay(I){const B=new j.rR;B.direction=I.direction;const re=(0,j.uA)(this._injector),pe="rtl"===I.direction,be="left"===I.horizontalPosition||"start"===I.horizontalPosition&&!pe||"end"===I.horizontalPosition&&pe,Be=!be&&"center"!==I.horizontalPosition;return be?re.left("0"):Be?re.right("0"):re.centerHorizontally(),"top"===I.verticalPosition?re.top("0"):re.bottom("0"),B.positionStrategy=re,B.disableAnimations=this._animationsDisabled,(0,j.Y$)(this._injector,B)}_createInjector(I,B){return i.zZn.create({parent:I&&I.viewContainerRef&&I.viewContainerRef.injector||this._injector,providers:[{provide:ae,useValue:B},{provide:ue,useValue:I.data}]})}static \u0275fac=function(B){return new(B||_)};static \u0275prov=i.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})(),x=(()=>{class _{static \u0275fac=function(B){return new(B||_)};static \u0275mod=t.$C({type:_});static \u0275inj=i.G2t({providers:[A],imports:[j.z_,w.jc,e.Hl,K.y,D,K.y]})}return _})()},95428:(Ae,ee,l)=>{"use strict";l.d(ee,{$6:()=>Be,$Q:()=>P,As:()=>B,CK:()=>A,Do:()=>be,Dq:()=>Le,Fd:()=>_,Gy:()=>$,Hh:()=>S,Hm:()=>r,I6:()=>U,Jx:()=>ye,Lc:()=>me,Lz:()=>re,N4:()=>W,N8:()=>G,NS:()=>e,Qj:()=>ae,Sn:()=>T,T4:()=>x,Tp:()=>M,Uj:()=>k,Uo:()=>m,XT:()=>D,Xx:()=>q,Yi:()=>ge,ZE:()=>Q,Zi:()=>Te,cR:()=>b,cU:()=>j,fy:()=>f,gZ:()=>Oe,iO:()=>_e,jJ:()=>K,lg:()=>c,mh:()=>I,sq:()=>ue,uL:()=>p,vL:()=>o,w0:()=>h,x1:()=>d,yn:()=>Ee,yp:()=>w,zR:()=>g,zU:()=>Ke});var i=l(59640),t=l(4416);const p=(0,i.VP)(t.Uu.UPDATE_API_CALL_STATUS_ECL,(0,i.xk)()),S=(0,i.VP)(t.Uu.RESET_ECL_STORE),c=(0,i.VP)(t.Uu.FETCH_PAGE_SETTINGS_ECL),e=(0,i.VP)(t.Uu.SET_PAGE_SETTINGS_ECL,(0,i.xk)()),T=(0,i.VP)(t.Uu.SAVE_PAGE_SETTINGS_ECL,(0,i.xk)()),g=(0,i.VP)(t.Uu.FETCH_INFO_ECL,(0,i.xk)()),d=(0,i.VP)(t.Uu.SET_INFO_ECL,(0,i.xk)()),w=(0,i.VP)(t.Uu.FETCH_FEES_ECL),m=(0,i.VP)(t.Uu.SET_FEES_ECL,(0,i.xk)()),P=(0,i.VP)(t.Uu.FETCH_CHANNELS_ECL),M=(0,i.VP)(t.Uu.SET_ACTIVE_CHANNELS_ECL,(0,i.xk)()),j=(0,i.VP)(t.Uu.SET_PENDING_CHANNELS_ECL,(0,i.xk)()),U=(0,i.VP)(t.Uu.SET_INACTIVE_CHANNELS_ECL,(0,i.xk)()),K=(0,i.VP)(t.Uu.FETCH_ONCHAIN_BALANCE_ECL),q=(0,i.VP)(t.Uu.SET_ONCHAIN_BALANCE_ECL,(0,i.xk)()),G=(0,i.VP)(t.Uu.SET_LIGHTNING_BALANCE_ECL,(0,i.xk)()),Q=(0,i.VP)(t.Uu.SET_CHANNELS_STATUS_ECL,(0,i.xk)()),$=(0,i.VP)(t.Uu.FETCH_PEERS_ECL),ae=(0,i.VP)(t.Uu.SET_PEERS_ECL,(0,i.xk)()),ue=(0,i.VP)(t.Uu.SAVE_NEW_PEER_ECL,(0,i.xk)()),me=((0,i.VP)(t.Uu.NEWLY_ADDED_PEER_ECL,(0,i.xk)()),(0,i.VP)(t.Uu.ADD_PEER_ECL,(0,i.xk)()),(0,i.VP)(t.Uu.DETACH_PEER_ECL,(0,i.xk)())),Te=(0,i.VP)(t.Uu.REMOVE_PEER_ECL,(0,i.xk)()),D=(0,i.VP)(t.Uu.GET_NEW_ADDRESS_ECL),o=((0,i.VP)(t.Uu.SET_NEW_ADDRESS_ECL,(0,i.xk)()),(0,i.VP)(t.Uu.SAVE_NEW_CHANNEL_ECL,(0,i.xk)())),f=(0,i.VP)(t.Uu.UPDATE_CHANNEL_ECL,(0,i.xk)()),h=(0,i.VP)(t.Uu.CLOSE_CHANNEL_ECL,(0,i.xk)()),b=(0,i.VP)(t.Uu.REMOVE_CHANNEL_ECL,(0,i.xk)()),A=(0,i.VP)(t.Uu.FETCH_PAYMENTS_ECL,(0,i.xk)()),k=(0,i.VP)(t.Uu.SET_PAYMENTS_ECL,(0,i.xk)()),x=(0,i.VP)(t.Uu.GET_QUERY_ROUTES_ECL,(0,i.xk)()),r=(0,i.VP)(t.Uu.SET_QUERY_ROUTES_ECL,(0,i.xk)()),_=(0,i.VP)(t.Uu.SEND_PAYMENT_ECL,(0,i.xk)()),W=(0,i.VP)(t.Uu.SEND_PAYMENT_STATUS_ECL,(0,i.xk)()),I=(0,i.VP)(t.Uu.FETCH_TRANSACTIONS_ECL,(0,i.xk)()),B=(0,i.VP)(t.Uu.SET_TRANSACTIONS_ECL,(0,i.xk)()),re=(0,i.VP)(t.Uu.SEND_ONCHAIN_FUNDS_ECL,(0,i.xk)()),be=((0,i.VP)(t.Uu.SEND_ONCHAIN_FUNDS_RES_ECL,(0,i.xk)()),(0,i.VP)(t.Uu.FETCH_INVOICES_ECL,(0,i.xk)())),Be=(0,i.VP)(t.Uu.SET_INVOICES_ECL,(0,i.xk)()),_e=(0,i.VP)(t.Uu.CREATE_INVOICE_ECL,(0,i.xk)()),ye=(0,i.VP)(t.Uu.ADD_INVOICE_ECL,(0,i.xk)()),Le=(0,i.VP)(t.Uu.UPDATE_INVOICE_ECL,(0,i.xk)()),Ke=(0,i.VP)(t.Uu.PEER_LOOKUP_ECL,(0,i.xk)()),ge=(0,i.VP)(t.Uu.INVOICE_LOOKUP_ECL,(0,i.xk)()),Oe=((0,i.VP)(t.Uu.SET_LOOKUP_ECL,(0,i.xk)()),(0,i.VP)(t.Uu.UPDATE_CHANNEL_STATE_ECL,(0,i.xk)())),Ee=(0,i.VP)(t.Uu.UPDATE_RELAYED_PAYMENT_ECL,(0,i.xk)())},95542:(Ae,ee,l)=>{"use strict";var t=l(68283).rotr32;function S(m,P,M){return m&P^~m&M}function c(m,P,M){return m&P^m&M^P&M}function e(m,P,M){return m^P^M}ee.ft_1=function p(m,P,M,j){return 0===m?S(P,M,j):1===m||3===m?e(P,M,j):2===m?c(P,M,j):void 0},ee.ch32=S,ee.maj32=c,ee.p32=e,ee.s0_256=function T(m){return t(m,2)^t(m,13)^t(m,22)},ee.s1_256=function g(m){return t(m,6)^t(m,11)^t(m,25)},ee.g0_256=function d(m){return t(m,7)^t(m,18)^m>>>3},ee.g1_256=function w(m){return t(m,17)^t(m,19)^m>>>10}},95725:Ae=>{Ae.exports=function ee(l){for(var t,i=l.length;i--;){if(255!==(t=l.readUInt8(i))){t++,l.writeUInt8(t,i);break}l.writeUInt8(0,i)}}},95731:(Ae,ee,l)=>{"use strict";var i=l(65992),t=l(79477),p=l(59705),S=l(52910);Ae.exports=S||i.call(p,t)},95735:(Ae,ee,l)=>{"use strict";function i(p){return 0===p.buttons||0===p.detail}function t(p){const S=p.touches&&p.touches[0]||p.changedTouches&&p.changedTouches[0];return!(!S||-1!==S.identifier||null!=S.radiusX&&1!==S.radiusX||null!=S.radiusY&&1!==S.radiusY)}l.d(ee,{_:()=>i,w:()=>t})},96183:(Ae,ee,l)=>{"use strict";l.d(ee,{$2:()=>Ee,JO:()=>Le,VO:()=>Oe,Ve:()=>dt});var i=l(49338),t=l(2615),p=l(73664),S=l(17705),c=l(5718),e=l(17094),T=l(89726),g=l(18617),d=l(99090),w=l(61577),m=l(83869),P=l(10438),M=l(67336),j=l(89417),U=l(21413),K=l(59030),q=l(57786),G=l(5964),Q=l(96354),$=l(99172),ae=l(25558),ue=l(96697),oe=l(56977),he=l(72200),me=l(69588),Te=l(31804),D=l(23029),n=l(2709),o=l(39336),f=l(40146),h=l(22466),b=l(71228);const A=["trigger"],k=["panel"],x=[[["mat-select-trigger"]],"*"],r=["mat-select-trigger","*"];function _(nt,Ct){if(1&nt&&(p.j41(0,"span",4),p.EFF(1),p.k0s()),2&nt){const Mt=p.XpG();p.R7$(),p.JRh(Mt.placeholder)}}function W(nt,Ct){1&nt&&p.SdG(0)}function I(nt,Ct){if(1&nt&&(p.j41(0,"span",11),p.EFF(1),p.k0s()),2&nt){const Mt=p.XpG(2);p.R7$(),p.JRh(Mt.triggerValue)}}function B(nt,Ct){if(1&nt&&(p.j41(0,"span",5),p.nVh(1,W,1,0)(2,I,2,1,"span",11),p.k0s()),2&nt){const Mt=p.XpG();p.R7$(),p.vxM(Mt.customTrigger?1:2)}}function re(nt,Ct){if(1&nt){const Mt=p.RV6();p.j41(0,"div",12,1),p.bIt("keydown",function(Pe){t.eBV(Mt);const Ht=p.XpG();return t.Njj(Ht._handleKeydown(Pe))}),p.SdG(2,1),p.k0s()}if(2&nt){const Mt=p.XpG();p.HbH(p.VkB("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Mt._getPanelTheme())),p.AVh("mat-select-panel-animations-enabled",!Mt._animationsDisabled),p.Y8G("ngClass",Mt.panelClass),p.BMQ("id",Mt.id+"-panel")("aria-multiselectable",Mt.multiple)("aria-label",Mt.ariaLabel||null)("aria-labelledby",Mt._getPanelAriaLabelledby())}}const _e=new t.nKC("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const nt=(0,t.WQX)(t.zZn);return()=>(0,i.RH)(nt)}}),Le=new t.nKC("MAT_SELECT_CONFIG"),Ke={provide:_e,deps:[],useFactory:function ye(nt){const Ct=(0,t.WQX)(t.zZn);return()=>(0,i.RH)(Ct)}},ge=new t.nKC("MatSelectTrigger");class ve{source;value;constructor(Ct,Mt){this.source=Ct,this.value=Mt}}let Oe=(()=>{class nt{_viewportRuler=(0,t.WQX)(c.Xj);_changeDetectorRef=(0,t.WQX)(S.gRc);_elementRef=(0,t.WQX)(p.aKT);_dir=(0,t.WQX)(w.dS,{optional:!0});_idGenerator=(0,t.WQX)(T.g);_renderer=(0,t.WQX)(p.sFG);_parentFormField=(0,t.WQX)(me.xb,{optional:!0});ngControl=(0,t.WQX)(j.vO,{self:!0,optional:!0});_liveAnnouncer=(0,t.WQX)(e.Ai);_defaultOptions=(0,t.WQX)(Le,{optional:!0});_animationsDisabled=(0,Te.Rc)();_initialized=new U.B;_cleanupDetach;options;optionGroups;customTrigger;_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"}];_scrollOptionIntoView(Mt){const lt=this.options.toArray()[Mt];if(lt){const Pe=this.panel.nativeElement,Ht=(0,D.jb)(Mt,this.options,this.optionGroups),ct=lt._getHostElement();Pe.scrollTop=0===Mt&&1===Ht?0:(0,D.TL)(ct.offsetTop,ct.offsetHeight,Pe.scrollTop,Pe.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Mt){return new ve(this,Mt)}_scrollStrategyFactory=(0,t.WQX)(_e);_panelOpen=!1;_compareWith=(Mt,lt)=>Mt===lt;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new U.B;_errorStateTracker;stateChanges=new U.B;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(Mt){this._disableRipple.set(Mt)}_disableRipple=(0,t.vPA)(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Mt){this._hideSingleSelectionIndicator=Mt,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(Mt){this._placeholder=Mt,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(j.k0.required)??!1}set required(Mt){this._required=Mt,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(Mt){this._multiple=Mt}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(Mt){this._compareWith=Mt,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Mt){this._assignValue(Mt)&&this._onChange(Mt)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(Mt){this._errorStateTracker.matcher=Mt}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(Mt){this._id=Mt||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(Mt){this._errorStateTracker.errorState=Mt}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=(0,K.v)(()=>{const Mt=this.options;return Mt?Mt.changes.pipe((0,$.Z)(Mt),(0,ae.n)(()=>(0,q.h)(...Mt.map(lt=>lt.onSelectionChange)))):this._initialized.pipe((0,ae.n)(()=>this.optionSelectionChanges))});openedChange=new p.bkB;_openedStream=this.openedChange.pipe((0,G.p)(Mt=>Mt),(0,Q.T)(()=>{}));_closedStream=this.openedChange.pipe((0,G.p)(Mt=>!Mt),(0,Q.T)(()=>{}));selectionChange=new p.bkB;valueChange=new p.bkB;constructor(){const Mt=(0,t.WQX)(n.e),lt=(0,t.WQX)(j.cV,{optional:!0}),Pe=(0,t.WQX)(j.j4,{optional:!0}),Ht=(0,t.WQX)(new S.ES_("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new o.X(Mt,this.ngControl,Pe,lt,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==Ht?0:parseInt(Ht)||0,this.id=this.id}ngOnInit(){this._selectionModel=new m.C(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe((0,oe.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,oe.Q)(this._destroy)).subscribe(Mt=>{Mt.added.forEach(lt=>lt.select()),Mt.removed.forEach(lt=>lt.deselect())}),this.options.changes.pipe((0,$.Z)(null),(0,oe.Q)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Mt=this._getTriggerAriaLabelledby(),lt=this.ngControl;if(Mt!==this._triggerAriaLabelledBy){const Pe=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Mt,Mt?Pe.setAttribute("aria-labelledby",Mt):Pe.removeAttribute("aria-labelledby")}lt&&(this._previousControl!==lt.control&&(void 0!==this._previousControl&&null!==lt.disabled&&lt.disabled!==this.disabled&&(this.disabled=lt.disabled),this._previousControl=lt.control),this.updateErrorState())}ngOnChanges(Mt){(Mt.disabled||Mt.userAriaDescribedBy)&&this.stateChanges.next(),Mt.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),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._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe((0,ue.s)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){const Mt=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Mt)return;const lt=`${this.id}-panel`;this._trackedModal&&(0,g.Ae)(this._trackedModal,"aria-owns",lt),(0,g.px)(Mt,"aria-owns",lt),this._trackedModal=Mt}_clearFromModal(){this._trackedModal&&((0,g.Ae)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel)return void this._detachOverlay();this._cleanupDetach?.(),this._cleanupDetach=()=>{lt(),clearTimeout(Pe),this._cleanupDetach=void 0};const Mt=this.panel.nativeElement,lt=this._renderer.listen(Mt,"animationend",Ht=>{"_mat-select-exit"===Ht.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),Pe=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);Mt.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(Mt){this._assignValue(Mt)}registerOnChange(Mt){this._onChange=Mt}registerOnTouched(Mt){this._onTouched=Mt}setDisabledState(Mt){this.disabled=Mt,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 Mt=this._selectionModel.selected.map(lt=>lt.viewValue);return this._isRtl()&&Mt.reverse(),Mt.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Mt){this.disabled||(this.panelOpen?this._handleOpenKeydown(Mt):this._handleClosedKeydown(Mt))}_handleClosedKeydown(Mt){const lt=Mt.keyCode,Pe=lt===P.n6||lt===P.i7||lt===P.UQ||lt===P.LE,Ht=lt===P.Fm||lt===P.t6,ct=this._keyManager;if(!ct.isTyping()&&Ht&&!(0,M.rp)(Mt)||(this.multiple||Mt.altKey)&&Pe)Mt.preventDefault(),this.open();else if(!this.multiple){const Ce=this.selected;ct.onKeydown(Mt);const ze=this.selected;ze&&Ce!==ze&&this._liveAnnouncer.announce(ze.viewValue,1e4)}}_handleOpenKeydown(Mt){const lt=this._keyManager,Pe=Mt.keyCode,Ht=Pe===P.n6||Pe===P.i7,ct=lt.isTyping();if(Ht&&Mt.altKey)Mt.preventDefault(),this.close();else if(ct||Pe!==P.Fm&&Pe!==P.t6||!lt.activeItem||(0,M.rp)(Mt))if(!ct&&this._multiple&&Pe===P.A&&Mt.ctrlKey){Mt.preventDefault();const Ce=this.options.some(ze=>!ze.disabled&&!ze.selected);this.options.forEach(ze=>{ze.disabled||(Ce?ze.select():ze.deselect())})}else{const Ce=lt.activeItemIndex;lt.onKeydown(Mt),this._multiple&&Ht&&Mt.shiftKey&&lt.activeItem&&lt.activeItemIndex!==Ce&&lt.activeItem._selectViaInteraction()}else Mt.preventDefault(),lt.activeItem._selectViaInteraction()}_handleOverlayKeydown(Mt){Mt.keyCode===P._f&&!(0,M.rp)(Mt)&&(Mt.preventDefault(),this.close())}_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())}_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(Mt){if(this.options.forEach(lt=>lt.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Mt)Array.isArray(Mt),Mt.forEach(lt=>this._selectOptionByValue(lt)),this._sortValues();else{const lt=this._selectOptionByValue(Mt);lt?this._keyManager.updateActiveItem(lt):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Mt){const lt=this.options.find(Pe=>{if(this._selectionModel.isSelected(Pe))return!1;try{return(null!=Pe.value||this.canSelectNullableOptions)&&this._compareWith(Pe.value,Mt)}catch{return!1}});return lt&&this._selectionModel.select(lt),lt}_assignValue(Mt){return!!(Mt!==this._value||this._multiple&&Array.isArray(Mt))&&(this.options&&this._setSelectionByValue(Mt),this._value=Mt,!0)}_skipPredicate=Mt=>!this.panelOpen&&Mt.disabled;_getOverlayWidth(Mt){return"auto"===this.panelWidth?(Mt instanceof i.$Q?Mt.elementRef:Mt||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const Mt of this.options)Mt._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new d.A(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 Mt=(0,q.h)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,oe.Q)(Mt)).subscribe(lt=>{this._onSelect(lt.source,lt.isUserInput),lt.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,q.h)(...this.options.map(lt=>lt._stateChanges)).pipe((0,oe.Q)(Mt)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Mt,lt){const Pe=this._selectionModel.isSelected(Mt);this.canSelectNullableOptions||null!=Mt.value||this._multiple?(Pe!==Mt.selected&&(Mt.selected?this._selectionModel.select(Mt):this._selectionModel.deselect(Mt)),lt&&this._keyManager.setActiveItem(Mt),this.multiple&&(this._sortValues(),lt&&this.focus())):(Mt.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Mt.value)),Pe!==this._selectionModel.isSelected(Mt)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Mt=this.options.toArray();this._selectionModel.sort((lt,Pe)=>this.sortComparator?this.sortComparator(lt,Pe,Mt):Mt.indexOf(lt)-Mt.indexOf(Pe)),this.stateChanges.next()}}_propagateChanges(Mt){let lt;lt=this.multiple?this.selected.map(Pe=>Pe.value):this.selected?this.selected.value:Mt,this._value=lt,this.valueChange.emit(lt),this._onChange(lt),this.selectionChange.emit(this._getChangeEvent(lt)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Mt=-1;for(let lt=0;lt<this.options.length;lt++)if(!this.options.get(lt).disabled){Mt=lt;break}this._keyManager.setActiveItem(Mt)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(Mt){this._elementRef.nativeElement.focus(Mt)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Mt=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(Mt?Mt+" ":"")+this.ariaLabelledby:Mt}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let Mt=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(Mt+=" "+this.ariaLabelledby),Mt||(Mt=this._valueId),Mt}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(Mt){Mt.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Mt.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(lt){return new(lt||nt)};static \u0275cmp=p.VBU({type:nt,selectors:[["mat-select"]],contentQueries:function(lt,Pe,Ht){if(1&lt&&(p.wni(Ht,ge,5),p.wni(Ht,D.wT,5),p.wni(Ht,D.QC,5)),2&lt){let ct;p.mGM(ct=p.lsd())&&(Pe.customTrigger=ct.first),p.mGM(ct=p.lsd())&&(Pe.options=ct),p.mGM(ct=p.lsd())&&(Pe.optionGroups=ct)}},viewQuery:function(lt,Pe){if(1&lt&&(p.GBs(A,5),p.GBs(k,5),p.GBs(i.WB,5)),2&lt){let Ht;p.mGM(Ht=p.lsd())&&(Pe.trigger=Ht.first),p.mGM(Ht=p.lsd())&&(Pe.panel=Ht.first),p.mGM(Ht=p.lsd())&&(Pe._overlayDir=Ht.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(lt,Pe){1&lt&&p.bIt("keydown",function(ct){return Pe._handleKeydown(ct)})("focus",function(){return Pe._onFocus()})("blur",function(){return Pe._onBlur()}),2&lt&&(p.BMQ("id",Pe.id)("tabindex",Pe.disabled?-1:Pe.tabIndex)("aria-controls",Pe.panelOpen?Pe.id+"-panel":null)("aria-expanded",Pe.panelOpen)("aria-label",Pe.ariaLabel||null)("aria-required",Pe.required.toString())("aria-disabled",Pe.disabled.toString())("aria-invalid",Pe.errorState)("aria-activedescendant",Pe._getAriaActiveDescendant()),p.AVh("mat-mdc-select-disabled",Pe.disabled)("mat-mdc-select-invalid",Pe.errorState)("mat-mdc-select-required",Pe.required)("mat-mdc-select-empty",Pe.empty)("mat-mdc-select-multiple",Pe.multiple)("mat-select-open",Pe.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",S.L39],disableRipple:[2,"disableRipple","disableRipple",S.L39],tabIndex:[2,"tabIndex","tabIndex",Mt=>null==Mt?0:(0,S.Udg)(Mt)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",S.L39],placeholder:"placeholder",required:[2,"required","required",S.L39],multiple:[2,"multiple","multiple",S.L39],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",S.L39],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",S.Udg],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",S.L39]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[p.Jv_([{provide:me.qT,useExisting:nt},{provide:D.is,useExisting:nt}]),p.OA$],ngContentSelectors:r,decls:11,vars:9,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,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(lt,Pe){if(1&lt){const Ht=p.RV6();p.NAR(x),p.j41(0,"div",2,0),p.bIt("click",function(){return t.eBV(Ht),t.Njj(Pe.open())}),p.j41(3,"div",3),p.nVh(4,_,2,1,"span",4)(5,B,3,1,"span",5),p.k0s(),p.j41(6,"div",6)(7,"div",7),t.qSk(),p.j41(8,"svg",8),p.nrm(9,"path",9),p.k0s()()()(),p.DNE(10,re,3,10,"ng-template",10),p.bIt("detach",function(){return t.eBV(Ht),t.Njj(Pe.close())})("backdropClick",function(){return t.eBV(Ht),t.Njj(Pe.close())})("overlayKeydown",function(Ce){return t.eBV(Ht),t.Njj(Pe._handleOverlayKeydown(Ce))})}if(2&lt){const Ht=p.sdS(1);p.R7$(3),p.BMQ("id",Pe._valueId),p.R7$(),p.vxM(Pe.empty?4:5),p.R7$(6),p.Y8G("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",Pe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Pe._scrollStrategy)("cdkConnectedOverlayOrigin",Pe._preferredOverlayOrigin||Ht)("cdkConnectedOverlayPositions",Pe._positions)("cdkConnectedOverlayWidth",Pe._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[i.$Q,i.WB,he.YU],styles:['@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.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, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-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-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.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, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .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:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.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, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._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, translateY(-8px))}\n'],encapsulation:2,changeDetection:0})}return nt})(),Ee=(()=>{class nt{static \u0275fac=function(lt){return new(lt||nt)};static \u0275dir=p.FsC({type:nt,selectors:[["mat-select-trigger"]],features:[p.Jv_([{provide:ge,useExisting:nt}])]})}return nt})(),dt=(()=>{class nt{static \u0275fac=function(lt){return new(lt||nt)};static \u0275mod=p.$C({type:nt});static \u0275inj=t.G2t({providers:[Ke],imports:[i.z_,f.S,h.y,c.Gj,b.R,f.S,h.y]})}return nt})()},96214:(Ae,ee,l)=>{const i=l(19089).getSymbolSize;ee.getRowColCoords=function(p){if(1===p)return[];const S=Math.floor(p/7)+2,c=i(p),e=145===c?26:2*Math.ceil((c-13)/(2*S-2)),T=[c-7];for(let g=1;g<S-1;g++)T[g]=T[g-1]-e;return T.push(6),T.reverse()},ee.getPositions=function(p){const S=[],c=ee.getRowColCoords(p),e=c.length;for(let T=0;T<e;T++)for(let g=0;g<e;g++)0===T&&0===g||0===T&&g===e-1||T===e-1&&0===g||S.push([c[T],c[g]]);return S}},96354:(Ae,ee,l)=>{"use strict";l.d(ee,{T:()=>p});var i=l(39974),t=l(54360);function p(S,c){return(0,i.N)((e,T)=>{let g=0;e.subscribe((0,t._)(T,d=>{T.next(S.call(c,d,g++))}))})}},96628:(Ae,ee,l)=>{const i=l(91677);function t(p){this.mode=i.NUMERIC,this.data=p.toString()}t.getBitsLength=function(S){return 10*Math.floor(S/3)+(S%3?S%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(S){let c,e,T;for(c=0;c+3<=this.data.length;c+=3)e=this.data.substr(c,3),T=parseInt(e,10),S.put(T,10);const g=this.data.length-c;g>0&&(e=this.data.substr(c),T=parseInt(e,10),S.put(T,3*g+1))},Ae.exports=t},96695:(Ae,ee,l)=>{"use strict";l.d(ee,{Ou:()=>D,iy:()=>Te,xX:()=>$});var i=l(2615),t=l(73664),p=l(17705),S=l(21413),c=l(92771),e=l(89726),T=l(69588),g=l(96183),d=l(23029),w=l(22598),m=l(40455),P=l(86156),M=l(88834);function j(n,o){if(1&n&&(t.j41(0,"mat-option",17),t.EFF(1),t.k0s()),2&n){const f=o.$implicit;t.Y8G("value",f),t.R7$(),t.SpI(" ",f," ")}}function U(n,o){if(1&n){const f=t.RV6();t.j41(0,"mat-form-field",14)(1,"mat-select",16,0),t.bIt("selectionChange",function(b){i.eBV(f);const A=t.XpG(2);return i.Njj(A._changePageSize(b.value))}),t.Z7z(3,j,2,2,"mat-option",17,t.fX1),t.k0s(),t.j41(5,"div",18),t.bIt("click",function(){i.eBV(f);const b=t.sdS(2);return i.Njj(b.open())}),t.k0s()()}if(2&n){const f=t.XpG(2);t.Y8G("appearance",f._formFieldAppearance)("color",f.color),t.R7$(),t.Y8G("value",f.pageSize)("disabled",f.disabled),t.jOp("aria-labelledby",f._pageSizeLabelId),t.Y8G("panelClass",f.selectConfig.panelClass||"")("disableOptionCentering",f.selectConfig.disableOptionCentering),t.R7$(2),t.Dyx(f._displayedPageSizeOptions)}}function K(n,o){if(1&n&&(t.j41(0,"div",15),t.EFF(1),t.k0s()),2&n){const f=t.XpG(2);t.R7$(),t.JRh(f.pageSize)}}function q(n,o){if(1&n&&(t.j41(0,"div",3)(1,"div",13),t.EFF(2),t.k0s(),t.nVh(3,U,6,7,"mat-form-field",14),t.nVh(4,K,2,1,"div",15),t.k0s()),2&n){const f=t.XpG();t.R7$(),t.BMQ("id",f._pageSizeLabelId),t.R7$(),t.SpI(" ",f._intl.itemsPerPageLabel," "),t.R7$(),t.vxM(f._displayedPageSizeOptions.length>1?3:-1),t.R7$(),t.vxM(f._displayedPageSizeOptions.length<=1?4:-1)}}function G(n,o){if(1&n){const f=t.RV6();t.j41(0,"button",19),t.bIt("click",function(){i.eBV(f);const b=t.XpG();return i.Njj(b._buttonClicked(0,b._previousButtonsDisabled()))}),i.qSk(),t.j41(1,"svg",8),t.nrm(2,"path",20),t.k0s()()}if(2&n){const f=t.XpG();t.Y8G("matTooltip",f._intl.firstPageLabel)("matTooltipDisabled",f._previousButtonsDisabled())("disabled",f._previousButtonsDisabled())("tabindex",f._previousButtonsDisabled()?-1:null),t.BMQ("aria-label",f._intl.firstPageLabel)}}function Q(n,o){if(1&n){const f=t.RV6();t.j41(0,"button",21),t.bIt("click",function(){i.eBV(f);const b=t.XpG();return i.Njj(b._buttonClicked(b.getNumberOfPages()-1,b._nextButtonsDisabled()))}),i.qSk(),t.j41(1,"svg",8),t.nrm(2,"path",22),t.k0s()()}if(2&n){const f=t.XpG();t.Y8G("matTooltip",f._intl.lastPageLabel)("matTooltipDisabled",f._nextButtonsDisabled())("disabled",f._nextButtonsDisabled())("tabindex",f._nextButtonsDisabled()?-1:null),t.BMQ("aria-label",f._intl.lastPageLabel)}}let $=(()=>{class n{changes=new S.B;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(f,h,b)=>{if(0==b||0==h)return`0 of ${b}`;const A=f*h;return`${A+1} \u2013 ${A<(b=Math.max(b,0))?Math.min(A+h,b):A+h} of ${b}`};static \u0275fac=function(h){return new(h||n)};static \u0275prov=i.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const ue={provide:$,deps:[[new t.Xx1,new t.kdw,$]],useFactory:function ae(n){return n||new $}},me=new i.nKC("MAT_PAGINATOR_DEFAULT_OPTIONS");let Te=(()=>{class n{_intl=(0,i.WQX)($);_changeDetectorRef=(0,i.WQX)(p.gRc);_formFieldAppearance;_pageSizeLabelId=(0,i.WQX)(e.g).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new c.m(1);color;get pageIndex(){return this._pageIndex}set pageIndex(f){this._pageIndex=Math.max(f||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(f){this._length=f||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(f){this._pageSize=Math.max(f||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(f){this._pageSizeOptions=(f||[]).map(h=>(0,p.Udg)(h,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new t.bkB;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){const f=this._intl,h=(0,i.WQX)(me,{optional:!0});if(this._intlChanges=f.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),h){const{pageSize:b,pageSizeOptions:A,hidePageSize:k,showFirstLastButtons:x}=h;null!=b&&(this._pageSize=b),null!=A&&(this._pageSizeOptions=A),null!=k&&(this.hidePageSize=k),null!=x&&(this.showFirstLastButtons=x)}this._formFieldAppearance=h?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const f=this.getNumberOfPages()-1;return this.pageIndex<f&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(f){const b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/f)||0,this.pageSize=f,this._emitPageEvent(b)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((f,h)=>f-h),this._changeDetectorRef.markForCheck())}_emitPageEvent(f){this.page.emit({previousPageIndex:f,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(f){const h=this.pageIndex;f!==h&&(this.pageIndex=f,this._emitPageEvent(h))}_buttonClicked(f,h){h||this._navigate(f)}static \u0275fac=function(h){return new(h||n)};static \u0275cmp=t.VBU({type:n,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",p.Udg],length:[2,"length","length",p.Udg],pageSize:[2,"pageSize","pageSize",p.Udg],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",p.L39],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",p.L39],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",p.L39]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[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"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["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"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[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"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(h,b){1&h&&(t.j41(0,"div",1)(1,"div",2),t.nVh(2,q,5,4,"div",3),t.j41(3,"div",4)(4,"div",5),t.EFF(5),t.k0s(),t.nVh(6,G,3,5,"button",6),t.j41(7,"button",7),t.bIt("click",function(){return b._buttonClicked(b.pageIndex-1,b._previousButtonsDisabled())}),i.qSk(),t.j41(8,"svg",8),t.nrm(9,"path",9),t.k0s()(),i.joV(),t.j41(10,"button",10),t.bIt("click",function(){return b._buttonClicked(b.pageIndex+1,b._nextButtonsDisabled())}),i.qSk(),t.j41(11,"svg",8),t.nrm(12,"path",11),t.k0s()(),t.nVh(13,Q,3,5,"button",12),t.k0s()()()),2&h&&(t.R7$(2),t.vxM(b.hidePageSize?-1:2),t.R7$(3),t.SpI(" ",b._intl.getRangeLabel(b.pageIndex,b.pageSize,b.length)," "),t.R7$(),t.vxM(b.showFirstLastButtons?6:-1),t.R7$(),t.Y8G("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("disabled",b._previousButtonsDisabled())("tabindex",b._previousButtonsDisabled()?-1:null),t.BMQ("aria-label",b._intl.previousPageLabel),t.R7$(3),t.Y8G("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("disabled",b._nextButtonsDisabled())("tabindex",b._nextButtonsDisabled()?-1:null),t.BMQ("aria-label",b._intl.nextPageLabel),t.R7$(3),t.vxM(b.showFirstLastButtons?13:-1))},dependencies:[T.rl,g.VO,d.wT,w.iY,m.oV],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-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, 56px)}.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:var(--mat-paginator-page-size-select-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, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:var(--mat-paginator-page-size-select-width, 84px);height:var(--mat-paginator-page-size-select-touch-target-height, 48px);background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}\n"],encapsulation:2,changeDetection:0})}return n})(),D=(()=>{class n{static \u0275fac=function(h){return new(h||n)};static \u0275mod=t.$C({type:n});static \u0275inj=i.G2t({providers:[ue],imports:[M.Hl,g.Ve,P.u,Te]})}return n})()},96697:(Ae,ee,l)=>{"use strict";l.d(ee,{s:()=>S});var i=l(983),t=l(39974),p=l(54360);function S(c){return c<=0?()=>i.w:(0,t.N)((e,T)=>{let g=0;e.subscribe((0,p._)(T,d=>{++g<=c&&(T.next(d),c<=g&&T.complete())}))})}},96780:(Ae,ee,l)=>{"use strict";l.d(ee,{R:()=>c});var i=l(18359);class t extends i.yU{constructor(T,g){super()}schedule(T,g=0){return this}}const p={setInterval(e,T,...g){const{delegate:d}=p;return d?.setInterval?d.setInterval(e,T,...g):setInterval(e,T,...g)},clearInterval(e){const{delegate:T}=p;return(T?.clearInterval||clearInterval)(e)},delegate:void 0};var S=l(57908);class c extends t{constructor(T,g){super(T,g),this.scheduler=T,this.work=g,this.pending=!1}schedule(T,g=0){var d;if(this.closed)return this;this.state=T;const w=this.id,m=this.scheduler;return null!=w&&(this.id=this.recycleAsyncId(m,w,g)),this.pending=!0,this.delay=g,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(m,this.id,g),this}requestAsyncId(T,g,d=0){return p.setInterval(T.flush.bind(T,this),d)}recycleAsyncId(T,g,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return g;null!=g&&p.clearInterval(g)}execute(T,g){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(T,g);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(T,g){let w,d=!1;try{this.work(T)}catch(m){d=!0,w=m||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),w}unsubscribe(){if(!this.closed){const{id:T,scheduler:g}=this,{actions:d}=g;this.work=this.state=this.scheduler=null,this.pending=!1,(0,S.o)(d,this),null!=T&&(this.id=this.recycleAsyncId(g,T,null)),this.delay=null,super.unsubscribe()}}}},96850:(Ae,ee,l)=>{"use strict";l.d(ee,{Bu:()=>Ue,ES:()=>Pe,Ql:()=>Ne,RI:()=>yt,T8:()=>se,hQ:()=>Kt,mq:()=>ct});var i=l(76838),t=l(89726),p=l(64123),S=l(61577),c=l(67336),e=l(10438),T=l(63610),g=l(39842),d=l(5718),w=l(2615),m=l(73664),P=l(17705),M=l(59295),j=l(71985),U=l(21413),K=l(84412),q=l(18359),G=l(57786),Q=l(7673),$=l(1807),ae=l(983),ue=l(70152),oe=l(5964),he=l(65245),me=l(99172),Te=l(25558),D=l(56977),n=l(31804),o=l(76939),f=l(88968),h=l(32046),b=l(72318),A=l(12496),k=l(22466);const x=["*"];function r(Zt,ti){1&Zt&&m.SdG(0)}const _=["tabListContainer"],W=["tabList"],I=["tabListInner"],B=["nextPaginator"],re=["previousPaginator"],pe=["content"];function be(Zt,ti){}const Be=["tabBodyWrapper"],_e=["tabHeader"];function ye(Zt,ti){}function Le(Zt,ti){if(1&Zt&&m.DNE(0,ye,0,0,"ng-template",12),2&Zt){const Ye=m.XpG().$implicit;m.Y8G("cdkPortalOutlet",Ye.templateLabel)}}function Ke(Zt,ti){if(1&Zt&&m.EFF(0),2&Zt){const Ye=m.XpG().$implicit;m.JRh(Ye.textLabel)}}function ge(Zt,ti){if(1&Zt){const Ye=m.RV6();m.j41(0,"div",7,2),m.bIt("click",function(){const Et=w.eBV(Ye),Jt=Et.$implicit,qe=Et.$index,$e=m.XpG(),tt=m.sdS(1);return w.Njj($e._handleClick(Jt,tt,qe))})("cdkFocusChange",function(Et){const Jt=w.eBV(Ye).$index,qe=m.XpG();return w.Njj(qe._tabFocusChanged(Et,Jt))}),m.nrm(2,"span",8)(3,"div",9),m.j41(4,"span",10)(5,"span",11),m.nVh(6,Le,1,1,null,12)(7,Ke,1,1),m.k0s()()()}if(2&Zt){const Ye=ti.$implicit,Nt=ti.$index,Et=m.sdS(1),Jt=m.XpG();m.HbH(Ye.labelClass),m.AVh("mdc-tab--active",Jt.selectedIndex===Nt),m.Y8G("id",Jt._getTabLabelId(Ye,Nt))("disabled",Ye.disabled)("fitInkBarToContent",Jt.fitInkBarToContent),m.BMQ("tabIndex",Jt._getTabIndex(Nt))("aria-posinset",Nt+1)("aria-setsize",Jt._tabs.length)("aria-controls",Jt._getTabContentId(Nt))("aria-selected",Jt.selectedIndex===Nt)("aria-label",Ye.ariaLabel||null)("aria-labelledby",!Ye.ariaLabel&&Ye.ariaLabelledby?Ye.ariaLabelledby:null),m.R7$(3),m.Y8G("matRippleTrigger",Et)("matRippleDisabled",Ye.disabled||Jt.disableRipple),m.R7$(3),m.vxM(Ye.templateLabel?6:7)}}function ve(Zt,ti){1&Zt&&m.SdG(0)}function Oe(Zt,ti){if(1&Zt){const Ye=m.RV6();m.j41(0,"mat-tab-body",13),m.bIt("_onCentered",function(){w.eBV(Ye);const Et=m.XpG();return w.Njj(Et._removeTabBodyWrapperHeight())})("_onCentering",function(Et){w.eBV(Ye);const Jt=m.XpG();return w.Njj(Jt._setTabBodyWrapperHeight(Et))})("_beforeCentering",function(Et){w.eBV(Ye);const Jt=m.XpG();return w.Njj(Jt._bodyCentered(Et))}),m.k0s()}if(2&Zt){const Ye=ti.$implicit,Nt=ti.$index,Et=m.XpG();m.HbH(Ye.bodyClass),m.Y8G("id",Et._getTabContentId(Nt))("content",Ye.content)("position",Ye.position)("animationDuration",Et.animationDuration)("preserveContent",Et.preserveContent),m.BMQ("tabindex",null!=Et.contentTabIndex&&Et.selectedIndex===Nt?Et.contentTabIndex:null)("aria-labelledby",Et._getTabLabelId(Ye,Nt))("aria-hidden",Et.selectedIndex!==Nt)}}const Ee=["mat-tab-nav-bar",""],dt=["mat-tab-link",""],nt=new w.nKC("MatTabContent");let Ct=(()=>{class Zt{template=(0,w.WQX)(m.C4Q);constructor(){}static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275dir=m.FsC({type:Zt,selectors:[["","matTabContent",""]],features:[m.Jv_([{provide:nt,useExisting:Zt}])]})}return Zt})();const Mt=new w.nKC("MatTabLabel"),lt=new w.nKC("MAT_TAB");let Pe=(()=>{class Zt extends o.bV{_closestTab=(0,w.WQX)(lt,{optional:!0});static \u0275fac=(()=>{let Ye;return function(Et){return(Ye||(Ye=m.xGo(Zt)))(Et||Zt)}})();static \u0275dir=m.FsC({type:Zt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[m.Jv_([{provide:Mt,useExisting:Zt}]),m.Vt3]})}return Zt})();const Ht=new w.nKC("MAT_TAB_GROUP");let ct=(()=>{class Zt{_viewContainerRef=(0,w.WQX)(m.c1b);_closestTabGroup=(0,w.WQX)(Ht,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(Ye){this._setTemplateLabelInput(Ye)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new U.B;position=null;origin=null;isActive=!1;constructor(){(0,w.WQX)(f.l).load(h.A)}ngOnChanges(Ye){(Ye.hasOwnProperty("textLabel")||Ye.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new o.VA(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Ye){Ye&&Ye._closestTab===this&&(this._templateLabel=Ye)}static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275cmp=m.VBU({type:Zt,selectors:[["mat-tab"]],contentQueries:function(Nt,Et,Jt){if(1&Nt&&(m.wni(Jt,Pe,5),m.wni(Jt,Ct,7,m.C4Q)),2&Nt){let qe;m.mGM(qe=m.lsd())&&(Et.templateLabel=qe.first),m.mGM(qe=m.lsd())&&(Et._explicitContent=qe.first)}},viewQuery:function(Nt,Et){if(1&Nt&&m.GBs(m.C4Q,7),2&Nt){let Jt;m.mGM(Jt=m.lsd())&&(Et._implicitContent=Jt.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(Nt,Et){2&Nt&&m.BMQ("id",null)},inputs:{disabled:[2,"disabled","disabled",P.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[m.Jv_([{provide:lt,useExisting:Zt}]),m.OA$],ngContentSelectors:x,decls:1,vars:0,template:function(Nt,Et){1&Nt&&(m.NAR(),m.PeT(0,r,1,0,"ng-template"))},encapsulation:2})}return Zt})();const Ce="mdc-tab-indicator--active",ze="mdc-tab-indicator--no-transition";class Z{_items;_currentItem;constructor(ti){this._items=ti}hide(){this._items.forEach(ti=>ti.deactivateInkBar()),this._currentItem=void 0}alignToElement(ti){const Ye=this._items.find(Et=>Et.elementRef.nativeElement===ti),Nt=this._currentItem;if(Ye!==Nt&&(Nt?.deactivateInkBar(),Ye)){const Et=Nt?.elementRef.nativeElement.getBoundingClientRect?.();Ye.activateInkBar(Et),this._currentItem=Ye}}}let J=(()=>{class Zt{_elementRef=(0,w.WQX)(m.aKT);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Ye){this._fitToContent!==Ye&&(this._fitToContent=Ye,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Ye){const Nt=this._elementRef.nativeElement;if(!Ye||!Nt.getBoundingClientRect||!this._inkBarContentElement)return void Nt.classList.add(Ce);const Et=Nt.getBoundingClientRect(),Jt=Ye.width/Et.width,qe=Ye.left-Et.left;Nt.classList.add(ze),this._inkBarContentElement.style.setProperty("transform",`translateX(${qe}px) scaleX(${Jt})`),Nt.getBoundingClientRect(),Nt.classList.remove(ze),Nt.classList.add(Ce),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Ce)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Ye=this._elementRef.nativeElement.ownerDocument||document,Nt=this._inkBarElement=Ye.createElement("span"),Et=this._inkBarContentElement=Ye.createElement("span");Nt.className="mdc-tab-indicator",Et.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",Nt.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275dir=m.FsC({type:Zt,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",P.L39]}})}return Zt})(),ht=(()=>{class Zt extends J{elementRef=(0,w.WQX)(m.aKT);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let Ye;return function(Et){return(Ye||(Ye=m.xGo(Zt)))(Et||Zt)}})();static \u0275dir=m.FsC({type:Zt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Nt,Et){2&Nt&&(m.BMQ("aria-disabled",!!Et.disabled),m.AVh("mat-mdc-tab-disabled",Et.disabled))},inputs:{disabled:[2,"disabled","disabled",P.L39]},features:[m.Vt3]})}return Zt})();const li={passive:!0};let kt=(()=>{class Zt{_elementRef=(0,w.WQX)(m.aKT);_changeDetectorRef=(0,w.WQX)(P.gRc);_viewportRuler=(0,w.WQX)(d.Xj);_dir=(0,w.WQX)(S.dS,{optional:!0});_ngZone=(0,w.WQX)(m.SKi);_platform=(0,w.WQX)(g.O);_sharedResizeObserver=(0,w.WQX)(T.a);_injector=(0,w.WQX)(w.zZn);_renderer=(0,w.WQX)(m.sFG);_animationsDisabled=(0,n.Rc)();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new U.B;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new U.B;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(Ye){const Nt=isNaN(Ye)?0:Ye;this._selectedIndex!=Nt&&(this._selectedIndexChanged=!0,this._selectedIndex=Nt,this._keyManager&&this._keyManager.updateActiveItem(Nt))}_selectedIndex=0;selectFocusedIndex=new m.bkB;indexFocused=new m.bkB;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),li),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),li))}ngAfterContentInit(){const Ye=this._dir?this._dir.change:(0,Q.of)("ltr"),Nt=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe((0,ue.B)(32),(0,D.Q)(this._destroyed)),Et=this._viewportRuler.change(150).pipe((0,D.Q)(this._destroyed)),Jt=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new p.B(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),(0,m.mal)(Jt,{injector:this._injector}),(0,G.h)(Ye,Et,Nt,this._items.changes,this._itemsResized()).pipe((0,D.Q)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Jt()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(qe=>{this.indexFocused.emit(qe),this._setTabFocus(qe)})}_itemsResized(){return"function"!=typeof ResizeObserver?ae.w:this._items.changes.pipe((0,me.Z)(this._items),(0,Te.n)(Ye=>new j.c(Nt=>this._ngZone.runOutsideAngular(()=>{const Et=new ResizeObserver(Jt=>Nt.next(Jt));return Ye.forEach(Jt=>Et.observe(Jt.elementRef.nativeElement)),()=>{Et.disconnect()}}))),(0,he.i)(1),(0,oe.p)(Ye=>Ye.some(Nt=>Nt.contentRect.width>0&&Nt.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._eventCleanups.forEach(Ye=>Ye()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(Ye){if(!(0,c.rp)(Ye))switch(Ye.keyCode){case e.Fm:case e.t6:if(this.focusIndex!==this.selectedIndex){const Nt=this._items.get(this.focusIndex);Nt&&!Nt.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Ye))}break;default:this._keyManager?.onKeydown(Ye)}}_onContentChanges(){const Ye=this._elementRef.nativeElement.textContent;Ye!==this._currentTextContent&&(this._currentTextContent=Ye||"",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(Ye){!this._isValidIndex(Ye)||this.focusIndex===Ye||!this._keyManager||this._keyManager.setActiveItem(Ye)}_isValidIndex(Ye){return!this._items||!!this._items.toArray()[Ye]}_setTabFocus(Ye){if(this._showPaginationControls&&this._scrollToLabel(Ye),this._items&&this._items.length){this._items.toArray()[Ye].focus();const Nt=this._tabListContainer.nativeElement;Nt.scrollLeft="ltr"==this._getLayoutDirection()?0:Nt.scrollWidth-Nt.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Ye=this.scrollDistance,Nt="ltr"===this._getLayoutDirection()?-Ye:Ye;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Nt)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Ye){this._scrollTo(Ye)}_scrollHeader(Ye){return this._scrollTo(this._scrollDistance+("before"==Ye?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Ye){this._stopInterval(),this._scrollHeader(Ye)}_scrollToLabel(Ye){if(this.disablePagination)return;const Nt=this._items?this._items.toArray()[Ye]:null;if(!Nt)return;const Et=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Jt,offsetWidth:qe}=Nt.elementRef.nativeElement;let $e,tt;"ltr"==this._getLayoutDirection()?($e=Jt,tt=$e+qe):(tt=this._tabListInner.nativeElement.offsetWidth-Jt,$e=tt-qe);const vi=this.scrollDistance,ei=this.scrollDistance+Et;$e<vi?this.scrollDistance-=vi-$e:tt>ei&&(this.scrollDistance+=Math.min(tt-ei,$e-vi))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Et=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;Et||(this.scrollDistance=0),Et!==this._showPaginationControls&&(this._showPaginationControls=Et,this._changeDetectorRef.markForCheck())}}_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 Ye=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Nt=Ye?Ye.elementRef.nativeElement:null;Nt?this._inkBar.alignToElement(Nt):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Ye,Nt){Nt&&null!=Nt.button&&0!==Nt.button||(this._stopInterval(),(0,$.O)(650,100).pipe((0,D.Q)((0,G.h)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Et,distance:Jt}=this._scrollHeader(Ye);(0===Jt||Jt>=Et)&&this._stopInterval()}))}_scrollTo(Ye){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Nt=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Nt,Ye)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Nt,distance:this._scrollDistance}}static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275dir=m.FsC({type:Zt,inputs:{disablePagination:[2,"disablePagination","disablePagination",P.L39],selectedIndex:[2,"selectedIndex","selectedIndex",P.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return Zt})(),Rt=(()=>{class Zt extends kt{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Z(this._items),super.ngAfterContentInit()}_itemSelected(Ye){Ye.preventDefault()}static \u0275fac=(()=>{let Ye;return function(Et){return(Ye||(Ye=m.xGo(Zt)))(Et||Zt)}})();static \u0275cmp=m.VBU({type:Zt,selectors:[["mat-tab-header"]],contentQueries:function(Nt,Et,Jt){if(1&Nt&&m.wni(Jt,ht,4),2&Nt){let qe;m.mGM(qe=m.lsd())&&(Et._items=qe)}},viewQuery:function(Nt,Et){if(1&Nt&&(m.GBs(_,7),m.GBs(W,7),m.GBs(I,7),m.GBs(B,5),m.GBs(re,5)),2&Nt){let Jt;m.mGM(Jt=m.lsd())&&(Et._tabListContainer=Jt.first),m.mGM(Jt=m.lsd())&&(Et._tabList=Jt.first),m.mGM(Jt=m.lsd())&&(Et._tabListInner=Jt.first),m.mGM(Jt=m.lsd())&&(Et._nextPaginator=Jt.first),m.mGM(Jt=m.lsd())&&(Et._previousPaginator=Jt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Nt,Et){2&Nt&&m.AVh("mat-mdc-tab-header-pagination-controls-enabled",Et._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Et._getLayoutDirection())},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",P.L39]},features:[m.Vt3],ngContentSelectors:x,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[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"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(Nt,Et){if(1&Nt){const Jt=m.RV6();m.NAR(),m.j41(0,"div",5,0),m.bIt("click",function(){return w.eBV(Jt),w.Njj(Et._handlePaginatorClick("before"))})("mousedown",function($e){return w.eBV(Jt),w.Njj(Et._handlePaginatorPress("before",$e))})("touchend",function(){return w.eBV(Jt),w.Njj(Et._stopInterval())}),m.nrm(2,"div",6),m.k0s(),m.j41(3,"div",7,1),m.bIt("keydown",function($e){return w.eBV(Jt),w.Njj(Et._handleKeydown($e))}),m.j41(5,"div",8,2),m.bIt("cdkObserveContent",function(){return w.eBV(Jt),w.Njj(Et._onContentChanges())}),m.j41(7,"div",9,3),m.SdG(9),m.k0s()()(),m.j41(10,"div",10,4),m.bIt("mousedown",function($e){return w.eBV(Jt),w.Njj(Et._handlePaginatorPress("after",$e))})("click",function(){return w.eBV(Jt),w.Njj(Et._handlePaginatorClick("after"))})("touchend",function(){return w.eBV(Jt),w.Njj(Et._stopInterval())}),m.nrm(12,"div",6),m.k0s()}2&Nt&&(m.AVh("mat-mdc-tab-header-pagination-disabled",Et._disableScrollBefore),m.Y8G("matRippleDisabled",Et._disableScrollBefore||Et.disableRipple),m.R7$(3),m.AVh("_mat-animation-noopable",Et._animationsDisabled),m.R7$(2),m.BMQ("aria-label",Et.ariaLabel||null)("aria-labelledby",Et.ariaLabelledby||null),m.R7$(5),m.AVh("mat-mdc-tab-header-pagination-disabled",Et._disableScrollAfter),m.Y8G("matRippleDisabled",Et._disableScrollAfter||Et.disableRipple))},dependencies:[A.r6,b.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;outline: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-inactive-ripple-color, var(--mat-sys-on-surface))}.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-pagination-icon-color, var(--mat-sys-on-surface))}.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-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-divider-height, 1px);border-top-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.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}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}\n"],encapsulation:2})}return Zt})();const le=new w.nKC("MAT_TABS_CONFIG");let te=(()=>{class Zt extends o.I3{_host=(0,w.WQX)(ce);_ngZone=(0,w.WQX)(m.SKi);_centeringSub=q.yU.EMPTY;_leavingSub=q.yU.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,me.Z)(this._host._isCenterPosition())).subscribe(Ye=>{this._host._content&&Ye&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275dir=m.FsC({type:Zt,selectors:[["","matTabBodyHost",""]],features:[m.Vt3]})}return Zt})(),ce=(()=>{class Zt{_elementRef=(0,w.WQX)(m.aKT);_dir=(0,w.WQX)(S.dS,{optional:!0});_ngZone=(0,w.WQX)(m.SKi);_injector=(0,w.WQX)(w.zZn);_renderer=(0,w.WQX)(m.sFG);_diAnimationsDisabled=(0,n.Rc)();_eventCleanups;_initialized;_fallbackTimer;_positionIndex;_dirChangeSubscription=q.yU.EMPTY;_position;_previousPosition;_onCentering=new m.bkB;_beforeCentering=new m.bkB;_afterLeavingCenter=new m.bkB;_onCentered=new m.bkB(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(Ye){this._positionIndex=Ye,this._computePositionAnimationState()}constructor(){if(this._dir){const Ye=(0,w.WQX)(P.gRc);this._dirChangeSubscription=this._dir.change.subscribe(Nt=>{this._computePositionAnimationState(Nt),Ye.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),"center"===this._position&&(this._setActiveClass(!0),(0,m.mal)(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(Ye=>Ye()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{const Ye=this._elementRef.nativeElement,Nt=Et=>{Et.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),"transitionend"===Et.type&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(Ye,"transitionstart",Et=>{Et.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(Ye,"transitionend",Nt),this._renderer.listen(Ye,"transitioncancel",Nt)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);const Ye="center"===this._position;this._beforeCentering.emit(Ye),Ye&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){"center"===this._position?this._onCentered.emit():"center"===this._previousPosition&&this._afterLeavingCenter.emit()}_setActiveClass(Ye){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",Ye)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(){return 0===this._positionIndex}_computePositionAnimationState(Ye=this._getLayoutDirection()){this._previousPosition=this._position,this._position=this._positionIndex<0?"ltr"==Ye?"left":"right":this._positionIndex>0?"ltr"==Ye?"right":"left":"center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&("center"===this._position||"center"===this._previousPosition)&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),(0,m.mal)(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||"0ms"===this.animationDuration||"0s"===this.animationDuration}static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275cmp=m.VBU({type:Zt,selectors:[["mat-tab-body"]],viewQuery:function(Nt,Et){if(1&Nt&&(m.GBs(te,5),m.GBs(pe,5)),2&Nt){let Jt;m.mGM(Jt=m.lsd())&&(Et._portalHost=Jt.first),m.mGM(Jt=m.lsd())&&(Et._contentElement=Jt.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(Nt,Et){2&Nt&&m.BMQ("inert","center"===Et._position?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(Nt,Et){1&Nt&&(m.j41(0,"div",1,0),m.DNE(2,be,0,0,"ng-template",2),m.k0s()),2&Nt&&m.AVh("mat-tab-body-content-left","left"===Et._position)("mat-tab-body-content-right","right"===Et._position)("mat-tab-body-content-can-animate","center"===Et._position||"center"===Et._previousPosition)},dependencies:[te,d.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;transform:none;visibility:hidden}.mat-tab-body-animating>.mat-mdc-tab-body-content,.mat-mdc-tab-body-active>.mat-mdc-tab-body-content{visibility:visible}.mat-tab-body-animating>.mat-mdc-tab-body-content{min-height:1px}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-tab-body-content-can-animate{transition:transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate{transition:none}.mat-tab-body-content-left{transform:translate3d(-100%, 0, 0)}.mat-tab-body-content-right{transform:translate3d(100%, 0, 0)}\n"],encapsulation:2})}return Zt})(),se=(()=>{class Zt{_elementRef=(0,w.WQX)(m.aKT);_changeDetectorRef=(0,w.WQX)(P.gRc);_ngZone=(0,w.WQX)(m.SKi);_tabsSubscription=q.yU.EMPTY;_tabLabelSubscription=q.yU.EMPTY;_tabBodySubscription=q.yU.EMPTY;_diAnimationsDisabled=(0,n.Rc)();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new m.rOR;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Ye){this._fitInkBarToContent=Ye,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(Ye){this._indexToSelect=isNaN(Ye)?null:Ye}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(Ye){const Nt=Ye+"";this._animationDuration=/^\d+$/.test(Nt)?Ye+"ms":Nt}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Ye){this._contentTabIndex=isNaN(Ye)?null:Ye}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(Ye){const Nt=this._elementRef.nativeElement.classList;Nt.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Ye&&Nt.add("mat-tabs-with-background",`mat-background-${Ye}`),this._backgroundColor=Ye}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new m.bkB;focusChange=new m.bkB;animationDone=new m.bkB;selectedTabChange=new m.bkB(!0);_groupId;_isServer=!(0,w.WQX)(g.O).isBrowser;constructor(){const Ye=(0,w.WQX)(le,{optional:!0});this._groupId=(0,w.WQX)(t.g).getId("mat-tab-group-"),this.animationDuration=Ye&&Ye.animationDuration?Ye.animationDuration:"500ms",this.disablePagination=!(!Ye||null==Ye.disablePagination)&&Ye.disablePagination,this.dynamicHeight=!(!Ye||null==Ye.dynamicHeight)&&Ye.dynamicHeight,null!=Ye?.contentTabIndex&&(this.contentTabIndex=Ye.contentTabIndex),this.preserveContent=!!Ye?.preserveContent,this.fitInkBarToContent=!(!Ye||null==Ye.fitInkBarToContent)&&Ye.fitInkBarToContent,this.stretchTabs=!Ye||null==Ye.stretchTabs||Ye.stretchTabs,this.alignTabs=Ye&&null!=Ye.alignTabs?Ye.alignTabs:null}ngAfterContentChecked(){const Ye=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Ye){const Nt=null==this._selectedIndex;if(!Nt){this.selectedTabChange.emit(this._createChangeEvent(Ye));const Et=this._tabBodyWrapper.nativeElement;Et.style.minHeight=Et.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Et,Jt)=>Et.isActive=Jt===Ye),Nt||(this.selectedIndexChange.emit(Ye),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Nt,Et)=>{Nt.position=Et-Ye,null!=this._selectedIndex&&0==Nt.position&&!Nt.origin&&(Nt.origin=Ye-this._selectedIndex)}),this._selectedIndex!==Ye&&(this._selectedIndex=Ye,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Ye=this._clampTabIndex(this._indexToSelect);if(Ye===this._selectedIndex){const Nt=this._tabs.toArray();let Et;for(let Jt=0;Jt<Nt.length;Jt++)if(Nt[Jt].isActive){this._indexToSelect=this._selectedIndex=Jt,this._lastFocusedTabIndex=null,Et=Nt[Jt];break}!Et&&Nt[Ye]&&Promise.resolve().then(()=>{Nt[Ye].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Ye))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,me.Z)(this._allTabs)).subscribe(Ye=>{this._tabs.reset(Ye.filter(Nt=>Nt._closestTabGroup===this||!Nt._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(Ye){const Nt=this._tabHeader;Nt&&(Nt.focusIndex=Ye)}_focusChanged(Ye){this._lastFocusedTabIndex=Ye,this.focusChange.emit(this._createChangeEvent(Ye))}_createChangeEvent(Ye){const Nt=new ke;return Nt.index=Ye,this._tabs&&this._tabs.length&&(Nt.tab=this._tabs.toArray()[Ye]),Nt}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,G.h)(...this._tabs.map(Ye=>Ye._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Ye){return Math.min(this._tabs.length-1,Math.max(Ye||0,0))}_getTabLabelId(Ye,Nt){return Ye.id||`${this._groupId}-label-${Nt}`}_getTabContentId(Ye){return`${this._groupId}-content-${Ye}`}_setTabBodyWrapperHeight(Ye){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return void(this._tabBodyWrapperHeight=Ye);const Nt=this._tabBodyWrapper.nativeElement;Nt.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Nt.style.height=Ye+"px")}_removeTabBodyWrapperHeight(){const Ye=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Ye.clientHeight,Ye.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(Ye,Nt,Et){Nt.focusIndex=Et,Ye.disabled||(this.selectedIndex=Et)}_getTabIndex(Ye){return Ye===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Ye,Nt){Ye&&"mouse"!==Ye&&"touch"!==Ye&&(this._tabHeader.focusIndex=Nt)}_bodyCentered(Ye){Ye&&this._tabBodies?.forEach((Nt,Et)=>Nt._setActiveClass(Et===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||"0"===this.animationDuration||"0ms"===this.animationDuration}static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275cmp=m.VBU({type:Zt,selectors:[["mat-tab-group"]],contentQueries:function(Nt,Et,Jt){if(1&Nt&&m.wni(Jt,ct,5),2&Nt){let qe;m.mGM(qe=m.lsd())&&(Et._allTabs=qe)}},viewQuery:function(Nt,Et){if(1&Nt&&(m.GBs(Be,5),m.GBs(_e,5),m.GBs(ce,5)),2&Nt){let Jt;m.mGM(Jt=m.lsd())&&(Et._tabBodyWrapper=Jt.first),m.mGM(Jt=m.lsd())&&(Et._tabHeader=Jt.first),m.mGM(Jt=m.lsd())&&(Et._tabBodies=Jt)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(Nt,Et){2&Nt&&(m.BMQ("mat-align-tabs",Et.alignTabs),m.HbH("mat-"+(Et.color||"primary")),m.xc7("--mat-tab-animation-duration",Et.animationDuration),m.AVh("mat-mdc-tab-group-dynamic-height",Et.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Et.headerPosition)("mat-mdc-tab-group-stretch-tabs",Et.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",P.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",P.L39],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",P.L39],selectedIndex:[2,"selectedIndex","selectedIndex",P.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",P.Udg],disablePagination:[2,"disablePagination","disablePagination",P.L39],disableRipple:[2,"disableRipple","disableRipple",P.L39],preserveContent:[2,"preserveContent","preserveContent",P.L39],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[m.Jv_([{provide:Ht,useExisting:Zt}])],ngContentSelectors:x,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-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","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(Nt,Et){if(1&Nt){const Jt=m.RV6();m.NAR(),m.j41(0,"mat-tab-header",3,0),m.bIt("indexFocused",function($e){return w.eBV(Jt),w.Njj(Et._focusChanged($e))})("selectFocusedIndex",function($e){return w.eBV(Jt),w.Njj(Et.selectedIndex=$e)}),m.Z7z(2,ge,8,17,"div",4,m.fX1),m.k0s(),m.nVh(4,ve,1,0),m.j41(5,"div",5,1),m.Z7z(7,Oe,1,10,"mat-tab-body",6,m.fX1),m.k0s()}2&Nt&&(m.Y8G("selectedIndex",Et.selectedIndex||0)("disableRipple",Et.disableRipple)("disablePagination",Et.disablePagination),m.jOp("aria-label",Et.ariaLabel)("aria-labelledby",Et.ariaLabelledby),m.R7$(2),m.Dyx(Et._tabs),m.R7$(2),m.vxM(Et._isServer?4:-1),m.R7$(),m.AVh("_mat-animation-noopable",Et._animationsDisabled()),m.R7$(2),m.Dyx(Et._tabs))},dependencies:[Rt,ht,i.vR,A.r6,o.I3,ce],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.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--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.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{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);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--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.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;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.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-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.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-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));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-inactive-ripple-color, var(--mat-sys-on-surface))}.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-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-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-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-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-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-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-focus-indicator::before{border-color:var(--mat-tab-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-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-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}\n'],encapsulation:2})}return Zt})();class ke{index;tab}let Ue=(()=>{class Zt extends kt{_focusedItem=(0,w.vPA)(null);get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Ye){this._fitInkBarToContent.next(Ye),this._changeDetectorRef.markForCheck()}_fitInkBarToContent=new K.t(!1);stretchTabs=!0;get animationDuration(){return this._animationDuration}set animationDuration(Ye){const Nt=Ye+"";this._animationDuration=/^\d+$/.test(Nt)?Ye+"ms":Nt}_animationDuration;_items;get backgroundColor(){return this._backgroundColor}set backgroundColor(Ye){const Nt=this._elementRef.nativeElement.classList;Nt.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Ye&&Nt.add("mat-tabs-with-background",`mat-background-${Ye}`),this._backgroundColor=Ye}_backgroundColor;get disableRipple(){return this._disableRipple()}set disableRipple(Ye){this._disableRipple.set(Ye)}_disableRipple=(0,w.vPA)(!1);color="primary";tabPanel;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;constructor(){const Ye=(0,w.WQX)(le,{optional:!0});super(),this.disablePagination=!(!Ye||null==Ye.disablePagination)&&Ye.disablePagination,this.fitInkBarToContent=!(!Ye||null==Ye.fitInkBarToContent)&&Ye.fitInkBarToContent,this.stretchTabs=!Ye||null==Ye.stretchTabs||Ye.stretchTabs}_itemSelected(){}ngAfterContentInit(){this._inkBar=new Z(this._items),this._items.changes.pipe((0,me.Z)(null),(0,D.Q)(this._destroyed)).subscribe(()=>this.updateActiveLink()),super.ngAfterContentInit(),this._keyManager.change.pipe((0,me.Z)(null),(0,D.Q)(this._destroyed)).subscribe(()=>this._focusedItem.set(this._keyManager?.activeItem||null))}ngAfterViewInit(){super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;const Ye=this._items.toArray();for(let Nt=0;Nt<Ye.length;Nt++)if(Ye[Nt].active)return this.selectedIndex=Nt,this.tabPanel&&(this.tabPanel._activeTabId=Ye[Nt].id),this._focusedItem.set(Ye[Nt]),void this._changeDetectorRef.markForCheck();this.selectedIndex=-1}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}_hasFocus(Ye){return this._keyManager?.activeItem===Ye}static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275cmp=m.VBU({type:Zt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(Nt,Et,Jt){if(1&Nt&&m.wni(Jt,Ne,5),2&Nt){let qe;m.mGM(qe=m.lsd())&&(Et._items=qe)}},viewQuery:function(Nt,Et){if(1&Nt&&(m.GBs(_,7),m.GBs(W,7),m.GBs(I,7),m.GBs(B,5),m.GBs(re,5)),2&Nt){let Jt;m.mGM(Jt=m.lsd())&&(Et._tabListContainer=Jt.first),m.mGM(Jt=m.lsd())&&(Et._tabList=Jt.first),m.mGM(Jt=m.lsd())&&(Et._tabListInner=Jt.first),m.mGM(Jt=m.lsd())&&(Et._nextPaginator=Jt.first),m.mGM(Jt=m.lsd())&&(Et._previousPaginator=Jt.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(Nt,Et){2&Nt&&(m.BMQ("role",Et._getRole()),m.xc7("--mat-tab-animation-duration",Et.animationDuration),m.AVh("mat-mdc-tab-header-pagination-controls-enabled",Et._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Et._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",Et.stretchTabs)("mat-primary","warn"!==Et.color&&"accent"!==Et.color)("mat-accent","accent"===Et.color)("mat-warn","warn"===Et.color)("_mat-animation-noopable",Et._animationsDisabled))},inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",P.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",P.L39],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",P.L39],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],features:[m.Vt3],attrs:Ee,ngContentSelectors:x,decls:13,vars:6,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-links"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(Nt,Et){if(1&Nt){const Jt=m.RV6();m.NAR(),m.j41(0,"div",5,0),m.bIt("click",function(){return w.eBV(Jt),w.Njj(Et._handlePaginatorClick("before"))})("mousedown",function($e){return w.eBV(Jt),w.Njj(Et._handlePaginatorPress("before",$e))})("touchend",function(){return w.eBV(Jt),w.Njj(Et._stopInterval())}),m.nrm(2,"div",6),m.k0s(),m.j41(3,"div",7,1),m.bIt("keydown",function($e){return w.eBV(Jt),w.Njj(Et._handleKeydown($e))}),m.j41(5,"div",8,2),m.bIt("cdkObserveContent",function(){return w.eBV(Jt),w.Njj(Et._onContentChanges())}),m.j41(7,"div",9,3),m.SdG(9),m.k0s()()(),m.j41(10,"div",10,4),m.bIt("mousedown",function($e){return w.eBV(Jt),w.Njj(Et._handlePaginatorPress("after",$e))})("click",function(){return w.eBV(Jt),w.Njj(Et._handlePaginatorClick("after"))})("touchend",function(){return w.eBV(Jt),w.Njj(Et._stopInterval())}),m.nrm(12,"div",6),m.k0s()}2&Nt&&(m.AVh("mat-mdc-tab-header-pagination-disabled",Et._disableScrollBefore),m.Y8G("matRippleDisabled",Et._disableScrollBefore||Et.disableRipple),m.R7$(10),m.AVh("mat-mdc-tab-header-pagination-disabled",Et._disableScrollAfter),m.Y8G("matRippleDisabled",Et._disableScrollAfter||Et.disableRipple))},dependencies:[A.r6,b.Wv],styles:[".mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1;touch-action:manipulation}.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--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.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{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);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--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline: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-inactive-ripple-color, var(--mat-sys-on-surface))}.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-pagination-icon-color, var(--mat-sys-on-surface))}.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-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mat-tab-container-height, 48px)}.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-divider-height, 1px);border-bottom-color:var(--mat-tab-divider-color, var(--mat-sys-surface-variant))}.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-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-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-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-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-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-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-focus-indicator::before{border-color:var(--mat-tab-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-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-foreground-color)}\n"],encapsulation:2})}return Zt})(),Ne=(()=>{class Zt extends J{_tabNavBar=(0,w.WQX)(Ue);elementRef=(0,w.WQX)(m.aKT);_focusMonitor=(0,w.WQX)(i.FN);_destroyed=new U.B;_isActive=!1;_tabIndex=(0,M.EW)(()=>this._tabNavBar._focusedItem()===this?this.tabIndex:-1);get active(){return this._isActive}set active(Ye){Ye!==this._isActive&&(this._isActive=Ye,this._tabNavBar.updateActiveLink())}disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(Ye){this._disableRipple.set(Ye)}_disableRipple=(0,w.vPA)(!1);tabIndex=0;rippleConfig;get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}id=(0,w.WQX)(t.g).getId("mat-tab-link-");constructor(){super(),(0,w.WQX)(f.l).load(h.A);const Ye=(0,w.WQX)(A.$E,{optional:!0}),Nt=(0,w.WQX)(new P.ES_("tabindex"),{optional:!0});this.rippleConfig=Ye||{},this.tabIndex=null==Nt?0:parseInt(Nt)||0,(0,n.Rc)()&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),this._tabNavBar._fitInkBarToContent.pipe((0,D.Q)(this._destroyed)).subscribe(Et=>{this.fitInkBarToContent=Et})}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(Ye){(Ye.keyCode===e.t6||Ye.keyCode===e.Fm)&&(this.disabled?Ye.preventDefault():this._tabNavBar.tabPanel&&(Ye.keyCode===e.t6&&Ye.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")}static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275cmp=m.VBU({type:Zt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(Nt,Et){1&Nt&&m.bIt("focus",function(){return Et._handleFocus()})("keydown",function(qe){return Et._handleKeydown(qe)}),2&Nt&&(m.BMQ("aria-controls",Et._getAriaControls())("aria-current",Et._getAriaCurrent())("aria-disabled",Et.disabled)("aria-selected",Et._getAriaSelected())("id",Et.id)("tabIndex",Et._tabIndex())("role",Et._getRole()),m.AVh("mat-mdc-tab-disabled",Et.disabled)("mdc-tab--active",Et.active))},inputs:{active:[2,"active","active",P.L39],disabled:[2,"disabled","disabled",P.L39],disableRipple:[2,"disableRipple","disableRipple",P.L39],tabIndex:[2,"tabIndex","tabIndex",Ye=>null==Ye?0:(0,P.Udg)(Ye)],id:"id"},exportAs:["matTabLink"],features:[m.Vt3],attrs:dt,ngContentSelectors:x,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(Nt,Et){1&Nt&&(m.NAR(),m.nrm(0,"span",0)(1,"div",1),m.j41(2,"span",2)(3,"span",3),m.SdG(4),m.k0s()()),2&Nt&&(m.R7$(),m.Y8G("matRippleTrigger",Et.elementRef.nativeElement)("matRippleDisabled",Et.rippleDisabled))},dependencies:[A.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;height:var(--mat-tab-container-height, 48px);font-family:var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mat-tab-active-indicator-height, 2px);border-radius:var(--mat-tab-active-indicator-shape, 0)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface))}.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-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary))}.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-disabled-ripple-color, var(--mat-sys-on-surface-variant))}.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-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));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-inactive-ripple-color, var(--mat-sys-on-surface))}.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}}\n'],encapsulation:2,changeDetection:0})}return Zt})(),Kt=(()=>{class Zt{id=(0,w.WQX)(t.g).getId("mat-tab-nav-panel-");_activeTabId;static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275cmp=m.VBU({type:Zt,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Nt,Et){2&Nt&&m.BMQ("aria-labelledby",Et._activeTabId)("id",Et.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:x,decls:1,vars:0,template:function(Nt,Et){1&Nt&&(m.NAR(),m.SdG(0))},encapsulation:2,changeDetection:0})}return Zt})(),yt=(()=>{class Zt{static \u0275fac=function(Nt){return new(Nt||Zt)};static \u0275mod=m.$C({type:Zt});static \u0275inj=w.G2t({imports:[k.y,k.y]})}return Zt})()},96867:function(Ae,ee,l){!function(i,t){"use strict";function p(D,n){if(!D)throw new Error(n||"Assertion failed")}function S(D,n){D.super_=n;var o=function(){};o.prototype=n.prototype,D.prototype=new o,D.prototype.constructor=D}function c(D,n,o){if(c.isBN(D))return D;this.negative=0,this.words=null,this.length=0,this.red=null,null!==D&&(("le"===n||"be"===n)&&(o=n,n=10),this._init(D||0,n||10,o||"be"))}var e;"object"==typeof i?i.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{e=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:l(78982).Buffer}catch{}function T(D,n){var o=D.charCodeAt(n);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function g(D,n,o){var f=T(D,o);return o-1>=n&&(f|=T(D,o-1)<<4),f}function d(D,n,o,f){for(var h=0,b=Math.min(D.length,o),A=n;A<b;A++){var k=D.charCodeAt(A)-48;h*=f,h+=k>=49?k-49+10:k>=17?k-17+10:k}return h}c.isBN=function(n){return n instanceof c||null!==n&&"object"==typeof n&&n.constructor.wordSize===c.wordSize&&Array.isArray(n.words)},c.max=function(n,o){return n.cmp(o)>0?n:o},c.min=function(n,o){return n.cmp(o)<0?n:o},c.prototype._init=function(n,o,f){if("number"==typeof n)return this._initNumber(n,o,f);if("object"==typeof n)return this._initArray(n,o,f);"hex"===o&&(o=16),p(o===(0|o)&&o>=2&&o<=36);var h=0;"-"===(n=n.toString().replace(/\s+/g,""))[0]&&(h++,this.negative=1),h<n.length&&(16===o?this._parseHex(n,h,f):(this._parseBase(n,o,h),"le"===f&&this._initArray(this.toArray(),o,f)))},c.prototype._initNumber=function(n,o,f){n<0&&(this.negative=1,n=-n),n<67108864?(this.words=[67108863&n],this.length=1):n<4503599627370496?(this.words=[67108863&n,n/67108864&67108863],this.length=2):(p(n<9007199254740992),this.words=[67108863&n,n/67108864&67108863,1],this.length=3),"le"===f&&this._initArray(this.toArray(),o,f)},c.prototype._initArray=function(n,o,f){if(p("number"==typeof n.length),n.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(n.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var b,A,k=0;if("be"===f)for(h=n.length-1,b=0;h>=0;h-=3)this.words[b]|=(A=n[h]|n[h-1]<<8|n[h-2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);else if("le"===f)for(h=0,b=0;h<n.length;h+=3)this.words[b]|=(A=n[h]|n[h+1]<<8|n[h+2]<<16)<<k&67108863,this.words[b+1]=A>>>26-k&67108863,(k+=24)>=26&&(k-=26,b++);return this.strip()},c.prototype._parseHex=function(n,o,f){this.length=Math.ceil((n.length-o)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var k,b=0,A=0;if("be"===f)for(h=n.length-1;h>=o;h-=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;else for(h=(n.length-o)%2==0?o+1:o;h<n.length;h+=2)k=g(n,o,h)<<b,this.words[A]|=67108863&k,b>=18?(b-=18,this.words[A+=1]|=k>>>26):b+=8;this.strip()},c.prototype._parseBase=function(n,o,f){this.words=[0],this.length=1;for(var h=0,b=1;b<=67108863;b*=o)h++;h--,b=b/o|0;for(var A=n.length-f,k=A%h,x=Math.min(A,A-k)+f,r=0,_=f;_<x;_+=h)r=d(n,_,_+h,o),this.imuln(b),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r);if(0!==k){var W=1;for(r=d(n,_,n.length,o),_=0;_<k;_++)W*=o;this.imuln(W),this.words[0]+r<67108864?this.words[0]+=r:this._iaddn(r)}this.strip()},c.prototype.copy=function(n){n.words=new Array(this.length);for(var o=0;o<this.length;o++)n.words[o]=this.words[o];n.length=this.length,n.negative=this.negative,n.red=this.red},c.prototype.clone=function(){var n=new c(null);return this.copy(n),n},c.prototype._expand=function(n){for(;this.length<n;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var w=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],P=[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 j(D,n,o){o.negative=n.negative^D.negative;var f=D.length+n.length|0;o.length=f,f=f-1|0;var h=0|D.words[0],b=0|n.words[0],A=h*b,x=A/67108864|0;o.words[0]=67108863&A;for(var r=1;r<f;r++){for(var _=x>>>26,W=67108863&x,I=Math.min(r,n.length-1),B=Math.max(0,r-D.length+1);B<=I;B++)_+=(A=(h=0|D.words[r-B|0])*(b=0|n.words[B])+W)/67108864|0,W=67108863&A;o.words[r]=0|W,x=0|_}return 0!==x?o.words[r]=0|x:o.length--,o.strip()}c.prototype.toString=function(n,o){var f;if(o=0|o||1,16===(n=n||10)||"hex"===n){f="";for(var h=0,b=0,A=0;A<this.length;A++){var k=this.words[A],x=(16777215&(k<<h|b)).toString(16);b=k>>>24-h&16777215,(h+=2)>=26&&(h-=26,A--),f=0!==b||A!==this.length-1?w[6-x.length]+x+f:x+f}for(0!==b&&(f=b.toString(16)+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(n===(0|n)&&n>=2&&n<=36){var r=m[n],_=P[n];f="";var W=this.clone();for(W.negative=0;!W.isZero();){var I=W.modn(_).toString(n);f=(W=W.idivn(_)).isZero()?I+f:w[r-I.length]+I+f}for(this.isZero()&&(f="0"+f);f.length%o!==0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}p(!1,"Base should be between 2 and 36")},c.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&&p(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-n:n},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(n,o){return p(typeof e<"u"),this.toArrayLike(e,n,o)},c.prototype.toArray=function(n,o){return this.toArrayLike(Array,n,o)},c.prototype.toArrayLike=function(n,o,f){var h=this.byteLength(),b=f||Math.max(1,h);p(h<=b,"byte array longer than desired length"),p(b>0,"Requested array length <= 0"),this.strip();var x,r,A="le"===o,k=new n(b),_=this.clone();if(A){for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[r]=x;for(;r<b;r++)k[r]=0}else{for(r=0;r<b-h;r++)k[r]=0;for(r=0;!_.isZero();r++)x=_.andln(255),_.iushrn(8),k[b-r-1]=x}return k},c.prototype._countBits=Math.clz32?function(n){return 32-Math.clz32(n)}:function(n){var o=n,f=0;return o>=4096&&(f+=13,o>>>=13),o>=64&&(f+=7,o>>>=7),o>=8&&(f+=4,o>>>=4),o>=2&&(f+=2,o>>>=2),f+o},c.prototype._zeroBits=function(n){if(0===n)return 26;var o=n,f=0;return!(8191&o)&&(f+=13,o>>>=13),!(127&o)&&(f+=7,o>>>=7),!(15&o)&&(f+=4,o>>>=4),!(3&o)&&(f+=2,o>>>=2),!(1&o)&&f++,f},c.prototype.bitLength=function(){var o=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+o},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var n=0,o=0;o<this.length;o++){var f=this._zeroBits(this.words[o]);if(n+=f,26!==f)break}return n},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(n){return 0!==this.negative?this.abs().inotn(n).iaddn(1):this.clone()},c.prototype.fromTwos=function(n){return this.testn(n-1)?this.notn(n).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(n){for(;this.length<n.length;)this.words[this.length++]=0;for(var o=0;o<n.length;o++)this.words[o]=this.words[o]|n.words[o];return this.strip()},c.prototype.ior=function(n){return p(0===(this.negative|n.negative)),this.iuor(n)},c.prototype.or=function(n){return this.length>n.length?this.clone().ior(n):n.clone().ior(this)},c.prototype.uor=function(n){return this.length>n.length?this.clone().iuor(n):n.clone().iuor(this)},c.prototype.iuand=function(n){var o;o=this.length>n.length?n:this;for(var f=0;f<o.length;f++)this.words[f]=this.words[f]&n.words[f];return this.length=o.length,this.strip()},c.prototype.iand=function(n){return p(0===(this.negative|n.negative)),this.iuand(n)},c.prototype.and=function(n){return this.length>n.length?this.clone().iand(n):n.clone().iand(this)},c.prototype.uand=function(n){return this.length>n.length?this.clone().iuand(n):n.clone().iuand(this)},c.prototype.iuxor=function(n){var o,f;this.length>n.length?(o=this,f=n):(o=n,f=this);for(var h=0;h<f.length;h++)this.words[h]=o.words[h]^f.words[h];if(this!==o)for(;h<o.length;h++)this.words[h]=o.words[h];return this.length=o.length,this.strip()},c.prototype.ixor=function(n){return p(0===(this.negative|n.negative)),this.iuxor(n)},c.prototype.xor=function(n){return this.length>n.length?this.clone().ixor(n):n.clone().ixor(this)},c.prototype.uxor=function(n){return this.length>n.length?this.clone().iuxor(n):n.clone().iuxor(this)},c.prototype.inotn=function(n){p("number"==typeof n&&n>=0);var o=0|Math.ceil(n/26),f=n%26;this._expand(o),f>0&&o--;for(var h=0;h<o;h++)this.words[h]=67108863&~this.words[h];return f>0&&(this.words[h]=~this.words[h]&67108863>>26-f),this.strip()},c.prototype.notn=function(n){return this.clone().inotn(n)},c.prototype.setn=function(n,o){p("number"==typeof n&&n>=0);var f=n/26|0,h=n%26;return this._expand(f+1),this.words[f]=o?this.words[f]|1<<h:this.words[f]&~(1<<h),this.strip()},c.prototype.iadd=function(n){var o,f,h;if(0!==this.negative&&0===n.negative)return this.negative=0,o=this.isub(n),this.negative^=1,this._normSign();if(0===this.negative&&0!==n.negative)return n.negative=0,o=this.isub(n),n.negative=1,o._normSign();this.length>n.length?(f=this,h=n):(f=n,h=this);for(var b=0,A=0;A<h.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+(0|h.words[A])+b),b=o>>>26;for(;0!==b&&A<f.length;A++)this.words[A]=67108863&(o=(0|f.words[A])+b),b=o>>>26;if(this.length=f.length,0!==b)this.words[this.length]=b,this.length++;else if(f!==this)for(;A<f.length;A++)this.words[A]=f.words[A];return this},c.prototype.add=function(n){var o;return 0!==n.negative&&0===this.negative?(n.negative=0,o=this.sub(n),n.negative^=1,o):0===n.negative&&0!==this.negative?(this.negative=0,o=n.sub(this),this.negative=1,o):this.length>n.length?this.clone().iadd(n):n.clone().iadd(this)},c.prototype.isub=function(n){if(0!==n.negative){n.negative=0;var o=this.iadd(n);return n.negative=1,o._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(n),this.negative=1,this._normSign();var h,b,f=this.cmp(n);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(h=this,b=n):(h=n,b=this);for(var A=0,k=0;k<b.length;k++)A=(o=(0|h.words[k])-(0|b.words[k])+A)>>26,this.words[k]=67108863&o;for(;0!==A&&k<h.length;k++)A=(o=(0|h.words[k])+A)>>26,this.words[k]=67108863&o;if(0===A&&k<h.length&&h!==this)for(;k<h.length;k++)this.words[k]=h.words[k];return this.length=Math.max(this.length,k),h!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(n){return this.clone().isub(n)};var U=function(n,o,f){var x,r,_,h=n.words,b=o.words,A=f.words,k=0,W=0|h[0],I=8191&W,B=W>>>13,re=0|h[1],pe=8191&re,be=re>>>13,Be=0|h[2],_e=8191&Be,ye=Be>>>13,Le=0|h[3],Ke=8191&Le,ge=Le>>>13,ve=0|h[4],Oe=8191&ve,Ee=ve>>>13,dt=0|h[5],nt=8191&dt,Ct=dt>>>13,Mt=0|h[6],lt=8191&Mt,Pe=Mt>>>13,Ht=0|h[7],ct=8191&Ht,Ce=Ht>>>13,ze=0|h[8],Z=8191&ze,J=ze>>>13,fe=0|h[9],Ie=8191&fe,ht=fe>>>13,li=0|b[0],Qt=8191&li,di=li>>>13,kt=0|b[1],Rt=8191&kt,le=kt>>>13,te=0|b[2],ce=8191&te,se=te>>>13,ke=0|b[3],Ue=8191&ke,Ne=ke>>>13,Kt=0|b[4],yt=8191&Kt,Vt=Kt>>>13,Zt=0|b[5],ti=8191&Zt,Ye=Zt>>>13,Nt=0|b[6],Et=8191&Nt,Jt=Nt>>>13,qe=0|b[7],$e=8191&qe,tt=qe>>>13,vi=0|b[8],ei=8191&vi,ci=vi>>>13,Hi=0|b[9],oi=8191&Hi,ui=Hi>>>13;f.negative=n.negative^o.negative,f.length=19;var ln=(k+(x=Math.imul(I,Qt))|0)+((8191&(r=(r=Math.imul(I,di))+Math.imul(B,Qt)|0))<<13)|0;k=((_=Math.imul(B,di))+(r>>>13)|0)+(ln>>>26)|0,ln&=67108863,x=Math.imul(pe,Qt),r=(r=Math.imul(pe,di))+Math.imul(be,Qt)|0,_=Math.imul(be,di);var nn=(k+(x=x+Math.imul(I,Rt)|0)|0)+((8191&(r=(r=r+Math.imul(I,le)|0)+Math.imul(B,Rt)|0))<<13)|0;k=((_=_+Math.imul(B,le)|0)+(r>>>13)|0)+(nn>>>26)|0,nn&=67108863,x=Math.imul(_e,Qt),r=(r=Math.imul(_e,di))+Math.imul(ye,Qt)|0,_=Math.imul(ye,di),x=x+Math.imul(pe,Rt)|0,r=(r=r+Math.imul(pe,le)|0)+Math.imul(be,Rt)|0,_=_+Math.imul(be,le)|0;var dn=(k+(x=x+Math.imul(I,ce)|0)|0)+((8191&(r=(r=r+Math.imul(I,se)|0)+Math.imul(B,ce)|0))<<13)|0;k=((_=_+Math.imul(B,se)|0)+(r>>>13)|0)+(dn>>>26)|0,dn&=67108863,x=Math.imul(Ke,Qt),r=(r=Math.imul(Ke,di))+Math.imul(ge,Qt)|0,_=Math.imul(ge,di),x=x+Math.imul(_e,Rt)|0,r=(r=r+Math.imul(_e,le)|0)+Math.imul(ye,Rt)|0,_=_+Math.imul(ye,le)|0,x=x+Math.imul(pe,ce)|0,r=(r=r+Math.imul(pe,se)|0)+Math.imul(be,ce)|0,_=_+Math.imul(be,se)|0;var zn=(k+(x=x+Math.imul(I,Ue)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ne)|0)+Math.imul(B,Ue)|0))<<13)|0;k=((_=_+Math.imul(B,Ne)|0)+(r>>>13)|0)+(zn>>>26)|0,zn&=67108863,x=Math.imul(Oe,Qt),r=(r=Math.imul(Oe,di))+Math.imul(Ee,Qt)|0,_=Math.imul(Ee,di),x=x+Math.imul(Ke,Rt)|0,r=(r=r+Math.imul(Ke,le)|0)+Math.imul(ge,Rt)|0,_=_+Math.imul(ge,le)|0,x=x+Math.imul(_e,ce)|0,r=(r=r+Math.imul(_e,se)|0)+Math.imul(ye,ce)|0,_=_+Math.imul(ye,se)|0,x=x+Math.imul(pe,Ue)|0,r=(r=r+Math.imul(pe,Ne)|0)+Math.imul(be,Ue)|0,_=_+Math.imul(be,Ne)|0;var It=(k+(x=x+Math.imul(I,yt)|0)|0)+((8191&(r=(r=r+Math.imul(I,Vt)|0)+Math.imul(B,yt)|0))<<13)|0;k=((_=_+Math.imul(B,Vt)|0)+(r>>>13)|0)+(It>>>26)|0,It&=67108863,x=Math.imul(nt,Qt),r=(r=Math.imul(nt,di))+Math.imul(Ct,Qt)|0,_=Math.imul(Ct,di),x=x+Math.imul(Oe,Rt)|0,r=(r=r+Math.imul(Oe,le)|0)+Math.imul(Ee,Rt)|0,_=_+Math.imul(Ee,le)|0,x=x+Math.imul(Ke,ce)|0,r=(r=r+Math.imul(Ke,se)|0)+Math.imul(ge,ce)|0,_=_+Math.imul(ge,se)|0,x=x+Math.imul(_e,Ue)|0,r=(r=r+Math.imul(_e,Ne)|0)+Math.imul(ye,Ue)|0,_=_+Math.imul(ye,Ne)|0,x=x+Math.imul(pe,yt)|0,r=(r=r+Math.imul(pe,Vt)|0)+Math.imul(be,yt)|0,_=_+Math.imul(be,Vt)|0;var Tt=(k+(x=x+Math.imul(I,ti)|0)|0)+((8191&(r=(r=r+Math.imul(I,Ye)|0)+Math.imul(B,ti)|0))<<13)|0;k=((_=_+Math.imul(B,Ye)|0)+(r>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,x=Math.imul(lt,Qt),r=(r=Math.imul(lt,di))+Math.imul(Pe,Qt)|0,_=Math.imul(Pe,di),x=x+Math.imul(nt,Rt)|0,r=(r=r+Math.imul(nt,le)|0)+Math.imul(Ct,Rt)|0,_=_+Math.imul(Ct,le)|0,x=x+Math.imul(Oe,ce)|0,r=(r=r+Math.imul(Oe,se)|0)+Math.imul(Ee,ce)|0,_=_+Math.imul(Ee,se)|0,x=x+Math.imul(Ke,Ue)|0,r=(r=r+Math.imul(Ke,Ne)|0)+Math.imul(ge,Ue)|0,_=_+Math.imul(ge,Ne)|0,x=x+Math.imul(_e,yt)|0,r=(r=r+Math.imul(_e,Vt)|0)+Math.imul(ye,yt)|0,_=_+Math.imul(ye,Vt)|0,x=x+Math.imul(pe,ti)|0,r=(r=r+Math.imul(pe,Ye)|0)+Math.imul(be,ti)|0,_=_+Math.imul(be,Ye)|0;var Ze=(k+(x=x+Math.imul(I,Et)|0)|0)+((8191&(r=(r=r+Math.imul(I,Jt)|0)+Math.imul(B,Et)|0))<<13)|0;k=((_=_+Math.imul(B,Jt)|0)+(r>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,x=Math.imul(ct,Qt),r=(r=Math.imul(ct,di))+Math.imul(Ce,Qt)|0,_=Math.imul(Ce,di),x=x+Math.imul(lt,Rt)|0,r=(r=r+Math.imul(lt,le)|0)+Math.imul(Pe,Rt)|0,_=_+Math.imul(Pe,le)|0,x=x+Math.imul(nt,ce)|0,r=(r=r+Math.imul(nt,se)|0)+Math.imul(Ct,ce)|0,_=_+Math.imul(Ct,se)|0,x=x+Math.imul(Oe,Ue)|0,r=(r=r+Math.imul(Oe,Ne)|0)+Math.imul(Ee,Ue)|0,_=_+Math.imul(Ee,Ne)|0,x=x+Math.imul(Ke,yt)|0,r=(r=r+Math.imul(Ke,Vt)|0)+Math.imul(ge,yt)|0,_=_+Math.imul(ge,Vt)|0,x=x+Math.imul(_e,ti)|0,r=(r=r+Math.imul(_e,Ye)|0)+Math.imul(ye,ti)|0,_=_+Math.imul(ye,Ye)|0,x=x+Math.imul(pe,Et)|0,r=(r=r+Math.imul(pe,Jt)|0)+Math.imul(be,Et)|0,_=_+Math.imul(be,Jt)|0;var Ve=(k+(x=x+Math.imul(I,$e)|0)|0)+((8191&(r=(r=r+Math.imul(I,tt)|0)+Math.imul(B,$e)|0))<<13)|0;k=((_=_+Math.imul(B,tt)|0)+(r>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,x=Math.imul(Z,Qt),r=(r=Math.imul(Z,di))+Math.imul(J,Qt)|0,_=Math.imul(J,di),x=x+Math.imul(ct,Rt)|0,r=(r=r+Math.imul(ct,le)|0)+Math.imul(Ce,Rt)|0,_=_+Math.imul(Ce,le)|0,x=x+Math.imul(lt,ce)|0,r=(r=r+Math.imul(lt,se)|0)+Math.imul(Pe,ce)|0,_=_+Math.imul(Pe,se)|0,x=x+Math.imul(nt,Ue)|0,r=(r=r+Math.imul(nt,Ne)|0)+Math.imul(Ct,Ue)|0,_=_+Math.imul(Ct,Ne)|0,x=x+Math.imul(Oe,yt)|0,r=(r=r+Math.imul(Oe,Vt)|0)+Math.imul(Ee,yt)|0,_=_+Math.imul(Ee,Vt)|0,x=x+Math.imul(Ke,ti)|0,r=(r=r+Math.imul(Ke,Ye)|0)+Math.imul(ge,ti)|0,_=_+Math.imul(ge,Ye)|0,x=x+Math.imul(_e,Et)|0,r=(r=r+Math.imul(_e,Jt)|0)+Math.imul(ye,Et)|0,_=_+Math.imul(ye,Jt)|0,x=x+Math.imul(pe,$e)|0,r=(r=r+Math.imul(pe,tt)|0)+Math.imul(be,$e)|0,_=_+Math.imul(be,tt)|0;var Fe=(k+(x=x+Math.imul(I,ei)|0)|0)+((8191&(r=(r=r+Math.imul(I,ci)|0)+Math.imul(B,ei)|0))<<13)|0;k=((_=_+Math.imul(B,ci)|0)+(r>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,x=Math.imul(Ie,Qt),r=(r=Math.imul(Ie,di))+Math.imul(ht,Qt)|0,_=Math.imul(ht,di),x=x+Math.imul(Z,Rt)|0,r=(r=r+Math.imul(Z,le)|0)+Math.imul(J,Rt)|0,_=_+Math.imul(J,le)|0,x=x+Math.imul(ct,ce)|0,r=(r=r+Math.imul(ct,se)|0)+Math.imul(Ce,ce)|0,_=_+Math.imul(Ce,se)|0,x=x+Math.imul(lt,Ue)|0,r=(r=r+Math.imul(lt,Ne)|0)+Math.imul(Pe,Ue)|0,_=_+Math.imul(Pe,Ne)|0,x=x+Math.imul(nt,yt)|0,r=(r=r+Math.imul(nt,Vt)|0)+Math.imul(Ct,yt)|0,_=_+Math.imul(Ct,Vt)|0,x=x+Math.imul(Oe,ti)|0,r=(r=r+Math.imul(Oe,Ye)|0)+Math.imul(Ee,ti)|0,_=_+Math.imul(Ee,Ye)|0,x=x+Math.imul(Ke,Et)|0,r=(r=r+Math.imul(Ke,Jt)|0)+Math.imul(ge,Et)|0,_=_+Math.imul(ge,Jt)|0,x=x+Math.imul(_e,$e)|0,r=(r=r+Math.imul(_e,tt)|0)+Math.imul(ye,$e)|0,_=_+Math.imul(ye,tt)|0,x=x+Math.imul(pe,ei)|0,r=(r=r+Math.imul(pe,ci)|0)+Math.imul(be,ei)|0,_=_+Math.imul(be,ci)|0;var it=(k+(x=x+Math.imul(I,oi)|0)|0)+((8191&(r=(r=r+Math.imul(I,ui)|0)+Math.imul(B,oi)|0))<<13)|0;k=((_=_+Math.imul(B,ui)|0)+(r>>>13)|0)+(it>>>26)|0,it&=67108863,x=Math.imul(Ie,Rt),r=(r=Math.imul(Ie,le))+Math.imul(ht,Rt)|0,_=Math.imul(ht,le),x=x+Math.imul(Z,ce)|0,r=(r=r+Math.imul(Z,se)|0)+Math.imul(J,ce)|0,_=_+Math.imul(J,se)|0,x=x+Math.imul(ct,Ue)|0,r=(r=r+Math.imul(ct,Ne)|0)+Math.imul(Ce,Ue)|0,_=_+Math.imul(Ce,Ne)|0,x=x+Math.imul(lt,yt)|0,r=(r=r+Math.imul(lt,Vt)|0)+Math.imul(Pe,yt)|0,_=_+Math.imul(Pe,Vt)|0,x=x+Math.imul(nt,ti)|0,r=(r=r+Math.imul(nt,Ye)|0)+Math.imul(Ct,ti)|0,_=_+Math.imul(Ct,Ye)|0,x=x+Math.imul(Oe,Et)|0,r=(r=r+Math.imul(Oe,Jt)|0)+Math.imul(Ee,Et)|0,_=_+Math.imul(Ee,Jt)|0,x=x+Math.imul(Ke,$e)|0,r=(r=r+Math.imul(Ke,tt)|0)+Math.imul(ge,$e)|0,_=_+Math.imul(ge,tt)|0,x=x+Math.imul(_e,ei)|0,r=(r=r+Math.imul(_e,ci)|0)+Math.imul(ye,ei)|0,_=_+Math.imul(ye,ci)|0;var bt=(k+(x=x+Math.imul(pe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(pe,ui)|0)+Math.imul(be,oi)|0))<<13)|0;k=((_=_+Math.imul(be,ui)|0)+(r>>>13)|0)+(bt>>>26)|0,bt&=67108863,x=Math.imul(Ie,ce),r=(r=Math.imul(Ie,se))+Math.imul(ht,ce)|0,_=Math.imul(ht,se),x=x+Math.imul(Z,Ue)|0,r=(r=r+Math.imul(Z,Ne)|0)+Math.imul(J,Ue)|0,_=_+Math.imul(J,Ne)|0,x=x+Math.imul(ct,yt)|0,r=(r=r+Math.imul(ct,Vt)|0)+Math.imul(Ce,yt)|0,_=_+Math.imul(Ce,Vt)|0,x=x+Math.imul(lt,ti)|0,r=(r=r+Math.imul(lt,Ye)|0)+Math.imul(Pe,ti)|0,_=_+Math.imul(Pe,Ye)|0,x=x+Math.imul(nt,Et)|0,r=(r=r+Math.imul(nt,Jt)|0)+Math.imul(Ct,Et)|0,_=_+Math.imul(Ct,Jt)|0,x=x+Math.imul(Oe,$e)|0,r=(r=r+Math.imul(Oe,tt)|0)+Math.imul(Ee,$e)|0,_=_+Math.imul(Ee,tt)|0,x=x+Math.imul(Ke,ei)|0,r=(r=r+Math.imul(Ke,ci)|0)+Math.imul(ge,ei)|0,_=_+Math.imul(ge,ci)|0;var ut=(k+(x=x+Math.imul(_e,oi)|0)|0)+((8191&(r=(r=r+Math.imul(_e,ui)|0)+Math.imul(ye,oi)|0))<<13)|0;k=((_=_+Math.imul(ye,ui)|0)+(r>>>13)|0)+(ut>>>26)|0,ut&=67108863,x=Math.imul(Ie,Ue),r=(r=Math.imul(Ie,Ne))+Math.imul(ht,Ue)|0,_=Math.imul(ht,Ne),x=x+Math.imul(Z,yt)|0,r=(r=r+Math.imul(Z,Vt)|0)+Math.imul(J,yt)|0,_=_+Math.imul(J,Vt)|0,x=x+Math.imul(ct,ti)|0,r=(r=r+Math.imul(ct,Ye)|0)+Math.imul(Ce,ti)|0,_=_+Math.imul(Ce,Ye)|0,x=x+Math.imul(lt,Et)|0,r=(r=r+Math.imul(lt,Jt)|0)+Math.imul(Pe,Et)|0,_=_+Math.imul(Pe,Jt)|0,x=x+Math.imul(nt,$e)|0,r=(r=r+Math.imul(nt,tt)|0)+Math.imul(Ct,$e)|0,_=_+Math.imul(Ct,tt)|0,x=x+Math.imul(Oe,ei)|0,r=(r=r+Math.imul(Oe,ci)|0)+Math.imul(Ee,ei)|0,_=_+Math.imul(Ee,ci)|0;var jt=(k+(x=x+Math.imul(Ke,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Ke,ui)|0)+Math.imul(ge,oi)|0))<<13)|0;k=((_=_+Math.imul(ge,ui)|0)+(r>>>13)|0)+(jt>>>26)|0,jt&=67108863,x=Math.imul(Ie,yt),r=(r=Math.imul(Ie,Vt))+Math.imul(ht,yt)|0,_=Math.imul(ht,Vt),x=x+Math.imul(Z,ti)|0,r=(r=r+Math.imul(Z,Ye)|0)+Math.imul(J,ti)|0,_=_+Math.imul(J,Ye)|0,x=x+Math.imul(ct,Et)|0,r=(r=r+Math.imul(ct,Jt)|0)+Math.imul(Ce,Et)|0,_=_+Math.imul(Ce,Jt)|0,x=x+Math.imul(lt,$e)|0,r=(r=r+Math.imul(lt,tt)|0)+Math.imul(Pe,$e)|0,_=_+Math.imul(Pe,tt)|0,x=x+Math.imul(nt,ei)|0,r=(r=r+Math.imul(nt,ci)|0)+Math.imul(Ct,ei)|0,_=_+Math.imul(Ct,ci)|0;var ai=(k+(x=x+Math.imul(Oe,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Oe,ui)|0)+Math.imul(Ee,oi)|0))<<13)|0;k=((_=_+Math.imul(Ee,ui)|0)+(r>>>13)|0)+(ai>>>26)|0,ai&=67108863,x=Math.imul(Ie,ti),r=(r=Math.imul(Ie,Ye))+Math.imul(ht,ti)|0,_=Math.imul(ht,Ye),x=x+Math.imul(Z,Et)|0,r=(r=r+Math.imul(Z,Jt)|0)+Math.imul(J,Et)|0,_=_+Math.imul(J,Jt)|0,x=x+Math.imul(ct,$e)|0,r=(r=r+Math.imul(ct,tt)|0)+Math.imul(Ce,$e)|0,_=_+Math.imul(Ce,tt)|0,x=x+Math.imul(lt,ei)|0,r=(r=r+Math.imul(lt,ci)|0)+Math.imul(Pe,ei)|0,_=_+Math.imul(Pe,ci)|0;var pi=(k+(x=x+Math.imul(nt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(nt,ui)|0)+Math.imul(Ct,oi)|0))<<13)|0;k=((_=_+Math.imul(Ct,ui)|0)+(r>>>13)|0)+(pi>>>26)|0,pi&=67108863,x=Math.imul(Ie,Et),r=(r=Math.imul(Ie,Jt))+Math.imul(ht,Et)|0,_=Math.imul(ht,Jt),x=x+Math.imul(Z,$e)|0,r=(r=r+Math.imul(Z,tt)|0)+Math.imul(J,$e)|0,_=_+Math.imul(J,tt)|0,x=x+Math.imul(ct,ei)|0,r=(r=r+Math.imul(ct,ci)|0)+Math.imul(Ce,ei)|0,_=_+Math.imul(Ce,ci)|0;var ki=(k+(x=x+Math.imul(lt,oi)|0)|0)+((8191&(r=(r=r+Math.imul(lt,ui)|0)+Math.imul(Pe,oi)|0))<<13)|0;k=((_=_+Math.imul(Pe,ui)|0)+(r>>>13)|0)+(ki>>>26)|0,ki&=67108863,x=Math.imul(Ie,$e),r=(r=Math.imul(Ie,tt))+Math.imul(ht,$e)|0,_=Math.imul(ht,tt),x=x+Math.imul(Z,ei)|0,r=(r=r+Math.imul(Z,ci)|0)+Math.imul(J,ei)|0,_=_+Math.imul(J,ci)|0;var Ki=(k+(x=x+Math.imul(ct,oi)|0)|0)+((8191&(r=(r=r+Math.imul(ct,ui)|0)+Math.imul(Ce,oi)|0))<<13)|0;k=((_=_+Math.imul(Ce,ui)|0)+(r>>>13)|0)+(Ki>>>26)|0,Ki&=67108863,x=Math.imul(Ie,ei),r=(r=Math.imul(Ie,ci))+Math.imul(ht,ei)|0,_=Math.imul(ht,ci);var Ji=(k+(x=x+Math.imul(Z,oi)|0)|0)+((8191&(r=(r=r+Math.imul(Z,ui)|0)+Math.imul(J,oi)|0))<<13)|0;k=((_=_+Math.imul(J,ui)|0)+(r>>>13)|0)+(Ji>>>26)|0,Ji&=67108863;var Dn=(k+(x=Math.imul(Ie,oi))|0)+((8191&(r=(r=Math.imul(Ie,ui))+Math.imul(ht,oi)|0))<<13)|0;return k=((_=Math.imul(ht,ui))+(r>>>13)|0)+(Dn>>>26)|0,Dn&=67108863,A[0]=ln,A[1]=nn,A[2]=dn,A[3]=zn,A[4]=It,A[5]=Tt,A[6]=Ze,A[7]=Ve,A[8]=Fe,A[9]=it,A[10]=bt,A[11]=ut,A[12]=jt,A[13]=ai,A[14]=pi,A[15]=ki,A[16]=Ki,A[17]=Ji,A[18]=Dn,0!==k&&(A[19]=k,f.length++),f};function q(D,n,o){return(new G).mulp(D,n,o)}function G(D,n){this.x=D,this.y=n}Math.imul||(U=j),c.prototype.mulTo=function(n,o){var f,h=this.length+n.length;return f=10===this.length&&10===n.length?U(this,n,o):h<63?j(this,n,o):h<1024?function K(D,n,o){o.negative=n.negative^D.negative,o.length=D.length+n.length;for(var f=0,h=0,b=0;b<o.length-1;b++){var A=h;h=0;for(var k=67108863&f,x=Math.min(b,n.length-1),r=Math.max(0,b-D.length+1);r<=x;r++){var B=(0|D.words[b-r])*(0|n.words[r]),re=67108863&B;k=67108863&(re=re+k|0),h+=(A=(A=A+(B/67108864|0)|0)+(re>>>26)|0)>>>26,A&=67108863}o.words[b]=k,f=A,A=h}return 0!==f?o.words[b]=f:o.length--,o.strip()}(this,n,o):q(this,n,o),f},G.prototype.makeRBT=function(n){for(var o=new Array(n),f=c.prototype._countBits(n)-1,h=0;h<n;h++)o[h]=this.revBin(h,f,n);return o},G.prototype.revBin=function(n,o,f){if(0===n||n===f-1)return n;for(var h=0,b=0;b<o;b++)h|=(1&n)<<o-b-1,n>>=1;return h},G.prototype.permute=function(n,o,f,h,b,A){for(var k=0;k<A;k++)h[k]=o[n[k]],b[k]=f[n[k]]},G.prototype.transform=function(n,o,f,h,b,A){this.permute(A,n,o,f,h,b);for(var k=1;k<b;k<<=1)for(var x=k<<1,r=Math.cos(2*Math.PI/x),_=Math.sin(2*Math.PI/x),W=0;W<b;W+=x)for(var I=r,B=_,re=0;re<k;re++){var pe=f[W+re],be=h[W+re],Be=f[W+re+k],_e=h[W+re+k],ye=I*Be-B*_e;_e=I*_e+B*Be,f[W+re]=pe+(Be=ye),h[W+re]=be+_e,f[W+re+k]=pe-Be,h[W+re+k]=be-_e,re!==x&&(ye=r*I-_*B,B=r*B+_*I,I=ye)}},G.prototype.guessLen13b=function(n,o){var f=1|Math.max(o,n),h=1&f,b=0;for(f=f/2|0;f;f>>>=1)b++;return 1<<b+1+h},G.prototype.conjugate=function(n,o,f){if(!(f<=1))for(var h=0;h<f/2;h++){var b=n[h];n[h]=n[f-h-1],n[f-h-1]=b,b=o[h],o[h]=-o[f-h-1],o[f-h-1]=-b}},G.prototype.normalize13b=function(n,o){for(var f=0,h=0;h<o/2;h++){var b=8192*Math.round(n[2*h+1]/o)+Math.round(n[2*h]/o)+f;n[h]=67108863&b,f=b<67108864?0:b/67108864|0}return n},G.prototype.convert13b=function(n,o,f,h){for(var b=0,A=0;A<o;A++)f[2*A]=8191&(b+=0|n[A]),f[2*A+1]=8191&(b>>>=13),b>>>=13;for(A=2*o;A<h;++A)f[A]=0;p(0===b),p(!(-8192&b))},G.prototype.stub=function(n){for(var o=new Array(n),f=0;f<n;f++)o[f]=0;return o},G.prototype.mulp=function(n,o,f){var h=2*this.guessLen13b(n.length,o.length),b=this.makeRBT(h),A=this.stub(h),k=new Array(h),x=new Array(h),r=new Array(h),_=new Array(h),W=new Array(h),I=new Array(h),B=f.words;B.length=h,this.convert13b(n.words,n.length,k,h),this.convert13b(o.words,o.length,_,h),this.transform(k,A,x,r,h,b),this.transform(_,A,W,I,h,b);for(var re=0;re<h;re++){var pe=x[re]*W[re]-r[re]*I[re];r[re]=x[re]*I[re]+r[re]*W[re],x[re]=pe}return this.conjugate(x,r,h),this.transform(x,r,B,A,h,b),this.conjugate(B,A,h),this.normalize13b(B,h),f.negative=n.negative^o.negative,f.length=n.length+o.length,f.strip()},c.prototype.mul=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),this.mulTo(n,o)},c.prototype.mulf=function(n){var o=new c(null);return o.words=new Array(this.length+n.length),q(this,n,o)},c.prototype.imul=function(n){return this.clone().mulTo(n,this)},c.prototype.imuln=function(n){p("number"==typeof n),p(n<67108864);for(var o=0,f=0;f<this.length;f++){var h=(0|this.words[f])*n,b=(67108863&h)+(67108863&o);o>>=26,o+=h/67108864|0,o+=b>>>26,this.words[f]=67108863&b}return 0!==o&&(this.words[f]=o,this.length++),this.length=0===n?1:this.length,this},c.prototype.muln=function(n){return this.clone().imuln(n)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(n){var o=function M(D){for(var n=new Array(D.bitLength()),o=0;o<n.length;o++){var h=o%26;n[o]=(D.words[o/26|0]&1<<h)>>>h}return n}(n);if(0===o.length)return new c(1);for(var f=this,h=0;h<o.length&&0===o[h];h++,f=f.sqr());if(++h<o.length)for(var b=f.sqr();h<o.length;h++,b=b.sqr())0!==o[h]&&(f=f.mul(b));return f},c.prototype.iushln=function(n){p("number"==typeof n&&n>=0);var b,o=n%26,f=(n-o)/26,h=67108863>>>26-o<<26-o;if(0!==o){var A=0;for(b=0;b<this.length;b++){var k=this.words[b]&h;this.words[b]=(0|this.words[b])-k<<o|A,A=k>>>26-o}A&&(this.words[b]=A,this.length++)}if(0!==f){for(b=this.length-1;b>=0;b--)this.words[b+f]=this.words[b];for(b=0;b<f;b++)this.words[b]=0;this.length+=f}return this.strip()},c.prototype.ishln=function(n){return p(0===this.negative),this.iushln(n)},c.prototype.iushrn=function(n,o,f){var h;p("number"==typeof n&&n>=0),h=o?(o-o%26)/26:0;var b=n%26,A=Math.min((n-b)/26,this.length),k=67108863^67108863>>>b<<b,x=f;if(h-=A,h=Math.max(0,h),x){for(var r=0;r<A;r++)x.words[r]=this.words[r];x.length=A}if(0!==A)if(this.length>A)for(this.length-=A,r=0;r<this.length;r++)this.words[r]=this.words[r+A];else this.words[0]=0,this.length=1;var _=0;for(r=this.length-1;r>=0&&(0!==_||r>=h);r--){var W=0|this.words[r];this.words[r]=_<<26-b|W>>>b,_=W&k}return x&&0!==_&&(x.words[x.length++]=_),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(n,o,f){return p(0===this.negative),this.iushrn(n,o,f)},c.prototype.shln=function(n){return this.clone().ishln(n)},c.prototype.ushln=function(n){return this.clone().iushln(n)},c.prototype.shrn=function(n){return this.clone().ishrn(n)},c.prototype.ushrn=function(n){return this.clone().iushrn(n)},c.prototype.testn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return!(this.length<=f||!(this.words[f]&1<<o))},c.prototype.imaskn=function(n){p("number"==typeof n&&n>=0);var o=n%26,f=(n-o)/26;return p(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==o&&f++,this.length=Math.min(f,this.length),0!==o&&(this.words[this.length-1]&=67108863^67108863>>>o<<o),this.strip())},c.prototype.maskn=function(n){return this.clone().imaskn(n)},c.prototype.iaddn=function(n){return p("number"==typeof n),p(n<67108864),n<0?this.isubn(-n):0!==this.negative?1===this.length&&(0|this.words[0])<n?(this.words[0]=n-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(n),this.negative=1,this):this._iaddn(n)},c.prototype._iaddn=function(n){this.words[0]+=n;for(var o=0;o<this.length&&this.words[o]>=67108864;o++)this.words[o]-=67108864,o===this.length-1?this.words[o+1]=1:this.words[o+1]++;return this.length=Math.max(this.length,o+1),this},c.prototype.isubn=function(n){if(p("number"==typeof n),p(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 o=0;o<this.length&&this.words[o]<0;o++)this.words[o]+=67108864,this.words[o+1]-=1;return this.strip()},c.prototype.addn=function(n){return this.clone().iaddn(n)},c.prototype.subn=function(n){return this.clone().isubn(n)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(n,o,f){var b;this._expand(n.length+f);var A,k=0;for(b=0;b<n.length;b++){A=(0|this.words[b+f])+k;var x=(0|n.words[b])*o;k=((A-=67108863&x)>>26)-(x/67108864|0),this.words[b+f]=67108863&A}for(;b<this.length-f;b++)k=(A=(0|this.words[b+f])+k)>>26,this.words[b+f]=67108863&A;if(0===k)return this.strip();for(p(-1===k),k=0,b=0;b<this.length;b++)k=(A=-(0|this.words[b])+k)>>26,this.words[b]=67108863&A;return this.negative=1,this.strip()},c.prototype._wordDiv=function(n,o){var f,h=this.clone(),b=n,A=0|b.words[b.length-1];0!=(f=26-this._countBits(A))&&(b=b.ushln(f),h.iushln(f),A=0|b.words[b.length-1]);var r,x=h.length-b.length;if("mod"!==o){(r=new c(null)).length=x+1,r.words=new Array(r.length);for(var _=0;_<r.length;_++)r.words[_]=0}var W=h.clone()._ishlnsubmul(b,1,x);0===W.negative&&(h=W,r&&(r.words[x]=1));for(var I=x-1;I>=0;I--){var B=67108864*(0|h.words[b.length+I])+(0|h.words[b.length+I-1]);for(B=Math.min(B/A|0,67108863),h._ishlnsubmul(b,B,I);0!==h.negative;)B--,h.negative=0,h._ishlnsubmul(b,1,I),h.isZero()||(h.negative^=1);r&&(r.words[I]=B)}return r&&r.strip(),h.strip(),"div"!==o&&0!==f&&h.iushrn(f),{div:r||null,mod:h}},c.prototype.divmod=function(n,o,f){return p(!n.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===n.negative?(A=this.neg().divmod(n,o),"mod"!==o&&(h=A.div.neg()),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.iadd(n)),{div:h,mod:b}):0===this.negative&&0!==n.negative?(A=this.divmod(n.neg(),o),"mod"!==o&&(h=A.div.neg()),{div:h,mod:A.mod}):0!==(this.negative&n.negative)?(A=this.neg().divmod(n.neg(),o),"div"!==o&&(b=A.mod.neg(),f&&0!==b.negative&&b.isub(n)),{div:A.div,mod:b}):n.length>this.length||this.cmp(n)<0?{div:new c(0),mod:this}:1===n.length?"div"===o?{div:this.divn(n.words[0]),mod:null}:"mod"===o?{div:null,mod:new c(this.modn(n.words[0]))}:{div:this.divn(n.words[0]),mod:new c(this.modn(n.words[0]))}:this._wordDiv(n,o);var h,b,A},c.prototype.div=function(n){return this.divmod(n,"div",!1).div},c.prototype.mod=function(n){return this.divmod(n,"mod",!1).mod},c.prototype.umod=function(n){return this.divmod(n,"mod",!0).mod},c.prototype.divRound=function(n){var o=this.divmod(n);if(o.mod.isZero())return o.div;var f=0!==o.div.negative?o.mod.isub(n):o.mod,h=n.ushrn(1),b=n.andln(1),A=f.cmp(h);return A<0||1===b&&0===A?o.div:0!==o.div.negative?o.div.isubn(1):o.div.iaddn(1)},c.prototype.modn=function(n){p(n<=67108863);for(var o=(1<<26)%n,f=0,h=this.length-1;h>=0;h--)f=(o*f+(0|this.words[h]))%n;return f},c.prototype.idivn=function(n){p(n<=67108863);for(var o=0,f=this.length-1;f>=0;f--){var h=(0|this.words[f])+67108864*o;this.words[f]=h/n|0,o=h%n}return this.strip()},c.prototype.divn=function(n){return this.clone().idivn(n)},c.prototype.egcd=function(n){p(0===n.negative),p(!n.isZero());var o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=new c(0),k=new c(1),x=0;o.isEven()&&f.isEven();)o.iushrn(1),f.iushrn(1),++x;for(var r=f.clone(),_=o.clone();!o.isZero();){for(var W=0,I=1;0===(o.words[0]&I)&&W<26;++W,I<<=1);if(W>0)for(o.iushrn(W);W-- >0;)(h.isOdd()||b.isOdd())&&(h.iadd(r),b.isub(_)),h.iushrn(1),b.iushrn(1);for(var B=0,re=1;0===(f.words[0]&re)&&B<26;++B,re<<=1);if(B>0)for(f.iushrn(B);B-- >0;)(A.isOdd()||k.isOdd())&&(A.iadd(r),k.isub(_)),A.iushrn(1),k.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(A),b.isub(k)):(f.isub(o),A.isub(h),k.isub(b))}return{a:A,b:k,gcd:f.iushln(x)}},c.prototype._invmp=function(n){p(0===n.negative),p(!n.isZero());var W,o=this,f=n.clone();o=0!==o.negative?o.umod(n):o.clone();for(var h=new c(1),b=new c(0),A=f.clone();o.cmpn(1)>0&&f.cmpn(1)>0;){for(var k=0,x=1;0===(o.words[0]&x)&&k<26;++k,x<<=1);if(k>0)for(o.iushrn(k);k-- >0;)h.isOdd()&&h.iadd(A),h.iushrn(1);for(var r=0,_=1;0===(f.words[0]&_)&&r<26;++r,_<<=1);if(r>0)for(f.iushrn(r);r-- >0;)b.isOdd()&&b.iadd(A),b.iushrn(1);o.cmp(f)>=0?(o.isub(f),h.isub(b)):(f.isub(o),b.isub(h))}return(W=0===o.cmpn(1)?h:b).cmpn(0)<0&&W.iadd(n),W},c.prototype.gcd=function(n){if(this.isZero())return n.abs();if(n.isZero())return this.abs();var o=this.clone(),f=n.clone();o.negative=0,f.negative=0;for(var h=0;o.isEven()&&f.isEven();h++)o.iushrn(1),f.iushrn(1);for(;;){for(;o.isEven();)o.iushrn(1);for(;f.isEven();)f.iushrn(1);var b=o.cmp(f);if(b<0){var A=o;o=f,f=A}else if(0===b||0===f.cmpn(1))break;o.isub(f)}return f.iushln(h)},c.prototype.invm=function(n){return this.egcd(n).a.umod(n)},c.prototype.isEven=function(){return!(1&this.words[0])},c.prototype.isOdd=function(){return!(1&~this.words[0])},c.prototype.andln=function(n){return this.words[0]&n},c.prototype.bincn=function(n){p("number"==typeof n);var o=n%26,f=(n-o)/26,h=1<<o;if(this.length<=f)return this._expand(f+1),this.words[f]|=h,this;for(var b=h,A=f;0!==b&&A<this.length;A++){var k=0|this.words[A];b=(k+=b)>>>26,this.words[A]=k&=67108863}return 0!==b&&(this.words[A]=b,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(n){var f,o=n<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)f=1;else{o&&(n=-n),p(n<=67108863,"Number is too big");var h=0|this.words[0];f=h===n?0:h<n?-1:1}return 0!==this.negative?0|-f:f},c.prototype.cmp=function(n){if(0!==this.negative&&0===n.negative)return-1;if(0===this.negative&&0!==n.negative)return 1;var o=this.ucmp(n);return 0!==this.negative?0|-o:o},c.prototype.ucmp=function(n){if(this.length>n.length)return 1;if(this.length<n.length)return-1;for(var o=0,f=this.length-1;f>=0;f--){var h=0|this.words[f],b=0|n.words[f];if(h!==b){h<b?o=-1:h>b&&(o=1);break}}return o},c.prototype.gtn=function(n){return 1===this.cmpn(n)},c.prototype.gt=function(n){return 1===this.cmp(n)},c.prototype.gten=function(n){return this.cmpn(n)>=0},c.prototype.gte=function(n){return this.cmp(n)>=0},c.prototype.ltn=function(n){return-1===this.cmpn(n)},c.prototype.lt=function(n){return-1===this.cmp(n)},c.prototype.lten=function(n){return this.cmpn(n)<=0},c.prototype.lte=function(n){return this.cmp(n)<=0},c.prototype.eqn=function(n){return 0===this.cmpn(n)},c.prototype.eq=function(n){return 0===this.cmp(n)},c.red=function(n){return new me(n)},c.prototype.toRed=function(n){return p(!this.red,"Already a number in reduction context"),p(0===this.negative,"red works only with positives"),n.convertTo(this)._forceRed(n)},c.prototype.fromRed=function(){return p(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(n){return this.red=n,this},c.prototype.forceRed=function(n){return p(!this.red,"Already a number in reduction context"),this._forceRed(n)},c.prototype.redAdd=function(n){return p(this.red,"redAdd works only with red numbers"),this.red.add(this,n)},c.prototype.redIAdd=function(n){return p(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,n)},c.prototype.redSub=function(n){return p(this.red,"redSub works only with red numbers"),this.red.sub(this,n)},c.prototype.redISub=function(n){return p(this.red,"redISub works only with red numbers"),this.red.isub(this,n)},c.prototype.redShl=function(n){return p(this.red,"redShl works only with red numbers"),this.red.shl(this,n)},c.prototype.redMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.mul(this,n)},c.prototype.redIMul=function(n){return p(this.red,"redMul works only with red numbers"),this.red._verify2(this,n),this.red.imul(this,n)},c.prototype.redSqr=function(){return p(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return p(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return p(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return p(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return p(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(n){return p(this.red&&!n.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,n)};var Q={k256:null,p224:null,p192:null,p25519:null};function $(D,n){this.name=D,this.p=new c(n,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ae(){$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ue(){$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function oe(){$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function he(){$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function me(D){if("string"==typeof D){var n=c._prime(D);this.m=n.p,this.prime=n}else p(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}function Te(D){me.call(this,D),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(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)}$.prototype._tmp=function(){var n=new c(null);return n.words=new Array(Math.ceil(this.n/13)),n},$.prototype.ireduce=function(n){var f,o=n;do{this.split(o,this.tmp),f=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(f>this.n);var h=f<this.n?-1:o.ucmp(this.p);return 0===h?(o.words[0]=0,o.length=1):h>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},$.prototype.split=function(n,o){n.iushrn(this.n,0,o)},$.prototype.imulK=function(n){return n.imul(this.k)},S(ae,$),ae.prototype.split=function(n,o){for(var f=4194303,h=Math.min(n.length,9),b=0;b<h;b++)o.words[b]=n.words[b];if(o.length=h,n.length<=9)return n.words[0]=0,void(n.length=1);var A=n.words[9];for(o.words[o.length++]=A&f,b=10;b<n.length;b++){var k=0|n.words[b];n.words[b-10]=(k&f)<<4|A>>>22,A=k}n.words[b-10]=A>>>=22,n.length-=0===A&&n.length>10?10:9},ae.prototype.imulK=function(n){n.words[n.length]=0,n.words[n.length+1]=0,n.length+=2;for(var o=0,f=0;f<n.length;f++){var h=0|n.words[f];n.words[f]=67108863&(o+=977*h),o=64*h+(o/67108864|0)}return 0===n.words[n.length-1]&&(n.length--,0===n.words[n.length-1]&&n.length--),n},S(ue,$),S(oe,$),S(he,$),he.prototype.imulK=function(n){for(var o=0,f=0;f<n.length;f++){var h=19*(0|n.words[f])+o,b=67108863&h;h>>>=26,n.words[f]=b,o=h}return 0!==o&&(n.words[n.length++]=o),n},c._prime=function(n){if(Q[n])return Q[n];var o;if("k256"===n)o=new ae;else if("p224"===n)o=new ue;else if("p192"===n)o=new oe;else{if("p25519"!==n)throw new Error("Unknown prime "+n);o=new he}return Q[n]=o,o},me.prototype._verify1=function(n){p(0===n.negative,"red works only with positives"),p(n.red,"red works only with red numbers")},me.prototype._verify2=function(n,o){p(0===(n.negative|o.negative),"red works only with positives"),p(n.red&&n.red===o.red,"red works only with red numbers")},me.prototype.imod=function(n){return this.prime?this.prime.ireduce(n)._forceRed(this):n.umod(this.m)._forceRed(this)},me.prototype.neg=function(n){return n.isZero()?n.clone():this.m.sub(n)._forceRed(this)},me.prototype.add=function(n,o){this._verify2(n,o);var f=n.add(o);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},me.prototype.iadd=function(n,o){this._verify2(n,o);var f=n.iadd(o);return f.cmp(this.m)>=0&&f.isub(this.m),f},me.prototype.sub=function(n,o){this._verify2(n,o);var f=n.sub(o);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},me.prototype.isub=function(n,o){this._verify2(n,o);var f=n.isub(o);return f.cmpn(0)<0&&f.iadd(this.m),f},me.prototype.shl=function(n,o){return this._verify1(n),this.imod(n.ushln(o))},me.prototype.imul=function(n,o){return this._verify2(n,o),this.imod(n.imul(o))},me.prototype.mul=function(n,o){return this._verify2(n,o),this.imod(n.mul(o))},me.prototype.isqr=function(n){return this.imul(n,n.clone())},me.prototype.sqr=function(n){return this.mul(n,n)},me.prototype.sqrt=function(n){if(n.isZero())return n.clone();var o=this.m.andln(3);if(p(o%2==1),3===o){var f=this.m.add(new c(1)).iushrn(2);return this.pow(n,f)}for(var h=this.m.subn(1),b=0;!h.isZero()&&0===h.andln(1);)b++,h.iushrn(1);p(!h.isZero());var A=new c(1).toRed(this),k=A.redNeg(),x=this.m.subn(1).iushrn(1),r=this.m.bitLength();for(r=new c(2*r*r).toRed(this);0!==this.pow(r,x).cmp(k);)r.redIAdd(k);for(var _=this.pow(r,h),W=this.pow(n,h.addn(1).iushrn(1)),I=this.pow(n,h),B=b;0!==I.cmp(A);){for(var re=I,pe=0;0!==re.cmp(A);pe++)re=re.redSqr();p(pe<B);var be=this.pow(_,new c(1).iushln(B-pe-1));W=W.redMul(be),_=be.redSqr(),I=I.redMul(_),B=pe}return W},me.prototype.invm=function(n){var o=n._invmp(this.m);return 0!==o.negative?(o.negative=0,this.imod(o).redNeg()):this.imod(o)},me.prototype.pow=function(n,o){if(o.isZero())return new c(1).toRed(this);if(0===o.cmpn(1))return n.clone();var h=new Array(16);h[0]=new c(1).toRed(this),h[1]=n;for(var b=2;b<h.length;b++)h[b]=this.mul(h[b-1],n);var A=h[0],k=0,x=0,r=o.bitLength()%26;for(0===r&&(r=26),b=o.length-1;b>=0;b--){for(var _=o.words[b],W=r-1;W>=0;W--){var I=_>>W&1;A!==h[0]&&(A=this.sqr(A)),0!==I||0!==k?(k<<=1,k|=I,(4===++x||0===b&&0===W)&&(A=this.mul(A,h[k]),x=0,k=0)):x=0}r=26}return A},me.prototype.convertTo=function(n){var o=n.umod(this.m);return o===n?o.clone():o},me.prototype.convertFrom=function(n){var o=n.clone();return o.red=null,o},c.mont=function(n){return new Te(n)},S(Te,me),Te.prototype.convertTo=function(n){return this.imod(n.ushln(this.shift))},Te.prototype.convertFrom=function(n){var o=this.imod(n.mul(this.rinv));return o.red=null,o},Te.prototype.imul=function(n,o){if(n.isZero()||o.isZero())return n.words[0]=0,n.length=1,n;var f=n.imul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.mul=function(n,o){if(n.isZero()||o.isZero())return new c(0)._forceRed(this);var f=n.mul(o),h=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),b=f.isub(h).iushrn(this.shift),A=b;return b.cmp(this.m)>=0?A=b.isub(this.m):b.cmpn(0)<0&&(A=b.iadd(this.m)),A._forceRed(this)},Te.prototype.invm=function(n){return this.imod(n._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ae=l.nmd(Ae),this)},97290:(Ae,ee,l)=>{var i=l(71993),t=l(15066).Reporter,p=l(83838).Buffer;function S(e,T){t.call(this,T),p.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function c(e,T){if(Array.isArray(e))this.length=0,this.value=e.map(function(g){return g instanceof c||(g=new c(g,T)),this.length+=g.length,g},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return T.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=p.byteLength(e);else{if(!p.isBuffer(e))return T.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}i(S,t),ee.t=S,S.prototype.save=function(){return{offset:this.offset,reporter:t.prototype.save.call(this)}},S.prototype.restore=function(T){var g=new S(this.base);return g.offset=T.offset,g.length=this.offset,this.offset=T.offset,t.prototype.restore.call(this,T.reporter),g},S.prototype.isEmpty=function(){return this.offset===this.length},S.prototype.readUInt8=function(T){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(T||"DecoderBuffer overrun")},S.prototype.skip=function(T,g){if(!(this.offset+T<=this.length))return this.error(g||"DecoderBuffer overrun");var d=new S(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+T,this.offset+=T,d},S.prototype.raw=function(T){return this.base.slice(T?T.offset:this.offset,this.length)},ee.d=c,c.prototype.join=function(T,g){return T||(T=new p(this.length)),g||(g=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(d){d.join(T,g),g+=d.length}):("number"==typeof this.value?T[g]=this.value:"string"==typeof this.value?T.write(this.value,g):p.isBuffer(this.value)&&this.value.copy(T,g),g+=this.length)),T}},97594:(Ae,ee,l)=>{"use strict";var i=l(5019),t=typeof globalThis>"u"?global:globalThis;Ae.exports=function(){for(var S=[],c=0;c<i.length;c++)"function"==typeof t[i[c]]&&(S[S.length]=i[c]);return S}},97647:(Ae,ee,l)=>{"use strict";l.d(ee,{u:()=>c});var i=l(58750),t=l(21413),p=l(47707),S=l(39974);function c(T={}){const{connector:g=()=>new t.B,resetOnError:d=!0,resetOnComplete:w=!0,resetOnRefCountZero:m=!0}=T;return P=>{let M,j,U,K=0,q=!1,G=!1;const Q=()=>{j?.unsubscribe(),j=void 0},$=()=>{Q(),M=U=void 0,q=G=!1},ae=()=>{const ue=M;$(),ue?.unsubscribe()};return(0,S.N)((ue,oe)=>{K++,!G&&!q&&Q();const he=U=U??g();oe.add(()=>{K--,0===K&&!G&&!q&&(j=e(ae,m))}),he.subscribe(oe),!M&&K>0&&(M=new p.Ms({next:me=>he.next(me),error:me=>{G=!0,Q(),j=e($,d,me),he.error(me)},complete:()=>{q=!0,Q(),j=e($,w),he.complete()}}),(0,i.Tg)(ue).subscribe(M))})(P)}}function e(T,g,...d){if(!0===g)return void T();if(!1===g)return;const w=new p.Ms({next:()=>{w.unsubscribe(),T()}});return(0,i.Tg)(g(...d)).subscribe(w)}},97669:Ae=>{"use strict";Ae.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null},97768:(Ae,ee,l)=>{"use strict";l.d(ee,{FK:()=>D,Up:()=>me,VI:()=>he,nb:()=>$,oX:()=>Q,uY:()=>n,v5:()=>Te,x8:()=>oe});var i=l(2615),t=l(73664),p=l(59295),S=l(17705),c=l(89417),e=l(21413),T=l(7673),g=l(99172),d=l(56977),w=l(61577),m=l(89726),P=l(64123),M=l(67336),j=l(10438),U=l(44522),K=l(28203);const q=["*"];function G(o,f){1&o&&t.SdG(0)}let Q=(()=>{class o{_elementRef=(0,i.WQX)(t.aKT);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(b){return new(b||o)};static \u0275dir=t.FsC({type:o,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return o})(),$=(()=>{class o{template=(0,i.WQX)(t.C4Q);constructor(){}static \u0275fac=function(b){return new(b||o)};static \u0275dir=t.FsC({type:o,selectors:[["","cdkStepLabel",""]]})}return o})();const oe=new i.nKC("STEPPER_GLOBAL_OPTIONS");let he=(()=>{class o{_stepperOptions;_stepper=(0,i.WQX)(me);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;get interacted(){return this._interacted()}set interacted(h){this._interacted.set(h)}_interacted=(0,i.vPA)(!1);interactedStream=new t.bkB;label;errorMessage;ariaLabel;ariaLabelledby;get state(){return this._state()}set state(h){this._state.set(h)}_state=(0,i.vPA)(void 0);get editable(){return this._editable()}set editable(h){this._editable.set(h)}_editable=(0,i.vPA)(!0);optional=!1;get completed(){const h=this._completedOverride(),b=this._interacted();return h??(b&&(!this.stepControl||this.stepControl.valid))}set completed(h){this._completedOverride.set(h)}_completedOverride=(0,i.vPA)(null);index=(0,i.vPA)(-1);isSelected=(0,p.EW)(()=>this._stepper.selectedIndex===this.index());indicatorType=(0,p.EW)(()=>{const h=this.isSelected(),b=this.completed,A=this._state()??"number",k=this._editable();return this._showError()&&this.hasError&&!h?"error":this._displayDefaultIndicatorType?!b||h?"number":k?"edit":"done":b&&!h?"done":b&&h?A:k&&h?"edit":A});isNavigable=(0,p.EW)(()=>{const h=this.isSelected();return this.completed||h||!this._stepper.linear});get hasError(){return this._customError()??this._getDefaultError()}set hasError(h){this._customError.set(h)}_customError=(0,i.vPA)(null);_getDefaultError(){return this.interacted&&!!this.stepControl?.invalid}constructor(){const h=(0,i.WQX)(oe,{optional:!0});this._stepperOptions=h||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this._interacted.set(!1),null!=this._completedOverride()&&this._completedOverride.set(!1),null!=this._customError()&&this._customError.set(!1),this.stepControl&&(this._childForms?.forEach(h=>h.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this._interacted()||(this._interacted.set(!0),this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError()}static \u0275fac=function(b){return new(b||o)};static \u0275cmp=t.VBU({type:o,selectors:[["cdk-step"]],contentQueries:function(b,A,k){if(1&b&&(t.wni(k,$,5),t.wni(k,c.ZU,5)),2&b){let x;t.mGM(x=t.lsd())&&(A.stepLabel=x.first),t.mGM(x=t.lsd())&&(A._childForms=x)}},viewQuery:function(b,A){if(1&b&&t.GBs(t.C4Q,7),2&b){let k;t.mGM(k=t.lsd())&&(A.content=k.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",S.L39],optional:[2,"optional","optional",S.L39],completed:[2,"completed","completed",S.L39],hasError:[2,"hasError","hasError",S.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[t.OA$],ngContentSelectors:q,decls:1,vars:0,template:function(b,A){1&b&&(t.NAR(),t.PeT(0,G,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return o})(),me=(()=>{class o{_dir=(0,i.WQX)(w.dS,{optional:!0});_changeDetectorRef=(0,i.WQX)(S.gRc);_elementRef=(0,i.WQX)(t.aKT);_destroyed=new e.B;_keyManager;_steps;steps=new t.rOR;_stepHeader;_sortedHeaders=new t.rOR;linear=!1;get selectedIndex(){return this._selectedIndex()}set selectedIndex(h){this._steps?(this._isValidIndex(h),this.selectedIndex!==h&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(h)&&(h>=this.selectedIndex||this.steps.toArray()[h].editable)&&this._updateSelectedItemIndex(h))):this._selectedIndex.set(h)}_selectedIndex=(0,i.vPA)(0);get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(h){this.selectedIndex=h&&this.steps?this.steps.toArray().indexOf(h):-1}selectionChange=new t.bkB;selectedIndexChange=new t.bkB;_groupId=(0,i.WQX)(m.g).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(h){this._orientation=h,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===h)}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe((0,g.Z)(this._steps),(0,d.Q)(this._destroyed)).subscribe(h=>{this.steps.reset(h.filter(b=>b._stepper===this)),this.steps.forEach((b,A)=>b.index.set(A)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe((0,g.Z)(this._stepHeader),(0,d.Q)(this._destroyed)).subscribe(h=>{this._sortedHeaders.reset(h.toArray().sort((b,A)=>b._elementRef.nativeElement.compareDocumentPosition(A._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new P.B(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),this._keyManager.updateActiveItem(this.selectedIndex),(this._dir?this._dir.change:(0,T.of)()).pipe((0,g.Z)(this._layoutDirection()),(0,d.Q)(this._destroyed)).subscribe(h=>this._keyManager?.withHorizontalOrientation(h)),this._keyManager.updateActiveItem(this.selectedIndex),this.steps.changes.subscribe(()=>{this.selected||this._selectedIndex.set(Math.max(this.selectedIndex-1,0))}),this._isValidIndex(this.selectedIndex)||this._selectedIndex.set(0),this.linear&&this.selectedIndex>0){const h=this.steps.toArray().slice(0,this._selectedIndex());for(const b of h)b._markAsInteracted()}}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(h=>h.reset()),this._stateChanged()}_getStepLabelId(h){return`${this._groupId}-label-${h}`}_getStepContentId(h){return`${this._groupId}-content-${h}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(h){const b=h-this._selectedIndex();return b<0?"rtl"===this._layoutDirection()?"next":"previous":b>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex()}_updateSelectedItemIndex(h){const b=this.steps.toArray(),A=this._selectedIndex();this.selectionChange.emit({selectedIndex:h,previouslySelectedIndex:A,selectedStep:b[h],previouslySelectedStep:b[A]}),this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(h):this._keyManager.updateActiveItem(h)),this._selectedIndex.set(h),this.selectedIndexChange.emit(h),this._stateChanged()}_onKeydown(h){const b=(0,M.rp)(h),A=h.keyCode,k=this._keyManager;null==k?.activeItemIndex||b||A!==j.t6&&A!==j.Fm?k?.setFocusOrigin("keyboard").onKeydown(h):(this.selectedIndex=k.activeItemIndex,h.preventDefault())}_anyControlsInvalidOrPending(h){return!!(this.linear&&h>=0)&&this.steps.toArray().slice(0,h).some(b=>{const A=b.stepControl;return(A?A.invalid||A.pending||!b.interacted:!b.completed)&&!b.optional&&!b._completedOverride()})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const h=this._elementRef.nativeElement,b=(0,U.vc)();return h===b||h.contains(b)}_isValidIndex(h){return h>-1&&(!this.steps||h<this.steps.length)}static \u0275fac=function(b){return new(b||o)};static \u0275dir=t.FsC({type:o,selectors:[["","cdkStepper",""]],contentQueries:function(b,A,k){if(1&b&&(t.wni(k,he,5),t.wni(k,Q,5)),2&b){let x;t.mGM(x=t.lsd())&&(A._steps=x),t.mGM(x=t.lsd())&&(A._stepHeader=x)}},inputs:{linear:[2,"linear","linear",S.L39],selectedIndex:[2,"selectedIndex","selectedIndex",S.Udg],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return o})(),Te=(()=>{class o{_stepper=(0,i.WQX)(me);type="submit";constructor(){}static \u0275fac=function(b){return new(b||o)};static \u0275dir=t.FsC({type:o,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(b,A){1&b&&t.bIt("click",function(){return A._stepper.next()}),2&b&&t.Avn("type",A.type)},inputs:{type:"type"}})}return o})(),D=(()=>{class o{_stepper=(0,i.WQX)(me);type="button";constructor(){}static \u0275fac=function(b){return new(b||o)};static \u0275dir=t.FsC({type:o,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(b,A){1&b&&t.bIt("click",function(){return A._stepper.previous()}),2&b&&t.Avn("type",A.type)},inputs:{type:"type"}})}return o})(),n=(()=>{class o{static \u0275fac=function(b){return new(b||o)};static \u0275mod=t.$C({type:o});static \u0275inj=i.G2t({imports:[K.jI]})}return o})()},97840:(Ae,ee,l)=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});var t=function i(c){return c&&"object"==typeof c&&"default"in c?c.default:c}(l(91426));ee.createDigest=(c,e,T)=>t.createHmac(c,Buffer.from(e,"hex")).update(Buffer.from(T,"hex")).digest().toString("hex"),ee.createRandomBytes=(c,e)=>t.randomBytes(c).toString(e)},98071:(Ae,ee,l)=>{"use strict";function i(t){return"function"==typeof t}l.d(ee,{T:()=>i})},98570:(Ae,ee,l)=>{"use strict";l.d(ee,{gP:()=>e,tU:()=>T});var i=l(17705),t=l(2615);const p=(0,i.naY)(),S=()=>null;let e=(()=>{var g;class d{invokeConsoleMethod(m,P){}static#e=g=()=>(this.\u0275fac=function(P){return new(P||d)},this.\u0275prov=t.jDH({token:d,factory:d.\u0275fac}))}return g(),d})(),T=(()=>{var g;class d{get info(){return p?console.log.bind(console):S}get warn(){return p?console.warn.bind(console):S}get error(){return p?console.error.bind(console):S}invokeConsoleMethod(m,P){(console[m]||console.log||S).apply(console,[P])}static#e=g=()=>(this.\u0275fac=function(P){return new(P||d)},this.\u0275prov=t.jDH({token:d,factory:d.\u0275fac}))}return g(),d})()},98613:(Ae,ee,l)=>{var i=l(65667),t=l(30715),p=l(37196),S=l(16508),c=l(14105),e=l(67211),T=l(10568),g=l(27054).Buffer;Ae.exports=function(M,j,U){var K;K=M.padding?M.padding:U?1:4;var Q,q=i(M),G=q.modulus.byteLength();if(j.length>G||new S(j).cmp(q.modulus)>=0)throw new Error("decryption error");Q=U?T(new S(j),q):c(j,q);var $=g.alloc(G-Q.length);if(Q=g.concat([$,Q],G),4===K)return function d(P,M){var j=P.modulus.byteLength(),U=e("sha1").update(g.alloc(0)).digest(),K=U.length;if(0!==M[0])throw new Error("decryption error");var q=M.slice(1,K+1),G=M.slice(K+1),Q=p(q,t(G,K)),$=p(G,t(Q,j-K-1));if(function m(P,M){P=g.from(P),M=g.from(M);var j=0,U=P.length;P.length!==M.length&&(j++,U=Math.min(P.length,M.length));for(var K=-1;++K<U;)j+=P[K]^M[K];return j}(U,$.slice(0,K)))throw new Error("decryption error");for(var ae=K;0===$[ae];)ae++;if(1!==$[ae++])throw new Error("decryption error");return $.slice(ae)}(q,Q);if(1===K)return function w(P,M,j){for(var U=M.slice(0,2),K=2,q=0;0!==M[K++];)if(K>=M.length){q++;break}var G=M.slice(2,K-1);if(("0002"!==U.toString("hex")&&!j||"0001"!==U.toString("hex")&&j)&&q++,G.length<8&&q++,q)throw new Error("decryption error");return M.slice(K)}(0,Q,U);if(3===K)return Q;throw new Error("unknown padding")}},98828:(Ae,ee,l)=>{"use strict";var i=l(88723),t=l(3136),p=t.getNAF,S=t.getJSF,c=t.assert;function e(g,d){this.type=g,this.p=new i(d.p,16),this.red=d.prime?i.red(d.prime):i.mont(this.p),this.zero=new i(0).toRed(this.red),this.one=new i(1).toRed(this.red),this.two=new i(2).toRed(this.red),this.n=d.n&&new i(d.n,16),this.g=d.g&&this.pointFromJSON(d.g,d.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var w=this.n&&this.p.div(this.n);!w||w.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function T(g,d){this.curve=g,this.type=d,this.precomputed=null}Ae.exports=e,e.prototype.point=function(){throw new Error("Not implemented")},e.prototype.validate=function(){throw new Error("Not implemented")},e.prototype._fixedNafMul=function(d,w){c(d.precomputed);var m=d._getDoubles(),P=p(w,1,this._bitLength),M=(1<<m.step+1)-(m.step%2==0?2:1);M/=3;var U,K,j=[];for(U=0;U<P.length;U+=m.step){K=0;for(var q=U+m.step-1;q>=U;q--)K=(K<<1)+P[q];j.push(K)}for(var G=this.jpoint(null,null,null),Q=this.jpoint(null,null,null),$=M;$>0;$--){for(U=0;U<j.length;U++)(K=j[U])===$?Q=Q.mixedAdd(m.points[U]):K===-$&&(Q=Q.mixedAdd(m.points[U].neg()));G=G.add(Q)}return G.toP()},e.prototype._wnafMul=function(d,w){for(var m=4,P=d._getNAFPoints(m),M=P.points,j=p(w,m=P.wnd,this._bitLength),U=this.jpoint(null,null,null),K=j.length-1;K>=0;K--){for(var q=0;K>=0&&0===j[K];K--)q++;if(K>=0&&q++,U=U.dblp(q),K<0)break;var G=j[K];c(0!==G),U="affine"===d.type?U.mixedAdd(G>0?M[G-1>>1]:M[-G-1>>1].neg()):U.add(G>0?M[G-1>>1]:M[-G-1>>1].neg())}return"affine"===d.type?U.toP():U},e.prototype._wnafMulAdd=function(d,w,m,P,M){var G,Q,$,j=this._wnafT1,U=this._wnafT2,K=this._wnafT3,q=0;for(G=0;G<P;G++){var ae=($=w[G])._getNAFPoints(d);j[G]=ae.wnd,U[G]=ae.points}for(G=P-1;G>=1;G-=2){var ue=G-1,oe=G;if(1===j[ue]&&1===j[oe]){var he=[w[ue],null,null,w[oe]];0===w[ue].y.cmp(w[oe].y)?(he[1]=w[ue].add(w[oe]),he[2]=w[ue].toJ().mixedAdd(w[oe].neg())):0===w[ue].y.cmp(w[oe].y.redNeg())?(he[1]=w[ue].toJ().mixedAdd(w[oe]),he[2]=w[ue].add(w[oe].neg())):(he[1]=w[ue].toJ().mixedAdd(w[oe]),he[2]=w[ue].toJ().mixedAdd(w[oe].neg()));var me=[-3,-1,-5,-7,0,7,5,1,3],Te=S(m[ue],m[oe]);for(q=Math.max(Te[0].length,q),K[ue]=new Array(q),K[oe]=new Array(q),Q=0;Q<q;Q++)K[ue][Q]=me[3*(1+(0|Te[0][Q]))+(1+(0|Te[1][Q]))],K[oe][Q]=0,U[ue]=he}else K[ue]=p(m[ue],j[ue],this._bitLength),K[oe]=p(m[oe],j[oe],this._bitLength),q=Math.max(K[ue].length,q),q=Math.max(K[oe].length,q)}var o=this.jpoint(null,null,null),f=this._wnafT4;for(G=q;G>=0;G--){for(var h=0;G>=0;){var b=!0;for(Q=0;Q<P;Q++)f[Q]=0|K[Q][G],0!==f[Q]&&(b=!1);if(!b)break;h++,G--}if(G>=0&&h++,o=o.dblp(h),G<0)break;for(Q=0;Q<P;Q++){var A=f[Q];0!==A&&(A>0?$=U[Q][A-1>>1]:A<0&&($=U[Q][-A-1>>1].neg()),o="affine"===$.type?o.mixedAdd($):o.add($))}}for(G=0;G<P;G++)U[G]=null;return M?o:o.toP()},e.BasePoint=T,T.prototype.eq=function(){throw new Error("Not implemented")},T.prototype.validate=function(){return this.curve.validate(this)},e.prototype.decodePoint=function(d,w){d=t.toArray(d,w);var m=this.p.byteLength();if((4===d[0]||6===d[0]||7===d[0])&&d.length-1==2*m)return 6===d[0]?c(d[d.length-1]%2==0):7===d[0]&&c(d[d.length-1]%2==1),this.point(d.slice(1,1+m),d.slice(1+m,1+2*m));if((2===d[0]||3===d[0])&&d.length-1===m)return this.pointFromX(d.slice(1,1+m),3===d[0]);throw new Error("Unknown point format")},T.prototype.encodeCompressed=function(d){return this.encode(d,!0)},T.prototype._encode=function(d){var w=this.curve.p.byteLength(),m=this.getX().toArray("be",w);return d?[this.getY().isEven()?2:3].concat(m):[4].concat(m,this.getY().toArray("be",w))},T.prototype.encode=function(d,w){return t.encode(this._encode(w),d)},T.prototype.precompute=function(d){if(this.precomputed)return this;var w={doubles:null,naf:null,beta:null};return w.naf=this._getNAFPoints(8),w.doubles=this._getDoubles(4,d),w.beta=this._getBeta(),this.precomputed=w,this},T.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var w=this.precomputed.doubles;return!!w&&w.points.length>=Math.ceil((d.bitLength()+1)/w.step)},T.prototype._getDoubles=function(d,w){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var m=[this],P=this,M=0;M<w;M+=d){for(var j=0;j<d;j++)P=P.dbl();m.push(P)}return{step:d,points:m}},T.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var w=[this],m=(1<<d)-1,P=1===m?null:this.dbl(),M=1;M<m;M++)w[M]=w[M-1].add(P);return{wnd:d,points:w}},T.prototype._getBeta=function(){return null},T.prototype.dblp=function(d){for(var w=this,m=0;m<d;m++)w=w.dbl();return w}},98910:(Ae,ee,l)=>{"use strict";var i=l(65992),t=l(79477),p=l(95731);Ae.exports=function(){return p(i,t,arguments)}},99090:(Ae,ee,l)=>{"use strict";l.d(ee,{A:()=>t});var i=l(12593);class t extends i.l{setActiveItem(S){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(S),this.activeItem&&this.activeItem.setActiveStyles()}}},99172:(Ae,ee,l)=>{"use strict";l.d(ee,{Z:()=>S});var i=l(28793),t=l(9326),p=l(39974);function S(...c){const e=(0,t.lI)(c);return(0,p.N)((T,g)=>{(e?(0,i.x)(c,T,e):(0,i.x)(c,T)).subscribe(g)})}},99327:(Ae,ee,l)=>{"use strict";l.d(ee,{RH:()=>p,Rp:()=>S});var i=l(2615),t=l(73664);let p=(()=>{class c{static \u0275fac=function(g){return new(g||c)};static \u0275mod=t.$C({type:c});static \u0275inj=i.G2t({})}return c})();const S={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)"}},99359:(Ae,ee)=>{const l="[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 p="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+")(?:.|[\r\n]))+";ee.KANJI=new RegExp(t,"g"),ee.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),ee.BYTE=new RegExp(p,"g"),ee.NUMERIC=new RegExp(l,"g"),ee.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const S=new RegExp("^"+t+"$"),c=new RegExp("^"+l+"$"),e=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ee.testKanji=function(g){return S.test(g)},ee.testNumeric=function(g){return c.test(g)},ee.testAlphanumeric=function(g){return e.test(g)}},99437:(Ae,ee,l)=>{"use strict";l.d(ee,{W:()=>S});var i=l(58750),t=l(54360),p=l(39974);function S(c){return(0,p.N)((e,T)=>{let w,g=null,d=!1;g=e.subscribe((0,t._)(T,void 0,void 0,m=>{w=(0,i.Tg)(c(m,S(c)(e))),g?(g.unsubscribe(),g=null,w.subscribe(T)):d=!0})),d&&(g.unsubscribe(),g=null,w.subscribe(T))})}},99560:(Ae,ee,l)=>{"use strict";Ae.exports=l(62951)},99898:(Ae,ee,l)=>{"use strict";l.d(ee,{B:()=>p});var i=l(39974),t=l(54360);function p(){return(0,i.N)((S,c)=>{let e=null;S._refCount++;const T=(0,t._)(c,void 0,void 0,void 0,()=>{if(!S||S._refCount<=0||0<--S._refCount)return void(e=null);const g=S._connection,d=e;e=null,g&&(!d||g===d)&&g.unsubscribe(),c.unsubscribe()});S.subscribe(T),T.closed||(e=S.connect())})}}},Ae=>{Ae(Ae.s=67947)}]);