1"use strict";(self.webpackChunkblink_frontend=self.webpackChunkblink_frontend||[]).push([[69],{12315(A,D,r){r.d(D,{h:()=>h});var a=r(85240),t=r(17695),l=r(34456),E=r(93683),_=r(97024),v=r(41134);const o=(m,i)=>({selected:m,highlight:i});function g(m,i){if(1&m){const c=t.RV6();t.nrm(0,"div",2),t.j41(1,"mat-checkbox",3,0),t.mxI("ngModelChange",function(f){a.eBV(c);const O=t.XpG();return t.DH7(O.value,f)||(O.value=f),a.Njj(f)}),t.k0s()}if(2&m){const c=t.sdS(2),d=t.XpG();t.Y8G("ngClass",t.l_i(3,o,c.checked,d.highlight&&!c.checked)),t.R7$(),t.R50("ngModel",d.value),t.Y8G("disableRipple",!0)}}function u(m,i){1&m&&t.nrm(0,"mat-spinner",1),2&m&&t.Y8G("diameter",16)}class h{get value(){return this._value}set value(i){i!==this._value&&(this._value=i,this.onChange(i),this.change.emit({data:this.data,checked:i}))}constructor(){this.isLoading=!1,this.change=new t.bkB,this._value=!1,this.onChange=Function.prototype,this.onTouched=Function.prototype}ngOnInit(){}writeValue(i){this._value=i}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}static{this.\u0275fac=function(c){return new(c||h)}}static{this.\u0275cmp=t.VBU({type:h,selectors:[["app-table-checkbox"]],hostAttrs:[1,"app-table-checkbox","d-flex","align-items-center"],inputs:{data:"data",highlight:"highlight",isLoading:"isLoading"},outputs:{change:"change"},standalone:!1,features:[t.Jv_([{provide:l.kq,useExisting:(0,a.Rfq)(()=>h),multi:!0}])],decls:2,vars:1,consts:[["checkbox",""],[3,"diameter"],[1,"cb-selected-line",3,"ngClass"],[3,"ngModelChange","ngModel","disableRipple"]],template:function(c,d){1&c&&t.nVh(0,g,3,6)(1,u,1,1,"mat-spinner",1),2&c&&t.vxM(d.isLoading?1:0)},dependencies:[E.YU,l.BC,l.vS,_.So,v.LG],styles:["[_nghost-%COMP%]{position:relative;margin:-8px}.cb-selected-line[_ngcontent-%COMP%]{display:none;position:absolute;width:4px;height:100%;left:-15px;top:0;background-color:#59a4d9}@media screen and (min-width:576px){.cb-selected-line[_ngcontent-%COMP%]{left:-40px}}@media screen and (min-width:992px){.cb-selected-line[_ngcontent-%COMP%]{left:-50px}}@media screen and (min-width:1200px){.cb-selected-line[_ngcontent-%COMP%]{display:none!important}}.cb-selected-line.selected[_ngcontent-%COMP%]{display:block}.cb-selected-line.highlight[_ngcontent-%COMP%]{display:block;background-color:#7e1874}"]})}}},22842(A,D,r){r.d(D,{y:()=>o});var a=r(93683),t=r(34456),l=r(97024),E=r(41134),_=r(85240),v=r(17695);class o{static{this.\u0275fac=function(h){return new(h||o)}}static{this.\u0275mod=v.$C({type:o})}static{this.\u0275inj=_.G2t({imports:[a.MD,t.YN,l.g7,E.D6]})}}},56542(A,D,r){r.d(D,{K:()=>_});var a=r(70271),t=r(85240),l=r(69166),E=r(30223);class _{constructor(o,g){this.router=o,this.whoAmIResolver=g}canActivate(o,g){return this.whoAmIResolver.resolve().pipe((0,a.T)(u=>{if(!u)return!1;if(!Array.isArray(u.roles)){if(o.data._default?.allow)return!0;{const d=o.data._default?.redirectTo||o.data.redirectTo||"/";return void this.router.navigateByUrl(d)}}const h=["user","admin","driver"],m=Object.keys(o.data).filter(d=>h.includes(d)&&o.data[d]?.allow);if(u.roles?.some(d=>m.includes(d)))return!0;u.roles.forEach(d=>{const f=o.data[d]?.redirectTo;f&&this.router.navigateByUrl(f)});const c=o.data.redirectTo||"/";this.router.navigateByUrl(c)}))}static{this.\u0275fac=function(g){return new(g||_)(t.KVO(l.Ix),t.KVO(E.iN))}}static{this.\u0275prov=t.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}},22047(A,D,r){r.d(D,{B4:()=>b,NQ:()=>P,aE:()=>C});var a=r(85240),t=r(17695),l=r(37580),E=r(52903),_=r(56423),v=r(78159),o=r(84205),g=r(56042),u=r(63617),h=r(86739),m=r(51935),i=r(1805),c=r(80097);const d=["mat-sort-header",""],f=["*"];function O(p,e){1&p&&(t.rj2(0,"div",2),a.qSk(),t.rj2(1,"svg",3),t.Hgh(2,"path",4),t.eux()())}const T=new a.nKC("MAT_SORT_DEFAULT_OPTIONS");class b{_defaultOptions;_initializedStream=new g.m(1);sortables=new Map;_stateChanges=new o.B;active;start="asc";get direction(){return this._direction}set direction(e){this._direction=e}_direction="";disableClear;disabled=!1;sortChange=new t.bkB;initialized=this._initializedStream;constructor(e){this._defaultOptions=e}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";const s=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear;let n=function w(p,e){let s=["asc","desc"];return"desc"==p&&s.reverse(),e||s.push(""),s}(e.start||this.start,s),M=n.indexOf(this.direction)+1;return M>=n.length&&(M=0),n[M]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static \u0275fac=function(s){return new(s||b)(t.rXU(T,8))};static \u0275dir=t.FsC({type:b,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",l.L39],disabled:[2,"matSortDisabled","disabled",l.L39]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[t.OA$]})}class y{changes=new o.B;static \u0275fac=function(s){return new(s||y)};static \u0275prov=a.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}const I={provide:y,deps:[[new t.Xx1,new t.kdw,y]],useFactory:function R(p){return p||new y}};class C{_intl=(0,a.WQX)(y);_sort=(0,a.WQX)(b,{optional:!0});_columnDef=(0,a.WQX)("MAT_SORT_HEADER_COLUMN_DEF",{optional:!0});_changeDetectorRef=(0,a.WQX)(l.gRc);_focusMonitor=(0,a.WQX)(_.FN);_elementRef=(0,a.WQX)(t.aKT);_ariaDescriber=(0,a.WQX)(E.vr,{optional:!0});_renderChanges;_animationsDisabled=(0,m.Rc)();_recentlyCleared=(0,a.vPA)(null);_sortButton;id;arrowPosition="after";start;disabled=!1;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}_sortActionDescription="Sort";disableClear;constructor(){(0,a.WQX)(h.l).load(i.A);const e=(0,a.WQX)(T,{optional:!0});this._sort,e?.arrowPosition&&(this.arrowPosition=e?.arrowPosition)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=(0,u.h)(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null))})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_toggleOnInteraction(){if(!this._isDisabled()){const e=this._isSorted(),s=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(e&&!this._isSorted()?s:null)}}_handleKeydown(e){(e.keyCode===v.t6||e.keyCode===v.Fm)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}static \u0275fac=function(s){return new(s||C)};static \u0275cmp=t.VBU({type:C,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(s,n){1&s&&t.bIt("click",function(){return n._toggleOnInteraction()})("keydown",function(S){return n._handleKeydown(S)})("mouseleave",function(){return n._recentlyCleared.set(null)}),2&s&&(t.BMQ("aria-sort",n._getAriaSortAttribute()),t.AVh("mat-sort-header-disabled",n._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",l.L39],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",l.L39]},exportAs:["matSortHeader"],attrs:d,ngContentSelectors:f,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(s,n){1&s&&(t.NAR(),t.rj2(0,"div",0)(1,"div",1),t.S
1dG(2),t.eux(),t.nVh(3,O,3,0,"div",2),t.eux()),2&s&&(t.AVh("mat-sort-header-sorted",n._isSorted())("mat-sort-header-position-before","before"===n.arrowPosition)("mat-sort-header-descending","desc"===n._sort.direction)("mat-sort-header-ascending","asc"===n._sort.direction)("mat-sort-header-recently-cleared-ascending","asc"===n._recentlyCleared())("mat-sort-header-recently-cleared-descending","desc"===n._recentlyCleared())("mat-sort-header-animations-disabled",n._animationsDisabled),t.BMQ("tabindex",n._isDisabled()?null:0)("role",n._isDisabled()?null:"button"),t.R7$(3),t.vxM(n._renderArrow()?3:-1))},styles:[".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}
1}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}\n"],encapsulation:2,changeDetection:0})}class P{static \u0275fac=function(s){return new(s||P)};static \u0275mod=t.$C({type:P});static \u0275inj=a.G2t({providers:[I],imports:[c.y]})}}}]);
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.