-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathchunk-MOF5LIAX.js
9 lines (9 loc) · 51.8 KB
/
chunk-MOF5LIAX.js
1
2
3
4
5
6
7
8
9
import{a as Ke,b as $e}from"./chunk-WD5CSFOF.js";import{b as Xe,c as je}from"./chunk-M2QWHQVX.js";import{c as Ge}from"./chunk-4F3F27BT.js";import"./chunk-7EEEUGJK.js";import{a as J,b as ee,d as te}from"./chunk-HVFPNQ3B.js";import{a as Ue}from"./chunk-6AJOFIIP.js";import"./chunk-3LAVY7RV.js";import{a as Q,g as re,h as de,j as ae}from"./chunk-PNYJKZIQ.js";import"./chunk-UJZP7RYT.js";import{Ca as L,Ea as K,Fc as Ye,Gb as Ve,Hc as ne,Ic as oe,Lc as ie,ec as $,oc as Ze,sc as We}from"./chunk-YWVGY2C2.js";import{Aa as B,Ac as k,Ba as Z,Bc as M,Ca as W,Cc as T,Gc as ke,Hc as t,Ib as N,Ic as V,Jb as De,La as ve,Mc as Me,Nc as Te,Ob as Ie,Oc as Le,Pb as P,Qa as be,Qc as Qe,Qd as Pe,Va as Re,Wb as E,Yb as Ae,_c as _e,ba as Fe,dc as X,ed as He,f as xe,ic as e,id as Oe,ja as we,jc as n,jd as Ee,kc as z,lc as qe,mc as ye,oa as Be,oc as j,rb as h,rc as I,sb as Y,tc as _,ya as Ne,za as w}from"./chunk-GBKJFEQZ.js";import"./chunk-EQDQRRRY.js";var it=["canvas"];function rt(d,S){if(d&1&&(qe(0),t(1),ye()),d&2){let l=_(2);h(),V(l.nzStatusRender)}}function dt(d,S){if(d&1&&(e(0,"div",1),P(1,rt,2,1,"ng-container",2),n()),d&2){let l=_();h(),E("nzStringTemplateOutlet",l.nzStatusRender)}}function at(d,S){d&1&&z(0,"nz-spin")}function mt(d,S){if(d&1){let l=j();e(0,"div")(1,"p",3),t(2),n(),e(3,"button",4),I("click",function(){Z(l);let c=_(2);return W(c.reloadQRCode())}),z(4,"nz-icon",5),e(5,"span"),t(6),n()()()}if(d&2){let l=_(2);h(2),V(l.locale.expired),h(4),V(l.locale.refresh)}}function lt(d,S){if(d&1&&(e(0,"div")(1,"p",3),t(2),n()()),d&2){let l=_(2);h(2),V(l.locale.scanned)}}function st(d,S){if(d&1&&(e(0,"div",1),P(1,at,1,0,"nz-spin")(2,mt,7,2,"div")(3,lt,3,1,"div"),n()),d&2){let l,a=_();h(),X((l=a.nzStatus)==="loading"?1:l==="expired"?2:l==="scanned"?3:-1)}}function ut(d,S){d&1&&z(0,"canvas",null,0)}var H;(function(d){let S=(()=>{class s{static encodeText(o,i){let r=d.QrSegment.makeSegments(o);return s.encodeSegments(r,i)}static encodeBinary(o,i){let r=d.QrSegment.makeBytes(o);return s.encodeSegments([r],i)}static encodeSegments(o,i,r=1,m=40,u=-1,f=!0){if(!(s.MIN_VERSION<=r&&r<=m&&m<=s.MAX_VERSION)||u<-1||u>7)throw new RangeError("Invalid value");let p,x;for(p=r;;p++){let F=s.getNumDataCodewords(p,i)*8,D=C.getTotalBits(o,p);if(D<=F){x=D;break}if(p>=m)throw new RangeError("Data too long")}for(let F of[s.Ecc.MEDIUM,s.Ecc.QUARTILE,s.Ecc.HIGH])f&&x<=s.getNumDataCodewords(p,F)*8&&(i=F);let g=[];for(let F of o){l(F.mode.modeBits,4,g),l(F.numChars,F.mode.numCharCountBits(p),g);for(let D of F.getData())g.push(D)}c(g.length==x);let G=s.getNumDataCodewords(p,i)*8;c(g.length<=G),l(0,Math.min(4,G-g.length),g),l(0,(8-g.length%8)%8,g),c(g.length%8==0);for(let F=236;g.length<G;F^=253)l(F,8,g);let y=[];for(;y.length*8<g.length;)y.push(0);return g.forEach((F,D)=>y[D>>>3]|=F<<7-(D&7)),new s(p,i,y,u)}constructor(o,i,r,m){if(this.version=o,this.errorCorrectionLevel=i,this.modules=[],this.isFunction=[],o<s.MIN_VERSION||o>s.MAX_VERSION)throw new RangeError("Version value out of range");if(m<-1||m>7)throw new RangeError("Mask value out of range");this.size=o*4+17;let u=[];for(let p=0;p<this.size;p++)u.push(!1);for(let p=0;p<this.size;p++)this.modules.push(u.slice()),this.isFunction.push(u.slice());this.drawFunctionPatterns();let f=this.addEccAndInterleave(r);if(this.drawCodewords(f),m==-1){let p=1e9;for(let x=0;x<8;x++){this.applyMask(x),this.drawFormatBits(x);let g=this.getPenaltyScore();g<p&&(m=x,p=g),this.applyMask(x)}}c(m>=0&&m<=7),this.mask=m,this.applyMask(m),this.drawFormatBits(m),this.isFunction=[]}getModule(o,i){return o>=0&&o<this.size&&i>=0&&i<this.size&&this.modules[i][o]}getModules(){return this.modules}drawFunctionPatterns(){for(let r=0;r<this.size;r++)this.setFunctionModule(6,r,r%2==0),this.setFunctionModule(r,6,r%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let o=this.getAlignmentPatternPositions(),i=o.length;for(let r=0;r<i;r++)for(let m=0;m<i;m++)r==0&&m==0||r==0&&m==i-1||r==i-1&&m==0||this.drawAlignmentPattern(o[r],o[m]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(o){let i=this.errorCorrectionLevel.formatBits<<3|o,r=i;for(let u=0;u<10;u++)r=r<<1^(r>>>9)*1335;let m=(i<<10|r)^21522;c(m>>>15==0);for(let u=0;u<=5;u++)this.setFunctionModule(8,u,a(m,u));this.setFunctionModule(8,7,a(m,6)),this.setFunctionModule(8,8,a(m,7)),this.setFunctionModule(7,8,a(m,8));for(let u=9;u<15;u++)this.setFunctionModule(14-u,8,a(m,u));for(let u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,a(m,u));for(let u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,a(m,u));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let o=this.version;for(let r=0;r<12;r++)o=o<<1^(o>>>11)*7973;let i=this.version<<12|o;c(i>>>18==0);for(let r=0;r<18;r++){let m=a(i,r),u=this.size-11+r%3,f=Math.floor(r/3);this.setFunctionModule(u,f,m),this.setFunctionModule(f,u,m)}}drawFinderPattern(o,i){for(let r=-4;r<=4;r++)for(let m=-4;m<=4;m++){let u=Math.max(Math.abs(m),Math.abs(r)),f=o+m,p=i+r;f>=0&&f<this.size&&p>=0&&p<this.size&&this.setFunctionModule(f,p,u!=2&&u!=4)}}drawAlignmentPattern(o,i){for(let r=-2;r<=2;r++)for(let m=-2;m<=2;m++)this.setFunctionModule(o+m,i+r,Math.max(Math.abs(m),Math.abs(r))!=1)}setFunctionModule(o,i,r){this.modules[i][o]=r,this.isFunction[i][o]=!0}addEccAndInterleave(o){let i=this.version,r=this.errorCorrectionLevel;if(o.length!=s.getNumDataCodewords(i,r))throw new RangeError("Invalid argument");let m=s.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][i],u=s.ECC_CODEWORDS_PER_BLOCK[r.ordinal][i],f=Math.floor(s.getNumRawDataModules(i)/8),p=m-f%m,x=Math.floor(f/m),g=[],G=s.reedSolomonComputeDivisor(u);for(let F=0,D=0;F<m;F++){let O=o.slice(D,D+x-u+(F<p?0:1));D+=O.length;let tt=s.reedSolomonComputeRemainder(O,G);F<p&&O.push(0),g.push(O.concat(tt))}let y=[];for(let F=0;F<g[0].length;F++)g.forEach((D,O)=>{(F!=x-u||O>=p)&&y.push(D[F])});return c(y.length==f),y}drawCodewords(o){if(o.length!=Math.floor(s.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let i=0;for(let r=this.size-1;r>=1;r-=2){r==6&&(r=5);for(let m=0;m<this.size;m++)for(let u=0;u<2;u++){let f=r-u,x=(r+1&2)==0?this.size-1-m:m;!this.isFunction[x][f]&&i<o.length*8&&(this.modules[x][f]=a(o[i>>>3],7-(i&7)),i++)}}c(i==o.length*8)}applyMask(o){if(o<0||o>7)throw new RangeError("Mask value out of range");for(let i=0;i<this.size;i++)for(let r=0;r<this.size;r++){let m;switch(o){case 0:m=(r+i)%2==0;break;case 1:m=i%2==0;break;case 2:m=r%3==0;break;case 3:m=(r+i)%3==0;break;case 4:m=(Math.floor(r/3)+Math.floor(i/2))%2==0;break;case 5:m=r*i%2+r*i%3==0;break;case 6:m=(r*i%2+r*i%3)%2==0;break;case 7:m=((r+i)%2+r*i%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[i][r]&&m&&(this.modules[i][r]=!this.modules[i][r])}}getPenaltyScore(){let o=0;for(let u=0;u<this.size;u++){let f=!1,p=0,x=[0,0,0,0,0,0,0];for(let g=0;g<this.size;g++)this.modules[u][g]==f?(p++,p==5?o+=s.PENALTY_N1:p>5&&o++):(this.finderPenaltyAddHistory(p,x),f||(o+=this.finderPenaltyCountPatterns(x)*s.PENALTY_N3),f=this.modules[u][g],p=1);o+=this.finderPenaltyTerminateAndCount(f,p,x)*s.PENALTY_N3}for(let u=0;u<this.size;u++){let f=!1,p=0,x=[0,0,0,0,0,0,0];for(let g=0;g<this.size;g++)this.modules[g][u]==f?(p++,p==5?o+=s.PENALTY_N1:p>5&&o++):(this.finderPenaltyAddHistory(p,x),f||(o+=this.finderPenaltyCountPatterns(x)*s.PENALTY_N3),f=this.modules[g][u],p=1);o+=this.finderPenaltyTerminateAndCount(f,p,x)*s.PENALTY_N3}for(let u=0;u<this.size-1;u++)for(let f=0;f<this.size-1;f++){let p=this.modules[u][f];p==this.modules[u][f+1]&&p==this.modules[u+1][f]&&p==this.modules[u+1][f+1]&&(o+=s.PENALTY_N2)}let i=0;for(let u of this.modules)i=u.reduce((f,p)=>f+(p?1:0),i);let r=this.size*this.size,m=Math.ceil(Math.abs(i*20-r*10)/r)-1;return c(m>=0&&m<=9),o+=m*s.PENALTY_N4,c(o>=0&&o<=2568888),o}getAlignmentPatternPositions(){if(this.version==1)return[];{let o=Math.floor(this.version/7)+2,i=this.version==32?26:Math.ceil((this.version*4+4)/(o*2-2))*2,r=[6];for(let m=this.size-7;r.length<o;m-=i)r.splice(1,0,m);return r}}static getNumRawDataModules(o){if(o<s.MIN_VERSION||o>s.MAX_VERSION)throw new RangeError("Version number out of range");let i=(16*o+128)*o+64;if(o>=2){let r=Math.floor(o/7)+2;i-=(25*r-10)*r-55,o>=7&&(i-=36)}return c(i>=208&&i<=29648),i}static getNumDataCodewords(o,i){return Math.floor(s.getNumRawDataModules(o)/8)-s.ECC_CODEWORDS_PER_BLOCK[i.ordinal][o]*s.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][o]}static reedSolomonComputeDivisor(o){if(o<1||o>255)throw new RangeError("Degree out of range");let i=[];for(let m=0;m<o-1;m++)i.push(0);i.push(1);let r=1;for(let m=0;m<o;m++){for(let u=0;u<i.length;u++)i[u]=s.reedSolomonMultiply(i[u],r),u+1<i.length&&(i[u]^=i[u+1]);r=s.reedSolomonMultiply(r,2)}return i}static reedSolomonComputeRemainder(o,i){let r=i.map(m=>0);for(let m of o){let u=m^r.shift();r.push(0),i.forEach((f,p)=>r[p]^=s.reedSolomonMultiply(f,u))}return r}static reedSolomonMultiply(o,i){if(o>>>8||i>>>8)throw new RangeError("Byte out of range");let r=0;for(let m=7;m>=0;m--)r=r<<1^(r>>>7)*285,r^=(i>>>m&1)*o;return c(r>>>8==0),r}finderPenaltyCountPatterns(o){let i=o[1];c(i<=this.size*3);let r=i>0&&o[2]==i&&o[3]==i*3&&o[4]==i&&o[5]==i;return(r&&o[0]>=i*4&&o[6]>=i?1:0)+(r&&o[6]>=i*4&&o[0]>=i?1:0)}finderPenaltyTerminateAndCount(o,i,r){return o&&(this.finderPenaltyAddHistory(i,r),i=0),i+=this.size,this.finderPenaltyAddHistory(i,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(o,i){i[0]==0&&(o+=this.size),i.pop(),i.unshift(o)}static{this.MIN_VERSION=1}static{this.MAX_VERSION=40}static{this.PENALTY_N1=3}static{this.PENALTY_N2=3}static{this.PENALTY_N3=40}static{this.PENALTY_N4=10}static{this.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]]}static{this.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]]}}return s})();d.QrCode=S;function l(s,v,o){if(v<0||v>31||s>>>v)throw new RangeError("Value out of range");for(let i=v-1;i>=0;i--)o.push(s>>>i&1)}function a(s,v){return(s>>>v&1)!=0}function c(s){if(!s)throw new Error("Assertion error")}let C=(()=>{class s{static makeBytes(o){let i=[];for(let r of o)l(r,8,i);return new s(s.Mode.BYTE,o.length,i)}static makeNumeric(o){if(!s.isNumeric(o))throw new RangeError("String contains non-numeric characters");let i=[];for(let r=0;r<o.length;){let m=Math.min(o.length-r,3);l(parseInt(o.substring(r,r+m),10),m*3+1,i),r+=m}return new s(s.Mode.NUMERIC,o.length,i)}static makeAlphanumeric(o){if(!s.isAlphanumeric(o))throw new RangeError("String contains unencodable characters in alphanumeric mode");let i=[],r;for(r=0;r+2<=o.length;r+=2){let m=s.ALPHANUMERIC_CHARSET.indexOf(o.charAt(r))*45;m+=s.ALPHANUMERIC_CHARSET.indexOf(o.charAt(r+1)),l(m,11,i)}return r<o.length&&l(s.ALPHANUMERIC_CHARSET.indexOf(o.charAt(r)),6,i),new s(s.Mode.ALPHANUMERIC,o.length,i)}static makeSegments(o){return o==""?[]:s.isNumeric(o)?[s.makeNumeric(o)]:s.isAlphanumeric(o)?[s.makeAlphanumeric(o)]:[s.makeBytes(s.toUtf8ByteArray(o))]}static makeEci(o){let i=[];if(o<0)throw new RangeError("ECI assignment value out of range");if(o<128)l(o,8,i);else if(o<16384)l(2,2,i),l(o,14,i);else if(o<1e6)l(6,3,i),l(o,21,i);else throw new RangeError("ECI assignment value out of range");return new s(s.Mode.ECI,0,i)}static isNumeric(o){return s.NUMERIC_REGEX.test(o)}static isAlphanumeric(o){return s.ALPHANUMERIC_REGEX.test(o)}constructor(o,i,r){if(this.mode=o,this.numChars=i,this.bitData=r,i<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}getData(){return this.bitData.slice()}static getTotalBits(o,i){let r=0;for(let m of o){let u=m.mode.numCharCountBits(i);if(m.numChars>=1<<u)return 1/0;r+=4+u+m.bitData.length}return r}static toUtf8ByteArray(o){o=encodeURI(o);let i=[];for(let r=0;r<o.length;r++)o.charAt(r)!="%"?i.push(o.charCodeAt(r)):(i.push(parseInt(o.substring(r+1,r+3),16)),r+=2);return i}static{this.NUMERIC_REGEX=/^[0-9]*$/}static{this.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/}static{this.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:"}}return s})();d.QrSegment=C})(H||(H={}));(function(d){var S;(function(l){class a{static{this.LOW=new a(0,1)}static{this.MEDIUM=new a(1,0)}static{this.QUARTILE=new a(2,3)}static{this.HIGH=new a(3,2)}constructor(C,s){this.ordinal=C,this.formatBits=s}}l.Ecc=a})(S=d.QrCode||(d.QrCode={}))})(H||(H={}));(function(d){var S;(function(l){class a{static{this.NUMERIC=new a(1,[10,12,14])}static{this.ALPHANUMERIC=new a(2,[9,11,13])}static{this.BYTE=new a(4,[8,16,16])}static{this.KANJI=new a(8,[8,10,12])}static{this.ECI=new a(7,[0,0,0])}constructor(C,s){this.modeBits=C,this.numBitsCharCount=s}numCharCountBits(C){return this.numBitsCharCount[Math.floor((C+7)/17)]}}l.Mode=a})(S=d.QrSegment||(d.QrSegment={}))})(H||(H={}));var U=H,ct={L:U.QrCode.Ecc.LOW,M:U.QrCode.Ecc.MEDIUM,Q:U.QrCode.Ecc.QUARTILE,H:U.QrCode.Ecc.HIGH},pt=160,zt=10,ht=10,ft="#000000",Et="#FFFFFF",Ct=40,gt="M",St=(d,S=gt)=>d?U.QrCode.encodeText(d,ct[S]):null;function xt(d,S,l=pt,a=zt,c=ht,C=ft,s=Et,v=Ct,o){let i=d.getContext("2d"),r=Ft(c);if(d.style.width=`${l}px`,d.style.height=`${l}px`,!S){i.fillStyle="rgba(0, 0, 0, 0)",i.fillRect(0,0,d.width,d.height);return}if(d.width=S.size*a+r[1]+r[3],d.height=S.size*a+r[0]+r[2],!o)ge(i,d.width,d.height,a,s),Ce(i,S,a,r,s,C);else{let m=new Image;m.src=o,m.crossOrigin="anonymous",m.width=v*(d.width/l),m.height=v*(d.width/l);let u=()=>{p(),ge(i,d.width,d.height,a,s),Ce(i,S,a,r,s,C);let x=d.width/2-v*(d.width/l)/2;i.fillRect(x,x,v*(d.width/l),v*(d.width/l)),i.drawImage(m,x,x,v*(d.width/l),v*(d.width/l))},f=()=>{p(),ge(i,d.width,d.height,a,s),Ce(i,S,a,r,s,C)},p=()=>{m.removeEventListener("load",u),m.removeEventListener("error",f)};m.addEventListener("load",u),m.addEventListener("error",f)}}function Ce(d,S,l,a,c,C){for(let s=0;s<S.size;s++)for(let v=0;v<S.size;v++)d.fillStyle=S.getModule(v,s)?C:c,d.fillRect(a[3]+v*l,a[0]+s*l,l,l)}function ge(d,S,l,a,c){d.fillStyle=c,d.fillRect(0,0,S*a,l*a)}function Ft(d){return Array.isArray(d)?Array(4).fill(0).map((S,l)=>d[l%d.length]):[d,d,d,d]}var b=(()=>{class d{constructor(l,a,c){this.i18n=l,this.el=a,this.cdr=c,this.nzValue="",this.nzPadding=0,this.nzColor="#000000",this.nzBgColor="#FFFFFF",this.nzSize=160,this.nzIcon="",this.nzIconSize=40,this.nzBordered=!0,this.nzStatus="active",this.nzLevel="M",this.nzStatusRender=null,this.nzRefresh=new ve,this.isBrowser=!0,this.destroy$=new xe,this.platformId=Be(Re),this.isBrowser=Pe(this.platformId),this.cdr.markForCheck()}ngOnInit(){this.el.nativeElement.style.backgroundColor=this.nzBgColor,this.i18n.localeChange.pipe(Fe(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("QRCode"),this.cdr.markForCheck()})}ngOnChanges(l){let{nzValue:a,nzIcon:c,nzLevel:C,nzSize:s,nzIconSize:v,nzColor:o,nzPadding:i,nzBgColor:r}=l;(a||c||C||s||v||o||i||r)&&this.canvas&&this.drawCanvasQRCode(),r&&(this.el.nativeElement.style.backgroundColor=this.nzBgColor)}ngAfterViewInit(){this.drawCanvasQRCode()}reloadQRCode(){this.drawCanvasQRCode(),this.nzRefresh.emit("refresh")}drawCanvasQRCode(){this.canvas&&xt(this.canvas.nativeElement,St(this.nzValue,this.nzLevel),this.nzSize,10,this.nzPadding,this.nzColor,this.nzBgColor,this.nzIconSize,this.nzIcon)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(a){return new(a||d)(Y(Ge),Y(be),Y(He))}}static{this.\u0275cmp=N({type:d,selectors:[["nz-qrcode"]],viewQuery:function(a,c){if(a&1&&k(it,5),a&2){let C;M(C=T())&&(c.canvas=C.first)}},hostAttrs:[1,"ant-qrcode"],hostVars:2,hostBindings:function(a,c){a&2&&Ae("ant-qrcode-border",c.nzBordered)},inputs:{nzValue:"nzValue",nzPadding:"nzPadding",nzColor:"nzColor",nzBgColor:"nzBgColor",nzSize:[2,"nzSize","nzSize",Ee],nzIcon:"nzIcon",nzIconSize:[2,"nzIconSize","nzIconSize",Ee],nzBordered:[2,"nzBordered","nzBordered",Oe],nzStatus:"nzStatus",nzLevel:"nzLevel",nzStatusRender:"nzStatusRender"},outputs:{nzRefresh:"nzRefresh"},exportAs:["nzQRCode"],features:[Ie,Ne],decls:3,vars:2,consts:[["canvas",""],[1,"ant-qrcode-mask"],[4,"nzStringTemplateOutlet"],[1,"ant-qrcode-expired"],["nz-button","","nzType","link",3,"click"],["nzType","reload","nzTheme","outline"]],template:function(a,c){a&1&&P(0,dt,2,1,"div",1)(1,st,4,1,"div",1)(2,ut,2,0,"canvas"),a&2&&(X(c.nzStatusRender?0:c.nzStatus!=="active"?1:-1),h(2),X(c.isBrowser?2:-1))},dependencies:[$e,Ke,te,ee,J,K,L,Ve],encapsulation:2,changeDetection:0})}}return d})(),R=(()=>{class d{static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275mod=De({type:d})}static{this.\u0275inj=we({imports:[b]})}}return d})();var me=(()=>{class d{static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code-background"]],decls:2,vars:0,consts:[["nzBgColor","#f6f6f6","nzColor","#ff6600","nzValue","https://ng.ant.design/"],["nzBgColor","#f6f6f6","nzColor","#1677ff","nzValue","https://ng.ant.design/"]],template:function(a,c){a&1&&z(0,"nz-qrcode",0)(1,"nz-qrcode",1)},dependencies:[R,b],styles:["nz-qrcode[_ngcontent-%COMP%]{margin-right:12px}"]})}}return d})();var le=(()=>{class d{static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code-basic"]],decls:1,vars:0,consts:[["nzValue","https://ng.ant.design/"]],template:function(a,c){a&1&&z(0,"nz-qrcode",0)},dependencies:[R,b],encapsulation:2})}}return d})();var se=(()=>{class d{static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code-color"]],decls:2,vars:0,consts:[["nzValue","https://ng.ant.design/","nzColor","#ff6600"],["nzValue","https://ng.ant.design/","nzColor","#1677ff"]],template:function(a,c){a&1&&z(0,"nz-qrcode",0)(1,"nz-qrcode",1)},dependencies:[R,b],styles:["nz-qrcode[_ngcontent-%COMP%]{margin-right:12px}"]})}}return d})();function wt(d,S){d&1&&(e(0,"div"),z(1,"nz-icon",3),t(2," success "),n())}var ue=(()=>{class d{static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code-custom-status"]],decls:4,vars:1,consts:[["customTemplate",""],["nzValue","https://ng.ant.design/","nzStatusRender","NgZorro"],["nzValue","https://ng.ant.design/",3,"nzStatusRender"],["nzType","check-circle","nzTheme","outline",2,"color","red"]],template:function(a,c){if(a&1&&(z(0,"nz-qrcode",1)(1,"nz-qrcode",2),P(2,wt,3,0,"ng-template",null,0,_e)),a&2){let C=ke(3);h(),E("nzStatusRender",C)}},dependencies:[R,b,K,L],styles:["nz-qrcode[_ngcontent-%COMP%]{margin-right:12px}"]})}}return d})();var Bt=["download"],ce=(()=>{class d{downloadImg(){let l=document.getElementById("download")?.querySelector("canvas");if(l){this.download.nativeElement.href=l.toDataURL("image/png"),this.download.nativeElement.download="ng-zorro-antd";let a=new MouseEvent("click");this.download.nativeElement.dispatchEvent(a)}}static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code-download"]],viewQuery:function(a,c){if(a&1&&k(Bt,5),a&2){let C;M(C=T())&&(c.download=C.first)}},decls:6,vars:0,consts:[["download",""],["id","download"],["nzValue","https://ng.ant.design/"],["nz-button","","nzType","primary",3,"click"]],template:function(a,c){if(a&1){let C=j();e(0,"div",1),z(1,"nz-qrcode",2)(2,"a",null,0),e(4,"button",3),I("click",function(){return Z(C),W(c.downloadImg())}),t(5,"Download"),n()()}},dependencies:[te,ee,J,Ue,R,b],styles:["div[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-direction:column}nz-qrcode[_ngcontent-%COMP%]{margin-bottom:12px}"]})}}return d})();var pe=(()=>{class d{constructor(){this.options=["L","M","Q","H"],this.errorLevel="L"}static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code-error-level"]],decls:2,vars:3,consts:[["nzValue","https://github.com/NG-ZORRO/ng-zorro-antd/issues",3,"nzLevel"],[3,"ngModelChange","nzOptions","ngModel"]],template:function(a,c){a&1&&(z(0,"nz-qrcode",0),e(1,"nz-segmented",1),Le("ngModelChange",function(s){return Te(c.errorLevel,s)||(c.errorLevel=s),s}),n()),a&2&&(E("nzLevel",c.errorLevel),h(),E("nzOptions",c.options),Me("ngModel",c.errorLevel))},dependencies:[R,b,je,Xe,Ye,Ze,We],styles:["[_nghost-%COMP%]{display:flex;align-items:flex-start;flex-direction:column}nz-qrcode[_ngcontent-%COMP%]{margin-bottom:12px}"]})}}return d})();var ze=(()=>{class d{static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code-icon"]],decls:1,vars:0,consts:[["nzValue","https://ng.ant.design/","nzIcon","https://img.alicdn.com/imgextra/i2/O1CN01TBIkzL1Nk3IBB0DLA_!!6000000001607-2-tps-106-120.png","nzLevel","H"]],template:function(a,c){a&1&&z(0,"nz-qrcode",0)},dependencies:[R,b],encapsulation:2})}}return d})();var Nt=()=>[12,24],he=(()=>{class d{static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code-padding"]],decls:2,vars:3,consts:[["nzValue","https://ng.ant.design/",3,"nzPadding"]],template:function(a,c){a&1&&z(0,"nz-qrcode",0)(1,"nz-qrcode",0),a&2&&(E("nzPadding",12),h(),E("nzPadding",Qe(2,Nt)))},dependencies:[R,b],styles:["nz-qrcode[_ngcontent-%COMP%]{margin-right:12px}"]})}}return d})();var fe=(()=>{class d{refresh(l){console.log(l)}static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code-status"]],decls:3,vars:0,consts:[["nzValue","https://ng.ant.design/","nzStatus","loading"],["nzValue","https://ng.ant.design/","nzStatus","expired",3,"nzRefresh"],["nzValue","https://ng.ant.design/","nzStatus","scanned"]],template:function(a,c){a&1&&(z(0,"nz-qrcode",0),e(1,"nz-qrcode",1),I("nzRefresh",function(s){return c.refresh(s)}),n(),z(2,"nz-qrcode",2))},dependencies:[R,b],styles:["nz-qrcode[_ngcontent-%COMP%]{margin-right:12px}"]})}}return d})();var Je=(()=>{class d{constructor(){this.expanded=!1}goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(l=>l.expandCode(this.expanded))}static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code"]],viewQuery:function(a,c){if(a&1&&k(Q,5),a&2){let C;M(C=T())&&(c.codeBoxes=C)}},decls:348,vars:43,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-qr-code-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-qr-code-demo-icon","nzTitle","\u5E26 icon \u7684\u4F8B\u5B50"],["nzHref","#components-qr-code-demo-status","nzTitle","\u4E0D\u540C\u7684\u72B6\u6001"],["nzHref","#components-qr-code-demo-custom-status","nzTitle","\u81EA\u5B9A\u4E49\u72B6\u6001\u6E32\u67D3\u5668"],["nzHref","#components-qr-code-demo-padding","nzTitle","\u5E26\u886C\u57AB"],["nzHref","#components-qr-code-demo-color","nzTitle","\u81EA\u5B9A\u4E49\u989C\u8272"],["nzHref","#components-qr-code-demo-background","nzTitle","\u5177\u6709\u81EA\u5B9A\u4E49\u80CC\u666F\u989C\u8272"],["nzHref","#components-qr-code-demo-error-level","nzTitle","\u5BB9\u9519\u7B49\u7EA7"],["nzHref","#components-qr-code-demo-download","nzTitle","\u4E0B\u8F7D\u4E8C\u7EF4\u7801"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],["id","\u5F15\u5165\u6A21\u5757"],["onclick","window.location.hash = '\u5F15\u5165\u6A21\u5757'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","\u5C55\u5F00\u5168\u90E8\u4EE3\u7801",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","\u57FA\u672C","nzSelector","nz-demo-qr-code-basic","nzGenerateCommand","ng g ng-zorro-antd:qr-code-basic <name>","nzComponentName","NzDemoQrCodeBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u4E0D\u540C\u7684\u72B6\u6001","nzSelector","nz-demo-qr-code-status","nzGenerateCommand","ng g ng-zorro-antd:qr-code-status <name>","nzComponentName","NzDemoQrCodeStatusComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5E26\u886C\u57AB","nzSelector","nz-demo-qr-code-padding","nzGenerateCommand","ng g ng-zorro-antd:qr-code-padding <name>","nzComponentName","NzDemoQrCodePaddingComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5177\u6709\u81EA\u5B9A\u4E49\u80CC\u666F\u989C\u8272","nzSelector","nz-demo-qr-code-background","nzGenerateCommand","ng g ng-zorro-antd:qr-code-background <name>","nzComponentName","NzDemoQrCodeBackgroundComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u4E0B\u8F7D\u4E8C\u7EF4\u7801","nzSelector","nz-demo-qr-code-download","nzGenerateCommand","ng g ng-zorro-antd:qr-code-download <name>","nzComponentName","NzDemoQrCodeDownloadComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5E26 icon \u7684\u4F8B\u5B50","nzSelector","nz-demo-qr-code-icon","nzGenerateCommand","ng g ng-zorro-antd:qr-code-icon <name>","nzComponentName","NzDemoQrCodeIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u72B6\u6001\u6E32\u67D3\u5668","nzSelector","nz-demo-qr-code-custom-status","nzGenerateCommand","ng g ng-zorro-antd:qr-code-custom-status <name>","nzComponentName","NzDemoQrCodeCustomStatusComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u989C\u8272","nzSelector","nz-demo-qr-code-color","nzGenerateCommand","ng g ng-zorro-antd:qr-code-color <name>","nzComponentName","NzDemoQrCodeColorComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","\u5BB9\u9519\u7B49\u7EA7","nzSelector","nz-demo-qr-code-error-level","nzGenerateCommand","ng g ng-zorro-antd:qr-code-error-level <name>","nzComponentName","NzDemoQrCodeErrorLevelComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-qrcode"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-qrcode'",1,"anchor"],["id","\u6CE8\u610F"],["onclick","window.location.hash = '\u6CE8\u610F'",1,"anchor"],["id","\u4E8C\u7EF4\u7801\u65E0\u6CD5\u8BC6\u522B"],["onclick","window.location.hash = '\u4E8C\u7EF4\u7801\u65E0\u6CD5\u8BC6\u522B'",1,"anchor"],["id","\u5173\u4E8E\u4E8C\u7EF4\u7801\u5BB9\u9519\u7B49\u7EA7"],["onclick","window.location.hash = '\u5173\u4E8E\u4E8C\u7EF4\u7801\u5BB9\u9519\u7B49\u7EA7'",1,"anchor"],["href","https://www.qrcode.com/zh/about/error_correction.html","target","_blank","rel","noopener"]],template:function(a,c){a&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),I("nzClick",function(s){return c.goLink(s)}),z(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10)(12,"nz-link",11),n()(),e(13,"section",12)(14,"h1"),t(15,"QRCode"),e(16,"span",13),t(17,"\u4E8C\u7EF4\u7801"),n(),z(18,"span",14),e(19,"a",15),z(20,"nz-icon",16),n()(),e(21,"section",12),B(),e(22,"h2",17)(23,"span"),t(24,"\u4F55\u65F6\u4F7F\u7528"),n(),e(25,"a",18),t(26,"#"),n()(),e(27,"p"),t(28,"\u5F53\u9700\u8981\u5C06\u94FE\u63A5\u8F6C\u6362\u6210\u4E3A\u4E8C\u7EF4\u7801\u65F6\u4F7F\u7528\u3002"),n(),e(29,"h3",19)(30,"span"),t(31,"\u5F15\u5165\u6A21\u5757"),n(),e(32,"a",20),t(33,"#"),n()(),e(34,"pre",21)(35,"code")(36,"span",22),t(37,"import"),n(),t(38," "),e(39,"span",23),t(40,"{"),n(),t(41," NzQRCodeModule "),e(42,"span",23),t(43,"}"),n(),t(44," "),e(45,"span",22),t(46,"from"),n(),t(47," "),e(48,"span",24),t(49,"'ng-zorro-antd/qr-code'"),n(),e(50,"span",23),t(51,";"),n()()(),w(),n(),e(52,"h2")(53,"span"),t(54,"\u4EE3\u7801\u6F14\u793A"),n(),e(55,"span",25),I("click",function(){return c.expandAllCode()}),n()()(),e(56,"div",26)(57,"div",27)(58,"nz-code-box",28),z(59,"nz-demo-qr-code-basic",29),e(60,"div",30),B(),e(61,"p"),t(62,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"),n(),w(),n()(),e(63,"nz-code-box",31),z(64,"nz-demo-qr-code-status",29),e(65,"div",30),B(),e(66,"p"),t(67,"\u901A\u8FC7 "),e(68,"code"),t(69,"nzStatus"),n(),t(70," \u7684\u503C\u63A7\u5236\u4E8C\u7EF4\u7801\u7684\u72B6\u6001\uFF0C\u63D0\u4F9B\u4E86 "),e(71,"code"),t(72,"active"),n(),t(73,"\u3001"),e(74,"code"),t(75,"expired"),n(),t(76,"\u3001"),e(77,"code"),t(78,"loading"),n(),t(79,"\u3001"),e(80,"code"),t(81,"scanned"),n(),t(82," \u56DB\u4E2A\u503C\u3002"),n(),w(),n()(),e(83,"nz-code-box",32),z(84,"nz-demo-qr-code-padding",29),e(85,"div",30),B(),e(86,"p"),t(87,"\u81EA\u5B9A\u4E49 QR \u7801\u7684\u586B\u5145\u3002"),n(),w(),n()(),e(88,"nz-code-box",33),z(89,"nz-demo-qr-code-background",29),e(90,"div",30),B(),e(91,"p"),t(92,"\u81EA\u5B9A\u4E49\u4E8C\u7EF4\u7801\u7684\u80CC\u666F\u989C\u8272\u3002"),n(),w(),n()(),e(93,"nz-code-box",34),z(94,"nz-demo-qr-code-download",29),e(95,"div",30),B(),e(96,"p"),t(97,"\u5B9E\u73B0\u4E0B\u8F7D\u4E8C\u7EF4\u7801\u3002"),n(),w(),n()()(),e(98,"div",27)(99,"nz-code-box",35),z(100,"nz-demo-qr-code-icon",29),e(101,"div",30),B(),e(102,"p"),t(103,"\u5E26\u6709 icon \u7684\u4E8C\u7EF4\u7801\u3002"),n(),w(),n()(),e(104,"nz-code-box",36),z(105,"nz-demo-qr-code-custom-status",29),e(106,"div",30),B(),e(107,"p"),t(108,"\u53EF\u4EE5\u901A\u8FC7 "),e(109,"code"),t(110,"nzStatusRender"),n(),t(111," \u7684\u503C\u63A7\u5236\u4E8C\u7EF4\u7801\u4E0D\u540C\u72B6\u6001\u7684\u6E32\u67D3\u903B\u8F91\u3002"),n(),w(),n()(),e(112,"nz-code-box",37),z(113,"nz-demo-qr-code-color",29),e(114,"div",30),B(),e(115,"p"),t(116,"\u901A\u8FC7\u8BBE\u7F6E "),e(117,"code"),t(118,"nzColor"),n(),t(119," \u81EA\u5B9A\u4E49\u4E8C\u7EF4\u7801\u989C\u8272\u3002"),n(),w(),n()(),e(120,"nz-code-box",38),z(121,"nz-demo-qr-code-error-level",29),e(122,"div",30),B(),e(123,"p"),t(124,"\u901A\u8FC7\u8BBE\u7F6E "),e(125,"code"),t(126,"nzLevel"),n(),t(127," \u8C03\u6574\u4E8C\u7EF4\u7801\u5BB9\u9519\u3002"),n(),w(),n()()()(),e(128,"section",39),B(),e(129,"h2",40)(130,"span"),t(131,"API"),n(),e(132,"a",41),t(133,"#"),n()(),e(134,"h3",42)(135,"span"),t(136,"nz-qrcode"),n(),e(137,"label",43),t(138,"component"),n(),e(139,"a",44),t(140,"#"),n()(),e(141,"table")(142,"thead")(143,"tr")(144,"th"),t(145,"\u53C2\u6570"),n(),e(146,"th"),t(147,"\u8BF4\u660E"),n(),e(148,"th"),t(149,"\u7C7B\u578B"),n(),e(150,"th"),t(151,"\u9ED8\u8BA4\u503C"),n()()(),e(152,"tbody")(153,"tr")(154,"td")(155,"code"),t(156,"[nzValue]"),n()(),e(157,"td"),t(158,"\u626B\u63CF\u540E\u7684\u5730\u5740"),n(),e(159,"td")(160,"code"),t(161,"string"),n()(),e(162,"td"),t(163,"-"),n()(),e(164,"tr")(165,"td")(166,"code"),t(167,"[nzColor]"),n()(),e(168,"td"),t(169,"\u4E8C\u7EF4\u7801\u989C\u8272"),n(),e(170,"td")(171,"code"),t(172,"string"),n()(),e(173,"td")(174,"code"),t(175,"#000"),n()()(),e(176,"tr")(177,"td")(178,"code"),t(179,"[nzBgColor]"),n()(),e(180,"td"),t(181,"\u4E8C\u7EF4\u7801\u80CC\u666F\u989C\u8272"),n(),e(182,"td")(183,"code"),t(184,"string"),n()(),e(185,"td")(186,"code"),t(187,"#FFFFFF"),n()()(),e(188,"tr")(189,"td")(190,"code"),t(191,"[nzSize]"),n()(),e(192,"td"),t(193,"\u4E8C\u7EF4\u7801\u5927\u5C0F"),n(),e(194,"td")(195,"code"),t(196,"number"),n()(),e(197,"td")(198,"code"),t(199,"160"),n()()(),e(200,"tr")(201,"td")(202,"code"),t(203,"[nzPadding]"),n()(),e(204,"td"),t(205,"\u4E8C\u7EF4\u7801\u586B\u5145"),n(),e(206,"td")(207,"code"),t(208,"number | number[]"),n()(),e(209,"td")(210,"code"),t(211,"0"),n()()(),e(212,"tr")(213,"td")(214,"code"),t(215,"[nzIcon]"),n()(),e(216,"td"),t(217,"\u4E8C\u7EF4\u7801\u4E2D icon \u5730\u5740"),n(),e(218,"td")(219,"code"),t(220,"string"),n()(),e(221,"td"),t(222,"-"),n()(),e(223,"tr")(224,"td")(225,"code"),t(226,"[nzIconSize]"),n()(),e(227,"td"),t(228,"\u4E8C\u7EF4\u7801\u4E2D icon \u5927\u5C0F"),n(),e(229,"td")(230,"code"),t(231,"number"),n()(),e(232,"td")(233,"code"),t(234,"40"),n()()(),e(235,"tr")(236,"td")(237,"code"),t(238,"[nzBordered]"),n()(),e(239,"td"),t(240,"\u662F\u5426\u6709\u8FB9\u6846"),n(),e(241,"td")(242,"code"),t(243,"boolean"),n()(),e(244,"td")(245,"code"),t(246,"true"),n()()(),e(247,"tr")(248,"td")(249,"code"),t(250,"[nzStatus]"),n()(),e(251,"td"),t(252,"\u4E8C\u7EF4\u7801\u72B6\u6001"),n(),e(253,"td")(254,"code"),t(255,"'active'\uFF5C'expired' \uFF5C'loading'"),n()(),e(256,"td")(257,"code"),t(258,"active"),n()()(),e(259,"tr")(260,"td")(261,"code"),t(262,"[nzStatusRender]"),n()(),e(263,"td"),t(264,"\u81EA\u5B9A\u4E49\u72B6\u6001\u6E32\u67D3\u5668"),n(),e(265,"td")(266,"code"),t(267,"TemplateRef<void> | string"),n()(),e(268,"td"),t(269,"-"),n()(),e(270,"tr")(271,"td")(272,"code"),t(273,"[nzLevel]"),n()(),e(274,"td"),t(275,"\u4E8C\u7EF4\u7801\u5BB9\u9519\u7B49\u7EA7"),n(),e(276,"td")(277,"code"),t(278,"'L'\uFF5C'M'\uFF5C'Q'\uFF5C'H'"),n()(),e(279,"td")(280,"code"),t(281,"M"),n()()(),e(282,"tr")(283,"td")(284,"code"),t(285,"(nzRefresh)"),n()(),e(286,"td"),t(287,'\u70B9\u51FB"\u70B9\u51FB\u5237\u65B0"\u7684\u56DE\u8C03'),n(),e(288,"td")(289,"code"),t(290,"EventEmitter<string>"),n()(),e(291,"td"),t(292,"-"),n()()()(),e(293,"h2",45)(294,"span"),t(295,"\u6CE8\u610F"),n(),e(296,"a",46),t(297,"#"),n()(),e(298,"h3",47)(299,"span"),t(300,"\u4E8C\u7EF4\u7801\u65E0\u6CD5\u8BC6\u522B"),n(),e(301,"a",48),t(302,"#"),n()(),e(303,"p")(304,"code"),t(305,"nzValue"),n(),t(306," \u4FDD\u5B88\u7684\u4E0A\u9650\u4E3A 738 \u6216\u66F4\u5C11\u7684\u5B57\u7B26\u4E32\u3002\u5982\u679C\u4F7F\u7528\u5BB9\u9519\u7B49\u7EA7\uFF0C"),e(307,"code"),t(308,"nzValue"),n(),t(309," \u4E0A\u9650\u4F1A\u964D\u4F4E\u3002"),n(),e(310,"h3",49)(311,"span"),t(312,"\u5173\u4E8E\u4E8C\u7EF4\u7801\u5BB9\u9519\u7B49\u7EA7"),n(),e(313,"a",50),t(314,"#"),n()(),e(315,"p"),t(316,"\u5BB9\u9519\u7B49\u7EA7\u4E5F\u53EB\u5BB9\u9519\u7387\uFF0C\u5C31\u662F\u6307\u4E8C\u7EF4\u7801\u53EF\u4EE5\u88AB\u906E\u6321\u540E\u8FD8\u80FD\u6B63\u5E38\u626B\u63CF\uFF0C\u800C\u8FD9\u4E2A\u80FD\u88AB\u906E\u6321\u7684\u6700\u5927\u9762\u79EF\u5C31\u662F\u5BB9\u9519\u7387\u3002"),n(),e(317,"p"),t(318,"\u901A\u5E38\u60C5\u51B5\u4E0B\u4E8C\u7EF4\u7801\u5206\u4E3A 4 \u4E2A\u5BB9\u9519\u7B49\u7EA7\uFF1A"),e(319,"code"),t(320,"L\u7EA7"),n(),t(321," \u53EF\u7EA0\u6B63\u7EA6 "),e(322,"code"),t(323,"7%"),n(),t(324," \u9519\u8BEF\u3001"),e(325,"code"),t(326,"M\u7EA7"),n(),t(327," \u53EF\u7EA0\u6B63\u7EA6 "),e(328,"code"),t(329,"15%"),n(),t(330," \u9519\u8BEF\u3001"),e(331,"code"),t(332,"Q\u7EA7"),n(),t(333," \u53EF\u7EA0\u6B63\u7EA6 "),e(334,"code"),t(335,"25%"),n(),t(336," \u9519\u8BEF\u3001"),e(337,"code"),t(338,"H\u7EA7"),n(),t(339,`
\u53EF\u7EA0\u6B63\u7EA6 `),e(340,"code"),t(341,"30%"),n(),t(342,`
\u9519\u8BEF\u3002\u5E76\u4E0D\u662F\u6240\u6709\u4F4D\u7F6E\u90FD\u53EF\u4EE5\u7F3A\u635F\uFF0C\u50CF\u6700\u660E\u663E\u7684\u4E09\u4E2A\u89D2\u4E0A\u7684\u65B9\u6846\uFF0C\u76F4\u63A5\u5F71\u54CD\u521D\u59CB\u5B9A\u4F4D\u3002\u4E2D\u95F4\u96F6\u6563\u7684\u90E8\u5206\u662F\u5185\u5BB9\u7F16\u7801\uFF0C\u53EF\u4EE5\u5BB9\u5FCD\u7F3A\u635F\u3002\u5F53\u4E8C\u7EF4\u7801\u7684\u5185\u5BB9\u7F16\u7801\u643A\u5E26\u4FE1\u606F\u6BD4\u8F83\u5C11\u7684\u65F6\u5019\uFF0C\u4E5F\u5C31\u662F\u94FE\u63A5\u6BD4\u8F83\u77ED\u7684\u65F6\u5019\uFF0C\u8BBE\u7F6E\u4E0D\u540C\u7684\u5BB9\u9519\u7B49\u7EA7\uFF0C\u751F\u6210\u7684\u56FE\u7247\u4E0D\u4F1A\u53D1\u751F\u53D8\u5316\u3002`),n(),e(343,"blockquote")(344,"p"),t(345,"\u6709\u5173\u66F4\u591A\u4FE1\u606F\uFF0C\u53EF\u53C2\u9605\u76F8\u5173\u8D44\u6599\uFF1A"),e(346,"a",51),t(347,"https://www.qrcode.com/zh/about/error_correction"),n()()(),w(),n()()),a&2&&(h(),E("nzOffsetTop",16),h(),E("nzAffix",!1),h(54),E("nzGutter",16),h(),E("nzXl",12)("nzSpan",24),h(),E("nzId","components-qr-code-demo-basic")("nzLink","components-qr-code-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/basic.md"),h(5),E("nzId","components-qr-code-demo-status")("nzLink","components-qr-code-demo-status")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/status.md"),h(20),E("nzId","components-qr-code-demo-padding")("nzLink","components-qr-code-demo-padding")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/padding.md"),h(5),E("nzId","components-qr-code-demo-background")("nzLink","components-qr-code-demo-background")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/background.md"),h(5),E("nzId","components-qr-code-demo-download")("nzLink","components-qr-code-demo-download")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/download.md"),h(5),E("nzXl",12)("nzSpan",24),h(),E("nzId","components-qr-code-demo-icon")("nzLink","components-qr-code-demo-icon")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/icon.md"),h(5),E("nzId","components-qr-code-demo-custom-status")("nzLink","components-qr-code-demo-custom-status")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/custom-status.md"),h(8),E("nzId","components-qr-code-demo-color")("nzLink","components-qr-code-demo-color")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/color.md"),h(8),E("nzId","components-qr-code-demo-error-level")("nzLink","components-qr-code-demo-error-level")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/error-level.md"))},dependencies:[ae,Q,re,de,ie,oe,ne,$,L,me,le,se,ue,ce,pe,ze,he,fe],encapsulation:2})}}return d})();var et=(()=>{class d{constructor(){this.expanded=!1}goLink(l){window&&(window.location.hash=l)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(l=>l.expandCode(this.expanded))}static{this.\u0275fac=function(a){return new(a||d)}}static{this.\u0275cmp=N({type:d,selectors:[["nz-demo-qr-code"]],viewQuery:function(a,c){if(a&1&&k(Q,5),a&2){let C;M(C=T())&&(c.codeBoxes=C)}},decls:341,vars:43,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-qr-code-demo-basic","nzTitle","Basic"],["nzHref","#components-qr-code-demo-icon","nzTitle","With Icon"],["nzHref","#components-qr-code-demo-status","nzTitle","Other Status"],["nzHref","#components-qr-code-demo-custom-status","nzTitle","custom status"],["nzHref","#components-qr-code-demo-padding","nzTitle","With padding"],["nzHref","#components-qr-code-demo-color","nzTitle","Custom Color"],["nzHref","#components-qr-code-demo-background","nzTitle","With custom background color"],["nzHref","#components-qr-code-demo-error-level","nzTitle","Error Level"],["nzHref","#components-qr-code-demo-download","nzTitle","Download QRCode"],["nzHref","#api","nzTitle","API"],[1,"markdown"],[1,"subtitle"],[1,"widget"],["aria-label","Edit this page on Github","href","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["id","when-to-use"],["onclick","window.location.hash = 'when-to-use'",1,"anchor"],["id","import-module"],["onclick","window.location.hash = 'import-module'",1,"anchor"],[1,"language-ts"],[1,"token","keyword"],[1,"token","punctuation"],[1,"token","string"],["nz-icon","","nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzXl","nzSpan"],["nzTitle","Basic","nzSelector","nz-demo-qr-code-basic","nzGenerateCommand","ng g ng-zorro-antd:qr-code-basic <name>","nzComponentName","NzDemoQrCodeBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Other Status","nzSelector","nz-demo-qr-code-status","nzGenerateCommand","ng g ng-zorro-antd:qr-code-status <name>","nzComponentName","NzDemoQrCodeStatusComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","With padding","nzSelector","nz-demo-qr-code-padding","nzGenerateCommand","ng g ng-zorro-antd:qr-code-padding <name>","nzComponentName","NzDemoQrCodePaddingComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","With custom background color","nzSelector","nz-demo-qr-code-background","nzGenerateCommand","ng g ng-zorro-antd:qr-code-background <name>","nzComponentName","NzDemoQrCodeBackgroundComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Download QRCode","nzSelector","nz-demo-qr-code-download","nzGenerateCommand","ng g ng-zorro-antd:qr-code-download <name>","nzComponentName","NzDemoQrCodeDownloadComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","With Icon","nzSelector","nz-demo-qr-code-icon","nzGenerateCommand","ng g ng-zorro-antd:qr-code-icon <name>","nzComponentName","NzDemoQrCodeIconComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","custom status","nzSelector","nz-demo-qr-code-custom-status","nzGenerateCommand","ng g ng-zorro-antd:qr-code-custom-status <name>","nzComponentName","NzDemoQrCodeCustomStatusComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Custom Color","nzSelector","nz-demo-qr-code-color","nzGenerateCommand","ng g ng-zorro-antd:qr-code-color <name>","nzComponentName","NzDemoQrCodeColorComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],["nzTitle","Error Level","nzSelector","nz-demo-qr-code-error-level","nzGenerateCommand","ng g ng-zorro-antd:qr-code-error-level <name>","nzComponentName","NzDemoQrCodeErrorLevelComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-qrcode"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-qrcode'",1,"anchor"],["id","note"],["onclick","window.location.hash = 'note'",1,"anchor"],["id","invalid-qr-code"],["onclick","window.location.hash = 'invalid-qr-code'",1,"anchor"],["id","qr-code-error-correction-level"],["onclick","window.location.hash = 'qr-code-error-correction-level'",1,"anchor"],["href","https://www.qrcode.com/en/about/error_correction.html","target","_blank","rel","noopener"]],template:function(a,c){a&1&&(e(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),I("nzClick",function(s){return c.goLink(s)}),z(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6)(8,"nz-link",7)(9,"nz-link",8)(10,"nz-link",9)(11,"nz-link",10)(12,"nz-link",11),n()(),e(13,"section",12)(14,"h1"),t(15,"QRCode"),z(16,"span",13)(17,"span",14),e(18,"a",15),z(19,"nz-icon",16),n()(),e(20,"section",12),B(),e(21,"h2",17)(22,"span"),t(23,"When To Use"),n(),e(24,"a",18),t(25,"#"),n()(),e(26,"p"),t(27,"Used when the link needs to be converted into a QR Code."),n(),e(28,"h3",19)(29,"span"),t(30,"Import Module"),n(),e(31,"a",20),t(32,"#"),n()(),e(33,"pre",21)(34,"code")(35,"span",22),t(36,"import"),n(),t(37," "),e(38,"span",23),t(39,"{"),n(),t(40," NzQRCodeModule "),e(41,"span",23),t(42,"}"),n(),t(43," "),e(44,"span",22),t(45,"from"),n(),t(46," "),e(47,"span",24),t(48,"'ng-zorro-antd/qr-code'"),n(),e(49,"span",23),t(50,";"),n()()(),w(),n(),e(51,"h2")(52,"span"),t(53,"Examples"),n(),e(54,"span",25),I("click",function(){return c.expandAllCode()}),n()()(),e(55,"div",26)(56,"div",27)(57,"nz-code-box",28),z(58,"nz-demo-qr-code-basic",29),e(59,"div",30),B(),e(60,"p"),t(61,"The simplest usage."),n(),w(),n()(),e(62,"nz-code-box",31),z(63,"nz-demo-qr-code-status",29),e(64,"div",30),B(),e(65,"p"),t(66,"The status can be controlled by the value "),e(67,"code"),t(68,"nzStatus"),n(),t(69,", four values of "),e(70,"code"),t(71,"active"),n(),t(72,", "),e(73,"code"),t(74,"expired"),n(),t(75,", "),e(76,"code"),t(77,"loading"),n(),t(78,", "),e(79,"code"),t(80,"scanned"),n(),t(81," are provided."),n(),w(),n()(),e(82,"nz-code-box",32),z(83,"nz-demo-qr-code-padding",29),e(84,"div",30),B(),e(85,"p"),t(86,"Customize the padding of the QR Code."),n(),w(),n()(),e(87,"nz-code-box",33),z(88,"nz-demo-qr-code-background",29),e(89,"div",30),B(),e(90,"p"),t(91,"Customize the background color of the QR Code."),n(),w(),n()(),e(92,"nz-code-box",34),z(93,"nz-demo-qr-code-download",29),e(94,"div",30),B(),e(95,"p"),t(96,"A way to download QRCode."),n(),w(),n()()(),e(97,"div",27)(98,"nz-code-box",35),z(99,"nz-demo-qr-code-icon",29),e(100,"div",30),B(),e(101,"p"),t(102,"QRCode with icon."),n(),w(),n()(),e(103,"nz-code-box",36),z(104,"nz-demo-qr-code-custom-status",29),e(105,"div",30),B(),e(106,"p"),t(107,"You can control the rendering logic of the QR code in different states through the value of "),e(108,"code"),t(109,"nzStatusRender"),n(),t(110,"."),n(),w(),n()(),e(111,"nz-code-box",37),z(112,"nz-demo-qr-code-color",29),e(113,"div",30),B(),e(114,"p"),t(115,"Customize QR code color."),n(),w(),n()(),e(116,"nz-code-box",38),z(117,"nz-demo-qr-code-error-level",29),e(118,"div",30),B(),e(119,"p"),t(120,"Set Error Level."),n(),w(),n()()()(),e(121,"section",39),B(),e(122,"h2",40)(123,"span"),t(124,"API"),n(),e(125,"a",41),t(126,"#"),n()(),e(127,"h3",42)(128,"span"),t(129,"nz-qrcode"),n(),e(130,"label",43),t(131,"component"),n(),e(132,"a",44),t(133,"#"),n()(),e(134,"table")(135,"thead")(136,"tr")(137,"th"),t(138,"Property"),n(),e(139,"th"),t(140,"Description"),n(),e(141,"th"),t(142,"Type"),n(),e(143,"th"),t(144,"Default"),n()()(),e(145,"tbody")(146,"tr")(147,"td")(148,"code"),t(149,"[nzValue]"),n()(),e(150,"td"),t(151,"scanned link"),n(),e(152,"td")(153,"code"),t(154,"string"),n()(),e(155,"td"),t(156,"-"),n()(),e(157,"tr")(158,"td")(159,"code"),t(160,"[nzColor]"),n()(),e(161,"td"),t(162,"QR code Color"),n(),e(163,"td")(164,"code"),t(165,"string"),n()(),e(166,"td")(167,"code"),t(168,"#000"),n()()(),e(169,"tr")(170,"td")(171,"code"),t(172,"[nzBgColor]"),n()(),e(173,"td"),t(174,"QR code background color"),n(),e(175,"td")(176,"code"),t(177,"string"),n()(),e(178,"td")(179,"code"),t(180,"#FFFFFF"),n()()(),e(181,"tr")(182,"td")(183,"code"),t(184,"[nzSize]"),n()(),e(185,"td"),t(186,"QR code Size"),n(),e(187,"td")(188,"code"),t(189,"number"),n()(),e(190,"td")(191,"code"),t(192,"160"),n()()(),e(193,"tr")(194,"td")(195,"code"),t(196,"[nzPadding]"),n()(),e(197,"td"),t(198,"QR code Padding"),n(),e(199,"td")(200,"code"),t(201,"number | number[]"),n()(),e(202,"td")(203,"code"),t(204,"0"),n()()(),e(205,"tr")(206,"td")(207,"code"),t(208,"[nzIcon]"),n()(),e(209,"td"),t(210,"Icon address in QR code"),n(),e(211,"td")(212,"code"),t(213,"string"),n()(),e(214,"td"),t(215,"-"),n()(),e(216,"tr")(217,"td")(218,"code"),t(219,"[nzIconSize]"),n()(),e(220,"td"),t(221,"The size of the icon in the QR code"),n(),e(222,"td")(223,"code"),t(224,"number"),n()(),e(225,"td")(226,"code"),t(227,"40"),n()()(),e(228,"tr")(229,"td")(230,"code"),t(231,"[nzBordered]"),n()(),e(232,"td"),t(233,"Whether has border style"),n(),e(234,"td")(235,"code"),t(236,"boolean"),n()(),e(237,"td")(238,"code"),t(239,"true"),n()()(),e(240,"tr")(241,"td")(242,"code"),t(243,"[nzStatus]"),n()(),e(244,"td"),t(245,"QR code status"),n(),e(246,"td")(247,"code"),t(248,"'active'\uFF5C'expired' \uFF5C'loading'"),n()(),e(249,"td")(250,"code"),t(251,"active"),n()()(),e(252,"tr")(253,"td")(254,"code"),t(255,"[nzStatusRender]"),n()(),e(256,"td"),t(257,"custom status"),n(),e(258,"td")(259,"code"),t(260,"TemplateRef<void> | string"),n()(),e(261,"td"),t(262,"-"),n()(),e(263,"tr")(264,"td")(265,"code"),t(266,"[nzLevel]"),n()(),e(267,"td"),t(268,"Error Code Level"),n(),e(269,"td")(270,"code"),t(271,"'L'\uFF5C'M'\uFF5C'Q'\uFF5C'H'"),n()(),e(272,"td")(273,"code"),t(274,"M"),n()()(),e(275,"tr")(276,"td")(277,"code"),t(278,"(nzRefresh)"),n()(),e(279,"td"),t(280,"callback"),n(),e(281,"td")(282,"code"),t(283,"EventEmitter<string>"),n()(),e(284,"td"),t(285,"-"),n()()()(),e(286,"h2",45)(287,"span"),t(288,"Note"),n(),e(289,"a",46),t(290,"#"),n()(),e(291,"h3",47)(292,"span"),t(293,"Invalid QR Code"),n(),e(294,"a",48),t(295,"#"),n()(),e(296,"p")(297,"code"),t(298,"nzValue"),n(),t(299," has a conservative upper limit of 738 or fewer strings. If error correction levels are used, the "),e(300,"code"),t(301,"nzValue"),n(),t(302,`
upper limit will be lowered.`),n(),e(303,"h3",49)(304,"span"),t(305,"QR Code error correction level"),n(),e(306,"a",50),t(307,"#"),n()(),e(308,"p"),t(309,`The ErrorLevel means that the QR code can be scanned normally after being blocked, and the maximum area that can be
blocked is the error correction rate.`),n(),e(310,"p"),t(311,"Generally, the QR code is divided into 4 error correction levels: Level "),e(312,"code"),t(313,"L"),n(),t(314," can correct about "),e(315,"code"),t(316,"7%"),n(),t(317," errors, Level "),e(318,"code"),t(319,"M"),n(),t(320,` can
correct about `),e(321,"code"),t(322,"15%"),n(),t(323," errors, Level "),e(324,"code"),t(325,"Q"),n(),t(326," can correct about "),e(327,"code"),t(328,"25%"),n(),t(329," errors, and Level "),e(330,"code"),t(331,"H"),n(),t(332," can correct about "),e(333,"code"),t(334,"30%"),n(),t(335,` errors. When
the content encoding of the QR code carries less information, in other words, when the value link is short, set
different error correction levels, and the generated image will not change.`),n(),e(336,"blockquote")(337,"p"),t(338,`For more information, see
the: `),e(339,"a",51),t(340,"https://www.qrcode.com/en/about/error_correction"),n()()(),w(),n()()),a&2&&(h(),E("nzOffsetTop",16),h(),E("nzAffix",!1),h(53),E("nzGutter",16),h(),E("nzXl",12)("nzSpan",24),h(),E("nzId","components-qr-code-demo-basic")("nzLink","components-qr-code-demo-basic")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/basic.md"),h(5),E("nzId","components-qr-code-demo-status")("nzLink","components-qr-code-demo-status")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/status.md"),h(20),E("nzId","components-qr-code-demo-padding")("nzLink","components-qr-code-demo-padding")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/padding.md"),h(5),E("nzId","components-qr-code-demo-background")("nzLink","components-qr-code-demo-background")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/background.md"),h(5),E("nzId","components-qr-code-demo-download")("nzLink","components-qr-code-demo-download")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/download.md"),h(5),E("nzXl",12)("nzSpan",24),h(),E("nzId","components-qr-code-demo-icon")("nzLink","components-qr-code-demo-icon")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/icon.md"),h(5),E("nzId","components-qr-code-demo-custom-status")("nzLink","components-qr-code-demo-custom-status")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/custom-status.md"),h(8),E("nzId","components-qr-code-demo-color")("nzLink","components-qr-code-demo-color")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/color.md"),h(5),E("nzId","components-qr-code-demo-error-level")("nzLink","components-qr-code-demo-error-level")("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/qr-code/demo/error-level.md"))},dependencies:[ae,Q,re,de,ie,oe,ne,$,L,me,le,se,ue,ce,pe,ze,he,fe],encapsulation:2})}}return d})();var At=[{path:"en",component:et},{path:"zh",component:Je}],Zn=At;export{Zn as default};