1import{a as Mi,b as Pi}from"./chunk-RGHBXYK6.js";import{$a as ui,$b as pi,A as et,Ac as bi,Ba as k,Bc as Vt,C as w,Ca as rt,D as Ce,Dc as V,Fa as oi,G as mt,Ga as ht,H as pt,Hb as qt,K as ei,Kc as Ci,Lc as M,M as J,Ma as O,Nb as T,Oa as j,Ob as z,Pb as mi,Qf as Yt,R as Rt,Rf as Zt,Ta as I,U as Lt,Ua as f,Uc as Qt,Va as m,Vc as _t,W as it,Wa as E,Wc as G,Wf as Ai,X as nt,Za as ai,_a as si,_c as _i,bb as bt,bf as yi,bg as _e,cd as vi,d as Tt,da as N,db as Ct,dc as gi,df as Ii,fa as ii,fb as B,g as be,ga as q,gb as ci,gc as Ot,gf as Ei,h as Mt,hb as li,hf as wi,ie as $t,if as ki,ja as ni,jb as Nt,je as Ht,jf as Si,kb as Ft,kf as Di,lb as Ut,lf as xi,mc as jt,mf as Bi,oc as hi,oe as Kt,of as Gt,pb as di,pe as Jt,qa as gt,rc as ot,s as Pt,sa as v,sb as fi,tb as d,u as Xe,vb as A,vf as Wt,wg as Xt,xa as ri,ya as b,z as ti,zc as zt,zg as Ti}from"./chunk-DQ6IZECO.js";import{e as g,g as qn,h as he}from"./chunk-JKXMCOYO.js";var Ui=g((Po,Fi)=>{Fi.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var Q=g(W=>{var ke,Xn=[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];W.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 e*4+17};W.getSymbolTotalCodewords=function(e){return Xn[e]};W.getBCHDigit=function(n){let e=0;for(;n!==0;)e++,n>>>=1;return e};W.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');ke=e};W.isKanjiModeEnabled=function(){return typeof ke<"u"};W.toSJIS=function(e){return ke(e)}});var ee=g(D=>{D.L={bit:1};D.M={bit:0};D.Q={bit:3};D.H={bit:2};function tr(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return D.L;case"m":case"medium":return D.M;case"q":case"quartile":return D.Q;case"h":case"high":return D.H;default:throw new Error("Unknown EC Level: "+n)}}D.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4};D.from=function(e,t){if(D.isValid(e))return e;try{return tr(e)}catch(i){return t}}});var ji=g((No,Oi)=>{function qi(){this.buffer=[],this.length=0}qi.prototype={get:function(n){let e=Math.floor(n/8);return(this.buffer[e]>>>7-n%8&1)===1},put:function(n,e){for(let t=0;t<e;t++)this.putBit((n>>>e-t-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(n){let e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),n&&(this.buffer[e]|=128>>>this.length%8),this.length++}};Oi.exports=qi});var Vi=g((Fo,zi)=>{function It(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)}It.prototype.set=function(n,e,t,i){let r=n*this.size+e;this.data[r]=t,i&&(this.reservedBit[r]=!0)};It.prototype.get=function(n,e){return this.data[n*this.size+e]};It.prototype.xor=function(n,e,t){this.data[n*this.size+e]^=t};It.prototype.isReserved=function(n,e){return this.reservedBit[n*this.size+e]};zi.exports=It});var Qi=g(ie=>{var er=Q().getSymbolSize;ie.getRowColCoords=function(e){if(e===1)return[];let t=Math.floor(e/7)+2,i=er(e),r=i===145?26:Math.ceil((i-13)/(2*t-2))*2,o=[i-7];for(let a=1;a<t-1;a++)o[a]=o[a-1]-r;return o.push(6),o.reverse()};ie.getPositions=function(e){let t=[],i=ie.getRowColCoords(e),r=i.length;for(let o=0;o<r;o++)for(let a=0;a<r;a++)o===0&&a===0||o===0&&a===r-1||o===r-1&&a===0||t.push([i[o],i[a]]);return t}});var Ki=g(Hi=>{var ir=Q().getSymbolSize,$i=7;Hi.getPositions=function(e){let t=ir(e);return[[0,0],[t-$i,0],[0,t-$i]]}});var Ji=g(C=>{C.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var Y={N1:3,N2:3,N3:40,N4:10};C.isValid=function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7};C.from=function(e){return C.isValid(e)?parseInt(e,10):void 0};C.getPenaltyN1=function(e){let t=e.size,i=0,r=0,o=0,a=null,s=null;for(let u=0;u<t;u++){r=o=0,a=s=null;for(let c=0;c<t;c++){let l=e.get(u,c);l===a?r++:(r>=5&&(i+=Y.N1+(r-5)),a=l,r=1),l=e.get(c,u),l===s?o++:(o>=5&&(i+=Y.N1+(o-5)),s=l,o=1)}r>=5&&(i+=Y.N1+(r-5)),o>=5&&(i+=Y.N1+(o-5))}return i};C.getPenaltyN2=function(e){let t=e.size,i=0;for(let r=0;r<t-1;r++)for(let o=0;o<t-1;o++){let a=e.get(r,o)+e.get(r,o+1)+e.get(r+1,o)+e.get(r+1,o+1);(a===4||a===0)&&i++}return i*Y.N2};C.getPenaltyN3=function(e){let t=e.size,i=0,r=0,o=0;for(let a=0;a<t;a++){r=o=0;for(let s=0;s<t;s++)r=r<<1&2047|e.get(a,s),s>=10&&(r===1488||r===93)&&i++,o=o<<1&2047|e.get(s,a),s>=10&&(o===1488||o===93)&&i++}return i*Y.N3};C.getPenaltyN4=function(e){let t=0,i=e.data.length;for(let o=0;o<i;o++)t+=e.data[o];return Math.abs(Math.ceil(t*100/i/5)-10)*Y.N4};function nr(n,e,t){switch(n){case C.Patterns.PATTERN000:return(e+t)%2===0;case C.Patterns.PATTERN001:return e%2===0;case C.Patterns.PATTERN010:return t%3===0;case C.Patterns.PATTERN011:return(e+t)%3===0;case C.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(t/3))%2===0;case C.Patterns.PATTERN101:return e*t%2+e*t%3===0;case C.Patterns.PATTERN110:return(e*t%2+e*t%3)%2===0;case C.Patterns.PATTERN111:return(e*t%3+(e+t)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}C.applyMask=function(e,t){let i=t.size;
1for(let r=0;r<i;r++)for(let o=0;o<i;o++)t.isReserved(o,r)||t.xor(o,r,nr(e,o,r))};C.getBestMask=function(e,t){let i=Object.keys(C.Patterns).length,r=0,o=1/0;for(let a=0;a<i;a++){t(a),C.applyMask(a,e);let s=C.getPenaltyN1(e)+C.getPenaltyN2(e)+C.getPenaltyN3(e)+C.getPenaltyN4(e);C.applyMask(a,e),s<o&&(o=s,r=a)}return r}});var De=g(Se=>{var $=ee(),ne=[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],re=[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];Se.getBlocksCount=function(e,t){switch(t){case $.L:return ne[(e-1)*4+0];case $.M:return ne[(e-1)*4+1];case $.Q:return ne[(e-1)*4+2];case $.H:return ne[(e-1)*4+3];default:return}};Se.getTotalCodewordsCount=function(e,t){switch(t){case $.L:return re[(e-1)*4+0];case $.M:return re[(e-1)*4+1];case $.Q:return re[(e-1)*4+2];case $.H:return re[(e-1)*4+3];default:return}}});var Gi=g(ae=>{var Et=new Uint8Array(512),oe=new Uint8Array(256);(function(){let e=1;for(let t=0;t<255;t++)Et[t]=e,oe[e]=t,e<<=1,e&256&&(e^=285);for(let t=255;t<512;t++)Et[t]=Et[t-255]})();ae.log=function(e){if(e<1)throw new Error("log("+e+")");return oe[e]};ae.exp=function(e){return Et[e]};ae.mul=function(e,t){return e===0||t===0?0:Et[oe[e]+oe[t]]}});var Wi=g(wt=>{var xe=Gi();wt.mul=function(e,t){let i=new Uint8Array(e.length+t.length-1);for(let r=0;r<e.length;r++)for(let o=0;o<t.length;o++)i[r+o]^=xe.mul(e[r],t[o]);return i};wt.mod=function(e,t){let i=new Uint8Array(e);for(;i.length-t.length>=0;){let r=i[0];for(let a=0;a<t.length;a++)i[a]^=xe.mul(t[a],r);let o=0;for(;o<i.length&&i[o]===0;)o++;i=i.slice(o)}return i};wt.generateECPolynomial=function(e){let t=new Uint8Array([1]);for(let i=0;i<e;i++)t=wt.mul(t,new Uint8Array([1,xe.exp(i)]));return t}});var Xi=g((Qo,Zi)=>{var Yi=Wi();function Be(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}Be.prototype.initialize=function(e){this.degree=e,this.genPoly=Yi.generateECPolynomial(this.degree)};Be.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");let t=new Uint8Array(e.length+this.degree);t.set(e);let i=Yi.mod(t,this.genPoly),r=this.degree-i.length;if(r>0){let o=new Uint8Array(this.degree);return o.set(i,r),o}return i};Zi.exports=Be});var Ae=g(tn=>{tn.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}});var Te=g(F=>{var en="[0-9]+",rr="[A-Z $%*+\\-./:]+",kt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";kt=kt.replace(/u/g,"\\u");var or="(?:(?![A-Z0-9 $%*+\\-./:]|"+kt+`)(?:.|[\r 2]))+`;F.KANJI=new RegExp(kt,"g");F.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");F.BYTE=new RegExp(or,"g");F.NUMERIC=new RegExp(en,"g");F.ALPHANUMERIC=new RegExp(rr,"g");var ar=new RegExp("^"+kt+"$"),sr=new RegExp("^"+en+"$"),ur=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");F.testKanji=function(e){return ar.test(e)};F.testNumeric=function(e){return sr.test(e)};F.testAlphanumeric=function(e){return ur.test(e)}});var H=g(y=>{var cr=Ae(),Me=Te();y.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};y.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};y.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};y.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};y.MIXED={bit:-1};y.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!cr.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]};y.getBestModeForData=function(e){return Me.testNumeric(e)?y.NUMERIC:Me.testAlphanumeric(e)?y.ALPHANUMERIC:Me.testKanji(e)?y.KANJI:y.BYTE};y.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")};y.isValid=function(e){return e&&e.bit&&e.ccBits};
2function lr(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return y.NUMERIC;case"alphanumeric":return y.ALPHANUMERIC;case"kanji":return y.KANJI;case"byte":return y.BYTE;default:throw new Error("Unknown mode: "+n)}}y.from=function(e,t){if(y.isValid(e))return e;try{return lr(e)}catch(i){return t}}});var sn=g(Z=>{var se=Q(),dr=De(),nn=ee(),K=H(),Pe=Ae(),on=7973,rn=se.getBCHDigit(on);function fr(n,e,t){for(let i=1;i<=40;i++)if(e<=Z.getCapacity(i,t,n))return i}function an(n,e){return K.getCharCountIndicator(n,e)+4}function mr(n,e){let t=0;return n.forEach(function(i){let r=an(i.mode,e);t+=r+i.getBitsLength()}),t}function pr(n,e){for(let t=1;t<=40;t++)if(mr(n,t)<=Z.getCapacity(t,e,K.MIXED))return t}Z.from=function(e,t){return Pe.isValid(e)?parseInt(e,10):t};Z.getCapacity=function(e,t,i){if(!Pe.isValid(e))throw new Error("Invalid QR Code version");typeof i>"u"&&(i=K.BYTE);let r=se.getSymbolTotalCodewords(e),o=dr.getTotalCodewordsCount(e,t),a=(r-o)*8;if(i===K.MIXED)return a;let s=a-an(i,e);switch(i){case K.NUMERIC:return Math.floor(s/10*3);case K.ALPHANUMERIC:return Math.floor(s/11*2);case K.KANJI:return Math.floor(s/13);case K.BYTE:default:return Math.floor(s/8)}};Z.getBestVersionForData=function(e,t){let i,r=nn.from(t,nn.M);if(Array.isArray(e)){if(e.length>1)return pr(e,r);if(e.length===0)return 1;i=e[0]}else i=e;return fr(i.mode,i.getLength(),r)};Z.getEncodedBits=function(e){if(!Pe.isValid(e)||e<7)throw new Error("Invalid QR Code version");let t=e<<12;for(;se.getBCHDigit(t)-rn>=0;)t^=on<<se.getBCHDigit(t)-rn;return e<<12|t}});var dn=g(ln=>{var Re=Q(),cn=1335,gr=21522,un=Re.getBCHDigit(cn);ln.getEncodedBits=function(e,t){let i=e.bit<<3|t,r=i<<10;for(;Re.getBCHDigit(r)-un>=0;)r^=cn<<Re.getBCHDigit(r)-un;return(i<<10|r)^gr}});var mn=g((Wo,fn)=>{var hr=H();function st(n){this.mode=hr.NUMERIC,this.data=n.toString()}st.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)};st.prototype.getLength=function(){return this.data.length};st.prototype.getBitsLength=function(){return st.getBitsLength(this.data.length)};st.prototype.write=function(e){let t,i,r;for(t=0;t+3<=this.data.length;t+=3)i=this.data.substr(t,3),r=parseInt(i,10),e.put(r,10);let o=this.data.length-t;o>0&&(i=this.data.substr(t),r=parseInt(i,10),e.put(r,o*3+1))};fn.exports=st});var gn=g((Yo,pn)=>{var br=H(),Le=["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 ut(n){this.mode=br.ALPHANUMERIC,this.data=n}ut.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};ut.prototype.getLength=function(){return this.data.length};ut.prototype.getBitsLength=function(){return ut.getBitsLength(this.data.length)};ut.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let i=Le.indexOf(this.data[t])*45;i+=Le.indexOf(this.data[t+1]),e.put(i,11)}this.data.length%2&&e.put(Le.indexOf(this.data[t]),6)};pn.exports=ut});var bn=g((Zo,hn)=>{var Cr=H();function ct(n){this.mode=Cr.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}ct.getBitsLength=function(e){return e*8};ct.prototype.getLength=function(){return this.data.length};ct.prototype.getBitsLength=function(){return ct.getBitsLength(this.data.length)};ct.prototype.write=function(n){for(let e=0,t=this.data.length;e<t;e++)n.put(this.data[e],8)};hn.exports=ct});var _n=g((Xo,Cn)=>{var _r=H(),vr=Q();function lt(n){this.mode=_r.KANJI,this.data=n}lt.getBitsLength=function(e){return e*13};lt.prototype.getLength=function(){return this.data.length};lt.prototype.getBitsLength=function(){return lt.getBitsLength(this.data.length)};lt.prototype.write=function(n){let e;for(e=0;e<this.data.length;e++){let t=vr.toSJIS(this.data[e]);if(t>=33088&&t<=40956)t-=33088;else if(t>=57408&&t<=60351)t-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` 3Make sure your charset is UTF-8`);t=(t>>>8&255)*192+(t&255),n.put(t,13)}};Cn.exports=lt});var vn=g((ta,Ne)=>{"use strict";var St={single_source_shortest_paths:function(n,e,t){var i={},r={};r[e]=0;var o=St.PriorityQueue.make();o.push(e,0);for(var a,s,u,c,l,_,h,S,x;!o.empty();){a=o.pop(),s=a.value,c=a.cost,l=n[s]||{};for(u in l)l.hasOwnProperty(u)&&(_=l[u],h=c+_,S=r[u],x=typeof r[u]>"u",(x||S>h)&&(r[u]=h,o.push(u,h),i[u]=s))}if(typeof t<"u"&&typeof r[t]>"u"){var U=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(U)}return i},extract_shortest_path_from_predecessor_list:function(n,e){for(var t=[],i=e,r;i;)t.push(i),r=n[i],i=n[i];return t.reverse(),t},find_path:function(n,e,t){var i=St.single_source_shortest_paths(n,e,t);return St.extract_shortest_path_from_predecessor_list(i,t)},PriorityQueue:{make:function(n){var e=St.PriorityQueue,t={},i;n=n||{};for(i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t.queue=[],t.sorter=n.sorter||e.default_sorter,t},default_sorter:function(n,e){return n.cost-e.cost},push:function(n,e){var t={value:n,cost:e};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};typeof Ne<"u"&&(Ne.exports=St)});var xn=g(dt=>{var p=H(),En=mn(),wn=gn(),kn=bn(),Sn=_n(),Dt=Te(),ue=Q(),yr=vn();function yn(n){return unescape(encodeURIComponent(n)).length}function xt(n,e,t){let i=[],r;for(;(r=n.exec(t))!==null;)i.push({data:r[0],index:r.index,mode:e,length:r[0].length});return i}function Dn(n){let e=xt(Dt.NUMERIC,p.NUMERIC,n),t=xt(Dt.ALPHANUMERIC,p.ALPHANUMERIC,n),i,r;return ue.isKanjiModeEnabled()?(i=xt(Dt.BYTE,p.BYTE,n),r=xt(Dt.KANJI,p.KANJI,n)):(i=xt(Dt.BYTE_KANJI,p.BYTE,n),r=[]),e.concat(t,i,r).sort(function(a,s){return a.index-s.index}).map(function(a){return{data:a.data,mode:a.mode,length:a.length}})}function Fe(n,e){switch(e){case p.NUMERIC:return En.getBitsLength(n);case p.ALPHANUMERIC:return wn.getBitsLength(n);case p.KANJI:return Sn.getBitsLength(n);case p.BYTE:return kn.getBitsLength(n)}}function Ir(n){return n.reduce(function(e,t){let i=e.length-1>=0?e[e.length-1]:null;return i&&i.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)},[])}function Er(n){let e=[];for(let t=0;t<n.length;t++){let i=n[t];switch(i.mode){case p.NUMERIC:e.push([i,{data:i.data,mode:p.ALPHANUMERIC,length:i.length},{data:i.data,mode:p.BYTE,length:i.length}]);break;case p.ALPHANUMERIC:e.push([i,{data:i.data,mode:p.BYTE,length:i.length}]);break;case p.KANJI:e.push([i,{data:i.data,mode:p.BYTE,length:yn(i.data)}]);break;case p.BYTE:e.push([{data:i.data,mode:p.BYTE,length:yn(i.data)}])}}return e}function wr(n,e){let t={},i={start:{}},r=["start"];for(let o=0;o<n.length;o++){let a=n[o],s=[];for(let u=0;u<a.length;u++){let c=a[u],l=""+o+u;s.push(l),t[l]={node:c,lastCount:0},i[l]={};for(let _=0;_<r.length;_++){let h=r[_];t[h]&&t[h].node.mode===c.mode?(i[h][l]=Fe(t[h].lastCount+c.length,c.mode)-Fe(t[h].lastCount,c.mode),t[h].lastCount+=c.length):(t[h]&&(t[h].lastCount=c.length),i[h][l]=Fe(c.length,c.mode)+4+p.getCharCountIndicator(c.mode,e))}}r=s}for(let o=0;o<r.length;o++)i[r[o]].end=0;return{map:i,table:t}}function In(n,e){let t,i=p.getBestModeForData(n);
3if(t=p.from(e,i),t!==p.BYTE&&t.bit<i.bit)throw new Error('"'+n+'" cannot be encoded with mode '+p.toString(t)+`. 4 Suggested mode is: `+p.toString(i));switch(t===p.KANJI&&!ue.isKanjiModeEnabled()&&(t=p.BYTE),t){case p.NUMERIC:return new En(n);case p.ALPHANUMERIC:return new wn(n);case p.KANJI:return new Sn(n);case p.BYTE:return new kn(n)}}dt.fromArray=function(e){return e.reduce(function(t,i){return typeof i=="string"?t.push(In(i,null)):i.data&&t.push(In(i.data,i.mode)),t},[])};dt.fromString=function(e,t){let i=Dn(e,ue.isKanjiModeEnabled()),r=Er(i),o=wr(r,t),a=yr.find_path(o.map,"start","end"),s=[];for(let u=1;u<a.length-1;u++)s.push(o.table[a[u]].node);return dt.fromArray(Ir(s))};dt.rawSplit=function(e){return dt.fromArray(Dn(e,ue.isKanjiModeEnabled()))}});var An=g(Bn=>{var le=Q(),Ue=ee(),kr=ji(),Sr=Vi(),Dr=Qi(),xr=Ki(),je=Ji(),ze=De(),Br=Xi(),ce=sn(),Ar=dn(),Tr=H(),qe=xn();function Mr(n,e){let t=n.size,i=xr.getPositions(e);for(let r=0;r<i.length;r++){let o=i[r][0],a=i[r][1];for(let s=-1;s<=7;s++)if(!(o+s<=-1||t<=o+s))for(let u=-1;u<=7;u++)a+u<=-1||t<=a+u||(s>=0&&s<=6&&(u===0||u===6)||u>=0&&u<=6&&(s===0||s===6)||s>=2&&s<=4&&u>=2&&u<=4?n.set(o+s,a+u,!0,!0):n.set(o+s,a+u,!1,!0))}}function Pr(n){let e=n.size;for(let t=8;t<e-8;t++){let i=t%2===0;n.set(t,6,i,!0),n.set(6,t,i,!0)}}function Rr(n,e){let t=Dr.getPositions(e);for(let i=0;i<t.length;i++){let r=t[i][0],o=t[i][1];for(let a=-2;a<=2;a++)for(let s=-2;s<=2;s++)a===-2||a===2||s===-2||s===2||a===0&&s===0?n.set(r+a,o+s,!0,!0):n.set(r+a,o+s,!1,!0)}}function Lr(n,e){let t=n.size,i=ce.getEncodedBits(e),r,o,a;for(let s=0;s<18;s++)r=Math.floor(s/3),o=s%3+t-8-3,a=(i>>s&1)===1,n.set(r,o,a,!0),n.set(o,r,a,!0)}function Oe(n,e,t){let i=n.size,r=Ar.getEncodedBits(e,t),o,a;for(o=0;o<15;o++)a=(r>>o&1)===1,o<6?n.set(o,8,a,!0):o<8?n.set(o+1,8,a,!0):n.set(i-15+o,8,a,!0),o<8?n.set(8,i-o-1,a,!0):o<9?n.set(8,15-o-1+1,a,!0):n.set(8,15-o-1,a,!0);n.set(i-8,8,1,!0)}function Nr(n,e){let t=n.size,i=-1,r=t-1,o=7,a=0;for(let s=t-1;s>0;s-=2)for(s===6&&s--;;){for(let u=0;u<2;u++)if(!n.isReserved(r,s-u)){let c=!1;a<e.length&&(c=(e[a]>>>o&1)===1),n.set(r,s-u,c),o--,o===-1&&(a++,o=7)}if(r+=i,r<0||t<=r){r-=i,i=-i;break}}}function Fr(n,e,t){let i=new kr;t.forEach(function(u){i.put(u.mode.bit,4),i.put(u.getLength(),Tr.getCharCountIndicator(u.mode,n)),u.write(i)});let r=le.getSymbolTotalCodewords(n),o=ze.getTotalCodewordsCount(n,e),a=(r-o)*8;for(i.getLengthInBits()+4<=a&&i.put(0,4);i.getLengthInBits()%8!==0;)i.putBit(0);let s=(a-i.getLengthInBits())/8;for(let u=0;u<s;u++)i.put(u%2?17:236,8);return Ur(i,n,e)}function Ur(n,e,t){let i=le.getSymbolTotalCodewords(e),r=ze.getTotalCodewordsCount(e,t),o=i-r,a=ze.getBlocksCount(e,t),s=i%a,u=a-s,c=Math.floor(i/a),l=Math.floor(o/a),_=l+1,h=c-l,S=new Br(h),x=0,U=new Array(a),Ye=new Array(a),me=0,Un=new Uint8Array(n.buffer);for(let tt=0;tt<a;tt++){let ge=tt<u?l:_;U[tt]=Un.slice(x,x+ge),Ye[tt]=S.encode(U[tt]),x+=ge,me=Math.max(me,ge)}let pe=new Uint8Array(i),Ze=0,R,L;for(R=0;R<me;R++)for(L=0;L<a;L++)R<U[L].length&&(pe[Ze++]=U[L][R]);for(R=0;R<h;R++)for(L=0;L<a;L++)pe[Ze++]=Ye[L][R];return pe}function qr(n,e,t,i){let r;if(Array.isArray(n))r=qe.fromArray(n);else if(typeof n=="string"){let c=e;if(!c){let l=qe.rawSplit(n);c=ce.getBestVersionForData(l,t)}r=qe.fromString(n,c||40)}else throw new Error("Invalid data");let o=ce.getBestVersionForData(r,t);if(!o)throw new Error("The amount of data is too big to be stored in a QR Code");if(!e)e=o;else if(e<o)throw new Error(` 5The chosen QR Code version cannot contain this amount of data. 6Minimum version required to store current data is: `+o+`. 7`);let a=Fr(e,t,r),s=le.getSymbolSize(e),u=new Sr(s);return Mr(u,e),Pr(u),Rr(u,e),Oe(u,t,0),e>=7&&Lr(u,e),Nr(u,a),isNaN(i)&&(i=je.getBestMask(u,Oe.bind(null,u,t))),je.applyMask(i,u),Oe(u,t,i),{modules:u,version:e,errorCorrectionLevel:t,maskPattern:i,segments:r}}Bn.create=function(e,t){if(typeof e>"u"||e==="")throw new Error("No input text");let i=Ue.M,r,o;return typeof t<"u"&&(i=Ue.from(t.errorCorrectionLevel,Ue.M),r=ce.from(t.version),o=je.from(t.maskPattern),t.toSJISFunc&&le.setToSJISFunction(t.toSJISFunc)),qr(e,r,i,o)}});var Ve=g(X=>{function Tn(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="str
7ing")throw new Error("Color should be defined as hex string");let e=n.slice().replace("#","").split("");if(e.length<3||e.length===5||e.length>8)throw new Error("Invalid hex color: "+n);(e.length===3||e.length===4)&&(e=Array.prototype.concat.apply([],e.map(function(i){return[i,i]}))),e.length===6&&e.push("F","F");let t=parseInt(e.join(""),16);return{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:t&255,hex:"#"+e.slice(0,6).join("")}}X.getOptions=function(e){e||(e={}),e.color||(e.color={});let t=typeof e.margin>"u"||e.margin===null||e.margin<0?4:e.margin,i=e.width&&e.width>=21?e.width:void 0,r=e.scale||4;return{width:i,scale:i?4:r,margin:t,color:{dark:Tn(e.color.dark||"#000000ff"),light:Tn(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}};X.getScale=function(e,t){return t.width&&t.width>=e+t.margin*2?t.width/(e+t.margin*2):t.scale};X.getImageWidth=function(e,t){let i=X.getScale(e,t);return Math.floor((e+t.margin*2)*i)};X.qrToImageData=function(e,t,i){let r=t.modules.size,o=t.modules.data,a=X.getScale(r,i),s=Math.floor((r+i.margin*2)*a),u=i.margin*a,c=[i.color.light,i.color.dark];for(let l=0;l<s;l++)for(let _=0;_<s;_++){let h=(l*s+_)*4,S=i.color.light;if(l>=u&&_>=u&&l<s-u&&_<s-u){let x=Math.floor((l-u)/a),U=Math.floor((_-u)/a);S=c[o[x*r+U]?1:0]}e[h++]=S.r,e[h++]=S.g,e[h++]=S.b,e[h]=S.a}
7}});var Mn=g(de=>{var Qe=Ve();function Or(n,e,t){n.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=t,e.width=t,e.style.height=t+"px",e.style.width=t+"px"}function jr(){try{return document.createElement("canvas")}catch(n){throw new Error("You need to specify a canvas element")}}de.render=function(e,t,i){let r=i,o=t;typeof r>"u"&&(!t||!t.getContext)&&(r=t,t=void 0),t||(o=jr()),r=Qe.getOptions(r);let a=Qe.getImageWidth(e.modules.size,r),s=o.getContext("2d"),u=s.createImageData(a,a);return Qe.qrToImageData(u.data,e,r),Or(s,o,a),s.putImageData(u,0,0),o};de.renderToDataURL=function(e,t,i){let r=i;typeof r>"u"&&(!t||!t.getContext)&&(r=t,t=void 0),r||(r={});let o=de.render(e,t,r),a=r.type||"image/png",s=r.rendererOpts||{};return o.toDataURL(a,s.quality)}});var Ln=g(Rn=>{var zr=Ve();function Pn(n,e){let t=n.a/255,i=e+'="'+n.hex+'"';return t<1?i+" "+e+'-opacity="'+t.toFixed(2).slice(1)+'"':i}function $e(n,e,t){let i=n+e;return typeof t<"u"&&(i+=" "+t),i}function Vr(n,e,t){let i="",r=0,o=!1,a=0;for(let s=0;s<n.length;s++){let u=Math.floor(s%e),c=Math.floor(s/e);!u&&!o&&(o=!0),n[s]?(a++,s>0&&u>0&&n[s-1]||(i+=o?$e("M",u+t,.5+c+t):$e("m",r,0),r=0,o=!1),u+1<e&&n[s+1]||(i+=$e("h",a),a=0)):r++}return i}Rn.render=function(e,t,i){let r=zr.getOptions(t),o=e.modules.size,a=e.modules.data,s=o+r.margin*2,u=r.color.light.a?"<path "+Pn(r.color.light,"fill")+' d="M0 0h'+s+"v"+s+'H0z"/>':"",c="<path "+Pn(r.color.dark,"stroke")+' d="'+Vr(a,o,r.margin)+'"/>',l='viewBox="0 0 '+s+" "+s+'"',h='<svg xmlns="http://www.w3.org/2000/svg" '+(r.width?'width="'+r.width+'" height="'+r.width+'" ':"")+l+' shape-rendering="crispEdges">'+u+c+`</svg> 8`;return typeof i=="function"&&i(null,h),h}});var Fn=g(Bt=>{var Qr=Ui(),He=An(),Nn=Mn(),$r=Ln();function Ke(n,e,t,i,r){let o=[].slice.call(arguments,1),a=o.length,s=typeof o[a-1]=="function";if(!s&&!Qr())throw new Error("Callback required as last argument");if(s){if(a<2)throw new Error("Too few arguments provided");a===2?(r=t,t=e,e=i=void 0):a===3&&(e.getContext&&typeof r>"u"?(r=i,i=void 0):(r=i,i=t,t=e,e=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(t=e,e=i=void 0):a===2&&!e.getContext&&(i=t,t=e,e=void 0),new Promise(function(u,c){try{let l=He.create(t,i);u(n(l,e,i))}catch(l){c(l)}})}try{let u=He.create(t,i);r(null,n(u,e,i))}catch(u){r(u)}}Bt.create=He.create;Bt.toCanvas=Ke.bind(null,Nn.render);Bt.toDataURL=Ke.bind(null,Nn.renderToDataURL);Bt.toString=Ke.bind(null,function(n,e,t){return $r.render(n,t)})});var te=class ve{set play(e){this.startTimer()}constructor(e){this.cd=e,this.time=6e4,this.interval=1e3,this.completed=new J}ngOnInit(){this.startTimer()}startTimer(){this?.timerSubscription&&this.timerSubscription.unsubscribe(),this.currentTime=this.time,this.cd.detectChanges(),this.timerSubscription=Pt(this.interval).pipe(Zt(this),q(()=>{this.timerProcessing||(this.timerSubscription.unsubscribe(),this.completed.emit(!0))}),ii(()=>this.timerProcessing)).subscribe(()=>{this.currentTime-=this.interval,this.cd.detectChanges()})}get timerProcessing(){return this.currentTime>0}static{this.\u0275fac=function(t){return new(t||ve)(b(pi))}}static{this.\u0275cmp=k({type:ve,selectors:[["lib-timer"]],hostAttrs:[1,"lib--timer"],inputs:{play:"play",time:"time",interval:"interval"},outputs:{completed:"completed"},exportAs:["libTimer"],standalone:!1,decls:2,vars:4,template:function(t,i){t&1&&(d(0),T(1,"date")),t&2&&A(" ",mi(1,1,i.currentTime,"mm:ss")," ")},dependencies:[hi],styles:[".lib--timer[_nghost-%COMP%]{color:#00000080;font-variant-numeric:tabular-nums}"],changeDetection:0})}};te=Wt([Yt()],te);var ye=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=rt({type:n})}static{this.\u0275inj=et({imports:[ot]})}}return n})();var zn=n=>({processing:n});function Vn(n,e){n&1&&(d(0),T(1,"translate"),f(2,"span",1),d(3,' \u0410\u0422 \u041A\u0411 "\u041F\u0440\u0438\u0432\u0430\u0442\u0411\u0430\u043D\u043A" '),E(4,"span",2),m()),n&2&&A(" ",z(1,1,"MODULES.BANK_ID.DATA_PROCESSING")," ")}function Qn(n,e){n&1&&(d(0),T(1,"translate")),n&2&&A(" ",z(1,1,"MODULES.BANK_ID.DATA_PROCESSED")," ")}function $n(n,e){if(n&1&&(f(0,"p",0),O(1,Vn,5,3),O(2,Qn,2,3),m()),n&2){let t=e;v(),j(t.processing?1:-1),v(),j(t.processing?-1:2)}}var Ri=(()=>{class n{constructor(t,i,r,o){this.idEndpoint=t,this.route=i,this.router=r,this.bankIdService=o,this.processing$$=new Tt(!0),this.processing$=this.processing$$.asObservable()}
8ngOnInit(){let t=this.route.snapshot.queryParams,{code:i}=t;this.router.navigate([]),i?this.privatIdentification(i).pipe(Lt(2e3),q(()=>this.bankIdService.handleIdCallbackResult("success")),N(()=>this.bankIdService.completeRegistrationTasks()),nt(()=>{this.processing$$.next(!1),this.processing$$.complete()}),Rt(r=>(this.bankIdService.handleIdCallbackResult("error"),Mt(r)))).subscribe():this.router.navigate(["/cabinet"])}privatIdentification(t){let i=this.bankIdService.getFullPrivatRedirectCallbackURL();return this.idEndpoint.getDataFromPrivatbankBankIdUsingPOST({code:t,redirectUri:i})}static{this.\u0275fac=function(i){return new(i||n)(b(M),b(Vt),b(V),b(at))}}static{this.\u0275cmp=k({type:n,selectors:[["lib-callback"]],standalone:!1,decls:2,vars:5,consts:[[1,"callback__message"],[1,"callback__message-part"],[1,"callback__processing"]],template:function(i,r){if(i&1&&(O(0,$n,3,2,"p",0),T(1,"async")),i&2){let o;j((o=qt(3,zn,z(1,1,r.processing$)))?0:-1,o)}},dependencies:[jt,Kt],styles:['@charset "UTF-8";.callback__message[_ngcontent-%COMP%]{text-align:center}.callback__message-part[_ngcontent-%COMP%]{white-space:nowrap}.callback__processing[_ngcontent-%COMP%]{position:relative;left:0;display:inline-block;width:20px;text-align:left}.callback__processing[_ngcontent-%COMP%]:after{content:"\\2026";overflow:hidden;display:inline-block;width:0;vertical-align:bottom;animation:_ngcontent-%COMP%_ellipsis steps(5,end) 1.2s infinite}@keyframes _ngcontent-%COMP%_ellipsis{to{width:20px}}@-webkit-keyframes _ngcontent-%COMP%_ellipsis{to{width:20px}}'],changeDetection:0})}}return n})();var Hn=n=>({processing:n});function Kn(n,e){n&1&&(d(0),T(1,"translate"),f(2,"span",1),d(3," BankID \u041D\u0411\u0423 "),E(4,"span",2),m()),n&2&&A(" ",z(1,1,"MODULES.BANK_ID.DATA_PROCESSING")," ")}function Jn(n,e){n&1&&(d(0),T(1,"translate")),n&2&&A(" ",z(1,1,"MODULES.BANK_ID.DATA_PROCESSED")," ")}function Gn(n,e){if(n&1&&(f(0,"p",0),O(1,Kn,5,3),O(2,Jn,2,3),m()),n&2){let t=e;v(),j(t.processing?1:-1),v(),j(t.processing?-1:2)}}var Li=(()=>{class n{constructor(t,i,r,o){this.idEndpoint=t,this.route=i,this.router=r,this.bankIdService=o,this.processing$$=new Tt(!0),this.processing$=this.processing$$.asObservable()}ngOnInit(){let t=this.route.snapshot.queryParams,{code:i}=t;this.router.navigate([]),i?i&&this.bankIdIdentification(i,t).pipe(Lt(2e3),q(()=>this.bankIdService.handleIdCallbackResult("success")),N(()=>this.bankIdService.completeRegistrationTasks()),nt(()=>{this.processing$$.next(!1),this.processing$$.complete()}),Rt(r=>(this.bankIdService.handleIdCallbackResult("error"),Mt(r)))).subscribe():this.router.navigate(["/cabinet"])}bankIdIdentification(t,i){let r=window.location.href,{state:o}=i;return this.idEndpoint.getDataFromBankIdAuditedUsingPOST({code:t,url:r,state:o})}static{this.\u0275fac=function(i){return new(i||n)(b(M),b(Vt),b(V),b(at))}}static{this.\u0275cmp=k({type:n,selectors:[["lib-callback"]],standalone:!1,decls:2,vars:5,consts:[[1,"callback__message"],[1,"callback__message-part"],[1,"callback__processing"]],template:function(i,r){if(i&1&&(O(0,Gn,3,2,"p",0),T(1,"async")),i&2){let o;j((o=qt(3,Hn,z(1,1,r.processing$)))?0:-1,o)}},dependencies:[jt,Kt],styles:['@charset "UTF-8";.callback__message[_ngcontent-%COMP%]{text-align:center}.callback__message-part[_ngcontent-%COMP%]{white-space:nowrap}.callback__processing[_ngcontent-%COMP%]{position:relative;left:0;display:inline-block;width:20px;text-align:left}.callback__processing[_ngcontent-%COMP%]:after{content:"\\2026";overflow:hidden;display:inline-block;width:0;vertical-align:bottom;animation:_ngcontent-%COMP%_ellipsis steps(5,end) 1.2s infinite}@keyframes _ngcontent-%COMP%_ellipsis{to{width:20px}}@-webkit-keyframes _ngcontent-%COMP%_ellipsis{to{width:20px}}'],changeDetection:0})}}return n})();var Ni=(()=>{class n{constructor(t,i){this.router=t,this.tasksService=i}ngOnInit(){setTimeout(()=>{this.tasksService.getAndUpdateTasks().subscribe(()=>{this.router.navigate(["/cabinet"])})},4e3)}static{this.\u0275fac=function(i){return new(i||n)(b(V),b(Xt))}}static{this.\u0275cmp=k({type:n,selectors:[["lib-callback"]],standalone:!1,decls:7,vars:0,consts:[[1,"diia-callback__container"],[1,"diia-callback"],[1,"diia-callback__title"],[1,"diia-callback__brand-logo"],[1,"diia-callback__message"]],template:function(i,r){i&1&&(f(0,"div",0)(1,"div",1)(2,"div",2),d(3," \u
80414\u044F\u043A\u0443\u0454\u043C\u043E, \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454\u043C\u043E \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044E "),m(),E(4,"div",3),f(5,"div",4),d(6," \u0412\u0438 \u0431\u0443\u0434\u0435\u0442\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u043F\u0435\u0440\u0435\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0456 \u043D\u0430 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0443 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u0437\u0430 \u0434\u0435\u043A\u0456\u043B\u044C\u043A\u0430 \u0441\u0435\u043A\u0443\u043D\u0434. "),m()()())},encapsulation:2,changeDetection:0})}}return n})();var Wn={path:"bankid/callback",component:Li},Yn={path:"diia/callback",component:Ni},we={path:"privat24/callback",component:Ri},Zn=[Wn,we,Yn];var ft=qn(Fn(),1);var Hr=["qrcElement"],fe=(()=>{class n{allowEmptyString=!1;colorDark="#000000ff";colorLight="#ffffffff";cssClass="qrcode";elementType="canvas";errorCorrectionLevel="M";imageSrc;imageHeight;imageWidth;margin=4;qrdata="";scale=4;version;width=10;alt;ariaLabel;title;qrCodeURL=new J;qrcElement;context=null;centerImage;renderer=Ce(ri);sanitizer=Ce(zt);ngOnChanges(){return he(this,null,function*(){yield this.createQRCode()})}isValidQrCodeText(t){return this.allowEmptyString===!1?!(typeof t>"u"||t===""||t==="null"||t===null):!(typeof t>"u")}toDataURL(t){return new Promise((i,r)=>{(0,ft.toDataURL)(this.qrdata,t,(o,a)=>{o?r(o):i(a)})})}toCanvas(t,i){return new Promise((r,o)=>{(0,ft.toCanvas)(t,this.qrdata,i,a=>{a?o(a):r("success")})})}toSVG(t){return new Promise((i,r)=>{(0,ft.toString)(this.qrdata,t,(o,a)=>{o?r(o):i(a)})})}renderElement(t){for(let i of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,i);this.renderer.appendChild(this.qrcElement.nativeElement,t)}createQRCode(){return he(this,null,function*(){this.version&&this.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),this.version=40):this.version&&this.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),this.version=1):this.version!==void 0&&isNaN(this.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),this.version=void 0);try{if(!this.isValidQrCodeText(this.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");this.isValidQrCodeText(this.qrdata)&&this.qrdata===""&&(this.qrdata=" ");let t={color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},i=this.imageSrc,r=this.imageHeight?+this.imageHeight:40,o=this.imageWidth?+this.imageWidth:40;switch(this.elementType){case"canvas":{let a=this.renderer.createElement("canvas");this.context=a.getContext("2d"),this.toCanvas(a,t).then(()=>{if(this.ariaLabel&&this.renderer.setAttribute(a,"aria-label",`${this.ariaLabel}`),this.title&&this.renderer.setAttribute(a,"title",`${this.title}`),i&&this.context){this.centerImage=new Image(o,r),i!==this.centerImage.src&&(this.centerImage.crossOrigin="anonymous",this.centerImage.src=i),r!==this.centerImage.height&&(this.centerImage.height=r),o!==this.centerImage.width&&(this.centerImage.width=o);let s=this.centerImage;s&&(s.onload=()=>{this.context?.drawImage(s,a.width/2-o/2,a.height/2-r/2,o,r)})}this.renderElement(a),this.emitQRCodeURL(a)}).catch(s=>{console.error("[angularx-qrcode] canvas error:",s)});break}case"svg":{let a=this.renderer.createElement("div");this.toSVG(t).then(s=>{this.renderer.setProperty(a,"innerHTML",s);let u=a.firstChild;this.renderer.setAttribute(u,"height",`${this.width}`),this.renderer.setAttribute(u,"width",`${this.width}`),this.renderElement(u),this.emitQRCodeURL(u)}).catch(s=>{console.error("[angularx-qrcode] svg error:",s)});break}default:{let a=this.renderer.createElement("img");this.toDataURL(t).then(s=>{this.alt&&a.setAttribute("alt",this.alt),this.ariaLabel&&a.setAttribute("aria-label",this.ariaLabel),a.setAttribute("src",s),this.title&&a.setAttribute("title",this.title),this.renderElement(a),this.emitQRCodeURL(a)}).catch(s=>{console.error("[angularx-qrcode] img/url error:",s)})}}}catch(t){console.error("[angularx-qrcode] Error generating QR Code:",t.message)}})}convertBase64ImageUrlToBlob(t){let i=t.split(";base64,"),r=i[0].split(":")[1],o=atob(i[1]),a=new Uint8Array(o.length);for(let s=0;s<o.length;
8++s)a[s]=o.charCodeAt(s);return new Blob([a],{type:r})}emitQRCodeURL(t){let i=t.constructor.name;if(i===SVGSVGElement.name){let u=t.outerHTML,c=new Blob([u],{type:"image/svg+xml"}),l=URL.createObjectURL(c),_=this.sanitizer.bypassSecurityTrustUrl(l);this.qrCodeURL.emit(_);return}let r="";i===HTMLCanvasElement.name&&(r=t.toDataURL("image/png")),i===HTMLImageElement.name&&(r=t.src);let o=this.convertBase64ImageUrlToBlob(r),a=URL.createObjectURL(o),s=this.sanitizer.bypassSecurityTrustUrl(a);this.qrCodeURL.emit(s)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=k({type:n,selectors:[["qrcode"]],viewQuery:function(i,r){if(i&1&&Nt(Hr,7),i&2){let o;Ft(o=Ut())&&(r.qrcElement=o.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:[ni],decls:2,vars:2,consts:[["qrcElement",""]],template:function(i,r){i&1&&ai(0,"div",null,0),i&2&&fi(r.cssClass)},encapsulation:2,changeDetection:0})}return n})();var Gr=["timer"];function Wr(n,e){if(n&1&&(f(0,"div",9),E(1,"qrcode",10),f(2,"a",11)(3,"button",12),d(4," \u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043E\u043A \u0414\u0456\u044F "),m()()()),n&2){let t=B();v(),I("qrdata",t.qrCodeLink)("width",110)("margin",0)("elementType","img"),v(),I("href",t.qrCodeLink,gt)}}var Ge=(n,e)=>{let t=n==="LOCAL"?"":"/cabinet",i=`${window.location.origin}${t}/cabinet/diia/callback`;return{returnLink:/Android|iPhone|iPad|iPod|IEMobile|Mobile/i.test(navigator.userAgent||"")||window.innerWidth<768?i:null,offerName:e}},At=class Je extends Ei{constructor(e,t,i,r){super(e),this.injector=e,this.environment=t,this.identificationEndpointService=i,this.dialogRef=r,this.qrCodeTimer=180*1e3,this.qrCodeLink="",this.qrCodeLink=this.data.deeplink}ngOnInit(){Pt(this.qrCodeTimer).pipe(N(()=>this.identificationEndpointService.startDiiaMultisharingSessionUsingPOST(Ge(this.environment.standName,this.environment.brandName))),nt(()=>{this.dialogRef&&this.dialogRef.close()}),it(3),Zt(this)).subscribe(({deeplink:e})=>{this.qrCodeLink=e,this.timer.startTimer()})}ngOnDestroy(){clearInterval(this.refreshInterval)}static{this.\u0275fac=function(t){return new(t||Je)(b(ei),b(_t),b(M),b(Ii))}}static{this.\u0275cmp=k({type:Je,selectors:[["lib-diia-qr-code-dialog"]],viewQuery:function(t,i){if(t&1&&Nt(Gr,5),t&2){let r;Ft(r=Ut())&&(i.timer=r.first)}},standalone:!1,features:[oi],decls:17,vars:2,consts:[["timer","libTimer"],["dialogContent",""],[1,"diia-qr-code"],[1,"diia-qr-code__title"],[1,"diia-qr-code__description"],[1,"diia-qr-code__qr"],["class","diia-qr-code__qr-link",4,"ngIf"],[1,"diia-qr-code__timer"],[3,"time"],[1,"diia-qr-code__qr-link"],[3,"qrdata","width","margin","elementType"],[1,"diia-qr-code__link",3,"href"],["mat-flat-button","",1,"ukf-button","diia-qr-code__button-link"]],template:function(t,i){t&1&&(f(0,"lib-dialog-frame"),si(1,1),f(2,"div",2)(3,"div",3),d(4," \u0412\u0435\u0440\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u044F \u0447\u0435\u0440\u0435\u0437 \u0414\u0456\u044E "),m(),f(5,"div",4),d(6," \u041C\u0430\u0454\u0442\u0435 ID-\u043A\u0430\u0440\u0442\u043A\u0443 \u0430\u0431\u043E \u0437\u0430\u043A\u043E\u0440\u0434\u043E\u043D\u043D\u0438\u0439 \u043F\u0430\u0441\u043F\u043E\u0440\u0442 \u0443 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043A\u0443 \u0414\u0456\u044F? "),E(7,"br"),d(8," \u0412\u0456\u0434\u0441\u043A\u0430\u043D\u0443\u0439\u0442\u0435 QR-\u043A\u043E\u0434 \u0441\u043A\u0430\u043D\u0435\u0440\u043E\u043C \u0443 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043A\u0443 \u0414\u0456\u044F \u0439 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u044C\u0442\u0435 \u0437\u0430\u043F\u0438\u0442. "),E(9,"br"),d(10," \u0422\u0430\u043A \u0432\u0438 \u043F\u0456\u0434\u043F\u0438\u0448\u0435\u0442\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0438 \u0434\u043B\u044F \u0432\u0435\u0440\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u0457. "),m(),f(11,"div",5),ht(12,Wr,5,5,"div",6),f(13,"div",7),d(14," \u041A\u043E\u0434 \u0432\u0430\u043B\u0456\u0434\u043D\u0438\u0439 \u0449\u0435 - "),E(15,"lib-timer",8,0),m()()(),ui(),m()),t&2&&(v(12),I("ngIf",i.qrCodeLink),v(3),I("time",i.qrCodeTimer))},dependencies:[Ot,Di,$t,te,fe],styles:["[_ngcontent-%COMP%]:root{--c__primary: #3F9496;--c__primary--light: #EAF5F5;--c__primary--dark: #3F9496;--c__accent: #fec601;--c__gray: #bdbdbd;--c__gray--light: #f5f5f5;--c__gray--extra_light: #fafafa;--c__gray--dark: #616161;--c__error: #f44336;--c__text--primary: #373742;--c__text--secondary: #bdbdbd}"]})}};At=Wt([Yt()],At);var at=(()=>{class n{constructor(t,i,r,o,a,s,u,c,l,_,h,S,x){this.locationStrategy=t,this.cookieService=i,this.env=r,this.window=o,this.router=a,this.dialogService=s,this.storeService=u,this.formEndpoint=c,this.lsService=l,this.tasksService=_,this.flutterWebviewBridgeService=h,this.environment=S,this.identificationEndpointService=x}getRedirectUrlToBankIdService(t){let i=this.cookieService.get("utm_source"),r=this.env.bankId.state,o=this.getUUID();return(i.toLowerCase().includes("app_ios")||i.toLowerCase().includes("app_android"))&&(r="mobile_app_"+r),r=r+"_"+o,`${this.env.bankId.baseUrl}/v1/bank/oauth2/authorize? 9 response_type=code 10 &client_id=${this.env.bankId.clientId} 11 &state=${r} 12 &dataset=${this.env.bankId.dataset} 13 &originator_url=${this.window.location.origin} 14 ${t?`&bank_id=${t}`:""}`.replace(/\s/g,"")}getRedirectUrlToPrivat24Service(){let t=this.getFullPrivatRedirectCallbackURL();return`${this.env.privat24Id.baseUrl}/DataAccessService/das/authorize? 15 response_type=code 16 &bank=privat 17 &client_id=${this.env.privat24Id.clientId} 18 &state=${this.env.brandName.toLowerCase()} 19 &redirect_uri=${t}`.replace(/\s/g,"")}getFullPrivatRedirectCallbackURL(){let t=this.locationStrategy.prepareExternalUrl(we.path);return`${location.origin}${t}`}
19getUUID(){let t=typeof globalThis.crypto<"u"?globalThis.crypto:void 0;if(t?.randomUUID)return t.randomUUID();if(t?.getRandomValues){let i=new Uint8Array(16);t.getRandomValues(i),i[6]=i[6]&15|64,i[8]=i[8]&63|128;let r=Array.from(i,o=>o.toString(16).padStart(2,"0")).join("");return`${r.slice(0,8)}-${r.slice(8,12)}-${r.slice(12,16)}-${r.slice(16,20)}-${r.slice(20)}`}return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,i=>{let r=Math.floor(Math.random()*16);return(i==="x"?r:r&3|8).toString(16)})}handleIdCallbackResult(t){let r={content:{success:"MODULES.BANK_ID.DATA_SUCCESS",error:"MODULES.BANK_ID.DATA_ERROR"}[t]};this.dialogService.open(xi,{data:r}).afterClosed().pipe(N(()=>this.formEndpoint.getBorrowerData().pipe(q(o=>this.storeService.updateProfile(o))))).subscribe()}completeRegistrationTasks(){return this.tasksService.getAndUpdateTasks().pipe(N(t=>{let i=_e(t,[G.tasks.bankIdIdentificationAttempt,G.tasks.borrowerRegistration,G.tasks.waitingBankIdData]),r=_e(t,[G.tasks.duplicateMatch3d3dForm,G.tasks.duplicateEnrollment3dForm]);return r?(this.lsService.set(G.taskId,r.id),this.router.navigate(["/cabinet/face-scan"]),be(!0)):(this.lsService.remove(_i.clientFromLanding),this.router.navigate(["/cabinet"]),i?.id?this.formEndpoint.completeTaskUsingPOST({taskId:i.id,variables:{}}):be(!0))}))}openDiiaQrCodeDialog(){this.identificationEndpointService.startDiiaMultisharingSessionUsingPOST(Ge(this.environment.standName,this.environment.brandName)).subscribe(({deeplink:t})=>{if(this.flutterWebviewBridgeService.isInFlutterWebView()||this.isMobileBrowser())this.window.location.href=t;else{let i=this.dialogService.open(At,{data:{deeplink:t},panelClass:"diia-qr-code-panel"});i.afterClosed().toPromise(),this.router.events.pipe(Xe(r=>r instanceof bi),it(1)).subscribe(()=>i.close())}})}isMobileBrowser(t=768){let i=navigator.userAgent.toLowerCase(),r=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile/i.test(i),o=window.innerWidth<=t;return r||o}static{this.\u0275fac=function(i){return new(i||n)(w(gi),w(Ai),w(_t),w(Qt),w(V),w(Bi),w(yi),w(Ci),w(vi),w(Xt),w(Ti),w(_t),w(M))}}static{this.\u0275prov=ti({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Yr=[[["","privatBtnText",""]]],Zr=["[privatBtnText]"];function Xr(n,e){n&1&&(f(0,"div",6)(1,"ck-tooltip",7)(2,"div",8)(3,"div")(4,"b"),d(5,"\u042F\u043A\u0449\u043E \u0432\u0438 \u043C\u0430\u0454\u0442\u0435 \u0440\u0430\u0445\u0443\u043D\u043E\u043A \u0432 \u041F\u0440\u0438\u0432\u0430\u0442\u0411\u0430\u043D\u043A\u0443"),m(),d(6,' - \u043E\u0431\u0438\u0440\u0430\u0439\u0442\u0435 \u0441\u043F\u043E\u0441\u0456\u0431 "\u041F\u0440\u0438\u0432\u0430\u0442\u0411\u0430\u043D\u043A", \u0431\u043E \u0446\u0435 \u0448\u0432\u0438\u0434\u043A\u043E, \u043F\u0440\u043E\u0441\u0442\u043E \u0442\u0430 \u0437\u043D\u0456\u043C\u0430\u0454 \u043B\u0456\u043C\u0456\u0442\u0438 \u043F\u043E \u0441\u0443\u043C\u0430\u043C \u043F\u043E\u0437\u0438\u043A \u0437 \u0431\u043E\u043A\u0443 \u0437\u0430\u043A\u043E\u043D\u043E\u0434\u0430\u0432\u0441\u0442\u0432\u0430. '),m(),f(7,"div")(8,"b"),d(9,"\u042F\u043A\u0449\u043E \u0432\u0438 \u043A\u043B\u0456\u0454\u043D\u0442 \u0456\u043D\u0448\u043E\u0433\u043E \u0431\u0430\u043D\u043A\u0443"),m(),d(10," - \u043E\u0431\u0438\u0440\u0430\u0439\u0442\u0435 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u044E \u0447\u0435\u0440\u0435\u0437 \u0414\u0456\u044E. \u0426\u0435 \u043E\u0444\u0456\u0446\u0456\u0439\u043D\u043E \u0442\u0430 \u0431\u0435\u0437\u043F\u0435\u0447\u043D\u043E \u0456 \u0442\u0430\u043A\u043E\u0436 \u0437\u043D\u0456\u043C\u0430\u0454 \u043E\u0431\u043C\u0435\u0436\u0435\u043D\u043D\u044F \u043F\u043E \u0441\u0443\u043C\u0430\u043C \u043F\u043E\u0437\u0438\u043A. "),m(),f(11,"div")(12,"b"),d(13,"\u042F\u043A\u0449\u043E \u0432\u0438 \u043D\u0435 \u043C\u0430\u0454\u0442\u0435 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043A\u0443 \u0414\u0456\u044F"),m(),d(14,' - \u043E\u0431\u0438\u0440\u0430\u0439\u0442\u0435 \u0441\u043F\u043E\u0441\u0456\u0431 "Bank ID" - \u0446\u0435 \u043E\u0444\u0456\u0446\u0456\u0439\u043D\u0438\u0439 \u0442\u0430 \u043B\u0435\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u043C\u0435\u0442\u043E\u0434, \u0437 \u044F\u043A\u0438\u043C \u0432\u0438 \u0437\u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0442\u0440\u0438\u043C\u0443\u0432\u0430\u0442\u0438 \u043F\u043E\u0437\u0438\u043A\u0438 \u0430\u043B\u0435 \u0432 \u043C\u0435\u0436\u0430\u0445 40 000 \u0433\u0440\u043D \u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C '),m()()(),d(15," \u042F\u043A\u0438\u0439 \u0441\u043F\u043E\u0441\u0456\u0431 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u0457 \u043E\u0431\u0440\u0430\u0442\u0438? "),m())}function to(n,e){n&1&&(f(0,"span",12)(1,"span"),d(2," \u0428\u0432\u0438\u0434\u043A\u0430 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u044F "),m(),f(3,"span"),d(4," \u0434\u043B\u044F \u043A\u043B\u0456\u0454\u043D\u0442\u0456\u0432 "),f(5,"b",13),d(6,"\u041F\u0440\u0438\u0432\u0430\u0442\u0411\u0430\u043D\u043A\u0443"),m()()())}function eo(n,e){if(n&1){let t=bt();f(0,"button",9),Ct("click",function(){mt(t);let r=B();return r.redirectToPrivat24Service(),pt(r.gtmEventPrivat.emit())}),E(1,"img",10),f(2,"span",null,0),li(4),m(),ht(5,to,7,0,"span",11),m()}if(n&2){let t=di(3),i=B();I("id",i.actionBtnIdPrivat),v(),I("src",i.privatImgURL||"./assets/images/privat-24.svg",gt),v(4),I("ngIf",!t.children.length)}}function io(n,e){if(n&1){let t=bt();f(0,"button",14),Ct("click",function(){mt(t);let r=B();return pt(r.openDiiaQrCodeDialog())}
19),E(1,"img",10),f(2,"span",15),d(3," \u0412\u0435\u0440\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u044F \u0447\u0435\u0440\u0435\u0437 \u0414\u0456\u044E "),m()()}if(n&2){let t=B();I("id",t.actionBtnDiia),v(),I("src","./assets/images/diia-icon.svg",gt)}}function no(n,e){if(n&1){let t=bt();f(0,"button",16),Ct("click",function(){mt(t);let r=B();return r.redirectToBankIdService(),pt(r.gtmEventBankId.emit())}),f(1,"span",15)(2,"span"),E(3,"img",17),m(),f(4,"span"),d(5),m()()()}if(n&2){let t=B();I("id",t.actionBtnId),v(5),A(" ",t.customBankIdBtnDescription||"\u0414\u0430\u043B\u0456 \u043E\u0431\u0435\u0440\u0456\u0442\u044C \u0441\u0432\u0456\u0439 \u0431\u0430\u043D\u043A"," ")}}function ro(n,e){if(n&1){let t=bt();f(0,"div",18),Ct("click",function(){mt(t);let r=B();return pt(r.displayAllIdentifications=!0)}),d(1," \u0411\u0456\u043B\u044C\u0448\u0435 \u043C\u0435\u0442\u043E\u0434\u0456\u0432 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u0457 "),f(2,"mat-icon",19),d(3,"expand_more"),m()()}}var Ka=(()=>{class n{constructor(t,i,r,o,a){this.iconRegistry=t,this.sanitizer=i,this.window=r,this.idEndpoint=o,this.bankIdService=a,this.visiblePrivat=!0,this.visibleDiia=!0,this.visibleBankId=!0,this.needIdentificationTypeNotification=!1,this.gtmEventPrivat=new J,this.gtmEventBankId=new J,this.displayAllIdentifications=!1,this.iconRegistry.addSvgIcon("bankId-check",this.sanitizer.bypassSecurityTrustResourceUrl("./assets/images/icons/bank-id_check.svg"))}redirectToBankIdService(t){let i=this.bankIdService.getRedirectUrlToBankIdService(t);this.idEndpoint.auditUsingGET({url:i,time:new Date().getTime()}).pipe(it(1)).subscribe(()=>{this.window.location.href=i})}redirectToPrivat24Service(){this.window.location.href=this.bankIdService.getRedirectUrlToPrivat24Service()}openDiiaQrCodeDialog(){this.bankIdService.openDiiaQrCodeDialog()}getNumberOfActiveIdentifications(){return[this.visiblePrivat,this.visibleDiia,this.visibleBankId].filter(Boolean).length}checkIfAllIdentificationAreHidden(){return this.getNumberOfActiveIdentifications()>2}static{this.\u0275fac=function(i){return new(i||n)(b(wi),b(zt),b(Qt),b(M),b(at))}}static{this.\u0275cmp=k({type:n,selectors:[["lib-bank-id"]],inputs:{actionBtnId:"actionBtnId",actionBtnDiia:"actionBtnDiia",actionBtnIdPrivat:"actionBtnIdPrivat",privatImgURL:"privatImgURL",visiblePrivat:"visiblePrivat",visibleDiia:"visibleDiia",visibleBankId:"visibleBankId",needIdentificationTypeNotification:"needIdentificationTypeNotification",customBankIdBtnDescription:"customBankIdBtnDescription"},outputs:{gtmEventPrivat:"gtmEventPrivat",gtmEventBankId:"gtmEventBankId"},standalone:!1,ngContentSelectors:Zr,decls:5,vars:5,consts:[["privatBtnTextContent",""],["class","lib-bank-id-identification-tooltip",4,"ngIf"],["type","button","mat-stroked-button","","class","ukf-button ukf-button--width__full ukf-button--size__primary privat-24 identification-btn",3,"id","click",4,"ngIf"],["type","button","mat-stroked-button","","class","ukf-button ukf-button--width__full ukf-button--size__primary diia-btn identification-btn",3,"id","click",4,"ngIf"],["type","button","mat-stroked-button","","class","ukf-button ukf-button--width__full ukf-button--size__primary bank-id identification-btn",3,"id","click",4,"ngIf"],["class","bank-id__show-all-identifications",3,"click",4,"ngIf"],[1,"lib-bank-id-identification-tooltip"],["sizeMode","elementBased"],[1,"lib-bank-id-identification-tooltip__notification"],["type","button","mat-stroked-button","",1,"ukf-button","ukf-button--width__full","ukf-button--size__primary","privat-24","identification-btn",3,"click","id"],[3,"src"],["class","privat-24__btn-text",4,"ngIf"],[1,"privat-24__btn-text"],[1,"privat-24__btn-bold"],["type","button","mat-stroked-button","",1,"ukf-button","ukf-button--width__full","ukf-button--size__primary","diia-btn","identification-btn",3,"click","id"],[1,"bank-id__btn-text"],["type","button","mat-stroked-button","",1,"ukf-button","ukf-button--width__full","ukf-button--size__primary","bank-id","identification-btn",3,"click","id"],["src","./assets/images/bank-id.svg"],[1,"bank-id__show-all-identifications",3,"click"],[1,"expand-icon"]],template:function(i,r){i&1&&(ci(Yr),ht(0,Xr,16,0,"div",1)(1,eo,6,3,"button",2)(2,io,4,2,"button",3)(3,no,6,2,"button",4)(4,ro,4,0,"div",5)),i&2&&(I("ngIf",r.needIdentificationTypeNotification&&r.visiblePrivat&&r.visibleBankId),v(),I("ngIf",r.visiblePrivat),v(),I("ngIf",r.visibleDiia),v(),I("ngIf",r.visibleBankId&&(!r.checkIfAllIdentificationAreHidden()||r.displayAllIdentifications)),v(),I("ngIf",!r.displayAllIdentifications&&r.checkIfAllIdentificationAreHidden()))},dependencies:[Ot,$t,ki,Mi],styles:['[_ngcontent-%COMP%]:root{--c__primary: #7E57C5;--c__primary-10: #F1EDF8;--c__primary-55: #BEAAE1;--c__primary--light: #E4DCF2;--c__primary--dark: #9879D1;--c__accent: #FFC82B;--c__accent--light: #FFF4D5;--c__gray: #848F96;--c__gray--light: #f5f5f5;--c__gray--extra_light: #fafafa;--c__gray--dark: #616161;--c__yellow: #FFC82B;--c__error: #ff5e57;
19--c__text--primary: #081f2d;--c__text--secondary: #848F96}button[_ngcontent-%COMP%]{line-height:normal;border-radius:8px;font-size:12px}button.mdc-button.privat-24[_ngcontent-%COMP%]{border-radius:8px;background:#8dc641;border:2px solid #4EA425;color:#fff;text-transform:none;font-size:12px}button.mdc-button.privat-24[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:31px}button.mdc-button.diia-btn[_ngcontent-%COMP%]{font-size:13px;font-weight:600;color:#fff;border:none;background-color:#081f2d;text-transform:unset}button.mdc-button.diia-btn[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background-image:url("./media/diia-background-btn-UI4FJS6C.png");background-size:cover;background-repeat:no-repeat;opacity:.14;border-radius:8px;z-index:0}button.mdc-button.diia-btn[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:32px;padding-right:8px}button.mdc-button.bank-id[_ngcontent-%COMP%]{border:2px solid #C6C8D1}button.mdc-button.bank-id[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:22px}button.mdc-button.bank-id[_ngcontent-%COMP%] .bank-id__btn-text[_ngcontent-%COMP%]{display:inline-block;text-transform:none;line-height:normal}button.mdc-button.bank-id[_ngcontent-%COMP%] .bank-id__btn-text[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;line-height:normal}[_nghost-%COMP%] button.mdc-button .mdc-button__label{display:flex;align-items:center}.bank-id__show-all-identifications[_ngcontent-%COMP%]{text-align:center;font-style:normal;cursor:pointer}.bank-id__show-all-identifications[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:17px;height:12px;font-size:17px}'],changeDetection:0})}}return n})();var We=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=rt({type:n})}static{this.\u0275inj=et({imports:[ot,Gt,Jt,Ht,ye,fe]})}}return n})();var oo=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=rt({type:n})}static{this.\u0275inj=et({imports:[ot,Ht,Si,Jt,Gt,Pi,We]})}}return n})();export{te as a,at as b,Zn as c,Ka as d,ye as e,oo as f};
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.