PageSourceSearch

https://stuttgart-faehrt-mit.de/de/5277.ad24851492a2e9f7.js

js stuttgart-faehrt-mit.de collected 2026-10-08 16:17:51 UTC 77,396 bytes, 1 lines download raw bytes

vendor: 7,452 bytes, line 1
1(self.webpackChunkridebee_web=self.webpackChunkridebee_web||[]).push([[5277],{1018:(w,s,n)=>{const c=n(91677),r=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(a){this.mode=c.ALPHANUMERIC,this.data=a}o.getBitsLength=function(l){return 11*Math.floor(l/2)+l%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(l){let d;for(d=0;d+2<=this.data.length;d+=2){let E=45*r.indexOf(this.data[d]);E+=r.indexOf(this.data[d+1]),l.put(E,11)}this.data.length%2&&l.put(r.indexOf(this.data[d]),6)},w.exports=o},3361:(w,s)=>{s.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function c(r,o,a){switch(r){case s.Patterns.PATTERN000:return(o+a)%2==0;case s.Patterns.PATTERN001:return o%2==0;case s.Patterns.PATTERN010:return a%3==0;case s.Patterns.PATTERN011:return(o+a)%3==0;case s.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(a/3))%2==0;case s.Patterns.PATTERN101:return o*a%2+o*a%3==0;case s.Patterns.PATTERN110:return(o*a%2+o*a%3)%2==0;case s.Patterns.PATTERN111:return(o*a%3+(o+a)%2)%2==0;default:throw new Error("bad maskPattern:"+r)}}s.isValid=function(o){return null!=o&&""!==o&&!isNaN(o)&&o>=0&&o<=7},s.from=function(o){return s.isValid(o)?parseInt(o,10):void 0},s.getPenaltyN1=function(o){const a=o.size;let l=0,d=0,E=0,u=null,g=null;for(let S=0;S<a;S++){d=E=0,u=g=null;for(let y=0;y<a;y++){let A=o.get(S,y);A===u?d++:(d>=5&&(l+=d-5+3),u=A,d=1),A=o.get(y,S),A===g?E++:(E>=5&&(l+=E-5+3),g=A,E=1)}d>=5&&(l+=d-5+3),E>=5&&(l+=E-5+3)}return l},s.getPenaltyN2=function(o){const a=o.size;let l=0;for(let d=0;d<a-1;d++)for(let E=0;E<a-1;E++){const u=o.get(d,E)+o.get(d,E+1)+o.get(d+1,E)+o.get(d+1,E+1);(4===u||0===u)&&l++}return 3*l},s.getPenaltyN3=function(o){const a=o.size;let l=0,d=0,E=0;for(let u=0;u<a;u++){d=E=0;for(let g=0;g<a;g++)d=d<<1&2047|o.get(u,g),g>=10&&(1488===d||93===d)&&l++,E=E<<1&2047|o.get(g,u),g>=10&&(1488===E||93===E)&&l++}return 40*l},s.getPenaltyN4=function(o){let a=0;const l=o.data.length;for(let E=0;E<l;E++)a+=o.data[E];return 10*Math.abs(Math.ceil(100*a/l/5)-10)},s.applyMask=function(o,a){const l=a.size;for(let d=0;d<l;d++)for(let E=0;E<l;E++)a.isReserved(E,d)||a.xor(E,d,c(o,E,d))},s.getBestMask=function(o,a){const l=Object.keys(s.Patterns).length;let d=0,E=1/0;for(let u=0;u<l;u++){a(u),s.applyMask(u,o);const g=s.getPenaltyN1(o)+s.getPenaltyN2(o)+s.getPenaltyN3(o)+s.getPenaltyN4(o);s.applyMask(u,o),g<E&&(E=g,d=u)}return d}},7030:(w,s,n)=>{const c=n(47077);s.render=function(l,d,E){let u=E,g=d;typeof u>"u"&&(!d||!d.getContext)&&(u=d,d=void 0),d||(g=function o(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),u=c.getOptions(u);const S=c.getImageWidth(l.modules.size,u),y=g.getContext("2d"),A=y.createImageData(S,S);return c.qrToImageData(A.data,l,u),function r(a,l,d){a.clearRect(0,0,l.width,l.height),l.style||(l.style={}),l.height=d,l.width=d,l.style.height=d+"px",l.style.width=d+"px"}(y,g,S),y.putImageData(A,0,0),g},s.renderToDataURL=function(l,d,E){let u=E;return typeof u>"u"&&(!d||!d.getContext)&&(u=d,d=void 0),u||(u={}),s.render(l,d,u).toDataURL(u.type||"image/png",(u.rendererOpts||{}).quality)}},19089:(w,s)=>{let n;const c=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];s.getSymbolSize=function(o){if(!o)throw new Error('"version" cannot be null or undefined');if(o<1||o>40)throw new Error('"version" should be in range from 1 to 40');return 4*o+17},s.getSymbolTotalCodewords=function(o){return c[o]},s.getBCHDigit=function(r){let o=0;for(;0!==r;)o++,r>>>=1;return o},s.setToSJISFunction=function(o){if("function"!=typeof o)throw new Error('"toSJISFunc" is not a valid function.');n=o},s.isKanjiModeEnabled=function(){return typeof n<"u"},s.toSJIS=function(o){return n(o)}},22868:(w,s,n)=>{const c=n(91677),r=n(96628),o=n(1018),a=n(54969),l=n(83264),d=n(99359),E=n(19089),u=n(80243);function g(L){return unescape(encodeURIComponent(L)).length}function S(L,x,v){const O=[];let V;for(;null!==(V=L.exec(v));)O.push({data:V[0],index:V.index,mode:x,length:V[0].length});return O}function y(L){const x=S(d.NUMERIC,c.NUMERIC,L),v=S(d.ALPHANUMERIC,c.ALPHANUMERIC,L);let O,V;return E.isKanjiModeEnabled()?(O=S(d.BYTE,c.BYTE,L),V=S(d.KANJI,c.KANJI,L)):(O=S(d.BYTE_KANJI,c.BYTE,L),V=[]),x.concat(v,O,V).sort(function(T,I){return T.index-I.index}).map(function(T){return{data:T.data,mode:T.mode,length:T.length}})}function A(L,x){switch(x){case c.NUMERIC:return r.getBitsLength(L);case c.ALPHANUMERIC:return o.getBitsLength(L);case c.KANJI:return l.getBitsLength(L);case c.BYTE:return a.getBitsLength(L)}}function j(L,x){let v;const O=c.getBestModeForData(L);if(v=c.from(x,O),v!==c.BYTE&&v.bit<O.bit)throw new Error('"'+L+'" cannot be encoded with mode '+c.toString(v)+".\n Suggested mode is: "+c.toString(O));switch(v===c.KANJI&&!E.isKanjiModeEnabled()&&(v=c.BYTE),v){case c.NUMERIC:return new r(L);case c.ALPHANUMERIC:return new o(L);case c.KANJI:return new l(L);case c.BYTE:return new a(L)}}s.fromArray=function(x){return x.reduce(function(v,O){return"string"==typeof O?v.push(j(O,null)):O.data&&v.push(j(O.data,O.mode)),v},[])},s.fromString=function(x,v){const V=function N(L){const x=[];for(let v=0;v<L.length;v++){const O=L[v];switch(O.mode){case c.NUMERIC:x.push([O,{data:O.data,mode:c.ALPHANUMERIC,length:O.length},{data:O.data,mode:c.BYTE,length:O.length}]);break;case c.ALPHANUMERIC:x.push([O,{data:O.data,mode:c.BYTE,length:O.length}]);break;case c.KANJI:x.push([O,{data:O.data,mode:c.BYTE,length:g(O.data)}]);break;case c.BYTE:x.push([{data:O.data,mode:c.BYTE,length:g(O.data)}])}}return x}(y(x,E.isKanjiModeEnabled())),z=function F(L,x){const v={},O={start:{}};let V=["start"];for(let z=0;z<L.length;z++){const T=L[z],I=[];for(let D=0;D<T.length;D++){const m=T[D],P=""+z+D;I.push(P),v[P]={node:m,lastCount:0},O[P]={};for(let M=0;M<V.length;M++){const h=V[M];v[h]&&v[h].node.mode===m.mode?(O[h][P]=A(v[h].lastCount+m.length,m.mode)-A(v[h].lastCount,m.mode),v[h].lastCount+=m.length):(v[h]&&(v[h].lastCount=m.length),O[h][P]=A(m.length,m.mode)+4+c.getCharCountIndicator(m.mode,x))}}V=I}for(let z=0;z<V.length;z++)O[V[z]].end=0;return{map:O,table:v}}(V,v),T=u.find_path(z.map,"start","end"),I=[];for(let D=1;D<T.length-1;D++)I.push(z.table[T[D]].node);return s.fromArray(function C(L){return L.reduce(function(x,v){const O=x.length-1>=0?x[x.length-1]:null;return O&&O.mode===v.mode?(x[x.length-1].data+=v.data,x):(x.push(v),x)},[])}(I))},s.rawSplit=function(x){return s.fromArray(y(x,E.isKanjiModeEnabled()))}},23677:(w,s,n)=>{const c=n(47424),r=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,
1192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];s.getBlocksCount=function(l,d){switch(d){case c.L:return r[4*(l-1)+0];case c.M:return r[4*(l-1)+1];case c.Q:return r[4*(l-1)+2];case c.H:return r[4*(l-1)+3];default:return}},s.getTotalCodewordsCount=function(l,d){switch(d){case c.L:return o[4*(l-1)+0];case c.M:return o[4*(l-1)+1];case c.Q:return o[4*(l-1)+2];case c.H:return o[4*(l-1)+3];default:return}}},26254:(w,s,n)=>{const c=n(19089),a=c.getBCHDigit(1335);s.getEncodedBits=function(d,E){const u=d.bit<<3|E;let g=u<<10;for(;c.getBCHDigit(g)-a>=0;)g^=1335<<c.getBCHDigit(g)-a;return 21522^(u<<10|g)}},35277:(w,s,n)=>{"use strict";n.r(s),n.d(s,{OfferModule:()=>Vn});var c=n(32881),r=n(89417),o=n(88834),a=n(25596),l=n(82765),d=n(7356),E=n(3),u=n(3069),g=n(45565),S=n(71997),y=n(22928),A=n(6704),C=n(99213),N=n(40100),F=n(3902),j=n(67575),L=n(9183),x=n(5951),v=n(5380),O=n(55911),V=n(66682),z=n(81391),T=n(10467),I=n(32561),D=n(10641),m=n(55785),P=n(27963),M=n(44909),h=n(16351),G=n(47636),$=n(44193),Y=n(71873),e=n(41360),ie=n(76631),se=n(88096),B=n(88498),ee=n(74506);function oe(i,R){1&i&&(e.j41(0,"p"),e.pXf(1,2),e.k0s())}function ce(i,R){if(1&i&&(e.j41(0,"p",8),e.EFF(1),e.k0s()),2&i){const t=e.XpG();e.R7$(),e.SpI(" ",t.declineRequestError," ")}}function re(i,R){1&i&&e.nrm(0,"mat-progress-bar",9),2&i&&e.Y8G("mode","indeterminate")}function fe(i,R){if(1&i){const t=e.RV6();e.j41(0,"button",13),e.bIt("click",function(){e.eBV(t);const f=e.XpG();return e.Njj(f.onDeclineClick())}),e.j41(1,"span"),e.pXf(2,3),e.k0s()()}}let ae=(()=>{class i{dialogRef;data;travelService;googleAnalyticsService;loading=!1;error=!1;declineRequestError="Die Anfrage konnte nicht abgelehnt werden. Bitte \xFCberpr\xFCfe deine Internetverbindung und kontaktiere das " + Y.c.projectReferenceName + "-Team, wenn das Problem weiter besteht.";constructor(t,_,f,p){this.dialogRef=t,this.data=_,this.travelService=f,this.googleAnalyticsService=p}ngOnInit(){this.googleAnalyticsService.registerEvent("Decline Confirm")}onCancelClick(){this.dialogRef.close()}closeDialog(){this.dialogRef.close()}onDeclineClick(){this.loading=!0,this.travelService.declineRequestForOffer(this.data.offer,this.data.request).subscribe(t=>{this.loading=!1,this.dialogRef.close()},t=>{this.error=!0,this.loading=!1})}static \u0275fac=function(_){return new(_||i)(e.rXU(g.m),e.rXU(g.e),e.rXU(ie.y),e.rXU(se.p))};static \u0275cmp=e.VBU({type:i,selectors:[["app-decline-confirm-dialog"]],standalone:!1,decls:15,vars:4,consts:()=>{let t,_,f,p;return t="Ablehnen best\xE4tigen",_="Abbrechen",f="Bitte best\xE4tige, dass du die Anfrage ablehnen m\xF6chtest.",p="Anfrage ablehnen",[t,_,f,p,[1,"fill-remaining-space"],["mat-icon-button","",3,"click"],["fontSet","untitled-ui","fontIcon","untitled-x-circle"],["mat-dialog-content",""],[1,"error-message"],[3,"mode"],["fxLayout","row wrap","fxLayoutAlign","space-between center"],["cdkFocusInitial","","mat-flat-button","","color","primary",3,"click"],["fxFlex","none","mat-stroked-button","","color","primary"],["fxFlex","none","mat-stroked-button","","color","primary",3,"click"]]},template:function(_,f){1&_&&(e.j41(0,"mat-toolbar")(1,"span"),e.pXf(2,0),e.k0s(),e.nrm(3,"span",4),e.j41(4,"button",5),e.bIt("click",function(){return f.closeDialog()}),e.nrm(5,"mat-icon",6),e.k0s()(),e.j41(6,"div",7),e.DNE(7,oe,2,0,"p")(8,ce,2,1,"p",8)(9,re,1,1,"mat-progress-bar",9),e.k0s(),e.j41(10,"mat-dialog-actions",10)(11,"button",11),e.bIt("click",function(){return f.onCancelClick()}),e.j41(12,"span"),e.pXf(13,1),e.k0s()(),e.DNE(14,fe,3,0,"button",12),e.k0s()),2&_&&(e.R7$(7),e.vxM(f.error?-1:7),e.R7$(),e.vxM(f.error?8:-1),e.R7$(),e.vxM(f.loading&&!f.error?9:-1),e.R7$(5),e.vxM(f.error?-1:14))},dependencies:[B.DJ,B.sA,B.UI,C.An,o.$z,ee.M,O.KQ,g.M,g.c,j.HM],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:10px}"]})}return i})();var _e=n(20220),Q=n(37695);function J(i,R){if(1&i&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&i){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.multiDayAcceptDeclineCouldNotConfirmRequests," ")}}function te(i,R){if(1&i&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&i){const t=e.XpG(2);e.R7$(),e.SpI(" ",t.multiDayAcceptDeclineCouldNotDeclineRequests," ")}}function le(i,R){if(1&i&&(e.j41(0,"p",14),e.DNE(1,J,2,1,"span")(2,te,2,1,"span"),e.k0s()),2&i){const t=e.XpG();
1e.R7$(),e.vxM(t.data.multiDayAcceptDeclineOption==t.MultiDayAcceptDeclineOption.ACCEPT?1:-1),e.R7$(),e.vxM(t.data.multiDayAcceptDeclineOption==t.MultiDayAcceptDeclineOption.DECLINE?2:-1)}}function He(i,R){1&i&&e.nrm(0,"mat-progress-bar",15),2&i&&e.Y8G("mode","indeterminate")}function Qe(i,R){1&i&&(e.j41(0,"span"),e.pXf(1,2),e.k0s())}function Je(i,R){1&i&&(e.j41(0,"span"),e.pXf(1,3),e.k0s())}function We(i,R){if(1&i&&(e.j41(0,"mat-list-item")(1,"div",17)(2,"div")(3,"span"),e.EFF(4),e.k0s(),e.j41(5,"span"),e.EFF(6),e.k0s()(),e.j41(7,"div"),e.EFF(8),e.k0s()()()),2&i){const t=R.$implicit,_=e.XpG(2);e.R7$(4),e.SpI(" ",t.getFormattedTravelDay(_.data.user.institution.timeZone)," "),e.R7$(2),e.SpI(" ",t.getFormattedDate(_.data.user.institution.timeZone)," "),e.R7$(2),e.JRh(_.data.receivedRequest.matchingDetails.price.total.formatted)}}function Ke(i,R){1&i&&(e.j41(0,"span"),e.pXf(1,4),e.k0s())}function Ze(i,R){1&i&&(e.j41(0,"span"),e.pXf(1,5),e.k0s())}function et(i,R){if(1&i){const t=e.RV6();e.j41(0,"mat-list",16),e.Z7z(1,We,9,3,"mat-list-item",null,e.fX1),e.j41(3,"mat-list-item")(4,"div",17)(5,"button",18),e.bIt("click",function(){e.eBV(t);const f=e.XpG();return e.Njj(f.acceptDeclineAllButtonClicked())}),e.DNE(6,Ke,2,0,"span")(7,Ze,2,0,"span"),e.k0s(),e.j41(8,"div",19)(9,"b"),e.EFF(10),e.k0s()()()()()}if(2&i){const t=e.XpG();e.R7$(),e.Dyx(t.multidayRequest.associatedRequests),e.R7$(4),e.Y8G("disabled",t.loading),e.R7$(),e.vxM(t.data.multiDayAcceptDeclineOption==t.MultiDayAcceptDeclineOption.ACCEPT?6:-1),e.R7$(),e.vxM(t.data.multiDayAcceptDeclineOption==t.MultiDayAcceptDeclineOption.DECLINE?7:-1),e.R7$(3),e.JRh(t.totalPrice)}}function tt(i,R){1&i&&(e.j41(0,"span"),e.pXf(1,6),e.k0s())}function nt(i,R){1&i&&(e.j41(0,"span"),e.pXf(1,7),e.k0s())}function ot(i,R){1&i&&(e.j41(0,"span"),e.pXf(1,8),e.k0s())}function it(i,R){1&i&&(e.j41(0,"span"),e.pXf(1,9),e.k0s())}var ne=function(i){return i[i.ACCEPT=0]="ACCEPT",i[i.DECLINE=1]="DECLINE",i}(ne||{});let rt=(()=>{class i{dialogRef;data;travelService;confettiService;constructor(t,_,f,p){this.dialogRef=t,this.data=_,this.travelService=f,this.confettiService=p}multiDayAcceptDeclineCouldNotConfirmRequests="Leider konnte die Anfragen nicht angenommen werden. Bitte \xFCberpr\xFCfe deine Internetverbindung und kontaktiere das " + Y.c.projectReferenceName + "-Team, wenn das Problem weiter besteht.";multiDayAcceptDeclineCouldNotDeclineRequests="Leider konnte die Anfragen nicht abgelehnt werden. Bitte \xFCberpr\xFCfe deine Internetverbindung und kontaktiere das " + Y.c.projectReferenceName + "-Team, wenn das Problem weiter besteht.";get MultiDayAcceptDeclineOption(){return ne}loading=!1;error=!1;multidayRequest;totalPrice="...";ngOnInit(){this.loadMultiDayRequest()}loadMultiDayRequest(){this.data.multiDayRequestId?(this.loading=!0,this.travelService.getMultidayRequest(this.data.multiDayRequestId).subscribe(t=>{this.loading=!1,this.multidayRequest=t,this.totalPrice=`${(t.associatedRequests.length*this.data.receivedRequest.matchingDetails.price.total.amount/100).toFixed(2)} ${this.data.receivedRequest.matchingDetails.price.total.getFormattedCurrency()}`})):this.dialogRef.close(!1)}acceptDeclineAllButtonClicked(){this.loading=!0,this.data.multiDayAcceptDeclineOption==ne.ACCEPT?this.travelService.acceptMultidayRequest(this.data.multiDayRequestId).subscribe(t=>{this.loading=!1,this.confettiService.showConfetti(),null!=t?this.dialogRef.close(!0):this.error=!0},t=>{this.loading=!1,this.error=!0}):this.data.multiDayAcceptDeclineOption==ne.DECLINE&&this.travelService.declineMultidayRequest(this.data.multiDayRequestId).subscribe(t=>{this.loading=!1,null!=t?this.dialogRef.close(!0):this.error=!0},t=>{this.loading=!1,this.error=!0})}acceptDeclineOneButtonClicked(){this.loading=!0,this.data.multiDayAcceptDeclineOption==ne.ACCEPT?this.travelService.acceptRequestForOffer(this.data.offer,this.data.receivedRequest.request).subscribe(t=>{this.loading=!1,this.confettiService.showConfetti(),null!=t?this.dialogRef.close(!1):this.error=!0},t=>{this.loading=!1,this.error=!0}):this.data.multiDayAcceptDeclineOption==ne.DECLINE&&this.travelService.declineRequestForOffer(this.data.offer,this.data.receivedRequest.request).subscribe(t=>{this.loading=!1,null!=t?this.dialogRef.close(!1):this.error=!0},t=>{this.loading=!1,this.error=!0})}closeDialog(){this.dialogRef.close(!1)}static \u0275fac=function(_){return new(_||i)(e.rXU(g.m),e.rXU(g.e),e.rXU(ie.y),e.rXU(Q.o))};static \u0275cmp=e.VBU({type:i,selectors:[["app-multi-day-accept-decline"]],standalone:!1,decls:36,vars:13,consts:()=>{let t,_,f,p,U,k,X,q,K,Z;return t="Anfrage f\xFCr mehrere Tage",_="Abbrechen",f=" hat dir Anfragen f\xFCr mehrere Tage gesendet, die du hier gleichzeitig best\xE4tigen kannst.",p=" hat dir Anfragen f\xFCr mehrere Tage gesendet, die du hier gleichzeitig ablehnen kannst.",U="Alle akzeptieren",k="Alle ablehnen",X="Du kannst ebenfalls die einzelne Fahrt annehmen am ",q="Du kannst ebenfalls die einzelne Fahrt ablehnen am ",K="Einzeln akzeptieren",Z="Einzeln ablehnen",[t,_,f,p,U,k,X,q,K,Z,["fxFlex","grow"],["mat-icon-button","",3,"click"],["fontSet","untitled-ui","fontIcon","untitled-x-circle"],["fxLayout","column","fxLayoutGap","16px"],[1,"error-message"],[3,"mode"],["dense",""],["fxLayout","row","fxFill","","fxLayoutAlign","space-between center"],["fxFlex","none","mat-flat-button","","color","primary",3,"click","disabled"],["fxLayoutAlign","center center"],["fxLayout","row","fxLayoutAlign","end center"],["mat-stroked-button","","color","secondary",3,"click"]]},template:function(_,f){1&_&&(e.j41(0,"mat-toolbar")(1,"span"),e.pXf(2,0),e.k0s(),e.nrm(3,"span",10),e.j41(4,"button",11),e.bIt("click",function(){return f.closeDialog()}),e.nrm(5,"mat-icon",12),e.k0s()(),e.j41(6,"mat-dialog-content",13),e.DNE(7,le,3,2,"p",14)(8,He,1,1,"mat-progress-bar",15),e.j41(9,"p")(10,"span"),e.EFF(11),e.k0s(),e.DNE(12,Qe,2,0,"span")(13,Je,2,0,"span"),e.k0s(),e.DNE(14,et,11,4,"mat-list",16),e.nrm(15,"mat-divider"),e.j41(16,"p"),e.DNE(17,tt,2,0,"span")(18,nt,2,0,"span"),e.j41(19,"span"),e.EFF(20),e.k0s(),e.j41(21,"span"),e.EFF(22,"."),e.k0s()(),e.j41(23,"mat-list")(24,"mat-list-item")(25,"div",17)(26,"button",18),e.bIt("click",function(){return f.acceptDeclineOneButtonClicked()}),e.DNE(27,ot,2,0,"span")(28,it,2,0,"span"),e.k0s(),e.j41(29,"div",19),e.EFF(30),e.k0s()()()(),e.nrm(31,"mat-divider"),e.k0s(),e.j41(32,"mat-dialog-actions",20)(33,"button",21),e.bIt("click",function(){return f.closeDialog()}),e.j41(34,"span"),e.pXf(35,1),e.k0s()()()),2&_&&(e.R7$(7),e.vxM(f.error?7:-1),e.R7$(),e.vxM(f.loading?8:-1),e.R7$(3),e.JRh(f.data.receivedRequest.request.owner.username),e.R7$(),e.vxM(f.data.multiDayAcceptDeclineOption==f.MultiD
1ayAcceptDeclineOption.ACCEPT?12:-1),e.R7$(),e.vxM(f.data.multiDayAcceptDeclineOption==f.MultiDayAcceptDeclineOption.DECLINE?13:-1),e.R7$(),e.vxM(f.multidayRequest?14:-1),e.R7$(3),e.vxM(f.data.multiDayAcceptDeclineOption==f.MultiDayAcceptDeclineOption.ACCEPT?17:-1),e.R7$(),e.vxM(f.data.multiDayAcceptDeclineOption==f.MultiDayAcceptDeclineOption.DECLINE?18:-1),e.R7$(2),e.JRh(f.data.receivedRequest.request.getFormattedTravelDate()),e.R7$(6),e.Y8G("disabled",f.loading),e.R7$(),e.vxM(f.data.multiDayAcceptDeclineOption==f.MultiDayAcceptDeclineOption.ACCEPT?27:-1),e.R7$(),e.vxM(f.data.multiDayAcceptDeclineOption==f.MultiDayAcceptDeclineOption.DECLINE?28:-1),e.R7$(2),e.SpI(" ",f.data.receivedRequest.matchingDetails.price.total.formatted," "))},dependencies:[B.DJ,B.BO,B.sA,B.G2,B.UI,C.An,S.q,o.$z,ee.M,O.KQ,g.M,g.c,F.jt,F.YE,j.HM],styles:[".mat-mdc-dialog-actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:10px}.mat-card[_ngcontent-%COMP%]{margin:5px;padding:10px}"]})}return i})();var at=n(67185),lt=n(61565),ue=n(68314),st=n(345);const ct=["qrcElement"];let me=(()=>{class i{constructor(t,_){this.renderer=t,this.sanitizer=_,this.allowEmptyString=!1,this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.qrdata="",this.scale=4,this.width=10,this.qrCodeURL=new e.bkB,this.context=null}ngOnChanges(){var t=this;return(0,T.A)(function*(){yield t.createQRCode()})()}isValidQrCodeText(t){return!1===this.allowEmptyString?!(typeof t>"u"||""===t||"null"===t||null===t):!(typeof t>"u")}toDataURL(t){return new Promise((_,f)=>{(0,ue.dY)(this.qrdata,t,(p,U)=>{p?f(p):_(U)})})}toCanvas(t,_){return new Promise((f,p)=>{(0,ue.mo)(t,this.qrdata,_,U=>{U?p(U):f("success")})})}toSVG(t){return new Promise((_,f)=>{(0,ue.toString)(this.qrdata,t,(p,U)=>{p?f(p):_(U)})})}renderElement(t){for(const _ of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,_);this.renderer.appendChild(this.qrcElement.nativeElement,t)}createQRCode(){var t=this;return(0,T.A)(function*(){t.version&&t.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),t.version=40):t.version&&t.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),t.version=1):void 0!==t.version&&isNaN(t.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),t.version=void 0);try{if(!t.isValidQrCodeText(t.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");t.isValidQrCodeText(t.qrdata)&&""===t.qrdata&&(t.qrdata=" ");const _={color:{dark:t.colorDark,light:t.colorLight},errorCorrectionLevel:t.errorCorrectionLevel,margin:t.margin,scale:t.scale,version:t.version,width:t.width},f=t.imageSrc,p=t.imageHeight||40,U=t.imageWidth||40;switch(t.elementType){case"canvas":{const k=t.renderer.createElement("canvas");t.context=k.getContext("2d"),t.toCanvas(k,_).then(()=>{if(t.ariaLabel&&t.renderer.setAttribute(k,"aria-label",`${t.ariaLabel}`),t.title&&t.renderer.setAttribute(k,"title",`${t.title}`),f&&t.context){t.centerImage=new Image(U,p),f!==t.centerImage.src&&(t.centerImage.crossOrigin="anonymous",t.centerImage.src=f),p!==t.centerImage.height&&(t.centerImage.height=p),U!==t.centerImage.width&&(t.centerImage.width=U);const X=t.centerImage;X&&(X.onload=()=>{t.context?.drawImage(X,k.width/2-U/2,k.height/2-p/2,U,p)})}t.renderElement(k),t.emitQRCodeURL(k)}).catch(X=>{console.error("[angularx-qrcode] canvas error:",X)});break}case"svg":{const k=t.renderer.createElement("div");t.toSVG(_).then(X=>{t.renderer.setProperty(k,"innerHTML",X);const q=k.firstChild;t.renderer.setAttribute(q,"height",`${t.width}`),t.renderer.setAttribute(q,"width",`${t.width}`),t.renderElement(q),t.emitQRCodeURL(q)}).catch(X=>{console.error("[angularx-qrcode] svg error:",X)});break}default:{const k=t.renderer.createElement("img");t.toDataURL(_).then(X=>{t.alt&&k.setAttribute("alt",t.alt),t.ariaLabel&&k.setAttribute("aria-label",t.ariaLabel),k.setAttribute("src",X),t.title&&k.setAttribute("title",t.title),t.renderElement(k),t.emitQRCodeURL(k)}).catch(X=>{console.error("[angularx-qrcode] img/url error:",X)})}}}catch(_){console.error("[angularx-qrcode] Error generating QR Code:",_.message)}})()}convertBase64ImageUrlToBlob(t){const _=t.split(";base64,"),f=_[0].split(":")[1],p=atob(_[1]),U=new Uint8Array(p.length);for(let k=0;k<p.length;
1++k)U[k]=p.charCodeAt(k);return new Blob([U],{type:f})}emitQRCodeURL(t){const _=t.constructor.name;if(_===SVGSVGElement.name){const q=new Blob([t.outerHTML],{type:"image/svg+xml"}),K=URL.createObjectURL(q),Z=this.sanitizer.bypassSecurityTrustUrl(K);return void this.qrCodeURL.emit(Z)}let f="";_===HTMLCanvasElement.name&&(f=t.toDataURL("image/png")),_===HTMLImageElement.name&&(f=t.src);const p=this.convertBase64ImageUrlToBlob(f),U=URL.createObjectURL(p),k=this.sanitizer.bypassSecurityTrustUrl(U);this.qrCodeURL.emit(k)}static{this.\u0275fac=function(_){return new(_||i)(e.rXU(e.sFG),e.rXU(st.up))}}static{this.\u0275cmp=e.VBU({type:i,selectors:[["qrcode"]],viewQuery:function(_,f){if(1&_&&e.GBs(ct,7),2&_){let p;e.mGM(p=e.lsd())&&(f.qrcElement=p.first)}},inputs:{allowEmptyString:"allowEmptyString",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",imageSrc:"imageSrc",imageHeight:"imageHeight",imageWidth:"imageWidth",margin:"margin",qrdata:"qrdata",scale:"scale",version:"version",width:"width",alt:"alt",ariaLabel:"ariaLabel",title:"title"},outputs:{qrCodeURL:"qrCodeURL"},features:[e.OA$],decls:2,vars:2,consts:[["qrcElement",""]],template:function(_,f){1&_&&e.nrm(0,"div",null,0),2&_&&e.HbH(f.cssClass)},encapsulation:2,changeDetection:0})}}return i})(),_t=(()=>{class i{data;dialogRef;constructor(t,_){this.data=t,this.dialogRef=_}closeDialog(){this.dialogRef.close()}static \u0275fac=function(_){return new(_||i)(e.rXU(g.e),e.rXU(g.m))};static \u0275cmp=e.VBU({type:i,selectors:[["app-offer-qr-code"]],standalone:!1,decls:10,vars:5,consts:()=>{let t;return t="Scanne diesen QR-Code",[t,["fxFlex","100","fxLayout","row wrap","fxLayoutAlign","center","id","qr-code-wrapper"],[1,"fill-remaining-space"],["mat-icon-button","",3,"click"],["fontSet","untitled-ui","fontIcon","untitled-x-circle"],[3,"qrdata","width","errorCorrectionLevel"]]},template:function(_,f){1&_&&(e.j41(0,"div",1)(1,"mat-toolbar")(2,"span"),e.pXf(3,0),e.k0s(),e.nrm(4,"span",2),e.j41(5,"button",3),e.bIt("click",function(){return f.closeDialog()}),e.nrm(6,"mat-icon",4),e.k0s()(),e.nrm(7,"qrcode",5),e.j41(8,"span"),e.EFF(9),e.k0s()()),2&_&&(e.R7$(3),e.uP7(f.data.title),e.nnv(3),e.R7$(4),e.Y8G("qrdata",f.data.rideValidationCode)("width",300)("errorCorrectionLevel","M"),e.R7$(2),e.JRh(f.data.text))},dependencies:[B.DJ,B.sA,B.UI,C.An,ee.M,O.KQ,me],styles:["#qr-code-wrapper[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%], #qr-code-wrapper[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-align:center}"]})}return i})();var dt=n(562),ft=n(96508),Ee=n(54843),ut=n(61594),Et=n(46325),Ce=n(70643),he=n(25207),gt=n(96048),pt=n(60038),mt=n(77134),Ct=n(63102),ht=n(26923),Rt=n(83801),Tt=n(15135),At=n(63515),St=n(13600),Dt=n(74641),Ot=n(29555),Mt=n(84253),Ft=n(15520),Lt=n(54193),It=n(82241),Pt=n(16767),vt=n(89505);function Nt(i,R){1&i&&e.nrm(0,"mat-spinner",54),2&i&&e.Y8G("diameter",20)}function yt(i,R){if(1&i){const t=e.RV6();e.j41(0,"button",53),e.bIt("click",function(){e.eBV(t);const f=e.XpG(2);return e.Njj(f.startGroupChat())}),e.DNE(1,Nt,1,1,"mat-spinner",54),e.j41(2,"span"),e.pXf(3,2),e.k0s()()}if(2&i){const t=e.XpG(2);e.Y8G("disabled",t.loadingConversation),e.R7$(),e.vxM(t.loadingConversation?1:-1)}}function $t(i,R){if(1&i&&e.nrm(0,"app-price-info-item",63),2&i){const t=e.XpG(),_=t.$implicit,f=t.$index,p=e.XpG(2);e.Y8G("ownTravelType",p.offer.travelType)("institutionPriceSettings",p.user.institution.priceSettings)("allowance",p.shouldShowAllowanceToReceivedRequest(p.offer,f)?p.allowance:void 0)("matchingDetails",_.matchingDetails)("enabledDigital",_.request.owner.payment.enabledDigital)("transfer",_.transfer)}}function Gt(i,R){if(1&i&&(e.j41(0,"div",64)(1,"h6",65),e.pXf(2,5),e.k0s(),e.j41(3,"span",66),e.nrm(4,"mat-icon",69),e.EFF(5),e.k0s()()),2&i){const t=e.XpG().$implicit;e.R7$(5),e.SpI(" ",t.getOfferDepartureTravelTimeHoursAndMinutes()," ")}}function xt(i,R){if(1&i&&(e.j41(0,"div",64)(1,"h6",65),e.pXf(2,6),e.k0s(),e.j41(3,"span",66),e.nrm(4,"mat-icon",69),e.EFF(5),e.k0s()()),2&i){const t=e.XpG().$implicit;e.R7$(5),e.SpI(" ",t.getOfferArrivalTravelTimeHoursAndMinutes()," ")}}function wt(i,R){1&i&&(e.j41(0,"mat-icon"),e.nrm(1,"mat-spinner",71),e.k0s()),2&i&&(e.R7$(),e.Y8G("diameter",20))}function bt(i,R){if(1&i){const t=e.RV6();e.j41(0,"div",68)(1,"button",70),e.bIt("click",function(){e.eBV(t);const f=e.XpG().$implicit,p=e.XpG(2);return e.Njj(p.openChatWithUserClicked(f.request.owner._id))}),e.DNE(2,wt,2,1,"mat-icon"),e.j41(3,"span"),e.pXf(4,7),e.k0s()()()}if(2&i){const t=e.XpG(3);e.R7$(),e.Y8G("disabled",t.loadingConversation),e.R7$(),e.vxM(t.loadingConversation?2:-1)}}function Ut(i,R){1&i&&(e.j41(0,"mat-icon"),e.nrm(1,"mat-spinner",71),e.k0s()),2&i&&(e.R7$(),e.Y8G("diameter",20))}function kt(i,R){if(1&i){const t=e.RV6();e.j41(0,"div",68)(1,"button",72),e.bIt("click",function(){e.eBV(t);const f=e.XpG().$implicit,p=e.XpG(2);return e.Njj(p.acceptRequestClicked(f))}),e.DNE(2,Ut,2,1,"mat-icon"),e.j41(3,"span"),e.pXf(4,8),e.k0s()()()}if(2&i){const t=e.XpG(3);e.R7$(),e.Y8G("disabled",t.acceptDeclineCancelInProgress),e.R7$(),e.vxM(t.acceptDeclineCancelInProgress?2:-1)}}function Xt(i,R){1&i&&(e.j41(0,"mat-icon"),e.nrm(1,"mat-spinner",71),e.k0s()),2&i&&(e.R7$(),e.Y8G("diameter",20))}function jt(i,R){if(1&i){const t=e.RV6();e.j41(0,"div",68)(1,"button",73),e.bIt("click",function(){e.eBV(t);const f=e.XpG().$implicit,p=e.XpG(2);return e.Njj(p.declineRequestClicked(f))}),e.DNE(2,Xt,2,1,"mat-icon"),e.j41(3,"span"),e.pXf(4,9),e.k0s()()()}if(2&i){const t=e.XpG(3);e.R7$(),e.Y8G("disabled",t.acceptDeclineCancelInProgress),e.R7$(),e.vxM(t.acceptDeclineCancelInProgress?2:-1)}}function Vt(i,R){1&i&&(e.j41(0,"mat-icon"),e.nrm(1,"mat-spinner",71),e.k0s()),2&i&&(e.R7$(),e.Y8G("diameter",20))}function Bt(i,R){if(1&i){const t=e.RV6();e.j41(0,"div",68)(1,"button",70),e.bIt("click",function(){e.eBV(t);const f=e.XpG().$implicit,p=e.XpG(2);return e.Njj(p.openChatWithUserClicked(f.request.owner._id))}),e.DNE(2,Vt,2,1,"mat-icon"),e.j41(3,"span"),e.pXf(4,10),e.k0s()()()}if(2&i){const t=e.XpG(3);e.R7$(),e.Y8G("disabled",t.loadingConversation),e.R7$(),e.vxM(t.loadingConversation?2:-1)}}function zt(i,R){if(1&i&&(e.j41(0,"a",74),e.nI1(1,"telHref"),e.j41(2,"button",75)(3,"span"),e.pXf(4,11),e.k0s()()()),2&i){const t=e.XpG(2).$implicit;e.FS9("href",e.bMT(1,1,t.request.owner.phoneNumber),e.B4B)}}function Yt(i,R){if(1&i&&(e.j41(0,"div",68),e.DNE(1,zt,5,3,"a",74),e.k0s()),2&i){const t=e.XpG().$implicit;e.R7$(),e.vxM(t.request.owner.phoneNumber?1:-1)}}function qt(i,R){if(1&i){const t=e.RV6();e.j41(0,"div",68)(1,"button",76),e.bIt("click",function(){e.eBV(t);const f=e.XpG().$implicit,p=e.XpG(2);return e.Njj(p.cancelRideClicked(f.request))}),e.j41(2,"span"),e.pXf(3,12),e.k0s()()()}}function Ht(i,R){if(1&i){const t=e.RV6();e.j41(0,"div"),e.nrm(1,"mat-divider"),e.j41(2,"mat-list-item",55),e.bIt("click",function(){const f=e.eBV(t).$implicit,p=e.XpG(2);return e.Njj(p.onTravelSelected(f.request))}),e.j41(3,"div",56)(4,"div",57),e.nrm(5,"img",58),e.j41(6,"div",59)(7,"h6",60),e.EFF(8),e.k0s(),e.j41(9,"span",61),e.nrm(10,"mat-icon",62),e.j41(11,"span"),e.EFF(12),e.k0s()()()(),e.DNE(13,$t,1,6,"app-price-info-item",63)(14,Gt,6,1,"div",64),e.j41(15,"div",64)(16,"h6",65)(17,"span"),e.pXf(18,3),e.k0s(),e.j41(19,"span"),e.EFF(20),e.k0s()(),e.j41(21,"span",66),e.nrm(22,"mat-icon",67),e.j41(23,"span"),e.EFF(24),e.k0s()()(),e.j41(25,"div",64)(26,"h6",65)(27,"span"),e.pXf(28,4),e.k0s(),e.j41(29,"span"),e.EFF(30),e.k0s()(),e.j41(31,"span",66),e.nrm(32,"mat-icon",67),e.j41(33,"span"),e.EFF(34),e.k0s()()(),e.DNE(35,xt,6,1,"div",64)(36,bt,5,2,"div",68)(37,kt,5,2,"div",68)(38,jt,5,2,"div",68)(39,Bt,5,2,"div",68)(40,Yt,2,1,"div",68)(41,qt,4,0,"div",68),e.k0s()()()}if(2&i){const t=R.$implicit,_=e.XpG(2);e.R7$(5),e.FS9("appOpenProfilePopup",t.request.owner._id),e.FS9("src",t.request.owner.avatar,e.B4B),e.FS9("alt",t.request.owner.username),e.R7$(2),e.FS9("appOpenProfilePopup",t.request.owner._id),e.R7$(),e.SpI(" ",t.request.owner.username," "),e.R7$(),e.Y8G("ngClass",t.tagStylingClassNameForMatchingStatus),e.R7$(),e.Y8G("fontIcon",t.matIconReferenceForMatchingStatus),e.R7$(2),e.SpI(" ",t.localizedMatchingStatus," "),e.R7$(),e.vxM(_.user?13:-1),e.R7$(),e.vxM(_.offer.origin._id!==t.passengerPickU
1pAddress._id?14:-1),e.R7$(6),e.SpI(": ",t.getPassengerPickUpTimeHoursAndMinutes(),""),e.R7$(4),e.SpI("",t.passengerPickUpAddress.formattedAddress," "),e.R7$(6),e.SpI(": ",t.getPassengerDropOffTimeHoursAndMinutes(),""),e.R7$(4),e.SpI("",t.passengerDropOffAddress.formattedAddress," "),e.R7$(),e.vxM(_.offer.destination._id!==t.passengerDropOffAddress._id?35:-1),e.R7$(),e.vxM(t.status===_.matchingStatus.REQUESTED||t.status===_.matchingStatus.DECLINED||t.status===_.matchingStatus.CANCELED?36:-1),e.R7$(),e.vxM(t.status==_.matchingStatus.REQUESTED?37:-1),e.R7$(),e.vxM(t.status==_.matchingStatus.REQUESTED?38:-1),e.R7$(),e.vxM(t.status==_.matchingStatus.CONFIRMED?39:-1),e.R7$(),e.vxM(t.status==_.matchingStatus.CONFIRMED?40:-1),e.R7$(),e.vxM(t.status==_.matchingStatus.CONFIRMED?41:-1)}}function Qt(i,R){if(1&i&&(e.j41(0,"div",43)(1,"mat-card",48)(2,"mat-card-header")(3,"mat-card-title"),e.pXf(4,1),e.k0s(),e.nrm(5,"span",49),e.DNE(6,yt,4,2,"button",50),e.k0s(),e.j41(7,"mat-card-content",51)(8,"mat-list",52),e.Z7z(9,Ht,42,21,"div",null,e.fX1),e.k0s()()()()),2&i){const t=e.XpG();e.R7$(6),e.vxM(t.offer.groupChatAvailable?6:-1),e.R7$(3),e.Dyx(t.offer.requests)}}function Jt(i,R){if(1&i&&(e.j41(0,"mat-list-item"),e.nrm(1,"mat-icon",96),e.j41(2,"h4",65),e.EFF(3),e.k0s(),e.j41(4,"p",66),e.EFF(5),e.k0s()()),2&i){const t=R.$implicit;e.AVh("opacity-70","CONFIRMED"!==t.matchingStatus),e.R7$(3),e.SpI(" ",t.title," "),e.R7$(2),e.SpI(" ",t.text," ")}}function Wt(i,R){if(1&i&&e.nrm(0,"app-parking-option",88),2&i){const t=e.XpG(2);e.Y8G("travel",t.offer)}}function Kt(i,R){1&i&&(e.j41(0,"p",66),e.pXf(1,21),e.k0s())}function Zt(i,R){1&i&&(e.j41(0,"p",66),e.pXf(1,22),e.k0s())}function en(i,R){1&i&&(e.j41(0,"p",66),e.pXf(1,23),e.k0s())}function tn(i,R){1&i&&e.nrm(0,"mat-icon",101)}function nn(i,R){if(1&i){const t=e.RV6();e.j41(0,"div",99)(1,"button",102),e.bIt("click",function(){e.eBV(t);const f=e.XpG(4);return e.Njj(f.openValidationDialog())}),e.j41(2,"span"),e.EFF(3,"QR Code"),e.k0s()()()}}function on(i,R){if(1&i){const t=e.RV6();e.qex(0,98),e.j41(1,"div",99)(2,"button",100),e.bIt("click",function(){e.eBV(t);const f=e.XpG(3);return e.Njj(f.openWithinTimeframeDialog())}),e.DNE(3,tn,1,0,"mat-icon",101),e.k0s()(),e.DNE(4,nn,4,0,"div",99),e.bVm()}if(2&i){const t=e.XpG(3);e.R7$(3),e.vxM(t.offer.withinValidationTimeFrame?-1:3),e.R7$(),e.vxM(t.offer.withinValidationTimeFrame?4:-1)}}function rn(i,R){if(1&i&&(e.j41(0,"mat-list-item"),e.nrm(1,"mat-icon",97),e.j41(2,"h4",65)(3,"span"),e.pXf(4,20),e.k0s()(),e.DNE(5,Kt,2,0,"p",66)(6,Zt,2,0,"p",66)(7,en,2,0,"p",66)(8,on,5,2,"ng-container",98),e.k0s()),2&i){const t=e.XpG(2);e.R7$(5),e.vxM(t.offer.offerValidated?-1:5),e.R7$(),e.vxM(!t.offer.offerValidated&&t.offer.withinValidationTimeFrame?6:-1),e.R7$(),e.vxM(t.offer.offerValidated?7:-1),e.R7$(),e.vxM(t.offer.offerValidated?-1:8)}}function an(i,R){1&i&&e.nrm(0,"mat-icon",103)}function ln(i,R){1&i&&e.nrm(0,"mat-icon",104)}function sn(i,R){1&i&&(e.j41(0,"span")(1,"span"),e.pXf(2,26),e.k0s()())}function cn(i,R){1&i&&(e.j41(0,"span"),e.pXf(1,27),e.k0s())}function _n(i,R){if(1&i&&(e.j41(0,"mat-list-item"),e.DNE(1,an,1,0,"mat-icon",103)(2,ln,1,0,"mat-icon",104),e.j41(3,"h4",65),e.pXf(4,24),e.k0s(),e.j41(5,"p",66),e.DNE(6,sn,3,0,"span")(7,cn,2,0,"span"),e.k0s(),e.j41(8,"div",105)(9,"button",106)(10,"span"),e.pXf(11,25),e.k0s()()()()),2&i){const t=e.XpG(2);e.R7$(),e.vxM(t.user&&t.user.payment.enabledDigital?1:2),e.R7$(5),e.vxM(t.user&&t.user.payment.enabledDigital?6:7),e.R7$(3),e.Y8G("routerLink","/user/payment")}}function dn(i,R){if(1&i&&(e.j41(0,"mat-list-item"),e.nrm(1,"mat-icon",107),e.j41(2,"h4",65)(3,"span"),e.pXf(4,28),e.k0s()(),e.j41(5,"p",66)(6,"span"),e.pXf(7,29),e.k0s(),e.j41(8,"span"),e.EFF(9),e.k0s(),e.EFF(10," ("),e.j41(11,"span"),e.pXf(12,30),e.k0s(),e.j41(13,"span"),e.EFF(14),e.k0s()()()),2&i){const t=e.XpG(2);e.R7$(9),e.SpI(": ",t.offer.tripStatistics.kilometerSaved,"km "),e.R7$(5),e.SpI(": ",t.offer.tripStatistics.savedCO2,"kg ) ")}}function fn(i,R){1&i&&(e.j41(0,"span"),e.pXf(1,31),e.k0s())}function un(i,R){1&i&&(e.qex(0),e.pXf(1,32),e.bVm())}function En(i,R){if(1&i){const t=e.RV6();e.j41(0,"button",108),e.bIt("click",function(){e.eBV(t);const f=e.XpG(2);return e.Njj(f.deleteOfferClicked())}),e.j41(1,"span"),e.pXf(2,33),e.k0s()()}}function gn(i,R){if(1&i){const t=e.RV6();e.j41(0,"div",45)(1,"mat-card",77)(2,"div",78)(3,"mat-card-header",79)(4,"mat-card-title",80)(5,"div",81),e.pXf(6,13),e.k0s()(),e.j41(7,"div",81)(8,"span",82),e.nrm(9,"mat-icon",62),e.j41(10,"span"),e.EFF(11),e.k0s()()()(),e.j41(12,"mat-card-content")(13,"mat-list",83),e.nrm(14,"mat-divider",84),e.j41(15,"mat-list-item"),e.nrm(16,"mat-icon",85),e.j41(17,"h4",65),e.pXf(18,14),e.k0s(),e.j41(19,"p",66),e.EFF(20),e.k0s()(),e.j41(21,"mat-list-item"),e.nrm(22,"mat-icon",86),e.j41(23,"h4",65)(24,"span"),e.pXf(25,15),e.k0s(),e.EFF(26,": "),e.j41(27,"span"),e.EFF(28),e.k0s()(),e.j41(29,"p",66),e.EFF(30),e.k0s()(),e.Z7z(31,Jt,6,4,"mat-list-item",87,e.fX1),e.j41(33,"mat-list-item"),e.nrm(34,"mat-icon",86),e.j41(35,"h4",65)(36,"span"),e.pXf(37,16),e.k0s(),e.EFF(38,": "),e.j41(39,"span"),e.EFF(40),e.k0s()(),e.j41(41,"p",66),e.EFF(42),e.k0s()(),e.DNE(43,Wt,1,1,"app-parking-option",88)(44,rn,9,4,"mat-list-item"),e.nrm(45,"mat-divider",84),e.j41(46,"mat-list-item"),e.nrm(47,"mat-icon",86),e.j41(48,"h4",65),e.pXf(49,17),e.k0s(),e.j41(50,"p",66),e.EFF(51),e.k0s()(),e.DNE(52,_n,12,3,"mat-list-item"),e.j41(53,"mat-list-item"),e.nrm(54,"mat-icon",86),e.j41(55,"h4",65),e.pXf(56,18),e.k0s(),e.j41(57,"p",66),e.EFF(58),e.k0s()(),e.DNE(59,dn,15,2,"mat-list-item"),e.nrm(60,"app-recurring-info",89)(61,"mat-divider",84),e.k0s(),e.j41(62,"div",90)(63,"button",91),e.bIt("click",function(){e.eBV(t);const f=e.XpG();return e.Njj(f.onShareOfferClicked())}),e.j41(64,"span"),e.pXf(65,19),e.k0s()(),e.j41(66,"button",92),e.bIt("click",function(){e.eBV(t);const f=e.XpG();return e.Njj(f.editOfferClicked())}),e.DNE(67,fn,2,0,"span")(68,un,2,0,"ng-container"),e.k0s(),e.DNE(69,En,3,0,"button",93),e.k0s()()(),e.j41(70,"div",94),e.nrm(71,"app-map-view",95),e.k0s()()()}if(2&i){const t=e.XpG();e.R7$(8),e.Y8G("ngClass",t.offer.getTagStylingClassNameForMatchingStatus()),e.R7$(),e.Y8G("fontIcon",t.offer.getMatIconReferenceForMatchingStatus()),e.R7$(2),e.JRh(t.offer.getLocalizedMatchingStatus()),e.R7$(3),e.Y8G("inset",!0),e.R7$(6),e.SpI(" ",t.offer.getFormattedTravelDate()," "),e.R7$(2),e.Y8G("fontIcon",t.offer.origin.getMaterialIconName()),e.R7$(6),e.JRh(t.offer.getFormattedDepartureTime()),e.R7$(2),e.SpI(" ",t.offer.origin.formattedAddress," "),e.R7$(),e.Dyx(t.offer.routeInformation),e.R7$(3),e.Y8G("fontIcon",t.offer.destination.getMaterialIconName()),e.R7$(6),e.JRh(t.offer.getFormattedArrivalTime()),e.R7$(2),e.SpI(" ",t.offer.destination.formattedAddress," "),e.R7$(),e.vxM(t.user&&t.user.institution.parkingIntegration?43:-1),e.R7$(),e.vxM(t.displayRideValidation()?44:-1),e.R7$(),e.Y8G("inset",!0),e.R7$(2),e.Y8G("fontIcon",t.offer.getMatIconReferenceForRouteType()),e.R7$(4),e.SpI(" ",t.offer.getLocalizedRouteType()," "),e.R7$(),e.vxM(t.user&&!t.user.offerRidesForFree?52:-1),e.R7$(2),e.Y8G("fontIcon",t.offer.car.getIconId()),e.R7$(4),e.SpI(" ",t.offer.car.formattedCarName," "),e.R7$(),e.vxM(t.offer.overallMatchingStatus==t.matchingStatus.CONFIRMED&&t.offer.tripStatistics?59:-1),e.R7$(),e.Y8G("weekdays",t.offer.weekdays),e.R7$(),e.Y8G("inset",!0),e.R7$(6),e.vxM(t.offer.overallMatchingStatus==t.matchingStatus.CONFIRMED?67:68),e.R7$(2),e.vxM(t.offer.overallMatchingStatus==t.matchingStatus.NONE?69:-1),e.R7$(2),e.Y8G("center",t.offer.destination.latLngLiteral)("travel",t.offer)("user",t.user)("potentialDrivers",t.potentialOtherOffers)("selectedPotentialDriver",t.selectedTravel)}}function pn(i,R){1&i&&e.nrm(0,"mat-progress-bar",110),2&i&&e.Y8G("mode","indeterminate")}function mn(i,R){1&i&&(e.j41(0,"p")(1,"span"),e.pXf(2,35),e.k0s()())}function Cn(i,R){1&i&&(e.j41(0,"div",111)(1,"div",113),e.nrm(2,"app-svg",114),e.k0s(),e.j41(3,"div",115)(4,"h6"),e.pXf(5,36),e.k0s(),e.j41(6,"p"),e.pXf(7,37),e.k0s()()())}function hn(i,R){if(1&i){const t=e.RV6();e.j41(0,"div",46)(1,"mat-card",48)(2,"mat-card-header")(3,"mat-card-title")(4,"span"),e.pXf(5,34),e.k0s(),e.j41(6,"mat-icon",109),e.bIt("click",function(){e.eBV(t);const f=e.XpG();return e.Njj(f.showMatchingInformationDialog())}),e.k0s()()(),e.j41(7,"mat-card-content",51),e.DNE(8,pn,1,1,"mat-progress-bar",110)(9,mn,3,0,"p")(10,Cn,8,0,"div",111),e.j41(11,"app-potential-driver-list",112),e.bIt("onOfferSelected",function(f){e.eBV(t);const p=e.XpG();return e.Njj(p.onTravelSelected(f))}),e.k0s()()()()}if(2&i){const t=e.XpG();e.R7$(8),e.vxM(t.searchActive?8:-1),e.R7$(),e.vxM(t.potentialOtherOffers&&t.potentialOtherOffers.length>0?9:-1),e.R7$(),e.vxM(!t.searchActive&&t.potentialOtherOffers&&t.potentialOtherOffers.length<1?10:-1),e.R7$(),e.Y8G("user",t.user)("passengerTravel",t.offer)("requestSource",t.requestSource.MY_OFFER)("allowance",t.allowance)("searchResults",t.potentialOtherOffers)}}function Rn(i,R){if(1&i&&e.nrm(0,"app-public-transport-options",47),2&i){const t=e.XpG();e.Y8G("travel",t.offer)("numberOfSearchResults",null==t.potentialOtherOffers?null:t.potentialOtherOffers.length)}}let ge=(()=>{class i{route;router;location;travelService;userService;chatService;dialog;feedbackDialogService;confettiService;socketService;clipboard;constructor(t,_,f,p,U,k,X,q,K,Z,H){this.route=t,this.router=_,this.location=f,this.travelService=p,this.userService=U,this.chatService=k,this.dialog=X,this.feedbackDialogService=q,this.confettiService=K,this.socketService=Z,this.clipboard=H,this.subscribeNotificationUpdatesAndReload()}offer;allowance;user;loadingConversation=!1;searchActive=!1;acceptDeclineCancelInProgress=!1;potentialOtherOffers=null;selectedTravel;matchingStatus=D.W;addressType=M.R;routeType=at.Y;travelType=h.J;requestSource=Et.F;LanguageService=lt.g;ngOnInit(){var t=this;return(0,T.A)(function*(){t.user=yield(0,Ee._)(t.userService.user$.pipe((0,ut.$)(_=>null!==_)));try{yield t.retrieveOfferAndSetupView()}catch(_){console.log(_),t.showLoadingError(_.message)}})()}retrieveOfferAndSetupView(){var t=this;return(0,T.A)(function*(){if(t.route.snapshot.paramMap.get("offerId"))t.offer=yield(0,Ee._)(t.travelService.getOffer(t.route.snapshot.paramMap.get("offerId")));else if(t.route.snapshot.paramMap.get("travelPatternId")&&t.route.snapshot.paramMap.get("travelDate")){let _;_=10==t.route.snapshot.paramMap.get("travelDate").length?t.route.snapshot.paramMap.get("travelDate"):ft(t.route.snapshot.paramMap.get("travelDate")).tz(t.user.institution.timeZone).format("YYYY-MM-DD"),t.offer=yield(0,Ee._)(t.travelService.getTravelPattern(t.route.snapshot.paramMap.get("travelPatternId"),_))}else t.showLoadingError();t.loadAllowance(),t.searchForPotentialOtherDrivers()})()}loadAllowance(){this.travelService.getAllowanceForTravel(this.offer).subscribe(t=>{t&&(this.allowance=t)})}startGroupChat(){this.loadingConversation=!0,this.chatService.showConversationForOffer(this.offer._id
1).subscribe(t=>{this.loadingConversation=!1},t=>{this.showConversationLoadingError()})}openChatWithUserClicked(t){this.loadingConversation=!0,this.chatService.showConversationWithUser(t).subscribe(_=>{this.loadingConversation=!1},_=>{this.showConversationLoadingError()})}onTravelSelected(t){this.selectedTravel=t}searchForPotentialOtherDrivers(){this.offer.overallMatchingStatus==D.W.REQUESTED||this.offer.overallMatchingStatus==D.W.CONFIRMED||(this.searchActive=!0,this.travelService.searchOffersFor(this.offer).subscribe(t=>{this.searchActive=!1,this.potentialOtherOffers=t}))}showMatchingInformationDialog(){this.dialog.open(m.w,{width:"550px",data:{title:"Welche Suchergebnisse werden hier angezeigt?",text:"Hier siehst du eine Liste von Fahrer*nnen, die \xE4hnliche Richtungen und Fahrzeiten wie du haben. Der Umweg darf nicht l\xE4nger sein als die gemeinsam zur\xFCckgelegte Strecke. Bei festen Routen m\xFCssen die Fahrg\xE4ste einen Abstand von max. 3 km zu einem der angegebenen Wegpunkte haben. Weitere Details und Beispiele findest du auf der folgenden Seite:",confirmDialogType:P.p.INFO,linkButton:{url:"/matching-explanation"}}})}showCopyAlert(){this.feedbackDialogService.showSuccessDialog("Der Link wurde in deine Zwischenablage kopiert")}onShareOfferClicked(){let t=location.protocol+"//"+location.host;this.offer.travelType==h.J.OFFER?t+="/public/offer/"+this.offer._id:(t+="/public/travelPattern/offer/"+this.offer.pattern,this.route.snapshot.paramMap.get("travelDate")&&(t+="/travelDate/"+this.route.snapshot.paramMap.get("travelDate"))),this.dialog.open(dt.l,{width:"500px",disableClose:!1,data:{title:"Teile dein Fahrtangebot",text:"Du kannst den Link zu diesem Angebot mit m\xF6glichen Passagieren teilen. Diese k\xF6nnen dein Angebot sehen und direkt anfragen. Link zum Weiterleiten: "+t,confirmText:"Link zu Angebot kopieren",actionCallback:()=>{this.clipboard.copy(t),this.showCopyAlert()}}})}showLoadingError(t){let _="Ben\xF6tigte Informationen konnten nicht geladen werden. Bitte \xFCberpr\xFCfe deine Internetverbindung und kontaktiere das " + Y.c.projectReferenceName + "-Team, wenn das Problem weiter besteht.";t&&(_+=" Error: "+t),this.feedbackDialogService.showErrorDialog(_)}editOfferClicked(){this.travelService.editOfferClicked(this.offer)}deleteOfferClicked(){this.travelService.deleteOfferClicked(this.offer)}acceptRequestClicked(t){this.offer.isInPast?this.showTravelInPastDialog():this.user.informationCompleted?t.multiDayRequest?this.showMultiDayConfirmDeclineDialog(t,t.multiDayRequest,ne.ACCEPT):(this.acceptDeclineCancelInProgress=!0,this.travelService.acceptRequestForOffer(this.offer,t.request).subscribe(_=>{this.acceptDeclineCancelInProgress=!1,this.confettiService.showConfetti(),this.dialog.open(m.w,{width:"350px",data:{title:"Klasse!",text:"Klasse, die Anfrage wurde best\xE4tigt. Habt eine gute Fahrt zusammen.",redirectUrl:this.router.url,confirmDialogType:P.p.SUCCESS}}).afterClosed().subscribe(f=>{this.ngOnInit()})},_=>{this.acceptDeclineCancelInProgress=!1,this.dialog.open(m.w,{width:"350px",data:{title:"Hoppla!",text:"Die Anfrage konnte nicht angenommen werden. Bitte \xFCberpr\xFCfe deine Internetverbindung und kontaktiere das " + Y.c.projectReferenceName + "-Team, wenn das Problem weiter besteht.",redirectUrl:this.router.url,confirmDialogType:P.p.NOTFOUND}}).afterClosed().subscribe(f=>this.ngOnInit())})):this.showCompleteUserInformationPopup()}showTravelInPastDialog(){this.dialog.open(m.w,{width:"350px",data:{title:"Hoppla!",text:"Die angefragte Fahrtzeit befindet sich leider in der Vergangenheit.",redirectUrl:this.router.url,confirmDialogType:P.p.ERROR}})}showMultiDayConfirmDeclineDialog(t,_,f){this.dialog.open(rt,{width:"450px",data:{offer:this.offer,user:this.user,receivedRequest:t,multiDayRequestId:_,multiDayAcceptDeclineOption:f}}).afterClosed().subscribe(U=>{!0===U?this.router.navigate(["home"]):!1===U&&(this.userService.loadUser(),this.ngOnInit())})}showCompleteUserInformationPopup(){this.dialog.open(_e.s,{width:"450px",data:{redirectUrl:this.router.url}})}declineRequestClicked(t){this.offer.isInPast?this.showTravelInPastDialog():t.multiDayRequest?this.showMultiDayConfirmDeclineDialog(t,t.multiDayRequest,ne.DECLINE):this.dialog.open(ae,{width:"450px",data:{offer:this.offer,request:t.request}}).afterClosed().subscribe(_=>this.ngOnInit())}cancelRideClicked(t){const _=this.offer.requests.find(f=>f.request._id==t._id)?.offerArrivalTime;_&&_.getTime()<(new Date).setMinutes((new Date).getMinutes()-30)?this.feedbackDialogService.showErrorDialog("Die Fahrt kann leider nur vor und w\xE4hrend der Fahrt abgesagt werden. Bitte kontaktiere deine Fahrgemeinschaft direkt."):this.dialog.open(G.w,{width:"450px",data:{request:t,offer:this.offer,fellowCarpoolerUsername:t.owner.username}}).afterClosed().subscribe(f=>{f===$.W.CANCELRIDE&&this.ngOnInit()})}showConversationLoadingError(){this.dialog.open(m.w,{width:"350px",data:{title:"Hoppla!",text:"Die Konversation konnte nicht gestartet werden. Bitte \xFCberpr\xFCfe deine Internetverbindung und kontaktiere das " + Y.c.projectReferenceName + "-Team, wenn das Problem weiter besteht.",redirectUrl:"",confirmDialogType:P.p.NOTFOUND}})}openWithinTimeframeDialog(){this.feedbackDialogService.showAttentionDialog("Die Validierung ist nur zwischen 15 Minuten vor Abfahrt bis 15 Minuten nach Ankunft m\xF6glich.")}openValidationDialog(){this.dialog.open(_t,{width:"400px",data:{title:"Scanne diesen QR-Code",text:"Bitte zeige deinen Fahrg\xE4sten diesen QR-Code und lassen ihn mit ihrer " + Y.c.projectReferenceName + "-App scannen, um die Fahrt zu validieren",rideValidationCode:this.offer.rideValidationCode}}).afterClosed().subscribe({next:()=>
1{this.travelService.updateRideValidationCode(this.offer._id).subscribe(t=>{this.offer=t})}})}navigateToWaypointSelection(t){this.navigateTo("selectWaypoint",t)}navigateToMultiDaySelection(t){this.navigateTo("multiDayRequest",t)}navigateTo(t,_){switch(this.offer.travelType){case h.J.OFFER:switch(_.travelType){case h.J.OFFER:this.router.navigate(["offer/"+this.offer._id+"/"+t+"/offer/"+_._id]);break;case h.J.PATTERNOFFER:this.router.navigate(["offer/"+this.offer._id+"/"+t+"/travelPattern/offer/"+_.pattern+"/travelDate/"+_.getIsoTravelDate()])}break;case h.J.PATTERNOFFER:switch(_.travelType){case h.J.OFFER:this.router.navigate(["travelPattern/"+this.offer.pattern+"/travelDate/"+this.offer.getIsoTravelDate()+"/"+t+"/offer/"+_._id]);break;case h.J.PATTERNOFFER:this.router.navigate(["travelPattern/"+this.offer.pattern+"/travelDate/"+this.offer.getIsoTravelDate()+"/"+t+"/travelPattern/offer/"+_.pattern+"/travelDate/"+_.getIsoTravelDate()])}}}subscribeNotificationUpdatesAndReload(){this.socketService.emitter$.subscribe(t=>{const _=(new I.E).deserialize(t);_&&_.offerId&&_.offerId==this.offer._id&&this.ngOnInit()})}shouldShowAllowanceToReceivedRequest(t,_){const f=t.requests.filter(p=>"CONFIRMED"===p.status).length;if(0==f)return!0;if(f>0){const p=t.requests.findIndex(U=>"CONFIRMED"===U.status);if(p==_)return!0;if(p!=_)return!1}return!0}displayRideValidation(){return this.offer.requests?.length&&this.offer.requests.some(t=>t.status===D.W.CONFIRMED)&&this.user?.institution.rideValidationActive}static \u0275fac=function(_){return new(_||i)(e.rXU(Ce.nX),e.rXU(Ce.Ix),e.rXU(gt.aZ),e.rXU(ie.y),e.rXU(pt.D),e.rXU(mt.m),e.rXU(g.j),e.rXU(Ct.P),e.rXU(Q.o),e.rXU(ht.L),e.rXU(Rt.B0))};static \u0275cmp=e.VBU({type:i,selectors:[["app-offer-detail"]],standalone:!1,decls:11,vars:6,consts:()=>{let t,_,f,p,U,k,X,q,K,Z,H,Te,Ae,Se,De,Oe,Me,Fe,Le,Ie,Pe,ve,Ne,ye,$e,Ge,xe,we,be,Ue,ke,Xe,je,Ve,Be,ze,Ye,qe;return t="zum Kalender",_="Erhaltene Anfragen",f="Gruppenchat starten",p="Abholort",U="Absetzort",k="Deine Abfahrt",X="Deine Ankunft",q="Nachricht",K="Akzeptieren",Z="Ablehnen",H="Nachricht",Te="Anrufen",Ae="Fahrt absagen",Se="Dein Fahrtangebot",De="Tag der Fahrt",Oe="Abfahrt",Me="Ankunft",Fe="Streckentyp",Le="Auto",Ie="Angebot teilen",Pe="Fahrt-Validierung",ve="Nicht validiert",Ne="QR-Code anzeigen",ye="Validiert",$e="Zahlung",Ge="Einstellungen",xe="Digital",we="Bar",be="Einsparungen",Ue="Gesparte Kilometer",ke="Gespartes CO\u2082",Xe="Fahrtzeit anpassen",je="Bearbeiten",Ve="L\xF6schen",Be="Andere Fahrtoptionen auf deiner Route",ze="Dein Angebot ist nun f\xFCr andere Nutzer*innen sichtbar. Die folgenden anderen Fahrtoptionen stehen ebenfalls f\xFCr dich zur Verf\xFCgung. Du kannst diese als Mitfahrer*in anfragen oder direkt buchen.",Ye="Gl\xFCckwunsch, du bist ein/e Pionier*in auf dieser Route. Vielen Dank, dass du deine Fahrt hier anbietest.",qe="Dein Angebot ist nun f\xFCr andere Nutzer*innen sichtbar. Wir suchen au\xDFerdem fortlaufend nach m\xF6glichen Alternativen und zeigen diese dir hier an.",[t,_,f,p,U,k,X,q,K,Z,H,Te,Ae,Se,De,Oe,Me,Fe,Le,Ie,Pe,ve,Ne,ye,$e,Ge,xe,we,be,Ue,ke,Xe,je,Ve,Be,ze,Ye,qe,["fxLayout","row","fxLayoutAlign","center start"],["fxLayoutAlign","space-evenly stretch","fxLayout","column","fxFlex","100","fxFlex.gt-xs","90","fxFlex.gt-sm","80"],[1,"redirect-back-text"],["fontSet","untitled-ui","fontIcon","untitled-chevron-left"],["routerLink","/home"],["fxFlex","100","fxLayout","column","fxLayoutAlign"," stretch","id","received-requests-card"],["fxFlex","none",1,"spacing-between-cards",3,"ownTravelType","allowance"],["fxFlex","100","fxLayout","column","fxLayoutAlign"," stretch"],["fxFlex","100","fxLayout","column","fxLayoutAlign"," stretch","id","search-results-card"],[3,"travel","numberOfSearchResults"],["fxFlex","100"],[1,"fill-remaining-space"],["mat-flat-button","","color","primary","id","group-chat-button",3,"disabled"],["fxLayout","column"],[1,"offer-ride-detail-list"],["mat-flat-button","","color","primary","id","group-chat-button",3,"click","disabled"],[3,"diameter"],[3,"click"],["fxFlex","","fxLayout","row wrap","fxLayoutAlign","start center"],["fxFlex","100","fxFlex.gt-xs","50","fxFlex.gt-sm","30","fxFlex.gt-md","25","fxLayout","row"],["matListItemAvatar","",3,"appOpenProfilePopup","src","alt"],["fxLayout","column","fxLayoutAlign"," start",1,"truncate-text"],["matListItemTitle","",1,"underline",3,"appOpenProfilePopup"],["matListItemLine","",1,"ridebee-tag",3,"ngClass"],["fontSet","untitled-ui",3,"fontIcon"],["fxFlex","100","fxFlex.gt-xs","50","fxFlex.gt-sm","30","fxFlex.gt-md","25",3,"ownTravelType","institutionPriceSettings","allowance","matchingDetails","enabledDigital","transfer"],["fxFlex","100","fxFlex.gt-xs","50","fxFlex.gt-sm","30","fxFlex.gt-md","25","fxLayout","column"],["matListItemTitle",""],["matListItemLine",""],["fontSet","untitled-ui","fontIcon","untitled-marker-pin-01"],["fxFlex","100","fxFlex.gt-xs","50","fxFlex.gt-sm","30","fxFlex.gt-md","25","fxLayoutAlign","start"],["fontSet","untitled-ui","fontIcon","untitled-clock"],["mat-stroked-button","","color","primary",3,"click","disabled"],["color","primary",3,"diameter"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","danger",3,"click","disabled"],[3,"href"],["mat-stroked-button","","color","primary"],["mat-stroked-button","","color","danger",3,"click"],["fxFlex","100","fxLayout","column","fxLayout.gt-sm","row","fxLayoutGap","10px",1,"offer-detail-card"],["fxFlex","none","fxFlex.gt-sm","40"],["fxLayout","row wrap","fxLayoutAlign","space-between center","fxLayoutGap","10px"],[1,"bottom-sp
1acing-xxxxs"],["fxFlex","none"],[1,"ridebee-tag",3,"ngClass"],["dense","",1,"offer-ride-detail-list"],[3,"inset"],["matListItemIcon","","fontSet","untitled-ui","fontIcon","untitled-calendar"],["matListItemIcon","","fontSet","untitled-ui",3,"fontIcon"],[3,"opacity-70"],[3,"travel"],[3,"weekdays"],["fxLayoutAlign","space-between","fxLayout","row wrap","fxLayoutGap","10px"],["fxFlex","none","mat-stroked-button","","color","primary",1,"vertical-content-margin-10",3,"click"],["fxFlex","none","mat-stroked-button","","color","secondary",1,"vertical-content-margin-10",3,"click"],["fxFlex","none","mat-stroked-button","","color","danger",1,"vertical-content-margin-10"],["fxFlex","none","fxFlex.gt-sm","60"],["fxFlex","","ngClass.xs","map-on-xs-sm","ngClass.sm","map-on-xs-sm",3,"center","travel","user","potentialDrivers","selectedPotentialDriver"],["matListItemIcon","","fontSet","untitled-ui","fontIcon","untitled-marker-pin-01"],["matListItemIcon","","fontSet","untitled-ui","fontIcon","untitled-check-verified-02"],["matListItemMeta",""],["fxFlex","","fxLayoutAlign","end center"],["mat-icon-button","",3,"click"],["fontSet","untitled-ui","fontIcon","untitled-info-circle",1,"info-icon"],["mat-stroked-button","","color","primary",3,"click"],["matListItemIcon","","fontSet","untitled-ui","fontIcon","untitled-credit-card-01"],["matListItemIcon","","fontSet","untitled-ui","fontIcon","untitled-credit-card-x"],["fxFlex","","fxLayoutAlign","end center","matListItemMeta",""],["mat-button","",3,"routerLink"],["matListItemIcon","","fontSet","untitled-ui","fontIcon","untitled-globe-04"],["fxFlex","none","mat-stroked-button","","color","danger",1,"vertical-content-margin-10",3,"click"],["id","info-icon","fontSet","untitled-ui","fontIcon","untitled-info-circle",3,"click"],[3,"mode"],["fxFlex","100","fxLayout","row wrap","fxLayoutAlign","start center","fxLayoutGap","1rem"],[3,"onOfferSelected","user","passengerTravel","requestSource","allowance","searchResults"],["fxFlex","100","fxFlex.gt-xs","none","fxLayout","row","fxLayoutAlign","center center"],["location","/images/ridebee_value_time.svg",1,"no-search-results-watch"],["fxFlex","100","fxFlex.gt-xs","",1,"no-search-results-text"]]},template:function(_,f){1&_&&(e.j41(0,"div",38)(1,"div",39)(2,"div",40),e.nrm(3,"mat-icon",41),e.j41(4,"a",42),e.pXf(5,0),e.k0s()(),e.DNE(6,Qt,11,1,"div",43),e.nrm(7,"app-travel-allowance",44),e.DNE(8,gn,72,29,"div",45)(9,hn,12,8,"div",46)(10,Rn,1,2,"app-public-transport-options",47),e.k0s()()),2&_&&(e.R7$(6),e.vxM(f.offer&&f.offer.requests&&f.offer.requests.length>0?6:-1),e.R7$(),e.Y8G("ownTravelType",f.travelType.OFFER)("allowance",f.allowance),e.R7$(),e.vxM(f.offer?8:-1),e.R7$(),e.vxM((null==f.offer?null:f.offer.overallMatchingStatus)===f.matchingStatus.NONE||(null==f.offer?null:f.offer.overallMatchingStatus)===f.matchingStatus.CANCELED||(null==f.offer?null:f.offer.overallMatchingStatus)===f.matchingStatus.DECLINED?9:-1),e.R7$(),e.vxM((null==f.offer?null:f.offer.overallMatchingStatus)!=f.matchingStatus.CONFIRMED&&(null==f.offer?null:f.offer.overallMatchingStatus)!=f.matchingStatus.REQUESTED&&null!=f.user&&f.user.institution.publicTransportIntegrationType&&f.potentialOtherOffers?10:-1))},dependencies:[c.YU,Tt.k,At.Z,a.RN,a.m2,a.MM,a.dh,B.DJ,B.BO,B.sA,B.UI,St.PW,C.An,S.q,o.$z,ee.M,F.jt,F.YE,F.zi,F.ZV,F.C_,F.yE,F.BJ,j.HM,L.LG,Dt.Q,he.Wk,Ot.J,Mt.G,Ft.g,Lt.I,It.D,Pt.k,vt.T],styles:[".no-search-results-watch[_ngcontent-%COMP%]{height:75px;width:75px;max-height:75px;max-width:75px}.no-search-results-text[_ngcontent-%COMP%]{word-break:break-word;white-space:normal!important}.price-loading-spinner[_ngcontent-%COMP%]     .mat-progress-spinner circle, .mat-spinner[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%]{stroke:#c3c3c3}#received-requests-card[_ngcontent-%COMP%]     .mat-mdc-list-item-avatar{width:60px!important;height:60px!important}#received-requests-card[_ngcontent-%COMP%]   #group-chat-button[_ngcontent-%COMP%]{top:-5px}#received-requests-card[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#received-requests-card[_ngcontent-%COMP%]   .mat-mdc-list-item[_ngcontent-%COMP%]{cursor:pointer}#received-requests-card[_ngcontent-%COMP%]   .mat-mdc-list-item[_ngcontent-%COMP%]   div[_ngcontent-%COMP%], #re
1ceived-requests-card[_ngcontent-%COMP%]   .mat-mdc-list-item[_ngcontent-%COMP%]   app-price-info-item[_ngcontent-%COMP%]{padding:5px}#received-requests-card[_ngcontent-%COMP%]   .mat-mdc-list-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}.opacity-70[_ngcontent-%COMP%]{opacity:.7}h1[_ngcontent-%COMP%]{margin:10px}h6[_ngcontent-%COMP%]{font-size:1rem!important;font-weight:500!important;line-height:1.2!important}.map-on-xs-sm[_ngcontent-%COMP%]{height:300px}.mat-icon[_ngcontent-%COMP%]{vertical-align:middle}.offer-detail-card[_ngcontent-%COMP%]     .mat-card-header-text{width:100%;margin-right:10px}mat-card[_ngcontent-%COMP%]{margin:10px;padding:16px}#search-results-card[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#search-results-card[_ngcontent-%COMP%]   #info-icon[_ngcontent-%COMP%], #search-results-card[_ngcontent-%COMP%]   .mat-list-item[_ngcontent-%COMP%]{cursor:pointer}#search-results-card[_ngcontent-%COMP%]   .mat-list-item[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:5px}.ridebee-tag[_ngcontent-%COMP%]{display:flex;align-items:center;gap:2px}.ridebee-tag[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{display:flex;align-items:center}"]})}return i})();var Re=n(23679),Tn=n(9753),An=n(60016),Sn=n(30450),W=n(41304),pe=n(31584),Dn=n(25657),On=n(40655),Mn=n(88529),Fn=n(62469),Ln=n(40831),In=n(62007),Pn=n(43281),vn=n(85626),Nn=n(87343),yn=n(15049),$n=n(41621),Gn=n(2053),xn=n(61457),wn=n(63211),bn=n(12815),Un=n(15793),de=n(53181),kn=n(81520),Xn=n(43881);const jn=[{pathMatch:"full",path:"create",component:de.O,canActivate:[W.f],data:{name:"Create Edit Offer",info:{title:"Fahrt anbieten"}}},{pathMatch:"full",path:":offerId",component:ge,canActivate:[W.f],data:{name:"Offer Detail",info:{title:"Fahrt anbieten"}}},{pathMatch:"full",path:":offerId/sendRequest/offer/:potentialOfferId",component:pe.Z,canActivate:[W.f],data:{name:"Request Offer"}},{pathMatch:"full",path:":offerId/sendRequest/travelPattern/offer/:potentialOfferTravelPatternId/travelTime/:potentialOfferTravelPatternTravelDate",component:pe.Z,canActivate:[W.f],data:{name:"Request Offer"}},{pathMatch:"full",path:":offerId/sendRequest/travelPattern/offer/:potentialOfferTravelPatternId/travelDate/:potentialOfferTravelPatternTravelDate",component:pe.Z,canActivate:[W.f],data:{name:"Request Offer"}},{pathMatch:"full",path:":travelPatternId/travelTime/:travelDate",component:ge,canActivate:[W.f],data:{name:"Offer Detail",info:{title:"Fahrt anbieten"}}},{pathMatch:"full",path:":travelPatternId/travelDate/:travelDate",component:ge,canActivate:[W.f],data:{name:"Offer Detail",info:{title:"Fahrt anbieten"}}},{pathMatch:"full",path:":offerId/edit",component:de.O,canActivate:[W.f],data:{name:"Create Edit Offer",info:{title:"Fahrt anbieten"}}},{pathMatch:"full",path:":travelPatternId/travelTime/:travelDate/edit",component:de.O,canActivate:[W.f],data:{name:"Create Edit Offer",info:{title:"Fahrt anbieten"}}},{pathMatch:"full",path:":travelPatternId/travelDate/:travelDate/edit",component:de.O,canActivate:[W.f],data:{name:"Create Edit Offer",info:{title:"Fahrt anbieten"}}}];let Vn=(()=>{class i{static \u0275fac=function(_){return new(_||i)};static \u0275mod=e.$C({type:i});static \u0275inj=e.G2t({providers:[{provide:d.D,useClass:Tn.z,deps:[d.M]},{provide:y.i,useValue:{appearance:"fill"}}],imports:[c.MD,Fn.s,vn.h,Mn.Z,Dn.H,On.W,kn.j,r.YN,Ln.e,r.X1,a.Hu,V.YF,A.M,C.m_,x.Wk,v.M,S.w,l.g7,u.X6,E.WX,N.fS,o.Hl,O.s5,g.n,F.Fg,j.PO,L.D6,z.ad,Re.Y,An.G,Sn.mV,he.iI.forChild(jn),Re.Y,In.o,Pn.h,me,o.Hl,Nn.N,yn.d,$n.P,Gn.d,xn.D,wn.q,bn.B,Un.$,Xn.Ez]})}return i})()},35941:w=>{function s(n){if(!n||n<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=n,this.data=new Uint8Array(n*n),this.reservedBit=new Uint8Array(n*n)}s.prototype.set=function(n,c,r,o){const a=n*this.size+c;this.data[a]=r,o&&(this.reservedBit[a]=!0)},s.prototype.get=function(n,c){return this.data[n*this.size+c]},s.prototype.xor=function(n,c,r){this.data[n*this.size+c]^=r},s.prototype.isReserved=function(n,c){return this.reservedBit[n*this.size+c]},w.exports=s},47077:(w,s)=>{function n(c){if("number"==typeof c&&(c=c.toString()),"string"!=typeof c)throw new Error("Color should be defined as hex string");let r=c.slice().replace("#","").split("");
1if(r.length<3||5===r.length||r.length>8)throw new Error("Invalid hex color: "+c);(3===r.length||4===r.length)&&(r=Array.prototype.concat.apply([],r.map(function(a){return[a,a]}))),6===r.length&&r.push("F","F");const o=parseInt(r.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:255&o,hex:"#"+r.slice(0,6).join("")}}s.getOptions=function(r){r||(r={}),r.color||(r.color={});const a=r.width&&r.width>=21?r.width:void 0;return{width:a,scale:a?4:r.scale||4,margin:typeof r.margin>"u"||null===r.margin||r.margin<0?4:r.margin,color:{dark:n(r.color.dark||"#000000ff"),light:n(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},s.getScale=function(r,o){return o.width&&o.width>=r+2*o.margin?o.width/(r+2*o.margin):o.scale},s.getImageWidth=function(r,o){const a=s.getScale(r,o);return Math.floor((r+2*o.margin)*a)},s.qrToImageData=function(r,o,a){const l=o.modules.size,d=o.modules.data,E=s.getScale(l,a),u=Math.floor((l+2*a.margin)*E),g=a.margin*E,S=[a.color.light,a.color.dark];for(let y=0;y<u;y++)for(let A=0;A<u;A++){let C=4*(y*u+A),N=a.color.light;y>=g&&A>=g&&y<u-g&&A<u-g&&(N=S[d[Math.floor((y-g)/E)*l+Math.floor((A-g)/E)]?1:0]),r[C++]=N.r,r[C++]=N.g,r[C++]=N.b,r[C]=N.a}}},47424:(w,s)=>{s.L={bit:1},s.M={bit:0},s.Q={bit:3},s.H={bit:2},s.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},s.from=function(r,o){if(s.isValid(r))return r;try{return function n(c){if("string"!=typeof c)throw new Error("Param is not a string");switch(c.toLowerCase()){case"l":case"low":return s.L;case"m":case"medium":return s.M;case"q":case"quartile":return s.Q;case"h":case"high":return s.H;default:throw new Error("Unknown EC Level: "+c)}}(r)}catch{return o}}},54969:(w,s,n)=>{const c=n(91677);function r(o){this.mode=c.BYTE,this.data="string"==typeof o?(new TextEncoder).encode(o):new Uint8Array(o)}r.getBitsLength=function(a){return 8*a},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(o){for(let a=0,l=this.data.length;a<l;a++)o.put(this.data[a],8)},w.exports=r},56511:(w,s,n)=>{const c=n(47077);function r(l,d){const E=l.a/255,u=d+'="'+l.hex+'"';return E<1?u+" "+d+'-opacity="'+E.toFixed(2).slice(1)+'"':u}function o(l,d,E){let u=l+d;return typeof E<"u"&&(u+=" "+E),u}s.render=function(d,E,u){const g=c.getOptions(E),S=d.modules.size,y=d.modules.data,A=S+2*g.margin,C=g.color.light.a?"<path "+r(g.color.light,"fill")+' d="M0 0h'+A+"v"+A+'H0z"/>':"",N="<path "+r(g.color.dark,"stroke")+' d="'+function a(l,d,E){let u="",g=0,S=!1,y=0;for(let A=0;A<l.length;A++){const C=Math.floor(A%d),N=Math.floor(A/d);!C&&!S&&(S=!0),l[A]?(y++,A>0&&C>0&&l[A-1]||(u+=S?o("M",C+E,.5+N+E):o("m",g,0),g=0,S=!1),C+1<d&&l[A+1]||(u+=o("h",y),y=0)):g++}return u}(y,S,g.margin)+'"/>',L='<svg xmlns="http://www.w3.org/2000/svg" '+(g.width?'width="'+g.width+'" height="'+g.width+'" ':"")+'viewBox="0 0 '+A+" "+A+'" shape-rendering="crispEdges">'+C+N+"</svg>\n";return"function"==typeof u&&u(null,L),L}},66686:(w,s)=>
1{const n=new Uint8Array(512),c=new Uint8Array(256);(function(){let o=1;for(let a=0;a<255;a++)n[a]=o,c[o]=a,o<<=1,256&o&&(o^=285);for(let a=255;a<512;a++)n[a]=n[a-255]})(),s.log=function(o){if(o<1)throw new Error("log("+o+")");return c[o]},s.exp=function(o){return n[o]},s.mul=function(o,a){return 0===o||0===a?0:n[c[o]+c[a]]}},68314:(w,s,n)=>{const r=n(72836),o=n(89460),a=n(7030),l=n(56511);function d(E,u,g,S,y){const A=[].slice.call(arguments,1),C=A.length,N="function"==typeof A[C-1];if(!N&&!r())throw new Error("Callback required as last argument");if(!N){if(C<1)throw new Error("Too few arguments provided");return 1===C?(g=u,u=S=void 0):2===C&&!u.getContext&&(S=g,g=u,u=void 0),new Promise(function(F,j){try{const L=o.create(g,S);F(E(L,u,S))}catch(L){j(L)}})}if(C<2)throw new Error("Too few arguments provided");2===C?(y=g,g=u,u=S=void 0):3===C&&(u.getContext&&typeof y>"u"?(y=S,S=void 0):(y=S,S=g,g=u,u=void 0));try{const F=o.create(g,S);y(null,E(F,u,S))}catch(F){y(F)}}s.mo=d.bind(null,a.render),s.dY=d.bind(null,a.renderToDataURL),s.toString=d.bind(null,function(E,u,g){return l.render(E,g)})},72836:w=>{w.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},76269:(w,s,n)=>{const c=n(19089).getSymbolSize;s.getPositions=function(a){const l=c(a);return[[0,0],[l-7,0],[0,l-7]]}},80243:w=>{"use strict";var s={single_source_shortest_paths:function(n,c,r){var o={},a={};a[c]=0;var d,E,u,g,S,A,l=s.PriorityQueue.make();for(l.push(c,0);!l.empty();)for(u in g=(d=l.pop()).cost,S=n[E=d.value]||{})S.hasOwnProperty(u)&&(A=g+S[u],(typeof a[u]>"u"||a[u]>A)&&(a[u]=A,l.push(u,A),o[u]=E));if(typeof r<"u"&&typeof a[r]>"u"){var F=["Could not find a path from ",c," to ",r,"."].join("");throw new Error(F)}return o},extract_shortest_path_from_predecessor_list:function(n,c){for(var r=[],o=c;o;)r.push(o),o=n[o];return r.reverse(),r},find_path:function(n,c,r){var o=s.single_source_shortest_paths(n,c,r);return s.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(n){var o,c=s.PriorityQueue,r={};for(o in n=n||{},c)c.hasOwnProperty(o)&&(r[o]=c[o]);return r.queue=[],r.sorter=n.sorter||c.default_sorter,r},default_sorter:function(n,c){return n.cost-c.cost},push:function(n,c){this.queue.push({value:n,cost:c}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};w.exports=s},80377:(w,s)=>{s.isValid=function(c){return!isNaN(c)&&c>=1&&c<=40}},81744:(w,s,n)=>{const c=n(66686);s.mul=function(o,a){const l=new Uint8Array(o.length+a.length-1);for(let d=0;d<o.length;d++)for(let E=0;E<a.length;E++)l[d+E]^=c.mul(o[d],a[E]);return l},s.mod=function(o,a){let l=new Uint8Array(o);for(;l.length-a.length>=0;){const d=l[0];for(let u=0;u<a.length;u++)l[u]^=c.mul(a[u],d);let E=0;for(;E<l.length&&0===l[E];)E++;l=l.slice(E)}return l},s.generateECPolynomial=function(o){let a=new Uint8Array([1]);for(let l=0;l<o;l++)a=s.mul(a,new Uint8Array([1,c.exp(l)]));return a}},83264:(w,s,n)=>{const c=n(91677),r=n(19089);function o(a){this.mode=c.KANJI,this.data=a}o.getBitsLength=function(l){return 13*l},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(a){let l;for(l=0;l<this.data.length;l++){let d=r.toSJIS(this.data[l]);if(d>=33088&&d<=40956)d-=33088;else{if(!(d>=57408&&d<=60351))throw new Error("Invalid SJIS character: "+this.data[l]+"\nMake sure your charset is UTF-8");d-=49472}d=192*(d>>>8&255)+(255&d),a.put(d,13)}},w.exports=o},84662:w=>{function s(){this.buffer=[],this.length=0}s.prototype={get:function(n){const c=Math.floor(n/8);return 1==(this.buffer[c]>>>7-n%8&1)},put:function(n,c){for(let r=0;r<c;r++)this.putBit(1==(n>>>c-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(n){const c=Math.floor(this.length/8);this.buffer.length<=c&&this.buffer.push(0),n&&(this.buffer[c]|=128>>>this.length%8),this.length++}},w.exports=s},86289:(w,s,n)=>{const c=n(81744);function r(o){this.genPoly=void 0,this.degree=o,this.degree&&this.initialize(this.degree)}r.prototype.initialize=function(a){this.degree=a,this.genPoly=c.generateECPolynomial(this.degree)}
1,r.prototype.encode=function(a){if(!this.genPoly)throw new Error("Encoder not initialized");const l=new Uint8Array(a.length+this.degree);l.set(a);const d=c.mod(l,this.genPoly),E=this.degree-d.length;if(E>0){const u=new Uint8Array(this.degree);return u.set(d,E),u}return d},w.exports=r},89460:(w,s,n)=>{const c=n(19089),r=n(47424),o=n(84662),a=n(35941),l=n(96214),d=n(76269),E=n(3361),u=n(23677),g=n(86289),S=n(91252),y=n(26254),A=n(91677),C=n(22868);function x(T,I,D){const m=T.size,P=y.getEncodedBits(I,D);let M,h;for(M=0;M<15;M++)h=1==(P>>M&1),T.set(M<6?M:M<8?M+1:m-15+M,8,h,!0),T.set(8,M<8?m-M-1:M<9?15-M-1+1:15-M-1,h,!0);T.set(m-8,8,1,!0)}function z(T,I,D,m){let P;if(Array.isArray(T))P=C.fromArray(T);else{if("string"!=typeof T)throw new Error("Invalid data");{let Y=I;if(!Y){const e=C.rawSplit(T);Y=S.getBestVersionForData(e,D)}P=C.fromString(T,Y||40)}}const M=S.getBestVersionForData(P,D);if(!M)throw new Error("The amount of data is too big to be stored in a QR Code");if(I){if(I<M)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+M+".\n")}else I=M;const h=function O(T,I,D){const m=new o;D.forEach(function($){m.put($.mode.bit,4),m.put($.getLength(),A.getCharCountIndicator($.mode,T)),$.write(m)});const h=8*(c.getSymbolTotalCodewords(T)-u.getTotalCodewordsCount(T,I));for(m.getLengthInBits()+4<=h&&m.put(0,4);m.getLengthInBits()%8!=0;)m.putBit(0);const G=(h-m.getLengthInBits())/8;for(let $=0;$<G;$++)m.put($%2?17:236,8);return function V(T,I,D){const m=c.getSymbolTotalCodewords(I),M=m-u.getTotalCodewordsCount(I,D),h=u.getBlocksCount(I,D),$=h-m%h,Y=Math.floor(m/h),e=Math.floor(M/h),ie=e+1,se=Y-e,B=new g(se);let ee=0;const oe=new Array(h),ce=new Array(h);let re=0;const fe=new Uint8Array(T.buffer);for(let te=0;te<h;te++){const le=te<$?e:ie;oe[te]=fe.slice(ee,ee+le),ce[te]=B.encode(oe[te]),ee+=le,re=Math.max(re,le)}const ae=new Uint8Array(m);let Q,J,_e=0;for(Q=0;Q<re;Q++)for(J=0;J<h;J++)Q<oe[J].length&&(ae[_e++]=oe[J][Q]);for(Q=0;Q<se;Q++)for(J=0;J<h;J++)ae[_e++]=ce[J][Q];return ae}(m,T,I)}(I,D,P),G=c.getSymbolSize(I),$=new a(G);return function N(T,I){const D=T.size,m=d.getPositions(I);for(let P=0;P<m.length;P++){const M=m[P][0],h=m[P][1];for(let G=-1;G<=7;G++)if(!(M+G<=-1||D<=M+G))for(let $=-1;$<=7;$++)h+$<=-1||D<=h+$||T.set(M+G,h+$,G>=0&&G<=6&&(0===$||6===$)||$>=0&&$<=6&&(0===G||6===G)||G>=2&&G<=4&&$>=2&&$<=4,!0)}}($,I),function F(T){const I=T.size;for(let D=8;D<I-8;D++){const m=D%2==0;T.set(D,6,m,!0),T.set(6,D,m,!0)}}($),function j(T,I){const D=l.getPositions(I);for(let m=0;m<D.length;m++){const P=D[m][0],M=D[m][1];for(let h=-2;h<=2;h++)for(let G=-2;G<=2;G++)T.set(P+h,M+G,-2===h||2===h||-2===G||2===G||0===h&&0===G,!0)}}($,I),x($,D,0),I>=7&&function L(T,I){const D=T.size,m=S.getEncodedBits(I);let P,M,h;for(let G=0;G<18;G++)P=Math.floor(G/3),M=G%3+D-8-3,h=1==(m>>G&1),T.set(P,M,h,!0),T.set(M,P,h,!0)}($,I),function v(T,I){const D=T.size;let m=-1,P=D-1,M=7,h=0;for(let G=D-1;G>0;G-=2)for(6===G&&G--;;){for(let $=0;$<2;$++)if(!T.isReserved(P,G-$)){let Y=!1;h<I.length&&(Y=1==(I[h]>>>M&1)),T.set(P,G-$,Y),M--,-1===M&&(h++,M=7)}if(P+=m,P<0||D<=P){P-=m,m=-m;break}}}($,h),isNaN(m)&&(m=E.getBestMask($,x.bind(null,$,D))),E.applyMask(m,$),x($,D,m),{modules:$,version:I,errorCorrectionLevel:D,maskPattern:m,segments:P}}s.create=function(I,D){if(typeof I>"u"||""===I)throw new Error("No input text");let P,M,m=r.M;return typeof D<"u"&&(m=r.from(D.errorCorrectionLevel,r.M),P=S.from(D.version),M=E.from(D.maskPattern),D.toSJISFunc&&c.setToSJISFunction(D.toSJISFunc)),z(I,P,m,M)}},91252:(w,s,n)=>{const c=n(19089),r=n(23677),o=n(47424),a=n(91677),l=n(80377),E=c.getBCHDigit(7973);function g(A,C){return a.getCharCountIndicator(A,C)+4}function S(A,C){let N=0;return A.forEach(function(F){const j=g(F.mode,C);N+=j+F.getBitsLength()}),N}s.from=function(C,N){return l.isValid(C)?parseInt(C,10):N},s.getCapacity=function(C,N,F){if(!l.isValid(C))throw new Error("Invalid QR Code version");typeof F>"u"&&(F=a.BYTE);const x=8*(c.getSymbolTotalCodewords(C)-r.getTotalCodewordsCount(C,N));if(F===a.MIXED)return x;
vendor: 3,485 bytes, line 1
1const v=x-g(F,C);switch(F){case a.NUMERIC:return Math.floor(v/10*3);case a.ALPHANUMERIC:return Math.floor(v/11*2);case a.KANJI:return Math.floor(v/13);default:return Math.floor(v/8)}},s.getBestVersionForData=function(C,N){let F;const j=o.from(N,o.M);if(Array.isArray(C)){if(C.length>1)return function y(A,C){for(let N=1;N<=40;N++)if(S(A,N)<=s.getCapacity(N,C,a.MIXED))return N}(C,j);if(0===C.length)return 1;F=C[0]}else F=C;return function u(A,C,N){for(let F=1;F<=40;F++)if(C<=s.getCapacity(F,N,A))return F}(F.mode,F.getLength(),j)},s.getEncodedBits=function(C){if(!l.isValid(C)||C<7)throw new Error("Invalid QR Code version");let N=C<<12;for(;c.getBCHDigit(N)-E>=0;)N^=7973<<c.getBCHDigit(N)-E;return C<<12|N}},91677:(w,s,n)=>{const c=n(80377),r=n(99359);s.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},s.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},s.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},s.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},s.MIXED={bit:-1},s.getCharCountIndicator=function(l,d){if(!l.ccBits)throw new Error("Invalid mode: "+l);if(!c.isValid(d))throw new Error("Invalid version: "+d);return d>=1&&d<10?l.ccBits[0]:d<27?l.ccBits[1]:l.ccBits[2]},s.getBestModeForData=function(l){return r.testNumeric(l)?s.NUMERIC:r.testAlphanumeric(l)?s.ALPHANUMERIC:r.testKanji(l)?s.KANJI:s.BYTE},s.toString=function(l){if(l&&l.id)return l.id;throw new Error("Invalid mode")},s.isValid=function(l){return l&&l.bit&&l.ccBits},s.from=function(l,d){if(s.isValid(l))return l;try{return function o(a){if("string"!=typeof a)throw new Error("Param is not a string");switch(a.toLowerCase()){case"numeric":return s.NUMERIC;case"alphanumeric":return s.ALPHANUMERIC;case"kanji":return s.KANJI;case"byte":return s.BYTE;default:throw new Error("Unknown mode: "+a)}}(l)}catch{return d}}},96214:(w,s,n)=>{const c=n(19089).getSymbolSize;s.getRowColCoords=function(o){if(1===o)return[];const a=Math.floor(o/7)+2,l=c(o),d=145===l?26:2*Math.ceil((l-13)/(2*a-2)),E=[l-7];for(let u=1;u<a-1;u++)E[u]=E[u-1]-d;return E.push(6),E.reverse()},s.getPositions=function(o){const a=[],l=s.getRowColCoords(o),d=l.length;for(let E=0;E<d;E++)for(let u=0;u<d;u++)0===E&&0===u||0===E&&u===d-1||E===d-1&&0===u||a.push([l[E],l[u]]);return a}},96628:(w,s,n)=>{const c=n(91677);function r(o){this.mode=c.NUMERIC,this.data=o.toString()}r.getBitsLength=function(a){return 10*Math.floor(a/3)+(a%3?a%3*3+1:0)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(a){let l,d,E;for(l=0;l+3<=this.data.length;l+=3)d=this.data.substr(l,3),E=parseInt(d,10),a.put(E,10);const u=this.data.length-l;u>0&&(d=this.data.substr(l),E=parseInt(d,10),a.put(E,3*u+1))},w.exports=r},99359:(w,s)=>{const n="[0-9]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const o="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+")(?:.|[\r\n]))+";s.KANJI=new RegExp(r,"g"),s.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),s.BYTE=new RegExp(o,"g"),s.NUMERIC=new RegExp(n,"g"),s.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const a=new RegExp("^"+r+"$"),l=new RegExp("^"+n+"$"),d=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");s.testKanji=function(u){return a.test(u)},s.testNumeric=function(u){return l.test(u)},s.testAlphanumeric=function(u){return d.test(u)}}}]);

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.