@ukpc-lib/react 0.3.18 → 0.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.cjs +19 -19
- package/dist/components/index.js +1171 -1235
- package/dist/{index.module-d9f6af30.js → index.module-9cc5e50f.js} +1693 -1694
- package/dist/{index.module-71b7f3f3.cjs → index.module-cf6b1a78.cjs} +21 -21
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +13 -13
- package/package.json +1 -1
- package/web-components-bundle/access-denied/index.cjs +1 -1
- package/web-components-bundle/access-denied/index.js +2 -2
- package/web-components-bundle/global-menu/index.cjs +1 -1
- package/web-components-bundle/global-menu/index.js +2 -2
- package/web-components-bundle/global-topbar/index.cjs +1 -1
- package/web-components-bundle/global-topbar/index.js +4 -4
- package/web-components-bundle/has-permission/index.cjs +1 -1
- package/web-components-bundle/has-permission/index.js +4 -4
- package/web-components-bundle/{index-e7363fc8.cjs → index-1a7f2b17.cjs} +1 -1
- package/web-components-bundle/{index-ae9805bc.cjs → index-346b9a8b.cjs} +79 -79
- package/web-components-bundle/{index-8799eb70.js → index-8c13462b.js} +2466 -2531
- package/web-components-bundle/{index-9a8e49f4.js → index-9cc15059.js} +1 -2
- package/web-components-bundle/{index-e2216c19.cjs → index-a06fa78c.cjs} +1 -1
- package/web-components-bundle/{index-4e5e6ddd.js → index-a73a841e.js} +2 -2
- package/web-components-bundle/{react-to-web-component-642fb54e.js → react-to-web-component-469d91d4.js} +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),j=require("react"),p=require("../index.module-cf6b1a78.cjs"),K=require("moment"),Kt=require("axios"),N=require("@mui/material");require("@r2wc/react-to-web-component");require("react-router-dom");function Xn(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const L=Xn(j);function Jn(e){return s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",...e,children:[s.jsx("path",{d:"M8.5 19.5H8C4 19.5 2 18.5 2 13.5V8.5C2 4.5 4 2.5 8 2.5H16C20 2.5 22 4.5 22 8.5V13.5C22 17.5 20 19.5 16 19.5H15.5C15.19 19.5 14.89 19.65 14.7 19.9L13.2 21.9C12.54 22.78 11.46 22.78 10.8 21.9L9.3 19.9C9.14 19.68 8.77 19.5 8.5 19.5Z",stroke:"currentColor","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}),s.jsx("path",{d:"M15.9965 11.5H16.0054",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),s.jsx("path",{d:"M11.9955 11.5H12.0045",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),s.jsx("path",{d:"M7.99451 11.5H8.00349",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})}const Qn=e=>{var n,o;const{tabs:t}=e,r=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),s.jsxs(s.Fragment,{children:[s.jsx("style",{children:`
|
|
2
2
|
.tab-title {
|
|
3
3
|
min-width: 90px;
|
|
4
4
|
padding: 5px 16px;
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
.tab-content {
|
|
30
30
|
padding: 16px 0;
|
|
31
31
|
}
|
|
32
|
-
`}),s.jsxs("div",{className:"tab-container",children:[s.jsx("div",{style:{display:"flex",width:"100%",height:"50px",borderBottom:`1px solid ${m.color.grey200}`},className:"tab-container__title",children:t.map((i,a)=>s.jsx("button",{id:i.id,disabled:e.currentTab===`${i.id}`,onClick:r,className:`tab-title ${e.currentTab===`${i.id}`?"is-active":""}`,children:i.tabTitle},a))}),s.jsx("div",{className:"tab-content",children:t.map((i,a)=>s.jsx("div",{children:e.currentTab===`${i.id}`&&s.jsx("div",{children:i.children})},a))})]})]})},eo=e=>s.jsx(m.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit"},...e}),to=e=>s.jsx(m.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit",width:"610px"},containerId:"toastifyNotification",...e}),ro=({notification:e,baseUrl:t,notiPath:r,markAllAsReadState:n,brandColors:o})=>{const[i,a]=j.useState({id:e.id,isRead:e.isRead}),c=i.isRead===!1?"unread":"read",f={borderColor:i.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||m.color.primary500,backgroundColor:i.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||m.color.primary500},{setNotiData:h}=j.useContext(m.CustomOpenList),p=m.useGetNotiData({baseUrl:t,notiPath:r,setNotiData:h}),d=async(v,l)=>{var u,x;try{const _=r||`/notification-management/api/v1/notifications/${v}`,w=t+_;await Kt.put(w,{isRead:l},{withCredentials:!0})}catch(_){a({id:e.id,isRead:e.isRead}),m.pushError(((x=(u=_.response)==null?void 0:u.data)==null?void 0:x.errorMessage)||"Have error when get notification list")}await p()},g=(v,l)=>{console.log("specificNotificationID",v);const u=!l;a(x=>({...x,isRead:u})),console.log("newIsReadState",u),d(v,u)};j.useEffect(()=>{a(n?v=>({...v,isRead:!0}):{id:e.id,isRead:e.isRead})},[n,e.id,e.isRead]);const b=v=>{const l=K(),u=K(v),x=l.diff(u,"days"),_=l.diff(u,"minutes"),w=l.diff(u,"months"),C=l.diff(u,"years");if(console.log("diffInMonths",w),_<1)return"Just now";if(x===0){if(_<=60)return`${_} minute${_>1?"s":""} ago`;const y=Math.floor(_/60);return console.log("diffIhours",y),`${y} hour${y>1?"s":""} ago`}if(x===1)return"Yesterday";if(x>=2&&x<7)return`${x} days ago`;if(x<30){const y=Math.floor(x/7);return`${y} week${y>1?"s":""} ago`}return w===0||w===1?"1 month ago":w<12?`${w} months ago`:C===0||C===1?"1 year ago":"Over 1 year ago"};return s.jsxs("div",{className:"notitification-item__container",onClick:()=>g(e.id,e.isRead),children:[s.jsx("div",{className:"notification-item__image-container",children:s.jsx("img",{src:e==null?void 0:e.userAvatarUrl,onError:({currentTarget:v})=>{v.onerror=null,v.src="https://ukpcsaprod.blob.core.windows.net/account/logo.png"},alt:e.userName})}),s.jsxs("div",{className:"notification-item__content",children:[s.jsx("p",{className:"notification-item__user-name",children:e.userName}),s.jsxs("p",{children:[`${e.message} `,s.jsx("span",{children:e==null?void 0:e.context})]})]}),s.jsx("div",{className:"notification-item__time",children:s.jsx("p",{children:b(e.createdAt)})}),s.jsx("button",{className:`${c} notification-item__read-at`,"aria-label":"Mark as read",style:f})]})},mr=({notidata:e,baseUrl:t,notiPath:r,brandColors:n})=>{const[o,i]=j.useState(!1);console.log(o);const{setNotiData:a}=j.useContext(m.CustomOpenList),c=m.useGetNotiData({baseUrl:t,notiPath:r,setNotiData:a}),f=async()=>{var p,d;try{const b=t+(r||"/notification-management/api/v1/notifications");await Kt.put(b,{withCredentials:!0})}catch(g){console.log(g),i(!1),m.pushError(((d=(p=g.response)==null?void 0:p.data)==null?void 0:d.errorMessage)||"Have error when get notification list")}await c(),i(!1)},h=()=>{i(!0),f()};return s.jsxs("div",{children:[s.jsx("div",{className:"mark-all-read",children:s.jsx("button",{onClick:h,children:"Mark all as read"})}),s.jsx("div",{className:"notification-items__wrapper",children:s.jsx("div",{className:"notification-items__content",children:Object.values(e).map((p,d)=>s.jsx(ro,{notification:p,baseUrl:t,notiPath:r,markAllAsReadState:o,brandColors:n},d))})})]})},no=({baseUrl:e,notiPath:t,brandColors:r})=>{var f,h,p,d;const{setShowModalFalse:n}=j.useContext(m.CustomOpenList),{notidata:o}=j.useContext(m.CustomOpenList);console.log(o);const[i,a]=j.useState("all"),c=[{id:"all",tabTitle:`All (${((f=o==null?void 0:o.all)==null?void 0:f.total)||0})`,children:s.jsx(mr,{notidata:((h=o==null?void 0:o.all)==null?void 0:h.rows)||[],baseUrl:e,notiPath:t,brandColors:r})},{id:"unread",tabTitle:`Unread (${((p=o==null?void 0:o.unread)==null?void 0:p.total)||0})`,children:s.jsx(mr,{notidata:((d=o==null?void 0:o.unread)==null?void 0:d.rows)||[],baseUrl:e,notiPath:t,brandColors:r})}];return s.jsx(s.Fragment,{children:s.jsx("div",{style:{position:"absolute",backgroundColor:"#fff",width:"550px",height:"90vh",right:"100px",top:"100%",padding:"32px",boxShadow:"10px 0px 20px #999",borderRadius:"0 0 8px 8px",overflow:"hidden"},children:s.jsxs("div",{className:"list-content",children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("h3",{style:{fontSize:"24px",fontWeight:"500"},className:"list-title",children:"Notifications"}),s.jsx("button",{onClick:n,children:s.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",fill:"#85858A"})})})]}),s.jsx(Qn,{tabs:c,setCurrentTab:a,currentTab:i,brandColors:r})]})})})};function Zt({childrenClass:e,action:t,childrenOpenClass:r}){const n=document.querySelector("#topbar-wrapper"),o=n==null?void 0:n.shadowRoot,i=o==null?void 0:o.querySelector(`.${e}`),a=o==null?void 0:o.querySelector(`.${r}`),c=o==null?void 0:o.querySelector("nav"),f=h=>{c==null||c.addEventListener("click",function(p){if(r&&a&&a.contains(p.target)){if(i&&!i.contains(p.target))return}else i&&!i.contains(p.target)&&t()}),n&&!n.contains(h.target)&&t()};document.addEventListener("click",f,!0)}function oo({iconColor:e="#fff",baseUrl:t,notiPath:r,brandColors:n}){var d,g;const{isOpen:o,toggleOpen:i,setShowModalFalse:a}=j.useContext(m.CustomOpenList),{notidata:c,setNotiData:f}=j.useContext(m.CustomOpenList),h=m.useGetNotiData({baseUrl:t,notiPath:r,setNotiData:f}),p=async()=>{var b,v;try{await h()}catch(l){m.pushError(((v=(b=l.response)==null?void 0:b.data)==null?void 0:v.errorMessage)||"Have error when get notification list")}};return j.useEffect(()=>{p()},[o]),j.useEffect(()=>{Zt({childrenClass:"noti-container",childrenOpenClass:"noti-list-container",action(){a()}})}),s.jsxs("div",{children:[s.jsxs("div",{className:"noti-container",style:{position:"relative"},children:[s.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:i,style:{cursor:"pointer",color:e},children:[s.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(c==null?void 0:c.unread)&&(c==null?void 0:c.unread.total)!=0&&s.jsx("span",{style:{position:"absolute",top:"-9px",right:"-6px",background:`${m.color}`,width:"20px",height:"20px",border:"1px solid #fff",borderRadius:"50%",color:"#fff",fontSize:"12px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:m.color.danger},className:"notification-badge",children:((d=c==null?void 0:c.unread)==null?void 0:d.total)>9?"9+":`${(g=c==null?void 0:c.unread)==null?void 0:g.total}`})]}),s.jsx("div",{className:"noti-list-container",children:!o&&s.jsx(no,{baseUrl:t,notiPath:r,brandColors:n})})]})}const io=`.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);position:absolute;left:-10rem;top:3.2rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar{position:fixed;display:flex;z-index:30;background:#292929;top:0;width:100%;padding-left:2.5rem;height:64px}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}.logo-container{height:100%;display:flex;align-items:center}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.languageDropdown{height:100%;padding:0 8px;display:flex;flex-direction:row;gap:8px;border-radius:3px;align-items:center;justify-content:center;height:41px;background-color:#ffffff1a;cursor:pointer;transition:background-color .2s ease-in-out}.languageDropdown:hover{background-color:#fff3}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem}.userAvatar{width:2.5rem;height:2.5rem;cursor:pointer;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#DDDDDD;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}.relative{position:relative}.cursor-pointer{cursor:pointer}
|
|
32
|
+
`}),s.jsxs("div",{className:"tab-container",children:[s.jsx("div",{style:{display:"flex",width:"100%",height:"50px",borderBottom:`1px solid ${p.color.grey200}`},className:"tab-container__title",children:t.map((i,a)=>s.jsx("button",{id:i.id,disabled:e.currentTab===`${i.id}`,onClick:r,className:`tab-title ${e.currentTab===`${i.id}`?"is-active":""}`,children:i.tabTitle},a))}),s.jsx("div",{className:"tab-content",children:t.map((i,a)=>s.jsx("div",{children:e.currentTab===`${i.id}`&&s.jsx("div",{children:i.children})},a))})]})]})},eo=e=>s.jsx(p.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit"},...e}),to=e=>s.jsx(p.Q,{autoClose:3e3,hideProgressBar:!0,closeButton:!1,position:"bottom-left",newestOnTop:!0,pauseOnFocusLoss:!1,style:{fontFamily:"inherit",width:"610px"},containerId:"toastifyNotification",...e}),ro=({notification:e,baseUrl:t,notiPath:r,markAllAsReadState:n,brandColors:o})=>{const[i,a]=j.useState({id:e.id,isRead:e.isRead}),c=i.isRead===!1?"unread":"read",d={borderColor:i.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||p.color.primary500,backgroundColor:i.isRead?"#c5c5c5":(o==null?void 0:o.primary500)||p.color.primary500},{setNotiData:f}=j.useContext(p.CustomOpenList),h=p.useGetNotiData({baseUrl:t,notiPath:r,setNotiData:f}),m=async(v,l)=>{var u,x;try{const _=r||`/notification-management/api/v1/notifications/${v}`,S=t+_;await Kt.put(S,{isRead:l},{withCredentials:!0})}catch(_){a({id:e.id,isRead:e.isRead}),p.pushError(((x=(u=_.response)==null?void 0:u.data)==null?void 0:x.errorMessage)||"Have error when get notification list")}await h()},y=(v,l)=>{console.log("specificNotificationID",v);const u=!l;a(x=>({...x,isRead:u})),console.log("newIsReadState",u),m(v,u)};j.useEffect(()=>{a(n?v=>({...v,isRead:!0}):{id:e.id,isRead:e.isRead})},[n,e.id,e.isRead]);const b=v=>{const l=K(),u=K(v),x=l.diff(u,"days"),_=l.diff(u,"minutes"),S=l.diff(u,"months"),C=l.diff(u,"years");if(console.log("diffInMonths",S),_<1)return"Just now";if(x===0){if(_<=60)return`${_} minute${_>1?"s":""} ago`;const g=Math.floor(_/60);return console.log("diffIhours",g),`${g} hour${g>1?"s":""} ago`}if(x===1)return"Yesterday";if(x>=2&&x<7)return`${x} days ago`;if(x<30){const g=Math.floor(x/7);return`${g} week${g>1?"s":""} ago`}return S===0||S===1?"1 month ago":S<12?`${S} months ago`:C===0||C===1?"1 year ago":"Over 1 year ago"};return s.jsxs("div",{className:"notitification-item__container",onClick:()=>y(e.id,e.isRead),children:[s.jsx("div",{className:"notification-item__image-container",children:s.jsx("img",{src:e==null?void 0:e.userAvatarUrl,onError:({currentTarget:v})=>{v.onerror=null,v.src="https://ukpcsaprod.blob.core.windows.net/account/logo.png"},alt:e.userName})}),s.jsxs("div",{className:"notification-item__content",children:[s.jsx("p",{className:"notification-item__user-name",children:e.userName}),s.jsxs("p",{children:[`${e.message} `,s.jsx("span",{children:e==null?void 0:e.context})]})]}),s.jsx("div",{className:"notification-item__time",children:s.jsx("p",{children:b(e.createdAt)})}),s.jsx("button",{className:`${c} notification-item__read-at`,"aria-label":"Mark as read",style:d})]})},pr=({notidata:e,baseUrl:t,notiPath:r,brandColors:n})=>{const[o,i]=j.useState(!1);console.log(o);const{setNotiData:a}=j.useContext(p.CustomOpenList),c=p.useGetNotiData({baseUrl:t,notiPath:r,setNotiData:a}),d=async()=>{var h,m;try{const b=t+(r||"/notification-management/api/v1/notifications");await Kt.put(b,{withCredentials:!0})}catch(y){console.log(y),i(!1),p.pushError(((m=(h=y.response)==null?void 0:h.data)==null?void 0:m.errorMessage)||"Have error when get notification list")}await c(),i(!1)},f=()=>{i(!0),d()};return s.jsxs("div",{children:[s.jsx("div",{className:"mark-all-read",children:s.jsx("button",{onClick:f,children:"Mark all as read"})}),s.jsx("div",{className:"notification-items__wrapper",children:s.jsx("div",{className:"notification-items__content",children:Object.values(e).map((h,m)=>s.jsx(ro,{notification:h,baseUrl:t,notiPath:r,markAllAsReadState:o,brandColors:n},m))})})]})},no=({baseUrl:e,notiPath:t,brandColors:r})=>{var d,f,h,m;const{setShowModalFalse:n}=j.useContext(p.CustomOpenList),{notidata:o}=j.useContext(p.CustomOpenList);console.log(o);const[i,a]=j.useState("all"),c=[{id:"all",tabTitle:`All (${((d=o==null?void 0:o.all)==null?void 0:d.total)||0})`,children:s.jsx(pr,{notidata:((f=o==null?void 0:o.all)==null?void 0:f.rows)||[],baseUrl:e,notiPath:t,brandColors:r})},{id:"unread",tabTitle:`Unread (${((h=o==null?void 0:o.unread)==null?void 0:h.total)||0})`,children:s.jsx(pr,{notidata:((m=o==null?void 0:o.unread)==null?void 0:m.rows)||[],baseUrl:e,notiPath:t,brandColors:r})}];return s.jsx(s.Fragment,{children:s.jsx("div",{style:{position:"absolute",backgroundColor:"#fff",width:"550px",height:"90vh",right:"100px",top:"100%",padding:"32px",boxShadow:"10px 0px 20px #999",borderRadius:"0 0 8px 8px",overflow:"hidden"},children:s.jsxs("div",{className:"list-content",children:[s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("h3",{style:{fontSize:"24px",fontWeight:"500"},className:"list-title",children:"Notifications"}),s.jsx("button",{onClick:n,children:s.jsx("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M7.05086 6.13616C6.66033 5.74563 6.02717 5.74563 5.63664 6.13616C5.24612 6.52668 5.24612 7.15984 5.63664 7.55037L10.5864 12.5001L5.63664 17.4499C5.24612 17.8404 5.24612 18.4736 5.63664 18.8641C6.02717 19.2546 6.66033 19.2546 7.05086 18.8641L12.0006 13.9143L16.9504 18.8641C17.3409 19.2546 17.974 19.2546 18.3646 18.8641C18.7551 18.4736 18.7551 17.8404 18.3646 17.4499L13.4148 12.5001L18.3646 7.55037C18.7551 7.15984 18.7551 6.52668 18.3646 6.13616C17.974 5.74563 17.3409 5.74563 16.9504 6.13616L12.0006 11.0859L7.05086 6.13616Z",fill:"#85858A"})})})]}),s.jsx(Qn,{tabs:c,setCurrentTab:a,currentTab:i,brandColors:r})]})})})};function Zt({childrenClass:e,action:t,childrenOpenClass:r}){const n=document.querySelector("#topbar-wrapper"),o=n==null?void 0:n.shadowRoot,i=o==null?void 0:o.querySelector(`.${e}`),a=o==null?void 0:o.querySelector(`.${r}`),c=o==null?void 0:o.querySelector("nav"),d=f=>{c==null||c.addEventListener("click",function(h){if(r&&a&&a.contains(h.target)){if(i&&!i.contains(h.target))return}else i&&!i.contains(h.target)&&t()}),n&&!n.contains(f.target)&&t()};document.addEventListener("click",d,!0)}function oo({iconColor:e="#fff",baseUrl:t,notiPath:r,brandColors:n}){var m,y;const{isOpen:o,toggleOpen:i,setShowModalFalse:a}=j.useContext(p.CustomOpenList),{notidata:c,setNotiData:d}=j.useContext(p.CustomOpenList),f=p.useGetNotiData({baseUrl:t,notiPath:r,setNotiData:d}),h=async()=>{var b,v;try{await f()}catch(l){p.pushError(((v=(b=l.response)==null?void 0:b.data)==null?void 0:v.errorMessage)||"Have error when get notification list")}};return j.useEffect(()=>{h()},[o]),j.useEffect(()=>{Zt({childrenClass:"noti-container",childrenOpenClass:"noti-list-container",action(){a()}})}),s.jsxs("div",{children:[s.jsxs("div",{className:"noti-container",style:{position:"relative"},children:[s.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:i,style:{cursor:"pointer",color:e},children:[s.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7968 17.4705C16.5901 17.4705 18.8076 16.8556 19.0218 14.3874C19.0218 11.921 17.4757 12.0796 17.4757 9.05334C17.4757 6.68952 15.2352 4 11.7968 4C8.35833 4 6.1178 6.68952 6.1178 9.05334C6.1178 12.0796 4.57178 11.921 4.57178 14.3874C4.78679 16.8649 7.00428 17.4705 11.7968 17.4705Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M13.8274 20.0286C12.6679 21.3161 10.8591 21.3313 9.68848 20.0286",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(c==null?void 0:c.unread)&&(c==null?void 0:c.unread.total)!=0&&s.jsx("span",{style:{position:"absolute",top:"-9px",right:"-6px",background:`${p.color}`,width:"20px",height:"20px",border:"1px solid #fff",borderRadius:"50%",color:"#fff",fontSize:"12px",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:p.color.danger},className:"notification-badge",children:((m=c==null?void 0:c.unread)==null?void 0:m.total)>9?"9+":`${(y=c==null?void 0:c.unread)==null?void 0:y.total}`})]}),s.jsx("div",{className:"noti-list-container",children:!o&&s.jsx(no,{baseUrl:t,notiPath:r,brandColors:n})})]})}const io=`.avatar-dropdown-item{padding:.5rem;font-size:.875rem;line-height:1.25rem;cursor:pointer;border-radius:.25rem}.avartarDropdownMenu{background-color:#fff;padding:.5rem;width:13rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);position:absolute;left:-10rem;top:3.2rem}.avartarDropdownMenu ul{list-style:none;padding-inline-start:0;margin-block-end:0}.navbar{position:fixed;display:flex;z-index:30;background:#292929;top:0;width:100%;padding-left:2.5rem;height:64px}.navbar-container{display:flex;flex-direction:row;align-items:center;width:100%;justify-content:space-between}.logo-container{height:100%;display:flex;align-items:center}.right-side-container{display:flex;flex-direction:row;align-items:center;text-align:center;margin-right:2.5rem;gap:1rem}.userContainer{display:flex;align-items:center;gap:.5rem}.languageDropdown{height:100%;padding:0 8px;display:flex;flex-direction:row;gap:8px;border-radius:3px;align-items:center;justify-content:center;height:41px;background-color:#ffffff1a;cursor:pointer;transition:background-color .2s ease-in-out}.languageDropdown:hover{background-color:#fff3}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem}.userAvatar{width:2.5rem;height:2.5rem;cursor:pointer;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#DDDDDD;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}.relative{position:relative}.cursor-pointer{cursor:pointer}
|
|
33
33
|
`,ao=`:root{--textPrimary: #292929;--textWhite: #fff;--primary500: #2E7D32;--grey100: #FAFAFA;--gray200: #EEEEEE;--gray600: #85858A;--link: #007BFF }.list-content{overflow-y:auto;overflow-x:hidden}.mark-all-read{text-align:right;color:#007bff;margin-bottom:12px;font-size:12px}.notification-items__wrapper{overflow:hidden}.notification-items__content{height:calc(100vh - 275px);overflow-x:hidden;overflow-y:auto;color:#292929}.notitification-item__container{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:#FAFAFA 1px solid;text-align:left;font-size:12px;position:relative;z-index:10;cursor:pointer;border-radius:4px;margin-bottom:8px}.notitification-item__container:hover{background-color:#fafafa}.notification-item__image-container{width:40px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden;margin-right:16px}.notification-item__image-container img{width:100%;height:100%;text-align:center;-o-object-fit:cover;object-fit:cover;color:transparent;text-indent:10000px}.notification-item__context-link{color:#007bff}.notification-item__content{width:60%;padding-right:16px}.notification-item__user-name{margin-bottom:2px;font-size:14px}.notification-item__time{margin-right:15px;text-align:right}.notification-item__read-at{border-width:2px;border-style:solid;border-radius:50%;width:10px;height:10px;display:block;position:relative}.notification-item__read-at:before{position:absolute;top:-30px;right:0;width:91px;background-color:#85858a;color:#fff;border-radius:4px;font-size:10px;text-align:center;padding:4px;opacity:0;visibility:hidden;transition:all .3s cubic-bezier(.39,.575,.565,1)}.notification-item__read-at:hover:before{opacity:1;visibility:visible}.notification-item__read-at.read:before{content:"Mark as unread"}.notification-item__read-at.unread:before{content:"Mark as read"}.notification-item__read-at.read{border-color:#eee}.notification-item__read-at.unread{border-color:#2e7d32;background-color:#2e7d32}
|
|
34
34
|
`,so=`._notification-massage_container_ql4az_1{background:#fff;padding:0 64px 0 84px;border-radius:8px;font-family:TT Firs Neue Trl,sans-serif}._notification-massage_container_ql4az_1:before{position:absolute;content:"";width:48px;height:48px;background:url(https://ukpcsaprod.blob.core.windows.net/saas/notification-icon.svg) no-repeat center/100%;top:12px;left:24px}._notification-name_ql4az_18{font-weight:500;font-size:14px}._notification-message_service_ql4az_23{font-size:12px}._notification-message_button-close_ql4az_27{position:absolute;top:12px;right:24px;width:24px;height:24px}
|
|
35
35
|
`,lo=`._subscription-diaglog_1gvmm_2{position:fixed;width:100vw;height:100vh;top:0;left:0;background-color:#0006;z-index:10000;display:flex;align-items:center;justify-content:center}._subscription-container_1gvmm_15{width:610px;height:222px;border-radius:8px;padding:32px 24px 40px;background:#fff;color:#292929}._subscription-title_1gvmm_25{font-size:20px;font-weight:500;text-align:center;color:#292929}._subscription-title_1gvmm_25,._subscription-text_1gvmm_34{margin-bottom:24px}._subscription-btn__container_1gvmm_38{display:flex;justify-content:space-between;align-items:center}._btn-success_1gvmm_44,._btn-cancel_1gvmm_45{width:150px;height:40px;display:flex;align-items:center;justify-content:center;padding:8px;color:#292929;border-radius:1px}._btn-cancel_1gvmm_45{background-color:#ddd}._btn-success_1gvmm_44{background-color:#93d500}
|
|
36
|
-
`;function co(e){return s.jsxs("svg",{width:"34",height:"25",viewBox:"0 0 34 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsxs("g",{"clip-path":"url(#clip0_16865_28134)",children:[s.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"#1A47B8"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.61691 0.5H0V4.5L30.3635 24.5L34 24.5V20.5L3.61691 0.5Z",fill:"white"}),s.jsx("path",{d:"M1.20635 0.5L34 22.1567V24.5H32.8219L0 2.82089V0.5H1.20635Z",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M30.7619 0.5H34V4.5C34 4.5 12.9683 17.8249 3.2381 24.5H0V20.5L30.7619 0.5Z",fill:"white"}),s.jsx("path",{d:"M34 0.5H32.9019L0 22.1753V24.5H1.20635L34 2.83842V0.5Z",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.3648 0.5H21.6635V7.90291H34V17.0922H21.6635V24.5H12.3648V17.0922H0V7.90291H12.3648V0.5Z",fill:"white"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3158 0.5H19.6842V9.73077H34V15.2692H19.6842V24.5H14.3158V15.2692H0V9.73077H14.3158V0.5Z",fill:"#F93939"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_16865_28134",children:s.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"white"})})})]})}function uo(e){return s.jsxs("svg",{width:"34",height:"24",viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsxs("g",{"clip-path":"url(#clip0_16886_62505)",children:[s.jsx("rect",{width:"34",height:"24",rx:"3",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 16H34V24H0V16Z",fill:"#FFDA2C"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 0H34V8H0V0Z",fill:"#151515"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_16886_62505",children:s.jsx("rect",{width:"34",height:"24",rx:"3",fill:"white"})})})]})}function fo({logo:e,user:t,baseUrl:r,notiPath:n,style:o,classNames:i="",customColors:a,notiprops:c}){const f=e||"/public/assets/icons/logo-header.png",h={...o,color:(a==null?void 0:a.headerTextColor)||"white",backgroundColor:(a==null?void 0:a.headerBgColor)||"black"},[p,d]=j.useState(!1),g=()=>{window.location.href=`${r}/authentication/logout?callbackUrl=${window.location.href}`};return s.jsxs(m.ShadowDomWrapper,{styles:[io,ao,so,lo],style:{zIndex:1202},id:"topbar-wrapper",children:[s.jsx("nav",{className:`navbar ${i}`,style:a?h:o,children:s.jsxs("div",{className:"navbar-container",children:[s.jsx("div",{className:"logo-container",children:s.jsx("img",{src:f,alt:"logo-header",style:{height:"40px"}})}),s.jsxs("div",{className:"right-side-container",children:[s.jsx("span",{children:s.jsxs(m.CustomOpenListProvider,{children:[s.jsx(Zn,{baseUrl:c.baseUrl,path:c.path,apiKey:c.apiKey,authDomain:c.authDomain,projectId:c.projectId,storageBucket:c.storageBucket,messagingSenderId:c.messagingSenderId,appId:c.appId,measurementId:c.measurementId,vapidKey:c.vapidKey}),s.jsx(oo,{iconColor:a==null?void 0:a.headerTextColor,baseUrl:r,notiPath:n,brandColors:a})]})}),s.jsx("span",{className:"cursor-pointer",children:s.jsx(Jn,{color:(a==null?void 0:a.headerTextColor)||"#fff"})}),s.jsx(ho,{}),s.jsxs("div",{className:"userContainer",children:[s.jsx(po,{primaryColor:a==null?void 0:a.headerTextColor,avatarUrl:t==null?void 0:t.avatarUrl,userName:t==null?void 0:t.firstName,setShowConfirmModal:d}),s.jsx("p",{className:"userFullName",style:{color:a==null?void 0:a.headerTextColor},children:`${(t==null?void 0:t.firstName)||"Unknown"} ${(t==null?void 0:t.lastName)||"User"}`})]})]})]})}),s.jsx(m.LogoutConfirmModal,{isOpen:p,onClose:()=>d(!1),onConfirm:g})]})}function ho(){var p;const e=[{value:m.Language.en,element:s.jsx(co,{})},{value:m.Language.de,element:s.jsx(uo,{})}],[t,r]=j.useState(!1),[n,o]=j.useState(new Array(e.length).fill(!1)),i={width:"100px",padding:"8px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background-color 0.2s ease-in-out"},{language:a,setLanguage:c}=m.useCustomTranslation();j.useEffect(()=>{Zt({childrenClass:"languageDropdown",action(){r(!1)}})},[]);const f=d=>{o(g=>g.map((b,v)=>v===d))},h=d=>{o(g=>g.map((b,v)=>!1))};return s.jsxs("div",{className:"languageDropdownContainer",style:{position:"relative"},children:[s.jsxs("div",{className:"languageDropdown",onClick:()=>{r(!t)},children:[(p=e.find(d=>d.value==a))==null?void 0:p.element,s.jsx("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M4.42724 7.92678L7.82372 11.3232C7.92135 11.4209 8.07964 11.4209 8.17727 11.3232L11.5737 7.92678C11.7312 7.76928 11.6197 7.5 11.3969 7.5H4.60402C4.38129 7.5 4.26975 7.76929 4.42724 7.92678Z",fill:"#85858A"})})]}),s.jsx("div",{className:"dropdownListLanguage",style:{display:t?"block":"none",position:"absolute",top:"53px",right:"0px",padding:"8px",boxShadow:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",backgroundColor:"#fafafa"},children:e.filter(d=>d.value!==a).map((d,g)=>s.jsx("div",{className:"languageItem",style:{...i,backgroundColor:n[g]?"#919eab14":"transparent"},onMouseEnter:()=>f(g),onMouseLeave:()=>h(g),onClick:()=>{c(d.value),localStorage.setItem("language",d.value),m.instance.changeLanguage(d.value),r(!1),h(g)},children:d.element}))})]})}function po({avatarUrl:e,userName:t,setShowConfirmModal:r}){const[n,o]=j.useState(!1),i=j.useRef(null),a=j.useRef(null),[c,f]=j.useState(!1),[h,p]=j.useState(!1),d={backgroundColor:c?"#919eab14":"transparent"},g={backgroundColor:h?"#919eab14":"transparent"};return j.useEffect(()=>{Zt({childrenClass:"userAvatar",action(){o(!1)}})},[]),s.jsx(s.Fragment,{children:s.jsxs("div",{style:{position:"relative"},children:[e?s.jsx("img",{onClick:()=>o(!n),ref:i,alt:"user avatar",className:"userAvatar",src:e}):s.jsx("div",{onClick:()=>o(!n),ref:i,className:"userAvatar",id:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""}),s.jsx("div",{style:{display:n?"block":"none"},className:"avartarDropdownMenu",ref:a,children:s.jsxs("ul",{style:{color:"initial"},children:[s.jsx("li",{onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),style:g,className:"avatar-dropdown-item",children:"Profile"}),s.jsx("li",{onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),style:d,onClick:()=>r(!0),className:"avatar-dropdown-item",children:"Logout"})]})})]})})}const mo=({children:e})=>s.jsxs(N.Stack,{justifyContent:"center",alignItems:"center",sx:{backgroundColor:"#FAFAFA",minHeight:"450px"},children:[s.jsx(go,{}),e]});function go(){return s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"150",height:"150",fill:"none",viewBox:"0 0 150 150",children:[s.jsx("path",{fill:"#F9FAFB",d:"M120.843 66.48a2.885 2.885 0 100-5.77 2.885 2.885 0 000 5.77zM75 127.04c28.319 0 51.276-9.006 51.276-20.115 0-11.11-22.957-20.115-51.276-20.115-28.32 0-51.276 9.006-51.276 20.115 0 11.109 22.957 20.115 51.276 20.115z"}),s.jsx("path",{fill:"#DDD",d:"M73.354 34.489l-2.13 13.355H57.378L73.354 34.49z"}),s.jsx("path",{fill:"#F9FAFB",d:"M71.223 48.157H57.38a.313.313 0 01-.295-.206.313.313 0 01.093-.346L73.154 34.25a.313.313 0 01.508.288l-2.13 13.357a.308.308 0 01-.308.263zm-12.983-.625h12.717l1.957-12.268L58.24 47.532zM74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),s.jsx("path",{fill:"#000",d:"M74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),s.jsx("path",{fill:"#85858A",d:"M74.454 58.965l3.503 4.775c-.209-.284-.431-.56-.667-.83-2.59-2.952-6.367-4.428-10.378-4.428-1.74 0-3.524.278-5.275.833l-3.503-4.775a17.477 17.477 0 015.275-.833c4.011 0 7.788 1.476 10.378 4.428.236.27.458.546.667.83z"}),s.jsx("path",{fill:"#F9FAFB",d:"M77.957 64.053a.314.314 0 01-.253-.128c-.203-.278-.422-.55-.65-.81-2.446-2.786-6.047-4.32-10.143-4.32-1.727 0-3.468.274-5.18.818a.316.316 0 01-.348-.113l-3.503-4.775a.312.312 0 01.158-.483 17.748 17.748 0 015.37-.847c4.278 0 8.047 1.61 10.612 4.533.24.274.47.561.685.853l3.5 4.772.003.003a.311.311 0 01-.251.497zM66.912 58.17c3.207 0 6.128.905 8.471 2.59l-1.18-1.61c-.203-.278-.423-.55-.65-.81-2.446-2.786-6.048-4.32-10.144-4.32-1.586 0-3.186.231-4.762.691l3.11 4.24a17.67 17.67 0 015.155-.782zM56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),s.jsx("path",{fill:"#000",d:"M56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),s.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),s.jsx("path",{fill:"#000",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),s.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),s.jsx("path",{fill:"#EEE",d:"M71.03 70.342a11.476 11.476 0 01-1.11 2.438 12.543 12.543 0 01-2.703 3.136c-2.342 1.96-5.159 2.937-7.82 2.937-2.66 0-5.164-.98-6.88-2.938C49.078 72 50.09 65.651 54.775 61.738c2.343-1.96 5.16-2.938 7.82-2.938s5.165.98 6.881 2.938a8.329 8.329 0 01.754 1.008 8.034 8.034 0 011.056 2.539c.376 1.62.28 3.364-.257 5.057z"}),s.jsx("path",{fill:"#98A2B3",d:"M71.289 65.285h-9.161c-.967 0-1.632-.754-1.482-1.688.148-.933 1.052-1.687 2.02-1.687h6.956a8.024 8.024 0 011.667 3.375zM71.03 70.342a11.476 11.476 0 01-1.11 2.438c-.155.256-.32.51-.5.76h-8.705c-.918 0-1.543-.716-1.403-1.6.142-.883.997-1.6 1.913-1.6h9.805v.002z"}),s.jsx("path",{fill:"#F7F9FC",d:"M73.632 34.257h38.646l-.591 3.703-10.155 63.675H48.801l3.071-19.259c2.022 1.048 4.33 1.571 6.72 1.571 3.213 0 6.576-.946 9.602-2.839h27.097c.471 0 .909-.366.983-.82.072-.452-.25-.819-.72-.819H70.44c2.295-1.933 3.996-4.255 5.068-6.708h21.116c.47 0 .908-.367.98-.818.072-.453-.25-.82-.72-.82H76.129c.712-2.236.91-4.531.57-6.71h21.256c.47 0 .908-.366.98-.817.073-.453-.25-.821-.719-.821H76.333a12.247 12.247 0 00-2.544-4.642c-2.59-2.951-6.367-4.427-10.378-4.427-2.389 0-4.86.523-7.215 1.569l1.184-7.432h13.845l2.13-13.354.277-.232zM93.96 89.454c.47 0 .908-.366.982-.82.072-.452-.25-.819-.72-.819H61.258c-.468 0-.907.367-.979.818-.072.453.25.821.718.821h32.964zm5.325-33.386c.47 0 .908-.367.981-.818.072-.453-.25-.82-.72-.82H77.201c-.47 0-.907.366-.979.82-.072.451.247.818.718.818h22.346z"}),s.jsx("path",{fill:"#F9FAFB",d:"M101.532 101.946h-52.73a.311.311 0 01-.309-.361l3.072-19.259a.312.312 0 01.453-.228c1.942 1.006 4.215 1.537 6.576 1.537 3.255 0 6.517-.966 9.435-2.792a.317.317 0 01.165-.047h27.098c.316 0 .625-.256.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H70.44a.313.313 0 01-.201-.551c2.175-1.834 3.898-4.114 4.983-6.595a.313.313 0 01.286-.187h21.116c.316 0 .625-.254.672-.556a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H76.128a.314.314 0 01-.299-.407c.696-2.182.889-4.453.56-6.566a.31.31 0 01.308-.361h21.256c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.321.423.423 0 00-.331-.138h-21.88a.312.312 0 01-.3-.225 11.883 11.883 0 00-2.481-4.523c-2.446-2.786-6.047-4.32-10.143-4.32-2.367 0-4.818.532-7.09 1.542a.316.316 0 01-.317-.037.31.31 0 01-.118-.298l1.184-7.431a.313.313 0 01.309-.264h13.578l2.087-13.092a.314.314 0 01.107-.19l.278-.235a.316.316 0 01.201-.074h38.649a.312.312 0 01.308.361L101.84 101.68a.31.31 0 01-.308.267zm-52.365-.625h52.098l10.646-66.753H73.746l-.102.086-2.11 13.24a.313.313 0 01-.309.264H57.647l-1.054 6.61c2.201-.9 4.546-1.373 6.818-1.373 4.278 0 8.047 1.61 10.613 4.533a12.512 12.512 0 012.541 4.535h21.652c.32 0 .614.13.807.356.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082H77.058c.253 1.971.078 4.059-.51 6.084h20.337c.32 0 .614.13.807.357.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082h-20.91c-1.019 2.252-2.544 4.337-4.444 6.083h24.285c.32 0 .614.13.807.357.191.225.27.517.22.824-.097.607-.663 1.083-1.29 1.083H68.283c-2.998 1.858-6.347 2.839-9.69 2.839-2.307 0-4.536-.488-6.48-1.416l-2.946 18.477zM93.96 89.767H60.997c-.318 0-.612-.13-.805-.357a1.004 1.004 0 01-.221-.827c.097-.607.662-1.082 1.287-1.082h32.964c.32 0 .614.131.807.357.192.225.27.517.22.824-.095.608-.661 1.085-1.288 1.085zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.42.42 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001zm38.028-31.746H76.94c-.32 0-.612-.13-.805-.356a1.004 1.004 0 01-.221-.824c.097-.608.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.663 1.08-1.289 1.08zm-22.085-1.64c-.315 0-.622.256-.67.558a.387.387 0 00.079.32.423.423 0 00.33.135h22.346c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H77.201v.002z"}),s.jsx("path",{fill:"#DDD",d:"M55.21 61.447l-.332 2.085c-.052.039-.103.078-.153.12-1.13.942-1.372 2.473-.544 3.416.036.042.075.082.115.12l-1.44 9.019a8.348 8.348 0 01-.3-.325c-1.709-1.949-2.312-4.503-1.903-7.056.407-2.554 1.823-5.106 4.154-7.054.13-.11.267-.22.403-.325zM96.884 71.122c.471 0 .792.367.72.821-.073.451-.511.818-.98.818H75.507c.237-.54.444-1.087.618-1.639h20.758z"}),s.jsx("path",{fill:"#DDD",d:"M96.623 73.074H75.508a.31.31 0 01-.261-.142.316.316 0 01-.025-.296c.235-.536.439-1.076.607-1.607a.31.31 0 01.299-.218h20.756c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.662 1.08-1.289 1.08zm-20.643-.625h20.643c.317 0 .625-.254.672-.556a.392.392 0 00-.079-.32.423.423 0 00-.332-.138h-20.53a16.42 16.42 0 01-.374 1.014zM95.555 79.468c.47 0 .791.367.719.818-.072.453-.511.821-.982.821H68.193a19.625 19.625 0 002.248-1.638h25.114z"}),s.jsx("path",{fill:"#DDD",d:"M95.292 81.42H68.193a.313.313 0 01-.165-.578 19.558 19.558 0 002.148-1.56l.059-.049a.33.33 0 01.205-.076h25.114c.32 0 .614.13.807.357.192.225.27.517.221.824-.097.605-.662 1.082-1.29 1.082zm-26.063-.626h26.063c.316 0 .625-.255.672-.556a.39.39 0 00-.08-.32.423.423 0 00-.331-.137h-25c-.425.355-.868.694-1.324 1.013z"}),s.jsx("path",{fill:"#EEE",d:"M115.432 38.557l-.495 3.106-.095.598-10.06 63.074H51.517l-2.716-3.702h52.731l10.155-63.672.592-3.704 3.153 4.3z"}),s.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.31.31 0 01-.252-.127l-2.716-3.702a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.464l10.113-63.41.592-3.704a.311.311 0 01.56-.135l3.153 4.3c.05.067.069.152.057.234l-.591 3.704-10.061 63.075a.312.312 0 01-.308.262zm-53.107-.625h52.839l10.019-62.81.57-3.576-2.634-3.592-.473 2.966-10.156 63.672a.313.313 0 01-.308.264H49.418l2.257 3.076z"}),s.jsx("path",{fill:"#DDD",d:"M108.03 109.039l3.503 4.775H58.8l-3.503-4.775h52.733z"}),s.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126H58.8a.31.31 0 01-.252-.127l-3.503-4.775a.312.312 0 01.253-.498h52.734c.1 0 .193.048.251.128l3.503 4.775a.314.314 0 01-.253.497zm-52.575-.625h51.958l-3.044-4.15H55.913l3.045 4.15z"}),s.jsx("path",{fill:"#F7F9FC",d:"M118.776 41.663l-10.746 67.376H55.297l.59-3.704h48.895l10.154-63.672h3.84z"}),s.jsx("path",{fill:"#F9FAFB",d:"M108.03 109.351H55.297a.313.313 0 01-.308-.361l.59-3.703a.313.313 0 01.308-.263h48.628l10.112-63.41a.314.314 0 01.309-.264h3.84a.313.313 0 01.308.361l-10.745 67.376a.313.313 0 01-.309.264zm-52.366-.625h52.1l10.645-66.751h-3.207l-10.112 63.41a.314.314 0 01-.308.264H56.154l-.49 3.077z"}),s.jsx("path",{fill:"#EEE",d:"M118.776 41.663l3.503 4.775-10.746 67.376-3.503-4.775 10.746-67.376z"}),s.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126a.306.306 0 01-.251-.127l-3.503-4.775a.312.312 0 01-.057-.235l10.746-67.377a.309.309 0 01.234-.254.309.309 0 01.325.12l3.503 4.775a.31.31 0 01.057.234l-10.746 67.377a.309.309 0 01-.308.262zm-3.174-5.168l2.982 4.067 10.607-66.508-2.982-4.067-10.607 66.508z"}),s.jsx("path",{fill:"#85858A",d:"M49.987 81.18L31.79 96.393c-.043.036-.088.068-.132.101l-.061.046c-.036.025-.074.047-.11.071-.026.017-.053.035-.079.05-.02.011-.04.02-.06.032a2.11 2.11 0 01-.148.075l-.055.022a2.406 2.406 0 01-.294.107l-.076.021c-.04.01-.08.02-.121.028l-.074.014a4.26 4.26 0 01-.132.018l-.062.007c-.064.005-.13.008-.193.008-.545 0-1.056-.2-1.407-.6l-.649-.739a1.784 1.784 0 01-.09-.112l3.503 4.775c.027.039.058.076.09.112l.648.739c.352.4.863.6 1.408.6.063 0 .127-.003.193-.008.02-.002.041-.006.062-.007l.132-.018.074-.014c.04-.009.08-.017.12-.028l.077-.021.055-.015.04-.015c.067-.023.134-.049.2-.077l.04-.015c.005-.003.01-.006.015-.007.05-.024.098-.049.148-.075.019-.01.037-.017.055-.028l.005-.004c.026-.015.053-.033.08-.05.033-.021.067-.04.1-.064a.025.025 0 00.009-.007l.061-.046c.034-.025.068-.048.1-.075a.364.364 0 00.032-.026l18.197-15.213-3.504-4.775z"}),s.jsx("path",{fill:"#F9FAFB",d:"M33.694 102.081c-.658 0-1.241-.252-1.641-.707l-.65-.739a1.901 1.901 0 01-.106-.134l-3.501-4.772c0-.001-.002-.001-.002-.003a.312.312 0 01.503-.369l.001.003c.023.03.046.06.071.089l.649.739c.279.318.696.493 1.172.493.056 0 .11-.003.165-.009l.056-.007c.037-.004.075-.008.114-.015l.047-.01.018-.004.106-.023.068-.019a2.276 2.276 0 00.257-.093l.047-.019c.044-.02.087-.043.13-.067l.053-.028c.011-.006.024-.013.035-.022l.058-.037a2.329 2.329 0 00.099-.067l.04-.03c.035-.027.07-.052.104-.081l18.198-15.213a.314.314 0 01.45.055l3.504 4.775a.313.313 0 01-.052.425l-18.23 15.246c-.03.023-.059.045-.09.066l-.04.029-.05.038a1.955 1.955 0 01-.095.062l-.052.032a.92.92 0 01-.058.036c-.006.005-.011.007-.017.01a.658.658 0 01-.044.022l-.013.006c-.055.029-.11.058-.166.085l-.017.008-.044.018c-.075.032-.15.061-.225.086-.013.006-.03.011-.045.017l-.046.012-.015.004-.087.024c-.046.011-.09.022-.137.031l-.015.002-.07.014c-.05.009-.1.016-.148.021l-.018.003a1.864 1.864 0 01-.27.017zm-4.003-4.825l2.112 2.877c.022.031.047.061.072.091l.648.739c.311.355.8.531 1.338.486l.054-.007a1.482 1.482 0 00.161-.025l.017-.003a1.73 1.73 0 00.105-.024c.023-.005.045-.012.068-.018l.048-.012a.295.295 0 01.034-.014c.059-.02.118-.042.177-.068.01-.006.023-.01.036-.014l.01-.004c.045-.021.089-.045.133-.068a.296.296 0 01.035-.018l.01-.006c.002-.003.006-.004.01-.005l.034-.021.065-.041a.622.622 0 00.057-.036l.033-.025.053-.04.063-.047.027-.022 17.974-15.025-3.132-4.271L31.99 96.633c-.044.037-.089.071-.135.105l-.03.023c-.017.013-.032.025-.049.036-.033.023-.067.043-.1.064l-.048.03c-.021.015-.042.027-.063.04-.017.01-.033.018-.05.026l-.018.01c-.054.029-.11.058-.165.084-.016.007-.03.014-.047.02l-.016.007a2.6 2.6 0 01-.554.173l-.015.003c-.022.004-.046.01-.068.013-.05.008-.099.015-.149.02l-.02.003a2.429 2.429 0 01-.772-.035z"}),s.jsx("path",{fill:"#98A2B3",d:"M76.699 64.414a12.649 12.649 0 00-.367-1.639 12.218 12.218 0 00-2.544-4.642c-2.59-2.951-6.367-4.426-10.378-4.426-2.39 0-4.861.522-7.216 1.57a19.487 19.487 0 00-4.58 2.862c-6.318 5.28-8.203 13.503-4.815 19.405l-18.2 15.216c-.956.797-1.162 2.093-.462 2.894l.65.74c.35.4.863.6 1.405.6a2.51 2.51 0 001.597-.6l18.198-15.212a13.02 13.02 0 001.885 1.193c2.022 1.046 4.33 1.57 6.721 1.57 3.214 0 6.576-.944 9.6-2.838.753-.47 1.482-.999 2.249-1.639 2.293-1.935 3.996-4.255 5.068-6.71.234-.537.443-1.087.616-1.638.713-2.231.911-4.53.573-6.706zm-9.481 11.503c-2.343 1.96-5.16 2.937-7.82 2.937s-5.165-.979-6.881-2.937c-3.438-3.917-2.425-10.264 2.26-14.178 2.342-1.96 5.16-2.938 7.82-2.938s5.164.98 6.88 2.938a8.34 8.34 0 01.754 1.008 8.029 8.029 0 011.056 2.54c.375 1.62.281 3.364-.258 5.056a11.476 11.476 0 01-1.11 2.438 12.45 12.45 0 01-2.701 3.136z"}),s.jsx("path",{fill:"#F9FAFB",d:"M30.192 97.307c-.659 0-1.242-.251-1.64-.708l-.65-.74a2.048 2.048 0 01-.486-1.52c.055-.68.412-1.344.982-1.82L46.4 77.471c-1.585-2.903-1.989-6.42-1.136-9.936.882-3.635 3.066-7.057 6.151-9.636a19.8 19.8 0 014.654-2.907c2.347-1.045 4.886-1.597 7.343-1.597 4.278 0 8.048 1.61 10.613 4.533a12.492 12.492 0 012.61 4.76c.16.543.286 1.106.375 1.677.344 2.207.141 4.577-.584 6.85a16.681 16.681 0 01-.627 1.668c-1.123 2.569-2.906 4.927-5.155 6.824a20.11 20.11 0 01-2.284 1.664c-3.014 1.887-6.39 2.886-9.766 2.886-2.46 0-4.833-.556-6.864-1.606A13.36 13.36 0 0150 81.58L31.989 96.633a2.817 2.817 0 01-1.797.674zM63.41 54.019c-2.37 0-4.82.534-7.089 1.544a19.182 19.182 0 00-4.507 2.815c-6.13 5.123-8.126 13.12-4.744 19.01a.313.313 0 01-.071.395L28.799 93c-.442.37-.72.875-.76 1.389-.032.401.086.777.333 1.06l.649.738c.279.32.694.495 1.17.495.495 0 .992-.188 1.398-.528l18.198-15.211a.313.313 0 01.39-.009c.583.443 1.2.835 1.84 1.164 1.941 1.005 4.216 1.536 6.577 1.536 3.257 0 6.52-.965 9.434-2.79.751-.47 1.476-.997 2.213-1.614 2.175-1.833 3.898-4.114 4.983-6.594.234-.536.437-1.077.605-1.607.696-2.184.89-4.453.561-6.565a12.39 12.39 0 00-.357-1.598 11.865 11.865 0 00-2.48-4.525c-2.445-2.786-6.048-4.32-10.142-4.32zm-4.014 25.148c-2.868 0-5.396-1.08-7.117-3.045-1.536-1.75-2.276-4.066-2.086-6.525.234-3.015 1.83-5.968 4.38-8.098 2.323-1.942 5.172-3.011 8.023-3.011 2.868 0 5.396 1.08 7.117 3.044a8.743 8.743 0 01.783 1.046 8.385 8.385 0 011.097 2.637c.385 1.66.293 3.466-.265 5.221a11.584 11.584 0 01-1.14 2.506 12.926 12.926 0 01-2.77 3.215c-2.322 1.94-5.17 3.01-8.022 3.01zm3.2-20.054c-2.704 0-5.411 1.018-7.62 2.865-2.423 2.023-3.94 4.82-4.16 7.668-.177 2.289.51 4.442 1.934 6.064 1.6 1.826 3.961 2.832 6.646 2.832 2.704 0 5.411-1.018 7.62-2.865a12.3 12.3 0 002.637-3.059c.313-.518.582-1.057.803-1.603.101-.25.194-.508.276-.768.524-1.648.611-3.34.252-4.893a7.792 7.792 0 00-1.739-3.41c-1.603-1.826-3.964-2.831-6.649-2.831z"}),s.jsx("path",{fill:"#F7F9FC",d:"M59.778 66.756a.997.997 0 00-.11-.225.974.974 0 00-.103-.14 1.233 1.233 0 00-.94-.4 1.694 1.694 0 00-1.07.401c-.372.31-.575.734-.586 1.14-.008.292.082.574.278.797.235.267.576.402.94.402s.749-.134 1.068-.402c.152-.127.277-.272.371-.429.045-.072.08-.147.113-.225.125-.305.14-.632.039-.92z"}),s.jsx("path",{fill:"#F7F9FC",d:"M58.64 64.293a1.938 1.938 0 00-.373-.639c-.414-.472-1.018-.708-1.659-.708a2.941 2.941 0 00-1.883.707c-1.13.941-1.372 2.472-.544 3.415.037.042.075.082.115.12.405.391.958.586 1.543.586.375 0 .764-.08 1.135-.242.262-.114.515-.27.75-.464.266-.225.486-.48.651-.755.063-.105.118-.212.164-.32l.032-.078c.22-.54.246-1.115.07-1.622z"}),s.jsx("path",{fill:"#DDD",d:"M104.782 105.335H51.517l-2.716-3.702h52.731l3.25 3.702z"}),s.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.308.308 0 01-.252-.128l-2.716-3.701a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.73c.09 0 .175.039.235.107l3.25 3.701c.08.092.1.224.05.335a.317.317 0 01-.286.183zm-53.107-.625h52.415l-2.701-3.076H49.417l2.258 3.076z"}),s.jsx("path",{fill:"#DDD",d:"M98.215 62.775c.47 0 .792.367.72.82-.073.452-.512.819-.981.819H76.698a12.81 12.81 0 00-.365-1.639h21.882z"}),s.jsx("path",{fill:"#DDD",d:"M97.954 64.726H76.7a.312.312 0 01-.309-.265 12.214 12.214 0 00-.357-1.599.309.309 0 01.05-.275.31.31 0 01.25-.125h21.884c.319 0 .614.131.806.357.192.225.271.518.221.825-.097.607-.663 1.082-1.29 1.082zm-20.99-.625h20.99c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H76.743c.088.335.161.674.22 1.014zM99.547 54.43c.471 0 .792.366.72.82-.073.451-.512.818-.981.818H76.94c-.47 0-.79-.367-.718-.818.072-.453.51-.82.98-.82h22.345z"}),s.jsx("path",{fill:"#DDD",d:"M99.286 56.38H76.94c-.32 0-.613-.129-.806-.355a1.004 1.004 0 01-.22-.824c.097-.607.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.191.225.271.518.221.825-.096.606-.663 1.08-1.29 1.08zM77.2 54.742c-.315 0-.622.255-.67.557a.391.391 0 00.078.32.423.423 0 00.33.136h22.347c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H77.2zM94.222 87.815c.471 0 .792.367.72.818-.073.453-.511.821-.982.821H60.997c-.468 0-.79-.366-.718-.82.072-.452.511-.819.98-.819h32.963z"}),s.jsx("path",{fill:"#DDD",d:"M93.961 89.767H60.997c-.318 0-.61-.13-.804-.356a1.004 1.004 0 01-.22-.826c.096-.607.662-1.082 1.287-1.082h32.962c.32 0 .614.13.807.357.192.225.27.516.22.823-.095.607-.662 1.084-1.288 1.084zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.419.419 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001z"}),s.jsx("path",{fill:"#DDD",d:"M80.201 69.189c-.025-.16-.053-.32-.083-.478l-.008-.046-.02-.089c-.026-.129-.056-.258-.086-.386-.011-.047-.022-.096-.035-.143a14.558 14.558 0 00-.133-.496c-.065-.223-.14-.444-.218-.663-.01-.028-.017-.056-.028-.084-.01-.029-.023-.057-.033-.085a11.396 11.396 0 00-.553-1.268c-.013-.023-.022-.047-.033-.07-.017-.034-.038-.067-.055-.1a16.26 16.26 0 00-.219-.4c-.032-.055-.061-.11-.094-.164a11.61 11.61 0 00-.337-.536v-.003c-.1-.147-.2-.293-.306-.438l-3.503-4.775a12.034 12.034 0 01.644.977l.095.164a16.362 16.362 0 01.308.57c.104.205.203.412.294.621l.021.053a11.536 11.536 0 01.297.761 12.302 12.302 0 01.47 1.69 11.138 11.138 0 01.111.614c.339 2.175.14 4.473-.57 6.707a16.401 16.401 0 01-.619 1.64c-.048.11-.1.22-.15.33-.04.086-.08.172-.122.258l-.104.214c-.043.086-.088.17-.132.257a11.944 11.944 0 01-.253.467l-.117.206-.151.256-.112.186c-.134.215-.271.43-.414.64l-.087.127a17.85 17.85 0 01-.902 1.204l-.11.135c-.15.18-.304.36-.463.537l-.075.082a18.882 18.882 0 01-1.029 1.053l-.27.249c-.048.044-.096.09-.146.134-.142.127-.285.25-.43.374a20.29 20.29 0 01-1.082.844l-.084.063a21.276 21.276 0 01-1.082.73c-.209.13-.418.256-.63.377-.056.032-.112.06-.167.093-.186.104-.373.205-.56.303l-.213.11a18.01 18.01 0 01-.62.298c-.038.017-.074.035-.112.051-.048.023-.098.043-.147.064-.136.06-.272.12-.41.175l-.204.082c-.12.047-.24.095-.36.14-.072.028-.145.055-.217.081-.118.043-.236.083-.355.124a9.937 9.937 0 01-.218.072c-.097.032-.195.06-.293.091a16.404 16.404 0 01-.997.275 16.845 16.845 0 01-1.56.308c-.123.019-.247.036-.37.052l-.267.035c-.13.015-.257.026-.385.037-.083.007-.168.017-.251.023-.142.01-.282.018-.422.025-.071.004-.14.008-.212.01-.21.01-.42.013-.63.013-2.39 0-4.697-.523-6.721-1.57a12.644 12.644 0 01-1.885-1.195l3.503 4.775c.593.454 1.224.851 1.885 1.194 2.022 1.048 4.33 1.571 6.72 1.571.209 0 .419-.004.63-.012.07-.003.14-.009.21-.011.141-.007.283-.014.423-.025l.25-.023c.13-.01.257-.023.386-.037.09-.01.178-.022.267-.033.124-.017.247-.032.37-.052l.277-.044.363-.064c.093-.018.187-.036.28-.056.12-.025.24-.05.358-.077a16.81 16.81 0 00.918-.235l.362-.107.18-.053.113-.037.218-.073c.118-.04.236-.08.354-.123l.218-.08c.12-.045.24-.092.36-.141l.204-.082c.137-.057.273-.115.41-.175.048-.022.098-.042.147-.064a.206.206 0 01.026-.011c.028-.013.056-.028.084-.04a18.01 18.01 0 001.393-.711c.04-.023.08-.042.12-.066.014-.008.031-.02.046-.027.211-.121.422-.246.63-.377.213-.133.423-.272.633-.415l.057-.038c.13-.09.262-.183.393-.277l.084-.063c.167-.122.334-.247.5-.378l.038-.029c.089-.07.18-.14.268-.214a19.263 19.263 0 00.703-.598l.146-.134c.09-.083.182-.165.27-.25l.014-.012c.017-.015.032-.032.048-.047.148-.142.293-.287.436-.43l.135-.14c.134-.14.266-.28.395-.423l.059-.063.015-.018c.158-.178.312-.357.462-.537l.11-.134c.132-.162.263-.326.388-.492.013-.019.03-.037.044-.056l.013-.017c.158-.211.31-.424.458-.639l.086-.125c.143-.213.282-.426.415-.642l.027-.04.086-.146c.051-.084.101-.17.151-.255l.117-.207.14-.256.111-.21a8.98 8.98 0 00.13-.258c.037-.07.072-.142.106-.214l.123-.258c.016-.038.036-.074.052-.111l.098-.22c.237-.54.444-1.087.618-1.639.72-2.237.92-4.534.58-6.712z"}),s.jsx("path",{fill:"#F9FAFB",d:"M62.094 89.035c-2.46 0-4.833-.556-6.864-1.607a13.081 13.081 0 01-1.931-1.224.303.303 0 01-.063-.064l-3.503-4.775a.313.313 0 01.442-.433c.57.438 1.189.83 1.839 1.165 1.941 1.006 4.215 1.536 6.576 1.536.196 0 .404-.004.618-.012.04-.001.08-.004.12-.007l.087-.006c.14-.007.277-.014.416-.025.054-.004.108-.01.16-.013l.085-.009c.13-.01.255-.023.378-.037.065-.007.13-.017.196-.025l.068-.009a16.852 16.852 0 00.607-.09l.028-.004c.118-.02.237-.04.355-.063l.277-.055c.116-.024.234-.05.351-.077.093-.02.185-.043.278-.065.117-.029.235-.058.351-.09l.275-.075c.118-.033.236-.07.354-.106l.04-.012c.083-.025.166-.052.248-.078l.214-.07c.116-.04.232-.08.348-.123.071-.026.143-.051.214-.08.118-.044.236-.09.354-.137l.055-.02.147-.059c.135-.055.268-.114.403-.172l.063-.028c.027-.01.055-.023.081-.035l.108-.05a18.639 18.639 0 001.371-.698l.068-.038.096-.052a16.582 16.582 0 001.242-.78c.147-.101.296-.204.443-.31l.083-.062c.18-.132.342-.254.493-.372l.038-.03c.187-.148.362-.29.532-.431.143-.121.283-.243.422-.367l.086-.079.094-.086c.077-.07.155-.14.23-.211l.062-.06c.14-.135.28-.272.43-.424l.133-.137c.132-.138.262-.276.389-.417l.073-.079c.147-.164.296-.337.456-.53l.108-.131c.138-.168.263-.326.38-.483l.058-.073c.144-.191.291-.397.45-.627l.084-.124c.145-.212.28-.425.407-.63l.096-.157.014-.024.149-.251c.034-.06.068-.12.1-.18l.015-.025.139-.251.11-.207c.042-.083.085-.168.129-.251l.102-.21.12-.253.012-.029c.046-.099.092-.197.135-.296.235-.536.44-1.076.607-1.608.696-2.184.889-4.453.56-6.565a11.271 11.271 0 00-.082-.467l-.028-.133a11.506 11.506 0 00-.083-.377l-.035-.142a12.175 12.175 0 00-.343-1.13l-.06-.164c-.08-.212-.154-.401-.23-.578l-.021-.051a11.148 11.148 0 00-.374-.772c-.07-.13-.14-.26-.214-.39l-.029-.05-.064-.109a11.675 11.675 0 00-.628-.951.312.312 0 01.503-.37l.001.002 3.502 4.773a12.91 12.91 0 01.661 1.002c.024.038.044.077.067.115l.029.051c.078.136.153.273.225.41l.02.036.035.067c.009.015.016.032.023.047l.01.025c.119.233.217.442.303.639l.023.053c.082.191.16.39.243.61l.01.029c.01.019.018.038.025.06.007.017.012.037.018.056l.01.03a11.728 11.728 0 01.359 1.185l.028.114.008.034c.032.132.061.264.088.396l.008.034.013.056.008.048c.034.181.062.34.086.49.343 2.21.143 4.577-.582 6.85a16.635 16.635 0 01-.73 1.892l-.031.068-.022.046a14.23 14.23 0 01-.23.48 11.92 11.92 0 01-.248.476l-.143.26-.021.037a9.74 9.74 0 01-.253.433l-.036.06c-.017.03-.035.058-.051.088l-.02.03c-.139.224-.28.443-.429.663l-.087.126c-.166.24-.319.453-.467.65l-.058.076c-.123.16-.255.33-.395.5l-.014.018-.097.119c-.165.198-.318.377-.47.547l-.017.02a.915.915 0 01-.037.038l-.023.025c-.132.145-.266.288-.402.43l-.137.14c-.154.158-.3.3-.443.438l-.017.017a9.64 9.64 0 00-.032.032l-.012.011c-.078.074-.157.146-.236.218l-.096.09-.093.084a19.541 19.541 0 01-.986.823l-.038.031c-.158.124-.325.25-.508.383l-.086.064a23.375 23.375 0 01-.438.309l-.02.013a18.483 18.483 0 01-1.283.806l-.05.03-.072.038a19.12 19.12 0 01-1.465.747l-.032.016c-.018.008-.036.018-.054.025l-.02.008-.098.043-.059.025c-.138.061-.277.12-.416.178l-.149.06-.058.023c-.122.049-.245.096-.367.142l-.22.082-.36.126-.221.074-.047.015-.069.022c-.036.011-.072.022-.11.032l-.073.022a18.815 18.815 0 01-.65.186c-.122.032-.243.064-.365.093-.095.024-.19.046-.286.069a17.79 17.79 0 01-.365.079 15.73 15.73 0 01-.656.122l-.032.005c-.083.014-.165.028-.249.04-.126.02-.251.037-.377.052l-.069.008c-.067.009-.136.018-.202.025-.13.016-.261.027-.392.04l-.083.008-.174.015c-.144.011-.287.018-.43.025l-.081.004a10.9 10.9 0 01-.767.024zm-8.379-3.3a12.43 12.43 0 001.804 1.137c1.942 1.006 4.216 1.536 6.577 1.536a16.05 16.05 0 00.739-.02l.086-.005c.139-.007.276-.013.415-.025l.163-.014.084-.008c.128-.01.253-.023.38-.037l.193-.024.069-.01c.12-.015.243-.032.364-.05.079-.012.16-.025.239-.039l.032-.005c.12-.02.237-.04.355-.063l.277-.055a20.067 20.067 0 00.63-.142l.352-.09c.091-.025.183-.049.273-.075.118-.033.236-.07.354-.106l.084-.025.093-.027.11-.038a17.076 17.076 0 00.561-.192c.072-.026.144-.051.215-.079.118-.044.236-.09.354-.137l.06-.024.14-.055c.135-.056.27-.114.403-.173l.064-.027.08-.035.061-.028.049-.024c.198-.091.404-.19.611-.293a21.557 21.557 0 00.761-.404l.063-.033.054-.03.046-.027a18.234 18.234 0 001.243-.78l.055-.035c.13-.09.259-.18.388-.274l.084-.062c.178-.131.34-.252.492-.373l.038-.03.264-.21a19.304 19.304 0 00.69-.587c.029-.025.057-.052.083-.077l.1-.092c.075-.069.152-.137.225-.208a.08.08 0 01.011-.01l.052-.05a17.113 17.113 0 00.562-.56c.132-.138.263-.277.389-.417l.074-.08a18.896 18.896 0 00.548-.644l.016-.018c.134-.165.263-.33.382-.483l.056-.074c.143-.189.29-.394.45-.626l.084-.123c.144-.212.28-.425.408-.63l.025-.039.046-.078.039-.065.148-.25c.032-.056.064-.111.095-.168l.02-.038c.046-.083.094-.166.138-.25a14.79 14.79 0 00.238-.458l.104-.211.12-.253.052-.11.096-.213c.236-.538.44-1.078.607-1.609.696-2.183.889-4.453.56-6.565a12.975 12.975 0 00-.082-.465l-.027-.132a16.316 16.316 0 00-.083-.377l-.008-.034-.025-.106a11.436 11.436 0 00-.343-1.13l-.017-.05-.01-.031-.012-.03-.021-.052a12.056 12.056 0 00-.23-.578l-.022-.051c-.08-.186-.175-.385-.287-.607l-.022-.046-.011-.025a13.258 13.258 0 00-.267-.486l-.03-.054a11.045 11.045 0 00-.389-.628c-.002-.001-.003-.004-.005-.007a13.32 13.32 0 00-.296-.422l-1.195-1.63a12.852 12.852 0 01.261.9l.036.146c.03.132.06.263.087.395l.03.139c.034.178.062.337.086.49.343 2.208.141 4.577-.582 6.85a16.382 16.382 0 01-.63 1.67c-.045.102-.094.205-.141.308l-.013.028-.123.262-.107.218-.133.261-.113.214c-.047.088-.096.174-.145.261l-.013.025a12.525 12.525 0 01-.26.446l-.014.024-.1.165c-.13.213-.272.432-.422.653l-.088.128c-.164.239-.316.451-.466.65l-.059.075c-.123.162-.252.326-.394.5l-.113.136c-.163.198-.318.376-.47.546l-.077.082a23.629 23.629 0 01-.54.572 18.55 18.55 0 01-.443.437l-.064.063-.238.22-.09.082c-.032.03-.062.059-.094.087a19.541 19.541 0 01-.988.823l-.037.03c-.157.123-.324.25-.509.384l-.086.064a21.1 21.1 0 01-1.1.743c-.197.124-.407.249-.64.383l-.106.059-.063.036a18.867 18.867 0 01-1.417.72l-.049.023-.064.03-.091.04-.06.026c-.139.06-.278.12-.417.178l-.155.062-.053.02c-.122.05-.243.097-.367.142l-.222.082a17.86 17.86 0 01-.58.2l-.26.08-.04.01a18.815 18.815 0 01-1.666.427 17.24 17.24 0 01-.655.122l-.028.004-.254.042c-.127.02-.252.036-.377.052l-.066.008c-.07.01-.138.018-.206.026-.129.016-.258.027-.387.04l-.087.008a7.906 7.906 0 01-.173.015c-.143.01-.286.018-.43.025l-.081.004a17.27 17.27 0 01-.775.02c-2.461 0-4.834-.556-6.864-1.608-.154-.079-.306-.162-.456-.247l2.446 3.33zM120.843 90.037a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.134zM33.935 82.412a2.067 2.067 0 100-4.133 2.067 2.067 0 000 4.133zM34.97 84.083a.728.728 0 100-1.455.728.728 0 000 1.455zM45.217 56.42a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.133zM47.632 53.008a.728.728 0 100-1.455.728.728 0 000 1.455z"}),s.jsx("path",{fill:"#EEE",d:"M126.15 45.536a3.556 3.556 0 10-.001-7.11 3.556 3.556 0 00.001 7.11z"}),s.jsx("path",{fill:"#F9FAFB",d:"M122.594 40.225a1.693 1.693 0 100-3.386 1.693 1.693 0 000 3.386z"})]})}var yo=typeof m.commonjsGlobal=="object"&&m.commonjsGlobal&&m.commonjsGlobal.Object===Object&&m.commonjsGlobal,vo=typeof self=="object"&&self&&self.Object===Object&&self;yo||vo||Function("return this")();function xo(e){const[t,r]=j.useState(!!e),n=j.useCallback(()=>{r(!0)},[]),o=j.useCallback(()=>{r(!1)},[]),i=j.useCallback(()=>{r(a=>!a)},[]);return{value:t,setValue:r,setTrue:n,setFalse:o,toggle:i}}function bo(e){var t;return s.jsxs(N.Dialog,{...e.dialogProps,open:e.open,children:[!e.hideTitle&&s.jsxs(N.DialogTitle,{component:N.Stack,sx:{...e.titleProps,textAlign:"center"},children:[typeof e.title=="string"?s.jsx(N.Typography,{variant:"h4",children:e.title}):e.title,typeof e.subTitle=="string"?s.jsx(N.Typography,{color:"success.main",variant:"body1",...e.subTitleProps,children:e.subTitle}):e.subTitle]}),s.jsx(N.DialogContent,{sx:{...e.contentProps,overflowY:e.fixOverflow?"unset":void 0},children:e.desc}),!(e.hideClose&&e.hideConfirm)&&s.jsx(N.DialogActions,{...e.dialogActionsProps,sx:{display:"flex",justifyContent:"space-between","& button":{minWidth:e.minWidthButton||200},px:3,pb:3,...(t=e.dialogActionsProps)==null?void 0:t.sx},children:e.customActions?e.customActions:s.jsxs(s.Fragment,{children:[!e.hideClose&&s.jsx(N.Button,{color:"error",onClick:e.onClose,children:"Close"}),!e.hideConfirm&&s.jsx(N.Button,{color:"primary",onClick:e.onConfirm,children:"Submit"})]})})]})}function _o(e){const t=xo(typeof e=="boolean"?e:void 0);return{setTrue:t.setTrue,open:t.value,onClose:t.setFalse,onConfirm:typeof e!="boolean"?e==null?void 0:e.onConfirm:void 0}}const wo=()=>{const{t:e}=m.useTranslation();return s.jsx("div",{className:"unauth__container "+m.styles["page-container"],children:s.jsxs("div",{className:"unauth__main-content "+m.styles["page-main-content"],children:[s.jsx(So,{}),s.jsxs("div",{className:"unauth__main-text",children:[s.jsx("h2",{className:"unauth__main-text__title "+m.styles["page-title"],children:e("components.unauthorizedPage.title")}),s.jsxs("p",{className:"unauth__main-text__desc "+m.styles["text-base"],children:[e("components.unauthorizedPage.description1")," ",s.jsx("br",{})," ",e("components.unauthorizedPage.description2")]})]})]})})},So=()=>s.jsxs("svg",{width:"61",height:"60",viewBox:"0 0 61 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsxs("g",{filter:"url(#filter0_d_10800_50471)",children:[s.jsx("rect",{x:"2.5",y:"1",width:"56",height:"56",rx:"28",fill:"white"}),s.jsx("path",{d:"M24.6667 27.833V23.1663C24.6667 21.6192 25.2812 20.1355 26.3752 19.0416C27.4692 17.9476 28.9529 17.333 30.5 17.333C32.0471 17.333 33.5308 17.9476 34.6248 19.0416C35.7188 20.1355 36.3333 21.6192 36.3333 23.1663V27.833M22.3333 27.833H38.6667C39.9553 27.833 41 28.8777 41 30.1663V38.333C41 39.6217 39.9553 40.6663 38.6667 40.6663H22.3333C21.0447 40.6663 20 39.6217 20 38.333V30.1663C20 28.8777 21.0447 27.833 22.3333 27.833Z",stroke:"#292929","stroke-width":"2.33333","stroke-linecap":"round","stroke-linejoin":"round"})]}),s.jsx("defs",{children:s.jsxs("filter",{id:"filter0_d_10800_50471",x:"0.5",y:"0",width:"60",height:"60",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[s.jsx("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),s.jsx("feOffset",{dy:"1"}),s.jsx("feGaussianBlur",{stdDeviation:"1"}),s.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.05 0"}),s.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_10800_50471"}),s.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_10800_50471",result:"shape"})]})})]});function he(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function an(e){if(!he(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=an(e[r])}),t}function le(e,t,r={clone:!0}){const n=r.clone?m._extends({},e):e;return he(e)&&he(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(he(t[o])&&o in e&&he(e[o])?n[o]=le(e[o],t[o],r):r.clone?n[o]=he(t[o])?an(t[o]):t[o]:n[o]=t[o])}),n}const Eo=Object.freeze(Object.defineProperty({__proto__:null,default:le,isPlainObject:he},Symbol.toStringTag,{value:"Module"}));function Ue(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const Co=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"}));var Vt={exports:{}},A={};/**
|
|
36
|
+
`;function co(e){return s.jsxs("svg",{width:"34",height:"25",viewBox:"0 0 34 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsxs("g",{"clip-path":"url(#clip0_16865_28134)",children:[s.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"#1A47B8"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.61691 0.5H0V4.5L30.3635 24.5L34 24.5V20.5L3.61691 0.5Z",fill:"white"}),s.jsx("path",{d:"M1.20635 0.5L34 22.1567V24.5H32.8219L0 2.82089V0.5H1.20635Z",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M30.7619 0.5H34V4.5C34 4.5 12.9683 17.8249 3.2381 24.5H0V20.5L30.7619 0.5Z",fill:"white"}),s.jsx("path",{d:"M34 0.5H32.9019L0 22.1753V24.5H1.20635L34 2.83842V0.5Z",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.3648 0.5H21.6635V7.90291H34V17.0922H21.6635V24.5H12.3648V17.0922H0V7.90291H12.3648V0.5Z",fill:"white"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3158 0.5H19.6842V9.73077H34V15.2692H19.6842V24.5H14.3158V15.2692H0V9.73077H14.3158V0.5Z",fill:"#F93939"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_16865_28134",children:s.jsx("rect",{y:"0.5",width:"34",height:"24",rx:"3",fill:"white"})})})]})}function uo(e){return s.jsxs("svg",{width:"34",height:"24",viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsxs("g",{"clip-path":"url(#clip0_16886_62505)",children:[s.jsx("rect",{width:"34",height:"24",rx:"3",fill:"#F93939"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 16H34V24H0V16Z",fill:"#FFDA2C"}),s.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 0H34V8H0V0Z",fill:"#151515"})]}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_16886_62505",children:s.jsx("rect",{width:"34",height:"24",rx:"3",fill:"white"})})})]})}function fo({logo:e,user:t,baseUrl:r,notiPath:n,style:o,classNames:i="",customColors:a,notiprops:c}){const d=e||"/public/assets/icons/logo-header.png",f={...o,color:(a==null?void 0:a.headerTextColor)||"white",backgroundColor:(a==null?void 0:a.headerBgColor)||"black"},[h,m]=j.useState(!1),y=()=>{window.location.href=`${r}/authentication/logout?callbackUrl=${window.location.href}`};return s.jsxs(p.ShadowDomWrapper,{styles:[io,ao,so,lo],style:{zIndex:1202},id:"topbar-wrapper",children:[s.jsx("nav",{className:`navbar ${i}`,style:a?f:o,children:s.jsxs("div",{className:"navbar-container",children:[s.jsx("div",{className:"logo-container",children:s.jsx("img",{src:d,alt:"logo-header",style:{height:"40px"}})}),s.jsxs("div",{className:"right-side-container",children:[s.jsx("span",{children:s.jsxs(p.CustomOpenListProvider,{children:[s.jsx(Zn,{baseUrl:c.baseUrl,path:c.path,apiKey:c.apiKey,authDomain:c.authDomain,projectId:c.projectId,storageBucket:c.storageBucket,messagingSenderId:c.messagingSenderId,appId:c.appId,measurementId:c.measurementId,vapidKey:c.vapidKey}),s.jsx(oo,{iconColor:a==null?void 0:a.headerTextColor,baseUrl:r,notiPath:n,brandColors:a})]})}),s.jsx("span",{className:"cursor-pointer",children:s.jsx(Jn,{color:(a==null?void 0:a.headerTextColor)||"#fff"})}),s.jsx(ho,{}),s.jsxs("div",{className:"userContainer",children:[s.jsx(mo,{primaryColor:a==null?void 0:a.headerTextColor,avatarUrl:t==null?void 0:t.avatarUrl,userName:t==null?void 0:t.firstName,setShowConfirmModal:m}),s.jsx("p",{className:"userFullName",style:{color:a==null?void 0:a.headerTextColor},children:`${(t==null?void 0:t.firstName)||"Unknown"} ${(t==null?void 0:t.lastName)||"User"}`})]})]})]})}),s.jsx(p.LogoutConfirmModal,{isOpen:h,onClose:()=>m(!1),onConfirm:y})]})}function ho(){var a;const e=[{value:p.Language.en,element:s.jsx(co,{})},{value:p.Language.de,element:s.jsx(uo,{})}],[t,r]=j.useState(!1);j.useState(new Array(e.length).fill(!1));const{language:n,setLanguage:o}=p.useCustomTranslation();j.useEffect(()=>{Zt({childrenClass:"languageDropdown",action(){r(!1)}})},[]);const i=(a=e.find(c=>c.value==n))==null?void 0:a.element;return s.jsx("div",{className:"languageDropdownContainer",style:{position:"relative"},children:s.jsx("div",{className:"languageDropdown",onClick:()=>{r(!t)},children:i})})}function mo({avatarUrl:e,userName:t,setShowConfirmModal:r}){const[n,o]=j.useState(!1),i=j.useRef(null),a=j.useRef(null),[c,d]=j.useState(!1),[f,h]=j.useState(!1),m={backgroundColor:c?"#919eab14":"transparent"},y={backgroundColor:f?"#919eab14":"transparent"};return j.useEffect(()=>{Zt({childrenClass:"userAvatar",action(){o(!1)}})},[]),s.jsx(s.Fragment,{children:s.jsxs("div",{style:{position:"relative"},children:[e?s.jsx("img",{onClick:()=>o(!n),ref:i,alt:"user avatar",className:"userAvatar",src:e}):s.jsx("div",{onClick:()=>o(!n),ref:i,className:"userAvatar",id:"userAvatarNull",children:(t==null?void 0:t.charAt(0))??""}),s.jsx("div",{style:{display:n?"block":"none"},className:"avartarDropdownMenu",ref:a,children:s.jsxs("ul",{style:{color:"initial"},children:[s.jsx("li",{onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),style:y,className:"avatar-dropdown-item",children:"Profile"}),s.jsx("li",{onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),style:m,onClick:()=>r(!0),className:"avatar-dropdown-item",children:"Logout"})]})})]})})}const po=({children:e})=>s.jsxs(N.Stack,{justifyContent:"center",alignItems:"center",sx:{backgroundColor:"#FAFAFA",minHeight:"450px"},children:[s.jsx(go,{}),e]});function go(){return s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"150",height:"150",fill:"none",viewBox:"0 0 150 150",children:[s.jsx("path",{fill:"#F9FAFB",d:"M120.843 66.48a2.885 2.885 0 100-5.77 2.885 2.885 0 000 5.77zM75 127.04c28.319 0 51.276-9.006 51.276-20.115 0-11.11-22.957-20.115-51.276-20.115-28.32 0-51.276 9.006-51.276 20.115 0 11.109 22.957 20.115 51.276 20.115z"}),s.jsx("path",{fill:"#DDD",d:"M73.354 34.489l-2.13 13.355H57.378L73.354 34.49z"}),s.jsx("path",{fill:"#F9FAFB",d:"M71.223 48.157H57.38a.313.313 0 01-.295-.206.313.313 0 01.093-.346L73.154 34.25a.313.313 0 01.508.288l-2.13 13.357a.308.308 0 01-.308.263zm-12.983-.625h12.717l1.957-12.268L58.24 47.532zM74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),s.jsx("path",{fill:"#000",d:"M74.63 59.596a.314.314 0 01-.252-.128l-.844-1.15a.314.314 0 01.043-.418.311.311 0 01.42.003c.005.005.012.01.018.018a.188.188 0 01.015.018l.045.06.807 1.1a.312.312 0 01-.252.497z"}),s.jsx("path",{fill:"#85858A",d:"M74.454 58.965l3.503 4.775c-.209-.284-.431-.56-.667-.83-2.59-2.952-6.367-4.428-10.378-4.428-1.74 0-3.524.278-5.275.833l-3.503-4.775a17.477 17.477 0 015.275-.833c4.011 0 7.788 1.476 10.378 4.428.236.27.458.546.667.83z"}),s.jsx("path",{fill:"#F9FAFB",d:"M77.957 64.053a.314.314 0 01-.253-.128c-.203-.278-.422-.55-.65-.81-2.446-2.786-6.047-4.32-10.143-4.32-1.727 0-3.468.274-5.18.818a.316.316 0 01-.348-.113l-3.503-4.775a.312.312 0 01.158-.483 17.748 17.748 0 015.37-.847c4.278 0 8.047 1.61 10.612 4.533.24.274.47.561.685.853l3.5 4.772.003.003a.311.311 0 01-.251.497zM66.912 58.17c3.207 0 6.128.905 8.471 2.59l-1.18-1.61c-.203-.278-.423-.55-.65-.81-2.446-2.786-6.048-4.32-10.144-4.32-1.586 0-3.186.231-4.762.691l3.11 4.24a17.67 17.67 0 015.155-.782zM56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),s.jsx("path",{fill:"#000",d:"M56.104 81.024a.312.312 0 01-.233-.105l-.049-.055a8.826 8.826 0 01-.458-.571l-3.503-4.775a.312.312 0 01.504-.37l.003.005c.132.179.274.355.422.525l.045.05.02.023 3.502 4.775a.312.312 0 01-.253.498z"}),s.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),s.jsx("path",{fill:"#000",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.361 7.361 0 01-.265-.283l-.01-.011c-.036-.044-.078-.103-.117-.157l-.043-.06-3.353-4.57a.312.312 0 01.485-.394c.08.09.163.177.246.263l.03.033 3.502 4.775a.313.313 0 01-.252.499z"}),s.jsx("path",{fill:"#85858A",d:"M52.855 76.208l3.503 4.775a7.826 7.826 0 01-.743-.875l-3.503-4.775a7.8 7.8 0 00.743.875z"}),s.jsx("path",{fill:"#F9FAFB",d:"M56.358 81.296a.311.311 0 01-.223-.095 7.86 7.86 0 01-.773-.908l-3.502-4.775a.312.312 0 11.504-.37l.003.005a7.954 7.954 0 00.712.837l.03.034 3.502 4.775a.313.313 0 01-.253.497z"}),s.jsx("path",{fill:"#EEE",d:"M71.03 70.342a11.476 11.476 0 01-1.11 2.438 12.543 12.543 0 01-2.703 3.136c-2.342 1.96-5.159 2.937-7.82 2.937-2.66 0-5.164-.98-6.88-2.938C49.078 72 50.09 65.651 54.775 61.738c2.343-1.96 5.16-2.938 7.82-2.938s5.165.98 6.881 2.938a8.329 8.329 0 01.754 1.008 8.034 8.034 0 011.056 2.539c.376 1.62.28 3.364-.257 5.057z"}),s.jsx("path",{fill:"#98A2B3",d:"M71.289 65.285h-9.161c-.967 0-1.632-.754-1.482-1.688.148-.933 1.052-1.687 2.02-1.687h6.956a8.024 8.024 0 011.667 3.375zM71.03 70.342a11.476 11.476 0 01-1.11 2.438c-.155.256-.32.51-.5.76h-8.705c-.918 0-1.543-.716-1.403-1.6.142-.883.997-1.6 1.913-1.6h9.805v.002z"}),s.jsx("path",{fill:"#F7F9FC",d:"M73.632 34.257h38.646l-.591 3.703-10.155 63.675H48.801l3.071-19.259c2.022 1.048 4.33 1.571 6.72 1.571 3.213 0 6.576-.946 9.602-2.839h27.097c.471 0 .909-.366.983-.82.072-.452-.25-.819-.72-.819H70.44c2.295-1.933 3.996-4.255 5.068-6.708h21.116c.47 0 .908-.367.98-.818.072-.453-.25-.82-.72-.82H76.129c.712-2.236.91-4.531.57-6.71h21.256c.47 0 .908-.366.98-.817.073-.453-.25-.821-.719-.821H76.333a12.247 12.247 0 00-2.544-4.642c-2.59-2.951-6.367-4.427-10.378-4.427-2.389 0-4.86.523-7.215 1.569l1.184-7.432h13.845l2.13-13.354.277-.232zM93.96 89.454c.47 0 .908-.366.982-.82.072-.452-.25-.819-.72-.819H61.258c-.468 0-.907.367-.979.818-.072.453.25.821.718.821h32.964zm5.325-33.386c.47 0 .908-.367.981-.818.072-.453-.25-.82-.72-.82H77.201c-.47 0-.907.366-.979.82-.072.451.247.818.718.818h22.346z"}),s.jsx("path",{fill:"#F9FAFB",d:"M101.532 101.946h-52.73a.311.311 0 01-.309-.361l3.072-19.259a.312.312 0 01.453-.228c1.942 1.006 4.215 1.537 6.576 1.537 3.255 0 6.517-.966 9.435-2.792a.317.317 0 01.165-.047h27.098c.316 0 .625-.256.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H70.44a.313.313 0 01-.201-.551c2.175-1.834 3.898-4.114 4.983-6.595a.313.313 0 01.286-.187h21.116c.316 0 .625-.254.672-.556a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H76.128a.314.314 0 01-.299-.407c.696-2.182.889-4.453.56-6.566a.31.31 0 01.308-.361h21.256c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.321.423.423 0 00-.331-.138h-21.88a.312.312 0 01-.3-.225 11.883 11.883 0 00-2.481-4.523c-2.446-2.786-6.047-4.32-10.143-4.32-2.367 0-4.818.532-7.09 1.542a.316.316 0 01-.317-.037.31.31 0 01-.118-.298l1.184-7.431a.313.313 0 01.309-.264h13.578l2.087-13.092a.314.314 0 01.107-.19l.278-.235a.316.316 0 01.201-.074h38.649a.312.312 0 01.308.361L101.84 101.68a.31.31 0 01-.308.267zm-52.365-.625h52.098l10.646-66.753H73.746l-.102.086-2.11 13.24a.313.313 0 01-.309.264H57.647l-1.054 6.61c2.201-.9 4.546-1.373 6.818-1.373 4.278 0 8.047 1.61 10.613 4.533a12.512 12.512 0 012.541 4.535h21.652c.32 0 .614.13.807.356.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082H77.058c.253 1.971.078 4.059-.51 6.084h20.337c.32 0 .614.13.807.357.191.225.27.518.22.825-.097.607-.663 1.082-1.29 1.082h-20.91c-1.019 2.252-2.544 4.337-4.444 6.083h24.285c.32 0 .614.13.807.357.191.225.27.517.22.824-.097.607-.663 1.083-1.29 1.083H68.283c-2.998 1.858-6.347 2.839-9.69 2.839-2.307 0-4.536-.488-6.48-1.416l-2.946 18.477zM93.96 89.767H60.997c-.318 0-.612-.13-.805-.357a1.004 1.004 0 01-.221-.827c.097-.607.662-1.082 1.287-1.082h32.964c.32 0 .614.131.807.357.192.225.27.517.22.824-.095.608-.661 1.085-1.288 1.085zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.42.42 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001zm38.028-31.746H76.94c-.32 0-.612-.13-.805-.356a1.004 1.004 0 01-.221-.824c.097-.608.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.663 1.08-1.289 1.08zm-22.085-1.64c-.315 0-.622.256-.67.558a.387.387 0 00.079.32.423.423 0 00.33.135h22.346c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H77.201v.002z"}),s.jsx("path",{fill:"#DDD",d:"M55.21 61.447l-.332 2.085c-.052.039-.103.078-.153.12-1.13.942-1.372 2.473-.544 3.416.036.042.075.082.115.12l-1.44 9.019a8.348 8.348 0 01-.3-.325c-1.709-1.949-2.312-4.503-1.903-7.056.407-2.554 1.823-5.106 4.154-7.054.13-.11.267-.22.403-.325zM96.884 71.122c.471 0 .792.367.72.821-.073.451-.511.818-.98.818H75.507c.237-.54.444-1.087.618-1.639h20.758z"}),s.jsx("path",{fill:"#DDD",d:"M96.623 73.074H75.508a.31.31 0 01-.261-.142.316.316 0 01-.025-.296c.235-.536.439-1.076.607-1.607a.31.31 0 01.299-.218h20.756c.32 0 .614.13.807.357.192.225.271.518.221.825-.096.606-.662 1.08-1.289 1.08zm-20.643-.625h20.643c.317 0 .625-.254.672-.556a.392.392 0 00-.079-.32.423.423 0 00-.332-.138h-20.53a16.42 16.42 0 01-.374 1.014zM95.555 79.468c.47 0 .791.367.719.818-.072.453-.511.821-.982.821H68.193a19.625 19.625 0 002.248-1.638h25.114z"}),s.jsx("path",{fill:"#DDD",d:"M95.292 81.42H68.193a.313.313 0 01-.165-.578 19.558 19.558 0 002.148-1.56l.059-.049a.33.33 0 01.205-.076h25.114c.32 0 .614.13.807.357.192.225.27.517.221.824-.097.605-.662 1.082-1.29 1.082zm-26.063-.626h26.063c.316 0 .625-.255.672-.556a.39.39 0 00-.08-.32.423.423 0 00-.331-.137h-25c-.425.355-.868.694-1.324 1.013z"}),s.jsx("path",{fill:"#EEE",d:"M115.432 38.557l-.495 3.106-.095.598-10.06 63.074H51.517l-2.716-3.702h52.731l10.155-63.672.592-3.704 3.153 4.3z"}),s.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.31.31 0 01-.252-.127l-2.716-3.702a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.464l10.113-63.41.592-3.704a.311.311 0 01.56-.135l3.153 4.3c.05.067.069.152.057.234l-.591 3.704-10.061 63.075a.312.312 0 01-.308.262zm-53.107-.625h52.839l10.019-62.81.57-3.576-2.634-3.592-.473 2.966-10.156 63.672a.313.313 0 01-.308.264H49.418l2.257 3.076z"}),s.jsx("path",{fill:"#DDD",d:"M108.03 109.039l3.503 4.775H58.8l-3.503-4.775h52.733z"}),s.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126H58.8a.31.31 0 01-.252-.127l-3.503-4.775a.312.312 0 01.253-.498h52.734c.1 0 .193.048.251.128l3.503 4.775a.314.314 0 01-.253.497zm-52.575-.625h51.958l-3.044-4.15H55.913l3.045 4.15z"}),s.jsx("path",{fill:"#F7F9FC",d:"M118.776 41.663l-10.746 67.376H55.297l.59-3.704h48.895l10.154-63.672h3.84z"}),s.jsx("path",{fill:"#F9FAFB",d:"M108.03 109.351H55.297a.313.313 0 01-.308-.361l.59-3.703a.313.313 0 01.308-.263h48.628l10.112-63.41a.314.314 0 01.309-.264h3.84a.313.313 0 01.308.361l-10.745 67.376a.313.313 0 01-.309.264zm-52.366-.625h52.1l10.645-66.751h-3.207l-10.112 63.41a.314.314 0 01-.308.264H56.154l-.49 3.077z"}),s.jsx("path",{fill:"#EEE",d:"M118.776 41.663l3.503 4.775-10.746 67.376-3.503-4.775 10.746-67.376z"}),s.jsx("path",{fill:"#F9FAFB",d:"M111.533 114.126a.306.306 0 01-.251-.127l-3.503-4.775a.312.312 0 01-.057-.235l10.746-67.377a.309.309 0 01.234-.254.309.309 0 01.325.12l3.503 4.775a.31.31 0 01.057.234l-10.746 67.377a.309.309 0 01-.308.262zm-3.174-5.168l2.982 4.067 10.607-66.508-2.982-4.067-10.607 66.508z"}),s.jsx("path",{fill:"#85858A",d:"M49.987 81.18L31.79 96.393c-.043.036-.088.068-.132.101l-.061.046c-.036.025-.074.047-.11.071-.026.017-.053.035-.079.05-.02.011-.04.02-.06.032a2.11 2.11 0 01-.148.075l-.055.022a2.406 2.406 0 01-.294.107l-.076.021c-.04.01-.08.02-.121.028l-.074.014a4.26 4.26 0 01-.132.018l-.062.007c-.064.005-.13.008-.193.008-.545 0-1.056-.2-1.407-.6l-.649-.739a1.784 1.784 0 01-.09-.112l3.503 4.775c.027.039.058.076.09.112l.648.739c.352.4.863.6 1.408.6.063 0 .127-.003.193-.008.02-.002.041-.006.062-.007l.132-.018.074-.014c.04-.009.08-.017.12-.028l.077-.021.055-.015.04-.015c.067-.023.134-.049.2-.077l.04-.015c.005-.003.01-.006.015-.007.05-.024.098-.049.148-.075.019-.01.037-.017.055-.028l.005-.004c.026-.015.053-.033.08-.05.033-.021.067-.04.1-.064a.025.025 0 00.009-.007l.061-.046c.034-.025.068-.048.1-.075a.364.364 0 00.032-.026l18.197-15.213-3.504-4.775z"}),s.jsx("path",{fill:"#F9FAFB",d:"M33.694 102.081c-.658 0-1.241-.252-1.641-.707l-.65-.739a1.901 1.901 0 01-.106-.134l-3.501-4.772c0-.001-.002-.001-.002-.003a.312.312 0 01.503-.369l.001.003c.023.03.046.06.071.089l.649.739c.279.318.696.493 1.172.493.056 0 .11-.003.165-.009l.056-.007c.037-.004.075-.008.114-.015l.047-.01.018-.004.106-.023.068-.019a2.276 2.276 0 00.257-.093l.047-.019c.044-.02.087-.043.13-.067l.053-.028c.011-.006.024-.013.035-.022l.058-.037a2.329 2.329 0 00.099-.067l.04-.03c.035-.027.07-.052.104-.081l18.198-15.213a.314.314 0 01.45.055l3.504 4.775a.313.313 0 01-.052.425l-18.23 15.246c-.03.023-.059.045-.09.066l-.04.029-.05.038a1.955 1.955 0 01-.095.062l-.052.032a.92.92 0 01-.058.036c-.006.005-.011.007-.017.01a.658.658 0 01-.044.022l-.013.006c-.055.029-.11.058-.166.085l-.017.008-.044.018c-.075.032-.15.061-.225.086-.013.006-.03.011-.045.017l-.046.012-.015.004-.087.024c-.046.011-.09.022-.137.031l-.015.002-.07.014c-.05.009-.1.016-.148.021l-.018.003a1.864 1.864 0 01-.27.017zm-4.003-4.825l2.112 2.877c.022.031.047.061.072.091l.648.739c.311.355.8.531 1.338.486l.054-.007a1.482 1.482 0 00.161-.025l.017-.003a1.73 1.73 0 00.105-.024c.023-.005.045-.012.068-.018l.048-.012a.295.295 0 01.034-.014c.059-.02.118-.042.177-.068.01-.006.023-.01.036-.014l.01-.004c.045-.021.089-.045.133-.068a.296.296 0 01.035-.018l.01-.006c.002-.003.006-.004.01-.005l.034-.021.065-.041a.622.622 0 00.057-.036l.033-.025.053-.04.063-.047.027-.022 17.974-15.025-3.132-4.271L31.99 96.633c-.044.037-.089.071-.135.105l-.03.023c-.017.013-.032.025-.049.036-.033.023-.067.043-.1.064l-.048.03c-.021.015-.042.027-.063.04-.017.01-.033.018-.05.026l-.018.01c-.054.029-.11.058-.165.084-.016.007-.03.014-.047.02l-.016.007a2.6 2.6 0 01-.554.173l-.015.003c-.022.004-.046.01-.068.013-.05.008-.099.015-.149.02l-.02.003a2.429 2.429 0 01-.772-.035z"}),s.jsx("path",{fill:"#98A2B3",d:"M76.699 64.414a12.649 12.649 0 00-.367-1.639 12.218 12.218 0 00-2.544-4.642c-2.59-2.951-6.367-4.426-10.378-4.426-2.39 0-4.861.522-7.216 1.57a19.487 19.487 0 00-4.58 2.862c-6.318 5.28-8.203 13.503-4.815 19.405l-18.2 15.216c-.956.797-1.162 2.093-.462 2.894l.65.74c.35.4.863.6 1.405.6a2.51 2.51 0 001.597-.6l18.198-15.212a13.02 13.02 0 001.885 1.193c2.022 1.046 4.33 1.57 6.721 1.57 3.214 0 6.576-.944 9.6-2.838.753-.47 1.482-.999 2.249-1.639 2.293-1.935 3.996-4.255 5.068-6.71.234-.537.443-1.087.616-1.638.713-2.231.911-4.53.573-6.706zm-9.481 11.503c-2.343 1.96-5.16 2.937-7.82 2.937s-5.165-.979-6.881-2.937c-3.438-3.917-2.425-10.264 2.26-14.178 2.342-1.96 5.16-2.938 7.82-2.938s5.164.98 6.88 2.938a8.34 8.34 0 01.754 1.008 8.029 8.029 0 011.056 2.54c.375 1.62.281 3.364-.258 5.056a11.476 11.476 0 01-1.11 2.438 12.45 12.45 0 01-2.701 3.136z"}),s.jsx("path",{fill:"#F9FAFB",d:"M30.192 97.307c-.659 0-1.242-.251-1.64-.708l-.65-.74a2.048 2.048 0 01-.486-1.52c.055-.68.412-1.344.982-1.82L46.4 77.471c-1.585-2.903-1.989-6.42-1.136-9.936.882-3.635 3.066-7.057 6.151-9.636a19.8 19.8 0 014.654-2.907c2.347-1.045 4.886-1.597 7.343-1.597 4.278 0 8.048 1.61 10.613 4.533a12.492 12.492 0 012.61 4.76c.16.543.286 1.106.375 1.677.344 2.207.141 4.577-.584 6.85a16.681 16.681 0 01-.627 1.668c-1.123 2.569-2.906 4.927-5.155 6.824a20.11 20.11 0 01-2.284 1.664c-3.014 1.887-6.39 2.886-9.766 2.886-2.46 0-4.833-.556-6.864-1.606A13.36 13.36 0 0150 81.58L31.989 96.633a2.817 2.817 0 01-1.797.674zM63.41 54.019c-2.37 0-4.82.534-7.089 1.544a19.182 19.182 0 00-4.507 2.815c-6.13 5.123-8.126 13.12-4.744 19.01a.313.313 0 01-.071.395L28.799 93c-.442.37-.72.875-.76 1.389-.032.401.086.777.333 1.06l.649.738c.279.32.694.495 1.17.495.495 0 .992-.188 1.398-.528l18.198-15.211a.313.313 0 01.39-.009c.583.443 1.2.835 1.84 1.164 1.941 1.005 4.216 1.536 6.577 1.536 3.257 0 6.52-.965 9.434-2.79.751-.47 1.476-.997 2.213-1.614 2.175-1.833 3.898-4.114 4.983-6.594.234-.536.437-1.077.605-1.607.696-2.184.89-4.453.561-6.565a12.39 12.39 0 00-.357-1.598 11.865 11.865 0 00-2.48-4.525c-2.445-2.786-6.048-4.32-10.142-4.32zm-4.014 25.148c-2.868 0-5.396-1.08-7.117-3.045-1.536-1.75-2.276-4.066-2.086-6.525.234-3.015 1.83-5.968 4.38-8.098 2.323-1.942 5.172-3.011 8.023-3.011 2.868 0 5.396 1.08 7.117 3.044a8.743 8.743 0 01.783 1.046 8.385 8.385 0 011.097 2.637c.385 1.66.293 3.466-.265 5.221a11.584 11.584 0 01-1.14 2.506 12.926 12.926 0 01-2.77 3.215c-2.322 1.94-5.17 3.01-8.022 3.01zm3.2-20.054c-2.704 0-5.411 1.018-7.62 2.865-2.423 2.023-3.94 4.82-4.16 7.668-.177 2.289.51 4.442 1.934 6.064 1.6 1.826 3.961 2.832 6.646 2.832 2.704 0 5.411-1.018 7.62-2.865a12.3 12.3 0 002.637-3.059c.313-.518.582-1.057.803-1.603.101-.25.194-.508.276-.768.524-1.648.611-3.34.252-4.893a7.792 7.792 0 00-1.739-3.41c-1.603-1.826-3.964-2.831-6.649-2.831z"}),s.jsx("path",{fill:"#F7F9FC",d:"M59.778 66.756a.997.997 0 00-.11-.225.974.974 0 00-.103-.14 1.233 1.233 0 00-.94-.4 1.694 1.694 0 00-1.07.401c-.372.31-.575.734-.586 1.14-.008.292.082.574.278.797.235.267.576.402.94.402s.749-.134 1.068-.402c.152-.127.277-.272.371-.429.045-.072.08-.147.113-.225.125-.305.14-.632.039-.92z"}),s.jsx("path",{fill:"#F7F9FC",d:"M58.64 64.293a1.938 1.938 0 00-.373-.639c-.414-.472-1.018-.708-1.659-.708a2.941 2.941 0 00-1.883.707c-1.13.941-1.372 2.472-.544 3.415.037.042.075.082.115.12.405.391.958.586 1.543.586.375 0 .764-.08 1.135-.242.262-.114.515-.27.75-.464.266-.225.486-.48.651-.755.063-.105.118-.212.164-.32l.032-.078c.22-.54.246-1.115.07-1.622z"}),s.jsx("path",{fill:"#DDD",d:"M104.782 105.335H51.517l-2.716-3.702h52.731l3.25 3.702z"}),s.jsx("path",{fill:"#F9FAFB",d:"M104.782 105.647H51.518a.308.308 0 01-.252-.128l-2.716-3.701a.31.31 0 01-.026-.326.31.31 0 01.279-.171h52.73c.09 0 .175.039.235.107l3.25 3.701c.08.092.1.224.05.335a.317.317 0 01-.286.183zm-53.107-.625h52.415l-2.701-3.076H49.417l2.258 3.076z"}),s.jsx("path",{fill:"#DDD",d:"M98.215 62.775c.47 0 .792.367.72.82-.073.452-.512.819-.981.819H76.698a12.81 12.81 0 00-.365-1.639h21.882z"}),s.jsx("path",{fill:"#DDD",d:"M97.954 64.726H76.7a.312.312 0 01-.309-.265 12.214 12.214 0 00-.357-1.599.309.309 0 01.05-.275.31.31 0 01.25-.125h21.884c.319 0 .614.131.806.357.192.225.271.518.221.825-.097.607-.663 1.082-1.29 1.082zm-20.99-.625h20.99c.317 0 .625-.254.672-.555a.392.392 0 00-.079-.321.423.423 0 00-.332-.138H76.743c.088.335.161.674.22 1.014zM99.547 54.43c.471 0 .792.366.72.82-.073.451-.512.818-.981.818H76.94c-.47 0-.79-.367-.718-.818.072-.453.51-.82.98-.82h22.345z"}),s.jsx("path",{fill:"#DDD",d:"M99.286 56.38H76.94c-.32 0-.613-.129-.806-.355a1.004 1.004 0 01-.22-.824c.097-.607.662-1.083 1.287-1.083h22.346c.32 0 .614.13.807.357.191.225.271.518.221.825-.096.606-.663 1.08-1.29 1.08zM77.2 54.742c-.315 0-.622.255-.67.557a.391.391 0 00.078.32.423.423 0 00.33.136h22.347c.316 0 .625-.254.672-.555a.392.392 0 00-.08-.32.423.423 0 00-.331-.138H77.2zM94.222 87.815c.471 0 .792.367.72.818-.073.453-.511.821-.982.821H60.997c-.468 0-.79-.366-.718-.82.072-.452.511-.819.98-.819h32.963z"}),s.jsx("path",{fill:"#DDD",d:"M93.961 89.767H60.997c-.318 0-.61-.13-.804-.356a1.004 1.004 0 01-.22-.826c.096-.607.662-1.082 1.287-1.082h32.962c.32 0 .614.13.807.357.192.225.27.516.22.823-.095.607-.662 1.084-1.288 1.084zm-32.703-1.64c-.315 0-.622.255-.67.556a.395.395 0 00.079.323.419.419 0 00.329.137H93.96c.316 0 .625-.255.672-.557a.39.39 0 00-.08-.32.423.423 0 00-.331-.137H61.258v-.001z"}),s.jsx("path",{fill:"#DDD",d:"M80.201 69.189c-.025-.16-.053-.32-.083-.478l-.008-.046-.02-.089c-.026-.129-.056-.258-.086-.386-.011-.047-.022-.096-.035-.143a14.558 14.558 0 00-.133-.496c-.065-.223-.14-.444-.218-.663-.01-.028-.017-.056-.028-.084-.01-.029-.023-.057-.033-.085a11.396 11.396 0 00-.553-1.268c-.013-.023-.022-.047-.033-.07-.017-.034-.038-.067-.055-.1a16.26 16.26 0 00-.219-.4c-.032-.055-.061-.11-.094-.164a11.61 11.61 0 00-.337-.536v-.003c-.1-.147-.2-.293-.306-.438l-3.503-4.775a12.034 12.034 0 01.644.977l.095.164a16.362 16.362 0 01.308.57c.104.205.203.412.294.621l.021.053a11.536 11.536 0 01.297.761 12.302 12.302 0 01.47 1.69 11.138 11.138 0 01.111.614c.339 2.175.14 4.473-.57 6.707a16.401 16.401 0 01-.619 1.64c-.048.11-.1.22-.15.33-.04.086-.08.172-.122.258l-.104.214c-.043.086-.088.17-.132.257a11.944 11.944 0 01-.253.467l-.117.206-.151.256-.112.186c-.134.215-.271.43-.414.64l-.087.127a17.85 17.85 0 01-.902 1.204l-.11.135c-.15.18-.304.36-.463.537l-.075.082a18.882 18.882 0 01-1.029 1.053l-.27.249c-.048.044-.096.09-.146.134-.142.127-.285.25-.43.374a20.29 20.29 0 01-1.082.844l-.084.063a21.276 21.276 0 01-1.082.73c-.209.13-.418.256-.63.377-.056.032-.112.06-.167.093-.186.104-.373.205-.56.303l-.213.11a18.01 18.01 0 01-.62.298c-.038.017-.074.035-.112.051-.048.023-.098.043-.147.064-.136.06-.272.12-.41.175l-.204.082c-.12.047-.24.095-.36.14-.072.028-.145.055-.217.081-.118.043-.236.083-.355.124a9.937 9.937 0 01-.218.072c-.097.032-.195.06-.293.091a16.404 16.404 0 01-.997.275 16.845 16.845 0 01-1.56.308c-.123.019-.247.036-.37.052l-.267.035c-.13.015-.257.026-.385.037-.083.007-.168.017-.251.023-.142.01-.282.018-.422.025-.071.004-.14.008-.212.01-.21.01-.42.013-.63.013-2.39 0-4.697-.523-6.721-1.57a12.644 12.644 0 01-1.885-1.195l3.503 4.775c.593.454 1.224.851 1.885 1.194 2.022 1.048 4.33 1.571 6.72 1.571.209 0 .419-.004.63-.012.07-.003.14-.009.21-.011.141-.007.283-.014.423-.025l.25-.023c.13-.01.257-.023.386-.037.09-.01.178-.022.267-.033.124-.017.247-.032.37-.052l.277-.044.363-.064c.093-.018.187-.036.28-.056.12-.025.24-.05.358-.077a16.81 16.81 0 00.918-.235l.362-.107.18-.053.113-.037.218-.073c.118-.04.236-.08.354-.123l.218-.08c.12-.045.24-.092.36-.141l.204-.082c.137-.057.273-.115.41-.175.048-.022.098-.042.147-.064a.206.206 0 01.026-.011c.028-.013.056-.028.084-.04a18.01 18.01 0 001.393-.711c.04-.023.08-.042.12-.066.014-.008.031-.02.046-.027.211-.121.422-.246.63-.377.213-.133.423-.272.633-.415l.057-.038c.13-.09.262-.183.393-.277l.084-.063c.167-.122.334-.247.5-.378l.038-.029c.089-.07.18-.14.268-.214a19.263 19.263 0 00.703-.598l.146-.134c.09-.083.182-.165.27-.25l.014-.012c.017-.015.032-.032.048-.047.148-.142.293-.287.436-.43l.135-.14c.134-.14.266-.28.395-.423l.059-.063.015-.018c.158-.178.312-.357.462-.537l.11-.134c.132-.162.263-.326.388-.492.013-.019.03-.037.044-.056l.013-.017c.158-.211.31-.424.458-.639l.086-.125c.143-.213.282-.426.415-.642l.027-.04.086-.146c.051-.084.101-.17.151-.255l.117-.207.14-.256.111-.21a8.98 8.98 0 00.13-.258c.037-.07.072-.142.106-.214l.123-.258c.016-.038.036-.074.052-.111l.098-.22c.237-.54.444-1.087.618-1.639.72-2.237.92-4.534.58-6.712z"}),s.jsx("path",{fill:"#F9FAFB",d:"M62.094 89.035c-2.46 0-4.833-.556-6.864-1.607a13.081 13.081 0 01-1.931-1.224.303.303 0 01-.063-.064l-3.503-4.775a.313.313 0 01.442-.433c.57.438 1.189.83 1.839 1.165 1.941 1.006 4.215 1.536 6.576 1.536.196 0 .404-.004.618-.012.04-.001.08-.004.12-.007l.087-.006c.14-.007.277-.014.416-.025.054-.004.108-.01.16-.013l.085-.009c.13-.01.255-.023.378-.037.065-.007.13-.017.196-.025l.068-.009a16.852 16.852 0 00.607-.09l.028-.004c.118-.02.237-.04.355-.063l.277-.055c.116-.024.234-.05.351-.077.093-.02.185-.043.278-.065.117-.029.235-.058.351-.09l.275-.075c.118-.033.236-.07.354-.106l.04-.012c.083-.025.166-.052.248-.078l.214-.07c.116-.04.232-.08.348-.123.071-.026.143-.051.214-.08.118-.044.236-.09.354-.137l.055-.02.147-.059c.135-.055.268-.114.403-.172l.063-.028c.027-.01.055-.023.081-.035l.108-.05a18.639 18.639 0 001.371-.698l.068-.038.096-.052a16.582 16.582 0 001.242-.78c.147-.101.296-.204.443-.31l.083-.062c.18-.132.342-.254.493-.372l.038-.03c.187-.148.362-.29.532-.431.143-.121.283-.243.422-.367l.086-.079.094-.086c.077-.07.155-.14.23-.211l.062-.06c.14-.135.28-.272.43-.424l.133-.137c.132-.138.262-.276.389-.417l.073-.079c.147-.164.296-.337.456-.53l.108-.131c.138-.168.263-.326.38-.483l.058-.073c.144-.191.291-.397.45-.627l.084-.124c.145-.212.28-.425.407-.63l.096-.157.014-.024.149-.251c.034-.06.068-.12.1-.18l.015-.025.139-.251.11-.207c.042-.083.085-.168.129-.251l.102-.21.12-.253.012-.029c.046-.099.092-.197.135-.296.235-.536.44-1.076.607-1.608.696-2.184.889-4.453.56-6.565a11.271 11.271 0 00-.082-.467l-.028-.133a11.506 11.506 0 00-.083-.377l-.035-.142a12.175 12.175 0 00-.343-1.13l-.06-.164c-.08-.212-.154-.401-.23-.578l-.021-.051a11.148 11.148 0 00-.374-.772c-.07-.13-.14-.26-.214-.39l-.029-.05-.064-.109a11.675 11.675 0 00-.628-.951.312.312 0 01.503-.37l.001.002 3.502 4.773a12.91 12.91 0 01.661 1.002c.024.038.044.077.067.115l.029.051c.078.136.153.273.225.41l.02.036.035.067c.009.015.016.032.023.047l.01.025c.119.233.217.442.303.639l.023.053c.082.191.16.39.243.61l.01.029c.01.019.018.038.025.06.007.017.012.037.018.056l.01.03a11.728 11.728 0 01.359 1.185l.028.114.008.034c.032.132.061.264.088.396l.008.034.013.056.008.048c.034.181.062.34.086.49.343 2.21.143 4.577-.582 6.85a16.635 16.635 0 01-.73 1.892l-.031.068-.022.046a14.23 14.23 0 01-.23.48 11.92 11.92 0 01-.248.476l-.143.26-.021.037a9.74 9.74 0 01-.253.433l-.036.06c-.017.03-.035.058-.051.088l-.02.03c-.139.224-.28.443-.429.663l-.087.126c-.166.24-.319.453-.467.65l-.058.076c-.123.16-.255.33-.395.5l-.014.018-.097.119c-.165.198-.318.377-.47.547l-.017.02a.915.915 0 01-.037.038l-.023.025c-.132.145-.266.288-.402.43l-.137.14c-.154.158-.3.3-.443.438l-.017.017a9.64 9.64 0 00-.032.032l-.012.011c-.078.074-.157.146-.236.218l-.096.09-.093.084a19.541 19.541 0 01-.986.823l-.038.031c-.158.124-.325.25-.508.383l-.086.064a23.375 23.375 0 01-.438.309l-.02.013a18.483 18.483 0 01-1.283.806l-.05.03-.072.038a19.12 19.12 0 01-1.465.747l-.032.016c-.018.008-.036.018-.054.025l-.02.008-.098.043-.059.025c-.138.061-.277.12-.416.178l-.149.06-.058.023c-.122.049-.245.096-.367.142l-.22.082-.36.126-.221.074-.047.015-.069.022c-.036.011-.072.022-.11.032l-.073.022a18.815 18.815 0 01-.65.186c-.122.032-.243.064-.365.093-.095.024-.19.046-.286.069a17.79 17.79 0 01-.365.079 15.73 15.73 0 01-.656.122l-.032.005c-.083.014-.165.028-.249.04-.126.02-.251.037-.377.052l-.069.008c-.067.009-.136.018-.202.025-.13.016-.261.027-.392.04l-.083.008-.174.015c-.144.011-.287.018-.43.025l-.081.004a10.9 10.9 0 01-.767.024zm-8.379-3.3a12.43 12.43 0 001.804 1.137c1.942 1.006 4.216 1.536 6.577 1.536a16.05 16.05 0 00.739-.02l.086-.005c.139-.007.276-.013.415-.025l.163-.014.084-.008c.128-.01.253-.023.38-.037l.193-.024.069-.01c.12-.015.243-.032.364-.05.079-.012.16-.025.239-.039l.032-.005c.12-.02.237-.04.355-.063l.277-.055a20.067 20.067 0 00.63-.142l.352-.09c.091-.025.183-.049.273-.075.118-.033.236-.07.354-.106l.084-.025.093-.027.11-.038a17.076 17.076 0 00.561-.192c.072-.026.144-.051.215-.079.118-.044.236-.09.354-.137l.06-.024.14-.055c.135-.056.27-.114.403-.173l.064-.027.08-.035.061-.028.049-.024c.198-.091.404-.19.611-.293a21.557 21.557 0 00.761-.404l.063-.033.054-.03.046-.027a18.234 18.234 0 001.243-.78l.055-.035c.13-.09.259-.18.388-.274l.084-.062c.178-.131.34-.252.492-.373l.038-.03.264-.21a19.304 19.304 0 00.69-.587c.029-.025.057-.052.083-.077l.1-.092c.075-.069.152-.137.225-.208a.08.08 0 01.011-.01l.052-.05a17.113 17.113 0 00.562-.56c.132-.138.263-.277.389-.417l.074-.08a18.896 18.896 0 00.548-.644l.016-.018c.134-.165.263-.33.382-.483l.056-.074c.143-.189.29-.394.45-.626l.084-.123c.144-.212.28-.425.408-.63l.025-.039.046-.078.039-.065.148-.25c.032-.056.064-.111.095-.168l.02-.038c.046-.083.094-.166.138-.25a14.79 14.79 0 00.238-.458l.104-.211.12-.253.052-.11.096-.213c.236-.538.44-1.078.607-1.609.696-2.183.889-4.453.56-6.565a12.975 12.975 0 00-.082-.465l-.027-.132a16.316 16.316 0 00-.083-.377l-.008-.034-.025-.106a11.436 11.436 0 00-.343-1.13l-.017-.05-.01-.031-.012-.03-.021-.052a12.056 12.056 0 00-.23-.578l-.022-.051c-.08-.186-.175-.385-.287-.607l-.022-.046-.011-.025a13.258 13.258 0 00-.267-.486l-.03-.054a11.045 11.045 0 00-.389-.628c-.002-.001-.003-.004-.005-.007a13.32 13.32 0 00-.296-.422l-1.195-1.63a12.852 12.852 0 01.261.9l.036.146c.03.132.06.263.087.395l.03.139c.034.178.062.337.086.49.343 2.208.141 4.577-.582 6.85a16.382 16.382 0 01-.63 1.67c-.045.102-.094.205-.141.308l-.013.028-.123.262-.107.218-.133.261-.113.214c-.047.088-.096.174-.145.261l-.013.025a12.525 12.525 0 01-.26.446l-.014.024-.1.165c-.13.213-.272.432-.422.653l-.088.128c-.164.239-.316.451-.466.65l-.059.075c-.123.162-.252.326-.394.5l-.113.136c-.163.198-.318.376-.47.546l-.077.082a23.629 23.629 0 01-.54.572 18.55 18.55 0 01-.443.437l-.064.063-.238.22-.09.082c-.032.03-.062.059-.094.087a19.541 19.541 0 01-.988.823l-.037.03c-.157.123-.324.25-.509.384l-.086.064a21.1 21.1 0 01-1.1.743c-.197.124-.407.249-.64.383l-.106.059-.063.036a18.867 18.867 0 01-1.417.72l-.049.023-.064.03-.091.04-.06.026c-.139.06-.278.12-.417.178l-.155.062-.053.02c-.122.05-.243.097-.367.142l-.222.082a17.86 17.86 0 01-.58.2l-.26.08-.04.01a18.815 18.815 0 01-1.666.427 17.24 17.24 0 01-.655.122l-.028.004-.254.042c-.127.02-.252.036-.377.052l-.066.008c-.07.01-.138.018-.206.026-.129.016-.258.027-.387.04l-.087.008a7.906 7.906 0 01-.173.015c-.143.01-.286.018-.43.025l-.081.004a17.27 17.27 0 01-.775.02c-2.461 0-4.834-.556-6.864-1.608-.154-.079-.306-.162-.456-.247l2.446 3.33zM120.843 90.037a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.134zM33.935 82.412a2.067 2.067 0 100-4.133 2.067 2.067 0 000 4.133zM34.97 84.083a.728.728 0 100-1.455.728.728 0 000 1.455zM45.217 56.42a2.067 2.067 0 100-4.134 2.067 2.067 0 000 4.133zM47.632 53.008a.728.728 0 100-1.455.728.728 0 000 1.455z"}),s.jsx("path",{fill:"#EEE",d:"M126.15 45.536a3.556 3.556 0 10-.001-7.11 3.556 3.556 0 00.001 7.11z"}),s.jsx("path",{fill:"#F9FAFB",d:"M122.594 40.225a1.693 1.693 0 100-3.386 1.693 1.693 0 000 3.386z"})]})}var yo=typeof p.commonjsGlobal=="object"&&p.commonjsGlobal&&p.commonjsGlobal.Object===Object&&p.commonjsGlobal,vo=typeof self=="object"&&self&&self.Object===Object&&self;yo||vo||Function("return this")();function xo(e){const[t,r]=j.useState(!!e),n=j.useCallback(()=>{r(!0)},[]),o=j.useCallback(()=>{r(!1)},[]),i=j.useCallback(()=>{r(a=>!a)},[]);return{value:t,setValue:r,setTrue:n,setFalse:o,toggle:i}}function bo(e){var t;return s.jsxs(N.Dialog,{...e.dialogProps,open:e.open,children:[!e.hideTitle&&s.jsxs(N.DialogTitle,{component:N.Stack,sx:{...e.titleProps,textAlign:"center"},children:[typeof e.title=="string"?s.jsx(N.Typography,{variant:"h4",children:e.title}):e.title,typeof e.subTitle=="string"?s.jsx(N.Typography,{color:"success.main",variant:"body1",...e.subTitleProps,children:e.subTitle}):e.subTitle]}),s.jsx(N.DialogContent,{sx:{...e.contentProps,overflowY:e.fixOverflow?"unset":void 0},children:e.desc}),!(e.hideClose&&e.hideConfirm)&&s.jsx(N.DialogActions,{...e.dialogActionsProps,sx:{display:"flex",justifyContent:"space-between","& button":{minWidth:e.minWidthButton||200},px:3,pb:3,...(t=e.dialogActionsProps)==null?void 0:t.sx},children:e.customActions?e.customActions:s.jsxs(s.Fragment,{children:[!e.hideClose&&s.jsx(N.Button,{color:"error",onClick:e.onClose,children:"Close"}),!e.hideConfirm&&s.jsx(N.Button,{color:"primary",onClick:e.onConfirm,children:"Submit"})]})})]})}function _o(e){const t=xo(typeof e=="boolean"?e:void 0);return{setTrue:t.setTrue,open:t.value,onClose:t.setFalse,onConfirm:typeof e!="boolean"?e==null?void 0:e.onConfirm:void 0}}const So=()=>{const{t:e}=p.useTranslation();return s.jsx("div",{className:"unauth__container "+p.styles["page-container"],children:s.jsxs("div",{className:"unauth__main-content "+p.styles["page-main-content"],children:[s.jsx(wo,{}),s.jsxs("div",{className:"unauth__main-text",children:[s.jsx("h2",{className:"unauth__main-text__title "+p.styles["page-title"],children:e("components.unauthorizedPage.title")}),s.jsxs("p",{className:"unauth__main-text__desc "+p.styles["text-base"],children:[e("components.unauthorizedPage.description1")," ",s.jsx("br",{})," ",e("components.unauthorizedPage.description2")]})]})]})})},wo=()=>s.jsxs("svg",{width:"61",height:"60",viewBox:"0 0 61 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsxs("g",{filter:"url(#filter0_d_10800_50471)",children:[s.jsx("rect",{x:"2.5",y:"1",width:"56",height:"56",rx:"28",fill:"white"}),s.jsx("path",{d:"M24.6667 27.833V23.1663C24.6667 21.6192 25.2812 20.1355 26.3752 19.0416C27.4692 17.9476 28.9529 17.333 30.5 17.333C32.0471 17.333 33.5308 17.9476 34.6248 19.0416C35.7188 20.1355 36.3333 21.6192 36.3333 23.1663V27.833M22.3333 27.833H38.6667C39.9553 27.833 41 28.8777 41 30.1663V38.333C41 39.6217 39.9553 40.6663 38.6667 40.6663H22.3333C21.0447 40.6663 20 39.6217 20 38.333V30.1663C20 28.8777 21.0447 27.833 22.3333 27.833Z",stroke:"#292929","stroke-width":"2.33333","stroke-linecap":"round","stroke-linejoin":"round"})]}),s.jsx("defs",{children:s.jsxs("filter",{id:"filter0_d_10800_50471",x:"0.5",y:"0",width:"60",height:"60",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[s.jsx("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),s.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),s.jsx("feOffset",{dy:"1"}),s.jsx("feGaussianBlur",{stdDeviation:"1"}),s.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.05 0"}),s.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_10800_50471"}),s.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_10800_50471",result:"shape"})]})})]});function he(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function an(e){if(!he(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=an(e[r])}),t}function le(e,t,r={clone:!0}){const n=r.clone?p._extends({},e):e;return he(e)&&he(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(he(t[o])&&o in e&&he(e[o])?n[o]=le(e[o],t[o],r):r.clone?n[o]=he(t[o])?an(t[o]):t[o]:n[o]=t[o])}),n}const Eo=Object.freeze(Object.defineProperty({__proto__:null,default:le,isPlainObject:he},Symbol.toStringTag,{value:"Module"}));function Ue(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const Co=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"}));var Vt={exports:{}},A={};/**
|
|
37
37
|
* @license React
|
|
38
38
|
* react-is.production.min.js
|
|
39
39
|
*
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
*
|
|
42
42
|
* This source code is licensed under the MIT license found in the
|
|
43
43
|
* LICENSE file in the root directory of this source tree.
|
|
44
|
-
*/var gr;function jo(){if(gr)return A;gr=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),
|
|
44
|
+
*/var gr;function jo(){if(gr)return A;gr=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function l(u){if(typeof u=="object"&&u!==null){var x=u.$$typeof;switch(x){case e:switch(u=u.type,u){case r:case o:case n:case f:case h:return u;default:switch(u=u&&u.$$typeof,u){case c:case a:case d:case y:case m:case i:return u;default:return x}}case t:return x}}}return A.ContextConsumer=a,A.ContextProvider=i,A.Element=e,A.ForwardRef=d,A.Fragment=r,A.Lazy=y,A.Memo=m,A.Portal=t,A.Profiler=o,A.StrictMode=n,A.Suspense=f,A.SuspenseList=h,A.isAsyncMode=function(){return!1},A.isConcurrentMode=function(){return!1},A.isContextConsumer=function(u){return l(u)===a},A.isContextProvider=function(u){return l(u)===i},A.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===e},A.isForwardRef=function(u){return l(u)===d},A.isFragment=function(u){return l(u)===r},A.isLazy=function(u){return l(u)===y},A.isMemo=function(u){return l(u)===m},A.isPortal=function(u){return l(u)===t},A.isProfiler=function(u){return l(u)===o},A.isStrictMode=function(u){return l(u)===n},A.isSuspense=function(u){return l(u)===f},A.isSuspenseList=function(u){return l(u)===h},A.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===r||u===o||u===n||u===f||u===h||u===b||typeof u=="object"&&u!==null&&(u.$$typeof===y||u.$$typeof===m||u.$$typeof===i||u.$$typeof===a||u.$$typeof===d||u.$$typeof===v||u.getModuleId!==void 0)},A.typeOf=l,A}var I={};/**
|
|
45
45
|
* @license React
|
|
46
46
|
* react-is.development.js
|
|
47
47
|
*
|
|
@@ -49,48 +49,48 @@
|
|
|
49
49
|
*
|
|
50
50
|
* This source code is licensed under the MIT license found in the
|
|
51
51
|
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/var yr;function To(){return yr||(yr=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),
|
|
52
|
+
*/var yr;function To(){return yr||(yr=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),v=!1,l=!1,u=!1,x=!1,_=!1,S;S=Symbol.for("react.module.reference");function C(O){return!!(typeof O=="string"||typeof O=="function"||O===r||O===o||_||O===n||O===f||O===h||x||O===b||v||l||u||typeof O=="object"&&O!==null&&(O.$$typeof===y||O.$$typeof===m||O.$$typeof===i||O.$$typeof===a||O.$$typeof===d||O.$$typeof===S||O.getModuleId!==void 0))}function g(O){if(typeof O=="object"&&O!==null){var Ee=O.$$typeof;switch(Ee){case e:var tt=O.type;switch(tt){case r:case o:case n:case f:case h:return tt;default:var mr=tt&&tt.$$typeof;switch(mr){case c:case a:case d:case y:case m:case i:return mr;default:return Ee}}case t:return Ee}}}var w=a,E=i,M=e,P=d,B=r,z=y,W=m,G=t,ae=o,pe=n,ge=f,be=h,ue=!1,_e=!1;function ye(O){return ue||(ue=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(O){return _e||(_e=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Fe(O){return g(O)===a}function Se(O){return g(O)===i}function de(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function we(O){return g(O)===d}function $t(O){return g(O)===r}function Mt(O){return g(O)===y}function Pt(O){return g(O)===m}function At(O){return g(O)===t}function It(O){return g(O)===o}function Rt(O){return g(O)===n}function T(O){return g(O)===f}function Ve(O){return g(O)===h}I.ContextConsumer=w,I.ContextProvider=E,I.Element=M,I.ForwardRef=P,I.Fragment=B,I.Lazy=z,I.Memo=W,I.Portal=G,I.Profiler=ae,I.StrictMode=pe,I.Suspense=ge,I.SuspenseList=be,I.isAsyncMode=ye,I.isConcurrentMode=Le,I.isContextConsumer=Fe,I.isContextProvider=Se,I.isElement=de,I.isForwardRef=we,I.isFragment=$t,I.isLazy=Mt,I.isMemo=Pt,I.isPortal=At,I.isProfiler=It,I.isStrictMode=Rt,I.isSuspense=T,I.isSuspenseList=Ve,I.isValidElementType=C,I.typeOf=g}()),I}process.env.NODE_ENV==="production"?Vt.exports=jo():Vt.exports=To();var vr=Vt.exports;const Oo=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function sn(e){const t=`${e}`.match(Oo);return t&&t[1]||""}function ln(e,t=""){return e.displayName||e.name||sn(e)||t}function xr(e,t,r){const n=ln(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function No(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ln(e,"Component");if(typeof e=="object")switch(e.$$typeof){case vr.ForwardRef:return xr(e,e.render,"ForwardRef");case vr.Memo:return xr(e,e.type,"memo");default:return}}}const ko=Object.freeze(Object.defineProperty({__proto__:null,default:No,getFunctionName:sn},Symbol.toStringTag,{value:"Module"}));function ve(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ue(7));return e.charAt(0).toUpperCase()+e.slice(1)}const $o=Object.freeze(Object.defineProperty({__proto__:null,default:ve},Symbol.toStringTag,{value:"Module"}));function cn(e,t){const r=p._extends({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=p._extends({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=p._extends({},i),Object.keys(o).forEach(a=>{r[n][a]=cn(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Mo(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const c=t(a);c!==""&&i.push(c),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const br=e=>e,Po=()=>{let e=br;return{configure(t){e=t},generate(t){return e(t)},reset(){e=br}}},Ao=Po(),Io=Ao,Ro={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Xt(e,t,r="Mui"){const n=Ro[t];return n?`${r}-${n}`:`${Io.generate(e)}-${t}`}function Do(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Xt(e,o,r)}),n}function zo(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Lo=Object.freeze(Object.defineProperty({__proto__:null,default:zo},Symbol.toStringTag,{value:"Module"}));function Fo(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:cn(t.components[r].defaultProps,n)}const Vo=["values","unit","step"],Ho=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>p._extends({},r,{[n.key]:n.val}),{})};function un(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=p._objectWithoutPropertiesLoose(e,Vo),i=Ho(t),a=Object.keys(i);function c(y){return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r})`}function d(y){return`@media (max-width:${(typeof t[y]=="number"?t[y]:y)-n/100}${r})`}function f(y,b){const v=a.indexOf(b);return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:b)-n/100}${r})`}function h(y){return a.indexOf(y)+1<a.length?f(y,a[a.indexOf(y)+1]):c(y)}function m(y){const b=a.indexOf(y);return b===0?c(a[1]):b===a.length-1?d(a[b]):f(y,a[a.indexOf(y)+1]).replace("@media","@media not all and")}return p._extends({keys:a,values:i,up:c,down:d,between:f,only:h,not:m,unit:r},o)}const Bo={borderRadius:4},Wo=Bo,Uo=process.env.NODE_ENV!=="production"?p.PropTypes.oneOfType([p.PropTypes.number,p.PropTypes.string,p.PropTypes.object,p.PropTypes.array]):{},me=Uo;function We(e,t){return t?le(e,t,{clone:!1}):e}const Jt={xs:0,sm:600,md:900,lg:1200,xl:1536},_r={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Jt[e]}px)`};function fe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||_r;return t.reduce((a,c,d)=>(a[i.up(i.keys[d])]=r(t[d]),a),{})}if(typeof t=="object"){const i=n.breakpoints||_r;return Object.keys(t).reduce((a,c)=>{if(Object.keys(i.values||Jt).indexOf(c)!==-1){const d=i.up(c);a[d]=r(t[c],c)}else{const d=c;a[d]=t[d]}return a},{})}return r(t)}function qo(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Yo(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function yt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function ft(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=yt(e,r)||n,t&&(o=t(o,n,e)),o}function U(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const c=a[t],d=a.theme,f=yt(d,n)||{};return fe(a,c,m=>{let y=ft(f,o,m);return m===y&&typeof m=="string"&&(y=ft(f,o,`${t}${m==="default"?"":ve(m)}`,m)),r===!1?y:{[r]:y}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:me}:{},i.filterProps=[t],i}function Go(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ko={m:"margin",p:"padding"},Zo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Sr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Xo=Go(e=>{if(e.length>2)if(Sr[e])e=Sr[e];else return[e];const[t,r]=e.split(""),n=Ko[t],o=Zo[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),vt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],xt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Jo=[...vt,...xt];function Ze(e,t,r,n){var o;const i=(o=yt(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
53
53
|
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
54
54
|
`))),i[a]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
55
|
-
`)),()=>{})}function dn(e){return Ze(e,"spacing",8,"spacing")}function Xe(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Qo(e,t){return r=>e.reduce((n,o)=>(n[o]=Xe(t,r),n),{})}function ei(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Xo(r),i=Qo(o,n),a=e[r];return fe(e,a,i)}function fn(e,t){const r=dn(e.theme);return Object.keys(e).map(n=>ei(e,t,n,r)).reduce(We,{})}function V(e){return fn(e,vt)}V.propTypes=process.env.NODE_ENV!=="production"?vt.reduce((e,t)=>(e[t]=pe,e),{}):{};V.filterProps=vt;function H(e){return fn(e,xt)}H.propTypes=process.env.NODE_ENV!=="production"?xt.reduce((e,t)=>(e[t]=pe,e),{}):{};H.filterProps=xt;process.env.NODE_ENV!=="production"&&Jo.reduce((e,t)=>(e[t]=pe,e),{});function ti(e=8){if(e.mui)return e;const t=dn({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function bt(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?We(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function re(e){return typeof e!="number"?e:`${e}px solid`}function oe(e,t){return U({prop:e,themeKey:"borders",transform:t})}const ri=oe("border",re),ni=oe("borderTop",re),oi=oe("borderRight",re),ii=oe("borderBottom",re),ai=oe("borderLeft",re),si=oe("borderColor"),li=oe("borderTopColor"),ci=oe("borderRightColor"),ui=oe("borderBottomColor"),di=oe("borderLeftColor"),fi=oe("outline",re),hi=oe("outlineColor"),_t=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ze(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Xe(t,n)});return fe(e,e.borderRadius,r)}return null};_t.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:pe}:{};_t.filterProps=["borderRadius"];bt(ri,ni,oi,ii,ai,si,li,ci,ui,di,_t,fi,hi);const wt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ze(e.theme,"spacing",8,"gap"),r=n=>({gap:Xe(t,n)});return fe(e,e.gap,r)}return null};wt.propTypes=process.env.NODE_ENV!=="production"?{gap:pe}:{};wt.filterProps=["gap"];const St=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ze(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Xe(t,n)});return fe(e,e.columnGap,r)}return null};St.propTypes=process.env.NODE_ENV!=="production"?{columnGap:pe}:{};St.filterProps=["columnGap"];const Et=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ze(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Xe(t,n)});return fe(e,e.rowGap,r)}return null};Et.propTypes=process.env.NODE_ENV!=="production"?{rowGap:pe}:{};Et.filterProps=["rowGap"];const pi=U({prop:"gridColumn"}),mi=U({prop:"gridRow"}),gi=U({prop:"gridAutoFlow"}),yi=U({prop:"gridAutoColumns"}),xi=U({prop:"gridAutoRows"}),bi=U({prop:"gridTemplateColumns"}),_i=U({prop:"gridTemplateRows"}),wi=U({prop:"gridTemplateAreas"}),Si=U({prop:"gridArea"});bt(wt,St,Et,pi,mi,gi,yi,xi,bi,_i,wi,Si);function $e(e,t){return t==="grey"?t:e}const Ei=U({prop:"color",themeKey:"palette",transform:$e}),Ci=U({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:$e}),ji=U({prop:"backgroundColor",themeKey:"palette",transform:$e});bt(Ei,Ci,ji);function Q(e){return e<=1&&e!==0?`${e*100}%`:e}const Ti=U({prop:"width",transform:Q}),Qt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Jt[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Q(r)}};return fe(e,e.maxWidth,t)}return null};Qt.filterProps=["maxWidth"];const Oi=U({prop:"minWidth",transform:Q}),Ni=U({prop:"height",transform:Q}),ki=U({prop:"maxHeight",transform:Q}),Mi=U({prop:"minHeight",transform:Q});U({prop:"size",cssProperty:"width",transform:Q});U({prop:"size",cssProperty:"height",transform:Q});const $i=U({prop:"boxSizing"});bt(Ti,Qt,Oi,Ni,ki,Mi,$i);const Ii={border:{themeKey:"borders",transform:re},borderTop:{themeKey:"borders",transform:re},borderRight:{themeKey:"borders",transform:re},borderBottom:{themeKey:"borders",transform:re},borderLeft:{themeKey:"borders",transform:re},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:re},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_t},color:{themeKey:"palette",transform:$e},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:$e},backgroundColor:{themeKey:"palette",transform:$e},p:{style:H},pt:{style:H},pr:{style:H},pb:{style:H},pl:{style:H},px:{style:H},py:{style:H},padding:{style:H},paddingTop:{style:H},paddingRight:{style:H},paddingBottom:{style:H},paddingLeft:{style:H},paddingX:{style:H},paddingY:{style:H},paddingInline:{style:H},paddingInlineStart:{style:H},paddingInlineEnd:{style:H},paddingBlock:{style:H},paddingBlockStart:{style:H},paddingBlockEnd:{style:H},m:{style:V},mt:{style:V},mr:{style:V},mb:{style:V},ml:{style:V},mx:{style:V},my:{style:V},margin:{style:V},marginTop:{style:V},marginRight:{style:V},marginBottom:{style:V},marginLeft:{style:V},marginX:{style:V},marginY:{style:V},marginInline:{style:V},marginInlineStart:{style:V},marginInlineEnd:{style:V},marginBlock:{style:V},marginBlockStart:{style:V},marginBlockEnd:{style:V},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:wt},rowGap:{style:Et},columnGap:{style:St},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Q},maxWidth:{style:Qt},minWidth:{transform:Q},height:{transform:Q},maxHeight:{transform:Q},minHeight:{transform:Q},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Je=Ii;function Ai(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Pi(e,t){return typeof e=="function"?e(t):e}function hn(){function e(r,n,o,i){const a={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:f=r,themeKey:h,transform:p,style:d}=c;if(n==null)return null;if(h==="typography"&&n==="inherit")return{[r]:n};const g=yt(o,h)||{};return d?d(a):fe(a,n,v=>{let l=ft(g,p,v);return v===l&&typeof v=="string"&&(l=ft(g,p,`${r}${v==="default"?"":ve(v)}`,v)),f===!1?l:{[f]:l}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Je;function c(f){let h=f;if(typeof f=="function")h=f(i);else if(typeof f!="object")return f;if(!h)return null;const p=qo(i.breakpoints),d=Object.keys(p);let g=p;return Object.keys(h).forEach(b=>{const v=Pi(h[b],i);if(v!=null)if(typeof v=="object")if(a[b])g=We(g,e(b,v,i,a));else{const l=fe({theme:i},v,u=>({[b]:u}));Ai(l,v)?g[b]=t({sx:v,theme:i}):g=We(g,l)}else g=We(g,e(b,v,i,a))}),Yo(d,g)}return Array.isArray(o)?o.map(c):c(o)}return t}const pn=hn();pn.filterProps=["sx"];const er=pn;function mn(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const Ri=["breakpoints","palette","spacing","shape"];function tr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=m._objectWithoutPropertiesLoose(e,Ri),c=un(r),f=ti(o);let h=le({breakpoints:c,direction:"ltr",components:{},palette:m._extends({mode:"light"},n),spacing:f,shape:m._extends({},Wo,i)},a);return h.applyStyles=mn,h=t.reduce((p,d)=>le(p,d),h),h.unstable_sxConfig=m._extends({},Je,a==null?void 0:a.unstable_sxConfig),h.unstable_sx=function(d){return er({sx:d,theme:this})},h}const Di=Object.freeze(Object.defineProperty({__proto__:null,default:tr,private_createBreakpoints:un,unstable_applyStyles:mn},Symbol.toStringTag,{value:"Module"}));function gn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var zi=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Li=gn(function(e){return zi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Fi(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Vi(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Hi=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Vi(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
56
|
-
`+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var a=Fi(o);try{a.insertRule(n,a.cssRules.length)}catch(c){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',c)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),X="-ms-",ht="-moz-",k="-webkit-",rr="comm",nr="rule",or="decl",Bi="@import",yn="@keyframes",Wi="@layer",Ui=Math.abs,Ct=String.fromCharCode,qi=Object.assign;function Yi(e,t){return Z(e,0)^45?(((t<<2^Z(e,0))<<2^Z(e,1))<<2^Z(e,2))<<2^Z(e,3):0}function vn(e){return e.trim()}function Gi(e,t){return(e=t.exec(e))?e[0]:e}function M(e,t,r){return e.replace(t,r)}function Ht(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function qe(e,t,r){return e.slice(t,r)}function se(e){return e.length}function ir(e){return e.length}function rt(e,t){return t.push(e),e}function Ki(e,t){return e.map(t).join("")}var jt=1,Ae=1,xn=0,J=0,Y=0,Re="";function Tt(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:jt,column:Ae,length:a,return:""}}function He(e,t){return qi(Tt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Zi(){return Y}function Xi(){return Y=J>0?Z(Re,--J):0,Ae--,Y===10&&(Ae=1,jt--),Y}function ee(){return Y=J<xn?Z(Re,J++):0,Ae++,Y===10&&(Ae=1,jt++),Y}function ce(){return Z(Re,J)}function ot(){return J}function Qe(e,t){return qe(Re,e,t)}function Ye(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bn(e){return jt=Ae=1,xn=se(Re=e),J=0,[]}function _n(e){return Re="",e}function it(e){return vn(Qe(J-1,Bt(e===91?e+2:e===40?e+1:e)))}function Ji(e){for(;(Y=ce())&&Y<33;)ee();return Ye(e)>2||Ye(Y)>3?"":" "}function Qi(e,t){for(;--t&&ee()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return Qe(e,ot()+(t<6&&ce()==32&&ee()==32))}function Bt(e){for(;ee();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&Bt(Y);break;case 40:e===41&&Bt(e);break;case 92:ee();break}return J}function ea(e,t){for(;ee()&&e+Y!==47+10;)if(e+Y===42+42&&ce()===47)break;return"/*"+Qe(t,J-1)+"*"+Ct(e===47?e:ee())}function ta(e){for(;!Ye(ce());)ee();return Qe(e,J)}function ra(e){return _n(at("",null,null,null,[""],e=bn(e),0,[0],e))}function at(e,t,r,n,o,i,a,c,f){for(var h=0,p=0,d=a,g=0,b=0,v=0,l=1,u=1,x=1,_=0,w="",C=o,y=i,S=n,E=w;u;)switch(v=_,_=ee()){case 40:if(v!=108&&Z(E,d-1)==58){Ht(E+=M(it(_),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:E+=it(_);break;case 9:case 10:case 13:case 32:E+=Ji(v);break;case 92:E+=Qi(ot()-1,7);continue;case 47:switch(ce()){case 42:case 47:rt(na(ea(ee(),ot()),t,r),f);break;default:E+="/"}break;case 123*l:c[h++]=se(E)*x;case 125*l:case 59:case 0:switch(_){case 0:case 125:u=0;case 59+p:x==-1&&(E=M(E,/\f/g,"")),b>0&&se(E)-d&&rt(b>32?Er(E+";",n,r,d-1):Er(M(E," ","")+";",n,r,d-2),f);break;case 59:E+=";";default:if(rt(S=Sr(E,t,r,h,p,o,c,w,C=[],y=[],d),i),_===123)if(p===0)at(E,t,S,S,C,i,d,c,y);else switch(g===99&&Z(E,3)===110?100:g){case 100:case 108:case 109:case 115:at(e,S,S,n&&rt(Sr(e,S,S,0,0,o,c,w,o,C=[],d),y),o,y,d,c,n?C:y);break;default:at(E,S,S,S,[""],y,0,c,y)}}h=p=b=0,l=x=1,w=E="",d=a;break;case 58:d=1+se(E),b=v;default:if(l<1){if(_==123)--l;else if(_==125&&l++==0&&Xi()==125)continue}switch(E+=Ct(_),_*l){case 38:x=p>0?1:(E+="\f",-1);break;case 44:c[h++]=(se(E)-1)*x,x=1;break;case 64:ce()===45&&(E+=it(ee())),g=ce(),p=d=se(w=E+=ta(ot())),_++;break;case 45:v===45&&se(E)==2&&(l=0)}}return i}function Sr(e,t,r,n,o,i,a,c,f,h,p){for(var d=o-1,g=o===0?i:[""],b=ir(g),v=0,l=0,u=0;v<n;++v)for(var x=0,_=qe(e,d+1,d=Ui(l=a[v])),w=e;x<b;++x)(w=vn(l>0?g[x]+" "+_:M(_,/&\f/g,g[x])))&&(f[u++]=w);return Tt(e,t,r,o===0?nr:c,f,h,p)}function na(e,t,r){return Tt(e,t,r,rr,Ct(Zi()),qe(e,2,-2),0)}function Er(e,t,r,n){return Tt(e,t,r,or,qe(e,0,n),qe(e,n+1,-1),n)}function Ie(e,t){for(var r="",n=ir(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function oa(e,t,r,n){switch(e.type){case Wi:if(e.children.length)break;case Bi:case or:return e.return=e.return||e.value;case rr:return"";case yn:return e.return=e.value+"{"+Ie(e.children,n)+"}";case nr:e.value=e.props.join(",")}return se(r=Ie(e.children,n))?e.return=e.value+"{"+r+"}":""}function ia(e){var t=ir(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function aa(e){return function(t){t.root||(t=t.return)&&e(t)}}var sa=function(t,r,n){for(var o=0,i=0;o=i,i=ce(),o===38&&i===12&&(r[n]=1),!Ye(i);)ee();return Qe(t,J)},la=function(t,r){var n=-1,o=44;do switch(Ye(o)){case 0:o===38&&ce()===12&&(r[n]=1),t[n]+=sa(J-1,r,n);break;case 2:t[n]+=it(o);break;case 4:if(o===44){t[++n]=ce()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ct(o)}while(o=ee());return t},ca=function(t,r){return _n(la(bn(t),r))},Cr=new WeakMap,ua=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Cr.get(n))&&!o){Cr.set(t,!0);for(var i=[],a=ca(r,i),c=n.props,f=0,h=0;f<a.length;f++)for(var p=0;p<c.length;p++,h++)t.props[h]=i[f]?a[f].replace(/&\f/g,c[p]):c[p]+" "+a[f]}}},da=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},fa="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",ha=function(t){return t.type==="comm"&&t.children.indexOf(fa)>-1},pa=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var a=!!r.parent,c=a?r.parent.children:o,f=c.length-1;f>=0;f--){var h=c[f];if(h.line<r.line)break;if(h.column<r.column){if(ha(h))return;break}}i.forEach(function(p){console.error('The pseudo class "'+p+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+p.split("-child")[0]+'-of-type".')})}}}},wn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},ma=function(t,r){for(var n=t-1;n>=0;n--)if(!wn(r[n]))return!0;return!1},jr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},ga=function(t,r,n){wn(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),jr(t)):ma(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),jr(t)))};function Sn(e,t){switch(Yi(e,t)){case 5103:return k+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+ht+e+X+e+e;case 6828:case 4268:return k+e+X+e+e;case 6165:return k+e+X+"flex-"+e+e;case 5187:return k+e+M(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return k+e+X+"flex-item-"+M(e,/flex-|-self/,"")+e;case 4675:return k+e+X+"flex-line-pack"+M(e,/align-content|flex-|-self/,"")+e;case 5548:return k+e+X+M(e,"shrink","negative")+e;case 5292:return k+e+X+M(e,"basis","preferred-size")+e;case 6060:return k+"box-"+M(e,"-grow","")+k+e+X+M(e,"grow","positive")+e;case 4554:return k+M(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return M(M(M(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return M(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return M(M(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4095:case 3583:case 4068:case 2532:return M(e,/(.+)-inline(.+)/,k+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(se(e)-1-t>6)switch(Z(e,t+1)){case 109:if(Z(e,t+4)!==45)break;case 102:return M(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+ht+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ht(e,"stretch")?Sn(M(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Z(e,t+1)!==115)break;case 6444:switch(Z(e,se(e)-3-(~Ht(e,"!important")&&10))){case 107:return M(e,":",":"+k)+e;case 101:return M(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+k+(Z(e,14)===45?"inline-":"")+"box$3$1"+k+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return k+e+X+M(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+X+M(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+X+M(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return k+e+X+e+e}return e}var ya=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case or:t.return=Sn(t.value,t.length);break;case yn:return Ie([He(t,{value:M(t.value,"@","@"+k)})],o);case nr:if(t.length)return Ki(t.props,function(i){switch(Gi(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ie([He(t,{props:[M(i,/:(read-\w+)/,":"+ht+"$1")]})],o);case"::placeholder":return Ie([He(t,{props:[M(i,/:(plac\w+)/,":"+k+"input-$1")]}),He(t,{props:[M(i,/:(plac\w+)/,":"+ht+"$1")]}),He(t,{props:[M(i,/:(plac\w+)/,X+"input-$1")]})],o)}return""})}},va=[ya],En=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
57
|
-
If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(l){var u=l.getAttribute("data-emotion");u.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||va;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var i={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var u=l.getAttribute("data-emotion").split(" "),x=1;x<u.length;x++)i[u[x]]=!0;c.push(l)});var f
|
|
55
|
+
`)),()=>{})}function dn(e){return Ze(e,"spacing",8,"spacing")}function Xe(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Qo(e,t){return r=>e.reduce((n,o)=>(n[o]=Xe(t,r),n),{})}function ei(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Xo(r),i=Qo(o,n),a=e[r];return fe(e,a,i)}function fn(e,t){const r=dn(e.theme);return Object.keys(e).map(n=>ei(e,t,n,r)).reduce(We,{})}function V(e){return fn(e,vt)}V.propTypes=process.env.NODE_ENV!=="production"?vt.reduce((e,t)=>(e[t]=me,e),{}):{};V.filterProps=vt;function H(e){return fn(e,xt)}H.propTypes=process.env.NODE_ENV!=="production"?xt.reduce((e,t)=>(e[t]=me,e),{}):{};H.filterProps=xt;process.env.NODE_ENV!=="production"&&Jo.reduce((e,t)=>(e[t]=me,e),{});function ti(e=8){if(e.mui)return e;const t=dn({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function bt(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?We(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function re(e){return typeof e!="number"?e:`${e}px solid`}function oe(e,t){return U({prop:e,themeKey:"borders",transform:t})}const ri=oe("border",re),ni=oe("borderTop",re),oi=oe("borderRight",re),ii=oe("borderBottom",re),ai=oe("borderLeft",re),si=oe("borderColor"),li=oe("borderTopColor"),ci=oe("borderRightColor"),ui=oe("borderBottomColor"),di=oe("borderLeftColor"),fi=oe("outline",re),hi=oe("outlineColor"),_t=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ze(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Xe(t,n)});return fe(e,e.borderRadius,r)}return null};_t.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:me}:{};_t.filterProps=["borderRadius"];bt(ri,ni,oi,ii,ai,si,li,ci,ui,di,_t,fi,hi);const St=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ze(e.theme,"spacing",8,"gap"),r=n=>({gap:Xe(t,n)});return fe(e,e.gap,r)}return null};St.propTypes=process.env.NODE_ENV!=="production"?{gap:me}:{};St.filterProps=["gap"];const wt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ze(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Xe(t,n)});return fe(e,e.columnGap,r)}return null};wt.propTypes=process.env.NODE_ENV!=="production"?{columnGap:me}:{};wt.filterProps=["columnGap"];const Et=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ze(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Xe(t,n)});return fe(e,e.rowGap,r)}return null};Et.propTypes=process.env.NODE_ENV!=="production"?{rowGap:me}:{};Et.filterProps=["rowGap"];const mi=U({prop:"gridColumn"}),pi=U({prop:"gridRow"}),gi=U({prop:"gridAutoFlow"}),yi=U({prop:"gridAutoColumns"}),xi=U({prop:"gridAutoRows"}),bi=U({prop:"gridTemplateColumns"}),_i=U({prop:"gridTemplateRows"}),Si=U({prop:"gridTemplateAreas"}),wi=U({prop:"gridArea"});bt(St,wt,Et,mi,pi,gi,yi,xi,bi,_i,Si,wi);function Me(e,t){return t==="grey"?t:e}const Ei=U({prop:"color",themeKey:"palette",transform:Me}),Ci=U({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Me}),ji=U({prop:"backgroundColor",themeKey:"palette",transform:Me});bt(Ei,Ci,ji);function Q(e){return e<=1&&e!==0?`${e*100}%`:e}const Ti=U({prop:"width",transform:Q}),Qt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Jt[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Q(r)}};return fe(e,e.maxWidth,t)}return null};Qt.filterProps=["maxWidth"];const Oi=U({prop:"minWidth",transform:Q}),Ni=U({prop:"height",transform:Q}),ki=U({prop:"maxHeight",transform:Q}),$i=U({prop:"minHeight",transform:Q});U({prop:"size",cssProperty:"width",transform:Q});U({prop:"size",cssProperty:"height",transform:Q});const Mi=U({prop:"boxSizing"});bt(Ti,Qt,Oi,Ni,ki,$i,Mi);const Pi={border:{themeKey:"borders",transform:re},borderTop:{themeKey:"borders",transform:re},borderRight:{themeKey:"borders",transform:re},borderBottom:{themeKey:"borders",transform:re},borderLeft:{themeKey:"borders",transform:re},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:re},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_t},color:{themeKey:"palette",transform:Me},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Me},backgroundColor:{themeKey:"palette",transform:Me},p:{style:H},pt:{style:H},pr:{style:H},pb:{style:H},pl:{style:H},px:{style:H},py:{style:H},padding:{style:H},paddingTop:{style:H},paddingRight:{style:H},paddingBottom:{style:H},paddingLeft:{style:H},paddingX:{style:H},paddingY:{style:H},paddingInline:{style:H},paddingInlineStart:{style:H},paddingInlineEnd:{style:H},paddingBlock:{style:H},paddingBlockStart:{style:H},paddingBlockEnd:{style:H},m:{style:V},mt:{style:V},mr:{style:V},mb:{style:V},ml:{style:V},mx:{style:V},my:{style:V},margin:{style:V},marginTop:{style:V},marginRight:{style:V},marginBottom:{style:V},marginLeft:{style:V},marginX:{style:V},marginY:{style:V},marginInline:{style:V},marginInlineStart:{style:V},marginInlineEnd:{style:V},marginBlock:{style:V},marginBlockStart:{style:V},marginBlockEnd:{style:V},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:St},rowGap:{style:Et},columnGap:{style:wt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Q},maxWidth:{style:Qt},minWidth:{transform:Q},height:{transform:Q},maxHeight:{transform:Q},minHeight:{transform:Q},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Je=Pi;function Ai(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Ii(e,t){return typeof e=="function"?e(t):e}function hn(){function e(r,n,o,i){const a={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:d=r,themeKey:f,transform:h,style:m}=c;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const y=yt(o,f)||{};return m?m(a):fe(a,n,v=>{let l=ft(y,h,v);return v===l&&typeof v=="string"&&(l=ft(y,h,`${r}${v==="default"?"":ve(v)}`,v)),d===!1?l:{[d]:l}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Je;function c(d){let f=d;if(typeof d=="function")f=d(i);else if(typeof d!="object")return d;if(!f)return null;const h=qo(i.breakpoints),m=Object.keys(h);let y=h;return Object.keys(f).forEach(b=>{const v=Ii(f[b],i);if(v!=null)if(typeof v=="object")if(a[b])y=We(y,e(b,v,i,a));else{const l=fe({theme:i},v,u=>({[b]:u}));Ai(l,v)?y[b]=t({sx:v,theme:i}):y=We(y,l)}else y=We(y,e(b,v,i,a))}),Yo(m,y)}return Array.isArray(o)?o.map(c):c(o)}return t}const mn=hn();mn.filterProps=["sx"];const er=mn;function pn(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const Ri=["breakpoints","palette","spacing","shape"];function tr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=p._objectWithoutPropertiesLoose(e,Ri),c=un(r),d=ti(o);let f=le({breakpoints:c,direction:"ltr",components:{},palette:p._extends({mode:"light"},n),spacing:d,shape:p._extends({},Wo,i)},a);return f.applyStyles=pn,f=t.reduce((h,m)=>le(h,m),f),f.unstable_sxConfig=p._extends({},Je,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(m){return er({sx:m,theme:this})},f}const Di=Object.freeze(Object.defineProperty({__proto__:null,default:tr,private_createBreakpoints:un,unstable_applyStyles:pn},Symbol.toStringTag,{value:"Module"}));function gn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var zi=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Li=gn(function(e){return zi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Fi(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Vi(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Hi=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Vi(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
56
|
+
`+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var a=Fi(o);try{a.insertRule(n,a.cssRules.length)}catch(c){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',c)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),X="-ms-",ht="-moz-",k="-webkit-",rr="comm",nr="rule",or="decl",Bi="@import",yn="@keyframes",Wi="@layer",Ui=Math.abs,Ct=String.fromCharCode,qi=Object.assign;function Yi(e,t){return Z(e,0)^45?(((t<<2^Z(e,0))<<2^Z(e,1))<<2^Z(e,2))<<2^Z(e,3):0}function vn(e){return e.trim()}function Gi(e,t){return(e=t.exec(e))?e[0]:e}function $(e,t,r){return e.replace(t,r)}function Ht(e,t){return e.indexOf(t)}function Z(e,t){return e.charCodeAt(t)|0}function qe(e,t,r){return e.slice(t,r)}function se(e){return e.length}function ir(e){return e.length}function rt(e,t){return t.push(e),e}function Ki(e,t){return e.map(t).join("")}var jt=1,Ae=1,xn=0,J=0,Y=0,Re="";function Tt(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:jt,column:Ae,length:a,return:""}}function He(e,t){return qi(Tt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Zi(){return Y}function Xi(){return Y=J>0?Z(Re,--J):0,Ae--,Y===10&&(Ae=1,jt--),Y}function ee(){return Y=J<xn?Z(Re,J++):0,Ae++,Y===10&&(Ae=1,jt++),Y}function ce(){return Z(Re,J)}function ot(){return J}function Qe(e,t){return qe(Re,e,t)}function Ye(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bn(e){return jt=Ae=1,xn=se(Re=e),J=0,[]}function _n(e){return Re="",e}function it(e){return vn(Qe(J-1,Bt(e===91?e+2:e===40?e+1:e)))}function Ji(e){for(;(Y=ce())&&Y<33;)ee();return Ye(e)>2||Ye(Y)>3?"":" "}function Qi(e,t){for(;--t&&ee()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return Qe(e,ot()+(t<6&&ce()==32&&ee()==32))}function Bt(e){for(;ee();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&Bt(Y);break;case 40:e===41&&Bt(e);break;case 92:ee();break}return J}function ea(e,t){for(;ee()&&e+Y!==47+10;)if(e+Y===42+42&&ce()===47)break;return"/*"+Qe(t,J-1)+"*"+Ct(e===47?e:ee())}function ta(e){for(;!Ye(ce());)ee();return Qe(e,J)}function ra(e){return _n(at("",null,null,null,[""],e=bn(e),0,[0],e))}function at(e,t,r,n,o,i,a,c,d){for(var f=0,h=0,m=a,y=0,b=0,v=0,l=1,u=1,x=1,_=0,S="",C=o,g=i,w=n,E=S;u;)switch(v=_,_=ee()){case 40:if(v!=108&&Z(E,m-1)==58){Ht(E+=$(it(_),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:E+=it(_);break;case 9:case 10:case 13:case 32:E+=Ji(v);break;case 92:E+=Qi(ot()-1,7);continue;case 47:switch(ce()){case 42:case 47:rt(na(ea(ee(),ot()),t,r),d);break;default:E+="/"}break;case 123*l:c[f++]=se(E)*x;case 125*l:case 59:case 0:switch(_){case 0:case 125:u=0;case 59+h:x==-1&&(E=$(E,/\f/g,"")),b>0&&se(E)-m&&rt(b>32?Er(E+";",n,r,m-1):Er($(E," ","")+";",n,r,m-2),d);break;case 59:E+=";";default:if(rt(w=wr(E,t,r,f,h,o,c,S,C=[],g=[],m),i),_===123)if(h===0)at(E,t,w,w,C,i,m,c,g);else switch(y===99&&Z(E,3)===110?100:y){case 100:case 108:case 109:case 115:at(e,w,w,n&&rt(wr(e,w,w,0,0,o,c,S,o,C=[],m),g),o,g,m,c,n?C:g);break;default:at(E,w,w,w,[""],g,0,c,g)}}f=h=b=0,l=x=1,S=E="",m=a;break;case 58:m=1+se(E),b=v;default:if(l<1){if(_==123)--l;else if(_==125&&l++==0&&Xi()==125)continue}switch(E+=Ct(_),_*l){case 38:x=h>0?1:(E+="\f",-1);break;case 44:c[f++]=(se(E)-1)*x,x=1;break;case 64:ce()===45&&(E+=it(ee())),y=ce(),h=m=se(S=E+=ta(ot())),_++;break;case 45:v===45&&se(E)==2&&(l=0)}}return i}function wr(e,t,r,n,o,i,a,c,d,f,h){for(var m=o-1,y=o===0?i:[""],b=ir(y),v=0,l=0,u=0;v<n;++v)for(var x=0,_=qe(e,m+1,m=Ui(l=a[v])),S=e;x<b;++x)(S=vn(l>0?y[x]+" "+_:$(_,/&\f/g,y[x])))&&(d[u++]=S);return Tt(e,t,r,o===0?nr:c,d,f,h)}function na(e,t,r){return Tt(e,t,r,rr,Ct(Zi()),qe(e,2,-2),0)}function Er(e,t,r,n){return Tt(e,t,r,or,qe(e,0,n),qe(e,n+1,-1),n)}function Pe(e,t){for(var r="",n=ir(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function oa(e,t,r,n){switch(e.type){case Wi:if(e.children.length)break;case Bi:case or:return e.return=e.return||e.value;case rr:return"";case yn:return e.return=e.value+"{"+Pe(e.children,n)+"}";case nr:e.value=e.props.join(",")}return se(r=Pe(e.children,n))?e.return=e.value+"{"+r+"}":""}function ia(e){var t=ir(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function aa(e){return function(t){t.root||(t=t.return)&&e(t)}}var sa=function(t,r,n){for(var o=0,i=0;o=i,i=ce(),o===38&&i===12&&(r[n]=1),!Ye(i);)ee();return Qe(t,J)},la=function(t,r){var n=-1,o=44;do switch(Ye(o)){case 0:o===38&&ce()===12&&(r[n]=1),t[n]+=sa(J-1,r,n);break;case 2:t[n]+=it(o);break;case 4:if(o===44){t[++n]=ce()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ct(o)}while(o=ee());return t},ca=function(t,r){return _n(la(bn(t),r))},Cr=new WeakMap,ua=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Cr.get(n))&&!o){Cr.set(t,!0);for(var i=[],a=ca(r,i),c=n.props,d=0,f=0;d<a.length;d++)for(var h=0;h<c.length;h++,f++)t.props[f]=i[d]?a[d].replace(/&\f/g,c[h]):c[h]+" "+a[d]}}},da=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},fa="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",ha=function(t){return t.type==="comm"&&t.children.indexOf(fa)>-1},ma=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var a=!!r.parent,c=a?r.parent.children:o,d=c.length-1;d>=0;d--){var f=c[d];if(f.line<r.line)break;if(f.column<r.column){if(ha(f))return;break}}i.forEach(function(h){console.error('The pseudo class "'+h+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+h.split("-child")[0]+'-of-type".')})}}}},Sn=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},pa=function(t,r){for(var n=t-1;n>=0;n--)if(!Sn(r[n]))return!0;return!1},jr=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},ga=function(t,r,n){Sn(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),jr(t)):pa(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),jr(t)))};function wn(e,t){switch(Yi(e,t)){case 5103:return k+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+ht+e+X+e+e;case 6828:case 4268:return k+e+X+e+e;case 6165:return k+e+X+"flex-"+e+e;case 5187:return k+e+$(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return k+e+X+"flex-item-"+$(e,/flex-|-self/,"")+e;case 4675:return k+e+X+"flex-line-pack"+$(e,/align-content|flex-|-self/,"")+e;case 5548:return k+e+X+$(e,"shrink","negative")+e;case 5292:return k+e+X+$(e,"basis","preferred-size")+e;case 6060:return k+"box-"+$(e,"-grow","")+k+e+X+$(e,"grow","positive")+e;case 4554:return k+$(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return $($($(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return $(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return $($(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4095:case 3583:case 4068:case 2532:return $(e,/(.+)-inline(.+)/,k+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(se(e)-1-t>6)switch(Z(e,t+1)){case 109:if(Z(e,t+4)!==45)break;case 102:return $(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+ht+(Z(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ht(e,"stretch")?wn($(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Z(e,t+1)!==115)break;case 6444:switch(Z(e,se(e)-3-(~Ht(e,"!important")&&10))){case 107:return $(e,":",":"+k)+e;case 101:return $(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+k+(Z(e,14)===45?"inline-":"")+"box$3$1"+k+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(Z(e,t+11)){case 114:return k+e+X+$(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+X+$(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+X+$(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return k+e+X+e+e}return e}var ya=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case or:t.return=wn(t.value,t.length);break;case yn:return Pe([He(t,{value:$(t.value,"@","@"+k)})],o);case nr:if(t.length)return Ki(t.props,function(i){switch(Gi(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Pe([He(t,{props:[$(i,/:(read-\w+)/,":"+ht+"$1")]})],o);case"::placeholder":return Pe([He(t,{props:[$(i,/:(plac\w+)/,":"+k+"input-$1")]}),He(t,{props:[$(i,/:(plac\w+)/,":"+ht+"$1")]}),He(t,{props:[$(i,/:(plac\w+)/,X+"input-$1")]})],o)}return""})}},va=[ya],En=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
57
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(l){var u=l.getAttribute("data-emotion");u.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||va;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var i={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var u=l.getAttribute("data-emotion").split(" "),x=1;x<u.length;x++)i[u[x]]=!0;c.push(l)});var d,f=[ua,da];process.env.NODE_ENV!=="production"&&f.push(ma({get compat(){return v.compat}}),ga);{var h,m=[oa,process.env.NODE_ENV!=="production"?function(l){l.root||(l.return?h.insert(l.return):l.value&&l.type!==rr&&h.insert(l.value+"{}"))}:aa(function(l){h.insert(l)})],y=ia(f.concat(o,m)),b=function(u){return Pe(ra(u),y)};d=function(u,x,_,S){h=_,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(h={insert:function(g){_.insert(g+x.map)}}),b(u?u+"{"+x.styles+"}":x.styles),S&&(v.inserted[x.name]=!0)}}var v={key:r,sheet:new Hi({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:d};return v.sheet.hydrate(c),v},Wt={exports:{}},R={};/** @license React v16.13.1
|
|
58
58
|
* react-is.production.min.js
|
|
59
59
|
*
|
|
60
60
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
61
61
|
*
|
|
62
62
|
* This source code is licensed under the MIT license found in the
|
|
63
63
|
* LICENSE file in the root directory of this source tree.
|
|
64
|
-
*/var Tr;function xa(){if(Tr)return R;Tr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,
|
|
64
|
+
*/var Tr;function xa(){if(Tr)return R;Tr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,u=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function S(g){if(typeof g=="object"&&g!==null){var w=g.$$typeof;switch(w){case t:switch(g=g.type,g){case d:case f:case n:case i:case o:case m:return g;default:switch(g=g&&g.$$typeof,g){case c:case h:case v:case b:case a:return g;default:return w}}case r:return w}}}function C(g){return S(g)===f}return R.AsyncMode=d,R.ConcurrentMode=f,R.ContextConsumer=c,R.ContextProvider=a,R.Element=t,R.ForwardRef=h,R.Fragment=n,R.Lazy=v,R.Memo=b,R.Portal=r,R.Profiler=i,R.StrictMode=o,R.Suspense=m,R.isAsyncMode=function(g){return C(g)||S(g)===d},R.isConcurrentMode=C,R.isContextConsumer=function(g){return S(g)===c},R.isContextProvider=function(g){return S(g)===a},R.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},R.isForwardRef=function(g){return S(g)===h},R.isFragment=function(g){return S(g)===n},R.isLazy=function(g){return S(g)===v},R.isMemo=function(g){return S(g)===b},R.isPortal=function(g){return S(g)===r},R.isProfiler=function(g){return S(g)===i},R.isStrictMode=function(g){return S(g)===o},R.isSuspense=function(g){return S(g)===m},R.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===f||g===i||g===o||g===m||g===y||typeof g=="object"&&g!==null&&(g.$$typeof===v||g.$$typeof===b||g.$$typeof===a||g.$$typeof===c||g.$$typeof===h||g.$$typeof===u||g.$$typeof===x||g.$$typeof===_||g.$$typeof===l)},R.typeOf=S,R}var D={};/** @license React v16.13.1
|
|
65
65
|
* react-is.development.js
|
|
66
66
|
*
|
|
67
67
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
68
68
|
*
|
|
69
69
|
* This source code is licensed under the MIT license found in the
|
|
70
70
|
* LICENSE file in the root directory of this source tree.
|
|
71
|
-
*/var Or;function ba(){return Or||(Or=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,
|
|
71
|
+
*/var Or;function ba(){return Or||(Or=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,u=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function S(T){return typeof T=="string"||typeof T=="function"||T===n||T===f||T===i||T===o||T===m||T===y||typeof T=="object"&&T!==null&&(T.$$typeof===v||T.$$typeof===b||T.$$typeof===a||T.$$typeof===c||T.$$typeof===h||T.$$typeof===u||T.$$typeof===x||T.$$typeof===_||T.$$typeof===l)}function C(T){if(typeof T=="object"&&T!==null){var Ve=T.$$typeof;switch(Ve){case t:var O=T.type;switch(O){case d:case f:case n:case i:case o:case m:return O;default:var Ee=O&&O.$$typeof;switch(Ee){case c:case h:case v:case b:case a:return Ee;default:return Ve}}case r:return Ve}}}var g=d,w=f,E=c,M=a,P=t,B=h,z=n,W=v,G=b,ae=r,pe=i,ge=o,be=m,ue=!1;function _e(T){return ue||(ue=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ye(T)||C(T)===d}function ye(T){return C(T)===f}function Le(T){return C(T)===c}function Fe(T){return C(T)===a}function Se(T){return typeof T=="object"&&T!==null&&T.$$typeof===t}function de(T){return C(T)===h}function we(T){return C(T)===n}function $t(T){return C(T)===v}function Mt(T){return C(T)===b}function Pt(T){return C(T)===r}function At(T){return C(T)===i}function It(T){return C(T)===o}function Rt(T){return C(T)===m}D.AsyncMode=g,D.ConcurrentMode=w,D.ContextConsumer=E,D.ContextProvider=M,D.Element=P,D.ForwardRef=B,D.Fragment=z,D.Lazy=W,D.Memo=G,D.Portal=ae,D.Profiler=pe,D.StrictMode=ge,D.Suspense=be,D.isAsyncMode=_e,D.isConcurrentMode=ye,D.isContextConsumer=Le,D.isContextProvider=Fe,D.isElement=Se,D.isForwardRef=de,D.isFragment=we,D.isLazy=$t,D.isMemo=Mt,D.isPortal=Pt,D.isProfiler=At,D.isStrictMode=It,D.isSuspense=Rt,D.isValidElementType=S,D.typeOf=C}()),D}process.env.NODE_ENV==="production"?Wt.exports=xa():Wt.exports=ba();var _a=Wt.exports,Cn=_a,Sa={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},wa={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},jn={};jn[Cn.ForwardRef]=Sa;jn[Cn.Memo]=wa;var Ea=!0;function ar(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Ot=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||Ea===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Nt=function(t,r,n){Ot(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Ca(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ja={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Nr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
72
72
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
73
73
|
You can read more about this here:
|
|
74
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ta="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Oa=/[A-Z]|^ms/g,Tn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sr=function(t){return t.charCodeAt(1)===45},kr=function(t){return t!=null&&typeof t!="boolean"},Dt=gn(function(e){return sr(e)?e:e.replace(Oa,"-$&").toLowerCase()}),
|
|
74
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ta="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Oa=/[A-Z]|^ms/g,Tn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sr=function(t){return t.charCodeAt(1)===45},kr=function(t){return t!=null&&typeof t!="boolean"},Dt=gn(function(e){return sr(e)?e:e.replace(Oa,"-$&").toLowerCase()}),mt=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Tn,function(n,o,i){return ie={name:o,styles:i,next:ie},o})}return ja[t]!==1&&!sr(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var Na=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,ka=["normal","none","initial","inherit","unset"],$a=mt,Ma=/^-ms-/,Pa=/-(.)/g,$r={};mt=function(t,r){if(t==="content"&&(typeof r!="string"||ka.indexOf(r)===-1&&!Na.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=$a(t,r);return n!==""&&!sr(t)&&t.indexOf("-")!==-1&&$r[t]===void 0&&($r[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Ma,"ms-").replace(Pa,function(o,i){return i.toUpperCase()})+"?")),n}}var On="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ge(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(On);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return ie={name:r.name,styles:r.styles,next:ie},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)ie={name:n.name,styles:n.styles,next:ie},n=n.next;var o=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(o+=r.map),o}return Aa(e,t,r)}case"function":{if(e!==void 0){var i=ie,a=r(e);return ie=i,Ge(e,t,a)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var c=[],d=r.replace(Tn,function(h,m,y){var b="animation"+c.length;return c.push("const "+b+" = keyframes`"+y.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+b+"}"});c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+d+"`"]).join(`
|
|
75
75
|
`)+`
|
|
76
76
|
|
|
77
77
|
You should wrap it with \`css\` like this:
|
|
78
78
|
|
|
79
|
-
`+("css`"+
|
|
79
|
+
`+("css`"+d+"`"))}break}if(t==null)return r;var f=t[r];return f!==void 0?f:r}function Aa(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ge(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=i+"{"+t[a]+"}":kr(a)&&(n+=Dt(i)+":"+mt(i,a)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(On);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)kr(a[c])&&(n+=Dt(i)+":"+mt(i,a[c])+";");else{var d=Ge(e,t,a);switch(i){case"animation":case"animationName":{n+=Dt(i)+":"+d+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(Ta),n+=i+"{"+d+"}"}}}}return n}var Mr=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Nn;process.env.NODE_ENV!=="production"&&(Nn=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var ie,Ie=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";ie=void 0;var a=t[0];a==null||a.raw===void 0?(o=!1,i+=Ge(n,r,a)):(process.env.NODE_ENV!=="production"&&a[0]===void 0&&console.error(Nr),i+=a[0]);for(var c=1;c<t.length;c++)i+=Ge(n,r,t[c]),o&&(process.env.NODE_ENV!=="production"&&a[c]===void 0&&console.error(Nr),i+=a[c]);var d;process.env.NODE_ENV!=="production"&&(i=i.replace(Nn,function(y){return d=y,""})),Mr.lastIndex=0;for(var f="",h;(h=Mr.exec(i))!==null;)f+="-"+h[1];var m=Ca(i)+f;return process.env.NODE_ENV!=="production"?{name:m,styles:i,map:d,next:ie,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:m,styles:i,next:ie}},Ia=function(t){return t()},kn=L["useInsertionEffect"]?L["useInsertionEffect"]:!1,lr=kn||Ia,Pr=kn||L.useLayoutEffect,Ra={}.hasOwnProperty,cr=L.createContext(typeof HTMLElement<"u"?En({key:"css"}):null);process.env.NODE_ENV!=="production"&&(cr.displayName="EmotionCacheContext");var Da=cr.Provider,kt=function(t){return j.forwardRef(function(r,n){var o=j.useContext(cr);return t(r,o,n)})},xe=L.createContext({});process.env.NODE_ENV!=="production"&&(xe.displayName="EmotionThemeContext");var Ar="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ir="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",za=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Ot(r,n,o),lr(function(){return Nt(r,n,o)}),null},La=kt(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Ar],i=[n],a="";typeof e.className=="string"?a=ar(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var c=Ie(i,void 0,L.useContext(xe));if(process.env.NODE_ENV!=="production"&&c.name.indexOf("-")===-1){var d=e[Ir];d&&(c=Ie([c,"label:"+d+";"]))}a+=t.key+"-"+c.name;var f={};for(var h in e)Ra.call(e,h)&&h!=="css"&&h!==Ar&&(process.env.NODE_ENV==="production"||h!==Ir)&&(f[h]=e[h]);return f.ref=r,f.className=a,L.createElement(L.Fragment,null,L.createElement(za,{cache:t,serialized:c,isStringTag:typeof o=="string"}),L.createElement(o,f))});process.env.NODE_ENV!=="production"&&(La.displayName="EmotionCssPropInternal");var Fa={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Rr=!1,$n=kt(function(e,t){process.env.NODE_ENV!=="production"&&!Rr&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Rr=!0);var r=e.styles,n=Ie([r],void 0,L.useContext(xe)),o=L.useRef();return Pr(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,d=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),d!==null&&(c=!0,d.setAttribute("data-emotion",i),a.hydrate([d])),o.current=[a,c],function(){a.flush()}},[t]),Pr(function(){var i=o.current,a=i[0],c=i[1];if(c){i[1]=!1;return}if(n.next!==void 0&&Nt(t,n.next,!0),a.tags.length){var d=a.tags[a.tags.length-1].nextElementSibling;a.before=d,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&($n.displayName="EmotionGlobal");function Mn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ie(t)}var Va=function(){var t=Mn.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Ha=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var i=t[n];if(i!=null){var a=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))a=e(i);else{process.env.NODE_ENV!=="production"&&i.styles!==void 0&&i.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="";for(var c in i)i[c]&&c&&(a&&(a+=" "),a+=c)}break}default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function Ba(e,t,r){var n=[],o=ar(e,n,r);return n.length<2?r:o+t(n)}var Wa=function(t){var r=t.cache,n=t.serializedArr;return lr(function(){for(var o=0;o<n.length;o++)Nt(r,n[o],!1)}),null},Ua=kt(function(e,t){var r=!1,n=[],o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var f=arguments.length,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];var y=Ie(h,t.registered);return n.push(y),Ot(t,y,!1),t.key+"-"+y.name},i=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var f=arguments.length,h=new Array(f),m=0;m<f;m++)h[m]=arguments[m];return Ba(t.registered,o,Ha(h))},a={css:o,cx:i,theme:L.useContext(xe)},c=e.children(a);return r=!0,L.createElement(L.Fragment,null,L.createElement(Wa,{cache:t,serializedArr:n}),c)});process.env.NODE_ENV!=="production"&&(Ua.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var Dr=!0,qa=typeof jest<"u"||typeof vi<"u";if(Dr&&!qa){var zr=typeof globalThis<"u"?globalThis:Dr?window:global,Lr="__EMOTION_REACT_"+Fa.version.split(".")[0]+"__";zr[Lr]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),zr[Lr]=!0}}var Ya=Li,Ga=function(t){return t!=="theme"},Fr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ya:Ga},Vr=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Hr=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
80
80
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
81
81
|
You can read more about this here:
|
|
82
82
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ka=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Ot(r,n,o),lr(function(){return Nt(r,n,o)}),null},Za=function e(t,r){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
|
|
83
|
-
You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var c=Vr(t,r,n),
|
|
83
|
+
You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var c=Vr(t,r,n),d=c||Fr(o),f=!d("as");return function(){var h=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&m.push("label:"+i+";"),h[0]==null||h[0].raw===void 0)m.push.apply(m,h);else{process.env.NODE_ENV!=="production"&&h[0][0]===void 0&&console.error(Hr),m.push(h[0][0]);for(var y=h.length,b=1;b<y;b++)process.env.NODE_ENV!=="production"&&h[0][b]===void 0&&console.error(Hr),m.push(h[b],h[0][b])}var v=kt(function(l,u,x){var _=f&&l.as||o,S="",C=[],g=l;if(l.theme==null){g={};for(var w in l)g[w]=l[w];g.theme=L.useContext(xe)}typeof l.className=="string"?S=ar(u.registered,C,l.className):l.className!=null&&(S=l.className+" ");var E=Ie(m.concat(C),u.registered,g);S+=u.key+"-"+E.name,a!==void 0&&(S+=" "+a);var M=f&&c===void 0?Fr(_):d,P={};for(var B in l)f&&B==="as"||M(B)&&(P[B]=l[B]);return P.className=S,P.ref=x,L.createElement(L.Fragment,null,L.createElement(Ka,{cache:u,serialized:E,isStringTag:typeof _=="string"}),L.createElement(_,P))});return v.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=m,v.__emotion_forwardProp=c,Object.defineProperty(v,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),v.withComponent=function(l,u){return e(l,p._extends({},r,u,{shouldForwardProp:Vr(v,u,!0)})).apply(void 0,m)},v}},Xa=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Ut=Za.bind();Xa.forEach(function(e){Ut[e]=Ut(e)});let qt;typeof document=="object"&&(qt=En({key:"css",prepend:!0}));function Pn(e){const{injectFirst:t,children:r}=e;return t&&qt?s.jsx(Da,{value:qt,children:r}):r}process.env.NODE_ENV!=="production"&&(Pn.propTypes={children:p.PropTypes.node,injectFirst:p.PropTypes.bool});function Ja(e){return e==null||Object.keys(e).length===0}function An(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(Ja(o)?r:o):t;return s.jsx($n,{styles:n})}process.env.NODE_ENV!=="production"&&(An.propTypes={defaultTheme:p.PropTypes.object,styles:p.PropTypes.oneOfType([p.PropTypes.array,p.PropTypes.string,p.PropTypes.object,p.PropTypes.func])});/**
|
|
84
84
|
* @mui/styled-engine v5.15.11
|
|
85
85
|
*
|
|
86
86
|
* @license MIT
|
|
87
87
|
* This source code is licensed under the MIT license found in the
|
|
88
88
|
* LICENSE file in the root directory of this source tree.
|
|
89
89
|
*/function Qa(e,t){const r=Ut(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
90
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const es=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},ts=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:An,StyledEngineProvider:
|
|
90
|
+
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const es=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},ts=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:An,StyledEngineProvider:Pn,ThemeContext:xe,css:Mn,default:Qa,internal_processStyles:es,keyframes:Va},Symbol.toStringTag,{value:"Module"}));function rs(e){return Object.keys(e).length===0}function ns(e=null){const t=L.useContext(xe);return!t||rs(t)?e:t}const os=tr();function is(e=os){return ns(e)}function as({props:e,name:t,defaultTheme:r,themeId:n}){let o=is(r);return n&&(o=o[n]||o),Fo({theme:o,name:t,props:e})}const ss=["sx"],ls=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:Je;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function cs(e){const{sx:t}=e,r=p._objectWithoutPropertiesLoose(e,ss),{systemProps:n,otherProps:o}=ls(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...a)=>{const c=t(...a);return he(c)?p._extends({},n,c):n}:i=p._extends({},n,t),p._extends({},o,{sx:i})}const us=Object.freeze(Object.defineProperty({__proto__:null,default:er,extendSxProp:cs,unstable_createStyleFunctionSx:hn,unstable_defaultSxConfig:Je},Symbol.toStringTag,{value:"Module"}));function ds(e,t){return p._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var q={},In={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(In);var Rn=In.exports;const fs=p.getAugmentedNamespace(Co),hs=p.getAugmentedNamespace(Lo);var Dn=Rn;Object.defineProperty(q,"__esModule",{value:!0});q.alpha=Vn;q.blend=Cs;q.colorChannel=void 0;var ms=q.darken=dr;q.decomposeColor=ne;q.emphasize=Es;var Br=q.getContrastRatio=bs;q.getLuminance=pt;q.hexToRgb=zn;q.hslToRgb=Fn;var ps=q.lighten=fr;q.private_safeAlpha=_s;q.private_safeColorChannel=void 0;q.private_safeDarken=Ss;q.private_safeEmphasize=Hn;q.private_safeLighten=ws;q.recomposeColor=De;q.rgbToHex=xs;var Wr=Dn(fs),gs=Dn(hs);function ur(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,gs.default)(e,t,r)}function zn(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ys(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function ne(e){if(e.type)return e;if(e.charAt(0)==="#")return ne(zn(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
91
91
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,Wr.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
92
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Wr.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Ln=e=>{const t=ne(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};q.colorChannel=Ln;const vs=(e,t)=>{try{return Ln(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};q.private_safeColorChannel=vs;function De(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function xs(e){if(e.indexOf("#")===0)return e;const{values:t}=ne(e);return`#${t.map((r,n)=>ys(n===3?Math.round(255*r):r)).join("")}`}function Fn(e){e=ne(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(h
|
|
93
|
-
`))}return u}const
|
|
92
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Wr.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Ln=e=>{const t=ne(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};q.colorChannel=Ln;const vs=(e,t)=>{try{return Ln(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};q.private_safeColorChannel=vs;function De(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function xs(e){if(e.indexOf("#")===0)return e;const{values:t}=ne(e);return`#${t.map((r,n)=>ys(n===3?Math.round(255*r):r)).join("")}`}function Fn(e){e=ne(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(f,h=(f+r/30)%12)=>o-i*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",d.push(t[3])),De({type:c,values:d})}function pt(e){e=ne(e);let t=e.type==="hsl"||e.type==="hsla"?ne(Fn(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function bs(e,t){const r=pt(e),n=pt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Vn(e,t){return e=ne(e),t=ur(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,De(e)}function _s(e,t,r){try{return Vn(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function dr(e,t){if(e=ne(e),t=ur(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return De(e)}function Ss(e,t,r){try{return dr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function fr(e,t){if(e=ne(e),t=ur(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return De(e)}function ws(e,t,r){try{return fr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Es(e,t=.15){return pt(e)>.5?dr(e,t):fr(e,t)}function Hn(e,t,r){try{return Hn(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Cs(e,t,r,n=1){const o=(d,f)=>Math.round((d**(1/n)*(1-r)+f**(1/n)*r)**n),i=ne(e),a=ne(t),c=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return De({type:"rgb",values:c})}const js={black:"#000",white:"#fff"},Ke=js,Ts={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Os=Ts,Ns={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ce=Ns,ks={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},je=ks,$s={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Be=$s,Ms={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Te=Ms,Ps={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Oe=Ps,As={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ne=As,Is=["mode","contrastThreshold","tonalOffset"],Ur={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ke.white,default:Ke.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},zt={text:{primary:Ke.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ke.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function qr(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=ps(e.main,o):t==="dark"&&(e.dark=ms(e.main,i)))}function Rs(e="light"){return e==="dark"?{main:Te[200],light:Te[50],dark:Te[400]}:{main:Te[700],light:Te[400],dark:Te[800]}}function Ds(e="light"){return e==="dark"?{main:Ce[200],light:Ce[50],dark:Ce[400]}:{main:Ce[500],light:Ce[300],dark:Ce[700]}}function zs(e="light"){return e==="dark"?{main:je[500],light:je[300],dark:je[700]}:{main:je[700],light:je[400],dark:je[800]}}function Ls(e="light"){return e==="dark"?{main:Oe[400],light:Oe[300],dark:Oe[700]}:{main:Oe[700],light:Oe[500],dark:Oe[900]}}function Fs(e="light"){return e==="dark"?{main:Ne[400],light:Ne[300],dark:Ne[700]}:{main:Ne[800],light:Ne[500],dark:Ne[900]}}function Vs(e="light"){return e==="dark"?{main:Be[400],light:Be[300],dark:Be[700]}:{main:"#ed6c02",light:Be[500],dark:Be[900]}}function Hs(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=p._objectWithoutPropertiesLoose(e,Is),i=e.primary||Rs(t),a=e.secondary||Ds(t),c=e.error||zs(t),d=e.info||Ls(t),f=e.success||Fs(t),h=e.warning||Vs(t);function m(l){const u=Br(l,zt.text.primary)>=r?zt.text.primary:Ur.text.primary;if(process.env.NODE_ENV!=="production"){const x=Br(l,u);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${u} on ${l}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
93
|
+
`))}return u}const y=({color:l,name:u,mainShade:x=500,lightShade:_=300,darkShade:S=700})=>{if(l=p._extends({},l),!l.main&&l[x]&&(l.main=l[x]),!l.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${u?` (${u})`:""} provided to augmentColor(color) is invalid.
|
|
94
94
|
The color object needs to have a \`main\` property or a \`${x}\` property.`:Ue(11,u?` (${u})`:"",x));if(typeof l.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${u?` (${u})`:""} provided to augmentColor(color) is invalid.
|
|
95
95
|
\`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
|
|
96
96
|
|
|
@@ -104,6 +104,6 @@ const theme1 = createTheme({ palette: {
|
|
|
104
104
|
|
|
105
105
|
const theme2 = createTheme({ palette: {
|
|
106
106
|
primary: { main: green[500] },
|
|
107
|
-
} });`:Ue(12,u?` (${u})`:"",JSON.stringify(l.main)));return qr(l,"light",_,n),qr(l,"dark",
|
|
108
|
-
`)),Object.keys(
|
|
109
|
-
`))}g[v]={}}}};Object.keys(h.components).forEach(g=>{const b=h.components[g].styleOverrides;b&&g.indexOf("Mui")===0&&d(b,g)})}return h.unstable_sxConfig=m._extends({},Je,a==null?void 0:a.unstable_sxConfig),h.unstable_sx=function(d){return er({sx:d,theme:this})},h}const a0=i0(),Bn=a0,Wn="$$material";function s0({props:e,name:t}){return as({props:e,name:t,defaultTheme:Bn,themeId:Wn})}var et={};const l0=m.getAugmentedNamespace(m._extends$1),c0=m.getAugmentedNamespace(m.objectWithoutPropertiesLoose),u0=m.getAugmentedNamespace(ts),d0=m.getAugmentedNamespace(Eo),f0=m.getAugmentedNamespace(Mo),h0=m.getAugmentedNamespace(ko),p0=m.getAugmentedNamespace(Di),m0=m.getAugmentedNamespace(us);var ze=Rn;Object.defineProperty(et,"__esModule",{value:!0});var g0=et.default=M0,y0=et.shouldForwardProp=st;et.systemDefaultTheme=void 0;var te=ze(l0),Yt=ze(c0),Zr=j0(u0),v0=d0,x0=ze(f0),b0=ze(h0),_0=ze(p0),w0=ze(m0);const S0=["ownerState"],E0=["variants"],C0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Un(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Un=function(n){return n?r:t})(e)}function j0(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Un(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function T0(e){return Object.keys(e).length===0}function O0(e){return typeof e=="string"&&e.charCodeAt(0)>96}function st(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const N0=et.systemDefaultTheme=(0,_0.default)(),Xr=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function nt({defaultTheme:e,theme:t,themeId:r}){return T0(t)?e:t[r]||t}function k0(e){return e?(t,r)=>r[e]:null}function lt(e,t){let{ownerState:r}=t,n=(0,Yt.default)(t,S0);const o=typeof e=="function"?e((0,te.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(i=>lt(i,(0,te.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let c=(0,Yt.default)(o,E0);return i.forEach(f=>{let h=!0;typeof f.props=="function"?h=f.props((0,te.default)({ownerState:r},n,r)):Object.keys(f.props).forEach(p=>{(r==null?void 0:r[p])!==f.props[p]&&n[p]!==f.props[p]&&(h=!1)}),h&&(Array.isArray(c)||(c=[c]),c.push(typeof f.style=="function"?f.style((0,te.default)({ownerState:r},n,r)):f.style))}),c}return o}function M0(e={}){const{themeId:t,defaultTheme:r=N0,rootShouldForwardProp:n=st,slotShouldForwardProp:o=st}=e,i=a=>(0,w0.default)((0,te.default)({},a,{theme:nt((0,te.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,c={})=>{(0,Zr.internal_processStyles)(a,y=>y.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:f,slot:h,skipVariantsResolver:p,skipSx:d,overridesResolver:g=k0(Xr(h))}=c,b=(0,Yt.default)(c,C0),v=p!==void 0?p:h&&h!=="Root"&&h!=="root"||!1,l=d||!1;let u;process.env.NODE_ENV!=="production"&&f&&(u=`${f}-${Xr(h||"Root")}`);let x=st;h==="Root"||h==="root"?x=n:h?x=o:O0(a)&&(x=void 0);const _=(0,Zr.default)(a,(0,te.default)({shouldForwardProp:x,label:u},b)),w=y=>typeof y=="function"&&y.__emotion_real!==y||(0,v0.isPlainObject)(y)?S=>lt(y,(0,te.default)({},S,{theme:nt({theme:S.theme,defaultTheme:r,themeId:t})})):y,C=(y,...S)=>{let E=w(y);const $=S?S.map(w):[];f&&g&&$.push(z=>{const W=nt((0,te.default)({},z,{defaultTheme:r,themeId:t}));if(!W.components||!W.components[f]||!W.components[f].styleOverrides)return null;const G=W.components[f].styleOverrides,ae={};return Object.entries(G).forEach(([me,ge])=>{ae[me]=lt(ge,(0,te.default)({},z,{theme:W}))}),g(z,ae)}),f&&!v&&$.push(z=>{var W;const G=nt((0,te.default)({},z,{defaultTheme:r,themeId:t})),ae=G==null||(W=G.components)==null||(W=W[f])==null?void 0:W.variants;return lt({variants:ae},(0,te.default)({},z,{theme:G}))}),l||$.push(i);const I=$.length-S.length;if(Array.isArray(y)&&I>0){const z=new Array(I).fill("");E=[...y,...z],E.raw=[...y.raw,...z]}const B=_(E,...$);if(process.env.NODE_ENV!=="production"){let z;f&&(z=`${f}${(0,x0.default)(h||"")}`),z===void 0&&(z=`Styled(${(0,b0.default)(a)})`),B.displayName=z}return a.muiName&&(B.muiName=a.muiName),B};return _.withConfig&&(C.withConfig=_.withConfig),C}}const $0=e=>y0(e)&&e!=="classes",I0=g0({themeId:Wn,defaultTheme:Bn,rootShouldForwardProp:$0}),A0=I0;function P0(e){return Xt("MuiSvgIcon",e)}Do("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const R0=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],D0=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ve(t)}`,`fontSize${ve(r)}`]};return $o(o,P0,n)},z0=A0("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ve(r.color)}`],t[`fontSize${ve(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,c,f,h,p,d,g,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,24))||"1.5rem",large:((h=e.typography)==null||(p=h.pxToRem)==null?void 0:p.call(h,35))||"2.1875rem"}[t.fontSize],color:(d=(g=(e.vars||e).palette)==null||(g=g[t.color])==null?void 0:g.main)!=null?d:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),hr=L.forwardRef(function(t,r){const n=s0({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:c="svg",fontSize:f="medium",htmlColor:h,inheritViewBox:p=!1,titleAccess:d,viewBox:g="0 0 24 24"}=n,b=m._objectWithoutPropertiesLoose(n,R0),v=L.isValidElement(o)&&o.type==="svg",l=m._extends({},n,{color:a,component:c,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:g,hasSvgAsChild:v}),u={};p||(u.viewBox=g);const x=D0(l);return s.jsxs(z0,m._extends({as:c,className:m.clsx(x.root,i),focusable:"false",color:h,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:r},u,b,v&&o.props,{ownerState:l,children:[v?o.props.children:o,d?s.jsx("title",{children:d}):null]}))});process.env.NODE_ENV!=="production"&&(hr.propTypes={children:m.PropTypes.node,classes:m.PropTypes.object,className:m.PropTypes.string,color:m.PropTypes.oneOfType([m.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),m.PropTypes.string]),component:m.PropTypes.elementType,fontSize:m.PropTypes.oneOfType([m.PropTypes.oneOf(["inherit","large","medium","small"]),m.PropTypes.string]),htmlColor:m.PropTypes.string,inheritViewBox:m.PropTypes.bool,shapeRendering:m.PropTypes.string,sx:m.PropTypes.oneOfType([m.PropTypes.arrayOf(m.PropTypes.oneOfType([m.PropTypes.func,m.PropTypes.object,m.PropTypes.bool])),m.PropTypes.func,m.PropTypes.object]),titleAccess:m.PropTypes.string,viewBox:m.PropTypes.string});hr.muiName="SvgIcon";const Jr=hr;function L0(e,t){function r(n,o){return s.jsx(Jr,m._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Jr.muiName,L.memo(L.forwardRef(r))}const F0=L0(s.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");var Qr=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function V0(e,t){return!!(e===t||Qr(e)&&Qr(t))}function H0(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!V0(e[r],t[r]))return!1;return!0}function Lt(e,t){t===void 0&&(t=H0);var r,n=[],o,i=!1;function a(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];return i&&r===this&&t(c,n)||(o=e.apply(this,c),i=!0,r=this,n=c),o}return a}var B0=typeof performance=="object"&&typeof performance.now=="function",en=B0?function(){return performance.now()}:function(){return Date.now()};function tn(e){cancelAnimationFrame(e.id)}function W0(e,t){var r=en();function n(){en()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}var o={id:requestAnimationFrame(n)};return o}var Ft=-1;function rn(e){if(e===void 0&&(e=!1),Ft===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Ft=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Ft}var ke=null;function nn(e){if(e===void 0&&(e=!1),ke===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?ke="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?ke="negative":ke="positive-ascending"),document.body.removeChild(t),ke}return ke}process.env.NODE_ENV;var U0=150,q0=function(t,r){return t},ct=null,ut=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(ct=new WeakSet,ut=new WeakSet);function Y0(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,c=e.getStopIndexForStartIndex,f=e.initInstanceProps,h=e.shouldResetStyleCacheOnItemSizeChange,p=e.validateProps;return t=function(d){m._inheritsLoose(g,d);function g(v){var l;return l=d.call(this,v)||this,l._instanceProps=f(l.props,m._assertThisInitialized(l)),l._outerRef=void 0,l._resetIsScrollingTimeoutId=null,l.state={instance:m._assertThisInitialized(l),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof l.props.initialScrollOffset=="number"?l.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},l._callOnItemsRendered=void 0,l._callOnItemsRendered=Lt(function(u,x,_,w){return l.props.onItemsRendered({overscanStartIndex:u,overscanStopIndex:x,visibleStartIndex:_,visibleStopIndex:w})}),l._callOnScroll=void 0,l._callOnScroll=Lt(function(u,x,_){return l.props.onScroll({scrollDirection:u,scrollOffset:x,scrollUpdateWasRequested:_})}),l._getItemStyle=void 0,l._getItemStyle=function(u){var x=l.props,_=x.direction,w=x.itemSize,C=x.layout,y=l._getItemStyleCache(h&&w,h&&C,h&&_),S;if(y.hasOwnProperty(u))S=y[u];else{var E=r(l.props,u,l._instanceProps),$=o(l.props,u,l._instanceProps),I=_==="horizontal"||C==="horizontal",B=_==="rtl",z=I?E:0;y[u]=S={position:"absolute",left:B?void 0:z,right:B?z:void 0,top:I?0:E,height:I?"100%":$,width:I?$:"100%"}}return S},l._getItemStyleCache=void 0,l._getItemStyleCache=Lt(function(u,x,_){return{}}),l._onScrollHorizontal=function(u){var x=u.currentTarget,_=x.clientWidth,w=x.scrollLeft,C=x.scrollWidth;l.setState(function(y){if(y.scrollOffset===w)return null;var S=l.props.direction,E=w;if(S==="rtl")switch(nn()){case"negative":E=-w;break;case"positive-descending":E=C-_-w;break}return E=Math.max(0,Math.min(E,C-_)),{isScrolling:!0,scrollDirection:y.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._onScrollVertical=function(u){var x=u.currentTarget,_=x.clientHeight,w=x.scrollHeight,C=x.scrollTop;l.setState(function(y){if(y.scrollOffset===C)return null;var S=Math.max(0,Math.min(C,w-_));return{isScrolling:!0,scrollDirection:y.scrollOffset<S?"forward":"backward",scrollOffset:S,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._outerRefSetter=function(u){var x=l.props.outerRef;l._outerRef=u,typeof x=="function"?x(u):x!=null&&typeof x=="object"&&x.hasOwnProperty("current")&&(x.current=u)},l._resetIsScrollingDebounced=function(){l._resetIsScrollingTimeoutId!==null&&tn(l._resetIsScrollingTimeoutId),l._resetIsScrollingTimeoutId=W0(l._resetIsScrolling,U0)},l._resetIsScrolling=function(){l._resetIsScrollingTimeoutId=null,l.setState({isScrolling:!1},function(){l._getItemStyleCache(-1,null)})},l}g.getDerivedStateFromProps=function(l,u){return G0(l,u),p(l),null};var b=g.prototype;return b.scrollTo=function(l){l=Math.max(0,l),this.setState(function(u){return u.scrollOffset===l?null:{scrollDirection:u.scrollOffset<l?"forward":"backward",scrollOffset:l,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},b.scrollToItem=function(l,u){u===void 0&&(u="auto");var x=this.props,_=x.itemCount,w=x.layout,C=this.state.scrollOffset;l=Math.max(0,Math.min(l,_-1));var y=0;if(this._outerRef){var S=this._outerRef;w==="vertical"?y=S.scrollWidth>S.clientWidth?rn():0:y=S.scrollHeight>S.clientHeight?rn():0}this.scrollTo(i(this.props,l,u,C,this._instanceProps,y))},b.componentDidMount=function(){var l=this.props,u=l.direction,x=l.initialScrollOffset,_=l.layout;if(typeof x=="number"&&this._outerRef!=null){var w=this._outerRef;u==="horizontal"||_==="horizontal"?w.scrollLeft=x:w.scrollTop=x}this._callPropsCallbacks()},b.componentDidUpdate=function(){var l=this.props,u=l.direction,x=l.layout,_=this.state,w=_.scrollOffset,C=_.scrollUpdateWasRequested;if(C&&this._outerRef!=null){var y=this._outerRef;if(u==="horizontal"||x==="horizontal")if(u==="rtl")switch(nn()){case"negative":y.scrollLeft=-w;break;case"positive-ascending":y.scrollLeft=w;break;default:var S=y.clientWidth,E=y.scrollWidth;y.scrollLeft=E-S-w;break}else y.scrollLeft=w;else y.scrollTop=w}this._callPropsCallbacks()},b.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&tn(this._resetIsScrollingTimeoutId)},b.render=function(){var l=this.props,u=l.children,x=l.className,_=l.direction,w=l.height,C=l.innerRef,y=l.innerElementType,S=l.innerTagName,E=l.itemCount,$=l.itemData,I=l.itemKey,B=I===void 0?q0:I,z=l.layout,W=l.outerElementType,G=l.outerTagName,ae=l.style,me=l.useIsScrolling,ge=l.width,be=this.state.isScrolling,ue=_==="horizontal"||z==="horizontal",_e=ue?this._onScrollHorizontal:this._onScrollVertical,ye=this._getRangeToRender(),Le=ye[0],Fe=ye[1],we=[];if(E>0)for(var de=Le;de<=Fe;de++)we.push(j.createElement(u,{data:$,key:B(de,$),index:de,isScrolling:me?be:void 0,style:this._getItemStyle(de)}));var Se=n(this.props,this._instanceProps);return j.createElement(W||G||"div",{className:x,onScroll:_e,ref:this._outerRefSetter,style:m._extends({position:"relative",height:w,width:ge,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:_},ae)},j.createElement(y||S||"div",{children:we,ref:C,style:{height:ue?"100%":Se,pointerEvents:be?"none":void 0,width:ue?Se:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var l=this.props.itemCount;if(l>0){var u=this._getRangeToRender(),x=u[0],_=u[1],w=u[2],C=u[3];this._callOnItemsRendered(x,_,w,C)}}if(typeof this.props.onScroll=="function"){var y=this.state,S=y.scrollDirection,E=y.scrollOffset,$=y.scrollUpdateWasRequested;this._callOnScroll(S,E,$)}},b._getRangeToRender=function(){var l=this.props,u=l.itemCount,x=l.overscanCount,_=this.state,w=_.isScrolling,C=_.scrollDirection,y=_.scrollOffset;if(u===0)return[0,0,0,0];var S=a(this.props,y,this._instanceProps),E=c(this.props,S,y,this._instanceProps),$=!w||C==="backward"?Math.max(1,x):1,I=!w||C==="forward"?Math.max(1,x):1;return[Math.max(0,S-$),Math.max(0,Math.min(u-1,E+I)),S,E]},g}(j.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var G0=function(t,r){var n=t.children,o=t.direction,i=t.height,a=t.layout,c=t.innerTagName,f=t.outerTagName,h=t.width,p=r.instance;if(process.env.NODE_ENV!=="production"){(c!=null||f!=null)&&ut&&!ut.has(p)&&(ut.add(p),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var d=o==="horizontal"||a==="horizontal";switch(o){case"horizontal":case"vertical":ct&&!ct.has(p)&&(ct.add(p),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+o+'" was specified.'))}switch(a){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+a+'" was specified.'))}if(n==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(n===null?"null":typeof n)+'" was specified.'));if(d&&typeof h!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(h===null?"null":typeof h)+'" was specified.'));if(!d&&typeof i!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(i===null?"null":typeof i)+'" was specified.'))}},K0=50,Me=function(t,r,n){var o=t,i=o.itemSize,a=n.itemMetadataMap,c=n.lastMeasuredIndex;if(r>c){var f=0;if(c>=0){var h=a[c];f=h.offset+h.size}for(var p=c+1;p<=r;p++){var d=i(p);a[p]={offset:f,size:d},f+=d}n.lastMeasuredIndex=r}return a[r]},Z0=function(t,r,n){var o=r.itemMetadataMap,i=r.lastMeasuredIndex,a=i>0?o[i].offset:0;return a>=n?qn(t,r,i,0,n):X0(t,r,Math.max(0,i),n)},qn=function(t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),c=Me(t,a,r).offset;if(c===i)return a;c<i?o=a+1:c>i&&(n=a-1)}return o>0?o-1:0},X0=function(t,r,n,o){for(var i=t.itemCount,a=1;n<i&&Me(t,n,r).offset<o;)n+=a,a*=2;return qn(t,r,Math.min(n,i-1),Math.floor(n/2),o)},on=function(t,r){var n=t.itemCount,o=r.itemMetadataMap,i=r.estimatedItemSize,a=r.lastMeasuredIndex,c=0;if(a>=n&&(a=n-1),a>=0){var f=o[a];c=f.offset+f.size}var h=n-a-1,p=h*i;return c+p},J0=Y0({getItemOffset:function(t,r,n){return Me(t,r,n).offset},getItemSize:function(t,r,n){return n.itemMetadataMap[r].size},getEstimatedTotalSize:on,getOffsetForIndexAndAlignment:function(t,r,n,o,i,a){var c=t.direction,f=t.height,h=t.layout,p=t.width,d=c==="horizontal"||h==="horizontal",g=d?p:f,b=Me(t,r,i),v=on(t,i),l=Math.max(0,Math.min(v-g,b.offset)),u=Math.max(0,b.offset-g+b.size+a);switch(n==="smart"&&(o>=u-g&&o<=l+g?n="auto":n="center"),n){case"start":return l;case"end":return u;case"center":return Math.round(u+(l-u)/2);case"auto":default:return o>=u&&o<=l?o:o<u?u:l}},getStartIndexForOffset:function(t,r,n){return Z0(t,n,r)},getStopIndexForStartIndex:function(t,r,n,o){for(var i=t.direction,a=t.height,c=t.itemCount,f=t.layout,h=t.width,p=i==="horizontal"||f==="horizontal",d=p?h:a,g=Me(t,r,o),b=n+d,v=g.offset+g.size,l=r;l<c-1&&v<b;)l++,v+=Me(t,l,o).size;return l},initInstanceProps:function(t,r){var n=t,o=n.estimatedItemSize,i={itemMetadataMap:{},estimatedItemSize:o||K0,lastMeasuredIndex:-1};return r.resetAfterIndex=function(a,c){c===void 0&&(c=!0),i.lastMeasuredIndex=Math.min(i.lastMeasuredIndex,a-1),r._getItemStyleCache(-1),c&&r.forceUpdate()},i},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){var r=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof r!="function")throw Error('An invalid "itemSize" prop has been specified. Value should be a function. '+('"'+(r===null?"null":typeof r)+'" was specified.'))}});function dt(e,t){return t?e:void 0}function Gt(e){return s.jsx(N.Stack,{sx:{cursor:"pointer"},onClick:t=>{var r;t.preventDefault(),t.stopPropagation(),(r=e.onClick)==null||r.call(e,e.option)},...e.stackProps,children:s.jsx(N.Stack,{sx:{p:1,transition:"0.2s",borderRadius:"5px",cursor:"pointer",...dt({backgroundColor:"#E5F5ED"},e.select),":hover":{backgroundColor:"#eeeeee80",borderColor:"transparent"}},children:e.renderOption(e.option)})})}const gt=37,Q0=(e,t)=>{const a=document.createElement("p");a.innerText=t,a.style.width=`${e-16-16-4}px`,document.body.appendChild(a);const c=a.offsetHeight;return document.body.removeChild(a),c>21?gt+21:gt};function el(e){const[t,r]=j.useState(!1),[n,o]=j.useState(""),[i,a]=j.useState(""),[c,f]=j.useState(!1),{isRequired:h=!1}=e,p=j.useCallback(m._.debounce(S=>{var E;(E=e.handleChangeSearch)==null||E.call(e,S)},300),[e.handleChangeSearch]),d=()=>{r(!t)},g=()=>{r(!1),a(""),p("")};j.useEffect(()=>{o(e.value?e.getOptionLabel(e.value):"")},[e.value]),j.useEffect(()=>{t||o(e.value?e.getOptionLabel(e.value):"")},[t]),j.useEffect(()=>{f(e.searchLoading)},[e.paging.rows,e.searchLoading]);const b=e.paging.rows,{hasNextPage:v}=e,l=v?b.length+1:b.length,u=()=>e.isNextPageLoading?void 0:e.loadNextPage(i),x=S=>!v||S<b.length,_=S=>{o(S.target.value),t&&(a(S.target.value),p(S.target.value),f(!0))},w=j.useRef(null),C=j.useRef(null),y=j.useRef(null);return j.useEffect(()=>{var S,E,$,I;t?((S=C.current)==null||S.classList.add("Mui-focused"),(E=y.current)==null||E.classList.add("Mui-focused")):(($=C.current)==null||$.classList.remove("Mui-focused"),(I=y.current)==null||I.classList.remove("Mui-focused"))},[t]),s.jsx(N.ClickAwayListener,{onClickAway:g,mouseEvent:"onMouseDown",touchEvent:"onTouchEnd",children:s.jsx("div",{ref:w,style:{width:e.wrapperWidth??"auto"},children:s.jsxs(N.Stack,{sx:{position:"relative"},children:[s.jsx(N.TextField,{required:h,label:e.label,value:n,disabled:e.loading||e.disabled||e.readOnly,fullWidth:!0,error:e.error,helperText:e.helperText,onFocus:S=>{e.loading||e.disabled||e.readOnly||(S.preventDefault(),S.stopPropagation(),r(!0))},autoComplete:"off",onChange:_,placeholder:e.placeholder||"All options",sx:{"& input:not(:focus)":{"&::placeholder":{color:e.placeHolderColor||"#C5C5C5",opacity:1}}},InputLabelProps:{ref:C,shrink:!0},InputProps:{readOnly:e.readOnly,ref:y,endAdornment:s.jsx(N.IconButton,{size:"small",sx:{padding:"1px"},onClick:S=>{var E;S.preventDefault(),S.stopPropagation(),d(),(E=w.current)==null||E.focus()},disabled:e.loading||e.disabled||e.readOnly,children:e.loading?s.jsx(N.CircularProgress,{size:"16px"}):s.jsx(F0,{fontSize:"small",style:{transition:"0.3s"},className:t?"rotate":""})})}}),s.jsx(N.Fade,{in:t,timeout:0,unmountOnExit:!1,children:s.jsxs(N.Paper,{sx:{position:"absolute",top:"calc(100% + 2px)",zIndex:2,left:0,right:0,p:1},children:[!e.disabledAllOption&&s.jsx(N.Stack,{sx:{...dt({display:"none"},!!c)},children:s.jsx(N.Stack,{children:s.jsx(Gt,{option:void 0,select:!e.value,renderOption:()=>s.jsx(N.Typography,{children:e.placeholder||"All options"}),onClick:()=>{var S,E;g(),(S=e.onChange)==null||S.call(e,void 0),(E=e.handleChangeSearch)==null||E.call(e,"")}})})}),!c&&s.jsx(m.InfiniteLoader,{isItemLoaded:x,itemCount:l,loadMoreItems:u,threshold:5,children:({onItemsRendered:S,ref:E})=>s.jsx(J0,{ref:E,onItemsRendered:S,height:gt*Math.min(e.itemsNumber||6,l),itemCount:l,itemSize:$=>{var I;return Q0((I=w.current)==null?void 0:I.offsetWidth,b[$]?e.getOptionLabel(b[$]):"")},width:"100%",className:"styled-scroll",children:({index:$,style:I})=>{var z;const B=b[$];return x($)?s.jsx(Gt,{stackProps:{style:I},option:B,renderOption:W=>{var G;return s.jsxs(N.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[s.jsx(N.Typography,{children:e.getOptionLabel(W)}),(G=e.renderOptionTooltip)==null?void 0:G.call(e,W)]})},onClick:W=>{var G;g(),(G=e.onChange)==null||G.call(e,W)},select:((z=e.isEqual)==null?void 0:z.call(e,B,e.value))??m._.isEqual(B,e.value)}):s.jsx(N.Stack,{style:I,sx:{height:gt,pl:1},justifyContent:"center",children:s.jsx(N.Typography,{children:"Loading..."})})}})}),s.jsx(N.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...dt({display:"none"},!c)},children:s.jsx(N.Typography,{color:"grayText",children:"Searching..."})}),s.jsx(N.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...dt({display:"none"},!!(b.length||e.loading||c))},children:s.jsx(N.Typography,{color:"grayText",children:"No options"})})]})})]})})})}function tl(e){var p;const{listProps:t}=e,[r,n]=j.useState({initLoading:!e.disabled,searchLoading:!1,hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:((p=e.listProps)==null?void 0:p.pageSize)||20,rows:[],total:0,totalPages:1}}),o=async(d,g)=>{var b,v;if(e.list)n(()=>{var x;const l=((x=d==null?void 0:d.search)==null?void 0:x.content)||"";return{hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:1e5,rows:e.list.options.filter(_=>e.list.searchOption?e.list.searchOption(_,l):m.search(_,l,e.list.searchFields)),total:e.list.options.length,totalPages:1},searchLoading:!1,initLoading:!1}});else{n(l=>({...l,isNextPageLoading:!0}));try{const l={page:1,pageSize:20,filter:{...t==null?void 0:t.filter,...d==null?void 0:d.filter},...m.lodashExports.omit(t,"filter"),...m.lodashExports.omit(d,"filter"),search:{fields:((b=t==null?void 0:t.search)==null?void 0:b.fields)??[],content:((v=d==null?void 0:d.search)==null?void 0:v.content)??""}};g&&(l.filter={},l.search&&(l.search.content=""),l.page=1);const u=await e.getList(l);n(x=>({initLoading:!1,searchLoading:!1,isNextPageLoading:!1,paging:{...u,rows:(d==null?void 0:d.page)===1?u.rows:x.paging.rows.concat(u.rows)},hasNextPage:u.page<u.totalPages}))}catch{}}},i=()=>(n(d=>({...d,initLoading:!0})),o(void 0,!0)),a=d=>(n(g=>({...g,initLoading:!0})),o(d)),c=d=>{o({page:r.paging.page+1,search:{content:d}})},f=d=>{n(g=>({...g,searchLoading:!0})),o({page:1,search:{content:d}})};j.useEffect(()=>{e.disabled||(n(d=>({...d,initLoading:!0})),o({page:1}))},[...e.dependencyList||[]]);const h=()=>{n(d=>({...d,initLoading:!d.initLoading}))};return{...e,loadNextPage:c,handleChangeSearch:f,paging:r.paging,hasNextPage:r.hasNextPage,isNextPageLoading:r.isNextPageLoading,searchLoading:r.searchLoading,loading:e.loading||r.initLoading,getList:a,reset:i,toggleLoading:h}}function rl(e){return s.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsx("path",{d:"M12 3.16663H3.99998C2.80336 3.16663 1.83331 4.13668 1.83331 5.33329V12C1.83331 13.1966 2.80336 14.1666 3.99998 14.1666H12C13.1966 14.1666 14.1666 13.1966 14.1666 12V5.33329C14.1666 4.13668 13.1966 3.16663 12 3.16663Z",stroke:"#85858A"}),s.jsx("path",{d:"M4.5 1.83337V4.16671",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M2.5 6.16663H13.5",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M11.8333 1.83337V4.16671",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M5.5 9.33337C5.77614 9.33337 6 9.10952 6 8.83337C6 8.55723 5.77614 8.33337 5.5 8.33337C5.22386 8.33337 5 8.55723 5 8.83337C5 9.10952 5.22386 9.33337 5.5 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M8.16669 9.33337C8.44283 9.33337 8.66669 9.10952 8.66669 8.83337C8.66669 8.55723 8.44283 8.33337 8.16669 8.33337C7.89054 8.33337 7.66669 8.55723 7.66669 8.83337C7.66669 9.10952 7.89054 9.33337 8.16669 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M10.8333 9.33337C11.1095 9.33337 11.3333 9.10952 11.3333 8.83337C11.3333 8.55723 11.1095 8.33337 10.8333 8.33337C10.5572 8.33337 10.3333 8.55723 10.3333 8.83337C10.3333 9.10952 10.5572 9.33337 10.8333 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M5.5 12C5.77614 12 6 11.7761 6 11.5C6 11.2239 5.77614 11 5.5 11C5.22386 11 5 11.2239 5 11.5C5 11.7761 5.22386 12 5.5 12Z",fill:"#85858A"}),s.jsx("path",{d:"M8.16669 12C8.44283 12 8.66669 11.7761 8.66669 11.5C8.66669 11.2239 8.44283 11 8.16669 11C7.89054 11 7.66669 11.2239 7.66669 11.5C7.66669 11.7761 7.89054 12 8.16669 12Z",fill:"#85858A"}),s.jsx("path",{d:"M10.8333 12C11.1095 12 11.3333 11.7761 11.3333 11.5C11.3333 11.2239 11.1095 11 10.8333 11C10.5572 11 10.3333 11.2239 10.3333 11.5C10.3333 11.7761 10.5572 12 10.8333 12Z",fill:"#85858A"})]})}const nl="Reset date";function ol(e){var c,f;const[t,r]=j.useState(e.value),n=!(t!=null&&t.startDate)||!(t!=null&&t.endDate)?"":K(t==null?void 0:t.startDate).format("DD/MM/YYYY")+" ~ "+K(t==null?void 0:t.endDate).format("DD/MM/YYYY");j.useEffect(()=>{r(e.value)},[e.value]);const o=j.useRef(null),i=j.useRef(null),a=j.useRef(null);return console.log("inputRef",o),console.log("labelRef",i),s.jsx(m.DateRangePicker,{initialSettings:{autoApply:!0,ranges:{Today:[K(),K()],Yesterday:[K().subtract(1,"days"),K().subtract(1,"days")],"Last 7 days":[K().subtract(6,"days"),K()],"Last 30 days":[K().subtract(29,"days"),K()],"This month":[K().startOf("month"),K().endOf("month")],"Last month":[K().subtract(1,"month").startOf("month"),K().subtract(1,"month").endOf("month")],"Reset date":[((c=e.dateReset)==null?void 0:c.startDate)??void 0,((f=e.dateReset)==null?void 0:f.endDate)??void 0]},alwaysShowCalendars:!0,startDate:(t==null?void 0:t.startDate)??void 0,endDate:(t==null?void 0:t.endDate)??void 0,opens:"left",maxDate:K(),...e.initialSettings},onApply:(h,p)=>{var u,x,_;const d=p.chosenLabel===nl,{startDate:g,endDate:b}=p,v=d?((u=e.dateReset)==null?void 0:u.startDate)??void 0:g.toDate(),l=d?((x=e.dateReset)==null?void 0:x.endDate)??void 0:b.toDate();r({startDate:v,endDate:l}),(_=e.onChange)==null||_.call(e,{startDate:v,endDate:l})},children:s.jsx(N.TextField,{inputRef:o,label:e.label??"Permit date",placeholder:"Select date range",value:n,InputLabelProps:{ref:i,shrink:!0},InputProps:{readOnly:!0,ref:a,endAdornment:s.jsx(rl,{onClick:()=>{var h;return(h=o.current)==null?void 0:h.focus()},width:24,height:24,color:"gray"})},fullWidth:!0,sx:{"& *":{cursor:"pointer"},display:"flex",justifyContent:"center",minWidth:"250px"}})})}function Yn(e){return s.jsx("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M16 2.75H8C5.10051 2.75 2.75 5.10051 2.75 8V16C2.75 18.8995 5.10051 21.25 8 21.25H16C18.8995 21.25 21.25 18.8995 21.25 16V8C21.25 5.10051 18.8995 2.75 16 2.75Z",stroke:"#85858A",strokeWidth:"1.5"})})}function Gn(e){return s.jsxs("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M16 2.75H8C5.10051 2.75 2.75 5.10051 2.75 8V16C2.75 18.8995 5.10051 21.25 8 21.25H16C18.8995 21.25 21.25 18.8995 21.25 16V8C21.25 5.10051 18.8995 2.75 16 2.75Z",stroke:"currentColor",strokeWidth:"1.5"}),s.jsx("path",{d:"M9 12L11 14L15 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function il(e){return s.jsx(N.Checkbox,{sx:{"& input:disabled ~ svg":{fill:"#ddd"}},color:"primary",icon:s.jsx(Yn,{fontSize:"small"}),checkedIcon:s.jsx(Gn,{fontSize:"small"}),style:{padding:0},...e})}const Kn=e=>{"serviceWorker"in navigator&&navigator.serviceWorker.register(e.path).then(function(t){console.log("Registration successful, scope is:",t.scope),console.log("initialize service worker props ",e);const r=m.getMessagingInWindow(m.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));m.getToken(r,{serviceWorkerRegistration:t,vapidKey:e.vapidKey}).then(async n=>{var o,i;if(n){console.log("current token for client: ",n);try{const a="/notification-management/api/v1/notifications/registrations",c=e.baseUrl+a;await Kt.post(c,{deviceToken:n},{withCredentials:!0})}catch(a){console.log(a),m.pushError(((i=(o=a.response)==null?void 0:o.data)==null?void 0:i.errorMessage)||"Have error when get notification list")}}else console.log("No registration token available. Request permission to generate one.")}).catch(n=>{console.log("An error occurred while retrieving token. ",n)})}).catch(function(t){console.log("Service worker registration failed, error:",t)})},al=e=>{const t=new BroadcastChannel("my-channel");t.onmessage=r=>{console.log("Broadcast chanel message",r),r&&e(n=>({...n,unread:{...n.unread,total:n.unread.total+1}}))}},sl=e=>new Promise(t=>{const r=m.getMessagingInWindow(m.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));m.onMessage(r,n=>{console.log("payload",n),t(n)})}),ll=["granted","denied"],cl=e=>{const[t,r]=j.useState(!1),n=()=>{Notification.requestPermission(function(i){i==="granted"&&Kn(e),ll.includes(i)&&r(!0)})},o=()=>{r(!0)};return s.jsx(s.Fragment,{children:t?"":s.jsx("div",{className:m.styles$1["subscription-diaglog"],children:s.jsxs("div",{className:m.styles$1["subscription-container"],children:[s.jsx("h4",{className:m.styles$1["subscription-title"],children:"Notification"}),s.jsx("p",{className:m.styles$1["subscription-text"],children:"Choice to receive notifications for the most recent updates. You have the flexibility to disable them whenever you prefer."}),s.jsxs("div",{className:m.styles$1["subscription-btn__container"],children:[s.jsx("button",{className:m.styles$1["btn-cancel"],onClick:o,children:"Not now"}),s.jsx("button",{className:m.styles$1["btn-success"],onClick:n,children:"Turn on"})]})]})})})},Zn=e=>{const[t,r]=j.useState({userName:"",message:"",context:""});console.log(t);const{setNotiData:n}=j.useContext(m.CustomOpenList);function o(){return s.jsx("div",{className:m.styles$2["notification-massage_container"],children:s.jsxs("div",{className:m.styles$2["notification-massage_content"],children:[s.jsx("h6",{className:m.styles$2["notification-name"],children:t==null?void 0:t.userName}),s.jsxs("div",{className:m.styles$2["notification-message_service"],children:[s.jsxs("span",{children:[`${t==null?void 0:t.message} `," "]}),s.jsx("span",{children:t==null?void 0:t.context})]})]})})}return j.useEffect(()=>{t&&Notification.permission==="granted"&&(t.userName||t.message||t.context)&&m.notify(s.jsx(o,{}))},[t]),j.useEffect(()=>{Notification.permission==="granted"&&Kn(e)},[Notification.permission]),j.useEffect(()=>{al(n)},[]),sl(e).then(i=>{var a,c,f;console.log("aaa",i),r({userName:(a=i==null?void 0:i.data)==null?void 0:a.userName,message:(c=i==null?void 0:i.data)==null?void 0:c.message,context:(f=i==null?void 0:i.data)==null?void 0:f.context}),n(h=>{var p;return{...h,unread:{...h.unread,total:((p=h.unread)==null?void 0:p.total)+1}}})}).catch(i=>console.log("failed: ",i)),s.jsx("div",{children:"Notification"in window&&Notification.permission==="default"?s.jsx(cl,{...e}):""})},ul=(e,t)=>j.cloneElement(t,{},e),dl=({children:e,providers:t})=>s.jsx(s.Fragment,{children:t.reduceRight(ul,e)});exports.GlobalMenu=m.GlobalMenu;exports.notify=m.notify;exports.pushError=m.pushError;exports.pushSuccess=m.pushSuccess;exports.pushWarning=m.pushWarning;exports.AutocompleteOption=Gt;exports.BaseCheckbox=il;exports.CheckedIcon=Gn;exports.MultiProvider=dl;exports.NoData=mo;exports.NotificationBase=Zn;exports.PopUpBase=bo;exports.StyledAutocomplete=el;exports.StyledDateRangePicker=ol;exports.ToastConfig=eo;exports.ToastConfigNotification=to;exports.TopBar=fo;exports.UnauthorizedPage=wo;exports.UncheckedIcon=Yn;exports.usePopUp=_o;exports.useStyledAutocomplete=tl;
|
|
107
|
+
} });`:Ue(12,u?` (${u})`:"",JSON.stringify(l.main)));return qr(l,"light",_,n),qr(l,"dark",S,n),l.contrastText||(l.contrastText=m(l.main)),l},b={dark:zt,light:Ur};return process.env.NODE_ENV!=="production"&&(b[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),le(p._extends({common:p._extends({},Ke),mode:t,primary:y({color:i,name:"primary"}),secondary:y({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:c,name:"error"}),warning:y({color:h,name:"warning"}),info:y({color:d,name:"info"}),success:y({color:f,name:"success"}),grey:Os,contrastThreshold:r,getContrastText:m,augmentColor:y,tonalOffset:n},b[t]),o)}const Bs=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ws(e){return Math.round(e*1e5)/1e5}const Yr={textTransform:"uppercase"},Gr='"Roboto", "Helvetica", "Arial", sans-serif';function Us(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=Gr,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:c=500,fontWeightBold:d=700,htmlFontSize:f=16,allVariants:h,pxToRem:m}=r,y=p._objectWithoutPropertiesLoose(r,Bs);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const b=o/14,v=m||(x=>`${x/f*b}rem`),l=(x,_,S,C,g)=>p._extends({fontFamily:n,fontWeight:x,fontSize:v(_),lineHeight:S},n===Gr?{letterSpacing:`${Ws(C/_)}em`}:{},g,h),u={h1:l(i,96,1.167,-1.5),h2:l(i,60,1.2,-.5),h3:l(a,48,1.167,0),h4:l(a,34,1.235,.25),h5:l(a,24,1.334,0),h6:l(c,20,1.6,.15),subtitle1:l(a,16,1.75,.15),subtitle2:l(c,14,1.57,.1),body1:l(a,16,1.5,.15),body2:l(a,14,1.43,.15),button:l(c,14,1.75,.4,Yr),caption:l(a,12,1.66,.4),overline:l(a,12,2.66,1,Yr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return le(p._extends({htmlFontSize:f,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:c,fontWeightBold:d},u),y,{clone:!1})}const qs=.2,Ys=.14,Gs=.12;function F(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${qs})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ys})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Gs})`].join(",")}const Ks=["none",F(0,2,1,-1,0,1,1,0,0,1,3,0),F(0,3,1,-2,0,2,2,0,0,1,5,0),F(0,3,3,-2,0,3,4,0,0,1,8,0),F(0,2,4,-1,0,4,5,0,0,1,10,0),F(0,3,5,-1,0,5,8,0,0,1,14,0),F(0,3,5,-1,0,6,10,0,0,1,18,0),F(0,4,5,-2,0,7,10,1,0,2,16,1),F(0,5,5,-3,0,8,10,1,0,3,14,2),F(0,5,6,-3,0,9,12,1,0,3,16,2),F(0,6,6,-3,0,10,14,1,0,4,18,3),F(0,6,7,-4,0,11,15,1,0,4,20,3),F(0,7,8,-4,0,12,17,2,0,5,22,4),F(0,7,8,-4,0,13,19,2,0,5,24,4),F(0,7,9,-4,0,14,21,2,0,5,26,4),F(0,8,9,-5,0,15,22,2,0,6,28,5),F(0,8,10,-5,0,16,24,2,0,6,30,5),F(0,8,11,-5,0,17,26,2,0,6,32,5),F(0,9,11,-5,0,18,28,2,0,7,34,6),F(0,9,12,-6,0,19,29,2,0,7,36,6),F(0,10,13,-6,0,20,31,3,0,8,38,7),F(0,10,13,-6,0,21,33,3,0,8,40,7),F(0,10,14,-6,0,22,35,3,0,8,42,7),F(0,11,14,-7,0,23,36,3,0,9,44,8),F(0,11,15,-7,0,24,38,3,0,9,46,8)],Zs=Ks,Xs=["duration","easing","delay"],Js={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Qs={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Kr(e){return`${Math.round(e)}ms`}function e0(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function t0(e){const t=p._extends({},Js,e.easing),r=p._extends({},Qs,e.duration),n=(o=["all"],i={})=>{const{duration:a=r.standard,easing:c=t.easeInOut,delay:d=0}=i,f=p._objectWithoutPropertiesLoose(i,Xs);if(process.env.NODE_ENV!=="production"){const h=y=>typeof y=="string",m=y=>!isNaN(parseFloat(y));!h(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!m(a)&&!h(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),h(c)||console.error('MUI: Argument "easing" must be a string.'),!m(d)&&!h(d)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
108
|
+
`)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(h=>`${h} ${typeof a=="string"?a:Kr(a)} ${c} ${typeof d=="string"?d:Kr(d)}`).join(",")};return p._extends({getAutoHeightDuration:e0,create:n},e,{easing:t,duration:r})}const r0={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},n0=r0,o0=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function i0(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=p._objectWithoutPropertiesLoose(e,o0);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Ue(18));const c=Hs(n),d=tr(e);let f=le(d,{mixins:ds(d.breakpoints,r),palette:c,shadows:Zs.slice(),typography:Us(c,i),transitions:t0(o),zIndex:p._extends({},n0)});if(f=le(f,a),f=t.reduce((h,m)=>le(h,m),f),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],m=(y,b)=>{let v;for(v in y){const l=y[v];if(h.indexOf(v)!==-1&&Object.keys(l).length>0){if(process.env.NODE_ENV!=="production"){const u=Xt("",v);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${u}' syntax:`,JSON.stringify({root:{[`&.${u}`]:l}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
109
|
+
`))}y[v]={}}}};Object.keys(f.components).forEach(y=>{const b=f.components[y].styleOverrides;b&&y.indexOf("Mui")===0&&m(b,y)})}return f.unstable_sxConfig=p._extends({},Je,a==null?void 0:a.unstable_sxConfig),f.unstable_sx=function(m){return er({sx:m,theme:this})},f}const a0=i0(),Bn=a0,Wn="$$material";function s0({props:e,name:t}){return as({props:e,name:t,defaultTheme:Bn,themeId:Wn})}var et={};const l0=p.getAugmentedNamespace(p._extends$1),c0=p.getAugmentedNamespace(p.objectWithoutPropertiesLoose),u0=p.getAugmentedNamespace(ts),d0=p.getAugmentedNamespace(Eo),f0=p.getAugmentedNamespace($o),h0=p.getAugmentedNamespace(ko),m0=p.getAugmentedNamespace(Di),p0=p.getAugmentedNamespace(us);var ze=Rn;Object.defineProperty(et,"__esModule",{value:!0});var g0=et.default=$0,y0=et.shouldForwardProp=st;et.systemDefaultTheme=void 0;var te=ze(l0),Yt=ze(c0),Zr=j0(u0),v0=d0,x0=ze(f0),b0=ze(h0),_0=ze(m0),S0=ze(p0);const w0=["ownerState"],E0=["variants"],C0=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Un(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Un=function(n){return n?r:t})(e)}function j0(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Un(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function T0(e){return Object.keys(e).length===0}function O0(e){return typeof e=="string"&&e.charCodeAt(0)>96}function st(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const N0=et.systemDefaultTheme=(0,_0.default)(),Xr=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function nt({defaultTheme:e,theme:t,themeId:r}){return T0(t)?e:t[r]||t}function k0(e){return e?(t,r)=>r[e]:null}function lt(e,t){let{ownerState:r}=t,n=(0,Yt.default)(t,w0);const o=typeof e=="function"?e((0,te.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(i=>lt(i,(0,te.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let c=(0,Yt.default)(o,E0);return i.forEach(d=>{let f=!0;typeof d.props=="function"?f=d.props((0,te.default)({ownerState:r},n,r)):Object.keys(d.props).forEach(h=>{(r==null?void 0:r[h])!==d.props[h]&&n[h]!==d.props[h]&&(f=!1)}),f&&(Array.isArray(c)||(c=[c]),c.push(typeof d.style=="function"?d.style((0,te.default)({ownerState:r},n,r)):d.style))}),c}return o}function $0(e={}){const{themeId:t,defaultTheme:r=N0,rootShouldForwardProp:n=st,slotShouldForwardProp:o=st}=e,i=a=>(0,S0.default)((0,te.default)({},a,{theme:nt((0,te.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,c={})=>{(0,Zr.internal_processStyles)(a,g=>g.filter(w=>!(w!=null&&w.__mui_systemSx)));const{name:d,slot:f,skipVariantsResolver:h,skipSx:m,overridesResolver:y=k0(Xr(f))}=c,b=(0,Yt.default)(c,C0),v=h!==void 0?h:f&&f!=="Root"&&f!=="root"||!1,l=m||!1;let u;process.env.NODE_ENV!=="production"&&d&&(u=`${d}-${Xr(f||"Root")}`);let x=st;f==="Root"||f==="root"?x=n:f?x=o:O0(a)&&(x=void 0);const _=(0,Zr.default)(a,(0,te.default)({shouldForwardProp:x,label:u},b)),S=g=>typeof g=="function"&&g.__emotion_real!==g||(0,v0.isPlainObject)(g)?w=>lt(g,(0,te.default)({},w,{theme:nt({theme:w.theme,defaultTheme:r,themeId:t})})):g,C=(g,...w)=>{let E=S(g);const M=w?w.map(S):[];d&&y&&M.push(z=>{const W=nt((0,te.default)({},z,{defaultTheme:r,themeId:t}));if(!W.components||!W.components[d]||!W.components[d].styleOverrides)return null;const G=W.components[d].styleOverrides,ae={};return Object.entries(G).forEach(([pe,ge])=>{ae[pe]=lt(ge,(0,te.default)({},z,{theme:W}))}),y(z,ae)}),d&&!v&&M.push(z=>{var W;const G=nt((0,te.default)({},z,{defaultTheme:r,themeId:t})),ae=G==null||(W=G.components)==null||(W=W[d])==null?void 0:W.variants;return lt({variants:ae},(0,te.default)({},z,{theme:G}))}),l||M.push(i);const P=M.length-w.length;if(Array.isArray(g)&&P>0){const z=new Array(P).fill("");E=[...g,...z],E.raw=[...g.raw,...z]}const B=_(E,...M);if(process.env.NODE_ENV!=="production"){let z;d&&(z=`${d}${(0,x0.default)(f||"")}`),z===void 0&&(z=`Styled(${(0,b0.default)(a)})`),B.displayName=z}return a.muiName&&(B.muiName=a.muiName),B};return _.withConfig&&(C.withConfig=_.withConfig),C}}const M0=e=>y0(e)&&e!=="classes",P0=g0({themeId:Wn,defaultTheme:Bn,rootShouldForwardProp:M0}),A0=P0;function I0(e){return Xt("MuiSvgIcon",e)}Do("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const R0=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],D0=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ve(t)}`,`fontSize${ve(r)}`]};return Mo(o,I0,n)},z0=A0("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ve(r.color)}`],t[`fontSize${ve(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,c,d,f,h,m,y,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((c=e.typography)==null||(d=c.pxToRem)==null?void 0:d.call(c,24))||"1.5rem",large:((f=e.typography)==null||(h=f.pxToRem)==null?void 0:h.call(f,35))||"2.1875rem"}[t.fontSize],color:(m=(y=(e.vars||e).palette)==null||(y=y[t.color])==null?void 0:y.main)!=null?m:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),hr=L.forwardRef(function(t,r){const n=s0({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:c="svg",fontSize:d="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:y="0 0 24 24"}=n,b=p._objectWithoutPropertiesLoose(n,R0),v=L.isValidElement(o)&&o.type==="svg",l=p._extends({},n,{color:a,component:c,fontSize:d,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:y,hasSvgAsChild:v}),u={};h||(u.viewBox=y);const x=D0(l);return s.jsxs(z0,p._extends({as:c,className:p.clsx(x.root,i),focusable:"false",color:f,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r},u,b,v&&o.props,{ownerState:l,children:[v?o.props.children:o,m?s.jsx("title",{children:m}):null]}))});process.env.NODE_ENV!=="production"&&(hr.propTypes={children:p.PropTypes.node,classes:p.PropTypes.object,className:p.PropTypes.string,color:p.PropTypes.oneOfType([p.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),p.PropTypes.string]),component:p.PropTypes.elementType,fontSize:p.PropTypes.oneOfType([p.PropTypes.oneOf(["inherit","large","medium","small"]),p.PropTypes.string]),htmlColor:p.PropTypes.string,inheritViewBox:p.PropTypes.bool,shapeRendering:p.PropTypes.string,sx:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.oneOfType([p.PropTypes.func,p.PropTypes.object,p.PropTypes.bool])),p.PropTypes.func,p.PropTypes.object]),titleAccess:p.PropTypes.string,viewBox:p.PropTypes.string});hr.muiName="SvgIcon";const Jr=hr;function L0(e,t){function r(n,o){return s.jsx(Jr,p._extends({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Jr.muiName,L.memo(L.forwardRef(r))}const F0=L0(s.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");var Qr=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function V0(e,t){return!!(e===t||Qr(e)&&Qr(t))}function H0(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!V0(e[r],t[r]))return!1;return!0}function Lt(e,t){t===void 0&&(t=H0);var r,n=[],o,i=!1;function a(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return i&&r===this&&t(c,n)||(o=e.apply(this,c),i=!0,r=this,n=c),o}return a}var B0=typeof performance=="object"&&typeof performance.now=="function",en=B0?function(){return performance.now()}:function(){return Date.now()};function tn(e){cancelAnimationFrame(e.id)}function W0(e,t){var r=en();function n(){en()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}var o={id:requestAnimationFrame(n)};return o}var Ft=-1;function rn(e){if(e===void 0&&(e=!1),Ft===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),Ft=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Ft}var ke=null;function nn(e){if(e===void 0&&(e=!1),ke===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?ke="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?ke="negative":ke="positive-ascending"),document.body.removeChild(t),ke}return ke}process.env.NODE_ENV;var U0=150,q0=function(t,r){return t},ct=null,ut=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(ct=new WeakSet,ut=new WeakSet);function Y0(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,o=e.getItemSize,i=e.getOffsetForIndexAndAlignment,a=e.getStartIndexForOffset,c=e.getStopIndexForStartIndex,d=e.initInstanceProps,f=e.shouldResetStyleCacheOnItemSizeChange,h=e.validateProps;return t=function(m){p._inheritsLoose(y,m);function y(v){var l;return l=m.call(this,v)||this,l._instanceProps=d(l.props,p._assertThisInitialized(l)),l._outerRef=void 0,l._resetIsScrollingTimeoutId=null,l.state={instance:p._assertThisInitialized(l),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof l.props.initialScrollOffset=="number"?l.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},l._callOnItemsRendered=void 0,l._callOnItemsRendered=Lt(function(u,x,_,S){return l.props.onItemsRendered({overscanStartIndex:u,overscanStopIndex:x,visibleStartIndex:_,visibleStopIndex:S})}),l._callOnScroll=void 0,l._callOnScroll=Lt(function(u,x,_){return l.props.onScroll({scrollDirection:u,scrollOffset:x,scrollUpdateWasRequested:_})}),l._getItemStyle=void 0,l._getItemStyle=function(u){var x=l.props,_=x.direction,S=x.itemSize,C=x.layout,g=l._getItemStyleCache(f&&S,f&&C,f&&_),w;if(g.hasOwnProperty(u))w=g[u];else{var E=r(l.props,u,l._instanceProps),M=o(l.props,u,l._instanceProps),P=_==="horizontal"||C==="horizontal",B=_==="rtl",z=P?E:0;g[u]=w={position:"absolute",left:B?void 0:z,right:B?z:void 0,top:P?0:E,height:P?"100%":M,width:P?M:"100%"}}return w},l._getItemStyleCache=void 0,l._getItemStyleCache=Lt(function(u,x,_){return{}}),l._onScrollHorizontal=function(u){var x=u.currentTarget,_=x.clientWidth,S=x.scrollLeft,C=x.scrollWidth;l.setState(function(g){if(g.scrollOffset===S)return null;var w=l.props.direction,E=S;if(w==="rtl")switch(nn()){case"negative":E=-S;break;case"positive-descending":E=C-_-S;break}return E=Math.max(0,Math.min(E,C-_)),{isScrolling:!0,scrollDirection:g.scrollOffset<E?"forward":"backward",scrollOffset:E,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._onScrollVertical=function(u){var x=u.currentTarget,_=x.clientHeight,S=x.scrollHeight,C=x.scrollTop;l.setState(function(g){if(g.scrollOffset===C)return null;var w=Math.max(0,Math.min(C,S-_));return{isScrolling:!0,scrollDirection:g.scrollOffset<w?"forward":"backward",scrollOffset:w,scrollUpdateWasRequested:!1}},l._resetIsScrollingDebounced)},l._outerRefSetter=function(u){var x=l.props.outerRef;l._outerRef=u,typeof x=="function"?x(u):x!=null&&typeof x=="object"&&x.hasOwnProperty("current")&&(x.current=u)},l._resetIsScrollingDebounced=function(){l._resetIsScrollingTimeoutId!==null&&tn(l._resetIsScrollingTimeoutId),l._resetIsScrollingTimeoutId=W0(l._resetIsScrolling,U0)},l._resetIsScrolling=function(){l._resetIsScrollingTimeoutId=null,l.setState({isScrolling:!1},function(){l._getItemStyleCache(-1,null)})},l}y.getDerivedStateFromProps=function(l,u){return G0(l,u),h(l),null};var b=y.prototype;return b.scrollTo=function(l){l=Math.max(0,l),this.setState(function(u){return u.scrollOffset===l?null:{scrollDirection:u.scrollOffset<l?"forward":"backward",scrollOffset:l,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},b.scrollToItem=function(l,u){u===void 0&&(u="auto");var x=this.props,_=x.itemCount,S=x.layout,C=this.state.scrollOffset;l=Math.max(0,Math.min(l,_-1));var g=0;if(this._outerRef){var w=this._outerRef;S==="vertical"?g=w.scrollWidth>w.clientWidth?rn():0:g=w.scrollHeight>w.clientHeight?rn():0}this.scrollTo(i(this.props,l,u,C,this._instanceProps,g))},b.componentDidMount=function(){var l=this.props,u=l.direction,x=l.initialScrollOffset,_=l.layout;if(typeof x=="number"&&this._outerRef!=null){var S=this._outerRef;u==="horizontal"||_==="horizontal"?S.scrollLeft=x:S.scrollTop=x}this._callPropsCallbacks()},b.componentDidUpdate=function(){var l=this.props,u=l.direction,x=l.layout,_=this.state,S=_.scrollOffset,C=_.scrollUpdateWasRequested;if(C&&this._outerRef!=null){var g=this._outerRef;if(u==="horizontal"||x==="horizontal")if(u==="rtl")switch(nn()){case"negative":g.scrollLeft=-S;break;case"positive-ascending":g.scrollLeft=S;break;default:var w=g.clientWidth,E=g.scrollWidth;g.scrollLeft=E-w-S;break}else g.scrollLeft=S;else g.scrollTop=S}this._callPropsCallbacks()},b.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&tn(this._resetIsScrollingTimeoutId)},b.render=function(){var l=this.props,u=l.children,x=l.className,_=l.direction,S=l.height,C=l.innerRef,g=l.innerElementType,w=l.innerTagName,E=l.itemCount,M=l.itemData,P=l.itemKey,B=P===void 0?q0:P,z=l.layout,W=l.outerElementType,G=l.outerTagName,ae=l.style,pe=l.useIsScrolling,ge=l.width,be=this.state.isScrolling,ue=_==="horizontal"||z==="horizontal",_e=ue?this._onScrollHorizontal:this._onScrollVertical,ye=this._getRangeToRender(),Le=ye[0],Fe=ye[1],Se=[];if(E>0)for(var de=Le;de<=Fe;de++)Se.push(j.createElement(u,{data:M,key:B(de,M),index:de,isScrolling:pe?be:void 0,style:this._getItemStyle(de)}));var we=n(this.props,this._instanceProps);return j.createElement(W||G||"div",{className:x,onScroll:_e,ref:this._outerRefSetter,style:p._extends({position:"relative",height:S,width:ge,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:_},ae)},j.createElement(g||w||"div",{children:Se,ref:C,style:{height:ue?"100%":we,pointerEvents:be?"none":void 0,width:ue?we:"100%"}}))},b._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var l=this.props.itemCount;if(l>0){var u=this._getRangeToRender(),x=u[0],_=u[1],S=u[2],C=u[3];this._callOnItemsRendered(x,_,S,C)}}if(typeof this.props.onScroll=="function"){var g=this.state,w=g.scrollDirection,E=g.scrollOffset,M=g.scrollUpdateWasRequested;this._callOnScroll(w,E,M)}},b._getRangeToRender=function(){var l=this.props,u=l.itemCount,x=l.overscanCount,_=this.state,S=_.isScrolling,C=_.scrollDirection,g=_.scrollOffset;if(u===0)return[0,0,0,0];var w=a(this.props,g,this._instanceProps),E=c(this.props,w,g,this._instanceProps),M=!S||C==="backward"?Math.max(1,x):1,P=!S||C==="forward"?Math.max(1,x):1;return[Math.max(0,w-M),Math.max(0,Math.min(u-1,E+P)),w,E]},y}(j.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var G0=function(t,r){var n=t.children,o=t.direction,i=t.height,a=t.layout,c=t.innerTagName,d=t.outerTagName,f=t.width,h=r.instance;if(process.env.NODE_ENV!=="production"){(c!=null||d!=null)&&ut&&!ut.has(h)&&(ut.add(h),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var m=o==="horizontal"||a==="horizontal";switch(o){case"horizontal":case"vertical":ct&&!ct.has(h)&&(ct.add(h),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+o+'" was specified.'))}switch(a){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+a+'" was specified.'))}if(n==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(n===null?"null":typeof n)+'" was specified.'));if(m&&typeof f!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(f===null?"null":typeof f)+'" was specified.'));if(!m&&typeof i!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(i===null?"null":typeof i)+'" was specified.'))}},K0=50,$e=function(t,r,n){var o=t,i=o.itemSize,a=n.itemMetadataMap,c=n.lastMeasuredIndex;if(r>c){var d=0;if(c>=0){var f=a[c];d=f.offset+f.size}for(var h=c+1;h<=r;h++){var m=i(h);a[h]={offset:d,size:m},d+=m}n.lastMeasuredIndex=r}return a[r]},Z0=function(t,r,n){var o=r.itemMetadataMap,i=r.lastMeasuredIndex,a=i>0?o[i].offset:0;return a>=n?qn(t,r,i,0,n):X0(t,r,Math.max(0,i),n)},qn=function(t,r,n,o,i){for(;o<=n;){var a=o+Math.floor((n-o)/2),c=$e(t,a,r).offset;if(c===i)return a;c<i?o=a+1:c>i&&(n=a-1)}return o>0?o-1:0},X0=function(t,r,n,o){for(var i=t.itemCount,a=1;n<i&&$e(t,n,r).offset<o;)n+=a,a*=2;return qn(t,r,Math.min(n,i-1),Math.floor(n/2),o)},on=function(t,r){var n=t.itemCount,o=r.itemMetadataMap,i=r.estimatedItemSize,a=r.lastMeasuredIndex,c=0;if(a>=n&&(a=n-1),a>=0){var d=o[a];c=d.offset+d.size}var f=n-a-1,h=f*i;return c+h},J0=Y0({getItemOffset:function(t,r,n){return $e(t,r,n).offset},getItemSize:function(t,r,n){return n.itemMetadataMap[r].size},getEstimatedTotalSize:on,getOffsetForIndexAndAlignment:function(t,r,n,o,i,a){var c=t.direction,d=t.height,f=t.layout,h=t.width,m=c==="horizontal"||f==="horizontal",y=m?h:d,b=$e(t,r,i),v=on(t,i),l=Math.max(0,Math.min(v-y,b.offset)),u=Math.max(0,b.offset-y+b.size+a);switch(n==="smart"&&(o>=u-y&&o<=l+y?n="auto":n="center"),n){case"start":return l;case"end":return u;case"center":return Math.round(u+(l-u)/2);case"auto":default:return o>=u&&o<=l?o:o<u?u:l}},getStartIndexForOffset:function(t,r,n){return Z0(t,n,r)},getStopIndexForStartIndex:function(t,r,n,o){for(var i=t.direction,a=t.height,c=t.itemCount,d=t.layout,f=t.width,h=i==="horizontal"||d==="horizontal",m=h?f:a,y=$e(t,r,o),b=n+m,v=y.offset+y.size,l=r;l<c-1&&v<b;)l++,v+=$e(t,l,o).size;return l},initInstanceProps:function(t,r){var n=t,o=n.estimatedItemSize,i={itemMetadataMap:{},estimatedItemSize:o||K0,lastMeasuredIndex:-1};return r.resetAfterIndex=function(a,c){c===void 0&&(c=!0),i.lastMeasuredIndex=Math.min(i.lastMeasuredIndex,a-1),r._getItemStyleCache(-1),c&&r.forceUpdate()},i},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){var r=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof r!="function")throw Error('An invalid "itemSize" prop has been specified. Value should be a function. '+('"'+(r===null?"null":typeof r)+'" was specified.'))}});function dt(e,t){return t?e:void 0}function Gt(e){return s.jsx(N.Stack,{sx:{cursor:"pointer"},onClick:t=>{var r;t.preventDefault(),t.stopPropagation(),(r=e.onClick)==null||r.call(e,e.option)},...e.stackProps,children:s.jsx(N.Stack,{sx:{p:1,transition:"0.2s",borderRadius:"5px",cursor:"pointer",...dt({backgroundColor:p.color.primary200},e.select),":hover":{backgroundColor:p.color.primary100,borderColor:"transparent"}},children:e.renderOption(e.option)})})}const gt=37,Q0=(e,t)=>{const a=document.createElement("p");a.innerText=t,a.style.width=`${e-16-16-4}px`,document.body.appendChild(a);const c=a.offsetHeight;return document.body.removeChild(a),c>21?gt+21:gt};function el(e){const[t,r]=j.useState(!1),[n,o]=j.useState(""),[i,a]=j.useState(""),[c,d]=j.useState(!1),{isRequired:f=!1}=e,h=j.useCallback(p._.debounce(w=>{var E;(E=e.handleChangeSearch)==null||E.call(e,w)},300),[e.handleChangeSearch]),m=()=>{r(!t)},y=()=>{r(!1),a(""),h("")};j.useEffect(()=>{o(e.value?e.getOptionLabel(e.value):"")},[e.value]),j.useEffect(()=>{t||o(e.value?e.getOptionLabel(e.value):"")},[t]),j.useEffect(()=>{d(e.searchLoading)},[e.paging.rows,e.searchLoading]);const b=e.paging.rows,{hasNextPage:v}=e,l=v?b.length+1:b.length,u=()=>e.isNextPageLoading?void 0:e.loadNextPage(i),x=w=>!v||w<b.length,_=w=>{o(w.target.value),t&&(a(w.target.value),h(w.target.value),d(!0))},S=j.useRef(null),C=j.useRef(null),g=j.useRef(null);return j.useEffect(()=>{var w,E,M,P;t?((w=C.current)==null||w.classList.add("Mui-focused"),(E=g.current)==null||E.classList.add("Mui-focused")):((M=C.current)==null||M.classList.remove("Mui-focused"),(P=g.current)==null||P.classList.remove("Mui-focused"))},[t]),s.jsx(N.ClickAwayListener,{onClickAway:y,mouseEvent:"onMouseDown",touchEvent:"onTouchEnd",children:s.jsx("div",{ref:S,style:{width:e.wrapperWidth??"auto"},children:s.jsxs(N.Stack,{sx:{position:"relative"},children:[s.jsx(N.TextField,{required:f,label:e.label,value:n,disabled:e.loading||e.disabled||e.readOnly,fullWidth:!0,error:e.error,helperText:e.helperText,onFocus:w=>{e.loading||e.disabled||e.readOnly||(w.preventDefault(),w.stopPropagation(),r(!0))},autoComplete:"off",onChange:_,placeholder:e.placeholder||"All options",sx:{"& input:not(:focus)":{"&::placeholder":{color:e.placeHolderColor||"#C5C5C5",opacity:1}}},InputLabelProps:{ref:C,shrink:!0},InputProps:{readOnly:e.readOnly,ref:g,endAdornment:s.jsx(N.IconButton,{size:"small",sx:{padding:"1px"},onClick:w=>{var E;w.preventDefault(),w.stopPropagation(),m(),(E=S.current)==null||E.focus()},disabled:e.loading||e.disabled||e.readOnly,children:e.loading?s.jsx(N.CircularProgress,{size:"16px"}):s.jsx(F0,{fontSize:"small",style:{transition:"0.3s"},className:t?"rotate":""})})}}),s.jsx(N.Fade,{in:t,timeout:0,unmountOnExit:!1,children:s.jsxs(N.Paper,{sx:{position:"absolute",top:"calc(100% + 2px)",zIndex:2,left:0,right:0,p:1},children:[!e.disabledAllOption&&s.jsx(N.Stack,{sx:{...dt({display:"none"},!!c)},children:s.jsx(N.Stack,{children:s.jsx(Gt,{option:void 0,select:!e.value,renderOption:()=>s.jsx(N.Typography,{children:e.placeholder||"All options"}),onClick:()=>{var w,E;y(),(w=e.onChange)==null||w.call(e,void 0),(E=e.handleChangeSearch)==null||E.call(e,"")}})})}),!c&&s.jsx(p.InfiniteLoader,{isItemLoaded:x,itemCount:l,loadMoreItems:u,threshold:5,children:({onItemsRendered:w,ref:E})=>s.jsx(J0,{ref:E,onItemsRendered:w,height:gt*Math.min(e.itemsNumber||6,l),itemCount:l,itemSize:M=>{var P;return Q0((P=S.current)==null?void 0:P.offsetWidth,b[M]?e.getOptionLabel(b[M]):"")},width:"100%",className:"styled-scroll",children:({index:M,style:P})=>{var z;const B=b[M];return x(M)?s.jsx(Gt,{stackProps:{style:P},option:B,renderOption:W=>{var G;return s.jsxs(N.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[s.jsx(N.Typography,{children:e.getOptionLabel(W)}),(G=e.renderOptionTooltip)==null?void 0:G.call(e,W)]})},onClick:W=>{var G;y(),(G=e.onChange)==null||G.call(e,W)},select:((z=e.isEqual)==null?void 0:z.call(e,B,e.value))??p._.isEqual(B,e.value)}):s.jsx(N.Stack,{style:P,sx:{height:gt,pl:1},justifyContent:"center",children:s.jsx(N.Typography,{children:"Loading..."})})}})}),s.jsx(N.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...dt({display:"none"},!c)},children:s.jsx(N.Typography,{color:"grayText",children:"Searching..."})}),s.jsx(N.Stack,{sx:{height:30,display:"flex",justifyContent:"center",paddingLeft:"5px",...dt({display:"none"},!!(b.length||e.loading||c))},children:s.jsx(N.Typography,{color:"grayText",children:"No options"})})]})})]})})})}function tl(e){var h;const{listProps:t}=e,[r,n]=j.useState({initLoading:!e.disabled,searchLoading:!1,hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:((h=e.listProps)==null?void 0:h.pageSize)||20,rows:[],total:0,totalPages:1}}),o=async(m,y)=>{var b,v;if(e.list)n(()=>{var x;const l=((x=m==null?void 0:m.search)==null?void 0:x.content)||"";return{hasNextPage:!1,isNextPageLoading:!1,paging:{page:1,pageSize:1e5,rows:e.list.options.filter(_=>e.list.searchOption?e.list.searchOption(_,l):p.search(_,l,e.list.searchFields)),total:e.list.options.length,totalPages:1},searchLoading:!1,initLoading:!1}});else{n(l=>({...l,isNextPageLoading:!0}));try{const l={page:1,pageSize:20,filter:{...t==null?void 0:t.filter,...m==null?void 0:m.filter},...p.lodashExports.omit(t,"filter"),...p.lodashExports.omit(m,"filter"),search:{fields:((b=t==null?void 0:t.search)==null?void 0:b.fields)??[],content:((v=m==null?void 0:m.search)==null?void 0:v.content)??""}};y&&(l.filter={},l.search&&(l.search.content=""),l.page=1);const u=await e.getList(l);n(x=>({initLoading:!1,searchLoading:!1,isNextPageLoading:!1,paging:{...u,rows:(m==null?void 0:m.page)===1?u.rows:x.paging.rows.concat(u.rows)},hasNextPage:u.page<u.totalPages}))}catch{}}},i=()=>(n(m=>({...m,initLoading:!0})),o(void 0,!0)),a=m=>(n(y=>({...y,initLoading:!0})),o(m)),c=m=>{o({page:r.paging.page+1,search:{content:m}})},d=m=>{n(y=>({...y,searchLoading:!0})),o({page:1,search:{content:m}})};j.useEffect(()=>{e.disabled||(n(m=>({...m,initLoading:!0})),o({page:1}))},[...e.dependencyList||[]]);const f=()=>{n(m=>({...m,initLoading:!m.initLoading}))};return{...e,loadNextPage:c,handleChangeSearch:d,paging:r.paging,hasNextPage:r.hasNextPage,isNextPageLoading:r.isNextPageLoading,searchLoading:r.searchLoading,loading:e.loading||r.initLoading,getList:a,reset:i,toggleLoading:f}}function rl(e){return s.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[s.jsx("path",{d:"M12 3.16663H3.99998C2.80336 3.16663 1.83331 4.13668 1.83331 5.33329V12C1.83331 13.1966 2.80336 14.1666 3.99998 14.1666H12C13.1966 14.1666 14.1666 13.1966 14.1666 12V5.33329C14.1666 4.13668 13.1966 3.16663 12 3.16663Z",stroke:"#85858A"}),s.jsx("path",{d:"M4.5 1.83337V4.16671",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M2.5 6.16663H13.5",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M11.8333 1.83337V4.16671",stroke:"#85858A",strokeLinecap:"round"}),s.jsx("path",{d:"M5.5 9.33337C5.77614 9.33337 6 9.10952 6 8.83337C6 8.55723 5.77614 8.33337 5.5 8.33337C5.22386 8.33337 5 8.55723 5 8.83337C5 9.10952 5.22386 9.33337 5.5 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M8.16669 9.33337C8.44283 9.33337 8.66669 9.10952 8.66669 8.83337C8.66669 8.55723 8.44283 8.33337 8.16669 8.33337C7.89054 8.33337 7.66669 8.55723 7.66669 8.83337C7.66669 9.10952 7.89054 9.33337 8.16669 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M10.8333 9.33337C11.1095 9.33337 11.3333 9.10952 11.3333 8.83337C11.3333 8.55723 11.1095 8.33337 10.8333 8.33337C10.5572 8.33337 10.3333 8.55723 10.3333 8.83337C10.3333 9.10952 10.5572 9.33337 10.8333 9.33337Z",fill:"#85858A"}),s.jsx("path",{d:"M5.5 12C5.77614 12 6 11.7761 6 11.5C6 11.2239 5.77614 11 5.5 11C5.22386 11 5 11.2239 5 11.5C5 11.7761 5.22386 12 5.5 12Z",fill:"#85858A"}),s.jsx("path",{d:"M8.16669 12C8.44283 12 8.66669 11.7761 8.66669 11.5C8.66669 11.2239 8.44283 11 8.16669 11C7.89054 11 7.66669 11.2239 7.66669 11.5C7.66669 11.7761 7.89054 12 8.16669 12Z",fill:"#85858A"}),s.jsx("path",{d:"M10.8333 12C11.1095 12 11.3333 11.7761 11.3333 11.5C11.3333 11.2239 11.1095 11 10.8333 11C10.5572 11 10.3333 11.2239 10.3333 11.5C10.3333 11.7761 10.5572 12 10.8333 12Z",fill:"#85858A"})]})}const nl="Reset date";function ol(e){var c,d;const[t,r]=j.useState(e.value),n=!(t!=null&&t.startDate)||!(t!=null&&t.endDate)?"":K(t==null?void 0:t.startDate).format("DD/MM/YYYY")+" ~ "+K(t==null?void 0:t.endDate).format("DD/MM/YYYY");j.useEffect(()=>{r(e.value)},[e.value]);const o=j.useRef(null),i=j.useRef(null),a=j.useRef(null);return console.log("inputRef",o),console.log("labelRef",i),s.jsx(p.DateRangePicker,{initialSettings:{autoApply:!0,ranges:{Today:[K(),K()],Yesterday:[K().subtract(1,"days"),K().subtract(1,"days")],"Last 7 days":[K().subtract(6,"days"),K()],"Last 30 days":[K().subtract(29,"days"),K()],"This month":[K().startOf("month"),K().endOf("month")],"Last month":[K().subtract(1,"month").startOf("month"),K().subtract(1,"month").endOf("month")],"Reset date":[((c=e.dateReset)==null?void 0:c.startDate)??void 0,((d=e.dateReset)==null?void 0:d.endDate)??void 0]},alwaysShowCalendars:!0,startDate:(t==null?void 0:t.startDate)??void 0,endDate:(t==null?void 0:t.endDate)??void 0,opens:"left",maxDate:K(),...e.initialSettings},onApply:(f,h)=>{var u,x,_;const m=h.chosenLabel===nl,{startDate:y,endDate:b}=h,v=m?((u=e.dateReset)==null?void 0:u.startDate)??void 0:y.toDate(),l=m?((x=e.dateReset)==null?void 0:x.endDate)??void 0:b.toDate();r({startDate:v,endDate:l}),(_=e.onChange)==null||_.call(e,{startDate:v,endDate:l})},children:s.jsx(N.TextField,{inputRef:o,label:e.label??"Permit date",placeholder:"Select date range",value:n,InputLabelProps:{ref:i,shrink:!0},InputProps:{readOnly:!0,ref:a,endAdornment:s.jsx(rl,{onClick:()=>{var f;return(f=o.current)==null?void 0:f.focus()},width:24,height:24,color:"gray"})},fullWidth:!0,sx:{"& *":{cursor:"pointer"},display:"flex",justifyContent:"center",minWidth:"250px"}})})}function Yn(e){return s.jsx("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M16 2.75H8C5.10051 2.75 2.75 5.10051 2.75 8V16C2.75 18.8995 5.10051 21.25 8 21.25H16C18.8995 21.25 21.25 18.8995 21.25 16V8C21.25 5.10051 18.8995 2.75 16 2.75Z",stroke:"#85858A",strokeWidth:"1.5"})})}function Gn(e){return s.jsxs("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M16 2.75H8C5.10051 2.75 2.75 5.10051 2.75 8V16C2.75 18.8995 5.10051 21.25 8 21.25H16C18.8995 21.25 21.25 18.8995 21.25 16V8C21.25 5.10051 18.8995 2.75 16 2.75Z",stroke:"currentColor",strokeWidth:"1.5"}),s.jsx("path",{d:"M9 12L11 14L15 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function il(e){return s.jsx(N.Checkbox,{sx:{"& input:disabled ~ svg":{fill:"#ddd"}},color:"primary",icon:s.jsx(Yn,{fontSize:"small"}),checkedIcon:s.jsx(Gn,{fontSize:"small"}),style:{padding:0},...e})}const Kn=e=>{"serviceWorker"in navigator&&navigator.serviceWorker.register(e.path).then(function(t){console.log("Registration successful, scope is:",t.scope),console.log("initialize service worker props ",e);const r=p.getMessagingInWindow(p.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));p.getToken(r,{serviceWorkerRegistration:t,vapidKey:e.vapidKey}).then(async n=>{var o,i;if(n){console.log("current token for client: ",n);try{const a="/notification-management/api/v1/notifications/registrations",c=e.baseUrl+a;await Kt.post(c,{deviceToken:n},{withCredentials:!0})}catch(a){console.log(a),p.pushError(((i=(o=a.response)==null?void 0:o.data)==null?void 0:i.errorMessage)||"Have error when get notification list")}}else console.log("No registration token available. Request permission to generate one.")}).catch(n=>{console.log("An error occurred while retrieving token. ",n)})}).catch(function(t){console.log("Service worker registration failed, error:",t)})},al=e=>{const t=new BroadcastChannel("my-channel");t.onmessage=r=>{console.log("Broadcast chanel message",r),r&&e(n=>({...n,unread:{...n.unread,total:n.unread.total+1}}))}},sl=e=>new Promise(t=>{const r=p.getMessagingInWindow(p.initializeApp({apiKey:e.apiKey,authDomain:e.authDomain,projectId:e.projectId,storageBucket:e.storageBucket,messagingSenderId:e.messagingSenderId,appId:e.appId,measurementId:e.measurementId}));p.onMessage(r,n=>{console.log("payload",n),t(n)})}),ll=["granted","denied"],cl=e=>{const[t,r]=j.useState(!1),n=()=>{Notification.requestPermission(function(i){i==="granted"&&Kn(e),ll.includes(i)&&r(!0)})},o=()=>{r(!0)};return s.jsx(s.Fragment,{children:t?"":s.jsx("div",{className:p.styles$1["subscription-diaglog"],children:s.jsxs("div",{className:p.styles$1["subscription-container"],children:[s.jsx("h4",{className:p.styles$1["subscription-title"],children:"Notification"}),s.jsx("p",{className:p.styles$1["subscription-text"],children:"Choice to receive notifications for the most recent updates. You have the flexibility to disable them whenever you prefer."}),s.jsxs("div",{className:p.styles$1["subscription-btn__container"],children:[s.jsx("button",{className:p.styles$1["btn-cancel"],onClick:o,children:"Not now"}),s.jsx("button",{className:p.styles$1["btn-success"],onClick:n,children:"Turn on"})]})]})})})},Zn=e=>{const[t,r]=j.useState({userName:"",message:"",context:""});console.log(t);const{setNotiData:n}=j.useContext(p.CustomOpenList);function o(){return s.jsx("div",{className:p.styles$2["notification-massage_container"],children:s.jsxs("div",{className:p.styles$2["notification-massage_content"],children:[s.jsx("h6",{className:p.styles$2["notification-name"],children:t==null?void 0:t.userName}),s.jsxs("div",{className:p.styles$2["notification-message_service"],children:[s.jsxs("span",{children:[`${t==null?void 0:t.message} `," "]}),s.jsx("span",{children:t==null?void 0:t.context})]})]})})}return j.useEffect(()=>{t&&Notification.permission==="granted"&&(t.userName||t.message||t.context)&&p.notify(s.jsx(o,{}))},[t]),j.useEffect(()=>{Notification.permission==="granted"&&Kn(e)},[Notification.permission]),j.useEffect(()=>{al(n)},[]),sl(e).then(i=>{var a,c,d;console.log("aaa",i),r({userName:(a=i==null?void 0:i.data)==null?void 0:a.userName,message:(c=i==null?void 0:i.data)==null?void 0:c.message,context:(d=i==null?void 0:i.data)==null?void 0:d.context}),n(f=>{var h;return{...f,unread:{...f.unread,total:((h=f.unread)==null?void 0:h.total)+1}}})}).catch(i=>console.log("failed: ",i)),s.jsx("div",{children:"Notification"in window&&Notification.permission==="default"?s.jsx(cl,{...e}):""})},ul=(e,t)=>j.cloneElement(t,{},e),dl=({children:e,providers:t})=>s.jsx(s.Fragment,{children:t.reduceRight(ul,e)});exports.GlobalMenu=p.GlobalMenu;exports.notify=p.notify;exports.pushError=p.pushError;exports.pushSuccess=p.pushSuccess;exports.pushWarning=p.pushWarning;exports.AutocompleteOption=Gt;exports.BaseCheckbox=il;exports.CheckedIcon=Gn;exports.MultiProvider=dl;exports.NoData=po;exports.NotificationBase=Zn;exports.PopUpBase=bo;exports.StyledAutocomplete=el;exports.StyledDateRangePicker=ol;exports.ToastConfig=eo;exports.ToastConfigNotification=to;exports.TopBar=fo;exports.UnauthorizedPage=So;exports.UncheckedIcon=Yn;exports.usePopUp=_o;exports.useStyledAutocomplete=tl;
|