PageSourceSearch

https://businessleague.com/main-DBO575WZ.js

js businessleague.com collected 2026-09-25 15:02:11 UTC 261,094 bytes, 20 lines download raw bytes

1import{a as $n,b as ro,c as qn,d as oo,e as ao,f as so,g as Pi,h as Kn,i as Hn,j as Wn,k as Gn}from"./chunk-Y5OOULTN.js";import"./chunk-BYX5QTSJ.js";import{a as io,b as lo,d as co}from"./chunk-WTXMAGLJ.js";import{$a as mt,$b as Ve,$c as no,A as yt,Ac as Gt,Ba as Mr,Bb as nt,Bc as Bn,C as xr,Ca as Ie,Cb as Dr,Cc as Vn,Da as Le,Db as Fr,Dc as qr,Ea as s,Eb as Nr,Ec as Kr,Fa as a,Fb as Br,Fc as Hr,G as bi,Ga as _,Gb as Tn,Gc as Wr,Hb as H,Hc as jn,I as vi,Ib as it,Ic as Gr,Ja as he,Jb as kn,Jc as Qr,K as Oe,Ka as V,Kb as Ct,La as v,Lb as Vr,M as Y,Mb as jr,Mc as zn,N as bt,Nb as Fe,Nc as Yr,Oa as It,Ob as cn,Oc as Un,P as me,Pa as Lt,Pb as zt,Pc as Jr,Q as Ye,Qa as Rt,Qb as An,Qc as Zr,Ra as Or,Rb as Ut,Rc as Xr,Sa as l,Sb as wi,T as J,Ta as O,Tb as In,U as Z,Ua as j,Ub as zr,V as xn,Va as Dt,Vb as ut,Vc as eo,W as Sr,Wa as Ze,Wb as $t,Wc as to,Xa as Xe,Xb as dn,Y as Ce,Ya as et,Yb as rt,Z as Je,Za as Tr,Zb as Ur,_ as sn,_a as Te,_b as ht,aa as Ci,ab as pt,ac as Ei,ad as ze,b as qe,ba as pe,bb as kr,bc as De,bd as Qt,ca as Sn,cb as te,cc as Ln,db as ue,ea as wr,eb as Ft,ec as Rn,fa as wn,fb as Ar,ga as Er,gb as Si,ha as _e,i as st,ic as Dn,j as fr,ja as At,k as _t,ka as m,la as N,lb as Ir,m as kt,ma as Pr,n as Cn,na as En,nb as Lr,o as _r,ob as On,oc as $r,p as _i,pa as xi,q as yi,qa as Pn,qb as Nt,qc as ve,r as yr,ra as F,rb as Bt,rc as Ke,sa as vt,sb as Rr,sc as je,ta as S,tb as Vt,tc as qt,ua as le,ub as lt,uc as Kt,v as an,va as Mn,vb as ln,vc as Ht,w as br,wb as tt,wc as Wt,x as vr,xc as Fn,yc as Nn,z as Cr,za as W,zb as jt}from"./chunk-F3KU5VMJ.js";import{a as $e,b as hr,c as gr,d as Oa,f as Ta}from"./chunk-7STAND3D.js";var ea=Oa((lr,cr)=>{((r,t)=>{typeof define=="function"&&define.amd?define([],t):typeof cr=="object"&&typeof lr<"u"?cr.exports=t():r.Papa=t()})(lr,function r(){var t=typeof self<"u"?self:typeof window<"u"?window:t!==void 0?t:{},e,n=!t.document&&!!t.postMessage,i=t.IS_PAPA_WORKER||!1,o={},c=0,d={};function p(h){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(g){var f=xe(g);f.chunkSize=parseInt(f.chunkSize),g.step||g.chunk||(f.chunkSize=null),this._handle=new L(f),(this._handle.streamer=this)._config=f}).call(this,h),this.parseChunk=function(g,f){var E=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<E){let U=this._config.newline;U||(P=this._config.quoteChar||'"',U=this._handle.guessLineEndings(g,P)),g=[...g.split(U).slice(E)].join(U)}this.isFirstChunk&&G(this._config.beforeFirstChunk)&&(P=this._config.beforeFirstChunk(g))!==void 0&&(g=P),this.isFirstChunk=!1,this._halted=!1;var E=this._partialLine+g,P=(this._partialLine="",this._handle.parse(E,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(g=P.meta.cursor,E=(this._finished||(this._partialLine=E.substring(g-this._baseIndex),this._baseIndex=g),P&&P.data&&(this._rowCount+=P.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),i)t.postMessage({results:P,workerId:d.WORKER_ID,finished:E});else if(G(this._config.chunk)&&!f){if(this._config.chunk(P,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=P=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(P.data),this._completeResults.errors=this._completeResults.errors.concat(P.errors),this._completeResults.meta=P.meta),this._completed||!E||!G(this._config.complete)||P&&P.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),E||P&&P.meta.paused||this._nextChunk(),P}this._halted=!0},this._sendError=function(g){G(this._config.error)?this._config.error(g):i&&this._config.error&&t.postMessage({workerId:d.WORKER_ID,error:g,finished:!1})}}function u(h){var g;(h=h||{}).chunkSize||(h.chunkSize=d.RemoteChunkSize),p.call(this,h),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(f){this._input=f,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(g=new XMLHttpRequest,this._config.withCredentials&&(g.withCredentials=this._config.withCredentials),n||(g.onload=se(this._chunkLoaded,this),g.onerror=se(this._chunkError,this)),g.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var f,E=this._config.downloadRequestHeaders;for(f in E)g.setRequestHeader(f,E[f])}var P;this._config.chunkSize&&(P=this._start+this._config.chunkSize-1,g.setRequestHeader("Range","bytes="+this._start+"-"+P));try{g.send(this._config.downloadRequestBody)}catch(U){this._chunkError(U.message)}n&&g.status===0&&this._chunkError()}},this._chunkLoaded=function(){g.readyState===4&&(g.status<200||400<=g.status?this._chunkError():(this._start+=this._config.chunkSize||g.responseText.length,this._finished=!this._config.chunkSize||this._start>=(f=>(f=f.getResponseHeader("Content-Range"))!==null?parseInt(f.substring(f.lastIndexOf("/")+1)):-1)(g),this.parseChunk(g.responseText)))},this._chunkError=function(f){f=g.statusText||f,this._sendError(new Error(f))}}function b(h){(h=h||{}).chunkSize||(h.chunkSize=d.LocalChunkSize),p.call(this,h);var g,f,E=typeof FileReader<"u";this.stream=function(P){this._input=P,f=P.slice||P.webkitSlice||P.mozSlice,E?((g=new FileReader).onload=se(this._chunkLoaded,this),g.onerror=se(this._chunkError,this)):g=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var P=this._input,U=(this._config.chunkSize&&(U=Math.min(this._start+this._config.chunkSize,this._input.size),P=f.call(P,this._start,U)),g.readAsText(P,this._config.encoding));E||this._chunkLoaded({target:{result:U}})},this._chunkLoaded=function(P){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(P.target.result)},this._chunkError=function(){this._sendError(g.error)}}function x(h){var g;p.call(this,h=h||{}),this.stream=function(f){return g=f,this._nextChunk()},this._nextChunk=function(){var f,E;if(!this._finished)return f=this._config.chunkSize,g=f?(E=g.substring(0,f),g.substring(f)):(E=g,""),this._finished=!g,this.parseChunk(E)}}function B(h){p.call(this,h=h||{});var g=[],f=!0,E=!1;this.pause=function(){p.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){p.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(P){this._input=P,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){E&&g.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),g.length?this.parseChunk(g.shift()):f=!0},this._streamData=se(function(P){try{g.push(typeof P=="string"?P:P.toString(this._config.encoding)),f&&(f=!1,this._checkIsFinished(),this.parseChunk(g.shift()))}catch(U){this._streamError(U)}},this),this._streamError=se(function(P){this._streamCleanUp(),this._sendError(P)},this),this._streamEnd=se(function(){this._streamCleanUp(),E=!0,this._streamData("")},this),this._streamCleanUp=se(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function L(h){var g,f,E,P,U=Math.pow(2,53),oe=-U,Ee=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ke=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,$=this,C=0,y=0,M=!1,w=!1,A=[],T={data:[],errors:[],meta:{}};function Q(q){return h.skipEmptyLines==="greedy"?q.join("").trim()==="":q.length===1&&q[0].length===0}function ne(){if(T&&E&&(Ae("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+d.DefaultDelimiter+"'"),E=!1),h.skipEmptyLines&&(T.data=T.data.filter(function(ie){return!Q(ie)})),z()){let ie=function(fe,ce){G(h.transformHeader)&&(fe=h.transformHeader(fe,ce)),A.push(fe)};var I=ie;if(T)if(Array.isArray(T.data[0])){for(var q=0;z()&&q<T.data.length;q++)T.data[q].forEach(ie);T.data.splice(0,1)}else T.data.forEach(ie)}function D(ie,fe){for(var ce=h.header?{}:[],re=0;re<ie.length;re++){var K=re,Pe=ie[re],Pe=((ee,de)=>(Se=>(h.dynamicTypingFunction&&h.dynamicTyping[Se]===void 0&&(h.dynamicTyping[Se]=h.dynamicTypingFunction(Se)),(h.dynamicTyping[Se]||h.dynamicTyping)===!0))(ee)?de==="true"||de==="TRUE"||de!=="false"&&de!=="FALSE"&&((Se=>{if(Ee.test(Se)&&(Se=parseFloat(Se),oe<Se&&Se<U))return 1})(de)?parseFloat(de):ke.test(de)?new Date(de):de===""?null:de):de)(K=h.header?re>=A.length?"__parsed_extra":A[re]:K,Pe=h.transform?h.transform(Pe,K):Pe);K==="__parsed_extra"?(ce[K]=ce[K]||[],ce[K].push(Pe)):ce[K]=Pe}return h.header&&(re>A.length?Ae("FieldMismatch","TooManyFields","Too many fields: expected "+A.length+" fields but parsed "+re,y+fe):re<A.length&&Ae("FieldMismatch","TooFewFields","Too few fields: expected "+A.length+" fields but parsed "+re,y+fe)),ce}var X;T&&(h.header||h.dynamicTyping||h.transform)&&(X=1,!T.data.length||Array.isArray(T.data[0])?(T.data=T.data.map(D),X=T.data.length):T.data=D(T.data,0),h.header&&T.meta&&(T.meta.fields=A),y+=X)}function z(){return h.header&&A.length===0}function Ae(q,D,X,I){q={type:q,code:D,message:X},I!==void 0&&(q.row=I),T.errors.push(q)}G(h.step)&&(P=h.step,h.step=function(q){T=q,z()?ne():(ne(),T.data.length!==0&&(C+=q.data.length,h.preview&&C>h.preview?f.abort():(T.data=T.data[0],P(T,$))))}),this.parse=function(q,D,X){var I=h.quoteChar||'"',I=(h.newline||(h.newline=this.guessLineEndings(q,I)),E=!1,h.delimiter?G(h.delimiter)&&(h.delimiter=h.delimiter(q),T.meta.delimiter=h.delimiter):((I=((ie,fe,ce,re,K)=>{var Pe,ee,de,Se;K=K||[",","	","|",";",d.RECORD_SEP,d.UNIT_SEP];for(var Ot=0;Ot<K.length;Ot++){for(var We,rn=K[Ot],Me=0,Ge=0,we=0,Re=(de=void 0,new R({comments:re,delimiter:rn,newline:fe,preview:10}).parse(ie)),at=0;at<Re.data.length;
1at++)ce&&Q(Re.data[at])?we++:(We=Re.data[at].length,Ge+=We,de===void 0?de=We:0<We&&(Me+=Math.abs(We-de),de=We));0<Re.data.length&&(Ge/=Re.data.length-we),(ee===void 0||Me<=ee)&&(Se===void 0||Se<Ge)&&1.99<Ge&&(ee=Me,Pe=rn,Se=Ge)}return{successful:!!(h.delimiter=Pe),bestDelimiter:Pe}})(q,h.newline,h.skipEmptyLines,h.comments,h.delimitersToGuess)).successful?h.delimiter=I.bestDelimiter:(E=!0,h.delimiter=d.DefaultDelimiter),T.meta.delimiter=h.delimiter),xe(h));return h.preview&&h.header&&I.preview++,g=q,f=new R(I),T=f.parse(g,D,X),ne(),M?{meta:{paused:!0}}:T||{meta:{paused:!1}}},this.paused=function(){return M},this.pause=function(){M=!0,f.abort(),g=G(h.chunk)?"":g.substring(f.getCharIndex())},this.resume=function(){$.streamer._halted?(M=!1,$.streamer.parseChunk(g,!0)):setTimeout($.resume,3)},this.aborted=function(){return w},this.abort=function(){w=!0,f.abort(),T.meta.aborted=!0,G(h.complete)&&h.complete(T),g=""},this.guessLineEndings=function(ie,I){ie=ie.substring(0,1048576);var I=new RegExp(k(I)+"([^]*?)"+k(I),"gm"),X=(ie=ie.replace(I,"")).split("\r"),I=ie.split(`
2`),ie=1<I.length&&I[0].length<X[0].length;if(X.length===1||ie)return`
3`;for(var fe=0,ce=0;ce<X.length;ce++)X[ce][0]===`
4`&&fe++;return fe>=X.length/2?`\r
5`:"\r"}}function k(h){return h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function R(h){var g=(h=h||{}).delimiter,f=h.newline,E=h.comments,P=h.step,U=h.preview,oe=h.fastMode,Ee=null,ke=!1,$=h.quoteChar==null?'"':h.quoteChar,C=$;if(h.escapeChar!==void 0&&(C=h.escapeChar),(typeof g!="string"||-1<d.BAD_DELIMITERS.indexOf(g))&&(g=","),E===g)throw new Error("Comment character same as delimiter");E===!0?E="#":(typeof E!="string"||-1<d.BAD_DELIMITERS.indexOf(E))&&(E=!1),f!==`
6`&&f!=="\r"&&f!==`\r
7`&&(f=`
8`);var y=0,M=!1;this.parse=function(w,A,T){if(typeof w!="string")throw new Error("Input must be a string");var Q=w.length,ne=g.length,z=f.length,Ae=E.length,q=G(P),D=[],X=[],I=[],ie=y=0;if(!w)return Me();if(oe||oe!==!1&&w.indexOf($)===-1){for(var fe=w.split(f),ce=0;ce<fe.length;ce++){if(I=fe[ce],y+=I.length,ce!==fe.length-1)y+=f.length;else if(T)return Me();if(!E||I.substring(0,Ae)!==E){if(q){if(D=[],Se(I.split(g)),Ge(),M)return Me()}else Se(I.split(g));if(U&&U<=ce)return D=D.slice(0,U),Me(!0)}}return Me()}for(var re=w.indexOf(g,y),K=w.indexOf(f,y),Pe=new RegExp(k(C)+k($),"g"),ee=w.indexOf($,y);;)if(w[y]===$)for(ee=y,y++;;){if((ee=w.indexOf($,ee+1))===-1)return T||X.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:D.length,index:y}),We();if(ee===Q-1)return We(w.substring(y,ee).replace(Pe,$));if($===C&&w[ee+1]===C)ee++;else if($===C||ee===0||w[ee-1]!==C){re!==-1&&re<ee+1&&(re=w.indexOf(g,ee+1));var de=Ot((K=K!==-1&&K<ee+1?w.indexOf(f,ee+1):K)===-1?re:Math.min(re,K));if(w.substr(ee+1+de,ne)===g){I.push(w.substring(y,ee).replace(Pe,$)),w[y=ee+1+de+ne]!==$&&(ee=w.indexOf($,y)),re=w.indexOf(g,y),K=w.indexOf(f,y);break}if(de=Ot(K),w.substring(ee+1+de,ee+1+de+z)===f){if(I.push(w.substring(y,ee).replace(Pe,$)),rn(ee+1+de+z),re=w.indexOf(g,y),ee=w.indexOf($,y),q&&(Ge(),M))return Me();if(U&&D.length>=U)return Me(!0);break}X.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:D.length,index:y}),ee++}}else if(E&&I.length===0&&w.substring(y,y+Ae)===E){if(K===-1)return Me();y=K+z,K=w.indexOf(f,y),re=w.indexOf(g,y)}else if(re!==-1&&(re<K||K===-1))I.push(w.substring(y,re)),y=re+ne,re=w.indexOf(g,y);else{if(K===-1)break;if(I.push(w.substring(y,K)),rn(K+z),q&&(Ge(),M))return Me();if(U&&D.length>=U)return Me(!0)}return We();function Se(we){D.push(we),ie=y}function Ot(we){var Re=0;return Re=we!==-1&&(we=w.substring(ee+1,we))&&we.trim()===""?we.length:Re}function We(we){return T||(we===void 0&&(we=w.substring(y)),I.push(we),y=Q,Se(I),q&&Ge()),Me()}function rn(we){y=we,Se(I),I=[],K=w.indexOf(f,y)}function Me(we){if(h.header&&!A&&D.length&&!ke){var Re=D[0],at={},fi=new Set(Re);let pr=!1;for(let Tt=0;Tt<Re.length;Tt++){let Qe=Re[Tt];if(at[Qe=G(h.transformHeader)?h.transformHeader(Qe,Tt):Qe]){let on,ur=at[Qe];for(;on=Qe+"_"+ur,ur++,fi.has(on););fi.add(on),Re[Tt]=on,at[Qe]++,pr=!0,(Ee=Ee===null?{}
8:Ee)[on]=Qe}else at[Qe]=1,Re[Tt]=Qe;fi.add(Qe)}pr&&console.warn("Duplicate headers found and renamed."),ke=!0}return{data:D,errors:X,meta:{delimiter:g,linebreak:f,aborted:M,truncated:!!we,cursor:ie+(A||0),renamedHeaders:Ee}}}function Ge(){P(Me()),D=[],X=[]}},this.abort=function(){M=!0},this.getCharIndex=function(){return y}}function ae(h){var g=h.data,f=o[g.workerId],E=!1;if(g.error)f.userError(g.error,g.file);else if(g.results&&g.results.data){var P={abort:function(){E=!0,ge(g.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:be,resume:be};if(G(f.userStep)){for(var U=0;U<g.results.data.length&&(f.userStep({data:g.results.data[U],errors:g.results.errors,meta:g.results.meta},P),!E);U++);delete g.results}else G(f.userChunk)&&(f.userChunk(g.results,P,g.file),delete g.results)}g.finished&&!E&&ge(g.workerId,g.results)}function ge(h,g){var f=o[h];G(f.userComplete)&&f.userComplete(g),f.terminate(),delete o[h]}function be(){throw new Error("Not implemented.")}function xe(h){if(typeof h!="object"||h===null)return h;var g,f=Array.isArray(h)?[]:{};for(g in h)f[g]=xe(h[g]);return f}function se(h,g){return function(){h.apply(g,arguments)}}function G(h){return typeof h=="function"}return d.parse=function(h,g){var f=(g=g||{}).dynamicTyping||!1;if(G(f)&&(g.dynamicTypingFunction=f,f={}),g.dynamicTyping=f,g.transform=!!G(g.transform)&&g.transform,!g.worker||!d.WORKERS_SUPPORTED)return f=null,d.NODE_STREAM_INPUT,typeof h=="string"?(h=(E=>E.charCodeAt(0)!==65279?E:E.slice(1))(h),f=new(g.download?u:x)(g)):h.readable===!0&&G(h.read)&&G(h.on)?f=new B(g):(t.File&&h instanceof File||h instanceof Object)&&(f=new b(g)),f.stream(h);(f=(()=>{var E;return!!d.WORKERS_SUPPORTED&&(E=(()=>{var P=t.URL||t.webkitURL||null,U=r.toString();return d.BLOB_URL||(d.BLOB_URL=P.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",U,")();"],{type:"text/javascript"})))})(),(E=new t.Worker(E)).onmessage=ae,E.id=c++,o[E.id]=E)})()).userStep=g.step,f.userChunk=g.chunk,f.userComplete=g.complete,f.userError=g.error,g.step=G(g.step),g.chunk=G(g.chunk),g.complete=G(g.complete),g.error=G(g.error),delete g.worker,f.postMessage({input:h,config:g,workerId:f.id})},d.unparse=function(h,g){var f=!1,E=!0,P=",",U=`\r
9`,oe='"',Ee=oe+oe,ke=!1,$=null,C=!1,y=((()=>{if(typeof g=="object"){if(typeof g.delimiter!="string"||d.BAD_DELIMITERS.filter(function(A){return g.delimiter.indexOf(A)!==-1}).length||(P=g.delimiter),typeof g.quotes!="boolean"&&typeof g.quotes!="function"&&!Array.isArray(g.quotes)||(f=g.quotes),typeof g.skipEmptyLines!="boolean"&&typeof g.skipEmptyLines!="string"||(ke=g.skipEmptyLines),typeof g.newline=="string"&&(U=g.newline),typeof g.quoteChar=="string"&&(oe=g.quoteChar),typeof g.header=="boolean"&&(E=g.header),Array.isArray(g.columns)){if(g.columns.length===0)throw new Error("Option columns is empty");$=g.columns}g.escapeChar!==void 0&&(Ee=g.escapeChar+oe),g.escapeFormulae instanceof RegExp?C=g.escapeFormulae:typeof g.escapeFormulae=="boolean"&&g.escapeFormulae&&(C=/^[=+\-@\t\r].*$/)}})(),new RegExp(k(oe),"g"));if(typeof h=="string"&&(h=JSON.parse(h)),Array.isArray(h)){if(!h.length||Array.isArray(h[0]))return M(null,h,ke);if(typeof h[0]=="object")return M($||Object.keys(h[0]),h,ke)}else if(typeof h=="object")return typeof h.data=="string"&&(h.data=JSON.parse(h.data)),Array.isArray(h.data)&&(h.fields||(h.fields=h.meta&&h.meta.fields||$),h.fields||(h.fields=Array.isArray(h.data[0])?h.fields:typeof h.data[0]=="object"?Object.keys(h.data[0]):[]),Array.isArray(h.data[0])||typeof h.data[0]=="object"||(h.data=[h.data])),M(h.fields||[],h.data||[],ke);throw new Error("Unable to serialize unrecognized input");function M(A,T,Q){var ne="",z=(typeof A=="string"&&(A=JSON.parse(A)),typeof T=="string"&&(T=JSON.parse(T)),Array.isArray(A)&&0<A.length),Ae=!Array.isArray(T[0]);if(z&&E){for(var q=0;q<A.length;q++)0<q&&(ne+=P),ne+=w(A[q],q);0<T.length&&(ne+=U)}for(var D=0;D<T.length;D++){var X=(z?A:T[D]).length,I=!1,ie=z?Object.keys(T[D]).length===0:T[D].length===0;if(Q&&!z&&(I=Q==="greedy"?T[D].join("").trim()==="":T[D].length===1&&T[D][0].length===0),Q==="greedy"&&z){for(var fe=[],ce=0;ce<X;ce++){var re=Ae?A[ce]:ce;fe.push(T[D][re])}I=fe.join("").trim()===""}if(!I){for(var K=0;K<X;K++){0<K&&!ie&&(ne+=P);var Pe=z&&Ae?A[K]:K;ne+=w(T[D][Pe],K)}D<T.length-1&&(!Q||0<X&&!ie)&&(ne+=U)}}return ne}function w(A,T){var Q,ne;return A==null?"":A.constructor===Date?JSON.stringify(A).slice(1,25):(ne=!1,C&&typeof A=="string"&&C.test(A)&&(A="'"+A,ne=!0),Q=A.toString().replace(y,Ee),(ne=ne||f===!0||typeof f=="function"&&f(A,T)||Array.isArray(f)&&f[T]||((z,Ae)=>{for(var q=0;q<Ae.length;q++)if(-1<z.indexOf(Ae[q]))return!0;return!1})(Q,d.BAD_DELIMITERS)||-1<Q.indexOf(P)||Q.charAt(0)===" "||Q.charAt(Q.length-1)===" ")?oe+Q+oe:Q)}},d.RECORD_SEP="�",d.UNIT_SEP="�",d.BYTE_ORDER_MARK="\uFEFF",d.BAD_DELIMITERS=["\r",`
10`,'"',d.BYTE_ORDER_MARK],d.WORKERS_SUPPORTED=!n&&!!t.Worker,d.NODE_STREAM_INPUT=1,d.LocalChunkSize=10485760,d.RemoteChunkSize=5242880,d.DefaultDelimiter=",",d.Parser=R,d.ParserHandle=L,d.NetworkStreamer=u,d.FileStreamer=b,d.Str
10ingStreamer=x,d.ReadableStreamStreamer=B,t.jQuery&&((e=t.jQuery).fn.parse=function(h){var g=h.config||{},f=[];return this.each(function(U){if(!(e(this).prop("tagName").toUpperCase()==="INPUT"&&e(this).attr("type").toLowerCase()==="file"&&t.FileReader)||!this.files||this.files.length===0)return!0;for(var oe=0;oe<this.files.length;oe++)f.push({file:this.files[oe],inputElem:this,instanceConfig:e.extend({},g)})}),E(),this;function E(){if(f.length===0)G(h.complete)&&h.complete();else{var U,oe,Ee,ke,$=f[0];if(G(h.before)){var C=h.before($.file,$.inputElem);if(typeof C=="object"){if(C.action==="abort")return U="AbortError",oe=$.file,Ee=$.inputElem,ke=C.reason,void(G(h.error)&&h.error({name:U},oe,Ee,ke));if(C.action==="skip")return void P();typeof C.config=="object"&&($.instanceConfig=e.extend($.instanceConfig,C.config))}else if(C==="skip")return void P()}var y=$.instanceConfig.complete;$.instanceConfig.complete=function(M){G(y)&&y(M,$.file,$.inputElem),P()},d.parse($.file,$.instanceConfig)}}function P(){f.splice(0,1),E()}}),i&&(t.onmessage=function(h){h=h.data,d.WORKER_ID===void 0&&h&&(d.WORKER_ID=h.workerId),typeof h.input=="string"?t.postMessage({workerId:d.WORKER_ID,results:d.parse(h.input,h.config),finished:!0}):(t.File&&h.input instanceof File||h.input instanceof Object)&&(h=d.parse(h.input,h.config))&&t.postMessage({workerId:d.WORKER_ID,results:h,finished:!0})}),(u.prototype=Object.create(p.prototype)).constructor=u,(b.prototype=Object.create(p.prototype)).constructor=b,(x.prototype=Object.create(x.prototype)).constructor=x,(B.prototype=Object.create(p.prototype)).constructor=B,d})});function mo(r){return new Y(3e3,!1)}function ka(){return new Y(3100,!1)}function Aa(){return new Y(3101,!1)}function Ia(r){return new Y(3001,!1)}function La(r){return new Y(3003,!1)}function Ra(r){return new Y(3004,!1)}function Da(r,t){return new Y(3005,!1)}function Fa(){return new Y(3006,!1)}function Na(){return new Y(3007,!1)}function Ba(r,t){return new Y(3008,!1)}function Va(r){return new Y(3002,!1)}function ja(r,t,e,n,i){return new Y(3010,!1)}function za(){return new Y(3011,!1)}function Ua(){return new Y(3012,!1)}function $a(){return new Y(3200,!1)}function qa(){return new Y(3202,!1)}function Ka(){return new Y(3013,!1)}function Ha(r){return new Y(3014,!1)}function Wa(r){return new Y(3015,!1)}function Ga(r){return new Y(3016,!1)}function Qa(r,t){return new Y(3404,!1)}function Ya(r){return new Y(3502,!1)}function Ja(r){return new Y(3503,!1)}function Za(){return new Y(3300,!1)}function Xa(r){return new Y(3504,!1)}function es(r){return new Y(3301,!1)}function ts(r,t){return new Y(3302,!1)}function ns(r){return new Y(3303,!1)}function is(r,t){return new Y(3400,!1)}function rs(r){return new Y(3401,!1)}function os(r){return new Y(3402,!1)}function as(r,t){return new Y(3505,!1)}function gt(r){switch(r.length){case 0:return new Ut;case 1:return r[0];default:return new wi(r)}}function Eo(r,t,e=new Map,n=new Map){let i=[],o=[],c=-1,d=null;if(t.forEach(p=>{let u=p.get("offset"),b=u==c,x=b&&d||new Map;p.forEach((B,L)=>{let k=L,R=B;if(L!=="offset")switch(k=r.normalizePropertyName(k,i),R){case In:R=e.get(L);break;case it:R=n.get(L);break;default:R=r.normalizeStyleValue(L,k,R,i);break}x.set(k,R)}),b||o.push(x),d=x,c=u}),i.length)throw Ya(i);return o}function Qi(r,t,e,n){switch(t){case"start":r.onStart(()=>n(e&&Mi(e,"start",r)));break;case"done":r.onDone(()=>n(e&&Mi(e,"done",r)));break;case"destroy":r.onDestroy(()=>n(e&&Mi(e,"destroy",r)));break}}function Mi(r,t,e){let n=e.totalTime,i=!!e.disabled,o=Yi(r.element,r.triggerName,r.fromState,r.toState,t||r.phaseName,n??r.totalTime,i),c=r._data;return c!=null&&(o._data=c),o}function Yi(r,t,e,n,i="",o=0,c){return{element:r,triggerName:t,fromState:e,toState:n,phaseName:i,totalTime:o,disabled:!!c}}function Be(r,t,e){let n=r.get(t);return n||r.set(t,n=e),n}function po(r){let t=r.indexOf(":"),e=r.substring(1,t),n=r.slice(t+1);return[e,n]}var ss=typeof document>"u"?null:document.documentElement;function Ji(r){let t=r.parentNode||r.host||null;return t===ss?null:t}function ls(r){return r.substring(1,6)=="ebkit"}var xt=null,uo=!1;function cs(r){xt||(xt=ds()||{},uo=xt.style?"WebkitAppearance"in xt.style:!1);let t=!0;return xt.style&&!ls(r)&&(t=r in xt.style,!t&&uo&&(t="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in xt.style)),t}function ds(){return typeof document<"u"?document.body:null}function Po(r,t){for(;t;){if(t===r)return!0;t=Ji(t)}return!1}function Mo(r,t,e){if(e)return Array.from(r.querySelectorAll(t));let n=r.querySelector(t);return n?[n]:[]}var Zi=(()=>{let t=class t{validateStyleProperty(n){return cs(n)}matchesElement(n,i){return!1}containsElement(n,i){return Po(n,i)}getParentElement(n){return Ji(n)}query(n,i,o){return Mo(n,i,o)}computeStyle(n,i,o){return o||""}animate(n,i,o,c,d,p=[],u){return new Ut(o,c)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=Ce({token:t,factory:t.\u0275fac});let r=t;return r})(),nr=class nr{};nr.NOOP=new Zi;var Et=nr,Pt=class{};var ms=1e3,Oo="{{",ps="}}",To="ng-enter",Li="ng-leave",Qn="ng-trigger",ei=".ng-trigger",ho="ng-animating",Ri=".ng-animating";function ct(r){if(typeof r=="number")return r;let t=r.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Di(parseFloat(t[1]),t[2])}function Di(r,t){switch(t){case"s":return r*ms;default:return r}}function ti(r,t,e){return r.hasOwnProperty("duration")?r:us(r,t,e)}function us(r,t,e){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,c="";if(typeof r=="string"){let d=r.match(n);if(d===null)return t.push(mo(r)),{duration:0,delay:0,easing:""};i=Di(parseFloat(d[1]),d[2]);let p=d[3];p!=null&&(o=Di(parseFloat(p),d[4]));let u=d[5];u&&(c=u)}else i=r;if(!e){let d=!1,p=t.length;i<0&&(t.push(ka()),d=!0),o<0&&(t.push(Aa()),d=!0),d&&t.splice(p,0,mo(r))}return{duration:i,delay:o,easing:c}}function hs(r){return r.length?r[0]instanceof Map?r:r.map(t=>new Map(Object.entries(t))):[]}function ot(r,t,e){t.forEach((n,i)=>{let o=Xi(i);e&&!e.has(i)&&e.set(i,r.style[o]),r.style[o]=n})}function wt(r,t){t.forEach((e,n)=>{let i=Xi(n);r.style[i]=""})}function mn(r){return Array.isArray(r)?r.length==1?r[0]:jr(r):r}function gs(r,t,e){let n=t.params||{},i=ko(r);
vendor: 43,700 bytes, line 10
10i.length&&i.forEach(o=>{n.hasOwnProperty(o)||e.push(Ia(o))})}var Fi=new RegExp(`${Oo}\\s*(.+?)\\s*${ps}`,"g");function ko(r){let t=[];if(typeof r=="string"){let e;for(;e=Fi.exec(r);)t.push(e[1]);Fi.lastIndex=0}return t}function un(r,t,e){let n=`${r}`,i=n.replace(Fi,(o,c)=>{let d=t[c];return d==null&&(e.push(La(c)),d=""),d.toString()});return i==n?r:i}var fs=/-+([a-z0-9])/g;function Xi(r){return r.replace(fs,(...t)=>t[1].toUpperCase())}function _s(r,t){return r===0||t===0}function ys(r,t,e){if(e.size&&t.length){let n=t[0],i=[];if(e.forEach((o,c)=>{n.has(c)||i.push(c),n.set(c,o)}),i.length)for(let o=1;o<t.length;o++){let c=t[o];i.forEach(d=>c.set(d,er(r,d)))}}return t}function Ne(r,t,e){switch(t.type){case H.Trigger:return r.visitTrigger(t,e);case H.State:return r.visitState(t,e);case H.Transition:return r.visitTransition(t,e);case H.Sequence:return r.visitSequence(t,e);case H.Group:return r.visitGroup(t,e);case H.Animate:return r.visitAnimate(t,e);case H.Keyframes:return r.visitKeyframes(t,e);case H.Style:return r.visitStyle(t,e);case H.Reference:return r.visitReference(t,e);case H.AnimateChild:return r.visitAnimateChild(t,e);case H.AnimateRef:return r.visitAnimateRef(t,e);case H.Query:return r.visitQuery(t,e);case H.Stagger:return r.visitStagger(t,e);default:throw Ra(t.type)}}function er(r,t){return window.getComputedStyle(r)[t]}var bs=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"]),ni=class extends Pt{normalizePropertyName(t,e){return Xi(t)}normalizeStyleValue(t,e,n,i){let o="",c=n.toString().trim();if(bs.has(e)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let d=n.match(/^[+-]?[\d\.]+([a-z]*)$/);d&&d[1].length==0&&i.push(Da(t,n))}return c+o}};var ii="*";function vs(r,t){let e=[];return typeof r=="string"?r.split(/\s*,\s*/).forEach(n=>Cs(n,e,t)):e.push(r),e}function Cs(r,t,e){if(r[0]==":"){let p=xs(r,e);if(typeof p=="function"){t.push(p);return}r=p}let n=r.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return e.push(Wa(r)),t;let i=n[1],o=n[2],c=n[3];t.push(go(i,c));let d=i==ii&&c==ii;o[0]=="<"&&!d&&t.push(go(c,i))}function xs(r,t){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,n)=>parseFloat(n)>parseFloat(e);case":decrement":return(e,n)=>parseFloat(n)<parseFloat(e);default:return t.push(Ga(r)),"* => *"}}var Yn=new Set(["true","1"]),Jn=new Set(["false","0"]);function go(r,t){let e=Yn.has(r)||Jn.has(r),n=Yn.has(t)||Jn.has(t);return(i,o)=>{let c=r==ii||r==i,d=t==ii||t==o;return!c&&e&&typeof i=="boolean"&&(c=i?Yn.has(r):Jn.has(r)),!d&&n&&typeof o=="boolean"&&(d=o?Yn.has(t):Jn.has(t)),c&&d}}var Ao=":self",Ss=new RegExp(`s*${Ao}s*,?`,"g");function Io(r,t,e,n){return new Ni(r).build(t,e,n)}var fo="",Ni=class{constructor(t){this._driver=t}build(t,e,n){let i=new Bi(e);return this._resetContextStyleTimingState(i),Ne(this,mn(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector=fo,t.collectedStyles=new Map,t.collectedStyles.set(fo,new Map),t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0,o=[],c=[];return t.name.charAt(0)=="@"&&e.errors.push(Fa()),t.definitions.forEach(d=>{if(this._resetContextStyleTimingState(e),d.type==H.State){let p=d,u=p.name;u.toString().split(/\s*,\s*/).forEach(b=>{p.name=b,o.push(this.visitState(p,e))}),p.name=u}else if(d.type==H.Transition){let p=this.visitTransition(d,e);n+=p.queryCount,i+=p.depCount,c.push(p)}else e.errors.push(Na())}),{type:H.Trigger,name:t.name,states:o,transitions:c,queryCount:n,depCount:i,options:null}}visitState(t,e){let n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){let o=new Set,c=i||{};n.styles.forEach(d=>{d instanceof Map&&d.forEach(p=>{ko(p).forEach(u=>{c.hasOwnProperty(u)||o.add(u)})})}),o.size&&e.errors.push(Ba(t.name,[...o.values()]))}return{type:H.State,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let n=Ne(this,mn(t.animation),e),i=vs(t.expr,e.errors);return{type:H.Transition,matchers:i,animation:n,queryCount:e.queryCount,depCount:e.depCount,options:St(t.options)}}visitSequence(t,e){return{type:H.Sequence,steps:t.steps.map(n=>Ne(this,n,e)),options:St(t.options)}}visitGroup(t,e){let n=e.currentTime,i=0,o=t.steps.map(c=>{e.currentTime=n;let d=Ne(this,c,e);return i=Math.max(i,e.currentTime),d});return e.currentTime=i,{type:H.Group,steps:o,options:St(t.options)}}visitAnimate(t,e){let n=Ms(t.timings,e.errors);e.currentAnimateTimings=n;let i,o=t.styles?t.styles:Fe({});if(o.type==H.Keyframes)i=this.visitKeyframes(o,e);else{let c=t.styles,d=!1;if(!c){d=!0;let u={};n.easing&&(u.easing=n.easing),c=Fe(u)}e.currentTime+=n.duration+n.delay;let p=this.visitStyle(c,e);p.isEmptyStep=d,i=p}return e.currentAnimateTimings=null,{type:H.Animate,timings:n,style:i,options:null}}visitStyle(t,e){let n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){let n=[],i=Array.isArray(t.styles)?t.styles:[t.styles];for(let d of i)typeof d=="string"?d===it?n.push(d):e.errors.push(Va(d)):n.push(new Map(Object.entries(d)));let o=!1,c=null;return n.forEach(d=>{if(d instanceof Map&&(d.has("easing")&&(c=d.get("easing"),d.delete("easing")),!o)){for(let p of d.values())if(p.toString().indexOf(Oo)>=0){o=!0;break}}}),{type:H.Style,styles:n,easing:c,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){let n=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach(c=>{typeof c!="string"&&c.forEach((d,p)=>{let u=e.collectedStyles.get(e.currentQuerySelector),b=u.get(p),x=!0;b&&(o!=i&&o>=b.startTime&&i<=b.endTime&&(e.errors.push(ja(p,b.startTime,b.endTime,o,i)),x=!1),o=b.startTime),x&&u.set(p,{startTime:o,endTime:i}),e.options&&gs(d,e.options,e.errors)})})}visitKeyframes(t,e){let n={type:H.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(za()),n;let i=1,o=0,c=[],d=!1,p=!1,u=0,b=t.steps.map(ge=>{let be=this._makeStyleAst(ge,e),xe=be.offset!=null?be.offset:Ps(be.styles),se=0;return xe!=null&&(o++,se=be.offset=xe),p=p||se<0||se>1,d=d||se<u,u=se,c.push(se),be});p&&e.errors.push(Ua()),d&&e.errors.push($a());let x=t.steps.length,B=0;o>0&&o<x?e.errors.push(qa()):o==0&&(B=i/(x-1));let L=x-1,k=e.currentTime,R=e.currentAnimateTimings,ae=R.duration;return b.forEach((ge,be)=>{let xe=B>0?be==L?1:B*be:c[be],se=xe*ae;e.currentTime=k+R.delay+se,R.duration=se,this._validateStyleAst(ge,e),ge.offset=xe,n.styles.push(ge)}),n}visitReference(t,e){return{type:H.Reference,animation:Ne(this,mn(t.animation),e),options:St(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:H.AnimateChild,options:St(t.options)}}visitAnimateRef(t,e){return{type:H.AnimateRef,animation:this.visitReference(t.animation,e),options:St(t.options)}}visitQuery(t,e){let n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;let[o,c]=ws(t.selector);e.currentQuerySelector=n.length?n+" "+o:o,Be(e.collectedStyles,e.currentQuerySelector,new Map);let d=Ne(this,mn(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:H.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:c,animation:d,originalSelector:t.selector,options:St(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(Ka());let n=t.timings==="full"?{duration:0,delay:0,easing:"full"}:ti(t.timings,e.errors,!0);return{type:H.Stagger,animation:Ne(this,mn(t.animation),e),timings:n,options:null}}};function ws(r){let t=!!r.split(/\s*,\s*/).find(e=>e==Ao);return t&&(r=r.replace(Ss,"")),r=r.replace(/@\*/g,ei).replace(/@\w+/g,e=>ei+"-"+e.slice(1)).replace(/:animating/g,Ri),[r,t]}function Es(r){return r?$e({},r):null}var Bi=class{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Ps(r){if(typeof r=="string")return null;let t=null;if(Array.isArray(r))r.forEach(e=>{if(e instanceof Map&&e.has("offset")){let n=e;t=parseFloat(n.get("offset")),n.delete("offset")}});else if(r instanceof Map&&r.has("offset")){let e=r;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function Ms(r,t){if(r.hasOwnProperty("duration"))return r;if(typeof r=="number"){let o=ti(r,t).duration;return Oi(o,0,"")}let e=r;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Oi(0,0,"");return o.dynamic=!0,o.strValue=e,o}let i=ti(e,t);return Oi(i.duration,i.delay,i.easing)}function St(r){return r?(r=$e({},r),r.params&&(r.params=Es(r.params))):r={},r}function Oi(r,t,e){return{duration:r,delay:t,easing:e}}function tr(r,t,e,n,i,o,c=null,d=!1){return{type:1,element:r,keyframes:t,preStyleProps:e,postStyleProps:n,duration:i,delay:o,totalTime:i+o,easing:c,subTimeline:d}}var hn=class{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},Os=1,Ts=":enter",ks=new RegExp(Ts,"g"),As=":leave",Is=new RegExp(As,"g");function Lo(r,t,e,n,i,o=new Map,c=new Map,d,p,u=[]){return new Vi().buildKeyframes(r,t,e,n,i,o,c,d,p,u)}var Vi=class{buildKeyframes(t,e,n,i,o,c,d,p,u,b=[]){u=u||new hn;let x=new ji(t,e,u,i,o,b,[]);x.options=p;let B=p.delay?ct(p.delay):0;x.currentTimeline.delayNextStep(B),x.currentTimeline.setStyles([c],null,x.errors,p),Ne(this,n,x);let L=x.timelines.filter(k=>k.containsAnimation());if(L.length&&d.size){let k;for(let R=L.length-1;R>=0;R--){let ae=L[R];if(ae.element===e){k=ae;break}}k&&!k.allowOnlyTimelineStyles()&&k.setStyles([d],null,x.errors,p)}return L.length?L.map(k=>k.buildKeyframes()):[tr(e,[],[],[],0,B,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let n=e.subInstructions.get(e.element);if(n){let i=e.createSubContext(t.options),o=e.currentTimeline.currentTime,c=this._visitSubInstructions(n,i,i.options);o!=c&&e.transformIntoNewTimeline(c)}e.previousNode=t}visitAnimateRef(t,e){let n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,n){for(let i of t){let o=i?.delay;if(o){let c=typeof o=="number"?o:ct(un(o,i?.params??{},e.errors));n.delayNextStep(c)}}}_visitSubInstructions(t,e,n){let o=e.currentTimeline.currentTime,c=n.duration!=null?ct(n.duration):null,d=n.delay!=null?ct(n.delay):null;return c!==0&&t.forEach(p=>{let u=e.appendInstructionToTimeline(p,c,d);o=Math.max(o,u.duration+u.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),Ne(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let n=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&(i=e.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==H.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ri);let c=ct(o.delay);i.delayNextStep(c)}t.steps.length&&(t.steps.forEach(c=>Ne(this,c,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let n=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?ct(t.options.delay):0;t.steps.forEach(c=>{let d=e.createSubContext(t.options);o&&d.delayNextStep(o),Ne(this,c,d),i=Math.max(i,d.currentTimeline.currentTime),n.push(d.currentTimeline)}),n.forEach(c=>e.currentTimeline.mergeTimelineCollectedStyles(c)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let n=t.strValue,i=e.params?un(n,e.params,e.errors):n;return ti(i,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());let o=t.style;o.type==H.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let n=e.currentAnimateTimings,i=e.currentTimeline.duration,o=n.duration,d=e.createSubContext().currentTimeline;d.easing=n.easing,t.styles.forEach(p=>{let u=p.offset||0;d.forwardTime(u*o),d.setStyles(p.styles,p.easing,e.errors,e.options),d.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(d),e.transformIntoNewTimeline(i+o),e.previousNode=t}visitQuery(t,e){let n=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?ct(i.delay):0;o&&(e.previousNode.type===H.Style||n==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ri);let c=n,d=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=d.length;let p=null;d.forEach((u,b)=>{e.currentQueryIndex=b;let x=e.createSubContext(t.options,u);o&&x.delayNextStep(o),u===e.element&&(p=x.currentTimeline),Ne(this,t.animation,x),x.currentTimeline.applyStylesToKeyframe();let B=x.currentTimeline.currentTime;c=Math.max(c,B)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(c),p&&(e.currentTimeline.mergeTimelineCollectedStyles(p),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let n=e.parentContext,i=e.currentTimeline,o=t.timings,c=Math.abs(o.duration),d=c*(e.currentQueryTotal-1),p=c*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":p=d-p;break;case"full":p=n.currentStaggerTime;break}let b=e.currentTimeline;p&&b.delayNextStep(p);let x=b.currentTime;Ne(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-x+(i.startTime-n.currentTimeline.startTime)}},ri={},ji=class r{constructor(t,e,n,i,o,c,d,p){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=o,this.errors=c,this.timelines=d,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ri,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=p||new oi(this._driver,e,0),d.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let n=t,i=this.options;n.duration!=null&&(i.duration=ct(n.duration)),n.delay!=null&&(i.delay=ct(n.delay));let o=n.params;if(o){let c=i.params;c||(c=this.options.params={}),Object.keys(o).forEach(d=>{(!e||!c.hasOwnProperty(d))&&(c[d]=un(o[d],c,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let n=t.params={};Object.keys(e).forEach(i=>{n[i]=e[i]})}}return t}createSubContext(t=null,e,n){let i=e||this.element,o=new r(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=ri,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){let i={duration:e??t.duration,delay:this.currentTimeline.currentTime+(n??0)+t.delay,easing:""},o=new zi(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,o,c){let d=[];if(i&&d.push(this.element),t.length>0){t=t.replace(ks,"."+this._enterClassName),t=t.replace(Is,"."+this._leaveClassName);let p=n!=1,u=this._driver.query(this.element,t,p);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),d.push(...u)}return!o&&d.length==0&&c.push(Ha(e)),d}},oi=class r{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new r(this._driver,t,e||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+=Os,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,n]of this._globalTimelineStyles)this._backFill.set(e,n||it),this._currentKeyframe.set(e,it);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&this._previousKeyframe.set("easing",e);let o=i&&i.params||{},c=Ls(t,this._globalTimelineStyles);for(let[d,p]of c){let u=un(p,o,n);this._pendingStyles.set(d,u),this._localTimelineStyles.has(d)||this._backFill.set(d,this._globalTimelineStyles.get(d)??it),this._updateStyle(d,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,n)=>{let i=this._styleSummary.get(n);(!i||e.time>i.time)&&this._updateStyle(n,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((d,p)=>{let u=new Map([...this._backFill,...d]);u.forEach((b,x)=>{b===In?t.add(x):b===it&&e.add(x)}),n||u.set("offset",p/this.duration),i.push(u)});let o=[...t.values()],c=[...e.values()];if(n){let d=i[0],p=new Map(d);d.set("offset",0),p.set("offset",1),i=[d,p]}return tr(this.element,i,o,c,this.duration,this.startTime,this.easing,!1)}},zi=class extends oi{constructor(t,e,n,i,o,c,d=!1){super(t,e,c.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=d,this.timings={duration:c.duration,delay:c.delay,easing:c.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],c=n+e,d=e/c,p=new Map(t[0]);p.set("offset",0),o.push(p);let u=new Map(t[0]);u.set("offset",_o(d)),o.push(u);let b=t.length-1;for(let x=1;x<=b;x++){let B=new Map(t[x]),L=B.get("offset"),k=e+L*n;B.set("offset",_o(k/c)),o.push(B)}n=c,e=0,i="",t=o}return tr(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}};function _o(r,t=3){let e=Math.pow(10,t-1);return Math.round(r*e)/e}function Ls(r,t){let e=new Map,n;return r.forEach(i=>{if(i==="*"){n??=t.keys();for(let o of n)e.set(o,it)}else for(let[o,c]of i)e.set(o,c)}),e}function yo(r,t,e,n,i,o,c,d,p,u,b,x,B){return{type:0,element:r,triggerName:t,isRemovalTransition:i,fromState:e,fromStyles:o,toState:n,toStyles:c,timelines:d,queriedElements:p,preStyleProps:u,postStyleProps:b,totalTime:x,errors:B}}var Ti={},ai=class{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return Rs(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){let i=this._stateStyles.get("*");return t!==void 0&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(e,n):new Map}build(t,e,n,i,o,c,d,p,u,b){let x=[],B=this.ast.options&&this.ast.options.params||Ti,L=d&&d.params||Ti,k=this.buildStyles(n,L,x),R=p&&p.params||Ti,ae=this.buildStyles(i,R,x),ge=new Set,be=new Map,xe=new Map,se=i==="void",G={params:Ro(R,B),delay:this.ast.options?.delay},h=b?[]:Lo(t,e,this.ast.animation,o,c,k,ae,G,u,x),g=0;return h.forEach(f=>{g=Math.max(f.duration+f.delay,g)}),x.length?yo(e,this._triggerName,n,i,se,k,ae,[],[],be,xe,g,x):(h.forEach(f=>{let E=f.element,P=Be(be,E,new Set);f.preStyleProps.forEach(oe=>P.add(oe));let U=Be(xe,E,new Set);f.postStyleProps.forEach(oe=>U.add(oe)),E!==e&&ge.add(E)}),yo(e,this._triggerName,n,i,se,k,ae,h,[...ge.values()],be,xe,g))}};function Rs(r,t,e,n,i){return r.some(o=>o(t,e,n,i))}function Ro(r,t){let e=$e({},t);return Object.entries(r).forEach(([n,i])=>{i!=null&&(e[n]=i)}),e}var Ui=class{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){let n=new Map,i=Ro(t,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((c,d)=>{c&&(c=un(c,i,e));let p=this.normalizer.normalizePropertyName(d,e);c=this.normalizer.normalizeStyleValue(d,p,c,e),n.set(d,c)})}),n}};function Ds(r,t,e){return new $i(r,t,e)}var $i=class{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map,e.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new Ui(i.style,o,n))}),bo(this.states,"true","1"),bo(this.states,"false","0"),e.transitions.forEach(i=>{this.transitionFactories.push(new ai(t,i,this.states))}),this.fallbackTransition=Fs(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(c=>c.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}};function Fs(r,t,e){let n=[(c,d)=>!0],i={type:H.Sequence,steps:[],options:null},o={type:H.Transition,animation:i,matchers:n,options:null,queryCount:0,depCount:0};return new ai(r,o,t)}function bo(r,t,e){r.has(t)?r.has(e)||r.set(e,r.get(t)):r.has(e)&&r.set(t,r.get(e))}var Ns=new hn,qi=class{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){let n=[],i=[],o=Io(this._driver,e,n,i);if(n.length)throw Ja(n);i.length&&void 0,this._animations.set(t,o)}_buildPlayer(t,e,n){let i=t.element,o=Eo(this._normalizer,t.keyframes,e,n);return this._driver.animate(i,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){let i=[],o=this._animations.get(t),c,d=new Map;if(o?(c=Lo(this._driver,e,o,To,Li,new Map,new Map,n,Ns,i),c.forEach(b=>{let x=Be(d,b.element,new Map);b.postStyleProps.forEach(B=>x.set(B,null))})):(i.push(Za()),c=[]),i.length)throw Xa(i);d.forEach((b,x)=>{b.forEach((B,L)=>{b.set(L,this._driver.computeStyle(x,L,it))})});let p=c.map(b=>{let x=d.get(b.element);return this._buildPlayer(b,new Map,x)}),u=gt(p);return this._playersById.set(t,u),u.onDestroy(()=>this.destroy(t)),this.players.push(u),u}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw es(t);return e}listen(t,e,n,i){let o=Yi(e,"","","");return Qi(this._getPlayer(t),n,o,i),()=>{}}command(t,e,n,i){if(n=="register"){this.register(t,i[0]);return}if(n=="create"){let c=i[0]||{};this.create(t,e,c);return}let o=this._getPlayer(t);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t);break}}},vo="ng-animate-queued",Bs=".ng-animate-queued",ki="ng-animate-disabled",Vs=".ng-animate-disabled",js="ng-star-inserted",zs=".ng-star-inserted",Us=[],Do={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},$s={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},He="__ng_removed",gn=class{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let n=t&&t.hasOwnProperty("value"),i=n?t.value:t;if(this.value=Ks(i),n){let o=t,{value:c}=o,d=gr(o,["value"]);this.options=d}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let n=this.options.params;Object.keys(e).forEach(i=>{n[i]==null&&(n[i]=e[i])})}}},pn="void",Ai=new gn(pn),Ki=class{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ue(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.has(e))throw ts(n,e);if(n==null||n.length==0)throw ns(e);if(!Hs(n))throw is(n,e);let o=Be(this._elementListeners,t,[]),c={name:e,phase:n,callback:i};o.push(c);let d=Be(this._engine.statesByElement,t,new Map);return d.has(e)||(Ue(t,Qn),Ue(t,Qn+"-"+e),d.set(e,Ai)),()=>{this._engine.afterFlush(()=>{let p=o.indexOf(c);p>=0&&o.splice(p,1),this._triggers.has(e)||d.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw rs(t);return e}trigger(t,e,n,i=!0){let o=this._getTrigger(e),c=new fn(this.id,e,t),d=this._engine.statesByElement.get(t);d||(Ue(t,Qn),Ue(t,Qn+"-"+e),this._engine.statesByElement.set(t,d=new Map));let p=d.get(e),u=new gn(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&p&&u.absorbOptions(p.options),d.set(e,u),p||(p=Ai),!(u.value===pn)&&p.value===u.value){if(!Qs(p.params,u.params)){let R=[],ae=o.matchStyles(p.value,p.params,R),ge=o.matchStyles(u.value,u.params,R);R.length?this._engine.reportError(R):this._engine.afterFlush(()=>{wt(t,ae),ot(t,ge)})}return}let B=Be(this._engine.playersByElement,t,[]);B.forEach(R=>{R.namespaceId==this.id&&R.triggerName==e&&R.queued&&R.destroy()});let L=o.matchTransition(p.value,u.value,t,u.params),k=!1;if(!L){if(!i)return;L=o.fallbackTransition,k=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:L,fromState:p,toState:u,player:c,isFallbackTransition:k}),k||(Ue(t,vo),c.onStart(()=>{Yt(t,vo)})),c.onDone(()=>{let R=this.players.indexOf(c);R>=0&&this.players.splice(R,1);let ae=this._engine.playersByElement.get(t);if(ae){let ge=ae.indexOf(c);ge>=0&&ae.splice(ge,1)}}),this.players.push(c),B.push(c),c}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(n=>n.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let n=this._engine.driver.query(t,ei,!0);n.forEach(i=>{if(i[He])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(c=>c.triggerLeaveAnimation(i,e,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,e,n,i){let o=this._engine.statesByElement.get(t),c=new Map;if(o){let d=[];if(o.forEach((p,u)=>{if(c.set(u,p.value),this._triggers.has(u)){let b=this.trigger(t,u,pn,i);b&&d.push(b)}}),d.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,c),n&&gt(d).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){let i=new Set;e.forEach(o=>{let c=o.name;if(i.has(c))return;i.add(c);let p=this._triggers.get(c).fallbackTransition,u=n.get(c)||Ai,b=new gn(pn),x=new fn(this.id,c,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:c,transition:p,fromState:u,toState:b,player:x,isFallbackTransition:!0})})}}removeNode(t,e){let n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else{let c=t;for(;c=c.parentNode;)if(n.statesByElement.get(c)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{let o=t[He];(!o||o===Do)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Ue(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let o=n.element,c=this._elementListeners.get(o);c&&c.forEach(d=>{if(d.name==n.triggerName){let p=Yi(o,n.triggerName,n.fromState.value,n.toState.value);p._data=t,Qi(n.player,d.phase,p,d.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((n,i)=>{let o=n.transition.ast.depCount,c=i.transition.ast.depCount;return o==0||c==0?o-c:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},Hi=class{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,n,i){this.bodyNode=t,this.driver=e,this._normalizer=n,this.scheduler=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,c)=>{}}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(n=>{n.queued&&t.push(n)})}),t}createNamespace(t,e){let n=new Ki(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let c=!1,d=this.driver.getParentElement(e);for(;d;){let p=i.get(d);if(p){let u=n.indexOf(p);n.splice(u+1,0,t),c=!0;break}d=this.driver.getParentElement(d)}c||n.unshift(t)}else n.push(t);return i.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(t);this.namespacesByHostElement.delete(n.hostElement);let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,n=this.statesByElement.get(t);if(n){for(let i of n.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&e.add(o)}}return e}trigger(t,e,n,i){if(Zn(e)){let o=this._fetchNamespace(t);if(o)return o.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!Zn(e))return;let o=e[He];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let c=this.collectedLeaveElements.indexOf(e);c>=0&&this.collectedLeaveElements.splice(c,1)}if(t){let c=this._fetchNamespace(t);c&&c.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ue(t,ki)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Yt(t,ki))}removeNode(t,e,n){if(Zn(e)){this.scheduler?.notify();let i=t?this._fetchNamespace(t):null;i?i.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n);let o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,n)}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,n,i,o){this.collectedLeaveElements.push(e),e[He]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,n,i,o){return Zn(e)?this._fetchNamespace(t).listen(e,n,i,o):()=>{}}_buildInstruction(t,e,n,i,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,ei,!0);e.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,Ri,!0),e.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return gt(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[He];if(e&&e.setForRemoval){if(t[He]=Do,e.namespaceId){this.destroyInnerAnimations(t);let n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(ki)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Vs,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let i=this.collectedEnterElements[n];Ue(i,js)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{e=this._flushAnimations(n,t)}finally{for(let i=0;i<n.length;i++)n[i]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let i=this.collectedLeaveElements[n];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],e.length?gt(e).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(t){throw os(t)}_flushAnimations(t,e){let n=new hn,i=[],o=new Map,c=[],d=new Map,p=new Map,u=new Map,b=new Set;this.disabledNodes.forEach(C=>{b.add(C);let y=this.driver.query(C,Bs,!0);for(let M=0;M<y.length;M++)b.add(y[M])});let x=this.bodyNode,B=Array.from(this.statesByElement.keys()),L=So(B,this.collectedEnterElements),k=new Map,R=0;L.forEach((C,y)=>{let M=To+R++;k.set(y,M),C.forEach(w=>Ue(w,M))});let ae=[],ge=new Set,be=new Set;for(let C=0;C<this.collectedLeaveElements.length;C++){let y=this.collectedLeaveElements[C],M=y[He];M&&M.setForRemoval&&(ae.push(y),ge.add(y),M.hasAnimation?this.driver.query(y,zs,!0).forEach(w=>ge.add(w)):be.add(y))}let xe=new Map,se=So(B,Array.from(ge));se.forEach((C,y)=>{let M=Li+R++;xe.set(y,M),C.forEach(w=>Ue(w,M))}),t.push(()=>{L.forEach((C,y)=>{let M=k.get(y);C.forEach(w=>Yt(w,M))}),se.forEach((C,y)=>{let M=xe.get(y);C.forEach(w=>Yt(w,M))}),ae.forEach(C=>{this.processLeaveNode(C)})});let G=[],h=[];for(let C=this._namespaceList.length-1;C>=0;C--)this._namespaceList[C].drainQueuedTransitions(e).forEach(M=>{let w=M.player,A=M.element;if(G.push(w),this.collectedEnterElements.length){let D=A[He];if(D&&D.setForMove){if(D.previousTriggersValues&&D.previousTriggersValues.has(M.triggerName)){let X=D.previousTriggersValues.get(M.triggerName),I=this.statesByElement.get(M.element);if(I&&I.has(M.triggerName)){let ie=I.get(M.triggerName);ie.value=X,I.set(M.triggerName,ie)}}w.destroy();return}}let T=!x||!this.driver.containsElement(x,A),Q=xe.get(A),ne=k.get(A),z=this._buildInstruction(M,n,ne,Q,T);if(z.errors&&z.errors.length){h.push(z);return}if(T){w.onStart(()=>wt(A,z.fromStyles)),w.onDestroy(()=>ot(A,z.toStyles)),i.push(w);return}if(M.isFallbackTransition){w.onStart(()=>wt(A,z.fromStyles)),w.onDestroy(()=>ot(A,z.toStyles)),i.push(w);return}let Ae=[];z.timelines.forEach(D=>{D.stretchStartingKeyframe=!0,this.disabledNodes.has(D.element)||Ae.push(D)}),z.timelines=Ae,n.append(A,z.timelines);let q={instruction:z,player:w,element:A};c.push(q),z.queriedElements.forEach(D=>Be(d,D,[]).push(w)),z.preStyleProps.forEach((D,X)=>{if(D.size){let I=p.get(X);I||p.set(X,I=new Set),D.forEach((ie,fe)=>I.add(fe))}}),z.postStyleProps.forEach((D,X)=>{let I=u.get(X);I||u.set(X,I=new Set),D.forEach((ie,fe)=>I.add(fe))})});if(h.length){let C=[];h.forEach(y=>{C.push(as(y.triggerName,y.errors))}),G.forEach(y=>y.destroy()),this.reportError(C)}let g=new Map,f=new Map;c.forEach(C=>{let y=C.element;n.has(y)&&(f.set(y,y),this._beforeAnimationBuild(C.player.namespaceId,C.instruction,g))}),i.forEach(C=>{let y=C.element;this._getPreviousPlayers(y,!1,C.namespaceId,C.triggerName,null).forEach(w=>{Be(g,y,[]).push(w),w.destroy()})});let E=ae.filter(C=>wo(C,p,u)),P=new Map;xo(P,this.driver,be,u,it).forEach(C=>{wo(C,p,u)&&E.push(C)});let oe=new Map;L.forEach((C,y)=>{xo(oe,this.driver,new Set(C),p,In)}),E.forEach(C=>{let y=P.get(C),M=oe.get(C);P.set(C,new Map([...y?.entries()??[],...M?.entries()??[]]))});let Ee=[],ke=[],$={};c.forEach(C=>{let{element:y,player:M,instruction:w}=C;if(n.has(y)){if(b.has(y)){M.onDestroy(()=>ot(y,w.toStyles)),M.disabled=!0,M.overrideTotalTime(w.totalTime),i.push(M);return}let A=$;if(f.size>1){let Q=y,ne=[];for(;Q=Q.parentNode;){let z=f.get(Q);if(z){A=z;break}ne.push(Q)}ne.forEach(z=>f.set(z,A))}let T=this._buildAnimation(M.namespaceId,w,g,o,oe,P);if(M.setRealPlayer(T),A===$)Ee.push(M);else{let Q=this.playersByElement.get(A);Q&&Q.length&&(M.parentPlayer=gt(Q)),i.push(M)}}else wt(y,w.fromStyles),M.onDestroy(()=>ot(y,w.toStyles)),ke.push(M),b.has(y)&&i.push(M)}),ke.forEach(C=>{let y=o.get(C.element);if(y&&y.length){let M=gt(y);C.setRealPlayer(M)}}),i.forEach(C=>{C.parentPlayer?C.syncPlayerEvents(C.parentPlayer):C.destroy()});for(let C=0;C<ae.length;C++){let y=ae[C],M=y[He];if(Yt(y,Li),M&&M.hasAnimation)continue;let w=[];if(d.size){let T=d.get(y);T&&T.length&&w.push(...T);let Q=this.driver.query(y,Ri,!0);for(let ne=0;ne<Q.length;ne++){let z=d.get(Q[ne]);z&&z.length&&w.push(...z)}}let A=w.filter(T=>!T.destroyed);A.length?Ws(this,y,A):this.processLeaveNode(y)}return ae.length=0,Ee.forEach(C=>{this.players.push(C),C.onDone(()=>{C.destroy();let y=this.players.indexOf(C);this.players.splice(y,1)}),C.play()}),Ee}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,o){let c=[];if(e){let d=this.playersByQueriedElement.get(t);d&&(c=d)}else{let d=this.playersByElement.get(t);if(d){let p=!o||o==pn;d.forEach(u=>{u.queued||!p&&u.triggerName!=i||c.push(u)})}}return(n||i)&&(c=c.filter(d=>!(n&&n!=d.namespaceId||i&&i!=d.triggerName))),c}_beforeAnimationBuild(t,e,n){let i=e.triggerName,o=e.element,c=e.isRemovalTransition?void 0:t,d=e.isRemovalTransition?void 0:i;for(let p of e.timelines){let u=p.element,b=u!==o,x=Be(n,u,[]);this._getPreviousPlayers(u,b,c,d,e.toState).forEach(L=>{let k=L.getRealPlayer();k.beforeDestroy&&k.beforeDestroy(),L.destroy(),x.push(L)})}wt(o,e.fromStyles)}_buildAnimation(t,e,n,i,o,c){let d=e.triggerName,p=e.element,u=[],b=new Set,x=new Set,B=e.timelines.map(k=>{let R=k.element;b.add(R);let ae=R[He];if(ae&&ae.removedBeforeQueried)return new Ut(k.duration,k.delay);let ge=R!==p,be=Gs((n.get(R)||Us).map(g=>g.getRealPlayer())).filter(g=>{let f=g;return f.element?f.element===R:!1}),xe=o.get(R),se=c.get(R),G=Eo(this._normalizer,k.keyframes,xe,se),h=this._buildPlayer(k,G,be);if(k.subTimeline&&i&&x.add(R),ge){let g=new fn(t,d,R);g.setRealPlayer(h),u.push(g)}return h});u.forEach(k=>{Be(this.playersByQueriedElement,k.element,[]).push(k),k.onDone(()=>qs(this.playersByQueriedElement,k.element,k))}),b.forEach(k=>Ue(k,ho));let L=gt(B);return L.onDestroy(()=>{b.forEach(k=>Yt(k,ho)),ot(p,e.toStyles)}),x.forEach(k=>{Be(i,k,[]).push(L)}),L}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Ut(t.duration,t.delay)}},fn=class{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Ut,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,n)=>{e.forEach(i=>Qi(t,n,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Be(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function qs(r,t,e){let n=r.get(t);if(n){if(n.length){let i=n.indexOf(e);n.splice(i,1)}n.length==0&&r.delete(t)}return n}function Ks(r){return r??null}function Zn(r){return r&&r.nodeType===1}function Hs(r){return r=="start"||r=="done"}function Co(r,t){let e=r.style.display;return r.style.display=t??"none",e}function xo(r,t,e,n,i){let o=[];e.forEach(p=>o.push(Co(p)));let c=[];
10n.forEach((p,u)=>{let b=new Map;p.forEach(x=>{let B=t.computeStyle(u,x,i);b.set(x,B),(!B||B.length==0)&&(u[He]=$s,c.push(u))}),r.set(u,b)});let d=0;return e.forEach(p=>Co(p,o[d++])),c}function So(r,t){let e=new Map;if(r.forEach(d=>e.set(d,[])),t.length==0)return e;let n=1,i=new Set(t),o=new Map;function c(d){if(!d)return n;let p=o.get(d);if(p)return p;let u=d.parentNode;return e.has(u)?p=u:i.has(u)?p=n:p=c(u),o.set(d,p),p}return t.forEach(d=>{let p=c(d);p!==n&&e.get(p).push(d)}),e}function Ue(r,t){r.classList?.add(t)}function Yt(r,t){r.classList?.remove(t)}function Ws(r,t,e){gt(e).onDone(()=>r.processLeaveNode(t))}function Gs(r){let t=[];return Fo(r,t),t}function Fo(r,t){for(let e=0;e<r.length;e++){let n=r[e];n instanceof wi?Fo(n.players,t):t.push(n)}}function Qs(r,t){let e=Object.keys(r),n=Object.keys(t);if(e.length!=n.length)return!1;for(let i=0;i<e.length;i++){let o=e[i];if(!t.hasOwnProperty(o)||r[o]!==t[o])return!1}return!0}function wo(r,t,e){let n=e.get(r);if(!n)return!1;let i=t.get(r);return i?n.forEach(o=>i.add(o)):t.set(r,n),e.delete(r),!0}var Zt=class{constructor(t,e,n,i){this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(o,c)=>{},this._transitionEngine=new Hi(t.body,e,n,i),this._timelineEngine=new qi(t.body,e,n),this._transitionEngine.onRemovalComplete=(o,c)=>this.onRemovalComplete(o,c)}registerTrigger(t,e,n,i,o){let c=t+"-"+i,d=this._triggerCache[c];if(!d){let p=[],u=[],b=Io(this._driver,o,p,u);if(p.length)throw Qa(i,p);u.length&&void 0,d=Ds(i,b,this._normalizer),this._triggerCache[c]=d}this._transitionEngine.registerTrigger(e,i,d)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n){this._transitionEngine.removeNode(t,e,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if(n.charAt(0)=="@"){let[o,c]=po(n),d=i;this._timelineEngine.command(o,e,c,d)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,o){if(n.charAt(0)=="@"){let[c,d]=po(n);return this._timelineEngine.listen(c,e,d,o)}return this._transitionEngine.listen(t,e,n,i,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};function Ys(r,t){let e=null,n=null;return Array.isArray(t)&&t.length?(e=Ii(t[0]),t.length>1&&(n=Ii(t[t.length-1]))):t instanceof Map&&(e=Ii(t)),e||n?new Wi(r,e,n):null}var Jt=class Jt{constructor(t,e,n){this._element=t,this._startStyles=e,this._endStyles=n,this._state=0;let i=Jt.initialStylesByElement.get(t);i||Jt.initialStylesByElement.set(t,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&ot(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ot(this._element,this._initialStyles),this._endStyles&&(ot(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Jt.initialStylesByElement.delete(this._element),this._startStyles&&(wt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wt(this._element,this._endStyles),this._endStyles=null),ot(this._element,this._initialStyles),this._state=3)}};Jt.initialStylesByElement=new WeakMap;var Wi=Jt;function Ii(r){let t=null;return r.forEach((e,n)=>{Js(n)&&(t=t||new Map,t.set(n,e))}),t}function Js(r){return r==="display"||r==="position"}var si=class{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(n=>{e.push(Object.fromEntries(n))}),e}_triggerWebAnimation(t,e,n){return t.animate(this._convertKeyframesToObject(e),n)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,i)=>{i!=="offset"&&t.set(i,this._finished?n:er(this.element,i))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(n=>n()),e.length=0}},li=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return Po(t,e)}getParentElement(t){return Ji(t)}query(t,e,n){return Mo(t,e,n)}computeStyle(t,e,n){return er(t,e)}animate(t,e,n,i,o,c=[]){let d=i==0?"both":"forwards",p={duration:n,delay:i,fill:d};o&&(p.easing=o);let u=new Map,b=c.filter(L=>L instanceof si);_s(n,i)&&b.forEach(L=>{L.currentSnapshot.forEach((k,R)=>u.set(R,k))});let x=hs(e).map(L=>new Map(L));x=ys(t,x,u);let B=Ys(t,x);return new si(t,x,p,B)}};var Xn="@",No="@.disabled",ci=class{constructor(t,e,n,i){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}
10appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==Xn&&e==No?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},Gi=class extends ci{constructor(t,e,n,i,o){super(e,n,i,o),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==Xn?e.charAt(1)=="."&&e==No?(n=n===void 0?!0:!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==Xn){let i=Zs(t),o=e.slice(1),c="";return o.charAt(0)!=Xn&&([o,c]=Xs(o)),this.engine.listen(this.namespaceId,i,o,c,d=>{let p=d._data||-1;this.factory.scheduleListenerCallback(p,n,d)})}return this.delegate.listen(t,e,n)}};function Zs(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}function Xs(r){let t=r.indexOf("."),e=r.substring(0,t),n=r.slice(t+1);return[e,n]}var di=class{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(i,o)=>{let c=o?.parentNode(i);c&&o.removeChild(c,i)}}createRenderer(t,e){let n="",i=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let u=this._rendererCache,b=u.get(i);if(!b){let x=()=>u.delete(i);b=new ci(n,i,this.engine,x),u.set(i,b)}return b}let o=e.id,c=e.id+"-"+this._currentId;this._currentId++,this.engine.register(c,t);let d=u=>{Array.isArray(u)?u.forEach(d):this.engine.registerTrigger(o,c,t,u.name,u)};return e.data.animation.forEach(d),new Gi(this,c,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){if(t>=0&&t<this._microtaskId){this._zone.run(()=>e(n));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[c,d]=o;c(d)}),this._animationCallbacksBuffer=[]})}),i.push([e,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var tl=(()=>{let t=class t extends Zt{constructor(n,i,o){super(n,i,o,Sn(Pr,{optional:!0}))}ngOnDestroy(){this.flush()}};t.\u0275fac=function(i){return new(i||t)(pe(Ir),pe(Et),pe(Pt))},t.\u0275prov=Ce({token:t,factory:t.\u0275fac});let r=t;return r})();function nl(){return new ni}function il(r,t,e){return new di(r,t,e)}var Vo=[{provide:Pt,useFactory:nl},{provide:Zt,useClass:tl},{provide:En,useFactory:il,deps:[Nr,Zt,Pn]}],Bo=[{provide:Et,useFactory:()=>new li},{provide:Ci,useValue:"BrowserAnimations"},...Vo],rl=[{provide:Et,useClass:Zi},{provide:Ci,useValue:"NoopAnimations"},...Vo],jo=(()=>{let t=class t{static withConfig(n){return{ngModule:t,providers:n.disableAnimations?rl:Bo}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=Ye({type:t}),t.\u0275inj=Je({providers:Bo,imports:[Tn]});let r=t;return r})();var ft=class{},zo=(()=>{class r extends ft{getTranslation(e){return st({})}static \u0275fac=(()=>{let e;return function(i){return(e||(e=wn(r)))(i||r)}})();static \u0275prov=Ce({token:r,factory:r.\u0275fac})}return r})(),_n=class{},Uo=(()=>{class r{handle(e){return e.key}static \u0275fac=function(n){return new(n||r)};static \u0275prov=Ce({token:r,factory:r.\u0275fac})}return r})();function Mt(r){return typeof r<"u"&&r!==null}function ir(r){return r&&typeof r=="object"&&!Array.isArray(r)}function Ko(r,t){let e=Object.assign({},r);return ir(r)&&ir(t)&&Object.keys(t).forEach(n=>{ir(t[n])?n in r?e[n]=Ko(r[n],t[n]):Object.assign(e,{[n]:t[n]}):Object.assign(e,{[n]:t[n]})}),e}var Xt=class{},$o=(()=>{class r extends Xt{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,n){let i;return typeof e=="string"?i=this.interpolateString(e,n):typeof e=="function"?i=this.interpolateFunction(e,n):i=e,i}getValue(e,n){let i=typeof n=="string"?n.split("."):[n];n="";do n+=i.shift(),Mt(e)&&Mt(e[n])&&(typeof e[n]=="object"||!i.length)?(e=e[n],n=""):i.length?n+=".":e=void 0;while(i.length);return e}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(i,o)=>{let c=this.getValue(n,o);return Mt(c)?c:i}):e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=wn(r)))(i||r)}})();static \u0275prov=Ce({token:r,factory:r.\u0275fac})}return r})(),en=class{},qo=(()=>{class r extends en{compile(e,n){return e}compileTranslations(e,n){return e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=wn(r)))(i||r)}})();static \u0275prov=Ce({token:r,factory:r.\u0275fac})}return r})(),mi=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new bt;onLangChange=new bt;onDefaultLangChange=new bt},rr=new sn("USE_STORE"),or=new sn("USE_DEFAULT_LANG"),ar=new sn("DEFAULT_LANGUAGE"),sr=new sn("USE_EXTEND"),pi=(()=>{class r{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new bt;_onLangChange=new bt;_onDefaultLangChange=new bt;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,n,i,o,c,d=!0,p=!1,u=!1,b){this.store=e,this.currentLoader=n,this.compiler=i,this.parser=o,this.missingTranslationHandler=c,this.useDefaultLang=d,this.isolate=p,this.extend=u,b&&this.setDefaultLang(b)}setDefaultLang(e){if(e===this.defaultLang)return;let n=this.retrieveTranslations(e);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=e),n.pipe(yt(1)).subscribe(i=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return st(this.translations[e]);let n=this.retrieveTranslations(e);return typeof n<"u"?(this.currentLang||(this.currentLang=e),n.pipe(yt(1)).subscribe(i=>{this.changeLang(e)}),n):(this.changeLang(e),st(this.translations[e]))}retrieveTranslations(e){let n;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),n=this._translationRequests[e]),n}getTranslation(e){this.pending=!0;let n=this.currentLoader.getTranslation(e).pipe(bi(1),yt(1));return this.loadingTranslations=n.pipe(kt(i=>this.compiler.compileTranslations(i,e)),bi(1),yt(1)),this.loadingTranslations.subscribe({next:i=>{this.translations[e]=this.extend&&this.translations[e]?$e($e({},i),this.translations[e]):i,this.updateLangs(),this.pending=!1},error:i=>{this.pending=!1}}),n}setTranslation(e,n,i=!1){n=this.compiler.compileTranslations(n,e),(i||this.extend)&&this.translations[e]?this.translations[e]=Ko(this.translations[e],n):this.translations[e]=n,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(n=>{this.langs.indexOf(n)===-1&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,n,i){let o;if(n instanceof Array){let c={},d=!1;for(let p of n)c[p]=this.getParsedResult(e,p,i),_t(c[p])&&(d=!0);if(d){let p=n.map(u=>_t(c[u])?c[u]:st(c[u]));return yr(p).pipe(kt(u=>{let b={};return u.forEach((x,B)=>{b[n[B]]=x}),b}))}return c}if(e&&(o=this.parser.interpolate(this.parser.getValue(e,n),i)),typeof o>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),i)),typeof o>"u"){let c={key:n,translateService:this};typeof i<"u"&&(c.interpolateParams=i),o=this.missingTranslationHandler.handle(c)}return typeof o<"u"?o:n}get(e,n){if(!Mt(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(vr(i=>(i=this.getParsedResult(i,e,n),_t(i)?i:st(i))));{let i=this.getParsedResult(this.translations[this.currentLang],e,n);return _t(i)?i:st(i)}}getStreamOnTranslationChange(e,n){if(!Mt(e)||!e.length)throw new Error('Parameter "key" required');return _i(yi(()=>this.get(e,n)),this.onTranslationChange.pipe(vi(i=>{let o=this.getParsedResult(i.translations,e,n);return typeof o.subscribe=="function"?o:st(o)})))}stream(e,n){if(!Mt(e)||!e.length)throw new Error('Parameter "key" required');return _i(yi(()=>this.get(e,n)),this.onLangChange.pipe(vi(i=>{let o=this.getParsedResult(i.translations,e,n);return _t(o)?o:st(o)})))}instant(e,n){if(!Mt(e)||!e.length)throw new Error('Parameter "key" required');let i=this.getParsedResult(this.translations[this.currentLang],e,n);if(_t(i)){if(e instanceof Array){let o={};return e.forEach((c,d)=>{o[e[d]]=e[d]}),o}return e}else return i}set(e,n,i=this.currentLang){this.translations[i][e]=this.compiler.compile(n,i),this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}
10resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;if(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof e>"u"))return e.indexOf("-")!==-1&&(e=e.split("-")[0]),e.indexOf("_")!==-1&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(n){return new(n||r)(pe(mi),pe(ft),pe(en),pe(Xt),pe(_n),pe(or),pe(rr),pe(sr),pe(ar))};static \u0275prov=Ce({token:r,factory:r.\u0275fac})}return r})();var Ho=(()=>{class r{static forRoot(e={}){return{ngModule:r,providers:[e.loader||{provide:ft,useClass:zo},e.compiler||{provide:en,useClass:qo},e.parser||{provide:Xt,useClass:$o},e.missingTranslationHandler||{provide:_n,useClass:Uo},mi,{provide:rr,useValue:e.isolate},{provide:or,useValue:e.useDefaultLang},{provide:sr,useValue:e.extend},{provide:ar,useValue:e.defaultLanguage},pi]}}static forChild(e={}){return{ngModule:r,providers:[e.loader||{provide:ft,useClass:zo},e.compiler||{provide:en,useClass:qo},e.parser||{provide:Xt,useClass:$o},e.missingTranslationHandler||{provide:_n,useClass:Uo},{provide:rr,useValue:e.isolate},{provide:or,useValue:e.useDefaultLang},{provide:sr,useValue:e.extend},{provide:ar,useValue:e.defaultLanguage},pi]}}static \u0275fac=function(n){return new(n||r)};static \u0275mod=Ye({type:r});static \u0275inj=Je({})}return r})();var ui=class{http;prefix;suffix;constructor(t,e="/assets/i18n/",n=".json"){this.http=t,this.prefix=e,this.suffix=n}getTranslation(t){return this.http.get(`${this.prefix}${t}${this.suffix}`)}};var Wo=(()=>{let t=class t{constructor(n){this.messageService=n}intercept(n,i){let o=n.clone({setHeaders:{Accept:"application/json","Content-Type":"application/json"}});return i.handle(o).pipe(br(c=>{let d="We're sorry for the inconvenience. Our team has been notified, and we're working to fix the issue! Please try again later.";if(typeof c?.error?.error=="string")d=c?.error?.error;else if(typeof c?.error?.error=="object"){let p=Object.values(c?.error?.error)?.[0];d=p||d}return this.messageService.add({severity:"error",summary:"Oops! Something went wrong",detail:d}),fr(c)}))}};t.\u0275fac=function(i){return new(i||t)(pe(ut))},t.\u0275prov=Ce({token:t,factory:t.\u0275fac});let r=t;return r})();function al(r){let t=r,e=Math.floor(Math.abs(r)),n=r.toString().replace(/^[^.]*\.?/,"").length;return e===1&&n===0?1:5}var Go=["de",[["AM","PM"],void 0,void 0],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],void 0,void 0],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{ATS:["\xF6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"\u0440."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl\xA3"],GHS:[void 0,"\u20B5"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],RWF:[void 0,"F.Rw"],SYP:[],THB:["\u0E3F"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",al];var Qo=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=me({type:t,selectors:[["app-not-found"]],standalone:!0,features:[Te],decls:10,vars:1,consts:[[1,"not-found-component","p-2","lg:py-3","lg:px-7","my-3","lg:flex"],[1,"text-left","flex","flex-column","justify-content-center"],["styleClass","live-chip p-chip text-xs px-2 uppercase border-round-md bg-transparent","icon","pi pi-circle-fill text-2xs text-danger mr-2","label","Error 404"],[1,"display-sn-semibold","lg:display-lg-semibold","relative","mb-4","mt-3"],[1,"text-lg-regular","text-tertiary","mb-5","lg:mb-6"],["severity","secondary","styleClass","w-full md:w-max","routerLink","/","icon","pi pi-arrow-left","label","Go to Homepage","queryParamsHandling","merge",1,"mb-5","back-to-homepage-btn",3,"plain"],["ngSrc","assets/images/processed/backgrounds/not-found-component/astronaut-xl.webp","srcset",`
11			assets/images/processed/backgrounds/not-found-component/astronaut-sm.webp 1152w,
12			assets/images/processed/backgrounds/not-found-component/astronaut-md.webp 1536w,
13			assets/images/processed/backgrounds/not-found-component/astronaut-xl.webp 2400w
14		`,"width","480","height","560","alt","not-found-image",1,"not-found-img","flex","mx-auto","max-w-17rem","md:max-w-full","h-auto"]],template:function(i,o){i&1&&(s(0,"section",0)(1,"div",1),_(2,"p-chip",2),s(3,"h1",3),l(4,"Houston, We Have a Problem!"),a(),s(5,"p",4),l(6," Lo
14oks like you've ventured into uncharted territory, a cosmic 404 space! Navigate back to known digital worlds or signal us for guidance. Don't worry, spacewalks are part of the adventure! "),a(),_(7,"p-button",5),a(),_(8,"img",6)(9,"app-background-scene"),a()),i&2&&(m(7),S("plain",!0))},dependencies:[De,ze,jt,Wt,Ve,Qr],styles:[`.not-found-component .back-to-homepage-btn .p-button .p-button-icon{flex:1 1 auto;text-align:right}.not-found-component .back-to-homepage-btn .p-button .p-button-label{text-align:left}
15`],encapsulation:2});let r=t;return r})();var Yo=[{image:"assets/images/icons/about-us/chart-line-up.svg",description:"Reliable traffic and sales tracking system"},{image:"assets/images/icons/about-us/projector-screen.svg",description:"Comprehensive dashboard for smarter business decisions"},{image:"assets/images/icons/about-us/handshake.svg",description:"Updated cooperation rules for valuable partnerships"},{image:"assets/images/icons/about-us/air-traffic-control.svg",description:"Real-time rankings for Marketers and Merchants"},{image:"assets/images/icons/about-us/hand-coins.svg",description:"Automated payments"},{image:"assets/images/icons/about-us/storefront.svg",description:"Access to top digital marketers and e-shops"}];var Jo=(()=>{let t=class t{constructor(){this.documentStyle=getComputedStyle(document.documentElement),this.salesChartData={labels:["2017","2018","2019","2020","2021","2022","2023"],datasets:[{label:"Sales",backgroundColor:this.documentStyle.getPropertyValue("--color-utility-violet-200"),borderColor:this.documentStyle.getPropertyValue("--color-utility-violet-200"),data:[800259,678820,794210,1019004,1390264,1955481,2858933],barThickness:16}]},this.commisionsChartData={labels:["2017","2018","2019","2020","2021","2022","2023"],datasets:[{label:"Value",backgroundColor:this.documentStyle.getPropertyValue("--color-utility-violet-200"),borderColor:this.documentStyle.getPropertyValue("--color-utility-violet-200"),data:[1875097,1907119,2368401,2991130,3715749,5358212,6916825],barThickness:16}]},this.salesChartOptions=this.chartOptions("sales"),this.commisionsChartOptions=this.chartOptions("commisions")}ngOnInit(){}formatValue(n,i){if(n===0)return"0";let c=`${(n/1e6).toFixed(Number.isInteger(n/1e6)?0:1)} M`;return i==="commisions"?`\u20AC${c}`:c}chartOptions(n="sales"){let i=this.documentStyle.getPropertyValue("--surface-border");return{responsive:!0,maintainAspectRatio:!1,aspectRatio:.8,plugins:{legend:{display:!1},tooltip:{callbacks:{label:o=>`${o.dataset.label}: ${this.formatValue(o.raw,n)}`}}},scales:{x:{ticks:{color:"#FFFFFF",font:{weight:500}},grid:{display:!1}},y:{ticks:{color:"#FFFFFF",callback:(o,c,d)=>this.formatValue(o,n)},grid:{color:i}}},elements:{bar:{borderRadius:{topLeft:4,topRight:4}}}}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=me({type:t,selectors:[["app-chart-sidebar"]],standalone:!0,features:[Te],decls:12,vars:4,consts:[[1,"chart-sidebar-component","mx-4","lg:mx-0","p-3","md:p-4","mb-9","lg:mb-0","border-round-xl","lg:border-noround"],[1,"section-subtitle","mb-3"],[1,"charts-wrapper","flex","flex-column","md:flex-row","lg:flex-column","gap-3"],[1,"sales-chart","chart","flex-1"],[1,"chart-title","text-lg-semibold"],["type","bar",3,"data","options"],[1,"commisions-chart","chart","flex-1"]],template:function(i,o){i&1&&(s(0,"section",0)(1,"p",1),l(2," All our merchants, marketers are real, and their results are spectacular. "),a(),s(3,"div",2)(4,"div",3)(5,"h3",4),l(6,"Generated Sales Nr."),a(),_(7,"p-chart",5),a(),s(8,"div",6)(9,"h3",4),l(10,"Paid Commissions Value"),a(),_(11,"p-chart",5),a()()()),i&2&&(m(7),S("data",o.salesChartData)("options",o.salesChartOptions),m(4),S("data",o.commisionsChartData)("options",o.commisionsChartOptions))},dependencies:[to,eo],styles:[`.chart-sidebar-component{background:var(--color-bg-secondary, #161b26)}@media only screen and (min-width: 992px){.chart-sidebar-component{border-left:1px solid var(--color-border-primary, #333741);min-height:calc(100vh - 74px);height:100%;right:0;top:72px}}@media only screen and (min-width: 1200px){.chart-sidebar-component{width:460px}}.chart-sidebar-component .chart p-chart>div{width:100%;max-width:100%;max-height:200px}
16`],encapsulation:2});let r=t;return r})();function ll(r,t){if(r&1&&(s(0,"div",10)(1,"div",11),_(2,"p-avatar",12),s(3,"p",13),l(4),a()()()),r&2){let e=t.$implicit;m(2),S("image",e.image),m(2),O(e.description)}}var Xo=(()=>{let t=class t{constructor(n){this.metaService=n,this.pageTitle="Start Your Journey in the World's First E-commerce Championship",this.pageDescription="Choose your character type and enter the Business League universe, where Marketers and Merchants compete for a place in the Leaderboard of sales champions!",this.benefits=Yo}ngOnInit(){this.metaService.updateMetaTags(this.pageDescription,this.pageTitle)}};t.\u0275fac=function(i){return new(i||t)(N(Qt))},t.\u0275cmp=me({type:t,selectors:[["app-about-us"]],standalone:!0,features:[Te],decls:21,vars:1,consts:[[1,"about-us-component","flex","flex-column","lg:flex-row"],[1,"mx-auto","p-4","lg:px-6","xl:px-8","xl:py-6"],[1,"component-title","display-xs-semibold","lg:display-md-semibold","mt-2","mb-3"],[1,"component-content","flex","flex-column","sm:flex-row","flex-wrap","gap-3","mt-3","lg:mb-5"],[1,"line-height-md","m-0"],[1,"my-2","grid"],["class","col-12 sm:col-6 xl:col-4",4,"ngFor","ngForOf"],["href","https://bvb.ro/FinancialInstruments/Details/FinancialInstrumentsDetails.aspx?s=2P","target","_blank","rel","noopener noreferrer",1,"text-white","font-semibold"],[1,"component-footer","continue-btn-wrapper","text-sm","p-3","lg:p-0"],["btnLabel","Let's talk business","styleClass","no-text-decoration"],[1,"col-12","sm:col-6","xl:col-4"],[1,"benefit-card","secondary-surface","border-round-xl","p-3","flex","gap-2","align-items-center","h-full"],["styleClass","bg-primary p-2 p-avatar-md benefit-icon","shape","circle","alt","benefit-icon","size","large","onError","this.onerror=null;this.src='assets/images/icons/avatar-default.webp';",3,"image"],[1,"benefit-text","text-sm-medium"]],template:function(i,o){i&1&&(s(0,"div",0)(1,"div",1),_(2,"app-back-btn"),s(3,"h1",2),l(4," Welcome to the first E-commerce Championship! "),a(),s(5,"div",3)(6,"p",4),l(7," We spotlight the world's best e-commerce professionals and companies. By combining top concepts from affiliate marketing, e-commerce, and gaming, we've created a unique competition. "),a(),s(8,"p",4),l(9," E-commerce managers and next-gen marketers collaborate in a transparent, gamified, performance-based environment. The competition, measured by sales generated in a set time, offers everyone involved: "),a(),s(10,"div",5),F(11,ll,5,2,"div",6),a(),s(12,"p",4),l(13," We believe the future of e-commerce is gamified. In 2020, we became the "),s(14,"a",7),l(15," first tech public company on the Bucharest Stock Exchange "),a(),l(16," , raising over \u20AC1.5M in multiple rounds. "),a()(),s(17,"div",8),_(18,"app-join-btn",9),a()(),_(19,"app-chart-sidebar")(20,"app-background-scene"),a()),i&2&&(m(11),S("ngForOf",o.benefits))},dependencies:[Jo,io,ze,Nt,zn,Nn,De],styles:[`app-about-us{border-top:1px solid var(--color-border-primary, #333741)}@media only screen and (min-width: 992px){app-about-us{display:flex}}app-about-us .continue-btn-wrapper{border-top:1px solid var(--color-border-primary, #333741);position:fixed;bottom:0;left:0;width:100%;background:var(--color-bg-primary, #0c111d);z-index:1}@media only screen and (min-width: 992px){app-about-us .continue-btn-wrapper{position:relative;width:max-content;border-top:none}}app-about-us .continue-btn-wrapper button{width:100%}app-about-us .benefit-icon img{width:auto;height:auto}
17`],encapsulation:2});let r=t;return r})();var ta=Ta(ea());function cl(r,t){if(r&1&&(s(0,"div",3),_(1,"img",4),s(2,"h3"),l(3),a(),_(4,"br"),s(5,"p")(6,"strong"),l(7,"Traffic Source:"),a(),l(8),a(),s(9,"p")(10,"strong"),l(11,"Sales:"),a(),l(12),a(),s(13,"p")(14,"strong"),l(15,"Sales Value:"),a(),l(16),a(),s(17,"p")(18,"strong"),l(19,"Sales Commissions Value:"),a(),l(20),a(),s(21,"p")(22,"strong"),l(23,"Sale Conversion Rate:"),a(),l(24),a(),s(25,"p")(26,"strong"),l(27,"Clicks:"),a(),l(28),a()()),r&2){let e=t.$implicit,n=t.index,i=v();S("@swipe",i.getSwipeState(n)),m(),S("src",e.avatar,_e),m(2),O(e.name),m(5),j(" ",e.trafficSource,""),m(4),j(" ",e.sales,""),m(4),j(" ",e.salesValue,""),m(4),j(" ",e.salesCommissionsValue,""),m(4),j(" ",e.saleConversionRate,""),m(4),j(" ",e.clicks,"")}}var na=(()=>{let t=class t{constructor(n){this.http=n,this.cards=[],this.activeIndex=0,this.swipeState="center"}ngOnInit(){this.loadCSV(),setInterval(()=>{this.swipeCard()},5e3)}loadCSV(){this.http.get("assets/user-info.csv",{responseType:"text"}).subscribe(n=>{ta.parse(n,{header:!0,skipEmptyLines:!0,complete:i=>{this.cards=i.data.map(o=>({avatar:o.image_url,name:o.Name,sales:this.formatNumber(+o.Sales),trafficSource:o["Traffic source"],salesValue:this.formatNumber(o.SalesValue)+" \u20AC",salesCommissionsValue:this.formatNumber(o.SalesCommissionsValue)+" \u20AC",saleConversionRate:this.formatNumber(o.SaleConversionRate,2),clicks:this.formatNumber(o.Clicks)}))}})},n=>{console.error("Error loading CSV file:",n)})}swipeCard(){let n=Math.random()>.5?"right":"left";this.swipeState=n,setTimeout(()=>{let i=(this.activeIndex+1)%this.cards.length;this.activeIndex=i,this.swipeState="center"},500)}getSwipeState(n){return n===this.activeIndex?this.swipeState:(this.swipeState==="right"||this.swipeState=="left")&&n===(this.activeIndex+1)%this.cards.length?"center":"hidden"}formatNumber(n,i=0){return(typeof n=="string"?parseFloat(n):n).toLocaleStr
17ing("de-DE",{minimumFractionDigits:0,maximumFractionDigits:i})}};t.\u0275fac=function(i){return new(i||t)(N(nt))},t.\u0275cmp=me({type:t,selectors:[["user-info-cards"]],standalone:!0,features:[Te],decls:4,vars:1,consts:[[1,"swipe-card-stack"],[1,"card-container"],["class","card",4,"ngFor","ngForOf"],[1,"card"],["alt","avatar",3,"src"]],template:function(i,o){i&1&&(_(0,"app-background-scene"),s(1,"div",0)(2,"div",1),F(3,cl,29,9,"div",2),a()()),i&2&&(m(3),S("ngForOf",o.cards))},dependencies:[De,tt,Nt],styles:[".swipe-card-stack[_ngcontent-%COMP%]{position:relative;width:25rem;height:auto;margin:2rem auto;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:1}.swipe-card-stack[_ngcontent-%COMP%]   .card-container[_ngcontent-%COMP%]{position:relative;width:100%;height:32rem}.swipe-card-stack[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;background:var(--color-bg-secondary);border-radius:1rem;border:.05rem solid var(--color-fg-brand-primary-600);box-shadow:0 .25rem .5rem #0000001a;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:1rem;transition:transform .5s ease,opacity .5s ease}.swipe-card-stack[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{background-color:#fff;object-fit:contain;width:7.5rem;height:7.5rem;border-radius:50%;margin-bottom:1rem;border:.125rem solid var(--color-fg-brand-primary-600)}.swipe-card-stack[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.5rem;margin:.5rem 0;color:#fff}.swipe-card-stack[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1rem;color:#fff}.swipe-card-stack[_ngcontent-%COMP%]   .next-card[_ngcontent-%COMP%]{transform:scale(.95);opacity:.8}.swipe-card-stack[_ngcontent-%COMP%]   .active-card[_ngcontent-%COMP%]{z-index:10}"],data:{animation:[kn("swipe",[cn("center",Fe({transform:"translate(0, 0)",zIndex:10,opacity:1})),cn("right",Fe({transform:"translate(100%, -5%)",zIndex:5,opacity:0})),cn("left",Fe({transform:"translate(-100%, -5%)",zIndex:5,opacity:0})),cn("hidden",Fe({transform:"translate(0, 0)",zIndex:0,opacity:0})),zt("center => right",Ct("0.5s ease-out")),zt("hidden => center",Ct("0.5s ease-out")),zt("center => left",Ct("0.5s ease-out"))])]}});let r=t;return r})();function hi(r){return r.slug||r.program_url?.split("/").filter(Boolean).pop()||""}var nn=(()=>{let t=class t{constructor(n){this.http=n}getActiveMerchants(){return this.http.get(`${Ke.bucketUrl}/public_campaigns_data.json`)}};t.\u0275fac=function(i){return new(i||t)(pe(nt))},t.\u0275prov=Ce({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var ia=(()=>{let t=class t{constructor(n){this.http=n}getCampaignCategories(){return this.http.get(`${Ke.apiUrl}/campaigns/categories`)}};t.\u0275fac=function(i){return new(i||t)(pe(nt))},t.\u0275prov=Ce({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();function hl(r,t){r&1&&(s(0,"div",14),_(1,"p-skeleton",15),a())}var gl=()=>[1,2,3,4,5,6];function fl(r,t){r&1&&(s(0,"div",12),F(1,hl,2,0,"div",13),a()),r&2&&(m(),S("ngForOf",mt(1,gl)))}function _l(r,t){if(r&1&&F(0,fl,2,2,"div",11),r&2){let e=v();S("ngIf",e.loading)}}function yl(r,t){if(r&1){let e=he();s(0,"p-dropdown",30),et("ngModelChange",function(i){J(e);let o=v(2);return Xe(o.selectedSubcategory,i)||(o.selectedSubcategory=i),Z(i)}),V("ngModelChange",function(){J(e);let i=v(2);return Z(i.onSubcategoryChange())}),a()}if(r&2){let e=v(2);Ze("ngModel",e.selectedSubcategory),S("options",e.subcategories)("showClear",!0)}}function bl(r,t){if(r&1&&(s(0,"div",31),l(1," The ranking is based on the total number of sales from the current season of Business League. "),_(2,"br"),l(3),a()),r&2){let e=v(2);m(3),Dt("",e.displayedCampaigns==null?null:e.displayedCampaigns.length,"/",e.filteredCampaigns!=null&&e.filteredCampaigns.length?e.filteredCampaigns.length:e.allCampaigns==null?null:e.allCampaigns.length," Merchants shown. ")}}function vl(r,t){r&1&&(s(0,"div",32)(1,"h3"),l(2,"No merchants found"),a(),s(3,"p",33),l(4,"Try adjusting your search criteria or filters."),a()())}function Cl(r,t){if(r&1&&(l(0," Sales last round "),_(1,"i",52),te(2,"date"),te(3,"date")),r&2){let e=v(4);m(),S("pTooltip","Last BusinessLeague round was between: "+ue(2,1,e.pastRoundData==null?null:e.pastRoundData.start_date)+" - "+ue(3,3,e.pastRoundData.end_date))}}function xl(r,t){if(r&1&&(s(0,"h2",53),l(1),te(2,"number"),a()),r&2){let e=v().$implicit;m(),j(" ",ue(2,1,e==null?null:e.past_round_sales_count)," ")}}function Sl(r,t){r&1&&(s(0,"div",54),l(1," Merchant not classified last round "),_(2,"i",52),a()),r&2&&(m(2),S("pTooltip","Due to funding bellow 98% in the last 180 days, this advertiser was not classified in the last BusinessLeague round."))}var ra=r=>["/active-merchants",r];function wl(r,t){if(r&1&&(s(0,"div",35)(1,"div",36)(2,"div",37),_(3,"p-avatar",38),s(4,"div",39)(5,"a",40),l(6),a(),s(7,"div",41),l(8),a()()(),s(9,"div",42)(10,"div",43),F(11,Cl,4,5,"i",44),a(),F(12,xl,3,3,"h2",45)(13,Sl,3,1),a(),s(14,"div",46)(15,"div",47)(16,"div",48),l(17," Com. per sale: "),a(),s(18,"div"),l(19),a()(),s(20,"div",47)(21,"div",48),l(22,"Cookie life:"),a(),s(23,"div"),l(24),a()(),s(25,"div",47)(26,"div",48),l(27,"EPC100:"),a(),s(28,"div",49),l(29),te(30,"number"),a()()(),s(31,"div",50)(32,"a",51),l(33," View profile "),a()()()()),r&2){let e=t.$implicit,n=v(3);m(3),S("image",e.logo_path),m(2),S("routerLink",pt(13,ra,n.getCampaignSlug(e))),m(),j(" ",e.name," "),m(2),j(" ",n.getCampaignCategoryDisplayLine(e)," "),m(3),W(11,(e==null?null:e.past_round_sales_count)!==null&&(e==null?null:e.past_round_sales_count)!==void 0?11:-1),m(),W(12,(e==null?null:e.past_round_sales_count)!==null&&(e==null?null:e.past_round_sales_count)!==void 0?12:13),m(7),O(n.getCommissionText(e)),m(5),j("",e.cookie_life," days"),m(5),O(Ft(30,10,n.getEPC100(e),"1.2-2")),m(3),S("routerLink",pt(15,ra,n.getCampaignSlug(e)))}}function El(r,t){if(r&1&&(s(0,"div",12),F(1,wl,34,17,"div",34),a()),r&2){let e=v(2);m(),S("ngForOf",e.displayedCampaigns)("ngForTrackBy",e.trackByCampaignId)}}function Pl(r,t){r&1&&(s(0,"div",55),_(1,"i",56),a())}function Ml(r,t){if(r&1){let e=he();s(0,"div",16)(1,"div",17)(2,"div",7),l(3," \u{1F680} Want to join BusinessLeague? "),a(),s(4,"div",8),l(5," Build a sales force like no other \u2014 and only pay for actual sales! "),a(),s(6,"a",9),V("click",function(){J(e);let i=v();return Z(i.onJoinForFree())}),l(7," Join For Free "),a()(),s(8,"div",18)(9,"div",19)(10,"div",20)(11,"span",21),_(12,"i",22),s(13,"input",23),et("ngModelChange",function(i){J(e);let o=v();return Xe(o.searchTerm,i)||(o.searchTerm=i),Z(i)}),V("ngModelChange",function(i){J(e);let o=v();return Z(o.onSearchChange(i))}),a()()(),s(14,"div",24)(15,"p-dropdown",25),et("ngModelChange",function(i){J(e);let o=v();return Xe(o.selectedCategory,i)||(o.selectedCategory=i),Z(i)}),V("ngModelChange",function(){J(e);let i=v();return Z(i.onCategoryChange())}),a(),F(16,yl,1,3,"p-dropdown",26),a()(),F(17,bl,4,2,"div",27),a(),F(18,vl,5,0,"div",28)(19,El,2,2)(20,Pl,2,0,"div",29),a()}if(r&2){let e=v();
17m(6),S("ngClass","no-text-decoration"),m(7),Ze("ngModel",e.searchTerm),m(2),Ze("ngModel",e.selectedCategory),S("options",e.categories)("showClear",!0),m(),W(16,e.showSubcategoryFilter?16:-1),m(),W(17,e.displayedCampaigns.length!==0?17:-1),m(),W(18,!e.loading&&e.displayedCampaigns.length===0?18:19),m(2),S("ngIf",e.loadingMore)}}var sa=(()=>{let t=class t{constructor(n,i,o,c,d,p){this.activeMerchantsService=n,this.campaignCategoriesService=i,this.messageService=o,this.amplitudeService=c,this.route=d,this.router=p,this.unsubscribe$=new qe,this.searchSubject=new qe,this.allCampaigns=[],this.filteredCampaigns=[],this.displayedCampaigns=[],this.categories=[],this.subcategories=[],this.showSubcategoryFilter=!1,this.campaignCategoryDefinitions=[],this.loading=!1,this.loadingMore=!1,this.hasMore=!0,this.itemsPerBatch=24,this.currentBatch=0,this.searchTerm="",this.selectedCategory=null,this.selectedSubcategory=null,this.subcategoryFromUrl=""}ngOnInit(){this.initializeSearch(),this.listenToUrlFilters(),this.loadAllMerchants()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}initializeSearch(){this.searchSubject.pipe(Cr(500),xr(),Oe(this.unsubscribe$)).subscribe(()=>{this.resetAndSearch()})}listenToUrlFilters(){this.route.queryParamMap.pipe(Oe(this.unsubscribe$)).subscribe(n=>{let i=(n.get(t.CATEGORY_PARAM)??"").trim(),o=(n.get(t.SUBCATEGORY_PARAM)??"").trim();this.isSameFilterValue(i,this.selectedCategory?.value)&&this.isSameFilterValue(o,this.selectedSubcategory?.value)||(this.subcategoryFromUrl=o,this.selectedCategory=i?this.resolveCategoryOption(i):null,this.selectedCategory?this.rebuildSubcategoryOptions(o):this.clearSubcategoryFilter(),this.applyFilters())})}updateUrlFilters(){this.router.navigate([],{relativeTo:this.route,queryParams:{[t.CATEGORY_PARAM]:this.selectedCategory?.value||null,[t.SUBCATEGORY_PARAM]:this.selectedSubcategory?.value||null},queryParamsHandling:"merge",replaceUrl:!0})}isSameFilterValue(n,i){return String(n??"").trim().toLowerCase()===String(i??"").trim().toLowerCase()}resolveCategoryOption(n){let i=this.categories.find(c=>this.isSameFilterValue(c.value,n));if(i)return i;let o=this.allCampaigns.find(c=>this.isSameFilterValue(c.category?.name,n))?.category?.name;return{label:o??n,value:o??n}}loadAllMerchants(){this.loading=!0,this.activeMerchantsService.getActiveMerchants().pipe(Oe(this.unsubscribe$)).subscribe({next:n=>{this.allCampaigns=n.campaigns.sort((i,o)=>{let c=i?.ranking?.general||0,d=o?.ranking?.general||0;return c-d}),this.pastRoundData=n.past_round,this.campaignCategoriesService.getCampaignCategories().pipe(Oe(this.unsubscribe$)).subscribe({next:i=>{this.campaignCategoryDefinitions=i.campaign_categories,this.extractCategories(i.campaign_categories);let o=!!this.subcategoryFromUrl;this.syncSubcategoryFilterWithSelectedCategory(),o&&this.applyFilters()},error:i=>{this.messageService.add({severity:"error",summary:"Error",detail:i?.message||"An error occurred while fetching campaign categories. Please try again."})}}),this.selectedCategory?.value&&(this.selectedCategory=this.resolveCategoryOption(this.selectedCategory.value)),this.applyFilters(),this.loading=!1},error:n=>{console.error("Error loading merchants:",n),this.loading=!1}})}applyFilters(){this.amplitudeService.trackEvent(ve.APPLY_FILTERS_MERCHANTS);let n=[...this.allCampaigns];if(this.searchTerm){let i=this.searchTerm.toLowerCase();n=n.filter(o=>o.name.toLowerCase().includes(i))}if(this.selectedCategory?.value&&(n=n.filter(i=>this.isSameFilterValue(i.category?.name,this.selectedCategory.value))),this.selectedSubcategory?.value){let i=this.selectedSubcategory.value;n=n.filter(o=>this.isSameFilterValue(o.subcategory?.name,i))}this.filteredCampaigns=n,this.resetPagination()}resetPagination(){this.currentBatch=0,this.displayedCampaigns=[],this.hasMore=this.filteredCampaigns.length>0,this.loadNextBatch()}loadNextBatch(){this.hasMore&&(this.loadingMore=!0,setTimeout(()=>{let n=this.currentBatch*this.itemsPerBatch,i=n+this.itemsPerBatch,o=this.filteredCampaigns.slice(n,i);this.displayedCampaigns=[...this.displayedCampaigns,...o],this.currentBatch++,this.hasMore=i<this.filteredCampaigns.length,this.loadingMore=!1},300))}extractCategories(n){let i=new Set(n.map(c=>c.name)),o=this.allCampaigns.length;this.categories=[{label:`All Categories - ${o}`,value:""},...Array.from(i).map(c=>{let d=this.allCampaigns.filter(p=>p.category.name===c).length;return{label:`${c} - ${d}`,value:c}})],this.selectedCategory?.value&&(this.selectedCategory=this.resolveCategoryOption(this.selectedCategory.value))}resetAndSearch(){this.applyFilters()}onSearchChange(n){this.searchTerm=n,this.searchSubject.next(n)}onCategoryChange(){this.subcategoryFromUrl="",this.selectedCategory?.value?this.rebuildSubcategoryOptions():this.clearSubcategoryFilter(),this.updateUrlFilters(),this.applyFilters()}onSubcategoryChange(){this.updateUrlFilters(),this.applyFilters()}clearSubcategoryFilter(){this.selectedSubcategory=null,this.subcategories=[],this.showSubcategoryFilter=!1}rebuildSubcategoryOptions(n=""){this.selectedSubcategory=null,this.subcategories=[],this.showSubcategoryFilter=!1;let i=this.selectedCategory?.value;if(!i)return;let c=(this.campaignCategoryDefinitions.find(d=>d.name===i)?.program_subcategories??[]).filter(d=>String(d.name??"").trim().toLowerCase()!=="default");c.length&&(this.subcategories=c.map(d=>{let p=String(d.name).trim(),u=this.allCampaigns.filter(b=>
17b.category.name===i&&String(b.subcategory?.name??"").trim()===p).length;return{label:`${p} - ${u}`,value:p}}),this.showSubcategoryFilter=!0,n&&(this.selectedSubcategory=this.subcategories.find(d=>this.isSameFilterValue(d.value,n))??null))}syncSubcategoryFilterWithSelectedCategory(){if(!this.selectedCategory?.value){this.clearSubcategoryFilter();return}this.rebuildSubcategoryOptions(this.selectedSubcategory?.value??this.subcategoryFromUrl)}getCommissionText(n){return n.default_sale_commission_type==="percent"&&n.default_sale_commission_rate?`${n.default_sale_commission_rate}%`:"Variable"}getEPC100(n){return(parseFloat(n.ranking.epc)*100).toFixed(2)}onScroll(){if(this.loadingMore||!this.hasMore)return;let n=200,i=window.pageYOffset+window.innerHeight,o=document.documentElement.scrollHeight;i>o-n&&this.loadMore()}loadMore(){this.hasMore&&!this.loadingMore&&this.loadNextBatch()}trackByCampaignId(n,i){return i.id}onImageError(n){let i=n.target;i.src="assets/images/placeholder-logo.svg"}onJoinForFree(){this.amplitudeService.trackEvent(ve.CLICKED_JOIN_FREE_MERCHANTS)}visitProgram(n){this.amplitudeService.trackEvent(ve.CLICKED_VISIT_PROGRAM),window.open(n,"_blank")}getCampaignCategoryDisplayLine(n){let i=n.category?.name??"",o=String(n.subcategory?.name??"").trim();return!o||o.toLowerCase()==="default"?i:`${i} > ${o}`}getCampaignSlug(n){return hi(n)}};t.CATEGORY_PARAM="category",t.SUBCATEGORY_PARAM="subcategory",t.\u0275fac=function(i){return new(i||t)(N(nn),N(ia),N(ut),N(je),N(rt),N(ht))},t.\u0275cmp=me({type:t,selectors:[["app-active-merchants"]],hostBindings:function(i,o){i&1&&V("scroll",function(d){return o.onScroll(d)},!1,At)},standalone:!0,features:[Te],decls:18,vars:2,consts:[[1,"active-merchants-component"],[1,"app-max-w","px-2","sm:px-3","md:px-7","py-5"],[1,"flex","flex-column","align-items-center","gap-2","md:flex-row","text-center","mb-7"],[1,"component-title-wrapper","flex","flex-column","w-full"],[1,"component-title","display-xs-semibold","lg:display-md-semibold","mt-2","mb-3"],[1,"component-subtitle"],[1,"merchant-join-card","flex","xl:hidden","flex-column","flex-end","border-1","border-primary","border-round-lg","text-center","gap-2","p-3"],[1,"merchant-card-title"],[1,"merchant-card-subtitle","text-tertiary","text-xs"],["pButton","","pRipple","","routerLink","/sign-up/merchant",3,"ngClass","click"],["class","grid"],["class","grid",4,"ngIf"],[1,"grid"],["class","col-12 md:col-6 lg:col-4",4,"ngFor","ngForOf"],[1,"col-12","md:col-6","lg:col-4"],["height","320px","styleClass","mb-3"],[1,"merchants-grid","flex","flex-column","gap-2"],[1,"merchant-join-card","hidden","xl:flex","flex-column","flex-end","lg:absolute","border-1","border-primary","border-round-lg","text-center","gap-2","p-3"],[1,"filters-toolbar","flex","flex-wrap","align-items-center","justify-content-between","gap-3"],[1,"filters-controls","flex","gap-3","flex-column","sm:flex-row","flex-wrap"],[1,"search"],[1,"p-input-icon-left","w-full"],[1,"pi","pi-search"],["type","text","pInputText","","placeholder","Search by merchant name...",1,"w-full","search-input",3,"ngModel","ngModelChange"],[1,"flex","gap-3","flex-wrap"],["optionLabel","label","dataKey","value","placeholder","Select a category",3,"ngModel","options","showClear","ngModelChange"],["optionLabel","label","dataKey","value","placeholder","Select a subcategory",3,"ngModel","options","showClear"],["class","ranking-note text-sm-regular"],["class","no-results text-center py-5"],["class","text-center py-4",4,"ngIf"],["optionLabel","label","dataKey","value","placeholder","Select a subcategory",3,"ngModel","options","showClear","ngModelChange"],[1,"ranking-note","text-sm-regular"],[1,"no-results","text-center","py-5"],[1,"text-500"],["class","col-12 md:col-6 lg:col-4 xl:col-3",4,"ngFor","ngForOf","ngForTrackBy"],[1,"col-12","md:col-6","lg:col-4","xl:col-3"],[1,"merchant-card","flex","flex-column","gap-2","p-4"],[1,"merchant-card-header","flex","align-items-center","gap-2"],["styleClass","bg-white p-2 p-avatar-md campaign-avatar-icon","shape","square","size","xlarge","onError","onImageError($event);this.src='assets/images/icons/avatar-default.webp';",3,"image"],[1,"campaign-info"],[1,"text-decoration-none","campaign-name",3,"routerLink"],[1,"category-category-name","text-tertiary"],[1,"commission-box","flex","flex-column","text-center","p-3","border-round-lg","border-1","border-primary"],[1,"title","text-tertiary"],["class","pi pi-info-circle text-md","tooltipPosition","top",3,"pTooltip"],["class","commission-value font-bold m-0"],[1,"flex","flex-column","gap-1"],[1,"flex","justify-content-between"],[1,"text-tertiary"],[1,"epc-value"],[1,"merchant-actions"],["pButton","","pRipple","",1,"p-button","p-button-primary","p-button-outlined","border-primary","w-full","mt-5l","no-text-decoration","justify-content-center",3,"routerLink"],["tooltipPosition","top",1,"pi","pi-info-circle","text-md",3,"pTooltip"],[1,"commission-value","font-bold","m-0"],[1,"text-md-medium"],[1,"text-center","py-4"],[1,"pi","pi-spin","pi-spinner","text-2xl"]],template:function(i,o){i&1&&(s(0,"div",0)(1,"div",1)(2,"header",2)(3,"div",3)(4,"h1",4),l(5," BusinessLeague merchants "),a(),s(6,"div",5),l(7," Merchants looking for affiliates "),a()(),s(8,"div",6)(9,"div",7),l(10," \u{1F680} Want to join BusinessLeague? "),a(),s(11,"div",8),l(12," Build a sales force like no other \u2014 and only pay for actual sales! "),a(),s(13,"a",9),V("click",function(){return o.onJoinForFree()}),l(14," Join For Free "),a()()(),F(15,_l,1,1,"div",10)(16,Ml,21,9),a(),_(17,"app-background-scene"),a()),i&2&&(m(13),S("ngClass","no-text-decoration text-center align-self-center"),m(2),W(15,o.loading?15:16))},dependencies:[tt,On,Nt,Bt,lt,Vt,$r,Ln,Rn,Dn,Wr,Jr,Un,Xr,Zr,Fn,Ht,Gr,jn,no,Yr,zn,Ve,Kt,qt,Bn,Gt,De],styles:[".active-merchants-component[_ng
17content-%COMP%]{min-height:100vh;padding-top:2rem}.active-merchants-component[_ngcontent-%COMP%]   .merchant-join-card[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{align-self:center}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]{background:var(--color-bg-secondary);gap:var(--spacing-md);padding:var(--spacing-xl);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border:1px solid var(--color-border-primary);border-radius:var(--radius-xl, 12px)}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .merchant-join-card[_ngcontent-%COMP%]{right:0;width:18.75rem;top:-13.5rem}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .filters-toolbar[_ngcontent-%COMP%]   .filters-controls[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .filters-toolbar[_ngcontent-%COMP%]   .ranking-note[_ngcontent-%COMP%]{flex:0 1 auto;white-space:nowrap}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{width:18.75rem;max-width:100%}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{height:3rem}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .merchant-card[_ngcontent-%COMP%]{height:100%;transition:all .3s ease;background:var(--color-bg-primary, #0c111d);border-radius:var(--radius-xl, 12px)}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .merchant-card[_ngcontent-%COMP%]:hover{transform:translateY(-4px);box-shadow:0 8px 25px #00000026}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .campaign-name[_ngcontent-%COMP%]{color:var(--text-color-primary-900);text-decoration:none;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;max-width:13.5rem}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .commission-box[_ngcontent-%COMP%]{background-color:var(--color-utility-violet-50)}@media (max-width: 768px){.active-merchants-component[_ngcontent-%COMP%]{padding-top:1rem}.active-merchants-component[_ngcontent-%COMP%]   .filters-section[_ngcontent-%COMP%]{padding:1rem}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .merchant-card[_ngcontent-%COMP%]{margin-bottom:1rem}.active-merchants-component[_ngcontent-%COMP%]   .merchants-grid[_ngcontent-%COMP%]   .filters-toolbar[_ngcontent-%COMP%]   .ranking-note[_ngcontent-%COMP%]{flex-basis:100%;max-width:100%;white-space:normal}.active-merchants-component[_ngcontent-%COMP%]   .component-title-wrapper[_ngcontent-%COMP%]   .component-title[_ngcontent-%COMP%]{font-size:2rem}}@media (max-width: 576px){.active-merchants-component[_ngcontent-%COMP%]   .component-title-wrapper[_ngcontent-%COMP%]   .component-title[_ngcontent-%COMP%]{font-size:1.75rem}}"]});let r=t;return r})();var la=[{id:1,category:"Adult",currentPercent:8,newPercent:8,trend:"unchanged"},{id:2,category:"Automotive \u203A Parts and Accessories",currentPercent:4.5,newPercent:5,trend:"up"},{id:3,category:"Automotive \u203A Tires",currentPercent:4.5,newPercent:4.5,trend:"unchanged"},{id:4,category:"Babies Kids & Toys",currentPercent:3.5,newPercent:4,trend:"up"},{id:5,category:"Beauty \u203A Cosmetics & Skincare",currentPercent:7.5,newPercent:6,trend:"down"},{id:6,category:"Beauty \u203A Perfume & Fragrances Producers",currentPercent:7.5,newPercent:6,trend:"down"},{id:7,category:"Beauty \u203A Perfume & Fragrances Shops",currentPercent:7.5,newPercent:6,trend:"down"},{id:8,category:"Beauty \u203A Professional & Salon Supplies",currentPercent:7.5,newPercent:5,trend:"down"},{id:9,category:"Books \u203A Bookshops",currentPercent:4.5,newPercent:4,trend:"down"},{id:10,category:"Books \u203A Publishing House",currentPercent:4.5,newPercent:5,trend:"up"},{id:11,category:"Electronics \u203A Gaming",currentPercent:4,newPercent:2,trend:"down"},{id:12,category:"Electronics \u203A IT, Computers & Phones",currentPercent:4,newPercent:2,trend:"down"},{id:13,category:"Electronics \u203A Mobile Phones",currentPercent:4,newPercent:2,trend:"down"},{id:14,category:"Electronics \u203A Photo & Video",currentPercent:4,newPercent:2,trend:"down"},{id:15,category:"Electronics \u203A Security & Surveillance",currentPercent:4,newPercent:2,trend:"down"},{id:16,category:"Electronics \u203A Smart Home & Small Appliances",currentPercent:4,newPercent:2,trend:"down"},{id:17,category:"Electronics \u203A Telephone Accessories",currentPercent:4,newPercent:2,trend:"down"},{id:18,category:"Fashion \u203A Clothing & General",currentPercent:6,newPercent:5,trend:"down"},{id:19,category:"Fashion \u203A Eyewear & Optics",currentPercent:6,newPercent:5,trend:"down"},{id:20,category:"Fashion \u203A Footwear",currentPercent:6,newPercent:5,trend:"down"},{id:21,category:"Fashion \u203A Sportswear",currentPercent:6,newPercent:5,trend:"down"},{id:22,category:"Fashion \u203A Traditional & Niche",currentPercent:6,newPercent:5,trend:"down"},{id:23,category:"Food \u203A Grocery & General",currentPercent:3.5,newPercent:3.5,trend:"unchanged"},{id:24,category:"Food \u203A Specialty & Gourmet",currentPercent:3.5,newPercent:5,trend:"up"},{id:25,category:"Games",currentPercent:5,newPercent:5,trend:"unchanged"},{id:26,category:"Gifts & Flowers",currentPercent:6,newPercent:5,trend:"down"},{id:27,category:"Health \u203A Medical",currentPercent:6.5,newPercent:6.5,trend:"unchanged"},{id:28,category:"Health \u203A Supplements & Natural",currentPercent:6.5,newPercent:5,trend:"down"},{id:29,category:"Home & Garden \u203A Accessories",currentPercent:6,newPercent:5,trend:"down"},{id:30,category:"Home & Garden \u203A Appliances & Household",currentPercent:6,newPercent:4,trend:"down"},{id:31,category:"Home & Garden \u203A D\xE9cor & Interior Design",currentPercent:6,newPercent:5,trend:"down"},{id:32,category:"Home & Garden \u203A DIY, Tools & Building",currentPercent:6,newPercent:4,trend:"down"},{id:33,category:"Home & Garden \u203A Furniture & Bedding",currentPercent:6,newPercent:4,trend:"down"},{id:34,category:"Home & Garden \u203A Garden & Outdoor",currentPercent:6,newPercent:5,trend:"down"},{id:35,category:"Home & Garden \u203A General & Other",currentPercent:6,newPercent:5,trend:"down"},{id:36,category:"Insurance",currentPercent:2,newPercent:2,trend:"unchanged"},{id:37,category:"Jewelry \u203A General",currentPercent:6,newPercent:4,trend:"down"},{id:38,category:"Jewelry \u203A High End",currentPercent:6,newPercent:5,trend:"down"},{id:39,category:"Office Supplies",currentPercent:5,newPercent:3,trend:"down"},{id:40,category:"Online Mall",currentPercent:7,newPercent:3,trend:"down"},{id:41,category:"Others",currentPercent:5,newPercent:5,trend:"unchanged"},{id:42,category:"Pet Supplies",currentPercent:3,newPercent:5,trend:"up"},{id:43,category:"Pharma",currentPercent:5,newPercent:3,trend:"down"},{id:44,category:"Software",currentPercent:5,newPercent:3,trend:"down"},{id:45,category:"Sports & Outdoors",currentPercent:4,newPercent:5,trend:"up"},{id:46,category:"Telecom",currentPercent:5,newPercent:4,trend:"down"},{id:47,category:"Watches",currentPercent:3,newPercent:3,trend:"unchanged"}];var ca=[{label:"Over 10 years",discount:"\u221250%",highlight:!0},{label:"5 - 10 years",discount:"\u221225%"},{label:"3 - 5 years",discount:"\u221215%"},{label:"1 - 3 years",discount:"\u221210%"}],da=[{label:"Unicorns",discount:"\u221225%",info:">10.000 sales / 4 weeks",highlight:!0},{label:"Corporations",discount:"\u221215%",info:"3001 - 10.000 sales / 4 weeks"},{label:"Companies",discount:"\u221210%",info:"501 - 3000 sales / 4 weeks"}];
17var Tl=["salesCountRef"],kl=["salesValueRef"],Al=["storesNoRef"],ma=(r,t)=>t.label;function Il(r,t){r&1&&(s(0,"p",102),l(1," No categories match your search. "),a())}var pa=(r,t)=>t.id;function Ll(r,t){if(r&1&&(s(0,"article",110)(1,"div",111)(2,"span",112),l(3,"Category:"),a(),s(4,"span",113),l(5),a()(),s(6,"div",111)(7,"span",112),l(8,"Commission:"),a(),s(9,"span",114),l(10),a()()()),r&2){let e=t.$implicit,n=v(2);m(5),O(e.category),m(5),j("",n.formatCommissionPercent(e.newPercent)," %")}}function Rl(r,t){if(r&1&&(s(0,"tr")(1,"td",115),l(2),a(),s(3,"td",113),l(4),a(),s(5,"td",116),l(6),a()()),r&2){let e=t.$implicit,n=v(2);m(2),O(e.id),m(2),O(e.category),m(2),j("",n.formatCommissionPercent(e.newPercent)," %")}}function Dl(r,t){if(r&1&&(s(0,"div",103)(1,"div",104),Ie(2,Ll,11,2,"article",117,pa),a(),s(4,"div",105)(5,"table",106)(6,"thead")(7,"tr")(8,"th",107),l(9,"#"),a(),s(10,"th",108),l(11,"Category"),a(),s(12,"th",109),l(13,"Commission"),a()()(),s(14,"tbody"),Ie(15,Rl,7,3,"tr",null,pa),a()()()()),r&2){let e=v();m(2),Le(e.filteredCategoryCommissions),m(13),Le(e.filteredCategoryCommissions)}}function Fl(r,t){if(r&1&&(s(0,"li",118)(1,"span",113),l(2),a(),s(3,"span",119),l(4),a()()),r&2){let e=t.$implicit;m(2),O(e.label),m(),le("text-lg-semibold",e.highlight),m(),O(e.discount)}}function Nl(r,t){if(r&1&&(s(0,"span",122),l(1),a()),r&2){let e=v().$implicit;m(),O(e.info)}}function Bl(r,t){if(r&1&&(s(0,"li",118)(1,"span",120)(2,"span",113),l(3),a(),F(4,Nl,2,1,"span",121),a(),s(5,"span",119),l(6),a()()),r&2){let e=t.$implicit;m(3),O(e.label),m(),W(4,e.info?4:-1),m(),le("text-lg-semibold",e.highlight),m(),O(e.discount)}}var ua=(()=>{let t=class t{constructor(n,i,o,c,d,p,u,b){this.amplitudeService=n,this.scrollSpyService=i,this.decimalPipe=o,this.activeMerchantsService=c,this.firestoreService=d,this.currencyPipe=p,this.messageService=u,this.route=b,this.unsubscribe$=new qe,this.fragmentScrollTimeouts=[],this.fsCollectionName="sales_info",this.sectionScrollOffset=60,this.categoryCommissions=la,this.loyaltyDiscountTiers=ca,this.performanceDiscountTiers=da,this.categorySearchTerm="",this.storesNo=0,this.salesCount=0,this.salesValue=0,this.loadingStores=!0,this.loading=!0,this.countUpInitialized=!1}ngOnInit(){this.activeMerchantsService.getActiveMerchants().pipe(Oe(this.unsubscribe$)).subscribe({next:n=>{this.loadingStores=!1,this.storesNo=n?.campaigns.length||0},error:()=>{this.messageService.add({severity:"error",summary:"Could not load active merchants data",detail:"Please refresh the page or try again later."})}}),this.firestoreService.getDocumentData(this.fsCollectionName,Ke.firebaseConfig.salesInfoDocumentId).pipe(Oe(this.unsubscribe$)).subscribe({next:n=>{this.animateNumbers(n?.count,n?.total_value,this.storesNo),this.salesCount=n?.count,this.salesValue=n?.total_value,this.loading=!1},error:()=>{this.messageService.add({severity:"error",summary:"Could not load sales figures",detail:"Please refresh the page or try again later."})}})}ngAfterViewInit(){this.scrollToFragment(this.route.snapshot.fragment||window.location.hash.replace("#","")),this.route.fragment.pipe(Oe(this.unsubscribe$)).subscribe(n=>this.scrollToFragment(n))}animateNumbers(n,i,o){let c=new qn(this.salesValueRef.nativeElement,i,{startVal:this.salesValue,duration:1.5,formattingFn:u=>this.currencyPipe.transform(u,"EUR","symbol","1.0-0")});c.error?console.error(c.error):c.start();let d=new qn(this.salesCountRef.nativeElement,n,{startVal:this.salesCount,duration:1.5,formattingFn:u=>this.decimalPipe.transform(u,"1.0-0")});d.error?console.error(d.error):d.start();let p=new qn(this.storesNoRef.nativeElement,o,{startVal:this.countUpInitialized?this.storesNo:0,duration:1.5,formattingFn:u=>this.decimalPipe.transform(u,"1.0-0")});p.error?console.error(p.error):p.start(),this.countUpInitialized=!0}get filteredCategoryCommissions(){let n=this.categorySearchTerm.trim().toLowerCase();return n?this.categoryCommissions.filter(i=>i.category.toLowerCase().includes(n)||i.id.toString()===n):this.categoryCommissions}formatCommissionPercent(n){return n.toFixed(2)}onStartYourAffiliateProgram(){this.amplitudeService.trackEvent(ve.CLICKED_START_AFFILIATE_PROGRAM)}scrollToSection(n){this.scrollSpyService.scrollToSection(n,"start",this.sectionScrollOffset)}
17scrollToFragment(n){n&&(this.fragmentScrollTimeouts.forEach(i=>clearTimeout(i)),this.fragmentScrollTimeouts=[0,300,600].map(i=>setTimeout(()=>{this.scrollSpyService.scrollToSection(n,"start",this.sectionScrollOffset)},i)))}ngOnDestroy(){this.fragmentScrollTimeouts.forEach(n=>clearTimeout(n)),this.unsubscribe$.next(),this.unsubscribe$.complete()}};t.\u0275fac=function(i){return new(i||t)(N(je),N($n),N(lt),N(nn),N(so),N(ln),N(ut),N(rt))},t.\u0275cmp=me({type:t,selectors:[["app-pricing"]],viewQuery:function(i,o){if(i&1&&(It(Tl,5),It(kl,5),It(Al,5)),i&2){let c;Lt(c=Rt())&&(o.salesCountRef=c.first),Lt(c=Rt())&&(o.salesValueRef=c.first),Lt(c=Rt())&&(o.storesNoRef=c.first)}},standalone:!0,features:[Tr([ln,lt]),Te],decls:369,vars:19,consts:[[1,"pricing-component"],[1,"relative","z-1","w-full","flex","flex-column"],["appScrollSpy","","id","pricing","data-target-section","pricing",1,"pricing-hero","text-center","px-2","sm:px-5","md:px-7"],[1,"app-max-w","mx-auto","flex","flex-column","align-items-center"],[1,"pricing-badge","inline-flex","align-items-center","gap-2","text-xs-semibold","mb-4"],[1,"pricing-hero-title","display-md-bold","lg:display-lg-bold","m-0","mb-3","mx-auto"],[1,"pricing-gradient-text"],[1,"pricing-hero-sub","text-lg-regular","text-secondary","max-w-30rem","mx-auto","mb-4","line-height-3"],[1,"flex","flex-column","sm:flex-row","align-items-stretch","sm:align-items-center","justify-content-center","gap-3","flex-wrap","w-full","sm:w-auto"],["pButton","","pRipple","","routerLink","/sign-up/merchant",1,"pricing-cta","pricing-cta--primary","p-button","p-button-success","no-text-decoration","font-bold","justify-content-center",3,"click"],["pButton","","pRipple","",1,"pricing-cta","pricing-cta--secondary","p-button","p-button-outlined","border-primary","no-text-decoration","justify-content-center","text-secondary",3,"click"],[1,"pricing-section","px-2","sm:px-5","md:px-7","py-5"],[1,"app-max-w","mx-auto"],[1,"primary-surface","border-round-2xl","p-4","md:p-5","flex","flex-column","md:flex-row","align-items-center","justify-content-center","gap-4","md:gap-6","flex-wrap"],[1,"text-center"],[1,"text-xl-bold","m-0",3,"hidden"],["storesNoRef",""],["height","2rem","width","5rem",3,"hidden"],[1,"text-xs-medium","text-tertiary","mt-1"],["aria-hidden","true",1,"pricing-stat-divider","hidden","md:block"],["salesCountRef",""],["salesValueRef",""],["aria-hidden","true",1,"pricing-stat-divider","hidden","lg:block"],[1,"flex","align-items-center","justify-content-center","max-w-20rem","md:max-w-none"],[1,"text-md-semibold","text-tertiary-color","text-center","md:text-left"],["appScrollSpy","","id","compare","data-target-section","compare",1,"pricing-section","px-2","sm:px-5","md:px-7","py-6"],[1,"text-center","mb-5","md:mb-6"],[1,"display-xs-bold","lg:display-sm-bold","m-0","mb-2"],[1,"text-md-regular","text-secondary","m-0","max-w-27rem","mx-auto"],[1,"grid"],[1,"col-12","lg:col-6"],[1,"pricing-phase","primary-surface","border-round-2xl","p-4","md:p-5","relative","overflow-hidden","pricing-phase--validation","h-full"],[1,"flex","mb-3","w-100","justify-content-between","align-items-center","gap-1"],[1,"pricing-phase__tag","pricing-phase__tag--success","text-xs-bold"],[1,"pricing-phase__ribbon","text-xs-bold"],[1,"text-xl-semibold","m-0","mb-1"],[1,"text-sm-regular","text-tertiary","m-0","mb-4"],[1,"list-none","m-0","p-0","flex","flex-column","gap-3"],[1,"flex","gap-2","align-items-start","text-sm-regular","text-secondary","line-height-3"],[1,"pricing-icon","pricing-icon--yes","flex-shrink-0"],[1,"pricing-icon","pricing-icon--muted","flex-shrink-0"],[1,"pricing-phase__price","mt-4","pt-3"],[1,"text-4xl","font-bold","line-height-4","text-success"],[1,"text-xs-regular","text-tertiary","mt-1"],[1,"pricing-phase","primary-surface","border-round-2xl","p-4","md:p-5","relative","overflow-hidden","pricing-phase--growth","h-full"],[1,"pricing-phase__tag","pricing-phase__tag--brand","text-xs-bold","mb-3"],[1,"text-4xl","font-bold","line-height-4","m-0"],[1,"text-lg-regular","text-tertiary","font-normal"],[1,"pricing-section","px-2","sm:px-5","md:px-7","pb-6","pt-0"],[1,"pricing-bonus","primary-surface","border-round-2xl","p-4","md:p-6","text-center","relative","overflow-hidden"],[1,"pricing-bonus__icon","text-3xl","flex","align-items-center","justify-content-center","mx-auto","mb-3"],[1,"display-xs-bold","m-0","mb-2","relative"],[1,"text-success"],[1,"text-md-regular","text-secondary","m-0","mb-4","max-w-30rem","mx-auto","line-height-3","relative"],[1,"flex","flex-column","sm:flex-row","align-items-center","justify-content-center","gap-3","sm:gap-4","flex-wrap","relative"],[1,"flex","align-items-center","gap-2","text-sm-regular","text-secondary"],[1,"text-success","font-bold"],["appScrollSpy","","id","how-it-works","data-target-section","how-it-works",1,"pricing-section","px-2","sm:px-5","md:px-7","py-6"],[1,"text-xl-bold","lg:display-md-bold","m-0","mb-2"],[1,"text-lg-regular","text-secondary","m-0","max-w-27rem","mx-auto"],[1,"pricing-steps","grid"],[1,"col-12","md:col-4"],[1,"pricing-step","primary-surface","border-round-2xl","p-4","h-full"],[1,"pricing-step__num","text-sm-bold","mb-3"],[1,"text-md-semibold","m-0","mb-2"],[1,"text-sm-regular","text-secondary","m-0","line-height-3"],[1,"pricing-section","px-2","sm:px-5","md:px-7","py-6"],[1,"pricing-info-grid","grid"],[1,"pricing-info-card","primary-surface","border-round-xl","p-4","text-center","h-full"],[1,"pricing-info-card__icon","text-xl","mb-3","mx-auto","flex","align-items-center","justify-content-center"],[1,"text-xs-regular","text-tertiary","m-0","line-height-3"],["appScrollSpy","","id","categories","data-target-section","categories",1,"pricing-section","px-2","sm:px-5","md:px-7","py-6"],[1,"text-center","mb-4","md:mb-5"],[1,"text-md-regular","text-secondary","m-0","max-w-30rem","mx-auto","line-height-3"],[1,"pricing-commissions-search","mb-3"],[1,"p-input-icon-left","w-full"],[1,"pi","pi-search"],["type","search","pInputText","","placeholder","Search categories...","aria-label","Search categories",1,"w-full",3,"ngModel","ngModelChange"],["class","text-sm-regular text-tertiary text-center m-0 py-4"],[1,"pricing-cumulative-discounts","mt-5","md:mt-6"],[1,"col-12","md:col-6"],[1,"pricing-discount-box","primary-surface","border-round-2xl","p-4","md:p-5","h-full"],[1,"text-md-semibold","m-0","mb-1"],[1,"text-xs-regular","text-tertiary","m-0","mb-4"],[1,"pricing-formula-box","primary-surface","border-round-2xl","p-4","md:p-5","mt-3","md:mt-4","text-center"],[1,"text-sm-regular","text-secondary","m-0","mb-3","line-height-3"],[1,"text-tertiary-color","text-sm-semibold"],[1,"pricing-formula-box","primary-surface","border-round-2xl","p-4","md:p-5","mt-3","md:mt-4"],[1,"pricing-formula-box__list","text-sm-regular","text-secondary","m-0","mb-3","line-height-3"],["appScrollSpy","","id","faq","data-target-section","faq",1,"pricing-section","px-2","sm:px-5","md:px-7","py-6"],[1,"text-center","mb-5"],[1,"display-xs-bold","lg:display-sm-bold","m-0"],[1,"flex","flex-column","gap-2","pricing-faq-list","mx-auto"],[1,"pricing-faq","primary-surface","border-round-xl","overflow-hidden"],[1,"pricing-faq__summary","text-sm-semibold","p-3","md:px-4","cursor-pointer"],[1,"pricing-faq__chevron","text-tertiary"],[1,"pricing-faq__body","px-3","md:px-4","pb-3","text-sm-regular","text-secondary","line-height-3"],["appScrollSpy","","id","start-program","data-target-section","start-program",1,"pricing-final","px-2","sm:px-5","md:px-7","py-6","pb-8","text-center"],[1,"pricing-final__box","primary-surface","border-round-2xl","p-4","md:p-6","relative","overflow-hidden"],[1,"display-xs-bold","lg:display-sm-bold","m-0","mb-2","relative"],[1,"text-md-regular","text-secondary","m-0","mb-4","relative"],["pButton","","pRipple","","routerLink","/sign-up/merchant",1,"pricing-cta","pricing-cta--primary","p-button","p-button-success","no-text-decoration","font-bold","justify-content-center","relative",3,"click"],[1,"text-sm-regular","text-tertiary","text-center","m-0","py-4"],[1,"pricing-commissions-table-wrap","primary-surface","border-round-2xl","overflow-hidden"],[1,"pricing-commissions-cards","md:hidden","p-3","flex","flex-column","gap-2"],[1,"pricing-commissions-table-scroll","hidden","md:block"],[1,"pricing-commissions-table","w-full"],["scope","col",1,"text-xs-semibold","text-tertiary"],["scope","col",1,"text-xs-semibold","text-tertiary","text-left"],["scope","col",1,"text-xs-semibold","text-tertiary","text-right"],[1,"pricing-commission-card","secondary-surface","border-round-xl","p-3"],[1,"pricing-commission-card__line"],[1,"text-xs-medium","text-tertiary"],[1,"text-sm-regular","text-secondary"],[1,"text-sm-semibold"],[1,"text-sm-regular","text-tertiary"],[1,"text-sm-semibold","text-right"],["class","pricing-commission-card secondary-surface border-round-xl p-3"],[1,"pricing-discount-box__tier","flex","align-items-center","justify-content-between","gap-3"],[1,"text-sm-bold","text-tertiary-color"],[1,"flex","flex-column","gap-1"],["class","text-xs-regular text-tertiary"],[1,"text-xs-regular","text-tertiary"],["class","pricing-discount-box__tier flex align-items-center justify-content-between gap-3"]],template:function(i,o){i&1&&(s(0,"div",0)(1,"div",1)(2,"section",2)(3,"div",3)(4,"div",4),l(5," Season 5 \u2014 Open for Registration "),a(),s(6,"h1",5),l(7," We "),s(8,"span",6),l(9,"help you test"),a(),l(10," affiliate "),_(11,"br"),l(12," marketing. "),a(),s(13,"p",7),l(14," 3 months with 
17no subscription fees."),_(15,"br"),a(),s(16,"div",8)(17,"a",9),V("click",function(){return o.onStartYourAffiliateProgram()}),l(18," Start your affiliate program "),a(),s(19,"a",10),V("click",function(){return o.scrollToSection("how-it-works")}),l(20," See how it works "),a()()()(),s(21,"section",11)(22,"div",12)(23,"div",13)(24,"div",14)(25,"div",15,16),l(27),te(28,"number"),a(),_(29,"p-skeleton",17),s(30,"div",18),l(31,"Active stores"),a()(),_(32,"div",19),s(33,"div",14)(34,"div",15,20),l(36),te(37,"number"),a(),_(38,"p-skeleton",17),s(39,"div",18),l(40,"Sales tracked"),a()(),_(41,"div",19),s(42,"div",14)(43,"div",15,21),l(45),te(46,"currency"),a(),_(47,"p-skeleton",17),s(48,"div",18),l(49,"Sales volume"),a()(),_(50,"div",22),s(51,"div",23)(52,"span",24),l(53," Your store can be one of them, paying mainly for successfully completed sales. "),a()()()()(),s(54,"section",25)(55,"div",12)(56,"header",26)(57,"h2",27),l(58,"Two phases. Zero surprises."),a(),s(59,"p",28),l(60," First you validate. Then you grow. The pricing model stays transparent from day one. "),a()(),s(61,"div",29)(62,"div",30)(63,"article",31)(64,"div",32)(65,"div",33),l(66," Phase 1 \xB7 Validation "),a(),s(67,"span",34),l(68,"Start here"),a()(),s(69,"h3",35),l(70,"Test with minimal risk"),a(),s(71,"p",36),l(72," 3 months with no subscription fees after activation. "),a(),s(73,"ul",37)(74,"li",38)(75,"span",39),l(76,"\u2713"),a(),s(77,"span")(78,"strong"),l(79,"Affiliate commission"),a(),l(80," \u2014 yes, standard rates apply"),a()(),s(81,"li",38)(82,"span",40),l(83,"\u2715"),a(),s(84,"span")(85,"strong"),l(86,"Subscription"),a(),l(87," \u2014 none during validation"),a()(),s(88,"li",38)(89,"span",39),l(90,"\u2713"),a(),s(91,"span")(92,"strong"),l(93,"Network commission"),a(),l(94," \u2014 applied as % of net order value, varies by category, and becomes visible when you choose your category during merchant account setup"),a()(),s(95,"li",38)(96,"span",39),l(97,"\u2713"),a(),s(98,"span")(99,"strong"),l(100,"\u20AC100 bonus"),a(),l(101," \u2014 if you launch your affiliate program in the first 7 days after account creation"),a()(),s(102,"li",38)(103,"span",39),l(104,"\u2713"),a(),s(105,"span")(106,"strong"),l(107,"Full analytics"),a(),l(108," - detailed reporting and optimization tools"),a()(),s(109,"li",38)(110,"span",39),l(111,"\u2713"),a(),s(112,"span")(113,"strong"),l(114,"Dedicated onboarding"),a()()()(),s(115,"div",41)(116,"div",42),l(117,"\u20AC0"),a(),s(118,"div",43),l(119,"No setup fee. Direct Debit activation is required to launch."),a()()()(),s(120,"div",30)(121,"article",44)(122,"div",45),l(123,"Phase 2 \xB7 Growth"),a(),s(124,"h3",35),l(125,"Pay as you grow"),a(),s(126,"p",36),l(127," Starts on day 91 after activation "),a(),s(128,"ul",37)(129,"li",38)(130,"span",39),l(131,"\u2713"),a(),s(132,"span")(133,"strong"),l(134,"Affiliate commission"),a(),l(135," \u2014 standard rates continue"),a()(),s(136,"li",38)(137,"span",39),l(138,"\u2713"),a(),s(139,"span")(140,"strong"),l(141,"Subscription"),a(),l(142," \u2014 \u20AC99/month"),a()(),s(143,"li",38)(144,"span",39),l(145,"\u2713"),a(),s(146,"span")(147,"strong"),l(148,"Network commission"),a(),l(149," \u2014 applied as % of net order value, varies by category, and becomes visible when you choose your category during merchant account setup"),a()(),s(150,"li",38)(151,"span",39),l(152,"\u2713"),a(),s(153,"span")(154,"strong"),l(155,"Full analytics"),a(),l(156," \u2014 detailed reporting and optimization tools"),a()()(),s(157,"div",41)(158,"div",46),l(159," \u20AC99"),s(160,"span",47),l(161,"/month"),a()(),s(162,"div",43),l(163," + affiliate commission + network commission (% of successfully completed sales only) "),a()()()()()()(),s(164,"section",48)(165,"div",12)(166,"div",49)(167,"div",50),l(168,"\u{1F4B0}"),a(),s(169,"h2",51),l(170," Get "),s(171,"span",52),l(172,"\u20AC100"),a(),l(173," bonus on launch if you move fast "),a(),s(174,"p",53),l(175," You have to add \u20AC100 at launch. You get an extra \u20AC100 bonus if you launch your affiliate program in the first 7 days after account creation. "),a(),s(176,"div",54)(177,"div",55)(178,"span",56),l(179,"\u2713"),a(),l(180," Added at the start "),a(),s(181,"div",55)(182,"span",56),l(183,"\u2713"),a(),l(184," Helps you test faster "),a(),s(185,"div",55)(186,"span",56),l(187,"\u2713"),a(),l(188," Built for early validation "),a(),s(189,"div",55)(190,"span",56),l(191,"\u2713"),a(),l(192," Available across categories "),a()()()()(),s(193,"section",57)(194,"div",12)(195,"header",26)(196,"h2",58),l(197,"Affiliate marketing rebuilt for performance."),a(),s(198,"p",59),l(199," The only sales championship in the world. "),a()(),s(200,"div",60)(201,"div",61)(202,"div",62)(203,"div",63),l(204,"1"),a(),s(205,"h3",64),l(206,"Activate your account"),a(),s(207,"p",65),l(208," Add \u20AC100, enable Direct Debit and add a footer link to BusinessLeague on your site to launch the program. "),a()()(),s(209,"div",61)(210,"div",62)(211,"div",63),l(212,"2"),a(),s(213,"h3",64),l(214,"Launch and validate"),a(),s(215,"p",65),l(2
1716," 3 months, no subscription fees. "),a()()(),s(217,"div",61)(218,"div",62)(219,"div",63),l(220,"3"),a(),s(221,"h3",64),l(222,"Move into full pricing"),a(),s(223,"p",65),l(224," After 3 months, \u20AC99/month subscription (your only fixed cost). "),a()()()()()(),s(225,"section",66)(226,"div",12)(227,"header",26)(228,"h2",27),l(229,"Transparent pricing. No hidden fees."),a(),s(230,"p",28),l(231," You pay based on real performance, with clear rules from the beginning. "),a()(),s(232,"div",67)(233,"div",61)(234,"div",68)(235,"div",69),l(236,"\u{1F4CA}"),a(),s(237,"h4",64),l(238,"Commission model"),a(),s(239,"p",70),l(240," Both affiliate commission and network commission are calculated on "),s(241,"strong"),l(242,"net order value"),a(),l(243,", excluding VAT and shipping. They apply only to "),s(244,"strong"),l(245,"successfully completed sales"),a(),l(246,", not to orders that are only placed. "),a()()(),s(247,"div",61)(248,"div",68)(249,"div",69),l(250,"\u{1F4CB}"),a(),s(251,"h4",64),l(252,"Three requirements"),a(),s(253,"p",70),l(254," Add "),s(255,"strong"),l(256,"\u20AC100"),a(),l(257,", activate "),s(258,"strong"),l(259,"Direct Debit"),a(),l(260," and place a footer link, for example "),s(261,"strong"),l(262,"My Affiliate Partner"),a(),l(263," or "),s(264,"strong"),l(265,"My Affiliate Platform"),a(),l(266,". These are required to launch the program. "),a()()(),s(267,"div",61)(268,"div",68)(269,"div",69),l(270,"\u{1F50C}"),a(),s(271,"h4",64),l(272,"Any platform works"),a(),s(273,"p",70),l(274," BusinessLeague can work with any online store, whether it uses a custom-built solution or a standard eCommerce platform. Dedicated plugins are available for Shopify, WooCommerce, PrestaShop, Magento 2, Gomag, MerchantPro, and Avanticart. GTM and custom integrations are also supported. "),a()()()()()(),s(275,"section",71)(276,"div",12)(277,"header",72)(278,"h2",27),l(279,"Categories and commissioning"),a(),s(280,"p",73),l(281," Each advertiser\u2019s commission starts from a standard category value. Below are the 47 categories and their commission rates. "),a()(),s(282,"div",74)(283,"span",75),_(284,"i",76),s(285,"input",77),et("ngModelChange",function(d){return Xe(o.categorySearchTerm,d)||(o.categorySearchTerm=d),d}),a()()(),F(286,Il,2,0,"p",78)(287,Dl,17,0),s(288,"div",79)(289,"header",72)(290,"h2",27),l(291,"Cumulative discounts"),a(),s(292,"p",73),l(293," Two cumulative discounts apply on top of the standard commission value. "),a()(),s(294,"div",29)(295,"div",80)(296,"article",81)(297,"h3",82),l(298,"Loyalty discount"),a(),s(299,"p",83),l(300,"BusinessLeague loyalty"),a(),s(301,"ul",37),Ie(302,Fl,5,4,"li",123,ma),a()()(),s(304,"div",80)(305,"article",81)(306,"h3",82),l(307,"Performance discount"),a(),s(308,"p",83),l(309,"BusinessLeague level"),a(),s(310,"ul",37),Ie(311,Bl,7,5,"li",123,ma),a()()()(),s(313,"article",84)(314,"p",85),l(315," Example: an "),s(316,"span",86),l(317,"Unicorn"),a(),l(318," with 12 years of loyalty \u2192 "),s(319,"span",86),l(320,"25% + 50% = 75%"),a(),l(321," total discount \u2192 pays one quarter of the "),s(322,"span",86),l(323,"Standard"),a(),l(324," value for its category. "),a(),s(325,"p",65),l(326," The two discounts are cumulative. Loyalty increases over time and does not reset. The longer you stay, the less you pay. "),a()(),s(327,"article",87)(328,"p",85),l(329," Dynamic discounts are calculated at two moments: "),a(),s(330,"ul",88)(331,"li"),l(332,"at the beginning of each round"),a(),s(333,"li"),l(334,"when a category change is approved"),a()(),s(335,"p",85),l(336," If a merchant drops down BusinessLeague rankings or is disqualified from BusinessLeague during a round, the Network Commission discount regarding performance will reflect that in the next round or if a category change is made and approved. "),a(),s(337,"p",65),l(338," If a merchant is deactivated and then reactivated, the loyalty counter is reset. "),a()()()()(),s(339,"section",89)(340,"div",12)(341,"header",90)(342,"h2",91),l(343,"Frequently asked"),a()(),s(344,"div",92)(345,"details",93)(346,"summary",94),l(347," Do I need a developer to integrate? "),s(348,"span",95),l(349,"\u25BE"),a()(),s(350,"div",96),l(351," Not necessarily. Shopify, WooCommerce, PrestaShop, Magento 2, Gomag, MerchantPro, and Avanticart have dedicated plugins. For other setups, GTM or a custom integration can be used. "),a()(),s(352,"details",93)(353,"summary",94),l(354," What do I need before launching? "),s(355,"span",95),l(356,"\u25BE"),a()(),s(357,"div",96),l(358," You need to activate Direct Debit and add a footer link to BusinessLeague on your site. Once these are in place, the program can go live. "),a()()()()(),s(359,"section",97)(360,"div",12)(361,"div",98)(362,"h2",99),l(363,"Ready to test affiliate marketing?"),a(),s(364,"p",100),l(365," Zero monthly subscription in the first 3 months. Clear pricing from day one. "),a(),s(366,"a",101),V("click",function(){return o.onStartYourAffiliateProgram()}),l(367," Start your affiliate program "),a()()()()(),_(368,"app-background-scene"),a()),i&2&&(m(25),S("hidden",o.loadingStores),m(2),O(ue(28,11,o.storesNo)),m(2),S("hidden",!o.loadingStores),m(5),S("hidden",o.loading),m(2),O(ue(37,13,o.salesCount)),m(2),S("hidden",!o.loading),m(5),S("hidden",o.loading),m(2),O(Ar(46,15,o.salesValue,"EUR","symbol")),m(2),S("hidden",!o.loading),m(238),Ze("ngModel",o.categorySearchTerm),m(),W(286,o.filteredCategoryCommissions.length===0?286:287),m(16),Le(o.loyaltyDiscountTiers),m(9),Le(o.performanceDiscountTiers))},dependencies:[tt,lt,ln,Ve,Kt,qt,De,ro,ze,Ln,Rn,Dn,Ht,jn,Un],styles:['@charset "UTF-8";
17.pricing-component[_ngcontent-%COMP%]{min-height:100vh;padding-top:2rem}@media only screen and (min-width: 992px){.pricing-component[_ngcontent-%COMP%]{padding-top:3rem}}.pricing-hero[_ngcontent-%COMP%]{padding-top:2rem;padding-bottom:3rem;position:relative}@media only screen and (min-width: 992px){.pricing-hero[_ngcontent-%COMP%]{padding-top:3rem;padding-bottom:4rem}}.pricing-hero[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);width:min(100%,50rem);height:24rem;background:radial-gradient(ellipse,rgba(120,57,238,.14) 0%,transparent 65%);pointer-events:none}.pricing-hero-title[_ngcontent-%COMP%]{position:relative;max-width:50rem}.max-w-30rem[_ngcontent-%COMP%]{max-width:30rem}.max-w-27rem[_ngcontent-%COMP%]{max-width:27rem}.max-w-20rem[_ngcontent-%COMP%]{max-width:20rem}.pricing-badge[_ngcontent-%COMP%]{position:relative;padding:.375rem 1rem;background:#7839ee1f;border:1px solid rgba(120,57,238,.28);border-radius:100px;color:var(--color-button-tertiary-color-fg);letter-spacing:.02em}.pricing-badge[_ngcontent-%COMP%]:before{content:"";width:6px;height:6px;background:var(--color-text-success-primary-600);border-radius:50%;animation:_ngcontent-%COMP%_pricing-pulse 2s ease-in-out infinite}@keyframes _ngcontent-%COMP%_pricing-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.35)}}.pricing-gradient-text[_ngcontent-%COMP%]{background:linear-gradient(135deg,var(--color-bg-brand-solid) 0%,#3c82fe 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.pricing-cta[_ngcontent-%COMP%]{min-height:2.75rem;padding-left:1.5rem;padding-right:1.5rem;display:inline-flex;align-items:center;gap:.5rem;font-weight:var(--font-weight-bold, 700);transition:filter .25s ease,transform .2s ease,box-shadow .25s ease}.pricing-cta--primary[_ngcontent-%COMP%]{background:var(--color-bg-success-primary);border:1px solid var(--color-button-primary-success-border)}.pricing-cta--primary[_ngcontent-%COMP%]:hover{filter:brightness(1.08);transform:translateY(-1px)}.pricing-cta--primary[_ngcontent-%COMP%]:after{content:"\\2192";font-size:1.125rem;transition:transform .2s ease}.pricing-cta--primary[_ngcontent-%COMP%]:hover:after{transform:translate(3px)}.pricing-cta--secondary[_ngcontent-%COMP%]:hover{filter:brightness(1.05);color:var(--color-text-primary-900)!important}.pricing-section[_ngcontent-%COMP%]{position:relative}.pricing-stat-divider[_ngcontent-%COMP%]{width:1px;height:2.5rem;background:#ffffff14}.pricing-phase[_ngcontent-%COMP%]{transition:border-color .3s ease,box-shadow .3s ease}.pricing-phase[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--color-text-primary-900);font-weight:var(--font-weight-semibold, 600)}.pricing-phase--validation[_ngcontent-%COMP%]{border-color:#47cd8938!important}.pricing-phase--validation[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--color-text-success-primary-600),rgba(71,205,137,.35))}.pricing-phase--validation[_ngcontent-%COMP%]:hover{border-color:#47cd8966!important;box-shadow:0 0 40px #47cd8914}.pricing-phase--growth[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--color-bg-brand-solid),rgba(120,57,238,.35))}.pricing-phase[_ngcontent-%COMP%]:hover{border-color:#7839ee38!important}.pricing-phase__ribbon[_ngcontent-%COMP%]{top:1rem;right:1.25rem;padding:.25rem .75rem;background:var(--color-bg-success-solid);border-radius:100px;color:#fff;letter-spacing:.02em}.pricing-phase__tag[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.3rem .85rem;border-radius:100px;text-transform:uppercase;letter-spacing:.06em}.pricing-phase__tag--success[_ngcontent-%COMP%]{background:#47cd891f;color:var(--color-text-success-primary-600);border:1px solid rgba(71,205,137,.28)}.pricing-phase__tag--brand[_ngcontent-%COMP%]{background:#7839ee1f;color:var(--color-button-tertiary-color-fg);border:1px solid rgba(120,57,238,.28)}.pricing-phase__price[_ngcontent-%COMP%]{border-top:1px solid rgba(255,255,255,.06)}.pricing-icon[_ngcontent-%COMP%]{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;margin-top:1px}.pricing-icon--yes[_ngcontent-%COMP%]{background:#47cd8926;color:var(--color-text-success-primary-600)}.pricing-icon--muted[_ngcontent-%COMP%]{background:#ffffff0f;color:var(--color-text-tertiary-600)}.pricing-bonus[_ngcontent-%COMP%]{border-color:#47cd8938!important}.pricing-bonus[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 100%,rgba(71,205,137,.08) 0%,transparent 60%);pointer-events:none}.pricing-bonus[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent,var(--color-text-success-primary-600),transparent)}.pricing-bonus__icon[_ngcontent-%COMP%]{width:4rem;height:4rem;border-radius:50%;background:#47cd891a;border:1px solid rgba(71,205,137,.22);position:relative}.pricing-step[_ngcontent-%COMP%]{transition:border-color .3s ease,transform .3s ease}.pricing-step[_ngcontent-%COMP%]:hover{border-color:#7839ee33!important;transform:translateY(-2px)}.pricing-step__num[_ngcontent-%COMP%]{width:2.25rem;height:2.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,var(--color-bg-brand-solid) 0%,#3c82fe 100%)}.pricing-info-card[_ngcontent-%COMP%]{transition:border-color .3s ease}.pricing-info-card[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--color-text-primary-900);font-weight:var(--font-weight-semibold)}.pricing-info-card[_ngcontent-%COMP%]:hover{border-color:#7839ee2e!important}.pricing-info-card__icon[_ngcontent-%COMP%]{width:3rem;height:3rem;border-radius:var(--radius-md);background:#7839ee1f}.pricing-commissions-search[_ngcontent-%COMP%]{max-width:24rem;margin-left:auto;margin-right:auto}.pricing-commissions-search[_ngcontent-%COMP%]   .p-inputtext[_ngcontent-%COMP%]{width:100%;background:var(--Color-bg-secondary, #161b26);border-color:#7839ee38}.pricing-commissions-search[_ngcontent-%COMP%]   .p-inputtext[_ngcontent-%COMP%]:enabled:focus{border-color:var(--color-bg-brand-solid);box-shadow:0 0 0 1px #7839ee59}.pricing-commissions-search[_ngcontent-%COMP%]   .p-input-icon-left[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{color:var(--color-text-tertiary-600)}.pricing-commission-card[_ngcontent-%COMP%]{border-color:#ffffff0f!important;transition:border-color .2s ease}.pricing-commission-card[_ngcontent-%COMP%]:hover{border-color:#7839ee38!important}.pricing-commission-card[_ngcontent-%COMP%]   .pricing-commissions-table__new[_ngcontent-%COMP%]{justify-content:flex-start}.pricing-commission-card__line[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.125rem}.pricing-commission-card__line[_ngcontent-%COMP%]:not(:last-child){margin-bottom:.75rem}.pricing-commissions-table-wrap[_ngcontent-%COMP%]{border-color:#7839ee2e!important}.pricing-commissions-table-wrap[_ngcontent-%COMP%]:before{content:"";display:block;height:3px;background:linear-gradient(90deg,var(--color-bg-brand-solid),rgba(120,57,238,.35))}.pricing-commissions-table[_ngcontent-%COMP%]{border-collapse:collapse;min-width:36rem}.pricing-commissions-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .pricing-commissions-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:.75rem 1rem;border-bottom:1px solid rgba(255,255,255,.06);vertical-align:middle}.pricing-commissions-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1;background:var(--Color-bg-secondary, #161b26);border-bottom-color:#7839ee38;white-space:nowrap}.pricing-commissions-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:first-child, .pricing-commissions-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:first-child{width:2.5rem;padding-left:1.25rem}.pricing-commissions-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:last-child, .pricing-commissions-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:last-child{padding-right:1.25rem}.pricing-commissions-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(2), .pricing-commissions-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(2){min-width:14rem}.pricing-commissions-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{transition:background-color .2s ease}.pricing-commissions-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background:#7839ee0f}.pricing-commissions-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:last-child   td[_ngcontent-%COMP%]{border-bottom:none}.pricing-commissions-table__new[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:flex-end;
17gap:.25rem;min-width:3.5rem}.pricing-commissions-table__trend[_ngcontent-%COMP%]{font-size:.875rem;line-height:1}.pricing-commissions-table__trend--placeholder[_ngcontent-%COMP%]{visibility:hidden}.pricing-discount-box[_ngcontent-%COMP%]{border-color:#7839ee2e!important;transition:border-color .3s ease,box-shadow .3s ease}.pricing-discount-box[_ngcontent-%COMP%]:hover{border-color:#7839ee47!important;box-shadow:0 0 32px #7839ee0f}.pricing-formula-box[_ngcontent-%COMP%]{border-color:#7839ee47!important;position:relative;overflow:hidden;box-shadow:0 0 40px #7839ee14}.pricing-formula-box[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--color-bg-brand-solid),rgba(120,57,238,.35))}.pricing-formula-box[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0%,rgba(120,57,238,.1) 0%,transparent 55%);pointer-events:none}.pricing-formula-box[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .pricing-formula-box[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{position:relative}.pricing-formula-box__list[_ngcontent-%COMP%]{padding-left:1.25rem}.pricing-faq-list[_ngcontent-%COMP%]{max-width:44rem;width:100%}.pricing-faq[_ngcontent-%COMP%]{transition:border-color .3s ease}.pricing-faq[_ngcontent-%COMP%]:hover{border-color:#7839ee2e!important}.pricing-faq__summary[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;list-style:none;width:100%;background:transparent;border:none;color:inherit;font-family:inherit;text-align:left}.pricing-faq__summary[_ngcontent-%COMP%]::-webkit-details-marker{display:none}.pricing-faq__summary[_ngcontent-%COMP%]:hover{color:var(--color-button-tertiary-color-fg)}.pricing-faq__chevron[_ngcontent-%COMP%]{flex-shrink:0;transition:transform .3s ease;font-size:1.125rem}.pricing-faq[open][_ngcontent-%COMP%]   .pricing-faq__chevron[_ngcontent-%COMP%]{transform:rotate(180deg)}.pricing-final__box[_ngcontent-%COMP%]{border-color:#7839ee33!important}.pricing-final__box[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0%,rgba(120,57,238,.1) 0%,transparent 50%);pointer-events:none}']});let r=t;return r})();var Vl=["countrySwitcher"];function jl(r,t){r&1&&(s(0,"div",2)(1,"p",3),l(2,"Unable to load country statistics. Please try again later."),a(),s(3,"a",4),l(4,"Go to homepage"),a()())}var zl=(r,t)=>t.slug;function Ul(r,t){if(r&1&&(s(0,"span",44),_(1,"i",45),l(2),te(3,"date"),te(4,"date"),a()),r&2){let e=v(2);m(2),Dt(" Season Period: ",Si(3,2,e.seasonData.season_start_date,"yyyy-MM-dd","","en-US")," \u2014 ",Si(4,7,e.seasonData.season_end_date,"yyyy-MM-dd","","en-US")," ")}}var $l=r=>["/",r];function ql(r,t){if(r&1){let e=he();s(0,"a",46),V("click",function(i){let c=J(e).$implicit,d=v(2);return Z(d.onCountryTabClick(i,c.slug))}),s(1,"span",47),l(2),a(),_(3,"img",48),a()}if(r&2){let e=t.$implicit,n=v(2);le("p-highlight",e.slug===n.country.slug),S("routerLink",pt(8,$l,e.slug)),vt("data-country-slug",e.slug)("aria-current",e.slug===n.country.slug?"page":null)("aria-checked",e.slug===n.country.slug),m(2),O(e.name),m(),S("src",n.flagSrc(e.code),_e)}}var gi=(r,t)=>t.name;function Kl(r,t){if(r&1&&(s(0,"a",68),l(1),a()),r&2){let e=v().$implicit;S("href",e.main_url,_e),m(),O(e.name)}}function Hl(r,t){if(r&1&&(s(0,"span",69),l(1),a()),r&2){let e=v().$implicit;m(),O(e.name)}}function Wl(r,t){if(r&1){let e=he();s(0,"article",58)(1,"div",59)(2,"span",60),l(3,"Rank"),a(),s(4,"span",61),l(5),a()(),s(6,"div",59)(7,"span",60),l(8,"Store Name"),a(),s(9,"div",62)(10,"img",63),V("error",function(i){J(e);let o=v(3);return Z(o.onLogoError(i))}),a(),F(11,Kl,2,2,"a",64)(12,Hl,2,1),a()(),s(13,"div",59)(14,"span",65),l(15," Sales "),_(16,"i",56),a(),s(17,"span",66),l(18),te(19,"number"),a()(),s(20,"div",59)(21,"span",67),l(22," Clicks "),_(23,"i",56),a(),s(24,"span",61),l(25),te(26,"number"),a()(),s(27,"div",59)(28,"span",60),l(29,"Active Affiliates"),a(),s(30,"span",61),l(31),te(32,"number"),a()()()}if(r&2){let e=t.$implicit,n=t.$index,i=v(3);m(5),O(n+1),m(5),S("src",i.logoSrc(e.logo_path),_e)("alt",e.name),m(),W(11,e.main_url?11:12),m(6),le("text-success",i.isTopThree(n)),m(),O(ue(19,9,e.sales)),m(7),O(ue(26,11,e.clicks)),m(6),O(ue(32,13,e.active_affiliates))}}function Gl(r,t){if(r&1&&(s(0,"a",68),l(1),a()),r&2){let e=v().$implicit;S("href",e.main_url,_e),m(),O(e.name)}
17}function Ql(r,t){if(r&1&&(s(0,"span",69),l(1),a()),r&2){let e=v().$implicit;m(),O(e.name)}}function Yl(r,t){if(r&1){let e=he();s(0,"tr")(1,"td",70)(2,"span",71),l(3),a()(),s(4,"td")(5,"div",72)(6,"img",73),V("error",function(i){J(e);let o=v(3);return Z(o.onLogoError(i))}),a(),F(7,Gl,2,2,"a",64)(8,Ql,2,1),a()(),s(9,"td",74),l(10),te(11,"number"),a(),s(12,"td",74),l(13),te(14,"number"),a(),s(15,"td",74),l(16),te(17,"number"),a()()}if(r&2){let e=t.$implicit,n=t.$index,i=v(3);m(3),O(n+1),m(3),S("src",i.logoSrc(e.logo_path),_e)("alt",e.name),m(),W(7,e.main_url?7:8),m(2),le("text-success",i.isTopThree(n)),m(),j(" ",ue(11,9,e.sales)," "),m(3),O(ue(14,11,e.clicks)),m(3),O(ue(17,13,e.active_affiliates))}}function Jl(r,t){if(r&1&&(s(0,"div",49),Ie(1,Wl,33,15,"article",75,gi),a(),s(3,"div",50)(4,"table",51)(5,"thead")(6,"tr")(7,"th",52),l(8,"Rank"),a(),s(9,"th",53),l(10,"Store Name"),a(),s(11,"th",54)(12,"span",55),l(13," Sales "),_(14,"i",56),a()(),s(15,"th",54)(16,"span",57),l(17," Clicks "),_(18,"i",56),a()(),s(19,"th",54),l(20,"Active Affiliates"),a()()(),s(21,"tbody"),Ie(22,Yl,18,15,"tr",null,gi),a()()()),r&2){let e=v(2);m(),Le(e.country.top_merchants),m(21),Le(e.country.top_merchants)}}function Zl(r,t){r&1&&(s(0,"p",76),l(1,"No merchants in this season yet."),a())}function Xl(r,t){if(r&1){let e=he();s(0,"article",58)(1,"div",59)(2,"span",60),l(3,"Rank"),a(),s(4,"span",61),l(5),a()(),s(6,"div",59)(7,"span",60),l(8,"Marketer name"),a(),s(9,"div",62)(10,"img",63),V("error",function(i){J(e);let o=v(3);return Z(o.onLogoError(i))}),a(),s(11,"span",69),l(12),a()()(),s(13,"div",59)(14,"span",65),l(15," Sales "),_(16,"i",56),a(),s(17,"span",66),l(18),te(19,"number"),a()(),s(20,"div",59)(21,"span",67),l(22," Clicks "),_(23,"i",56),a(),s(24,"span",61),l(25),te(26,"number"),a()(),s(27,"div",59)(28,"span",60),l(29,"Promoted Stores"),a(),s(30,"span",61),l(31),te(32,"number"),a()()()}if(r&2){let e=t.$implicit,n=t.$index,i=v(3);m(5),O(n+1),m(5),S("src",i.logoSrc(e.logo_path),_e)("alt",e.name),m(2),O(e.name),m(5),le("text-success",i.isTopThree(n)),m(),O(ue(19,9,e.sales)),m(7),O(ue(26,11,e.clicks)),m(6),O(ue(32,13,e.promoted_stores))}}function ec(r,t){if(r&1){let e=he();s(0,"tr")(1,"td",70)(2,"span",71),l(3),a()(),s(4,"td")(5,"div",72)(6,"img",73),V("error",function(i){J(e);let o=v(3);return Z(o.onLogoError(i))}),a(),s(7,"span",69),l(8),a()()(),s(9,"td",74),l(10),te(11,"number"),a(),s(12,"td",74),l(13),te(14,"number"),a(),s(15,"td",74),l(16),te(17,"number"),a()()}if(r&2){let e=t.$implicit,n=t.$index,i=v(3);m(3),O(n+1),m(3),S("src",i.logoSrc(e.logo_path),_e)("alt",e.name),m(2),O(e.name),m(),le("text-success",i.isTopThree(n)),m(),j(" ",ue(11,9,e.sales)," "),m(3),O(ue(14,11,e.clicks)),m(3),O(ue(17,13,e.promoted_stores))}}function tc(r,t){if(r&1&&(s(0,"div",49),Ie(1,Xl,33,15,"article",75,gi),a(),s(3,"div",50)(4,"table",51)(5,"thead")(6,"tr")(7,"th",52),l(8,"Rank"),a(),s(9,"th",53),l(10,"Marketer name"),a(),s(11,"th",54)(12,"span",55),l(13," Sales "),_(14,"i",56),a()(),s(15,"th",54)(16,"span",57),l(17," Clicks "),_(18,"i",56),a()(),s(19,"th",54),l(20,"Promoted Stores"),a()()(),s(21,"tbody"),Ie(22,ec,18,15,"tr",null,gi),a()()()),r&2){let e=v(2);m(),Le(e.country.top_marketers),m(21),Le(e.country.top_marketers)}}function nc(r,t){r&1&&(s(0,"p",76),l(1,"No marketers in this season yet."),a())}function ic(r,t){if(r&1){let e=he();s(0,"header",5)(1,"div",6)(2,"div",7)(3,"span",8),_(4,"img",9),a(),s(5,"div",10)(6,"h1",11),l(7),a(),F(8,Ul,5,12,"span",12),a()(),s(9,"nav",13)(10,"div",14)(11,"button",15),V("click",function(){J(e);let i=v();return Z(i.scrollSwitcher(-1))}),_(12,"i",16),a(),s(13,"div",17,18),Ie(15,ql,4,10,"a",77,zl),a(),s(17,"button",19),V("click",function(){J(e);let i=v();return Z(i.scrollSwitcher(1))}),_(18,"i",20),a()()()(),s(19,"p",21),l(20),a()(),s(21,"div",22)(22,"article",23)(23,"div",24)(24,"span",25),l(25,"Total Sales (Season)"),a(),s(26,"span",26),l(27),te(28,"number"),a()(),s(29,"span",27),_(30,"i",28),a()(),s(31,"article",29)(32,"div",24)(33,"span",25),l(34,"Total Clicks (Season)"),a(),s(35,"span",26),l(36),te(37,"number"),a()(),s(38,"span",30),xn(),s(39,"svg",31),_(40,"path",32)(41,"path",33),a()()(),Sr(),s(42,"article",34)(43,"div",24)(44,"span",25),l(45,"Conversion Rate (CR)"),a(),s(46,"span",26),l(47),te(48,"number"),a()(),s(49,"span",35),_(50,"i",36),a()()(),s(51,"div",37)(52,"section",38)(53,"div",39)(54,"h2",40),_(55,"i",41),l(56," Top 10 Merchants "),a(),s(57,"p",42),l(58," Top selling merchants grouped and ordered by sales in this season. "),a()(),F(59,Jl,24,0)(60,Zl,2,0),a(),s(61,"section",38)(62,"div",39)(63,"h2",40),_(64,"i",43),l(65," Top 10 Marketers "),a(),s(66,"p",42),l(67," Top performing promoters ordered by sales in this season. "),a()(),F(68,tc,24,0)(69,nc,2,0),a()()}if(r&2){let e=v();
17m(4),S("src",e.flagSrc(e.country.code),_e)("alt",e.country.name+" flag"),m(3),j(" ",e.pageTitle(e.country)," "),m(),W(8,e.seasonData?8:-1),m(),le("country-switcher--scrollable",e.switcherOverflows),m(2),S("disabled",!e.canScrollLeft),m(4),Le(e.countries),m(2),S("disabled",!e.canScrollRight),m(3),j(" ",e.pageSubtitle(e.country)," "),m(7),O(ue(28,14,e.country.total_sales)),m(9),O(ue(37,16,e.country.total_clicks)),m(11),j("",Ft(48,18,e.country.conversion_rate,"1.2-2"),"%"),m(12),W(59,e.country.top_merchants.length?59:60),m(9),W(68,e.country.top_marketers.length?68:69)}}var ha=(()=>{let t=class t{constructor(n,i,o,c,d,p){this.route=n,this.router=i,this.metaService=o,this.countriesService=c,this.ngZone=d,this.cdr=p,this.countries=[],this.loadError=!1,this.switcherOverflows=!1,this.canScrollLeft=!1,this.canScrollRight=!1,this.defaultLogo="assets/images/icons/avatar-default.webp",this.desktopSwitcherQuery="(min-width: 1200px)",this.unsubscribe$=new qe}ngOnInit(){Cn([this.route.paramMap,this.countriesService.getSeasonData()]).pipe(Oe(this.unsubscribe$)).subscribe({next:([n,i])=>{this.loadError=!1,this.seasonData=i,this.countries=i.countries;let o=n.get("country_slug")??"";if(this.country=i.countries.find(c=>c.slug===o),!this.country){this.router.navigateByUrl("/");return}this.metaService.updateMetaTags(`${this.country.name} leads the current Business League season. See top merchants, marketers, sales, clicks and conversion rate.`,`${this.country.name} | Business League`),this.scrollActiveCountryTabIntoView(),this.cdr.detectChanges(),this.bindSwitcherOverflow()},error:()=>{this.loadError=!0,this.country=void 0,this.seasonData=void 0}})}ngAfterViewInit(){this.bindSwitcherOverflow()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete(),this.unbindSwitcherOverflow()}flagSrc(n){return Kn(n)}onCountryTabClick(n,i){this.country?.slug===i&&n.preventDefault()}onWindowResize(){this.updateSwitcherOverflow()}scrollSwitcher(n){let i=this.countrySwitcher?.nativeElement;if(!i)return;let o=Math.max(i.clientWidth*.7,140);i.scrollBy({left:n*o,behavior:"smooth"})}bindSwitcherOverflow(){let n=this.countrySwitcher?.nativeElement;if(n){if(!this.switcherResizeObserver){this.switcherResizeObserver=new ResizeObserver(()=>{this.ngZone.run(()=>this.updateSwitcherOverflow())}),this.switcherResizeObserver.observe(n);let i=n.closest(".country-page-component");i&&this.switcherResizeObserver.observe(i);let o=n.closest(".page-title-row");o&&this.switcherResizeObserver.observe(o)}this.switcherScrollListener||(this.switcherScrollListener=()=>this.ngZone.run(()=>this.updateSwitcherOverflow()),n.addEventListener("scroll",this.switcherScrollListener,{passive:!0})),this.updateSwitcherOverflow()}}unbindSwitcherOverflow(){this.switcherResizeObserver?.disconnect(),this.switcherResizeObserver=void 0;let n=this.countrySwitcher?.nativeElement;n&&this.switcherScrollListener&&n.removeEventListener("scroll",this.switcherScrollListener),this.switcherScrollListener=void 0}updateSwitcherOverflow(){let n=this.countrySwitcher?.nativeElement;if(!n||window.matchMedia(this.desktopSwitcherQuery).matches){this.switcherOverflows=!1,this.canScrollLeft=!1,this.canScrollRight=!1;return}let i=Array.from(n.children).reduce((b,x)=>b+x.offsetWidth,0),o=n.closest(".country-switcher"),c=this.switcherOverflows?64:0,d=(o?.clientWidth??n.clientWidth)-c,p=i>d+1,u=i+64<=(o?.clientWidth??n.clientWidth)+1;this.switcherOverflows?this.switcherOverflows=!u:this.switcherOverflows=p,this.canScrollLeft=n.scrollLeft>1,this.canScrollRight=n.scrollLeft+n.clientWidth<n.scrollWidth-1}scrollActiveCountryTabIntoView(){queueMicrotask(()=>{let n=this.country?.slug,i=this.countrySwitcher?.nativeElement;if(!n||!i)return;let o=i.querySelector(`[data-country-slug="${n}"]`);if(o){let c=o.offsetLeft-(i.clientWidth-o.offsetWidth)/2;i.scrollTo({left:Math.max(0,c)})}this.updateSwitcherOverflow()})}pageTitle(n){return`BusinessLeague.com for ${n.name}`}pageSubtitle(n){return this.isPlayersLeader(n)?`${n.name} leads the Season 5 league leaderboard with ${n.total_players} players, active merchants, and high-performing affiliate traffic. Track season progression, top-selling stores, and elite marketers below.`:`${n.name} tracks high-performing sales in the Season 5 league leaderboard. Monitor active merchants and top local promoters below.`}logoSrc(n){return n||this.defaultLogo}onLogoError(n){let i=n.target;i.src.includes(this.defaultLogo)||(i.src=this.defaultLogo)}isTopThree(n){return n<3}isPlayersLeader(n){if(!this.countries.length)return!1;let i=Math.max(...this.countries.map(o=>o.total_players));return n.total_players===i}};t.\u0275fac=function(i){return new(i||t)(N(rt),N(ht),N(Qt),N(Hn),N(Pn),N(xi))},t.\u0275cmp=me({type:t,selectors:[["app-country-page"]],viewQuery:function(i,o){if(i&1&&It(Vl,5),i&2){let c;Lt(c=Rt())&&(o.countrySwitcher=c.first)}},hostBindings:function(i,o){i&1&&V("resize",function(){return o.onWindowResize()},!1,At)},standalone:!0,features:[Te],decls:4,vars:1,consts:[[1,"country-page-component","relative","px-2","lg:px-7","py-4","lg:py-5","app-max-w","mx-auto"],["class","flex flex-column align-items-center justify-content-center gap-3 mt-5 text-center"],[1,"flex","flex-column","align-items-center","justify-content-center","gap-3","mt-5","text-center"],[1,"text-md-regular","text-tertiary","m-0"],["routerLink","/",1,"p-button","p-button-primary","p-button-sm","no-underline","font-bold"],[1,"flex","flex-column","gap-3","mt-3","mb-4","min-w-0"],[1,"page-title-row","flex","flex-column","lg:flex-row","lg:align-items-start","lg:justify-content-between","gap-3","min-w-0"],[1,"page-title-left","flex","align-items-start","gap-3","min-w-0"],[1,"country-flag-badge","flex","align-items-center","justify-content-center","flex-shrink-0","overflow-hidden","primary-surface","border-round-xl"],["width","52","height","52",1,"country-flag-img","w-full","h-full",3,"src","alt"],[1,"flex","flex-column","gap-2","min-w-0"],[1,"display-xs-semibold","lg:display-sm-semibold","m-0"],["class","round-period-badge p-chip text-xs-medium align-self-start"],["aria-label","Country pages",1,"country-switcher"],["role","group",1,"country-switcher-toggle","p-selectbutton","p-buttonset","p-component","text-sm"],["type","button","aria-label","Previous countries",1,"country-switcher-arrow",3,"disabled","click"],[1,"pi","pi-chevron-left"],[1,"country-switcher-track"],["countrySwitcher",""],["type","button","aria-label","Next countries",1,"country-switcher-arrow",3,"disabled","click"],[1,"pi","pi-chevron-right"],[1,"text-md-regular","lg:text-lg-regular","text-tertiary","m-0"],[1,"flex","flex-column","sm:flex-row","gap-2","lg:gap-3"],[1,"stat-card","stat-card--sales","primary-surface","border-round-2xl","p-4","md:p-5","relative","overflow-hidden","flex-1","flex","align-items-center","justify-content-between","gap-3"],[1,"flex","flex-column","gap-1","min-w-0"],[1,"text-sm","text-tertiary"],[1,"text-xl-semibold"],[1,"stat-icon-well","stat-icon-well--sales","flex","align-items-center","justify-content-center","flex-shrink-0","border-round-xl"],[1,"pi","pi-shopping-cart","text-xl","text-tertiary-color"],[1,"stat-card","stat-card--clicks","primary-surface","border-round-2xl","p-4","md:p-5","relative","overflow-hidden","flex-1","flex","align-items-center","justify-content-between","gap-3"],[1,"stat-icon-well","stat-icon-well--clicks","flex","align-items-center","justify-content-center","flex-shrink-0","border-round-xl"],["width","22","height","22","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"stat-icon-clicks"],["d","M4 4l7.07 17 2.51-
177.39L21 11.07 4 4z"],["d","M13.58 13.58L19 19"],[1,"stat-card","stat-card--cr","primary-surface","border-round-2xl","p-4","md:p-5","relative","overflow-hidden","flex-1","flex","align-items-center","justify-content-between","gap-3"],[1,"stat-icon-well","stat-icon-well--cr","flex","align-items-center","justify-content-center","flex-shrink-0","border-round-xl"],[1,"pi","pi-chart-bar","text-xl","text-success"],[1,"flex","flex-column","xl:flex-row","gap-3","mt-4","align-items-start"],[1,"leaders-panel","primary-surface","border-round-2xl","p-3","flex","flex-column","min-w-0","flex-1","w-full"],[1,"mb-3"],[1,"text-md-semibold","m-0","flex","align-items-center","gap-2"],[1,"pi","pi-home","text-primary"],[1,"text-sm-regular","text-tertiary","mt-2","mb-0"],[1,"pi","pi-users","text-primary"],[1,"round-period-badge","p-chip","text-xs-medium","align-self-start"],[1,"pi","pi-calendar","mr-2","p-chip-icon"],["pRipple","","queryParamsHandling","merge","role","radio",1,"p-ripple","p-button","p-component","no-underline",3,"routerLink","click"],[1,"p-button-label"],["alt","","width","20","height","14",1,"switcher-btn-flag",3,"src"],[1,"md:hidden","flex","flex-column","gap-2"],[1,"overflow-x-auto","hidden","md:block"],[1,"leaders-table","w-full"],[1,"text-xs-medium","text-tertiary","text-center"],[1,"text-xs-medium","text-tertiary","text-left"],[1,"text-xs-medium","text-tertiary","text-right"],["pTooltip","Sales in the current season","tooltipPosition","top"],[1,"pi","pi-info-circle","text-xs"],["pTooltip","Clicks in the current season","tooltipPosition","top"],[1,"secondary-surface","border-round-xl","p-3","flex","flex-column","gap-2"],[1,"flex","align-items-center","justify-content-between","gap-3"],[1,"text-xs-medium","text-tertiary"],[1,"text-sm-regular","text-secondary"],[1,"flex","align-items-center","gap-2","min-w-0","justify-content-end"],["width","24","height","24",1,"entity-logo","border-circle","flex-shrink-0",3,"src","alt","error"],["class","merchant-name-link text-sm-semibold truncate no-underline","target","_blank","rel","noopener noreferrer",3,"href"],["pTooltip","Sales in the current season","tooltipPosition","top","tooltipEvent","focus","tabindex","0",1,"text-xs-medium","text-tertiary"],[1,"text-sm-semibold"],["pTooltip","Clicks in the current season","tooltipPosition","top","tooltipEvent","focus","tabindex","0",1,"text-xs-medium","text-tertiary"],["target","_blank","rel","noopener noreferrer",1,"merchant-name-link","text-sm-semibold","truncate","no-underline",3,"href"],[1,"text-sm-semibold","truncate"],[1,"text-center"],[1,"text-sm-regular","text-tertiary"],[1,"flex","align-items-center","gap-2","min-w-0"],["width","32","height","32",1,"entity-logo","border-circle","flex-shrink-0",3,"src","alt","error"],[1,"text-right"],["class","secondary-surface border-round-xl p-3 flex flex-column gap-2"],[1,"text-sm-regular","text-tertiary","m-0"],["pRipple","","class","p-ripple p-button p-component no-underline","queryParamsHandling","merge","role","radio",3,"p-highlight","routerLink"]],template:function(i,o){i&1&&(s(0,"section",0),F(1,jl,5,0,"div",1)(2,ic,70,21),_(3,"app-background-scene"),a()),i&2&&(m(),W(1,o.loadError?1:o.country?2:-1))},dependencies:[De,ze,Gt,Ve,lt,Vt,Kt,qt],styles:['.country-page-component[_ngcontent-%COMP%]{min-height:calc(100vh - 8rem);min-width:0;overflow-x:clip}.country-page-component[_ngcontent-%COMP%]   .country-flag-badge[_ngcontent-%COMP%]{width:3.25rem;height:3.25rem}.country-page-component[_ngcontent-%COMP%]   .country-flag-img[_ngcontent-%COMP%]{display:block;width:100%;height:100%;object-fit:cover}.country-page-component[_ngcontent-%COMP%]   .page-title-row[_ngcontent-%COMP%]{min-width:0}.country-page-component[_ngcontent-%COMP%]   .page-title-left[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.country-page-component[_ngcontent-%COMP%]   .country-switcher[_ngcontent-%COMP%]{min-width:0;width:fit-content;max-width:100%}@media only screen and (min-width: 1200px){.country-page-component[_ngcontent-%COMP%]   .country-switcher[_ngcontent-%COMP%]{flex:0 0 auto;max-width:none;margin-left:auto}}
17.country-page-component[_ngcontent-%COMP%]   .country-switcher-toggle[_ngcontent-%COMP%]{display:flex;align-items:stretch;flex-wrap:nowrap;box-sizing:border-box;width:max-content;max-width:100%;min-width:0;border:1px solid rgba(255,255,255,.2);border-radius:var(--radius-md, 8px);background:var(--color-bg-primary, #0c111d);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);padding:4px}@media only screen and (min-width: 1200px){.country-page-component[_ngcontent-%COMP%]   .country-switcher-toggle[_ngcontent-%COMP%]{max-width:none}}.country-page-component[_ngcontent-%COMP%]   .country-switcher-arrow[_ngcontent-%COMP%]{display:none;align-items:center;justify-content:center;flex-shrink:0;width:2rem;padding:0;border:0;border-radius:var(--radius-xs, 4px);background:transparent;color:var(--Color-button-outlined-fg, #cecfd2);cursor:pointer}.country-page-component[_ngcontent-%COMP%]   .country-switcher-arrow[_ngcontent-%COMP%]:disabled{opacity:.35;cursor:default}.country-page-component[_ngcontent-%COMP%]   .country-switcher--scrollable[_ngcontent-%COMP%]   .country-switcher-arrow[_ngcontent-%COMP%]{display:inline-flex}@media only screen and (min-width: 1200px){.country-page-component[_ngcontent-%COMP%]   .country-switcher--scrollable[_ngcontent-%COMP%]   .country-switcher-arrow[_ngcontent-%COMP%]{display:none}}.country-page-component[_ngcontent-%COMP%]   .country-switcher-track[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;align-items:center;min-width:0;flex:1 1 auto;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}@media only screen and (min-width: 1200px){.country-page-component[_ngcontent-%COMP%]   .country-switcher-track[_ngcontent-%COMP%]{overflow:visible;flex:0 0 auto}}.country-page-component[_ngcontent-%COMP%]   .country-switcher-track[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.country-page-component[_ngcontent-%COMP%]   .country-switcher-track[_ngcontent-%COMP%]   .p-button[_ngcontent-%COMP%]{flex:0 0 auto;border-radius:var(--radius-xs, 4px);border-color:transparent;padding:.3rem 1.25rem;transition:all .3s;font-size:14px;gap:.5rem;white-space:nowrap}.country-page-component[_ngcontent-%COMP%]   .country-switcher-track[_ngcontent-%COMP%]   .p-button[_ngcontent-%COMP%]:not(.p-highlight){background:transparent;color:var(--Color-button-outlined-fg, #cecfd2)}.country-page-component[_ngcontent-%COMP%]   .country-switcher-track[_ngcontent-%COMP%]   .p-button.p-highlight[_ngcontent-%COMP%], .country-page-component[_ngcontent-%COMP%]   .country-switcher-track[_ngcontent-%COMP%]   .p-button.p-highlight[_ngcontent-%COMP%]   .p-button-label[_ngcontent-%COMP%]{color:var(--color-text-primary-900, #f5f5f6)}.country-page-component[_ngcontent-%COMP%]   .switcher-btn-flag[_ngcontent-%COMP%]{width:1.25rem;height:.875rem;object-fit:cover;border-radius:2px}.country-page-component[_ngcontent-%COMP%]   .entity-logo[_ngcontent-%COMP%]{object-fit:cover}.country-page-component[_ngcontent-%COMP%]   .merchant-name-link[_ngcontent-%COMP%]{color:inherit;transition:color .2s ease}.country-page-component[_ngcontent-%COMP%]   .merchant-name-link[_ngcontent-%COMP%]:hover{color:var(--color-button-tertiary-color-fg, #a48afb)}.country-page-component[_ngcontent-%COMP%]   .stat-icon-clicks[_ngcontent-%COMP%]{color:var(--color-utility-blue-400, #53b1fd)}.country-page-component[_ngcontent-%COMP%]   .stat-card[_ngcontent-%COMP%]{transition:border-color .3s ease,box-shadow .3s ease}.country-page-component[_ngcontent-%COMP%]   .stat-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;height:3px}.country-page-component[_ngcontent-%COMP%]   .stat-card--sales[_ngcontent-%COMP%]{border-color:#7839ee38!important}.country-page-component[_ngcontent-%COMP%]   .stat-card--sales[_ngcontent-%COMP%]:before{background:linear-gradient(90deg,var(--color-button-tertiary-color-fg, #a48afb),rgba(120,57,238,.35))}.country-page-component[_ngcontent-%COMP%]   .stat-card--sales[_ngcontent-%COMP%]:hover{border-color:#7839ee66!important;box-shadow:0 0 40px #7839ee14}.country-page-component[_ngcontent-%COMP%]   .stat-card--clicks[_ngcontent-%COMP%]{border-color:#53b1fd38!important}
17.country-page-component[_ngcontent-%COMP%]   .stat-card--clicks[_ngcontent-%COMP%]:before{background:linear-gradient(90deg,var(--color-utility-blue-400, #53b1fd),rgba(83,177,253,.35))}.country-page-component[_ngcontent-%COMP%]   .stat-card--clicks[_ngcontent-%COMP%]:hover{border-color:#53b1fd66!important;box-shadow:0 0 40px #53b1fd14}.country-page-component[_ngcontent-%COMP%]   .stat-card--cr[_ngcontent-%COMP%]{border-color:#47cd8938!important}.country-page-component[_ngcontent-%COMP%]   .stat-card--cr[_ngcontent-%COMP%]:before{background:linear-gradient(90deg,var(--color-text-success-primary-600),rgba(71,205,137,.35))}.country-page-component[_ngcontent-%COMP%]   .stat-card--cr[_ngcontent-%COMP%]:hover{border-color:#47cd8966!important;box-shadow:0 0 40px #47cd8914}.country-page-component[_ngcontent-%COMP%]   .stat-icon-well[_ngcontent-%COMP%]{width:2.75rem;height:2.75rem;border:1px solid}.country-page-component[_ngcontent-%COMP%]   .stat-icon-well--sales[_ngcontent-%COMP%]{background:#7839ee1f;border-color:#7839ee47}.country-page-component[_ngcontent-%COMP%]   .stat-icon-well--clicks[_ngcontent-%COMP%]{background:#53b1fd1f;border-color:#53b1fd47}.country-page-component[_ngcontent-%COMP%]   .stat-icon-well--cr[_ngcontent-%COMP%]{background:#47cd891a;border-color:#47cd8938}.country-page-component[_ngcontent-%COMP%]   .leaders-panel[_ngcontent-%COMP%]{transition:border-color .3s ease,box-shadow .3s ease}.country-page-component[_ngcontent-%COMP%]   .leaders-panel[_ngcontent-%COMP%]:hover{border-color:#7839ee66!important;box-shadow:0 0 40px #7839ee14}.country-page-component[_ngcontent-%COMP%]   .leaders-table[_ngcontent-%COMP%]{border-collapse:collapse;min-width:36rem}.country-page-component[_ngcontent-%COMP%]   .leaders-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .country-page-component[_ngcontent-%COMP%]   .leaders-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:.65rem .5rem;vertical-align:middle}.country-page-component[_ngcontent-%COMP%]   .leaders-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border-bottom:1px solid var(--Color-border-primary, #333741);white-space:nowrap}.country-page-component[_ngcontent-%COMP%]   .leaders-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--Color-border-secondary, #1f242f)}']});let r=t;return r})();var ga=(r,t)=>t.length!==1?!1:Sn(Hn).hasCountrySlug(t[0].path);var fa=(()=>{let t=class t{constructor(n){this.http=n}getPromotions(){return this.http.get(`${Ke.bucketUrl}/public_promotions_data.json`)}};t.\u0275fac=function(i){return new(i||t)(pe(nt))},t.\u0275prov=Ce({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();function ac(r,t){r&1&&(s(0,"div",7),_(1,"i",8),s(2,"span"),l(3,"Loading merchant profile\u2026"),a()())}function sc(r,t){r&1&&(s(0,"div",9),_(1,"i",10),s(2,"h1"),l(3,"Merchant not found"),a(),s(4,"p"),l(5,"This program is not active or the address is incorrect."),a(),s(6,"a",11),l(7,"Browse active merchants"),a()())}function lc(r,t){if(r&1&&(s(0,"time",18),l(1),a()),r&2){let e=v(2);vt("datetime",e.dataUpdatedAtIso),m(),j(" ",e.getDataUpdatedLabel()," ")}}function cc(r,t){if(r&1&&(l(0),te(1,"date")),r&2){let e=v(2);j(" ",Ft(1,1,e.campaign.activated_at,"MMMM y")," ")}}function dc(r,t){if(r&1&&l(0),r&2){let e=v(2);j(" ",e.notAvailable," ")}}function mc(r,t){if(r&1&&_(0,"img",57),r&2){let e=v(2);S("src",t,_e)("alt",e.getSellingCountryName(e.campaign)+" flag")}}function pc(r,t){if(r&1){let e=he();s(0,"button",61),V("click",function(){J(e);let i=v(3);return Z(i.toggleDescription())}),l(1),_(2,"i",62),a()}if(r&2){let e=v(3);vt("aria-expanded",e.descriptionExpanded),m(),j(" ",e.descriptionExpanded?"Show less":"Read more"," "),m(),le("pi-angle-down",!e.descriptionExpanded)("pi-angle-up",e.descriptionExpanded)}}function uc(r,t){if(r&1&&(s(0,"div",58),_(1,"div",59),F(2,pc,3,6,"button",60),a()),r&2){let e=v(2);m(),le("expanded",e.descriptionExpanded),S("innerHTML",e.campaign.description,Er),m(),W(2,e.campaign.description?2:-1)}}var _a=(r,t)=>t.id;function hc(r,t){if(r&1&&(s(0,"a",77),l(1),a()),r&2){let e=v(2).$implicit;S("href",t,_e),m(),j(" ",e.shopping_event.name," ")}}function gc(r,t){if(r&1&&(s(0,"span",78),l(1),a()),r&2){let e=v(2).$implicit;m(),O(e.shopping_event.name)}}function fc(r,t){if(r&1&&F(0,hc,2,2,"a",76)(1,gc,2,1),r&2){let e=v().$implicit,n=v(4),i;W(0,(i=n.getExternalUrl(e.shopping_event.landing_page_link))?0:1,i)}}function _c(r,t){if(r&1){let e=he();s(0,"div",79)(1,"p",80),l(2),a(),s(3,"button",81),V("click",function(){J(e);let i=v().$implicit,o=v(4);return Z(o.openPromoModal(i.name,i.customer_description))}),l(4," Read more "),_(5,"i",75),a()()}if(r&2){let e=v().$implicit;m(2),O(e.customer_description)}}function yc(r,t){if(r&1){let e=he();s(0,"div",82)(1,"div",83)(2,"span",84),l(3,"Coupon Code:"),a(),s(4,"span",85),l(5),a()(),s(6,"button",86),V("click",function(){J(e);let i=v().$implicit,o=v(4);return Z(o.copyCoupon(i.coupon))}),_(7,"i",87),l(8),a()()}if(r&2){let e=v().$implicit,n=v(4);m(5),O(e.coupon),m(3),j(" ",n.copiedCoupon===e.coupon?"Copied":"Copy Code"," ")}}function bc(r,t){if(r&1){let e=he();s(0,"div",88)(1,"div",89),_(2,"i",90),l(3," Special Description for Marketers "),a(),s(4,"p",91),l(5),a(),s(6,"button",81),V("click",function(){J(e);let i=v().$implicit,o=v(4);return Z(o.openPromoModal(i.name+" - For marketers",i.affiliate_description))}),l(7," Read more "),_(8,"i",75),a()()}if(r&2){let e=v().$implicit;m(5),O(e.affiliate_description)}}function vc(r,t){if(r&1&&(s(0,"li",96),_(1,"i",97),l(2),a()),r&2){let e=t.$implicit;m(2),j(" ",e," ")}}function Cc(r,t){if(r&1&&(s(0,"div",93)(1,"span",94),l(2,"Other benefits:"),a(),s(3,"ul",95),Ie(4,vc,3,1,"li",98,Mr),a()()),r&2){let e=v();
17m(4),Le(e)}}function xc(r,t){r&1&&F(0,Cc,6,0,"div",92),r&2&&W(0,t.length?0:-1)}function Sc(r,t){r&1&&(s(0,"a",99),l(1," Visit Promo Landing Page "),_(2,"i",35),a()),r&2&&S("href",t,_e)}function wc(r,t){if(r&1&&(s(0,"article",66)(1,"div",67)(2,"span",68),_(3,"i",29),l(4),a(),F(5,fc,2,1),a(),s(6,"h3",69),l(7),a(),F(8,_c,6,1,"div",70)(9,yc,9,2,"div",71)(10,bc,9,1,"div",72)(11,xc,1,1),s(12,"div",73),F(13,Sc,3,1,"a",74),s(14,"a",32),l(15," Promote Deal "),_(16,"i",75),a()()()),r&2){let e=t.$implicit,n=v(4),i;m(4),Dt(" ",n.formatPromotionDate(e.promotion_start)," \u2013 ",n.formatPromotionDate(e.promotion_end)," "),m(),W(5,e.shopping_event?5:-1),m(2),O(e.name),m(),W(8,e.customer_description?8:-1),m(),W(9,e.coupon?9:-1),m(),W(10,e.affiliate_description?10:-1),m(),W(11,(i=n.getPromotionBenefits(e.benefits))?11:-1,i),m(2),W(13,(i=n.getExternalUrl(e.landing_page_link))?13:-1,i),m(),S("href",e.program_url||n.campaign.program_url,_e)}}function Ec(r,t){if(r&1&&(s(0,"p",64),l(1," Active promotions and seasonal campaigns communicated by "),s(2,"strong"),l(3),a(),l(4,". Deep-link directly into these campaigns to maximize conversion rate: "),a(),s(5,"div",65),Ie(6,wc,17,10,"article",100,_a),a()),r&2){let e=v(3);m(3),O(e.campaign.name),m(3),Le(e.promotions)}}function Pc(r,t){if(r&1&&(s(0,"div",101)(1,"div",102),_(2,"i",53),a(),s(3,"h3"),l(4,"This Affiliate Program has not communicated any active promotions"),a(),s(5,"p"),l(6," This merchant hasn't published any dedicated seasonal campaigns or voucher codes right now, but all standard commissions and tracking links remain 100% active across their entire catalog. "),a(),s(7,"a",32),l(8," View profile "),_(9,"i",75),a()()),r&2){let e=v(3);m(7),S("href",e.campaign.program_url,_e)}}function Mc(r,t){if(r&1&&(s(0,"div",63),F(1,Ec,8,1)(2,Pc,10,1),a()),r&2){let e=v(2);m(),W(1,e.promotions.length?1:2)}}var Oc=r=>["/active-merchants",r];function Tc(r,t){if(r&1){let e=he();s(0,"a",108)(1,"div",109)(2,"img",110),V("error",function(i){J(e);let o=v(3);return Z(o.onImageError(i))}),a()(),s(3,"span"),l(4),a()()}if(r&2){let e=t.$implicit,n=v(3);S("routerLink",pt(4,Oc,n.getCampaignSlug(e))),m(2),S("src",e.logo_path,_e)("alt",e.name+" logo"),m(2),O(e.name)}}function kc(r,t){if(r&1&&(s(0,"section",103)(1,"div",104)(2,"h2",105),_(3,"i",106),l(4),a(),s(5,"p"),l(6,"Explore other active merchants in this category on Business League."),a()(),s(7,"div",107),Ie(8,Tc,5,6,"a",111,_a),a()()),r&2){let e=v(2);m(4),j(" Other programs in ",e.campaign.category.name," "),m(4),Le(e.relatedCampaigns)}}var Ac=r=>({category:r});function Ic(r,t){if(r&1){let e=he();s(0,"nav",12)(1,"a",13),l(2,"Home"),a(),_(3,"i",14),s(4,"a",15),l(5,"Active merchants"),a(),_(6,"i",14),s(7,"a",16),l(8),a(),_(9,"i",14),s(10,"span"),l(11),a()(),s(12,"p",17),l(13," Official data updated for Business League: "),F(14,lc,2,2,"time",18),a(),s(15,"section",19)(16,"div",20)(17,"div",21)(18,"img",22),V("error",function(i){J(e);let o=v();return Z(o.onImageError(i))}),a()(),s(19,"div",23)(20,"div",24)(21,"h1",25),l(22),a(),s(23,"span",26),_(24,"span"),l(25),te(26,"titlecase"),a(),s(27,"span",27),l(28),a()(),s(29,"div",28)(30,"span"),_(31,"i",29),l(32," Launched "),F(33,cc,2,4)(34,dc,1,1),a(),s(35,"span"),l(36," Main selling country: "),F(37,mc,1,2,"img",30),l(38),a()()()(),s(39,"div",31)(40,"a",32),l(41," Promote program "),_(42,"i",33),a(),s(43,"a",34),l(44," Visit store "),_(45,"i",35),a()()(),s(46,"section",36)(47,"article",37)(48,"div",38),l(49," EPC100 "),_(50,"i",39),a(),s(51,"div",40),l(52),a(),s(53,"div",41),l(54,"Avg. earnings per 100 clicks"),a()(),s(55,"article",37)(56,"div",38),l(57,"Commission per sale"),a(),s(58,"div",40),l(59),a(),s(60,"div",41),l(61),a()(),s(62,"article",37)(63,"div",38),l(64,"Cookie life"),a(),s(65,"div",40),l(66),a(),s(67,"div",41),l(68,"Tracking cookie lifespan"),a()(),s(69,"article",37)(70,"div",38),l(71),a(),s(72,"div",40),l(73),a(),s(74,"div",41),l(75),a()()(),s(76,"div",42)(77,"aside",43)(78,"h2",44),_(79,"i",45),l(80," Other program data "),a(),s(81,"div",46)(82,"div",47)(83,"span"),l(84,"Prepaid / Postpaid"),a(),s(85,"strong"),l(86),a()(),s(87,"div",47)(88,"span"),l(89),a(),s(90,"strong"),l(91),a()(),s(92,"div",47)(93,"span"),l(94),a(),s(95,"strong"),l(96),a()(),s(97,"div",47)(98,"span"),l(99),a(),s(100,"strong"),l(101),a()(),s(102,"div",47)(103,"span"),l(104,"Oldest pe
17nding commission"),a(),s(105,"strong"),l(106),a()(),s(107,"div",47)(108,"span"),l(109,"Approval rate by number"),a(),s(110,"strong"),l(111),a()(),s(112,"div",47)(113,"span"),l(114,"Approval rate by value"),a(),s(115,"strong"),l(116),a()(),s(117,"div",47)(118,"span"),l(119,"Team size"),a(),s(120,"strong"),l(121),a()(),s(122,"div",47)(123,"span"),l(124,"Team performers"),a(),s(125,"strong"),l(126),a()(),s(127,"div",47)(128,"span"),l(129,"Team efficiency"),a(),s(130,"strong"),l(131),a()()(),s(132,"a",48),l(133," Apply to program "),_(134,"i",33),a()(),s(135,"section",49)(136,"div",50)(137,"button",51),V("click",function(){J(e);let i=v();return Z(i.setActiveTab("description"))}),_(138,"i",52),l(139," Description "),a(),s(140,"button",51),V("click",function(){J(e);let i=v();return Z(i.setActiveTab("promotions"))}),_(141,"i",53),l(142," Active promotions "),s(143,"span",54),l(144),a()()(),F(145,uc,3,4,"div",55)(146,Mc,3,1),a()(),F(147,kc,10,1,"section",56)}if(r&2){let e=v(),n;m(7),S("queryParams",pt(72,Ac,e.campaign.category.name)),m(),j(" ",e.campaign.category.name," "),m(3),O(e.campaign.name),m(3),W(14,e.dataUpdatedAtIso?14:-1),m(4),S("src",e.campaign.logo_path,_e)("alt",e.campaign.name+" logo"),m(4),O(e.campaign.name),m(3),j(" ",ue(26,70,e.campaign.status)," program"),m(3),O(e.getCategoryDisplay(e.campaign)),m(5),W(33,e.campaign.activated_at?33:34),m(4),W(37,(n=e.getSellingCountryFlagSrc(e.campaign))?37:-1,n),m(),j(" ",e.getSellingCountryName(e.campaign)," "),m(2),S("href",e.campaign.program_url,_e),m(3),S("href",e.campaign.main_url,_e),m(9),O(e.getEpc100(e.campaign)),m(7),O(e.getCommissionText(e.campaign)),m(2),j("Default commission: ",e.getDefaultCommissionRate(e.campaign),""),m(5),O(e.getCookieLife(e.campaign)),m(5),O(e.getRoundStatsLabel("Sales")),m(2),O(e.getSalesCurrentRound(e.campaign)),m(2),O(e.getCurrentRoundCaption()),m(10),le("not-available",e.getPaymentType(e.campaign)===e.notAvailable),m(),j(" ",e.getPaymentType(e.campaign)," "),m(3),O(e.getRoundStatsLabel("Sales")),m(),le("not-available",e.getSalesCurrentRound(e.campaign)===e.notAvailable),m(),j(" ",e.getSalesCurrentRound(e.campaign)," "),m(3),O(e.getRoundStatsLabel("Clicks")),m(),le("not-available",e.getClicksCurrentRound(e.campaign)===e.notAvailable),m(),j(" ",e.getClicksCurrentRound(e.campaign)," "),m(3),O(e.getRoundStatsLabel("CR")),m(),le("not-available",e.getConversionRateCurrentRound(e.campaign)===e.notAvailable),m(),j(" ",e.getConversionRateCurrentRound(e.campaign)," "),m(4),le("not-available",e.getOldestPendingCommission(e.campaign)===e.notAvailable),m(),j(" ",e.getOldestPendingCommission(e.campaign)," "),m(4),le("success-value",e.getApprovalRateByNumber(e.campaign)!==e.notAvailable)("not-available",e.getApprovalRateByNumber(e.campaign)===e.notAvailable),m(),j(" ",e.getApprovalRateByNumber(e.campaign)," "),m(4),le("success-value",e.getApprovalRateByValue(e.campaign)!==e.notAvailable)("not-available",e.getApprovalRateByValue(e.campaign)===e.notAvailable),m(),j(" ",e.getApprovalRateByValue(e.campaign)," "),m(4),le("not-available",e.getTeamSize(e.campaign)===e.notAvailable),m(),j(" ",e.getTeamSize(e.campaign)," "),m(4),le("not-available",e.getTeamPerformers(e.campaign)===e.notAvailable),m(),j(" ",e.getTeamPerformers(e.campaign)," "),m(4),le("brand-value",e.getTeamEfficiency(e.campaign)!==e.notAvailable)("not-available",e.getTeamEfficiency(e.campaign)===e.notAvailable),m(),j(" ",e.getTeamEfficiency(e.campaign)," "),m(),S("href",e.campaign.program_url,_e),m(5),le("active",e.activeTab==="description"),vt("aria-selected",e.activeTab==="description"),m(3),le("active",e.activeTab==="promotions"),vt("aria-selected",e.activeTab==="promotions"),m(4),O(e.promotions.length),m(),W(145,e.activeTab==="description"?145:146),m(2),W(147,e.relatedCampaigns.length?147:-1)}}function Lc(r,t){if(r&1){let e=he();s(0,"div",112)(1,"span",113),l(2),a(),s(3,"p-button",114),V("click",function(){J(e);let i=v();return Z(i.promoModalVisible=!1)}),a()()}if(r&2){let e=v();m(2),O(e.promoModalTitle)}}function Rc(r,t){if(r&1){let e=he();s(0,"div",115)(1,"p-button",116),V("click",function(){J(e);let i=v();return Z(i.promoModalVisible=!1)}),a()()}r&2&&(m(),S("plain",!0))}var Dc=()=>({width:"36rem"}),Fc=()=>({"768px":"95vw"}),ya=(()=>{let t=class t{constructor(n,i,o,c,d){this.route=n,this.activeMerchantsService=i,this.promotionService=o,this.amplitudeService=c,this.metaService=d,this.notAvailable=t.NOT_AVAILABLE,this.unsubscribe$=new qe,this.campaign=null,this.relatedCampaigns=[],this.currentRound=null,this.pastRound=null,this.dataUpdatedAtIso=null,this.loading=!0,this.notFound=!1,this.activeTab="description",this.descriptionExpanded=!1,this.copiedCoupon="",this.promotions=[],this.promoModalVisible=!1,this.promoModalTitle="",this.promoModalBody=""}ngOnInit(){this.route.paramMap.pipe(Oe(this.unsubscribe$)).subscribe(n=>this.loadMerchant(n.get("campaign_slug")??""))}ngOnDestroy(){this.clearPageSeo(),this.unsubscribe$.next(),this.unsubscribe$.complete()}setActiveTab(n){this.activeTab=n}toggleDescription(){this.descriptionExpanded=!this.descriptionExpanded}getCampaignSlug(n){return hi(n)}getCommissionText(n){return n.default_sale_commission_type==="percent"?this.formatPercent(n.default_sale_commission_rate):"Variable"}getDefaultCommissionRate(n){return this.formatPercent(n.default_sale_commission_rate)}getCookieLife(n){let i=this.formatNumber(n.cookie_life);return i===t.NOT_AVAILABLE?i:`${i} days`}
17getEpc100(n){let i=Number.parseFloat(String(n.current_round?.epc??""));return Number.isFinite(i)?`${this.formatNumber(i,2)} \u20AC`:t.NOT_AVAILABLE}isRoundInProgress(){return!!this.currentRound}getDisplayedRound(){return this.currentRound??this.pastRound}getSellingCountryName(n){return n.main_selling_country?.name||n.selling_countries?.[0]?.name||"International"}getSellingCountryFlagSrc(n){let i=n.main_selling_country||n.selling_countries?.[0];return Kn(i?.code||Pi(i?.name))}getCategoryDisplay(n){let i=n.subcategory?.name?.trim();return!i||i.toLowerCase()==="default"?n.category?.name:`${n.category.name} \xB7 ${i}`}getSalesCurrentRound(n){return this.formatNumber(n.current_round?.sales)}getCurrentRoundCaption(){let n=this.formatRoundRange(this.getDisplayedRound());return this.isRoundInProgress()?n?`Round in progress: ${n}`:"Round in progress":n?`Last finished round: ${n}`:"Last finished round"}getRoundStatsLabel(n){return this.isRoundInProgress()?`${n} current round`:`${n} last finished round`}formatRoundRange(n){return!n?.start_date||!n?.end_date?null:`${this.formatShortDate(new Date(n.start_date))} \u2013 ${this.formatShortDate(new Date(n.end_date))}`}getClicksCurrentRound(n){return this.formatNumber(n.current_round?.clicks)}getConversionRateCurrentRound(n){let i=n.current_round;if(i?.conversion_rate!==null&&i?.conversion_rate!==void 0)return this.formatPercent(i.conversion_rate*100);let o=i?.sales,c=i?.clicks;return!c||!Number.isFinite(o)?t.NOT_AVAILABLE:this.formatPercent(o/c*100)}getOldestPendingCommission(n){let i=this.formatNumber(n.oldest_pending_commission_days);return i===t.NOT_AVAILABLE?i:`${i} days`}getTeamSize(n){let i=this.formatNumber(n.current_round?.team_size);return i===t.NOT_AVAILABLE?i:`${i} members`}getTeamPerformers(n){let i=this.formatNumber(n.current_round?.team_performers);return i===t.NOT_AVAILABLE?i:`${i} top performers`}getTeamEfficiency(n){return this.formatPercent(n.current_round?.team_efficiency)}getPaymentType(n){return n.payment_type?this.capitalize(n.payment_type):t.NOT_AVAILABLE}getDataUpdatedLabel(){return this.dataUpdatedAtIso?this.formatShortDate(new Date(this.dataUpdatedAtIso)):t.NOT_AVAILABLE}getApprovalRateByNumber(n){return this.formatPercent(n.ranking?.approved_commission_count_rate)}getApprovalRateByValue(n){return this.formatPercent(n.ranking?.approved_commission_amount_rate)}formatNumber(n,i=0){let o=typeof n=="string"?Number.parseFloat(n):n;return o==null||!Number.isFinite(o)?t.NOT_AVAILABLE:o.toLocaleString("en-US",{minimumFractionDigits:i,maximumFractionDigits:2})}formatPercent(n){let i=this.formatNumber(n,2);return i===t.NOT_AVAILABLE?i:`${i}%`}capitalize(n){return n.charAt(0).toUpperCase()+n.slice(1)}formatPromotionDate(n){return this.formatShortDate(new Date(n))}getPromotionBenefits(n){return[["affiliate_challenge","Marketer challenges with special prizes"],["banners","Custom promotional banners for marketers"],["affiliate_bonus","Bonus rewards for top-performing marketers"],["product_feeds","Exclusive product feeds"]].filter(([o])=>n[o]===!0).map(([,o])=>o)}getExternalUrl(n){return n?/^https?:\/\//i.test(n)?n:`https://${n}`:null}openPromoModal(n,i){this.promoModalTitle=n,this.promoModalBody=i,this.promoModalVisible=!0}copyCoupon(n){navigator.clipboard&&navigator.clipboard.writeText(n).then(()=>{this.copiedCoupon=n,window.setTimeout(()=>this.copiedCoupon="",1800)})}onImageError(n){n.target.src="assets/images/placeholder-logo.svg"}applyProgramPageSeo(n){let i=this.getCampaignSlug(n),o=`${t.SITE_ORIGIN}/active-merchants/${i}`,c=this.buildProgramTitle(n),d=this.buildProgramDescription(n);this.metaService.updateMetaTags(d,c),this.metaService.updateLinkForCanonicalURL(o),this.metaService.updateOgUrl(o),this.metaService.updateRobots(t.INDEXABLE_ROBOTS),this.metaService.setJsonLd(t.JSON_LD_ID,this.buildProgramJsonLd(n,o,this.dataUpdatedAtIso))}applyMissingProgramSeo(){this.metaService.updateMetaTags("This program is not active or the address is incorrect.","Merchant not found | Business League"),this.metaService.updateRobots("noindex, follow"),this.metaService.removeJsonLd(t.JSON_LD_ID)}clearPageSeo(){this.metaService.updateRobots(null),this.metaService.removeJsonLd(t.JSON_LD_ID)}buildProgramTitle(n){let i=this.getCommissionText(n),o=i==="Variable"?"Variable commission":`Commission ${i}`,c=this.getEpc100(n),d=c===t.NOT_AVAILABLE?o:`${o}, EPC100 ${c}`;return`Affiliate Program ${n.name}: ${d} | Business League`}buildProgramDescription(n){let i=n.category?.name,o=i?`Join the ${n.name} (${i}) affiliate program on Business League.`:`Join the ${n.name} affiliate program on Business League.`,c=[],d=this.getCommissionText(n);c.push(d==="Variable"?"Variable commission per sale":`${d} commission per sale`);let p=this.formatNumber(n.cookie_life);p!==t.NOT_AVAILABLE&&c.push(`${p}-day cookie`);let u=this.getEpc100(n);return u!==t.NOT_AVAILABLE&&c.push(`average EPC100 of ${u}`),n.payment_type&&c.push(`${n.payment_type} payment`),`${o} ${c.join(", ")}. Apply now!`}buildProgramJsonLd(n,i,o){let c=n.category?.name,d=c?`${t.SITE_ORIGIN}/active-merchants?category=${encodeURIComponent(c)}`:`${t.SITE_ORIGIN}/active-merchants`,p=this.getCommissionText(n),u=Number.parseFloat(String(n.default_sale_commission_rate??"")),b=n.main_selling_country||n.selling_countries?.[0],x=b?.code||Pi(b?.name),B={"@type":"Offer",name:"Commission per approved sale",description:p==="Variable"?"Variable commission per approved sale":`${p} commission per approved sale`};n.default_sale_commission_type==="percent"&&Number.isFinite(u)&&(B.additionalProperty={"@type":"PropertyValue",name:"Commission rate",value:u,unitText:"PERCENT"});let L={"@type":"Service","@id":`${i}#program`,name:`${n.name} Affiliate Program`,url:i,provider:{"@type":"Organization",name:n.name,url:this.getExternalUrl(n.main_url)??n.main_url},category:"Affiliate Marketing",offers:B};(b?.name||x)&&(L.areaServed=$e({"@type":"Country",name:b?.name||x?.toUpperCase()},x?{identifier:x.toUpperCase()}:{})),o&&(L.dateModified=o);let k=[{"@type":"ListItem",position:1,name:"Business League",item:`${t.SITE_ORIGIN}/`},{"@type":"ListItem",position:2,name:"Active Merchants",item:`${t.SITE_ORIGIN}/active-merchants`}];return c&&k.push({"@type":"ListItem",position:3,name:c,item:d}),k.push({"@type":"ListItem",position:k.length+1,name:n.name,item:i}),{"@context":"https://schema.org","@graph":[{"@type":"BreadcrumbList",itemListElement:k},L]}}trackProgramPageView(n){this.amplitudeService.trackEvent(ve.VIEWED_PROGRAM_PAGE,{merchant_name:n.name,merchant_slug:this.getCampaignSlug(n),category:n.category?.name})}loadMerchant(n){this.loading=!0,this.notFound=!1,Cn([this.activeMerchantsService.getActiveMerchants(),this.promotionService.getPromotions()]).pipe(Oe(this.unsubscribe$)).subscribe({next:([i,o])=>{let c=decodeURIComponent(n).toLowerCase();this.campaign=i.campaigns.find(d=>this.getCampaignSlug(d).toLowerCase()===c||d.unique_code?.toLowerCase()===c)??null,this.currentRound=i.current_roun
17d??null,this.pastRound=i.past_round??null,this.dataUpdatedAtIso=this.getLastOfficialDataPublishAt().toISOString(),this.notFound=!this.campaign,this.relatedCampaigns=this.campaign?i.campaigns.filter(d=>d.id!==this.campaign?.id&&d.category.name===this.campaign?.category.name).slice(0,10):[],this.promotions=this.campaign?o.promotions.filter(d=>d.campaign_id===this.campaign?.id).sort((d,p)=>new Date(d.promotion_end).getTime()-new Date(p.promotion_end).getTime()):[],this.loading=!1,this.campaign?(this.applyProgramPageSeo(this.campaign),this.trackProgramPageView(this.campaign)):this.applyMissingProgramSeo()},error:()=>{this.loading=!1,this.notFound=!0,this.dataUpdatedAtIso=null,this.applyMissingProgramSeo()}})}getLastOfficialDataPublishAt(n=new Date){let i=new Date(n);return i.setUTCHours(t.DATA_CRON_HOUR_UTC,t.DATA_CRON_MINUTE_UTC,0,0),n.getTime()<i.getTime()&&i.setUTCDate(i.getUTCDate()-1),i}formatShortDate(n){return new Intl.DateTimeFormat("en-GB",{day:"2-digit",month:"short",year:"numeric"}).format(n)}};t.NOT_AVAILABLE="N/A",t.SITE_ORIGIN="https://businessleague.com",t.JSON_LD_ID="merchant-profile-jsonld",t.INDEXABLE_ROBOTS="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1",t.DATA_CRON_HOUR_UTC=9,t.DATA_CRON_MINUTE_UTC=30,t.\u0275fac=function(i){return new(i||t)(N(rt),N(nn),N(fa),N(je),N(Qt))},t.\u0275cmp=me({type:t,selectors:[["app-merchant-profile"]],standalone:!0,features:[Te],decls:11,vars:12,consts:[[1,"merchant-profile-page"],[1,"app-max-w","px-2","sm:px-3","md:px-7","py-5","profile-shell"],["class","profile-state"],["styleClass","promo-read-more-dialog",3,"visible","modal","draggable","dismissableMask","closable","breakpoints","visibleChange"],["pTemplate","header"],[1,"promo-modal-body"],["pTemplate","footer"],[1,"profile-state"],[1,"pi","pi-spin","pi-spinner"],[1,"profile-state","profile-state-card"],[1,"pi","pi-search"],["routerLink","/active-merchants",1,"button","button-primary"],["aria-label","Breadcrumb",1,"breadcrumbs-bar","text-sm-regular"],["routerLink","/"],["aria-hidden","true",1,"pi","pi-angle-right"],["routerLink","/active-merchants"],["routerLink","/active-merchants",3,"queryParams"],[1,"program-freshness","text-sm-regular","m-0"],["itemprop","dateModified"],[1,"program-hero"],[1,"hero-program"],[1,"program-logo-box"],["width","82","height","82",3,"src","alt","error"],[1,"program-headline"],[1,"program-title-row"],[1,"display-xs-semibold","md:display-sm-semibold","m-0"],[1,"status-badge"],[1,"category-badge"],[1,"program-subline","text-sm-regular"],[1,"pi","pi-calendar"],["class","selling-country-flag","width","20","height","14",3,"src","alt"],[1,"hero-actions"],["target","_blank","rel","noopener noreferrer",1,"button","button-primary",3,"href"],[1,"pi","pi-arrow-right"],["target","_blank","rel","nofollow noopener noreferrer",1,"button","button-secondary",3,"href"],[1,"pi","pi-external-link"],["aria-label","Program statistics",1,"stats-grid"],[1,"stat-card"],[1,"stat-label"],["pTooltip","EPC100 (Earnings Per 100 Clicks): Average affiliate commission earned for every 100 clicks sent to this merchant in Business League.","tooltipPosition","top",1,"pi","pi-info-circle"],[1,"stat-value"],[1,"stat-caption"],[1,"program-content-grid"],[1,"program-sidebar-box"],[1,"section-title","text-md-semibold"],[1,"pi","pi-list"],[1,"sidebar-details-list"],[1,"sidebar-detail-row"],["target","_blank","rel","noopener noreferrer",1,"button","button-primary","sidebar-apply",3,"href"],[1,"main-tabbed-card"],["role","tablist",1,"section-toggles-bar"],["type","button","role","tab",1,"toggle-btn",3,"click"],[1,"pi","pi-file"],[1,"pi","pi-tag"],[1,"offer-count"],["class","tab-pane description-pane"],["class","category-programs-section"],["width","20","height","14",1,"selling-country-flag",3,"src","alt"],[1,"tab-pane","description-pane"],[1,"description-content",3,"innerHTML"],["type","button","class","read-more-button"],["type","button",1,"read-more-button",3,"click"],[1,"pi"],[1,"tab-pane","offers-pane"],[1,"offers-lead","mt-0","mb-4"],[1,"offers-grid","flex","flex-column","gap-4"],[1,"promo-card","flex","flex-column","gap-3","p-4"],[1,"promo-meta-row","flex","align-items-center","flex-wrap","gap-2"],[1,"promo-date","flex","align-items-center","gap-1"],[1,"promo-title"],["class","promo-text-wrap flex flex-column align-items-start gap-1"],["class","coupon-box flex align-items-center justify-content-between gap-3 p-3"],["class","promo-marketer-box flex flex-column align-items-start gap-2 p-3"],[1,"promo-actions","flex","align-items-center","justify-content-between","flex-wrap","gap-3"],["target","_blank","rel","noopener noreferrer","class","button button-secondary",3,"href"],[1,"pi","pi-arrow-up-right"],["class","promo-event flex align-items-center gap-1","target","_blank","rel","noopener noreferrer",3,"href"],["target","_blank","rel","noopener noreferrer",1,"promo-event","flex","align-items-center","gap-1",3,"href"],[1,"promo-event","flex","align-items-center","gap-1"],[1,"promo-text-wrap","flex","flex-column","align-items-start","gap-1"],[1,"promo-clamped"],["type","button",1,"btn-read-more-link",3,"click"],[1,"coupon-box","flex","align-items-center","justify-content-between","gap-3","p-3"],[1,"coupon-info-wrap","flex","flex-wrap","align-items-center","gap-2"],[1,"coupon-label","uppercase"],[1,"coupon-code-value"],["type","button",1,"btn-copy-coupon","flex","align-items-center","gap-1",3,"click"],[1,"pi","pi-copy"],[1,"promo-marketer-box","flex","flex-column","align-items-start","gap-2","p-3"],[1,"promo-marketer-header","uppercase","flex","align-items-center","gap-2"],[1,"pi","pi-info-circle"],[1,"promo-marketer-text","promo-clamped"],["class","promo-benefits-box p-3"],[1,"promo-benefits-box","p-3"],[1,"promo-benefits-title","uppercase"],[1,"benefits-list","flex","flex-column","gap-1","mt-2","mb-0","p-0"],[1,"flex","align-items-start","gap-1"],[1,"pi","pi-check"],["class","flex align-items-start gap-1"],["target","_blank","rel","noopener noreferrer",1,"button","button-secondary",3,"href"],["class","promo-card flex flex-column gap-3 p-4"],[1,"empty-promotions-box"],[1,"empty-icon"],[1,"category-programs-section"],[1,"category-programs-header"],[1,"display-xs-semibold","m-0"],[1,"pi","pi-th-large"],[1,"other-merchants-grid"],[1,"other-merchant-card",3,"routerLink"],[1,"other-merchant-logo"],["loading","lazy",3,"src","alt","error"],["class","other-merchant-card",3,"routerLink"],[1,"promo-modal-header","flex","align-items-center","justify-content-between","gap-3","w-full"],[1,"promo-modal-title"],["severity","secondary","styleClass","border-none","icon","pi pi-times","ariaLabel","Close",3,"click"],[1,"promo-modal-footer","flex","justify-content-end","w-full"],["label","Close","severity","secondary",3,"plain","click"]],template:function(i,o){i&1&&(s(0,"div",0)(1,"div",1),F(2,ac,4,0,"div",2)(3,sc,8,0)(4,Ic,148,74),a(),s(5,"p-dialog",3),et("visibleChange",function(d){return Xe(o.promoModalVisible,d)||(o.promoModalVisible=d),d}),F(6,Lc,4,1,"ng-template",4),s(7,"p",5),l(8),a(),F(9,Rc,2,1,"ng-template",6),a(),_(10,"app-background-scene"),a()),i&2&&(m(2),W(2,o.loading?2:o.notFound||!o.campaign?3:4),m(3),Mn(mt(10,Dc)),Ze("visible",o.promoModalVisible),S("modal",!0)("draggable",!1)("dismissableMask",!0)("closable",!1)("breakpoints",mt(11,Fc)),m(3),O(o.promoModalBody))},dependencies:[tt,Rr,Vt,Ve,De,Bn,Gt,qr,Vn,$t,Fn,Wt],styles:['[_nghost-%COMP%]{display:block}.merchant-profile-page[_ngcontent-%COMP%]{position:relative;min-height:100vh;overflow:hidden;color:var(--color-text-primary-900, #f5f5f6)}.merchant-profile-page[_ngcontent-%COMP%]   .profile-shell[_ngcontent-%COMP%]{position:relative;z-index:1}
17.breadcrumbs-bar[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap;gap:var(--spacing-sm, .5rem);margin-bottom:var(--spacing-md, 1rem);color:var(--color-text-tertiary-600, #94969c)}.breadcrumbs-bar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--color-text-secondary-700, #cecfd2);text-decoration:none}.breadcrumbs-bar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:var(--color-text-brand-secondary-700, #bdb4fe)}.breadcrumbs-bar[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.75rem}.program-hero[_ngcontent-%COMP%], .stat-card[_ngcontent-%COMP%], .program-sidebar-box[_ngcontent-%COMP%], .main-tabbed-card[_ngcontent-%COMP%], .category-programs-section[_ngcontent-%COMP%], .profile-state-card[_ngcontent-%COMP%]{border:1px solid var(--color-border-primary, #333741);background:#161b26ed;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.program-hero[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-xl, 2rem);padding:var(--spacing-xl, 2rem);border-radius:var(--radius-xl, .75rem)}.hero-program[_ngcontent-%COMP%], .program-title-row[_ngcontent-%COMP%], .program-subline[_ngcontent-%COMP%], .hero-actions[_ngcontent-%COMP%], .promo-meta-row[_ngcontent-%COMP%], .promo-actions[_ngcontent-%COMP%]{display:flex;align-items:center}.hero-program[_ngcontent-%COMP%]{gap:var(--spacing-lg, 1.5rem);min-width:0}.program-logo-box[_ngcontent-%COMP%]{display:grid;place-items:center;width:6.5rem;height:6.5rem;flex:0 0 6.5rem;padding:var(--spacing-md, 1rem);border:1px solid var(--color-border-primary, #333741);border-radius:var(--radius-xl, .75rem);background:#fff}.program-logo-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain}.program-headline[_ngcontent-%COMP%]{min-width:0}.program-title-row[_ngcontent-%COMP%]{flex-wrap:wrap;gap:var(--spacing-sm, .5rem)}.program-title-row[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{overflow-wrap:anywhere}.status-badge[_ngcontent-%COMP%], .category-badge[_ngcontent-%COMP%], .promo-date[_ngcontent-%COMP%], .promo-event[_ngcontent-%COMP%]{display:inline-flex;align-items:center;width:fit-content;border-radius:999px;font-size:.75rem;font-weight:600;line-height:1}.status-badge[_ngcontent-%COMP%]{gap:.375rem;padding:.25rem .625rem;color:var(--color-text-success-primary-600, #75e0a7);background:#12b76a26;border:1px solid rgba(18,183,106,.3)}.status-badge[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:.375rem;height:.375rem;border-radius:50%;background:currentColor}.category-badge[_ngcontent-%COMP%]{padding:.25rem .625rem;color:var(--colors-violet-200, #d6bbfb);background:#7f56d926;border:1px solid rgba(127,86,217,.3)}.program-subline[_ngcontent-%COMP%]{flex-wrap:wrap;gap:var(--spacing-lg, 1.5rem);margin-top:var(--spacing-md, 1rem);color:var(--color-text-tertiary-600, #94969c)}.program-subline[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--spacing-xs, .375rem)}.program-subline[_ngcontent-%COMP%]   .selling-country-flag[_ngcontent-%COMP%]{width:1.25rem;height:.875rem;border-radius:2px;object-fit:cover;flex-shrink:0}.program-freshness[_ngcontent-%COMP%]{margin-bottom:var(--spacing-lg, 1.5rem);color:var(--color-text-tertiary-600, #94969c)}.hero-actions[_ngcontent-%COMP%]{flex-wrap:wrap;gap:var(--spacing-sm, .5rem)}.button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:var(--spacing-sm, .5rem);min-height:2.75rem;padding:.75rem 1rem;border:1px solid transparent;border-radius:var(--radius-md, .5rem);font-weight:600;text-decoration:none;transition:.2s ease}.button[_ngcontent-%COMP%]:hover{transform:translateY(-1px)}.button-primary[_ngcontent-%COMP%]{color:var(--color-text-white, #fff);background:var(--color-bg-brand-solid, #7f56d9);border-color:var(--color-border-brand-solid, #7f56d9)}.button-primary[_ngcontent-%COMP%]:hover{background:var(--color-bg-brand-secondary, #7839ee)}.button-secondary[_ngcontent-%COMP%]{color:var(--color-text-primary-900, #f5f5f6);background:var(--color-bg-primary, #0c111d);border-color:var(--color-border-primary, #333741)}.button-secondary[_ngcontent-%COMP%]:hover{border-color:var(--color-border-brand, #a48afb)}.stats-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--spacing-md, 1rem);margin:var(--spacing-lg, 1.5rem) 0}.stat-card[_ngcontent-%COMP%]{padding:var(--spacing-lg, 1.5rem);border-radius:var(--radius-xl, .75rem)}.stat-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacing-xs, .375rem);min-height:1.25rem;color:var(--color-text-tertiary-600, #94969c);font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.stat-value[_ngcontent-%COMP%]{margin:var(--spacing-sm, .5rem) 0 .25rem;font-size:1.5rem;font-weight:700;overflow-wrap:anywhere}.stat-caption[_ngcontent-%COMP%]{color:var(--color-text-tertiary-600, #94969c);font-size:.75rem}.program-content-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(17rem,.32fr) minmax(0,1fr);align-items:start;gap:var(--spacing-lg, 1.5rem)}.program-sidebar-box[_ngcontent-%COMP%], .main-tabbed-card[_ngcontent-%COMP%], .category-programs-section[_ngcontent-%COMP%]{border-radius:var(--radius-xl, .75rem)}.program-sidebar-box[_ngcontent-%COMP%]{padding:var(--spacing-lg, 1.5rem)}.section-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacing-sm, .5rem);margin:0 0 var(--spacing-md, 1rem)}.sidebar-details-list[_ngcontent-%COMP%]{border-top:1px solid var(--color-border-primary, #333741)}.sidebar-detail-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-md, 1rem);padding:.875rem 0;border-bottom:1px solid var(--color-border-primary, #333741);font-size:.8125rem}.sidebar-detail-row[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--color-text-tertiary-600, #94969c)}.sidebar-detail-row[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{text-align:right}.not-available[_ngcontent-%COMP%]{color:var(--color-text-tertiary-600, #94969c);font-weight:500}.brand-value[_ngcontent-%COMP%]{color:var(--color-text-brand-secondary-700, #bdb4fe)}.success-value[_ngcontent-%COMP%]{color:var(--color-text-success-primary-600, #75e0a7)}.sidebar-apply[_ngcontent-%COMP%]{width:100%;margin-top:var(--spacing-lg, 1.5rem)}.main-tabbed-card[_ngcontent-%COMP%]{min-width:0;overflow:hidden}
17.section-toggles-bar[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;gap:var(--spacing-xs, .375rem);padding:var(--spacing-sm, .5rem);border-bottom:1px solid var(--color-border-primary, #333741);background:var(--color-bg-primary, #0c111d)}.toggle-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:var(--spacing-sm, .5rem);min-width:0;min-height:2.75rem;padding:.625rem 1rem;white-space:nowrap;border:0;border-radius:var(--radius-md, .5rem);color:var(--color-text-tertiary-600, #94969c);background:transparent;cursor:pointer;font-weight:600}.toggle-btn.active[_ngcontent-%COMP%]{color:var(--color-text-primary-900, #f5f5f6);background:var(--color-bg-secondary, #161b26);box-shadow:var(--shadow-xs)}.offer-count[_ngcontent-%COMP%]{display:grid;place-items:center;min-width:1.25rem;height:1.25rem;padding:0 .25rem;border-radius:999px;color:var(--color-text-brand-secondary-700, #bdb4fe);background:var(--color-utility-violet-50, #2d1f55);font-size:.6875rem}.tab-pane[_ngcontent-%COMP%]{padding:var(--spacing-xl, 2rem)}.description-content[_ngcontent-%COMP%]{position:relative;max-height:24rem;overflow:hidden;color:var(--color-text-secondary-700, #cecfd2);line-height:1.7}.description-content[_ngcontent-%COMP%]:not(.expanded):after{position:absolute;inset:auto 0 0;height:8rem;content:"";pointer-events:none;background:linear-gradient(transparent,var(--color-bg-secondary, #161b26))}.description-content.expanded[_ngcontent-%COMP%]{max-height:none}.read-more-button[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacing-xs, .375rem);margin:var(--spacing-md, 1rem) auto 0;padding:var(--spacing-sm, .5rem);border:0;color:var(--color-text-brand-secondary-700, #bdb4fe);background:transparent;cursor:pointer;font-weight:600}.offers-lead[_ngcontent-%COMP%]{color:var(--color-text-secondary-700, #cecfd2);line-height:1.6}.promo-card[_ngcontent-%COMP%]{border:1px solid var(--color-border-primary, #333741);border-radius:var(--radius-lg, .625rem);background:var(--color-bg-primary, #0c111d)}.promo-card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;color:var(--color-text-secondary-700, #cecfd2);line-height:1.6}.promo-title[_ngcontent-%COMP%]{margin:0;font-size:1.125rem;line-height:1.4}.promo-clamped[_ngcontent-%COMP%]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.btn-read-more-link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:0;border:0;color:var(--color-text-brand-secondary-700, #bdb4fe);background:transparent;cursor:pointer;font-weight:600;font-size:.875rem}.promo-date[_ngcontent-%COMP%], .promo-event[_ngcontent-%COMP%]{padding:.5rem .625rem}.promo-date[_ngcontent-%COMP%]{color:var(--color-text-brand-secondary-700, #bdb4fe);background:var(--color-utility-violet-50, #2d1f55)}.promo-event[_ngcontent-%COMP%]{color:var(--color-text-secondary-700, #cecfd2);border:1px solid var(--color-border-primary, #333741);text-decoration:none}.promo-event[_ngcontent-%COMP%]:hover{color:var(--color-text-primary-900, #f5f5f6);border-color:var(--color-border-brand, #a48afb)}.coupon-box[_ngcontent-%COMP%], .promo-marketer-box[_ngcontent-%COMP%], .promo-benefits-box[_ngcontent-%COMP%]{border-radius:var(--radius-md, .5rem)}.coupon-box[_ngcontent-%COMP%]{padding:.625rem .875rem;border:1px dashed rgba(127,86,217,.6);background:#101828a6}.btn-copy-coupon[_ngcontent-%COMP%]{flex-shrink:0;min-height:1.75rem;padding:.3125rem .625rem;border:1px solid var(--color-border-secondary, #333741);border-radius:.25rem;color:var(--color-text-primary-900, #ffffff);background:#242938;cursor:pointer;font-weight:600;font-size:.75rem}.btn-copy-coupon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.75rem}.btn-copy-coupon[_ngcontent-%COMP%]:hover{border-color:var(--color-bg-brand-solid, #7f56d9);background:var(--color-bg-brand-solid, #7f56d9)}.coupon-info-wrap[_ngcontent-%COMP%]{min-width:0;gap:.625rem}.coupon-label[_ngcontent-%COMP%]{color:var(--color-text-tertiary-600, #61646c);font-size:.7rem;font-weight:600;letter-spacing:.05em}.coupon-code-value[_ngcontent-%COMP%]{padding:.125rem .5rem;border:1px solid rgba(127,86,217,.25);border-radius:.25rem;background:#7f56d926;color:var(--colors-violet-200, #d6bbfb);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.95rem;font-weight:700;letter-spacing:.06em;overflow-wrap:anywhere}.promo-marketer-box[_ngcontent-%COMP%]{padding:.75rem .875rem;border:1px solid rgba(127,86,217,.22);background:#7f56d90f}.promo-marketer-header[_ngcontent-%COMP%]{gap:.375rem;color:var(--colors-violet-200, #d6bbfb);font-size:.72rem;font-weight:700;letter-spacing:.05em}.promo-marketer-header[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.8125rem}.promo-marketer-text.promo-clamped[_ngcontent-%COMP%]{margin:0;color:#e2e8f0;font-size:.8125rem;line-height:1.5}.promo-benefits-box[_ngcontent-%COMP%]{border:1px solid var(--color-border-primary, #333741);background:var(--color-bg-secondary, #161b26)}.promo-benefits-title[_ngcontent-%COMP%]{color:var(--color-text-tertiary-600, #94969c);font-size:.75rem;font-weight:700}.benefits-list[_ngcontent-%COMP%]{list-style:none;font-size:.75rem;color:var(--color-text-secondary-700, #cecfd2)}.benefits-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{line-height:1.4}.benefits-list[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-top:.1rem;font-size:.75rem;color:var(--color-text-success-primary-600, #75e0a7)}.promo-actions[_ngcontent-%COMP%]{width:100%}.promo-actions[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{min-height:2.25rem;padding:.5rem .75rem;font-size:.8125rem}.promo-modal-title[_ngcontent-%COMP%]{min-width:0;font-weight:600;line-height:1.4}.promo-modal-body[_ngcontent-%COMP%]{margin:0;white-space:pre-wrap;color:var(--color-text-secondary-700, #cecfd2);line-height:1.7}.empty-promotions-box[_ngcontent-%COMP%], .profile-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-promotions-box[_ngcontent-%COMP%]{min-height:24rem;padding:var(--spacing-xl, 2rem)}.empty-promotions-box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{max-width:38rem;color:var(--color-text-tertiary-600, #94969c);line-height:1.6}.empty-icon[_ngcontent-%COMP%]{display:grid;place-items:center;width:3.5rem;height:3.5rem;border-radius:50%;color:var(--color-text-brand-secondary-700, #bdb4fe);background:var(--color-utility-violet-50, #2d1f55);font-size:1.25rem}.category-programs-section[_ngcontent-%COMP%]{margin-top:var(--spacing-lg, 1.5rem);padding:var(--spacing-xl, 2rem)}.category-programs-header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--spacing-sm, .5rem)}.category-programs-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0;color:var(--color-text-tertiary-600, #94969c)}.other-merchants-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--spacing-md, 1rem);margin-top:var(--spacing-lg, 1.5rem)}.other-merchant-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:var(--spacing-sm, .5rem);min-width:0;padding:var(--spacing-md, 1rem);border:1px solid var(--color-border-primary, #333741);border-radius:var(--radius-lg, .625rem);color:var(--color-text-primary-900, #f5f5f6);background:var(--color-bg-primary, #0c111d);text-align:center;text-decoration:none;transition:.2s ease}.other-merchant-card[_ngcontent-%COMP%]:hover{border-color:var(--color-border-brand, #a48afb);transform:translateY(-2px)}.other-merchant-card[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.other-merchant-logo[_ngcontent-%COMP%]{display:grid;place-items:center;width:4rem;height:4rem;padding:.5rem;border-radius:var(--radius-md, .5rem);background:#fff}.other-merchant-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:contain}.profile-state[_ngcontent-%COMP%]{min-height:60vh;gap:var(--spacing-sm, .5rem)}.profile-state[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{font-size:2rem}.profile-state[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], .profile-state[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.profile-state-card[_ngcontent-%COMP%]{margin:var(--spacing-xl, 2rem) auto;padding:var(--spacing-xl, 2rem);border-radius:var(--radius-xl, .75rem)}@media (max-width: 75rem){.stats-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.other-merchants-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width: 62rem){.program-hero[_ngcontent-%COMP%]{align-items:flex-start;flex-direction:column}.program-content-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.program-sidebar-box[_ngcontent-%COMP%]{order:2}.main-tabbed-card[_ngcontent-%COMP%]{order:1}}@media (max-width: 48rem){.program-hero[_ngcontent-%COMP%], .tab-pane[_ngcontent-%COMP%], .category-programs-section[_ngcontent-%COMP%]{padding:var(--spacing-lg, 1.5rem)}.hero-program[_ngcontent-%COMP%]{align-items:flex-start;flex-direction:column}.program-logo-box[_ngcontent-%COMP%]{width:5.5rem;height:5.5rem;flex-basis:5.5rem}.hero-actions[_ngcontent-%COMP%], .hero-actions[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{width:100%}.merchant-profile-page[_ngcontent-%COMP%]   .profile-shell[_ngcontent-%COMP%]{padding-bottom:var(--spacing-7xl, 4rem)!important}.toggle-btn[_ngcontent-%COMP%]{flex:1 1 0;gap:var(--spacing-xs, .375rem);padding:.625rem .5rem;font-size:.8125rem;white-space:normal;text-align:center}.other-merchants-grid[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 36rem){.stats-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.coupon-box[_ngcontent-%COMP%]{align-items:flex-start;flex-direction:column}}']});let r=t;return r})();var Nc=[{path:"user-info-cards",component:na},{path:"",loadChildren:()=>import("./chunk-2BVD7B6Y.js").then(r=>r.HomeModule),data:{showNavItems:!0,showCtaBtns:!0}},{path:"sign-up",loadChildren:()=>
17import("./chunk-4FFFI7EC.js").then(r=>r.SignupModule),data:{showHeader:!0,showFooter:!1,showNavItems:!0,showLogo:!1}},{path:"active-merchants",component:sa,data:{showHeader:!0,showFooter:!0,showNavItems:!0,showLogo:!0}},{path:"active-merchants/:campaign_slug",component:ya,data:{showHeader:!0,showFooter:!0,showNavItems:!0,showLogo:!0}},{path:"pricing",component:ua,data:{showHeader:!0,showFooter:!0,showNavItems:!0,showLogo:!0}},{path:"about-us",component:Xo,data:{showHeader:!0,showFooter:!1,showNavItems:!1,showCtaBtns:!1,showLogo:!1,navClass:"blurred-header"}},{path:":country_slug",canMatch:[ga],component:ha,data:{showHeader:!0,showFooter:!0,showNavItems:!0,showLogo:!0}},{path:"**",component:Qo,data:{showNavItems:!1}}],ba=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=Ye({type:t}),t.\u0275inj=Je({imports:[Ei.forRoot(Nc,{scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,60]}),Ei]});let r=t;return r})();var va=kn("fadeInOutAnimation",[zt("* <=> *",[An(":enter, :leave",Fe({position:"fixed",width:"100%",zIndex:2}),{optional:!0}),Vr([An(":enter",[Fe({opacity:0}),Ct(".2s",Fe({opacity:1}))],{optional:!0}),An(":leave",[Ct("0.2s",Fe({opacity:0}))],{optional:!0})])])]);var Ca=(()=>{let t=class t{constructor(n){this.rendererFactory=n;let i=window.navigator.userAgent;this.renderer=n.createRenderer(null,null),this.isFirefox=i.includes("Firefox"),this.isChrome=i.includes("Chrome")&&!i.includes("Edg"),this.isSafari=/^((?!chrome|android).)*safari/i.test(i),this.isEdge=i.includes("Edg"),this.isOpera=i.includes("OPR")||i.includes("Opera")}applyBrowserSpecificClasses(){this.isFirefox?this.renderer.addClass(document.documentElement,"firefox"):this.isChrome?this.renderer.addClass(document.documentElement,"chrome"):this.isSafari?this.renderer.addClass(document.documentElement,"safari"):this.isEdge?this.renderer.addClass(document.documentElement,"edge"):this.isOpera&&this.renderer.addClass(document.documentElement,"opera")}};t.\u0275fac=function(i){return new(i||t)(pe(En))},t.\u0275prov=Ce({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();function Vc(r,t){if(r&1&&(s(0,"a",5),_(1,"img",6),a()),r&2){let e=v();S("hidden",!e.showLogo)}}function jc(r,t){if(r&1&&_(0,"img",7)(1,"img",8),r&2){let e=v();S("hidden",!e.showCtaBtns&&!e.showNav),m(),S("hidden",!e.showCtaBtns&&!e.showNav)}}function zc(r,t){if(r&1){let e=he();s(0,"a",11),V("click",function(){J(e);let i=v(2);return Z(i.onSignInClick())}),xn(),s(1,"svg",12),_(2,"path",13)(3,"path",14),a(),l(4," Sign in "),a()}}function Uc(r,t){r&1&&(s(0,"a",15),l(1," Join "),a())}function $c(r,t){if(r&1&&F(0,zc,5,0,"a",9)(1,Uc,2,0,"a",10),r&2){let e=v();S("ngIf",e.showCtaBtns),m(),S("ngIf",e.showCtaBtns)}}var qc=(r,t)=>[r,t],xa=(()=>{let t=class t{constructor(n,i,o){this.scrollSpyService=n,this.router=i,this.amplitudeService=o,this.activeItem="",this.stickyHeader=!1}ngOnInit(){this.setupMenuItems(),this.sectionSubscription=this.scrollSpyService.sectionInView.subscribe(n=>{this.activeItem=n,this.updateMenuItemActiveState()}),this.routerSubscription=this.router.events.pipe(an(n=>n instanceof dn)).subscribe(()=>{this.router.url!=="/"&&(this.activeItem=""),this.updateMenuItemActiveState()}),this.updateMenuItemActiveState()}ngOnChanges(n){this.setupMenuItems()}ngOnDestroy(){this.sectionSubscription&&this.sectionSubscription.unsubscribe(),this.routerSubscription&&this.routerSubscription.unsubscribe(),this.scrollSpyService.disconnectObserver()}setupMenuItems(){this.items=[{label:"Live results",correspondingSection:"live-results",command:()=>{this.amplitudeService.trackEvent(ve.CLICKED_NAV_SECTION,{section:"live-results"}),this.router.url!=="/"?this.router.navigate([""]).then(()=>{setTimeout(()=>{this.onNavItemClick("live-results","start",104)},500)}):this.onNavItemClick("live-results","start",104)},visible:this.showNav},{label:"Active merchants",route:"/active-merchants",command:()=>{this.amplitudeService.trackEvent(ve.CLICKED_ACTIVE_MERCHANTS),this.activeItem="",this.router.navigate(["active-merchants"])},visible:this.showNav},{label:"Pricing",route:"/pricing",command:()=>{this.amplitudeService.trackEvent(ve.CLICKED_PRICING),this.activeItem="",this.router.navigate(["pricing"])},visible:this.showNav},{label:"Leaderboard",correspondingSection:"leaderboard",command:()=>{this.amplitudeService.trackEvent(ve.CLICKED_NAV_SECTION,{section:"leaderboard"}),this.router.url!=="/"?this.router.navigate([""]).then(()=>{setTimeout(()=>{this.onNavItemClick("leaderboard")},500)}):this.onNavItemClick("leaderboard")},visible:this.showNav},{label:"Testimonials",correspondingSection:"testimonials",command:()=>{this.amplitudeService.trackEvent(ve.CLICKED_NAV_SECTION,{section:"testimonials"}),this.router.url!=="/"?this.router.navigate([""]).then(()=>{setTimeout(()=>{this.onNavItemClick("testimonials","start",104)},500)}):this.onNavItemClick("testimonials","start",104)},visible:this.showNav},{label:"Blog",url:"https://blog.businessleague.com/",command:()=>{this.amplitudeService.trackEvent(ve.CLICKED_BLOG)},visible:this.showNav},{label:"Community",correspondingSection:"community",command:()=>{this.amplitudeService.trackEvent(ve.CLICKED_NAV_SECTION,{section:"community"}),this.router.url!=="/"?this.router.navigate([""]).then(()=>{setTimeout(()=>{this.onNavItemClick("community")},500)}):this.onNavItemClick("community")},visible:this.showNav},{label:"Sign In",styleClass:"sign-in-btn p-button p-button-primary p-button-outlined border-primary mobile-only lg:hidden py-0 w-full mt-5",url:"https://businessleague.2performant.com/login",command:()=>{this.amplitudeService.trackEvent(ve.CLICKED_SIGN_IN)},visible:this.showCtaBtns},{label:"Join",styleClass:"register-btn p-button p-button-primary mobile-only lg:hidden py-0 w-full mt-3",command:()=>{this.amplitudeService.trackEvent(ve.CLICKED_REGISTER),this.activeItem="",this.router.navigate(["sign-up"])},visible:this.showCtaBtns}]}onSignInClick(){this.amplitudeService.trackEvent(ve.CLICKED_SIGN_IN)}updateMenuItemActiveState(){this.items=this.items.map(n=>{let i=!1;return n.hasOwnProperty("correspondingSection")?i=n.correspondingSection===this.activeItem:n.hasOwnProperty("route")&&(i=this.router.url===n.route),hr($e({},n),{styleClass:`${i?"active-menu-item":n.hasOwnProperty("correspondingSection")||n.hasOwnProperty("route")?"":n.styleClass}`})})}onNavItemClick(n,i="center",o){this.activeItem=n,this.updateMenuItemActiveState(),this.scrollSpyService.scrollToSection(n,i,o)}detectStickyHeader(){this.stickyHeader=window.scrollY>70}};t.\u0275fac=function(i){return new(i||t)(N($n),N(ht),N(je))},t.\u0275cmp=me({type:t,selectors:[["app-header"]],hostBindings:function(i,o){i&1&&V("scroll",function(d){return o.detectStickyHeader(d)},!1,At)},inputs:{showNav:"showNav",showCtaBtns:"showCtaBtns",headerClasses:"headerClasses",showLogo:"showLogo"},features:[wr],decls:5,vars:5,consts:[[1,"px-2","lg:px-7","sticky","top-0","z-3",3,"ngClass"],[3,"model"],["pTemplate","start"],["pTemplate","menuicon"],["pTemplate","end"],["routerLink","/","queryParamsHandling","merge",3,"hidden"],["priority","true","ngSrc","./assets/images/processed/icons/bl-logo-violet.svg","alt","app-logo","height","60","width","172",1,"header-logo"],["priority","true","ngSrc","./assets/images/icons/menu-burger.svg","alt","menu-burger-icon","height","40","width","40",1,"menu-burger-icon",3,"hidden"],["priority","true","ngSrc","./assets/images/icons/menu-cross.svg","alt","menu-cross-icon","height","40","width","40",1,"menu-cross-icon",3,"hidden"],["pButton","","pRipple","","href","https://businessleague.2performant.com/login","class","sign-in-btn hidden lg:flex no-underline p-button-primary p-button-outlined border-primary line-height-1","target","_blank","rel","noopener noreferrer",3,"click",4,"ngIf"],["pButton","","pRipple","","href","/sign-up","class","register-btn hidden lg:flex no-underline p-button-primary line-height-1","rel","noopener noreferrer",4,"ngIf"],["pButton","","pRipple","","href","https://businessleague.2performant.com/login","target","_blank","rel","noopener noreferrer",1,"sign-in-btn","hidden","lg:flex","no-underline","p-button-primary","p-button-outlined","border-primary","line-height-1",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 24 24","fill","none"],["d","M10 1.875C8.39303 1.875 6.82214 2.35152 5.486 3.24431C4.14985 4.1371 3.10844 5.40605 2.49348 6.8907C1.87852 8.37535 1.71762 10.009 2.03112 11.5851C2.34463 13.1612 3.11846 14.6089 4.25476 15.7452C5.39106 16.8815 6.8388 17.6554 8.4149 17.9689C9.99099 18.2824 11.6247 18.1215 13.1093 17.5065C14.594 16.8916 15.8629 15.8502 16.7557 14.514C17.6485 13.1779 18.125 11.607 18.125 10C18.1227 7.84581 17.266 5.78051 15.7427 4.25727C14.2195 2.73403 12.1542 1.87727 10 1.875ZM5.7875 15.4297C6.23964 14.7226 6.86251 14.1406 7.59869 13.7375C8.33488 13.3345 9.16069 13.1232 10 13.1232C10.8393 13.1232 11.6651 13.3345 12.4013 13.7375C13.1375 14.1406 13.7604 14.7226 14.2125 15.4297C13.0081 16.3664 11.5258 16.8749 10 16.8749C8.4742 16.8749 6.99193 16.3664 5.7875 15.4297ZM7.5 9.375C7.5 8.88055 7.64663 8.3972 7.92133 7.98607C8.19603 7.57495 8.58648 7.25452 9.04329 7.0653C9.50011 6.87608 10.0028 6.82657 10.4877 6.92304C10.9727 7.0195 11.4181 7.2576 11.7678 7.60723C12.1174 7.95686 12.3555 8.40232 12.452 8.88727C12.5484 9.37223 12.4989 9.87489 12.3097 10.3317C12.1205 10.7885 11.8001 11.179 11.3889 11.4537C10.9778 11.7284 10.4945 11.875 10 11.875C9.33696 11.875 8.70108 11.6116 8.23224 11.1428C7.7634 10.6739 7.5 10.038 7.5 9.375ZM15.1375 14.5633C14.4404 13.5532 13.4603 12.7717 12.3203 12.3172C12.9327 11.8349 13.3795 11.1737 13.5987 10.4257C13.8179 9.67766 13.7985 8.87992 13.5433 8.1434C13.2881 7.40687 12.8097 6.76819 12.1746 6.31616C11.5396 5.86414 10.7795 5.62123 10 5.62123C9.22052 5.62123 8.4604 5.86414 7.82536 6.31616C7.19033 6.76819 6.71193 7.40687 6.45671 8.1434C6.20149 8.87992 6.18212 9.67766 6.40131 10.4257C6.62049 11.1737 7.06734 11.8349 7.67969 12.3172C6.5397 12.7717 5.55956 13.5532 4.8625 14.5633C3.9817 13.5728 3.406 12.3488 3.20473 11.0387C3.00346 9.72856 3.1852 8.3882 3.72806 7.17898C4.27093 5.96977 5.15178 4.94326 6.26454 4.22308C7.3773 3.50289 8.67452 3.11972 10 3.11972C11.3255 3.11972 12.6227 3.50289 13.7355 4.22308C14.8482 4.94326 15.7291 5.96977 16.2719 7.17898
17C16.8148 8.3882 16.9966 9.72856 16.7953 11.0387C16.594 12.3488 16.0183 13.5728 15.1375 14.5633Z","fill","#CECFD2"],["d","M10 1.875C8.39303 1.875 6.82214 2.35152 5.486 3.24431C4.14985 4.1371 3.10844 5.40605 2.49348 6.8907C1.87852 8.37535 1.71762 10.009 2.03112 11.5851C2.34463 13.1612 3.11846 14.6089 4.25476 15.7452C5.39106 16.8815 6.8388 17.6554 8.4149 17.9689C9.99099 18.2824 11.6247 18.1215 13.1093 17.5065C14.594 16.8916 15.8629 15.8502 16.7557 14.514C17.6485 13.1779 18.125 11.607 18.125 10C18.1227 7.84581 17.266 5.78051 15.7427 4.25727C14.2195 2.73403 12.1542 1.87727 10 1.875ZM5.7875 15.4297C6.23964 14.7226 6.86251 14.1406 7.59869 13.7375C8.33488 13.3345 9.16069 13.1232 10 13.1232C10.8393 13.1232 11.6651 13.3345 12.4013 13.7375C13.1375 14.1406 13.7604 14.7226 14.2125 15.4297C13.0081 16.3664 11.5258 16.8749 10 16.8749C8.4742 16.8749 6.99193 16.3664 5.7875 15.4297ZM7.5 9.375C7.5 8.88055 7.64663 8.3972 7.92133 7.98607C8.19603 7.57495 8.58648 7.25452 9.04329 7.0653C9.50011 6.87608 10.0028 6.82657 10.4877 6.92304C10.9727 7.0195 11.4181 7.2576 11.7678 7.60723C12.1174 7.95686 12.3555 8.40232 12.452 8.88727C12.5484 9.37223 12.4989 9.87489 12.3097 10.3317C12.1205 10.7885 11.8001 11.179 11.3889 11.4537C10.9778 11.7284 10.4945 11.875 10 11.875C9.33696 11.875 8.70108 11.6116 8.23224 11.1428C7.7634 10.6739 7.5 10.038 7.5 9.375ZM15.1375 14.5633C14.4404 13.5532 13.4603 12.7717 12.3203 12.3172C12.9327 11.8349 13.3795 11.1737 13.5987 10.4257C13.8179 9.67766 13.7985 8.87992 13.5433 8.1434C13.2881 7.40687 12.8097 6.76819 12.1746 6.31616C11.5396 5.86414 10.7795 5.62123 10 5.62123C9.22052 5.62123 8.4604 5.86414 7.82536 6.31616C7.19033 6.76819 6.71193 7.40687 6.45671 8.1434C6.20149 8.87992 6.18212 9.67766 6.40131 10.4257C6.62049 11.1737 7.06734 11.8349 7.67969 12.3172C6.5397 12.7717 5.55956 13.5532 4.8625 14.5633C3.9817 13.5728 3.406 12.3488 3.20473 11.0387C3.00346 9.72856 3.1852 8.3882 3.72806 7.17898C4.27093 5.96977 5.15178 4.94326 6.26454 4.22308C7.3773 3.50289 8.67452 3.11972 10 3.11972C11.3255 3.11972 12.6227 3.50289 13.7355 4.22308C14.8482 4.94326 15.7291 5.96977 16.2719 7.17898C16.8148 8.3882 16.9966 9.72856 16.7953 11.0387C16.594 12.3488 16.0183 13.5728 15.1375 14.5633Z","stroke","#CECFD2"],["pButton","","pRipple","","href","/sign-up","rel","noopener noreferrer",1,"register-btn","hidden","lg:flex","no-underline","p-button-primary","line-height-1"]],template:function(i,o){i&1&&(s(0,"header",0)(1,"p-menubar",1),F(2,Vc,2,1,"ng-template",2)(3,jc,2,2,"ng-template",3)(4,$c,2,2,"ng-template",4),a()()),i&2&&(S("ngClass",kr(2,qc,o.headerClasses?o.headerClasses:"",o.stickyHeader?"blurred-header":"")),m(),S("model",o.items))},dependencies:[On,Bt,jt,Ht,$t,Ve,Kr],styles:[`app-header header{transition:all .3s;min-height:73px}app-header header.blurred-header{background-color:var(--color-bg-secondary, #161b26);border-bottom:1px solid var(--color-border-primary)}app-header header.blurred-header .p-menubar:not(.p-menubar-mobile-active){-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}app-header header .header-logo{height:auto;width:150px}@media only screen and (min-width: 992px){app-header header .header-logo{width:180px}}@media only screen and (min-width: 1200px){app-header header .header-logo{width:205px}}app-header header p-menubar .p-menubar{border:none}app-header header p-menubar .p-menubar{background-color:transparent;border:none}app-header header p-menubar .p-menubar .p-menubar-start,app-header header p-menubar .p-menubar .p-menubar-button{z-index:9999}app-header header p-menubar .p-menubar p-menubarsub{margin-left:auto}@media only screen and (min-width: 992px) and (max-width: 1199px){app-header header p-menubar .p-menubar p-menubarsub{max-width:50%}}app-header header p-menubar .p-menubar .p-menuitem{position:relative}app-header header p-menubar .p-menubar .p-menuitem:hover:not(.sign-in-btn):not(.join-btn):before{content:"";height:.5rem;width:.5rem;background:#fff;display:inline-flex;align-self:center;border-radius:50%;transition:all .3s}@media only screen and (min-width: 992px){app-header header p-menubar .p-menubar .p-menuitem:hover:not(.sign-in-btn):not(.join-btn):before{transform:translateY(-50%);left:.35rem;position:absolute;top:50%}}app-header header p-menubar .p-menubar .p-menuitem.active-menu-item{position:relative}app-header header p-menubar .p-menubar .p-menuitem.active-menu-item:before{content:"";height:.5rem;width:.5rem;background:linear-gradient(178.48deg,var(--color-fg-brand-primary-600) 6.59%,var(--color-bg-brand-primary) 96.6%);display:inline-flex;align-self:center;border-radius:50%}@media only screen and (min-width: 992px){app-header header p-menubar .p-menubar .p-menuitem.active-menu-item:before{transform:translateY(-50%);left:.35rem;position:absolute;top:50%}}app-header header p-menubar .p-menubar .p-menuitem.p-focus{background:transparent}app-header header p-menubar .p-menubar .p-menuitem.p-focus .p-menuitem-content{background:transparent}app-header header p-menubar .p-menubar .p-menuitem .p-menuitem-content:hover{background:transparent}app-header header p-menubar .p-menubar .p-menubar-button{position:absolute;right:1rem}app-header header p-menubar .p-menubar .p-menubar-button .menu-cross-icon{display:none}app-header header p-menubar .p-menubar.p-menubar-mobile-active .p-menubar-root-list{width:100vw;min-height:100vh;max-height:100%;left:50%;
17top:0;transform:translate(-50%);background:#1f2939cc;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);display:flex;flex-flow:column;overflow-y:auto;padding:5rem 0 2rem}@media only screen and (min-width: 768px){app-header header p-menubar .p-menubar.p-menubar-mobile-active .p-menubar-root-list{gap:1rem}}app-header header p-menubar .p-menubar.p-menubar-mobile-active .p-menubar-root-list .p-menuitem{display:flex;justify-content:center;width:auto}app-header header p-menubar .p-menubar.p-menubar-mobile-active .menu-cross-icon{display:block}app-header header p-menubar .p-menubar.p-menubar-mobile-active .menu-burger-icon{display:none}app-header header p-menubar .p-menubar .p-menubar-end{display:flex;gap:1rem}app-header header p-menubar .sign-in-btn{display:inline-flex;justify-content:center;align-items:center;gap:4px;white-space:nowrap}app-header header p-menubar .sign-in-btn,app-header header p-menubar .register-btn{max-width:150px}
18`],encapsulation:2});let r=t;return r})();function Hc(r,t){if(r&1){let e=he();s(0,"p-button",5),V("click",function(){J(e);let i=v();return Z(i.onClose())}),a()}r&2&&S("plain",!0)}var Wc=()=>({width:"600px"}),Gc=()=>({"768px":"95vw"}),Sa=(()=>{let t=class t{constructor(){this.showDialog=!1}ngOnInit(){}ngOnDestroy(){}onClose(){this.showDialog=!1}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=me({type:t,selectors:[["app-credits"]],decls:108,vars:8,consts:[[1,"text-sm-semibold","cursor-pointer","text-white",3,"click"],["header","Credits",3,"visible","breakpoints","modal","dismissableMask","visibleChange"],[1,"credits-content","text-left"],[1,"display-xs-semibold","mt-0"],["pTemplate","footer"],["severity","secondary","label","Close",3,"plain","click"]],template:function(i,o){i&1&&(s(0,"span",0),V("click",function(){return o.showDialog=!0}),l(1,"Credits"),a(),s(2,"p-dialog",1),et("visibleChange",function(d){return Xe(o.showDialog,d)||(o.showDialog=d),d}),s(3,"div",2)(4,"h4",3),l(5," These are the wonderful people who are building and helping you use BusinessLeague.com "),a(),s(6,"ul")(7,"li"),l(8,"Ana - Romania"),a(),s(9,"li"),l(10,"Gabriel - Romania"),a(),s(11,"li"),l(12,"Alain - Romania"),a(),s(13,"li"),l(14,"Adriana - Romania"),a(),s(15,"li"),l(16,"Santiago - Spain"),a(),s(17,"li"),l(18,"Carmen - Germany"),a(),s(19,"li"),l(20,"Ana - Maria - Italy"),a(),s(21,"li"),l(22,"Roxana - Romania"),a(),s(23,"li"),l(24,"Madalina - Romania"),a(),s(25,"li"),l(26,"Alexandra - Romania"),a(),s(27,"li"),l(28,"Georgiana - Romania"),a(),s(29,"li"),l(30,"Bianca - Romania"),a(),s(31,"li"),l(32,"Elena - Romania"),a(),s(33,"li"),l(34,"Tudor - Romania"),a(),s(35,"li"),l(36,"Loredana - Romania"),a(),s(37,"li"),l(38,"Roxana - Romania"),a(),s(39,"li"),l(40,"Oana - Romania"),a(),s(41,"li"),l(42,"Manuela - Romania"),a(),s(43,"li"),l(44,"Bogdan - Romania"),a(),s(45,"li"),l(46,"Tiberiu - Romania"),a(),s(47,"li"),l(48,"Andrei - Romania"),a(),s(49,"li"),l(50,"Adela - Romania"),a(),s(51,"li"),l(52,"Gabriela - Romania"),a(),s(53,"li"),l(54,"Florentina - Romania"),a(),s(55,"li"),l(56,"Eugeniu - Romania"),a(),s(57,"li"),l(58,"Ricardo - Romania"),a(),s(59,"li"),l(60,"Alexandru - Romania"),a(),s(61,"li"),l(62,"Oana - Romania"),a(),s(63,"li"),l(64,"Bogdan - Romania"),a(),s(65,"li"),l(66,"Diana - Romania"),a(),s(67,"li"),l(68,"Mihai - Romania"),a(),s(69,"li"),l(70,"Antonia - Romania"),a(),s(71,"li"),l(72,"Radu - Romania"),a(),s(73,"li"),l(74,"Ioana - Romania"),a(),s(75,"li"),l(76,"Mihai L - Romania"),a(),s(77,"li"),l(78,"Daniel - Romania"),a(),s(79,"li"),l(80,"Nicolae - Romania"),a(),s(81,"li"),l(82,"Ovidiu F - Romania"),a(),s(83,"li"),l(84,"Alexandru D - Romania"),a(),s(85,"li"),l(86,"Razvan - Romania"),a(),s(87,"li"),l(88,"Ovidiu G - Romania"),a(),s(89,"li"),l(90,"Alex - Romania"),a(),s(91,"li"),l(92,"Mihai N - Romania"),a(),s(93,"li"),l(94,"Razvan V - Romania"),a(),s(95,"li"),l(96,"George - Romania"),a(),s(97,"li"),l(98,"David - Romania"),a(),s(99,"li"),l(100,"Andrei R - Romania"),a(),s(101,"li"),l(102,"Bogdan S - Romania"),a(),s(103,"li"),l(104,"Serhan - Romania"),a(),s(105,"li"),l(106,"Dorin - Ireland"),a()()(),F(107,Hc,1,1,"ng-template",4),a()),i&2&&(m(2),Mn(mt(6,Wc)),Ze("visible",o.showDialog),S("breakpoints",mt(7,Gc))("modal",!0)("dismissableMask",!0))},dependencies:[Wt,$t,Vn],styles:[`.credits-content ul{display:grid;grid-template-columns:1fr 1fr;gap:1rem;list-style-type:none;padding:0}
19`],encapsulation:2});let r=t;return r})();var wa=(()=>{let t=class t{constructor(n){this.amplitudeService=n}trackFooterClick(n){this.amplitudeService.trackEvent(ve.CLICKED_FOOTER_LINK,{linkName:n})}};t.\u0275fac=function(i){return new(i||t)(N(je))},t.\u0275cmp=me({type:t,selectors:[["app-footer"]],decls:24,vars:0,consts:[[1,"p-2","sm:px-5","md:p-7","mt-auto"],[1,"footer-content","primary-surface","p-3","pt-6","justify-content-center","flex","align-items-center","flex-column","gap-3","border-round-2xl","relative"],["priority","true","ngSrc","./assets/images/processed/icons/bl-logo-mini-violet.png","alt","app-footer-logo","height","104","width","100",1,"footer-logo","absolute"],[1,"footer-links","flex","flex-column","lg:flex-row","text-center","gap-5"],["href","https://blog.businessleague.com/","target","_blank",1,"link","text-sm-semibold",3,"click"],["href","https://careers.2performant.com/","target","_blank",1,"link","text-sm-semibold",3,"click"],["href","https://start.businessleague.com/partners","target","_blank",1,"link","text-sm-semibold",3,"click"],["href","https://2performant.com/terms-conditions/","target","_blank",1,"link","text-sm-semibold",3,"click"],["href","https://2performant.com/privacy-policy/","target","_blank",1,"link","text-sm-semibold",3,"click"],["href","https://2performant.com/cookie-policy/","target","_blank",1,"link","text-sm-semibold",3,"click"],["href","https://bit.ly/businessleague-updates ","target","_blank",1,"link","text-sm-semibold",3,"click"],[1,"footer-copyright","text-center","text-xs-regular","mb-0"]],template:function(i,o){i&1&&(s(0,"footer",0)(1,"div",1),_(2,"img",2),s(3,"div",3)(4,"a",4),V("click",function(){return o.trackFooterClick("Blog")}),l(5," Blog "),a(),s(6,"a",5),V("click",function(){return o.trackFooterClick("Careers")}),l(7," Careers "),a(),s(8,"a",6),V("click",function(){return o.trackFooterClick("Partners")}),l(9," Partners "),a(),s(10,"a",7),V("click",function(){return o.trackFooterClick("Terms & Conditions")}),l(11," Terms & Conditions "),a(),s(12,"a",8),V("click",function(){return o.trackFooterClick("Privacy Policy")}),l(13," Privacy Policy "),a(),s(14,"a",9),V("click",function(){return o.trackFooterClick("Cookie Policy")}),l(15," Cookie Policy "),a(),_(16,"app-credits"),s(17,"a",10),V("click",function(){return o.trackFooterClick("Tech Updates")}),l(18," Tech updates "),a()(),_(19,"app-plugins"),s(20,"p",11),l(21," \xA9 BusinessLeague.com "),s(22,"span"),l(23,"All rights reserved"),a()()()())},dependencies:[jt,Wn,Sa],styles:[`footer .footer-content .footer-logo{top:-4rem;padding:1rem}footer .footer-content .footer-links{align-items:center}footer .footer-content .footer-links .link{color:#fff;text-decoration:none}
19footer .footer-content .footer-copyright span{display:block}@media only screen and (min-width: 768px){footer .footer-content .footer-copyright span{display:inline}}@media only screen and (min-width: 768px){footer .footer-content app-plugins{width:80%}}@media screen and (max-width: 992px){footer .footer-content app-plugins .plugins-container{align-items:center!important;flex-direction:column!important}footer .footer-content app-plugins .plugins-container .plugins-text{text-align:center}}@media screen and (max-width: 576px){footer{margin-bottom:6rem}}
20`],encapsulation:2});let r=t;return r})();function Jc(r,t){if(r&1&&_(0,"app-header",5),r&2){let e=v();S("showNav",e.showNavItems)("headerClasses",e.headerClasses)("showCtaBtns",e.showCtaBtns)("showLogo",e.showLogo)}}function Zc(r,t){r&1&&_(0,"app-footer",6)}var Ea=(()=>{let t=class t{constructor(n,i,o,c,d,p){this.translate=n,this.router=i,this.activatedRoute=o,this.browserDetection=c,this.amplitudeService=d,this.ipLocationService=p,this.unsubscribe$=new qe,this.showHeader=!1,this.showFooter=!1,this.showNavItems=!1,this.showLogo=!1,this.showCtaBtns=!1,this.headerClasses="",n.setDefaultLang("en"),n.use("en"),this.router.events.pipe(an(u=>u instanceof dn),kt(()=>this.activatedRoute),kt(u=>{for(;u.firstChild;)u=u.firstChild;return u}),_r(u=>u.data)).subscribe(u=>{this.showHeader=u.showHeader!==!1,this.showFooter=u.showFooter!==!1,this.showNavItems=u.showNavItems!==!1,this.showCtaBtns=u.showCtaBtns!==!1,this.headerClasses=u.navClass,this.showLogo=u.showLogo!==!1}),this.amplitudeService.initAmplitude(),this.setInitialUserProperties(),this.router.events.pipe(an(u=>u instanceof dn),Oe(this.unsubscribe$)).subscribe(u=>{this.amplitudeService.trackPageView(u.urlAfterRedirects)})}ngOnInit(){this.browserDetection.applyBrowserSpecificClasses()}useLanguage(n){this.translate.use(n)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}setInitialUserProperties(){let n=new URLSearchParams(window.location.search),i={},o=n.get("utm_source"),c=n.get("utm_medium"),d=n.get("utm_campaign"),p=document.referrer;o&&(i.utm_source=o),c&&(i.utm_medium=c),d&&(i.utm_campaign=d),p&&(i.referrer=p),Object.keys(i).length>0&&this.amplitudeService.setUserProperties(i),this.ipLocationService.getLocationBasedOnIp().pipe(yt(1)).subscribe(u=>{u?.country_code&&this.amplitudeService.setUserProperties({country:u.country_code})})}};t.\u0275fac=function(i){return new(i||t)(N(pi),N(ht),N(rt),N(Ca),N(je),N(Gn))},t.\u0275cmp=me({type:t,selectors:[["app-root"]],decls:6,vars:3,consts:[["position","top-center"],["class","sticky top-0 z-3",3,"showNav","headerClasses","showCtaBtns","showLogo",4,"ngIf"],[1,"flex-1"],["o","outlet"],["class","mt-auto",4,"ngIf"],[1,"sticky","top-0","z-3",3,"showNav","headerClasses","showCtaBtns","showLogo"],[1,"mt-auto"]],template:function(i,o){if(i&1&&(_(0,"p-toast",0),F(1,Jc,1,4,"app-header",1),s(2,"main",2),_(3,"router-outlet",null,3),a(),F(5,Zc,1,0,"app-footer",4)),i&2){let c=Or(4),d;m(),S("ngIf",o.showHeader),m(),S("@fadeInOutAnimation",c.isActivated&&(d=c.activatedRoute.routeConfig==null?null:c.activatedRoute.routeConfig.path)!==null&&d!==void 0?d:""),m(3),S("ngIf",o.showFooter)}},dependencies:[Bt,Ur,Hr,xa,wa],data:{animation:[va]}});let r=t;return r})();var Pa=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=Ye({type:t}),t.\u0275inj=Je({imports:[ze,Nn,Wn]});let r=t;return r})();Lr(Go);var Ma=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=Ye({type:t,bootstrap:[Ea]}),t.\u0275inj=Je({providers:[ut,zr,Gn,{provide:Dr,useClass:Wo,multi:!0},{provide:lo,useValue:Ke.recaptcha.siteKey}],imports:[tt,ze,Pa,Tn,jo,ba,Fr,Ho.forRoot({loader:{provide:ft,useFactory:Xc,deps:[nt]}}),oo.initializeApp(Ke.firebaseConfig),ao,co]});let r=t;return r})();function Xc(r){return new ui(r)}Br().bootstrapModule(Ma).catch(r=>console.error(r));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.