1!function(){try{("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).__faroGitHash_myeroad="5ce3e63ee526711d9fdee9e150f093852f3a7cc4"}catch(e){}}(),function(){try{("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).__faroBundleId_myeroad="10.1.5092-apac"}catch(e){}}();try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7adf8aae-e856-451b-91a9-5aa59654ca5d",e._sentryDebugIdIdentifier="sentry-dbid-7adf8aae-e856-451b-91a9-5aa59654ca5d")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"10.1.5092-apac"},(self.webpackChunk_eroad_myeroad=self.webpackChunk_eroad_myeroad||[]).push([[2741],{22741:(e,t,i)=>{i.d(t,{A:()=>I});var n=i(83705),a=i(14041),l=i(53373),o=i.n(l),r=i(31906),d=i(41250),s=i(9642),c=i(34203),m=i(17392),g=i(46647),p=i(20728),f=i(14792),$=i(20921);const u=a.createContext({});u.Consumer;var y=i(27291),h=i(97497),b=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(i[n[a]]=e[n[a]])}return i};const S=a.forwardRef((e,t)=>{const{prefixCls:i,children:n,actions:l,extra:r,styles:d,className:c,classNames:m,colStyle:g}=e,p=b(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:f,itemLayout:$}=(0,a.useContext)(u),{getPrefixCls:S,list:v}=(0,a.useContext)(s.QO),x=e=>{var t,i;return o()(null===(i=null===(t=null==v?void 0:v.item)||void 0===t?void 0:t.classNames)||void 0===i?void 0:i[e],null==m?void 0:m[e])},E=e=>{var t,i;return Object.assign(Object.assign({},null===(i=null===(t=null==v?void 0:v.item)||void 0===t?void 0:t.styles)||void 0===i?void 0:i[e]),null==d?void 0:d[e])},z=S("list",i),C=l&&l.length>0&&a.createElement("ul",{className:o()(`${z}-item-action`,x("actions")),key:"actions",style:E("actions")},l.map((e,t)=>a.createElement("li",{key:`${z}-item-action-${t}`},e,t!==l.length-1&&a.createElement("em",{className:`${z}-item-action-split`})))),w=f?"div":"li",O=a.createElement(w,Object.assign({},p,f?{}:{ref:t},{className:o()(`${z}-item`,{[`${z}-item-no-flex`]:!("vertical"===$?r:!(()=>{let e;return a.Children.forEach(n,t=>{"string"==typeof t&&(e=!0)}),e&&a.Children.count(n)>1})())},c)}),"vertical"===$&&r?[a.createElement("div",{className:`${z}-item-main`,key:"content"},n,C),a.createElement("div",{className:o()(`${z}-item-extra`,x("extra")),key:"extra",style:E("extra")},r)]:[n,C,(0,y.Ob)(r,{key:"extra"})]);return f?a.createElement(h.A,{ref:t,flex:1,style:g},O):O}),v=S;v.Meta=e=>{var{prefixCls:t,className:i,avatar:n,title:l,description:r}=e,d=b(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:c}=(0,a.useContext)(s.QO),m=c("list",t),g=o()(`${m}-item-meta`,i),p=a.createElement("div",{className:`${m}-item-meta-content`},l&&a.createElement("h4",{className:`${m}-item-meta-title`},l),r&&a.createElement("div",{className:`${m}-item-meta-description`},r));return a.createElement("div",Object.assign({},d,{className:g}),n&&a.createElement("div",{className:`${m}-item-meta-avatar`},n),(l||r)&&p)};const x=v;var E=i(83506),z=i(48408),C=i(66763),w=i(78339);const O=e=>{const{listBorderedCls:t,componentCls:i,paddingLG:n,margin:a,itemPaddingSM:l,itemPaddingLG:o,marginLG:r,borderRadiusLG:d}=e;return{[`${t}`]:{border:`${(0,E.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:d,[`${i}-header,${i}-footer,${i}-item`]:{paddingInline:n},[`${i}-pagination`]:{margin:`${(0,E.zA)(a)} ${(0,E.zA)(r)}`}},[`${t}${i}-sm`]:{[`${i}-item,${i}-header,${i}-footer`]:{padding:l}},[`${t}${i}-lg`]:{[`${i}-item,${i}-header,${i}-footer`]:{padding:o}}}},k=e=>{const{componentCls:t,screenSM:i,screenMD:n,marginLG:a,marginSM:l,margin:o}=e;return{[`@media screen and (max-width:${n}px)`]:{[`${t}`]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${i}px)`]:{[`${t}`]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:l}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${(0,E.zA)(o)}`}}}}}},A=e=>{const{componentCls:t,antCls:i,controlHeight:n,minHeight:a,paddingSM:l,marginLG:o,padding:r,itemPadding:d,colorPrimary:s,itemPaddingSM:c,itemPaddingLG:m,paddingXS:g,margin:p,colorText:f,colorTextDescription:$,motionDurationSlow:u,lineWidth:y,headerBg:h,footerBg:b,emptyTextPadding:S,metaMarginBottom:v,avatarMarginRight:x,titleMarginBottom:C,descriptionFontSize:w}=e,O={};
1return["start","center","end"].forEach(e=>{O[`&-align-${e}`]={textAlign:e}}),{[`${t}`]:Object.assign(Object.assign({},(0,z.dF)(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:h},[`${t}-footer`]:{background:b},[`${t}-header, ${t}-footer`]:{paddingBlock:l},[`${t}-pagination`]:Object.assign(Object.assign({marginBlockStart:o},O),{[`${i}-pagination-options`]:{textAlign:"start"}}),[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:d,color:f,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:x},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:f},[`${t}-item-meta-title`]:{margin:`0 0 ${(0,E.zA)(e.marginXXS)} 0`,color:f,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:f,transition:`all ${u}`,"&:hover":{color:s}}},[`${t}-item-meta-description`]:{color:$,fontSize:w,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,E.zA)(g)}`,color:$,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:y,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${(0,E.zA)(r)} 0`,color:$,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:S,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${i}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:p,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:o},[`${t}-item-meta`]:{marginBlockEnd:v,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:C,color:f,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:r,marginInlineStart:"auto","> li":{padding:`0 ${(0,E.zA)(r)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${(0,E.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${(0,E.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${(0,E.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:n},[`${t}-split${t}-something-after-last-item ${i}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${(0,E.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:m},[`${t}-sm ${t}-item`]:{padding:c},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},N=(0,C.OF)("List",e=>{const t=(0,w.h1)(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[A(t),O(t),k(t)]},e=>({contentWidth:220,itemPadding:`${(0,E.zA)(e.paddingContentVertical)} 0`,itemPaddingSM:`${(0,E.zA)(e.paddingContentVerticalSM)} ${(0,E.zA)(e.paddingContentHorizontal)}`,itemPaddingLG:`${(0,E.zA)(e.paddingContentVerticalLG)} ${(0,E.zA)(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}));function B(e){var t,{pagination:i=!1,prefixCls:l,bordered:y=!1,split:h=!0,className:b,rootClassName:S,style:v,children:x,itemLayout:E,loadMore:z,grid:C,dataSource:w=[],size:O,header:k,footer:A,loading:B=!1,rowKey:I,renderItem:j,locale:M}=e,L=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(i[n[a]]=e[n[a]])}return i}(e,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]);const P=i&&"object"==typeof i?i:{}
1,[T,H]=a.useState(P.defaultCurrent||1),[_,G]=a.useState(P.defaultPageSize||10),{getPrefixCls:W,renderEmpty:D,direction:R,list:X}=a.useContext(s.QO),F=e=>(t,n)=>{var a;H(t),G(n),i&&i[e]&&(null===(a=null==i?void 0:i[e])||void 0===a||a.call(i,t,n))},Q=F("onChange"),V=F("onShowSizeChange"),J=W("list",l),[K,Y,q]=N(J);let U=B;"boolean"==typeof U&&(U={spinning:U});const Z=U&&U.spinning;let ee="";switch((0,m.A)(O)){case"large":ee="lg";break;case"small":ee="sm"}const te=o()(J,{[`${J}-vertical`]:"vertical"===E,[`${J}-${ee}`]:ee,[`${J}-split`]:h,[`${J}-bordered`]:y,[`${J}-loading`]:Z,[`${J}-grid`]:!!C,[`${J}-something-after-last-item`]:!!(z||i||A),[`${J}-rtl`]:"rtl"===R},null==X?void 0:X.className,b,S,Y,q),ie=(0,r.A)({current:1,total:0},{total:w.length,current:T,pageSize:_},i||{}),ne=Math.ceil(ie.total/ie.pageSize);ie.current>ne&&(ie.current=ne);const ae=i?a.createElement("div",{className:o()(`${J}-pagination`,`${J}-pagination-align-${null!==(t=null==ie?void 0:ie.align)&&void 0!==t?t:"end"}`)},a.createElement(f.A,Object.assign({},ie,{onChange:Q,onShowSizeChange:V}))):null;let le=(0,n.A)(w);i&&w.length>(ie.current-1)*ie.pageSize&&(le=(0,n.A)(w).splice((ie.current-1)*ie.pageSize,ie.pageSize));const oe=Object.keys(C||{}).some(e=>["xs","sm","md","lg","xl","xxl"].includes(e)),re=(0,p.A)(oe),de=a.useMemo(()=>{for(let e=0;e<d.ye.length;e+=1){const t=d.ye[e];if(re[t])return t}},[re]),se=a.useMemo(()=>{if(!C)return;const e=de&&C[de]?C[de]:C.column;return e?{width:100/e+"%",maxWidth:100/e+"%"}:void 0},[JSON.stringify(C),de]);let ce=Z&&a.createElement("div",{style:{minHeight:53}});if(le.length>0){const e=le.map((e,t)=>((e,t)=>{if(!j)return null;let i;return i="function"==typeof I?I(e):I?e[I]:e.key,i||(i=`list-item-${t}`),a.createElement(a.Fragment,{key:i},j(e,t))})(e,t));ce=C?a.createElement(g.A,{gutter:C.gutter},a.Children.map(e,e=>a.createElement("div",{key:null==e?void 0:e.key,style:se},e))):a.createElement("ul",{className:`${J}-items`},e)}else x||Z||(ce=a.createElement("div",{className:`${J}-empty-text`},M&&M.emptyText||(null==D?void 0:D("List"))||a.createElement(c.A,{componentName:"List"})));const me=ie.position||"bottom",ge=a.useMemo(()=>({grid:C,itemLayout:E}),[JSON.stringify(C),E]);return K(a.createElement(u.Provider,{value:ge},a.createElement("div",Object.assign({style:Object.assign(Object.assign({},null==X?void 0:X.style),v),className:te},L),("top"===me||"both"===me)&&ae,k&&a.createElement("div",{className:`${J}-header`},k),a.createElement($.A,Object.assign({},U),ce,x),A&&a.createElement("div",{className:`${J}-footer`},A),z||("bottom"===me||"both"===me)&&ae)))}B.Item=x;const I=B}}]); 2//# sourceMappingURL=2741.myeroad.3ec608b62c1d6ba0e039.js.map
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.