PageSourceSearch

https://devopsvision.io/app/chunk-GUMMC4QA.js

js devopsvision.io collected 2026-10-06 11:22:29 UTC 4,183 bytes, 1 lines download raw bytes

1import{a as _}from"./chunk-F3YW4QTF.js";import{Uc as J,ob as P,pb as q,va as T}from"./chunk-OTSSTHG4.js";import{$ as v,B as D,C as x,Ca as o,Da as h,E as F,Ea as u,G as M,H as R,La as w,Ma as Y,Ta as $,Va as z,W as g,X as a,aa as N,ba as C,fb as H,ja as d,jb as U,ka as c,la as O,ma as I,na as E,oa as S,ob as V,p as j,pa as r,qa as n,ra as s,sa as A,ta as B,tb as K,ua as p,yb as k}from"./chunk-LSXE27IB.js";var f=class t{constructor(i){this.http=i}groupOrders(i){let e=`/n/data/suadmin/targeting/${i}/group-orders`;return this.http.get(e)}static{this.\u0275fac=function(e){return new(e||t)(F(V))}}static{this.\u0275prov=D({token:t,factory:t.\u0275fac})}};function X(t,i){if(t&1&&(r(0,"h2"),o(1),n()),t&2){let e=p();a(),h(e.show.name)}}function Z(t,i){t&1&&s(0,"div",0)}function ee(t,i){if(t&1){let e=A();r(0,"li")(1,"a",5),B("click",function(){let m=M(e).$implicit,Q=p(2);return R(Q.filterYear(m))}),o(2),n()()}if(t&2){let e=i.$implicit;a(2),h(e)}}function te(t,i){if(t&1&&(r(0,"a",7),s(1,"i",8),o(2," Early-Bird"),n()),t&2){let e=p().$implicit,l=p(2);S("href",Y("/n/data/suadmin/show/",l.show.id,"/alumni/",e.userId,"/eb-mail"),g)}}function ie(t,i){if(t&1&&(r(0,"tr")(1,"td")(2,"a",6),o(3),n()(),r(4,"td"),o(5),s(6,"br"),r(7,"a",6),o(8),n()(),r(9,"td"),o(10),n(),r(11,"td"),o(12),$(13,"date"),n(),r(14,"td"),d(15,te,3,3,"a",7),n(),r(16,"td"),o(17),n(),s(18,"td"),n()),t&2){let e=i.$implicit,l=p(2);a(2),S("href",w("/app/admin/order/",e.id),g),a(),h(e.id),a(2),u(" ",e.billingInfo.name," "),a(2),S("href",w("mailto:",e.billingInfo.email),g),a(),h(e.billingInfo.email),a(2),u(" ",e.ticketCount," "),a(2),u(" ",z(13,11,e.orderDate,"yyyy")," "),a(3),c(l.isEarlyBird()?15:-1),a(2),u("",e.trackerCount," ")}}function re(t,i){t&1&&(r(0,"tr")(1,"td",9)(2,"em"),o(3,"No records"),n()()())}function ne(t,i){if(t&1&&(r(0,"div")(1,"div",1),s(2,"div",2),r(3,"div",2)(4,"ul",3)(5,"li")(6,"b"),o(7,"Year Filter: "),n()(),I(8,ee,3,1,"li",null,O),r(10,"li")(11,"b"),o(12,"Count: "),n(),o(13),n()()()(),r(14,"table",4)(15,"thead")(16,"tr")(17,"th"),o(18,"Order #"),n(),r(19,"th"),o(20,"Name"),n(),r(21,"th"),o(22,"Ticket Count"),n(),r(23,"th"),o(24,"Year"),n(),s(25,"th"),r(26,"th"),o(27,"Message #"),n(),r(28,"th"),o(29,"Registered"),n()()(),r(30,"tbody"),I(31,ie,19,14,"tr",null,O),d(33,re,4,0,"tr"),n()()()),t&2){let e=p();a(8),E(e.years),a(5),u(" ",e.orders.length),a(18),E(e.orders),a(2),c(e.allOrders.length==0?33:-1)}}var y=class t{constructor(i,e,l,m){this.targetingService=i;this.showService=e;this.templateService=l;this.route=m;this.years=q(2017,new Date().getFullYear())}ngOnInit(){let i=+this.route.snapshot.params.showId;this.fetchData(i)}fetchData(i){j(this.showService.get(i),this.showService.getRegistrationOptions(i),this.targetingService.groupOrders(i),this.templateService.mailTrackers(i)).subscribe(e=>{this.show=e[0],this.options=e[1];let l=e[3];this.allOrders=P(e[2],m=>(m.year=new Date(m.orderDate).getFullYear(),m.trackers=T(l,{userId:m.userId}),m.trackerCount=m.trackers.length,m)),this.orders=this.allOrders})}isEarlyBird(){return new Date(this.options.earlyEnd).getTime()>Date.now()}filterYear(i){this.orders=T(this.allOrders,{year:i})}static{this.\u0275fac=function(e){return new(e||t)(v(f),v(J),v(_),v(K))}}static{this.\u0275cmp=N({type:t,selectors:[["app-group-orders"]],standalone:!1,decls:5,vars:3,consts:[[1,"spinner"],[1,"row","mb-3"],[1,"col-6"],[1,"hlink","mb-2"],[1,"table","table-striped"],[1,"action","sort",3,"click"],[3,"href"],["target","_blank",1,"btn","btn-primary",3,"href"],[1,"fas","fa-envelope-square"],["colspan","6"]],template:function(e,l){e&1&&(r(0,"h1"),o(1,"Group Orders"),n(),d(2,X,2,1,"h2"),d(3,Z,1,0,"div",0),d(4,ne,34,2,"div")),e&2&&(a(2),c(l.show?2:-1),a(),c(l.allOrders==null?3:-1),a(),c(l.allOrders?4:-1))},dependencies:[H],encapsulation:2})}};var oe=[{path:":showId/group-orders",component:y}],b=class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=C({type:t})}static{this.\u0275inj=x({imports:[k.forChild(oe),k]})}};var L=class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=C({type:t})}static{this.\u0275inj=x({providers:[f,_],imports:[U,b]})}};export{L as TargetingModule};

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