PageSourceSearch

https://langkey.win/_nuxt/COwPeLKl.js

js langkey.win collected 2026-10-02 02:11:17 UTC 20,623 bytes, 1 lines download raw bytes

1import{m as Be,S as Oe,V as qe,W as Ue,o as C,h as q,j as J,N as U,a7 as ze,P as z,b as Ze,a6 as ce,f as M,g as Z,a as ue,n as H,a1 as He,c as fe,e as he,t as de,Q as Ae,p as Re,ab as me}from"./CxesHY2y.js";function L(e,t){return e-t*Math.floor(e/t)}const pe=1721426;function A(e,t,r,n){t=re(e,t);let a=t-1,o=-2;return r<=2?o=0:j(t)&&(o=-1),pe-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*r-362)/12+o+n)}function j(e){return e%4===0&&(e%100!==0||e%400===0)}function re(e,t){return e==="BC"?1-t:t}function je(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const Fe={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class S{fromJulianDay(t){let r=t,n=r-pe,a=Math.floor(n/146097),o=L(n,146097),i=Math.floor(o/36524),s=L(o,36524),c=Math.floor(s/1461),f=L(s,1461),v=Math.floor(f/365),m=a*400+i*100+c*4+v+(i!==4&&v!==4?1:0),[g,$]=je(m),h=r-A(g,$,1,1),E=2;r<A(g,$,3,1)?E=0:j($)&&(E=1);let l=Math.floor(((h+E)*12+373)/367),u=r-A(g,$,l,1)+1;return new B(g,$,l,u)}toJulianDay(t){return A(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Fe[j(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return j(t.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}function Ne(e,t){var r,n,a,o;return(o=(a=(r=e.isEqual)===null||r===void 0?void 0:r.call(e,t))!==null&&a!==void 0?a:(n=t.isEqual)===null||n===void 0?void 0:n.call(t,e))!==null&&o!==void 0?o:e.identifier===t.identifier}function Ve(e){return b(Date.now(),e)}function We(e){return Ge(Ve(e))}function ve(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Je(e,t){return $e(e)-$e(t)}function $e(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let K=null,Le=!1;function N(){return K==null&&(K=new Intl.DateTimeFormat().resolvedOptions().timeZone),K}function ge(){return Le}function I(e){e=d(e,new S);let t=re(e.era,e.year);return xe(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function xe(e,t,r,n,a,o,i){let s=new Date;return s.setUTCHours(n,a,o,i),s.setUTCFullYear(e,t-1,r),s.getTime()}function _(e,t){if(t==="UTC")return 0;if(e>0&&t===N()&&!ge())return new Date(e).getTimezoneOffset()*-6e4;let{year:r,month:n,day:a,hour:o,minute:i,second:s}=we(e,t);return xe(r,n,a,o,i,s,0)-Math.floor(e/1e3)*1e3}const ye=new Map;function we(e,t){let r=ye.get(t);r||(r=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),ye.set(t,r));let n=r.formatToParts(new Date(e)),a={};for(let o of n)o.type!=="literal"&&(a[o.type]=o.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const be=864e5;function Ke(e,t,r,n){return(r===n?[r]:[r,n]).filter(o=>Qe(e,t,o))}function Qe(e,t,r){let n=we(r,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function y(e,t,r="compatible"){let n=k(e);if(t==="UTC")return I(n);if(t===N()&&r==="compatible"&&!ge()){n=d(n,new S);let c=new Date,f=re(n.era,n.year);return c.setFullYear(f,n.month-1,n.day),c.setHours(n.hour,n.minute,n.second,n.millisecond),c.getTime()}let a=I(n),o=_(a-be,t),i=_(a+be,t),s=Ke(n,t,a-o,a-i);if(s.length===1)return s[0];if(s.length>1)switch(r){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(r){case"earlier":return Math.min(a-o,a-i);case"compatible":case"later":return Math.max(a-o,a-i);case"reject":throw new RangeError("No such absolute time found")}}function Me(e,t,r="compatible"){return new Date(y(e,t,r))}function b(e,t){let r=_(e,t),n=new Date(e+r),a=n.getUTCFullYear(),o=n.getUTCMonth()+1,i=n.getUTCDate(),s=n.getUTCHours(),c=n.getUTCMinutes(),f=n.getUTCSeconds(),v=n.getUTCMilliseconds();return new P(a<1?"BC":"AD",a<1?-a+1:a,o,i,t,r,s,c,f,v)}
1function Ge(e){return new B(e.calendar,e.era,e.year,e.month,e.day)}function k(e,t){let r=0,n=0,a=0,o=0;if("timeZone"in e)({hour:r,minute:n,second:a,millisecond:o}=e);else if("hour"in e&&!t)return e;return t&&({hour:r,minute:n,second:a,millisecond:o}=t),new O(e.calendar,e.era,e.year,e.month,e.day,r,n,a,o)}function d(e,t){if(Ne(e.calendar,t))return e;let r=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=r.era,n.year=r.year,n.month=r.month,n.day=r.day,D(n),n}function Xe(e,t,r){if(e instanceof P)return e.timeZone===t?e:et(e,t);let n=y(e,t,r);return b(n,t)}function _e(e){let t=I(e)-e.offset;return new Date(t)}function et(e,t){let r=I(e)-e.offset;return d(b(r,t),e.calendar)}const Y=36e5;function V(e,t){let r=e.copy(),n="hour"in r?at(r,t):0;ee(r,t.years||0),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e),r.month+=t.months||0,te(r),De(r),r.day+=(t.weeks||0)*7,r.day+=t.days||0,r.day+=n,tt(r),r.calendar.balanceDate&&r.calendar.balanceDate(r),r.year<1&&(r.year=1,r.month=1,r.day=1);let a=r.calendar.getYearsInEra(r);if(r.year>a){var o,i;let c=(o=(i=r.calendar).isInverseEra)===null||o===void 0?void 0:o.call(i,r);r.year=a,r.month=c?1:r.calendar.getMonthsInYear(r),r.day=c?1:r.calendar.getDaysInMonth(r)}r.month<1&&(r.month=1,r.day=1);let s=r.calendar.getMonthsInYear(r);return r.month>s&&(r.month=s,r.day=r.calendar.getDaysInMonth(r)),r.day=Math.max(1,Math.min(r.calendar.getDaysInMonth(r),r.day)),r}function ee(e,t){var r,n;!((r=(n=e.calendar).isInverseEra)===null||r===void 0)&&r.call(n,e)&&(t=-t),e.year+=t}function te(e){for(;e.month<1;)ee(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,ee(e,1)}function tt(e){for(;e.day<1;)e.month--,te(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,te(e)}function De(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function D(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),De(e)}function Ce(e){let t={};for(let r in e)typeof e[r]=="number"&&(t[r]=-e[r]);return t}function Se(e,t){return V(e,Ce(t))}function ne(e,t){let r=e.copy();return t.era!=null&&(r.era=t.era),t.year!=null&&(r.year=t.year),t.month!=null&&(r.month=t.month),t.day!=null&&(r.day=t.day),D(r),r}function F(e,t){let r=e.copy();return t.hour!=null&&(r.hour=t.hour),t.minute!=null&&(r.minute=t.minute),t.second!=null&&(r.second=t.second),t.millisecond!=null&&(r.millisecond=t.millisecond),nt(r),r}function rt(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=R(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=R(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=R(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=R(e.hour,24),t}function nt(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function R(e,t){let r=e%t;return r<0&&(r+=t),r}function at(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,rt(e)}function ae(e,t,r,n){let a=e.copy();switch(t){case"era":{let s=e.calendar.getEras(),c=s.indexOf(e.era);if(c<0)throw new Error("Invalid era: "+e.era);c=p(c,r,0,s.length-1,n?.round),a.era=s[c],D(a);break}case"year":var o,i;!((o=(i=a.calendar).isInverseEra)===null||o===void 0)&&o.call(i,a)&&(r=-r),a.year=p(e.year,r,-1/0,9999,n?.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,e);break;case"month":a.month=p(e.month,r,1,e.calendar.getMonthsInYear(e),n?.round);break;case"day":a.day=p(e.day,r,1,e.calendar.getDaysInMonth(e),n?.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(a),D(a),a}function Ie(e,t,r,n){let a=e.copy();switch(t){case"hour":{let o=e.hour,i=0,s=23;if(n?.hourCycle===12){let c=o>=12;i=c?12:0,s=c?23:11}a.hour=p(o,r,i,s,n?.round);break}case"minute":a.minute=p(e.minute,r,0,59,n?.round);break;case"second":a.second=p(e.second,r,0,59,n?.round);break;case"millisecond":a.millisecond=p(e.millisecond,r,0,999,n?.round);break;default:throw new Error("Unsupported field "+t)}return a}function p(e,t,r,n,a=!1){if(a){e+=Math.sign(t),e<r&&(e=n);let o=Math.abs(t);t>0?e=Math.ceil(e/o)*o:e=Math.floor(e/o)*o,e>n&&(e=r)}else e+=t,e<r?e=n-(r-e-1):e>n&&(e=r+(e-n-1));return e}function ke(e,t){let r;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let a=V(k(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});r=y(a,e.timeZone)}else r=I(e)-e.offset;r+=t.milliseconds||0,r+=(t.seconds||0)*1e3,r+=(t.minutes||0)*6e4,r+=(t.hours||0)*36e5;let n=b(r,e.timeZone);return d(n,e.calendar)}function ot(e,t){return ke(e,Ce(t))}function it(e,t,r,n){switch(t){case"hour":{let a=0,o=23;if(n?.hourCycle===12){let h=e.hour>=12;a=h?12:0,o=h?23:11}let i=k(e),s=d(F(i,{hour:a}),new S),c=[y(s,e.timeZone,"earlier"),y(s,e.timeZone,"later")].filter(h=>b(h,e.timeZone).day===s.day)[0],f=d(F(i,{hour:o}),new S),v=[y(f,e.timeZone,"earlier"),y(f,e.timeZone,"later")].filter(h=>b(h,e.timeZone).day===f.day).pop(),m=I(e)-e.offset,g=Math.floor(m/Y),$=m%Y;return m=p(g,r,Math.floor(c/Y),Math.floor(v/Y),n?.round)*Y+$,d(b(m,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return Ie(e,t,r,n);case"era":case"year":case"month":case"day":{let a=ae(k(e),t,r,n),o=y(a,e.timeZone);return d(b(o,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function st(e,t,r){let n=k(e),a=F(ne(n,t),t);if(a.compare(n)===0)return e;let o=y(a,e.timeZone,r);return d(b(o,e.timeZone),e.calendar)}function lt(e){return`${String(e.hour).padStart(2,"0")}
1:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function Pe(e){let t=d(e,new S),r;return t.era==="BC"?r=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):r=String(t.year).padStart(4,"0"),`${r}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Ee(e){return`${Pe(e)}T${lt(e)}`}function ct(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let r=Math.floor(e/36e5),n=Math.floor(e%36e5/6e4),a=Math.floor(e%36e5%6e4/1e3),o=`${t}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`;return a!==0&&(o+=`:${String(a).padStart(2,"0")}`),o}function ut(e){return`${Ee(e)}${ct(e.offset)}[${e.timeZone}]`}function ft(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function oe(e,t,r){ft(e,t),t.set(e,r)}function ie(e){let t=typeof e[0]=="object"?e.shift():new S,r;if(typeof e[0]=="string")r=e.shift();else{let i=t.getEras();r=i[i.length-1]}let n=e.shift(),a=e.shift(),o=e.shift();return[t,r,n,a,o]}var ht=new WeakMap;class B{copy(){return this.era?new B(this.calendar,this.era,this.year,this.month,this.day):new B(this.calendar,this.year,this.month,this.day)}add(t){return V(this,t)}subtract(t){return Se(this,t)}set(t){return ne(this,t)}cycle(t,r,n){return ae(this,t,r,n)}toDate(t){return Me(this,t)}toString(){return Pe(this)}compare(t){return ve(this,t)}constructor(...t){oe(this,ht,{writable:!0,value:void 0});let[r,n,a,o,i]=ie(t);this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,D(this)}}var dt=new WeakMap;class O{copy(){return this.era?new O(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new O(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return V(this,t)}subtract(t){return Se(this,t)}set(t){return ne(F(this,t),t)}cycle(t,r,n){switch(t){case"era":case"year":case"month":case"day":return ae(this,t,r,n);default:return Ie(this,t,r,n)}}toDate(t,r){return Me(this,t,r)}toString(){return Ee(this)}compare(t){let r=ve(this,t);return r===0?Je(this,k(t)):r}constructor(...t){oe(this,dt,{writable:!0,value:void 0});let[r,n,a,o,i]=ie(t);this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,D(this)}}var mt=new WeakMap;class P{copy(){return this.era?new P(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new P(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return ke(this,t)}subtract(t){return ot(this,t)}set(t,r){return st(this,t,r)}cycle(t,r,n){return it(this,t,r,n)}toDate(){return _e(this)}toString(){return ut(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-Xe(t,this.timeZone).toDate().getTime()}constructor(...t){oe(this,mt,{writable:!0,value:void 0});let[r,n,a,o,i]=ie(t),s=t.shift(),c=t.shift();this.calendar=r,this.era=n,this.year=a,this.month=o,this.day=i,this.timeZone=s,this.offset=c,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,D(this)}}let Q=new Map;class w{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,r){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,r);if(r<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(r)}`}formatRangeToParts(t,r){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,r);if(r<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),a=this.formatter.formatToParts(r);return[...n.map(o=>({...o,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...a.map(o=>({...o,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return bt()&&(this.resolvedHourCycle||(this.resolvedHourCycle=pt(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,r={}){this.formatter=Ye(t,r),this.options=r}}const $t={true:{ja:"h11"},false:{}};function Ye(e,t={}){if(typeof t.hour12=="boolean"&&yt()){t={...t};let a=$t[String(t.hour12)][e.split("-")[0]],o=t.hour12?"h12":"h23";t.hourCycle=a??o,delete t.hour12}let r=e+(t?Object.entries(t).sort((a,o)=>a[0]<o[0]?-1:1).join():"");if(Q.has(r))return Q.get(r);let n=new Intl.DateTimeFormat(e,t);return Q.set(r,n),n}let G=null;function yt(){return G==null&&(G=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),G}let X=null;function bt(){return X==null&&(X=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),X}function pt(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let r=Ye(e,{...t,timeZone:void 0}),n=parseInt(r.formatToParts(new Date(2020,2,3,0)).find(o=>o.type==="hour").value,10),a=parseInt(r.formatToParts(new Date(2020,2,3,23)).find(o=>o.type==="hour").value,10);if(n===0&&a===23)return"h23";if(n===24&&a===23)return"h24";if(n===0&&a===11)return"h11";if(n===12&&a===11)return"h12";throw new Error("Unexpected hour cycle result")}function T(e,t=N()){return se(e)?e.toDate():e.toDate(t)}function vt(e){return e instanceof O}function se(e){return e instanceof P}function gt(e){return vt(e)||se(e)}function Dt(e,t={}){const r=Be(e);function n(){return r.value}function a(l){r.value=l}function o(l,u){return new w(r.value,{...t,...u}).format(l)}function i(l,u=!0){return gt(l)&&u?o(T(l),{dateStyle:"long",timeStyle:"long"}):o(T(l),{dateStyle:"long"})}function s(l,u={}){return new w(r.value,{...t,month:"long",year:"numeric",...u}).format(l)}function c(l,u={}){return new w(r.value,{...t,month:"long",...u}).format(l)}function f(){const l=We(N());return[1,2,3,4,5,6,7,8,9,10,11,12].map(x=>({label:c(T(l.set({month:x}))),value:x}))}function v(l,u={}){return new w(r.value,{...t,year:"numeric",...u}).format(l)}function m(l,u){return se(l)?new w(r.value,{...t,...u,timeZone:l.timeZone}).formatToParts(T(l)):new w(r.value,{...t,...u}).formatToParts(T(l))}function g(l,u="narrow"){return new w(r.value,{...t,weekday:u}).format(l)}function $(l){const x=new w(r.value,{...t,hour:"numeric",minute:"numeric"}).formatToParts(l).find(W=>W.type==="dayPeriod")?.value;return x==="PM"||x==="pm"||x==="p.m."?"PM":"AM"}const h={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};function E(l,u,x={}){const W={...h,...x},le=m(l,W).find(Te=>Te.type===u);return le?le.value:""}return{setLocale:a,getLocale:n,fullMonth:c,fullYear:v,fullMonthAndYear:s,toParts:m,custom:o,part:E,dayPeriod:$,selectedDate:i,dayOfWeek:g,getMonths:f}}const xt={slots:{root:"relative group/user",wrapper:"",name:"font-medium",description:"text-muted",avatar:"shrink-0"},variants:{orientation:{horizontal:{root:"flex items-center"},vertical:{root:"flex flex-col"}},to:{true:{name:["text-default peer-hover:text-highlighted peer-focus-visible:text-highlighted","transition-colors"],description:["peer-hover:text-toned peer-focus-visible:text-toned","transition-colors"],avatar:"transform transition-transform duration-200 group-hover/user:scale-115 group-has-focus-visible/user:scale-115"},false:{name:"text-highlighted",description:""}},size:{"3xs":{root:"gap-1",wrapper:"flex items-center gap-1",name:"text-xs",description:"text-xs"},"2xs":{root:"gap-1.5",wrapper:"flex items-center gap-1.5",name:"text-xs",description:"text-xs"},xs:{root:"gap-1.5",wrapper:"flex items-center gap-1.5",name:"text-xs",description:"text-xs"},sm:{root:"gap-2",name:"text-xs",description:"text-xs"},md:{root:"gap-2",name:"text-sm",description:"text-xs"},lg:{root:"gap-2.5",name:"text-sm",description:"text-sm"},xl:{root:"gap-2.5",name:"text-base",description:"text-sm"},"2xl":{root:"gap-3",name:"text-base",description:"text-base"},"3xl":{root:"gap-3",name:"text-lg",description:"text-base"}}},defaultVariants:{size:"md"}},Ct=Object.assign({inheritAttrs:!1},{__name:"UUser",props:{as:{type:null,required:!1},name:{type:String,required:!1},description:{type:String,required:!1},avatar:{type:Object,required:!1},chip:{type:[Boolean,Object],required:!1},size:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},onClick:{type:Function,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,r=Oe(),n=qe(),a=Ue("user",t),o=Re(()=>me({extend:me(xt),...n.ui?.user||{}})({size:t.size,orientation:t.orientation,to:!!t.to||!!t.onClick}));return(i,s)=>(C(),q(M(Ae),{as:e.as,"data-orientation":e.orientation,"data-slot":"root",class:H(o.value.root({class:[M(a)?.root,t.class]})),onClick:e.onClick},{default:J(()=>[U(i.$slots,"avatar",{ui:o.value},()=>[e.chip&&e.avatar?(C(),q(ze,z({key:0,inset:""},typeof e.chip=="object"?e.chip:{},{size:e.size}),{default:J(()=>[Ze(ce,z({alt:e.name},e.avatar,{size:e.size,"data-slot":"avatar",class:o.value.avatar({class:M(a)?.avatar})}),null,16,["alt","size","class"])]),_:1},16,["size"])):e.avatar?(C(),q(ce,z({key:1,alt:e.name},e.avatar,{size:e.size,"data-slot":"avatar",class:o.value.avatar({class:M(a)?.avatar})}),null,16,["alt","size","class"])):Z("",!0)]),ue("div",{"data-slot":"wrapper",class:H(o.value.wrapper({class:M(a)?.wrapper}))},[e.to?(C(),q(He,z({key:0,"aria-label":e.name},{to:e.to,target:e.target,...i.$attrs},{class:"focus:outline-none peer",raw:""}),{default:J(()=>[...s[0]||(s[0]=[ue("span",{class:"absolute inset-0","aria-hidden":"true"},null,-1)])]),_:1},16,["aria-label"])):Z("",!0),U(i.$slots,"default",{},()=>[e.name||r.name?(C(),fe("p",{key:0,"data-slot":"name",class:H(o.value.name({class:M(a)?.name}))},[U(i.$slots,"name",{}
1,()=>[he(de(e.name),1)])],2)):Z("",!0),e.description||r.description?(C(),fe("p",{key:1,"data-slot":"description",class:H(o.value.description({class:M(a)?.description}))},[U(i.$slots,"description",{},()=>[he(de(e.description),1)])],2)):Z("",!0)])],2)]),_:3},8,["as","data-orientation","class","onClick"]))}});export{Ct as _,Dt as u};

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.