stoobly-agent 0.33.2__py3-none-any.whl → 0.33.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. stoobly_agent/__init__.py +1 -1
  2. stoobly_agent/app/cli/helpers/handle_test_service.py +24 -6
  3. stoobly_agent/app/cli/helpers/test_replay_context.py +2 -1
  4. stoobly_agent/app/cli/request_cli.py +2 -1
  5. stoobly_agent/app/cli/scenario_cli.py +5 -3
  6. stoobly_agent/app/proxy/handle_test_service.py +10 -5
  7. stoobly_agent/app/proxy/intercept_settings.py +7 -0
  8. stoobly_agent/app/proxy/test/context.py +1 -1
  9. stoobly_agent/app/proxy/test/context_abc.py +2 -1
  10. stoobly_agent/app/proxy/test/helpers/test_results_builder.py +7 -0
  11. stoobly_agent/app/proxy/test/helpers/upload_test_service.py +0 -2
  12. stoobly_agent/app/proxy/test/matchers/context.py +5 -1
  13. stoobly_agent/config/constants/custom_headers.py +1 -0
  14. stoobly_agent/lib/api/interfaces/tests.py +1 -0
  15. stoobly_agent/public/{19-es2015.afe15b7c97204b5da3e6.js → 19-es2015.cfb9a99583184965c030.js} +1 -1
  16. stoobly_agent/public/{19-es5.afe15b7c97204b5da3e6.js → 19-es5.cfb9a99583184965c030.js} +1 -1
  17. stoobly_agent/public/31-es2015.f4291150f35d54ff19ca.js +1 -0
  18. stoobly_agent/public/31-es5.f4291150f35d54ff19ca.js +1 -0
  19. stoobly_agent/public/{35-es2015.ef19536d87c8aff8f629.js → 35-es2015.4281bf4c914cc833cb00.js} +1 -1
  20. stoobly_agent/public/{35-es5.ef19536d87c8aff8f629.js → 35-es5.4281bf4c914cc833cb00.js} +1 -1
  21. stoobly_agent/public/37-es2015.6567a0ce4cf87ad7287b.js +1 -0
  22. stoobly_agent/public/37-es5.6567a0ce4cf87ad7287b.js +1 -0
  23. stoobly_agent/public/index.html +1 -1
  24. stoobly_agent/public/{main-es2015.74eedbf8ac279a527ac3.js → main-es2015.3ad631f688af79edb9e7.js} +1 -1
  25. stoobly_agent/public/{main-es5.74eedbf8ac279a527ac3.js → main-es5.3ad631f688af79edb9e7.js} +1 -1
  26. stoobly_agent/public/runtime-es2015.ce140e9ace0d883b7982.js +1 -0
  27. stoobly_agent/public/runtime-es5.ce140e9ace0d883b7982.js +1 -0
  28. {stoobly_agent-0.33.2.dist-info → stoobly_agent-0.33.3.dist-info}/METADATA +1 -1
  29. {stoobly_agent-0.33.2.dist-info → stoobly_agent-0.33.3.dist-info}/RECORD +40 -40
  30. stoobly_agent/public/31-es2015.198ce7bb981893b0ffb9.js +0 -1
  31. stoobly_agent/public/31-es5.198ce7bb981893b0ffb9.js +0 -1
  32. stoobly_agent/public/37-es2015.2691c88dff72bd0e1b98.js +0 -1
  33. stoobly_agent/public/37-es5.2691c88dff72bd0e1b98.js +0 -1
  34. stoobly_agent/public/runtime-es2015.8d562cec3ef3d89930a0.js +0 -1
  35. stoobly_agent/public/runtime-es5.8d562cec3ef3d89930a0.js +0 -1
  36. /stoobly_agent/public/{12-es2015.7caf8af72ac062656549.js → 12-es2015.e6cbd665db1eb1d3bbed.js} +0 -0
  37. /stoobly_agent/public/{12-es5.7caf8af72ac062656549.js → 12-es5.e6cbd665db1eb1d3bbed.js} +0 -0
  38. /stoobly_agent/public/{33-es2015.af3dab68c45d0fa4d762.js → 33-es2015.1de1bb64d23f33c17ef2.js} +0 -0
  39. /stoobly_agent/public/{33-es5.af3dab68c45d0fa4d762.js → 33-es5.1de1bb64d23f33c17ef2.js} +0 -0
  40. /stoobly_agent/public/{41-es2015.73c5bfc29200498e1251.js → 41-es2015.8679fbbd8207bda9407c.js} +0 -0
  41. /stoobly_agent/public/{41-es5.73c5bfc29200498e1251.js → 41-es5.8679fbbd8207bda9407c.js} +0 -0
  42. /stoobly_agent/public/{42-es2015.bc8a021e2b75feabf80f.js → 42-es2015.bca78151df3a77aa6c5d.js} +0 -0
  43. /stoobly_agent/public/{42-es5.bc8a021e2b75feabf80f.js → 42-es5.bca78151df3a77aa6c5d.js} +0 -0
  44. {stoobly_agent-0.33.2.dist-info → stoobly_agent-0.33.3.dist-info}/LICENSE +0 -0
  45. {stoobly_agent-0.33.2.dist-info → stoobly_agent-0.33.3.dist-info}/WHEEL +0 -0
  46. {stoobly_agent-0.33.2.dist-info → stoobly_agent-0.33.3.dist-info}/entry_points.txt +0 -0
