PageSourceSearch

https://www.unitree.com/_nuxt/p2_ZirIU.js

js unitree.com collected 2026-09-24 08:37:48 UTC 3,118 bytes, 1 lines download raw bytes

1import{b as y,m as S,_ as d,r as w,h as _,u as B,c as T,a as x,w as k,U as C,j as $}from"./1Kt5sLDq.js";import{i as N,g as z,P as A,t as D,T as I,a as W}from"./y36g-jkA.js";import{o as H}from"./B_Z30ZNd.js";import{b as E}from"./uzs4iC5o.js";import{i as j}from"./Dus7Nh7U.js";import{H as M,g as R,I as F,d as f,F as L}from"./D83MwGH5.js";const O=t=>{const{componentCls:o,popoverBg:r,popoverColor:e,width:a,fontWeightStrong:s,popoverPadding:l,boxShadowSecondary:c,colorTextHeading:g,borderRadiusLG:u,zIndexPopup:p,marginXS:m,colorBgElevated:n}=t;return[{[o]:d(d({},w(t)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:p,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--antd-arrow-background-color":n,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${o}-content`]:{position:"relative"},[`${o}-inner`]:{backgroundColor:r,backgroundClip:"padding-box",borderRadius:u,boxShadow:c,padding:l},[`${o}-title`]:{minWidth:a,marginBottom:m,color:g,fontWeight:s},[`${o}-inner-content`]:{color:e}})},z(t,{colorBg:"var(--antd-arrow-background-color)"}),{[`${o}-pure`]:{position:"relative",maxWidth:"none",[`${o}-content`]:{display:"inline-block"}}}]},G=t=>{const{componentCls:o}=t;return{[o]:A.map(r=>{const e=t[`${r}-6`];return{[`&${o}-${r}`]:{"--antd-arrow-background-color":e,[`${o}-inner`]:{backgroundColor:e},[`${o}-arrow`]:{background:"transparent"}}}})}},U=t=>{const{componentCls:o,lineWidth:r,lineType:e,colorSplit:a,paddingSM:s,controlHeight:l,fontSize:c,lineHeight:g,padding:u}=t,p=l-Math.round(c*g),m=p/2,n=p/2-r,i=u;return{[o]:{[`${o}-inner`]:{padding:0},[`${o}-title`]:{margin:0,padding:`${m}px ${i}px ${n}px`,borderBottom:`${r}px ${e} ${a}`},[`${o}-inner-content`]:{padding:`${s}px ${i}px`}}}},V=y("Popover",t=>{const{colorBgElevated:o,colorText:r,wireframe:e}=t,a=S(t,{popoverBg:o,popoverColor:r,popoverPadding:12});return[O(a),G(a),e&&U(a),N(a,"zoom-big")]},t=>{let{zIndexPopupBase:o}=t;return{zIndexPopup:o+30,width:177}}),X=()=>d(d({},W()),{content:C(),title:C()}),Z=M({compatConfig:{MODE:3},name:"APopover",inheritAttrs:!1,props:j(X(),d(d({},D()),{trigger:"hover",placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1})),setup(t,o){let{expose:r,slots:e,attrs:a}=o;const s=R();_(t.visible===void 0),r({getPopupDomNode:()=>{var n,i;return(i=(n=s.value)===null||n===void 0?void 0:n.getPopupDomNode)===null||i===void 0?void 0:i.call(n)}});const{prefixCls:l,configProvider:c}=B("popover",t),[g,u]=V(l),p=F(()=>c.getPrefixCls()),m=()=>{var n,i;const{title:v=$((n=e.title)===null||n===void 0?void 0:n.call(e)),content:h=$((i=e.content)===null||i===void 0?void 0:i.call(e))}=t,b=!!(Array.isArray(v)?v.length:v),P=!!(Array.isArray(h)?h.length:v);return!b&&!P?null:f(L,null,[b&&f("div",{class:`${l.value}-title`},[v]),f("div",{class:`${l.value}-inner-content`},[h])])};return()=>{const n=T(t.overlayClassName,u.value);return g(f(I,x(x(x({},H(t,["title","content"])),a),{},{prefixCls:l.value,ref:s,overlayClassName:n,transitionName:E(p.value,"zoom-big",t.transitionName),"data-popover-inject":!0}),{title:m,default:e.default}))}}}),to=k(Z);export{to as _};

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.