PageSourceSearch

https://www.cccb.org/o/frontend-js-clay-web/__liferay__/exports/@clayui$empty-state.js

js cccb.org collected 2026-10-01 08:15:45 UTC 2,553 bytes, 2 lines download raw bytes

1import{}from"../../../frontend-js-react-web/__liferay__/exports/classnames.js";import N from"../../../frontend-js-react-web/__liferay__/exports/classnames.js";var n=N;import{Children as D,Component as O,Fragment as A,Profiler as w,PureComponent as F,StrictMode as U,Suspense as V,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED as $,cloneElement as j,createContext as k,createElement as Y,createFactory as z,createRef as B,forwardRef as W,isValidElement as q,lazy as G,memo as J,startTransition as K,unstable_act as Q,useCallback as R,useContext as X,useDebugValue as Z,useDeferredValue as P,useEffect as ee,useId as te,useImperativeHandle as se,useInsertionEffect as ae,useLayoutEffect as re,useMemo as d,useReducer as ne,useRef as oe,useState as f,useSyncExternalStore as ie,useTransition as le,version as me}from"../../../frontend-js-react-web/__liferay__/exports/react.js";import y from"../../../frontend-js-react-web/__liferay__/exports/react.js";var e=y;var p="No results found";function T({children:m,className:E,description:x="Sorry, there are no results found",imgProps:s,imgPropsReducedMotion:t,imgSrc:a,imgSrcReducedMotion:r,small:v,title:h=p,...g}){let u=a||s,[c,I]=f(!1),o=d(()=>{if(c)return console.warn("The image url defined in `imgSrcReducedMotion` does not exist on the server. You can provide an updated url through the attribute `imgSrcReducedMotion` or set it to `{null}`."),null;if(r)return r;if(a&&r!==null){let i=new URL(a,a?.match(/http:\/\/|https:\/\//)?void 0:`https://${location.host}`),l=i.pathname.match(/.(gif|png|jpeg|jpg|svg)/);return l?`${i.pathname.substring(0,l.index)}_reduced_motion${i.pathname.substring(l.index)}`:null}},[c,r]);return t=t||s,e.createElement("div",{className:n(E,"c-empty-state",{"c-empty-state-animation":u,"c-empty-state-sm":v}),...g},u&&e.createElement("div",{className:"c-empty-state-image"},e.createElement("div",{className:"c-empty-state-aspect-ratio"},e.createElement("img",{alt:"",className:n("aspect-ratio-item aspect-ratio-item-fluid",o&&"d-none-c-prefers-reduced-motion",s&&s.className),src:a,...s}),o&&e.createElement("img",{alt:"",className:n("aspect-ratio-item aspect-ratio-item-fluid d-block-c-prefers-reduced-motion",t&&t.className),onError:()=>I(!0),src:o,...t}))),e.createElement("div",{className:"c-empty-state-title"},e.createElement("span",null,h||p)),e.createElement("div",{className:"c-empty-state-text"},x),m&&e.createElement("div",{className:"c-empty-state-footer"},m))}var _=T;var pe=_;export{pe as default};
2//# sourceMappingURL=@clayui$empty-state.(6CTIYDLP).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.