1import{a as pt}from"./chunk-RDDQCAAZ.js";import{a as pe,b as k,c as V,d as Q,e as P}from"./chunk-AFXHNUPB.js";import{a as dt}from"./chunk-BWSL436G.js";import{a as ct}from"./chunk-XWNKHARA.js";import"./chunk-GAGXCJ3S.js";import{a as lt}from"./chunk-P76UFGP3.js";import{a as ft}from"./chunk-5SPQSVKI.js";import{a as Y}from"./chunk-M225GSTP.js";import"./chunk-RS7GND4Z.js";import"./chunk-LU4EDLZN.js";import"./chunk-NYSFIRWZ.js";import"./chunk-EVOOET6A.js";import"./chunk-GTPEKRQA.js";import"./chunk-6KIYNJNO.js";import"./chunk-INQXQ3TQ.js";import"./chunk-A7M5ZZPT.js";import"./chunk-4MTDKQKP.js";import"./chunk-K4HZTSFC.js";import"./chunk-G2SD54CT.js";import{a as tt}from"./chunk-RKZB5LT7.js";import{a as ot}from"./chunk-2EGEMDBA.js";import{b as it}from"./chunk-Z7V6DAPR.js";import"./chunk-OSZ5NZV3.js";import{a as rt}from"./chunk-PTUXS5X2.js";import{a as at}from"./chunk-OEOSXMVB.js";import"./chunk-XVGDKOOQ.js";import{a as st}from"./chunk-MKHHTT2N.js";import"./chunk-AXK2B26E.js";import{a as nt}from"./chunk-AWGURYUY.js";import{b as et}from"./chunk-VXSEBYCS.js";import"./chunk-U4PKZRGW.js";import{a as $e}from"./chunk-MLRCRCMO.js";import"./chunk-UM5CPD7L.js";import{a as Ke}from"./chunk-KVU752TJ.js";import{a as Ge}from"./chunk-U5D3XPC3.js";import{b as mt}from"./chunk-ULHACNW2.js";import{a as G}from"./chunk-4KTWYFZ5.js";import{a as A}from"./chunk-WV73DRGB.js";import{a as q}from"./chunk-VILRUFCL.js";import{i as He,k as Ue}from"./chunk-ORGINWIE.js";import{a as Ze}from"./chunk-W2YMIIUJ.js";import{a as Xe}from"./chunk-C2RIZTQG.js";import"./chunk-AIJQV32G.js";import"./chunk-BOL23F4B.js";import{a as Je}from"./chunk-ELCFGQOD.js";import{c as le,m as de}from"./chunk-4HNSYLVB.js";import"./chunk-YPIX4FMF.js";import{a as qe,b as x,c as S}from"./chunk-2QU45MCX.js";import{a as B}from"./chunk-T5ZPOTBD.js";import{c as Qe,e as Ye}from"./chunk-H4PDNYZQ.js";import"./chunk-C42YQZQY.js";import"./chunk-NAHQODNB.js";import"./chunk-PLH57WDR.js";import{J as We,a as ce}from"./chunk-732TLSMN.js";import{a as ze}from"./chunk-WEWECXFJ.js";import"./chunk-P4NFYA5V.js";import"./chunk-EEK6CGYN.js";import"./chunk-PPMQE2JW.js";import"./chunk-WSF7ZPQZ.js";import"./chunk-34UTWQ67.js";import"./chunk-QESXNZ44.js";import"./chunk-4MYU7I7A.js";import"./chunk-DLFWYMCA.js";import"./chunk-J6LQCPMC.js";import{f as Fe}from"./chunk-ZD5OBRBJ.js";import{g as je}from"./chunk-PLWYHUZ6.js";import{Fa as me,sa as Be}from"./chunk-ZJOWGKS5.js";import{a as se}from"./chunk-L5PVI6XO.js";import{Bd as Re,Ca as O,Cc as p,Cd as M,Db as C,Dc as Pe,Dd as Le,Ec as Te,Gb as ve,Ia as F,Jb as ye,Kc as De,La as Ce,Lc as Ee,Mc as Ne,N as ge,Oc as Ae,Qa as _e,Qc as J,Rc as l,Sc as I,Tc as L,_b as xe,ac as f,bc as w,cc as Se,dc as Oe,ea as be,ec as H,fc as U,gc as h,hb as E,hc as m,ic as s,ja as d,jc as g,kc as Me,lc as Ie,ld as N,mc as $,md as ke,nb as c,nd as z,pa as _,qa as v,rc as y,va as he,wd as Ve,z as ue,zc as b}from"./chunk-A7D7XCPR.js";import{a as we}from"./chunk-3OK6APZU.js";function gt(r,a){if(r&1){let t=y();m(0,"div",5),b("click",function(){_(t);let n=p();return v(n.callToPhone(n.data.crew.mobilePhone))}),m(1,"button",6)(2,"mat-icon",7),l(3,"\uE915"),s()(),m(4,"label",8),l(5,"Call driver"),s()()}}function bt(r,a){if(r&1){let t=y();m(0,"div",5),b("click",function(){_(t);let n=p();return v(n.smsToPhone(n.data.crew.mobilePhone))}),m(1,"button",6)(2,"mat-icon",7),l(3,"\uE913"),s()(),m(4,"label",8),l(5,"Text driver"),s()()}}function ht(r,a){if(r&1){let t=y();m(0,"div",5),b("click",function(){_(t);let n=p();return v(n.callToPhone(n.data.officeNumber))}),m(1,"button",6)(2,"mat-icon",7),l(3,"\uE915"),s()(),m(4,"label",8),l(5,"Call office"),s()()}}var K=class r{constructor(){this.data=d(k);this.bottomSheetRef=d(V)}callToPhone(a){window.open(`tel:${a}`,"_self")}smsToPhone(a){window.open(`sms://${a}?&body=Hi ${this.data.crew.firstName}, 2`,"_self")}close(){this.bottomSheetRef.dismiss()}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=C({type:r,selectors:[["app-contact-buttons"]],decls:12,vars:3,consts:[[1,"tw:flex","tw:justify-between","title-row","tw:mt-sm!"],[1,"tw:text-base!","tw:font-medium","tw:leading-snug!","tw:tracking-tight","tw:text-black-1"],["aria-controls","datepicker close",3,"click"],[1,"tw:row","tw:justify-between","tw:items-center","tw:px-md!","tw:mt-sm!"],[1,"tw:w-1/3","tw:col","tw:text-center"],[1,"tw:w-1/3","tw:col","tw:text-center",3,"click"],["mat-fab","","aria-label","prev c
2arousel",1,"primary","btn-blue","custom-fab-btn","tw:me-xs!"],["fontSet","MotogoIcons","aria-hidden","false","aria-label","Phone Number"],[1,"tw:text-sm","tw:font-medium","tw:leading-normal","tw:text-main-blue","tw:block","tw:mt-sm!"]],template:function(t,e){t&1&&(m(0,"div",0)(1,"div")(2,"h3",1),l(3," Contact "),s()(),m(4,"div")(5,"div",2),b("click",function(){return e.close()}),m(6,"mat-icon"),l(7,"close"),s()()()(),m(8,"div",3),f(9,gt,6,0,"div",4),f(10,bt,6,0,"div",4),f(11,ht,6,0,"div",4),s()),t&2&&(c(9),w(e.data.showCrewNumbers?9:-1),c(),w(e.data.showCrewNumbers?10:-1),c(),w(e.data.officeNumber?11:-1))},dependencies:[S,x,Ye,Qe,P],encapsulation:2,changeDetection:0})}};var Ct=["anchor"],_t=["*"],W=class r{constructor(){this.host=d(Ce);this.options=M({});this.scrolled=Re();this.anchor=Le.required("anchor")}get element(){return this.host.nativeElement}ngAfterViewInit(){let a=we({root:this.isHostScrollable()?this.host.nativeElement:null},this.options());this.observer=new IntersectionObserver(([t])=>{t.isIntersecting&&this.scrolled.emit()},a),this.observer.observe(this.anchor().nativeElement)}isHostScrollable(){let a=window.getComputedStyle(this.element);return a.getPropertyValue("overflow")==="auto"||a.getPropertyValue("overflow-y")==="scroll"}ngOnDestroy(){this.observer.disconnect()}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=C({type:r,selectors:[["app-infinite-scroll"]],viewQuery:function(t,e){t&1&&De(e.anchor,Ct,5),t&2&&Ee()},hostAttrs:[1,"tw:block"],inputs:{options:[1,"options"]},outputs:{scrolled:"scrolled"},ngContentSelectors:_t,decls:3,vars:0,consts:[["anchor",""]],template:function(t,e){t&1&&(Pe(
2),Te(0),$(1,"div",null,0))},encapsulation:2,changeDetection:0})}};var X=class r{transform(a,t){return a.filter(e=>t?!!e[t]:!!e)}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275pipe=ve({name:"listFilterEmpty",type:r,pure:!0})}};function vt(r,a){if(r&1&&(m(0,"div",8)(1,"p"),l(2),s()()),r&2){let t=a.$implicit;c(2),I(t.reviewComment)}}function yt(r,a){r&1&&(m(0,"div"),l(1,"Loading"),s())}function xt(r,a){if(r&1){let t=y();m(0,"app-infinite-scroll",7),b("scrolled",function(){_(t);let n=p();return v(n.onScroll())}),H(1,vt,3,1,"div",8,Oe),N(3,"listFilterEmpty"),f(4,yt,2,0,"div"),s()}if(r&2){let t=p();c(),U(z(3,1,t.reviews(),"reviewComment")),c(3),w(t.loading()?4:-1)}}var Z=class r{constructor(){this.data=d(k);this.reviewsService=d(ft);this.bottomSheetRef=d(V);this.pageNumber=2;this.loading=O(!1);this.reviews=O([])}ngOnInit(){this.reviews.set(this.data?.crew?.reviews||[])}onScroll(){this.loading()||(this.loading.set(!0),this.reviewsService.getReviewsByCrewId({pageSize:10,pageNumber:this.pageNumber,crewId:this.data.crew?.id}).pipe(ge(()=>{this.loading.set(!1),this.pageNumber++})).subscribe(a=>{a.items&&this.reviews.update(t=>t.concat(a.items))}))}close(){this.bottomSheetRef.dismiss()}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=C({type:r,selectors:[["app-order-review-list"]],decls:12,vars:3,consts:[[1,"tw:flex","tw:justify-between","title-row","tw:mt-sm!"],[1,"tw:text-base!","tw:font-medium","tw:leading-snug!","tw:tracking-tight","tw:text-black-1"],["aria-controls","datepicker close cursor-pointer",3,"click"],[1,"cursor-pointer"],[1,"tw:mb-md!"],[3,"rate","count"],[1,"tw:max-h-[300px]","tw:w-[600px]","tw:max-lg:w-full","tw:overflow-y-auto","tw:block"],[1,"tw:max-h-[300px]","tw:w-[600px]","tw:max-lg:w-full","tw:overflow-y-auto","tw:block",3,"scrolled"],[1,"tw:bg-light-grey-1","tw:rounded-[5px]","tw:overflow-hidden","tw:p-[10px_24px_10px_16px]","tw:text-xs","tw:italic","tw:tracking-tight","tw:text-grey-1","tw:mb-sm!","tw:[&_p]:max-h-full","tw:[&_p]:overflow-hidden","tw:[&_p]:m-0!"]],template:function(t,e){t&1&&(m(0,"div",0)(1,"div")(2,"h3",1),l(3," Reviews "),s()(),m(4,"div")(5,"div",2),b("click",function(){return e.close()}),m(6,"mat-icon",3),l(7,"close"),s()()()(),m(8,"div")(9,"div",4),g(10,"app-rating",5),s(),f(11,xt,5,4,"app-infinite-scroll",6),s()),t&2&&(c(10),h("rate",(e.data.crew==null?null:e.data.crew.stars)||0)("count",(e.data.crew==null?null:e.data.crew.reviewCount)||0),c(),w(!(e.data.crew==null||e.data.crew.reviews==null)&&e.data.crew.reviews.length?11:-1))},dependencies:[S,x,Y,W,P,X],encapsulation:2,changeDetection:0})}};function St(r,a){if(r&1){let t=y();m(0,"div",2)(1,"div",20,0),b("click",function(){_(t);let n=Ne(2);return v(n.toggle())}),g(3,"img",21),s()()}if(r&2){let t=p();c(),h("matTooltip",t.awards)}}function Ot(r,a){if(r&1&&(m(0,"div",22)(1,"span",23)(2,"mat-icon",24),l(3,"\uE915"),s()(),m(4,"span"),l(5,"Crew Leader:"),s(),m(6,"a",25),l(7),s()()),r&2){let t=p(2);c(6),h("href","tel:"+t.mobilePhone,E),c(),I(t.mobilePhone)}}function Mt(r,a){if(r&1&&(m(0,"div",22)(1,"span",23)(2,"mat-icon",24),l(3,"\uE915"),s()(),m(4,"span"),l(5,"Office:"),s(),m(6,"a",25),l(7),s()()),r&2){let t=a;c(6),h("href","tel:"+t,E),c(),I(t)}}function It(r,a){if(r&1&&(m(0,"div"),f(1,Ot,8,2,"div",22),f(2,Mt,8,2,"div",22),s()),r&2){let t,e=p(),n=p();c(),w(e.mobilePhone&&n.isJobToday()?1:-1),c(),w((t=n.officeNumber())?2:-1,t)}}function Pt(r,a){if(r&1){let t=y();m(0,"button",26),b("click",function(){_(t);let n=p(2);return v(n.onContactClick())}),l(1," Contact "),s()}}function Tt(r,a){if(r&1){let t=y();m(0,"div",1),f(1,St,4,1,"div",2),m(2,"div",3)(3,"div",4),g(4,"app-crew-avatar",5),s(),m(5,"div",6)(6,"div",7),l(7," Crew Leader "),s(),m(8,"div",8)(9,"span",9),l(10),s(),m(11,"span",10),l(12," and Crew"),s()(),m(13,"div",11)(14,"div")(15,"app-rating",12),b("reviewClick",function(){_(t);let n=p();return v(n.onReviewClick())}),s()()()()(),m(16,"div",13)(17,"div",14),g(18,"img",15),m(19,"span"),l(20),N(21,"number"),s()(),m(22,"div",16),g(23,"img",17),m(24,"span"),l(25),s()(),m(26,"div",18),f(27,It,3,2,"div"),f(28,Pt,2,0,"button",19),s()()()}if(r&2){let t=a,e=p();c(),w(t.awards?1:-1),c(3),h("picture",t.profilePictureURL)("width",e.isMobile()?80:110)("height",e.isMobile()?80:110),c(6),I(t.firstName),c(5),h("rate",t.stars||0)("count",t.reviewCount||0)("reviewClickable",!0),c(5),L("",z(21,12,t.happyMoves,"1.0-0")," Happy Moves"),c(5),L("",t.experience," years of experience"),c(2),w(!e.isMobile()&&(t.mobilePhone&&e.isJobToday()||e.officeNumber())?27:-1),c(),w(e.isMobile()&&(t.mobilePhone&&e.isJobToday()||e.officeNumber())?28:-1)}}
2var ee=class r{constructor(){this.applicationState=d(A);this.matBottomSheet=d(Q);this.crew=M.required();this.isJobToday=M(!1);this.officeNumber=M(void 0);this.isMobile=this.applicationState.mobile}onReviewClick(){this.matBottomSheet.open(Z,{data:{crew:this.crew()},panelClass:"custom-bottom-sheet"})}onContactClick(){this.contactBottomSheet=this.matBottomSheet.open(K,{data:{crew:this.crew(),showCrewNumbers:this.isJobToday(),officeNumber:this.officeNumber()},panelClass:"custom-bottom-sheet"})}ngOnDestroy(){this.contactBottomSheet?.dismiss()}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=C({type:r,selectors:[["app-order-crew"]],inputs:{crew:[1,"crew"],isJobToday:[1,"isJobToday"],officeNumber:[1,"officeNumber"]},decls:1,vars:1,consts:[["tooltip","matTooltip"],[1,"crew-item","tw:relative!","tw:card-elev","tw:min-h-[248px]","tw:overflow-hidden"],[1,"tw:absolute","tw:right-[10px]","tw:top-[5px]"],[1,"tw:text-center","tw:border-b","tw:border-light-grey-1","tw:pb-[17px]","tw:max-md:overflow-hidden","crew-info"],[1,"tw:pt-[16px]","tw:max-md:float-left","tw:max-md:ms-sm","tw:text-center"],[1,"tw:m-auto!","tw:block",3,"picture","width","height"],[1,"tw:max-md:float-left","tw:max-md:ms-md","tw:max-md:pt-[15px]","tw:max-md:text-left!","tw:max-md:max-w-[calc(100%-110px)]"],[1,"tw:mt-sm","tw:font-medium","tw:leading-relaxed","tw:tracking-tight","tw:text-black-2"],[1,"tw:text-xl2","tw:font-medium","tw:cursor-pointer","tw:text-main-red","tw:leading-tight","tw:tracking-tight","tw:p-0!"],[1,"m-red-color"],[1,"m-blue-color"],[1,"reviews","tw:flex","tw:justify-center"],[3,"reviewClick","rate","count","reviewClickable"],[1,"info-container","tw:row","tw:pt-md!","tw:md:text-center!","tw:m-0!","tw:mb-xs!","tw:md:mb-md!","tw:max-md:p-[14px]!"],[1,"tw:w-1/2","tw:col","tw:p-0!","tw:mb-md!","tw:text-sm","tw:tracking-tight","tw:text-black-2","moves-info"],["src","/assets/img/icons/icon-smile.png","width","19","height","19","alt","experience"],[1,"tw:w-1/2","tw:col","tw:p-0!","tw:mb-md!","tw:text-sm","tw:tracking-tight","tw:text-black-2","exp-info"],["src","/assets/img/icons/icon-student.png","width","19","height","19","alt","experience"],[1,"tw:text-center","tw:w-full!","btn-container","tw:m-0!"],["role","button","aria-pressed","true",1,"button-next","tw:w-full!","tw:uppercase!","tw:btn-cta"],["matTooltipClass","custom-tooltip",1,"tw:w-[32px]","tw:h-[32px]","tw:leading-[30px]","tw:rounded-full","tw:text-xl2","tw:bg-light-grey-1","tw:tracking-tight","tw:text-grey-1","tw:text-center",3,"click","matTooltip"],["src","assets/img/icons/icon-winner.png","width","18","height","20","alt","experience"],[1,"tw:flex","tw:items-center","tw:justify-center"],[1,"phone-icon"],["fontSet","MotogoIcons","aria-hidden","false","aria-label","Phone Number"],["appPhoneQR","","role","button","aria-pressed","true",1,"tw:inline-block","tw:cursor-pointer","tw:bg-transparent","tw:border-0","tw:text-black!","tw:no-underline!","tw:p-[0.375rem]",3,"href"],["role","button","aria-pressed","true",1,"button-next","tw:w-full!","tw:uppercase!","tw:btn-cta",3,"click"]],template:function(t,e){if(t&1&&f(0,Tt,29,15,"div",1),t&2){let n;w((n=e.crew())?0:-1,n)}},dependencies:[Ze,Xe,at,Y,S,x,P,Ke,Be],styles:[".crew-item[_ngcontent-%COMP%] .moves-info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.6}.crew-item[_ngcontent-%COMP%] .moves-info[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .crew-item[_ngcontent-%COMP%] .exp-info[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:7px}.crew-item[_ngcontent-%COMP%] .moves-info[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .crew-item[_ngcontent-%COMP%] .exp-info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:middle}.crew-item[_ngcontent-%COMP%] .phone-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:1.1rem;margin-top:5px;color:var(--tw-color-primary)}"],changeDetection:0})}};var fe=(n=>(n.POSTMOVE="postmove",n.PREMOVE="premove",n.PACK="pack",n.INSPECTION="inspection",n))(fe||{});
2var te=class r{constructor(){this._state=new Int32Array(4);this._buffer=new ArrayBuffer(68);this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static{this.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878])}static{this.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])}static{this.hexChars="0123456789abcdef"}static{this.hexOut=[]}static{this.onePassHasher=new r}static hashStr(a,t=!1){return this.onePassHasher.start().appendStr(a).end(t)}static _hex(a){let t=r.hexChars,e=r.hexOut,n,i,o,u;for(u=0;u<4;u+=1)for(i=u*8,n=a[u],o=0;o<8;o+=2)e[i+1+o]=t.charAt(n&15),n>>>=4,e[i+0+o]=t.charAt(n&15),n>>>=4;return e.join("")}static _md5cycle(a,t){let e=a[0],n=a[1],i=a[2],o=a[3];e+=(n&i|~n&o)+t[0]-680876936|0,e=(e<<7|e>>>25)+n|0,o+=(e&n|~e&i)+t[1]-389564586|0,o=(o<<12|o>>>20)+e|0,i+=(o&e|~o&n)+t[2]+606105819|0,i=(i<<17|i>>>15)+o|0,n+=(i&o|~i&e)+t[3]-1044525330|0,n=(n<<22|n>>>10)+i|0,e+=(n&i|~n&o)+t[4]-176418897|0,e=(e<<7|e>>>25)+n|0,o+=(e&n|~e&i)+t[5]+1200080426|0,o=(o<<12|o>>>20)+e|0,i+=(o&e|~o&n)+t[6]-1473231341|0,i=(i<<17|i>>>15)+o|0,n+=(i&o|~i&e)+t[7]-45705983|0,n=(n<<22|n>>>10)+i|0,e+=(n&i|~n&o)+t[8]+1770035416|0,e=(e<<7|e>>>25)+n|0,o+=(e&n|~e&i)+t[9]-1958414417|0,o=(o<<12|o>>>20)+e|0,i+=(o&e|~o&n)+t[10]-42063|0,i=(i<<17|i>>>15)+o|0,n+=(i&o|~i&e)+t[11]-1990404162|0,n=(n<<22|n>>>10)+i|0,e+=(n&i|~n&o)+t[12]+1804603682|0,e=(e<<7|e>>>25)+n|0,o+=(e&n|~e&i)+t[13]-40341101|0,o=(o<<12|o>>>20)+e|0,i+=(o&e|~o&n)+t[14]-1502002290|0,i=(i<<17|i>>>15)+o|0,n+=(i&o|~i&e)+t[15]+1236535329|0,n=(n<<22|n>>>10)+i|0,e+=(n&o|i&~o)+t[1]-165796510|0,e=(e<<5|e>>>27)+n|0,o+=(e&i|n&~i)+t[6]-1069501632|0,o=(o<<9|o>>>23)+e|0,i+=(o&n|e&~n)+t[11]+643717713|0,i=(i<<14|i>>>18)+o|0,n+=(i&e|o&~e)+t[0]-373897302|0,n=(n<<20|n>>>12)+i|0,e+=(n&o|i&~o)+t[5]-701558691|0,e=(e<<5|e>>>27)+n|0,o+=(e&i|n&~i)+t[10]+38016083|0,o=(o<<9|o>>>23)+e|0,i+=(o&n|e&~n)+t[15]-660478335|0,i=(i<<14|i>>>18)+o|0,n+=(i&e|o&~e)+t[4]-405537848|0,n=(n<<20|n>>>12)+i|0,e+=(n&o|i&~o)+t[9]+568446438|0,e=(e<<5|e>>>27)+n|0,o+=(e&i|n&~i)+t[14]-1019803690|0,o=(o<<9|o>>>23)+e|0,i+=(o&n|e&~n)+t[3]-187363961|0,i=(i<<14|i>>>18)+o|0,n+=(i&e|o&~e)+t[8]+1163531501|0,n=(n<<20|n>>>12)+i|0,e+=(n&o|i&~o)+t[13]-1444681467|0,e=(e<<5|e>>>27)+n|0,o+=(e&i|n&~i)+t[2]-51403784|0,o=(o<<9|o>>>23)+e|0,i+=(o&n|e&~n)+t[7]+1735328473|0,i=(i<<14|i>>>18)+o|0,n+=(i&e|o&~e)+t[12]-1926607734|0,n=(n<<20|n>>>12)+i|0,e+=(n^i^o)+t[5]-378558|0,e=(e<<4|e>>>28)+n|0,o+=(e^n^i)+t[8]-2022574463|0,o=(o<<11|o>>>21)+e|0,i+=(o^e^n)+t[11]+1839030562|0,i=(i<<16|i>>>16)+o|0,n+=(i^o^e)+t[14]-35309556|0,n=(n<<23|n>>>9)+i|0,e+=(n^i^o)+t[1]-1530992060|0,e=(e<<4|e>>>28)+n|0,o+=(e^n^i)+t[4]+1272893353|0,o=(o<<11|o>>>21)+e|0,i+=(o^e^n)+t[7]-155497632|0,i=(i<<16|i>>>16)+o|0,n+=(i^o^e)+t[10]-1094730640|0,n=(n<<23|n>>>9)+i|0,e+=(n^i^o)+t[13]+681279174|0,e=(e<<4|e>>>28)+n|0,o+=(e^n^i)+t[0]-358537222|0,o=(o<<11|o>>>21)+e|0,i+=(o^e^n)+t[3]-722521979|0,i=(i<<16|i>>>16)+o|0,n+=(i^o^e)+t[6]+76029189|0,n=(n<<23|n>>>9)+i|0,e+=(n^i^o)+t[9]-640364487|0,e=(e<<4|e>>>28)+n|0,o+=(e^n^i)+t[12]-421815835|0,o=(o<<11|o>>>21)+e|0,i+=(o^e^n)+t[15]+530742520|0,i=(i<<16|i>>>16)+o|0,n+=(i^o^e)+t[2]-995338651|0,n=(n<<23|n>>>9)+i|0,e+=(i^(n|~o))+t[0]-198630844|0,e=(e<<6|e>>>26)+n|0,o+=(n^(e|~i))+t[7]+1126891415|0,o=(o<<10|o>>>22)+e|0,i+=(e^(o|~n))+t[14]-1416354905|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~e))+t[5]-57434055|0,n=(n<<21|n>>>11)+i|0,e+=(i^(n|~o))+t[12]+1700485571|0,e=(e<<6|e>>>26)+n|0,o+=(n^(e|~i))+t[3]-1894986606|0,o=(o<<10|o>>>22)+e|0,i+=(e^(o|~n))+t[10]-1051523|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~e))+t[1]-2054922799|0,n=(n<<21|n>>>11)+i|0,e+=(i^(n|~o))+t[8]+1873313359|0,e=(e<<6|e>>>26)+n|0,o+=(n^(e|~i))+t[15]-30611744|0,o=(o<<10|o>>>22)+e|0,i+=(e^(o|~n))+t[6]-1560198380|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~e))+t[13]+1309151649|0,n=(n<<21|n>>>11)+i|0,e+=(i^(n|~o))+t[4]-145523070|0,e=(e<<6|e>>>26)+n|0,o+=(n^(e|~i))+t[11]-1120210379|0,o=(o<<10|o>>>22)+e|0,i+=(e^(o|~n))+t[2]+718787259|0,i=(i<<15|i>>>17)+o|0,n+=(o^(i|~e))+t[9]-343485551|0,n=(n<<21|n>>>11)+i|0,a[0]=e+a[0]|0,a[1]=n+a[1]|0,a[2]=i+a[2]|0,a[3]=o+a[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(r.stateIdentity),this}appendStr(a){let t=this._buffer8,e=this._buffer32,n=this._bufferLength,i,o;for(o=0;o<a.length;
2o+=1){if(i=a.charCodeAt(o),i<128)t[n++]=i;else if(i<2048)t[n++]=(i>>>6)+192,t[n++]=i&63|128;else if(i<55296||i>56319)t[n++]=(i>>>12)+224,t[n++]=i>>>6&63|128,t[n++]=i&63|128;else{if(i=(i-55296)*1024+(a.charCodeAt(++o)-56320)+65536,i>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");t[n++]=(i>>>18)+240,t[n++]=i>>>12&63|128,t[n++]=i>>>6&63|128,t[n++]=i&63|128}n>=64&&(this._dataLength+=64,r._md5cycle(this._state,e),n-=64,e[0]=e[16])}return this._bufferLength=n,this}end(a=!1){let t=this._bufferLength,e=this._buffer8,n=this._buffer32,i=(t>>2)+1,o;if(this._dataLength+=t,e[t]=128,e[t+1]=e[t+2]=e[t+3]=0,n.set(r.buffer32Identity.subarray(i),i),t>55&&(r._md5cycle(this._state,n),n.set(r.buffer32Identity)),o=this._dataLength*8,o<=4294967295)n[14]=o;else{let u=o.toString(16).match(/(.*?)(.{0,8})$/);if(u===null)return;let wt=parseInt(u[2],16),ut=parseInt(u[1],16)||0;n[14]=wt,n[15]=ut}return r._md5cycle(this._state,n),a?this._state:r._hex(this._state)}};function Dt(r,a){if(r&1){let t=y();m(0,"button",1),b("click",function(){_(t);let n=p();return v(n.downloadPdf(n.orderSummaryPdfTypes.PREMOVE))}),m(1,"mat-icon",2),l(2,"\uE914"),s(),m(3,"span"),l(4,"Pre-move Contract (PDF)"),s()()}}function Et(r,a){if(r&1){let t=y();m(0,"button",1),b("click",function(){_(t);let n=p();return v(n.downloadPdf(n.orderSummaryPdfTypes.PACK))}),m(1,"mat-icon",2),l(2,"\uE914"),s(),m(3,"span"),l(4,"Packing Form (PDF)"),s()()}}function Nt(r,a){if(r&1){let t=y();m(0,"button",1),b("click",function(){_(t);let n=p();return v(n.downloadPdf(n.orderSummaryPdfTypes.INSPECTION))}),m(1,"mat-icon",2),l(2,"\uE914"),s(),m(3,"span"),l(4,"Inspection Form (PDF)"),s()()}}function At(r,a){if(r&1){let t=y();m(0,"button",1),b("click",function(){_(t);let n=p();return v(n.downloadPdf(n.orderSummaryPdfTypes.POSTMOVE))}),m(1,"mat-icon",2),l(2,"\uE914"),s(),m(3,"span"),l(4,"Post-move Contract (PDF)"),s()()}}var R=class r{constructor(){this.orderSummaryPdfTypes=fe;this.jobTypes=q;this.crewId=M(0);this.salesOrder=M.required();this.showPackPdf=!1;this.showPostmovePdf=!1;this.showPremovePdf=!1;this.showInspectionPdf=!1}downloadPdf(a){window.open(`${se.PDF_GENERATION_API}/api/PdfDocuments/${this.salesOrder().tranid}_${te.hashStr(this.crewId().toString())}_${a}.pdf?code=${encodeURIComponent(se.PDF_GENERATION_API_CODE)}`)}ngOnChanges(a){a.salesOrder?.currentValue&&this.calculatePdfVisibility()}calculatePdfVisibility(){let a=this.salesOrder();this.showPackPdf=!!(a.formstatePacking&&a.jobType===2),this.showInspectionPdf=!!this.salesOrder().formstateInspection,this.showPremovePdf=!!this.salesOrder().formstatePremove,this.showPostmovePdf=!!this.salesOrder().formstatePostmove}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=C({type:r,selectors:[["app-order-summary-download"]],inputs:{crewId:[1,"crewId"],salesOrder:[1,"salesOrder"]},features:[F],decls:4,vars:4,consts:[["role","button","aria-pressed","true",1,"tw:w-full!","tw:mb-sm!","tw:flex","tw:justify-start","tw:items-center","tw:cursor-pointer","tw:rounded-md!","tw:py-[0.375rem]","tw:px-[0.75rem]","tw:text-sm!","tw:font-medium","tw:leading-normal!","tw:tracking-wide","tw:text-main-blue!","tw:border","tw:border-grey-5!","tw:bg-white","tw:focus:shadow-none!","tw:focus:bg-white!","tw:active:bg-white!","tw:[&_mat-icon]:leading-tight!","tw:[&_mat-icon]:text-[1.2rem]!","tw:[&_mat-icon]:me-[16px]!","tw:disabled:opacity-65","tw:disabled:pointer-events-none"],["role","button","aria-pressed","true",1,"tw:w-full!","tw:mb-sm!","tw:flex","tw:justify-start","tw:items-center","tw:cursor-pointer","tw:rounded-md!","tw:py-[0.375rem]","tw:px-[0.75rem]","tw:text-sm!","tw:font-medium","tw:leading-normal!","tw:tracking-wide","tw:text-main-blue!","tw:border","tw:border-grey-5!","tw:bg-white","tw:focus:shadow-none!","tw:focus:bg-white!","tw:active:bg-white!","tw:[&_mat-icon]:leading-tight!","tw:[&_mat-icon]:text-[1.2rem]!","tw:[&_mat-icon]:me-[16px]!","tw:disabled:opacity-65","tw:disabled:pointer-events-none",3,"click"],["fontSet","MotogoIcons","aria-hidden","false","aria-label","download"]],template:function(t,e){t&1&&(f(0,Dt,5,0,"button",0),f(1,Et,5,0,"button",0),f(2,Nt,5,0,"button",0),f(3,At,5,0,"button",0)),t&2&&(w(e.showPremovePdf?0:-1),c(),w(e.showPackPdf?1:-1),c(),w(e.showInspectionPdf?2:-1),c(),w(e.showPostmovePdf?3:-1))},dependencies:[S,x],encapsulation:2,changeDetection:0})}};
2var ne=class r{constructor(){this.data=d(k);this.bottomSheetRef=d(V)}close(){this.bottomSheetRef.dismiss()}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=C({type:r,selectors:[["app-order-summary-download-mobile"]],decls:10,vars:2,consts:[[1,"tw:flex","tw:justify-between","title-row","tw:mt-sm!"],[1,"tw:text-base!","tw:font-medium","tw:leading-snug!","tw:tracking-tight","tw:text-black-1"],["aria-controls","datepicker close",3,"click"],[1,"tw:row","tw:justify-between","tw:items-center","tw:px-md!","tw:mt-sm!"],[1,"tw:w-full!",3,"salesOrder","crewId"]],template:function(t,e){t&1&&(m(0,"div",0)(1,"div")(2,"h3",1),l(3," Documents "),s()(),m(4,"div")(5,"div",2),b("click",function(){return e.close()}),m(6,"mat-icon"),l(7,"close"),s()()()(),m(8,"div",3),g(9,"app-order-summary-download",4),s()),t&2&&(c(9),h("salesOrder",e.data.salesOrder)("crewId",e.data.crewId))},dependencies:[S,x,R,P],encapsulation:2,changeDetection:0})}};function kt(r,a){if(r&1&&g(0,"img",5),r&2){let t=p(2);h("src",t.image,E),xe("alt",t.title||"job type icon")}}function Vt(r,a){if(r&1&&(m(0,"div",1),f(1,kt,1,2,"img",5),m(2,"span"),l(3),s()()),r&2){let t=p();c(),w(t.image?1:-1),c(2),I(t.title)}}function Rt(r,a){if(r&1&&(m(0,"div",2)(1,"mat-icon",6),l(2,"\uE902"),s(),m(3,"span"),l(4),s()()),r&2){let t=p();c(4),I(t.date)}}function Lt(r,a){r&1&&g(0,"div",10)}function Bt(r,a){if(r&1&&(m(0,"div",7)(1,"span",8),g(2,"img",9),s(),m(3,"span"),l(4),N(5,"locationName"),s(),f(6,Lt,1,0,"div",10),s()),r&2){let t=a.$implicit,e=a.$index,n=p(2);c(2),h("src","/assets/img/icons/icon-letter-"+(e+1)+".png",E),c(2),I(ke(5,3,t)),c(2),w(n.locations.length-1!==e?6:-1)}}function jt(r,a){if(r&1&&(m(0,"div",3),H(1,Bt,7,5,"div",7,Se),s()),r&2){let t=p();c(),U(t.locations)}}function Ft(r,a){if(r&1&&(m(0,"div",4),g(1,"app-order-summary-download",11),s()),r&2){let t=p();c(),h("crewId",t.crewId)("salesOrder",t.salesOrder)}}function Ht(r,a){if(r&1){let t=y();m(0,"div",4)(1,"button",12),b("click",function(){_(t);let n=p(2);return v(n.onDownloadClick())}),m(2,"mat-icon",13),l(3,"\uE918"),s(),m(4,"span"),l(5,"Documents"),s()()()}}function Ut(r,a){if(r&1&&(m(0,"div",0),f(1,Vt,4,2,"div",1),f(2,Rt,5,1,"div",2),f(3,jt,3,0,"div",3),f(4,Ft,2,2,"div",4),f(5,Ht,6,0,"div",4),s()),r&2){let t=a,e=p();c(),w(t.title?1:-1),c(),w(t.date?2:-1),c(),w(t.locations&&t.locations.length?3:-1),c(),w(!e.isMobile()&&e.downloadAvailable?4:-1),c(),w(e.isMobile()&&e.downloadAvailable?5:-1)}}var ie=class r{constructor(){this.applicationState=d(A);this.matBottomSheet=d(Q);this.data=M.required();this.isMobile=this.applicationState.mobile;this.downloadAvailable=!1}onDownloadClick(){let a=this.data();this.matBottomSheet.open(ne,{data:{crewId:a.crewId,salesOrder:a.salesOrder},panelClass:"custom-bottom-sheet"})}ngOnChanges(a){if(a.data?.currentValue){let t=this.data();this.downloadAvailable=(!!(t.salesOrder?.formstatePacking&&t.salesOrder.jobType===2)||!!t.salesOrder.formstateInspection||!!t.salesOrder.formstatePremove||!!t.salesOrder.formstatePostmove)&&!!t.crewId}}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=C({type:r,selectors:[["app-order-info-summary"]],inputs:{data:[1,"data"]},features:[F],decls:1,vars:1,consts:[[1,"booking-summary-card","tw:card-elev","tw:p-[20px_10px_10px]","tw:text-black-1"],[1,"tw:text-lg","tw:font-bold","tw:leading-tight","tw:tracking-tight","tw:text-left","tw:pl-[13px]"],[1,"tw:mt-md!","date"],[1,"locations","tw:bg-light-grey-1","tw:mt-sm!"],[1,"tw:p-sm!","tw:mt-xs!"],[1,"tw:w-6","tw:h-6","tw:object-contain","tw:mr-2","tw:align-text-bottom",3,"src"],["fontSet","MotogoIcons","aria-hidden","false","aria-label","datepicker"],[1,"tw:flex","tw:items-center","tw:relative!"],[1,"location-icon","tw:text-center"],["width","26","height","34","alt","location-icon",3,"src"],[1,"line-between"],[3,"crewId","salesOrder"],["role","button","aria-pressed","true",1,"download-btn","tw:uppercase!","tw:w-full!","tw:inline-block","tw:text-center","tw:cursor-pointer","tw:rounded-md!","tw:py-[0.375rem]","tw:px-[0.75rem]","tw:text-muted!","tw:border","tw:border-muted","tw:bg-transparent","tw:hover:bg-muted!","tw:hover:text-white!","tw:disabled:opacity-65","tw:disabled:pointer-events-none",3,"click"],["fontSet","MotogoIcons","aria-hidden","false","aria-label","documents"]],template:function(t,e){if(t&1&&f(0,Ut,6,5,"div",0),t&2){let n;w((n=e.data())?0:-1,n)}},dependencies:[S,x,R,P,rt],styles:['@charset "UTF-8";.booking-summary-card[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{padding-left:13px}.booking-summary-card[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{letter-spacing:-.14px}.booking-summary-card[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:18px;height:18px;line-height:18px;margin-right:15px}.booking-summary-card[_ngcontent-%COMP%] .locations[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:22px 9px 8.5px}.booking-summary-card[_ngcontent-%COMP%] .locations[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{padding-top:9px}.booking-summary-card[_ngcontent-%COMP%] .locations[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child .line-between[_ngcontent-%COMP%]{height:calc(100% - 3px);
2top:31px}.booking-summary-card[_ngcontent-%COMP%] .locations[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{letter-spacing:-.14px}.booking-summary-card[_ngcontent-%COMP%] .locations[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] span.location-icon[_ngcontent-%COMP%]{flex-shrink:0;margin-right:7px;width:24px;height:32px}.booking-summary-card[_ngcontent-%COMP%] .locations[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .line-between[_ngcontent-%COMP%]{position:absolute;height:calc(100% - 16px);border-left:2px dashed var(--tw-color-main-red);top:49px;left:21px;padding-bottom:28px}.booking-summary-card[_ngcontent-%COMP%] .download-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;border-color:var(--tw-color-main-blue)!important;font-size:.875rem;font-weight:500;line-height:1.57;letter-spacing:1px;color:var(--tw-color-main-blue);background:#fff}.booking-summary-card[_ngcontent-%COMP%] .download-btn[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{line-height:1.3;font-size:1.2rem;margin-right:16px}.booking-summary-card[_ngcontent-%COMP%] .download-btn[_ngcontent-%COMP%]:focus, .booking-summary-card[_ngcontent-%COMP%] .download-btn[_ngcontent-%COMP%]:active{color:var(--tw-color-main-blue)!important;background:#fff!important;box-shadow:none!important}'],changeDetection:0})}};var oe=class r{constructor(){this.additionInformationService=d(G);this.additionalInfo=this.additionInformationService.additionalInfo}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=C({type:r,selectors:[["app-order-view-header"]],decls:3,vars:0,consts:[[1,"navbar","tw:p-0!","navbar-light"],[1,"navbar-brand"],["src","/assets/img/3mm-logo.svg","alt","3 Men Movers"]],template:function(t,e){t&1&&(Me(0,"nav",0)(1,"div",1),$(2,"img",2),Ie()())},styles:["[_nghost-%COMP%]{display:flex;justify-content:center}"],changeDetection:0})}};var re=class r extends ze{constructor(){let a=d(je);super(a)}getPageData(){return{title:"Your service summary",metadata:{title:"Your Service Summary - 3 Men Movers",robots:"noindex, nofollow"}}}getOrder(a,t){return this.get(`SalesOrder/${a}/${t}`)}getCrewLocations(a){return this.get(`crew/location/${a}`,{context:mt()})}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275prov=be({token:r,factory:r.\u0275fac,providedIn:"root"})}};function $t(r,a){if(r&1&&(m(0,"div",10),g(1,"app-order-crew",15),s()),r&2){let t=p(2);c(),h("crew",a)("isJobToday",t.isJobToday())("officeNumber",t.officeNumber())}}function Jt(r,a){if(r&1&&g(0,"app-orders-map",17),r&2){let t=p(3);h("locations",t.locations())("mapHeight",t.mapHeight)("crewLocations",t.crewLocations())}}function zt(r,a){r&1&&(m(0,"div",14),ye(1,Jt,1,3,"app-orders-map",16),s())}function Gt(r,a){if(r&1&&(m(0,"div",5)(1,"div",8)(2,"div",9),f(3,$t,2,3,"div",10),m(4,"div",11),g(5,"app-order-info-summary",12),s()()(),m(6,"div",13),f(7,zt,2,0,"div",14),s()()),r&2){let t,e=p();c(),J(e.crew()?"tw:xl:w-7/12":"tw:md:w-5/12"),c(2),w((t=e.crew())?3:-1,t),c(),J(e.crew()?"tw:md:w-1/2":""),c(),h("data",e.summaryData()),c(),J(e.crew()?"tw:xl:w-5/12":"tw:xl:w-7/12"),c(),w(e.mapLoaded()?7:-1)}}function qt(r,a){r&1&&g(0,"app-loading")}var ae=class r{constructor(){this.ordersService=d(re);this.applicationState=d(A);this.singleServiceAreaService=d(ct);this.additionInformationService=d(G);this.route=d(He);this.router=d(Ue);this.metaService=d(st);this.platformId=d(_e);this.destroyRef=d(he);this.googleMapsService=d(nt);this.isBrowser=me(this.platformId);this.crew=O(void 0);this.summaryData=O(void 0);this.loading=O(!0);this.mapLoaded=this.applicationState.mapLoaded;this.mapHeight=672;this.locations=O([]);this.pageData=this.ordersService.getPageData();this.marketPhone=O(void 0);this.officeNumber=Ve(()=>this.marketPhone()??this.additionInformationService.originalInfo().phone);this.isJobToday=O(!1);this.crewLocations=O([]);this.minimizeInfo=this.applicationState.minimizeInfo;this.isMobile=this.applicationState.mobile;let a=d(qe),t=this.platformId,e=d(Fe);dt(a,e,me(t),["icon_location_small","icon_circle_red"])}ngOnInit(){this.googleMapsService.ensureLoaded(),this.applicationState.setHideTrustSignal(!0);
2let a=this.route.snapshot.paramMap.get("salesOrderNumber")||"",t=this.route.snapshot.paramMap.get("customerId")||"";if(!a||!t){this.router.navigate(["/"]);return}this.setPageMetadata(),this.isBrowser&&this.getOrderDetails(t,a)}ngAfterViewInit(){!this.isMobile()&&this.isBrowser&<("chatWidget")}setPageMetadata(){this.metaService.setMetaTags(this.pageData.metadata)}getOrderDetails(a,t){this.ordersService.getOrder(a,t).pipe(B(this.destroyRef)).subscribe(e=>{if(!e){this.router.navigate(["/"]);return}this.salesOrder=e;let n=e.location&&e.location.replace(/^.*\s:\s/g,"");n&&this.singleServiceAreaService.getServiceArea(n).pipe(B(this.destroyRef)).subscribe(u=>{u?.office&&u.office.phone&&this.marketPhone.set(u.office.phone)});let i=tt(le(new Date(e.dispatchDate)),le(new Date));if(this.isJobToday.set(i),e.crewDto){let u=e.crewDto;this.crew.set(u),!e.formstatePostmove&&e.orderStatus!=="Accounting Review"&&!e.endTime&&i&&(this.getCrewLocations(u.id),ue(We).pipe(B(this.destroyRef)).subscribe(()=>{this.getCrewLocations(u.id)}))}let o=e.slot?.toLowerCase();switch(e.jobType){case 1:case 5:case 4:this.summaryData.set({title:"Moving reservation",image:pe(e.jobType),date:de(new Date(e.dispatchDate),ce)+`${o!=="pm"&&e.startTime?` at ${e.startTime}`:` at ${o?.toUpperCase()}`}`,locations:e.stops.map(u=>u.address||u.detail),crewId:this.crew()?.id||e.partnerCrewId||0,salesOrder:e});break;case 2:this.summaryData.set({title:it(e.packType)?"Un-Packing reservation":"Packing reservation",image:pe(e.jobType),date:de(new Date(e.dispatchDate),ce)+`${o!=="pm"&&e.startTime?` at ${e.startTime}`:` at ${o?.toUpperCase()}`}`,locations:e.stops.map(u=>u.address||u.detail),crewId:this.crew()?.id||e.partnerCrewId||0,salesOrder:e});break}this.locations.set(e.stops.map(u=>({address:u.address||u.detail,name:u.address||u.detail}))),this.loading.set(!1)},()=>{this.router.navigate(["/"])})}getCrewLocations(a){this.ordersService.getCrewLocations(a).pipe(B(this.destroyRef)).subscribe(t=>{if(t.lastLocations&&t.lastLocations.length){let{locationTimestamp:e}=t.lastLocations[0];et(new Date,new Date(e))<=5?this.crewLocations.set(t.lastLocations):this.crewLocations.set([])}else this.crewLocations.set([])})}ngOnDestroy(){this.applicationState.setHideTrustSignal(!1)}static{this.\u0275fac=function(t){return new(t||r)}}static{this.\u0275cmp=C({type:r,selectors:[["app-order-view"]],decls:11,vars:5,consts:[[1,"tw:relative!"],[1,"fixed-top-main"],[1,"container-fluid","tw:bg-light-grey-1","tw:p-[24px]!","tw:max-xl:p-[24px_20px]!","tw:max-md:p-[24px_17px]!","tw:min-h-screen","order-view"],[1,"page-title","tw:flex","tw:mb-md!","tw:self-center!","tw:justify-center","tw:xl:justify-start"],[1,"tw:text-lg!","tw:font-medium","tw:leading-[1.44]!","tw:tracking-tight","tw:text-black-1","tw:m-0!","tw:self-center!"],[1,"tw:row","tw:mx-0!"],[3,"compact"],["id","chatWidget","location-id","sC6VYoRN0MENjvxQ3JKh","sub-heading","Enter your question below and a 3 Men Movers representative will TEXT you.","legal-msg","By submitting you agree to receive SMS or e-mails for the provided channel.","show-prompt","false","use-email-field","true","success-msg","","thank-you-msg","Thank You! Our representative will TEXT you shortly.","primary-color","#002768","show-consent-checkbox","true",2,"display","none","--chat-widget-primary-color","#002768","--chat-widget-active-color","#002768","--chat-widget-bubble-color","#002768"],[1,"tw:w-full","tw:col","tw:px-0!"],[1,"tw:row"],[1,"tw:w-full","tw:col","tw:md:w-1/2","tw:md:
2pe-sm!","tw:mb-sm!","tw:md:mb-0!"],[1,"tw:w-full","tw:col","tw:md:ps-sm!"],[3,"data"],[1,"tw:w-full","tw:col","tw:px-0!","tw:xl:mt-0!","tw:mt-sm!","tw:xl:ps-md!"],[1,"map-container"],[3,"crew","isJobToday","officeNumber"],[3,"locations","mapHeight","crewLocations",4,"appShellNoRender"],[3,"locations","mapHeight","crewLocations"]],template:function(t,e){t&1&&(m(0,"app-header",0),g(1,"app-order-view-header"),s(),m(2,"main",1)(3,"div",2)(4,"div",3)(5,"h1",4),l(6),s()(),f(7,Gt,8,9,"div",5)(8,qt,1,0,"app-loading"),s()(),g(9,"app-footer",6)(10,"chat-widget",7)),t&2&&(c(2),Ae("compact",e.minimizeInfo()),c(4),L(" ",e.pageData.title," "),c(),w(e.loading()?8:7),c(2),h("compact",!0))},dependencies:[$e,oe,ee,ie,Ge,ot,Je,pt],styles:["[_nghost-%COMP%]{display:block;height:100%}[_nghost-%COMP%] .fixed-top-main[_ngcontent-%COMP%]{min-height:calc(100vh - 148px);position:relative}[_nghost-%COMP%] .fixed-top-main[_ngcontent-%COMP%] > div.container-fluid[_ngcontent-%COMP%]{height:100%;min-height:775px}"],changeDetection:0})}};var po=[{path:":customerId/:salesOrderNumber",component:ae},{path:"**",redirectTo:"/"}];export{po as ORDERS_ROUTING};
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.