1import{a as Pe,b as $e}from"./chunk-UR4DJQPB.js";import{a as He,b as Oe,c as _e,d as Le,e as Ze}from"./chunk-GSVMROEC.js";import{b as Ae,c as Be}from"./chunk-TBKZPFQN.js";import"./chunk-AD7CF2MH.js";import"./chunk-XGZ3OT6B.js";import"./chunk-CQJHJGDE.js";import{a as Re,b as Ge}from"./chunk-QJ7HRFAB.js";import{a as Ie,b as Me}from"./chunk-OXLCYCVW.js";import{a as F,g as q,h as j,m as U,n as X}from"./chunk-JPVHXKRA.js";import{b as We,c as Te}from"./chunk-TCGAHCGZ.js";import"./chunk-6HORUWQO.js";import{Cc as $,Ed as ve,Ic as Se,Jd as De,Mc as Ce,Nc as ke,Pd as v,Qd as D,Rc as we,Td as Q,Uc as Fe,Vc as be,ad as Ne,cd as ye,lb as P}from"./chunk-TLWJJJ37.js";import{$b as n,Bc as e,Ka as ce,Na as ze,Rc as ge,Zb as d,_b as t,ac as l,ia as se,kc as w,lb as s,ma as y,nc as xe,oc as Ee,qc as O,ra as p,rb as fe,rc as _,rd as Z,sa as c,sc as L,wd as T,ya as ue,yb as z,za as pe,zb as he}from"./chunk-2LWTOIHP.js";import{a as H,b as de}from"./chunk-JNGVGNCT.js";var Ue=["*"];function Qe(){return window.devicePixelRatio||1}function Xe(r){return r.replace(/([A-Z])/g,"-$1").toLowerCase()}function Ye(r){return Object.keys(r).map(a=>`${Xe(a)}: ${r[a]};`).join(" ")}function Ve(r,o){let i=!1;return r.removedNodes.length&&(i=Array.from(r.removedNodes).some(a=>a===o)),r.type==="attributes"&&r.target===o&&(i=!0),i}function ie(r,o,i,a){r.translate(o,i),r.rotate(Math.PI/180*Number(a)),r.translate(-o,-i)}var ae=2,qe=3,b=(()=>{class r{nzWidth=120;nzHeight=64;nzRotate=-22;nzZIndex=9;nzImage="";nzContent="";nzFont={};nzGap=[100,100];nzOffset=[this.nzGap[0]/2,this.nzGap[1]/2];document=y(ue);el=y(ze).nativeElement;cdr=y(Z);destroyRef=y(pe);waterMarkElement=this.document.createElement("div");stopObservation=!1;observer=new MutationObserver(i=>{this.stopObservation||i.forEach(a=>{Ve(a,this.waterMarkElement)&&(this.destroyWatermark(),this.renderWatermark())})});constructor(){this.destroyRef.onDestroy(()=>{this.observer.disconnect()})}ngOnInit(){this.observer.observe(this.el,{subtree:!0,childList:!0,attributeFilter:["style","class"]})}ngAfterViewInit(){this.renderWatermark()}ngOnChanges(i){let{nzRotate:a,nzZIndex:m,nzWidth:u,nzHeight:h,nzImage:f,nzContent:E,nzFont:S,gapX:g,gapY:x,offsetLeft:C,offsetTop:G}=i;(a||m||u||h||f||E||S||g||x||C||G)&&this.renderWatermark()}getFont(){let i={color:"rgba(0,0,0,.15)",fontSize:16,fontWeight:"normal",fontFamily:"sans-serif",fontStyle:"normal"};this.nzFont=H(H({},i),this.nzFont),this.cdr.markForCheck()}getMarkStyle(){let i={zIndex:this.nzZIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat",visibility:"visible"},a=(this.nzOffset?.[0]??this.nzGap[0]/2)-this.nzGap[0]/2,m=(this.nzOffset?.[1]??this.nzGap[1]/2)-this.nzGap[1]/2;return a>
10&&(i.left=`${a}px`,i.width=`calc(100% - ${a}px)`,a=0),m>0&&(i.top=`${m}px`,i.height=`calc(100% - ${m}px)`,m=0),i.backgroundPosition=`${a}px ${m}px`,i}destroyWatermark(){this.waterMarkElement&&this.waterMarkElement.remove()}appendWatermark(i,a){this.stopObservation=!0,this.waterMarkElement.setAttribute("style",Ye(de(H({},this.getMarkStyle()),{backgroundImage:`url('${i}')`,backgroundSize:`${(this.nzGap[0]+a)*ae}px`}))),this.el.append(this.waterMarkElement),this.cdr.markForCheck(),setTimeout(()=>{this.stopObservation=!1,this.cdr.markForCheck()})}getMarkSize(i){let a=120,m=64;if(!this.nzImage&&i.measureText){i.font=`${Number(this.nzFont.fontSize)}px ${this.nzFont.fontFamily}`;let u=Array.isArray(this.nzContent)?this.nzContent:[this.nzContent],h=u.map(f=>i.measureText(f).width);a=Math.ceil(Math.max(...h)),m=Number(this.nzFont.fontSize)*u.length+(u.length-1)*qe}return[this.nzWidth??a,this.nzHeight??m]}fillTexts(i,a,m,u,h){let f=Qe(),E=Number(this.nzFont.fontSize)*f;i.font=`${this.nzFont.fontStyle} normal ${this.nzFont.fontWeight} ${E}px/${h}px ${this.nzFont.fontFamily}`,this.nzFont.color&&(i.fillStyle=this.nzFont.color),i.textAlign="center",i.textBaseline="top",i.translate(u/2,0),(Array.isArray(this.nzContent)?this.nzContent:[this.nzContent])?.forEach((g,x)=>{i.fillText(g??"",a,m+x*(E+qe*f))})}drawText(i,a,m,u,h,f,E,S,g,x,C){this.fillTexts(a,m,u,h,f),a.restore(),ie(a,E,S,this.nzRotate),this.fillTexts(a,g,x,h,f),this.appendWatermark(i.toDataURL(),C)}renderWatermark(){if(!this.nzContent&&!this.nzImage)return;let i=this.document.createElement("canvas"),a=i.getContext("2d");if(a){this.waterMarkElement||(this.waterMarkElement=this.document.createElement("div")),this.getFont();let m=Qe(),[u,h]=this.getMarkSize(a),f=(this.nzGap[0]+u)*m,E=(this.nzGap[1]+h)*m;i.setAttribute("width",`${f*ae}px`),i.setAttribute("height",`${E*ae}px`);let S=this.nzGap[0]*m/2,g=this.nzGap[1]*m/2,x=u*m,C=h*m,G=(x+this.nzGap[0]*m)/2,re=(C+this.nzGap[1]*m)/2,K=S+f,ee=g+E,te=G+f,ne=re+E;if(a.save(),ie(a,G,re,this.nzRotate),this.nzImage){let k=new Image,oe=()=>{le(),a.drawImage(k,S,g,x,C),a.restore(),ie(a,te,ne,this.nzRotate),a.drawImage(k,K,ee,x,C),this.appendWatermark(i.toDataURL(),u)},me=()=>{le(),this.drawText(i,a,S,g,x,C,te,ne,K,ee,u)},le=()=>{k.removeEventListener("load",oe),k.removeEventListener("error",me)};k.addEventListener("load",oe),k.addEventListener("error",me),k.crossOrigin="anonymous",k.referrerPolicy="no-referrer",k.src=this.nzImage}else this.drawText(i,a,S,g,x,C,te,ne,K,ee,u)}}static \u0275fac=function(a){return new(a||r)};static \u0275cmp=z({type:r,selectors:[["nz-water-mark"]],hostAttrs:[1,"ant-water-mark"],inputs:{nzWidth:[2,"nzWidth","nzWidth",T],nzHeight:[2,"nzHeight","nzHeight",T],nzRotate:[2,"nzRotate","nzRotate",T],nzZIndex:[2,"nzZIndex","nzZIndex",T],nzImage:"nzImage",nzContent:"nzContent",nzFont:"nzFont",nzGap:"nzGap",nzOffset:"nzOffset"},exportAs:["NzWaterMark"],features:[ce],ngContentSelectors:Ue,decls:1,vars:0,template:function(a,m){a&1&&(xe(),Ee(0))},encapsulation:2,changeDetection:0})}return r})(),N=(()=>{class r{static \u0275fac=function(a){return new(a||r)};static \u0275mod=he({type:r});static \u0275inj=se({})}return r})();var M=class r{static \u0275fac=function(i){return new(i||r)};static \u0275cmp=z({type:r,selectors:[["nz-demo-water-mark-basic"]],decls:2,vars:0,consts:[["nzContent","NG Ant Design"],[2,"height","500px"]],template:function(i,a){i&1&&(t(0,"nz-water-mark",0),l(1,"div",1),n())},dependencies:[N,b],encapsulation:2})};var A=class r{constructor(o){this.cdr=o}fb=y(Ne);form=this.fb.group({content:"NG Ant Design",fontSize:16,zIndex:11,rotate:-22,gapX:100,gapY:100,offsetX:50,offsetY:50});color="rgba(0,0,0,.15)";font={color:"rgba(0,0,0,.15)",fontSize:16};gap=[100,100];offset=[50,50];ngOnInit(){this.form.valueChanges.subscribe(o=>{this.font={fontSize:o.fontSize,color:this.color},this.gap=[o.gapX,o.gapY],this.offset=[o.offsetX,o.offsetY],this.cdr.markForCheck()})}changeColor(o){this.color=o.color.toRgbString(),this.font={fontSize:this.form.value.fontSize,color:o.color.toRgbString()},this.cdr.markForCheck()}static \u0275fac=function(i){return new(i||r)(fe(Z))};static \u0275cmp=z({type:r,selectors:[["nz-demo-water-mark-custom"]],decls:48,vars:10,consts:[[2,"display","flex"],[3,"nzContent","nzRotate","nzZIndex","nzGap","nzOffset","nzFont"],["nz-typography","",2,"z-index","10","position","relative"],["src","https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*zx7LTI_ECSAAAAAAAAAAAABkARQnAQ","alt","\u793A\u4F8B\u56FE\u7247",2,"z-index","30","position","relative","width","100%","max-width","800px"],["nzType","vertical"],["nz-form","","nzLayout","vertical",3,"formGroup"],["nz-input","","type","text","formControlName","content"],[3,"nzOnChange","nzValue"],["formControlName","fontSize"],["formControlName","zIndex"],["formControlName","rotate",3,"nzMin","nzMax"],["formControlName","gapX"],["formControlName","gapY"],["formControlName","offsetX"],["formControlName","offsetY"]],template:function(i,a){i&1&&(t(0,"div",0)(1,"nz-water-mark",1)(2,"p",2),e(3," The light-speed iteration of the digital world makes products more complex. However, human consciousness and attention resources are limited. Facing this design contradiction, the pursuit of natural interaction will be the consistent direction of Ant Design. "),n(),t(4,"p",2),e(5," Natural user cognition: According to cognitive psychology, about 80% of external information is obtained through visual channels. The most important visual elements in the interface design, including layout, colors, illustrations, icons, etc., should fully absorb the laws of nature, thereby reducing the user's cognitive cost and bringing authentic and smooth feelings. In some scenarios, opportunely adding other sensory channels such as hearing, touch can create a richer and more natural product experience. "),n(),t(6,"p",2),e(7," Natural user behavior: In the interaction with the system, the designer should fully understand the relationship between users, system roles, and task objectives, and also contextually organize system functions and services. At the same time, a series of methods such as behavior analysis, artificial intelligence and sensors could be applied to assist users to make effective decisions and reduce extra operations of users, to save users' mental and physical resources and make human-computer interaction more natural. "),n(),l(8,"img",3),n(),l(9,"nz-divider",4),t(10,"form",5)(11,"nz-form-item")(12,"nz-form-label"),e(13,"Content"),n(),t(14,"nz-form-control"),l(15,"input",6),n()(),t(16,"nz-form-item")(17,"nz-form-label"),e(18,"Color"),n(),t(19,"nz-form-control")(20,"nz-color-picker",7),w("nzOnChange",function(u){return a.changeColor(u)}),n()()(),t(21,"nz-form-item")(22,"nz-form-label"),e(23,"FontSize"),n(),t(24,"nz-form-control"),l(25,"nz-slider",8),n()(),t(26,"nz-form-item")(27,"nz-form-label"),e(28,"zIndex"),n(),t(29,"nz-form-control"),l(30,"nz-slider",9),n()(),t(31,"nz-form-item")(32,"nz-form-label"),e(33,"Rotate"),n(),t(34,"nz-form-control"),l(35,"nz-slider",10),n()(),t(36,"nz-form-item")(37,"nz-form-label"),e(38,"Gap"),n(),t(39,"nz-form-control"),l(40,"nz-input-number",11)(41,"nz-input-number",12),n()(),t(42,"nz-form-item")(43,"nz-form-label"),e(44,"Offset"),n(),t(45,"nz-form-control"),l(46,"nz-input-number",13)(47,"nz-input-number",14),n()()()()),i&2&&(s(),d("nzContent",a.form.value.content)("nzRotate",a.form.value.rotate)("nzZIndex",a.form.value.zIndex)("nzGap",a.gap)("nzOffset",a.offset)("nzFont",a.font),s(9),d("formGroup",a.form),s(10),d("nzValue",a.color),s(15),d("nzMin",-180)("nzMax",180))},dependencies:[ye,we,Se,Ce,ke,Fe,be,Be,Ae,Ge,Re,Ze,D,v,Oe,He,Le,_e,De,ve,Me,Ie,$e,Pe,Te,We,N,b],styles:["nz-water-mark[_ngcontent-%COMP%]{flex:1 1 auto}nz-divider[_ngcontent-%COMP%]{height:auto;margin:0 20px}form[_ngcontent-%COMP%]{flex:0 0 280px}nz-input-number[_ngcontent-%COMP%]{margin-right:12px;width:40%}"]})};var B=class r{static \u0275fac=function(i){return new(i||r)};static \u0275cmp=z({type:r,selectors:[["nz-demo-water-mark-image"]],decls:2,vars:2,consts:[["nzImage","https://img.alicdn.com/imgextra/i3/O1CN01UR3Zkq1va9fnZsZcr_!!6000000006188-55-tps-424-64.svg",3,"nzWidth","nzHeight"],[2,"height","500px"]],template:function(i,a){i&1&&(t(0,"nz-water-mark",0),l(1,"div",1),n()),i&2&&d("nzWidth",212)("nzHeight",32)},dependencies:[N,b],encapsulation:2})};var Je=()=>["Angular","NG Ant Design"],W=class r{static \u0275fac=function(i){return new(i||r)};static \u0275cmp=z({type:r,selectors:[["nz-demo-water-mark-multi-l
1ine"]],decls:2,vars:2,consts:[[3,"nzContent"],[2,"height","500px"]],template:function(i,a){i&1&&(t(0,"nz-water-mark",0),l(1,"div",1),n()),i&2&&d("nzContent",ge(1,Je))},dependencies:[N,b],encapsulation:2})};var V=class r{expanded=!1;codeBoxes;goLink(o){window&&(window.location.hash=o)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(o=>o.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=z({type:r,selectors:[["nz-demo-water-mark"]],viewQuery:function(i,a){if(i&1&&O(F,5),i&2){let m;_(m=L())&&(a.codeBoxes=m)}},decls:376,vars:24,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-water-mark-demo-basic","nzTitle","\u57FA\u672C"],["nzHref","#components-water-mark-demo-multi-line","nzTitle","\u591A\u884C\u6C34\u5370"],["nzHref","#components-water-mark-demo-image","nzTitle","\u56FE\u7247\u6C34\u5370"],["nzHref","#components-water-mark-demo-custom","nzTitle","\u81EA\u5B9A\u4E49\u914D\u7F6E"],["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/water-mark/doc/index.zh-CN.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["name","water-mark","description","\u7ED9\u9875\u9762\u7684\u67D0\u4E2A\u533A\u57DF\u52A0\u4E0A\u6C34\u5370\u3002","language","zh"],["id","\u4F55\u65F6\u4F7F\u7528"],["onclick","window.location.hash = '\u4F55\u65F6\u4F7F\u7528'",1,"anchor"],["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,"nzSpan"],["nzTitle","\u57FA\u672C","nzSelector","nz-demo-water-mark-basic","nzGenerateCommand","ng g ng-zorro-antd:water-mark-basic <name>","nzComponentName","NzDemoWaterMarkBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","\u591A\u884C\u6C34\u5370","nzSelector","nz-demo-water-mark-multi-line","nzGenerateCommand","ng g ng-zorro-antd:water-mark-multi-line <name>","nzComponentName","NzDemoWaterMarkMultiLineComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u56FE\u7247\u6C34\u5370","nzSelector","nz-demo-water-mark-image","nzGenerateCommand","ng g ng-zorro-antd:water-mark-image <name>","nzComponentName","NzDemoWaterMarkImageComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","\u81EA\u5B9A\u4E49\u914D\u7F6E","nzSelector","nz-demo-water-mark-custom","nzGenerateCommand","ng g ng-zorro-antd:water-mark-custom <name>","nzComponentName","NzDemoWaterMarkCustomComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-water-mark"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-water-mark'",1,"anchor"],["id","fonttype"],["onclick","window.location.hash = 'fonttype'",1,"anchor"],["id","faq"],["onclick","window.location.hash = 'faq'",1,"anchor"],["id","\u5904\u7406\u5F02\u5E38\u56FE\u7247\u6C34\u5370"],["onclick","window.location.hash = '\u5904\u7406\u5F02\u5E38\u56FE\u7247\u6C34\u5370'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","punctuation"],[1,"token","attr-name"],[1,"token","attr-value"],[1,"token","punctuation","attr-equals"],[1,"token","special-attr"],[1,"token","value","css","language-css"],[1,"token","property"]],template:function(i,a){i&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),w("nzClick",function(u){return a.goLink(u)}),l(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6),n()(),t(8,"section",7)(9,"h1"),e(10,"WaterMark"),t(11,"span",8),e(12,"\u6C34\u5370"),n(),l(13,"span",9),t(14,"a",10),l(15,"nz-icon",11),n()(),l(16,"component-meta",12),t(17,"section",7),c(),t(18,"h2",13)(19,"span"),e(20,"\u4F55\u65F6\u4F7F\u7528"),n(),t(21,"a",14),e(22,"#"),n()(),t(23,"ul")(24,"li"),e(25,"\u9875\u9762\u9700\u8981\u6DFB\u52A0\u6C34\u5370\u6807\u8BC6\u7248\u6743\u65F6\u4F7F\u7528\u3002"),n(),t(26,"li"),e(27,"\u9002\u7528\u4E8E\u9632\u6B62\u4FE1\u606F\u76D7\u7528\u3002"),n()(),p(),n(),t(28,"h2")(29,"span"),e(30,"\u4EE3\u7801\u6F14\u793A"),n(),t(31,"nz-icon",15),w("click",function(){return a.expandAllCode()}),n()()(),t(32,"div",16)(33,"div",17)(34,"nz-code-box",18),l(35,"nz-demo-water-mark-basic",19),t(36,"div",20),c(),t(37,"p"),e(38,"\u6700\u7B80\u5355\u7684\u7528\u6CD5\u3002"),n(),p(),n()(),t(39,"nz-code-box",21),l(40,"nz-demo-water-mark-multi-l
1ine",19),t(41,"div",20),c(),t(42,"p"),e(43,"\u901A\u8FC7 "),t(44,"code"),e(45,"nzContent"),n(),e(46," \u8BBE\u7F6E \u5B57\u7B26\u4E32\u6570\u7EC4 \u6307\u5B9A\u591A\u884C\u6587\u5B57\u6C34\u5370\u5185\u5BB9\u3002"),n(),p(),n()(),t(47,"nz-code-box",22),l(48,"nz-demo-water-mark-image",19),t(49,"div",20),c(),t(50,"p"),e(51,"\u901A\u8FC7 "),t(52,"code"),e(53,"nzImage"),n(),e(54," \u6307\u5B9A\u56FE\u7247\u5730\u5740\u3002\u4E3A\u4FDD\u8BC1\u56FE\u7247\u9AD8\u6E05\u4E14\u4E0D\u88AB\u62C9\u4F38\uFF0C\u8BF7\u8BBE\u7F6E width \u548C height, \u5E76\u4E0A\u4F20\u81F3\u5C11\u4E24\u500D\u7684\u5BBD\u9AD8\u7684 logo \u56FE\u7247\u5730\u5740\u3002"),n(),p(),n()(),t(55,"nz-code-box",23),l(56,"nz-demo-water-mark-custom",19),t(57,"div",20),c(),t(58,"p"),e(59,"\u901A\u8FC7\u81EA\u5B9A\u4E49\u53C2\u6570\u914D\u7F6E\u9884\u89C8\u6C34\u5370\u6548\u679C\u3002"),n(),p(),n()()()(),t(60,"section",24),c(),t(61,"h2",25)(62,"span"),e(63,"API"),n(),t(64,"a",26),e(65,"#"),n()(),t(66,"h3",27)(67,"span"),e(68,"nz-water-mark"),n(),t(69,"label",28),e(70,"component"),n(),t(71,"a",29),e(72,"#"),n()(),t(73,"table")(74,"thead")(75,"tr")(76,"th"),e(77,"\u53C2\u6570"),n(),t(78,"th"),e(79,"\u8BF4\u660E"),n(),t(80,"th"),e(81,"\u7C7B\u578B"),n(),t(82,"th"),e(83,"\u9ED8\u8BA4\u503C"),n()()(),t(84,"tbody")(85,"tr")(86,"td")(87,"code"),e(88,"nzContent"),n()(),t(89,"td"),e(90,"\u6C34\u5370\u6587\u5B57\u5185\u5BB9"),n(),t(91,"td")(92,"code"),e(93,"string \uFF5C string[]"),n()(),t(94,"td"),e(95,"-"),n()(),t(96,"tr")(97,"td")(98,"code"),e(99,"nzWidth"),n()(),t(100,"td"),e(101,"\u6C34\u5370\u7684\u5BBD\u5EA6\uFF0C"),t(102,"code"),e(103,"nzContent"),n(),e(104," \u7684\u9ED8\u8BA4\u503C\u4E3A\u81EA\u8EAB\u7684\u5BBD\u5EA6"),n(),t(105,"td")(106,"code"),e(107,"number"),n()(),t(108,"td"),e(109,"120"),n()(),t(110,"tr")(111,"td")(112,"code"),e(113,"nzHeight"),n()(),t(114,"td"),e(115,"\u6C34\u5370\u7684\u9AD8\u5EA6\uFF0C"),t(116,"code"),e(117,"nzContent"),n(),e(118," \u7684\u9ED8\u8BA4\u503C\u4E3A\u81EA\u8EAB\u7684\u9AD8\u5EA6"),n(),t(119,"td")(120,"code"),e(121,"number"),n()(),t(122,"td"),e(123,"64"),n()(),t(124,"tr")(125,"td")(126,"code"),e(127,"nzRotate"),n()(),t(128,"td"),e(129,"\u6C34\u5370\u7ED8\u5236\u65F6\uFF0C\u65CB\u8F6C\u7684\u89D2\u5EA6\uFF0C\u5355\u4F4D "),t(130,"code"),e(131,"\xB0"),n()(),t(132,"td")(133,"code"),e(134,"number"),n()(),t(135,"td"),e(136,"-22"),n()(),t(137,"tr")(138,"td")(139,"code"),e(140,"nzZIndex"),n()(),t(141,"td"),e(142,"\u8FFD\u52A0\u7684\u6C34\u5370\u5143\u7D20\u7684 z-index"),n(),t(143,"td")(144,"code"),e(145,"number"),n()(),t(146,"td"),e(147,"9"),n()(),t(148,"tr")(149,"td")(150,"code"),e(151,"nzImage"),n()(),t(152,"td"),e(153,"\u56FE\u7247\u6E90\uFF0C\u5EFA\u8BAE\u5BFC\u51FA 2 \u500D\u6216 3 \u500D\u56FE\uFF0C\u4F18\u5148\u7EA7\u9AD8 (\u652F\u6301 base64 \u683C\u5F0F)"),n(),t(154,"td")(155,"code"),e(156,"string"),n()(),t(157,"td"),e(158,"-"),n()(),t(159,"tr")(160,"td")(161,"code"),e(162,"nzFont"),n()(),t(163,"td"),e(164,"\u6587\u5B57\u6837\u5F0F"),n(),t(165,"td")(166,"code"),e(167,"FontType"),n()(),t(168,"td"),e(169,"FontType"),n()(),t(170,"tr")(171,"td")(172,"code"),e(173,"nzGap"),n()(),t(174,"td"),e(175,"\u6C34\u5370\u4E4B\u95F4\u7684\u95F4\u8DDD"),n(),t(176,"td")(177,"code"),e(178,"[number, number]"),n()(),t(179,"td"),e(180,"[100, 100]"),n()(),t(181,"tr")(182,"td")(183,"code"),e(184,"nzOffset"),n()(),t(185,"td"),e(186,"\u6C34\u5370\u8DDD\u79BB\u5BB9\u5668\u5DE6\u4E0A\u89D2\u7684\u504F\u79FB\u91CF\uFF0C\u9ED8\u8BA4\u4E3A "),t(187,"code"),e(188,"nzGap/2"),n()(),t(189,"td")(190,"code"),e(191,"[number, number]"),n()(),t(192,"td"),e(193,"[nzGap[0]/2, nzGap[1]/2]"),n()()()(),t(194,"h3",30)(195,"span"),e(196,"FontType"),n(),t(197,"a",31),e(198,"#"),n()(),t(199,"table")(200,"thead")(201,"tr")(202,"th"),e(203,"\u53C2\u6570"),n(),t(204,"th"),e(205,"\u8BF4\u660E"),n(),t(206,"th"),e(207,"\u7C7B\u578B"),n(),t(208,"th"),e(209,"\u9ED8\u8BA4\u503C"),n()()(),t(210,"tbody")(211,"tr")(212,"td")(213,"code"),e(214,"color"),n()(),t(215,"td"),e(216,"\u5B57\u4F53\u989C\u8272"),n(),t(217,"td")(218,"code"),e(219,"string"),n()(),t(220,"td"),e(221,"rgba(0,0,0,.15)"),n()(),t(222,"tr")(223,"td")(224,"code"),e(225,"fontSize"),n()(),t(226,"td"),e(227,"\u5B57\u4F53\u5927\u5C0F"),n(),t(228,"td")(229,"code"),e(230,"number"),n()(),t(231,"td"),e(232,"16"),n()(),t(233,"tr")(234,"td")(235,"code"),e(236,"fontWeight"),n()(),t(237,"td"),e(238,"\u5B57\u4F53\u7C97\u7EC6"),n(),t(239,"td")(240,"code"),e(241,"normal \uFF5C light \uFF5C weight \uFF5C number"),n()(),t(242,"td"),e(243,"normal"),n()(),t(244,"tr")(245,"td")(246,"code"),e(247,"fontFamily"),n()(),t(248,"td"),e(249,"\u5B57\u4F53\u7C7B\u578B"),n(),t(250,"td")(251,"code"),e(252,"string"),n()(),t(253,"td"),e(254,"sans-serif"),n()(),t(255,"tr")(256,"td")(257,"code"),e(258,"fontStyle"),n()(),t(259,"td"),e(260,"\u5B57\u4F53\u6837\u5F0F"),n(),t(261,"td")(262,"code"),e(263,"none \uFF5C normal \uFF5C italic \uFF5C oblique"),n()(),t(264,"td"),e(265,"normal"),n()()()(),t(266,"h2",32)(267,"span"),e(268,"FAQ"),n(),t(269,"a",33),e(270,"#"),n()(),t(271,"h3",34)(272,"span"),e(273,"\u5904\u7406\u5F02\u5E38\u56FE\u7247\u6C34\u5370"),n(),t(274,"a",35),e(275,"#"),n()(),t(276,"p"),e(277,"\u5F53\u4F7F\u7528\u56FE\u7247\u6C34\u5370\u4E14\u56FE\u7247\u52A0\u8F7D\u5F02\u5E38\u65F6\uFF0C\u53EF\u4EE5\u540C\u65F6\u6DFB\u52A0 "),t(278,"code"),e(279,"nzContent"),n(),e(280," \u9632\u6B62\u6C34\u5370\u5931\u6548\u3002"),n(),t(281,"pre")(282,"code",36)(283,"span",37)(284,"span",37)(285,"span",38),e(286,"<"),n(),e(287,"nz-water-mark"),n(),e(288,` 2 `),t(289,"span",39),e(290,"[nzWidth]"),n(),t(291,"span",40)(292,"span",41),e(293,"="),n(),t(294,"span",38),e(295,'"'),n(),e(296,"212"),t(297,"span",38),e(298,'"'),n()(),e(299,` 3 `),t(300,"span",39),e(301,"[nzHeight]"),n(),t(302,"span",40)(303,"span",41),e(304,"="),n(),t(305,"span",38),e(306,'"'),n(),e(307,"32"),t(308,"span",38),e(309,'"'),n()(),e(310,` 4 `),t(311,"span",39),e(312,"nzContent"),n(),t(313,"span",40)(314,"span",41),e(315,"="),n(),t(316,"span",38),e(317,'"'),n(),e(318,"NG Ant Design"),t(319,"span",38),e(320,'"'),n()(),e(321,` 5 `),t(322,"span",39),e(323,"nzImage"),n(),t(324,"span",40)(325,"span",41),e(326,"="),n(),t(327,"span",38),e(328,'"'),n(),e(329,"https://img.alicdn.com/imgextra/i3/O1CN01UR3Zkq1va9fnZsZcr_!!6000000006188-55-tps-424-64.svg"),t(330,"span",38),e(331,'"'),n()(),e(332,` 6`),t(333,"span",38),e(334,">"),n()(),e(335,` 7 `),t(336,"span",37)(337,"span",37)(338,"span",38),e(339,"<"),n(),e(340,"div"),n(),e(341," "),t(342,"span",42)(343,"span",39),e(344,"style"),n(),t(345,"span",40)(346,"span",41),e(347,"="),n(),t(348,"span",38),e(349,'"'),n(),t(350,"span",43)(351,"span",44),e(352,"height"),n(),t(353,"span",38),e(354,":"),n(),e(355," 500px"),n(),t(356,"span",38),e(357,'"'),n()()(),t(358,"span",38),e(359,">"),n()(),t(360,"span",37)(361,"span",37)(362,"span",38),e(363,"</"),n(),e(364,"div"),n(),t(365,"span",38),e(366,">"),n()(),e(367,` 8`),t(368,"span",37)(369,"span",37)(370,"span",38),e(371,"</"),n(),e(372,"nz-water-mark"),n(),t(373,"span",38),e(374,">"),n()(),e(375,` 9`),n()(),p(),n()()),i&2&&(s(),d("nzOffsetTop",16),s(),d("nzAffix",!1),s(30),d("nzGutter",8),s(),d("nzSpan",24),s(),d("nzId","components-water-mark-demo-basic")("nzLink","components-water-mark-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/water-mark/demo/basic.md"),s(5),d("nzId","components-water-mark-demo-multi-l
9ine")("nzLink","components-water-mark-demo-multi-line")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/water-mark/demo/multi-line.md"),s(8),d("nzId","components-water-mark-demo-image")("nzLink","components-water-mark-demo-image")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/water-mark/demo/image.md"),s(8),d("nzId","components-water-mark-demo-custom")("nzLink","components-water-mark-demo-custom")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/water-mark/demo/custom.md"))},dependencies:[X,F,U,q,j,Q,D,v,$,P,M,A,B,W],encapsulation:2})};var J=class r{expanded=!1;codeBoxes;goLink(o){window&&(window.location.hash=o)}expandAllCode(){this.expanded=!this.expanded,this.codeBoxes.forEach(o=>o.expandCode(this.expanded))}static \u0275fac=function(i){return new(i||r)};static \u0275cmp=z({type:r,selectors:[["nz-demo-water-mark"]],viewQuery:function(i,a){if(i&1&&O(F,5),i&2){let m;_(m=L())&&(a.codeBoxes=m)}},decls:375,vars:24,consts:[[1,"toc-affix",3,"nzOffsetTop"],["nzShowInkInFixed","",3,"nzClick","nzAffix"],["nzHref","#components-water-mark-demo-basic","nzTitle","Basic"],["nzHref","#components-water-mark-demo-multi-line","nzTitle","Multi-line watermark"],["nzHref","#components-water-mark-demo-image","nzTitle","Image watermark"],["nzHref","#components-water-mark-demo-custom","nzTitle","Custom configuration"],["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/water-mark/doc/index.en-US.md","target","_blank","rel","noopener noreferrer",1,"edit-button"],["nzType","edit"],["name","water-mark","description","Add specific text or patterns to the page.","language","en"],["id","when_to_use"],["onclick","window.location.hash = 'when_to_use'",1,"anchor"],["nzType","appstore","nz-tooltip","","nzTooltipTitle","Expand All Code",1,"code-box-expand-trigger",3,"click"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan"],["nzTitle","Basic","nzSelector","nz-demo-water-mark-basic","nzGenerateCommand","ng g ng-zorro-antd:water-mark-basic <name>","nzComponentName","NzDemoWaterMarkBasicComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["demo",""],["intro",""],["nzTitle","Multi-line watermark","nzSelector","nz-demo-water-mark-multi-line","nzGenerateCommand","ng g ng-zorro-antd:water-mark-multi-line <name>","nzComponentName","NzDemoWaterMarkMultiLineComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Image watermark","nzSelector","nz-demo-water-mark-image","nzGenerateCommand","ng g ng-zorro-antd:water-mark-image <name>","nzComponentName","NzDemoWaterMarkImageComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],["nzTitle","Custom configuration","nzSelector","nz-demo-water-mark-custom","nzGenerateCommand","ng g ng-zorro-antd:water-mark-custom <name>","nzComponentName","NzDemoWaterMarkCustomComponent","nzIframeSource","null",3,"nzId","nzLink","nzIframe","nzIframeHeight","nzHref"],[1,"markdown","api-container"],["id","api"],["onclick","window.location.hash = 'api'",1,"anchor"],["id","nz-water-mark"],[1,"api-type-label","component"],["onclick","window.location.hash = 'nz-water-mark'",1,"anchor"],["id","fonttype"],["onclick","window.location.hash = 'fonttype'",1,"anchor"],["id","faq"],["onclick","window.location.hash = 'faq'",1,"anchor"],["id","handle_abnormal_image_watermarks"],["onclick","window.location.hash = 'handle_abnormal_image_watermarks'",1,"anchor"],[1,"language-html"],[1,"token","tag"],[1,"token","punctuation"],[1,"token","attr-name"],[1,"token","attr-value"],[1,"token","punctuation","attr-equals"],[1,"token","special-attr"],[1,"token","value","css","language-css"],[1,"token","property"]],template:function(i,a){i&1&&(t(0,"article")(1,"nz-affix",0)(2,"nz-anchor",1),w("nzClick",function(u){return a.goLink(u)}),l(3,"nz-link",2)(4,"nz-link",3)(5,"nz-link",4)(6,"nz-link",5)(7,"nz-link",6),n()(),t(8,"section",7)(9,"h1"),e(10,"WaterMark"),l(11,"span",8)(12,"span",9),t(13,"a",10),l(14,"nz-icon",11),n()(),l(15,"component-meta",12),t(16,"section",7),c(),t(17,"h2",13)(18,"span"),e(19,"When To Use"),n(),t(20,"a",14),e(21,"#"),n()(),t(22,"ul")(23,"li"),e(24,"Use when the page needs to be watermarked to identify the copyright."),n(),t(25,"li"),e(26,"Suitable for preventing information theft."),n()(),p(),n(),t(27,"h2")(28,"span"),e(29,"Ex
9amples"),n(),t(30,"nz-icon",15),w("click",function(){return a.expandAllCode()}),n()()(),t(31,"div",16)(32,"div",17)(33,"nz-code-box",18),l(34,"nz-demo-water-mark-basic",19),t(35,"div",20),c(),t(36,"p"),e(37,"The most basic usage."),n(),p(),n()(),t(38,"nz-code-box",21),l(39,"nz-demo-water-mark-multi-line",19),t(40,"div",20),c(),t(41,"p"),e(42,"Use "),t(43,"code"),e(44,"nzContent"),n(),e(45," to set a string array to specify multi-line text watermark content."),n(),p(),n()(),t(46,"nz-code-box",22),l(47,"nz-demo-water-mark-image",19),t(48,"div",20),c(),t(49,"p"),e(50,"Specify the image address via "),t(51,"code"),e(52,"nzImage"),n(),e(53,". To ensure that the image is high definition and not stretched, set the width and height, and upload at least twice the width and height of the logo image address."),n(),p(),n()(),t(54,"nz-code-box",23),l(55,"nz-demo-water-mark-custom",19),t(56,"div",20),c(),t(57,"p"),e(58,"Preview the watermark effect by configuring custom parameters."),n(),p(),n()()()(),t(59,"section",24),c(),t(60,"h2",25)(61,"span"),e(62,"API"),n(),t(63,"a",26),e(64,"#"),n()(),t(65,"h3",27)(66,"span"),e(67,"nz-water-mark"),n(),t(68,"label",28),e(69,"component"),n(),t(70,"a",29),e(71,"#"),n()(),t(72,"table")(73,"thead")(74,"tr")(75,"th"),e(76,"Property"),n(),t(77,"th"),e(78,"Description"),n(),t(79,"th"),e(80,"Type"),n(),t(81,"th"),e(82,"Default"),n()()(),t(83,"tbody")(84,"tr")(85,"td")(86,"code"),e(87,"nzContent"),n()(),t(88,"td"),e(89,"Watermark text content"),n(),t(90,"td")(91,"code"),e(92,"string \uFF5C string[]"),n()(),t(93,"td"),e(94,"-"),n()(),t(95,"tr")(96,"td")(97,"code"),e(98,"nzWidth"),n()(),t(99,"td"),e(100,"The width of the watermark, the default value of "),t(101,"code"),e(102,"nzContent"),n(),e(103," is its own width"),n(),t(104,"td")(105,"code"),e(106,"number"),n()(),t(107,"td"),e(108,"120"),n()(),t(109,"tr")(110,"td")(111,"code"),e(112,"nzHeight"),n()(),t(113,"td"),e(114,"The height of the watermark, the default value of "),t(115,"code"),e(116,"nzContent"),n(),e(117," is its own height"),n(),t(118,"td")(119,"code"),e(120,"number"),n()(),t(121,"td"),e(122,"64"),n()(),t(123,"tr")(124,"td")(125,"code"),e(126,"nzRotate"),n()(),t(127,"td"),e(128,"When the watermark is drawn, the rotation Angle, unit "),t(129,"code"),e(130,"\xB0"),n()(),t(131,"td")(132,"code"),e(133,"number"),n()(),t(134,"td"),e(135,"-22"),n()(),t(136,"tr")(137,"td")(138,"code"),e(139,"nzZIndex"),n()(),t(140,"td"),e(141,"The z-index of the appended watermark element"),n(),t(142,"td")(143,"code"),e(144,"number"),n()(),t(145,"td"),e(146,"9"),n()(),t(147,"tr")(148,"td")(149,"code"),e(150,"nzImage"),n()(),t(151,"td"),e(152,"Image source, it is recommended to export 2x or 3x image, high priority (support base64 format)"),n(),t(153,"td")(154,"code"),e(155,"string"),n()(),t(156,"td"),e(157,"-"),n()(),t(158,"tr")(159,"td")(160,"code"),e(161,"nzFont"),n()(),t(162,"td"),e(163,"Text style"),n(),t(164,"td")(165,"code"),e(166,"FontType"),n()(),t(167,"td"),e(168,"FontType"),n()(),t(169,"tr")(170,"td")(171,"code"),e(172,"nzGap"),n()(),t(173,"td"),e(174,"The spacing between watermarks"),n(),t(175,"td")(176,"code"),e(177,"[number, number]"),n()(),t(178,"td"),e(179,"[100, 100]"),n()(),t(180,"tr")(181,"td")(182,"code"),e(183,"nzOffset"),n()(),t(184,"td"),e(185,"The offset of the watermark from the upper left corner of the container. The default is "),t(186,"code"),e(187,"nzGap/2"),n()(),t(188,"td")(189,"code"),e(190,"[number, number]"),n()(),t(191,"td"),e(192,"[nzGap[0]/2, nzGap[1]/2]"),n()()()(),t(193,"h3",30)(194,"span"),e(195,"FontType"),n(),t(196,"a",31),e(197,"#"),n()(),t(198,"table")(199,"thead")(200,"tr")(201,"th"),e(202,"Property"),n(),t(203,"th"),e(204,"Description"),n(),t(205,"th"),e(206,"Type"),n(),t(207,"th"),e(208,"Default"),n()()(),t(209,"tbody")(210,"tr")(211,"td")(212,"code"),e(213,"color"),n()(),t(214,"td"),e(215,"font color"),n(),t(216,"td")(217,"code"),e(218,"string"),n()(),t(219,"td"),e(220,"rgba(0,0,0,.15)"),n()(),t(221,"tr")(222,"td")(223,"code"),e(224,"fontSize"),n()(),t(225,"td"),e(226,"font size"),n(),t(227,"td")(228,"code"),e(229,"number"),n()(),t(230,"td"),e(231,"16"),n()(),t(232,"tr")(233,"td")(234,"code"),e(235,"fontWeight"),n()(),t(236,"td"),e(237,"font weight"),n(),t(238,"td")(239,"code"),e(240,"normal \uFF5C light \uFF5C weight \uFF5C number"),n()(),t(241,"td"),e(242,"normal"),n()(),t(243,"tr")(244,"td")(245,"code"),e(246,"fontFamily"),n()(),t(247,"td"),e(248,"font family"),n(),t(249,"td")(250,"code"),e(251,"string"),n()(),t(252,"td"),e(253,"sans-serif"),n()(),t(254,"tr")(255,"td")(256,"code"),e(257,"fontStyle"),n()(),t(258,"td"),e(259,"font style"),n(),t(260,"td")(261,"code"),e(262,"none \uFF5C normal \uFF5C italic \uFF5C oblique"),n()(),t(263,"td"),e(264,"normal"),n()()()(),t(265,"h2",32)(266,"span"),e(267,"FAQ"),n(),t(268,"a",33),e(269,"#"),n()(),t(270,"h3",34)(271,"span"),e(272,"Handle abnormal image watermarks"),n(),t(273,"a",35),e(274,"#"),n()(),t(275,"p"),e(276,"When using an image watermark and the image loads abnormally, you can add "),t(277,"code"),e(278,"nzContent"),n(),e(279," at the same time to prevent the watermark from becoming invalid."),n(),t(280,"pre")(281,"code",36)(282,"span",37)(283,"span",37)(284,"span",38),e(285,"<"),n(),e(286,"nz-water-mark"),n(),e(287,` 10 `),t(288,"span",39),e(289,"[nzWidth]"),n(),t(290,"span",40)(291,"span",41),e(292,"="),n(),t(293,"span",38),e(294,'"'),n(),e(295,"212"),t(296,"span",38),e(297,'"'),n()(),e(298,` 11 `),t(299,"span",39),e(300,"[nzHeight]"),n(),t(301,"span",40)(302,"span",41),e(303,"="),n(),t(304,"span",38),e(305,'"'),n(),e(306,"32"),t(307,"span",38),e(308,'"'),n()(),e(309,` 12 `),t(310,"span",39),e(311,"nzContent"),n(),t(312,"span",40)(313,"span",41),e(314,"="),n(),t(315,"span",38),e(316,'"'),n(),e(317,"NG Ant Design"),t(318,"span",38),e(319,'"'),n()(),e(320,` 13 `),t(321,"span",39),e(322,"nzImage"),n(),t(323,"span",40)(324,"span",41),e(325,"="),n(),t(326,"span",38),e(327,'"'),n(),e(328,"https://img.alicdn.com/imgextra/i3/O1CN01UR3Zkq1va9fnZsZcr_!!6000000006188-55-tps-424-64.svg"),t(329,"span",38),e(330,'"'),n()(),e(331,` 14`),t(332,"span",38),e(333,">"),n()(),e(334,` 15 `),t(335,"span",37)(336,"span",37)(337,"span",38),e(338,"<"),n(),e(339,"div"),n(),e(340," "),t(341,"span",42)(342,"span",39),e(343,"style"),n(),t(344,"span",40)(345,"span",41),e(346,"="),n(),t(347,"span",38),e(348,'"'),n(),t(349,"span",43)(350,"span",44),e(351,"height"),n(),t(352,"span",38),e(353,":"),n(),e(354," 500px"),n(),t(355,"span",38),e(356,'"'),n()()(),t(357,"span",38),e(358,">"),n()(),t(359,"span",37)(360,"span",37)(361,"span",38),e(362,"</"),n(),e(363,"div"),n(),t(364,"span",38),e(365,">"),n()(),e(366,` 16`),t(367,"span",37)(368,"span",37)(369,"span",38),e(370,"</"),n(),e(371,"nz-water-mark"),n(),t(372,"span",38),e(373,">"),n()(),e(374,` 17`),n()(),p(),n()()),i&2&&(s(),d("nzOffsetTop",16),s(),d("nzAffix",!1),s(29),d("nzGutter",8),s(),d("nzSpan",24),s(),d("nzId","components-water-mark-demo-basic")("nzLink","components-water-mark-demo-basic")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/water-mark/demo/basic.md"),s(5),d("nzId","components-water-mark-demo-multi-l
17ine")("nzLink","components-water-mark-demo-multi-line")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/water-mark/demo/multi-line.md"),s(8),d("nzId","components-water-mark-demo-image")("nzLink","components-water-mark-demo-image")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/water-mark/demo/image.md"),s(8),d("nzId","components-water-mark-demo-custom")("nzLink","components-water-mark-demo-custom")("nzIframe",!1)("nzIframeHeight",null)("nzHref","https://github.com/NG-ZORRO/ng-zorro-antd/edit/master/components/water-mark/demo/custom.md"))},dependencies:[X,F,U,q,j,Q,D,v,$,P,M,A,B,W],encapsulation:2})};var rt=[{path:"en",component:J},{path:"zh",component:V}],rn=rt;export{rn as default};
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.