PageSourceSearch

https://baode.netlify.app/chunk-65PLEWLC.js

js baode.netlify.app collected 2026-10-03 10:29:05 UTC 33,245 bytes, 1 lines download raw bytes

1import{a as Ke}from"./chunk-PDVAWYXJ.js";import{a as Z}from"./chunk-NXIB5U2Q.js";import{a as it,b as at}from"./chunk-EGA3XHQI.js";import{a as Be}from"./chunk-A5Q7VPBE.js";import{b as ot}from"./chunk-5Y66UVJI.js";import{b as We,d as le,l as je,n as ce,u as Ue}from"./chunk-YAJZ7BMK.js";import{d as q,f as tt,g as nt,o as rt}from"./chunk-6WONZZBT.js";import{$b as Ge,Ac as et,Ec as lt,Fa as Qe,K as ie,S as Ne,Sa as qe,Sb as Ze,T as oe,Yb as Ye,e as B,fa as K,ha as Q,ja as H,jc as Je,wc as Xe}from"./chunk-3D6T4IK6.js";import{$b as we,Aa as me,Ad as Pe,Ae as $e,Bd as j,Cd as Ve,Db as v,Dd as Ee,Ed as Ie,Fd as De,Gd as He,Jd as U,Ka as ue,Nc as Se,Pc as E,Qc as be,Rb as ve,Sb as xe,Tb as he,Ub as i,Uc as Me,Vb as c,Vc as Te,Wb as p,Xb as C,Xc as I,a as J,ac as ye,b as X,cc as x,eb as h,fb as ge,fc as g,g as R,ha as de,ib as o,ic as a,ie as re,ja as pe,jd as ke,je as Ae,mc as F,md as k,na as M,nc as L,nd as Oe,oc as $,oe as Re,pe as Fe,rb as fe,re as ae,sa as _,sb as T,sc as P,ta as m,tc as ze,uc as V,v as ee,w as O,wc as te,we as Le,xa as _e,xb as S,xc as b,yb as Ce,yc as W,za as z,zc as ne,ze as D}from"./chunk-W5AAH4LA.js";var ft=["nz-rate-item",""],ct=t=>({$implicit:t});function Ct(t,r){}function vt(t,r){}function xt(t,r){t&1&&C(0,"nz-icon",4)}var ht=["ulElement"];function wt(t,r){if(t&1){let e=x();c(0,"li",3)(1,"div",4),g("itemHover",function(n){let d=_(e).$index,w=a();return m(w.onItemHover(d,n))})("itemClick",function(n){let d=_(e).$index,w=a();return m(w.onItemClick(d,n))}),p()()}if(t&2){let e=r.$index,l=a();te(l.starStyleArray[e]||""),i("nzTooltipTitle",l.nzTooltips[e]),o(),i("allowHalf",l.nzAllowHalf)("character",l.nzCharacter)("index",e)}}var pt=(()=>{class t{character;index=0;allowHalf=!1;itemHover=new z;itemClick=new z;hoverRate(e){this.itemHover.next(e&&this.allowHalf)}clickRate(e){this.itemClick.next(e&&this.allowHalf)}static \u0275fac=function(l){return new(l||t)};static \u0275cmp=S({type:t,selectors:[["","nz-rate-item",""]],inputs:{character:"character",index:"index",allowHalf:[2,"allowHalf","allowHalf",k]},outputs:{itemHover:"itemHover",itemClick:"itemClick"},exportAs:["nzRateItem"],attrs:ft,decls:6,vars:8,consts:[["defaultCharacter",""],[1,"ant-rate-star-second",3,"mouseover","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-rate-star-first",3,"mouseover","click"],["nzType","star","nzTheme","fill"]],template:function(l,n){if(l&1){let d=x();c(0,"div",1),g("mouseover",function(s){return _(d),n.hoverRate(!1),m(s.stopPropagation())})("click",function(){return _(d),m(n.clickRate(!1))}
1),v(1,Ct,0,0,"ng-template",2),p(),c(2,"div",3),g("mouseover",function(s){return _(d),n.hoverRate(!0),m(s.stopPropagation())})("click",function(){return _(d),m(n.clickRate(!0))}),v(3,vt,0,0,"ng-template",2),p(),v(4,xt,1,0,"ng-template",null,0,I)}if(l&2){let d=P(5);o(),i("ngTemplateOutlet",n.character||d)("ngTemplateOutletContext",E(4,ct,n.index)),o(2),i("ngTemplateOutlet",n.character||d)("ngTemplateOutletContext",E(6,ct,n.index))}},dependencies:[He,Q,K],encapsulation:2,changeDetection:0})}return t})(),st="rate",se=(()=>{let t,r=[],e=[],l,n=[],d=[];return class Y{static{let s=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[oe()],l=[oe()],ee(null,null,t,{kind:"field",name:"nzAllowClear",static:!1,private:!1,access:{has:u=>"nzAllowClear"in u,get:u=>u.nzAllowClear,set:(u,f)=>{u.nzAllowClear=f}},metadata:s},r,e),ee(null,null,l,{kind:"field",name:"nzAllowHalf",static:!1,private:!1,access:{has:u=>"nzAllowHalf"in u,get:u=>u.nzAllowHalf,set:(u,f)=>{u.nzAllowHalf=f}},metadata:s},n,d),s&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s})}_nzModuleName=st;ngZone=M(me);renderer=M(fe);cdr=M(ke);directionality=M(qe);destroyRef=M(_e);ulElement;nzAllowClear=O(this,r,!0);nzAllowHalf=(O(this,e),O(this,n,!1));nzDisabled=(O(this,d),!1);nzAutoFocus=!1;nzCharacter;nzCount=5;nzTooltips=[];nzOnBlur=new z;nzOnFocus=new z;nzOnHoverChange=new z;nzOnKeyDown=new z;classMap={};starArray=[];starStyleArray=[];dir="ltr";hasHalf=!1;hoverValue=0;isFocused=!1;_value=0;isNzDisableFirstChange=!0;get nzValue(){return this._value}set nzValue(s){this._value!==s&&(this._value=s,this.hasHalf=!Number.isInteger(s)&&this.nzAllowHalf,this.hoverValue=Math.ceil(s))}constructor(){Ne(st,()=>this.cdr.markForCheck())}ngOnChanges(s){let{nzAutoFocus:u,nzCount:f,nzValue:y}=s;if(u&&!u.isFirstChange()){let N=this.ulElement.nativeElement;this.nzAutoFocus&&!this.nzDisabled?this.renderer.setAttribute(N,"autofocus","autofocus"):this.renderer.removeAttribute(N,"autofocus")}f&&this.updateStarArray(),y&&this.updateStarStyle()}ngOnInit(){this.directionality.change.pipe(B(this.destroyRef)).subscribe(s=>{this.dir=s,this.cdr.detectChanges()}),this.dir=this.directionality.value,ie(this.ulElement.nativeElement,"focus").pipe(B(this.destroyRef)).subscribe(s=>{this.isFocused=!0,this.nzOnFocus.observers.length&&this.ngZone.run(()=>this.nzOnFocus.emit(s))}),ie(this.ulElement.nativeElement,"blur").pipe(B(this.destroyRef)).subscribe(s=>{this.isFocused=!1,this.nzOnBlur.observers.length&&this.ngZone.run(()=>this.nzOnBlur.emit(s))})}onItemClick(s,u){if(this.nzDisabled)return;this.hoverValue=s+1;let f=u?s+.5:s+1;this.nzValue===f?this.nzAllowClear&&(this.nzValue=0,this.onChange(this.nzValue)):(this.nzValue=f,this.onChange(this.nzValue)),this.updateStarStyle()}onItemHover(s,u){this.nzDisabled||((this.hoverValue!==s+1||u!==this.hasHalf)&&(this.hoverValue=s+1,this.hasHalf=u,this.updateStarStyle()),this.nzOnHoverChange.emit(this.hoverValue))}onRateLeave(){this.hasHalf=!Number.isInteger(this.nzValue),this.hoverValue=Math.ceil(this.nzValue),this.nzOnHoverChange.emit(this.hoverValue),this.updateStarStyle()}focus(){this.ulElement.nativeElement.focus()}blur(){this.ulElement.nativeElement.blur()}onKeyDown(s){let u=this.nzValue;s.keyCode===39&&this.nzValue<this.nzCount?this.nzValue+=this.nzAllowHalf?.5:1:s.keyCode===37&&this.nzValue>0&&(this.nzValue-=this.nzAllowHalf?.5:1),u!==this.nzValue&&(this.onChange(this.nzValue),this.nzOnKeyDown.emit(s),this.updateStarStyle(),this.cdr.markForCheck())}updateStarArray(){this.starArray=Array(this.nzCount).fill(0).map((s,u)=>u),this.updateStarStyle()}updateStarStyle(){this.starStyleArray=this.starArray.map(s=>{let u="ant-rate-star",f=s+1;return{[`${u}-full`]:f<this.hoverValue||!this.hasHalf&&f===this.hoverValue,[`${u}-half`]:this.hasHalf&&f===this.hoverValue,[`${u}-active`]:this.hasHalf&&f===this.hoverValue,[`${u}-zero`]:f>this.hoverValue,[`${u}-focused`]:this.hasHalf&&f===this.hoverValue&&this.isFocused}})}writeValue(s){this.nzValue=s||0,this.updateStarArray(),this.cdr.markForCheck()}setDisabledState(s){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||s,this.isNzDisableFirstChange=!1,this.cdr.markForCheck()}registerOnChange(s){this.onChange=s}registerOnTouched(s){this.onTouched=s}onChange=()=>null;onTouched=()=>null;static \u0275fac=function(u){return new(u||Y)};static \u0275cmp=S({type:Y,selectors:[["nz-rate"]],viewQuery:function(u,f){if(u&1&&F(ht,7),u&2){let y;
1L(y=$())&&(f.ulElement=y.first)}},inputs:{nzAllowClear:[2,"nzAllowClear","nzAllowClear",k],nzAllowHalf:[2,"nzAllowHalf","nzAllowHalf",k],nzDisabled:[2,"nzDisabled","nzDisabled",k],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",k],nzCharacter:"nzCharacter",nzCount:[2,"nzCount","nzCount",Oe],nzTooltips:"nzTooltips"},outputs:{nzOnBlur:"nzOnBlur",nzOnFocus:"nzOnFocus",nzOnHoverChange:"nzOnHoverChange",nzOnKeyDown:"nzOnKeyDown"},exportAs:["nzRate"],features:[Se([{provide:Ze,useExisting:de(()=>Y),multi:!0}]),ue],decls:4,vars:7,consts:[["ulElement",""],[1,"ant-rate",3,"keydown","mouseleave","tabindex"],["nz-tooltip","",1,"ant-rate-star",3,"class","nzTooltipTitle"],["nz-tooltip","",1,"ant-rate-star",3,"nzTooltipTitle"],["nz-rate-item","",3,"itemHover","itemClick","allowHalf","character","index"]],template:function(u,f){if(u&1){let y=x();c(0,"ul",1,0),g("keydown",function(A){return _(y),f.onKeyDown(A),m(A.preventDefault())})("mouseleave",function(A){return _(y),f.onRateLeave(),m(A.stopPropagation())}),xe(2,wt,2,6,"li",2,ve),p()}u&2&&(te(f.classMap),V("ant-rate-disabled",f.nzDisabled)("ant-rate-rtl",f.dir==="rtl"),i("tabindex",f.nzDisabled?-1:1),o(2),he(f.starArray))},dependencies:[tt,q,pt],encapsulation:2,changeDetection:0})}})(),_t=(()=>{class t{static \u0275fac=function(l){return new(l||t)};static \u0275mod=Ce({type:t});static \u0275inj=pe({imports:[se,pt]})}return t})();function Mt(t,r){t&1&&(c(0,"span",4),b(1,"/"),p())}function Tt(t,r){if(t&1&&(c(0,"span"),b(1),v(2,Mt,2,0,"span",3),p()),t&2){let e=r.$implicit,l=r.index,n=a(2);o(),W(e),o(),i("ngIf",l!==n.data.breadcrumb.length-1)}}function kt(t,r){if(t&1){let e=x();c(0,"div",1),g("click",function(n){_(e);let d=a();return m(d.handleClick(n))}),v(1,Tt,3,2,"span",2),p()}if(t&2){let e=a();o(),i("ngForOf",e.data.breadcrumb)}}var G=class t{constructor(r){this.commonService=r}data;handleClick(r){r.stopPropagation();let e=Ue(this.data.id,void 0,!0);e.parentId!==-1&&this.commonService.handleClickClass(e.parentId)}static \u0275fac=function(e){return new(e||t)(T(Z))};static \u0275cmp=S({type:t,selectors:[["app-breadcrumb"]],inputs:{data:"data"},decls:1,vars:1,consts:[["class","breadcrumb1 ellipsis",3,"click",4,"ngIf"],[1,"breadcrumb1","ellipsis",3,"click"],[4,"ngFor","ngForOf"],["class","slash",4,"ngIf"],[1,"slash"]],template:function(e,l){e&1&&v(0,kt,2,1,"div",0),e&2&&i("ngIf",l.data.breadcrumb)},dependencies:[U,Pe,j],styles:[".breadcrumb1[_ngcontent-%COMP%]{font-size:12px;color:#666}.breadcrumb1[_ngcontent-%COMP%]   .slash[_ngcontent-%COMP%]{margin:0 4px}"],changeDetection:0})};var Pt=["root"],Vt=(t,r)=>({width:t,height:r}),Et=t=>({width:t});function It(t,r){if(t&1&&(C(0,"div",4,1),Me(2,"safeHtml")),t&2){let e=a();i("innerHTML",Te(2,2,e.description),h)("ngStyle",be(4,Vt,e.cardStyle==="icon"?e.iconSize+30+"px":"",e.cardStyle==="icon"?e.iconSize+30+"px":""))}}function Dt(t,r){t&1&&C(0,"span",16)}function Ht(t,r){t&1&&C(0,"i",17)}function Nt(t,r){if(t&1&&(c(0,"div",33),C(1,"app-breadcrumb",34),p()),t&2){let e=a(3);o(),i("data",e.dataSource)}}function At(t,r){if(t&1){let e=x();c(0,"div",35)(1,"nz-rate",36),g("ngModelChange",function(n){_(e);let d=a(3);return m(d.onRateChange(n))}),p()()}if(t&2){let e=a(3);o(),i("ngModel",e.dataSource.rate)("nzDisabled",!e.isLogin)}}function Rt(t,r){if(t&1&&C(0,"tag-list",34),t&2){let e=a(3);i("data",e.dataSource.tags)}}function Ft(t,r){if(t&1){let e=x();c(0,"div",37),g("click",function(){_(e);let n=a(3);return m(n.openEditWebMoal())}),p()}if(t&2){let e=a(3);i("nzTooltipTitle",e.$t("_edit"))}}function Lt(t,r){if(t&1){let e=x();c(0,"div",38),g("click",function(){_(e);let n=a(3);return m(n.openMoveWebModal())}),p()}if(t&2){let e=a(3);i("nzTooltipTitle",e.$t("_move"))}}function $t(t,r){if(t&1){let e=x();c(0,"div",39),g("click",function(){_(e);let n=a(3);return m(n.confirmDel())}),p()}}function Wt(t,r){if(t&1){let e=x();c(0,"div",18),v(1,Nt,2,1,"div",19)(2,At,2,2,"div",20),c(3,"div",21),g("click",function(n){_(e);let d=a(2);return m(d.jumpService.goUrl(n,d.dataSource.url))}),c(4,"div",22),C(5,"app-logo",23)(6,"div",24),p()(),c(7,"div",25)(8,"div",26),g("click",function(n){_(e);let d=a(2);return m(d.jumpService.goUrl(n,d.dataSource.url))}),p(),v(9,Rt,1,1,"tag-list",27),p(),c(10,"div",28)(11,"div",29),g("click",function(){_(e);let n=a(2);return m(n.copyUrl(2))})("mouseout",function(){_(e);let n=a(2);return m(n.copyMouseout())}),p(),c(12,"div",29),g("click",function(){_(e);let n=a(2);return m(n.copyUrl(1))})("mouseout",function(){_(e);let n=a(2);return m(n.copyMouseout())}),p(),v(13,Ft,1,1,"div",30)(14,Lt,1,1,"div",31)(15,$t,1,0,"div",32),p()()}if(t&2){let e=a(2);o(),i("ngIf",e.commonService.searchKeyword&&e.dataSource.breadcrumb),o(),i("ngIf",e.settings.showRate),o(3),i("src",e.dataSource.icon)("name",e.dataSource.name),o(),i("innerHTML",e.dataSource.name,h)("title",e.dataSource.__name__||e.dataSource.name),o(2),i("innerHTML",e.dataSource.desc,h)("title",e.dataSource.__desc__||e.dataSource.desc),o(),i("ngIf",e.dataSource.tags==null?null:e.dataSource.tags.length),o(2),i("nzTooltipTitle",e.copyUrlDone?e.$t("_copySuccess"):e.$t("_copyUrl"))("nzType",e.copyUrlDone?"check":"copy"),o(),i("nzTooltipTitle",e.copyPathDone?e.$t("_copySuccess"):e.$t("_shareWeb"))("nzType",e.copyPathDone?"check":"share-alt"),o(),i("ngIf",e.isLogin||e.permissions.edit),o(),i("ngIf",e.isLogin),o(),i("ngIf",e.isLogin||e.permissions.del)}}function jt(t,r){if(t&1&&(c(0,"div",46),C(1,"app-breadcrumb",34),p()),t&2){let e=a(3);o(),i("data",e.dataSource)}}function Ut(t,r){if(t&1){let e=x();c(0,"div",40),g("click",function(n){_(e);let d=a(2);return m(d.jumpService.goUrl(n,d.dataSource.url))}),v(1,jt,2,1,"div",41),c(2,"div",42),C(3,"app-logo",23),c(4,"div",43),C(5,"div",44)(6,"div",45),p()()()}if(t&2){let e=a(2);V("noDesc",!e.dataSource.desc),o(),i("ngIf",e.commonService.searchKeyword&&e.dataSource.breadcrumb),o(2),i("src",e.dataSource.icon)("name",e.dataSource.name),o(),i("title",e.dataSource.__desc__||e.dataSource.desc),o(),i("innerHTML",e.dataSource.name,h),o(),i("innerHTML",e.dataSource.desc,h)}}function Bt(t,r){if(t&1&&(c(0,"div",46),C(1,"app-breadcrumb",34),p()),t&2){let e=a(3);o(),i("data",e.dataSource)}}function Kt(t,r){if(t&1){let e=x();c(0,"div",47),g("click",function(n){_(e);let d=a(2);return m(d.jumpService.goUrl(n,d.dataSource.url))}),v(1,Bt,2,1,"div",41),c(2,"div",42),C(3,"app-logo",48),c(4,"div",43),C(5,"div",44),p()()()}if(t&2){let e=a(2);o(),i("ngIf",e.commonService.searchKeyword&&e.dataSource.breadcrumb),o(2),i("src",e.dataSource.icon)("name",e.dataSource.name)("size",30),o(),i("title",e.dataSource.__desc__||e.dataSource.desc),o(),i("innerHTML",e.dataSource.name,h)}}function Qt(t,r){if(t&1&&(c(0,"div",57),C(1,"app-breadcrumb",34),p()),t&2){let e=a(3);o(),i("data",e.dataSource)}}function qt(t,r){if(t&1&&C(0,"div",58),t&2){let e=a(3);i("title",e.dataSource.__desc__||e.dataSource.desc)("innerHTML",e.dataSource.desc,h)}}function Zt(t,r){if(t&1){let e=x();c(0,"tag-list",59),g("onDelete",function(){_(e);let n=a(3);return m(n.confirmDel())})("onEdit",function(){_(e);let n=a(3);return m(n.openEditWebMoal())})("onMove",function(){_(e);let n=a(3);
1return m(n.openMoveWebModal())}),p()}if(t&2){let e=a(3);i("data",e.dataSource.tags)("action",!0)}}function Yt(t,r){if(t&1){let e=x();c(0,"div",49),v(1,Qt,2,1,"div",50),c(2,"div",51)(3,"div",21),g("click",function(n){_(e);let d=a(2);return m(d.jumpService.goUrl(n,d.dataSource.url))}),c(4,"div",52),C(5,"app-logo",48)(6,"div",53),p(),c(7,"div",54),v(8,qt,1,2,"div",55)(9,Zt,1,2,"tag-list",56),p()()()()}if(t&2){let e=a(2);o(),i("ngIf",e.commonService.searchKeyword&&e.dataSource.breadcrumb),o(3),V("border-transparent",!e.dataSource.desc&&!(e.dataSource.tags!=null&&e.dataSource.tags.length)),o(),i("src",e.dataSource.icon)("name",e.dataSource.name)("size",30),o(),i("title",e.dataSource.__name__||e.dataSource.name)("innerHTML",e.dataSource.name,h),o(2),i("ngIf",e.dataSource.desc),o(),i("ngIf",(e.dataSource.tags==null?null:e.dataSource.tags.length)||e.isLogin||e.permissions.edit||e.permissions.del)}}function Gt(t,r){if(t&1&&(c(0,"div",67),C(1,"app-breadcrumb",34),p()),t&2){let e=a(3);o(),i("data",e.dataSource)}}function Jt(t,r){if(t&1){let e=x();c(0,"img",68),g("error",function(){_(e);let n=a(3);return m(n.isError=!0)}),p()}if(t&2){let e=a(3);i("src",e.dataSource.img||e.dataSource.icon,ge)}}function Xt(t,r){if(t&1){let e=x();c(0,"tag-list",69),g("onDelete",function(){_(e);let n=a(3);return m(n.confirmDel())})("onEdit",function(){_(e);let n=a(3);return m(n.openEditWebMoal())})("onMove",function(){_(e);let n=a(3);return m(n.openMoveWebModal())}),p()}if(t&2){let e=a(3);i("data",e.dataSource.tags)("action",!0)}}function en(t,r){if(t&1){let e=x();c(0,"div",60),g("click",function(n){_(e);let d=a(2);return m(d.jumpService.goUrl(n,d.dataSource.url))}),c(1,"div",61),v(2,Gt,2,1,"div",62)(3,Jt,1,1,"img",63)(4,Xt,1,2,"tag-list",64),p(),c(5,"div",65),C(6,"div",44)(7,"pre",66),p()()}if(t&2){let e=a(2);o(),ze("background",e.backgroundColor),o(),i("ngIf",e.commonService.searchKeyword&&e.dataSource.breadcrumb),o(),i("ngIf",!e.isError),o(),i("ngIf",(e.dataSource.tags==null?null:e.dataSource.tags.length)||e.isLogin||e.permissions.edit||e.permissions.del),o(2),i("innerHTML",e.dataSource.name,h),o(),i("innerHTML",e.dataSource.desc,h)("title",e.dataSource.__desc__||e.dataSource.desc)}}function tn(t,r){if(t&1){let e=x();c(0,"tag-list",59),g("onDelete",function(){_(e);let n=a(4);return m(n.confirmDel())})("onEdit",function(){_(e);let n=a(4);return m(n.openEditWebMoal())})("onMove",function(){_(e);let n=a(4);return m(n.openMoveWebModal())}),p()}if(t&2){let e=a(4);i("data",e.dataSource.tags)("action",!0)}}function nn(t,r){if(t&1&&(c(0,"div"),b(1),p(),b(2),v(3,tn,1,2,"tag-list",56)),t&2){let e=a(3);o(),W(e.dataSource.__name__||e.dataSource.name),o(),ne(" ",e.dataSource.__desc__||e.dataSource.desc," "),o(),i("ngIf",(e.dataSource.tags==null?null:e.dataSource.tags.length)||e.isLogin||e.permissions.edit||e.permissions.del)}}function on(t,r){if(t&1){let e=x();c(0,"div",70),g("click",function(n){_(e);let d=a(2);return m(d.jumpService.goUrl(n,d.dataSource.url))}),v(1,nn,4,3,"ng-template",null,2,I),C(3,"app-logo",71)(4,"div",72),p()}if(t&2){let e=P(2),l=a(2);i("nzTooltipTitle",e),o(3),i("src",l.dataSource.icon)("name",l.dataSource.__name__||l.dataSource.name)("size",l.iconSize)("radius",10),o(),i("ngStyle",E(7,Et,l.iconSize+30+"px"))("innerHTML",l.dataSource.name,h)}}function rn(t,r){if(t&1&&(c(0,"div",46),C(1,"app-breadcrumb",34),p()),t&2){let e=a(3);o(),i("data",e.dataSource)}}function an(t,r){if(t&1&&(c(0,"div",79),b(1),p()),t&2){let e=a(3);o(),ne(" ",e.getRate," ")}}function ln(t,r){if(t&1){let e=x();c(0,"tag-list",80),g("onDelete",function(){_(e);let n=a(3);return m(n.confirmDel())})("onEdit",function(){_(e);let n=a(3);return m(n.openEditWebMoal())})("onMove",function(){_(e);let n=a(3);return m(n.openMoveWebModal())}),p()}if(t&2){let e=a(3);i("data",e.dataSource.tags)("action",!0)}}function cn(t,r){if(t&1){let e=x();c(0,"div",73),v(1,rn,2,1,"div",41),c(2,"div",21),g("click",function(n){_(e);let d=a(2);return m(d.jumpService.goUrl(n,d.dataSource.url))}),c(3,"div",74),C(4,"app-logo",48)(5,"div",44),p(),c(6,"div",75),C(7,"pre",45),p()(),c(8,"div",76),v(9,an,2,1,"div",77)(10,ln,1,2,"tag-list",78),p()()}if(t&2){let e=a(2);o(),i("ngIf",e.commonService.searchKeyword&&e.dataSource.breadcrumb),o(3),i("src",e.dataSource.icon)("name",e.dataSource.name)("size",30),o(),i("innerHTML",e.dataSource.name,h),o(),i("title",e.dataSource.__desc__||e.dataSource.desc),o(),i("innerHTML",e.dataSource.desc,h),o(2),i("ngIf",e.settings.showRate&&e.getRate),o(),i("ngIf",(e.dataSource.tags==null?null:e.dataSource.tags.length)||e.isLogin||e.permissions.edit||e.permissions.del)}}function sn(t,r){if(t&1&&(we(0,5),c(1,"div",6),v(2,Dt,1,0,"span",7)(3,Ht,1,0,"i",8)(4,Wt,16,16,"div",9)(5,Ut,7,8,"div",10)(6,Kt,6,6,"div",11)(7,Yt,10,10,"div",12)(8,en,8,8,"div",13)(9,on,5,9,"div",14)(10,cn,11,9,"div",15),p(),ye()),t&2){let e=a();i("ngSwitch",e.cardStyle),o(2),i("ngIf",e.isLogin&&e.dataSource.ok===!1),o(),i("ngIf",e.isLogin&&e.dataSource.rId),o(),i("ngSwitchCase","standard"),o(),i("ngSwitchCase","example"),o(),i("ngSwitchCase","original"),o(),i("ngSwitchCase","retro"),o(),i("ngSwitchCase","poster"),o(),i("ngSwitchCase","icon")}}var mt=class t{constructor(r,e,l){this.commonService=r;this.jumpService=e;this.message=l}dataSource;cardStyle;iconSize=60;root;$t=D;settings=ae();isLogin=re;permissions=Ae(ae());copyUrlDone=!1;copyPathDone=!1;description="";isCode=!1;isError=!1;backgroundColor="";ngOnInit(){this.isCode=this.dataSource.desc?.[0]==="!",this.description=Fe(this.dataSource.desc),this.cardStyle==="poster"&&this.generateColor()}ngAfterViewInit(){this.parseDescription()}generateColor(){this.backgroundColor=`linear-gradient(${We(360)}deg, ${le()} 0%, ${le()} 100%)`}parseDescription(){Re(this.root?.nativeElement,this.dataSource.desc)}copyUrl(r){return R(this,null,function*(){let{id:e,url:l}=this.dataSource,{href:n}=window.location;n=n.split("?")[0],n.endsWith("/")||(n=n+"/");let d=`${n}?q=${e}&type=7`,w=yield je(r===1?d:l);w&&(r===1?this.copyPathDone=w:this.copyUrlDone=w)})}copyMouseout(){this.copyUrlDone=!1,this.copyPathDone=!1}openEditWebMoal(){H.emit("CREATE_WEB",{detail:this.dataSource})}onRateChange(r){this.dataSource.rate=r,ot(Le())}confirmDel(){return R(this,null,function*(){let r=X(J({},this.dataSource),{name:ce(this.dataSource.name),desc:ce(this.dataSource.desc)});
1re?H.emit("DELETE_MODAL",{ids:[r.id],data:r}):H.emit("MODAL",{nzTitle:D("_confirmDel"),nzContent:`ID: ${r.id}`,nzWidth:350,nzOkType:"primary",nzOkDanger:!0,nzOkText:D("_del"),nzOnOk:()=>R(this,null,function*(){yield Qe({data:X(J({},r),{extra:{type:3}})}),this.message.success(D("_waitHandle"))})})})}openMoveWebModal(){H.emit("MOVE_WEB",{data:[this.dataSource]})}get getRate(){if(this.cardStyle!=="column")return"";let r=Number(this.dataSource.rate??0);return r>0?`${r.toFixed(1)}${$e()?"\u5206":""}`:""}static \u0275fac=function(e){return new(e||t)(T(Z),T(Be),T(lt))};static \u0275cmp=S({type:t,selectors:[["app-card"]],viewQuery:function(e,l){if(e&1&&F(Pt,5),e&2){let n;L(n=$())&&(l.root=n.first)}},inputs:{dataSource:"dataSource",cardStyle:"cardStyle",iconSize:"iconSize"},decls:3,vars:2,consts:[["other",""],["root",""],["titleTemplate",""],["class","card-container progrcode",3,"innerHTML","ngStyle",4,"ngIf","ngIfElse"],[1,"card-container","progrcode",3,"innerHTML","ngStyle"],[3,"ngSwitch"],[1,"card-parent"],["nz-icon","","nzType","stop","nzTheme","outline","class","stop-icon","title","\u7591\u4F3C\u5F02\u5E38",4,"ngIf"],["class","quote iconfont iconyinru text-neutral-400",4,"ngIf"],["class","card-container standard dark-border-color dark-bg-gary",4,"ngSwitchCase"],["class","card-container example2 dark-bg-gary dark-white dark-shadow",3,"noDesc","click",4,"ngSwitchCase"],["class","card-container original2 dark-bg-gary dark-white dark-shadow",3,"click",4,"ngSwitchCase"],["class","card-container retro2 ellipsis dark-bg-gary dark-white dark-border-color dark-shadow dark-hover",4,"ngSwitchCase"],["class","card-container poster2 ellipsis dark-bg-gary dark-white dark-border-color dark-shadow dark-hover",3,"click",4,"ngSwitchCase"],["class","card-container icon2 ellipsis dark-white","nzTooltipPlacement","bottom","nz-tooltip","",3,"nzTooltipTitle","click",4,"ngSwitchCase"],["class","card-container column2 ellipsis dark-bg-gary dark-white dark-border-color dark-shadow dark-hover-bg",4,"ngSwitchDefault"],["nz-icon","","nzType","stop","nzTheme","outline","title","\u7591\u4F3C\u5F02\u5E38",1,"stop-icon"],[1,"quote","iconfont","iconyinru","text-neutral-400"],[1,"card-container","standard","dark-border-color","dark-bg-gary"],["class","ml-2",4,"ngIf"],["class","rate",4,"ngIf"],[1,"cursor-pointer",3,"click"],[1,"top"],[3,"src","name"],[1,"title","ellipsis2","dark-white",3,"innerHTML","title"],[1,"middle"],[1,"cursor-pointer","desc","dark-text","ellipsis3",3,"click","innerHTML","title"],[3,"data",4,"ngIf"],[1,"actionbar","dark-border-color"],["nz-tooltip","","nz-icon","","nzTheme","outline",1,"action-item","dark-border-color",3,"click","mouseout","nzTooltipTitle","nzType"],["class","action-item dark-border-color","nz-tooltip","","nz-icon","","nzType","edit","nzTheme","outline",3,"nzTooltipTitle","click",4,"ngIf"],["class","action-item dark-border-color","nz-tooltip","","nz-icon","","nzType","swap","nzTheme","outline",3,"nzTooltipTitle","click",4,"ngIf"],["class","action-item dark-border-color","nz-icon","","nzType","delete","nzTheme","outline",3,"click",4,"ngIf"],[1,"ml-2"],[3,"data"],[1,"rate"],["nzAllowHalf","",3,"ngModelChange","ngModel","nzDisabled"],["nz-tooltip","","nz-icon","","nzType","edit","nzTheme","outline",1,"action-item","dark-border-color",3,"click","nzTooltipTitle"],["nz-tooltip","","nz-icon","","nzType","swap","nzTheme","outline",1,"action-item","dark-border-color",3,"click","nzTooltipTitle"],["nz-icon","","nzType","delete","nzTheme","outline",1,"action-item","dark-border-color",3,"click"],[1,"card-container","example2","dark-bg-gary","dark-white","dark-shadow",3,"click"],["class","mb-2",4,"ngIf"],[1,"wrapper","ellipsis"],[1,"right-box","ellipsis",3,"title"],[1,"title","ellipsis","dark-white",3,"innerHTML"],[1,"desc","dark-text","ellipsis",3,"innerHTML"],[1,"mb-2"],[1,"card-container","original2","dark-bg-gary","dark-white","dark-shadow",3,"click"],[3,"src","name","size"],[1,"card-container","retro2","ellipsis","dark-bg-gary","dark-white","dark-border-color","dark-shadow","dark-hover"],["class","ml-2 mt-2",4,"ngIf"],[1,"item-list"],[1,"top","dark-border-color"],[1,"title","ellipsis","dark-white",3,"title","innerHTML"],[1,"p-2.5"],["class","desc ellipsis3 dark-white",3,"title","innerHTML",4,"ngIf"],[3,"data","action","onDelete","onEdit","onMove",4,"ngIf"],[1,"ml-2","mt-2"],[1,"desc","ellipsis3","dar
1k-white",3,"title","innerHTML"],[3,"onDelete","onEdit","onMove","data","action"],[1,"card-container","poster2","ellipsis","dark-bg-gary","dark-white","dark-border-color","dark-shadow","dark-hover",3,"click"],[1,"poster-box"],["class","breadcrumb",4,"ngIf"],["class","poster-img","draggable","false","loading","lazy",3,"src","error",4,"ngIf"],["class","poster-tag",3,"data","action","onDelete","onEdit","onMove",4,"ngIf"],[1,"bottom"],[1,"desc","dark-text","ellipsis3",3,"innerHTML","title"],[1,"breadcrumb"],["draggable","false","loading","lazy",1,"poster-img",3,"error","src"],[1,"poster-tag",3,"onDelete","onEdit","onMove","data","action"],["nzTooltipPlacement","bottom","nz-tooltip","",1,"card-container","icon2","ellipsis","dark-white",3,"click","nzTooltipTitle"],[3,"src","name","size","radius"],[1,"name","dark-white","ellipsis",3,"ngStyle","innerHTML"],[1,"card-container","column2","ellipsis","dark-bg-gary","dark-white","dark-border-color","dark-shadow","dark-hover-bg"],[1,"title-bar"],[1,"right-box",3,"title"],[1,"bottom-bar"],["class","rate2 mt-1",4,"ngIf"],["class","mt-1",3,"data","action","onDelete","onEdit","onMove",4,"ngIf"],[1,"rate2","mt-1"],[1,"mt-1",3,"onDelete","onEdit","onMove","data","action"]],template:function(e,l){if(e&1&&v(0,It,3,7,"div",3)(1,sn,11,9,"ng-template",null,0,I),e&2){let n=P(2);i("ngIf",l.isCode)("ngIfElse",n)}},dependencies:[Je,Ye,Ge,U,j,De,Ve,Ee,Ie,_t,se,it,et,Xe,at,nt,q,Q,K,rt,G,Ke],styles:["@media(hover:hover)and (pointer:fine){.example2[_ngcontent-%COMP%]:hover, .original2[_ngcontent-%COMP%]:hover{border:1px solid #78b7fa;transform:translateY(-3px)}.example2[_ngcontent-%COMP%]:hover   .title[_ngcontent-%COMP%], .original2[_ngcontent-%COMP%]:hover   .title[_ngcontent-%COMP%]{color:#007bff}}  .cdk-overlay-container .tag-action{display:flex!important}.card-parent[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.card-parent[_ngcontent-%COMP%]   .stop-icon[_ngcontent-%COMP%]{z-index:3;color:red;font-weight:700;position:absolute;top:12px;right:12px}.card-parent[_ngcontent-%COMP%]   .quote[_ngcontent-%COMP%]{z-index:2;position:absolute;top:0;right:5px}.card-container[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.card-container[_ngcontent-%COMP%]:hover     .tag-action{display:flex}.card-container[_ngcontent-%COMP%]     img{max-width:100%;object-fit:cover}.card-container[_ngcontent-%COMP%]     iframe{width:100%}.card-container[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{color:#00000080;word-break:break-all;white-space:pre-wrap}.card-container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{white-space:normal;word-break:break-all;color:#000c}.progrcode[_ngcontent-%COMP%]{cursor:pointer;overflow:hidden;border-radius:4px}.standard[_ngcontent-%COMP%]{box-shadow:0 1px 5px #0000001a;border-radius:4px;border:1px solid #eee;display:flex;flex-direction:column;padding-top:5px;transition:all .2s ease-out;background-color:#fff}.standard[_ngcontent-%COMP%]:hover{transform:translateY(-3px)}.standard[_ngcontent-%COMP%]   .rate[_ngcontent-%COMP%]{padding:0 8px}.standard[_ngcontent-%COMP%]   .middle[_ngcontent-%COMP%]{flex:1;padding:8px 8px 0}.standard[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{margin-top:5px;display:flex;align-items:center;padding:0 8px}.standard[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-left:8px;font-weight:500;font-size:15px}.standard[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{font-size:13px;margin-bottom:5px}.standard[_ngcontent-%COMP%]   .actionbar[_ngcontent-%COMP%]{display:flex;border-top:1px solid #eee;padding:8px 0;margin-top:10px}.standard[_ngcontent-%COMP%]   .actionbar[_ngcontent-%COMP%]   .action-item[_ngcontent-%COMP%]{justify-content:center;flex:1;font-size:16px;color:#999;cursor:pointer}.standard[_ngcontent-%COMP%]   .actionbar[_ngcontent-%COMP%]   .action-item[_ngcontent-%COMP%]:hover{color:#1890ff}.standard[_ngcontent-%COMP%]   .actionbar[_ngcontent-%COMP%]   .action-item[_ngcontent-%COMP%]:not(:nth-last-child(1)){border-right:1px solid #eee}.example2[_ngcontent-%COMP%]{background-color:#fff;padding:8px;border-radius:8px;
1cursor:pointer;box-shadow:0 0 3px #0000001a,0 1px 2px -1px #0000001a;border:1px solid transparent;transition:all .15s linear;color:#000;display:block}.example2.noDesc[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:16px}.example2[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{width:100%;font-weight:500;line-height:18px;font-size:15px}.example2[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex}.example2[_ngcontent-%COMP%]   .right-box[_ngcontent-%COMP%]{display:flex;align-items:start;justify-content:center;flex-direction:column;flex:1;width:0;margin-left:12px}.example2[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{width:100%;margin:0;font-size:12px}.original2[_ngcontent-%COMP%]{background-color:#fff;padding:4px 8px;border-radius:4px;cursor:pointer;box-shadow:0 0 3px #0000001a,0 1px 2px -1px #0000001a;border:1px solid transparent;transition:all .15s linear;color:#000;display:block}.original2[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{width:100%;font-weight:500;font-size:16px}.original2[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{display:flex}.original2[_ngcontent-%COMP%]   .right-box[_ngcontent-%COMP%]{display:flex;align-items:start;justify-content:center;flex-direction:column;flex:1;width:0;margin-left:8px}  .column-border .column2{border:1px solid transparent!important;box-shadow:0 1px 5px #0000001a;border-radius:4px}.column2[_ngcontent-%COMP%]{background-color:#fff;padding:8px;border-bottom:1px solid #eee;transition:all .15s linear;color:#000;display:block}.column2[_ngcontent-%COMP%]:hover{background-color:#f2f3f5}.column2[_ngcontent-%COMP%]:hover   .action-btn[_ngcontent-%COMP%]{display:block}.column2[_ngcontent-%COMP%]   .title-bar[_ngcontent-%COMP%]{display:flex;align-items:center}.column2[_ngcontent-%COMP%]   .right-box[_ngcontent-%COMP%]{margin-top:6px}.column2[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:500;margin-left:8px;font-size:16px}.column2[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{margin:0;font-size:13px}.column2[_ngcontent-%COMP%]   .bottom-bar[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center}.column2[_ngcontent-%COMP%]   .rate2[_ngcontent-%COMP%]{color:#8a919f;margin-right:6px}.retro2[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #eee;border-radius:4px;transition:transform .1s linear}.retro2[_ngcontent-%COMP%]:hover{transform:translateY(-3px)}.retro2[_ngcontent-%COMP%]   .item-list[_ngcontent-%COMP%]{z-index:6;position:relative;overflow:hidden}.retro2[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:15px;margin-left:4px;font-weight:500}.retro2[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{word-break:break-all;word-wrap:break-word;white-space:pre-wrap;font-size:13px;margin-bottom:5px}.retro2[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]{padding:10px;display:flex;align-items:center;border-bottom:1px solid #eee}.retro2[_ngcontent-%COMP%]   .border-transparent[_ngcontent-%COMP%]{border-color:transparent}.poster2[_ngcontent-%COMP%]{border-radius:4px;cursor:pointer;background-color:#fff;padding-bottom:10px;box-shadow:0 1px 5px #0000001a}.poster2[_ngcontent-%COMP%]   .poster-box[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:170px}.poster2[_ngcontent-%COMP%]   .breadcrumb[_ngcontent-%COMP%]{position:absolute;top:5px;left:5px;right:0}.poster2[_ngcontent-%COMP%]   .breadcrumb[_ngcontent-%COMP%]     .breadcrumb1{color:#fff}.poster2[_ngcontent-%COMP%]   .poster-img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;transition:.2s linear}.poster2[_ngcontent-%COMP%]   .poster-img[_ngcontent-%COMP%]:hover{transform:scale(1.1)}.poster2[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:16px;margin-top:5px;font-weight:500;color:#000}.poster2[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{font-size:13px;margin-bottom:0}.poster2[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]{padding:0 5px}.poster2[_ngcontent-%COMP%]   .poster-tag[_ngcontent-%COMP%]{z-index:2;position:absolute;bottom:0;left:0;width:100%;padding:10px 10px 5px}.icon2[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center;flex-direction:column;justify-content:center;transition:all .2s ease-out}.icon2[_ngcontent-%COMP%]:hover{transform:translateY(-3px)}.icon2[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{margin-top:2px;text-align:center}"]})};export{se as a,_t as b,mt as c};

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.