1(self.webpackChunkapp=self.webpackChunkapp||[]).push([[854],{238:(L,s,r)=>{"use strict";r.d(s,{S:()=>t});var i=r(8952),n=r(3953),e=r(5398);let t=(()=>{var o;class a{constructor(){this.width=150}}return(o=a).\u0275fac=function(l){return new(l||o)},o.\u0275cmp=n.VBU({type:o,selectors:[["app-qrcode-element"]],inputs:{qrdata:"qrdata",width:"width"},features:[n.Jv_([i.o])],decls:2,vars:6,consts:[[1,"qrcode-container"],["colorLight","#00000000","colorDark","#000000",3,"qrdata","elementType","errorCorrectionLevel","margin","scale","width"]],template:function(l,g){1&l&&(n.j41(0,"div",0),n.nrm(1,"qrcode",1),n.k0s()),2&l&&(n.R7$(),n.Y8G("qrdata",g.qrdata)("elementType","svg")("errorCorrectionLevel","M")("margin",0)("scale",1)("width",g.width))},dependencies:[e.c],styles:[".qrcode-container[_ngcontent-%COMP%]{padding:10px;background-color:#fff;border-radius:8px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin:auto;line-height:1}"]}),a})()},854:(L,s,r)=>{"use strict";r.r(s),r.d(s,{QrcodePageModule:()=>f});var i=r(177),n=r(9417),e=r(5374),t=r(5398),o=r(803),a=r(203),u=r(8309),l=r(3953);let g=(()=>{var d;class h{}return(d=h).\u0275fac=function(A){return new(A||d)},d.\u0275mod=l.$C({type:d}),d.\u0275inj=l.G2t({imports:[(0,a.u)(u.m),o.iI]}),h})();var m=r(8423),c=r(3887);let f=(()=>{var d;class h{}return(d=h).\u0275fac=function(A){return new(A||d)},d.\u0275mod=l.$C({type:d}),d.\u0275inj=l.G2t({imports:[i.MD,n.YN,e.bv,g,m.U,c.G,t.f]}),h})()},8309:(L,s,r)=>{"use strict";r.d(s,{m:()=>p});var i=r(1594),n=r(8141),e=r(4189),t=r(3953),o=r(2242);const u=(0,r(5083).F3)("ScreenBrightness",{});var l=r(3028),g=r(7673),m=r(6648),c=r(6354),f=r(9030),d=r(6198);let h=(()=>{var B;class M{constructor(y){this.deviceService=y,this.isEnabled$=this.deviceService.isMobile$}getCurrentBrightness$(){return this.isEnabled$.pipe((0,l.Z)(y=>y?(0,m.H)(u.getBrightness()).pipe((0,c.T)(v=>v.brightness),(0,n.M)(v=>this.brightness=v)):(this.showNotInWebError(),(0,g.of)(void 0))))}setFullBrightness$(){return this.isEnabled$.pipe((0,l.Z)(y=>y?this.getCurrentBrightness$().pipe((0,l.Z)(()=>(0,m.H)(u.setBrightness({brightness:1})))):(this.showNotInWebError(),(0,g.of)(void 0))))}setInitialBrightness$(){return this.isEnabled$.pipe((0,l.Z)(y=>(0,f.v)(()=>{if(!y)return this.showNotInWebError(),(0,g.of)(void 0);const{brightness:v}=this;return v?(this.brightness=void 0,(0,m.H)(u.setBrightness({brightness:v}))):(0,g.of)(void 0)})))}toggleFullBrightness$(){return this.isEnabled$.pipe((0,l.Z)(y=>(0,f.v)(()=>y?this.brightness?this.setInitialBrightness$():this.setFullBrightness$():(this.showNotInWebError(),(0,g.of)(void 0)))))}showNotInWebError(){console.warn("Screen Brightness not implemented in Web")}}return(B=M).\u0275fac=function(y){return new(y||B)(t.KVO(d.g))},B.\u0275prov=t.jDH({token:B,factory:B.\u0275fac,providedIn:"root"}),M})();var w=r(7509),A=r(4284),C=r(177),S=r(2709),P=r(6346),R=r(1695),N=r(7791),U=r(1991),I=r(238);function b(B,M){if(1&B){const E=t.RV6();t.qex(0),t.j41(1,"div",5),t.bIt("click",function(){t.eBV(E);const v=t.XpG();return t.Njj(v.toggleBrightness())}),t.nrm(2,"app-qrcode-element",6),t.k0s(),t.bVm()}if(2&B){const E=M.ngIf;t.R7$(2),t.Y8G("qrdata",E)("width",250)}}function T(B,M){1&B&&(t.j41(0,"app-page-container")(1,"app-item-group")(2,"app-item",7),t.EFF(3," Es wurde kein QR-Code f\xfcr Sie gefunden. Bitte kontaktieren Sie Ihre Hausverwaltung. "),t.k0s()()()),2&B&&(t.R7$(2),t.Y8G("wrapText",!0))}let p=(()=>{var B;class M extends e.d{constructor(y,v,D,H){super(),this.qrCodeService=y,this.screenBrightnessService=v,this.modalService=D,this.hapticsService=H,this.title="Mieterkarte"}get staticResource$(){return this.qrCodeService.getMyQrCode$()}toggleBrightness(){this.screenBrightnessService.toggleFullBrightness$().pipe((0,i.$)(),(0,n.M)(()=>this.hapticsService.heavy())).subscribe()}}return(B=M).\u0275fac=function(y){return new(y||B)(t.rXU(o.Q),t.rXU(h),t.rXU(w.B),t.rXU(A.o))},B.\u0275cmp=t.VBU({type:B,selectors:[["app-qrcode"]],features:[t.Vt3],decls:7,vars:7,consts:[["noData",""],["backgroundStyle","light",3,"title","isModal"],["header-buttons",""],["text","Fertig","fill","plain","size","small","role","normal",3,"click$"],[4,"ngIf","ngIfElse"],[1,"centered",3,"click"],[3,"qrdata","width"],[3,"wrapText"]],template:function(y,v){if(1&y&&(t.j41(0,"app-page",1),t.qex(1,2),t.nrm(2,"app-button",3),t.bVm(),t.DNE(3,b,3,2,"ng-container",4),t.nI1(4,"async"),t.DNE(5,T,4,1,"ng-template",null,0,t.C5r),t.k0s()),2&y){const D=t.sdS(6);t.Y8G("title",v.title)("isModal",!0),t.R7$(2),t.Y8G("click$",v.modalService.dismiss$()),t.R7$(),t.Y8G("ngIf",t.bMT(4,5,v.staticData$))("ngIfElse",D)}},dependencies:[C.bT,S.Q,P.H,R.J,N._,U.i,I.S,C.Jj],styles:[".centered[_ngcontent-%COMP%]{position:absolute;
1left:50%;top:50%;transform:translate(-50%,-50%)}"]}),M})()},2624:L=>{"use strict";var s={single_source_shortest_paths:function(r,i,n){var e={},t={};t[i]=0;var a,u,l,g,m,f,o=s.PriorityQueue.make();for(o.push(i,0);!o.empty();)for(l in g=(a=o.pop()).cost,m=r[u=a.value]||{})m.hasOwnProperty(l)&&(f=g+m[l],(typeof t[l]>"u"||t[l]>f)&&(t[l]=f,o.push(l,f),e[l]=u));if(typeof n<"u"&&typeof t[n]>"u"){var w=["Could not find a path from ",i," to ",n,"."].join("");throw new Error(w)}return e},extract_shortest_path_from_predecessor_list:function(r,i){for(var n=[],e=i;e;)n.push(e),e=r[e];return n.reverse(),n},find_path:function(r,i,n){var e=s.single_source_shortest_paths(r,i,n);return s.extract_shortest_path_from_predecessor_list(e,n)},PriorityQueue:{make:function(r){var e,i=s.PriorityQueue,n={};for(e in r=r||{},i)i.hasOwnProperty(e)&&(n[e]=i[e]);return n.queue=[],n.sorter=r.sorter||i.default_sorter,n},default_sorter:function(r,i){return r.cost-i.cost},push:function(r,i){this.queue.push({value:r,cost:i}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};L.exports=s},3174:L=>{"use strict";L.exports=function(r){for(var i=[],n=r.length,e=0;e<n;e++){var t=r.charCodeAt(e);if(t>=55296&&t<=56319&&n>e+1){var o=r.charCodeAt(e+1);o>=56320&&o<=57343&&(t=1024*(t-55296)+o-56320+65536,e+=1)}t<128?i.push(t):t<2048?(i.push(t>>6|192),i.push(63&t|128)):t<55296||t>=57344&&t<65536?(i.push(t>>12|224),i.push(t>>6&63|128),i.push(63&t|128)):t>=65536&&t<=1114111?(i.push(t>>18|240),i.push(t>>12&63|128),i.push(t>>6&63|128),i.push(63&t|128)):i.push(239,191,189)}return new Uint8Array(i).buffer}},5933:(L,s,r)=>{const n=r(2836),e=r(9460),t=r(4649),o=r(6511);function a(u,l,g,m,c){const f=[].slice.call(arguments,1),d=f.length,h="function"==typeof f[d-1];if(!h&&!n())throw new Error("Callback required as last argument");if(!h){if(d<1)throw new Error("Too few arguments provided");return 1===d?(g=l,l=m=void 0):2===d&&!l.getContext&&(m=g,g=l,l=void 0),new Promise(function(w,A){try{const C=e.create(g,m);w(u(C,l,m))}catch(C){A(C)}})}if(d<2)throw new Error("Too few arguments provided");2===d?(c=g,g=l,l=m=void 0):3===d&&(l.getContext&&typeof c>"u"?(c=m,m=void 0):(c=m,m=g,g=l,l=void 0));try{const w=e.create(g,m);c(null,u(w,l,m))}catch(w){c(w)}}s.mo=a.bind(null,t.render),s.dY=a.bind(null,t.renderToDataURL),s.toString=a.bind(null,function(u,l,g){return o.render(u,g)})},2836:L=>{L.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214:(L,s,r)=>{const i=r(9089).getSymbolSize;s.getRowColCoords=function(e){if(1===e)return[];const t=Math.floor(e/7)+2,o=i(e),a=145===o?26:2*Math.ceil((o-13)/(2*t-2)),u=[o-7];for(let l=1;l<t-1;l++)u[l]=u[l-1]-a;return u.push(6),u.reverse()},s.getPositions=function(e){const t=[],o=s.getRowColCoords(e),a=o.length;for(let u=0;u<a;u++)for(let l=0;l<a;l++)0===u&&0===l||0===u&&l===a-1||u===a-1&&0===l||t.push([o[u],o[l]]);return t}},1018:(L,s,r)=>{const i=r(1677),n=["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 e(t){this.mode=i.ALPHANUMERIC,this.data=t}e.getBitsLength=function(o){return 11*Math.floor(o/2)+o%2*6},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(o){let a;for(a=0;a+2<=this.data.length;a+=2){let u=45*n.indexOf(this.data[a]);u+=n.indexOf(this.data[a+1]),o.put(u,11)}this.data.length%2&&o.put(n.indexOf(this.data[a]),6)},L.exports=e},4662:L=>{function s(){this.buffer=[],this.length=0}s.prototype={get:function(r){const i=Math.floor(r/8);return 1==(this.buffer[i]>>>7-r%8&1)},put:function(r,i){for(let n=0;n<i;n++)this.putBit(1==(r>>>i-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(r){const i=Math.floor(this.length/8);this.buffer.length<=i&&this.buffer.push(0),r&&(this.buffer[i]|=128>>>this.length%8),this.length++}},L.exports=s},5941:L=>{function s(r){if(!r||r<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=r,this.data=new Uint8Array(r*r),this.reservedBit=new Uint8Array(r*r)}s.prototype.set=function(r,i,n,e){const t=r*this.size+i;this.data[t]=n,e&&(this.reservedBit[t]=!0)},s.prototype.get=function(r,i){return this.data[r*this.size+i]},s.prototype.xor=function(r,i,n){this.data[r*this.size+i]^=n},s.prototype.isReserved=function(r,i){return this.reservedBit[r*this.size+i]},L.exports=s},4969:(L,s,r)=>
vendor: 5,174 bytes, line 1
1{const i=r(3174),n=r(1677);function e(t){this.mode=n.BYTE,"string"==typeof t&&(t=i(t)),this.data=new Uint8Array(t)}e.getBitsLength=function(o){return 8*o},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){for(let o=0,a=this.data.length;o<a;o++)t.put(this.data[o],8)},L.exports=e},3677:(L,s,r)=>{const i=r(7424),n=[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],e=[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,192,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(o,a){switch(a){case i.L:return n[4*(o-1)+0];case i.M:return n[4*(o-1)+1];case i.Q:return n[4*(o-1)+2];case i.H:return n[4*(o-1)+3];default:return}},s.getTotalCodewordsCount=function(o,a){switch(a){case i.L:return e[4*(o-1)+0];case i.M:return e[4*(o-1)+1];case i.Q:return e[4*(o-1)+2];case i.H:return e[4*(o-1)+3];default:return}}},7424:(L,s)=>{s.L={bit:1},s.M={bit:0},s.Q={bit:3},s.H={bit:2},s.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},s.from=function(n,e){if(s.isValid(n))return n;try{return function r(i){if("string"!=typeof i)throw new Error("Param is not a string");switch(i.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: "+i)}}(n)}catch(t){return e}}},6269:(L,s,r)=>{const i=r(9089).getSymbolSize;s.getPositions=function(t){const o=i(t);return[[0,0],[o-7,0],[0,o-7]]}},6254:(L,s,r)=>{const i=r(9089),t=i.getBCHDigit(1335);s.getEncodedBits=function(a,u){const l=a.bit<<3|u;let g=l<<10;for(;i.getBCHDigit(g)-t>=0;)g^=1335<<i.getBCHDigit(g)-t;return 21522^(l<<10|g)}},6686:(L,s)=>{const r=new Uint8Array(512),i=new Uint8Array(256);(function(){let e=1;for(let t=0;t<255;t++)r[t]=e,i[e]=t,e<<=1,256&e&&(e^=285);for(let t=255;t<512;t++)r[t]=r[t-255]})(),s.log=function(e){if(e<1)throw new Error("log("+e+")");return i[e]},s.exp=function(e){return r[e]},s.mul=function(e,t){return 0===e||0===t?0:r[i[e]+i[t]]}},3264:(L,s,r)=>{const i=r(1677),n=r(9089);function e(t){this.mode=i.KANJI,this.data=t}e.getBitsLength=function(o){return 13*o},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(t){let o;for(o=0;o<this.data.length;o++){let a=n.toSJIS(this.data[o]);if(a>=33088&&a<=40956)a-=33088;else{if(!(a>=57408&&a<=60351))throw new Error("Invalid SJIS character: "+this.data[o]+"\nMake sure your charset is UTF-8");a-=49472}a=192*(a>>>8&255)+(255&a),t.put(a,13)}},L.exports=e},3361:(L,s)=>{s.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function i(n,e,t){switch(n){case s.Patterns.PATTERN000:return(e+t)%2==0;case s.Patterns.PATTERN001:return e%2==0;case s.Patterns.PATTERN010:return t%3==0;case s.Patterns.PATTERN011:return(e+t)%3==0;case s.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(t/3))%2==0;case s.Patterns.PATTERN101:return e*t%2+e*t%3==0;case s.Patterns.PATTERN110:return(e*t%2+e*t%3)%2==0;case s.Patterns.PATTERN111:return(e*t%3+(e+t)%2)%2==0;default:throw new Error("bad maskPattern:"+n)}}s.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},s.from=function(e){return s.isValid(e)?parseInt(e,10):void 0},s.getPenaltyN1=function(e){const t=e.size;let o=0,a=0,u=0,l=null,g=null;for(let m=0;m<t;m++){a=u=0,l=g=null;for(let c=0;c<t;c++){let f=e.get(m,c);f===l?a++:(a>=5&&(o+=a-5+3),l=f,a=1),f=e.get(c,m),f===g?u++:(u>=5&&(o+=u-5+3),g=f,u=1)}a>=5&&(o+=a-5+3),u>=5&&(o+=u-5+3)}return o},s.getPenaltyN2=function(e){const t=e.size;let o=0;for(let a=0;a<t-1;a++)for(let u=0;u<t-1;u++){const l=e.get(a,u)+e.get(a,u+1)+e.get(a+1,u)+e.get(a+1,u+1);(4===l||0===l)&&o++}return 3*o},s.getPenaltyN3=function(e){const t=e.size;let o=0,a=0,u=0;for(let l=0;l<t;l++){a=u=0;for(let g=0;g<t;g++)a=a<<1&2047|e.get(l,g),g>=10&&(1488===a||93===a)&&o++,u=u<<1&2047|e.get(g,l),g>=10&&(1488===u||93===u)&&o++}return 40*o},s.getPenaltyN4=function(e){let t=0;const o=e.data.length;for(let u=0;u<o;u++)t+=e.data[u];return 10*Math.abs(Math.ceil(100*t/o/5)-10)},s.applyMask=function(e,t){const o=t.size;
vendor: 4,554 bytes, line 1
1for(let a=0;a<o;a++)for(let u=0;u<o;u++)t.isReserved(u,a)||t.xor(u,a,i(e,u,a))},s.getBestMask=function(e,t){const o=Object.keys(s.Patterns).length;let a=0,u=1/0;for(let l=0;l<o;l++){t(l),s.applyMask(l,e);const g=s.getPenaltyN1(e)+s.getPenaltyN2(e)+s.getPenaltyN3(e)+s.getPenaltyN4(e);s.applyMask(l,e),g<u&&(u=g,a=l)}return a}},1677:(L,s,r)=>{const i=r(377),n=r(9359);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(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!i.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},s.getBestModeForData=function(o){return n.testNumeric(o)?s.NUMERIC:n.testAlphanumeric(o)?s.ALPHANUMERIC:n.testKanji(o)?s.KANJI:s.BYTE},s.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},s.isValid=function(o){return o&&o.bit&&o.ccBits},s.from=function(o,a){if(s.isValid(o))return o;try{return function e(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.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: "+t)}}(o)}catch(u){return a}}},6628:(L,s,r)=>{const i=r(1677);function n(e){this.mode=i.NUMERIC,this.data=e.toString()}n.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(t){let o,a,u;for(o=0;o+3<=this.data.length;o+=3)a=this.data.substr(o,3),u=parseInt(a,10),t.put(u,10);const l=this.data.length-o;l>0&&(a=this.data.substr(o),u=parseInt(a,10),t.put(u,3*l+1))},L.exports=n},1744:(L,s,r)=>{const i=r(6686);s.mul=function(e,t){const o=new Uint8Array(e.length+t.length-1);for(let a=0;a<e.length;a++)for(let u=0;u<t.length;u++)o[a+u]^=i.mul(e[a],t[u]);return o},s.mod=function(e,t){let o=new Uint8Array(e);for(;o.length-t.length>=0;){const a=o[0];for(let l=0;l<t.length;l++)o[l]^=i.mul(t[l],a);let u=0;for(;u<o.length&&0===o[u];)u++;o=o.slice(u)}return o},s.generateECPolynomial=function(e){let t=new Uint8Array([1]);for(let o=0;o<e;o++)t=s.mul(t,new Uint8Array([1,i.exp(o)]));return t}},9460:(L,s,r)=>{const i=r(9089),n=r(7424),e=r(4662),t=r(5941),o=r(6214),a=r(6269),u=r(3361),l=r(3677),g=r(8670),m=r(1252),c=r(6254),f=r(1677),d=r(2868);function S(I,b,T){const p=I.size,B=c.getEncodedBits(b,T);let M,E;for(M=0;M<15;M++)E=1==(B>>M&1),I.set(M<6?M:M<8?M+1:p-15+M,8,E,!0),I.set(8,M<8?p-M-1:M<9?15-M-1+1:15-M-1,E,!0);I.set(p-8,8,1,!0)}function U(I,b,T,p){let B;if(Array.isArray(I))B=d.fromArray(I);else{if("string"!=typeof I)throw new Error("Invalid data");{let D=b;if(!D){const H=d.rawSplit(I);D=m.getBestVersionForData(H,T)}B=d.fromString(I,D||40)}}const M=m.getBestVersionForData(B,T);if(!M)throw new Error("The amount of data is too big to be stored in a QR Code");if(b){if(b<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 b=M;const E=function R(I,b,T){const p=new e;T.forEach(function(v){p.put(v.mode.bit,4),p.put(v.getLength(),f.getCharCountIndicator(v.mode,I)),v.write(p)});const E=8*(i.getSymbolTotalCodewords(I)-l.getTotalCodewordsCount(I,b));for(p.getLengthInBits()+4<=E&&p.put(0,4);p.getLengthInBits()%8!=0;)p.putBit(0);const y=(E-p.getLengthInBits())/8;for(let v=0;v<y;v++)p.put(v%2?17:236,8);return function N(I,b,T){const p=i.getSymbolTotalCodewords(b),M=p-l.getTotalCodewordsCount(b,T),E=l.getBlocksCount(b,T),v=E-p%E,D=Math.floor(p/E),H=Math.floor(M/E),j=H+1,k=D-H,W=new g(k);let O=0;const z=new Array(E),Y=new Array(E);let $=0;const x=new Uint8Array(I.buffer);for(let V=0;V<E;V++){const G=V<v?H:j;z[V]=x.slice(O,O+G),Y[V]=W.encode(z[V]),O+=G,$=Math.max($,G)}const K=new Uint8Array(p);let F,Q,J=0;for(F=0;F<$;F++)for(Q=0;Q<E;Q++)F<z[Q].length&&(K[J++]=z[Q][F]);for(F=0;F<k;F++)for(Q=0;Q<E;Q++)K[J++]=Y[Q][F];return K}(p,I,b)}(b,T,B),y=i.getSymbolSize(b),v=new t(y);return function h(I,b){const T=I.size,p=a.getPositions(b);for(let B=0;B<p.length;B++){const M=p[B][0],E=p[B][1];for(let y=-1;y<=7;y++)if(!(M+y<=-1||T<=M+y))for(let v=-1;v<=7;v++)E+v<=-1||T<=E+v||I.set(M+y,E+v,y>=0&&y<=6&&(0===v||6===v)||v>=0&&v<=6&&(0===y||6===y)||y>=2&&y<=4&&v>=2&&v<=4,!0)}}(v,b),function w(I){const b=I.size;
vendor: 5,812 bytes, line 1
1for(let T=8;T<b-8;T++){const p=T%2==0;I.set(T,6,p,!0),I.set(6,T,p,!0)}}(v),function A(I,b){const T=o.getPositions(b);for(let p=0;p<T.length;p++){const B=T[p][0],M=T[p][1];for(let E=-2;E<=2;E++)for(let y=-2;y<=2;y++)I.set(B+E,M+y,-2===E||2===E||-2===y||2===y||0===E&&0===y,!0)}}(v,b),S(v,T,0),b>=7&&function C(I,b){const T=I.size,p=m.getEncodedBits(b);let B,M,E;for(let y=0;y<18;y++)B=Math.floor(y/3),M=y%3+T-8-3,E=1==(p>>y&1),I.set(B,M,E,!0),I.set(M,B,E,!0)}(v,b),function P(I,b){const T=I.size;let p=-1,B=T-1,M=7,E=0;for(let y=T-1;y>0;y-=2)for(6===y&&y--;;){for(let v=0;v<2;v++)if(!I.isReserved(B,y-v)){let D=!1;E<b.length&&(D=1==(b[E]>>>M&1)),I.set(B,y-v,D),M--,-1===M&&(E++,M=7)}if(B+=p,B<0||T<=B){B-=p,p=-p;break}}}(v,E),isNaN(p)&&(p=u.getBestMask(v,S.bind(null,v,T))),u.applyMask(p,v),S(v,T,p),{modules:v,version:b,errorCorrectionLevel:T,maskPattern:p,segments:B}}s.create=function(b,T){if(typeof b>"u"||""===b)throw new Error("No input text");let B,M,p=n.M;return typeof T<"u"&&(p=n.from(T.errorCorrectionLevel,n.M),B=m.from(T.version),M=u.from(T.maskPattern),T.toSJISFunc&&i.setToSJISFunction(T.toSJISFunc)),U(b,B,p,M)}},8670:(L,s,r)=>{const i=r(1744);function n(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}n.prototype.initialize=function(t){this.degree=t,this.genPoly=i.generateECPolynomial(this.degree)},n.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(t.length+this.degree);o.set(t);const a=i.mod(o,this.genPoly),u=this.degree-a.length;if(u>0){const l=new Uint8Array(this.degree);return l.set(a,u),l}return a},L.exports=n},9359:(L,s)=>{const r="[0-9]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const e="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+")(?:.|[\r\n]))+";s.KANJI=new RegExp(n,"g"),s.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),s.BYTE=new RegExp(e,"g"),s.NUMERIC=new RegExp(r,"g"),s.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const t=new RegExp("^"+n+"$"),o=new RegExp("^"+r+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");s.testKanji=function(l){return t.test(l)},s.testNumeric=function(l){return o.test(l)},s.testAlphanumeric=function(l){return a.test(l)}},2868:(L,s,r)=>{const i=r(1677),n=r(6628),e=r(1018),t=r(4969),o=r(3264),a=r(9359),u=r(9089),l=r(2624);function g(C){return unescape(encodeURIComponent(C)).length}function m(C,S,P){const R=[];let N;for(;null!==(N=C.exec(P));)R.push({data:N[0],index:N.index,mode:S,length:N[0].length});return R}function c(C){const S=m(a.NUMERIC,i.NUMERIC,C),P=m(a.ALPHANUMERIC,i.ALPHANUMERIC,C);let R,N;return u.isKanjiModeEnabled()?(R=m(a.BYTE,i.BYTE,C),N=m(a.KANJI,i.KANJI,C)):(R=m(a.BYTE_KANJI,i.BYTE,C),N=[]),S.concat(P,R,N).sort(function(I,b){return I.index-b.index}).map(function(I){return{data:I.data,mode:I.mode,length:I.length}})}function f(C,S){switch(S){case i.NUMERIC:return n.getBitsLength(C);case i.ALPHANUMERIC:return e.getBitsLength(C);case i.KANJI:return o.getBitsLength(C);case i.BYTE:return t.getBitsLength(C)}}function A(C,S){let P;const R=i.getBestModeForData(C);if(P=i.from(S,R),P!==i.BYTE&&P.bit<R.bit)throw new Error('"'+C+'" cannot be encoded with mode '+i.toString(P)+".\n Suggested mode is: "+i.toString(R));switch(P===i.KANJI&&!u.isKanjiModeEnabled()&&(P=i.BYTE),P){case i.NUMERIC:return new n(C);case i.ALPHANUMERIC:return new e(C);case i.KANJI:return new o(C);case i.BYTE:return new t(C)}}s.fromArray=function(S){return S.reduce(function(P,R){return"string"==typeof R?P.push(A(R,null)):R.data&&P.push(A(R.data,R.mode)),P},[])},s.fromString=function(S,P){const N=function h(C){const S=[];for(let P=0;P<C.length;P++){const R=C[P];switch(R.mode){case i.NUMERIC:S.push([R,{data:R.data,mode:i.ALPHANUMERIC,length:R.length},{data:R.data,mode:i.BYTE,length:R.length}]);break;case i.ALPHANUMERIC:S.push([R,{data:R.data,mode:i.BYTE,length:R.length}]);break;case i.KANJI:S.push([R,{data:R.data,mode:i.BYTE,length:g(R.data)}]);break;case i.BYTE:S.push([{data:R.data,mode:i.BYTE,length:g(R.data)}])}}return S}(c(S,u.isKanjiModeEnabled())),U=function w(C,S){const P={},R={start:{}};let N=["start"];for(let U=0;U<C.length;U++){const I=C[U],b=[];for(let T=0;T<I.length;T++){const p=I[T],B=""+U+T;b.push(B),P[B]={node:p,lastCount:0},R[B]={};for(let M=0;M<N.length;M++){const E=N[M];P[E]&&P[E].node.mode===p.mode?(R[E][B]=f(P[E].lastCount+p.length,p.mode)-f(P[E].lastCount,p.mode),P[E].lastCount+=p.length):(P[E]&&(P[E].lastCount=p.length),R[E][B]=f(p.length,p.mode)+4+i.getCharCountIndicator(p.mode,S))}}N=b}for(let U=0;U<N.length;U++)R[N[U]].end=0;return{map:R,table:P}}(N,P),I=l.find_path(U.map,"start","end"),b=[];for(let T=1;T<I.length-1;T++)b.push(U.table[I[T]].node);return s.fromArray(function d(C){return C.reduce(function(S,P){const R=S.length-1>=0?S[S.length-1]:null;return R&&R.mode===P.mode?(S[S.length-1].data+=P.data,S):(S.push(P),S)},[])}(b))},s.rawSplit=function(S){return s.fromArray(c(S,u.isKanjiModeEnabled()))}},9089:(L,s)=>{let r;const i=[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(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},s.getSymbolTotalCodewords=function(e){return i[e]},s.getBCHDigit=function(n){let e=0;for(;0!==n;)e++,n>>>=1;return e},s.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');r=e},s.isKanjiModeEnabled=function(){return typeof r<"u"},s.toSJIS=function(e){return r(e)}}
1,377:(L,s)=>{s.isValid=function(i){return!isNaN(i)&&i>=1&&i<=40}},1252:(L,s,r)=>{const i=r(9089),n=r(3677),e=r(7424),t=r(1677),o=r(377),u=i.getBCHDigit(7973);function g(f,d){return t.getCharCountIndicator(f,d)+4}function m(f,d){let h=0;return f.forEach(function(w){const A=g(w.mode,d);h+=A+w.getBitsLength()}),h}s.from=function(d,h){return o.isValid(d)?parseInt(d,10):h},s.getCapacity=function(d,h,w){if(!o.isValid(d))throw new Error("Invalid QR Code version");typeof w>"u"&&(w=t.BYTE);const S=8*(i.getSymbolTotalCodewords(d)-n.getTotalCodewordsCount(d,h));if(w===t.MIXED)return S;const P=S-g(w,d);switch(w){case t.NUMERIC:return Math.floor(P/10*3);case t.ALPHANUMERIC:return Math.floor(P/11*2);case t.KANJI:return Math.floor(P/13);default:return Math.floor(P/8)}},s.getBestVersionForData=function(d,h){let w;const A=e.from(h,e.M);if(Array.isArray(d)){if(d.length>1)return function c(f,d){for(let h=1;h<=40;h++)if(m(f,h)<=s.getCapacity(h,d,t.MIXED))return h}(d,A);if(0===d.length)return 1;w=d[0]}else w=d;return function l(f,d,h){for(let w=1;w<=40;w++)if(d<=s.getCapacity(w,h,f))return w}(w.mode,w.getLength(),A)},s.getEncodedBits=function(d){if(!o.isValid(d)||d<7)throw new Error("Invalid QR Code version");let h=d<<12;for(;i.getBCHDigit(h)-u>=0;
1)h^=7973<<i.getBCHDigit(h)-u;return d<<12|h}},4649:(L,s,r)=>{const i=r(9458);s.render=function(o,a,u){let l=u,g=a;typeof l>"u"&&(!a||!a.getContext)&&(l=a,a=void 0),a||(g=function e(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),l=i.getOptions(l);const m=i.getImageWidth(o.modules.size,l),c=g.getContext("2d"),f=c.createImageData(m,m);return i.qrToImageData(f.data,o,l),function n(t,o,a){t.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}(c,g,m),c.putImageData(f,0,0),g},s.renderToDataURL=function(o,a,u){let l=u;return typeof l>"u"&&(!a||!a.getContext)&&(l=a,a=void 0),l||(l={}),s.render(o,a,l).toDataURL(l.type||"image/png",(l.rendererOpts||{}).quality)}},6511:(L,s,r)=>{const i=r(9458);function n(o,a){const u=o.a/255,l=a+'="'+o.hex+'"';return u<1?l+" "+a+'-opacity="'+u.toFixed(2).slice(1)+'"':l}function e(o,a,u){let l=o+a;return typeof u<"u"&&(l+=" "+u),l}s.render=function(a,u,l){const g=i.getOptions(u),m=a.modules.size,c=a.modules.data,f=m+2*g.margin,d=g.color.light.a?"<path "+n(g.color.light,"fill")+' d="M0 0h'+f+"v"+f+'H0z"/>':"",h="<path "+n(g.color.dark,"stroke")+' d="'+function t(o,a,u){let l="",g=0,m=!1,c=0;for(let f=0;f<o.length;f++){const d=Math.floor(f%a),h=Math.floor(f/a);!d&&!m&&(m=!0),o[f]?(c++,f>0&&d>0&&o[f-1]||(l+=m?e("M",d+u,.5+h+u):e("m",g,0),g=0,m=!1),d+1<a&&o[f+1]||(l+=e("h",c),c=0)):g++}return l}(c,m,g.margin)+'"/>',C='<svg xmlns="http://www.w3.org/2000/svg" '+(g.width?'width="'+g.width+'" height="'+g.width+'" ':"")+'viewBox="0 0 '+f+" "+f+'" shape-rendering="crispEdges">'+d+h+"</svg>\n";return"function"==typeof l&&l(null,C),C}},9458:(L,s)=>{function r(i){if("number"==typeof i&&(i=i.toString()),"string"!=typeof i)throw new Error("Color should be defined as hex string");let n=i.slice().replace("#","").split("");if(n.length<3||5===n.length||n.length>8)throw new Error("Invalid hex color: "+i);(3===n.length||4===n.length)&&(n=Array.prototype.concat.apply([],n.map(function(t){return[t,t]}))),6===n.length&&n.push("F","F");const e=parseInt(n.join(""),16);return{r:e>>24&255,g:e>>16&255,b:e>>8&255,a:255&e,hex:"#"+n.slice(0,6).join("")}}s.getOptions=function(n){n||(n={}),n.color||(n.color={});const t=n.width&&n.width>=21?n.width:void 0;return{width:t,scale:t?4:n.scale||4,margin:typeof n.margin>"u"||null===n.margin||n.margin<0?4:n.margin,color:{dark:r(n.color.dark||"#000000ff"),light:r(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},s.getScale=function(n,e){return e.width&&e.width>=n+2*e.margin?e.width/(n+2*e.margin):e.scale},s.getImageWidth=function(n,e){const t=s.getScale(n,e);return Math.floor((n+2*e.margin)*t)},s.qrToImageData=function(n,e,t){const o=e.modules.size,a=e.modules.data,u=s.getScale(o,t),l=Math.floor((o+2*t.margin)*u),g=t.margin*u,m=[t.color.light,t.color.dark];for(let c=0;c<l;c++)for(let f=0;f<l;f++){let d=4*(c*l+f),h=t.color.light;c>=g&&f>=g&&c<l-g&&f<l-g&&(h=m[a[Math.floor((c-g)/u)*o+Math.floor((f-g)/u)]?1:0]),n[d++]=h.r,n[d++]=h.g,n[d++]=h.b,n[d]=h.a}}},5398:(L,s,r)=>{"use strict";r.d(s,{c:()=>a,f:()=>u});var i=r(467),n=r(3953),e=r(5933),t=r(345);const o=["qrcElement"];let a=(()=>{var l;class g{constructor(c,f){this.renderer=c,this.sanitizer=f,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 n.bkB,this.context=null}ngOnChanges(){var c=this;return(0,i.A)(function*(){yield c.createQRCode()})()}isValidQrCodeText(c){return!1===this.allowEmptyString?!(typeof c>"u"||""===c||"null"===c||null===c):!(typeof c>"u")}toDataURL(c){return new Promise((f,d)=>{(0,e.dY)(this.qrdata,c,(h,w)=>{h?d(h):f(w)})})}toCanvas(c,f){return new Promise((d,h)=>{(0,e.mo)(c,this.qrdata,f,w=>{w?h(w):d("success")})})}toSVG(c){return new Promise((f,d)=>{(0,e.toString)(this.qrdata,c,(h,w)=>{h?d(h):f(w)})})}renderElement(c){for(const f of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,f);this.renderer.appendChild(this.qrcElement.nativeElement,c)}createQRCode(){var c=this;return(0,i.A)(function*(){c.version&&c.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),c.version=40):c.version&&c.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),c.version=1):void 0!==c.version&&isNaN(c.version)&&(console.warn("[angularx-qrcode] ver
1sion should be a number, defaulting to auto."),c.version=void 0);try{if(!c.isValidQrCodeText(c.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");c.isValidQrCodeText(c.qrdata)&&""===c.qrdata&&(c.qrdata=" ");const f={color:{dark:c.colorDark,light:c.colorLight},errorCorrectionLevel:c.errorCorrectionLevel,margin:c.margin,scale:c.scale,version:c.version,width:c.width},d=c.imageSrc,h=c.imageHeight||40,w=c.imageWidth||40;switch(c.elementType){case"canvas":{const A=c.renderer.createElement("canvas");c.context=A.getContext("2d"),c.toCanvas(A,f).then(()=>{if(c.ariaLabel&&c.renderer.setAttribute(A,"aria-label",`${c.ariaLabel}`),c.title&&c.renderer.setAttribute(A,"title",`${c.title}`),d&&c.context){c.centerImage=new Image(w,h),d!==c.centerImage.src&&(c.centerImage.src=d),h!==c.centerImage.height&&(c.centerImage.height=h),w!==c.centerImage.width&&(c.centerImage.width=w);const C=c.centerImage;C&&(C.onload=()=>{var S;null===(S=c.context)||void 0===S||S.drawImage(C,A.width/2-w/2,A.height/2-h/2,w,h)})}c.renderElement(A),c.emitQRCodeURL(A)}).catch(C=>{console.error("[angularx-qrcode] canvas error:",C)});break}case"svg":{const A=c.renderer.createElement("div");c.toSVG(f).then(C=>{c.renderer.setProperty(A,"innerHTML",C);const S=A.firstChild;c.renderer.setAttribute(S,"height",`${c.width}`),c.renderer.setAttribute(S,"width",`${c.width}`),c.renderElement(S),c.emitQRCodeURL(S)}).catch(C=>{console.error("[angularx-qrcode] svg error:",C)});break}default:{const A=c.renderer.createElement("img");c.toDataURL(f).then(C=>{c.alt&&A.setAttribute("alt",c.alt),c.ariaLabel&&A.setAttribute("aria-label",c.ariaLabel),A.setAttribute("src",C),c.title&&A.setAttribute("title",c.title),c.renderElement(A),c.emitQRCodeURL(A)}).catch(C=>{console.error("[angularx-qrcode] img/url error:",C)})}}}catch(f){console.error("[angularx-qrcode] Error generating QR Code:",f.message)}})()}convertBase64ImageUrlToBlob(c){const f=c.split(";base64,"),d=f[0].split(":")[1],h=atob(f[1]),w=new Uint8Array(h.length);for(let A=0;A<h.length;++A)w[A]=h.charCodeAt(A);return new Blob([w],{type:d})}emitQRCodeURL(c){const f=c.constructor.name;if(f===SVGSVGElement.name){const S=new Blob([c.outerHTML],{type:"image/svg+xml"}),P=URL.createObjectURL(S),R=this.sanitizer.bypassSecurityTrustUrl(P);return void this.qrCodeURL.emit(R)}let d="";f===HTMLCanvasElement.name&&(d=c.toDataURL("image/png")),f===HTMLImageElement.name&&(d=c.src);const h=this.convertBase64ImageUrlToBlob(d),w=URL.createObjectURL(h),A=this.sanitizer.bypassSecurityTrustUrl(w);this.qrCodeURL.emit(A)}}return(l=g).\u0275fac=function(c){return new(c||l)(n.rXU(n.sFG),n.rXU(t.up))},l.\u0275cmp=n.VBU({type:l,selectors:[["qrcode"]],viewQuery:function(c,f){if(1&c&&n.GBs(o,7),2&c){let d;n.mGM(d=n.lsd())&&(f.qrcElement=d.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:[n.OA$],decls:2,vars:2,consts:[["qrcElement",""]],template:function(c,f){1&c&&n.nrm(0,"div",null,0),2&c&&n.HbH(f.cssClass)},encapsulation:2,changeDetection:0}),g})(),u=(()=>{var l;class g{}return(l=g).\u0275fac=function(c){return new(c||l)},l.\u0275mod=n.$C({type:l}),l.\u0275inj=n.G2t({}),g})()}}]);
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.