@firecms/core 3.0.0-alpha.20 → 3.0.0-alpha.24

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.
Files changed (52) hide show
  1. package/dist/components/TextareaAutosize.d.ts +2 -0
  2. package/dist/components/index.d.ts +2 -0
  3. package/dist/core/components/EntityCollectionTable/EntityCollectionTableProps.d.ts +7 -1
  4. package/dist/core/components/EntityCollectionTable/fields/TableReferenceField.d.ts +4 -2
  5. package/dist/core/components/EntityCollectionTable/useEntityCollectionTableController.d.ts +1 -1
  6. package/dist/core/components/VirtualTable/VirtualTableHeader.d.ts +1 -0
  7. package/dist/core/components/VirtualTable/VirtualTableHeaderRow.d.ts +1 -1
  8. package/dist/core/components/VirtualTable/VirtualTableProps.d.ts +12 -0
  9. package/dist/core/components/VirtualTable/types.d.ts +2 -0
  10. package/dist/core/form_field_configs.d.ts +1 -1
  11. package/dist/core/util/index.d.ts +1 -0
  12. package/dist/core/util/make_properties_editable.d.ts +3 -0
  13. package/dist/core/util/property_utils.d.ts +2 -1
  14. package/dist/index.es.js +8605 -8489
  15. package/dist/index.es.js.map +1 -1
  16. package/dist/index.umd.js +105 -105
  17. package/dist/index.umd.js.map +1 -1
  18. package/dist/types/collections.d.ts +1 -0
  19. package/dist/types/firecms.d.ts +14 -5
  20. package/dist/types/firecms_context.d.ts +8 -0
  21. package/dist/types/plugins.d.ts +22 -0
  22. package/package.json +137 -136
  23. package/src/components/BooleanSwitch.tsx +1 -1
  24. package/src/components/BooleanSwitchWithLabel.tsx +2 -2
  25. package/src/components/CircularProgress.tsx +1 -1
  26. package/src/components/Select.tsx +0 -12
  27. package/src/components/TextField.tsx +5 -6
  28. package/src/components/TextareaAutosize.tsx +8 -4
  29. package/src/components/index.tsx +2 -0
  30. package/src/core/FireCMS.tsx +5 -3
  31. package/src/core/components/EntityCollectionTable/EntityCollectionTable.tsx +11 -3
  32. package/src/core/components/EntityCollectionTable/EntityCollectionTableProps.tsx +11 -1
  33. package/src/core/components/EntityCollectionTable/fields/TableReferenceField.tsx +25 -12
  34. package/src/core/components/EntityCollectionTable/internal/PropertyTableCell.tsx +4 -2
  35. package/src/core/components/EntityCollectionTable/useEntityCollectionTableController.tsx +1 -1
  36. package/src/core/components/EntityCollectionView/EntityCollectionView.tsx +55 -3
  37. package/src/core/components/VirtualTable/VirtualTable.tsx +19 -7
  38. package/src/core/components/VirtualTable/VirtualTableHeader.tsx +26 -24
  39. package/src/core/components/VirtualTable/VirtualTableHeaderRow.tsx +7 -2
  40. package/src/core/components/VirtualTable/VirtualTableProps.tsx +14 -0
  41. package/src/core/components/VirtualTable/VirtualTableRow.tsx +1 -1
  42. package/src/core/components/VirtualTable/types.tsx +2 -0
  43. package/src/core/util/index.ts +1 -0
  44. package/src/core/util/make_properties_editable.ts +28 -0
  45. package/src/core/util/property_utils.tsx +6 -1
  46. package/src/form/components/LabelWithIcon.tsx +2 -3
  47. package/src/form/field_bindings/TextFieldBinding.tsx +1 -2
  48. package/src/preview/components/ReferencePreview.tsx +23 -3
  49. package/src/types/collections.ts +2 -0
  50. package/src/types/firecms.tsx +18 -6
  51. package/src/types/firecms_context.tsx +9 -0
  52. package/src/types/plugins.tsx +24 -1
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(o,jn){typeof exports=="object"&&typeof module<"u"?jn(exports,require("clsx"),require("tailwind-merge"),require("react/jsx-runtime"),require("react"),require("object-hash"),require("formik"),require("@radix-ui/react-collapsible"),require("@radix-ui/react-checkbox"),require("@material-design-icons/font/filled.css"),require("react-datepicker"),require("notistack"),require("@radix-ui/react-dialog"),require("react-dropzone"),require("react-fast-compare"),require("markdown-it"),require("@radix-ui/react-dropdown-menu"),require("cmdk"),require("@radix-ui/react-select"),require("react-dom"),require("@radix-ui/react-tooltip"),require("@radix-ui/react-tabs"),require("date-fns/format"),require("date-fns/locale"),require("@hello-pangea/dnd"),require("react-image-file-resizer"),require("react-router-dom"),require("react-markdown-editor-lite"),require("yup"),require("react-window"),require("react-use-measure"),require("@radix-ui/react-popover"),require("js-search"),require("@radix-ui/react-portal")):typeof define=="function"&&define.amd?define(["exports","clsx","tailwind-merge","react/jsx-runtime","react","object-hash","formik","@radix-ui/react-collapsible","@radix-ui/react-checkbox","@material-design-icons/font/filled.css","react-datepicker","notistack","@radix-ui/react-dialog","react-dropzone","react-fast-compare","markdown-it","@radix-ui/react-dropdown-menu","cmdk","@radix-ui/react-select","react-dom","@radix-ui/react-tooltip","@radix-ui/react-tabs","date-fns/format","date-fns/locale","@hello-pangea/dnd","react-image-file-resizer","react-router-dom","react-markdown-editor-lite","yup","react-window","react-use-measure","@radix-ui/react-popover","js-search","@radix-ui/react-portal"],jn):(o=typeof globalThis<"u"?globalThis:o||self,jn(o["FireCMS core"]={},o.clsx,o.tailwindMerge,o.jsxRuntime,o.React,o.hash,o.formik,o.Collapsible,o.CheckboxPrimitive,null,o.DatePicker,o.notistack,o.DialogPrimitive,o.reactDropzone,o.equal,o.MarkdownIt,o.DropdownMenu,o.cmdk,o.SelectPrimitive,o.ReactDOM,o.TooltipPrimitive,o.TabsPrimitive,o.format,o.locales,o.dnd,o.Resizer,o.reactRouterDom,o.MdEditor,o.yup,o.reactWindow,o.useMeasure,o.PopoverPrimitive,o.JsSearch,o.Portal))})(this,function(o,jn,pa,n,f,Wt,Fe,wa,ka,rU,xo,Gt,ma,Ro,de,zt,va,go,Ka,Ca,Sa,Ba,Ea,Fa,Kn,Pa,be,yn,Da,Na,er,Ta,Ma,Oa){"use strict";function Pe(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const i=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(t,c,i.get?i:{enumerable:!0,get:()=>e[c]})}}return t.default=e,Object.freeze(t)}const ce=Pe(f),qn=Pe(wa),Ht=Pe(ka),Ye=Pe(ma),Jn=Pe(va),$e=Pe(Ka),La=Pe(Ca),Zn=Pe(Sa),nr=Pe(Ba),Ut=Pe(Fa),De=Pe(Da),Xn=Pe(Ta),Qa=Pe(Ma),Va=Pe(Oa);function E(...e){return pa.twMerge(jn.clsx(e))}const Wa={breadcrumbs:[],set:e=>{}},Yt=f.createContext(Wa),Ga=({children:e})=>{const[t,c]=f.useState([]),i=a=>{c(a.breadcrumbs)};return n.jsx(Yt.Provider,{value:{breadcrumbs:t,set:i},children:e})},za={mode:"light",setMode:e=>{},toggleMode:()=>{}},or=f.createContext(za),Ha=or.Provider;function Ua(e){return e.includes("-")||e.includes("_")||!e.includes(" ")?e.replace(/[-_]/g," ").replace(/\w\S*/g,function(c){return c.charAt(0).toUpperCase()+c.substr(1)}):e}function pe(e){return $t(jt(e))}function $t(e){return e.startsWith("/")?e.slice(1):e}function jt(e){return e.endsWith("/")?e.slice(0,-1):e}function Ya(e){return e.startsWith("/")?e:`/${e}`}function $a(e){const t=pe(e);if(t.includes("/")){const c=t.split("/");return c[c.length-1]}return t}function rr(e,t){const c=pe(e),i=c.split("/");if(i.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const a=t.find(s=>s.alias===i[0]);let l;if(a&&(l=a.path),i.length>1){const s=Io(l??i[0],t);if(!s?.subcollections)return c;const d=c.split("/").slice(2).join("/");return(l??i[0])+"/"+i[1]+"/"+rr(d,s.subcollections)}else return l??c}function Io(e,t){const c=pe(e).split("/");if(c.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const i=bo(c);let a;for(let l=0;l<i.length;l++){const s=i[l],d=t&&t.sort((u,A)=>(u.alias??"").localeCompare(A.alias??"")).find(u=>u.alias===s||u.path===s);if(d){if(s===e)a=d;else if(d.subcollections){const u=e.replace(s,"").split("/").slice(2).join("/");u.length>0&&(a=Io(u,d.subcollections))}}if(a)break}return a}function bo(e){const t=e.length>0&&e.length%2===0?e.splice(0,e.length-1):e,c=t.length,i=[];for(let a=c;a>0;a=a-2)i.push(t.slice(0,a).join("/"));return i}class je{id;path;constructor(t,c){this.id=t,this.path=c}get pathWithId(){return`${this.path}/${this.id}`}}class tr{latitude;longitude;constructor(t,c){this.latitude=t,this.longitude=c}}const qt=(e,...t)=>({...t.reduce((c,i)=>({...c,[i]:e[i]}),{})});function po(e){return e&&typeof e=="object"&&!Array.isArray(e)}function qe(e,t){const c=po(e),i=c?{...e}:e;return c&&po(t)&&Object.keys(t).forEach(a=>{po(t[a])?a in e?i[a]=qe(e[a],t[a]):Object.assign(i,{[a]:t[a]}):Object.assign(i,{[a]:t[a]})}),i}function rn(e,t){if(e&&typeof e=="object"){if(t in e)return e[t];if(t.includes(".")||t.includes("[")){let c=t.split(/[.[]/);t.includes("[")&&(c=c.map(d=>d.replace("]","")));const i=c[0],a=Array.isArray(e[i])&&!isNaN(parseInt(c[1])),l=a?e[i][parseInt(c[1])]:e[i],s=c.slice(a?2:1).join(".");return s===""?l:rn(l,s)}}}function ja(e,t){let c={...e};const i=t.split("."),a=i.pop();for(const l of i)c=c[l];return a&&delete c[a],c}function cr(e){if(e!==void 0)return e===null?null:typeof e=="object"?Object.entries(e).filter(([t,c])=>typeof c!="function").map(([t,c])=>Array.isArray(c)?{[t]:c.map(i=>cr(i))}:typeof c=="object"?{[t]:cr(c)}:{[t]:c}).reduce((t,c)=>({...t,...c}),{}):e}function ir(e){if(!e)return null;if(typeof e=="object"){if("id"in e)return e.id;if(e instanceof Date)return e.toLocaleString();if(e instanceof tr)return Wt(e)}return Wt(e,{ignoreUnknown:!0})}function ar(e,t){if(typeof e=="function")return e;if(Array.isArray(e))return e.map(c=>ar(c,t));if(typeof e=="object"){const c={};return e===null?e:(Object.keys(e).forEach(i=>{if(!lr(e)){const a=ar(e[i],t),l=typeof a=="string",s=!t||t&&!l||t&&l&&a!=="";a!==void 0&&!lr(a)&&s&&(c[i]=a)}}),c)}return e}function lr(e){return e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length===0}const xn="type",wo="value";function Cn(e){return e.readOnly||e.dataType==="date"&&e.autoValue?!0:e.dataType==="reference"?!e.path:!1}function Rn(e){return typeof e.disabled=="object"&&!!e.disabled.hidden}function Le(e){return typeof e=="function"}function eo(e){return e?Object.entries(e).map(([t,c])=>{const i=ko(c);return i===void 0?{}:{[t]:i}}).reduce((t,c)=>({...t,...c}),{}):{}}function ko(e){if(!Le(e))if(e.dataType==="map"&&e.properties){const t=eo(e.properties);return Object.keys(t).length===0?void 0:t}else return e.defaultValue?e.defaultValue:sr(e.dataType)}function sr(e){return e==="string"||e==="number"?null:e==="boolean"?!1:e==="date"?null:e==="array"?[]:e==="map"?{}:null}function qa({inputValues:e,properties:t,status:c,timestampNowValue:i,setDateToMidnight:a}){return dr(e,t,(l,s)=>{if(s.dataType==="date"){let d;return c==="existing"&&s.autoValue==="on_update"||(c==="new"||c==="copy")&&(s.autoValue==="on_update"||s.autoValue==="on_create")?d=i:d=l,s.mode==="date"&&(d=a(d)),d}else return l})??{}}function Ja(e,t){const c=e;return Object.entries(t).forEach(([i,a])=>{e&&e[i]!==void 0?c[i]=e[i]:a.validation?.required&&(c[i]=null)}),c}function hn(e){return new je(e.id,e.path)}function dr(e,t,c){const i=Object.entries(t).map(([l,s])=>{const d=e&&e[l],u=mo(d,s,c);if(u!==void 0)return{[l]:u}}).reduce((l,s)=>({...l,...s}),{}),a={...e,...i};if(Object.keys(a).length!==0)return a}function mo(e,t,c){let i;if(t.dataType==="map"&&t.properties)i=dr(e,t.properties,c);else if(t.dataType==="array")if(t.of&&Array.isArray(e))i=e.map(a=>mo(a,t.of,c));else if(t.oneOf&&Array.isArray(e)){const a=t.oneOf?.typeField??xn,l=t.oneOf?.valueField??wo;i=e.map(s=>{if(s===null)return null;if(typeof s!="object")return s;const d=s[a],u=t.oneOf?.properties[d];return!d||!u?s:{[a]:d,[l]:mo(s[l],u,c)}})}else i=e;else i=c(e,t);return i}function Jt(e){let t=0,c,i;for(c=0;c<e.length;c++)i=e.charCodeAt(c),t=(t<<5)-t+i,t|=0;return Math.abs(t)}const vo={blueLighter:{color:"#cfdfff",text:"#102046"},cyanLighter:{color:"#d0f0fd",text:"#04283f"},tealLighter:{color:"#c2f5e9",text:"#012524"},greenLighter:{color:"#d1f7c4",text:"#0b1d05"},yellowLighter:{color:"#ffeab6",text:"#3b2501"},orangeLighter:{color:"#fee2d5",text:"#6b2613"},redLighter:{color:"#ffdce5",text:"#4c0c1c"},pinkLighter:{color:"#ffdaf6",text:"#400832"},purpleLighter:{color:"#ede2fe",text:"#280b42"},grayLighter:{color:"#eee",text:"#040404"},blueLight:{color:"#9cc7ff",text:"#102046"},cyanLight:{color:"#77d1f3",text:"#04283f"},tealLight:{color:"#72ddc3",text:"#012524"},greenLight:{color:"#93e088",text:"#0b1d05"},yellowLight:{color:"#ffd66e",text:"#3b2501"},orangeLight:{color:"#ffa981",text:"#6b2613"},redLight:{color:"#ff9eb7",text:"#4c0c1c"},pinkLight:{color:"#f99de2",text:"#400832"},purpleLight:{color:"#cdb0ff",text:"#280b42"},grayLight:{color:"#ccc",text:"#040404"},blueDark:{color:"#2d7ff9",text:"#fff"},cyanDark:{color:"#18bfff",text:"#fff"},tealDark:{color:"#20d9d2",text:"#fff"},greenDark:{color:"#20c933",text:"#fff"},yellowDark:{color:"#fcb400",text:"#fff"},orangeDark:{color:"#ff6f2c",text:"#fff"},redDark:{color:"#f82b60",text:"#fff"},pinkDark:{color:"#ff08c2",text:"#fff"},purpleDark:{color:"#8b46ff",text:"#fff"},grayDark:{color:"#666",text:"#fff"},blueDarker:{color:"#2750ae",text:"#cfdfff"},cyanDarker:{color:"#0b76b7",text:"#d0f0fd"},tealDarker:{color:"#06a09b",text:"#daf3e9"},greenDarker:{color:"#338a17",text:"#d1f7c4"},yellowDarker:{color:"#b87503",text:"#ffeab6"},orangeDarker:{color:"#d74d26",text:"#fee2d5"},redDarker:{color:"#ba1e45",text:"#ffdce5"},pinkDarker:{color:"#b2158b",text:"#ffdaf6"},purpleDarker:{color:"#6b1cb0",text:"#ede2fe"},grayDarker:{color:"#444",text:"#eee"}};function Zt(e){const t=Jt(e),c=Object.keys(vo),i=t%c.length;return vo[c[i]]}function Za(e){return vo[e]}function tn(e){return Array.isArray(e)?e:Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:{...c,id:t})}function Ko(e,t){if(t)return e.find(c=>String(c.id)===String(t))}function Xt(e,t){const c=Ko(e,t);if(!c?.color)return Zt(t.toString());if(typeof c=="object"&&"color"in c){if(typeof c.color=="string")return vo[c.color];if(typeof c.color=="object")return c.color}}function Xa(e){return typeof e=="object"&&e.disabled}function xt(e){if(e!==void 0)return typeof e=="object"?e.label:e}function Co({name:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,small:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u=null,setFieldValue:A}){return n.jsx(Pt,{droppableId:e,addLabel:t,value:c,disabled:i,buildEntry:a,size:l?"small":"medium",onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:y=>A(e,y)})}const he="focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent",ur="focus:bg-opacity-70 focus:bg-gray-100 focus:dark:bg-gray-800 focus:dark:bg-opacity-60",fr="z-30 outline-none ring-2 ring-primary ring-opacity-75 ring-offset-2 ring-offset-transparent ",Je="bg-opacity-70 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-60 transition duration-150 ease-in-out",Ar="bg-opacity-0 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-0 transition duration-150 ease-in-out",Re="bg-opacity-100 dark:bg-opacity-90",We="hover:bg-opacity-90 dark:hover:bg-opacity-90",ue="border-gray-100 dark:border-gray-800 dark:border-opacity-80",Ge="bg-white rounded-md dark:bg-gray-950 border dark:border-gray-800 dark:border-opacity-90 border-gray-100",Rt="bg-white rounded-md dark:bg-gray-950 dark:border-gray-800 dark:border-opacity-50 transition duration-200 ease-in-out m-1 -p-1 border border-transparent",ec="hover:bg-blue-100 dark:hover:bg-blue-900 hover:bg-opacity-20 dark:hover:bg-opacity-20 hover:ring-2 cursor-pointer",xa="bg-blue-100 dark:bg-blue-900 bg-opacity-30 dark:bg-opacity-10 ring-1 ring-primary ring-opacity-75",nc={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",label:"label",body1:"p",body2:"p",inherit:"p",caption:"p",button:"span"},Ra={inherit:"text-inherit",initial:"text-current",primary:"text-text-primary dark:text-text-primary-dark",secondary:"text-text-secondary dark:text-text-secondary-dark",disabled:"text-text-disabled dark:text-text-disabled-dark",error:"text-red-600 dark:text-red-500"},el={h1:"text-6xl font-headers font-light",h2:"text-5xl font-headers font-light",h3:"text-4xl font-headers font-normal",h4:"text-3xl font-headers font-normal",h5:"text-2xl font-headers font-normal",h6:"text-xl font-headers font-medium",subtitle1:"text-lg font-headers font-medium",subtitle2:"text-base font-headers font-medium",body1:"text-base",body2:"text-sm",label:"text-sm font-medium text-gray-500",inherit:"text-inherit",caption:"text-xs",button:"text-sm font-medium"};function j({align:e="inherit",color:t="primary",children:c,className:i,component:a,gutterBottom:l=!1,noWrap:s=!1,paragraph:d=!1,variant:u="body1",variantMapping:A=nc,style:y,onClick:h,...I}){const _=a||(d?"p":A[u]||nc[u])||"span",g=E(he,el[u],t?Ra[t]:"",e!=="inherit"&&`text-${e}`,l&&"mb-[0.35em]",s&&"truncate",d&&"mb-4",i);return n.jsx(_,{className:g,onClick:h,style:y,...I,children:c})}function Ce({icon:e,title:t,small:c,className:i,required:a}){return n.jsxs("span",{className:`inline-flex items-center my-0.5 ${c?"gap-1":"gap-2"} ${i??""}`,children:[e,n.jsx(j,{component:"span",className:`font-medium text-${c?"base":"sm"} origin-top-left transform ${c?"translate-x-2 scale-75":""}`,children:(t??"")+(a?" *":"")})]})}function nl(e){const t=f.useRef(),[c,i]=f.useState(e.value),a=f.useDeferredValue(c);f.useEffect(()=>{i(e.value)},[e.value]),f.useEffect(()=>{!e.value&&!a||a!==e.value&&t.current&&e.onChange&&e.onChange(t.current)},[a,e.value,e.onChange]);const l=f.useCallback(s=>{t.current=s,i(s.target.value)},[]);return n.jsx(un,{...e,onChange:l,value:c})}function ol({field:e,form:t,label:c,tooltip:i,disabled:a,size:l="small",allowIndeterminate:s}){const d=n.jsx(On,{label:c,size:l,position:"start",value:e.value,disabled:a,allowIndeterminate:s,onValueChange:u=>t.setFieldValue(e.name,u)});return i?n.jsx(_e,{title:i,children:d}):d}const _r=["table_rows","video_label","airlines","bento","border_all","border_clear","ac_unit","adjust","align_horizontal_center","album","all_inclusive","all_out","animation","assistant","audiotrack","account_balance_wallet","auto_awesome_mosaic","bolt","brightness_1","breakfast_dining","broken_image","brightness_5","cable","calendar_view_month","catching_pokemon","casino","category","cloud","color_lens","credit_card","earbuds","egg_alt","fiber_smart_record","flag","healing","heat_pump","hive","hub","local_library","local_pizza","memory","outlet","pages","panorama_photosphere","signal_cellular_0_bar","sports_baseball","storm","stairs"],oc=["search","123","360","10k","10mp","11mp","12mp","13mp","14mp","15mp","16mp","17mp","18_up_rating","18mp","19mp","1k","1k_plus","1x_mobiledata","20mp","21mp","22mp","23mp","24mp","2k","2k_plus","2mp","30fps","30fps_select","3d_rotation","3g_mobiledata","3k","3k_plus","3mp","3p","4g_mobiledata","4g_plus_mobiledata","4k","4k_plus","4mp","5g","5k","5k_plus","5mp","60fps","60fps_select","6_ft_apart","6k","6k_plus","6mp","7k","7k_plus","7mp","8k","8k_plus","8mp","9k","9k_plus","9mp","abc","ac_unit","access_alarm","access_alarms","access_time","access_time_filled","accessibility","accessibility_new","accessible","accessible_forward","account_balance","account_balance_wallet","account_box","account_circle","account_tree","ad_units","adb","add","add_a_photo","add_alarm","add_alert","add_box","add_business","add_card","add_chart","add_circle","add_circle_outline","add_comment","add_home","add_home_work","add_ic_call","add_link","add_location","add_location_alt","add_moderator","add_photo_alternate","add_reaction","add_road","add_shopping_cart","add_task","add_to_drive","add_to_home_screen","add_to_photos","add_to_queue","adf_scanner","adjust","admin_panel_settings","ads_click","agriculture","air","airline_seat_flat","airline_seat_flat_angled","airline_seat_individual_suite","airline_seat_legroom_extra","airline_seat_legroom_normal","airline_seat_legroom_reduced","airline_seat_recline_extra","airline_seat_recline_normal","airline_stops","airlines","airplane_ticket","airplanemode_active","airplanemode_inactive","airplay","airport_shuttle","alarm","alarm_add","alarm_off","alarm_on","album","align_horizontal_center","align_horizontal_left","align_horizontal_right","align_vertical_bottom","align_vertical_center","align_vertical_top","all_inbox","all_inclusive","all_out","alt_route","alternate_email","analytics","anchor","android","animation","announcement","aod","apartment","api","app_blocking","app_registration","app_settings_alt","app_shortcut","approval","apps","apps_outage","architecture","archive","area_chart","arrow_back","arrow_back_ios","arrow_back_ios_new","arrow_circle_down","arrow_circle_left","arrow_circle_right","arrow_circle_up","arrow_downward","arrow_drop_down","arrow_drop_down_circle","arrow_drop_up","arrow_forward","arrow_forward_ios","arrow_left","arrow_outward","arrow_right","arrow_right_alt","arrow_upward","art_track","article","aspect_ratio","assessment","assignment","assignment_ind","assignment_late","assignment_return","assignment_returned","assignment_turned_in","assist_walker","assistant","assistant_direction","assistant_photo","assured_workload","atm","attach_email","attach_file","attach_money","attachment","attractions","attribution","audio_file","audiotrack","auto_awesome","auto_awesome_mosaic","auto_awesome_motion","auto_delete","auto_fix_high","auto_fix_normal","auto_fix_off","auto_graph","auto_mode","auto_stories","autofps_select","autorenew","av_timer","baby_changing_station","back_hand","backpack","backspace","backup","backup_table","badge","bakery_dining","balance","balcony","ballot","bar_chart","batch_prediction","bathroom","bathtub","battery_0_bar","battery_1_bar","battery_2_bar","battery_3_bar","battery_4_bar","battery_5_bar","battery_6_bar","battery_alert","battery_charging_full","battery_full","battery_saver","battery_std","battery_unknown","beach_access","bed","bedroom_baby","bedroom_child","bedroom_parent","bedtime","bedtime_off","beenhere","bento","bike_scooter","biotech","blender","blind","blinds","blinds_closed","block","bloodtype","bluetooth","bluetooth_audio","bluetooth_connected","bluetooth_disabled","bluetooth_drive","bluetooth_searching","blur_circular","blur_linear","blur_off","blur_on","bolt","book","book_online","bookmark","bookmark_add","bookmark_added","bookmark_border","bookmark_remove","bookmarks","border_all","border_bottom","border_clear","border_color","border_horizontal","border_inner","border_left","border_outer","border_right","border_style","border_top","border_vertical","boy","branding_watermark","breakfast_dining","brightness_1","brightness_2","brightness_3","brightness_4","brightness_5","brightness_6","brightness_7","brightness_auto","brightness_high","brightness_low","brightness_medium","broadcast_on_home","broadcast_on_personal","broken_image","browse_gallery","browser_not_supported","browser_updated","brunch_dining","brush","bubble_chart","bug_report","build","build_circle","bungalow","burst_mode","bus_alert","business","business_center","cabin","cable","cached","cake","calculate","calendar_month","calendar_today","calendar_view_day","calendar_view_month","calendar_view_week","call","call_end","call_made","call_merge","call_missed","call_missed_outgoing","call_received","call_split","call_to_action","camera","camera_alt","camera_enhance","camera_front","camera_indoor","camera_outdoor","camera_rear","camera_roll","cameraswitch","campaign","cancel","cancel_presentation","cancel_schedule_send","candlestick_chart","car_crash","car_rental","car_repair","card_giftcard","card_membership","card_travel","carpenter","cases","casino","cast","cast_connected","cast_for_education","castle","catching_pokemon","category","celebration","cell_tower","cell_wifi","center_focus_strong","center_focus_weak","chair","chair_alt","chalet","change_circle","change_history","charging_station","chat","chat_bubble","chat_bubble_outline","check","check_box","check_box_outline_blank","check_circle","check_circle_outline","checklist","checklist_rtl","checkroom","chevron_left","chevron_right","child_care","child_friendly","chrome_reader_mode","church","circle","circle_notifications","class","clean_hands","cleaning_services","clear","clear_all","close","close_fullscreen","closed_caption","closed_caption_disabled","closed_caption_off","cloud","cloud_circle","cloud_done","cloud_download","cloud_off","cloud_queue","cloud_sync","cloud_upload","co2","co_present","code","code_off","coffee","coffee_maker","collections","collections_bookmark","color_lens","colorize","comment","comment_bank","comments_disabled","commit","commute","compare","compare_arrows","compass_calibration","compost","compress","computer","confirmation_number","connect_without_contact","connected_tv","connecting_airports","construction","contact_emergency","contact_mail","contact_page","contact_phone","contact_support","contactless","contacts","content_copy","content_cut","content_paste","content_paste_go","content_paste_off","content_paste_search","contrast","control_camera","control_point","control_point_duplicate","cookie","copy_all","copyright","coronavirus","corporate_fare","cottage","countertops","create","create_new_folder","credit_card","credit_card_off","credit_score","crib","crisis_alert","crop","crop_16_9","crop_3_2","crop_5_4","crop_7_5","crop_din","crop_free","crop_landscape","crop_original","crop_portrait","crop_rotate","crop_square","cruelty_free","css","currency_bitcoin","currency_exchange","currency_franc","currency_lira","currency_pound","currency_ruble","currency_rupee","currency_yen","currency_yuan","curtains","curtains_closed","cyclone","dangerous","dark_mode","dashboard","dashboard_customize","data_array","data_exploration","data_object","data_saver_off","data_saver_on","data_thresholding","data_usage","dataset","dataset_linked","date_range","deblur","deck","dehaze","delete","delete_forever","delete_outline","delete_sweep","delivery_dining","density_large","density_medium","density_small","departure_board","description","deselect","design_services","desk","desktop_access_disabled","desktop_mac","desktop_windows","details","developer_board","developer_board_off","developer_mode","device_hub","device_thermostat","device_unknown","devices","devices_fold","devices_other","dialer_sip","dialpad","diamond","difference","dining","dinner_dining","directions","directions_bike","directions_boat","directions_boat_filled","directions_bus","directions_bus_filled","directions_car","directions_car_filled","directions_off","directions_railway","directions_railway_filled","directions_run","directions_subway","directions_subway_filled","directions_transit","directions_transit_filled","directions_walk","dirty_lens","disabled_by_default","disabled_visible","disc_full","discount","display_settings","diversity_1","diversity_2","diversity_3","dns","do_disturb","do_disturb_alt","do_disturb_off","do_disturb_on","do_not_disturb","do_not_disturb_alt","do_not_disturb_off","do_not_disturb_on","do_not_disturb_on_total_silence","do_not_step","do_not_touch","dock","document_scanner","domain","domain_add","domain_disabled","domain_verification","done","done_all","done_outline","donut_large","donut_small","door_back","door_front","door_sliding","doorbell","double_arrow","downhill_skiing","download","download_done","download_for_offline","downloading","drafts","drag_handle","drag_indicator","draw","drive_eta","drive_file_move","drive_file_move_rtl","drive_file_rename_outline","drive_folder_upload","dry","dry_cleaning","duo","dvr","dynamic_feed","dynamic_form","e_mobiledata","earbuds","earbuds_battery","east","edgesensor_high","edgesensor_low","edit","edit_attributes","edit_calendar","edit_location","edit_location_alt","edit_note","edit_notifications","edit_off","edit_road","egg","egg_alt","eject","elderly","elderly_woman","electric_bike","electric_bolt","electric_car","electric_meter","electric_moped","electric_rickshaw","electric_scooter","electrical_services","elevator","email","emergency","emergency_recording","emergency_share","emoji_emotions","emoji_events","emoji_food_beverage","emoji_nature","emoji_objects","emoji_people","emoji_symbols","emoji_transportation","energy_savings_leaf","engineering","enhanced_encryption","equalizer","error","error_outline","escalator","escalator_warning","euro","euro_symbol","ev_station","event","event_available","event_busy","event_note","event_repeat","event_seat","exit_to_app","expand","expand_circle_down","expand_less","expand_more","explicit","explore","explore_off","exposure","exposure_neg_1","exposure_neg_2","exposure_plus_1","exposure_plus_2","exposure_zero","extension","extension_off","face","face_2","face_3","face_4","face_5","face_6","face_retouching_natural","face_retouching_off","fact_check","factory","family_restroom","fast_forward","fast_rewind","fastfood","favorite","favorite_border","fax","featured_play_list","featured_video","feed","feedback","female","fence","festival","fiber_dvr","fiber_manual_record","fiber_new","fiber_pin","fiber_smart_record","file_copy","file_download","file_download_done","file_download_off","file_open","file_present","file_upload","filter","filter_1","filter_2","filter_3","filter_4","filter_5","filter_6","filter_7","filter_8","filter_9","filter_9_plus","filter_alt","filter_alt_off","filter_b_and_w","filter_center_focus","filter_drama","filter_frames","filter_hdr","filter_list","filter_list_off","filter_none","filter_tilt_shift","filter_vintage","find_in_page","find_replace","fingerprint","fire_extinguisher","fire_hydrant_alt","fire_truck","fireplace","first_page","fit_screen","fitbit","fitness_center","flag","flag_circle","flaky","flare","flash_auto","flash_off","flash_on","flashlight_off","flashlight_on","flatware","flight","flight_class","flight_land","flight_takeoff","flip","flip_camera_android","flip_camera_ios","flip_to_back","flip_to_front","flood","fluorescent","flutter_dash","fmd_bad","fmd_good","folder","folder_copy","folder_delete","folder_off","folder_open","folder_shared","folder_special","folder_zip","follow_the_signs","font_download","font_download_off","food_bank","forest","fork_left","fork_right","format_align_center","format_align_justify","format_align_left","format_align_right","format_bold","format_clear","format_color_fill","format_color_reset","format_color_text","format_indent_decrease","format_indent_increase","format_italic","format_line_spacing","format_list_bulleted","format_list_numbered","format_list_numbered_rtl","format_overline","format_paint","format_quote","format_shapes","format_size","format_strikethrough","format_textdirection_l_to_r","format_textdirection_r_to_l","format_underlined","fort","forum","forward","forward_10","forward_30","forward_5","forward_to_inbox","foundation","free_breakfast","free_cancellation","front_hand","fullscreen","fullscreen_exit","functions","g_mobiledata","g_translate","gamepad","games","garage","gas_meter","gavel","generating_tokens","gesture","get_app","gif","gif_box","girl","gite","golf_course","gpp_bad","gpp_good","gpp_maybe","gps_fixed","gps_not_fixed","gps_off","grade","gradient","grading","grain","graphic_eq","grass","grid_3x3","grid_4x4","grid_goldenratio","grid_off","grid_on","grid_view","group","group_add","group_off","group_remove","group_work","groups","groups_2","groups_3","h_mobiledata","h_plus_mobiledata","hail","handshake","handyman","hardware","hd","hdr_auto","hdr_auto_select","hdr_enhanced_select","hdr_off","hdr_off_select","hdr_on","hdr_on_select","hdr_plus","hdr_strong","hdr_weak","headphones","headphones_battery","headset","headset_mic","headset_off","healing","health_and_safety","hearing","hearing_disabled","heart_broken","heat_pump","height","help","help_center","help_outline","hevc","hexagon","hide_image","hide_source","high_quality","highlight","highlight_alt","highlight_off","hiking","history","history_edu","history_toggle_off","hive","hls","hls_off","holiday_village","home","home_max","home_mini","home_repair_service","home_work","horizontal_distribute","horizontal_rule","horizontal_split","hot_tub","hotel","hotel_class","hourglass_bottom","hourglass_disabled","hourglass_empty","hourglass_full","hourglass_top","house","house_siding","houseboat","how_to_reg","how_to_vote","html","http","https","hub","hvac","ice_skating","icecream","image","image_aspect_ratio","image_not_supported","image_search","imagesearch_roller","import_contacts","import_export","important_devices","inbox","incomplete_circle","indeterminate_check_box","info","input","insert_chart","insert_chart_outlined","insert_comment","insert_drive_file","insert_emoticon","insert_invitation","insert_link","insert_page_break","insert_photo","insights","install_desktop","install_mobile","integration_instructions","interests","interpreter_mode","inventory","inventory_2","invert_colors","invert_colors_off","ios_share","iron","iso","javascript","join_full","join_inner","join_left","join_right","kayaking","kebab_dining","key","key_off","keyboard","keyboard_alt","keyboard_arrow_down","keyboard_arrow_left","keyboard_arrow_right","keyboard_arrow_up","keyboard_backspace","keyboard_capslock","keyboard_command_key","keyboard_control_key","keyboard_double_arrow_down","keyboard_double_arrow_left","keyboard_double_arrow_right","keyboard_double_arrow_up","keyboard_hide","keyboard_option_key","keyboard_return","keyboard_tab","keyboard_voice","king_bed","kitchen","kitesurfing","label","label_important","label_off","lan","landscape","landslide","language","laptop","laptop_chromebook","laptop_mac","laptop_windows","last_page","launch","layers","layers_clear","leaderboard","leak_add","leak_remove","legend_toggle","lens","lens_blur","library_add","library_add_check","library_books","library_music","light","light_mode","lightbulb","lightbulb_circle","line_axis","line_style","line_weight","linear_scale","link","link_off","linked_camera","liquor","list","list_alt","live_help","live_tv","living","local_activity","local_airport","local_atm","local_bar","local_cafe","local_car_wash","local_convenience_store","local_dining","local_drink","local_fire_department","local_florist","local_gas_station","local_grocery_store","local_hospital","local_hotel","local_laundry_service","local_library","local_mall","local_movies","local_offer","local_parking","local_pharmacy","local_phone","local_pizza","local_play","local_police","local_post_office","local_printshop","local_see","local_shipping","local_taxi","location_city","location_disabled","location_off","location_on","location_searching","lock","lock_clock","lock_open","lock_person","lock_reset","login","logo_dev","logout","looks","looks_3","looks_4","looks_5","looks_6","looks_one","looks_two","loop","loupe","low_priority","loyalty","lte_mobiledata","lte_plus_mobiledata","luggage","lunch_dining","lyrics","macro_off","mail","mail_lock","mail_outline","male","man","man_2","man_3","man_4","manage_accounts","manage_history","manage_search","map","maps_home_work","maps_ugc","margin","mark_as_unread","mark_chat_read","mark_chat_unread","mark_email_read","mark_email_unread","mark_unread_chat_alt","markunread","markunread_mailbox","masks","maximize","media_bluetooth_off","media_bluetooth_on","mediation","medical_information","medical_services","medication","medication_liquid","meeting_room","memory","menu","menu_book","menu_open","merge","merge_type","message","mic","mic_external_off","mic_external_on","mic_none","mic_off","microwave","military_tech","minimize","minor_crash","miscellaneous_services","missed_video_call","mms","mobile_friendly","mobile_off","mobile_screen_share","mobiledata_off","mode","mode_comment","mode_edit","mode_edit_outline","mode_fan_off","mode_night","mode_of_travel","mode_standby","model_training","monetization_on","money","money_off","money_off_csred","monitor","monitor_heart","monitor_weight","monochrome_photos","mood","mood_bad","moped","more","more_horiz","more_time","more_vert","mosque","motion_photos_auto","motion_photos_off","motion_photos_on","motion_photos_pause","motion_photos_paused","mouse","move_down","move_to_inbox","move_up","movie","movie_creation","movie_filter","moving","mp","multiline_chart","multiple_stop","museum","music_note","music_off","music_video","my_location","nat","nature","nature_people","navigate_before","navigate_next","navigation","near_me","near_me_disabled","nearby_error","nearby_off","nest_cam_wired_stand","network_cell","network_check","network_locked","network_ping","network_wifi","network_wifi_1_bar","network_wifi_2_bar","network_wifi_3_bar","new_label","new_releases","newspaper","next_plan","next_week","nfc","night_shelter","nightlife","nightlight","nightlight_round","nights_stay","no_accounts","no_adult_content","no_backpack","no_cell","no_crash","no_drinks","no_encryption","no_encryption_gmailerrorred","no_flash","no_food","no_luggage","no_meals","no_meeting_room","no_photography","no_sim","no_stroller","no_transfer","noise_aware","noise_control_off","nordic_walking","north","north_east","north_west","not_accessible","not_interested","not_listed_location","not_started","note","note_add","note_alt","notes","notification_add","notification_important","notifications","notifications_active","notifications_none","notifications_off","notifications_paused","numbers","offline_bolt","offline_pin","offline_share","oil_barrel","on_device_training","ondemand_video","online_prediction","opacity","open_in_browser","open_in_full","open_in_new","open_in_new_off","open_with","other_houses","outbound","outbox","outdoor_grill","outlet","outlined_flag","output","padding","pages","pageview","paid","palette","pan_tool","pan_tool_alt","panorama","panorama_fish_eye","panorama_horizontal","panorama_horizontal_select","panorama_photosphere","panorama_photosphere_select","panorama_vertical","panorama_vertical_select","panorama_wide_angle","panorama_wide_angle_select","paragliding","park","party_mode","password","pattern","pause","pause_circle","pause_circle_filled","pause_circle_outline","pause_presentation","payment","payments","pedal_bike","pending","pending_actions","pentagon","people","people_alt","people_outline","percent","perm_camera_mic","perm_contact_calendar","perm_data_setting","perm_device_information","perm_identity","perm_media","perm_phone_msg","perm_scan_wifi","person","person_2","person_3","person_4","person_add","person_add_alt","person_add_alt_1","person_add_disabled","person_off","person_outline","person_pin","person_pin_circle","person_remove","person_remove_alt_1","person_search","personal_injury","personal_video","pest_control","pest_control_rodent","pets","phishing","phone","phone_android","phone_bluetooth_speaker","phone_callback","phone_disabled","phone_enabled","phone_forwarded","phone_iphone","phone_locked","phone_missed","phone_paused","phonelink","phonelink_erase","phonelink_lock","phonelink_off","phonelink_ring","phonelink_setup","photo","photo_album","photo_camera","photo_camera_back","photo_camera_front","photo_filter","photo_library","photo_size_select_actual","photo_size_select_large","photo_size_select_small","php","piano","piano_off","picture_as_pdf","picture_in_picture","picture_in_picture_alt","pie_chart","pie_chart_outline","pin","pin_drop","pin_end","pin_invoke","pinch","pivot_table_chart","pix","place","plagiarism","play_arrow","play_circle","play_circle_filled","play_circle_outline","play_disabled","play_for_work","play_lesson","playlist_add","playlist_add_check","playlist_add_check_circle","playlist_add_circle","playlist_play","playlist_remove","plumbing","plus_one","podcasts","point_of_sale","policy","poll","polyline","polymer","pool","portable_wifi_off","portrait","post_add","power","power_input","power_off","power_settings_new","precision_manufacturing","pregnant_woman","present_to_all","preview","price_change","price_check","print","print_disabled","priority_high","privacy_tip","private_connectivity","production_quantity_limits","propane","propane_tank","psychology","psychology_alt","public","public_off","publish","published_with_changes","punch_clock","push_pin","qr_code","qr_code_2","qr_code_scanner","query_builder","query_stats","question_answer","question_mark","queue","queue_music","queue_play_next","quickreply","quiz","r_mobiledata","radar","radio","radio_button_checked","radio_button_unchecked","railway_alert","ramen_dining","ramp_left","ramp_right","rate_review","raw_off","raw_on","read_more","real_estate_agent","receipt","receipt_long","recent_actors","recommend","record_voice_over","rectangle","recycling","redeem","redo","reduce_capacity","refresh","remember_me","remove","remove_circle","remove_circle_outline","remove_done","remove_from_queue","remove_moderator","remove_red_eye","remove_road","remove_shopping_cart","reorder","repartition","repeat","repeat_on","repeat_one","repeat_one_on","replay","replay_10","replay_30","replay_5","replay_circle_filled","reply","reply_all","report","report_gmailerrorred","report_off","report_problem","request_page","request_quote","reset_tv","restart_alt","restaurant","restaurant_menu","restore","restore_from_trash","restore_page","reviews","rice_bowl","ring_volume","rocket","rocket_launch","roller_shades","roller_shades_closed","roller_skating","roofing","room","room_preferences","room_service","rotate_90_degrees_ccw","rotate_90_degrees_cw","rotate_left","rotate_right","roundabout_left","roundabout_right","rounded_corner","route","router","rowing","rss_feed","rsvp","rtt","rule","rule_folder","run_circle","running_with_errors","rv_hookup","safety_check","safety_divider","sailing","sanitizer","satellite","satellite_alt","save","save_alt","save_as","saved_search","savings","scale","scanner","scatter_plot","schedule","schedule_send","schema","school","science","score","scoreboard","screen_lock_landscape","screen_lock_portrait","screen_lock_rotation","screen_rotation","screen_rotation_alt","screen_search_desktop","screen_share","screenshot","screenshot_monitor","scuba_diving","sd","sd_card","sd_card_alert","sd_storage","search","search_off","security","security_update","security_update_good","security_update_warning","segment","select_all","self_improvement","sell","send","send_and_archive","send_time_extension","send_to_mobile","sensor_door","sensor_occupied","sensor_window","sensors","sensors_off","sentiment_dissatisfied","sentiment_neutral","sentiment_satisfied","sentiment_satisfied_alt","sentiment_very_dissatisfied","sentiment_very_satisfied","set_meal","settings","settings_accessibility","settings_applications","settings_backup_restore","settings_bluetooth","settings_brightness","settings_cell","settings_ethernet","settings_input_antenna","settings_input_component","settings_input_composite","settings_input_hdmi","settings_input_svideo","settings_overscan","settings_phone","settings_power","settings_remote","settings_suggest","settings_system_daydream","settings_voice","severe_cold","shape_line","share","share_location","shield","shield_moon","shop","shop_2","shop_two","shopping_bag","shopping_basket","shopping_cart","shopping_cart_checkout","short_text","shortcut","show_chart","shower","shuffle","shuffle_on","shutter_speed","sick","sign_language","signal_cellular_0_bar","signal_cellular_4_bar","signal_cellular_alt","signal_cellular_alt_1_bar","signal_cellular_alt_2_bar","signal_cellular_connected_no_internet_0_bar","signal_cellular_connected_no_internet_4_bar","signal_cellular_no_sim","signal_cellular_nodata","signal_cellular_null","signal_cellular_off","signal_wifi_0_bar","signal_wifi_4_bar","signal_wifi_4_bar_lock","signal_wifi_bad","signal_wifi_connected_no_internet_4","signal_wifi_off","signal_wifi_statusbar_4_bar","signal_wifi_statusbar_connected_no_internet_4","signal_wifi_statusbar_null","signpost","sim_card","sim_card_alert","sim_card_download","single_bed","sip","skateboarding","skip_next","skip_previous","sledding","slideshow","slow_motion_video","smart_button","smart_display","smart_screen","smart_toy","smartphone","smoke_free","smoking_rooms","sms","sms_failed","snippet_folder","snooze","snowboarding","snowmobile","snowshoeing","soap","social_distance","solar_power","sort","sort_by_alpha","sos","soup_kitchen","source","south","south_america","south_east","south_west","spa","space_bar","space_dashboard","spatial_audio","spatial_audio_off","spatial_tracking","speaker","speaker_group","speaker_notes","speaker_notes_off","speaker_phone","speed","spellcheck","splitscreen","spoke","sports","sports_bar","sports_baseball","sports_basketball","sports_cricket","sports_esports","sports_football","sports_golf","sports_gymnastics","sports_handball","sports_hockey","sports_kabaddi","sports_martial_arts","sports_mma","sports_motorsports","sports_rugby","sports_score","sports_soccer","sports_tennis","sports_volleyball","square","square_foot","ssid_chart","stacked_bar_chart","stacked_line_chart","stadium","stairs","star","star_border","star_border_purple500","star_half","star_outline","star_purple500","star_rate","stars","start","stay_current_landscape","stay_current_portrait","stay_primary_landscape","stay_primary_portrait","sticky_note_2","stop","stop_circle","stop_screen_share","storage","store","store_mall_directory","storefront","storm","straight","straighten","stream","streetview","strikethrough_s","stroller","style","subdirectory_arrow_left","subdirectory_arrow_right","subject","subscript","subscriptions","subtitles","subtitles_off","subway","summarize","superscript","supervised_user_circle","supervisor_account","support","support_agent","surfing","surround_sound","swap_calls","swap_horiz","swap_horizontal_circle","swap_vert","swap_vertical_circle","swipe","swipe_down","swipe_down_alt","swipe_left","swipe_left_alt","swipe_right","swipe_right_alt","swipe_up","swipe_up_alt","swipe_vertical","switch_access_shortcut","switch_access_shortcut_add","switch_account","switch_camera","switch_left","switch_right","switch_video","synagogue","sync","sync_alt","sync_disabled","sync_lock","sync_problem","system_security_update","system_security_update_good","system_security_update_warning","system_update","system_update_alt","tab","tab_unselected","table_bar","table_chart","table_restaurant","table_rows","table_view","tablet","tablet_android","tablet_mac","tag","tag_faces","takeout_dining","tap_and_play","tapas","task","task_alt","taxi_alert","temple_buddhist","temple_hindu","terminal","terrain","text_decrease","text_fields","text_format","text_increase","text_rotate_up","text_rotate_vertical","text_rotation_angledown","text_rotation_angleup","text_rotation_down","text_rotation_none","text_snippet","textsms","texture","theater_comedy","theaters","thermostat","thermostat_auto","thumb_down","thumb_down_alt","thumb_down_off_alt","thumb_up","thumb_up_alt","thumb_up_off_alt","thumbs_up_down","thunderstorm","time_to_leave","timelapse","timeline","timer","timer_10","timer_10_select","timer_3","timer_3_select","timer_off","tips_and_updates","tire_repair","title","toc","today","toggle_off","toggle_on","token","toll","tonality","topic","tornado","touch_app","tour","toys","track_changes","traffic","train","tram","transcribe","transfer_within_a_station","transform","transgender","transit_enterexit","translate","travel_explore","trending_down","trending_flat","trending_up","trip_origin","troubleshoot","try","tsunami","tty","tune","tungsten","turn_left","turn_right","turn_sharp_left","turn_sharp_right","turn_slight_left","turn_slight_right","turned_in","turned_in_not","tv","tv_off","two_wheeler","type_specimen","u_turn_left","u_turn_right","umbrella","unarchive","undo","unfold_less","unfold_less_double","unfold_more","unfold_more_double","unpublished","unsubscribe","upcoming","update","update_disabled","upgrade","upload","upload_file","usb","usb_off","vaccines","vape_free","vaping_rooms","verified","verified_user","vertical_align_bottom","vertical_align_center","vertical_align_top","vertical_distribute","vertical_shades","vertical_shades_closed","vertical_split","vibration","video_call","video_camera_back","video_camera_front","video_chat","video_file","video_label","video_library","video_settings","video_stable","videocam","videocam_off","videogame_asset","videogame_asset_off","view_agenda","view_array","view_carousel","view_column","view_comfy","view_comfy_alt","view_compact","view_compact_alt","view_cozy","view_day","view_headline","view_in_ar","view_kanban","view_list","view_module","view_quilt","view_sidebar","view_stream","view_timeline","view_week","vignette","villa","visibility","visibility_off","voice_chat","voice_over_off","voicemail","volcano","volume_down","volume_mute","volume_off","volume_up","volunteer_activism","vpn_key","vpn_key_off","vpn_lock","vrpano","wallet","wallpaper","warehouse","warning","warning_amber","wash","watch","watch_later","watch_off","water","water_damage","water_drop","waterfall_chart","waves","waving_hand","wb_auto","wb_cloudy","wb_incandescent","wb_iridescent","wb_shade","wb_sunny","wb_twilight","wc","web","web_asset","web_asset_off","web_stories","webhook","weekend","west","whatshot","wheelchair_pickup","where_to_vote","widgets","width_full","width_normal","width_wide","wifi","wifi_1_bar","wifi_2_bar","wifi_calling","wifi_calling_3","wifi_channel","wifi_find","wifi_lock","wifi_off","wifi_password","wifi_protected_setup","wifi_tethering","wifi_tethering_error","wifi_tethering_off","wind_power","window","wine_bar","woman","woman_2","work","work_history","work_off","work_outline","workspace_premium","workspaces","wrap_text","wrong_location","wysiwyg","yard","youtube_searched_for","zoom_in","zoom_in_map","zoom_out","zoom_out_map"],rl={inherit:"",primary:"text-primary",success:"text-green-500",warning:"text-yellow-500",secondary:"text-secondary",disabled:"text-disabled dark:text-disabled-dark",error:"text-red-500"};function r({iconKey:e,size:t="medium",color:c,className:i,onClick:a,style:l}){let s;switch(t){case"smallest":s=16;break;case"small":s=20;break;case"medium":s=24;break;case"large":s=28;break;default:s=t}return s||(s=24),n.jsx("span",{style:{fontSize:`${s}px`,display:"block",...l},className:E("material-icons",c?rl[c]:"","select-none",i),onClick:a,children:e})}function tl(e){return n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:e.className,fill:"currentColor",width:e.size??24,height:e.size??24,viewBox:"0 0 24 24",children:n.jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}function rc(e){return n.jsx(r,{...e,iconKey:"search"})}function cl(e){return n.jsx(r,{...e,iconKey:"123"})}function il(e){return n.jsx(r,{...e,iconKey:"360"})}function al(e){return n.jsx(r,{...e,iconKey:"10k"})}function ll(e){return n.jsx(r,{...e,iconKey:"10mp"})}function sl(e){return n.jsx(r,{...e,iconKey:"11mp"})}function dl(e){return n.jsx(r,{...e,iconKey:"12mp"})}function ul(e){return n.jsx(r,{...e,iconKey:"13mp"})}function fl(e){return n.jsx(r,{...e,iconKey:"14mp"})}function Al(e){return n.jsx(r,{...e,iconKey:"15mp"})}function _l(e){return n.jsx(r,{...e,iconKey:"16mp"})}function yl(e){return n.jsx(r,{...e,iconKey:"17mp"})}function hl(e){return n.jsx(r,{...e,iconKey:"18_up_rating"})}function gl(e){return n.jsx(r,{...e,iconKey:"18mp"})}function Il(e){return n.jsx(r,{...e,iconKey:"19mp"})}function bl(e){return n.jsx(r,{...e,iconKey:"1k"})}function pl(e){return n.jsx(r,{...e,iconKey:"1k_plus"})}function wl(e){return n.jsx(r,{...e,iconKey:"1x_mobiledata"})}function kl(e){return n.jsx(r,{...e,iconKey:"20mp"})}function ml(e){return n.jsx(r,{...e,iconKey:"21mp"})}function vl(e){return n.jsx(r,{...e,iconKey:"22mp"})}function Kl(e){return n.jsx(r,{...e,iconKey:"23mp"})}function Cl(e){return n.jsx(r,{...e,iconKey:"24mp"})}function Sl(e){return n.jsx(r,{...e,iconKey:"2k"})}function Bl(e){return n.jsx(r,{...e,iconKey:"2k_plus"})}function El(e){return n.jsx(r,{...e,iconKey:"2mp"})}function Fl(e){return n.jsx(r,{...e,iconKey:"30fps"})}function Pl(e){return n.jsx(r,{...e,iconKey:"30fps_select"})}function Dl(e){return n.jsx(r,{...e,iconKey:"3d_rotation"})}function Nl(e){return n.jsx(r,{...e,iconKey:"3g_mobiledata"})}function Tl(e){return n.jsx(r,{...e,iconKey:"3k"})}function Ml(e){return n.jsx(r,{...e,iconKey:"3k_plus"})}function Ol(e){return n.jsx(r,{...e,iconKey:"3mp"})}function Ll(e){return n.jsx(r,{...e,iconKey:"3p"})}function Ql(e){return n.jsx(r,{...e,iconKey:"4g_mobiledata"})}function Vl(e){return n.jsx(r,{...e,iconKey:"4g_plus_mobiledata"})}function Wl(e){return n.jsx(r,{...e,iconKey:"4k"})}function Gl(e){return n.jsx(r,{...e,iconKey:"4k_plus"})}function zl(e){return n.jsx(r,{...e,iconKey:"4mp"})}function Hl(e){return n.jsx(r,{...e,iconKey:"5g"})}function Ul(e){return n.jsx(r,{...e,iconKey:"5k"})}function Yl(e){return n.jsx(r,{...e,iconKey:"5k_plus"})}function $l(e){return n.jsx(r,{...e,iconKey:"5mp"})}function jl(e){return n.jsx(r,{...e,iconKey:"60fps"})}function ql(e){return n.jsx(r,{...e,iconKey:"60fps_select"})}function Jl(e){return n.jsx(r,{...e,iconKey:"6_ft_apart"})}function Zl(e){return n.jsx(r,{...e,iconKey:"6k"})}function Xl(e){return n.jsx(r,{...e,iconKey:"6k_plus"})}function xl(e){return n.jsx(r,{...e,iconKey:"6mp"})}function Rl(e){return n.jsx(r,{...e,iconKey:"7k"})}function es(e){return n.jsx(r,{...e,iconKey:"7k_plus"})}function ns(e){return n.jsx(r,{...e,iconKey:"7mp"})}function os(e){return n.jsx(r,{...e,iconKey:"8k"})}function rs(e){return n.jsx(r,{...e,iconKey:"8k_plus"})}function ts(e){return n.jsx(r,{...e,iconKey:"8mp"})}function cs(e){return n.jsx(r,{...e,iconKey:"9k"})}function is(e){return n.jsx(r,{...e,iconKey:"9k_plus"})}function as(e){return n.jsx(r,{...e,iconKey:"9mp"})}function ls(e){return n.jsx(r,{...e,iconKey:"abc"})}function ss(e){return n.jsx(r,{...e,iconKey:"ac_unit"})}function ds(e){return n.jsx(r,{...e,iconKey:"access_alarm"})}function us(e){return n.jsx(r,{...e,iconKey:"access_alarms"})}function fs(e){return n.jsx(r,{...e,iconKey:"access_time"})}function As(e){return n.jsx(r,{...e,iconKey:"access_time_filled"})}function _s(e){return n.jsx(r,{...e,iconKey:"accessibility"})}function ys(e){return n.jsx(r,{...e,iconKey:"accessibility_new"})}function hs(e){return n.jsx(r,{...e,iconKey:"accessible"})}function gs(e){return n.jsx(r,{...e,iconKey:"accessible_forward"})}function Is(e){return n.jsx(r,{...e,iconKey:"account_balance"})}function bs(e){return n.jsx(r,{...e,iconKey:"account_balance_wallet"})}function ps(e){return n.jsx(r,{...e,iconKey:"account_box"})}function ws(e){return n.jsx(r,{...e,iconKey:"account_circle"})}function ks(e){return n.jsx(r,{...e,iconKey:"account_tree"})}function ms(e){return n.jsx(r,{...e,iconKey:"ad_units"})}function vs(e){return n.jsx(r,{...e,iconKey:"adb"})}function gn(e){return n.jsx(r,{...e,iconKey:"add"})}function Ks(e){return n.jsx(r,{...e,iconKey:"add_a_photo"})}function Cs(e){return n.jsx(r,{...e,iconKey:"add_alarm"})}function Ss(e){return n.jsx(r,{...e,iconKey:"add_alert"})}function Bs(e){return n.jsx(r,{...e,iconKey:"add_box"})}function Es(e){return n.jsx(r,{...e,iconKey:"add_business"})}function Fs(e){return n.jsx(r,{...e,iconKey:"add_card"})}function Ps(e){return n.jsx(r,{...e,iconKey:"add_chart"})}function Ds(e){return n.jsx(r,{...e,iconKey:"add_circle"})}function Ns(e){return n.jsx(r,{...e,iconKey:"add_circle_outline"})}function Ts(e){return n.jsx(r,{...e,iconKey:"add_comment"})}function Ms(e){return n.jsx(r,{...e,iconKey:"add_home"})}function Os(e){return n.jsx(r,{...e,iconKey:"add_home_work"})}function Ls(e){return n.jsx(r,{...e,iconKey:"add_ic_call"})}function tc(e){return n.jsx(r,{...e,iconKey:"add_link"})}function Qs(e){return n.jsx(r,{...e,iconKey:"add_location"})}function Vs(e){return n.jsx(r,{...e,iconKey:"add_location_alt"})}function Ws(e){return n.jsx(r,{...e,iconKey:"add_moderator"})}function Gs(e){return n.jsx(r,{...e,iconKey:"add_photo_alternate"})}function zs(e){return n.jsx(r,{...e,iconKey:"add_reaction"})}function Hs(e){return n.jsx(r,{...e,iconKey:"add_road"})}function Us(e){return n.jsx(r,{...e,iconKey:"add_shopping_cart"})}function Ys(e){return n.jsx(r,{...e,iconKey:"add_task"})}function $s(e){return n.jsx(r,{...e,iconKey:"add_to_drive"})}function js(e){return n.jsx(r,{...e,iconKey:"add_to_home_screen"})}function qs(e){return n.jsx(r,{...e,iconKey:"add_to_photos"})}function Js(e){return n.jsx(r,{...e,iconKey:"add_to_queue"})}function Zs(e){return n.jsx(r,{...e,iconKey:"adf_scanner"})}function Xs(e){return n.jsx(r,{...e,iconKey:"adjust"})}function xs(e){return n.jsx(r,{...e,iconKey:"admin_panel_settings"})}function Rs(e){return n.jsx(r,{...e,iconKey:"ads_click"})}function ed(e){return n.jsx(r,{...e,iconKey:"agriculture"})}function nd(e){return n.jsx(r,{...e,iconKey:"air"})}function od(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat"})}function rd(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat_angled"})}function td(e){return n.jsx(r,{...e,iconKey:"airline_seat_individual_suite"})}function cd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_extra"})}function id(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_normal"})}function ad(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_reduced"})}function ld(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_extra"})}function sd(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_normal"})}function dd(e){return n.jsx(r,{...e,iconKey:"airline_stops"})}function ud(e){return n.jsx(r,{...e,iconKey:"airlines"})}function fd(e){return n.jsx(r,{...e,iconKey:"airplane_ticket"})}function Ad(e){return n.jsx(r,{...e,iconKey:"airplanemode_active"})}function _d(e){return n.jsx(r,{...e,iconKey:"airplanemode_inactive"})}function yd(e){return n.jsx(r,{...e,iconKey:"airplay"})}function hd(e){return n.jsx(r,{...e,iconKey:"airport_shuttle"})}function gd(e){return n.jsx(r,{...e,iconKey:"alarm"})}function Id(e){return n.jsx(r,{...e,iconKey:"alarm_add"})}function bd(e){return n.jsx(r,{...e,iconKey:"alarm_off"})}function pd(e){return n.jsx(r,{...e,iconKey:"alarm_on"})}function wd(e){return n.jsx(r,{...e,iconKey:"album"})}function kd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_center"})}function md(e){return n.jsx(r,{...e,iconKey:"align_horizontal_left"})}function vd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_right"})}function Kd(e){return n.jsx(r,{...e,iconKey:"align_vertical_bottom"})}function Cd(e){return n.jsx(r,{...e,iconKey:"align_vertical_center"})}function Sd(e){return n.jsx(r,{...e,iconKey:"align_vertical_top"})}function Bd(e){return n.jsx(r,{...e,iconKey:"all_inbox"})}function Ed(e){return n.jsx(r,{...e,iconKey:"all_inclusive"})}function Fd(e){return n.jsx(r,{...e,iconKey:"all_out"})}function Pd(e){return n.jsx(r,{...e,iconKey:"alt_route"})}function Dd(e){return n.jsx(r,{...e,iconKey:"alternate_email"})}function Nd(e){return n.jsx(r,{...e,iconKey:"analytics"})}function Td(e){return n.jsx(r,{...e,iconKey:"anchor"})}function Md(e){return n.jsx(r,{...e,iconKey:"android"})}function Od(e){return n.jsx(r,{...e,iconKey:"animation"})}function Ld(e){return n.jsx(r,{...e,iconKey:"announcement"})}function Qd(e){return n.jsx(r,{...e,iconKey:"aod"})}function Vd(e){return n.jsx(r,{...e,iconKey:"apartment"})}function Wd(e){return n.jsx(r,{...e,iconKey:"api"})}function Gd(e){return n.jsx(r,{...e,iconKey:"app_blocking"})}function zd(e){return n.jsx(r,{...e,iconKey:"app_registration"})}function Hd(e){return n.jsx(r,{...e,iconKey:"app_settings_alt"})}function Ud(e){return n.jsx(r,{...e,iconKey:"app_shortcut"})}function Yd(e){return n.jsx(r,{...e,iconKey:"approval"})}function $d(e){return n.jsx(r,{...e,iconKey:"apps"})}function jd(e){return n.jsx(r,{...e,iconKey:"apps_outage"})}function qd(e){return n.jsx(r,{...e,iconKey:"architecture"})}function Jd(e){return n.jsx(r,{...e,iconKey:"archive"})}function Zd(e){return n.jsx(r,{...e,iconKey:"area_chart"})}function Xd(e){return n.jsx(r,{...e,iconKey:"arrow_back"})}function xd(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios"})}function Rd(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios_new"})}function eu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_down"})}function nu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_left"})}function ou(e){return n.jsx(r,{...e,iconKey:"arrow_circle_right"})}function ru(e){return n.jsx(r,{...e,iconKey:"arrow_circle_up"})}function tu(e){return n.jsx(r,{...e,iconKey:"arrow_downward"})}function yr(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down"})}function cu(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down_circle"})}function iu(e){return n.jsx(r,{...e,iconKey:"arrow_drop_up"})}function cc(e){return n.jsx(r,{...e,iconKey:"arrow_forward"})}function au(e){return n.jsx(r,{...e,iconKey:"arrow_forward_ios"})}function lu(e){return n.jsx(r,{...e,iconKey:"arrow_left"})}function su(e){return n.jsx(r,{...e,iconKey:"arrow_outward"})}function du(e){return n.jsx(r,{...e,iconKey:"arrow_right"})}function uu(e){return n.jsx(r,{...e,iconKey:"arrow_right_alt"})}function So(e){return n.jsx(r,{...e,iconKey:"arrow_upward"})}function fu(e){return n.jsx(r,{...e,iconKey:"art_track"})}function Au(e){return n.jsx(r,{...e,iconKey:"article"})}function _u(e){return n.jsx(r,{...e,iconKey:"aspect_ratio"})}function yu(e){return n.jsx(r,{...e,iconKey:"assessment"})}function ic(e){return n.jsx(r,{...e,iconKey:"assignment"})}function hu(e){return n.jsx(r,{...e,iconKey:"assignment_ind"})}function gu(e){return n.jsx(r,{...e,iconKey:"assignment_late"})}function Iu(e){return n.jsx(r,{...e,iconKey:"assignment_return"})}function bu(e){return n.jsx(r,{...e,iconKey:"assignment_returned"})}function pu(e){return n.jsx(r,{...e,iconKey:"assignment_turned_in"})}function wu(e){return n.jsx(r,{...e,iconKey:"assist_walker"})}function ku(e){return n.jsx(r,{...e,iconKey:"assistant"})}function mu(e){return n.jsx(r,{...e,iconKey:"assistant_direction"})}function vu(e){return n.jsx(r,{...e,iconKey:"assistant_photo"})}function Ku(e){return n.jsx(r,{...e,iconKey:"assured_workload"})}function Cu(e){return n.jsx(r,{...e,iconKey:"atm"})}function Su(e){return n.jsx(r,{...e,iconKey:"attach_email"})}function Bu(e){return n.jsx(r,{...e,iconKey:"attach_file"})}function Eu(e){return n.jsx(r,{...e,iconKey:"attach_money"})}function Fu(e){return n.jsx(r,{...e,iconKey:"attachment"})}function Pu(e){return n.jsx(r,{...e,iconKey:"attractions"})}function Du(e){return n.jsx(r,{...e,iconKey:"attribution"})}function Nu(e){return n.jsx(r,{...e,iconKey:"audio_file"})}function Tu(e){return n.jsx(r,{...e,iconKey:"audiotrack"})}function Mu(e){return n.jsx(r,{...e,iconKey:"auto_awesome"})}function Ou(e){return n.jsx(r,{...e,iconKey:"auto_awesome_mosaic"})}function Lu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_motion"})}function Qu(e){return n.jsx(r,{...e,iconKey:"auto_delete"})}function Vu(e){return n.jsx(r,{...e,iconKey:"auto_fix_high"})}function Wu(e){return n.jsx(r,{...e,iconKey:"auto_fix_normal"})}function Gu(e){return n.jsx(r,{...e,iconKey:"auto_fix_off"})}function zu(e){return n.jsx(r,{...e,iconKey:"auto_graph"})}function Hu(e){return n.jsx(r,{...e,iconKey:"auto_mode"})}function Uu(e){return n.jsx(r,{...e,iconKey:"auto_stories"})}function Yu(e){return n.jsx(r,{...e,iconKey:"autofps_select"})}function $u(e){return n.jsx(r,{...e,iconKey:"autorenew"})}function ju(e){return n.jsx(r,{...e,iconKey:"av_timer"})}function qu(e){return n.jsx(r,{...e,iconKey:"baby_changing_station"})}function Ju(e){return n.jsx(r,{...e,iconKey:"back_hand"})}function Zu(e){return n.jsx(r,{...e,iconKey:"backpack"})}function Xu(e){return n.jsx(r,{...e,iconKey:"backspace"})}function xu(e){return n.jsx(r,{...e,iconKey:"backup"})}function Ru(e){return n.jsx(r,{...e,iconKey:"backup_table"})}function ef(e){return n.jsx(r,{...e,iconKey:"badge"})}function nf(e){return n.jsx(r,{...e,iconKey:"bakery_dining"})}function of(e){return n.jsx(r,{...e,iconKey:"balance"})}function rf(e){return n.jsx(r,{...e,iconKey:"balcony"})}function hr(e){return n.jsx(r,{...e,iconKey:"ballot"})}function tf(e){return n.jsx(r,{...e,iconKey:"bar_chart"})}function cf(e){return n.jsx(r,{...e,iconKey:"batch_prediction"})}function af(e){return n.jsx(r,{...e,iconKey:"bathroom"})}function lf(e){return n.jsx(r,{...e,iconKey:"bathtub"})}function sf(e){return n.jsx(r,{...e,iconKey:"battery_0_bar"})}function df(e){return n.jsx(r,{...e,iconKey:"battery_1_bar"})}function uf(e){return n.jsx(r,{...e,iconKey:"battery_2_bar"})}function ff(e){return n.jsx(r,{...e,iconKey:"battery_3_bar"})}function Af(e){return n.jsx(r,{...e,iconKey:"battery_4_bar"})}function _f(e){return n.jsx(r,{...e,iconKey:"battery_5_bar"})}function yf(e){return n.jsx(r,{...e,iconKey:"battery_6_bar"})}function hf(e){return n.jsx(r,{...e,iconKey:"battery_alert"})}function gf(e){return n.jsx(r,{...e,iconKey:"battery_charging_full"})}function If(e){return n.jsx(r,{...e,iconKey:"battery_full"})}function bf(e){return n.jsx(r,{...e,iconKey:"battery_saver"})}function pf(e){return n.jsx(r,{...e,iconKey:"battery_std"})}function wf(e){return n.jsx(r,{...e,iconKey:"battery_unknown"})}function kf(e){return n.jsx(r,{...e,iconKey:"beach_access"})}function mf(e){return n.jsx(r,{...e,iconKey:"bed"})}function vf(e){return n.jsx(r,{...e,iconKey:"bedroom_baby"})}function Kf(e){return n.jsx(r,{...e,iconKey:"bedroom_child"})}function Cf(e){return n.jsx(r,{...e,iconKey:"bedroom_parent"})}function Sf(e){return n.jsx(r,{...e,iconKey:"bedtime"})}function Bf(e){return n.jsx(r,{...e,iconKey:"bedtime_off"})}function Ef(e){return n.jsx(r,{...e,iconKey:"beenhere"})}function Ff(e){return n.jsx(r,{...e,iconKey:"bento"})}function Pf(e){return n.jsx(r,{...e,iconKey:"bike_scooter"})}function Df(e){return n.jsx(r,{...e,iconKey:"biotech"})}function Nf(e){return n.jsx(r,{...e,iconKey:"blender"})}function Tf(e){return n.jsx(r,{...e,iconKey:"blind"})}function Mf(e){return n.jsx(r,{...e,iconKey:"blinds"})}function Of(e){return n.jsx(r,{...e,iconKey:"blinds_closed"})}function Lf(e){return n.jsx(r,{...e,iconKey:"block"})}function Qf(e){return n.jsx(r,{...e,iconKey:"bloodtype"})}function Vf(e){return n.jsx(r,{...e,iconKey:"bluetooth"})}function Wf(e){return n.jsx(r,{...e,iconKey:"bluetooth_audio"})}function Gf(e){return n.jsx(r,{...e,iconKey:"bluetooth_connected"})}function zf(e){return n.jsx(r,{...e,iconKey:"bluetooth_disabled"})}function Hf(e){return n.jsx(r,{...e,iconKey:"bluetooth_drive"})}function Uf(e){return n.jsx(r,{...e,iconKey:"bluetooth_searching"})}function Yf(e){return n.jsx(r,{...e,iconKey:"blur_circular"})}function $f(e){return n.jsx(r,{...e,iconKey:"blur_linear"})}function jf(e){return n.jsx(r,{...e,iconKey:"blur_off"})}function qf(e){return n.jsx(r,{...e,iconKey:"blur_on"})}function Jf(e){return n.jsx(r,{...e,iconKey:"bolt"})}function Zf(e){return n.jsx(r,{...e,iconKey:"book"})}function Xf(e){return n.jsx(r,{...e,iconKey:"book_online"})}function xf(e){return n.jsx(r,{...e,iconKey:"bookmark"})}function Rf(e){return n.jsx(r,{...e,iconKey:"bookmark_add"})}function eA(e){return n.jsx(r,{...e,iconKey:"bookmark_added"})}function nA(e){return n.jsx(r,{...e,iconKey:"bookmark_border"})}function oA(e){return n.jsx(r,{...e,iconKey:"bookmark_remove"})}function rA(e){return n.jsx(r,{...e,iconKey:"bookmarks"})}function tA(e){return n.jsx(r,{...e,iconKey:"border_all"})}function cA(e){return n.jsx(r,{...e,iconKey:"border_bottom"})}function iA(e){return n.jsx(r,{...e,iconKey:"border_clear"})}function aA(e){return n.jsx(r,{...e,iconKey:"border_color"})}function lA(e){return n.jsx(r,{...e,iconKey:"border_horizontal"})}function sA(e){return n.jsx(r,{...e,iconKey:"border_inner"})}function dA(e){return n.jsx(r,{...e,iconKey:"border_left"})}function uA(e){return n.jsx(r,{...e,iconKey:"border_outer"})}function fA(e){return n.jsx(r,{...e,iconKey:"border_right"})}function AA(e){return n.jsx(r,{...e,iconKey:"border_style"})}function _A(e){return n.jsx(r,{...e,iconKey:"border_top"})}function yA(e){return n.jsx(r,{...e,iconKey:"border_vertical"})}function hA(e){return n.jsx(r,{...e,iconKey:"boy"})}function gA(e){return n.jsx(r,{...e,iconKey:"branding_watermark"})}function IA(e){return n.jsx(r,{...e,iconKey:"breakfast_dining"})}function bA(e){return n.jsx(r,{...e,iconKey:"brightness_1"})}function pA(e){return n.jsx(r,{...e,iconKey:"brightness_2"})}function wA(e){return n.jsx(r,{...e,iconKey:"brightness_3"})}function kA(e){return n.jsx(r,{...e,iconKey:"brightness_4"})}function mA(e){return n.jsx(r,{...e,iconKey:"brightness_5"})}function vA(e){return n.jsx(r,{...e,iconKey:"brightness_6"})}function KA(e){return n.jsx(r,{...e,iconKey:"brightness_7"})}function CA(e){return n.jsx(r,{...e,iconKey:"brightness_auto"})}function SA(e){return n.jsx(r,{...e,iconKey:"brightness_high"})}function BA(e){return n.jsx(r,{...e,iconKey:"brightness_low"})}function EA(e){return n.jsx(r,{...e,iconKey:"brightness_medium"})}function FA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_home"})}function PA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_personal"})}function DA(e){return n.jsx(r,{...e,iconKey:"broken_image"})}function NA(e){return n.jsx(r,{...e,iconKey:"browse_gallery"})}function TA(e){return n.jsx(r,{...e,iconKey:"browser_not_supported"})}function MA(e){return n.jsx(r,{...e,iconKey:"browser_updated"})}function OA(e){return n.jsx(r,{...e,iconKey:"brunch_dining"})}function LA(e){return n.jsx(r,{...e,iconKey:"brush"})}function QA(e){return n.jsx(r,{...e,iconKey:"bubble_chart"})}function VA(e){return n.jsx(r,{...e,iconKey:"bug_report"})}function WA(e){return n.jsx(r,{...e,iconKey:"build"})}function GA(e){return n.jsx(r,{...e,iconKey:"build_circle"})}function zA(e){return n.jsx(r,{...e,iconKey:"bungalow"})}function HA(e){return n.jsx(r,{...e,iconKey:"burst_mode"})}function UA(e){return n.jsx(r,{...e,iconKey:"bus_alert"})}function YA(e){return n.jsx(r,{...e,iconKey:"business"})}function $A(e){return n.jsx(r,{...e,iconKey:"business_center"})}function jA(e){return n.jsx(r,{...e,iconKey:"cabin"})}function qA(e){return n.jsx(r,{...e,iconKey:"cable"})}function JA(e){return n.jsx(r,{...e,iconKey:"cached"})}function ZA(e){return n.jsx(r,{...e,iconKey:"cake"})}function XA(e){return n.jsx(r,{...e,iconKey:"calculate"})}function ac(e){return n.jsx(r,{...e,iconKey:"calendar_month"})}function xA(e){return n.jsx(r,{...e,iconKey:"calendar_today"})}function RA(e){return n.jsx(r,{...e,iconKey:"calendar_view_day"})}function e_(e){return n.jsx(r,{...e,iconKey:"calendar_view_month"})}function n_(e){return n.jsx(r,{...e,iconKey:"calendar_view_week"})}function o_(e){return n.jsx(r,{...e,iconKey:"call"})}function r_(e){return n.jsx(r,{...e,iconKey:"call_end"})}function t_(e){return n.jsx(r,{...e,iconKey:"call_made"})}function c_(e){return n.jsx(r,{...e,iconKey:"call_merge"})}function i_(e){return n.jsx(r,{...e,iconKey:"call_missed"})}function a_(e){return n.jsx(r,{...e,iconKey:"call_missed_outgoing"})}function l_(e){return n.jsx(r,{...e,iconKey:"call_received"})}function s_(e){return n.jsx(r,{...e,iconKey:"call_split"})}function d_(e){return n.jsx(r,{...e,iconKey:"call_to_action"})}function u_(e){return n.jsx(r,{...e,iconKey:"camera"})}function f_(e){return n.jsx(r,{...e,iconKey:"camera_alt"})}function A_(e){return n.jsx(r,{...e,iconKey:"camera_enhance"})}function __(e){return n.jsx(r,{...e,iconKey:"camera_front"})}function y_(e){return n.jsx(r,{...e,iconKey:"camera_indoor"})}function h_(e){return n.jsx(r,{...e,iconKey:"camera_outdoor"})}function g_(e){return n.jsx(r,{...e,iconKey:"camera_rear"})}function I_(e){return n.jsx(r,{...e,iconKey:"camera_roll"})}function b_(e){return n.jsx(r,{...e,iconKey:"cameraswitch"})}function p_(e){return n.jsx(r,{...e,iconKey:"campaign"})}function w_(e){return n.jsx(r,{...e,iconKey:"cancel"})}function k_(e){return n.jsx(r,{...e,iconKey:"cancel_presentation"})}function m_(e){return n.jsx(r,{...e,iconKey:"cancel_schedule_send"})}function v_(e){return n.jsx(r,{...e,iconKey:"candlestick_chart"})}function K_(e){return n.jsx(r,{...e,iconKey:"car_crash"})}function C_(e){return n.jsx(r,{...e,iconKey:"car_rental"})}function S_(e){return n.jsx(r,{...e,iconKey:"car_repair"})}function B_(e){return n.jsx(r,{...e,iconKey:"card_giftcard"})}function E_(e){return n.jsx(r,{...e,iconKey:"card_membership"})}function F_(e){return n.jsx(r,{...e,iconKey:"card_travel"})}function P_(e){return n.jsx(r,{...e,iconKey:"carpenter"})}function D_(e){return n.jsx(r,{...e,iconKey:"cases"})}function N_(e){return n.jsx(r,{...e,iconKey:"casino"})}function T_(e){return n.jsx(r,{...e,iconKey:"cast"})}function M_(e){return n.jsx(r,{...e,iconKey:"cast_connected"})}function O_(e){return n.jsx(r,{...e,iconKey:"cast_for_education"})}function L_(e){return n.jsx(r,{...e,iconKey:"castle"})}function Q_(e){return n.jsx(r,{...e,iconKey:"catching_pokemon"})}function V_(e){return n.jsx(r,{...e,iconKey:"category"})}function W_(e){return n.jsx(r,{...e,iconKey:"celebration"})}function G_(e){return n.jsx(r,{...e,iconKey:"cell_tower"})}function z_(e){return n.jsx(r,{...e,iconKey:"cell_wifi"})}function H_(e){return n.jsx(r,{...e,iconKey:"center_focus_strong"})}function U_(e){return n.jsx(r,{...e,iconKey:"center_focus_weak"})}function Y_(e){return n.jsx(r,{...e,iconKey:"chair"})}function $_(e){return n.jsx(r,{...e,iconKey:"chair_alt"})}function j_(e){return n.jsx(r,{...e,iconKey:"chalet"})}function q_(e){return n.jsx(r,{...e,iconKey:"change_circle"})}function J_(e){return n.jsx(r,{...e,iconKey:"change_history"})}function Z_(e){return n.jsx(r,{...e,iconKey:"charging_station"})}function X_(e){return n.jsx(r,{...e,iconKey:"chat"})}function x_(e){return n.jsx(r,{...e,iconKey:"chat_bubble"})}function R_(e){return n.jsx(r,{...e,iconKey:"chat_bubble_outline"})}function lc(e){return n.jsx(r,{...e,iconKey:"check"})}function ey(e){return n.jsx(r,{...e,iconKey:"check_box"})}function ny(e){return n.jsx(r,{...e,iconKey:"check_box_outline_blank"})}function oy(e){return n.jsx(r,{...e,iconKey:"check_circle"})}function ry(e){return n.jsx(r,{...e,iconKey:"check_circle_outline"})}function ty(e){return n.jsx(r,{...e,iconKey:"checklist"})}function cy(e){return n.jsx(r,{...e,iconKey:"checklist_rtl"})}function iy(e){return n.jsx(r,{...e,iconKey:"checkroom"})}function sc(e){return n.jsx(r,{...e,iconKey:"chevron_left"})}function ay(e){return n.jsx(r,{...e,iconKey:"chevron_right"})}function ly(e){return n.jsx(r,{...e,iconKey:"child_care"})}function sy(e){return n.jsx(r,{...e,iconKey:"child_friendly"})}function dy(e){return n.jsx(r,{...e,iconKey:"chrome_reader_mode"})}function uy(e){return n.jsx(r,{...e,iconKey:"church"})}function gr(e){return n.jsx(r,{...e,iconKey:"circle"})}function fy(e){return n.jsx(r,{...e,iconKey:"circle_notifications"})}function Ay(e){return n.jsx(r,{...e,iconKey:"class"})}function _y(e){return n.jsx(r,{...e,iconKey:"clean_hands"})}function yy(e){return n.jsx(r,{...e,iconKey:"cleaning_services"})}function cn(e){return n.jsx(r,{...e,iconKey:"clear"})}function hy(e){return n.jsx(r,{...e,iconKey:"clear_all"})}function Ir(e){return n.jsx(r,{...e,iconKey:"close"})}function gy(e){return n.jsx(r,{...e,iconKey:"close_fullscreen"})}function Iy(e){return n.jsx(r,{...e,iconKey:"closed_caption"})}function by(e){return n.jsx(r,{...e,iconKey:"closed_caption_disabled"})}function py(e){return n.jsx(r,{...e,iconKey:"closed_caption_off"})}function wy(e){return n.jsx(r,{...e,iconKey:"cloud"})}function ky(e){return n.jsx(r,{...e,iconKey:"cloud_circle"})}function my(e){return n.jsx(r,{...e,iconKey:"cloud_done"})}function vy(e){return n.jsx(r,{...e,iconKey:"cloud_download"})}function Ky(e){return n.jsx(r,{...e,iconKey:"cloud_off"})}function Cy(e){return n.jsx(r,{...e,iconKey:"cloud_queue"})}function Sy(e){return n.jsx(r,{...e,iconKey:"cloud_sync"})}function By(e){return n.jsx(r,{...e,iconKey:"cloud_upload"})}function Ey(e){return n.jsx(r,{...e,iconKey:"co2"})}function Fy(e){return n.jsx(r,{...e,iconKey:"co_present"})}function Py(e){return n.jsx(r,{...e,iconKey:"code"})}function Dy(e){return n.jsx(r,{...e,iconKey:"code_off"})}function Ny(e){return n.jsx(r,{...e,iconKey:"coffee"})}function Ty(e){return n.jsx(r,{...e,iconKey:"coffee_maker"})}function My(e){return n.jsx(r,{...e,iconKey:"collections"})}function Oy(e){return n.jsx(r,{...e,iconKey:"collections_bookmark"})}function Ly(e){return n.jsx(r,{...e,iconKey:"color_lens"})}function Qy(e){return n.jsx(r,{...e,iconKey:"colorize"})}function Vy(e){return n.jsx(r,{...e,iconKey:"comment"})}function Wy(e){return n.jsx(r,{...e,iconKey:"comment_bank"})}function Gy(e){return n.jsx(r,{...e,iconKey:"comments_disabled"})}function zy(e){return n.jsx(r,{...e,iconKey:"commit"})}function Hy(e){return n.jsx(r,{...e,iconKey:"commute"})}function Uy(e){return n.jsx(r,{...e,iconKey:"compare"})}function Yy(e){return n.jsx(r,{...e,iconKey:"compare_arrows"})}function $y(e){return n.jsx(r,{...e,iconKey:"compass_calibration"})}function jy(e){return n.jsx(r,{...e,iconKey:"compost"})}function qy(e){return n.jsx(r,{...e,iconKey:"compress"})}function Jy(e){return n.jsx(r,{...e,iconKey:"computer"})}function Zy(e){return n.jsx(r,{...e,iconKey:"confirmation_number"})}function Xy(e){return n.jsx(r,{...e,iconKey:"connect_without_contact"})}function xy(e){return n.jsx(r,{...e,iconKey:"connected_tv"})}function Ry(e){return n.jsx(r,{...e,iconKey:"connecting_airports"})}function eh(e){return n.jsx(r,{...e,iconKey:"construction"})}function nh(e){return n.jsx(r,{...e,iconKey:"contact_emergency"})}function oh(e){return n.jsx(r,{...e,iconKey:"contact_mail"})}function rh(e){return n.jsx(r,{...e,iconKey:"contact_page"})}function th(e){return n.jsx(r,{...e,iconKey:"contact_phone"})}function ch(e){return n.jsx(r,{...e,iconKey:"contact_support"})}function ih(e){return n.jsx(r,{...e,iconKey:"contactless"})}function ah(e){return n.jsx(r,{...e,iconKey:"contacts"})}function no(e){return n.jsx(r,{...e,iconKey:"content_copy"})}function lh(e){return n.jsx(r,{...e,iconKey:"content_cut"})}function sh(e){return n.jsx(r,{...e,iconKey:"content_paste"})}function dh(e){return n.jsx(r,{...e,iconKey:"content_paste_go"})}function uh(e){return n.jsx(r,{...e,iconKey:"content_paste_off"})}function fh(e){return n.jsx(r,{...e,iconKey:"content_paste_search"})}function Ah(e){return n.jsx(r,{...e,iconKey:"contrast"})}function _h(e){return n.jsx(r,{...e,iconKey:"control_camera"})}function yh(e){return n.jsx(r,{...e,iconKey:"control_point"})}function hh(e){return n.jsx(r,{...e,iconKey:"control_point_duplicate"})}function gh(e){return n.jsx(r,{...e,iconKey:"cookie"})}function Ih(e){return n.jsx(r,{...e,iconKey:"copy_all"})}function bh(e){return n.jsx(r,{...e,iconKey:"copyright"})}function ph(e){return n.jsx(r,{...e,iconKey:"coronavirus"})}function wh(e){return n.jsx(r,{...e,iconKey:"corporate_fare"})}function kh(e){return n.jsx(r,{...e,iconKey:"cottage"})}function mh(e){return n.jsx(r,{...e,iconKey:"countertops"})}function vh(e){return n.jsx(r,{...e,iconKey:"create"})}function Kh(e){return n.jsx(r,{...e,iconKey:"create_new_folder"})}function Ch(e){return n.jsx(r,{...e,iconKey:"credit_card"})}function Sh(e){return n.jsx(r,{...e,iconKey:"credit_card_off"})}function Bh(e){return n.jsx(r,{...e,iconKey:"credit_score"})}function Eh(e){return n.jsx(r,{...e,iconKey:"crib"})}function Fh(e){return n.jsx(r,{...e,iconKey:"crisis_alert"})}function Ph(e){return n.jsx(r,{...e,iconKey:"crop"})}function Dh(e){return n.jsx(r,{...e,iconKey:"crop_16_9"})}function Nh(e){return n.jsx(r,{...e,iconKey:"crop_3_2"})}function Th(e){return n.jsx(r,{...e,iconKey:"crop_5_4"})}function Mh(e){return n.jsx(r,{...e,iconKey:"crop_7_5"})}function Oh(e){return n.jsx(r,{...e,iconKey:"crop_din"})}function Lh(e){return n.jsx(r,{...e,iconKey:"crop_free"})}function Qh(e){return n.jsx(r,{...e,iconKey:"crop_landscape"})}function Vh(e){return n.jsx(r,{...e,iconKey:"crop_original"})}function Wh(e){return n.jsx(r,{...e,iconKey:"crop_portrait"})}function Gh(e){return n.jsx(r,{...e,iconKey:"crop_rotate"})}function zh(e){return n.jsx(r,{...e,iconKey:"crop_square"})}function Hh(e){return n.jsx(r,{...e,iconKey:"cruelty_free"})}function Uh(e){return n.jsx(r,{...e,iconKey:"css"})}function Yh(e){return n.jsx(r,{...e,iconKey:"currency_bitcoin"})}function $h(e){return n.jsx(r,{...e,iconKey:"currency_exchange"})}function jh(e){return n.jsx(r,{...e,iconKey:"currency_franc"})}function qh(e){return n.jsx(r,{...e,iconKey:"currency_lira"})}function Jh(e){return n.jsx(r,{...e,iconKey:"currency_pound"})}function Zh(e){return n.jsx(r,{...e,iconKey:"currency_ruble"})}function Xh(e){return n.jsx(r,{...e,iconKey:"currency_rupee"})}function xh(e){return n.jsx(r,{...e,iconKey:"currency_yen"})}function Rh(e){return n.jsx(r,{...e,iconKey:"currency_yuan"})}function eg(e){return n.jsx(r,{...e,iconKey:"curtains"})}function ng(e){return n.jsx(r,{...e,iconKey:"curtains_closed"})}function og(e){return n.jsx(r,{...e,iconKey:"cyclone"})}function rg(e){return n.jsx(r,{...e,iconKey:"dangerous"})}function dc(e){return n.jsx(r,{...e,iconKey:"dark_mode"})}function tg(e){return n.jsx(r,{...e,iconKey:"dashboard"})}function cg(e){return n.jsx(r,{...e,iconKey:"dashboard_customize"})}function ig(e){return n.jsx(r,{...e,iconKey:"data_array"})}function ag(e){return n.jsx(r,{...e,iconKey:"data_exploration"})}function lg(e){return n.jsx(r,{...e,iconKey:"data_object"})}function sg(e){return n.jsx(r,{...e,iconKey:"data_saver_off"})}function dg(e){return n.jsx(r,{...e,iconKey:"data_saver_on"})}function ug(e){return n.jsx(r,{...e,iconKey:"data_thresholding"})}function fg(e){return n.jsx(r,{...e,iconKey:"data_usage"})}function Ag(e){return n.jsx(r,{...e,iconKey:"dataset"})}function _g(e){return n.jsx(r,{...e,iconKey:"dataset_linked"})}function yg(e){return n.jsx(r,{...e,iconKey:"date_range"})}function hg(e){return n.jsx(r,{...e,iconKey:"deblur"})}function gg(e){return n.jsx(r,{...e,iconKey:"deck"})}function Ig(e){return n.jsx(r,{...e,iconKey:"dehaze"})}function Bo(e){return n.jsx(r,{...e,iconKey:"delete"})}function bg(e){return n.jsx(r,{...e,iconKey:"delete_forever"})}function pg(e){return n.jsx(r,{...e,iconKey:"delete_outline"})}function wg(e){return n.jsx(r,{...e,iconKey:"delete_sweep"})}function kg(e){return n.jsx(r,{...e,iconKey:"delivery_dining"})}function mg(e){return n.jsx(r,{...e,iconKey:"density_large"})}function vg(e){return n.jsx(r,{...e,iconKey:"density_medium"})}function Kg(e){return n.jsx(r,{...e,iconKey:"density_small"})}function Cg(e){return n.jsx(r,{...e,iconKey:"departure_board"})}function uc(e){return n.jsx(r,{...e,iconKey:"description"})}function Sg(e){return n.jsx(r,{...e,iconKey:"deselect"})}function Bg(e){return n.jsx(r,{...e,iconKey:"design_services"})}function Eg(e){return n.jsx(r,{...e,iconKey:"desk"})}function Fg(e){return n.jsx(r,{...e,iconKey:"desktop_access_disabled"})}function Pg(e){return n.jsx(r,{...e,iconKey:"desktop_mac"})}function Dg(e){return n.jsx(r,{...e,iconKey:"desktop_windows"})}function Ng(e){return n.jsx(r,{...e,iconKey:"details"})}function Tg(e){return n.jsx(r,{...e,iconKey:"developer_board"})}function Mg(e){return n.jsx(r,{...e,iconKey:"developer_board_off"})}function Og(e){return n.jsx(r,{...e,iconKey:"developer_mode"})}function Lg(e){return n.jsx(r,{...e,iconKey:"device_hub"})}function Qg(e){return n.jsx(r,{...e,iconKey:"device_thermostat"})}function Vg(e){return n.jsx(r,{...e,iconKey:"device_unknown"})}function Wg(e){return n.jsx(r,{...e,iconKey:"devices"})}function Gg(e){return n.jsx(r,{...e,iconKey:"devices_fold"})}function zg(e){return n.jsx(r,{...e,iconKey:"devices_other"})}function Hg(e){return n.jsx(r,{...e,iconKey:"dialer_sip"})}function Ug(e){return n.jsx(r,{...e,iconKey:"dialpad"})}function Yg(e){return n.jsx(r,{...e,iconKey:"diamond"})}function $g(e){return n.jsx(r,{...e,iconKey:"difference"})}function jg(e){return n.jsx(r,{...e,iconKey:"dining"})}function qg(e){return n.jsx(r,{...e,iconKey:"dinner_dining"})}function Jg(e){return n.jsx(r,{...e,iconKey:"directions"})}function Zg(e){return n.jsx(r,{...e,iconKey:"directions_bike"})}function Xg(e){return n.jsx(r,{...e,iconKey:"directions_boat"})}function xg(e){return n.jsx(r,{...e,iconKey:"directions_boat_filled"})}function Rg(e){return n.jsx(r,{...e,iconKey:"directions_bus"})}function eI(e){return n.jsx(r,{...e,iconKey:"directions_bus_filled"})}function nI(e){return n.jsx(r,{...e,iconKey:"directions_car"})}function oI(e){return n.jsx(r,{...e,iconKey:"directions_car_filled"})}function rI(e){return n.jsx(r,{...e,iconKey:"directions_off"})}function tI(e){return n.jsx(r,{...e,iconKey:"directions_railway"})}function cI(e){return n.jsx(r,{...e,iconKey:"directions_railway_filled"})}function iI(e){return n.jsx(r,{...e,iconKey:"directions_run"})}function aI(e){return n.jsx(r,{...e,iconKey:"directions_subway"})}function lI(e){return n.jsx(r,{...e,iconKey:"directions_subway_filled"})}function sI(e){return n.jsx(r,{...e,iconKey:"directions_transit"})}function dI(e){return n.jsx(r,{...e,iconKey:"directions_transit_filled"})}function uI(e){return n.jsx(r,{...e,iconKey:"directions_walk"})}function fI(e){return n.jsx(r,{...e,iconKey:"dirty_lens"})}function AI(e){return n.jsx(r,{...e,iconKey:"disabled_by_default"})}function _I(e){return n.jsx(r,{...e,iconKey:"disabled_visible"})}function yI(e){return n.jsx(r,{...e,iconKey:"disc_full"})}function hI(e){return n.jsx(r,{...e,iconKey:"discount"})}function gI(e){return n.jsx(r,{...e,iconKey:"display_settings"})}function II(e){return n.jsx(r,{...e,iconKey:"diversity_1"})}function bI(e){return n.jsx(r,{...e,iconKey:"diversity_2"})}function pI(e){return n.jsx(r,{...e,iconKey:"diversity_3"})}function wI(e){return n.jsx(r,{...e,iconKey:"dns"})}function kI(e){return n.jsx(r,{...e,iconKey:"do_disturb"})}function mI(e){return n.jsx(r,{...e,iconKey:"do_disturb_alt"})}function vI(e){return n.jsx(r,{...e,iconKey:"do_disturb_off"})}function KI(e){return n.jsx(r,{...e,iconKey:"do_disturb_on"})}function CI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb"})}function SI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_alt"})}function BI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_off"})}function EI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on"})}function FI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on_total_silence"})}function PI(e){return n.jsx(r,{...e,iconKey:"do_not_step"})}function DI(e){return n.jsx(r,{...e,iconKey:"do_not_touch"})}function NI(e){return n.jsx(r,{...e,iconKey:"dock"})}function TI(e){return n.jsx(r,{...e,iconKey:"document_scanner"})}function MI(e){return n.jsx(r,{...e,iconKey:"domain"})}function OI(e){return n.jsx(r,{...e,iconKey:"domain_add"})}function LI(e){return n.jsx(r,{...e,iconKey:"domain_disabled"})}function QI(e){return n.jsx(r,{...e,iconKey:"domain_verification"})}function VI(e){return n.jsx(r,{...e,iconKey:"done"})}function WI(e){return n.jsx(r,{...e,iconKey:"done_all"})}function GI(e){return n.jsx(r,{...e,iconKey:"done_outline"})}function zI(e){return n.jsx(r,{...e,iconKey:"donut_large"})}function HI(e){return n.jsx(r,{...e,iconKey:"donut_small"})}function UI(e){return n.jsx(r,{...e,iconKey:"door_back"})}function YI(e){return n.jsx(r,{...e,iconKey:"door_front"})}function $I(e){return n.jsx(r,{...e,iconKey:"door_sliding"})}function jI(e){return n.jsx(r,{...e,iconKey:"doorbell"})}function qI(e){return n.jsx(r,{...e,iconKey:"double_arrow"})}function JI(e){return n.jsx(r,{...e,iconKey:"downhill_skiing"})}function ZI(e){return n.jsx(r,{...e,iconKey:"download"})}function XI(e){return n.jsx(r,{...e,iconKey:"download_done"})}function xI(e){return n.jsx(r,{...e,iconKey:"download_for_offline"})}function RI(e){return n.jsx(r,{...e,iconKey:"downloading"})}function eb(e){return n.jsx(r,{...e,iconKey:"drafts"})}function nb(e){return n.jsx(r,{...e,iconKey:"drag_handle"})}function ob(e){return n.jsx(r,{...e,iconKey:"drag_indicator"})}function rb(e){return n.jsx(r,{...e,iconKey:"draw"})}function tb(e){return n.jsx(r,{...e,iconKey:"drive_eta"})}function cb(e){return n.jsx(r,{...e,iconKey:"drive_file_move"})}function ib(e){return n.jsx(r,{...e,iconKey:"drive_file_move_rtl"})}function ab(e){return n.jsx(r,{...e,iconKey:"drive_file_rename_outline"})}function fc(e){return n.jsx(r,{...e,iconKey:"drive_folder_upload"})}function lb(e){return n.jsx(r,{...e,iconKey:"dry"})}function sb(e){return n.jsx(r,{...e,iconKey:"dry_cleaning"})}function db(e){return n.jsx(r,{...e,iconKey:"duo"})}function ub(e){return n.jsx(r,{...e,iconKey:"dvr"})}function fb(e){return n.jsx(r,{...e,iconKey:"dynamic_feed"})}function Ab(e){return n.jsx(r,{...e,iconKey:"dynamic_form"})}function _b(e){return n.jsx(r,{...e,iconKey:"e_mobiledata"})}function yb(e){return n.jsx(r,{...e,iconKey:"earbuds"})}function hb(e){return n.jsx(r,{...e,iconKey:"earbuds_battery"})}function gb(e){return n.jsx(r,{...e,iconKey:"east"})}function Ib(e){return n.jsx(r,{...e,iconKey:"edgesensor_high"})}function bb(e){return n.jsx(r,{...e,iconKey:"edgesensor_low"})}function Ac(e){return n.jsx(r,{...e,iconKey:"edit"})}function pb(e){return n.jsx(r,{...e,iconKey:"edit_attributes"})}function wb(e){return n.jsx(r,{...e,iconKey:"edit_calendar"})}function kb(e){return n.jsx(r,{...e,iconKey:"edit_location"})}function mb(e){return n.jsx(r,{...e,iconKey:"edit_location_alt"})}function vb(e){return n.jsx(r,{...e,iconKey:"edit_note"})}function Kb(e){return n.jsx(r,{...e,iconKey:"edit_notifications"})}function Cb(e){return n.jsx(r,{...e,iconKey:"edit_off"})}function Sb(e){return n.jsx(r,{...e,iconKey:"edit_road"})}function Bb(e){return n.jsx(r,{...e,iconKey:"egg"})}function Eb(e){return n.jsx(r,{...e,iconKey:"egg_alt"})}function Fb(e){return n.jsx(r,{...e,iconKey:"eject"})}function Pb(e){return n.jsx(r,{...e,iconKey:"elderly"})}function Db(e){return n.jsx(r,{...e,iconKey:"elderly_woman"})}function Nb(e){return n.jsx(r,{...e,iconKey:"electric_bike"})}function Tb(e){return n.jsx(r,{...e,iconKey:"electric_bolt"})}function Mb(e){return n.jsx(r,{...e,iconKey:"electric_car"})}function Ob(e){return n.jsx(r,{...e,iconKey:"electric_meter"})}function Lb(e){return n.jsx(r,{...e,iconKey:"electric_moped"})}function Qb(e){return n.jsx(r,{...e,iconKey:"electric_rickshaw"})}function Vb(e){return n.jsx(r,{...e,iconKey:"electric_scooter"})}function Wb(e){return n.jsx(r,{...e,iconKey:"electrical_services"})}function Gb(e){return n.jsx(r,{...e,iconKey:"elevator"})}function _c(e){return n.jsx(r,{...e,iconKey:"email"})}function zb(e){return n.jsx(r,{...e,iconKey:"emergency"})}function Hb(e){return n.jsx(r,{...e,iconKey:"emergency_recording"})}function Ub(e){return n.jsx(r,{...e,iconKey:"emergency_share"})}function Yb(e){return n.jsx(r,{...e,iconKey:"emoji_emotions"})}function $b(e){return n.jsx(r,{...e,iconKey:"emoji_events"})}function jb(e){return n.jsx(r,{...e,iconKey:"emoji_food_beverage"})}function qb(e){return n.jsx(r,{...e,iconKey:"emoji_nature"})}function Jb(e){return n.jsx(r,{...e,iconKey:"emoji_objects"})}function Zb(e){return n.jsx(r,{...e,iconKey:"emoji_people"})}function Xb(e){return n.jsx(r,{...e,iconKey:"emoji_symbols"})}function xb(e){return n.jsx(r,{...e,iconKey:"emoji_transportation"})}function Rb(e){return n.jsx(r,{...e,iconKey:"energy_savings_leaf"})}function ep(e){return n.jsx(r,{...e,iconKey:"engineering"})}function np(e){return n.jsx(r,{...e,iconKey:"enhanced_encryption"})}function op(e){return n.jsx(r,{...e,iconKey:"equalizer"})}function br(e){return n.jsx(r,{...e,iconKey:"error"})}function yc(e){return n.jsx(r,{...e,iconKey:"error_outline"})}function rp(e){return n.jsx(r,{...e,iconKey:"escalator"})}function tp(e){return n.jsx(r,{...e,iconKey:"escalator_warning"})}function cp(e){return n.jsx(r,{...e,iconKey:"euro"})}function ip(e){return n.jsx(r,{...e,iconKey:"euro_symbol"})}function ap(e){return n.jsx(r,{...e,iconKey:"ev_station"})}function lp(e){return n.jsx(r,{...e,iconKey:"event"})}function sp(e){return n.jsx(r,{...e,iconKey:"event_available"})}function dp(e){return n.jsx(r,{...e,iconKey:"event_busy"})}function up(e){return n.jsx(r,{...e,iconKey:"event_note"})}function fp(e){return n.jsx(r,{...e,iconKey:"event_repeat"})}function Ap(e){return n.jsx(r,{...e,iconKey:"event_seat"})}function _p(e){return n.jsx(r,{...e,iconKey:"exit_to_app"})}function yp(e){return n.jsx(r,{...e,iconKey:"expand"})}function hp(e){return n.jsx(r,{...e,iconKey:"expand_circle_down"})}function gp(e){return n.jsx(r,{...e,iconKey:"expand_less"})}function oo(e){return n.jsx(r,{...e,iconKey:"expand_more"})}function Ip(e){return n.jsx(r,{...e,iconKey:"explicit"})}function bp(e){return n.jsx(r,{...e,iconKey:"explore"})}function pp(e){return n.jsx(r,{...e,iconKey:"explore_off"})}function wp(e){return n.jsx(r,{...e,iconKey:"exposure"})}function kp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_1"})}function mp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_2"})}function vp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_1"})}function Kp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_2"})}function Cp(e){return n.jsx(r,{...e,iconKey:"exposure_zero"})}function Sp(e){return n.jsx(r,{...e,iconKey:"extension"})}function Bp(e){return n.jsx(r,{...e,iconKey:"extension_off"})}function Ep(e){return n.jsx(r,{...e,iconKey:"face"})}function Fp(e){return n.jsx(r,{...e,iconKey:"face_2"})}function Pp(e){return n.jsx(r,{...e,iconKey:"face_3"})}function Dp(e){return n.jsx(r,{...e,iconKey:"face_4"})}function Np(e){return n.jsx(r,{...e,iconKey:"face_5"})}function Tp(e){return n.jsx(r,{...e,iconKey:"face_6"})}function Mp(e){return n.jsx(r,{...e,iconKey:"face_retouching_natural"})}function Op(e){return n.jsx(r,{...e,iconKey:"face_retouching_off"})}function Lp(e){return n.jsx(r,{...e,iconKey:"fact_check"})}function Qp(e){return n.jsx(r,{...e,iconKey:"factory"})}function Vp(e){return n.jsx(r,{...e,iconKey:"family_restroom"})}function Wp(e){return n.jsx(r,{...e,iconKey:"fast_forward"})}function Gp(e){return n.jsx(r,{...e,iconKey:"fast_rewind"})}function zp(e){return n.jsx(r,{...e,iconKey:"fastfood"})}function Hp(e){return n.jsx(r,{...e,iconKey:"favorite"})}function Up(e){return n.jsx(r,{...e,iconKey:"favorite_border"})}function Yp(e){return n.jsx(r,{...e,iconKey:"fax"})}function $p(e){return n.jsx(r,{...e,iconKey:"featured_play_list"})}function jp(e){return n.jsx(r,{...e,iconKey:"featured_video"})}function qp(e){return n.jsx(r,{...e,iconKey:"feed"})}function Jp(e){return n.jsx(r,{...e,iconKey:"feedback"})}function Zp(e){return n.jsx(r,{...e,iconKey:"female"})}function Xp(e){return n.jsx(r,{...e,iconKey:"fence"})}function xp(e){return n.jsx(r,{...e,iconKey:"festival"})}function Rp(e){return n.jsx(r,{...e,iconKey:"fiber_dvr"})}function ew(e){return n.jsx(r,{...e,iconKey:"fiber_manual_record"})}function nw(e){return n.jsx(r,{...e,iconKey:"fiber_new"})}function ow(e){return n.jsx(r,{...e,iconKey:"fiber_pin"})}function rw(e){return n.jsx(r,{...e,iconKey:"fiber_smart_record"})}function hc(e){return n.jsx(r,{...e,iconKey:"file_copy"})}function tw(e){return n.jsx(r,{...e,iconKey:"file_download"})}function cw(e){return n.jsx(r,{...e,iconKey:"file_download_done"})}function iw(e){return n.jsx(r,{...e,iconKey:"file_download_off"})}function aw(e){return n.jsx(r,{...e,iconKey:"file_open"})}function lw(e){return n.jsx(r,{...e,iconKey:"file_present"})}function sw(e){return n.jsx(r,{...e,iconKey:"file_upload"})}function dw(e){return n.jsx(r,{...e,iconKey:"filter"})}function uw(e){return n.jsx(r,{...e,iconKey:"filter_1"})}function fw(e){return n.jsx(r,{...e,iconKey:"filter_2"})}function Aw(e){return n.jsx(r,{...e,iconKey:"filter_3"})}function _w(e){return n.jsx(r,{...e,iconKey:"filter_4"})}function yw(e){return n.jsx(r,{...e,iconKey:"filter_5"})}function hw(e){return n.jsx(r,{...e,iconKey:"filter_6"})}function gw(e){return n.jsx(r,{...e,iconKey:"filter_7"})}function Iw(e){return n.jsx(r,{...e,iconKey:"filter_8"})}function bw(e){return n.jsx(r,{...e,iconKey:"filter_9"})}function pw(e){return n.jsx(r,{...e,iconKey:"filter_9_plus"})}function ww(e){return n.jsx(r,{...e,iconKey:"filter_alt"})}function kw(e){return n.jsx(r,{...e,iconKey:"filter_alt_off"})}function mw(e){return n.jsx(r,{...e,iconKey:"filter_b_and_w"})}function vw(e){return n.jsx(r,{...e,iconKey:"filter_center_focus"})}function Kw(e){return n.jsx(r,{...e,iconKey:"filter_drama"})}function Cw(e){return n.jsx(r,{...e,iconKey:"filter_frames"})}function Sw(e){return n.jsx(r,{...e,iconKey:"filter_hdr"})}function Bw(e){return n.jsx(r,{...e,iconKey:"filter_list"})}function gc(e){return n.jsx(r,{...e,iconKey:"filter_list_off"})}function Ew(e){return n.jsx(r,{...e,iconKey:"filter_none"})}function Fw(e){return n.jsx(r,{...e,iconKey:"filter_tilt_shift"})}function Pw(e){return n.jsx(r,{...e,iconKey:"filter_vintage"})}function Dw(e){return n.jsx(r,{...e,iconKey:"find_in_page"})}function Nw(e){return n.jsx(r,{...e,iconKey:"find_replace"})}function Tw(e){return n.jsx(r,{...e,iconKey:"fingerprint"})}function Mw(e){return n.jsx(r,{...e,iconKey:"fire_extinguisher"})}function Ow(e){return n.jsx(r,{...e,iconKey:"fire_hydrant_alt"})}function Lw(e){return n.jsx(r,{...e,iconKey:"fire_truck"})}function Qw(e){return n.jsx(r,{...e,iconKey:"fireplace"})}function Vw(e){return n.jsx(r,{...e,iconKey:"first_page"})}function Ww(e){return n.jsx(r,{...e,iconKey:"fit_screen"})}function Gw(e){return n.jsx(r,{...e,iconKey:"fitbit"})}function zw(e){return n.jsx(r,{...e,iconKey:"fitness_center"})}function Ic(e){return n.jsx(r,{...e,iconKey:"flag"})}function Hw(e){return n.jsx(r,{...e,iconKey:"flag_circle"})}function Uw(e){return n.jsx(r,{...e,iconKey:"flaky"})}function Yw(e){return n.jsx(r,{...e,iconKey:"flare"})}function $w(e){return n.jsx(r,{...e,iconKey:"flash_auto"})}function jw(e){return n.jsx(r,{...e,iconKey:"flash_off"})}function qw(e){return n.jsx(r,{...e,iconKey:"flash_on"})}function Jw(e){return n.jsx(r,{...e,iconKey:"flashlight_off"})}function Zw(e){return n.jsx(r,{...e,iconKey:"flashlight_on"})}function Xw(e){return n.jsx(r,{...e,iconKey:"flatware"})}function xw(e){return n.jsx(r,{...e,iconKey:"flight"})}function Rw(e){return n.jsx(r,{...e,iconKey:"flight_class"})}function ek(e){return n.jsx(r,{...e,iconKey:"flight_land"})}function nk(e){return n.jsx(r,{...e,iconKey:"flight_takeoff"})}function ok(e){return n.jsx(r,{...e,iconKey:"flip"})}function rk(e){return n.jsx(r,{...e,iconKey:"flip_camera_android"})}function tk(e){return n.jsx(r,{...e,iconKey:"flip_camera_ios"})}function ck(e){return n.jsx(r,{...e,iconKey:"flip_to_back"})}function ik(e){return n.jsx(r,{...e,iconKey:"flip_to_front"})}function ak(e){return n.jsx(r,{...e,iconKey:"flood"})}function lk(e){return n.jsx(r,{...e,iconKey:"fluorescent"})}function sk(e){return n.jsx(r,{...e,iconKey:"flutter_dash"})}function dk(e){return n.jsx(r,{...e,iconKey:"fmd_bad"})}function uk(e){return n.jsx(r,{...e,iconKey:"fmd_good"})}function fk(e){return n.jsx(r,{...e,iconKey:"folder"})}function Ak(e){return n.jsx(r,{...e,iconKey:"folder_copy"})}function _k(e){return n.jsx(r,{...e,iconKey:"folder_delete"})}function yk(e){return n.jsx(r,{...e,iconKey:"folder_off"})}function hk(e){return n.jsx(r,{...e,iconKey:"folder_open"})}function gk(e){return n.jsx(r,{...e,iconKey:"folder_shared"})}function Ik(e){return n.jsx(r,{...e,iconKey:"folder_special"})}function bk(e){return n.jsx(r,{...e,iconKey:"folder_zip"})}function pk(e){return n.jsx(r,{...e,iconKey:"follow_the_signs"})}function wk(e){return n.jsx(r,{...e,iconKey:"font_download"})}function kk(e){return n.jsx(r,{...e,iconKey:"font_download_off"})}function mk(e){return n.jsx(r,{...e,iconKey:"food_bank"})}function vk(e){return n.jsx(r,{...e,iconKey:"forest"})}function Kk(e){return n.jsx(r,{...e,iconKey:"fork_left"})}function Ck(e){return n.jsx(r,{...e,iconKey:"fork_right"})}function Sk(e){return n.jsx(r,{...e,iconKey:"format_align_center"})}function Bk(e){return n.jsx(r,{...e,iconKey:"format_align_justify"})}function Ek(e){return n.jsx(r,{...e,iconKey:"format_align_left"})}function Fk(e){return n.jsx(r,{...e,iconKey:"format_align_right"})}function Pk(e){return n.jsx(r,{...e,iconKey:"format_bold"})}function Dk(e){return n.jsx(r,{...e,iconKey:"format_clear"})}function Nk(e){return n.jsx(r,{...e,iconKey:"format_color_fill"})}function Tk(e){return n.jsx(r,{...e,iconKey:"format_color_reset"})}function Mk(e){return n.jsx(r,{...e,iconKey:"format_color_text"})}function Ok(e){return n.jsx(r,{...e,iconKey:"format_indent_decrease"})}function Lk(e){return n.jsx(r,{...e,iconKey:"format_indent_increase"})}function Qk(e){return n.jsx(r,{...e,iconKey:"format_italic"})}function Vk(e){return n.jsx(r,{...e,iconKey:"format_line_spacing"})}function Wk(e){return n.jsx(r,{...e,iconKey:"format_list_bulleted"})}function pr(e){return n.jsx(r,{...e,iconKey:"format_list_numbered"})}function Gk(e){return n.jsx(r,{...e,iconKey:"format_list_numbered_rtl"})}function zk(e){return n.jsx(r,{...e,iconKey:"format_overline"})}function Hk(e){return n.jsx(r,{...e,iconKey:"format_paint"})}function bc(e){return n.jsx(r,{...e,iconKey:"format_quote"})}function Uk(e){return n.jsx(r,{...e,iconKey:"format_shapes"})}function Yk(e){return n.jsx(r,{...e,iconKey:"format_size"})}function $k(e){return n.jsx(r,{...e,iconKey:"format_strikethrough"})}function jk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_l_to_r"})}function qk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_r_to_l"})}function Jk(e){return n.jsx(r,{...e,iconKey:"format_underlined"})}function Zk(e){return n.jsx(r,{...e,iconKey:"fort"})}function Xk(e){return n.jsx(r,{...e,iconKey:"forum"})}function xk(e){return n.jsx(r,{...e,iconKey:"forward"})}function Rk(e){return n.jsx(r,{...e,iconKey:"forward_10"})}function em(e){return n.jsx(r,{...e,iconKey:"forward_30"})}function nm(e){return n.jsx(r,{...e,iconKey:"forward_5"})}function om(e){return n.jsx(r,{...e,iconKey:"forward_to_inbox"})}function rm(e){return n.jsx(r,{...e,iconKey:"foundation"})}function tm(e){return n.jsx(r,{...e,iconKey:"free_breakfast"})}function cm(e){return n.jsx(r,{...e,iconKey:"free_cancellation"})}function im(e){return n.jsx(r,{...e,iconKey:"front_hand"})}function am(e){return n.jsx(r,{...e,iconKey:"fullscreen"})}function lm(e){return n.jsx(r,{...e,iconKey:"fullscreen_exit"})}function pc(e){return n.jsx(r,{...e,iconKey:"functions"})}function sm(e){return n.jsx(r,{...e,iconKey:"g_mobiledata"})}function dm(e){return n.jsx(r,{...e,iconKey:"g_translate"})}function um(e){return n.jsx(r,{...e,iconKey:"gamepad"})}function fm(e){return n.jsx(r,{...e,iconKey:"games"})}function Am(e){return n.jsx(r,{...e,iconKey:"garage"})}function _m(e){return n.jsx(r,{...e,iconKey:"gas_meter"})}function ym(e){return n.jsx(r,{...e,iconKey:"gavel"})}function hm(e){return n.jsx(r,{...e,iconKey:"generating_tokens"})}function gm(e){return n.jsx(r,{...e,iconKey:"gesture"})}function Im(e){return n.jsx(r,{...e,iconKey:"get_app"})}function bm(e){return n.jsx(r,{...e,iconKey:"gif"})}function pm(e){return n.jsx(r,{...e,iconKey:"gif_box"})}function wm(e){return n.jsx(r,{...e,iconKey:"girl"})}function km(e){return n.jsx(r,{...e,iconKey:"gite"})}function mm(e){return n.jsx(r,{...e,iconKey:"golf_course"})}function vm(e){return n.jsx(r,{...e,iconKey:"gpp_bad"})}function Km(e){return n.jsx(r,{...e,iconKey:"gpp_good"})}function Cm(e){return n.jsx(r,{...e,iconKey:"gpp_maybe"})}function Sm(e){return n.jsx(r,{...e,iconKey:"gps_fixed"})}function Bm(e){return n.jsx(r,{...e,iconKey:"gps_not_fixed"})}function Em(e){return n.jsx(r,{...e,iconKey:"gps_off"})}function Fm(e){return n.jsx(r,{...e,iconKey:"grade"})}function Pm(e){return n.jsx(r,{...e,iconKey:"gradient"})}function Dm(e){return n.jsx(r,{...e,iconKey:"grading"})}function Nm(e){return n.jsx(r,{...e,iconKey:"grain"})}function Tm(e){return n.jsx(r,{...e,iconKey:"graphic_eq"})}function Mm(e){return n.jsx(r,{...e,iconKey:"grass"})}function Om(e){return n.jsx(r,{...e,iconKey:"grid_3x3"})}function Lm(e){return n.jsx(r,{...e,iconKey:"grid_4x4"})}function Qm(e){return n.jsx(r,{...e,iconKey:"grid_goldenratio"})}function Vm(e){return n.jsx(r,{...e,iconKey:"grid_off"})}function Wm(e){return n.jsx(r,{...e,iconKey:"grid_on"})}function Gm(e){return n.jsx(r,{...e,iconKey:"grid_view"})}function zm(e){return n.jsx(r,{...e,iconKey:"group"})}function Hm(e){return n.jsx(r,{...e,iconKey:"group_add"})}function Um(e){return n.jsx(r,{...e,iconKey:"group_off"})}function Ym(e){return n.jsx(r,{...e,iconKey:"group_remove"})}function $m(e){return n.jsx(r,{...e,iconKey:"group_work"})}function jm(e){return n.jsx(r,{...e,iconKey:"groups"})}function qm(e){return n.jsx(r,{...e,iconKey:"groups_2"})}function Jm(e){return n.jsx(r,{...e,iconKey:"groups_3"})}function Zm(e){return n.jsx(r,{...e,iconKey:"h_mobiledata"})}function Xm(e){return n.jsx(r,{...e,iconKey:"h_plus_mobiledata"})}function xm(e){return n.jsx(r,{...e,iconKey:"hail"})}function Rm(e){return n.jsx(r,{...e,iconKey:"handshake"})}function ev(e){return n.jsx(r,{...e,iconKey:"handyman"})}function nv(e){return n.jsx(r,{...e,iconKey:"hardware"})}function ov(e){return n.jsx(r,{...e,iconKey:"hd"})}function rv(e){return n.jsx(r,{...e,iconKey:"hdr_auto"})}function tv(e){return n.jsx(r,{...e,iconKey:"hdr_auto_select"})}function cv(e){return n.jsx(r,{...e,iconKey:"hdr_enhanced_select"})}function iv(e){return n.jsx(r,{...e,iconKey:"hdr_off"})}function av(e){return n.jsx(r,{...e,iconKey:"hdr_off_select"})}function lv(e){return n.jsx(r,{...e,iconKey:"hdr_on"})}function sv(e){return n.jsx(r,{...e,iconKey:"hdr_on_select"})}function dv(e){return n.jsx(r,{...e,iconKey:"hdr_plus"})}function uv(e){return n.jsx(r,{...e,iconKey:"hdr_strong"})}function fv(e){return n.jsx(r,{...e,iconKey:"hdr_weak"})}function Av(e){return n.jsx(r,{...e,iconKey:"headphones"})}function _v(e){return n.jsx(r,{...e,iconKey:"headphones_battery"})}function yv(e){return n.jsx(r,{...e,iconKey:"headset"})}function hv(e){return n.jsx(r,{...e,iconKey:"headset_mic"})}function gv(e){return n.jsx(r,{...e,iconKey:"headset_off"})}function Iv(e){return n.jsx(r,{...e,iconKey:"healing"})}function bv(e){return n.jsx(r,{...e,iconKey:"health_and_safety"})}function pv(e){return n.jsx(r,{...e,iconKey:"hearing"})}function wv(e){return n.jsx(r,{...e,iconKey:"hearing_disabled"})}function kv(e){return n.jsx(r,{...e,iconKey:"heart_broken"})}function mv(e){return n.jsx(r,{...e,iconKey:"heat_pump"})}function vv(e){return n.jsx(r,{...e,iconKey:"height"})}function Kv(e){return n.jsx(r,{...e,iconKey:"help"})}function Cv(e){return n.jsx(r,{...e,iconKey:"help_center"})}function Sv(e){return n.jsx(r,{...e,iconKey:"help_outline"})}function Bv(e){return n.jsx(r,{...e,iconKey:"hevc"})}function Ev(e){return n.jsx(r,{...e,iconKey:"hexagon"})}function Fv(e){return n.jsx(r,{...e,iconKey:"hide_image"})}function Pv(e){return n.jsx(r,{...e,iconKey:"hide_source"})}function Dv(e){return n.jsx(r,{...e,iconKey:"high_quality"})}function Nv(e){return n.jsx(r,{...e,iconKey:"highlight"})}function Tv(e){return n.jsx(r,{...e,iconKey:"highlight_alt"})}function Mv(e){return n.jsx(r,{...e,iconKey:"highlight_off"})}function Ov(e){return n.jsx(r,{...e,iconKey:"hiking"})}function Lv(e){return n.jsx(r,{...e,iconKey:"history"})}function Qv(e){return n.jsx(r,{...e,iconKey:"history_edu"})}function Vv(e){return n.jsx(r,{...e,iconKey:"history_toggle_off"})}function Wv(e){return n.jsx(r,{...e,iconKey:"hive"})}function Gv(e){return n.jsx(r,{...e,iconKey:"hls"})}function zv(e){return n.jsx(r,{...e,iconKey:"hls_off"})}function Hv(e){return n.jsx(r,{...e,iconKey:"holiday_village"})}function Uv(e){return n.jsx(r,{...e,iconKey:"home"})}function Yv(e){return n.jsx(r,{...e,iconKey:"home_max"})}function $v(e){return n.jsx(r,{...e,iconKey:"home_mini"})}function jv(e){return n.jsx(r,{...e,iconKey:"home_repair_service"})}function qv(e){return n.jsx(r,{...e,iconKey:"home_work"})}function Jv(e){return n.jsx(r,{...e,iconKey:"horizontal_distribute"})}function Zv(e){return n.jsx(r,{...e,iconKey:"horizontal_rule"})}function Xv(e){return n.jsx(r,{...e,iconKey:"horizontal_split"})}function xv(e){return n.jsx(r,{...e,iconKey:"hot_tub"})}function Rv(e){return n.jsx(r,{...e,iconKey:"hotel"})}function e0(e){return n.jsx(r,{...e,iconKey:"hotel_class"})}function n0(e){return n.jsx(r,{...e,iconKey:"hourglass_bottom"})}function o0(e){return n.jsx(r,{...e,iconKey:"hourglass_disabled"})}function r0(e){return n.jsx(r,{...e,iconKey:"hourglass_empty"})}function t0(e){return n.jsx(r,{...e,iconKey:"hourglass_full"})}function c0(e){return n.jsx(r,{...e,iconKey:"hourglass_top"})}function i0(e){return n.jsx(r,{...e,iconKey:"house"})}function a0(e){return n.jsx(r,{...e,iconKey:"house_siding"})}function l0(e){return n.jsx(r,{...e,iconKey:"houseboat"})}function s0(e){return n.jsx(r,{...e,iconKey:"how_to_reg"})}function d0(e){return n.jsx(r,{...e,iconKey:"how_to_vote"})}function u0(e){return n.jsx(r,{...e,iconKey:"html"})}function wc(e){return n.jsx(r,{...e,iconKey:"http"})}function f0(e){return n.jsx(r,{...e,iconKey:"https"})}function A0(e){return n.jsx(r,{...e,iconKey:"hub"})}function _0(e){return n.jsx(r,{...e,iconKey:"hvac"})}function y0(e){return n.jsx(r,{...e,iconKey:"ice_skating"})}function h0(e){return n.jsx(r,{...e,iconKey:"icecream"})}function g0(e){return n.jsx(r,{...e,iconKey:"image"})}function I0(e){return n.jsx(r,{...e,iconKey:"image_aspect_ratio"})}function b0(e){return n.jsx(r,{...e,iconKey:"image_not_supported"})}function p0(e){return n.jsx(r,{...e,iconKey:"image_search"})}function w0(e){return n.jsx(r,{...e,iconKey:"imagesearch_roller"})}function k0(e){return n.jsx(r,{...e,iconKey:"import_contacts"})}function m0(e){return n.jsx(r,{...e,iconKey:"import_export"})}function v0(e){return n.jsx(r,{...e,iconKey:"important_devices"})}function K0(e){return n.jsx(r,{...e,iconKey:"inbox"})}function C0(e){return n.jsx(r,{...e,iconKey:"incomplete_circle"})}function S0(e){return n.jsx(r,{...e,iconKey:"indeterminate_check_box"})}function kc(e){return n.jsx(r,{...e,iconKey:"info"})}function B0(e){return n.jsx(r,{...e,iconKey:"input"})}function E0(e){return n.jsx(r,{...e,iconKey:"insert_chart"})}function F0(e){return n.jsx(r,{...e,iconKey:"insert_chart_outlined"})}function P0(e){return n.jsx(r,{...e,iconKey:"insert_comment"})}function D0(e){return n.jsx(r,{...e,iconKey:"insert_drive_file"})}function N0(e){return n.jsx(r,{...e,iconKey:"insert_emoticon"})}function T0(e){return n.jsx(r,{...e,iconKey:"insert_invitation"})}function M0(e){return n.jsx(r,{...e,iconKey:"insert_link"})}function O0(e){return n.jsx(r,{...e,iconKey:"insert_page_break"})}function L0(e){return n.jsx(r,{...e,iconKey:"insert_photo"})}function Q0(e){return n.jsx(r,{...e,iconKey:"insights"})}function V0(e){return n.jsx(r,{...e,iconKey:"install_desktop"})}function W0(e){return n.jsx(r,{...e,iconKey:"install_mobile"})}function G0(e){return n.jsx(r,{...e,iconKey:"integration_instructions"})}function z0(e){return n.jsx(r,{...e,iconKey:"interests"})}function H0(e){return n.jsx(r,{...e,iconKey:"interpreter_mode"})}function U0(e){return n.jsx(r,{...e,iconKey:"inventory"})}function Y0(e){return n.jsx(r,{...e,iconKey:"inventory_2"})}function $0(e){return n.jsx(r,{...e,iconKey:"invert_colors"})}function j0(e){return n.jsx(r,{...e,iconKey:"invert_colors_off"})}function q0(e){return n.jsx(r,{...e,iconKey:"ios_share"})}function J0(e){return n.jsx(r,{...e,iconKey:"iron"})}function Z0(e){return n.jsx(r,{...e,iconKey:"iso"})}function X0(e){return n.jsx(r,{...e,iconKey:"javascript"})}function x0(e){return n.jsx(r,{...e,iconKey:"join_full"})}function R0(e){return n.jsx(r,{...e,iconKey:"join_inner"})}function eK(e){return n.jsx(r,{...e,iconKey:"join_left"})}function nK(e){return n.jsx(r,{...e,iconKey:"join_right"})}function oK(e){return n.jsx(r,{...e,iconKey:"kayaking"})}function rK(e){return n.jsx(r,{...e,iconKey:"kebab_dining"})}function tK(e){return n.jsx(r,{...e,iconKey:"key"})}function cK(e){return n.jsx(r,{...e,iconKey:"key_off"})}function iK(e){return n.jsx(r,{...e,iconKey:"keyboard"})}function aK(e){return n.jsx(r,{...e,iconKey:"keyboard_alt"})}function lK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_down"})}function sK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_left"})}function dK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_right"})}function uK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_up"})}function fK(e){return n.jsx(r,{...e,iconKey:"keyboard_backspace"})}function AK(e){return n.jsx(r,{...e,iconKey:"keyboard_capslock"})}function _K(e){return n.jsx(r,{...e,iconKey:"keyboard_command_key"})}function yK(e){return n.jsx(r,{...e,iconKey:"keyboard_control_key"})}function hK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_down"})}function gK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_left"})}function IK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_right"})}function bK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_up"})}function pK(e){return n.jsx(r,{...e,iconKey:"keyboard_hide"})}function wK(e){return n.jsx(r,{...e,iconKey:"keyboard_option_key"})}function kK(e){return n.jsx(r,{...e,iconKey:"keyboard_return"})}function Eo(e){return n.jsx(r,{...e,iconKey:"keyboard_tab"})}function mK(e){return n.jsx(r,{...e,iconKey:"keyboard_voice"})}function vK(e){return n.jsx(r,{...e,iconKey:"king_bed"})}function KK(e){return n.jsx(r,{...e,iconKey:"kitchen"})}function CK(e){return n.jsx(r,{...e,iconKey:"kitesurfing"})}function SK(e){return n.jsx(r,{...e,iconKey:"label"})}function BK(e){return n.jsx(r,{...e,iconKey:"label_important"})}function EK(e){return n.jsx(r,{...e,iconKey:"label_off"})}function FK(e){return n.jsx(r,{...e,iconKey:"lan"})}function PK(e){return n.jsx(r,{...e,iconKey:"landscape"})}function DK(e){return n.jsx(r,{...e,iconKey:"landslide"})}function NK(e){return n.jsx(r,{...e,iconKey:"language"})}function TK(e){return n.jsx(r,{...e,iconKey:"laptop"})}function MK(e){return n.jsx(r,{...e,iconKey:"laptop_chromebook"})}function OK(e){return n.jsx(r,{...e,iconKey:"laptop_mac"})}function LK(e){return n.jsx(r,{...e,iconKey:"laptop_windows"})}function QK(e){return n.jsx(r,{...e,iconKey:"last_page"})}function VK(e){return n.jsx(r,{...e,iconKey:"launch"})}function WK(e){return n.jsx(r,{...e,iconKey:"layers"})}function GK(e){return n.jsx(r,{...e,iconKey:"layers_clear"})}function zK(e){return n.jsx(r,{...e,iconKey:"leaderboard"})}function HK(e){return n.jsx(r,{...e,iconKey:"leak_add"})}function UK(e){return n.jsx(r,{...e,iconKey:"leak_remove"})}function YK(e){return n.jsx(r,{...e,iconKey:"legend_toggle"})}function $K(e){return n.jsx(r,{...e,iconKey:"lens"})}function jK(e){return n.jsx(r,{...e,iconKey:"lens_blur"})}function qK(e){return n.jsx(r,{...e,iconKey:"library_add"})}function JK(e){return n.jsx(r,{...e,iconKey:"library_add_check"})}function ZK(e){return n.jsx(r,{...e,iconKey:"library_books"})}function XK(e){return n.jsx(r,{...e,iconKey:"library_music"})}function xK(e){return n.jsx(r,{...e,iconKey:"light"})}function mc(e){return n.jsx(r,{...e,iconKey:"light_mode"})}function RK(e){return n.jsx(r,{...e,iconKey:"lightbulb"})}function eC(e){return n.jsx(r,{...e,iconKey:"lightbulb_circle"})}function nC(e){return n.jsx(r,{...e,iconKey:"line_axis"})}function oC(e){return n.jsx(r,{...e,iconKey:"line_style"})}function rC(e){return n.jsx(r,{...e,iconKey:"line_weight"})}function tC(e){return n.jsx(r,{...e,iconKey:"linear_scale"})}function vc(e){return n.jsx(r,{...e,iconKey:"link"})}function cC(e){return n.jsx(r,{...e,iconKey:"link_off"})}function iC(e){return n.jsx(r,{...e,iconKey:"linked_camera"})}function aC(e){return n.jsx(r,{...e,iconKey:"liquor"})}function Kc(e){return n.jsx(r,{...e,iconKey:"list"})}function Cc(e){return n.jsx(r,{...e,iconKey:"list_alt"})}function lC(e){return n.jsx(r,{...e,iconKey:"live_help"})}function sC(e){return n.jsx(r,{...e,iconKey:"live_tv"})}function dC(e){return n.jsx(r,{...e,iconKey:"living"})}function uC(e){return n.jsx(r,{...e,iconKey:"local_activity"})}function fC(e){return n.jsx(r,{...e,iconKey:"local_airport"})}function AC(e){return n.jsx(r,{...e,iconKey:"local_atm"})}function _C(e){return n.jsx(r,{...e,iconKey:"local_bar"})}function yC(e){return n.jsx(r,{...e,iconKey:"local_cafe"})}function hC(e){return n.jsx(r,{...e,iconKey:"local_car_wash"})}function gC(e){return n.jsx(r,{...e,iconKey:"local_convenience_store"})}function IC(e){return n.jsx(r,{...e,iconKey:"local_dining"})}function bC(e){return n.jsx(r,{...e,iconKey:"local_drink"})}function pC(e){return n.jsx(r,{...e,iconKey:"local_fire_department"})}function wC(e){return n.jsx(r,{...e,iconKey:"local_florist"})}function kC(e){return n.jsx(r,{...e,iconKey:"local_gas_station"})}function mC(e){return n.jsx(r,{...e,iconKey:"local_grocery_store"})}function vC(e){return n.jsx(r,{...e,iconKey:"local_hospital"})}function KC(e){return n.jsx(r,{...e,iconKey:"local_hotel"})}function CC(e){return n.jsx(r,{...e,iconKey:"local_laundry_service"})}function SC(e){return n.jsx(r,{...e,iconKey:"local_library"})}function BC(e){return n.jsx(r,{...e,iconKey:"local_mall"})}function EC(e){return n.jsx(r,{...e,iconKey:"local_movies"})}function FC(e){return n.jsx(r,{...e,iconKey:"local_offer"})}function PC(e){return n.jsx(r,{...e,iconKey:"local_parking"})}function DC(e){return n.jsx(r,{...e,iconKey:"local_pharmacy"})}function NC(e){return n.jsx(r,{...e,iconKey:"local_phone"})}function TC(e){return n.jsx(r,{...e,iconKey:"local_pizza"})}function MC(e){return n.jsx(r,{...e,iconKey:"local_play"})}function OC(e){return n.jsx(r,{...e,iconKey:"local_police"})}function LC(e){return n.jsx(r,{...e,iconKey:"local_post_office"})}function QC(e){return n.jsx(r,{...e,iconKey:"local_printshop"})}function VC(e){return n.jsx(r,{...e,iconKey:"local_see"})}function WC(e){return n.jsx(r,{...e,iconKey:"local_shipping"})}function GC(e){return n.jsx(r,{...e,iconKey:"local_taxi"})}function zC(e){return n.jsx(r,{...e,iconKey:"location_city"})}function HC(e){return n.jsx(r,{...e,iconKey:"location_disabled"})}function UC(e){return n.jsx(r,{...e,iconKey:"location_off"})}function YC(e){return n.jsx(r,{...e,iconKey:"location_on"})}function $C(e){return n.jsx(r,{...e,iconKey:"location_searching"})}function jC(e){return n.jsx(r,{...e,iconKey:"lock"})}function qC(e){return n.jsx(r,{...e,iconKey:"lock_clock"})}function JC(e){return n.jsx(r,{...e,iconKey:"lock_open"})}function ZC(e){return n.jsx(r,{...e,iconKey:"lock_person"})}function XC(e){return n.jsx(r,{...e,iconKey:"lock_reset"})}function xC(e){return n.jsx(r,{...e,iconKey:"login"})}function RC(e){return n.jsx(r,{...e,iconKey:"logo_dev"})}function Sc(e){return n.jsx(r,{...e,iconKey:"logout"})}function eS(e){return n.jsx(r,{...e,iconKey:"looks"})}function nS(e){return n.jsx(r,{...e,iconKey:"looks_3"})}function oS(e){return n.jsx(r,{...e,iconKey:"looks_4"})}function rS(e){return n.jsx(r,{...e,iconKey:"looks_5"})}function tS(e){return n.jsx(r,{...e,iconKey:"looks_6"})}function cS(e){return n.jsx(r,{...e,iconKey:"looks_one"})}function iS(e){return n.jsx(r,{...e,iconKey:"looks_two"})}function aS(e){return n.jsx(r,{...e,iconKey:"loop"})}function lS(e){return n.jsx(r,{...e,iconKey:"loupe"})}function sS(e){return n.jsx(r,{...e,iconKey:"low_priority"})}function dS(e){return n.jsx(r,{...e,iconKey:"loyalty"})}function uS(e){return n.jsx(r,{...e,iconKey:"lte_mobiledata"})}function fS(e){return n.jsx(r,{...e,iconKey:"lte_plus_mobiledata"})}function AS(e){return n.jsx(r,{...e,iconKey:"luggage"})}function _S(e){return n.jsx(r,{...e,iconKey:"lunch_dining"})}function yS(e){return n.jsx(r,{...e,iconKey:"lyrics"})}function hS(e){return n.jsx(r,{...e,iconKey:"macro_off"})}function gS(e){return n.jsx(r,{...e,iconKey:"mail"})}function IS(e){return n.jsx(r,{...e,iconKey:"mail_lock"})}function bS(e){return n.jsx(r,{...e,iconKey:"mail_outline"})}function pS(e){return n.jsx(r,{...e,iconKey:"male"})}function wS(e){return n.jsx(r,{...e,iconKey:"man"})}function kS(e){return n.jsx(r,{...e,iconKey:"man_2"})}function mS(e){return n.jsx(r,{...e,iconKey:"man_3"})}function vS(e){return n.jsx(r,{...e,iconKey:"man_4"})}function KS(e){return n.jsx(r,{...e,iconKey:"manage_accounts"})}function CS(e){return n.jsx(r,{...e,iconKey:"manage_history"})}function SS(e){return n.jsx(r,{...e,iconKey:"manage_search"})}function BS(e){return n.jsx(r,{...e,iconKey:"map"})}function ES(e){return n.jsx(r,{...e,iconKey:"maps_home_work"})}function FS(e){return n.jsx(r,{...e,iconKey:"maps_ugc"})}function PS(e){return n.jsx(r,{...e,iconKey:"margin"})}function DS(e){return n.jsx(r,{...e,iconKey:"mark_as_unread"})}function NS(e){return n.jsx(r,{...e,iconKey:"mark_chat_read"})}function TS(e){return n.jsx(r,{...e,iconKey:"mark_chat_unread"})}function MS(e){return n.jsx(r,{...e,iconKey:"mark_email_read"})}function OS(e){return n.jsx(r,{...e,iconKey:"mark_email_unread"})}function LS(e){return n.jsx(r,{...e,iconKey:"mark_unread_chat_alt"})}function QS(e){return n.jsx(r,{...e,iconKey:"markunread"})}function VS(e){return n.jsx(r,{...e,iconKey:"markunread_mailbox"})}function WS(e){return n.jsx(r,{...e,iconKey:"masks"})}function GS(e){return n.jsx(r,{...e,iconKey:"maximize"})}function zS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_off"})}function HS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_on"})}function US(e){return n.jsx(r,{...e,iconKey:"mediation"})}function YS(e){return n.jsx(r,{...e,iconKey:"medical_information"})}function $S(e){return n.jsx(r,{...e,iconKey:"medical_services"})}function jS(e){return n.jsx(r,{...e,iconKey:"medication"})}function qS(e){return n.jsx(r,{...e,iconKey:"medication_liquid"})}function JS(e){return n.jsx(r,{...e,iconKey:"meeting_room"})}function ZS(e){return n.jsx(r,{...e,iconKey:"memory"})}function wr(e){return n.jsx(r,{...e,iconKey:"menu"})}function XS(e){return n.jsx(r,{...e,iconKey:"menu_book"})}function xS(e){return n.jsx(r,{...e,iconKey:"menu_open"})}function RS(e){return n.jsx(r,{...e,iconKey:"merge"})}function eB(e){return n.jsx(r,{...e,iconKey:"merge_type"})}function nB(e){return n.jsx(r,{...e,iconKey:"message"})}function oB(e){return n.jsx(r,{...e,iconKey:"mic"})}function rB(e){return n.jsx(r,{...e,iconKey:"mic_external_off"})}function tB(e){return n.jsx(r,{...e,iconKey:"mic_external_on"})}function cB(e){return n.jsx(r,{...e,iconKey:"mic_none"})}function iB(e){return n.jsx(r,{...e,iconKey:"mic_off"})}function aB(e){return n.jsx(r,{...e,iconKey:"microwave"})}function lB(e){return n.jsx(r,{...e,iconKey:"military_tech"})}function sB(e){return n.jsx(r,{...e,iconKey:"minimize"})}function dB(e){return n.jsx(r,{...e,iconKey:"minor_crash"})}function uB(e){return n.jsx(r,{...e,iconKey:"miscellaneous_services"})}function fB(e){return n.jsx(r,{...e,iconKey:"missed_video_call"})}function AB(e){return n.jsx(r,{...e,iconKey:"mms"})}function _B(e){return n.jsx(r,{...e,iconKey:"mobile_friendly"})}function yB(e){return n.jsx(r,{...e,iconKey:"mobile_off"})}function hB(e){return n.jsx(r,{...e,iconKey:"mobile_screen_share"})}function gB(e){return n.jsx(r,{...e,iconKey:"mobiledata_off"})}function IB(e){return n.jsx(r,{...e,iconKey:"mode"})}function bB(e){return n.jsx(r,{...e,iconKey:"mode_comment"})}function pB(e){return n.jsx(r,{...e,iconKey:"mode_edit"})}function wB(e){return n.jsx(r,{...e,iconKey:"mode_edit_outline"})}function kB(e){return n.jsx(r,{...e,iconKey:"mode_fan_off"})}function mB(e){return n.jsx(r,{...e,iconKey:"mode_night"})}function vB(e){return n.jsx(r,{...e,iconKey:"mode_of_travel"})}function KB(e){return n.jsx(r,{...e,iconKey:"mode_standby"})}function CB(e){return n.jsx(r,{...e,iconKey:"model_training"})}function SB(e){return n.jsx(r,{...e,iconKey:"monetization_on"})}function BB(e){return n.jsx(r,{...e,iconKey:"money"})}function EB(e){return n.jsx(r,{...e,iconKey:"money_off"})}function FB(e){return n.jsx(r,{...e,iconKey:"money_off_csred"})}function PB(e){return n.jsx(r,{...e,iconKey:"monitor"})}function DB(e){return n.jsx(r,{...e,iconKey:"monitor_heart"})}function NB(e){return n.jsx(r,{...e,iconKey:"monitor_weight"})}function TB(e){return n.jsx(r,{...e,iconKey:"monochrome_photos"})}function MB(e){return n.jsx(r,{...e,iconKey:"mood"})}function OB(e){return n.jsx(r,{...e,iconKey:"mood_bad"})}function LB(e){return n.jsx(r,{...e,iconKey:"moped"})}function QB(e){return n.jsx(r,{...e,iconKey:"more"})}function VB(e){return n.jsx(r,{...e,iconKey:"more_horiz"})}function WB(e){return n.jsx(r,{...e,iconKey:"more_time"})}function kr(e){return n.jsx(r,{...e,iconKey:"more_vert"})}function GB(e){return n.jsx(r,{...e,iconKey:"mosque"})}function zB(e){return n.jsx(r,{...e,iconKey:"motion_photos_auto"})}function HB(e){return n.jsx(r,{...e,iconKey:"motion_photos_off"})}function UB(e){return n.jsx(r,{...e,iconKey:"motion_photos_on"})}function YB(e){return n.jsx(r,{...e,iconKey:"motion_photos_pause"})}function $B(e){return n.jsx(r,{...e,iconKey:"motion_photos_paused"})}function jB(e){return n.jsx(r,{...e,iconKey:"mouse"})}function qB(e){return n.jsx(r,{...e,iconKey:"move_down"})}function JB(e){return n.jsx(r,{...e,iconKey:"move_to_inbox"})}function ZB(e){return n.jsx(r,{...e,iconKey:"move_up"})}function XB(e){return n.jsx(r,{...e,iconKey:"movie"})}function xB(e){return n.jsx(r,{...e,iconKey:"movie_creation"})}function RB(e){return n.jsx(r,{...e,iconKey:"movie_filter"})}function eE(e){return n.jsx(r,{...e,iconKey:"moving"})}function nE(e){return n.jsx(r,{...e,iconKey:"mp"})}function oE(e){return n.jsx(r,{...e,iconKey:"multiline_chart"})}function rE(e){return n.jsx(r,{...e,iconKey:"multiple_stop"})}function tE(e){return n.jsx(r,{...e,iconKey:"museum"})}function cE(e){return n.jsx(r,{...e,iconKey:"music_note"})}function iE(e){return n.jsx(r,{...e,iconKey:"music_off"})}function aE(e){return n.jsx(r,{...e,iconKey:"music_video"})}function lE(e){return n.jsx(r,{...e,iconKey:"my_location"})}function sE(e){return n.jsx(r,{...e,iconKey:"nat"})}function dE(e){return n.jsx(r,{...e,iconKey:"nature"})}function uE(e){return n.jsx(r,{...e,iconKey:"nature_people"})}function fE(e){return n.jsx(r,{...e,iconKey:"navigate_before"})}function AE(e){return n.jsx(r,{...e,iconKey:"navigate_next"})}function _E(e){return n.jsx(r,{...e,iconKey:"navigation"})}function yE(e){return n.jsx(r,{...e,iconKey:"near_me"})}function hE(e){return n.jsx(r,{...e,iconKey:"near_me_disabled"})}function gE(e){return n.jsx(r,{...e,iconKey:"nearby_error"})}function IE(e){return n.jsx(r,{...e,iconKey:"nearby_off"})}function bE(e){return n.jsx(r,{...e,iconKey:"nest_cam_wired_stand"})}function pE(e){return n.jsx(r,{...e,iconKey:"network_cell"})}function wE(e){return n.jsx(r,{...e,iconKey:"network_check"})}function kE(e){return n.jsx(r,{...e,iconKey:"network_locked"})}function mE(e){return n.jsx(r,{...e,iconKey:"network_ping"})}function vE(e){return n.jsx(r,{...e,iconKey:"network_wifi"})}function KE(e){return n.jsx(r,{...e,iconKey:"network_wifi_1_bar"})}function CE(e){return n.jsx(r,{...e,iconKey:"network_wifi_2_bar"})}function SE(e){return n.jsx(r,{...e,iconKey:"network_wifi_3_bar"})}function BE(e){return n.jsx(r,{...e,iconKey:"new_label"})}function EE(e){return n.jsx(r,{...e,iconKey:"new_releases"})}function FE(e){return n.jsx(r,{...e,iconKey:"newspaper"})}function PE(e){return n.jsx(r,{...e,iconKey:"next_plan"})}function DE(e){return n.jsx(r,{...e,iconKey:"next_week"})}function NE(e){return n.jsx(r,{...e,iconKey:"nfc"})}function TE(e){return n.jsx(r,{...e,iconKey:"night_shelter"})}function ME(e){return n.jsx(r,{...e,iconKey:"nightlife"})}function OE(e){return n.jsx(r,{...e,iconKey:"nightlight"})}function LE(e){return n.jsx(r,{...e,iconKey:"nightlight_round"})}function QE(e){return n.jsx(r,{...e,iconKey:"nights_stay"})}function VE(e){return n.jsx(r,{...e,iconKey:"no_accounts"})}function WE(e){return n.jsx(r,{...e,iconKey:"no_adult_content"})}function GE(e){return n.jsx(r,{...e,iconKey:"no_backpack"})}function zE(e){return n.jsx(r,{...e,iconKey:"no_cell"})}function HE(e){return n.jsx(r,{...e,iconKey:"no_crash"})}function UE(e){return n.jsx(r,{...e,iconKey:"no_drinks"})}function YE(e){return n.jsx(r,{...e,iconKey:"no_encryption"})}function $E(e){return n.jsx(r,{...e,iconKey:"no_encryption_gmailerrorred"})}function jE(e){return n.jsx(r,{...e,iconKey:"no_flash"})}function qE(e){return n.jsx(r,{...e,iconKey:"no_food"})}function JE(e){return n.jsx(r,{...e,iconKey:"no_luggage"})}function ZE(e){return n.jsx(r,{...e,iconKey:"no_meals"})}function XE(e){return n.jsx(r,{...e,iconKey:"no_meeting_room"})}function xE(e){return n.jsx(r,{...e,iconKey:"no_photography"})}function RE(e){return n.jsx(r,{...e,iconKey:"no_sim"})}function eF(e){return n.jsx(r,{...e,iconKey:"no_stroller"})}function nF(e){return n.jsx(r,{...e,iconKey:"no_transfer"})}function oF(e){return n.jsx(r,{...e,iconKey:"noise_aware"})}function rF(e){return n.jsx(r,{...e,iconKey:"noise_control_off"})}function tF(e){return n.jsx(r,{...e,iconKey:"nordic_walking"})}function cF(e){return n.jsx(r,{...e,iconKey:"north"})}function iF(e){return n.jsx(r,{...e,iconKey:"north_east"})}function aF(e){return n.jsx(r,{...e,iconKey:"north_west"})}function lF(e){return n.jsx(r,{...e,iconKey:"not_accessible"})}function sF(e){return n.jsx(r,{...e,iconKey:"not_interested"})}function dF(e){return n.jsx(r,{...e,iconKey:"not_listed_location"})}function uF(e){return n.jsx(r,{...e,iconKey:"not_started"})}function fF(e){return n.jsx(r,{...e,iconKey:"note"})}function AF(e){return n.jsx(r,{...e,iconKey:"note_add"})}function _F(e){return n.jsx(r,{...e,iconKey:"note_alt"})}function yF(e){return n.jsx(r,{...e,iconKey:"notes"})}function hF(e){return n.jsx(r,{...e,iconKey:"notification_add"})}function gF(e){return n.jsx(r,{...e,iconKey:"notification_important"})}function IF(e){return n.jsx(r,{...e,iconKey:"notifications"})}function bF(e){return n.jsx(r,{...e,iconKey:"notifications_active"})}function pF(e){return n.jsx(r,{...e,iconKey:"notifications_none"})}function wF(e){return n.jsx(r,{...e,iconKey:"notifications_off"})}function kF(e){return n.jsx(r,{...e,iconKey:"notifications_paused"})}function Bc(e){return n.jsx(r,{...e,iconKey:"numbers"})}function mF(e){return n.jsx(r,{...e,iconKey:"offline_bolt"})}function vF(e){return n.jsx(r,{...e,iconKey:"offline_pin"})}function KF(e){return n.jsx(r,{...e,iconKey:"offline_share"})}function CF(e){return n.jsx(r,{...e,iconKey:"oil_barrel"})}function SF(e){return n.jsx(r,{...e,iconKey:"on_device_training"})}function BF(e){return n.jsx(r,{...e,iconKey:"ondemand_video"})}function EF(e){return n.jsx(r,{...e,iconKey:"online_prediction"})}function FF(e){return n.jsx(r,{...e,iconKey:"opacity"})}function PF(e){return n.jsx(r,{...e,iconKey:"open_in_browser"})}function DF(e){return n.jsx(r,{...e,iconKey:"open_in_full"})}function ro(e){return n.jsx(r,{...e,iconKey:"open_in_new"})}function NF(e){return n.jsx(r,{...e,iconKey:"open_in_new_off"})}function TF(e){return n.jsx(r,{...e,iconKey:"open_with"})}function MF(e){return n.jsx(r,{...e,iconKey:"other_houses"})}function OF(e){return n.jsx(r,{...e,iconKey:"outbound"})}function LF(e){return n.jsx(r,{...e,iconKey:"outbox"})}function QF(e){return n.jsx(r,{...e,iconKey:"outdoor_grill"})}function VF(e){return n.jsx(r,{...e,iconKey:"outlet"})}function WF(e){return n.jsx(r,{...e,iconKey:"outlined_flag"})}function GF(e){return n.jsx(r,{...e,iconKey:"output"})}function zF(e){return n.jsx(r,{...e,iconKey:"padding"})}function HF(e){return n.jsx(r,{...e,iconKey:"pages"})}function UF(e){return n.jsx(r,{...e,iconKey:"pageview"})}function YF(e){return n.jsx(r,{...e,iconKey:"paid"})}function $F(e){return n.jsx(r,{...e,iconKey:"palette"})}function jF(e){return n.jsx(r,{...e,iconKey:"pan_tool"})}function qF(e){return n.jsx(r,{...e,iconKey:"pan_tool_alt"})}function JF(e){return n.jsx(r,{...e,iconKey:"panorama"})}function ZF(e){return n.jsx(r,{...e,iconKey:"panorama_fish_eye"})}function XF(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal"})}function xF(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal_select"})}function RF(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere"})}function eP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere_select"})}function nP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical"})}function oP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical_select"})}function rP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle"})}function tP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle_select"})}function cP(e){return n.jsx(r,{...e,iconKey:"paragliding"})}function iP(e){return n.jsx(r,{...e,iconKey:"park"})}function aP(e){return n.jsx(r,{...e,iconKey:"party_mode"})}function lP(e){return n.jsx(r,{...e,iconKey:"password"})}function sP(e){return n.jsx(r,{...e,iconKey:"pattern"})}function dP(e){return n.jsx(r,{...e,iconKey:"pause"})}function uP(e){return n.jsx(r,{...e,iconKey:"pause_circle"})}function fP(e){return n.jsx(r,{...e,iconKey:"pause_circle_filled"})}function AP(e){return n.jsx(r,{...e,iconKey:"pause_circle_outline"})}function _P(e){return n.jsx(r,{...e,iconKey:"pause_presentation"})}function yP(e){return n.jsx(r,{...e,iconKey:"payment"})}function hP(e){return n.jsx(r,{...e,iconKey:"payments"})}function gP(e){return n.jsx(r,{...e,iconKey:"pedal_bike"})}function IP(e){return n.jsx(r,{...e,iconKey:"pending"})}function bP(e){return n.jsx(r,{...e,iconKey:"pending_actions"})}function pP(e){return n.jsx(r,{...e,iconKey:"pentagon"})}function wP(e){return n.jsx(r,{...e,iconKey:"people"})}function kP(e){return n.jsx(r,{...e,iconKey:"people_alt"})}function mP(e){return n.jsx(r,{...e,iconKey:"people_outline"})}function vP(e){return n.jsx(r,{...e,iconKey:"percent"})}function KP(e){return n.jsx(r,{...e,iconKey:"perm_camera_mic"})}function CP(e){return n.jsx(r,{...e,iconKey:"perm_contact_calendar"})}function SP(e){return n.jsx(r,{...e,iconKey:"perm_data_setting"})}function BP(e){return n.jsx(r,{...e,iconKey:"perm_device_information"})}function EP(e){return n.jsx(r,{...e,iconKey:"perm_identity"})}function FP(e){return n.jsx(r,{...e,iconKey:"perm_media"})}function PP(e){return n.jsx(r,{...e,iconKey:"perm_phone_msg"})}function DP(e){return n.jsx(r,{...e,iconKey:"perm_scan_wifi"})}function NP(e){return n.jsx(r,{...e,iconKey:"person"})}function TP(e){return n.jsx(r,{...e,iconKey:"person_2"})}function MP(e){return n.jsx(r,{...e,iconKey:"person_3"})}function OP(e){return n.jsx(r,{...e,iconKey:"person_4"})}function LP(e){return n.jsx(r,{...e,iconKey:"person_add"})}function QP(e){return n.jsx(r,{...e,iconKey:"person_add_alt"})}function VP(e){return n.jsx(r,{...e,iconKey:"person_add_alt_1"})}function WP(e){return n.jsx(r,{...e,iconKey:"person_add_disabled"})}function GP(e){return n.jsx(r,{...e,iconKey:"person_off"})}function zP(e){return n.jsx(r,{...e,iconKey:"person_outline"})}function HP(e){return n.jsx(r,{...e,iconKey:"person_pin"})}function UP(e){return n.jsx(r,{...e,iconKey:"person_pin_circle"})}function YP(e){return n.jsx(r,{...e,iconKey:"person_remove"})}function $P(e){return n.jsx(r,{...e,iconKey:"person_remove_alt_1"})}function jP(e){return n.jsx(r,{...e,iconKey:"person_search"})}function qP(e){return n.jsx(r,{...e,iconKey:"personal_injury"})}function JP(e){return n.jsx(r,{...e,iconKey:"personal_video"})}function ZP(e){return n.jsx(r,{...e,iconKey:"pest_control"})}function XP(e){return n.jsx(r,{...e,iconKey:"pest_control_rodent"})}function xP(e){return n.jsx(r,{...e,iconKey:"pets"})}function RP(e){return n.jsx(r,{...e,iconKey:"phishing"})}function e1(e){return n.jsx(r,{...e,iconKey:"phone"})}function n1(e){return n.jsx(r,{...e,iconKey:"phone_android"})}function o1(e){return n.jsx(r,{...e,iconKey:"phone_bluetooth_speaker"})}function r1(e){return n.jsx(r,{...e,iconKey:"phone_callback"})}function t1(e){return n.jsx(r,{...e,iconKey:"phone_disabled"})}function c1(e){return n.jsx(r,{...e,iconKey:"phone_enabled"})}function i1(e){return n.jsx(r,{...e,iconKey:"phone_forwarded"})}function a1(e){return n.jsx(r,{...e,iconKey:"phone_iphone"})}function l1(e){return n.jsx(r,{...e,iconKey:"phone_locked"})}function s1(e){return n.jsx(r,{...e,iconKey:"phone_missed"})}function d1(e){return n.jsx(r,{...e,iconKey:"phone_paused"})}function u1(e){return n.jsx(r,{...e,iconKey:"phonelink"})}function f1(e){return n.jsx(r,{...e,iconKey:"phonelink_erase"})}function A1(e){return n.jsx(r,{...e,iconKey:"phonelink_lock"})}function _1(e){return n.jsx(r,{...e,iconKey:"phonelink_off"})}function y1(e){return n.jsx(r,{...e,iconKey:"phonelink_ring"})}function h1(e){return n.jsx(r,{...e,iconKey:"phonelink_setup"})}function g1(e){return n.jsx(r,{...e,iconKey:"photo"})}function I1(e){return n.jsx(r,{...e,iconKey:"photo_album"})}function b1(e){return n.jsx(r,{...e,iconKey:"photo_camera"})}function p1(e){return n.jsx(r,{...e,iconKey:"photo_camera_back"})}function w1(e){return n.jsx(r,{...e,iconKey:"photo_camera_front"})}function k1(e){return n.jsx(r,{...e,iconKey:"photo_filter"})}function m1(e){return n.jsx(r,{...e,iconKey:"photo_library"})}function v1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_actual"})}function K1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_large"})}function C1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_small"})}function S1(e){return n.jsx(r,{...e,iconKey:"php"})}function B1(e){return n.jsx(r,{...e,iconKey:"piano"})}function E1(e){return n.jsx(r,{...e,iconKey:"piano_off"})}function F1(e){return n.jsx(r,{...e,iconKey:"picture_as_pdf"})}function P1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture"})}function D1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture_alt"})}function N1(e){return n.jsx(r,{...e,iconKey:"pie_chart"})}function T1(e){return n.jsx(r,{...e,iconKey:"pie_chart_outline"})}function M1(e){return n.jsx(r,{...e,iconKey:"pin"})}function O1(e){return n.jsx(r,{...e,iconKey:"pin_drop"})}function L1(e){return n.jsx(r,{...e,iconKey:"pin_end"})}function Q1(e){return n.jsx(r,{...e,iconKey:"pin_invoke"})}function V1(e){return n.jsx(r,{...e,iconKey:"pinch"})}function W1(e){return n.jsx(r,{...e,iconKey:"pivot_table_chart"})}function G1(e){return n.jsx(r,{...e,iconKey:"pix"})}function z1(e){return n.jsx(r,{...e,iconKey:"place"})}function H1(e){return n.jsx(r,{...e,iconKey:"plagiarism"})}function U1(e){return n.jsx(r,{...e,iconKey:"play_arrow"})}function Y1(e){return n.jsx(r,{...e,iconKey:"play_circle"})}function $1(e){return n.jsx(r,{...e,iconKey:"play_circle_filled"})}function j1(e){return n.jsx(r,{...e,iconKey:"play_circle_outline"})}function q1(e){return n.jsx(r,{...e,iconKey:"play_disabled"})}function J1(e){return n.jsx(r,{...e,iconKey:"play_for_work"})}function Z1(e){return n.jsx(r,{...e,iconKey:"play_lesson"})}function X1(e){return n.jsx(r,{...e,iconKey:"playlist_add"})}function x1(e){return n.jsx(r,{...e,iconKey:"playlist_add_check"})}function R1(e){return n.jsx(r,{...e,iconKey:"playlist_add_check_circle"})}function eD(e){return n.jsx(r,{...e,iconKey:"playlist_add_circle"})}function nD(e){return n.jsx(r,{...e,iconKey:"playlist_play"})}function oD(e){return n.jsx(r,{...e,iconKey:"playlist_remove"})}function rD(e){return n.jsx(r,{...e,iconKey:"plumbing"})}function tD(e){return n.jsx(r,{...e,iconKey:"plus_one"})}function cD(e){return n.jsx(r,{...e,iconKey:"podcasts"})}function iD(e){return n.jsx(r,{...e,iconKey:"point_of_sale"})}function aD(e){return n.jsx(r,{...e,iconKey:"policy"})}function lD(e){return n.jsx(r,{...e,iconKey:"poll"})}function sD(e){return n.jsx(r,{...e,iconKey:"polyline"})}function dD(e){return n.jsx(r,{...e,iconKey:"polymer"})}function uD(e){return n.jsx(r,{...e,iconKey:"pool"})}function fD(e){return n.jsx(r,{...e,iconKey:"portable_wifi_off"})}function AD(e){return n.jsx(r,{...e,iconKey:"portrait"})}function _D(e){return n.jsx(r,{...e,iconKey:"post_add"})}function yD(e){return n.jsx(r,{...e,iconKey:"power"})}function hD(e){return n.jsx(r,{...e,iconKey:"power_input"})}function gD(e){return n.jsx(r,{...e,iconKey:"power_off"})}function ID(e){return n.jsx(r,{...e,iconKey:"power_settings_new"})}function bD(e){return n.jsx(r,{...e,iconKey:"precision_manufacturing"})}function pD(e){return n.jsx(r,{...e,iconKey:"pregnant_woman"})}function wD(e){return n.jsx(r,{...e,iconKey:"present_to_all"})}function kD(e){return n.jsx(r,{...e,iconKey:"preview"})}function mD(e){return n.jsx(r,{...e,iconKey:"price_change"})}function vD(e){return n.jsx(r,{...e,iconKey:"price_check"})}function KD(e){return n.jsx(r,{...e,iconKey:"print"})}function CD(e){return n.jsx(r,{...e,iconKey:"print_disabled"})}function SD(e){return n.jsx(r,{...e,iconKey:"priority_high"})}function BD(e){return n.jsx(r,{...e,iconKey:"privacy_tip"})}function ED(e){return n.jsx(r,{...e,iconKey:"private_connectivity"})}function FD(e){return n.jsx(r,{...e,iconKey:"production_quantity_limits"})}function PD(e){return n.jsx(r,{...e,iconKey:"propane"})}function DD(e){return n.jsx(r,{...e,iconKey:"propane_tank"})}function ND(e){return n.jsx(r,{...e,iconKey:"psychology"})}function TD(e){return n.jsx(r,{...e,iconKey:"psychology_alt"})}function MD(e){return n.jsx(r,{...e,iconKey:"public"})}function OD(e){return n.jsx(r,{...e,iconKey:"public_off"})}function LD(e){return n.jsx(r,{...e,iconKey:"publish"})}function QD(e){return n.jsx(r,{...e,iconKey:"published_with_changes"})}function VD(e){return n.jsx(r,{...e,iconKey:"punch_clock"})}function WD(e){return n.jsx(r,{...e,iconKey:"push_pin"})}function GD(e){return n.jsx(r,{...e,iconKey:"qr_code"})}function zD(e){return n.jsx(r,{...e,iconKey:"qr_code_2"})}function HD(e){return n.jsx(r,{...e,iconKey:"qr_code_scanner"})}function UD(e){return n.jsx(r,{...e,iconKey:"query_builder"})}function YD(e){return n.jsx(r,{...e,iconKey:"query_stats"})}function $D(e){return n.jsx(r,{...e,iconKey:"question_answer"})}function jD(e){return n.jsx(r,{...e,iconKey:"question_mark"})}function qD(e){return n.jsx(r,{...e,iconKey:"queue"})}function JD(e){return n.jsx(r,{...e,iconKey:"queue_music"})}function ZD(e){return n.jsx(r,{...e,iconKey:"queue_play_next"})}function XD(e){return n.jsx(r,{...e,iconKey:"quickreply"})}function xD(e){return n.jsx(r,{...e,iconKey:"quiz"})}function RD(e){return n.jsx(r,{...e,iconKey:"r_mobiledata"})}function eN(e){return n.jsx(r,{...e,iconKey:"radar"})}function nN(e){return n.jsx(r,{...e,iconKey:"radio"})}function oN(e){return n.jsx(r,{...e,iconKey:"radio_button_checked"})}function rN(e){return n.jsx(r,{...e,iconKey:"radio_button_unchecked"})}function tN(e){return n.jsx(r,{...e,iconKey:"railway_alert"})}function cN(e){return n.jsx(r,{...e,iconKey:"ramen_dining"})}function iN(e){return n.jsx(r,{...e,iconKey:"ramp_left"})}function aN(e){return n.jsx(r,{...e,iconKey:"ramp_right"})}function lN(e){return n.jsx(r,{...e,iconKey:"rate_review"})}function sN(e){return n.jsx(r,{...e,iconKey:"raw_off"})}function dN(e){return n.jsx(r,{...e,iconKey:"raw_on"})}function uN(e){return n.jsx(r,{...e,iconKey:"read_more"})}function fN(e){return n.jsx(r,{...e,iconKey:"real_estate_agent"})}function AN(e){return n.jsx(r,{...e,iconKey:"receipt"})}function _N(e){return n.jsx(r,{...e,iconKey:"receipt_long"})}function yN(e){return n.jsx(r,{...e,iconKey:"recent_actors"})}function hN(e){return n.jsx(r,{...e,iconKey:"recommend"})}function gN(e){return n.jsx(r,{...e,iconKey:"record_voice_over"})}function IN(e){return n.jsx(r,{...e,iconKey:"rectangle"})}function bN(e){return n.jsx(r,{...e,iconKey:"recycling"})}function pN(e){return n.jsx(r,{...e,iconKey:"redeem"})}function wN(e){return n.jsx(r,{...e,iconKey:"redo"})}function kN(e){return n.jsx(r,{...e,iconKey:"reduce_capacity"})}function mN(e){return n.jsx(r,{...e,iconKey:"refresh"})}function vN(e){return n.jsx(r,{...e,iconKey:"remember_me"})}function to(e){return n.jsx(r,{...e,iconKey:"remove"})}function Ec(e){return n.jsx(r,{...e,iconKey:"remove_circle"})}function KN(e){return n.jsx(r,{...e,iconKey:"remove_circle_outline"})}function CN(e){return n.jsx(r,{...e,iconKey:"remove_done"})}function SN(e){return n.jsx(r,{...e,iconKey:"remove_from_queue"})}function BN(e){return n.jsx(r,{...e,iconKey:"remove_moderator"})}function EN(e){return n.jsx(r,{...e,iconKey:"remove_red_eye"})}function FN(e){return n.jsx(r,{...e,iconKey:"remove_road"})}function PN(e){return n.jsx(r,{...e,iconKey:"remove_shopping_cart"})}function DN(e){return n.jsx(r,{...e,iconKey:"reorder"})}function NN(e){return n.jsx(r,{...e,iconKey:"repartition"})}function mr(e){return n.jsx(r,{...e,iconKey:"repeat"})}function TN(e){return n.jsx(r,{...e,iconKey:"repeat_on"})}function MN(e){return n.jsx(r,{...e,iconKey:"repeat_one"})}function ON(e){return n.jsx(r,{...e,iconKey:"repeat_one_on"})}function LN(e){return n.jsx(r,{...e,iconKey:"replay"})}function QN(e){return n.jsx(r,{...e,iconKey:"replay_10"})}function VN(e){return n.jsx(r,{...e,iconKey:"replay_30"})}function WN(e){return n.jsx(r,{...e,iconKey:"replay_5"})}function GN(e){return n.jsx(r,{...e,iconKey:"replay_circle_filled"})}function zN(e){return n.jsx(r,{...e,iconKey:"reply"})}function HN(e){return n.jsx(r,{...e,iconKey:"reply_all"})}function UN(e){return n.jsx(r,{...e,iconKey:"report"})}function YN(e){return n.jsx(r,{...e,iconKey:"report_gmailerrorred"})}function $N(e){return n.jsx(r,{...e,iconKey:"report_off"})}function jN(e){return n.jsx(r,{...e,iconKey:"report_problem"})}function qN(e){return n.jsx(r,{...e,iconKey:"request_page"})}function JN(e){return n.jsx(r,{...e,iconKey:"request_quote"})}function ZN(e){return n.jsx(r,{...e,iconKey:"reset_tv"})}function XN(e){return n.jsx(r,{...e,iconKey:"restart_alt"})}function xN(e){return n.jsx(r,{...e,iconKey:"restaurant"})}function RN(e){return n.jsx(r,{...e,iconKey:"restaurant_menu"})}function eT(e){return n.jsx(r,{...e,iconKey:"restore"})}function nT(e){return n.jsx(r,{...e,iconKey:"restore_from_trash"})}function oT(e){return n.jsx(r,{...e,iconKey:"restore_page"})}function rT(e){return n.jsx(r,{...e,iconKey:"reviews"})}function tT(e){return n.jsx(r,{...e,iconKey:"rice_bowl"})}function cT(e){return n.jsx(r,{...e,iconKey:"ring_volume"})}function iT(e){return n.jsx(r,{...e,iconKey:"rocket"})}function aT(e){return n.jsx(r,{...e,iconKey:"rocket_launch"})}function lT(e){return n.jsx(r,{...e,iconKey:"roller_shades"})}function sT(e){return n.jsx(r,{...e,iconKey:"roller_shades_closed"})}function dT(e){return n.jsx(r,{...e,iconKey:"roller_skating"})}function uT(e){return n.jsx(r,{...e,iconKey:"roofing"})}function fT(e){return n.jsx(r,{...e,iconKey:"room"})}function AT(e){return n.jsx(r,{...e,iconKey:"room_preferences"})}function _T(e){return n.jsx(r,{...e,iconKey:"room_service"})}function yT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_ccw"})}function hT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_cw"})}function gT(e){return n.jsx(r,{...e,iconKey:"rotate_left"})}function IT(e){return n.jsx(r,{...e,iconKey:"rotate_right"})}function bT(e){return n.jsx(r,{...e,iconKey:"roundabout_left"})}function pT(e){return n.jsx(r,{...e,iconKey:"roundabout_right"})}function wT(e){return n.jsx(r,{...e,iconKey:"rounded_corner"})}function kT(e){return n.jsx(r,{...e,iconKey:"route"})}function mT(e){return n.jsx(r,{...e,iconKey:"router"})}function vT(e){return n.jsx(r,{...e,iconKey:"rowing"})}function KT(e){return n.jsx(r,{...e,iconKey:"rss_feed"})}function CT(e){return n.jsx(r,{...e,iconKey:"rsvp"})}function ST(e){return n.jsx(r,{...e,iconKey:"rtt"})}function BT(e){return n.jsx(r,{...e,iconKey:"rule"})}function ET(e){return n.jsx(r,{...e,iconKey:"rule_folder"})}function FT(e){return n.jsx(r,{...e,iconKey:"run_circle"})}function PT(e){return n.jsx(r,{...e,iconKey:"running_with_errors"})}function DT(e){return n.jsx(r,{...e,iconKey:"rv_hookup"})}function NT(e){return n.jsx(r,{...e,iconKey:"safety_check"})}function TT(e){return n.jsx(r,{...e,iconKey:"safety_divider"})}function MT(e){return n.jsx(r,{...e,iconKey:"sailing"})}function OT(e){return n.jsx(r,{...e,iconKey:"sanitizer"})}function LT(e){return n.jsx(r,{...e,iconKey:"satellite"})}function QT(e){return n.jsx(r,{...e,iconKey:"satellite_alt"})}function VT(e){return n.jsx(r,{...e,iconKey:"save"})}function WT(e){return n.jsx(r,{...e,iconKey:"save_alt"})}function GT(e){return n.jsx(r,{...e,iconKey:"save_as"})}function zT(e){return n.jsx(r,{...e,iconKey:"saved_search"})}function HT(e){return n.jsx(r,{...e,iconKey:"savings"})}function UT(e){return n.jsx(r,{...e,iconKey:"scale"})}function YT(e){return n.jsx(r,{...e,iconKey:"scanner"})}function $T(e){return n.jsx(r,{...e,iconKey:"scatter_plot"})}function Fc(e){return n.jsx(r,{...e,iconKey:"schedule"})}function jT(e){return n.jsx(r,{...e,iconKey:"schedule_send"})}function qT(e){return n.jsx(r,{...e,iconKey:"schema"})}function JT(e){return n.jsx(r,{...e,iconKey:"school"})}function ZT(e){return n.jsx(r,{...e,iconKey:"science"})}function XT(e){return n.jsx(r,{...e,iconKey:"score"})}function xT(e){return n.jsx(r,{...e,iconKey:"scoreboard"})}function RT(e){return n.jsx(r,{...e,iconKey:"screen_lock_landscape"})}function eM(e){return n.jsx(r,{...e,iconKey:"screen_lock_portrait"})}function nM(e){return n.jsx(r,{...e,iconKey:"screen_lock_rotation"})}function oM(e){return n.jsx(r,{...e,iconKey:"screen_rotation"})}function rM(e){return n.jsx(r,{...e,iconKey:"screen_rotation_alt"})}function tM(e){return n.jsx(r,{...e,iconKey:"screen_search_desktop"})}function cM(e){return n.jsx(r,{...e,iconKey:"screen_share"})}function iM(e){return n.jsx(r,{...e,iconKey:"screenshot"})}function aM(e){return n.jsx(r,{...e,iconKey:"screenshot_monitor"})}function lM(e){return n.jsx(r,{...e,iconKey:"scuba_diving"})}function sM(e){return n.jsx(r,{...e,iconKey:"sd"})}function dM(e){return n.jsx(r,{...e,iconKey:"sd_card"})}function uM(e){return n.jsx(r,{...e,iconKey:"sd_card_alert"})}function fM(e){return n.jsx(r,{...e,iconKey:"sd_storage"})}function AM(e){return n.jsx(r,{...e,iconKey:"search_off"})}function _M(e){return n.jsx(r,{...e,iconKey:"security"})}function yM(e){return n.jsx(r,{...e,iconKey:"security_update"})}function hM(e){return n.jsx(r,{...e,iconKey:"security_update_good"})}function gM(e){return n.jsx(r,{...e,iconKey:"security_update_warning"})}function IM(e){return n.jsx(r,{...e,iconKey:"segment"})}function bM(e){return n.jsx(r,{...e,iconKey:"select_all"})}function pM(e){return n.jsx(r,{...e,iconKey:"self_improvement"})}function wM(e){return n.jsx(r,{...e,iconKey:"sell"})}function kM(e){return n.jsx(r,{...e,iconKey:"send"})}function mM(e){return n.jsx(r,{...e,iconKey:"send_and_archive"})}function vM(e){return n.jsx(r,{...e,iconKey:"send_time_extension"})}function KM(e){return n.jsx(r,{...e,iconKey:"send_to_mobile"})}function CM(e){return n.jsx(r,{...e,iconKey:"sensor_door"})}function SM(e){return n.jsx(r,{...e,iconKey:"sensor_occupied"})}function BM(e){return n.jsx(r,{...e,iconKey:"sensor_window"})}function EM(e){return n.jsx(r,{...e,iconKey:"sensors"})}function FM(e){return n.jsx(r,{...e,iconKey:"sensors_off"})}function PM(e){return n.jsx(r,{...e,iconKey:"sentiment_dissatisfied"})}function DM(e){return n.jsx(r,{...e,iconKey:"sentiment_neutral"})}function NM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied"})}function TM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied_alt"})}function MM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_dissatisfied"})}function OM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_satisfied"})}function LM(e){return n.jsx(r,{...e,iconKey:"set_meal"})}function QM(e){return n.jsx(r,{...e,iconKey:"settings"})}function VM(e){return n.jsx(r,{...e,iconKey:"settings_accessibility"})}function WM(e){return n.jsx(r,{...e,iconKey:"settings_applications"})}function GM(e){return n.jsx(r,{...e,iconKey:"settings_backup_restore"})}function zM(e){return n.jsx(r,{...e,iconKey:"settings_bluetooth"})}function HM(e){return n.jsx(r,{...e,iconKey:"settings_brightness"})}function UM(e){return n.jsx(r,{...e,iconKey:"settings_cell"})}function YM(e){return n.jsx(r,{...e,iconKey:"settings_ethernet"})}function $M(e){return n.jsx(r,{...e,iconKey:"settings_input_antenna"})}function jM(e){return n.jsx(r,{...e,iconKey:"settings_input_component"})}function qM(e){return n.jsx(r,{...e,iconKey:"settings_input_composite"})}function JM(e){return n.jsx(r,{...e,iconKey:"settings_input_hdmi"})}function ZM(e){return n.jsx(r,{...e,iconKey:"settings_input_svideo"})}function XM(e){return n.jsx(r,{...e,iconKey:"settings_overscan"})}function xM(e){return n.jsx(r,{...e,iconKey:"settings_phone"})}function RM(e){return n.jsx(r,{...e,iconKey:"settings_power"})}function e2(e){return n.jsx(r,{...e,iconKey:"settings_remote"})}function n2(e){return n.jsx(r,{...e,iconKey:"settings_suggest"})}function o2(e){return n.jsx(r,{...e,iconKey:"settings_system_daydream"})}function r2(e){return n.jsx(r,{...e,iconKey:"settings_voice"})}function t2(e){return n.jsx(r,{...e,iconKey:"severe_cold"})}function c2(e){return n.jsx(r,{...e,iconKey:"shape_line"})}function i2(e){return n.jsx(r,{...e,iconKey:"share"})}function a2(e){return n.jsx(r,{...e,iconKey:"share_location"})}function l2(e){return n.jsx(r,{...e,iconKey:"shield"})}function s2(e){return n.jsx(r,{...e,iconKey:"shield_moon"})}function d2(e){return n.jsx(r,{...e,iconKey:"shop"})}function u2(e){return n.jsx(r,{...e,iconKey:"shop_2"})}function f2(e){return n.jsx(r,{...e,iconKey:"shop_two"})}function A2(e){return n.jsx(r,{...e,iconKey:"shopping_bag"})}function _2(e){return n.jsx(r,{...e,iconKey:"shopping_basket"})}function y2(e){return n.jsx(r,{...e,iconKey:"shopping_cart"})}function h2(e){return n.jsx(r,{...e,iconKey:"shopping_cart_checkout"})}function Pc(e){return n.jsx(r,{...e,iconKey:"short_text"})}function g2(e){return n.jsx(r,{...e,iconKey:"shortcut"})}function I2(e){return n.jsx(r,{...e,iconKey:"show_chart"})}function b2(e){return n.jsx(r,{...e,iconKey:"shower"})}function p2(e){return n.jsx(r,{...e,iconKey:"shuffle"})}function w2(e){return n.jsx(r,{...e,iconKey:"shuffle_on"})}function k2(e){return n.jsx(r,{...e,iconKey:"shutter_speed"})}function m2(e){return n.jsx(r,{...e,iconKey:"sick"})}function v2(e){return n.jsx(r,{...e,iconKey:"sign_language"})}function K2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_0_bar"})}function C2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_4_bar"})}function S2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt"})}function B2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_1_bar"})}function E2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_2_bar"})}function F2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_0_bar"})}function P2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_4_bar"})}function D2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_no_sim"})}function N2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_nodata"})}function T2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_null"})}function M2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_off"})}function O2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_0_bar"})}function L2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar"})}function Q2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar_lock"})}function V2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_bad"})}function W2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_connected_no_internet_4"})}function G2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_off"})}function z2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_4_bar"})}function H2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_connected_no_internet_4"})}function U2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_null"})}function Y2(e){return n.jsx(r,{...e,iconKey:"signpost"})}function $2(e){return n.jsx(r,{...e,iconKey:"sim_card"})}function j2(e){return n.jsx(r,{...e,iconKey:"sim_card_alert"})}function q2(e){return n.jsx(r,{...e,iconKey:"sim_card_download"})}function J2(e){return n.jsx(r,{...e,iconKey:"single_bed"})}function Z2(e){return n.jsx(r,{...e,iconKey:"sip"})}function X2(e){return n.jsx(r,{...e,iconKey:"skateboarding"})}function x2(e){return n.jsx(r,{...e,iconKey:"skip_next"})}function R2(e){return n.jsx(r,{...e,iconKey:"skip_previous"})}function eO(e){return n.jsx(r,{...e,iconKey:"sledding"})}function nO(e){return n.jsx(r,{...e,iconKey:"slideshow"})}function oO(e){return n.jsx(r,{...e,iconKey:"slow_motion_video"})}function rO(e){return n.jsx(r,{...e,iconKey:"smart_button"})}function tO(e){return n.jsx(r,{...e,iconKey:"smart_display"})}function cO(e){return n.jsx(r,{...e,iconKey:"smart_screen"})}function iO(e){return n.jsx(r,{...e,iconKey:"smart_toy"})}function aO(e){return n.jsx(r,{...e,iconKey:"smartphone"})}function lO(e){return n.jsx(r,{...e,iconKey:"smoke_free"})}function sO(e){return n.jsx(r,{...e,iconKey:"smoking_rooms"})}function dO(e){return n.jsx(r,{...e,iconKey:"sms"})}function uO(e){return n.jsx(r,{...e,iconKey:"sms_failed"})}function fO(e){return n.jsx(r,{...e,iconKey:"snippet_folder"})}function AO(e){return n.jsx(r,{...e,iconKey:"snooze"})}function _O(e){return n.jsx(r,{...e,iconKey:"snowboarding"})}function yO(e){return n.jsx(r,{...e,iconKey:"snowmobile"})}function hO(e){return n.jsx(r,{...e,iconKey:"snowshoeing"})}function gO(e){return n.jsx(r,{...e,iconKey:"soap"})}function IO(e){return n.jsx(r,{...e,iconKey:"social_distance"})}function bO(e){return n.jsx(r,{...e,iconKey:"solar_power"})}function pO(e){return n.jsx(r,{...e,iconKey:"sort"})}function wO(e){return n.jsx(r,{...e,iconKey:"sort_by_alpha"})}function kO(e){return n.jsx(r,{...e,iconKey:"sos"})}function mO(e){return n.jsx(r,{...e,iconKey:"soup_kitchen"})}function vO(e){return n.jsx(r,{...e,iconKey:"source"})}function KO(e){return n.jsx(r,{...e,iconKey:"south"})}function CO(e){return n.jsx(r,{...e,iconKey:"south_america"})}function SO(e){return n.jsx(r,{...e,iconKey:"south_east"})}function BO(e){return n.jsx(r,{...e,iconKey:"south_west"})}function EO(e){return n.jsx(r,{...e,iconKey:"spa"})}function FO(e){return n.jsx(r,{...e,iconKey:"space_bar"})}function PO(e){return n.jsx(r,{...e,iconKey:"space_dashboard"})}function DO(e){return n.jsx(r,{...e,iconKey:"spatial_audio"})}function NO(e){return n.jsx(r,{...e,iconKey:"spatial_audio_off"})}function TO(e){return n.jsx(r,{...e,iconKey:"spatial_tracking"})}function MO(e){return n.jsx(r,{...e,iconKey:"speaker"})}function OO(e){return n.jsx(r,{...e,iconKey:"speaker_group"})}function LO(e){return n.jsx(r,{...e,iconKey:"speaker_notes"})}function QO(e){return n.jsx(r,{...e,iconKey:"speaker_notes_off"})}function VO(e){return n.jsx(r,{...e,iconKey:"speaker_phone"})}function WO(e){return n.jsx(r,{...e,iconKey:"speed"})}function GO(e){return n.jsx(r,{...e,iconKey:"spellcheck"})}function zO(e){return n.jsx(r,{...e,iconKey:"splitscreen"})}function HO(e){return n.jsx(r,{...e,iconKey:"spoke"})}function UO(e){return n.jsx(r,{...e,iconKey:"sports"})}function YO(e){return n.jsx(r,{...e,iconKey:"sports_bar"})}function $O(e){return n.jsx(r,{...e,iconKey:"sports_baseball"})}function jO(e){return n.jsx(r,{...e,iconKey:"sports_basketball"})}function qO(e){return n.jsx(r,{...e,iconKey:"sports_cricket"})}function JO(e){return n.jsx(r,{...e,iconKey:"sports_esports"})}function ZO(e){return n.jsx(r,{...e,iconKey:"sports_football"})}function XO(e){return n.jsx(r,{...e,iconKey:"sports_golf"})}function xO(e){return n.jsx(r,{...e,iconKey:"sports_gymnastics"})}function RO(e){return n.jsx(r,{...e,iconKey:"sports_handball"})}function eL(e){return n.jsx(r,{...e,iconKey:"sports_hockey"})}function nL(e){return n.jsx(r,{...e,iconKey:"sports_kabaddi"})}function oL(e){return n.jsx(r,{...e,iconKey:"sports_martial_arts"})}function rL(e){return n.jsx(r,{...e,iconKey:"sports_mma"})}function tL(e){return n.jsx(r,{...e,iconKey:"sports_motorsports"})}function cL(e){return n.jsx(r,{...e,iconKey:"sports_rugby"})}function iL(e){return n.jsx(r,{...e,iconKey:"sports_score"})}function aL(e){return n.jsx(r,{...e,iconKey:"sports_soccer"})}function lL(e){return n.jsx(r,{...e,iconKey:"sports_tennis"})}function sL(e){return n.jsx(r,{...e,iconKey:"sports_volleyball"})}function dL(e){return n.jsx(r,{...e,iconKey:"square"})}function uL(e){return n.jsx(r,{...e,iconKey:"square_foot"})}function fL(e){return n.jsx(r,{...e,iconKey:"ssid_chart"})}function AL(e){return n.jsx(r,{...e,iconKey:"stacked_bar_chart"})}function _L(e){return n.jsx(r,{...e,iconKey:"stacked_line_chart"})}function yL(e){return n.jsx(r,{...e,iconKey:"stadium"})}function hL(e){return n.jsx(r,{...e,iconKey:"stairs"})}function vr(e){return n.jsx(r,{...e,iconKey:"star"})}function Kr(e){return n.jsx(r,{...e,iconKey:"star_border"})}function gL(e){return n.jsx(r,{...e,iconKey:"star_border_purple500"})}function IL(e){return n.jsx(r,{...e,iconKey:"star_half"})}function bL(e){return n.jsx(r,{...e,iconKey:"star_outline"})}function pL(e){return n.jsx(r,{...e,iconKey:"star_purple500"})}function wL(e){return n.jsx(r,{...e,iconKey:"star_rate"})}function kL(e){return n.jsx(r,{...e,iconKey:"stars"})}function mL(e){return n.jsx(r,{...e,iconKey:"start"})}function vL(e){return n.jsx(r,{...e,iconKey:"stay_current_landscape"})}function KL(e){return n.jsx(r,{...e,iconKey:"stay_current_portrait"})}function CL(e){return n.jsx(r,{...e,iconKey:"stay_primary_landscape"})}function SL(e){return n.jsx(r,{...e,iconKey:"stay_primary_portrait"})}function BL(e){return n.jsx(r,{...e,iconKey:"sticky_note_2"})}function EL(e){return n.jsx(r,{...e,iconKey:"stop"})}function FL(e){return n.jsx(r,{...e,iconKey:"stop_circle"})}function PL(e){return n.jsx(r,{...e,iconKey:"stop_screen_share"})}function DL(e){return n.jsx(r,{...e,iconKey:"storage"})}function NL(e){return n.jsx(r,{...e,iconKey:"store"})}function TL(e){return n.jsx(r,{...e,iconKey:"store_mall_directory"})}function ML(e){return n.jsx(r,{...e,iconKey:"storefront"})}function OL(e){return n.jsx(r,{...e,iconKey:"storm"})}function LL(e){return n.jsx(r,{...e,iconKey:"straight"})}function QL(e){return n.jsx(r,{...e,iconKey:"straighten"})}function VL(e){return n.jsx(r,{...e,iconKey:"stream"})}function WL(e){return n.jsx(r,{...e,iconKey:"streetview"})}function GL(e){return n.jsx(r,{...e,iconKey:"strikethrough_s"})}function zL(e){return n.jsx(r,{...e,iconKey:"stroller"})}function HL(e){return n.jsx(r,{...e,iconKey:"style"})}function UL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_left"})}function YL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_right"})}function Dc(e){return n.jsx(r,{...e,iconKey:"subject"})}function $L(e){return n.jsx(r,{...e,iconKey:"subscript"})}function jL(e){return n.jsx(r,{...e,iconKey:"subscriptions"})}function qL(e){return n.jsx(r,{...e,iconKey:"subtitles"})}function JL(e){return n.jsx(r,{...e,iconKey:"subtitles_off"})}function ZL(e){return n.jsx(r,{...e,iconKey:"subway"})}function XL(e){return n.jsx(r,{...e,iconKey:"summarize"})}function xL(e){return n.jsx(r,{...e,iconKey:"superscript"})}function RL(e){return n.jsx(r,{...e,iconKey:"supervised_user_circle"})}function e4(e){return n.jsx(r,{...e,iconKey:"supervisor_account"})}function n4(e){return n.jsx(r,{...e,iconKey:"support"})}function o4(e){return n.jsx(r,{...e,iconKey:"support_agent"})}function r4(e){return n.jsx(r,{...e,iconKey:"surfing"})}function t4(e){return n.jsx(r,{...e,iconKey:"surround_sound"})}function c4(e){return n.jsx(r,{...e,iconKey:"swap_calls"})}function i4(e){return n.jsx(r,{...e,iconKey:"swap_horiz"})}function a4(e){return n.jsx(r,{...e,iconKey:"swap_horizontal_circle"})}function l4(e){return n.jsx(r,{...e,iconKey:"swap_vert"})}function s4(e){return n.jsx(r,{...e,iconKey:"swap_vertical_circle"})}function d4(e){return n.jsx(r,{...e,iconKey:"swipe"})}function u4(e){return n.jsx(r,{...e,iconKey:"swipe_down"})}function f4(e){return n.jsx(r,{...e,iconKey:"swipe_down_alt"})}function A4(e){return n.jsx(r,{...e,iconKey:"swipe_left"})}function _4(e){return n.jsx(r,{...e,iconKey:"swipe_left_alt"})}function y4(e){return n.jsx(r,{...e,iconKey:"swipe_right"})}function h4(e){return n.jsx(r,{...e,iconKey:"swipe_right_alt"})}function g4(e){return n.jsx(r,{...e,iconKey:"swipe_up"})}function I4(e){return n.jsx(r,{...e,iconKey:"swipe_up_alt"})}function b4(e){return n.jsx(r,{...e,iconKey:"swipe_vertical"})}function p4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut"})}function w4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut_add"})}function k4(e){return n.jsx(r,{...e,iconKey:"switch_account"})}function m4(e){return n.jsx(r,{...e,iconKey:"switch_camera"})}function v4(e){return n.jsx(r,{...e,iconKey:"switch_left"})}function K4(e){return n.jsx(r,{...e,iconKey:"switch_right"})}function C4(e){return n.jsx(r,{...e,iconKey:"switch_video"})}function S4(e){return n.jsx(r,{...e,iconKey:"synagogue"})}function B4(e){return n.jsx(r,{...e,iconKey:"sync"})}function E4(e){return n.jsx(r,{...e,iconKey:"sync_alt"})}function F4(e){return n.jsx(r,{...e,iconKey:"sync_disabled"})}function P4(e){return n.jsx(r,{...e,iconKey:"sync_lock"})}function D4(e){return n.jsx(r,{...e,iconKey:"sync_problem"})}function N4(e){return n.jsx(r,{...e,iconKey:"system_security_update"})}function T4(e){return n.jsx(r,{...e,iconKey:"system_security_update_good"})}function M4(e){return n.jsx(r,{...e,iconKey:"system_security_update_warning"})}function O4(e){return n.jsx(r,{...e,iconKey:"system_update"})}function L4(e){return n.jsx(r,{...e,iconKey:"system_update_alt"})}function Q4(e){return n.jsx(r,{...e,iconKey:"tab"})}function V4(e){return n.jsx(r,{...e,iconKey:"tab_unselected"})}function W4(e){return n.jsx(r,{...e,iconKey:"table_bar"})}function G4(e){return n.jsx(r,{...e,iconKey:"table_chart"})}function z4(e){return n.jsx(r,{...e,iconKey:"table_restaurant"})}function H4(e){return n.jsx(r,{...e,iconKey:"table_rows"})}function U4(e){return n.jsx(r,{...e,iconKey:"table_view"})}function Y4(e){return n.jsx(r,{...e,iconKey:"tablet"})}function $4(e){return n.jsx(r,{...e,iconKey:"tablet_android"})}function j4(e){return n.jsx(r,{...e,iconKey:"tablet_mac"})}function q4(e){return n.jsx(r,{...e,iconKey:"tag"})}function J4(e){return n.jsx(r,{...e,iconKey:"tag_faces"})}function Z4(e){return n.jsx(r,{...e,iconKey:"takeout_dining"})}function X4(e){return n.jsx(r,{...e,iconKey:"tap_and_play"})}function x4(e){return n.jsx(r,{...e,iconKey:"tapas"})}function R4(e){return n.jsx(r,{...e,iconKey:"task"})}function eQ(e){return n.jsx(r,{...e,iconKey:"task_alt"})}function nQ(e){return n.jsx(r,{...e,iconKey:"taxi_alert"})}function oQ(e){return n.jsx(r,{...e,iconKey:"temple_buddhist"})}function rQ(e){return n.jsx(r,{...e,iconKey:"temple_hindu"})}function tQ(e){return n.jsx(r,{...e,iconKey:"terminal"})}function cQ(e){return n.jsx(r,{...e,iconKey:"terrain"})}function iQ(e){return n.jsx(r,{...e,iconKey:"text_decrease"})}function aQ(e){return n.jsx(r,{...e,iconKey:"text_fields"})}function lQ(e){return n.jsx(r,{...e,iconKey:"text_format"})}function sQ(e){return n.jsx(r,{...e,iconKey:"text_increase"})}function dQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_up"})}function uQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_vertical"})}function fQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angledown"})}function AQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angleup"})}function _Q(e){return n.jsx(r,{...e,iconKey:"text_rotation_down"})}function yQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_none"})}function hQ(e){return n.jsx(r,{...e,iconKey:"text_snippet"})}function gQ(e){return n.jsx(r,{...e,iconKey:"textsms"})}function IQ(e){return n.jsx(r,{...e,iconKey:"texture"})}function bQ(e){return n.jsx(r,{...e,iconKey:"theater_comedy"})}function pQ(e){return n.jsx(r,{...e,iconKey:"theaters"})}function wQ(e){return n.jsx(r,{...e,iconKey:"thermostat"})}function kQ(e){return n.jsx(r,{...e,iconKey:"thermostat_auto"})}function mQ(e){return n.jsx(r,{...e,iconKey:"thumb_down"})}function vQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_alt"})}function KQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_off_alt"})}function CQ(e){return n.jsx(r,{...e,iconKey:"thumb_up"})}function SQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_alt"})}function BQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_off_alt"})}function EQ(e){return n.jsx(r,{...e,iconKey:"thumbs_up_down"})}function FQ(e){return n.jsx(r,{...e,iconKey:"thunderstorm"})}function PQ(e){return n.jsx(r,{...e,iconKey:"time_to_leave"})}function DQ(e){return n.jsx(r,{...e,iconKey:"timelapse"})}function NQ(e){return n.jsx(r,{...e,iconKey:"timeline"})}function TQ(e){return n.jsx(r,{...e,iconKey:"timer"})}function MQ(e){return n.jsx(r,{...e,iconKey:"timer_10"})}function OQ(e){return n.jsx(r,{...e,iconKey:"timer_10_select"})}function LQ(e){return n.jsx(r,{...e,iconKey:"timer_3"})}function QQ(e){return n.jsx(r,{...e,iconKey:"timer_3_select"})}function VQ(e){return n.jsx(r,{...e,iconKey:"timer_off"})}function WQ(e){return n.jsx(r,{...e,iconKey:"tips_and_updates"})}function GQ(e){return n.jsx(r,{...e,iconKey:"tire_repair"})}function zQ(e){return n.jsx(r,{...e,iconKey:"title"})}function HQ(e){return n.jsx(r,{...e,iconKey:"toc"})}function UQ(e){return n.jsx(r,{...e,iconKey:"today"})}function YQ(e){return n.jsx(r,{...e,iconKey:"toggle_off"})}function $Q(e){return n.jsx(r,{...e,iconKey:"toggle_on"})}function jQ(e){return n.jsx(r,{...e,iconKey:"token"})}function qQ(e){return n.jsx(r,{...e,iconKey:"toll"})}function JQ(e){return n.jsx(r,{...e,iconKey:"tonality"})}function ZQ(e){return n.jsx(r,{...e,iconKey:"topic"})}function XQ(e){return n.jsx(r,{...e,iconKey:"tornado"})}function xQ(e){return n.jsx(r,{...e,iconKey:"touch_app"})}function RQ(e){return n.jsx(r,{...e,iconKey:"tour"})}function eV(e){return n.jsx(r,{...e,iconKey:"toys"})}function nV(e){return n.jsx(r,{...e,iconKey:"track_changes"})}function oV(e){return n.jsx(r,{...e,iconKey:"traffic"})}function rV(e){return n.jsx(r,{...e,iconKey:"train"})}function tV(e){return n.jsx(r,{...e,iconKey:"tram"})}function cV(e){return n.jsx(r,{...e,iconKey:"transcribe"})}function iV(e){return n.jsx(r,{...e,iconKey:"transfer_within_a_station"})}function aV(e){return n.jsx(r,{...e,iconKey:"transform"})}function lV(e){return n.jsx(r,{...e,iconKey:"transgender"})}function sV(e){return n.jsx(r,{...e,iconKey:"transit_enterexit"})}function dV(e){return n.jsx(r,{...e,iconKey:"translate"})}function uV(e){return n.jsx(r,{...e,iconKey:"travel_explore"})}function fV(e){return n.jsx(r,{...e,iconKey:"trending_down"})}function AV(e){return n.jsx(r,{...e,iconKey:"trending_flat"})}function _V(e){return n.jsx(r,{...e,iconKey:"trending_up"})}function yV(e){return n.jsx(r,{...e,iconKey:"trip_origin"})}function hV(e){return n.jsx(r,{...e,iconKey:"troubleshoot"})}function gV(e){return n.jsx(r,{...e,iconKey:"try"})}function IV(e){return n.jsx(r,{...e,iconKey:"tsunami"})}function bV(e){return n.jsx(r,{...e,iconKey:"tty"})}function pV(e){return n.jsx(r,{...e,iconKey:"tune"})}function wV(e){return n.jsx(r,{...e,iconKey:"tungsten"})}function kV(e){return n.jsx(r,{...e,iconKey:"turn_left"})}function mV(e){return n.jsx(r,{...e,iconKey:"turn_right"})}function vV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_left"})}function KV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_right"})}function CV(e){return n.jsx(r,{...e,iconKey:"turn_slight_left"})}function SV(e){return n.jsx(r,{...e,iconKey:"turn_slight_right"})}function BV(e){return n.jsx(r,{...e,iconKey:"turned_in"})}function EV(e){return n.jsx(r,{...e,iconKey:"turned_in_not"})}function FV(e){return n.jsx(r,{...e,iconKey:"tv"})}function PV(e){return n.jsx(r,{...e,iconKey:"tv_off"})}function DV(e){return n.jsx(r,{...e,iconKey:"two_wheeler"})}function NV(e){return n.jsx(r,{...e,iconKey:"type_specimen"})}function TV(e){return n.jsx(r,{...e,iconKey:"u_turn_left"})}function MV(e){return n.jsx(r,{...e,iconKey:"u_turn_right"})}function OV(e){return n.jsx(r,{...e,iconKey:"umbrella"})}function LV(e){return n.jsx(r,{...e,iconKey:"unarchive"})}function QV(e){return n.jsx(r,{...e,iconKey:"undo"})}function VV(e){return n.jsx(r,{...e,iconKey:"unfold_less"})}function WV(e){return n.jsx(r,{...e,iconKey:"unfold_less_double"})}function GV(e){return n.jsx(r,{...e,iconKey:"unfold_more"})}function zV(e){return n.jsx(r,{...e,iconKey:"unfold_more_double"})}function HV(e){return n.jsx(r,{...e,iconKey:"unpublished"})}function UV(e){return n.jsx(r,{...e,iconKey:"unsubscribe"})}function YV(e){return n.jsx(r,{...e,iconKey:"upcoming"})}function $V(e){return n.jsx(r,{...e,iconKey:"update"})}function jV(e){return n.jsx(r,{...e,iconKey:"update_disabled"})}function qV(e){return n.jsx(r,{...e,iconKey:"upgrade"})}function JV(e){return n.jsx(r,{...e,iconKey:"upload"})}function Nc(e){return n.jsx(r,{...e,iconKey:"upload_file"})}function ZV(e){return n.jsx(r,{...e,iconKey:"usb"})}function XV(e){return n.jsx(r,{...e,iconKey:"usb_off"})}function xV(e){return n.jsx(r,{...e,iconKey:"vaccines"})}function RV(e){return n.jsx(r,{...e,iconKey:"vape_free"})}function e5(e){return n.jsx(r,{...e,iconKey:"vaping_rooms"})}function n5(e){return n.jsx(r,{...e,iconKey:"verified"})}function o5(e){return n.jsx(r,{...e,iconKey:"verified_user"})}function r5(e){return n.jsx(r,{...e,iconKey:"vertical_align_bottom"})}function t5(e){return n.jsx(r,{...e,iconKey:"vertical_align_center"})}function c5(e){return n.jsx(r,{...e,iconKey:"vertical_align_top"})}function i5(e){return n.jsx(r,{...e,iconKey:"vertical_distribute"})}function a5(e){return n.jsx(r,{...e,iconKey:"vertical_shades"})}function l5(e){return n.jsx(r,{...e,iconKey:"vertical_shades_closed"})}function s5(e){return n.jsx(r,{...e,iconKey:"vertical_split"})}function d5(e){return n.jsx(r,{...e,iconKey:"vibration"})}function u5(e){return n.jsx(r,{...e,iconKey:"video_call"})}function f5(e){return n.jsx(r,{...e,iconKey:"video_camera_back"})}function A5(e){return n.jsx(r,{...e,iconKey:"video_camera_front"})}function _5(e){return n.jsx(r,{...e,iconKey:"video_chat"})}function y5(e){return n.jsx(r,{...e,iconKey:"video_file"})}function h5(e){return n.jsx(r,{...e,iconKey:"video_label"})}function g5(e){return n.jsx(r,{...e,iconKey:"video_library"})}function I5(e){return n.jsx(r,{...e,iconKey:"video_settings"})}function b5(e){return n.jsx(r,{...e,iconKey:"video_stable"})}function p5(e){return n.jsx(r,{...e,iconKey:"videocam"})}function w5(e){return n.jsx(r,{...e,iconKey:"videocam_off"})}function k5(e){return n.jsx(r,{...e,iconKey:"videogame_asset"})}function m5(e){return n.jsx(r,{...e,iconKey:"videogame_asset_off"})}function v5(e){return n.jsx(r,{...e,iconKey:"view_agenda"})}function K5(e){return n.jsx(r,{...e,iconKey:"view_array"})}function C5(e){return n.jsx(r,{...e,iconKey:"view_carousel"})}function S5(e){return n.jsx(r,{...e,iconKey:"view_column"})}function B5(e){return n.jsx(r,{...e,iconKey:"view_comfy"})}function E5(e){return n.jsx(r,{...e,iconKey:"view_comfy_alt"})}function F5(e){return n.jsx(r,{...e,iconKey:"view_compact"})}function P5(e){return n.jsx(r,{...e,iconKey:"view_compact_alt"})}function D5(e){return n.jsx(r,{...e,iconKey:"view_cozy"})}function N5(e){return n.jsx(r,{...e,iconKey:"view_day"})}function T5(e){return n.jsx(r,{...e,iconKey:"view_headline"})}function M5(e){return n.jsx(r,{...e,iconKey:"view_in_ar"})}function O5(e){return n.jsx(r,{...e,iconKey:"view_kanban"})}function L5(e){return n.jsx(r,{...e,iconKey:"view_list"})}function Q5(e){return n.jsx(r,{...e,iconKey:"view_module"})}function V5(e){return n.jsx(r,{...e,iconKey:"view_quilt"})}function W5(e){return n.jsx(r,{...e,iconKey:"view_sidebar"})}function Tc(e){return n.jsx(r,{...e,iconKey:"view_stream"})}function G5(e){return n.jsx(r,{...e,iconKey:"view_timeline"})}function z5(e){return n.jsx(r,{...e,iconKey:"view_week"})}function H5(e){return n.jsx(r,{...e,iconKey:"vignette"})}function U5(e){return n.jsx(r,{...e,iconKey:"villa"})}function Y5(e){return n.jsx(r,{...e,iconKey:"visibility"})}function $5(e){return n.jsx(r,{...e,iconKey:"visibility_off"})}function j5(e){return n.jsx(r,{...e,iconKey:"voice_chat"})}function q5(e){return n.jsx(r,{...e,iconKey:"voice_over_off"})}function J5(e){return n.jsx(r,{...e,iconKey:"voicemail"})}function Z5(e){return n.jsx(r,{...e,iconKey:"volcano"})}function X5(e){return n.jsx(r,{...e,iconKey:"volume_down"})}function x5(e){return n.jsx(r,{...e,iconKey:"volume_mute"})}function R5(e){return n.jsx(r,{...e,iconKey:"volume_off"})}function eW(e){return n.jsx(r,{...e,iconKey:"volume_up"})}function nW(e){return n.jsx(r,{...e,iconKey:"volunteer_activism"})}function oW(e){return n.jsx(r,{...e,iconKey:"vpn_key"})}function rW(e){return n.jsx(r,{...e,iconKey:"vpn_key_off"})}function tW(e){return n.jsx(r,{...e,iconKey:"vpn_lock"})}function cW(e){return n.jsx(r,{...e,iconKey:"vrpano"})}function iW(e){return n.jsx(r,{...e,iconKey:"wallet"})}function aW(e){return n.jsx(r,{...e,iconKey:"wallpaper"})}function lW(e){return n.jsx(r,{...e,iconKey:"warehouse"})}function sW(e){return n.jsx(r,{...e,iconKey:"warning"})}function dW(e){return n.jsx(r,{...e,iconKey:"warning_amber"})}function uW(e){return n.jsx(r,{...e,iconKey:"wash"})}function fW(e){return n.jsx(r,{...e,iconKey:"watch"})}function AW(e){return n.jsx(r,{...e,iconKey:"watch_later"})}function _W(e){return n.jsx(r,{...e,iconKey:"watch_off"})}function yW(e){return n.jsx(r,{...e,iconKey:"water"})}function hW(e){return n.jsx(r,{...e,iconKey:"water_damage"})}function gW(e){return n.jsx(r,{...e,iconKey:"water_drop"})}function IW(e){return n.jsx(r,{...e,iconKey:"waterfall_chart"})}function bW(e){return n.jsx(r,{...e,iconKey:"waves"})}function pW(e){return n.jsx(r,{...e,iconKey:"waving_hand"})}function wW(e){return n.jsx(r,{...e,iconKey:"wb_auto"})}function kW(e){return n.jsx(r,{...e,iconKey:"wb_cloudy"})}function mW(e){return n.jsx(r,{...e,iconKey:"wb_incandescent"})}function vW(e){return n.jsx(r,{...e,iconKey:"wb_iridescent"})}function KW(e){return n.jsx(r,{...e,iconKey:"wb_shade"})}function CW(e){return n.jsx(r,{...e,iconKey:"wb_sunny"})}function SW(e){return n.jsx(r,{...e,iconKey:"wb_twilight"})}function BW(e){return n.jsx(r,{...e,iconKey:"wc"})}function EW(e){return n.jsx(r,{...e,iconKey:"web"})}function FW(e){return n.jsx(r,{...e,iconKey:"web_asset"})}function PW(e){return n.jsx(r,{...e,iconKey:"web_asset_off"})}function DW(e){return n.jsx(r,{...e,iconKey:"web_stories"})}function NW(e){return n.jsx(r,{...e,iconKey:"webhook"})}function TW(e){return n.jsx(r,{...e,iconKey:"weekend"})}function MW(e){return n.jsx(r,{...e,iconKey:"west"})}function OW(e){return n.jsx(r,{...e,iconKey:"whatshot"})}function LW(e){return n.jsx(r,{...e,iconKey:"wheelchair_pickup"})}function QW(e){return n.jsx(r,{...e,iconKey:"where_to_vote"})}function VW(e){return n.jsx(r,{...e,iconKey:"widgets"})}function WW(e){return n.jsx(r,{...e,iconKey:"width_full"})}function GW(e){return n.jsx(r,{...e,iconKey:"width_normal"})}function zW(e){return n.jsx(r,{...e,iconKey:"width_wide"})}function HW(e){return n.jsx(r,{...e,iconKey:"wifi"})}function UW(e){return n.jsx(r,{...e,iconKey:"wifi_1_bar"})}function YW(e){return n.jsx(r,{...e,iconKey:"wifi_2_bar"})}function $W(e){return n.jsx(r,{...e,iconKey:"wifi_calling"})}function jW(e){return n.jsx(r,{...e,iconKey:"wifi_calling_3"})}function qW(e){return n.jsx(r,{...e,iconKey:"wifi_channel"})}function JW(e){return n.jsx(r,{...e,iconKey:"wifi_find"})}function ZW(e){return n.jsx(r,{...e,iconKey:"wifi_lock"})}function XW(e){return n.jsx(r,{...e,iconKey:"wifi_off"})}function xW(e){return n.jsx(r,{...e,iconKey:"wifi_password"})}function RW(e){return n.jsx(r,{...e,iconKey:"wifi_protected_setup"})}function eG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering"})}function nG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_error"})}function oG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_off"})}function rG(e){return n.jsx(r,{...e,iconKey:"wind_power"})}function tG(e){return n.jsx(r,{...e,iconKey:"window"})}function cG(e){return n.jsx(r,{...e,iconKey:"wine_bar"})}function iG(e){return n.jsx(r,{...e,iconKey:"woman"})}function aG(e){return n.jsx(r,{...e,iconKey:"woman_2"})}function lG(e){return n.jsx(r,{...e,iconKey:"work"})}function sG(e){return n.jsx(r,{...e,iconKey:"work_history"})}function dG(e){return n.jsx(r,{...e,iconKey:"work_off"})}function uG(e){return n.jsx(r,{...e,iconKey:"work_outline"})}function fG(e){return n.jsx(r,{...e,iconKey:"workspace_premium"})}function AG(e){return n.jsx(r,{...e,iconKey:"workspaces"})}function _G(e){return n.jsx(r,{...e,iconKey:"wrap_text"})}function yG(e){return n.jsx(r,{...e,iconKey:"wrong_location"})}function hG(e){return n.jsx(r,{...e,iconKey:"wysiwyg"})}function gG(e){return n.jsx(r,{...e,iconKey:"yard"})}function IG(e){return n.jsx(r,{...e,iconKey:"youtube_searched_for"})}function bG(e){return n.jsx(r,{...e,iconKey:"zoom_in"})}function pG(e){return n.jsx(r,{...e,iconKey:"zoom_in_map"})}function wG(e){return n.jsx(r,{...e,iconKey:"zoom_out"})}function kG(e){return n.jsx(r,{...e,iconKey:"zoom_out_map"})}function Se({error:e,showError:t,property:c,includeDescription:i=!0,disabled:a}){const l=c.description||c.longDescription;if(!(t&&e)&&(!i||!l))return null;if(t&&e)return n.jsx(j,{variant:"caption",className:"ml-3.5 text-red-500",children:e});const s=typeof c.disabled=="object"?c.disabled.disabledMessage:void 0;return n.jsxs("div",{className:"flex ml-3.5 mt-1",children:[n.jsx(j,{variant:"caption",color:a?"disabled":"secondary",className:"flex-grow",children:s||c.description}),c.longDescription&&n.jsx(_e,{title:c.longDescription,side:"bottom",children:n.jsx(R,{size:"small",className:"self-start",children:n.jsx(kc,{color:"disabled",size:"small"})})})]})}const Mc=f.createContext({}),Qe=()=>f.useContext(Mc),Oc=f.createContext({}),fe=()=>f.useContext(Oc),Cr=f.createContext({}),In=()=>f.useContext(Cr),Lc=f.createContext({}),co=()=>f.useContext(Lc),Qc=f.createContext({}),Sn=()=>f.useContext(Qc),Vc=f.createContext({}),Bn=()=>f.useContext(Vc),an=()=>{const{enqueueSnackbar:e,closeSnackbar:t}=Gt.useSnackbar(),c=f.useCallback(a=>{const{type:l,message:s,autoHideDuration:d}=a;e({message:s,variant:l,autoHideDuration:d})},[]),i=f.useCallback(()=>{t()},[]);return f.useMemo(()=>({open:c,close:i}),[c,i])},Wc=f.createContext(void 0),En=()=>f.useContext(Wc),Sr=f.createContext({sideDialogsController:{},sideEntityController:{},navigation:{},dataSource:{},storageSource:{},authController:{},snackbarController:{},fields:{}}),ne=()=>{const e=f.useContext(Sr),t=In(),c=co(),i=Sn(),a=fe(),l=Qe(),s=Bn(),d=an(),u=En();return{...e,authController:t,sideDialogsController:c,sideEntityController:i,navigation:a,dataSource:l,storageSource:s,snackbarController:d,userConfigPersistence:u}};function Gc({path:e,collection:t,filterValues:c,sortBy:i,itemCount:a,searchString:l}){const s=Qe(),u=fe().resolveAliasesFrom(e),A=i?i[0]:void 0,y=i?i[1]:void 0,h=ne(),[I,_]=f.useState([]),[g,b]=f.useState(!1),[p,w]=f.useState(),[k,v]=f.useState(!1);return f.useEffect(()=>{b(!0);const K=async C=>{if(t.callbacks?.onFetch)try{C=await Promise.all(C.map(B=>t.callbacks.onFetch({collection:t,path:u,entity:B,context:h})))}catch(B){console.error(B)}b(!1),w(void 0),_(C.map(B=>({...B}))),v(!a||C.length<a)},m=C=>{console.error("ERROR",C),b(!1),_([]),w(C)};return s.listenCollection?s.listenCollection({path:u,collection:t,onUpdate:K,onError:m,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:y}):(s.fetchCollection({path:u,collection:t,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:y}).then(K).catch(m),()=>{})},[u,a,y,A,c,l]),{data:I,dataLoading:g,dataLoadingError:p,noMoreToLoad:k}}const Br={};function Er({path:e,entityId:t,collection:c,useCache:i=!1}){const a=Qe(),s=fe().resolveAliasesFrom(e),d=ne(),[u,A]=f.useState(),[y,h]=f.useState(!0),[I,_]=f.useState();return f.useEffect(()=>{h(!0);const g=async p=>{if(c.callbacks?.onFetch&&p)try{p=await c.callbacks.onFetch({collection:c,path:s,entity:p,context:d})}catch(w){console.error(w)}Br[`${s}/${t}`]=p,A(p),h(!1),_(void 0)},b=p=>{console.error("ERROR fetching entity",p),h(!1),A(void 0),_(p)};return t&&i&&Br[`${s}/${t}`]?(A(Br[`${s}/${t}`]),h(!1),_(void 0),()=>{}):t&&s&&c?a.listenEntity?a.listenEntity({path:s,entityId:t,collection:c,onUpdate:g,onError:b}):(a.fetchEntity({path:s,entityId:t,collection:c}).then(g).catch(b),()=>{}):(g(void 0),()=>{})},[t,s]),{entity:u,dataLoading:y,dataLoadingError:I}}async function Fr({collection:e,path:t,entityId:c,values:i,previousValues:a,status:l,dataSource:s,context:d,onSaveSuccess:u,onSaveFailure:A,onPreSaveHookError:y,onSaveSuccessHookError:h}){let I;const _=d.navigation.resolveAliasesFrom(t),g=e.callbacks;if(g?.onPreSave)try{const b=Me({collection:e,path:t,values:a,entityId:c,fields:d.fields});I=await g.onPreSave({collection:b,path:t,resolvedPath:_,entityId:c,values:i,previousValues:a,status:l,context:d})}catch(b){console.error(b),y&&y(b);return}else I=i;return s.saveEntity({collection:e,path:_,entityId:c,values:I,previousValues:a,status:l}).then(b=>{try{if(g?.onSaveSuccess){const p=Me({collection:e,path:t,values:I,entityId:c,fields:d.fields});g.onSaveSuccess({collection:p,path:t,resolvedPath:_,entityId:b.id,values:I,previousValues:a,status:l,context:d})}}catch(p){h&&h(p)}u&&u(b)}).catch(b=>{if(g?.onSaveFailure){const p=Me({collection:e,path:t,values:I,entityId:c,fields:d.fields});g.onSaveFailure({collection:p,path:t,resolvedPath:_,entityId:c,values:I,previousValues:a,status:l,context:d})}A&&A(b)})}async function zc({dataSource:e,entity:t,collection:c,callbacks:i,onDeleteSuccess:a,onDeleteFailure:l,onPreDeleteHookError:s,onDeleteSuccessHookError:d,context:u}){console.debug("Deleting entity",t.path,t.id);const A={entity:t,collection:c,entityId:t.id,path:t.path,context:u};if(i?.onPreDelete)try{await i.onPreDelete(A)}catch(y){return console.error(y),s&&s(t,y),!1}return e.deleteEntity({entity:t}).then(()=>{a&&a(t);try{return i?.onDelete&&i.onDelete(A),!0}catch(y){return d&&d(t,y),!1}}).catch(y=>(l&&l(t,y),!1))}function Te({property:e,value:t,setValue:c}){const i=f.useRef(null);f.useEffect(()=>{typeof e.disabled=="object"&&!!e.disabled.clearOnDisabled?t!=null&&(i.current=t,c(null)):i.current&&(c(i.current),i.current=null)},[e])}function Hc({path:e,context:t}){const c=t.dataSource,i=t.navigation;if(!i)throw Error("Calling getNavigationFrom, but main navigation has not yet been initialised");const l=_t({path:e,collections:i.collections??[]}).map(s=>{if(s.type==="collection")return Promise.resolve(s);if(s.type==="entity"){const d=i.getCollection(s.path,s.entityId);if(!d)throw Error(`No collection defined in the navigation for the entity with path ${s.path}`);return c.fetchEntity({path:s.path,entityId:s.entityId,collection:d}).then(u=>{if(u)return{...s,entity:u}})}else{if(s.type==="custom_view")return Promise.resolve(s);throw Error("Unmapped element in useEntitiesFromPath")}}).filter(s=>!!s);return Promise.all(l)}function mG({path:e}){const t=ne(),[c,i]=f.useState(),[a,l]=f.useState(!1),[s,d]=f.useState();return f.useEffect(()=>{t.navigation&&(l(!0),d(void 0),Hc({path:e,context:t}).then(A=>{i(A)}).catch(A=>d(A)).finally(()=>l(!1)))},[e,t]),t.navigation?{data:c,dataLoading:a,dataLoadingError:s}:{dataLoading:!0}}const Pr=()=>f.useContext(or),Uc=e=>{const{onSuccess:t,onError:c,disableClipboardAPI:i=!1,copiedDuration:a}=e||{},l=f.useRef(null),[s,d]=f.useState(!1),[u,A]=f.useState("");f.useEffect(()=>{a&&setTimeout(()=>d(!1),a)},[s]);const y=()=>navigator.clipboard!==void 0,h=f.useCallback(k=>{if(c)c(k);else throw new Error(k)},[c]),I=f.useCallback(k=>{t&&t(k),d(!0),A(k)},[t]),_=f.useCallback(k=>{navigator.clipboard.writeText(k).then(()=>I(k)).catch(v=>{h(v),d(!1)})},[h,I]),g=()=>{y()&&navigator.clipboard.writeText("")},b=k=>w("copy",typeof k=="object"?void 0:k),p=()=>w("cut"),w=f.useCallback((k="copy",v)=>{const K=l.current,m=K&&(K.tagName==="INPUT"||K.tagName==="TEXTAREA"),C=l.current;y()&&!i&&(v?_(v):K?m?(_(C.value),k==="cut"&&(C.value="")):_(K.innerText):h("Both the ref & text were undefined"))},[i,_,h]);return{ref:l,isCoppied:s,clipboard:u,clearClipboard:g,isSupported:y,copy:b,cut:p}},Dr=()=>f.useContext(Yt),vG={xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536,"3xl":1920},ze=(e="lg")=>{const[t,c]=f.useState(!1);return f.useEffect(()=>{const i=()=>{const a=window.matchMedia(`(min-width: ${vG[e]+1}px)`).matches;c(a)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[]),t};function io(e){const t=fe(),c=co(),i=f.useCallback(()=>{if(e.path){let l=e.collection;if(l||(l=t.getCollection(e.path)),!l)throw Error("Not able to resolve the collection in useReferenceDialog");c.open({key:`reference_${e.path}`,component:n.jsx(ta,{collection:l,...e}),width:"90vw",onClose:()=>{e.onClose?.()}})}else throw Error("useReferenceDialog: You are trying to open a reference dialog, but have not declared the `path`")},[t,e,c]),a=f.useCallback(()=>{c.close()},[c]);return{open:i,close:a}}const KG=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAASAAAAEgARslrPgAAB9pJREFUWMONl12obVUVx39jzLk+9j7nHq9y1QT1qpcbSIaXQFGs24PQl3HroSQyqHwJFJF6qaceCsqQoJdELHoIC6EeJCSKsi/TFLGozGsKXksljRLxnrP3WmvOOUYPa+19zsmPWpux5pxrzTX///Exx5hb+B/X1y+/nuIlVKF5m0v1YbQ55tIcKTQXFerNQkumOZ1oTiXCqUH8saR+74L8ZIWWux7+7JuuL2/04s5jJyhWQlXV71KtbhCtr1WtD6s0KlrjNBRaEi3JGzpv6bymQ0sn9mwv9otB7Ls7kn9Xo+U7D9z8/xG4+bz3cs35SjE/HEK8NWr8RBOrs+tQUUlEtAYaijRkbxmY0fuMzucsfcbSWnZQtiWxJL3Uid09iH0jIM8/1f+d3/zuS29M4PvHrmG+cZA8dMdjiLfNYrx6owrMVKlVUQkgkeI1iYbBJ3A2WPpKNtnx+UQisy29L0gPDGKfrwkPn2bJPfd/Zo0ZVp0fvOOdnLGxheX+A/Mq3nGwqS8/q645o4psxkgbhFqdSgqVJKIkghgqjuDoWh+dlm1AI0gUC3o4C9d04idbmZ06euQDPPHMj3YJ3HnkrZx98Fys2PFZ1dxxsJkdPbOecaBqmcWGqBVBIkEiKkoQJ5IJJBTbY8aRgBMwjxgVJoJJwDScnYUrOy2PBamfv/CS4zz9zE+IAIfPuQQzPzyrmq9u1e3RM+qWeaipNCCiE4DjbjgF94xZQj2htpjeK84ImqlIUpO9JllgEKgJDFpfOoh8paN8chbOeQ4g/OTq97PdLXSz3fjiVjO7/sx6g804ow41QWuCrjQPBB3bkZQgAkpBJOMojmIEjIgRKV6RpaYIZHGKQlK5OIv0L8bul8eOfsxjDJGD8613z6rmhq1qxkY1o9YKFUFEEED2xqoE1MNoWgPBwQZMl2SrSbQM9NQyUMlA5S3Rlcqd6E50RdRvPMvn9yE8qP9+9WWtQvXxzdic8xrwPaJrUYJGoq4sVBM1Ukuiln4UBipJVJrGoHUhrARB0XMQ/cizbSd61uaZlzUhXjuvWmqt9oOyAmUPEabnkSDV2j0Rp2YgksZdQpoCtRBwAiN4cKYdw4m3pNnbY9Tw4SZUh9tQEda+ld1WpmThgoivU8fYDbgEggRcleiZ6BOoFNRXLQQX1Eelggsgh8GPx6DhWB2iRgkj2OTuVX8dBzJtMx93BAKK4hIwUUSEID4BGspecWTfDwSCw+UxqByJoqPf9+xmYWQg7H3u+5Poyk3o5BZDxRBxxH29fdkF3YcBXKHgF+m+hLxn4OvbnnbPzMkjsm/+f5cXec2ye6ZfpO6+OX7pE8TqPj1zcN/7Zu8CDm44Bu6skrKjuOs0FlxWCJNMYxMOqLlR3DAvsAKaZo6t7+u7r6nhjN/5RKIQKESKhykhjeIINgJi+0m4Fiuns2WKZQybtJ2AfAWzGu/ayt0wz5gXimeKQyKSPI4kiCMhDxSgyLiOiY9kxnW2NVs+1ZeBbAmzhLmtgd0d8z1k1mIUTxQbKD5gnkmuDN6QvCF5TaIie0UmkIU1id3WcfwZHUo61eWB3gayDdOiZR+JXUuMWmcbyGWcny2RzOi8obeWwRsGrxm8JlGPBHCyOJmpJkwkHHs09pnfL1L60KLqtBKZtprhU+lVmSq9+xRsBfOMW6L4QLFM7zWdz+l8Ru8tA+10YKlJIiSxkcC6dQqlmJc/xaHIvTuZT7UpHalFUHEqL6iGsfKtM8FEzMdy7J4oXui9mk5CczpGErtEKgacQUZJE3gSwzw/i+dfx2G7e6IcOPALCXIkakGkYx4iwceyq+uENPp+RSI7DN7Q+5ylb7JgJLH0+XRGbOlRerWJwNgmnOwJ83Tvq/7KX2KZb1nJfnfp5YRoda7hFC/MQyGI7Mteow2E4pHkDT2zyfS758HV4bSjolOjF2PYS4KBbN2L5vmHZ7DpsWQnDsvfLj1+Lwufy9LSO2y5M1Mnik8OEJxAoSJRk7xhoKX3+URiztI3WPgGS2/p1OnE6CcSvRQGH+htQfH07dPSP7Lp9ajcNy+9DnG/oMT67qqZHz/QtGxVyjworQqVCIjiPiaaTD1ttZZ+fTIeCXQ+Y6HCQm0tO5LYpmfHlyy9/1nCPi3ICw/99JbxUHrdvxr6Q4depdhTfeGapVeH+imKxwhv6ZnR+5zeN0aNGU2+ZIPON0cX0LBQYSnGQgsLSSzoWdiCHVvQ2fLP2fMtwf2vDz50K6TpVPxj/sn7Ni5iu9l6Tof+yd78yoWFQ0uvWYvVLK1h6e34B8RnY9DZnIW3LAijxpLYkZ6Fd+z4km3bYcd2WNry8ezppsZ5ZMd2+MfTv3xtjbr9/PfwyoFDzPvtq7I2t+Vq/m6pt4hxThVaojao1CANRkORmkwkiTCI00thKYWOzJJR+6V1JE8/z2JfqGgfW9jLPPLg7a9Xe8frHs7j5MVXESxfmLS5KYXmxhQ3z/a4icQNRFtEGlwjJkoRIamTmIKNTE+it57kw0sF+1ah3CkSXkiPf42Htl+3WL/2+vIFJ6ishJ3QXD1o9dEhVCcGbS7ModUcakwrigaKChkoYmQK2XMp5L8V/F7DfuDePYrEcv8f7npdnDcksEvkg9RewquhuayTcHzQeCyJXpFVD2fRzSxCFtkuwqks8mjB/ujYr9y6k0gs9528503X/w/F3eUgyIBI4wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNS0xMFQxOToyODozMyswMDowMEzeSx4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDUtMTBUMTk6Mjg6MzMrMDA6MDA9g/OiAAAARnRFWHRzb2Z0d2FyZQBJbWFnZU1hZ2ljayA2LjcuOC05IDIwMTQtMDUtMTIgUTE2IGh0dHA6Ly93d3cuaW1hZ2VtYWdpY2sub3Jn3IbtAAAAABh0RVh0VGh1bWI6OkRvY3VtZW50OjpQYWdlcwAxp/+7LwAAABh0RVh0VGh1bWI6OkltYWdlOjpoZWlnaHQAMTkyDwByhQAAABd0RVh0VGh1bWI6OkltYWdlOjpXaWR0aAAxOTLTrCEIAAAAGXRFWHRUaHVtYjo6TWltZXR5cGUAaW1hZ2UvcG5nP7JWTgAAABd0RVh0VGh1bWI6Ok1UaW1lADE2MjA2NzQ5MTMk8oswAAAAD3RFWHRUaHVtYjo6U2l6ZQAwQkKUoj7sAAAAVnRFWHRUaHVtYjo6VVJJAGZpbGU6Ly8vbW50bG9nL2Zhdmljb25zLzIwMjEtMDUtMTAvOGIxNDNhYjgwODhkMjBlZThkYmUzOTFhN2NkNmQ3NmQuaWNvLnBuZ9msgG0AAAAASUVORK5CYII=
2
- `;function CG(e,t){f.useEffect(()=>{if(document){document.title=`${e} - FireCMS`;let c=document.querySelector("link[rel~='icon']");c||(c=document.createElement("link"),c.rel="icon",document.getElementsByTagName("head")[0].appendChild(c)),c.href=t??KG}},[e,t])}function Fn(){return n.jsx("div",{className:"rounded-full bg-gray-200 bg-opacity-30 dark:bg-opacity-20 w-5 h-2 inline-block"})}const SG=40,BG=100,EG=200;function Pn(e){if(e==="tiny")return SG;if(e==="small")return BG;if(e==="medium")return EG;throw Error("Thumbnail size not mapped")}function ln(e){switch(e){case"xs":case"s":return"tiny";case"m":return"small";case"l":case"xl":return"medium";default:throw Error("Missing mapping value in getPreviewSizeFrom: "+e)}}function Dn(e,t){f.useEffect(()=>{if(!document.getElementById(e)){const i=document.createElement("style");i.id=e,i.innerHTML=t,document.head.appendChild(i)}},[e,t])}const _e=({open:e,side:t="bottom",sideOffset:c,onOpenChange:i,title:a,className:l,style:s,tooltipClassName:d,children:u})=>(Dn("Tooltip",FG),a?n.jsx(Zn.Provider,{delayDuration:250,children:n.jsxs(Zn.Root,{open:e,onOpenChange:i,children:[n.jsx(Zn.Trigger,{asChild:!0,children:n.jsx("div",{className:l,style:s,children:u})}),n.jsx(Zn.Portal,{children:n.jsx(Zn.Content,{className:E("TooltipContent","max-w-lg leading-relaxed","z-50 rounded px-3 py-2 text-xs leading-none bg-gray-700 dark:bg-gray-800 bg-opacity-90 font-medium text-gray-50 shadow-2xl select-none duration-400 ease-in transform opacity-100",d),sideOffset:c===void 0?4:c,side:t,children:a})})]})}):n.jsx(n.Fragment,{children:u})),FG=`
1
+ (function(o,qn){typeof exports=="object"&&typeof module<"u"?qn(exports,require("clsx"),require("tailwind-merge"),require("react/jsx-runtime"),require("react"),require("object-hash"),require("formik"),require("@radix-ui/react-collapsible"),require("@radix-ui/react-checkbox"),require("@material-design-icons/font/filled.css"),require("react-datepicker"),require("notistack"),require("@radix-ui/react-dialog"),require("react-dropzone"),require("react-fast-compare"),require("markdown-it"),require("@radix-ui/react-dropdown-menu"),require("cmdk"),require("@radix-ui/react-select"),require("react-dom"),require("@radix-ui/react-tooltip"),require("@radix-ui/react-tabs"),require("@radix-ui/react-popover"),require("date-fns/format"),require("date-fns/locale"),require("@hello-pangea/dnd"),require("react-image-file-resizer"),require("react-router-dom"),require("react-markdown-editor-lite"),require("yup"),require("react-window"),require("react-use-measure"),require("js-search"),require("@radix-ui/react-portal")):typeof define=="function"&&define.amd?define(["exports","clsx","tailwind-merge","react/jsx-runtime","react","object-hash","formik","@radix-ui/react-collapsible","@radix-ui/react-checkbox","@material-design-icons/font/filled.css","react-datepicker","notistack","@radix-ui/react-dialog","react-dropzone","react-fast-compare","markdown-it","@radix-ui/react-dropdown-menu","cmdk","@radix-ui/react-select","react-dom","@radix-ui/react-tooltip","@radix-ui/react-tabs","@radix-ui/react-popover","date-fns/format","date-fns/locale","@hello-pangea/dnd","react-image-file-resizer","react-router-dom","react-markdown-editor-lite","yup","react-window","react-use-measure","js-search","@radix-ui/react-portal"],qn):(o=typeof globalThis<"u"?globalThis:o||self,qn(o["FireCMS core"]={},o.clsx,o.tailwindMerge,o.jsxRuntime,o.React,o.hash,o.formik,o.Collapsible,o.CheckboxPrimitive,null,o.DatePicker,o.notistack,o.DialogPrimitive,o.reactDropzone,o.equal,o.MarkdownIt,o.DropdownMenu,o.cmdk,o.SelectPrimitive,o.ReactDOM,o.TooltipPrimitive,o.TabsPrimitive,o.PopoverPrimitive,o.format,o.locales,o.dnd,o.Resizer,o.reactRouterDom,o.MdEditor,o.yup,o.reactWindow,o.useMeasure,o.JsSearch,o.Portal))})(this,function(o,qn,Ka,n,f,Ut,Ee,Ca,Sa,dU,er,Yt,Ba,nr,se,$t,Ea,bo,Fa,Pa,Da,Na,Ta,Ma,Oa,Kn,La,he,hn,Qa,Va,or,Wa,Ga){"use strict";function Fe(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const i=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(t,c,i.get?i:{enumerable:!0,get:()=>e[c]})}}return t.default=e,Object.freeze(t)}const ae=Fe(f),Jn=Fe(Ca),jt=Fe(Sa),$e=Fe(Ba),Zn=Fe(Ea),je=Fe(Fa),za=Fe(Pa),Xn=Fe(Da),rr=Fe(Na),xn=Fe(Ta),qt=Fe(Oa),Pe=Fe(Qa),Ha=Fe(Wa),Ua=Fe(Ga);function E(...e){return Ka.twMerge(qn.clsx(e))}const Ya={breadcrumbs:[],set:e=>{}},Jt=f.createContext(Ya),$a=({children:e})=>{const[t,c]=f.useState([]),i=a=>{c(a.breadcrumbs)};return n.jsx(Jt.Provider,{value:{breadcrumbs:t,set:i},children:e})},ja={mode:"light",setMode:e=>{},toggleMode:()=>{}},tr=f.createContext(ja),qa=tr.Provider;function Ja(e){return e.includes("-")||e.includes("_")||!e.includes(" ")?e.replace(/[-_]/g," ").replace(/\w\S*/g,function(c){return c.charAt(0).toUpperCase()+c.substr(1)}):e}function Ie(e){return Zt(Xt(e))}function Zt(e){return e.startsWith("/")?e.slice(1):e}function Xt(e){return e.endsWith("/")?e.slice(0,-1):e}function Za(e){return e.startsWith("/")?e:`/${e}`}function Xa(e){const t=Ie(e);if(t.includes("/")){const c=t.split("/");return c[c.length-1]}return t}function cr(e,t){const c=Ie(e),i=c.split("/");if(i.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const a=t.find(s=>s.alias===i[0]);let l;if(a&&(l=a.path),i.length>1){const s=po(l??i[0],t);if(!s?.subcollections)return c;const d=c.split("/").slice(2).join("/");return(l??i[0])+"/"+i[1]+"/"+cr(d,s.subcollections)}else return l??c}function po(e,t){const c=Ie(e).split("/");if(c.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const i=wo(c);let a;for(let l=0;l<i.length;l++){const s=i[l],d=t&&t.sort((u,A)=>(u.alias??"").localeCompare(A.alias??"")).find(u=>u.alias===s||u.path===s);if(d){if(s===e)a=d;else if(d.subcollections){const u=e.replace(s,"").split("/").slice(2).join("/");u.length>0&&(a=po(u,d.subcollections))}}if(a)break}return a}function wo(e){const t=e.length>0&&e.length%2===0?e.splice(0,e.length-1):e,c=t.length,i=[];for(let a=c;a>0;a=a-2)i.push(t.slice(0,a).join("/"));return i}class qe{id;path;constructor(t,c){this.id=t,this.path=c}get pathWithId(){return`${this.path}/${this.id}`}}class ir{latitude;longitude;constructor(t,c){this.latitude=t,this.longitude=c}}const xt=(e,...t)=>({...t.reduce((c,i)=>({...c,[i]:e[i]}),{})});function ko(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Je(e,t){const c=ko(e),i=c?{...e}:e;return c&&ko(t)&&Object.keys(t).forEach(a=>{ko(t[a])?a in e?i[a]=Je(e[a],t[a]):Object.assign(i,{[a]:t[a]}):Object.assign(i,{[a]:t[a]})}),i}function an(e,t){if(e&&typeof e=="object"){if(t in e)return e[t];if(t.includes(".")||t.includes("[")){let c=t.split(/[.[]/);t.includes("[")&&(c=c.map(d=>d.replace("]","")));const i=c[0],a=Array.isArray(e[i])&&!isNaN(parseInt(c[1])),l=a?e[i][parseInt(c[1])]:e[i],s=c.slice(a?2:1).join(".");return s===""?l:an(l,s)}}}function xa(e,t){let c={...e};const i=t.split("."),a=i.pop();for(const l of i)c=c[l];return a&&delete c[a],c}function ar(e){if(e!==void 0)return e===null?null:typeof e=="object"?Object.entries(e).filter(([t,c])=>typeof c!="function").map(([t,c])=>Array.isArray(c)?{[t]:c.map(i=>ar(i))}:typeof c=="object"?{[t]:ar(c)}:{[t]:c}).reduce((t,c)=>({...t,...c}),{}):e}function lr(e){if(!e)return null;if(typeof e=="object"){if("id"in e)return e.id;if(e instanceof Date)return e.toLocaleString();if(e instanceof ir)return Ut(e)}return Ut(e,{ignoreUnknown:!0})}function sr(e,t){if(typeof e=="function")return e;if(Array.isArray(e))return e.map(c=>sr(c,t));if(typeof e=="object"){const c={};return e===null?e:(Object.keys(e).forEach(i=>{if(!dr(e)){const a=sr(e[i],t),l=typeof a=="string",s=!t||t&&!l||t&&l&&a!=="";a!==void 0&&!dr(a)&&s&&(c[i]=a)}}),c)}return e}function dr(e){return e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length===0}const Rn="type",mo="value";function Cn(e){return e.readOnly||e.dataType==="date"&&e.autoValue?!0:e.dataType==="reference"?!e.path:!1}function eo(e){return typeof e.disabled=="object"&&!!e.disabled.hidden}function De(e){return typeof e=="function"}function no(e){return e?Object.entries(e).map(([t,c])=>{const i=vo(c);return i===void 0?{}:{[t]:i}}).reduce((t,c)=>({...t,...c}),{}):{}}function vo(e){if(!De(e))if(e.dataType==="map"&&e.properties){const t=no(e.properties);return Object.keys(t).length===0?void 0:t}else return e.defaultValue?e.defaultValue:ur(e.dataType)}function ur(e){return e==="string"||e==="number"?null:e==="boolean"?!1:e==="date"?null:e==="array"?[]:e==="map"?{}:null}function Ra({inputValues:e,properties:t,status:c,timestampNowValue:i,setDateToMidnight:a}){return fr(e,t,(l,s)=>{if(s.dataType==="date"){let d;return c==="existing"&&s.autoValue==="on_update"||(c==="new"||c==="copy")&&(s.autoValue==="on_update"||s.autoValue==="on_create")?d=i:d=l,s.mode==="date"&&(d=a(d)),d}else return l})??{}}function el(e,t){const c=e;return Object.entries(t).forEach(([i,a])=>{e&&e[i]!==void 0?c[i]=e[i]:a.validation?.required&&(c[i]=null)}),c}function In(e){return new qe(e.id,e.path)}function fr(e,t,c){const i=Object.entries(t).map(([l,s])=>{const d=e&&e[l],u=Ko(d,s,c);if(u!==void 0)return{[l]:u}}).reduce((l,s)=>({...l,...s}),{}),a={...e,...i};if(Object.keys(a).length!==0)return a}function Ko(e,t,c){let i;if(t.dataType==="map"&&t.properties)i=fr(e,t.properties,c);else if(t.dataType==="array")if(t.of&&Array.isArray(e))i=e.map(a=>Ko(a,t.of,c));else if(t.oneOf&&Array.isArray(e)){const a=t.oneOf?.typeField??Rn,l=t.oneOf?.valueField??mo;i=e.map(s=>{if(s===null)return null;if(typeof s!="object")return s;const d=s[a],u=t.oneOf?.properties[d];return!d||!u?s:{[a]:d,[l]:Ko(s[l],u,c)}})}else i=e;else i=c(e,t);return i}function Rt(e){let t=0,c,i;for(c=0;c<e.length;c++)i=e.charCodeAt(c),t=(t<<5)-t+i,t|=0;return Math.abs(t)}const Co={blueLighter:{color:"#cfdfff",text:"#102046"},cyanLighter:{color:"#d0f0fd",text:"#04283f"},tealLighter:{color:"#c2f5e9",text:"#012524"},greenLighter:{color:"#d1f7c4",text:"#0b1d05"},yellowLighter:{color:"#ffeab6",text:"#3b2501"},orangeLighter:{color:"#fee2d5",text:"#6b2613"},redLighter:{color:"#ffdce5",text:"#4c0c1c"},pinkLighter:{color:"#ffdaf6",text:"#400832"},purpleLighter:{color:"#ede2fe",text:"#280b42"},grayLighter:{color:"#eee",text:"#040404"},blueLight:{color:"#9cc7ff",text:"#102046"},cyanLight:{color:"#77d1f3",text:"#04283f"},tealLight:{color:"#72ddc3",text:"#012524"},greenLight:{color:"#93e088",text:"#0b1d05"},yellowLight:{color:"#ffd66e",text:"#3b2501"},orangeLight:{color:"#ffa981",text:"#6b2613"},redLight:{color:"#ff9eb7",text:"#4c0c1c"},pinkLight:{color:"#f99de2",text:"#400832"},purpleLight:{color:"#cdb0ff",text:"#280b42"},grayLight:{color:"#ccc",text:"#040404"},blueDark:{color:"#2d7ff9",text:"#fff"},cyanDark:{color:"#18bfff",text:"#fff"},tealDark:{color:"#20d9d2",text:"#fff"},greenDark:{color:"#20c933",text:"#fff"},yellowDark:{color:"#fcb400",text:"#fff"},orangeDark:{color:"#ff6f2c",text:"#fff"},redDark:{color:"#f82b60",text:"#fff"},pinkDark:{color:"#ff08c2",text:"#fff"},purpleDark:{color:"#8b46ff",text:"#fff"},grayDark:{color:"#666",text:"#fff"},blueDarker:{color:"#2750ae",text:"#cfdfff"},cyanDarker:{color:"#0b76b7",text:"#d0f0fd"},tealDarker:{color:"#06a09b",text:"#daf3e9"},greenDarker:{color:"#338a17",text:"#d1f7c4"},yellowDarker:{color:"#b87503",text:"#ffeab6"},orangeDarker:{color:"#d74d26",text:"#fee2d5"},redDarker:{color:"#ba1e45",text:"#ffdce5"},pinkDarker:{color:"#b2158b",text:"#ffdaf6"},purpleDarker:{color:"#6b1cb0",text:"#ede2fe"},grayDarker:{color:"#444",text:"#eee"}};function ec(e){const t=Rt(e),c=Object.keys(Co),i=t%c.length;return Co[c[i]]}function nl(e){return Co[e]}function ln(e){return Array.isArray(e)?e:Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:{...c,id:t})}function So(e,t){if(t)return e.find(c=>String(c.id)===String(t))}function nc(e,t){const c=So(e,t);if(!c?.color)return ec(t.toString());if(typeof c=="object"&&"color"in c){if(typeof c.color=="string")return Co[c.color];if(typeof c.color=="object")return c.color}}function ol(e){return typeof e=="object"&&e.disabled}function oc(e){if(e!==void 0)return typeof e=="object"?e.label:e}function Bo({name:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,small:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u=null,setFieldValue:A}){return n.jsx(Tt,{droppableId:e,addLabel:t,value:c,disabled:i,buildEntry:a,size:l?"small":"medium",onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:y=>A(e,y)})}function ve({icon:e,title:t,small:c,className:i,required:a}){return n.jsxs("span",{className:`inline-flex items-center my-0.5 ${c?"gap-1":"gap-2"} ${i??""}`,children:[e,n.jsx("span",{className:`font-medium text-${c?"base":"sm"} origin-top-left transform ${c?"translate-x-2 scale-75":""}`,children:(t??"")+(a?" *":"")})]})}function rl(e){const t=f.useRef(),[c,i]=f.useState(e.value),a=f.useDeferredValue(c);f.useEffect(()=>{i(e.value)},[e.value]),f.useEffect(()=>{!e.value&&!a||a!==e.value&&t.current&&e.onChange&&e.onChange(t.current)},[a,e.value,e.onChange]);const l=f.useCallback(s=>{t.current=s,i(s.target.value)},[]);return n.jsx(_n,{...e,onChange:l,value:c})}function tl({field:e,form:t,label:c,tooltip:i,disabled:a,size:l="small",allowIndeterminate:s}){const d=n.jsx(On,{label:c,size:l,position:"start",value:e.value,disabled:a,allowIndeterminate:s,onValueChange:u=>t.setFieldValue(e.name,u)});return i?n.jsx(_e,{title:i,children:d}):d}const Ar=["table_rows","video_label","airlines","bento","border_all","border_clear","ac_unit","adjust","align_horizontal_center","album","all_inclusive","all_out","animation","assistant","audiotrack","account_balance_wallet","auto_awesome_mosaic","bolt","brightness_1","breakfast_dining","broken_image","brightness_5","cable","calendar_view_month","catching_pokemon","casino","category","cloud","color_lens","credit_card","earbuds","egg_alt","fiber_smart_record","flag","healing","heat_pump","hive","hub","local_library","local_pizza","memory","outlet","pages","panorama_photosphere","signal_cellular_0_bar","sports_baseball","storm","stairs"],rc=["search","123","360","10k","10mp","11mp","12mp","13mp","14mp","15mp","16mp","17mp","18_up_rating","18mp","19mp","1k","1k_plus","1x_mobiledata","20mp","21mp","22mp","23mp","24mp","2k","2k_plus","2mp","30fps","30fps_select","3d_rotation","3g_mobiledata","3k","3k_plus","3mp","3p","4g_mobiledata","4g_plus_mobiledata","4k","4k_plus","4mp","5g","5k","5k_plus","5mp","60fps","60fps_select","6_ft_apart","6k","6k_plus","6mp","7k","7k_plus","7mp","8k","8k_plus","8mp","9k","9k_plus","9mp","abc","ac_unit","access_alarm","access_alarms","access_time","access_time_filled","accessibility","accessibility_new","accessible","accessible_forward","account_balance","account_balance_wallet","account_box","account_circle","account_tree","ad_units","adb","add","add_a_photo","add_alarm","add_alert","add_box","add_business","add_card","add_chart","add_circle","add_circle_outline","add_comment","add_home","add_home_work","add_ic_call","add_link","add_location","add_location_alt","add_moderator","add_photo_alternate","add_reaction","add_road","add_shopping_cart","add_task","add_to_drive","add_to_home_screen","add_to_photos","add_to_queue","adf_scanner","adjust","admin_panel_settings","ads_click","agriculture","air","airline_seat_flat","airline_seat_flat_angled","airline_seat_individual_suite","airline_seat_legroom_extra","airline_seat_legroom_normal","airline_seat_legroom_reduced","airline_seat_recline_extra","airline_seat_recline_normal","airline_stops","airlines","airplane_ticket","airplanemode_active","airplanemode_inactive","airplay","airport_shuttle","alarm","alarm_add","alarm_off","alarm_on","album","align_horizontal_center","align_horizontal_left","align_horizontal_right","align_vertical_bottom","align_vertical_center","align_vertical_top","all_inbox","all_inclusive","all_out","alt_route","alternate_email","analytics","anchor","android","animation","announcement","aod","apartment","api","app_blocking","app_registration","app_settings_alt","app_shortcut","approval","apps","apps_outage","architecture","archive","area_chart","arrow_back","arrow_back_ios","arrow_back_ios_new","arrow_circle_down","arrow_circle_left","arrow_circle_right","arrow_circle_up","arrow_downward","arrow_drop_down","arrow_drop_down_circle","arrow_drop_up","arrow_forward","arrow_forward_ios","arrow_left","arrow_outward","arrow_right","arrow_right_alt","arrow_upward","art_track","article","aspect_ratio","assessment","assignment","assignment_ind","assignment_late","assignment_return","assignment_returned","assignment_turned_in","assist_walker","assistant","assistant_direction","assistant_photo","assured_workload","atm","attach_email","attach_file","attach_money","attachment","attractions","attribution","audio_file","audiotrack","auto_awesome","auto_awesome_mosaic","auto_awesome_motion","auto_delete","auto_fix_high","auto_fix_normal","auto_fix_off","auto_graph","auto_mode","auto_stories","autofps_select","autorenew","av_timer","baby_changing_station","back_hand","backpack","backspace","backup","backup_table","badge","bakery_dining","balance","balcony","ballot","bar_chart","batch_prediction","bathroom","bathtub","battery_0_bar","battery_1_bar","battery_2_bar","battery_3_bar","battery_4_bar","battery_5_bar","battery_6_bar","battery_alert","battery_charging_full","battery_full","battery_saver","battery_std","battery_unknown","beach_access","bed","bedroom_baby","bedroom_child","bedroom_parent","bedtime","bedtime_off","beenhere","bento","bike_scooter","biotech","blender","blind","blinds","blinds_closed","block","bloodtype","bluetooth","bluetooth_audio","bluetooth_connected","bluetooth_disabled","bluetooth_drive","bluetooth_searching","blur_circular","blur_linear","blur_off","blur_on","bolt","book","book_online","bookmark","bookmark_add","bookmark_added","bookmark_border","bookmark_remove","bookmarks","border_all","border_bottom","border_clear","border_color","border_horizontal","border_inner","border_left","border_outer","border_right","border_style","border_top","border_vertical","boy","branding_watermark","breakfast_dining","brightness_1","brightness_2","brightness_3","brightness_4","brightness_5","brightness_6","brightness_7","brightness_auto","brightness_high","brightness_low","brightness_medium","broadcast_on_home","broadcast_on_personal","broken_image","browse_gallery","browser_not_supported","browser_updated","brunch_dining","brush","bubble_chart","bug_report","build","build_circle","bungalow","burst_mode","bus_alert","business","business_center","cabin","cable","cached","cake","calculate","calendar_month","calendar_today","calendar_view_day","calendar_view_month","calendar_view_week","call","call_end","call_made","call_merge","call_missed","call_missed_outgoing","call_received","call_split","call_to_action","camera","camera_alt","camera_enhance","camera_front","camera_indoor","camera_outdoor","camera_rear","camera_roll","cameraswitch","campaign","cancel","cancel_presentation","cancel_schedule_send","candlestick_chart","car_crash","car_rental","car_repair","card_giftcard","card_membership","card_travel","carpenter","cases","casino","cast","cast_connected","cast_for_education","castle","catching_pokemon","category","celebration","cell_tower","cell_wifi","center_focus_strong","center_focus_weak","chair","chair_alt","chalet","change_circle","change_history","charging_station","chat","chat_bubble","chat_bubble_outline","check","check_box","check_box_outline_blank","check_circle","check_circle_outline","checklist","checklist_rtl","checkroom","chevron_left","chevron_right","child_care","child_friendly","chrome_reader_mode","church","circle","circle_notifications","class","clean_hands","cleaning_services","clear","clear_all","close","close_fullscreen","closed_caption","closed_caption_disabled","closed_caption_off","cloud","cloud_circle","cloud_done","cloud_download","cloud_off","cloud_queue","cloud_sync","cloud_upload","co2","co_present","code","code_off","coffee","coffee_maker","collections","collections_bookmark","color_lens","colorize","comment","comment_bank","comments_disabled","commit","commute","compare","compare_arrows","compass_calibration","compost","compress","computer","confirmation_number","connect_without_contact","connected_tv","connecting_airports","construction","contact_emergency","contact_mail","contact_page","contact_phone","contact_support","contactless","contacts","content_copy","content_cut","content_paste","content_paste_go","content_paste_off","content_paste_search","contrast","control_camera","control_point","control_point_duplicate","cookie","copy_all","copyright","coronavirus","corporate_fare","cottage","countertops","create","create_new_folder","credit_card","credit_card_off","credit_score","crib","crisis_alert","crop","crop_16_9","crop_3_2","crop_5_4","crop_7_5","crop_din","crop_free","crop_landscape","crop_original","crop_portrait","crop_rotate","crop_square","cruelty_free","css","currency_bitcoin","currency_exchange","currency_franc","currency_lira","currency_pound","currency_ruble","currency_rupee","currency_yen","currency_yuan","curtains","curtains_closed","cyclone","dangerous","dark_mode","dashboard","dashboard_customize","data_array","data_exploration","data_object","data_saver_off","data_saver_on","data_thresholding","data_usage","dataset","dataset_linked","date_range","deblur","deck","dehaze","delete","delete_forever","delete_outline","delete_sweep","delivery_dining","density_large","density_medium","density_small","departure_board","description","deselect","design_services","desk","desktop_access_disabled","desktop_mac","desktop_windows","details","developer_board","developer_board_off","developer_mode","device_hub","device_thermostat","device_unknown","devices","devices_fold","devices_other","dialer_sip","dialpad","diamond","difference","dining","dinner_dining","directions","directions_bike","directions_boat","directions_boat_filled","directions_bus","directions_bus_filled","directions_car","directions_car_filled","directions_off","directions_railway","directions_railway_filled","directions_run","directions_subway","directions_subway_filled","directions_transit","directions_transit_filled","directions_walk","dirty_lens","disabled_by_default","disabled_visible","disc_full","discount","display_settings","diversity_1","diversity_2","diversity_3","dns","do_disturb","do_disturb_alt","do_disturb_off","do_disturb_on","do_not_disturb","do_not_disturb_alt","do_not_disturb_off","do_not_disturb_on","do_not_disturb_on_total_silence","do_not_step","do_not_touch","dock","document_scanner","domain","domain_add","domain_disabled","domain_verification","done","done_all","done_outline","donut_large","donut_small","door_back","door_front","door_sliding","doorbell","double_arrow","downhill_skiing","download","download_done","download_for_offline","downloading","drafts","drag_handle","drag_indicator","draw","drive_eta","drive_file_move","drive_file_move_rtl","drive_file_rename_outline","drive_folder_upload","dry","dry_cleaning","duo","dvr","dynamic_feed","dynamic_form","e_mobiledata","earbuds","earbuds_battery","east","edgesensor_high","edgesensor_low","edit","edit_attributes","edit_calendar","edit_location","edit_location_alt","edit_note","edit_notifications","edit_off","edit_road","egg","egg_alt","eject","elderly","elderly_woman","electric_bike","electric_bolt","electric_car","electric_meter","electric_moped","electric_rickshaw","electric_scooter","electrical_services","elevator","email","emergency","emergency_recording","emergency_share","emoji_emotions","emoji_events","emoji_food_beverage","emoji_nature","emoji_objects","emoji_people","emoji_symbols","emoji_transportation","energy_savings_leaf","engineering","enhanced_encryption","equalizer","error","error_outline","escalator","escalator_warning","euro","euro_symbol","ev_station","event","event_available","event_busy","event_note","event_repeat","event_seat","exit_to_app","expand","expand_circle_down","expand_less","expand_more","explicit","explore","explore_off","exposure","exposure_neg_1","exposure_neg_2","exposure_plus_1","exposure_plus_2","exposure_zero","extension","extension_off","face","face_2","face_3","face_4","face_5","face_6","face_retouching_natural","face_retouching_off","fact_check","factory","family_restroom","fast_forward","fast_rewind","fastfood","favorite","favorite_border","fax","featured_play_list","featured_video","feed","feedback","female","fence","festival","fiber_dvr","fiber_manual_record","fiber_new","fiber_pin","fiber_smart_record","file_copy","file_download","file_download_done","file_download_off","file_open","file_present","file_upload","filter","filter_1","filter_2","filter_3","filter_4","filter_5","filter_6","filter_7","filter_8","filter_9","filter_9_plus","filter_alt","filter_alt_off","filter_b_and_w","filter_center_focus","filter_drama","filter_frames","filter_hdr","filter_list","filter_list_off","filter_none","filter_tilt_shift","filter_vintage","find_in_page","find_replace","fingerprint","fire_extinguisher","fire_hydrant_alt","fire_truck","fireplace","first_page","fit_screen","fitbit","fitness_center","flag","flag_circle","flaky","flare","flash_auto","flash_off","flash_on","flashlight_off","flashlight_on","flatware","flight","flight_class","flight_land","flight_takeoff","flip","flip_camera_android","flip_camera_ios","flip_to_back","flip_to_front","flood","fluorescent","flutter_dash","fmd_bad","fmd_good","folder","folder_copy","folder_delete","folder_off","folder_open","folder_shared","folder_special","folder_zip","follow_the_signs","font_download","font_download_off","food_bank","forest","fork_left","fork_right","format_align_center","format_align_justify","format_align_left","format_align_right","format_bold","format_clear","format_color_fill","format_color_reset","format_color_text","format_indent_decrease","format_indent_increase","format_italic","format_line_spacing","format_list_bulleted","format_list_numbered","format_list_numbered_rtl","format_overline","format_paint","format_quote","format_shapes","format_size","format_strikethrough","format_textdirection_l_to_r","format_textdirection_r_to_l","format_underlined","fort","forum","forward","forward_10","forward_30","forward_5","forward_to_inbox","foundation","free_breakfast","free_cancellation","front_hand","fullscreen","fullscreen_exit","functions","g_mobiledata","g_translate","gamepad","games","garage","gas_meter","gavel","generating_tokens","gesture","get_app","gif","gif_box","girl","gite","golf_course","gpp_bad","gpp_good","gpp_maybe","gps_fixed","gps_not_fixed","gps_off","grade","gradient","grading","grain","graphic_eq","grass","grid_3x3","grid_4x4","grid_goldenratio","grid_off","grid_on","grid_view","group","group_add","group_off","group_remove","group_work","groups","groups_2","groups_3","h_mobiledata","h_plus_mobiledata","hail","handshake","handyman","hardware","hd","hdr_auto","hdr_auto_select","hdr_enhanced_select","hdr_off","hdr_off_select","hdr_on","hdr_on_select","hdr_plus","hdr_strong","hdr_weak","headphones","headphones_battery","headset","headset_mic","headset_off","healing","health_and_safety","hearing","hearing_disabled","heart_broken","heat_pump","height","help","help_center","help_outline","hevc","hexagon","hide_image","hide_source","high_quality","highlight","highlight_alt","highlight_off","hiking","history","history_edu","history_toggle_off","hive","hls","hls_off","holiday_village","home","home_max","home_mini","home_repair_service","home_work","horizontal_distribute","horizontal_rule","horizontal_split","hot_tub","hotel","hotel_class","hourglass_bottom","hourglass_disabled","hourglass_empty","hourglass_full","hourglass_top","house","house_siding","houseboat","how_to_reg","how_to_vote","html","http","https","hub","hvac","ice_skating","icecream","image","image_aspect_ratio","image_not_supported","image_search","imagesearch_roller","import_contacts","import_export","important_devices","inbox","incomplete_circle","indeterminate_check_box","info","input","insert_chart","insert_chart_outlined","insert_comment","insert_drive_file","insert_emoticon","insert_invitation","insert_link","insert_page_break","insert_photo","insights","install_desktop","install_mobile","integration_instructions","interests","interpreter_mode","inventory","inventory_2","invert_colors","invert_colors_off","ios_share","iron","iso","javascript","join_full","join_inner","join_left","join_right","kayaking","kebab_dining","key","key_off","keyboard","keyboard_alt","keyboard_arrow_down","keyboard_arrow_left","keyboard_arrow_right","keyboard_arrow_up","keyboard_backspace","keyboard_capslock","keyboard_command_key","keyboard_control_key","keyboard_double_arrow_down","keyboard_double_arrow_left","keyboard_double_arrow_right","keyboard_double_arrow_up","keyboard_hide","keyboard_option_key","keyboard_return","keyboard_tab","keyboard_voice","king_bed","kitchen","kitesurfing","label","label_important","label_off","lan","landscape","landslide","language","laptop","laptop_chromebook","laptop_mac","laptop_windows","last_page","launch","layers","layers_clear","leaderboard","leak_add","leak_remove","legend_toggle","lens","lens_blur","library_add","library_add_check","library_books","library_music","light","light_mode","lightbulb","lightbulb_circle","line_axis","line_style","line_weight","linear_scale","link","link_off","linked_camera","liquor","list","list_alt","live_help","live_tv","living","local_activity","local_airport","local_atm","local_bar","local_cafe","local_car_wash","local_convenience_store","local_dining","local_drink","local_fire_department","local_florist","local_gas_station","local_grocery_store","local_hospital","local_hotel","local_laundry_service","local_library","local_mall","local_movies","local_offer","local_parking","local_pharmacy","local_phone","local_pizza","local_play","local_police","local_post_office","local_printshop","local_see","local_shipping","local_taxi","location_city","location_disabled","location_off","location_on","location_searching","lock","lock_clock","lock_open","lock_person","lock_reset","login","logo_dev","logout","looks","looks_3","looks_4","looks_5","looks_6","looks_one","looks_two","loop","loupe","low_priority","loyalty","lte_mobiledata","lte_plus_mobiledata","luggage","lunch_dining","lyrics","macro_off","mail","mail_lock","mail_outline","male","man","man_2","man_3","man_4","manage_accounts","manage_history","manage_search","map","maps_home_work","maps_ugc","margin","mark_as_unread","mark_chat_read","mark_chat_unread","mark_email_read","mark_email_unread","mark_unread_chat_alt","markunread","markunread_mailbox","masks","maximize","media_bluetooth_off","media_bluetooth_on","mediation","medical_information","medical_services","medication","medication_liquid","meeting_room","memory","menu","menu_book","menu_open","merge","merge_type","message","mic","mic_external_off","mic_external_on","mic_none","mic_off","microwave","military_tech","minimize","minor_crash","miscellaneous_services","missed_video_call","mms","mobile_friendly","mobile_off","mobile_screen_share","mobiledata_off","mode","mode_comment","mode_edit","mode_edit_outline","mode_fan_off","mode_night","mode_of_travel","mode_standby","model_training","monetization_on","money","money_off","money_off_csred","monitor","monitor_heart","monitor_weight","monochrome_photos","mood","mood_bad","moped","more","more_horiz","more_time","more_vert","mosque","motion_photos_auto","motion_photos_off","motion_photos_on","motion_photos_pause","motion_photos_paused","mouse","move_down","move_to_inbox","move_up","movie","movie_creation","movie_filter","moving","mp","multiline_chart","multiple_stop","museum","music_note","music_off","music_video","my_location","nat","nature","nature_people","navigate_before","navigate_next","navigation","near_me","near_me_disabled","nearby_error","nearby_off","nest_cam_wired_stand","network_cell","network_check","network_locked","network_ping","network_wifi","network_wifi_1_bar","network_wifi_2_bar","network_wifi_3_bar","new_label","new_releases","newspaper","next_plan","next_week","nfc","night_shelter","nightlife","nightlight","nightlight_round","nights_stay","no_accounts","no_adult_content","no_backpack","no_cell","no_crash","no_drinks","no_encryption","no_encryption_gmailerrorred","no_flash","no_food","no_luggage","no_meals","no_meeting_room","no_photography","no_sim","no_stroller","no_transfer","noise_aware","noise_control_off","nordic_walking","north","north_east","north_west","not_accessible","not_interested","not_listed_location","not_started","note","note_add","note_alt","notes","notification_add","notification_important","notifications","notifications_active","notifications_none","notifications_off","notifications_paused","numbers","offline_bolt","offline_pin","offline_share","oil_barrel","on_device_training","ondemand_video","online_prediction","opacity","open_in_browser","open_in_full","open_in_new","open_in_new_off","open_with","other_houses","outbound","outbox","outdoor_grill","outlet","outlined_flag","output","padding","pages","pageview","paid","palette","pan_tool","pan_tool_alt","panorama","panorama_fish_eye","panorama_horizontal","panorama_horizontal_select","panorama_photosphere","panorama_photosphere_select","panorama_vertical","panorama_vertical_select","panorama_wide_angle","panorama_wide_angle_select","paragliding","park","party_mode","password","pattern","pause","pause_circle","pause_circle_filled","pause_circle_outline","pause_presentation","payment","payments","pedal_bike","pending","pending_actions","pentagon","people","people_alt","people_outline","percent","perm_camera_mic","perm_contact_calendar","perm_data_setting","perm_device_information","perm_identity","perm_media","perm_phone_msg","perm_scan_wifi","person","person_2","person_3","person_4","person_add","person_add_alt","person_add_alt_1","person_add_disabled","person_off","person_outline","person_pin","person_pin_circle","person_remove","person_remove_alt_1","person_search","personal_injury","personal_video","pest_control","pest_control_rodent","pets","phishing","phone","phone_android","phone_bluetooth_speaker","phone_callback","phone_disabled","phone_enabled","phone_forwarded","phone_iphone","phone_locked","phone_missed","phone_paused","phonelink","phonelink_erase","phonelink_lock","phonelink_off","phonelink_ring","phonelink_setup","photo","photo_album","photo_camera","photo_camera_back","photo_camera_front","photo_filter","photo_library","photo_size_select_actual","photo_size_select_large","photo_size_select_small","php","piano","piano_off","picture_as_pdf","picture_in_picture","picture_in_picture_alt","pie_chart","pie_chart_outline","pin","pin_drop","pin_end","pin_invoke","pinch","pivot_table_chart","pix","place","plagiarism","play_arrow","play_circle","play_circle_filled","play_circle_outline","play_disabled","play_for_work","play_lesson","playlist_add","playlist_add_check","playlist_add_check_circle","playlist_add_circle","playlist_play","playlist_remove","plumbing","plus_one","podcasts","point_of_sale","policy","poll","polyline","polymer","pool","portable_wifi_off","portrait","post_add","power","power_input","power_off","power_settings_new","precision_manufacturing","pregnant_woman","present_to_all","preview","price_change","price_check","print","print_disabled","priority_high","privacy_tip","private_connectivity","production_quantity_limits","propane","propane_tank","psychology","psychology_alt","public","public_off","publish","published_with_changes","punch_clock","push_pin","qr_code","qr_code_2","qr_code_scanner","query_builder","query_stats","question_answer","question_mark","queue","queue_music","queue_play_next","quickreply","quiz","r_mobiledata","radar","radio","radio_button_checked","radio_button_unchecked","railway_alert","ramen_dining","ramp_left","ramp_right","rate_review","raw_off","raw_on","read_more","real_estate_agent","receipt","receipt_long","recent_actors","recommend","record_voice_over","rectangle","recycling","redeem","redo","reduce_capacity","refresh","remember_me","remove","remove_circle","remove_circle_outline","remove_done","remove_from_queue","remove_moderator","remove_red_eye","remove_road","remove_shopping_cart","reorder","repartition","repeat","repeat_on","repeat_one","repeat_one_on","replay","replay_10","replay_30","replay_5","replay_circle_filled","reply","reply_all","report","report_gmailerrorred","report_off","report_problem","request_page","request_quote","reset_tv","restart_alt","restaurant","restaurant_menu","restore","restore_from_trash","restore_page","reviews","rice_bowl","ring_volume","rocket","rocket_launch","roller_shades","roller_shades_closed","roller_skating","roofing","room","room_preferences","room_service","rotate_90_degrees_ccw","rotate_90_degrees_cw","rotate_left","rotate_right","roundabout_left","roundabout_right","rounded_corner","route","router","rowing","rss_feed","rsvp","rtt","rule","rule_folder","run_circle","running_with_errors","rv_hookup","safety_check","safety_divider","sailing","sanitizer","satellite","satellite_alt","save","save_alt","save_as","saved_search","savings","scale","scanner","scatter_plot","schedule","schedule_send","schema","school","science","score","scoreboard","screen_lock_landscape","screen_lock_portrait","screen_lock_rotation","screen_rotation","screen_rotation_alt","screen_search_desktop","screen_share","screenshot","screenshot_monitor","scuba_diving","sd","sd_card","sd_card_alert","sd_storage","search","search_off","security","security_update","security_update_good","security_update_warning","segment","select_all","self_improvement","sell","send","send_and_archive","send_time_extension","send_to_mobile","sensor_door","sensor_occupied","sensor_window","sensors","sensors_off","sentiment_dissatisfied","sentiment_neutral","sentiment_satisfied","sentiment_satisfied_alt","sentiment_very_dissatisfied","sentiment_very_satisfied","set_meal","settings","settings_accessibility","settings_applications","settings_backup_restore","settings_bluetooth","settings_brightness","settings_cell","settings_ethernet","settings_input_antenna","settings_input_component","settings_input_composite","settings_input_hdmi","settings_input_svideo","settings_overscan","settings_phone","settings_power","settings_remote","settings_suggest","settings_system_daydream","settings_voice","severe_cold","shape_line","share","share_location","shield","shield_moon","shop","shop_2","shop_two","shopping_bag","shopping_basket","shopping_cart","shopping_cart_checkout","short_text","shortcut","show_chart","shower","shuffle","shuffle_on","shutter_speed","sick","sign_language","signal_cellular_0_bar","signal_cellular_4_bar","signal_cellular_alt","signal_cellular_alt_1_bar","signal_cellular_alt_2_bar","signal_cellular_connected_no_internet_0_bar","signal_cellular_connected_no_internet_4_bar","signal_cellular_no_sim","signal_cellular_nodata","signal_cellular_null","signal_cellular_off","signal_wifi_0_bar","signal_wifi_4_bar","signal_wifi_4_bar_lock","signal_wifi_bad","signal_wifi_connected_no_internet_4","signal_wifi_off","signal_wifi_statusbar_4_bar","signal_wifi_statusbar_connected_no_internet_4","signal_wifi_statusbar_null","signpost","sim_card","sim_card_alert","sim_card_download","single_bed","sip","skateboarding","skip_next","skip_previous","sledding","slideshow","slow_motion_video","smart_button","smart_display","smart_screen","smart_toy","smartphone","smoke_free","smoking_rooms","sms","sms_failed","snippet_folder","snooze","snowboarding","snowmobile","snowshoeing","soap","social_distance","solar_power","sort","sort_by_alpha","sos","soup_kitchen","source","south","south_america","south_east","south_west","spa","space_bar","space_dashboard","spatial_audio","spatial_audio_off","spatial_tracking","speaker","speaker_group","speaker_notes","speaker_notes_off","speaker_phone","speed","spellcheck","splitscreen","spoke","sports","sports_bar","sports_baseball","sports_basketball","sports_cricket","sports_esports","sports_football","sports_golf","sports_gymnastics","sports_handball","sports_hockey","sports_kabaddi","sports_martial_arts","sports_mma","sports_motorsports","sports_rugby","sports_score","sports_soccer","sports_tennis","sports_volleyball","square","square_foot","ssid_chart","stacked_bar_chart","stacked_line_chart","stadium","stairs","star","star_border","star_border_purple500","star_half","star_outline","star_purple500","star_rate","stars","start","stay_current_landscape","stay_current_portrait","stay_primary_landscape","stay_primary_portrait","sticky_note_2","stop","stop_circle","stop_screen_share","storage","store","store_mall_directory","storefront","storm","straight","straighten","stream","streetview","strikethrough_s","stroller","style","subdirectory_arrow_left","subdirectory_arrow_right","subject","subscript","subscriptions","subtitles","subtitles_off","subway","summarize","superscript","supervised_user_circle","supervisor_account","support","support_agent","surfing","surround_sound","swap_calls","swap_horiz","swap_horizontal_circle","swap_vert","swap_vertical_circle","swipe","swipe_down","swipe_down_alt","swipe_left","swipe_left_alt","swipe_right","swipe_right_alt","swipe_up","swipe_up_alt","swipe_vertical","switch_access_shortcut","switch_access_shortcut_add","switch_account","switch_camera","switch_left","switch_right","switch_video","synagogue","sync","sync_alt","sync_disabled","sync_lock","sync_problem","system_security_update","system_security_update_good","system_security_update_warning","system_update","system_update_alt","tab","tab_unselected","table_bar","table_chart","table_restaurant","table_rows","table_view","tablet","tablet_android","tablet_mac","tag","tag_faces","takeout_dining","tap_and_play","tapas","task","task_alt","taxi_alert","temple_buddhist","temple_hindu","terminal","terrain","text_decrease","text_fields","text_format","text_increase","text_rotate_up","text_rotate_vertical","text_rotation_angledown","text_rotation_angleup","text_rotation_down","text_rotation_none","text_snippet","textsms","texture","theater_comedy","theaters","thermostat","thermostat_auto","thumb_down","thumb_down_alt","thumb_down_off_alt","thumb_up","thumb_up_alt","thumb_up_off_alt","thumbs_up_down","thunderstorm","time_to_leave","timelapse","timeline","timer","timer_10","timer_10_select","timer_3","timer_3_select","timer_off","tips_and_updates","tire_repair","title","toc","today","toggle_off","toggle_on","token","toll","tonality","topic","tornado","touch_app","tour","toys","track_changes","traffic","train","tram","transcribe","transfer_within_a_station","transform","transgender","transit_enterexit","translate","travel_explore","trending_down","trending_flat","trending_up","trip_origin","troubleshoot","try","tsunami","tty","tune","tungsten","turn_left","turn_right","turn_sharp_left","turn_sharp_right","turn_slight_left","turn_slight_right","turned_in","turned_in_not","tv","tv_off","two_wheeler","type_specimen","u_turn_left","u_turn_right","umbrella","unarchive","undo","unfold_less","unfold_less_double","unfold_more","unfold_more_double","unpublished","unsubscribe","upcoming","update","update_disabled","upgrade","upload","upload_file","usb","usb_off","vaccines","vape_free","vaping_rooms","verified","verified_user","vertical_align_bottom","vertical_align_center","vertical_align_top","vertical_distribute","vertical_shades","vertical_shades_closed","vertical_split","vibration","video_call","video_camera_back","video_camera_front","video_chat","video_file","video_label","video_library","video_settings","video_stable","videocam","videocam_off","videogame_asset","videogame_asset_off","view_agenda","view_array","view_carousel","view_column","view_comfy","view_comfy_alt","view_compact","view_compact_alt","view_cozy","view_day","view_headline","view_in_ar","view_kanban","view_list","view_module","view_quilt","view_sidebar","view_stream","view_timeline","view_week","vignette","villa","visibility","visibility_off","voice_chat","voice_over_off","voicemail","volcano","volume_down","volume_mute","volume_off","volume_up","volunteer_activism","vpn_key","vpn_key_off","vpn_lock","vrpano","wallet","wallpaper","warehouse","warning","warning_amber","wash","watch","watch_later","watch_off","water","water_damage","water_drop","waterfall_chart","waves","waving_hand","wb_auto","wb_cloudy","wb_incandescent","wb_iridescent","wb_shade","wb_sunny","wb_twilight","wc","web","web_asset","web_asset_off","web_stories","webhook","weekend","west","whatshot","wheelchair_pickup","where_to_vote","widgets","width_full","width_normal","width_wide","wifi","wifi_1_bar","wifi_2_bar","wifi_calling","wifi_calling_3","wifi_channel","wifi_find","wifi_lock","wifi_off","wifi_password","wifi_protected_setup","wifi_tethering","wifi_tethering_error","wifi_tethering_off","wind_power","window","wine_bar","woman","woman_2","work","work_history","work_off","work_outline","workspace_premium","workspaces","wrap_text","wrong_location","wysiwyg","yard","youtube_searched_for","zoom_in","zoom_in_map","zoom_out","zoom_out_map"],cl={inherit:"",primary:"text-primary",success:"text-green-500",warning:"text-yellow-500",secondary:"text-secondary",disabled:"text-disabled dark:text-disabled-dark",error:"text-red-500"};function r({iconKey:e,size:t="medium",color:c,className:i,onClick:a,style:l}){let s;switch(t){case"smallest":s=16;break;case"small":s=20;break;case"medium":s=24;break;case"large":s=28;break;default:s=t}return s||(s=24),n.jsx("span",{style:{fontSize:`${s}px`,display:"block",...l},className:E("material-icons",c?cl[c]:"","select-none",i),onClick:a,children:e})}function il(e){return n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:e.className,fill:"currentColor",width:e.size??24,height:e.size??24,viewBox:"0 0 24 24",children:n.jsx("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}function tc(e){return n.jsx(r,{...e,iconKey:"search"})}function al(e){return n.jsx(r,{...e,iconKey:"123"})}function ll(e){return n.jsx(r,{...e,iconKey:"360"})}function sl(e){return n.jsx(r,{...e,iconKey:"10k"})}function dl(e){return n.jsx(r,{...e,iconKey:"10mp"})}function ul(e){return n.jsx(r,{...e,iconKey:"11mp"})}function fl(e){return n.jsx(r,{...e,iconKey:"12mp"})}function Al(e){return n.jsx(r,{...e,iconKey:"13mp"})}function _l(e){return n.jsx(r,{...e,iconKey:"14mp"})}function yl(e){return n.jsx(r,{...e,iconKey:"15mp"})}function gl(e){return n.jsx(r,{...e,iconKey:"16mp"})}function hl(e){return n.jsx(r,{...e,iconKey:"17mp"})}function Il(e){return n.jsx(r,{...e,iconKey:"18_up_rating"})}function bl(e){return n.jsx(r,{...e,iconKey:"18mp"})}function pl(e){return n.jsx(r,{...e,iconKey:"19mp"})}function wl(e){return n.jsx(r,{...e,iconKey:"1k"})}function kl(e){return n.jsx(r,{...e,iconKey:"1k_plus"})}function ml(e){return n.jsx(r,{...e,iconKey:"1x_mobiledata"})}function vl(e){return n.jsx(r,{...e,iconKey:"20mp"})}function Kl(e){return n.jsx(r,{...e,iconKey:"21mp"})}function Cl(e){return n.jsx(r,{...e,iconKey:"22mp"})}function Sl(e){return n.jsx(r,{...e,iconKey:"23mp"})}function Bl(e){return n.jsx(r,{...e,iconKey:"24mp"})}function El(e){return n.jsx(r,{...e,iconKey:"2k"})}function Fl(e){return n.jsx(r,{...e,iconKey:"2k_plus"})}function Pl(e){return n.jsx(r,{...e,iconKey:"2mp"})}function Dl(e){return n.jsx(r,{...e,iconKey:"30fps"})}function Nl(e){return n.jsx(r,{...e,iconKey:"30fps_select"})}function Tl(e){return n.jsx(r,{...e,iconKey:"3d_rotation"})}function Ml(e){return n.jsx(r,{...e,iconKey:"3g_mobiledata"})}function Ol(e){return n.jsx(r,{...e,iconKey:"3k"})}function Ll(e){return n.jsx(r,{...e,iconKey:"3k_plus"})}function Ql(e){return n.jsx(r,{...e,iconKey:"3mp"})}function Vl(e){return n.jsx(r,{...e,iconKey:"3p"})}function Wl(e){return n.jsx(r,{...e,iconKey:"4g_mobiledata"})}function Gl(e){return n.jsx(r,{...e,iconKey:"4g_plus_mobiledata"})}function zl(e){return n.jsx(r,{...e,iconKey:"4k"})}function Hl(e){return n.jsx(r,{...e,iconKey:"4k_plus"})}function Ul(e){return n.jsx(r,{...e,iconKey:"4mp"})}function Yl(e){return n.jsx(r,{...e,iconKey:"5g"})}function $l(e){return n.jsx(r,{...e,iconKey:"5k"})}function jl(e){return n.jsx(r,{...e,iconKey:"5k_plus"})}function ql(e){return n.jsx(r,{...e,iconKey:"5mp"})}function Jl(e){return n.jsx(r,{...e,iconKey:"60fps"})}function Zl(e){return n.jsx(r,{...e,iconKey:"60fps_select"})}function Xl(e){return n.jsx(r,{...e,iconKey:"6_ft_apart"})}function xl(e){return n.jsx(r,{...e,iconKey:"6k"})}function Rl(e){return n.jsx(r,{...e,iconKey:"6k_plus"})}function es(e){return n.jsx(r,{...e,iconKey:"6mp"})}function ns(e){return n.jsx(r,{...e,iconKey:"7k"})}function os(e){return n.jsx(r,{...e,iconKey:"7k_plus"})}function rs(e){return n.jsx(r,{...e,iconKey:"7mp"})}function ts(e){return n.jsx(r,{...e,iconKey:"8k"})}function cs(e){return n.jsx(r,{...e,iconKey:"8k_plus"})}function is(e){return n.jsx(r,{...e,iconKey:"8mp"})}function as(e){return n.jsx(r,{...e,iconKey:"9k"})}function ls(e){return n.jsx(r,{...e,iconKey:"9k_plus"})}function ss(e){return n.jsx(r,{...e,iconKey:"9mp"})}function ds(e){return n.jsx(r,{...e,iconKey:"abc"})}function us(e){return n.jsx(r,{...e,iconKey:"ac_unit"})}function fs(e){return n.jsx(r,{...e,iconKey:"access_alarm"})}function As(e){return n.jsx(r,{...e,iconKey:"access_alarms"})}function _s(e){return n.jsx(r,{...e,iconKey:"access_time"})}function ys(e){return n.jsx(r,{...e,iconKey:"access_time_filled"})}function gs(e){return n.jsx(r,{...e,iconKey:"accessibility"})}function hs(e){return n.jsx(r,{...e,iconKey:"accessibility_new"})}function Is(e){return n.jsx(r,{...e,iconKey:"accessible"})}function bs(e){return n.jsx(r,{...e,iconKey:"accessible_forward"})}function ps(e){return n.jsx(r,{...e,iconKey:"account_balance"})}function ws(e){return n.jsx(r,{...e,iconKey:"account_balance_wallet"})}function ks(e){return n.jsx(r,{...e,iconKey:"account_box"})}function ms(e){return n.jsx(r,{...e,iconKey:"account_circle"})}function vs(e){return n.jsx(r,{...e,iconKey:"account_tree"})}function Ks(e){return n.jsx(r,{...e,iconKey:"ad_units"})}function Cs(e){return n.jsx(r,{...e,iconKey:"adb"})}function bn(e){return n.jsx(r,{...e,iconKey:"add"})}function Ss(e){return n.jsx(r,{...e,iconKey:"add_a_photo"})}function Bs(e){return n.jsx(r,{...e,iconKey:"add_alarm"})}function Es(e){return n.jsx(r,{...e,iconKey:"add_alert"})}function Fs(e){return n.jsx(r,{...e,iconKey:"add_box"})}function Ps(e){return n.jsx(r,{...e,iconKey:"add_business"})}function Ds(e){return n.jsx(r,{...e,iconKey:"add_card"})}function Ns(e){return n.jsx(r,{...e,iconKey:"add_chart"})}function Ts(e){return n.jsx(r,{...e,iconKey:"add_circle"})}function Ms(e){return n.jsx(r,{...e,iconKey:"add_circle_outline"})}function Os(e){return n.jsx(r,{...e,iconKey:"add_comment"})}function Ls(e){return n.jsx(r,{...e,iconKey:"add_home"})}function Qs(e){return n.jsx(r,{...e,iconKey:"add_home_work"})}function Vs(e){return n.jsx(r,{...e,iconKey:"add_ic_call"})}function cc(e){return n.jsx(r,{...e,iconKey:"add_link"})}function Ws(e){return n.jsx(r,{...e,iconKey:"add_location"})}function Gs(e){return n.jsx(r,{...e,iconKey:"add_location_alt"})}function zs(e){return n.jsx(r,{...e,iconKey:"add_moderator"})}function Hs(e){return n.jsx(r,{...e,iconKey:"add_photo_alternate"})}function Us(e){return n.jsx(r,{...e,iconKey:"add_reaction"})}function Ys(e){return n.jsx(r,{...e,iconKey:"add_road"})}function $s(e){return n.jsx(r,{...e,iconKey:"add_shopping_cart"})}function js(e){return n.jsx(r,{...e,iconKey:"add_task"})}function qs(e){return n.jsx(r,{...e,iconKey:"add_to_drive"})}function Js(e){return n.jsx(r,{...e,iconKey:"add_to_home_screen"})}function Zs(e){return n.jsx(r,{...e,iconKey:"add_to_photos"})}function Xs(e){return n.jsx(r,{...e,iconKey:"add_to_queue"})}function xs(e){return n.jsx(r,{...e,iconKey:"adf_scanner"})}function Rs(e){return n.jsx(r,{...e,iconKey:"adjust"})}function ed(e){return n.jsx(r,{...e,iconKey:"admin_panel_settings"})}function nd(e){return n.jsx(r,{...e,iconKey:"ads_click"})}function od(e){return n.jsx(r,{...e,iconKey:"agriculture"})}function rd(e){return n.jsx(r,{...e,iconKey:"air"})}function td(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat"})}function cd(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat_angled"})}function id(e){return n.jsx(r,{...e,iconKey:"airline_seat_individual_suite"})}function ad(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_extra"})}function ld(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_normal"})}function sd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_reduced"})}function dd(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_extra"})}function ud(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_normal"})}function fd(e){return n.jsx(r,{...e,iconKey:"airline_stops"})}function Ad(e){return n.jsx(r,{...e,iconKey:"airlines"})}function _d(e){return n.jsx(r,{...e,iconKey:"airplane_ticket"})}function yd(e){return n.jsx(r,{...e,iconKey:"airplanemode_active"})}function gd(e){return n.jsx(r,{...e,iconKey:"airplanemode_inactive"})}function hd(e){return n.jsx(r,{...e,iconKey:"airplay"})}function Id(e){return n.jsx(r,{...e,iconKey:"airport_shuttle"})}function bd(e){return n.jsx(r,{...e,iconKey:"alarm"})}function pd(e){return n.jsx(r,{...e,iconKey:"alarm_add"})}function wd(e){return n.jsx(r,{...e,iconKey:"alarm_off"})}function kd(e){return n.jsx(r,{...e,iconKey:"alarm_on"})}function md(e){return n.jsx(r,{...e,iconKey:"album"})}function vd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_center"})}function Kd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_left"})}function Cd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_right"})}function Sd(e){return n.jsx(r,{...e,iconKey:"align_vertical_bottom"})}function Bd(e){return n.jsx(r,{...e,iconKey:"align_vertical_center"})}function Ed(e){return n.jsx(r,{...e,iconKey:"align_vertical_top"})}function Fd(e){return n.jsx(r,{...e,iconKey:"all_inbox"})}function Pd(e){return n.jsx(r,{...e,iconKey:"all_inclusive"})}function Dd(e){return n.jsx(r,{...e,iconKey:"all_out"})}function Nd(e){return n.jsx(r,{...e,iconKey:"alt_route"})}function Td(e){return n.jsx(r,{...e,iconKey:"alternate_email"})}function Md(e){return n.jsx(r,{...e,iconKey:"analytics"})}function Od(e){return n.jsx(r,{...e,iconKey:"anchor"})}function Ld(e){return n.jsx(r,{...e,iconKey:"android"})}function Qd(e){return n.jsx(r,{...e,iconKey:"animation"})}function Vd(e){return n.jsx(r,{...e,iconKey:"announcement"})}function Wd(e){return n.jsx(r,{...e,iconKey:"aod"})}function Gd(e){return n.jsx(r,{...e,iconKey:"apartment"})}function zd(e){return n.jsx(r,{...e,iconKey:"api"})}function Hd(e){return n.jsx(r,{...e,iconKey:"app_blocking"})}function Ud(e){return n.jsx(r,{...e,iconKey:"app_registration"})}function Yd(e){return n.jsx(r,{...e,iconKey:"app_settings_alt"})}function $d(e){return n.jsx(r,{...e,iconKey:"app_shortcut"})}function jd(e){return n.jsx(r,{...e,iconKey:"approval"})}function qd(e){return n.jsx(r,{...e,iconKey:"apps"})}function Jd(e){return n.jsx(r,{...e,iconKey:"apps_outage"})}function Zd(e){return n.jsx(r,{...e,iconKey:"architecture"})}function Xd(e){return n.jsx(r,{...e,iconKey:"archive"})}function xd(e){return n.jsx(r,{...e,iconKey:"area_chart"})}function Rd(e){return n.jsx(r,{...e,iconKey:"arrow_back"})}function eu(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios"})}function nu(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios_new"})}function ou(e){return n.jsx(r,{...e,iconKey:"arrow_circle_down"})}function ru(e){return n.jsx(r,{...e,iconKey:"arrow_circle_left"})}function tu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_right"})}function cu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_up"})}function iu(e){return n.jsx(r,{...e,iconKey:"arrow_downward"})}function _r(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down"})}function au(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down_circle"})}function lu(e){return n.jsx(r,{...e,iconKey:"arrow_drop_up"})}function ic(e){return n.jsx(r,{...e,iconKey:"arrow_forward"})}function su(e){return n.jsx(r,{...e,iconKey:"arrow_forward_ios"})}function du(e){return n.jsx(r,{...e,iconKey:"arrow_left"})}function uu(e){return n.jsx(r,{...e,iconKey:"arrow_outward"})}function fu(e){return n.jsx(r,{...e,iconKey:"arrow_right"})}function Au(e){return n.jsx(r,{...e,iconKey:"arrow_right_alt"})}function Eo(e){return n.jsx(r,{...e,iconKey:"arrow_upward"})}function _u(e){return n.jsx(r,{...e,iconKey:"art_track"})}function yu(e){return n.jsx(r,{...e,iconKey:"article"})}function gu(e){return n.jsx(r,{...e,iconKey:"aspect_ratio"})}function hu(e){return n.jsx(r,{...e,iconKey:"assessment"})}function ac(e){return n.jsx(r,{...e,iconKey:"assignment"})}function Iu(e){return n.jsx(r,{...e,iconKey:"assignment_ind"})}function bu(e){return n.jsx(r,{...e,iconKey:"assignment_late"})}function pu(e){return n.jsx(r,{...e,iconKey:"assignment_return"})}function wu(e){return n.jsx(r,{...e,iconKey:"assignment_returned"})}function ku(e){return n.jsx(r,{...e,iconKey:"assignment_turned_in"})}function mu(e){return n.jsx(r,{...e,iconKey:"assist_walker"})}function vu(e){return n.jsx(r,{...e,iconKey:"assistant"})}function Ku(e){return n.jsx(r,{...e,iconKey:"assistant_direction"})}function Cu(e){return n.jsx(r,{...e,iconKey:"assistant_photo"})}function Su(e){return n.jsx(r,{...e,iconKey:"assured_workload"})}function Bu(e){return n.jsx(r,{...e,iconKey:"atm"})}function Eu(e){return n.jsx(r,{...e,iconKey:"attach_email"})}function Fu(e){return n.jsx(r,{...e,iconKey:"attach_file"})}function Pu(e){return n.jsx(r,{...e,iconKey:"attach_money"})}function Du(e){return n.jsx(r,{...e,iconKey:"attachment"})}function Nu(e){return n.jsx(r,{...e,iconKey:"attractions"})}function Tu(e){return n.jsx(r,{...e,iconKey:"attribution"})}function Mu(e){return n.jsx(r,{...e,iconKey:"audio_file"})}function Ou(e){return n.jsx(r,{...e,iconKey:"audiotrack"})}function Lu(e){return n.jsx(r,{...e,iconKey:"auto_awesome"})}function Qu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_mosaic"})}function Vu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_motion"})}function Wu(e){return n.jsx(r,{...e,iconKey:"auto_delete"})}function Gu(e){return n.jsx(r,{...e,iconKey:"auto_fix_high"})}function zu(e){return n.jsx(r,{...e,iconKey:"auto_fix_normal"})}function Hu(e){return n.jsx(r,{...e,iconKey:"auto_fix_off"})}function Uu(e){return n.jsx(r,{...e,iconKey:"auto_graph"})}function Yu(e){return n.jsx(r,{...e,iconKey:"auto_mode"})}function $u(e){return n.jsx(r,{...e,iconKey:"auto_stories"})}function ju(e){return n.jsx(r,{...e,iconKey:"autofps_select"})}function qu(e){return n.jsx(r,{...e,iconKey:"autorenew"})}function Ju(e){return n.jsx(r,{...e,iconKey:"av_timer"})}function Zu(e){return n.jsx(r,{...e,iconKey:"baby_changing_station"})}function Xu(e){return n.jsx(r,{...e,iconKey:"back_hand"})}function xu(e){return n.jsx(r,{...e,iconKey:"backpack"})}function Ru(e){return n.jsx(r,{...e,iconKey:"backspace"})}function ef(e){return n.jsx(r,{...e,iconKey:"backup"})}function nf(e){return n.jsx(r,{...e,iconKey:"backup_table"})}function of(e){return n.jsx(r,{...e,iconKey:"badge"})}function rf(e){return n.jsx(r,{...e,iconKey:"bakery_dining"})}function tf(e){return n.jsx(r,{...e,iconKey:"balance"})}function cf(e){return n.jsx(r,{...e,iconKey:"balcony"})}function yr(e){return n.jsx(r,{...e,iconKey:"ballot"})}function af(e){return n.jsx(r,{...e,iconKey:"bar_chart"})}function lf(e){return n.jsx(r,{...e,iconKey:"batch_prediction"})}function sf(e){return n.jsx(r,{...e,iconKey:"bathroom"})}function df(e){return n.jsx(r,{...e,iconKey:"bathtub"})}function uf(e){return n.jsx(r,{...e,iconKey:"battery_0_bar"})}function ff(e){return n.jsx(r,{...e,iconKey:"battery_1_bar"})}function Af(e){return n.jsx(r,{...e,iconKey:"battery_2_bar"})}function _f(e){return n.jsx(r,{...e,iconKey:"battery_3_bar"})}function yf(e){return n.jsx(r,{...e,iconKey:"battery_4_bar"})}function gf(e){return n.jsx(r,{...e,iconKey:"battery_5_bar"})}function hf(e){return n.jsx(r,{...e,iconKey:"battery_6_bar"})}function If(e){return n.jsx(r,{...e,iconKey:"battery_alert"})}function bf(e){return n.jsx(r,{...e,iconKey:"battery_charging_full"})}function pf(e){return n.jsx(r,{...e,iconKey:"battery_full"})}function wf(e){return n.jsx(r,{...e,iconKey:"battery_saver"})}function kf(e){return n.jsx(r,{...e,iconKey:"battery_std"})}function mf(e){return n.jsx(r,{...e,iconKey:"battery_unknown"})}function vf(e){return n.jsx(r,{...e,iconKey:"beach_access"})}function Kf(e){return n.jsx(r,{...e,iconKey:"bed"})}function Cf(e){return n.jsx(r,{...e,iconKey:"bedroom_baby"})}function Sf(e){return n.jsx(r,{...e,iconKey:"bedroom_child"})}function Bf(e){return n.jsx(r,{...e,iconKey:"bedroom_parent"})}function Ef(e){return n.jsx(r,{...e,iconKey:"bedtime"})}function Ff(e){return n.jsx(r,{...e,iconKey:"bedtime_off"})}function Pf(e){return n.jsx(r,{...e,iconKey:"beenhere"})}function Df(e){return n.jsx(r,{...e,iconKey:"bento"})}function Nf(e){return n.jsx(r,{...e,iconKey:"bike_scooter"})}function Tf(e){return n.jsx(r,{...e,iconKey:"biotech"})}function Mf(e){return n.jsx(r,{...e,iconKey:"blender"})}function Of(e){return n.jsx(r,{...e,iconKey:"blind"})}function Lf(e){return n.jsx(r,{...e,iconKey:"blinds"})}function Qf(e){return n.jsx(r,{...e,iconKey:"blinds_closed"})}function Vf(e){return n.jsx(r,{...e,iconKey:"block"})}function Wf(e){return n.jsx(r,{...e,iconKey:"bloodtype"})}function Gf(e){return n.jsx(r,{...e,iconKey:"bluetooth"})}function zf(e){return n.jsx(r,{...e,iconKey:"bluetooth_audio"})}function Hf(e){return n.jsx(r,{...e,iconKey:"bluetooth_connected"})}function Uf(e){return n.jsx(r,{...e,iconKey:"bluetooth_disabled"})}function Yf(e){return n.jsx(r,{...e,iconKey:"bluetooth_drive"})}function $f(e){return n.jsx(r,{...e,iconKey:"bluetooth_searching"})}function jf(e){return n.jsx(r,{...e,iconKey:"blur_circular"})}function qf(e){return n.jsx(r,{...e,iconKey:"blur_linear"})}function Jf(e){return n.jsx(r,{...e,iconKey:"blur_off"})}function Zf(e){return n.jsx(r,{...e,iconKey:"blur_on"})}function Xf(e){return n.jsx(r,{...e,iconKey:"bolt"})}function xf(e){return n.jsx(r,{...e,iconKey:"book"})}function Rf(e){return n.jsx(r,{...e,iconKey:"book_online"})}function eA(e){return n.jsx(r,{...e,iconKey:"bookmark"})}function nA(e){return n.jsx(r,{...e,iconKey:"bookmark_add"})}function oA(e){return n.jsx(r,{...e,iconKey:"bookmark_added"})}function rA(e){return n.jsx(r,{...e,iconKey:"bookmark_border"})}function tA(e){return n.jsx(r,{...e,iconKey:"bookmark_remove"})}function cA(e){return n.jsx(r,{...e,iconKey:"bookmarks"})}function iA(e){return n.jsx(r,{...e,iconKey:"border_all"})}function aA(e){return n.jsx(r,{...e,iconKey:"border_bottom"})}function lA(e){return n.jsx(r,{...e,iconKey:"border_clear"})}function sA(e){return n.jsx(r,{...e,iconKey:"border_color"})}function dA(e){return n.jsx(r,{...e,iconKey:"border_horizontal"})}function uA(e){return n.jsx(r,{...e,iconKey:"border_inner"})}function fA(e){return n.jsx(r,{...e,iconKey:"border_left"})}function AA(e){return n.jsx(r,{...e,iconKey:"border_outer"})}function _A(e){return n.jsx(r,{...e,iconKey:"border_right"})}function yA(e){return n.jsx(r,{...e,iconKey:"border_style"})}function gA(e){return n.jsx(r,{...e,iconKey:"border_top"})}function hA(e){return n.jsx(r,{...e,iconKey:"border_vertical"})}function IA(e){return n.jsx(r,{...e,iconKey:"boy"})}function bA(e){return n.jsx(r,{...e,iconKey:"branding_watermark"})}function pA(e){return n.jsx(r,{...e,iconKey:"breakfast_dining"})}function wA(e){return n.jsx(r,{...e,iconKey:"brightness_1"})}function kA(e){return n.jsx(r,{...e,iconKey:"brightness_2"})}function mA(e){return n.jsx(r,{...e,iconKey:"brightness_3"})}function vA(e){return n.jsx(r,{...e,iconKey:"brightness_4"})}function KA(e){return n.jsx(r,{...e,iconKey:"brightness_5"})}function CA(e){return n.jsx(r,{...e,iconKey:"brightness_6"})}function SA(e){return n.jsx(r,{...e,iconKey:"brightness_7"})}function BA(e){return n.jsx(r,{...e,iconKey:"brightness_auto"})}function EA(e){return n.jsx(r,{...e,iconKey:"brightness_high"})}function FA(e){return n.jsx(r,{...e,iconKey:"brightness_low"})}function PA(e){return n.jsx(r,{...e,iconKey:"brightness_medium"})}function DA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_home"})}function NA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_personal"})}function TA(e){return n.jsx(r,{...e,iconKey:"broken_image"})}function MA(e){return n.jsx(r,{...e,iconKey:"browse_gallery"})}function OA(e){return n.jsx(r,{...e,iconKey:"browser_not_supported"})}function LA(e){return n.jsx(r,{...e,iconKey:"browser_updated"})}function QA(e){return n.jsx(r,{...e,iconKey:"brunch_dining"})}function VA(e){return n.jsx(r,{...e,iconKey:"brush"})}function WA(e){return n.jsx(r,{...e,iconKey:"bubble_chart"})}function GA(e){return n.jsx(r,{...e,iconKey:"bug_report"})}function zA(e){return n.jsx(r,{...e,iconKey:"build"})}function HA(e){return n.jsx(r,{...e,iconKey:"build_circle"})}function UA(e){return n.jsx(r,{...e,iconKey:"bungalow"})}function YA(e){return n.jsx(r,{...e,iconKey:"burst_mode"})}function $A(e){return n.jsx(r,{...e,iconKey:"bus_alert"})}function jA(e){return n.jsx(r,{...e,iconKey:"business"})}function qA(e){return n.jsx(r,{...e,iconKey:"business_center"})}function JA(e){return n.jsx(r,{...e,iconKey:"cabin"})}function ZA(e){return n.jsx(r,{...e,iconKey:"cable"})}function XA(e){return n.jsx(r,{...e,iconKey:"cached"})}function xA(e){return n.jsx(r,{...e,iconKey:"cake"})}function RA(e){return n.jsx(r,{...e,iconKey:"calculate"})}function lc(e){return n.jsx(r,{...e,iconKey:"calendar_month"})}function e_(e){return n.jsx(r,{...e,iconKey:"calendar_today"})}function n_(e){return n.jsx(r,{...e,iconKey:"calendar_view_day"})}function o_(e){return n.jsx(r,{...e,iconKey:"calendar_view_month"})}function r_(e){return n.jsx(r,{...e,iconKey:"calendar_view_week"})}function t_(e){return n.jsx(r,{...e,iconKey:"call"})}function c_(e){return n.jsx(r,{...e,iconKey:"call_end"})}function i_(e){return n.jsx(r,{...e,iconKey:"call_made"})}function a_(e){return n.jsx(r,{...e,iconKey:"call_merge"})}function l_(e){return n.jsx(r,{...e,iconKey:"call_missed"})}function s_(e){return n.jsx(r,{...e,iconKey:"call_missed_outgoing"})}function d_(e){return n.jsx(r,{...e,iconKey:"call_received"})}function u_(e){return n.jsx(r,{...e,iconKey:"call_split"})}function f_(e){return n.jsx(r,{...e,iconKey:"call_to_action"})}function A_(e){return n.jsx(r,{...e,iconKey:"camera"})}function __(e){return n.jsx(r,{...e,iconKey:"camera_alt"})}function y_(e){return n.jsx(r,{...e,iconKey:"camera_enhance"})}function g_(e){return n.jsx(r,{...e,iconKey:"camera_front"})}function h_(e){return n.jsx(r,{...e,iconKey:"camera_indoor"})}function I_(e){return n.jsx(r,{...e,iconKey:"camera_outdoor"})}function b_(e){return n.jsx(r,{...e,iconKey:"camera_rear"})}function p_(e){return n.jsx(r,{...e,iconKey:"camera_roll"})}function w_(e){return n.jsx(r,{...e,iconKey:"cameraswitch"})}function k_(e){return n.jsx(r,{...e,iconKey:"campaign"})}function m_(e){return n.jsx(r,{...e,iconKey:"cancel"})}function v_(e){return n.jsx(r,{...e,iconKey:"cancel_presentation"})}function K_(e){return n.jsx(r,{...e,iconKey:"cancel_schedule_send"})}function C_(e){return n.jsx(r,{...e,iconKey:"candlestick_chart"})}function S_(e){return n.jsx(r,{...e,iconKey:"car_crash"})}function B_(e){return n.jsx(r,{...e,iconKey:"car_rental"})}function E_(e){return n.jsx(r,{...e,iconKey:"car_repair"})}function F_(e){return n.jsx(r,{...e,iconKey:"card_giftcard"})}function P_(e){return n.jsx(r,{...e,iconKey:"card_membership"})}function D_(e){return n.jsx(r,{...e,iconKey:"card_travel"})}function N_(e){return n.jsx(r,{...e,iconKey:"carpenter"})}function T_(e){return n.jsx(r,{...e,iconKey:"cases"})}function M_(e){return n.jsx(r,{...e,iconKey:"casino"})}function O_(e){return n.jsx(r,{...e,iconKey:"cast"})}function L_(e){return n.jsx(r,{...e,iconKey:"cast_connected"})}function Q_(e){return n.jsx(r,{...e,iconKey:"cast_for_education"})}function V_(e){return n.jsx(r,{...e,iconKey:"castle"})}function W_(e){return n.jsx(r,{...e,iconKey:"catching_pokemon"})}function G_(e){return n.jsx(r,{...e,iconKey:"category"})}function z_(e){return n.jsx(r,{...e,iconKey:"celebration"})}function H_(e){return n.jsx(r,{...e,iconKey:"cell_tower"})}function U_(e){return n.jsx(r,{...e,iconKey:"cell_wifi"})}function Y_(e){return n.jsx(r,{...e,iconKey:"center_focus_strong"})}function $_(e){return n.jsx(r,{...e,iconKey:"center_focus_weak"})}function j_(e){return n.jsx(r,{...e,iconKey:"chair"})}function q_(e){return n.jsx(r,{...e,iconKey:"chair_alt"})}function J_(e){return n.jsx(r,{...e,iconKey:"chalet"})}function Z_(e){return n.jsx(r,{...e,iconKey:"change_circle"})}function X_(e){return n.jsx(r,{...e,iconKey:"change_history"})}function x_(e){return n.jsx(r,{...e,iconKey:"charging_station"})}function R_(e){return n.jsx(r,{...e,iconKey:"chat"})}function ey(e){return n.jsx(r,{...e,iconKey:"chat_bubble"})}function ny(e){return n.jsx(r,{...e,iconKey:"chat_bubble_outline"})}function sc(e){return n.jsx(r,{...e,iconKey:"check"})}function oy(e){return n.jsx(r,{...e,iconKey:"check_box"})}function ry(e){return n.jsx(r,{...e,iconKey:"check_box_outline_blank"})}function ty(e){return n.jsx(r,{...e,iconKey:"check_circle"})}function cy(e){return n.jsx(r,{...e,iconKey:"check_circle_outline"})}function iy(e){return n.jsx(r,{...e,iconKey:"checklist"})}function ay(e){return n.jsx(r,{...e,iconKey:"checklist_rtl"})}function ly(e){return n.jsx(r,{...e,iconKey:"checkroom"})}function dc(e){return n.jsx(r,{...e,iconKey:"chevron_left"})}function sy(e){return n.jsx(r,{...e,iconKey:"chevron_right"})}function dy(e){return n.jsx(r,{...e,iconKey:"child_care"})}function uy(e){return n.jsx(r,{...e,iconKey:"child_friendly"})}function fy(e){return n.jsx(r,{...e,iconKey:"chrome_reader_mode"})}function Ay(e){return n.jsx(r,{...e,iconKey:"church"})}function gr(e){return n.jsx(r,{...e,iconKey:"circle"})}function _y(e){return n.jsx(r,{...e,iconKey:"circle_notifications"})}function yy(e){return n.jsx(r,{...e,iconKey:"class"})}function gy(e){return n.jsx(r,{...e,iconKey:"clean_hands"})}function hy(e){return n.jsx(r,{...e,iconKey:"cleaning_services"})}function sn(e){return n.jsx(r,{...e,iconKey:"clear"})}function Iy(e){return n.jsx(r,{...e,iconKey:"clear_all"})}function hr(e){return n.jsx(r,{...e,iconKey:"close"})}function by(e){return n.jsx(r,{...e,iconKey:"close_fullscreen"})}function py(e){return n.jsx(r,{...e,iconKey:"closed_caption"})}function wy(e){return n.jsx(r,{...e,iconKey:"closed_caption_disabled"})}function ky(e){return n.jsx(r,{...e,iconKey:"closed_caption_off"})}function my(e){return n.jsx(r,{...e,iconKey:"cloud"})}function vy(e){return n.jsx(r,{...e,iconKey:"cloud_circle"})}function Ky(e){return n.jsx(r,{...e,iconKey:"cloud_done"})}function Cy(e){return n.jsx(r,{...e,iconKey:"cloud_download"})}function Sy(e){return n.jsx(r,{...e,iconKey:"cloud_off"})}function By(e){return n.jsx(r,{...e,iconKey:"cloud_queue"})}function Ey(e){return n.jsx(r,{...e,iconKey:"cloud_sync"})}function Fy(e){return n.jsx(r,{...e,iconKey:"cloud_upload"})}function Py(e){return n.jsx(r,{...e,iconKey:"co2"})}function Dy(e){return n.jsx(r,{...e,iconKey:"co_present"})}function Ny(e){return n.jsx(r,{...e,iconKey:"code"})}function Ty(e){return n.jsx(r,{...e,iconKey:"code_off"})}function My(e){return n.jsx(r,{...e,iconKey:"coffee"})}function Oy(e){return n.jsx(r,{...e,iconKey:"coffee_maker"})}function Ly(e){return n.jsx(r,{...e,iconKey:"collections"})}function Qy(e){return n.jsx(r,{...e,iconKey:"collections_bookmark"})}function Vy(e){return n.jsx(r,{...e,iconKey:"color_lens"})}function Wy(e){return n.jsx(r,{...e,iconKey:"colorize"})}function Gy(e){return n.jsx(r,{...e,iconKey:"comment"})}function zy(e){return n.jsx(r,{...e,iconKey:"comment_bank"})}function Hy(e){return n.jsx(r,{...e,iconKey:"comments_disabled"})}function Uy(e){return n.jsx(r,{...e,iconKey:"commit"})}function Yy(e){return n.jsx(r,{...e,iconKey:"commute"})}function $y(e){return n.jsx(r,{...e,iconKey:"compare"})}function jy(e){return n.jsx(r,{...e,iconKey:"compare_arrows"})}function qy(e){return n.jsx(r,{...e,iconKey:"compass_calibration"})}function Jy(e){return n.jsx(r,{...e,iconKey:"compost"})}function Zy(e){return n.jsx(r,{...e,iconKey:"compress"})}function Xy(e){return n.jsx(r,{...e,iconKey:"computer"})}function xy(e){return n.jsx(r,{...e,iconKey:"confirmation_number"})}function Ry(e){return n.jsx(r,{...e,iconKey:"connect_without_contact"})}function eg(e){return n.jsx(r,{...e,iconKey:"connected_tv"})}function ng(e){return n.jsx(r,{...e,iconKey:"connecting_airports"})}function og(e){return n.jsx(r,{...e,iconKey:"construction"})}function rg(e){return n.jsx(r,{...e,iconKey:"contact_emergency"})}function tg(e){return n.jsx(r,{...e,iconKey:"contact_mail"})}function cg(e){return n.jsx(r,{...e,iconKey:"contact_page"})}function ig(e){return n.jsx(r,{...e,iconKey:"contact_phone"})}function ag(e){return n.jsx(r,{...e,iconKey:"contact_support"})}function lg(e){return n.jsx(r,{...e,iconKey:"contactless"})}function sg(e){return n.jsx(r,{...e,iconKey:"contacts"})}function oo(e){return n.jsx(r,{...e,iconKey:"content_copy"})}function dg(e){return n.jsx(r,{...e,iconKey:"content_cut"})}function ug(e){return n.jsx(r,{...e,iconKey:"content_paste"})}function fg(e){return n.jsx(r,{...e,iconKey:"content_paste_go"})}function Ag(e){return n.jsx(r,{...e,iconKey:"content_paste_off"})}function _g(e){return n.jsx(r,{...e,iconKey:"content_paste_search"})}function yg(e){return n.jsx(r,{...e,iconKey:"contrast"})}function gg(e){return n.jsx(r,{...e,iconKey:"control_camera"})}function hg(e){return n.jsx(r,{...e,iconKey:"control_point"})}function Ig(e){return n.jsx(r,{...e,iconKey:"control_point_duplicate"})}function bg(e){return n.jsx(r,{...e,iconKey:"cookie"})}function pg(e){return n.jsx(r,{...e,iconKey:"copy_all"})}function wg(e){return n.jsx(r,{...e,iconKey:"copyright"})}function kg(e){return n.jsx(r,{...e,iconKey:"coronavirus"})}function mg(e){return n.jsx(r,{...e,iconKey:"corporate_fare"})}function vg(e){return n.jsx(r,{...e,iconKey:"cottage"})}function Kg(e){return n.jsx(r,{...e,iconKey:"countertops"})}function Cg(e){return n.jsx(r,{...e,iconKey:"create"})}function Sg(e){return n.jsx(r,{...e,iconKey:"create_new_folder"})}function Bg(e){return n.jsx(r,{...e,iconKey:"credit_card"})}function Eg(e){return n.jsx(r,{...e,iconKey:"credit_card_off"})}function Fg(e){return n.jsx(r,{...e,iconKey:"credit_score"})}function Pg(e){return n.jsx(r,{...e,iconKey:"crib"})}function Dg(e){return n.jsx(r,{...e,iconKey:"crisis_alert"})}function Ng(e){return n.jsx(r,{...e,iconKey:"crop"})}function Tg(e){return n.jsx(r,{...e,iconKey:"crop_16_9"})}function Mg(e){return n.jsx(r,{...e,iconKey:"crop_3_2"})}function Og(e){return n.jsx(r,{...e,iconKey:"crop_5_4"})}function Lg(e){return n.jsx(r,{...e,iconKey:"crop_7_5"})}function Qg(e){return n.jsx(r,{...e,iconKey:"crop_din"})}function Vg(e){return n.jsx(r,{...e,iconKey:"crop_free"})}function Wg(e){return n.jsx(r,{...e,iconKey:"crop_landscape"})}function Gg(e){return n.jsx(r,{...e,iconKey:"crop_original"})}function zg(e){return n.jsx(r,{...e,iconKey:"crop_portrait"})}function Hg(e){return n.jsx(r,{...e,iconKey:"crop_rotate"})}function Ug(e){return n.jsx(r,{...e,iconKey:"crop_square"})}function Yg(e){return n.jsx(r,{...e,iconKey:"cruelty_free"})}function $g(e){return n.jsx(r,{...e,iconKey:"css"})}function jg(e){return n.jsx(r,{...e,iconKey:"currency_bitcoin"})}function qg(e){return n.jsx(r,{...e,iconKey:"currency_exchange"})}function Jg(e){return n.jsx(r,{...e,iconKey:"currency_franc"})}function Zg(e){return n.jsx(r,{...e,iconKey:"currency_lira"})}function Xg(e){return n.jsx(r,{...e,iconKey:"currency_pound"})}function xg(e){return n.jsx(r,{...e,iconKey:"currency_ruble"})}function Rg(e){return n.jsx(r,{...e,iconKey:"currency_rupee"})}function eh(e){return n.jsx(r,{...e,iconKey:"currency_yen"})}function nh(e){return n.jsx(r,{...e,iconKey:"currency_yuan"})}function oh(e){return n.jsx(r,{...e,iconKey:"curtains"})}function rh(e){return n.jsx(r,{...e,iconKey:"curtains_closed"})}function th(e){return n.jsx(r,{...e,iconKey:"cyclone"})}function ch(e){return n.jsx(r,{...e,iconKey:"dangerous"})}function uc(e){return n.jsx(r,{...e,iconKey:"dark_mode"})}function ih(e){return n.jsx(r,{...e,iconKey:"dashboard"})}function ah(e){return n.jsx(r,{...e,iconKey:"dashboard_customize"})}function lh(e){return n.jsx(r,{...e,iconKey:"data_array"})}function sh(e){return n.jsx(r,{...e,iconKey:"data_exploration"})}function dh(e){return n.jsx(r,{...e,iconKey:"data_object"})}function uh(e){return n.jsx(r,{...e,iconKey:"data_saver_off"})}function fh(e){return n.jsx(r,{...e,iconKey:"data_saver_on"})}function Ah(e){return n.jsx(r,{...e,iconKey:"data_thresholding"})}function _h(e){return n.jsx(r,{...e,iconKey:"data_usage"})}function yh(e){return n.jsx(r,{...e,iconKey:"dataset"})}function gh(e){return n.jsx(r,{...e,iconKey:"dataset_linked"})}function hh(e){return n.jsx(r,{...e,iconKey:"date_range"})}function Ih(e){return n.jsx(r,{...e,iconKey:"deblur"})}function bh(e){return n.jsx(r,{...e,iconKey:"deck"})}function ph(e){return n.jsx(r,{...e,iconKey:"dehaze"})}function Fo(e){return n.jsx(r,{...e,iconKey:"delete"})}function wh(e){return n.jsx(r,{...e,iconKey:"delete_forever"})}function kh(e){return n.jsx(r,{...e,iconKey:"delete_outline"})}function mh(e){return n.jsx(r,{...e,iconKey:"delete_sweep"})}function vh(e){return n.jsx(r,{...e,iconKey:"delivery_dining"})}function Kh(e){return n.jsx(r,{...e,iconKey:"density_large"})}function Ch(e){return n.jsx(r,{...e,iconKey:"density_medium"})}function Sh(e){return n.jsx(r,{...e,iconKey:"density_small"})}function Bh(e){return n.jsx(r,{...e,iconKey:"departure_board"})}function fc(e){return n.jsx(r,{...e,iconKey:"description"})}function Eh(e){return n.jsx(r,{...e,iconKey:"deselect"})}function Fh(e){return n.jsx(r,{...e,iconKey:"design_services"})}function Ph(e){return n.jsx(r,{...e,iconKey:"desk"})}function Dh(e){return n.jsx(r,{...e,iconKey:"desktop_access_disabled"})}function Nh(e){return n.jsx(r,{...e,iconKey:"desktop_mac"})}function Th(e){return n.jsx(r,{...e,iconKey:"desktop_windows"})}function Mh(e){return n.jsx(r,{...e,iconKey:"details"})}function Oh(e){return n.jsx(r,{...e,iconKey:"developer_board"})}function Lh(e){return n.jsx(r,{...e,iconKey:"developer_board_off"})}function Qh(e){return n.jsx(r,{...e,iconKey:"developer_mode"})}function Vh(e){return n.jsx(r,{...e,iconKey:"device_hub"})}function Wh(e){return n.jsx(r,{...e,iconKey:"device_thermostat"})}function Gh(e){return n.jsx(r,{...e,iconKey:"device_unknown"})}function zh(e){return n.jsx(r,{...e,iconKey:"devices"})}function Hh(e){return n.jsx(r,{...e,iconKey:"devices_fold"})}function Uh(e){return n.jsx(r,{...e,iconKey:"devices_other"})}function Yh(e){return n.jsx(r,{...e,iconKey:"dialer_sip"})}function $h(e){return n.jsx(r,{...e,iconKey:"dialpad"})}function jh(e){return n.jsx(r,{...e,iconKey:"diamond"})}function qh(e){return n.jsx(r,{...e,iconKey:"difference"})}function Jh(e){return n.jsx(r,{...e,iconKey:"dining"})}function Zh(e){return n.jsx(r,{...e,iconKey:"dinner_dining"})}function Xh(e){return n.jsx(r,{...e,iconKey:"directions"})}function xh(e){return n.jsx(r,{...e,iconKey:"directions_bike"})}function Rh(e){return n.jsx(r,{...e,iconKey:"directions_boat"})}function eI(e){return n.jsx(r,{...e,iconKey:"directions_boat_filled"})}function nI(e){return n.jsx(r,{...e,iconKey:"directions_bus"})}function oI(e){return n.jsx(r,{...e,iconKey:"directions_bus_filled"})}function rI(e){return n.jsx(r,{...e,iconKey:"directions_car"})}function tI(e){return n.jsx(r,{...e,iconKey:"directions_car_filled"})}function cI(e){return n.jsx(r,{...e,iconKey:"directions_off"})}function iI(e){return n.jsx(r,{...e,iconKey:"directions_railway"})}function aI(e){return n.jsx(r,{...e,iconKey:"directions_railway_filled"})}function lI(e){return n.jsx(r,{...e,iconKey:"directions_run"})}function sI(e){return n.jsx(r,{...e,iconKey:"directions_subway"})}function dI(e){return n.jsx(r,{...e,iconKey:"directions_subway_filled"})}function uI(e){return n.jsx(r,{...e,iconKey:"directions_transit"})}function fI(e){return n.jsx(r,{...e,iconKey:"directions_transit_filled"})}function AI(e){return n.jsx(r,{...e,iconKey:"directions_walk"})}function _I(e){return n.jsx(r,{...e,iconKey:"dirty_lens"})}function yI(e){return n.jsx(r,{...e,iconKey:"disabled_by_default"})}function gI(e){return n.jsx(r,{...e,iconKey:"disabled_visible"})}function hI(e){return n.jsx(r,{...e,iconKey:"disc_full"})}function II(e){return n.jsx(r,{...e,iconKey:"discount"})}function bI(e){return n.jsx(r,{...e,iconKey:"display_settings"})}function pI(e){return n.jsx(r,{...e,iconKey:"diversity_1"})}function wI(e){return n.jsx(r,{...e,iconKey:"diversity_2"})}function kI(e){return n.jsx(r,{...e,iconKey:"diversity_3"})}function mI(e){return n.jsx(r,{...e,iconKey:"dns"})}function vI(e){return n.jsx(r,{...e,iconKey:"do_disturb"})}function KI(e){return n.jsx(r,{...e,iconKey:"do_disturb_alt"})}function CI(e){return n.jsx(r,{...e,iconKey:"do_disturb_off"})}function SI(e){return n.jsx(r,{...e,iconKey:"do_disturb_on"})}function BI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb"})}function EI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_alt"})}function FI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_off"})}function PI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on"})}function DI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on_total_silence"})}function NI(e){return n.jsx(r,{...e,iconKey:"do_not_step"})}function TI(e){return n.jsx(r,{...e,iconKey:"do_not_touch"})}function MI(e){return n.jsx(r,{...e,iconKey:"dock"})}function OI(e){return n.jsx(r,{...e,iconKey:"document_scanner"})}function LI(e){return n.jsx(r,{...e,iconKey:"domain"})}function QI(e){return n.jsx(r,{...e,iconKey:"domain_add"})}function VI(e){return n.jsx(r,{...e,iconKey:"domain_disabled"})}function WI(e){return n.jsx(r,{...e,iconKey:"domain_verification"})}function GI(e){return n.jsx(r,{...e,iconKey:"done"})}function zI(e){return n.jsx(r,{...e,iconKey:"done_all"})}function HI(e){return n.jsx(r,{...e,iconKey:"done_outline"})}function UI(e){return n.jsx(r,{...e,iconKey:"donut_large"})}function YI(e){return n.jsx(r,{...e,iconKey:"donut_small"})}function $I(e){return n.jsx(r,{...e,iconKey:"door_back"})}function jI(e){return n.jsx(r,{...e,iconKey:"door_front"})}function qI(e){return n.jsx(r,{...e,iconKey:"door_sliding"})}function JI(e){return n.jsx(r,{...e,iconKey:"doorbell"})}function ZI(e){return n.jsx(r,{...e,iconKey:"double_arrow"})}function XI(e){return n.jsx(r,{...e,iconKey:"downhill_skiing"})}function xI(e){return n.jsx(r,{...e,iconKey:"download"})}function RI(e){return n.jsx(r,{...e,iconKey:"download_done"})}function eb(e){return n.jsx(r,{...e,iconKey:"download_for_offline"})}function nb(e){return n.jsx(r,{...e,iconKey:"downloading"})}function ob(e){return n.jsx(r,{...e,iconKey:"drafts"})}function rb(e){return n.jsx(r,{...e,iconKey:"drag_handle"})}function tb(e){return n.jsx(r,{...e,iconKey:"drag_indicator"})}function cb(e){return n.jsx(r,{...e,iconKey:"draw"})}function ib(e){return n.jsx(r,{...e,iconKey:"drive_eta"})}function ab(e){return n.jsx(r,{...e,iconKey:"drive_file_move"})}function lb(e){return n.jsx(r,{...e,iconKey:"drive_file_move_rtl"})}function sb(e){return n.jsx(r,{...e,iconKey:"drive_file_rename_outline"})}function Ac(e){return n.jsx(r,{...e,iconKey:"drive_folder_upload"})}function db(e){return n.jsx(r,{...e,iconKey:"dry"})}function ub(e){return n.jsx(r,{...e,iconKey:"dry_cleaning"})}function fb(e){return n.jsx(r,{...e,iconKey:"duo"})}function Ab(e){return n.jsx(r,{...e,iconKey:"dvr"})}function _b(e){return n.jsx(r,{...e,iconKey:"dynamic_feed"})}function yb(e){return n.jsx(r,{...e,iconKey:"dynamic_form"})}function gb(e){return n.jsx(r,{...e,iconKey:"e_mobiledata"})}function hb(e){return n.jsx(r,{...e,iconKey:"earbuds"})}function Ib(e){return n.jsx(r,{...e,iconKey:"earbuds_battery"})}function bb(e){return n.jsx(r,{...e,iconKey:"east"})}function pb(e){return n.jsx(r,{...e,iconKey:"edgesensor_high"})}function wb(e){return n.jsx(r,{...e,iconKey:"edgesensor_low"})}function _c(e){return n.jsx(r,{...e,iconKey:"edit"})}function kb(e){return n.jsx(r,{...e,iconKey:"edit_attributes"})}function mb(e){return n.jsx(r,{...e,iconKey:"edit_calendar"})}function vb(e){return n.jsx(r,{...e,iconKey:"edit_location"})}function Kb(e){return n.jsx(r,{...e,iconKey:"edit_location_alt"})}function Cb(e){return n.jsx(r,{...e,iconKey:"edit_note"})}function Sb(e){return n.jsx(r,{...e,iconKey:"edit_notifications"})}function Bb(e){return n.jsx(r,{...e,iconKey:"edit_off"})}function Eb(e){return n.jsx(r,{...e,iconKey:"edit_road"})}function Fb(e){return n.jsx(r,{...e,iconKey:"egg"})}function Pb(e){return n.jsx(r,{...e,iconKey:"egg_alt"})}function Db(e){return n.jsx(r,{...e,iconKey:"eject"})}function Nb(e){return n.jsx(r,{...e,iconKey:"elderly"})}function Tb(e){return n.jsx(r,{...e,iconKey:"elderly_woman"})}function Mb(e){return n.jsx(r,{...e,iconKey:"electric_bike"})}function Ob(e){return n.jsx(r,{...e,iconKey:"electric_bolt"})}function Lb(e){return n.jsx(r,{...e,iconKey:"electric_car"})}function Qb(e){return n.jsx(r,{...e,iconKey:"electric_meter"})}function Vb(e){return n.jsx(r,{...e,iconKey:"electric_moped"})}function Wb(e){return n.jsx(r,{...e,iconKey:"electric_rickshaw"})}function Gb(e){return n.jsx(r,{...e,iconKey:"electric_scooter"})}function zb(e){return n.jsx(r,{...e,iconKey:"electrical_services"})}function Hb(e){return n.jsx(r,{...e,iconKey:"elevator"})}function yc(e){return n.jsx(r,{...e,iconKey:"email"})}function Ub(e){return n.jsx(r,{...e,iconKey:"emergency"})}function Yb(e){return n.jsx(r,{...e,iconKey:"emergency_recording"})}function $b(e){return n.jsx(r,{...e,iconKey:"emergency_share"})}function jb(e){return n.jsx(r,{...e,iconKey:"emoji_emotions"})}function qb(e){return n.jsx(r,{...e,iconKey:"emoji_events"})}function Jb(e){return n.jsx(r,{...e,iconKey:"emoji_food_beverage"})}function Zb(e){return n.jsx(r,{...e,iconKey:"emoji_nature"})}function Xb(e){return n.jsx(r,{...e,iconKey:"emoji_objects"})}function xb(e){return n.jsx(r,{...e,iconKey:"emoji_people"})}function Rb(e){return n.jsx(r,{...e,iconKey:"emoji_symbols"})}function ep(e){return n.jsx(r,{...e,iconKey:"emoji_transportation"})}function np(e){return n.jsx(r,{...e,iconKey:"energy_savings_leaf"})}function op(e){return n.jsx(r,{...e,iconKey:"engineering"})}function rp(e){return n.jsx(r,{...e,iconKey:"enhanced_encryption"})}function tp(e){return n.jsx(r,{...e,iconKey:"equalizer"})}function Ir(e){return n.jsx(r,{...e,iconKey:"error"})}function gc(e){return n.jsx(r,{...e,iconKey:"error_outline"})}function cp(e){return n.jsx(r,{...e,iconKey:"escalator"})}function ip(e){return n.jsx(r,{...e,iconKey:"escalator_warning"})}function ap(e){return n.jsx(r,{...e,iconKey:"euro"})}function lp(e){return n.jsx(r,{...e,iconKey:"euro_symbol"})}function sp(e){return n.jsx(r,{...e,iconKey:"ev_station"})}function dp(e){return n.jsx(r,{...e,iconKey:"event"})}function up(e){return n.jsx(r,{...e,iconKey:"event_available"})}function fp(e){return n.jsx(r,{...e,iconKey:"event_busy"})}function Ap(e){return n.jsx(r,{...e,iconKey:"event_note"})}function _p(e){return n.jsx(r,{...e,iconKey:"event_repeat"})}function yp(e){return n.jsx(r,{...e,iconKey:"event_seat"})}function gp(e){return n.jsx(r,{...e,iconKey:"exit_to_app"})}function hp(e){return n.jsx(r,{...e,iconKey:"expand"})}function Ip(e){return n.jsx(r,{...e,iconKey:"expand_circle_down"})}function bp(e){return n.jsx(r,{...e,iconKey:"expand_less"})}function Po(e){return n.jsx(r,{...e,iconKey:"expand_more"})}function pp(e){return n.jsx(r,{...e,iconKey:"explicit"})}function wp(e){return n.jsx(r,{...e,iconKey:"explore"})}function kp(e){return n.jsx(r,{...e,iconKey:"explore_off"})}function mp(e){return n.jsx(r,{...e,iconKey:"exposure"})}function vp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_1"})}function Kp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_2"})}function Cp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_1"})}function Sp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_2"})}function Bp(e){return n.jsx(r,{...e,iconKey:"exposure_zero"})}function Ep(e){return n.jsx(r,{...e,iconKey:"extension"})}function Fp(e){return n.jsx(r,{...e,iconKey:"extension_off"})}function Pp(e){return n.jsx(r,{...e,iconKey:"face"})}function Dp(e){return n.jsx(r,{...e,iconKey:"face_2"})}function Np(e){return n.jsx(r,{...e,iconKey:"face_3"})}function Tp(e){return n.jsx(r,{...e,iconKey:"face_4"})}function Mp(e){return n.jsx(r,{...e,iconKey:"face_5"})}function Op(e){return n.jsx(r,{...e,iconKey:"face_6"})}function Lp(e){return n.jsx(r,{...e,iconKey:"face_retouching_natural"})}function Qp(e){return n.jsx(r,{...e,iconKey:"face_retouching_off"})}function Vp(e){return n.jsx(r,{...e,iconKey:"fact_check"})}function Wp(e){return n.jsx(r,{...e,iconKey:"factory"})}function Gp(e){return n.jsx(r,{...e,iconKey:"family_restroom"})}function zp(e){return n.jsx(r,{...e,iconKey:"fast_forward"})}function Hp(e){return n.jsx(r,{...e,iconKey:"fast_rewind"})}function Up(e){return n.jsx(r,{...e,iconKey:"fastfood"})}function Yp(e){return n.jsx(r,{...e,iconKey:"favorite"})}function $p(e){return n.jsx(r,{...e,iconKey:"favorite_border"})}function jp(e){return n.jsx(r,{...e,iconKey:"fax"})}function qp(e){return n.jsx(r,{...e,iconKey:"featured_play_list"})}function Jp(e){return n.jsx(r,{...e,iconKey:"featured_video"})}function Zp(e){return n.jsx(r,{...e,iconKey:"feed"})}function Xp(e){return n.jsx(r,{...e,iconKey:"feedback"})}function xp(e){return n.jsx(r,{...e,iconKey:"female"})}function Rp(e){return n.jsx(r,{...e,iconKey:"fence"})}function ew(e){return n.jsx(r,{...e,iconKey:"festival"})}function nw(e){return n.jsx(r,{...e,iconKey:"fiber_dvr"})}function ow(e){return n.jsx(r,{...e,iconKey:"fiber_manual_record"})}function rw(e){return n.jsx(r,{...e,iconKey:"fiber_new"})}function tw(e){return n.jsx(r,{...e,iconKey:"fiber_pin"})}function cw(e){return n.jsx(r,{...e,iconKey:"fiber_smart_record"})}function hc(e){return n.jsx(r,{...e,iconKey:"file_copy"})}function iw(e){return n.jsx(r,{...e,iconKey:"file_download"})}function aw(e){return n.jsx(r,{...e,iconKey:"file_download_done"})}function lw(e){return n.jsx(r,{...e,iconKey:"file_download_off"})}function sw(e){return n.jsx(r,{...e,iconKey:"file_open"})}function dw(e){return n.jsx(r,{...e,iconKey:"file_present"})}function uw(e){return n.jsx(r,{...e,iconKey:"file_upload"})}function fw(e){return n.jsx(r,{...e,iconKey:"filter"})}function Aw(e){return n.jsx(r,{...e,iconKey:"filter_1"})}function _w(e){return n.jsx(r,{...e,iconKey:"filter_2"})}function yw(e){return n.jsx(r,{...e,iconKey:"filter_3"})}function gw(e){return n.jsx(r,{...e,iconKey:"filter_4"})}function hw(e){return n.jsx(r,{...e,iconKey:"filter_5"})}function Iw(e){return n.jsx(r,{...e,iconKey:"filter_6"})}function bw(e){return n.jsx(r,{...e,iconKey:"filter_7"})}function pw(e){return n.jsx(r,{...e,iconKey:"filter_8"})}function ww(e){return n.jsx(r,{...e,iconKey:"filter_9"})}function kw(e){return n.jsx(r,{...e,iconKey:"filter_9_plus"})}function mw(e){return n.jsx(r,{...e,iconKey:"filter_alt"})}function vw(e){return n.jsx(r,{...e,iconKey:"filter_alt_off"})}function Kw(e){return n.jsx(r,{...e,iconKey:"filter_b_and_w"})}function Cw(e){return n.jsx(r,{...e,iconKey:"filter_center_focus"})}function Sw(e){return n.jsx(r,{...e,iconKey:"filter_drama"})}function Bw(e){return n.jsx(r,{...e,iconKey:"filter_frames"})}function Ew(e){return n.jsx(r,{...e,iconKey:"filter_hdr"})}function Ic(e){return n.jsx(r,{...e,iconKey:"filter_list"})}function bc(e){return n.jsx(r,{...e,iconKey:"filter_list_off"})}function Fw(e){return n.jsx(r,{...e,iconKey:"filter_none"})}function Pw(e){return n.jsx(r,{...e,iconKey:"filter_tilt_shift"})}function Dw(e){return n.jsx(r,{...e,iconKey:"filter_vintage"})}function Nw(e){return n.jsx(r,{...e,iconKey:"find_in_page"})}function Tw(e){return n.jsx(r,{...e,iconKey:"find_replace"})}function Mw(e){return n.jsx(r,{...e,iconKey:"fingerprint"})}function Ow(e){return n.jsx(r,{...e,iconKey:"fire_extinguisher"})}function Lw(e){return n.jsx(r,{...e,iconKey:"fire_hydrant_alt"})}function Qw(e){return n.jsx(r,{...e,iconKey:"fire_truck"})}function Vw(e){return n.jsx(r,{...e,iconKey:"fireplace"})}function Ww(e){return n.jsx(r,{...e,iconKey:"first_page"})}function Gw(e){return n.jsx(r,{...e,iconKey:"fit_screen"})}function zw(e){return n.jsx(r,{...e,iconKey:"fitbit"})}function Hw(e){return n.jsx(r,{...e,iconKey:"fitness_center"})}function pc(e){return n.jsx(r,{...e,iconKey:"flag"})}function Uw(e){return n.jsx(r,{...e,iconKey:"flag_circle"})}function Yw(e){return n.jsx(r,{...e,iconKey:"flaky"})}function $w(e){return n.jsx(r,{...e,iconKey:"flare"})}function jw(e){return n.jsx(r,{...e,iconKey:"flash_auto"})}function qw(e){return n.jsx(r,{...e,iconKey:"flash_off"})}function Jw(e){return n.jsx(r,{...e,iconKey:"flash_on"})}function Zw(e){return n.jsx(r,{...e,iconKey:"flashlight_off"})}function Xw(e){return n.jsx(r,{...e,iconKey:"flashlight_on"})}function xw(e){return n.jsx(r,{...e,iconKey:"flatware"})}function Rw(e){return n.jsx(r,{...e,iconKey:"flight"})}function ek(e){return n.jsx(r,{...e,iconKey:"flight_class"})}function nk(e){return n.jsx(r,{...e,iconKey:"flight_land"})}function ok(e){return n.jsx(r,{...e,iconKey:"flight_takeoff"})}function rk(e){return n.jsx(r,{...e,iconKey:"flip"})}function tk(e){return n.jsx(r,{...e,iconKey:"flip_camera_android"})}function ck(e){return n.jsx(r,{...e,iconKey:"flip_camera_ios"})}function ik(e){return n.jsx(r,{...e,iconKey:"flip_to_back"})}function ak(e){return n.jsx(r,{...e,iconKey:"flip_to_front"})}function lk(e){return n.jsx(r,{...e,iconKey:"flood"})}function sk(e){return n.jsx(r,{...e,iconKey:"fluorescent"})}function dk(e){return n.jsx(r,{...e,iconKey:"flutter_dash"})}function uk(e){return n.jsx(r,{...e,iconKey:"fmd_bad"})}function fk(e){return n.jsx(r,{...e,iconKey:"fmd_good"})}function Ak(e){return n.jsx(r,{...e,iconKey:"folder"})}function _k(e){return n.jsx(r,{...e,iconKey:"folder_copy"})}function yk(e){return n.jsx(r,{...e,iconKey:"folder_delete"})}function gk(e){return n.jsx(r,{...e,iconKey:"folder_off"})}function hk(e){return n.jsx(r,{...e,iconKey:"folder_open"})}function Ik(e){return n.jsx(r,{...e,iconKey:"folder_shared"})}function bk(e){return n.jsx(r,{...e,iconKey:"folder_special"})}function pk(e){return n.jsx(r,{...e,iconKey:"folder_zip"})}function wk(e){return n.jsx(r,{...e,iconKey:"follow_the_signs"})}function kk(e){return n.jsx(r,{...e,iconKey:"font_download"})}function mk(e){return n.jsx(r,{...e,iconKey:"font_download_off"})}function vk(e){return n.jsx(r,{...e,iconKey:"food_bank"})}function Kk(e){return n.jsx(r,{...e,iconKey:"forest"})}function Ck(e){return n.jsx(r,{...e,iconKey:"fork_left"})}function Sk(e){return n.jsx(r,{...e,iconKey:"fork_right"})}function Bk(e){return n.jsx(r,{...e,iconKey:"format_align_center"})}function Ek(e){return n.jsx(r,{...e,iconKey:"format_align_justify"})}function Fk(e){return n.jsx(r,{...e,iconKey:"format_align_left"})}function Pk(e){return n.jsx(r,{...e,iconKey:"format_align_right"})}function Dk(e){return n.jsx(r,{...e,iconKey:"format_bold"})}function Nk(e){return n.jsx(r,{...e,iconKey:"format_clear"})}function Tk(e){return n.jsx(r,{...e,iconKey:"format_color_fill"})}function Mk(e){return n.jsx(r,{...e,iconKey:"format_color_reset"})}function Ok(e){return n.jsx(r,{...e,iconKey:"format_color_text"})}function Lk(e){return n.jsx(r,{...e,iconKey:"format_indent_decrease"})}function Qk(e){return n.jsx(r,{...e,iconKey:"format_indent_increase"})}function Vk(e){return n.jsx(r,{...e,iconKey:"format_italic"})}function Wk(e){return n.jsx(r,{...e,iconKey:"format_line_spacing"})}function Gk(e){return n.jsx(r,{...e,iconKey:"format_list_bulleted"})}function br(e){return n.jsx(r,{...e,iconKey:"format_list_numbered"})}function zk(e){return n.jsx(r,{...e,iconKey:"format_list_numbered_rtl"})}function Hk(e){return n.jsx(r,{...e,iconKey:"format_overline"})}function Uk(e){return n.jsx(r,{...e,iconKey:"format_paint"})}function wc(e){return n.jsx(r,{...e,iconKey:"format_quote"})}function Yk(e){return n.jsx(r,{...e,iconKey:"format_shapes"})}function $k(e){return n.jsx(r,{...e,iconKey:"format_size"})}function jk(e){return n.jsx(r,{...e,iconKey:"format_strikethrough"})}function qk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_l_to_r"})}function Jk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_r_to_l"})}function Zk(e){return n.jsx(r,{...e,iconKey:"format_underlined"})}function Xk(e){return n.jsx(r,{...e,iconKey:"fort"})}function xk(e){return n.jsx(r,{...e,iconKey:"forum"})}function Rk(e){return n.jsx(r,{...e,iconKey:"forward"})}function em(e){return n.jsx(r,{...e,iconKey:"forward_10"})}function nm(e){return n.jsx(r,{...e,iconKey:"forward_30"})}function om(e){return n.jsx(r,{...e,iconKey:"forward_5"})}function rm(e){return n.jsx(r,{...e,iconKey:"forward_to_inbox"})}function tm(e){return n.jsx(r,{...e,iconKey:"foundation"})}function cm(e){return n.jsx(r,{...e,iconKey:"free_breakfast"})}function im(e){return n.jsx(r,{...e,iconKey:"free_cancellation"})}function am(e){return n.jsx(r,{...e,iconKey:"front_hand"})}function lm(e){return n.jsx(r,{...e,iconKey:"fullscreen"})}function sm(e){return n.jsx(r,{...e,iconKey:"fullscreen_exit"})}function kc(e){return n.jsx(r,{...e,iconKey:"functions"})}function dm(e){return n.jsx(r,{...e,iconKey:"g_mobiledata"})}function um(e){return n.jsx(r,{...e,iconKey:"g_translate"})}function fm(e){return n.jsx(r,{...e,iconKey:"gamepad"})}function Am(e){return n.jsx(r,{...e,iconKey:"games"})}function _m(e){return n.jsx(r,{...e,iconKey:"garage"})}function ym(e){return n.jsx(r,{...e,iconKey:"gas_meter"})}function gm(e){return n.jsx(r,{...e,iconKey:"gavel"})}function hm(e){return n.jsx(r,{...e,iconKey:"generating_tokens"})}function Im(e){return n.jsx(r,{...e,iconKey:"gesture"})}function bm(e){return n.jsx(r,{...e,iconKey:"get_app"})}function pm(e){return n.jsx(r,{...e,iconKey:"gif"})}function wm(e){return n.jsx(r,{...e,iconKey:"gif_box"})}function km(e){return n.jsx(r,{...e,iconKey:"girl"})}function mm(e){return n.jsx(r,{...e,iconKey:"gite"})}function vm(e){return n.jsx(r,{...e,iconKey:"golf_course"})}function Km(e){return n.jsx(r,{...e,iconKey:"gpp_bad"})}function Cm(e){return n.jsx(r,{...e,iconKey:"gpp_good"})}function Sm(e){return n.jsx(r,{...e,iconKey:"gpp_maybe"})}function Bm(e){return n.jsx(r,{...e,iconKey:"gps_fixed"})}function Em(e){return n.jsx(r,{...e,iconKey:"gps_not_fixed"})}function Fm(e){return n.jsx(r,{...e,iconKey:"gps_off"})}function Pm(e){return n.jsx(r,{...e,iconKey:"grade"})}function Dm(e){return n.jsx(r,{...e,iconKey:"gradient"})}function Nm(e){return n.jsx(r,{...e,iconKey:"grading"})}function Tm(e){return n.jsx(r,{...e,iconKey:"grain"})}function Mm(e){return n.jsx(r,{...e,iconKey:"graphic_eq"})}function Om(e){return n.jsx(r,{...e,iconKey:"grass"})}function Lm(e){return n.jsx(r,{...e,iconKey:"grid_3x3"})}function Qm(e){return n.jsx(r,{...e,iconKey:"grid_4x4"})}function Vm(e){return n.jsx(r,{...e,iconKey:"grid_goldenratio"})}function Wm(e){return n.jsx(r,{...e,iconKey:"grid_off"})}function Gm(e){return n.jsx(r,{...e,iconKey:"grid_on"})}function zm(e){return n.jsx(r,{...e,iconKey:"grid_view"})}function Hm(e){return n.jsx(r,{...e,iconKey:"group"})}function Um(e){return n.jsx(r,{...e,iconKey:"group_add"})}function Ym(e){return n.jsx(r,{...e,iconKey:"group_off"})}function $m(e){return n.jsx(r,{...e,iconKey:"group_remove"})}function jm(e){return n.jsx(r,{...e,iconKey:"group_work"})}function qm(e){return n.jsx(r,{...e,iconKey:"groups"})}function Jm(e){return n.jsx(r,{...e,iconKey:"groups_2"})}function Zm(e){return n.jsx(r,{...e,iconKey:"groups_3"})}function Xm(e){return n.jsx(r,{...e,iconKey:"h_mobiledata"})}function xm(e){return n.jsx(r,{...e,iconKey:"h_plus_mobiledata"})}function Rm(e){return n.jsx(r,{...e,iconKey:"hail"})}function ev(e){return n.jsx(r,{...e,iconKey:"handshake"})}function nv(e){return n.jsx(r,{...e,iconKey:"handyman"})}function ov(e){return n.jsx(r,{...e,iconKey:"hardware"})}function rv(e){return n.jsx(r,{...e,iconKey:"hd"})}function tv(e){return n.jsx(r,{...e,iconKey:"hdr_auto"})}function cv(e){return n.jsx(r,{...e,iconKey:"hdr_auto_select"})}function iv(e){return n.jsx(r,{...e,iconKey:"hdr_enhanced_select"})}function av(e){return n.jsx(r,{...e,iconKey:"hdr_off"})}function lv(e){return n.jsx(r,{...e,iconKey:"hdr_off_select"})}function sv(e){return n.jsx(r,{...e,iconKey:"hdr_on"})}function dv(e){return n.jsx(r,{...e,iconKey:"hdr_on_select"})}function uv(e){return n.jsx(r,{...e,iconKey:"hdr_plus"})}function fv(e){return n.jsx(r,{...e,iconKey:"hdr_strong"})}function Av(e){return n.jsx(r,{...e,iconKey:"hdr_weak"})}function _v(e){return n.jsx(r,{...e,iconKey:"headphones"})}function yv(e){return n.jsx(r,{...e,iconKey:"headphones_battery"})}function gv(e){return n.jsx(r,{...e,iconKey:"headset"})}function hv(e){return n.jsx(r,{...e,iconKey:"headset_mic"})}function Iv(e){return n.jsx(r,{...e,iconKey:"headset_off"})}function bv(e){return n.jsx(r,{...e,iconKey:"healing"})}function pv(e){return n.jsx(r,{...e,iconKey:"health_and_safety"})}function wv(e){return n.jsx(r,{...e,iconKey:"hearing"})}function kv(e){return n.jsx(r,{...e,iconKey:"hearing_disabled"})}function mv(e){return n.jsx(r,{...e,iconKey:"heart_broken"})}function vv(e){return n.jsx(r,{...e,iconKey:"heat_pump"})}function Kv(e){return n.jsx(r,{...e,iconKey:"height"})}function Cv(e){return n.jsx(r,{...e,iconKey:"help"})}function Sv(e){return n.jsx(r,{...e,iconKey:"help_center"})}function Bv(e){return n.jsx(r,{...e,iconKey:"help_outline"})}function Ev(e){return n.jsx(r,{...e,iconKey:"hevc"})}function Fv(e){return n.jsx(r,{...e,iconKey:"hexagon"})}function Pv(e){return n.jsx(r,{...e,iconKey:"hide_image"})}function Dv(e){return n.jsx(r,{...e,iconKey:"hide_source"})}function Nv(e){return n.jsx(r,{...e,iconKey:"high_quality"})}function Tv(e){return n.jsx(r,{...e,iconKey:"highlight"})}function Mv(e){return n.jsx(r,{...e,iconKey:"highlight_alt"})}function Ov(e){return n.jsx(r,{...e,iconKey:"highlight_off"})}function Lv(e){return n.jsx(r,{...e,iconKey:"hiking"})}function Qv(e){return n.jsx(r,{...e,iconKey:"history"})}function Vv(e){return n.jsx(r,{...e,iconKey:"history_edu"})}function Wv(e){return n.jsx(r,{...e,iconKey:"history_toggle_off"})}function Gv(e){return n.jsx(r,{...e,iconKey:"hive"})}function zv(e){return n.jsx(r,{...e,iconKey:"hls"})}function Hv(e){return n.jsx(r,{...e,iconKey:"hls_off"})}function Uv(e){return n.jsx(r,{...e,iconKey:"holiday_village"})}function Yv(e){return n.jsx(r,{...e,iconKey:"home"})}function $v(e){return n.jsx(r,{...e,iconKey:"home_max"})}function jv(e){return n.jsx(r,{...e,iconKey:"home_mini"})}function qv(e){return n.jsx(r,{...e,iconKey:"home_repair_service"})}function Jv(e){return n.jsx(r,{...e,iconKey:"home_work"})}function Zv(e){return n.jsx(r,{...e,iconKey:"horizontal_distribute"})}function Xv(e){return n.jsx(r,{...e,iconKey:"horizontal_rule"})}function xv(e){return n.jsx(r,{...e,iconKey:"horizontal_split"})}function Rv(e){return n.jsx(r,{...e,iconKey:"hot_tub"})}function e0(e){return n.jsx(r,{...e,iconKey:"hotel"})}function n0(e){return n.jsx(r,{...e,iconKey:"hotel_class"})}function o0(e){return n.jsx(r,{...e,iconKey:"hourglass_bottom"})}function r0(e){return n.jsx(r,{...e,iconKey:"hourglass_disabled"})}function t0(e){return n.jsx(r,{...e,iconKey:"hourglass_empty"})}function c0(e){return n.jsx(r,{...e,iconKey:"hourglass_full"})}function i0(e){return n.jsx(r,{...e,iconKey:"hourglass_top"})}function a0(e){return n.jsx(r,{...e,iconKey:"house"})}function l0(e){return n.jsx(r,{...e,iconKey:"house_siding"})}function s0(e){return n.jsx(r,{...e,iconKey:"houseboat"})}function d0(e){return n.jsx(r,{...e,iconKey:"how_to_reg"})}function u0(e){return n.jsx(r,{...e,iconKey:"how_to_vote"})}function f0(e){return n.jsx(r,{...e,iconKey:"html"})}function mc(e){return n.jsx(r,{...e,iconKey:"http"})}function A0(e){return n.jsx(r,{...e,iconKey:"https"})}function _0(e){return n.jsx(r,{...e,iconKey:"hub"})}function y0(e){return n.jsx(r,{...e,iconKey:"hvac"})}function g0(e){return n.jsx(r,{...e,iconKey:"ice_skating"})}function h0(e){return n.jsx(r,{...e,iconKey:"icecream"})}function I0(e){return n.jsx(r,{...e,iconKey:"image"})}function b0(e){return n.jsx(r,{...e,iconKey:"image_aspect_ratio"})}function p0(e){return n.jsx(r,{...e,iconKey:"image_not_supported"})}function w0(e){return n.jsx(r,{...e,iconKey:"image_search"})}function k0(e){return n.jsx(r,{...e,iconKey:"imagesearch_roller"})}function m0(e){return n.jsx(r,{...e,iconKey:"import_contacts"})}function v0(e){return n.jsx(r,{...e,iconKey:"import_export"})}function K0(e){return n.jsx(r,{...e,iconKey:"important_devices"})}function C0(e){return n.jsx(r,{...e,iconKey:"inbox"})}function S0(e){return n.jsx(r,{...e,iconKey:"incomplete_circle"})}function B0(e){return n.jsx(r,{...e,iconKey:"indeterminate_check_box"})}function vc(e){return n.jsx(r,{...e,iconKey:"info"})}function E0(e){return n.jsx(r,{...e,iconKey:"input"})}function F0(e){return n.jsx(r,{...e,iconKey:"insert_chart"})}function P0(e){return n.jsx(r,{...e,iconKey:"insert_chart_outlined"})}function D0(e){return n.jsx(r,{...e,iconKey:"insert_comment"})}function N0(e){return n.jsx(r,{...e,iconKey:"insert_drive_file"})}function T0(e){return n.jsx(r,{...e,iconKey:"insert_emoticon"})}function M0(e){return n.jsx(r,{...e,iconKey:"insert_invitation"})}function O0(e){return n.jsx(r,{...e,iconKey:"insert_link"})}function L0(e){return n.jsx(r,{...e,iconKey:"insert_page_break"})}function Q0(e){return n.jsx(r,{...e,iconKey:"insert_photo"})}function V0(e){return n.jsx(r,{...e,iconKey:"insights"})}function W0(e){return n.jsx(r,{...e,iconKey:"install_desktop"})}function G0(e){return n.jsx(r,{...e,iconKey:"install_mobile"})}function z0(e){return n.jsx(r,{...e,iconKey:"integration_instructions"})}function H0(e){return n.jsx(r,{...e,iconKey:"interests"})}function U0(e){return n.jsx(r,{...e,iconKey:"interpreter_mode"})}function Y0(e){return n.jsx(r,{...e,iconKey:"inventory"})}function $0(e){return n.jsx(r,{...e,iconKey:"inventory_2"})}function j0(e){return n.jsx(r,{...e,iconKey:"invert_colors"})}function q0(e){return n.jsx(r,{...e,iconKey:"invert_colors_off"})}function J0(e){return n.jsx(r,{...e,iconKey:"ios_share"})}function Z0(e){return n.jsx(r,{...e,iconKey:"iron"})}function X0(e){return n.jsx(r,{...e,iconKey:"iso"})}function x0(e){return n.jsx(r,{...e,iconKey:"javascript"})}function R0(e){return n.jsx(r,{...e,iconKey:"join_full"})}function eK(e){return n.jsx(r,{...e,iconKey:"join_inner"})}function nK(e){return n.jsx(r,{...e,iconKey:"join_left"})}function oK(e){return n.jsx(r,{...e,iconKey:"join_right"})}function rK(e){return n.jsx(r,{...e,iconKey:"kayaking"})}function tK(e){return n.jsx(r,{...e,iconKey:"kebab_dining"})}function cK(e){return n.jsx(r,{...e,iconKey:"key"})}function iK(e){return n.jsx(r,{...e,iconKey:"key_off"})}function aK(e){return n.jsx(r,{...e,iconKey:"keyboard"})}function lK(e){return n.jsx(r,{...e,iconKey:"keyboard_alt"})}function sK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_down"})}function dK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_left"})}function uK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_right"})}function fK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_up"})}function AK(e){return n.jsx(r,{...e,iconKey:"keyboard_backspace"})}function _K(e){return n.jsx(r,{...e,iconKey:"keyboard_capslock"})}function yK(e){return n.jsx(r,{...e,iconKey:"keyboard_command_key"})}function gK(e){return n.jsx(r,{...e,iconKey:"keyboard_control_key"})}function hK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_down"})}function IK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_left"})}function bK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_right"})}function pK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_up"})}function wK(e){return n.jsx(r,{...e,iconKey:"keyboard_hide"})}function kK(e){return n.jsx(r,{...e,iconKey:"keyboard_option_key"})}function mK(e){return n.jsx(r,{...e,iconKey:"keyboard_return"})}function Do(e){return n.jsx(r,{...e,iconKey:"keyboard_tab"})}function vK(e){return n.jsx(r,{...e,iconKey:"keyboard_voice"})}function KK(e){return n.jsx(r,{...e,iconKey:"king_bed"})}function CK(e){return n.jsx(r,{...e,iconKey:"kitchen"})}function SK(e){return n.jsx(r,{...e,iconKey:"kitesurfing"})}function BK(e){return n.jsx(r,{...e,iconKey:"label"})}function EK(e){return n.jsx(r,{...e,iconKey:"label_important"})}function FK(e){return n.jsx(r,{...e,iconKey:"label_off"})}function PK(e){return n.jsx(r,{...e,iconKey:"lan"})}function DK(e){return n.jsx(r,{...e,iconKey:"landscape"})}function NK(e){return n.jsx(r,{...e,iconKey:"landslide"})}function TK(e){return n.jsx(r,{...e,iconKey:"language"})}function MK(e){return n.jsx(r,{...e,iconKey:"laptop"})}function OK(e){return n.jsx(r,{...e,iconKey:"laptop_chromebook"})}function LK(e){return n.jsx(r,{...e,iconKey:"laptop_mac"})}function QK(e){return n.jsx(r,{...e,iconKey:"laptop_windows"})}function VK(e){return n.jsx(r,{...e,iconKey:"last_page"})}function WK(e){return n.jsx(r,{...e,iconKey:"launch"})}function GK(e){return n.jsx(r,{...e,iconKey:"layers"})}function zK(e){return n.jsx(r,{...e,iconKey:"layers_clear"})}function HK(e){return n.jsx(r,{...e,iconKey:"leaderboard"})}function UK(e){return n.jsx(r,{...e,iconKey:"leak_add"})}function YK(e){return n.jsx(r,{...e,iconKey:"leak_remove"})}function $K(e){return n.jsx(r,{...e,iconKey:"legend_toggle"})}function jK(e){return n.jsx(r,{...e,iconKey:"lens"})}function qK(e){return n.jsx(r,{...e,iconKey:"lens_blur"})}function JK(e){return n.jsx(r,{...e,iconKey:"library_add"})}function ZK(e){return n.jsx(r,{...e,iconKey:"library_add_check"})}function XK(e){return n.jsx(r,{...e,iconKey:"library_books"})}function xK(e){return n.jsx(r,{...e,iconKey:"library_music"})}function RK(e){return n.jsx(r,{...e,iconKey:"light"})}function Kc(e){return n.jsx(r,{...e,iconKey:"light_mode"})}function eC(e){return n.jsx(r,{...e,iconKey:"lightbulb"})}function nC(e){return n.jsx(r,{...e,iconKey:"lightbulb_circle"})}function oC(e){return n.jsx(r,{...e,iconKey:"line_axis"})}function rC(e){return n.jsx(r,{...e,iconKey:"line_style"})}function tC(e){return n.jsx(r,{...e,iconKey:"line_weight"})}function cC(e){return n.jsx(r,{...e,iconKey:"linear_scale"})}function Cc(e){return n.jsx(r,{...e,iconKey:"link"})}function iC(e){return n.jsx(r,{...e,iconKey:"link_off"})}function aC(e){return n.jsx(r,{...e,iconKey:"linked_camera"})}function lC(e){return n.jsx(r,{...e,iconKey:"liquor"})}function Sc(e){return n.jsx(r,{...e,iconKey:"list"})}function Bc(e){return n.jsx(r,{...e,iconKey:"list_alt"})}function sC(e){return n.jsx(r,{...e,iconKey:"live_help"})}function dC(e){return n.jsx(r,{...e,iconKey:"live_tv"})}function uC(e){return n.jsx(r,{...e,iconKey:"living"})}function fC(e){return n.jsx(r,{...e,iconKey:"local_activity"})}function AC(e){return n.jsx(r,{...e,iconKey:"local_airport"})}function _C(e){return n.jsx(r,{...e,iconKey:"local_atm"})}function yC(e){return n.jsx(r,{...e,iconKey:"local_bar"})}function gC(e){return n.jsx(r,{...e,iconKey:"local_cafe"})}function hC(e){return n.jsx(r,{...e,iconKey:"local_car_wash"})}function IC(e){return n.jsx(r,{...e,iconKey:"local_convenience_store"})}function bC(e){return n.jsx(r,{...e,iconKey:"local_dining"})}function pC(e){return n.jsx(r,{...e,iconKey:"local_drink"})}function wC(e){return n.jsx(r,{...e,iconKey:"local_fire_department"})}function kC(e){return n.jsx(r,{...e,iconKey:"local_florist"})}function mC(e){return n.jsx(r,{...e,iconKey:"local_gas_station"})}function vC(e){return n.jsx(r,{...e,iconKey:"local_grocery_store"})}function KC(e){return n.jsx(r,{...e,iconKey:"local_hospital"})}function CC(e){return n.jsx(r,{...e,iconKey:"local_hotel"})}function SC(e){return n.jsx(r,{...e,iconKey:"local_laundry_service"})}function BC(e){return n.jsx(r,{...e,iconKey:"local_library"})}function EC(e){return n.jsx(r,{...e,iconKey:"local_mall"})}function FC(e){return n.jsx(r,{...e,iconKey:"local_movies"})}function PC(e){return n.jsx(r,{...e,iconKey:"local_offer"})}function DC(e){return n.jsx(r,{...e,iconKey:"local_parking"})}function NC(e){return n.jsx(r,{...e,iconKey:"local_pharmacy"})}function TC(e){return n.jsx(r,{...e,iconKey:"local_phone"})}function MC(e){return n.jsx(r,{...e,iconKey:"local_pizza"})}function OC(e){return n.jsx(r,{...e,iconKey:"local_play"})}function LC(e){return n.jsx(r,{...e,iconKey:"local_police"})}function QC(e){return n.jsx(r,{...e,iconKey:"local_post_office"})}function VC(e){return n.jsx(r,{...e,iconKey:"local_printshop"})}function WC(e){return n.jsx(r,{...e,iconKey:"local_see"})}function GC(e){return n.jsx(r,{...e,iconKey:"local_shipping"})}function zC(e){return n.jsx(r,{...e,iconKey:"local_taxi"})}function HC(e){return n.jsx(r,{...e,iconKey:"location_city"})}function UC(e){return n.jsx(r,{...e,iconKey:"location_disabled"})}function YC(e){return n.jsx(r,{...e,iconKey:"location_off"})}function $C(e){return n.jsx(r,{...e,iconKey:"location_on"})}function jC(e){return n.jsx(r,{...e,iconKey:"location_searching"})}function qC(e){return n.jsx(r,{...e,iconKey:"lock"})}function JC(e){return n.jsx(r,{...e,iconKey:"lock_clock"})}function ZC(e){return n.jsx(r,{...e,iconKey:"lock_open"})}function XC(e){return n.jsx(r,{...e,iconKey:"lock_person"})}function xC(e){return n.jsx(r,{...e,iconKey:"lock_reset"})}function RC(e){return n.jsx(r,{...e,iconKey:"login"})}function eS(e){return n.jsx(r,{...e,iconKey:"logo_dev"})}function Ec(e){return n.jsx(r,{...e,iconKey:"logout"})}function nS(e){return n.jsx(r,{...e,iconKey:"looks"})}function oS(e){return n.jsx(r,{...e,iconKey:"looks_3"})}function rS(e){return n.jsx(r,{...e,iconKey:"looks_4"})}function tS(e){return n.jsx(r,{...e,iconKey:"looks_5"})}function cS(e){return n.jsx(r,{...e,iconKey:"looks_6"})}function iS(e){return n.jsx(r,{...e,iconKey:"looks_one"})}function aS(e){return n.jsx(r,{...e,iconKey:"looks_two"})}function lS(e){return n.jsx(r,{...e,iconKey:"loop"})}function sS(e){return n.jsx(r,{...e,iconKey:"loupe"})}function dS(e){return n.jsx(r,{...e,iconKey:"low_priority"})}function uS(e){return n.jsx(r,{...e,iconKey:"loyalty"})}function fS(e){return n.jsx(r,{...e,iconKey:"lte_mobiledata"})}function AS(e){return n.jsx(r,{...e,iconKey:"lte_plus_mobiledata"})}function _S(e){return n.jsx(r,{...e,iconKey:"luggage"})}function yS(e){return n.jsx(r,{...e,iconKey:"lunch_dining"})}function gS(e){return n.jsx(r,{...e,iconKey:"lyrics"})}function hS(e){return n.jsx(r,{...e,iconKey:"macro_off"})}function IS(e){return n.jsx(r,{...e,iconKey:"mail"})}function bS(e){return n.jsx(r,{...e,iconKey:"mail_lock"})}function pS(e){return n.jsx(r,{...e,iconKey:"mail_outline"})}function wS(e){return n.jsx(r,{...e,iconKey:"male"})}function kS(e){return n.jsx(r,{...e,iconKey:"man"})}function mS(e){return n.jsx(r,{...e,iconKey:"man_2"})}function vS(e){return n.jsx(r,{...e,iconKey:"man_3"})}function KS(e){return n.jsx(r,{...e,iconKey:"man_4"})}function CS(e){return n.jsx(r,{...e,iconKey:"manage_accounts"})}function SS(e){return n.jsx(r,{...e,iconKey:"manage_history"})}function BS(e){return n.jsx(r,{...e,iconKey:"manage_search"})}function ES(e){return n.jsx(r,{...e,iconKey:"map"})}function FS(e){return n.jsx(r,{...e,iconKey:"maps_home_work"})}function PS(e){return n.jsx(r,{...e,iconKey:"maps_ugc"})}function DS(e){return n.jsx(r,{...e,iconKey:"margin"})}function NS(e){return n.jsx(r,{...e,iconKey:"mark_as_unread"})}function TS(e){return n.jsx(r,{...e,iconKey:"mark_chat_read"})}function MS(e){return n.jsx(r,{...e,iconKey:"mark_chat_unread"})}function OS(e){return n.jsx(r,{...e,iconKey:"mark_email_read"})}function LS(e){return n.jsx(r,{...e,iconKey:"mark_email_unread"})}function QS(e){return n.jsx(r,{...e,iconKey:"mark_unread_chat_alt"})}function VS(e){return n.jsx(r,{...e,iconKey:"markunread"})}function WS(e){return n.jsx(r,{...e,iconKey:"markunread_mailbox"})}function GS(e){return n.jsx(r,{...e,iconKey:"masks"})}function zS(e){return n.jsx(r,{...e,iconKey:"maximize"})}function HS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_off"})}function US(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_on"})}function YS(e){return n.jsx(r,{...e,iconKey:"mediation"})}function $S(e){return n.jsx(r,{...e,iconKey:"medical_information"})}function jS(e){return n.jsx(r,{...e,iconKey:"medical_services"})}function qS(e){return n.jsx(r,{...e,iconKey:"medication"})}function JS(e){return n.jsx(r,{...e,iconKey:"medication_liquid"})}function ZS(e){return n.jsx(r,{...e,iconKey:"meeting_room"})}function XS(e){return n.jsx(r,{...e,iconKey:"memory"})}function pr(e){return n.jsx(r,{...e,iconKey:"menu"})}function xS(e){return n.jsx(r,{...e,iconKey:"menu_book"})}function RS(e){return n.jsx(r,{...e,iconKey:"menu_open"})}function eB(e){return n.jsx(r,{...e,iconKey:"merge"})}function nB(e){return n.jsx(r,{...e,iconKey:"merge_type"})}function oB(e){return n.jsx(r,{...e,iconKey:"message"})}function rB(e){return n.jsx(r,{...e,iconKey:"mic"})}function tB(e){return n.jsx(r,{...e,iconKey:"mic_external_off"})}function cB(e){return n.jsx(r,{...e,iconKey:"mic_external_on"})}function iB(e){return n.jsx(r,{...e,iconKey:"mic_none"})}function aB(e){return n.jsx(r,{...e,iconKey:"mic_off"})}function lB(e){return n.jsx(r,{...e,iconKey:"microwave"})}function sB(e){return n.jsx(r,{...e,iconKey:"military_tech"})}function dB(e){return n.jsx(r,{...e,iconKey:"minimize"})}function uB(e){return n.jsx(r,{...e,iconKey:"minor_crash"})}function fB(e){return n.jsx(r,{...e,iconKey:"miscellaneous_services"})}function AB(e){return n.jsx(r,{...e,iconKey:"missed_video_call"})}function _B(e){return n.jsx(r,{...e,iconKey:"mms"})}function yB(e){return n.jsx(r,{...e,iconKey:"mobile_friendly"})}function gB(e){return n.jsx(r,{...e,iconKey:"mobile_off"})}function hB(e){return n.jsx(r,{...e,iconKey:"mobile_screen_share"})}function IB(e){return n.jsx(r,{...e,iconKey:"mobiledata_off"})}function bB(e){return n.jsx(r,{...e,iconKey:"mode"})}function pB(e){return n.jsx(r,{...e,iconKey:"mode_comment"})}function wB(e){return n.jsx(r,{...e,iconKey:"mode_edit"})}function kB(e){return n.jsx(r,{...e,iconKey:"mode_edit_outline"})}function mB(e){return n.jsx(r,{...e,iconKey:"mode_fan_off"})}function vB(e){return n.jsx(r,{...e,iconKey:"mode_night"})}function KB(e){return n.jsx(r,{...e,iconKey:"mode_of_travel"})}function CB(e){return n.jsx(r,{...e,iconKey:"mode_standby"})}function SB(e){return n.jsx(r,{...e,iconKey:"model_training"})}function BB(e){return n.jsx(r,{...e,iconKey:"monetization_on"})}function EB(e){return n.jsx(r,{...e,iconKey:"money"})}function FB(e){return n.jsx(r,{...e,iconKey:"money_off"})}function PB(e){return n.jsx(r,{...e,iconKey:"money_off_csred"})}function DB(e){return n.jsx(r,{...e,iconKey:"monitor"})}function NB(e){return n.jsx(r,{...e,iconKey:"monitor_heart"})}function TB(e){return n.jsx(r,{...e,iconKey:"monitor_weight"})}function MB(e){return n.jsx(r,{...e,iconKey:"monochrome_photos"})}function OB(e){return n.jsx(r,{...e,iconKey:"mood"})}function LB(e){return n.jsx(r,{...e,iconKey:"mood_bad"})}function QB(e){return n.jsx(r,{...e,iconKey:"moped"})}function VB(e){return n.jsx(r,{...e,iconKey:"more"})}function WB(e){return n.jsx(r,{...e,iconKey:"more_horiz"})}function GB(e){return n.jsx(r,{...e,iconKey:"more_time"})}function wr(e){return n.jsx(r,{...e,iconKey:"more_vert"})}function zB(e){return n.jsx(r,{...e,iconKey:"mosque"})}function HB(e){return n.jsx(r,{...e,iconKey:"motion_photos_auto"})}function UB(e){return n.jsx(r,{...e,iconKey:"motion_photos_off"})}function YB(e){return n.jsx(r,{...e,iconKey:"motion_photos_on"})}function $B(e){return n.jsx(r,{...e,iconKey:"motion_photos_pause"})}function jB(e){return n.jsx(r,{...e,iconKey:"motion_photos_paused"})}function qB(e){return n.jsx(r,{...e,iconKey:"mouse"})}function JB(e){return n.jsx(r,{...e,iconKey:"move_down"})}function ZB(e){return n.jsx(r,{...e,iconKey:"move_to_inbox"})}function XB(e){return n.jsx(r,{...e,iconKey:"move_up"})}function xB(e){return n.jsx(r,{...e,iconKey:"movie"})}function RB(e){return n.jsx(r,{...e,iconKey:"movie_creation"})}function eE(e){return n.jsx(r,{...e,iconKey:"movie_filter"})}function nE(e){return n.jsx(r,{...e,iconKey:"moving"})}function oE(e){return n.jsx(r,{...e,iconKey:"mp"})}function rE(e){return n.jsx(r,{...e,iconKey:"multiline_chart"})}function tE(e){return n.jsx(r,{...e,iconKey:"multiple_stop"})}function cE(e){return n.jsx(r,{...e,iconKey:"museum"})}function iE(e){return n.jsx(r,{...e,iconKey:"music_note"})}function aE(e){return n.jsx(r,{...e,iconKey:"music_off"})}function lE(e){return n.jsx(r,{...e,iconKey:"music_video"})}function sE(e){return n.jsx(r,{...e,iconKey:"my_location"})}function dE(e){return n.jsx(r,{...e,iconKey:"nat"})}function uE(e){return n.jsx(r,{...e,iconKey:"nature"})}function fE(e){return n.jsx(r,{...e,iconKey:"nature_people"})}function AE(e){return n.jsx(r,{...e,iconKey:"navigate_before"})}function _E(e){return n.jsx(r,{...e,iconKey:"navigate_next"})}function yE(e){return n.jsx(r,{...e,iconKey:"navigation"})}function gE(e){return n.jsx(r,{...e,iconKey:"near_me"})}function hE(e){return n.jsx(r,{...e,iconKey:"near_me_disabled"})}function IE(e){return n.jsx(r,{...e,iconKey:"nearby_error"})}function bE(e){return n.jsx(r,{...e,iconKey:"nearby_off"})}function pE(e){return n.jsx(r,{...e,iconKey:"nest_cam_wired_stand"})}function wE(e){return n.jsx(r,{...e,iconKey:"network_cell"})}function kE(e){return n.jsx(r,{...e,iconKey:"network_check"})}function mE(e){return n.jsx(r,{...e,iconKey:"network_locked"})}function vE(e){return n.jsx(r,{...e,iconKey:"network_ping"})}function KE(e){return n.jsx(r,{...e,iconKey:"network_wifi"})}function CE(e){return n.jsx(r,{...e,iconKey:"network_wifi_1_bar"})}function SE(e){return n.jsx(r,{...e,iconKey:"network_wifi_2_bar"})}function BE(e){return n.jsx(r,{...e,iconKey:"network_wifi_3_bar"})}function EE(e){return n.jsx(r,{...e,iconKey:"new_label"})}function FE(e){return n.jsx(r,{...e,iconKey:"new_releases"})}function PE(e){return n.jsx(r,{...e,iconKey:"newspaper"})}function DE(e){return n.jsx(r,{...e,iconKey:"next_plan"})}function NE(e){return n.jsx(r,{...e,iconKey:"next_week"})}function TE(e){return n.jsx(r,{...e,iconKey:"nfc"})}function ME(e){return n.jsx(r,{...e,iconKey:"night_shelter"})}function OE(e){return n.jsx(r,{...e,iconKey:"nightlife"})}function LE(e){return n.jsx(r,{...e,iconKey:"nightlight"})}function QE(e){return n.jsx(r,{...e,iconKey:"nightlight_round"})}function VE(e){return n.jsx(r,{...e,iconKey:"nights_stay"})}function WE(e){return n.jsx(r,{...e,iconKey:"no_accounts"})}function GE(e){return n.jsx(r,{...e,iconKey:"no_adult_content"})}function zE(e){return n.jsx(r,{...e,iconKey:"no_backpack"})}function HE(e){return n.jsx(r,{...e,iconKey:"no_cell"})}function UE(e){return n.jsx(r,{...e,iconKey:"no_crash"})}function YE(e){return n.jsx(r,{...e,iconKey:"no_drinks"})}function $E(e){return n.jsx(r,{...e,iconKey:"no_encryption"})}function jE(e){return n.jsx(r,{...e,iconKey:"no_encryption_gmailerrorred"})}function qE(e){return n.jsx(r,{...e,iconKey:"no_flash"})}function JE(e){return n.jsx(r,{...e,iconKey:"no_food"})}function ZE(e){return n.jsx(r,{...e,iconKey:"no_luggage"})}function XE(e){return n.jsx(r,{...e,iconKey:"no_meals"})}function xE(e){return n.jsx(r,{...e,iconKey:"no_meeting_room"})}function RE(e){return n.jsx(r,{...e,iconKey:"no_photography"})}function eF(e){return n.jsx(r,{...e,iconKey:"no_sim"})}function nF(e){return n.jsx(r,{...e,iconKey:"no_stroller"})}function oF(e){return n.jsx(r,{...e,iconKey:"no_transfer"})}function rF(e){return n.jsx(r,{...e,iconKey:"noise_aware"})}function tF(e){return n.jsx(r,{...e,iconKey:"noise_control_off"})}function cF(e){return n.jsx(r,{...e,iconKey:"nordic_walking"})}function iF(e){return n.jsx(r,{...e,iconKey:"north"})}function aF(e){return n.jsx(r,{...e,iconKey:"north_east"})}function lF(e){return n.jsx(r,{...e,iconKey:"north_west"})}function sF(e){return n.jsx(r,{...e,iconKey:"not_accessible"})}function dF(e){return n.jsx(r,{...e,iconKey:"not_interested"})}function uF(e){return n.jsx(r,{...e,iconKey:"not_listed_location"})}function fF(e){return n.jsx(r,{...e,iconKey:"not_started"})}function AF(e){return n.jsx(r,{...e,iconKey:"note"})}function _F(e){return n.jsx(r,{...e,iconKey:"note_add"})}function yF(e){return n.jsx(r,{...e,iconKey:"note_alt"})}function gF(e){return n.jsx(r,{...e,iconKey:"notes"})}function hF(e){return n.jsx(r,{...e,iconKey:"notification_add"})}function IF(e){return n.jsx(r,{...e,iconKey:"notification_important"})}function bF(e){return n.jsx(r,{...e,iconKey:"notifications"})}function pF(e){return n.jsx(r,{...e,iconKey:"notifications_active"})}function wF(e){return n.jsx(r,{...e,iconKey:"notifications_none"})}function kF(e){return n.jsx(r,{...e,iconKey:"notifications_off"})}function mF(e){return n.jsx(r,{...e,iconKey:"notifications_paused"})}function Fc(e){return n.jsx(r,{...e,iconKey:"numbers"})}function vF(e){return n.jsx(r,{...e,iconKey:"offline_bolt"})}function KF(e){return n.jsx(r,{...e,iconKey:"offline_pin"})}function CF(e){return n.jsx(r,{...e,iconKey:"offline_share"})}function SF(e){return n.jsx(r,{...e,iconKey:"oil_barrel"})}function BF(e){return n.jsx(r,{...e,iconKey:"on_device_training"})}function EF(e){return n.jsx(r,{...e,iconKey:"ondemand_video"})}function FF(e){return n.jsx(r,{...e,iconKey:"online_prediction"})}function PF(e){return n.jsx(r,{...e,iconKey:"opacity"})}function DF(e){return n.jsx(r,{...e,iconKey:"open_in_browser"})}function NF(e){return n.jsx(r,{...e,iconKey:"open_in_full"})}function ro(e){return n.jsx(r,{...e,iconKey:"open_in_new"})}function TF(e){return n.jsx(r,{...e,iconKey:"open_in_new_off"})}function MF(e){return n.jsx(r,{...e,iconKey:"open_with"})}function OF(e){return n.jsx(r,{...e,iconKey:"other_houses"})}function LF(e){return n.jsx(r,{...e,iconKey:"outbound"})}function QF(e){return n.jsx(r,{...e,iconKey:"outbox"})}function VF(e){return n.jsx(r,{...e,iconKey:"outdoor_grill"})}function WF(e){return n.jsx(r,{...e,iconKey:"outlet"})}function GF(e){return n.jsx(r,{...e,iconKey:"outlined_flag"})}function zF(e){return n.jsx(r,{...e,iconKey:"output"})}function HF(e){return n.jsx(r,{...e,iconKey:"padding"})}function UF(e){return n.jsx(r,{...e,iconKey:"pages"})}function YF(e){return n.jsx(r,{...e,iconKey:"pageview"})}function $F(e){return n.jsx(r,{...e,iconKey:"paid"})}function jF(e){return n.jsx(r,{...e,iconKey:"palette"})}function qF(e){return n.jsx(r,{...e,iconKey:"pan_tool"})}function JF(e){return n.jsx(r,{...e,iconKey:"pan_tool_alt"})}function ZF(e){return n.jsx(r,{...e,iconKey:"panorama"})}function XF(e){return n.jsx(r,{...e,iconKey:"panorama_fish_eye"})}function xF(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal"})}function RF(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal_select"})}function eP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere"})}function nP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere_select"})}function oP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical"})}function rP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical_select"})}function tP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle"})}function cP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle_select"})}function iP(e){return n.jsx(r,{...e,iconKey:"paragliding"})}function aP(e){return n.jsx(r,{...e,iconKey:"park"})}function lP(e){return n.jsx(r,{...e,iconKey:"party_mode"})}function sP(e){return n.jsx(r,{...e,iconKey:"password"})}function dP(e){return n.jsx(r,{...e,iconKey:"pattern"})}function uP(e){return n.jsx(r,{...e,iconKey:"pause"})}function fP(e){return n.jsx(r,{...e,iconKey:"pause_circle"})}function AP(e){return n.jsx(r,{...e,iconKey:"pause_circle_filled"})}function _P(e){return n.jsx(r,{...e,iconKey:"pause_circle_outline"})}function yP(e){return n.jsx(r,{...e,iconKey:"pause_presentation"})}function gP(e){return n.jsx(r,{...e,iconKey:"payment"})}function hP(e){return n.jsx(r,{...e,iconKey:"payments"})}function IP(e){return n.jsx(r,{...e,iconKey:"pedal_bike"})}function bP(e){return n.jsx(r,{...e,iconKey:"pending"})}function pP(e){return n.jsx(r,{...e,iconKey:"pending_actions"})}function wP(e){return n.jsx(r,{...e,iconKey:"pentagon"})}function kP(e){return n.jsx(r,{...e,iconKey:"people"})}function mP(e){return n.jsx(r,{...e,iconKey:"people_alt"})}function vP(e){return n.jsx(r,{...e,iconKey:"people_outline"})}function KP(e){return n.jsx(r,{...e,iconKey:"percent"})}function CP(e){return n.jsx(r,{...e,iconKey:"perm_camera_mic"})}function SP(e){return n.jsx(r,{...e,iconKey:"perm_contact_calendar"})}function BP(e){return n.jsx(r,{...e,iconKey:"perm_data_setting"})}function EP(e){return n.jsx(r,{...e,iconKey:"perm_device_information"})}function FP(e){return n.jsx(r,{...e,iconKey:"perm_identity"})}function PP(e){return n.jsx(r,{...e,iconKey:"perm_media"})}function DP(e){return n.jsx(r,{...e,iconKey:"perm_phone_msg"})}function NP(e){return n.jsx(r,{...e,iconKey:"perm_scan_wifi"})}function TP(e){return n.jsx(r,{...e,iconKey:"person"})}function MP(e){return n.jsx(r,{...e,iconKey:"person_2"})}function OP(e){return n.jsx(r,{...e,iconKey:"person_3"})}function LP(e){return n.jsx(r,{...e,iconKey:"person_4"})}function QP(e){return n.jsx(r,{...e,iconKey:"person_add"})}function VP(e){return n.jsx(r,{...e,iconKey:"person_add_alt"})}function WP(e){return n.jsx(r,{...e,iconKey:"person_add_alt_1"})}function GP(e){return n.jsx(r,{...e,iconKey:"person_add_disabled"})}function zP(e){return n.jsx(r,{...e,iconKey:"person_off"})}function HP(e){return n.jsx(r,{...e,iconKey:"person_outline"})}function UP(e){return n.jsx(r,{...e,iconKey:"person_pin"})}function YP(e){return n.jsx(r,{...e,iconKey:"person_pin_circle"})}function $P(e){return n.jsx(r,{...e,iconKey:"person_remove"})}function jP(e){return n.jsx(r,{...e,iconKey:"person_remove_alt_1"})}function qP(e){return n.jsx(r,{...e,iconKey:"person_search"})}function JP(e){return n.jsx(r,{...e,iconKey:"personal_injury"})}function ZP(e){return n.jsx(r,{...e,iconKey:"personal_video"})}function XP(e){return n.jsx(r,{...e,iconKey:"pest_control"})}function xP(e){return n.jsx(r,{...e,iconKey:"pest_control_rodent"})}function RP(e){return n.jsx(r,{...e,iconKey:"pets"})}function e1(e){return n.jsx(r,{...e,iconKey:"phishing"})}function n1(e){return n.jsx(r,{...e,iconKey:"phone"})}function o1(e){return n.jsx(r,{...e,iconKey:"phone_android"})}function r1(e){return n.jsx(r,{...e,iconKey:"phone_bluetooth_speaker"})}function t1(e){return n.jsx(r,{...e,iconKey:"phone_callback"})}function c1(e){return n.jsx(r,{...e,iconKey:"phone_disabled"})}function i1(e){return n.jsx(r,{...e,iconKey:"phone_enabled"})}function a1(e){return n.jsx(r,{...e,iconKey:"phone_forwarded"})}function l1(e){return n.jsx(r,{...e,iconKey:"phone_iphone"})}function s1(e){return n.jsx(r,{...e,iconKey:"phone_locked"})}function d1(e){return n.jsx(r,{...e,iconKey:"phone_missed"})}function u1(e){return n.jsx(r,{...e,iconKey:"phone_paused"})}function f1(e){return n.jsx(r,{...e,iconKey:"phonelink"})}function A1(e){return n.jsx(r,{...e,iconKey:"phonelink_erase"})}function _1(e){return n.jsx(r,{...e,iconKey:"phonelink_lock"})}function y1(e){return n.jsx(r,{...e,iconKey:"phonelink_off"})}function g1(e){return n.jsx(r,{...e,iconKey:"phonelink_ring"})}function h1(e){return n.jsx(r,{...e,iconKey:"phonelink_setup"})}function I1(e){return n.jsx(r,{...e,iconKey:"photo"})}function b1(e){return n.jsx(r,{...e,iconKey:"photo_album"})}function p1(e){return n.jsx(r,{...e,iconKey:"photo_camera"})}function w1(e){return n.jsx(r,{...e,iconKey:"photo_camera_back"})}function k1(e){return n.jsx(r,{...e,iconKey:"photo_camera_front"})}function m1(e){return n.jsx(r,{...e,iconKey:"photo_filter"})}function v1(e){return n.jsx(r,{...e,iconKey:"photo_library"})}function K1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_actual"})}function C1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_large"})}function S1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_small"})}function B1(e){return n.jsx(r,{...e,iconKey:"php"})}function E1(e){return n.jsx(r,{...e,iconKey:"piano"})}function F1(e){return n.jsx(r,{...e,iconKey:"piano_off"})}function P1(e){return n.jsx(r,{...e,iconKey:"picture_as_pdf"})}function D1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture"})}function N1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture_alt"})}function T1(e){return n.jsx(r,{...e,iconKey:"pie_chart"})}function M1(e){return n.jsx(r,{...e,iconKey:"pie_chart_outline"})}function O1(e){return n.jsx(r,{...e,iconKey:"pin"})}function L1(e){return n.jsx(r,{...e,iconKey:"pin_drop"})}function Q1(e){return n.jsx(r,{...e,iconKey:"pin_end"})}function V1(e){return n.jsx(r,{...e,iconKey:"pin_invoke"})}function W1(e){return n.jsx(r,{...e,iconKey:"pinch"})}function G1(e){return n.jsx(r,{...e,iconKey:"pivot_table_chart"})}function z1(e){return n.jsx(r,{...e,iconKey:"pix"})}function H1(e){return n.jsx(r,{...e,iconKey:"place"})}function U1(e){return n.jsx(r,{...e,iconKey:"plagiarism"})}function Y1(e){return n.jsx(r,{...e,iconKey:"play_arrow"})}function $1(e){return n.jsx(r,{...e,iconKey:"play_circle"})}function j1(e){return n.jsx(r,{...e,iconKey:"play_circle_filled"})}function q1(e){return n.jsx(r,{...e,iconKey:"play_circle_outline"})}function J1(e){return n.jsx(r,{...e,iconKey:"play_disabled"})}function Z1(e){return n.jsx(r,{...e,iconKey:"play_for_work"})}function X1(e){return n.jsx(r,{...e,iconKey:"play_lesson"})}function x1(e){return n.jsx(r,{...e,iconKey:"playlist_add"})}function R1(e){return n.jsx(r,{...e,iconKey:"playlist_add_check"})}function eD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check_circle"})}function nD(e){return n.jsx(r,{...e,iconKey:"playlist_add_circle"})}function oD(e){return n.jsx(r,{...e,iconKey:"playlist_play"})}function rD(e){return n.jsx(r,{...e,iconKey:"playlist_remove"})}function tD(e){return n.jsx(r,{...e,iconKey:"plumbing"})}function cD(e){return n.jsx(r,{...e,iconKey:"plus_one"})}function iD(e){return n.jsx(r,{...e,iconKey:"podcasts"})}function aD(e){return n.jsx(r,{...e,iconKey:"point_of_sale"})}function lD(e){return n.jsx(r,{...e,iconKey:"policy"})}function sD(e){return n.jsx(r,{...e,iconKey:"poll"})}function dD(e){return n.jsx(r,{...e,iconKey:"polyline"})}function uD(e){return n.jsx(r,{...e,iconKey:"polymer"})}function fD(e){return n.jsx(r,{...e,iconKey:"pool"})}function AD(e){return n.jsx(r,{...e,iconKey:"portable_wifi_off"})}function _D(e){return n.jsx(r,{...e,iconKey:"portrait"})}function yD(e){return n.jsx(r,{...e,iconKey:"post_add"})}function gD(e){return n.jsx(r,{...e,iconKey:"power"})}function hD(e){return n.jsx(r,{...e,iconKey:"power_input"})}function ID(e){return n.jsx(r,{...e,iconKey:"power_off"})}function bD(e){return n.jsx(r,{...e,iconKey:"power_settings_new"})}function pD(e){return n.jsx(r,{...e,iconKey:"precision_manufacturing"})}function wD(e){return n.jsx(r,{...e,iconKey:"pregnant_woman"})}function kD(e){return n.jsx(r,{...e,iconKey:"present_to_all"})}function mD(e){return n.jsx(r,{...e,iconKey:"preview"})}function vD(e){return n.jsx(r,{...e,iconKey:"price_change"})}function KD(e){return n.jsx(r,{...e,iconKey:"price_check"})}function CD(e){return n.jsx(r,{...e,iconKey:"print"})}function SD(e){return n.jsx(r,{...e,iconKey:"print_disabled"})}function BD(e){return n.jsx(r,{...e,iconKey:"priority_high"})}function ED(e){return n.jsx(r,{...e,iconKey:"privacy_tip"})}function FD(e){return n.jsx(r,{...e,iconKey:"private_connectivity"})}function PD(e){return n.jsx(r,{...e,iconKey:"production_quantity_limits"})}function DD(e){return n.jsx(r,{...e,iconKey:"propane"})}function ND(e){return n.jsx(r,{...e,iconKey:"propane_tank"})}function TD(e){return n.jsx(r,{...e,iconKey:"psychology"})}function MD(e){return n.jsx(r,{...e,iconKey:"psychology_alt"})}function OD(e){return n.jsx(r,{...e,iconKey:"public"})}function LD(e){return n.jsx(r,{...e,iconKey:"public_off"})}function QD(e){return n.jsx(r,{...e,iconKey:"publish"})}function VD(e){return n.jsx(r,{...e,iconKey:"published_with_changes"})}function WD(e){return n.jsx(r,{...e,iconKey:"punch_clock"})}function GD(e){return n.jsx(r,{...e,iconKey:"push_pin"})}function zD(e){return n.jsx(r,{...e,iconKey:"qr_code"})}function HD(e){return n.jsx(r,{...e,iconKey:"qr_code_2"})}function UD(e){return n.jsx(r,{...e,iconKey:"qr_code_scanner"})}function YD(e){return n.jsx(r,{...e,iconKey:"query_builder"})}function $D(e){return n.jsx(r,{...e,iconKey:"query_stats"})}function jD(e){return n.jsx(r,{...e,iconKey:"question_answer"})}function qD(e){return n.jsx(r,{...e,iconKey:"question_mark"})}function JD(e){return n.jsx(r,{...e,iconKey:"queue"})}function ZD(e){return n.jsx(r,{...e,iconKey:"queue_music"})}function XD(e){return n.jsx(r,{...e,iconKey:"queue_play_next"})}function xD(e){return n.jsx(r,{...e,iconKey:"quickreply"})}function RD(e){return n.jsx(r,{...e,iconKey:"quiz"})}function eN(e){return n.jsx(r,{...e,iconKey:"r_mobiledata"})}function nN(e){return n.jsx(r,{...e,iconKey:"radar"})}function oN(e){return n.jsx(r,{...e,iconKey:"radio"})}function rN(e){return n.jsx(r,{...e,iconKey:"radio_button_checked"})}function tN(e){return n.jsx(r,{...e,iconKey:"radio_button_unchecked"})}function cN(e){return n.jsx(r,{...e,iconKey:"railway_alert"})}function iN(e){return n.jsx(r,{...e,iconKey:"ramen_dining"})}function aN(e){return n.jsx(r,{...e,iconKey:"ramp_left"})}function lN(e){return n.jsx(r,{...e,iconKey:"ramp_right"})}function sN(e){return n.jsx(r,{...e,iconKey:"rate_review"})}function dN(e){return n.jsx(r,{...e,iconKey:"raw_off"})}function uN(e){return n.jsx(r,{...e,iconKey:"raw_on"})}function fN(e){return n.jsx(r,{...e,iconKey:"read_more"})}function AN(e){return n.jsx(r,{...e,iconKey:"real_estate_agent"})}function _N(e){return n.jsx(r,{...e,iconKey:"receipt"})}function yN(e){return n.jsx(r,{...e,iconKey:"receipt_long"})}function gN(e){return n.jsx(r,{...e,iconKey:"recent_actors"})}function hN(e){return n.jsx(r,{...e,iconKey:"recommend"})}function IN(e){return n.jsx(r,{...e,iconKey:"record_voice_over"})}function bN(e){return n.jsx(r,{...e,iconKey:"rectangle"})}function pN(e){return n.jsx(r,{...e,iconKey:"recycling"})}function wN(e){return n.jsx(r,{...e,iconKey:"redeem"})}function kN(e){return n.jsx(r,{...e,iconKey:"redo"})}function mN(e){return n.jsx(r,{...e,iconKey:"reduce_capacity"})}function vN(e){return n.jsx(r,{...e,iconKey:"refresh"})}function KN(e){return n.jsx(r,{...e,iconKey:"remember_me"})}function to(e){return n.jsx(r,{...e,iconKey:"remove"})}function Pc(e){return n.jsx(r,{...e,iconKey:"remove_circle"})}function CN(e){return n.jsx(r,{...e,iconKey:"remove_circle_outline"})}function SN(e){return n.jsx(r,{...e,iconKey:"remove_done"})}function BN(e){return n.jsx(r,{...e,iconKey:"remove_from_queue"})}function EN(e){return n.jsx(r,{...e,iconKey:"remove_moderator"})}function FN(e){return n.jsx(r,{...e,iconKey:"remove_red_eye"})}function PN(e){return n.jsx(r,{...e,iconKey:"remove_road"})}function DN(e){return n.jsx(r,{...e,iconKey:"remove_shopping_cart"})}function NN(e){return n.jsx(r,{...e,iconKey:"reorder"})}function TN(e){return n.jsx(r,{...e,iconKey:"repartition"})}function kr(e){return n.jsx(r,{...e,iconKey:"repeat"})}function MN(e){return n.jsx(r,{...e,iconKey:"repeat_on"})}function ON(e){return n.jsx(r,{...e,iconKey:"repeat_one"})}function LN(e){return n.jsx(r,{...e,iconKey:"repeat_one_on"})}function QN(e){return n.jsx(r,{...e,iconKey:"replay"})}function VN(e){return n.jsx(r,{...e,iconKey:"replay_10"})}function WN(e){return n.jsx(r,{...e,iconKey:"replay_30"})}function GN(e){return n.jsx(r,{...e,iconKey:"replay_5"})}function zN(e){return n.jsx(r,{...e,iconKey:"replay_circle_filled"})}function HN(e){return n.jsx(r,{...e,iconKey:"reply"})}function UN(e){return n.jsx(r,{...e,iconKey:"reply_all"})}function YN(e){return n.jsx(r,{...e,iconKey:"report"})}function $N(e){return n.jsx(r,{...e,iconKey:"report_gmailerrorred"})}function jN(e){return n.jsx(r,{...e,iconKey:"report_off"})}function qN(e){return n.jsx(r,{...e,iconKey:"report_problem"})}function JN(e){return n.jsx(r,{...e,iconKey:"request_page"})}function ZN(e){return n.jsx(r,{...e,iconKey:"request_quote"})}function XN(e){return n.jsx(r,{...e,iconKey:"reset_tv"})}function xN(e){return n.jsx(r,{...e,iconKey:"restart_alt"})}function RN(e){return n.jsx(r,{...e,iconKey:"restaurant"})}function eT(e){return n.jsx(r,{...e,iconKey:"restaurant_menu"})}function nT(e){return n.jsx(r,{...e,iconKey:"restore"})}function oT(e){return n.jsx(r,{...e,iconKey:"restore_from_trash"})}function rT(e){return n.jsx(r,{...e,iconKey:"restore_page"})}function tT(e){return n.jsx(r,{...e,iconKey:"reviews"})}function cT(e){return n.jsx(r,{...e,iconKey:"rice_bowl"})}function iT(e){return n.jsx(r,{...e,iconKey:"ring_volume"})}function aT(e){return n.jsx(r,{...e,iconKey:"rocket"})}function lT(e){return n.jsx(r,{...e,iconKey:"rocket_launch"})}function sT(e){return n.jsx(r,{...e,iconKey:"roller_shades"})}function dT(e){return n.jsx(r,{...e,iconKey:"roller_shades_closed"})}function uT(e){return n.jsx(r,{...e,iconKey:"roller_skating"})}function fT(e){return n.jsx(r,{...e,iconKey:"roofing"})}function AT(e){return n.jsx(r,{...e,iconKey:"room"})}function _T(e){return n.jsx(r,{...e,iconKey:"room_preferences"})}function yT(e){return n.jsx(r,{...e,iconKey:"room_service"})}function gT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_ccw"})}function hT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_cw"})}function IT(e){return n.jsx(r,{...e,iconKey:"rotate_left"})}function bT(e){return n.jsx(r,{...e,iconKey:"rotate_right"})}function pT(e){return n.jsx(r,{...e,iconKey:"roundabout_left"})}function wT(e){return n.jsx(r,{...e,iconKey:"roundabout_right"})}function kT(e){return n.jsx(r,{...e,iconKey:"rounded_corner"})}function mT(e){return n.jsx(r,{...e,iconKey:"route"})}function vT(e){return n.jsx(r,{...e,iconKey:"router"})}function KT(e){return n.jsx(r,{...e,iconKey:"rowing"})}function CT(e){return n.jsx(r,{...e,iconKey:"rss_feed"})}function ST(e){return n.jsx(r,{...e,iconKey:"rsvp"})}function BT(e){return n.jsx(r,{...e,iconKey:"rtt"})}function ET(e){return n.jsx(r,{...e,iconKey:"rule"})}function FT(e){return n.jsx(r,{...e,iconKey:"rule_folder"})}function PT(e){return n.jsx(r,{...e,iconKey:"run_circle"})}function DT(e){return n.jsx(r,{...e,iconKey:"running_with_errors"})}function NT(e){return n.jsx(r,{...e,iconKey:"rv_hookup"})}function TT(e){return n.jsx(r,{...e,iconKey:"safety_check"})}function MT(e){return n.jsx(r,{...e,iconKey:"safety_divider"})}function OT(e){return n.jsx(r,{...e,iconKey:"sailing"})}function LT(e){return n.jsx(r,{...e,iconKey:"sanitizer"})}function QT(e){return n.jsx(r,{...e,iconKey:"satellite"})}function VT(e){return n.jsx(r,{...e,iconKey:"satellite_alt"})}function WT(e){return n.jsx(r,{...e,iconKey:"save"})}function GT(e){return n.jsx(r,{...e,iconKey:"save_alt"})}function zT(e){return n.jsx(r,{...e,iconKey:"save_as"})}function HT(e){return n.jsx(r,{...e,iconKey:"saved_search"})}function UT(e){return n.jsx(r,{...e,iconKey:"savings"})}function YT(e){return n.jsx(r,{...e,iconKey:"scale"})}function $T(e){return n.jsx(r,{...e,iconKey:"scanner"})}function jT(e){return n.jsx(r,{...e,iconKey:"scatter_plot"})}function Dc(e){return n.jsx(r,{...e,iconKey:"schedule"})}function qT(e){return n.jsx(r,{...e,iconKey:"schedule_send"})}function JT(e){return n.jsx(r,{...e,iconKey:"schema"})}function ZT(e){return n.jsx(r,{...e,iconKey:"school"})}function XT(e){return n.jsx(r,{...e,iconKey:"science"})}function xT(e){return n.jsx(r,{...e,iconKey:"score"})}function RT(e){return n.jsx(r,{...e,iconKey:"scoreboard"})}function eM(e){return n.jsx(r,{...e,iconKey:"screen_lock_landscape"})}function nM(e){return n.jsx(r,{...e,iconKey:"screen_lock_portrait"})}function oM(e){return n.jsx(r,{...e,iconKey:"screen_lock_rotation"})}function rM(e){return n.jsx(r,{...e,iconKey:"screen_rotation"})}function tM(e){return n.jsx(r,{...e,iconKey:"screen_rotation_alt"})}function cM(e){return n.jsx(r,{...e,iconKey:"screen_search_desktop"})}function iM(e){return n.jsx(r,{...e,iconKey:"screen_share"})}function aM(e){return n.jsx(r,{...e,iconKey:"screenshot"})}function lM(e){return n.jsx(r,{...e,iconKey:"screenshot_monitor"})}function sM(e){return n.jsx(r,{...e,iconKey:"scuba_diving"})}function dM(e){return n.jsx(r,{...e,iconKey:"sd"})}function uM(e){return n.jsx(r,{...e,iconKey:"sd_card"})}function fM(e){return n.jsx(r,{...e,iconKey:"sd_card_alert"})}function AM(e){return n.jsx(r,{...e,iconKey:"sd_storage"})}function _M(e){return n.jsx(r,{...e,iconKey:"search_off"})}function yM(e){return n.jsx(r,{...e,iconKey:"security"})}function gM(e){return n.jsx(r,{...e,iconKey:"security_update"})}function hM(e){return n.jsx(r,{...e,iconKey:"security_update_good"})}function IM(e){return n.jsx(r,{...e,iconKey:"security_update_warning"})}function bM(e){return n.jsx(r,{...e,iconKey:"segment"})}function pM(e){return n.jsx(r,{...e,iconKey:"select_all"})}function wM(e){return n.jsx(r,{...e,iconKey:"self_improvement"})}function kM(e){return n.jsx(r,{...e,iconKey:"sell"})}function mM(e){return n.jsx(r,{...e,iconKey:"send"})}function vM(e){return n.jsx(r,{...e,iconKey:"send_and_archive"})}function KM(e){return n.jsx(r,{...e,iconKey:"send_time_extension"})}function CM(e){return n.jsx(r,{...e,iconKey:"send_to_mobile"})}function SM(e){return n.jsx(r,{...e,iconKey:"sensor_door"})}function BM(e){return n.jsx(r,{...e,iconKey:"sensor_occupied"})}function EM(e){return n.jsx(r,{...e,iconKey:"sensor_window"})}function FM(e){return n.jsx(r,{...e,iconKey:"sensors"})}function PM(e){return n.jsx(r,{...e,iconKey:"sensors_off"})}function DM(e){return n.jsx(r,{...e,iconKey:"sentiment_dissatisfied"})}function NM(e){return n.jsx(r,{...e,iconKey:"sentiment_neutral"})}function TM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied"})}function MM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied_alt"})}function OM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_dissatisfied"})}function LM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_satisfied"})}function QM(e){return n.jsx(r,{...e,iconKey:"set_meal"})}function VM(e){return n.jsx(r,{...e,iconKey:"settings"})}function WM(e){return n.jsx(r,{...e,iconKey:"settings_accessibility"})}function GM(e){return n.jsx(r,{...e,iconKey:"settings_applications"})}function zM(e){return n.jsx(r,{...e,iconKey:"settings_backup_restore"})}function HM(e){return n.jsx(r,{...e,iconKey:"settings_bluetooth"})}function UM(e){return n.jsx(r,{...e,iconKey:"settings_brightness"})}function YM(e){return n.jsx(r,{...e,iconKey:"settings_cell"})}function $M(e){return n.jsx(r,{...e,iconKey:"settings_ethernet"})}function jM(e){return n.jsx(r,{...e,iconKey:"settings_input_antenna"})}function qM(e){return n.jsx(r,{...e,iconKey:"settings_input_component"})}function JM(e){return n.jsx(r,{...e,iconKey:"settings_input_composite"})}function ZM(e){return n.jsx(r,{...e,iconKey:"settings_input_hdmi"})}function XM(e){return n.jsx(r,{...e,iconKey:"settings_input_svideo"})}function xM(e){return n.jsx(r,{...e,iconKey:"settings_overscan"})}function RM(e){return n.jsx(r,{...e,iconKey:"settings_phone"})}function e2(e){return n.jsx(r,{...e,iconKey:"settings_power"})}function n2(e){return n.jsx(r,{...e,iconKey:"settings_remote"})}function o2(e){return n.jsx(r,{...e,iconKey:"settings_suggest"})}function r2(e){return n.jsx(r,{...e,iconKey:"settings_system_daydream"})}function t2(e){return n.jsx(r,{...e,iconKey:"settings_voice"})}function c2(e){return n.jsx(r,{...e,iconKey:"severe_cold"})}function i2(e){return n.jsx(r,{...e,iconKey:"shape_line"})}function a2(e){return n.jsx(r,{...e,iconKey:"share"})}function l2(e){return n.jsx(r,{...e,iconKey:"share_location"})}function s2(e){return n.jsx(r,{...e,iconKey:"shield"})}function d2(e){return n.jsx(r,{...e,iconKey:"shield_moon"})}function u2(e){return n.jsx(r,{...e,iconKey:"shop"})}function f2(e){return n.jsx(r,{...e,iconKey:"shop_2"})}function A2(e){return n.jsx(r,{...e,iconKey:"shop_two"})}function _2(e){return n.jsx(r,{...e,iconKey:"shopping_bag"})}function y2(e){return n.jsx(r,{...e,iconKey:"shopping_basket"})}function g2(e){return n.jsx(r,{...e,iconKey:"shopping_cart"})}function h2(e){return n.jsx(r,{...e,iconKey:"shopping_cart_checkout"})}function Nc(e){return n.jsx(r,{...e,iconKey:"short_text"})}function I2(e){return n.jsx(r,{...e,iconKey:"shortcut"})}function b2(e){return n.jsx(r,{...e,iconKey:"show_chart"})}function p2(e){return n.jsx(r,{...e,iconKey:"shower"})}function w2(e){return n.jsx(r,{...e,iconKey:"shuffle"})}function k2(e){return n.jsx(r,{...e,iconKey:"shuffle_on"})}function m2(e){return n.jsx(r,{...e,iconKey:"shutter_speed"})}function v2(e){return n.jsx(r,{...e,iconKey:"sick"})}function K2(e){return n.jsx(r,{...e,iconKey:"sign_language"})}function C2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_0_bar"})}function S2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_4_bar"})}function B2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt"})}function E2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_1_bar"})}function F2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_2_bar"})}function P2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_0_bar"})}function D2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_4_bar"})}function N2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_no_sim"})}function T2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_nodata"})}function M2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_null"})}function O2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_off"})}function L2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_0_bar"})}function Q2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar"})}function V2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar_lock"})}function W2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_bad"})}function G2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_connected_no_internet_4"})}function z2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_off"})}function H2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_4_bar"})}function U2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_connected_no_internet_4"})}function Y2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_null"})}function $2(e){return n.jsx(r,{...e,iconKey:"signpost"})}function j2(e){return n.jsx(r,{...e,iconKey:"sim_card"})}function q2(e){return n.jsx(r,{...e,iconKey:"sim_card_alert"})}function J2(e){return n.jsx(r,{...e,iconKey:"sim_card_download"})}function Z2(e){return n.jsx(r,{...e,iconKey:"single_bed"})}function X2(e){return n.jsx(r,{...e,iconKey:"sip"})}function x2(e){return n.jsx(r,{...e,iconKey:"skateboarding"})}function R2(e){return n.jsx(r,{...e,iconKey:"skip_next"})}function eO(e){return n.jsx(r,{...e,iconKey:"skip_previous"})}function nO(e){return n.jsx(r,{...e,iconKey:"sledding"})}function oO(e){return n.jsx(r,{...e,iconKey:"slideshow"})}function rO(e){return n.jsx(r,{...e,iconKey:"slow_motion_video"})}function tO(e){return n.jsx(r,{...e,iconKey:"smart_button"})}function cO(e){return n.jsx(r,{...e,iconKey:"smart_display"})}function iO(e){return n.jsx(r,{...e,iconKey:"smart_screen"})}function aO(e){return n.jsx(r,{...e,iconKey:"smart_toy"})}function lO(e){return n.jsx(r,{...e,iconKey:"smartphone"})}function sO(e){return n.jsx(r,{...e,iconKey:"smoke_free"})}function dO(e){return n.jsx(r,{...e,iconKey:"smoking_rooms"})}function uO(e){return n.jsx(r,{...e,iconKey:"sms"})}function fO(e){return n.jsx(r,{...e,iconKey:"sms_failed"})}function AO(e){return n.jsx(r,{...e,iconKey:"snippet_folder"})}function _O(e){return n.jsx(r,{...e,iconKey:"snooze"})}function yO(e){return n.jsx(r,{...e,iconKey:"snowboarding"})}function gO(e){return n.jsx(r,{...e,iconKey:"snowmobile"})}function hO(e){return n.jsx(r,{...e,iconKey:"snowshoeing"})}function IO(e){return n.jsx(r,{...e,iconKey:"soap"})}function bO(e){return n.jsx(r,{...e,iconKey:"social_distance"})}function pO(e){return n.jsx(r,{...e,iconKey:"solar_power"})}function wO(e){return n.jsx(r,{...e,iconKey:"sort"})}function kO(e){return n.jsx(r,{...e,iconKey:"sort_by_alpha"})}function mO(e){return n.jsx(r,{...e,iconKey:"sos"})}function vO(e){return n.jsx(r,{...e,iconKey:"soup_kitchen"})}function KO(e){return n.jsx(r,{...e,iconKey:"source"})}function CO(e){return n.jsx(r,{...e,iconKey:"south"})}function SO(e){return n.jsx(r,{...e,iconKey:"south_america"})}function BO(e){return n.jsx(r,{...e,iconKey:"south_east"})}function EO(e){return n.jsx(r,{...e,iconKey:"south_west"})}function FO(e){return n.jsx(r,{...e,iconKey:"spa"})}function PO(e){return n.jsx(r,{...e,iconKey:"space_bar"})}function DO(e){return n.jsx(r,{...e,iconKey:"space_dashboard"})}function NO(e){return n.jsx(r,{...e,iconKey:"spatial_audio"})}function TO(e){return n.jsx(r,{...e,iconKey:"spatial_audio_off"})}function MO(e){return n.jsx(r,{...e,iconKey:"spatial_tracking"})}function OO(e){return n.jsx(r,{...e,iconKey:"speaker"})}function LO(e){return n.jsx(r,{...e,iconKey:"speaker_group"})}function QO(e){return n.jsx(r,{...e,iconKey:"speaker_notes"})}function VO(e){return n.jsx(r,{...e,iconKey:"speaker_notes_off"})}function WO(e){return n.jsx(r,{...e,iconKey:"speaker_phone"})}function GO(e){return n.jsx(r,{...e,iconKey:"speed"})}function zO(e){return n.jsx(r,{...e,iconKey:"spellcheck"})}function HO(e){return n.jsx(r,{...e,iconKey:"splitscreen"})}function UO(e){return n.jsx(r,{...e,iconKey:"spoke"})}function YO(e){return n.jsx(r,{...e,iconKey:"sports"})}function $O(e){return n.jsx(r,{...e,iconKey:"sports_bar"})}function jO(e){return n.jsx(r,{...e,iconKey:"sports_baseball"})}function qO(e){return n.jsx(r,{...e,iconKey:"sports_basketball"})}function JO(e){return n.jsx(r,{...e,iconKey:"sports_cricket"})}function ZO(e){return n.jsx(r,{...e,iconKey:"sports_esports"})}function XO(e){return n.jsx(r,{...e,iconKey:"sports_football"})}function xO(e){return n.jsx(r,{...e,iconKey:"sports_golf"})}function RO(e){return n.jsx(r,{...e,iconKey:"sports_gymnastics"})}function eL(e){return n.jsx(r,{...e,iconKey:"sports_handball"})}function nL(e){return n.jsx(r,{...e,iconKey:"sports_hockey"})}function oL(e){return n.jsx(r,{...e,iconKey:"sports_kabaddi"})}function rL(e){return n.jsx(r,{...e,iconKey:"sports_martial_arts"})}function tL(e){return n.jsx(r,{...e,iconKey:"sports_mma"})}function cL(e){return n.jsx(r,{...e,iconKey:"sports_motorsports"})}function iL(e){return n.jsx(r,{...e,iconKey:"sports_rugby"})}function aL(e){return n.jsx(r,{...e,iconKey:"sports_score"})}function lL(e){return n.jsx(r,{...e,iconKey:"sports_soccer"})}function sL(e){return n.jsx(r,{...e,iconKey:"sports_tennis"})}function dL(e){return n.jsx(r,{...e,iconKey:"sports_volleyball"})}function uL(e){return n.jsx(r,{...e,iconKey:"square"})}function fL(e){return n.jsx(r,{...e,iconKey:"square_foot"})}function AL(e){return n.jsx(r,{...e,iconKey:"ssid_chart"})}function _L(e){return n.jsx(r,{...e,iconKey:"stacked_bar_chart"})}function yL(e){return n.jsx(r,{...e,iconKey:"stacked_line_chart"})}function gL(e){return n.jsx(r,{...e,iconKey:"stadium"})}function hL(e){return n.jsx(r,{...e,iconKey:"stairs"})}function mr(e){return n.jsx(r,{...e,iconKey:"star"})}function vr(e){return n.jsx(r,{...e,iconKey:"star_border"})}function IL(e){return n.jsx(r,{...e,iconKey:"star_border_purple500"})}function bL(e){return n.jsx(r,{...e,iconKey:"star_half"})}function pL(e){return n.jsx(r,{...e,iconKey:"star_outline"})}function wL(e){return n.jsx(r,{...e,iconKey:"star_purple500"})}function kL(e){return n.jsx(r,{...e,iconKey:"star_rate"})}function mL(e){return n.jsx(r,{...e,iconKey:"stars"})}function vL(e){return n.jsx(r,{...e,iconKey:"start"})}function KL(e){return n.jsx(r,{...e,iconKey:"stay_current_landscape"})}function CL(e){return n.jsx(r,{...e,iconKey:"stay_current_portrait"})}function SL(e){return n.jsx(r,{...e,iconKey:"stay_primary_landscape"})}function BL(e){return n.jsx(r,{...e,iconKey:"stay_primary_portrait"})}function EL(e){return n.jsx(r,{...e,iconKey:"sticky_note_2"})}function FL(e){return n.jsx(r,{...e,iconKey:"stop"})}function PL(e){return n.jsx(r,{...e,iconKey:"stop_circle"})}function DL(e){return n.jsx(r,{...e,iconKey:"stop_screen_share"})}function NL(e){return n.jsx(r,{...e,iconKey:"storage"})}function TL(e){return n.jsx(r,{...e,iconKey:"store"})}function ML(e){return n.jsx(r,{...e,iconKey:"store_mall_directory"})}function OL(e){return n.jsx(r,{...e,iconKey:"storefront"})}function LL(e){return n.jsx(r,{...e,iconKey:"storm"})}function QL(e){return n.jsx(r,{...e,iconKey:"straight"})}function VL(e){return n.jsx(r,{...e,iconKey:"straighten"})}function WL(e){return n.jsx(r,{...e,iconKey:"stream"})}function GL(e){return n.jsx(r,{...e,iconKey:"streetview"})}function zL(e){return n.jsx(r,{...e,iconKey:"strikethrough_s"})}function HL(e){return n.jsx(r,{...e,iconKey:"stroller"})}function UL(e){return n.jsx(r,{...e,iconKey:"style"})}function YL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_left"})}function $L(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_right"})}function Tc(e){return n.jsx(r,{...e,iconKey:"subject"})}function jL(e){return n.jsx(r,{...e,iconKey:"subscript"})}function qL(e){return n.jsx(r,{...e,iconKey:"subscriptions"})}function JL(e){return n.jsx(r,{...e,iconKey:"subtitles"})}function ZL(e){return n.jsx(r,{...e,iconKey:"subtitles_off"})}function XL(e){return n.jsx(r,{...e,iconKey:"subway"})}function xL(e){return n.jsx(r,{...e,iconKey:"summarize"})}function RL(e){return n.jsx(r,{...e,iconKey:"superscript"})}function e4(e){return n.jsx(r,{...e,iconKey:"supervised_user_circle"})}function n4(e){return n.jsx(r,{...e,iconKey:"supervisor_account"})}function o4(e){return n.jsx(r,{...e,iconKey:"support"})}function r4(e){return n.jsx(r,{...e,iconKey:"support_agent"})}function t4(e){return n.jsx(r,{...e,iconKey:"surfing"})}function c4(e){return n.jsx(r,{...e,iconKey:"surround_sound"})}function i4(e){return n.jsx(r,{...e,iconKey:"swap_calls"})}function a4(e){return n.jsx(r,{...e,iconKey:"swap_horiz"})}function l4(e){return n.jsx(r,{...e,iconKey:"swap_horizontal_circle"})}function s4(e){return n.jsx(r,{...e,iconKey:"swap_vert"})}function d4(e){return n.jsx(r,{...e,iconKey:"swap_vertical_circle"})}function u4(e){return n.jsx(r,{...e,iconKey:"swipe"})}function f4(e){return n.jsx(r,{...e,iconKey:"swipe_down"})}function A4(e){return n.jsx(r,{...e,iconKey:"swipe_down_alt"})}function _4(e){return n.jsx(r,{...e,iconKey:"swipe_left"})}function y4(e){return n.jsx(r,{...e,iconKey:"swipe_left_alt"})}function g4(e){return n.jsx(r,{...e,iconKey:"swipe_right"})}function h4(e){return n.jsx(r,{...e,iconKey:"swipe_right_alt"})}function I4(e){return n.jsx(r,{...e,iconKey:"swipe_up"})}function b4(e){return n.jsx(r,{...e,iconKey:"swipe_up_alt"})}function p4(e){return n.jsx(r,{...e,iconKey:"swipe_vertical"})}function w4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut"})}function k4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut_add"})}function m4(e){return n.jsx(r,{...e,iconKey:"switch_account"})}function v4(e){return n.jsx(r,{...e,iconKey:"switch_camera"})}function K4(e){return n.jsx(r,{...e,iconKey:"switch_left"})}function C4(e){return n.jsx(r,{...e,iconKey:"switch_right"})}function S4(e){return n.jsx(r,{...e,iconKey:"switch_video"})}function B4(e){return n.jsx(r,{...e,iconKey:"synagogue"})}function E4(e){return n.jsx(r,{...e,iconKey:"sync"})}function F4(e){return n.jsx(r,{...e,iconKey:"sync_alt"})}function P4(e){return n.jsx(r,{...e,iconKey:"sync_disabled"})}function D4(e){return n.jsx(r,{...e,iconKey:"sync_lock"})}function N4(e){return n.jsx(r,{...e,iconKey:"sync_problem"})}function T4(e){return n.jsx(r,{...e,iconKey:"system_security_update"})}function M4(e){return n.jsx(r,{...e,iconKey:"system_security_update_good"})}function O4(e){return n.jsx(r,{...e,iconKey:"system_security_update_warning"})}function L4(e){return n.jsx(r,{...e,iconKey:"system_update"})}function Q4(e){return n.jsx(r,{...e,iconKey:"system_update_alt"})}function V4(e){return n.jsx(r,{...e,iconKey:"tab"})}function W4(e){return n.jsx(r,{...e,iconKey:"tab_unselected"})}function G4(e){return n.jsx(r,{...e,iconKey:"table_bar"})}function z4(e){return n.jsx(r,{...e,iconKey:"table_chart"})}function H4(e){return n.jsx(r,{...e,iconKey:"table_restaurant"})}function U4(e){return n.jsx(r,{...e,iconKey:"table_rows"})}function Y4(e){return n.jsx(r,{...e,iconKey:"table_view"})}function $4(e){return n.jsx(r,{...e,iconKey:"tablet"})}function j4(e){return n.jsx(r,{...e,iconKey:"tablet_android"})}function q4(e){return n.jsx(r,{...e,iconKey:"tablet_mac"})}function J4(e){return n.jsx(r,{...e,iconKey:"tag"})}function Z4(e){return n.jsx(r,{...e,iconKey:"tag_faces"})}function X4(e){return n.jsx(r,{...e,iconKey:"takeout_dining"})}function x4(e){return n.jsx(r,{...e,iconKey:"tap_and_play"})}function R4(e){return n.jsx(r,{...e,iconKey:"tapas"})}function eQ(e){return n.jsx(r,{...e,iconKey:"task"})}function nQ(e){return n.jsx(r,{...e,iconKey:"task_alt"})}function oQ(e){return n.jsx(r,{...e,iconKey:"taxi_alert"})}function rQ(e){return n.jsx(r,{...e,iconKey:"temple_buddhist"})}function tQ(e){return n.jsx(r,{...e,iconKey:"temple_hindu"})}function cQ(e){return n.jsx(r,{...e,iconKey:"terminal"})}function iQ(e){return n.jsx(r,{...e,iconKey:"terrain"})}function aQ(e){return n.jsx(r,{...e,iconKey:"text_decrease"})}function lQ(e){return n.jsx(r,{...e,iconKey:"text_fields"})}function sQ(e){return n.jsx(r,{...e,iconKey:"text_format"})}function dQ(e){return n.jsx(r,{...e,iconKey:"text_increase"})}function uQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_up"})}function fQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_vertical"})}function AQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angledown"})}function _Q(e){return n.jsx(r,{...e,iconKey:"text_rotation_angleup"})}function yQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_down"})}function gQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_none"})}function hQ(e){return n.jsx(r,{...e,iconKey:"text_snippet"})}function IQ(e){return n.jsx(r,{...e,iconKey:"textsms"})}function bQ(e){return n.jsx(r,{...e,iconKey:"texture"})}function pQ(e){return n.jsx(r,{...e,iconKey:"theater_comedy"})}function wQ(e){return n.jsx(r,{...e,iconKey:"theaters"})}function kQ(e){return n.jsx(r,{...e,iconKey:"thermostat"})}function mQ(e){return n.jsx(r,{...e,iconKey:"thermostat_auto"})}function vQ(e){return n.jsx(r,{...e,iconKey:"thumb_down"})}function KQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_alt"})}function CQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_off_alt"})}function SQ(e){return n.jsx(r,{...e,iconKey:"thumb_up"})}function BQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_alt"})}function EQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_off_alt"})}function FQ(e){return n.jsx(r,{...e,iconKey:"thumbs_up_down"})}function PQ(e){return n.jsx(r,{...e,iconKey:"thunderstorm"})}function DQ(e){return n.jsx(r,{...e,iconKey:"time_to_leave"})}function NQ(e){return n.jsx(r,{...e,iconKey:"timelapse"})}function TQ(e){return n.jsx(r,{...e,iconKey:"timeline"})}function MQ(e){return n.jsx(r,{...e,iconKey:"timer"})}function OQ(e){return n.jsx(r,{...e,iconKey:"timer_10"})}function LQ(e){return n.jsx(r,{...e,iconKey:"timer_10_select"})}function QQ(e){return n.jsx(r,{...e,iconKey:"timer_3"})}function VQ(e){return n.jsx(r,{...e,iconKey:"timer_3_select"})}function WQ(e){return n.jsx(r,{...e,iconKey:"timer_off"})}function GQ(e){return n.jsx(r,{...e,iconKey:"tips_and_updates"})}function zQ(e){return n.jsx(r,{...e,iconKey:"tire_repair"})}function HQ(e){return n.jsx(r,{...e,iconKey:"title"})}function UQ(e){return n.jsx(r,{...e,iconKey:"toc"})}function YQ(e){return n.jsx(r,{...e,iconKey:"today"})}function $Q(e){return n.jsx(r,{...e,iconKey:"toggle_off"})}function jQ(e){return n.jsx(r,{...e,iconKey:"toggle_on"})}function qQ(e){return n.jsx(r,{...e,iconKey:"token"})}function JQ(e){return n.jsx(r,{...e,iconKey:"toll"})}function ZQ(e){return n.jsx(r,{...e,iconKey:"tonality"})}function XQ(e){return n.jsx(r,{...e,iconKey:"topic"})}function xQ(e){return n.jsx(r,{...e,iconKey:"tornado"})}function RQ(e){return n.jsx(r,{...e,iconKey:"touch_app"})}function eV(e){return n.jsx(r,{...e,iconKey:"tour"})}function nV(e){return n.jsx(r,{...e,iconKey:"toys"})}function oV(e){return n.jsx(r,{...e,iconKey:"track_changes"})}function rV(e){return n.jsx(r,{...e,iconKey:"traffic"})}function tV(e){return n.jsx(r,{...e,iconKey:"train"})}function cV(e){return n.jsx(r,{...e,iconKey:"tram"})}function iV(e){return n.jsx(r,{...e,iconKey:"transcribe"})}function aV(e){return n.jsx(r,{...e,iconKey:"transfer_within_a_station"})}function lV(e){return n.jsx(r,{...e,iconKey:"transform"})}function sV(e){return n.jsx(r,{...e,iconKey:"transgender"})}function dV(e){return n.jsx(r,{...e,iconKey:"transit_enterexit"})}function uV(e){return n.jsx(r,{...e,iconKey:"translate"})}function fV(e){return n.jsx(r,{...e,iconKey:"travel_explore"})}function AV(e){return n.jsx(r,{...e,iconKey:"trending_down"})}function _V(e){return n.jsx(r,{...e,iconKey:"trending_flat"})}function yV(e){return n.jsx(r,{...e,iconKey:"trending_up"})}function gV(e){return n.jsx(r,{...e,iconKey:"trip_origin"})}function hV(e){return n.jsx(r,{...e,iconKey:"troubleshoot"})}function IV(e){return n.jsx(r,{...e,iconKey:"try"})}function bV(e){return n.jsx(r,{...e,iconKey:"tsunami"})}function pV(e){return n.jsx(r,{...e,iconKey:"tty"})}function wV(e){return n.jsx(r,{...e,iconKey:"tune"})}function kV(e){return n.jsx(r,{...e,iconKey:"tungsten"})}function mV(e){return n.jsx(r,{...e,iconKey:"turn_left"})}function vV(e){return n.jsx(r,{...e,iconKey:"turn_right"})}function KV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_left"})}function CV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_right"})}function SV(e){return n.jsx(r,{...e,iconKey:"turn_slight_left"})}function BV(e){return n.jsx(r,{...e,iconKey:"turn_slight_right"})}function EV(e){return n.jsx(r,{...e,iconKey:"turned_in"})}function FV(e){return n.jsx(r,{...e,iconKey:"turned_in_not"})}function PV(e){return n.jsx(r,{...e,iconKey:"tv"})}function DV(e){return n.jsx(r,{...e,iconKey:"tv_off"})}function NV(e){return n.jsx(r,{...e,iconKey:"two_wheeler"})}function TV(e){return n.jsx(r,{...e,iconKey:"type_specimen"})}function MV(e){return n.jsx(r,{...e,iconKey:"u_turn_left"})}function OV(e){return n.jsx(r,{...e,iconKey:"u_turn_right"})}function LV(e){return n.jsx(r,{...e,iconKey:"umbrella"})}function QV(e){return n.jsx(r,{...e,iconKey:"unarchive"})}function VV(e){return n.jsx(r,{...e,iconKey:"undo"})}function WV(e){return n.jsx(r,{...e,iconKey:"unfold_less"})}function GV(e){return n.jsx(r,{...e,iconKey:"unfold_less_double"})}function zV(e){return n.jsx(r,{...e,iconKey:"unfold_more"})}function HV(e){return n.jsx(r,{...e,iconKey:"unfold_more_double"})}function UV(e){return n.jsx(r,{...e,iconKey:"unpublished"})}function YV(e){return n.jsx(r,{...e,iconKey:"unsubscribe"})}function $V(e){return n.jsx(r,{...e,iconKey:"upcoming"})}function jV(e){return n.jsx(r,{...e,iconKey:"update"})}function qV(e){return n.jsx(r,{...e,iconKey:"update_disabled"})}function JV(e){return n.jsx(r,{...e,iconKey:"upgrade"})}function ZV(e){return n.jsx(r,{...e,iconKey:"upload"})}function Mc(e){return n.jsx(r,{...e,iconKey:"upload_file"})}function XV(e){return n.jsx(r,{...e,iconKey:"usb"})}function xV(e){return n.jsx(r,{...e,iconKey:"usb_off"})}function RV(e){return n.jsx(r,{...e,iconKey:"vaccines"})}function eW(e){return n.jsx(r,{...e,iconKey:"vape_free"})}function nW(e){return n.jsx(r,{...e,iconKey:"vaping_rooms"})}function oW(e){return n.jsx(r,{...e,iconKey:"verified"})}function rW(e){return n.jsx(r,{...e,iconKey:"verified_user"})}function tW(e){return n.jsx(r,{...e,iconKey:"vertical_align_bottom"})}function cW(e){return n.jsx(r,{...e,iconKey:"vertical_align_center"})}function iW(e){return n.jsx(r,{...e,iconKey:"vertical_align_top"})}function aW(e){return n.jsx(r,{...e,iconKey:"vertical_distribute"})}function lW(e){return n.jsx(r,{...e,iconKey:"vertical_shades"})}function sW(e){return n.jsx(r,{...e,iconKey:"vertical_shades_closed"})}function dW(e){return n.jsx(r,{...e,iconKey:"vertical_split"})}function uW(e){return n.jsx(r,{...e,iconKey:"vibration"})}function fW(e){return n.jsx(r,{...e,iconKey:"video_call"})}function AW(e){return n.jsx(r,{...e,iconKey:"video_camera_back"})}function _W(e){return n.jsx(r,{...e,iconKey:"video_camera_front"})}function yW(e){return n.jsx(r,{...e,iconKey:"video_chat"})}function gW(e){return n.jsx(r,{...e,iconKey:"video_file"})}function hW(e){return n.jsx(r,{...e,iconKey:"video_label"})}function IW(e){return n.jsx(r,{...e,iconKey:"video_library"})}function bW(e){return n.jsx(r,{...e,iconKey:"video_settings"})}function pW(e){return n.jsx(r,{...e,iconKey:"video_stable"})}function wW(e){return n.jsx(r,{...e,iconKey:"videocam"})}function kW(e){return n.jsx(r,{...e,iconKey:"videocam_off"})}function mW(e){return n.jsx(r,{...e,iconKey:"videogame_asset"})}function vW(e){return n.jsx(r,{...e,iconKey:"videogame_asset_off"})}function KW(e){return n.jsx(r,{...e,iconKey:"view_agenda"})}function CW(e){return n.jsx(r,{...e,iconKey:"view_array"})}function SW(e){return n.jsx(r,{...e,iconKey:"view_carousel"})}function BW(e){return n.jsx(r,{...e,iconKey:"view_column"})}function EW(e){return n.jsx(r,{...e,iconKey:"view_comfy"})}function FW(e){return n.jsx(r,{...e,iconKey:"view_comfy_alt"})}function PW(e){return n.jsx(r,{...e,iconKey:"view_compact"})}function DW(e){return n.jsx(r,{...e,iconKey:"view_compact_alt"})}function NW(e){return n.jsx(r,{...e,iconKey:"view_cozy"})}function TW(e){return n.jsx(r,{...e,iconKey:"view_day"})}function MW(e){return n.jsx(r,{...e,iconKey:"view_headline"})}function OW(e){return n.jsx(r,{...e,iconKey:"view_in_ar"})}function LW(e){return n.jsx(r,{...e,iconKey:"view_kanban"})}function QW(e){return n.jsx(r,{...e,iconKey:"view_list"})}function VW(e){return n.jsx(r,{...e,iconKey:"view_module"})}function WW(e){return n.jsx(r,{...e,iconKey:"view_quilt"})}function GW(e){return n.jsx(r,{...e,iconKey:"view_sidebar"})}function Oc(e){return n.jsx(r,{...e,iconKey:"view_stream"})}function zW(e){return n.jsx(r,{...e,iconKey:"view_timeline"})}function HW(e){return n.jsx(r,{...e,iconKey:"view_week"})}function UW(e){return n.jsx(r,{...e,iconKey:"vignette"})}function YW(e){return n.jsx(r,{...e,iconKey:"villa"})}function $W(e){return n.jsx(r,{...e,iconKey:"visibility"})}function jW(e){return n.jsx(r,{...e,iconKey:"visibility_off"})}function qW(e){return n.jsx(r,{...e,iconKey:"voice_chat"})}function JW(e){return n.jsx(r,{...e,iconKey:"voice_over_off"})}function ZW(e){return n.jsx(r,{...e,iconKey:"voicemail"})}function XW(e){return n.jsx(r,{...e,iconKey:"volcano"})}function xW(e){return n.jsx(r,{...e,iconKey:"volume_down"})}function RW(e){return n.jsx(r,{...e,iconKey:"volume_mute"})}function e5(e){return n.jsx(r,{...e,iconKey:"volume_off"})}function n5(e){return n.jsx(r,{...e,iconKey:"volume_up"})}function o5(e){return n.jsx(r,{...e,iconKey:"volunteer_activism"})}function r5(e){return n.jsx(r,{...e,iconKey:"vpn_key"})}function t5(e){return n.jsx(r,{...e,iconKey:"vpn_key_off"})}function c5(e){return n.jsx(r,{...e,iconKey:"vpn_lock"})}function i5(e){return n.jsx(r,{...e,iconKey:"vrpano"})}function a5(e){return n.jsx(r,{...e,iconKey:"wallet"})}function l5(e){return n.jsx(r,{...e,iconKey:"wallpaper"})}function s5(e){return n.jsx(r,{...e,iconKey:"warehouse"})}function d5(e){return n.jsx(r,{...e,iconKey:"warning"})}function u5(e){return n.jsx(r,{...e,iconKey:"warning_amber"})}function f5(e){return n.jsx(r,{...e,iconKey:"wash"})}function A5(e){return n.jsx(r,{...e,iconKey:"watch"})}function _5(e){return n.jsx(r,{...e,iconKey:"watch_later"})}function y5(e){return n.jsx(r,{...e,iconKey:"watch_off"})}function g5(e){return n.jsx(r,{...e,iconKey:"water"})}function h5(e){return n.jsx(r,{...e,iconKey:"water_damage"})}function I5(e){return n.jsx(r,{...e,iconKey:"water_drop"})}function b5(e){return n.jsx(r,{...e,iconKey:"waterfall_chart"})}function p5(e){return n.jsx(r,{...e,iconKey:"waves"})}function w5(e){return n.jsx(r,{...e,iconKey:"waving_hand"})}function k5(e){return n.jsx(r,{...e,iconKey:"wb_auto"})}function m5(e){return n.jsx(r,{...e,iconKey:"wb_cloudy"})}function v5(e){return n.jsx(r,{...e,iconKey:"wb_incandescent"})}function K5(e){return n.jsx(r,{...e,iconKey:"wb_iridescent"})}function C5(e){return n.jsx(r,{...e,iconKey:"wb_shade"})}function S5(e){return n.jsx(r,{...e,iconKey:"wb_sunny"})}function B5(e){return n.jsx(r,{...e,iconKey:"wb_twilight"})}function E5(e){return n.jsx(r,{...e,iconKey:"wc"})}function F5(e){return n.jsx(r,{...e,iconKey:"web"})}function P5(e){return n.jsx(r,{...e,iconKey:"web_asset"})}function D5(e){return n.jsx(r,{...e,iconKey:"web_asset_off"})}function N5(e){return n.jsx(r,{...e,iconKey:"web_stories"})}function T5(e){return n.jsx(r,{...e,iconKey:"webhook"})}function M5(e){return n.jsx(r,{...e,iconKey:"weekend"})}function O5(e){return n.jsx(r,{...e,iconKey:"west"})}function L5(e){return n.jsx(r,{...e,iconKey:"whatshot"})}function Q5(e){return n.jsx(r,{...e,iconKey:"wheelchair_pickup"})}function V5(e){return n.jsx(r,{...e,iconKey:"where_to_vote"})}function W5(e){return n.jsx(r,{...e,iconKey:"widgets"})}function G5(e){return n.jsx(r,{...e,iconKey:"width_full"})}function z5(e){return n.jsx(r,{...e,iconKey:"width_normal"})}function H5(e){return n.jsx(r,{...e,iconKey:"width_wide"})}function U5(e){return n.jsx(r,{...e,iconKey:"wifi"})}function Y5(e){return n.jsx(r,{...e,iconKey:"wifi_1_bar"})}function $5(e){return n.jsx(r,{...e,iconKey:"wifi_2_bar"})}function j5(e){return n.jsx(r,{...e,iconKey:"wifi_calling"})}function q5(e){return n.jsx(r,{...e,iconKey:"wifi_calling_3"})}function J5(e){return n.jsx(r,{...e,iconKey:"wifi_channel"})}function Z5(e){return n.jsx(r,{...e,iconKey:"wifi_find"})}function X5(e){return n.jsx(r,{...e,iconKey:"wifi_lock"})}function x5(e){return n.jsx(r,{...e,iconKey:"wifi_off"})}function R5(e){return n.jsx(r,{...e,iconKey:"wifi_password"})}function eG(e){return n.jsx(r,{...e,iconKey:"wifi_protected_setup"})}function nG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering"})}function oG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_error"})}function rG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_off"})}function tG(e){return n.jsx(r,{...e,iconKey:"wind_power"})}function cG(e){return n.jsx(r,{...e,iconKey:"window"})}function iG(e){return n.jsx(r,{...e,iconKey:"wine_bar"})}function aG(e){return n.jsx(r,{...e,iconKey:"woman"})}function lG(e){return n.jsx(r,{...e,iconKey:"woman_2"})}function sG(e){return n.jsx(r,{...e,iconKey:"work"})}function dG(e){return n.jsx(r,{...e,iconKey:"work_history"})}function uG(e){return n.jsx(r,{...e,iconKey:"work_off"})}function fG(e){return n.jsx(r,{...e,iconKey:"work_outline"})}function AG(e){return n.jsx(r,{...e,iconKey:"workspace_premium"})}function _G(e){return n.jsx(r,{...e,iconKey:"workspaces"})}function yG(e){return n.jsx(r,{...e,iconKey:"wrap_text"})}function gG(e){return n.jsx(r,{...e,iconKey:"wrong_location"})}function hG(e){return n.jsx(r,{...e,iconKey:"wysiwyg"})}function IG(e){return n.jsx(r,{...e,iconKey:"yard"})}function bG(e){return n.jsx(r,{...e,iconKey:"youtube_searched_for"})}function pG(e){return n.jsx(r,{...e,iconKey:"zoom_in"})}function wG(e){return n.jsx(r,{...e,iconKey:"zoom_in_map"})}function kG(e){return n.jsx(r,{...e,iconKey:"zoom_out"})}function mG(e){return n.jsx(r,{...e,iconKey:"zoom_out_map"})}function Ke({error:e,showError:t,property:c,includeDescription:i=!0,disabled:a}){const l=c.description||c.longDescription;if(!(t&&e)&&(!i||!l))return null;if(t&&e)return n.jsx(j,{variant:"caption",className:"ml-3.5 text-red-500",children:e});const s=typeof c.disabled=="object"?c.disabled.disabledMessage:void 0;return n.jsxs("div",{className:"flex ml-3.5 mt-1",children:[n.jsx(j,{variant:"caption",color:a?"disabled":"secondary",className:"flex-grow",children:s||c.description}),c.longDescription&&n.jsx(_e,{title:c.longDescription,side:"bottom",children:n.jsx(x,{size:"small",className:"self-start",children:n.jsx(vc,{color:"disabled",size:"small"})})})]})}const Lc=f.createContext({}),Le=()=>f.useContext(Lc),Qc=f.createContext({}),fe=()=>f.useContext(Qc),Kr=f.createContext({}),pn=()=>f.useContext(Kr),Vc=f.createContext({}),co=()=>f.useContext(Vc),Wc=f.createContext({}),Sn=()=>f.useContext(Wc),Gc=f.createContext({}),Bn=()=>f.useContext(Gc),dn=()=>{const{enqueueSnackbar:e,closeSnackbar:t}=Yt.useSnackbar(),c=f.useCallback(a=>{const{type:l,message:s,autoHideDuration:d}=a;e({message:s,variant:l,autoHideDuration:d})},[]),i=f.useCallback(()=>{t()},[]);return f.useMemo(()=>({open:c,close:i}),[c,i])},zc=f.createContext(void 0),En=()=>f.useContext(zc),Cr=f.createContext({sideDialogsController:{},sideEntityController:{},navigation:{},dataSource:{},storageSource:{},authController:{},snackbarController:{},fields:{}}),ee=()=>{const e=f.useContext(Cr),t=pn(),c=co(),i=Sn(),a=fe(),l=Le(),s=Bn(),d=dn(),u=En();return{...e,authController:t,sideDialogsController:c,sideEntityController:i,navigation:a,dataSource:l,storageSource:s,snackbarController:d,userConfigPersistence:u}};function Hc({path:e,collection:t,filterValues:c,sortBy:i,itemCount:a,searchString:l}){const s=Le(),u=fe().resolveAliasesFrom(e),A=i?i[0]:void 0,y=i?i[1]:void 0,g=ee(),[h,_]=f.useState([]),[I,b]=f.useState(!1),[p,w]=f.useState(),[k,m]=f.useState(!1);return f.useEffect(()=>{b(!0);const K=async C=>{if(t.callbacks?.onFetch)try{C=await Promise.all(C.map(S=>t.callbacks.onFetch({collection:t,path:u,entity:S,context:g})))}catch(S){console.error(S)}b(!1),w(void 0),_(C.map(S=>({...S}))),m(!a||C.length<a)},v=C=>{console.error("ERROR",C),b(!1),_([]),w(C)};return s.listenCollection?s.listenCollection({path:u,collection:t,onUpdate:K,onError:v,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:y}):(s.fetchCollection({path:u,collection:t,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:y}).then(K).catch(v),()=>{})},[u,a,y,A,c,l]),{data:h,dataLoading:I,dataLoadingError:p,noMoreToLoad:k}}const Sr={};function Br({path:e,entityId:t,collection:c,useCache:i=!1}){const a=Le(),s=fe().resolveAliasesFrom(e),d=ee(),[u,A]=f.useState(),[y,g]=f.useState(!0),[h,_]=f.useState();return f.useEffect(()=>{g(!0);const I=async p=>{if(c.callbacks?.onFetch&&p)try{p=await c.callbacks.onFetch({collection:c,path:s,entity:p,context:d})}catch(w){console.error(w)}Sr[`${s}/${t}`]=p,A(p),g(!1),_(void 0)},b=p=>{console.error("ERROR fetching entity",p),g(!1),A(void 0),_(p)};return t&&i&&Sr[`${s}/${t}`]?(A(Sr[`${s}/${t}`]),g(!1),_(void 0),()=>{}):t&&s&&c?a.listenEntity?a.listenEntity({path:s,entityId:t,collection:c,onUpdate:I,onError:b}):(a.fetchEntity({path:s,entityId:t,collection:c}).then(I).catch(b),()=>{}):(I(void 0),()=>{})},[t,s]),{entity:u,dataLoading:y,dataLoadingError:h}}async function Er({collection:e,path:t,entityId:c,values:i,previousValues:a,status:l,dataSource:s,context:d,onSaveSuccess:u,onSaveFailure:A,onPreSaveHookError:y,onSaveSuccessHookError:g}){let h;const _=d.navigation.resolveAliasesFrom(t),I=e.callbacks;if(I?.onPreSave)try{const b=Me({collection:e,path:t,values:a,entityId:c,fields:d.fields});h=await I.onPreSave({collection:b,path:t,resolvedPath:_,entityId:c,values:i,previousValues:a,status:l,context:d})}catch(b){console.error(b),y&&y(b);return}else h=i;return s.saveEntity({collection:e,path:_,entityId:c,values:h,previousValues:a,status:l}).then(b=>{try{if(I?.onSaveSuccess){const p=Me({collection:e,path:t,values:h,entityId:c,fields:d.fields});I.onSaveSuccess({collection:p,path:t,resolvedPath:_,entityId:b.id,values:h,previousValues:a,status:l,context:d})}}catch(p){g&&g(p)}u&&u(b)}).catch(b=>{if(I?.onSaveFailure){const p=Me({collection:e,path:t,values:h,entityId:c,fields:d.fields});I.onSaveFailure({collection:p,path:t,resolvedPath:_,entityId:c,values:h,previousValues:a,status:l,context:d})}A&&A(b)})}async function Uc({dataSource:e,entity:t,collection:c,callbacks:i,onDeleteSuccess:a,onDeleteFailure:l,onPreDeleteHookError:s,onDeleteSuccessHookError:d,context:u}){console.debug("Deleting entity",t.path,t.id);const A={entity:t,collection:c,entityId:t.id,path:t.path,context:u};if(i?.onPreDelete)try{await i.onPreDelete(A)}catch(y){return console.error(y),s&&s(t,y),!1}return e.deleteEntity({entity:t}).then(()=>{a&&a(t);try{return i?.onDelete&&i.onDelete(A),!0}catch(y){return d&&d(t,y),!1}}).catch(y=>(l&&l(t,y),!1))}function Te({property:e,value:t,setValue:c}){const i=f.useRef(null);f.useEffect(()=>{typeof e.disabled=="object"&&!!e.disabled.clearOnDisabled?t!=null&&(i.current=t,c(null)):i.current&&(c(i.current),i.current=null)},[e])}function Yc({path:e,context:t}){const c=t.dataSource,i=t.navigation;if(!i)throw Error("Calling getNavigationFrom, but main navigation has not yet been initialised");const l=gt({path:e,collections:i.collections??[]}).map(s=>{if(s.type==="collection")return Promise.resolve(s);if(s.type==="entity"){const d=i.getCollection(s.path,s.entityId);if(!d)throw Error(`No collection defined in the navigation for the entity with path ${s.path}`);return c.fetchEntity({path:s.path,entityId:s.entityId,collection:d}).then(u=>{if(u)return{...s,entity:u}})}else{if(s.type==="custom_view")return Promise.resolve(s);throw Error("Unmapped element in useEntitiesFromPath")}}).filter(s=>!!s);return Promise.all(l)}function vG({path:e}){const t=ee(),[c,i]=f.useState(),[a,l]=f.useState(!1),[s,d]=f.useState();return f.useEffect(()=>{t.navigation&&(l(!0),d(void 0),Yc({path:e,context:t}).then(A=>{i(A)}).catch(A=>d(A)).finally(()=>l(!1)))},[e,t]),t.navigation?{data:c,dataLoading:a,dataLoadingError:s}:{dataLoading:!0}}const Fr=()=>f.useContext(tr),$c=e=>{const{onSuccess:t,onError:c,disableClipboardAPI:i=!1,copiedDuration:a}=e||{},l=f.useRef(null),[s,d]=f.useState(!1),[u,A]=f.useState("");f.useEffect(()=>{a&&setTimeout(()=>d(!1),a)},[s]);const y=()=>navigator.clipboard!==void 0,g=f.useCallback(k=>{if(c)c(k);else throw new Error(k)},[c]),h=f.useCallback(k=>{t&&t(k),d(!0),A(k)},[t]),_=f.useCallback(k=>{navigator.clipboard.writeText(k).then(()=>h(k)).catch(m=>{g(m),d(!1)})},[g,h]),I=()=>{y()&&navigator.clipboard.writeText("")},b=k=>w("copy",typeof k=="object"?void 0:k),p=()=>w("cut"),w=f.useCallback((k="copy",m)=>{const K=l.current,v=K&&(K.tagName==="INPUT"||K.tagName==="TEXTAREA"),C=l.current;y()&&!i&&(m?_(m):K?v?(_(C.value),k==="cut"&&(C.value="")):_(K.innerText):g("Both the ref & text were undefined"))},[i,_,g]);return{ref:l,isCoppied:s,clipboard:u,clearClipboard:I,isSupported:y,copy:b,cut:p}},Pr=()=>f.useContext(Jt),KG={xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536,"3xl":1920},We=(e="lg")=>{const[t,c]=f.useState(!1);return f.useEffect(()=>{const i=()=>{const a=window.matchMedia(`(min-width: ${KG[e]+1}px)`).matches;c(a)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[]),t};function io(e){const t=fe(),c=co(),i=f.useCallback(()=>{if(e.path){let l=e.collection;if(l||(l=t.getCollection(e.path)),!l)throw Error("Not able to resolve the collection in useReferenceDialog");c.open({key:`reference_${e.path}`,component:n.jsx(sa,{collection:l,...e}),width:"90vw",onClose:()=>{e.onClose?.()}})}else throw Error("useReferenceDialog: You are trying to open a reference dialog, but have not declared the `path`")},[t,e,c]),a=f.useCallback(()=>{c.close()},[c]);return{open:i,close:a}}const CG=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAASAAAAEgARslrPgAAB9pJREFUWMONl12obVUVx39jzLk+9j7nHq9y1QT1qpcbSIaXQFGs24PQl3HroSQyqHwJFJF6qaceCsqQoJdELHoIC6EeJCSKsi/TFLGozGsKXksljRLxnrP3WmvOOUYPa+19zsmPWpux5pxrzTX///Exx5hb+B/X1y+/nuIlVKF5m0v1YbQ55tIcKTQXFerNQkumOZ1oTiXCqUH8saR+74L8ZIWWux7+7JuuL2/04s5jJyhWQlXV71KtbhCtr1WtD6s0KlrjNBRaEi3JGzpv6bymQ0sn9mwv9otB7Ls7kn9Xo+U7D9z8/xG4+bz3cs35SjE/HEK8NWr8RBOrs+tQUUlEtAYaijRkbxmY0fuMzucsfcbSWnZQtiWxJL3Uid09iH0jIM8/1f+d3/zuS29M4PvHrmG+cZA8dMdjiLfNYrx6owrMVKlVUQkgkeI1iYbBJ3A2WPpKNtnx+UQisy29L0gPDGKfrwkPn2bJPfd/Zo0ZVp0fvOOdnLGxheX+A/Mq3nGwqS8/q645o4psxkgbhFqdSgqVJKIkghgqjuDoWh+dlm1AI0gUC3o4C9d04idbmZ06euQDPPHMj3YJ3HnkrZx98Fys2PFZ1dxxsJkdPbOecaBqmcWGqBVBIkEiKkoQJ5IJJBTbY8aRgBMwjxgVJoJJwDScnYUrOy2PBamfv/CS4zz9zE+IAIfPuQQzPzyrmq9u1e3RM+qWeaipNCCiE4DjbjgF94xZQj2htpjeK84ImqlIUpO9JllgEKgJDFpfOoh8paN8chbOeQ4g/OTq97PdLXSz3fjiVjO7/sx6g804ow41QWuCrjQPBB3bkZQgAkpBJOMojmIEjIgRKV6RpaYIZHGKQlK5OIv0L8bul8eOfsxjDJGD8613z6rmhq1qxkY1o9YKFUFEEED2xqoE1MNoWgPBwQZMl2SrSbQM9NQyUMlA5S3Rlcqd6E50RdRvPMvn9yE8qP9+9WWtQvXxzdic8xrwPaJrUYJGoq4sVBM1Ukuiln4UBipJVJrGoHUhrARB0XMQ/cizbSd61uaZlzUhXjuvWmqt9oOyAmUPEabnkSDV2j0Rp2YgksZdQpoCtRBwAiN4cKYdw4m3pNnbY9Tw4SZUh9tQEda+ld1WpmThgoivU8fYDbgEggRcleiZ6BOoFNRXLQQX1Eelggsgh8GPx6DhWB2iRgkj2OTuVX8dBzJtMx93BAKK4hIwUUSEID4BGspecWTfDwSCw+UxqByJoqPf9+xmYWQg7H3u+5Poyk3o5BZDxRBxxH29fdkF3YcBXKHgF+m+hLxn4OvbnnbPzMkjsm/+f5cXec2ye6ZfpO6+OX7pE8TqPj1zcN/7Zu8CDm44Bu6skrKjuOs0FlxWCJNMYxMOqLlR3DAvsAKaZo6t7+u7r6nhjN/5RKIQKESKhykhjeIINgJi+0m4Fiuns2WKZQybtJ2AfAWzGu/ayt0wz5gXimeKQyKSPI4kiCMhDxSgyLiOiY9kxnW2NVs+1ZeBbAmzhLmtgd0d8z1k1mIUTxQbKD5gnkmuDN6QvCF5TaIie0UmkIU1id3WcfwZHUo61eWB3gayDdOiZR+JXUuMWmcbyGWcny2RzOi8obeWwRsGrxm8JlGPBHCyOJmpJkwkHHs09pnfL1L60KLqtBKZtprhU+lVmSq9+xRsBfOMW6L4QLFM7zWdz+l8Ru8tA+10YKlJIiSxkcC6dQqlmJc/xaHIvTuZT7UpHalFUHEqL6iGsfKtM8FEzMdy7J4oXui9mk5CczpGErtEKgacQUZJE3gSwzw/i+dfx2G7e6IcOPALCXIkakGkYx4iwceyq+uENPp+RSI7DN7Q+5ylb7JgJLH0+XRGbOlRerWJwNgmnOwJ83Tvq/7KX2KZb1nJfnfp5YRoda7hFC/MQyGI7Mteow2E4pHkDT2zyfS758HV4bSjolOjF2PYS4KBbN2L5vmHZ7DpsWQnDsvfLj1+Lwufy9LSO2y5M1Mnik8OEJxAoSJRk7xhoKX3+URiztI3WPgGS2/p1OnE6CcSvRQGH+htQfH07dPSP7Lp9ajcNy+9DnG/oMT67qqZHz/QtGxVyjworQqVCIjiPiaaTD1ttZZ+fTIeCXQ+Y6HCQm0tO5LYpmfHlyy9/1nCPi3ICw/99JbxUHrdvxr6Q4depdhTfeGapVeH+imKxwhv6ZnR+5zeN0aNGU2+ZIPON0cX0LBQYSnGQgsLSSzoWdiCHVvQ2fLP2fMtwf2vDz50K6TpVPxj/sn7Ni5iu9l6Tof+yd78yoWFQ0uvWYvVLK1h6e34B8RnY9DZnIW3LAijxpLYkZ6Fd+z4km3bYcd2WNry8ezppsZ5ZMd2+MfTv3xtjbr9/PfwyoFDzPvtq7I2t+Vq/m6pt4hxThVaojao1CANRkORmkwkiTCI00thKYWOzJJR+6V1JE8/z2JfqGgfW9jLPPLg7a9Xe8frHs7j5MVXESxfmLS5KYXmxhQ3z/a4icQNRFtEGlwjJkoRIamTmIKNTE+it57kw0sF+1ah3CkSXkiPf42Htl+3WL/2+vIFJ6ishJ3QXD1o9dEhVCcGbS7ModUcakwrigaKChkoYmQK2XMp5L8V/F7DfuDePYrEcv8f7npdnDcksEvkg9RewquhuayTcHzQeCyJXpFVD2fRzSxCFtkuwqks8mjB/ujYr9y6k0gs9528503X/w/F3eUgyIBI4wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0wNS0xMFQxOToyODozMyswMDowMEzeSx4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDUtMTBUMTk6Mjg6MzMrMDA6MDA9g/OiAAAARnRFWHRzb2Z0d2FyZQBJbWFnZU1hZ2ljayA2LjcuOC05IDIwMTQtMDUtMTIgUTE2IGh0dHA6Ly93d3cuaW1hZ2VtYWdpY2sub3Jn3IbtAAAAABh0RVh0VGh1bWI6OkRvY3VtZW50OjpQYWdlcwAxp/+7LwAAABh0RVh0VGh1bWI6OkltYWdlOjpoZWlnaHQAMTkyDwByhQAAABd0RVh0VGh1bWI6OkltYWdlOjpXaWR0aAAxOTLTrCEIAAAAGXRFWHRUaHVtYjo6TWltZXR5cGUAaW1hZ2UvcG5nP7JWTgAAABd0RVh0VGh1bWI6Ok1UaW1lADE2MjA2NzQ5MTMk8oswAAAAD3RFWHRUaHVtYjo6U2l6ZQAwQkKUoj7sAAAAVnRFWHRUaHVtYjo6VVJJAGZpbGU6Ly8vbW50bG9nL2Zhdmljb25zLzIwMjEtMDUtMTAvOGIxNDNhYjgwODhkMjBlZThkYmUzOTFhN2NkNmQ3NmQuaWNvLnBuZ9msgG0AAAAASUVORK5CYII=
2
+ `;function SG(e,t){f.useEffect(()=>{if(document){document.title=`${e} - FireCMS`;let c=document.querySelector("link[rel~='icon']");c||(c=document.createElement("link"),c.rel="icon",document.getElementsByTagName("head")[0].appendChild(c)),c.href=t??CG}},[e,t])}function Fn(){return n.jsx("div",{className:"rounded-full bg-gray-200 bg-opacity-30 dark:bg-opacity-20 w-5 h-2 inline-block"})}const BG=40,EG=100,FG=200;function Pn(e){if(e==="tiny")return BG;if(e==="small")return EG;if(e==="medium")return FG;throw Error("Thumbnail size not mapped")}function un(e){switch(e){case"xs":case"s":return"tiny";case"m":return"small";case"l":case"xl":return"medium";default:throw Error("Missing mapping value in getPreviewSizeFrom: "+e)}}function Dn(e,t){f.useEffect(()=>{if(!document.getElementById(e)){const i=document.createElement("style");i.id=e,i.innerHTML=t,document.head.appendChild(i)}},[e,t])}const _e=({open:e,side:t="bottom",sideOffset:c,onOpenChange:i,title:a,className:l,style:s,tooltipClassName:d,children:u})=>(Dn("Tooltip",PG),a?n.jsx(Xn.Provider,{delayDuration:250,children:n.jsxs(Xn.Root,{open:e,onOpenChange:i,children:[n.jsx(Xn.Trigger,{asChild:!0,children:n.jsx("div",{className:l,style:s,children:u})}),n.jsx(Xn.Portal,{children:n.jsx(Xn.Content,{className:E("TooltipContent","max-w-lg leading-relaxed","z-50 rounded px-3 py-2 text-xs leading-none bg-gray-700 dark:bg-gray-800 bg-opacity-90 font-medium text-gray-50 shadow-2xl select-none duration-400 ease-in transform opacity-100",d),sideOffset:c===void 0?4:c,side:t,children:a})})]})}):n.jsx(n.Fragment,{children:u})),PG=`
3
3
 
4
4
  .TooltipContent {
5
5
  animation-duration: 220ms;
@@ -63,37 +63,9 @@
63
63
  opacity: 1;
64
64
  transform: translateX(0);
65
65
  }
66
- }`;function Yc({size:e,url:t}){const[c,i]=f.useState(!1),a=f.useMemo(()=>Pn(e),[e]);if(e==="tiny")return n.jsx("img",{src:t,className:"rounded-md",style:{position:"relative",objectFit:"cover",width:a,height:a,maxHeight:"100%"}},"tiny_image_preview_"+t);const l={maxWidth:"100%",maxHeight:"100%"};return n.jsxs("div",{className:"relative flex items-center justify-center max-w-full max-h-full",style:{width:a,height:a},onMouseEnter:()=>i(!0),onMouseMove:()=>i(!0),onMouseLeave:()=>i(!1),children:[n.jsx("img",{src:t,className:"rounded-md",style:l}),c&&n.jsxs(n.Fragment,{children:[navigator&&n.jsx(_e,{title:"Copy url to clipboard",children:n.jsx("div",{className:"rounded-full absolute bottom-[-4px] right-8",children:n.jsx(R,{variant:"filled",size:"small",onClick:s=>(s.stopPropagation(),s.preventDefault(),navigator.clipboard.writeText(t)),children:n.jsx(no,{className:"text-gray-500",size:"small"})})})}),n.jsx(_e,{title:"Open image in new tab",children:n.jsx(R,{variant:"filled",component:"a",style:{position:"absolute",bottom:-4,right:-4},href:t,rel:"noopener noreferrer",target:"_blank",size:"small",onClick:s=>s.stopPropagation(),children:n.jsx(ro,{className:"text-gray-500",size:"small"})})})]})]},"image_preview_"+t)}function ao({url:e,previewType:t,size:c,hint:i}){return t?t==="image"?n.jsx(Yc,{url:e,size:c}):t==="audio"?n.jsxs("audio",{controls:!0,src:e,children:["Your browser does not support the",n.jsx("code",{children:"audio"})," element."]}):t==="video"?n.jsx("video",{className:`max-w-${c==="small"?"sm":"md"}`,controls:!0,children:n.jsx("source",{src:e})}):n.jsxs("a",{href:e,rel:"noopener noreferrer",target:"_blank",onClick:a=>a.stopPropagation(),className:"flex flex-col items-center justify-center",style:{width:Pn(c),height:Pn(c)},children:[n.jsx(uc,{className:"flex-grow"}),i&&n.jsx(_e,{title:i,children:n.jsx(j,{className:"max-w-full truncate rtl text-left",variant:"caption",children:i})})]}):!e||!e.trim()?n.jsx(Fn,{}):n.jsxs("a",{className:"flex gap-4 break-words items-center font-medium text-primary visited:text-primary dark:visited:text-primary dark:text-primary",href:e,rel:"noopener noreferrer",onMouseDown:a=>{a.preventDefault()},target:"_blank",children:[n.jsx(ro,{size:"small"}),e]})}function Ve({width:e,height:t,className:c}){return n.jsx("span",{className:E("block","bg-gray-200 dark:bg-gray-800 rounded","animate-pulse",e?`w-[${e}px]`:"w-full",t?`h-[${t}px]`:"h-3","max-w-full max-h-full",c)})}function Nn({property:e,size:t}){e||console.error("No property assigned for skeleton component",e,t);let c;if(e.dataType==="string"){const i=e;i.url?c=OG(i,t):i.storage?c=Tr(t):c=en()}else if(e.dataType==="array"){const i=e;i.of&&(Array.isArray(i.of)?c=n.jsxs(n.Fragment,{children:[i.of.map((a,l)=>Nr(a,l))," "]}):i.of.dataType==="map"&&i.of.properties?c=DG(i.of.properties,t,i.of.previewProperties):i.of.dataType==="string"?i.of.enumValues?c=TG():i.of.storage?c=Nr(i.of):c=NG():c=Nr(i.of))}else e.dataType==="map"?c=PG(e,t):e.dataType==="date"?c=en():e.dataType==="reference"?c=MG():(e.dataType,c=en());return c||null}function PG(e,t){if(!e.properties)return n.jsx(n.Fragment,{});let c;return t==="medium"?c=Object.keys(e.properties):(c=e.previewProperties||Object.keys(e.properties),t==="small"?c=c.slice(0,3):t==="tiny"&&(c=c.slice(0,1))),t!=="medium"?n.jsx("div",{className:"w-full flex flex-col space-y-4",children:c.map((i,a)=>n.jsx("div",{children:e.properties&&e.properties[i]&&n.jsx(Nn,{property:e.properties[i],size:"small"})},`map_${i}`))}):n.jsx("table",{className:"table-auto",children:n.jsx("tbody",{children:c&&c.map((i,a)=>n.jsxs("tr",{className:"border-b last:border-b-0",children:[n.jsx("th",{className:"align-top",style:{width:"30%"},children:n.jsx("p",{className:"text-xs text-secondary",children:e.properties[i].name})},`table-cell-title--${i}`),n.jsx("th",{style:{width:"70%"},children:e.properties&&e.properties[i]&&n.jsx(Nn,{property:e.properties[i],size:"small"})},`table-cell-${i}`)]},`map_preview_table__${a}`))})})}function DG(e,t,c){let i=c;return(!i||!i.length)&&(i=Object.keys(e),t&&(i=i.slice(0,3))),n.jsx("table",{className:"table-auto",children:n.jsx("tbody",{children:[0,1,2].map((a,l)=>n.jsx("tr",{children:i&&i.map(s=>n.jsx("th",{children:n.jsx(Nn,{property:e[s],size:"small"})},`table-cell-${s}`))},`table_${a}_${l}`))})})}function NG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>en(t))})}function TG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>n.jsx(n.Fragment,{children:en(t)}))})}function Nr(e,t=0){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((c,i)=>n.jsx(n.Fragment,{children:n.jsx(Nn,{property:e,size:"small"},`i_${i}`)}))},"array_index_"+t)}function Tr(e){const t=e==="tiny"?40:e==="small"?100:200;return n.jsx(Ve,{width:t,height:t})}function MG(){return n.jsx(Ve,{width:200,height:100})}function OG(e,t="medium"){return typeof e.url=="boolean"?n.jsxs("div",{style:{display:"flex"},children:[Mr(),en()]}):LG(t)}function LG(e){return n.jsx("div",{className:`w-${Pn(e)} h-${Pn(e)}`,children:Mr()})}function en(e,t=120){return n.jsx(Ve,{width:t},`skeleton_${e}`)}function QG(e){return n.jsx(Ve,{height:20})}function Mr(){return n.jsx(Ve,{width:24,height:24})}const $c=f.memo(qc,VG);function VG(e,t){return e.size===t.size&&e.storagePathOrDownloadUrl===t.storagePathOrDownloadUrl&&e.storeUrl===t.storeUrl}const jc={};function qc({storeUrl:e,storagePathOrDownloadUrl:t,size:c}){const[i,a]=f.useState(void 0),l=Bn(),[s,d]=f.useState(jc[t]);if(f.useEffect(()=>{if(!t)return;let y=!1;return l.getDownloadURL(t).then(function(h){y||(d(h),jc[t]=h)}).catch(a),()=>{y=!0}},[t]),!t)return null;const u=s?.metadata?WG(s?.metadata.contentType):void 0,A=u?.startsWith("image")?"image":u?.startsWith("video")?"video":u?.startsWith("audio")?"audio":"file";return s?.fileNotFound?n.jsx(we,{error:"File not found"}):s?.url?n.jsx(ao,{previewType:A,url:s.url,size:c,hint:t}):Tr(c)}function WG(e){return e.startsWith("image")?"image/*":e.startsWith("video")?"video/*":e.startsWith("audio")?"audio/*":e.startsWith("application")?"application/*":e.startsWith("text")?"text/*":e.startsWith("font")?"font/*":e}const GG={smaller:"px-2 py-0.5 text-sm",small:"px-3 py-1 text-sm",medium:"px-4 py-1.5 text-sm"};function Fo({children:e,colorScheme:t,error:c,outlined:i,onClick:a,icon:l,size:s="medium",className:d}){const u=typeof t=="string"?Za(t):t;return n.jsxs("div",{className:E("rounded-lg w-fit h-fit font-regular inline-flex items-center gap-1","truncate",a?"cursor-pointer hover:bg-gray-300 hover:dark:bg-gray-700":"",GG[s],c||!u?"bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-gray-200":"",c?"text-red-500 dark:text-red-400":"",d),onClick:a,style:{backgroundColor:c||!u?void 0:u.color,color:c||!u?void 0:u.text},children:[e,l]})}function Ee({enumValues:e,enumKey:t,size:c,className:i,children:a}){if(!e)return null;const l=tn(e),s=t!==void 0?Ko(l,t):void 0,d=xt(s),u=Xt(l,t);return n.jsxs(Fo,{className:i,colorScheme:u,error:!d,outlined:!1,size:c,children:[a,!a&&(d!==void 0?d:String(t))]})}function Or({propertyKey:e,value:t,property:c,size:i}){if(c.enumValues){const a=t,l=ft(c);return n.jsx(Ee,{enumKey:a,enumValues:l.enumValues,size:i!=="medium"?"small":"medium"})}else if(c.previewAsTag){const a=Zt(e??"");return n.jsx(ie,{children:n.jsx(Fo,{colorScheme:a,size:i!=="medium"?"small":"medium",children:t})})}else{if(c.url)return n.jsx(ao,{size:i,url:t,previewType:typeof c.url=="string"?c.url:void 0});{if(!t)return n.jsx(n.Fragment,{});const a=t.split(`
66
+ }`;function jc({size:e,url:t}){const[c,i]=f.useState(!1),a=f.useMemo(()=>Pn(e),[e]);if(e==="tiny")return n.jsx("img",{src:t,className:"rounded-md",style:{position:"relative",objectFit:"cover",width:a,height:a,maxHeight:"100%"}},"tiny_image_preview_"+t);const l={maxWidth:"100%",maxHeight:"100%"};return n.jsxs("div",{className:"relative flex items-center justify-center max-w-full max-h-full",style:{width:a,height:a},onMouseEnter:()=>i(!0),onMouseMove:()=>i(!0),onMouseLeave:()=>i(!1),children:[n.jsx("img",{src:t,className:"rounded-md",style:l}),c&&n.jsxs(n.Fragment,{children:[navigator&&n.jsx(_e,{title:"Copy url to clipboard",children:n.jsx("div",{className:"rounded-full absolute bottom-[-4px] right-8",children:n.jsx(x,{variant:"filled",size:"small",onClick:s=>(s.stopPropagation(),s.preventDefault(),navigator.clipboard.writeText(t)),children:n.jsx(oo,{className:"text-gray-500",size:"small"})})})}),n.jsx(_e,{title:"Open image in new tab",children:n.jsx(x,{variant:"filled",component:"a",style:{position:"absolute",bottom:-4,right:-4},href:t,rel:"noopener noreferrer",target:"_blank",size:"small",onClick:s=>s.stopPropagation(),children:n.jsx(ro,{className:"text-gray-500",size:"small"})})})]})]},"image_preview_"+t)}function ao({url:e,previewType:t,size:c,hint:i}){return t?t==="image"?n.jsx(jc,{url:e,size:c}):t==="audio"?n.jsxs("audio",{controls:!0,src:e,children:["Your browser does not support the",n.jsx("code",{children:"audio"})," element."]}):t==="video"?n.jsx("video",{className:`max-w-${c==="small"?"sm":"md"}`,controls:!0,children:n.jsx("source",{src:e})}):n.jsxs("a",{href:e,rel:"noopener noreferrer",target:"_blank",onClick:a=>a.stopPropagation(),className:"flex flex-col items-center justify-center",style:{width:Pn(c),height:Pn(c)},children:[n.jsx(fc,{className:"flex-grow"}),i&&n.jsx(_e,{title:i,children:n.jsx(j,{className:"max-w-full truncate rtl text-left",variant:"caption",children:i})})]}):!e||!e.trim()?n.jsx(Fn,{}):n.jsxs("a",{className:"flex gap-4 break-words items-center font-medium text-primary visited:text-primary dark:visited:text-primary dark:text-primary",href:e,rel:"noopener noreferrer",onMouseDown:a=>{a.preventDefault()},target:"_blank",children:[n.jsx(ro,{size:"small"}),e]})}function Qe({width:e,height:t,className:c}){return n.jsx("span",{className:E("block","bg-gray-200 dark:bg-gray-800 rounded","animate-pulse",e?`w-[${e}px]`:"w-full",t?`h-[${t}px]`:"h-3","max-w-full max-h-full",c)})}function Nn({property:e,size:t}){e||console.error("No property assigned for skeleton component",e,t);let c;if(e.dataType==="string"){const i=e;i.url?c=LG(i,t):i.storage?c=Nr(t):c=en()}else if(e.dataType==="array"){const i=e;i.of&&(Array.isArray(i.of)?c=n.jsxs(n.Fragment,{children:[i.of.map((a,l)=>Dr(a,l))," "]}):i.of.dataType==="map"&&i.of.properties?c=NG(i.of.properties,t,i.of.previewProperties):i.of.dataType==="string"?i.of.enumValues?c=MG():i.of.storage?c=Dr(i.of):c=TG():c=Dr(i.of))}else e.dataType==="map"?c=DG(e,t):e.dataType==="date"?c=en():e.dataType==="reference"?c=OG():(e.dataType,c=en());return c||null}function DG(e,t){if(!e.properties)return n.jsx(n.Fragment,{});let c;return t==="medium"?c=Object.keys(e.properties):(c=e.previewProperties||Object.keys(e.properties),t==="small"?c=c.slice(0,3):t==="tiny"&&(c=c.slice(0,1))),t!=="medium"?n.jsx("div",{className:"w-full flex flex-col space-y-4",children:c.map((i,a)=>n.jsx("div",{children:e.properties&&e.properties[i]&&n.jsx(Nn,{property:e.properties[i],size:"small"})},`map_${i}`))}):n.jsx("table",{className:"table-auto",children:n.jsx("tbody",{children:c&&c.map((i,a)=>n.jsxs("tr",{className:"border-b last:border-b-0",children:[n.jsx("th",{className:"align-top",style:{width:"30%"},children:n.jsx("p",{className:"text-xs text-secondary",children:e.properties[i].name})},`table-cell-title--${i}`),n.jsx("th",{style:{width:"70%"},children:e.properties&&e.properties[i]&&n.jsx(Nn,{property:e.properties[i],size:"small"})},`table-cell-${i}`)]},`map_preview_table__${a}`))})})}function NG(e,t,c){let i=c;return(!i||!i.length)&&(i=Object.keys(e),t&&(i=i.slice(0,3))),n.jsx("table",{className:"table-auto",children:n.jsx("tbody",{children:[0,1,2].map((a,l)=>n.jsx("tr",{children:i&&i.map(s=>n.jsx("th",{children:n.jsx(Nn,{property:e[s],size:"small"})},`table-cell-${s}`))},`table_${a}_${l}`))})})}function TG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>en(t))})}function MG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>n.jsx(n.Fragment,{children:en(t)}))})}function Dr(e,t=0){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((c,i)=>n.jsx(n.Fragment,{children:n.jsx(Nn,{property:e,size:"small"},`i_${i}`)}))},"array_index_"+t)}function Nr(e){const t=e==="tiny"?40:e==="small"?100:200;return n.jsx(Qe,{width:t,height:t})}function OG(){return n.jsx(Qe,{width:200,height:100})}function LG(e,t="medium"){return typeof e.url=="boolean"?n.jsxs("div",{style:{display:"flex"},children:[Tr(),en()]}):QG(t)}function QG(e){return n.jsx("div",{className:`w-${Pn(e)} h-${Pn(e)}`,children:Tr()})}function en(e,t=120){return n.jsx(Qe,{width:t},`skeleton_${e}`)}function VG(e){return n.jsx(Qe,{height:20})}function Tr(){return n.jsx(Qe,{width:24,height:24})}const qc=f.memo(Zc,WG);function WG(e,t){return e.size===t.size&&e.storagePathOrDownloadUrl===t.storagePathOrDownloadUrl&&e.storeUrl===t.storeUrl}const Jc={};function Zc({storeUrl:e,storagePathOrDownloadUrl:t,size:c}){const[i,a]=f.useState(void 0),l=Bn(),[s,d]=f.useState(Jc[t]);if(f.useEffect(()=>{if(!t)return;let y=!1;return l.getDownloadURL(t).then(function(g){y||(d(g),Jc[t]=g)}).catch(a),()=>{y=!0}},[t]),!t)return null;const u=s?.metadata?GG(s?.metadata.contentType):void 0,A=u?.startsWith("image")?"image":u?.startsWith("video")?"video":u?.startsWith("audio")?"audio":"file";return s?.fileNotFound?n.jsx(pe,{error:"File not found"}):s?.url?n.jsx(ao,{previewType:A,url:s.url,size:c,hint:t}):Nr(c)}function GG(e){return e.startsWith("image")?"image/*":e.startsWith("video")?"video/*":e.startsWith("audio")?"audio/*":e.startsWith("application")?"application/*":e.startsWith("text")?"text/*":e.startsWith("font")?"font/*":e}const zG={smaller:"px-2 py-0.5 text-sm",small:"px-3 py-1 text-sm",medium:"px-4 py-1.5 text-sm"};function No({children:e,colorScheme:t,error:c,outlined:i,onClick:a,icon:l,size:s="medium",className:d}){const u=typeof t=="string"?nl(t):t;return n.jsxs("div",{className:E("rounded-lg w-fit h-fit font-regular inline-flex items-center gap-1","truncate",a?"cursor-pointer hover:bg-gray-300 hover:dark:bg-gray-700":"",zG[s],c||!u?"bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-gray-200":"",c?"text-red-500 dark:text-red-400":"",d),onClick:a,style:{backgroundColor:c||!u?void 0:u.color,color:c||!u?void 0:u.text},children:[e,l]})}function Se({enumValues:e,enumKey:t,size:c,className:i,children:a}){if(!e)return null;const l=ln(e),s=t!==void 0?So(l,t):void 0,d=oc(s),u=nc(l,t);return n.jsxs(No,{className:i,colorScheme:u,error:!d,outlined:!1,size:c,children:[a,!a&&(d!==void 0?d:String(t))]})}function Mr({propertyKey:e,value:t,property:c,size:i}){if(c.enumValues){const a=t,l=_t(c);return n.jsx(Se,{enumKey:a,enumValues:l.enumValues,size:i!=="medium"?"small":"medium"})}else if(c.previewAsTag){const a=ec(e??"");return n.jsx(le,{children:n.jsx(No,{colorScheme:a,size:i!=="medium"?"small":"medium",children:t})})}else{if(c.url)return n.jsx(ao,{size:i,url:t,previewType:typeof c.url=="string"?c.url:void 0});{if(!t)return n.jsx(n.Fragment,{});const a=t.split(`
67
67
  `);return t&&t.includes(`
68
- `)?n.jsx("div",{children:a.map((l,s)=>n.jsxs(f.Fragment,{children:[n.jsx("span",{children:l}),s!==a.length-1&&n.jsx("br",{})]},`string_preview_${s}`))}):n.jsx(n.Fragment,{children:t})}}}function Jc({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ne(),s=sn({propertyKey:e,property:c,propertyValue:t,fields:l.fields});if(Array.isArray(s?.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(s?.dataType!=="array"||!s.of||s.of.dataType!=="map")throw Error("Picked wrong preview component ArrayOfMapsPreview");const d=s.of,u=d.properties;if(!u)throw Error(`You need to specify a 'properties' prop (or specify a custom field) in your map property ${e}`);const A=t,y=d.previewProperties;if(!A)return null;let h=y;return(!h||!h.length)&&(h=Object.keys(u),i&&(h=h.slice(0,3))),n.jsx("div",{className:"table-auto text-xs",children:n.jsx("div",{children:A&&A.map((I,_)=>n.jsx("div",{className:"border-b last:border-b-0",children:h&&h.map(g=>n.jsx("div",{className:"table-cell",children:n.jsx(ie,{children:n.jsx(Be,{propertyKey:g,value:I[g],property:u[g],entity:a,size:"small"})})},`table-cell-${g}`))},`table_${I}_${_}`))})})}function Lr({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ne(),s=sn({propertyKey:e,property:c,propertyValue:t,fields:l.fields});if(!s.of)throw Error(`You need to specify an 'of' prop (or specify a custom field) in your array property ${e}`);if(s.dataType!=="array")throw Error("Picked wrong preview component ArrayPreview");const d=t;if(!d)return null;const u=a==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-col",children:d&&d.map((A,y)=>{const h=s.resolvedProperties[y]??s.resolvedProperties[y]??(Array.isArray(s.of)?s.of[y]:s.of);return h?n.jsx(f.Fragment,{children:n.jsx("div",{className:E(ue,"m-1 border-b last:border-b-0"),children:n.jsx(ie,{children:n.jsx(Be,{propertyKey:e,entity:i,value:A,property:h,size:u})})})},"preview_array_"+y):null})})}const nn=ce.memo(function(t){const c=t.reference;return c instanceof je?n.jsx(HG,{...t}):(console.warn("Reference preview received value of type",typeof c),n.jsx(Po,{onClick:t.onClick,size:t.size,children:n.jsx(we,{error:"Unexpected value. Click to edit",tooltip:JSON.stringify(c)})}))},zG);function zG(e,t){return e.disabled===t.disabled&&e.size===t.size&&e.onHover===t.onHover&&e.reference?.id===t.reference?.id&&e.reference?.path===t.reference?.path&&e.allowEntityNavigation===t.allowEntityNavigation}function HG({disabled:e,reference:t,previewProperties:c,size:i,onHover:a,onClick:l,allowEntityNavigation:s=!0}){const d=ne(),u=fe(),A=Sn(),y=u.getCollection(t.path);if(!y)throw Error(`Couldn't find the corresponding collection view for the path: ${t.path}`);const{entity:h,dataLoading:I,dataLoadingError:_}=Er({path:t.path,entityId:t.id,collection:y,useCache:!0});h&&Zc.set(t.pathWithId,h);const g=h??Zc.get(t.pathWithId),b=f.useMemo(()=>Me({collection:y,path:t.path,values:g?.values,fields:d.fields}),[y]),p=f.useMemo(()=>Mi(b,d.fields,c,i==="small"||i==="medium"?3:1),[c,b,i]);let w;return b?(t?g&&!g.values?w=n.jsx(we,{error:"Reference does not exist",tooltip:t.path}):w=n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"flex flex-col flex-grow w-full max-w-[calc(100%-52px)] m-1",children:[i!=="tiny"&&(t?n.jsx("div",{className:`${i!=="medium"?"block whitespace-nowrap overflow-hidden truncate":""}`,children:n.jsx(j,{variant:"caption",className:"font-mono",children:t.id})}):n.jsx(Ve,{})),p&&p.map(k=>{const v=b.properties[k];return v?n.jsx("div",{className:p.length>1?"my-0.5":"my-0",children:g?n.jsx(Be,{propertyKey:k,value:rn(g.values,k),property:v,entity:g,size:"tiny"}):n.jsx(Nn,{property:v,size:"tiny"})},"ref_prev_"+k):null})]}),n.jsx("div",{className:`my-${i==="tiny"?2:4}`,children:!e&&g&&s&&n.jsx(_e,{title:`See details for ${g.id}`,children:n.jsx(R,{color:"inherit",size:"small",onClick:k=>{k.stopPropagation(),d.onAnalyticsEvent?.("entity_click_from_reference",{path:g.path,entityId:g.id}),A.open({entityId:g.id,path:g.path,collection:b,updateUrl:!0})},children:n.jsx(Eo,{size:"small"})})})})]}):w=n.jsx(we,{error:"Reference not set"}),n.jsx(Po,{onClick:e?void 0:l,onHover:e?void 0:a,size:i,children:w})):n.jsx(we,{error:"Could not find collection with id "+b})}function Po({children:e,onHover:t,size:c,onClick:i}){return n.jsx(j,{variant:"label",className:E("bg-opacity-70 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-60","w-full","flex","rounded-md","overflow-hidden",t?"hover:bg-opacity-90 dark:hover:bg-opacity-90":"",c==="medium"?"p-2":"p-1",c==="tiny"?"items-center":"","transition-colors duration-300 ease-in-out ",i?"cursor-pointer":""),style:{tabindex:0},onClick:a=>{i&&(a.preventDefault(),i(a))},children:e})}const Zc=new Map;function Xc({propertyKey:e,value:t,property:c,size:i}){const a=ne(),l=sn({propertyKey:e,property:c,propertyValue:t,fields:a.fields});if(Array.isArray(l?.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(l?.dataType!=="array"||!l.of||l.of.dataType!=="reference")throw Error("Picked wrong preview component ArrayOfReferencesPreview");const s=i==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-col w-full",children:t&&t.map((d,u)=>{const A=l.of;return n.jsx("div",{className:"mt-1 mb-1 w-full",children:n.jsx(nn,{disabled:!A.path,previewProperties:A.previewProperties,size:s,reference:d})},`preview_array_ref_${e}_${u}`)})})}function xc({propertyKey:e,entity:t,value:c,property:i,size:a}){const l=ne(),s=sn({propertyKey:e,property:i,propertyValue:c,fields:l.fields});if(Array.isArray(s.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(s.dataType!=="array"||!s.of||s.of.dataType!=="string")throw Error("Picked wrong preview component ArrayOfStorageComponentsPreview");const d=a==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-wrap gap-2",children:c&&c.map((u,A)=>n.jsx(ie,{children:n.jsx(Be,{propertyKey:e,value:u,entity:t,property:s.of,size:d})},`preview_array_storage_${e}_${A}`))})}function Qr({name:e,value:t,enumValues:c,size:i}){return n.jsx("div",{className:"flex flex-wrap gap-1.5",children:t&&t.map((a,l)=>n.jsx(ie,{children:n.jsx(Ee,{enumKey:a,enumValues:c,size:i!=="medium"?"small":"medium"})},`preview_array_ref_${e}_${l}`))})}function Vr({propertyKey:e,value:t,property:c,size:i}){if(c.dataType!=="array")throw Error("Picked wrong preview component ArrayEnumPreview");const a=c.of;if(!a.enumValues)throw Error("Picked wrong preview component ArrayEnumPreview");return t?n.jsx(Qr,{name:e,value:t,enumValues:a.enumValues,size:i}):null}function Rc({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ne(),s=sn({propertyKey:e,property:c,propertyValue:t,fields:l.fields});if(Array.isArray(s.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(!s.of||s.dataType!=="array"||s.of.dataType!=="string")throw Error("Picked wrong preview component ArrayOfStringsPreview");if(t&&!Array.isArray(t))return n.jsx("div",{children:`Unexpected value: ${t}`});const d=s.of;return n.jsx("div",{className:"flex flex-col gap-2",children:t&&t.map((u,A)=>n.jsx("div",{children:n.jsx(ie,{children:n.jsx(Or,{propertyKey:e,property:d,value:u,entity:i,size:a})})},`preview_array_strings_${e}_${A}`))})}function ei({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ne(),s=sn({propertyKey:e,property:c,propertyValue:t,fields:l.fields});if(s?.dataType!=="array")throw Error("Picked wrong preview component ArrayPreview");if(!s?.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${e}`);const d=t;if(!d)return null;const u=i==="medium"?"small":"tiny",A=s.oneOf.typeField??xn,y=s.oneOf.valueField??wo,h=s.oneOf.properties;return n.jsx("div",{className:"flex flex-col",children:d&&d.map((I,_)=>n.jsx(f.Fragment,{children:n.jsx("div",{className:E(ue,"m-1 border-b last:border-b-0"),children:n.jsx(ie,{children:I&&n.jsx(Be,{propertyKey:e,value:I[y],entity:a,property:s.resolvedProperties[_]??h[I[A]],size:u})})})},"preview_array_"+I+"_"+_))})}function ni({propertyKey:e,value:t,property:c,entity:i,size:a}){if(c.dataType!=="map")throw Error("Picked wrong preview component MapPropertyPreview");const l=c;if(e==="result.suggestions"&&console.log({propertyKey:e,property:c,value:t}),!l.properties||Object.keys(l.properties??{}).length===0)return n.jsx(Wr,{value:t});if(!t)return null;const s=Object.keys(l.properties);return a!=="medium"?n.jsx("div",{className:"w-full flex flex-col space-y-1 md:space-y-2",children:s.map((d,u)=>n.jsx("div",{children:n.jsx(ie,{children:n.jsx(Be,{propertyKey:d,value:t[d],property:l.properties[d],entity:i,size:a})},"map_preview_"+l.name+d+u)},`map_${d}`))}):n.jsx("div",{className:"flex flex-col gap-1 w-full",children:s&&s.map((d,u)=>{const A=l.properties[d];return n.jsxs("div",{className:E(ue,"last:border-b-0 border-b"),children:[n.jsxs("div",{className:"flex flex-row pt-0.5 pb-0.5 gap-2",children:[n.jsx("div",{className:"min-w-[140px] w-[25%] py-1",children:n.jsx(j,{variant:"caption",className:"font-mono break-words",color:"secondary",children:A.name})}),n.jsx("div",{className:"flex-grow max-w-[75%]",children:n.jsx(ie,{children:!(A.dataType==="map"||A==="array")&&n.jsx(Be,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})})]}),(A.dataType==="map"||A==="array")&&n.jsx("div",{className:E(ue,"border-l pl-4 ml-2 my-2"),children:n.jsx(Be,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})]},`map_preview_table_${d}}`)})})}function Wr({value:e}){return typeof e!="object"?null:n.jsx("div",{className:"flex flex-col gap-1 w-full",children:Object.entries(e).map(([t,c])=>n.jsxs("div",{className:E(ue,"last:border-b-0 border-b"),children:[n.jsxs("div",{className:"flex flex-row pt-0.5 pb-0.5 gap-2",children:[n.jsx("div",{className:"min-w-[140px] w-[25%] py-1",children:n.jsx(j,{variant:"caption",className:"font-mono break-words",color:"secondary",children:t})},`table-cell-title-${t}-${t}`),n.jsx("div",{className:"flex-grow max-w-[75%]",children:typeof c!="object"&&n.jsx(j,{children:n.jsx(ie,{children:c&&c.toString()})})})]}),typeof c=="object"&&n.jsx("div",{className:E(ue,"border-l pl-4"),children:n.jsx(Wr,{value:c})})]},`map_preview_table_${t}}`))})}const oi="MMMM dd, yyyy, HH:mm:ss";function ri({date:e}){const t=ne(),c=t?.locale?Ut[t?.locale]:void 0,i=t?.dateTimeFormat??oi,a=e?Ea(e,i,{locale:c}):"";return n.jsx(n.Fragment,{children:a})}const UG={large:"w-6 h-6 rounded flex items-center justify-center",medium:"w-5 h-5 rounded flex items-center justify-center",small:"w-4 h-4 rounded flex items-center justify-center"},YG={medium:"w-10 h-10",small:"w-8 h-8",large:"w-12 h-12"},Gr=({checked:e,indeterminate:t=!1,disabled:c,size:i="medium",onCheckedChange:a})=>{const l=t?!1:e;return n.jsx("div",{className:E(YG[i],"inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",a?"rounded-full hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75":"",a?"cursor-pointer":"cursor-default"),children:n.jsx(Ht.Root,{asChild:!0,checked:l,disabled:c,onCheckedChange:c?void 0:a,children:n.jsx("div",{className:E("border-2 relative transition-colors ease-in-out duration-150",UG[i],c?"bg-gray-400 dark:bg-gray-600":l?"bg-primary":"bg-white dark:bg-gray-900",l?"text-gray-100 dark:text-gray-900":"",c||l?"border-transparent":"border-gray-800 dark:border-gray-200"),children:n.jsx(Ht.Indicator,{asChild:!0,children:t?n.jsx("div",{className:"w-full h-[1px] bg-currentColor"}):n.jsx(r,{iconKey:"check",size:20,className:"absolute"})})})})})};function ti({value:e}){return n.jsx(Gr,{checked:e})}function ci({value:e,property:t,size:c}){if(t.enumValues){const i=e,a=tn(t.enumValues);return a?n.jsx(Ee,{enumKey:i,enumValues:a,size:c!=="medium"?"small":"medium"}):n.jsx(n.Fragment,{children:e})}else return n.jsx(n.Fragment,{children:e})}function Be(e){const t=ne();let c;const{property:i,propertyKey:a,value:l,size:s,height:d,width:u,entity:A}=e,y=Ne({propertyKey:a,propertyOrBuilder:i,propertyValue:l,fields:t.fields});if(l===void 0||y===null)c=n.jsx(Fn,{});else if(y.Preview)c=f.createElement(y.Preview,{propertyKey:a,value:l,property:y,size:s,height:d,width:u,entity:A,customProps:y.customProps});else if(l===null)c=n.jsx(Fn,{});else if(y.dataType==="string"){const h=y;typeof l=="string"?h.url?typeof h.url=="boolean"?c=n.jsx(ao,{size:e.size,url:l}):typeof h.url=="string"&&(c=n.jsx(ao,{size:e.size,url:l,previewType:h.url})):h.storage?c=n.jsx($c,{storeUrl:y.storage?.storeUrl??!1,size:e.size,storagePathOrDownloadUrl:l}):h.markdown?c=n.jsx(lo,{source:l}):c=n.jsx(Or,{...e,property:h,value:l}):c=bn(a,y.dataType,l)}else if(y.dataType==="array")if(l instanceof Array){const h=y;if(!h.of&&!h.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${a}`);h.of?Array.isArray(h.of)?c=n.jsx(Lr,{...e,value:l,property:y}):h.of.dataType==="map"?c=n.jsx(Jc,{propertyKey:a,property:y,value:l,entity:A,size:s}):h.of.dataType==="reference"?c=n.jsx(Xc,{...e,value:l,property:y}):h.of.dataType==="string"?h.of.enumValues?c=n.jsx(Vr,{...e,value:l,property:y}):h.of.storage?c=n.jsx(xc,{...e,value:l,property:y}):c=n.jsx(Rc,{...e,value:l,property:y}):h.of.dataType==="number"&&h.of.enumValues?c=n.jsx(Vr,{...e,value:l,property:y}):c=n.jsx(Lr,{...e,value:l,property:y}):h.oneOf&&(c=n.jsx(ei,{...e,value:l,property:y}))}else c=bn(a,y.dataType,l);else y.dataType==="map"?typeof l=="object"?c=n.jsx(ni,{...e,property:y}):c=bn(a,y.dataType,l):y.dataType==="date"?l instanceof Date?c=n.jsx(ri,{date:l}):c=bn(a,y.dataType,l):y.dataType==="reference"?typeof y.path=="string"?l instanceof je?c=n.jsx(nn,{disabled:!y.path,previewProperties:y.previewProperties,size:e.size,onClick:e.onClick,reference:l}):c=bn(a,y.dataType,l):c=n.jsx(Fn,{}):y.dataType==="boolean"?typeof l=="boolean"?c=n.jsx(ti,{value:l}):c=bn(a,y.dataType,l):y.dataType==="number"?typeof l=="number"?c=n.jsx(ci,{...e,value:l,property:y}):c=bn(a,y.dataType,l):c=JSON.stringify(l);return c??n.jsx(Fn,{})}function bn(e,t,c){return console.warn(`Unexpected value for property ${e}, of type ${t}`,c),n.jsx(we,{title:"Unexpected value",error:`${JSON.stringify(c)}`})}const $G=ce.memo(function({builder:t}){const[c,i]=f.useState(!0),[a,l]=f.useState(null);return f.useEffect(()=>{let s=!1;return t.then(d=>{s||(i(!1),l(d))}).catch(d=>{i(!1),console.error(d)}),()=>{s=!0}},[t]),c?n.jsx(Ve,{}):n.jsx(ce.Fragment,{children:a})}),jG=new zt({html:!0}),lo=f.memo(function({source:t,className:c}){const i=f.useMemo(()=>jG.render(typeof t=="string"?t:""),[t]);return n.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:i}})},de);function zr({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,includeDescription:A}){const y=u.enumValues;Te({property:u,value:t,setValue:c});const h=f.useCallback(I=>{I.stopPropagation(),I.preventDefault(),c(null)},[c]);return n.jsxs(n.Fragment,{children:[n.jsx(Xe,{value:t?t.toString():"",disabled:l,position:"item-aligned",inputClassName:E("w-full"),label:n.jsx(Ce,{icon:ke(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),endAdornment:u.clearable&&n.jsx(R,{onClick:h,children:n.jsx(cn,{})}),onValueChange:I=>{const _=I?u.dataType==="number"?parseFloat(I):I:null;return c(_)},renderValue:I=>n.jsx(Ee,{enumKey:I,enumValues:y,size:"medium"}),children:y&&y.map(I=>n.jsx(xe,{value:String(I.id),children:n.jsx(Ee,{enumKey:String(I.id),enumValues:y,size:"medium"})},I.id))}),n.jsx(Se,{includeDescription:A,showError:a,error:i,disabled:l,property:u})]})}function ii({children:e,error:t}){return n.jsx("div",{className:E("text-sm font-medium ml-3.5 mb-1",t?"text-red-500 dark:text-red-600":"text-gray-500 dark:text-gray-300"),children:e})}function Do(e,t,c=!0){f.useEffect(()=>{if(!c)return;function i(a){ai(a.target)||e.current&&!e.current.contains(a.target)&&t()}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[e,c,t])}function ai(e){return e instanceof HTMLElement?e.getAttribute("role")==="presentation"?!0:ai(e.parentNode):!1}const Hr=ce.createContext({});function Ur({value:e,open:t,onMultiValueChange:c,size:i="medium",label:a,disabled:l,renderValue:s,renderValues:d,includeFocusOutline:u=!0,containerClassName:A,className:y,children:h,error:I}){const _=ce.useRef(null),g=ce.useRef(null),b=ce.useRef(null);Do(b,()=>w(!1));const[p,w]=ce.useState(!1);f.useEffect(()=>{w(t??!1)},[t]);const k=ce.useCallback(S=>{Array.isArray(e)&&e.includes(S)?c?.(e.filter(T=>T!==S)):c?.([...e??[],S])},[e,c]),[v,K]=ce.useState(""),[m,C]=ce.useState(null),B=ce.useCallback(S=>{const T=g.current;if(T){if((S.key==="Delete"||S.key==="Backspace")&&T.value===""){const N=[...e??[]];N.pop(),c?.(N)}S.key==="Escape"&&(T.blur(),w(!1),S.stopPropagation())}},[c,e]),P=ce.useCallback(()=>{C(_.current?.getBoundingClientRect()??null),w(!0)},[]),F=m??_.current?.getBoundingClientRect(),D=window.innerHeight-(F?.top??0)-(F?.height??0)-16;return n.jsxs(n.Fragment,{children:[typeof a=="string"?n.jsx(ii,{error:I,children:a}):a,n.jsxs(go.Command,{onKeyDown:B,onClick:()=>{g.current?.focus(),P()},className:E("relative overflow-visible bg-transparent",A),children:[n.jsxs("div",{ref:_,className:E("flex flex-row",i==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",Je,l?Re:We,"relative flex items-center","p-4",I?"text-red-500 dark:text-red-600":"focus:text-text-primary dark:focus:text-text-primary-dark",I?"border border-red-500 dark:border-red-600":"",u?he:"",y),children:[n.jsxs("div",{className:E("flex-grow flex gap-1.5 flex-wrap items-center"),children:[s&&(e??[]).map((S,T)=>s(S,T)),d&&d(e??[]),n.jsx(go.Command.Input,{ref:g,value:v,onValueChange:K,onFocus:P,className:"ml-2 bg-transparent outline-none flex-1 h-full w-full "})]}),n.jsx("div",{className:"px-2 h-full flex items-center",children:n.jsx(oo,{size:"small",className:E("transition ",p?"rotate-180":"")})})]}),n.jsx(Ye.Root,{open:p,onOpenChange:w,children:n.jsx(Ye.Portal,{children:n.jsx(Hr.Provider,{value:{fieldValue:e,setInputValue:K,onValueChangeInternal:k},children:n.jsx("div",{ref:b,className:"z-50 absolute overflow-auto outline-none",style:{pointerEvents:p?"auto":"none",top:(F?.top??0)+(F?.height??0),left:F?.left,width:F?.width,maxHeight:D},children:n.jsx(go.Command.Group,{className:"mt-2 text-gray-900 dark:text-white animate-in z-50 border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-lg flex flex-col outline-none w-full",children:h})})})})})]})]})}function Yr({children:e,value:t,className:c}){const i=ce.useContext(Hr);if(!i)throw new Error("MultiSelectItem must be used inside a MultiSelect");const{fieldValue:a,setInputValue:l,onValueChangeInternal:s}=i;return n.jsx(go.Command.Item,{onMouseDown:d=>{d.preventDefault(),d.stopPropagation()},onSelect:d=>{l(""),s(t)},className:E((a??[]).includes(t)?"bg-gray-200 dark:bg-gray-950":"","cursor-pointer","m-1","ring-offset-transparent","p-2 rounded aria-[selected=true]:outline-none aria-[selected=true]:ring-2 aria-[selected=true]:ring-primary aria-[selected=true]:ring-opacity-75 aria-[selected=true]:ring-offset-2","aria-[selected=true]:bg-gray-100 aria-[selected=true]:dark:bg-gray-900","cursor-pointer p-2 rounded aria-[selected=true]:bg-gray-100 aria-[selected=true]:dark:bg-gray-900",c),children:e})}function $r({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,property:s,includeDescription:d,autoFocus:u}){const A=s.of;if(!A)throw Error("Using wrong component ArrayEnumSelect");if(Array.isArray(A))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(A.dataType!=="string"&&A.dataType!=="number")throw Error("Field misconfiguration: array field of type string or number");const y=tn(A.enumValues);if(!y)throw console.error(s),Error("Field misconfiguration: array field of type string or number needs to have enumValues");Te({property:s,value:t,setValue:c});const h=!!t&&Array.isArray(t),I=f.useCallback((_,g)=>{const b=_!==void 0?Ko(y,_):void 0;return n.jsxs(Ee,{enumKey:_,enumValues:y,size:"medium",children:[b?.label??_,!g&&n.jsx("button",{className:"ml-1 ring-offset-background rounded-full outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",onMouseDown:p=>{p.preventDefault(),p.stopPropagation()},onClick:p=>{p.preventDefault(),p.stopPropagation(),c(t.filter(w=>w!==_))},children:n.jsx(Ir,{size:"smallest"})})]},_)},[y,c,t]);return n.jsxs("div",{className:"mt-0.5 ml-0.5 mt-2",children:[n.jsx(Ur,{value:h?t.map(_=>_.toString()):[],disabled:l,label:n.jsx(Ce,{icon:ke(s,"small"),required:s.validation?.required,title:s.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),renderValue:f.useCallback(_=>I(_,!1),[I]),onMultiValueChange:_=>{let g;return A&&A?.dataType==="number"?g=_?_.map(b=>parseFloat(b)):[]:g=_,c(g)},children:y.map(_=>String(_.id)).map(_=>n.jsx(Yr,{value:_,children:I(_,!0)},_))}),n.jsx(Se,{includeDescription:d,showError:a,error:i,disabled:l,property:s})]})}function li({propertyKey:e,value:t,error:c,showError:i,disabled:a,isSubmitting:l,tableMode:s,property:d,includeDescription:u,setValue:A,setFieldValue:y}){const h=d.of;if(h.dataType!=="reference")throw Error("ArrayOfReferencesField expected a property containing references");const I=d.expanded===void 0?!0:d.expanded,[_,g]=f.useState(!1),b=t&&Array.isArray(t)?t.map(P=>P.id):[];Te({property:d,value:t,setValue:A});const p=fe(),w=f.useMemo(()=>h.path?p.getCollection(h.path):void 0,[h.path]);if(!w)throw Error(`Couldn't find the corresponding collection for the path: ${h.path}`);const k=f.useCallback(P=>{A(P.map(F=>hn(F)))},[A]),v=io({multiselect:!0,path:h.path,collection:w,onMultipleEntitiesSelected:k,selectedEntityIds:b,forceFilter:h.forceFilter}),K=f.useCallback(P=>{P.preventDefault(),v.open()},[v]),m=f.useCallback((P,F)=>{const D=t&&t.length>P?t[P]:void 0;return D?n.jsx("div",{onMouseEnter:()=>g(!0),onMouseMove:()=>g(!0),onMouseLeave:()=>g(!1),children:n.jsx(nn,{disabled:!h.path,previewProperties:h.previewProperties,size:"medium",onClick:K,reference:D,onHover:_})}):n.jsx("div",{children:"Internal ERROR"})},[h.path,h.previewProperties,_,t]),C=n.jsx(Ce,{icon:ke(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark"}),B=n.jsxs(n.Fragment,{children:[!w&&n.jsx(we,{error:"The specified collection does not exist. Check console"}),w&&n.jsxs(n.Fragment,{children:[n.jsx(Co,{value:t,addLabel:d.name?"Add reference to "+d.name:"Add reference",name:e,buildEntry:m,disabled:l,setFieldValue:y,newDefaultEntry:d.of.defaultValue}),n.jsxs(te,{className:"my-4 justify-center text-left",variant:"outlined",color:"primary",disabled:l,onClick:K,children:["Edit ",d.name]})]})]});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(dn,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:I,title:C,children:B}),s&&B,n.jsx(Se,{includeDescription:u,showError:i,error:c,disabled:a,property:d})]})}const qG=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,JG=e=>{const t=e.match(qG);return t?t.map(c=>c.toLowerCase()).join("-"):""},ZG=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,XG=e=>{const t=e.match(ZG);return t?t.map(c=>c.toLowerCase()).join("_"):""};function Tn(e=5){return Math.random().toString(36).slice(2,2+e)}function xG(){return Math.floor(Math.random()*16777215).toString(16)}function No(e,t="_",c=!0){if(!e)return"";const i="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;-",a=`aaaaaeeeeeiiiiooooouuuunc${t}${t}${t}${t}${t}${t}${t}`;for(let l=0,s=i.length;l<s;l++)e=e.replace(new RegExp(i.charAt(l),"g"),a.charAt(l));return e=e.toString().replace(/\s+/g,t).replace(/&/g,t).replace(/[^\w\\-]+/g,"").replace(new RegExp("\\"+t+"\\"+t+"+","g"),t).trim().replace(/^\s+|\s+$/g,""),c?e.toLowerCase():e}async function RG(e,t,c,i,a,l,s,d){let u;return typeof e=="function"?(u=await e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),u||console.warn("Storage callback returned empty result. Using default name value")):u=si(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function ez(e,t,c,i,a,l,s,d){let u;return typeof e=="function"?(u=e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),u||console.warn("Storage callback returned empty result. Using default name value")):u=si(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function si(e,t,c,i,a){const l=e.name.split(".").pop();let s=t.replace("{entityId}",c).replace("{propertyKey}",i).replace("{rand}",Tn()).replace("{file}",e.name).replace("{file.type}",e.type).replace("{path}",a);if(l){s=s.replace("{file.ext}",l);const d=e.name.replace(`.${l}`,"");s=s.replace("{file.name}",d)}return s||(s=Tn()+"_"+e.name),s}function di({entityId:e,entityValues:t,path:c,value:i,property:a,propertyKey:l,storageSource:s,disabled:d,onChange:u}){const A=a.dataType==="string"?a.storage:a.dataType==="array"&&a.of.dataType==="string"?a.of.storage:void 0,y=a.dataType==="array";if(!A)throw Error("Storage meta must be specified");const h=A?.metadata,I=y?"small":"medium",_=A?.imageCompression,g=(y?i??[]:i?[i]:[]).map(B=>({id:jr(),storagePathOrDownloadUrl:B,metadata:h,size:I})),[b,p]=f.useState(i),[w,k]=f.useState(g);f.useEffect(()=>{de(b,i)||(p(i),k(g))},[g,i,b]);const v=f.useCallback(async B=>{if(A.fileName){const P=await RG(A.fileName,A,t,e,c,a,B,l);if(!P||P.length===0)throw Error("You need to return a valid filename");return P}return Tn()+"_"+B.name},[e,t,c,a,l,A]),K=f.useCallback(B=>ez(A.storagePath,A,t,e,c,a,B,l)??"/",[e,t,c,a,l,A]),m=f.useCallback(async(B,P,F)=>{console.debug("onFileUploadComplete",B,P);let D=B;if(A.storeUrl&&(D=(await s.getDownloadURL(B)).url),A.postProcess&&D&&(D=await A.postProcess(D)),!D){console.warn("uploadPathOrDownloadUrl is null");return}let S;P.storagePathOrDownloadUrl=D,P.metadata=F,S=[...w],S=ui(S),k(S);const T=S.filter(N=>!!N.storagePathOrDownloadUrl).map(N=>N.storagePathOrDownloadUrl);u(y?T:T?T[0]:null)},[w,y,u,A,s]),C=f.useCallback(async B=>{if(!B.length||d)return;let P;if(y)P=[...w,...await Promise.all(B.map(async F=>(_&&qr(F)&&(F=await Ai(F,_)),{id:jr(),file:F,fileName:await v(F),metadata:h,size:I})))];else{let F=B[0];_&&qr(F)&&(F=await Ai(F,_)),P=[{id:jr(),file:F,fileName:await v(F),metadata:h,size:I}]}P=ui(P),k(P)},[d,v,w,h,y,I]);return{internalValue:w,setInternalValue:k,storage:A,fileNameBuilder:v,storagePathBuilder:K,onFileUploadComplete:m,onFilesAdded:C,multipleFilesSupported:y}}function ui(e){return e.filter((t,c)=>(e.map(i=>i.storagePathOrDownloadUrl).indexOf(t.storagePathOrDownloadUrl)===c||!t.storagePathOrDownloadUrl)&&(e.map(i=>i.file).indexOf(t.file)===c||!t.file))}function jr(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const fi={"image/jpeg":"JPEG","image/png":"PNG","image/webp":"WEBP"},qr=e=>fi[e.type]?fi[e.type]:null,nz=100,Ai=(e,t)=>new Promise(c=>{const i=t.quality===void 0?nz:t.quality,a=i>=0&&i<=100?i:100,l=qr(e);if(!l)throw Error("resizeAndCompressImage: Unsupported image format");Pa.imageFileResizer(e,t.maxWidth||Number.MAX_VALUE,t.maxHeight||Number.MAX_VALUE,l,a,0,s=>c(s),"file")});function _i({storagePath:e,entry:t,metadata:c,onFileUploadComplete:i,imageSize:a,simple:l}){const s=Bn(),d=an(),[u,A]=f.useState(),[y,h]=f.useState(!1),I=f.useRef(!1),_=f.useRef(!1),g=f.useCallback((b,p)=>{_.current||(_.current=!0,A(void 0),h(!0),s.uploadFile({file:b,fileName:p,path:e,metadata:c}).then(async({path:w})=>{console.debug("Upload successful"),await i(w,t,c),I.current&&h(!1)}).catch(w=>{console.warn("Upload error",w),I.current&&(A(w),h(!1),d.open({type:"error",message:"Error uploading file: "+w.message}))}).finally(()=>{_.current=!1}))},[t,c,i,s,e]);return f.useEffect(()=>(I.current=!0,t.file&&g(t.file,t.fileName),()=>{I.current=!1}),[t.file,t.fileName,g]),l?n.jsx("div",{className:`m-4 w-${a} h-${a}`,children:y&&n.jsx(Ve,{className:`w-${a} h-${a}`})}):n.jsxs("div",{className:E(Ge,"relative m-4 border-box flex items-center justify-center",`min-w-[${a}px] min-h-[${a}px]`),children:[y&&n.jsx(Ve,{className:"w-full h-full"}),u&&n.jsx(we,{title:"Error uploading file",error:u})]})}function yi({name:e,property:t,value:c,entity:i,onRemove:a,disabled:l,size:s}){return n.jsxs("div",{className:E(Ge,"relative m-4 border-box flex items-center justify-center",s==="medium"?"min-w-[220px] min-h-[220px] max-w-[220px]":"min-w-[118px] min-h-[118px] max-w-[118px]"),children:[!l&&n.jsx("div",{className:"absolute rounded-full -top-2 -right-2 z-10 bg-white dark:bg-gray-900",children:n.jsx(_e,{title:"Remove",children:n.jsx(R,{size:"small",onClick:d=>{d.stopPropagation(),a(c)},children:n.jsx(to,{size:"small"})})})}),c&&n.jsx(ie,{children:n.jsx(Be,{propertyKey:e,value:c,property:t,entity:i,size:s})})]})}const oz="box-border relative pt-[2px] items-center border border-transparent min-h-[254px] outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",rz="border-dotted-gray",tz="hover:bg-field-hover dark:hover:bg-field-hover-dark",cz="pt-0 border-2 border-solid",iz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500",az="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500";function Jr({propertyKey:e,value:t,setValue:c,error:i,showError:a,autoFocus:l,tableMode:s,property:d,includeDescription:u,context:A,isSubmitting:y}){if(!A.entityId)throw new Error("StorageUploadFieldBinding: Entity id is null");const h=Bn(),I=Cn(d)||!!d.disabled||y,{internalValue:_,setInternalValue:g,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:v}=di({entityValues:A.values,entityId:A.entityId,path:A.path,property:d,propertyKey:e,value:t,storageSource:h,disabled:I,onChange:c});Te({property:d,value:t,setValue:c});const K={id:A.entityId,values:A.values,path:A.path};return n.jsxs(n.Fragment,{children:[!s&&n.jsx(Ce,{icon:ke(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx(sz,{value:_,name:e,disabled:I,autoFocus:l,property:d,onChange:c,setInternalValue:g,onFilesAdded:b,entity:K,onFileUploadComplete:w,storagePathBuilder:k,storage:p,multipleFilesSupported:v}),n.jsx(Se,{includeDescription:u,showError:a,error:i,disabled:I,property:d})]})}function lz({storage:e,disabled:t,isDraggingOver:c,onFilesAdded:i,multipleFilesSupported:a,droppableProvided:l,autoFocus:s,internalValue:d,property:u,entity:A,onClear:y,metadata:h,storagePathBuilder:I,onFileUploadComplete:_,size:g,name:b,helpText:p}){const w=an(),{getRootProps:k,getInputProps:v,isDragActive:K,isDragAccept:m,isDragReject:C}=Ro.useDropzone({accept:e.acceptedFiles?e.acceptedFiles.map(B=>({[B]:[]})).reduce((B,P)=>({...B,...P}),{}):void 0,disabled:t||c,noDragEventsBubbling:!0,maxSize:e.maxSize,onDrop:i,onDropRejected:(B,P)=>{for(const F of B)for(const D of F.errors)w.open({type:"error",message:`Error uploading file: File is larger than ${e.maxSize} bytes`})}});return n.jsxs("div",{...k(),className:E(Je,t?Re:We,oz,a&&d.length?"":"flex",he,{[tz]:!K,[cz]:K,[az]:C,[iz]:m,[rz]:t}),children:[n.jsxs("div",{...l.droppableProps,ref:l.innerRef,className:E("flex items-center p-1 no-scrollbar",a&&d.length?"overflow-auto":"",a&&d.length?"min-h-[180px]":"min-h-[250px]"),children:[n.jsx("input",{autoFocus:s,...v()}),d.map((B,P)=>{let F;return B.storagePathOrDownloadUrl?F=n.jsx(yi,{name:`storage_preview_${B.storagePathOrDownloadUrl}`,property:u,disabled:t,entity:A,value:B.storagePathOrDownloadUrl,onRemove:y,size:B.size}):B.file&&(F=n.jsx(_i,{entry:B,metadata:h,storagePath:I(B.file),onFileUploadComplete:_,imageSize:g==="medium"?220:118,simple:!1})),n.jsx(Kn.Draggable,{draggableId:`array_field_${b}_${B.id}`,index:P,children:(D,S)=>n.jsx("div",{tabIndex:-1,ref:D.innerRef,...D.draggableProps,...D.dragHandleProps,className:E(he,"rounded-md"),style:{...D.draggableProps.style},children:F})},`array_field_${b}_${B.id}`)}),l.placeholder]}),n.jsx("div",{className:"flex-grow min-h-[38px] box-border m-2 text-center",children:n.jsx(j,{align:"center",variant:"label",children:p})})]})}function sz({property:e,name:t,value:c,setInternalValue:i,onChange:a,multipleFilesSupported:l,onFileUploadComplete:s,disabled:d,onFilesAdded:u,autoFocus:A,storage:y,entity:h,storagePathBuilder:I}){if(l){const K=e;if(K.of){if(Array.isArray(K.of)||K.of.dataType!=="string")throw Error("Storage field using array must be of data type string")}else throw Error("Storage field using array must be of data type string")}const _=y?.metadata,g=l?"small":"medium",b=f.useCallback((K,m)=>{if(!l)return;const C=[...c],B=C[K];C.splice(K,1),C.splice(m,0,B),i(C);const P=C.filter(F=>!!F.storagePathOrDownloadUrl).map(F=>F.storagePathOrDownloadUrl);a(P)},[l,a,i,c]),p=f.useCallback(K=>{K.destination&&b(K.source.index,K.destination.index)},[b]),w=f.useCallback(K=>{if(l){const m=c.filter(C=>C.storagePathOrDownloadUrl!==K);a(m.filter(C=>!!C.storagePathOrDownloadUrl).map(C=>C.storagePathOrDownloadUrl)),i(m)}else a(null),i([])},[c,l,a]),k=l?"Drag 'n' drop some files here, or click to select files":"Drag 'n' drop a file here, or click to select one",v=l?e.of:e;return n.jsx(Kn.DragDropContext,{onDragEnd:p,children:n.jsx(Kn.Droppable,{droppableId:`droppable_${t}`,direction:"horizontal",renderClone:(K,m,C)=>{const B=c[C.source.index];return n.jsx("div",{ref:K.innerRef,...K.draggableProps,...K.dragHandleProps,style:K.draggableProps.style,className:"rounded",children:n.jsx(yi,{name:`storage_preview_${B.storagePathOrDownloadUrl}`,property:v,disabled:!0,entity:h,value:B.storagePathOrDownloadUrl,onRemove:w,size:B.size})})},children:(K,m)=>n.jsx(lz,{storage:y,disabled:d,isDraggingOver:m.isDraggingOver,droppableProvided:K,onFilesAdded:u,multipleFilesSupported:l,autoFocus:A,internalValue:c,property:v,entity:h,onClear:w,metadata:_,storagePathBuilder:I,onFileUploadComplete:s,size:g,name:t,helpText:k})})})}function To({children:e,className:t,in:c=!1,duration:i=220}){return Dn(`Collapse-${i}`,`
69
- .CollapseContent-${i} {
70
- overflow: hidden;
71
- }
72
- .CollapseContent-${i}[data-state='open'] {
73
- animation: slideDown ${i}ms ease-out;
74
- }
75
- .CollapseContent-${i}[data-state='closed'] {
76
- animation: slideUp ${i}ms ease-in;
77
- }
78
-
79
- @keyframes slideDown {
80
- from {
81
- height: 0;
82
- }
83
- to {
84
- height: var(--radix-collapsible-content-height);
85
- }
86
- }
87
-
88
- @keyframes slideUp {
89
- from {
90
- height: var(--radix-collapsible-content-height);
91
- }
92
- to {
93
- height: 0;
94
- }
95
- }
96
- `),n.jsx(qn.Root,{open:c,className:t,children:n.jsx(qn.Content,{className:E(`CollapseContent-${i}`),children:e})})}function Mn({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,property:d,includeDescription:u}){let A,y;d.dataType==="string"&&(A=d.multiline,y=d.url),Te({property:d,value:t,setValue:c});const h=f.useCallback(b=>{b.stopPropagation(),b.preventDefault(),c(null)},[c]),I=b=>{if(g==="number"){const p=b.target.value?parseFloat(b.target.value):void 0;p&&isNaN(p)?c(null):p!=null?c(p):c(null)}else c(b.target.value)},_=!!A,g=d.dataType==="number"?"number":void 0;return n.jsxs(n.Fragment,{children:[n.jsx(un,{value:t,onChange:I,autoFocus:s,label:n.jsx(Ce,{icon:ke(d,"small"),required:d.validation?.required,title:d.name}),type:g,multiline:_,disabled:l,endAdornment:d.clearable&&n.jsx(R,{onClick:h,children:n.jsx(cn,{})}),error:a?i:void 0,inputClassName:i?"text-red-500 dark:text-red-600":""}),n.jsx(Se,{includeDescription:u,showError:a,error:i,disabled:l,property:d}),y&&n.jsx(To,{className:"mt-1 ml-1",in:!!t,children:n.jsx(Be,{value:t,property:d,size:"medium"})})]})}const Zr=f.forwardRef(function({value:t,allowIndeterminate:c,className:i,onValueChange:a,disabled:l=!1,size:s="medium",...d},u){return n.jsxs("button",{ref:u,tabIndex:l?-1:void 0,onClick:l?void 0:A=>{A.preventDefault(),c?t==null?a?.(!0):a?.(t?!1:null):a?.(!t)},className:E(s==="small"?"w-[38px] h-[22px] min-w-[38px] min-h-[22px]":"w-[42px] h-[26px] min-w-[42px] min-h-[26px]","outline-none rounded-full relative shadow-sm",t?l?"bg-white bg-opacity-54 dark:bg-gray-950":"ring-secondary ring-1 bg-secondary dark:bg-secondary":"bg-white bg-opacity-54 dark:bg-gray-900 ring-1 ring-gray-100 dark:ring-gray-700",i),...d,children:[c&&t==null&&n.jsx("div",{className:E("block rounded-full transition-transform duration-100 transform will-change-auto",l?"bg-gray-400 dark:bg-gray-600":"bg-gray-600 dark:bg-gray-400",{"w-[21px] h-[10px]":s==="medium","w-[19px] h-[8px]":s==="small","translate-x-[10px]":s==="medium","translate-x-[9px]":s==="small"})}),!(c&&t==null)&&n.jsx("div",{className:E("block rounded-full transition-transform duration-100 transform will-change-auto",l?"bg-gray-300 dark:bg-gray-700":t?"bg-white":"bg-gray-600 dark:bg-gray-400",{"w-[21px] h-[21px]":s==="medium","w-[19px] h-[19px]":s==="small",[t?"translate-x-[19px]":"translate-x-[3px]"]:s==="medium",[t?"translate-x-[17px]":"translate-x-[2px]"]:s==="small"})})]})}),On=function({value:t,position:c="end",invisible:i,onValueChange:a,error:l,label:s,autoFocus:d,disabled:u,size:A,...y}){const h=f.useRef(null),I=f.useRef(null),[_,g]=f.useState(d),b=()=>g(!0),p=()=>g(!1);f.useEffect(()=>{},[]);const w=document.activeElement===I?.current||document.activeElement===h?.current;return n.jsxs("div",{ref:h,onFocus:b,onBlur:p,tabIndex:-1,className:E(!i&&Je,!i&&(u?Re:We),u?"cursor-default":"cursor-pointer","rounded-md relative max-w-full justify-between w-full box-border relative inline-flex items-center",!i&&w&&!u?fr:"",l?"text-red-500 dark:text-red-600":w?"text-primary":u?"text-text-secondary dark:text-text-secondary-dark":"text-text-primary dark:text-text-primary-dark",A==="small"?"min-h-[40px]":"min-h-[64px]",A==="small"?"pl-2":"pl-4",A==="small"?"pr-4":"pr-6",c==="end"?"flex-row-reverse":"flex-row"),onClick:u?void 0:k=>{y.allowIndeterminate?t==null?a?.(!0):a?.(t?!1:null):a?.(!t)},children:[n.jsx(Zr,{value:t,ref:I,size:A,className:i&&w?fr:"",disabled:u,...y}),n.jsx("div",{className:E("flex-grow",c==="end"?"mr-4":"ml-4",A==="small"?"text-sm":"text-base"),children:s})]})},hi=f.forwardRef(function({propertyKey:t,value:c,setValue:i,error:a,showError:l,autoFocus:s,disabled:d,touched:u,property:A,includeDescription:y},h){return Te({property:A,value:c,setValue:i}),n.jsxs(n.Fragment,{children:[n.jsx(On,{value:c,onValueChange:I=>i(I),error:l,label:n.jsx(Ce,{icon:ke(A,"small"),required:A.validation?.required,title:A.name}),disabled:d,autoFocus:s,size:"medium"}),n.jsx(Se,{includeDescription:y,showError:l,error:a,disabled:d,property:A})]})});function gi({propertyKey:e,value:t,setValue:c,autoFocus:i,error:a,showError:l,disabled:s,touched:d,property:u,includeDescription:A}){const y=t||null;return Te({property:u,value:t,setValue:c}),n.jsxs(n.Fragment,{children:[n.jsx(Vn,{value:y,onChange:h=>c(h),size:"medium",mode:u.mode,clearable:u.clearable,label:n.jsx(Ce,{icon:ke(u,"small"),required:u.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:u.name})}),n.jsx(Se,{includeDescription:A,showError:l,error:a,disabled:s,property:u})]})}class ie extends f.Component{constructor(t){super(t),this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,c){console.error(t)}render(){return this.state.error?n.jsxs("div",{className:"flex flex-col m-2",children:[n.jsxs("div",{className:"flex items-center m-2",children:[n.jsx(br,{color:"error",size:"small"}),n.jsx("div",{className:"ml-4",children:"Error"})]}),n.jsx(j,{variant:"caption",children:this.state.error?.message??"See the error in the console"})]}):this.props.children}}function Xr({propertyKey:e,value:t,error:c,showError:i,tableMode:a,property:l,includeDescription:s,context:d}){if(!d.entityId)throw new Error("ReadOnlyFieldBinding: Entity id is null");const u={id:d.entityId,values:d.values,path:d.path};return n.jsxs(n.Fragment,{children:[!a&&n.jsx(Ce,{icon:ke(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx("div",{className:E(Ge,"min-h-14 p-4 md:p-6"),children:n.jsx(ie,{children:n.jsx(Be,{propertyKey:e,value:t,property:l,entity:u,size:"medium"})})}),n.jsx(Se,{includeDescription:s,showError:i,error:c,property:l})]})}function Ii(e){return typeof e.property.path!="string"?n.jsx(Xr,{...e}):n.jsx(dz,{...e})}function dz({value:e,setValue:t,error:c,showError:i,isSubmitting:a,disabled:l,touched:s,autoFocus:d,property:u,includeDescription:A,context:y}){if(!u.path)throw new Error("Property path is required for ReferenceFieldBinding");Te({property:u,value:e,setValue:t});const h=e&&e instanceof je,I=fe(),_=f.useMemo(()=>u.path?I.getCollection(u.path):void 0,[u.path]);if(!_)throw Error(`Couldn't find the corresponding collection for the path: ${u.path}`);const g=f.useCallback(w=>{t(hn(w))},[t]),b=io({multiselect:!1,path:u.path,collection:_,onSingleEntitySelected:g,selectedEntityIds:h?[e.id]:void 0,forceFilter:u.forceFilter}),p=f.useCallback(w=>{w.preventDefault(),b.open()},[b]);return n.jsxs(n.Fragment,{children:[n.jsx(Ce,{icon:ke(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),!_&&n.jsx(we,{error:"The specified collection does not exist. Check console"}),_&&n.jsxs(n.Fragment,{children:[e&&n.jsx(nn,{disabled:!u.path,previewProperties:u.previewProperties,size:"medium",onClick:l||a?void 0:p,reference:e}),!e&&n.jsx("div",{className:"justify-center text-left",children:n.jsxs(te,{variant:"outlined",color:"primary",disabled:l||a,onClick:p,children:["Edit ",u.name]})})]}),n.jsx(Se,{includeDescription:A,showError:i,error:c,disabled:l,property:u})]})}const pn=f.memo(uz,(e,t)=>{if(e.propertyKey!==t.propertyKey)return!1;const c=Le(e.property)||e.property.fromBuilder,i=Le(t.property)||t.property.fromBuilder;return!((c===i||de(e.property,t.property))&&e.disabled===t.disabled)||Mo(t.property),!1});function uz({propertyKey:e,property:t,context:c,includeDescription:i,underlyingValueHasChanged:a,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A}){const y=ne(),I=Mo(t,y.plugins)?Fe.Field:Fe.FastField;return n.jsx(I,{name:e,children:_=>{let g;const b=Ne({propertyKey:e,propertyValue:_.field.value,propertyOrBuilder:t,values:_.form.values,path:c.path,entityId:c.entityId,fields:y.fields});if(b===null||Rn(b))return n.jsx(n.Fragment,{});if(Cn(b))g=Xr;else if(b.Field)typeof b.Field=="function"&&(g=b.Field);else{const w=Go(b,y.fields);if(!w)throw console.log("INTERNAL: Could not find field config for property",{propertyKey:e,resolvedProperty:b,fields:y.fields,fieldConfig:w}),new Error(`INTERNAL: Could not find field config for property ${e}`);g=Ne({propertyOrBuilder:w.property,propertyValue:_.field.value,values:_.form.values,path:c.path,entityId:c.entityId,fields:y.fields}).Field}if(!g)return console.warn(`No field component found for property ${e}`),console.warn("Property:",t),n.jsx("div",{children:`Currently the field ${b.dataType} is not supported`});const p={propertyKey:e,property:b,includeDescription:i,underlyingValueHasChanged:a,context:c,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A};return n.jsx(fz,{Component:g,componentProps:p,fieldProps:_})}})}function fz({Component:e,componentProps:{propertyKey:t,property:c,includeDescription:i,underlyingValueHasChanged:a,tableMode:l,partOfArray:s,partOfBlock:d,autoFocus:u,context:A,disabled:y},fieldProps:h}){const{plugins:I}=ne(),_=c.customProps,g=h.field.value,b=h.meta.initialValue,p=Fe.getIn(h.form.errors,t),w=Fe.getIn(h.form.touched,t),k=p&&(h.form.submitCount>0||c.validation?.unique)&&(!Array.isArray(p)||!!p.filter(F=>!!F).length),K=Az(A.path,A.collection,t,c,e,I)??e,m=h.form.isSubmitting,C=f.useCallback((F,D)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(t,F,D)},[]),B=f.useCallback((F,D,S)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(F,D,S)},[]),P={propertyKey:t,value:g,initialValue:b,setValue:C,setFieldValue:B,error:p,touched:w,showError:k,isSubmitting:m,includeDescription:i??!0,property:c,disabled:y??!1,underlyingValueHasChanged:a??!1,tableMode:l??!1,partOfArray:s??!1,partOfBlock:d??!1,autoFocus:u??!1,customProps:_,context:A};return n.jsxs(ie,{children:[n.jsx(K,{...P}),a&&!m&&n.jsx(j,{variant:"caption",className:"ml-3.5",children:"This value has been updated elsewhere"})]})}const Mo=(e,t)=>{if(t?.some(a=>a.form?.fieldBuilder)||Le(e))return!0;const c=e,i=!!c.Field||"fromBuilder"in c&&c.fromBuilder;return c.dataType==="map"&&c.properties?i||Object.values(c.properties).some(a=>Mo(a,t)):c.dataType==="array"&&"resolvedProperties"in c?i||c.resolvedProperties?.some(a=>a&&Mo(a,t)):i};function Az(e,t,c,i,a,l){return f.useRef((()=>{let d=null;return l&&l.forEach(u=>{const A=dt(i);if(A&&u.form?.fieldBuilder){const y={fieldConfigId:A,propertyKey:c,property:i,Field:a,plugin:u,path:e,collection:t},h=u.form?.fieldBuilderEnabled?.(y);(h===void 0||h)&&(d=u.form.fieldBuilder(y)||d)}A||console.warn("INTERNAL: Field id not found for property",i)}),d})()).current}function bi({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,partOfBlock:d,tableMode:u,includeDescription:A,underlyingValueHasChanged:y,autoFocus:h,context:I}){const _=l.pickOnlySomeKeys||!1,g=(l.expanded===void 0?!0:l.expanded)||h;if(!l.properties)throw Error(`You need to specify a 'properties' prop (or specify a custom field) in your map property ${e}`);let b;_?t?b=qt(l.properties,...Object.keys(t).filter(k=>k in l.properties)):b={}:b=l.properties;const p=n.jsx(n.Fragment,{children:n.jsx("div",{className:"py-1 flex flex-col space-y-2",children:Object.entries(b).filter(([k,v])=>!Rn(v)).map(([k,v],K)=>{const m={propertyKey:`${e}.${k}`,disabled:a,property:v,includeDescription:A,underlyingValueHasChanged:y,context:I,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:h&&K===0};return n.jsx("div",{children:n.jsx(pn,{...m})},`map-${e}-${K}`)})})}),w=n.jsx(Ce,{icon:ke(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!u&&!d&&n.jsx(dn,{initiallyExpanded:g,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:w,children:p}),(u||d)&&p,n.jsx(Se,{includeDescription:A,showError:c,error:i,disabled:a,property:l})]})}function pi({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,tableMode:d,includeDescription:u,underlyingValueHasChanged:A,autoFocus:y,context:h}){const I=(l.expanded===void 0?!0:l.expanded)||y;if(!l.keyValue)throw Error(`Your property ${e} needs to have the 'keyValue' prop in order to use this field binding`);const _=n.jsx(xr,{value:t,setValue:s,disabled:a,fieldName:l.name??e}),g=n.jsx(Ce,{icon:ke(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(dn,{initiallyExpanded:I,title:g,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:_}),d&&_,n.jsx(Se,{includeDescription:u,showError:c,error:i,disabled:a,property:l})]})}function xr({value:e,setValue:t,fieldName:c,disabled:i}){const[a,l]=f.useState(Object.keys(e??{}).map(u=>[Rr(),{key:u,dataType:et(e?.[u])??"string"}]));f.useEffect(()=>{const u=a.map(([_,{key:g}])=>g),A=Object.entries(e??{}).filter(([_,g])=>g!==void 0).map(([_])=>_),y=A.filter(_=>!u.includes(_)),h=u.filter(_=>!A.includes(_)),I=[...a];y.forEach(_=>{I.push([Rr(),{key:_,dataType:et(e?.[_])??"string"}])}),h.forEach(_=>{const g=I.findIndex(([b,{key:p}])=>p===_);I.splice(g,1)}),l(I)},[e]);const s=f.useRef(e??{}),d=(u,A)=>{if(!u){console.warn("No key selected for data type update");return}l(a.map(y=>y[0]===u?[y[0],{key:y[1].key,dataType:A}]:y)),t({...e??{},[a.find(y=>y[0]===u)?.[1].key??""]:sr(A)})};return n.jsxs("div",{className:"py-1 flex flex-col gap-1",children:[a.map(([u,{key:A,dataType:y}],h)=>{const I=A?e?.[A]:"",_=g=>{if(l(a.map(p=>p[0]===u?[u,{key:g??"",dataType:p[1].dataType}]:p)),typeof e=="object"&&g in e)return;const b={...e??{}};s.current&&A in s.current?b[A]=void 0:delete b[A],t({...b,[g??""]:I})};return n.jsx(_z,{rowId:u,fieldKey:A,value:e??{},onDeleteClick:()=>{const g={...e??{}};s.current&&A in s.current?g[A]=void 0:delete g[A],l(a.filter(b=>b[0]!==u)),t({...g})},onFieldKeyChange:_,setValue:t,entryValue:I,dataType:y,disabled:i,updateDataType:d},u)}),n.jsx(te,{variant:"text",size:"small",color:"primary",className:"w-full",disabled:i,startIcon:n.jsx(gn,{}),onClick:u=>{u.preventDefault(),t({...e??{},"":null}),l([...a,[Rr(),{key:"",dataType:"string"}]])},children:c?`Add to ${c}`:"Add"})]})}function _z({rowId:e,fieldKey:t,value:c,onFieldKeyChange:i,onDeleteClick:a,setValue:l,entryValue:s,dataType:d,updateDataType:u,disabled:A}){function y(I,_,g){return g==="string"||g==="number"?n.jsx(un,{placeholder:"value",value:I,type:g==="number"?"number":"text",size:"small",disabled:A||!_,onChange:b=>{if(g==="number"){const p=b.target.value?parseFloat(b.target.value):void 0;p&&isNaN(p)?l({...c,[_]:null}):p!=null?l({...c,[_]:p}):l({...c,[_]:null})}else l({...c,[_]:b.target.value})}},g):g==="date"?n.jsx(Vn,{value:I,size:"small",disabled:A||!_,onChange:b=>{l({...c,[_]:b})}}):g==="boolean"?n.jsx(On,{value:I,size:"small",position:"start",disabled:A||!_,onValueChange:b=>{l({...c,[_]:b})}}):g==="array"?n.jsx("div",{className:E(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(Pt,{value:I,newDefaultEntry:"",droppableId:e.toString(),addLabel:_?`Add to ${_}`:"Add",size:"small",disabled:A||!_,includeAddButton:!0,onValueChange:b=>{l({...c,[_]:b})},buildEntry:(b,p)=>n.jsx(yz,{index:b,id:p,value:I[b],disabled:A||!_,setValue:w=>{const k=[...I];k[b]=w,l({...c,[_]:k})}})})}):g==="map"?n.jsx("div",{className:E(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(xr,{value:I,fieldName:_,setValue:b=>{l({...c,[_]:b})}})}):n.jsx(j,{variant:"caption",children:`Data type ${g} not supported yet`})}function h(I){u(e,I)}return n.jsxs(n.Fragment,{children:[n.jsxs(j,{component:"div",className:"font-mono flex flex-row gap-1",children:[n.jsx("div",{className:"w-[200px] max-w-[25%]",children:n.jsx(un,{value:t,placeholder:"key",disabled:A||s!=null&&s!=="",size:"small",onChange:I=>{i(I.target.value)}})}),n.jsx("div",{className:"flex-grow",children:d!=="map"&&d!=="array"&&y(s,t,d)}),n.jsxs(Qn,{trigger:n.jsx(R,{size:"small",className:"h-7 w-7",children:n.jsx(yr,{})}),children:[n.jsx(me,{dense:!0,onClick:()=>h("string"),children:"string"}),n.jsx(me,{dense:!0,onClick:()=>h("number"),children:"number"}),n.jsx(me,{dense:!0,onClick:()=>h("boolean"),children:"boolean"}),n.jsx(me,{dense:!0,onClick:()=>h("date"),children:"date"}),n.jsx(me,{dense:!0,onClick:()=>h("map"),children:"map"}),n.jsx(me,{dense:!0,onClick:()=>h("array"),children:"array"})]}),n.jsx(R,{"aria-label":"delete",size:"small",onClick:a,className:"h-7 w-7",children:n.jsx(to,{size:"small"})})]},e.toString()),(d==="map"||d==="array")&&y(s,t,d)]})}function yz({id:e,index:t,value:c,setValue:i}){const[a,l]=f.useState(et(c)??"string");function s(u){l(u)}function d(u,A){return A==="string"||A==="number"?n.jsx(un,{value:u,type:A==="number"?"number":"text",size:"small",onChange:y=>{if(A==="number"){const h=y.target.value?parseFloat(y.target.value):void 0;h&&isNaN(h)?i(null):h!=null?i(h):i(null)}else i(y.target.value)}}):A==="date"?n.jsx(Vn,{value:u,size:"small",onChange:y=>{i(y)}}):A==="boolean"?n.jsx(On,{value:u,size:"small",position:"start",onValueChange:y=>{i(y)}}):A==="array"?n.jsx(j,{variant:"caption",children:"Arrays of arrays are not supported."}):A==="map"?n.jsx("div",{className:E(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(xr,{value:u,setValue:y=>{i(y)}})}):n.jsx(j,{variant:"caption",children:`Data type ${A} not supported yet`})}return n.jsxs(n.Fragment,{children:[n.jsxs(j,{component:"div",className:"font-mono flex min-h-12 flex-row gap-1 items-center",children:[n.jsx("div",{className:"flex-grow",children:a!=="map"&&d(c,a)}),n.jsxs(Qn,{trigger:n.jsx(R,{size:"small",className:"h-7 w-7",children:n.jsx(yr,{})}),children:[n.jsx(me,{dense:!0,onClick:()=>s("string"),children:"string"}),n.jsx(me,{dense:!0,onClick:()=>s("number"),children:"number"}),n.jsx(me,{dense:!0,onClick:()=>s("boolean"),children:"boolean"}),n.jsx(me,{dense:!0,onClick:()=>s("map"),children:"map"}),n.jsx(me,{dense:!0,onClick:()=>s("date"),children:"date"})]})]},e.toString()),a==="map"&&d(c,a)]})}function Rr(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function et(e){if(typeof e=="string"||e===null)return"string";if(typeof e=="number")return"number";if(typeof e=="boolean")return"boolean";if(Array.isArray(e))return"array";if(e instanceof Date)return"date";if(e instanceof je)return"reference";if(e instanceof tr)return"geopoint";if(typeof e=="object")return"map"}function wi({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:y,context:h,disabled:I}){if(!u.of)throw Error("RepeatFieldBinding misconfiguration. Property `of` not set");if(!u.resolvedProperties||!Array.isArray(u.resolvedProperties))throw Error("RepeatFieldBinding - Internal error: Expected array in 'property.resolvedProperties'");const _=u.expanded===void 0?!0:u.expanded,g=u.of,[b,p]=f.useState();Te({property:u,value:t,setValue:l});const w=(K,m)=>{const C=u.resolvedProperties[K]??g,B={propertyKey:`${e}.${K}`,disabled:I,property:C,includeDescription:A,underlyingValueHasChanged:y,context:h,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:m===b};return n.jsx(pn,{...B})},k=n.jsx(Co,{value:t,addLabel:u.name?"Add entry to "+u.name:"Add entry",name:e,setFieldValue:s,buildEntry:w,onInternalIdAdded:p,disabled:a||!!u.disabled,includeAddButton:!u.disabled,newDefaultEntry:u.of.defaultValue}),v=n.jsx(Ce,{icon:ke(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(dn,{initiallyExpanded:_,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:v,children:k}),d&&k,n.jsx(Se,{includeDescription:A,showError:i,error:c,disabled:I,property:u})]})}function ki({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:y,context:h,disabled:I}){if(!u.oneOf)throw Error("ArrayOneOfField misconfiguration. Property `oneOf` not set");const _=u.expanded===void 0?!0:u.expanded;Te({property:u,value:t,setValue:l});const[g,b]=f.useState(),p=f.useCallback((K,m)=>n.jsx(hz,{name:`${e}.${K}`,index:K,value:t[K],typeField:u.oneOf.typeField??xn,valueField:u.oneOf.valueField??wo,properties:u.oneOf.properties,autoFocus:m===g,context:h},`array_one_of_${K}`),[h,g,u.oneOf,e,t]),w=n.jsx(Ce,{icon:ke(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark"}),k=Object.keys(u.oneOf.properties)[0],v=n.jsx(Co,{value:t,name:e,addLabel:u.name?"Add entry to "+u.name:"Add entry",buildEntry:p,onInternalIdAdded:b,disabled:a||!!u.disabled,includeAddButton:!u.disabled,setFieldValue:s,newDefaultEntry:{[u.oneOf.typeField??xn]:k,[u.oneOf.valueField??wo]:ko(u.oneOf.properties[k])}});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(dn,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:_,title:w,children:v}),d&&v,n.jsx(Se,{includeDescription:A,showError:i,error:c,disabled:I,property:u})]})}function hz({name:e,index:t,value:c,typeField:i,valueField:a,properties:l,autoFocus:s,context:d}){const u=c&&c[i],[A,y]=f.useState(u??void 0),h=Fe.useFormikContext();f.useEffect(()=>{u||w(Object.keys(l)[0])},[]),f.useEffect(()=>{u!==A&&y(u)},[u]);const I=A?l[A]:void 0,_=Object.entries(l).map(([k,v])=>({id:k,label:v.name??k})),g=`${e}.${i}`,b=`${e}.${a}`,p=I?{propertyKey:b,property:I,context:d,autoFocus:s,partOfArray:!1,partOfBlock:!0,tableMode:!1}:void 0,w=k=>{const v=k?l[k]:void 0;y(k),h.setFieldTouched(g),h.setFieldValue(g,k),h.setFieldValue(b,v?ko(v):null)};return n.jsxs("div",{className:E(Ge,"bg-transparent p-4 my-4 py-8"),children:[n.jsx(Fe.FastField,{required:!0,name:g,children:k=>n.jsx(n.Fragment,{children:n.jsx(Xe,{className:"mb-2",placeholder:n.jsx(j,{variant:"caption",className:"px-4 py-2 font-medium",children:"Type"}),size:"small",position:"item-aligned",value:k.field.value!==void 0&&k.field.value!==null?k.field.value:"",renderValue:v=>n.jsx(Ee,{enumKey:v,enumValues:_,size:"small"}),onValueChange:v=>{w(v)},children:_.map(v=>n.jsx(xe,{value:String(v.id),children:n.jsx(Ee,{enumKey:v.id,enumValues:_,size:"small"})},v.id))})})}),p&&n.jsx(pn,{...p},`form_control_${e}_${A}`)]})}const gz=new zt;try{yn.use(yn.Plugins.AutoResize,{min:100}),yn.unuse(yn.Plugins.FontUnderline),yn.unuse(yn.Plugins.Clear)}catch{}function mi({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,tableMode:A,includeDescription:y,context:h}){const[I,_]=f.useState(t),g=f.useRef(t);Dn("MarkdownFieldBinding",Iz);const b=f.useDeferredValue({internalValue:I,value:t});return f.useEffect(()=>{g.current=t,_(t)},[t]),f.useEffect(()=>{b.internalValue!==g.current&&c(b.internalValue)},[b]),n.jsxs(n.Fragment,{children:[!A&&n.jsx(j,{variant:"caption",className:"flex-grow",children:n.jsx(Ce,{icon:ke(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"})}),n.jsx(yn,{value:I??"",className:E(Je,l?Re:We,"text-base"),readOnly:l,renderHTML:p=>gz.render(p),view:{menu:!0,md:!0,html:!1},onChange:({html:p,text:w})=>{_(w??null)}}),n.jsx(Se,{includeDescription:y,showError:a,error:i,disabled:l,property:u})]})}const Iz=`
68
+ `)?n.jsx("div",{children:a.map((l,s)=>n.jsxs(f.Fragment,{children:[n.jsx("span",{children:l}),s!==a.length-1&&n.jsx("br",{})]},`string_preview_${s}`))}):n.jsx(n.Fragment,{children:t})}}}function Xc({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=fn({propertyKey:e,property:c,propertyValue:t,fields:l.fields});if(Array.isArray(s?.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(s?.dataType!=="array"||!s.of||s.of.dataType!=="map")throw Error("Picked wrong preview component ArrayOfMapsPreview");const d=s.of,u=d.properties;if(!u)throw Error(`You need to specify a 'properties' prop (or specify a custom field) in your map property ${e}`);const A=t,y=d.previewProperties;if(!A)return null;let g=y;return(!g||!g.length)&&(g=Object.keys(u),i&&(g=g.slice(0,3))),n.jsx("div",{className:"table-auto text-xs",children:n.jsx("div",{children:A&&A.map((h,_)=>n.jsx("div",{className:"border-b last:border-b-0",children:g&&g.map(I=>n.jsx("div",{className:"table-cell",children:n.jsx(le,{children:n.jsx(Ce,{propertyKey:I,value:h[I],property:u[I],entity:a,size:"small"})})},`table-cell-${I}`))},`table_${h}_${_}`))})})}const ge="focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent",Or="focus:bg-opacity-70 focus:bg-gray-100 focus:dark:bg-gray-800 focus:dark:bg-opacity-60",Lr="z-30 outline-none ring-2 ring-primary ring-opacity-75 ring-offset-2 ring-offset-transparent ",Ze="bg-opacity-70 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-60 transition duration-150 ease-in-out",Qr="bg-opacity-0 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-0 transition duration-150 ease-in-out",nn="bg-opacity-100 dark:bg-opacity-90",Ge="hover:bg-opacity-90 dark:hover:bg-opacity-90",de="border-gray-100 dark:border-gray-800 dark:border-opacity-80",ze="bg-white rounded-md dark:bg-gray-950 border dark:border-gray-800 dark:border-opacity-90 border-gray-100",xc="bg-white rounded-md dark:bg-gray-950 dark:border-gray-800 dark:border-opacity-50 transition duration-200 ease-in-out m-1 -p-1 border border-transparent",Rc="hover:bg-blue-100 dark:hover:bg-blue-900 hover:bg-opacity-20 dark:hover:bg-opacity-20 hover:ring-2 cursor-pointer",HG="bg-blue-100 dark:bg-blue-900 bg-opacity-30 dark:bg-opacity-10 ring-1 ring-primary ring-opacity-75";function Vr({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=fn({propertyKey:e,property:c,propertyValue:t,fields:l.fields});if(!s.of)throw Error(`You need to specify an 'of' prop (or specify a custom field) in your array property ${e}`);if(s.dataType!=="array")throw Error("Picked wrong preview component ArrayPreview");const d=t;if(!d)return null;const u=a==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-col",children:d&&d.map((A,y)=>{const g=s.resolvedProperties[y]??s.resolvedProperties[y]??(Array.isArray(s.of)?s.of[y]:s.of);return g?n.jsx(f.Fragment,{children:n.jsx("div",{className:E(de,"m-1 border-b last:border-b-0"),children:n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,entity:i,value:A,property:g,size:u})})})},"preview_array_"+y):null})})}const on=ae.memo(function(t){const c=t.reference;return c instanceof qe?n.jsx(YG,{...t}):(console.warn("Reference preview received value of type",typeof c),n.jsx(To,{onClick:t.onClick,size:t.size,children:n.jsx(pe,{error:"Unexpected value. Click to edit",tooltip:JSON.stringify(c)})}))},UG);function UG(e,t){return e.disabled===t.disabled&&e.size===t.size&&e.onHover===t.onHover&&e.reference?.id===t.reference?.id&&e.reference?.path===t.reference?.path&&e.allowEntityNavigation===t.allowEntityNavigation}function YG({disabled:e,reference:t,previewProperties:c,size:i,onHover:a,onClick:l,allowEntityNavigation:s=!0}){const d=ee(),A=fe().getCollection(t.path);if(!A){if(d.components?.missingReference)return n.jsx(d.components.missingReference,{path:t.path});throw Error(`Couldn't find the corresponding collection view for the path: ${t.path}`)}return n.jsx($G,{reference:t,collection:A,previewProperties:c,size:i,disabled:e,allowEntityNavigation:s,onClick:l,onHover:a})}function $G({reference:e,collection:t,previewProperties:c,size:i,disabled:a,allowEntityNavigation:l,onClick:s,onHover:d}){const u=ee(),A=Sn(),{entity:y,dataLoading:g,dataLoadingError:h}=Br({path:e.path,entityId:e.id,collection:t,useCache:!0});y&&ei.set(e.pathWithId,y);const _=y??ei.get(e.pathWithId),I=f.useMemo(()=>Me({collection:t,path:e.path,values:_?.values,fields:u.fields}),[t]),b=f.useMemo(()=>Vi(I,u.fields,c,i==="small"||i==="medium"?3:1),[c,I,i]);let p;return I?(e?_&&!_.values?p=n.jsx(pe,{error:"Reference does not exist",tooltip:e.path}):p=n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"flex flex-col flex-grow w-full max-w-[calc(100%-52px)] m-1",children:[i!=="tiny"&&(e?n.jsx("div",{className:`${i!=="medium"?"block whitespace-nowrap overflow-hidden truncate":""}`,children:n.jsx(j,{variant:"caption",className:"font-mono",children:e.id})}):n.jsx(Qe,{})),b&&b.map(w=>{const k=I.properties[w];return k?n.jsx("div",{className:b.length>1?"my-0.5":"my-0",children:_?n.jsx(Ce,{propertyKey:w,value:an(_.values,w),property:k,entity:_,size:"tiny"}):n.jsx(Nn,{property:k,size:"tiny"})},"ref_prev_"+w):null})]}),n.jsx("div",{className:`my-${i==="tiny"?2:4}`,children:!a&&_&&l&&n.jsx(_e,{title:`See details for ${_.id}`,children:n.jsx(x,{color:"inherit",size:"small",onClick:w=>{w.stopPropagation(),u.onAnalyticsEvent?.("entity_click_from_reference",{path:_.path,entityId:_.id}),A.open({entityId:_.id,path:_.path,collection:I,updateUrl:!0})},children:n.jsx(Do,{size:"small"})})})})]}):p=n.jsx(pe,{error:"Reference not set"}),n.jsx(To,{onClick:a?void 0:s,onHover:a?void 0:d,size:i,children:p})):n.jsx(pe,{error:"Could not find collection with id "+I})}function To({children:e,onHover:t,size:c,onClick:i}){return n.jsx(j,{variant:"label",className:E("bg-opacity-70 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-60","w-full","flex","rounded-md","overflow-hidden",t?"hover:bg-opacity-90 dark:hover:bg-opacity-90":"",c==="medium"?"p-2":"p-1",c==="tiny"?"items-center":"","transition-colors duration-300 ease-in-out ",i?"cursor-pointer":""),style:{tabindex:0},onClick:a=>{i&&(a.preventDefault(),i(a))},children:e})}const ei=new Map;function ni({propertyKey:e,value:t,property:c,size:i}){const a=ee(),l=fn({propertyKey:e,property:c,propertyValue:t,fields:a.fields});if(Array.isArray(l?.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(l?.dataType!=="array"||!l.of||l.of.dataType!=="reference")throw Error("Picked wrong preview component ArrayOfReferencesPreview");const s=i==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-col w-full",children:t&&t.map((d,u)=>{const A=l.of;return n.jsx("div",{className:"mt-1 mb-1 w-full",children:n.jsx(on,{disabled:!A.path,previewProperties:A.previewProperties,size:s,reference:d})},`preview_array_ref_${e}_${u}`)})})}function oi({propertyKey:e,entity:t,value:c,property:i,size:a}){const l=ee(),s=fn({propertyKey:e,property:i,propertyValue:c,fields:l.fields});if(Array.isArray(s.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(s.dataType!=="array"||!s.of||s.of.dataType!=="string")throw Error("Picked wrong preview component ArrayOfStorageComponentsPreview");const d=a==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-wrap gap-2",children:c&&c.map((u,A)=>n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,value:u,entity:t,property:s.of,size:d})},`preview_array_storage_${e}_${A}`))})}function Wr({name:e,value:t,enumValues:c,size:i}){return n.jsx("div",{className:"flex flex-wrap gap-1.5",children:t&&t.map((a,l)=>n.jsx(le,{children:n.jsx(Se,{enumKey:a,enumValues:c,size:i!=="medium"?"small":"medium"})},`preview_array_ref_${e}_${l}`))})}function Gr({propertyKey:e,value:t,property:c,size:i}){if(c.dataType!=="array")throw Error("Picked wrong preview component ArrayEnumPreview");const a=c.of;if(!a.enumValues)throw Error("Picked wrong preview component ArrayEnumPreview");return t?n.jsx(Wr,{name:e,value:t,enumValues:a.enumValues,size:i}):null}function ri({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=fn({propertyKey:e,property:c,propertyValue:t,fields:l.fields});if(Array.isArray(s.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(!s.of||s.dataType!=="array"||s.of.dataType!=="string")throw Error("Picked wrong preview component ArrayOfStringsPreview");if(t&&!Array.isArray(t))return n.jsx("div",{children:`Unexpected value: ${t}`});const d=s.of;return n.jsx("div",{className:"flex flex-col gap-2",children:t&&t.map((u,A)=>n.jsx("div",{children:n.jsx(le,{children:n.jsx(Mr,{propertyKey:e,property:d,value:u,entity:i,size:a})})},`preview_array_strings_${e}_${A}`))})}function ti({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=fn({propertyKey:e,property:c,propertyValue:t,fields:l.fields});if(s?.dataType!=="array")throw Error("Picked wrong preview component ArrayPreview");if(!s?.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${e}`);const d=t;if(!d)return null;const u=i==="medium"?"small":"tiny",A=s.oneOf.typeField??Rn,y=s.oneOf.valueField??mo,g=s.oneOf.properties;return n.jsx("div",{className:"flex flex-col",children:d&&d.map((h,_)=>n.jsx(f.Fragment,{children:n.jsx("div",{className:E(de,"m-1 border-b last:border-b-0"),children:n.jsx(le,{children:h&&n.jsx(Ce,{propertyKey:e,value:h[y],entity:a,property:s.resolvedProperties[_]??g[h[A]],size:u})})})},"preview_array_"+h+"_"+_))})}function ci({propertyKey:e,value:t,property:c,entity:i,size:a}){if(c.dataType!=="map")throw Error("Picked wrong preview component MapPropertyPreview");const l=c;if(e==="result.suggestions"&&console.log({propertyKey:e,property:c,value:t}),!l.properties||Object.keys(l.properties??{}).length===0)return n.jsx(zr,{value:t});if(!t)return null;const s=Object.keys(l.properties);return a!=="medium"?n.jsx("div",{className:"w-full flex flex-col space-y-1 md:space-y-2",children:s.map((d,u)=>n.jsx("div",{children:n.jsx(le,{children:n.jsx(Ce,{propertyKey:d,value:t[d],property:l.properties[d],entity:i,size:a})},"map_preview_"+l.name+d+u)},`map_${d}`))}):n.jsx("div",{className:"flex flex-col gap-1 w-full",children:s&&s.map((d,u)=>{const A=l.properties[d];return n.jsxs("div",{className:E(de,"last:border-b-0 border-b"),children:[n.jsxs("div",{className:"flex flex-row pt-0.5 pb-0.5 gap-2",children:[n.jsx("div",{className:"min-w-[140px] w-[25%] py-1",children:n.jsx(j,{variant:"caption",className:"font-mono break-words",color:"secondary",children:A.name})}),n.jsx("div",{className:"flex-grow max-w-[75%]",children:n.jsx(le,{children:!(A.dataType==="map"||A==="array")&&n.jsx(Ce,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})})]}),(A.dataType==="map"||A==="array")&&n.jsx("div",{className:E(de,"border-l pl-4 ml-2 my-2"),children:n.jsx(Ce,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})]},`map_preview_table_${d}}`)})})}function zr({value:e}){return typeof e!="object"?null:n.jsx("div",{className:"flex flex-col gap-1 w-full",children:Object.entries(e).map(([t,c])=>n.jsxs("div",{className:E(de,"last:border-b-0 border-b"),children:[n.jsxs("div",{className:"flex flex-row pt-0.5 pb-0.5 gap-2",children:[n.jsx("div",{className:"min-w-[140px] w-[25%] py-1",children:n.jsx(j,{variant:"caption",className:"font-mono break-words",color:"secondary",children:t})},`table-cell-title-${t}-${t}`),n.jsx("div",{className:"flex-grow max-w-[75%]",children:typeof c!="object"&&n.jsx(j,{children:n.jsx(le,{children:c&&c.toString()})})})]}),typeof c=="object"&&n.jsx("div",{className:E(de,"border-l pl-4"),children:n.jsx(zr,{value:c})})]},`map_preview_table_${t}}`))})}const ii="MMMM dd, yyyy, HH:mm:ss";function ai({date:e}){const t=ee(),c=t?.locale?qt[t?.locale]:void 0,i=t?.dateTimeFormat??ii,a=e?Ma(e,i,{locale:c}):"";return n.jsx(n.Fragment,{children:a})}const jG={large:"w-6 h-6 rounded flex items-center justify-center",medium:"w-5 h-5 rounded flex items-center justify-center",small:"w-4 h-4 rounded flex items-center justify-center"},qG={medium:"w-10 h-10",small:"w-8 h-8",large:"w-12 h-12"},Hr=({checked:e,indeterminate:t=!1,disabled:c,size:i="medium",onCheckedChange:a})=>{const l=t?!1:e;return n.jsx("div",{className:E(qG[i],"inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",a?"rounded-full hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75":"",a?"cursor-pointer":"cursor-default"),children:n.jsx(jt.Root,{asChild:!0,checked:l,disabled:c,onCheckedChange:c?void 0:a,children:n.jsx("div",{className:E("border-2 relative transition-colors ease-in-out duration-150",jG[i],c?"bg-gray-400 dark:bg-gray-600":l?"bg-primary":"bg-white dark:bg-gray-900",l?"text-gray-100 dark:text-gray-900":"",c||l?"border-transparent":"border-gray-800 dark:border-gray-200"),children:n.jsx(jt.Indicator,{asChild:!0,children:t?n.jsx("div",{className:"w-full h-[1px] bg-currentColor"}):n.jsx(r,{iconKey:"check",size:20,className:"absolute"})})})})})};function li({value:e}){return n.jsx(Hr,{checked:e})}function si({value:e,property:t,size:c}){if(t.enumValues){const i=e,a=ln(t.enumValues);return a?n.jsx(Se,{enumKey:i,enumValues:a,size:c!=="medium"?"small":"medium"}):n.jsx(n.Fragment,{children:e})}else return n.jsx(n.Fragment,{children:e})}function Ce(e){const t=ee();let c;const{property:i,propertyKey:a,value:l,size:s,height:d,width:u,entity:A}=e,y=Ne({propertyKey:a,propertyOrBuilder:i,propertyValue:l,fields:t.fields});if(l===void 0||y===null)c=n.jsx(Fn,{});else if(y.Preview)c=f.createElement(y.Preview,{propertyKey:a,value:l,property:y,size:s,height:d,width:u,entity:A,customProps:y.customProps});else if(l===null)c=n.jsx(Fn,{});else if(y.dataType==="string"){const g=y;typeof l=="string"?g.url?typeof g.url=="boolean"?c=n.jsx(ao,{size:e.size,url:l}):typeof g.url=="string"&&(c=n.jsx(ao,{size:e.size,url:l,previewType:g.url})):g.storage?c=n.jsx(qc,{storeUrl:y.storage?.storeUrl??!1,size:e.size,storagePathOrDownloadUrl:l}):g.markdown?c=n.jsx(lo,{source:l}):c=n.jsx(Mr,{...e,property:g,value:l}):c=wn(a,y.dataType,l)}else if(y.dataType==="array")if(l instanceof Array){const g=y;if(!g.of&&!g.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${a}`);g.of?Array.isArray(g.of)?c=n.jsx(Vr,{...e,value:l,property:y}):g.of.dataType==="map"?c=n.jsx(Xc,{propertyKey:a,property:y,value:l,entity:A,size:s}):g.of.dataType==="reference"?c=n.jsx(ni,{...e,value:l,property:y}):g.of.dataType==="string"?g.of.enumValues?c=n.jsx(Gr,{...e,value:l,property:y}):g.of.storage?c=n.jsx(oi,{...e,value:l,property:y}):c=n.jsx(ri,{...e,value:l,property:y}):g.of.dataType==="number"&&g.of.enumValues?c=n.jsx(Gr,{...e,value:l,property:y}):c=n.jsx(Vr,{...e,value:l,property:y}):g.oneOf&&(c=n.jsx(ti,{...e,value:l,property:y}))}else c=wn(a,y.dataType,l);else y.dataType==="map"?typeof l=="object"?c=n.jsx(ci,{...e,property:y}):c=wn(a,y.dataType,l):y.dataType==="date"?l instanceof Date?c=n.jsx(ai,{date:l}):c=wn(a,y.dataType,l):y.dataType==="reference"?typeof y.path=="string"?l instanceof qe?c=n.jsx(on,{disabled:!y.path,previewProperties:y.previewProperties,size:e.size,onClick:e.onClick,reference:l}):c=wn(a,y.dataType,l):c=n.jsx(Fn,{}):y.dataType==="boolean"?typeof l=="boolean"?c=n.jsx(li,{value:l}):c=wn(a,y.dataType,l):y.dataType==="number"?typeof l=="number"?c=n.jsx(si,{...e,value:l,property:y}):c=wn(a,y.dataType,l):c=JSON.stringify(l);return c??n.jsx(Fn,{})}function wn(e,t,c){return console.warn(`Unexpected value for property ${e}, of type ${t}`,c),n.jsx(pe,{title:"Unexpected value",error:`${JSON.stringify(c)}`})}const JG=ae.memo(function({builder:t}){const[c,i]=f.useState(!0),[a,l]=f.useState(null);return f.useEffect(()=>{let s=!1;return t.then(d=>{s||(i(!1),l(d))}).catch(d=>{i(!1),console.error(d)}),()=>{s=!0}},[t]),c?n.jsx(Qe,{}):n.jsx(ae.Fragment,{children:a})}),ZG=new $t({html:!0}),lo=f.memo(function({source:t,className:c}){const i=f.useMemo(()=>ZG.render(typeof t=="string"?t:""),[t]);return n.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:i}})},se);function Ur({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,includeDescription:A}){const y=u.enumValues;Te({property:u,value:t,setValue:c});const g=f.useCallback(h=>{h.stopPropagation(),h.preventDefault(),c(null)},[c]);return n.jsxs(n.Fragment,{children:[n.jsx(xe,{value:t?t.toString():"",disabled:l,position:"item-aligned",inputClassName:E("w-full"),label:n.jsx(ve,{icon:we(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),endAdornment:u.clearable&&n.jsx(x,{onClick:g,children:n.jsx(sn,{})}),onValueChange:h=>{const _=h?u.dataType==="number"?parseFloat(h):h:null;return c(_)},renderValue:h=>n.jsx(Se,{enumKey:h,enumValues:y,size:"medium"}),children:y&&y.map(h=>n.jsx(Re,{value:String(h.id),children:n.jsx(Se,{enumKey:String(h.id),enumValues:y,size:"medium"})},h.id))}),n.jsx(Ke,{includeDescription:A,showError:a,error:i,disabled:l,property:u})]})}function di({children:e,error:t}){return n.jsx("div",{className:E("text-sm font-medium ml-3.5 mb-1",t?"text-red-500 dark:text-red-600":"text-gray-500 dark:text-gray-300"),children:e})}function Mo(e,t,c=!0){f.useEffect(()=>{if(!c)return;function i(a){ui(a.target)||e.current&&!e.current.contains(a.target)&&t()}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[e,c,t])}function ui(e){return e instanceof HTMLElement?e.getAttribute("role")==="presentation"?!0:ui(e.parentNode):!1}const Yr=ae.createContext({});function $r({value:e,open:t,onMultiValueChange:c,size:i="medium",label:a,disabled:l,renderValue:s,renderValues:d,includeFocusOutline:u=!0,containerClassName:A,className:y,children:g,error:h}){const _=ae.useRef(null),I=ae.useRef(null),b=ae.useRef(null);Mo(b,()=>w(!1));const[p,w]=ae.useState(!1);f.useEffect(()=>{w(t??!1)},[t]);const k=ae.useCallback(B=>{Array.isArray(e)&&e.includes(B)?c?.(e.filter(N=>N!==B)):c?.([...e??[],B])},[e,c]),[m,K]=ae.useState(""),[v,C]=ae.useState(null),S=ae.useCallback(B=>{const N=I.current;if(N){if((B.key==="Delete"||B.key==="Backspace")&&N.value===""){const M=[...e??[]];M.pop(),c?.(M)}B.key==="Escape"&&(N.blur(),w(!1),B.stopPropagation())}},[c,e]),P=ae.useCallback(()=>{C(_.current?.getBoundingClientRect()??null),w(!0)},[]),D=v??_.current?.getBoundingClientRect(),T=window.innerHeight-(D?.top??0)-(D?.height??0)-16;return n.jsxs(n.Fragment,{children:[typeof a=="string"?n.jsx(di,{error:h,children:a}):a,n.jsxs(bo.Command,{onKeyDown:S,onClick:()=>{I.current?.focus(),P()},className:E("relative overflow-visible bg-transparent",A),children:[n.jsxs("div",{ref:_,className:E("flex flex-row",i==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",Ze,l?nn:Ge,"relative flex items-center","p-4",h?"text-red-500 dark:text-red-600":"focus:text-text-primary dark:focus:text-text-primary-dark",h?"border border-red-500 dark:border-red-600":"",u?ge:"",y),children:[n.jsxs("div",{className:E("flex-grow flex gap-1.5 flex-wrap items-center"),children:[s&&(e??[]).map((B,N)=>s(B,N)),d&&d(e??[]),n.jsx(bo.Command.Input,{ref:I,value:m,onValueChange:K,onFocus:P,className:"ml-2 bg-transparent outline-none flex-1 h-full w-full "})]}),n.jsx("div",{className:"px-2 h-full flex items-center",children:n.jsx(Po,{size:"small",className:E("transition ",p?"rotate-180":"")})})]}),n.jsx($e.Root,{open:p,onOpenChange:w,children:n.jsx($e.Portal,{children:n.jsx(Yr.Provider,{value:{fieldValue:e,setInputValue:K,onValueChangeInternal:k},children:n.jsx("div",{ref:b,className:"z-50 absolute overflow-auto outline-none",style:{pointerEvents:p?"auto":"none",top:(D?.top??0)+(D?.height??0),left:D?.left,width:D?.width,maxHeight:T},children:n.jsx(bo.Command.Group,{className:"mt-2 text-gray-900 dark:text-white animate-in z-50 border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-lg flex flex-col outline-none w-full",children:g})})})})})]})]})}function jr({children:e,value:t,className:c}){const i=ae.useContext(Yr);if(!i)throw new Error("MultiSelectItem must be used inside a MultiSelect");const{fieldValue:a,setInputValue:l,onValueChangeInternal:s}=i;return n.jsx(bo.Command.Item,{onMouseDown:d=>{d.preventDefault(),d.stopPropagation()},onSelect:d=>{l(""),s(t)},className:E((a??[]).includes(t)?"bg-gray-200 dark:bg-gray-950":"","cursor-pointer","m-1","ring-offset-transparent","p-2 rounded aria-[selected=true]:outline-none aria-[selected=true]:ring-2 aria-[selected=true]:ring-primary aria-[selected=true]:ring-opacity-75 aria-[selected=true]:ring-offset-2","aria-[selected=true]:bg-gray-100 aria-[selected=true]:dark:bg-gray-900","cursor-pointer p-2 rounded aria-[selected=true]:bg-gray-100 aria-[selected=true]:dark:bg-gray-900",c),children:e})}function qr({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,property:s,includeDescription:d,autoFocus:u}){const A=s.of;if(!A)throw Error("Using wrong component ArrayEnumSelect");if(Array.isArray(A))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(A.dataType!=="string"&&A.dataType!=="number")throw Error("Field misconfiguration: array field of type string or number");const y=ln(A.enumValues);if(!y)throw console.error(s),Error("Field misconfiguration: array field of type string or number needs to have enumValues");Te({property:s,value:t,setValue:c});const g=!!t&&Array.isArray(t),h=f.useCallback((_,I)=>{const b=_!==void 0?So(y,_):void 0;return n.jsxs(Se,{enumKey:_,enumValues:y,size:"medium",children:[b?.label??_,!I&&n.jsx("button",{className:"ml-1 ring-offset-background rounded-full outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",onMouseDown:p=>{p.preventDefault(),p.stopPropagation()},onClick:p=>{p.preventDefault(),p.stopPropagation(),c(t.filter(w=>w!==_))},children:n.jsx(hr,{size:"smallest"})})]},_)},[y,c,t]);return n.jsxs("div",{className:"mt-0.5 ml-0.5 mt-2",children:[n.jsx($r,{value:g?t.map(_=>_.toString()):[],disabled:l,label:n.jsx(ve,{icon:we(s,"small"),required:s.validation?.required,title:s.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),renderValue:f.useCallback(_=>h(_,!1),[h]),onMultiValueChange:_=>{let I;return A&&A?.dataType==="number"?I=_?_.map(b=>parseFloat(b)):[]:I=_,c(I)},children:y.map(_=>String(_.id)).map(_=>n.jsx(jr,{value:_,children:h(_,!0)},_))}),n.jsx(Ke,{includeDescription:d,showError:a,error:i,disabled:l,property:s})]})}function fi({propertyKey:e,value:t,error:c,showError:i,disabled:a,isSubmitting:l,tableMode:s,property:d,includeDescription:u,setValue:A,setFieldValue:y}){const g=d.of;if(g.dataType!=="reference")throw Error("ArrayOfReferencesField expected a property containing references");const h=d.expanded===void 0?!0:d.expanded,[_,I]=f.useState(!1),b=t&&Array.isArray(t)?t.map(P=>P.id):[];Te({property:d,value:t,setValue:A});const p=fe(),w=f.useMemo(()=>g.path?p.getCollection(g.path):void 0,[g.path]);if(!w)throw Error(`Couldn't find the corresponding collection for the path: ${g.path}`);const k=f.useCallback(P=>{A(P.map(D=>In(D)))},[A]),m=io({multiselect:!0,path:g.path,collection:w,onMultipleEntitiesSelected:k,selectedEntityIds:b,forceFilter:g.forceFilter}),K=f.useCallback(P=>{P.preventDefault(),m.open()},[m]),v=f.useCallback((P,D)=>{const T=t&&t.length>P?t[P]:void 0;return T?n.jsx("div",{onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>I(!1),children:n.jsx(on,{disabled:!g.path,previewProperties:g.previewProperties,size:"medium",onClick:K,reference:T,onHover:_})}):n.jsx("div",{children:"Internal ERROR"})},[g.path,g.previewProperties,_,t]),C=n.jsx(ve,{icon:we(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark"}),S=n.jsxs(n.Fragment,{children:[!w&&n.jsx(pe,{error:"The specified collection does not exist. Check console"}),w&&n.jsxs(n.Fragment,{children:[n.jsx(Bo,{value:t,addLabel:d.name?"Add reference to "+d.name:"Add reference",name:e,buildEntry:v,disabled:l,setFieldValue:y,newDefaultEntry:d.of.defaultValue}),n.jsxs(ce,{className:"my-4 justify-center text-left",variant:"outlined",color:"primary",disabled:l,onClick:K,children:["Edit ",d.name]})]})]});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(An,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:h,title:C,children:S}),s&&S,n.jsx(Ke,{includeDescription:u,showError:i,error:c,disabled:a,property:d})]})}const XG=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,xG=e=>{const t=e.match(XG);return t?t.map(c=>c.toLowerCase()).join("-"):""},RG=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,ez=e=>{const t=e.match(RG);return t?t.map(c=>c.toLowerCase()).join("_"):""};function Tn(e=5){return Math.random().toString(36).slice(2,2+e)}function nz(){return Math.floor(Math.random()*16777215).toString(16)}function Oo(e,t="_",c=!0){if(!e)return"";const i="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;-",a=`aaaaaeeeeeiiiiooooouuuunc${t}${t}${t}${t}${t}${t}${t}`;for(let l=0,s=i.length;l<s;l++)e=e.replace(new RegExp(i.charAt(l),"g"),a.charAt(l));return e=e.toString().replace(/\s+/g,t).replace(/&/g,t).replace(/[^\w\\-]+/g,"").replace(new RegExp("\\"+t+"\\"+t+"+","g"),t).trim().replace(/^\s+|\s+$/g,""),c?e.toLowerCase():e}async function oz(e,t,c,i,a,l,s,d){let u;return typeof e=="function"?(u=await e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),u||console.warn("Storage callback returned empty result. Using default name value")):u=Ai(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function rz(e,t,c,i,a,l,s,d){let u;return typeof e=="function"?(u=e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),u||console.warn("Storage callback returned empty result. Using default name value")):u=Ai(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function Ai(e,t,c,i,a){const l=e.name.split(".").pop();let s=t.replace("{entityId}",c).replace("{propertyKey}",i).replace("{rand}",Tn()).replace("{file}",e.name).replace("{file.type}",e.type).replace("{path}",a);if(l){s=s.replace("{file.ext}",l);const d=e.name.replace(`.${l}`,"");s=s.replace("{file.name}",d)}return s||(s=Tn()+"_"+e.name),s}function _i({entityId:e,entityValues:t,path:c,value:i,property:a,propertyKey:l,storageSource:s,disabled:d,onChange:u}){const A=a.dataType==="string"?a.storage:a.dataType==="array"&&a.of.dataType==="string"?a.of.storage:void 0,y=a.dataType==="array";if(!A)throw Error("Storage meta must be specified");const g=A?.metadata,h=y?"small":"medium",_=A?.imageCompression,I=(y?i??[]:i?[i]:[]).map(S=>({id:Jr(),storagePathOrDownloadUrl:S,metadata:g,size:h})),[b,p]=f.useState(i),[w,k]=f.useState(I);f.useEffect(()=>{se(b,i)||(p(i),k(I))},[I,i,b]);const m=f.useCallback(async S=>{if(A.fileName){const P=await oz(A.fileName,A,t,e,c,a,S,l);if(!P||P.length===0)throw Error("You need to return a valid filename");return P}return Tn()+"_"+S.name},[e,t,c,a,l,A]),K=f.useCallback(S=>rz(A.storagePath,A,t,e,c,a,S,l)??"/",[e,t,c,a,l,A]),v=f.useCallback(async(S,P,D)=>{console.debug("onFileUploadComplete",S,P);let T=S;if(A.storeUrl&&(T=(await s.getDownloadURL(S)).url),A.postProcess&&T&&(T=await A.postProcess(T)),!T){console.warn("uploadPathOrDownloadUrl is null");return}let B;P.storagePathOrDownloadUrl=T,P.metadata=D,B=[...w],B=yi(B),k(B);const N=B.filter(M=>!!M.storagePathOrDownloadUrl).map(M=>M.storagePathOrDownloadUrl);u(y?N:N?N[0]:null)},[w,y,u,A,s]),C=f.useCallback(async S=>{if(!S.length||d)return;let P;if(y)P=[...w,...await Promise.all(S.map(async D=>(_&&Zr(D)&&(D=await hi(D,_)),{id:Jr(),file:D,fileName:await m(D),metadata:g,size:h})))];else{let D=S[0];_&&Zr(D)&&(D=await hi(D,_)),P=[{id:Jr(),file:D,fileName:await m(D),metadata:g,size:h}]}P=yi(P),k(P)},[d,m,w,g,y,h]);return{internalValue:w,setInternalValue:k,storage:A,fileNameBuilder:m,storagePathBuilder:K,onFileUploadComplete:v,onFilesAdded:C,multipleFilesSupported:y}}function yi(e){return e.filter((t,c)=>(e.map(i=>i.storagePathOrDownloadUrl).indexOf(t.storagePathOrDownloadUrl)===c||!t.storagePathOrDownloadUrl)&&(e.map(i=>i.file).indexOf(t.file)===c||!t.file))}function Jr(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const gi={"image/jpeg":"JPEG","image/png":"PNG","image/webp":"WEBP"},Zr=e=>gi[e.type]?gi[e.type]:null,tz=100,hi=(e,t)=>new Promise(c=>{const i=t.quality===void 0?tz:t.quality,a=i>=0&&i<=100?i:100,l=Zr(e);if(!l)throw Error("resizeAndCompressImage: Unsupported image format");La.imageFileResizer(e,t.maxWidth||Number.MAX_VALUE,t.maxHeight||Number.MAX_VALUE,l,a,0,s=>c(s),"file")});function Ii({storagePath:e,entry:t,metadata:c,onFileUploadComplete:i,imageSize:a,simple:l}){const s=Bn(),d=dn(),[u,A]=f.useState(),[y,g]=f.useState(!1),h=f.useRef(!1),_=f.useRef(!1),I=f.useCallback((b,p)=>{_.current||(_.current=!0,A(void 0),g(!0),s.uploadFile({file:b,fileName:p,path:e,metadata:c}).then(async({path:w})=>{console.debug("Upload successful"),await i(w,t,c),h.current&&g(!1)}).catch(w=>{console.warn("Upload error",w),h.current&&(A(w),g(!1),d.open({type:"error",message:"Error uploading file: "+w.message}))}).finally(()=>{_.current=!1}))},[t,c,i,s,e]);return f.useEffect(()=>(h.current=!0,t.file&&I(t.file,t.fileName),()=>{h.current=!1}),[t.file,t.fileName,I]),l?n.jsx("div",{className:`m-4 w-${a} h-${a}`,children:y&&n.jsx(Qe,{className:`w-${a} h-${a}`})}):n.jsxs("div",{className:E(ze,"relative m-4 border-box flex items-center justify-center",`min-w-[${a}px] min-h-[${a}px]`),children:[y&&n.jsx(Qe,{className:"w-full h-full"}),u&&n.jsx(pe,{title:"Error uploading file",error:u})]})}function bi({name:e,property:t,value:c,entity:i,onRemove:a,disabled:l,size:s}){return n.jsxs("div",{className:E(ze,"relative m-4 border-box flex items-center justify-center",s==="medium"?"min-w-[220px] min-h-[220px] max-w-[220px]":"min-w-[118px] min-h-[118px] max-w-[118px]"),children:[!l&&n.jsx("div",{className:"absolute rounded-full -top-2 -right-2 z-10 bg-white dark:bg-gray-900",children:n.jsx(_e,{title:"Remove",children:n.jsx(x,{size:"small",onClick:d=>{d.stopPropagation(),a(c)},children:n.jsx(to,{size:"small"})})})}),c&&n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,value:c,property:t,entity:i,size:s})})]})}const cz="box-border relative pt-[2px] items-center border border-transparent min-h-[254px] outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",iz="border-dotted-gray",az="hover:bg-field-hover dark:hover:bg-field-hover-dark",lz="pt-0 border-2 border-solid",sz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500",dz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500";function Xr({propertyKey:e,value:t,setValue:c,error:i,showError:a,autoFocus:l,tableMode:s,property:d,includeDescription:u,context:A,isSubmitting:y}){if(!A.entityId)throw new Error("StorageUploadFieldBinding: Entity id is null");const g=Bn(),h=Cn(d)||!!d.disabled||y,{internalValue:_,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=_i({entityValues:A.values,entityId:A.entityId,path:A.path,property:d,propertyKey:e,value:t,storageSource:g,disabled:h,onChange:c});Te({property:d,value:t,setValue:c});const K={id:A.entityId,values:A.values,path:A.path};return n.jsxs(n.Fragment,{children:[!s&&n.jsx(ve,{icon:we(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx(fz,{value:_,name:e,disabled:h,autoFocus:l,property:d,onChange:c,setInternalValue:I,onFilesAdded:b,entity:K,onFileUploadComplete:w,storagePathBuilder:k,storage:p,multipleFilesSupported:m}),n.jsx(Ke,{includeDescription:u,showError:a,error:i,disabled:h,property:d})]})}function uz({storage:e,disabled:t,isDraggingOver:c,onFilesAdded:i,multipleFilesSupported:a,droppableProvided:l,autoFocus:s,internalValue:d,property:u,entity:A,onClear:y,metadata:g,storagePathBuilder:h,onFileUploadComplete:_,size:I,name:b,helpText:p}){const w=dn(),{getRootProps:k,getInputProps:m,isDragActive:K,isDragAccept:v,isDragReject:C}=nr.useDropzone({accept:e.acceptedFiles?e.acceptedFiles.map(S=>({[S]:[]})).reduce((S,P)=>({...S,...P}),{}):void 0,disabled:t||c,noDragEventsBubbling:!0,maxSize:e.maxSize,onDrop:i,onDropRejected:(S,P)=>{for(const D of S)for(const T of D.errors)w.open({type:"error",message:`Error uploading file: File is larger than ${e.maxSize} bytes`})}});return n.jsxs("div",{...k(),className:E(Ze,t?nn:Ge,cz,a&&d.length?"":"flex",ge,{[az]:!K,[lz]:K,[dz]:C,[sz]:v,[iz]:t}),children:[n.jsxs("div",{...l.droppableProps,ref:l.innerRef,className:E("flex items-center p-1 no-scrollbar",a&&d.length?"overflow-auto":"",a&&d.length?"min-h-[180px]":"min-h-[250px]"),children:[n.jsx("input",{autoFocus:s,...m()}),d.map((S,P)=>{let D;return S.storagePathOrDownloadUrl?D=n.jsx(bi,{name:`storage_preview_${S.storagePathOrDownloadUrl}`,property:u,disabled:t,entity:A,value:S.storagePathOrDownloadUrl,onRemove:y,size:S.size}):S.file&&(D=n.jsx(Ii,{entry:S,metadata:g,storagePath:h(S.file),onFileUploadComplete:_,imageSize:I==="medium"?220:118,simple:!1})),n.jsx(Kn.Draggable,{draggableId:`array_field_${b}_${S.id}`,index:P,children:(T,B)=>n.jsx("div",{tabIndex:-1,ref:T.innerRef,...T.draggableProps,...T.dragHandleProps,className:E(ge,"rounded-md"),style:{...T.draggableProps.style},children:D})},`array_field_${b}_${S.id}`)}),l.placeholder]}),n.jsx("div",{className:"flex-grow min-h-[38px] box-border m-2 text-center",children:n.jsx(j,{align:"center",variant:"label",children:p})})]})}function fz({property:e,name:t,value:c,setInternalValue:i,onChange:a,multipleFilesSupported:l,onFileUploadComplete:s,disabled:d,onFilesAdded:u,autoFocus:A,storage:y,entity:g,storagePathBuilder:h}){if(l){const K=e;if(K.of){if(Array.isArray(K.of)||K.of.dataType!=="string")throw Error("Storage field using array must be of data type string")}else throw Error("Storage field using array must be of data type string")}const _=y?.metadata,I=l?"small":"medium",b=f.useCallback((K,v)=>{if(!l)return;const C=[...c],S=C[K];C.splice(K,1),C.splice(v,0,S),i(C);const P=C.filter(D=>!!D.storagePathOrDownloadUrl).map(D=>D.storagePathOrDownloadUrl);a(P)},[l,a,i,c]),p=f.useCallback(K=>{K.destination&&b(K.source.index,K.destination.index)},[b]),w=f.useCallback(K=>{if(l){const v=c.filter(C=>C.storagePathOrDownloadUrl!==K);a(v.filter(C=>!!C.storagePathOrDownloadUrl).map(C=>C.storagePathOrDownloadUrl)),i(v)}else a(null),i([])},[c,l,a]),k=l?"Drag 'n' drop some files here, or click to select files":"Drag 'n' drop a file here, or click to select one",m=l?e.of:e;return n.jsx(Kn.DragDropContext,{onDragEnd:p,children:n.jsx(Kn.Droppable,{droppableId:`droppable_${t}`,direction:"horizontal",renderClone:(K,v,C)=>{const S=c[C.source.index];return n.jsx("div",{ref:K.innerRef,...K.draggableProps,...K.dragHandleProps,style:K.draggableProps.style,className:"rounded",children:n.jsx(bi,{name:`storage_preview_${S.storagePathOrDownloadUrl}`,property:m,disabled:!0,entity:g,value:S.storagePathOrDownloadUrl,onRemove:w,size:S.size})})},children:(K,v)=>n.jsx(uz,{storage:y,disabled:d,isDraggingOver:v.isDraggingOver,droppableProvided:K,onFilesAdded:u,multipleFilesSupported:l,autoFocus:A,internalValue:c,property:m,entity:g,onClear:w,metadata:_,storagePathBuilder:h,onFileUploadComplete:s,size:I,name:t,helpText:k})})})}function Mn({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,property:d,includeDescription:u}){let A,y;d.dataType==="string"&&(A=d.multiline,y=d.url),Te({property:d,value:t,setValue:c});const g=f.useCallback(b=>{b.stopPropagation(),b.preventDefault(),c(null)},[c]),h=b=>{if(I==="number"){const p=b.target.value?parseFloat(b.target.value):void 0;p&&isNaN(p)?c(null):p!=null?c(p):c(null)}else c(b.target.value)},_=!!A,I=d.dataType==="number"?"number":void 0;return n.jsxs(n.Fragment,{children:[n.jsx(_n,{value:t,onChange:h,autoFocus:s,label:n.jsx(ve,{icon:we(d,"small"),required:d.validation?.required,title:d.name}),type:I,multiline:_,disabled:l,endAdornment:d.clearable&&n.jsx(x,{onClick:g,children:n.jsx(sn,{})}),error:a?i:void 0,inputClassName:i?"text-red-500 dark:text-red-600":""}),n.jsx(Ke,{includeDescription:u,showError:a,error:i,disabled:l,property:d}),y&&n.jsx(Zo,{className:"mt-1 ml-1",in:!!t,children:n.jsx(Ce,{value:t,property:d,size:"medium"})})]})}const xr=f.forwardRef(function({value:t,allowIndeterminate:c,className:i,onValueChange:a,disabled:l=!1,size:s="medium",...d},u){return n.jsxs("button",{ref:u,tabIndex:l?-1:void 0,onClick:l?A=>A.preventDefault():A=>{A.preventDefault(),c?t==null?a?.(!0):a?.(t?!1:null):a?.(!t)},className:E(s==="small"?"w-[38px] h-[22px] min-w-[38px] min-h-[22px]":"w-[42px] h-[26px] min-w-[42px] min-h-[26px]","outline-none rounded-full relative shadow-sm",t?l?"bg-white bg-opacity-54 dark:bg-gray-950":"ring-secondary ring-1 bg-secondary dark:bg-secondary":"bg-white bg-opacity-54 dark:bg-gray-900 ring-1 ring-gray-100 dark:ring-gray-700",i),...d,children:[c&&t==null&&n.jsx("div",{className:E("block rounded-full transition-transform duration-100 transform will-change-auto",l?"bg-gray-400 dark:bg-gray-600":"bg-gray-600 dark:bg-gray-400",{"w-[21px] h-[10px]":s==="medium","w-[19px] h-[8px]":s==="small","translate-x-[10px]":s==="medium","translate-x-[9px]":s==="small"})}),!(c&&t==null)&&n.jsx("div",{className:E("block rounded-full transition-transform duration-100 transform will-change-auto",l?"bg-gray-300 dark:bg-gray-700":t?"bg-white":"bg-gray-600 dark:bg-gray-400",{"w-[21px] h-[21px]":s==="medium","w-[19px] h-[19px]":s==="small",[t?"translate-x-[19px]":"translate-x-[3px]"]:s==="medium",[t?"translate-x-[17px]":"translate-x-[2px]"]:s==="small"})})]})}),On=function({value:t,position:c="end",invisible:i,onValueChange:a,error:l,label:s,autoFocus:d,disabled:u,size:A,...y}){const g=f.useRef(null),h=f.useRef(null),[_,I]=f.useState(d),b=()=>I(!0),p=()=>I(!1);f.useEffect(()=>{},[]);const w=document.activeElement===h?.current||document.activeElement===g?.current;return n.jsxs("div",{ref:g,onFocus:b,onBlur:p,tabIndex:-1,className:E(!i&&Ze,!i&&(u?nn:Ge),u?"cursor-default":"cursor-pointer","rounded-md relative max-w-full justify-between w-full box-border relative inline-flex items-center",!i&&w&&!u?Lr:"",l?"text-red-500 dark:text-red-600":w&&!u?"text-primary":u?"text-text-secondary dark:text-text-secondary-dark":"text-text-primary dark:text-text-primary-dark",A==="small"?"min-h-[40px]":"min-h-[64px]",A==="small"?"pl-2":"pl-4",A==="small"?"pr-4":"pr-6",c==="end"?"flex-row-reverse":"flex-row"),onClick:u?void 0:k=>{y.allowIndeterminate?t==null?a?.(!0):a?.(t?!1:null):a?.(!t)},children:[n.jsx(xr,{value:t,ref:h,size:A,className:i&&w?Lr:"",disabled:u,...y}),n.jsx("div",{className:E("flex-grow",c==="end"?"mr-4":"ml-4",A==="small"?"text-sm":"text-base"),children:s})]})},pi=f.forwardRef(function({propertyKey:t,value:c,setValue:i,error:a,showError:l,autoFocus:s,disabled:d,touched:u,property:A,includeDescription:y},g){return Te({property:A,value:c,setValue:i}),n.jsxs(n.Fragment,{children:[n.jsx(On,{value:c,onValueChange:h=>i(h),error:l,label:n.jsx(ve,{icon:we(A,"small"),required:A.validation?.required,title:A.name}),disabled:d,autoFocus:s,size:"medium"}),n.jsx(Ke,{includeDescription:y,showError:l,error:a,disabled:d,property:A})]})});function wi({propertyKey:e,value:t,setValue:c,autoFocus:i,error:a,showError:l,disabled:s,touched:d,property:u,includeDescription:A}){const y=t||null;return Te({property:u,value:t,setValue:c}),n.jsxs(n.Fragment,{children:[n.jsx(Vn,{value:y,onChange:g=>c(g),size:"medium",mode:u.mode,clearable:u.clearable,label:n.jsx(ve,{icon:we(u,"small"),required:u.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:u.name})}),n.jsx(Ke,{includeDescription:A,showError:l,error:a,disabled:s,property:u})]})}class le extends f.Component{constructor(t){super(t),this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,c){console.error(t)}render(){return this.state.error?n.jsxs("div",{className:"flex flex-col m-2",children:[n.jsxs("div",{className:"flex items-center m-2",children:[n.jsx(Ir,{color:"error",size:"small"}),n.jsx("div",{className:"ml-4",children:"Error"})]}),n.jsx(j,{variant:"caption",children:this.state.error?.message??"See the error in the console"})]}):this.props.children}}function Rr({propertyKey:e,value:t,error:c,showError:i,tableMode:a,property:l,includeDescription:s,context:d}){if(!d.entityId)throw new Error("ReadOnlyFieldBinding: Entity id is null");const u={id:d.entityId,values:d.values,path:d.path};return n.jsxs(n.Fragment,{children:[!a&&n.jsx(ve,{icon:we(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx("div",{className:E(ze,"min-h-14 p-4 md:p-6"),children:n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,value:t,property:l,entity:u,size:"medium"})})}),n.jsx(Ke,{includeDescription:s,showError:i,error:c,property:l})]})}function ki(e){return typeof e.property.path!="string"?n.jsx(Rr,{...e}):n.jsx(Az,{...e})}function Az({value:e,setValue:t,error:c,showError:i,isSubmitting:a,disabled:l,touched:s,autoFocus:d,property:u,includeDescription:A,context:y}){if(!u.path)throw new Error("Property path is required for ReferenceFieldBinding");Te({property:u,value:e,setValue:t});const g=e&&e instanceof qe,h=fe(),_=f.useMemo(()=>u.path?h.getCollection(u.path):void 0,[u.path]);if(!_)throw Error(`Couldn't find the corresponding collection for the path: ${u.path}`);const I=f.useCallback(w=>{t(In(w))},[t]),b=io({multiselect:!1,path:u.path,collection:_,onSingleEntitySelected:I,selectedEntityIds:g?[e.id]:void 0,forceFilter:u.forceFilter}),p=f.useCallback(w=>{w.preventDefault(),b.open()},[b]);return n.jsxs(n.Fragment,{children:[n.jsx(ve,{icon:we(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),!_&&n.jsx(pe,{error:"The specified collection does not exist. Check console"}),_&&n.jsxs(n.Fragment,{children:[e&&n.jsx(on,{disabled:!u.path,previewProperties:u.previewProperties,size:"medium",onClick:l||a?void 0:p,reference:e}),!e&&n.jsx("div",{className:"justify-center text-left",children:n.jsxs(ce,{variant:"outlined",color:"primary",disabled:l||a,onClick:p,children:["Edit ",u.name]})})]}),n.jsx(Ke,{includeDescription:A,showError:i,error:c,disabled:l,property:u})]})}const kn=f.memo(_z,(e,t)=>{if(e.propertyKey!==t.propertyKey)return!1;const c=De(e.property)||e.property.fromBuilder,i=De(t.property)||t.property.fromBuilder;return!((c===i||se(e.property,t.property))&&e.disabled===t.disabled)||Lo(t.property),!1});function _z({propertyKey:e,property:t,context:c,includeDescription:i,underlyingValueHasChanged:a,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A}){const y=ee(),h=Lo(t,y.plugins)?Ee.Field:Ee.FastField;return n.jsx(h,{name:e,children:_=>{let I;const b=Ne({propertyKey:e,propertyValue:_.field.value,propertyOrBuilder:t,values:_.form.values,path:c.path,entityId:c.entityId,fields:y.fields});if(b===null||eo(b))return n.jsx(n.Fragment,{});if(Cn(b))I=Rr;else if(b.Field)typeof b.Field=="function"&&(I=b.Field);else{const w=Ho(b,y.fields);if(!w)throw console.log("INTERNAL: Could not find field config for property",{propertyKey:e,resolvedProperty:b,fields:y.fields,fieldConfig:w}),new Error(`INTERNAL: Could not find field config for property ${e}`);I=Ne({propertyOrBuilder:w.property,propertyValue:_.field.value,values:_.form.values,path:c.path,entityId:c.entityId,fields:y.fields}).Field}if(!I)return console.warn(`No field component found for property ${e}`),console.warn("Property:",t),n.jsx("div",{children:`Currently the field ${b.dataType} is not supported`});const p={propertyKey:e,property:b,includeDescription:i,underlyingValueHasChanged:a,context:c,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A};return n.jsx(yz,{Component:I,componentProps:p,fieldProps:_})}})}function yz({Component:e,componentProps:{propertyKey:t,property:c,includeDescription:i,underlyingValueHasChanged:a,tableMode:l,partOfArray:s,partOfBlock:d,autoFocus:u,context:A,disabled:y},fieldProps:g}){const{plugins:h}=ee(),_=c.customProps,I=g.field.value,b=g.meta.initialValue,p=Ee.getIn(g.form.errors,t),w=Ee.getIn(g.form.touched,t),k=p&&(g.form.submitCount>0||c.validation?.unique)&&(!Array.isArray(p)||!!p.filter(D=>!!D).length),K=gz(A.path,A.collection,t,c,e,h)??e,v=g.form.isSubmitting,C=f.useCallback((D,T)=>{g.form.setFieldTouched(t,!0,!1),g.form.setFieldValue(t,D,T)},[]),S=f.useCallback((D,T,B)=>{g.form.setFieldTouched(t,!0,!1),g.form.setFieldValue(D,T,B)},[]),P={propertyKey:t,value:I,initialValue:b,setValue:C,setFieldValue:S,error:p,touched:w,showError:k,isSubmitting:v,includeDescription:i??!0,property:c,disabled:y??!1,underlyingValueHasChanged:a??!1,tableMode:l??!1,partOfArray:s??!1,partOfBlock:d??!1,autoFocus:u??!1,customProps:_,context:A};return n.jsxs(le,{children:[n.jsx(K,{...P}),a&&!v&&n.jsx(j,{variant:"caption",className:"ml-3.5",children:"This value has been updated elsewhere"})]})}const Lo=(e,t)=>{if(t?.some(a=>a.form?.fieldBuilder)||De(e))return!0;const c=e,i=!!c.Field||"fromBuilder"in c&&c.fromBuilder;return c.dataType==="map"&&c.properties?i||Object.values(c.properties).some(a=>Lo(a,t)):c.dataType==="array"&&"resolvedProperties"in c?i||c.resolvedProperties?.some(a=>a&&Lo(a,t)):i};function gz(e,t,c,i,a,l){return f.useRef((()=>{let d=null;return l&&l.forEach(u=>{const A=ft(i);if(A&&u.form?.fieldBuilder){const y={fieldConfigId:A,propertyKey:c,property:i,Field:a,plugin:u,path:e,collection:t},g=u.form?.fieldBuilderEnabled?.(y);(g===void 0||g)&&(d=u.form.fieldBuilder(y)||d)}A||console.warn("INTERNAL: Field id not found for property",i)}),d})()).current}function mi({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,partOfBlock:d,tableMode:u,includeDescription:A,underlyingValueHasChanged:y,autoFocus:g,context:h}){const _=l.pickOnlySomeKeys||!1,I=(l.expanded===void 0?!0:l.expanded)||g;if(!l.properties)throw Error(`You need to specify a 'properties' prop (or specify a custom field) in your map property ${e}`);let b;_?t?b=xt(l.properties,...Object.keys(t).filter(k=>k in l.properties)):b={}:b=l.properties;const p=n.jsx(n.Fragment,{children:n.jsx("div",{className:"py-1 flex flex-col space-y-2",children:Object.entries(b).filter(([k,m])=>!eo(m)).map(([k,m],K)=>{const v={propertyKey:`${e}.${k}`,disabled:a,property:m,includeDescription:A,underlyingValueHasChanged:y,context:h,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:g&&K===0};return n.jsx("div",{children:n.jsx(kn,{...v})},`map-${e}-${K}`)})})}),w=n.jsx(ve,{icon:we(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!u&&!d&&n.jsx(An,{initiallyExpanded:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:w,children:p}),(u||d)&&p,n.jsx(Ke,{includeDescription:A,showError:c,error:i,disabled:a,property:l})]})}function vi({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,tableMode:d,includeDescription:u,underlyingValueHasChanged:A,autoFocus:y,context:g}){const h=(l.expanded===void 0?!0:l.expanded)||y;if(!l.keyValue)throw Error(`Your property ${e} needs to have the 'keyValue' prop in order to use this field binding`);const _=n.jsx(et,{value:t,setValue:s,disabled:a,fieldName:l.name??e}),I=n.jsx(ve,{icon:we(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(An,{initiallyExpanded:h,title:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:_}),d&&_,n.jsx(Ke,{includeDescription:u,showError:c,error:i,disabled:a,property:l})]})}function et({value:e,setValue:t,fieldName:c,disabled:i}){const[a,l]=f.useState(Object.keys(e??{}).map(u=>[nt(),{key:u,dataType:ot(e?.[u])??"string"}]));f.useEffect(()=>{const u=a.map(([_,{key:I}])=>I),A=Object.entries(e??{}).filter(([_,I])=>I!==void 0).map(([_])=>_),y=A.filter(_=>!u.includes(_)),g=u.filter(_=>!A.includes(_)),h=[...a];y.forEach(_=>{h.push([nt(),{key:_,dataType:ot(e?.[_])??"string"}])}),g.forEach(_=>{const I=h.findIndex(([b,{key:p}])=>p===_);h.splice(I,1)}),l(h)},[e]);const s=f.useRef(e??{}),d=(u,A)=>{if(!u){console.warn("No key selected for data type update");return}l(a.map(y=>y[0]===u?[y[0],{key:y[1].key,dataType:A}]:y)),t({...e??{},[a.find(y=>y[0]===u)?.[1].key??""]:ur(A)})};return n.jsxs("div",{className:"py-1 flex flex-col gap-1",children:[a.map(([u,{key:A,dataType:y}],g)=>{const h=A?e?.[A]:"",_=I=>{if(l(a.map(p=>p[0]===u?[u,{key:I??"",dataType:p[1].dataType}]:p)),typeof e=="object"&&I in e)return;const b={...e??{}};s.current&&A in s.current?b[A]=void 0:delete b[A],t({...b,[I??""]:h})};return n.jsx(hz,{rowId:u,fieldKey:A,value:e??{},onDeleteClick:()=>{const I={...e??{}};s.current&&A in s.current?I[A]=void 0:delete I[A],l(a.filter(b=>b[0]!==u)),t({...I})},onFieldKeyChange:_,setValue:t,entryValue:h,dataType:y,disabled:i,updateDataType:d},u)}),n.jsx(ce,{variant:"text",size:"small",color:"primary",className:"w-full",disabled:i,startIcon:n.jsx(bn,{}),onClick:u=>{u.preventDefault(),t({...e??{},"":null}),l([...a,[nt(),{key:"",dataType:"string"}]])},children:c?`Add to ${c}`:"Add"})]})}function hz({rowId:e,fieldKey:t,value:c,onFieldKeyChange:i,onDeleteClick:a,setValue:l,entryValue:s,dataType:d,updateDataType:u,disabled:A}){function y(h,_,I){return I==="string"||I==="number"?n.jsx(_n,{placeholder:"value",value:h,type:I==="number"?"number":"text",size:"small",disabled:A||!_,onChange:b=>{if(I==="number"){const p=b.target.value?parseFloat(b.target.value):void 0;p&&isNaN(p)?l({...c,[_]:null}):p!=null?l({...c,[_]:p}):l({...c,[_]:null})}else l({...c,[_]:b.target.value})}},I):I==="date"?n.jsx(Vn,{value:h,size:"small",disabled:A||!_,onChange:b=>{l({...c,[_]:b})}}):I==="boolean"?n.jsx(On,{value:h,size:"small",position:"start",disabled:A||!_,onValueChange:b=>{l({...c,[_]:b})}}):I==="array"?n.jsx("div",{className:E(de,"ml-2 pl-2 border-l border-solid"),children:n.jsx(Tt,{value:h,newDefaultEntry:"",droppableId:e.toString(),addLabel:_?`Add to ${_}`:"Add",size:"small",disabled:A||!_,includeAddButton:!0,onValueChange:b=>{l({...c,[_]:b})},buildEntry:(b,p)=>n.jsx(Iz,{index:b,id:p,value:h[b],disabled:A||!_,setValue:w=>{const k=[...h];k[b]=w,l({...c,[_]:k})}})})}):I==="map"?n.jsx("div",{className:E(de,"ml-2 pl-2 border-l border-solid"),children:n.jsx(et,{value:h,fieldName:_,setValue:b=>{l({...c,[_]:b})}})}):n.jsx(j,{variant:"caption",children:`Data type ${I} not supported yet`})}function g(h){u(e,h)}return n.jsxs(n.Fragment,{children:[n.jsxs(j,{component:"div",className:"font-mono flex flex-row gap-1",children:[n.jsx("div",{className:"w-[200px] max-w-[25%]",children:n.jsx(_n,{value:t,placeholder:"key",disabled:A||s!=null&&s!=="",size:"small",onChange:h=>{i(h.target.value)}})}),n.jsx("div",{className:"flex-grow",children:d!=="map"&&d!=="array"&&y(s,t,d)}),n.jsxs(Qn,{trigger:n.jsx(x,{size:"small",className:"h-7 w-7",children:n.jsx(_r,{})}),children:[n.jsx(ke,{dense:!0,onClick:()=>g("string"),children:"string"}),n.jsx(ke,{dense:!0,onClick:()=>g("number"),children:"number"}),n.jsx(ke,{dense:!0,onClick:()=>g("boolean"),children:"boolean"}),n.jsx(ke,{dense:!0,onClick:()=>g("date"),children:"date"}),n.jsx(ke,{dense:!0,onClick:()=>g("map"),children:"map"}),n.jsx(ke,{dense:!0,onClick:()=>g("array"),children:"array"})]}),n.jsx(x,{"aria-label":"delete",size:"small",onClick:a,className:"h-7 w-7",children:n.jsx(to,{size:"small"})})]},e.toString()),(d==="map"||d==="array")&&y(s,t,d)]})}function Iz({id:e,index:t,value:c,setValue:i}){const[a,l]=f.useState(ot(c)??"string");function s(u){l(u)}function d(u,A){return A==="string"||A==="number"?n.jsx(_n,{value:u,type:A==="number"?"number":"text",size:"small",onChange:y=>{if(A==="number"){const g=y.target.value?parseFloat(y.target.value):void 0;g&&isNaN(g)?i(null):g!=null?i(g):i(null)}else i(y.target.value)}}):A==="date"?n.jsx(Vn,{value:u,size:"small",onChange:y=>{i(y)}}):A==="boolean"?n.jsx(On,{value:u,size:"small",position:"start",onValueChange:y=>{i(y)}}):A==="array"?n.jsx(j,{variant:"caption",children:"Arrays of arrays are not supported."}):A==="map"?n.jsx("div",{className:E(de,"ml-2 pl-2 border-l border-solid"),children:n.jsx(et,{value:u,setValue:y=>{i(y)}})}):n.jsx(j,{variant:"caption",children:`Data type ${A} not supported yet`})}return n.jsxs(n.Fragment,{children:[n.jsxs(j,{component:"div",className:"font-mono flex min-h-12 flex-row gap-1 items-center",children:[n.jsx("div",{className:"flex-grow",children:a!=="map"&&d(c,a)}),n.jsxs(Qn,{trigger:n.jsx(x,{size:"small",className:"h-7 w-7",children:n.jsx(_r,{})}),children:[n.jsx(ke,{dense:!0,onClick:()=>s("string"),children:"string"}),n.jsx(ke,{dense:!0,onClick:()=>s("number"),children:"number"}),n.jsx(ke,{dense:!0,onClick:()=>s("boolean"),children:"boolean"}),n.jsx(ke,{dense:!0,onClick:()=>s("map"),children:"map"}),n.jsx(ke,{dense:!0,onClick:()=>s("date"),children:"date"})]})]},e.toString()),a==="map"&&d(c,a)]})}function nt(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function ot(e){if(typeof e=="string"||e===null)return"string";if(typeof e=="number")return"number";if(typeof e=="boolean")return"boolean";if(Array.isArray(e))return"array";if(e instanceof Date)return"date";if(e instanceof qe)return"reference";if(e instanceof ir)return"geopoint";if(typeof e=="object")return"map"}function Ki({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:y,context:g,disabled:h}){if(!u.of)throw Error("RepeatFieldBinding misconfiguration. Property `of` not set");if(!u.resolvedProperties||!Array.isArray(u.resolvedProperties))throw Error("RepeatFieldBinding - Internal error: Expected array in 'property.resolvedProperties'");const _=u.expanded===void 0?!0:u.expanded,I=u.of,[b,p]=f.useState();Te({property:u,value:t,setValue:l});const w=(K,v)=>{const C=u.resolvedProperties[K]??I,S={propertyKey:`${e}.${K}`,disabled:h,property:C,includeDescription:A,underlyingValueHasChanged:y,context:g,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:v===b};return n.jsx(kn,{...S})},k=n.jsx(Bo,{value:t,addLabel:u.name?"Add entry to "+u.name:"Add entry",name:e,setFieldValue:s,buildEntry:w,onInternalIdAdded:p,disabled:a||!!u.disabled,includeAddButton:!u.disabled,newDefaultEntry:u.of.defaultValue}),m=n.jsx(ve,{icon:we(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(An,{initiallyExpanded:_,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:m,children:k}),d&&k,n.jsx(Ke,{includeDescription:A,showError:i,error:c,disabled:h,property:u})]})}function Ci({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:y,context:g,disabled:h}){if(!u.oneOf)throw Error("ArrayOneOfField misconfiguration. Property `oneOf` not set");const _=u.expanded===void 0?!0:u.expanded;Te({property:u,value:t,setValue:l});const[I,b]=f.useState(),p=f.useCallback((K,v)=>n.jsx(bz,{name:`${e}.${K}`,index:K,value:t[K],typeField:u.oneOf.typeField??Rn,valueField:u.oneOf.valueField??mo,properties:u.oneOf.properties,autoFocus:v===I,context:g},`array_one_of_${K}`),[g,I,u.oneOf,e,t]),w=n.jsx(ve,{icon:we(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark"}),k=Object.keys(u.oneOf.properties)[0],m=n.jsx(Bo,{value:t,name:e,addLabel:u.name?"Add entry to "+u.name:"Add entry",buildEntry:p,onInternalIdAdded:b,disabled:a||!!u.disabled,includeAddButton:!u.disabled,setFieldValue:s,newDefaultEntry:{[u.oneOf.typeField??Rn]:k,[u.oneOf.valueField??mo]:vo(u.oneOf.properties[k])}});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(An,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:_,title:w,children:m}),d&&m,n.jsx(Ke,{includeDescription:A,showError:i,error:c,disabled:h,property:u})]})}function bz({name:e,index:t,value:c,typeField:i,valueField:a,properties:l,autoFocus:s,context:d}){const u=c&&c[i],[A,y]=f.useState(u??void 0),g=Ee.useFormikContext();f.useEffect(()=>{u||w(Object.keys(l)[0])},[]),f.useEffect(()=>{u!==A&&y(u)},[u]);const h=A?l[A]:void 0,_=Object.entries(l).map(([k,m])=>({id:k,label:m.name??k})),I=`${e}.${i}`,b=`${e}.${a}`,p=h?{propertyKey:b,property:h,context:d,autoFocus:s,partOfArray:!1,partOfBlock:!0,tableMode:!1}:void 0,w=k=>{const m=k?l[k]:void 0;y(k),g.setFieldTouched(I),g.setFieldValue(I,k),g.setFieldValue(b,m?vo(m):null)};return n.jsxs("div",{className:E(ze,"bg-transparent p-4 my-4 py-8"),children:[n.jsx(Ee.FastField,{required:!0,name:I,children:k=>n.jsx(n.Fragment,{children:n.jsx(xe,{className:"mb-2",placeholder:n.jsx(j,{variant:"caption",className:"px-4 py-2 font-medium",children:"Type"}),size:"small",position:"item-aligned",value:k.field.value!==void 0&&k.field.value!==null?k.field.value:"",renderValue:m=>n.jsx(Se,{enumKey:m,enumValues:_,size:"small"}),onValueChange:m=>{w(m)},children:_.map(m=>n.jsx(Re,{value:String(m.id),children:n.jsx(Se,{enumKey:m.id,enumValues:_,size:"small"})},m.id))})})}),p&&n.jsx(kn,{...p},`form_control_${e}_${A}`)]})}const pz=new $t;try{hn.use(hn.Plugins.AutoResize,{min:100}),hn.unuse(hn.Plugins.FontUnderline),hn.unuse(hn.Plugins.Clear)}catch{}function Si({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,tableMode:A,includeDescription:y,context:g}){const[h,_]=f.useState(t),I=f.useRef(t);Dn("MarkdownFieldBinding",wz);const b=f.useDeferredValue({internalValue:h,value:t});return f.useEffect(()=>{I.current=t,_(t)},[t]),f.useEffect(()=>{b.internalValue!==I.current&&c(b.internalValue)},[b]),n.jsxs(n.Fragment,{children:[!A&&n.jsx(j,{variant:"caption",className:"flex-grow",children:n.jsx(ve,{icon:we(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"})}),n.jsx(hn,{value:h??"",className:E(Ze,l?nn:Ge,"text-base"),readOnly:l,renderHTML:p=>pz.render(p),view:{menu:!0,md:!0,html:!1},onChange:({html:p,text:w})=>{_(w??null)}}),n.jsx(Ke,{includeDescription:y,showError:a,error:i,disabled:l,property:u})]})}const wz=`
97
69
  @font-face {
98
70
  font-family: rmel-iconfont;
99
71
  src: url(data:application/vnd.ms-fontobject;base64,fBkAAMAYAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAB9vj4gAAAAAAAAAAAAAAAAAAAAAAABoAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdAAAAA4AUgBlAGcAdQBsAGEAcgAAABYAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAAGgByAG0AZQBsAC0AaQBjAG8AbgBmAG8AbgB0AAAAAAAAAQAAAAsAgAADADBHU1VCsP6z7QAAATgAAABCT1MvMj3jT5QAAAF8AAAAVmNtYXBA5I9dAAACPAAAAwhnbHlmMImhbQAABXwAAA9gaGVhZBtQ+k8AAADgAAAANmhoZWEH3gObAAAAvAAAACRobXR4aAAAAAAAAdQAAABobG9jYTX6MgAAAAVEAAAANm1heHABMAB7AAABGAAAACBuYW1lc9ztwgAAFNwAAAKpcG9zdCcpv64AABeIAAABNQABAAADgP+AAFwEAAAAAAAEAAABAAAAAAAAAAAAAAAAAAAAGgABAAAAAQAA4uPbB18PPPUACwQAAAAAANwY2ykAAAAA3BjbKQAA//8EAAMBAAAACAACAAAAAAAAAAEAAAAaAG8ADAAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAQAAAAoAHgAsAAFERkxUAAgABAAAAAAAAAABAAAAAWxpZ2EACAAAAAEAAAABAAQABAAAAAEACAABAAYAAAABAAAAAAABBAABkAAFAAgCiQLMAAAAjwKJAswAAAHrADIBCAAAAgAFAwAAAAAAAAAAAAAAAAAAAAAAAAAAAABQZkVkAEDnbe2iA4D/gABcA4AAgAAAAAEAAAAAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAAAAAUAAAADAAAALAAAAAQAAAHMAAEAAAAAAMYAAwABAAAALAADAAoAAAHMAAQAmgAAABYAEAADAAbnbelB7TztRe1h7XXteO2A7Y3tov//AADnbelB7TvtRO1f7W/td+2A7Yztn///AAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAWABYAFgAYABoAHgAqACwALAAuAAAAAQAEAAUAAwAGAAcACAAJAAoACwAMAA0ADgAPABAAEQASABMAAgAUABUAFgAXABgAGQAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAAAABPAAAAAAAAAAZAADnbQAA520AAAABAADpQQAA6UEAAAAEAADtOwAA7TsAAAAFAADtPAAA7TwAAAADAADtRAAA7UQAAAAGAADtRQAA7UUAAAAHAADtXwAA7V8AAAAIAADtYAAA7WAAAAAJAADtYQAA7WEAAAAKAADtbwAA7W8AAAALAADtcAAA7XAAAAAMAADtcQAA7XEAAAANAADtcgAA7XIAAAAOAADtcwAA7XMAAAAPAADtdAAA7XQAAAAQAADtdQAA7XUAAAARAADtdwAA7XcAAAASAADteAAA7XgAAAATAADtgAAA7YAAAAACAADtjAAA7YwAAAAUAADtjQAA7Y0AAAAVAADtnwAA7Z8AAAAWAADtoAAA7aAAAAAXAADtoQAA7aEAAAAYAADtogAA7aIAAAAZAAAAAABmAMwBHgGEAbwB/gJmAsgC/gM0A3IDogRABKgE7gUuBXAFygYKBmoGpAbEBugHRgewAAAABQAAAAADVgLWAAsAGAAlADQAQAAAEyEyFhQGByEuATQ2Fz4BNyEeARQGIyEiJgM0NjchHgEUBiMhIiY3PgEzITIeARQOASMhIiYnFhQPAQYmNRE0NhfWAlQSGRkS/awSGRnaARgTAWASGRkS/qASGfQZEgJUEhkZEv2sEhnzARgTAWAMFAsLFAz+oBIZOQgIkgseHgsC1RklGAEBGCUZ8hMYAQEYJRkZ/oUTGAEBGCUZGdkSGQsVFxQMGoYGFgaVDAwRASoRDAwAAAAADAAAAAADqwKrAA8AEwAXABsAHwAjACcAMwA3ADsAPwBDAAABIQ4BBwMeARchPgE3ES4BBTMVIxUzFSMnMxUjFTMVKwI1MzUjNTMBISImNDYzITIWFAY3IzUzNSM1MxcjNTM1IzUzA1X9ViQwAQEBMSQCqiQxAQEx/lxWVlZWgFZWVlYqVlZWVgFV/wASGBgSAQASGBgZVlZWVoBWVlZWAqsBMST+ViQxAQExJAGqJDF/VipW1lYqVlYqVv6AGCQZGSQYqlYqVtZWKlYAAwAAAAADKwMAAA8AHwAzAAAlHgEXIT4BNxEuASchDgEHMyEyFhcRDgEHIS4BJxE+ASUnJisBIg8BIyIGFBYzITI2NCYjAQABMCQBViQwAQEwJP6qJDABgAEAExcBARcT/wATFwEBFwEoHgsStBILHmsTFxcTAgARGRkRVSQwAQEwJAGrJDABATAkFxT+qxEZAQEZEQFVFBfVHg0NHhcnFxcnFwADAAAAAAOrAtkAFgAtAD4AAAEVBg8BBiIvASY0PwEnJjQ/ATYyHwEWBTc2NC8BJiIPAQYHFRYfARYyPwE2NCcBJyYGBwMGFh8BFjY3EzYmJwOrAQmwBxEHHgYGk5MGBh4HEQewCf0PkwYGHwYSBrAJAQEJsAcRBx4GBgFCKQkPBOMCBwgoCQ8E4gMHCQGIEA0KsAYGHgcRBpOTBhIGHgYGsAoVkwYRBx4GBrAKDRANCrAGBh4GEgYB2Q8DBwj9jAgQAw4DBwgCcwgPBAACAAAAAAOaAm8AEAAhAAAlJzc2NCYiDwEGFB8BFjI2NCU3JyY0NjIfARYUDwEGIiY0AXOmpg0ZJAzEDQ3EDiEaAQ2mpg0aIQ7EDQ3EDiEa2qamDiEaDcQNIg3EDRohDqamDCQZDcQNIg3EDRkkAAAAAwAAAAADuAKsAAsAFwAjAAABDgEHHgEXPgE3LgEDLgEnPgE3HgEXDgEDDgEHHgEXPgE3LgECAJjrNTXrmJjrNTXrmFZwAgJwVlZwAgJwVjRDAQFDNDRDAQFDAqwCpIaGpAICpIaGpP4OAnBWVnACAnBWVnABPgFDNDRDAQFDNDRDAAAABQAAAAADgAKrAAsAFwAjADAAQAAAEyEyNjQmIyEiBhQWFyE+ATQmJyEOARQWEyEyNjQmIyEiBhQWJx4BFyE+ATQmJyEOASUhHgEXEQ4BByEuATURNDarAQATFxcT/wARGRkRAQATFxcT/wARGRkRAQATFxcT/wARGRkaARkRAQATFxcT/wARGQHUAQARGQEBGRH/ABMXFwEAFycXFycXqwEZIhkBARkiGQFVFycXFycX1RMXAQEXJhcBARcYARcT/gARGQEBGRECABMXAAAAAAMAAAAAA6sCVgAZACYAQAAAASMiBhQWOwEeARcOAQcjIgYUFjsBPgE3LgEFHgEXIT4BNCYnIQ4BFyMuASc+ATczMjY0JisBDgEHHgEXMzI2NCYC1YASGBgSgDdIAQFIN4ASGBgSgFt4AwN4/iUBGBIBABIYGBL/ABIYVYA3SAEBSDeAEhgYEoBbeAMDeFuAEhgYAlUYJBkBSTY2SQEZJBgCeFtbeNMSGAEBGCQYAQEYkgFJNjZJARkkGAJ4W1t4AhgkGQABAAAAAAOsAisAHgAAAS4BJw4BBwYWFxY2Nz4BNzIWFwcGFhczPgE3NS4BBwMSO5ZVh9Q4ChMXFCMJK6FnP28sURMTHu4SGAECMRYBvDQ6AQKJchcqCAYPElZpASslUhYxAgEYEu8dFBMAAAABAAAAAAOyAisAHgAAAQ4BBycmBgcVHgEXMz4BLwE+ATMeARceATc+AScuAQIUVZY7URYxAgEYEu4eFBNSLW8+Z6ErCSQTFxMKOdMCKwE6NFAUFB3vEhgBAjEWUiUrAWlWEg8GCCoXcokAAAADAAAAAAL1Ar8AFAAcACQAAAE+ATcuAScjDgEHER4BFyE+ATc0JiUzHgEUBgcjEyM1Mx4BFAYCkyEpAQJmTu8UGQEBGRQBB0lpAjT+1IgdJycdiJ+fnx0nJwGKF0QkTmYCARoT/d4TGgECYUk1UtkBJjsmAf7viQEmOyYAAQAAAAADEgK/ABwAAAEeARczAyMOARQWFzM+ATQmJyMTMz4BNCYnIw4BAaUBJh0hnDsdJiYd5B0mJh0hnDsdJiYd5B0mAnodJgH+lAEmOicBASc6JgEBbAEmOicBAScABgAAAAADlgLWAAsAFwAjAEEAUgBuAAABIT4BNCYnIQ4BFBYBIQ4BFBYXIT4BNCYDIQ4BFBYXIT4BNCYFIyIGFBY7ARUjIgYUFjsBFSMiBhQWOwEyNjc1LgEDMxUeATI2PQE0JisBIgYUFhcjIgYUFjsBBwYdARQWOwEyNjQmKwE3Nj0BLgEBawIAEhgYEv4AEhkZAhL+ABIZGRICABIYGBL+ABIZGRICABIYGP1YVQkMDAlAFQoLCwoVQAkMDAlVCgsBAQtfFQELEwwMCSsJDAxeVQkMDAk3RwUMCVUKCwsKN0gFAQsCVQEYJBgBARgkGP5VARgkGAEBGCQYAQEBGCQYAQEYJBjVDBIMFgwSDBYMEgwMCYAJDAHWawkMDAmACQwMEgzWDBIMVAYICQkMDBIMVAYICQkMAAAAAAYAAAAAA4sCwAAIABEAGgAmADIAPwAAEw4BFBYyNjQmAw4BFBYyNjQmAw4BFBYyNjQmFyE+ATQmJyEOARQWNyE+ATQmJyEOARQWAx4BFyE+ATQmJyEOAbUbJCQ3JCQcGyQkNyQkHBskJDYlJI8CABIYGBL+ABIYGBICABIYGBL+ABIYGBkBGBICABIYGBL+ABIYAcABJDYkJDYkAQEBJDYkJDYk/gEBJDYkJDYkagEYJBgBARgkGP8BGCQYAQEYJBgBKhIYAQEYJBgBARgAAAACAAAAAANWAlYAFgAtAAAlMjY/ATY9AS4BKwEiBh0BFBYXMwcGFgUyNj8BNj0BNCYrASIGBxUeARczBwYWATIRGwc9CQEYEqsSGBgSViwOIAHMEBsIPAkYEqsSGAEBGBJVLA0gqxEOeRIUwhIYGBKrEhgBWB4zAREOeRIUwhIYGBKrEhgBWB4zAAAAAAMAAAAAA4ACwAAIABkAJQAAJT4BNzUjFR4BAR4BFzMVMzUzPgE0JichDgEDIT4BNCYnIQ4BFBYCACQwAaoBMP75ASQblqqWGyQkG/4qGyQrAqoSGRkS/VYSGRlAATAkKyskMAI/GyQBgIABJDYkAQEk/noBGCQYAQEYJBgAAAAAAgAA//8DKwMBABsAKAAAJT4BNxEuASIGBxEUBgcGLgI1ES4BIgYHER4BBx4BMyEyNjQmIyEiBgIiYnoCAR4tHgFBNSFBNR0BHi0eAQOm1AEYEgIAEhgYEv4AEhitD5NlARcWHh4W/uQ3UwwHDys8IwEgFh4eFv7gdpR2EhkZJBgYAAAAAwAAAAADcALHAAsALQA5AAATIT4BNCYjISIGFBYFISIGFBYXITIWFxYGByM1LgEPAQYUHwEWNjc1Mz4BJy4BBSMiBhQWFzM+ATQmwAJVEhkZEv2rEhgYAgv+BxIYGBICBiAzBgUxKGABGQtMBgZMDBgBVU1iBQhk/m2rEhgYEqsSGBgCcQEYJBgYJBisGCQYAScgKTkCIg8KCkwHEQdMCgoPIgJrTkRV/xgkGAEBGCQYAAAAAgAAAAADlgLAABQAKAAAARQWFzMRHgEyNjcRMz4BNCYnIQ4BAzMVFBYyNjc1MzI2NCYnIQ4BFBYBayQclQEkNiQBlRwkJBz+VhwkwEAkNyQBQBskJBv/ABwkJAKAGyQB/kAbJCQbAcABJDYkAQEk/tDrGyQkG+skNyQBASQ3JAAKAAAAAAN4AvgADwAWABoAIQAlACkALQA0ADgAPwAAASEOAQcRHgEXIT4BNxEuAQEjIiY9ATM1IzUzNSM1NDY7ARMjNTM1IzUzNSM1MxMjNTMVFAY3IzUzNSM1MzIWFQMs/aggKgEBKiACWCAqAQEq/h5xDxaWlpaWFg9x4ZaWlpaWlrxxlhYWlpaWcQ8WAvcBKiD9qCAqAQEqIAJYICr9XhYPcUuWS3EPFv2olkuWS5b9qJZxDxbhlkuWFg8AAAACAAD//wOAAwAADwAgAAAlES4BJyEOAQcRHgEXIT4BJRc3NjIfARYGIyEiJj8BPgEDgAEwJP2qJDABATAkAlYkMP39WYUHFAeVCAwN/gEOCwhqBxRVAlYkMAEBMCT9qiQwAQEw+2yqCAnHCxcXC4kIAQAAAAEAAAAAAzUCNgAQAAABBwYUFjI/ARcWMjY0LwEmIgHZ/hAhLBHX1xEsIRD+EC4CJv4RLCEQ19cQISwR/hAAAAABAAAAAAM1AjYAEgAAAQcnJiciDgEWHwEWMj8BNjQuAQLW1tcQFxEbDQYM/hEsEf4QIS0CJtfXDwESICAM/hAQ/hAtIAEAAAAEAAAAAANrAusAEAAhADMARAAANzMVFBYyNj0BNCYrASIGFBYTIyIGFBY7ATI2PQE0JiIGFQEyNj0BMzI2NCYrASIGHQEUFhM1NCYiBh0BFBY7ATI2NCYjyWgeLB0dFpwWHR1+aBYdHRacFh0dLB4BahYeaBYdHRacFh0dSh4sHR0WnBYdHRaxaBYdHRacFh0dLB4Bnh4sHR0WnBYdHRb9Xx0WaB4sHR0WnBYdAjloFh0dFpwWHR0sHgAAAAQAAAAAA1QC1AARACMANABGAAATDgEHFR4BFzM+ATQmKwE1NCYnPgE9ATMyNjQmJyMOAQcVHgEBIyIGFBYXMz4BNzUuASIGFQMeATsBFRQWMjY3NS4BJyMOAd0VGwEBGxWRFRsbFWEcFBQcYRUbGxWRFRsBARsCK2EVGxsVkRUbAQEbKRySARsVYRwpGwEBGxWRFRsBHwEbFZEVGwEBGykcYRUbwwEbFWEcKRsBARsVkRUb/qscKRsBARsVkRUbGxUBtRQcYRUbGxWRFRsBARsAAAAAAAASAN4AAQAAAAAAAAAVAAAAAQAAAAAAAQANABUAAQAAAAAAAgAHACIAAQAAAAAAAwANACkAAQAAAAAABAANADYAAQAAAAAABQALAEMAAQAAAAAABgANAE4AAQAAAAAACgArAFsAAQAAAAAACwATAIYAAwABBAkAAAAqAJkAAwABBAkAAQAaAMMAAwABBAkAAgAOAN0AAwABBAkAAwAaAOsAAwABBAkABAAaAQUAAwABBAkABQAWAR8AAwABBAkABgAaATUAAwABBAkACgBWAU8AAwABBAkACwAmAaUKQ3JlYXRlZCBieSBpY29uZm9udApybWVsLWljb25mb250UmVndWxhcnJtZWwtaWNvbmZvbnRybWVsLWljb25mb250VmVyc2lvbiAxLjBybWVsLWljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AAoAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdABSAGUAZwB1AGwAYQByAHIAbQBlAGwALQBpAGMAbwBuAGYAbwBuAHQAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADAAcgBtAGUAbAAtAGkAYwBvAG4AZgBvAG4AdABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETARQBFQEWARcBGAEZARoBGwADdGFiCGtleWJvYXJkBmRlbGV0ZQpjb2RlLWJsb2NrBGNvZGUKdmlzaWJpbGl0eQp2aWV3LXNwbGl0BGxpbmsEcmVkbwR1bmRvBGJvbGQGaXRhbGljDGxpc3Qtb3JkZXJlZA5saXN0LXVub3JkZXJlZAVxdW90ZQ1zdHJpa2V0aHJvdWdoCXVuZGVybGluZQR3cmFwCWZvbnQtc2l6ZQRncmlkBWltYWdlC2V4cGFuZC1sZXNzC2V4cGFuZC1tb3JlD2Z1bGxzY3JlZW4tZXhpdApmdWxsc2NyZWVuAAAAAAA=);
@@ -676,77 +648,10 @@
676
648
  .rc-md-editor .header-list .list-item:hover {
677
649
  }
678
650
 
679
- `;function vi({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,tableMode:s,property:d,includeDescription:u,underlyingValueHasChanged:A,context:y,disabled:h}){if(ne(),!Array.isArray(d.resolvedProperties))throw Error("ArrayCustomShapedFieldBinding misconfiguration. Property `of` not set");const I=d.expanded===void 0?!0:d.expanded;Te({property:d,value:t,setValue:l});const _=n.jsx(Ce,{icon:ke(d,"small"),required:d.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:d.name}),g=d.resolvedProperties.map((b,p)=>{const w={propertyKey:`${e}[${p}]`,disabled:h,property:b,includeDescription:u,underlyingValueHasChanged:A,context:y,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{className:"pb-4",children:n.jsx(pn,{...w})},`custom_shaped_array_${p}`)});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(dn,{initiallyExpanded:I,title:_,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:g}),s&&g,n.jsx(Se,{includeDescription:u,showError:i,error:c,disabled:h,property:d})]})}De.addMethod(De.array,"uniqueInArray",function(e=c=>c,t){return this.test("uniqueInArray",t,c=>!c||c.length===new Set(c.map(e)).size)});function Ki(e,t,c){const i={};return Object.entries(t).forEach(([a,l])=>{i[a]=so({property:l,customFieldValidator:c,name:a,entityId:e})}),De.object().shape(i)}function so(e){const t=e.property;if(Le(t))throw console.error("Error in property",e),Error("Trying to create a yup mapping from a property builder. Please use resolved properties only");if(t.dataType==="string")return pz(e);if(t.dataType==="number")return wz(e);if(t.dataType==="boolean")return Kz(e);if(t.dataType==="map")return bz(e);if(t.dataType==="array")return Sz(e);if(t.dataType==="date")return mz(e);if(t.dataType==="geopoint")return kz(e);if(t.dataType==="reference")return vz(e);throw console.error("Unsupported data type in yup mapping",t),Error("Unsupported data type in yup mapping")}function bz({property:e,entityId:t,customFieldValidator:c,name:i}){const a={};return e.validation,e.properties&&Object.entries(e.properties).forEach(([l,s])=>{a[l]=so({property:s,parentProperty:e,customFieldValidator:c,name:`${i}[${l}]`,entityId:t})}),De.object().shape(a)}function pz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=De.string();const s=e.validation;if(e.enumValues){s?.required&&(l=l.required(s?.requiredMessage?s.requiredMessage:"Required"));const d=tn(e.enumValues);l=l.oneOf((s?.required?d:[...d,null]).map(u=>u?.id??null)).nullable(!0)}if(s){if(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",(d,u)=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),(s.min||s.min===0)&&(l=l.min(s.min,`${e.name} must be min ${s.min} characters long`)),(s.max||s.max===0)&&(l=l.max(s.max,`${e.name} must be max ${s.max} characters long`)),s.matches){const d=typeof s.matches=="string"?Pi(s.matches):s.matches;d&&(l=l.matches(d,s.matchesMessage?{message:s.matchesMessage}:void 0))}s.trim&&(l=l.trim()),s.lowercase&&(l=l.lowercase()),s.uppercase&&(l=l.uppercase()),e.email&&(l=l.email(`${e.name} must be an email`)),e.url&&(l=l.url(`${e.name} must be a url`))}else l=l.notRequired().nullable(!0);return l}function wz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){const l=e.validation;let s=De.number().typeError("Must be a number");return l?(s=l.required?s.required(l.requiredMessage?l.requiredMessage:"Required").nullable(!0):s.notRequired().nullable(!0),l.unique&&c&&i&&(s=s.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),(l.min||l.min===0)&&(s=s.min(l.min,`${e.name} must be higher or equal to ${l.min}`)),(l.max||l.max===0)&&(s=s.max(l.max,`${e.name} must be lower or equal to ${l.max}`)),(l.lessThan||l.lessThan===0)&&(s=s.lessThan(l.lessThan,`${e.name} must be higher than ${l.lessThan}`)),(l.moreThan||l.moreThan===0)&&(s=s.moreThan(l.moreThan,`${e.name} must be lower than ${l.moreThan}`)),l.positive&&(s=s.positive(`${e.name} must be positive`)),l.negative&&(s=s.negative(`${e.name} must be negative`)),l.integer&&(s=s.integer(`${e.name} must be an integer`))):s=s.notRequired().nullable(!0),s}function kz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=De.object();const s=e.validation;return s?.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),s?.required?l=l.required(s.requiredMessage).nullable(!0):l=l.notRequired().nullable(!0),l}function mz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){if(e.autoValue)return De.object().nullable();let l=De.date();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required"):l.notRequired(),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),s.min&&(l=l.min(s.min,`${e.name} must be after ${s.min}`)),s.max&&(l=l.max(s.max,`${e.name} must be before ${s.min}`))):l=l.notRequired(),l.transform(d=>d instanceof Date?d:null).nullable()}function vz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=De.object();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a})))):l=l.notRequired().nullable(!0),l}function Kz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=De.boolean();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a})))):l=l.notRequired().nullable(!0),l}function Cz(e){return e.validation?.uniqueInArray?!0:e.dataType==="map"&&e.properties?Object.entries(e.properties).filter(([t,c])=>c.validation?.uniqueInArray):!1}function Sz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=De.array();if(e.of)if(Array.isArray(e.of)){const d=e.of.map((u,A)=>({[`${i}[${A}]`]:so({property:u,parentProperty:e,entityId:a})})).reduce((u,A)=>({...u,...A}),{});return De.array().of(De.mixed().test("Dynamic object validation","Dynamic object validation error",(u,A)=>rn(d,A.path).validate(u)))}else{l=l.of(so({property:e.of,parentProperty:e,entityId:a}));const d=Cz(e.of);d&&(typeof d=="boolean"?l=l.uniqueInArray(u=>u,`${e.name} should have unique values within the array`):Array.isArray(d)&&d.forEach(([u,A])=>{l=l.uniqueInArray(y=>y&&y[u],`${e.name} → ${A.name??u}: should have unique values within the array`)}))}const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),(s.min||s.min===0)&&(l=l.min(s.min,`${e.name} should be min ${s.min} entries long`)),s.max&&(l=l.max(s.max,`${e.name} should be max ${s.max} entries long`))):l=l.notRequired().nullable(!0),l}const Bz=({containerRef:e})=>{const{isSubmitting:t,isValidating:c,errors:i}=Fe.useFormikContext();return f.useEffect(()=>{const a=Object.keys(i);if(a.length>0&&t&&!c){const l=e?.current?.querySelector(`#form_field_${a[0]}`);if(l&&e?.current){const s=Ci(e.current);if(s){const u=l.getBoundingClientRect().top;s.scrollTo({top:s.scrollTop+u-64,behavior:"smooth"})}const d=l.querySelector("input");d&&d.focus()}}},[t,c,i,e]),null},Ez=e=>{const t=e&&e.scrollHeight>e.clientHeight,c=e?window.getComputedStyle(e).overflowY:null,i=c&&c.indexOf("hidden")!==-1;return t&&!i},Ci=e=>!e||e===document.body?document.body:Ez(e)?e:Ci(e.parentNode);function Fz({customId:e,entityId:t,status:c,onChange:i,error:a,entity:l}){const s=c==="existing"||!e,d=c!=="existing"&&!e,u=f.useMemo(()=>{if(!(!e||typeof e=="boolean"||e==="optional"))return tn(e)},[e]),A=an(),{copy:y}=Uc({onSuccess:_=>A.open({type:"success",message:`Copied ${_}`})}),h=ne(),I={label:d?"ID is set automatically":"ID",disabled:s,name:"id",value:(l&&c==="existing"?l.id:t)??"",endAdornment:l?n.jsxs(n.Fragment,{children:[n.jsx(_e,{title:"Copy",children:n.jsx(R,{onClick:_=>y(l.id),"aria-label":"copy-id",children:n.jsx(no,{size:"small"})})}),h?.entityLinkBuilder&&n.jsx(_e,{title:"Open in the console",children:n.jsx(R,{component:"a",href:h.entityLinkBuilder({entity:l}),rel:"noopener noreferrer",target:"_blank",onClick:_=>_.stopPropagation(),"aria-label":"go-to-datasource",children:n.jsx(ro,{size:"small"})})})]}):void 0};return n.jsxs(n.Fragment,{children:[u&&n.jsx(Xe,{error:a,onValueChange:_=>i(_),...I,renderValue:_=>{const g=u.find(b=>b.id===_);return g?`${g.id} - ${g.label}`:_},children:u.map(_=>n.jsx(xe,{value:String(_.id),children:n.jsx(Ee,{enumKey:_.id,enumValues:u,size:"medium"})},_.id))}),!u&&n.jsx(un,{...I,error:a,placeholder:e==="optional"?"Autogenerated ID, it can be manually changed":c==="new"||c==="copy"?"ID of the new document":"ID of the document",onChange:_=>{let g=_.target.value;return g&&(g=g.trim()),i(g.length?g:void 0)}}),n.jsx(Fe.ErrorMessage,{name:"id",component:"div",children:_=>"You need to specify an ID"})]})}function te({children:e,className:t,variant:c="filled",disabled:i=!1,size:a="medium",startIcon:l=null,fullWidth:s=!1,component:d,...u}){const A="rounded-md border uppercase inline-flex items-center justify-center p-2 px-4 text-sm font-medium focus:outline-none transition ease-in-out duration-150 gap-2",y=E({"w-full":s,"w-fit":!s,"border-transparent bg-primary hover:bg-blue-600 focus:ring-blue-400 !text-white shadow hover:ring-1 hover:ring-primary":c==="filled"&&!i,"border-primary !text-primary hover:bg-primary hover:bg-opacity-10 hover:border-blue-600 !hover:text-blue-600 focus:ring-blue-400 hover:ring-1 hover:ring-primary":c==="outlined"&&!i,"border-transparent !text-primary !hover:text-blue-600 hover:bg-primary hover:bg-opacity-10":c==="text"&&!i,"border-blue-600 border-opacity-50 dark:border-blue-500 dark:border-opacity-50 opacity-50 !text-blue-600 !dark:text-blue-500 text-opacity-50 dark:text-opacity-50":c==="outlined"&&i,"border-transparent outline-none opacity-50 !text-gray-600 !dark:text-gray-500":(c==="filled"||c==="text")&&i}),h=E({"py-1 px-2":a==="small","py-2 px-4":a==="medium","py-2 px-5":a==="large"});return d?n.jsxs(d,{onClick:u.onClick,className:E(he,l?"pl-3":"",A,y,h,t),...u,children:[l,e]}):n.jsxs("button",{type:u.type??"button",onClick:u.onClick,className:E(he,l?"pl-3":"",A,y,h,t),disabled:i,...u,children:[l,e]})}const Si=f.memo(Pz,(e,t)=>e.status===t.status&&e.path===t.path&&de(e.entity?.values,t.entity?.values));function Pz({status:e,path:t,collection:c,entity:i,onEntitySaveRequested:a,onDiscard:l,onModified:s,onValuesChanged:d,onIdChange:u,onFormContextChange:A,hideId:y,autoSave:h,onIdUpdateError:I}){const _=ne(),g=Qe(),b=_.plugins,p=f.useMemo(()=>Me({collection:c,path:t,values:i?.values,fields:_.fields}),[i?.values,t]),w=(e==="new"||e==="copy")&&!!p.customId&&p.customId!=="optional",k=f.useMemo(()=>e==="new"||e==="copy"?w?void 0:g.generateEntityId(t):i?.id,[]),v=f.useRef(!1),K=f.useMemo(()=>{const Q=p.properties;if((e==="existing"||e==="copy")&&i)return i.values??eo(Q);if(e==="new")return eo(Q);throw console.error({status:e,entity:i}),new Error("Form has not been initialised with the correct parameters")},[e,p,i]),[m,C]=f.useState(k),[B,P]=f.useState(!1),[F,D]=f.useState(),S=f.useRef(i?.values??K),T=S.current,[N,q]=f.useState(T),z=Q=>{q(Q),d&&d(Q),h&&Q&&!de(Q,T)&&H(Q)};f.useEffect(()=>{m&&u&&u(m)},[m,u]);const V=Me({collection:c,path:t,entityId:m,values:N,previousValues:T,fields:_.fields}),oe=V.callbacks?.onIdUpdate;f.useEffect(()=>{if(oe&&N&&(e==="new"||e==="copy"))try{const Q=oe({collection:V,path:t,entityId:m,values:N,context:_});C(Q)}catch(Q){I&&I(Q),console.error(Q)}},[m,N,e]);const O=f.useMemo(()=>T&&e==="existing"?Object.entries(V.properties).map(([Q,X])=>{if(Rn(X))return{};const ee=T[Q],U=K[Q];return de(ee,U)?{}:{[Q]:U}}).reduce((Q,X)=>({...Q,...X}),{}):{},[K,V.properties,T,e]),H=Q=>a({collection:V,path:t,entityId:m,values:Q,previousValues:i?.values,closeAfterSave:v.current,autoSave:h??!1}).then(X=>{const ee=e==="new"?"new_entity_saved":e==="copy"?"entity_copied":e==="existing"?"entity_edited":"unmapped_event";_.onAnalyticsEvent?.(ee,{path:t}),S.current=Q}).catch(X=>{console.error(X),D(X)}).finally(()=>{v.current=!1}),Z=(Q,X)=>{if(w&&!m){console.error("Missing custom Id"),P(!0),X.setSubmitting(!1);return}if(D(void 0),P(!1),e==="existing"){if(!i?.id)throw Error("Form misconfiguration when saving, no id for existing entity")}else if(e==="new"||e==="copy"){if(V.customId&&V.customId!=="optional"&&!m)throw Error("Form misconfiguration when saving, entityId should be set")}else throw Error("New FormType added, check EntityForm");H(Q)?.then(ee=>{X.resetForm({values:Q,submitCount:0,touched:{}})}).finally(()=>{X.setSubmitting(!1)})},L=f.useCallback(({name:Q,value:X,property:ee})=>g.checkUniqueField(t,Q,X,ee,m),[g,t,m]),W=f.useMemo(()=>m?Ki(m,V.properties,L):void 0,[m,V.properties,L]);return n.jsx(Fe.Formik,{initialValues:K,onSubmit:Z,validationSchema:W,validate:Q=>console.debug("Validating",Q),onReset:()=>l&&l(),children:Q=>{const X=[],ee={setFieldValue:Q.setFieldValue,values:Q.values,collection:Me({collection:V,path:t,fields:_.fields}),entityId:m,path:t,save:H};if(f.useEffect(()=>{A&&A(ee)},[A,ee]),b&&V){const U={entityId:m,path:t,status:e,collection:c,context:_,currentEntityId:m,formContext:ee};X.push(...b.map((re,J)=>re.form?.Actions?n.jsx(re.form.Actions,{...U},`actions_${re.name}`):null).filter(Boolean))}return n.jsxs("div",{className:"h-full overflow-auto",children:[X.length>0&&n.jsx("div",{className:E("w-full flex justify-end items-center sticky top-0 right-0 left-0 z-10 bg-opacity-60 bg-slate-200 dark:bg-opacity-60 dark:bg-slate-800 backdrop-blur-md"),children:X}),n.jsxs("div",{className:"pl-4 pr-4 pt-12 pb-16 md:pl-8",children:[n.jsx("div",{className:`w-full py-2 flex items-center mt-${4+(X?8:0)} lg:mt-${8+(X?8:0)} mb-8`,children:n.jsx(j,{className:"mt-4 flex-grow "+V.hideIdFromForm?"mb-2":"mb-0",variant:"h4",children:V.singularName??V.name})}),!y&&n.jsx(Fz,{customId:V.customId,entityId:m,status:e,onChange:C,error:B,entity:i}),m&&n.jsx(Dz,{...Q,initialValues:T,onModified:s,onValuesChanged:z,underlyingChanges:O,entity:i,resolvedCollection:V,formContext:ee,status:e,savingError:F,closeAfterSaveRef:v,autoSave:h})]})]})}})}function Dz(e){const{values:t,onModified:c,onValuesChanged:i,underlyingChanges:a,formContext:l,entity:s,touched:d,setFieldValue:u,resolvedCollection:A,isSubmitting:y,status:h,handleSubmit:I,savingError:_,dirty:g,closeAfterSaveRef:b,autoSave:p}=e,w=g;f.useEffect(()=>{c&&c(w),i&&i(t)},[w,t]),f.useEffect(()=>{!p&&a&&s&&Object.entries(a).forEach(([m,C])=>{const B=t[m];!de(C,B)&&!d[m]&&(console.debug("Updated value from the datasource:",m,C),u(m,C!==void 0?C:null))})},[p,a,s,t,d,u]);const k=n.jsx("div",{className:"flex flex-col gap-8",children:(A.propertiesOrder??Object.keys(A.properties)).map(m=>{const C=A.properties[m];if(!C)return console.warn(`Property ${m} not found in collection ${A.name}`),null;const B=!!a&&Object.keys(a).includes(m)&&!!d[m],P=!p&&y||Cn(C)||!!C.disabled;if(Rn(C))return null;const D={propertyKey:m,disabled:P,property:C,includeDescription:C.description||C.longDescription,underlyingValueHasChanged:B&&!p,context:l,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{id:`form_field_${m}`,children:n.jsx(ie,{children:n.jsx(pn,{...D})})},`field_${A.name}_${m}`)}).filter(Boolean)}),v=y||!w&&h==="existing",K=f.useRef(null);return n.jsxs(Fe.Form,{onSubmit:I,noValidate:!0,children:[n.jsxs("div",{className:"mt-12",ref:K,children:[k,n.jsx(Bz,{containerRef:K})]}),n.jsx("div",{className:"h-14"}),!p&&n.jsxs(kn,{position:"absolute",children:[_&&n.jsx("div",{className:"text-right",children:n.jsx(j,{color:"error",children:_.message})}),n.jsx(te,{variant:"text",disabled:v,type:"reset",children:h==="existing"?"Discard":"Clear"}),n.jsxs(te,{variant:"text",color:"primary",type:"submit",disabled:v,onClick:()=>{b.current=!1},children:[h==="existing"&&"Save",h==="copy"&&"Create copy",h==="new"&&"Create"]}),n.jsxs(te,{variant:"filled",color:"primary",type:"submit",disabled:v,onClick:()=>{b.current=!0},children:[h==="existing"&&"Save and close",h==="copy"&&"Create copy and close",h==="new"&&"Create and close"]})]})]})}function Bi(e,t){try{const c=Object.keys(e);return(t??c).map(a=>{if(e[a]){const l=e[a];return!Le(l)&&l?.dataType==="map"&&l.properties?{[a]:{...l,properties:Bi(l.properties,l.propertiesOrder)}}:{[a]:l}}else return}).filter(a=>a!==void 0).reduce((a,l)=>({...a,...l}),{})}catch(c){return console.error("Error sorting properties",c),e}}function nt(e,t){if(e)return typeof e=="string"?e:e(t)}const Ei="::";function ot(e){return Fi(Ze(e))}function Fi(e){return e.length===1?e[0]:e.reduce((t,c)=>`${t}${Ei}${c}`)}function Ze(e){return e.split("/").filter((t,c)=>c%2===0)}function Nz(e){return e?e.toString():""}function Pi(e){if(!e)return;const t=e.match(/\/(.*?)\/([a-z]*)?$/i);return t?new RegExp(t[1],t[2]||""):new RegExp(e,"")}function Tz(e){return e.match(/\/((?![*+?])(?:[^\r\n[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*])+)\/((?:g(?:im?|mi?)?|i(?:gm?|mg?)?|m(?:gi?|ig?)?)?)/)?!0:!!e.match(/((?![*+?])(?:[^\r\n[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*])+)/)}function Oo(e,t,c,i=300){const a=f.useRef(!1),l=()=>{t(),a.current=!1},s=f.useRef(void 0);f.useEffect(()=>(a.current=!0,clearTimeout(s.current),s.current=setTimeout(l,i),()=>{c&&l()}),[c,e])}function Mz(e,t=300){const[c,i]=f.useState(e);return f.useEffect(()=>{const a=setTimeout(()=>{i(e)},t);return()=>{clearTimeout(a)}},[e,t]),c}function Di(e,t){const c=Ne({propertyKey:"ignore",propertyOrBuilder:e,fields:t});return c?c.dataType==="reference"?!0:c.dataType==="array"?Array.isArray(c.of)?!1:c.of?.dataType==="reference":!1:null}function Oz(e){return n.jsx(gr,{size:e})}function rt(e,t){const c=e?.Icon??gr;return n.jsx(c,{size:t})}function ke(e,t="small",c={}){if(Le(e))return n.jsx(pc,{size:t});{const i=Go(e,c);return rt(i,t)}}function Lz(e,t){return Le(e)?"#888":Go(e,t)?.color??"#666"}function wn(e,t){if(typeof e=="object"){if(t in e)return e[t];if(t.includes(".")){const c=t.split("."),i=e[c[0]];if(typeof i=="object"&&i.dataType==="map"&&i.properties)return wn(i.properties,c.slice(1).join("."))}}}function tt(e,t){if(typeof e=="object"){if(t in e)return e[t];if(t.includes(".")){const c=t.split("."),i=e[c[0]];if(i.dataType==="map"&&i.properties)return tt(i.properties,c.slice(1).join("."))}}}function Qz(e){return e.replace(/\.([^.]*)/g,"[$1]")}function Ni(e,t){if(!t)return e;const c={};return t.forEach(i=>{const a=wn(e,i);typeof a=="object"&&a.dataType==="map"&&a.properties&&(c[i]={...a,properties:Ni(a.properties,a.propertiesOrder??[])}),a&&(c[i]=a)}),c}const Lo={read:!0,edit:!0,create:!0,delete:!0};function uo(e,t,c,i){const a=e.permissions;if(a===void 0)return Lo;if(typeof a=="object")return a;if(typeof a=="function")return a({entity:i,user:t.user,authController:t,collection:e,pathSegments:c});throw console.error("Permissions:",a),Error("New type of permission added and not mapped")}function ct(e,t,c,i){return uo(e,t,c,i).edit??Lo.edit}function Qo(e,t,c,i){return uo(e,t,c,i).create??Lo.create}function it(e,t,c,i){return uo(e,t,c,i).delete??Lo.delete}function Ti(e,t){if(e&&(e=No(e),e in Wo))return e in Wo?n.jsx(r,{iconKey:e,size:"medium",className:t}):void 0}function Vo(e,t){const c=Ti(e.icon,t);if(e?.icon&&c)return c;let i=No(("singularName"in e?e.singularName:void 0)??e.name),a;i in Wo&&(a=i),a||(i=No(e.path),i in Wo&&(a=i));const l=_r.length;return a||(a=_r[Jt(e.path)%l]),n.jsx(r,{iconKey:a,size:"medium",className:t})}const Wo=oc.reduce((e,t)=>(e[t]=t,e),{});function Vz(e,t){if(t!==void 0&&t===1)return e;const c={"(quiz)$":"$1zes","^(ox)$":"$1en","([m|l])ouse$":"$1ice","(matr|vert|ind)ix|ex$":"$1ices","(x|ch|ss|sh)$":"$1es","([^aeiouy]|qu)y$":"$1ies","(hive)$":"$1s","(?:([^f])fe|([lr])f)$":"$1$2ves","(shea|lea|loa|thie)f$":"$1ves",sis$:"ses","([ti])um$":"$1a","(tomat|potat|ech|her|vet)o$":"$1oes","(bu)s$":"$1ses","(alias)$":"$1es","(octop)us$":"$1i","(ax|test)is$":"$1es","(us)$":"$1es","([^s]+)$":"$1s"},i={move:"moves",foot:"feet",goose:"geese",sex:"sexes",child:"children",man:"men",tooth:"teeth",person:"people"};if(["sheep","fish","deer","moose","series","species","money","rice","information","equipment","bison","cod","offspring","pike","salmon","shrimp","swine","trout","aircraft","hovercraft","spacecraft","sugar","tuna","you","wood"].indexOf(e.toLowerCase())>=0)return e;for(const l in i){const s=new RegExp(`${l}$`,"i"),d=i[l];if(s.test(e))return e.replace(s,d)}for(const l in c){const s=new RegExp(l,"i");if(s.test(e))return e.replace(s,c[l])}return e}function Wz(e,t){if(t!==void 0&&t!==1)return e;const c={"(quiz)zes$":"$1","(matr)ices$":"$1ix","(vert|ind)ices$":"$1ex","^(ox)en$":"$1","(alias)es$":"$1","(octop|vir)i$":"$1us","(cris|ax|test)es$":"$1is","(shoe)s$":"$1","(o)es$":"$1","(bus)es$":"$1","([m|l])ice$":"$1ouse","(x|ch|ss|sh)es$":"$1","(m)ovies$":"$1ovie","(s)eries$":"$1eries","([^aeiouy]|qu)ies$":"$1y","([lr])ves$":"$1f","(tive)s$":"$1","(hive)s$":"$1","(li|wi|kni)ves$":"$1fe","(shea|loa|lea|thie)ves$":"$1f","(^analy)ses$":"$1sis","((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$":"$1$2sis","([ti])a$":"$1um","(n)ews$":"$1ews","(h|bl)ouses$":"$1ouse","(corpse)s$":"$1","(us)es$":"$1",s$:""},i={move:"moves",foot:"feet",goose:"geese",sex:"sexes",child:"children",man:"men",tooth:"teeth",person:"people"};if(["sheep","fish","deer","moose","series","species","money","rice","information","equipment","bison","cod","offspring","pike","salmon","shrimp","swine","trout","aircraft","hovercraft","spacecraft","sugar","tuna","you","wood"].indexOf(e.toLowerCase())>=0)return e;for(const l in i){const s=new RegExp(`${i[l]}$`,"i");if(s.test(e))return e.replace(s,l)}for(const l in c){const s=new RegExp(l,"i");if(s.test(e))return e.replace(s,c[l])}return e}function Mi(e,t,c,i=3){const a=Object.keys(e.properties);let l=c?.filter(s=>a.includes(s));return l&&l.length>0?l:(l=a,l.filter(s=>{const d=e.properties[s];return d&&!Le(d)&&!Di(d,t)}).slice(0,i))}function Oi(e,t=166){let c;function i(...a){const l=()=>{e.apply(this,a)};clearTimeout(c),c=setTimeout(l,t)}return i.clear=()=>{clearTimeout(c)},i}function at(e,t=""){return e&&Object.keys(e).reduce((c,i)=>{const a=t?`${t}.${i}`:i;return typeof e[i]=="object"&&e[i]!==null?Array.isArray(e[i])?e[i].forEach((l,s)=>{Object.assign(c,at(l,`${a}[${s}]`))}):Object.assign(c,at(e[i],a)):c[a]=e[i],c},{})}function Li(e){return e.reduce((t,c)=>(Object.entries(c).forEach(([i,a])=>{if(Array.isArray(a)&&(t[i]=Math.max(t[i]||0,a.length)),typeof a=="object"&&a!==null){const l=Li([a]);Object.entries(l).forEach(([s,d])=>{const u=`${i}.${s}`;t[u]=Math.max(t[u]||0,d)})}}),t),{})}function Qi(e){return Object.keys(lt).includes(e)}const lt={text_field:{key:"text_field",name:"Text field",description:"Simple short text",Icon:Pc,color:"#2d7ff9",property:{dataType:"string",Field:Mn}},multiline:{key:"multiline",name:"Multiline",description:"Text with multiple lines",Icon:Dc,color:"#2d7ff9",property:{dataType:"string",multiline:!0,Field:Mn}},markdown:{key:"markdown",name:"Markdown",description:"Text with advanced markdown syntax",Icon:bc,color:"#2d7ff9",property:{dataType:"string",markdown:!0,Field:mi}},url:{key:"url",name:"Url",description:"Text with URL validation",Icon:wc,color:"#154fb3",property:{dataType:"string",url:!0,Field:Mn}},email:{key:"email",name:"Email",description:"Text with email validation",Icon:_c,color:"#154fb3",property:{dataType:"string",email:!0,Field:Mn}},select:{key:"select",name:"Select/enum",description:"Select one text value from within an enumeration",Icon:Kc,color:"#4223c9",property:{dataType:"string",enumValues:[],Field:zr}},multi_select:{key:"multi_select",name:"Multi select",description:"Select multiple text values from within an enumeration",Icon:Cc,color:"#4223c9",property:{dataType:"array",of:{dataType:"string",enumValues:[]},Field:$r}},number_input:{key:"number_input",name:"Number input",description:"Simple number field with validation",Icon:Bc,color:"#bec920",property:{dataType:"number",Field:Mn}},number_select:{key:"number_select",name:"Number select",description:"Select a number value from within an enumeration",Icon:pr,color:"#bec920",property:{dataType:"number",enumValues:[],Field:zr}},multi_number_select:{key:"multi_number_select",name:"Multiple number select",description:"Select multiple number values from within an enumeration",Icon:pr,color:"#bec920",property:{dataType:"array",of:{dataType:"number",enumValues:[]},Field:$r}},file_upload:{key:"file_upload",name:"File upload",description:"Input for uploading single files",Icon:Nc,color:"#f92d9a",property:{dataType:"string",storage:{storagePath:"{path}"},Field:Jr}},multi_file_upload:{key:"multi_file_upload",name:"Multiple file upload",description:"Input for uploading multiple files",Icon:fc,color:"#f92d9a",property:{dataType:"array",of:{dataType:"string",storage:{storagePath:"{path}"}},Field:Jr}},reference:{key:"reference",name:"Reference",description:"The value refers to a different collection",Icon:vc,color:"#ff0042",property:{dataType:"reference",Field:Ii}},multi_references:{key:"multi_references",name:"Multiple references",description:"Multiple values that refer to a different collection",Icon:tc,color:"#ff0042",property:{dataType:"array",of:{dataType:"reference"},Field:li}},switch:{key:"switch",name:"Switch",description:"Boolean true or false field (or yes or no, 0 or 1...)",Icon:Ic,color:"#20d9d2",property:{dataType:"boolean",Field:hi}},date_time:{key:"date_time",name:"Date/time",description:"A date time select field",Icon:Fc,color:"#8b46ff",property:{dataType:"date",Field:gi}},group:{key:"group",name:"Group",description:"Group of multiple fields",Icon:hr,color:"#ff9408",property:{dataType:"map",properties:{},Field:bi}},key_value:{key:"key_value",name:"Key-value",description:"Flexible field that allows the user to add multiple key-value pairs",Icon:hr,color:"#ff9408",property:{dataType:"map",keyValue:!0,Field:pi}},repeat:{key:"repeat",name:"Repeat/list",description:"A field that gets repeated multiple times (e.g. multiple text fields)",Icon:mr,color:"#ff9408",property:{dataType:"array",of:{dataType:"string"},Field:wi}},custom_array:{key:"custom_array",name:"Custom array",description:"A field that saved its value as an array of custom objects",Icon:mr,color:"#ff9408",property:{dataType:"array",of:[],Field:vi}},block:{key:"block",name:"Block",description:"A complex field that allows the user to compose different fields together, with a key->value format",Icon:Tc,color:"#ff9408",property:{dataType:"array",oneOf:{properties:{}},Field:ki}}};function Go(e,t){const c=dt(e),i=st(e);if(!i){console.error("No field id found for property",e);return}const a=lt[i],l=c?t[c]:void 0;return qe(a??{},l??{})}function st(e){if(e.dataType==="string")return e.multiline?"multiline":e.markdown?"markdown":e.storage?"file_upload":e.url?"url":e.email?"email":e.enumValues?"select":"text_field";if(e.dataType==="number")return e.enumValues?"number_select":"number_input";if(e.dataType==="map"){if(e.keyValue)return"key_value";if(e.properties)return"group"}else if(e.dataType==="array"){const t=e.of;return e.oneOf?"block":Array.isArray(t)?"custom_array":Le(t)?"repeat":t?.dataType==="string"&&t.enumValues?"multi_select":t?.dataType==="number"&&t.enumValues?"multi_number_select":t?.dataType==="string"&&t.storage?"multi_file_upload":t?.dataType==="reference"?"multi_references":"repeat"}else{if(e.dataType==="boolean")return"switch";if(e.dataType==="date")return"date_time";if(e.dataType==="reference")return"reference"}console.error("Unsupported field config mapping",e)}function dt(e){return e.fieldConfig?e.fieldConfig:st(e)}const Me=({collection:e,path:t,entityId:c,values:i,previousValues:a,userConfigPersistence:l,fields:s})=>{const d=l?.getCollectionConfig(t),u=rn(d,"properties"),A=eo(e.properties),y=i??A,h=a??i??A,I=Object.entries(e.properties).map(([b,p])=>{const w=y?Fe.getIn(y,b):void 0;return{[b]:Ne({propertyKey:b,propertyOrBuilder:p,values:y,previousValues:h,path:t,propertyValue:w,entityId:c,fields:s})}}).filter(b=>b!==null).reduce((b,p)=>({...b,...p}),{}),_=qe(I,u),g=Object.entries(_).filter(([b,p])=>!!p?.dataType).map(([b,p])=>({[b]:p})).reduce((b,p)=>({...b,...p}),{});return{...e,properties:g,originalCollection:e}};function Ne({propertyOrBuilder:e,propertyValue:t,fromBuilder:c=!1,...i}){if(typeof e=="object"&&"resolved"in e)return e;let a=null;if(e)if(Le(e)){const l=i.path;if(!l)throw Error("Trying to resolve a property builder without specifying the entity path");const s=e({...i,path:l,propertyValue:t,values:i.values??{},previousValues:i.previousValues??i.values??{}});if(!s)return console.debug("Property builder not returning `Property` so it is not rendered",l,i.entityId,e),null;a=Ne({...i,propertyValue:t,propertyOrBuilder:s,fromBuilder:!0})}else{const l=e;if(l.dataType==="map"&&l.properties){const s=ut({...i,properties:l.properties,propertyValue:t});a={...l,resolved:!0,fromBuilder:c,properties:s}}else l.dataType==="array"?a=sn({property:l,propertyValue:t,fromBuilder:c,...i}):(l.dataType==="string"||l.dataType==="number")&&l.enumValues&&(a=ft(l,c))}else return null;if(a||(a={...e,resolved:!0,fromBuilder:c}),a.fieldConfig&&!Qi(a.fieldConfig)){const l=i.fields;if(!l)throw Error(`Trying to resolve a property with key ${a.fieldConfig} that inherits from a custom field but no custom fields were provided. Use the property 'fields' in your top level component to provide them`);const s=l[a.fieldConfig];if(!s)throw Error(`Trying to resolve a property that inherits from a custom field but no custom field with id ${a.fieldConfig} was found. Check the \`fields\` in your top level component`);if(s.property){const d=Ne({propertyOrBuilder:s.property,propertyValue:t,...i});d&&(a=qe(d,a))}}return a?{...a,resolved:!0}:null}function sn({propertyKey:e,property:t,propertyValue:c,...i}){if(t.of){if(Array.isArray(t.of))return{...t,resolved:!0,fromBuilder:i.fromBuilder,resolvedProperties:t.of.map((a,l)=>Ne({propertyKey:`${e}.${l}`,propertyOrBuilder:a,propertyValue:Array.isArray(c)?c[l]:void 0,...i,index:l}))};{const a=t.of,l=Array.isArray(c)?c.map((d,u)=>Ne({propertyKey:`${e}.${u}`,propertyOrBuilder:a,propertyValue:d,...i,index:u})).filter(d=>!!d):[],s=Ne({propertyKey:`${e}`,propertyOrBuilder:a,propertyValue:void 0,...i});if(!s)throw Error("When using a property builder as the 'of' prop of an ArrayProperty, you must return a valid child property");return{...t,resolved:!0,fromBuilder:i.fromBuilder,of:s,resolvedProperties:l}}}else if(t.oneOf){const a=t.oneOf?.typeField??xn,l=Array.isArray(c)?c.map((d,u)=>{const A=d&&d[a],y=t.oneOf?.properties[A];return!A||!y?null:Ne({propertyKey:`${e}.${u}`,propertyOrBuilder:y,propertyValue:c,...i})}).filter(d=>!!d):[],s=ut({properties:t.oneOf.properties,propertyValue:void 0,...i});return{...t,resolved:!0,oneOf:{...t.oneOf,properties:s},fromBuilder:i.fromBuilder,resolvedProperties:l}}else{if(t.Field)return{...t,resolved:!0,fromBuilder:i.fromBuilder};throw Error("The array property needs to declare an 'of' or a 'oneOf' property, or provide a custom `Field`")}}function ut({properties:e,propertyValue:t,...c}){return Object.entries(e).map(([i,a])=>({[i]:Ne({propertyKey:i,propertyOrBuilder:a,propertyValue:t&&typeof t=="object"?rn(t,i):void 0,...c})})).filter(i=>i!==null).reduce((i,a)=>({...i,...a}),{})}function ft(e,t){return typeof e.enumValues=="object"?{...e,resolved:!0,enumValues:tn(e.enumValues)?.filter(c=>c&&c.id&&c.label)??[],fromBuilder:t??!1}:e}function Gz(e){return typeof e=="object"?Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:c):Array.isArray(e)?e:void 0}function At(e,t){return typeof e=="string"?t?.find(c=>c.key===e):e}function _t(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=pe(t).split("/"),l=bo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(y=>y.alias===u||y.path===u);if(A){const y=A.alias??A.path,h=i&&i.length>0?i+"/"+y:y;s.push({type:"collection",path:h,collection:A});const I=pe(pe(t).replace(u,"")),_=I.length>0?I.split("/"):[];if(_.length>0){const g=_[0],b=h+"/"+g;if(s.push({type:"entity",entityId:g,path:h,parentCollection:A}),_.length>1){const p=_.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);const w=A.entityViews,k=w&&w.map(v=>At(v,e.contextEntityViews)).filter(Boolean).find(v=>v.key===p);if(k){const v=i&&i.length>0?i+"/"+k.key:k.key;s.push({type:"custom_view",path:v,view:k})}else A.subcollections&&s.push(..._t({path:p,collections:A.subcollections,currentFullPath:b,contextEntityViews:e.contextEntityViews}))}}break}}return s}function Vi(e){return n.jsx(_e,{...e,tooltipClassName:"!text-red-500 bg-red-50",children:e.children})}function we({title:e,error:t,tooltip:c}){const i=t instanceof Error?t.message:t,a=n.jsxs("div",{className:"flex items-center m-2",children:[n.jsx(br,{size:"small",color:"error"}),n.jsxs("div",{className:"pl-2",children:[e&&n.jsx(j,{variant:"body2",className:"font-medium",children:e}),n.jsx(j,{variant:"body2",children:i})]})]});return c?n.jsx(Vi,{title:c,children:a}):a}function yt({entity:e,collection:t,path:c,className:i}){const a=ne(),l=f.useMemo(()=>Me({collection:t,path:c,entityId:e.id,values:e.values,fields:a.fields}),[t,c,e]),s=ne(),d=l.properties;return n.jsx("div",{className:"w-full "+i,children:n.jsxs("div",{className:"w-full mb-4",children:[n.jsxs("div",{className:E(ue,"flex justify-between py-2 border-b last:border-b-0"),children:[n.jsx("div",{className:"flex items-center w-1/4",children:n.jsx("span",{className:"pl-2 text-sm text-gray-600",children:"Id"})}),n.jsxs("div",{className:"flex-grow p-2 ml-2 w-3/4 text-gray-900 dark:text-white min-h-[56px] flex items-center",children:[n.jsx("span",{className:"flex-grow mr-2",children:e.id}),s?.entityLinkBuilder&&n.jsx("a",{href:s.entityLinkBuilder({entity:e}),rel:"noopener noreferrer",target:"_blank",children:n.jsx(R,{children:n.jsx(ro,{size:"small"})})})]})]}),Object.entries(d).map(([u,A])=>{const y=e.values[u];return n.jsxs("div",{className:E(ue,"flex justify-between py-2 border-b last:border-b-0"),children:[n.jsx("div",{className:"flex items-center w-1/4",children:n.jsx("span",{className:"pl-2 text-sm text-gray-600",children:A.name})}),n.jsx("div",{className:"flex-grow p-2 ml-2 w-3/4 text-gray-900 dark:text-white min-h-[56px] flex items-center",children:n.jsx(Be,{propertyKey:u,value:y,entity:e,property:A,size:"medium"})})]},`reference_previews_${u}`)})]})})}function zz(e){return e.dataType==="boolean"?"center":e.dataType==="number"?e.enumValues?"left":"right":e.dataType==="date"?"right":"left"}function Wi(e){if(e.columnWidth)return e.columnWidth;if(e.dataType==="string")return e.url?280:e.storage?160:e.enumValues?200:e.multiline||e.markdown?300:(e.email,200);if(e.dataType==="array"){const t=e;return t.of?Array.isArray(e.of)?300:Wi(t.of):300}else return e.dataType==="number"?e.enumValues?200:140:e.dataType==="map"?360:e.dataType==="date"?200:e.dataType==="reference"?220:e.dataType==="boolean"?140:200}function ht(e){return`subcollection:${e.alias??e.path}`}function zo(e){return parseInt(e,10)||0}const Hz={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Gi(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const gt=ce.forwardRef(function(t,c){const{onChange:i,onScroll:a,onResize:l,maxRows:s,minRows:d=1,style:u,value:A,onFocus:y,onBlur:h,sizeRef:I,..._}=t,{current:g}=ce.useRef(A!=null),b=ce.useRef(null),p=Uz(c,b),w=ce.useRef(null),k=ce.useRef(0),[v,K]=ce.useState({outerHeightStyle:0}),m=ce.useCallback(()=>{const D=b.current;if(typeof window>"u")return{outerHeightStyle:0};const T=window.getComputedStyle(D);if(T.width==="0px")return{outerHeightStyle:0};const N=I?.current??w.current,q=w.current;N.style.width=T.width,q.value=D.value||t.placeholder||"x",q.value.slice(-1)===`
680
- `&&(q.value+=" ");const z=T.boxSizing,V=zo(T.paddingBottom)+zo(T.paddingTop),oe=zo(T.borderBottomWidth)+zo(T.borderTopWidth),O=N.scrollHeight;q.value="x";const H=N.scrollHeight;let Z=O;d&&(Z=Math.max(Number(d)*H,Z)),s&&(Z=Math.min(Number(s)*H,Z)),Z=Math.max(Z,H);const L=Z+(z==="border-box"?V+oe:0),W=Math.abs(Z-O)<=1;return{outerHeightStyle:L,overflow:W}},[s,d,t.placeholder]),C=(D,S)=>{const{outerHeightStyle:T,overflow:N}=S;return k.current<20&&(T>0&&Math.abs((D.outerHeightStyle||0)-T)>1||D.overflow!==N)?(k.current+=1,{overflow:N,outerHeightStyle:T}):(process.env.NODE_ENV!=="production"&&k.current===20&&console.error(["MUI: Too many re-renders. The layout is unstable.","TextareaAutosize limits the number of renders to prevent an infinite loop."].join(`
681
- `)),D)},B=ce.useCallback(()=>{const D=m();Gi(D)||(l&&l(D),K(S=>C(S,D)))},[m,l]),P=()=>{const D=m();Gi(D)||La.flushSync(()=>{K(S=>C(S,D))})};ce.useEffect(()=>{const D=Oi(()=>{k.current=0,b.current&&P()});let S;const T=b.current,N=window;if(!(typeof window>"u"))return N.addEventListener("resize",D),typeof ResizeObserver<"u"&&(S=new ResizeObserver(D),S.observe(T)),()=>{D.clear(),N.removeEventListener("resize",D),S&&S.disconnect()}}),f.useLayoutEffect(()=>{B()}),ce.useEffect(()=>{k.current=0},[A]);const F=D=>{k.current=0,g||B(),i&&i(D)};return n.jsxs(ce.Fragment,{children:[n.jsx("textarea",{value:A,onChange:F,className:t.className,ref:p,onFocus:y,onBlur:h,rows:d,style:{height:v.outerHeightStyle,overflow:v.overflow?"hidden":void 0,...u},onScroll:a,..._}),n.jsx("textarea",{"aria-hidden":!0,className:t.shadowClassName,readOnly:!0,ref:w,tabIndex:-1,style:{...Hz.shadow,...u,padding:0}})]})});function Uz(...e){return ce.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(c=>{Yz(c,t)})},e)}function Yz(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function $z(e){const t=f.useRef(null),{disabled:c,value:i,multiline:a,updateValue:l,focused:s}=e,d=f.useRef(i),[u,A]=f.useState(i),y=f.useRef(!1);f.useEffect(()=>{d.current!==i&&i!==u&&A(i),d.current=i},[i]);const h=f.useCallback(()=>{!i&&!u||u!==i&&(d.current=u,l(u))},[u,l,i]);return Oo(u,h,!s,2e3),f.useEffect(()=>{t.current&&s&&!y.current?(y.current=!0,t.current.focus({preventScroll:!0}),t.current.selectionStart=t.current.value.length,t.current.selectionEnd=t.current.value.length):y.current=s},[s,t]),n.jsx(gt,{ref:t,style:{padding:0,margin:0,width:"100%",color:"unset",fontWeight:"unset",lineHeight:"unset",fontSize:"unset",fontFamily:"unset",background:"unset",border:"unset",resize:"none",outline:"none"},value:u??"",onChange:I=>{const _=I.target.value;(a||!_.endsWith(`
682
- `))&&A(_)},onFocus:()=>{y.current=!0},onBlur:()=>{y.current=!1,h()}})}function It(e){const{name:t,enumValues:c,error:i,internalValue:a,disabled:l,small:s,focused:d,updateValue:u,multiple:A,valueType:y}=e,h=Array.isArray(a)&&A||!Array.isArray(a)&&!A,I=f.useRef(null);f.useEffect(()=>{I.current&&d&&I.current?.focus({preventScroll:!0})},[d,I]);const _=f.useCallback(b=>{if(y==="number")if(A){const p=b.map(w=>parseFloat(w));u(p)}else u(parseFloat(b));else if(y==="string")u(b||null);else throw Error("Missing mapping in TableSelect")},[A,u,y]),g=(b,p)=>A&&Array.isArray(b)?n.jsx(Qr,{value:b,name:t,enumValues:c,size:s?"small":"medium"},`${b}-${p}`):n.jsx(Ee,{enumKey:b,enumValues:c,size:s?"small":"medium"},`${b}-${p}`);return A?n.jsx(Ur,{inputRef:I,containerClassName:"w-full h-full",className:"w-full h-full p-0 bg-transparent",position:"item-aligned",disabled:l,padding:!1,includeFocusOutline:!1,value:h?a.map(b=>b.toString()):[],onMultiValueChange:_,renderValue:g,children:c?.map(b=>n.jsx(Yr,{value:String(b.id),children:n.jsx(Ee,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))}):n.jsx(Xe,{inputRef:I,className:"w-full h-full p-0 bg-transparent",position:"item-aligned",disabled:l,multiple:A,padding:!1,includeFocusOutline:!1,value:h?A?a.map(b=>b.toString()):a?.toString():A?[]:"",onValueChange:_,onMultiValueChange:_,renderValue:g,children:c?.map(b=>n.jsx(xe,{value:String(b.id),children:n.jsx(Ee,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))})}function jz(e){const{align:t,value:c,updateValue:i,focused:a}=e,l=c&&typeof c=="number"?c.toString():"",[s,d]=f.useState(l),u=f.useRef(c);f.useEffect(()=>{u.current!==c&&String(c)!==s&&d(c?c.toString():null),u.current=c},[c]);const A=f.useCallback(()=>{if(s!==l)if(s!=null){const I=parseFloat(s);if(isNaN(I))return;I!=null&&i(I)}else i(null)},[s,c]);Oo(s,A,!a,2e3),f.useEffect(()=>{!a&&l!==s&&d(c!=null?c.toString():null)},[c,a]);const y=f.useRef(null);f.useEffect(()=>{y.current&&a&&y.current.focus({preventScroll:!0})},[a,y]);const h=/^-?[0-9]+[,.]?[0-9]*$/;return n.jsx("input",{ref:y,className:"w-full text-right p-0 m-0 bg-transparent border-none resize-none outline-none font-normal leading-normal text-unset",style:{textAlign:t},value:s??"",onChange:I=>{const _=I.target.value.replace(",",".");_.length===0&&d(null),(h.test(_)||_.startsWith("-"))&&d(_)}})}function qz(e){const{internalValue:t,updateValue:c,focused:i}=e,a=f.useRef(null);return f.useEffect(()=>{a.current&&i&&a.current.focus({preventScroll:!0})},[i,a]),n.jsx(Zr,{ref:a,size:"small",value:!!t,onValueChange:c})}function Jz(e){const{disabled:t,error:c,mode:i,internalValue:a,updateValue:l}=e;return n.jsx(Vn,{value:a??void 0,onChange:s=>l(s),size:"medium",invisible:!0,className:"w-full h-full",inputClassName:"w-full h-full",mode:i})}function zi({showError:e,disabled:t,showExpandIcon:c,selected:i,openPopup:a,children:l}){const s=f.useRef(null),d=f.useCallback(()=>{if(a){const A=s&&s?.current?.getBoundingClientRect();a(A)}},[]),u=f.useRef();return f.useEffect(()=>{u.current&&i&&u.current.focus({preventScroll:!0})},[i]),n.jsx(n.Fragment,{children:(e||!t&&c)&&n.jsxs("div",{ref:s,className:"absolute top-0.5 right-0.5 flex items-center",children:[i&&l,i&&!t&&c&&n.jsx(R,{ref:u,color:"inherit",size:"small",onClick:d,children:n.jsxs("svg",{fill:"#888",width:"20",height:"20",viewBox:"0 0 24 24",children:[n.jsx("path",{className:"cls-2",d:"M20,5a1,1,0,0,0-1-1L14,4h0a1,1,0,0,0,0,2h2.57L13.29,9.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L18,7.42V10a1,1,0,0,0,1,1h0a1,1,0,0,0,1-1Z"}),n.jsx("path",{className:"cls-2",d:"M10.71,13.29a1,1,0,0,0-1.42,0L6,16.57V14a1,1,0,0,0-1-1H5a1,1,0,0,0-1,1l0,5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2H7.42l3.29-3.29A1,1,0,0,0,10.71,13.29Z"})]})}),e&&n.jsx(Vi,{side:"left",className:"flex items-center justify-center",style:{width:32,height:32},title:e.message,children:n.jsx(yc,{size:"small",color:"error"})})]})})}const Zz="max-w-full box-border relative pt-[2px] items-center border border-transparent outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",Xz="pt-0 border-2 border-solid",xz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500 bg-green-50 dark:bg-green-900",Rz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500 bg-red-50 dark:bg-red-900";function e3(e){const{propertyKey:t,error:c,selected:i,openPopup:a,value:l,disabled:s,property:d,entity:u,path:A,previewSize:y,updateValue:h}=e,I=Bn(),{internalValue:_,setInternalValue:g,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:v}=di({entityValues:u.values,entityId:u.id,path:A,property:d,propertyKey:t,storageSource:I,onChange:h,value:l,disabled:s});return n.jsx(n3,{internalValue:_,setInternalValue:g,name:t,disabled:s,autoFocus:!1,openPopup:a,error:c,selected:i,property:d,onChange:h,entity:u,storagePathBuilder:k,storage:p,multipleFilesSupported:v,onFilesAdded:b,onFileUploadComplete:w,previewSize:y})}function n3({property:e,name:t,internalValue:c,setInternalValue:i,openPopup:a,entity:l,selected:s,error:d,onChange:u,multipleFilesSupported:A,previewSize:y,disabled:h,autoFocus:I,storage:_,onFilesAdded:g,onFileUploadComplete:b,storagePathBuilder:p}){const[w,k]=f.useState(!1),v=A&&y==="medium"?"small":y;if(A){const O=e;if(Array.isArray(O.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(O.of){if(O.of.dataType!=="string")throw Error("Storage field using array must be of data type string")}else throw Error("Storage field using array must be of data type string")}const K=_?.metadata,m=!!c,C=an(),{open:B,getRootProps:P,getInputProps:F,isDragActive:D,isDragAccept:S,isDragReject:T}=Ro.useDropzone({accept:_.acceptedFiles?_.acceptedFiles.map(O=>({[O]:[]})).reduce((O,H)=>({...O,...H}),{}):void 0,disabled:h,maxSize:_.maxSize,noClick:!0,noKeyboard:!0,onDrop:g,onDropRejected:(O,H)=>{for(const Z of O)for(const L of Z.errors)C.open({type:"error",message:`Error uploading file: File is larger than ${_.maxSize} bytes`})}}),{...N}=P(),q=A?"Drag 'n' drop some files here, or click here to edit":"Drag 'n' drop a file here, or click here edit",z=A?e.of:e,V=f.useMemo(()=>Pn(v),[v]),oe=!h&&d;return n.jsxs("div",{...N,onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>k(!1),className:E(Zz,"relative w-full h-full flex",`justify-${m?"start":"center"}`,D?Xz:"",S?xz:"",T?Rz:""),children:[n.jsx("input",{autoFocus:I,...F()}),c.map((O,H)=>{let Z;return O.storagePathOrDownloadUrl?Z=n.jsx(o3,{property:z,value:O.storagePathOrDownloadUrl,entity:l,size:v},`storage_preview_${H}`):O.file&&(Z=n.jsx(_i,{entry:O,metadata:K,storagePath:p(O.file),onFileUploadComplete:b,imageSize:V,simple:!0},`storage_progress_${H}`)),Z}),!c&&n.jsx("div",{className:"flex-grow m-2 max-w-[200px]",onClick:B,children:n.jsx(j,{className:"text-gray-400 dark:text-gray-600",variant:"body2",align:"center",children:q})}),n.jsx(zi,{showError:oe,disabled:h,showExpandIcon:!0,selected:s,openPopup:h?void 0:a,children:n.jsx(R,{color:"inherit",size:"small",onClick:B,children:n.jsx(Ac,{size:"small",className:"text-gray-500"})})})]})}function o3({property:e,value:t,size:c,entity:i}){return n.jsx("div",{className:"relative m-2",children:t&&n.jsx(ie,{children:n.jsx(Be,{propertyKey:"ignore",value:t,property:e,entity:i,size:c})})})}function Hi(e){const{name:t,internalValue:c,updateValue:i,multiselect:a,path:l,size:s,previewProperties:d,title:u,disabled:A,forceFilter:y}=e,[h,I]=f.useState(!1),_=f.useCallback(()=>I(!0),[]),g=f.useCallback(()=>I(!1),[]),p=fe().getCollection(l);if(!p)throw Error(`Couldn't find the corresponding collection view for the path: ${l}`);const w=f.useCallback(F=>{i(F?hn(F):null)},[i]),k=f.useCallback(F=>{i(F.map(D=>hn(D)))},[i]),v=c?Array.isArray(c)?c.map(F=>F.id):c.id?[c.id]:[]:[],K=io({multiselect:a,path:l,collection:p,onMultipleEntitiesSelected:k,onSingleEntitySelected:w,selectedEntityIds:v,forceFilter:y}),m=f.useCallback(()=>{A||K.open()},[A,K]),C=!c||Array.isArray(c)&&c.length===0,B=()=>c instanceof je?n.jsx(nn,{onClick:A?void 0:m,size:ln(s),reference:c,onHover:h,disabled:!l,previewProperties:d}):n.jsx(Po,{onClick:A?void 0:m,size:ln(s),children:n.jsx(we,{title:"Value is not a reference.",error:"Click to edit"})}),P=()=>Array.isArray(c)?n.jsx(n.Fragment,{children:c.map((F,D)=>n.jsx("div",{className:"m-1 w-full",children:n.jsx(nn,{onClick:A?void 0:m,size:"tiny",reference:F,onHover:h,disabled:!l,previewProperties:d})},`preview_array_ref_${t}_${D}`))}):n.jsx(we,{error:"Data is not an array of references"});return p?n.jsxs("div",{className:"w-full",onMouseEnter:_,onMouseMove:_,onMouseLeave:g,children:[c&&!a&&B(),c&&a&&P(),C&&n.jsxs(te,{onClick:m,size:"small",variant:"outlined",color:"primary",children:["Edit ",u]})]}):n.jsx(we,{error:"The specified collection does not exist"})}function Ln(e){switch(e){case"xl":return 400;case"l":return 280;case"m":return 140;case"s":return 80;case"xs":return 54;default:throw Error("Missing mapping for collection size -> height")}}const r3=({justifyContent:e,scrollable:t,faded:c,fullHeight:i,children:a})=>n.jsx("div",{className:E("flex flex-col max-h-full w-full",{"items-start":c||t}),style:{justifyContent:e,height:i?"100%":void 0,overflow:t?"auto":void 0,WebkitMaskImage:c?"linear-gradient(to bottom, black 60%, transparent 100%)":void 0,maskImage:c?"linear-gradient(to bottom, black 60%, transparent 100%)":void 0},children:a}),bt=f.memo(function({children:t,actions:c,size:i,selected:a,disabled:l,disabledTooltip:s,saved:d,error:u,align:A,allowScroll:y,removePadding:h,fullHeight:I,onSelect:_,width:g,hideOverflow:b=!0,showExpandIcon:p=!0}){const[w,k]=er(),v=f.useRef(null);Do(v,()=>{a&&_&&_(void 0)},!!(a&&_));const[K,m]=f.useState(!1),C=f.useMemo(()=>Ln(i),[i]),[B,P]=f.useState(!1),[F,D]=f.useState(d),S=!l&&u;f.useEffect(()=>{d&&D(!0);const L=setTimeout(()=>{D(!1)},800);return()=>{clearTimeout(L)}},[d]);let T=0;if(!h)switch(i){case"l":case"xl":T=4;break;case"m":T=2;break;case"s":default:T=1;break}let N;switch(A){case"right":N="flex-end";break;case"center":N="center";break;case"left":default:N="flex-start"}const q=f.useCallback(()=>{if(!_)return;const L=v&&v?.current?.getBoundingClientRect();l?_(void 0):!a&&L&&_(L)},[v,_,a,l]),z=f.useCallback(L=>{q(),L.stopPropagation()},[q]);f.useEffect(()=>{if(k){const L=k.height>C;K!==L&&m(L)}},[k,K,C]);const V=!S&&a,oe=!l&&y&&K,O=!l&&!y&&K,H=f.useCallback(()=>P(!0),[]),Z=f.useCallback(()=>P(!1),[]);return n.jsxs("div",{ref:v,className:E("transition-colors duration-100 ease-in-out",`flex relative h-full rounded-md p-${T} border border-4 border-opacity-75`,B&&!l?"bg-gray-50 dark:bg-gray-900":"",d?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",!V&&!F&&!S?"border-transparent":"",b?"overflow-hidden":"",V?"bg-gray-50 dark:bg-gray-900":"",V&&!F?"border-primary":"",F?"border-green-500 ":"",S?"border-red-500":""),style:{justifyContent:N,alignItems:l||!K?"center":void 0,width:g??"100%",textAlign:A},tabIndex:a||l?void 0:0,onFocus:z,onMouseEnter:H,onMouseMove:H,onMouseLeave:Z,children:[n.jsxs(ie,{children:[I&&!O&&t,(!I||O)&&n.jsx(r3,{fullHeight:I??!1,justifyContent:N,scrollable:oe??!1,faded:O,children:!I&&n.jsx("div",{ref:w,style:{display:"flex",width:"100%",justifyContent:N,height:I?"100%":void 0},children:t})})]}),c,l&&B&&s&&n.jsx("div",{className:"absolute top-1 right-1 text-xs",children:n.jsx(_e,{title:s,children:n.jsx(Ec,{size:"smallest",color:"disabled",className:"text-gray-500"})})})]})},(e,t)=>e.error===t.error&&e.value===t.value&&e.disabled===t.disabled&&e.saved===t.saved&&e.allowScroll===t.allowScroll&&e.align===t.align&&e.size===t.size&&e.disabledTooltip===t.disabledTooltip&&e.width===t.width&&e.showExpandIcon===t.showExpandIcon&&e.removePadding===t.removePadding&&e.fullHeight===t.fullHeight&&e.selected===t.selected);function t3(e){return e.dataType==="string"&&e.storage?!0:e.dataType==="array"?Array.isArray(e.of)?!1:e.of?.dataType==="string"&&e.of?.storage:!1}const c3=f.memo(function({propertyKey:t,customFieldValidator:c,value:i,property:a,align:l,width:s,height:d,path:u,entity:A,readonly:y,disabled:h}){const I=ne(),{onValueChange:_,size:g,selectedCell:b,select:p,setPopupCell:w}=F3(),k=b?.propertyKey===t&&b?.entity.path===A.path&&b?.entity.id===A.id,[v,K]=f.useState(i),m=f.useRef(i),[C,B]=f.useState(),[P,F]=f.useState(!1),D=f.useCallback(()=>{F(!0),setTimeout(()=>{F(!1)},100)},[]),S=!!a.Field,T=!!a.Preview,N=Cn(a),q=typeof a.disabled=="object"?a.disabled.disabledMessage:void 0,z=y||h||!!a.disabled,V=f.useMemo(()=>so({property:a,entityId:A.id,customFieldValidator:c,name:t}),[A.id,a,t]);f.useEffect(()=>{de(i,m.current)||(B(void 0),K(i),m.current=i,D())},[D,i]);const oe=Y=>{F(!1),V.validate(Y).then(()=>{B(void 0),_&&_({value:Y,propertyKey:t,setError:B,onValueUpdated:D,entity:A,fullPath:u,context:I})}).catch(x=>{B(x)})};f.useEffect(()=>{V.validate(v).then(()=>B(void 0)).catch(Y=>{B(Y)})},[v,V]);const O=Y=>{let x;Y===void 0?x=null:x=Y,m.current=x,K(x),oe(x)};Te({property:a,value:v,setValue:O});const H=f.useCallback(Y=>{p(Y?{width:s,height:d,entity:A,cellRect:Y,propertyKey:t}:void 0)},[A,d,t,p,s]),Z=Y=>{w&&w(Y?{width:s,height:d,entity:A,cellRect:Y,propertyKey:t}:void 0)};let L,W=!1,Q=!1,X=!0,ee=!1,U=!1,re=!0;const J=!z&&C;if(y||N)return n.jsx(bt,{size:g,width:s,saved:P,value:v,align:l??"left",fullHeight:!1,disabledTooltip:q??(N?"Read only":void 0),disabled:!0,children:n.jsx(Be,{width:s,height:Ln(g),propertyKey:t,property:a,entity:A,value:i,size:ln(g)})},`${t}_${A.path}_${A.id}`);if(!S&&(!T||k)){if(t3(a))L=n.jsx(e3,{error:C,disabled:z,focused:k,selected:k,openPopup:w?Z:void 0,property:a,entity:A,path:u,value:v,previewSize:ln(g),updateValue:O,propertyKey:t}),re=!1,Q=!0,U=!0,ee=!0;else if(k&&a.dataType==="number"){const x=a;x.enumValues?(L=n.jsx(It,{name:t,multiple:!1,disabled:z,focused:k,valueType:"number",small:ln(g)!=="medium",enumValues:x.enumValues,error:C,internalValue:v,updateValue:O}),U=!0):(L=n.jsx(jz,{align:l,error:C,focused:k,disabled:z,value:v,updateValue:O}),W=!0)}else if(k&&a.dataType==="string"){const x=a;if(x.enumValues)L=n.jsx(It,{name:t,multiple:!1,focused:k,disabled:z,valueType:"string",small:ln(g)!=="medium",enumValues:x.enumValues,error:C,internalValue:v,updateValue:O}),U=!0;else if(!x.storage){const ge=!!x.multiline||!!x.markdown;L=n.jsx($z,{error:C,disabled:z,multiline:ge,focused:k,value:v,updateValue:O}),W=!0}}else if(a.dataType==="boolean")L=n.jsx(qz,{error:C,disabled:z,focused:k,internalValue:v,updateValue:O});else if(a.dataType==="date")L=n.jsx(Jz,{name:t,error:C,disabled:z,mode:a.mode,focused:k,internalValue:v,updateValue:O}),U=!0,X=!1,W=!1;else if(a.dataType==="reference")typeof a.path=="string"&&(L=n.jsx(Hi,{name:t,internalValue:v,updateValue:O,disabled:z,size:g,path:a.path,multiselect:!1,previewProperties:a.previewProperties,title:a.name,forceFilter:a.forceFilter})),W=!1;else if(a.dataType==="array"){const x=a;if(!x.of&&!x.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${t}`);x.of&&!Array.isArray(x.of)&&(x.of.dataType==="string"||x.of.dataType==="number"?k&&x.of.enumValues&&(L=n.jsx(It,{name:t,multiple:!0,disabled:z,focused:k,small:ln(g)!=="medium",valueType:x.of.dataType,enumValues:x.of.enumValues,error:C,internalValue:v,updateValue:O}),W=!0,U=!0,X=!1):x.of.dataType==="reference"&&(typeof x.of.key=="string"&&(L=n.jsx(Hi,{name:t,disabled:z,internalValue:v,updateValue:O,size:g,multiselect:!0,path:x.of.key,previewProperties:x.of.previewProperties,title:x.of.name,forceFilter:x.of.forceFilter})),W=!1))}}return L||(W=!1,Q=k&&!L&&!z&&!N,L=n.jsx(Be,{width:s,height:d,entity:A,propertyKey:t,value:v,property:a,size:ln(g)})),n.jsx(bt,{size:g,width:s,onSelect:H,selected:k,disabled:z||N,disabledTooltip:q??"Disabled",removePadding:ee,fullHeight:U,saved:P,error:C,align:l,allowScroll:W,showExpandIcon:Q,value:v,hideOverflow:X,actions:re&&n.jsx(zi,{showError:J,disabled:z,showExpandIcon:Q,selected:k,openPopup:z?void 0:Z}),children:L},`cell_${t}_${A.path}_${A.id}`)},i3);function i3(e,t){return e.height===t.height&&e.propertyKey===t.propertyKey&&e.align===t.align&&e.width===t.width&&de(e.property,t.property)&&de(e.value,t.value)&&de(e.entity.values,t.entity.values)}function fo({text:e,...t}){return n.jsx("div",{className:"flex w-full h-screen max-h-full max-w-full bg-gray-50 dark:bg-gray-900 gap-4",children:n.jsxs("div",{className:"m-auto flex flex-col gap-2 items-center",children:[n.jsx(Gn,{...t}),e&&n.jsx(j,{color:"secondary",variant:"caption",className:"text-center",children:e})]})})}function Ui({trigger:e,children:t,open:c,onOpenChange:i,side:a,sideOffset:l=5,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:y,avoidCollisions:h,enabled:I=!0}){return Dn("Popover",a3),I?n.jsxs(Xn.Root,{open:c,onOpenChange:i,children:[n.jsx(Xn.Trigger,{asChild:!0,children:e}),n.jsx(Xn.Portal,{children:n.jsxs(Xn.Content,{className:E(Ge,"PopoverContent shadow z-50"),side:a,sideOffset:l,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:y,avoidCollisions:h,children:[t,n.jsx(Xn.Arrow,{className:"fill-white dark:fill-gray-950"})]})})]}):n.jsx(n.Fragment,{children:e})}const a3=`
683
-
684
- .PopoverContent {
685
- animation-duration: 400ms;
686
- animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
687
- will-change: transform, opacity;
688
- }
689
- .PopoverContent[data-state='open'][data-side='top'] {
690
- animation-name: slideDownAndFade;
691
- }
692
- .PopoverContent[data-state='open'][data-side='right'] {
693
- animation-name: slideLeftAndFade;
694
- }
695
- .PopoverContent[data-state='open'][data-side='bottom'] {
696
- animation-name: slideUpAndFade;
697
- }
698
- .PopoverContent[data-state='open'][data-side='left'] {
699
- animation-name: slideRightAndFade;
700
- }
701
-
702
-
703
- @keyframes slideUpAndFade {
704
- from {
705
- opacity: 0;
706
- transform: translateY(2px);
707
- }
708
- to {
709
- opacity: 1;
710
- transform: translateY(0);
711
- }
712
- }
713
-
714
- @keyframes slideRightAndFade {
715
- from {
716
- opacity: 0;
717
- transform: translateX(-2px);
718
- }
719
- to {
720
- opacity: 1;
721
- transform: translateX(0);
722
- }
723
- }
724
-
725
- @keyframes slideDownAndFade {
726
- from {
727
- opacity: 0;
728
- transform: translateY(-2px);
729
- }
730
- to {
731
- opacity: 1;
732
- transform: translateY(0);
733
- }
734
- }
735
-
736
- @keyframes slideLeftAndFade {
737
- from {
738
- opacity: 0;
739
- transform: translateX(2px);
740
- }
741
- to {
742
- opacity: 1;
743
- transform: translateX(0);
744
- }
745
- }
746
- `,l3=e=>{switch(e){case"primary":return"bg-primary";case"secondary":return"bg-secondary";case"error":return"bg-red-500";default:return"bg-gray-300 dark:bg-gray-700"}},Yi=({color:e="primary",invisible:t=!1,children:c})=>n.jsxs("div",{className:"relative inline-block",children:[c,n.jsx("span",{className:`absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 rounded-full
747
- ${l3(e)}
748
- transition-all duration-200 ease-out
749
- ${t?"w-0 h-0":"w-2 h-2"}`})]}),s3=f.memo(function({resizeHandleRef:t,columnIndex:c,isResizingIndex:i,sort:a,onColumnSort:l,onFilterUpdate:s,filter:d,column:u,onClickResizeColumn:A,createFilterField:y}){const[h,I]=f.useState(!1),[_,g]=f.useState(!1),b=f.useCallback(K=>{g(!0)},[]),p=f.useCallback((K,m)=>{s(u,K),m!==void 0&&g(m)},[u,s]),w=i===c,v=!(i!==c&&i>0)&&(h||w);return n.jsx(ie,{children:n.jsxs("div",{className:E("flex py-0 px-3 h-full text-xs uppercase font-semibold relative select-none items-center bg-gray-50 dark:bg-gray-900","text-gray-600 hover:text-gray-800 dark:text-gray-400 dark:hover:text-gray-200 ","hover:bg-gray-100 dark:hover:bg-gray-800 hover:bg-opacity-50 dark:hover:bg-opacity-50",u.frozen?"sticky left-0 z-10":"relative z-0"),style:{left:u.frozen?0:void 0,minWidth:u.width,maxWidth:u.width},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>I(!1),children:[n.jsx("div",{className:"overflow-hidden flex-grow",children:n.jsxs("div",{className:`flex items-center justify-${u.headerAlign} flex-row`,children:[u.icon&&u.icon(h||_),n.jsx("div",{className:"truncate -webkit-box w-full mx-1 overflow-hidden",style:{WebkitBoxOrient:"vertical",WebkitLineClamp:2,justifyContent:u.align},children:u.title})]})}),u.sortable&&(a||v||_)&&n.jsx(Yi,{color:"secondary",invisible:!a,children:n.jsxs(R,{size:"small",className:h||_?"bg-white dark:bg-gray-950":void 0,onClick:()=>{l(u.key)},children:[!a&&n.jsx(So,{}),a==="asc"&&n.jsx(So,{}),a==="desc"&&n.jsx(So,{className:"rotate-180"})]})}),u.filter&&y&&n.jsx("div",{children:n.jsx(Yi,{color:"secondary",invisible:!d,children:n.jsx(Ui,{open:_,onOpenChange:g,trigger:n.jsx(R,{className:h||_?"bg-white dark:bg-gray-950":void 0,size:"small",onClick:b,children:n.jsx(oo,{})}),children:u.filter&&n.jsx(d3,{column:u,filter:d,onHover:h,onFilterUpdate:p,createFilterField:y,popupOpen:_,setPopupOpen:g})})})}),u.resizable&&n.jsx("div",{ref:t,className:E("absolute h-full w-[6px] top-0 right-0 cursor-col-resize",v&&"bg-gray-300 dark:bg-gray-700"),onMouseDown:A?()=>A(c,u):void 0})]})})},de);function d3({column:e,onFilterUpdate:t,filter:c,onHover:i,createFilterField:a,popupOpen:l,setPopupOpen:s}){const d=e.key,[u,A]=f.useState(c);if(f.useEffect(()=>{A(c)},[c]),!e.filter)return null;const y=()=>{t(u,!1)},h=g=>{t(void 0,!1)},I=!!c,_=a({id:d,filterValue:u,setFilterValue:A,column:e,popupOpen:l,setPopupOpen:s});return _?n.jsxs("div",{className:E("text-gray-900 dark:text-white"),children:[n.jsx("div",{className:E(ue,"py-4 px-6 text-xs font-semibold uppercase border-b"),children:e.title??d}),_&&n.jsx("div",{className:"m-4",children:_}),n.jsxs("div",{className:"flex justify-end m-4",children:[n.jsx(te,{className:"mr-4",disabled:!I,variant:"text",color:"primary",type:"reset","aria-label":"filter clear",onClick:h,children:"Clear"}),n.jsx(te,{variant:"outlined",color:"primary",onClick:y,children:"Filter"})]})]}):null}const u3=({columns:e,currentSort:t,onColumnSort:c,onFilterUpdate:i,sortByProperty:a,filter:l,onColumnResize:s,onColumnResizeEnd:d,createFilterField:u})=>{const A=e.map(()=>f.createRef()),[y,h]=f.useState(-1),I=f.useCallback((K,m,C)=>{const B=e[K],P=100,F=800,D=m>F?F:m<P?P:m,S={width:D,key:B.key,column:{...B,width:D}};C?d(S):s(S)},[e,s,d]),_=f.useCallback(K=>{if(y>=0){const m=A[y].current?.parentElement?.getBoundingClientRect().left;return m?K.clientX-m:void 0}},[A,y]),g=f.useCallback(K=>{document.body.style.cursor=K?"col-resize":"auto"},[]),b=f.useCallback(K=>{K.stopPropagation(),K.preventDefault();const m=_(K);m&&I(y,m,!1)},[I,_,y]),p=f.useCallback(K=>{K.stopPropagation(),K.preventDefault();const m=_(K);m&&I(y,m,!0),h(-1),g(!1)},[I,_,y,g]),w=f.useCallback(()=>{document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",p)},[b,p]),k=f.useCallback(()=>{document.addEventListener("mousemove",b),document.addEventListener("mouseup",p)},[b,p]);f.useEffect(()=>(y>=0?k():w(),()=>{w()}),[k,y,w]);const v=f.useCallback(K=>{h(K),g(!0)},[g]);return n.jsx("div",{className:E(ue,"z-20 sticky min-w-full flex w-fit flex-row top-0 left-0 h-12 border-b bg-gray-50 dark:bg-gray-900"),children:e.map((K,m)=>{const C=e[m],B=C&&l&&l[C.key]?l[C.key]:void 0;return n.jsx(ie,{children:n.jsx(s3,{resizeHandleRef:A[m],columnIndex:m,isResizingIndex:y,onFilterUpdate:i,filter:B,sort:a===C.key?t:void 0,onColumnSort:c,onClickResizeColumn:v,column:C,createFilterField:u})},"header_"+C.key)})})},f3=f.memo(function({rowData:t,rowIndex:c,children:i,onRowClick:a,size:l,style:s,hoverRow:d,rowClassName:u}){const A=f.useCallback(y=>a?a({rowData:t,rowIndex:c,event:y}):void 0,[a,t,c]);return n.jsx("div",{className:E("flex min-w-full text-sm border-b border-gray-200 dark:border-gray-800 border-opacity-40 dark:border-opacity-40",u?u(t):"",{"hover:bg-opacity-95":d,"cursor-pointer":a}),onClick:A,style:{...s,height:Ln(l),width:"fit-content"},children:i})},de),A3=f.memo(function(t){return t.rowData&&t.cellRenderer({cellData:t.cellData,rowData:t.rowData,rowIndex:t.rowIndex,isScrolling:!1,column:t.column,columns:t.columns,columnIndex:t.columnIndex,width:t.column.width})},(e,t)=>de(e,t)),Ho=f.createContext({});Ho.displayName="VirtualListContext";const _3=f.forwardRef(({children:e,...t},c)=>n.jsx(Ho.Consumer,{children:i=>{const a=i.customView;return n.jsxs(n.Fragment,{children:[n.jsx("div",{id:"virtual-table",style:{position:"relative",height:"100%"},children:n.jsxs("div",{ref:c,...t,style:{...t?.style,minHeight:"100%",position:"relative"},children:[n.jsx(u3,{...i}),!a&&e]})}),a&&n.jsx("div",{style:{position:"sticky",top:"56px",flexGrow:1,height:"calc(100% - 56px)",marginTop:"calc(56px - 100vh)",left:0},children:a})]})}})),$i=f.memo(function({data:t,onResetPagination:c,onEndReached:i,size:a="m",columns:l,onRowClick:s,onColumnResize:d,filter:u,checkFilterCombination:A,onFilterUpdate:y,sortBy:h,error:I,emptyMessage:_,onSortByUpdate:g,loading:b,cellRenderer:p,hoverRow:w,createFilterField:k,rowClassName:v,className:K,endAdornment:m}){const C=h?h[0]:void 0,B=h?h[1]:void 0,[P,F]=f.useState(l),D=f.useRef(null),S=f.useRef(0);f.useEffect(()=>{F(l)},[l]);const[T,N]=er(),q=f.useCallback(J=>{F(P.map(Y=>Y.key===J.column.key?J.column:Y))},[P]),z=f.useCallback(J=>{F(P.map(Y=>Y.key===J.column.key?J.column:Y)),d&&d(J)},[P,d]),V=f.useRef();f.useEffect(()=>{V.current=u},[u]);const oe=f.useCallback(()=>{S.current=0,D.current&&D.current.scrollTo(D.current?.scrollLeft,0)},[]),O=f.useCallback(J=>{const Y=C===J&&B==="desc",ge=C===J&&B==="asc"?"desc":Y?void 0:"asc",He=Y?void 0:J,ve=V.current,fn=ge&&He?[He,ge]:void 0;ve&&A&&!A(ve,fn)&&y&&y(void 0),c&&c(),g&&g(fn),oe()},[A,B,y,c,g,oe,C]),H=f.useCallback(()=>{S.current=0,g&&g(void 0)},[g]),Z=Math.max((t?.length??0)*Ln(a)-N.height,0),L=f.useCallback(J=>{i&&(t?.length??0)>0&&J>S.current+500&&(S.current=J,i())},[t,i]),W=f.useCallback(({scrollOffset:J,scrollUpdateWasRequested:Y})=>{!Y&&J>=Z-500&&L(J)},[Z,L]),Q=f.useCallback((J,Y)=>{S.current=0;const x=V.current;let ge=x?{...x}:{};Y?ge[J.key]=Y:delete ge[J.key],!A||A(ge,C&&B?[C,B]:void 0)||(ge=Y?{[J.key]:Y}:{}),y&&y(ge),J.key!==C&&H()},[A,B,y,H,C]),X=f.useCallback(()=>n.jsxs("div",{className:"h-full flex flex-col items-center justify-center sticky left-0",children:[n.jsx(j,{variant:"h6",children:"Error fetching data from the data source"}),I?.message&&n.jsx(lo,{className:"px-4 break-all",source:I.message})]}),[I?.message]),ee=f.useCallback(()=>b?n.jsx(fo,{}):n.jsxs("div",{className:"flex overflow-auto items-center justify-center p-2 gap-2 h-full",children:[n.jsx(ic,{}),n.jsx(j,{children:_})]}),[_,b]),U=!b&&(t?.length??0)===0,re=I?X():U?ee():void 0;return n.jsx("div",{ref:T,className:E("h-full w-full",K),children:n.jsx(Ho.Provider,{value:{data:t,size:a,cellRenderer:p,columns:P,currentSort:B,onRowClick:s,customView:re,onColumnResize:q,onColumnResizeEnd:z,filter:V.current,onColumnSort:O,onFilterUpdate:Q,sortByProperty:C,hoverRow:w??!1,createFilterField:k,rowClassName:v,endAdornment:m},children:n.jsx(y3,{outerRef:D,width:N.width,height:N.height,itemCount:(t?.length??0)+(m?1:0),onScroll:W,itemSize:Ln(a)},a)})})},de);function y3({outerRef:e,width:t,height:c,itemCount:i,onScroll:a,itemSize:l}){const s=f.useCallback(({index:d,style:u})=>n.jsx(Ho.Consumer,{children:({onRowClick:A,data:y,columns:h,size:I="m",cellRenderer:_,hoverRow:g,rowClassName:b,endAdornment:p})=>{if(p&&d===(y??[]).length)return n.jsx("div",{style:{...u,height:"auto",position:"sticky",bottom:0,zIndex:1},children:p});const w=y&&y[d];return n.jsx(f3,{rowData:w,rowIndex:d,onRowClick:A,columns:h,hoverRow:g,rowClassName:b,style:{...u,top:`calc(${u.top}px + 48px)`},size:I,children:h.map((k,v)=>{const K=w&&w[k.key];return n.jsx(A3,{dataKey:k.key,cellRenderer:_,column:k,columns:h,rowData:w,cellData:K,rowIndex:d,columnIndex:v},`cell_${k.key}`)})},`row_${d}`)}}),[]);return n.jsx(Na.FixedSizeList,{outerRef:e,innerElementType:_3,width:t,height:c,overscanCount:4,itemCount:i,onScroll:a,itemSize:l,children:s})}function Qn({children:e,trigger:t,open:c,defaultOpen:i,onOpenChange:a}){return n.jsxs(Jn.Root,{open:c,defaultOpen:i,onOpenChange:a,children:[n.jsx(Jn.Trigger,{asChild:!0,children:t}),n.jsx(Jn.Portal,{children:n.jsx(Jn.Content,{className:E(Ge,"shadow py-2 z-30"),children:e})})]})}function me({children:e,dense:t,onClick:c}){return n.jsx(Jn.Item,{className:E(he,c&&"cursor-pointer","rounded-md px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-900 flex items-center gap-4"),onClick:c,children:e})}function pt({entity:e,width:t,frozen:c,isSelected:i,selectionEnabled:a,size:l,toggleEntitySelection:s,onCopyClicked:d,onEditClicked:u,onDeleteClicked:A,hideId:y}){const h=ze(),I=!!u,_=!!d,g=!!A,b=f.useCallback(v=>{s&&s(e)},[e,s]),p=f.useCallback(v=>{v.stopPropagation(),A&&A(e)},[e,A]),w=f.useCallback(v=>{v.stopPropagation(),d&&d(e)},[e,d]),k=f.useCallback(v=>{v.stopPropagation(),s&&s(e)},[e,s]);return n.jsxs("div",{onClick:k,className:E("h-full flex items-center justify-center flex-col bg-gray-50 dark:bg-gray-900 bg-opacity-90 dark:bg-opacity-90 z-10",c?"sticky left-0":""),style:{width:t,position:c?"sticky":"initial",left:c?0:"initial",contain:"strict"},children:[(I||g||a)&&n.jsxs("div",{className:"w-34 flex justify-center",children:[I&&n.jsx(_e,{title:`Edit ${e.id}`,children:n.jsx(R,{onClick:v=>{v.stopPropagation(),u&&u(e)},size:h?"medium":"small",children:n.jsx(Eo,{})})}),a&&n.jsx(_e,{title:`Select ${e.id}`,children:n.jsx(Gr,{size:h?"medium":"small",checked:i,onCheckedChange:b})}),(_||g)&&n.jsxs(Qn,{trigger:n.jsx(R,{size:h?"medium":"small",children:n.jsx(kr,{})}),children:[g&&n.jsxs(me,{onClick:p,children:[n.jsx(Bo,{}),"Delete"]}),_&&n.jsxs(me,{onClick:w,children:[n.jsx(hc,{}),"Copy"]})]})]}),!y&&l!=="xs"&&n.jsx("div",{className:"w-[138px] text-center overflow-hidden truncate",children:e?n.jsxs(j,{className:"font-mono",variant:"caption",color:"secondary",children:[" ",e.id," "]}):n.jsx(Ve,{})})]})}function h3(e){const t=ze(),c=!e.forceFilter&&e.filterIsSet&&e.clearFilter&&n.jsxs(te,{variant:"outlined",className:"h-fit-content","aria-label":"filter clear",onClick:e.clearFilter,size:"small",children:[n.jsx(gc,{}),"Clear filter"]}),i=n.jsx(Xe,{value:e.size,className:"w-16 h-10",size:"small",onValueChange:a=>e.onSizeChanged(a),renderValue:a=>n.jsx("div",{className:"font-medium",children:a.toUpperCase()}),children:["xs","s","m","l","xl"].map(a=>n.jsx(xe,{value:a,className:"w-12 font-medium text-center",children:a.toUpperCase()},a))});return n.jsxs("div",{className:E(ue,"no-scrollbar min-h-[56px] overflow-x-auto px-4 bg-gray-50 dark:bg-gray-900 border-b flex flex-row justify-between items-center w-full"),children:[n.jsxs("div",{className:"flex items-center gap-2",children:[e.title&&n.jsx("div",{className:"hidden lg:block",children:e.title}),i,e.actionsStart,c]}),n.jsxs("div",{className:"flex items-center gap-2",children:[t&&n.jsx("div",{className:"w-[22px]",children:e.loading&&n.jsx(Gn,{size:"small"})}),e.onTextSearch&&n.jsx(Qt,{onTextSearch:e.onTextSearch,expandable:!0},"search-bar"),e.actions]})]})}const ji={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Contains Any"},wt=["array-contains-any","in","not-in"];function g3({name:e,value:t,setValue:c,isArray:i,path:a,title:l,previewProperties:s,setPopupOpen:d}){const u=i?["array-contains"]:["==","!=",">","<",">=","<="],[A,y]=f.useState(!1);i?u.push("array-contains-any"):u.push("in","not-in");const[h,I]=t||[u[0],void 0],[_,g]=f.useState(h),[b,p]=f.useState(I),w=b?Array.isArray(b)?b.map(S=>S instanceof je?S.id:null).filter(Boolean):[b.id]:[];function k(S,T){const N=wt.includes(_),q=wt.includes(S);let z=T;N!==q&&(z=q?z instanceof je?[z]:[]:void 0),g(S),p(z);const V=z!==null&&Array.isArray(z)?z.length>0:z!==void 0;c(S&&V?[S,z]:void 0)}const v=fe(),K=f.useMemo(()=>a?v.getCollection(a):void 0,[a]),m=S=>{k(_,hn(S))},C=S=>{k(_,S.map(T=>hn(T)))},B=wt.includes(_),P=io({multiselect:B,path:a,collection:K,onSingleEntitySelected:m,onMultipleEntitiesSelected:C,selectedEntityIds:w,onClose:()=>{d(!0)}}),F=()=>{d(!1),P.open()},D=S=>n.jsx("div",{className:"mb-0.5",onMouseEnter:()=>y(!0),onMouseMove:()=>y(!0),onMouseLeave:()=>y(!1),children:n.jsx(nn,{disabled:!a,previewProperties:s,size:"medium",onClick:F,reference:S,onHover:A,allowEntityNavigation:!1})});return n.jsxs("div",{className:"flex w-[440px] flex-row",children:[n.jsx("div",{className:"w-[120px]",children:n.jsx(Xe,{value:_,onValueChange:S=>{k(S,b)},renderValue:S=>ji[S],children:u.map(S=>n.jsx(xe,{value:S,children:ji[S]},S))})}),n.jsxs("div",{className:"flex-grow ml-2 h-full",children:[b&&Array.isArray(b)&&n.jsx("div",{children:b.map((S,T)=>D(S))}),b&&!Array.isArray(b)&&n.jsx("div",{children:D(b)}),(!b||Array.isArray(b)&&b.length===0)&&n.jsx(te,{onClick:F,className:"h-full",children:B?"Select references":"Select reference"})]})]})}const qi={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Any"},kt=["array-contains-any","in","not-in"];function I3({name:e,value:t,setValue:c,dataType:i,isArray:a,enumValues:l,title:s}){const d=a?["array-contains"]:["==","!=",">","<",">=","<="];l&&(a?d.push("array-contains-any"):d.push("in","not-in"));const[u,A]=t||[d[0],void 0],[y,h]=f.useState(u),[I,_]=f.useState(A);function g(p,w){let k=w;const v=kt.includes(y),K=kt.includes(p);v!==K&&(k=K?typeof w=="string"||typeof w=="number"?[w]:[]:""),typeof k=="number"&&isNaN(k)&&(k=void 0),h(p),_(k);const m=k!==null&&Array.isArray(k)?k.length>0:k!==void 0;c(p&&m?[p,k]:void 0)}const b=kt.includes(y);return n.jsxs("div",{className:"flex w-[440px] items-center",children:[n.jsx("div",{className:"w-[80px]",children:n.jsx(Xe,{value:y,position:"item-aligned",onValueChange:p=>{g(p,I)},renderValue:p=>qi[p],children:d.map(p=>n.jsx(xe,{value:p,children:qi[p]},p))})}),n.jsxs("div",{className:"flex-grow ml-2",children:[!l&&n.jsx(un,{type:i==="number"?"number":void 0,value:I!==void 0?String(I):"",onChange:p=>{const w=i==="number"?parseFloat(p.target.value):p.target.value;g(y,w)},endAdornment:I&&n.jsx(R,{className:"absolute right-3 top-2",onClick:p=>g(y,void 0),children:n.jsx(cn,{})})}),l&&n.jsx(Xe,{position:"item-aligned",value:I!==void 0?Array.isArray(I)?I.map(p=>String(p)):String(I):a?[]:"",onValueChange:p=>{g(y,i==="number"?parseInt(p):p)},multiple:b,endAdornment:I&&n.jsx(R,{className:"absolute right-3 top-2",onClick:p=>g(y,void 0),children:n.jsx(cn,{})}),renderValue:p=>n.jsx(Ee,{enumKey:p,enumValues:l,size:"small"},`select_value_${e}_${p}`),children:l.map(p=>n.jsx(xe,{value:String(p.id),children:n.jsx(Ee,{enumKey:String(p.id),enumValues:l,size:"small"})},`select_value_${e}_${p.id}`))})]})]})}function b3({name:e,title:t,value:c,setValue:i}){function a(d){i(d!==void 0?["==",d]:void 0)}const l=c&&c[1],s=!!c;return n.jsx("div",{className:"w-[200px]",children:n.jsx(On,{value:l,allowIndeterminate:!0,onValueChange:d=>a(d===null?void 0:d),label:s?l?`${t} is true`:`${t} is false`:"No filter"})})}const p3="hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75",w3="inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",k3="dark:text-gray-100 text-gray-700 visited:text-gray-700 dark:visited:text-gray-100",m3={medium:"w-10 !h-10 min-w-10 min-h-10",small:"w-8 !h-8 min-w-8 min-h-8",large:"w-12 !h-12 min-w-12 min-h-12"},v3={circular:"rounded-full",square:"rounded-md"},K3=({children:e,className:t,size:c="medium",variant:i="ghost",shape:a="circular",disabled:l,toggled:s,component:d,...u},A)=>{const y=i==="ghost"?"bg-transparent":"bg-gray-50 dark:bg-gray-950",h=d||"button";return n.jsx(h,{type:"button",ref:A,...u,className:E(he,l?"opacity-50 pointer-events-none":"cursor-pointer",s?"outline outline-2 outline-primary":"",k3,y,w3,p3,v3[a],m3[c],t),children:e})},R=f.forwardRef(K3),mt=ce.forwardRef(function(t,c){const{shrink:i,className:a,...l}=t,s={root:"origin-left transition-transform block whitespace-nowrap overflow-hidden text-overflow-ellipsis max-w-full",shrink:"transform translate-y-[2px] scale-75 translate-x-[12px]",expanded:"translate-x-[16px] top-0 transform translate-y-[16px] scale-100"},d=E(s.root,{[s.shrink]:i,[s.expanded]:!i},a);return n.jsx("label",{"data-shrink":i,ref:c,className:d,...l})}),Vn=({value:e,label:t,onChange:c,disabled:i,clearable:a,mode:l="date",error:s,size:d,className:u,style:A,inputClassName:y,preventOpenOnFocus:h,invisible:I})=>{const _=f.useRef(null),{locale:g}=ne(),b=f.useRef(null),[p,w]=f.useState(document.activeElement===b.current),k=e!=null,v=e!=null&&!(e instanceof Date);Dn("DateTimeField",C3);const K=m=>{m.preventDefault(),c(null)};return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:E("rounded-md relative max-w-full",!I&&Je,i?Re:We,{"min-h-[48px]":d==="small","min-h-[64px]":d==="medium"},u),style:A,children:[t&&n.jsx(mt,{className:E("absolute top-1 pointer-events-none",s?"text-red-500 dark:text-red-600":p?"text-primary":"text-text-secondary dark:text-text-secondary-dark",i?"opacity-50":""),shrink:k||p,children:t}),n.jsx(xo,{ref:_,locale:g,selected:(v?null:e)??null,onChange:c,disabled:!1,popperClassName:E(Ge,"my-4 shadow"),onClick:m=>m.stopPropagation(),onFocus:()=>w(!0),onBlur:()=>w(!1),showTimeSelect:l==="date_time",timeFormat:"HH:mm",timeIntervals:15,timeCaption:"time",dateFormat:l==="date_time"?"Pp":"P",preventOpenOnFocus:!0,className:E("w-full outline-none bg-transparent leading-normal text-base px-3",a?"pr-14":"pr-12","rounded-md",!I&&he,d==="small"?"min-h-[48px]":"min-h-[64px]",t?"pt-[28px] pb-2":"py-2",y,i&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-600 dark:text-gray-500")}),n.jsx(R,{onClick:()=>_.current?.setOpen(!0),className:"absolute right-3 top-1/2 transform -translate-y-1/2 !text-gray-500 ",children:n.jsx(ac,{color:"disabled"})}),a&&e&&n.jsx(R,{onClick:K,className:"absolute right-14 top-1/2 transform -translate-y-1/2 text-gray-400 ",children:n.jsx(cn,{})})]}),v&&n.jsx(we,{title:"Invalid date value for this field",error:`The provided value is: ${JSON.stringify(e)}`})]})},C3=`
651
+ `;function Bi({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,tableMode:s,property:d,includeDescription:u,underlyingValueHasChanged:A,context:y,disabled:g}){if(ee(),!Array.isArray(d.resolvedProperties))throw Error("ArrayCustomShapedFieldBinding misconfiguration. Property `of` not set");const h=d.expanded===void 0?!0:d.expanded;Te({property:d,value:t,setValue:l});const _=n.jsx(ve,{icon:we(d,"small"),required:d.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:d.name}),I=d.resolvedProperties.map((b,p)=>{const w={propertyKey:`${e}[${p}]`,disabled:g,property:b,includeDescription:u,underlyingValueHasChanged:A,context:y,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{className:"pb-4",children:n.jsx(kn,{...w})},`custom_shaped_array_${p}`)});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(An,{initiallyExpanded:h,title:_,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:I}),s&&I,n.jsx(Ke,{includeDescription:u,showError:i,error:c,disabled:g,property:d})]})}Pe.addMethod(Pe.array,"uniqueInArray",function(e=c=>c,t){return this.test("uniqueInArray",t,c=>!c||c.length===new Set(c.map(e)).size)});function Ei(e,t,c){const i={};return Object.entries(t).forEach(([a,l])=>{i[a]=so({property:l,customFieldValidator:c,name:a,entityId:e})}),Pe.object().shape(i)}function so(e){const t=e.property;if(De(t))throw console.error("Error in property",e),Error("Trying to create a yup mapping from a property builder. Please use resolved properties only");if(t.dataType==="string")return mz(e);if(t.dataType==="number")return vz(e);if(t.dataType==="boolean")return Bz(e);if(t.dataType==="map")return kz(e);if(t.dataType==="array")return Fz(e);if(t.dataType==="date")return Cz(e);if(t.dataType==="geopoint")return Kz(e);if(t.dataType==="reference")return Sz(e);throw console.error("Unsupported data type in yup mapping",t),Error("Unsupported data type in yup mapping")}function kz({property:e,entityId:t,customFieldValidator:c,name:i}){const a={};return e.validation,e.properties&&Object.entries(e.properties).forEach(([l,s])=>{a[l]=so({property:s,parentProperty:e,customFieldValidator:c,name:`${i}[${l}]`,entityId:t})}),Pe.object().shape(a)}function mz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Pe.string();const s=e.validation;if(e.enumValues){s?.required&&(l=l.required(s?.requiredMessage?s.requiredMessage:"Required"));const d=ln(e.enumValues);l=l.oneOf((s?.required?d:[...d,null]).map(u=>u?.id??null)).nullable(!0)}if(s){if(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",(d,u)=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),(s.min||s.min===0)&&(l=l.min(s.min,`${e.name} must be min ${s.min} characters long`)),(s.max||s.max===0)&&(l=l.max(s.max,`${e.name} must be max ${s.max} characters long`)),s.matches){const d=typeof s.matches=="string"?Mi(s.matches):s.matches;d&&(l=l.matches(d,s.matchesMessage?{message:s.matchesMessage}:void 0))}s.trim&&(l=l.trim()),s.lowercase&&(l=l.lowercase()),s.uppercase&&(l=l.uppercase()),e.email&&(l=l.email(`${e.name} must be an email`)),e.url&&(l=l.url(`${e.name} must be a url`))}else l=l.notRequired().nullable(!0);return l}function vz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){const l=e.validation;let s=Pe.number().typeError("Must be a number");return l?(s=l.required?s.required(l.requiredMessage?l.requiredMessage:"Required").nullable(!0):s.notRequired().nullable(!0),l.unique&&c&&i&&(s=s.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),(l.min||l.min===0)&&(s=s.min(l.min,`${e.name} must be higher or equal to ${l.min}`)),(l.max||l.max===0)&&(s=s.max(l.max,`${e.name} must be lower or equal to ${l.max}`)),(l.lessThan||l.lessThan===0)&&(s=s.lessThan(l.lessThan,`${e.name} must be higher than ${l.lessThan}`)),(l.moreThan||l.moreThan===0)&&(s=s.moreThan(l.moreThan,`${e.name} must be lower than ${l.moreThan}`)),l.positive&&(s=s.positive(`${e.name} must be positive`)),l.negative&&(s=s.negative(`${e.name} must be negative`)),l.integer&&(s=s.integer(`${e.name} must be an integer`))):s=s.notRequired().nullable(!0),s}function Kz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Pe.object();const s=e.validation;return s?.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),s?.required?l=l.required(s.requiredMessage).nullable(!0):l=l.notRequired().nullable(!0),l}function Cz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){if(e.autoValue)return Pe.object().nullable();let l=Pe.date();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required"):l.notRequired(),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a}))),s.min&&(l=l.min(s.min,`${e.name} must be after ${s.min}`)),s.max&&(l=l.max(s.max,`${e.name} must be before ${s.min}`))):l=l.notRequired(),l.transform(d=>d instanceof Date?d:null).nullable()}function Sz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Pe.object();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a})))):l=l.notRequired().nullable(!0),l}function Bz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Pe.boolean();const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),s.unique&&c&&i&&(l=l.test("unique","This value already exists and should be unique",d=>c({name:i,property:e,parentProperty:t,value:d,entityId:a})))):l=l.notRequired().nullable(!0),l}function Ez(e){return e.validation?.uniqueInArray?!0:e.dataType==="map"&&e.properties?Object.entries(e.properties).filter(([t,c])=>c.validation?.uniqueInArray):!1}function Fz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Pe.array();if(e.of)if(Array.isArray(e.of)){const d=e.of.map((u,A)=>({[`${i}[${A}]`]:so({property:u,parentProperty:e,entityId:a})})).reduce((u,A)=>({...u,...A}),{});return Pe.array().of(Pe.mixed().test("Dynamic object validation","Dynamic object validation error",(u,A)=>an(d,A.path).validate(u)))}else{l=l.of(so({property:e.of,parentProperty:e,entityId:a}));const d=Ez(e.of);d&&(typeof d=="boolean"?l=l.uniqueInArray(u=>u,`${e.name} should have unique values within the array`):Array.isArray(d)&&d.forEach(([u,A])=>{l=l.uniqueInArray(y=>y&&y[u],`${e.name} → ${A.name??u}: should have unique values within the array`)}))}const s=e.validation;return s?(l=s.required?l.required(s?.requiredMessage?s.requiredMessage:"Required").nullable(!0):l.notRequired().nullable(!0),(s.min||s.min===0)&&(l=l.min(s.min,`${e.name} should be min ${s.min} entries long`)),s.max&&(l=l.max(s.max,`${e.name} should be max ${s.max} entries long`))):l=l.notRequired().nullable(!0),l}const Pz=({containerRef:e})=>{const{isSubmitting:t,isValidating:c,errors:i}=Ee.useFormikContext();return f.useEffect(()=>{const a=Object.keys(i);if(a.length>0&&t&&!c){const l=e?.current?.querySelector(`#form_field_${a[0]}`);if(l&&e?.current){const s=Fi(e.current);if(s){const u=l.getBoundingClientRect().top;s.scrollTo({top:s.scrollTop+u-64,behavior:"smooth"})}const d=l.querySelector("input");d&&d.focus()}}},[t,c,i,e]),null},Dz=e=>{const t=e&&e.scrollHeight>e.clientHeight,c=e?window.getComputedStyle(e).overflowY:null,i=c&&c.indexOf("hidden")!==-1;return t&&!i},Fi=e=>!e||e===document.body?document.body:Dz(e)?e:Fi(e.parentNode);function Nz({customId:e,entityId:t,status:c,onChange:i,error:a,entity:l}){const s=c==="existing"||!e,d=c!=="existing"&&!e,u=f.useMemo(()=>{if(!(!e||typeof e=="boolean"||e==="optional"))return ln(e)},[e]),A=dn(),{copy:y}=$c({onSuccess:_=>A.open({type:"success",message:`Copied ${_}`})}),g=ee(),h={label:d?"ID is set automatically":"ID",disabled:s,name:"id",value:(l&&c==="existing"?l.id:t)??"",endAdornment:l?n.jsxs(n.Fragment,{children:[n.jsx(_e,{title:"Copy",children:n.jsx(x,{onClick:_=>y(l.id),"aria-label":"copy-id",children:n.jsx(oo,{size:"small"})})}),g?.entityLinkBuilder&&n.jsx(_e,{title:"Open in the console",children:n.jsx(x,{component:"a",href:g.entityLinkBuilder({entity:l}),rel:"noopener noreferrer",target:"_blank",onClick:_=>_.stopPropagation(),"aria-label":"go-to-datasource",children:n.jsx(ro,{size:"small"})})})]}):void 0};return n.jsxs(n.Fragment,{children:[u&&n.jsx(xe,{error:a,onValueChange:_=>i(_),...h,renderValue:_=>{const I=u.find(b=>b.id===_);return I?`${I.id} - ${I.label}`:_},children:u.map(_=>n.jsx(Re,{value:String(_.id),children:n.jsx(Se,{enumKey:_.id,enumValues:u,size:"medium"})},_.id))}),!u&&n.jsx(_n,{...h,error:a,placeholder:e==="optional"?"Autogenerated ID, it can be manually changed":c==="new"||c==="copy"?"ID of the new document":"ID of the document",onChange:_=>{let I=_.target.value;return I&&(I=I.trim()),i(I.length?I:void 0)}}),n.jsx(Ee.ErrorMessage,{name:"id",component:"div",children:_=>"You need to specify an ID"})]})}function ce({children:e,className:t,variant:c="filled",disabled:i=!1,size:a="medium",startIcon:l=null,fullWidth:s=!1,component:d,...u}){const A="rounded-md border uppercase inline-flex items-center justify-center p-2 px-4 text-sm font-medium focus:outline-none transition ease-in-out duration-150 gap-2",y=E({"w-full":s,"w-fit":!s,"border-transparent bg-primary hover:bg-blue-600 focus:ring-blue-400 !text-white shadow hover:ring-1 hover:ring-primary":c==="filled"&&!i,"border-primary !text-primary hover:bg-primary hover:bg-opacity-10 hover:border-blue-600 !hover:text-blue-600 focus:ring-blue-400 hover:ring-1 hover:ring-primary":c==="outlined"&&!i,"border-transparent !text-primary !hover:text-blue-600 hover:bg-primary hover:bg-opacity-10":c==="text"&&!i,"border-blue-600 border-opacity-50 dark:border-blue-500 dark:border-opacity-50 opacity-50 !text-blue-600 !dark:text-blue-500 text-opacity-50 dark:text-opacity-50":c==="outlined"&&i,"border-transparent outline-none opacity-50 !text-gray-600 !dark:text-gray-500":(c==="filled"||c==="text")&&i}),g=E({"py-1 px-2":a==="small","py-2 px-4":a==="medium","py-2 px-5":a==="large"});return d?n.jsxs(d,{onClick:u.onClick,className:E(ge,l?"pl-3":"",A,y,g,t),...u,children:[l,e]}):n.jsxs("button",{type:u.type??"button",onClick:u.onClick,className:E(ge,l?"pl-3":"",A,y,g,t),disabled:i,...u,children:[l,e]})}const Pi=f.memo(Tz,(e,t)=>e.status===t.status&&e.path===t.path&&se(e.entity?.values,t.entity?.values));function Tz({status:e,path:t,collection:c,entity:i,onEntitySaveRequested:a,onDiscard:l,onModified:s,onValuesChanged:d,onIdChange:u,onFormContextChange:A,hideId:y,autoSave:g,onIdUpdateError:h}){const _=ee(),I=Le(),b=_.plugins,p=f.useMemo(()=>Me({collection:c,path:t,values:i?.values,fields:_.fields}),[i?.values,t]),w=(e==="new"||e==="copy")&&!!p.customId&&p.customId!=="optional",k=f.useMemo(()=>e==="new"||e==="copy"?w?void 0:I.generateEntityId(t):i?.id,[]),m=f.useRef(!1),K=f.useMemo(()=>{const Q=p.properties;if((e==="existing"||e==="copy")&&i)return i.values??no(Q);if(e==="new")return no(Q);throw console.error({status:e,entity:i}),new Error("Form has not been initialised with the correct parameters")},[e,p,i]),[v,C]=f.useState(k),[S,P]=f.useState(!1),[D,T]=f.useState(),B=f.useRef(i?.values??K),N=B.current,[M,U]=f.useState(N),z=Q=>{U(Q),d&&d(Q),g&&Q&&!se(Q,N)&&Y(Q)};f.useEffect(()=>{v&&u&&u(v)},[v,u]);const W=Me({collection:c,path:t,entityId:v,values:M,previousValues:N,fields:_.fields}),oe=W.callbacks?.onIdUpdate;f.useEffect(()=>{if(oe&&M&&(e==="new"||e==="copy"))try{const Q=oe({collection:W,path:t,entityId:v,values:M,context:_});C(Q)}catch(Q){h&&h(Q),console.error(Q)}},[v,M,e]);const L=f.useMemo(()=>N&&e==="existing"?Object.entries(W.properties).map(([Q,J])=>{if(eo(J))return{};const ne=N[Q],$=K[Q];return se(ne,$)?{}:{[Q]:$}}).reduce((Q,J)=>({...Q,...J}),{}):{},[K,W.properties,N,e]),Y=Q=>a({collection:W,path:t,entityId:v,values:Q,previousValues:i?.values,closeAfterSave:m.current,autoSave:g??!1}).then(J=>{const ne=e==="new"?"new_entity_saved":e==="copy"?"entity_copied":e==="existing"?"entity_edited":"unmapped_event";_.onAnalyticsEvent?.(ne,{path:t}),B.current=Q}).catch(J=>{console.error(J),T(J)}).finally(()=>{m.current=!1}),X=(Q,J)=>{if(w&&!v){console.error("Missing custom Id"),P(!0),J.setSubmitting(!1);return}if(T(void 0),P(!1),e==="existing"){if(!i?.id)throw Error("Form misconfiguration when saving, no id for existing entity")}else if(e==="new"||e==="copy"){if(W.customId&&W.customId!=="optional"&&!v)throw Error("Form misconfiguration when saving, entityId should be set")}else throw Error("New FormType added, check EntityForm");Y(Q)?.then(ne=>{J.resetForm({values:Q,submitCount:0,touched:{}})}).finally(()=>{J.setSubmitting(!1)})},O=f.useCallback(({name:Q,value:J,property:ne})=>I.checkUniqueField(t,Q,J,ne,v),[I,t,v]),V=f.useMemo(()=>v?Ei(v,W.properties,O):void 0,[v,W.properties,O]);return n.jsx(Ee.Formik,{initialValues:K,onSubmit:X,validationSchema:V,validate:Q=>console.debug("Validating",Q),onReset:()=>l&&l(),children:Q=>{const J=[],ne={setFieldValue:Q.setFieldValue,values:Q.values,collection:Me({collection:W,path:t,fields:_.fields}),entityId:v,path:t,save:Y};if(f.useEffect(()=>{A&&A(ne)},[A,ne]),b&&W){const $={entityId:v,path:t,status:e,collection:c,context:_,currentEntityId:v,formContext:ne};J.push(...b.map((re,ie)=>re.form?.Actions?n.jsx(re.form.Actions,{...$},`actions_${re.name}`):null).filter(Boolean))}return n.jsxs("div",{className:"h-full overflow-auto",children:[J.length>0&&n.jsx("div",{className:E("w-full flex justify-end items-center sticky top-0 right-0 left-0 z-10 bg-opacity-60 bg-slate-200 dark:bg-opacity-60 dark:bg-slate-800 backdrop-blur-md"),children:J}),n.jsxs("div",{className:"pl-4 pr-4 pt-12 pb-16 md:pl-8",children:[n.jsx("div",{className:`w-full py-2 flex items-center mt-${4+(J?8:0)} lg:mt-${8+(J?8:0)} mb-8`,children:n.jsx(j,{className:"mt-4 flex-grow "+W.hideIdFromForm?"mb-2":"mb-0",variant:"h4",children:W.singularName??W.name})}),!y&&n.jsx(Nz,{customId:W.customId,entityId:v,status:e,onChange:C,error:S,entity:i}),v&&n.jsx(Mz,{...Q,initialValues:N,onModified:s,onValuesChanged:z,underlyingChanges:L,entity:i,resolvedCollection:W,formContext:ne,status:e,savingError:D,closeAfterSaveRef:m,autoSave:g})]})]})}})}function Mz(e){const{values:t,onModified:c,onValuesChanged:i,underlyingChanges:a,formContext:l,entity:s,touched:d,setFieldValue:u,resolvedCollection:A,isSubmitting:y,status:g,handleSubmit:h,savingError:_,dirty:I,closeAfterSaveRef:b,autoSave:p}=e,w=I;f.useEffect(()=>{c&&c(w),i&&i(t)},[w,t]),f.useEffect(()=>{!p&&a&&s&&Object.entries(a).forEach(([v,C])=>{const S=t[v];!se(C,S)&&!d[v]&&(console.debug("Updated value from the datasource:",v,C),u(v,C!==void 0?C:null))})},[p,a,s,t,d,u]);const k=n.jsx("div",{className:"flex flex-col gap-8",children:(A.propertiesOrder??Object.keys(A.properties)).map(v=>{const C=A.properties[v];if(!C)return console.warn(`Property ${v} not found in collection ${A.name}`),null;const S=!!a&&Object.keys(a).includes(v)&&!!d[v],P=!p&&y||Cn(C)||!!C.disabled;if(eo(C))return null;const T={propertyKey:v,disabled:P,property:C,includeDescription:C.description||C.longDescription,underlyingValueHasChanged:S&&!p,context:l,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{id:`form_field_${v}`,children:n.jsx(le,{children:n.jsx(kn,{...T})})},`field_${A.name}_${v}`)}).filter(Boolean)}),m=y||!w&&g==="existing",K=f.useRef(null);return n.jsxs(Ee.Form,{onSubmit:h,noValidate:!0,children:[n.jsxs("div",{className:"mt-12",ref:K,children:[k,n.jsx(Pz,{containerRef:K})]}),n.jsx("div",{className:"h-14"}),!p&&n.jsxs(vn,{position:"absolute",children:[_&&n.jsx("div",{className:"text-right",children:n.jsx(j,{color:"error",children:_.message})}),n.jsx(ce,{variant:"text",disabled:m,type:"reset",children:g==="existing"?"Discard":"Clear"}),n.jsxs(ce,{variant:"text",color:"primary",type:"submit",disabled:m,onClick:()=>{b.current=!1},children:[g==="existing"&&"Save",g==="copy"&&"Create copy",g==="new"&&"Create"]}),n.jsxs(ce,{variant:"filled",color:"primary",type:"submit",disabled:m,onClick:()=>{b.current=!0},children:[g==="existing"&&"Save and close",g==="copy"&&"Create copy and close",g==="new"&&"Create and close"]})]})]})}function Di(e,t){try{const c=Object.keys(e);return(t??c).map(a=>{if(e[a]){const l=e[a];return!De(l)&&l?.dataType==="map"&&l.properties?{[a]:{...l,properties:Di(l.properties,l.propertiesOrder)}}:{[a]:l}}else return}).filter(a=>a!==void 0).reduce((a,l)=>({...a,...l}),{})}catch(c){return console.error("Error sorting properties",c),e}}function rt(e,t){if(e)return typeof e=="string"?e:e(t)}const Ni="::";function tt(e){return Ti(Xe(e))}function Ti(e){return e.length===1?e[0]:e.reduce((t,c)=>`${t}${Ni}${c}`)}function Xe(e){return e.split("/").filter((t,c)=>c%2===0)}function Oz(e){return e?e.toString():""}function Mi(e){if(!e)return;const t=e.match(/\/(.*?)\/([a-z]*)?$/i);return t?new RegExp(t[1],t[2]||""):new RegExp(e,"")}function Lz(e){return e.match(/\/((?![*+?])(?:[^\r\n[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*])+)\/((?:g(?:im?|mi?)?|i(?:gm?|mg?)?|m(?:gi?|ig?)?)?)/)?!0:!!e.match(/((?![*+?])(?:[^\r\n[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*])+)/)}function Qo(e,t,c,i=300){const a=f.useRef(!1),l=()=>{t(),a.current=!1},s=f.useRef(void 0);f.useEffect(()=>(a.current=!0,clearTimeout(s.current),s.current=setTimeout(l,i),()=>{c&&l()}),[c,e])}function Qz(e,t=300){const[c,i]=f.useState(e);return f.useEffect(()=>{const a=setTimeout(()=>{i(e)},t);return()=>{clearTimeout(a)}},[e,t]),c}function Oi(e,t){const c=Ne({propertyKey:"ignore",propertyOrBuilder:e,fields:t});return c?c.dataType==="reference"?!0:c.dataType==="array"?Array.isArray(c.of)?!1:c.of?.dataType==="reference":!1:null}function Vz(e){return n.jsx(gr,{size:e})}function ct(e,t){const c=e?.Icon??gr;return n.jsx(c,{size:t})}function we(e,t="small",c={}){if(De(e))return n.jsx(kc,{size:t});{const i=Ho(e,c);return ct(i,t)}}function Wz(e,t){return De(e)?"#888":Ho(e,t)?.color??"#666"}function mn(e,t){if(typeof e=="object"){if(t in e)return e[t];if(t.includes(".")){const c=t.split("."),i=e[c[0]];if(typeof i=="object"&&i.dataType==="map"&&i.properties)return mn(i.properties,c.slice(1).join("."))}}}function it(e,t){if(typeof e=="object"){if(t in e)return e[t];if(t.includes(".")){const c=t.split("."),i=e[c[0]];if(i.dataType==="map"&&i.properties)return it(i.properties,c.slice(1).join("."))}}}function Gz(e){return e.replace(/\.([^.]*)/g,"[$1]")}function Li(e,t){if(!t)return e;const c={};return t.forEach(i=>{const a=mn(e,i);typeof a=="object"&&a.dataType==="map"&&a.properties&&(c[i]={...a,properties:Li(a.properties,a.propertiesOrder??[])}),a&&(c[i]=a)}),c}function zz(e){return e.propertiesOrder?e.propertiesOrder:[...Object.keys(e.properties),...(e.additionalFields??[]).map(t=>t.id)]}const Vo={read:!0,edit:!0,create:!0,delete:!0};function uo(e,t,c,i){const a=e.permissions;if(a===void 0)return Vo;if(typeof a=="object")return a;if(typeof a=="function")return a({entity:i,user:t.user,authController:t,collection:e,pathSegments:c});throw console.error("Permissions:",a),Error("New type of permission added and not mapped")}function at(e,t,c,i){return uo(e,t,c,i).edit??Vo.edit}function Wo(e,t,c,i){return uo(e,t,c,i).create??Vo.create}function lt(e,t,c,i){return uo(e,t,c,i).delete??Vo.delete}function Qi(e,t){if(e&&(e=Oo(e),e in zo))return e in zo?n.jsx(r,{iconKey:e,size:"medium",className:t}):void 0}function Go(e,t){const c=Qi(e.icon,t);if(e?.icon&&c)return c;let i=Oo(("singularName"in e?e.singularName:void 0)??e.name),a;i in zo&&(a=i),a||(i=Oo(e.path),i in zo&&(a=i));const l=Ar.length;return a||(a=Ar[Rt(e.path)%l]),n.jsx(r,{iconKey:a,size:"medium",className:t})}const zo=rc.reduce((e,t)=>(e[t]=t,e),{});function Hz(e,t){if(t!==void 0&&t===1)return e;const c={"(quiz)$":"$1zes","^(ox)$":"$1en","([m|l])ouse$":"$1ice","(matr|vert|ind)ix|ex$":"$1ices","(x|ch|ss|sh)$":"$1es","([^aeiouy]|qu)y$":"$1ies","(hive)$":"$1s","(?:([^f])fe|([lr])f)$":"$1$2ves","(shea|lea|loa|thie)f$":"$1ves",sis$:"ses","([ti])um$":"$1a","(tomat|potat|ech|her|vet)o$":"$1oes","(bu)s$":"$1ses","(alias)$":"$1es","(octop)us$":"$1i","(ax|test)is$":"$1es","(us)$":"$1es","([^s]+)$":"$1s"},i={move:"moves",foot:"feet",goose:"geese",sex:"sexes",child:"children",man:"men",tooth:"teeth",person:"people"};if(["sheep","fish","deer","moose","series","species","money","rice","information","equipment","bison","cod","offspring","pike","salmon","shrimp","swine","trout","aircraft","hovercraft","spacecraft","sugar","tuna","you","wood"].indexOf(e.toLowerCase())>=0)return e;for(const l in i){const s=new RegExp(`${l}$`,"i"),d=i[l];if(s.test(e))return e.replace(s,d)}for(const l in c){const s=new RegExp(l,"i");if(s.test(e))return e.replace(s,c[l])}return e}function Uz(e,t){if(t!==void 0&&t!==1)return e;const c={"(quiz)zes$":"$1","(matr)ices$":"$1ix","(vert|ind)ices$":"$1ex","^(ox)en$":"$1","(alias)es$":"$1","(octop|vir)i$":"$1us","(cris|ax|test)es$":"$1is","(shoe)s$":"$1","(o)es$":"$1","(bus)es$":"$1","([m|l])ice$":"$1ouse","(x|ch|ss|sh)es$":"$1","(m)ovies$":"$1ovie","(s)eries$":"$1eries","([^aeiouy]|qu)ies$":"$1y","([lr])ves$":"$1f","(tive)s$":"$1","(hive)s$":"$1","(li|wi|kni)ves$":"$1fe","(shea|loa|lea|thie)ves$":"$1f","(^analy)ses$":"$1sis","((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$":"$1$2sis","([ti])a$":"$1um","(n)ews$":"$1ews","(h|bl)ouses$":"$1ouse","(corpse)s$":"$1","(us)es$":"$1",s$:""},i={move:"moves",foot:"feet",goose:"geese",sex:"sexes",child:"children",man:"men",tooth:"teeth",person:"people"};if(["sheep","fish","deer","moose","series","species","money","rice","information","equipment","bison","cod","offspring","pike","salmon","shrimp","swine","trout","aircraft","hovercraft","spacecraft","sugar","tuna","you","wood"].indexOf(e.toLowerCase())>=0)return e;for(const l in i){const s=new RegExp(`${i[l]}$`,"i");if(s.test(e))return e.replace(s,l)}for(const l in c){const s=new RegExp(l,"i");if(s.test(e))return e.replace(s,c[l])}return e}function Vi(e,t,c,i=3){const a=Object.keys(e.properties);let l=c?.filter(s=>a.includes(s));return l&&l.length>0?l:(l=a,l.filter(s=>{const d=e.properties[s];return d&&!De(d)&&!Oi(d,t)}).slice(0,i))}function Wi(e,t=166){let c;function i(...a){const l=()=>{e.apply(this,a)};clearTimeout(c),c=setTimeout(l,t)}return i.clear=()=>{clearTimeout(c)},i}function st(e,t=""){return e&&Object.keys(e).reduce((c,i)=>{const a=t?`${t}.${i}`:i;return typeof e[i]=="object"&&e[i]!==null?Array.isArray(e[i])?e[i].forEach((l,s)=>{Object.assign(c,st(l,`${a}[${s}]`))}):Object.assign(c,st(e[i],a)):c[a]=e[i],c},{})}function Gi(e){return e.reduce((t,c)=>(Object.entries(c).forEach(([i,a])=>{if(Array.isArray(a)&&(t[i]=Math.max(t[i]||0,a.length)),typeof a=="object"&&a!==null){const l=Gi([a]);Object.entries(l).forEach(([s,d])=>{const u=`${i}.${s}`;t[u]=Math.max(t[u]||0,d)})}}),t),{})}function zi(e){Object.keys(e).forEach(t=>{const c=e[t];c.editable=!0,c.dataType==="map"&&c.properties&&zi(c.properties)})}function Hi(e){return Object.entries(e).reduce((t,[c,i])=>{if(!De(i)&&i.dataType==="map"&&i.properties){const a={...i,properties:Hi(i.properties)};t[c]=a}return De(i)?t[c]=i:t[c]={...i,editable:!1},t},{})}function Ui(e){return Object.keys(dt).includes(e)}const dt={text_field:{key:"text_field",name:"Text field",description:"Simple short text",Icon:Nc,color:"#2d7ff9",property:{dataType:"string",Field:Mn}},multiline:{key:"multiline",name:"Multiline",description:"Text with multiple lines",Icon:Tc,color:"#2d7ff9",property:{dataType:"string",multiline:!0,Field:Mn}},markdown:{key:"markdown",name:"Markdown",description:"Text with advanced markdown syntax",Icon:wc,color:"#2d7ff9",property:{dataType:"string",markdown:!0,Field:Si}},url:{key:"url",name:"Url",description:"Text with URL validation",Icon:mc,color:"#154fb3",property:{dataType:"string",url:!0,Field:Mn}},email:{key:"email",name:"Email",description:"Text with email validation",Icon:yc,color:"#154fb3",property:{dataType:"string",email:!0,Field:Mn}},select:{key:"select",name:"Select/enum",description:"Select one text value from within an enumeration",Icon:Sc,color:"#4223c9",property:{dataType:"string",enumValues:[],Field:Ur}},multi_select:{key:"multi_select",name:"Multi select",description:"Select multiple text values from within an enumeration",Icon:Bc,color:"#4223c9",property:{dataType:"array",of:{dataType:"string",enumValues:[]},Field:qr}},number_input:{key:"number_input",name:"Number input",description:"Simple number field with validation",Icon:Fc,color:"#bec920",property:{dataType:"number",Field:Mn}},number_select:{key:"number_select",name:"Number select",description:"Select a number value from within an enumeration",Icon:br,color:"#bec920",property:{dataType:"number",enumValues:[],Field:Ur}},multi_number_select:{key:"multi_number_select",name:"Multiple number select",description:"Select multiple number values from within an enumeration",Icon:br,color:"#bec920",property:{dataType:"array",of:{dataType:"number",enumValues:[]},Field:qr}},file_upload:{key:"file_upload",name:"File upload",description:"Input for uploading single files",Icon:Mc,color:"#f92d9a",property:{dataType:"string",storage:{storagePath:"{path}"},Field:Xr}},multi_file_upload:{key:"multi_file_upload",name:"Multiple file upload",description:"Input for uploading multiple files",Icon:Ac,color:"#f92d9a",property:{dataType:"array",of:{dataType:"string",storage:{storagePath:"{path}"}},Field:Xr}},reference:{key:"reference",name:"Reference",description:"The value refers to a different collection",Icon:Cc,color:"#ff0042",property:{dataType:"reference",Field:ki}},multi_references:{key:"multi_references",name:"Multiple references",description:"Multiple values that refer to a different collection",Icon:cc,color:"#ff0042",property:{dataType:"array",of:{dataType:"reference"},Field:fi}},switch:{key:"switch",name:"Switch",description:"Boolean true or false field (or yes or no, 0 or 1...)",Icon:pc,color:"#20d9d2",property:{dataType:"boolean",Field:pi}},date_time:{key:"date_time",name:"Date/time",description:"A date time select field",Icon:Dc,color:"#8b46ff",property:{dataType:"date",Field:wi}},group:{key:"group",name:"Group",description:"Group of multiple fields",Icon:yr,color:"#ff9408",property:{dataType:"map",properties:{},Field:mi}},key_value:{key:"key_value",name:"Key-value",description:"Flexible field that allows the user to add multiple key-value pairs",Icon:yr,color:"#ff9408",property:{dataType:"map",keyValue:!0,Field:vi}},repeat:{key:"repeat",name:"Repeat/list",description:"A field that gets repeated multiple times (e.g. multiple text fields)",Icon:kr,color:"#ff9408",property:{dataType:"array",of:{dataType:"string"},Field:Ki}},custom_array:{key:"custom_array",name:"Custom array",description:"A field that saved its value as an array of custom objects",Icon:kr,color:"#ff9408",property:{dataType:"array",of:[],Field:Bi}},block:{key:"block",name:"Block",description:"A complex field that allows the user to compose different fields together, with a key->value format",Icon:Oc,color:"#ff9408",property:{dataType:"array",oneOf:{properties:{}},Field:Ci}}};function Ho(e,t){const c=ft(e),i=ut(e);if(!i){console.error("No field id found for property",e);return}const a=dt[i],l=c?t[c]:void 0;return Je(a??{},l??{})}function ut(e){if(e.dataType==="string")return e.multiline?"multiline":e.markdown?"markdown":e.storage?"file_upload":e.url?"url":e.email?"email":e.enumValues?"select":"text_field";if(e.dataType==="number")return e.enumValues?"number_select":"number_input";if(e.dataType==="map"){if(e.keyValue)return"key_value";if(e.properties)return"group"}else if(e.dataType==="array"){const t=e.of;return e.oneOf?"block":Array.isArray(t)?"custom_array":De(t)?"repeat":t?.dataType==="string"&&t.enumValues?"multi_select":t?.dataType==="number"&&t.enumValues?"multi_number_select":t?.dataType==="string"&&t.storage?"multi_file_upload":t?.dataType==="reference"?"multi_references":"repeat"}else{if(e.dataType==="boolean")return"switch";if(e.dataType==="date")return"date_time";if(e.dataType==="reference")return"reference"}console.error("Unsupported field config mapping",e)}function ft(e){return e.fieldConfig?e.fieldConfig:ut(e)}const Me=({collection:e,path:t,entityId:c,values:i,previousValues:a,userConfigPersistence:l,fields:s})=>{const d=l?.getCollectionConfig(t),u=an(d,"properties"),A=no(e.properties),y=i??A,g=a??i??A,h=Object.entries(e.properties).map(([b,p])=>{const w=y?Ee.getIn(y,b):void 0;return{[b]:Ne({propertyKey:b,propertyOrBuilder:p,values:y,previousValues:g,path:t,propertyValue:w,entityId:c,fields:s})}}).filter(b=>b!==null).reduce((b,p)=>({...b,...p}),{}),_=Je(h,u),I=Object.entries(_).filter(([b,p])=>!!p?.dataType).map(([b,p])=>({[b]:p})).reduce((b,p)=>({...b,...p}),{});return{...e,properties:I,originalCollection:e}};function Ne({propertyOrBuilder:e,propertyValue:t,fromBuilder:c=!1,...i}){if(typeof e=="object"&&"resolved"in e)return e;let a=null;if(e)if(De(e)){const l=i.path;if(!l)throw Error("Trying to resolve a property builder without specifying the entity path");const s=e({...i,path:l,propertyValue:t,values:i.values??{},previousValues:i.previousValues??i.values??{}});if(!s)return console.debug("Property builder not returning `Property` so it is not rendered",l,i.entityId,e),null;a=Ne({...i,propertyValue:t,propertyOrBuilder:s,fromBuilder:!0})}else{const l=e;if(l.dataType==="map"&&l.properties){const s=At({...i,properties:l.properties,propertyValue:t});a={...l,resolved:!0,fromBuilder:c,properties:s}}else l.dataType==="array"?a=fn({property:l,propertyValue:t,fromBuilder:c,...i}):(l.dataType==="string"||l.dataType==="number")&&l.enumValues&&(a=_t(l,c))}else return null;if(a||(a={...e,resolved:!0,fromBuilder:c}),a.fieldConfig&&!Ui(a.fieldConfig)){const l=i.fields;if(!l)throw Error(`Trying to resolve a property with key ${a.fieldConfig} that inherits from a custom field but no custom fields were provided. Use the property 'fields' in your top level component to provide them`);const s=l[a.fieldConfig];if(!s)throw Error(`Trying to resolve a property that inherits from a custom field but no custom field with id ${a.fieldConfig} was found. Check the \`fields\` in your top level component`);if(s.property){const d=Ne({propertyOrBuilder:s.property,propertyValue:t,...i});d&&(a=Je(d,a))}}return a?{...a,resolved:!0}:null}function fn({propertyKey:e,property:t,propertyValue:c,...i}){if(t.of){if(Array.isArray(t.of))return{...t,resolved:!0,fromBuilder:i.fromBuilder,resolvedProperties:t.of.map((a,l)=>Ne({propertyKey:`${e}.${l}`,propertyOrBuilder:a,propertyValue:Array.isArray(c)?c[l]:void 0,...i,index:l}))};{const a=t.of,l=Array.isArray(c)?c.map((d,u)=>Ne({propertyKey:`${e}.${u}`,propertyOrBuilder:a,propertyValue:d,...i,index:u})).filter(d=>!!d):[],s=Ne({propertyKey:`${e}`,propertyOrBuilder:a,propertyValue:void 0,...i});if(!s)throw Error("When using a property builder as the 'of' prop of an ArrayProperty, you must return a valid child property");return{...t,resolved:!0,fromBuilder:i.fromBuilder,of:s,resolvedProperties:l}}}else if(t.oneOf){const a=t.oneOf?.typeField??Rn,l=Array.isArray(c)?c.map((d,u)=>{const A=d&&d[a],y=t.oneOf?.properties[A];return!A||!y?null:Ne({propertyKey:`${e}.${u}`,propertyOrBuilder:y,propertyValue:c,...i})}).filter(d=>!!d):[],s=At({properties:t.oneOf.properties,propertyValue:void 0,...i});return{...t,resolved:!0,oneOf:{...t.oneOf,properties:s},fromBuilder:i.fromBuilder,resolvedProperties:l}}else{if(t.Field)return{...t,resolved:!0,fromBuilder:i.fromBuilder};throw Error("The array property needs to declare an 'of' or a 'oneOf' property, or provide a custom `Field`")}}function At({properties:e,propertyValue:t,...c}){return Object.entries(e).map(([i,a])=>({[i]:Ne({propertyKey:i,propertyOrBuilder:a,propertyValue:t&&typeof t=="object"?an(t,i):void 0,...c})})).filter(i=>i!==null).reduce((i,a)=>({...i,...a}),{})}function _t(e,t){return typeof e.enumValues=="object"?{...e,resolved:!0,enumValues:ln(e.enumValues)?.filter(c=>c&&c.id&&c.label)??[],fromBuilder:t??!1}:e}function Yz(e){return typeof e=="object"?Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:c):Array.isArray(e)?e:void 0}function yt(e,t){return typeof e=="string"?t?.find(c=>c.key===e):e}function gt(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=Ie(t).split("/"),l=wo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(y=>y.alias===u||y.path===u);if(A){const y=A.alias??A.path,g=i&&i.length>0?i+"/"+y:y;s.push({type:"collection",path:g,collection:A});const h=Ie(Ie(t).replace(u,"")),_=h.length>0?h.split("/"):[];if(_.length>0){const I=_[0],b=g+"/"+I;if(s.push({type:"entity",entityId:I,path:g,parentCollection:A}),_.length>1){const p=_.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);const w=A.entityViews,k=w&&w.map(m=>yt(m,e.contextEntityViews)).filter(Boolean).find(m=>m.key===p);if(k){const m=i&&i.length>0?i+"/"+k.key:k.key;s.push({type:"custom_view",path:m,view:k})}else A.subcollections&&s.push(...gt({path:p,collections:A.subcollections,currentFullPath:b,contextEntityViews:e.contextEntityViews}))}}break}}return s}function Yi(e){return n.jsx(_e,{...e,tooltipClassName:"!text-red-500 bg-red-50",children:e.children})}const $i={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",label:"label",body1:"p",body2:"p",inherit:"p",caption:"p",button:"span"},$z={inherit:"text-inherit",initial:"text-current",primary:"text-text-primary dark:text-text-primary-dark",secondary:"text-text-secondary dark:text-text-secondary-dark",disabled:"text-text-disabled dark:text-text-disabled-dark",error:"text-red-600 dark:text-red-500"},jz={h1:"text-6xl font-headers font-light",h2:"text-5xl font-headers font-light",h3:"text-4xl font-headers font-normal",h4:"text-3xl font-headers font-normal",h5:"text-2xl font-headers font-normal",h6:"text-xl font-headers font-medium",subtitle1:"text-lg font-headers font-medium",subtitle2:"text-base font-headers font-medium",body1:"text-base",body2:"text-sm",label:"text-sm font-medium text-gray-500",inherit:"text-inherit",caption:"text-xs",button:"text-sm font-medium"};function j({align:e="inherit",color:t="primary",children:c,className:i,component:a,gutterBottom:l=!1,noWrap:s=!1,paragraph:d=!1,variant:u="body1",variantMapping:A=$i,style:y,onClick:g,...h}){const _=a||(d?"p":A[u]||$i[u])||"span",I=E(ge,jz[u],t?$z[t]:"",e!=="inherit"&&`text-${e}`,l&&"mb-[0.35em]",s&&"truncate",d&&"mb-4",i);return n.jsx(_,{className:I,onClick:g,style:y,...h,children:c})}function pe({title:e,error:t,tooltip:c}){const i=t instanceof Error?t.message:t,a=n.jsxs("div",{className:"flex items-center m-2",children:[n.jsx(Ir,{size:"small",color:"error"}),n.jsxs("div",{className:"pl-2",children:[e&&n.jsx(j,{variant:"body2",className:"font-medium",children:e}),n.jsx(j,{variant:"body2",children:i})]})]});return c?n.jsx(Yi,{title:c,children:a}):a}function ht({entity:e,collection:t,path:c,className:i}){const a=ee(),l=f.useMemo(()=>Me({collection:t,path:c,entityId:e.id,values:e.values,fields:a.fields}),[t,c,e]),s=ee(),d=l.properties;return n.jsx("div",{className:"w-full "+i,children:n.jsxs("div",{className:"w-full mb-4",children:[n.jsxs("div",{className:E(de,"flex justify-between py-2 border-b last:border-b-0"),children:[n.jsx("div",{className:"flex items-center w-1/4",children:n.jsx("span",{className:"pl-2 text-sm text-gray-600",children:"Id"})}),n.jsxs("div",{className:"flex-grow p-2 ml-2 w-3/4 text-gray-900 dark:text-white min-h-[56px] flex items-center",children:[n.jsx("span",{className:"flex-grow mr-2",children:e.id}),s?.entityLinkBuilder&&n.jsx("a",{href:s.entityLinkBuilder({entity:e}),rel:"noopener noreferrer",target:"_blank",children:n.jsx(x,{children:n.jsx(ro,{size:"small"})})})]})]}),Object.entries(d).map(([u,A])=>{const y=e.values[u];return n.jsxs("div",{className:E(de,"flex justify-between py-2 border-b last:border-b-0"),children:[n.jsx("div",{className:"flex items-center w-1/4",children:n.jsx("span",{className:"pl-2 text-sm text-gray-600",children:A.name})}),n.jsx("div",{className:"flex-grow p-2 ml-2 w-3/4 text-gray-900 dark:text-white min-h-[56px] flex items-center",children:n.jsx(Ce,{propertyKey:u,value:y,entity:e,property:A,size:"medium"})})]},`reference_previews_${u}`)})]})})}function qz(e){return e.dataType==="boolean"?"center":e.dataType==="number"?e.enumValues?"left":"right":e.dataType==="date"?"right":"left"}function ji(e){if(e.columnWidth)return e.columnWidth;if(e.dataType==="string")return e.url?280:e.storage?160:e.enumValues?200:e.multiline||e.markdown?300:(e.email,200);if(e.dataType==="array"){const t=e;return t.of?Array.isArray(e.of)?300:ji(t.of):300}else return e.dataType==="number"?e.enumValues?200:140:e.dataType==="map"?360:e.dataType==="date"?200:e.dataType==="reference"?220:e.dataType==="boolean"?140:200}function It(e){return`subcollection:${e.alias??e.path}`}function fo(e){return parseInt(e,10)||0}const Jz={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function qi(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const bt=ae.forwardRef(function(t,c){const{onChange:i,onScroll:a,onResize:l,maxRows:s,minRows:d=1,style:u,value:A,onFocus:y,onBlur:g,sizeRef:h,..._}=t,{current:I}=ae.useRef(A!=null),b=ae.useRef(null),p=Zz(c,b),w=ae.useRef(null),k=ae.useRef(0),[m,K]=ae.useState({outerHeightStyle:0}),v=ae.useCallback(()=>{const T=b.current;if(typeof window>"u")return{outerHeightStyle:0};const N=window.getComputedStyle(T);if(N.width==="0px")return{outerHeightStyle:0};const M=h?.current??w.current,U=w.current;M.style.width=N.width,U.value=T.value||t.placeholder||"x",U.value.slice(-1)===`
652
+ `&&(U.value+=" ");const z=N.boxSizing,W=fo(N.paddingBottom)+fo(N.paddingTop),oe=fo(N.borderBottomWidth)+fo(N.borderTopWidth),L=fo(N.minHeight),Y=M.scrollHeight;U.value="x";const X=M.scrollHeight;let O=Y;d&&(O=Math.max(Number(d)*X,O)),s&&(O=Math.min(Number(s)*X,O)),O=Math.max(O,X,L);const V=O+(!t.ignoreBoxSizing&&z==="border-box"?W+oe:0),Q=Math.abs(O-Y)<=1;return{outerHeightStyle:V,overflow:Q}},[s,d,t.placeholder]),C=(T,B)=>{const{outerHeightStyle:N,overflow:M}=B;return k.current<20&&(N>0&&Math.abs((T.outerHeightStyle||0)-N)>1||T.overflow!==M)?(k.current+=1,{overflow:M,outerHeightStyle:N}):(process.env.NODE_ENV!=="production"&&k.current===20&&console.error(["MUI: Too many re-renders. The layout is unstable.","TextareaAutosize limits the number of renders to prevent an infinite loop."].join(`
653
+ `)),T)},S=ae.useCallback(()=>{const T=v();qi(T)||(l&&l(T),K(B=>C(B,T)))},[v,l]),P=()=>{const T=v();qi(T)||za.flushSync(()=>{K(B=>C(B,T))})};ae.useEffect(()=>{const T=Wi(()=>{k.current=0,b.current&&P()});let B;const N=b.current,M=window;if(!(typeof window>"u"))return M.addEventListener("resize",T),typeof ResizeObserver<"u"&&(B=new ResizeObserver(T),B.observe(N)),()=>{T.clear(),M.removeEventListener("resize",T),B&&B.disconnect()}}),f.useLayoutEffect(()=>{S()}),ae.useEffect(()=>{k.current=0},[A]);const D=T=>{k.current=0,I||S(),i&&i(T)};return n.jsxs(ae.Fragment,{children:[n.jsx("textarea",{value:A,onChange:D,className:t.className,ref:p,onFocus:y,onBlur:g,rows:d,style:{height:m.outerHeightStyle,overflow:m.overflow?"hidden":void 0,...u},onScroll:a,..._}),n.jsx("textarea",{"aria-hidden":!0,className:E(t.className,t.shadowClassName),readOnly:!0,ref:w,tabIndex:-1,style:{...Jz.shadow,...u,padding:0}})]})});function Zz(...e){return ae.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(c=>{Xz(c,t)})},e)}function Xz(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function xz(e){const t=f.useRef(null),{disabled:c,value:i,multiline:a,updateValue:l,focused:s}=e,d=f.useRef(i),[u,A]=f.useState(i),y=f.useRef(!1);f.useEffect(()=>{d.current!==i&&i!==u&&A(i),d.current=i},[i]);const g=f.useCallback(()=>{!i&&!u||u!==i&&(d.current=u,l(u))},[u,l,i]);return Qo(u,g,!s,2e3),f.useEffect(()=>{t.current&&s&&!y.current?(y.current=!0,t.current.focus({preventScroll:!0}),t.current.selectionStart=t.current.value.length,t.current.selectionEnd=t.current.value.length):y.current=s},[s,t]),n.jsx(bt,{ref:t,style:{padding:0,margin:0,width:"100%",color:"unset",fontWeight:"unset",lineHeight:"unset",fontSize:"unset",fontFamily:"unset",background:"unset",border:"unset",resize:"none",outline:"none"},value:u??"",onChange:h=>{const _=h.target.value;(a||!_.endsWith(`
654
+ `))&&A(_)},onFocus:()=>{y.current=!0},onBlur:()=>{y.current=!1,g()}})}function pt(e){const{name:t,enumValues:c,error:i,internalValue:a,disabled:l,small:s,focused:d,updateValue:u,multiple:A,valueType:y}=e,g=Array.isArray(a)&&A||!Array.isArray(a)&&!A,h=f.useRef(null);f.useEffect(()=>{h.current&&d&&h.current?.focus({preventScroll:!0})},[d,h]);const _=f.useCallback(b=>{if(y==="number")if(A){const p=b.map(w=>parseFloat(w));u(p)}else u(parseFloat(b));else if(y==="string")u(b||null);else throw Error("Missing mapping in TableSelect")},[A,u,y]),I=(b,p)=>A&&Array.isArray(b)?n.jsx(Wr,{value:b,name:t,enumValues:c,size:s?"small":"medium"},`${b}-${p}`):n.jsx(Se,{enumKey:b,enumValues:c,size:s?"small":"medium"},`${b}-${p}`);return A?n.jsx($r,{inputRef:h,containerClassName:"w-full h-full",className:"w-full h-full p-0 bg-transparent",position:"item-aligned",disabled:l,padding:!1,includeFocusOutline:!1,value:g?a.map(b=>b.toString()):[],onMultiValueChange:_,renderValue:I,children:c?.map(b=>n.jsx(jr,{value:String(b.id),children:n.jsx(Se,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))}):n.jsx(xe,{inputRef:h,className:"w-full h-full p-0 bg-transparent",position:"item-aligned",disabled:l,multiple:A,padding:!1,includeFocusOutline:!1,value:g?A?a.map(b=>b.toString()):a?.toString():A?[]:"",onValueChange:_,onMultiValueChange:_,renderValue:I,children:c?.map(b=>n.jsx(Re,{value:String(b.id),children:n.jsx(Se,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))})}function Rz(e){const{align:t,value:c,updateValue:i,focused:a}=e,l=c&&typeof c=="number"?c.toString():"",[s,d]=f.useState(l),u=f.useRef(c);f.useEffect(()=>{u.current!==c&&String(c)!==s&&d(c?c.toString():null),u.current=c},[c]);const A=f.useCallback(()=>{if(s!==l)if(s!=null){const h=parseFloat(s);if(isNaN(h))return;h!=null&&i(h)}else i(null)},[s,c]);Qo(s,A,!a,2e3),f.useEffect(()=>{!a&&l!==s&&d(c!=null?c.toString():null)},[c,a]);const y=f.useRef(null);f.useEffect(()=>{y.current&&a&&y.current.focus({preventScroll:!0})},[a,y]);const g=/^-?[0-9]+[,.]?[0-9]*$/;return n.jsx("input",{ref:y,className:"w-full text-right p-0 m-0 bg-transparent border-none resize-none outline-none font-normal leading-normal text-unset",style:{textAlign:t},value:s??"",onChange:h=>{const _=h.target.value.replace(",",".");_.length===0&&d(null),(g.test(_)||_.startsWith("-"))&&d(_)}})}function eH(e){const{internalValue:t,updateValue:c,focused:i}=e,a=f.useRef(null);return f.useEffect(()=>{a.current&&i&&a.current.focus({preventScroll:!0})},[i,a]),n.jsx(xr,{ref:a,size:"small",value:!!t,onValueChange:c})}function nH(e){const{disabled:t,error:c,mode:i,internalValue:a,updateValue:l}=e;return n.jsx(Vn,{value:a??void 0,onChange:s=>l(s),size:"medium",invisible:!0,className:"w-full h-full",inputClassName:"w-full h-full",mode:i})}function Ji({showError:e,disabled:t,showExpandIcon:c,selected:i,openPopup:a,children:l}){const s=f.useRef(null),d=f.useCallback(()=>{if(a){const A=s&&s?.current?.getBoundingClientRect();a(A)}},[]),u=f.useRef();return f.useEffect(()=>{u.current&&i&&u.current.focus({preventScroll:!0})},[i]),n.jsx(n.Fragment,{children:(e||!t&&c)&&n.jsxs("div",{ref:s,className:"absolute top-0.5 right-0.5 flex items-center",children:[i&&l,i&&!t&&c&&n.jsx(x,{ref:u,color:"inherit",size:"small",onClick:d,children:n.jsxs("svg",{fill:"#888",width:"20",height:"20",viewBox:"0 0 24 24",children:[n.jsx("path",{className:"cls-2",d:"M20,5a1,1,0,0,0-1-1L14,4h0a1,1,0,0,0,0,2h2.57L13.29,9.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L18,7.42V10a1,1,0,0,0,1,1h0a1,1,0,0,0,1-1Z"}),n.jsx("path",{className:"cls-2",d:"M10.71,13.29a1,1,0,0,0-1.42,0L6,16.57V14a1,1,0,0,0-1-1H5a1,1,0,0,0-1,1l0,5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2H7.42l3.29-3.29A1,1,0,0,0,10.71,13.29Z"})]})}),e&&n.jsx(Yi,{side:"left",className:"flex items-center justify-center",style:{width:32,height:32},title:e.message,children:n.jsx(gc,{size:"small",color:"error"})})]})})}const oH="max-w-full box-border relative pt-[2px] items-center border border-transparent outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",rH="pt-0 border-2 border-solid",tH="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500 bg-green-50 dark:bg-green-900",cH="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500 bg-red-50 dark:bg-red-900";function iH(e){const{propertyKey:t,error:c,selected:i,openPopup:a,value:l,disabled:s,property:d,entity:u,path:A,previewSize:y,updateValue:g}=e,h=Bn(),{internalValue:_,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=_i({entityValues:u.values,entityId:u.id,path:A,property:d,propertyKey:t,storageSource:h,onChange:g,value:l,disabled:s});return n.jsx(aH,{internalValue:_,setInternalValue:I,name:t,disabled:s,autoFocus:!1,openPopup:a,error:c,selected:i,property:d,onChange:g,entity:u,storagePathBuilder:k,storage:p,multipleFilesSupported:m,onFilesAdded:b,onFileUploadComplete:w,previewSize:y})}function aH({property:e,name:t,internalValue:c,setInternalValue:i,openPopup:a,entity:l,selected:s,error:d,onChange:u,multipleFilesSupported:A,previewSize:y,disabled:g,autoFocus:h,storage:_,onFilesAdded:I,onFileUploadComplete:b,storagePathBuilder:p}){const[w,k]=f.useState(!1),m=A&&y==="medium"?"small":y;if(A){const L=e;if(Array.isArray(L.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(L.of){if(L.of.dataType!=="string")throw Error("Storage field using array must be of data type string")}else throw Error("Storage field using array must be of data type string")}const K=_?.metadata,v=!!c,C=dn(),{open:S,getRootProps:P,getInputProps:D,isDragActive:T,isDragAccept:B,isDragReject:N}=nr.useDropzone({accept:_.acceptedFiles?_.acceptedFiles.map(L=>({[L]:[]})).reduce((L,Y)=>({...L,...Y}),{}):void 0,disabled:g,maxSize:_.maxSize,noClick:!0,noKeyboard:!0,onDrop:I,onDropRejected:(L,Y)=>{for(const X of L)for(const O of X.errors)C.open({type:"error",message:`Error uploading file: File is larger than ${_.maxSize} bytes`})}}),{...M}=P(),U=A?"Drag 'n' drop some files here, or click here to edit":"Drag 'n' drop a file here, or click here edit",z=A?e.of:e,W=f.useMemo(()=>Pn(m),[m]),oe=!g&&d;return n.jsxs("div",{...M,onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>k(!1),className:E(oH,"relative w-full h-full flex",`justify-${v?"start":"center"}`,T?rH:"",B?tH:"",N?cH:""),children:[n.jsx("input",{autoFocus:h,...D()}),c.map((L,Y)=>{let X;return L.storagePathOrDownloadUrl?X=n.jsx(lH,{property:z,value:L.storagePathOrDownloadUrl,entity:l,size:m},`storage_preview_${Y}`):L.file&&(X=n.jsx(Ii,{entry:L,metadata:K,storagePath:p(L.file),onFileUploadComplete:b,imageSize:W,simple:!0},`storage_progress_${Y}`)),X}),!c&&n.jsx("div",{className:"flex-grow m-2 max-w-[200px]",onClick:S,children:n.jsx(j,{className:"text-gray-400 dark:text-gray-600",variant:"body2",align:"center",children:U})}),n.jsx(Ji,{showError:oe,disabled:g,showExpandIcon:!0,selected:s,openPopup:g?void 0:a,children:n.jsx(x,{color:"inherit",size:"small",onClick:S,children:n.jsx(_c,{size:"small",className:"text-gray-500"})})})]})}function lH({property:e,value:t,size:c,entity:i}){return n.jsx("div",{className:"relative m-2",children:t&&n.jsx(le,{children:n.jsx(Ce,{propertyKey:"ignore",value:t,property:e,entity:i,size:c})})})}function Zi(e){const t=ee(),c=fe(),{path:i}=e,a=c.getCollection(i);if(!a){if(t.components?.missingReference)return n.jsx(t.components.missingReference,{path:i});throw Error(`Couldn't find the corresponding collection view for the path: ${i}`)}return n.jsx(sH,{...e,collection:a})}function sH(e){const{name:t,internalValue:c,updateValue:i,multiselect:a,path:l,size:s,previewProperties:d,title:u,disabled:A,forceFilter:y,collection:g}=e,[h,_]=f.useState(!1),I=f.useCallback(()=>_(!0),[]),b=f.useCallback(()=>_(!1),[]),p=f.useCallback(P=>{i(P?In(P):null)},[i]),w=f.useCallback(P=>{i(P.map(D=>In(D)))},[i]),k=c?Array.isArray(c)?c.map(P=>P.id):c.id?[c.id]:[]:[],m=io({multiselect:a,path:l,collection:g,onMultipleEntitiesSelected:w,onSingleEntitySelected:p,selectedEntityIds:k,forceFilter:y}),K=f.useCallback(()=>{A||m.open()},[A,m]),v=!c||Array.isArray(c)&&c.length===0,C=()=>c instanceof qe?n.jsx(on,{onClick:A?void 0:K,size:un(s),reference:c,onHover:h,disabled:!l,previewProperties:d}):n.jsx(To,{onClick:A?void 0:K,size:un(s),children:n.jsx(pe,{title:"Value is not a reference.",error:"Click to edit"})}),S=()=>Array.isArray(c)?n.jsx(n.Fragment,{children:c.map((P,D)=>n.jsx("div",{className:"m-1 w-full",children:n.jsx(on,{onClick:A?void 0:K,size:"tiny",reference:P,onHover:h,disabled:!l,previewProperties:d})},`preview_array_ref_${t}_${D}`))}):n.jsx(pe,{error:"Data is not an array of references"});return g?n.jsxs("div",{className:"w-full",onMouseEnter:I,onMouseMove:I,onMouseLeave:b,children:[c&&!a&&C(),c&&a&&S(),v&&n.jsxs(ce,{onClick:K,size:"small",variant:"outlined",color:"primary",children:["Edit ",u]})]}):n.jsx(pe,{error:"The specified collection does not exist"})}function Ln(e){switch(e){case"xl":return 400;case"l":return 280;case"m":return 140;case"s":return 80;case"xs":return 54;default:throw Error("Missing mapping for collection size -> height")}}const dH=({justifyContent:e,scrollable:t,faded:c,fullHeight:i,children:a})=>n.jsx("div",{className:E("flex flex-col max-h-full w-full",{"items-start":c||t}),style:{justifyContent:e,height:i?"100%":void 0,overflow:t?"auto":void 0,WebkitMaskImage:c?"linear-gradient(to bottom, black 60%, transparent 100%)":void 0,maskImage:c?"linear-gradient(to bottom, black 60%, transparent 100%)":void 0},children:a}),wt=f.memo(function({children:t,actions:c,size:i,selected:a,disabled:l,disabledTooltip:s,saved:d,error:u,align:A,allowScroll:y,removePadding:g,fullHeight:h,onSelect:_,width:I,hideOverflow:b=!0,showExpandIcon:p=!0}){const[w,k]=or(),m=f.useRef(null);Mo(m,()=>{a&&_&&_(void 0)},!!(a&&_));const[K,v]=f.useState(!1),C=f.useMemo(()=>Ln(i),[i]),[S,P]=f.useState(!1),[D,T]=f.useState(d),B=!l&&u;f.useEffect(()=>{d&&T(!0);const O=setTimeout(()=>{T(!1)},800);return()=>{clearTimeout(O)}},[d]);let N=0;if(!g)switch(i){case"l":case"xl":N=4;break;case"m":N=2;break;case"s":default:N=1;break}let M;switch(A){case"right":M="flex-end";break;case"center":M="center";break;case"left":default:M="flex-start"}const U=f.useCallback(()=>{if(!_)return;const O=m&&m?.current?.getBoundingClientRect();l?_(void 0):!a&&O&&_(O)},[m,_,a,l]),z=f.useCallback(O=>{U(),O.stopPropagation()},[U]);f.useEffect(()=>{if(k){const O=k.height>C;K!==O&&v(O)}},[k,K,C]);const W=!B&&a,oe=!l&&y&&K,L=!l&&!y&&K,Y=f.useCallback(()=>P(!0),[]),X=f.useCallback(()=>P(!1),[]);return n.jsxs("div",{ref:m,className:E("transition-colors duration-100 ease-in-out",`flex relative h-full rounded-md p-${N} border border-4 border-opacity-75`,S&&!l?"bg-gray-50 dark:bg-gray-900":"",d?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",!W&&!D&&!B?"border-transparent":"",b?"overflow-hidden":"",W?"bg-gray-50 dark:bg-gray-900":"",W&&!D?"border-primary":"",D?"border-green-500 ":"",B?"border-red-500":""),style:{justifyContent:M,alignItems:l||!K?"center":void 0,width:I??"100%",textAlign:A},tabIndex:a||l?void 0:0,onFocus:z,onMouseEnter:Y,onMouseMove:Y,onMouseLeave:X,children:[n.jsxs(le,{children:[h&&!L&&t,(!h||L)&&n.jsx(dH,{fullHeight:h??!1,justifyContent:M,scrollable:oe??!1,faded:L,children:!h&&n.jsx("div",{ref:w,style:{display:"flex",width:"100%",justifyContent:M,height:h?"100%":void 0},children:t})})]}),c,l&&S&&s&&n.jsx("div",{className:"absolute top-1 right-1 text-xs",children:n.jsx(_e,{title:s,children:n.jsx(Pc,{size:"smallest",color:"disabled",className:"text-gray-500"})})})]})},(e,t)=>e.error===t.error&&e.value===t.value&&e.disabled===t.disabled&&e.saved===t.saved&&e.allowScroll===t.allowScroll&&e.align===t.align&&e.size===t.size&&e.disabledTooltip===t.disabledTooltip&&e.width===t.width&&e.showExpandIcon===t.showExpandIcon&&e.removePadding===t.removePadding&&e.fullHeight===t.fullHeight&&e.selected===t.selected);function uH(e){return e.dataType==="string"&&e.storage?!0:e.dataType==="array"?Array.isArray(e.of)?!1:e.of?.dataType==="string"&&e.of?.storage:!1}const fH=f.memo(function({propertyKey:t,customFieldValidator:c,value:i,property:a,align:l,width:s,height:d,path:u,entity:A,readonly:y,disabled:g}){const h=ee(),{onValueChange:_,size:I,selectedCell:b,select:p,setPopupCell:w}=MH(),k=b?.propertyKey===t&&b?.entity.path===A.path&&b?.entity.id===A.id,[m,K]=f.useState(i),v=f.useRef(i),[C,S]=f.useState(),[P,D]=f.useState(!1),T=f.useCallback(()=>{D(!0),setTimeout(()=>{D(!1)},100)},[]),B=!!a.Field,N=!!a.Preview,M=Cn(a),U=typeof a.disabled=="object"?a.disabled.disabledMessage:void 0,z=y||g||!!a.disabled,W=f.useMemo(()=>so({property:a,entityId:A.id,customFieldValidator:c,name:t}),[A.id,a,t]);f.useEffect(()=>{se(i,v.current)||(S(void 0),K(i),v.current=i,T())},[T,i]);const oe=H=>{se(H,v.current)||(D(!1),W.validate(H).then(()=>{S(void 0),v.current=H,_&&_({value:H,propertyKey:t,setError:S,onValueUpdated:T,entity:A,fullPath:u,context:h})}).catch(G=>{S(G)}))};f.useEffect(()=>{W.validate(m).then(()=>S(void 0)).catch(H=>{S(H)})},[m,W]);const L=H=>{let G;H===void 0?G=null:G=H,K(G),oe(G)};Te({property:a,value:m,setValue:L});const Y=f.useCallback(H=>{p(H?{width:s,height:d,entity:A,cellRect:H,propertyKey:t}:void 0)},[A,d,t,p,s]),X=H=>{w&&w(H?{width:s,height:d,entity:A,cellRect:H,propertyKey:t}:void 0)};let O,V=!1,Q=!1,J=!0,ne=!1,$=!1,re=!0;const ie=!z&&C;if(y||M)return n.jsx(wt,{size:I,width:s,saved:P,value:m,align:l??"left",fullHeight:!1,disabledTooltip:U??(M?"Read only":void 0),disabled:!0,children:n.jsx(Ce,{width:s,height:Ln(I),propertyKey:t,property:a,entity:A,value:m,size:un(I)})},`${t}_${A.path}_${A.id}`);if(!B&&(!N||k)){if(uH(a))O=n.jsx(iH,{error:C,disabled:z,focused:k,selected:k,openPopup:w?X:void 0,property:a,entity:A,path:u,value:m,previewSize:un(I),updateValue:L,propertyKey:t}),re=!1,Q=!0,$=!0,ne=!0;else if(k&&a.dataType==="number"){const G=a;G.enumValues?(O=n.jsx(pt,{name:t,multiple:!1,disabled:z,focused:k,valueType:"number",small:un(I)!=="medium",enumValues:G.enumValues,error:C,internalValue:m,updateValue:L}),$=!0):(O=n.jsx(Rz,{align:l,error:C,focused:k,disabled:z,value:m,updateValue:L}),V=!0)}else if(k&&a.dataType==="string"){const G=a;if(G.enumValues)O=n.jsx(pt,{name:t,multiple:!1,focused:k,disabled:z,valueType:"string",small:un(I)!=="medium",enumValues:G.enumValues,error:C,internalValue:m,updateValue:L}),$=!0;else if(!G.storage){const ue=!!G.multiline||!!G.markdown;O=n.jsx(xz,{error:C,disabled:z,multiline:ue,focused:k,value:m,updateValue:L}),V=!0}}else if(a.dataType==="boolean")O=n.jsx(eH,{error:C,disabled:z,focused:k,internalValue:m,updateValue:L});else if(a.dataType==="date")O=n.jsx(nH,{name:t,error:C,disabled:z,mode:a.mode,focused:k,internalValue:m,updateValue:L}),$=!0,J=!1,V=!1;else if(a.dataType==="reference")typeof a.path=="string"&&(O=n.jsx(Zi,{name:t,internalValue:m,updateValue:L,disabled:z,size:I,path:a.path,multiselect:!1,previewProperties:a.previewProperties,title:a.name,forceFilter:a.forceFilter})),V=!1;else if(a.dataType==="array"){const G=a;if(!G.of&&!G.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${t}`);G.of&&!Array.isArray(G.of)&&(G.of.dataType==="string"||G.of.dataType==="number"?k&&G.of.enumValues&&(O=n.jsx(pt,{name:t,multiple:!0,disabled:z,focused:k,small:un(I)!=="medium",valueType:G.of.dataType,enumValues:G.of.enumValues,error:C,internalValue:m,updateValue:L}),V=!0,$=!0,J=!1):G.of.dataType==="reference"&&(typeof G.of.key=="string"&&(O=n.jsx(Zi,{name:t,disabled:z,internalValue:m,updateValue:L,size:I,multiselect:!0,path:G.of.key,previewProperties:G.of.previewProperties,title:G.of.name,forceFilter:G.of.forceFilter})),V=!1))}}return O||(V=!1,Q=k&&!O&&!z&&!M,O=n.jsx(Ce,{width:s,height:d,entity:A,propertyKey:t,value:m,property:a,size:un(I)})),n.jsx(wt,{size:I,width:s,onSelect:Y,selected:k,disabled:z||M,disabledTooltip:U??"Disabled",removePadding:ne,fullHeight:$,saved:P,error:C,align:l,allowScroll:V,showExpandIcon:Q,value:m,hideOverflow:J,actions:re&&n.jsx(Ji,{showError:ie,disabled:z,showExpandIcon:Q,selected:k,openPopup:z?void 0:X}),children:O},`cell_${t}_${A.path}_${A.id}`)},AH);function AH(e,t){return e.height===t.height&&e.propertyKey===t.propertyKey&&e.align===t.align&&e.width===t.width&&se(e.property,t.property)&&se(e.value,t.value)&&se(e.entity.values,t.entity.values)}function Ao({text:e,...t}){return n.jsx("div",{className:"flex w-full h-screen max-h-full max-w-full bg-gray-50 dark:bg-gray-900 gap-4",children:n.jsxs("div",{className:"m-auto flex flex-col gap-2 items-center",children:[n.jsx(Gn,{...t}),e&&n.jsx(j,{color:"secondary",variant:"caption",className:"text-center",children:e})]})})}const _H=f.memo(function({resizeHandleRef:t,columnIndex:c,isResizingIndex:i,sort:a,onColumnSort:l,onFilterUpdate:s,filter:d,column:u,onClickResizeColumn:A,createFilterField:y,additionalHeaderWidget:g}){const[h,_]=f.useState(!1),[I,b]=f.useState(!1),p=f.useCallback(v=>{b(!0)},[]),w=f.useCallback((v,C)=>{s(u,v),C!==void 0&&b(C)},[u,s]),k=i===c,K=!(i!==c&&i>0)&&(h||k);return n.jsx(le,{children:n.jsxs("div",{className:E("flex py-0 px-3 h-full text-xs uppercase font-semibold relative select-none items-center bg-gray-50 dark:bg-gray-900","text-gray-600 hover:text-gray-800 dark:text-gray-400 dark:hover:text-gray-200 ","hover:bg-gray-100 dark:hover:bg-gray-800 hover:bg-opacity-50 dark:hover:bg-opacity-50",u.frozen?"sticky left-0 z-10":"relative z-0"),style:{left:u.frozen?0:void 0,minWidth:u.width,maxWidth:u.width},onMouseEnter:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>_(!1),children:[n.jsx("div",{className:"overflow-hidden flex-grow",children:n.jsxs("div",{className:`flex items-center justify-${u.headerAlign} flex-row`,children:[u.icon&&u.icon(h||I),n.jsx("div",{className:"truncate -webkit-box w-full mx-1 overflow-hidden",style:{WebkitBoxOrient:"vertical",WebkitLineClamp:2,justifyContent:u.align},children:u.title})]})}),u.sortable&&(a||K||I)&&n.jsxs(n.Fragment,{children:[g&&g(K||I),n.jsx(Ht,{color:"secondary",invisible:!a,children:n.jsxs(x,{size:"small",className:h||I?"bg-white dark:bg-gray-950":void 0,onClick:()=>{l(u.key)},children:[!a&&n.jsx(Eo,{}),a==="asc"&&n.jsx(Eo,{}),a==="desc"&&n.jsx(Eo,{className:"rotate-180"})]})})]}),u.filter&&y&&n.jsx("div",{children:n.jsx(Ht,{color:"secondary",invisible:!d,children:n.jsx(Et,{open:I,onOpenChange:b,trigger:n.jsx(x,{className:h||I?"bg-white dark:bg-gray-950":void 0,size:"small",onClick:p,children:n.jsx(Ic,{size:"small"})}),children:u.filter&&n.jsx(yH,{column:u,filter:d,onHover:h,onFilterUpdate:w,createFilterField:y,popupOpen:I,setPopupOpen:b})})})}),u.resizable&&n.jsx("div",{ref:t,className:E("absolute h-full w-[6px] top-0 right-0 cursor-col-resize",K&&"bg-gray-300 dark:bg-gray-700"),onMouseDown:A?()=>A(c,u):void 0})]})})},se);function yH({column:e,onFilterUpdate:t,filter:c,onHover:i,createFilterField:a,popupOpen:l,setPopupOpen:s}){const d=e.key,[u,A]=f.useState(c);if(f.useEffect(()=>{A(c)},[c]),!e.filter)return null;const y=()=>{t(u,!1)},g=I=>{t(void 0,!1)},h=!!c,_=a({id:d,filterValue:u,setFilterValue:A,column:e,popupOpen:l,setPopupOpen:s});return _?n.jsxs("div",{className:E("text-gray-900 dark:text-white"),children:[n.jsx("div",{className:E(de,"py-4 px-6 text-xs font-semibold uppercase border-b"),children:e.title??d}),_&&n.jsx("div",{className:"m-4",children:_}),n.jsxs("div",{className:"flex justify-end m-4",children:[n.jsx(ce,{className:"mr-4",disabled:!h,variant:"text",color:"primary",type:"reset","aria-label":"filter clear",onClick:g,children:"Clear"}),n.jsx(ce,{variant:"outlined",color:"primary",onClick:y,children:"Filter"})]})]}):null}const gH=({columns:e,currentSort:t,onColumnSort:c,onFilterUpdate:i,sortByProperty:a,filter:l,onColumnResize:s,onColumnResizeEnd:d,createFilterField:u,AddColumnComponent:A})=>{const y=e.map(()=>f.createRef()),[g,h]=f.useState(-1),_=f.useCallback((v,C,S)=>{const P=e[v],D=100,T=800,B=C>T?T:C<D?D:C,N={width:B,key:P.key,column:{...P,width:B}};S?d(N):s(N)},[e,s,d]),I=f.useCallback(v=>{if(g>=0){const C=y[g].current?.parentElement?.getBoundingClientRect().left;return C?v.clientX-C:void 0}},[y,g]),b=f.useCallback(v=>{document.body.style.cursor=v?"col-resize":"auto"},[]),p=f.useCallback(v=>{v.stopPropagation(),v.preventDefault();const C=I(v);C&&_(g,C,!1)},[_,I,g]),w=f.useCallback(v=>{v.stopPropagation(),v.preventDefault();const C=I(v);C&&_(g,C,!0),h(-1),b(!1)},[_,I,g,b]),k=f.useCallback(()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",w)},[p,w]),m=f.useCallback(()=>{document.addEventListener("mousemove",p),document.addEventListener("mouseup",w)},[p,w]);f.useEffect(()=>(g>=0?m():k(),()=>{k()}),[m,g,k]);const K=f.useCallback(v=>{h(v),b(!0)},[b]);return n.jsxs("div",{className:E(de,"z-20 sticky min-w-full flex w-fit flex-row top-0 left-0 h-12 border-b bg-gray-50 dark:bg-gray-900"),children:[e.map((v,C)=>{const S=e[C],P=S&&l&&l[S.key]?l[S.key]:void 0;return n.jsx(le,{children:n.jsx(_H,{resizeHandleRef:y[C],columnIndex:C,isResizingIndex:g,onFilterUpdate:i,filter:P,sort:a===S.key?t:void 0,onColumnSort:c,onClickResizeColumn:K,column:S,createFilterField:u,additionalHeaderWidget:S.additionalHeaderWidget})},"header_"+S.key)}),A&&n.jsx(A,{})]})},hH=f.memo(function({rowData:t,rowIndex:c,children:i,onRowClick:a,size:l,style:s,hoverRow:d,rowClassName:u}){const A=f.useCallback(y=>a?a({rowData:t,rowIndex:c,event:y}):void 0,[a,t,c]);return n.jsx("div",{className:E("flex min-w-full text-sm border-b border-gray-200 dark:border-gray-800 border-opacity-40 dark:border-opacity-40",u?u(t):"",{"hover:bg-opacity-95":d,"cursor-pointer":a}),onClick:A,style:{...s,height:Ln(l),width:"fit-content"},children:i})},se),IH=f.memo(function(t){return t.rowData&&t.cellRenderer({cellData:t.cellData,rowData:t.rowData,rowIndex:t.rowIndex,isScrolling:!1,column:t.column,columns:t.columns,columnIndex:t.columnIndex,width:t.column.width})},(e,t)=>se(e,t)),Uo=f.createContext({});Uo.displayName="VirtualListContext";const bH=f.forwardRef(({children:e,...t},c)=>n.jsx(Uo.Consumer,{children:i=>{const a=i.customView;return n.jsxs(n.Fragment,{children:[n.jsx("div",{id:"virtual-table",style:{position:"relative",height:"100%"},children:n.jsxs("div",{ref:c,...t,style:{...t?.style,minHeight:"100%",position:"relative"},children:[n.jsx(gH,{...i}),!a&&e]})}),a&&n.jsx("div",{style:{position:"sticky",top:"56px",flexGrow:1,height:"calc(100% - 56px)",marginTop:"calc(56px - 100vh)",left:0},children:a})]})}})),Xi=f.memo(function({data:t,onResetPagination:c,onEndReached:i,size:a="m",columns:l,onRowClick:s,onColumnResize:d,filter:u,checkFilterCombination:A,onFilterUpdate:y,sortBy:g,error:h,emptyMessage:_,onSortByUpdate:I,loading:b,cellRenderer:p,hoverRow:w,createFilterField:k,rowClassName:m,className:K,endAdornment:v,AddColumnComponent:C}){const S=g?g[0]:void 0,P=g?g[1]:void 0,[D,T]=f.useState(l),B=f.useRef(null),N=f.useRef(0);f.useEffect(()=>{T(l)},[l]);const[M,U]=or(),z=f.useCallback(H=>{T(D.map(G=>G.key===H.column.key?H.column:G))},[D]),W=f.useCallback(H=>{T(D.map(G=>G.key===H.column.key?H.column:G)),d&&d(H)},[D,d]),oe=f.useRef();f.useEffect(()=>{oe.current=u},[u]);const L=f.useCallback(()=>{N.current=0,B.current&&B.current.scrollTo(B.current?.scrollLeft,0)},[]),Y=f.useCallback(H=>{const G=S===H&&P==="desc",Be=S===H&&P==="asc"?"desc":G?void 0:"asc",Oe=G?void 0:H,He=oe.current,Ve=Be&&Oe?[Oe,Be]:void 0;He&&A&&!A(He,Ve)&&y&&y(void 0),c&&c(),I&&I(Ve),L()},[A,P,y,c,I,L,S]),X=f.useCallback(()=>{N.current=0,I&&I(void 0)},[I]),O=Math.max((t?.length??0)*Ln(a)-U.height,0),V=f.useCallback(H=>{i&&(t?.length??0)>0&&H>N.current+600&&(N.current=H,i())},[t?.length,i]),Q=f.useCallback(({scrollOffset:H,scrollUpdateWasRequested:G})=>{!G&&H>=O-600&&V(H)},[O,V]),J=f.useCallback((H,G)=>{N.current=0;const ue=oe.current;let Be=ue?{...ue}:{};G?Be[H.key]=G:delete Be[H.key],!A||A(Be,S&&P?[S,P]:void 0)||(Be=G?{[H.key]:G}:{}),y&&y(Be),H.key!==S&&X()},[A,P,y,X,S]),ne=f.useCallback(()=>n.jsxs("div",{className:"h-full flex flex-col items-center justify-center sticky left-0",children:[n.jsx(j,{variant:"h6",children:"Error fetching data from the data source"}),h?.message&&n.jsx(lo,{className:"px-4 break-all",source:h.message})]}),[h?.message]),$=f.useCallback(()=>b?n.jsx(Ao,{}):n.jsxs("div",{className:"flex overflow-auto items-center justify-center p-2 gap-2 h-full",children:[n.jsx(ac,{}),n.jsx(j,{children:_})]}),[_,b]),re=!b&&(t?.length??0)===0,ie=h?ne():re?$():void 0;return n.jsx("div",{ref:M,className:E("h-full w-full",K),children:n.jsx(Uo.Provider,{value:{data:t,size:a,cellRenderer:p,columns:D,currentSort:P,onRowClick:s,customView:ie,onColumnResize:z,onColumnResizeEnd:W,filter:oe.current,onColumnSort:Y,onFilterUpdate:J,sortByProperty:S,hoverRow:w??!1,createFilterField:k,rowClassName:m,endAdornment:v,AddColumnComponent:C},children:n.jsx(pH,{outerRef:B,width:U.width,height:U.height,itemCount:(t?.length??0)+(v?1:0),onScroll:Q,includeAddColumn:!!C,itemSize:Ln(a)},a)})})},se);function pH({outerRef:e,width:t,height:c,itemCount:i,onScroll:a,itemSize:l,includeAddColumn:s}){const d=f.useCallback(({index:u,style:A})=>n.jsx(Uo.Consumer,{children:({onRowClick:y,data:g,columns:h,size:_="m",cellRenderer:I,hoverRow:b,rowClassName:p,endAdornment:w})=>{if(w&&u===(g??[]).length)return n.jsx("div",{style:{...A,height:"auto",position:"sticky",bottom:0,zIndex:1},children:w});const k=g&&g[u];return n.jsxs(hH,{rowData:k,rowIndex:u,onRowClick:y,columns:h,hoverRow:b,rowClassName:p,style:{...A,top:`calc(${A.top}px + 48px)`},size:_,children:[h.map((m,K)=>{const v=k&&k[m.key];return n.jsx(IH,{dataKey:m.key,cellRenderer:I,column:m,columns:h,rowData:k,cellData:v,rowIndex:u,columnIndex:K},`cell_${m.key}`)}),s&&n.jsx("div",{className:"w-20"})]},`row_${u}`)}}),[]);return n.jsx(Va.FixedSizeList,{outerRef:e,innerElementType:bH,width:t,height:c,overscanCount:4,itemCount:i,onScroll:a,itemSize:l,children:d})}function Qn({children:e,trigger:t,open:c,defaultOpen:i,onOpenChange:a}){return n.jsxs(Zn.Root,{open:c,defaultOpen:i,onOpenChange:a,children:[n.jsx(Zn.Trigger,{asChild:!0,children:t}),n.jsx(Zn.Portal,{children:n.jsx(Zn.Content,{className:E(ze,"shadow py-2 z-30"),children:e})})]})}function ke({children:e,dense:t,onClick:c}){return n.jsx(Zn.Item,{className:E(ge,c&&"cursor-pointer","rounded-md px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-900 flex items-center gap-4"),onClick:c,children:e})}function kt({entity:e,width:t,frozen:c,isSelected:i,selectionEnabled:a,size:l,toggleEntitySelection:s,onCopyClicked:d,onEditClicked:u,onDeleteClicked:A,hideId:y}){const g=We(),h=!!u,_=!!d,I=!!A,b=f.useCallback(m=>{s&&s(e)},[e,s]),p=f.useCallback(m=>{m.stopPropagation(),A&&A(e)},[e,A]),w=f.useCallback(m=>{m.stopPropagation(),d&&d(e)},[e,d]),k=f.useCallback(m=>{m.stopPropagation(),s&&s(e)},[e,s]);return n.jsxs("div",{onClick:k,className:E("h-full flex items-center justify-center flex-col bg-gray-50 dark:bg-gray-900 bg-opacity-90 dark:bg-opacity-90 z-10",c?"sticky left-0":""),style:{width:t,position:c?"sticky":"initial",left:c?0:"initial",contain:"strict"},children:[(h||I||a)&&n.jsxs("div",{className:"w-34 flex justify-center",children:[h&&n.jsx(_e,{title:`Edit ${e.id}`,children:n.jsx(x,{onClick:m=>{m.stopPropagation(),u&&u(e)},size:g?"medium":"small",children:n.jsx(Do,{})})}),a&&n.jsx(_e,{title:`Select ${e.id}`,children:n.jsx(Hr,{size:g?"medium":"small",checked:i,onCheckedChange:b})}),(_||I)&&n.jsxs(Qn,{trigger:n.jsx(x,{size:g?"medium":"small",children:n.jsx(wr,{})}),children:[I&&n.jsxs(ke,{onClick:p,children:[n.jsx(Fo,{}),"Delete"]}),_&&n.jsxs(ke,{onClick:w,children:[n.jsx(hc,{}),"Copy"]})]})]}),!y&&l!=="xs"&&n.jsx("div",{className:"w-[138px] text-center overflow-hidden truncate",children:e?n.jsxs(j,{className:"font-mono",variant:"caption",color:"secondary",children:[" ",e.id," "]}):n.jsx(Qe,{})})]})}function wH(e){const t=We(),c=!e.forceFilter&&e.filterIsSet&&e.clearFilter&&n.jsxs(ce,{variant:"outlined",className:"h-fit-content","aria-label":"filter clear",onClick:e.clearFilter,size:"small",children:[n.jsx(bc,{}),"Clear filter"]}),i=n.jsx(xe,{value:e.size,className:"w-16 h-10",size:"small",onValueChange:a=>e.onSizeChanged(a),renderValue:a=>n.jsx("div",{className:"font-medium",children:a.toUpperCase()}),children:["xs","s","m","l","xl"].map(a=>n.jsx(Re,{value:a,className:"w-12 font-medium text-center",children:a.toUpperCase()},a))});return n.jsxs("div",{className:E(de,"no-scrollbar min-h-[56px] overflow-x-auto px-4 bg-gray-50 dark:bg-gray-900 border-b flex flex-row justify-between items-center w-full"),children:[n.jsxs("div",{className:"flex items-center gap-2",children:[e.title&&n.jsx("div",{className:"hidden lg:block",children:e.title}),i,e.actionsStart,c]}),n.jsxs("div",{className:"flex items-center gap-2",children:[t&&n.jsx("div",{className:"w-[22px]",children:e.loading&&n.jsx(Gn,{size:"small"})}),e.onTextSearch&&n.jsx(Gt,{onTextSearch:e.onTextSearch,expandable:!0},"search-bar"),e.actions]})]})}const xi={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Contains Any"},mt=["array-contains-any","in","not-in"];function kH({name:e,value:t,setValue:c,isArray:i,path:a,title:l,previewProperties:s,setPopupOpen:d}){const u=i?["array-contains"]:["==","!=",">","<",">=","<="],[A,y]=f.useState(!1);i?u.push("array-contains-any"):u.push("in","not-in");const[g,h]=t||[u[0],void 0],[_,I]=f.useState(g),[b,p]=f.useState(h),w=b?Array.isArray(b)?b.map(B=>B instanceof qe?B.id:null).filter(Boolean):[b.id]:[];function k(B,N){const M=mt.includes(_),U=mt.includes(B);let z=N;M!==U&&(z=U?z instanceof qe?[z]:[]:void 0),I(B),p(z);const W=z!==null&&Array.isArray(z)?z.length>0:z!==void 0;c(B&&W?[B,z]:void 0)}const m=fe(),K=f.useMemo(()=>a?m.getCollection(a):void 0,[a]),v=B=>{k(_,In(B))},C=B=>{k(_,B.map(N=>In(N)))},S=mt.includes(_),P=io({multiselect:S,path:a,collection:K,onSingleEntitySelected:v,onMultipleEntitiesSelected:C,selectedEntityIds:w,onClose:()=>{d(!0)}}),D=()=>{d(!1),P.open()},T=B=>n.jsx("div",{className:"mb-0.5",onMouseEnter:()=>y(!0),onMouseMove:()=>y(!0),onMouseLeave:()=>y(!1),children:n.jsx(on,{disabled:!a,previewProperties:s,size:"medium",onClick:D,reference:B,onHover:A,allowEntityNavigation:!1})});return n.jsxs("div",{className:"flex w-[440px] flex-row",children:[n.jsx("div",{className:"w-[120px]",children:n.jsx(xe,{value:_,onValueChange:B=>{k(B,b)},renderValue:B=>xi[B],children:u.map(B=>n.jsx(Re,{value:B,children:xi[B]},B))})}),n.jsxs("div",{className:"flex-grow ml-2 h-full",children:[b&&Array.isArray(b)&&n.jsx("div",{children:b.map((B,N)=>T(B))}),b&&!Array.isArray(b)&&n.jsx("div",{children:T(b)}),(!b||Array.isArray(b)&&b.length===0)&&n.jsx(ce,{onClick:D,className:"h-full",children:S?"Select references":"Select reference"})]})]})}const Ri={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Any"},vt=["array-contains-any","in","not-in"];function mH({name:e,value:t,setValue:c,dataType:i,isArray:a,enumValues:l,title:s}){const d=a?["array-contains"]:["==","!=",">","<",">=","<="];l&&(a?d.push("array-contains-any"):d.push("in","not-in"));const[u,A]=t||[d[0],void 0],[y,g]=f.useState(u),[h,_]=f.useState(A);function I(p,w){let k=w;const m=vt.includes(y),K=vt.includes(p);m!==K&&(k=K?typeof w=="string"||typeof w=="number"?[w]:[]:""),typeof k=="number"&&isNaN(k)&&(k=void 0),g(p),_(k);const v=k!==null&&Array.isArray(k)?k.length>0:k!==void 0;c(p&&v?[p,k]:void 0)}const b=vt.includes(y);return n.jsxs("div",{className:"flex w-[440px] items-center",children:[n.jsx("div",{className:"w-[80px]",children:n.jsx(xe,{value:y,position:"item-aligned",onValueChange:p=>{I(p,h)},renderValue:p=>Ri[p],children:d.map(p=>n.jsx(Re,{value:p,children:Ri[p]},p))})}),n.jsxs("div",{className:"flex-grow ml-2",children:[!l&&n.jsx(_n,{type:i==="number"?"number":void 0,value:h!==void 0?String(h):"",onChange:p=>{const w=i==="number"?parseFloat(p.target.value):p.target.value;I(y,w)},endAdornment:h&&n.jsx(x,{className:"absolute right-3 top-2",onClick:p=>I(y,void 0),children:n.jsx(sn,{})})}),l&&n.jsx(xe,{position:"item-aligned",value:h!==void 0?Array.isArray(h)?h.map(p=>String(p)):String(h):a?[]:"",onValueChange:p=>{I(y,i==="number"?parseInt(p):p)},multiple:b,endAdornment:h&&n.jsx(x,{className:"absolute right-3 top-2",onClick:p=>I(y,void 0),children:n.jsx(sn,{})}),renderValue:p=>n.jsx(Se,{enumKey:p,enumValues:l,size:"small"},`select_value_${e}_${p}`),children:l.map(p=>n.jsx(Re,{value:String(p.id),children:n.jsx(Se,{enumKey:String(p.id),enumValues:l,size:"small"})},`select_value_${e}_${p.id}`))})]})]})}function vH({name:e,title:t,value:c,setValue:i}){function a(d){i(d!==void 0?["==",d]:void 0)}const l=c&&c[1],s=!!c;return n.jsx("div",{className:"w-[200px]",children:n.jsx(On,{value:l,allowIndeterminate:!0,onValueChange:d=>a(d===null?void 0:d),label:s?l?`${t} is true`:`${t} is false`:"No filter"})})}const KH="hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75",CH="inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",SH="dark:text-gray-100 text-gray-700 visited:text-gray-700 dark:visited:text-gray-100",BH={medium:"w-10 !h-10 min-w-10 min-h-10",small:"w-8 !h-8 min-w-8 min-h-8",large:"w-12 !h-12 min-w-12 min-h-12"},EH={circular:"rounded-full",square:"rounded-md"},FH=({children:e,className:t,size:c="medium",variant:i="ghost",shape:a="circular",disabled:l,toggled:s,component:d,...u},A)=>{const y=i==="ghost"?"bg-transparent":"bg-gray-50 dark:bg-gray-950",g=d||"button";return n.jsx(g,{type:"button",ref:A,...u,className:E(ge,l?"opacity-50 pointer-events-none":"cursor-pointer",s?"outline outline-2 outline-primary":"",SH,y,CH,KH,EH[a],BH[c],t),children:e})},x=f.forwardRef(FH),Kt=ae.forwardRef(function(t,c){const{shrink:i,className:a,...l}=t,s={root:"origin-left transition-transform block whitespace-nowrap overflow-hidden text-overflow-ellipsis max-w-full",shrink:"transform translate-y-[2px] scale-75 translate-x-[12px]",expanded:"translate-x-[16px] top-0 transform translate-y-[16px] scale-100"},d=E(s.root,{[s.shrink]:i,[s.expanded]:!i},a);return n.jsx("label",{"data-shrink":i,ref:c,className:d,...l})}),Vn=({value:e,label:t,onChange:c,disabled:i,clearable:a,mode:l="date",error:s,size:d,className:u,style:A,inputClassName:y,preventOpenOnFocus:g,invisible:h})=>{const _=f.useRef(null),{locale:I}=ee(),b=f.useRef(null),[p,w]=f.useState(document.activeElement===b.current),k=e!=null,m=e!=null&&!(e instanceof Date);Dn("DateTimeField",PH);const K=v=>{v.preventDefault(),c(null)};return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:E("rounded-md relative max-w-full",!h&&Ze,i?nn:Ge,{"min-h-[48px]":d==="small","min-h-[64px]":d==="medium"},u),style:A,children:[t&&n.jsx(Kt,{className:E("absolute top-1 pointer-events-none",s?"text-red-500 dark:text-red-600":p?"text-primary":"text-text-secondary dark:text-text-secondary-dark",i?"opacity-50":""),shrink:k||p,children:t}),n.jsx(er,{ref:_,locale:I,selected:(m?null:e)??null,onChange:c,disabled:!1,popperClassName:E(ze,"my-4 shadow"),onClick:v=>v.stopPropagation(),onFocus:()=>w(!0),onBlur:()=>w(!1),showTimeSelect:l==="date_time",timeFormat:"HH:mm",timeIntervals:15,timeCaption:"time",dateFormat:l==="date_time"?"Pp":"P",preventOpenOnFocus:!0,className:E("w-full outline-none bg-transparent leading-normal text-base px-3",a?"pr-14":"pr-12","rounded-md",!h&&ge,d==="small"?"min-h-[48px]":"min-h-[64px]",t?"pt-[28px] pb-2":"py-2",y,i&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-600 dark:text-gray-500")}),n.jsx(x,{onClick:()=>_.current?.setOpen(!0),className:"absolute right-3 top-1/2 transform -translate-y-1/2 !text-gray-500 ",children:n.jsx(lc,{color:"disabled"})}),a&&e&&n.jsx(x,{onClick:K,className:"absolute right-14 top-1/2 transform -translate-y-1/2 text-gray-400 ",children:n.jsx(sn,{})})]}),m&&n.jsx(pe,{title:"Invalid date value for this field",error:`The provided value is: ${JSON.stringify(e)}`})]})},PH=`
750
655
  .react-datepicker__year-read-view--down-arrow,
751
656
  .react-datepicker__month-read-view--down-arrow,
752
657
  .react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {
@@ -1580,7 +1485,71 @@
1580
1485
  .react-datepicker__day--outside-month{
1581
1486
  color: #666 !important;
1582
1487
  }
1583
- `,Ji={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=","not-in":"not in",in:"in","array-contains":"Contains","array-contains-any":"Any"},Zi=["array-contains-any","in"];function S3({name:e,isArray:t,mode:c,value:i,setValue:a,title:l}){const s=t?["array-contains"]:["==","!=",">","<",">=","<="],[d,u]=i||[s[0],void 0],[A,y]=f.useState(d),[h,I]=f.useState(u);function _(g,b){let p=b;const w=Zi.includes(A),k=Zi.includes(g);w!==k&&(p=k?b?[b]:[]:""),y(g),I(p===null?void 0:p);const v=p!==null&&Array.isArray(p)?p.length>0:p!==void 0;a(g&&v?[g,p]:void 0)}return n.jsxs("div",{className:"flex w-[440px] items-center",children:[n.jsx("div",{className:"w-[80px]",children:n.jsx(Xe,{value:A,onValueChange:g=>{_(g,h)},renderValue:g=>Ji[g],children:s.map(g=>n.jsx(xe,{value:g,children:Ji[g]},g))})}),n.jsx("div",{className:"flex-grow ml-2",children:n.jsx(Vn,{mode:c,size:"medium",value:h,onChange:g=>{_(A,g===null?void 0:g)},clearable:!0})})]})}const Xi="collectionGroupParent";function xi(e,t){return f.useMemo(()=>e.propertiesOrder?Ri(e,e.propertiesOrder):B3(e,t),[e,t])}function Ri(e,t){return t.flatMap(c=>{const i=e.properties[c];return i?i.hideFromCollection?[null]:i.disabled&&typeof i.disabled=="object"&&i.disabled.hidden?[null]:i.dataType==="map"&&i.spreadChildren&&i.properties?vt(i,c):[{key:c,disabled:!!i.disabled||!!i.readOnly}]:e.additionalFields?.find(l=>l.id===c)?[{key:c,disabled:!0}]:e.subcollections&&e.subcollections.find(s=>ht(s)===c)?[{key:c,disabled:!0}]:e.collectionGroup&&c===Xi?[{key:c,disabled:!0}]:[null]}).filter(Boolean)}function B3(e,t){const c=Object.keys(e.properties),i=e.additionalFields??[],a=e.subcollections??[],l=[...c,...i.map(s=>s.id)];if(t){const s=a.map(d=>ht(d));l.push(...s.filter(d=>!l.includes(d)))}return e.collectionGroup&&l.push(Xi),Ri(e,l)}function vt(e,t,c){return e.dataType==="map"&&e.spreadChildren&&e.properties?Object.entries(e.properties).flatMap(([i,a])=>vt(a,`${t}.${i}`,c||!!e.disabled||!!e.readOnly)):[{key:t,disabled:c||!!e.disabled||!!e.readOnly}]}const E3={},ea=f.createContext(E3),F3=()=>f.useContext(ea),Kt=f.memo(function({forceFilter:t,actionsStart:c,actions:i,title:a,tableRowActionsBuilder:l,uniqueFieldValidator:s,getPropertyFor:d,onValueChange:u,selectionController:A,highlightedEntities:y,onEntityClick:h,onColumnResize:I,onSizeChanged:_,textSearchEnabled:g=!1,hoverRow:b=!0,inlineEditing:p=!1,additionalFields:w,displayedColumnIds:k,defaultSize:v,properties:K,tableController:{data:m,dataLoading:C,noMoreToLoad:B,dataLoadingError:P,filterValues:F,setFilterValues:D,sortBy:S,setSortBy:T,searchString:N,setSearchString:q,clearFilter:z,itemCount:V,setItemCount:oe,pageSize:O=50,paginationEnabled:H,checkFilterCombination:Z,setPopupCell:L},filterable:W=!0,sortable:Q=!0,endAdornment:X}){const ee=ze(),U=!!t,re=A?.selectedEntities?.length>0?A?.selectedEntities:y,J=ne(),[Y,x]=f.useState(v??"m"),[ge,He]=f.useState(void 0),ve=re?.map($=>$.id),fn=!!F&&Object.keys(F).length>0,An=()=>{!H||C||B||V!==void 0&&oe?.(V+O)},zn=f.useCallback(()=>{oe?.(O)},[O]),_o=f.useCallback(({rowData:$})=>{if(!p)return h&&h($)},[h,p]),mn=f.useCallback($=>{_&&_($),x($)},[]),Hn=f.useCallback($=>q?.($),[]),_n=f.useMemo(()=>w?w.map($=>({[$.id]:$})).reduce(($,se)=>({...$,...se}),{}):{},[w]);f.useEffect(()=>{const $=se=>{se.keyCode===27&&yo()};return document.addEventListener("keydown",$,!1),()=>{document.removeEventListener("keydown",$,!1)}});const Un=f.useCallback($=>{He($)},[]),yo=f.useCallback(()=>{He(void 0)},[]),G=s,Ae=f.useCallback(({column:$,columnIndex:se,rowData:Ke,rowIndex:Ue})=>{const ye=Ke,on=$.key;let Yn=$.custom?.disabled;const ho=ye.values?rn(ye.values,on):void 0,$n=d?.({propertyKey:on,propertyValue:ho,entity:ye})??$.custom.resolvedProperty;return $n?.disabled||(Yn=!1),$n?n.jsx(ie,{children:ye?n.jsx(c3,{readonly:!p,align:$.align??"left",propertyKey:on,property:$n,value:ye?.values?rn(ye.values,on):void 0,customFieldValidator:G,columnIndex:se,width:$.width,height:Ln(Y),entity:ye,disabled:Yn,path:ye.path},`property_table_cell_${ye.id}_${on}`):en()}):null},[G,p,Y,ve]),ae=f.useCallback(({column:$,rowData:se,width:Ke})=>{const Ue=se,ye=_n[$.key],on=ye.dependencies?Object.entries(Ue.values).filter(([ho,$n])=>ye.dependencies.includes(ho)).reduce((ho,$n)=>({...ho,...$n}),{}):Ue,Yn=ye.Builder;if(!Yn)throw new Error("No builder provided for additional field");return n.jsx(bt,{width:Ke,size:Y,value:on,selected:!1,disabled:!0,align:"left",allowScroll:!1,showExpandIcon:!1,disabledTooltip:"This column can't be edited directly",children:n.jsx(ie,{children:n.jsx(Yn,{entity:Ue,context:J})})},`additional_table_cell_${Ue.id}_${$.key}`)},[_n,Y,ve]),M=f.useMemo(()=>{const $=Object.entries(K).flatMap(([Ke,Ue])=>vt(Ue,Ke)).map(({key:Ke,disabled:Ue})=>{const ye=tt(K,Ke);if(!ye)throw Error("Internal error: no property found in path "+Ke);const on=na(ye);return{key:Ke,align:zz(ye),icon:Yn=>ke(ye,"small"),title:ye.name??Ke,sortable:Q&&(t?Object.keys(t).includes(Ke):!0),filter:!U&&on,width:Wi(ye),resizable:!0,custom:{resolvedProperty:ye,disabled:Ue}}}),se=w?w.map(Ke=>({key:Ke.id,align:"left",sortable:!1,title:Ke.name,width:Ke.width??200})):[];return[...$,...se]},[w,U,t,K,Q]),le=f.useMemo(()=>({key:"id_ewcfedcswdf3",width:ee?160:130,title:"ID",resizable:!1,frozen:ee,headerAlign:"center"}),[ee]),Ie=f.useMemo(()=>[le,...k.map($=>M.find(se=>se.key===$.key)).filter(Boolean)],[M,k,le]),Oe=f.useCallback($=>{const se=$.column,Ke=$.columns,Ue=se.key;if($.columnIndex===0)return l?l({entity:$.rowData,size:Y,width:se.width,frozen:se.frozen}):n.jsx(pt,{entity:$.rowData,width:se.width,frozen:se.frozen,isSelected:!1,size:Y});if(_n[Ue])return ae($);if($.columnIndex<Ke.length+1)return Ae($);throw Error("Internal: columns not mapped properly")},[_n,l,Y,ae,Ae]),vn=f.useCallback($=>{D?.({...$,...t})},[t]);return n.jsx(ea.Provider,{value:{setPopupCell:L,select:Un,onValueChange:u,size:Y,selectedCell:ge,selectedEntityIds:ve},children:n.jsxs("div",{className:"h-full w-full flex flex-col bg-white dark:bg-gray-950",children:[n.jsx(h3,{forceFilter:U,filterIsSet:fn,onTextSearch:g?Hn:void 0,clearFilter:z,size:Y,onSizeChanged:mn,title:a,actionsStart:c,actions:i,loading:C}),n.jsx($i,{data:m,columns:Ie,cellRenderer:Oe,onRowClick:p?void 0:h?_o:void 0,onEndReached:An,onResetPagination:zn,error:P,paginationEnabled:H,onColumnResize:I,size:Y,loading:C,filter:F,onFilterUpdate:D?vn:void 0,sortBy:S,onSortByUpdate:T,hoverRow:b,checkFilterCombination:Z,createFilterField:W?P3:void 0,rowClassName:f.useCallback($=>ve?.includes($.id)?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",[ve]),className:"flex-grow",endAdornment:X})]})})},de);function P3({id:e,filterValue:t,setFilterValue:c,column:i,popupOpen:a,setPopupOpen:l}){if(!i.custom)return null;const{resolvedProperty:s}=i.custom,d=s?.dataType==="array",u=d?s.of:s;if(!u)return null;if(u.dataType==="reference")return n.jsx(g3,{value:t,setValue:c,name:e,isArray:d,path:u.path,title:s?.name,previewProperties:u?.previewProperties,popupOpen:a,setPopupOpen:l});if(u.dataType==="number"||u.dataType==="string"){const A=u.name,y=u.enumValues?tn(u.enumValues):void 0;return n.jsx(I3,{value:t,setValue:c,name:e,dataType:u.dataType,isArray:d,enumValues:y,title:A})}else if(u.dataType==="boolean"){const A=u.name;return n.jsx(b3,{value:t,setValue:c,name:e,title:A})}else if(u.dataType==="date"){const A=u.name;return n.jsx(S3,{value:t,setValue:c,name:e,mode:u.mode,isArray:d,title:A})}return n.jsx("div",{children:`Currently the filter field ${s.dataType} is not supported`})}function na(e,t=!1){return t?["string","number","date","reference"].includes(e.dataType):e.dataType==="array"?e.of?na(e.of,!0):!1:["string","number","boolean","date","reference","array"].includes(e.dataType)}function D3({data:e,entitiesDisplayedFirst:t}){if(!t)return e;const c=new Set(t.map(i=>i.id));return[...t,...e.filter(i=>!c.has(i.id))]}function N3(e,t,c=5e3){const[i,a]=f.useState(e),l=f.useRef(i.length??0),s=f.useRef(!1),d=f.useRef(t),u=!de(d.current,t),A=e.length>=l.current||u;return f.useEffect(()=>{const y=()=>{de(i,e)||(d.current=t,l.current=e.length,a(e)),s.current=!1};s.current=!0;let h;return A?y():h=setTimeout(y,c),()=>{clearTimeout(h),s.current&&A&&y()}},[e,c,t,A]),A?e:i}const T3=50;function Ct({fullPath:e,collection:t,entitiesDisplayedFirst:c,lastDeleteTimestamp:i,forceFilter:a}){const{initialFilter:l,initialSort:s,forceFilter:d}=t,[u,A]=f.useState(void 0),y=fe(),h=Qe(),I=f.useMemo(()=>y.resolveAliasesFrom(e),[e,y.resolveAliasesFrom]),_=a??d,g=t.pagination===void 0||!!t.pagination,b=typeof t.pagination=="number"?t.pagination:T3,[p,w]=f.useState(),[k,v]=f.useState(g?b:void 0),K=f.useCallback((O,H)=>h.isFilterCombinationValid?h.isFilterCombinationValid({path:I,collection:t,filterValues:O,sortBy:H}):!0,[]),m=f.useMemo(()=>{if(s&&_&&!K(_,s)){console.warn("Initial sort is not compatible with the force filter. Ignoring initial sort");return}return s},[s,_]),[C,B]=f.useState(_??l??void 0),[P,F]=f.useState(m),D=f.useCallback(()=>B(_??void 0),[_]),S=f.useCallback(O=>{if(_){console.warn("Filter is not compatible with the force filter. Ignoring filter");return}O&&Object.keys(O).length===0?B(void 0):B(O)},[_]),{data:T,dataLoading:N,noMoreToLoad:q,dataLoadingError:z}=Gc({path:e,collection:t,filterValues:C,sortBy:P,searchString:p,itemCount:k}),V=D3({data:T,entitiesDisplayedFirst:c});return{data:N3(V,{filterValues:C,sortBy:P,searchString:p,lastDeleteTimestamp:i}),dataLoading:N,noMoreToLoad:q,dataLoadingError:z,filterValues:C,setFilterValues:S,sortBy:P,setSortBy:F,searchString:p,setSearchString:w,clearFilter:D,itemCount:k,setItemCount:v,paginationEnabled:g,pageSize:b,checkFilterCombination:K,popupCell:u,setPopupCell:A}}function M3(e,t){const[c,i]=f.useState(),{navigator:a}=f.useContext(be.UNSAFE_NavigationContext),l=be.useNavigate(),s=()=>{i(void 0)},d=()=>{t(),i(void 0),l(-1)},u=f.useCallback(({action:A,location:y,retry:h})=>{switch(A){case"REPLACE":{h();return}case"POP":i(y)}},[]);return f.useEffect(()=>{if(!e||c||!("block"in a))return;const A=a.block(y=>{const h={...y,retry(){A(),y.retry()}};u(h)});return A},[a,u,e,c]),{navigationWasBlocked:!!c,handleCancel:s,handleOk:d}}function O3({open:e,handleOk:t,handleCancel:c,body:i,title:a}){return n.jsxs(Jo,{open:e,onOpenChange:l=>l?c():t(),children:[n.jsxs(Zo,{children:[n.jsx(j,{variant:"h6",children:a}),i,n.jsx(j,{children:"Are you sure you want to leave this page?"})]}),n.jsxs(kn,{children:[n.jsx(te,{variant:"text",onClick:c,autoFocus:!0,children:" Cancel "}),n.jsx(te,{onClick:t,children:" Ok "})]})]})}const oa=f.createContext({width:"",blocked:!1,setBlocked:e=>{},setBlockedNavigationMessage:e=>{},close:()=>{}}),Uo=()=>f.useContext(oa);function L3(){const t=co().sidePanels,c=[...t];return c.push(void 0),n.jsx(n.Fragment,{children:c.map((i,a)=>n.jsx(Q3,{panel:i,offsetPosition:t.length-a-1},`side_dialog_${a}`))})}function Q3({offsetPosition:e,panel:t}){const[c,i]=f.useState(!1),[a,l]=f.useState(!1),[s,d]=f.useState(),u=f.useRef(t?.width),A=u.current,y=co(),{navigationWasBlocked:h,handleOk:I,handleCancel:_}=M3(a&&!c,()=>l(!1));f.useEffect(()=>{t&&(u.current=t.width)},[t]);const g=()=>{l(!1),i(!1),y.close(),t?.onClose?.()},b=()=>{i(!1)},p=w=>{a&&!w?i(!0):(y.close(),t?.onClose?.())};return n.jsxs(oa.Provider,{value:{blocked:a,setBlocked:l,setBlockedNavigationMessage:d,width:A,close:p},children:[n.jsxs(Vt,{open:!!t,onOpenChange:w=>!w&&p(),children:[t&&n.jsx("div",{className:"transform max-w-[100vw] lg:max-w-[95vw] flex flex-col h-full transition-all duration-250 ease-in-out bg-white dark:bg-gray-900 ",style:{width:t.width,transform:`translateX(-${e*200}px)`},children:n.jsx(ie,{children:t.component})}),!t&&n.jsx("div",{style:{width:A}})]}),n.jsx(O3,{open:h||c,handleOk:c?g:I,handleCancel:c?b:_,body:s})]})}function V3({entityOrEntitiesToDelete:e,collection:t,onClose:c,open:i,callbacks:a,onEntityDelete:l,onMultipleEntitiesDelete:s,path:d}){const u=Qe(),A=an(),[y,h]=f.useState(!1),[I,_]=f.useState(),[g,b]=f.useState(),p=ne();f.useEffect(()=>{if(e){const S=Array.isArray(e)&&e.length===1?e[0]:e;_(S),b(Array.isArray(S))}},[e]);const w=f.useMemo(()=>Me({collection:t,path:d,fields:p.fields}),[t,d]),k=f.useCallback(()=>{c()},[c]),v=f.useCallback(S=>{console.debug("Deleted",S)},[]),K=f.useCallback((S,T)=>{A.open({type:"error",message:"Error deleting: "+T?.message}),console.error("Error deleting entity"),console.error(T)},[w.name]),m=f.useCallback((S,T)=>{A.open({type:"error",message:"Error before deleting: "+T?.message}),console.error(T)},[w.name]),C=f.useCallback((S,T)=>{A.open({type:"error",message:"Error after deleting: "+T?.message}),console.error(T)},[w.name]),B=f.useCallback(S=>zc({dataSource:u,entity:S,collection:w,callbacks:a,onDeleteSuccess:v,onDeleteFailure:K,onPreDeleteHookError:m,onDeleteSuccessHookError:C,context:p}),[u,w,a,v,K,m,C,p]),P=f.useCallback(async()=>{I&&(h(!0),g?Promise.all(I.map(B)).then(S=>{h(!1),s&&I&&s(d,I),S.every(Boolean)?A.open({type:"success",message:`${w.name}: multiple deleted`}):S.some(Boolean)?A.open({type:"warning",message:`${w.name}: Some of the entities have been deleted, but not all`}):A.open({type:"error",message:`${w.name}: Error deleting entities`}),c()}):B(I).then(S=>{h(!1),S&&(l&&I&&l(d,I),A.open({type:"success",message:`${w.singularName??w.name} deleted`}),c())}))},[I,g,B,s,d,c,A,w.name,l]);let F;if(I&&g)F=n.jsx(n.Fragment,{children:"Multiple entities"});else{const S=I;F=S?n.jsx(yt,{entity:S,collection:t,path:d}):n.jsx(n.Fragment,{})}const D=g?n.jsxs(n.Fragment,{children:[n.jsx("b",{children:w.name}),": Confirm multiple delete?"]}):`Would you like to delete this ${w.singularName??w.name}?`;return n.jsxs(Jo,{maxWidth:"2xl","aria-labelledby":"delete-dialog",open:i,onOpenChange:S=>S?void 0:c(),children:[n.jsxs(Zo,{fullHeight:!0,children:[n.jsx(j,{variant:"subtitle2",className:"p-4",children:D}),!g&&n.jsx("div",{className:"p-4",children:F})]}),n.jsxs(kn,{children:[y&&n.jsx(Gn,{size:"small"}),n.jsx(te,{onClick:k,disabled:y,variant:"text",color:"primary",children:"Cancel"}),n.jsx(te,{autoFocus:!0,disabled:y,onClick:P,variant:"filled",color:"primary",children:"Ok"})]})]})}function Yo(e){return Array.isArray(e)?e:e?[e]:[]}function W3({collection:e,relativePath:t,parentPathSegments:c,onNewClick:i,onMultipleDeleteClick:a,selectionEnabled:l,path:s,selectionController:d,tableController:u,collectionEntitiesCount:A}){const y=ne(),h=y.plugins??[],I=In(),_=ze(),g=d.selectedEntities,b=Qo(e,I,Ze(s),null)&&i&&(_?n.jsxs(te,{id:`add_entity_${s}`,onClick:i,startIcon:n.jsx(gn,{}),size:"large",variant:"filled",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(te,{id:`add_entity_${s}`,onClick:i,size:"medium",variant:"filled",color:"primary",children:n.jsx(gn,{})})),p=it(e,I,Ze(s),null);let w;if(l){const m=_?n.jsxs(te,{variant:"text",disabled:!g?.length||!p,startIcon:n.jsx(Bo,{}),onClick:a,color:"primary",className:"lg:w-20",children:["(",g?.length,")"]}):n.jsx(R,{color:"primary",disabled:!g?.length||!p,onClick:a,children:n.jsx(Bo,{})});w=n.jsx(_e,{title:p?"Delete":"You have selected at least one entity you cannot delete",children:m})}const k={path:s,relativePath:t,parentPathSegments:c,collection:e,selectionController:d,context:y,tableController:u,collectionEntitiesCount:A},v=[];v.push(...Yo(e.Actions)),h&&h.forEach(m=>{m.collections?.CollectionActions&&v.push(...Yo(m.collections?.CollectionActions))});const K=n.jsx(n.Fragment,{children:v.map((m,C)=>n.jsx(m,{...k},`actions_${C}`))});return n.jsxs(n.Fragment,{children:[K,w,b]})}function G3({containerRef:e,innerRef:t,x:c,y:i,onMove:a}){let l=0,s=0;const d=f.useRef(!1),u=g=>{if(g.button!==0||!e.current||g.defaultPrevented||g.innerClicked)return;const{x:b,y:p}=e.current.getBoundingClientRect();l=g.screenX-b,s=g.screenY-p,document.addEventListener("mousemove",I),document.addEventListener("mouseup",h),document.addEventListener("selectstart",y),d.current=!0},A=g=>{g.innerClicked=!0},y=g=>{g.preventDefault(),g.stopPropagation()},h=g=>{document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",h),document.removeEventListener("selectstart",y),g.stopPropagation(),d.current=!1},I=g=>{g.target.localName==="input"||!d.current||(a({x:g.screenX-l,y:g.screenY-s}),g.stopPropagation())},_=()=>{e.current&&(e.current.style.top=`${i}px`,e.current.style.left=`${c}px`)};f.useEffect(()=>{const g=e.current,b=t.current;if(!(!g||!b))return b&&b.addEventListener("mousedown",A),g&&g.addEventListener("mousedown",u),_(),()=>{g&&g.removeEventListener("mousedown",u),b&&b.removeEventListener("mousedown",A)}})}function z3(){const[e,t]=f.useState({width:0,height:0});return f.useLayoutEffect(()=>{function c(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",c),c(),()=>window.removeEventListener("resize",c)},[]),e}const H3=({onResize:e})=>{const t=f.useRef(0),c=f.useRef(null),i=f.useRef(e);i.current=e;const a=f.useCallback(s=>{t.current&&cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{i.current(s)})},[]),l=f.useCallback(()=>{const s=c.current;s&&s.contentDocument&&s.contentDocument.defaultView&&s.contentDocument.defaultView.addEventListener("resize",a)},[a]);return f.useEffect(()=>{const s=c.current;return()=>{s&&s.contentDocument&&s.contentDocument.defaultView&&s.contentDocument.defaultView.removeEventListener("resize",a)}},[a]),n.jsx("object",{onLoad:l,ref:c,tabIndex:-1,type:"text/html",data:"about:blank",title:"",style:{position:"absolute",top:0,left:0,height:"100%",width:"100%",pointerEvents:"none",zIndex:-1,opacity:0}})};function U3(e){return e.open?n.jsx(Y3,{...e}):null}function Y3({tableKey:e,entity:t,customFieldValidator:c,propertyKey:i,collection:a,path:l,cellRect:s,open:d,onClose:u,onCellValueChange:A,container:y}){const h=Qe(),I=ne(),[_,g]=f.useState(),[b,p]=f.useState(),w=t?.id,[k,v]=f.useState(t);f.useEffect(()=>w&&a?h.listenEntity?.({path:l,entityId:w,collection:a,onUpdate:v}):()=>{},[h,w,a,l]);const[K,m]=f.useState(k?.values),C=a?Me({collection:a,path:l,values:K,entityId:w,fields:I.fields}):void 0,B=z3(),P=f.useRef(null),F=f.useRef(null),D=f.useRef(!1),S=f.useCallback(()=>{if(!s)throw Error("getInitialLocation error");return{x:s.left<B.width-s.right?s.x+s.width/2:s.x-s.width/2,y:s.top<B.height-s.bottom?s.y+s.height/2:s.y-s.height/2}},[s,B.height,B.width]),T=f.useCallback(({x:H,y:Z})=>{const L=P.current?.getBoundingClientRect();if(!L)throw Error("normalizePosition called before draggableBoundingRect is set");return{x:Math.max(0,Math.min(H,B.width-L.width)),y:Math.max(0,Math.min(Z,B.height-L.height))}},[B]),N=f.useCallback(H=>{const Z=P.current?.getBoundingClientRect();if(!s||!Z)return;const L=H??T(S());(!b||L.x!==b.x||L.y!==b.y)&&p(L)},[s,S,T,b]);G3({containerRef:P,innerRef:F,x:b?.x,y:b?.y,onMove:N}),f.useEffect(()=>{D.current=!1},[i,k]),f.useLayoutEffect(()=>{const H=P.current?.getBoundingClientRect();!s||!H||D.current||(N(),D.current=!0)},[s,N,D.current]),f.useLayoutEffect(()=>{N(b)},[B,s]);const q=f.useMemo(()=>{if(!(!C||!w))return Ki(w,i&&C.properties[i]?{[i]:C.properties[i]}:{},c)},[C,w,i,c]),z=f.useCallback(()=>N(b),[b,N]),V=async H=>(g(null),a&&k&&A&&i?A({value:H[i],propertyKey:i,entity:k,setError:g,onValueUpdated:()=>{},fullPath:l,context:I}):Promise.resolve());if(!k)return n.jsx(n.Fragment,{});const oe=k&&n.jsxs("div",{className:`text-gray-900 dark:text-white overflow-auto rounded rounded-md bg-white dark:bg-gray-950 ${d?"":"hidden"} cursor-grab max-w-[100vw]`,children:[n.jsx(Fe.Formik,{initialValues:k?.values??{},validationSchema:q,validateOnMount:!0,validate:H=>console.debug("Validating",H),onSubmit:(H,Z)=>{V(H).then(()=>u()).finally(()=>Z.setSubmitting(!1))},children:({values:H,setFieldValue:Z,handleSubmit:L,isSubmitting:W})=>{if(f.useEffect(()=>{de(H,K)||m(H)},[H]),!k)return n.jsx(we,{error:"PopupFormField misconfiguration"});if(!C)return n.jsx(n.Fragment,{});const Q=W,X={collection:C,entityId:w,values:H,path:l,setFieldValue:Z,save:V},ee=i&&wn(C.properties,i),U=i&&ee?{propertyKey:i,disabled:W||Cn(ee)||!!ee.disabled,property:ee,includeDescription:!1,underlyingValueHasChanged:!1,context:X,tableMode:!0,partOfArray:!1,partOfBlock:!1,autoFocus:d}:void 0;let re=n.jsx(n.Fragment,{children:n.jsx("div",{className:"w-[560px] max-w-full max-h-[85vh]",children:n.jsxs(Fe.Form,{onSubmit:L,noValidate:!0,children:[n.jsx("div",{className:"mb-1 p-4 flex flex-col relative",children:n.jsx("div",{ref:F,className:"cursor-auto",style:{cursor:"auto !important"},children:U&&n.jsx(pn,{...U})})}),n.jsx(kn,{children:n.jsx(te,{variant:"filled",color:"primary",type:"submit",disabled:Q,children:"Save"})})]})},`popup_form_${e}_${w}_${i}`)});const J=I.plugins;return J&&J.forEach(Y=>{Y.form?.provider&&(re=n.jsx(Y.form.provider.Component,{status:"existing",path:l,collection:C,entity:k,context:I,currentEntityId:w,formContext:X,...Y.form.provider.props,children:re}))}),re}}),_&&n.jsx(j,{color:"error",children:_.message})]}),O=n.jsxs("div",{style:{boxShadow:"0 0 0 2px rgba(128,128,128,0.2)"},className:`inline-block fixed z-20 shadow-outline rounded-md bg-white dark:bg-gray-950 ${d?"visible":"invisible"} cursor-grab overflow-visible`,ref:P,children:[n.jsx(H3,{onResize:z}),n.jsxs("div",{className:"overflow-hidden",children:[oe,n.jsx("div",{className:"absolute -top-3.5 -right-3.5 bg-gray-500 rounded-full",style:{width:"32px",height:"32px"},children:n.jsx(R,{size:"small",onClick:H=>{H.stopPropagation(),u()},children:n.jsx(cn,{className:"text-white",size:"small"})})})]})]},`draggable_${i}_${w}_${d}`);return n.jsx(Va.Root,{asChild:!0,container:y,children:O})}const $3="collectionGroupParent",St=f.memo(function({fullPath:t,parentPathSegments:c,isSubCollection:i,className:a,...l}){const s=Qe(),d=fe(),u=Sn(),A=In(),y=En(),h=ne(),I=f.useRef(null),_=f.useMemo(()=>{const G=y?.getCollectionConfig(t);return G?qe(l,G):l},[l,t,y?.getCollectionConfig]),[g,b]=f.useState(void 0),[p,w]=f.useState(void 0),[k,v]=f.useState(0),[K,m]=f.useState(0),C=f.useCallback(()=>{const G=g;setTimeout(()=>{G===g&&b(void 0)},2400)},[g]),B=f.useCallback(G=>ct(_,A,Ze(t),G??null)?_.inlineEditing===void 0||_.inlineEditing:!1,[_,A,t]),P=_.selectionEnabled===void 0||_.selectionEnabled,F=!B(),[D,S]=f.useState(!1),T=Bt(),N=_.selectionController??T,{selectedEntities:q,toggleEntitySelection:z,isEntitySelected:V,setSelectedEntities:oe}=N;f.useEffect(()=>{w(void 0)},[q]);const O=Ct({fullPath:t,collection:_,entitiesDisplayedFirst:[],lastDeleteTimestamp:k}),H=f.useRef(Math.random().toString(36)),Z=O.popupCell,L=f.useCallback(()=>{O.setPopupCell?.(void 0)},[O.setPopupCell]),W=f.useCallback(G=>(b(G),h.onAnalyticsEvent?.("edit_entity_clicked",{path:G.path,entityId:G.id}),u.open({entityId:G.id,path:G.path,collection:_,updateUrl:!0,onClose:C})),[t,_,u]),Q=f.useCallback(()=>{h.onAnalyticsEvent?.("new_entity_click",{path:t}),u.open({path:t,collection:_,updateUrl:!0,onClose:C})},[t,_,u]),X=f.useCallback(G=>{h.onAnalyticsEvent?.("single_delete_dialog_open",{path:t}),w(G)},[h,t]),ee=f.useCallback(()=>{h.onAnalyticsEvent?.("multiple_delete_dialog_open",{path:t}),w(q)},[h,t,q]),U=f.useCallback((G,Ae)=>{h.onAnalyticsEvent?.("single_entity_deleted",{path:t}),oe(ae=>ae.filter(M=>M.id!==Ae.id)),v(Date.now())},[h,t,oe]),re=f.useCallback((G,Ae)=>{h.onAnalyticsEvent?.("multiple_entities_deleted",{path:t}),oe([]),w(void 0),v(Date.now())},[oe]),J=f.useCallback((G,Ae)=>{if(y){const ae=y.getCollectionConfig(G),M=qe(ae,Ae);y.onCollectionModified(G,M)}},[y]),Y=f.useCallback(({width:G,key:Ae})=>{if(!wn(_.properties,Ae))return;const ae=ra(Ae,G);J(t,ae)},[_,J,t]),x=f.useCallback(G=>{y&&J(t,{defaultSize:G})},[J,t,y]),ge=Qo(_,A,Ze(t),null),He=f.useCallback(({name:G,value:Ae,property:ae,entityId:M})=>s.checkUniqueField(t,G,Ae,ae,M),[t]),ve=({fullPath:G,context:Ae,value:ae,propertyKey:M,onValueUpdated:le,setError:Ie,entity:Oe})=>{const vn=Fe.setIn({...Oe.values},M,ae),$={path:G,entityId:Oe.id,values:vn,previousValues:Oe.values,collection:_,status:"existing"};return Fr({...$,callbacks:_.callbacks,dataSource:s,context:Ae,onSaveSuccess:()=>le(),onSaveFailure:se=>{console.error("Save failure"),console.error(se),Ie(se)}})},fn=d.resolveAliasesFrom(t),An=f.useMemo(()=>Me({collection:_,path:t,fields:h.fields}),[_,t]),zn=f.useCallback(({propertyKey:G,propertyValue:Ae,entity:ae})=>{let M=wn(_.properties,G);return M||(M=wn(An.properties,G)),Ne({propertyKey:G,propertyOrBuilder:M,path:t,propertyValue:Ae,values:ae.values,entityId:ae.id,fields:h.fields})},[_.properties,h.fields,t,An.properties]),_o=xi(An,!0),mn=f.useCallback(G=>{b(G),h.onAnalyticsEvent?.("copy_entity_click",{path:G.path,entityId:G.id}),u.open({entityId:G.id,path:G.path,copy:!0,collection:_,updateUrl:!0,onClose:C})},[u,_,t,C]),Hn=f.useCallback(G=>{b(G),h.onAnalyticsEvent?.("entity_click",{path:G.path,entityId:G.id}),u.open({entityId:G.id,path:G.path,collection:_,updateUrl:!0,onClose:C})},[u,_,t,C]),_n=f.useMemo(()=>{const G=_.subcollections?.map(ae=>({id:ht(ae),name:ae.name,width:200,dependencies:[],Builder:({entity:M})=>n.jsx(te,{color:"primary",variant:"outlined",startIcon:n.jsx(Eo,{size:"small"}),onClick:le=>{le.stopPropagation(),u.open({path:t,entityId:M.id,selectedSubPath:ae.alias??ae.path,collection:_,updateUrl:!0})},children:ae.name})}))??[],Ae=_.collectionGroup?[{id:$3,name:"Parent entities",width:260,dependencies:[],Builder:({entity:ae})=>{const M=d.getParentReferencesFromPath(ae.path);return n.jsx(n.Fragment,{children:M.map(le=>n.jsx(nn,{reference:le,size:"tiny"},le.path+"/"+le.id))})}}]:[];return[..._.additionalFields??[],...G,...Ae]},[_,t]),Un=f.useCallback(({entity:G,size:Ae,width:ae,frozen:M})=>{const le=V(G),Ie=it(_,A,Ze(t),G);return n.jsx(pt,{entity:G,width:ae,frozen:M,isSelected:le,selectionEnabled:P,size:Ae,toggleEntitySelection:z,onEditClicked:Hn,onCopyClicked:ge?mn:void 0,onDeleteClicked:Ie?X:void 0,hideId:_?.hideIdFromCollection})},[V,_,A,t,P,z,Hn,ge,mn]),yo=n.jsx(Ui,{open:D,onOpenChange:S,enabled:!!_.description,trigger:n.jsxs("div",{className:"flex flex-col items-start",children:[n.jsx(j,{variant:"subtitle1",className:`leading-none truncate max-w-[160px] lg:max-w-[240px] ${_.description?"cursor-pointer":"cursor-auto"}`,onClick:_.description?G=>{S(!0),G.stopPropagation()}:void 0,children:`${_.name}`}),n.jsx(j3,{fullPath:t,collection:_,filter:O.filterValues,sortBy:O.sortBy,onCountChange:m})]}),children:_.description&&n.jsx("div",{className:"m-4 text-gray-900 dark:text-white",children:n.jsx(lo,{source:_.description})})});return n.jsxs("div",{className:E("overflow-hidden h-full w-full",a),ref:I,children:[n.jsx(Kt,{additionalFields:_n,tableController:O,displayedColumnIds:_o,onSizeChanged:x,onEntityClick:W,onColumnResize:Y,onValueChange:ve,tableRowActionsBuilder:Un,uniqueFieldValidator:He,title:yo,selectionController:N,highlightedEntities:g?[g]:[],defaultSize:_.defaultSize,properties:An.properties,getPropertyFor:zn,actions:n.jsx(W3,{parentPathSegments:c??[],collection:_,tableController:O,onMultipleDeleteClick:ee,onNewClick:Q,path:t,relativePath:_.path,selectionController:N,selectionEnabled:P,collectionEntitiesCount:K}),hoverRow:F,inlineEditing:B()},`collection_table_${t}`),n.jsx(U3,{open:!!Z,onClose:L,cellRect:Z?.cellRect,propertyKey:Z?.propertyKey,collection:_,entity:Z?.entity,tableKey:H.current,customFieldValidator:He,path:fn,onCellValueChange:ve,container:I.current},`popup_form_${Z?.propertyKey}_${Z?.entity?.id}`),p&&n.jsx(V3,{entityOrEntitiesToDelete:p,path:t,collection:_,callbacks:_.callbacks,open:!!p,onEntityDelete:U,onMultipleEntitiesDelete:re,onClose:()=>w(void 0)})]})},de);function Bt(){const[e,t]=f.useState([]),c=f.useCallback(a=>{let l;e.map(s=>s.id).includes(a.id)?l=e.filter(s=>s.id!==a.id):l=[...e,a],t(l)},[e]),i=f.useCallback(a=>e.map(l=>l.id).includes(a.id),[e]);return{selectedEntities:e,setSelectedEntities:t,isEntitySelected:i,toggleEntitySelection:c}}function j3({fullPath:e,collection:t,filter:c,sortBy:i,onCountChange:a}){const l=Qe(),s=fe(),[d,u]=f.useState(void 0),[A,y]=f.useState(void 0),h=i?i[0]:void 0,I=i?i[1]:void 0,_=f.useMemo(()=>s.resolveAliasesFrom(e),[e,s.resolveAliasesFrom]);return f.useEffect(()=>{l.countEntities({path:_,collection:t,filter:c,orderBy:h,order:I}).then(u).catch(y)},[e,l,_,t,c,h,I]),f.useEffect(()=>{a&&a(d??0)},[a,d]),A?null:n.jsx(j,{className:"w-full text-ellipsis block overflow-hidden whitespace-nowrap max-w-xs text-left w-fit-content",variant:"caption",color:"secondary",children:d!==void 0?`${d} entities`:n.jsx(Ve,{className:"w-full max-w-[80px] mt-1"})})}function ra(e,t){if(e.includes(".")){const[c,...i]=e.split(".");return{properties:{[c]:ra(i.join("."),t)}}}return{properties:{[e]:{columnWidth:t}}}}function ta({onSingleEntitySelected:e,onMultipleEntitiesSelected:t,multiselect:c,collection:i,path:a,selectedEntityIds:l,description:s,forceFilter:d,maxSelection:u}){const A=Uo(),y=Sn(),h=fe(),I=ne(),_=h.resolveAliasesFrom(a),g=Qe(),[b,p]=f.useState([]),w=Bt();f.useEffect(()=>{let S=!1;const T=l?.map(N=>N?.toString()).filter(Boolean);return T&&i?Promise.all(T.map(N=>g.fetchEntity({path:_,entityId:N,collection:i}))).then(N=>{if(!S){const q=N.filter(z=>z!==void 0);w.setSelectedEntities(q),p(q)}}):(w.setSelectedEntities([]),p([])),()=>{S=!0}},[g,_,l,i,w.setSelectedEntities]);const k=f.useCallback(()=>{I.onAnalyticsEvent?.("reference_selection_clear",{path:_}),w.setSelectedEntities([]),!c&&e?e(null):t&&t([])},[c,t,e]),v=f.useCallback(S=>{let T;const N=w.selectedEntities;if(I.onAnalyticsEvent?.("reference_selection_toggle",{path:_,entityId:S.id}),N){if(N.map(q=>q.id).indexOf(S.id)>-1)T=N.filter(q=>q.id!==S.id);else{if(u&&N.length>=u)return;T=[...N,S]}w.setSelectedEntities(T),t&&t(T)}},[t,w.selectedEntities]),K=f.useCallback(S=>{!c&&e?(I.onAnalyticsEvent?.("reference_selected_single",{path:_,entityId:S.id}),e(S),A.close(!1)):v(S)},[A,c,e,v]),m=f.useCallback(()=>{I.onAnalyticsEvent?.("reference_selection_new_entity",{path:_}),y.open({path:_,collection:i,updateUrl:!0,onUpdate:({entity:S})=>{p([S,...b]),K(S)},closeOnSave:!0})},[y,_,i,b,K]),C=f.useCallback(({entity:S,size:T,width:N,frozen:q})=>{const z=w.selectedEntities,V=z&&z.map(oe=>oe.id).indexOf(S.id)>-1;return n.jsx(pt,{width:N,frozen:q,entity:S,size:T,isSelected:V,selectionEnabled:c,toggleEntitySelection:v,hideId:i?.hideIdFromCollection})},[c,w.selectedEntities,v,i?.hideIdFromCollection]),B=f.useCallback(S=>{S.stopPropagation(),A.close(!1)},[A]);if(!i)return n.jsx(we,{error:"Could not find collection with id "+i});const P=f.useMemo(()=>Me({collection:i,path:_,values:{},fields:I.fields}),[i,I.fields,_]),F=xi(P,!1),D=Ct({fullPath:_,collection:i,entitiesDisplayedFirst:b,forceFilter:d});return n.jsxs("div",{className:"flex flex-col h-full",children:[n.jsx("div",{className:"flex-grow",children:b&&n.jsx(Kt,{displayedColumnIds:F,onEntityClick:K,tableController:D,tableRowActionsBuilder:C,title:n.jsx(j,{variant:"subtitle2",children:i.singularName?`Select ${i.singularName}`:`Select from ${i.name}`}),defaultSize:i.defaultSize,properties:P.properties,forceFilter:d,inlineEditing:!1,selectionController:w,actions:n.jsx(q3,{collection:i,path:_,onNewClick:m,onClear:k})})}),n.jsxs(kn,{translucent:!1,children:[s&&n.jsx(j,{variant:"body2",className:"flex-grow text-left",children:s}),n.jsx(te,{onClick:B,color:"primary",variant:"filled",children:"Done"})]})]})}function q3({collection:e,path:t,onClear:c,onNewClick:i}){const a=In(),l=ze(),s=i?u=>{u.preventDefault(),i()}:void 0,d=Qo(e,a,Ze(t),null)&&s&&(l?n.jsxs(te,{onClick:s,startIcon:n.jsx(gn,{}),variant:"outlined",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(te,{onClick:s,size:"medium",variant:"outlined",color:"primary",children:n.jsx(gn,{})}));return n.jsxs(n.Fragment,{children:[n.jsx(te,{onClick:c,variant:"text",color:"primary",children:"Clear"}),d]})}function dn({title:e,children:t,invisible:c=!1,initiallyExpanded:i=!0,onExpandedChange:a,titleClassName:l,asField:s,className:d}){Dn("ExpandablePanel",`
1488
+ `,ea={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=","not-in":"not in",in:"in","array-contains":"Contains","array-contains-any":"Any"},na=["array-contains-any","in"];function DH({name:e,isArray:t,mode:c,value:i,setValue:a,title:l}){const s=t?["array-contains"]:["==","!=",">","<",">=","<="],[d,u]=i||[s[0],void 0],[A,y]=f.useState(d),[g,h]=f.useState(u);function _(I,b){let p=b;const w=na.includes(A),k=na.includes(I);w!==k&&(p=k?b?[b]:[]:""),y(I),h(p===null?void 0:p);const m=p!==null&&Array.isArray(p)?p.length>0:p!==void 0;a(I&&m?[I,p]:void 0)}return n.jsxs("div",{className:"flex w-[440px] items-center",children:[n.jsx("div",{className:"w-[80px]",children:n.jsx(xe,{value:A,onValueChange:I=>{_(I,g)},renderValue:I=>ea[I],children:s.map(I=>n.jsx(Re,{value:I,children:ea[I]},I))})}),n.jsx("div",{className:"flex-grow ml-2",children:n.jsx(Vn,{mode:c,size:"medium",value:g,onChange:I=>{_(A,I===null?void 0:I)},clearable:!0})})]})}const oa="collectionGroupParent";function ra(e,t){return f.useMemo(()=>e.propertiesOrder?ta(e,e.propertiesOrder):NH(e,t),[e,t])}function ta(e,t){return t.flatMap(c=>{const i=e.properties[c];return i?i.hideFromCollection?[null]:i.disabled&&typeof i.disabled=="object"&&i.disabled.hidden?[null]:i.dataType==="map"&&i.spreadChildren&&i.properties?Ct(i,c):[{key:c,disabled:!!i.disabled||!!i.readOnly}]:e.additionalFields?.find(l=>l.id===c)?[{key:c,disabled:!0}]:e.subcollections&&e.subcollections.find(s=>It(s)===c)?[{key:c,disabled:!0}]:e.collectionGroup&&c===oa?[{key:c,disabled:!0}]:[null]}).filter(Boolean)}function NH(e,t){const c=Object.keys(e.properties),i=e.additionalFields??[],a=e.subcollections??[],l=[...c,...i.map(s=>s.id)];if(t){const s=a.map(d=>It(d));l.push(...s.filter(d=>!l.includes(d)))}return e.collectionGroup&&l.push(oa),ta(e,l)}function Ct(e,t,c){return e.dataType==="map"&&e.spreadChildren&&e.properties?Object.entries(e.properties).flatMap(([i,a])=>Ct(a,`${t}.${i}`,c||!!e.disabled||!!e.readOnly)):[{key:t,disabled:c||!!e.disabled||!!e.readOnly}]}const TH={},ca=f.createContext(TH),MH=()=>f.useContext(ca),St=f.memo(function({forceFilter:t,actionsStart:c,actions:i,title:a,tableRowActionsBuilder:l,uniqueFieldValidator:s,getPropertyFor:d,onValueChange:u,selectionController:A,highlightedEntities:y,onEntityClick:g,onColumnResize:h,onSizeChanged:_,textSearchEnabled:I=!1,hoverRow:b=!0,inlineEditing:p=!1,additionalFields:w,displayedColumnIds:k,defaultSize:m,properties:K,tableController:{data:v,dataLoading:C,noMoreToLoad:S,dataLoadingError:P,filterValues:D,setFilterValues:T,sortBy:B,setSortBy:N,searchString:M,setSearchString:U,clearFilter:z,itemCount:W,setItemCount:oe,pageSize:L=50,paginationEnabled:Y,checkFilterCombination:X,setPopupCell:O},filterable:V=!0,sortable:Q=!0,endAdornment:J,additionalHeaderWidget:ne,AddColumnComponent:$}){const re=We(),ie=!!t,H=A?.selectedEntities?.length>0?A?.selectedEntities:y,G=ee(),[ue,Be]=f.useState(m??"m"),[Oe,He]=f.useState(void 0),Ve=H?.map(q=>q.id),rn=!!D&&Object.keys(D).length>0,yo=()=>{!Y||C||S||W!==void 0&&oe?.(W+L)},zn=f.useCallback(()=>{oe?.(L)},[L]),Hn=f.useCallback(({rowData:q})=>{if(!p)return g&&g(q)},[g,p]),Un=f.useCallback(q=>{_&&_(q),Be(q)},[]),Yn=f.useCallback(q=>U?.(q),[]),yn=f.useMemo(()=>w?w.map(q=>({[q.id]:q})).reduce((q,be)=>({...q,...be}),{}):{},[w]);f.useEffect(()=>{const q=be=>{be.keyCode===27&&ho()};return document.addEventListener("keydown",q,!1),()=>{document.removeEventListener("keydown",q,!1)}});const go=f.useCallback(q=>{He(q)},[]),ho=f.useCallback(()=>{He(void 0)},[]),$n=s,F=f.useCallback(({column:q,columnIndex:be,rowData:ye,rowIndex:Ye})=>{const Ae=ye,cn=q.key;let gn=q.custom?.disabled;const Io=Ae.values?an(Ae.values,cn):void 0,jn=d?.({propertyKey:cn,propertyValue:Io,entity:Ae})??q.custom.resolvedProperty;return jn?.disabled||(gn=!1),jn?n.jsx(le,{children:Ae?n.jsx(fH,{readonly:!p,align:q.align??"left",propertyKey:cn,property:jn,value:Ae?.values?an(Ae.values,cn):void 0,customFieldValidator:$n,columnIndex:be,width:q.width,height:Ln(ue),entity:Ae,disabled:gn,path:Ae.path},`property_table_cell_${Ae.id}_${cn}`):en()}):null},[$n,p,ue,Ve]),R=f.useCallback(({column:q,rowData:be,width:ye})=>{const Ye=be,Ae=yn[q.key],cn=Ae.dependencies?Object.entries(Ye.values).filter(([Io,jn])=>Ae.dependencies.includes(Io)).reduce((Io,jn)=>({...Io,...jn}),{}):Ye,gn=Ae.Builder;if(!gn)throw new Error("No builder provided for additional field");return n.jsx(wt,{width:ye,size:ue,value:cn,selected:!1,disabled:!0,align:"left",allowScroll:!1,showExpandIcon:!1,disabledTooltip:"This column can't be edited directly",children:n.jsx(le,{children:n.jsx(gn,{entity:Ye,context:G})})},`additional_table_cell_${Ye.id}_${q.key}`)},[yn,ue,Ve]),Z=f.useMemo(()=>{const q=Object.entries(K).flatMap(([ye,Ye])=>Ct(Ye,ye)).map(({key:ye,disabled:Ye})=>{const Ae=it(K,ye);if(!Ae)throw Error("Internal error: no property found in path "+ye);const cn=ia(Ae);return{key:ye,align:qz(Ae),icon:gn=>we(Ae,"small"),title:Ae.name??ye,sortable:Q&&(t?Object.keys(t).includes(ye):!0),filter:!ie&&cn,width:ji(Ae),resizable:!0,custom:{resolvedProperty:Ae,disabled:Ye},additionalHeaderWidget:gn=>ne?.({property:Ae,propertyKey:ye,onHover:gn})}}),be=w?w.map(ye=>({key:ye.id,align:"left",sortable:!1,title:ye.name,width:ye.width??200})):[];return[...q,...be]},[w,ie,t,K,Q]),te=f.useMemo(()=>({key:"id_ewcfedcswdf3",width:re?160:130,title:"ID",resizable:!1,frozen:re,headerAlign:"center"}),[re]),me=f.useMemo(()=>[te,...k.map(q=>Z.find(be=>be.key===q.key)).filter(Boolean)],[Z,k,te]),Ue=f.useCallback(q=>{const be=q.column,ye=q.columns,Ye=be.key;if(q.columnIndex===0)return l?l({entity:q.rowData,size:ue,width:be.width,frozen:be.frozen}):n.jsx(kt,{entity:q.rowData,width:be.width,frozen:be.frozen,isSelected:!1,size:ue});if(yn[Ye])return R(q);if(q.columnIndex<ye.length+1)return F(q);throw Error("Internal: columns not mapped properly")},[yn,l,ue,R,F]),tn=f.useCallback(q=>{T?.({...q,...t})},[t]);return n.jsx(ca.Provider,{value:{setPopupCell:O,select:go,onValueChange:u,size:ue,selectedCell:Oe,selectedEntityIds:Ve},children:n.jsxs("div",{className:"h-full w-full flex flex-col bg-white dark:bg-gray-950",children:[n.jsx(wH,{forceFilter:ie,filterIsSet:rn,onTextSearch:I?Yn:void 0,clearFilter:z,size:ue,onSizeChanged:Un,title:a,actionsStart:c,actions:i,loading:C}),n.jsx(Xi,{data:v,columns:me,cellRenderer:Ue,onRowClick:p?void 0:g?Hn:void 0,onEndReached:yo,onResetPagination:zn,error:P,paginationEnabled:Y,onColumnResize:h,size:ue,loading:C,filter:D,onFilterUpdate:T?tn:void 0,sortBy:B,onSortByUpdate:N,hoverRow:b,checkFilterCombination:X,createFilterField:V?OH:void 0,rowClassName:f.useCallback(q=>Ve?.includes(q.id)?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",[Ve]),className:"flex-grow",endAdornment:J,AddColumnComponent:$})]})})},se);function OH({id:e,filterValue:t,setFilterValue:c,column:i,popupOpen:a,setPopupOpen:l}){if(!i.custom)return null;const{resolvedProperty:s}=i.custom,d=s?.dataType==="array",u=d?s.of:s;if(!u)return null;if(u.dataType==="reference")return n.jsx(kH,{value:t,setValue:c,name:e,isArray:d,path:u.path,title:s?.name,previewProperties:u?.previewProperties,popupOpen:a,setPopupOpen:l});if(u.dataType==="number"||u.dataType==="string"){const A=u.name,y=u.enumValues?ln(u.enumValues):void 0;return n.jsx(mH,{value:t,setValue:c,name:e,dataType:u.dataType,isArray:d,enumValues:y,title:A})}else if(u.dataType==="boolean"){const A=u.name;return n.jsx(vH,{value:t,setValue:c,name:e,title:A})}else if(u.dataType==="date"){const A=u.name;return n.jsx(DH,{value:t,setValue:c,name:e,mode:u.mode,isArray:d,title:A})}return n.jsx("div",{children:`Currently the filter field ${s.dataType} is not supported`})}function ia(e,t=!1){return t?["string","number","date","reference"].includes(e.dataType):e.dataType==="array"?e.of?ia(e.of,!0):!1:["string","number","boolean","date","reference","array"].includes(e.dataType)}function LH({data:e,entitiesDisplayedFirst:t}){if(!t)return e;const c=new Set(t.map(i=>i.id));return[...t,...e.filter(i=>!c.has(i.id))]}function QH(e,t,c=5e3){const[i,a]=f.useState(e),l=f.useRef(i.length??0),s=f.useRef(!1),d=f.useRef(t),u=!se(d.current,t),A=e.length>=l.current||u;return f.useEffect(()=>{const y=()=>{se(i,e)||(d.current=t,l.current=e.length,a(e)),s.current=!1};s.current=!0;let g;return A?y():g=setTimeout(y,c),()=>{clearTimeout(g),s.current&&A&&y()}},[e,c,t,A]),A?e:i}const VH=50;function Bt({fullPath:e,collection:t,entitiesDisplayedFirst:c,lastDeleteTimestamp:i,forceFilter:a}){const{initialFilter:l,initialSort:s,forceFilter:d}=t,[u,A]=f.useState(void 0),y=fe(),g=Le(),h=f.useMemo(()=>y.resolveAliasesFrom(e),[e,y.resolveAliasesFrom]),_=a??d,I=t.pagination===void 0||!!t.pagination,b=typeof t.pagination=="number"?t.pagination:VH,[p,w]=f.useState(),[k,m]=f.useState(I?b:void 0),K=f.useCallback((L,Y)=>g.isFilterCombinationValid?g.isFilterCombinationValid({path:h,collection:t,filterValues:L,sortBy:Y}):!0,[]),v=f.useMemo(()=>{if(s&&_&&!K(_,s)){console.warn("Initial sort is not compatible with the force filter. Ignoring initial sort");return}return s},[s,_]),[C,S]=f.useState(_??l??void 0),[P,D]=f.useState(v),T=f.useCallback(()=>S(_??void 0),[_]),B=f.useCallback(L=>{if(_){console.warn("Filter is not compatible with the force filter. Ignoring filter");return}L&&Object.keys(L).length===0?S(void 0):S(L)},[_]),{data:N,dataLoading:M,noMoreToLoad:U,dataLoadingError:z}=Hc({path:e,collection:t,filterValues:C,sortBy:P,searchString:p,itemCount:k}),W=LH({data:N,entitiesDisplayedFirst:c});return{data:QH(W,{filterValues:C,sortBy:P,searchString:p,lastDeleteTimestamp:i}),dataLoading:M,noMoreToLoad:U,dataLoadingError:z,filterValues:C,setFilterValues:B,sortBy:P,setSortBy:D,searchString:p,setSearchString:w,clearFilter:T,itemCount:k,setItemCount:m,paginationEnabled:I,pageSize:b,checkFilterCombination:K,popupCell:u,setPopupCell:A}}function WH(e,t){const[c,i]=f.useState(),{navigator:a}=f.useContext(he.UNSAFE_NavigationContext),l=he.useNavigate(),s=()=>{i(void 0)},d=()=>{t(),i(void 0),l(-1)},u=f.useCallback(({action:A,location:y,retry:g})=>{switch(A){case"REPLACE":{g();return}case"POP":i(y)}},[]);return f.useEffect(()=>{if(!e||c||!("block"in a))return;const A=a.block(y=>{const g={...y,retry(){A(),y.retry()}};u(g)});return A},[a,u,e,c]),{navigationWasBlocked:!!c,handleCancel:s,handleOk:d}}function GH({open:e,handleOk:t,handleCancel:c,body:i,title:a}){return n.jsxs(Xo,{open:e,onOpenChange:l=>l?c():t(),children:[n.jsxs(xo,{children:[n.jsx(j,{variant:"h6",children:a}),i,n.jsx(j,{children:"Are you sure you want to leave this page?"})]}),n.jsxs(vn,{children:[n.jsx(ce,{variant:"text",onClick:c,autoFocus:!0,children:" Cancel "}),n.jsx(ce,{onClick:t,children:" Ok "})]})]})}const aa=f.createContext({width:"",blocked:!1,setBlocked:e=>{},setBlockedNavigationMessage:e=>{},close:()=>{}}),Yo=()=>f.useContext(aa);function zH(){const t=co().sidePanels,c=[...t];return c.push(void 0),n.jsx(n.Fragment,{children:c.map((i,a)=>n.jsx(HH,{panel:i,offsetPosition:t.length-a-1},`side_dialog_${a}`))})}function HH({offsetPosition:e,panel:t}){const[c,i]=f.useState(!1),[a,l]=f.useState(!1),[s,d]=f.useState(),u=f.useRef(t?.width),A=u.current,y=co(),{navigationWasBlocked:g,handleOk:h,handleCancel:_}=WH(a&&!c,()=>l(!1));f.useEffect(()=>{t&&(u.current=t.width)},[t]);const I=()=>{l(!1),i(!1),y.close(),t?.onClose?.()},b=()=>{i(!1)},p=w=>{a&&!w?i(!0):(y.close(),t?.onClose?.())};return n.jsxs(aa.Provider,{value:{blocked:a,setBlocked:l,setBlockedNavigationMessage:d,width:A,close:p},children:[n.jsxs(zt,{open:!!t,onOpenChange:w=>!w&&p(),children:[t&&n.jsx("div",{className:"transform max-w-[100vw] lg:max-w-[95vw] flex flex-col h-full transition-all duration-250 ease-in-out bg-white dark:bg-gray-900 ",style:{width:t.width,transform:`translateX(-${e*200}px)`},children:n.jsx(le,{children:t.component})}),!t&&n.jsx("div",{style:{width:A}})]}),n.jsx(GH,{open:g||c,handleOk:c?I:h,handleCancel:c?b:_,body:s})]})}function UH({entityOrEntitiesToDelete:e,collection:t,onClose:c,open:i,callbacks:a,onEntityDelete:l,onMultipleEntitiesDelete:s,path:d}){const u=Le(),A=dn(),[y,g]=f.useState(!1),[h,_]=f.useState(),[I,b]=f.useState(),p=ee();f.useEffect(()=>{if(e){const B=Array.isArray(e)&&e.length===1?e[0]:e;_(B),b(Array.isArray(B))}},[e]);const w=f.useMemo(()=>Me({collection:t,path:d,fields:p.fields}),[t,d]),k=f.useCallback(()=>{c()},[c]),m=f.useCallback(B=>{console.debug("Deleted",B)},[]),K=f.useCallback((B,N)=>{A.open({type:"error",message:"Error deleting: "+N?.message}),console.error("Error deleting entity"),console.error(N)},[w.name]),v=f.useCallback((B,N)=>{A.open({type:"error",message:"Error before deleting: "+N?.message}),console.error(N)},[w.name]),C=f.useCallback((B,N)=>{A.open({type:"error",message:"Error after deleting: "+N?.message}),console.error(N)},[w.name]),S=f.useCallback(B=>Uc({dataSource:u,entity:B,collection:w,callbacks:a,onDeleteSuccess:m,onDeleteFailure:K,onPreDeleteHookError:v,onDeleteSuccessHookError:C,context:p}),[u,w,a,m,K,v,C,p]),P=f.useCallback(async()=>{h&&(g(!0),I?Promise.all(h.map(S)).then(B=>{g(!1),s&&h&&s(d,h),B.every(Boolean)?A.open({type:"success",message:`${w.name}: multiple deleted`}):B.some(Boolean)?A.open({type:"warning",message:`${w.name}: Some of the entities have been deleted, but not all`}):A.open({type:"error",message:`${w.name}: Error deleting entities`}),c()}):S(h).then(B=>{g(!1),B&&(l&&h&&l(d,h),A.open({type:"success",message:`${w.singularName??w.name} deleted`}),c())}))},[h,I,S,s,d,c,A,w.name,l]);let D;if(h&&I)D=n.jsx(n.Fragment,{children:"Multiple entities"});else{const B=h;D=B?n.jsx(ht,{entity:B,collection:t,path:d}):n.jsx(n.Fragment,{})}const T=I?n.jsxs(n.Fragment,{children:[n.jsx("b",{children:w.name}),": Confirm multiple delete?"]}):`Would you like to delete this ${w.singularName??w.name}?`;return n.jsxs(Xo,{maxWidth:"2xl","aria-labelledby":"delete-dialog",open:i,onOpenChange:B=>B?void 0:c(),children:[n.jsxs(xo,{fullHeight:!0,children:[n.jsx(j,{variant:"subtitle2",className:"p-4",children:T}),!I&&n.jsx("div",{className:"p-4",children:D})]}),n.jsxs(vn,{children:[y&&n.jsx(Gn,{size:"small"}),n.jsx(ce,{onClick:k,disabled:y,variant:"text",color:"primary",children:"Cancel"}),n.jsx(ce,{autoFocus:!0,disabled:y,onClick:P,variant:"filled",color:"primary",children:"Ok"})]})]})}function $o(e){return Array.isArray(e)?e:e?[e]:[]}function YH({collection:e,relativePath:t,parentPathSegments:c,onNewClick:i,onMultipleDeleteClick:a,selectionEnabled:l,path:s,selectionController:d,tableController:u,collectionEntitiesCount:A}){const y=ee(),g=y.plugins??[],h=pn(),_=We(),I=d.selectedEntities,b=Wo(e,h,Xe(s),null)&&i&&(_?n.jsxs(ce,{id:`add_entity_${s}`,onClick:i,startIcon:n.jsx(bn,{}),size:"large",variant:"filled",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(ce,{id:`add_entity_${s}`,onClick:i,size:"medium",variant:"filled",color:"primary",children:n.jsx(bn,{})})),p=lt(e,h,Xe(s),null);let w;if(l){const v=_?n.jsxs(ce,{variant:"text",disabled:!I?.length||!p,startIcon:n.jsx(Fo,{}),onClick:a,color:"primary",className:"lg:w-20",children:["(",I?.length,")"]}):n.jsx(x,{color:"primary",disabled:!I?.length||!p,onClick:a,children:n.jsx(Fo,{})});w=n.jsx(_e,{title:p?"Delete":"You have selected at least one entity you cannot delete",children:v})}const k={path:s,relativePath:t,parentPathSegments:c,collection:e,selectionController:d,context:y,tableController:u,collectionEntitiesCount:A},m=[];m.push(...$o(e.Actions)),g&&g.forEach(v=>{v.collections?.CollectionActions&&m.push(...$o(v.collections?.CollectionActions))});const K=n.jsx(n.Fragment,{children:m.map((v,C)=>n.jsx(v,{...k},`actions_${C}`))});return n.jsxs(n.Fragment,{children:[K,w,b]})}function Et({trigger:e,children:t,open:c,onOpenChange:i,side:a,sideOffset:l=5,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:y,avoidCollisions:g,enabled:h=!0}){return Dn("Popover",$H),h?n.jsxs(xn.Root,{open:c,onOpenChange:i,children:[n.jsx(xn.Trigger,{asChild:!0,children:e}),n.jsx(xn.Portal,{children:n.jsxs(xn.Content,{className:E(ze,"PopoverContent shadow z-50"),side:a,sideOffset:l,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:y,avoidCollisions:g,children:[t,n.jsx(xn.Arrow,{className:"fill-white dark:fill-gray-950"})]})})]}):n.jsx(n.Fragment,{children:e})}const $H=`
1489
+
1490
+ .PopoverContent {
1491
+ animation-duration: 400ms;
1492
+ animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
1493
+ will-change: transform, opacity;
1494
+ }
1495
+ .PopoverContent[data-state='open'][data-side='top'] {
1496
+ animation-name: slideDownAndFade;
1497
+ }
1498
+ .PopoverContent[data-state='open'][data-side='right'] {
1499
+ animation-name: slideLeftAndFade;
1500
+ }
1501
+ .PopoverContent[data-state='open'][data-side='bottom'] {
1502
+ animation-name: slideUpAndFade;
1503
+ }
1504
+ .PopoverContent[data-state='open'][data-side='left'] {
1505
+ animation-name: slideRightAndFade;
1506
+ }
1507
+
1508
+
1509
+ @keyframes slideUpAndFade {
1510
+ from {
1511
+ opacity: 0;
1512
+ transform: translateY(2px);
1513
+ }
1514
+ to {
1515
+ opacity: 1;
1516
+ transform: translateY(0);
1517
+ }
1518
+ }
1519
+
1520
+ @keyframes slideRightAndFade {
1521
+ from {
1522
+ opacity: 0;
1523
+ transform: translateX(-2px);
1524
+ }
1525
+ to {
1526
+ opacity: 1;
1527
+ transform: translateX(0);
1528
+ }
1529
+ }
1530
+
1531
+ @keyframes slideDownAndFade {
1532
+ from {
1533
+ opacity: 0;
1534
+ transform: translateY(-2px);
1535
+ }
1536
+ to {
1537
+ opacity: 1;
1538
+ transform: translateY(0);
1539
+ }
1540
+ }
1541
+
1542
+ @keyframes slideLeftAndFade {
1543
+ from {
1544
+ opacity: 0;
1545
+ transform: translateX(2px);
1546
+ }
1547
+ to {
1548
+ opacity: 1;
1549
+ transform: translateX(0);
1550
+ }
1551
+ }
1552
+ `;function jH({containerRef:e,innerRef:t,x:c,y:i,onMove:a}){let l=0,s=0;const d=f.useRef(!1),u=I=>{if(I.button!==0||!e.current||I.defaultPrevented||I.innerClicked)return;const{x:b,y:p}=e.current.getBoundingClientRect();l=I.screenX-b,s=I.screenY-p,document.addEventListener("mousemove",h),document.addEventListener("mouseup",g),document.addEventListener("selectstart",y),d.current=!0},A=I=>{I.innerClicked=!0},y=I=>{I.preventDefault(),I.stopPropagation()},g=I=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",g),document.removeEventListener("selectstart",y),I.stopPropagation(),d.current=!1},h=I=>{I.target.localName==="input"||!d.current||(a({x:I.screenX-l,y:I.screenY-s}),I.stopPropagation())},_=()=>{e.current&&(e.current.style.top=`${i}px`,e.current.style.left=`${c}px`)};f.useEffect(()=>{const I=e.current,b=t.current;if(!(!I||!b))return b&&b.addEventListener("mousedown",A),I&&I.addEventListener("mousedown",u),_(),()=>{I&&I.removeEventListener("mousedown",u),b&&b.removeEventListener("mousedown",A)}})}function qH(){const[e,t]=f.useState({width:0,height:0});return f.useLayoutEffect(()=>{function c(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",c),c(),()=>window.removeEventListener("resize",c)},[]),e}const JH=({onResize:e})=>{const t=f.useRef(0),c=f.useRef(null),i=f.useRef(e);i.current=e;const a=f.useCallback(s=>{t.current&&cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{i.current(s)})},[]),l=f.useCallback(()=>{const s=c.current;s&&s.contentDocument&&s.contentDocument.defaultView&&s.contentDocument.defaultView.addEventListener("resize",a)},[a]);return f.useEffect(()=>{const s=c.current;return()=>{s&&s.contentDocument&&s.contentDocument.defaultView&&s.contentDocument.defaultView.removeEventListener("resize",a)}},[a]),n.jsx("object",{onLoad:l,ref:c,tabIndex:-1,type:"text/html",data:"about:blank",title:"",style:{position:"absolute",top:0,left:0,height:"100%",width:"100%",pointerEvents:"none",zIndex:-1,opacity:0}})};function ZH(e){return e.open?n.jsx(XH,{...e}):null}function XH({tableKey:e,entity:t,customFieldValidator:c,propertyKey:i,collection:a,path:l,cellRect:s,open:d,onClose:u,onCellValueChange:A,container:y}){const g=Le(),h=ee(),[_,I]=f.useState(),[b,p]=f.useState(),w=t?.id,[k,m]=f.useState(t);f.useEffect(()=>w&&a?g.listenEntity?.({path:l,entityId:w,collection:a,onUpdate:m}):()=>{},[g,w,a,l]);const[K,v]=f.useState(k?.values),C=a?Me({collection:a,path:l,values:K,entityId:w,fields:h.fields}):void 0,S=qH(),P=f.useRef(null),D=f.useRef(null),T=f.useRef(!1),B=f.useCallback(()=>{if(!s)throw Error("getInitialLocation error");return{x:s.left<S.width-s.right?s.x+s.width/2:s.x-s.width/2,y:s.top<S.height-s.bottom?s.y+s.height/2:s.y-s.height/2}},[s,S.height,S.width]),N=f.useCallback(({x:Y,y:X})=>{const O=P.current?.getBoundingClientRect();if(!O)throw Error("normalizePosition called before draggableBoundingRect is set");return{x:Math.max(0,Math.min(Y,S.width-O.width)),y:Math.max(0,Math.min(X,S.height-O.height))}},[S]),M=f.useCallback(Y=>{const X=P.current?.getBoundingClientRect();if(!s||!X)return;const O=Y??N(B());(!b||O.x!==b.x||O.y!==b.y)&&p(O)},[s,B,N,b]);jH({containerRef:P,innerRef:D,x:b?.x,y:b?.y,onMove:M}),f.useEffect(()=>{T.current=!1},[i,k]),f.useLayoutEffect(()=>{const Y=P.current?.getBoundingClientRect();!s||!Y||T.current||(M(),T.current=!0)},[s,M,T.current]),f.useLayoutEffect(()=>{M(b)},[S,s]);const U=f.useMemo(()=>{if(!(!C||!w))return Ei(w,i&&C.properties[i]?{[i]:C.properties[i]}:{},c)},[C,w,i,c]),z=f.useCallback(()=>M(b),[b,M]),W=async Y=>(I(null),a&&k&&A&&i?A({value:Y[i],propertyKey:i,entity:k,setError:I,onValueUpdated:()=>{},fullPath:l,context:h}):Promise.resolve());if(!k)return n.jsx(n.Fragment,{});const oe=k&&n.jsxs("div",{className:`text-gray-900 dark:text-white overflow-auto rounded rounded-md bg-white dark:bg-gray-950 ${d?"":"hidden"} cursor-grab max-w-[100vw]`,children:[n.jsx(Ee.Formik,{initialValues:k?.values??{},validationSchema:U,validateOnMount:!0,validate:Y=>console.debug("Validating",Y),onSubmit:(Y,X)=>{W(Y).then(()=>u()).finally(()=>X.setSubmitting(!1))},children:({values:Y,setFieldValue:X,handleSubmit:O,isSubmitting:V})=>{if(f.useEffect(()=>{se(Y,K)||v(Y)},[Y]),!k)return n.jsx(pe,{error:"PopupFormField misconfiguration"});if(!C)return n.jsx(n.Fragment,{});const Q=V,J={collection:C,entityId:w,values:Y,path:l,setFieldValue:X,save:W},ne=i&&mn(C.properties,i),$=i&&ne?{propertyKey:i,disabled:V||Cn(ne)||!!ne.disabled,property:ne,includeDescription:!1,underlyingValueHasChanged:!1,context:J,tableMode:!0,partOfArray:!1,partOfBlock:!1,autoFocus:d}:void 0;let re=n.jsx(n.Fragment,{children:n.jsx("div",{className:"w-[560px] max-w-full max-h-[85vh]",children:n.jsxs(Ee.Form,{onSubmit:O,noValidate:!0,children:[n.jsx("div",{className:"mb-1 p-4 flex flex-col relative",children:n.jsx("div",{ref:D,className:"cursor-auto",style:{cursor:"auto !important"},children:$&&n.jsx(kn,{...$})})}),n.jsx(vn,{children:n.jsx(ce,{variant:"filled",color:"primary",type:"submit",disabled:Q,children:"Save"})})]})},`popup_form_${e}_${w}_${i}`)});const ie=h.plugins;return ie&&ie.forEach(H=>{H.form?.provider&&(re=n.jsx(H.form.provider.Component,{status:"existing",path:l,collection:C,entity:k,context:h,currentEntityId:w,formContext:J,...H.form.provider.props,children:re}))}),re}}),_&&n.jsx(j,{color:"error",children:_.message})]}),L=n.jsxs("div",{style:{boxShadow:"0 0 0 2px rgba(128,128,128,0.2)"},className:`inline-block fixed z-20 shadow-outline rounded-md bg-white dark:bg-gray-950 ${d?"visible":"invisible"} cursor-grab overflow-visible`,ref:P,children:[n.jsx(JH,{onResize:z}),n.jsxs("div",{className:"overflow-hidden",children:[oe,n.jsx("div",{className:"absolute -top-3.5 -right-3.5 bg-gray-500 rounded-full",style:{width:"32px",height:"32px"},children:n.jsx(x,{size:"small",onClick:Y=>{Y.stopPropagation(),u()},children:n.jsx(sn,{className:"text-white",size:"small"})})})]})]},`draggable_${i}_${w}_${d}`);return n.jsx(Ua.Root,{asChild:!0,container:y,children:L})}const xH="collectionGroupParent",Ft=f.memo(function({fullPath:t,parentPathSegments:c,isSubCollection:i,className:a,...l}){const s=Le(),d=fe(),u=Sn(),A=pn(),y=En(),g=ee(),h=f.useRef(null),_=f.useMemo(()=>{const F=y?.getCollectionConfig(t);return F?Je(l,F):l},[l,t,y?.getCollectionConfig]),[I,b]=f.useState(void 0),[p,w]=f.useState(void 0),[k,m]=f.useState(0),[K,v]=f.useState(0),C=f.useCallback(()=>{const F=I;setTimeout(()=>{F===I&&b(void 0)},2400)},[I]),S=f.useCallback(F=>at(_,A,Xe(t),F??null)?_.inlineEditing===void 0||_.inlineEditing:!1,[_,A,t]),P=_.selectionEnabled===void 0||_.selectionEnabled,D=!S(),[T,B]=f.useState(!1),N=Pt(),M=_.selectionController??N,{selectedEntities:U,toggleEntitySelection:z,isEntitySelected:W,setSelectedEntities:oe}=M;f.useEffect(()=>{w(void 0)},[U]);const L=Bt({fullPath:t,collection:_,entitiesDisplayedFirst:[],lastDeleteTimestamp:k}),Y=f.useRef(Math.random().toString(36)),X=L.popupCell,O=f.useCallback(()=>{L.setPopupCell?.(void 0)},[L.setPopupCell]),V=f.useCallback(F=>(b(F),g.onAnalyticsEvent?.("edit_entity_clicked",{path:F.path,entityId:F.id}),u.open({entityId:F.id,path:F.path,collection:_,updateUrl:!0,onClose:C})),[t,_,u]),Q=f.useCallback(()=>{g.onAnalyticsEvent?.("new_entity_click",{path:t}),u.open({path:t,collection:_,updateUrl:!0,onClose:C})},[t,_,u]),J=f.useCallback(F=>{g.onAnalyticsEvent?.("single_delete_dialog_open",{path:t}),w(F)},[g,t]),ne=f.useCallback(()=>{g.onAnalyticsEvent?.("multiple_delete_dialog_open",{path:t}),w(U)},[g,t,U]),$=f.useCallback((F,R)=>{g.onAnalyticsEvent?.("single_entity_deleted",{path:t}),oe(Z=>Z.filter(te=>te.id!==R.id)),m(Date.now())},[g,t,oe]),re=f.useCallback((F,R)=>{g.onAnalyticsEvent?.("multiple_entities_deleted",{path:t}),oe([]),w(void 0),m(Date.now())},[oe]);let ie;g?.plugins&&(ie=g.plugins.find(F=>F.collectionView?.AddColumnComponent)?.collectionView?.AddColumnComponent);const H=f.useCallback((F,R)=>{if(y){const Z=y.getCollectionConfig(F),te=Je(Z,R);y.onCollectionModified(F,te)}},[y]),G=f.useCallback(({width:F,key:R})=>{if(!mn(_.properties,R))return;const Z=la(R,F);H(t,Z)},[_,H,t]),ue=f.useCallback(F=>{y&&H(t,{defaultSize:F})},[H,t,y]),Be=Wo(_,A,Xe(t),null),Oe=f.useCallback(({name:F,value:R,property:Z,entityId:te})=>s.checkUniqueField(t,F,R,Z,te),[t]),He=({fullPath:F,context:R,value:Z,propertyKey:te,onValueUpdated:me,setError:Ue,entity:tn})=>{const q=Ee.setIn({...tn.values},te,Z),be={path:F,entityId:tn.id,values:q,previousValues:tn.values,collection:_,status:"existing"};return Er({...be,callbacks:_.callbacks,dataSource:s,context:R,onSaveSuccess:()=>me(),onSaveFailure:ye=>{console.error("Save failure"),console.error(ye),Ue(ye)}})},Ve=d.resolveAliasesFrom(t),rn=f.useMemo(()=>Me({collection:_,path:t,fields:g.fields}),[_,t]),yo=f.useCallback(({propertyKey:F,propertyValue:R,entity:Z})=>{let te=mn(_.properties,F);return te||(te=mn(rn.properties,F)),Ne({propertyKey:F,propertyOrBuilder:te,path:t,propertyValue:R,values:Z.values,entityId:Z.id,fields:g.fields})},[_.properties,g.fields,t,rn.properties]),zn=ra(rn,!0),Hn=f.useCallback(F=>{b(F),g.onAnalyticsEvent?.("copy_entity_click",{path:F.path,entityId:F.id}),u.open({entityId:F.id,path:F.path,copy:!0,collection:_,updateUrl:!0,onClose:C})},[u,_,t,C]),Un=f.useCallback(F=>{b(F),g.onAnalyticsEvent?.("entity_click",{path:F.path,entityId:F.id}),u.open({entityId:F.id,path:F.path,collection:_,updateUrl:!0,onClose:C})},[u,_,t,C]),Yn=f.useMemo(()=>{const F=_.subcollections?.map(Z=>({id:It(Z),name:Z.name,width:200,dependencies:[],Builder:({entity:te})=>n.jsx(ce,{color:"primary",variant:"outlined",startIcon:n.jsx(Do,{size:"small"}),onClick:me=>{me.stopPropagation(),u.open({path:t,entityId:te.id,selectedSubPath:Z.alias??Z.path,collection:_,updateUrl:!0})},children:Z.name})}))??[],R=_.collectionGroup?[{id:xH,name:"Parent entities",width:260,dependencies:[],Builder:({entity:Z})=>{const te=d.getParentReferencesFromPath(Z.path);return n.jsx(n.Fragment,{children:te.map(me=>n.jsx(on,{reference:me,size:"tiny"},me.path+"/"+me.id))})}}]:[];return[..._.additionalFields??[],...F,...R]},[_,t]),yn=f.useCallback(({entity:F,size:R,width:Z,frozen:te})=>{const me=W(F),Ue=lt(_,A,Xe(t),F);return n.jsx(kt,{entity:F,width:Z,frozen:te,isSelected:me,selectionEnabled:P,size:R,toggleEntitySelection:z,onEditClicked:Un,onCopyClicked:Be?Hn:void 0,onDeleteClicked:Ue?J:void 0,hideId:_?.hideIdFromCollection})},[W,_,A,t,P,z,Un,Be,Hn]),go=n.jsx(Et,{open:T,onOpenChange:B,enabled:!!_.description,trigger:n.jsxs("div",{className:"flex flex-col items-start",children:[n.jsx(j,{variant:"subtitle1",className:`leading-none truncate max-w-[160px] lg:max-w-[240px] ${_.description?"cursor-pointer":"cursor-auto"}`,onClick:_.description?F=>{B(!0),F.stopPropagation()}:void 0,children:`${_.name}`}),n.jsx(RH,{fullPath:t,collection:_,filter:L.filterValues,sortBy:L.sortBy,onCountChange:v})]}),children:_.description&&n.jsx("div",{className:"m-4 text-gray-900 dark:text-white",children:n.jsx(lo,{source:_.description})})});function ho({property:F,propertyKey:R,onHover:Z}){return g.plugins?n.jsx(n.Fragment,{children:g.plugins.filter(te=>te.collectionView?.HeaderAction).map((te,me)=>{const Ue=te.collectionView.HeaderAction;return n.jsx(Ue,{propertyKey:R,property:F,onHover:Z,fullPath:t,parentPathSegments:c??[]},`plugin_header_action_${me}`)})}):null}const $n=ie?function(){return typeof ie=="function"?n.jsx(ie,{fullPath:t,parentPathSegments:c??[],collection:_}):null}:void 0;return n.jsxs("div",{className:E("overflow-hidden h-full w-full",a),ref:h,children:[n.jsx(St,{additionalFields:Yn,tableController:L,displayedColumnIds:zn,onSizeChanged:ue,onEntityClick:V,onColumnResize:G,onValueChange:He,tableRowActionsBuilder:yn,uniqueFieldValidator:Oe,title:go,selectionController:M,highlightedEntities:I?[I]:[],defaultSize:_.defaultSize,properties:rn.properties,getPropertyFor:yo,actions:n.jsx(YH,{parentPathSegments:c??[],collection:_,tableController:L,onMultipleDeleteClick:ne,onNewClick:Q,path:t,relativePath:_.path,selectionController:M,selectionEnabled:P,collectionEntitiesCount:K}),hoverRow:D,inlineEditing:S(),additionalHeaderWidget:ho,AddColumnComponent:$n},`collection_table_${t}`),n.jsx(ZH,{open:!!X,onClose:O,cellRect:X?.cellRect,propertyKey:X?.propertyKey,collection:_,entity:X?.entity,tableKey:Y.current,customFieldValidator:Oe,path:Ve,onCellValueChange:He,container:h.current},`popup_form_${X?.propertyKey}_${X?.entity?.id}`),p&&n.jsx(UH,{entityOrEntitiesToDelete:p,path:t,collection:_,callbacks:_.callbacks,open:!!p,onEntityDelete:$,onMultipleEntitiesDelete:re,onClose:()=>w(void 0)})]})},se);function Pt(){const[e,t]=f.useState([]),c=f.useCallback(a=>{let l;e.map(s=>s.id).includes(a.id)?l=e.filter(s=>s.id!==a.id):l=[...e,a],t(l)},[e]),i=f.useCallback(a=>e.map(l=>l.id).includes(a.id),[e]);return{selectedEntities:e,setSelectedEntities:t,isEntitySelected:i,toggleEntitySelection:c}}function RH({fullPath:e,collection:t,filter:c,sortBy:i,onCountChange:a}){const l=Le(),s=fe(),[d,u]=f.useState(void 0),[A,y]=f.useState(void 0),g=i?i[0]:void 0,h=i?i[1]:void 0,_=f.useMemo(()=>s.resolveAliasesFrom(e),[e,s.resolveAliasesFrom]);return f.useEffect(()=>{l.countEntities({path:_,collection:t,filter:c,orderBy:g,order:h}).then(u).catch(y)},[e,l,_,t,c,g,h]),f.useEffect(()=>{a&&a(d??0)},[a,d]),A?null:n.jsx(j,{className:"w-full text-ellipsis block overflow-hidden whitespace-nowrap max-w-xs text-left w-fit-content",variant:"caption",color:"secondary",children:d!==void 0?`${d} entities`:n.jsx(Qe,{className:"w-full max-w-[80px] mt-1"})})}function la(e,t){if(e.includes(".")){const[c,...i]=e.split(".");return{properties:{[c]:la(i.join("."),t)}}}return{properties:{[e]:{columnWidth:t}}}}function sa({onSingleEntitySelected:e,onMultipleEntitiesSelected:t,multiselect:c,collection:i,path:a,selectedEntityIds:l,description:s,forceFilter:d,maxSelection:u}){const A=Yo(),y=Sn(),g=fe(),h=ee(),_=g.resolveAliasesFrom(a),I=Le(),[b,p]=f.useState([]),w=Pt();f.useEffect(()=>{let B=!1;const N=l?.map(M=>M?.toString()).filter(Boolean);return N&&i?Promise.all(N.map(M=>I.fetchEntity({path:_,entityId:M,collection:i}))).then(M=>{if(!B){const U=M.filter(z=>z!==void 0);w.setSelectedEntities(U),p(U)}}):(w.setSelectedEntities([]),p([])),()=>{B=!0}},[I,_,l,i,w.setSelectedEntities]);const k=f.useCallback(()=>{h.onAnalyticsEvent?.("reference_selection_clear",{path:_}),w.setSelectedEntities([]),!c&&e?e(null):t&&t([])},[c,t,e]),m=f.useCallback(B=>{let N;const M=w.selectedEntities;if(h.onAnalyticsEvent?.("reference_selection_toggle",{path:_,entityId:B.id}),M){if(M.map(U=>U.id).indexOf(B.id)>-1)N=M.filter(U=>U.id!==B.id);else{if(u&&M.length>=u)return;N=[...M,B]}w.setSelectedEntities(N),t&&t(N)}},[t,w.selectedEntities]),K=f.useCallback(B=>{!c&&e?(h.onAnalyticsEvent?.("reference_selected_single",{path:_,entityId:B.id}),e(B),A.close(!1)):m(B)},[A,c,e,m]),v=f.useCallback(()=>{h.onAnalyticsEvent?.("reference_selection_new_entity",{path:_}),y.open({path:_,collection:i,updateUrl:!0,onUpdate:({entity:B})=>{p([B,...b]),K(B)},closeOnSave:!0})},[y,_,i,b,K]),C=f.useCallback(({entity:B,size:N,width:M,frozen:U})=>{const z=w.selectedEntities,W=z&&z.map(oe=>oe.id).indexOf(B.id)>-1;return n.jsx(kt,{width:M,frozen:U,entity:B,size:N,isSelected:W,selectionEnabled:c,toggleEntitySelection:m,hideId:i?.hideIdFromCollection})},[c,w.selectedEntities,m,i?.hideIdFromCollection]),S=f.useCallback(B=>{B.stopPropagation(),A.close(!1)},[A]);if(!i)return n.jsx(pe,{error:"Could not find collection with id "+i});const P=f.useMemo(()=>Me({collection:i,path:_,values:{},fields:h.fields}),[i,h.fields,_]),D=ra(P,!1),T=Bt({fullPath:_,collection:i,entitiesDisplayedFirst:b,forceFilter:d});return n.jsxs("div",{className:"flex flex-col h-full",children:[n.jsx("div",{className:"flex-grow",children:b&&n.jsx(St,{displayedColumnIds:D,onEntityClick:K,tableController:T,tableRowActionsBuilder:C,title:n.jsx(j,{variant:"subtitle2",children:i.singularName?`Select ${i.singularName}`:`Select from ${i.name}`}),defaultSize:i.defaultSize,properties:P.properties,forceFilter:d,inlineEditing:!1,selectionController:w,actions:n.jsx(e3,{collection:i,path:_,onNewClick:v,onClear:k})})}),n.jsxs(vn,{translucent:!1,children:[s&&n.jsx(j,{variant:"body2",className:"flex-grow text-left",children:s}),n.jsx(ce,{onClick:S,color:"primary",variant:"filled",children:"Done"})]})]})}function e3({collection:e,path:t,onClear:c,onNewClick:i}){const a=pn(),l=We(),s=i?u=>{u.preventDefault(),i()}:void 0,d=Wo(e,a,Xe(t),null)&&s&&(l?n.jsxs(ce,{onClick:s,startIcon:n.jsx(bn,{}),variant:"outlined",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(ce,{onClick:s,size:"medium",variant:"outlined",color:"primary",children:n.jsx(bn,{})}));return n.jsxs(n.Fragment,{children:[n.jsx(ce,{onClick:c,variant:"text",color:"primary",children:"Clear"}),d]})}function An({title:e,children:t,invisible:c=!1,initiallyExpanded:i=!0,onExpandedChange:a,titleClassName:l,asField:s,className:d}){Dn("ExpandablePanel",`
1584
1553
  .CollapsibleContent {
1585
1554
  overflow: hidden;
1586
1555
  }
@@ -1607,5 +1576,36 @@
1607
1576
  to {
1608
1577
  height: 0;
1609
1578
  }
1610
- }`);const[u,A]=f.useState(i),[y,h]=f.useState(u);return f.useEffect(()=>{u?setTimeout(()=>{h(!0)},220):h(!1)},[u]),n.jsx(n.Fragment,{children:n.jsxs(qn.Root,{className:E(!c&&ue+" border","rounded-md"),open:u,onOpenChange:I=>{a?.(I),A(I)},children:[n.jsxs(qn.Trigger,{className:E(he,"rounded flex items-center justify-between w-full min-h-[52px]",c?"border-b px-2":"p-4",c&&ue,s&&Je,l),children:[e,n.jsx(oo,{className:E("transition",u?"rotate-180":"")})]}),n.jsx(qn.Content,{className:E("CollapsibleContent"),style:{overflow:y?"visible":"hidden"},children:n.jsx("div",{className:d,children:t})})]})})}function Et({children:e,group:t}){const c=En();return n.jsx(dn,{invisible:!0,titleClassName:"font-medium text-sm text-gray-600 dark:text-gray-400",className:"py-4",initiallyExpanded:!(c?.collapsedGroups??[]).includes(t??"ungrouped"),onExpandedChange:i=>{if(c)if(i)c.setCollapsedGroups((c.collapsedGroups??[]).filter(a=>a!==(t??"ungrouped")));else{const a=(c.collapsedGroups??[]).concat(t??"ungrouped");c.setCollapsedGroups(a)}},title:n.jsx(j,{color:"secondary",className:"font-medium ml-1",children:t?.toUpperCase()??"Views".toUpperCase()}),children:n.jsx("div",{className:"mb-8",children:e})})}function ca({view:e,path:t,collection:c,url:i,name:a,description:l,onClick:s}){const d=En(),u=Vo(c??e),A=be.useNavigate(),y=ne(),h=(d?.favouritePaths??[]).includes(t);let I;if(y.plugins&&c){const _={path:t,collection:c,context:y};I=n.jsx(n.Fragment,{children:y.plugins.map((g,b)=>g.homePage?.CollectionActions?n.jsx(g.homePage.CollectionActions,{..._,extraProps:g.homePage.extraProps},`actions_${b}`):null)})}return n.jsx(ga,{className:E("h-full p-4 cursor-pointer min-h-[230px]"),onClick:()=>{s?.(),A(i),d&&d.setRecentlyVisitedPaths([t,...(d.recentlyVisitedPaths??[]).filter(_=>_!==t)])},children:n.jsxs("div",{className:"flex flex-col items-start h-full",children:[n.jsxs("div",{className:"flex-grow w-full",children:[n.jsxs("div",{className:"h-10 flex items-center w-full justify-between text-gray-300 dark:text-gray-600",children:[u,n.jsxs("div",{className:"flex items-center gap-1",onClick:_=>{_.preventDefault(),_.stopPropagation()},children:[I,d&&n.jsx(R,{onClick:_=>{_.preventDefault(),_.stopPropagation(),h?d.setFavouritePaths(d.favouritePaths.filter(g=>g!==t)):d.setFavouritePaths([...d.favouritePaths,t])},children:h?n.jsx(vr,{size:18,className:"text-secondary"}):n.jsx(Kr,{size:18,className:"text-gray-400 dark:text-gray-500"})})]})]}),n.jsx(j,{gutterBottom:!0,variant:"h5",component:"h2",children:a}),l&&n.jsx(j,{variant:"body2",color:"secondary",component:"div",children:n.jsx(lo,{source:l})})]}),n.jsx("div",{style:{alignSelf:"flex-end"},children:n.jsx("div",{className:"p-4",children:n.jsx(cc,{className:"text-primary"})})})]})})}function J3({entry:e}){const t=be.useNavigate(),c=En();if(!c)return null;const i=c.favouritePaths.includes(e.path),a=l=>{l.preventDefault(),l.stopPropagation(),i?c.setFavouritePaths(c.favouritePaths.filter(s=>s!==e.path)):c.setFavouritePaths([...c.favouritePaths,e.path])};return n.jsx(Fo,{onClick:()=>t(e.url),icon:i?n.jsx(vr,{onClick:a,size:18,className:"text-secondary"}):n.jsx(Kr,{onClick:a,size:18,className:"text-gray-400 dark:text-gray-500"}),children:e.name},e.path)}function Z3({hidden:e}){const t=fe(),c=En();if(!c)return null;const i=(c?.favouritePaths??[]).map(a=>t.topLevelNavigation?.navigationEntries.find(l=>l.path===a)).filter(Boolean);return n.jsx(To,{in:i.length>0,children:n.jsx("div",{className:"flex flex-row flex-wrap gap-2 pb-2 min-h-[32px]",children:i.map(a=>n.jsx(J3,{entry:a},a.path))})})}const Ft={};function X3(){const e=be.useLocation(),t=f.useRef(null),[c,i]=f.useState(0),[a,l]=f.useState("down"),s=f.useCallback(()=>{!t.current||!e.key||(Ft[e.key]=t.current.scrollTop,i(t.current.scrollTop),l(t.current.scrollTop>c?"down":"up"))},[t,e.key,c]);return f.useEffect(()=>{const d=t.current;if(d)return d.addEventListener("scroll",s,{passive:!0}),()=>{d&&d.removeEventListener("scroll",s)}},[t,s,e]),f.useEffect(()=>{!t.current||!Ft[e.key]||t.current.scrollTo({top:Ft[e.key],behavior:"auto"})},[e]),{containerRef:t,scroll:c,direction:a}}const Wn=new Qa.Search("url");Wn.addIndex("name"),Wn.addIndex("description"),Wn.addIndex("group"),Wn.addIndex("path");function ia({additionalChildrenStart:e,additionalChildrenEnd:t}){const c=ne(),i=fe();if(!i.topLevelNavigation)throw Error("Navigation not ready in FireCMSHomePage");const{containerRef:a,scroll:l,direction:s}=X3(),{navigationEntries:d,groups:u}=i.topLevelNavigation,[A,y]=f.useState(null),h=A?d.filter(p=>A.includes(p.url)):d;f.useEffect(()=>{Wn.addDocuments(d)},[d]);const I=f.useCallback(p=>{if(!p||p==="")y(null);else{const w=Wn.search(p);y(w.map(k=>k.url))}},[]),_=[...u];(h.filter(p=>!p.group).length>0||h.length===0)&&_.push(void 0);let g,b;if(c.plugins){const p={context:c};b=n.jsx(n.Fragment,{children:c.plugins.filter(w=>w.homePage?.includeSection).map((w,k)=>{const v=w.homePage.includeSection(p);return n.jsx(Et,{group:v.title,children:v.children},`plugin_section_${w.name}`)})}),g=n.jsx("div",{className:"flex flex-col gap-2",children:c.plugins.filter(w=>w.homePage?.additionalChildrenStart).map((w,k)=>n.jsx("div",{children:w.homePage.additionalChildrenStart},`plugin_children_start_${k}`))})}return n.jsx("div",{id:"home_page",ref:a,className:"py-2 overflow-auto h-full w-full",children:n.jsxs(Ot,{maxWidth:"6xl",children:[n.jsx("div",{className:"sticky py-4 transition-all duration-400 ease-in-out top-0 z-10",style:{top:s==="down"?-84:0},children:n.jsx(Qt,{onTextSearch:I,placeholder:"Search collections",large:!1,className:"w-full"})}),n.jsx(Z3,{hidden:!!A}),e,g,_.map((p,w)=>{const k=[],v={group:p,context:c};c.plugins&&c.plugins.forEach(m=>{m.homePage?.AdditionalCards&&k.push(...Yo(m.homePage?.AdditionalCards))});const K=h.filter(m=>m.group===p||!m.group&&p===void 0);return K.length===0&&k.length===0?null:n.jsx(Et,{group:p,children:n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[K.map(m=>n.jsx("div",{className:"col-span-1",children:n.jsx(ca,{...m,onClick:()=>{const C=m.type==="collection"?"home_navigate_to_collection":m.type==="view"?"home_navigate_to_view":"unmapped_event";c.onAnalyticsEvent?.(C,{path:m.path})}})},`nav_${m.group}_${m.name}`)),k&&k.map((m,C)=>n.jsx("div",{children:n.jsx(m,{...v})},`nav_${p}_add_${C}`))]})},`plugin_section_${p}`)}),b,t]})})}function x3({fieldConfig:e}){const t="h-8 w-8 p-1 rounded-full shadow text-white";return n.jsx("div",{className:t,style:{background:e?.color??"#888"},children:rt(e,"medium")})}function R3({children:e,title:t,path:c}){const i=Dr();return f.useEffect(()=>{i.set({breadcrumbs:[{title:t,url:c}]})},[c,t]),n.jsx(n.Fragment,{children:e})}function aa(){return n.jsx("div",{className:"flex w-full h-full",children:n.jsxs("div",{className:"m-auto flex items-center flex-col",children:[n.jsx(j,{variant:"h4",align:"center",gutterBottom:!0,children:"Page not found"}),n.jsx(j,{align:"center",gutterBottom:!0,children:"This page does not exist or you may not have access to it"}),n.jsx(te,{variant:"text",component:be.Link,to:"/",children:"Back to home"})]})})}function eH({open:e,onAccept:t,onCancel:c,title:i,loading:a,body:l}){return n.jsxs(Jo,{open:e,onOpenChange:s=>s?void 0:c(),children:[n.jsxs(Zo,{children:[n.jsx(j,{variant:"h6",className:"mb-2",children:i}),l]}),n.jsxs(kn,{children:[n.jsx(te,{variant:"text",onClick:c,autoFocus:!0,children:"Cancel"}),n.jsx(Ia,{color:"primary",type:"submit",loading:a,onClick:t,children:"Ok"})]})]})}function la({width:e,height:t,className:c,style:i}){return n.jsxs("svg",{width:e??"100%",height:t??"100%",viewBox:"0 0 599 599",version:"1.1",style:i,className:c,xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("defs",{children:[n.jsxs("radialGradient",{cx:"28.6213569%",cy:"43.1133328%",fx:"28.6213569%",fy:"43.1133328%",r:"71.5003456%",gradientTransform:"translate(0.286214,0.431133),rotate(3.343450),scale(1.000000,0.996175),translate(-0.286214,-0.431133)",id:"radialGradient-1",children:[n.jsx("stop",{stopColor:"#FF5B79",offset:"0%"}),n.jsx("stop",{stopColor:"#FA5574",offset:"28.0930803%"}),n.jsx("stop",{stopColor:"#EC4C51",offset:"44.7242531%"}),n.jsx("stop",{stopColor:"#9543C1",offset:"71.4578165%"}),n.jsx("stop",{stopColor:"#3857B3",offset:"100%"})]}),n.jsxs("radialGradient",{cx:"53.6205516%",cy:"47.2473036%",fx:"53.6205516%",fy:"47.2473036%",r:"50.8229649%",gradientTransform:"translate(0.536206,0.472473),rotate(90.000000),scale(1.000000,1.206631),translate(-0.536206,-0.472473)",id:"radialGradient-2",children:[n.jsx("stop",{stopColor:"#68294F",stopOpacity:"0",offset:"0%"}),n.jsx("stop",{stopColor:"#5E2548",stopOpacity:"0.04641108",offset:"75.3503173%"}),n.jsx("stop",{stopColor:"#0D060B",stopOpacity:"0.437431709",offset:"100%"})]}),n.jsxs("radialGradient",{cx:"53.8605015%",cy:"48.1990423%",fx:"53.8605015%",fy:"48.1990423%",r:"59.9151549%",gradientTransform:"translate(0.538605,0.481990),rotate(180.000000),scale(1.000000,0.925027),translate(-0.538605,-0.481990)",id:"radialGradient-3",children:[n.jsx("stop",{stopColor:"#68294F",stopOpacity:"0",offset:"0%"}),n.jsx("stop",{stopColor:"#5E2548",stopOpacity:"0.04641108",offset:"84.0867343%"}),n.jsx("stop",{stopColor:"#FF0000",stopOpacity:"0.567324765",offset:"100%"})]})]}),n.jsx("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:n.jsxs("g",{id:"firecms_logo",children:[n.jsx("circle",{fill:"url(#radialGradient-1)",cx:"299.5",cy:"299.5",r:"299.5"}),n.jsx("circle",{fill:"url(#radialGradient-2)",cx:"299.5",cy:"299.5",r:"299.5"}),n.jsx("circle",{fill:"url(#radialGradient-3)",cx:"299.5",cy:"299.5",r:"299.5"})]})})]})}const nH={info:"bg-sky-200 dark:bg-teal-900",warn:"bg-orange-200 dark:bg-yellow-950"};function oH({children:e,mode:t="info"}){return n.jsx("div",{className:E("my-3 py-2 px-4 rounded",nH[t]),children:e})}const sa=function({title:t,endAdornment:c,startAdornment:i,drawerOpen:a,dropDownActions:l,includeDrawer:s,className:d,style:u,user:A}){const y=fe(),h=In(),{mode:I,toggleMode:_}=Pr(),g=ze(),b=A??h.user;let p;if(b&&b.photoURL)p=n.jsx(Mt,{src:b.photoURL});else if(b===void 0||h.initialLoading)p=n.jsx("div",{className:"p-1 flex justify-center",children:n.jsx(Ve,{className:"w-10 h-10 rounded-full"})});else{const w=b?.displayName?b.displayName[0].toUpperCase():b?.email?b.email[0].toUpperCase():"A";p=n.jsx(Mt,{children:w})}return n.jsx("div",{style:u,className:E("pr-2",{"ml-[17rem]":a&&g,"ml-16":s&&!(a&&g)&&!i,"h-16":!0,"z-10":g,"transition-all":!0,"ease-in":!0,"duration-75":!0,"w-full":!s,"w-[calc(100%-64px)]":s&&!(a&&g),"w-[calc(100%-17rem)]":s&&a&&g,"duration-150":a&&g,fixed:!0},d),children:n.jsxs("div",{className:"flex flex-row gap-2 px-4 h-full items-center",children:[i,y&&n.jsx("div",{className:"mr-8 hidden lg:block",children:n.jsx(be.Link,{className:"visited:text-inherit visited:dark:text-inherit",to:y?.basePath??"/",children:n.jsx(j,{variant:"subtitle1",noWrap:!0,className:"ml-2 !font-medium",children:t})})}),n.jsx("div",{className:"flex-grow"}),c&&n.jsx(ie,{children:c}),n.jsx(R,{color:"inherit","aria-label":"Open drawer",onClick:_,size:"large",children:I==="dark"?n.jsx(dc,{}):n.jsx(mc,{})}),n.jsxs(Qn,{trigger:p,children:[l,!l&&n.jsxs(me,{onClick:h.signOut,children:[n.jsx(Sc,{}),"Log Out"]})]})]})})},rH=e=>e&&Array.isArray(e)&&e.length>0?e.map((t,c)=>t?{[ir(t)+c]:Ao()}:{}).reduce((t,c)=>({...t,...c}),{}):{};function Pt({droppableId:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,size:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:A}){const y=c&&Array.isArray(c)&&c.length>0,h=f.useRef(rH(c)),[I,_]=f.useState(y?Object.values(h.current):[]);f.useEffect(()=>{if(y&&c&&c.length!==I.length){const k=c.map((v,K)=>{const m=ir(v)+K;if(m in h.current)return h.current[m];{const C=Ao();return h.current[m]=C,C}});_(k)}},[y,I.length,c]);const g=k=>{if(k.preventDefault(),i)return;const v=Ao(),K=[...I,v];s&&s(v),_(K),A([...c??[],u])},b=k=>{const v=[...I];v.splice(k,1),_(v),A(c.filter((K,m)=>m!==k))},p=k=>{const v=Ao(),K=c[k],m=[...I.splice(0,k+1),v,...I.splice(k+1,I.length-k-1)];s&&s(v),_(m),A([...c.slice(0,k+1),K,...c.slice(k+1)])},w=k=>{if(!k.destination)return;const v=k.source.index,K=k.destination.index,m=[...I],C=m[v];m[v]=m[K],m[K]=C,_(m),A(tH(c,v,K))};return n.jsx(Kn.DragDropContext,{onDragEnd:w,children:n.jsx(Kn.Droppable,{droppableId:e,renderClone:(k,v,K)=>{const m=K.source.index,C=I[m];return n.jsx(Dt,{provided:k,internalId:C,index:m,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:v.isDragging})},children:(k,v)=>n.jsxs("div",{...k.droppableProps,ref:k.innerRef,children:[y&&I.map((K,m)=>n.jsx(Kn.Draggable,{draggableId:`array_field_${K}`,isDragDisabled:i,index:m,children:(C,B)=>n.jsx(Dt,{provided:C,internalId:K,index:m,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:B.isDragging})},`array_field_${K}`)),k.placeholder,d&&n.jsx("div",{className:"p-4 justify-center text-left",children:n.jsx(te,{variant:l==="small"?"text":"outlined",size:l==="small"?"small":"medium",color:"primary",disabled:i,startIcon:n.jsx(gn,{}),onClick:g,children:t??"Add"})})]})})})}function Dt({provided:e,index:t,internalId:c,size:i,disabled:a,buildEntry:l,remove:s,copy:d,isDragging:u}){const[A,y]=er(),h=i!=="small"&&y.height===0,I=i!=="small"&&y.height<100,[_,g]=f.useState(!1),b=f.useCallback(()=>g(!0),[]),p=f.useCallback(()=>g(!1),[]);return n.jsx("div",{onMouseEnter:b,onMouseMove:b,onMouseLeave:p,ref:e.innerRef,...e.draggableProps,style:e.draggableProps.style,className:`${u||_?We:""} mb-1 rounded-md opacity-100`,children:n.jsxs("div",{className:"flex items-start",children:[n.jsx("div",{ref:A,className:"flex-grow w-[calc(100%-48px)] text-text-primary dark:text-text-primary-dark",children:l(t,c)}),n.jsx(da,{direction:i==="small"?"row":"column",disabled:a,remove:s,index:t,provided:e,measuring:h,contentOverflow:I,copy:d})]})})}function da({direction:e,disabled:t,remove:c,index:i,provided:a,copy:l,contentOverflow:s,measuring:d}){return n.jsxs("div",{className:`p-1 flex ${e==="row"?"flex-row-reverse":"flex-col"} items-center`,...a.dragHandleProps,children:[n.jsx(_e,{side:e==="column"?"left":void 0,title:"Move",children:n.jsx(R,{size:"small",disabled:t,className:`cursor-${t?"inherit":"grab"}`,children:n.jsx("svg",{focusable:"false",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",children:n.jsx("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"})})})}),!d&&!s&&n.jsxs(n.Fragment,{children:[n.jsx(_e,{title:"Remove",side:e==="column"?"left":void 0,children:n.jsx(R,{size:"small","aria-label":"remove",disabled:t,onClick:()=>c(i),children:n.jsx(to,{size:"small"})})}),n.jsx(_e,{side:e==="column"?"left":void 0,title:"Copy in this position",children:n.jsx(R,{size:"small","aria-label":"copy",disabled:t,onClick:()=>l(i),children:n.jsx(no,{size:"small"})})})]}),!d&&s&&n.jsx(n.Fragment,{children:n.jsxs(Qn,{trigger:n.jsx(R,{size:"small",children:n.jsx(kr,{size:"small"})}),children:[n.jsxs(me,{dense:!0,onClick:()=>c(i),children:[n.jsx(to,{size:"small"}),"Remove"]}),n.jsxs(me,{dense:!0,onClick:()=>l(i),children:[n.jsx(no,{size:"small"}),"Copy"]})]})})]})}function tH(e,t,c){const i=Array.from(e),[a]=i.splice(t,1);return i.splice(c,0,a),i}function Ao(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const cH="100vw",iH="55vw",ua="768px",$o="main_##Q$SC^#S6";function aH({path:e,entityId:t,selectedSubPath:c,copy:i,collection:a,onValuesAreModified:l,formWidth:s,onUpdate:d,onClose:u}){a.customId&&a.formAutoSave&&console.warn(`The collection ${a.path} has customId and formAutoSave enabled. This is not supported and formAutoSave will be ignored`);const[A,y]=f.useState(!1),[h,I]=f.useState(void 0);Oo(h,()=>{h&&Y({entityId:L?.id,collection:a,path:e,values:h,closeAfterSave:!1})},!1,2e3);const _=Qe(),g=Uo(),b=Sn(),p=an(),w=ne(),k=In(),[v,K]=f.useState(void 0),[m,C]=f.useState(i?"copy":t?"existing":"new"),B=f.useRef(void 0),P=B.current,F=(a.subcollections??[]).filter(M=>!M.hideFromNavigation),D=F?.length??0,S=a.entityViews,T=S?.length??0,N=a.formAutoSave&&!a.customId,q=T>0||D>0,z=c??nt(a?a.defaultSelectedView:void 0,{status:m,entityId:t}),V=f.useRef(z??$o),oe=V.current===$o,{entity:O,dataLoading:H,dataLoadingError:Z}=Er({path:e,entityId:t,collection:a,useCache:!1}),[L,W]=f.useState(O),[Q,X]=f.useState(void 0);f.useEffect(()=>{O&&W(O)},[O]),f.useEffect(()=>{if(m==="new")X(!1);else{const M=L?ct(a,k,Ze(e),L??null):!1;L&&X(!M)}},[k,L,m]);const ee=f.useCallback(M=>{y(!1),p.open({type:"error",message:"Error before saving: "+M?.message}),console.error(M)},[p]),U=f.useCallback(M=>{y(!1),p.open({type:"error",message:"Error after saving (entity is saved): "+M?.message}),console.error(M)},[p]),re=(M,le)=>{y(!1),N||p.open({type:"success",message:`${a.singularName??a.name}: Saved correctly`}),W(M),C("existing"),l(!1),d&&d({entity:M}),le?(g.setBlocked(!1),g.close(!0),u?.()):m!=="existing"&&b.replace({path:e,entityId:M.id,selectedSubPath:V.current,updateUrl:!0,collection:a})},J=f.useCallback(M=>{y(!1),p.open({type:"error",message:"Error saving: "+M?.message}),console.error("Error saving entity",e,t),console.error(M)},[t,e,p]),Y=({values:M,previousValues:le,closeAfterSave:Ie,entityId:Oe,collection:vn,path:$})=>{y(!0),Fr({path:$,entityId:Oe,values:M,previousValues:le,collection:vn,status:m,dataSource:_,context:w,onSaveSuccess:se=>re(se,Ie),onSaveFailure:J,onPreSaveHookError:ee,onSaveSuccessHookError:U}).then()},x=async({collection:M,path:le,entityId:Ie,values:Oe,previousValues:vn,closeAfterSave:$,autoSave:se})=>{m&&(se?I(Oe):Y({collection:M,path:le,entityId:Ie,values:Oe,previousValues:vn,closeAfterSave:$}))},ge=S?S.map(M=>At(M,w.entityViews)).filter(Boolean):[],He=S&&ge.map((M,le)=>{if(!M||V.current!==M.key)return null;const Ie=M.Builder;return Ie?n.jsx("div",{className:E(ue,"relative flex-grow w-full h-full overflow-auto "),role:"tabpanel",children:n.jsx(ie,{children:v&&n.jsx(Ie,{collection:a,entity:L,modifiedValues:P??L?.values,formContext:v})})},`custom_view_${M.key}`):(console.error("customView.Builder is not defined"),null)}).filter(Boolean),ve=H&&!L||(!L||Q===void 0)&&(m==="existing"||m==="copy"),fn=ve||A,An=F&&F.map((M,le)=>{const Ie=M.alias??M.path,Oe=L?`${e}/${L?.id}/${pe(Ie)}`:void 0;return V.current!==Ie?null:n.jsxs("div",{className:"relative flex-grow h-full overflow-auto w-full",role:"tabpanel",children:[fn&&n.jsx(fo,{}),!ve&&(L&&Oe?n.jsx(St,{fullPath:Oe,parentPathSegments:Ze(e),isSubCollection:!0,...M}):n.jsx("div",{className:"flex items-center justify-center w-full h-full p-3",children:n.jsx(j,{variant:"label",children:"You need to save your entity before adding additional collections"})}))]},`subcol_${Ie}`)}).filter(Boolean),zn=f.useCallback(()=>{l(!1)},[]),_o=M=>{V.current=M,b.replace({path:e,entityId:t,selectedSubPath:M===$o?void 0:M,updateUrl:!0,collection:a})},mn=f.useCallback(M=>{B.current=M},[]),Hn=f.useCallback(M=>{p.open({type:"error",message:"Error updating id, check the console"})},[]),_n=f.useCallback(M=>{W(le=>le?{...le,id:M}:void 0)},[]),Un=M=>{N||l(M)};function yo(){const M=w.plugins;let le=n.jsx(Si,{status:m,path:e,collection:a,onEntitySaveRequested:x,onDiscard:zn,onValuesChanged:mn,onModified:Un,entity:L,onIdChange:_n,onFormContextChange:K,hideId:a.hideIdFromForm,autoSave:N,onIdUpdateError:Hn});return M&&M.forEach(Ie=>{Ie.form?.provider&&(le=n.jsx(Ie.form.provider.Component,{status:m,path:e,collection:a,onDiscard:zn,onValuesChanged:mn,onModified:Un,entity:L,context:w,formContext:v,...Ie.form.provider.props,children:le}))}),n.jsx(ie,{children:le})}const G=Q===void 0?n.jsx(n.Fragment,{}):Q?n.jsxs(n.Fragment,{children:[n.jsx(j,{className:"mt-16 mb-8 mx-8",variant:"h4",children:a.singularName??a.name}),n.jsx(yt,{className:"px-12",entity:L,path:e,collection:a})]}):yo(),Ae=F&&F.map(M=>n.jsx(Xo,{className:"text-sm min-w-[140px]",value:M.path,children:M.name},`entity_detail_collection_tab_${M.name}`)),ae=ge.map(M=>n.jsx(Xo,{className:"text-sm min-w-[140px]",value:M.key,children:M.name},`entity_detail_collection_tab_${M.name}`));return n.jsx("div",{className:"flex flex-col h-full w-full transition-width duration-250 ease-in-out",children:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:E(ue,"no-scrollbar border-b pl-2 pr-2 pt-1 flex items-end overflow-scroll bg-gray-50 dark:bg-gray-950"),children:[n.jsx("div",{className:"pb-1 self-center",children:n.jsx(R,{onClick:()=>(u?.(),g.close(!1)),size:"large",children:n.jsx(Ir,{})})}),n.jsx("div",{className:"flex-grow"}),ve&&n.jsx("div",{className:"self-center",children:n.jsx(Gn,{size:"small"})}),n.jsxs(ba,{value:V.current,onValueChange:M=>{_o(M)},className:"pl-4 pr-4 pt-0",children:[n.jsx(Xo,{disabled:!q,value:$o,className:`${q?"":"hidden"} text-sm min-w-[140px]`,children:a.singularName??a.name}),ae,Ae]})]}),n.jsxs("div",{className:"flex-grow h-full flex overflow-auto flex-row w-full ",style:{},children:[n.jsx("div",{role:"tabpanel",hidden:!oe,id:`form_${e}`,className:" w-full",children:ve?n.jsx(fo,{}):G}),He,An]})]})})}function lH(e){const{blocked:t,setBlocked:c,setBlockedNavigationMessage:i}=Uo(),a=fe(),l=f.useMemo(()=>{if(!e)return;let d=e.collection;if(!d&&(d=a.getCollection(e.path,e.entityId),!d))throw console.error("ERROR: No collection found in path `",e.path,"`. Entity id: ",e.entityId),Error("ERROR: No collection found in path `"+e.path+"`. Make sure you have defined a collection for this path in the root navigation.");return d},[a,e]);f.useEffect(()=>{function d(u){t&&l&&(u.preventDefault(),u.returnValue=`You have unsaved changes in this ${l.name}. Are you sure you want to leave this page?`)}return typeof window<"u"&&window.addEventListener("beforeunload",d),()=>{typeof window<"u"&&window.removeEventListener("beforeunload",d)}},[t,l]);const s=f.useCallback(d=>{c(d),i(d?n.jsxs(n.Fragment,{children:[" You have unsaved changes in this ",n.jsx("b",{children:l?.singularName??l?.name}),"."]}):void 0)},[l?.name,c,i]);return!e||!l?n.jsx("div",{className:"w-full"}):n.jsx(n.Fragment,{children:n.jsx(ie,{children:n.jsx(aH,{...e,formWidth:e.width,collection:l,onValuesAreModified:s})})})}const fa="new";function sH(e,t){if(t)return cH;const c=!e.selectedSubPath,i=typeof e.width=="number"?`${e.width}px`:e.width;return c?i??ua:`calc(${iH} + ${i??ua})`}const dH=(e,t)=>{const c=be.useLocation(),i=f.useRef(!1),a=!ze();f.useEffect(()=>{if(!e.loading&&!i.current){if(e.isUrlCollectionPath(c.pathname)){const u=c.hash===`#${fa}`,A=e.urlPathToDataPath(c.pathname),y=uH(A,e.collections,u);t.replace(y.map(h=>Nt(h,e,a)))}i.current=!0}},[c,e,t,a]);const l=f.useCallback(()=>{t.close()},[t]),s=f.useCallback(u=>{if(u.copy&&!u.entityId)throw Error("If you want to copy an entity you need to provide an entityId");const A=nt(u.collection?u.collection.defaultSelectedView:void 0,{status:u.copy?"copy":u.entityId?"existing":"new",entityId:u.entityId});t.open(Nt({selectedSubPath:A,...u},e,a))},[t,e,a]),d=f.useCallback(u=>{if(u.copy&&!u.entityId)throw Error("If you want to copy an entity you need to provide an entityId");t.replace(Nt(u,e,a))},[e,t,a]);return{close:l,open:s,replace:d}};function uH(e,t,c){const i=_t({path:e,collections:t}),a=[];let l="";for(let s=0;s<i.length;s++){const d=i[s];if(d.type==="collection"&&(l=d.path),s>0){const u=i[s-1];if(d.type==="entity")a.push({path:d.path,entityId:d.entityId,copy:!1});else if(d.type==="custom_view"){if(u.type==="entity"){const A=a[a.length-1];A&&(A.selectedSubPath=d.view.key)}}else if(d.type==="collection"&&u.type==="entity"){const A=a[a.length-1];A&&(A.selectedSubPath=d.collection.alias??d.collection.path)}}}return c&&a.push({path:l,copy:!1}),a}const Nt=(e,t,c)=>{const i=pe(e.path),a=e.entityId?t.buildUrlCollectionPath(`${i}/${e.entityId}/${e.selectedSubPath||""}`):t.buildUrlCollectionPath(`${i}#${fa}`);return{key:`${e.path}/${e.entityId}`,component:n.jsx(lH,{...e}),urlPath:a,parentUrlPath:t.buildUrlCollectionPath(i),width:sH(e,c),onClose:e.onClose}};function Aa(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=pe(t).split("/"),l=bo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(y=>y.alias===u||y.path===u);if(A){const y=A.alias??A.path,h=i&&i.length>0?i+"/"+y:y,I=pe(pe(t).replace(u,"")),_=I.length>0?I.split("/"):[];if(_.length>0){const g=_[0],b=h+"/"+g;if(s.push(new je(g,h)),_.length>1){const p=_.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);A.subcollections&&s.push(...Aa({path:p,collections:A.subcollections,currentFullPath:b}))}}break}}return s}function fH({basePath:e,baseCollectionPath:t,authController:c,collections:i,views:a,userConfigPersistence:l,plugins:s,dataSource:d}){const u=be.useLocation(),[A,y]=f.useState(),[h,I]=f.useState(),[_,g]=f.useState(!1),[b,p]=f.useState(void 0),[w,k]=f.useState(!0),[v,K]=f.useState(void 0),m=pe(e),C=pe(t),B=m?`/${m}`:"/",P=m?`/${m}/${C}`:`/${C}`,F=f.useCallback(W=>m?`/${m}/${jo(W)}`:`/${jo(W)}`,[m]),D=f.useCallback(W=>`${pe(t)}/${jo(W)}`,[t]),S=f.useCallback((W,Q)=>{const X=[...(W??[]).map(U=>U.hideFromNavigation?void 0:{url:D(U.alias??U.path),type:"collection",name:U.name.trim(),path:U.alias??U.path,collection:U,description:U.description?.trim(),group:U.group?.trim()}).filter(Boolean),...(Q??[]).map(U=>U.hideFromNavigation?void 0:{url:F(Array.isArray(U.path)?U.path[0]:U.path),name:U.name.trim(),type:"view",view:U,description:U.description?.trim(),group:U.group?.trim()}).filter(Boolean)],ee=Object.values(X).map(U=>U.group).filter(Boolean).filter((U,re,J)=>J.indexOf(U)===re);return{navigationEntries:X,groups:ee}},[F,D]),T=f.useCallback(async()=>{if(!c.initialLoading){try{const[W=[],Q=[]]=await Promise.all([AH(i,c,d,s),_H(a,c,d)]);y(W),I(Q),p(S(W??[],Q))}catch(W){console.error(W),K(W)}k(!1),g(!0)}},[i,c.user,c.initialLoading,d,s,a,S]);f.useEffect(()=>{T()},[T]);const N=f.useCallback((W,Q,X=!1)=>{if(!A)return;const ee=Io(pe(W),A),U=X?l?.getCollectionConfig(W):void 0,re=ee?qe(ee,U):void 0;let J=re;if(re){const Y=re.subcollections,x=re.callbacks,ge=re.permissions;J={...J,subcollections:J?.subcollections??Y,callbacks:J?.callbacks??x,permissions:J?.permissions??ge}}if(J)return{...re,...J}},[e,t,A]),q=f.useCallback(W=>{let Q=A;if(!Q)throw Error("Collections have not been initialised yet");for(let X=0;X<W.length;X++){const ee=W[X],U=Q.find(re=>re.alias===ee||re.path===ee);if(!U)return;if(Q=U.subcollections,X===W.length-1)return U}},[A]),z=f.useCallback(W=>pe(W+"/").startsWith(pe(P)+"/"),[P]),V=f.useCallback(W=>{if(W.startsWith(P))return W.replace(P,"");throw Error("Expected path starting with "+P)},[P]),oe=f.useCallback(({path:W})=>`s/edit/${jo(W)}`,[]),O=f.useCallback(W=>{if(!A)throw Error("Collections have not been initialised yet");return rr(W,A)},[A]),H=u.state,Z=H&&H.base_location?H.base_location:u,L=f.useCallback(W=>Aa({path:W,collections:A}),[A]);return f.useMemo(()=>({collections:A??[],views:h??[],loading:!_||w,navigationLoadingError:v,homeUrl:B,basePath:e,baseCollectionPath:t,initialised:_,getCollection:N,getCollectionFromPaths:q,isUrlCollectionPath:z,urlPathToDataPath:V,buildUrlCollectionPath:D,buildUrlEditCollectionPath:oe,buildCMSUrlPath:F,resolveAliasesFrom:O,topLevelNavigation:b,baseLocation:Z,refreshNavigation:T,getParentReferencesFromPath:L}),[t,Z,e,F,D,oe,A,L,N,q,B,_,z,w,v,T,O,b,V,h])}function jo(e){return encodeURIComponent(pe(e)).replaceAll("%2F","/").replaceAll("%23","#")}function _a(e,t){return e.filter(c=>c.permissions?uo(c,t,[c.path],null).read!==!1:!0).map(c=>c.subcollections?{...c,subcollections:_a(c.subcollections,t)}:c)}async function AH(e,t,c,i){let a=[];return typeof e=="function"?a=await e({user:t.user,authController:t,dataSource:c}):Array.isArray(e)&&(a=e),a=_a(a,t),i&&i.forEach(l=>{l.collections?.injectCollections&&(a=l.collections?.injectCollections(a??[]))}),a}async function _H(e,t,c){let i=[];return typeof e=="function"?i=await e({user:t.user,authController:t,dataSource:c}):Array.isArray(e)&&(i=e),i}function yH(){const e=be.useLocation(),t=be.useNavigate(),[c,i]=f.useState([]),a=f.useRef(c),l=f.useRef({}),s=f.useRef(0),d=h=>{a.current=h,i(h)};f.useEffect(()=>{const _=(e.state?.panels??[]).map(g=>l.current[g]).filter(g=>!!g);de(a.current.map(g=>g.key),_.map(g=>g.key))||d(_)},[e]);const u=f.useCallback(()=>{if(c.length===0)return;const h=c[c.length-1],I=[...c.slice(0,-1)];if(d(I),s.current>0)h.urlPath&&t(-1),s.current--;else if(h.parentUrlPath){const _=e.state?.base_location??e;t(h.parentUrlPath,{replace:!0,state:{base_location:_,panels:I.map(g=>g.key)}})}},[c,t,e]),A=f.useCallback(h=>{const I=Array.isArray(h)?h:[h];I.forEach(b=>{l.current[b.key]=b}),s.current=s.current+I.length;const _=e.state?.base_location??e,g=[...c,...I];d(g),I.forEach(b=>{b.urlPath&&t(b.urlPath,{state:{base_location:_,panels:g.map(p=>p.key)}})})},[e,t,c]),y=f.useCallback(h=>{const I=Array.isArray(h)?h:[h];I.forEach(b=>{l.current[b.key]=b});const _=e.state?.base_location??e,g=[...c.slice(0,-I.length),...I];d(g),I.forEach(b=>{b.urlPath&&t(b.urlPath,{replace:!0,state:{base_location:_,panels:g.map(p=>p.key)}})})},[e,t,c]);return{sidePanels:c,close:u,open:A,replace:y}}function hH(e){f.useEffect(()=>{if(!e)return;const t=Ut[e];t&&(xo.registerLocale(e,t),xo.setDefaultLocale(e))},[e])}const gH="/",IH="/c";function bH(e){const t=Pr(),{children:c,collections:i,views:a,entityLinkBuilder:l,userConfigPersistence:s,dateTimeFormat:d,locale:u,authController:A,storageSource:y,dataSource:h,basePath:I=gH,baseCollectionPath:_=IH,plugins:g,onAnalyticsEvent:b,fields:p,entityViews:w}=e;hH(u);const k=fH({basePath:I,baseCollectionPath:_,authController:A,collections:i,views:a,userConfigPersistence:s,dataSource:h,plugins:g}),v=yH(),K=dH(k,v),m=A.initialLoading||k.loading||(g?.some(B=>B.loading)??!1),C=f.useMemo(()=>({entityLinkBuilder:l,dateTimeFormat:d,locale:u,plugins:g,onAnalyticsEvent:b,entityViews:w??[],fields:p??{}}),[d,u,g,w,p]);return k.navigationLoadingError?n.jsx(Lt,{maxWidth:"md",fullScreen:!0,children:n.jsx(we,{title:"Error loading navigation",error:k.navigationLoadingError})}):A.authError?n.jsx(Lt,{maxWidth:"md",fullScreen:!0,children:n.jsx(we,{title:"Error loading auth",error:A.authError})}):n.jsx(or.Provider,{value:t,children:n.jsx(Sr.Provider,{value:C,children:n.jsx(Wc.Provider,{value:s,children:n.jsx(Vc.Provider,{value:y,children:n.jsx(Mc.Provider,{value:h,children:n.jsx(Cr.Provider,{value:A,children:n.jsx(Lc.Provider,{value:v,children:n.jsx(Qc.Provider,{value:K,children:n.jsx(Oc.Provider,{value:k,children:n.jsx(Ga,{children:n.jsx(pH,{loading:m,children:c})})})})})})})})})})})}function pH({loading:e,children:t}){const c=ne();let i=t({context:c,loading:e});const a=c.plugins;return!e&&a&&a.forEach(l=>{l.provider&&(i=n.jsx(l.provider.Component,{...l.provider.props,context:c,children:i}))}),n.jsx(n.Fragment,{children:i})}function ya({hovered:e,drawerOpen:t,closeDrawer:c}){const i=ne(),a=fe(),l=e&&!t,s=ze();if(!a.topLevelNavigation)throw Error("Navigation not ready in Drawer");const{navigationEntries:d,groups:u}=a.topLevelNavigation,A=Object.values(d).filter(I=>!I.group),y=f.useCallback(I=>t?n.jsx("div",{className:"pt-8 pl-6 pr-8 pb-2 flex flex-row items-center",children:n.jsx(j,{variant:"caption",color:"secondary",className:"font-medium flex-grow",children:I?I.toUpperCase():"Views".toUpperCase()})}):n.jsx("div",{className:"h-4"}),[t]),h=I=>{const _=I.type==="collection"?"drawer_navigate_to_collection":I.type==="view"?"drawer_navigate_to_view":"unmapped_event";i.onAnalyticsEvent?.(_,{url:I.url}),s||c()};return n.jsxs("div",{className:"flex-grow overflow-scroll no-scrollbar",children:[u.map(I=>n.jsxs(f.Fragment,{children:[y(I),Object.values(d).filter(_=>_.group===I).map((_,g)=>n.jsx(Tt,{icon:Vo(_.collection??_.view),tooltipsOpen:l,drawerOpen:t,onClick:()=>h(_),url:_.url,name:_.name},`navigation_${g}`))]},`drawer_group_${I}`)),A.length>0&&y(),A.map((I,_)=>n.jsx(Tt,{icon:Vo(I.collection??I.view),tooltipsOpen:l,onClick:()=>h(I),drawerOpen:t,url:I.url,name:I.name},`navigation_${_}`))]})}function Tt({name:e,icon:t,drawerOpen:c,tooltipsOpen:i,url:a,onClick:l}){const s=n.jsx("div",{className:"text-gray-600 dark:text-gray-500",children:t}),d=n.jsxs(be.NavLink,{onClick:l,className:({isActive:u})=>E("rounded-r-xl truncate","hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75 text-gray-800 dark:text-gray-200 hover:text-gray-900 hover:dark:text-gray-100","flex flex-row items-center w-full mr-8",c?"pl-8 h-12":"pl-6 h-11","font-medium text-sm",u?"bg-gray-100 dark:bg-gray-800":""),to:a,children:[s,n.jsx("div",{className:E(c?"opacity-100":"opacity-0 hidden","ml-4 font-inherit text-inherit"),children:e.toUpperCase()})]});return c?d:n.jsx(_e,{open:i,side:"right",title:e,children:d})}const wH=280,kH=f.memo(function(t){const{children:c,name:i,logo:a,includeDrawer:l=!0,autoOpenDrawer:s,Drawer:d=ya,drawerProps:u,FireCMSAppBarComponent:A=sa,fireCMSAppBarComponentProps:y}=t,h=ze(),I=fe(),[_,g]=f.useState(!1),[b,p]=f.useState(!1),w=f.useCallback(()=>p(!0),[]),k=f.useCallback(()=>p(!1),[]),v=f.useCallback(()=>{g(!1)},[]),K=_||!!(h&&s&&b);return n.jsxs("div",{className:"flex h-screen w-screen bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-white overflow-hidden",style:{paddingTop:"env(safe-area-inset-top)",paddingLeft:"env(safe-area-inset-left)",paddingRight:"env(safe-area-inset-right)",paddingBottom:"env(safe-area-inset-bottom)",height:"100dvh"},children:[n.jsx(A,{title:i,includeDrawer:l,drawerOpen:K,...y}),n.jsx(vH,{displayed:l,onMouseEnter:w,onMouseMove:w,onMouseLeave:k,open:K,logo:a,hovered:b,setDrawerOpen:g,children:l&&(I.loading?n.jsx(fo,{}):n.jsx(d,{hovered:b,drawerOpen:K,closeDrawer:v,...u}))}),n.jsxs("main",{className:"flex flex-col flex-grow overflow-auto",children:[n.jsx(mH,{}),n.jsx("div",{className:E(ue,"flex-grow overflow-auto lg:m-0 lg:mx-4 lg:mb-4 lg:rounded-lg lg:border lg:border-solid m-0 mt-1"),children:n.jsx(ie,{children:c})})]})]})},de),mH=()=>n.jsx("div",{className:"flex flex-col min-h-[68px]"});function vH(e){const t=fe(),c=e.displayed?e.open?wH:72:0,i=n.jsxs("div",{className:"relative h-full no-scrollbar overflow-y-auto overflow-x-hidden",style:{width:c,transition:"left 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, opacity 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, width 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms"},children:[!e.open&&e.displayed&&n.jsx(_e,{title:"Open menu",side:"right",sideOffset:12,className:"fixed top-2 left-3 !bg-gray-50 dark:!bg-gray-900 rounded-full w-fit",children:n.jsx(R,{color:"inherit","aria-label":"Open menu",className:"sticky top-2 left-3 ",onClick:()=>e.setDrawerOpen(!0),size:"large",children:n.jsx(wr,{})})}),n.jsxs("div",{className:"flex flex-col h-full",children:[n.jsx("div",{style:{transition:"padding 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",padding:e.open?"32px 96px 0px 24px":"72px 16px 0px"},className:E("cursor-pointer"),children:n.jsx(_e,{title:"Home",sideOffset:20,side:"right",children:n.jsx(be.Link,{to:t.basePath,children:e.logo?n.jsx("img",{src:e.logo,alt:"Logo",className:E("max-w-full max-h-full",e.open??"w-[160px] h-[160px]")}):n.jsx(la,{})})})}),e.children]})]});return ze()?n.jsxs("div",{className:"relative",onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,style:{width:c,transition:"left 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, opacity 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, width 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms"},children:[i,n.jsx("div",{className:`absolute right-0 top-4 ${e.open?"opacity-100":"opacity-0 invisible"} transition-opacity duration-1000 ease-in-out`,children:n.jsx(R,{"aria-label":"Close drawer",onClick:()=>e.setDrawerOpen(!1),children:n.jsx(sc,{})})})]}):e.displayed?n.jsxs(n.Fragment,{children:[n.jsx(R,{color:"inherit","aria-label":"Open drawer",onClick:()=>e.setDrawerOpen(!0),size:"large",className:"absolute top-2 left-6",children:n.jsx(wr,{})}),n.jsx(Vt,{side:"left",transparent:!0,open:e.open,onOpenChange:e.setDrawerOpen,children:i})]}):null}const KH=f.memo(function({HomePage:t=ia,customRoutes:c}){const i=be.useLocation(),a=fe();if(!a)return n.jsx(n.Fragment,{});const l=i.state,s=l&&l.base_location?l.base_location:i,d=[];a.views&&a.views.forEach(I=>{Array.isArray(I.path)?d.push(...I.path.map(_=>ha(_,I))):d.push(ha(I.path,I))});const A=[...a.collections??[]].sort((I,_)=>_.path.length-I.path.length).map(I=>{const _=a.buildUrlCollectionPath(I.alias??I.path);return n.jsx(be.Route,{path:_+"/*",element:n.jsx(qo,{path:_,title:I.name,type:"collection",children:n.jsx(St,{isSubCollection:!1,parentPathSegments:[],fullPath:I.alias??I.path,...I,Actions:Yo(I.Actions)},`collection_view_${I.alias??I.path}`)})},`navigation_${I.alias??I.path}`)}),y=n.jsx(be.Route,{path:"/",element:n.jsx(qo,{path:a.homeUrl,title:"Home",type:"home",children:n.jsx(t,{})},"navigation_home")}),h=n.jsx(be.Route,{path:"*",element:n.jsx(aa,{})});return n.jsxs(be.Routes,{location:s,children:[A,d,y,h,c]})}),ha=(e,t)=>n.jsx(be.Route,{path:e,element:n.jsx(qo,{path:e,title:t.name,type:"view",children:t.view},`navigation_${e}`)},"navigation_view_"+e),qo=f.memo(function({children:t,title:c,path:i,type:a}){const l=Dr();return f.useEffect(()=>{l.set({breadcrumbs:[{title:c,url:i}]})},[i,c]),n.jsx(n.Fragment,{children:t})},de);function CH(e){return e}function SH(e){return e}function BH(e){return e}function EH(e){return e}function FH(e){return e}function PH(e){return e}function DH(e){return e}function NH(e){return e}function TH(e){return e}function MH(){const e=typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)"),c=(localStorage.getItem("prefers-dark-mode")!=null?localStorage.getItem("prefers-dark-mode")==="true":null)??e,[i,a]=f.useState(c?"dark":"light");f.useEffect(()=>{a(c?"dark":"light"),d(c?"dark":"light")},[c]);const l=f.useCallback(()=>{a("dark"),d("dark")},[e]),s=f.useCallback(()=>{a("light"),d("light")},[]),d=A=>{document.body.style.setProperty("color-scheme",A),document.documentElement.dataset.theme=A},u=f.useCallback(()=>{i==="light"?(e?localStorage.removeItem("prefers-dark-mode"):localStorage.setItem("prefers-dark-mode","true"),l()):(e?localStorage.setItem("prefers-dark-mode","false"):localStorage.removeItem("prefers-dark-mode"),s())},[i,e]);return{mode:i,setMode:a,toggleMode:u}}function OH(){const[e,t]=f.useState({}),c=f.useCallback(g=>{const b=localStorage.getItem(g);return b?JSON.parse(b):{}},[]),i=f.useCallback(g=>{const b=`collection_config::${ot(g)}`;return e[b]?e[b]:c(b)},[e,c]),a=f.useCallback((g,b)=>{const p=`collection_config::${ot(g)}`;localStorage.setItem(p,JSON.stringify(b)),t(w=>{const k=w[p],v=qe(k??c(g),b);return qe(w,v)})},[c]),[l,s]=f.useState([]),[d,u]=f.useState([]),[A,y]=f.useState([]);f.useEffect(()=>{s(localStorage.getItem("recently_visited_paths")?JSON.parse(localStorage.getItem("recently_visited_paths")):[]),u(localStorage.getItem("favourite_paths")?JSON.parse(localStorage.getItem("favourite_paths")):[]),y(localStorage.getItem("collapsed_groups")?JSON.parse(localStorage.getItem("collapsed_groups")):[])},[]);const h=f.useCallback(g=>{localStorage.setItem("recently_visited_paths",JSON.stringify(g)),s(g)},[]),I=f.useCallback(g=>{localStorage.setItem("favourite_paths",JSON.stringify(g)),u(g)},[]),_=f.useCallback(g=>{localStorage.setItem("collapsed_groups",JSON.stringify(g)),y(g)},[]);return{onCollectionModified:a,getCollectionConfig:i,recentlyVisitedPaths:l,setRecentlyVisitedPaths:h,favouritePaths:d,setFavouritePaths:I,collapsedGroups:A,setCollapsedGroups:_}}const LH=({children:e})=>n.jsx(Gt.SnackbarProvider,{maxSnack:3,autoHideDuration:3500,children:e}),QH=({ref:e})=>{const[t,c]=f.useState(!1),[i,a]=f.useState(!1);return f.useEffect(()=>{e.current&&(e.current.onfocus=()=>{c(!0),a(!0)},e.current.onblur=()=>{a(!1)})},[e]),{inputFocused:i,autoCompleteOpen:t,setAutoCompleteOpen:c}};function VH({children:e,open:t,setOpen:c}){const i=f.useRef(null);return Do(i,()=>c(!1)),n.jsx(To,{in:t,duration:50,className:E("absolute top-full left-0 right-0 overflow-visible",t?"shadow":"","my-2","z-20","w-full"),children:n.jsx("div",{ref:i,className:E(t?Ge:"","bg-gray-50 dark:bg-gray-900 py-2"),children:e})})}function WH({children:e,onClick:t}){return n.jsx("div",{className:"flex w-full items-center pr-6 pl-14 h-[48px] cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800",onClick:t,children:e})}const GH=e=>{switch(e){case"error":return"bg-red-50 dark:bg-red-800 dark:text-red-100 text-red-900";case"warning":return"bg-amber-50 dark:bg-amber-800 dark:text-amber-100 text-amber-900";case"info":return"bg-blue-50 dark:bg-blue-800 dark:text-blue-100 text-blue-900";case"success":return"bg-emerald-50 dark:bg-emerald-800 dark:text-emerald-100 text-emerald-900";default:return"bg-blue-50 dark:bg-blue-800 dark:text-blue-100 text-blue-900"}},zH=({children:e,onDismiss:t,color:c="info",action:i,className:a,style:l})=>{const s=GH(c);return n.jsxs("div",{style:l,className:E("px-4 py-2 rounded-md flex items-center gap-2",s,a),children:[n.jsx("span",{className:"flex-grow",children:e}),t&&n.jsx("button",{className:"text-gray-400 hover:text-gray-600 dark:text-gray-500 dark:hover:text-gray-400",onClick:t,children:"×"}),i]})},HH=({src:e,alt:t,children:c,className:i,...a},l)=>n.jsx("button",{ref:l,...a,className:E("rounded-full flex items-center justify-center overflow-hidden",he,"p-1 hover:bg-gray-200 hover:dark:bg-gray-700",i),children:e?n.jsx("img",{className:"object-cover rounded-full w-10 h-10 bg-gray-100 dark:bg-gray-800",src:e,alt:t}):n.jsx("span",{className:"py-1.5 text-lg font-medium text-gray-900 dark:text-white rounded-full w-10 h-10 bg-gray-100 dark:bg-gray-800",children:c})}),Mt=f.forwardRef(HH);function ga({children:e,style:t,onClick:c,className:i}){const a=f.useCallback(l=>{(l.key==="Enter"||l.key===" ")&&c?.()},[c]);return n.jsx("div",{onKeyPress:a,role:c?"button":void 0,tabIndex:c?0:void 0,onClick:c,className:E(Rt,c&&he,c&&ec,i),style:t,children:e})}const UH={xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl","7xl":"max-w-7xl"},YH=({children:e,className:t,style:c,maxWidth:i="7xl"},a)=>{const l=i?UH[i]:"";return n.jsx("div",{ref:a,className:E("mx-auto px-3 md:px-4 lg-px-6",l,t),style:c,children:e})},Ot=f.forwardRef(YH);function Lt({children:e,maxWidth:t,fullScreen:c=!1,className:i}){return n.jsx("div",{className:"flex flex-col flex-grow h-full",children:n.jsx(Ot,{className:E("m-auto",i),maxWidth:t,children:e})})}function Gn({size:e="medium",className:t}){let c="";e==="small"?c="w-4 h-4 m-1":e==="medium"?c="w-8 h-8 m-1":c="w-10 h-10 m-1";let i="";return e==="small"?i="border-[3px]":e==="medium"?i="border-4":i="border-[6px]",n.jsx("div",{className:E(c,i,"inline-block animate-spin rounded-full border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]","text-blue-600 dark:text-blue-400",t),role:"status",children:n.jsx("span",{className:"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]",children:"Loading..."})})}const $H={xs:"max-w-xs min-w-xs w-xs",sm:"max-w-sm min-w-sm w-sm",md:"max-w-md min-w-md w-md",lg:"max-w-lg min-w-lg w-lg",xl:"max-w-xl min-w-xl w-xl","2xl":"max-w-2xl min-w-2xl w-2xl","3xl":"max-w-3xl min-w-3xl w-3xl","4xl":"max-w-4xl min-w-4xl w-4xl","5xl":"max-w-5xl min-w-5xl w-5xl","6xl":"max-w-6xl min-w-6xl w-6xl","7xl":"max-w-7xl min-w-7xl w-7xl",full:"max-w-full min-w-full w-full"},Jo=({open:e,onOpenChange:t,children:c,className:i,fullWidth:a=!0,fullHeight:l,fullScreen:s,scrollable:d=!0,maxWidth:u="lg"})=>{const[A,y]=f.useState(!1);return f.useEffect(()=>{if(e)return y(!0),()=>{};{const h=setTimeout(()=>{y(!1)},250);return()=>clearTimeout(h)}},[e]),n.jsx(Ye.Root,{open:A||e,onOpenChange:t,children:n.jsx(Ye.Portal,{children:n.jsxs("div",{className:"fixed inset-0 z-40",children:[n.jsx(Ye.Overlay,{className:E("fixed inset-0 transition-opacity z-20 ease-in-out duration-200 bg-black bg-opacity-50 dark:bg-opacity-60 backdrop-blur-sm ",A&&e?"opacity-100":"opacity-0","z-20 fixed top-0 left-0 w-full h-full flex justify-center items-center"),style:{pointerEvents:A?"auto":"none"}}),n.jsx(Ye.Content,{className:E("h-full outline-none flex justify-center items-center z-50 opacity-100 transition-all duration-200 ease-in-out"),children:n.jsx("div",{className:E(Ge,"z-30","relative","outline-none focus:outline-none",a&&!s?"w-11/12":void 0,l&&!s?"h-full":void 0,"text-gray-900 dark:text-white","justify-center items-center",s?"h-screen w-screen":"max-h-[90vh] shadow-xl","ease-in-out duration-200",d&&"overflow-y-auto",A&&e?"opacity-100":"opacity-0",u&&!s?$H[u]:void 0,i),children:c})})]})})})};function kn({children:e,position:t="sticky",translucent:c=!0,className:i}){return n.jsx("div",{className:E(ue,"py-3 px-4 border-t flex flex-row items-center justify-end bottom-0 right-0 left-0 text-right z-2 gap-2",t,"bg-white bg-opacity-60 dark:bg-gray-900 dark:bg-opacity-60",c?"backdrop-blur-sm":"",i),children:e})}function Zo({children:e,className:t,fullHeight:c}){return c?n.jsx("div",{className:"flex-grow flex flex-col h-full relative",children:e}):n.jsx("div",{className:E("py-6 px-6 h-full flex-grow",t),children:e})}function jH({accept:e,onFilesAdded:t,onFilesRejected:c,maxSize:i,disabled:a,maxFiles:l,title:s,uploadDescription:d="Drag and drop a file here or click",children:u,preventDropOnDocument:A=!0,size:y}){const{getRootProps:h,getInputProps:I,isDragActive:_,isDragAccept:g,isDragReject:b}=Ro.useDropzone({accept:e,noDragEventsBubbling:!0,maxSize:i,onDrop:t,onDropRejected:c,disabled:a,maxFiles:l,preventDropOnDocument:A});return n.jsxs("div",{...h(),className:E(Je,We,he,"flex gap-2","p-4 box-border relative items-center border-2 border-solid border-transparent outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",{"h-44":y==="medium","h-28":y==="small","cursor-pointer":!a,"hover:bg-field-hover dark:hover:bg-field-hover-dark":!_,"transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-red-500":b,"transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-green-500":g}),children:[n.jsx(j,{variant:"caption",color:"secondary",className:"absolute top-2 left-3.5 cursor-inherit",children:s}),n.jsx("input",{...I()}),u,n.jsx("div",{className:"flex-grow h-28 box-border flex flex-col items-center justify-center text-center",children:n.jsx(j,{align:"center",variant:"label",children:d})})]})}function Ia({children:e,loading:t,disabled:c,onClick:i,startIcon:a,...l}){return n.jsxs(te,{disabled:t||c,onClick:i,component:l.component,...l,children:[t&&n.jsx(Gn,{size:"small"}),!t&&a,e]})}function qH({children:e,style:t,className:c}){return n.jsx("div",{className:E(Ge,c),style:t,children:e})}function Xe({inputRef:e,open:t,name:c,id:i,onOpenChange:a,value:l,onChange:s,onValueChange:d,onMultiValueChange:u,className:A,inputClassName:y,placeholder:h,renderValue:I,renderValues:_,label:g,size:b="medium",includeFocusOutline:p=!0,error:w,disabled:k,padding:v=!0,position:K="item-aligned",endAdornment:m,multiple:C,invisible:B,children:P,...F}){const[D,S]=f.useState(!1);f.useEffect(()=>{S(t??!1)},[t]);const T=f.useCallback(N=>{C?Array.isArray(l)&&l.includes(N)?u?.(l.filter(q=>q!==N)):u?.([...l??[],N]):d?.(N),!C&&s&&s({target:{name:c,value:N}})},[C,s,l,u,d]);return n.jsxs($e.Root,{name:c,value:Array.isArray(l)?void 0:l,defaultOpen:t,open:D,disabled:k,onValueChange:T,onOpenChange:N=>{a?.(N),S(N)},...F,children:[typeof g=="string"?n.jsx(ii,{error:w,children:g}):g,n.jsxs("div",{className:E(b==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",B?Ar:Je,k?Re:We,"relative flex items-center",A),children:[n.jsxs($e.Trigger,{ref:e,id:i,className:E("w-full h-full",b==="small"?"h-[42px]":"h-[64px]",v?"px-4 ":"","outlin e-none focus:outline-none","select-none rounded-md text-sm",w?"text-red-500 dark:text-red-600":"focus:text-text-primary dark:focus:text-text-primary-dark",w?"border border-red-500 dark:border-red-600":"",k?"text-gray-600 dark:text-gray-400":"text-gray-800 dark:text-gray-200","relative flex items-center",p?he:"",y),children:[n.jsx($e.Value,{asChild:!0,children:n.jsxs("div",{className:E("flex-grow w-full max-w-full flex flex-row gap-2 items-center","overflow-visible",b==="small"?"h-[42px]":"h-[64px]"),children:[I&&(l&&Array.isArray(l)?l.map((N,q)=>n.jsx("div",{className:"flex items-center gap-1 max-w-full",children:I?I(N,q):N},N)):typeof l=="string"?I?I(l,0):l:h),_&&(!l||Array.isArray(l))?_(l??[]):null,!I&&!_&&l]})}),n.jsx($e.Icon,{className:E("px-2 h-full flex items-center"),children:n.jsx(oo,{size:"small",className:E("transition",t?"rotate-180":"")})})]}),m&&n.jsx("div",{className:E("absolute h-full flex items-center",b==="small"?"right-10":"right-14"),onClick:N=>N.stopPropagation(),children:m})]}),n.jsx($e.Portal,{children:n.jsx($e.Content,{position:K,className:"z-50 overflow-hidden relative border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-lg",children:n.jsx($e.Viewport,{children:P})})})]})}function xe({value:e,children:t,disabled:c,className:i}){return n.jsxs($e.Item,{value:e,disabled:c,onClick:a=>{a.preventDefault(),a.stopPropagation()},className:E("w-full","relative relative flex items-center p-2 rounded-md text-sm text-gray-700 dark:text-gray-300",he,"focus:z-10","data-[state=checked]:bg-gray-100 data-[state=checked]:dark:bg-gray-900 focus:bg-gray-100 dark:focus:bg-gray-950","data-[state=checked]:focus:bg-gray-200 data-[state=checked]:dark:focus:bg-gray-950",c?"opacity-50 cursor-not-allowed":"cursor-pointer","[&>*]:w-full","overflow-visible",i),children:[n.jsx($e.ItemText,{children:t}),n.jsx("div",{className:"absolute left-1 data-[state=checked]:block hidden",children:n.jsx(lc,{size:16})})]},e)}function JH({label:e,children:t,className:c}){return n.jsxs(n.Fragment,{children:[n.jsx($e.Group,{className:E("text-xs text-gray-900 dark:text-gray-100 uppercase tracking-wider font-bold mt-6 first:mt-2","px-2 py-2",c),children:e}),t]})}function Qt({onTextSearch:e,placeholder:t="Search",expandable:c=!1,large:i=!1,className:a,autoFocus:l}){const[s,d]=f.useState(""),[u,A]=f.useState(!1),y=f.useDeferredValue(s);f.useEffect(()=>{e(y||void 0)},[y]);const h=f.useCallback(()=>{d(""),e(void 0)},[]);return n.jsxs("div",{className:E("relative",i?"h-14":"h-[42px]","bg-gray-50 dark:bg-gray-800 transition duration-150 ease-in-out border",ue,"rounded"),children:[n.jsx("div",{className:"absolute p-0 px-4 h-full absolute pointer-events-none flex items-center justify-center top-0",children:n.jsx(rc,{className:"text-gray-500"})}),n.jsx("input",{placeholder:t,value:s,onChange:I=>{d(I.target.value)},autoFocus:l,onFocus:()=>A(!0),onBlur:()=>A(!1),className:E("relative flex items-center rounded transition-all bg-transparent outline-none appearance-none border-none","pl-12 h-full text-current ",c?u?"w-[220px]":"w-[180px]":"",he,a)}),s?n.jsx(R,{className:`${i?"mr-2 top-1":"mr-1 top-0"} absolute right-0 z-10`,onClick:h,children:n.jsx(cn,{size:"small"})}):n.jsx("div",{style:{width:26}})]})}const Vt=({children:e,side:t="right",open:c,onOpenChange:i,transparent:a,...l})=>{const[s,d]=f.useState(!1);f.useEffect(()=>{if(c)return d(!0),()=>{};{const A=setTimeout(()=>{d(!1)},250);return()=>clearTimeout(A)}},[c]);const u={top:"-translate-y-full",bottom:"translate-y-full",left:"-translate-x-full",right:"translate-x-full"};return n.jsx(Ye.Root,{open:s||c,onOpenChange:i,children:n.jsxs(Ye.Portal,{children:[n.jsx(Ye.Overlay,{className:E("fixed inset-0 transition-opacity z-20 ease-in-out duration-200 backdrop-blur-sm",a?"bg-white bg-opacity-80":"bg-black bg-opacity-50","dark:bg-black dark:bg-opacity-60",s&&c?"opacity-100":"opacity-0"),style:{pointerEvents:s?"auto":"none"}}),n.jsx(Ye.Content,{...l,className:E("text-gray-900 dark:text-white","fixed transform z-20 transition-all duration-[240ms] ease-in-out","outline-none focus:outline-none",a?"":"shadow-md",t==="top"||t==="bottom"?"w-full":"h-full",t==="left"||t==="top"?"left-0 top-0":"right-0 bottom-0",s&&c?"opacity-100":"opacity-0",!s||!c?u[t]:""),children:e})]})})};function ZH(){return n.jsxs("div",{role:"status",children:[n.jsxs("svg",{"aria-hidden":"true",className:"w-8 h-8 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-primary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),n.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),n.jsx("span",{className:"sr-only",children:"Loading..."})]})}function un({value:e,onChange:t,label:c,type:i="text",multiline:a=!1,invisible:l,rows:s,disabled:d,error:u,endAdornment:A,autoFocus:y,placeholder:h,size:I="medium",className:_,style:g,inputClassName:b,inputStyle:p,inputRef:w,...k}){const v=w??f.useRef(null),[K,m]=f.useState(document.activeElement===v.current),C=e!=null&&e!=="",B=f.useCallback(F=>{F.target.blur(),F.stopPropagation(),setTimeout(()=>{F.target.focus()},0)},[]),P=a?n.jsx(gt,{...k,ref:v,placeholder:h,autoFocus:y,rows:s,value:e??"",onChange:t,style:p,className:E(l?ur:he,"rounded-md resize-none w-full outline-none p-[32px] text-base bg-transparent min-h-[64px] px-3 pt-[28px]",d&&"border border-transparent outline-none opacity-50 text-gray-600 dark:text-gray-500")}):n.jsx("input",{...k,ref:v,onWheel:i==="number"?B:void 0,disabled:d,style:p,className:E("w-full outline-none bg-transparent leading-normal px-3","rounded-md",l?ur:he,d?Re:We,I==="small"?"min-h-[48px]":"min-h-[64px]",c?I==="medium"?"pt-[28px] pb-2":"pt-4 pb-2":"py-2",K?"text-text-primary dark:text-text-primary-dark":"",A?"pr-10":"pr-3",b,d&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-800 dark:text-gray-200"),placeholder:h,autoFocus:y,onFocus:()=>m(!0),onBlur:()=>m(!1),type:i,value:Number.isNaN(e)?"":e??"",onChange:t});return n.jsxs("div",{className:E("rounded-md relative max-w-full",l?Ar:Je,d?Re:We,u?"border border-red-500 dark:border-red-600":"",{"min-h-[48px]":!l&&I==="small","min-h-[64px]":!l&&I==="medium"},_),style:g,children:[c&&n.jsx(mt,{className:E("pointer-events-none absolute",I==="medium"?"top-1":"-top-1",u?"text-red-500 dark:text-red-600":K?"text-primary":"text-text-secondary dark:text-text-secondary-dark",d?"opacity-50":""),shrink:C||K,children:c}),P,A&&n.jsx("div",{className:"flex absolute right-0 top-3 mr-3 ",children:A})]})}function ba({value:e,onValueChange:t,className:c,children:i}){return n.jsx(nr.Root,{value:e,onValueChange:t,children:n.jsx(nr.List,{className:E("flex text-sm font-medium text-center text-gray-800 dark:text-gray-200",c),children:i})})}function Xo({value:e,className:t,children:c,disabled:i}){return n.jsx(nr.Trigger,{value:e,disabled:i,className:E(he,"border-b-2 border-transparent","data-[state=active]:border-secondary",i?"text-gray-400 dark:text-gray-500":E("text-gray-700 dark:text-gray-300","data-[state=active]:text-gray-900 data-[state=active]:dark:text-gray-100","hover:text-gray-800 dark:hover:text-gray-200"),t),children:n.jsx("div",{className:E("uppercase inline-block p-2 px-4 m-2 rounded","hover:bg-gray-100 dark:hover:bg-gray-800"),children:c})})}const XH=({children:e,className:t,style:c})=>n.jsx("table",{className:E("w-full text-left text-gray-800 dark:text-gray-200 rounded-md overflow-x-auto",t),style:c,children:e}),xH=({children:e,className:t})=>n.jsx("tbody",{className:E("bg-white text-sm dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",t),children:e}),RH=({children:e,className:t})=>n.jsx("thead",{children:n.jsx("tr",{className:E(ue,"text-sm font-medium text-gray-700 dark:text-gray-300","bg-gray-50 border-b dark:bg-gray-900",t),children:e})}),eU=({children:e,className:t,onClick:c,style:i})=>n.jsx("tr",{onClick:c,style:i,className:E("divide-gray-100 dark:divide-gray-800","bg-white dark:bg-gray-950",c?"hover:bg-gray-100 dark:hover:bg-gray-800 cursor-pointer":"",t),children:e}),nU=({children:e,header:t=!1,scope:c="",align:i,className:a,style:l,colspan:s})=>{const d=f.useRef(null),u=t||oU(d.current)==="TableHeader"?"th":"td";return n.jsx(u,{scope:c,colSpan:s,ref:d,style:l,className:E("px-4 py-3 text-clip ",i==="center"?"text-center":i==="right"?"text-right":"text-left",a),children:e})};function oU(e){if(e){const t=Object.keys(e).find(l=>l.startsWith("__reactFiber$")||l.startsWith("__reactInternalInstance$")),c=e[t],i=l=>{let s=l.return;for(;typeof s.type=="string";)s=s.return;return s};let a=i(c);return a=i(a),a?.elementType?.name}}o.AbcIcon=ls,o.AcUnitIcon=ss,o.AccessAlarmIcon=ds,o.AccessAlarmsIcon=us,o.AccessTimeFilledIcon=As,o.AccessTimeIcon=fs,o.AccessibilityIcon=_s,o.AccessibilityNewIcon=ys,o.AccessibleForwardIcon=gs,o.AccessibleIcon=hs,o.AccountBalanceIcon=Is,o.AccountBalanceWalletIcon=bs,o.AccountBoxIcon=ps,o.AccountCircleIcon=ws,o.AccountTreeIcon=ks,o.AdUnitsIcon=ms,o.AdbIcon=vs,o.AddAPhotoIcon=Ks,o.AddAlarmIcon=Cs,o.AddAlertIcon=Ss,o.AddBoxIcon=Bs,o.AddBusinessIcon=Es,o.AddCardIcon=Fs,o.AddChartIcon=Ps,o.AddCircleIcon=Ds,o.AddCircleOutlineIcon=Ns,o.AddCommentIcon=Ts,o.AddHomeIcon=Ms,o.AddHomeWorkIcon=Os,o.AddIcCallIcon=Ls,o.AddIcon=gn,o.AddLinkIcon=tc,o.AddLocationAltIcon=Vs,o.AddLocationIcon=Qs,o.AddModeratorIcon=Ws,o.AddPhotoAlternateIcon=Gs,o.AddReactionIcon=zs,o.AddRoadIcon=Hs,o.AddShoppingCartIcon=Us,o.AddTaskIcon=Ys,o.AddToDriveIcon=$s,o.AddToHomeScreenIcon=js,o.AddToPhotosIcon=qs,o.AddToQueueIcon=Js,o.AdfScannerIcon=Zs,o.AdjustIcon=Xs,o.AdminPanelSettingsIcon=xs,o.AdsClickIcon=Rs,o.AgricultureIcon=ed,o.AirIcon=nd,o.AirlineSeatFlatAngledIcon=rd,o.AirlineSeatFlatIcon=od,o.AirlineSeatIndividualSuiteIcon=td,o.AirlineSeatLegroomExtraIcon=cd,o.AirlineSeatLegroomNormalIcon=id,o.AirlineSeatLegroomReducedIcon=ad,o.AirlineSeatReclineExtraIcon=ld,o.AirlineSeatReclineNormalIcon=sd,o.AirlineStopsIcon=dd,o.AirlinesIcon=ud,o.AirplaneTicketIcon=fd,o.AirplanemodeActiveIcon=Ad,o.AirplanemodeInactiveIcon=_d,o.AirplayIcon=yd,o.AirportShuttleIcon=hd,o.AlarmAddIcon=Id,o.AlarmIcon=gd,o.AlarmOffIcon=bd,o.AlarmOnIcon=pd,o.AlbumIcon=wd,o.Alert=zH,o.AlignHorizontalCenterIcon=kd,o.AlignHorizontalLeftIcon=md,o.AlignHorizontalRightIcon=vd,o.AlignVerticalBottomIcon=Kd,o.AlignVerticalCenterIcon=Cd,o.AlignVerticalTopIcon=Sd,o.AllInboxIcon=Bd,o.AllInclusiveIcon=Ed,o.AllOutIcon=Fd,o.AltRouteIcon=Pd,o.AlternateEmailIcon=Dd,o.AnalyticsIcon=Nd,o.AnchorIcon=Td,o.AndroidIcon=Md,o.AnimationIcon=Od,o.AnnouncementIcon=Ld,o.AodIcon=Qd,o.ApartmentIcon=Vd,o.ApiIcon=Wd,o.AppBlockingIcon=Gd,o.AppRegistrationIcon=zd,o.AppSettingsAltIcon=Hd,o.AppShortcutIcon=Ud,o.ApprovalIcon=Yd,o.AppsIcon=$d,o.AppsOutageIcon=jd,o.ArchitectureIcon=qd,o.ArchiveIcon=Jd,o.AreaChartIcon=Zd,o.ArrayContainer=Pt,o.ArrayContainerItem=Dt,o.ArrayCustomShapedFieldBinding=vi,o.ArrayEnumPreview=Qr,o.ArrayItemOptions=da,o.ArrayOfMapsPreview=Jc,o.ArrayOfReferencesFieldBinding=li,o.ArrayOfReferencesPreview=Xc,o.ArrayOfStorageComponentsPreview=xc,o.ArrayOfStringsPreview=Rc,o.ArrayOneOfPreview=ei,o.ArrayPropertyEnumPreview=Vr,o.ArrayPropertyPreview=Lr,o.ArrowBackIcon=Xd,o.ArrowBackIosIcon=xd,o.ArrowBackIosNewIcon=Rd,o.ArrowCircleDownIcon=eu,o.ArrowCircleLeftIcon=nu,o.ArrowCircleRightIcon=ou,o.ArrowCircleUpIcon=ru,o.ArrowDownwardIcon=tu,o.ArrowDropDownCircleIcon=cu,o.ArrowDropDownIcon=yr,o.ArrowDropUpIcon=iu,o.ArrowForwardIcon=cc,o.ArrowForwardIosIcon=au,o.ArrowLeftIcon=lu,o.ArrowOutwardIcon=su,o.ArrowRightAltIcon=uu,o.ArrowRightIcon=du,o.ArrowUpwardIcon=So,o.ArtTrackIcon=fu,o.ArticleIcon=Au,o.AspectRatioIcon=_u,o.AssessmentIcon=yu,o.AssignmentIcon=ic,o.AssignmentIndIcon=hu,o.AssignmentLateIcon=gu,o.AssignmentReturnIcon=Iu,o.AssignmentReturnedIcon=bu,o.AssignmentTurnedInIcon=pu,o.AssistWalkerIcon=wu,o.AssistantDirectionIcon=mu,o.AssistantIcon=ku,o.AssistantPhotoIcon=vu,o.AssuredWorkloadIcon=Ku,o.AsyncPreviewComponent=$G,o.AtmIcon=Cu,o.AttachEmailIcon=Su,o.AttachFileIcon=Bu,o.AttachMoneyIcon=Eu,o.AttachmentIcon=Fu,o.AttractionsIcon=Pu,o.AttributionIcon=Du,o.AudioFileIcon=Nu,o.AudiotrackIcon=Tu,o.AuthControllerContext=Cr,o.AutoAwesomeIcon=Mu,o.AutoAwesomeMosaicIcon=Ou,o.AutoAwesomeMotionIcon=Lu,o.AutoDeleteIcon=Qu,o.AutoFixHighIcon=Vu,o.AutoFixNormalIcon=Wu,o.AutoFixOffIcon=Gu,o.AutoGraphIcon=zu,o.AutoModeIcon=Hu,o.AutoStoriesIcon=Uu,o.Autocomplete=VH,o.AutocompleteItem=WH,o.AutofpsSelectIcon=Yu,o.AutorenewIcon=$u,o.AvTimerIcon=ju,o.Avatar=Mt,o.BabyChangingStationIcon=qu,o.BackHandIcon=Ju,o.BackpackIcon=Zu,o.BackspaceIcon=Xu,o.BackupIcon=xu,o.BackupTableIcon=Ru,o.BadgeIcon=ef,o.BakeryDiningIcon=nf,o.BalanceIcon=of,o.BalconyIcon=rf,o.BallotIcon=hr,o.BarChartIcon=tf,o.BatchPredictionIcon=cf,o.BathroomIcon=af,o.BathtubIcon=lf,o.Battery0BarIcon=sf,o.Battery1BarIcon=df,o.Battery2BarIcon=uf,o.Battery3BarIcon=ff,o.Battery4BarIcon=Af,o.Battery5BarIcon=_f,o.Battery6BarIcon=yf,o.BatteryAlertIcon=hf,o.BatteryChargingFullIcon=gf,o.BatteryFullIcon=If,o.BatterySaverIcon=bf,o.BatteryStdIcon=pf,o.BatteryUnknownIcon=wf,o.BeachAccessIcon=kf,o.BedIcon=mf,o.BedroomBabyIcon=vf,o.BedroomChildIcon=Kf,o.BedroomParentIcon=Cf,o.BedtimeIcon=Sf,o.BedtimeOffIcon=Bf,o.BeenhereIcon=Ef,o.BentoIcon=Ff,o.BikeScooterIcon=Pf,o.BiotechIcon=Df,o.BlenderIcon=Nf,o.BlindIcon=Tf,o.BlindsClosedIcon=Of,o.BlindsIcon=Mf,o.BlockFieldBinding=ki,o.BlockIcon=Lf,o.BloodtypeIcon=Qf,o.BluetoothAudioIcon=Wf,o.BluetoothConnectedIcon=Gf,o.BluetoothDisabledIcon=zf,o.BluetoothDriveIcon=Hf,o.BluetoothIcon=Vf,o.BluetoothSearchingIcon=Uf,o.BlurCircularIcon=Yf,o.BlurLinearIcon=$f,o.BlurOffIcon=jf,o.BlurOnIcon=qf,o.BoltIcon=Jf,o.BookIcon=Zf,o.BookOnlineIcon=Xf,o.BookmarkAddIcon=Rf,o.BookmarkAddedIcon=eA,o.BookmarkBorderIcon=nA,o.BookmarkIcon=xf,o.BookmarkRemoveIcon=oA,o.BookmarksIcon=rA,o.BooleanPreview=ti,o.BooleanSwitch=Zr,o.BooleanSwitchWithLabel=On,o.BorderAllIcon=tA,o.BorderBottomIcon=cA,o.BorderClearIcon=iA,o.BorderColorIcon=aA,o.BorderHorizontalIcon=lA,o.BorderInnerIcon=sA,o.BorderLeftIcon=dA,o.BorderOuterIcon=uA,o.BorderRightIcon=fA,o.BorderStyleIcon=AA,o.BorderTopIcon=_A,o.BorderVerticalIcon=yA,o.BoyIcon=hA,o.BrandingWatermarkIcon=gA,o.BreadcrumbUpdater=R3,o.BreakfastDiningIcon=IA,o.Brightness1Icon=bA,o.Brightness2Icon=pA,o.Brightness3Icon=wA,o.Brightness4Icon=kA,o.Brightness5Icon=mA,o.Brightness6Icon=vA,o.Brightness7Icon=KA,o.BrightnessAutoIcon=CA,o.BrightnessHighIcon=SA,o.BrightnessLowIcon=BA,o.BrightnessMediumIcon=EA,o.BroadcastOnHomeIcon=FA,o.BroadcastOnPersonalIcon=PA,o.BrokenImageIcon=DA,o.BrowseGalleryIcon=NA,o.BrowserNotSupportedIcon=TA,o.BrowserUpdatedIcon=MA,o.BrunchDiningIcon=OA,o.BrushIcon=LA,o.BubbleChartIcon=QA,o.BugReportIcon=VA,o.BuildCircleIcon=GA,o.BuildIcon=WA,o.BungalowIcon=zA,o.BurstModeIcon=HA,o.BusAlertIcon=UA,o.BusinessCenterIcon=$A,o.BusinessIcon=YA,o.Button=te,o.COLLECTION_PATH_SEPARATOR=Ei,o.CabinIcon=jA,o.CableIcon=qA,o.CachedIcon=JA,o.CakeIcon=ZA,o.CalculateIcon=XA,o.CalendarMonthIcon=ac,o.CalendarTodayIcon=xA,o.CalendarViewDayIcon=RA,o.CalendarViewMonthIcon=e_,o.CalendarViewWeekIcon=n_,o.CallEndIcon=r_,o.CallIcon=o_,o.CallMadeIcon=t_,o.CallMergeIcon=c_,o.CallMissedIcon=i_,o.CallMissedOutgoingIcon=a_,o.CallReceivedIcon=l_,o.CallSplitIcon=s_,o.CallToActionIcon=d_,o.CameraAltIcon=f_,o.CameraEnhanceIcon=A_,o.CameraFrontIcon=__,o.CameraIcon=u_,o.CameraIndoorIcon=y_,o.CameraOutdoorIcon=h_,o.CameraRearIcon=g_,o.CameraRollIcon=I_,o.CameraswitchIcon=b_,o.CampaignIcon=p_,o.CancelIcon=w_,o.CancelPresentationIcon=k_,o.CancelScheduleSendIcon=m_,o.CandlestickChartIcon=v_,o.CarCrashIcon=K_,o.CarRentalIcon=C_,o.CarRepairIcon=S_,o.Card=ga,o.CardGiftcardIcon=B_,o.CardMembershipIcon=E_,o.CardTravelIcon=F_,o.CarpenterIcon=P_,o.CasesIcon=D_,o.CasinoIcon=N_,o.CastConnectedIcon=M_,o.CastForEducationIcon=O_,o.CastIcon=T_,o.CastleIcon=L_,o.CatchingPokemonIcon=Q_,o.CategoryIcon=V_,o.CelebrationIcon=W_,o.CellTowerIcon=G_,o.CellWifiIcon=z_,o.CenterFocusStrongIcon=H_,o.CenterFocusWeakIcon=U_,o.CenteredView=Lt,o.ChairAltIcon=$_,o.ChairIcon=Y_,o.ChaletIcon=j_,o.ChangeCircleIcon=q_,o.ChangeHistoryIcon=J_,o.ChargingStationIcon=Z_,o.ChatBubbleIcon=x_,o.ChatBubbleOutlineIcon=R_,o.ChatIcon=X_,o.CheckBoxIcon=ey,o.CheckBoxOutlineBlankIcon=ny,o.CheckCircleIcon=oy,o.CheckCircleOutlineIcon=ry,o.CheckIcon=lc,o.Checkbox=Gr,o.ChecklistIcon=ty,o.ChecklistRtlIcon=cy,o.CheckroomIcon=iy,o.ChevronLeftIcon=sc,o.ChevronRightIcon=ay,o.ChildCareIcon=ly,o.ChildFriendlyIcon=sy,o.Chip=Fo,o.ChromeReaderModeIcon=dy,o.ChurchIcon=uy,o.CircleIcon=gr,o.CircleNotificationsIcon=fy,o.CircularProgress=Gn,o.CircularProgressCenter=fo,o.ClassIcon=Ay,o.CleanHandsIcon=_y,o.CleaningServicesIcon=yy,o.ClearAllIcon=hy,o.ClearIcon=cn,o.CloseFullscreenIcon=gy,o.CloseIcon=Ir,o.ClosedCaptionDisabledIcon=by,o.ClosedCaptionIcon=Iy,o.ClosedCaptionOffIcon=py,o.CloudCircleIcon=ky,o.CloudDoneIcon=my,o.CloudDownloadIcon=vy,o.CloudIcon=wy,o.CloudOffIcon=Ky,o.CloudQueueIcon=Cy,o.CloudSyncIcon=Sy,o.CloudUploadIcon=By,o.Co2Icon=Ey,o.CoPresentIcon=Fy,o.CodeIcon=Py,o.CodeOffIcon=Dy,o.CoffeeIcon=Ny,o.CoffeeMakerIcon=Ty,o.Collapse=To,o.CollectionsBookmarkIcon=Oy,o.CollectionsIcon=My,o.ColorLensIcon=Ly,o.ColorizeIcon=Qy,o.CommentBankIcon=Wy,o.CommentIcon=Vy,o.CommentsDisabledIcon=Gy,o.CommitIcon=zy,o.CommuteIcon=Hy,o.CompareArrowsIcon=Yy,o.CompareIcon=Uy,o.CompassCalibrationIcon=$y,o.CompostIcon=jy,o.CompressIcon=qy,o.ComputerIcon=Jy,o.ConfirmationNumberIcon=Zy,o.ConnectWithoutContactIcon=Xy,o.ConnectedTvIcon=xy,o.ConnectingAirportsIcon=Ry,o.ConstructionIcon=eh,o.ContactEmergencyIcon=nh,o.ContactMailIcon=oh,o.ContactPageIcon=rh,o.ContactPhoneIcon=th,o.ContactSupportIcon=ch,o.ContactlessIcon=ih,o.ContactsIcon=ah,o.Container=Ot,o.ContentCopyIcon=no,o.ContentCutIcon=lh,o.ContentPasteGoIcon=dh,o.ContentPasteIcon=sh,o.ContentPasteOffIcon=uh,o.ContentPasteSearchIcon=fh,o.ContrastIcon=Ah,o.ControlCameraIcon=_h,o.ControlPointDuplicateIcon=hh,o.ControlPointIcon=yh,o.CookieIcon=gh,o.CopyAllIcon=Ih,o.CopyrightIcon=bh,o.CoronavirusIcon=ph,o.CorporateFareIcon=wh,o.CottageIcon=kh,o.CountertopsIcon=mh,o.CreateIcon=vh,o.CreateNewFolderIcon=Kh,o.CreditCardIcon=Ch,o.CreditCardOffIcon=Sh,o.CreditScoreIcon=Bh,o.CribIcon=Eh,o.CrisisAlertIcon=Fh,o.Crop169Icon=Dh,o.Crop32Icon=Nh,o.Crop54Icon=Th,o.Crop75Icon=Mh,o.CropDinIcon=Oh,o.CropFreeIcon=Lh,o.CropIcon=Ph,o.CropLandscapeIcon=Qh,o.CropOriginalIcon=Vh,o.CropPortraitIcon=Wh,o.CropRotateIcon=Gh,o.CropSquareIcon=zh,o.CrueltyFreeIcon=Hh,o.CssIcon=Uh,o.CurrencyBitcoinIcon=Yh,o.CurrencyExchangeIcon=$h,o.CurrencyFrancIcon=jh,o.CurrencyLiraIcon=qh,o.CurrencyPoundIcon=Jh,o.CurrencyRubleIcon=Zh,o.CurrencyRupeeIcon=Xh,o.CurrencyYenIcon=xh,o.CurrencyYuanIcon=Rh,o.CurtainsClosedIcon=ng,o.CurtainsIcon=eg,o.CycloneIcon=og,o.DEFAULT_FIELD_CONFIGS=lt,o.DangerousIcon=rg,o.DarkModeIcon=dc,o.DashboardCustomizeIcon=cg,o.DashboardIcon=tg,o.DataArrayIcon=ig,o.DataExplorationIcon=ag,o.DataObjectIcon=lg,o.DataSaverOffIcon=sg,o.DataSaverOnIcon=dg,o.DataThresholdingIcon=ug,o.DataUsageIcon=fg,o.DatasetIcon=Ag,o.DatasetLinkedIcon=_g,o.DatePreview=ri,o.DateRangeIcon=yg,o.DateTimeField=Vn,o.DateTimeFieldBinding=gi,o.DeblurIcon=hg,o.DebouncedTextField=nl,o.DeckIcon=gg,o.DefaultHomePage=ia,o.DehazeIcon=Ig,o.DeleteConfirmationDialog=eH,o.DeleteForeverIcon=bg,o.DeleteIcon=Bo,o.DeleteOutlineIcon=pg,o.DeleteSweepIcon=wg,o.DeliveryDiningIcon=kg,o.DensityLargeIcon=mg,o.DensityMediumIcon=vg,o.DensitySmallIcon=Kg,o.DepartureBoardIcon=Cg,o.DescriptionIcon=uc,o.DeselectIcon=Sg,o.DesignServicesIcon=Bg,o.DeskIcon=Eg,o.DesktopAccessDisabledIcon=Fg,o.DesktopMacIcon=Pg,o.DesktopWindowsIcon=Dg,o.DetailsIcon=Ng,o.DeveloperBoardIcon=Tg,o.DeveloperBoardOffIcon=Mg,o.DeveloperModeIcon=Og,o.DeviceHubIcon=Lg,o.DeviceThermostatIcon=Qg,o.DeviceUnknownIcon=Vg,o.DevicesFoldIcon=Gg,o.DevicesIcon=Wg,o.DevicesOtherIcon=zg,o.DialerSipIcon=Hg,o.Dialog=Jo,o.DialogActions=kn,o.DialogContent=Zo,o.DialpadIcon=Ug,o.DiamondIcon=Yg,o.DifferenceIcon=$g,o.DiningIcon=jg,o.DinnerDiningIcon=qg,o.DirectionsBikeIcon=Zg,o.DirectionsBoatFilledIcon=xg,o.DirectionsBoatIcon=Xg,o.DirectionsBusFilledIcon=eI,o.DirectionsBusIcon=Rg,o.DirectionsCarFilledIcon=oI,o.DirectionsCarIcon=nI,o.DirectionsIcon=Jg,o.DirectionsOffIcon=rI,o.DirectionsRailwayFilledIcon=cI,o.DirectionsRailwayIcon=tI,o.DirectionsRunIcon=iI,o.DirectionsSubwayFilledIcon=lI,o.DirectionsSubwayIcon=aI,o.DirectionsTransitFilledIcon=dI,o.DirectionsTransitIcon=sI,o.DirectionsWalkIcon=uI,o.DirtyLensIcon=fI,o.DisabledByDefaultIcon=AI,o.DisabledVisibleIcon=_I,o.DiscFullIcon=yI,o.DiscountIcon=hI,o.DisplaySettingsIcon=gI,o.Diversity1Icon=II,o.Diversity2Icon=bI,o.Diversity3Icon=pI,o.DnsIcon=wI,o.DoDisturbAltIcon=mI,o.DoDisturbIcon=kI,o.DoDisturbOffIcon=vI,o.DoDisturbOnIcon=KI,o.DoNotDisturbAltIcon=SI,o.DoNotDisturbIcon=CI,o.DoNotDisturbOffIcon=BI,o.DoNotDisturbOnIcon=EI,o.DoNotDisturbOnTotalSilenceIcon=FI,o.DoNotStepIcon=PI,o.DoNotTouchIcon=DI,o.DockIcon=NI,o.DocumentScannerIcon=TI,o.DomainAddIcon=OI,o.DomainDisabledIcon=LI,o.DomainIcon=MI,o.DomainVerificationIcon=QI,o.DoneAllIcon=WI,o.DoneIcon=VI,o.DoneOutlineIcon=GI,o.DonutLargeIcon=zI,o.DonutSmallIcon=HI,o.DoorBackIcon=UI,o.DoorFrontIcon=YI,o.DoorSlidingIcon=$I,o.DoorbellIcon=jI,o.DoubleArrowIcon=qI,o.DownhillSkiingIcon=JI,o.DownloadDoneIcon=XI,o.DownloadForOfflineIcon=xI,o.DownloadIcon=ZI,o.DownloadingIcon=RI,o.DraftsIcon=eb,o.DragHandleIcon=nb,o.DragIndicatorIcon=ob,o.DrawIcon=rb,o.Drawer=ya,o.DrawerNavigationItem=Tt,o.DriveEtaIcon=tb,o.DriveFileMoveIcon=cb,o.DriveFileMoveRtlIcon=ib,o.DriveFileRenameOutlineIcon=ab,o.DriveFolderUploadIcon=fc,o.DryCleaningIcon=sb,o.DryIcon=lb,o.DuoIcon=db,o.DvrIcon=ub,o.DynamicFeedIcon=fb,o.DynamicFormIcon=Ab,o.EMobiledataIcon=_b,o.EarbudsBatteryIcon=hb,o.EarbudsIcon=yb,o.EastIcon=gb,o.EdgesensorHighIcon=Ib,o.EdgesensorLowIcon=bb,o.EditAttributesIcon=pb,o.EditCalendarIcon=wb,o.EditIcon=Ac,o.EditLocationAltIcon=mb,o.EditLocationIcon=kb,o.EditNoteIcon=vb,o.EditNotificationsIcon=Kb,o.EditOffIcon=Cb,o.EditRoadIcon=Sb,o.EggAltIcon=Eb,o.EggIcon=Bb,o.EjectIcon=Fb,o.ElderlyIcon=Pb,o.ElderlyWomanIcon=Db,o.ElectricBikeIcon=Nb,o.ElectricBoltIcon=Tb,o.ElectricCarIcon=Mb,o.ElectricMeterIcon=Ob,o.ElectricMopedIcon=Lb,o.ElectricRickshawIcon=Qb,o.ElectricScooterIcon=Vb,o.ElectricalServicesIcon=Wb,o.ElevatorIcon=Gb,o.EmailIcon=_c,o.EmergencyIcon=zb,o.EmergencyRecordingIcon=Hb,o.EmergencyShareIcon=Ub,o.EmojiEmotionsIcon=Yb,o.EmojiEventsIcon=$b,o.EmojiFoodBeverageIcon=jb,o.EmojiNatureIcon=qb,o.EmojiObjectsIcon=Jb,o.EmojiPeopleIcon=Zb,o.EmojiSymbolsIcon=Xb,o.EmojiTransportationIcon=xb,o.EmptyValue=Fn,o.EnergySavingsLeafIcon=Rb,o.EngineeringIcon=ep,o.EnhancedEncryptionIcon=np,o.EntityCollectionTable=Kt,o.EntityCollectionView=St,o.EntityForm=Si,o.EntityPreview=yt,o.EntityReference=je,o.EnumValuesChip=Ee,o.EqualizerIcon=op,o.ErrorBoundary=ie,o.ErrorIcon=br,o.ErrorOutlineIcon=yc,o.ErrorView=we,o.EscalatorIcon=rp,o.EscalatorWarningIcon=tp,o.EuroIcon=cp,o.EuroSymbolIcon=ip,o.EvStationIcon=ap,o.EventAvailableIcon=sp,o.EventBusyIcon=dp,o.EventIcon=lp,o.EventNoteIcon=up,o.EventRepeatIcon=fp,o.EventSeatIcon=Ap,o.ExitToAppIcon=_p,o.ExpandCircleDownIcon=hp,o.ExpandIcon=yp,o.ExpandLessIcon=gp,o.ExpandMoreIcon=oo,o.ExpandablePanel=dn,o.ExplicitIcon=Ip,o.ExploreIcon=bp,o.ExploreOffIcon=pp,o.ExposureIcon=wp,o.ExposureNeg1Icon=kp,o.ExposureNeg2Icon=mp,o.ExposurePlus1Icon=vp,o.ExposurePlus2Icon=Kp,o.ExposureZeroIcon=Cp,o.ExtensionIcon=Sp,o.ExtensionOffIcon=Bp,o.Face2Icon=Fp,o.Face3Icon=Pp,o.Face4Icon=Dp,o.Face5Icon=Np,o.Face6Icon=Tp,o.FaceIcon=Ep,o.FaceRetouchingNaturalIcon=Mp,o.FaceRetouchingOffIcon=Op,o.FactCheckIcon=Lp,o.FactoryIcon=Qp,o.FamilyRestroomIcon=Vp,o.FastForwardIcon=Wp,o.FastRewindIcon=Gp,o.FastfoodIcon=zp,o.FavoriteBorderIcon=Up,o.FavoriteIcon=Hp,o.FaxIcon=Yp,o.FeaturedPlayListIcon=$p,o.FeaturedVideoIcon=jp,o.FeedIcon=qp,o.FeedbackIcon=Jp,o.FemaleIcon=Zp,o.FenceIcon=Xp,o.FestivalIcon=xp,o.FiberDvrIcon=Rp,o.FiberManualRecordIcon=ew,o.FiberNewIcon=nw,o.FiberPinIcon=ow,o.FiberSmartRecordIcon=rw,o.FieldConfigBadge=x3,o.FieldHelperText=Se,o.FileCopyIcon=hc,o.FileDownloadDoneIcon=cw,o.FileDownloadIcon=tw,o.FileDownloadOffIcon=iw,o.FileOpenIcon=aw,o.FilePresentIcon=lw,o.FileUpload=jH,o.FileUploadIcon=sw,o.Filter1Icon=uw,o.Filter2Icon=fw,o.Filter3Icon=Aw,o.Filter4Icon=_w,o.Filter5Icon=yw,o.Filter6Icon=hw,o.Filter7Icon=gw,o.Filter8Icon=Iw,o.Filter9Icon=bw,o.Filter9PlusIcon=pw,o.FilterAltIcon=ww,o.FilterAltOffIcon=kw,o.FilterBAndWIcon=mw,o.FilterCenterFocusIcon=vw,o.FilterDramaIcon=Kw,o.FilterFramesIcon=Cw,o.FilterHdrIcon=Sw,o.FilterIcon=dw,o.FilterListIcon=Bw,o.FilterListOffIcon=gc,o.FilterNoneIcon=Ew,o.FilterTiltShiftIcon=Fw,o.FilterVintageIcon=Pw,o.FindInPageIcon=Dw,o.FindReplaceIcon=Nw,o.FingerprintIcon=Tw,o.FireCMS=bH,o.FireCMSAppBar=sa,o.FireCMSContextInstance=Sr,o.FireCMSLogo=la,o.FireExtinguisherIcon=Mw,o.FireHydrantAltIcon=Ow,o.FireTruckIcon=Lw,o.FireplaceIcon=Qw,o.FirstPageIcon=Vw,o.FitScreenIcon=Ww,o.FitbitIcon=Gw,o.FitnessCenterIcon=zw,o.FlagCircleIcon=Hw,o.FlagIcon=Ic,o.FlakyIcon=Uw,o.FlareIcon=Yw,o.FlashAutoIcon=$w,o.FlashOffIcon=jw,o.FlashOnIcon=qw,o.FlashlightOffIcon=Jw,o.FlashlightOnIcon=Zw,o.FlatwareIcon=Xw,o.FlightClassIcon=Rw,o.FlightIcon=xw,o.FlightLandIcon=ek,o.FlightTakeoffIcon=nk,o.FlipCameraAndroidIcon=rk,o.FlipCameraIosIcon=tk,o.FlipIcon=ok,o.FlipToBackIcon=ck,o.FlipToFrontIcon=ik,o.FloodIcon=ak,o.FluorescentIcon=lk,o.FlutterDashIcon=sk,o.FmdBadIcon=dk,o.FmdGoodIcon=uk,o.FolderCopyIcon=Ak,o.FolderDeleteIcon=_k,o.FolderIcon=fk,o.FolderOffIcon=yk,o.FolderOpenIcon=hk,o.FolderSharedIcon=gk,o.FolderSpecialIcon=Ik,o.FolderZipIcon=bk,o.FollowTheSignsIcon=pk,o.FontDownloadIcon=wk,o.FontDownloadOffIcon=kk,o.FoodBankIcon=mk,o.ForestIcon=vk,o.ForkLeftIcon=Kk,o.ForkRightIcon=Ck,o.FormatAlignCenterIcon=Sk,o.FormatAlignJustifyIcon=Bk,o.FormatAlignLeftIcon=Ek,o.FormatAlignRightIcon=Fk,o.FormatBoldIcon=Pk,o.FormatClearIcon=Dk,o.FormatColorFillIcon=Nk,o.FormatColorResetIcon=Tk,o.FormatColorTextIcon=Mk,o.FormatIndentDecreaseIcon=Ok,o.FormatIndentIncreaseIcon=Lk,o.FormatItalicIcon=Qk,o.FormatLineSpacingIcon=Vk,o.FormatListBulletedIcon=Wk,o.FormatListNumberedIcon=pr,o.FormatListNumberedRtlIcon=Gk,o.FormatOverlineIcon=zk,o.FormatPaintIcon=Hk,o.FormatQuoteIcon=bc,o.FormatShapesIcon=Uk,o.FormatSizeIcon=Yk,o.FormatStrikethroughIcon=$k,o.FormatTextdirectionLToRIcon=jk,o.FormatTextdirectionRToLIcon=qk,o.FormatUnderlinedIcon=Jk,o.FormikArrayContainer=Co,o.FortIcon=Zk,o.ForumIcon=Xk,o.Forward10Icon=Rk,o.Forward30Icon=em,o.Forward5Icon=nm,o.ForwardIcon=xk,o.ForwardToInboxIcon=om,o.FoundationIcon=rm,o.FreeBreakfastIcon=tm,o.FreeCancellationIcon=cm,o.FrontHandIcon=im,o.FullscreenExitIcon=lm,o.FullscreenIcon=am,o.FunctionsIcon=pc,o.GMobiledataIcon=sm,o.GTranslateIcon=dm,o.GamepadIcon=um,o.GamesIcon=fm,o.GarageIcon=Am,o.GasMeterIcon=_m,o.GavelIcon=ym,o.GeneratingTokensIcon=hm,o.GeoPoint=tr,o.GestureIcon=gm,o.GetAppIcon=Im,o.GifBoxIcon=pm,o.GifIcon=bm,o.GirlIcon=wm,o.GitHubIcon=tl,o.GiteIcon=km,o.GolfCourseIcon=mm,o.GppBadIcon=vm,o.GppGoodIcon=Km,o.GppMaybeIcon=Cm,o.GpsFixedIcon=Sm,o.GpsNotFixedIcon=Bm,o.GpsOffIcon=Em,o.GradeIcon=Fm,o.GradientIcon=Pm,o.GradingIcon=Dm,o.GrainIcon=Nm,o.GraphicEqIcon=Tm,o.GrassIcon=Mm,o.Grid3x3Icon=Om,o.Grid4x4Icon=Lm,o.GridGoldenratioIcon=Qm,o.GridOffIcon=Vm,o.GridOnIcon=Wm,o.GridViewIcon=Gm,o.GroupAddIcon=Hm,o.GroupIcon=zm,o.GroupOffIcon=Um,o.GroupRemoveIcon=Ym,o.GroupWorkIcon=$m,o.Groups2Icon=qm,o.Groups3Icon=Jm,o.GroupsIcon=jm,o.HMobiledataIcon=Zm,o.HPlusMobiledataIcon=Xm,o.HailIcon=xm,o.HandshakeIcon=Rm,o.HandymanIcon=ev,o.HardwareIcon=nv,o.HdIcon=ov,o.HdrAutoIcon=rv,o.HdrAutoSelectIcon=tv,o.HdrEnhancedSelectIcon=cv,o.HdrOffIcon=iv,o.HdrOffSelectIcon=av,o.HdrOnIcon=lv,o.HdrOnSelectIcon=sv,o.HdrPlusIcon=dv,o.HdrStrongIcon=uv,o.HdrWeakIcon=fv,o.HeadphonesBatteryIcon=_v,o.HeadphonesIcon=Av,o.HeadsetIcon=yv,o.HeadsetMicIcon=hv,o.HeadsetOffIcon=gv,o.HealingIcon=Iv,o.HealthAndSafetyIcon=bv,o.HearingDisabledIcon=wv,o.HearingIcon=pv,o.HeartBrokenIcon=kv,o.HeatPumpIcon=mv,o.HeightIcon=vv,o.HelpCenterIcon=Cv,o.HelpIcon=Kv,o.HelpOutlineIcon=Sv,o.HevcIcon=Bv,o.HexagonIcon=Ev,o.HideImageIcon=Fv,o.HideSourceIcon=Pv,o.HighQualityIcon=Dv,o.HighlightAltIcon=Tv,o.HighlightIcon=Nv,o.HighlightOffIcon=Mv,o.HikingIcon=Ov,o.HistoryEduIcon=Qv,o.HistoryIcon=Lv,o.HistoryToggleOffIcon=Vv,o.HiveIcon=Wv,o.HlsIcon=Gv,o.HlsOffIcon=zv,o.HolidayVillageIcon=Hv,o.HomeIcon=Uv,o.HomeMaxIcon=Yv,o.HomeMiniIcon=$v,o.HomeRepairServiceIcon=jv,o.HomeWorkIcon=qv,o.HorizontalDistributeIcon=Jv,o.HorizontalRuleIcon=Zv,o.HorizontalSplitIcon=Xv,o.HotTubIcon=xv,o.HotelClassIcon=e0,o.HotelIcon=Rv,o.HourglassBottomIcon=n0,o.HourglassDisabledIcon=o0,o.HourglassEmptyIcon=r0,o.HourglassFullIcon=t0,o.HourglassTopIcon=c0,o.HouseIcon=i0,o.HouseSidingIcon=a0,o.HouseboatIcon=l0,o.HowToRegIcon=s0,o.HowToVoteIcon=d0,o.HtmlIcon=u0,o.HttpIcon=wc,o.HttpsIcon=f0,o.HubIcon=A0,o.HvacIcon=_0,o.IceSkatingIcon=y0,o.IcecreamIcon=h0,o.Icon=r,o.IconButton=R,o.ImageAspectRatioIcon=I0,o.ImageIcon=g0,o.ImageNotSupportedIcon=b0,o.ImagePreview=Yc,o.ImageSearchIcon=p0,o.ImagesearchRollerIcon=w0,o.ImportContactsIcon=k0,o.ImportExportIcon=m0,o.ImportantDevicesIcon=v0,o.InboxIcon=K0,o.IncompleteCircleIcon=C0,o.IndeterminateCheckBoxIcon=S0,o.InfoIcon=kc,o.InfoLabel=oH,o.InputIcon=B0,o.InputLabel=mt,o.InsertChartIcon=E0,o.InsertChartOutlinedIcon=F0,o.InsertCommentIcon=P0,o.InsertDriveFileIcon=D0,o.InsertEmoticonIcon=N0,o.InsertInvitationIcon=T0,o.InsertLinkIcon=M0,o.InsertPageBreakIcon=O0,o.InsertPhotoIcon=L0,o.InsightsIcon=Q0,o.InstallDesktopIcon=V0,o.InstallMobileIcon=W0,o.IntegrationInstructionsIcon=G0,o.InterestsIcon=z0,o.InterpreterModeIcon=H0,o.Inventory2Icon=Y0,o.InventoryIcon=U0,o.InvertColorsIcon=$0,o.InvertColorsOffIcon=j0,o.IosShareIcon=q0,o.IronIcon=J0,o.IsoIcon=Z0,o.JavascriptIcon=X0,o.JoinFullIcon=x0,o.JoinInnerIcon=R0,o.JoinLeftIcon=eK,o.JoinRightIcon=nK,o.KayakingIcon=oK,o.KebabDiningIcon=rK,o.KeyIcon=tK,o.KeyOffIcon=cK,o.KeyValueFieldBinding=pi,o.KeyValuePreview=Wr,o.KeyboardAltIcon=aK,o.KeyboardArrowDownIcon=lK,o.KeyboardArrowLeftIcon=sK,o.KeyboardArrowRightIcon=dK,o.KeyboardArrowUpIcon=uK,o.KeyboardBackspaceIcon=fK,o.KeyboardCapslockIcon=AK,o.KeyboardCommandKeyIcon=_K,o.KeyboardControlKeyIcon=yK,o.KeyboardDoubleArrowDownIcon=hK,o.KeyboardDoubleArrowLeftIcon=gK,o.KeyboardDoubleArrowRightIcon=IK,o.KeyboardDoubleArrowUpIcon=bK,o.KeyboardHideIcon=pK,o.KeyboardIcon=iK,o.KeyboardOptionKeyIcon=wK,o.KeyboardReturnIcon=kK,o.KeyboardTabIcon=Eo,o.KeyboardVoiceIcon=mK,o.KingBedIcon=vK,o.KitchenIcon=KK,o.KitesurfingIcon=CK,o.LabelIcon=SK,o.LabelImportantIcon=BK,o.LabelOffIcon=EK,o.LabelWithIcon=Ce,o.LanIcon=FK,o.LandscapeIcon=PK,o.LandslideIcon=DK,o.LanguageIcon=NK,o.LaptopChromebookIcon=MK,o.LaptopIcon=TK,o.LaptopMacIcon=OK,o.LaptopWindowsIcon=LK,o.LastPageIcon=QK,o.LaunchIcon=VK,o.LayersClearIcon=GK,o.LayersIcon=WK,o.LeaderboardIcon=zK,o.LeakAddIcon=HK,o.LeakRemoveIcon=UK,o.LegendToggleIcon=YK,o.LensBlurIcon=jK,o.LensIcon=$K,o.LibraryAddCheckIcon=JK,o.LibraryAddIcon=qK,o.LibraryBooksIcon=ZK,o.LibraryMusicIcon=XK,o.LightIcon=xK,o.LightModeIcon=mc,o.LightbulbCircleIcon=eC,o.LightbulbIcon=RK,o.LineAxisIcon=nC,o.LineStyleIcon=oC,o.LineWeightIcon=rC,o.LinearScaleIcon=tC,o.LinkIcon=vc,o.LinkOffIcon=cC,o.LinkedCameraIcon=iC,o.LiquorIcon=aC,o.ListAltIcon=Cc,o.ListIcon=Kc,o.LiveHelpIcon=lC,o.LiveTvIcon=sC,o.LivingIcon=dC,o.LoadingButton=Ia,o.LocalActivityIcon=uC,o.LocalAirportIcon=fC,o.LocalAtmIcon=AC,o.LocalBarIcon=_C,o.LocalCafeIcon=yC,o.LocalCarWashIcon=hC,o.LocalConvenienceStoreIcon=gC,o.LocalDiningIcon=IC,o.LocalDrinkIcon=bC,o.LocalFireDepartmentIcon=pC,o.LocalFloristIcon=wC,o.LocalGasStationIcon=kC,o.LocalGroceryStoreIcon=mC,o.LocalHospitalIcon=vC,o.LocalHotelIcon=KC,o.LocalLaundryServiceIcon=CC,o.LocalLibraryIcon=SC,o.LocalMallIcon=BC,o.LocalMoviesIcon=EC,o.LocalOfferIcon=FC,o.LocalParkingIcon=PC,o.LocalPharmacyIcon=DC,o.LocalPhoneIcon=NC,o.LocalPizzaIcon=TC,o.LocalPlayIcon=MC,o.LocalPoliceIcon=OC,o.LocalPostOfficeIcon=LC,o.LocalPrintshopIcon=QC,o.LocalSeeIcon=VC,o.LocalShippingIcon=WC,o.LocalTaxiIcon=GC,o.LocationCityIcon=zC,o.LocationDisabledIcon=HC,o.LocationOffIcon=UC,o.LocationOnIcon=YC,o.LocationSearchingIcon=$C,o.LockClockIcon=qC,o.LockIcon=jC,o.LockOpenIcon=JC,o.LockPersonIcon=ZC,o.LockResetIcon=XC,o.LoginIcon=xC,o.LogoDevIcon=RC,o.LogoutIcon=Sc,o.Looks3Icon=nS,o.Looks4Icon=oS,o.Looks5Icon=rS,o.Looks6Icon=tS,o.LooksIcon=eS,o.LooksOneIcon=cS,o.LooksTwoIcon=iS,o.LoopIcon=aS,o.LoupeIcon=lS,o.LowPriorityIcon=sS,o.LoyaltyIcon=dS,o.LteMobiledataIcon=uS,o.LtePlusMobiledataIcon=fS,o.LuggageIcon=AS,o.LunchDiningIcon=_S,o.LyricsIcon=yS,o.MacroOffIcon=hS,o.MailIcon=gS,o.MailLockIcon=IS,o.MailOutlineIcon=bS,o.MaleIcon=pS,o.Man2Icon=kS,o.Man3Icon=mS,o.Man4Icon=vS,o.ManIcon=wS,o.ManageAccountsIcon=KS,o.ManageHistoryIcon=CS,o.ManageSearchIcon=SS,o.MapFieldBinding=bi,o.MapIcon=BS,o.MapPropertyPreview=ni,o.MapsHomeWorkIcon=ES,o.MapsUgcIcon=FS,o.MarginIcon=PS,o.MarkAsUnreadIcon=DS,o.MarkChatReadIcon=NS,o.MarkChatUnreadIcon=TS,o.MarkEmailReadIcon=MS,o.MarkEmailUnreadIcon=OS,o.MarkUnreadChatAltIcon=LS,o.Markdown=lo,o.MarkdownFieldBinding=mi,o.MarkunreadIcon=QS,o.MarkunreadMailboxIcon=VS,o.MasksIcon=WS,o.MaximizeIcon=GS,o.MediaBluetoothOffIcon=zS,o.MediaBluetoothOnIcon=HS,o.MediationIcon=US,o.MedicalInformationIcon=YS,o.MedicalServicesIcon=$S,o.MedicationIcon=jS,o.MedicationLiquidIcon=qS,o.MeetingRoomIcon=JS,o.MemoryIcon=ZS,o.Menu=Qn,o.MenuBookIcon=XS,o.MenuIcon=wr,o.MenuItem=me,o.MenuOpenIcon=xS,o.MergeIcon=RS,o.MergeTypeIcon=eB,o.MessageIcon=nB,o.MicExternalOffIcon=rB,o.MicExternalOnIcon=tB,o.MicIcon=oB,o.MicNoneIcon=cB,o.MicOffIcon=iB,o.MicrowaveIcon=aB,o.MilitaryTechIcon=lB,o.MinimizeIcon=sB,o.MinorCrashIcon=dB,o.MiscellaneousServicesIcon=uB,o.MissedVideoCallIcon=fB,o.MmsIcon=AB,o.MobileFriendlyIcon=_B,o.MobileOffIcon=yB,o.MobileScreenShareIcon=hB,o.MobiledataOffIcon=gB,o.ModeCommentIcon=bB,o.ModeControllerProvider=Ha,o.ModeEditIcon=pB,o.ModeEditOutlineIcon=wB,o.ModeFanOffIcon=kB,o.ModeIcon=IB,o.ModeNightIcon=mB,o.ModeOfTravelIcon=vB,o.ModeStandbyIcon=KB,o.ModelTrainingIcon=CB,o.MonetizationOnIcon=SB,o.MoneyIcon=BB,o.MoneyOffCsredIcon=FB,o.MoneyOffIcon=EB,o.MonitorHeartIcon=DB,o.MonitorIcon=PB,o.MonitorWeightIcon=NB,o.MonochromePhotosIcon=TB,o.MoodBadIcon=OB,o.MoodIcon=MB,o.MopedIcon=LB,o.MoreHorizIcon=VB,o.MoreIcon=QB,o.MoreTimeIcon=WB,o.MoreVertIcon=kr,o.MosqueIcon=GB,o.MotionPhotosAutoIcon=zB,o.MotionPhotosOffIcon=HB,o.MotionPhotosOnIcon=UB,o.MotionPhotosPauseIcon=YB,o.MotionPhotosPausedIcon=$B,o.MouseIcon=jB,o.MoveDownIcon=qB,o.MoveToInboxIcon=JB,o.MoveUpIcon=ZB,o.MovieCreationIcon=xB,o.MovieFilterIcon=RB,o.MovieIcon=XB,o.MovingIcon=eE,o.MpIcon=nE,o.MultiSelect=Ur,o.MultiSelectBinding=$r,o.MultiSelectContext=Hr,o.MultiSelectItem=Yr,o.MultilineChartIcon=oE,o.MultipleStopIcon=rE,o.MuseumIcon=tE,o.MusicNoteIcon=cE,o.MusicOffIcon=iE,o.MusicVideoIcon=aE,o.MyLocationIcon=lE,o.NatIcon=sE,o.NatureIcon=dE,o.NaturePeopleIcon=uE,o.NavigateBeforeIcon=fE,o.NavigateNextIcon=AE,o.NavigationCollectionCard=ca,o.NavigationGroup=Et,o.NavigationIcon=_E,o.NavigationRoutes=KH,o.NearMeDisabledIcon=hE,o.NearMeIcon=yE,o.NearbyErrorIcon=gE,o.NearbyOffIcon=IE,o.NestCamWiredStandIcon=bE,o.NetworkCellIcon=pE,o.NetworkCheckIcon=wE,o.NetworkLockedIcon=kE,o.NetworkPingIcon=mE,o.NetworkWifi1BarIcon=KE,o.NetworkWifi2BarIcon=CE,o.NetworkWifi3BarIcon=SE,o.NetworkWifiIcon=vE,o.NewLabelIcon=BE,o.NewReleasesIcon=EE,o.NewspaperIcon=FE,o.NextPlanIcon=PE,o.NextWeekIcon=DE,o.NfcIcon=NE,o.NightShelterIcon=TE,o.NightlifeIcon=ME,o.NightlightIcon=OE,o.NightlightRoundIcon=LE,o.NightsStayIcon=QE,o.NoAccountsIcon=VE,o.NoAdultContentIcon=WE,o.NoBackpackIcon=GE,o.NoCellIcon=zE,o.NoCrashIcon=HE,o.NoDrinksIcon=UE,o.NoEncryptionGmailerrorredIcon=$E,o.NoEncryptionIcon=YE,o.NoFlashIcon=jE,o.NoFoodIcon=qE,o.NoLuggageIcon=JE,o.NoMealsIcon=ZE,o.NoMeetingRoomIcon=XE,o.NoPhotographyIcon=xE,o.NoSimIcon=RE,o.NoStrollerIcon=eF,o.NoTransferIcon=nF,o.NoiseAwareIcon=oF,o.NoiseControlOffIcon=rF,o.NordicWalkingIcon=tF,o.NorthEastIcon=iF,o.NorthIcon=cF,o.NorthWestIcon=aF,o.NotAccessibleIcon=lF,o.NotFoundPage=aa,o.NotInterestedIcon=sF,o.NotListedLocationIcon=dF,o.NotStartedIcon=uF,o.NoteAddIcon=AF,o.NoteAltIcon=_F,o.NoteIcon=fF,o.NotesIcon=yF,o.NotificationAddIcon=hF,o.NotificationImportantIcon=gF,o.NotificationsActiveIcon=bF,o.NotificationsIcon=IF,o.NotificationsNoneIcon=pF,o.NotificationsOffIcon=wF,o.NotificationsPausedIcon=kF,o.NumberPropertyPreview=ci,o.NumbersIcon=Bc,o.OfflineBoltIcon=mF,o.OfflinePinIcon=vF,o.OfflineShareIcon=KF,o.OilBarrelIcon=CF,o.OnDeviceTrainingIcon=SF,o.OndemandVideoIcon=BF,o.OnlinePredictionIcon=EF,o.OpacityIcon=FF,o.OpenInBrowserIcon=PF,o.OpenInFullIcon=DF,o.OpenInNewIcon=ro,o.OpenInNewOffIcon=NF,o.OpenWithIcon=TF,o.OtherHousesIcon=MF,o.OutboundIcon=OF,o.OutboxIcon=LF,o.OutdoorGrillIcon=QF,o.OutletIcon=VF,o.OutlinedFlagIcon=WF,o.OutputIcon=GF,o.PaddingIcon=zF,o.PagesIcon=HF,o.PageviewIcon=UF,o.PaidIcon=YF,o.PaletteIcon=$F,o.PanToolAltIcon=qF,o.PanToolIcon=jF,o.PanoramaFishEyeIcon=ZF,o.PanoramaHorizontalIcon=XF,o.PanoramaHorizontalSelectIcon=xF,o.PanoramaIcon=JF,o.PanoramaPhotosphereIcon=RF,o.PanoramaPhotosphereSelectIcon=eP,o.PanoramaVerticalIcon=nP,o.PanoramaVerticalSelectIcon=oP,o.PanoramaWideAngleIcon=rP,o.PanoramaWideAngleSelectIcon=tP,o.Paper=qH,o.ParaglidingIcon=cP,o.ParkIcon=iP,o.PartyModeIcon=aP,o.PasswordIcon=lP,o.PatternIcon=sP,o.PauseCircleFilledIcon=fP,o.PauseCircleIcon=uP,o.PauseCircleOutlineIcon=AP,o.PauseIcon=dP,o.PausePresentationIcon=_P,o.PaymentIcon=yP,o.PaymentsIcon=hP,o.PedalBikeIcon=gP,o.PendingActionsIcon=bP,o.PendingIcon=IP,o.PentagonIcon=pP,o.PeopleAltIcon=kP,o.PeopleIcon=wP,o.PeopleOutlineIcon=mP,o.PercentIcon=vP,o.PermCameraMicIcon=KP,o.PermContactCalendarIcon=CP,o.PermDataSettingIcon=SP,o.PermDeviceInformationIcon=BP,o.PermIdentityIcon=EP,o.PermMediaIcon=FP,o.PermPhoneMsgIcon=PP,o.PermScanWifiIcon=DP,o.Person2Icon=TP,o.Person3Icon=MP,o.Person4Icon=OP,o.PersonAddAlt1Icon=VP,o.PersonAddAltIcon=QP,o.PersonAddDisabledIcon=WP,o.PersonAddIcon=LP,o.PersonIcon=NP,o.PersonOffIcon=GP,o.PersonOutlineIcon=zP,o.PersonPinCircleIcon=UP,o.PersonPinIcon=HP,o.PersonRemoveAlt1Icon=$P,o.PersonRemoveIcon=YP,o.PersonSearchIcon=jP,o.PersonalInjuryIcon=qP,o.PersonalVideoIcon=JP,o.PestControlIcon=ZP,o.PestControlRodentIcon=XP,o.PetsIcon=xP,o.PhishingIcon=RP,o.PhoneAndroidIcon=n1,o.PhoneBluetoothSpeakerIcon=o1,o.PhoneCallbackIcon=r1,o.PhoneDisabledIcon=t1,o.PhoneEnabledIcon=c1,o.PhoneForwardedIcon=i1,o.PhoneIcon=e1,o.PhoneIphoneIcon=a1,o.PhoneLockedIcon=l1,o.PhoneMissedIcon=s1,o.PhonePausedIcon=d1,o.PhonelinkEraseIcon=f1,o.PhonelinkIcon=u1,o.PhonelinkLockIcon=A1,o.PhonelinkOffIcon=_1,o.PhonelinkRingIcon=y1,o.PhonelinkSetupIcon=h1,o.PhotoAlbumIcon=I1,o.PhotoCameraBackIcon=p1,o.PhotoCameraFrontIcon=w1,o.PhotoCameraIcon=b1,o.PhotoFilterIcon=k1,o.PhotoIcon=g1,o.PhotoLibraryIcon=m1,o.PhotoSizeSelectActualIcon=v1,o.PhotoSizeSelectLargeIcon=K1,o.PhotoSizeSelectSmallIcon=C1,o.PhpIcon=S1,o.PianoIcon=B1,o.PianoOffIcon=E1,o.PictureAsPdfIcon=F1,o.PictureInPictureAltIcon=D1,o.PictureInPictureIcon=P1,o.PieChartIcon=N1,o.PieChartOutlineIcon=T1,o.PinDropIcon=O1,o.PinEndIcon=L1,o.PinIcon=M1,o.PinInvokeIcon=Q1,o.PinchIcon=V1,o.PivotTableChartIcon=W1,o.PixIcon=G1,o.PlaceIcon=z1,o.PlagiarismIcon=H1,o.PlayArrowIcon=U1,o.PlayCircleFilledIcon=$1,o.PlayCircleIcon=Y1,o.PlayCircleOutlineIcon=j1,o.PlayDisabledIcon=q1,o.PlayForWorkIcon=J1,o.PlayLessonIcon=Z1,o.PlaylistAddCheckCircleIcon=R1,o.PlaylistAddCheckIcon=x1,o.PlaylistAddCircleIcon=eD,o.PlaylistAddIcon=X1,o.PlaylistPlayIcon=nD,o.PlaylistRemoveIcon=oD,o.PlumbingIcon=rD,o.PlusOneIcon=tD,o.PodcastsIcon=cD,o.PointOfSaleIcon=iD,o.PolicyIcon=aD,o.PollIcon=lD,o.PolylineIcon=sD,o.PolymerIcon=dD,o.PoolIcon=uD,o.PortableWifiOffIcon=fD,o.PortraitIcon=AD,o.PostAddIcon=_D,o.PowerIcon=yD,o.PowerInputIcon=hD,o.PowerOffIcon=gD,o.PowerSettingsNewIcon=ID,o.PrecisionManufacturingIcon=bD,o.PregnantWomanIcon=pD,o.PresentToAllIcon=wD,o.PreviewIcon=kD,o.PriceChangeIcon=mD,o.PriceCheckIcon=vD,o.PrintDisabledIcon=CD,o.PrintIcon=KD,o.PriorityHighIcon=SD,o.PrivacyTipIcon=BD,o.PrivateConnectivityIcon=ED,o.ProductionQuantityLimitsIcon=FD,o.PropaneIcon=PD,o.PropaneTankIcon=DD,o.PropertyFieldBinding=pn,o.PropertyPreview=Be,o.PsychologyAltIcon=TD,o.PsychologyIcon=ND,o.PublicIcon=MD,o.PublicOffIcon=OD,o.PublishIcon=LD,o.PublishedWithChangesIcon=QD,o.PunchClockIcon=VD,o.PushPinIcon=WD,o.QrCode2Icon=zD,o.QrCodeIcon=GD,o.QrCodeScannerIcon=HD,o.QueryBuilderIcon=UD,o.QueryStatsIcon=YD,o.QuestionAnswerIcon=$D,o.QuestionMarkIcon=jD,o.QueueIcon=qD,o.QueueMusicIcon=JD,o.QueuePlayNextIcon=ZD,o.QuickreplyIcon=XD,o.QuizIcon=xD,o.RMobiledataIcon=RD,o.RadarIcon=eN,o.RadioButtonCheckedIcon=oN,o.RadioButtonUncheckedIcon=rN,o.RadioIcon=nN,o.RailwayAlertIcon=tN,o.RamenDiningIcon=cN,o.RampLeftIcon=iN,o.RampRightIcon=aN,o.RateReviewIcon=lN,o.RawOffIcon=sN,o.RawOnIcon=dN,o.ReadMoreIcon=uN,o.ReadOnlyFieldBinding=Xr,o.RealEstateAgentIcon=fN,o.ReceiptIcon=AN,o.ReceiptLongIcon=_N,o.RecentActorsIcon=yN,o.RecommendIcon=hN,o.RecordVoiceOverIcon=gN,o.RectangleIcon=IN,o.RecyclingIcon=bN,o.RedeemIcon=pN,o.RedoIcon=wN,o.ReduceCapacityIcon=kN,o.ReferenceFieldBinding=Ii,o.ReferencePreview=nn,o.ReferencePreviewContainer=Po,o.ReferenceSelectionInner=ta,o.RefreshIcon=mN,o.RememberMeIcon=vN,o.RemoveCircleIcon=Ec,o.RemoveCircleOutlineIcon=KN,o.RemoveDoneIcon=CN,o.RemoveFromQueueIcon=SN,o.RemoveIcon=to,o.RemoveModeratorIcon=BN,o.RemoveRedEyeIcon=EN,o.RemoveRoadIcon=FN,o.RemoveShoppingCartIcon=PN,o.ReorderIcon=DN,o.RepartitionIcon=NN,o.RepeatFieldBinding=wi,o.RepeatIcon=mr,o.RepeatOnIcon=TN,o.RepeatOneIcon=MN,o.RepeatOneOnIcon=ON,o.Replay10Icon=QN,o.Replay30Icon=VN,o.Replay5Icon=WN,o.ReplayCircleFilledIcon=GN,o.ReplayIcon=LN,o.ReplyAllIcon=HN,o.ReplyIcon=zN,o.ReportGmailerrorredIcon=YN,o.ReportIcon=UN,o.ReportOffIcon=$N,o.ReportProblemIcon=jN,o.RequestPageIcon=qN,o.RequestQuoteIcon=JN,o.ResetTvIcon=ZN,o.RestartAltIcon=XN,o.RestaurantIcon=xN,o.RestaurantMenuIcon=RN,o.RestoreFromTrashIcon=nT,o.RestoreIcon=eT,o.RestorePageIcon=oT,o.ReviewsIcon=rT,o.RiceBowlIcon=tT,o.RingVolumeIcon=cT,o.RocketIcon=iT,o.RocketLaunchIcon=aT,o.RollerShadesClosedIcon=sT,o.RollerShadesIcon=lT,o.RollerSkatingIcon=dT,o.RoofingIcon=uT,o.RoomIcon=fT,o.RoomPreferencesIcon=AT,o.RoomServiceIcon=_T,o.Rotate90DegreesCcwIcon=yT,o.Rotate90DegreesCwIcon=hT,o.RotateLeftIcon=gT,o.RotateRightIcon=IT,o.RoundaboutLeftIcon=bT,o.RoundaboutRightIcon=pT,o.RoundedCornerIcon=wT,o.RouteIcon=kT,o.RouteWrapper=qo,o.RouterIcon=mT,o.RowingIcon=vT,o.RssFeedIcon=KT,o.RsvpIcon=CT,o.RttIcon=ST,o.RuleFolderIcon=ET,o.RuleIcon=BT,o.RunCircleIcon=FT,o.RunningWithErrorsIcon=PT,o.RvHookupIcon=DT,o.SafetyCheckIcon=NT,o.SafetyDividerIcon=TT,o.SailingIcon=MT,o.SanitizerIcon=OT,o.SatelliteAltIcon=QT,o.SatelliteIcon=LT,o.SaveAltIcon=WT,o.SaveAsIcon=GT,o.SaveIcon=VT,o.SavedSearchIcon=zT,o.SavingsIcon=HT,o.Scaffold=kH,o.ScaleIcon=UT,o.ScannerIcon=YT,o.ScatterPlotIcon=$T,o.ScheduleIcon=Fc,o.ScheduleSendIcon=jT,o.SchemaIcon=qT,o.SchoolIcon=JT,o.ScienceIcon=ZT,o.ScoreIcon=XT,o.ScoreboardIcon=xT,o.ScreenLockLandscapeIcon=RT,o.ScreenLockPortraitIcon=eM,o.ScreenLockRotationIcon=nM,o.ScreenRotationAltIcon=rM,o.ScreenRotationIcon=oM,o.ScreenSearchDesktopIcon=tM,o.ScreenShareIcon=cM,o.ScreenshotIcon=iM,o.ScreenshotMonitorIcon=aM,o.ScubaDivingIcon=lM,o.SdCardAlertIcon=uM,o.SdCardIcon=dM,o.SdIcon=sM,o.SdStorageIcon=fM,o.SearchBar=Qt,o.SearchIcon=rc,o.SearchOffIcon=AM,o.SecurityIcon=_M,o.SecurityUpdateGoodIcon=hM,o.SecurityUpdateIcon=yM,o.SecurityUpdateWarningIcon=gM,o.SegmentIcon=IM,o.Select=Xe,o.SelectAllIcon=bM,o.SelectFieldBinding=zr,o.SelectGroup=JH,o.SelectItem=xe,o.SelfImprovementIcon=pM,o.SellIcon=wM,o.SendAndArchiveIcon=mM,o.SendIcon=kM,o.SendTimeExtensionIcon=vM,o.SendToMobileIcon=KM,o.SensorDoorIcon=CM,o.SensorOccupiedIcon=SM,o.SensorWindowIcon=BM,o.SensorsIcon=EM,o.SensorsOffIcon=FM,o.SentimentDissatisfiedIcon=PM,o.SentimentNeutralIcon=DM,o.SentimentSatisfiedAltIcon=TM,o.SentimentSatisfiedIcon=NM,o.SentimentVeryDissatisfiedIcon=MM,o.SentimentVerySatisfiedIcon=OM,o.SetMealIcon=LM,o.SettingsAccessibilityIcon=VM,o.SettingsApplicationsIcon=WM,o.SettingsBackupRestoreIcon=GM,o.SettingsBluetoothIcon=zM,o.SettingsBrightnessIcon=HM,o.SettingsCellIcon=UM,o.SettingsEthernetIcon=YM,o.SettingsIcon=QM,o.SettingsInputAntennaIcon=$M,o.SettingsInputComponentIcon=jM,o.SettingsInputCompositeIcon=qM,o.SettingsInputHdmiIcon=JM,o.SettingsInputSvideoIcon=ZM,o.SettingsOverscanIcon=XM,o.SettingsPhoneIcon=xM,o.SettingsPowerIcon=RM,o.SettingsRemoteIcon=e2,o.SettingsSuggestIcon=n2,o.SettingsSystemDaydreamIcon=o2,o.SettingsVoiceIcon=r2,o.SevereColdIcon=t2,o.ShapeLineIcon=c2,o.ShareIcon=i2,o.ShareLocationIcon=a2,o.Sheet=Vt,o.ShieldIcon=l2,o.ShieldMoonIcon=s2,o.Shop2Icon=u2,o.ShopIcon=d2,o.ShopTwoIcon=f2,o.ShoppingBagIcon=A2,o.ShoppingBasketIcon=_2,o.ShoppingCartCheckoutIcon=h2,o.ShoppingCartIcon=y2,o.ShortTextIcon=Pc,o.ShortcutIcon=g2,o.ShowChartIcon=I2,o.ShowerIcon=b2,o.ShuffleIcon=p2,o.ShuffleOnIcon=w2,o.ShutterSpeedIcon=k2,o.SickIcon=m2,o.SideDialogs=L3,o.SignLanguageIcon=v2,o.SignalCellular0BarIcon=K2,o.SignalCellular4BarIcon=C2,o.SignalCellularAlt1BarIcon=B2,o.SignalCellularAlt2BarIcon=E2,o.SignalCellularAltIcon=S2,o.SignalCellularConnectedNoInternet0BarIcon=F2,o.SignalCellularConnectedNoInternet4BarIcon=P2,o.SignalCellularNoSimIcon=D2,o.SignalCellularNodataIcon=N2,o.SignalCellularNullIcon=T2,o.SignalCellularOffIcon=M2,o.SignalWifi0BarIcon=O2,o.SignalWifi4BarIcon=L2,o.SignalWifi4BarLockIcon=Q2,o.SignalWifiBadIcon=V2,o.SignalWifiConnectedNoInternet4Icon=W2,o.SignalWifiOffIcon=G2,o.SignalWifiStatusbar4BarIcon=z2,o.SignalWifiStatusbarConnectedNoInternet4Icon=H2,o.SignalWifiStatusbarNullIcon=U2,o.SignpostIcon=Y2,o.SimCardAlertIcon=j2,o.SimCardDownloadIcon=q2,o.SimCardIcon=$2,o.SingleBedIcon=J2,o.SipIcon=Z2,o.SkateboardingIcon=X2,o.SkeletonPropertyComponent=Nn,o.SkipNextIcon=x2,o.SkipPreviousIcon=R2,o.SleddingIcon=eO,o.SlideshowIcon=nO,o.SlowMotionVideoIcon=oO,o.SmartButtonIcon=rO,o.SmartDisplayIcon=tO,o.SmartScreenIcon=cO,o.SmartToyIcon=iO,o.SmartphoneIcon=aO,o.SmokeFreeIcon=lO,o.SmokingRoomsIcon=sO,o.SmsFailedIcon=uO,o.SmsIcon=dO,o.SnackbarProvider=LH,o.SnippetFolderIcon=fO,o.SnoozeIcon=AO,o.SnowboardingIcon=_O,o.SnowmobileIcon=yO,o.SnowshoeingIcon=hO,o.SoapIcon=gO,o.SocialDistanceIcon=IO,o.SolarPowerIcon=bO,o.SortByAlphaIcon=wO,o.SortIcon=pO,o.SosIcon=kO,o.SoupKitchenIcon=mO,o.SourceIcon=vO,o.SouthAmericaIcon=CO,o.SouthEastIcon=SO,o.SouthIcon=KO,o.SouthWestIcon=BO,o.SpaIcon=EO,o.SpaceBarIcon=FO,o.SpaceDashboardIcon=PO,o.SpatialAudioIcon=DO,o.SpatialAudioOffIcon=NO,o.SpatialTrackingIcon=TO,o.SpeakerGroupIcon=OO,o.SpeakerIcon=MO,o.SpeakerNotesIcon=LO,o.SpeakerNotesOffIcon=QO,o.SpeakerPhoneIcon=VO,o.SpeedIcon=WO,o.SpellcheckIcon=GO,o.Spinner=ZH,o.SplitscreenIcon=zO,o.SpokeIcon=HO,o.SportsBarIcon=YO,o.SportsBaseballIcon=$O,o.SportsBasketballIcon=jO,o.SportsCricketIcon=qO,o.SportsEsportsIcon=JO,o.SportsFootballIcon=ZO,o.SportsGolfIcon=XO,o.SportsGymnasticsIcon=xO,o.SportsHandballIcon=RO,o.SportsHockeyIcon=eL,o.SportsIcon=UO,o.SportsKabaddiIcon=nL,o.SportsMartialArtsIcon=oL,o.SportsMmaIcon=rL,o.SportsMotorsportsIcon=tL,o.SportsRugbyIcon=cL,o.SportsScoreIcon=iL,o.SportsSoccerIcon=aL,o.SportsTennisIcon=lL,o.SportsVolleyballIcon=sL,o.SquareFootIcon=uL,o.SquareIcon=dL,o.SsidChartIcon=fL,o.StackedBarChartIcon=AL,o.StackedLineChartIcon=_L,o.StadiumIcon=yL,o.StairsIcon=hL,o.StarBorderIcon=Kr,o.StarBorderPurple500Icon=gL,o.StarHalfIcon=IL,o.StarIcon=vr,o.StarOutlineIcon=bL,o.StarPurple500Icon=pL,o.StarRateIcon=wL,o.StarsIcon=kL,o.StartIcon=mL,o.StayCurrentLandscapeIcon=vL,o.StayCurrentPortraitIcon=KL,o.StayPrimaryLandscapeIcon=CL,o.StayPrimaryPortraitIcon=SL,o.StickyNote2Icon=BL,o.StopCircleIcon=FL,o.StopIcon=EL,o.StopScreenShareIcon=PL,o.StorageIcon=DL,o.StorageThumbnail=$c,o.StorageThumbnailInternal=qc,o.StorageUploadFieldBinding=Jr,o.StoreIcon=NL,o.StoreMallDirectoryIcon=TL,o.StorefrontIcon=ML,o.StormIcon=OL,o.StraightIcon=LL,o.StraightenIcon=QL,o.StreamIcon=VL,o.StreetviewIcon=WL,o.StrikethroughSIcon=GL,o.StringPropertyPreview=Or,o.StrollerIcon=zL,o.StyleIcon=HL,o.SubdirectoryArrowLeftIcon=UL,o.SubdirectoryArrowRightIcon=YL,o.SubjectIcon=Dc,o.SubscriptIcon=$L,o.SubscriptionsIcon=jL,o.SubtitlesIcon=qL,o.SubtitlesOffIcon=JL,o.SubwayIcon=ZL,o.SummarizeIcon=XL,o.SuperscriptIcon=xL,o.SupervisedUserCircleIcon=RL,o.SupervisorAccountIcon=e4,o.SupportAgentIcon=o4,o.SupportIcon=n4,o.SurfingIcon=r4,o.SurroundSoundIcon=t4,o.SwapCallsIcon=c4,o.SwapHorizIcon=i4,o.SwapHorizontalCircleIcon=a4,o.SwapVertIcon=l4,o.SwapVerticalCircleIcon=s4,o.SwipeDownAltIcon=f4,o.SwipeDownIcon=u4,o.SwipeIcon=d4,o.SwipeLeftAltIcon=_4,o.SwipeLeftIcon=A4,o.SwipeRightAltIcon=h4,o.SwipeRightIcon=y4,o.SwipeUpAltIcon=I4,o.SwipeUpIcon=g4,o.SwipeVerticalIcon=b4,o.SwitchAccessShortcutAddIcon=w4,o.SwitchAccessShortcutIcon=p4,o.SwitchAccountIcon=k4,o.SwitchCameraIcon=m4,o.SwitchControl=ol,o.SwitchFieldBinding=hi,o.SwitchLeftIcon=v4,o.SwitchRightIcon=K4,o.SwitchVideoIcon=C4,o.SynagogueIcon=S4,o.SyncAltIcon=E4,o.SyncDisabledIcon=F4,o.SyncIcon=B4,o.SyncLockIcon=P4,o.SyncProblemIcon=D4,o.SystemSecurityUpdateGoodIcon=T4,o.SystemSecurityUpdateIcon=N4,o.SystemSecurityUpdateWarningIcon=M4,o.SystemUpdateAltIcon=L4,o.SystemUpdateIcon=O4,o.Tab=Xo,o.TabIcon=Q4,o.TabUnselectedIcon=V4,o.Table=XH,o.TableBarIcon=W4,o.TableBody=xH,o.TableCell=nU,o.TableChartIcon=G4,o.TableHeader=RH,o.TableRestaurantIcon=z4,o.TableRow=eU,o.TableRowsIcon=H4,o.TableViewIcon=U4,o.TabletAndroidIcon=$4,o.TabletIcon=Y4,o.TabletMacIcon=j4,o.Tabs=ba,o.TagFacesIcon=J4,o.TagIcon=q4,o.TakeoutDiningIcon=Z4,o.TapAndPlayIcon=X4,o.TapasIcon=x4,o.TaskAltIcon=eQ,o.TaskIcon=R4,o.TaxiAlertIcon=nQ,o.TempleBuddhistIcon=oQ,o.TempleHinduIcon=rQ,o.TerminalIcon=tQ,o.TerrainIcon=cQ,o.TextDecreaseIcon=iQ,o.TextField=un,o.TextFieldBinding=Mn,o.TextFieldsIcon=aQ,o.TextFormatIcon=lQ,o.TextIncreaseIcon=sQ,o.TextRotateUpIcon=dQ,o.TextRotateVerticalIcon=uQ,o.TextRotationAngledownIcon=fQ,o.TextRotationAngleupIcon=AQ,o.TextRotationDownIcon=_Q,o.TextRotationNoneIcon=yQ,o.TextSnippetIcon=hQ,o.TextareaAutosize=gt,o.TextsmsIcon=gQ,o.TextureIcon=IQ,o.TheaterComedyIcon=bQ,o.TheatersIcon=pQ,o.ThermostatAutoIcon=kQ,o.ThermostatIcon=wQ,o.ThumbDownAltIcon=vQ,o.ThumbDownIcon=mQ,o.ThumbDownOffAltIcon=KQ,o.ThumbUpAltIcon=SQ,o.ThumbUpIcon=CQ,o.ThumbUpOffAltIcon=BQ,o.ThumbsUpDownIcon=EQ,o.ThunderstormIcon=FQ,o.TimeToLeaveIcon=PQ,o.TimelapseIcon=DQ,o.TimelineIcon=NQ,o.Timer10Icon=MQ,o.Timer10SelectIcon=OQ,o.Timer3Icon=LQ,o.Timer3SelectIcon=QQ,o.TimerIcon=TQ,o.TimerOffIcon=VQ,o.TipsAndUpdatesIcon=WQ,o.TireRepairIcon=GQ,o.TitleIcon=zQ,o.TocIcon=HQ,o.TodayIcon=UQ,o.ToggleOffIcon=YQ,o.ToggleOnIcon=$Q,o.TokenIcon=jQ,o.TollIcon=qQ,o.TonalityIcon=JQ,o.Tooltip=_e,o.TopicIcon=ZQ,o.TornadoIcon=XQ,o.TouchAppIcon=xQ,o.TourIcon=RQ,o.ToysIcon=eV,o.TrackChangesIcon=nV,o.TrafficIcon=oV,o.TrainIcon=rV,o.TramIcon=tV,o.TranscribeIcon=cV,o.TransferWithinAStationIcon=iV,o.TransformIcon=aV,o.TransgenderIcon=lV,o.TransitEnterexitIcon=sV,o.TranslateIcon=dV,o.TravelExploreIcon=uV,o.TrendingDownIcon=fV,o.TrendingFlatIcon=AV,o.TrendingUpIcon=_V,o.TripOriginIcon=yV,o.TroubleshootIcon=hV,o.TryIcon=gV,o.TsunamiIcon=IV,o.TtyIcon=bV,o.TuneIcon=pV,o.TungstenIcon=wV,o.TurnLeftIcon=kV,o.TurnRightIcon=mV,o.TurnSharpLeftIcon=vV,o.TurnSharpRightIcon=KV,o.TurnSlightLeftIcon=CV,o.TurnSlightRightIcon=SV,o.TurnedInIcon=BV,o.TurnedInNotIcon=EV,o.TvIcon=FV,o.TvOffIcon=PV,o.TwoWheelerIcon=DV,o.TypeSpecimenIcon=NV,o.Typography=j,o.UTurnLeftIcon=TV,o.UTurnRightIcon=MV,o.UmbrellaIcon=OV,o.UnarchiveIcon=LV,o.UndoIcon=QV,o.UnfoldLessDoubleIcon=WV,o.UnfoldLessIcon=VV,o.UnfoldMoreDoubleIcon=zV,o.UnfoldMoreIcon=GV,o.UnpublishedIcon=HV,o.UnsubscribeIcon=UV,o.UpcomingIcon=YV,o.UpdateDisabledIcon=jV,o.UpdateIcon=$V,o.UpgradeIcon=qV,o.UploadFileIcon=Nc,o.UploadIcon=JV,o.UrlComponentPreview=ao,o.UsbIcon=ZV,o.UsbOffIcon=XV,o.VaccinesIcon=xV,o.VapeFreeIcon=RV,o.VapingRoomsIcon=e5,o.VerifiedIcon=n5,o.VerifiedUserIcon=o5,o.VerticalAlignBottomIcon=r5,o.VerticalAlignCenterIcon=t5,o.VerticalAlignTopIcon=c5,o.VerticalDistributeIcon=i5,o.VerticalShadesClosedIcon=l5,o.VerticalShadesIcon=a5,o.VerticalSplitIcon=s5,o.VibrationIcon=d5,o.VideoCallIcon=u5,o.VideoCameraBackIcon=f5,o.VideoCameraFrontIcon=A5,o.VideoChatIcon=_5,o.VideoFileIcon=y5,o.VideoLabelIcon=h5,o.VideoLibraryIcon=g5,o.VideoSettingsIcon=I5,o.VideoStableIcon=b5,o.VideocamIcon=p5,o.VideocamOffIcon=w5,o.VideogameAssetIcon=k5,o.VideogameAssetOffIcon=m5,o.ViewAgendaIcon=v5,o.ViewArrayIcon=K5,o.ViewCarouselIcon=C5,o.ViewColumnIcon=S5,o.ViewComfyAltIcon=E5,o.ViewComfyIcon=B5,o.ViewCompactAltIcon=P5,o.ViewCompactIcon=F5,o.ViewCozyIcon=D5,o.ViewDayIcon=N5,o.ViewHeadlineIcon=T5,o.ViewInArIcon=M5,o.ViewKanbanIcon=O5,o.ViewListIcon=L5,o.ViewModuleIcon=Q5,o.ViewQuiltIcon=V5,o.ViewSidebarIcon=W5,o.ViewStreamIcon=Tc,o.ViewTimelineIcon=G5,o.ViewWeekIcon=z5,o.VignetteIcon=H5,o.VillaIcon=U5,o.VirtualTable=$i,o.VisibilityIcon=Y5,o.VisibilityOffIcon=$5,o.VoiceChatIcon=j5,o.VoiceOverOffIcon=q5,o.VoicemailIcon=J5,o.VolcanoIcon=Z5,o.VolumeDownIcon=X5,o.VolumeMuteIcon=x5,o.VolumeOffIcon=R5,o.VolumeUpIcon=eW,o.VolunteerActivismIcon=nW,o.VpnKeyIcon=oW,o.VpnKeyOffIcon=rW,o.VpnLockIcon=tW,o.VrpanoIcon=cW,o.WalletIcon=iW,o.WallpaperIcon=aW,o.WarehouseIcon=lW,o.WarningAmberIcon=dW,o.WarningIcon=sW,o.WashIcon=uW,o.WatchIcon=fW,o.WatchLaterIcon=AW,o.WatchOffIcon=_W,o.WaterDamageIcon=hW,o.WaterDropIcon=gW,o.WaterIcon=yW,o.WaterfallChartIcon=IW,o.WavesIcon=bW,o.WavingHandIcon=pW,o.WbAutoIcon=wW,o.WbCloudyIcon=kW,o.WbIncandescentIcon=mW,o.WbIridescentIcon=vW,o.WbShadeIcon=KW,o.WbSunnyIcon=CW,o.WbTwilightIcon=SW,o.WcIcon=BW,o.WebAssetIcon=FW,o.WebAssetOffIcon=PW,o.WebIcon=EW,o.WebStoriesIcon=DW,o.WebhookIcon=NW,o.WeekendIcon=TW,o.WestIcon=MW,o.WhatshotIcon=OW,o.WheelchairPickupIcon=LW,o.WhereToVoteIcon=QW,o.WidgetsIcon=VW,o.WidthFullIcon=WW,o.WidthNormalIcon=GW,o.WidthWideIcon=zW,o.Wifi1BarIcon=UW,o.Wifi2BarIcon=YW,o.WifiCalling3Icon=jW,o.WifiCallingIcon=$W,o.WifiChannelIcon=qW,o.WifiFindIcon=JW,o.WifiIcon=HW,o.WifiLockIcon=ZW,o.WifiOffIcon=XW,o.WifiPasswordIcon=xW,o.WifiProtectedSetupIcon=RW,o.WifiTetheringErrorIcon=nG,o.WifiTetheringIcon=eG,o.WifiTetheringOffIcon=oG,o.WindPowerIcon=rG,o.WindowIcon=tG,o.WineBarIcon=cG,o.Woman2Icon=aG,o.WomanIcon=iG,o.WorkHistoryIcon=sG,o.WorkIcon=lG,o.WorkOffIcon=dG,o.WorkOutlineIcon=uG,o.WorkspacePremiumIcon=fG,o.WorkspacesIcon=AG,o.WrapTextIcon=_G,o.WrongLocationIcon=yG,o.WysiwygIcon=hG,o.YardIcon=gG,o.YoutubeSearchedForIcon=IG,o.ZoomInIcon=bG,o.ZoomInMapIcon=pG,o.ZoomOutIcon=wG,o.ZoomOutMapIcon=kG,o._10kIcon=al,o._10mpIcon=ll,o._11mpIcon=sl,o._123Icon=cl,o._12mpIcon=dl,o._13mpIcon=ul,o._14mpIcon=fl,o._15mpIcon=Al,o._16mpIcon=_l,o._17mpIcon=yl,o._18UpRatingIcon=hl,o._18mpIcon=gl,o._19mpIcon=Il,o._1kIcon=bl,o._1kPlusIcon=pl,o._1xMobiledataIcon=wl,o._20mpIcon=kl,o._21mpIcon=ml,o._22mpIcon=vl,o._23mpIcon=Kl,o._24mpIcon=Cl,o._2kIcon=Sl,o._2kPlusIcon=Bl,o._2mpIcon=El,o._30fpsIcon=Fl,o._30fpsSelectIcon=Pl,o._360Icon=il,o._3dRotationIcon=Dl,o._3gMobiledataIcon=Nl,o._3kIcon=Tl,o._3kPlusIcon=Ml,o._3mpIcon=Ol,o._3pIcon=Ll,o._4gMobiledataIcon=Ql,o._4gPlusMobiledataIcon=Vl,o._4kIcon=Wl,o._4kPlusIcon=Gl,o._4mpIcon=zl,o._5gIcon=Hl,o._5kIcon=Ul,o._5kPlusIcon=Yl,o._5mpIcon=$l,o._60fpsIcon=jl,o._60fpsSelectIcon=ql,o._6FtApartIcon=Jl,o._6kIcon=Zl,o._6kPlusIcon=Xl,o._6mpIcon=xl,o._7kIcon=Rl,o._7kPlusIcon=es,o._7mpIcon=ns,o._8kIcon=os,o._8kPlusIcon=rs,o._8mpIcon=ts,o._9kIcon=cs,o._9kPlusIcon=is,o._9mpIcon=as,o.addInitialSlash=Ya,o.buildAdditionalFieldDelegate=NH,o.buildCollection=CH,o.buildEntityCallbacks=DH,o.buildEnumLabel=xt,o.buildEnumValueConfig=PH,o.buildEnumValues=FH,o.buildFieldConfig=TH,o.buildProperties=BH,o.buildPropertiesOrBuilder=EH,o.buildProperty=SH,o.canCreateEntity=Qo,o.canDeleteEntity=it,o.canEditEntity=ct,o.cardClickableMixin=ec,o.cardMixin=Rt,o.cardSelectedMixin=xa,o.cn=E,o.coolIconKeys=_r,o.debounce=Oi,o.defaultBorderMixin=ue,o.defaultDateFormat=oi,o.deleteEntityWithCallbacks=zc,o.enumToObjectEntries=tn,o.fieldBackgroundDisabledMixin=Re,o.fieldBackgroundHoverMixin=We,o.fieldBackgroundInvisibleMixin=Ar,o.fieldBackgroundMixin=Je,o.flattenObject=at,o.focusedClasses=fr,o.focusedInvisibleMixin=ur,o.focusedMixin=he,o.fullPathToCollectionSegments=Ze,o.getArrayValuesCount=Li,o.getBracketNotation=Qz,o.getCollectionByPathOrAlias=Io,o.getCollectionPathsCombinations=bo,o.getColorForProperty=Lz,o.getColorScheme=Xt,o.getDefaultFieldId=st,o.getDefaultValueFor=ko,o.getDefaultValueForDataType=sr,o.getDefaultValuesFor=eo,o.getFieldConfig=Go,o.getFieldId=dt,o.getHashValue=ir,o.getIcon=Ti,o.getIconForProperty=ke,o.getIconForView=Vo,o.getIconForWidget=rt,o.getIdIcon=Oz,o.getLabelOrConfigFrom=Ko,o.getLastSegment=$a,o.getPropertiesWithPropertiesOrder=Ni,o.getPropertyInPath=wn,o.getRandomId=Ao,o.getReferenceFrom=hn,o.getReferencePreviewKeys=Mi,o.getResolvedPropertyInPath=tt,o.getValueInPath=rn,o.hydrateRegExp=Pi,o.iconKeys=oc,o.isDefaultFieldConfigId=Qi,o.isEmptyObject=lr,o.isEnumValueDisabled=Xa,o.isHidden=Rn,o.isObject=po,o.isPropertyBuilder=Le,o.isReadOnly=Cn,o.isReferenceProperty=Di,o.isValidRegExp=Tz,o.mergeDeep=qe,o.paperMixin=Ge,o.pick=qt,o.plural=Vz,o.randomColor=xG,o.randomString=Tn,o.removeFunctions=cr,o.removeInPath=ja,o.removeInitialAndTrailingSlashes=pe,o.removeInitialSlash=$t,o.removeTrailingSlash=jt,o.removeUndefined=ar,o.renderSkeletonCaptionText=QG,o.renderSkeletonIcon=Mr,o.renderSkeletonImageThumbnail=Tr,o.renderSkeletonText=en,o.resolveArrayProperty=sn,o.resolveCollection=Me,o.resolveCollectionPathAliases=rr,o.resolveDefaultSelectedView=nt,o.resolveEntityView=At,o.resolveEnumValues=Gz,o.resolveNavigationFrom=Hc,o.resolvePermissions=uo,o.resolveProperties=ut,o.resolveProperty=Ne,o.resolvePropertyEnum=ft,o.sanitizeData=Ja,o.saveEntityWithCallbacks=Fr,o.segmentsToStrippedPath=Fi,o.serializeRegExp=Nz,o.singular=Wz,o.slugify=No,o.sortProperties=Bi,o.stripCollectionPath=ot,o.toKebabCase=JG,o.toSnakeCase=XG,o.traverseValueProperty=mo,o.traverseValuesProperties=dr,o.unslugify=Ua,o.updateDateAutoValues=qa,o.useAuthController=In,o.useAutoComplete=QH,o.useBreadcrumbsContext=Dr,o.useBrowserTitleAndIcon=CG,o.useBuildLocalConfigurationPersistence=OH,o.useBuildModeController=MH,o.useClearRestoreValue=Te,o.useClipboard=Uc,o.useCollectionFetch=Gc,o.useDataSource=Qe,o.useDebounce=Oo,o.useDebounceValue=Mz,o.useEntityCollectionTableController=Ct,o.useEntityFetch=Er,o.useFireCMSContext=ne,o.useLargeLayout=ze,o.useModeController=Pr,o.useNavigationContext=fe,o.useOutsideAlerter=Do,o.useReferenceDialog=io,o.useResolvedNavigationFrom=mG,o.useSelectionController=Bt,o.useSideDialogContext=Uo,o.useSideDialogsController=co,o.useSideEntityController=Sn,o.useSnackbarController=an,o.useStorageSource=Bn,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
1579
+ }`);const[u,A]=f.useState(i),[y,g]=f.useState(u);return f.useEffect(()=>{u?setTimeout(()=>{g(!0)},220):g(!1)},[u]),n.jsx(n.Fragment,{children:n.jsxs(Jn.Root,{className:E(!c&&de+" border","rounded-md"),open:u,onOpenChange:h=>{a?.(h),A(h)},children:[n.jsxs(Jn.Trigger,{className:E(ge,"rounded flex items-center justify-between w-full min-h-[52px]",c?"border-b px-2":"p-4",c&&de,s&&Ze,l),children:[e,n.jsx(Po,{className:E("transition",u?"rotate-180":"")})]}),n.jsx(Jn.Content,{className:E("CollapsibleContent"),style:{overflow:y?"visible":"hidden"},children:n.jsx("div",{className:d,children:t})})]})})}function Dt({children:e,group:t}){const c=En();return n.jsx(An,{invisible:!0,titleClassName:"font-medium text-sm text-gray-600 dark:text-gray-400",className:"py-4",initiallyExpanded:!(c?.collapsedGroups??[]).includes(t??"ungrouped"),onExpandedChange:i=>{if(c)if(i)c.setCollapsedGroups((c.collapsedGroups??[]).filter(a=>a!==(t??"ungrouped")));else{const a=(c.collapsedGroups??[]).concat(t??"ungrouped");c.setCollapsedGroups(a)}},title:n.jsx(j,{color:"secondary",className:"font-medium ml-1",children:t?.toUpperCase()??"Views".toUpperCase()}),children:n.jsx("div",{className:"mb-8",children:e})})}function da({view:e,path:t,collection:c,url:i,name:a,description:l,onClick:s}){const d=En(),u=Go(c??e),A=he.useNavigate(),y=ee(),g=(d?.favouritePaths??[]).includes(t);let h;if(y.plugins&&c){const _={path:t,collection:c,context:y};h=n.jsx(n.Fragment,{children:y.plugins.map((I,b)=>I.homePage?.CollectionActions?n.jsx(I.homePage.CollectionActions,{..._,extraProps:I.homePage.extraProps},`actions_${b}`):null)})}return n.jsx(ka,{className:E("h-full p-4 cursor-pointer min-h-[230px]"),onClick:()=>{s?.(),A(i),d&&d.setRecentlyVisitedPaths([t,...(d.recentlyVisitedPaths??[]).filter(_=>_!==t)])},children:n.jsxs("div",{className:"flex flex-col items-start h-full",children:[n.jsxs("div",{className:"flex-grow w-full",children:[n.jsxs("div",{className:"h-10 flex items-center w-full justify-between text-gray-300 dark:text-gray-600",children:[u,n.jsxs("div",{className:"flex items-center gap-1",onClick:_=>{_.preventDefault(),_.stopPropagation()},children:[h,d&&n.jsx(x,{onClick:_=>{_.preventDefault(),_.stopPropagation(),g?d.setFavouritePaths(d.favouritePaths.filter(I=>I!==t)):d.setFavouritePaths([...d.favouritePaths,t])},children:g?n.jsx(mr,{size:18,className:"text-secondary"}):n.jsx(vr,{size:18,className:"text-gray-400 dark:text-gray-500"})})]})]}),n.jsx(j,{gutterBottom:!0,variant:"h5",component:"h2",children:a}),l&&n.jsx(j,{variant:"body2",color:"secondary",component:"div",children:n.jsx(lo,{source:l})})]}),n.jsx("div",{style:{alignSelf:"flex-end"},children:n.jsx("div",{className:"p-4",children:n.jsx(ic,{className:"text-primary"})})})]})})}function n3({entry:e}){const t=he.useNavigate(),c=En();if(!c)return null;const i=c.favouritePaths.includes(e.path),a=l=>{l.preventDefault(),l.stopPropagation(),i?c.setFavouritePaths(c.favouritePaths.filter(s=>s!==e.path)):c.setFavouritePaths([...c.favouritePaths,e.path])};return n.jsx(No,{onClick:()=>t(e.url),icon:i?n.jsx(mr,{onClick:a,size:18,className:"text-secondary"}):n.jsx(vr,{onClick:a,size:18,className:"text-gray-400 dark:text-gray-500"}),children:e.name},e.path)}function o3({hidden:e}){const t=fe(),c=En();if(!c)return null;const i=(c?.favouritePaths??[]).map(a=>t.topLevelNavigation?.navigationEntries.find(l=>l.path===a)).filter(Boolean);return n.jsx(Zo,{in:i.length>0,children:n.jsx("div",{className:"flex flex-row flex-wrap gap-2 pb-2 min-h-[32px]",children:i.map(a=>n.jsx(n3,{entry:a},a.path))})})}const Nt={};function r3(){const e=he.useLocation(),t=f.useRef(null),[c,i]=f.useState(0),[a,l]=f.useState("down"),s=f.useCallback(()=>{!t.current||!e.key||(Nt[e.key]=t.current.scrollTop,i(t.current.scrollTop),l(t.current.scrollTop>c?"down":"up"))},[t,e.key,c]);return f.useEffect(()=>{const d=t.current;if(d)return d.addEventListener("scroll",s,{passive:!0}),()=>{d&&d.removeEventListener("scroll",s)}},[t,s,e]),f.useEffect(()=>{!t.current||!Nt[e.key]||t.current.scrollTo({top:Nt[e.key],behavior:"auto"})},[e]),{containerRef:t,scroll:c,direction:a}}const Wn=new Ha.Search("url");Wn.addIndex("name"),Wn.addIndex("description"),Wn.addIndex("group"),Wn.addIndex("path");function ua({additionalChildrenStart:e,additionalChildrenEnd:t}){const c=ee(),i=fe();if(!i.topLevelNavigation)throw Error("Navigation not ready in FireCMSHomePage");const{containerRef:a,scroll:l,direction:s}=r3(),{navigationEntries:d,groups:u}=i.topLevelNavigation,[A,y]=f.useState(null),g=A?d.filter(p=>A.includes(p.url)):d;f.useEffect(()=>{Wn.addDocuments(d)},[d]);const h=f.useCallback(p=>{if(!p||p==="")y(null);else{const w=Wn.search(p);y(w.map(k=>k.url))}},[]),_=[...u];(g.filter(p=>!p.group).length>0||g.length===0)&&_.push(void 0);let I,b;if(c.plugins){const p={context:c};b=n.jsx(n.Fragment,{children:c.plugins.filter(w=>w.homePage?.includeSection).map((w,k)=>{const m=w.homePage.includeSection(p);return n.jsx(Dt,{group:m.title,children:m.children},`plugin_section_${w.name}`)})}),I=n.jsx("div",{className:"flex flex-col gap-2",children:c.plugins.filter(w=>w.homePage?.additionalChildrenStart).map((w,k)=>n.jsx("div",{children:w.homePage.additionalChildrenStart},`plugin_children_start_${k}`))})}return n.jsx("div",{id:"home_page",ref:a,className:"py-2 overflow-auto h-full w-full",children:n.jsxs(Vt,{maxWidth:"6xl",children:[n.jsx("div",{className:"sticky py-4 transition-all duration-400 ease-in-out top-0 z-10",style:{top:s==="down"?-84:0},children:n.jsx(Gt,{onTextSearch:h,placeholder:"Search collections",large:!1,className:"w-full"})}),n.jsx(o3,{hidden:!!A}),e,I,_.map((p,w)=>{const k=[],m={group:p,context:c};c.plugins&&c.plugins.forEach(v=>{v.homePage?.AdditionalCards&&k.push(...$o(v.homePage?.AdditionalCards))});const K=g.filter(v=>v.group===p||!v.group&&p===void 0);return K.length===0&&k.length===0?null:n.jsx(Dt,{group:p,children:n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[K.map(v=>n.jsx("div",{className:"col-span-1",children:n.jsx(da,{...v,onClick:()=>{const C=v.type==="collection"?"home_navigate_to_collection":v.type==="view"?"home_navigate_to_view":"unmapped_event";c.onAnalyticsEvent?.(C,{path:v.path})}})},`nav_${v.group}_${v.name}`)),k&&k.map((v,C)=>n.jsx("div",{children:n.jsx(v,{...m})},`nav_${p}_add_${C}`))]})},`plugin_section_${p}`)}),b,t]})})}function t3({fieldConfig:e}){const t="h-8 w-8 p-1 rounded-full shadow text-white";return n.jsx("div",{className:t,style:{background:e?.color??"#888"},children:ct(e,"medium")})}function c3({children:e,title:t,path:c}){const i=Pr();return f.useEffect(()=>{i.set({breadcrumbs:[{title:t,url:c}]})},[c,t]),n.jsx(n.Fragment,{children:e})}function fa(){return n.jsx("div",{className:"flex w-full h-full",children:n.jsxs("div",{className:"m-auto flex items-center flex-col",children:[n.jsx(j,{variant:"h4",align:"center",gutterBottom:!0,children:"Page not found"}),n.jsx(j,{align:"center",gutterBottom:!0,children:"This page does not exist or you may not have access to it"}),n.jsx(ce,{variant:"text",component:he.Link,to:"/",children:"Back to home"})]})})}function i3({open:e,onAccept:t,onCancel:c,title:i,loading:a,body:l}){return n.jsxs(Xo,{open:e,onOpenChange:s=>s?void 0:c(),children:[n.jsxs(xo,{children:[n.jsx(j,{variant:"h6",className:"mb-2",children:i}),l]}),n.jsxs(vn,{children:[n.jsx(ce,{variant:"text",onClick:c,autoFocus:!0,children:"Cancel"}),n.jsx(ma,{color:"primary",type:"submit",loading:a,onClick:t,children:"Ok"})]})]})}function Aa({width:e,height:t,className:c,style:i}){return n.jsxs("svg",{width:e??"100%",height:t??"100%",viewBox:"0 0 599 599",version:"1.1",style:i,className:c,xmlns:"http://www.w3.org/2000/svg",children:[n.jsxs("defs",{children:[n.jsxs("radialGradient",{cx:"28.6213569%",cy:"43.1133328%",fx:"28.6213569%",fy:"43.1133328%",r:"71.5003456%",gradientTransform:"translate(0.286214,0.431133),rotate(3.343450),scale(1.000000,0.996175),translate(-0.286214,-0.431133)",id:"radialGradient-1",children:[n.jsx("stop",{stopColor:"#FF5B79",offset:"0%"}),n.jsx("stop",{stopColor:"#FA5574",offset:"28.0930803%"}),n.jsx("stop",{stopColor:"#EC4C51",offset:"44.7242531%"}),n.jsx("stop",{stopColor:"#9543C1",offset:"71.4578165%"}),n.jsx("stop",{stopColor:"#3857B3",offset:"100%"})]}),n.jsxs("radialGradient",{cx:"53.6205516%",cy:"47.2473036%",fx:"53.6205516%",fy:"47.2473036%",r:"50.8229649%",gradientTransform:"translate(0.536206,0.472473),rotate(90.000000),scale(1.000000,1.206631),translate(-0.536206,-0.472473)",id:"radialGradient-2",children:[n.jsx("stop",{stopColor:"#68294F",stopOpacity:"0",offset:"0%"}),n.jsx("stop",{stopColor:"#5E2548",stopOpacity:"0.04641108",offset:"75.3503173%"}),n.jsx("stop",{stopColor:"#0D060B",stopOpacity:"0.437431709",offset:"100%"})]}),n.jsxs("radialGradient",{cx:"53.8605015%",cy:"48.1990423%",fx:"53.8605015%",fy:"48.1990423%",r:"59.9151549%",gradientTransform:"translate(0.538605,0.481990),rotate(180.000000),scale(1.000000,0.925027),translate(-0.538605,-0.481990)",id:"radialGradient-3",children:[n.jsx("stop",{stopColor:"#68294F",stopOpacity:"0",offset:"0%"}),n.jsx("stop",{stopColor:"#5E2548",stopOpacity:"0.04641108",offset:"84.0867343%"}),n.jsx("stop",{stopColor:"#FF0000",stopOpacity:"0.567324765",offset:"100%"})]})]}),n.jsx("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:n.jsxs("g",{id:"firecms_logo",children:[n.jsx("circle",{fill:"url(#radialGradient-1)",cx:"299.5",cy:"299.5",r:"299.5"}),n.jsx("circle",{fill:"url(#radialGradient-2)",cx:"299.5",cy:"299.5",r:"299.5"}),n.jsx("circle",{fill:"url(#radialGradient-3)",cx:"299.5",cy:"299.5",r:"299.5"})]})})]})}const a3={info:"bg-sky-200 dark:bg-teal-900",warn:"bg-orange-200 dark:bg-yellow-950"};function l3({children:e,mode:t="info"}){return n.jsx("div",{className:E("my-3 py-2 px-4 rounded",a3[t]),children:e})}const _a=function({title:t,endAdornment:c,startAdornment:i,drawerOpen:a,dropDownActions:l,includeDrawer:s,className:d,style:u,user:A}){const y=fe(),g=pn(),{mode:h,toggleMode:_}=Fr(),I=We(),b=A??g.user;let p;if(b&&b.photoURL)p=n.jsx(Qt,{src:b.photoURL});else if(b===void 0||g.initialLoading)p=n.jsx("div",{className:"p-1 flex justify-center",children:n.jsx(Qe,{className:"w-10 h-10 rounded-full"})});else{const w=b?.displayName?b.displayName[0].toUpperCase():b?.email?b.email[0].toUpperCase():"A";p=n.jsx(Qt,{children:w})}return n.jsx("div",{style:u,className:E("pr-2",{"ml-[17rem]":a&&I,"ml-16":s&&!(a&&I)&&!i,"h-16":!0,"z-10":I,"transition-all":!0,"ease-in":!0,"duration-75":!0,"w-full":!s,"w-[calc(100%-64px)]":s&&!(a&&I),"w-[calc(100%-17rem)]":s&&a&&I,"duration-150":a&&I,fixed:!0},d),children:n.jsxs("div",{className:"flex flex-row gap-2 px-4 h-full items-center",children:[i,y&&n.jsx("div",{className:"mr-8 hidden lg:block",children:n.jsx(he.Link,{className:"visited:text-inherit visited:dark:text-inherit",to:y?.basePath??"/",children:n.jsx(j,{variant:"subtitle1",noWrap:!0,className:"ml-2 !font-medium",children:t})})}),n.jsx("div",{className:"flex-grow"}),c&&n.jsx(le,{children:c}),n.jsx(x,{color:"inherit","aria-label":"Open drawer",onClick:_,size:"large",children:h==="dark"?n.jsx(uc,{}):n.jsx(Kc,{})}),n.jsxs(Qn,{trigger:p,children:[l,!l&&n.jsxs(ke,{onClick:g.signOut,children:[n.jsx(Ec,{}),"Log Out"]})]})]})})},s3=e=>e&&Array.isArray(e)&&e.length>0?e.map((t,c)=>t?{[lr(t)+c]:_o()}:{}).reduce((t,c)=>({...t,...c}),{}):{};function Tt({droppableId:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,size:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:A}){const y=c&&Array.isArray(c)&&c.length>0,g=f.useRef(s3(c)),[h,_]=f.useState(y?Object.values(g.current):[]);f.useEffect(()=>{if(y&&c&&c.length!==h.length){const k=c.map((m,K)=>{const v=lr(m)+K;if(v in g.current)return g.current[v];{const C=_o();return g.current[v]=C,C}});_(k)}},[y,h.length,c]);const I=k=>{if(k.preventDefault(),i)return;const m=_o(),K=[...h,m];s&&s(m),_(K),A([...c??[],u])},b=k=>{const m=[...h];m.splice(k,1),_(m),A(c.filter((K,v)=>v!==k))},p=k=>{const m=_o(),K=c[k],v=[...h.splice(0,k+1),m,...h.splice(k+1,h.length-k-1)];s&&s(m),_(v),A([...c.slice(0,k+1),K,...c.slice(k+1)])},w=k=>{if(!k.destination)return;const m=k.source.index,K=k.destination.index,v=[...h],C=v[m];v[m]=v[K],v[K]=C,_(v),A(d3(c,m,K))};return n.jsx(Kn.DragDropContext,{onDragEnd:w,children:n.jsx(Kn.Droppable,{droppableId:e,renderClone:(k,m,K)=>{const v=K.source.index,C=h[v];return n.jsx(Mt,{provided:k,internalId:C,index:v,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:m.isDragging})},children:(k,m)=>n.jsxs("div",{...k.droppableProps,ref:k.innerRef,children:[y&&h.map((K,v)=>n.jsx(Kn.Draggable,{draggableId:`array_field_${K}`,isDragDisabled:i,index:v,children:(C,S)=>n.jsx(Mt,{provided:C,internalId:K,index:v,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:S.isDragging})},`array_field_${K}`)),k.placeholder,d&&n.jsx("div",{className:"p-4 justify-center text-left",children:n.jsx(ce,{variant:l==="small"?"text":"outlined",size:l==="small"?"small":"medium",color:"primary",disabled:i,startIcon:n.jsx(bn,{}),onClick:I,children:t??"Add"})})]})})})}function Mt({provided:e,index:t,internalId:c,size:i,disabled:a,buildEntry:l,remove:s,copy:d,isDragging:u}){const[A,y]=or(),g=i!=="small"&&y.height===0,h=i!=="small"&&y.height<100,[_,I]=f.useState(!1),b=f.useCallback(()=>I(!0),[]),p=f.useCallback(()=>I(!1),[]);return n.jsx("div",{onMouseEnter:b,onMouseMove:b,onMouseLeave:p,ref:e.innerRef,...e.draggableProps,style:e.draggableProps.style,className:`${u||_?Ge:""} mb-1 rounded-md opacity-100`,children:n.jsxs("div",{className:"flex items-start",children:[n.jsx("div",{ref:A,className:"flex-grow w-[calc(100%-48px)] text-text-primary dark:text-text-primary-dark",children:l(t,c)}),n.jsx(ya,{direction:i==="small"?"row":"column",disabled:a,remove:s,index:t,provided:e,measuring:g,contentOverflow:h,copy:d})]})})}function ya({direction:e,disabled:t,remove:c,index:i,provided:a,copy:l,contentOverflow:s,measuring:d}){return n.jsxs("div",{className:`p-1 flex ${e==="row"?"flex-row-reverse":"flex-col"} items-center`,...a.dragHandleProps,children:[n.jsx(_e,{side:e==="column"?"left":void 0,title:"Move",children:n.jsx(x,{size:"small",disabled:t,className:`cursor-${t?"inherit":"grab"}`,children:n.jsx("svg",{focusable:"false",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",children:n.jsx("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"})})})}),!d&&!s&&n.jsxs(n.Fragment,{children:[n.jsx(_e,{title:"Remove",side:e==="column"?"left":void 0,children:n.jsx(x,{size:"small","aria-label":"remove",disabled:t,onClick:()=>c(i),children:n.jsx(to,{size:"small"})})}),n.jsx(_e,{side:e==="column"?"left":void 0,title:"Copy in this position",children:n.jsx(x,{size:"small","aria-label":"copy",disabled:t,onClick:()=>l(i),children:n.jsx(oo,{size:"small"})})})]}),!d&&s&&n.jsx(n.Fragment,{children:n.jsxs(Qn,{trigger:n.jsx(x,{size:"small",children:n.jsx(wr,{size:"small"})}),children:[n.jsxs(ke,{dense:!0,onClick:()=>c(i),children:[n.jsx(to,{size:"small"}),"Remove"]}),n.jsxs(ke,{dense:!0,onClick:()=>l(i),children:[n.jsx(oo,{size:"small"}),"Copy"]})]})})]})}function d3(e,t,c){const i=Array.from(e),[a]=i.splice(t,1);return i.splice(c,0,a),i}function _o(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const u3="100vw",f3="55vw",ga="768px",jo="main_##Q$SC^#S6";function A3({path:e,entityId:t,selectedSubPath:c,copy:i,collection:a,onValuesAreModified:l,formWidth:s,onUpdate:d,onClose:u}){a.customId&&a.formAutoSave&&console.warn(`The collection ${a.path} has customId and formAutoSave enabled. This is not supported and formAutoSave will be ignored`);const[A,y]=f.useState(!1),[g,h]=f.useState(void 0);Qo(g,()=>{g&&H({entityId:O?.id,collection:a,path:e,values:g,closeAfterSave:!1})},!1,2e3);const _=Le(),I=Yo(),b=Sn(),p=dn(),w=ee(),k=pn(),[m,K]=f.useState(void 0),[v,C]=f.useState(i?"copy":t?"existing":"new"),S=f.useRef(void 0),P=S.current,D=(a.subcollections??[]).filter(F=>!F.hideFromNavigation),T=D?.length??0,B=a.entityViews,N=B?.length??0,M=a.formAutoSave&&!a.customId,U=N>0||T>0,z=c??rt(a?a.defaultSelectedView:void 0,{status:v,entityId:t}),W=f.useRef(z??jo),oe=W.current===jo,{entity:L,dataLoading:Y,dataLoadingError:X}=Br({path:e,entityId:t,collection:a,useCache:!1}),[O,V]=f.useState(L),[Q,J]=f.useState(void 0);f.useEffect(()=>{L&&V(L)},[L]),f.useEffect(()=>{if(v==="new")J(!1);else{const F=O?at(a,k,Xe(e),O??null):!1;O&&J(!F)}},[k,O,v]);const ne=f.useCallback(F=>{y(!1),p.open({type:"error",message:"Error before saving: "+F?.message}),console.error(F)},[p]),$=f.useCallback(F=>{y(!1),p.open({type:"error",message:"Error after saving (entity is saved): "+F?.message}),console.error(F)},[p]),re=(F,R)=>{y(!1),M||p.open({type:"success",message:`${a.singularName??a.name}: Saved correctly`}),V(F),C("existing"),l(!1),d&&d({entity:F}),R?(I.setBlocked(!1),I.close(!0),u?.()):v!=="existing"&&b.replace({path:e,entityId:F.id,selectedSubPath:W.current,updateUrl:!0,collection:a})},ie=f.useCallback(F=>{y(!1),p.open({type:"error",message:"Error saving: "+F?.message}),console.error("Error saving entity",e,t),console.error(F)},[t,e,p]),H=({values:F,previousValues:R,closeAfterSave:Z,entityId:te,collection:me,path:Ue})=>{y(!0),Er({path:Ue,entityId:te,values:F,previousValues:R,collection:me,status:v,dataSource:_,context:w,onSaveSuccess:tn=>re(tn,Z),onSaveFailure:ie,onPreSaveHookError:ne,onSaveSuccessHookError:$}).then()},G=async({collection:F,path:R,entityId:Z,values:te,previousValues:me,closeAfterSave:Ue,autoSave:tn})=>{v&&(tn?h(te):H({collection:F,path:R,entityId:Z,values:te,previousValues:me,closeAfterSave:Ue}))},ue=B?B.map(F=>yt(F,w.entityViews)).filter(Boolean):[],Be=B&&ue.map((F,R)=>{if(!F||W.current!==F.key)return null;const Z=F.Builder;return Z?n.jsx("div",{className:E(de,"relative flex-grow w-full h-full overflow-auto "),role:"tabpanel",children:n.jsx(le,{children:m&&n.jsx(Z,{collection:a,entity:O,modifiedValues:P??O?.values,formContext:m})})},`custom_view_${F.key}`):(console.error("customView.Builder is not defined"),null)}).filter(Boolean),Oe=Y&&!O||(!O||Q===void 0)&&(v==="existing"||v==="copy"),He=Oe||A,Ve=D&&D.map((F,R)=>{const Z=F.alias??F.path,te=O?`${e}/${O?.id}/${Ie(Z)}`:void 0;return W.current!==Z?null:n.jsxs("div",{className:"relative flex-grow h-full overflow-auto w-full",role:"tabpanel",children:[He&&n.jsx(Ao,{}),!Oe&&(O&&te?n.jsx(Ft,{fullPath:te,parentPathSegments:Xe(e),isSubCollection:!0,...F}):n.jsx("div",{className:"flex items-center justify-center w-full h-full p-3",children:n.jsx(j,{variant:"label",children:"You need to save your entity before adding additional collections"})}))]},`subcol_${Z}`)}).filter(Boolean),rn=f.useCallback(()=>{l(!1)},[]),yo=F=>{W.current=F,b.replace({path:e,entityId:t,selectedSubPath:F===jo?void 0:F,updateUrl:!0,collection:a})},zn=f.useCallback(F=>{S.current=F},[]),Hn=f.useCallback(F=>{p.open({type:"error",message:"Error updating id, check the console"})},[]),Un=f.useCallback(F=>{V(R=>R?{...R,id:F}:void 0)},[]),Yn=F=>{M||l(F)};function yn(){const F=w.plugins;let R=n.jsx(Pi,{status:v,path:e,collection:a,onEntitySaveRequested:G,onDiscard:rn,onValuesChanged:zn,onModified:Yn,entity:O,onIdChange:Un,onFormContextChange:K,hideId:a.hideIdFromForm,autoSave:M,onIdUpdateError:Hn});return F&&F.forEach(Z=>{Z.form?.provider&&(R=n.jsx(Z.form.provider.Component,{status:v,path:e,collection:a,onDiscard:rn,onValuesChanged:zn,onModified:Yn,entity:O,context:w,formContext:m,...Z.form.provider.props,children:R}))}),n.jsx(le,{children:R})}const go=Q===void 0?n.jsx(n.Fragment,{}):Q?n.jsxs(n.Fragment,{children:[n.jsx(j,{className:"mt-16 mb-8 mx-8",variant:"h4",children:a.singularName??a.name}),n.jsx(ht,{className:"px-12",entity:O,path:e,collection:a})]}):yn(),ho=D&&D.map(F=>n.jsx(Ro,{className:"text-sm min-w-[140px]",value:F.path,children:F.name},`entity_detail_collection_tab_${F.name}`)),$n=ue.map(F=>n.jsx(Ro,{className:"text-sm min-w-[140px]",value:F.key,children:F.name},`entity_detail_collection_tab_${F.name}`));return n.jsx("div",{className:"flex flex-col h-full w-full transition-width duration-250 ease-in-out",children:n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:E(de,"no-scrollbar border-b pl-2 pr-2 pt-1 flex items-end overflow-scroll bg-gray-50 dark:bg-gray-950"),children:[n.jsx("div",{className:"pb-1 self-center",children:n.jsx(x,{onClick:()=>(u?.(),I.close(!1)),size:"large",children:n.jsx(hr,{})})}),n.jsx("div",{className:"flex-grow"}),Oe&&n.jsx("div",{className:"self-center",children:n.jsx(Gn,{size:"small"})}),n.jsxs(va,{value:W.current,onValueChange:F=>{yo(F)},className:"pl-4 pr-4 pt-0",children:[n.jsx(Ro,{disabled:!U,value:jo,className:`${U?"":"hidden"} text-sm min-w-[140px]`,children:a.singularName??a.name}),$n,ho]})]}),n.jsxs("div",{className:"flex-grow h-full flex overflow-auto flex-row w-full ",style:{},children:[n.jsx("div",{role:"tabpanel",hidden:!oe,id:`form_${e}`,className:" w-full",children:Oe?n.jsx(Ao,{}):go}),Be,Ve]})]})})}function _3(e){const{blocked:t,setBlocked:c,setBlockedNavigationMessage:i}=Yo(),a=fe(),l=f.useMemo(()=>{if(!e)return;let d=e.collection;if(!d&&(d=a.getCollection(e.path,e.entityId),!d))throw console.error("ERROR: No collection found in path `",e.path,"`. Entity id: ",e.entityId),Error("ERROR: No collection found in path `"+e.path+"`. Make sure you have defined a collection for this path in the root navigation.");return d},[a,e]);f.useEffect(()=>{function d(u){t&&l&&(u.preventDefault(),u.returnValue=`You have unsaved changes in this ${l.name}. Are you sure you want to leave this page?`)}return typeof window<"u"&&window.addEventListener("beforeunload",d),()=>{typeof window<"u"&&window.removeEventListener("beforeunload",d)}},[t,l]);const s=f.useCallback(d=>{c(d),i(d?n.jsxs(n.Fragment,{children:[" You have unsaved changes in this ",n.jsx("b",{children:l?.singularName??l?.name}),"."]}):void 0)},[l?.name,c,i]);return!e||!l?n.jsx("div",{className:"w-full"}):n.jsx(n.Fragment,{children:n.jsx(le,{children:n.jsx(A3,{...e,formWidth:e.width,collection:l,onValuesAreModified:s})})})}const ha="new";function y3(e,t){if(t)return u3;const c=!e.selectedSubPath,i=typeof e.width=="number"?`${e.width}px`:e.width;return c?i??ga:`calc(${f3} + ${i??ga})`}const g3=(e,t)=>{const c=he.useLocation(),i=f.useRef(!1),a=!We();f.useEffect(()=>{if(!e.loading&&!i.current){if(e.isUrlCollectionPath(c.pathname)){const u=c.hash===`#${ha}`,A=e.urlPathToDataPath(c.pathname),y=h3(A,e.collections,u);t.replace(y.map(g=>Ot(g,e,a)))}i.current=!0}},[c,e,t,a]);const l=f.useCallback(()=>{t.close()},[t]),s=f.useCallback(u=>{if(u.copy&&!u.entityId)throw Error("If you want to copy an entity you need to provide an entityId");const A=rt(u.collection?u.collection.defaultSelectedView:void 0,{status:u.copy?"copy":u.entityId?"existing":"new",entityId:u.entityId});t.open(Ot({selectedSubPath:A,...u},e,a))},[t,e,a]),d=f.useCallback(u=>{if(u.copy&&!u.entityId)throw Error("If you want to copy an entity you need to provide an entityId");t.replace(Ot(u,e,a))},[e,t,a]);return{close:l,open:s,replace:d}};function h3(e,t,c){const i=gt({path:e,collections:t}),a=[];let l="";for(let s=0;s<i.length;s++){const d=i[s];if(d.type==="collection"&&(l=d.path),s>0){const u=i[s-1];if(d.type==="entity")a.push({path:d.path,entityId:d.entityId,copy:!1});else if(d.type==="custom_view"){if(u.type==="entity"){const A=a[a.length-1];A&&(A.selectedSubPath=d.view.key)}}else if(d.type==="collection"&&u.type==="entity"){const A=a[a.length-1];A&&(A.selectedSubPath=d.collection.alias??d.collection.path)}}}return c&&a.push({path:l,copy:!1}),a}const Ot=(e,t,c)=>{const i=Ie(e.path),a=e.entityId?t.buildUrlCollectionPath(`${i}/${e.entityId}/${e.selectedSubPath||""}`):t.buildUrlCollectionPath(`${i}#${ha}`);return{key:`${e.path}/${e.entityId}`,component:n.jsx(_3,{...e}),urlPath:a,parentUrlPath:t.buildUrlCollectionPath(i),width:y3(e,c),onClose:e.onClose}};function Ia(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=Ie(t).split("/"),l=wo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(y=>y.alias===u||y.path===u);if(A){const y=A.alias??A.path,g=i&&i.length>0?i+"/"+y:y,h=Ie(Ie(t).replace(u,"")),_=h.length>0?h.split("/"):[];if(_.length>0){const I=_[0],b=g+"/"+I;if(s.push(new qe(I,g)),_.length>1){const p=_.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);A.subcollections&&s.push(...Ia({path:p,collections:A.subcollections,currentFullPath:b}))}}break}}return s}function I3({basePath:e,baseCollectionPath:t,authController:c,collections:i,views:a,userConfigPersistence:l,plugins:s,dataSource:d}){const u=he.useLocation(),[A,y]=f.useState(),[g,h]=f.useState(),[_,I]=f.useState(!1),[b,p]=f.useState(void 0),[w,k]=f.useState(!0),[m,K]=f.useState(void 0),v=Ie(e),C=Ie(t),S=v?`/${v}`:"/",P=v?`/${v}/${C}`:`/${C}`,D=f.useCallback(V=>v?`/${v}/${qo(V)}`:`/${qo(V)}`,[v]),T=f.useCallback(V=>`${Ie(t)}/${qo(V)}`,[t]),B=f.useCallback((V,Q)=>{const J=[...(V??[]).map($=>$.hideFromNavigation?void 0:{url:T($.alias??$.path),type:"collection",name:$.name.trim(),path:$.alias??$.path,collection:$,description:$.description?.trim(),group:$.group?.trim()}).filter(Boolean),...(Q??[]).map($=>$.hideFromNavigation?void 0:{url:D(Array.isArray($.path)?$.path[0]:$.path),name:$.name.trim(),type:"view",view:$,description:$.description?.trim(),group:$.group?.trim()}).filter(Boolean)],ne=Object.values(J).map($=>$.group).filter(Boolean).filter(($,re,ie)=>ie.indexOf($)===re);return{navigationEntries:J,groups:ne}},[D,T]),N=f.useCallback(async()=>{if(!c.initialLoading){try{const[V=[],Q=[]]=await Promise.all([b3(i,c,d,s),p3(a,c,d)]);y(V),h(Q),p(B(V??[],Q))}catch(V){console.error(V),K(V)}k(!1),I(!0)}},[i,c.user,c.initialLoading,d,s,a,B]);f.useEffect(()=>{N()},[N]);const M=f.useCallback((V,Q,J=!1)=>{if(!A)return;const ne=po(Ie(V),A),$=J?l?.getCollectionConfig(V):void 0,re=ne?Je(ne,$):void 0;let ie=re;if(re){const H=re.subcollections,G=re.callbacks,ue=re.permissions;ie={...ie,subcollections:ie?.subcollections??H,callbacks:ie?.callbacks??G,permissions:ie?.permissions??ue}}if(ie)return{...re,...ie}},[e,t,A]),U=f.useCallback(V=>{let Q=A;if(!Q)throw Error("Collections have not been initialised yet");for(let J=0;J<V.length;J++){const ne=V[J],$=Q.find(re=>re.alias===ne||re.path===ne);if(!$)return;if(Q=$.subcollections,J===V.length-1)return $}},[A]),z=f.useCallback(V=>Ie(V+"/").startsWith(Ie(P)+"/"),[P]),W=f.useCallback(V=>{if(V.startsWith(P))return V.replace(P,"");throw Error("Expected path starting with "+P)},[P]),oe=f.useCallback(({path:V})=>`s/edit/${qo(V)}`,[]),L=f.useCallback(V=>{if(!A)throw Error("Collections have not been initialised yet");return cr(V,A)},[A]),Y=u.state,X=Y&&Y.base_location?Y.base_location:u,O=f.useCallback(V=>Ia({path:V,collections:A}),[A]);return f.useMemo(()=>({collections:A??[],views:g??[],loading:!_||w,navigationLoadingError:m,homeUrl:S,basePath:e,baseCollectionPath:t,initialised:_,getCollection:M,getCollectionFromPaths:U,isUrlCollectionPath:z,urlPathToDataPath:W,buildUrlCollectionPath:T,buildUrlEditCollectionPath:oe,buildCMSUrlPath:D,resolveAliasesFrom:L,topLevelNavigation:b,baseLocation:X,refreshNavigation:N,getParentReferencesFromPath:O}),[t,X,e,D,T,oe,A,O,M,U,S,_,z,w,m,N,L,b,W,g])}function qo(e){return encodeURIComponent(Ie(e)).replaceAll("%2F","/").replaceAll("%23","#")}function ba(e,t){return e.filter(c=>c.permissions?uo(c,t,[c.path],null).read!==!1:!0).map(c=>c.subcollections?{...c,subcollections:ba(c.subcollections,t)}:c)}async function b3(e,t,c,i){let a=[];return typeof e=="function"?a=await e({user:t.user,authController:t,dataSource:c}):Array.isArray(e)&&(a=e),a=ba(a,t),i&&i.forEach(l=>{l.collections?.injectCollections&&(a=l.collections?.injectCollections(a??[]))}),a}async function p3(e,t,c){let i=[];return typeof e=="function"?i=await e({user:t.user,authController:t,dataSource:c}):Array.isArray(e)&&(i=e),i}function w3(){const e=he.useLocation(),t=he.useNavigate(),[c,i]=f.useState([]),a=f.useRef(c),l=f.useRef({}),s=f.useRef(0),d=g=>{a.current=g,i(g)};f.useEffect(()=>{const _=(e.state?.panels??[]).map(I=>l.current[I]).filter(I=>!!I);se(a.current.map(I=>I.key),_.map(I=>I.key))||d(_)},[e]);const u=f.useCallback(()=>{if(c.length===0)return;const g=c[c.length-1],h=[...c.slice(0,-1)];if(d(h),s.current>0)g.urlPath&&t(-1),s.current--;else if(g.parentUrlPath){const _=e.state?.base_location??e;t(g.parentUrlPath,{replace:!0,state:{base_location:_,panels:h.map(I=>I.key)}})}},[c,t,e]),A=f.useCallback(g=>{const h=Array.isArray(g)?g:[g];h.forEach(b=>{l.current[b.key]=b}),s.current=s.current+h.length;const _=e.state?.base_location??e,I=[...c,...h];d(I),h.forEach(b=>{b.urlPath&&t(b.urlPath,{state:{base_location:_,panels:I.map(p=>p.key)}})})},[e,t,c]),y=f.useCallback(g=>{const h=Array.isArray(g)?g:[g];h.forEach(b=>{l.current[b.key]=b});const _=e.state?.base_location??e,I=[...c.slice(0,-h.length),...h];d(I),h.forEach(b=>{b.urlPath&&t(b.urlPath,{replace:!0,state:{base_location:_,panels:I.map(p=>p.key)}})})},[e,t,c]);return{sidePanels:c,close:u,open:A,replace:y}}function k3(e){f.useEffect(()=>{if(!e)return;const t=qt[e];t&&(er.registerLocale(e,t),er.setDefaultLocale(e))},[e])}const m3="/",v3="/c";function K3(e){const t=Fr(),{children:c,collections:i,views:a,entityLinkBuilder:l,userConfigPersistence:s,dateTimeFormat:d,locale:u,authController:A,storageSource:y,dataSource:g,basePath:h=m3,baseCollectionPath:_=v3,plugins:I,onAnalyticsEvent:b,fields:p,entityViews:w,components:k}=e;k3(u);const m=I3({basePath:h,baseCollectionPath:_,authController:A,collections:i,views:a,userConfigPersistence:s,dataSource:g,plugins:I}),K=w3(),v=g3(m,K),C=A.initialLoading||m.loading||(I?.some(P=>P.loading)??!1),S=f.useMemo(()=>({entityLinkBuilder:l,dateTimeFormat:d,locale:u,plugins:I,onAnalyticsEvent:b,entityViews:w??[],fields:p??{},components:k}),[d,u,I,w,p,k]);return m.navigationLoadingError?n.jsx(Wt,{maxWidth:"md",fullScreen:!0,children:n.jsx(pe,{title:"Error loading navigation",error:m.navigationLoadingError})}):A.authError?n.jsx(Wt,{maxWidth:"md",fullScreen:!0,children:n.jsx(pe,{title:"Error loading auth",error:A.authError})}):n.jsx(tr.Provider,{value:t,children:n.jsx(Cr.Provider,{value:S,children:n.jsx(zc.Provider,{value:s,children:n.jsx(Gc.Provider,{value:y,children:n.jsx(Lc.Provider,{value:g,children:n.jsx(Kr.Provider,{value:A,children:n.jsx(Vc.Provider,{value:K,children:n.jsx(Wc.Provider,{value:v,children:n.jsx(Qc.Provider,{value:m,children:n.jsx($a,{children:n.jsx(C3,{loading:C,children:c})})})})})})})})})})})}function C3({loading:e,children:t}){const c=ee();let i=t({context:c,loading:e});const a=c.plugins;return!e&&a&&a.forEach(l=>{l.provider&&(i=n.jsx(l.provider.Component,{...l.provider.props,context:c,children:i}))}),n.jsx(n.Fragment,{children:i})}function pa({hovered:e,drawerOpen:t,closeDrawer:c}){const i=ee(),a=fe(),l=e&&!t,s=We();if(!a.topLevelNavigation)throw Error("Navigation not ready in Drawer");const{navigationEntries:d,groups:u}=a.topLevelNavigation,A=Object.values(d).filter(h=>!h.group),y=f.useCallback(h=>t?n.jsx("div",{className:"pt-8 pl-6 pr-8 pb-2 flex flex-row items-center",children:n.jsx(j,{variant:"caption",color:"secondary",className:"font-medium flex-grow",children:h?h.toUpperCase():"Views".toUpperCase()})}):n.jsx("div",{className:"h-4"}),[t]),g=h=>{const _=h.type==="collection"?"drawer_navigate_to_collection":h.type==="view"?"drawer_navigate_to_view":"unmapped_event";i.onAnalyticsEvent?.(_,{url:h.url}),s||c()};return n.jsxs("div",{className:"flex-grow overflow-scroll no-scrollbar",children:[u.map(h=>n.jsxs(f.Fragment,{children:[y(h),Object.values(d).filter(_=>_.group===h).map((_,I)=>n.jsx(Lt,{icon:Go(_.collection??_.view),tooltipsOpen:l,drawerOpen:t,onClick:()=>g(_),url:_.url,name:_.name},`navigation_${I}`))]},`drawer_group_${h}`)),A.length>0&&y(),A.map((h,_)=>n.jsx(Lt,{icon:Go(h.collection??h.view),tooltipsOpen:l,onClick:()=>g(h),drawerOpen:t,url:h.url,name:h.name},`navigation_${_}`))]})}function Lt({name:e,icon:t,drawerOpen:c,tooltipsOpen:i,url:a,onClick:l}){const s=n.jsx("div",{className:"text-gray-600 dark:text-gray-500",children:t}),d=n.jsxs(he.NavLink,{onClick:l,className:({isActive:u})=>E("rounded-r-xl truncate","hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75 text-gray-800 dark:text-gray-200 hover:text-gray-900 hover:dark:text-gray-100","flex flex-row items-center w-full mr-8",c?"pl-8 h-12":"pl-6 h-11","font-medium text-sm",u?"bg-gray-100 dark:bg-gray-800":""),to:a,children:[s,n.jsx("div",{className:E(c?"opacity-100":"opacity-0 hidden","ml-4 font-inherit text-inherit"),children:e.toUpperCase()})]});return c?d:n.jsx(_e,{open:i,side:"right",title:e,children:d})}const S3=280,B3=f.memo(function(t){const{children:c,name:i,logo:a,includeDrawer:l=!0,autoOpenDrawer:s,Drawer:d=pa,drawerProps:u,FireCMSAppBarComponent:A=_a,fireCMSAppBarComponentProps:y}=t,g=We(),h=fe(),[_,I]=f.useState(!1),[b,p]=f.useState(!1),w=f.useCallback(()=>p(!0),[]),k=f.useCallback(()=>p(!1),[]),m=f.useCallback(()=>{I(!1)},[]),K=_||!!(g&&s&&b);return n.jsxs("div",{className:"flex h-screen w-screen bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-white overflow-hidden",style:{paddingTop:"env(safe-area-inset-top)",paddingLeft:"env(safe-area-inset-left)",paddingRight:"env(safe-area-inset-right)",paddingBottom:"env(safe-area-inset-bottom)",height:"100dvh"},children:[n.jsx(A,{title:i,includeDrawer:l,drawerOpen:K,...y}),n.jsx(F3,{displayed:l,onMouseEnter:w,onMouseMove:w,onMouseLeave:k,open:K,logo:a,hovered:b,setDrawerOpen:I,children:l&&(h.loading?n.jsx(Ao,{}):n.jsx(d,{hovered:b,drawerOpen:K,closeDrawer:m,...u}))}),n.jsxs("main",{className:"flex flex-col flex-grow overflow-auto",children:[n.jsx(E3,{}),n.jsx("div",{className:E(de,"flex-grow overflow-auto lg:m-0 lg:mx-4 lg:mb-4 lg:rounded-lg lg:border lg:border-solid m-0 mt-1"),children:n.jsx(le,{children:c})})]})]})},se),E3=()=>n.jsx("div",{className:"flex flex-col min-h-[68px]"});function F3(e){const t=fe(),c=e.displayed?e.open?S3:72:0,i=n.jsxs("div",{className:"relative h-full no-scrollbar overflow-y-auto overflow-x-hidden",style:{width:c,transition:"left 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, opacity 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, width 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms"},children:[!e.open&&e.displayed&&n.jsx(_e,{title:"Open menu",side:"right",sideOffset:12,className:"fixed top-2 left-3 !bg-gray-50 dark:!bg-gray-900 rounded-full w-fit",children:n.jsx(x,{color:"inherit","aria-label":"Open menu",className:"sticky top-2 left-3 ",onClick:()=>e.setDrawerOpen(!0),size:"large",children:n.jsx(pr,{})})}),n.jsxs("div",{className:"flex flex-col h-full",children:[n.jsx("div",{style:{transition:"padding 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",padding:e.open?"32px 96px 0px 24px":"72px 16px 0px"},className:E("cursor-pointer"),children:n.jsx(_e,{title:"Home",sideOffset:20,side:"right",children:n.jsx(he.Link,{to:t.basePath,children:e.logo?n.jsx("img",{src:e.logo,alt:"Logo",className:E("max-w-full max-h-full",e.open??"w-[160px] h-[160px]")}):n.jsx(Aa,{})})})}),e.children]})]});return We()?n.jsxs("div",{className:"relative",onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,style:{width:c,transition:"left 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, opacity 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, width 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms"},children:[i,n.jsx("div",{className:`absolute right-0 top-4 ${e.open?"opacity-100":"opacity-0 invisible"} transition-opacity duration-1000 ease-in-out`,children:n.jsx(x,{"aria-label":"Close drawer",onClick:()=>e.setDrawerOpen(!1),children:n.jsx(dc,{})})})]}):e.displayed?n.jsxs(n.Fragment,{children:[n.jsx(x,{color:"inherit","aria-label":"Open drawer",onClick:()=>e.setDrawerOpen(!0),size:"large",className:"absolute top-2 left-6",children:n.jsx(pr,{})}),n.jsx(zt,{side:"left",transparent:!0,open:e.open,onOpenChange:e.setDrawerOpen,children:i})]}):null}const P3=f.memo(function({HomePage:t=ua,customRoutes:c}){const i=he.useLocation(),a=fe();if(!a)return n.jsx(n.Fragment,{});const l=i.state,s=l&&l.base_location?l.base_location:i,d=[];a.views&&a.views.forEach(h=>{Array.isArray(h.path)?d.push(...h.path.map(_=>wa(_,h))):d.push(wa(h.path,h))});const A=[...a.collections??[]].sort((h,_)=>_.path.length-h.path.length).map(h=>{const _=a.buildUrlCollectionPath(h.alias??h.path);return n.jsx(he.Route,{path:_+"/*",element:n.jsx(Jo,{path:_,title:h.name,type:"collection",children:n.jsx(Ft,{isSubCollection:!1,parentPathSegments:[],fullPath:h.alias??h.path,...h,Actions:$o(h.Actions)},`collection_view_${h.alias??h.path}`)})},`navigation_${h.alias??h.path}`)}),y=n.jsx(he.Route,{path:"/",element:n.jsx(Jo,{path:a.homeUrl,title:"Home",type:"home",children:n.jsx(t,{})},"navigation_home")}),g=n.jsx(he.Route,{path:"*",element:n.jsx(fa,{})});return n.jsxs(he.Routes,{location:s,children:[A,d,y,g,c]})}),wa=(e,t)=>n.jsx(he.Route,{path:e,element:n.jsx(Jo,{path:e,title:t.name,type:"view",children:t.view},`navigation_${e}`)},"navigation_view_"+e),Jo=f.memo(function({children:t,title:c,path:i,type:a}){const l=Pr();return f.useEffect(()=>{l.set({breadcrumbs:[{title:c,url:i}]})},[i,c]),n.jsx(n.Fragment,{children:t})},se);function D3(e){return e}function N3(e){return e}function T3(e){return e}function M3(e){return e}function O3(e){return e}function L3(e){return e}function Q3(e){return e}function V3(e){return e}function W3(e){return e}function G3(){const e=typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)"),c=(localStorage.getItem("prefers-dark-mode")!=null?localStorage.getItem("prefers-dark-mode")==="true":null)??e,[i,a]=f.useState(c?"dark":"light");f.useEffect(()=>{a(c?"dark":"light"),d(c?"dark":"light")},[c]);const l=f.useCallback(()=>{a("dark"),d("dark")},[e]),s=f.useCallback(()=>{a("light"),d("light")},[]),d=A=>{document.body.style.setProperty("color-scheme",A),document.documentElement.dataset.theme=A},u=f.useCallback(()=>{i==="light"?(e?localStorage.removeItem("prefers-dark-mode"):localStorage.setItem("prefers-dark-mode","true"),l()):(e?localStorage.setItem("prefers-dark-mode","false"):localStorage.removeItem("prefers-dark-mode"),s())},[i,e]);return{mode:i,setMode:a,toggleMode:u}}function z3(){const[e,t]=f.useState({}),c=f.useCallback(I=>{const b=localStorage.getItem(I);return b?JSON.parse(b):{}},[]),i=f.useCallback(I=>{const b=`collection_config::${tt(I)}`;return e[b]?e[b]:c(b)},[e,c]),a=f.useCallback((I,b)=>{const p=`collection_config::${tt(I)}`;localStorage.setItem(p,JSON.stringify(b)),t(w=>{const k=w[p],m=Je(k??c(I),b);return Je(w,m)})},[c]),[l,s]=f.useState([]),[d,u]=f.useState([]),[A,y]=f.useState([]);f.useEffect(()=>{s(localStorage.getItem("recently_visited_paths")?JSON.parse(localStorage.getItem("recently_visited_paths")):[]),u(localStorage.getItem("favourite_paths")?JSON.parse(localStorage.getItem("favourite_paths")):[]),y(localStorage.getItem("collapsed_groups")?JSON.parse(localStorage.getItem("collapsed_groups")):[])},[]);const g=f.useCallback(I=>{localStorage.setItem("recently_visited_paths",JSON.stringify(I)),s(I)},[]),h=f.useCallback(I=>{localStorage.setItem("favourite_paths",JSON.stringify(I)),u(I)},[]),_=f.useCallback(I=>{localStorage.setItem("collapsed_groups",JSON.stringify(I)),y(I)},[]);return{onCollectionModified:a,getCollectionConfig:i,recentlyVisitedPaths:l,setRecentlyVisitedPaths:g,favouritePaths:d,setFavouritePaths:h,collapsedGroups:A,setCollapsedGroups:_}}const H3=({children:e})=>n.jsx(Yt.SnackbarProvider,{maxSnack:3,autoHideDuration:3500,children:e});function Zo({children:e,className:t,in:c=!1,duration:i=220}){return Dn(`Collapse-${i}`,`
1580
+ .CollapseContent-${i} {
1581
+ overflow: hidden;
1582
+ }
1583
+ .CollapseContent-${i}[data-state='open'] {
1584
+ animation: slideDown ${i}ms ease-out;
1585
+ }
1586
+ .CollapseContent-${i}[data-state='closed'] {
1587
+ animation: slideUp ${i}ms ease-in;
1588
+ }
1589
+
1590
+ @keyframes slideDown {
1591
+ from {
1592
+ height: 0;
1593
+ }
1594
+ to {
1595
+ height: var(--radix-collapsible-content-height);
1596
+ }
1597
+ }
1598
+
1599
+ @keyframes slideUp {
1600
+ from {
1601
+ height: var(--radix-collapsible-content-height);
1602
+ }
1603
+ to {
1604
+ height: 0;
1605
+ }
1606
+ }
1607
+ `),n.jsx(Jn.Root,{open:c,className:t,children:n.jsx(Jn.Content,{className:E(`CollapseContent-${i}`),children:e})})}const U3=({ref:e})=>{const[t,c]=f.useState(!1),[i,a]=f.useState(!1);return f.useEffect(()=>{e.current&&(e.current.onfocus=()=>{c(!0),a(!0)},e.current.onblur=()=>{a(!1)})},[e]),{inputFocused:i,autoCompleteOpen:t,setAutoCompleteOpen:c}};function Y3({children:e,open:t,setOpen:c}){const i=f.useRef(null);return Mo(i,()=>c(!1)),n.jsx(Zo,{in:t,duration:50,className:E("absolute top-full left-0 right-0 overflow-visible",t?"shadow":"","my-2","z-20","w-full"),children:n.jsx("div",{ref:i,className:E(t?ze:"","bg-gray-50 dark:bg-gray-900 py-2"),children:e})})}function $3({children:e,onClick:t}){return n.jsx("div",{className:"flex w-full items-center pr-6 pl-14 h-[48px] cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800",onClick:t,children:e})}const j3=e=>{switch(e){case"error":return"bg-red-50 dark:bg-red-800 dark:text-red-100 text-red-900";case"warning":return"bg-amber-50 dark:bg-amber-800 dark:text-amber-100 text-amber-900";case"info":return"bg-blue-50 dark:bg-blue-800 dark:text-blue-100 text-blue-900";case"success":return"bg-emerald-50 dark:bg-emerald-800 dark:text-emerald-100 text-emerald-900";default:return"bg-blue-50 dark:bg-blue-800 dark:text-blue-100 text-blue-900"}},q3=({children:e,onDismiss:t,color:c="info",action:i,className:a,style:l})=>{const s=j3(c);return n.jsxs("div",{style:l,className:E("px-4 py-2 rounded-md flex items-center gap-2",s,a),children:[n.jsx("span",{className:"flex-grow",children:e}),t&&n.jsx("button",{className:"text-gray-400 hover:text-gray-600 dark:text-gray-500 dark:hover:text-gray-400",onClick:t,children:"×"}),i]})},J3=({src:e,alt:t,children:c,className:i,...a},l)=>n.jsx("button",{ref:l,...a,className:E("rounded-full flex items-center justify-center overflow-hidden",ge,"p-1 hover:bg-gray-200 hover:dark:bg-gray-700",i),children:e?n.jsx("img",{className:"object-cover rounded-full w-10 h-10 bg-gray-100 dark:bg-gray-800",src:e,alt:t}):n.jsx("span",{className:"py-1.5 text-lg font-medium text-gray-900 dark:text-white rounded-full w-10 h-10 bg-gray-100 dark:bg-gray-800",children:c})}),Qt=f.forwardRef(J3);function ka({children:e,style:t,onClick:c,className:i}){const a=f.useCallback(l=>{(l.key==="Enter"||l.key===" ")&&c?.()},[c]);return n.jsx("div",{onKeyPress:a,role:c?"button":void 0,tabIndex:c?0:void 0,onClick:c,className:E(xc,c&&ge,c&&Rc,i),style:t,children:e})}const Z3={xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl","7xl":"max-w-7xl"},X3=({children:e,className:t,style:c,maxWidth:i="7xl"},a)=>{const l=i?Z3[i]:"";return n.jsx("div",{ref:a,className:E("mx-auto px-3 md:px-4 lg-px-6",l,t),style:c,children:e})},Vt=f.forwardRef(X3);function Wt({children:e,maxWidth:t,fullScreen:c=!1,className:i}){return n.jsx("div",{className:"flex flex-col flex-grow h-full",children:n.jsx(Vt,{className:E("m-auto",i),maxWidth:t,children:e})})}function Gn({size:e="medium",className:t}){let c="";e==="small"?c="w-4 h-4":e==="medium"?c="w-8 h-8 m-1":c="w-10 h-10 m-1";let i="";return e==="small"?i="border-[3px]":e==="medium"?i="border-4":i="border-[6px]",n.jsx("div",{className:E(c,i,"inline-block animate-spin rounded-full border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]","text-blue-600 dark:text-blue-400",t),role:"status",children:n.jsx("span",{className:"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]",children:"Loading..."})})}const x3={xs:"max-w-xs min-w-xs w-xs",sm:"max-w-sm min-w-sm w-sm",md:"max-w-md min-w-md w-md",lg:"max-w-lg min-w-lg w-lg",xl:"max-w-xl min-w-xl w-xl","2xl":"max-w-2xl min-w-2xl w-2xl","3xl":"max-w-3xl min-w-3xl w-3xl","4xl":"max-w-4xl min-w-4xl w-4xl","5xl":"max-w-5xl min-w-5xl w-5xl","6xl":"max-w-6xl min-w-6xl w-6xl","7xl":"max-w-7xl min-w-7xl w-7xl",full:"max-w-full min-w-full w-full"},Xo=({open:e,onOpenChange:t,children:c,className:i,fullWidth:a=!0,fullHeight:l,fullScreen:s,scrollable:d=!0,maxWidth:u="lg"})=>{const[A,y]=f.useState(!1);return f.useEffect(()=>{if(e)return y(!0),()=>{};{const g=setTimeout(()=>{y(!1)},250);return()=>clearTimeout(g)}},[e]),n.jsx($e.Root,{open:A||e,onOpenChange:t,children:n.jsx($e.Portal,{children:n.jsxs("div",{className:"fixed inset-0 z-40",children:[n.jsx($e.Overlay,{className:E("fixed inset-0 transition-opacity z-20 ease-in-out duration-200 bg-black bg-opacity-50 dark:bg-opacity-60 backdrop-blur-sm ",A&&e?"opacity-100":"opacity-0","z-20 fixed top-0 left-0 w-full h-full flex justify-center items-center"),style:{pointerEvents:A?"auto":"none"}}),n.jsx($e.Content,{className:E("h-full outline-none flex justify-center items-center z-50 opacity-100 transition-all duration-200 ease-in-out"),children:n.jsx("div",{className:E(ze,"z-30","relative","outline-none focus:outline-none",a&&!s?"w-11/12":void 0,l&&!s?"h-full":void 0,"text-gray-900 dark:text-white","justify-center items-center",s?"h-screen w-screen":"max-h-[90vh] shadow-xl","ease-in-out duration-200",d&&"overflow-y-auto",A&&e?"opacity-100":"opacity-0",u&&!s?x3[u]:void 0,i),children:c})})]})})})};function vn({children:e,position:t="sticky",translucent:c=!0,className:i}){return n.jsx("div",{className:E(de,"py-3 px-4 border-t flex flex-row items-center justify-end bottom-0 right-0 left-0 text-right z-2 gap-2",t,"bg-white bg-opacity-60 dark:bg-gray-900 dark:bg-opacity-60",c?"backdrop-blur-sm":"",i),children:e})}function xo({children:e,className:t,fullHeight:c}){return c?n.jsx("div",{className:"flex-grow flex flex-col h-full relative",children:e}):n.jsx("div",{className:E("py-6 px-6 h-full flex-grow",t),children:e})}function R3({accept:e,onFilesAdded:t,onFilesRejected:c,maxSize:i,disabled:a,maxFiles:l,title:s,uploadDescription:d="Drag and drop a file here or click",children:u,preventDropOnDocument:A=!0,size:y}){const{getRootProps:g,getInputProps:h,isDragActive:_,isDragAccept:I,isDragReject:b}=nr.useDropzone({accept:e,noDragEventsBubbling:!0,maxSize:i,onDrop:t,onDropRejected:c,disabled:a,maxFiles:l,preventDropOnDocument:A});return n.jsxs("div",{...g(),className:E(Ze,Ge,ge,"flex gap-2","p-4 box-border relative items-center border-2 border-solid border-transparent outline-none rounded-md duration-200 ease-[cubic-bezier(0.4,0,0.2,1)] focus:border-primary-solid",{"h-44":y==="medium","h-28":y==="small","cursor-pointer":!a,"hover:bg-field-hover dark:hover:bg-field-hover-dark":!_,"transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-red-500":b,"transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-green-500":I}),children:[n.jsx(j,{variant:"caption",color:"secondary",className:"absolute top-2 left-3.5 cursor-inherit",children:s}),n.jsx("input",{...h()}),u,n.jsx("div",{className:"flex-grow h-28 box-border flex flex-col items-center justify-center text-center",children:n.jsx(j,{align:"center",variant:"label",children:d})})]})}function ma({children:e,loading:t,disabled:c,onClick:i,startIcon:a,...l}){return n.jsxs(ce,{disabled:t||c,onClick:i,component:l.component,...l,children:[t&&n.jsx(Gn,{size:"small"}),!t&&a,e]})}function eU({children:e,style:t,className:c}){return n.jsx("div",{className:E(ze,c),style:t,children:e})}function xe({inputRef:e,open:t,name:c,id:i,onOpenChange:a,value:l,onChange:s,onValueChange:d,onMultiValueChange:u,className:A,inputClassName:y,placeholder:g,renderValue:h,renderValues:_,label:I,size:b="medium",includeFocusOutline:p=!0,error:w,disabled:k,padding:m=!0,position:K="item-aligned",endAdornment:v,multiple:C,invisible:S,children:P,...D}){const[T,B]=f.useState(!1);f.useEffect(()=>{B(t??!1)},[t]);const N=f.useCallback(M=>{C?Array.isArray(l)&&l.includes(M)?u?.(l.filter(U=>U!==M)):u?.([...l??[],M]):d?.(M),!C&&s&&s({target:{name:c,value:M}})},[C,s,l,u,d]);return n.jsxs(je.Root,{name:c,value:Array.isArray(l)?void 0:l,defaultOpen:t,open:T,disabled:k,onValueChange:N,onOpenChange:M=>{a?.(M),B(M)},...D,children:[typeof I=="string"?n.jsx(di,{error:w,children:I}):I,n.jsxs("div",{className:E(b==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",S?Qr:Ze,k?nn:Ge,"relative flex items-center",A),children:[n.jsxs(je.Trigger,{ref:e,id:i,className:E("w-full h-full",b==="small"?"h-[42px]":"h-[64px]",m?"px-4 ":"","outlin e-none focus:outline-none","select-none rounded-md text-sm",w?"text-red-500 dark:text-red-600":"focus:text-text-primary dark:focus:text-text-primary-dark",w?"border border-red-500 dark:border-red-600":"",k?"text-gray-600 dark:text-gray-400":"text-gray-800 dark:text-gray-200","relative flex items-center",p?ge:"",y),children:[n.jsx(je.Value,{asChild:!0,children:n.jsxs("div",{className:E("flex-grow w-full max-w-full flex flex-row gap-2 items-center","overflow-visible",b==="small"?"h-[42px]":"h-[64px]"),children:[h&&(l&&Array.isArray(l)?l.map((M,U)=>n.jsx("div",{className:"flex items-center gap-1 max-w-full",children:h?h(M,U):M},M)):typeof l=="string"?h?h(l,0):l:g),_&&(!l||Array.isArray(l))?_(l??[]):null,!h&&!_&&l]})}),n.jsx(je.Icon,{className:E("px-2 h-full flex items-center"),children:n.jsx(Po,{size:"small",className:E("transition",t?"rotate-180":"")})})]}),v&&n.jsx("div",{className:E("absolute h-full flex items-center",b==="small"?"right-10":"right-14"),onClick:M=>M.stopPropagation(),children:v})]}),n.jsx(je.Portal,{children:n.jsx(je.Content,{position:K,className:"z-50 overflow-hidden relative border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-lg",children:n.jsx(je.Viewport,{children:P})})})]})}function Re({value:e,children:t,disabled:c,className:i}){return n.jsxs(je.Item,{value:e,disabled:c,onClick:a=>{a.preventDefault(),a.stopPropagation()},className:E("w-full","relative relative flex items-center p-2 rounded-md text-sm text-gray-700 dark:text-gray-300",ge,"focus:z-10","data-[state=checked]:bg-gray-100 data-[state=checked]:dark:bg-gray-900 focus:bg-gray-100 dark:focus:bg-gray-950","data-[state=checked]:focus:bg-gray-200 data-[state=checked]:dark:focus:bg-gray-950",c?"opacity-50 cursor-not-allowed":"cursor-pointer","[&>*]:w-full","overflow-visible",i),children:[n.jsx(je.ItemText,{children:t}),n.jsx("div",{className:"absolute left-1 data-[state=checked]:block hidden",children:n.jsx(sc,{size:16})})]},e)}function nU({label:e,children:t,className:c}){return n.jsxs(n.Fragment,{children:[n.jsx(je.Group,{className:E("text-xs text-gray-900 dark:text-gray-100 uppercase tracking-wider font-bold mt-6 first:mt-2","px-2 py-2",c),children:e}),t]})}function Gt({onTextSearch:e,placeholder:t="Search",expandable:c=!1,large:i=!1,className:a,autoFocus:l}){const[s,d]=f.useState(""),[u,A]=f.useState(!1),y=f.useDeferredValue(s);f.useEffect(()=>{e(y||void 0)},[y]);const g=f.useCallback(()=>{d(""),e(void 0)},[]);return n.jsxs("div",{className:E("relative",i?"h-14":"h-[42px]","bg-gray-50 dark:bg-gray-800 transition duration-150 ease-in-out border",de,"rounded"),children:[n.jsx("div",{className:"absolute p-0 px-4 h-full absolute pointer-events-none flex items-center justify-center top-0",children:n.jsx(tc,{className:"text-gray-500"})}),n.jsx("input",{placeholder:t,value:s,onChange:h=>{d(h.target.value)},autoFocus:l,onFocus:()=>A(!0),onBlur:()=>A(!1),className:E("relative flex items-center rounded transition-all bg-transparent outline-none appearance-none border-none","pl-12 h-full text-current ",c?u?"w-[220px]":"w-[180px]":"",ge,a)}),s?n.jsx(x,{className:`${i?"mr-2 top-1":"mr-1 top-0"} absolute right-0 z-10`,onClick:g,children:n.jsx(sn,{size:"small"})}):n.jsx("div",{style:{width:26}})]})}const zt=({children:e,side:t="right",open:c,onOpenChange:i,transparent:a,...l})=>{const[s,d]=f.useState(!1);f.useEffect(()=>{if(c)return d(!0),()=>{};{const A=setTimeout(()=>{d(!1)},250);return()=>clearTimeout(A)}},[c]);const u={top:"-translate-y-full",bottom:"translate-y-full",left:"-translate-x-full",right:"translate-x-full"};return n.jsx($e.Root,{open:s||c,onOpenChange:i,children:n.jsxs($e.Portal,{children:[n.jsx($e.Overlay,{className:E("fixed inset-0 transition-opacity z-20 ease-in-out duration-200 backdrop-blur-sm",a?"bg-white bg-opacity-80":"bg-black bg-opacity-50","dark:bg-black dark:bg-opacity-60",s&&c?"opacity-100":"opacity-0"),style:{pointerEvents:s?"auto":"none"}}),n.jsx($e.Content,{...l,className:E("text-gray-900 dark:text-white","fixed transform z-20 transition-all duration-[240ms] ease-in-out","outline-none focus:outline-none",a?"":"shadow-md",t==="top"||t==="bottom"?"w-full":"h-full",t==="left"||t==="top"?"left-0 top-0":"right-0 bottom-0",s&&c?"opacity-100":"opacity-0",!s||!c?u[t]:""),children:e})]})})};function oU(){return n.jsxs("div",{role:"status",children:[n.jsxs("svg",{"aria-hidden":"true",className:"w-8 h-8 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-primary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),n.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),n.jsx("span",{className:"sr-only",children:"Loading..."})]})}function _n({value:e,onChange:t,label:c,type:i="text",multiline:a=!1,invisible:l,rows:s,disabled:d,error:u,endAdornment:A,autoFocus:y,placeholder:g,size:h="medium",className:_,style:I,inputClassName:b,inputStyle:p,inputRef:w,...k}){const m=w??f.useRef(null),[K,v]=f.useState(document.activeElement===m.current),C=e!=null&&e!=="",S=f.useCallback(D=>{D.target.blur(),D.stopPropagation(),setTimeout(()=>{D.target.focus()},0)},[]),P=a?n.jsx(bt,{...k,ref:m,placeholder:!K&&!C?void 0:g,autoFocus:y,rows:s,value:e??"",onChange:t,style:p,className:E(l?Or:ge,"rounded-md resize-none w-full outline-none p-[32px] text-base bg-transparent min-h-[64px] px-3 pt-[28px]",d&&"border border-transparent outline-none opacity-50 text-gray-600 dark:text-gray-500")}):n.jsx("input",{...k,ref:m,onWheel:i==="number"?S:void 0,disabled:d,style:p,className:E("w-full outline-none bg-transparent leading-normal px-3","rounded-md",l?Or:ge,d?nn:Ge,h==="small"?"min-h-[48px]":"min-h-[64px]",c?h==="medium"?"pt-[28px] pb-2":"pt-4 pb-2":"py-2",K?"text-text-primary dark:text-text-primary-dark":"",A?"pr-10":"pr-3",d&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-800 dark:text-gray-200",b),placeholder:!K&&!C?void 0:g,autoFocus:y,onFocus:()=>v(!0),onBlur:()=>v(!1),type:i,value:Number.isNaN(e)?"":e??"",onChange:t});return n.jsxs("div",{className:E("rounded-md relative max-w-full",l?Qr:Ze,d?nn:Ge,u?"border border-red-500 dark:border-red-600":"",{"min-h-[48px]":!l&&h==="small","min-h-[64px]":!l&&h==="medium"},_),style:I,children:[c&&n.jsx(Kt,{className:E("pointer-events-none absolute",h==="medium"?"top-1":"-top-1",u?"text-red-500 dark:text-red-600":K?"text-primary dark:text-primary":"text-text-secondary dark:text-text-secondary-dark",d?"opacity-50":""),shrink:C||K,children:c}),P,A&&n.jsx("div",{className:"flex absolute right-0 top-3 mr-3 ",children:A})]})}function va({value:e,onValueChange:t,className:c,children:i}){return n.jsx(rr.Root,{value:e,onValueChange:t,children:n.jsx(rr.List,{className:E("flex text-sm font-medium text-center text-gray-800 dark:text-gray-200",c),children:i})})}function Ro({value:e,className:t,children:c,disabled:i}){return n.jsx(rr.Trigger,{value:e,disabled:i,className:E(ge,"border-b-2 border-transparent","data-[state=active]:border-secondary",i?"text-gray-400 dark:text-gray-500":E("text-gray-700 dark:text-gray-300","data-[state=active]:text-gray-900 data-[state=active]:dark:text-gray-100","hover:text-gray-800 dark:hover:text-gray-200"),t),children:n.jsx("div",{className:E("uppercase inline-block p-2 px-4 m-2 rounded","hover:bg-gray-100 dark:hover:bg-gray-800"),children:c})})}const rU=({children:e,className:t,style:c})=>n.jsx("table",{className:E("w-full text-left text-gray-800 dark:text-gray-200 rounded-md overflow-x-auto",t),style:c,children:e}),tU=({children:e,className:t})=>n.jsx("tbody",{className:E("bg-white text-sm dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",t),children:e}),cU=({children:e,className:t})=>n.jsx("thead",{children:n.jsx("tr",{className:E(de,"text-sm font-medium text-gray-700 dark:text-gray-300","bg-gray-50 border-b dark:bg-gray-900",t),children:e})}),iU=({children:e,className:t,onClick:c,style:i})=>n.jsx("tr",{onClick:c,style:i,className:E("divide-gray-100 dark:divide-gray-800","bg-white dark:bg-gray-950",c?"hover:bg-gray-100 dark:hover:bg-gray-800 cursor-pointer":"",t),children:e}),aU=({children:e,header:t=!1,scope:c="",align:i,className:a,style:l,colspan:s})=>{const d=f.useRef(null),u=t||lU(d.current)==="TableHeader"?"th":"td";return n.jsx(u,{scope:c,colSpan:s,ref:d,style:l,className:E("px-4 py-3 text-clip ",i==="center"?"text-center":i==="right"?"text-right":"text-left",a),children:e})};function lU(e){if(e){const t=Object.keys(e).find(l=>l.startsWith("__reactFiber$")||l.startsWith("__reactInternalInstance$")),c=e[t],i=l=>{let s=l.return;for(;typeof s.type=="string";)s=s.return;return s};let a=i(c);return a=i(a),a?.elementType?.name}}const sU=e=>{switch(e){case"primary":return"bg-primary";case"secondary":return"bg-secondary";case"error":return"bg-red-500";default:return"bg-gray-300 dark:bg-gray-700"}},Ht=({color:e="primary",invisible:t=!1,children:c})=>n.jsxs("div",{className:"relative inline-block",children:[c,n.jsx("span",{className:`absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 rounded-full
1608
+ ${sU(e)}
1609
+ transition-all duration-200 ease-out
1610
+ ${t?"w-0 h-0":"w-2 h-2"}`})]});o.AbcIcon=ds,o.AcUnitIcon=us,o.AccessAlarmIcon=fs,o.AccessAlarmsIcon=As,o.AccessTimeFilledIcon=ys,o.AccessTimeIcon=_s,o.AccessibilityIcon=gs,o.AccessibilityNewIcon=hs,o.AccessibleForwardIcon=bs,o.AccessibleIcon=Is,o.AccountBalanceIcon=ps,o.AccountBalanceWalletIcon=ws,o.AccountBoxIcon=ks,o.AccountCircleIcon=ms,o.AccountTreeIcon=vs,o.AdUnitsIcon=Ks,o.AdbIcon=Cs,o.AddAPhotoIcon=Ss,o.AddAlarmIcon=Bs,o.AddAlertIcon=Es,o.AddBoxIcon=Fs,o.AddBusinessIcon=Ps,o.AddCardIcon=Ds,o.AddChartIcon=Ns,o.AddCircleIcon=Ts,o.AddCircleOutlineIcon=Ms,o.AddCommentIcon=Os,o.AddHomeIcon=Ls,o.AddHomeWorkIcon=Qs,o.AddIcCallIcon=Vs,o.AddIcon=bn,o.AddLinkIcon=cc,o.AddLocationAltIcon=Gs,o.AddLocationIcon=Ws,o.AddModeratorIcon=zs,o.AddPhotoAlternateIcon=Hs,o.AddReactionIcon=Us,o.AddRoadIcon=Ys,o.AddShoppingCartIcon=$s,o.AddTaskIcon=js,o.AddToDriveIcon=qs,o.AddToHomeScreenIcon=Js,o.AddToPhotosIcon=Zs,o.AddToQueueIcon=Xs,o.AdfScannerIcon=xs,o.AdjustIcon=Rs,o.AdminPanelSettingsIcon=ed,o.AdsClickIcon=nd,o.AgricultureIcon=od,o.AirIcon=rd,o.AirlineSeatFlatAngledIcon=cd,o.AirlineSeatFlatIcon=td,o.AirlineSeatIndividualSuiteIcon=id,o.AirlineSeatLegroomExtraIcon=ad,o.AirlineSeatLegroomNormalIcon=ld,o.AirlineSeatLegroomReducedIcon=sd,o.AirlineSeatReclineExtraIcon=dd,o.AirlineSeatReclineNormalIcon=ud,o.AirlineStopsIcon=fd,o.AirlinesIcon=Ad,o.AirplaneTicketIcon=_d,o.AirplanemodeActiveIcon=yd,o.AirplanemodeInactiveIcon=gd,o.AirplayIcon=hd,o.AirportShuttleIcon=Id,o.AlarmAddIcon=pd,o.AlarmIcon=bd,o.AlarmOffIcon=wd,o.AlarmOnIcon=kd,o.AlbumIcon=md,o.Alert=q3,o.AlignHorizontalCenterIcon=vd,o.AlignHorizontalLeftIcon=Kd,o.AlignHorizontalRightIcon=Cd,o.AlignVerticalBottomIcon=Sd,o.AlignVerticalCenterIcon=Bd,o.AlignVerticalTopIcon=Ed,o.AllInboxIcon=Fd,o.AllInclusiveIcon=Pd,o.AllOutIcon=Dd,o.AltRouteIcon=Nd,o.AlternateEmailIcon=Td,o.AnalyticsIcon=Md,o.AnchorIcon=Od,o.AndroidIcon=Ld,o.AnimationIcon=Qd,o.AnnouncementIcon=Vd,o.AodIcon=Wd,o.ApartmentIcon=Gd,o.ApiIcon=zd,o.AppBlockingIcon=Hd,o.AppRegistrationIcon=Ud,o.AppSettingsAltIcon=Yd,o.AppShortcutIcon=$d,o.ApprovalIcon=jd,o.AppsIcon=qd,o.AppsOutageIcon=Jd,o.ArchitectureIcon=Zd,o.ArchiveIcon=Xd,o.AreaChartIcon=xd,o.ArrayContainer=Tt,o.ArrayContainerItem=Mt,o.ArrayCustomShapedFieldBinding=Bi,o.ArrayEnumPreview=Wr,o.ArrayItemOptions=ya,o.ArrayOfMapsPreview=Xc,o.ArrayOfReferencesFieldBinding=fi,o.ArrayOfReferencesPreview=ni,o.ArrayOfStorageComponentsPreview=oi,o.ArrayOfStringsPreview=ri,o.ArrayOneOfPreview=ti,o.ArrayPropertyEnumPreview=Gr,o.ArrayPropertyPreview=Vr,o.ArrowBackIcon=Rd,o.ArrowBackIosIcon=eu,o.ArrowBackIosNewIcon=nu,o.ArrowCircleDownIcon=ou,o.ArrowCircleLeftIcon=ru,o.ArrowCircleRightIcon=tu,o.ArrowCircleUpIcon=cu,o.ArrowDownwardIcon=iu,o.ArrowDropDownCircleIcon=au,o.ArrowDropDownIcon=_r,o.ArrowDropUpIcon=lu,o.ArrowForwardIcon=ic,o.ArrowForwardIosIcon=su,o.ArrowLeftIcon=du,o.ArrowOutwardIcon=uu,o.ArrowRightAltIcon=Au,o.ArrowRightIcon=fu,o.ArrowUpwardIcon=Eo,o.ArtTrackIcon=_u,o.ArticleIcon=yu,o.AspectRatioIcon=gu,o.AssessmentIcon=hu,o.AssignmentIcon=ac,o.AssignmentIndIcon=Iu,o.AssignmentLateIcon=bu,o.AssignmentReturnIcon=pu,o.AssignmentReturnedIcon=wu,o.AssignmentTurnedInIcon=ku,o.AssistWalkerIcon=mu,o.AssistantDirectionIcon=Ku,o.AssistantIcon=vu,o.AssistantPhotoIcon=Cu,o.AssuredWorkloadIcon=Su,o.AsyncPreviewComponent=JG,o.AtmIcon=Bu,o.AttachEmailIcon=Eu,o.AttachFileIcon=Fu,o.AttachMoneyIcon=Pu,o.AttachmentIcon=Du,o.AttractionsIcon=Nu,o.AttributionIcon=Tu,o.AudioFileIcon=Mu,o.AudiotrackIcon=Ou,o.AuthControllerContext=Kr,o.AutoAwesomeIcon=Lu,o.AutoAwesomeMosaicIcon=Qu,o.AutoAwesomeMotionIcon=Vu,o.AutoDeleteIcon=Wu,o.AutoFixHighIcon=Gu,o.AutoFixNormalIcon=zu,o.AutoFixOffIcon=Hu,o.AutoGraphIcon=Uu,o.AutoModeIcon=Yu,o.AutoStoriesIcon=$u,o.Autocomplete=Y3,o.AutocompleteItem=$3,o.AutofpsSelectIcon=ju,o.AutorenewIcon=qu,o.AvTimerIcon=Ju,o.Avatar=Qt,o.BabyChangingStationIcon=Zu,o.BackHandIcon=Xu,o.BackpackIcon=xu,o.BackspaceIcon=Ru,o.BackupIcon=ef,o.BackupTableIcon=nf,o.Badge=Ht,o.BadgeIcon=of,o.BakeryDiningIcon=rf,o.BalanceIcon=tf,o.BalconyIcon=cf,o.BallotIcon=yr,o.BarChartIcon=af,o.BatchPredictionIcon=lf,o.BathroomIcon=sf,o.BathtubIcon=df,o.Battery0BarIcon=uf,o.Battery1BarIcon=ff,o.Battery2BarIcon=Af,o.Battery3BarIcon=_f,o.Battery4BarIcon=yf,o.Battery5BarIcon=gf,o.Battery6BarIcon=hf,o.BatteryAlertIcon=If,o.BatteryChargingFullIcon=bf,o.BatteryFullIcon=pf,o.BatterySaverIcon=wf,o.BatteryStdIcon=kf,o.BatteryUnknownIcon=mf,o.BeachAccessIcon=vf,o.BedIcon=Kf,o.BedroomBabyIcon=Cf,o.BedroomChildIcon=Sf,o.BedroomParentIcon=Bf,o.BedtimeIcon=Ef,o.BedtimeOffIcon=Ff,o.BeenhereIcon=Pf,o.BentoIcon=Df,o.BikeScooterIcon=Nf,o.BiotechIcon=Tf,o.BlenderIcon=Mf,o.BlindIcon=Of,o.BlindsClosedIcon=Qf,o.BlindsIcon=Lf,o.BlockFieldBinding=Ci,o.BlockIcon=Vf,o.BloodtypeIcon=Wf,o.BluetoothAudioIcon=zf,o.BluetoothConnectedIcon=Hf,o.BluetoothDisabledIcon=Uf,o.BluetoothDriveIcon=Yf,o.BluetoothIcon=Gf,o.BluetoothSearchingIcon=$f,o.BlurCircularIcon=jf,o.BlurLinearIcon=qf,o.BlurOffIcon=Jf,o.BlurOnIcon=Zf,o.BoltIcon=Xf,o.BookIcon=xf,o.BookOnlineIcon=Rf,o.BookmarkAddIcon=nA,o.BookmarkAddedIcon=oA,o.BookmarkBorderIcon=rA,o.BookmarkIcon=eA,o.BookmarkRemoveIcon=tA,o.BookmarksIcon=cA,o.BooleanPreview=li,o.BooleanSwitch=xr,o.BooleanSwitchWithLabel=On,o.BorderAllIcon=iA,o.BorderBottomIcon=aA,o.BorderClearIcon=lA,o.BorderColorIcon=sA,o.BorderHorizontalIcon=dA,o.BorderInnerIcon=uA,o.BorderLeftIcon=fA,o.BorderOuterIcon=AA,o.BorderRightIcon=_A,o.BorderStyleIcon=yA,o.BorderTopIcon=gA,o.BorderVerticalIcon=hA,o.BoyIcon=IA,o.BrandingWatermarkIcon=bA,o.BreadcrumbUpdater=c3,o.BreakfastDiningIcon=pA,o.Brightness1Icon=wA,o.Brightness2Icon=kA,o.Brightness3Icon=mA,o.Brightness4Icon=vA,o.Brightness5Icon=KA,o.Brightness6Icon=CA,o.Brightness7Icon=SA,o.BrightnessAutoIcon=BA,o.BrightnessHighIcon=EA,o.BrightnessLowIcon=FA,o.BrightnessMediumIcon=PA,o.BroadcastOnHomeIcon=DA,o.BroadcastOnPersonalIcon=NA,o.BrokenImageIcon=TA,o.BrowseGalleryIcon=MA,o.BrowserNotSupportedIcon=OA,o.BrowserUpdatedIcon=LA,o.BrunchDiningIcon=QA,o.BrushIcon=VA,o.BubbleChartIcon=WA,o.BugReportIcon=GA,o.BuildCircleIcon=HA,o.BuildIcon=zA,o.BungalowIcon=UA,o.BurstModeIcon=YA,o.BusAlertIcon=$A,o.BusinessCenterIcon=qA,o.BusinessIcon=jA,o.Button=ce,o.COLLECTION_PATH_SEPARATOR=Ni,o.CabinIcon=JA,o.CableIcon=ZA,o.CachedIcon=XA,o.CakeIcon=xA,o.CalculateIcon=RA,o.CalendarMonthIcon=lc,o.CalendarTodayIcon=e_,o.CalendarViewDayIcon=n_,o.CalendarViewMonthIcon=o_,o.CalendarViewWeekIcon=r_,o.CallEndIcon=c_,o.CallIcon=t_,o.CallMadeIcon=i_,o.CallMergeIcon=a_,o.CallMissedIcon=l_,o.CallMissedOutgoingIcon=s_,o.CallReceivedIcon=d_,o.CallSplitIcon=u_,o.CallToActionIcon=f_,o.CameraAltIcon=__,o.CameraEnhanceIcon=y_,o.CameraFrontIcon=g_,o.CameraIcon=A_,o.CameraIndoorIcon=h_,o.CameraOutdoorIcon=I_,o.CameraRearIcon=b_,o.CameraRollIcon=p_,o.CameraswitchIcon=w_,o.CampaignIcon=k_,o.CancelIcon=m_,o.CancelPresentationIcon=v_,o.CancelScheduleSendIcon=K_,o.CandlestickChartIcon=C_,o.CarCrashIcon=S_,o.CarRentalIcon=B_,o.CarRepairIcon=E_,o.Card=ka,o.CardGiftcardIcon=F_,o.CardMembershipIcon=P_,o.CardTravelIcon=D_,o.CarpenterIcon=N_,o.CasesIcon=T_,o.CasinoIcon=M_,o.CastConnectedIcon=L_,o.CastForEducationIcon=Q_,o.CastIcon=O_,o.CastleIcon=V_,o.CatchingPokemonIcon=W_,o.CategoryIcon=G_,o.CelebrationIcon=z_,o.CellTowerIcon=H_,o.CellWifiIcon=U_,o.CenterFocusStrongIcon=Y_,o.CenterFocusWeakIcon=$_,o.CenteredView=Wt,o.ChairAltIcon=q_,o.ChairIcon=j_,o.ChaletIcon=J_,o.ChangeCircleIcon=Z_,o.ChangeHistoryIcon=X_,o.ChargingStationIcon=x_,o.ChatBubbleIcon=ey,o.ChatBubbleOutlineIcon=ny,o.ChatIcon=R_,o.CheckBoxIcon=oy,o.CheckBoxOutlineBlankIcon=ry,o.CheckCircleIcon=ty,o.CheckCircleOutlineIcon=cy,o.CheckIcon=sc,o.Checkbox=Hr,o.ChecklistIcon=iy,o.ChecklistRtlIcon=ay,o.CheckroomIcon=ly,o.ChevronLeftIcon=dc,o.ChevronRightIcon=sy,o.ChildCareIcon=dy,o.ChildFriendlyIcon=uy,o.Chip=No,o.ChromeReaderModeIcon=fy,o.ChurchIcon=Ay,o.CircleIcon=gr,o.CircleNotificationsIcon=_y,o.CircularProgress=Gn,o.CircularProgressCenter=Ao,o.ClassIcon=yy,o.CleanHandsIcon=gy,o.CleaningServicesIcon=hy,o.ClearAllIcon=Iy,o.ClearIcon=sn,o.CloseFullscreenIcon=by,o.CloseIcon=hr,o.ClosedCaptionDisabledIcon=wy,o.ClosedCaptionIcon=py,o.ClosedCaptionOffIcon=ky,o.CloudCircleIcon=vy,o.CloudDoneIcon=Ky,o.CloudDownloadIcon=Cy,o.CloudIcon=my,o.CloudOffIcon=Sy,o.CloudQueueIcon=By,o.CloudSyncIcon=Ey,o.CloudUploadIcon=Fy,o.Co2Icon=Py,o.CoPresentIcon=Dy,o.CodeIcon=Ny,o.CodeOffIcon=Ty,o.CoffeeIcon=My,o.CoffeeMakerIcon=Oy,o.Collapse=Zo,o.CollectionsBookmarkIcon=Qy,o.CollectionsIcon=Ly,o.ColorLensIcon=Vy,o.ColorizeIcon=Wy,o.CommentBankIcon=zy,o.CommentIcon=Gy,o.CommentsDisabledIcon=Hy,o.CommitIcon=Uy,o.CommuteIcon=Yy,o.CompareArrowsIcon=jy,o.CompareIcon=$y,o.CompassCalibrationIcon=qy,o.CompostIcon=Jy,o.CompressIcon=Zy,o.ComputerIcon=Xy,o.ConfirmationNumberIcon=xy,o.ConnectWithoutContactIcon=Ry,o.ConnectedTvIcon=eg,o.ConnectingAirportsIcon=ng,o.ConstructionIcon=og,o.ContactEmergencyIcon=rg,o.ContactMailIcon=tg,o.ContactPageIcon=cg,o.ContactPhoneIcon=ig,o.ContactSupportIcon=ag,o.ContactlessIcon=lg,o.ContactsIcon=sg,o.Container=Vt,o.ContentCopyIcon=oo,o.ContentCutIcon=dg,o.ContentPasteGoIcon=fg,o.ContentPasteIcon=ug,o.ContentPasteOffIcon=Ag,o.ContentPasteSearchIcon=_g,o.ContrastIcon=yg,o.ControlCameraIcon=gg,o.ControlPointDuplicateIcon=Ig,o.ControlPointIcon=hg,o.CookieIcon=bg,o.CopyAllIcon=pg,o.CopyrightIcon=wg,o.CoronavirusIcon=kg,o.CorporateFareIcon=mg,o.CottageIcon=vg,o.CountertopsIcon=Kg,o.CreateIcon=Cg,o.CreateNewFolderIcon=Sg,o.CreditCardIcon=Bg,o.CreditCardOffIcon=Eg,o.CreditScoreIcon=Fg,o.CribIcon=Pg,o.CrisisAlertIcon=Dg,o.Crop169Icon=Tg,o.Crop32Icon=Mg,o.Crop54Icon=Og,o.Crop75Icon=Lg,o.CropDinIcon=Qg,o.CropFreeIcon=Vg,o.CropIcon=Ng,o.CropLandscapeIcon=Wg,o.CropOriginalIcon=Gg,o.CropPortraitIcon=zg,o.CropRotateIcon=Hg,o.CropSquareIcon=Ug,o.CrueltyFreeIcon=Yg,o.CssIcon=$g,o.CurrencyBitcoinIcon=jg,o.CurrencyExchangeIcon=qg,o.CurrencyFrancIcon=Jg,o.CurrencyLiraIcon=Zg,o.CurrencyPoundIcon=Xg,o.CurrencyRubleIcon=xg,o.CurrencyRupeeIcon=Rg,o.CurrencyYenIcon=eh,o.CurrencyYuanIcon=nh,o.CurtainsClosedIcon=rh,o.CurtainsIcon=oh,o.CycloneIcon=th,o.DEFAULT_FIELD_CONFIGS=dt,o.DangerousIcon=ch,o.DarkModeIcon=uc,o.DashboardCustomizeIcon=ah,o.DashboardIcon=ih,o.DataArrayIcon=lh,o.DataExplorationIcon=sh,o.DataObjectIcon=dh,o.DataSaverOffIcon=uh,o.DataSaverOnIcon=fh,o.DataThresholdingIcon=Ah,o.DataUsageIcon=_h,o.DatasetIcon=yh,o.DatasetLinkedIcon=gh,o.DatePreview=ai,o.DateRangeIcon=hh,o.DateTimeField=Vn,o.DateTimeFieldBinding=wi,o.DeblurIcon=Ih,o.DebouncedTextField=rl,o.DeckIcon=bh,o.DefaultHomePage=ua,o.DehazeIcon=ph,o.DeleteConfirmationDialog=i3,o.DeleteForeverIcon=wh,o.DeleteIcon=Fo,o.DeleteOutlineIcon=kh,o.DeleteSweepIcon=mh,o.DeliveryDiningIcon=vh,o.DensityLargeIcon=Kh,o.DensityMediumIcon=Ch,o.DensitySmallIcon=Sh,o.DepartureBoardIcon=Bh,o.DescriptionIcon=fc,o.DeselectIcon=Eh,o.DesignServicesIcon=Fh,o.DeskIcon=Ph,o.DesktopAccessDisabledIcon=Dh,o.DesktopMacIcon=Nh,o.DesktopWindowsIcon=Th,o.DetailsIcon=Mh,o.DeveloperBoardIcon=Oh,o.DeveloperBoardOffIcon=Lh,o.DeveloperModeIcon=Qh,o.DeviceHubIcon=Vh,o.DeviceThermostatIcon=Wh,o.DeviceUnknownIcon=Gh,o.DevicesFoldIcon=Hh,o.DevicesIcon=zh,o.DevicesOtherIcon=Uh,o.DialerSipIcon=Yh,o.Dialog=Xo,o.DialogActions=vn,o.DialogContent=xo,o.DialpadIcon=$h,o.DiamondIcon=jh,o.DifferenceIcon=qh,o.DiningIcon=Jh,o.DinnerDiningIcon=Zh,o.DirectionsBikeIcon=xh,o.DirectionsBoatFilledIcon=eI,o.DirectionsBoatIcon=Rh,o.DirectionsBusFilledIcon=oI,o.DirectionsBusIcon=nI,o.DirectionsCarFilledIcon=tI,o.DirectionsCarIcon=rI,o.DirectionsIcon=Xh,o.DirectionsOffIcon=cI,o.DirectionsRailwayFilledIcon=aI,o.DirectionsRailwayIcon=iI,o.DirectionsRunIcon=lI,o.DirectionsSubwayFilledIcon=dI,o.DirectionsSubwayIcon=sI,o.DirectionsTransitFilledIcon=fI,o.DirectionsTransitIcon=uI,o.DirectionsWalkIcon=AI,o.DirtyLensIcon=_I,o.DisabledByDefaultIcon=yI,o.DisabledVisibleIcon=gI,o.DiscFullIcon=hI,o.DiscountIcon=II,o.DisplaySettingsIcon=bI,o.Diversity1Icon=pI,o.Diversity2Icon=wI,o.Diversity3Icon=kI,o.DnsIcon=mI,o.DoDisturbAltIcon=KI,o.DoDisturbIcon=vI,o.DoDisturbOffIcon=CI,o.DoDisturbOnIcon=SI,o.DoNotDisturbAltIcon=EI,o.DoNotDisturbIcon=BI,o.DoNotDisturbOffIcon=FI,o.DoNotDisturbOnIcon=PI,o.DoNotDisturbOnTotalSilenceIcon=DI,o.DoNotStepIcon=NI,o.DoNotTouchIcon=TI,o.DockIcon=MI,o.DocumentScannerIcon=OI,o.DomainAddIcon=QI,o.DomainDisabledIcon=VI,o.DomainIcon=LI,o.DomainVerificationIcon=WI,o.DoneAllIcon=zI,o.DoneIcon=GI,o.DoneOutlineIcon=HI,o.DonutLargeIcon=UI,o.DonutSmallIcon=YI,o.DoorBackIcon=$I,o.DoorFrontIcon=jI,o.DoorSlidingIcon=qI,o.DoorbellIcon=JI,o.DoubleArrowIcon=ZI,o.DownhillSkiingIcon=XI,o.DownloadDoneIcon=RI,o.DownloadForOfflineIcon=eb,o.DownloadIcon=xI,o.DownloadingIcon=nb,o.DraftsIcon=ob,o.DragHandleIcon=rb,o.DragIndicatorIcon=tb,o.DrawIcon=cb,o.Drawer=pa,o.DrawerNavigationItem=Lt,o.DriveEtaIcon=ib,o.DriveFileMoveIcon=ab,o.DriveFileMoveRtlIcon=lb,o.DriveFileRenameOutlineIcon=sb,o.DriveFolderUploadIcon=Ac,o.DryCleaningIcon=ub,o.DryIcon=db,o.DuoIcon=fb,o.DvrIcon=Ab,o.DynamicFeedIcon=_b,o.DynamicFormIcon=yb,o.EMobiledataIcon=gb,o.EarbudsBatteryIcon=Ib,o.EarbudsIcon=hb,o.EastIcon=bb,o.EdgesensorHighIcon=pb,o.EdgesensorLowIcon=wb,o.EditAttributesIcon=kb,o.EditCalendarIcon=mb,o.EditIcon=_c,o.EditLocationAltIcon=Kb,o.EditLocationIcon=vb,o.EditNoteIcon=Cb,o.EditNotificationsIcon=Sb,o.EditOffIcon=Bb,o.EditRoadIcon=Eb,o.EggAltIcon=Pb,o.EggIcon=Fb,o.EjectIcon=Db,o.ElderlyIcon=Nb,o.ElderlyWomanIcon=Tb,o.ElectricBikeIcon=Mb,o.ElectricBoltIcon=Ob,o.ElectricCarIcon=Lb,o.ElectricMeterIcon=Qb,o.ElectricMopedIcon=Vb,o.ElectricRickshawIcon=Wb,o.ElectricScooterIcon=Gb,o.ElectricalServicesIcon=zb,o.ElevatorIcon=Hb,o.EmailIcon=yc,o.EmergencyIcon=Ub,o.EmergencyRecordingIcon=Yb,o.EmergencyShareIcon=$b,o.EmojiEmotionsIcon=jb,o.EmojiEventsIcon=qb,o.EmojiFoodBeverageIcon=Jb,o.EmojiNatureIcon=Zb,o.EmojiObjectsIcon=Xb,o.EmojiPeopleIcon=xb,o.EmojiSymbolsIcon=Rb,o.EmojiTransportationIcon=ep,o.EmptyValue=Fn,o.EnergySavingsLeafIcon=np,o.EngineeringIcon=op,o.EnhancedEncryptionIcon=rp,o.EntityCollectionTable=St,o.EntityCollectionView=Ft,o.EntityForm=Pi,o.EntityPreview=ht,o.EntityReference=qe,o.EnumValuesChip=Se,o.EqualizerIcon=tp,o.ErrorBoundary=le,o.ErrorIcon=Ir,o.ErrorOutlineIcon=gc,o.ErrorView=pe,o.EscalatorIcon=cp,o.EscalatorWarningIcon=ip,o.EuroIcon=ap,o.EuroSymbolIcon=lp,o.EvStationIcon=sp,o.EventAvailableIcon=up,o.EventBusyIcon=fp,o.EventIcon=dp,o.EventNoteIcon=Ap,o.EventRepeatIcon=_p,o.EventSeatIcon=yp,o.ExitToAppIcon=gp,o.ExpandCircleDownIcon=Ip,o.ExpandIcon=hp,o.ExpandLessIcon=bp,o.ExpandMoreIcon=Po,o.ExpandablePanel=An,o.ExplicitIcon=pp,o.ExploreIcon=wp,o.ExploreOffIcon=kp,o.ExposureIcon=mp,o.ExposureNeg1Icon=vp,o.ExposureNeg2Icon=Kp,o.ExposurePlus1Icon=Cp,o.ExposurePlus2Icon=Sp,o.ExposureZeroIcon=Bp,o.ExtensionIcon=Ep,o.ExtensionOffIcon=Fp,o.Face2Icon=Dp,o.Face3Icon=Np,o.Face4Icon=Tp,o.Face5Icon=Mp,o.Face6Icon=Op,o.FaceIcon=Pp,o.FaceRetouchingNaturalIcon=Lp,o.FaceRetouchingOffIcon=Qp,o.FactCheckIcon=Vp,o.FactoryIcon=Wp,o.FamilyRestroomIcon=Gp,o.FastForwardIcon=zp,o.FastRewindIcon=Hp,o.FastfoodIcon=Up,o.FavoriteBorderIcon=$p,o.FavoriteIcon=Yp,o.FaxIcon=jp,o.FeaturedPlayListIcon=qp,o.FeaturedVideoIcon=Jp,o.FeedIcon=Zp,o.FeedbackIcon=Xp,o.FemaleIcon=xp,o.FenceIcon=Rp,o.FestivalIcon=ew,o.FiberDvrIcon=nw,o.FiberManualRecordIcon=ow,o.FiberNewIcon=rw,o.FiberPinIcon=tw,o.FiberSmartRecordIcon=cw,o.FieldConfigBadge=t3,o.FieldHelperText=Ke,o.FileCopyIcon=hc,o.FileDownloadDoneIcon=aw,o.FileDownloadIcon=iw,o.FileDownloadOffIcon=lw,o.FileOpenIcon=sw,o.FilePresentIcon=dw,o.FileUpload=R3,o.FileUploadIcon=uw,o.Filter1Icon=Aw,o.Filter2Icon=_w,o.Filter3Icon=yw,o.Filter4Icon=gw,o.Filter5Icon=hw,o.Filter6Icon=Iw,o.Filter7Icon=bw,o.Filter8Icon=pw,o.Filter9Icon=ww,o.Filter9PlusIcon=kw,o.FilterAltIcon=mw,o.FilterAltOffIcon=vw,o.FilterBAndWIcon=Kw,o.FilterCenterFocusIcon=Cw,o.FilterDramaIcon=Sw,o.FilterFramesIcon=Bw,o.FilterHdrIcon=Ew,o.FilterIcon=fw,o.FilterListIcon=Ic,o.FilterListOffIcon=bc,o.FilterNoneIcon=Fw,o.FilterTiltShiftIcon=Pw,o.FilterVintageIcon=Dw,o.FindInPageIcon=Nw,o.FindReplaceIcon=Tw,o.FingerprintIcon=Mw,o.FireCMS=K3,o.FireCMSAppBar=_a,o.FireCMSContextInstance=Cr,o.FireCMSLogo=Aa,o.FireExtinguisherIcon=Ow,o.FireHydrantAltIcon=Lw,o.FireTruckIcon=Qw,o.FireplaceIcon=Vw,o.FirstPageIcon=Ww,o.FitScreenIcon=Gw,o.FitbitIcon=zw,o.FitnessCenterIcon=Hw,o.FlagCircleIcon=Uw,o.FlagIcon=pc,o.FlakyIcon=Yw,o.FlareIcon=$w,o.FlashAutoIcon=jw,o.FlashOffIcon=qw,o.FlashOnIcon=Jw,o.FlashlightOffIcon=Zw,o.FlashlightOnIcon=Xw,o.FlatwareIcon=xw,o.FlightClassIcon=ek,o.FlightIcon=Rw,o.FlightLandIcon=nk,o.FlightTakeoffIcon=ok,o.FlipCameraAndroidIcon=tk,o.FlipCameraIosIcon=ck,o.FlipIcon=rk,o.FlipToBackIcon=ik,o.FlipToFrontIcon=ak,o.FloodIcon=lk,o.FluorescentIcon=sk,o.FlutterDashIcon=dk,o.FmdBadIcon=uk,o.FmdGoodIcon=fk,o.FolderCopyIcon=_k,o.FolderDeleteIcon=yk,o.FolderIcon=Ak,o.FolderOffIcon=gk,o.FolderOpenIcon=hk,o.FolderSharedIcon=Ik,o.FolderSpecialIcon=bk,o.FolderZipIcon=pk,o.FollowTheSignsIcon=wk,o.FontDownloadIcon=kk,o.FontDownloadOffIcon=mk,o.FoodBankIcon=vk,o.ForestIcon=Kk,o.ForkLeftIcon=Ck,o.ForkRightIcon=Sk,o.FormatAlignCenterIcon=Bk,o.FormatAlignJustifyIcon=Ek,o.FormatAlignLeftIcon=Fk,o.FormatAlignRightIcon=Pk,o.FormatBoldIcon=Dk,o.FormatClearIcon=Nk,o.FormatColorFillIcon=Tk,o.FormatColorResetIcon=Mk,o.FormatColorTextIcon=Ok,o.FormatIndentDecreaseIcon=Lk,o.FormatIndentIncreaseIcon=Qk,o.FormatItalicIcon=Vk,o.FormatLineSpacingIcon=Wk,o.FormatListBulletedIcon=Gk,o.FormatListNumberedIcon=br,o.FormatListNumberedRtlIcon=zk,o.FormatOverlineIcon=Hk,o.FormatPaintIcon=Uk,o.FormatQuoteIcon=wc,o.FormatShapesIcon=Yk,o.FormatSizeIcon=$k,o.FormatStrikethroughIcon=jk,o.FormatTextdirectionLToRIcon=qk,o.FormatTextdirectionRToLIcon=Jk,o.FormatUnderlinedIcon=Zk,o.FormikArrayContainer=Bo,o.FortIcon=Xk,o.ForumIcon=xk,o.Forward10Icon=em,o.Forward30Icon=nm,o.Forward5Icon=om,o.ForwardIcon=Rk,o.ForwardToInboxIcon=rm,o.FoundationIcon=tm,o.FreeBreakfastIcon=cm,o.FreeCancellationIcon=im,o.FrontHandIcon=am,o.FullscreenExitIcon=sm,o.FullscreenIcon=lm,o.FunctionsIcon=kc,o.GMobiledataIcon=dm,o.GTranslateIcon=um,o.GamepadIcon=fm,o.GamesIcon=Am,o.GarageIcon=_m,o.GasMeterIcon=ym,o.GavelIcon=gm,o.GeneratingTokensIcon=hm,o.GeoPoint=ir,o.GestureIcon=Im,o.GetAppIcon=bm,o.GifBoxIcon=wm,o.GifIcon=pm,o.GirlIcon=km,o.GitHubIcon=il,o.GiteIcon=mm,o.GolfCourseIcon=vm,o.GppBadIcon=Km,o.GppGoodIcon=Cm,o.GppMaybeIcon=Sm,o.GpsFixedIcon=Bm,o.GpsNotFixedIcon=Em,o.GpsOffIcon=Fm,o.GradeIcon=Pm,o.GradientIcon=Dm,o.GradingIcon=Nm,o.GrainIcon=Tm,o.GraphicEqIcon=Mm,o.GrassIcon=Om,o.Grid3x3Icon=Lm,o.Grid4x4Icon=Qm,o.GridGoldenratioIcon=Vm,o.GridOffIcon=Wm,o.GridOnIcon=Gm,o.GridViewIcon=zm,o.GroupAddIcon=Um,o.GroupIcon=Hm,o.GroupOffIcon=Ym,o.GroupRemoveIcon=$m,o.GroupWorkIcon=jm,o.Groups2Icon=Jm,o.Groups3Icon=Zm,o.GroupsIcon=qm,o.HMobiledataIcon=Xm,o.HPlusMobiledataIcon=xm,o.HailIcon=Rm,o.HandshakeIcon=ev,o.HandymanIcon=nv,o.HardwareIcon=ov,o.HdIcon=rv,o.HdrAutoIcon=tv,o.HdrAutoSelectIcon=cv,o.HdrEnhancedSelectIcon=iv,o.HdrOffIcon=av,o.HdrOffSelectIcon=lv,o.HdrOnIcon=sv,o.HdrOnSelectIcon=dv,o.HdrPlusIcon=uv,o.HdrStrongIcon=fv,o.HdrWeakIcon=Av,o.HeadphonesBatteryIcon=yv,o.HeadphonesIcon=_v,o.HeadsetIcon=gv,o.HeadsetMicIcon=hv,o.HeadsetOffIcon=Iv,o.HealingIcon=bv,o.HealthAndSafetyIcon=pv,o.HearingDisabledIcon=kv,o.HearingIcon=wv,o.HeartBrokenIcon=mv,o.HeatPumpIcon=vv,o.HeightIcon=Kv,o.HelpCenterIcon=Sv,o.HelpIcon=Cv,o.HelpOutlineIcon=Bv,o.HevcIcon=Ev,o.HexagonIcon=Fv,o.HideImageIcon=Pv,o.HideSourceIcon=Dv,o.HighQualityIcon=Nv,o.HighlightAltIcon=Mv,o.HighlightIcon=Tv,o.HighlightOffIcon=Ov,o.HikingIcon=Lv,o.HistoryEduIcon=Vv,o.HistoryIcon=Qv,o.HistoryToggleOffIcon=Wv,o.HiveIcon=Gv,o.HlsIcon=zv,o.HlsOffIcon=Hv,o.HolidayVillageIcon=Uv,o.HomeIcon=Yv,o.HomeMaxIcon=$v,o.HomeMiniIcon=jv,o.HomeRepairServiceIcon=qv,o.HomeWorkIcon=Jv,o.HorizontalDistributeIcon=Zv,o.HorizontalRuleIcon=Xv,o.HorizontalSplitIcon=xv,o.HotTubIcon=Rv,o.HotelClassIcon=n0,o.HotelIcon=e0,o.HourglassBottomIcon=o0,o.HourglassDisabledIcon=r0,o.HourglassEmptyIcon=t0,o.HourglassFullIcon=c0,o.HourglassTopIcon=i0,o.HouseIcon=a0,o.HouseSidingIcon=l0,o.HouseboatIcon=s0,o.HowToRegIcon=d0,o.HowToVoteIcon=u0,o.HtmlIcon=f0,o.HttpIcon=mc,o.HttpsIcon=A0,o.HubIcon=_0,o.HvacIcon=y0,o.IceSkatingIcon=g0,o.IcecreamIcon=h0,o.Icon=r,o.IconButton=x,o.ImageAspectRatioIcon=b0,o.ImageIcon=I0,o.ImageNotSupportedIcon=p0,o.ImagePreview=jc,o.ImageSearchIcon=w0,o.ImagesearchRollerIcon=k0,o.ImportContactsIcon=m0,o.ImportExportIcon=v0,o.ImportantDevicesIcon=K0,o.InboxIcon=C0,o.IncompleteCircleIcon=S0,o.IndeterminateCheckBoxIcon=B0,o.InfoIcon=vc,o.InfoLabel=l3,o.InputIcon=E0,o.InputLabel=Kt,o.InsertChartIcon=F0,o.InsertChartOutlinedIcon=P0,o.InsertCommentIcon=D0,o.InsertDriveFileIcon=N0,o.InsertEmoticonIcon=T0,o.InsertInvitationIcon=M0,o.InsertLinkIcon=O0,o.InsertPageBreakIcon=L0,o.InsertPhotoIcon=Q0,o.InsightsIcon=V0,o.InstallDesktopIcon=W0,o.InstallMobileIcon=G0,o.IntegrationInstructionsIcon=z0,o.InterestsIcon=H0,o.InterpreterModeIcon=U0,o.Inventory2Icon=$0,o.InventoryIcon=Y0,o.InvertColorsIcon=j0,o.InvertColorsOffIcon=q0,o.IosShareIcon=J0,o.IronIcon=Z0,o.IsoIcon=X0,o.JavascriptIcon=x0,o.JoinFullIcon=R0,o.JoinInnerIcon=eK,o.JoinLeftIcon=nK,o.JoinRightIcon=oK,o.KayakingIcon=rK,o.KebabDiningIcon=tK,o.KeyIcon=cK,o.KeyOffIcon=iK,o.KeyValueFieldBinding=vi,o.KeyValuePreview=zr,o.KeyboardAltIcon=lK,o.KeyboardArrowDownIcon=sK,o.KeyboardArrowLeftIcon=dK,o.KeyboardArrowRightIcon=uK,o.KeyboardArrowUpIcon=fK,o.KeyboardBackspaceIcon=AK,o.KeyboardCapslockIcon=_K,o.KeyboardCommandKeyIcon=yK,o.KeyboardControlKeyIcon=gK,o.KeyboardDoubleArrowDownIcon=hK,o.KeyboardDoubleArrowLeftIcon=IK,o.KeyboardDoubleArrowRightIcon=bK,o.KeyboardDoubleArrowUpIcon=pK,o.KeyboardHideIcon=wK,o.KeyboardIcon=aK,o.KeyboardOptionKeyIcon=kK,o.KeyboardReturnIcon=mK,o.KeyboardTabIcon=Do,o.KeyboardVoiceIcon=vK,o.KingBedIcon=KK,o.KitchenIcon=CK,o.KitesurfingIcon=SK,o.LabelIcon=BK,o.LabelImportantIcon=EK,o.LabelOffIcon=FK,o.LabelWithIcon=ve,o.LanIcon=PK,o.LandscapeIcon=DK,o.LandslideIcon=NK,o.LanguageIcon=TK,o.LaptopChromebookIcon=OK,o.LaptopIcon=MK,o.LaptopMacIcon=LK,o.LaptopWindowsIcon=QK,o.LastPageIcon=VK,o.LaunchIcon=WK,o.LayersClearIcon=zK,o.LayersIcon=GK,o.LeaderboardIcon=HK,o.LeakAddIcon=UK,o.LeakRemoveIcon=YK,o.LegendToggleIcon=$K,o.LensBlurIcon=qK,o.LensIcon=jK,o.LibraryAddCheckIcon=ZK,o.LibraryAddIcon=JK,o.LibraryBooksIcon=XK,o.LibraryMusicIcon=xK,o.LightIcon=RK,o.LightModeIcon=Kc,o.LightbulbCircleIcon=nC,o.LightbulbIcon=eC,o.LineAxisIcon=oC,o.LineStyleIcon=rC,o.LineWeightIcon=tC,o.LinearScaleIcon=cC,o.LinkIcon=Cc,o.LinkOffIcon=iC,o.LinkedCameraIcon=aC,o.LiquorIcon=lC,o.ListAltIcon=Bc,o.ListIcon=Sc,o.LiveHelpIcon=sC,o.LiveTvIcon=dC,o.LivingIcon=uC,o.LoadingButton=ma,o.LocalActivityIcon=fC,o.LocalAirportIcon=AC,o.LocalAtmIcon=_C,o.LocalBarIcon=yC,o.LocalCafeIcon=gC,o.LocalCarWashIcon=hC,o.LocalConvenienceStoreIcon=IC,o.LocalDiningIcon=bC,o.LocalDrinkIcon=pC,o.LocalFireDepartmentIcon=wC,o.LocalFloristIcon=kC,o.LocalGasStationIcon=mC,o.LocalGroceryStoreIcon=vC,o.LocalHospitalIcon=KC,o.LocalHotelIcon=CC,o.LocalLaundryServiceIcon=SC,o.LocalLibraryIcon=BC,o.LocalMallIcon=EC,o.LocalMoviesIcon=FC,o.LocalOfferIcon=PC,o.LocalParkingIcon=DC,o.LocalPharmacyIcon=NC,o.LocalPhoneIcon=TC,o.LocalPizzaIcon=MC,o.LocalPlayIcon=OC,o.LocalPoliceIcon=LC,o.LocalPostOfficeIcon=QC,o.LocalPrintshopIcon=VC,o.LocalSeeIcon=WC,o.LocalShippingIcon=GC,o.LocalTaxiIcon=zC,o.LocationCityIcon=HC,o.LocationDisabledIcon=UC,o.LocationOffIcon=YC,o.LocationOnIcon=$C,o.LocationSearchingIcon=jC,o.LockClockIcon=JC,o.LockIcon=qC,o.LockOpenIcon=ZC,o.LockPersonIcon=XC,o.LockResetIcon=xC,o.LoginIcon=RC,o.LogoDevIcon=eS,o.LogoutIcon=Ec,o.Looks3Icon=oS,o.Looks4Icon=rS,o.Looks5Icon=tS,o.Looks6Icon=cS,o.LooksIcon=nS,o.LooksOneIcon=iS,o.LooksTwoIcon=aS,o.LoopIcon=lS,o.LoupeIcon=sS,o.LowPriorityIcon=dS,o.LoyaltyIcon=uS,o.LteMobiledataIcon=fS,o.LtePlusMobiledataIcon=AS,o.LuggageIcon=_S,o.LunchDiningIcon=yS,o.LyricsIcon=gS,o.MacroOffIcon=hS,o.MailIcon=IS,o.MailLockIcon=bS,o.MailOutlineIcon=pS,o.MaleIcon=wS,o.Man2Icon=mS,o.Man3Icon=vS,o.Man4Icon=KS,o.ManIcon=kS,o.ManageAccountsIcon=CS,o.ManageHistoryIcon=SS,o.ManageSearchIcon=BS,o.MapFieldBinding=mi,o.MapIcon=ES,o.MapPropertyPreview=ci,o.MapsHomeWorkIcon=FS,o.MapsUgcIcon=PS,o.MarginIcon=DS,o.MarkAsUnreadIcon=NS,o.MarkChatReadIcon=TS,o.MarkChatUnreadIcon=MS,o.MarkEmailReadIcon=OS,o.MarkEmailUnreadIcon=LS,o.MarkUnreadChatAltIcon=QS,o.Markdown=lo,o.MarkdownFieldBinding=Si,o.MarkunreadIcon=VS,o.MarkunreadMailboxIcon=WS,o.MasksIcon=GS,o.MaximizeIcon=zS,o.MediaBluetoothOffIcon=HS,o.MediaBluetoothOnIcon=US,o.MediationIcon=YS,o.MedicalInformationIcon=$S,o.MedicalServicesIcon=jS,o.MedicationIcon=qS,o.MedicationLiquidIcon=JS,o.MeetingRoomIcon=ZS,o.MemoryIcon=XS,o.Menu=Qn,o.MenuBookIcon=xS,o.MenuIcon=pr,o.MenuItem=ke,o.MenuOpenIcon=RS,o.MergeIcon=eB,o.MergeTypeIcon=nB,o.MessageIcon=oB,o.MicExternalOffIcon=tB,o.MicExternalOnIcon=cB,o.MicIcon=rB,o.MicNoneIcon=iB,o.MicOffIcon=aB,o.MicrowaveIcon=lB,o.MilitaryTechIcon=sB,o.MinimizeIcon=dB,o.MinorCrashIcon=uB,o.MiscellaneousServicesIcon=fB,o.MissedVideoCallIcon=AB,o.MmsIcon=_B,o.MobileFriendlyIcon=yB,o.MobileOffIcon=gB,o.MobileScreenShareIcon=hB,o.MobiledataOffIcon=IB,o.ModeCommentIcon=pB,o.ModeControllerProvider=qa,o.ModeEditIcon=wB,o.ModeEditOutlineIcon=kB,o.ModeFanOffIcon=mB,o.ModeIcon=bB,o.ModeNightIcon=vB,o.ModeOfTravelIcon=KB,o.ModeStandbyIcon=CB,o.ModelTrainingIcon=SB,o.MonetizationOnIcon=BB,o.MoneyIcon=EB,o.MoneyOffCsredIcon=PB,o.MoneyOffIcon=FB,o.MonitorHeartIcon=NB,o.MonitorIcon=DB,o.MonitorWeightIcon=TB,o.MonochromePhotosIcon=MB,o.MoodBadIcon=LB,o.MoodIcon=OB,o.MopedIcon=QB,o.MoreHorizIcon=WB,o.MoreIcon=VB,o.MoreTimeIcon=GB,o.MoreVertIcon=wr,o.MosqueIcon=zB,o.MotionPhotosAutoIcon=HB,o.MotionPhotosOffIcon=UB,o.MotionPhotosOnIcon=YB,o.MotionPhotosPauseIcon=$B,o.MotionPhotosPausedIcon=jB,o.MouseIcon=qB,o.MoveDownIcon=JB,o.MoveToInboxIcon=ZB,o.MoveUpIcon=XB,o.MovieCreationIcon=RB,o.MovieFilterIcon=eE,o.MovieIcon=xB,o.MovingIcon=nE,o.MpIcon=oE,o.MultiSelect=$r,o.MultiSelectBinding=qr,o.MultiSelectContext=Yr,o.MultiSelectItem=jr,o.MultilineChartIcon=rE,o.MultipleStopIcon=tE,o.MuseumIcon=cE,o.MusicNoteIcon=iE,o.MusicOffIcon=aE,o.MusicVideoIcon=lE,o.MyLocationIcon=sE,o.NatIcon=dE,o.NatureIcon=uE,o.NaturePeopleIcon=fE,o.NavigateBeforeIcon=AE,o.NavigateNextIcon=_E,o.NavigationCollectionCard=da,o.NavigationGroup=Dt,o.NavigationIcon=yE,o.NavigationRoutes=P3,o.NearMeDisabledIcon=hE,o.NearMeIcon=gE,o.NearbyErrorIcon=IE,o.NearbyOffIcon=bE,o.NestCamWiredStandIcon=pE,o.NetworkCellIcon=wE,o.NetworkCheckIcon=kE,o.NetworkLockedIcon=mE,o.NetworkPingIcon=vE,o.NetworkWifi1BarIcon=CE,o.NetworkWifi2BarIcon=SE,o.NetworkWifi3BarIcon=BE,o.NetworkWifiIcon=KE,o.NewLabelIcon=EE,o.NewReleasesIcon=FE,o.NewspaperIcon=PE,o.NextPlanIcon=DE,o.NextWeekIcon=NE,o.NfcIcon=TE,o.NightShelterIcon=ME,o.NightlifeIcon=OE,o.NightlightIcon=LE,o.NightlightRoundIcon=QE,o.NightsStayIcon=VE,o.NoAccountsIcon=WE,o.NoAdultContentIcon=GE,o.NoBackpackIcon=zE,o.NoCellIcon=HE,o.NoCrashIcon=UE,o.NoDrinksIcon=YE,o.NoEncryptionGmailerrorredIcon=jE,o.NoEncryptionIcon=$E,o.NoFlashIcon=qE,o.NoFoodIcon=JE,o.NoLuggageIcon=ZE,o.NoMealsIcon=XE,o.NoMeetingRoomIcon=xE,o.NoPhotographyIcon=RE,o.NoSimIcon=eF,o.NoStrollerIcon=nF,o.NoTransferIcon=oF,o.NoiseAwareIcon=rF,o.NoiseControlOffIcon=tF,o.NordicWalkingIcon=cF,o.NorthEastIcon=aF,o.NorthIcon=iF,o.NorthWestIcon=lF,o.NotAccessibleIcon=sF,o.NotFoundPage=fa,o.NotInterestedIcon=dF,o.NotListedLocationIcon=uF,o.NotStartedIcon=fF,o.NoteAddIcon=_F,o.NoteAltIcon=yF,o.NoteIcon=AF,o.NotesIcon=gF,o.NotificationAddIcon=hF,o.NotificationImportantIcon=IF,o.NotificationsActiveIcon=pF,o.NotificationsIcon=bF,o.NotificationsNoneIcon=wF,o.NotificationsOffIcon=kF,o.NotificationsPausedIcon=mF,o.NumberPropertyPreview=si,o.NumbersIcon=Fc,o.OfflineBoltIcon=vF,o.OfflinePinIcon=KF,o.OfflineShareIcon=CF,o.OilBarrelIcon=SF,o.OnDeviceTrainingIcon=BF,o.OndemandVideoIcon=EF,o.OnlinePredictionIcon=FF,o.OpacityIcon=PF,o.OpenInBrowserIcon=DF,o.OpenInFullIcon=NF,o.OpenInNewIcon=ro,o.OpenInNewOffIcon=TF,o.OpenWithIcon=MF,o.OtherHousesIcon=OF,o.OutboundIcon=LF,o.OutboxIcon=QF,o.OutdoorGrillIcon=VF,o.OutletIcon=WF,o.OutlinedFlagIcon=GF,o.OutputIcon=zF,o.PaddingIcon=HF,o.PagesIcon=UF,o.PageviewIcon=YF,o.PaidIcon=$F,o.PaletteIcon=jF,o.PanToolAltIcon=JF,o.PanToolIcon=qF,o.PanoramaFishEyeIcon=XF,o.PanoramaHorizontalIcon=xF,o.PanoramaHorizontalSelectIcon=RF,o.PanoramaIcon=ZF,o.PanoramaPhotosphereIcon=eP,o.PanoramaPhotosphereSelectIcon=nP,o.PanoramaVerticalIcon=oP,o.PanoramaVerticalSelectIcon=rP,o.PanoramaWideAngleIcon=tP,o.PanoramaWideAngleSelectIcon=cP,o.Paper=eU,o.ParaglidingIcon=iP,o.ParkIcon=aP,o.PartyModeIcon=lP,o.PasswordIcon=sP,o.PatternIcon=dP,o.PauseCircleFilledIcon=AP,o.PauseCircleIcon=fP,o.PauseCircleOutlineIcon=_P,o.PauseIcon=uP,o.PausePresentationIcon=yP,o.PaymentIcon=gP,o.PaymentsIcon=hP,o.PedalBikeIcon=IP,o.PendingActionsIcon=pP,o.PendingIcon=bP,o.PentagonIcon=wP,o.PeopleAltIcon=mP,o.PeopleIcon=kP,o.PeopleOutlineIcon=vP,o.PercentIcon=KP,o.PermCameraMicIcon=CP,o.PermContactCalendarIcon=SP,o.PermDataSettingIcon=BP,o.PermDeviceInformationIcon=EP,o.PermIdentityIcon=FP,o.PermMediaIcon=PP,o.PermPhoneMsgIcon=DP,o.PermScanWifiIcon=NP,o.Person2Icon=MP,o.Person3Icon=OP,o.Person4Icon=LP,o.PersonAddAlt1Icon=WP,o.PersonAddAltIcon=VP,o.PersonAddDisabledIcon=GP,o.PersonAddIcon=QP,o.PersonIcon=TP,o.PersonOffIcon=zP,o.PersonOutlineIcon=HP,o.PersonPinCircleIcon=YP,o.PersonPinIcon=UP,o.PersonRemoveAlt1Icon=jP,o.PersonRemoveIcon=$P,o.PersonSearchIcon=qP,o.PersonalInjuryIcon=JP,o.PersonalVideoIcon=ZP,o.PestControlIcon=XP,o.PestControlRodentIcon=xP,o.PetsIcon=RP,o.PhishingIcon=e1,o.PhoneAndroidIcon=o1,o.PhoneBluetoothSpeakerIcon=r1,o.PhoneCallbackIcon=t1,o.PhoneDisabledIcon=c1,o.PhoneEnabledIcon=i1,o.PhoneForwardedIcon=a1,o.PhoneIcon=n1,o.PhoneIphoneIcon=l1,o.PhoneLockedIcon=s1,o.PhoneMissedIcon=d1,o.PhonePausedIcon=u1,o.PhonelinkEraseIcon=A1,o.PhonelinkIcon=f1,o.PhonelinkLockIcon=_1,o.PhonelinkOffIcon=y1,o.PhonelinkRingIcon=g1,o.PhonelinkSetupIcon=h1,o.PhotoAlbumIcon=b1,o.PhotoCameraBackIcon=w1,o.PhotoCameraFrontIcon=k1,o.PhotoCameraIcon=p1,o.PhotoFilterIcon=m1,o.PhotoIcon=I1,o.PhotoLibraryIcon=v1,o.PhotoSizeSelectActualIcon=K1,o.PhotoSizeSelectLargeIcon=C1,o.PhotoSizeSelectSmallIcon=S1,o.PhpIcon=B1,o.PianoIcon=E1,o.PianoOffIcon=F1,o.PictureAsPdfIcon=P1,o.PictureInPictureAltIcon=N1,o.PictureInPictureIcon=D1,o.PieChartIcon=T1,o.PieChartOutlineIcon=M1,o.PinDropIcon=L1,o.PinEndIcon=Q1,o.PinIcon=O1,o.PinInvokeIcon=V1,o.PinchIcon=W1,o.PivotTableChartIcon=G1,o.PixIcon=z1,o.PlaceIcon=H1,o.PlagiarismIcon=U1,o.PlayArrowIcon=Y1,o.PlayCircleFilledIcon=j1,o.PlayCircleIcon=$1,o.PlayCircleOutlineIcon=q1,o.PlayDisabledIcon=J1,o.PlayForWorkIcon=Z1,o.PlayLessonIcon=X1,o.PlaylistAddCheckCircleIcon=eD,o.PlaylistAddCheckIcon=R1,o.PlaylistAddCircleIcon=nD,o.PlaylistAddIcon=x1,o.PlaylistPlayIcon=oD,o.PlaylistRemoveIcon=rD,o.PlumbingIcon=tD,o.PlusOneIcon=cD,o.PodcastsIcon=iD,o.PointOfSaleIcon=aD,o.PolicyIcon=lD,o.PollIcon=sD,o.PolylineIcon=dD,o.PolymerIcon=uD,o.PoolIcon=fD,o.Popover=Et,o.PortableWifiOffIcon=AD,o.PortraitIcon=_D,o.PostAddIcon=yD,o.PowerIcon=gD,o.PowerInputIcon=hD,o.PowerOffIcon=ID,o.PowerSettingsNewIcon=bD,o.PrecisionManufacturingIcon=pD,o.PregnantWomanIcon=wD,o.PresentToAllIcon=kD,o.PreviewIcon=mD,o.PriceChangeIcon=vD,o.PriceCheckIcon=KD,o.PrintDisabledIcon=SD,o.PrintIcon=CD,o.PriorityHighIcon=BD,o.PrivacyTipIcon=ED,o.PrivateConnectivityIcon=FD,o.ProductionQuantityLimitsIcon=PD,o.PropaneIcon=DD,o.PropaneTankIcon=ND,o.PropertyFieldBinding=kn,o.PropertyPreview=Ce,o.PsychologyAltIcon=MD,o.PsychologyIcon=TD,o.PublicIcon=OD,o.PublicOffIcon=LD,o.PublishIcon=QD,o.PublishedWithChangesIcon=VD,o.PunchClockIcon=WD,o.PushPinIcon=GD,o.QrCode2Icon=HD,o.QrCodeIcon=zD,o.QrCodeScannerIcon=UD,o.QueryBuilderIcon=YD,o.QueryStatsIcon=$D,o.QuestionAnswerIcon=jD,o.QuestionMarkIcon=qD,o.QueueIcon=JD,o.QueueMusicIcon=ZD,o.QueuePlayNextIcon=XD,o.QuickreplyIcon=xD,o.QuizIcon=RD,o.RMobiledataIcon=eN,o.RadarIcon=nN,o.RadioButtonCheckedIcon=rN,o.RadioButtonUncheckedIcon=tN,o.RadioIcon=oN,o.RailwayAlertIcon=cN,o.RamenDiningIcon=iN,o.RampLeftIcon=aN,o.RampRightIcon=lN,o.RateReviewIcon=sN,o.RawOffIcon=dN,o.RawOnIcon=uN,o.ReadMoreIcon=fN,o.ReadOnlyFieldBinding=Rr,o.RealEstateAgentIcon=AN,o.ReceiptIcon=_N,o.ReceiptLongIcon=yN,o.RecentActorsIcon=gN,o.RecommendIcon=hN,o.RecordVoiceOverIcon=IN,o.RectangleIcon=bN,o.RecyclingIcon=pN,o.RedeemIcon=wN,o.RedoIcon=kN,o.ReduceCapacityIcon=mN,o.ReferenceFieldBinding=ki,o.ReferencePreview=on,o.ReferencePreviewContainer=To,o.ReferenceSelectionInner=sa,o.RefreshIcon=vN,o.RememberMeIcon=KN,o.RemoveCircleIcon=Pc,o.RemoveCircleOutlineIcon=CN,o.RemoveDoneIcon=SN,o.RemoveFromQueueIcon=BN,o.RemoveIcon=to,o.RemoveModeratorIcon=EN,o.RemoveRedEyeIcon=FN,o.RemoveRoadIcon=PN,o.RemoveShoppingCartIcon=DN,o.ReorderIcon=NN,o.RepartitionIcon=TN,o.RepeatFieldBinding=Ki,o.RepeatIcon=kr,o.RepeatOnIcon=MN,o.RepeatOneIcon=ON,o.RepeatOneOnIcon=LN,o.Replay10Icon=VN,o.Replay30Icon=WN,o.Replay5Icon=GN,o.ReplayCircleFilledIcon=zN,o.ReplayIcon=QN,o.ReplyAllIcon=UN,o.ReplyIcon=HN,o.ReportGmailerrorredIcon=$N,o.ReportIcon=YN,o.ReportOffIcon=jN,o.ReportProblemIcon=qN,o.RequestPageIcon=JN,o.RequestQuoteIcon=ZN,o.ResetTvIcon=XN,o.RestartAltIcon=xN,o.RestaurantIcon=RN,o.RestaurantMenuIcon=eT,o.RestoreFromTrashIcon=oT,o.RestoreIcon=nT,o.RestorePageIcon=rT,o.ReviewsIcon=tT,o.RiceBowlIcon=cT,o.RingVolumeIcon=iT,o.RocketIcon=aT,o.RocketLaunchIcon=lT,o.RollerShadesClosedIcon=dT,o.RollerShadesIcon=sT,o.RollerSkatingIcon=uT,o.RoofingIcon=fT,o.RoomIcon=AT,o.RoomPreferencesIcon=_T,o.RoomServiceIcon=yT,o.Rotate90DegreesCcwIcon=gT,o.Rotate90DegreesCwIcon=hT,o.RotateLeftIcon=IT,o.RotateRightIcon=bT,o.RoundaboutLeftIcon=pT,o.RoundaboutRightIcon=wT,o.RoundedCornerIcon=kT,o.RouteIcon=mT,o.RouteWrapper=Jo,o.RouterIcon=vT,o.RowingIcon=KT,o.RssFeedIcon=CT,o.RsvpIcon=ST,o.RttIcon=BT,o.RuleFolderIcon=FT,o.RuleIcon=ET,o.RunCircleIcon=PT,o.RunningWithErrorsIcon=DT,o.RvHookupIcon=NT,o.SafetyCheckIcon=TT,o.SafetyDividerIcon=MT,o.SailingIcon=OT,o.SanitizerIcon=LT,o.SatelliteAltIcon=VT,o.SatelliteIcon=QT,o.SaveAltIcon=GT,o.SaveAsIcon=zT,o.SaveIcon=WT,o.SavedSearchIcon=HT,o.SavingsIcon=UT,o.Scaffold=B3,o.ScaleIcon=YT,o.ScannerIcon=$T,o.ScatterPlotIcon=jT,o.ScheduleIcon=Dc,o.ScheduleSendIcon=qT,o.SchemaIcon=JT,o.SchoolIcon=ZT,o.ScienceIcon=XT,o.ScoreIcon=xT,o.ScoreboardIcon=RT,o.ScreenLockLandscapeIcon=eM,o.ScreenLockPortraitIcon=nM,o.ScreenLockRotationIcon=oM,o.ScreenRotationAltIcon=tM,o.ScreenRotationIcon=rM,o.ScreenSearchDesktopIcon=cM,o.ScreenShareIcon=iM,o.ScreenshotIcon=aM,o.ScreenshotMonitorIcon=lM,o.ScubaDivingIcon=sM,o.SdCardAlertIcon=fM,o.SdCardIcon=uM,o.SdIcon=dM,o.SdStorageIcon=AM,o.SearchBar=Gt,o.SearchIcon=tc,o.SearchOffIcon=_M,o.SecurityIcon=yM,o.SecurityUpdateGoodIcon=hM,o.SecurityUpdateIcon=gM,o.SecurityUpdateWarningIcon=IM,o.SegmentIcon=bM,o.Select=xe,o.SelectAllIcon=pM,o.SelectFieldBinding=Ur,o.SelectGroup=nU,o.SelectItem=Re,o.SelfImprovementIcon=wM,o.SellIcon=kM,o.SendAndArchiveIcon=vM,o.SendIcon=mM,o.SendTimeExtensionIcon=KM,o.SendToMobileIcon=CM,o.SensorDoorIcon=SM,o.SensorOccupiedIcon=BM,o.SensorWindowIcon=EM,o.SensorsIcon=FM,o.SensorsOffIcon=PM,o.SentimentDissatisfiedIcon=DM,o.SentimentNeutralIcon=NM,o.SentimentSatisfiedAltIcon=MM,o.SentimentSatisfiedIcon=TM,o.SentimentVeryDissatisfiedIcon=OM,o.SentimentVerySatisfiedIcon=LM,o.SetMealIcon=QM,o.SettingsAccessibilityIcon=WM,o.SettingsApplicationsIcon=GM,o.SettingsBackupRestoreIcon=zM,o.SettingsBluetoothIcon=HM,o.SettingsBrightnessIcon=UM,o.SettingsCellIcon=YM,o.SettingsEthernetIcon=$M,o.SettingsIcon=VM,o.SettingsInputAntennaIcon=jM,o.SettingsInputComponentIcon=qM,o.SettingsInputCompositeIcon=JM,o.SettingsInputHdmiIcon=ZM,o.SettingsInputSvideoIcon=XM,o.SettingsOverscanIcon=xM,o.SettingsPhoneIcon=RM,o.SettingsPowerIcon=e2,o.SettingsRemoteIcon=n2,o.SettingsSuggestIcon=o2,o.SettingsSystemDaydreamIcon=r2,o.SettingsVoiceIcon=t2,o.SevereColdIcon=c2,o.ShapeLineIcon=i2,o.ShareIcon=a2,o.ShareLocationIcon=l2,o.Sheet=zt,o.ShieldIcon=s2,o.ShieldMoonIcon=d2,o.Shop2Icon=f2,o.ShopIcon=u2,o.ShopTwoIcon=A2,o.ShoppingBagIcon=_2,o.ShoppingBasketIcon=y2,o.ShoppingCartCheckoutIcon=h2,o.ShoppingCartIcon=g2,o.ShortTextIcon=Nc,o.ShortcutIcon=I2,o.ShowChartIcon=b2,o.ShowerIcon=p2,o.ShuffleIcon=w2,o.ShuffleOnIcon=k2,o.ShutterSpeedIcon=m2,o.SickIcon=v2,o.SideDialogs=zH,o.SignLanguageIcon=K2,o.SignalCellular0BarIcon=C2,o.SignalCellular4BarIcon=S2,o.SignalCellularAlt1BarIcon=E2,o.SignalCellularAlt2BarIcon=F2,o.SignalCellularAltIcon=B2,o.SignalCellularConnectedNoInternet0BarIcon=P2,o.SignalCellularConnectedNoInternet4BarIcon=D2,o.SignalCellularNoSimIcon=N2,o.SignalCellularNodataIcon=T2,o.SignalCellularNullIcon=M2,o.SignalCellularOffIcon=O2,o.SignalWifi0BarIcon=L2,o.SignalWifi4BarIcon=Q2,o.SignalWifi4BarLockIcon=V2,o.SignalWifiBadIcon=W2,o.SignalWifiConnectedNoInternet4Icon=G2,o.SignalWifiOffIcon=z2,o.SignalWifiStatusbar4BarIcon=H2,o.SignalWifiStatusbarConnectedNoInternet4Icon=U2,o.SignalWifiStatusbarNullIcon=Y2,o.SignpostIcon=$2,o.SimCardAlertIcon=q2,o.SimCardDownloadIcon=J2,o.SimCardIcon=j2,o.SingleBedIcon=Z2,o.SipIcon=X2,o.SkateboardingIcon=x2,o.SkeletonPropertyComponent=Nn,o.SkipNextIcon=R2,o.SkipPreviousIcon=eO,o.SleddingIcon=nO,o.SlideshowIcon=oO,o.SlowMotionVideoIcon=rO,o.SmartButtonIcon=tO,o.SmartDisplayIcon=cO,o.SmartScreenIcon=iO,o.SmartToyIcon=aO,o.SmartphoneIcon=lO,o.SmokeFreeIcon=sO,o.SmokingRoomsIcon=dO,o.SmsFailedIcon=fO,o.SmsIcon=uO,o.SnackbarProvider=H3,o.SnippetFolderIcon=AO,o.SnoozeIcon=_O,o.SnowboardingIcon=yO,o.SnowmobileIcon=gO,o.SnowshoeingIcon=hO,o.SoapIcon=IO,o.SocialDistanceIcon=bO,o.SolarPowerIcon=pO,o.SortByAlphaIcon=kO,o.SortIcon=wO,o.SosIcon=mO,o.SoupKitchenIcon=vO,o.SourceIcon=KO,o.SouthAmericaIcon=SO,o.SouthEastIcon=BO,o.SouthIcon=CO,o.SouthWestIcon=EO,o.SpaIcon=FO,o.SpaceBarIcon=PO,o.SpaceDashboardIcon=DO,o.SpatialAudioIcon=NO,o.SpatialAudioOffIcon=TO,o.SpatialTrackingIcon=MO,o.SpeakerGroupIcon=LO,o.SpeakerIcon=OO,o.SpeakerNotesIcon=QO,o.SpeakerNotesOffIcon=VO,o.SpeakerPhoneIcon=WO,o.SpeedIcon=GO,o.SpellcheckIcon=zO,o.Spinner=oU,o.SplitscreenIcon=HO,o.SpokeIcon=UO,o.SportsBarIcon=$O,o.SportsBaseballIcon=jO,o.SportsBasketballIcon=qO,o.SportsCricketIcon=JO,o.SportsEsportsIcon=ZO,o.SportsFootballIcon=XO,o.SportsGolfIcon=xO,o.SportsGymnasticsIcon=RO,o.SportsHandballIcon=eL,o.SportsHockeyIcon=nL,o.SportsIcon=YO,o.SportsKabaddiIcon=oL,o.SportsMartialArtsIcon=rL,o.SportsMmaIcon=tL,o.SportsMotorsportsIcon=cL,o.SportsRugbyIcon=iL,o.SportsScoreIcon=aL,o.SportsSoccerIcon=lL,o.SportsTennisIcon=sL,o.SportsVolleyballIcon=dL,o.SquareFootIcon=fL,o.SquareIcon=uL,o.SsidChartIcon=AL,o.StackedBarChartIcon=_L,o.StackedLineChartIcon=yL,o.StadiumIcon=gL,o.StairsIcon=hL,o.StarBorderIcon=vr,o.StarBorderPurple500Icon=IL,o.StarHalfIcon=bL,o.StarIcon=mr,o.StarOutlineIcon=pL,o.StarPurple500Icon=wL,o.StarRateIcon=kL,o.StarsIcon=mL,o.StartIcon=vL,o.StayCurrentLandscapeIcon=KL,o.StayCurrentPortraitIcon=CL,o.StayPrimaryLandscapeIcon=SL,o.StayPrimaryPortraitIcon=BL,o.StickyNote2Icon=EL,o.StopCircleIcon=PL,o.StopIcon=FL,o.StopScreenShareIcon=DL,o.StorageIcon=NL,o.StorageThumbnail=qc,o.StorageThumbnailInternal=Zc,o.StorageUploadFieldBinding=Xr,o.StoreIcon=TL,o.StoreMallDirectoryIcon=ML,o.StorefrontIcon=OL,o.StormIcon=LL,o.StraightIcon=QL,o.StraightenIcon=VL,o.StreamIcon=WL,o.StreetviewIcon=GL,o.StrikethroughSIcon=zL,o.StringPropertyPreview=Mr,o.StrollerIcon=HL,o.StyleIcon=UL,o.SubdirectoryArrowLeftIcon=YL,o.SubdirectoryArrowRightIcon=$L,o.SubjectIcon=Tc,o.SubscriptIcon=jL,o.SubscriptionsIcon=qL,o.SubtitlesIcon=JL,o.SubtitlesOffIcon=ZL,o.SubwayIcon=XL,o.SummarizeIcon=xL,o.SuperscriptIcon=RL,o.SupervisedUserCircleIcon=e4,o.SupervisorAccountIcon=n4,o.SupportAgentIcon=r4,o.SupportIcon=o4,o.SurfingIcon=t4,o.SurroundSoundIcon=c4,o.SwapCallsIcon=i4,o.SwapHorizIcon=a4,o.SwapHorizontalCircleIcon=l4,o.SwapVertIcon=s4,o.SwapVerticalCircleIcon=d4,o.SwipeDownAltIcon=A4,o.SwipeDownIcon=f4,o.SwipeIcon=u4,o.SwipeLeftAltIcon=y4,o.SwipeLeftIcon=_4,o.SwipeRightAltIcon=h4,o.SwipeRightIcon=g4,o.SwipeUpAltIcon=b4,o.SwipeUpIcon=I4,o.SwipeVerticalIcon=p4,o.SwitchAccessShortcutAddIcon=k4,o.SwitchAccessShortcutIcon=w4,o.SwitchAccountIcon=m4,o.SwitchCameraIcon=v4,o.SwitchControl=tl,o.SwitchFieldBinding=pi,o.SwitchLeftIcon=K4,o.SwitchRightIcon=C4,o.SwitchVideoIcon=S4,o.SynagogueIcon=B4,o.SyncAltIcon=F4,o.SyncDisabledIcon=P4,o.SyncIcon=E4,o.SyncLockIcon=D4,o.SyncProblemIcon=N4,o.SystemSecurityUpdateGoodIcon=M4,o.SystemSecurityUpdateIcon=T4,o.SystemSecurityUpdateWarningIcon=O4,o.SystemUpdateAltIcon=Q4,o.SystemUpdateIcon=L4,o.Tab=Ro,o.TabIcon=V4,o.TabUnselectedIcon=W4,o.Table=rU,o.TableBarIcon=G4,o.TableBody=tU,o.TableCell=aU,o.TableChartIcon=z4,o.TableHeader=cU,o.TableRestaurantIcon=H4,o.TableRow=iU,o.TableRowsIcon=U4,o.TableViewIcon=Y4,o.TabletAndroidIcon=j4,o.TabletIcon=$4,o.TabletMacIcon=q4,o.Tabs=va,o.TagFacesIcon=Z4,o.TagIcon=J4,o.TakeoutDiningIcon=X4,o.TapAndPlayIcon=x4,o.TapasIcon=R4,o.TaskAltIcon=nQ,o.TaskIcon=eQ,o.TaxiAlertIcon=oQ,o.TempleBuddhistIcon=rQ,o.TempleHinduIcon=tQ,o.TerminalIcon=cQ,o.TerrainIcon=iQ,o.TextDecreaseIcon=aQ,o.TextField=_n,o.TextFieldBinding=Mn,o.TextFieldsIcon=lQ,o.TextFormatIcon=sQ,o.TextIncreaseIcon=dQ,o.TextRotateUpIcon=uQ,o.TextRotateVerticalIcon=fQ,o.TextRotationAngledownIcon=AQ,o.TextRotationAngleupIcon=_Q,o.TextRotationDownIcon=yQ,o.TextRotationNoneIcon=gQ,o.TextSnippetIcon=hQ,o.TextareaAutosize=bt,o.TextsmsIcon=IQ,o.TextureIcon=bQ,o.TheaterComedyIcon=pQ,o.TheatersIcon=wQ,o.ThermostatAutoIcon=mQ,o.ThermostatIcon=kQ,o.ThumbDownAltIcon=KQ,o.ThumbDownIcon=vQ,o.ThumbDownOffAltIcon=CQ,o.ThumbUpAltIcon=BQ,o.ThumbUpIcon=SQ,o.ThumbUpOffAltIcon=EQ,o.ThumbsUpDownIcon=FQ,o.ThunderstormIcon=PQ,o.TimeToLeaveIcon=DQ,o.TimelapseIcon=NQ,o.TimelineIcon=TQ,o.Timer10Icon=OQ,o.Timer10SelectIcon=LQ,o.Timer3Icon=QQ,o.Timer3SelectIcon=VQ,o.TimerIcon=MQ,o.TimerOffIcon=WQ,o.TipsAndUpdatesIcon=GQ,o.TireRepairIcon=zQ,o.TitleIcon=HQ,o.TocIcon=UQ,o.TodayIcon=YQ,o.ToggleOffIcon=$Q,o.ToggleOnIcon=jQ,o.TokenIcon=qQ,o.TollIcon=JQ,o.TonalityIcon=ZQ,o.Tooltip=_e,o.TopicIcon=XQ,o.TornadoIcon=xQ,o.TouchAppIcon=RQ,o.TourIcon=eV,o.ToysIcon=nV,o.TrackChangesIcon=oV,o.TrafficIcon=rV,o.TrainIcon=tV,o.TramIcon=cV,o.TranscribeIcon=iV,o.TransferWithinAStationIcon=aV,o.TransformIcon=lV,o.TransgenderIcon=sV,o.TransitEnterexitIcon=dV,o.TranslateIcon=uV,o.TravelExploreIcon=fV,o.TrendingDownIcon=AV,o.TrendingFlatIcon=_V,o.TrendingUpIcon=yV,o.TripOriginIcon=gV,o.TroubleshootIcon=hV,o.TryIcon=IV,o.TsunamiIcon=bV,o.TtyIcon=pV,o.TuneIcon=wV,o.TungstenIcon=kV,o.TurnLeftIcon=mV,o.TurnRightIcon=vV,o.TurnSharpLeftIcon=KV,o.TurnSharpRightIcon=CV,o.TurnSlightLeftIcon=SV,o.TurnSlightRightIcon=BV,o.TurnedInIcon=EV,o.TurnedInNotIcon=FV,o.TvIcon=PV,o.TvOffIcon=DV,o.TwoWheelerIcon=NV,o.TypeSpecimenIcon=TV,o.Typography=j,o.UTurnLeftIcon=MV,o.UTurnRightIcon=OV,o.UmbrellaIcon=LV,o.UnarchiveIcon=QV,o.UndoIcon=VV,o.UnfoldLessDoubleIcon=GV,o.UnfoldLessIcon=WV,o.UnfoldMoreDoubleIcon=HV,o.UnfoldMoreIcon=zV,o.UnpublishedIcon=UV,o.UnsubscribeIcon=YV,o.UpcomingIcon=$V,o.UpdateDisabledIcon=qV,o.UpdateIcon=jV,o.UpgradeIcon=JV,o.UploadFileIcon=Mc,o.UploadIcon=ZV,o.UrlComponentPreview=ao,o.UsbIcon=XV,o.UsbOffIcon=xV,o.VaccinesIcon=RV,o.VapeFreeIcon=eW,o.VapingRoomsIcon=nW,o.VerifiedIcon=oW,o.VerifiedUserIcon=rW,o.VerticalAlignBottomIcon=tW,o.VerticalAlignCenterIcon=cW,o.VerticalAlignTopIcon=iW,o.VerticalDistributeIcon=aW,o.VerticalShadesClosedIcon=sW,o.VerticalShadesIcon=lW,o.VerticalSplitIcon=dW,o.VibrationIcon=uW,o.VideoCallIcon=fW,o.VideoCameraBackIcon=AW,o.VideoCameraFrontIcon=_W,o.VideoChatIcon=yW,o.VideoFileIcon=gW,o.VideoLabelIcon=hW,o.VideoLibraryIcon=IW,o.VideoSettingsIcon=bW,o.VideoStableIcon=pW,o.VideocamIcon=wW,o.VideocamOffIcon=kW,o.VideogameAssetIcon=mW,o.VideogameAssetOffIcon=vW,o.ViewAgendaIcon=KW,o.ViewArrayIcon=CW,o.ViewCarouselIcon=SW,o.ViewColumnIcon=BW,o.ViewComfyAltIcon=FW,o.ViewComfyIcon=EW,o.ViewCompactAltIcon=DW,o.ViewCompactIcon=PW,o.ViewCozyIcon=NW,o.ViewDayIcon=TW,o.ViewHeadlineIcon=MW,o.ViewInArIcon=OW,o.ViewKanbanIcon=LW,o.ViewListIcon=QW,o.ViewModuleIcon=VW,o.ViewQuiltIcon=WW,o.ViewSidebarIcon=GW,o.ViewStreamIcon=Oc,o.ViewTimelineIcon=zW,o.ViewWeekIcon=HW,o.VignetteIcon=UW,o.VillaIcon=YW,o.VirtualTable=Xi,o.VisibilityIcon=$W,o.VisibilityOffIcon=jW,o.VoiceChatIcon=qW,o.VoiceOverOffIcon=JW,o.VoicemailIcon=ZW,o.VolcanoIcon=XW,o.VolumeDownIcon=xW,o.VolumeMuteIcon=RW,o.VolumeOffIcon=e5,o.VolumeUpIcon=n5,o.VolunteerActivismIcon=o5,o.VpnKeyIcon=r5,o.VpnKeyOffIcon=t5,o.VpnLockIcon=c5,o.VrpanoIcon=i5,o.WalletIcon=a5,o.WallpaperIcon=l5,o.WarehouseIcon=s5,o.WarningAmberIcon=u5,o.WarningIcon=d5,o.WashIcon=f5,o.WatchIcon=A5,o.WatchLaterIcon=_5,o.WatchOffIcon=y5,o.WaterDamageIcon=h5,o.WaterDropIcon=I5,o.WaterIcon=g5,o.WaterfallChartIcon=b5,o.WavesIcon=p5,o.WavingHandIcon=w5,o.WbAutoIcon=k5,o.WbCloudyIcon=m5,o.WbIncandescentIcon=v5,o.WbIridescentIcon=K5,o.WbShadeIcon=C5,o.WbSunnyIcon=S5,o.WbTwilightIcon=B5,o.WcIcon=E5,o.WebAssetIcon=P5,o.WebAssetOffIcon=D5,o.WebIcon=F5,o.WebStoriesIcon=N5,o.WebhookIcon=T5,o.WeekendIcon=M5,o.WestIcon=O5,o.WhatshotIcon=L5,o.WheelchairPickupIcon=Q5,o.WhereToVoteIcon=V5,o.WidgetsIcon=W5,o.WidthFullIcon=G5,o.WidthNormalIcon=z5,o.WidthWideIcon=H5,o.Wifi1BarIcon=Y5,o.Wifi2BarIcon=$5,o.WifiCalling3Icon=q5,o.WifiCallingIcon=j5,o.WifiChannelIcon=J5,o.WifiFindIcon=Z5,o.WifiIcon=U5,o.WifiLockIcon=X5,o.WifiOffIcon=x5,o.WifiPasswordIcon=R5,o.WifiProtectedSetupIcon=eG,o.WifiTetheringErrorIcon=oG,o.WifiTetheringIcon=nG,o.WifiTetheringOffIcon=rG,o.WindPowerIcon=tG,o.WindowIcon=cG,o.WineBarIcon=iG,o.Woman2Icon=lG,o.WomanIcon=aG,o.WorkHistoryIcon=dG,o.WorkIcon=sG,o.WorkOffIcon=uG,o.WorkOutlineIcon=fG,o.WorkspacePremiumIcon=AG,o.WorkspacesIcon=_G,o.WrapTextIcon=yG,o.WrongLocationIcon=gG,o.WysiwygIcon=hG,o.YardIcon=IG,o.YoutubeSearchedForIcon=bG,o.ZoomInIcon=pG,o.ZoomInMapIcon=wG,o.ZoomOutIcon=kG,o.ZoomOutMapIcon=mG,o._10kIcon=sl,o._10mpIcon=dl,o._11mpIcon=ul,o._123Icon=al,o._12mpIcon=fl,o._13mpIcon=Al,o._14mpIcon=_l,o._15mpIcon=yl,o._16mpIcon=gl,o._17mpIcon=hl,o._18UpRatingIcon=Il,o._18mpIcon=bl,o._19mpIcon=pl,o._1kIcon=wl,o._1kPlusIcon=kl,o._1xMobiledataIcon=ml,o._20mpIcon=vl,o._21mpIcon=Kl,o._22mpIcon=Cl,o._23mpIcon=Sl,o._24mpIcon=Bl,o._2kIcon=El,o._2kPlusIcon=Fl,o._2mpIcon=Pl,o._30fpsIcon=Dl,o._30fpsSelectIcon=Nl,o._360Icon=ll,o._3dRotationIcon=Tl,o._3gMobiledataIcon=Ml,o._3kIcon=Ol,o._3kPlusIcon=Ll,o._3mpIcon=Ql,o._3pIcon=Vl,o._4gMobiledataIcon=Wl,o._4gPlusMobiledataIcon=Gl,o._4kIcon=zl,o._4kPlusIcon=Hl,o._4mpIcon=Ul,o._5gIcon=Yl,o._5kIcon=$l,o._5kPlusIcon=jl,o._5mpIcon=ql,o._60fpsIcon=Jl,o._60fpsSelectIcon=Zl,o._6FtApartIcon=Xl,o._6kIcon=xl,o._6kPlusIcon=Rl,o._6mpIcon=es,o._7kIcon=ns,o._7kPlusIcon=os,o._7mpIcon=rs,o._8kIcon=ts,o._8kPlusIcon=cs,o._8mpIcon=is,o._9kIcon=as,o._9kPlusIcon=ls,o._9mpIcon=ss,o.addInitialSlash=Za,o.buildAdditionalFieldDelegate=V3,o.buildCollection=D3,o.buildEntityCallbacks=Q3,o.buildEnumLabel=oc,o.buildEnumValueConfig=L3,o.buildEnumValues=O3,o.buildFieldConfig=W3,o.buildProperties=T3,o.buildPropertiesOrBuilder=M3,o.buildProperty=N3,o.canCreateEntity=Wo,o.canDeleteEntity=lt,o.canEditEntity=at,o.cardClickableMixin=Rc,o.cardMixin=xc,o.cardSelectedMixin=HG,o.cn=E,o.coolIconKeys=Ar,o.debounce=Wi,o.defaultBorderMixin=de,o.defaultDateFormat=ii,o.deleteEntityWithCallbacks=Uc,o.enumToObjectEntries=ln,o.fieldBackgroundDisabledMixin=nn,o.fieldBackgroundHoverMixin=Ge,o.fieldBackgroundInvisibleMixin=Qr,o.fieldBackgroundMixin=Ze,o.flattenObject=st,o.focusedClasses=Lr,o.focusedInvisibleMixin=Or,o.focusedMixin=ge,o.fullPathToCollectionSegments=Xe,o.getArrayValuesCount=Gi,o.getBracketNotation=Gz,o.getCollectionByPathOrAlias=po,o.getCollectionPathsCombinations=wo,o.getColorForProperty=Wz,o.getColorScheme=nc,o.getDefaultFieldId=ut,o.getDefaultPropertiesOrder=zz,o.getDefaultValueFor=vo,o.getDefaultValueForDataType=ur,o.getDefaultValuesFor=no,o.getFieldConfig=Ho,o.getFieldId=ft,o.getHashValue=lr,o.getIcon=Qi,o.getIconForProperty=we,o.getIconForView=Go,o.getIconForWidget=ct,o.getIdIcon=Vz,o.getLabelOrConfigFrom=So,o.getLastSegment=Xa,o.getPropertiesWithPropertiesOrder=Li,o.getPropertyInPath=mn,o.getRandomId=_o,o.getReferenceFrom=In,o.getReferencePreviewKeys=Vi,o.getResolvedPropertyInPath=it,o.getValueInPath=an,o.hydrateRegExp=Mi,o.iconKeys=rc,o.isDefaultFieldConfigId=Ui,o.isEmptyObject=dr,o.isEnumValueDisabled=ol,o.isHidden=eo,o.isObject=ko,o.isPropertyBuilder=De,o.isReadOnly=Cn,o.isReferenceProperty=Oi,o.isValidRegExp=Lz,o.makePropertiesEditable=zi,o.makePropertiesNonEditable=Hi,o.mergeDeep=Je,o.paperMixin=ze,o.pick=xt,o.plural=Hz,o.randomColor=nz,o.randomString=Tn,o.removeFunctions=ar,o.removeInPath=xa,o.removeInitialAndTrailingSlashes=Ie,o.removeInitialSlash=Zt,o.removeTrailingSlash=Xt,o.removeUndefined=sr,o.renderSkeletonCaptionText=VG,o.renderSkeletonIcon=Tr,o.renderSkeletonImageThumbnail=Nr,o.renderSkeletonText=en,o.resolveArrayProperty=fn,o.resolveCollection=Me,o.resolveCollectionPathAliases=cr,o.resolveDefaultSelectedView=rt,o.resolveEntityView=yt,o.resolveEnumValues=Yz,o.resolveNavigationFrom=Yc,o.resolvePermissions=uo,o.resolveProperties=At,o.resolveProperty=Ne,o.resolvePropertyEnum=_t,o.sanitizeData=el,o.saveEntityWithCallbacks=Er,o.segmentsToStrippedPath=Ti,o.serializeRegExp=Oz,o.singular=Uz,o.slugify=Oo,o.sortProperties=Di,o.stripCollectionPath=tt,o.toKebabCase=xG,o.toSnakeCase=ez,o.traverseValueProperty=Ko,o.traverseValuesProperties=fr,o.unslugify=Ja,o.updateDateAutoValues=Ra,o.useAuthController=pn,o.useAutoComplete=U3,o.useBreadcrumbsContext=Pr,o.useBrowserTitleAndIcon=SG,o.useBuildLocalConfigurationPersistence=z3,o.useBuildModeController=G3,o.useClearRestoreValue=Te,o.useClipboard=$c,o.useCollectionFetch=Hc,o.useDataSource=Le,o.useDebounce=Qo,o.useDebounceValue=Qz,o.useEntityCollectionTableController=Bt,o.useEntityFetch=Br,o.useFireCMSContext=ee,o.useLargeLayout=We,o.useModeController=Fr,o.useNavigationContext=fe,o.useOutsideAlerter=Mo,o.useReferenceDialog=io,o.useResolvedNavigationFrom=vG,o.useSelectionController=Pt,o.useSideDialogContext=Yo,o.useSideDialogsController=co,o.useSideEntityController=Sn,o.useSnackbarController=dn,o.useStorageSource=Bn,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
1611
1611
  //# sourceMappingURL=index.umd.js.map