PageSourceSearch

https://app.findalto.com/_next/static/chunks/pages/style-guide/search-b11be62ad5308d4e.js

js findalto.com collected 2026-10-06 05:40:33 UTC 19,154 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2174],{23258:function(e,t){"use strict";t.Z=function(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout((()=>{e.apply(this,n)}),t)}return n.clear=()=>{clearTimeout(r)},n}},31322:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var n=r(27812),i=r(69661),o=r(98456),s=r(87109),a=r(90629),c=r(15861),l=r(59499),u=r(36822),d=r(50135),p=r(75846),h=r(86421),g=r(30926),f=r(52049),x=r(67294),m=r(28147),j=r(23258),b=r(13104),Z=r(93681),v=r(39209),y=r(58822),O=r(85893);function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){(0,l.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function w(e){var t=e.selectedUser,r=e.width,n=e.disabled,i=e.onSearchResultSelected,l=e.onSearchResultRemoved,g=e.isEnabled,b=e.isCaregiver,Z=e.caregiverProfileStatus,v=e.error,S=(0,x.useState)(null!==t&&void 0!==t?t:null),w=S[0],I=S[1],B=(0,x.useState)({filters:{},paginationQuery:{limit:0,offset:0},skip:!0}),D=B[0],R=B[1],L=(0,m.xH)(D.filters,D.paginationQuery,D.skip),H=L.userSearchResults,A=L.userSearchResultsLoading,T=L.userSearchResultsFetchError,q=(0,x.useMemo)((function(){return(0,j.Z)((function(e,t){"input"===t&&e.trim().length>=3&&R({filters:{nameOrEmail:e.trim(),enabled:g,isCaregiver:b,caregiverProfileStatus:Z},paginationQuery:{limit:40,offset:0},skip:!1})}),600)}),[g,b,Z]);return(0,O.jsx)(u.Z,{width:r,children:(0,O.jsx)(p.Z,{id:"admin-user-super-search",size:"small",value:w,fullWidth:!0,disabled:n,autoHighlight:!1,filterOptions:function(e){return e},loading:A,loadingText:(0,O.jsx)(c.Z,{variant:"body2",children:"Searching..."}),options:E(H,w),getOptionLabel:function(e){return(0,f.BD)(e.firstname,e.lastname)},isOptionEqualToValue:function(e,t){return e.userId===t.userId},noOptionsText:T?(0,O.jsx)(c.Z,{variant:"body2",color:h.Z.palette.error.main,children:"An error occurred when searching. Please try again."}):(0,O.jsx)(c.Z,{variant:"body2",children:"No results."}),onInputChange:function(e,t,r){q(t,r)},onChange:function(e,t){!function(e){var t;e?i({userId:e.userId,caregiverProfileId:null!==(t=e.caregiverProfileId)&&void 0!==t?t:void 0}):(R((function(e){return P(P({},e),{},{skip:!0})})),l&&l()),I(e)}(t)},PaperComponent:function(e){var t=e.children;return(0,O.jsx)(a.Z,{sx:{border:"1px solid ".concat(h.Z.palette.grey[400])},children:t})},renderInput:function(e){return(0,O.jsx)(d.Z,P(P({},e),{},{placeholder:k(b,g),variant:"outlined",onKeyDown:function(e){(A||"Enter"===e.key)&&e.preventDefault()},InputProps:P(P({},e.InputProps),{},{sx:[{fontSize:"14px"},n?{backgroundColor:h.Z.extendedPalette.lightestGrey}:{}],startAdornment:(0,O.jsx)(s.Z,{position:"end",sx:{marginRight:0},children:(0,O.jsx)(y.Z,{fontSize:"small"})}),endAdornment:(0,O.jsxs)(O.Fragment,{children:[A&&(0,O.jsx)(o.Z,{size:16,sx:{marginBottom:h.Z.spacing(1)}}),e.InputProps.endAdornment]})}),inputProps:P(P({},e.inputProps),{},{autoComplete:"off"}),error:!!T||!!v}))},renderOption:function(e,t){return(0,x.createElement)(u.Z,P(P({component:"li"},e),{},{key:t.userId}),(0,O.jsx)(C,{userSearchResult:t}))}})})}function C(e){var t,r=e.userSearchResult;return(0,O.jsxs)(u.Z,{display:"flex",alignItems:"center",padding:1,children:[(0,O.jsx)(i.Z,{sx:I.avatar,src:null!==(t=r.profileImageUrl)&&void 0!==t?t:g.ql}),(0,O.jsxs)(u.Z,{marginLeft:2,children:[(0,O.jsx)(c.Z,{variant:"subtitle2",children:(0,f.BD)(r.firstname,r.lastname)}),(0,O.jsx)(c.Z,{variant:"body2",children:r.email}),(0,O.jsxs)(u.Z,{display:"flex",children:[(0,O.jsx)(c.Z,{sx:I.infoItem,children:r.isCaregiver?"Caregiver":"Careseeker"}),r.isCaregiver&&!r.caregiverProfileId&&(0,O.jsx)(c.Z,{sx:I.infoItem,color:h.Z.palette.error.main,children:"No Profile"}),r.isCaregiver&&r.caregiverProfileStatus&&(0,O.jsx)(c.Z,{sx:I.infoItem,color:I.getCaregiverProfileStatusColor(r.caregiverProfileStatus),children:(0,v.bt)(r.caregiverProfileStatus)}),!r.enabled&&(0,O.jsx)(c.Z,{sx:I.infoItem,color:h.Z.palette.error.main,children:"Disabled"})]})]})]})}var I={avatar:{width:h.Z.spacing(7),height:"auto"},infoItem:{fontSize:"12px",fontWeight:500,marginRight:h.Z.spacing(.5),"&:not(:first-of-type)":{"&:before":{content:"'\u2022'",marginRight:h.Z.spacing(.5),color:h.Z.palette.common.black}}},getCaregiverProfileStatusColor:function(e){var t=h.Z.extendedPalette.purple;return e===b.L7.Verified&&(t=h.Z.palette.success.main),e!==b.L7.Rejected&&e!==b.L7.Unverified||(t=h.Z.palette.error.main),t}};function k(e,t){var r="user";(0,Z.$K)(e)&&(r=e?"caregiver":"careseeker");var n=(0,Z.$K)(t)?t?"enabled":"disabled":"all";return"Search ".concat(n," ").concat(r,"s")}function E(e,t){if(!e)return t?[t]:[];if(t&&!e.find((function(e){return e.userId===t.userId})))return[t].concat((0,n.Z)(e));return e}},41047:function(e,t,r){"use strict";r.d(t,{Z:function(){return Z}});var n=r(36822),i=r(69368),o=r(63017),s=r(21477),a=r(59499),c=r(4730),l=r(90044),u=r(67294),d=r(86421),p=r(26613),h=r(25894),g=r(85893),f=["loading","paginationAlign","allowExpandOneRowOnly"];function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?x(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j={indeterminate:function(e){return e}};function b(e){var t={rows:{style:{font:d.Z.typography.body2.font,fontSize:d.Z.typography.body2.fontSize,fontWeight:d.Z.typography.body2.fontWeight}},headCells:{style:{font:d.Z.typography.body2.font,fontSize:d.Z.typography.body2.fontSize,fontWeight:d.Z.typography.fontWeightBold,"@media print":{breakInside:"avoid"}}}};return e.paginationAlign&&("left"===e.paginationAlign?t.pagination={style:{justifyContent:"flex-start"}}:"center"===e.paginationAlign&&(t.pagination={style:{justifyContent:"center"}})),t}function Z(e){var t=(0,u.useState)(),r=t[0],a=t[1],d=e.loading,x=e.paginationAlign,Z=e.allowExpandOneRowOnly,y=(0,c.Z)(e,f);return(0,g.jsx)(n.Z,{sx:m({},v.container),children:(0,g.jsx)(l.ZP,m({customStyles:b({paginationAlign:x}),sortIcon:(0,g.jsx)(p.Z,{sx:v.sortIcon}),selectableRowsComponent:i.Z,progressPending:d,progressComponent:(0,g.jsx)(h.Z,{}),highlightOnHover:!0,selectableRowsComponentProps:j,expandableIcon:{collapsed:(0,g.jsx)(s.Z,{}),expanded:(0,g.jsx)(o.Z,{})},expandableRowExpanded:function(e){return!!Z&&e===r},onRowExpandToggled:function(e,t){return a(t)}},y))})}var v={container:{margin:d.Z.spacing(1)},sortIcon:{display:"block",marginLeft:d.Z.spacing(.5)}}},25894:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(36822),i=r(81458),o=r(59499),s=r(86421),a=r(85893);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(){return(0,a.jsx)(n.Z,{sx:l({},d),children:(0,a.jsx)(i.Z,{variant:"indeterminate"})})}var d={width:"100%",marginY:s.Z.spacing(3)}},15862:function(e,t,r){"use strict";r.r(t),r.d(t,{SectionHeader:function(){return y}
1,StyleGuideNavBar:function(){return O},default:function(){return v}});var n=r(69417),i=r(36822),o=r(59499),s=r(15861),a=r(16835),c=(r(67294),r(86421)),l=r(5792),u=r(19796),d=r(42609),p=r(22828),h=r(41047),g=r(59889),f=r(41664),x=r.n(f),m=r(52049),j=r(85893);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e){var t=e.userId,r=e.user,o={sectionContainer:{margin:c.Z.spacing(7,2)},button:{margin:c.Z.spacing(1,2,1,0)},link:{cursor:"pointer",marginBottom:c.Z.spacing(1)}},f=p.Z.usePersistedNumber("style-guide-number",0),x=(0,a.Z)(f,2),m=x[0],b=x[1],v=p.Z.usePersistedString("style-guide-string",""),S=(0,a.Z)(v,2),P=S[0],w=S[1],C=d.d.Public.isLocal();return(0,j.jsxs)(j.Fragment,{children:[r&&!(0,l.j5)(r.roles)&&!C&&(0,j.jsx)(g.Z,{}),r&&((0,l.j5)(r.roles)||C)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(s.Z,{variant:"h3",ml:1,children:"Style Guide for Developers"}),(0,j.jsx)(O,{}),(0,j.jsxs)(i.Z,{sx:Z({},o.sectionContainer),children:[(0,j.jsx)(y,{label:"About you!"}),(0,j.jsxs)(s.Z,{variant:"body2",children:[(0,j.jsx)("strong",{children:"User Id:"})," ",t]}),(0,j.jsxs)(s.Z,{variant:"body2",children:[(0,j.jsx)("strong",{children:"Name:"})," ",r.firstname+" "+r.lastname]}),(0,j.jsxs)(s.Z,{variant:"body2",children:[(0,j.jsx)("strong",{children:"Env name:"})," ",d.d.Public.getEnvironmentName()]})]}),(0,j.jsxs)(i.Z,{sx:Z({},o.sectionContainer),children:[(0,j.jsx)(y,{label:"Typography"}),(0,j.jsx)(s.Z,{variant:"h1",component:"div",gutterBottom:!0,children:"h1. Heading"}),(0,j.jsx)(s.Z,{variant:"h2",gutterBottom:!0,component:"div",children:"h2. Heading"}),(0,j.jsx)(s.Z,{variant:"h3",gutterBottom:!0,component:"div",children:"h3. Heading"}),(0,j.jsx)(s.Z,{variant:"h4",gutterBottom:!0,component:"div",children:"h4. Heading"}),(0,j.jsx)(s.Z,{variant:"h5",gutterBottom:!0,component:"div",children:"h5. Heading"}),(0,j.jsx)(s.Z,{variant:"h6",gutterBottom:!0,component:"div",children:"h6. Heading"}),(0,j.jsx)(s.Z,{variant:"subtitle1",gutterBottom:!0,component:"div",children:"subtitle1. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quos blanditiis tenetur"}),(0,j.jsx)(s.Z,{variant:"subtitle2",gutterBottom:!0,component:"div",children:"subtitle2. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quos blanditiis tenetur"}),(0,j.jsx)(s.Z,{variant:"body1",gutterBottom:!0,children:"body1. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quos blanditiis tenetur unde suscipit, quam beatae rerum inventore consectetur, neque doloribus, cupiditate numquam dignissimos laborum fugiat deleniti? Eum quasi quidem quibusdam."}),(0,j.jsx)(s.Z,{variant:"body2",gutterBottom:!0,children:"body2. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quos blanditiis tenetur unde suscipit, quam beatae rerum inventore consectetur, neque doloribus, cupiditate numquam dignissimos laborum fugiat deleniti? Eum quasi quidem quibusdam."}),(0,j.jsx)(s.Z,{variant:"button",display:"block",gutterBottom:!0,children:"button text"}),(0,j.jsx)(s.Z,{variant:"caption",display:"block",gutterBottom:!0,children:"caption text"}),(0,j.jsx)(s.Z,{variant:"overline",display:"block",gutterBottom:!0,children:"overline text"}),(0,j.jsx)("a",{href:u.nB.StyleGuide.Root,children:"Here is a link"})]}),(0,j.jsxs)(i.Z,{sx:Z({},o.sectionContainer),children:[(0,j.jsx)(y,{label:"Datatable"}),(0,j.jsx)(h.Z,{columns:[{name:"Title",selector:function(e){return e.title},sortable:!0},{name:"Year",selector:function(e){return e.year}}],data:[{id:1,title:"Beetlejuice",year:"1988"},{id:2,title:"Ghost busters",year:"1984"}]})]}),(0,j.jsxs)(i.Z,{sx:Z({},o.sectionContainer),children:[(0,j.jsx)(y,{label:"Local Storage"}),(0,j.jsxs)(s.Z,{variant:"body2",children:["This is a number from your local storage: ",(0,j.jsx)("strong",{children:m})]}),(0,j.jsxs)(s.Z,{variant:"body2",mb:2,children:["This is a string from your local storage: ",(0,j.jsx)("strong",{children:P})]}),(0,j.jsx)(n.Z,{variant:"contained",sx:Z({},o.button),onClick:function(){var e=Math.floor(11*Math.random()+2);b(e),w(Array(e).join("my-string-")),setTimeout((function(){return window.location.reload()}),1500)},size:"small",children:"Click to set random persisted values (will auto-reload)"}),(0,j.jsx)(n.Z,{variant:"outlined",sx:Z({},o.button),onClick:function(){p.Z.clearItem("style-guide-number"),p.Z.clearItem("style-guide-string"),setTimeout((function(){return window.location.reload()}),1e3)},size:"small",children:"Click to clear the values then reload (will auto-reload)"})]})]})]})}function y(e){var t=e.label,r={container:{borderBottom:"1px solid ".concat(c.Z.palette.grey.A400),lineHeight:"0.1em"},text:{fontWeight:c.Z.typography.fontWeightBold,backgroundColor:c.Z.palette.common.white,lineHeight:"0.1em",padding:c.Z.spacing(0,1.5,0,0),align:"left"}};return(0,j.jsx)(i.Z,{my:3,sx:Z({},r.container),children:(0,j.jsx)(s.Z,{variant:"body1",component:"span",sx:Z({},r.text),children:t})})}function O(){var e={container:Z({display:"flex",margin:c.Z.spacing(3,2),overflowX:"scroll"},c.Z.noScrollBar),link:{cursor:"pointer","&:hover":{textDecoration:"".concat(c.Z.extendedPalette.darkGrey," underline"),textUnderlineOffset:"3px"},whiteSpace:"nowrap"},selectedLink:{fontWeight:c.Z.typography.fontWeightBold}};return(0,j.jsx)(i.Z,{sx:e.container,children:function(){var t=Object.keys(u.nB.StyleGuide);return t.map((function(r,n){var i=n===t.length-1,o=window.location.pathname===u.nB.StyleGuide[r];return(0,j.jsx)(x(),{href:u.nB.StyleGuide[r],passHref:!0,children:(0,j.jsxs)(s.Z,{variant:"body1",sx:[Z({},e.link),o&&Z({},e.selectedLink)],children:["Root"===r?"Home":(0,m.pI)(r),!i&&(0,j.jsx)(s.Z,{component:"span",mx:1.5,children:"|"})]})},"style-guide-nav-".concat(n))})).sort()}()})}},34125:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return O}});var n=r(64666),i=r(6514),o=r(37645),s=r(93946),a=r(69417),c=r(36822),l=r(59499),u=r(15861),d=r(67294),p=r(86421),h=r(5792),g=r(13104),f=r(59889),x=r(42609),m=r(15862),j=r(31322),b=r(50594),Z=r(85893);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?v(Object(r),!0).forEach((function(t){(0,l.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e){var t,r,l=e.user,v=x.d.Public.isLocal(),O=(0,d.useState)(!1),P=O[0],w=O[1],C=(0,d.useState)(null),I=C[0],k=C[1];return(0,Z.jsxs)(Z.Fragment,{children:[l&&!(0,h.j5)(l.roles)&&!v&&(0,Z.jsx)(f.Z,{}),l&&((0,h.j5)(l.roles)||v)&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(u.Z,{variant:"h3",ml:1,children:"Style Guide: Search"}),(0,Z.jsx)(m.StyleGuideNavBar,{}),(0,Z.jsxs)(c.Z,{sx:y({},S.sectionContainer),children:[(0,Z.jsx)(m.SectionHeader,{label:"Admin User Search"}),(0,Z.jsxs)(c.Z,{mb:2,children:[(0,Z.jsx)(u.Z,{variant:"button",children:"Last selected result"}),(0,Z.jsxs)(u.Z,{variant:"body2",color:p.Z.palette.grey[500],children:["userId: ",null!==(t=null===I||void 0===I?void 0:I.userId)&&void 0!==t?t:"--",(0,Z.jsx)("br",{}),"caregiverProfileId: ",null!==(r=null===I||void 0===I?void 0:I.caregiverProfileId)&&void 0!==r?r:"--"]})]}),(0,Z.jsxs)(c.Z,{sx:S.userSearchSection,children:[(0,Z.jsxs)(c.Z,{children:[(0,Z.jsx)(u.Z,{variant:"button",component:"p",mb:1,children:"All Users"}),(0,Z.jsx)(j.Z,{width:"500px",onSearchResultSelected:k})]}),(0,Z.jsxs)(c.Z,{children:[(0,Z.jsx)(u.Z,{variant:"button",component:"p",mb:1,children:"Disabled"}),(0,Z.jsx)(j.Z,{width:"500px",disabled:!0,onSearchResultSelected:function(){}})]})]}),(0,Z.jsxs)(c.Z,{sx:S.userSearchSection,children:[(0,Z.jsxs)(c.Z,{children:[(0,Z.jsx)(u.Z,{variant:"button",component:"p",mb:1,children:"Enabled Users Only"}),(0,Z.jsx)(j.Z,{width:"500px",isEnabled:!0,onSearchResultSelected:k})]}),(0,Z.jsxs)(c.Z,{children:[(0,Z.jsx)(u.Z,{variant:"button",component:"p",mb:1,children:"Disabled Users Only"}),(0,Z.jsx)(j.Z,{width:"500px",isEnabled:!1,onSearchResultSelected:k})]})]}),(0,Z.jsxs)(c.Z,{sx:S.userSearchSection,children:[(0,Z.jsxs)(c.Z,{children:[(0,Z.jsx)(u.Z,{variant:"button",component:"p",mb:1,children:"Caregivers Only"}),(0,Z.jsx)(j.Z,{width:"500px",isCaregiver:!0,onSearchResultSelected:k})]}),(0,Z.jsxs)(c.Z,{children:[(0,Z.jsx)(u.Z,{variant:"button",component:"p",mb:1,children:"Careseekers Only"}),(0,Z.jsx)(j.Z,{width:"500px",isCaregiver:!1,onSearchResultSelected:k})]})]}),(0,Z.jsxs)(c.Z,{sx:S.userSearchSection,children:[(0,Z.jsxs)(c.Z,{children:[(0,Z.jsx)(u.Z,{variant:"button",component:"p",mb:1,children:"Caregiver Profile Status: Verified"}),(0,Z.jsx)(j.Z,{width:"500px",isCaregiver:!0,caregiverProfileStatus:g.L7.Verified,onSearchResultSelected:k})]}),(0,Z.jsxs)(c.Z,{children:[(0,Z.jsx)(u.Z,{variant:"button",component:"p",mb:1,children:"Caregiver Profile Status: Reviewed & Disabled"}),(0,Z.jsx)(j.Z,{width:"500px",isCaregiver:!0,isEnabled:!1,caregiverProfileStatus:g.L7.Reviewed,onSearchResultSelected:k})]})]})]}),(0,Z.jsxs)(c.Z,{sx:y({},S.sectionContainer),children:[(0,Z.jsx)(m.SectionHeader,{label:"Admin User Search - In a Modal"}),(0,Z.jsxs)(c.Z,{display:"flex",alignItems:"center",mt:2,children:[(0,Z.jsx)(a.Z,{variant:"contained",onClick:function(){return w(!P)},children:"Search in a modal"}),I&&(0,Z.jsx)(c.Z,{ml:2,children:(0,Z.jsxs)(u.Z,{variant:"body2",color:p.Z.palette.grey[500],children:["userId: ",I.userId," ",(0,Z.jsx)("br",{}),"caregiverProfileId: ",I.caregiverProfileId]})})]}),(0,Z.jsxs)(n.Z,{open:P,children:[(0,Z.jsx)(o.Z,{children:(0,Z.jsxs)(c.Z,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,Z.jsx)(u.Z,{variant:"h6",children:"User Search"}),(0,Z.jsx)(s.Z,{onClick:function(){return w(!1)},size:"small",children:(0,Z.jsx)(b.Z,{})})]})}),(0,Z.jsx)(i.Z,{children:(0,Z.jsx)(c.Z,{width:"550px",height:"460px",children:(0,Z.jsx)(j.Z,{onSearchResultSelected:function(e){k(e),w(!1)}})})})]})]})]})]})}var S={sectionContainer:{margin:p.Z.spacing(7,2)},userSearchSection:{display:"flex",gap:3,marginBottom:p.Z.spacing(3),paddingBottom:p.Z.spacing(3)}}},36990:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/style-guide/search",function(){return r(34125)}])}},function(e){e.O(0,[5846,1423,9774,2888,179],(function(){return t=36990,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.