1import{a as ct,b as kt}from"./chunk-6QIIGPQN.js";import{e as fn,f as un}from"./chunk-UBTWKSJC.js";import{a as xn,b as vn}from"./chunk-B72KTCE6.js";import{f as wt,i as dn}from"./chunk-N7XPNPEN.js";import{a as qn}from"./chunk-N64MUBIE.js";import{i as It}from"./chunk-TMML4CLY.js";import{a as On,g as hn,h as at,j as St,m as At,n as mn}from"./chunk-YO4EDRJ7.js";import"./chunk-5KUSON4V.js";import{a as Mn,b as Pn}from"./chunk-MIK4VLE4.js";import{$ as f,$a as l,D as Rt,Ec as cn,Fc as sn,Gb as C,Hb as M,Ib as $t,Ic as xt,K as Ut,Ka as Zt,La as w,Na as T,Nb as nn,O as Ft,Oa as z,Ob as ot,Pa as F,Pc as vt,Q as Ht,Qa as W,Ra as u,Rb as en,Sa as r,Ta as s,Tb as on,Ua as x,V as Yt,Va as Jt,W as Ot,Wa as Qt,Ya as E,Yb as an,Z as S,_ as m,_a as y,a as nt,ad as rn,b as Pt,ed as _n,f as Nn,fd as it,gd as gn,hd as yt,ib as G,id as ln,k as Nt,kb as Xt,lb as p,ma as ht,mb as h,na as Kt,nb as j,ob as mt,oc as ut,od as Cn,pd as pn,qb as J,r as Dt,ra as c,rb as Q,rc as Wt,s as qt,sb as X,sd as Tt,tb as N,td as bn,ub as tn,x as Gt,ya as et,yb as ft,za as bt}from"./chunk-UPWIJIG3.js";var st=(()=>{class o{constructor(){}binDist(t,n){n=n||{};let e=n.disc||3e4,a=n.width||200,_=n.padding||8,d=n.confRange||.8,I=Math.log(d),b,O,i,V,q,U,R,H,dt=0,Bt=0,Et=0,Y=0;function Vt(g,v){return v?g>.1&&g<.9?Math.round(100*g)+"%":g>.005&&g<.995?Math.round(1e3*g)/10+"%":Math.round(1e4*g)/100+"%":g>.05&&g<.95?Math.round(1e3*g)/10+"%":g>5e-4&&g<.9995?Math.round(1e4*g)/100+"%":g>5e-5&&g<.99995?Math.round(1e5*g)/1e3+"%":g>5e-6&&g<.999995?Math.round(1e6*g)/1e4+"%":Math.round(1e7*g)/1e5+"%"}function zt(g,v){let A=g-v;return A>30?g:A<-30?v:v===-1/0?-1/0:v+Math.log(1+Math.exp(A))}function Bn(){for(b in t)t.hasOwnProperty(b)&&(Bt++,i=t[b],typeof i.n<"u"?(typeof i.s>"u"&&(i.s=i.n-i.f),typeof i.f>"u"&&(i.f=i.n-i.s)):i.n=i.s+i.f,i.av=i.s/i.n,i.n&&(Y+=i.av,dt++),Et=Math.max(i.n,Et));Y=dt?Y/dt:1/2;let g=0,v=0;Y>1e-6&&Y>.999999&&dt&&(g=1,v=1/Y-g);for(b in t)t.hasOwnProperty(b)&&(t[b].s2=t[b].s+g,t[b].f2=t[b].f+v)}Bn(),Bt>50?e=e/4:Bt>10&&(e=e/2);let rt=[];for(b=0;b<Math.max(1,Math.log(Et)/Math.LN10);b++)rt.push(Math.pow(.1,b));let B=[],Lt=[],jt=[],Ct=[],pt=0;function En(){let g;for(g=0;g<=e*4;g++){let v;if(pt>1)break;for(B.push(pt),v=1;v<rt.length&&!(Math.abs(Y-pt)>rt[v]);v++);pt+=2*(rt[v-1]*rt.length)/e}for(e=B.length,B[e-1]===1?e--:B.push(1),Ct.push(-1/0),g=0;g<B.length;g++)Lt.push(Math.log(B[g])),jt.push(Math.log(1-B[g])),g!==0&&g!==B.length-1&&Ct.push(Math.log(B[g+1]-B[g-1]));Ct.push(-1/0)}En();function Vn(){for(b in t)if(t.hasOwnProperty(b)){for(i=t[b],V=-1/0,i.eq=new Array(e+1),i.less=new Array(e+1),i.eq[0]=-1/0,i.eq[e]=-1/0,i.less[0]=-1/0,i.less[e]=-1/0,O=1;O<e;O++){let g=Ct[O]+Lt[O]*i.s+jt[O]*i.f;V=zt(V,g),i.eq[O]=g,i.less[O]=V}for(O=1;O<e;O++)i.eq[O]-=V,i.less[O]-=V}}Vn();function Dn(){for(b in t)if(t.hasOwnProperty(b)){i=t[b],V=-1/0;let g=0;for(q=-1/0,O=1;O<e;O++)q<=i.eq[O]&&(q=i.eq[O],i.max=B[O],g=O);let v=i.s/i.n;i.min=i.max,V=q;let A=g,k=g;for(O=0;O<e&&!(A===1&&k===e);O++){let D;A===1?D=1:k===e?D=-1:B[k+1]-v<v-B[A-1]?D=1:D=-1;let L;if(D===1?(k++,L=k,i.max=B[L]):(A--,L=A,i.min=B[L]),V=zt(V,i.eq[L]),V>=I)break}i.pm=Math.max(i.max-v,v-i.min)}}Dn();let Mt=[];function Fn(){for(O=0;O<=e;O++)Mt.push(0);Mt[0]=-1/0;for(b in t)if(t.hasOwnProperty(b)){let g=t[b];for(O=1;O<e;O++)Mt[O]+=g.less[O]}}Fn(),q=0,U=1,R=0,H=1;for(b in t)t.hasOwnProperty(b)&&(i=t[b],q<i.max?(R=q,q=i.max):R<i.max&&(R=i.max),U>i.min?(H=U,U=i.min):H>i.min&&(H=i.min));let $n=q-U,_t=(a-2*_)/$n;for(b in t)t.hasOwnProperty(b)&&(i=t[b],i.iMinWidth=0,i.iMaxWidth=0,i.iMinStart=0,i.iMaxStart=0,i.iStart=_+Math.round((i.min-U)*_t),i.iWidth=Math.round((i.max-i.min)*_t),i.iMiddle=_+(i.s/i.n-U)*_t,(R!==0||H!==1)&&(i.max>R&&(i.iMaxWidth=Math.round((i.max-Math.max(i.min,R))*_t),i.iMaxWidth>=5?(i.iMaxStart=i.iStart+i.iWidth-i.iMaxWidth,i.iWidth-=i.iMaxWidth):i.iMaxWidth=0),i.min<H&&(i.iMinWidth=Math.round((Math.min(H,i.max,R)-i.min)*_t),i.iMinWidth>=5?(i.iMinStart=i.iStart,i.iWidth-=i.iMinWidth,i.iStart+=i.iMinWidth):i.iMinWidth=0)),i.confHtml="",i.n&&(i.confHtml='<div class="confInterval"><div class="'+(i.iMaxWidth===0?"confIntervalREnd ":"")+(i.iMinWidth===0?"confIntervalLEnd ":"")+'"style="left:'+i.iStart+"px; width:"+i.iWidth+'px"></div>'+(i.iMaxWidth+i.iMinWidth+i.iWidth>15?'<div class="middleConfInterval" style="left:'+i.iMiddle+'px;"></div>':"")+(i.iMaxWidth===0?"":'<div class="bestConfInterval '+(i.iMinWidth===0&&i.iWidth===0?"confIntervalLEnd ":"")+'" style="left:'+i.iMaxStart+"px; width:"+i.iMaxWidth+'px"></div>')+(i.iMinWidth===0?"":'<div class="worstConfInterval '+(i.iMaxWidth===0&&i.iWidth===0?"confIntervalREnd ":"")+'" style="left:'+i.iMinStart+"px; width:"+i.iMinWidth+'px"></div>')+"</div>",i.pHtml="<b>"+Vt(i.s/i.n,!1)+"</b> <small>±"+Vt(i.pm,!0)+"</small>"));function Wn(){for(b in t)if(t.hasOwnProperty(b))for(i=t[b],i.ctba=0,i.pCtba=Array(e+1),i.pCtba[0]=-1/0,i.pCtba[e]=-1/0,O=1;O<e;O++){let g=i.eq[O]+Mt[O]-i.less[O];g=Math.exp(g),i.pCtba[O]=g,i.ctba+=g}}Wn();function zn(g){let v=.254829592,A=-.284496736,k=1.421413741,D=-1.453152027,L=1.061405429,K=.3275911,Z=1;g<0&&(Z=-1),g=Math.abs(g);let gt=1/(1+K*g),jn=1-((((L*gt+D)*gt+k)*gt+A)*gt+v)*gt*Math.exp(-g*g);return Z*jn}function Ln(){let g;for(g in t)if(t.hasOwnProperty(g)){t[g].poh=0;for(let v in t)if(t.hasOwnProperty(v)&&g!==v){let A=t[g],k=t[v];if(!A.n||!k.n||A.n<0||k.n<0)continue;let D=A.s/A.n,L=k.s/k.n,K=D-L,Z=Math.sqrt(D*(1-D)/(A.n+1)+L*(1-L)/(k.n+1));A.poh=A.poh+Math.abs(.5*K+.5*K*zn(-K/(Math.sqrt(2)*Z))-Z*Math.exp(-K*K/(2*Z*Z))/Math.sqrt(2*Math.PI))}}for(g in t)if(t.hasOwnProperty(g)){let v=t[g],A=v.poh*100,k=1;for(let D=0;D<20&&!(A>10);D++)k=k*10,A=A*10;v.pohHtml=Math.round(A)/k+"%"}}Ln();for(b in t)t.hasOwnProperty(b)&&(i=t[b],i.ctbaHtml=Vt(i.ctba,!0));return{res:t,disc:B}}distRound(t){return t>.05&&t<.95||t>5e-4&&t<.9995?Math.round(1e4*t)/100+"%":t>5e-5&&t<.99995?Math.round(1e5*t)/1e3+"%":t>5e-6&&t<.999995?Math.round(1e6*t)/1e4+"%":Math.round(1e7*t)/1e5+"%"}static{this.\u0275fac=function(n){return new(n||o)}}static{this.\u0275prov=Yt({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o}
1)();var Rn=o=>({"main-content-container-loader":o});function Un(o,P){o&1&&(r(0,"div",0)(1,"h3",4),p(2),C(3,"translate"),s()()),o&2&&(c(2),h(M(3,1,"abtests.modal.variant.add")))}function Hn(o,P){if(o&1){let t=E();r(0,"div",7),y("click",function(){let e=m(t).$implicit,a=l(2);return f(a.setABType(e))}),x(1,"div"),r(2,"div",8),p(3),s()()}if(o&2){let t=P.$implicit;c(),Xt(tn("ab-type-icon-",t.type)),c(2),h(t.title)}}function Yn(o,P){if(o&1&&(r(0,"div",2)(1,"div",5),F(2,Hn,4,4,"div",6,z),s()()),o&2){let t=l();c(2),W(t.ABTypes)}}function Kn(o,P){if(o&1){let t=E();r(0,"div",26)(1,"label",27)(2,"input",28),y("change",function(){let e=m(t).$implicit,a=l(3);return f(a.filterByCat(e.checked,e.id))}),X("ngModelChange",function(e){let a=m(t).$implicit;return Q(a.checked,e)||(a.checked=e),f(e)}),s(),r(3,"span",29),p(4),s(),x(5,"span",30),s()()}if(o&2){let t=P.$implicit;c(2),J("ngModel",t.checked),c(2),h(t.name)}}function Zn(o,P){if(o&1&&(r(0,"div",20)(1,"h5",25),p(2),s(),F(3,Kn,6,2,"div",26,z),s()),o&2){let t=P.$implicit;c(2),h(t.name),c(),W(t.categories)}}function Jn(o,P){o&1&&(r(0,"div",22)(1,"h3"),p(2),C(3,"translate"),s()()),o&2&&(c(2),h(M(3,1,"widgetsList.add.modal.gallery.filter.notfound")))}function Qn(o,P){if(o&1){let t=E();r(0,"div",24)(1,"div",31)(2,"div",32)(3,"button",33),y("click",function(){let e=m(t).$implicit,a=l(2);return f(a.setMockupABT(e))}),x(4,"i",34),p(5),C(6,"translate"),s()(),r(7,"div",35),x(8,"div",36)(9,"img",37),s()()()}if(o&2){let t=P.$implicit;c(5),j(" ",M(6,3,"widgetsList.add.params.select")," "),c(4),u("src",t.preview,Kt)("alt",t.name)}}function Xn(o,P){if(o&1){let t=E();r(0,"div",3)(1,"div",9)(2,"div",10),x(3,"app-preloader",11),s(),r(4,"div",12)(5,"div",13)(6,"span"),p(7),C(8,"translate"),s()(),r(9,"span",14),p(10),C(11,"translate"),s(),x(12,"div",15),r(13,"div",16)(14,"div",17)(15,"span",18),p(16),C(17,"translate"),s(),r(18,"div",19),F(19,Zn,5,1,"div",20,z),s()(),r(21,"div",21),w(22,Jn,4,3,"div",22),r(23,"div",23),y("scrolled",function(){m(t);let e=l();return f(e.loadMore())}),F(24,Qn,10,5,"div",24,z),s()()()()()()}if(o&2){let t=l();c(),u("ngClass",ft(14,Rn,t.isLoaderActive)),c(2),u("absolute",!0),c(4),h(M(8,8,"abtests.modal.template.choose")),c(3),h(M(11,10,"abtests.modal.template.subtext")),c(6),h(M(17,12,"abtests.modal.template.categories")),c(3),W(t.groups),c(3),T(t.mockups.length===0?22:-1),c(),u("fromRoot",!0)("infiniteScrollContainer",".panel-widgets-list"),c(),W(t.mockups)}}var Sn=(()=>{class o{constructor(){this.router=S(ut),this.activeModal=S(Cn),this.binsDataService=S(st),this.widgetService=S(St),this.containerizedWidgetService=S(kt),this.abTestsService=S(ct),this.step=0,this.isLoaderActive=!1,this.mockups=[],this.groups=[],this.ABTypes=[{type:"DUPLICATE",title:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442"},{type:"NEW",title:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0441 \u043D\u0443\u043B\u044F \u0432 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0435"},{type:"MOCKUP",title:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043E\u0434\u0438\u043D \u0438\u0437 \u0433\u043E\u0442\u043E\u0432\u044B\u0445 \u0448\u0430\u0431\u043B\u043E\u043D\u043E\u0432 \u0432 \u0433\u0430\u043B\u0435\u0440\u0435\u0435"}],this.colorsArray=["#34495e","#9b59b6","#3498db","#62cb31","#ffb606","#e67e22","#e74c3c","#c0392b","#58b62c","#e43725","#2a7aaf","#7c4792","#4ea227","#b8651b","#9a2e22","#2a3a4b","#ffeb3b"],this.checkboxOnArray=[],this.testArr=[],this.queryForMockups={type:"",categories:""},this.ITEMS_TO_ADD=12}ngOnInit(){}closeModal(){this.activeModal.close()}loadMore(){for(let t=this.startItem;t<this.startItem+this.ITEMS_TO_ADD;t++)if(this.newItem<this.testArr.length)this.mockups.push(this.testArr[t]),this.newItem++;else{this.startItem=this.newItem;break}this.startItem=this.newItem}filterByCat(t,n){if(t)this.checkboxOnArray.push(n);else for(let e=0;e<this.checkboxOnArray.length;e++)this.checkboxOnArray[e]===n&&this.checkboxOnArray.splice(e,1);this.isLoaderActive=!0,this.testArr=[],this.queryForMockups.type||delete this.queryForMockups.type,this.queryForMockups.categories=this.checkboxOnArray.join(","),this.widgetService.getMockups(this.queryForMockups.type,this.queryForMockups.categories).subscribe(e=>{this.actionAfterTabSwitch(e)})}setMockupABT(t){this.editableAB.mockupId=t.id,delete this.editableAB.templateId,this.createABT()}setABType(t){this.editableAB.mode=t.type,this.editableAB.mode==="MOCKUP"?(this.filterByTab(this.abtTypeWidget),this.step=1):this.editableAB.mode==="NEW"?(delete this.editableAB.mockupId,this.createABT()):this.editableAB.mode==="DUPLICATE"&&(delete this.editableAB.mockupId,delete this.editableAB.templateId,this.createABT())}createABT(){let t=this.editableAB.containerized;delete this.editableAB.containerized;let n=nt({},this.editableAB);this.abTestsService.createVariant(this.currentTestId,n).subscribe(e=>{this.currentTestId="",t?this.containerizedWidgetService.rename(this.currentSiteId,e.value,"\u0412\u0430\u0440\u0438\u0430\u043D\u0442 "+this.currentVariantsLength).subscribe(()=>
1{this.updateVariantAfterCreating(e.value)}):this.widgetService.rename(this.currentSiteId,e.value,"\u0412\u0430\u0440\u0438\u0430\u043D\u0442 "+this.currentVariantsLength).subscribe(()=>{this.updateVariantAfterCreating(e.value)})})}updateVariantAfterCreating(t){let n={conversions:[],name:"\u0412\u0430\u0440\u0438\u0430\u043D\u0442 \u2116"+this.currentVariantsLength,etalon:!1,id:t};this.addMoreDataToVariant(n,this.abTests[this.currentTestIndex].variants.length,this.abTests[this.currentTestIndex]),this.abTests[this.currentTestIndex].variants.push(n),this.router.navigate([`/widgets/edit/${this.currentSiteId}-${t}/`]).then(),this.closeModal()}addMoreDataToVariant(t,n,e){t.conversions=wt(t.conversions,"date"),t.color=this.colorsArray[n];let a=this.binsDataService.binDist([{s:this.getActions(t),n:this.getShows(t)}],{confRange:.8,disc:3e4}).res;t.convInfo=a[0],t.convInfo.conversion=this.getConvItem(t.convInfo),t.convInfo.convNumber=this.getConvNumber(t.convInfo),t.etalon&&e&&(e.etalonConversion=t.convInfo.convNumber),e&&typeof e.etalonConversion<"u"&&(t.convInfo.betterTo=e.etalonConversion!==0?(t.convInfo.convNumber-e.etalonConversion)/e.etalonConversion*100:0,t.convInfo.betterTo=Math.round(t.convInfo.betterTo*100)/100),e.chartSeries&&e.chartSeries.push(t.name)}getActions(t){if(!t.conversions.length)return 0;let n=0;return t.conversions.forEach(e=>{n+=e.target}),n}getShows(t){if(!t.conversions.length)return 0;let n=0;return t.conversions.forEach(e=>{n+=e.shows}),n}getConvItem(t){let n=this.binsDataService.distRound(t.s/t.n);return t.n!==0?n:"0%"}getConvNumber(t){return t.n!==0?t.s/t.n:0}filterByTab(t){this.isLoaderActive=!0,this.testArr=[],this.checkboxOnArray=[],t?this.queryForMockups.type=t:delete this.queryForMockups.type,delete this.queryForMockups.categories;let n=[];this.widgetService.getMockups(this.queryForMockups.type).pipe(Gt(e=>(n=e,this.widgetService.getMockupGroups(this.queryForMockups.type)))).subscribe(e=>{this.groups=e;for(let a=0;a<e.length;a++)for(let _=0;_<e[a].categories.length;_++)this.groups[a].categories[_]={checked:!1,id:e[a].categories[_].id,name:e[a].categories[_].name};this.actionAfterTabSwitch(n)})}actionAfterTabSwitch(t){setTimeout(()=>{this.mockups=[],this.testArr=t,this.fillArrayToShow()},200),setTimeout(()=>{this.isLoaderActive=!1},400)}fillArrayToShow(){for(let t=0;t<this.ITEMS_TO_ADD&&t<this.testArr.length;t++)this.mockups.push(this.testArr[t]),this.startItem=t+1,this.newItem=this.startItem}static{this.\u0275fac=function(n){return new(n||o)}}static{this.\u0275cmp=et({type:o,selectors:[["app-variant-add"]],inputs:{step:"step",editableAB:"editableAB",abTests:"abTests",currentVariantsLength:"currentVariantsLength",currentSiteId:"currentSiteId",currentTestId:"currentTestId",currentTestIndex:"currentTestIndex",abtTypeWidget:"abtTypeWidget"},standalone:!1,decls:4,vars:3,consts:[[1,"modal-header","text-center","justify-content-center"],["id","newABTabs",1,"modal-body","tab-content"],["id","step1",1,"p-2"],["id","step2",1,"active"],[1,"modal-title"],[1,"row"],[1,"m-2","widget-type-view"],[1,"m-2","widget-type-view",3,"click"],[1,"view-name","text-center"],[1,"create-widget-m",2,"padding-top","0",3,"ngClass"],[1,"filters-loader"],[3,"absolute"],[1,"container-for-loader"],[1,"header-modal"],[1,"sub-text"],[1,"just-blue-line"],[1,"main-content-container"],[1,"left-panel-filter"],[1,"left-panel-filter-title"],[1,"left-panel-filter-categories"],[1,"left-panel-filter-categories-container"],[1,"panel-widgets-list"],[1,"alert-if-empty"],["infiniteScroll","",1,"test-scroll-inf",3,"scrolled","fromRoot","infiniteScrollContainer"],[1,"mockup-selector-categories-mockups-item-container"],[1,"mb-2"],[1,"left-category-item"],[1,"form-check"],["type","checkbox",1,"form-check-input",3,"change","ngModelChange","ngModel"],[1,"form-check-text"],[1,"checkmark"],[1,"mockup-selector-categories-mockups-item"],[1,"mockup-selector-categories-mockups-item-hover"],["type","button",1,"btn","btn-success",3,"click"],[1,"fa","fa-check"],[1,"mockup-selector-categories-mockups-item-content"],["id","mockup-selector-categories-mockups-item-tariff-container"],[3,"src","alt"]],template:function(n,e){n&1&&(w(0,Un,4,3,"div",0),r(1,"div",1),w(2,Yn,4,0,"div",2),w(3,Xn,26,16,"div",3),s()),n&2&&(T(e.step===0?0:-1),c(2),T(e.step===0?2:-1),c(),T(e.step===1?3:-1))},dependencies:[ot,cn,xt,vt,On,at,it],styles:[".left-panel-filter[_ngcontent-%COMP%]{min-width:260px}"]})}}return o}
1)();var tt=Nn(qn());var ee=o=>({"background-color":o});function oe(o,P){o&1&&(r(0,"span"),p(1),C(2,"translate"),s()),o&2&&(c(),h(M(2,1,"widgetsList.add.chooseSite")))}function ie(o,P){if(o&1){let t=E();r(0,"li",11),y("click",function(){let e=m(t).$implicit,a=l();return f(a.setCurrSite(e))}),r(1,"a",12),p(2),s()()}if(o&2){let t=P.$implicit;c(2),h(t.name)}}function ae(o,P){o&1&&(r(0,"div",15)(1,"h3",18),p(2),C(3,"translate"),s(),r(4,"h4",19),p(5),C(6,"translate"),s(),x(7,"div",20),s()),o&2&&(c(2),h(M(3,2,"abtests.active.noCreated.title")),c(3),h(M(6,4,"abtests.active.noCreated.desc")))}function ce(o,P){o&1&&(r(0,"div",16)(1,"h3",18),p(2),C(3,"translate"),s()()),o&2&&(c(2),h(M(3,1,"abtests.active.noPaused")))}function se(o,P){o&1&&(r(0,"div",16)(1,"h3",18),p(2),C(3,"translate"),s()()),o&2&&(c(2),h(M(3,1,"abtests.active.noActive")))}function re(o,P){if(o&1&&x(0,"canvas",40),o&2){let t=l(3).$implicit,n=l(2);u("datasets",t.chartDatasets)("labels",t.chartLabels)("options",n.chartOptions)("legend",!1)}}function _e(o,P){o&1&&(r(0,"h4"),p(1),C(2,"translate"),s()),o&2&&(c(),h(M(2,1,"global.noData")))}function ge(o,P){if(o&1){let t=E();r(0,"div",58)(1,"input",59),C(2,"translate"),X("ngModelChange",function(e){m(t);let a=l();return Q(a.variant.name,e)||(a.variant.name=e),f(e)}),s()(),r(3,"button",9),y("click",function(){m(t);let e=l(9);return f(e.closeVariantEditing())}),x(4,"span",60),s(),r(5,"button",61),y("click",function(){m(t);let e=l(3).$implicit,a=l(4).$implicit,_=l(2);return f(_.updateVariantName(a,e))}),x(6,"span",62),s()}if(o&2){let t=l();G("is-invalid",t.variant.name.trim().length===0),c(),u("placeholder",N(M(2,6,"containerized.container.add.name"))),J("ngModel",t.variant.name),c(4),u("disabled",t.variant.name.trim().length===0)}}function le(o,P){if(o&1){let t=E();r(0,"div",63),x(1,"div",64),r(2,"span",65),p(3),s()(),r(4,"button",66),y("click",function(){m(t);let e=l(3).$implicit,a=l(6);return f(a.openVariantEditing(e))}),x(5,"span",67),s()}if(o&2){let t=l(3).$implicit;c(),u("ngStyle",ft(3,ee,t.color)),c(),u("title",t.name),c(),h(t.name)}}function de(o,P){if(o&1&&w(0,ge,7,8)(1,le,6,5),o&2){let t=P,n=l(2).$implicit;T(t.isOpen&&t.variant.id===n.id?0:1)}}function Ce(o,P){if(o&1&&x(0,"td",50),o&2){let t=l(2).$implicit,n=l(6);u("innerHTML",n.showBetterToValue(t),ht)("ngClass",n.getClassForBetterTo(t))}}function pe(o,P){if(o&1){let t=E();r(0,"button",33),C(1,"translate"),y("click",function(){m(t);let e=l(2),a=e.$implicit,_=e.$index,d=l(4),I=d.$implicit,b=d.$index,O=l(2);return f(O.deleteVariant(I,a.id,_,b))}),x(2,"span",68),s()}o&2&&u("title",N(M(1,2,"abtests.active.variant.delete")))}function Me(o,P){if(o&1){let t=E();r(0,"div",8)(1,"button",33),C(2,"translate"),y("click",function(){m(t);let e=l(2).$implicit,a=l(4),_=a.$implicit,d=a.$index,I=l(2);return f(I.setWinner(_.id,e.id,d))}),x(3,"span",69),s()()}o&2&&(c(),u("title",N(M(2,2,"abtests.active.variant.winner"))))}function Pe(o,P){if(o&1){let t=E();r(0,"tr",49)(1,"td",42),w(2,de,2,1),C(3,"async"),s(),r(4,"td",43),p(5),C(6,"thousandSuffix"),C(7,"thousandSuffix"),s(),r(8,"td",44),p(9),s(),w(10,Ce,1,2,"td",50),r(11,"td",46)(12,"div",51)(13,"ui-switch",52),y("change",function(){m(t);let e=l().$implicit,a=l(4).$implicit,_=l(2);return f(_.changeVariantState(e,a))}),X("ngModelChange",function(e){m(t);let a=l().$implicit;return Q(a.active,e)||(a.active=e),f(e)}),s()()(),r(14,"td",47)(15,"div",53)(16,"div",54)(17,"button",33),C(18,"translate"),y("click",function(){m(t);let e=l().$implicit,a=l(4).$implicit,_=l(2);return f(_.goToEdit(a.siteId,e.id))}),x(19,"span",55),s(),r(20,"button",33),C(21,"translate"),y("click",function(){m(t);let e=l(),a=e.$implicit,_=e.$index,d=l(4),I=d.$implicit,b=d.$index,O=l(2);return f(O.cloneVariant(I,a,_,b))}),x(22,"span",56),s(),w(23,pe,3,4,"button",57),s(),w(24,Me,4,4,"div",8),s()()()}if(o&2){let t,n=l().$implicit,e=l(6);G("inactive",!n.active),u("id",n.id),c(2),T((t=M(3,16,e.variantEditing$))?2:-1,t),c(3),mt(" ",$t(6,18,n.convInfo.n,2)," / ",$t(7,21,n.convInfo.s,2)," "),c(4),h(n.convInfo.conversion),c(),T(n.convInfo?10:-1),c(3),J("ngModel",n.active),c(3),u("ngClass",n.etalon?"margined-right-76":"margined-right-14"),c(),u("title",N(M(18,24,"abtests.active.variant.edit"))),c(3),u("title",N(M(21,26,"abtests.active.variant.copy"))),c(3),T(n.etalon?-1:23),c(),T(n.etalon?-1:24)}}function Oe(o,P){if(o&1&&w(0,Pe,25,28,"tr",48),o&2){let t=P.$implicit;T(t.convInfo?0:-1)}}function he(o,P){if(o&1&&(r(0,"div",41)(1,"table")(2,"thead")(3,"th",42),p(4),C(5,"translate"),s(),r(6,"th",43),p(7),C(8,"translate"),s(),r(9,"th",44),p(10),C(11,"translate"),s(),r(12,"th",45),p(13),C(14,"translate"),s(),r(15,"th",46),p(16),C(17,"translate"),s(),r(18,"th",47),p(19),C(20,"translate"),s()(),r(21,"tbody"),F(22,Oe,1,1,null,null,Zt().trackById,!0),s()()()),o&2){let t=l(3).$implicit;c(4),h(M(5,6,"abtests.variant")),c(3),h(M(8,8,"abtests.actions")),c(3),h(M(11,10,"abtests.conversion")),c(3),h(M(14,12,"abtests.improvement")),c(3),h(M(17,14,"abtests.active.toggle")),c(3),h(M(20,16,"abtests.active.management")),c(3),W(t.variants)}}function be(o,P){if(o&1&&(r(0,"div")(1,"div",39),w(2,re,1,4,"canvas",40)(3,_e,3,3,"h4"),s(),w(4,he,24,18,"div",41),s()),o&2){let t=l(2).$implicit;c(2),T(t.chartDatasets!=null&&t.chartDatasets.length?2:3),c(2),T(t.variants!=null&&t.variants.length&&t.variants[0].convInfo?4:-1)}}function me(o,P){o&1&&(r(0,"div",35),x(1,"app-preloader"),s())}function fe(o,P){if(o&1){let t=E();r(0,"app-card",22)(1,"div",23)(2,"div",24)(3,"div",25)(4,"cool-inline-edit-field",26),C(5,"translate"),y("editStarted",function(){m(t);let e=l().$implicit,a=l(2);return f(a.fixOldTest(e))})("saved",function(){m(t);let e=l().$implicit,a=l(2);return f(a.updateTest(e))}),X("ngModelChange",function(e){m(t);let a=l().$implicit;return Q(a.name,e)||(a.name=e),f(e)}),s(),r(6,"cool-inline-edit-field",27),C(7,"translate"),y("editStarted",function(){m(t);let e=l().$implicit,a=l(2);return f(a.fixOldTest(e))})("saved",function(){m(t);let e=l().$implicit,a=l(2);return f(a.updateTest(e))}),X("ngModelChange",function(e){m(t);let a=l().$implicit;return Q(a.description,e)||(a.description=e),f(e)}),s()(),r(8,"div",28)(9,"div",8)(10,"button",29),C(11,"translate"),y("click",function(){m(t);let e=l().$implicit,a=l(2);return f(a.startTest(e))}),x(12,"span",30),s(),r(13,"button",31),C(14,"translate"),y("click",function(){m(t);let e=l().$implicit,a=l(2);return f(a.pauseTest(e))}),x(15,"span",32),s()(),r(16,"div",8)(17,"button",33),C(18,"translate"),y("click",function(){m(t);let e=l(),a=e.$implicit,_=e.$index,d=l(2);return f(d.deleteTest(a.id,_))}),x(19,"span",34),s()()()(),w(20,be,5,2,"div")(21,me,2,0,"div",35),r(22,"div",36)(23,"button",37),y("click",function(){m(t);let e=l(),a=e.$implicit,_=e.$index,d=l(2);return f(d.addVariant(a,_))}),x(24,"span",38),p(25),C(26,"translate"),s()()()()}if(o&2){let t=l().$implicit;G("active",t.state==="ACTIVE"),u("id","testIdNum-"+t.id),c(4),J("ngModel",t.name),u("emptyText",M(
15,19,"abtests.active.addTitle")),c(2),J("ngModel",t.description),u("emptyText",M(7,21,"abtests.active.addDescription")),c(4),G("active",t.state==="ACTIVE"),u("title",N(M(11,23,"abtests.active.runTest"))),c(3),G("active",t.state!=="ACTIVE"),u("title",N(M(14,25,"abtests.active.pauseTest"))),c(4),u("title",N(M(18,27,"abtests.active.stopTest"))),c(3),T(t.isLoading?21:20),c(5),j(" ",M(26,29,"abtests.active.variant.add")," ")}}function ue(o,P){o&1&&x(0,"app-preloader")}function xe(o,P){if(o&1&&w(0,fe,27,31,"app-card",21)(1,ue,1,0,"app-preloader"),o&2){let t=P.$implicit;T(t.name?0:1)}}function ve(o,P){if(o&1&&(r(0,"div",13)(1,"div",14),w(2,ae,8,6,"div",15),w(3,ce,4,3,"div",16),w(4,se,4,3,"div",16),s()(),r(5,"section",17),F(6,xe,2,1,null,null,z),s()),o&2){let t=l();c(2),T(!t.allABTests.length||t.showOnlyIfNoTestsForCurrentSite?2:-1),c(),T(t.allABTests.length&&!t.abTests.length&&t.showWhat==="PAUSED"&&!t.showOnlyIfNoTestsForCurrentSite?3:-1),c(),T(t.allABTests.length&&!t.abTests.length&&t.showWhat==="ACTIVE"&&!t.showOnlyIfNoTestsForCurrentSite?4:-1),c(2),W(t.abTests)}}function ye(o,P){o&1&&x(0,"app-preloader",10),o&2&&u("absolute",!0)}var An=(()=>{class o{constructor(){this.router=S(ut),this.location=S(nn),this.translate=S(_n),this.modalService=S(pn),this.toastr=S(rn),this.binsDataService=S(st),this.tariffsService=S(bn),this.coreSitesService=S(Tt),this.sitesService=S(It),this.widgetService=S(St),this.containerizedWidgetService=S(kt),this.abTestsService=S(ct),this.currSite="",this.sites=[{id:"allsitesid",name:"\u0412\u0441\u0435 \u0441\u0430\u0439\u0442\u044B"}],this.showWhat="ALL",this.allABTests=[],this.abTests=[],this.isLoaded=!1,this.showOnlyIfNoTestsForCurrentSite=!1,this.chartOptions={responsive:!0,maintainAspectRatio:!1,elements:{line:{fill:!1}},plugins:{tooltip:{mode:"nearest",callbacks:{label:function(t){return": "+(t.formattedValue||"0")}}}},scales:{y:{beginAtZero:!0,ticks:{callback:t=>{if(t%1===0)return t}}}}},this.updatedEarlier=!1,this.widgetTypes=[],this.colorsArray=["#34495e","#9b59b6","#3498db","#62cb31","#ffb606","#e67e22","#e74c3c","#c0392b","#58b62c","#e43725","#2a7aaf","#7c4792","#4ea227","#b8651b","#9a2e22","#2a3a4b","#ffeb3b"],this.templates=[],this._variantEditing$=new Nt({isOpen:!1}),this.variantEditing$=this._variantEditing$.asObservable()}ngOnInit(){this.widgetsTemplatesSub=this.widgetService.getWidgetsTemplates().subscribe(t=>{this.templates=t}),this.widgetsTypesSub=this.widgetService.getWidgetsTypes().subscribe(t=>{this.widgetTypes=t,this.initTests()}),this.initSites(),$('[data-toggle="tooltip"]')?.tooltip("hide")}ngAfterViewChecked(){this.abTests.length&&this.abTests.forEach(t=>
1{t?.variants?.length&&t.variants.forEach(n=>{$("#"+n.id+" .name .cut")&&$("#"+n.id+" .name .cut")[0]&&($("#"+n.id+" .name .cut")[0].scrollWidth>$("#"+n.id+" .name .cut").innerWidth()+.4?$("#"+n.id+" .name .cut")?.tooltip({trigger:"hover"}):$("#"+n.id+" .name .cut")?.tooltip("hide"))})})}openVariantEditing(t){this._variantEditing$.next({isOpen:!0,variant:t})}closeVariantEditing(){this._variantEditing$.next({isOpen:!1})}fixOldTest(t){this.fixedTest=t}getSiteName(t){let n=this.getSiteById(t);return n!=null?n.name:""}getCroppedString(t,n,e){return t.length>n?t.substring(0,n)+e:t}trackById(t,n){return n.id}updateVariantName(t,n){Dt(qt(null)).pipe(Ut(),Ft(()=>t.containerized?this.containerizedWidgetService.rename(t.siteId,n.id,this._variantEditing$.getValue().variant.name):this.widgetService.rename(t.siteId,n.id,this._variantEditing$.getValue().variant.name))).subscribe(()=>this.closeVariantEditing())}changeVariantState(t,n){n.containerized?this.containerizedWidgetService.switch(n.siteId,t.id,!t.active).subscribe():this.widgetService.switch(n.siteId,t.id,!t.active).subscribe()}goToEdit(t,n){this.router.navigate([`/widgets/edit/${t}-${n}/`]).then()}getClassForBetterTo(t){let n="";return!t.etalon&&t.convInfo.n!==0&&(t.convInfo.betterTo>0?n="set-positive-better-color":t.convInfo.betterTo<0&&(n="set-negative-better-color")),n}showBetterToValue(t){return t.etalon?"\u042D\u0442\u0430\u043B\u043E\u043D":t.convInfo.n===0?"-":t.convInfo.betterTo&&t.convInfo.betterTo>0?"+"+t.convInfo.betterTo+"%":t.convInfo.betterTo!==void 0?t.convInfo.betterTo+"%":"-"}cloneVariant(t,n,e,a){this.abTestsService.cloneVariant(t.id,n.id).subscribe(_=>{if(!_){this.toastr.error("\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0430\u0440\u0438\u0430\u043D\u0442",this.translate.instant("global.error"));return}let d=Pt(nt({},_),{conversions:[],etalon:!1});this.addMoreDataToVariant(d,this.abTests[a].variants.length,this.abTests[a]),this.abTests[a].variants.push(d)})}deleteVariant(t,n,e,a){tt.default.fire({title:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?",text:"\u0412\u0430\u0440\u0438\u0430\u043D\u0442 \u0431\u0443\u0434\u0435\u0442 \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E \u0443\u0434\u0430\u043B\u0435\u043D.",icon:"warning",showCancelButton:!0,confirmButtonColor:"#DD6B55",confirmButtonText:"\u0414\u0430, \u0443\u0432\u0435\u0440\u0435\u043D",cancelButtonText:"\u041E\u0442\u043C\u0435\u043D\u0430",heightAuto:!1}).then(_=>{_.isConfirmed&&this.abTestsService.deleteVariant(t.id,n).subscribe(d=>{d&&this.abTests[a].variants.splice(e,1)})})}setWinner(t,n,e){tt.default.fire({title:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?",text:"\u041F\u0440\u0438 \u0432\u044B\u0431\u043E\u0440\u0435, \u0432\u0441\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0438 \u0434\u0438\u0437\u0430\u0439\u043D \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0430-\u043F\u043E\u0431\u0435\u0434\u0438\u0442\u0435\u043B\u044F \u0431\u0443\u0434\u0443\u0442 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u0432 \u0432\u0438\u0434\u0436\u0435\u0442, \u0430 \u0442\u0435\u0441\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D \u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D \u0432 \u0430\u0440\u0445\u0438\u0432",icon:"warning",showCancelButton:!0,confirmButtonColor:"#62cb31",confirmButtonText:"\u0414\u0430, \u0443\u0432\u0435\u0440\u0435\u043D",cancelButtonText:"\u041E\u0442\u043C\u0435\u043D\u0430",heightAuto:!1}).then(a=>{a.isConfirmed&&setTimeout(()=>{$('[role="tooltip"]').remove(),tt.default.fire({title:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0436\u0434\u0438\u0442\u0435.",text:"\u0418\u0434\u0435\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0435 \u0442\u0435\u0441\u0442\u0430.",icon:"warning",showCancelButton:!1,showConfirmButton:!1,showCloseButton:!1,heightAuto:!1}),this.abTestsService.chooseWinner(t,n).subscribe(_=>{_&&(this.abTests.splice(e,1),this.abTestsService.getTests().subscribe(d=>{this.allABTests=d}),tt.default.close())})},0)})}resetStats(t){tt.default.fire({title:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?",text:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430 A/B \u0442\u0435\u0441\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E \u0443\u0434\u0430\u043B\u0435\u043D\u0430",icon:"warning",showCancelButton:!0,confirmButtonColor:"#DD6B55",confirmButtonText:"\u0414\u0430, \u0443\u0432\u0435\u0440\u0435\u043D",cancelButtonText:"\u041E\u0442\u043C\u0435\u043D\u0430",heightAuto:!1}).then(n=>
1{n.isConfirmed&&this.abTestsService.resetStats(t.id).subscribe(e=>{e&&t.variants.forEach((a,_)=>{a.conversions=[],this.addMoreDataToVariant(a,_,t)})})})}addVariant(t,n){let e=this.modalService.open(Sn,{size:"xl",windowClass:"animate__animated animate__slideInDown animate__faster"});e.componentInstance.step=0,e.componentInstance.abTests=this.abTests,e.componentInstance.currentVariantsLength=t.variants.length,e.componentInstance.currentSiteId=t.siteId,e.componentInstance.currentTestId=t.id,e.componentInstance.currentTestIndex=n,e.componentInstance.abtTypeWidget=t.type,e.componentInstance.abtTypeWidget=t.type,e.componentInstance.editableAB=Pt(nt({},this.getEmptyABTest()),{containerized:t.containerized,templateId:this.getTemplateIdByType(t.type)})}startTest(t){t.state==="PAUSED"&&this.abTestsService.start(t.id).subscribe(n=>{n===200?t.state="ACTIVE":n===402&&this.showPaymentDialog(t.siteId,this.translate.instant("widgetsList.payment.abtest",{0:this.getSiteName(t.siteId)}))})}pauseTest(t){t.state==="ACTIVE"&&this.abTestsService.pause(t.id).subscribe(n=>{n===200&&(t.state="PAUSED")})}deleteTest(t,n){tt.default.fire({title:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?",text:"A/B \u0442\u0435\u0441\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D \u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D \u0432 \u0430\u0440\u0445\u0438\u0432.",icon:"warning",showCancelButton:!0,confirmButtonColor:"#DD6B55",confirmButtonText:"\u0414\u0430, \u0443\u0432\u0435\u0440\u0435\u043D",cancelButtonText:"\u041E\u0442\u043C\u0435\u043D\u0430",heightAuto:!1}).then(e=>{e.isConfirmed&&setTimeout(()=>{$('[role="tooltip"]').remove(),this.abTestsService.deleteTest(t).subscribe(a=>{a&&(this.abTests.splice(n,1),this.abTestsService.getTests().subscribe(_=>{this.allABTests=_}))})},0)})}updateTest(t){if(this.updatedEarlier){this.updatedEarlier=!1;return}if(!t||t.name.length>60||t.description.length>60){setTimeout(()=>{t.name=this.fixedTest.name,t.description=this.fixedTest.description},0);return}let n={name:t.name,description:t.description};this.updatedEarlier=!0,this.abTestsService.update(t.id,n).subscribe()}setCurrSite(t){this.currSite=t.id,this.getTestsById()}getTestsByState(t){this.getTestsById(),this.showWhat=t,this.showWhat==="ACTIVE"?this.abTests=this.abTests.filter(n=>n.state==="ACTIVE"):this.showWhat==="PAUSED"&&(this.abTests=this.abTests.filter(n=>n.state==="PAUSED"))}initSites(){this.sitesService.getSites().subscribe(t=>{this.coreSitesService.sites=t,this.sites=this.sites.concat(t),this.currSite=this.sites[0].id})}initTests(){this.abTestsService.getTests().subscribe(t=>{this.allABTests=this.mapABTests(t),this.abTests=this.allABTests,this.isLoaded=!0,this.startScrollToTest();let n=this.abTests.length;this.getConversions(0,n)})}mapABTests(t){return t.map(n=>(n.containerized=this.getCurrentType(n.type).containerized,n.isLoading=!0,Pt(nt({},n),{variants:[1]})))}getCurrentType(t){return this.widgetTypes.find(n=>n.id===t)}getConversions(t,n){setTimeout(()=>{$('[data-toggle="tooltip"]')?.tooltip({trigger:"hover"})},0),t<n&&this.abTestsService.getVariants(this.abTests[t].id).pipe(Ft(e=>(this.abTests[t].variants=e,this.abTestsService.getStatistics(this.abTests[t].id)))).subscribe(e=>{e?(this.abTests[t].chartDatasets=[],this.abTests[t].chartLabels=[],this.abTests[t].chartSeries=[],this.abTests[t].variants.find(_=>_.abtestInfo.type==="ETALON")&&(this.abTests[t].variants=[this.abTests[t].variants.find(_=>_.abtestInfo.type==="ETALON"),...this.abTests[t].variants.filter(_=>
1_.abtestInfo.type!=="ETALON")]),this.abTests[t].variants.forEach(_=>{_.conversions=e[_.id],_.etalon=_.abtestInfo.type==="ETALON"}),Dt(this.abTests[t].variants).pipe(Rt(_=>this.widgetService.getWidgetStatistics(_.id).pipe(Ht(d=>{_.shows=d.shows,_.targets=d.targets})))).subscribe().add(()=>{if(this.abTests[t].isLoading=!1,this.abTests[t].variants.forEach((d,I)=>{this.addMoreDataToVariant(d,I,this.abTests[t])}),this.chartGetLegend(this.abTests[t].variants)){let d=this.getChartDataArray(this.chartGetLegend(this.abTests[t].variants)),I=Object.keys(this.chartGetLegend(this.abTests[t].variants));d[0].length===1&&I.push(""),this.abTests[t].chartDatasets=d.map((b,O)=>{let V=this.abTests[t].variants[O]?.color||this.colorsArray[O];return{data:b,pointBackgroundColor:V,pointRadius:1,borderColor:V,fill:!1}}),this.abTests[t].chartLabels=I}this.getConversions(t+1,n)})):this.getConversions(t+1,n)})}chartGetLegend(t){let n={},e=this.prepareData(t),a=null;if(e.range.min===null)return null;if(e.range.min===e.range.max){let _=e.range.min,d=`${_.getDate()}.${_.getMonth()+1}.${_.getFullYear()}`;return this.fillCharts(e,n,a,d),n}for(let _=e.range.min;_<=e.range.max;_.setDate(_.getDate()+1)){let d=`${_.getDate()}.${_.getMonth()+1}.${_.getFullYear()}`;this.fillCharts(e,n,a,d),a=d}return n}getChartDataArray(t){if(!t)return[];let n=[];for(let e in t)if(t[e]){let a=t[e];n.push(a)}return dn(n)}startScrollToTest(){let t=this.location.path(),n=t.indexOf("testIdNum=");if(n>-1){let e=t.substring(n);setTimeout(()=>{let a=$("#"+e.replace("=","-")).offset().top+document.getElementsByClassName("wrapper")[0].scrollTop-80;$(".wrapper").animate({scrollTop:a},500,"swing")},100)}}prepareData(t){let n={min:null,max:null},e=[];for(let a=0;a<t.length;a++){e[a]={id:t[a].id,name:t[a].name,conversionMap:{},totals:{shows:null,targets:null}};for(let _=0;_<t[a].conversions?.length;_++){let d=t[a].conversions[_];d.day=this.timeConverter(d.date).day,d.month=this.timeConverter(d.date).month,d.year=this.timeConverter(d.date).year;let I=new Date(d.year,d.month-1,d.day);(n.min==null||I<n.min)&&(n.min=I),(n.max==null||I>n.max)&&(n.max=I),e[a].totals.shows=e[a].totals.shows==null?d.shows:e[a].totals.shows+d.shows,e[a].totals.targets=e[a].totals.targets==null?d.targets:e[a].totals.targets+d.targets,e[a].conversionMap[`${d.day}.${d.month}.${d.year}`]=(e[a].totals.targets*100/e[a].totals.shows).toFixed(2)}}return{range:n,widgetsMap:e}}timeConverter(t){let n=new Date(t),e=n.getFullYear(),a=n.getMonth()+1,_=n.getDate();return{year:e,month:a,day:_}}fillCharts(t,n,e,a){n[a]=[];for(let _=0;_<t.widgetsMap.length;_++)a in t.widgetsMap[_].conversionMap?n[a].push(t.widgetsMap[_].conversionMap[a]):e!=null?n[a].push(n[e][_]):n[a].push(null)}getTestsById(){this.showWhat="ALL",this.showOnlyIfNoTestsForCurrentSite=!1,this.currSite==="allsitesid"?this.abTests=this.allABTests:(this.abTests=this.allABTests.filter(t=>t.siteId===this.currSite),this.abTests.length||(this.showOnlyIfNoTestsForCurrentSite=!0))}showPaymentDialog(t,n){this.tariffsService.checkTariffPlans(t,this.translate.instant("sitelist.tariff.improve"),n,this.get
1SiteName(t))}addMoreDataToVariant(t,n,e){t.conversions=wt(t.conversions,"date"),t.color=this.colorsArray[n];let a=this.binsDataService.binDist([{s:t.targets,n:t.shows}],{confRange:.8,disc:3e4}).res;t.convInfo=a[0],t.convInfo.conversion=this.getConvItem(t.convInfo),t.convInfo.convNumber=this.getConvNumber(t.convInfo),t.etalon&&e&&(e.etalonConversion=t.convInfo.convNumber),e&&typeof e.etalonConversion<"u"&&(t.convInfo.betterTo=e.etalonConversion!==0?(t.convInfo.convNumber-e.etalonConversion)/e.etalonConversion*100:0,t.convInfo.betterTo=Math.round(t.convInfo.betterTo*100)/100),e.chartSeries.push(t.name)}getActions(t){if(!t.conversions.length)return 0;let n=0;return t.conversions.forEach(e=>{n+=e.targets}),n}getShows(t){if(!t.conversions.length)return 0;let n=0;return t.conversions.forEach(e=>{n+=e.shows}),n}getConvItem(t){let n=this.binsDataService.distRound(t.s/t.n);return t.n!==0?n:"0%"}getConvNumber(t){return t.n!==0?t.s/t.n:0}getEmptyABTest(){return{mode:"",templateId:"",mockupId:""}}getSiteById(t){for(let n of this.sites)if(n.id===t)return n;return null}getTemplateIdByType(t){return this.templates.filter(e=>e.type===t)[0].id}ngOnDestroy(){this.widgetsTypesSub&&this.widgetsTypesSub.unsubscribe(),this.widgetsTemplatesSub&&this.widgetsTemplatesSub.unsubscribe()}static{this.\u0275fac=function(n){return new(n||o)}}static{this.\u0275cmp=et({type:o,selectors:[["app-abtests-active"]],standalone:!1,decls:32,vars:27,consts:[[1,"page-title"],[1,"title-main"],["href","http://leadgenic.userecho.com/topics/355-instruktsiya-po-rabote-s-sistemoj-ab-testirovaniya-vidzhetov/","target","_blank"],[1,"filters"],[1,"filter"],[1,"dropdown"],["aria-expanded","true","aria-haspopup","true","data-toggle","dropdown","type","button",1,"btn","btn-default","dropdown-toggle"],[1,"dropdown-menu"],[1,"btn-group"],[1,"btn","btn-default",3,"click"],[3,"absolute"],[3,"click"],[1,"dropdown-item"],[1,"flex-column","toolbar-content"],[1,"wrapper-test"],[1,"mt-4"],[1,"mt-3"],[1,"tests-container"],[1,"f-0","text-center"],[1,"f-2","text-center"],[1,"how-to-add-test-bg"],[1,"app-card","test-active",3,"id","active"],[1,"app-card","test-active",3,"id"],[1,"ab-test"],[1,"ab-test-header"],[1,"header-left"],["name","name",1,"test-item-name",3,"editStarted","saved","ngModelChange","ngModel","emptyText"],["name","desc",1,"test-item-desc",3,"editStarted","saved","ngModelChange","ngModel","emptyText"],[1,"header-right"],["data-container","body","data-placement","top","data-toggle","tooltip",1,"btn","btn-sm","btn-default","start-widget-btn",3,"click","title"],["inlineSVG","/assets/images/core/play.svg"],["data-container","body","data-placement","top","data-toggle","tooltip",1,"btn","btn-sm","btn-default","stop-widget-btn",3,"click","title"],["inlineSVG","/assets/images/core/pause.svg"],["data-container","body","data-placement","top","data-toggle","tooltip",1,"btn","btn-sm","btn-default",3,"click","title"],["inlineSVG","/assets/images/core/stop.svg"],[1,"ab-test-data"],[1,"ab-test-footer"],["type","button",1,"btn",3,"click"],["inlineSVG","/assets/images/core/plus.svg"],[1,"ab-test-graph"],["baseChart","","type","line","id","line",3,"datasets","labels","options","legend"],[1,"ab-test-table"],[1,"name"],[1,"shows"],[1,"conv"],[1,"update"],[1,"onoff"],[1,"actions"],[3,"id","inactive"],[3,"id"],[1,"update",3,"innerHTML","ngClass"],[1,"onoff-container"],["size","medium",3,"change","ngModelChange","ngModel"],[1,"buttons-container"],[1,"btn-group","edit-btns",3,"ngClass"],["inlineSVG","/assets/images/core/settings.svg"],["inlineSVG","/assets/images/core/copy.svg"],["data-container","body","data-placement","top","data-toggle","tooltip",1,"btn","btn-sm","btn-default",3,"title"],[1,"input"],["type","text",1,"form-control",3,"ngModelChange","ngModel","placeholder"],["inlineSVG","/assets/images/core/cross.svg"],[1,"btn","btn-default",3,"click","disabled"],["inlineSVG","/assets/images/core/check.svg"],[1,"label"],[1,"colored-item-circle",3,"ngStyle"],[1,"cut",3,"title"],[1,"btn",3,"click"],["inlineSVG","/assets/images/core/pencil.svg"],["inlineSVG","/assets/images/core/delete-icon.svg"],["inlineSVG","/assets/images/core/trophy.svg"]],template:function(n,e){n&1&&(r(0,"div",0)(1,"h1",1),p(2),C(3,"translate"),s(),r(4,"a",2),p(5),C(6,"translate"),s()(),r(7,"h2"),p(8),C(9,"translate"),s(),r(10,"div",3)(11,"div",4)(12,"div",5)(13,"button",6),w(14,oe,3,3,"span"),p(15),s(),r(16,"ul",7),F(17,ie,3,1,"li",null,z),s()()(),r(19,"div",4)(20,"div",8)(21,"button",9),y("click",function(){return e.getTestsByState("ALL")}),p(22),C(23,"translate"),s(),r(24,"button",9),y("click",function(){return e.getTestsByState("ACTIVE")}),p(25),C(26,"translate"),s(),r(27,"button",9),y("click",function(){return e.getTestsByState("PAUSED")}),p(28),C(29,"translate"),s()()()(),w(30,ve,8,3)(31,ye,1,1,"app-preloader",10)),n&2&&(c(2),h(M(3,15,"sidebar.abtests")),c(3),j(" ",M(6,17,"abtests.active.instruction")," "),c(3),h(M(9,19,"abtests.show")),c(6),T(e.currSite.trim().length===0?14:-1),c(),j(" ",e.getCroppedString(e.getSiteName(e.currSite),30,"\u2026")," "),c(2),W(e.sites),c(4),G("active",e.showWhat==="ALL"),
1c(),j(" ",M(23,21,"abtests.active.all")," "),c(2),G("active",e.showWhat==="ACTIVE"),c(),j(" ",M(26,23,"abtests.active.active")," "),c(2),G("active",e.showWhat==="PAUSED"),c(),j(" ",M(29,25,"abtests.active.paused")," "),c(2),T(e.isLoaded?30:31))},dependencies:[ot,en,fn,sn,xt,vt,Mn,yt,xn,at,At,on,it,hn],styles:[".page-title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}.title-button[_ngcontent-%COMP%]{padding:20px 24px;border-radius:10px;display:flex;align-items:center;justify-content:space-between}.title-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-style:normal;font-weight:500;font-size:1.3rem;line-height:1.7rem}.title-button[_ngcontent-%COMP%] span.icon[_ngcontent-%COMP%]{width:26px;height:26px;margin-right:18px;position:relative}.title-button[_ngcontent-%COMP%] span.icon[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (max-width: 1919px){.title-button[_ngcontent-%COMP%]{padding:14px 18px}}@media (max-width: 1199px){.title-button[_ngcontent-%COMP%]{padding:16px 20px}.title-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1.1rem;line-height:1.5rem}}@media (max-width: 991px){.title-button[_ngcontent-%COMP%]{padding:12px 16px}.title-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.9rem;line-height:1.2rem}.title-button[_ngcontent-%COMP%] span.icon[_ngcontent-%COMP%]{width:22px;height:22px}}@media (max-width: 767px){.title-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem}.title-button[_ngcontent-%COMP%] span.icon[_ngcontent-%COMP%]{width:18px;height:18px;margin-right:10px}}[_nghost-%COMP%] .page-title[_ngcontent-%COMP%]{margin-bottom:35px}[_nghost-%COMP%] .page-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:1rem;line-height:1.2rem;color:#4898a8;text-decoration:none}[_nghost-%COMP%] .page-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-style:normal;font-weight:500;font-size:1rem;line-height:1.2rem;color:#16181d;margin:0}[_nghost-%COMP%] .filters[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:10px}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{width:100%;min-width:350px}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;border-radius:4px;padding:8px 14px;font-style:normal;font-weight:400;font-size:.9rem;line-height:1.2rem;color:#7e889a}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{top:unset}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%}@media (max-width: 991px){[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{min-width:300px}}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:40px;padding:8px 14px;font-style:normal;font-weight:500!important;font-size:.9rem;line-height:1.2rem;color:#16181d}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child{border-radius:4px 0 0 4px}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:last-child{border-radius:0 4px 4px 0}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] button.btn.active[_ngcontent-%COMP%]:not(:disabled){background:#4898a81a;border-color:#4898a8;color:#4898a8}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%]{width:100%;margin-top:30px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:30px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card.test-active[_ngcontent-%COMP%]{border-top:9px solid #E25336}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card.active[_ngcontent-%COMP%]{border-color:#59a44a}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;gap:35px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%] .test-item-name[_ng
1content-%COMP%]{margin:0;padding:0;font-style:normal;font-weight:400;font-size:1.3rem;line-height:1.7rem;color:#16181d;word-break:break-word}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%] .test-item-desc[_ngcontent-%COMP%]{margin:0;padding:0;font-style:normal;font-weight:400;font-size:1rem;line-height:1.2rem;color:#7e889a;word-break:break-word}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:36px;padding:4px 16px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:#f4f4f6}@media (max-width: 767px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%]{flex-wrap:wrap}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-data[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:370px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-graph[_ngcontent-%COMP%]{position:relative;height:330px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-graph[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#9e9e9e;font-size:1rem;font-weight:200}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%]{display:block;width:100%;max-height:65vh;border:1px solid #D4D7DD;border-radius:5px;overflow:auto}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{table-layout:fixed;width:100%;height:100%;position:relative;color:#16181d}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{width:100%;display:flex;position:sticky;z-index:1;top:0;background-color:#fff}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{display:table-header-group;height:100%;padding:7px 3px 7px 10px;font-style:normal;font-weight:500;font-size:1rem;line-height:1.2rem;text-align:left;text-transform:capitalize;color:#7e889a;background-color:#fff;border-bottom:1px solid #D4D7DD}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:.85rem;line-height:1rem}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{width:100%;height:50px;display:flex;align-items:flex-start;min-width:auto}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.inactive[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{background-color:#fdebeb}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%]{border-bottom:none}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:flex-start;padding:7px 3px 7px 10px;font-style:normal;font-weight:500;font-size:1rem;line-height:1.2rem;text-align:left;word-break:break-all}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:.8rem;line-height:1rem}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%]{font-weight:700;white-space:nowrap;font-size:.9rem;gap:5px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-letter{text-transform:uppercase}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(.btn-default).btn:not(:focus){opacity:0}
1@media (max-width: 1199px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(.btn-default).btn:not(:focus){opacity:1}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] .cut[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] .input[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{font-size:.9rem}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:8px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(.btn-default).btn{padding:4px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(.btn-default).btn span[_ngcontent-%COMP%]{width:26px;height:26px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button.btn[_ngcontent-%COMP%]{width:2rem!important;height:2rem!important;padding:7px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button.btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;width:1.2rem;height:1.2rem;position:relative}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button.btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button.btn-default[_ngcontent-%COMP%]:last-child{background-color:#59a44a}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button.btn-default[_ngcontent-%COMP%]:last-child span[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:15px;overflow:hidden}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] .colored-item-circle[_ng
1content-%COMP%]{width:14px;min-width:14px;height:14px;min-height:14px;border-radius:50%}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%]:hover button[_ngcontent-%COMP%]:not(.btn-default).btn{opacity:1}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:10px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%]{gap:5px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]{margin:0!important}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:4px 16px;min-width:60px;height:36px;border:1px solid #D4D7DD;font-style:normal;font-weight:500;font-size:1rem;line-height:1.2rem;color:#505662;border-radius:0;-webkit-user-select:none;user-select:none}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:.3rem .8rem!important;min-width:initial!important;height:initial!important}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:flex;position:relative;width:28px;height:28px;color:#505662}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:22px;height:22px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]:first-child{border-radius:5px 0 0 5px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]:last-child{border-radius:0 5px 5px 0}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]:last-child button[_ngcontent-%COMP%]{border-radius:5px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.onoff[_ngcontent-%COMP%] .onoff-container[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{height:100%;font-style:normal;font-weight:500;text-align:left;background-color:#fff;border-bottom:1px solid #D4D7DD}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:not(:last-of-type), [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(:last-of-type), [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:not(:last-of-type), [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(:last-of-type){border-right:1px solid #D4D7DD}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%]{width:32%;min-width:420px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%]{min-width:240px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.shows[_ngcontent-%COMP%]{width:13%;min-width:220px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.shows[_ngcontent-%COMP%]{min-width:160px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.conv[_ngcontent-%COMP%]{width:15%;min-width:180px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.conv[_ngcontent-%COMP%]{min-width:120px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.update[_ngcontent-%COMP%]{width:12%;min-width:240px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.update[_ngcontent-%COMP%]{min-width:140px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.onoff[_ngcontent-%COMP%]{width:10%;min-width:160px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.onoff[_ngcontent-%COMP%]{min-width:120px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.actions[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] t
1body[_ngcontent-%COMP%] th.actions[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%]{width:18%;min-width:220px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%]{padding:0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:.6rem .8rem;border-radius:4px;font-style:normal;font-weight:500;font-size:1rem;line-height:1rem;display:flex;align-items:center;justify-content:flex-start;gap:20px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;width:24px;height:24px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child{background:#4898a81a;border-color:#4898a8;color:#4898a8}@media (max-width: 575px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.how-to-add-test-bg[_ngcontent-%COMP%]{margin:0 auto;width:470px;height:370px;background:url(/assets/images/abtests/example-create-test.png) center no-repeat;background-size:contain}.set-positive-better-color[_ngcontent-%COMP%]{color:#62cb31}.set-negative-better-color[_ngcontent-%COMP%]{color:#d31112}"]})}}return o})();function we(o,P){o&1&&(r(0,"span"),p(1),C(2,"translate"),s()),o&2&&(c(),h(M(2,1,"widgetsList.add.chooseSite")))}function Te(o,P){if(o&1){let t=E();r(0,"li",11),y("click",function(){let e=m(t).$implicit,a=l(2);return f(a.setCurrSite(e))}),r(1,"a",12),p(2),s()()}if(o&2){let t=P.$implicit;c(2),h(t.name)}}function Se(o,P){o&1&&(r(0,"div",8)(1,"div",13)(2,"div",14)(3,"h3",15),p(4),C(5,"translate"),s()()()()),o&2&&(c(4),h(M(5,1,"abtests.archive.completed")))}function Ae(o,P){if(o&1&&(r(0,"tr")(1,"td",26)(2,"span"),p(3),s()(),r(4,"td",27),p(5),s(),r(6,"td",28),p(7),s(),x(8,"td",30),s()),o&2){let t=P.$implicit,n=l(4);c(3),h(t.name||"empty"),c(2),mt("",t.shows," / ",t.target),c(2),h(t.conversion),c(),u("innerHTML",n.showBetterToValue(t),ht)("ngClass",n.getClassForBetterTo(t))}}function Ie(o,P){if(o&1&&(r(0,"div",25)(1,"table")(2,"thead")(3,"th",26),p(4),C(5,"translate"),s(),r(6,"th",27),p(7),C(8,"translate"),s(),r(9,"th",28),p(10),C(11,"translate"),s(),r(12,"th",29),p(13),C(14,"translate"),s()(),r(15,"tbody"),F(16,Ae,9,6,"tr",null,z),s()()()),o&2){let t=l().$implicit;c(4),h(M(5,4,"abtests.variant")),c(3),h(M(8,6,"abtests.actions")),c(3),h(M(11,8,"abtests.conversion")),c(3),h(M(14,10,"abtests.improvement")),c(3),W(t.variants)}}function ke(o,P){if(o&1){let t=E();r(0,"app-card",10)(1,"div",16)(2,"div",17)(3,"div",18)(4,"div",19),p(5),C(6,"translate"),s(),r(7,"div",20),p(8),C(9,"translate"),s()(),r(10,"div",21)(11,"div",22)(12,"button",23),C(13,"translate"),y("click",function(){let e=m(t),a=e.$implicit,_=e.$index,d=l(2);return f(d.deleteArchTest(a.id,_))}),x(14,"span",24),s()()()(),w(15,Ie,18,12,"div",25),s()()}if(o&2){let t=P.$implicit;u("id","testIdNum-"+t.id),c(5),h(t.name||M(6,6,"abtests.archive.noTitle")),c(3),h(t.description||M(9,8,"abtests.archive.noDescription")),c(4),u("title",N(M(13,10,"abtests.archive.delete"))),c(3),T(t.variants.length?15:-1)}}function Be(o,P){if(o&1&&(Jt(0),r(1,"h2"),p(2),C(3,"translate"),s(),r(4,"div",3)(5,"div",4)(6,"div",5)(7,"button",6),w(8,we,3,3,"span"),p(9),s(),r(10,"ul",7),F(11,Te,3,1,"li",null,z),s()()()(),Qt(),w(13,Se,6,3,"div",8),r(14,"section",9),F(15,ke,16,12,"app-card",10,z),s()),o&2){let t=l();c(2),h(M(3,4,"abtests.show")),c(6),T((t.currSite==null?null:t.currSite.trim().length)===0?8:-1),c(),j(" ",t.getCroppedString(t.getSiteName(t.currSite),30,"\u2026")," "),c(2),W(t.sites),c(2),T(t.abTests.length?-1:13),c(2),W(t.abTests)}}function Ee(o,P){o&1&&x(0,"app-preloader",2),o&2&&u("absolute",!0)}var In=(()=>{class o{constructor(){this.binsDataService=S(st),this.coreSitesService=S(Tt),this.sitesService=S(It),this.abTestsService=S(ct),this.abTests=[],this.sites=[{id:"allsitesid",name:"\u0412\u0441\u0435 \u0441\u0430\u0439\u0442\u044B"}],this.showWhat="ALL",this.allABTests=[],this.isLoaded=!1}ngOnInit(){this.initSites(),this.initTests()}ngAfterViewChecked(){$('[data-toggle="tooltip"]')?.tooltip({trigger:"hover"})}setCurrSite(t){this.currSite=t.id,this.getTestsById()}deleteArchTest(t,n){$('[data-toggle="tooltip"]')?.tooltip("hide"),this.abTestsService.deleteArchTest(t).subscribe(e=>{e&&(this.abTests.splice(n,1),this.abTestsService.getArchTests().subscribe(a=>{this.allABTests=a}))})}getClassForBetterTo(t){let n="";return!t.etalon&&t.shows!==0&&(t.betterTo>0?n="set-positive-better-color":t.betterTo<0&&(n="set-negative-better-color")),n}showBetterToValue(t){return t.etalon?"\u042D\u0442\u0430\u043B\u043E\u043D":t.shows===0?"-":t.betterTo>0?"+"+t.betterTo+"%":t.betterTo<0?t.betterTo+"%":""}getSiteName(t){let n=this.getSiteById(t);return n!=null?n.name:""}getCroppedString(t,n,e){return t.length>n?t.substring(0,n)+e:t}initSites(){this.sitesService.getSites().subscribe(t=>{this.coreSitesService.sites=t,this.sites=this.sites.concat(t),this.currSite=this.sites[0].id})}initTests(){this.abTestsService.getArchTests().subscribe(t=>{this.allABTests=t,this.abTests=this.allABTests,this.isLoaded=!0,this.getConversions()})}
1getConversions(){this.abTests.forEach(t=>{t.variants.forEach(n=>{n.conversion=this.getConvItem(n),n.convNumber=this.getConvNumber(n),n.etalon&&(t.etalonConversion=n.convNumber),typeof t.etalonConversion<"u"&&(n.betterTo=t.etalonConversion!==0?(n.convNumber-t.etalonConversion)/t.etalonConversion*100:0,n.betterTo=Math.round(n.betterTo*100)/100)})})}getConvItem(t){let n=this.binsDataService.distRound(t.target/t.shows);return t.shows!==0?n:"0%"}getConvNumber(t){return t.shows!==0?t.target/t.shows:0}getTestsById(){this.showWhat="ALL",this.currSite==="allsitesid"?this.abTests=this.allABTests:this.abTests=this.allABTests.filter(t=>t.siteId===this.currSite)}getSiteById(t){for(let n of this.sites)if(n.id===t)return n;return null}static{this.\u0275fac=function(n){return new(n||o)}}static{this.\u0275cmp=et({type:o,selectors:[["app-abtests-archive"]],standalone:!1,decls:6,vars:4,consts:[[1,"page-title"],[1,"title-main"],[3,"absolute"],[1,"filters"],[1,"filter"],[1,"dropdown"],["aria-expanded","true","aria-haspopup","true","data-toggle","dropdown","type","button",1,"btn","btn-default","dropdown-toggle"],[1,"dropdown-menu"],[1,"flex-column","toolbar-content"],[1,"tests-container"],[1,"app-card",3,"id"],[3,"click"],[1,"dropdown-item"],[1,"wrapper-test"],[1,"mt-4"],[1,"f-0","text-center"],[1,"ab-test"],[1,"ab-test-header"],[1,"header-left"],[1,"test-item-name"],[1,"test-item-desc"],[1,"header-right"],[1,"btn-group"],["data-container","body","data-placement","top","data-toggle","tooltip",1,"btn","btn-sm","btn-default",3,"click","title"],["inlineSVG","/assets/images/core/delete-icon.svg"],[1,"ab-test-table"],[1,"name"],[1,"shows"],[1,"conv"],[1,"update"],[1,"update",3,"innerHTML","ngClass"]],template:function(n,e){n&1&&(r(0,"div",0)(1,"h1",1),p(2),C(3,"translate"),s()(),w(4,Be,17,6)(5,Ee,1,1,"app-preloader",2)),n&2&&(c(2),h(M(3,2,"abtests.archive.title")),c(2),T(e.isLoaded?4:5))},dependencies:[ot,yt,at,At,it],styles:[".page-title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}.title-button[_ngcontent-%COMP%]{padding:20px 24px;border-radius:10px;display:flex;align-items:center;justify-content:space-between}.title-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-style:normal;font-weight:500;font-size:1.3rem;line-height:1.7rem}.title-button[_ngcontent-%COMP%] span.icon[_ngcontent-%COMP%]{width:26px;height:26px;margin-right:18px;position:relative}.title-button[_ngcontent-%COMP%] span.icon[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (max-width: 1919px){.title-button[_ngcontent-%COMP%]{padding:14px 18px}}@media (max-width: 1199px){.title-button[_ngcontent-%COMP%]{padding:16px 20px}.title-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1.1rem;line-height:1.5rem}}@media (max-width: 991px){.title-button[_ngcontent-%COMP%]{padding:12px 16px}.title-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.9rem;line-height:1.2rem}.title-button[_ngcontent-%COMP%] span.icon[_ngcontent-%COMP%]{width:22px;height:22px}}@media (max-width: 767px){.title-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem}.title-button[_ngcontent-%COMP%] span.icon[_ngcontent-%COMP%]{width:18px;height:18px;margin-right:10px}}[_nghost-%COMP%] .page-title[_ngcontent-%COMP%]{margin-bottom:35px}[_nghost-%COMP%] .page-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:1rem;line-height:1.2rem;color:#4898a8;text-decoration:none}[_nghost-%COMP%] .page-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-style:normal;font-weight:500;font-size:1rem;line-height:1.2rem;color:#16181d;margin:0}[_nghost-%COMP%] .filters[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:10px}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{width:100%;min-width:350px}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;border-radius:4px;padding:8px 14px;font-style:normal;font-weight:400;font-size:.9rem;line-height:1.2rem;color:#7e889a}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{top:unset}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%}@media (max-width: 991px){[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{min-width:300px}}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:40px;padding:8px 14px;font-style:normal;font-weight:500!important;font-size:.9rem;line-height:1.2rem;color:#16181d}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child{border-radius:4px 0 0 4px}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:last-child{border-radius:0 4px 4px 0}[_nghost-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] button.btn.active[_ngcontent-%COMP%]:not(:disabled){background:#4898a81a;border-color:#4898a8;color:#4898a8}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%]{width:100%;margin-top:30px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:30px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card.test-active[_ngcontent-%COMP%]{border-top:9px solid #E25336}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card.active[_ngcontent-%COMP%]{border-color:#59a44a}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;flex-wrap:nowrap;gap:35px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%] .test-item-name[_ng
1content-%COMP%]{margin:0;padding:0;font-style:normal;font-weight:400;font-size:1.3rem;line-height:1.7rem;color:#16181d;word-break:break-word}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%] .test-item-desc[_ngcontent-%COMP%]{margin:0;padding:0;font-style:normal;font-weight:400;font-size:1rem;line-height:1.2rem;color:#7e889a;word-break:break-word}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:36px;padding:4px 16px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:#f4f4f6}@media (max-width: 767px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-header[_ngcontent-%COMP%]{flex-wrap:wrap}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-data[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:370px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-graph[_ngcontent-%COMP%]{position:relative;height:330px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-graph[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#9e9e9e;font-size:1rem;font-weight:200}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%]{display:block;width:100%;max-height:65vh;border:1px solid #D4D7DD;border-radius:5px;overflow:auto}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{table-layout:fixed;width:100%;height:100%;position:relative;color:#16181d}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{width:100%;display:flex;position:sticky;z-index:1;top:0;background-color:#fff}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{display:table-header-group;height:100%;padding:7px 3px 7px 10px;font-style:normal;font-weight:500;font-size:1rem;line-height:1.2rem;text-align:left;text-transform:capitalize;color:#7e889a;background-color:#fff;border-bottom:1px solid #D4D7DD}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-size:.85rem;line-height:1rem}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{width:100%;height:50px;display:flex;align-items:flex-start;min-width:auto}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr.inactive[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{background-color:#fdebeb}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%]{border-bottom:none}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:flex-start;padding:7px 3px 7px 10px;font-style:normal;font-weight:500;font-size:1rem;line-height:1.2rem;text-align:left;word-break:break-all}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:.8rem;line-height:1rem}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%]{font-weight:700;white-space:nowrap;font-size:.9rem;gap:5px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-letter{text-transform:uppercase}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(.btn-default).btn:not(:focus){opacity:0}
1@media (max-width: 1199px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(.btn-default).btn:not(:focus){opacity:1}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] .cut[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] .input[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{font-size:.9rem}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:8px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(.btn-default).btn{padding:4px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(.btn-default).btn span[_ngcontent-%COMP%]{width:26px;height:26px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button.btn[_ngcontent-%COMP%]{width:2rem!important;height:2rem!important;padding:7px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button.btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;width:1.2rem;height:1.2rem;position:relative}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button.btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button.btn-default[_ngcontent-%COMP%]:last-child{background-color:#59a44a}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] button.btn-default[_ngcontent-%COMP%]:last-child span[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:15px;overflow:hidden}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] .colored-item-circle[_ng
1content-%COMP%]{width:14px;min-width:14px;height:14px;min-height:14px;border-radius:50%}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%]:hover button[_ngcontent-%COMP%]:not(.btn-default).btn{opacity:1}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:10px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%]{gap:5px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]{margin:0!important}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:4px 16px;min-width:60px;height:36px;border:1px solid #D4D7DD;font-style:normal;font-weight:500;font-size:1rem;line-height:1.2rem;color:#505662;border-radius:0;-webkit-user-select:none;user-select:none}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:.3rem .8rem!important;min-width:initial!important;height:initial!important}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:flex;position:relative;width:28px;height:28px;color:#505662}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:22px;height:22px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]:first-child{border-radius:5px 0 0 5px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]:last-child{border-radius:0 5px 5px 0}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%] .buttons-container[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]:last-child button[_ngcontent-%COMP%]{border-radius:5px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td.onoff[_ngcontent-%COMP%] .onoff-container[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{height:100%;font-style:normal;font-weight:500;text-align:left;background-color:#fff;border-bottom:1px solid #D4D7DD}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:not(:last-of-type), [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(:last-of-type), [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:not(:last-of-type), [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(:last-of-type){border-right:1px solid #D4D7DD}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%]{width:32%;min-width:420px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.name[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.name[_ngcontent-%COMP%]{min-width:240px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.shows[_ngcontent-%COMP%]{width:13%;min-width:220px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.shows[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.shows[_ngcontent-%COMP%]{min-width:160px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.conv[_ngcontent-%COMP%]{width:15%;min-width:180px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.conv[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.conv[_ngcontent-%COMP%]{min-width:120px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.update[_ngcontent-%COMP%]{width:12%;min-width:240px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.update[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.update[_ngcontent-%COMP%]{min-width:140px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.onoff[_ngcontent-%COMP%]{width:10%;min-width:160px}@media (max-width: 1919px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] th.onoff[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.onoff[_ngcontent-%COMP%]{min-width:120px}}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] th.actions[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] t
1body[_ngcontent-%COMP%] th.actions[_ngcontent-%COMP%], [_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-table[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td.actions[_ngcontent-%COMP%]{width:18%;min-width:220px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%]{padding:0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:.6rem .8rem;border-radius:4px;font-style:normal;font-weight:500;font-size:1rem;line-height:1rem;display:flex;align-items:center;justify-content:flex-start;gap:20px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;width:24px;height:24px}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child{background:#4898a81a;border-color:#4898a8;color:#4898a8}@media (max-width: 575px){[_nghost-%COMP%] .tests-container[_ngcontent-%COMP%] .app-card[_ngcontent-%COMP%] .ab-test-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}}.how-to-add-test-bg[_ngcontent-%COMP%]{margin:0 auto;width:470px;height:370px;background:url(/assets/images/abtests/example-create-test.png) center no-repeat;background-size:contain}.set-positive-better-color[_ngcontent-%COMP%]{color:#62cb31}.set-negative-better-color[_ngcontent-%COMP%]{color:#d31112}",".set-positive-better-color[_ngcontent-%COMP%]{color:#62cb31}.set-negative-better-color[_ngcontent-%COMP%]{color:#d31112}.ab-grid__item--name[_ngcontent-%COMP%]{padding-left:10px}.ab-grid__header--update[_ngcontent-%COMP%], .ab-grid__item--update[_ngcontent-%COMP%]{flex-basis:11%;max-width:11%}.header-right[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:flex;width:28px;height:28px;position:relative}.header-right[_ngcontent-%COMP%] button[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg{width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ab-test-table[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{width:40%!important}.ab-test-table[_ngcontent-%COMP%] .shows[_ngcontent-%COMP%], .ab-test-table[_ngcontent-%COMP%] .conv[_ngcontent-%COMP%], .ab-test-table[_ngcontent-%COMP%] .update[_ngcontent-%COMP%]{width:20%!important}"]})}}return o})();var Ve=[{path:"",redirectTo:"active",pathMatch:"full"},{path:"active",component:An,title:"sidebar.abtests-active"},{path:"archive",component:In,title:"sidebar.abtests-archive"}],kn=(()=>{class o{static{this.\u0275fac=function(n){return new(n||o)}}static{this.\u0275mod=bt({type:o})}static{this.\u0275inj=Ot({imports:[Wt.forChild(Ve),Wt]})}}return o})();var Ko=(()=>{class o{static{this.\u0275fac=function(n){return new(n||o)}}static{this.\u0275mod=bt({type:o})}static{this.\u0275inj=Ot({imports:[an,gn,un,Pn,ln,vn,mn,kn]})}}return o})();export{Ko as AbtestsModule};
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.