PageSourceSearch

https://7zz.cn/assets/useToken-Cf3kGqi1.js

js 7zz.cn collected 2026-10-07 19:56:37 UTC 12,490 bytes, 35 lines download raw bytes

1import{a as e}from"./rolldown-runtime-B0Z9INg1.js";import{n as t}from"./jsx-runtime-Ciaf_P-h.js";import{M as n,c as r,d as i,f as a,h as o,n as s,o as c,s as l,w as u}from"./es-DrXbpWFj.js";var d=e(t());o();var f={blue:`#1677FF`,purple:`#722ED1`,cyan:`#13C2C2`,green:`#52C41A`,magenta:`#EB2F96`,pink:`#EB2F96`,red:`#F5222D`,orange:`#FA8C16`,yellow:`#FADB14`,volcano:`#FA541C`,geekblue:`#2F54EB`,gold:`#FAAD14`,lime:`#A0D911`},p=Object.assign(Object.assign({},f),{colorPrimary:`#1677ff`,colorSuccess:`#52c41a`,colorWarning:`#faad14`,colorError:`#ff4d4f`,colorInfo:`#1677ff`,colorLink:``,colorTextBase:``,colorBgBase:``,fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
2'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
3'Noto Color Emoji'`,fontFamilyCode:`'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace`,fontSize:14,lineWidth:1,lineType:`solid`,motionUnit:.1,motionBase:0,motionEaseOutCirc:`cubic-bezier(0.08, 0.82, 0.17, 1)`,motionEaseInOutCirc:`cubic-bezier(0.78, 0.14, 0.15, 0.86)`,motionEaseOut:`cubic-bezier(0.215, 0.61, 0.355, 1)`,motionEaseInOut:`cubic-bezier(0.645, 0.045, 0.355, 1)`,motionEaseOutBack:`cubic-bezier(0.12, 0.4, 0.29, 1.46)`,motionEaseInBack:`cubic-bezier(0.71, -0.46, 0.88, 0.6)`,motionEaseInQuint:`cubic-bezier(0.755, 0.05, 0.855, 0.06)`,motionEaseOutQuint:`cubic-bezier(0.23, 1, 0.32, 1)`,borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});s(),i();function m(e,{generateColorPalettes:t,generateNeutralColorPalettes:n}){let{colorSuccess:r,colorWarning:i,colorError:o,colorInfo:s,colorPrimary:c,colorBgBase:l,colorTextBase:u}=e,d=t(c),f=t(r),p=t(i),m=t(o),h=t(s),g=n(l,u),_=t(e.colorLink||e.colorInfo),v=new a(m[1]).mix(new a(m[3]),50).toHexString();return Object.assign(Object.assign({},g),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:
3d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:v,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:_[4],colorLink:_[6],colorLinkActive:_[7],colorBgMask:new a(`#000`).setA(.45).toRgbString(),colorWhite:`#fff`})}var h=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}};function g(e){let{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},h(r))}var _=e=>{let{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function v(e){return(e+8)/e}function y(e){let t=Array.from({length:10}).map((t,n)=>{let r=n-1,i=e*Math.E**(r/5);return Math.floor((n>1?Math.floor(i):Math.ceil(i))/2)*2});return t[1]=e,t.map(e=>({size:e,lineHeight:v(e)}))}var b=e=>{let t=y(e),n=t.map(e=>e.size),r=t.map(e=>e.lineHeight),i=n[1],a=n[0],o=n[2],s=r[1],c=r[0],l=r[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:l,lineHeightSM:c,fontHeight:Math.round(s*i),fontHeightLG:Math.round(l*o),fontHeightSM:Math.round(c*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function x(e){let{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}i();var S=(e,t)=>new a(e).setA(t).toRgbString(),C=(e,t)=>new a(e).darken(t).toHexString(),w=e=>{let t=r(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},T=(e,t)=>{let n=e||`#fff`,r=t||`#000`;return{colorBgBase:n,colorTextBase:r,colorText:S(r,.88),colorTextSecondary:S(r,.65),colorTextTertiary:S(r,.45),colorTextQuaternary:S(r,.25),colorFill:S(r,.15),colorFillSecondary:S(r,.06),colorFillTertiary:S(r,.04),colorFillQuaternary:S(r,.02),colorBgSolid:S(r,1),colorBgSolidHover:S(r,.75),colorBgSolidActive:S(r,.95),colorBgLayout:C(n,4),colorBgContainer:C(n,0),colorBgElevated:C(n,0),colorBgSpotlight:S(r,.85),colorBgBlur:`transparent`,colorBorder:C(n,15),colorBorderSecondary:C(n,6)}};s();function E(e){l.pink=l.magenta,c.pink=c.magenta;let t=Object.keys(f).map(t=>{let n=e[t]===l[t]?c[t]:r(e[t]);return Array.from({length:10},()=>1).reduce((e,r,i)=>(e[`${t}-${i+1}`]=n[i],e[`${t}${i+1}`]=n[i],e),{})}).reduce((e,t)=>(e=Object.assign(Object.assign({},e),t),e),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),m(e,{generateColorPalettes:w,generateNeutralColorPalettes:T})),b(e.fontSize)),x(e)),_(e)),g(e))}var D=n(E),O={token:p,override:{override:p},hashed:!0},k=d.createContext(O),A=`5.27.6`;i();function j(e){return e>=0&&e<=255}function M(e,t){let{r:n,g:r,b:i,a:o}=new a(e).toRgb();if(o<1)return e;let{r:s,g:c,b:l}=new a(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((n-s*(1-e))/e),o=Math.round((r-c*(1-e))/e),u=Math.round((i-l*(1-e))/e);if(j(t)&&j(o)&&j(u))return new a({r:t,g:o,b:u,a:Math.round(e*100)/100}).toRgbString()}return new a({r:n,g:r,b:i,a:1}).toRgbString()}i();var N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function P(e){let{override:t}=e,n=N(e,[`override`]),r=Object.assign({},t);
3Object.keys(p).forEach(e=>{delete r[e]});let i=Object.assign(Object.assign({},n),r),o=1200,s=1600;return i.motion===!1&&(i.motionDurationFast=`0s`,i.motionDurationMid=`0s`,i.motionDurationSlow=`0s`),Object.assign(Object.assign(Object.assign({},i),{colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:M(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:M(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:M(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidthFocus:i.lineWidth*3,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:M(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:`none`,linkHoverDecoration:`none`,linkFocusDecoration:`none`,controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:`
4      0 6px 16px 0 rgba(0, 0, 0, 0.08),
5      0 3px 6px -4px rgba(0, 0, 0, 0.12),
6      0 9px 28px 8px rgba(0, 0, 0, 0.05)
7    `,boxShadowSecondary:`
8      0 6px 16px 0 rgba(0, 0, 0, 0.08),
9      0 3px 6px -4px rgba(0, 0, 0, 0.12),
10      0 9px 28px 8px rgba(0, 0, 0, 0.05)
11    `,boxShadowTertiary:`
12      0 1px 2px 0 rgba(0, 0, 0, 0.03),
13      0 1px 6px -1px rgba(0, 0, 0, 0.02),
14      0 2px 4px 0 rgba(0, 0, 0, 0.02)
15    `,screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:o,screenXLMin:o,screenXLMax:1599,screenXXL:s,screenXXLMin:s,boxShadowPopoverArrow:`2px 2px 5px rgba(0, 0, 0, 0.05)`,boxShadowCard:`
16      0 1px 2px -2px ${new a(`rgba(0, 0, 0, 0.16)`).toRgbString()},
17      0 3px 6px 0 ${new a(`rgba(0, 0, 0, 0.12)`).toRgbString()},
18      0 5px 12px 4px ${new a(`rgba(0, 0, 0, 0.09)`).toRgbString()}
19    `,boxShadowDrawerRight:`
20      -6px 0 16px 0 rgba(0, 0, 0, 0.08),
21      -3px 0 6px -4px rgba(0, 0, 0, 0.12),
22      -9px 0 28px 8px rgba(0, 0, 0, 0.05)
23    `,boxShadowDrawerLeft:`
24      6px 0 16px 0 rgba(0, 0, 0, 0.08),
25      3px 0 6px -4px rgba(0, 0, 0, 0.12),
26      9px 0 28px 8px rgba(0, 0, 0, 0.05)
27    `,boxShadowDrawerUp:`
28      0 6px 16px 0 rgba(0, 0, 0, 0.08),
29      0 3px 6px -4px rgba(0, 0, 0, 0.12),
30      0 9px 28px 8px rgba(0, 0, 0, 0.05)
31    `,boxShadowDrawerDown:`
32      0 -6px 16px 0 rgba(0, 0, 0, 0.08),
33      0 -3px 6px -4px rgba(0, 0, 0, 0.12),
34      0 -9px 28px 8px rgba(0, 0, 0, 0.05)
35    `,boxShadowTabsOverflowLeft:`inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)`,boxShadowTabsOverflowRight:`inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)`,boxShadowTabsOverflowTo
35p:`inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)`,boxShadowTabsOverflowBottom:`inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)`}),r)}o();var F=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},I={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},L={motionBase:!0,motionUnit:!0},R={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},z=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:i}=t,a=F(t,[`override`]),o=Object.assign(Object.assign({},r),{override:i});return o=P(o),a&&Object.entries(a).forEach(([e,t])=>{let{theme:n}=t,r=F(t,[`theme`]),i=r;n&&(i=z(Object.assign(Object.assign({},o),r),{override:r},n)),o[e]=i}),o};function B(){let{token:e,hashed:t,theme:n,override:r,cssVar:i}=d.useContext(k),a=`${A}-${t||``}`,o=n||D,[s,c,l]=u(o,[p,e],{salt:a,override:r,getComputedToken:z,formatToken:P,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:I,ignore:L,preserve:R}});return[o,l,t?c:``,s,i]}export{A as a,D as c,v as d,_ as f,p as h,M as i,E as l,f as m,B as n,k as o,m as p,P as r,O as s,I as t,b 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.