PageSourceSearch

https://www.saishumiraishoujo.com/_nuxt/djeV_S44.js

js saishumiraishoujo.com collected 2026-10-04 12:33:24 UTC 6,019 bytes, 30 lines download raw bytes

1import{cD as K,bo as N,bO as w,bu as V,at as k,cp as q,av as C,cq as G,bt as T,aw as A,d as D,ax as U,s as y,aq as $,a as x,bj as X,bk as Y,cm as J,v as Q,cE as Z,ad as ee,y as oe,ci as re,ca as te,H as R,cF as ne}from"./B-v5-248.js";import{t as se}from"./DJ9JJfet.js";const ae=K&&"loading"in document.createElement("img");function ie(e={}){var i;const{root:s=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):(i=e.threshold)!==null&&i!==void 0?i:"0"}`,options:Object.assign(Object.assign({},e),{root:(typeof s=="string"?document.querySelector(s):s)||document.documentElement})}}const F=new WeakMap,M=new WeakMap,H=new WeakMap,le=(e,i,s)=>{if(!e)return()=>{};const a=ie(i),{root:d}=a.options;let n;const c=F.get(d);c?n=c:(n=new Map,F.set(d,n));let f,t;n.has(a.hash)?(t=n.get(a.hash),t[1].has(e)||(f=t[0],t[1].add(e),f.observe(e))):(f=new IntersectionObserver(m=>{m.forEach(h=>{if(h.isIntersecting){const b=M.get(h.target),O=H.get(h.target);b&&b(),O&&(O.value=!0)}})},a.options),f.observe(e),t=[f,new Set([e])],n.set(a.hash,t));let u=!1;const v=()=>{u||(M.delete(e),H.delete(e),u=!0,t[1].has(e)&&(t[0].unobserve(e),t[1].delete(e)),t[1].size<=0&&n.delete(a.hash),n.size||F.delete(d))};return M.set(e,v),H.set(e,s),v};function de(e){const{borderRadius:i,avatarColor:s,cardColor:a,fontSize:d,heightTiny:n,heightSmall:c,heightMedium:f,heightLarge:t,heightHuge:u,modalColor:v,popoverColor:m}=e;return{borderRadius:i,fontSize:d,border:`2px solid ${a}`,heightTiny:n,heightSmall:c,heightMedium:f,heightLarge:t,heightHuge:u,color:w(a,s),colorModal:w(v,s),colorPopover:w(m,s)}}const ce={name:"Avatar",common:N,self:de},ue=V("n-avatar-group"),fe=k("avatar",`
2 width: var(--n-merged-size);
3 height: var(--n-merged-size);
4 color: #FFF;
5 font-size: var(--n-font-size);
6 display: inline-flex;
7 position: relative;
8 overflow: hidden;
9 text-align: center;
10 border: var(--n-border);
11 border-radius: var(--n-border-radius);
12 --n-merged-color: var(--n-color);
13 background-color: var(--n-merged-color);
14 transition:
15 border-color .3s var(--n-bezier),
16 background-color .3s var(--n-bezier),
17 color .3s var(--n-bezier);
18`,[q(C("&","--n-merged-color: var(--n-color-modal);")),G(C("&","--n-merged-color: var(--n-color-popover);")),C("img",`
19 width: 100%;
20 height: 100%;
21 `),T("text",`
22 white-space: nowrap;
23 display: inline-block;
24 position: absolute;
25 left: 50%;
26 top: 50%;
27 `),k("icon",`
28 vertical-align: bottom;
29 font-size: calc(var(--n-merged-size) - 6px);
30 `),T("text","line-height: 1.25")]),ve=Object.assign(Object.assign({},A.props),{size:[String,Number],src:String,circle:{type:Boolean,default:void 0},objectFit:String,round:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},onError:Function,fallbackSrc:String,intersectionObserverOptions:Object,lazy:Boolean,onLoad:Function,renderPlaceholder:Function,renderFallback:Function,imgProps:Object,color:String}),me=D({name:"Avatar",props:ve,setup(e){const{mergedClsPrefixRef:i,inlineThemeDisabled:s}=U(e),a=y(!1);let d=null;const n=y(null),c=y(null),f=()=>{const{value:o}=n;if(o&&(d===null||d!==o.innerHTML)){d=o.innerHTML;const{value:r}=c;if(r){const{offsetWidth:l,offsetHeight:p}=r,{offsetWidth:g,offsetHeight:L}=o,S=.9,j=Math.min(l/g*S,p/L*S,1);o.style.transform=`translateX(-50%) translateY(-50%) scale(${j})`}}},t=$(ue,null),u=x(()=>{const{size:o}=e;if(o)return o;const{size:r}=t||{};return r||"medium"}),v=A("Avatar","-avatar",fe,ce,e,i),m=$(se,null),h=x(()=>{if(t)return!0;const{round:o,circle:r}=e;return o!==void 0||r!==void 0?o||r:m?m.roundRef.value:!1}),b=x(()=>t?!0:e.bordered||!1),O=x(()=>{const o=u.value,r=h.value,l=b.value,{color:p}=e,{self:{borderRadius:g,fontSize:L,color:S,border:j,colorModal:B,colorPopover:I},common:{cubicBezierEaseInOut:W}}=v.value;let P;return typeof o=="number"?P=`${o}px`:P=v.value.self[X("height",o)],{"--n-font-size":L,"--n-border":l?j:"none","--n-border-radius":r?"50%":g,"--n-color":p||S,"--n-color-modal":p||B,"--n-color-popover":p||I,"--n-bezier":W,"--n-merged-size":`var(--n-avatar-size-override, ${P})`}}),z=s?Y("avatar",x(()=>{const o=u.value,r=h.value,l=b.value,{color:p}=e;let g="";return o&&(typeof o=="number"?g+=`a${o}`:g+=o[0]),r&&(g+="b"),l&&(g+="c"),p&&(g+=J(p)),g}),O,e):void 0,E=y(!e.lazy);Q(()=>
30{if(e.lazy&&e.intersectionObserverOptions){let o;const r=Z(()=>{o?.(),o=void 0,e.lazy&&(o=le(c.value,e.intersectionObserverOptions,E))});ee(()=>{r(),o?.()})}}),oe(()=>{var o;return e.src||((o=e.imgProps)===null||o===void 0?void 0:o.src)},()=>{a.value=!1});const _=y(!e.lazy);return{textRef:n,selfRef:c,mergedRoundRef:h,mergedClsPrefix:i,fitTextTransform:f,cssVars:s?void 0:O,themeClass:z?.themeClass,onRender:z?.onRender,hasLoadError:a,shouldStartLoading:E,loaded:_,mergedOnError:o=>{if(!E.value)return;a.value=!0;const{onError:r,imgProps:{onError:l}={}}=e;r?.(o),l?.(o)},mergedOnLoad:o=>{const{onLoad:r,imgProps:{onLoad:l}={}}=e;r?.(o),l?.(o),_.value=!0}}},render(){var e,i;const{$slots:s,src:a,mergedClsPrefix:d,lazy:n,onRender:c,loaded:f,hasLoadError:t,imgProps:u={}}=this;c?.();let v;const m=!f&&!t&&(this.renderPlaceholder?this.renderPlaceholder():(i=(e=this.$slots).placeholder)===null||i===void 0?void 0:i.call(e));return this.hasLoadError?v=this.renderFallback?this.renderFallback():re(s.fallback,()=>[R("img",{src:this.fallbackSrc,style:{objectFit:this.objectFit}})]):v=te(s.default,h=>{if(h)return R(ne,{onResize:this.fitTextTransform},{default:()=>R("span",{ref:"textRef",class:`${d}-avatar__text`},h)});if(a||u.src){const b=this.src||u.src;return R("img",Object.assign(Object.assign({},u),{loading:ae&&!this.intersectionObserverOptions&&n?"lazy":"eager",src:n&&this.intersectionObserverOptions?this.shouldStartLoading?b:void 0:b,"data-image-src":b,onLoad:this.mergedOnLoad,onError:this.mergedOnError,style:[u.style||"",{objectFit:this.objectFit},m?{height:"0",width:"0",visibility:"hidden",position:"absolute"}:""]}))}}),R("span",{ref:"selfRef",class:[`${d}-avatar`,this.themeClass],style:this.cssVars},v,n&&m)}});export{me as _,ae as i,le as o};

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.