@@ -1 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[37],{"4EXa":function(l,n){n.__esModule=!0,n.default={body:'<path d="M5 7h5.5v12h3V7H19V4H5z" fill="currentColor"/>',width:24,height:24}},MNke:function(l,n,t){"use strict";t.d(n,"a",function(){return T}),t.d(n,"b",function(){return C});var e=t("8Y7J"),i=t("LRne"),a=t("xgIS"),u=t("5+tZ"),o=t("lJxs"),s=t("vkgz"),r=t("pLZG"),c=t("7o/Q"),b=t("D0XW");class d{constructor(l,n){this.period=l,this.scheduler=n}call(l,n){return n.subscribe(new p(l,this.period,this.scheduler))}}class p extends c.a{constructor(l,n,t){super(l),this.period=n,this.scheduler=t,this.hasValue=!1,this.add(t.schedule(m,n,{subscriber:this,period:n}))}_next(l){this.lastValue=l,this.hasValue=!0}notifyNext(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}function m(l){let{subscriber:n,period:t}=l;n.notifyNext(),this.schedule(l,t)}function h(l,n,t,e){const i=window&&!!window.document&&window.document.documentElement;let a=i&&n?window:t;if(l&&(a=l&&i&&"string"==typeof l?function(l,n,t){return(t?window.document:n).querySelector(l)}(l,t.nativeElement,e):l,!a))throw new Error("ngx-infinite-scroll {resolveContainerElement()}: selector for");return a}function f(l){return l&&!l.firstChange}const g={clientHeight:"clientHeight",offsetHeight:"offsetHeight",scrollHeight:"scrollHeight",pageYOffset:"pageYOffset",offsetTop:"offsetTop",scrollTop:"scrollTop",top:"top"},x={clientHeight:"clientWidth",offsetHeight:"offsetWidth",scrollHeight:"scrollWidth",pageYOffset:"pageXOffset",offsetTop:"offsetLeft",scrollTop:"scrollLeft",top:"left"};class O{constructor(l=!0){this.vertical=l,this.propsMap=l?g:x}clientHeightKey(){return this.propsMap.clientHeight}offsetHeightKey(){return this.propsMap.offsetHeight}scrollHeightKey(){return this.propsMap.scrollHeight}pageYOffsetKey(){return this.propsMap.pageYOffset}offsetTopKey(){return this.propsMap.offsetTop}scrollTopKey(){return this.propsMap.scrollTop}topKey(){return this.propsMap.top}}function y(l){return["Window","global"].some(n=>Object.prototype.toString.call(l).includes(n))}function v(l,n){return l?n.document.documentElement:null}function z(l,n){const t=function({container:l,isWindow:n,axis:t}){const{offsetHeightKey:e,clientHeightKey:i}=_(t);return A(l,n,e,i)}(n);return n.isWindow?function(l,n,t){const{axis:e,container:i,isWindow:a}=t,{offsetHeightKey:u,clientHeightKey:o}=_(e),s=l+L(v(a,i),e,a),r=A(n.nativeElement,a,u,o);return{height:l,scrolled:s,totalToScroll:function(l,n,t){const e=n.topKey();if(l.getBoundingClientRect)return l.getBoundingClientRect()[e]+L(l,n,t)}(n.nativeElement,e,a)+r,isWindow:a}}(t,l,n):function(l,n,t){const{axis:e,container:i}=t;return{height:l,scrolled:i[e.scrollTopKey()],totalToScroll:i[e.scrollHeightKey()],isWindow:!1}}(t,0,n)}function _(l){return{offsetHeightKey:l.offsetHeightKey(),clientHeightKey:l.clientHeightKey()}}function A(l,n,t,e){if(isNaN(l[t])){const t=v(n,l);return t?t[e]:0}return l[t]}function L(l,n,t){const e=n.pageYOffsetKey(),i=n.scrollTopKey(),a=n.offsetTopKey();return isNaN(window.pageYOffset)?v(t,l)[i]:l.ownerDocument?l.ownerDocument.defaultView[e]:l[a]}function w(l,n,t){let e,i;if(l.totalToScroll<=0)return!1;const a=l.isWindow?l.scrolled:l.height+l.scrolled;return t?(e=(l.totalToScroll-a)/l.totalToScroll,i=n.down/10):(e=l.scrolled/(l.scrolled+(l.totalToScroll-a)),i=n.up/10),e<=i}class S{constructor({totalToScroll:l}){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},this.totalToScroll=l}updateScrollPosition(l){return this.lastScrollPosition=l}updateTotalToScroll(l){this.lastTotalToScroll!==l&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=l)}updateScroll(l,n){this.updateScrollPosition(l),this.updateTotalToScroll(n)}updateTriggeredFlag(l,n){n?this.triggered.down=l:this.triggered.up=l}isTriggeredScroll(l,n){return n?this.triggered.down===l:this.triggered.up===l}}function R(l){const{scrollDown:n,stats:{scrolled:t}}=l;return{type:n?"[NGX_ISE] DOWN":"[NGX_ISE] UP",payload:{currentScrollPosition:t}}}class T{constructor(l,n){this.element=l,this.zone=n,this.scrolled=new e.o,this.scrolledUp=new e.o,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:l,infiniteScrollDisabled:n,infiniteScrollDistance:t}){const e=f(l),i=f(n),a=f(t),u=!i&&!this.infiniteScrollDisabled||i&&!n.currentValue||a;(e||i||a)&&(this.destroyScroller(),u&&this.setup())}setup(){"undefined"!=typeof window&&this.zone.runOutsideAngular(()=>{this.disposeScroller=function(l){const{scrollContainer:n,scrollWindow:t,element:e,fromRoot:c}=l,p=function({windowElement:l,axis:n}){return function(l,n){const t=l.isWindow||n&&!n.nativeElement?n:n.nativeElement;return Object.assign(Object.assign({},l),{container:t})}({axis:n,isWindow:y(l)},l)}({axis:new O(!l.horizontal),windowElement:h(n,t,e,c)}),m=new S({totalToScroll:z(e,p)}),f={up:l.upDistance,down:l.downDistance};return function(l){let n=Object(a.a)(l.container,"scroll");return l.throttle&&(n=n.pipe(function(l,n=b.a){return t=>t.lift(new d(l,n))}(l.throttle))),n}({container:p.container,throttle:l.throttle}).pipe(Object(u.a)(()=>Object(i.a)(z(e,p))),Object(o.a)(l=>function(l,n,t){const{scrollDown:e,fire:i}=function(l,n,t){const e=function(l,n){return l<n.scrolled}(l,n);return{fire:w(n,t,e),scrollDown:e}}(l,n,t);return{scrollDown:e,fire:i,stats:n}}(m.lastScrollPosition,l,f)),Object(s.a)(({stats:l})=>m.updateScroll(l.scrolled,l.totalToScroll)),Object(r.a)(({fire:n,scrollDown:t,stats:{totalToScroll:e}})=>function(l,n,t){return!(!l||!n)||!(t||!n)}(l.alwaysCallback,n,m.isTriggeredScroll(e,t))),Object(s.a)(({scrollDown:l,stats:{totalToScroll:n}})=>{m.updateTriggeredFlag(n,l)}),Object(o.a)(R))}({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(l=>this.zone.run(()=>this.handleOnScroll(l)))})}handleOnScroll({type:l,payload:n}){switch(l){case"[NGX_ISE] DOWN":return this.scrolled.emit(n);case"[NGX_ISE] UP":return this.scrolledUp.emit(n);default:return}}ngOnDestroy(){this.destroyScroller()}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}}class C{}},VH2u:function(l,n,t){"use strict";t.r(n),t.d(n,"ReportsModuleNgFactory",function(){return Zi});var e=t("8Y7J");class i{}var a=t("ntJQ"),u=t("pMnS"),o=t("vw0K"),s=t("9cE2"),r=t("nmIE"),c=t("O72j"),b=t("007U"),d=t("qXT7"),p=t("rJgo"),m=t("SVse"),h=t("YEUz"),f=t("s7LF"),g=t("iELJ"),x=t("VDRc"),O=t("/q54"),y=t("1Xc+"),v=t("1O3W"),z=t("9gLZ"),_=t("Dxy4"),A=t("omvX"),L=t("XE/z"),w=t("Tj54"),S=t("ura0"),R=t("l+Q0"),T=t("cUpR"),C=t("mGvx"),k=t("BSbQ"),I=t("H3DK"),M=t("Q2Ze"),q=t("SCoL"),P=t("e6WT"),F=t("UhP/"),j=t("8sFK"),D=t("6uZp"),E=t.n(D),N=t("5mnX"),U=t.n(N),H=t("MzEE"),B=t.n(H),G=t("e3EN"),Y=t.n(G),V=t("ll2Q"),$=t.n(V),W=t("6qw8"),K=t.n(W),Q=t("+Chm"),X=t.n(Q),Z=t("KaaH"),J=t.n(Z),ll=t("YA1h"),nl=t.n(ll),tl=t("yHIK"),el=t.n(tl),il=t("V99k");class al{constructor(l,n,t){this.report=l,this.dialogRef=n,this.fb=t,this.form=this.fb.group({name:null,description:null}),this.onEdit=new e.o,this.icMoreVert=X.a,this.icClose=U.a,this.icPrint=el.a,this.icDownload=B.a,this.icDelete=Y.a,this.icBusiness=E.a,this.icPerson=J.a,this.icEmail=K.a,this.icPhone=nl.a,this.icLabel=$.a,this.reportPriorities=il.x}ngOnInit(){this.form.patchValue(this.report),this.selectedPriority=this.reportPriorities[this.reportPriorities.length-this.report.priority-1]}save(){const l=this.form.value;l.priority=this.selectedPriority.value,this.onEdit.emit(l),this.dialogRef.close()}handlePrioritySelect(l){this.selectedPriority=l}}var ul=e.yb({encapsulation:0,styles:[[""]],data:{}});function ol(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,3,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,t){var i=!0,a=l.component;return"click"===n&&(i=!1!==e.Ob(l,1)._checkDisabled(t)&&i),"mouseenter"===n&&(i=!1!==e.Ob(l,1)._handleMouseEnter()&&i),"click"===n&&(i=!1!==a.handlePrioritySelect(l.context.$implicit)&&i),i},d.c,d.b)),e.zb(1,4374528,[[19,4],[20,4]],0,p.g,[e.l,m.d,h.h,[2,p.c]],null,null),(l()(),e.Ab(2,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(3,null,["",""]))],null,function(l,n){l(n,0,0,e.Ob(n,1).role,!0,e.Ob(n,1)._highlighted,e.Ob(n,1)._triggersSubmenu,e.Ob(n,1)._getTabIndex(),e.Ob(n,1).disabled.toString(),e.Ob(n,1).disabled||null),l(n,3,0,n.context.$implicit.name)})}function sl(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,90,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(l,n,t){var i=!0,a=l.component;return"submit"===n&&(i=!1!==e.Ob(l,2).onSubmit(t)&&i),"reset"===n&&(i=!1!==e.Ob(l,2).onReset()&&i),"ngSubmit"===n&&(i=!1!==a.save()&&i),i},null,null)),e.zb(1,16384,null,0,f.A,[],null,null),e.zb(2,540672,null,0,f.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),e.Tb(2048,null,f.d,null,[f.k]),e.zb(4,16384,null,0,f.r,[[6,f.d]],null,null),(l()(),e.Ab(5,0,null,null,20,"div",[["class","mat-dialog-title"],["fxLayout","row"],["fxLayoutAlign","start center"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),e.zb(6,81920,null,0,g.m,[[2,g.l],e.l,g.e],null,null),e.zb(7,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(8,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(9,0,null,null,2,"h2",[["class","headline m-0"],["fxFlex","auto"]],null,null,null,null,null)),e.zb(10,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Yb(11,null,["",""])),(l()(),e.Ab(12,16777216,null,null,7,"button",[["aria-haspopup","true"],["class","text-secondary mat-menu-trigger mat-focus-indicator"],["mat-icon-button",""],["matTooltip","Priority"],["type","button"]],[[1,"aria-expanded",0],[1,"aria-controls",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(l,n,t){var i=!0;return"mousedown"===n&&(i=!1!==e.Ob(l,13)._handleMousedown(t)&&i),"keydown"===n&&(i=!1!==e.Ob(l,13)._handleKeydown(t)&&i),"click"===n&&(i=!1!==e.Ob(l,13)._handleClick(t)&&i),i},y.d,y.b)),e.zb(13,1196032,null,0,p.i,[v.c,e.l,e.R,p.d,[2,p.c],[8,null],[2,z.b],h.h],{menu:[0,"menu"]},null),e.zb(14,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(15,0,null,0,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(16,278528,null,0,m.k,[e.u,e.v,e.l,e.G],{ngClass:[0,"ngClass"]},null),e.zb(17,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(18,933888,null,0,S.a,[e.l,O.i,O.f,e.u,e.v,e.G,[6,m.k]],{ngClass:[0,"ngClass"]},null),e.zb(19,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(20,0,null,null,5,"button",[["class","text-secondary mat-focus-indicator"],["mat-dialog-close",""],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var i=!0;return"click"===n&&(i=!1!==e.Ob(l,21)._onButtonClick(t)&&i),i},y.d,y.b)),e.zb(21,606208,null,0,g.g,[[2,g.l],e.l,g.e],{type:[0,"type"],dialogResult:[1,"dialogResult"]},null),e.zb(22,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(23,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(24,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(25,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(26,0,null,null,1,"mat-divider",[["class","-mx-6 text-border mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,C.b,C.a)),e.zb(27,49152,null,0,k.a,[],null,null),(l()(),e.Ab(28,0,null,null,53,"mat-dialog-content",[["class","mat-dialog-content"],["fxLayout","column"]],null,null,null,null,null)),e.zb(29,16384,null,0,g.j,[],null,null),e.zb(30,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),(l()(),e.Ab(31,0,null,null,27,"mat-form-field",[["class","mt-6 mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,I.b,I.a)),e.zb(32,7520256,null,9,M.g,[e.l,e.h,e.l,[2,z.b],[2,M.c],q.a,e.B,[2,A.a]],null,null),e.Ub(603979776,1,{_controlNonStatic:0}),e.Ub(335544320,2,{_controlStatic:0}),e.Ub(603979776,3,{_labelChildNonStatic:0}),e.Ub(335544320,4,{_labelChildStatic:0}),e.Ub(603979776,5,{_placeholderChild:0}),e.Ub(603979776,6,{_errorChildren:1}),e.Ub(603979776,7,{_hintChildren:1}),e.Ub(603979776,8,{_prefixChildren:1}),e.Ub(603979776,9,{_suffixChildren:1}),e.Tb(2048,null,M.b,null,[M.g]),(l()(),e.Ab(43,0,null,3,2,"mat-label",[],null,null,null,null,null)),e.zb(44,16384,[[3,4],[4,4]],0,M.k,[],null,null),(l()(),e.Yb(-1,null,["Name"])),(l()(),e.Ab(46,0,null,1,7,"input",[["cdkFocusInitial",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"data-placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-invalid",0],[1,"aria-required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,t){var i=!0;return"input"===n&&(i=!1!==e.Ob(l,47)._handleInput(t.target.value)&&i),"blur"===n&&(i=!1!==e.Ob(l,47).onTouched()&&i),"compositionstart"===n&&(i=!1!==e.Ob(l,47)._compositionStart()&&i),"compositionend"===n&&(i=!1!==e.Ob(l,47)._compositionEnd(t.target.value)&&i),"focus"===n&&(i=!1!==e.Ob(l,51)._focusChanged(!0)&&i),"blur"===n&&(i=!1!==e.Ob(l,51)._focusChanged(!1)&&i),"input"===n&&(i=!1!==e.Ob(l,51)._onInput()&&i),i},null,null)),e.zb(47,16384,null,0,f.e,[e.G,e.l,[2,f.a]],null,null),e.Tb(1024,null,f.o,function(l){return[l]},[f.e]),e.zb(49,671744,null,0,f.j,[[3,f.d],[8,null],[8,null],[6,f.o],[2,f.z]],{name:[0,"name"]},null),e.Tb(2048,null,f.p,null,[f.j]),e.zb(51,5128192,null,0,P.a,[e.l,q.a,[6,f.p],[2,f.s],[2,f.k],F.d,[8,null],j.a,e.B,[2,M.b]],null,null),e.zb(52,16384,null,0,f.q,[[4,f.p]],null,null),e.Tb(2048,[[1,4],[2,4]],M.h,null,[P.a]),(l()(),e.Ab(54,0,null,0,4,"mat-icon",[["class","ltr:mr-3 rtl:ml-3 mat-icon notranslate"],["matPrefix",""],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(55,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(56,16384,null,0,M.l,[],null,null),e.zb(57,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),e.Tb(2048,[[8,4]],M.d,null,[M.l]),(l()(),e.Ab(59,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,I.b,I.a)),e.zb(60,7520256,null,9,M.g,[e.l,e.h,e.l,[2,z.b],[2,M.c],q.a,e.B,[2,A.a]],null,null),e.Ub(603979776,10,{_controlNonStatic:0}),e.Ub(335544320,11,{_controlStatic:0}),e.Ub(603979776,12,{_labelChildNonStatic:0}),e.Ub(335544320,13,{_labelChildStatic:0}),e.Ub(603979776,14,{_placeholderChild:0}),e.Ub(603979776,15,{_errorChildren:1}),e.Ub(603979776,16,{_hintChildren:1}),e.Ub(603979776,17,{_prefixChildren:1}),e.Ub(603979776,18,{_suffixChildren:1}),e.Tb(2048,null,M.b,null,[M.g]),(l()(),e.Ab(71,0,null,3,2,"mat-label",[],null,null,null,null,null)),e.zb(72,16384,[[12,4],[13,4]],0,M.k,[],null,null),(l()(),e.Yb(-1,null,["Description"])),(l()(),e.Ab(74,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"data-placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-invalid",0],[1,"aria-required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,t){var i=!0;return"input"===n&&(i=!1!==e.Ob(l,75)._handleInput(t.target.value)&&i),"blur"===n&&(i=!1!==e.Ob(l,75).onTouched()&&i),"compositionstart"===n&&(i=!1!==e.Ob(l,75)._compositionStart()&&i),"compositionend"===n&&(i=!1!==e.Ob(l,75)._compositionEnd(t.target.value)&&i),"focus"===n&&(i=!1!==e.Ob(l,79)._focusChanged(!0)&&i),"blur"===n&&(i=!1!==e.Ob(l,79)._focusChanged(!1)&&i),"input"===n&&(i=!1!==e.Ob(l,79)._onInput()&&i),i},null,null)),e.zb(75,16384,null,0,f.e,[e.G,e.l,[2,f.a]],null,null),e.Tb(1024,null,f.o,function(l){return[l]},[f.e]),e.zb(77,671744,null,0,f.j,[[3,f.d],[8,null],[8,null],[6,f.o],[2,f.z]],{name:[0,"name"]},null),e.Tb(2048,null,f.p,null,[f.j]),e.zb(79,5128192,null,0,P.a,[e.l,q.a,[6,f.p],[2,f.s],[2,f.k],F.d,[8,null],j.a,e.B,[2,M.b]],null,null),e.zb(80,16384,null,0,f.q,[[4,f.p]],null,null),e.Tb(2048,[[10,4],[11,4]],M.h,null,[P.a]),(l()(),e.Ab(82,0,null,null,8,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),e.zb(83,16384,null,0,g.f,[],null,null),(l()(),e.Ab(84,0,null,null,3,"button",[["class","mat-focus-indicator"],["mat-button",""],["mat-dialog-close",""],["type","button"]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var i=!0;return"click"===n&&(i=!1!==e.Ob(l,85)._onButtonClick(t)&&i),i},y.d,y.b)),e.zb(85,606208,null,0,g.g,[[2,g.l],e.l,g.e],{type:[0,"type"],dialogResult:[1,"dialogResult"]},null),e.zb(86,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Yb(-1,0,["CANCEL"])),(l()(),e.Ab(88,0,null,null,2,"button",[["class","mat-focus-indicator"],["color","primary"],["mat-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],null,null,y.d,y.b)),e.zb(89,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],{color:[0,"color"]},null),(l()(),e.Yb(-1,0,["SAVE CHANGES"])),(l()(),e.Ab(91,0,null,null,7,"mat-menu",[["xPosition","before"],["yPosition","below"]],[[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,d.d,d.a)),e.Tb(6144,null,p.c,null,[p.e]),e.zb(93,1294336,[["settingsMenu",4]],3,p.e,[e.l,e.B,p.b],{xPosition:[0,"xPosition"],yPosition:[1,"yPosition"]},null),e.Ub(603979776,19,{_allItems:1}),e.Ub(603979776,20,{items:1}),e.Ub(603979776,21,{lazyContent:0}),(l()(),e.jb(16777216,null,0,1,null,ol)),e.zb(98,278528,null,0,m.m,[e.R,e.O,e.u],{ngForOf:[0,"ngForOf"]},null)],function(l,n){var t=n.component;l(n,2,0,t.form),l(n,6,0),l(n,7,0,"row"),l(n,8,0,"start center"),l(n,10,0,"auto"),l(n,13,0,e.Ob(n,93)),l(n,16,0,t.selectedPriority.classes),l(n,17,0),l(n,18,0,t.selectedPriority.classes),l(n,19,0,t.icLabel),l(n,21,0,"button",""),l(n,24,0),l(n,25,0,t.icClose),l(n,30,0,"column"),l(n,49,0,"name"),l(n,51,0),l(n,55,0),l(n,57,0,t.icPerson),l(n,77,0,"description"),l(n,79,0),l(n,85,0,"button",""),l(n,89,0,"primary"),l(n,93,0,"before","below"),l(n,98,0,t.reportPriorities)},function(l,n){var t=n.component;l(n,0,0,e.Ob(n,4).ngClassUntouched,e.Ob(n,4).ngClassTouched,e.Ob(n,4).ngClassPristine,e.Ob(n,4).ngClassDirty,e.Ob(n,4).ngClassValid,e.Ob(n,4).ngClassInvalid,e.Ob(n,4).ngClassPending),l(n,5,0,e.Ob(n,6).id),l(n,11,0,t.form.get("name").value),l(n,12,0,e.Ob(n,13).menuOpen||null,e.Ob(n,13).menuOpen?e.Ob(n,13).menu.panelId:null,e.Ob(n,14).disabled||null,"NoopAnimations"===e.Ob(n,14)._animationMode,e.Ob(n,14).disabled),l(n,15,0,e.Ob(n,17)._usingFontIcon()?"font":"svg",e.Ob(n,17)._svgName||e.Ob(n,17).fontIcon,e.Ob(n,17)._svgNamespace||e.Ob(n,17).fontSet,e.Ob(n,17).inline,"primary"!==e.Ob(n,17).color&&"accent"!==e.Ob(n,17).color&&"warn"!==e.Ob(n,17).color,e.Ob(n,19).inline,e.Ob(n,19).size,e.Ob(n,19).iconHTML),l(n,20,0,e.Ob(n,21).ariaLabel||null,e.Ob(n,21).type,e.Ob(n,22).disabled||null,"NoopAnimations"===e.Ob(n,22)._animationMode,e.Ob(n,22).disabled),l(n,23,0,e.Ob(n,24)._usingFontIcon()?"font":"svg",e.Ob(n,24)._svgName||e.Ob(n,24).fontIcon,e.Ob(n,24)._svgNamespace||e.Ob(n,24).fontSet,e.Ob(n,24).inline,"primary"!==e.Ob(n,24).color&&"accent"!==e.Ob(n,24).color&&"warn"!==e.Ob(n,24).color,e.Ob(n,25).inline,e.Ob(n,25).size,e.Ob(n,25).iconHTML),l(n,26,0,e.Ob(n,27).vertical?"vertical":"horizontal",e.Ob(n,27).vertical,!e.Ob(n,27).vertical,e.Ob(n,27).inset),l(n,31,1,["standard"==e.Ob(n,32).appearance,"fill"==e.Ob(n,32).appearance,"outline"==e.Ob(n,32).appearance,"legacy"==e.Ob(n,32).appearance,e.Ob(n,32)._control.errorState,e.Ob(n,32)._canLabelFloat(),e.Ob(n,32)._shouldLabelFloat(),e.Ob(n,32)._hasFloatingLabel(),e.Ob(n,32)._hideControlPlaceholder(),e.Ob(n,32)._control.disabled,e.Ob(n,32)._control.autofilled,e.Ob(n,32)._control.focused,"accent"==e.Ob(n,32).color,"warn"==e.Ob(n,32).color,e.Ob(n,32)._shouldForward("untouched"),e.Ob(n,32)._shouldForward("touched"),e.Ob(n,32)._shouldForward("pristine"),e.Ob(n,32)._shouldForward("dirty"),e.Ob(n,32)._shouldForward("valid"),e.Ob(n,32)._shouldForward("invalid"),e.Ob(n,32)._shouldForward("pending"),!e.Ob(n,32)._animationsEnabled]),l(n,46,1,[e.Ob(n,51)._isServer,e.Ob(n,51).id,e.Ob(n,51).placeholder,e.Ob(n,51).disabled,e.Ob(n,51).required,e.Ob(n,51).readonly&&!e.Ob(n,51)._isNativeSelect||null,e.Ob(n,51).errorState,e.Ob(n,51).required.toString(),e.Ob(n,52).ngClassUntouched,e.Ob(n,52).ngClassTouched,e.Ob(n,52).ngClassPristine,e.Ob(n,52).ngClassDirty,e.Ob(n,52).ngClassValid,e.Ob(n,52).ngClassInvalid,e.Ob(n,52).ngClassPending]),l(n,54,0,e.Ob(n,55)._usingFontIcon()?"font":"svg",e.Ob(n,55)._svgName||e.Ob(n,55).fontIcon,e.Ob(n,55)._svgNamespace||e.Ob(n,55).fontSet,e.Ob(n,55).inline,"primary"!==e.Ob(n,55).color&&"accent"!==e.Ob(n,55).color&&"warn"!==e.Ob(n,55).color,e.Ob(n,57).inline,e.Ob(n,57).size,e.Ob(n,57).iconHTML),l(n,59,1,["standard"==e.Ob(n,60).appearance,"fill"==e.Ob(n,60).appearance,"outline"==e.Ob(n,60).appearance,"legacy"==e.Ob(n,60).appearance,e.Ob(n,60)._control.errorState,e.Ob(n,60)._canLabelFloat(),e.Ob(n,60)._shouldLabelFloat(),e.Ob(n,60)._hasFloatingLabel(),e.Ob(n,60)._hideControlPlaceholder(),e.Ob(n,60)._control.disabled,e.Ob(n,60)._control.autofilled,e.Ob(n,60)._control.focused,"accent"==e.Ob(n,60).color,"warn"==e.Ob(n,60).color,e.Ob(n,60)._shouldForward("untouched"),e.Ob(n,60)._shouldForward("touched"),e.Ob(n,60)._shouldForward("pristine"),e.Ob(n,60)._shouldForward("dirty"),e.Ob(n,60)._shouldForward("valid"),e.Ob(n,60)._shouldForward("invalid"),e.Ob(n,60)._shouldForward("pending"),!e.Ob(n,60)._animationsEnabled]),l(n,74,1,[e.Ob(n,79)._isServer,e.Ob(n,79).id,e.Ob(n,79).placeholder,e.Ob(n,79).disabled,e.Ob(n,79).required,e.Ob(n,79).readonly&&!e.Ob(n,79)._isNativeSelect||null,e.Ob(n,79).errorState,e.Ob(n,79).required.toString(),e.Ob(n,80).ngClassUntouched,e.Ob(n,80).ngClassTouched,e.Ob(n,80).ngClassPristine,e.Ob(n,80).ngClassDirty,e.Ob(n,80).ngClassValid,e.Ob(n,80).ngClassInvalid,e.Ob(n,80).ngClassPending]),l(n,84,0,e.Ob(n,85).ariaLabel||null,e.Ob(n,85).type,e.Ob(n,86).disabled||null,"NoopAnimations"===e.Ob(n,86)._animationMode,e.Ob(n,86).disabled),l(n,88,0,e.Ob(n,89).disabled||null,"NoopAnimations"===e.Ob(n,89)._animationMode,e.Ob(n,89).disabled),l(n,91,0,null,null,null)})}function rl(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"reports-edit",[],null,null,null,sl,ul)),e.zb(1,114688,null,0,al,[g.a,g.l,f.g],null,null)],function(l,n){l(n,1,0)},null)}var cl=e.wb("reports-edit",al,rl,{},{},[]),bl=t("Ezo2"),dl=t("tq8E"),pl=t("ZFy/"),ml=t("7KAL"),hl=t("Pwwu"),fl=t("M9ds"),gl=t("4EXa"),xl=t.n(gl);class Ol{constructor(l,n,t,i){this.projectId=l,this.dialogRef=n,this.fb=t,this.aliasDiscovery=i,this.files=[],this.form=this.fb.group({name:new f.h("",[f.w.required]),description:""}),this.icMoreVert=X.a,this.icClose=U.a,this.icPrint=el.a,this.icDownload=B.a,this.icDelete=Y.a,this.icTitle=xl.a,this.icLabel=$.a,this.onCreate=new e.o,this.reportPriorities=il.x,this.selectedPriority=this.reportPriorities[3]}ngOnInit(){}create(){const l=this.form.value;if(this.files.length){const n=new FileReader;n.onload=n=>{const t=this.buildFormData(l);this.onCreate.emit(t),this.dialogRef.close()},n.readAsText(this.files[0])}else{const n=this.buildFormData(l);this.onCreate.emit(n),this.dialogRef.close()}}buildFormData(l){const n=new FormData;return n.append("name",l.name),n.append("description",l.description),n.append("priority",this.selectedPriority.value.toString()),this.files[0]&&n.append("file",this.files[0]),n}getHarFileUrls(l){const n=JSON.parse(l);if(n.log&&n.log.entries)return n.log.entries.map(l=>l.request.url)}onFileSelect(l){console.log(l),this.files.push(...l.addedFiles)}onFileRemove(l){console.log(l),this.files.splice(this.files.indexOf(l),1)}handlePrioritySelect(l){this.selectedPriority=l}}var yl=t("PbvV"),vl=e.yb({encapsulation:0,styles:[[""]],data:{}});function zl(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,4,"ngx-dropzone-preview",[],[[8,"style",2],[8,"tabIndex",0]],[[null,"removed"],[null,"keyup"]],function(l,n,t){var i=!0,a=l.component;return"keyup"===n&&(i=!1!==e.Ob(l,1).keyEvent(t)&&i),"removed"===n&&(i=!1!==a.onFileRemove(l.context.$implicit)&&i),i},bl.d,bl.b)),e.zb(1,49152,[[24,4]],0,dl.d,[T.b],{removable:[0,"removable"]},{removed:"removed"}),(l()(),e.Ab(2,0,null,0,2,"ngx-dropzone-label",[],null,null,null,null,null)),e.zb(3,16384,null,0,dl.h,[],null,null),(l()(),e.Yb(4,null,["",""]))],function(l,n){l(n,1,0,!0)},function(l,n){l(n,0,0,e.Ob(n,1).hostStyle,e.Ob(n,1).tabIndex),l(n,4,0,n.context.$implicit.name)})}function _l(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,3,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,t){var i=!0,a=l.component;return"click"===n&&(i=!1!==e.Ob(l,1)._checkDisabled(t)&&i),"mouseenter"===n&&(i=!1!==e.Ob(l,1)._handleMouseEnter()&&i),"click"===n&&(i=!1!==a.handlePrioritySelect(l.context.$implicit)&&i),i},d.c,d.b)),e.zb(1,4374528,[[25,4],[26,4]],0,p.g,[e.l,m.d,h.h,[2,p.c]],null,null),(l()(),e.Ab(2,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(3,null,["",""]))],null,function(l,n){l(n,0,0,e.Ob(n,1).role,!0,e.Ob(n,1)._highlighted,e.Ob(n,1)._triggersSubmenu,e.Ob(n,1)._getTabIndex(),e.Ob(n,1).disabled.toString(),e.Ob(n,1).disabled||null),l(n,3,0,n.context.$implicit.name)})}function Al(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,108,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(l,n,t){var i=!0,a=l.component;return"submit"===n&&(i=!1!==e.Ob(l,2).onSubmit(t)&&i),"reset"===n&&(i=!1!==e.Ob(l,2).onReset()&&i),"ngSubmit"===n&&(i=!1!==a.create()&&i),i},null,null)),e.zb(1,16384,null,0,f.A,[],null,null),e.zb(2,540672,null,0,f.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),e.Tb(2048,null,f.d,null,[f.k]),e.zb(4,16384,null,0,f.r,[[6,f.d]],null,null),(l()(),e.Ab(5,0,null,null,21,"div",[["class","mat-dialog-title"],["fxLayout","row"],["fxLayoutAlign","start center"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),e.zb(6,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(7,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(8,81920,null,0,g.m,[[2,g.l],e.l,g.e],null,null),(l()(),e.Ab(9,0,null,null,2,"h2",[["class","headline m-0"],["fxFlex","auto"]],null,null,null,null,null)),e.zb(10,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Yb(11,null,["",""])),(l()(),e.Ab(12,16777216,null,null,8,"button",[["aria-haspopup","true"],["class","text-secondary mat-menu-trigger mat-focus-indicator mat-tooltip-trigger"],["mat-icon-button",""],["matTooltip","Priority"],["type","button"]],[[1,"aria-expanded",0],[1,"aria-controls",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],function(l,n,t){var i=!0;return"mousedown"===n&&(i=!1!==e.Ob(l,13)._handleMousedown(t)&&i),"keydown"===n&&(i=!1!==e.Ob(l,13)._handleKeydown(t)&&i),"click"===n&&(i=!1!==e.Ob(l,13)._handleClick(t)&&i),i},y.d,y.b)),e.zb(13,1196032,null,0,p.i,[v.c,e.l,e.R,p.d,[2,p.c],[8,null],[2,z.b],h.h],{menu:[0,"menu"]},null),e.zb(14,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),e.zb(15,4341760,null,0,pl.d,[v.c,e.l,ml.c,e.R,e.B,q.a,h.c,h.h,pl.b,[2,z.b],[2,pl.a]],{message:[0,"message"]},null),(l()(),e.Ab(16,0,null,0,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(17,278528,null,0,m.k,[e.u,e.v,e.l,e.G],{ngClass:[0,"ngClass"]},null),e.zb(18,933888,null,0,S.a,[e.l,O.i,O.f,e.u,e.v,e.G,[6,m.k]],{ngClass:[0,"ngClass"]},null),e.zb(19,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(20,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(21,0,null,null,5,"button",[["class","text-secondary mat-focus-indicator"],["mat-dialog-close",""],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var i=!0;return"click"===n&&(i=!1!==e.Ob(l,22)._onButtonClick(t)&&i),i},y.d,y.b)),e.zb(22,606208,null,0,g.g,[[2,g.l],e.l,g.e],{type:[0,"type"],dialogResult:[1,"dialogResult"]},null),e.zb(23,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(24,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(25,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(26,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(27,0,null,null,1,"mat-divider",[["class","-mx-6 text-border mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,C.b,C.a)),e.zb(28,49152,null,0,k.a,[],null,null),(l()(),e.Ab(29,0,null,null,70,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),e.zb(30,16384,null,0,g.j,[],null,null),(l()(),e.Ab(31,0,null,null,68,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,hl.d,hl.b)),e.zb(32,3325952,null,1,fl.h,[e.l,e.h,[2,fl.a],[2,A.a]],null,null),e.Ub(603979776,1,{_allTabs:1}),e.Tb(2048,null,fl.b,null,[fl.h]),(l()(),e.Ab(35,16777216,null,null,51,"mat-tab",[["label","General"]],null,null,null,hl.f,hl.a)),e.zb(36,770048,[[1,4]],2,fl.d,[e.R,fl.b],{textLabel:[0,"textLabel"]},null),e.Ub(603979776,2,{templateLabel:0}),e.Ub(335544320,3,{_explicitContent:0}),(l()(),e.Ab(39,0,null,0,47,"div",[["fxLayout","column"]],null,null,null,null,null)),e.zb(40,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),(l()(),e.Ab(41,0,null,null,22,"mat-form-field",[["class","mt-6 mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,I.b,I.a)),e.zb(42,7520256,null,9,M.g,[e.l,e.h,e.l,[2,z.b],[2,M.c],q.a,e.B,[2,A.a]],null,null),e.Ub(603979776,4,{_controlNonStatic:0}),e.Ub(335544320,5,{_controlStatic:0}),e.Ub(603979776,6,{_labelChildNonStatic:0}),e.Ub(335544320,7,{_labelChildStatic:0}),e.Ub(603979776,8,{_placeholderChild:0}),e.Ub(603979776,9,{_errorChildren:1}),e.Ub(603979776,10,{_hintChildren:1}),e.Ub(603979776,11,{_prefixChildren:1}),e.Ub(603979776,12,{_suffixChildren:1}),e.Tb(2048,null,M.b,null,[M.g]),(l()(),e.Ab(53,0,null,3,2,"mat-label",[],null,null,null,null,null)),e.zb(54,16384,[[6,4],[7,4]],0,M.k,[],null,null),(l()(),e.Yb(-1,null,["Name"])),(l()(),e.Ab(56,0,null,1,7,"input",[["cdkFocusInitial",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"data-placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,t){var i=!0;return"input"===n&&(i=!1!==e.Ob(l,57)._handleInput(t.target.value)&&i),"blur"===n&&(i=!1!==e.Ob(l,57).onTouched()&&i),"compositionstart"===n&&(i=!1!==e.Ob(l,57)._compositionStart()&&i),"compositionend"===n&&(i=!1!==e.Ob(l,57)._compositionEnd(t.target.value)&&i),"focus"===n&&(i=!1!==e.Ob(l,62)._focusChanged(!0)&&i),"blur"===n&&(i=!1!==e.Ob(l,62)._focusChanged(!1)&&i),"input"===n&&(i=!1!==e.Ob(l,62)._onInput()&&i),i},null,null)),e.zb(57,16384,null,0,f.e,[e.G,e.l,[2,f.a]],null,null),e.Tb(1024,null,f.o,function(l){return[l]},[f.e]),e.zb(59,671744,null,0,f.j,[[3,f.d],[8,null],[8,null],[6,f.o],[2,f.z]],{name:[0,"name"]},null),e.Tb(2048,null,f.p,null,[f.j]),e.zb(61,16384,null,0,f.q,[[4,f.p]],null,null),e.zb(62,5128192,null,0,P.a,[e.l,q.a,[6,f.p],[2,f.s],[2,f.k],F.d,[8,null],j.a,e.B,[2,M.b]],null,null),e.Tb(2048,[[4,4],[5,4]],M.h,null,[P.a]),(l()(),e.Ab(64,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,I.b,I.a)),e.zb(65,7520256,null,9,M.g,[e.l,e.h,e.l,[2,z.b],[2,M.c],q.a,e.B,[2,A.a]],null,null),e.Ub(603979776,13,{_controlNonStatic:0}),e.Ub(335544320,14,{_controlStatic:0}),e.Ub(603979776,15,{_labelChildNonStatic:0}),e.Ub(335544320,16,{_labelChildStatic:0}),e.Ub(603979776,17,{_placeholderChild:0}),e.Ub(603979776,18,{_errorChildren:1}),e.Ub(603979776,19,{_hintChildren:1}),e.Ub(603979776,20,{_prefixChildren:1}),e.Ub(603979776,21,{_suffixChildren:1}),e.Tb(2048,null,M.b,null,[M.g]),(l()(),e.Ab(76,0,null,3,2,"mat-label",[],null,null,null,null,null)),e.zb(77,16384,[[15,4],[16,4]],0,M.k,[],null,null),(l()(),e.Yb(-1,null,["Description"])),(l()(),e.Ab(79,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"data-placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,t){var i=!0;return"input"===n&&(i=!1!==e.Ob(l,80)._handleInput(t.target.value)&&i),"blur"===n&&(i=!1!==e.Ob(l,80).onTouched()&&i),"compositionstart"===n&&(i=!1!==e.Ob(l,80)._compositionStart()&&i),"compositionend"===n&&(i=!1!==e.Ob(l,80)._compositionEnd(t.target.value)&&i),"focus"===n&&(i=!1!==e.Ob(l,85)._focusChanged(!0)&&i),"blur"===n&&(i=!1!==e.Ob(l,85)._focusChanged(!1)&&i),"input"===n&&(i=!1!==e.Ob(l,85)._onInput()&&i),i},null,null)),e.zb(80,16384,null,0,f.e,[e.G,e.l,[2,f.a]],null,null),e.Tb(1024,null,f.o,function(l){return[l]},[f.e]),e.zb(82,671744,null,0,f.j,[[3,f.d],[8,null],[8,null],[6,f.o],[2,f.z]],{name:[0,"name"]},null),e.Tb(2048,null,f.p,null,[f.j]),e.zb(84,16384,null,0,f.q,[[4,f.p]],null,null),e.zb(85,5128192,null,0,P.a,[e.l,q.a,[6,f.p],[2,f.s],[2,f.k],F.d,[8,null],j.a,e.B,[2,M.b]],null,null),e.Tb(2048,[[13,4],[14,4]],M.h,null,[P.a]),(l()(),e.Ab(87,16777216,null,null,12,"mat-tab",[["label","Requests"]],null,null,null,hl.f,hl.a)),e.zb(88,770048,[[1,4]],2,fl.d,[e.R,fl.b],{textLabel:[0,"textLabel"]},null),e.Ub(603979776,22,{templateLabel:0}),e.Ub(335544320,23,{_explicitContent:0}),(l()(),e.Ab(91,0,null,0,8,"ngx-dropzone",[["class","mt-6 mb-3"]],[[2,"ngx-dz-disabled",null],[2,"expandable",null],[2,"unclickable",null],[2,"ngx-dz-hovered",null]],[[null,"change"],[null,"click"],[null,"dragover"],[null,"dragleave"],[null,"drop"]],function(l,n,t){var i=!0,a=l.component;return"click"===n&&(i=!1!==e.Ob(l,93)._onClick()&&i),"dragover"===n&&(i=!1!==e.Ob(l,93)._onDragOver(t)&&i),"dragleave"===n&&(i=!1!==e.Ob(l,93)._onDragLeave()&&i),"drop"===n&&(i=!1!==e.Ob(l,93)._onDrop(t)&&i),"change"===n&&(i=!1!==a.onFileSelect(t)&&i),i},bl.c,bl.a)),e.Tb(512,null,dl.g,dl.g,[]),e.zb(93,49152,null,1,dl.a,[[4,dl.g]],null,{change:"change"}),e.Ub(603979776,24,{_previewChildren:1}),(l()(),e.Ab(95,0,null,0,2,"ngx-dropzone-label",[],null,null,null,null,null)),e.zb(96,16384,null,0,dl.h,[],null,null),(l()(),e.Yb(-1,null,["Select or drop a HAR file!"])),(l()(),e.jb(16777216,null,1,1,null,zl)),e.zb(99,278528,null,0,m.m,[e.R,e.O,e.u],{ngForOf:[0,"ngForOf"]},null),(l()(),e.Ab(100,0,null,null,8,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),e.zb(101,16384,null,0,g.f,[],null,null),(l()(),e.Ab(102,0,null,null,3,"button",[["class","mat-focus-indicator"],["mat-button",""],["mat-dialog-close",""],["type","button"]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var i=!0;return"click"===n&&(i=!1!==e.Ob(l,103)._onButtonClick(t)&&i),i},y.d,y.b)),e.zb(103,606208,null,0,g.g,[[2,g.l],e.l,g.e],{type:[0,"type"],dialogResult:[1,"dialogResult"]},null),e.zb(104,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Yb(-1,0,["CANCEL"])),(l()(),e.Ab(106,0,null,null,2,"button",[["class","mat-focus-indicator"],["color","primary"],["mat-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],null,null,y.d,y.b)),e.zb(107,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],{disabled:[0,"disabled"],color:[1,"color"]},null),(l()(),e.Yb(-1,0,["CREATE"])),(l()(),e.Ab(109,0,null,null,7,"mat-menu",[["xPosition","before"],["yPosition","below"]],[[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,d.d,d.a)),e.Tb(6144,null,p.c,null,[p.e]),e.zb(111,1294336,[["settingsMenu",4]],3,p.e,[e.l,e.B,p.b],{xPosition:[0,"xPosition"],yPosition:[1,"yPosition"]},null),e.Ub(603979776,25,{_allItems:1}),e.Ub(603979776,26,{items:1}),e.Ub(603979776,27,{lazyContent:0}),(l()(),e.jb(16777216,null,0,1,null,_l)),e.zb(116,278528,null,0,m.m,[e.R,e.O,e.u],{ngForOf:[0,"ngForOf"]},null)],function(l,n){var t=n.component;l(n,2,0,t.form),l(n,6,0,"row"),l(n,7,0,"start center"),l(n,8,0),l(n,10,0,"auto"),l(n,13,0,e.Ob(n,111)),l(n,15,0,"Priority"),l(n,17,0,t.selectedPriority.classes),l(n,18,0,t.selectedPriority.classes),l(n,19,0),l(n,20,0,t.icLabel),l(n,22,0,"button",""),l(n,25,0),l(n,26,0,t.icClose),l(n,36,0,"General"),l(n,40,0,"column"),l(n,59,0,"name"),l(n,62,0),l(n,82,0,"description"),l(n,85,0),l(n,88,0,"Requests"),l(n,99,0,t.files),l(n,103,0,"button",""),l(n,107,0,t.form.invalid,"primary"),l(n,111,0,"before","below"),l(n,116,0,t.reportPriorities)},function(l,n){var t=n.component;l(n,0,0,e.Ob(n,4).ngClassUntouched,e.Ob(n,4).ngClassTouched,e.Ob(n,4).ngClassPristine,e.Ob(n,4).ngClassDirty,e.Ob(n,4).ngClassValid,e.Ob(n,4).ngClassInvalid,e.Ob(n,4).ngClassPending),l(n,5,0,e.Ob(n,8).id),l(n,11,0,t.form.get("name").value||"New Report"),l(n,12,0,e.Ob(n,13).menuOpen||null,e.Ob(n,13).menuOpen?e.Ob(n,13).menu.panelId:null,e.Ob(n,14).disabled||null,"NoopAnimations"===e.Ob(n,14)._animationMode,e.Ob(n,14).disabled),l(n,16,0,e.Ob(n,19)._usingFontIcon()?"font":"svg",e.Ob(n,19)._svgName||e.Ob(n,19).fontIcon,e.Ob(n,19)._svgNamespace||e.Ob(n,19).fontSet,e.Ob(n,19).inline,"primary"!==e.Ob(n,19).color&&"accent"!==e.Ob(n,19).color&&"warn"!==e.Ob(n,19).color,e.Ob(n,20).inline,e.Ob(n,20).size,e.Ob(n,20).iconHTML),l(n,21,0,e.Ob(n,22).ariaLabel||null,e.Ob(n,22).type,e.Ob(n,23).disabled||null,"NoopAnimations"===e.Ob(n,23)._animationMode,e.Ob(n,23).disabled),l(n,24,0,e.Ob(n,25)._usingFontIcon()?"font":"svg",e.Ob(n,25)._svgName||e.Ob(n,25).fontIcon,e.Ob(n,25)._svgNamespace||e.Ob(n,25).fontSet,e.Ob(n,25).inline,"primary"!==e.Ob(n,25).color&&"accent"!==e.Ob(n,25).color&&"warn"!==e.Ob(n,25).color,e.Ob(n,26).inline,e.Ob(n,26).size,e.Ob(n,26).iconHTML),l(n,27,0,e.Ob(n,28).vertical?"vertical":"horizontal",e.Ob(n,28).vertical,!e.Ob(n,28).vertical,e.Ob(n,28).inset),l(n,31,0,e.Ob(n,32).dynamicHeight,"below"===e.Ob(n,32).headerPosition),l(n,41,1,["standard"==e.Ob(n,42).appearance,"fill"==e.Ob(n,42).appearance,"outline"==e.Ob(n,42).appearance,"legacy"==e.Ob(n,42).appearance,e.Ob(n,42)._control.errorState,e.Ob(n,42)._canLabelFloat(),e.Ob(n,42)._shouldLabelFloat(),e.Ob(n,42)._hasFloatingLabel(),e.Ob(n,42)._hideControlPlaceholder(),e.Ob(n,42)._control.disabled,e.Ob(n,42)._control.autofilled,e.Ob(n,42)._control.focused,"accent"==e.Ob(n,42).color,"warn"==e.Ob(n,42).color,e.Ob(n,42)._shouldForward("untouched"),e.Ob(n,42)._shouldForward("touched"),e.Ob(n,42)._shouldForward("pristine"),e.Ob(n,42)._shouldForward("dirty"),e.Ob(n,42)._shouldForward("valid"),e.Ob(n,42)._shouldForward("invalid"),e.Ob(n,42)._shouldForward("pending"),!e.Ob(n,42)._animationsEnabled]),l(n,56,1,[e.Ob(n,61).ngClassUntouched,e.Ob(n,61).ngClassTouched,e.Ob(n,61).ngClassPristine,e.Ob(n,61).ngClassDirty,e.Ob(n,61).ngClassValid,e.Ob(n,61).ngClassInvalid,e.Ob(n,61).ngClassPending,e.Ob(n,62)._isServer,e.Ob(n,62).id,e.Ob(n,62).placeholder,e.Ob(n,62).disabled,e.Ob(n,62).required,e.Ob(n,62).readonly&&!e.Ob(n,62)._isNativeSelect||null,e.Ob(n,62).errorState,e.Ob(n,62).required.toString()]),l(n,64,1,["standard"==e.Ob(n,65).appearance,"fill"==e.Ob(n,65).appearance,"outline"==e.Ob(n,65).appearance,"legacy"==e.Ob(n,65).appearance,e.Ob(n,65)._control.errorState,e.Ob(n,65)._canLabelFloat(),e.Ob(n,65)._shouldLabelFloat(),e.Ob(n,65)._hasFloatingLabel(),e.Ob(n,65)._hideControlPlaceholder(),e.Ob(n,65)._control.disabled,e.Ob(n,65)._control.autofilled,e.Ob(n,65)._control.focused,"accent"==e.Ob(n,65).color,"warn"==e.Ob(n,65).color,e.Ob(n,65)._shouldForward("untouched"),e.Ob(n,65)._shouldForward("touched"),e.Ob(n,65)._shouldForward("pristine"),e.Ob(n,65)._shouldForward("dirty"),e.Ob(n,65)._shouldForward("valid"),e.Ob(n,65)._shouldForward("invalid"),e.Ob(n,65)._shouldForward("pending"),!e.Ob(n,65)._animationsEnabled]),l(n,79,1,[e.Ob(n,84).ngClassUntouched,e.Ob(n,84).ngClassTouched,e.Ob(n,84).ngClassPristine,e.Ob(n,84).ngClassDirty,e.Ob(n,84).ngClassValid,e.Ob(n,84).ngClassInvalid,e.Ob(n,84).ngClassPending,e.Ob(n,85)._isServer,e.Ob(n,85).id,e.Ob(n,85).placeholder,e.Ob(n,85).disabled,e.Ob(n,85).required,e.Ob(n,85).readonly&&!e.Ob(n,85)._isNativeSelect||null,e.Ob(n,85).errorState,e.Ob(n,85).required.toString()]),l(n,91,0,e.Ob(n,93).disabled,e.Ob(n,93).expandable,e.Ob(n,93).disableClick,e.Ob(n,93)._isHovered),l(n,102,0,e.Ob(n,103).ariaLabel||null,e.Ob(n,103).type,e.Ob(n,104).disabled||null,"NoopAnimations"===e.Ob(n,104)._animationMode,e.Ob(n,104).disabled),l(n,106,0,e.Ob(n,107).disabled||null,"NoopAnimations"===e.Ob(n,107)._animationMode,e.Ob(n,107).disabled),l(n,109,0,null,null,null)})}function Ll(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"reports-create",[],null,null,null,Al,vl)),e.zb(1,114688,null,0,Ol,[g.a,g.l,f.g,yl.a],null,null)],function(l,n){l(n,1,0)},null)}var wl=e.wb("reports-create",Ol,Ll,{},{},[]),Sl=t("WbBL"),Rl=t("EPGw"),Tl=t.n(Rl),Cl=t("0I5b"),kl=t.n(Cl),Il=t("kSvQ"),Ml=t.n(Il);class ql{constructor(l,n,t){this.defaults=l,this.dialogRef=n,this.fb=t,this.onCreate=new e.o,this.icMoreVert=X.a,this.icClose=U.a,this.icPrint=el.a,this.icDownload=B.a,this.icDelete=Y.a,this.icPerson=J.a,this.icMyLocation=Ml.a,this.icLocationCity=kl.a,this.icEditLocation=Tl.a,this.icPhone=nl.a,this.files=[]}ngOnInit(){this.form=this.fb.group({})}create(){if(!this.files.length)return;const l=new FormData;l.append("file",this.files[0]),l.append("project_id","1"),this.onCreate.emit(l),this.dialogRef.close()}onSelect(l){console.log(l),this.files.push(...l.addedFiles)}onRemove(l){console.log(l),this.files.splice(this.files.indexOf(l),1)}}var Pl=e.yb({encapsulation:0,styles:[[""]],data:{}});function Fl(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,4,"ngx-dropzone-preview",[],[[8,"style",2],[8,"tabIndex",0]],[[null,"removed"],[null,"keyup"]],function(l,n,t){var i=!0,a=l.component;return"keyup"===n&&(i=!1!==e.Ob(l,1).keyEvent(t)&&i),"removed"===n&&(i=!1!==a.onRemove(l.context.$implicit)&&i),i},bl.d,bl.b)),e.zb(1,49152,[[1,4]],0,dl.d,[T.b],{removable:[0,"removable"]},{removed:"removed"}),(l()(),e.Ab(2,0,null,0,2,"ngx-dropzone-label",[],null,null,null,null,null)),e.zb(3,16384,null,0,dl.h,[],null,null),(l()(),e.Yb(4,null,[""," (",")"]))],function(l,n){l(n,1,0,!0)},function(l,n){l(n,0,0,e.Ob(n,1).hostStyle,e.Ob(n,1).tabIndex),l(n,4,0,n.context.$implicit.name,n.context.$implicit.type)})}function jl(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,37,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(l,n,t){var i=!0,a=l.component;return"submit"===n&&(i=!1!==e.Ob(l,2).onSubmit(t)&&i),"reset"===n&&(i=!1!==e.Ob(l,2).onReset()&&i),"ngSubmit"===n&&(i=!1!==a.create()&&i),i},null,null)),e.zb(1,16384,null,0,f.A,[],null,null),e.zb(2,540672,null,0,f.k,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),e.Tb(2048,null,f.d,null,[f.k]),e.zb(4,16384,null,0,f.r,[[6,f.d]],null,null),(l()(),e.Ab(5,0,null,null,12,"div",[["class","mat-dialog-title"],["fxLayout","row"],["fxLayoutAlign","start center"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),e.zb(6,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(7,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(8,81920,null,0,g.m,[[2,g.l],e.l,g.e],null,null),(l()(),e.Ab(9,0,null,null,2,"h2",[["class","headline m-0"],["fxFlex","auto"]],null,null,null,null,null)),e.zb(10,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Yb(-1,null,["Add Requests"])),(l()(),e.Ab(12,0,null,null,5,"button",[["class","text-secondary mat-focus-indicator"],["mat-dialog-close",""],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var i=!0;return"click"===n&&(i=!1!==e.Ob(l,13)._onButtonClick(t)&&i),i},y.d,y.b)),e.zb(13,606208,null,0,g.g,[[2,g.l],e.l,g.e],{type:[0,"type"],dialogResult:[1,"dialogResult"]},null),e.zb(14,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(15,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(16,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(17,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(18,0,null,null,1,"mat-divider",[["class","-mx-6 text-border mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,C.b,C.a)),e.zb(19,49152,null,0,k.a,[],null,null),(l()(),e.Ab(20,0,null,null,8,"ngx-dropzone",[],[[2,"ngx-dz-disabled",null],[2,"expandable",null],[2,"unclickable",null],[2,"ngx-dz-hovered",null]],[[null,"change"],[null,"click"],[null,"dragover"],[null,"dragleave"],[null,"drop"]],function(l,n,t){var i=!0,a=l.component;return"click"===n&&(i=!1!==e.Ob(l,22)._onClick()&&i),"dragover"===n&&(i=!1!==e.Ob(l,22)._onDragOver(t)&&i),"dragleave"===n&&(i=!1!==e.Ob(l,22)._onDragLeave()&&i),"drop"===n&&(i=!1!==e.Ob(l,22)._onDrop(t)&&i),"change"===n&&(i=!1!==a.onSelect(t)&&i),i},bl.c,bl.a)),e.Tb(512,null,dl.g,dl.g,[]),e.zb(22,49152,null,1,dl.a,[[4,dl.g]],null,{change:"change"}),e.Ub(603979776,1,{_previewChildren:1}),(l()(),e.Ab(24,0,null,0,2,"ngx-dropzone-label",[],null,null,null,null,null)),e.zb(25,16384,null,0,dl.h,[],null,null),(l()(),e.Yb(-1,null,["Select or drop a HAR file!"])),(l()(),e.jb(16777216,null,1,1,null,Fl)),e.zb(28,278528,null,0,m.m,[e.R,e.O,e.u],{ngForOf:[0,"ngForOf"]},null),(l()(),e.Ab(29,0,null,null,8,"mat-dialog-actions",[["align","end"],["class","mat-dialog-actions"]],null,null,null,null,null)),e.zb(30,16384,null,0,g.f,[],null,null),(l()(),e.Ab(31,0,null,null,3,"button",[["class","mat-focus-indicator"],["mat-button",""],["mat-dialog-close",""],["type","button"]],[[1,"aria-label",0],[1,"type",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var i=!0;return"click"===n&&(i=!1!==e.Ob(l,32)._onButtonClick(t)&&i),i},y.d,y.b)),e.zb(32,606208,null,0,g.g,[[2,g.l],e.l,g.e],{type:[0,"type"],dialogResult:[1,"dialogResult"]},null),e.zb(33,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Yb(-1,0,["CANCEL"])),(l()(),e.Ab(35,0,null,null,2,"button",[["class","mat-focus-indicator"],["color","primary"],["mat-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],null,null,y.d,y.b)),e.zb(36,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],{color:[0,"color"]},null),(l()(),e.Yb(-1,0,["ADD"])),(l()(),e.Ab(38,0,null,null,26,"mat-menu",[["xPosition","before"],["yPosition","below"]],[[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],null,null,d.d,d.a)),e.zb(39,1294336,[["settingsMenu",4]],3,p.e,[e.l,e.B,p.b],{xPosition:[0,"xPosition"],yPosition:[1,"yPosition"]},null),e.Ub(603979776,2,{_allItems:1}),e.Ub(603979776,3,{items:1}),e.Ub(603979776,4,{lazyContent:0}),e.Tb(2048,null,p.c,null,[p.e]),(l()(),e.Ab(44,0,null,0,6,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,t){var i=!0;return"click"===n&&(i=!1!==e.Ob(l,45)._checkDisabled(t)&&i),"mouseenter"===n&&(i=!1!==e.Ob(l,45)._handleMouseEnter()&&i),i},d.c,d.b)),e.zb(45,4374528,[[2,4],[3,4]],0,p.g,[e.l,m.d,h.h,[2,p.c]],null,null),(l()(),e.Ab(46,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(47,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(48,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(49,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(-1,null,["Print"])),(l()(),e.Ab(51,0,null,0,6,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,t){var i=!0;return"click"===n&&(i=!1!==e.Ob(l,52)._checkDisabled(t)&&i),"mouseenter"===n&&(i=!1!==e.Ob(l,52)._handleMouseEnter()&&i),i},d.c,d.b)),e.zb(52,4374528,[[2,4],[3,4]],0,p.g,[e.l,m.d,h.h,[2,p.c]],null,null),(l()(),e.Ab(53,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(54,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(55,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(56,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(-1,null,["Export"])),(l()(),e.Ab(58,0,null,0,6,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,t){var i=!0;return"click"===n&&(i=!1!==e.Ob(l,59)._checkDisabled(t)&&i),"mouseenter"===n&&(i=!1!==e.Ob(l,59)._handleMouseEnter()&&i),i},d.c,d.b)),e.zb(59,4374528,[[2,4],[3,4]],0,p.g,[e.l,m.d,h.h,[2,p.c]],null,null),(l()(),e.Ab(60,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(61,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(62,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(63,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(-1,null,["Delete"]))],function(l,n){var t=n.component;l(n,2,0,t.form),l(n,6,0,"row"),l(n,7,0,"start center"),l(n,8,0),l(n,10,0,"auto"),l(n,13,0,"button",""),l(n,16,0),l(n,17,0,t.icClose),l(n,28,0,t.files),l(n,32,0,"button",""),l(n,36,0,"primary"),l(n,39,0,"before","below"),l(n,47,0),l(n,48,0,t.icPrint),l(n,54,0),l(n,55,0,t.icDownload),l(n,61,0),l(n,62,0,t.icDelete)},function(l,n){l(n,0,0,e.Ob(n,4).ngClassUntouched,e.Ob(n,4).ngClassTouched,e.Ob(n,4).ngClassPristine,e.Ob(n,4).ngClassDirty,e.Ob(n,4).ngClassValid,e.Ob(n,4).ngClassInvalid,e.Ob(n,4).ngClassPending),l(n,5,0,e.Ob(n,8).id),l(n,12,0,e.Ob(n,13).ariaLabel||null,e.Ob(n,13).type,e.Ob(n,14).disabled||null,"NoopAnimations"===e.Ob(n,14)._animationMode,e.Ob(n,14).disabled),l(n,15,0,e.Ob(n,16)._usingFontIcon()?"font":"svg",e.Ob(n,16)._svgName||e.Ob(n,16).fontIcon,e.Ob(n,16)._svgNamespace||e.Ob(n,16).fontSet,e.Ob(n,16).inline,"primary"!==e.Ob(n,16).color&&"accent"!==e.Ob(n,16).color&&"warn"!==e.Ob(n,16).color,e.Ob(n,17).inline,e.Ob(n,17).size,e.Ob(n,17).iconHTML),l(n,18,0,e.Ob(n,19).vertical?"vertical":"horizontal",e.Ob(n,19).vertical,!e.Ob(n,19).vertical,e.Ob(n,19).inset),l(n,20,0,e.Ob(n,22).disabled,e.Ob(n,22).expandable,e.Ob(n,22).disableClick,e.Ob(n,22)._isHovered),l(n,31,0,e.Ob(n,32).ariaLabel||null,e.Ob(n,32).type,e.Ob(n,33).disabled||null,"NoopAnimations"===e.Ob(n,33)._animationMode,e.Ob(n,33).disabled),l(n,35,0,e.Ob(n,36).disabled||null,"NoopAnimations"===e.Ob(n,36)._animationMode,e.Ob(n,36).disabled),l(n,38,0,null,null,null),l(n,44,0,e.Ob(n,45).role,!0,e.Ob(n,45)._highlighted,e.Ob(n,45)._triggersSubmenu,e.Ob(n,45)._getTabIndex(),e.Ob(n,45).disabled.toString(),e.Ob(n,45).disabled||null),l(n,46,0,e.Ob(n,47)._usingFontIcon()?"font":"svg",e.Ob(n,47)._svgName||e.Ob(n,47).fontIcon,e.Ob(n,47)._svgNamespace||e.Ob(n,47).fontSet,e.Ob(n,47).inline,"primary"!==e.Ob(n,47).color&&"accent"!==e.Ob(n,47).color&&"warn"!==e.Ob(n,47).color,e.Ob(n,48).inline,e.Ob(n,48).size,e.Ob(n,48).iconHTML),l(n,51,0,e.Ob(n,52).role,!0,e.Ob(n,52)._highlighted,e.Ob(n,52)._triggersSubmenu,e.Ob(n,52)._getTabIndex(),e.Ob(n,52).disabled.toString(),e.Ob(n,52).disabled||null),l(n,53,0,e.Ob(n,54)._usingFontIcon()?"font":"svg",e.Ob(n,54)._svgName||e.Ob(n,54).fontIcon,e.Ob(n,54)._svgNamespace||e.Ob(n,54).fontSet,e.Ob(n,54).inline,"primary"!==e.Ob(n,54).color&&"accent"!==e.Ob(n,54).color&&"warn"!==e.Ob(n,54).color,e.Ob(n,55).inline,e.Ob(n,55).size,e.Ob(n,55).iconHTML),l(n,58,0,e.Ob(n,59).role,!0,e.Ob(n,59)._highlighted,e.Ob(n,59)._triggersSubmenu,e.Ob(n,59)._getTabIndex(),e.Ob(n,59).disabled.toString(),e.Ob(n,59).disabled||null),l(n,60,0,e.Ob(n,61)._usingFontIcon()?"font":"svg",e.Ob(n,61)._svgName||e.Ob(n,61).fontIcon,e.Ob(n,61)._svgNamespace||e.Ob(n,61).fontSet,e.Ob(n,61).inline,"primary"!==e.Ob(n,61).color&&"accent"!==e.Ob(n,61).color&&"warn"!==e.Ob(n,61).color,e.Ob(n,62).inline,e.Ob(n,62).size,e.Ob(n,62).iconHTML)})}function Dl(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"requests-create",[],null,null,null,jl,Pl)),e.zb(1,114688,null,0,ql,[g.a,g.l,f.g],null,null)],function(l,n){l(n,1,0)},null)}var El=e.wb("requests-create",ql,Dl,{},{},[]),Nl=t("rYCC"),Ul=t("6OnX"),Hl=t("o5XD"),Bl=t("hzfI"),Gl=t("q59W"),Yl=t("KpMp"),Vl=t("8jAS"),$l=t("/JUU"),Wl=t("npeK"),Kl=t("Tr4x"),Ql=t("Wbda"),Xl=t("U9Lm"),Zl=t("kqhm"),Jl=t("cVZM"),ln=t("lVRA"),nn=t("e+aI"),tn=t("4/Wj"),en=t("z06h"),an=t("zHaW"),un=t("MNke"),on=t("/3aq"),sn=t("CML+"),rn=t("A/vA"),cn=t("B1Wa"),bn=t("Bcy3"),dn=t("ti5q"),pn=t("iInd");class mn{constructor(l){this.testResource=l,this.page=0,this.projectId=-1,this.q="",this.qt="",this.reportId=void 0,this.size=25,this.total=-1}toParams(){const{page:l,projectId:n,q:t,qt:e,reportId:i,scenarioId:a,size:u}=this,o={page:l,project_id:n,q:t,qt:e,size:u};return i&&(o.report_id=i),a&&(o.scenario_id=a),o}search(){const l=this.toParams();return this.testResource.index(l)}nextPage(){if(-1===this.total||this.page*this.size<this.total)return this.page+=1,this.search()}previousPage(){if(this.page>0)return this.page-=1,this.search()}}var hn=t("L5jV"),fn=t.n(hn);class gn{constructor(l,n,t,e,i,a){this.clipboard=l,this.reportDataService=n,this.snackbar=t,this.testDataService=e,this.testsDataService=i,this.testsSearchService=a,this.tests=[],this.selected=-1,this.icFileCopy=fn.a}ngOnInit(){this.testsSearchService.projectId=this.projectId,this.testsSearchService.page=0,this.testsSearchService.size=20,this.testsSearchService.total=-1,this.reportId?(this.testsSearchService.reportId=this.reportId,this.testsSearchService.search().subscribe(this.handleTestsIndexResponse.bind(this))):this.testsDataService.tests$.subscribe(this.handleTestsDataServicePush.bind(this)),this.report$=this.reportDataService.report$}ngAfterViewInit(){this.stepper._getIndicatorType=()=>"number"}searchTests(l){this.testsSearchService.page=0,this.testsSearchService.q=l.q,this.testsSearchService.qt=l.qt,this.testsSearchService.search().subscribe(l=>{this.tests=[],this.handleTestsIndexResponse(l)})}handleScroll(){var l;null===(l=this.testsSearchService.nextPage())||void 0===l||l.subscribe(this.handleTestsIndexResponse.bind(this))}copyToClipboard(l){this.clipboard.copy(l),this.snackbar.open("Copied to clipboard!","close",{duration:2e3})}handleTestsIndexResponse(l){const n=l.list.map(l=>new il.J(l));this.tests=[...this.tests,...n],this.testsSearchService.total=l.total}handleTestsDataServicePush(l){this.testsSearchService.size=l.length,this.testsSearchService.total=this.testsDataService.total,this.tests=l,this.tests.length&&(this.testsSearchService.reportId=this.tests[0].reportId)}buildTestLabel(l){return`${l.method} ${l.url}`}buildTestResults(){const{page:l,size:n,total:t}=this.testsSearchService,e=l*n+n;return`Showing 0 - ${e>t?t:e} out of ${t} tests`}}var xn=t("2Vo4");let On=(()=>{class l{constructor(){this.subject=new xn.a(null),this.report$=this.subject.asObservable()}set(l){this.report=l,this.subject.next(l)}}return l.\u0275prov=e.cc({factory:function(){return new l},token:l,providedIn:"root"}),l})();var yn=t("vkgz"),vn=t("fsOM");class zn{constructor(l){this.testResource=l,this.subject=new xn.a([]),this.tests$=this.subject.asObservable()}fetch(l){return this.testResource.index(l).pipe(Object(yn.a)(l=>{this.set(l.list.map(l=>new vn.a(l))),this.total=l.total}))}set(l){this.tests=l,this.subject.next(l)}add(l){this.tests.unshift(l),this.set(this.tests)}delete(l){this.tests.splice(this.tests.findIndex(n=>n.id===l),1),this.set(this.tests)}}var _n=e.yb({encapsulation:0,styles:[[".wrapper[_ngcontent-%COMP%]{height:100vh;overflow-y:auto}"]],data:{}});function An(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,29,"div",[],null,null,null,null,null)),(l()(),e.Ab(1,0,null,null,2,"div",[["class","body-1 p-4"]],null,null,null,null,null)),(l()(),e.Ab(2,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),e.Yb(3,null,["",""])),(l()(),e.Ab(4,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,C.b,C.a)),e.zb(5,49152,null,0,k.a,[],null,null),(l()(),e.Ab(6,0,null,null,23,"div",[["class","p-4 pb-3"]],null,null,null,null,null)),(l()(),e.Ab(7,0,null,null,10,"div",[["fxLayout","row"],["fxLayoutAlign","space-between center"]],null,null,null,null,null)),e.zb(8,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(9,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(10,0,null,null,3,"span",[],null,null,null,null,null)),(l()(),e.Ab(11,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),e.Yb(-1,null,["Key: "])),(l()(),e.Yb(13,null,["",""])),(l()(),e.Ab(14,0,null,null,3,"button",[["class","mat-focus-indicator"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.copyToClipboard(l.context.$implicit.key)&&e),e},y.d,y.b)),e.zb(15,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(16,0,null,0,1,"ic-icon",[["size","22px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),e.zb(17,606208,null,0,R.a,[T.b],{icon:[0,"icon"],size:[1,"size"]},null),(l()(),e.Ab(18,0,null,null,11,"div",[["fxLayout","row"],["fxLayoutAlign","space-between center"]],null,null,null,null,null)),e.zb(19,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(20,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(21,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),e.Ab(22,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),e.Yb(-1,null,["Created At: "])),(l()(),e.Yb(24,null,["",""])),e.Sb(25,2),(l()(),e.Ab(26,0,null,null,3,"button",[["class","mat-focus-indicator"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.copyToClipboard(l.context.$implicit.createdAt)&&e),e},y.d,y.b)),e.zb(27,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(28,0,null,0,1,"ic-icon",[["size","22px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),e.zb(29,606208,null,0,R.a,[T.b],{icon:[0,"icon"],size:[1,"size"]},null)],function(l,n){var t=n.component;l(n,8,0,"row"),l(n,9,0,"space-between center"),l(n,17,0,t.icFileCopy,"22px"),l(n,19,0,"row"),l(n,20,0,"space-between center"),l(n,29,0,t.icFileCopy,"22px")},function(l,n){l(n,3,0,n.context.$implicit.name),l(n,4,0,e.Ob(n,5).vertical?"vertical":"horizontal",e.Ob(n,5).vertical,!e.Ob(n,5).vertical,e.Ob(n,5).inset),l(n,13,0,n.context.$implicit.key),l(n,14,0,e.Ob(n,15).disabled||null,"NoopAnimations"===e.Ob(n,15)._animationMode,e.Ob(n,15).disabled),l(n,16,0,e.Ob(n,17).inline,e.Ob(n,17).size,e.Ob(n,17).iconHTML);var t=e.Zb(n,24,0,l(n,25,0,e.Ob(n.parent,0),n.context.$implicit.createdAt,"M/d/yy h:mm:ss a Z"));l(n,24,0,t),l(n,26,0,e.Ob(n,27).disabled||null,"NoopAnimations"===e.Ob(n,27)._animationMode,e.Ob(n,27).disabled),l(n,28,0,e.Ob(n,29).inline,e.Ob(n,29).size,e.Ob(n,29).iconHTML)})}function Ln(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"h3",[["class","mb-2"]],null,null,null,null,null)),(l()(),e.Yb(1,null,[" Tests ("," out of "," Passed) "]))],null,function(l,n){l(n,1,0,n.context.$implicit.passed,n.context.$implicit.testsCount)})}function wn(l){return e.bc(0,[(l()(),e.Yb(0,null,[" "," "]))],null,function(l,n){var t=n.component;l(n,0,0,t.buildTestLabel(t.tests[0]))})}function Sn(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,10,null,null,null,null,null,null,null)),(l()(),e.Ab(1,0,null,null,9,"mat-step",[],null,null,null,Hl.c,Hl.a)),e.Tb(6144,null,F.d,null,[Bl.c]),e.Tb(6144,null,Gl.a,null,[Bl.c]),e.zb(4,573440,[[2,4]],1,Bl.c,[Bl.f,[1,F.d],[2,Gl.h]],null,null),e.Ub(603979776,4,{stepLabel:0}),(l()(),e.jb(0,null,0,1,null,wn)),e.zb(7,16384,[[4,4]],0,Bl.e,[e.O],null,null),(l()(),e.Ab(8,0,null,0,2,"div",[],null,null,null,null,null)),(l()(),e.Ab(9,0,null,null,1,"tests-show",[["display","vertical"]],null,null,null,Sl.c,Sl.a)),e.zb(10,638976,null,0,Yl.a,[Vl.a,$l.a,Wl.a,Kl.a,Ql.a,Xl.a,Zl.a,Jl.a,ln.a,nn.a,tn.a,en.a,an.b],{showTitle:[0,"showTitle"],display:[1,"display"],testId:[2,"testId"]},null)],function(l,n){l(n,10,0,!1,"vertical",n.component.tests[0].id)},null)}function Rn(l){return e.bc(0,[(l()(),e.Yb(0,null,[" "," "]))],null,function(l,n){l(n,0,0,n.component.buildTestLabel(n.parent.context.$implicit))})}function Tn(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,2,null,null,null,null,null,null,null)),(l()(),e.Ab(1,0,null,null,1,"tests-show",[["display","vertical"]],null,null,null,Sl.c,Sl.a)),e.zb(2,638976,null,0,Yl.a,[Vl.a,$l.a,Wl.a,Kl.a,Ql.a,Xl.a,Zl.a,Jl.a,ln.a,nn.a,tn.a,en.a,an.b],{showTitle:[0,"showTitle"],display:[1,"display"],testId:[2,"testId"]},null)],function(l,n){l(n,2,0,!1,"vertical",n.parent.context.$implicit.id)},null)}function Cn(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,9,null,null,null,null,null,null,null)),(l()(),e.Ab(1,0,null,null,8,"mat-step",[],null,null,null,Hl.c,Hl.a)),e.Tb(6144,null,F.d,null,[Bl.c]),e.Tb(6144,null,Gl.a,null,[Bl.c]),e.zb(4,573440,[[2,4]],1,Bl.c,[Bl.f,[1,F.d],[2,Gl.h]],null,null),e.Ub(603979776,5,{stepLabel:0}),(l()(),e.jb(0,null,0,1,null,Rn)),e.zb(7,16384,[[5,4]],0,Bl.e,[e.O],null,null),(l()(),e.jb(16777216,null,0,1,null,Tn)),e.zb(9,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null)],function(l,n){l(n,9,0,e.Ob(n.parent,3).selectedIndex===n.context.index+1)},null)}function kn(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,10,"mat-vertical-stepper",[["aria-orientation","vertical"],["class","mat-stepper-vertical"],["role","tablist"]],null,null,null,Hl.d,Hl.b)),e.Tb(6144,null,Bl.f,null,[Bl.i]),e.Tb(6144,null,Gl.d,null,[Bl.i]),e.zb(3,5423104,[[1,4],["stepper",4]],2,Bl.i,[[2,z.b],e.h,e.l,m.d],null,null),e.Ub(603979776,2,{_steps:1}),e.Ub(603979776,3,{_icons:1}),(l()(),e.jb(16777216,null,null,1,null,Sn)),e.zb(7,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.jb(16777216,null,null,2,null,Cn)),e.zb(9,278528,null,0,m.m,[e.R,e.O,e.u],{ngForOf:[0,"ngForOf"]},null),e.Qb(0,m.x,[])],function(l,n){var t=n.component;l(n,7,0,t.tests[0]),l(n,9,0,e.Zb(n,9,0,e.Ob(n,10).transform(t.tests,1)))},null)}function In(l){return e.bc(0,[e.Qb(0,m.e,[e.w]),e.Ub(671088640,1,{stepper:0}),(l()(),e.Ab(2,0,null,null,14,"div",[["class","wrapper"],["infiniteScroll",""]],null,[[null,"scrolled"]],function(l,n,t){var e=!0;return"scrolled"===n&&(e=!1!==l.component.handleScroll()&&e),e},null,null)),e.zb(3,4866048,null,0,un.a,[e.l,e.B],{infiniteScrollDistance:[0,"infiniteScrollDistance"],infiniteScrollThrottle:[1,"infiniteScrollThrottle"],infiniteScrollDisabled:[2,"infiniteScrollDisabled"],scrollWindow:[3,"scrollWindow"]},{scrolled:"scrolled"}),(l()(),e.jb(16777216,null,null,2,null,An)),e.zb(5,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),e.Qb(131072,m.b,[e.h]),(l()(),e.Ab(7,0,null,null,7,"div",[["class","p-4"]],null,null,null,null,null)),(l()(),e.jb(16777216,null,null,2,null,Ln)),e.zb(9,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),e.Qb(131072,m.b,[e.h]),(l()(),e.Ab(11,0,null,null,1,"tests-search",[],null,[[null,"search"]],function(l,n,t){var e=!0;return"search"===n&&(e=!1!==l.component.searchTests(t)&&e),e},on.b,on.a)),e.zb(12,114688,null,0,sn.a,[Wl.a,rn.a,f.g,Ql.a,cn.a,bn.b,Zl.a,dn.a,pn.a],{projectId:[0,"projectId"],query:[1,"query"]},{search:"search"}),(l()(),e.Ab(13,0,null,null,1,"div",[["class","mt-2"]],null,null,null,null,null)),(l()(),e.Yb(14,null,[" "," "])),(l()(),e.jb(16777216,null,null,1,null,kn)),e.zb(16,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null)],function(l,n){var t=n.component;l(n,3,0,2,50,!1,!1),l(n,5,0,e.Zb(n,5,0,e.Ob(n,6).transform(t.report$))),l(n,9,0,e.Zb(n,9,0,e.Ob(n,10).transform(t.report$))),l(n,12,0,t.projectId,t.testsSearchService.q),l(n,16,0,t.tests)},function(l,n){l(n,14,0,n.component.buildTestResults())})}var Mn=t("6rsF"),qn=t("6oTu"),Pn=t("/sr0"),Fn=t("ZuBe"),jn=t("uwSD"),Dn=t("KNdO"),En=t("Z998"),Nn=t("tVCp"),Un=t("q7Ft"),Hn=t("7wwx"),Bn=t.n(Hn),Gn=t("bE8U"),Yn=t.n(Gn),Vn=t("29B6"),$n=t.n(Vn);class Wn{constructor(l){this.reportsIndexPaginatorService=l,this.items=[{type:"link",id:"all",icon:$n.a,label:"All"},{type:"link",id:"starred",icon:Yn.a,label:"Starred"},{type:"subheading",label:"Priority"},{type:"link",id:"high",icon:$.a,label:"High",classes:{icon:"text-primary-500"}},{type:"link",id:"medium",icon:$.a,label:"Medium",classes:{icon:"text-green-500"}},{type:"link",id:"low",icon:$.a,label:"Low",classes:{icon:"text-amber-500"}},{type:"link",id:"none",icon:$.a,label:"None",classes:{icon:"text-gray-500"}}],this.filter=new e.o,this.create=new e.o,this.activeCategory="all",this.icAdd=Bn.a}ngOnInit(){this.reportsIndexPaginatorService.pageSize.subscribe(l=>{this.pageSize=l})}isActive(l){return this.activeCategory===l}setFilter(l){this.activeCategory=l;const n={filter:void 0};switch(l){case"all":n.filter=void 0;break;case"starred":n.filter="starred";break;case"recent":n.filter="updated_at";break;case"high":n.filter="high_priority";break;case"medium":n.filter="medium_priority";break;case"low":n.filter="low_priority";break;case"none":n.filter="none_priority"}this.filter.emit(n)}}let Kn=(()=>{class l{constructor(){this.pageSizeSource=new xn.a(20),this.pageSize=this.pageSizeSource.asObservable()}changePageSize(l){this.pageSizeSource.next(l)}}return l.\u0275prov=e.cc({factory:function(){return new l},token:l,providedIn:"root"}),l})();var Qn=e.yb({encapsulation:2,styles:[],data:{animation:[{type:7,name:"fadeInRight",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateX(-20px)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0)",opacity:1},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}},{type:7,name:"stagger",definitions:[{type:1,expr:"* => *",animation:[{type:11,selector:"@fadeInUp, @fadeInRight, @scaleIn",animation:{type:12,timings:40,animation:{type:9,options:null}},options:{optional:!0}}],options:null}],options:{}}]}});function Xn(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,7,"a",[["class","list-item mt-2 no-underline flex items-center mat-ripple"],["matRipple",""]],[[24,"@fadeInRight",0],[2,"bg-hover",null],[2,"text-primary-500",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.setFilter(l.parent.context.$implicit.id)&&e),e},null,null)),e.zb(1,212992,null,0,F.v,[e.l,e.B,q.a,[2,F.k],[2,A.a]],null,null),(l()(),e.Ab(2,0,null,null,3,"ic-icon",[["class","ltr:mr-3 rtl:ml-3"],["size","24px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),e.zb(3,278528,null,0,m.k,[e.u,e.v,e.l,e.G],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),e.zb(4,933888,null,0,S.a,[e.l,O.i,O.f,e.u,e.v,e.G,[6,m.k]],{ngClass:[0,"ngClass"],klass:[1,"klass"]},null),e.zb(5,606208,null,0,R.a,[T.b],{icon:[0,"icon"],size:[1,"size"]},null),(l()(),e.Ab(6,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(7,null,["",""]))],function(l,n){l(n,1,0),l(n,3,0,"ltr:mr-3 rtl:ml-3",null==n.parent.context.$implicit.classes?null:n.parent.context.$implicit.classes.icon),l(n,4,0,null==n.parent.context.$implicit.classes?null:n.parent.context.$implicit.classes.icon,"ltr:mr-3 rtl:ml-3"),l(n,5,0,n.parent.context.$implicit.icon,"24px")},function(l,n){var t=n.component;l(n,0,0,void 0,t.isActive(n.parent.context.$implicit.id),t.isActive(n.parent.context.$implicit.id),e.Ob(n,1).unbounded),l(n,2,0,e.Ob(n,5).inline,e.Ob(n,5).size,e.Ob(n,5).iconHTML),l(n,7,0,n.parent.context.$implicit.label)})}function Zn(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"h3",[["class","caption text-secondary uppercase font-medium mb-0 mt-6"]],[[24,"@fadeInRight",0]],null,null,null,null)),(l()(),e.Yb(1,null,["",""]))],null,function(l,n){l(n,0,0,void 0),l(n,1,0,n.parent.context.$implicit.label)})}function Jn(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,4,null,null,null,null,null,null,null)),(l()(),e.jb(16777216,null,null,1,null,Xn)),e.zb(2,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.jb(16777216,null,null,1,null,Zn)),e.zb(4,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.jb(0,null,null,0))],function(l,n){l(n,2,0,"link"===n.context.$implicit.type),l(n,4,0,"subheading"===n.context.$implicit.type)},null)}function lt(l){return e.bc(2,[(l()(),e.Ab(0,0,null,null,12,"div",[["class","max-w-xxxs w-full"]],[[24,"@stagger",0]],null,null,null,null)),(l()(),e.Ab(1,0,null,null,8,"div",[["class","h-14 mb-6 flex px-gutter sm:px-0"],["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),e.zb(2,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(3,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(4,0,null,null,5,"button",[["class","flex-auto mat-focus-indicator"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.create.emit()&&e),e},y.d,y.b)),e.zb(5,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(6,0,null,0,1,"ic-icon",[["class","ltr:mr-3 rtl:ml-3"],["inline","true"],["size","18px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),e.zb(7,606208,null,0,R.a,[T.b],{icon:[0,"icon"],inline:[1,"inline"],size:[2,"size"]},null),(l()(),e.Ab(8,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(-1,null,["CREATE"])),(l()(),e.Ab(10,0,null,null,2,"div",[["class","px-gutter sm:px-0"]],null,null,null,null,null)),(l()(),e.jb(16777216,null,null,1,null,Jn)),e.zb(12,278528,null,0,m.m,[e.R,e.O,e.u],{ngForOf:[0,"ngForOf"]},null)],function(l,n){var t=n.component;l(n,2,0,"row"),l(n,3,0,"start center"),l(n,7,0,t.icAdd,"true","18px"),l(n,12,0,t.items)},function(l,n){l(n,0,0,void 0),l(n,4,0,e.Ob(n,5).disabled||null,"NoopAnimations"===e.Ob(n,5)._animationMode,e.Ob(n,5).disabled),l(n,6,0,e.Ob(n,7).inline,e.Ob(n,7).size,e.Ob(n,7).iconHTML)})}var nt=t("Sxp8"),tt=t("lkLn"),et=t("aA/v"),it=t("og7a");class at{constructor(l,n,t,e,i,a,u,o,s,r,c,b,d,p){this.icons=l,this.agentService=n,this.activatedRoute=t,this.clipboard=e,this.dialog=i,this.elementRef=a,this.location=u,this.pollStatusesService=o,this.testsDataService=s,this.route=r,this.router=c,this.reportDataService=b,this.reportResource=d,this.snackbar=p,this.crumbs=[],this.indexParams={},this.reports=[],this.menuOpen=!1,this.indexParams=Object.assign({},this.route.snapshot.queryParams),this.indexParams.page=this.indexParams.page||0,this.indexParams.size=this.indexParams.size||20}ngOnInit(){const l=this.route.snapshot;this.project=this.route.snapshot.data.project;const n=l.data.reports;this.reports=n.list.map(l=>new il.w(l)),this.totalReports=n.total,this.page=this.indexParams.page,this.pageSize=this.indexParams.size,this.filter=this.indexParams.filter,this.crumbs.push({name:"Projects",routerLink:["/projects"]}),this.crumbs.push({name:this.project.name}),this.crumbs.push({name:"Reports"}),this.tableColumns=this.buildTableColumns(),this.requestsModifiedSubscription=this.pollStatusesService.requestsModified$.subscribe(l=>{l===this.project.id&&this.getReports.bind(this)})}ngOnDestroy(){this.elementRef.nativeElement.remove()}clone(l){this.reportResource.clone(l).subscribe(l=>{this.reports.unshift(new il.w(l)),this.reports=[...this.reports]})}getReports(l=this.indexParams){l.project_id=this.route.snapshot.queryParams.project_id,this.reportResource.index(this.snakeCaseValues(l)).subscribe(n=>{this.indexParams=l,this.reports=n.list.map(l=>new il.w(l)),this.totalReports=n.total,this.updateUrlQueryParams(l)},l=>{})}createReport(l){l.append("project_id",this.route.snapshot.queryParams.project_id),this.reportResource.create(l).subscribe(l=>{const n=this.reports.slice();n.unshift(new il.w(l)),this.reports=n},l=>{})}updateReport(l,n){this.reportResource.update(l,{description:n.description,name:n.name,priority:n.priority,starred:n.starred}).subscribe(n=>{const t=this.reports.slice();for(let e=0;e<t.length;++e)t[e].id===l&&(t[e]=new il.w(n));this.reports=t},l=>{})}deleteReport(l){this.reportResource.destroy(l).subscribe(n=>{this.reports=this.reports.filter(n=>n.id!==l),this.totalReports-=1})}sortReports(l){const n=l.direction;n?(this.indexParams.sort_by=l.active,this.indexParams.sort_order=n):(delete this.indexParams.sort_by,delete this.indexParams.sort_order),this.getReports()}searchReports(l){this.indexParams.page=0,this.page=0,l.length?this.indexParams.q=l:delete this.indexParams.q,this.getReports()}filterReports(l){l.filter?this.indexParams.filter=l.filter:delete this.indexParams.filter,this.getReports()}viewReport(l){const n=this.reports.find(n=>n.id===l);n.testsCount?(this.reportDataService.set(n),this.testsDataService.fetch({project_id:this.project.id,report_id:n.id}).subscribe(l=>{this.sidebar.open()})):this.snackbar.open("No requests in the report","close",{duration:2e3})}toggleReportStar(l){const n=this.reports.find(n=>n.id===l);n&&(n.starred=!n.starred,this.updateReport(l,n))}openCreateDialog(){const l=this.dialog.open(Ol,{maxWidth:"750px",minWidth:"500px",width:"50%"}),n=l.componentInstance.onCreate.subscribe(l=>{this.createReport(l)});l.afterClosed().subscribe(()=>{n.unsubscribe()})}editReport(l){const n=this.reports.find(n=>n.id===l);this.reportDataService.set(n),this.router.navigate(["reports",l],{queryParams:{project_id:this.project.id}})}closeMenu(){this.menuOpen=!1}openMenu(){this.menuOpen=!0}handlePaginateChange(l){const n=this.page,t=this.pageSize,e=l.pageIndex,i=l.pageSize;t!==i&&(this.pageSize=i),n!=e&&(this.page=e),n==e&&t===i||(this.indexParams.page=e,this.indexParams.size=i,this.getReports())}copyMockUrlToClipBoard(l){this.clipboard.copy(l.mockUrl),this.snackbar.open("URL copied to clipboard!","close",{duration:2e3})}camelToSnakeCase(l){return"string"!=typeof l?l:l.replace(/[A-Z]/g,l=>"_"+l.toLowerCase())}updateUrlQueryParams(l){Object.entries(l).forEach(([l,n])=>{this.indexParams[l]=n});const n=this.router.createUrlTree([],{relativeTo:this.activatedRoute,queryParams:this.snakeCaseValues(this.indexParams)}).toString();this.location.go(n)}snakeCaseValues(l){const n=Object.assign({},l);return Object.entries(n).forEach(([l,t])=>{n[l]=this.camelToSnakeCase(t)}),n}buildTableColumns(){return[{label:"",property:"starred",type:"toggleButton",cssClasses:["text-secondary","w-10"],visible:!0,canHide:!1,icon:l=>l.starred?this.icons.icStar:this.icons.icStarBorder},{label:"Passing",property:"passing",type:"custom",cssClasses:["w-6"],visible:!0,canHide:!0,sortDisabled:!0},{label:"Name",property:"name",type:"text",cssClasses:["font-medium"],visible:!0,canHide:!0},{label:"Passed",property:"passed",type:"text",cssClasses:["text-secondary"],visible:!0,canHide:!0},{label:"Tests",property:"testsCount",type:"text",cssClasses:["text-secondary"],visible:!0,canHide:!0},{label:"Description",property:"description",type:"text",cssClasses:["text-secondary"],visible:!0,canHide:!0},{label:"Created At",property:"createdAt",type:"date",cssClasses:["text-secondary"],visible:!0,canHide:!0},{label:"",property:"menu",type:"menuButton",cssClasses:["text-secondary","w-10"],visible:!0,canHide:!1}]}}var ut=t("+tDV"),ot=t.n(ut),st=t("rbx1"),rt=t.n(st),ct=t("pN9m"),bt=t.n(ct),dt=t("cS8l"),pt=t.n(dt),mt=t("sF+I"),ht=t.n(mt),ft=t("PNSm"),gt=t.n(ft);let xt=(()=>{class l{constructor(){this.icStar=Yn.a,this.icStarBorder=gt.a,this.icSearch=ht.a,this.icContacts=rt.a,this.icMenu=pt.a,this.icCloudDownload=B.a,this.icEdit=bt.a,this.icFileCopy=fn.a,this.icCheck=ot.a,this.icClose=U.a}}return l.\u0275prov=e.cc({factory:function(){return new l},token:l,providedIn:"root"}),l})();var Ot=t("lxcF"),yt=t("kYCZ"),vt=e.yb({encapsulation:0,styles:[[".vex-page-layout-header[_ngcontent-%COMP%]{height:50px}"]],data:{animation:[{type:7,name:"stagger",definitions:[{type:1,expr:"* => *",animation:[{type:11,selector:"@fadeInUp, @fadeInRight, @scaleIn",animation:{type:12,timings:40,animation:{type:9,options:null}},options:{optional:!0}}],options:null}],options:{}},{type:7,name:"scaleIn",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"scale(0)"},offset:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}},{type:7,name:"fadeInRight",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateX(-20px)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"translateX(0)",opacity:1},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function zt(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,6,"button",[["class","mat-focus-indicator"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item",null],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],function(l,n,t){var i=!0,a=l.component;return"click"===n&&(i=!1!==e.Ob(l,1)._checkDisabled(t)&&i),"mouseenter"===n&&(i=!1!==e.Ob(l,1)._handleMouseEnter()&&i),"click"===n&&(i=!1!==a.editReport(l.context.row.id)&&i),i},d.c,d.b)),e.zb(1,4374528,null,0,p.g,[e.l,m.d,h.h,[2,p.c]],null,null),(l()(),e.Ab(2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(3,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(4,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(5,0,null,0,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(-1,null,["Edit"]))],function(l,n){var t=n.component;l(n,3,0),l(n,4,0,t.icons.icEdit)},function(l,n){l(n,0,0,e.Ob(n,1).role,!0,e.Ob(n,1)._highlighted,e.Ob(n,1)._triggersSubmenu,e.Ob(n,1)._getTabIndex(),e.Ob(n,1).disabled.toString(),e.Ob(n,1).disabled||null),l(n,2,0,e.Ob(n,3)._usingFontIcon()?"font":"svg",e.Ob(n,3)._svgName||e.Ob(n,3).fontIcon,e.Ob(n,3)._svgNamespace||e.Ob(n,3).fontSet,e.Ob(n,3).inline,"primary"!==e.Ob(n,3).color&&"accent"!==e.Ob(n,3).color&&"warn"!==e.Ob(n,3).color,e.Ob(n,4).inline,e.Ob(n,4).size,e.Ob(n,4).iconHTML)})}function _t(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,3,"reports-show",[],null,null,null,In,_n)),e.Tb(512,null,Jl.a,Jl.a,[]),e.Tb(512,null,mn,mn,[ln.a]),e.zb(3,4308992,null,0,gn,[Kl.a,On,an.b,Jl.a,zn,mn],{projectId:[0,"projectId"]},null)],function(l,n){l(n,3,0,n.component.project.id)},null)}function At(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"status-label",[],null,null,null,Mn.b,Mn.a)),e.zb(1,114688,null,0,qn.a,[],{icon:[0,"icon"],status:[1,"status"],okThreshold:[2,"okThreshold"],warningThreshold:[3,"warningThreshold"]},null)],function(l,n){var t=n.component;l(n,1,0,n.context.row.passed===n.context.row.testsCount?t.icons.icCheck:t.icons.icClose,n.context.row.passed===n.context.row.testsCount?-1:1,-1,0)},null)}function Lt(l){return e.bc(0,[e.Ub(402653184,1,{sidebar:0}),(l()(),e.Ab(1,0,null,null,31,"vex-page-layout",[["class","vex-page-layout"]],[[2,"vex-page-layout-card",null],[2,"vex-page-layout-simple",null]],null,null,Pn.b,Pn.a)),e.zb(2,49152,null,0,Fn.a,[],null,null),(l()(),e.Ab(3,0,null,0,29,"div",[["class","w-full h-full flex flex-col"]],null,null,null,null,null)),(l()(),e.Ab(4,0,null,null,9,"div",[["class","px-gutter pt-6 pb-20 vex-layout-theme flex-none"]],null,null,null,null,null)),(l()(),e.Ab(5,0,null,null,8,"div",[["class","flex items-center"]],null,null,null,null,null)),(l()(),e.Ab(6,0,null,null,7,"vex-page-layout-header",[["class","vex-page-layout-header"],["fxLayout","column"],["fxLayoutAlign","center start"]],null,null,null,null,null)),e.zb(7,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(8,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(9,16384,null,0,jn.a,[],null,null),(l()(),e.Ab(10,0,null,null,3,"div",[["class","w-full flex flex-col sm:flex-row justify-between"]],null,null,null,null,null)),(l()(),e.Ab(11,0,null,null,2,"div",[],null,null,null,null,null)),(l()(),e.Ab(12,0,null,null,1,"vex-breadcrumbs",[],null,null,null,Dn.b,Dn.a)),e.zb(13,114688,null,0,En.a,[],{crumbs:[0,"crumbs"]},null),(l()(),e.Ab(14,0,null,null,18,"div",[["class","-mt-14 pt-0 overflow-hidden flex"]],null,null,null,null,null)),(l()(),e.Ab(15,0,null,null,17,"mat-drawer-container",[["class","bg-transparent flex-auto flex mat-drawer-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,Nn.g,Nn.b)),e.zb(16,1490944,null,2,Un.c,[[2,z.b],e.l,e.B,e.h,ml.e,Un.a,[2,A.a]],null,null),e.Ub(603979776,2,{_allDrawers:1}),e.Ub(603979776,3,{_content:0}),e.Tb(2048,null,Un.i,null,[Un.c]),(l()(),e.Ab(20,0,null,0,3,"mat-drawer",[["class","mat-drawer"],["mode","over"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[40,"@transform",0]],[[null,"openedChange"],["component","@transform.start"],["component","@transform.done"]],function(l,n,t){var i=!0,a=l.component;return"component:@transform.start"===n&&(i=!1!==e.Ob(l,21)._animationStartListener(t)&&i),"component:@transform.done"===n&&(i=!1!==e.Ob(l,21)._animationDoneListener(t)&&i),"openedChange"===n&&(i=!1!==(a.menuOpen=t)&&i),i},Nn.i,Nn.a)),e.zb(21,3325952,[[2,4]],0,Un.b,[e.l,h.i,h.h,q.a,e.B,[2,m.d],[2,Un.i]],{mode:[0,"mode"],opened:[1,"opened"]},{openedChange:"openedChange"}),(l()(),e.Ab(22,0,null,0,1,"reports-table-menu",[["class","sm:hidden"]],null,[[null,"get"],[null,"create"]],function(l,n,t){var e=!0,i=l.component;return"get"===n&&(e=!1!==i.filterReports(t)&&e),"create"===n&&(e=!1!==i.openCreateDialog()&&e),e},lt,Qn)),e.zb(23,114688,null,0,Wn,[Kn],null,{create:"create"}),(l()(),e.Ab(24,0,null,1,8,"mat-drawer-content",[["class","p-gutter pt-0 flex-auto flex items-start mat-drawer-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,Nn.h,Nn.c)),e.zb(25,1294336,[[3,4]],0,Un.d,[e.h,Un.c,e.l,ml.c,e.B],null,null),(l()(),e.Ab(26,0,null,0,1,"reports-table-menu",[["class","hidden sm:block mr-6"]],null,[[null,"filter"],[null,"create"]],function(l,n,t){var e=!0,i=l.component;return"filter"===n&&(e=!1!==i.filterReports(t)&&e),"create"===n&&(e=!1!==i.openCreateDialog()&&e),e},lt,Qn)),e.zb(27,114688,null,0,Wn,[Kn],null,{filter:"filter",create:"create"}),(l()(),e.Ab(28,0,null,0,4,"div",[["class","card h-full overflow-hidden flex-auto"]],null,null,null,null,null)),(l()(),e.Ab(29,0,null,null,3,"data-table",[["noData","No Reports Found"]],null,[[null,"toggleStar"],[null,"delete"],[null,"paginate"],[null,"search"],[null,"sort"],[null,"view"]],function(l,n,t){var e=!0,i=l.component;return"toggleStar"===n&&(e=!1!==i.toggleReportStar(t)&&e),"delete"===n&&(e=!1!==i.deleteReport(t)&&e),"paginate"===n&&(e=!1!==i.handlePaginateChange(t)&&e),"search"===n&&(e=!1!==i.searchReports(t)&&e),"sort"===n&&(e=!1!==i.sortReports(t)&&e),"view"===n&&(e=!1!==i.viewReport(t)&&e),e},nt.b,nt.a)),e.zb(30,4964352,null,0,tt.a,[e.l,f.g],{data:[0,"data"],buttonsTemplate:[1,"buttonsTemplate"],columns:[2,"columns"],page:[3,"page"],pageSize:[4,"pageSize"],length:[5,"length"],noData:[6,"noData"],sortBy:[7,"sortBy"],sortOrder:[8,"sortOrder"],resourceName:[9,"resourceName"],templates:[10,"templates"]},{toggleStar:"toggleStar",delete:"delete",view:"view",paginate:"paginate",sort:"sort",search:"search"}),e.Rb(31,{passing:0}),e.Tb(256,null,M.c,tt.b,[]),(l()(),e.jb(0,[["buttonsTemplate",2]],null,0,null,zt)),(l()(),e.Ab(34,0,null,null,3,"vex-sidebar",[["class","vex-sidebar"],["position","right"],["width","50"]],null,null,null,et.b,et.a)),e.zb(35,180224,[[1,4],["configpanel",4]],0,it.a,[m.d],{position:[0,"position"],invisibleBackdrop:[1,"invisibleBackdrop"],width:[2,"width"]},null),(l()(),e.jb(16777216,null,0,1,null,_t)),e.zb(37,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.jb(0,[["passingTemplate",2]],null,0,null,At))],function(l,n){var t=n.component;l(n,7,0,"column"),l(n,8,0,"center start"),l(n,13,0,t.crumbs),l(n,16,0),l(n,21,0,"over",t.menuOpen),l(n,23,0),l(n,25,0),l(n,27,0);var i=t.reports,a=e.Ob(n,33),u=t.tableColumns,o=t.page,s=t.pageSize,r=t.totalReports,c=t.indexParams.sort_by,b=t.indexParams.sort_order,d=l(n,31,0,e.Ob(n,38));l(n,30,1,[i,a,u,o,s,r,"No Reports Found",c,b,"report",d]),l(n,35,0,"right",!0,"50"),l(n,37,0,t.sidebar.opened)},function(l,n){l(n,1,0,e.Ob(n,2).isCard,e.Ob(n,2).isSimple),l(n,15,0,e.Ob(n,16)._backdropOverride),l(n,20,0,null,"end"===e.Ob(n,21).position,"over"===e.Ob(n,21).mode,"push"===e.Ob(n,21).mode,"side"===e.Ob(n,21).mode,e.Ob(n,21).opened,e.Ob(n,21)._animationState),l(n,24,0,e.Ob(n,25)._container._contentMargins.left,e.Ob(n,25)._container._contentMargins.right)})}function wt(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,2,"reports-index",[],null,null,null,Lt,vt)),e.Tb(512,null,zn,zn,[ln.a]),e.zb(2,245760,null,0,at,[xt,$l.a,pn.a,Kl.a,g.e,e.l,m.i,Ot.a,zn,pn.a,pn.p,On,yt.a,an.b],null,null)],function(l,n){l(n,2,0)},null)}var St=e.wb("reports-index",at,wt,{},{},[]),Rt=t("C0s9"),Tt=t("+V3c");const Ct={appearance:"standard"};class kt{constructor(l,n,t,e,i,a,u,o,s,r,c,b,d){this.icons=l,this.agentService=n,this.activatedRoute=t,this.dialog=e,this.location=i,this.file=a,this.pollStatusesService=u,this.projectDataService=o,this.testResource=s,this.testDataService=r,this.reportResource=c,this.route=b,this.router=d,this.crumbs=[],this.layoutCtrl=new f.h("boxed"),this.indexParams={},this.isEditing=!1,this.page=0,this.pageSize=10,this.routerSubscription=d.events.subscribe(l=>{if(l instanceof pn.f){const l=this.route.snapshot;this.projectId=l.queryParams.project_id,this.report=l.data.report;const n=l.data.tests;this.tests=n.list.map(l=>new il.J(l)),this.totalTests=n.total,this.indexParams=Object.assign({},l.queryParams),this.indexParams.page=this.indexParams.page||0,this.indexParams.size=this.indexParams.size||20,this.page=this.indexParams.page,this.pageSize=this.indexParams.size,this.filter=this.indexParams.filter,this.buildBreadcrumbs(),this.tableColumns=this.buildTableColumns()}})}ngOnInit(){this.testsModifiedSubscription=this.pollStatusesService.testsModified$.subscribe(l=>{l===this.projectId&&this.getTests()})}ngAfterViewInit(){}ngOnDestroy(){this.routerSubscription.unsubscribe(),this.testsModifiedSubscription.unsubscribe()}update(l){this.reportResource.update(l.id,l).subscribe(l=>{this.report=new il.w(l),this.crumbs.pop(),this.crumbs.push({name:this.report.name})})}createTest(l){l.append("project_id",this.route.snapshot.queryParams.project_id),this.testResource.create(l).subscribe(l=>{const n=this.tests.slice();n.unshift(l),this.tests=n},l=>{})}getTests(l=Object.assign({},this.indexParams)){l.project_id=this.route.snapshot.queryParams.project_id,l.report_id=this.report.id,this.testResource.index(l).subscribe(n=>{this.tests=n.list.map(l=>new il.J(l)),this.totalTests=n.total,delete l.report_id,this.updateUrlQueryParams(l)},l=>{})}destroyTest(l){this.testResource.destroy(l).subscribe(n=>{const t=this.tests.filter(n=>n.id!==l);for(let l=0;l<t.length;++l)t[l].position=l;this.tests=t})}sortTests(l){const n=l.direction;n?(this.indexParams.sort_by=l.active,this.indexParams.sort_order=n):(delete this.indexParams.sort_by,delete this.indexParams.sort_order),this.getTests()}searchTests(l){this.indexParams.page=0,this.page=0,l.length?this.indexParams.q=l:delete this.indexParams.q,this.getTests()}toggleTestsView(){this.isEditing=!this.isEditing}openEditNameDialog(){this.openEditFieldDialog({data:this.report,fields:[{id:"name",label:"Name",type:"input"}],title:""})}openEditDescriptionDialog(){this.openEditFieldDialog({data:this.report,fields:[{id:"description",label:"Description",rows:3,type:"textarea"}],title:""})}viewTest(l){const n=this.tests.find(n=>n.id===l);this.testDataService.set(n),this.sidebar.open()}editTest(l){const n=this.file.join(location.pathname,"/tests",l);this.router.navigate([n],{queryParams:{project_id:this.route.snapshot.queryParams.project_id}})}showBuilder(){const l=location.pathname+"/editor";this.router.navigate([l],{queryParams:{project_id:this.route.snapshot.queryParams.project_id}})}handleTestDetails(l){this.testDataService.set(l),this.sidebar.open()}handlePaginateChange(l){const n=this.page,t=this.pageSize,e=l.pageIndex,i=l.pageSize;t!==i&&(this.pageSize=i),n!=e&&(this.page=e),n==e&&t===i||(this.indexParams.page=e,this.indexParams.size=i,this.getTests())}updateUrlQueryParams(l){const n=Object.assign({},this.indexParams);Object.entries(l).forEach(([l,t])=>{n[l]=t});const t=this.router.createUrlTree([],{relativeTo:this.activatedRoute,queryParams:n}).toString();this.location.go(t)}projectIdQuery(){return{project_id:this.route.snapshot.queryParams.project_id}}buildBreadcrumbs(){if(this.crumbs=[{name:"Projects",routerLink:["/projects"]}],this.projectDataService.project)this.crumbs.push({name:this.projectDataService.project.name});else{const l=this.projectDataService.project$.subscribe(n=>{n&&(this.crumbs.splice(1,0,{name:n.name}),l.unsubscribe())});this.projectDataService.fetch(this.projectId)}this.crumbs.push({name:"Reports",routerLink:["/reports"],queryParams:this.route.snapshot.queryParams}),this.crumbs.push({name:this.report.name})}buildTableColumns(){return[{label:"Checkbox",property:"checkbox",type:"checkbox",visible:!0,canHide:!1},{label:"Passed",property:"passed",type:"custom",cssClasses:["w-6"],visible:!0,canHide:!1},{label:"Strategy",property:"strategy",type:"text",visible:!0,canHide:!0,cssClasses:["text-secondary"]},{label:"Method",property:"method",type:"text",visible:!0,canHide:!0,cssClasses:["text-secondary"]},{label:"URL",property:"url",type:"text",visible:!0,canHide:!0,cssClasses:["font-medium"]},{label:"Status",property:"status",type:"custom",visible:!0,canHide:!0},{label:"Latency",property:"latency",type:"custom",visible:!0,canHide:!0},{label:"Created At",property:"createdAt",type:"date",visible:!0,canHide:!0,cssClasses:["text-secondary"]},{label:"",property:"menu",type:"menuButton",cssClasses:["text-secondary","w-10"],visible:!0,canHide:!1}]}openEditFieldDialog(l){const n=this.dialog.open(Tt.b,{data:l,width:"750px"}),t=n.componentInstance.onEdit.subscribe(l=>{this.update(Object.assign(Object.assign({},this.report),l))});n.afterClosed().subscribe(()=>{t.unsubscribe()})}}var It=t("+4LO"),Mt=t.n(It);class qt{constructor(){this.icSearch=ht.a,this.icDelete=Y.a,this.icAdd=Bn.a,this.icFilterList=Mt.a,this.icEdit=bt.a,this.icCheck=ot.a,this.icClose=U.a}}var Pt=t("h5yU"),Ft=t("msBP"),jt=e.yb({encapsulation:0,styles:[['.table-link[_ngcontent-%COMP%]{color:#1e88e5;display:inline-block;position:relative;text-decoration:none}.table-link[_ngcontent-%COMP%]:before{background-color:#1e88e5;content:"";height:0;position:absolute;bottom:0;left:50%;transform:translateX(-50%);transition:width .3s ease-in-out;width:0}.table-link[_ngcontent-%COMP%]:hover:before{height:1px;width:100%}']],data:{animation:[{type:7,name:"fadeInUp",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(20px)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0)",opacity:1},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}},{type:7,name:"stagger",definitions:[{type:1,expr:"* => *",animation:[{type:11,selector:"@fadeInUp, @fadeInRight, @scaleIn",animation:{type:12,timings:40,animation:{type:9,options:null}},options:{optional:!0}}],options:null}],options:{}}]}});function Dt(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,4,null,null,null,null,null,null,null)),(l()(),e.Ab(1,0,null,null,3,"data-table",[],null,[[null,"delete"],[null,"paginate"],[null,"search"],[null,"sort"],[null,"view"]],function(l,n,t){var e=!0,i=l.component;return"delete"===n&&(e=!1!==i.destroyTest(t)&&e),"paginate"===n&&(e=!1!==i.handlePaginateChange(t)&&e),"search"===n&&(e=!1!==i.searchTests(t)&&e),"sort"===n&&(e=!1!==i.sortTests(t)&&e),"view"===n&&(e=!1!==i.viewTest(t)&&e),e},nt.b,nt.a)),e.zb(2,4964352,null,0,tt.a,[e.l,f.g],{data:[0,"data"],buttonsTemplate:[1,"buttonsTemplate"],columns:[2,"columns"],isContained:[3,"isContained"],page:[4,"page"],pageSize:[5,"pageSize"],length:[6,"length"],query:[7,"query"],sortBy:[8,"sortBy"],sortOrder:[9,"sortOrder"],resourceName:[10,"resourceName"],templates:[11,"templates"]},{delete:"delete",view:"view",paginate:"paginate",sort:"sort",search:"search"}),e.Rb(3,{latency:0,passed:1,position:2,status:3}),e.Tb(256,null,M.c,tt.b,[])],function(l,n){var t=n.component,i=t.tests,a=e.Ob(n.parent,70),u=t.tableColumns,o=t.page,s=t.pageSize,r=t.totalTests,c=t.indexParams.q,b=t.indexParams.sort_by,d=t.indexParams.sort_order,p=l(n,3,0,e.Ob(n.parent,69),e.Ob(n.parent,77),e.Ob(n.parent,71),e.Ob(n.parent,68));l(n,2,1,[i,a,u,!0,o,s,r,c,b,d,"test",p])},null)}function Et(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"status-label",[],null,null,null,Mn.b,Mn.a)),e.zb(1,114688,null,0,qn.a,[],{text:[0,"text"],status:[1,"status"],okThreshold:[2,"okThreshold"],warningThreshold:[3,"warningThreshold"]},null)],function(l,n){l(n,1,0,n.context.row.status,n.context.row.status,299,499)},null)}function Nt(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"status-label",[],null,null,null,Mn.b,Mn.a)),e.zb(1,114688,null,0,qn.a,[],{text:[0,"text"],status:[1,"status"],okThreshold:[2,"okThreshold"],warningThreshold:[3,"warningThreshold"]},null)],function(l,n){l(n,1,0,n.context.row.latency+" ms",n.context.row.latency,350,1e3)},null)}function Ut(l){return e.bc(0,[(l()(),e.jb(0,null,null,0))],null,null)}function Ht(l){return e.bc(0,[(l()(),e.Yb(0,null,[" ","\n"]))],null,function(l,n){l(n,0,0,n.context.row.position+1)})}function Bt(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"status-label",[],null,null,null,Mn.b,Mn.a)),e.zb(1,114688,null,0,qn.a,[],{icon:[0,"icon"],status:[1,"status"],okThreshold:[2,"okThreshold"],warningThreshold:[3,"warningThreshold"]},null)],function(l,n){var t=n.component;l(n,1,0,n.context.row.passed?t.icons.icCheck:t.icons.icClose,n.context.row.passed?-1:1,-1,0)},null)}function Gt(l){return e.bc(0,[e.Ub(402653184,1,{sidebar:0}),(l()(),e.Ab(1,0,null,null,66,"vex-page-layout",[["class","vex-page-layout"],["mode","card"]],[[2,"vex-page-layout-card",null],[2,"vex-page-layout-simple",null]],null,null,Pn.b,Pn.a)),e.zb(2,49152,null,0,Fn.a,[],{mode:[0,"mode"]},null),(l()(),e.Ab(3,0,null,0,8,"vex-page-layout-header",[["class","pl-10 pr-10 vex-layout-theme vex-page-layout-header"],["fxLayout","column"],["fxLayoutAlign","center start"]],null,null,null,null,null)),e.zb(4,16384,null,0,jn.a,[],null,null),e.zb(5,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(6,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(7,0,null,null,4,"div",[["class","ml-1 mr-1"]],null,null,null,null,null)),(l()(),e.Ab(8,0,null,null,1,"h1",[["class","title mt-0 mb-1"]],null,null,null,null,null)),(l()(),e.Yb(-1,null,["Report Details"])),(l()(),e.Ab(10,0,null,null,1,"vex-breadcrumbs",[],null,null,null,Dn.b,Dn.a)),e.zb(11,114688,null,0,En.a,[],{crumbs:[0,"crumbs"]},null),(l()(),e.Ab(12,0,null,0,55,"vex-page-layout-content",[["class","pl-10 pr-10 vex-page-layout-content"]],null,null,null,null,null)),e.zb(13,16384,null,0,Rt.a,[],null,null),(l()(),e.Ab(14,0,null,null,53,"div",[["class","card"]],null,null,null,null,null)),(l()(),e.Ab(15,0,null,null,52,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,hl.d,hl.b)),e.zb(16,3325952,null,1,fl.h,[e.l,e.h,[2,fl.a],[2,A.a]],null,null),e.Ub(603979776,2,{_allTabs:1}),e.Tb(2048,null,fl.b,null,[fl.h]),(l()(),e.Ab(19,16777216,null,null,9,"mat-tab",[["label","Tests"]],null,null,null,hl.f,hl.a)),e.zb(20,770048,[[2,4]],2,fl.d,[e.R,fl.b],{textLabel:[0,"textLabel"]},null),e.Ub(603979776,3,{templateLabel:0}),e.Ub(335544320,4,{_explicitContent:0}),(l()(),e.Ab(23,0,null,0,5,"div",[["class","p-2 overflow-auto"]],null,null,null,null,null)),(l()(),e.Ab(24,0,null,null,1,"mat-divider",[["class","mt-2 mb-3 mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,C.b,C.a)),e.zb(25,49152,null,0,k.a,[],null,null),(l()(),e.Ab(26,0,null,null,2,"div",[["class","w-full"]],null,null,null,null,null)),(l()(),e.jb(16777216,null,null,1,null,Dt)),e.zb(28,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.Ab(29,16777216,null,null,38,"mat-tab",[["label","General"]],null,null,null,hl.f,hl.a)),e.zb(30,770048,[[2,4]],2,fl.d,[e.R,fl.b],{textLabel:[0,"textLabel"]},null),e.Ub(603979776,5,{templateLabel:0}),e.Ub(335544320,6,{_explicitContent:0}),(l()(),e.Ab(33,0,null,0,34,"div",[["class","p-3"]],null,null,null,null,null)),(l()(),e.Ab(34,0,null,null,10,"div",[["class","border-b py-4 px-6 flex-container"],["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),e.zb(35,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(36,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(37,0,null,null,2,"h2",[["class","m-0 title"],["fxFlex","auto"]],null,null,null,null,null)),e.zb(38,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Yb(-1,null,["Name"])),(l()(),e.Ab(40,0,null,null,4,"button",[["class","mat-focus-indicator"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.openEditNameDialog()&&e),e},y.d,y.b)),e.zb(41,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(42,0,null,0,2,"mat-icon",[["class","text-secondary mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(43,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(44,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(45,0,null,null,1,"div",[["class","px-6 py-3"]],null,null,null,null,null)),(l()(),e.Yb(46,null,[" "," "])),(l()(),e.Ab(47,0,null,null,10,"div",[["class","border-b py-4 px-6 flex-container"],["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),e.zb(48,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(49,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(50,0,null,null,2,"h2",[["class","m-0 title"],["fxFlex","auto"]],null,null,null,null,null)),e.zb(51,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Yb(-1,null,["Description"])),(l()(),e.Ab(53,0,null,null,4,"button",[["class","mat-focus-indicator"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.openEditDescriptionDialog()&&e),e},y.d,y.b)),e.zb(54,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(55,0,null,0,2,"mat-icon",[["class","text-secondary mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(56,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(57,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(58,0,null,null,1,"div",[["class","px-6 py-3"]],null,null,null,null,null)),(l()(),e.Yb(59,null,[" "," "])),(l()(),e.Ab(60,0,null,null,5,"div",[["class","border-b py-4 px-6 flex-container"],["fxLayout","row"],["fxLayoutAlign","start center"]],null,null,null,null,null)),e.zb(61,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(62,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(63,0,null,null,2,"h2",[["class","m-0 title"],["fxFlex","auto"]],null,null,null,null,null)),e.zb(64,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Yb(-1,null,["Key"])),(l()(),e.Ab(66,0,null,null,1,"div",[["class","px-6 py-3"]],null,null,null,null,null)),(l()(),e.Yb(67,null,[" "," "])),(l()(),e.jb(0,[["statusTemplate",2]],null,0,null,Et)),(l()(),e.jb(0,[["latencyTemplate",2]],null,0,null,Nt)),(l()(),e.jb(0,[["buttonsTemplate",2]],null,0,null,Ut)),(l()(),e.jb(0,[["positionTemplate",2]],null,0,null,Ht)),(l()(),e.Ab(72,0,null,null,4,"vex-sidebar",[["class","vex-sidebar"],["position","right"],["width","50"]],null,null,null,et.b,et.a)),e.zb(73,180224,[[1,4],["configpanel",4]],0,it.a,[m.d],{position:[0,"position"],invisibleBackdrop:[1,"invisibleBackdrop"],width:[2,"width"]},null),(l()(),e.Ab(74,0,null,0,2,"div",[["class","ml-2 mr-2"]],null,null,null,null,null)),(l()(),e.Ab(75,0,null,null,1,"tests-show",[["display","vertical"]],null,null,null,Sl.c,Sl.a)),e.zb(76,638976,null,0,Yl.a,[Vl.a,$l.a,Wl.a,Kl.a,Ql.a,Xl.a,Zl.a,Jl.a,ln.a,nn.a,tn.a,en.a,an.b],{display:[0,"display"]},null),(l()(),e.jb(0,[["passedTemplate",2]],null,0,null,Bt))],function(l,n){var t=n.component;l(n,2,0,"card"),l(n,5,0,"column"),l(n,6,0,"center start"),l(n,11,0,t.crumbs),l(n,20,0,"Tests"),l(n,28,0,!t.isEditing),l(n,30,0,"General"),l(n,35,0,"row"),l(n,36,0,"start center"),l(n,38,0,"auto"),l(n,43,0),l(n,44,0,t.icons.icEdit),l(n,48,0,"row"),l(n,49,0,"start center"),l(n,51,0,"auto"),l(n,56,0),l(n,57,0,t.icons.icEdit),l(n,61,0,"row"),l(n,62,0,"start center"),l(n,64,0,"auto"),l(n,73,0,"right",!0,"50"),l(n,76,0,"vertical")},function(l,n){var t=n.component;l(n,1,0,e.Ob(n,2).isCard,e.Ob(n,2).isSimple),l(n,15,0,e.Ob(n,16).dynamicHeight,"below"===e.Ob(n,16).headerPosition),l(n,24,0,e.Ob(n,25).vertical?"vertical":"horizontal",e.Ob(n,25).vertical,!e.Ob(n,25).vertical,e.Ob(n,25).inset),l(n,40,0,e.Ob(n,41).disabled||null,"NoopAnimations"===e.Ob(n,41)._animationMode,e.Ob(n,41).disabled),l(n,42,0,e.Ob(n,43)._usingFontIcon()?"font":"svg",e.Ob(n,43)._svgName||e.Ob(n,43).fontIcon,e.Ob(n,43)._svgNamespace||e.Ob(n,43).fontSet,e.Ob(n,43).inline,"primary"!==e.Ob(n,43).color&&"accent"!==e.Ob(n,43).color&&"warn"!==e.Ob(n,43).color,e.Ob(n,44).inline,e.Ob(n,44).size,e.Ob(n,44).iconHTML),l(n,46,0,t.report.name),l(n,53,0,e.Ob(n,54).disabled||null,"NoopAnimations"===e.Ob(n,54)._animationMode,e.Ob(n,54).disabled),l(n,55,0,e.Ob(n,56)._usingFontIcon()?"font":"svg",e.Ob(n,56)._svgName||e.Ob(n,56).fontIcon,e.Ob(n,56)._svgNamespace||e.Ob(n,56).fontSet,e.Ob(n,56).inline,"primary"!==e.Ob(n,56).color&&"accent"!==e.Ob(n,56).color&&"warn"!==e.Ob(n,56).color,e.Ob(n,57).inline,e.Ob(n,57).size,e.Ob(n,57).iconHTML),l(n,59,0,t.report.description),l(n,67,0,t.report.key)})}function Yt(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,4,"report-details",[],null,null,null,Gt,jt)),e.Tb(4608,null,zn,zn,[ln.a]),e.Tb(512,null,Jl.a,Jl.a,[]),e.zb(3,4440064,null,0,kt,[qt,$l.a,pn.a,g.e,m.i,Pt.a,Ot.a,Ft.a,ln.a,Jl.a,yt.a,pn.a,pn.p],null,null),e.Tb(256,null,M.c,Ct,[])],function(l,n){l(n,3,0)},null)}var Vt=e.wb("report-details",kt,Yt,{tableColumns:"tableColumns"},{},[]),$t=t("ltgo"),Wt=t("1kq9"),Kt=t.n(Wt),Qt=t("PnnC"),Xt=t.n(Qt),Zt=t("paqc"),Jt=t.n(Zt),le=t("De0L"),ne=t.n(le);class te{constructor(){this.icNotifications=Jt.a,this.icInsertComment=Xt.a,this.icAttachFile=Kt.a,this.icTimer=ne.a}ngOnInit(){}}var ee=e.yb({encapsulation:0,styles:[[".tag[_ngcontent-%COMP%]{width:25px;text-align:center}.text-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"]],data:{}});function ie(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"div",[["class","w-full h-40 overflow-hidden"]],null,null,null,null,null)),(l()(),e.Ab(1,0,null,null,0,"img",[["class","object-cover w-full h-full"]],[[8,"src",4]],null,null,null,null))],null,function(l,n){l(n,1,0,n.component.card.cover.path)})}function ae(l){return e.bc(0,[(l()(),e.Ab(0,16777216,null,null,3,"div",[["class","tag box bg-app-bar text-secondary rounded caption p-1 mat-tooltip-trigger"],["matTooltip","Position"]],null,null,null,null,null)),e.zb(1,4341760,null,0,pl.d,[v.c,e.l,ml.c,e.R,e.B,q.a,h.c,h.h,pl.b,[2,z.b],[2,pl.a]],{message:[0,"message"]},null),(l()(),e.Ab(2,0,null,null,1,"span",[["class","box-text"]],null,null,null,null,null)),(l()(),e.Yb(3,null,["",""])),(l()(),e.jb(0,null,null,0))],function(l,n){l(n,1,0,"Position")},function(l,n){l(n,3,0,n.component.card.position+1)})}function ue(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,27,"div",[["class","px-3 pb-3"],["fxLayout","row wrap"],["fxLayoutAlign","space-between center"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.zb(1,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(2,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(3,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(4,0,null,null,11,"div",[["class","mt-3"],["fxFlex",""],["fxLayout","row"],["fxLayoutAlign","start center"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.zb(5,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(6,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(7,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(8,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.jb(16777216,null,null,1,null,ae)),e.zb(10,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.Ab(11,0,null,null,1,"h3",[["class","body-2 m-0 select-none text-secondary"]],null,null,null,null,null)),(l()(),e.Yb(12,null,[" "," "])),(l()(),e.Ab(13,0,null,null,2,"h3",[["class","body-2 m-0 select-none text-ellipsis"],["fxFlex","350px"]],null,null,null,null,null)),e.zb(14,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Yb(15,null,[" "," "])),(l()(),e.Ab(16,0,null,null,11,"div",[["class","mr-0 mt-3"],["fxLayout","row"]],null,null,null,null,null)),e.zb(17,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),(l()(),e.Ab(18,16777216,null,null,4,"div",[["class","mr-2 mat-tooltip-trigger"],["fxFlex","50px"],["matTooltip","Status"]],null,null,null,null,null)),e.zb(19,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(20,4341760,null,0,pl.d,[v.c,e.l,ml.c,e.R,e.B,q.a,h.c,h.h,pl.b,[2,z.b],[2,pl.a]],{message:[0,"message"]},null),(l()(),e.Ab(21,0,null,null,1,"status-label",[],null,null,null,Mn.b,Mn.a)),e.zb(22,114688,null,0,qn.a,[],{text:[0,"text"],status:[1,"status"],okThreshold:[2,"okThreshold"],warningThreshold:[3,"warningThreshold"]},null),(l()(),e.Ab(23,16777216,null,null,4,"div",[["class","mat-tooltip-trigger"],["fxFlex","75px"],["matTooltip","Latency"]],null,null,null,null,null)),e.zb(24,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(25,4341760,null,0,pl.d,[v.c,e.l,ml.c,e.R,e.B,q.a,h.c,h.h,pl.b,[2,z.b],[2,pl.a]],{message:[0,"message"]},null),(l()(),e.Ab(26,0,null,null,1,"status-label",[],null,null,null,Mn.b,Mn.a)),e.zb(27,114688,null,0,qn.a,[],{text:[0,"text"],status:[1,"status"],okThreshold:[2,"okThreshold"],warningThreshold:[3,"warningThreshold"]},null)],function(l,n){var t=n.component;l(n,1,0,"row wrap"),l(n,2,0,"10px"),l(n,3,0,"space-between center"),l(n,5,0,"row"),l(n,6,0,"10px"),l(n,7,0,"start center"),l(n,8,0,""),l(n,10,0,null!==t.card.position),l(n,14,0,"350px"),l(n,17,0,"row"),l(n,19,0,"50px"),l(n,20,0,"Status"),l(n,22,0,t.card.status,t.card.status,399,499),l(n,24,0,"75px"),l(n,25,0,"Latency"),l(n,27,0,t.card.latency+" ms",t.card.latency,350,1e3)},function(l,n){var t=n.component;l(n,12,0,t.card.method),l(n,15,0,t.card.title)})}function oe(l){return e.bc(0,[(l()(),e.Ab(0,16777216,null,null,4,"div",[["class","tag box bg-app-bar text-secondary rounded caption p-1 mat-tooltip-trigger"],["fxFlex","0 0 35px"],["matTooltip","Position"]],null,null,null,null,null)),e.zb(1,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(2,4341760,null,0,pl.d,[v.c,e.l,ml.c,e.R,e.B,q.a,h.c,h.h,pl.b,[2,z.b],[2,pl.a]],{message:[0,"message"]},null),(l()(),e.Ab(3,0,null,null,1,"span",[["class","box-text"]],null,null,null,null,null)),(l()(),e.Yb(4,null,[" "," "])),(l()(),e.jb(0,null,null,0))],function(l,n){l(n,1,0,"0 0 35px"),l(n,2,0,"Position")},function(l,n){l(n,4,0,n.component.card.position+1)})}function se(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,27,"div",[["class","py-3 px-3"]],null,null,null,null,null)),(l()(),e.Ab(1,0,null,null,10,"div",[["fxLayout","row"],["fxLayoutAlign","start center"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.zb(2,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(3,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(4,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.jb(16777216,null,null,1,null,oe)),e.zb(6,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.Ab(7,0,null,null,2,"h3",[["class","body-2 m-0 select-none text-secondary"],["fxFlex","75px"]],null,null,null,null,null)),e.zb(8,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Yb(9,null,[" "," "])),(l()(),e.Ab(10,0,null,null,1,"h3",[["class","body-2 m-0 select-none"]],null,null,null,null,null)),(l()(),e.Yb(11,null,[" "," "])),(l()(),e.Ab(12,0,null,null,15,"div",[["css","mt-1"],["fxLayout","row"],["fxLayoutAlign","start center"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.zb(13,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(14,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(15,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(16,0,null,null,1,"span",[["fxFlex",""]],null,null,null,null,null)),e.zb(17,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Ab(18,16777216,null,null,4,"div",[["class","mr-2 mat-tooltip-trigger"],["fxFlex","50px"],["matTooltip","Status"]],null,null,null,null,null)),e.zb(19,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(20,4341760,null,0,pl.d,[v.c,e.l,ml.c,e.R,e.B,q.a,h.c,h.h,pl.b,[2,z.b],[2,pl.a]],{message:[0,"message"]},null),(l()(),e.Ab(21,0,null,null,1,"status-label",[],null,null,null,Mn.b,Mn.a)),e.zb(22,114688,null,0,qn.a,[],{text:[0,"text"],status:[1,"status"],okThreshold:[2,"okThreshold"],warningThreshold:[3,"warningThreshold"]},null),(l()(),e.Ab(23,16777216,null,null,4,"div",[["class","mat-tooltip-trigger"],["fxFlex","75px"],["matTooltip","Latency"]],null,null,null,null,null)),e.zb(24,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(25,4341760,null,0,pl.d,[v.c,e.l,ml.c,e.R,e.B,q.a,h.c,h.h,pl.b,[2,z.b],[2,pl.a]],{message:[0,"message"]},null),(l()(),e.Ab(26,0,null,null,1,"status-label",[],null,null,null,Mn.b,Mn.a)),e.zb(27,114688,null,0,qn.a,[],{text:[0,"text"],status:[1,"status"],okThreshold:[2,"okThreshold"],warningThreshold:[3,"warningThreshold"]},null)],function(l,n){var t=n.component;l(n,2,0,"row"),l(n,3,0,"10px"),l(n,4,0,"start center"),l(n,6,0,null!==t.card.position),l(n,8,0,"75px"),l(n,13,0,"row"),l(n,14,0,"10px"),l(n,15,0,"start center"),l(n,17,0,""),l(n,19,0,"50px"),l(n,20,0,"Status"),l(n,22,0,t.card.status,t.card.status,399,499),l(n,24,0,"75px"),l(n,25,0,"Latency"),l(n,27,0,t.card.latency+" ms",t.card.latency,350,1e3)},function(l,n){var t=n.component;l(n,9,0,t.card.method),l(n,11,0,t.card.title)})}function re(l){return e.bc(0,[(l()(),e.jb(16777216,null,null,1,null,ie)),e.zb(1,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.jb(16777216,null,null,1,null,ue)),e.zb(3,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.jb(16777216,null,null,1,null,se)),e.zb(5,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null)],function(l,n){var t=n.component;l(n,1,0,t.card.cover),l(n,3,0,!t.wrapped),l(n,5,0,t.wrapped)},null)}var ce=t("DvVJ"),be=t("/mFy"),de=t("6Eyv"),pe=t("XTDF"),me=t.n(pe),he=t("pQML"),fe=t.n(he),ge=t("DzyE"),xe=t.n(ge),Oe=t("E67/"),ye=t("LRne");class ve{constructor(l,n,t,i,a,u,o,s){this.dialog=l,this.icons=n,this.popover=t,this.requestCardAdapterService=i,this.requestDataService=a,this.requestResource=u,this.route=o,this.snackbar=s,this.onRequestDetails=new e.o,this.layoutCtrl=new f.h("fullwidth"),this.REPORT_REQUESTS_CONTAINER_ID=1,this.AVAILABLE_REQUESTS_CONTAINER_ID=2,this.REMOVE_CONTAINER_ID=3,this.SEARCH_PAGE_SIZE=20,this.crumbs=[],this.board={id:1,label:"",children:[]},this.addCardCtrl=new f.h,this.addListCtrl=new f.h,this.showAddRequests=!1,this.icAdd=Bn.a,this.icClose=U.a,this.icDelete=Y.a,this.icInfo=fe.a,this.icImportExport=me.a,this.icKeyboardArrowRight=xe.a}ngOnInit(){const{snapshot:{data:{requests:l,requestsAvailable:n}}}=this.route;this.report=new il.w(this.route.snapshot.data.report),this.project=new il.r(this.route.snapshot.data.project),this.reportRequestsList=this.buildReportRequestsList(this.report.id),this.availableRequestsList=this.buildAvailalbeRequestsList(),this.removedRequestsList=this.buildRemovedRequestList(),this.board.label=this.report.name,this.board.children.push(this.reportRequestsList),this.board.children.push(this.availableRequestsList),this.board.children.push(this.removedRequestsList),this.setReportRequests(l.list.map(l=>new il.y(l))),this.setAvailableRequests(n.list.map(l=>new il.y(l))),this.buildCrumbs()}createRequest(l){l.append("project_id",this.project.id.toString()),l.append("report_id",this.report.id.toString()),this.requestResource.create(l).subscribe(l=>{const{requests:n}=this.reportRequestsList,t=n.slice(),e=t[t.length-1];e&&l.list[0].position!==e.position+1||(t.push(new il.y(l.list[0])),this.reportRequestsList.requests=t,this.setReportRequests(t)),this.snackbar.open("Request was added to the end of the report.","close",{duration:5e3})},l=>{})}searchRequests(l){const{total:n=0,page:t=0,size:e=0}=l||{};return n<0||t*e<n?this.requestResource.index(Object.assign({project_id:this.route.snapshot.queryParams.project_id},l)):Object(ye.a)()}addRequest(l,n){return this.requestResource.update(l,{report_id:this.report.id,position:n})}repositionRequest(l,n){return this.requestResource.update(l,{position:n})}removeRequest(l){return this.requestResource.update(l,{position:-1,report_id:-1})}openCreateDialog(){const l=this.dialog.open(Oe.a,{width:"750px"}),n=l.componentInstance.onCreate.subscribe(l=>{this.createRequest(l)});l.afterClosed().subscribe(()=>{n.unsubscribe()})}handleScroll(l){const{page:n,q:t="",qt:e,reportId:i,size:a,total:u}=l.search||{};l.search&&(l.search.page+=1),this.searchRequests({page:n,q:t,qt:e,report_id:i,size:a,total:u}).subscribe(n=>{if(n){const t=n.list.map(l=>new il.y(l));switch(l.requests.push(...t),l.id){case this.REPORT_REQUESTS_CONTAINER_ID:this.setReportRequests(l.requests);break;case this.AVAILABLE_REQUESTS_CONTAINER_ID:this.setAvailableRequests(l.requests);break;case this.REMOVE_CONTAINER_ID:this.setRemovedRequests(l.requests)}l.search&&(l.search.total=n.total)}})}handleSearch(l,n){const{q:t="",reportId:e,size:i}=n.search||{};this.searchRequests({q:t,report_id:e,size:i}).subscribe(l=>{n.children=this.buildListChildren(l.list),n.search||(n.search={size:this.SEARCH_PAGE_SIZE}),n.search.total=-1,n.search.page=0,n.search.q=t})}open(l,n){const t=n.requests.find(n=>n.id===l.id);this.onRequestDetails.emit(t)}handleReportDrop(l){const n=l.item.data.id,t=l.currentIndex;l.previousContainer===l.container?(this.repositionReportRequests(n,t),Object($t.m)(l.container.data,l.previousIndex,l.currentIndex)):this.addAvailableRequest(n,t)}handleRemoveDrop(l){const{item:{data:{id:n}}}=l;this.removeRequest(n).subscribe(l=>{const{requests:t}=this.reportRequestsList,e=t.findIndex(l=>l.id===n),i=t[e];t.splice(e,1);const{requests:a}=this.removedRequestsList;a.push(i),this.setReportRequests(t),this.setRemovedRequests(a)})}clearEditing(){this.availableRequestsList.visible=!1,this.removedRequestsList.visible=!1}toggleAvailableRequests(){this.availableRequestsList.visible=!this.availableRequestsList.visible}toggleRemovedRequests(){this.removedRequestsList.visible=!this.removedRequestsList.visible}isEditing(){return this.availableRequestsList.visible||this.removedRequestsList.visible}buildCrumbs(){this.crumbs.push({name:this.project.name}),this.crumbs.push({name:"Reports",routerLink:["/reports"],queryParams:this.route.snapshot.queryParams}),this.crumbs.push({name:this.report.name,routerLink:["/reports/"+this.report.id],queryParams:this.route.snapshot.queryParams}),this.crumbs.push({name:"Editor"})}setReportRequests(l){for(let n=0;n<l.length;++n)l[n].position=n;this.reportRequestsList.requests=l,this.reportRequestsList.children=this.buildListChildren(l)}setAvailableRequests(l){this.availableRequestsList.requests=l,this.availableRequestsList.children=this.buildListChildren(l)}setRemovedRequests(l){this.removedRequestsList.children=this.buildListChildren(l)}addAvailableRequests(l){const n=l;this.availableRequestsList.requests.push(...n.list);const t=this.buildListChildren(n.list);this.availableRequestsList.children.push(...t)}repositionReportRequests(l,n){const{requests:t}=this.reportRequestsList,e=t.find(n=>n.id===l).position;this.repositionRequest(l,n).subscribe(l=>{t.splice(n+1,0,t[e]),t.splice(n>e?e:e+1,1),this.setReportRequests(t)})}addAvailableRequest(l,n){this.addRequest(l,n).subscribe(t=>{const{requests:e}=this.availableRequestsList,i=e.findIndex(n=>n.id===l),a=e[i];a.position=n,e.splice(i,1);const{requests:u}=this.reportRequestsList;u.splice(n,0,a),this.setAvailableRequests(e),this.setReportRequests(u)})}buildReportRequestsList(l){const n={children:[],connectedTo:[""+this.REPORT_REQUESTS_CONTAINER_ID,""+this.REMOVE_CONTAINER_ID],description:"Add or move requests by dragging them",id:this.REPORT_REQUESTS_CONTAINER_ID,label:"Report Requests",search:{q:"",page:1,reportId:l,size:this.SEARCH_PAGE_SIZE,total:-1,label:"Search Requests...",onScroll:()=>this.handleScroll(n)},requests:[],visible:!0};return n}buildAvailalbeRequestsList(){const l={children:[],connectedTo:[""+this.REPORT_REQUESTS_CONTAINER_ID],id:this.AVAILABLE_REQUESTS_CONTAINER_ID,label:"Available Requests",search:{q:"",page:0,reportId:-1,size:this.SEARCH_PAGE_SIZE,total:-1,label:"Search Requests...",onScroll:()=>this.handleScroll(l)},requests:[],visible:!1};return l}buildRemovedRequestList(){return{children:[],connectedTo:[],description:"Remove requests by dragging them here",id:this.REMOVE_CONTAINER_ID,label:"Removed Requests",requests:[],visible:!1}}buildListChildren(l){return l.map(l=>this.requestCardAdapterService.createCard(l))}}var ze=t("/7Ly"),_e=t.n(ze);let Ae=(()=>{class l{constructor(){this.icNotifications=Jt.a,this.icInsertComment=Xt.a,this.icAttachFile=Kt.a,this.icAdd=Bn.a,this.icClose=U.a,this.icStar=Yn.a,this.icStarBorder=gt.a,this.icClear=_e.a}}return l.\u0275prov=e.cc({factory:function(){return new l},token:l,providedIn:"root"}),l})();var Le=t("kYjG"),we=t("ExVU");let Se=(()=>{class l{constructor(){}createCard(l){return{id:l.id,title:l.url,method:l.method,status:l.status,position:l.position,latency:l.latency,dueDate:{date:we.DateTime.fromJSDate(l.createdAt),done:!1},attachments:[],comments:[],users:[],labels:[]}}}return l.\u0275prov=e.cc({factory:function(){return new l},token:l,providedIn:"root"}),l})();var Re=e.yb({encapsulation:0,styles:[[".vex-style-dark vex-scrumboard .request-card:hover{background:rgba(0,0,0,.5)}.scrumboard-drop-zone[_ngcontent-%COMP%]{min-height:250px}.scrumboard-list[_ngcontent-%COMP%]{height:calc(100vh - 65px)}.request-card[_ngcontent-%COMP%]{margin-bottom:var(--padding-8);cursor:move}.request-card[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}.request-card[_ngcontent-%COMP%]:hover{background:hsla(0,0%,100%,.5)}.request-card[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{border-radius:6px;height:6px;max-width:32px}.request-card[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{padding:3px}.request-card[_ngcontent-%COMP%] .box[_ngcontent-%COMP%] .box-text[_ngcontent-%COMP%]{font-size:11px;font-weight:var(--font-weight-medium);margin-left:3px;margin-right:3px;vertical-align:bottom}.avatar.overlapping[_ngcontent-%COMP%]{border:2px solid var(--background-card);height:23px;margin-right:-8px;width:23px}.avatar.overlapping[_ngcontent-%COMP%]:last-of-type{margin-right:0}.cdk-drag-preview[_ngcontent-%COMP%]{box-shadow:var(--elevation-z8)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:.2}.cdk-drop-list-dragging[_ngcontent-%COMP%] .request-card[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)!important}"]],data:{animation:[{type:7,name:"stagger",definitions:[{type:1,expr:"* => *",animation:[{type:11,selector:"@fadeInUp, @fadeInRight, @scaleIn",animation:{type:12,timings:80,animation:{type:9,options:null}},options:{optional:!0}}],options:null}],options:{}},{type:7,name:"fadeInUp",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(20px)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0)",opacity:1},offset:null},timings:"400ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function Te(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,40,"div",[["cdkDragHandle",""],["class","w-full cdk-drag-handle"],["fxFlex","none"],["fxLayoutAlign","space-between center"]],null,null,null,null,null)),e.Tb(6144,null,$t.b,null,[$t.g]),e.zb(2,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(3,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(4,147456,null,0,$t.g,[e.l,[3,$t.c]],null,null),(l()(),e.Ab(5,0,null,null,26,"div",[["fxFlex",""],["fxLayout","row"],["fxLayoutAlign","start center"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.zb(6,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(7,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(8,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(9,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Ab(10,0,null,null,15,"div",[["fxLayout","row"],["fxLayoutAlign","start center"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.zb(11,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(12,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(13,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(14,0,null,null,5,"button",[["class","mat-focus-indicator"],["color","primary"],["fxFlex","none"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.openCreateDialog()&&e),e},y.d,y.b)),e.zb(15,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(16,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],{color:[0,"color"]},null),(l()(),e.Ab(17,0,null,0,1,"ic-icon",[["inline","true"],["size","22px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),e.zb(18,606208,null,0,R.a,[T.b],{icon:[0,"icon"],inline:[1,"inline"],size:[2,"size"]},null),(l()(),e.Yb(-1,0,[" CREATE "])),(l()(),e.Ab(20,0,null,null,5,"button",[["class","mat-focus-indicator"],["color","primary"],["fxFlex","none"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.toggleAvailableRequests()&&e),e},y.d,y.b)),e.zb(21,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(22,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],{color:[0,"color"]},null),(l()(),e.Ab(23,0,null,0,1,"ic-icon",[["inline","true"],["size","22px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),e.zb(24,606208,null,0,R.a,[T.b],{icon:[0,"icon"],inline:[1,"inline"],size:[2,"size"]},null),(l()(),e.Yb(-1,0,[" ADD "])),(l()(),e.Ab(26,0,null,null,5,"button",[["class","mat-focus-indicator"],["color","warn"],["fxFlex","none"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.toggleRemovedRequests()&&e),e},y.d,y.b)),e.zb(27,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(28,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],{color:[0,"color"]},null),(l()(),e.Ab(29,0,null,0,1,"ic-icon",[["inline","true"],["size","22px"]],[[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,null,null)),e.zb(30,606208,null,0,R.a,[T.b],{icon:[0,"icon"],inline:[1,"inline"],size:[2,"size"]},null),(l()(),e.Yb(-1,0,[" REMOVE "])),(l()(),e.Ab(32,0,null,null,8,"span",[["fxFlexLayout","row"],["fxLayoutAlign","start center"],["fxLayoutGap","5px"]],null,null,null,null,null)),e.zb(33,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(34,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(35,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(-1,null,["Help "])),(l()(),e.Ab(37,16777216,null,null,3,"mat-icon",[["class","mat-tooltip-trigger mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(38,4341760,null,0,pl.d,[v.c,e.l,ml.c,e.R,e.B,q.a,h.c,h.h,pl.b,[2,z.b],[2,pl.a]],{message:[0,"message"]},null),e.zb(39,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(40,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null)],function(l,n){var t=n.component;l(n,2,0,"space-between center"),l(n,3,0,"none"),l(n,6,0,"row"),l(n,7,0,"10px"),l(n,8,0,"start center"),l(n,9,0,""),l(n,11,0,"row"),l(n,12,0,"10px"),l(n,13,0,"start center"),l(n,15,0,"none"),l(n,16,0,"primary"),l(n,18,0,t.icAdd,"true","22px"),l(n,21,0,"none"),l(n,22,0,"primary"),l(n,24,0,t.icImportExport,"true","22px"),l(n,27,0,"none"),l(n,28,0,"warn"),l(n,30,0,t.icDelete,"true","22px"),l(n,33,0,"5px"),l(n,34,0,"start center"),l(n,38,0,t.reportRequestsList.description),l(n,39,0),l(n,40,0,t.icInfo)},function(l,n){l(n,14,0,e.Ob(n,16).disabled||null,"NoopAnimations"===e.Ob(n,16)._animationMode,e.Ob(n,16).disabled),l(n,17,0,e.Ob(n,18).inline,e.Ob(n,18).size,e.Ob(n,18).iconHTML),l(n,20,0,e.Ob(n,22).disabled||null,"NoopAnimations"===e.Ob(n,22)._animationMode,e.Ob(n,22).disabled),l(n,23,0,e.Ob(n,24).inline,e.Ob(n,24).size,e.Ob(n,24).iconHTML),l(n,26,0,e.Ob(n,28).disabled||null,"NoopAnimations"===e.Ob(n,28)._animationMode,e.Ob(n,28).disabled),l(n,29,0,e.Ob(n,30).inline,e.Ob(n,30).size,e.Ob(n,30).iconHTML),l(n,37,0,e.Ob(n,39)._usingFontIcon()?"font":"svg",e.Ob(n,39)._svgName||e.Ob(n,39).fontIcon,e.Ob(n,39)._svgNamespace||e.Ob(n,39).fontSet,e.Ob(n,39).inline,"primary"!==e.Ob(n,39).color&&"accent"!==e.Ob(n,39).color&&"warn"!==e.Ob(n,39).color,e.Ob(n,40).inline,e.Ob(n,40).size,e.Ob(n,40).iconHTML)})}function Ce(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,4,"button",[["class","mat-focus-indicator"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.clearEditing()&&e),e},y.d,y.b)),e.zb(1,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(2,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(3,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(4,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null)],function(l,n){var t=n.component;l(n,3,0),l(n,4,0,t.icKeyboardArrowRight)},function(l,n){l(n,0,0,e.Ob(n,1).disabled||null,"NoopAnimations"===e.Ob(n,1)._animationMode,e.Ob(n,1).disabled),l(n,2,0,e.Ob(n,3)._usingFontIcon()?"font":"svg",e.Ob(n,3)._svgName||e.Ob(n,3).fontIcon,e.Ob(n,3)._svgNamespace||e.Ob(n,3).fontSet,e.Ob(n,3).inline,"primary"!==e.Ob(n,3).color&&"accent"!==e.Ob(n,3).color&&"warn"!==e.Ob(n,3).color,e.Ob(n,4).inline,e.Ob(n,4).size,e.Ob(n,4).iconHTML)})}function ke(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,6,"div",[["cdkDragHandle",""],["class","w-full cdk-drag-handle"],["fxFlex","none"],["fxLayoutAlign","end center"]],null,null,null,null,null)),e.Tb(6144,null,$t.b,null,[$t.g]),e.zb(2,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(3,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(4,147456,null,0,$t.g,[e.l,[3,$t.c]],null,null),(l()(),e.jb(16777216,null,null,1,null,Ce)),e.zb(6,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null)],function(l,n){var t=n.component;l(n,2,0,"end center"),l(n,3,0,"none"),l(n,6,0,t.isEditing())},null)}function Ie(l){return e.bc(0,[(l()(),e.Ab(0,16777216,null,null,7,"div",[["cdkDrag",""],["class","request-card card w-full cursor-pointer overflow-hidden cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],[[null,"click"]],function(l,n,t){var e=!0,i=l.component;return"click"===n&&(e=!1!==i.open(l.context.$implicit,i.reportRequestsList)&&e),e},null,null)),e.Tb(6144,null,$t.c,null,[$t.f]),e.zb(2,4866048,null,3,$t.f,[e.l,[3,$t.d],m.d,e.B,e.R,[2,$t.a],[2,z.b],$t.j,e.h,[8,null],[3,$t.c]],{data:[0,"data"]},null),e.Ub(603979776,2,{_handles:1}),e.Ub(603979776,3,{_previewTemplate:0}),e.Ub(603979776,4,{_placeholderTemplate:0}),(l()(),e.Ab(6,0,null,null,1,"request-card",[],null,null,null,re,ee)),e.zb(7,114688,null,0,te,[],{card:[0,"card"]},null),(l()(),e.jb(0,null,null,0))],function(l,n){l(n,2,0,n.context.$implicit),l(n,7,0,n.context.$implicit)},function(l,n){l(n,0,0,e.Ob(n,2).disabled,e.Ob(n,2)._dragRef.isDragging())})}function Me(l){return e.bc(0,[(l()(),e.Ab(0,16777216,null,null,7,"div",[["cdkDrag",""],["class","request-card card w-full cursor-pointer overflow-hidden mb-3 cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],[[null,"click"]],function(l,n,t){var e=!0,i=l.component;return"click"===n&&(e=!1!==i.open(l.context.$implicit,i.removedRequestsList)&&e),e},null,null)),e.Tb(6144,null,$t.c,null,[$t.f]),e.zb(2,4866048,null,3,$t.f,[e.l,[3,$t.d],m.d,e.B,e.R,[2,$t.a],[2,z.b],$t.j,e.h,[8,null],[3,$t.c]],{data:[0,"data"]},null),e.Ub(603979776,5,{_handles:1}),e.Ub(603979776,6,{_previewTemplate:0}),e.Ub(603979776,7,{_placeholderTemplate:0}),(l()(),e.Ab(6,0,null,null,1,"request-card",[],null,null,null,re,ee)),e.zb(7,114688,null,0,te,[],{card:[0,"card"]},null),(l()(),e.jb(0,null,null,0))],function(l,n){l(n,2,0,n.context.$implicit),l(n,7,0,n.context.$implicit)},function(l,n){l(n,0,0,e.Ob(n,2).disabled,e.Ob(n,2)._dragRef.isDragging())})}function qe(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,43,"div",[["fxFlex","auto"],["fxLayout","column"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.zb(1,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(2,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(3,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Ab(4,0,null,null,10,"h2",[["class","subheading-2 font-medium m-0 select-none"],["fxFlex","none"],["fxLayout","row"],["fxLayoutAlign","start center"],["fxLayoutGap","5px"]],null,null,null,null,null)),e.zb(5,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(6,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(7,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(8,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Ab(9,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(10,null,["",""])),(l()(),e.Ab(11,16777216,null,null,3,"mat-icon",[["class","mat-tooltip-trigger mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(12,4341760,null,0,pl.d,[v.c,e.l,ml.c,e.R,e.B,q.a,h.c,h.h,pl.b,[2,z.b],[2,pl.a]],{message:[0,"message"]},null),e.zb(13,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(14,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(15,0,null,null,28,"div",[["fxLayout","row"],["fxLayoutAlign","space-between"],["fxLayoutGap","10px"]],[[24,"@stagger",0]],null,null,null,null)),e.zb(16,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(17,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(18,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(19,0,null,null,24,"div",[["cdkDropListGroup",""],["class","bg-app-bar card p-4"],["fxFlex","auto"],["fxLayout","column"],["fxLayoutGap","10px"]],[[24,"@fadeInUp",0]],null,null,null,null)),e.zb(20,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(21,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(22,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(23,147456,null,0,$t.i,[],null,null),e.Tb(2048,null,$t.e,null,[$t.i]),(l()(),e.Ab(25,0,null,null,10,"div",[["cdkDragHandle",""],["class","cdk-drag-handle"],["fxFlex","none"],["fxLayoutAlign","end center"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.Tb(6144,null,$t.b,null,[$t.g]),e.zb(27,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(28,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(29,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(30,147456,null,0,$t.g,[e.l,[3,$t.c]],null,null),(l()(),e.Ab(31,0,null,null,4,"button",[["class","mat-focus-indicator"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.toggleRemovedRequests()&&e),e},y.d,y.b)),e.zb(32,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(33,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(34,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(35,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(36,0,null,null,7,"div",[["class","flex-auto vexScrollbar overflow-auto scrumboard-list"],["infiniteScroll",""]],null,null,null,null,null)),e.zb(37,4866048,null,0,un.a,[e.l,e.B],{infiniteScrollDistance:[0,"infiniteScrollDistance"],infiniteScrollThrottle:[1,"infiniteScrollThrottle"],scrollWindow:[2,"scrollWindow"]},null),(l()(),e.Ab(38,0,null,null,5,"div",[["cdkDropList",""],["class","scrumboard-drop-zone cdk-drop-list"]],[[1,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],function(l,n,t){var e=!0;return"cdkDropListDropped"===n&&(e=!1!==l.component.handleRemoveDrop(t)&&e),e},null,null)),e.Tb(6144,null,$t.d,null,[$t.h]),e.zb(40,147456,null,0,$t.h,[e.l,$t.j,e.h,ml.c,[2,z.b],[3,$t.e],[2,$t.a]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),e.Tb(256,null,$t.e,void 0,[]),(l()(),e.jb(16777216,null,null,1,null,Me)),e.zb(43,278528,null,0,m.m,[e.R,e.O,e.u],{ngForOf:[0,"ngForOf"]},null)],function(l,n){var t=n.component;l(n,1,0,"column"),l(n,2,0,"10px"),l(n,3,0,"auto"),l(n,5,0,"row"),l(n,6,0,"5px"),l(n,7,0,"start center"),l(n,8,0,"none"),l(n,12,0,t.removedRequestsList.description),l(n,13,0),l(n,14,0,t.icInfo),l(n,16,0,"row"),l(n,17,0,"10px"),l(n,18,0,"space-between"),l(n,20,0,"column"),l(n,21,0,"10px"),l(n,22,0,"auto"),l(n,27,0,"10px"),l(n,28,0,"end center"),l(n,29,0,"none"),l(n,34,0),l(n,35,0,t.icClose),l(n,37,0,2,50,!1),l(n,40,0,t.removedRequestsList.connectedTo,t.removedRequestsList.children,e.Hb(1,"",t.removedRequestsList.id,"")),l(n,43,0,t.removedRequestsList.children)},function(l,n){l(n,10,0,n.component.removedRequestsList.label),l(n,11,0,e.Ob(n,13)._usingFontIcon()?"font":"svg",e.Ob(n,13)._svgName||e.Ob(n,13).fontIcon,e.Ob(n,13)._svgNamespace||e.Ob(n,13).fontSet,e.Ob(n,13).inline,"primary"!==e.Ob(n,13).color&&"accent"!==e.Ob(n,13).color&&"warn"!==e.Ob(n,13).color,e.Ob(n,14).inline,e.Ob(n,14).size,e.Ob(n,14).iconHTML),l(n,15,0,void 0),l(n,19,0,void 0),l(n,31,0,e.Ob(n,32).disabled||null,"NoopAnimations"===e.Ob(n,32)._animationMode,e.Ob(n,32).disabled),l(n,33,0,e.Ob(n,34)._usingFontIcon()?"font":"svg",e.Ob(n,34)._svgName||e.Ob(n,34).fontIcon,e.Ob(n,34)._svgNamespace||e.Ob(n,34).fontSet,e.Ob(n,34).inline,"primary"!==e.Ob(n,34).color&&"accent"!==e.Ob(n,34).color&&"warn"!==e.Ob(n,34).color,e.Ob(n,35).inline,e.Ob(n,35).size,e.Ob(n,35).iconHTML),l(n,38,0,e.Ob(n,40).id,e.Ob(n,40).disabled,e.Ob(n,40)._dropListRef.isDragging(),e.Ob(n,40)._dropListRef.isReceiving())})}function Pe(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,1,"requests-search",[],null,[[null,"search"]],function(l,n,t){var e=!0,i=l.component;return"search"===n&&(e=!1!==i.handleSearch(t,i.availableRequestsList)&&e),e},ce.b,ce.a)),e.zb(1,114688,null,0,be.a,[Wl.a,rn.a,f.g,Ql.a,cn.a,bn.b,Zl.a,dn.a,pn.a],{projectId:[0,"projectId"]},{search:"search"})],function(l,n){l(n,1,0,n.component.report.projectId)},null)}function Fe(l){return e.bc(0,[(l()(),e.Ab(0,16777216,null,null,7,"div",[["cdkDrag",""],["class","request-card card w-full cursor-pointer overflow-auto cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],[[null,"click"]],function(l,n,t){var e=!0,i=l.component;return"click"===n&&(e=!1!==i.open(l.context.$implicit,i.availableRequestsList)&&e),e},null,null)),e.Tb(6144,null,$t.c,null,[$t.f]),e.zb(2,4866048,null,3,$t.f,[e.l,[3,$t.d],m.d,e.B,e.R,[2,$t.a],[2,z.b],$t.j,e.h,[8,null],[3,$t.c]],{data:[0,"data"]},null),e.Ub(603979776,8,{_handles:1}),e.Ub(603979776,9,{_previewTemplate:0}),e.Ub(603979776,10,{_placeholderTemplate:0}),(l()(),e.Ab(6,0,null,null,1,"request-card",[],null,null,null,re,ee)),e.zb(7,114688,null,0,te,[],{card:[0,"card"]},null),(l()(),e.jb(0,null,null,0))],function(l,n){l(n,2,0,n.context.$implicit),l(n,7,0,n.context.$implicit)},function(l,n){l(n,0,0,e.Ob(n,2).disabled,e.Ob(n,2)._dragRef.isDragging())})}function je(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,32,"div",[["fxFlex","auto"],["fxLayout","column"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.zb(1,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(2,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(3,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Ab(4,0,null,null,2,"h2",[["class","subheading-2 font-medium m-0 select-none"],["fxFlex","none"]],null,null,null,null,null)),e.zb(5,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Yb(6,null,[" "," "])),(l()(),e.Ab(7,0,null,null,25,"div",[["cdkDropListGroup",""],["class","rounded bg-app-bar card"],["fxFlex","auto"],["fxLayout","column"]],[[24,"@fadeInUp",0]],null,null,null,null)),e.zb(8,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(9,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(10,147456,null,0,$t.i,[],null,null),e.Tb(2048,null,$t.e,null,[$t.i]),(l()(),e.Ab(12,0,null,null,12,"div",[["cdkDragHandle",""],["class","p-4 cdk-drag-handle"],["fxFlex","none"],["fxLayoutAlign","space-between center"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.Tb(6144,null,$t.b,null,[$t.g]),e.zb(14,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(15,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(16,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(17,147456,null,0,$t.g,[e.l,[3,$t.c]],null,null),(l()(),e.jb(16777216,null,null,1,null,Pe)),e.zb(19,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.Ab(20,0,null,null,4,"button",[["class","mat-focus-indicator"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[2,"mat-button-disabled",null]],[[null,"click"]],function(l,n,t){var e=!0;return"click"===n&&(e=!1!==l.component.toggleAvailableRequests()&&e),e},y.d,y.b)),e.zb(21,4374528,null,0,_.b,[e.l,h.h,[2,A.a]],null,null),(l()(),e.Ab(22,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[1,"data-mat-icon-type",0],[1,"data-mat-icon-name",0],[1,"data-mat-icon-namespace",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"ic-inline",null],[4,"font-size",null],[8,"innerHTML",1]],null,null,L.b,L.a)),e.zb(23,8634368,null,0,w.b,[e.l,w.d,[8,null],w.a,e.n],null,null),e.zb(24,606208,null,0,R.a,[T.b],{icIcon:[0,"icIcon"]},null),(l()(),e.Ab(25,0,null,null,7,"div",[["class","flex-auto vexScrollbar overflow-auto scrumboard-list"],["infiniteScroll",""]],null,[[null,"scrolled"]],function(l,n,t){var e=!0;return"scrolled"===n&&(e=!1!==l.component.availableRequestsList.search.onScroll()&&e),e},null,null)),e.zb(26,4866048,null,0,un.a,[e.l,e.B],{infiniteScrollDistance:[0,"infiniteScrollDistance"],infiniteScrollThrottle:[1,"infiniteScrollThrottle"],infiniteScrollDisabled:[2,"infiniteScrollDisabled"],scrollWindow:[3,"scrollWindow"]},{scrolled:"scrolled"}),(l()(),e.Ab(27,0,null,null,5,"div",[["cdkDropList",""],["class","px-4 pb-4 cdk-drop-list"]],[[1,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],null,null,null,null)),e.Tb(6144,null,$t.d,null,[$t.h]),e.zb(29,147456,null,0,$t.h,[e.l,$t.j,e.h,ml.c,[2,z.b],[3,$t.e],[2,$t.a]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},null),e.Tb(256,null,$t.e,void 0,[]),(l()(),e.jb(16777216,null,null,1,null,Fe)),e.zb(32,278528,null,0,m.m,[e.R,e.O,e.u],{ngForOf:[0,"ngForOf"]},null)],function(l,n){var t=n.component;l(n,1,0,"column"),l(n,2,0,"10px"),l(n,3,0,"auto"),l(n,5,0,"none"),l(n,8,0,"column"),l(n,9,0,"auto"),l(n,14,0,"10px"),l(n,15,0,"space-between center"),l(n,16,0,"none"),l(n,19,0,t.availableRequestsList.search),l(n,23,0),l(n,24,0,t.icClose),l(n,26,0,2,50,!1,!1),l(n,29,0,t.availableRequestsList.connectedTo,t.availableRequestsList.children,e.Hb(1,"",t.availableRequestsList.id,"")),l(n,32,0,t.availableRequestsList.children)},function(l,n){l(n,6,0,n.component.availableRequestsList.label),l(n,7,0,void 0),l(n,20,0,e.Ob(n,21).disabled||null,"NoopAnimations"===e.Ob(n,21)._animationMode,e.Ob(n,21).disabled),l(n,22,0,e.Ob(n,23)._usingFontIcon()?"font":"svg",e.Ob(n,23)._svgName||e.Ob(n,23).fontIcon,e.Ob(n,23)._svgNamespace||e.Ob(n,23).fontSet,e.Ob(n,23).inline,"primary"!==e.Ob(n,23).color&&"accent"!==e.Ob(n,23).color&&"warn"!==e.Ob(n,23).color,e.Ob(n,24).inline,e.Ob(n,24).size,e.Ob(n,24).iconHTML),l(n,27,0,e.Ob(n,29).id,e.Ob(n,29).disabled,e.Ob(n,29)._dropListRef.isDragging(),e.Ob(n,29)._dropListRef.isReceiving())})}function De(l){return e.bc(0,[e.Ub(402653184,1,{sidebar:0}),(l()(),e.Ab(1,0,null,null,37,"div",[["fxLayout","row"],["fxLayoutAlign","space-between"],["fxLayoutGap","10px"]],[[24,"@stagger",0]],null,null,null,null)),e.zb(2,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(3,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(4,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),(l()(),e.Ab(5,0,null,null,29,"div",[["fxFlex","auto"],["fxLayout","column"],["fxLayoutGap","10px"]],null,null,null,null,null)),e.zb(6,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(7,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(8,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Ab(9,0,null,null,6,"h2",[["class","subheading-2 font-medium m-0 select-none"],["fxFlex",""],["fxLayout","row"],["fxLayoutAlign","start center"],["fxLayoutGap","5px"]],null,null,null,null,null)),e.zb(10,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(11,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(12,671744,null,0,x.c,[e.l,O.i,x.i,O.f],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),e.zb(13,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),(l()(),e.Ab(14,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),e.Yb(15,null,["",""])),(l()(),e.Ab(16,0,null,null,18,"div",[["cdkDropListGroup",""],["class","bg-app-bar card p-4"],["fxFlex","auto"],["fxLayout","column"],["fxLayoutGap","10px"]],[[24,"@fadeInUp",0]],null,null,null,null)),e.zb(17,671744,null,0,x.d,[e.l,O.i,x.k,O.f],{fxLayout:[0,"fxLayout"]},null),e.zb(18,1720320,null,0,x.e,[e.l,e.B,z.b,O.i,x.j,O.f],{fxLayoutGap:[0,"fxLayoutGap"]},null),e.zb(19,737280,null,0,x.b,[e.l,O.i,O.e,x.h,O.f],{fxFlex:[0,"fxFlex"]},null),e.zb(20,147456,null,0,$t.i,[],null,null),e.Tb(2048,null,$t.e,null,[$t.i]),(l()(),e.jb(16777216,null,null,1,null,Te)),e.zb(23,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.jb(16777216,null,null,1,null,ke)),e.zb(25,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.Ab(26,0,null,null,8,"div",[["cdkScrollable",""],["class","flex-auto vexScrollbar overflow-auto scrumboard-list"],["infiniteScroll",""]],null,[[null,"scrolled"]],function(l,n,t){var e=!0;return"scrolled"===n&&(e=!1!==l.component.reportRequestsList.search.onScroll()&&e),e},null,null)),e.zb(27,212992,null,0,ml.a,[e.l,ml.c,e.B,[2,z.b]],null,null),e.zb(28,4866048,null,0,un.a,[e.l,e.B],{infiniteScrollDistance:[0,"infiniteScrollDistance"],infiniteScrollThrottle:[1,"infiniteScrollThrottle"],infiniteScrollDisabled:[2,"infiniteScrollDisabled"],scrollWindow:[3,"scrollWindow"]},{scrolled:"scrolled"}),(l()(),e.Ab(29,0,null,null,5,"div",[["cdkDropList",""],["class","scrumboard-drop-zone cdk-drop-list"]],[[1,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],function(l,n,t){var e=!0;return"cdkDropListDropped"===n&&(e=!1!==l.component.handleReportDrop(t)&&e),e},null,null)),e.Tb(6144,null,$t.d,null,[$t.h]),e.zb(31,147456,null,0,$t.h,[e.l,$t.j,e.h,ml.c,[2,z.b],[3,$t.e],[2,$t.a]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),e.Tb(256,null,$t.e,void 0,[]),(l()(),e.jb(16777216,null,null,1,null,Ie)),e.zb(34,278528,null,0,m.m,[e.R,e.O,e.u],{ngForOf:[0,"ngForOf"]},null),(l()(),e.jb(16777216,null,null,1,null,qe)),e.zb(36,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null),(l()(),e.jb(16777216,null,null,1,null,je)),e.zb(38,16384,null,0,m.n,[e.R,e.O],{ngIf:[0,"ngIf"]},null)],function(l,n){var t=n.component;l(n,2,0,"row"),l(n,3,0,"10px"),l(n,4,0,"space-between"),l(n,6,0,"column"),l(n,7,0,"10px"),l(n,8,0,"auto"),l(n,10,0,"row"),l(n,11,0,"5px"),l(n,12,0,"start center"),l(n,13,0,""),l(n,17,0,"column"),l(n,18,0,"10px"),l(n,19,0,"auto"),l(n,23,0,!t.isEditing()),l(n,25,0,t.isEditing()),l(n,27,0),l(n,28,0,2,50,!1,!1),l(n,31,0,t.reportRequestsList.connectedTo,t.reportRequestsList.children,e.Hb(1,"",t.reportRequestsList.id,"")),l(n,34,0,t.reportRequestsList.children),l(n,36,0,t.removedRequestsList.visible),l(n,38,0,t.availableRequestsList.visible)},function(l,n){var t=n.component;l(n,1,0,void 0),l(n,15,0,t.reportRequestsList.label),l(n,16,0,void 0),l(n,29,0,e.Ob(n,31).id,e.Ob(n,31).disabled,e.Ob(n,31)._dropListRef.isDragging(),e.Ob(n,31)._dropListRef.isReceiving())})}function Ee(l){return e.bc(0,[(l()(),e.Ab(0,0,null,null,2,"reports-builder",[],null,null,null,De,Re)),e.Tb(512,null,de.a,de.a,[]),e.zb(2,114688,null,0,ve,[g.e,Ae,Le.a,Se,de.a,tn.a,pn.a,an.b],null,null)],function(l,n){l(n,2,0)},null)}var Ne=e.wb("reports-builder",ve,Ee,{},{onRequestDetails:"onRequestDetails"},[]),Ue=t("dnIV"),He=t("81Fm"),Be=t("VWSI"),Ge=t("37l9"),Ye=t("9b/N"),Ve=t("vrAh"),$e=t("TN/R"),We=t("ZTz/"),Ke=t("5QHs"),Qe=t("LUZP"),Xe=t("5b8y"),Ze=t("Nhcz"),Je=t("u9T3"),li=t("1z/I"),ni=t("J0XA"),ti=t("7lCJ"),ei=t("gX/z"),ii=t("XVi8"),ai=t("68Yx"),ui=t("0wNP"),oi=t("yotz"),si=t("zaci"),ri=t("W6U6"),ci=t("jMqV"),bi=t("jW1K"),di=t("wg/6");class pi{}var mi=t("GXRp"),hi=t("OaSA"),fi=t("pMoy"),gi=t("Ynp+"),xi=t("Chvm"),Oi=t("MqAd");class yi{}class vi{}var zi=t("92zR"),_i=t("GF+f"),Ai=t("o4Yh"),Li=t("wSOg"),wi=t("h4uD"),Si=t("5OTd");class Ri{}class Ti{}var Ci=t("PCNd"),ki=t("zQhy");class Ii{}var Mi=t("+tiu"),qi=t("Oag7");class Pi{}var Fi=t("qJKI");let ji=(()=>{class l{constructor(l){this.reportResource=l}resolve(l){return this.reportResource.show(l.params.report_id,{project_id:l.queryParams.project_id})}}return l.\u0275prov=e.cc({factory:function(){return new l(e.dc(yt.a))},token:l,providedIn:"root"}),l})(),Di=(()=>{class l{constructor(l){this.reportResource=l}resolve(l){return this.reportResource.index({project_id:l.queryParams.project_id})}}return l.\u0275prov=e.cc({factory:function(){return new l(e.dc(yt.a))},token:l,providedIn:"root"}),l})(),Ei=(()=>{class l{constructor(l){this.requestResource=l}resolve(l){return this.requestResource.index({components:!0,project_id:l.queryParams.project_id,report_id:l.params.report_id})}}return l.\u0275prov=e.cc({factory:function(){return new l(e.dc(tn.a))},token:l,providedIn:"root"}),l})();var Ni=t("WX+a"),Ui=t("Cku5"),Hi=t("T/en"),Bi=t("Ouuy"),Gi=t("xDBO"),Yi=t("Uso3");class Vi{}var $i=t("PB+l"),Wi=t("iphE"),Ki=t("h0o+"),Qi=t("on8e"),Xi=t("zDCs"),Zi=e.xb(i,[],function(l){return e.Lb([e.Mb(512,e.j,e.bb,[[8,[a.a,u.a,o.a,s.a,r.b,r.a,c.a,b.a,b.b,cl,wl,Sl.b,El,Nl.a,Ul.b,St,Vt,Ne,Ue.a,He.a,Be.a,Ge.a]],[3,e.j],e.z]),e.Mb(4608,m.p,m.o,[e.w]),e.Mb(5120,e.b,function(l,n){return[O.j(l,n)]},[m.d,e.D]),e.Mb(4608,$t.j,$t.j,[m.d,e.B,ml.e,$t.l]),e.Mb(4608,f.g,f.g,[]),e.Mb(4608,f.y,f.y,[]),e.Mb(4608,Ye.c,Ye.c,[]),e.Mb(4608,v.c,v.c,[v.j,v.e,e.j,v.i,v.f,e.t,e.B,m.d,z.b,m.i,v.h]),e.Mb(5120,v.k,v.l,[v.c]),e.Mb(5120,pl.b,pl.c,[v.c]),e.Mb(4608,F.d,F.d,[]),e.Mb(5120,Ve.b,Ve.c,[v.c]),e.Mb(5120,g.c,g.d,[v.c]),e.Mb(135680,g.e,g.e,[v.c,e.t,[2,m.i],[2,g.b],g.c,[3,g.e],v.e]),e.Mb(4608,$e.n,$e.n,[]),e.Mb(5120,$e.a,$e.b,[v.c]),e.Mb(5120,p.d,p.k,[v.c]),e.Mb(4608,F.c,F.x,[[2,F.g],q.a]),e.Mb(5120,We.b,We.c,[v.c]),e.Mb(5120,Ke.d,Ke.b,[[3,Ke.d]]),e.Mb(5120,Qe.d,Qe.a,[[3,Qe.d]]),e.Mb(5120,Bl.g,Bl.a,[[3,Bl.g]]),e.Mb(4608,xt,xt,[]),e.Mb(4608,qt,qt,[]),e.Mb(4608,Xe.a,Xe.a,[]),e.Mb(1073742336,m.c,m.c,[]),e.Mb(1073742336,O.c,O.c,[]),e.Mb(1073742336,z.a,z.a,[]),e.Mb(1073742336,x.g,x.g,[]),e.Mb(1073742336,S.c,S.c,[]),e.Mb(1073742336,Ze.a,Ze.a,[]),e.Mb(1073742336,Je.a,Je.a,[O.g,e.D]),e.Mb(1073742336,ml.b,ml.b,[]),e.Mb(1073742336,$t.k,$t.k,[]),e.Mb(1073742336,q.b,q.b,[]),e.Mb(1073742336,ml.d,ml.d,[]),e.Mb(1073742336,f.x,f.x,[]),e.Mb(1073742336,f.u,f.u,[]),e.Mb(1073742336,f.m,f.m,[]),e.Mb(1073742336,F.l,F.l,[h.j,[2,F.e],m.d]),e.Mb(1073742336,F.w,F.w,[]),e.Mb(1073742336,_.c,_.c,[]),e.Mb(1073742336,Ye.d,Ye.d,[]),e.Mb(1073742336,h.a,h.a,[h.j]),e.Mb(1073742336,li.g,li.g,[]),e.Mb(1073742336,v.g,v.g,[]),e.Mb(1073742336,pl.e,pl.e,[]),e.Mb(1073742336,j.c,j.c,[]),e.Mb(1073742336,M.i,M.i,[]),e.Mb(1073742336,P.b,P.b,[]),e.Mb(1073742336,w.c,w.c,[]),e.Mb(1073742336,un.b,un.b,[]),e.Mb(1073742336,pn.t,pn.t,[[2,pn.z],[2,pn.p]]),e.Mb(1073742336,R.b,R.b,[]),e.Mb(1073742336,ni.a,ni.a,[]),e.Mb(1073742336,ti.a,ti.a,[]),e.Mb(1073742336,ei.a,ei.a,[]),e.Mb(1073742336,ii.a,ii.a,[]),e.Mb(1073742336,ai.a,ai.a,[]),e.Mb(1073742336,ui.a,ui.a,[]),e.Mb(1073742336,oi.b,oi.b,[]),e.Mb(1073742336,si.a,si.a,[]),e.Mb(1073742336,ri.a,ri.a,[]),e.Mb(1073742336,F.u,F.u,[]),e.Mb(1073742336,F.r,F.r,[]),e.Mb(1073742336,Ve.e,Ve.e,[]),e.Mb(1073742336,g.k,g.k,[]),e.Mb(1073742336,$e.o,$e.o,[]),e.Mb(1073742336,k.b,k.b,[]),e.Mb(1073742336,p.j,p.j,[]),e.Mb(1073742336,p.h,p.h,[]),e.Mb(1073742336,F.y,F.y,[]),e.Mb(1073742336,F.o,F.o,[]),e.Mb(1073742336,We.e,We.e,[]),e.Mb(1073742336,ci.d,ci.d,[]),e.Mb(1073742336,ci.c,ci.c,[]),e.Mb(1073742336,fl.m,fl.m,[]),e.Mb(1073742336,dl.c,dl.c,[]),e.Mb(1073742336,bi.a,bi.a,[]),e.Mb(1073742336,di.a,di.a,[]),e.Mb(1073742336,pi,pi,[]),e.Mb(1073742336,Kl.b,Kl.b,[]),e.Mb(1073742336,mi.r,mi.r,[]),e.Mb(1073742336,hi.m,hi.m,[]),e.Mb(1073742336,Ke.e,Ke.e,[]),e.Mb(1073742336,Qe.e,Qe.e,[]),e.Mb(1073742336,fi.d,fi.d,[]),e.Mb(1073742336,fi.c,fi.c,[]),e.Mb(1073742336,Un.h,Un.h,[]),e.Mb(1073742336,an.e,an.e,[]),e.Mb(1073742336,gi.a,gi.a,[]),e.Mb(1073742336,xi.a,xi.a,[]),e.Mb(1073742336,Oi.a,Oi.a,[]),e.Mb(1073742336,yi,yi,[]),e.Mb(1073742336,vi,vi,[]),e.Mb(1073742336,Gl.e,Gl.e,[]),e.Mb(1073742336,Bl.h,Bl.h,[]),e.Mb(1073742336,zi.a,zi.a,[]),e.Mb(1073742336,_i.c,_i.c,[]),e.Mb(1073742336,Ai.d,Ai.d,[]),e.Mb(1073742336,Li.b,Li.b,[]),e.Mb(1073742336,wi.a,wi.a,[]),e.Mb(1073742336,Si.a,Si.a,[]),e.Mb(1073742336,Ri,Ri,[]),e.Mb(1073742336,Ti,Ti,[]),e.Mb(1073742336,Ci.a,Ci.a,[]),e.Mb(1073742336,ki.d,ki.d,[]),e.Mb(1073742336,Ii,Ii,[]),e.Mb(1073742336,Mi.a,Mi.a,[]),e.Mb(1073742336,qi.a,qi.a,[]),e.Mb(1073742336,Pi,Pi,[]),e.Mb(1073742336,Vi,Vi,[]),e.Mb(1073742336,$i.a,$i.a,[]),e.Mb(1073742336,Wi.a,Wi.a,[]),e.Mb(1073742336,Ki.a,Ki.a,[]),e.Mb(1073742336,Qi.a,Qi.a,[]),e.Mb(1073742336,Xi.a,Xi.a,[]),e.Mb(1073742336,i,i,[]),e.Mb(256,F.f,F.h,[]),e.Mb(1024,pn.n,function(){return[[{path:"",component:at,resolve:{reports:Di,project:Fi.a}},{path:":report_id",component:kt,resolve:{project:Fi.a,report:ji,requests:Ei,requestsAvailable:Hi.a,tests:Yi.a}},{path:":report_id/editor",component:ve,resolve:{project:Fi.a,report:ji,requests:Ei,requestsAvailable:Hi.a}},{path:":report_id/requests/:request_id",component:Ni.a,resolve:{parentResource:ji,request:Ui.a,response:Gi.a,responseHeaders:Bi.a}}]]},[])])})}}]);