You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
8.9 KiB
1 line
8.9 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[82532],{22596:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(15250),o=r(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},l=r(68475),c=function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var i=o.forwardRef(c)},88289:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(15250),o=r(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},l=r(68475),c=function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var i=o.forwardRef(c)},87026:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(15250),o=r(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},l=r(68475),c=function(e,t){return o.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var i=o.forwardRef(c)},66104:function(e,t,r){r.d(t,{Z:function(){return $}});var n=r(92310),o=r.n(n),a=r(75440),l=r(47413),c=r(59301),i=r(92343),s=r(36355),u=r(43501),m=r(91857);const p=e=>{let{children:t}=e;const{getPrefixCls:r}=c.useContext(s.E_),n=r("breadcrumb");return c.createElement("li",{className:`${n}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};p.__ANT_BREADCRUMB_SEPARATOR=!0;var f=p,d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function b(e,t,r,n){if(null==r)return null;const{className:a,onClick:i}=t,s=d(t,["className","onClick"]),u=Object.assign(Object.assign({},(0,l.Z)(s,{data:!0,aria:!0})),{onClick:i});return void 0!==n?c.createElement("a",Object.assign({},u,{className:o()(`${e}-link`,a),href:n}),r):c.createElement("span",Object.assign({},u,{className:o()(`${e}-link`,a)}),r)}function g(e,t){return(r,n,o,a,l)=>{if(t)return t(r,n,o,a);const c=function(e,t){if(void 0===e.title||null===e.title)return null;const r=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${r})`,"g"),((e,r)=>t[r]||e))}(r,n);return b(e,r,c,l)}}var v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const h=e=>{const{prefixCls:t,separator:r="/",children:n,menu:o,overlay:a,dropdownProps:l,href:i}=e;const s=(e=>{if(o||a){const r=Object.assign({},l);if(o){const e=o||{},{items:t}=e,n=v(e,["items"]);r.menu=Object.assign(Object.assign({},n),{items:null==t?void 0:t.map(((e,t)=>{var{key:r,title:n,label:o,path:a}=e,l=v(e,["key","title","label","path"]);let s=null!=o?o:n;return a&&(s=c.createElement("a",{href:`${i}${a}`},s)),Object.assign(Object.assign({},l),{key:null!=r?r:t,label:s})}))})}else a&&(r.overlay=a);return c.createElement(m.Z,Object.assign({placement:"bottom"},r),c.createElement("span",{className:`${t}-overlay-link`},e,c.createElement(u.Z,null)))}return e})(n);return null!=s?c.createElement(c.Fragment,null,c.createElement("li",null,s),r&&c.createElement(f,null,r)):null},y=e=>{const{prefixCls:t,children:r,href:n}=e,o=v(e,["prefixCls","children","href"]),{getPrefixCls:a}=c.useContext(s.E_),l=a("breadcrumb",t);return c.createElement(h,Object.assign({},o,{prefixCls:l}),b(l,o,r,n))};y.__ANT_BREADCRUMB_ITEM=!0;var O=y,C=r(17313),j=r(83116),x=r(37613);const S=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},(0,C.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[r]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,C.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[`\n > ${r} + span,\n > ${r} + a\n `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${r}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}};var k=(0,j.Z)("Breadcrumb",(e=>{const t=(0,x.TS)(e,{});return[S(t)]}),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function w(e){const{breadcrumbName:t,children:r}=e,n=E(e,["breadcrumbName","children"]),o=Object.assign({title:t},n);return r&&(o.menu={items:r.map((e=>{var{breadcrumbName:t}=e,r=E(e,["breadcrumbName"]);return Object.assign(Object.assign({},r),{title:t})}))}),o}var z=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const N=e=>{const{prefixCls:t,separator:r="/",style:n,className:u,rootClassName:m,routes:p,items:d,children:b,itemRender:v,params:y={}}=e,O=z(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:C,direction:j,breadcrumb:x}=c.useContext(s.E_);let S;const E=C("breadcrumb",t),[N,$]=k(E),P=function(e,t){return(0,c.useMemo)((()=>e||(t?t.map(w):null)),[e,t])}(d,p);const Z=g(E,v);if(P&&P.length>0){const e=[],t=d||p;S=P.map(((n,o)=>{const{path:a,key:i,type:s,menu:u,overlay:m,onClick:p,className:d,separator:b,dropdownProps:g}=n,v=((e,t)=>{if(void 0===t)return t;let r=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{r=r.replace(`:${t}`,e[t])})),r})(y,a);void 0!==v&&e.push(v);const O=null!=i?i:o;if("separator"===s)return c.createElement(f,{key:O},b);const C={},j=o===P.length-1;u?C.menu=u:m&&(C.overlay=m);let{href:x}=n;return e.length&&void 0!==v&&(x=`#/${e.join("/")}`),c.createElement(h,Object.assign({key:O},C,(0,l.Z)(n,{data:!0,aria:!0}),{className:d,dropdownProps:g,href:x,separator:j?"":r,onClick:p,prefixCls:E}),Z(n,y,t,e,x))}))}else if(b){const e=(0,a.Z)(b).length;S=(0,a.Z)(b).map(((t,n)=>{if(!t)return t;const o=n===e-1;return(0,i.Tm)(t,{separator:o?"":r,key:n})}))}const H=o()(E,null==x?void 0:x.className,{[`${E}-rtl`]:"rtl"===j},u,m,$),R=Object.assign(Object.assign({},null==x?void 0:x.style),n);return N(c.createElement("nav",Object.assign({className:H,style:R},O),c.createElement("ol",null,S)))};N.Item=O,N.Separator=f;var $=N}}]); |