@firecms/core 3.0.0-alpha.27 → 3.0.0-alpha.29

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 (91) hide show
  1. package/dist/components/Popover.d.ts +3 -1
  2. package/dist/core/FireCMS.d.ts +2 -2
  3. package/dist/core/builders.d.ts +5 -5
  4. package/dist/core/components/EntityCollectionTable/EntityCollectionTableProps.d.ts +4 -2
  5. package/dist/core/components/EntityCollectionTable/filters/ReferenceFilterField.d.ts +3 -3
  6. package/dist/core/components/EntityCollectionTable/internal/EntityCollectionRowActions.d.ts +15 -11
  7. package/dist/core/components/EntityCollectionTable/internal/default_entity_actions.d.ts +5 -0
  8. package/dist/core/components/EntityCollectionTable/types.d.ts +1 -37
  9. package/dist/core/components/FieldConfigBadge.d.ts +3 -3
  10. package/dist/core/components/VirtualTable/VirtualTableHeader.d.ts +2 -2
  11. package/dist/core/components/VirtualTable/VirtualTableProps.d.ts +1 -1
  12. package/dist/core/contexts/DialogsProvider.d.ts +4 -0
  13. package/dist/core/form_field_configs.d.ts +3 -3
  14. package/dist/core/index.d.ts +1 -1
  15. package/dist/core/internal/useBuildNavigationContext.d.ts +3 -3
  16. package/dist/core/util/property_utils.d.ts +5 -5
  17. package/dist/core/util/references.d.ts +2 -2
  18. package/dist/core/util/resolutions.d.ts +6 -6
  19. package/dist/hooks/index.d.ts +1 -0
  20. package/dist/hooks/useBuildDataSource.d.ts +23 -0
  21. package/dist/hooks/useDialogsController.d.ts +11 -0
  22. package/dist/index.es.js +8996 -8583
  23. package/dist/index.es.js.map +1 -1
  24. package/dist/index.umd.js +67 -67
  25. package/dist/index.umd.js.map +1 -1
  26. package/dist/styles.d.ts +1 -1
  27. package/dist/types/collections.d.ts +36 -13
  28. package/dist/types/datasource.d.ts +120 -11
  29. package/dist/types/dialogs_controller.d.ts +30 -0
  30. package/dist/types/entity_actions.d.ts +33 -0
  31. package/dist/types/fields.d.ts +1 -1
  32. package/dist/types/firecms.d.ts +8 -8
  33. package/dist/types/firecms_context.d.ts +10 -3
  34. package/dist/types/index.d.ts +2 -1
  35. package/dist/types/navigation.d.ts +3 -3
  36. package/dist/types/plugins.d.ts +11 -10
  37. package/dist/types/properties.d.ts +1 -1
  38. package/dist/types/{field_config.d.ts → property_config.d.ts} +3 -4
  39. package/package.json +3 -3
  40. package/src/components/Popover.tsx +10 -3
  41. package/src/components/Sheet.tsx +1 -0
  42. package/src/components/TextareaAutosize.tsx +2 -1
  43. package/src/core/FireCMS.tsx +9 -6
  44. package/src/core/builders.ts +11 -11
  45. package/src/core/components/ArrayContainer.tsx +1 -1
  46. package/src/core/components/EntityCollectionTable/EntityCollectionTable.tsx +20 -13
  47. package/src/core/components/EntityCollectionTable/EntityCollectionTableProps.tsx +5 -2
  48. package/src/core/components/EntityCollectionTable/filters/ReferenceFilterField.tsx +11 -6
  49. package/src/core/components/EntityCollectionTable/internal/EntityCollectionRowActions.tsx +96 -79
  50. package/src/core/components/EntityCollectionTable/internal/PropertyTableCell.tsx +2 -2
  51. package/src/core/components/EntityCollectionTable/internal/default_entity_actions.tsx +107 -0
  52. package/src/core/components/EntityCollectionTable/internal/popup_field/PopupFormField.tsx +6 -2
  53. package/src/core/components/EntityCollectionTable/types.tsx +1 -56
  54. package/src/core/components/EntityCollectionView/EntityCollectionView.tsx +67 -43
  55. package/src/core/components/FieldConfigBadge.tsx +4 -4
  56. package/src/core/components/ReferenceSelectionInner.tsx +2 -2
  57. package/src/core/components/VirtualTable/VirtualTable.tsx +4 -6
  58. package/src/core/components/VirtualTable/VirtualTableHeader.tsx +21 -18
  59. package/src/core/components/VirtualTable/VirtualTableProps.tsx +1 -1
  60. package/src/core/contexts/DialogsProvider.tsx +50 -0
  61. package/src/core/form_field_configs.tsx +5 -5
  62. package/src/core/index.tsx +1 -1
  63. package/src/core/internal/useBuildNavigationContext.tsx +13 -13
  64. package/src/core/internal/useBuildSideEntityController.tsx +9 -1
  65. package/src/core/util/property_utils.tsx +5 -5
  66. package/src/core/util/references.ts +2 -2
  67. package/src/core/util/resolutions.ts +16 -11
  68. package/src/form/EntityForm.tsx +64 -7
  69. package/src/form/PropertyFieldBinding.tsx +4 -4
  70. package/src/form/field_bindings/KeyValueFieldBinding.tsx +1 -1
  71. package/src/form/field_bindings/ReadOnlyFieldBinding.tsx +4 -6
  72. package/src/hooks/index.tsx +1 -0
  73. package/src/hooks/useBuildDataSource.ts +351 -0
  74. package/src/hooks/useDialogsController.tsx +14 -0
  75. package/src/hooks/useFireCMSContext.tsx +5 -11
  76. package/src/preview/property_previews/StringPropertyPreview.tsx +4 -2
  77. package/src/styles.ts +1 -1
  78. package/src/types/collections.ts +36 -17
  79. package/src/types/datasource.ts +174 -10
  80. package/src/types/dialogs_controller.tsx +31 -0
  81. package/src/types/entity_actions.tsx +36 -0
  82. package/src/types/fields.tsx +1 -1
  83. package/src/types/firecms.tsx +8 -8
  84. package/src/types/firecms_context.tsx +11 -3
  85. package/src/types/index.ts +2 -1
  86. package/src/types/navigation.ts +3 -3
  87. package/src/types/plugins.tsx +11 -10
  88. package/src/types/properties.ts +1 -1
  89. package/src/types/{field_config.tsx → property_config.tsx} +3 -4
  90. /package/dist/core/contexts/{SnackbarContext.d.ts → SnackbarProvider.d.ts} +0 -0
  91. /package/src/core/contexts/{SnackbarContext.tsx → SnackbarProvider.tsx} +0 -0
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("@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"],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.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,jn,Ca,n,f,$t,Be,Sa,Ba,fU,nr,jt,Ea,or,se,qt,Fa,bo,Pa,Da,Na,Ta,Ma,Oa,La,Cn,Qa,he,hn,Va,Wa,rr,Ga,za){"use strict";function Ee(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=Ee(f),qn=Ee(Sa),Jt=Ee(Ba),Ye=Ee(Ea),Jn=Ee(Fa),$e=Ee(Pa),Ha=Ee(Da),Zn=Ee(Na),tr=Ee(Ta),Xn=Ee(Ma),Zt=Ee(La),Fe=Ee(Va),Ua=Ee(Ga),Ya=Ee(za);function E(...e){return Ca.twMerge(jn.clsx(e))}const $a={breadcrumbs:[],set:e=>{}},Xt=f.createContext($a),ja=({children:e})=>{const[t,c]=f.useState([]),i=a=>{c(a.breadcrumbs)};return n.jsx(Xt.Provider,{value:{breadcrumbs:t,set:i},children:e})},qa={mode:"light",setMode:e=>{},toggleMode:()=>{}},cr=f.createContext(qa),Ja=cr.Provider;function Za(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 xt(Rt(e))}function xt(e){return e.startsWith("/")?e.slice(1):e}function Rt(e){return e.endsWith("/")?e.slice(0,-1):e}function Xa(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 ir(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]+"/"+ir(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 je{id;path;constructor(t,c){this.id=t,this.path=c}get pathWithId(){return`${this.path}/${this.id}`}}class ar{latitude;longitude;constructor(t,c){this.latitude=t,this.longitude=c}}const ec=(e,...t)=>({...t.reduce((c,i)=>({...c,[i]:e[i]}),{})});function ko(e){return e&&typeof e=="object"&&!Array.isArray(e)}function qe(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]=qe(e[a],t[a]):Object.assign(i,{[a]:t[a]}):Object.assign(i,{[a]:t[a]})}),i}function ln(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:ln(l,s)}}}function Ra(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 lr(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=>lr(i))}:typeof c=="object"?{[t]:lr(c)}:{[t]:c}).reduce((t,c)=>({...t,...c}),{}):e}function sr(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 ar)return $t(e)}return $t(e,{ignoreUnknown:!0})}function dr(e,t){if(typeof e=="function")return e;if(Array.isArray(e))return e.map(c=>dr(c,t));if(typeof e=="object"){const c={};return e===null?e:(Object.keys(e).forEach(i=>{if(!ur(e)){const a=dr(e[i],t),l=typeof a=="string",s=!t||t&&!l||t&&l&&a!=="";a!==void 0&&!ur(a)&&s&&(c[i]=a)}}),c)}return e}function ur(e){return e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length===0}const xn="type",mo="value";function Sn(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 Pe(e){return typeof e=="function"}function eo(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(!Pe(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:fr(e.dataType)}function fr(e){return e==="string"||e==="number"?null:e==="boolean"?!1:e==="date"?null:e==="array"?[]:e==="map"?{}:null}function el({inputValues:e,properties:t,status:c,timestampNowValue:i,setDateToMidnight:a}){return Ar(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 nl(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 je(e.id,e.path)}function Ar(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=Ar(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??xn,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 nc(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 oc(e){const t=nc(e),c=Object.keys(Co),i=t%c.length;return Co[c[i]]}function ol(e){return Co[e]}function sn(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 rc(e,t){const c=So(e,t);if(!c?.color)return oc(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 rl(e){return typeof e=="object"&&e.disabled}function tc(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(Mt,{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 tl(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(rn,{...e,onChange:l,value:c})}function cl({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(Ae,{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"],cc=["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"],il={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?il[c]:"","select-none",i),onClick:a,children:e})}function al(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 yr(e){return n.jsx(r,{...e,iconKey:"search"})}function ll(e){return n.jsx(r,{...e,iconKey:"123"})}function sl(e){return n.jsx(r,{...e,iconKey:"360"})}function dl(e){return n.jsx(r,{...e,iconKey:"10k"})}function ul(e){return n.jsx(r,{...e,iconKey:"10mp"})}function fl(e){return n.jsx(r,{...e,iconKey:"11mp"})}function Al(e){return n.jsx(r,{...e,iconKey:"12mp"})}function _l(e){return n.jsx(r,{...e,iconKey:"13mp"})}function yl(e){return n.jsx(r,{...e,iconKey:"14mp"})}function gl(e){return n.jsx(r,{...e,iconKey:"15mp"})}function hl(e){return n.jsx(r,{...e,iconKey:"16mp"})}function Il(e){return n.jsx(r,{...e,iconKey:"17mp"})}function bl(e){return n.jsx(r,{...e,iconKey:"18_up_rating"})}function pl(e){return n.jsx(r,{...e,iconKey:"18mp"})}function wl(e){return n.jsx(r,{...e,iconKey:"19mp"})}function kl(e){return n.jsx(r,{...e,iconKey:"1k"})}function ml(e){return n.jsx(r,{...e,iconKey:"1k_plus"})}function vl(e){return n.jsx(r,{...e,iconKey:"1x_mobiledata"})}function Kl(e){return n.jsx(r,{...e,iconKey:"20mp"})}function Cl(e){return n.jsx(r,{...e,iconKey:"21mp"})}function Sl(e){return n.jsx(r,{...e,iconKey:"22mp"})}function Bl(e){return n.jsx(r,{...e,iconKey:"23mp"})}function El(e){return n.jsx(r,{...e,iconKey:"24mp"})}function Fl(e){return n.jsx(r,{...e,iconKey:"2k"})}function Pl(e){return n.jsx(r,{...e,iconKey:"2k_plus"})}function Dl(e){return n.jsx(r,{...e,iconKey:"2mp"})}function Nl(e){return n.jsx(r,{...e,iconKey:"30fps"})}function Tl(e){return n.jsx(r,{...e,iconKey:"30fps_select"})}function Ml(e){return n.jsx(r,{...e,iconKey:"3d_rotation"})}function Ol(e){return n.jsx(r,{...e,iconKey:"3g_mobiledata"})}function Ll(e){return n.jsx(r,{...e,iconKey:"3k"})}function Ql(e){return n.jsx(r,{...e,iconKey:"3k_plus"})}function Vl(e){return n.jsx(r,{...e,iconKey:"3mp"})}function Wl(e){return n.jsx(r,{...e,iconKey:"3p"})}function Gl(e){return n.jsx(r,{...e,iconKey:"4g_mobiledata"})}function zl(e){return n.jsx(r,{...e,iconKey:"4g_plus_mobiledata"})}function Hl(e){return n.jsx(r,{...e,iconKey:"4k"})}function Ul(e){return n.jsx(r,{...e,iconKey:"4k_plus"})}function Yl(e){return n.jsx(r,{...e,iconKey:"4mp"})}function $l(e){return n.jsx(r,{...e,iconKey:"5g"})}function jl(e){return n.jsx(r,{...e,iconKey:"5k"})}function ql(e){return n.jsx(r,{...e,iconKey:"5k_plus"})}function Jl(e){return n.jsx(r,{...e,iconKey:"5mp"})}function Zl(e){return n.jsx(r,{...e,iconKey:"60fps"})}function Xl(e){return n.jsx(r,{...e,iconKey:"60fps_select"})}function xl(e){return n.jsx(r,{...e,iconKey:"6_ft_apart"})}function Rl(e){return n.jsx(r,{...e,iconKey:"6k"})}function es(e){return n.jsx(r,{...e,iconKey:"6k_plus"})}function ns(e){return n.jsx(r,{...e,iconKey:"6mp"})}function os(e){return n.jsx(r,{...e,iconKey:"7k"})}function rs(e){return n.jsx(r,{...e,iconKey:"7k_plus"})}function ts(e){return n.jsx(r,{...e,iconKey:"7mp"})}function cs(e){return n.jsx(r,{...e,iconKey:"8k"})}function is(e){return n.jsx(r,{...e,iconKey:"8k_plus"})}function as(e){return n.jsx(r,{...e,iconKey:"8mp"})}function ls(e){return n.jsx(r,{...e,iconKey:"9k"})}function ss(e){return n.jsx(r,{...e,iconKey:"9k_plus"})}function ds(e){return n.jsx(r,{...e,iconKey:"9mp"})}function us(e){return n.jsx(r,{...e,iconKey:"abc"})}function fs(e){return n.jsx(r,{...e,iconKey:"ac_unit"})}function As(e){return n.jsx(r,{...e,iconKey:"access_alarm"})}function _s(e){return n.jsx(r,{...e,iconKey:"access_alarms"})}function ys(e){return n.jsx(r,{...e,iconKey:"access_time"})}function gs(e){return n.jsx(r,{...e,iconKey:"access_time_filled"})}function hs(e){return n.jsx(r,{...e,iconKey:"accessibility"})}function Is(e){return n.jsx(r,{...e,iconKey:"accessibility_new"})}function bs(e){return n.jsx(r,{...e,iconKey:"accessible"})}function ps(e){return n.jsx(r,{...e,iconKey:"accessible_forward"})}function ws(e){return n.jsx(r,{...e,iconKey:"account_balance"})}function ks(e){return n.jsx(r,{...e,iconKey:"account_balance_wallet"})}function ms(e){return n.jsx(r,{...e,iconKey:"account_box"})}function vs(e){return n.jsx(r,{...e,iconKey:"account_circle"})}function Ks(e){return n.jsx(r,{...e,iconKey:"account_tree"})}function Cs(e){return n.jsx(r,{...e,iconKey:"ad_units"})}function Ss(e){return n.jsx(r,{...e,iconKey:"adb"})}function bn(e){return n.jsx(r,{...e,iconKey:"add"})}function Bs(e){return n.jsx(r,{...e,iconKey:"add_a_photo"})}function Es(e){return n.jsx(r,{...e,iconKey:"add_alarm"})}function Fs(e){return n.jsx(r,{...e,iconKey:"add_alert"})}function Ps(e){return n.jsx(r,{...e,iconKey:"add_box"})}function Ds(e){return n.jsx(r,{...e,iconKey:"add_business"})}function Ns(e){return n.jsx(r,{...e,iconKey:"add_card"})}function Ts(e){return n.jsx(r,{...e,iconKey:"add_chart"})}function Ms(e){return n.jsx(r,{...e,iconKey:"add_circle"})}function Os(e){return n.jsx(r,{...e,iconKey:"add_circle_outline"})}function Ls(e){return n.jsx(r,{...e,iconKey:"add_comment"})}function Qs(e){return n.jsx(r,{...e,iconKey:"add_home"})}function Vs(e){return n.jsx(r,{...e,iconKey:"add_home_work"})}function Ws(e){return n.jsx(r,{...e,iconKey:"add_ic_call"})}function ic(e){return n.jsx(r,{...e,iconKey:"add_link"})}function Gs(e){return n.jsx(r,{...e,iconKey:"add_location"})}function zs(e){return n.jsx(r,{...e,iconKey:"add_location_alt"})}function Hs(e){return n.jsx(r,{...e,iconKey:"add_moderator"})}function Us(e){return n.jsx(r,{...e,iconKey:"add_photo_alternate"})}function Ys(e){return n.jsx(r,{...e,iconKey:"add_reaction"})}function $s(e){return n.jsx(r,{...e,iconKey:"add_road"})}function js(e){return n.jsx(r,{...e,iconKey:"add_shopping_cart"})}function qs(e){return n.jsx(r,{...e,iconKey:"add_task"})}function Js(e){return n.jsx(r,{...e,iconKey:"add_to_drive"})}function Zs(e){return n.jsx(r,{...e,iconKey:"add_to_home_screen"})}function Xs(e){return n.jsx(r,{...e,iconKey:"add_to_photos"})}function xs(e){return n.jsx(r,{...e,iconKey:"add_to_queue"})}function Rs(e){return n.jsx(r,{...e,iconKey:"adf_scanner"})}function ed(e){return n.jsx(r,{...e,iconKey:"adjust"})}function nd(e){return n.jsx(r,{...e,iconKey:"admin_panel_settings"})}function od(e){return n.jsx(r,{...e,iconKey:"ads_click"})}function rd(e){return n.jsx(r,{...e,iconKey:"agriculture"})}function td(e){return n.jsx(r,{...e,iconKey:"air"})}function cd(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat"})}function id(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat_angled"})}function ad(e){return n.jsx(r,{...e,iconKey:"airline_seat_individual_suite"})}function ld(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_extra"})}function sd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_normal"})}function dd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_reduced"})}function ud(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_extra"})}function fd(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_normal"})}function Ad(e){return n.jsx(r,{...e,iconKey:"airline_stops"})}function _d(e){return n.jsx(r,{...e,iconKey:"airlines"})}function yd(e){return n.jsx(r,{...e,iconKey:"airplane_ticket"})}function gd(e){return n.jsx(r,{...e,iconKey:"airplanemode_active"})}function hd(e){return n.jsx(r,{...e,iconKey:"airplanemode_inactive"})}function Id(e){return n.jsx(r,{...e,iconKey:"airplay"})}function bd(e){return n.jsx(r,{...e,iconKey:"airport_shuttle"})}function pd(e){return n.jsx(r,{...e,iconKey:"alarm"})}function wd(e){return n.jsx(r,{...e,iconKey:"alarm_add"})}function kd(e){return n.jsx(r,{...e,iconKey:"alarm_off"})}function md(e){return n.jsx(r,{...e,iconKey:"alarm_on"})}function vd(e){return n.jsx(r,{...e,iconKey:"album"})}function Kd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_center"})}function Cd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_left"})}function Sd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_right"})}function Bd(e){return n.jsx(r,{...e,iconKey:"align_vertical_bottom"})}function Ed(e){return n.jsx(r,{...e,iconKey:"align_vertical_center"})}function Fd(e){return n.jsx(r,{...e,iconKey:"align_vertical_top"})}function Pd(e){return n.jsx(r,{...e,iconKey:"all_inbox"})}function Dd(e){return n.jsx(r,{...e,iconKey:"all_inclusive"})}function Nd(e){return n.jsx(r,{...e,iconKey:"all_out"})}function Td(e){return n.jsx(r,{...e,iconKey:"alt_route"})}function Md(e){return n.jsx(r,{...e,iconKey:"alternate_email"})}function Od(e){return n.jsx(r,{...e,iconKey:"analytics"})}function Ld(e){return n.jsx(r,{...e,iconKey:"anchor"})}function Qd(e){return n.jsx(r,{...e,iconKey:"android"})}function Vd(e){return n.jsx(r,{...e,iconKey:"animation"})}function Wd(e){return n.jsx(r,{...e,iconKey:"announcement"})}function Gd(e){return n.jsx(r,{...e,iconKey:"aod"})}function zd(e){return n.jsx(r,{...e,iconKey:"apartment"})}function Hd(e){return n.jsx(r,{...e,iconKey:"api"})}function Ud(e){return n.jsx(r,{...e,iconKey:"app_blocking"})}function Yd(e){return n.jsx(r,{...e,iconKey:"app_registration"})}function $d(e){return n.jsx(r,{...e,iconKey:"app_settings_alt"})}function jd(e){return n.jsx(r,{...e,iconKey:"app_shortcut"})}function qd(e){return n.jsx(r,{...e,iconKey:"approval"})}function Jd(e){return n.jsx(r,{...e,iconKey:"apps"})}function Zd(e){return n.jsx(r,{...e,iconKey:"apps_outage"})}function Xd(e){return n.jsx(r,{...e,iconKey:"architecture"})}function xd(e){return n.jsx(r,{...e,iconKey:"archive"})}function Rd(e){return n.jsx(r,{...e,iconKey:"area_chart"})}function eu(e){return n.jsx(r,{...e,iconKey:"arrow_back"})}function nu(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios"})}function ou(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios_new"})}function ru(e){return n.jsx(r,{...e,iconKey:"arrow_circle_down"})}function tu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_left"})}function cu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_right"})}function iu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_up"})}function au(e){return n.jsx(r,{...e,iconKey:"arrow_downward"})}function gr(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down"})}function lu(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down_circle"})}function su(e){return n.jsx(r,{...e,iconKey:"arrow_drop_up"})}function ac(e){return n.jsx(r,{...e,iconKey:"arrow_forward"})}function du(e){return n.jsx(r,{...e,iconKey:"arrow_forward_ios"})}function uu(e){return n.jsx(r,{...e,iconKey:"arrow_left"})}function fu(e){return n.jsx(r,{...e,iconKey:"arrow_outward"})}function Au(e){return n.jsx(r,{...e,iconKey:"arrow_right"})}function _u(e){return n.jsx(r,{...e,iconKey:"arrow_right_alt"})}function Eo(e){return n.jsx(r,{...e,iconKey:"arrow_upward"})}function yu(e){return n.jsx(r,{...e,iconKey:"art_track"})}function gu(e){return n.jsx(r,{...e,iconKey:"article"})}function hu(e){return n.jsx(r,{...e,iconKey:"aspect_ratio"})}function Iu(e){return n.jsx(r,{...e,iconKey:"assessment"})}function lc(e){return n.jsx(r,{...e,iconKey:"assignment"})}function bu(e){return n.jsx(r,{...e,iconKey:"assignment_ind"})}function pu(e){return n.jsx(r,{...e,iconKey:"assignment_late"})}function wu(e){return n.jsx(r,{...e,iconKey:"assignment_return"})}function ku(e){return n.jsx(r,{...e,iconKey:"assignment_returned"})}function mu(e){return n.jsx(r,{...e,iconKey:"assignment_turned_in"})}function vu(e){return n.jsx(r,{...e,iconKey:"assist_walker"})}function Ku(e){return n.jsx(r,{...e,iconKey:"assistant"})}function Cu(e){return n.jsx(r,{...e,iconKey:"assistant_direction"})}function Su(e){return n.jsx(r,{...e,iconKey:"assistant_photo"})}function Bu(e){return n.jsx(r,{...e,iconKey:"assured_workload"})}function Eu(e){return n.jsx(r,{...e,iconKey:"atm"})}function Fu(e){return n.jsx(r,{...e,iconKey:"attach_email"})}function Pu(e){return n.jsx(r,{...e,iconKey:"attach_file"})}function Du(e){return n.jsx(r,{...e,iconKey:"attach_money"})}function Nu(e){return n.jsx(r,{...e,iconKey:"attachment"})}function Tu(e){return n.jsx(r,{...e,iconKey:"attractions"})}function Mu(e){return n.jsx(r,{...e,iconKey:"attribution"})}function Ou(e){return n.jsx(r,{...e,iconKey:"audio_file"})}function Lu(e){return n.jsx(r,{...e,iconKey:"audiotrack"})}function Qu(e){return n.jsx(r,{...e,iconKey:"auto_awesome"})}function Vu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_mosaic"})}function Wu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_motion"})}function Gu(e){return n.jsx(r,{...e,iconKey:"auto_delete"})}function zu(e){return n.jsx(r,{...e,iconKey:"auto_fix_high"})}function Hu(e){return n.jsx(r,{...e,iconKey:"auto_fix_normal"})}function Uu(e){return n.jsx(r,{...e,iconKey:"auto_fix_off"})}function Yu(e){return n.jsx(r,{...e,iconKey:"auto_graph"})}function $u(e){return n.jsx(r,{...e,iconKey:"auto_mode"})}function ju(e){return n.jsx(r,{...e,iconKey:"auto_stories"})}function qu(e){return n.jsx(r,{...e,iconKey:"autofps_select"})}function Ju(e){return n.jsx(r,{...e,iconKey:"autorenew"})}function Zu(e){return n.jsx(r,{...e,iconKey:"av_timer"})}function Xu(e){return n.jsx(r,{...e,iconKey:"baby_changing_station"})}function xu(e){return n.jsx(r,{...e,iconKey:"back_hand"})}function Ru(e){return n.jsx(r,{...e,iconKey:"backpack"})}function ef(e){return n.jsx(r,{...e,iconKey:"backspace"})}function nf(e){return n.jsx(r,{...e,iconKey:"backup"})}function of(e){return n.jsx(r,{...e,iconKey:"backup_table"})}function rf(e){return n.jsx(r,{...e,iconKey:"badge"})}function tf(e){return n.jsx(r,{...e,iconKey:"bakery_dining"})}function cf(e){return n.jsx(r,{...e,iconKey:"balance"})}function af(e){return n.jsx(r,{...e,iconKey:"balcony"})}function hr(e){return n.jsx(r,{...e,iconKey:"ballot"})}function lf(e){return n.jsx(r,{...e,iconKey:"bar_chart"})}function sf(e){return n.jsx(r,{...e,iconKey:"batch_prediction"})}function df(e){return n.jsx(r,{...e,iconKey:"bathroom"})}function uf(e){return n.jsx(r,{...e,iconKey:"bathtub"})}function ff(e){return n.jsx(r,{...e,iconKey:"battery_0_bar"})}function Af(e){return n.jsx(r,{...e,iconKey:"battery_1_bar"})}function _f(e){return n.jsx(r,{...e,iconKey:"battery_2_bar"})}function yf(e){return n.jsx(r,{...e,iconKey:"battery_3_bar"})}function gf(e){return n.jsx(r,{...e,iconKey:"battery_4_bar"})}function hf(e){return n.jsx(r,{...e,iconKey:"battery_5_bar"})}function If(e){return n.jsx(r,{...e,iconKey:"battery_6_bar"})}function bf(e){return n.jsx(r,{...e,iconKey:"battery_alert"})}function pf(e){return n.jsx(r,{...e,iconKey:"battery_charging_full"})}function wf(e){return n.jsx(r,{...e,iconKey:"battery_full"})}function kf(e){return n.jsx(r,{...e,iconKey:"battery_saver"})}function mf(e){return n.jsx(r,{...e,iconKey:"battery_std"})}function vf(e){return n.jsx(r,{...e,iconKey:"battery_unknown"})}function Kf(e){return n.jsx(r,{...e,iconKey:"beach_access"})}function Cf(e){return n.jsx(r,{...e,iconKey:"bed"})}function Sf(e){return n.jsx(r,{...e,iconKey:"bedroom_baby"})}function Bf(e){return n.jsx(r,{...e,iconKey:"bedroom_child"})}function Ef(e){return n.jsx(r,{...e,iconKey:"bedroom_parent"})}function Ff(e){return n.jsx(r,{...e,iconKey:"bedtime"})}function Pf(e){return n.jsx(r,{...e,iconKey:"bedtime_off"})}function Df(e){return n.jsx(r,{...e,iconKey:"beenhere"})}function Nf(e){return n.jsx(r,{...e,iconKey:"bento"})}function Tf(e){return n.jsx(r,{...e,iconKey:"bike_scooter"})}function Mf(e){return n.jsx(r,{...e,iconKey:"biotech"})}function Of(e){return n.jsx(r,{...e,iconKey:"blender"})}function Lf(e){return n.jsx(r,{...e,iconKey:"blind"})}function Qf(e){return n.jsx(r,{...e,iconKey:"blinds"})}function Vf(e){return n.jsx(r,{...e,iconKey:"blinds_closed"})}function Wf(e){return n.jsx(r,{...e,iconKey:"block"})}function Gf(e){return n.jsx(r,{...e,iconKey:"bloodtype"})}function zf(e){return n.jsx(r,{...e,iconKey:"bluetooth"})}function Hf(e){return n.jsx(r,{...e,iconKey:"bluetooth_audio"})}function Uf(e){return n.jsx(r,{...e,iconKey:"bluetooth_connected"})}function Yf(e){return n.jsx(r,{...e,iconKey:"bluetooth_disabled"})}function $f(e){return n.jsx(r,{...e,iconKey:"bluetooth_drive"})}function jf(e){return n.jsx(r,{...e,iconKey:"bluetooth_searching"})}function qf(e){return n.jsx(r,{...e,iconKey:"blur_circular"})}function Jf(e){return n.jsx(r,{...e,iconKey:"blur_linear"})}function Zf(e){return n.jsx(r,{...e,iconKey:"blur_off"})}function Xf(e){return n.jsx(r,{...e,iconKey:"blur_on"})}function xf(e){return n.jsx(r,{...e,iconKey:"bolt"})}function Rf(e){return n.jsx(r,{...e,iconKey:"book"})}function eA(e){return n.jsx(r,{...e,iconKey:"book_online"})}function nA(e){return n.jsx(r,{...e,iconKey:"bookmark"})}function oA(e){return n.jsx(r,{...e,iconKey:"bookmark_add"})}function rA(e){return n.jsx(r,{...e,iconKey:"bookmark_added"})}function tA(e){return n.jsx(r,{...e,iconKey:"bookmark_border"})}function cA(e){return n.jsx(r,{...e,iconKey:"bookmark_remove"})}function iA(e){return n.jsx(r,{...e,iconKey:"bookmarks"})}function aA(e){return n.jsx(r,{...e,iconKey:"border_all"})}function lA(e){return n.jsx(r,{...e,iconKey:"border_bottom"})}function sA(e){return n.jsx(r,{...e,iconKey:"border_clear"})}function dA(e){return n.jsx(r,{...e,iconKey:"border_color"})}function uA(e){return n.jsx(r,{...e,iconKey:"border_horizontal"})}function fA(e){return n.jsx(r,{...e,iconKey:"border_inner"})}function AA(e){return n.jsx(r,{...e,iconKey:"border_left"})}function _A(e){return n.jsx(r,{...e,iconKey:"border_outer"})}function yA(e){return n.jsx(r,{...e,iconKey:"border_right"})}function gA(e){return n.jsx(r,{...e,iconKey:"border_style"})}function hA(e){return n.jsx(r,{...e,iconKey:"border_top"})}function IA(e){return n.jsx(r,{...e,iconKey:"border_vertical"})}function bA(e){return n.jsx(r,{...e,iconKey:"boy"})}function pA(e){return n.jsx(r,{...e,iconKey:"branding_watermark"})}function wA(e){return n.jsx(r,{...e,iconKey:"breakfast_dining"})}function kA(e){return n.jsx(r,{...e,iconKey:"brightness_1"})}function mA(e){return n.jsx(r,{...e,iconKey:"brightness_2"})}function vA(e){return n.jsx(r,{...e,iconKey:"brightness_3"})}function KA(e){return n.jsx(r,{...e,iconKey:"brightness_4"})}function CA(e){return n.jsx(r,{...e,iconKey:"brightness_5"})}function SA(e){return n.jsx(r,{...e,iconKey:"brightness_6"})}function BA(e){return n.jsx(r,{...e,iconKey:"brightness_7"})}function EA(e){return n.jsx(r,{...e,iconKey:"brightness_auto"})}function FA(e){return n.jsx(r,{...e,iconKey:"brightness_high"})}function PA(e){return n.jsx(r,{...e,iconKey:"brightness_low"})}function DA(e){return n.jsx(r,{...e,iconKey:"brightness_medium"})}function NA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_home"})}function TA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_personal"})}function MA(e){return n.jsx(r,{...e,iconKey:"broken_image"})}function OA(e){return n.jsx(r,{...e,iconKey:"browse_gallery"})}function LA(e){return n.jsx(r,{...e,iconKey:"browser_not_supported"})}function QA(e){return n.jsx(r,{...e,iconKey:"browser_updated"})}function VA(e){return n.jsx(r,{...e,iconKey:"brunch_dining"})}function WA(e){return n.jsx(r,{...e,iconKey:"brush"})}function GA(e){return n.jsx(r,{...e,iconKey:"bubble_chart"})}function zA(e){return n.jsx(r,{...e,iconKey:"bug_report"})}function HA(e){return n.jsx(r,{...e,iconKey:"build"})}function UA(e){return n.jsx(r,{...e,iconKey:"build_circle"})}function YA(e){return n.jsx(r,{...e,iconKey:"bungalow"})}function $A(e){return n.jsx(r,{...e,iconKey:"burst_mode"})}function jA(e){return n.jsx(r,{...e,iconKey:"bus_alert"})}function qA(e){return n.jsx(r,{...e,iconKey:"business"})}function JA(e){return n.jsx(r,{...e,iconKey:"business_center"})}function ZA(e){return n.jsx(r,{...e,iconKey:"cabin"})}function XA(e){return n.jsx(r,{...e,iconKey:"cable"})}function xA(e){return n.jsx(r,{...e,iconKey:"cached"})}function RA(e){return n.jsx(r,{...e,iconKey:"cake"})}function e_(e){return n.jsx(r,{...e,iconKey:"calculate"})}function sc(e){return n.jsx(r,{...e,iconKey:"calendar_month"})}function n_(e){return n.jsx(r,{...e,iconKey:"calendar_today"})}function o_(e){return n.jsx(r,{...e,iconKey:"calendar_view_day"})}function r_(e){return n.jsx(r,{...e,iconKey:"calendar_view_month"})}function t_(e){return n.jsx(r,{...e,iconKey:"calendar_view_week"})}function c_(e){return n.jsx(r,{...e,iconKey:"call"})}function i_(e){return n.jsx(r,{...e,iconKey:"call_end"})}function a_(e){return n.jsx(r,{...e,iconKey:"call_made"})}function l_(e){return n.jsx(r,{...e,iconKey:"call_merge"})}function s_(e){return n.jsx(r,{...e,iconKey:"call_missed"})}function d_(e){return n.jsx(r,{...e,iconKey:"call_missed_outgoing"})}function u_(e){return n.jsx(r,{...e,iconKey:"call_received"})}function f_(e){return n.jsx(r,{...e,iconKey:"call_split"})}function A_(e){return n.jsx(r,{...e,iconKey:"call_to_action"})}function __(e){return n.jsx(r,{...e,iconKey:"camera"})}function y_(e){return n.jsx(r,{...e,iconKey:"camera_alt"})}function g_(e){return n.jsx(r,{...e,iconKey:"camera_enhance"})}function h_(e){return n.jsx(r,{...e,iconKey:"camera_front"})}function I_(e){return n.jsx(r,{...e,iconKey:"camera_indoor"})}function b_(e){return n.jsx(r,{...e,iconKey:"camera_outdoor"})}function p_(e){return n.jsx(r,{...e,iconKey:"camera_rear"})}function w_(e){return n.jsx(r,{...e,iconKey:"camera_roll"})}function k_(e){return n.jsx(r,{...e,iconKey:"cameraswitch"})}function m_(e){return n.jsx(r,{...e,iconKey:"campaign"})}function v_(e){return n.jsx(r,{...e,iconKey:"cancel"})}function K_(e){return n.jsx(r,{...e,iconKey:"cancel_presentation"})}function C_(e){return n.jsx(r,{...e,iconKey:"cancel_schedule_send"})}function S_(e){return n.jsx(r,{...e,iconKey:"candlestick_chart"})}function B_(e){return n.jsx(r,{...e,iconKey:"car_crash"})}function E_(e){return n.jsx(r,{...e,iconKey:"car_rental"})}function F_(e){return n.jsx(r,{...e,iconKey:"car_repair"})}function P_(e){return n.jsx(r,{...e,iconKey:"card_giftcard"})}function D_(e){return n.jsx(r,{...e,iconKey:"card_membership"})}function N_(e){return n.jsx(r,{...e,iconKey:"card_travel"})}function T_(e){return n.jsx(r,{...e,iconKey:"carpenter"})}function M_(e){return n.jsx(r,{...e,iconKey:"cases"})}function O_(e){return n.jsx(r,{...e,iconKey:"casino"})}function L_(e){return n.jsx(r,{...e,iconKey:"cast"})}function Q_(e){return n.jsx(r,{...e,iconKey:"cast_connected"})}function V_(e){return n.jsx(r,{...e,iconKey:"cast_for_education"})}function W_(e){return n.jsx(r,{...e,iconKey:"castle"})}function G_(e){return n.jsx(r,{...e,iconKey:"catching_pokemon"})}function z_(e){return n.jsx(r,{...e,iconKey:"category"})}function H_(e){return n.jsx(r,{...e,iconKey:"celebration"})}function U_(e){return n.jsx(r,{...e,iconKey:"cell_tower"})}function Y_(e){return n.jsx(r,{...e,iconKey:"cell_wifi"})}function $_(e){return n.jsx(r,{...e,iconKey:"center_focus_strong"})}function j_(e){return n.jsx(r,{...e,iconKey:"center_focus_weak"})}function q_(e){return n.jsx(r,{...e,iconKey:"chair"})}function J_(e){return n.jsx(r,{...e,iconKey:"chair_alt"})}function Z_(e){return n.jsx(r,{...e,iconKey:"chalet"})}function X_(e){return n.jsx(r,{...e,iconKey:"change_circle"})}function x_(e){return n.jsx(r,{...e,iconKey:"change_history"})}function R_(e){return n.jsx(r,{...e,iconKey:"charging_station"})}function ey(e){return n.jsx(r,{...e,iconKey:"chat"})}function ny(e){return n.jsx(r,{...e,iconKey:"chat_bubble"})}function oy(e){return n.jsx(r,{...e,iconKey:"chat_bubble_outline"})}function dc(e){return n.jsx(r,{...e,iconKey:"check"})}function ry(e){return n.jsx(r,{...e,iconKey:"check_box"})}function ty(e){return n.jsx(r,{...e,iconKey:"check_box_outline_blank"})}function cy(e){return n.jsx(r,{...e,iconKey:"check_circle"})}function iy(e){return n.jsx(r,{...e,iconKey:"check_circle_outline"})}function ay(e){return n.jsx(r,{...e,iconKey:"checklist"})}function ly(e){return n.jsx(r,{...e,iconKey:"checklist_rtl"})}function sy(e){return n.jsx(r,{...e,iconKey:"checkroom"})}function uc(e){return n.jsx(r,{...e,iconKey:"chevron_left"})}function dy(e){return n.jsx(r,{...e,iconKey:"chevron_right"})}function uy(e){return n.jsx(r,{...e,iconKey:"child_care"})}function fy(e){return n.jsx(r,{...e,iconKey:"child_friendly"})}function Ay(e){return n.jsx(r,{...e,iconKey:"chrome_reader_mode"})}function _y(e){return n.jsx(r,{...e,iconKey:"church"})}function Ir(e){return n.jsx(r,{...e,iconKey:"circle"})}function yy(e){return n.jsx(r,{...e,iconKey:"circle_notifications"})}function gy(e){return n.jsx(r,{...e,iconKey:"class"})}function hy(e){return n.jsx(r,{...e,iconKey:"clean_hands"})}function Iy(e){return n.jsx(r,{...e,iconKey:"cleaning_services"})}function dn(e){return n.jsx(r,{...e,iconKey:"clear"})}function by(e){return n.jsx(r,{...e,iconKey:"clear_all"})}function br(e){return n.jsx(r,{...e,iconKey:"close"})}function py(e){return n.jsx(r,{...e,iconKey:"close_fullscreen"})}function wy(e){return n.jsx(r,{...e,iconKey:"closed_caption"})}function ky(e){return n.jsx(r,{...e,iconKey:"closed_caption_disabled"})}function my(e){return n.jsx(r,{...e,iconKey:"closed_caption_off"})}function vy(e){return n.jsx(r,{...e,iconKey:"cloud"})}function Ky(e){return n.jsx(r,{...e,iconKey:"cloud_circle"})}function Cy(e){return n.jsx(r,{...e,iconKey:"cloud_done"})}function Sy(e){return n.jsx(r,{...e,iconKey:"cloud_download"})}function By(e){return n.jsx(r,{...e,iconKey:"cloud_off"})}function Ey(e){return n.jsx(r,{...e,iconKey:"cloud_queue"})}function Fy(e){return n.jsx(r,{...e,iconKey:"cloud_sync"})}function Py(e){return n.jsx(r,{...e,iconKey:"cloud_upload"})}function Dy(e){return n.jsx(r,{...e,iconKey:"co2"})}function Ny(e){return n.jsx(r,{...e,iconKey:"co_present"})}function Ty(e){return n.jsx(r,{...e,iconKey:"code"})}function My(e){return n.jsx(r,{...e,iconKey:"code_off"})}function Oy(e){return n.jsx(r,{...e,iconKey:"coffee"})}function Ly(e){return n.jsx(r,{...e,iconKey:"coffee_maker"})}function Qy(e){return n.jsx(r,{...e,iconKey:"collections"})}function Vy(e){return n.jsx(r,{...e,iconKey:"collections_bookmark"})}function Wy(e){return n.jsx(r,{...e,iconKey:"color_lens"})}function Gy(e){return n.jsx(r,{...e,iconKey:"colorize"})}function zy(e){return n.jsx(r,{...e,iconKey:"comment"})}function Hy(e){return n.jsx(r,{...e,iconKey:"comment_bank"})}function Uy(e){return n.jsx(r,{...e,iconKey:"comments_disabled"})}function Yy(e){return n.jsx(r,{...e,iconKey:"commit"})}function $y(e){return n.jsx(r,{...e,iconKey:"commute"})}function jy(e){return n.jsx(r,{...e,iconKey:"compare"})}function qy(e){return n.jsx(r,{...e,iconKey:"compare_arrows"})}function Jy(e){return n.jsx(r,{...e,iconKey:"compass_calibration"})}function Zy(e){return n.jsx(r,{...e,iconKey:"compost"})}function Xy(e){return n.jsx(r,{...e,iconKey:"compress"})}function xy(e){return n.jsx(r,{...e,iconKey:"computer"})}function Ry(e){return n.jsx(r,{...e,iconKey:"confirmation_number"})}function eg(e){return n.jsx(r,{...e,iconKey:"connect_without_contact"})}function ng(e){return n.jsx(r,{...e,iconKey:"connected_tv"})}function og(e){return n.jsx(r,{...e,iconKey:"connecting_airports"})}function rg(e){return n.jsx(r,{...e,iconKey:"construction"})}function tg(e){return n.jsx(r,{...e,iconKey:"contact_emergency"})}function cg(e){return n.jsx(r,{...e,iconKey:"contact_mail"})}function ig(e){return n.jsx(r,{...e,iconKey:"contact_page"})}function ag(e){return n.jsx(r,{...e,iconKey:"contact_phone"})}function lg(e){return n.jsx(r,{...e,iconKey:"contact_support"})}function sg(e){return n.jsx(r,{...e,iconKey:"contactless"})}function dg(e){return n.jsx(r,{...e,iconKey:"contacts"})}function no(e){return n.jsx(r,{...e,iconKey:"content_copy"})}function ug(e){return n.jsx(r,{...e,iconKey:"content_cut"})}function fg(e){return n.jsx(r,{...e,iconKey:"content_paste"})}function Ag(e){return n.jsx(r,{...e,iconKey:"content_paste_go"})}function _g(e){return n.jsx(r,{...e,iconKey:"content_paste_off"})}function yg(e){return n.jsx(r,{...e,iconKey:"content_paste_search"})}function gg(e){return n.jsx(r,{...e,iconKey:"contrast"})}function hg(e){return n.jsx(r,{...e,iconKey:"control_camera"})}function Ig(e){return n.jsx(r,{...e,iconKey:"control_point"})}function bg(e){return n.jsx(r,{...e,iconKey:"control_point_duplicate"})}function pg(e){return n.jsx(r,{...e,iconKey:"cookie"})}function wg(e){return n.jsx(r,{...e,iconKey:"copy_all"})}function kg(e){return n.jsx(r,{...e,iconKey:"copyright"})}function mg(e){return n.jsx(r,{...e,iconKey:"coronavirus"})}function vg(e){return n.jsx(r,{...e,iconKey:"corporate_fare"})}function Kg(e){return n.jsx(r,{...e,iconKey:"cottage"})}function Cg(e){return n.jsx(r,{...e,iconKey:"countertops"})}function Sg(e){return n.jsx(r,{...e,iconKey:"create"})}function Bg(e){return n.jsx(r,{...e,iconKey:"create_new_folder"})}function Eg(e){return n.jsx(r,{...e,iconKey:"credit_card"})}function Fg(e){return n.jsx(r,{...e,iconKey:"credit_card_off"})}function Pg(e){return n.jsx(r,{...e,iconKey:"credit_score"})}function Dg(e){return n.jsx(r,{...e,iconKey:"crib"})}function Ng(e){return n.jsx(r,{...e,iconKey:"crisis_alert"})}function Tg(e){return n.jsx(r,{...e,iconKey:"crop"})}function Mg(e){return n.jsx(r,{...e,iconKey:"crop_16_9"})}function Og(e){return n.jsx(r,{...e,iconKey:"crop_3_2"})}function Lg(e){return n.jsx(r,{...e,iconKey:"crop_5_4"})}function Qg(e){return n.jsx(r,{...e,iconKey:"crop_7_5"})}function Vg(e){return n.jsx(r,{...e,iconKey:"crop_din"})}function Wg(e){return n.jsx(r,{...e,iconKey:"crop_free"})}function Gg(e){return n.jsx(r,{...e,iconKey:"crop_landscape"})}function zg(e){return n.jsx(r,{...e,iconKey:"crop_original"})}function Hg(e){return n.jsx(r,{...e,iconKey:"crop_portrait"})}function Ug(e){return n.jsx(r,{...e,iconKey:"crop_rotate"})}function Yg(e){return n.jsx(r,{...e,iconKey:"crop_square"})}function $g(e){return n.jsx(r,{...e,iconKey:"cruelty_free"})}function jg(e){return n.jsx(r,{...e,iconKey:"css"})}function qg(e){return n.jsx(r,{...e,iconKey:"currency_bitcoin"})}function Jg(e){return n.jsx(r,{...e,iconKey:"currency_exchange"})}function Zg(e){return n.jsx(r,{...e,iconKey:"currency_franc"})}function Xg(e){return n.jsx(r,{...e,iconKey:"currency_lira"})}function xg(e){return n.jsx(r,{...e,iconKey:"currency_pound"})}function Rg(e){return n.jsx(r,{...e,iconKey:"currency_ruble"})}function eh(e){return n.jsx(r,{...e,iconKey:"currency_rupee"})}function nh(e){return n.jsx(r,{...e,iconKey:"currency_yen"})}function oh(e){return n.jsx(r,{...e,iconKey:"currency_yuan"})}function rh(e){return n.jsx(r,{...e,iconKey:"curtains"})}function th(e){return n.jsx(r,{...e,iconKey:"curtains_closed"})}function ch(e){return n.jsx(r,{...e,iconKey:"cyclone"})}function ih(e){return n.jsx(r,{...e,iconKey:"dangerous"})}function fc(e){return n.jsx(r,{...e,iconKey:"dark_mode"})}function ah(e){return n.jsx(r,{...e,iconKey:"dashboard"})}function lh(e){return n.jsx(r,{...e,iconKey:"dashboard_customize"})}function sh(e){return n.jsx(r,{...e,iconKey:"data_array"})}function dh(e){return n.jsx(r,{...e,iconKey:"data_exploration"})}function uh(e){return n.jsx(r,{...e,iconKey:"data_object"})}function fh(e){return n.jsx(r,{...e,iconKey:"data_saver_off"})}function Ah(e){return n.jsx(r,{...e,iconKey:"data_saver_on"})}function _h(e){return n.jsx(r,{...e,iconKey:"data_thresholding"})}function yh(e){return n.jsx(r,{...e,iconKey:"data_usage"})}function gh(e){return n.jsx(r,{...e,iconKey:"dataset"})}function hh(e){return n.jsx(r,{...e,iconKey:"dataset_linked"})}function Ih(e){return n.jsx(r,{...e,iconKey:"date_range"})}function bh(e){return n.jsx(r,{...e,iconKey:"deblur"})}function ph(e){return n.jsx(r,{...e,iconKey:"deck"})}function wh(e){return n.jsx(r,{...e,iconKey:"dehaze"})}function Fo(e){return n.jsx(r,{...e,iconKey:"delete"})}function kh(e){return n.jsx(r,{...e,iconKey:"delete_forever"})}function mh(e){return n.jsx(r,{...e,iconKey:"delete_outline"})}function vh(e){return n.jsx(r,{...e,iconKey:"delete_sweep"})}function Kh(e){return n.jsx(r,{...e,iconKey:"delivery_dining"})}function Ch(e){return n.jsx(r,{...e,iconKey:"density_large"})}function Sh(e){return n.jsx(r,{...e,iconKey:"density_medium"})}function Bh(e){return n.jsx(r,{...e,iconKey:"density_small"})}function Eh(e){return n.jsx(r,{...e,iconKey:"departure_board"})}function Ac(e){return n.jsx(r,{...e,iconKey:"description"})}function Fh(e){return n.jsx(r,{...e,iconKey:"deselect"})}function Ph(e){return n.jsx(r,{...e,iconKey:"design_services"})}function Dh(e){return n.jsx(r,{...e,iconKey:"desk"})}function Nh(e){return n.jsx(r,{...e,iconKey:"desktop_access_disabled"})}function Th(e){return n.jsx(r,{...e,iconKey:"desktop_mac"})}function Mh(e){return n.jsx(r,{...e,iconKey:"desktop_windows"})}function Oh(e){return n.jsx(r,{...e,iconKey:"details"})}function Lh(e){return n.jsx(r,{...e,iconKey:"developer_board"})}function Qh(e){return n.jsx(r,{...e,iconKey:"developer_board_off"})}function Vh(e){return n.jsx(r,{...e,iconKey:"developer_mode"})}function Wh(e){return n.jsx(r,{...e,iconKey:"device_hub"})}function Gh(e){return n.jsx(r,{...e,iconKey:"device_thermostat"})}function zh(e){return n.jsx(r,{...e,iconKey:"device_unknown"})}function Hh(e){return n.jsx(r,{...e,iconKey:"devices"})}function Uh(e){return n.jsx(r,{...e,iconKey:"devices_fold"})}function Yh(e){return n.jsx(r,{...e,iconKey:"devices_other"})}function $h(e){return n.jsx(r,{...e,iconKey:"dialer_sip"})}function jh(e){return n.jsx(r,{...e,iconKey:"dialpad"})}function qh(e){return n.jsx(r,{...e,iconKey:"diamond"})}function Jh(e){return n.jsx(r,{...e,iconKey:"difference"})}function Zh(e){return n.jsx(r,{...e,iconKey:"dining"})}function Xh(e){return n.jsx(r,{...e,iconKey:"dinner_dining"})}function xh(e){return n.jsx(r,{...e,iconKey:"directions"})}function Rh(e){return n.jsx(r,{...e,iconKey:"directions_bike"})}function eI(e){return n.jsx(r,{...e,iconKey:"directions_boat"})}function nI(e){return n.jsx(r,{...e,iconKey:"directions_boat_filled"})}function oI(e){return n.jsx(r,{...e,iconKey:"directions_bus"})}function rI(e){return n.jsx(r,{...e,iconKey:"directions_bus_filled"})}function tI(e){return n.jsx(r,{...e,iconKey:"directions_car"})}function cI(e){return n.jsx(r,{...e,iconKey:"directions_car_filled"})}function iI(e){return n.jsx(r,{...e,iconKey:"directions_off"})}function aI(e){return n.jsx(r,{...e,iconKey:"directions_railway"})}function lI(e){return n.jsx(r,{...e,iconKey:"directions_railway_filled"})}function sI(e){return n.jsx(r,{...e,iconKey:"directions_run"})}function dI(e){return n.jsx(r,{...e,iconKey:"directions_subway"})}function uI(e){return n.jsx(r,{...e,iconKey:"directions_subway_filled"})}function fI(e){return n.jsx(r,{...e,iconKey:"directions_transit"})}function AI(e){return n.jsx(r,{...e,iconKey:"directions_transit_filled"})}function _I(e){return n.jsx(r,{...e,iconKey:"directions_walk"})}function yI(e){return n.jsx(r,{...e,iconKey:"dirty_lens"})}function gI(e){return n.jsx(r,{...e,iconKey:"disabled_by_default"})}function hI(e){return n.jsx(r,{...e,iconKey:"disabled_visible"})}function II(e){return n.jsx(r,{...e,iconKey:"disc_full"})}function bI(e){return n.jsx(r,{...e,iconKey:"discount"})}function pI(e){return n.jsx(r,{...e,iconKey:"display_settings"})}function wI(e){return n.jsx(r,{...e,iconKey:"diversity_1"})}function kI(e){return n.jsx(r,{...e,iconKey:"diversity_2"})}function mI(e){return n.jsx(r,{...e,iconKey:"diversity_3"})}function vI(e){return n.jsx(r,{...e,iconKey:"dns"})}function KI(e){return n.jsx(r,{...e,iconKey:"do_disturb"})}function CI(e){return n.jsx(r,{...e,iconKey:"do_disturb_alt"})}function SI(e){return n.jsx(r,{...e,iconKey:"do_disturb_off"})}function BI(e){return n.jsx(r,{...e,iconKey:"do_disturb_on"})}function EI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb"})}function FI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_alt"})}function PI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_off"})}function DI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on"})}function NI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on_total_silence"})}function TI(e){return n.jsx(r,{...e,iconKey:"do_not_step"})}function MI(e){return n.jsx(r,{...e,iconKey:"do_not_touch"})}function OI(e){return n.jsx(r,{...e,iconKey:"dock"})}function LI(e){return n.jsx(r,{...e,iconKey:"document_scanner"})}function QI(e){return n.jsx(r,{...e,iconKey:"domain"})}function VI(e){return n.jsx(r,{...e,iconKey:"domain_add"})}function WI(e){return n.jsx(r,{...e,iconKey:"domain_disabled"})}function GI(e){return n.jsx(r,{...e,iconKey:"domain_verification"})}function zI(e){return n.jsx(r,{...e,iconKey:"done"})}function HI(e){return n.jsx(r,{...e,iconKey:"done_all"})}function UI(e){return n.jsx(r,{...e,iconKey:"done_outline"})}function YI(e){return n.jsx(r,{...e,iconKey:"donut_large"})}function $I(e){return n.jsx(r,{...e,iconKey:"donut_small"})}function jI(e){return n.jsx(r,{...e,iconKey:"door_back"})}function qI(e){return n.jsx(r,{...e,iconKey:"door_front"})}function JI(e){return n.jsx(r,{...e,iconKey:"door_sliding"})}function ZI(e){return n.jsx(r,{...e,iconKey:"doorbell"})}function XI(e){return n.jsx(r,{...e,iconKey:"double_arrow"})}function xI(e){return n.jsx(r,{...e,iconKey:"downhill_skiing"})}function RI(e){return n.jsx(r,{...e,iconKey:"download"})}function eb(e){return n.jsx(r,{...e,iconKey:"download_done"})}function nb(e){return n.jsx(r,{...e,iconKey:"download_for_offline"})}function ob(e){return n.jsx(r,{...e,iconKey:"downloading"})}function rb(e){return n.jsx(r,{...e,iconKey:"drafts"})}function tb(e){return n.jsx(r,{...e,iconKey:"drag_handle"})}function cb(e){return n.jsx(r,{...e,iconKey:"drag_indicator"})}function ib(e){return n.jsx(r,{...e,iconKey:"draw"})}function ab(e){return n.jsx(r,{...e,iconKey:"drive_eta"})}function lb(e){return n.jsx(r,{...e,iconKey:"drive_file_move"})}function sb(e){return n.jsx(r,{...e,iconKey:"drive_file_move_rtl"})}function db(e){return n.jsx(r,{...e,iconKey:"drive_file_rename_outline"})}function _c(e){return n.jsx(r,{...e,iconKey:"drive_folder_upload"})}function ub(e){return n.jsx(r,{...e,iconKey:"dry"})}function fb(e){return n.jsx(r,{...e,iconKey:"dry_cleaning"})}function Ab(e){return n.jsx(r,{...e,iconKey:"duo"})}function _b(e){return n.jsx(r,{...e,iconKey:"dvr"})}function yb(e){return n.jsx(r,{...e,iconKey:"dynamic_feed"})}function gb(e){return n.jsx(r,{...e,iconKey:"dynamic_form"})}function hb(e){return n.jsx(r,{...e,iconKey:"e_mobiledata"})}function Ib(e){return n.jsx(r,{...e,iconKey:"earbuds"})}function bb(e){return n.jsx(r,{...e,iconKey:"earbuds_battery"})}function pb(e){return n.jsx(r,{...e,iconKey:"east"})}function wb(e){return n.jsx(r,{...e,iconKey:"edgesensor_high"})}function kb(e){return n.jsx(r,{...e,iconKey:"edgesensor_low"})}function yc(e){return n.jsx(r,{...e,iconKey:"edit"})}function mb(e){return n.jsx(r,{...e,iconKey:"edit_attributes"})}function vb(e){return n.jsx(r,{...e,iconKey:"edit_calendar"})}function Kb(e){return n.jsx(r,{...e,iconKey:"edit_location"})}function Cb(e){return n.jsx(r,{...e,iconKey:"edit_location_alt"})}function Sb(e){return n.jsx(r,{...e,iconKey:"edit_note"})}function Bb(e){return n.jsx(r,{...e,iconKey:"edit_notifications"})}function Eb(e){return n.jsx(r,{...e,iconKey:"edit_off"})}function Fb(e){return n.jsx(r,{...e,iconKey:"edit_road"})}function Pb(e){return n.jsx(r,{...e,iconKey:"egg"})}function Db(e){return n.jsx(r,{...e,iconKey:"egg_alt"})}function Nb(e){return n.jsx(r,{...e,iconKey:"eject"})}function Tb(e){return n.jsx(r,{...e,iconKey:"elderly"})}function Mb(e){return n.jsx(r,{...e,iconKey:"elderly_woman"})}function Ob(e){return n.jsx(r,{...e,iconKey:"electric_bike"})}function Lb(e){return n.jsx(r,{...e,iconKey:"electric_bolt"})}function Qb(e){return n.jsx(r,{...e,iconKey:"electric_car"})}function Vb(e){return n.jsx(r,{...e,iconKey:"electric_meter"})}function Wb(e){return n.jsx(r,{...e,iconKey:"electric_moped"})}function Gb(e){return n.jsx(r,{...e,iconKey:"electric_rickshaw"})}function zb(e){return n.jsx(r,{...e,iconKey:"electric_scooter"})}function Hb(e){return n.jsx(r,{...e,iconKey:"electrical_services"})}function Ub(e){return n.jsx(r,{...e,iconKey:"elevator"})}function gc(e){return n.jsx(r,{...e,iconKey:"email"})}function Yb(e){return n.jsx(r,{...e,iconKey:"emergency"})}function $b(e){return n.jsx(r,{...e,iconKey:"emergency_recording"})}function jb(e){return n.jsx(r,{...e,iconKey:"emergency_share"})}function qb(e){return n.jsx(r,{...e,iconKey:"emoji_emotions"})}function Jb(e){return n.jsx(r,{...e,iconKey:"emoji_events"})}function Zb(e){return n.jsx(r,{...e,iconKey:"emoji_food_beverage"})}function Xb(e){return n.jsx(r,{...e,iconKey:"emoji_nature"})}function xb(e){return n.jsx(r,{...e,iconKey:"emoji_objects"})}function Rb(e){return n.jsx(r,{...e,iconKey:"emoji_people"})}function ep(e){return n.jsx(r,{...e,iconKey:"emoji_symbols"})}function np(e){return n.jsx(r,{...e,iconKey:"emoji_transportation"})}function op(e){return n.jsx(r,{...e,iconKey:"energy_savings_leaf"})}function rp(e){return n.jsx(r,{...e,iconKey:"engineering"})}function tp(e){return n.jsx(r,{...e,iconKey:"enhanced_encryption"})}function cp(e){return n.jsx(r,{...e,iconKey:"equalizer"})}function pr(e){return n.jsx(r,{...e,iconKey:"error"})}function hc(e){return n.jsx(r,{...e,iconKey:"error_outline"})}function ip(e){return n.jsx(r,{...e,iconKey:"escalator"})}function ap(e){return n.jsx(r,{...e,iconKey:"escalator_warning"})}function lp(e){return n.jsx(r,{...e,iconKey:"euro"})}function sp(e){return n.jsx(r,{...e,iconKey:"euro_symbol"})}function dp(e){return n.jsx(r,{...e,iconKey:"ev_station"})}function up(e){return n.jsx(r,{...e,iconKey:"event"})}function fp(e){return n.jsx(r,{...e,iconKey:"event_available"})}function Ap(e){return n.jsx(r,{...e,iconKey:"event_busy"})}function _p(e){return n.jsx(r,{...e,iconKey:"event_note"})}function yp(e){return n.jsx(r,{...e,iconKey:"event_repeat"})}function gp(e){return n.jsx(r,{...e,iconKey:"event_seat"})}function hp(e){return n.jsx(r,{...e,iconKey:"exit_to_app"})}function Ip(e){return n.jsx(r,{...e,iconKey:"expand"})}function bp(e){return n.jsx(r,{...e,iconKey:"expand_circle_down"})}function pp(e){return n.jsx(r,{...e,iconKey:"expand_less"})}function Po(e){return n.jsx(r,{...e,iconKey:"expand_more"})}function wp(e){return n.jsx(r,{...e,iconKey:"explicit"})}function kp(e){return n.jsx(r,{...e,iconKey:"explore"})}function mp(e){return n.jsx(r,{...e,iconKey:"explore_off"})}function vp(e){return n.jsx(r,{...e,iconKey:"exposure"})}function Kp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_1"})}function Cp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_2"})}function Sp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_1"})}function Bp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_2"})}function Ep(e){return n.jsx(r,{...e,iconKey:"exposure_zero"})}function Fp(e){return n.jsx(r,{...e,iconKey:"extension"})}function Pp(e){return n.jsx(r,{...e,iconKey:"extension_off"})}function Dp(e){return n.jsx(r,{...e,iconKey:"face"})}function Np(e){return n.jsx(r,{...e,iconKey:"face_2"})}function Tp(e){return n.jsx(r,{...e,iconKey:"face_3"})}function Mp(e){return n.jsx(r,{...e,iconKey:"face_4"})}function Op(e){return n.jsx(r,{...e,iconKey:"face_5"})}function Lp(e){return n.jsx(r,{...e,iconKey:"face_6"})}function Qp(e){return n.jsx(r,{...e,iconKey:"face_retouching_natural"})}function Vp(e){return n.jsx(r,{...e,iconKey:"face_retouching_off"})}function Wp(e){return n.jsx(r,{...e,iconKey:"fact_check"})}function Gp(e){return n.jsx(r,{...e,iconKey:"factory"})}function zp(e){return n.jsx(r,{...e,iconKey:"family_restroom"})}function Hp(e){return n.jsx(r,{...e,iconKey:"fast_forward"})}function Up(e){return n.jsx(r,{...e,iconKey:"fast_rewind"})}function Yp(e){return n.jsx(r,{...e,iconKey:"fastfood"})}function $p(e){return n.jsx(r,{...e,iconKey:"favorite"})}function jp(e){return n.jsx(r,{...e,iconKey:"favorite_border"})}function qp(e){return n.jsx(r,{...e,iconKey:"fax"})}function Jp(e){return n.jsx(r,{...e,iconKey:"featured_play_list"})}function Zp(e){return n.jsx(r,{...e,iconKey:"featured_video"})}function Xp(e){return n.jsx(r,{...e,iconKey:"feed"})}function xp(e){return n.jsx(r,{...e,iconKey:"feedback"})}function Rp(e){return n.jsx(r,{...e,iconKey:"female"})}function ew(e){return n.jsx(r,{...e,iconKey:"fence"})}function nw(e){return n.jsx(r,{...e,iconKey:"festival"})}function ow(e){return n.jsx(r,{...e,iconKey:"fiber_dvr"})}function rw(e){return n.jsx(r,{...e,iconKey:"fiber_manual_record"})}function tw(e){return n.jsx(r,{...e,iconKey:"fiber_new"})}function cw(e){return n.jsx(r,{...e,iconKey:"fiber_pin"})}function iw(e){return n.jsx(r,{...e,iconKey:"fiber_smart_record"})}function Ic(e){return n.jsx(r,{...e,iconKey:"file_copy"})}function aw(e){return n.jsx(r,{...e,iconKey:"file_download"})}function lw(e){return n.jsx(r,{...e,iconKey:"file_download_done"})}function sw(e){return n.jsx(r,{...e,iconKey:"file_download_off"})}function dw(e){return n.jsx(r,{...e,iconKey:"file_open"})}function uw(e){return n.jsx(r,{...e,iconKey:"file_present"})}function fw(e){return n.jsx(r,{...e,iconKey:"file_upload"})}function Aw(e){return n.jsx(r,{...e,iconKey:"filter"})}function _w(e){return n.jsx(r,{...e,iconKey:"filter_1"})}function yw(e){return n.jsx(r,{...e,iconKey:"filter_2"})}function gw(e){return n.jsx(r,{...e,iconKey:"filter_3"})}function hw(e){return n.jsx(r,{...e,iconKey:"filter_4"})}function Iw(e){return n.jsx(r,{...e,iconKey:"filter_5"})}function bw(e){return n.jsx(r,{...e,iconKey:"filter_6"})}function pw(e){return n.jsx(r,{...e,iconKey:"filter_7"})}function ww(e){return n.jsx(r,{...e,iconKey:"filter_8"})}function kw(e){return n.jsx(r,{...e,iconKey:"filter_9"})}function mw(e){return n.jsx(r,{...e,iconKey:"filter_9_plus"})}function vw(e){return n.jsx(r,{...e,iconKey:"filter_alt"})}function Kw(e){return n.jsx(r,{...e,iconKey:"filter_alt_off"})}function Cw(e){return n.jsx(r,{...e,iconKey:"filter_b_and_w"})}function Sw(e){return n.jsx(r,{...e,iconKey:"filter_center_focus"})}function Bw(e){return n.jsx(r,{...e,iconKey:"filter_drama"})}function Ew(e){return n.jsx(r,{...e,iconKey:"filter_frames"})}function Fw(e){return n.jsx(r,{...e,iconKey:"filter_hdr"})}function bc(e){return n.jsx(r,{...e,iconKey:"filter_list"})}function pc(e){return n.jsx(r,{...e,iconKey:"filter_list_off"})}function Pw(e){return n.jsx(r,{...e,iconKey:"filter_none"})}function Dw(e){return n.jsx(r,{...e,iconKey:"filter_tilt_shift"})}function Nw(e){return n.jsx(r,{...e,iconKey:"filter_vintage"})}function Tw(e){return n.jsx(r,{...e,iconKey:"find_in_page"})}function Mw(e){return n.jsx(r,{...e,iconKey:"find_replace"})}function Ow(e){return n.jsx(r,{...e,iconKey:"fingerprint"})}function Lw(e){return n.jsx(r,{...e,iconKey:"fire_extinguisher"})}function Qw(e){return n.jsx(r,{...e,iconKey:"fire_hydrant_alt"})}function Vw(e){return n.jsx(r,{...e,iconKey:"fire_truck"})}function Ww(e){return n.jsx(r,{...e,iconKey:"fireplace"})}function Gw(e){return n.jsx(r,{...e,iconKey:"first_page"})}function zw(e){return n.jsx(r,{...e,iconKey:"fit_screen"})}function Hw(e){return n.jsx(r,{...e,iconKey:"fitbit"})}function Uw(e){return n.jsx(r,{...e,iconKey:"fitness_center"})}function wc(e){return n.jsx(r,{...e,iconKey:"flag"})}function Yw(e){return n.jsx(r,{...e,iconKey:"flag_circle"})}function $w(e){return n.jsx(r,{...e,iconKey:"flaky"})}function jw(e){return n.jsx(r,{...e,iconKey:"flare"})}function qw(e){return n.jsx(r,{...e,iconKey:"flash_auto"})}function Jw(e){return n.jsx(r,{...e,iconKey:"flash_off"})}function Zw(e){return n.jsx(r,{...e,iconKey:"flash_on"})}function Xw(e){return n.jsx(r,{...e,iconKey:"flashlight_off"})}function xw(e){return n.jsx(r,{...e,iconKey:"flashlight_on"})}function Rw(e){return n.jsx(r,{...e,iconKey:"flatware"})}function ek(e){return n.jsx(r,{...e,iconKey:"flight"})}function nk(e){return n.jsx(r,{...e,iconKey:"flight_class"})}function ok(e){return n.jsx(r,{...e,iconKey:"flight_land"})}function rk(e){return n.jsx(r,{...e,iconKey:"flight_takeoff"})}function tk(e){return n.jsx(r,{...e,iconKey:"flip"})}function ck(e){return n.jsx(r,{...e,iconKey:"flip_camera_android"})}function ik(e){return n.jsx(r,{...e,iconKey:"flip_camera_ios"})}function ak(e){return n.jsx(r,{...e,iconKey:"flip_to_back"})}function lk(e){return n.jsx(r,{...e,iconKey:"flip_to_front"})}function sk(e){return n.jsx(r,{...e,iconKey:"flood"})}function dk(e){return n.jsx(r,{...e,iconKey:"fluorescent"})}function uk(e){return n.jsx(r,{...e,iconKey:"flutter_dash"})}function fk(e){return n.jsx(r,{...e,iconKey:"fmd_bad"})}function Ak(e){return n.jsx(r,{...e,iconKey:"fmd_good"})}function _k(e){return n.jsx(r,{...e,iconKey:"folder"})}function yk(e){return n.jsx(r,{...e,iconKey:"folder_copy"})}function gk(e){return n.jsx(r,{...e,iconKey:"folder_delete"})}function hk(e){return n.jsx(r,{...e,iconKey:"folder_off"})}function Ik(e){return n.jsx(r,{...e,iconKey:"folder_open"})}function bk(e){return n.jsx(r,{...e,iconKey:"folder_shared"})}function pk(e){return n.jsx(r,{...e,iconKey:"folder_special"})}function wk(e){return n.jsx(r,{...e,iconKey:"folder_zip"})}function kk(e){return n.jsx(r,{...e,iconKey:"follow_the_signs"})}function mk(e){return n.jsx(r,{...e,iconKey:"font_download"})}function vk(e){return n.jsx(r,{...e,iconKey:"font_download_off"})}function Kk(e){return n.jsx(r,{...e,iconKey:"food_bank"})}function Ck(e){return n.jsx(r,{...e,iconKey:"forest"})}function Sk(e){return n.jsx(r,{...e,iconKey:"fork_left"})}function Bk(e){return n.jsx(r,{...e,iconKey:"fork_right"})}function Ek(e){return n.jsx(r,{...e,iconKey:"format_align_center"})}function Fk(e){return n.jsx(r,{...e,iconKey:"format_align_justify"})}function Pk(e){return n.jsx(r,{...e,iconKey:"format_align_left"})}function Dk(e){return n.jsx(r,{...e,iconKey:"format_align_right"})}function Nk(e){return n.jsx(r,{...e,iconKey:"format_bold"})}function Tk(e){return n.jsx(r,{...e,iconKey:"format_clear"})}function Mk(e){return n.jsx(r,{...e,iconKey:"format_color_fill"})}function Ok(e){return n.jsx(r,{...e,iconKey:"format_color_reset"})}function Lk(e){return n.jsx(r,{...e,iconKey:"format_color_text"})}function Qk(e){return n.jsx(r,{...e,iconKey:"format_indent_decrease"})}function Vk(e){return n.jsx(r,{...e,iconKey:"format_indent_increase"})}function Wk(e){return n.jsx(r,{...e,iconKey:"format_italic"})}function Gk(e){return n.jsx(r,{...e,iconKey:"format_line_spacing"})}function zk(e){return n.jsx(r,{...e,iconKey:"format_list_bulleted"})}function wr(e){return n.jsx(r,{...e,iconKey:"format_list_numbered"})}function Hk(e){return n.jsx(r,{...e,iconKey:"format_list_numbered_rtl"})}function Uk(e){return n.jsx(r,{...e,iconKey:"format_overline"})}function Yk(e){return n.jsx(r,{...e,iconKey:"format_paint"})}function kc(e){return n.jsx(r,{...e,iconKey:"format_quote"})}function $k(e){return n.jsx(r,{...e,iconKey:"format_shapes"})}function jk(e){return n.jsx(r,{...e,iconKey:"format_size"})}function qk(e){return n.jsx(r,{...e,iconKey:"format_strikethrough"})}function Jk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_l_to_r"})}function Zk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_r_to_l"})}function Xk(e){return n.jsx(r,{...e,iconKey:"format_underlined"})}function xk(e){return n.jsx(r,{...e,iconKey:"fort"})}function Rk(e){return n.jsx(r,{...e,iconKey:"forum"})}function em(e){return n.jsx(r,{...e,iconKey:"forward"})}function nm(e){return n.jsx(r,{...e,iconKey:"forward_10"})}function om(e){return n.jsx(r,{...e,iconKey:"forward_30"})}function rm(e){return n.jsx(r,{...e,iconKey:"forward_5"})}function tm(e){return n.jsx(r,{...e,iconKey:"forward_to_inbox"})}function cm(e){return n.jsx(r,{...e,iconKey:"foundation"})}function im(e){return n.jsx(r,{...e,iconKey:"free_breakfast"})}function am(e){return n.jsx(r,{...e,iconKey:"free_cancellation"})}function lm(e){return n.jsx(r,{...e,iconKey:"front_hand"})}function sm(e){return n.jsx(r,{...e,iconKey:"fullscreen"})}function dm(e){return n.jsx(r,{...e,iconKey:"fullscreen_exit"})}function mc(e){return n.jsx(r,{...e,iconKey:"functions"})}function um(e){return n.jsx(r,{...e,iconKey:"g_mobiledata"})}function fm(e){return n.jsx(r,{...e,iconKey:"g_translate"})}function Am(e){return n.jsx(r,{...e,iconKey:"gamepad"})}function _m(e){return n.jsx(r,{...e,iconKey:"games"})}function ym(e){return n.jsx(r,{...e,iconKey:"garage"})}function gm(e){return n.jsx(r,{...e,iconKey:"gas_meter"})}function hm(e){return n.jsx(r,{...e,iconKey:"gavel"})}function Im(e){return n.jsx(r,{...e,iconKey:"generating_tokens"})}function bm(e){return n.jsx(r,{...e,iconKey:"gesture"})}function pm(e){return n.jsx(r,{...e,iconKey:"get_app"})}function wm(e){return n.jsx(r,{...e,iconKey:"gif"})}function km(e){return n.jsx(r,{...e,iconKey:"gif_box"})}function mm(e){return n.jsx(r,{...e,iconKey:"girl"})}function vm(e){return n.jsx(r,{...e,iconKey:"gite"})}function Km(e){return n.jsx(r,{...e,iconKey:"golf_course"})}function Cm(e){return n.jsx(r,{...e,iconKey:"gpp_bad"})}function Sm(e){return n.jsx(r,{...e,iconKey:"gpp_good"})}function Bm(e){return n.jsx(r,{...e,iconKey:"gpp_maybe"})}function Em(e){return n.jsx(r,{...e,iconKey:"gps_fixed"})}function Fm(e){return n.jsx(r,{...e,iconKey:"gps_not_fixed"})}function Pm(e){return n.jsx(r,{...e,iconKey:"gps_off"})}function Dm(e){return n.jsx(r,{...e,iconKey:"grade"})}function Nm(e){return n.jsx(r,{...e,iconKey:"gradient"})}function Tm(e){return n.jsx(r,{...e,iconKey:"grading"})}function Mm(e){return n.jsx(r,{...e,iconKey:"grain"})}function Om(e){return n.jsx(r,{...e,iconKey:"graphic_eq"})}function Lm(e){return n.jsx(r,{...e,iconKey:"grass"})}function Qm(e){return n.jsx(r,{...e,iconKey:"grid_3x3"})}function Vm(e){return n.jsx(r,{...e,iconKey:"grid_4x4"})}function Wm(e){return n.jsx(r,{...e,iconKey:"grid_goldenratio"})}function Gm(e){return n.jsx(r,{...e,iconKey:"grid_off"})}function zm(e){return n.jsx(r,{...e,iconKey:"grid_on"})}function Hm(e){return n.jsx(r,{...e,iconKey:"grid_view"})}function Um(e){return n.jsx(r,{...e,iconKey:"group"})}function Ym(e){return n.jsx(r,{...e,iconKey:"group_add"})}function $m(e){return n.jsx(r,{...e,iconKey:"group_off"})}function jm(e){return n.jsx(r,{...e,iconKey:"group_remove"})}function qm(e){return n.jsx(r,{...e,iconKey:"group_work"})}function Jm(e){return n.jsx(r,{...e,iconKey:"groups"})}function Zm(e){return n.jsx(r,{...e,iconKey:"groups_2"})}function Xm(e){return n.jsx(r,{...e,iconKey:"groups_3"})}function xm(e){return n.jsx(r,{...e,iconKey:"h_mobiledata"})}function Rm(e){return n.jsx(r,{...e,iconKey:"h_plus_mobiledata"})}function ev(e){return n.jsx(r,{...e,iconKey:"hail"})}function nv(e){return n.jsx(r,{...e,iconKey:"handshake"})}function ov(e){return n.jsx(r,{...e,iconKey:"handyman"})}function rv(e){return n.jsx(r,{...e,iconKey:"hardware"})}function tv(e){return n.jsx(r,{...e,iconKey:"hd"})}function cv(e){return n.jsx(r,{...e,iconKey:"hdr_auto"})}function iv(e){return n.jsx(r,{...e,iconKey:"hdr_auto_select"})}function av(e){return n.jsx(r,{...e,iconKey:"hdr_enhanced_select"})}function lv(e){return n.jsx(r,{...e,iconKey:"hdr_off"})}function sv(e){return n.jsx(r,{...e,iconKey:"hdr_off_select"})}function dv(e){return n.jsx(r,{...e,iconKey:"hdr_on"})}function uv(e){return n.jsx(r,{...e,iconKey:"hdr_on_select"})}function fv(e){return n.jsx(r,{...e,iconKey:"hdr_plus"})}function Av(e){return n.jsx(r,{...e,iconKey:"hdr_strong"})}function _v(e){return n.jsx(r,{...e,iconKey:"hdr_weak"})}function yv(e){return n.jsx(r,{...e,iconKey:"headphones"})}function gv(e){return n.jsx(r,{...e,iconKey:"headphones_battery"})}function hv(e){return n.jsx(r,{...e,iconKey:"headset"})}function Iv(e){return n.jsx(r,{...e,iconKey:"headset_mic"})}function bv(e){return n.jsx(r,{...e,iconKey:"headset_off"})}function pv(e){return n.jsx(r,{...e,iconKey:"healing"})}function wv(e){return n.jsx(r,{...e,iconKey:"health_and_safety"})}function kv(e){return n.jsx(r,{...e,iconKey:"hearing"})}function mv(e){return n.jsx(r,{...e,iconKey:"hearing_disabled"})}function vv(e){return n.jsx(r,{...e,iconKey:"heart_broken"})}function Kv(e){return n.jsx(r,{...e,iconKey:"heat_pump"})}function Cv(e){return n.jsx(r,{...e,iconKey:"height"})}function Sv(e){return n.jsx(r,{...e,iconKey:"help"})}function Bv(e){return n.jsx(r,{...e,iconKey:"help_center"})}function Ev(e){return n.jsx(r,{...e,iconKey:"help_outline"})}function Fv(e){return n.jsx(r,{...e,iconKey:"hevc"})}function Pv(e){return n.jsx(r,{...e,iconKey:"hexagon"})}function Dv(e){return n.jsx(r,{...e,iconKey:"hide_image"})}function Nv(e){return n.jsx(r,{...e,iconKey:"hide_source"})}function Tv(e){return n.jsx(r,{...e,iconKey:"high_quality"})}function Mv(e){return n.jsx(r,{...e,iconKey:"highlight"})}function Ov(e){return n.jsx(r,{...e,iconKey:"highlight_alt"})}function Lv(e){return n.jsx(r,{...e,iconKey:"highlight_off"})}function Qv(e){return n.jsx(r,{...e,iconKey:"hiking"})}function Vv(e){return n.jsx(r,{...e,iconKey:"history"})}function Wv(e){return n.jsx(r,{...e,iconKey:"history_edu"})}function Gv(e){return n.jsx(r,{...e,iconKey:"history_toggle_off"})}function zv(e){return n.jsx(r,{...e,iconKey:"hive"})}function Hv(e){return n.jsx(r,{...e,iconKey:"hls"})}function Uv(e){return n.jsx(r,{...e,iconKey:"hls_off"})}function Yv(e){return n.jsx(r,{...e,iconKey:"holiday_village"})}function $v(e){return n.jsx(r,{...e,iconKey:"home"})}function jv(e){return n.jsx(r,{...e,iconKey:"home_max"})}function qv(e){return n.jsx(r,{...e,iconKey:"home_mini"})}function Jv(e){return n.jsx(r,{...e,iconKey:"home_repair_service"})}function Zv(e){return n.jsx(r,{...e,iconKey:"home_work"})}function Xv(e){return n.jsx(r,{...e,iconKey:"horizontal_distribute"})}function xv(e){return n.jsx(r,{...e,iconKey:"horizontal_rule"})}function Rv(e){return n.jsx(r,{...e,iconKey:"horizontal_split"})}function e0(e){return n.jsx(r,{...e,iconKey:"hot_tub"})}function n0(e){return n.jsx(r,{...e,iconKey:"hotel"})}function o0(e){return n.jsx(r,{...e,iconKey:"hotel_class"})}function r0(e){return n.jsx(r,{...e,iconKey:"hourglass_bottom"})}function t0(e){return n.jsx(r,{...e,iconKey:"hourglass_disabled"})}function c0(e){return n.jsx(r,{...e,iconKey:"hourglass_empty"})}function i0(e){return n.jsx(r,{...e,iconKey:"hourglass_full"})}function a0(e){return n.jsx(r,{...e,iconKey:"hourglass_top"})}function l0(e){return n.jsx(r,{...e,iconKey:"house"})}function s0(e){return n.jsx(r,{...e,iconKey:"house_siding"})}function d0(e){return n.jsx(r,{...e,iconKey:"houseboat"})}function u0(e){return n.jsx(r,{...e,iconKey:"how_to_reg"})}function f0(e){return n.jsx(r,{...e,iconKey:"how_to_vote"})}function A0(e){return n.jsx(r,{...e,iconKey:"html"})}function vc(e){return n.jsx(r,{...e,iconKey:"http"})}function _0(e){return n.jsx(r,{...e,iconKey:"https"})}function y0(e){return n.jsx(r,{...e,iconKey:"hub"})}function g0(e){return n.jsx(r,{...e,iconKey:"hvac"})}function h0(e){return n.jsx(r,{...e,iconKey:"ice_skating"})}function I0(e){return n.jsx(r,{...e,iconKey:"icecream"})}function b0(e){return n.jsx(r,{...e,iconKey:"image"})}function p0(e){return n.jsx(r,{...e,iconKey:"image_aspect_ratio"})}function w0(e){return n.jsx(r,{...e,iconKey:"image_not_supported"})}function k0(e){return n.jsx(r,{...e,iconKey:"image_search"})}function m0(e){return n.jsx(r,{...e,iconKey:"imagesearch_roller"})}function v0(e){return n.jsx(r,{...e,iconKey:"import_contacts"})}function K0(e){return n.jsx(r,{...e,iconKey:"import_export"})}function C0(e){return n.jsx(r,{...e,iconKey:"important_devices"})}function S0(e){return n.jsx(r,{...e,iconKey:"inbox"})}function B0(e){return n.jsx(r,{...e,iconKey:"incomplete_circle"})}function E0(e){return n.jsx(r,{...e,iconKey:"indeterminate_check_box"})}function Kc(e){return n.jsx(r,{...e,iconKey:"info"})}function F0(e){return n.jsx(r,{...e,iconKey:"input"})}function P0(e){return n.jsx(r,{...e,iconKey:"insert_chart"})}function D0(e){return n.jsx(r,{...e,iconKey:"insert_chart_outlined"})}function N0(e){return n.jsx(r,{...e,iconKey:"insert_comment"})}function T0(e){return n.jsx(r,{...e,iconKey:"insert_drive_file"})}function M0(e){return n.jsx(r,{...e,iconKey:"insert_emoticon"})}function O0(e){return n.jsx(r,{...e,iconKey:"insert_invitation"})}function L0(e){return n.jsx(r,{...e,iconKey:"insert_link"})}function Q0(e){return n.jsx(r,{...e,iconKey:"insert_page_break"})}function V0(e){return n.jsx(r,{...e,iconKey:"insert_photo"})}function W0(e){return n.jsx(r,{...e,iconKey:"insights"})}function G0(e){return n.jsx(r,{...e,iconKey:"install_desktop"})}function z0(e){return n.jsx(r,{...e,iconKey:"install_mobile"})}function H0(e){return n.jsx(r,{...e,iconKey:"integration_instructions"})}function U0(e){return n.jsx(r,{...e,iconKey:"interests"})}function Y0(e){return n.jsx(r,{...e,iconKey:"interpreter_mode"})}function $0(e){return n.jsx(r,{...e,iconKey:"inventory"})}function j0(e){return n.jsx(r,{...e,iconKey:"inventory_2"})}function q0(e){return n.jsx(r,{...e,iconKey:"invert_colors"})}function J0(e){return n.jsx(r,{...e,iconKey:"invert_colors_off"})}function Z0(e){return n.jsx(r,{...e,iconKey:"ios_share"})}function X0(e){return n.jsx(r,{...e,iconKey:"iron"})}function x0(e){return n.jsx(r,{...e,iconKey:"iso"})}function R0(e){return n.jsx(r,{...e,iconKey:"javascript"})}function eK(e){return n.jsx(r,{...e,iconKey:"join_full"})}function nK(e){return n.jsx(r,{...e,iconKey:"join_inner"})}function oK(e){return n.jsx(r,{...e,iconKey:"join_left"})}function rK(e){return n.jsx(r,{...e,iconKey:"join_right"})}function tK(e){return n.jsx(r,{...e,iconKey:"kayaking"})}function cK(e){return n.jsx(r,{...e,iconKey:"kebab_dining"})}function iK(e){return n.jsx(r,{...e,iconKey:"key"})}function aK(e){return n.jsx(r,{...e,iconKey:"key_off"})}function lK(e){return n.jsx(r,{...e,iconKey:"keyboard"})}function sK(e){return n.jsx(r,{...e,iconKey:"keyboard_alt"})}function dK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_down"})}function uK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_left"})}function fK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_right"})}function AK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_up"})}function _K(e){return n.jsx(r,{...e,iconKey:"keyboard_backspace"})}function yK(e){return n.jsx(r,{...e,iconKey:"keyboard_capslock"})}function gK(e){return n.jsx(r,{...e,iconKey:"keyboard_command_key"})}function hK(e){return n.jsx(r,{...e,iconKey:"keyboard_control_key"})}function IK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_down"})}function bK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_left"})}function pK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_right"})}function wK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_up"})}function kK(e){return n.jsx(r,{...e,iconKey:"keyboard_hide"})}function mK(e){return n.jsx(r,{...e,iconKey:"keyboard_option_key"})}function vK(e){return n.jsx(r,{...e,iconKey:"keyboard_return"})}function Do(e){return n.jsx(r,{...e,iconKey:"keyboard_tab"})}function KK(e){return n.jsx(r,{...e,iconKey:"keyboard_voice"})}function CK(e){return n.jsx(r,{...e,iconKey:"king_bed"})}function SK(e){return n.jsx(r,{...e,iconKey:"kitchen"})}function BK(e){return n.jsx(r,{...e,iconKey:"kitesurfing"})}function EK(e){return n.jsx(r,{...e,iconKey:"label"})}function FK(e){return n.jsx(r,{...e,iconKey:"label_important"})}function PK(e){return n.jsx(r,{...e,iconKey:"label_off"})}function DK(e){return n.jsx(r,{...e,iconKey:"lan"})}function NK(e){return n.jsx(r,{...e,iconKey:"landscape"})}function TK(e){return n.jsx(r,{...e,iconKey:"landslide"})}function MK(e){return n.jsx(r,{...e,iconKey:"language"})}function OK(e){return n.jsx(r,{...e,iconKey:"laptop"})}function LK(e){return n.jsx(r,{...e,iconKey:"laptop_chromebook"})}function QK(e){return n.jsx(r,{...e,iconKey:"laptop_mac"})}function VK(e){return n.jsx(r,{...e,iconKey:"laptop_windows"})}function WK(e){return n.jsx(r,{...e,iconKey:"last_page"})}function GK(e){return n.jsx(r,{...e,iconKey:"launch"})}function zK(e){return n.jsx(r,{...e,iconKey:"layers"})}function HK(e){return n.jsx(r,{...e,iconKey:"layers_clear"})}function UK(e){return n.jsx(r,{...e,iconKey:"leaderboard"})}function YK(e){return n.jsx(r,{...e,iconKey:"leak_add"})}function $K(e){return n.jsx(r,{...e,iconKey:"leak_remove"})}function jK(e){return n.jsx(r,{...e,iconKey:"legend_toggle"})}function qK(e){return n.jsx(r,{...e,iconKey:"lens"})}function JK(e){return n.jsx(r,{...e,iconKey:"lens_blur"})}function ZK(e){return n.jsx(r,{...e,iconKey:"library_add"})}function XK(e){return n.jsx(r,{...e,iconKey:"library_add_check"})}function xK(e){return n.jsx(r,{...e,iconKey:"library_books"})}function RK(e){return n.jsx(r,{...e,iconKey:"library_music"})}function eC(e){return n.jsx(r,{...e,iconKey:"light"})}function Cc(e){return n.jsx(r,{...e,iconKey:"light_mode"})}function nC(e){return n.jsx(r,{...e,iconKey:"lightbulb"})}function oC(e){return n.jsx(r,{...e,iconKey:"lightbulb_circle"})}function rC(e){return n.jsx(r,{...e,iconKey:"line_axis"})}function tC(e){return n.jsx(r,{...e,iconKey:"line_style"})}function cC(e){return n.jsx(r,{...e,iconKey:"line_weight"})}function iC(e){return n.jsx(r,{...e,iconKey:"linear_scale"})}function Sc(e){return n.jsx(r,{...e,iconKey:"link"})}function aC(e){return n.jsx(r,{...e,iconKey:"link_off"})}function lC(e){return n.jsx(r,{...e,iconKey:"linked_camera"})}function sC(e){return n.jsx(r,{...e,iconKey:"liquor"})}function Bc(e){return n.jsx(r,{...e,iconKey:"list"})}function Ec(e){return n.jsx(r,{...e,iconKey:"list_alt"})}function dC(e){return n.jsx(r,{...e,iconKey:"live_help"})}function uC(e){return n.jsx(r,{...e,iconKey:"live_tv"})}function fC(e){return n.jsx(r,{...e,iconKey:"living"})}function AC(e){return n.jsx(r,{...e,iconKey:"local_activity"})}function _C(e){return n.jsx(r,{...e,iconKey:"local_airport"})}function yC(e){return n.jsx(r,{...e,iconKey:"local_atm"})}function gC(e){return n.jsx(r,{...e,iconKey:"local_bar"})}function hC(e){return n.jsx(r,{...e,iconKey:"local_cafe"})}function IC(e){return n.jsx(r,{...e,iconKey:"local_car_wash"})}function bC(e){return n.jsx(r,{...e,iconKey:"local_convenience_store"})}function pC(e){return n.jsx(r,{...e,iconKey:"local_dining"})}function wC(e){return n.jsx(r,{...e,iconKey:"local_drink"})}function kC(e){return n.jsx(r,{...e,iconKey:"local_fire_department"})}function mC(e){return n.jsx(r,{...e,iconKey:"local_florist"})}function vC(e){return n.jsx(r,{...e,iconKey:"local_gas_station"})}function KC(e){return n.jsx(r,{...e,iconKey:"local_grocery_store"})}function CC(e){return n.jsx(r,{...e,iconKey:"local_hospital"})}function SC(e){return n.jsx(r,{...e,iconKey:"local_hotel"})}function BC(e){return n.jsx(r,{...e,iconKey:"local_laundry_service"})}function EC(e){return n.jsx(r,{...e,iconKey:"local_library"})}function FC(e){return n.jsx(r,{...e,iconKey:"local_mall"})}function PC(e){return n.jsx(r,{...e,iconKey:"local_movies"})}function DC(e){return n.jsx(r,{...e,iconKey:"local_offer"})}function NC(e){return n.jsx(r,{...e,iconKey:"local_parking"})}function TC(e){return n.jsx(r,{...e,iconKey:"local_pharmacy"})}function MC(e){return n.jsx(r,{...e,iconKey:"local_phone"})}function OC(e){return n.jsx(r,{...e,iconKey:"local_pizza"})}function LC(e){return n.jsx(r,{...e,iconKey:"local_play"})}function QC(e){return n.jsx(r,{...e,iconKey:"local_police"})}function VC(e){return n.jsx(r,{...e,iconKey:"local_post_office"})}function WC(e){return n.jsx(r,{...e,iconKey:"local_printshop"})}function GC(e){return n.jsx(r,{...e,iconKey:"local_see"})}function zC(e){return n.jsx(r,{...e,iconKey:"local_shipping"})}function HC(e){return n.jsx(r,{...e,iconKey:"local_taxi"})}function UC(e){return n.jsx(r,{...e,iconKey:"location_city"})}function YC(e){return n.jsx(r,{...e,iconKey:"location_disabled"})}function $C(e){return n.jsx(r,{...e,iconKey:"location_off"})}function jC(e){return n.jsx(r,{...e,iconKey:"location_on"})}function qC(e){return n.jsx(r,{...e,iconKey:"location_searching"})}function JC(e){return n.jsx(r,{...e,iconKey:"lock"})}function ZC(e){return n.jsx(r,{...e,iconKey:"lock_clock"})}function XC(e){return n.jsx(r,{...e,iconKey:"lock_open"})}function xC(e){return n.jsx(r,{...e,iconKey:"lock_person"})}function RC(e){return n.jsx(r,{...e,iconKey:"lock_reset"})}function eS(e){return n.jsx(r,{...e,iconKey:"login"})}function nS(e){return n.jsx(r,{...e,iconKey:"logo_dev"})}function Fc(e){return n.jsx(r,{...e,iconKey:"logout"})}function oS(e){return n.jsx(r,{...e,iconKey:"looks"})}function rS(e){return n.jsx(r,{...e,iconKey:"looks_3"})}function tS(e){return n.jsx(r,{...e,iconKey:"looks_4"})}function cS(e){return n.jsx(r,{...e,iconKey:"looks_5"})}function iS(e){return n.jsx(r,{...e,iconKey:"looks_6"})}function aS(e){return n.jsx(r,{...e,iconKey:"looks_one"})}function lS(e){return n.jsx(r,{...e,iconKey:"looks_two"})}function sS(e){return n.jsx(r,{...e,iconKey:"loop"})}function dS(e){return n.jsx(r,{...e,iconKey:"loupe"})}function uS(e){return n.jsx(r,{...e,iconKey:"low_priority"})}function fS(e){return n.jsx(r,{...e,iconKey:"loyalty"})}function AS(e){return n.jsx(r,{...e,iconKey:"lte_mobiledata"})}function _S(e){return n.jsx(r,{...e,iconKey:"lte_plus_mobiledata"})}function yS(e){return n.jsx(r,{...e,iconKey:"luggage"})}function gS(e){return n.jsx(r,{...e,iconKey:"lunch_dining"})}function hS(e){return n.jsx(r,{...e,iconKey:"lyrics"})}function IS(e){return n.jsx(r,{...e,iconKey:"macro_off"})}function bS(e){return n.jsx(r,{...e,iconKey:"mail"})}function pS(e){return n.jsx(r,{...e,iconKey:"mail_lock"})}function wS(e){return n.jsx(r,{...e,iconKey:"mail_outline"})}function kS(e){return n.jsx(r,{...e,iconKey:"male"})}function mS(e){return n.jsx(r,{...e,iconKey:"man"})}function vS(e){return n.jsx(r,{...e,iconKey:"man_2"})}function KS(e){return n.jsx(r,{...e,iconKey:"man_3"})}function CS(e){return n.jsx(r,{...e,iconKey:"man_4"})}function SS(e){return n.jsx(r,{...e,iconKey:"manage_accounts"})}function BS(e){return n.jsx(r,{...e,iconKey:"manage_history"})}function ES(e){return n.jsx(r,{...e,iconKey:"manage_search"})}function FS(e){return n.jsx(r,{...e,iconKey:"map"})}function PS(e){return n.jsx(r,{...e,iconKey:"maps_home_work"})}function DS(e){return n.jsx(r,{...e,iconKey:"maps_ugc"})}function NS(e){return n.jsx(r,{...e,iconKey:"margin"})}function TS(e){return n.jsx(r,{...e,iconKey:"mark_as_unread"})}function MS(e){return n.jsx(r,{...e,iconKey:"mark_chat_read"})}function OS(e){return n.jsx(r,{...e,iconKey:"mark_chat_unread"})}function LS(e){return n.jsx(r,{...e,iconKey:"mark_email_read"})}function QS(e){return n.jsx(r,{...e,iconKey:"mark_email_unread"})}function VS(e){return n.jsx(r,{...e,iconKey:"mark_unread_chat_alt"})}function WS(e){return n.jsx(r,{...e,iconKey:"markunread"})}function GS(e){return n.jsx(r,{...e,iconKey:"markunread_mailbox"})}function zS(e){return n.jsx(r,{...e,iconKey:"masks"})}function HS(e){return n.jsx(r,{...e,iconKey:"maximize"})}function US(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_off"})}function YS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_on"})}function $S(e){return n.jsx(r,{...e,iconKey:"mediation"})}function jS(e){return n.jsx(r,{...e,iconKey:"medical_information"})}function qS(e){return n.jsx(r,{...e,iconKey:"medical_services"})}function JS(e){return n.jsx(r,{...e,iconKey:"medication"})}function ZS(e){return n.jsx(r,{...e,iconKey:"medication_liquid"})}function XS(e){return n.jsx(r,{...e,iconKey:"meeting_room"})}function xS(e){return n.jsx(r,{...e,iconKey:"memory"})}function kr(e){return n.jsx(r,{...e,iconKey:"menu"})}function RS(e){return n.jsx(r,{...e,iconKey:"menu_book"})}function eB(e){return n.jsx(r,{...e,iconKey:"menu_open"})}function nB(e){return n.jsx(r,{...e,iconKey:"merge"})}function oB(e){return n.jsx(r,{...e,iconKey:"merge_type"})}function rB(e){return n.jsx(r,{...e,iconKey:"message"})}function tB(e){return n.jsx(r,{...e,iconKey:"mic"})}function cB(e){return n.jsx(r,{...e,iconKey:"mic_external_off"})}function iB(e){return n.jsx(r,{...e,iconKey:"mic_external_on"})}function aB(e){return n.jsx(r,{...e,iconKey:"mic_none"})}function lB(e){return n.jsx(r,{...e,iconKey:"mic_off"})}function sB(e){return n.jsx(r,{...e,iconKey:"microwave"})}function dB(e){return n.jsx(r,{...e,iconKey:"military_tech"})}function uB(e){return n.jsx(r,{...e,iconKey:"minimize"})}function fB(e){return n.jsx(r,{...e,iconKey:"minor_crash"})}function AB(e){return n.jsx(r,{...e,iconKey:"miscellaneous_services"})}function _B(e){return n.jsx(r,{...e,iconKey:"missed_video_call"})}function yB(e){return n.jsx(r,{...e,iconKey:"mms"})}function gB(e){return n.jsx(r,{...e,iconKey:"mobile_friendly"})}function hB(e){return n.jsx(r,{...e,iconKey:"mobile_off"})}function IB(e){return n.jsx(r,{...e,iconKey:"mobile_screen_share"})}function bB(e){return n.jsx(r,{...e,iconKey:"mobiledata_off"})}function pB(e){return n.jsx(r,{...e,iconKey:"mode"})}function wB(e){return n.jsx(r,{...e,iconKey:"mode_comment"})}function kB(e){return n.jsx(r,{...e,iconKey:"mode_edit"})}function mB(e){return n.jsx(r,{...e,iconKey:"mode_edit_outline"})}function vB(e){return n.jsx(r,{...e,iconKey:"mode_fan_off"})}function KB(e){return n.jsx(r,{...e,iconKey:"mode_night"})}function CB(e){return n.jsx(r,{...e,iconKey:"mode_of_travel"})}function SB(e){return n.jsx(r,{...e,iconKey:"mode_standby"})}function BB(e){return n.jsx(r,{...e,iconKey:"model_training"})}function EB(e){return n.jsx(r,{...e,iconKey:"monetization_on"})}function FB(e){return n.jsx(r,{...e,iconKey:"money"})}function PB(e){return n.jsx(r,{...e,iconKey:"money_off"})}function DB(e){return n.jsx(r,{...e,iconKey:"money_off_csred"})}function NB(e){return n.jsx(r,{...e,iconKey:"monitor"})}function TB(e){return n.jsx(r,{...e,iconKey:"monitor_heart"})}function MB(e){return n.jsx(r,{...e,iconKey:"monitor_weight"})}function OB(e){return n.jsx(r,{...e,iconKey:"monochrome_photos"})}function LB(e){return n.jsx(r,{...e,iconKey:"mood"})}function QB(e){return n.jsx(r,{...e,iconKey:"mood_bad"})}function VB(e){return n.jsx(r,{...e,iconKey:"moped"})}function WB(e){return n.jsx(r,{...e,iconKey:"more"})}function GB(e){return n.jsx(r,{...e,iconKey:"more_horiz"})}function zB(e){return n.jsx(r,{...e,iconKey:"more_time"})}function mr(e){return n.jsx(r,{...e,iconKey:"more_vert"})}function HB(e){return n.jsx(r,{...e,iconKey:"mosque"})}function UB(e){return n.jsx(r,{...e,iconKey:"motion_photos_auto"})}function YB(e){return n.jsx(r,{...e,iconKey:"motion_photos_off"})}function $B(e){return n.jsx(r,{...e,iconKey:"motion_photos_on"})}function jB(e){return n.jsx(r,{...e,iconKey:"motion_photos_pause"})}function qB(e){return n.jsx(r,{...e,iconKey:"motion_photos_paused"})}function JB(e){return n.jsx(r,{...e,iconKey:"mouse"})}function ZB(e){return n.jsx(r,{...e,iconKey:"move_down"})}function XB(e){return n.jsx(r,{...e,iconKey:"move_to_inbox"})}function xB(e){return n.jsx(r,{...e,iconKey:"move_up"})}function RB(e){return n.jsx(r,{...e,iconKey:"movie"})}function eE(e){return n.jsx(r,{...e,iconKey:"movie_creation"})}function nE(e){return n.jsx(r,{...e,iconKey:"movie_filter"})}function oE(e){return n.jsx(r,{...e,iconKey:"moving"})}function rE(e){return n.jsx(r,{...e,iconKey:"mp"})}function tE(e){return n.jsx(r,{...e,iconKey:"multiline_chart"})}function cE(e){return n.jsx(r,{...e,iconKey:"multiple_stop"})}function iE(e){return n.jsx(r,{...e,iconKey:"museum"})}function aE(e){return n.jsx(r,{...e,iconKey:"music_note"})}function lE(e){return n.jsx(r,{...e,iconKey:"music_off"})}function sE(e){return n.jsx(r,{...e,iconKey:"music_video"})}function dE(e){return n.jsx(r,{...e,iconKey:"my_location"})}function uE(e){return n.jsx(r,{...e,iconKey:"nat"})}function fE(e){return n.jsx(r,{...e,iconKey:"nature"})}function AE(e){return n.jsx(r,{...e,iconKey:"nature_people"})}function _E(e){return n.jsx(r,{...e,iconKey:"navigate_before"})}function yE(e){return n.jsx(r,{...e,iconKey:"navigate_next"})}function gE(e){return n.jsx(r,{...e,iconKey:"navigation"})}function hE(e){return n.jsx(r,{...e,iconKey:"near_me"})}function IE(e){return n.jsx(r,{...e,iconKey:"near_me_disabled"})}function bE(e){return n.jsx(r,{...e,iconKey:"nearby_error"})}function pE(e){return n.jsx(r,{...e,iconKey:"nearby_off"})}function wE(e){return n.jsx(r,{...e,iconKey:"nest_cam_wired_stand"})}function kE(e){return n.jsx(r,{...e,iconKey:"network_cell"})}function mE(e){return n.jsx(r,{...e,iconKey:"network_check"})}function vE(e){return n.jsx(r,{...e,iconKey:"network_locked"})}function KE(e){return n.jsx(r,{...e,iconKey:"network_ping"})}function CE(e){return n.jsx(r,{...e,iconKey:"network_wifi"})}function SE(e){return n.jsx(r,{...e,iconKey:"network_wifi_1_bar"})}function BE(e){return n.jsx(r,{...e,iconKey:"network_wifi_2_bar"})}function EE(e){return n.jsx(r,{...e,iconKey:"network_wifi_3_bar"})}function FE(e){return n.jsx(r,{...e,iconKey:"new_label"})}function PE(e){return n.jsx(r,{...e,iconKey:"new_releases"})}function DE(e){return n.jsx(r,{...e,iconKey:"newspaper"})}function NE(e){return n.jsx(r,{...e,iconKey:"next_plan"})}function TE(e){return n.jsx(r,{...e,iconKey:"next_week"})}function ME(e){return n.jsx(r,{...e,iconKey:"nfc"})}function OE(e){return n.jsx(r,{...e,iconKey:"night_shelter"})}function LE(e){return n.jsx(r,{...e,iconKey:"nightlife"})}function QE(e){return n.jsx(r,{...e,iconKey:"nightlight"})}function VE(e){return n.jsx(r,{...e,iconKey:"nightlight_round"})}function WE(e){return n.jsx(r,{...e,iconKey:"nights_stay"})}function GE(e){return n.jsx(r,{...e,iconKey:"no_accounts"})}function zE(e){return n.jsx(r,{...e,iconKey:"no_adult_content"})}function HE(e){return n.jsx(r,{...e,iconKey:"no_backpack"})}function UE(e){return n.jsx(r,{...e,iconKey:"no_cell"})}function YE(e){return n.jsx(r,{...e,iconKey:"no_crash"})}function $E(e){return n.jsx(r,{...e,iconKey:"no_drinks"})}function jE(e){return n.jsx(r,{...e,iconKey:"no_encryption"})}function qE(e){return n.jsx(r,{...e,iconKey:"no_encryption_gmailerrorred"})}function JE(e){return n.jsx(r,{...e,iconKey:"no_flash"})}function ZE(e){return n.jsx(r,{...e,iconKey:"no_food"})}function XE(e){return n.jsx(r,{...e,iconKey:"no_luggage"})}function xE(e){return n.jsx(r,{...e,iconKey:"no_meals"})}function RE(e){return n.jsx(r,{...e,iconKey:"no_meeting_room"})}function eF(e){return n.jsx(r,{...e,iconKey:"no_photography"})}function nF(e){return n.jsx(r,{...e,iconKey:"no_sim"})}function oF(e){return n.jsx(r,{...e,iconKey:"no_stroller"})}function rF(e){return n.jsx(r,{...e,iconKey:"no_transfer"})}function tF(e){return n.jsx(r,{...e,iconKey:"noise_aware"})}function cF(e){return n.jsx(r,{...e,iconKey:"noise_control_off"})}function iF(e){return n.jsx(r,{...e,iconKey:"nordic_walking"})}function aF(e){return n.jsx(r,{...e,iconKey:"north"})}function lF(e){return n.jsx(r,{...e,iconKey:"north_east"})}function sF(e){return n.jsx(r,{...e,iconKey:"north_west"})}function dF(e){return n.jsx(r,{...e,iconKey:"not_accessible"})}function uF(e){return n.jsx(r,{...e,iconKey:"not_interested"})}function fF(e){return n.jsx(r,{...e,iconKey:"not_listed_location"})}function AF(e){return n.jsx(r,{...e,iconKey:"not_started"})}function _F(e){return n.jsx(r,{...e,iconKey:"note"})}function yF(e){return n.jsx(r,{...e,iconKey:"note_add"})}function gF(e){return n.jsx(r,{...e,iconKey:"note_alt"})}function hF(e){return n.jsx(r,{...e,iconKey:"notes"})}function IF(e){return n.jsx(r,{...e,iconKey:"notification_add"})}function bF(e){return n.jsx(r,{...e,iconKey:"notification_important"})}function pF(e){return n.jsx(r,{...e,iconKey:"notifications"})}function wF(e){return n.jsx(r,{...e,iconKey:"notifications_active"})}function kF(e){return n.jsx(r,{...e,iconKey:"notifications_none"})}function mF(e){return n.jsx(r,{...e,iconKey:"notifications_off"})}function vF(e){return n.jsx(r,{...e,iconKey:"notifications_paused"})}function Pc(e){return n.jsx(r,{...e,iconKey:"numbers"})}function KF(e){return n.jsx(r,{...e,iconKey:"offline_bolt"})}function CF(e){return n.jsx(r,{...e,iconKey:"offline_pin"})}function SF(e){return n.jsx(r,{...e,iconKey:"offline_share"})}function BF(e){return n.jsx(r,{...e,iconKey:"oil_barrel"})}function EF(e){return n.jsx(r,{...e,iconKey:"on_device_training"})}function FF(e){return n.jsx(r,{...e,iconKey:"ondemand_video"})}function PF(e){return n.jsx(r,{...e,iconKey:"online_prediction"})}function DF(e){return n.jsx(r,{...e,iconKey:"opacity"})}function NF(e){return n.jsx(r,{...e,iconKey:"open_in_browser"})}function TF(e){return n.jsx(r,{...e,iconKey:"open_in_full"})}function oo(e){return n.jsx(r,{...e,iconKey:"open_in_new"})}function MF(e){return n.jsx(r,{...e,iconKey:"open_in_new_off"})}function OF(e){return n.jsx(r,{...e,iconKey:"open_with"})}function LF(e){return n.jsx(r,{...e,iconKey:"other_houses"})}function QF(e){return n.jsx(r,{...e,iconKey:"outbound"})}function VF(e){return n.jsx(r,{...e,iconKey:"outbox"})}function WF(e){return n.jsx(r,{...e,iconKey:"outdoor_grill"})}function GF(e){return n.jsx(r,{...e,iconKey:"outlet"})}function zF(e){return n.jsx(r,{...e,iconKey:"outlined_flag"})}function HF(e){return n.jsx(r,{...e,iconKey:"output"})}function UF(e){return n.jsx(r,{...e,iconKey:"padding"})}function YF(e){return n.jsx(r,{...e,iconKey:"pages"})}function $F(e){return n.jsx(r,{...e,iconKey:"pageview"})}function jF(e){return n.jsx(r,{...e,iconKey:"paid"})}function qF(e){return n.jsx(r,{...e,iconKey:"palette"})}function JF(e){return n.jsx(r,{...e,iconKey:"pan_tool"})}function ZF(e){return n.jsx(r,{...e,iconKey:"pan_tool_alt"})}function XF(e){return n.jsx(r,{...e,iconKey:"panorama"})}function xF(e){return n.jsx(r,{...e,iconKey:"panorama_fish_eye"})}function RF(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal"})}function eP(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal_select"})}function nP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere"})}function oP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere_select"})}function rP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical"})}function tP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical_select"})}function cP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle"})}function iP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle_select"})}function aP(e){return n.jsx(r,{...e,iconKey:"paragliding"})}function lP(e){return n.jsx(r,{...e,iconKey:"park"})}function sP(e){return n.jsx(r,{...e,iconKey:"party_mode"})}function dP(e){return n.jsx(r,{...e,iconKey:"password"})}function uP(e){return n.jsx(r,{...e,iconKey:"pattern"})}function fP(e){return n.jsx(r,{...e,iconKey:"pause"})}function AP(e){return n.jsx(r,{...e,iconKey:"pause_circle"})}function _P(e){return n.jsx(r,{...e,iconKey:"pause_circle_filled"})}function yP(e){return n.jsx(r,{...e,iconKey:"pause_circle_outline"})}function gP(e){return n.jsx(r,{...e,iconKey:"pause_presentation"})}function hP(e){return n.jsx(r,{...e,iconKey:"payment"})}function IP(e){return n.jsx(r,{...e,iconKey:"payments"})}function bP(e){return n.jsx(r,{...e,iconKey:"pedal_bike"})}function pP(e){return n.jsx(r,{...e,iconKey:"pending"})}function wP(e){return n.jsx(r,{...e,iconKey:"pending_actions"})}function kP(e){return n.jsx(r,{...e,iconKey:"pentagon"})}function mP(e){return n.jsx(r,{...e,iconKey:"people"})}function vP(e){return n.jsx(r,{...e,iconKey:"people_alt"})}function KP(e){return n.jsx(r,{...e,iconKey:"people_outline"})}function CP(e){return n.jsx(r,{...e,iconKey:"percent"})}function SP(e){return n.jsx(r,{...e,iconKey:"perm_camera_mic"})}function BP(e){return n.jsx(r,{...e,iconKey:"perm_contact_calendar"})}function EP(e){return n.jsx(r,{...e,iconKey:"perm_data_setting"})}function FP(e){return n.jsx(r,{...e,iconKey:"perm_device_information"})}function PP(e){return n.jsx(r,{...e,iconKey:"perm_identity"})}function DP(e){return n.jsx(r,{...e,iconKey:"perm_media"})}function NP(e){return n.jsx(r,{...e,iconKey:"perm_phone_msg"})}function TP(e){return n.jsx(r,{...e,iconKey:"perm_scan_wifi"})}function MP(e){return n.jsx(r,{...e,iconKey:"person"})}function OP(e){return n.jsx(r,{...e,iconKey:"person_2"})}function LP(e){return n.jsx(r,{...e,iconKey:"person_3"})}function QP(e){return n.jsx(r,{...e,iconKey:"person_4"})}function VP(e){return n.jsx(r,{...e,iconKey:"person_add"})}function WP(e){return n.jsx(r,{...e,iconKey:"person_add_alt"})}function GP(e){return n.jsx(r,{...e,iconKey:"person_add_alt_1"})}function zP(e){return n.jsx(r,{...e,iconKey:"person_add_disabled"})}function HP(e){return n.jsx(r,{...e,iconKey:"person_off"})}function UP(e){return n.jsx(r,{...e,iconKey:"person_outline"})}function YP(e){return n.jsx(r,{...e,iconKey:"person_pin"})}function $P(e){return n.jsx(r,{...e,iconKey:"person_pin_circle"})}function jP(e){return n.jsx(r,{...e,iconKey:"person_remove"})}function qP(e){return n.jsx(r,{...e,iconKey:"person_remove_alt_1"})}function JP(e){return n.jsx(r,{...e,iconKey:"person_search"})}function ZP(e){return n.jsx(r,{...e,iconKey:"personal_injury"})}function XP(e){return n.jsx(r,{...e,iconKey:"personal_video"})}function xP(e){return n.jsx(r,{...e,iconKey:"pest_control"})}function RP(e){return n.jsx(r,{...e,iconKey:"pest_control_rodent"})}function e1(e){return n.jsx(r,{...e,iconKey:"pets"})}function n1(e){return n.jsx(r,{...e,iconKey:"phishing"})}function o1(e){return n.jsx(r,{...e,iconKey:"phone"})}function r1(e){return n.jsx(r,{...e,iconKey:"phone_android"})}function t1(e){return n.jsx(r,{...e,iconKey:"phone_bluetooth_speaker"})}function c1(e){return n.jsx(r,{...e,iconKey:"phone_callback"})}function i1(e){return n.jsx(r,{...e,iconKey:"phone_disabled"})}function a1(e){return n.jsx(r,{...e,iconKey:"phone_enabled"})}function l1(e){return n.jsx(r,{...e,iconKey:"phone_forwarded"})}function s1(e){return n.jsx(r,{...e,iconKey:"phone_iphone"})}function d1(e){return n.jsx(r,{...e,iconKey:"phone_locked"})}function u1(e){return n.jsx(r,{...e,iconKey:"phone_missed"})}function f1(e){return n.jsx(r,{...e,iconKey:"phone_paused"})}function A1(e){return n.jsx(r,{...e,iconKey:"phonelink"})}function _1(e){return n.jsx(r,{...e,iconKey:"phonelink_erase"})}function y1(e){return n.jsx(r,{...e,iconKey:"phonelink_lock"})}function g1(e){return n.jsx(r,{...e,iconKey:"phonelink_off"})}function h1(e){return n.jsx(r,{...e,iconKey:"phonelink_ring"})}function I1(e){return n.jsx(r,{...e,iconKey:"phonelink_setup"})}function b1(e){return n.jsx(r,{...e,iconKey:"photo"})}function p1(e){return n.jsx(r,{...e,iconKey:"photo_album"})}function w1(e){return n.jsx(r,{...e,iconKey:"photo_camera"})}function k1(e){return n.jsx(r,{...e,iconKey:"photo_camera_back"})}function m1(e){return n.jsx(r,{...e,iconKey:"photo_camera_front"})}function v1(e){return n.jsx(r,{...e,iconKey:"photo_filter"})}function K1(e){return n.jsx(r,{...e,iconKey:"photo_library"})}function C1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_actual"})}function S1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_large"})}function B1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_small"})}function E1(e){return n.jsx(r,{...e,iconKey:"php"})}function F1(e){return n.jsx(r,{...e,iconKey:"piano"})}function P1(e){return n.jsx(r,{...e,iconKey:"piano_off"})}function D1(e){return n.jsx(r,{...e,iconKey:"picture_as_pdf"})}function N1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture"})}function T1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture_alt"})}function M1(e){return n.jsx(r,{...e,iconKey:"pie_chart"})}function O1(e){return n.jsx(r,{...e,iconKey:"pie_chart_outline"})}function L1(e){return n.jsx(r,{...e,iconKey:"pin"})}function Q1(e){return n.jsx(r,{...e,iconKey:"pin_drop"})}function V1(e){return n.jsx(r,{...e,iconKey:"pin_end"})}function W1(e){return n.jsx(r,{...e,iconKey:"pin_invoke"})}function G1(e){return n.jsx(r,{...e,iconKey:"pinch"})}function z1(e){return n.jsx(r,{...e,iconKey:"pivot_table_chart"})}function H1(e){return n.jsx(r,{...e,iconKey:"pix"})}function U1(e){return n.jsx(r,{...e,iconKey:"place"})}function Y1(e){return n.jsx(r,{...e,iconKey:"plagiarism"})}function $1(e){return n.jsx(r,{...e,iconKey:"play_arrow"})}function j1(e){return n.jsx(r,{...e,iconKey:"play_circle"})}function q1(e){return n.jsx(r,{...e,iconKey:"play_circle_filled"})}function J1(e){return n.jsx(r,{...e,iconKey:"play_circle_outline"})}function Z1(e){return n.jsx(r,{...e,iconKey:"play_disabled"})}function X1(e){return n.jsx(r,{...e,iconKey:"play_for_work"})}function x1(e){return n.jsx(r,{...e,iconKey:"play_lesson"})}function R1(e){return n.jsx(r,{...e,iconKey:"playlist_add"})}function eD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check"})}function nD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check_circle"})}function oD(e){return n.jsx(r,{...e,iconKey:"playlist_add_circle"})}function rD(e){return n.jsx(r,{...e,iconKey:"playlist_play"})}function tD(e){return n.jsx(r,{...e,iconKey:"playlist_remove"})}function cD(e){return n.jsx(r,{...e,iconKey:"plumbing"})}function iD(e){return n.jsx(r,{...e,iconKey:"plus_one"})}function aD(e){return n.jsx(r,{...e,iconKey:"podcasts"})}function lD(e){return n.jsx(r,{...e,iconKey:"point_of_sale"})}function sD(e){return n.jsx(r,{...e,iconKey:"policy"})}function dD(e){return n.jsx(r,{...e,iconKey:"poll"})}function uD(e){return n.jsx(r,{...e,iconKey:"polyline"})}function fD(e){return n.jsx(r,{...e,iconKey:"polymer"})}function AD(e){return n.jsx(r,{...e,iconKey:"pool"})}function _D(e){return n.jsx(r,{...e,iconKey:"portable_wifi_off"})}function yD(e){return n.jsx(r,{...e,iconKey:"portrait"})}function gD(e){return n.jsx(r,{...e,iconKey:"post_add"})}function hD(e){return n.jsx(r,{...e,iconKey:"power"})}function ID(e){return n.jsx(r,{...e,iconKey:"power_input"})}function bD(e){return n.jsx(r,{...e,iconKey:"power_off"})}function pD(e){return n.jsx(r,{...e,iconKey:"power_settings_new"})}function wD(e){return n.jsx(r,{...e,iconKey:"precision_manufacturing"})}function kD(e){return n.jsx(r,{...e,iconKey:"pregnant_woman"})}function mD(e){return n.jsx(r,{...e,iconKey:"present_to_all"})}function vD(e){return n.jsx(r,{...e,iconKey:"preview"})}function KD(e){return n.jsx(r,{...e,iconKey:"price_change"})}function CD(e){return n.jsx(r,{...e,iconKey:"price_check"})}function SD(e){return n.jsx(r,{...e,iconKey:"print"})}function BD(e){return n.jsx(r,{...e,iconKey:"print_disabled"})}function ED(e){return n.jsx(r,{...e,iconKey:"priority_high"})}function FD(e){return n.jsx(r,{...e,iconKey:"privacy_tip"})}function PD(e){return n.jsx(r,{...e,iconKey:"private_connectivity"})}function DD(e){return n.jsx(r,{...e,iconKey:"production_quantity_limits"})}function ND(e){return n.jsx(r,{...e,iconKey:"propane"})}function TD(e){return n.jsx(r,{...e,iconKey:"propane_tank"})}function MD(e){return n.jsx(r,{...e,iconKey:"psychology"})}function OD(e){return n.jsx(r,{...e,iconKey:"psychology_alt"})}function LD(e){return n.jsx(r,{...e,iconKey:"public"})}function QD(e){return n.jsx(r,{...e,iconKey:"public_off"})}function VD(e){return n.jsx(r,{...e,iconKey:"publish"})}function WD(e){return n.jsx(r,{...e,iconKey:"published_with_changes"})}function GD(e){return n.jsx(r,{...e,iconKey:"punch_clock"})}function zD(e){return n.jsx(r,{...e,iconKey:"push_pin"})}function HD(e){return n.jsx(r,{...e,iconKey:"qr_code"})}function UD(e){return n.jsx(r,{...e,iconKey:"qr_code_2"})}function YD(e){return n.jsx(r,{...e,iconKey:"qr_code_scanner"})}function $D(e){return n.jsx(r,{...e,iconKey:"query_builder"})}function jD(e){return n.jsx(r,{...e,iconKey:"query_stats"})}function qD(e){return n.jsx(r,{...e,iconKey:"question_answer"})}function JD(e){return n.jsx(r,{...e,iconKey:"question_mark"})}function ZD(e){return n.jsx(r,{...e,iconKey:"queue"})}function XD(e){return n.jsx(r,{...e,iconKey:"queue_music"})}function xD(e){return n.jsx(r,{...e,iconKey:"queue_play_next"})}function RD(e){return n.jsx(r,{...e,iconKey:"quickreply"})}function eN(e){return n.jsx(r,{...e,iconKey:"quiz"})}function nN(e){return n.jsx(r,{...e,iconKey:"r_mobiledata"})}function oN(e){return n.jsx(r,{...e,iconKey:"radar"})}function rN(e){return n.jsx(r,{...e,iconKey:"radio"})}function tN(e){return n.jsx(r,{...e,iconKey:"radio_button_checked"})}function cN(e){return n.jsx(r,{...e,iconKey:"radio_button_unchecked"})}function iN(e){return n.jsx(r,{...e,iconKey:"railway_alert"})}function aN(e){return n.jsx(r,{...e,iconKey:"ramen_dining"})}function lN(e){return n.jsx(r,{...e,iconKey:"ramp_left"})}function sN(e){return n.jsx(r,{...e,iconKey:"ramp_right"})}function dN(e){return n.jsx(r,{...e,iconKey:"rate_review"})}function uN(e){return n.jsx(r,{...e,iconKey:"raw_off"})}function fN(e){return n.jsx(r,{...e,iconKey:"raw_on"})}function AN(e){return n.jsx(r,{...e,iconKey:"read_more"})}function _N(e){return n.jsx(r,{...e,iconKey:"real_estate_agent"})}function yN(e){return n.jsx(r,{...e,iconKey:"receipt"})}function gN(e){return n.jsx(r,{...e,iconKey:"receipt_long"})}function hN(e){return n.jsx(r,{...e,iconKey:"recent_actors"})}function IN(e){return n.jsx(r,{...e,iconKey:"recommend"})}function bN(e){return n.jsx(r,{...e,iconKey:"record_voice_over"})}function pN(e){return n.jsx(r,{...e,iconKey:"rectangle"})}function wN(e){return n.jsx(r,{...e,iconKey:"recycling"})}function kN(e){return n.jsx(r,{...e,iconKey:"redeem"})}function mN(e){return n.jsx(r,{...e,iconKey:"redo"})}function vN(e){return n.jsx(r,{...e,iconKey:"reduce_capacity"})}function KN(e){return n.jsx(r,{...e,iconKey:"refresh"})}function CN(e){return n.jsx(r,{...e,iconKey:"remember_me"})}function ro(e){return n.jsx(r,{...e,iconKey:"remove"})}function Dc(e){return n.jsx(r,{...e,iconKey:"remove_circle"})}function SN(e){return n.jsx(r,{...e,iconKey:"remove_circle_outline"})}function BN(e){return n.jsx(r,{...e,iconKey:"remove_done"})}function EN(e){return n.jsx(r,{...e,iconKey:"remove_from_queue"})}function FN(e){return n.jsx(r,{...e,iconKey:"remove_moderator"})}function PN(e){return n.jsx(r,{...e,iconKey:"remove_red_eye"})}function DN(e){return n.jsx(r,{...e,iconKey:"remove_road"})}function NN(e){return n.jsx(r,{...e,iconKey:"remove_shopping_cart"})}function TN(e){return n.jsx(r,{...e,iconKey:"reorder"})}function MN(e){return n.jsx(r,{...e,iconKey:"repartition"})}function vr(e){return n.jsx(r,{...e,iconKey:"repeat"})}function ON(e){return n.jsx(r,{...e,iconKey:"repeat_on"})}function LN(e){return n.jsx(r,{...e,iconKey:"repeat_one"})}function QN(e){return n.jsx(r,{...e,iconKey:"repeat_one_on"})}function VN(e){return n.jsx(r,{...e,iconKey:"replay"})}function WN(e){return n.jsx(r,{...e,iconKey:"replay_10"})}function GN(e){return n.jsx(r,{...e,iconKey:"replay_30"})}function zN(e){return n.jsx(r,{...e,iconKey:"replay_5"})}function HN(e){return n.jsx(r,{...e,iconKey:"replay_circle_filled"})}function UN(e){return n.jsx(r,{...e,iconKey:"reply"})}function YN(e){return n.jsx(r,{...e,iconKey:"reply_all"})}function $N(e){return n.jsx(r,{...e,iconKey:"report"})}function jN(e){return n.jsx(r,{...e,iconKey:"report_gmailerrorred"})}function qN(e){return n.jsx(r,{...e,iconKey:"report_off"})}function JN(e){return n.jsx(r,{...e,iconKey:"report_problem"})}function ZN(e){return n.jsx(r,{...e,iconKey:"request_page"})}function XN(e){return n.jsx(r,{...e,iconKey:"request_quote"})}function xN(e){return n.jsx(r,{...e,iconKey:"reset_tv"})}function RN(e){return n.jsx(r,{...e,iconKey:"restart_alt"})}function eT(e){return n.jsx(r,{...e,iconKey:"restaurant"})}function nT(e){return n.jsx(r,{...e,iconKey:"restaurant_menu"})}function oT(e){return n.jsx(r,{...e,iconKey:"restore"})}function rT(e){return n.jsx(r,{...e,iconKey:"restore_from_trash"})}function tT(e){return n.jsx(r,{...e,iconKey:"restore_page"})}function cT(e){return n.jsx(r,{...e,iconKey:"reviews"})}function iT(e){return n.jsx(r,{...e,iconKey:"rice_bowl"})}function aT(e){return n.jsx(r,{...e,iconKey:"ring_volume"})}function lT(e){return n.jsx(r,{...e,iconKey:"rocket"})}function sT(e){return n.jsx(r,{...e,iconKey:"rocket_launch"})}function dT(e){return n.jsx(r,{...e,iconKey:"roller_shades"})}function uT(e){return n.jsx(r,{...e,iconKey:"roller_shades_closed"})}function fT(e){return n.jsx(r,{...e,iconKey:"roller_skating"})}function AT(e){return n.jsx(r,{...e,iconKey:"roofing"})}function _T(e){return n.jsx(r,{...e,iconKey:"room"})}function yT(e){return n.jsx(r,{...e,iconKey:"room_preferences"})}function gT(e){return n.jsx(r,{...e,iconKey:"room_service"})}function hT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_ccw"})}function IT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_cw"})}function bT(e){return n.jsx(r,{...e,iconKey:"rotate_left"})}function pT(e){return n.jsx(r,{...e,iconKey:"rotate_right"})}function wT(e){return n.jsx(r,{...e,iconKey:"roundabout_left"})}function kT(e){return n.jsx(r,{...e,iconKey:"roundabout_right"})}function mT(e){return n.jsx(r,{...e,iconKey:"rounded_corner"})}function vT(e){return n.jsx(r,{...e,iconKey:"route"})}function KT(e){return n.jsx(r,{...e,iconKey:"router"})}function CT(e){return n.jsx(r,{...e,iconKey:"rowing"})}function ST(e){return n.jsx(r,{...e,iconKey:"rss_feed"})}function BT(e){return n.jsx(r,{...e,iconKey:"rsvp"})}function ET(e){return n.jsx(r,{...e,iconKey:"rtt"})}function FT(e){return n.jsx(r,{...e,iconKey:"rule"})}function PT(e){return n.jsx(r,{...e,iconKey:"rule_folder"})}function DT(e){return n.jsx(r,{...e,iconKey:"run_circle"})}function NT(e){return n.jsx(r,{...e,iconKey:"running_with_errors"})}function TT(e){return n.jsx(r,{...e,iconKey:"rv_hookup"})}function MT(e){return n.jsx(r,{...e,iconKey:"safety_check"})}function OT(e){return n.jsx(r,{...e,iconKey:"safety_divider"})}function LT(e){return n.jsx(r,{...e,iconKey:"sailing"})}function QT(e){return n.jsx(r,{...e,iconKey:"sanitizer"})}function VT(e){return n.jsx(r,{...e,iconKey:"satellite"})}function WT(e){return n.jsx(r,{...e,iconKey:"satellite_alt"})}function GT(e){return n.jsx(r,{...e,iconKey:"save"})}function zT(e){return n.jsx(r,{...e,iconKey:"save_alt"})}function HT(e){return n.jsx(r,{...e,iconKey:"save_as"})}function UT(e){return n.jsx(r,{...e,iconKey:"saved_search"})}function YT(e){return n.jsx(r,{...e,iconKey:"savings"})}function $T(e){return n.jsx(r,{...e,iconKey:"scale"})}function jT(e){return n.jsx(r,{...e,iconKey:"scanner"})}function qT(e){return n.jsx(r,{...e,iconKey:"scatter_plot"})}function Nc(e){return n.jsx(r,{...e,iconKey:"schedule"})}function JT(e){return n.jsx(r,{...e,iconKey:"schedule_send"})}function ZT(e){return n.jsx(r,{...e,iconKey:"schema"})}function XT(e){return n.jsx(r,{...e,iconKey:"school"})}function xT(e){return n.jsx(r,{...e,iconKey:"science"})}function RT(e){return n.jsx(r,{...e,iconKey:"score"})}function eM(e){return n.jsx(r,{...e,iconKey:"scoreboard"})}function nM(e){return n.jsx(r,{...e,iconKey:"screen_lock_landscape"})}function oM(e){return n.jsx(r,{...e,iconKey:"screen_lock_portrait"})}function rM(e){return n.jsx(r,{...e,iconKey:"screen_lock_rotation"})}function tM(e){return n.jsx(r,{...e,iconKey:"screen_rotation"})}function cM(e){return n.jsx(r,{...e,iconKey:"screen_rotation_alt"})}function iM(e){return n.jsx(r,{...e,iconKey:"screen_search_desktop"})}function aM(e){return n.jsx(r,{...e,iconKey:"screen_share"})}function lM(e){return n.jsx(r,{...e,iconKey:"screenshot"})}function sM(e){return n.jsx(r,{...e,iconKey:"screenshot_monitor"})}function dM(e){return n.jsx(r,{...e,iconKey:"scuba_diving"})}function uM(e){return n.jsx(r,{...e,iconKey:"sd"})}function fM(e){return n.jsx(r,{...e,iconKey:"sd_card"})}function AM(e){return n.jsx(r,{...e,iconKey:"sd_card_alert"})}function _M(e){return n.jsx(r,{...e,iconKey:"sd_storage"})}function yM(e){return n.jsx(r,{...e,iconKey:"search_off"})}function gM(e){return n.jsx(r,{...e,iconKey:"security"})}function hM(e){return n.jsx(r,{...e,iconKey:"security_update"})}function IM(e){return n.jsx(r,{...e,iconKey:"security_update_good"})}function bM(e){return n.jsx(r,{...e,iconKey:"security_update_warning"})}function pM(e){return n.jsx(r,{...e,iconKey:"segment"})}function wM(e){return n.jsx(r,{...e,iconKey:"select_all"})}function kM(e){return n.jsx(r,{...e,iconKey:"self_improvement"})}function mM(e){return n.jsx(r,{...e,iconKey:"sell"})}function vM(e){return n.jsx(r,{...e,iconKey:"send"})}function KM(e){return n.jsx(r,{...e,iconKey:"send_and_archive"})}function CM(e){return n.jsx(r,{...e,iconKey:"send_time_extension"})}function SM(e){return n.jsx(r,{...e,iconKey:"send_to_mobile"})}function BM(e){return n.jsx(r,{...e,iconKey:"sensor_door"})}function EM(e){return n.jsx(r,{...e,iconKey:"sensor_occupied"})}function FM(e){return n.jsx(r,{...e,iconKey:"sensor_window"})}function PM(e){return n.jsx(r,{...e,iconKey:"sensors"})}function DM(e){return n.jsx(r,{...e,iconKey:"sensors_off"})}function NM(e){return n.jsx(r,{...e,iconKey:"sentiment_dissatisfied"})}function TM(e){return n.jsx(r,{...e,iconKey:"sentiment_neutral"})}function MM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied"})}function OM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied_alt"})}function LM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_dissatisfied"})}function QM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_satisfied"})}function VM(e){return n.jsx(r,{...e,iconKey:"set_meal"})}function WM(e){return n.jsx(r,{...e,iconKey:"settings"})}function GM(e){return n.jsx(r,{...e,iconKey:"settings_accessibility"})}function zM(e){return n.jsx(r,{...e,iconKey:"settings_applications"})}function HM(e){return n.jsx(r,{...e,iconKey:"settings_backup_restore"})}function UM(e){return n.jsx(r,{...e,iconKey:"settings_bluetooth"})}function YM(e){return n.jsx(r,{...e,iconKey:"settings_brightness"})}function $M(e){return n.jsx(r,{...e,iconKey:"settings_cell"})}function jM(e){return n.jsx(r,{...e,iconKey:"settings_ethernet"})}function qM(e){return n.jsx(r,{...e,iconKey:"settings_input_antenna"})}function JM(e){return n.jsx(r,{...e,iconKey:"settings_input_component"})}function ZM(e){return n.jsx(r,{...e,iconKey:"settings_input_composite"})}function XM(e){return n.jsx(r,{...e,iconKey:"settings_input_hdmi"})}function xM(e){return n.jsx(r,{...e,iconKey:"settings_input_svideo"})}function RM(e){return n.jsx(r,{...e,iconKey:"settings_overscan"})}function e2(e){return n.jsx(r,{...e,iconKey:"settings_phone"})}function n2(e){return n.jsx(r,{...e,iconKey:"settings_power"})}function o2(e){return n.jsx(r,{...e,iconKey:"settings_remote"})}function r2(e){return n.jsx(r,{...e,iconKey:"settings_suggest"})}function t2(e){return n.jsx(r,{...e,iconKey:"settings_system_daydream"})}function c2(e){return n.jsx(r,{...e,iconKey:"settings_voice"})}function i2(e){return n.jsx(r,{...e,iconKey:"severe_cold"})}function a2(e){return n.jsx(r,{...e,iconKey:"shape_line"})}function l2(e){return n.jsx(r,{...e,iconKey:"share"})}function s2(e){return n.jsx(r,{...e,iconKey:"share_location"})}function d2(e){return n.jsx(r,{...e,iconKey:"shield"})}function u2(e){return n.jsx(r,{...e,iconKey:"shield_moon"})}function f2(e){return n.jsx(r,{...e,iconKey:"shop"})}function A2(e){return n.jsx(r,{...e,iconKey:"shop_2"})}function _2(e){return n.jsx(r,{...e,iconKey:"shop_two"})}function y2(e){return n.jsx(r,{...e,iconKey:"shopping_bag"})}function g2(e){return n.jsx(r,{...e,iconKey:"shopping_basket"})}function h2(e){return n.jsx(r,{...e,iconKey:"shopping_cart"})}function I2(e){return n.jsx(r,{...e,iconKey:"shopping_cart_checkout"})}function Tc(e){return n.jsx(r,{...e,iconKey:"short_text"})}function b2(e){return n.jsx(r,{...e,iconKey:"shortcut"})}function p2(e){return n.jsx(r,{...e,iconKey:"show_chart"})}function w2(e){return n.jsx(r,{...e,iconKey:"shower"})}function k2(e){return n.jsx(r,{...e,iconKey:"shuffle"})}function m2(e){return n.jsx(r,{...e,iconKey:"shuffle_on"})}function v2(e){return n.jsx(r,{...e,iconKey:"shutter_speed"})}function K2(e){return n.jsx(r,{...e,iconKey:"sick"})}function C2(e){return n.jsx(r,{...e,iconKey:"sign_language"})}function S2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_0_bar"})}function B2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_4_bar"})}function E2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt"})}function F2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_1_bar"})}function P2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_2_bar"})}function D2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_0_bar"})}function N2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_4_bar"})}function T2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_no_sim"})}function M2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_nodata"})}function O2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_null"})}function L2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_off"})}function Q2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_0_bar"})}function V2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar"})}function W2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar_lock"})}function G2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_bad"})}function z2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_connected_no_internet_4"})}function H2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_off"})}function U2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_4_bar"})}function Y2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_connected_no_internet_4"})}function $2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_null"})}function j2(e){return n.jsx(r,{...e,iconKey:"signpost"})}function q2(e){return n.jsx(r,{...e,iconKey:"sim_card"})}function J2(e){return n.jsx(r,{...e,iconKey:"sim_card_alert"})}function Z2(e){return n.jsx(r,{...e,iconKey:"sim_card_download"})}function X2(e){return n.jsx(r,{...e,iconKey:"single_bed"})}function x2(e){return n.jsx(r,{...e,iconKey:"sip"})}function R2(e){return n.jsx(r,{...e,iconKey:"skateboarding"})}function eO(e){return n.jsx(r,{...e,iconKey:"skip_next"})}function nO(e){return n.jsx(r,{...e,iconKey:"skip_previous"})}function oO(e){return n.jsx(r,{...e,iconKey:"sledding"})}function rO(e){return n.jsx(r,{...e,iconKey:"slideshow"})}function tO(e){return n.jsx(r,{...e,iconKey:"slow_motion_video"})}function cO(e){return n.jsx(r,{...e,iconKey:"smart_button"})}function iO(e){return n.jsx(r,{...e,iconKey:"smart_display"})}function aO(e){return n.jsx(r,{...e,iconKey:"smart_screen"})}function lO(e){return n.jsx(r,{...e,iconKey:"smart_toy"})}function sO(e){return n.jsx(r,{...e,iconKey:"smartphone"})}function dO(e){return n.jsx(r,{...e,iconKey:"smoke_free"})}function uO(e){return n.jsx(r,{...e,iconKey:"smoking_rooms"})}function fO(e){return n.jsx(r,{...e,iconKey:"sms"})}function AO(e){return n.jsx(r,{...e,iconKey:"sms_failed"})}function _O(e){return n.jsx(r,{...e,iconKey:"snippet_folder"})}function yO(e){return n.jsx(r,{...e,iconKey:"snooze"})}function gO(e){return n.jsx(r,{...e,iconKey:"snowboarding"})}function hO(e){return n.jsx(r,{...e,iconKey:"snowmobile"})}function IO(e){return n.jsx(r,{...e,iconKey:"snowshoeing"})}function bO(e){return n.jsx(r,{...e,iconKey:"soap"})}function pO(e){return n.jsx(r,{...e,iconKey:"social_distance"})}function wO(e){return n.jsx(r,{...e,iconKey:"solar_power"})}function kO(e){return n.jsx(r,{...e,iconKey:"sort"})}function mO(e){return n.jsx(r,{...e,iconKey:"sort_by_alpha"})}function vO(e){return n.jsx(r,{...e,iconKey:"sos"})}function KO(e){return n.jsx(r,{...e,iconKey:"soup_kitchen"})}function CO(e){return n.jsx(r,{...e,iconKey:"source"})}function SO(e){return n.jsx(r,{...e,iconKey:"south"})}function BO(e){return n.jsx(r,{...e,iconKey:"south_america"})}function EO(e){return n.jsx(r,{...e,iconKey:"south_east"})}function FO(e){return n.jsx(r,{...e,iconKey:"south_west"})}function PO(e){return n.jsx(r,{...e,iconKey:"spa"})}function DO(e){return n.jsx(r,{...e,iconKey:"space_bar"})}function NO(e){return n.jsx(r,{...e,iconKey:"space_dashboard"})}function TO(e){return n.jsx(r,{...e,iconKey:"spatial_audio"})}function MO(e){return n.jsx(r,{...e,iconKey:"spatial_audio_off"})}function OO(e){return n.jsx(r,{...e,iconKey:"spatial_tracking"})}function LO(e){return n.jsx(r,{...e,iconKey:"speaker"})}function QO(e){return n.jsx(r,{...e,iconKey:"speaker_group"})}function VO(e){return n.jsx(r,{...e,iconKey:"speaker_notes"})}function WO(e){return n.jsx(r,{...e,iconKey:"speaker_notes_off"})}function GO(e){return n.jsx(r,{...e,iconKey:"speaker_phone"})}function zO(e){return n.jsx(r,{...e,iconKey:"speed"})}function HO(e){return n.jsx(r,{...e,iconKey:"spellcheck"})}function UO(e){return n.jsx(r,{...e,iconKey:"splitscreen"})}function YO(e){return n.jsx(r,{...e,iconKey:"spoke"})}function $O(e){return n.jsx(r,{...e,iconKey:"sports"})}function jO(e){return n.jsx(r,{...e,iconKey:"sports_bar"})}function qO(e){return n.jsx(r,{...e,iconKey:"sports_baseball"})}function JO(e){return n.jsx(r,{...e,iconKey:"sports_basketball"})}function ZO(e){return n.jsx(r,{...e,iconKey:"sports_cricket"})}function XO(e){return n.jsx(r,{...e,iconKey:"sports_esports"})}function xO(e){return n.jsx(r,{...e,iconKey:"sports_football"})}function RO(e){return n.jsx(r,{...e,iconKey:"sports_golf"})}function eL(e){return n.jsx(r,{...e,iconKey:"sports_gymnastics"})}function nL(e){return n.jsx(r,{...e,iconKey:"sports_handball"})}function oL(e){return n.jsx(r,{...e,iconKey:"sports_hockey"})}function rL(e){return n.jsx(r,{...e,iconKey:"sports_kabaddi"})}function tL(e){return n.jsx(r,{...e,iconKey:"sports_martial_arts"})}function cL(e){return n.jsx(r,{...e,iconKey:"sports_mma"})}function iL(e){return n.jsx(r,{...e,iconKey:"sports_motorsports"})}function aL(e){return n.jsx(r,{...e,iconKey:"sports_rugby"})}function lL(e){return n.jsx(r,{...e,iconKey:"sports_score"})}function sL(e){return n.jsx(r,{...e,iconKey:"sports_soccer"})}function dL(e){return n.jsx(r,{...e,iconKey:"sports_tennis"})}function uL(e){return n.jsx(r,{...e,iconKey:"sports_volleyball"})}function fL(e){return n.jsx(r,{...e,iconKey:"square"})}function AL(e){return n.jsx(r,{...e,iconKey:"square_foot"})}function _L(e){return n.jsx(r,{...e,iconKey:"ssid_chart"})}function yL(e){return n.jsx(r,{...e,iconKey:"stacked_bar_chart"})}function gL(e){return n.jsx(r,{...e,iconKey:"stacked_line_chart"})}function hL(e){return n.jsx(r,{...e,iconKey:"stadium"})}function IL(e){return n.jsx(r,{...e,iconKey:"stairs"})}function Kr(e){return n.jsx(r,{...e,iconKey:"star"})}function Cr(e){return n.jsx(r,{...e,iconKey:"star_border"})}function bL(e){return n.jsx(r,{...e,iconKey:"star_border_purple500"})}function pL(e){return n.jsx(r,{...e,iconKey:"star_half"})}function wL(e){return n.jsx(r,{...e,iconKey:"star_outline"})}function kL(e){return n.jsx(r,{...e,iconKey:"star_purple500"})}function mL(e){return n.jsx(r,{...e,iconKey:"star_rate"})}function vL(e){return n.jsx(r,{...e,iconKey:"stars"})}function KL(e){return n.jsx(r,{...e,iconKey:"start"})}function CL(e){return n.jsx(r,{...e,iconKey:"stay_current_landscape"})}function SL(e){return n.jsx(r,{...e,iconKey:"stay_current_portrait"})}function BL(e){return n.jsx(r,{...e,iconKey:"stay_primary_landscape"})}function EL(e){return n.jsx(r,{...e,iconKey:"stay_primary_portrait"})}function FL(e){return n.jsx(r,{...e,iconKey:"sticky_note_2"})}function PL(e){return n.jsx(r,{...e,iconKey:"stop"})}function DL(e){return n.jsx(r,{...e,iconKey:"stop_circle"})}function NL(e){return n.jsx(r,{...e,iconKey:"stop_screen_share"})}function TL(e){return n.jsx(r,{...e,iconKey:"storage"})}function ML(e){return n.jsx(r,{...e,iconKey:"store"})}function OL(e){return n.jsx(r,{...e,iconKey:"store_mall_directory"})}function LL(e){return n.jsx(r,{...e,iconKey:"storefront"})}function QL(e){return n.jsx(r,{...e,iconKey:"storm"})}function VL(e){return n.jsx(r,{...e,iconKey:"straight"})}function WL(e){return n.jsx(r,{...e,iconKey:"straighten"})}function GL(e){return n.jsx(r,{...e,iconKey:"stream"})}function zL(e){return n.jsx(r,{...e,iconKey:"streetview"})}function HL(e){return n.jsx(r,{...e,iconKey:"strikethrough_s"})}function UL(e){return n.jsx(r,{...e,iconKey:"stroller"})}function YL(e){return n.jsx(r,{...e,iconKey:"style"})}function $L(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_left"})}function jL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_right"})}function Mc(e){return n.jsx(r,{...e,iconKey:"subject"})}function qL(e){return n.jsx(r,{...e,iconKey:"subscript"})}function JL(e){return n.jsx(r,{...e,iconKey:"subscriptions"})}function ZL(e){return n.jsx(r,{...e,iconKey:"subtitles"})}function XL(e){return n.jsx(r,{...e,iconKey:"subtitles_off"})}function xL(e){return n.jsx(r,{...e,iconKey:"subway"})}function RL(e){return n.jsx(r,{...e,iconKey:"summarize"})}function e4(e){return n.jsx(r,{...e,iconKey:"superscript"})}function n4(e){return n.jsx(r,{...e,iconKey:"supervised_user_circle"})}function o4(e){return n.jsx(r,{...e,iconKey:"supervisor_account"})}function r4(e){return n.jsx(r,{...e,iconKey:"support"})}function t4(e){return n.jsx(r,{...e,iconKey:"support_agent"})}function c4(e){return n.jsx(r,{...e,iconKey:"surfing"})}function i4(e){return n.jsx(r,{...e,iconKey:"surround_sound"})}function a4(e){return n.jsx(r,{...e,iconKey:"swap_calls"})}function l4(e){return n.jsx(r,{...e,iconKey:"swap_horiz"})}function s4(e){return n.jsx(r,{...e,iconKey:"swap_horizontal_circle"})}function d4(e){return n.jsx(r,{...e,iconKey:"swap_vert"})}function u4(e){return n.jsx(r,{...e,iconKey:"swap_vertical_circle"})}function f4(e){return n.jsx(r,{...e,iconKey:"swipe"})}function A4(e){return n.jsx(r,{...e,iconKey:"swipe_down"})}function _4(e){return n.jsx(r,{...e,iconKey:"swipe_down_alt"})}function y4(e){return n.jsx(r,{...e,iconKey:"swipe_left"})}function g4(e){return n.jsx(r,{...e,iconKey:"swipe_left_alt"})}function h4(e){return n.jsx(r,{...e,iconKey:"swipe_right"})}function I4(e){return n.jsx(r,{...e,iconKey:"swipe_right_alt"})}function b4(e){return n.jsx(r,{...e,iconKey:"swipe_up"})}function p4(e){return n.jsx(r,{...e,iconKey:"swipe_up_alt"})}function w4(e){return n.jsx(r,{...e,iconKey:"swipe_vertical"})}function k4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut"})}function m4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut_add"})}function v4(e){return n.jsx(r,{...e,iconKey:"switch_account"})}function K4(e){return n.jsx(r,{...e,iconKey:"switch_camera"})}function C4(e){return n.jsx(r,{...e,iconKey:"switch_left"})}function S4(e){return n.jsx(r,{...e,iconKey:"switch_right"})}function B4(e){return n.jsx(r,{...e,iconKey:"switch_video"})}function E4(e){return n.jsx(r,{...e,iconKey:"synagogue"})}function F4(e){return n.jsx(r,{...e,iconKey:"sync"})}function P4(e){return n.jsx(r,{...e,iconKey:"sync_alt"})}function D4(e){return n.jsx(r,{...e,iconKey:"sync_disabled"})}function N4(e){return n.jsx(r,{...e,iconKey:"sync_lock"})}function T4(e){return n.jsx(r,{...e,iconKey:"sync_problem"})}function M4(e){return n.jsx(r,{...e,iconKey:"system_security_update"})}function O4(e){return n.jsx(r,{...e,iconKey:"system_security_update_good"})}function L4(e){return n.jsx(r,{...e,iconKey:"system_security_update_warning"})}function Q4(e){return n.jsx(r,{...e,iconKey:"system_update"})}function V4(e){return n.jsx(r,{...e,iconKey:"system_update_alt"})}function W4(e){return n.jsx(r,{...e,iconKey:"tab"})}function G4(e){return n.jsx(r,{...e,iconKey:"tab_unselected"})}function z4(e){return n.jsx(r,{...e,iconKey:"table_bar"})}function H4(e){return n.jsx(r,{...e,iconKey:"table_chart"})}function U4(e){return n.jsx(r,{...e,iconKey:"table_restaurant"})}function Y4(e){return n.jsx(r,{...e,iconKey:"table_rows"})}function $4(e){return n.jsx(r,{...e,iconKey:"table_view"})}function j4(e){return n.jsx(r,{...e,iconKey:"tablet"})}function q4(e){return n.jsx(r,{...e,iconKey:"tablet_android"})}function J4(e){return n.jsx(r,{...e,iconKey:"tablet_mac"})}function Z4(e){return n.jsx(r,{...e,iconKey:"tag"})}function X4(e){return n.jsx(r,{...e,iconKey:"tag_faces"})}function x4(e){return n.jsx(r,{...e,iconKey:"takeout_dining"})}function R4(e){return n.jsx(r,{...e,iconKey:"tap_and_play"})}function eQ(e){return n.jsx(r,{...e,iconKey:"tapas"})}function nQ(e){return n.jsx(r,{...e,iconKey:"task"})}function oQ(e){return n.jsx(r,{...e,iconKey:"task_alt"})}function rQ(e){return n.jsx(r,{...e,iconKey:"taxi_alert"})}function tQ(e){return n.jsx(r,{...e,iconKey:"temple_buddhist"})}function cQ(e){return n.jsx(r,{...e,iconKey:"temple_hindu"})}function iQ(e){return n.jsx(r,{...e,iconKey:"terminal"})}function aQ(e){return n.jsx(r,{...e,iconKey:"terrain"})}function lQ(e){return n.jsx(r,{...e,iconKey:"text_decrease"})}function sQ(e){return n.jsx(r,{...e,iconKey:"text_fields"})}function dQ(e){return n.jsx(r,{...e,iconKey:"text_format"})}function uQ(e){return n.jsx(r,{...e,iconKey:"text_increase"})}function fQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_up"})}function AQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_vertical"})}function _Q(e){return n.jsx(r,{...e,iconKey:"text_rotation_angledown"})}function yQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angleup"})}function gQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_down"})}function hQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_none"})}function IQ(e){return n.jsx(r,{...e,iconKey:"text_snippet"})}function bQ(e){return n.jsx(r,{...e,iconKey:"textsms"})}function pQ(e){return n.jsx(r,{...e,iconKey:"texture"})}function wQ(e){return n.jsx(r,{...e,iconKey:"theater_comedy"})}function kQ(e){return n.jsx(r,{...e,iconKey:"theaters"})}function mQ(e){return n.jsx(r,{...e,iconKey:"thermostat"})}function vQ(e){return n.jsx(r,{...e,iconKey:"thermostat_auto"})}function KQ(e){return n.jsx(r,{...e,iconKey:"thumb_down"})}function CQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_alt"})}function SQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_off_alt"})}function BQ(e){return n.jsx(r,{...e,iconKey:"thumb_up"})}function EQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_alt"})}function FQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_off_alt"})}function PQ(e){return n.jsx(r,{...e,iconKey:"thumbs_up_down"})}function DQ(e){return n.jsx(r,{...e,iconKey:"thunderstorm"})}function NQ(e){return n.jsx(r,{...e,iconKey:"time_to_leave"})}function TQ(e){return n.jsx(r,{...e,iconKey:"timelapse"})}function MQ(e){return n.jsx(r,{...e,iconKey:"timeline"})}function OQ(e){return n.jsx(r,{...e,iconKey:"timer"})}function LQ(e){return n.jsx(r,{...e,iconKey:"timer_10"})}function QQ(e){return n.jsx(r,{...e,iconKey:"timer_10_select"})}function VQ(e){return n.jsx(r,{...e,iconKey:"timer_3"})}function WQ(e){return n.jsx(r,{...e,iconKey:"timer_3_select"})}function GQ(e){return n.jsx(r,{...e,iconKey:"timer_off"})}function zQ(e){return n.jsx(r,{...e,iconKey:"tips_and_updates"})}function HQ(e){return n.jsx(r,{...e,iconKey:"tire_repair"})}function UQ(e){return n.jsx(r,{...e,iconKey:"title"})}function YQ(e){return n.jsx(r,{...e,iconKey:"toc"})}function $Q(e){return n.jsx(r,{...e,iconKey:"today"})}function jQ(e){return n.jsx(r,{...e,iconKey:"toggle_off"})}function qQ(e){return n.jsx(r,{...e,iconKey:"toggle_on"})}function JQ(e){return n.jsx(r,{...e,iconKey:"token"})}function ZQ(e){return n.jsx(r,{...e,iconKey:"toll"})}function XQ(e){return n.jsx(r,{...e,iconKey:"tonality"})}function xQ(e){return n.jsx(r,{...e,iconKey:"topic"})}function RQ(e){return n.jsx(r,{...e,iconKey:"tornado"})}function eV(e){return n.jsx(r,{...e,iconKey:"touch_app"})}function nV(e){return n.jsx(r,{...e,iconKey:"tour"})}function oV(e){return n.jsx(r,{...e,iconKey:"toys"})}function rV(e){return n.jsx(r,{...e,iconKey:"track_changes"})}function tV(e){return n.jsx(r,{...e,iconKey:"traffic"})}function cV(e){return n.jsx(r,{...e,iconKey:"train"})}function iV(e){return n.jsx(r,{...e,iconKey:"tram"})}function aV(e){return n.jsx(r,{...e,iconKey:"transcribe"})}function lV(e){return n.jsx(r,{...e,iconKey:"transfer_within_a_station"})}function sV(e){return n.jsx(r,{...e,iconKey:"transform"})}function dV(e){return n.jsx(r,{...e,iconKey:"transgender"})}function uV(e){return n.jsx(r,{...e,iconKey:"transit_enterexit"})}function fV(e){return n.jsx(r,{...e,iconKey:"translate"})}function AV(e){return n.jsx(r,{...e,iconKey:"travel_explore"})}function _V(e){return n.jsx(r,{...e,iconKey:"trending_down"})}function yV(e){return n.jsx(r,{...e,iconKey:"trending_flat"})}function gV(e){return n.jsx(r,{...e,iconKey:"trending_up"})}function hV(e){return n.jsx(r,{...e,iconKey:"trip_origin"})}function IV(e){return n.jsx(r,{...e,iconKey:"troubleshoot"})}function bV(e){return n.jsx(r,{...e,iconKey:"try"})}function pV(e){return n.jsx(r,{...e,iconKey:"tsunami"})}function wV(e){return n.jsx(r,{...e,iconKey:"tty"})}function kV(e){return n.jsx(r,{...e,iconKey:"tune"})}function mV(e){return n.jsx(r,{...e,iconKey:"tungsten"})}function vV(e){return n.jsx(r,{...e,iconKey:"turn_left"})}function KV(e){return n.jsx(r,{...e,iconKey:"turn_right"})}function CV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_left"})}function SV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_right"})}function BV(e){return n.jsx(r,{...e,iconKey:"turn_slight_left"})}function EV(e){return n.jsx(r,{...e,iconKey:"turn_slight_right"})}function FV(e){return n.jsx(r,{...e,iconKey:"turned_in"})}function PV(e){return n.jsx(r,{...e,iconKey:"turned_in_not"})}function DV(e){return n.jsx(r,{...e,iconKey:"tv"})}function NV(e){return n.jsx(r,{...e,iconKey:"tv_off"})}function TV(e){return n.jsx(r,{...e,iconKey:"two_wheeler"})}function MV(e){return n.jsx(r,{...e,iconKey:"type_specimen"})}function OV(e){return n.jsx(r,{...e,iconKey:"u_turn_left"})}function LV(e){return n.jsx(r,{...e,iconKey:"u_turn_right"})}function QV(e){return n.jsx(r,{...e,iconKey:"umbrella"})}function VV(e){return n.jsx(r,{...e,iconKey:"unarchive"})}function WV(e){return n.jsx(r,{...e,iconKey:"undo"})}function GV(e){return n.jsx(r,{...e,iconKey:"unfold_less"})}function zV(e){return n.jsx(r,{...e,iconKey:"unfold_less_double"})}function HV(e){return n.jsx(r,{...e,iconKey:"unfold_more"})}function UV(e){return n.jsx(r,{...e,iconKey:"unfold_more_double"})}function YV(e){return n.jsx(r,{...e,iconKey:"unpublished"})}function $V(e){return n.jsx(r,{...e,iconKey:"unsubscribe"})}function jV(e){return n.jsx(r,{...e,iconKey:"upcoming"})}function qV(e){return n.jsx(r,{...e,iconKey:"update"})}function JV(e){return n.jsx(r,{...e,iconKey:"update_disabled"})}function ZV(e){return n.jsx(r,{...e,iconKey:"upgrade"})}function XV(e){return n.jsx(r,{...e,iconKey:"upload"})}function Oc(e){return n.jsx(r,{...e,iconKey:"upload_file"})}function xV(e){return n.jsx(r,{...e,iconKey:"usb"})}function RV(e){return n.jsx(r,{...e,iconKey:"usb_off"})}function eW(e){return n.jsx(r,{...e,iconKey:"vaccines"})}function nW(e){return n.jsx(r,{...e,iconKey:"vape_free"})}function oW(e){return n.jsx(r,{...e,iconKey:"vaping_rooms"})}function rW(e){return n.jsx(r,{...e,iconKey:"verified"})}function tW(e){return n.jsx(r,{...e,iconKey:"verified_user"})}function cW(e){return n.jsx(r,{...e,iconKey:"vertical_align_bottom"})}function iW(e){return n.jsx(r,{...e,iconKey:"vertical_align_center"})}function aW(e){return n.jsx(r,{...e,iconKey:"vertical_align_top"})}function lW(e){return n.jsx(r,{...e,iconKey:"vertical_distribute"})}function sW(e){return n.jsx(r,{...e,iconKey:"vertical_shades"})}function dW(e){return n.jsx(r,{...e,iconKey:"vertical_shades_closed"})}function uW(e){return n.jsx(r,{...e,iconKey:"vertical_split"})}function fW(e){return n.jsx(r,{...e,iconKey:"vibration"})}function AW(e){return n.jsx(r,{...e,iconKey:"video_call"})}function _W(e){return n.jsx(r,{...e,iconKey:"video_camera_back"})}function yW(e){return n.jsx(r,{...e,iconKey:"video_camera_front"})}function gW(e){return n.jsx(r,{...e,iconKey:"video_chat"})}function hW(e){return n.jsx(r,{...e,iconKey:"video_file"})}function IW(e){return n.jsx(r,{...e,iconKey:"video_label"})}function bW(e){return n.jsx(r,{...e,iconKey:"video_library"})}function pW(e){return n.jsx(r,{...e,iconKey:"video_settings"})}function wW(e){return n.jsx(r,{...e,iconKey:"video_stable"})}function kW(e){return n.jsx(r,{...e,iconKey:"videocam"})}function mW(e){return n.jsx(r,{...e,iconKey:"videocam_off"})}function vW(e){return n.jsx(r,{...e,iconKey:"videogame_asset"})}function KW(e){return n.jsx(r,{...e,iconKey:"videogame_asset_off"})}function CW(e){return n.jsx(r,{...e,iconKey:"view_agenda"})}function SW(e){return n.jsx(r,{...e,iconKey:"view_array"})}function BW(e){return n.jsx(r,{...e,iconKey:"view_carousel"})}function EW(e){return n.jsx(r,{...e,iconKey:"view_column"})}function FW(e){return n.jsx(r,{...e,iconKey:"view_comfy"})}function PW(e){return n.jsx(r,{...e,iconKey:"view_comfy_alt"})}function DW(e){return n.jsx(r,{...e,iconKey:"view_compact"})}function NW(e){return n.jsx(r,{...e,iconKey:"view_compact_alt"})}function TW(e){return n.jsx(r,{...e,iconKey:"view_cozy"})}function MW(e){return n.jsx(r,{...e,iconKey:"view_day"})}function OW(e){return n.jsx(r,{...e,iconKey:"view_headline"})}function LW(e){return n.jsx(r,{...e,iconKey:"view_in_ar"})}function QW(e){return n.jsx(r,{...e,iconKey:"view_kanban"})}function VW(e){return n.jsx(r,{...e,iconKey:"view_list"})}function WW(e){return n.jsx(r,{...e,iconKey:"view_module"})}function GW(e){return n.jsx(r,{...e,iconKey:"view_quilt"})}function zW(e){return n.jsx(r,{...e,iconKey:"view_sidebar"})}function Lc(e){return n.jsx(r,{...e,iconKey:"view_stream"})}function HW(e){return n.jsx(r,{...e,iconKey:"view_timeline"})}function UW(e){return n.jsx(r,{...e,iconKey:"view_week"})}function YW(e){return n.jsx(r,{...e,iconKey:"vignette"})}function $W(e){return n.jsx(r,{...e,iconKey:"villa"})}function jW(e){return n.jsx(r,{...e,iconKey:"visibility"})}function qW(e){return n.jsx(r,{...e,iconKey:"visibility_off"})}function JW(e){return n.jsx(r,{...e,iconKey:"voice_chat"})}function ZW(e){return n.jsx(r,{...e,iconKey:"voice_over_off"})}function XW(e){return n.jsx(r,{...e,iconKey:"voicemail"})}function xW(e){return n.jsx(r,{...e,iconKey:"volcano"})}function RW(e){return n.jsx(r,{...e,iconKey:"volume_down"})}function e5(e){return n.jsx(r,{...e,iconKey:"volume_mute"})}function n5(e){return n.jsx(r,{...e,iconKey:"volume_off"})}function o5(e){return n.jsx(r,{...e,iconKey:"volume_up"})}function r5(e){return n.jsx(r,{...e,iconKey:"volunteer_activism"})}function t5(e){return n.jsx(r,{...e,iconKey:"vpn_key"})}function c5(e){return n.jsx(r,{...e,iconKey:"vpn_key_off"})}function i5(e){return n.jsx(r,{...e,iconKey:"vpn_lock"})}function a5(e){return n.jsx(r,{...e,iconKey:"vrpano"})}function l5(e){return n.jsx(r,{...e,iconKey:"wallet"})}function s5(e){return n.jsx(r,{...e,iconKey:"wallpaper"})}function d5(e){return n.jsx(r,{...e,iconKey:"warehouse"})}function u5(e){return n.jsx(r,{...e,iconKey:"warning"})}function f5(e){return n.jsx(r,{...e,iconKey:"warning_amber"})}function A5(e){return n.jsx(r,{...e,iconKey:"wash"})}function _5(e){return n.jsx(r,{...e,iconKey:"watch"})}function y5(e){return n.jsx(r,{...e,iconKey:"watch_later"})}function g5(e){return n.jsx(r,{...e,iconKey:"watch_off"})}function h5(e){return n.jsx(r,{...e,iconKey:"water"})}function I5(e){return n.jsx(r,{...e,iconKey:"water_damage"})}function b5(e){return n.jsx(r,{...e,iconKey:"water_drop"})}function p5(e){return n.jsx(r,{...e,iconKey:"waterfall_chart"})}function w5(e){return n.jsx(r,{...e,iconKey:"waves"})}function k5(e){return n.jsx(r,{...e,iconKey:"waving_hand"})}function m5(e){return n.jsx(r,{...e,iconKey:"wb_auto"})}function v5(e){return n.jsx(r,{...e,iconKey:"wb_cloudy"})}function K5(e){return n.jsx(r,{...e,iconKey:"wb_incandescent"})}function C5(e){return n.jsx(r,{...e,iconKey:"wb_iridescent"})}function S5(e){return n.jsx(r,{...e,iconKey:"wb_shade"})}function B5(e){return n.jsx(r,{...e,iconKey:"wb_sunny"})}function E5(e){return n.jsx(r,{...e,iconKey:"wb_twilight"})}function F5(e){return n.jsx(r,{...e,iconKey:"wc"})}function P5(e){return n.jsx(r,{...e,iconKey:"web"})}function D5(e){return n.jsx(r,{...e,iconKey:"web_asset"})}function N5(e){return n.jsx(r,{...e,iconKey:"web_asset_off"})}function T5(e){return n.jsx(r,{...e,iconKey:"web_stories"})}function M5(e){return n.jsx(r,{...e,iconKey:"webhook"})}function O5(e){return n.jsx(r,{...e,iconKey:"weekend"})}function L5(e){return n.jsx(r,{...e,iconKey:"west"})}function Q5(e){return n.jsx(r,{...e,iconKey:"whatshot"})}function V5(e){return n.jsx(r,{...e,iconKey:"wheelchair_pickup"})}function W5(e){return n.jsx(r,{...e,iconKey:"where_to_vote"})}function G5(e){return n.jsx(r,{...e,iconKey:"widgets"})}function z5(e){return n.jsx(r,{...e,iconKey:"width_full"})}function H5(e){return n.jsx(r,{...e,iconKey:"width_normal"})}function U5(e){return n.jsx(r,{...e,iconKey:"width_wide"})}function Y5(e){return n.jsx(r,{...e,iconKey:"wifi"})}function $5(e){return n.jsx(r,{...e,iconKey:"wifi_1_bar"})}function j5(e){return n.jsx(r,{...e,iconKey:"wifi_2_bar"})}function q5(e){return n.jsx(r,{...e,iconKey:"wifi_calling"})}function J5(e){return n.jsx(r,{...e,iconKey:"wifi_calling_3"})}function Z5(e){return n.jsx(r,{...e,iconKey:"wifi_channel"})}function X5(e){return n.jsx(r,{...e,iconKey:"wifi_find"})}function x5(e){return n.jsx(r,{...e,iconKey:"wifi_lock"})}function R5(e){return n.jsx(r,{...e,iconKey:"wifi_off"})}function eG(e){return n.jsx(r,{...e,iconKey:"wifi_password"})}function nG(e){return n.jsx(r,{...e,iconKey:"wifi_protected_setup"})}function oG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering"})}function rG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_error"})}function tG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_off"})}function cG(e){return n.jsx(r,{...e,iconKey:"wind_power"})}function iG(e){return n.jsx(r,{...e,iconKey:"window"})}function aG(e){return n.jsx(r,{...e,iconKey:"wine_bar"})}function lG(e){return n.jsx(r,{...e,iconKey:"woman"})}function sG(e){return n.jsx(r,{...e,iconKey:"woman_2"})}function dG(e){return n.jsx(r,{...e,iconKey:"work"})}function uG(e){return n.jsx(r,{...e,iconKey:"work_history"})}function fG(e){return n.jsx(r,{...e,iconKey:"work_off"})}function AG(e){return n.jsx(r,{...e,iconKey:"work_outline"})}function _G(e){return n.jsx(r,{...e,iconKey:"workspace_premium"})}function yG(e){return n.jsx(r,{...e,iconKey:"workspaces"})}function gG(e){return n.jsx(r,{...e,iconKey:"wrap_text"})}function hG(e){return n.jsx(r,{...e,iconKey:"wrong_location"})}function IG(e){return n.jsx(r,{...e,iconKey:"wysiwyg"})}function bG(e){return n.jsx(r,{...e,iconKey:"yard"})}function pG(e){return n.jsx(r,{...e,iconKey:"youtube_searched_for"})}function wG(e){return n.jsx(r,{...e,iconKey:"zoom_in"})}function kG(e){return n.jsx(r,{...e,iconKey:"zoom_in_map"})}function mG(e){return n.jsx(r,{...e,iconKey:"zoom_out"})}function vG(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(Ae,{title:c.longDescription,side:"bottom",children:n.jsx(x,{size:"small",className:"self-start",children:n.jsx(Kc,{color:"disabled",size:"small"})})})]})}const Qc=f.createContext({}),Qe=()=>f.useContext(Qc),Vc=f.createContext({}),fe=()=>f.useContext(Vc),Sr=f.createContext({}),pn=()=>f.useContext(Sr),Wc=f.createContext({}),to=()=>f.useContext(Wc),Gc=f.createContext({}),wn=()=>f.useContext(Gc),zc=f.createContext({}),Bn=()=>f.useContext(zc),un=()=>{const{enqueueSnackbar:e,closeSnackbar:t}=jt.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])},Hc=f.createContext(void 0),En=()=>f.useContext(Hc),Br=f.createContext({sideDialogsController:{},sideEntityController:{},navigation:{},dataSource:{},storageSource:{},authController:{},snackbarController:{},fields:{}}),ee=()=>{const e=f.useContext(Br),t=pn(),c=to(),i=wn(),a=fe(),l=Qe(),s=Bn(),d=un(),u=En();return{...e,authController:t,sideDialogsController:c,sideEntityController:i,navigation:a,dataSource:l,storageSource:s,snackbarController:d,userConfigPersistence:u}};function Uc({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,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 Er={};function Fr({path:e,entityId:t,collection:c,useCache:i=!1}){const a=Qe(),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)}Er[`${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&&Er[`${s}/${t}`]?(A(Er[`${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 Pr({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 Yc({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 $c({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=It({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 KG({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),$c({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 Dr=()=>f.useContext(cr),jc=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}},Nr=()=>f.useContext(Xt),CG={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: ${CG[e]+1}px)`).matches;c(a)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[]),t};function co(e){const t=fe(),c=to(),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(da,{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 SG=`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 BG(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??SG}},[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 EG=40,FG=100,PG=200;function Pn(e){if(e==="tiny")return EG;if(e==="small")return FG;if(e==="medium")return PG;throw Error("Thumbnail size not mapped")}function fn(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 Ae=({open:e,side:t="bottom",sideOffset:c,onOpenChange:i,title:a,className:l,style:s,tooltipClassName:d,children:u})=>(Dn("Tooltip",DG),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})),DG=`
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("@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"],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.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,Jn,Ta,n,u,Jt,De,Ma,Oa,kU,ar,Zt,La,lr,de,Xt,Qa,ko,Va,Wa,Ga,za,Ha,Ua,Ya,Fn,$a,Ie,wn,ja,qa,sr,Ja,Za){"use strict";function Ne(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 le=Ne(u),Zn=Ne(Ma),xt=Ne(Oa),qe=Ne(La),Xn=Ne(Qa),Je=Ne(Va),Xa=Ne(Wa),xn=Ne(Ga),dr=Ne(za),Rn=Ne(Ha),Rt=Ne(Ya),Te=Ne(ja),xa=Ne(Ja),Ra=Ne(Za);function F(...e){return Ta.twMerge(Jn.clsx(e))}const el={breadcrumbs:[],set:e=>{}},ec=u.createContext(el),nl=({children:e})=>{const[t,c]=u.useState([]),i=a=>{c(a.breadcrumbs)};return n.jsx(ec.Provider,{value:{breadcrumbs:t,set:i},children:e})},ol={mode:"light",setMode:e=>{},toggleMode:()=>{}},ur=u.createContext(ol),rl=ur.Provider;function tl(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 be(e){return nc(oc(e))}function nc(e){return e.startsWith("/")?e.slice(1):e}function oc(e){return e.endsWith("/")?e.slice(0,-1):e}function cl(e){return e.startsWith("/")?e:`/${e}`}function il(e){const t=be(e);if(t.includes("/")){const c=t.split("/");return c[c.length-1]}return t}function fr(e,t){const c=be(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=mo(l??i[0],t);if(!s?.subcollections)return c;const d=c.split("/").slice(2).join("/");return(l??i[0])+"/"+i[1]+"/"+fr(d,s.subcollections)}else return l??c}function mo(e,t){const c=be(e).split("/");if(c.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const i=vo(c);let a;for(let l=0;l<i.length;l++){const s=i[l],d=t&&t.sort((f,A)=>(f.alias??"").localeCompare(A.alias??"")).find(f=>f.alias===s||f.path===s);if(d){if(s===e)a=d;else if(d.subcollections){const f=e.replace(s,"").split("/").slice(2).join("/");f.length>0&&(a=mo(f,d.subcollections))}}if(a)break}return a}function vo(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 Ue{id;path;constructor(t,c){this.id=t,this.path=c}get pathWithId(){return`${this.path}/${this.id}`}}class Ko{latitude;longitude;constructor(t,c){this.latitude=t,this.longitude=c}}const rc=(e,...t)=>({...t.reduce((c,i)=>({...c,[i]:e[i]}),{})});function Co(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Ze(e,t){const c=Co(e),i=c?{...e}:e;return c&&Co(t)&&Object.keys(t).forEach(a=>{Co(t[a])?a in e?i[a]=Ze(e[a],t[a]):Object.assign(i,{[a]:t[a]}):Object.assign(i,{[a]:t[a]})}),i}function sn(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:sn(l,s)}}}function al(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 yr(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 Ko)return Jt(e)}return Jt(e,{ignoreUnknown:!0})}function _r(e,t){if(typeof e=="function")return e;if(Array.isArray(e))return e.map(c=>_r(c,t));if(typeof e=="object"){const c={};return e===null?e:(Object.keys(e).forEach(i=>{if(!hr(e)){const a=_r(e[i],t),l=typeof a=="string",s=!t||t&&!l||t&&l&&a!=="";a!==void 0&&!hr(a)&&s&&(c[i]=a)}}),c)}return e}function hr(e){return e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length===0}const eo="type",So="value";function Pn(e){return e.readOnly||e.dataType==="date"&&e.autoValue?!0:e.dataType==="reference"?!e.path:!1}function no(e){return typeof e.disabled=="object"&&!!e.disabled.hidden}function Me(e){return typeof e=="function"}function oo(e){return e?Object.entries(e).map(([t,c])=>{const i=Bo(c);return i===void 0?{}:{[t]:i}}).reduce((t,c)=>({...t,...c}),{}):{}}function Bo(e){if(!Me(e))if(e.dataType==="map"&&e.properties){const t=oo(e.properties);return Object.keys(t).length===0?void 0:t}else return e.defaultValue?e.defaultValue:gr(e.dataType)}function gr(e){return e==="string"||e==="number"?null:e==="boolean"?!1:e==="date"?null:e==="array"?[]:e==="map"?{}:null}function tc({inputValues:e,properties:t,status:c,timestampNowValue:i,setDateToMidnight:a}){return Ir(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 ll(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 kn(e){return new Ue(e.id,e.path)}function Ir(e,t,c){const i=Object.entries(t).map(([l,s])=>{const d=e&&e[l],f=Eo(d,s,c);if(f!==void 0)return{[l]:f}}).reduce((l,s)=>({...l,...s}),{}),a={...e,...i};if(Object.keys(a).length!==0)return a}function Eo(e,t,c){let i;if(t.dataType==="map"&&t.properties)i=Ir(e,t.properties,c);else if(t.dataType==="array")if(t.of&&Array.isArray(e))i=e.map(a=>Eo(a,t.of,c));else if(t.oneOf&&Array.isArray(e)){const a=t.oneOf?.typeField??eo,l=t.oneOf?.valueField??So;i=e.map(s=>{if(s===null)return null;if(typeof s!="object")return s;const d=s[a],f=t.oneOf?.properties[d];return!d||!f?s:{[a]:d,[l]:Eo(s[l],f,c)}})}else i=e;else i=c(e,t);return i}function cc(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 Fo={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 ic(e){const t=cc(e),c=Object.keys(Fo),i=t%c.length;return Fo[c[i]]}function sl(e){return Fo[e]}function dn(e){return Array.isArray(e)?e:Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:{...c,id:t})}function Po(e,t){if(t)return e.find(c=>String(c.id)===String(t))}function ac(e,t){const c=Po(e,t);if(!c?.color)return ic(t.toString());if(typeof c=="object"&&"color"in c){if(typeof c.color=="string")return Fo[c.color];if(typeof c.color=="object")return c.color}}function dl(e){return typeof e=="object"&&e.disabled}function lc(e){if(e!==void 0)return typeof e=="object"?e.label:e}function Do({name:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,small:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:f=null,setFieldValue:A}){return n.jsx(Vt,{droppableId:e,addLabel:t,value:c,disabled:i,buildEntry:a,size:l?"small":"medium",onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:f,onValueChange:_=>A(e,_)})}function Ke({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 ul(e){const t=u.useRef(),[c,i]=u.useState(e.value),a=u.useDeferredValue(c);u.useEffect(()=>{i(e.value)},[e.value]),u.useEffect(()=>{!e.value&&!a||a!==e.value&&t.current&&e.onChange&&e.onChange(t.current)},[a,e.value,e.onChange]);const l=u.useCallback(s=>{t.current=s,i(s.target.value)},[]);return n.jsx(tn,{...e,onChange:l,value:c})}function fl({field:e,form:t,label:c,tooltip:i,disabled:a,size:l="small",allowIndeterminate:s}){const d=n.jsx(Wn,{label:c,size:l,position:"start",value:e.value,disabled:a,allowIndeterminate:s,onValueChange:f=>t.setFieldValue(e.name,f)});return i?n.jsx(Ae,{title:i,children:d}):d}const br=["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"],sc=["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"],Al={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:F("material-icons",c?Al[c]:"","select-none",i),onClick:a,children:e})}function yl(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 pr(e){return n.jsx(r,{...e,iconKey:"search"})}function _l(e){return n.jsx(r,{...e,iconKey:"123"})}function hl(e){return n.jsx(r,{...e,iconKey:"360"})}function gl(e){return n.jsx(r,{...e,iconKey:"10k"})}function Il(e){return n.jsx(r,{...e,iconKey:"10mp"})}function bl(e){return n.jsx(r,{...e,iconKey:"11mp"})}function pl(e){return n.jsx(r,{...e,iconKey:"12mp"})}function wl(e){return n.jsx(r,{...e,iconKey:"13mp"})}function kl(e){return n.jsx(r,{...e,iconKey:"14mp"})}function ml(e){return n.jsx(r,{...e,iconKey:"15mp"})}function vl(e){return n.jsx(r,{...e,iconKey:"16mp"})}function Kl(e){return n.jsx(r,{...e,iconKey:"17mp"})}function Cl(e){return n.jsx(r,{...e,iconKey:"18_up_rating"})}function Sl(e){return n.jsx(r,{...e,iconKey:"18mp"})}function Bl(e){return n.jsx(r,{...e,iconKey:"19mp"})}function El(e){return n.jsx(r,{...e,iconKey:"1k"})}function Fl(e){return n.jsx(r,{...e,iconKey:"1k_plus"})}function Pl(e){return n.jsx(r,{...e,iconKey:"1x_mobiledata"})}function Dl(e){return n.jsx(r,{...e,iconKey:"20mp"})}function Nl(e){return n.jsx(r,{...e,iconKey:"21mp"})}function Tl(e){return n.jsx(r,{...e,iconKey:"22mp"})}function Ml(e){return n.jsx(r,{...e,iconKey:"23mp"})}function Ol(e){return n.jsx(r,{...e,iconKey:"24mp"})}function Ll(e){return n.jsx(r,{...e,iconKey:"2k"})}function Ql(e){return n.jsx(r,{...e,iconKey:"2k_plus"})}function Vl(e){return n.jsx(r,{...e,iconKey:"2mp"})}function Wl(e){return n.jsx(r,{...e,iconKey:"30fps"})}function Gl(e){return n.jsx(r,{...e,iconKey:"30fps_select"})}function zl(e){return n.jsx(r,{...e,iconKey:"3d_rotation"})}function Hl(e){return n.jsx(r,{...e,iconKey:"3g_mobiledata"})}function Ul(e){return n.jsx(r,{...e,iconKey:"3k"})}function Yl(e){return n.jsx(r,{...e,iconKey:"3k_plus"})}function $l(e){return n.jsx(r,{...e,iconKey:"3mp"})}function jl(e){return n.jsx(r,{...e,iconKey:"3p"})}function ql(e){return n.jsx(r,{...e,iconKey:"4g_mobiledata"})}function Jl(e){return n.jsx(r,{...e,iconKey:"4g_plus_mobiledata"})}function Zl(e){return n.jsx(r,{...e,iconKey:"4k"})}function Xl(e){return n.jsx(r,{...e,iconKey:"4k_plus"})}function xl(e){return n.jsx(r,{...e,iconKey:"4mp"})}function Rl(e){return n.jsx(r,{...e,iconKey:"5g"})}function es(e){return n.jsx(r,{...e,iconKey:"5k"})}function ns(e){return n.jsx(r,{...e,iconKey:"5k_plus"})}function os(e){return n.jsx(r,{...e,iconKey:"5mp"})}function rs(e){return n.jsx(r,{...e,iconKey:"60fps"})}function ts(e){return n.jsx(r,{...e,iconKey:"60fps_select"})}function cs(e){return n.jsx(r,{...e,iconKey:"6_ft_apart"})}function is(e){return n.jsx(r,{...e,iconKey:"6k"})}function as(e){return n.jsx(r,{...e,iconKey:"6k_plus"})}function ls(e){return n.jsx(r,{...e,iconKey:"6mp"})}function ss(e){return n.jsx(r,{...e,iconKey:"7k"})}function ds(e){return n.jsx(r,{...e,iconKey:"7k_plus"})}function us(e){return n.jsx(r,{...e,iconKey:"7mp"})}function fs(e){return n.jsx(r,{...e,iconKey:"8k"})}function As(e){return n.jsx(r,{...e,iconKey:"8k_plus"})}function ys(e){return n.jsx(r,{...e,iconKey:"8mp"})}function _s(e){return n.jsx(r,{...e,iconKey:"9k"})}function hs(e){return n.jsx(r,{...e,iconKey:"9k_plus"})}function gs(e){return n.jsx(r,{...e,iconKey:"9mp"})}function Is(e){return n.jsx(r,{...e,iconKey:"abc"})}function bs(e){return n.jsx(r,{...e,iconKey:"ac_unit"})}function ps(e){return n.jsx(r,{...e,iconKey:"access_alarm"})}function ws(e){return n.jsx(r,{...e,iconKey:"access_alarms"})}function ks(e){return n.jsx(r,{...e,iconKey:"access_time"})}function ms(e){return n.jsx(r,{...e,iconKey:"access_time_filled"})}function vs(e){return n.jsx(r,{...e,iconKey:"accessibility"})}function Ks(e){return n.jsx(r,{...e,iconKey:"accessibility_new"})}function Cs(e){return n.jsx(r,{...e,iconKey:"accessible"})}function Ss(e){return n.jsx(r,{...e,iconKey:"accessible_forward"})}function Bs(e){return n.jsx(r,{...e,iconKey:"account_balance"})}function Es(e){return n.jsx(r,{...e,iconKey:"account_balance_wallet"})}function Fs(e){return n.jsx(r,{...e,iconKey:"account_box"})}function Ps(e){return n.jsx(r,{...e,iconKey:"account_circle"})}function Ds(e){return n.jsx(r,{...e,iconKey:"account_tree"})}function Ns(e){return n.jsx(r,{...e,iconKey:"ad_units"})}function Ts(e){return n.jsx(r,{...e,iconKey:"adb"})}function mn(e){return n.jsx(r,{...e,iconKey:"add"})}function Ms(e){return n.jsx(r,{...e,iconKey:"add_a_photo"})}function Os(e){return n.jsx(r,{...e,iconKey:"add_alarm"})}function Ls(e){return n.jsx(r,{...e,iconKey:"add_alert"})}function Qs(e){return n.jsx(r,{...e,iconKey:"add_box"})}function Vs(e){return n.jsx(r,{...e,iconKey:"add_business"})}function Ws(e){return n.jsx(r,{...e,iconKey:"add_card"})}function Gs(e){return n.jsx(r,{...e,iconKey:"add_chart"})}function zs(e){return n.jsx(r,{...e,iconKey:"add_circle"})}function Hs(e){return n.jsx(r,{...e,iconKey:"add_circle_outline"})}function Us(e){return n.jsx(r,{...e,iconKey:"add_comment"})}function Ys(e){return n.jsx(r,{...e,iconKey:"add_home"})}function $s(e){return n.jsx(r,{...e,iconKey:"add_home_work"})}function js(e){return n.jsx(r,{...e,iconKey:"add_ic_call"})}function dc(e){return n.jsx(r,{...e,iconKey:"add_link"})}function qs(e){return n.jsx(r,{...e,iconKey:"add_location"})}function Js(e){return n.jsx(r,{...e,iconKey:"add_location_alt"})}function Zs(e){return n.jsx(r,{...e,iconKey:"add_moderator"})}function Xs(e){return n.jsx(r,{...e,iconKey:"add_photo_alternate"})}function xs(e){return n.jsx(r,{...e,iconKey:"add_reaction"})}function Rs(e){return n.jsx(r,{...e,iconKey:"add_road"})}function ed(e){return n.jsx(r,{...e,iconKey:"add_shopping_cart"})}function nd(e){return n.jsx(r,{...e,iconKey:"add_task"})}function od(e){return n.jsx(r,{...e,iconKey:"add_to_drive"})}function rd(e){return n.jsx(r,{...e,iconKey:"add_to_home_screen"})}function td(e){return n.jsx(r,{...e,iconKey:"add_to_photos"})}function cd(e){return n.jsx(r,{...e,iconKey:"add_to_queue"})}function id(e){return n.jsx(r,{...e,iconKey:"adf_scanner"})}function ad(e){return n.jsx(r,{...e,iconKey:"adjust"})}function ld(e){return n.jsx(r,{...e,iconKey:"admin_panel_settings"})}function sd(e){return n.jsx(r,{...e,iconKey:"ads_click"})}function dd(e){return n.jsx(r,{...e,iconKey:"agriculture"})}function ud(e){return n.jsx(r,{...e,iconKey:"air"})}function fd(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat"})}function Ad(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat_angled"})}function yd(e){return n.jsx(r,{...e,iconKey:"airline_seat_individual_suite"})}function _d(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_extra"})}function hd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_normal"})}function gd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_reduced"})}function Id(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_extra"})}function bd(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_normal"})}function pd(e){return n.jsx(r,{...e,iconKey:"airline_stops"})}function wd(e){return n.jsx(r,{...e,iconKey:"airlines"})}function kd(e){return n.jsx(r,{...e,iconKey:"airplane_ticket"})}function md(e){return n.jsx(r,{...e,iconKey:"airplanemode_active"})}function vd(e){return n.jsx(r,{...e,iconKey:"airplanemode_inactive"})}function Kd(e){return n.jsx(r,{...e,iconKey:"airplay"})}function Cd(e){return n.jsx(r,{...e,iconKey:"airport_shuttle"})}function Sd(e){return n.jsx(r,{...e,iconKey:"alarm"})}function Bd(e){return n.jsx(r,{...e,iconKey:"alarm_add"})}function Ed(e){return n.jsx(r,{...e,iconKey:"alarm_off"})}function Fd(e){return n.jsx(r,{...e,iconKey:"alarm_on"})}function Pd(e){return n.jsx(r,{...e,iconKey:"album"})}function Dd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_center"})}function Nd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_left"})}function Td(e){return n.jsx(r,{...e,iconKey:"align_horizontal_right"})}function Md(e){return n.jsx(r,{...e,iconKey:"align_vertical_bottom"})}function Od(e){return n.jsx(r,{...e,iconKey:"align_vertical_center"})}function Ld(e){return n.jsx(r,{...e,iconKey:"align_vertical_top"})}function Qd(e){return n.jsx(r,{...e,iconKey:"all_inbox"})}function Vd(e){return n.jsx(r,{...e,iconKey:"all_inclusive"})}function Wd(e){return n.jsx(r,{...e,iconKey:"all_out"})}function Gd(e){return n.jsx(r,{...e,iconKey:"alt_route"})}function zd(e){return n.jsx(r,{...e,iconKey:"alternate_email"})}function Hd(e){return n.jsx(r,{...e,iconKey:"analytics"})}function Ud(e){return n.jsx(r,{...e,iconKey:"anchor"})}function Yd(e){return n.jsx(r,{...e,iconKey:"android"})}function $d(e){return n.jsx(r,{...e,iconKey:"animation"})}function jd(e){return n.jsx(r,{...e,iconKey:"announcement"})}function qd(e){return n.jsx(r,{...e,iconKey:"aod"})}function Jd(e){return n.jsx(r,{...e,iconKey:"apartment"})}function Zd(e){return n.jsx(r,{...e,iconKey:"api"})}function Xd(e){return n.jsx(r,{...e,iconKey:"app_blocking"})}function xd(e){return n.jsx(r,{...e,iconKey:"app_registration"})}function Rd(e){return n.jsx(r,{...e,iconKey:"app_settings_alt"})}function eu(e){return n.jsx(r,{...e,iconKey:"app_shortcut"})}function nu(e){return n.jsx(r,{...e,iconKey:"approval"})}function ou(e){return n.jsx(r,{...e,iconKey:"apps"})}function ru(e){return n.jsx(r,{...e,iconKey:"apps_outage"})}function tu(e){return n.jsx(r,{...e,iconKey:"architecture"})}function cu(e){return n.jsx(r,{...e,iconKey:"archive"})}function iu(e){return n.jsx(r,{...e,iconKey:"area_chart"})}function au(e){return n.jsx(r,{...e,iconKey:"arrow_back"})}function lu(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios"})}function su(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios_new"})}function du(e){return n.jsx(r,{...e,iconKey:"arrow_circle_down"})}function uu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_left"})}function fu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_right"})}function Au(e){return n.jsx(r,{...e,iconKey:"arrow_circle_up"})}function yu(e){return n.jsx(r,{...e,iconKey:"arrow_downward"})}function wr(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down"})}function _u(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down_circle"})}function hu(e){return n.jsx(r,{...e,iconKey:"arrow_drop_up"})}function uc(e){return n.jsx(r,{...e,iconKey:"arrow_forward"})}function gu(e){return n.jsx(r,{...e,iconKey:"arrow_forward_ios"})}function Iu(e){return n.jsx(r,{...e,iconKey:"arrow_left"})}function bu(e){return n.jsx(r,{...e,iconKey:"arrow_outward"})}function pu(e){return n.jsx(r,{...e,iconKey:"arrow_right"})}function wu(e){return n.jsx(r,{...e,iconKey:"arrow_right_alt"})}function No(e){return n.jsx(r,{...e,iconKey:"arrow_upward"})}function ku(e){return n.jsx(r,{...e,iconKey:"art_track"})}function mu(e){return n.jsx(r,{...e,iconKey:"article"})}function vu(e){return n.jsx(r,{...e,iconKey:"aspect_ratio"})}function Ku(e){return n.jsx(r,{...e,iconKey:"assessment"})}function fc(e){return n.jsx(r,{...e,iconKey:"assignment"})}function Cu(e){return n.jsx(r,{...e,iconKey:"assignment_ind"})}function Su(e){return n.jsx(r,{...e,iconKey:"assignment_late"})}function Bu(e){return n.jsx(r,{...e,iconKey:"assignment_return"})}function Eu(e){return n.jsx(r,{...e,iconKey:"assignment_returned"})}function Fu(e){return n.jsx(r,{...e,iconKey:"assignment_turned_in"})}function Pu(e){return n.jsx(r,{...e,iconKey:"assist_walker"})}function Du(e){return n.jsx(r,{...e,iconKey:"assistant"})}function Nu(e){return n.jsx(r,{...e,iconKey:"assistant_direction"})}function Tu(e){return n.jsx(r,{...e,iconKey:"assistant_photo"})}function Mu(e){return n.jsx(r,{...e,iconKey:"assured_workload"})}function Ou(e){return n.jsx(r,{...e,iconKey:"atm"})}function Lu(e){return n.jsx(r,{...e,iconKey:"attach_email"})}function Qu(e){return n.jsx(r,{...e,iconKey:"attach_file"})}function Vu(e){return n.jsx(r,{...e,iconKey:"attach_money"})}function Wu(e){return n.jsx(r,{...e,iconKey:"attachment"})}function Gu(e){return n.jsx(r,{...e,iconKey:"attractions"})}function zu(e){return n.jsx(r,{...e,iconKey:"attribution"})}function Hu(e){return n.jsx(r,{...e,iconKey:"audio_file"})}function Uu(e){return n.jsx(r,{...e,iconKey:"audiotrack"})}function Yu(e){return n.jsx(r,{...e,iconKey:"auto_awesome"})}function $u(e){return n.jsx(r,{...e,iconKey:"auto_awesome_mosaic"})}function ju(e){return n.jsx(r,{...e,iconKey:"auto_awesome_motion"})}function qu(e){return n.jsx(r,{...e,iconKey:"auto_delete"})}function Ju(e){return n.jsx(r,{...e,iconKey:"auto_fix_high"})}function Zu(e){return n.jsx(r,{...e,iconKey:"auto_fix_normal"})}function Xu(e){return n.jsx(r,{...e,iconKey:"auto_fix_off"})}function xu(e){return n.jsx(r,{...e,iconKey:"auto_graph"})}function Ru(e){return n.jsx(r,{...e,iconKey:"auto_mode"})}function ef(e){return n.jsx(r,{...e,iconKey:"auto_stories"})}function nf(e){return n.jsx(r,{...e,iconKey:"autofps_select"})}function of(e){return n.jsx(r,{...e,iconKey:"autorenew"})}function rf(e){return n.jsx(r,{...e,iconKey:"av_timer"})}function tf(e){return n.jsx(r,{...e,iconKey:"baby_changing_station"})}function cf(e){return n.jsx(r,{...e,iconKey:"back_hand"})}function af(e){return n.jsx(r,{...e,iconKey:"backpack"})}function lf(e){return n.jsx(r,{...e,iconKey:"backspace"})}function sf(e){return n.jsx(r,{...e,iconKey:"backup"})}function df(e){return n.jsx(r,{...e,iconKey:"backup_table"})}function uf(e){return n.jsx(r,{...e,iconKey:"badge"})}function ff(e){return n.jsx(r,{...e,iconKey:"bakery_dining"})}function Af(e){return n.jsx(r,{...e,iconKey:"balance"})}function yf(e){return n.jsx(r,{...e,iconKey:"balcony"})}function kr(e){return n.jsx(r,{...e,iconKey:"ballot"})}function _f(e){return n.jsx(r,{...e,iconKey:"bar_chart"})}function hf(e){return n.jsx(r,{...e,iconKey:"batch_prediction"})}function gf(e){return n.jsx(r,{...e,iconKey:"bathroom"})}function If(e){return n.jsx(r,{...e,iconKey:"bathtub"})}function bf(e){return n.jsx(r,{...e,iconKey:"battery_0_bar"})}function pf(e){return n.jsx(r,{...e,iconKey:"battery_1_bar"})}function wf(e){return n.jsx(r,{...e,iconKey:"battery_2_bar"})}function kf(e){return n.jsx(r,{...e,iconKey:"battery_3_bar"})}function mf(e){return n.jsx(r,{...e,iconKey:"battery_4_bar"})}function vf(e){return n.jsx(r,{...e,iconKey:"battery_5_bar"})}function Kf(e){return n.jsx(r,{...e,iconKey:"battery_6_bar"})}function Cf(e){return n.jsx(r,{...e,iconKey:"battery_alert"})}function Sf(e){return n.jsx(r,{...e,iconKey:"battery_charging_full"})}function Bf(e){return n.jsx(r,{...e,iconKey:"battery_full"})}function Ef(e){return n.jsx(r,{...e,iconKey:"battery_saver"})}function Ff(e){return n.jsx(r,{...e,iconKey:"battery_std"})}function Pf(e){return n.jsx(r,{...e,iconKey:"battery_unknown"})}function Df(e){return n.jsx(r,{...e,iconKey:"beach_access"})}function Nf(e){return n.jsx(r,{...e,iconKey:"bed"})}function Tf(e){return n.jsx(r,{...e,iconKey:"bedroom_baby"})}function Mf(e){return n.jsx(r,{...e,iconKey:"bedroom_child"})}function Of(e){return n.jsx(r,{...e,iconKey:"bedroom_parent"})}function Lf(e){return n.jsx(r,{...e,iconKey:"bedtime"})}function Qf(e){return n.jsx(r,{...e,iconKey:"bedtime_off"})}function Vf(e){return n.jsx(r,{...e,iconKey:"beenhere"})}function Wf(e){return n.jsx(r,{...e,iconKey:"bento"})}function Gf(e){return n.jsx(r,{...e,iconKey:"bike_scooter"})}function zf(e){return n.jsx(r,{...e,iconKey:"biotech"})}function Hf(e){return n.jsx(r,{...e,iconKey:"blender"})}function Uf(e){return n.jsx(r,{...e,iconKey:"blind"})}function Yf(e){return n.jsx(r,{...e,iconKey:"blinds"})}function $f(e){return n.jsx(r,{...e,iconKey:"blinds_closed"})}function jf(e){return n.jsx(r,{...e,iconKey:"block"})}function qf(e){return n.jsx(r,{...e,iconKey:"bloodtype"})}function Jf(e){return n.jsx(r,{...e,iconKey:"bluetooth"})}function Zf(e){return n.jsx(r,{...e,iconKey:"bluetooth_audio"})}function Xf(e){return n.jsx(r,{...e,iconKey:"bluetooth_connected"})}function xf(e){return n.jsx(r,{...e,iconKey:"bluetooth_disabled"})}function Rf(e){return n.jsx(r,{...e,iconKey:"bluetooth_drive"})}function eA(e){return n.jsx(r,{...e,iconKey:"bluetooth_searching"})}function nA(e){return n.jsx(r,{...e,iconKey:"blur_circular"})}function oA(e){return n.jsx(r,{...e,iconKey:"blur_linear"})}function rA(e){return n.jsx(r,{...e,iconKey:"blur_off"})}function tA(e){return n.jsx(r,{...e,iconKey:"blur_on"})}function cA(e){return n.jsx(r,{...e,iconKey:"bolt"})}function iA(e){return n.jsx(r,{...e,iconKey:"book"})}function aA(e){return n.jsx(r,{...e,iconKey:"book_online"})}function lA(e){return n.jsx(r,{...e,iconKey:"bookmark"})}function sA(e){return n.jsx(r,{...e,iconKey:"bookmark_add"})}function dA(e){return n.jsx(r,{...e,iconKey:"bookmark_added"})}function uA(e){return n.jsx(r,{...e,iconKey:"bookmark_border"})}function fA(e){return n.jsx(r,{...e,iconKey:"bookmark_remove"})}function AA(e){return n.jsx(r,{...e,iconKey:"bookmarks"})}function yA(e){return n.jsx(r,{...e,iconKey:"border_all"})}function _A(e){return n.jsx(r,{...e,iconKey:"border_bottom"})}function hA(e){return n.jsx(r,{...e,iconKey:"border_clear"})}function gA(e){return n.jsx(r,{...e,iconKey:"border_color"})}function IA(e){return n.jsx(r,{...e,iconKey:"border_horizontal"})}function bA(e){return n.jsx(r,{...e,iconKey:"border_inner"})}function pA(e){return n.jsx(r,{...e,iconKey:"border_left"})}function wA(e){return n.jsx(r,{...e,iconKey:"border_outer"})}function kA(e){return n.jsx(r,{...e,iconKey:"border_right"})}function mA(e){return n.jsx(r,{...e,iconKey:"border_style"})}function vA(e){return n.jsx(r,{...e,iconKey:"border_top"})}function KA(e){return n.jsx(r,{...e,iconKey:"border_vertical"})}function CA(e){return n.jsx(r,{...e,iconKey:"boy"})}function SA(e){return n.jsx(r,{...e,iconKey:"branding_watermark"})}function BA(e){return n.jsx(r,{...e,iconKey:"breakfast_dining"})}function EA(e){return n.jsx(r,{...e,iconKey:"brightness_1"})}function FA(e){return n.jsx(r,{...e,iconKey:"brightness_2"})}function PA(e){return n.jsx(r,{...e,iconKey:"brightness_3"})}function DA(e){return n.jsx(r,{...e,iconKey:"brightness_4"})}function NA(e){return n.jsx(r,{...e,iconKey:"brightness_5"})}function TA(e){return n.jsx(r,{...e,iconKey:"brightness_6"})}function MA(e){return n.jsx(r,{...e,iconKey:"brightness_7"})}function OA(e){return n.jsx(r,{...e,iconKey:"brightness_auto"})}function LA(e){return n.jsx(r,{...e,iconKey:"brightness_high"})}function QA(e){return n.jsx(r,{...e,iconKey:"brightness_low"})}function VA(e){return n.jsx(r,{...e,iconKey:"brightness_medium"})}function WA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_home"})}function GA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_personal"})}function zA(e){return n.jsx(r,{...e,iconKey:"broken_image"})}function HA(e){return n.jsx(r,{...e,iconKey:"browse_gallery"})}function UA(e){return n.jsx(r,{...e,iconKey:"browser_not_supported"})}function YA(e){return n.jsx(r,{...e,iconKey:"browser_updated"})}function $A(e){return n.jsx(r,{...e,iconKey:"brunch_dining"})}function jA(e){return n.jsx(r,{...e,iconKey:"brush"})}function qA(e){return n.jsx(r,{...e,iconKey:"bubble_chart"})}function JA(e){return n.jsx(r,{...e,iconKey:"bug_report"})}function ZA(e){return n.jsx(r,{...e,iconKey:"build"})}function XA(e){return n.jsx(r,{...e,iconKey:"build_circle"})}function xA(e){return n.jsx(r,{...e,iconKey:"bungalow"})}function RA(e){return n.jsx(r,{...e,iconKey:"burst_mode"})}function ey(e){return n.jsx(r,{...e,iconKey:"bus_alert"})}function ny(e){return n.jsx(r,{...e,iconKey:"business"})}function oy(e){return n.jsx(r,{...e,iconKey:"business_center"})}function ry(e){return n.jsx(r,{...e,iconKey:"cabin"})}function ty(e){return n.jsx(r,{...e,iconKey:"cable"})}function cy(e){return n.jsx(r,{...e,iconKey:"cached"})}function iy(e){return n.jsx(r,{...e,iconKey:"cake"})}function ay(e){return n.jsx(r,{...e,iconKey:"calculate"})}function Ac(e){return n.jsx(r,{...e,iconKey:"calendar_month"})}function ly(e){return n.jsx(r,{...e,iconKey:"calendar_today"})}function sy(e){return n.jsx(r,{...e,iconKey:"calendar_view_day"})}function dy(e){return n.jsx(r,{...e,iconKey:"calendar_view_month"})}function uy(e){return n.jsx(r,{...e,iconKey:"calendar_view_week"})}function fy(e){return n.jsx(r,{...e,iconKey:"call"})}function Ay(e){return n.jsx(r,{...e,iconKey:"call_end"})}function yy(e){return n.jsx(r,{...e,iconKey:"call_made"})}function _y(e){return n.jsx(r,{...e,iconKey:"call_merge"})}function hy(e){return n.jsx(r,{...e,iconKey:"call_missed"})}function gy(e){return n.jsx(r,{...e,iconKey:"call_missed_outgoing"})}function Iy(e){return n.jsx(r,{...e,iconKey:"call_received"})}function by(e){return n.jsx(r,{...e,iconKey:"call_split"})}function py(e){return n.jsx(r,{...e,iconKey:"call_to_action"})}function wy(e){return n.jsx(r,{...e,iconKey:"camera"})}function ky(e){return n.jsx(r,{...e,iconKey:"camera_alt"})}function my(e){return n.jsx(r,{...e,iconKey:"camera_enhance"})}function vy(e){return n.jsx(r,{...e,iconKey:"camera_front"})}function Ky(e){return n.jsx(r,{...e,iconKey:"camera_indoor"})}function Cy(e){return n.jsx(r,{...e,iconKey:"camera_outdoor"})}function Sy(e){return n.jsx(r,{...e,iconKey:"camera_rear"})}function By(e){return n.jsx(r,{...e,iconKey:"camera_roll"})}function Ey(e){return n.jsx(r,{...e,iconKey:"cameraswitch"})}function Fy(e){return n.jsx(r,{...e,iconKey:"campaign"})}function Py(e){return n.jsx(r,{...e,iconKey:"cancel"})}function Dy(e){return n.jsx(r,{...e,iconKey:"cancel_presentation"})}function Ny(e){return n.jsx(r,{...e,iconKey:"cancel_schedule_send"})}function Ty(e){return n.jsx(r,{...e,iconKey:"candlestick_chart"})}function My(e){return n.jsx(r,{...e,iconKey:"car_crash"})}function Oy(e){return n.jsx(r,{...e,iconKey:"car_rental"})}function Ly(e){return n.jsx(r,{...e,iconKey:"car_repair"})}function Qy(e){return n.jsx(r,{...e,iconKey:"card_giftcard"})}function Vy(e){return n.jsx(r,{...e,iconKey:"card_membership"})}function Wy(e){return n.jsx(r,{...e,iconKey:"card_travel"})}function Gy(e){return n.jsx(r,{...e,iconKey:"carpenter"})}function zy(e){return n.jsx(r,{...e,iconKey:"cases"})}function Hy(e){return n.jsx(r,{...e,iconKey:"casino"})}function Uy(e){return n.jsx(r,{...e,iconKey:"cast"})}function Yy(e){return n.jsx(r,{...e,iconKey:"cast_connected"})}function $y(e){return n.jsx(r,{...e,iconKey:"cast_for_education"})}function jy(e){return n.jsx(r,{...e,iconKey:"castle"})}function qy(e){return n.jsx(r,{...e,iconKey:"catching_pokemon"})}function Jy(e){return n.jsx(r,{...e,iconKey:"category"})}function Zy(e){return n.jsx(r,{...e,iconKey:"celebration"})}function Xy(e){return n.jsx(r,{...e,iconKey:"cell_tower"})}function xy(e){return n.jsx(r,{...e,iconKey:"cell_wifi"})}function Ry(e){return n.jsx(r,{...e,iconKey:"center_focus_strong"})}function e_(e){return n.jsx(r,{...e,iconKey:"center_focus_weak"})}function n_(e){return n.jsx(r,{...e,iconKey:"chair"})}function o_(e){return n.jsx(r,{...e,iconKey:"chair_alt"})}function r_(e){return n.jsx(r,{...e,iconKey:"chalet"})}function t_(e){return n.jsx(r,{...e,iconKey:"change_circle"})}function c_(e){return n.jsx(r,{...e,iconKey:"change_history"})}function i_(e){return n.jsx(r,{...e,iconKey:"charging_station"})}function a_(e){return n.jsx(r,{...e,iconKey:"chat"})}function l_(e){return n.jsx(r,{...e,iconKey:"chat_bubble"})}function s_(e){return n.jsx(r,{...e,iconKey:"chat_bubble_outline"})}function yc(e){return n.jsx(r,{...e,iconKey:"check"})}function d_(e){return n.jsx(r,{...e,iconKey:"check_box"})}function u_(e){return n.jsx(r,{...e,iconKey:"check_box_outline_blank"})}function f_(e){return n.jsx(r,{...e,iconKey:"check_circle"})}function A_(e){return n.jsx(r,{...e,iconKey:"check_circle_outline"})}function y_(e){return n.jsx(r,{...e,iconKey:"checklist"})}function __(e){return n.jsx(r,{...e,iconKey:"checklist_rtl"})}function h_(e){return n.jsx(r,{...e,iconKey:"checkroom"})}function _c(e){return n.jsx(r,{...e,iconKey:"chevron_left"})}function g_(e){return n.jsx(r,{...e,iconKey:"chevron_right"})}function I_(e){return n.jsx(r,{...e,iconKey:"child_care"})}function b_(e){return n.jsx(r,{...e,iconKey:"child_friendly"})}function p_(e){return n.jsx(r,{...e,iconKey:"chrome_reader_mode"})}function w_(e){return n.jsx(r,{...e,iconKey:"church"})}function mr(e){return n.jsx(r,{...e,iconKey:"circle"})}function k_(e){return n.jsx(r,{...e,iconKey:"circle_notifications"})}function m_(e){return n.jsx(r,{...e,iconKey:"class"})}function v_(e){return n.jsx(r,{...e,iconKey:"clean_hands"})}function K_(e){return n.jsx(r,{...e,iconKey:"cleaning_services"})}function un(e){return n.jsx(r,{...e,iconKey:"clear"})}function C_(e){return n.jsx(r,{...e,iconKey:"clear_all"})}function vr(e){return n.jsx(r,{...e,iconKey:"close"})}function S_(e){return n.jsx(r,{...e,iconKey:"close_fullscreen"})}function B_(e){return n.jsx(r,{...e,iconKey:"closed_caption"})}function E_(e){return n.jsx(r,{...e,iconKey:"closed_caption_disabled"})}function F_(e){return n.jsx(r,{...e,iconKey:"closed_caption_off"})}function P_(e){return n.jsx(r,{...e,iconKey:"cloud"})}function D_(e){return n.jsx(r,{...e,iconKey:"cloud_circle"})}function N_(e){return n.jsx(r,{...e,iconKey:"cloud_done"})}function T_(e){return n.jsx(r,{...e,iconKey:"cloud_download"})}function M_(e){return n.jsx(r,{...e,iconKey:"cloud_off"})}function O_(e){return n.jsx(r,{...e,iconKey:"cloud_queue"})}function L_(e){return n.jsx(r,{...e,iconKey:"cloud_sync"})}function Q_(e){return n.jsx(r,{...e,iconKey:"cloud_upload"})}function V_(e){return n.jsx(r,{...e,iconKey:"co2"})}function W_(e){return n.jsx(r,{...e,iconKey:"co_present"})}function G_(e){return n.jsx(r,{...e,iconKey:"code"})}function z_(e){return n.jsx(r,{...e,iconKey:"code_off"})}function H_(e){return n.jsx(r,{...e,iconKey:"coffee"})}function U_(e){return n.jsx(r,{...e,iconKey:"coffee_maker"})}function Y_(e){return n.jsx(r,{...e,iconKey:"collections"})}function $_(e){return n.jsx(r,{...e,iconKey:"collections_bookmark"})}function j_(e){return n.jsx(r,{...e,iconKey:"color_lens"})}function q_(e){return n.jsx(r,{...e,iconKey:"colorize"})}function J_(e){return n.jsx(r,{...e,iconKey:"comment"})}function Z_(e){return n.jsx(r,{...e,iconKey:"comment_bank"})}function X_(e){return n.jsx(r,{...e,iconKey:"comments_disabled"})}function x_(e){return n.jsx(r,{...e,iconKey:"commit"})}function R_(e){return n.jsx(r,{...e,iconKey:"commute"})}function eh(e){return n.jsx(r,{...e,iconKey:"compare"})}function nh(e){return n.jsx(r,{...e,iconKey:"compare_arrows"})}function oh(e){return n.jsx(r,{...e,iconKey:"compass_calibration"})}function rh(e){return n.jsx(r,{...e,iconKey:"compost"})}function th(e){return n.jsx(r,{...e,iconKey:"compress"})}function ch(e){return n.jsx(r,{...e,iconKey:"computer"})}function ih(e){return n.jsx(r,{...e,iconKey:"confirmation_number"})}function ah(e){return n.jsx(r,{...e,iconKey:"connect_without_contact"})}function lh(e){return n.jsx(r,{...e,iconKey:"connected_tv"})}function sh(e){return n.jsx(r,{...e,iconKey:"connecting_airports"})}function dh(e){return n.jsx(r,{...e,iconKey:"construction"})}function uh(e){return n.jsx(r,{...e,iconKey:"contact_emergency"})}function fh(e){return n.jsx(r,{...e,iconKey:"contact_mail"})}function Ah(e){return n.jsx(r,{...e,iconKey:"contact_page"})}function yh(e){return n.jsx(r,{...e,iconKey:"contact_phone"})}function _h(e){return n.jsx(r,{...e,iconKey:"contact_support"})}function hh(e){return n.jsx(r,{...e,iconKey:"contactless"})}function gh(e){return n.jsx(r,{...e,iconKey:"contacts"})}function ro(e){return n.jsx(r,{...e,iconKey:"content_copy"})}function Ih(e){return n.jsx(r,{...e,iconKey:"content_cut"})}function bh(e){return n.jsx(r,{...e,iconKey:"content_paste"})}function ph(e){return n.jsx(r,{...e,iconKey:"content_paste_go"})}function wh(e){return n.jsx(r,{...e,iconKey:"content_paste_off"})}function kh(e){return n.jsx(r,{...e,iconKey:"content_paste_search"})}function mh(e){return n.jsx(r,{...e,iconKey:"contrast"})}function vh(e){return n.jsx(r,{...e,iconKey:"control_camera"})}function Kh(e){return n.jsx(r,{...e,iconKey:"control_point"})}function Ch(e){return n.jsx(r,{...e,iconKey:"control_point_duplicate"})}function Sh(e){return n.jsx(r,{...e,iconKey:"cookie"})}function Bh(e){return n.jsx(r,{...e,iconKey:"copy_all"})}function Eh(e){return n.jsx(r,{...e,iconKey:"copyright"})}function Fh(e){return n.jsx(r,{...e,iconKey:"coronavirus"})}function Ph(e){return n.jsx(r,{...e,iconKey:"corporate_fare"})}function Dh(e){return n.jsx(r,{...e,iconKey:"cottage"})}function Nh(e){return n.jsx(r,{...e,iconKey:"countertops"})}function Th(e){return n.jsx(r,{...e,iconKey:"create"})}function Mh(e){return n.jsx(r,{...e,iconKey:"create_new_folder"})}function Oh(e){return n.jsx(r,{...e,iconKey:"credit_card"})}function Lh(e){return n.jsx(r,{...e,iconKey:"credit_card_off"})}function Qh(e){return n.jsx(r,{...e,iconKey:"credit_score"})}function Vh(e){return n.jsx(r,{...e,iconKey:"crib"})}function Wh(e){return n.jsx(r,{...e,iconKey:"crisis_alert"})}function Gh(e){return n.jsx(r,{...e,iconKey:"crop"})}function zh(e){return n.jsx(r,{...e,iconKey:"crop_16_9"})}function Hh(e){return n.jsx(r,{...e,iconKey:"crop_3_2"})}function Uh(e){return n.jsx(r,{...e,iconKey:"crop_5_4"})}function Yh(e){return n.jsx(r,{...e,iconKey:"crop_7_5"})}function $h(e){return n.jsx(r,{...e,iconKey:"crop_din"})}function jh(e){return n.jsx(r,{...e,iconKey:"crop_free"})}function qh(e){return n.jsx(r,{...e,iconKey:"crop_landscape"})}function Jh(e){return n.jsx(r,{...e,iconKey:"crop_original"})}function Zh(e){return n.jsx(r,{...e,iconKey:"crop_portrait"})}function Xh(e){return n.jsx(r,{...e,iconKey:"crop_rotate"})}function xh(e){return n.jsx(r,{...e,iconKey:"crop_square"})}function Rh(e){return n.jsx(r,{...e,iconKey:"cruelty_free"})}function eg(e){return n.jsx(r,{...e,iconKey:"css"})}function ng(e){return n.jsx(r,{...e,iconKey:"currency_bitcoin"})}function og(e){return n.jsx(r,{...e,iconKey:"currency_exchange"})}function rg(e){return n.jsx(r,{...e,iconKey:"currency_franc"})}function tg(e){return n.jsx(r,{...e,iconKey:"currency_lira"})}function cg(e){return n.jsx(r,{...e,iconKey:"currency_pound"})}function ig(e){return n.jsx(r,{...e,iconKey:"currency_ruble"})}function ag(e){return n.jsx(r,{...e,iconKey:"currency_rupee"})}function lg(e){return n.jsx(r,{...e,iconKey:"currency_yen"})}function sg(e){return n.jsx(r,{...e,iconKey:"currency_yuan"})}function dg(e){return n.jsx(r,{...e,iconKey:"curtains"})}function ug(e){return n.jsx(r,{...e,iconKey:"curtains_closed"})}function fg(e){return n.jsx(r,{...e,iconKey:"cyclone"})}function Ag(e){return n.jsx(r,{...e,iconKey:"dangerous"})}function hc(e){return n.jsx(r,{...e,iconKey:"dark_mode"})}function yg(e){return n.jsx(r,{...e,iconKey:"dashboard"})}function _g(e){return n.jsx(r,{...e,iconKey:"dashboard_customize"})}function hg(e){return n.jsx(r,{...e,iconKey:"data_array"})}function gg(e){return n.jsx(r,{...e,iconKey:"data_exploration"})}function Ig(e){return n.jsx(r,{...e,iconKey:"data_object"})}function bg(e){return n.jsx(r,{...e,iconKey:"data_saver_off"})}function pg(e){return n.jsx(r,{...e,iconKey:"data_saver_on"})}function wg(e){return n.jsx(r,{...e,iconKey:"data_thresholding"})}function kg(e){return n.jsx(r,{...e,iconKey:"data_usage"})}function mg(e){return n.jsx(r,{...e,iconKey:"dataset"})}function vg(e){return n.jsx(r,{...e,iconKey:"dataset_linked"})}function Kg(e){return n.jsx(r,{...e,iconKey:"date_range"})}function Cg(e){return n.jsx(r,{...e,iconKey:"deblur"})}function Sg(e){return n.jsx(r,{...e,iconKey:"deck"})}function Bg(e){return n.jsx(r,{...e,iconKey:"dehaze"})}function To(e){return n.jsx(r,{...e,iconKey:"delete"})}function Eg(e){return n.jsx(r,{...e,iconKey:"delete_forever"})}function Fg(e){return n.jsx(r,{...e,iconKey:"delete_outline"})}function Pg(e){return n.jsx(r,{...e,iconKey:"delete_sweep"})}function Dg(e){return n.jsx(r,{...e,iconKey:"delivery_dining"})}function Ng(e){return n.jsx(r,{...e,iconKey:"density_large"})}function Tg(e){return n.jsx(r,{...e,iconKey:"density_medium"})}function Mg(e){return n.jsx(r,{...e,iconKey:"density_small"})}function Og(e){return n.jsx(r,{...e,iconKey:"departure_board"})}function gc(e){return n.jsx(r,{...e,iconKey:"description"})}function Lg(e){return n.jsx(r,{...e,iconKey:"deselect"})}function Qg(e){return n.jsx(r,{...e,iconKey:"design_services"})}function Vg(e){return n.jsx(r,{...e,iconKey:"desk"})}function Wg(e){return n.jsx(r,{...e,iconKey:"desktop_access_disabled"})}function Gg(e){return n.jsx(r,{...e,iconKey:"desktop_mac"})}function zg(e){return n.jsx(r,{...e,iconKey:"desktop_windows"})}function Hg(e){return n.jsx(r,{...e,iconKey:"details"})}function Ug(e){return n.jsx(r,{...e,iconKey:"developer_board"})}function Yg(e){return n.jsx(r,{...e,iconKey:"developer_board_off"})}function $g(e){return n.jsx(r,{...e,iconKey:"developer_mode"})}function jg(e){return n.jsx(r,{...e,iconKey:"device_hub"})}function qg(e){return n.jsx(r,{...e,iconKey:"device_thermostat"})}function Jg(e){return n.jsx(r,{...e,iconKey:"device_unknown"})}function Zg(e){return n.jsx(r,{...e,iconKey:"devices"})}function Xg(e){return n.jsx(r,{...e,iconKey:"devices_fold"})}function xg(e){return n.jsx(r,{...e,iconKey:"devices_other"})}function Rg(e){return n.jsx(r,{...e,iconKey:"dialer_sip"})}function eI(e){return n.jsx(r,{...e,iconKey:"dialpad"})}function nI(e){return n.jsx(r,{...e,iconKey:"diamond"})}function oI(e){return n.jsx(r,{...e,iconKey:"difference"})}function rI(e){return n.jsx(r,{...e,iconKey:"dining"})}function tI(e){return n.jsx(r,{...e,iconKey:"dinner_dining"})}function cI(e){return n.jsx(r,{...e,iconKey:"directions"})}function iI(e){return n.jsx(r,{...e,iconKey:"directions_bike"})}function aI(e){return n.jsx(r,{...e,iconKey:"directions_boat"})}function lI(e){return n.jsx(r,{...e,iconKey:"directions_boat_filled"})}function sI(e){return n.jsx(r,{...e,iconKey:"directions_bus"})}function dI(e){return n.jsx(r,{...e,iconKey:"directions_bus_filled"})}function uI(e){return n.jsx(r,{...e,iconKey:"directions_car"})}function fI(e){return n.jsx(r,{...e,iconKey:"directions_car_filled"})}function AI(e){return n.jsx(r,{...e,iconKey:"directions_off"})}function yI(e){return n.jsx(r,{...e,iconKey:"directions_railway"})}function _I(e){return n.jsx(r,{...e,iconKey:"directions_railway_filled"})}function hI(e){return n.jsx(r,{...e,iconKey:"directions_run"})}function gI(e){return n.jsx(r,{...e,iconKey:"directions_subway"})}function II(e){return n.jsx(r,{...e,iconKey:"directions_subway_filled"})}function bI(e){return n.jsx(r,{...e,iconKey:"directions_transit"})}function pI(e){return n.jsx(r,{...e,iconKey:"directions_transit_filled"})}function wI(e){return n.jsx(r,{...e,iconKey:"directions_walk"})}function kI(e){return n.jsx(r,{...e,iconKey:"dirty_lens"})}function mI(e){return n.jsx(r,{...e,iconKey:"disabled_by_default"})}function vI(e){return n.jsx(r,{...e,iconKey:"disabled_visible"})}function KI(e){return n.jsx(r,{...e,iconKey:"disc_full"})}function CI(e){return n.jsx(r,{...e,iconKey:"discount"})}function SI(e){return n.jsx(r,{...e,iconKey:"display_settings"})}function BI(e){return n.jsx(r,{...e,iconKey:"diversity_1"})}function EI(e){return n.jsx(r,{...e,iconKey:"diversity_2"})}function FI(e){return n.jsx(r,{...e,iconKey:"diversity_3"})}function PI(e){return n.jsx(r,{...e,iconKey:"dns"})}function DI(e){return n.jsx(r,{...e,iconKey:"do_disturb"})}function NI(e){return n.jsx(r,{...e,iconKey:"do_disturb_alt"})}function TI(e){return n.jsx(r,{...e,iconKey:"do_disturb_off"})}function MI(e){return n.jsx(r,{...e,iconKey:"do_disturb_on"})}function OI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb"})}function LI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_alt"})}function QI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_off"})}function VI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on"})}function WI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on_total_silence"})}function GI(e){return n.jsx(r,{...e,iconKey:"do_not_step"})}function zI(e){return n.jsx(r,{...e,iconKey:"do_not_touch"})}function HI(e){return n.jsx(r,{...e,iconKey:"dock"})}function UI(e){return n.jsx(r,{...e,iconKey:"document_scanner"})}function YI(e){return n.jsx(r,{...e,iconKey:"domain"})}function $I(e){return n.jsx(r,{...e,iconKey:"domain_add"})}function jI(e){return n.jsx(r,{...e,iconKey:"domain_disabled"})}function qI(e){return n.jsx(r,{...e,iconKey:"domain_verification"})}function JI(e){return n.jsx(r,{...e,iconKey:"done"})}function ZI(e){return n.jsx(r,{...e,iconKey:"done_all"})}function XI(e){return n.jsx(r,{...e,iconKey:"done_outline"})}function xI(e){return n.jsx(r,{...e,iconKey:"donut_large"})}function RI(e){return n.jsx(r,{...e,iconKey:"donut_small"})}function eb(e){return n.jsx(r,{...e,iconKey:"door_back"})}function nb(e){return n.jsx(r,{...e,iconKey:"door_front"})}function ob(e){return n.jsx(r,{...e,iconKey:"door_sliding"})}function rb(e){return n.jsx(r,{...e,iconKey:"doorbell"})}function tb(e){return n.jsx(r,{...e,iconKey:"double_arrow"})}function cb(e){return n.jsx(r,{...e,iconKey:"downhill_skiing"})}function ib(e){return n.jsx(r,{...e,iconKey:"download"})}function ab(e){return n.jsx(r,{...e,iconKey:"download_done"})}function lb(e){return n.jsx(r,{...e,iconKey:"download_for_offline"})}function sb(e){return n.jsx(r,{...e,iconKey:"downloading"})}function db(e){return n.jsx(r,{...e,iconKey:"drafts"})}function ub(e){return n.jsx(r,{...e,iconKey:"drag_handle"})}function fb(e){return n.jsx(r,{...e,iconKey:"drag_indicator"})}function Ab(e){return n.jsx(r,{...e,iconKey:"draw"})}function yb(e){return n.jsx(r,{...e,iconKey:"drive_eta"})}function _b(e){return n.jsx(r,{...e,iconKey:"drive_file_move"})}function hb(e){return n.jsx(r,{...e,iconKey:"drive_file_move_rtl"})}function gb(e){return n.jsx(r,{...e,iconKey:"drive_file_rename_outline"})}function Ic(e){return n.jsx(r,{...e,iconKey:"drive_folder_upload"})}function Ib(e){return n.jsx(r,{...e,iconKey:"dry"})}function bb(e){return n.jsx(r,{...e,iconKey:"dry_cleaning"})}function pb(e){return n.jsx(r,{...e,iconKey:"duo"})}function wb(e){return n.jsx(r,{...e,iconKey:"dvr"})}function kb(e){return n.jsx(r,{...e,iconKey:"dynamic_feed"})}function mb(e){return n.jsx(r,{...e,iconKey:"dynamic_form"})}function vb(e){return n.jsx(r,{...e,iconKey:"e_mobiledata"})}function Kb(e){return n.jsx(r,{...e,iconKey:"earbuds"})}function Cb(e){return n.jsx(r,{...e,iconKey:"earbuds_battery"})}function Sb(e){return n.jsx(r,{...e,iconKey:"east"})}function Bb(e){return n.jsx(r,{...e,iconKey:"edgesensor_high"})}function Eb(e){return n.jsx(r,{...e,iconKey:"edgesensor_low"})}function bc(e){return n.jsx(r,{...e,iconKey:"edit"})}function Fb(e){return n.jsx(r,{...e,iconKey:"edit_attributes"})}function Pb(e){return n.jsx(r,{...e,iconKey:"edit_calendar"})}function Db(e){return n.jsx(r,{...e,iconKey:"edit_location"})}function Nb(e){return n.jsx(r,{...e,iconKey:"edit_location_alt"})}function Tb(e){return n.jsx(r,{...e,iconKey:"edit_note"})}function Mb(e){return n.jsx(r,{...e,iconKey:"edit_notifications"})}function Ob(e){return n.jsx(r,{...e,iconKey:"edit_off"})}function Lb(e){return n.jsx(r,{...e,iconKey:"edit_road"})}function Qb(e){return n.jsx(r,{...e,iconKey:"egg"})}function Vb(e){return n.jsx(r,{...e,iconKey:"egg_alt"})}function Wb(e){return n.jsx(r,{...e,iconKey:"eject"})}function Gb(e){return n.jsx(r,{...e,iconKey:"elderly"})}function zb(e){return n.jsx(r,{...e,iconKey:"elderly_woman"})}function Hb(e){return n.jsx(r,{...e,iconKey:"electric_bike"})}function Ub(e){return n.jsx(r,{...e,iconKey:"electric_bolt"})}function Yb(e){return n.jsx(r,{...e,iconKey:"electric_car"})}function $b(e){return n.jsx(r,{...e,iconKey:"electric_meter"})}function jb(e){return n.jsx(r,{...e,iconKey:"electric_moped"})}function qb(e){return n.jsx(r,{...e,iconKey:"electric_rickshaw"})}function Jb(e){return n.jsx(r,{...e,iconKey:"electric_scooter"})}function Zb(e){return n.jsx(r,{...e,iconKey:"electrical_services"})}function Xb(e){return n.jsx(r,{...e,iconKey:"elevator"})}function pc(e){return n.jsx(r,{...e,iconKey:"email"})}function xb(e){return n.jsx(r,{...e,iconKey:"emergency"})}function Rb(e){return n.jsx(r,{...e,iconKey:"emergency_recording"})}function ep(e){return n.jsx(r,{...e,iconKey:"emergency_share"})}function np(e){return n.jsx(r,{...e,iconKey:"emoji_emotions"})}function op(e){return n.jsx(r,{...e,iconKey:"emoji_events"})}function rp(e){return n.jsx(r,{...e,iconKey:"emoji_food_beverage"})}function tp(e){return n.jsx(r,{...e,iconKey:"emoji_nature"})}function cp(e){return n.jsx(r,{...e,iconKey:"emoji_objects"})}function ip(e){return n.jsx(r,{...e,iconKey:"emoji_people"})}function ap(e){return n.jsx(r,{...e,iconKey:"emoji_symbols"})}function lp(e){return n.jsx(r,{...e,iconKey:"emoji_transportation"})}function sp(e){return n.jsx(r,{...e,iconKey:"energy_savings_leaf"})}function dp(e){return n.jsx(r,{...e,iconKey:"engineering"})}function up(e){return n.jsx(r,{...e,iconKey:"enhanced_encryption"})}function fp(e){return n.jsx(r,{...e,iconKey:"equalizer"})}function Kr(e){return n.jsx(r,{...e,iconKey:"error"})}function wc(e){return n.jsx(r,{...e,iconKey:"error_outline"})}function Ap(e){return n.jsx(r,{...e,iconKey:"escalator"})}function yp(e){return n.jsx(r,{...e,iconKey:"escalator_warning"})}function _p(e){return n.jsx(r,{...e,iconKey:"euro"})}function hp(e){return n.jsx(r,{...e,iconKey:"euro_symbol"})}function gp(e){return n.jsx(r,{...e,iconKey:"ev_station"})}function Ip(e){return n.jsx(r,{...e,iconKey:"event"})}function bp(e){return n.jsx(r,{...e,iconKey:"event_available"})}function pp(e){return n.jsx(r,{...e,iconKey:"event_busy"})}function wp(e){return n.jsx(r,{...e,iconKey:"event_note"})}function kp(e){return n.jsx(r,{...e,iconKey:"event_repeat"})}function mp(e){return n.jsx(r,{...e,iconKey:"event_seat"})}function vp(e){return n.jsx(r,{...e,iconKey:"exit_to_app"})}function Kp(e){return n.jsx(r,{...e,iconKey:"expand"})}function Cp(e){return n.jsx(r,{...e,iconKey:"expand_circle_down"})}function Sp(e){return n.jsx(r,{...e,iconKey:"expand_less"})}function Mo(e){return n.jsx(r,{...e,iconKey:"expand_more"})}function Bp(e){return n.jsx(r,{...e,iconKey:"explicit"})}function Ep(e){return n.jsx(r,{...e,iconKey:"explore"})}function Fp(e){return n.jsx(r,{...e,iconKey:"explore_off"})}function Pp(e){return n.jsx(r,{...e,iconKey:"exposure"})}function Dp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_1"})}function Np(e){return n.jsx(r,{...e,iconKey:"exposure_neg_2"})}function Tp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_1"})}function Mp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_2"})}function Op(e){return n.jsx(r,{...e,iconKey:"exposure_zero"})}function Lp(e){return n.jsx(r,{...e,iconKey:"extension"})}function Qp(e){return n.jsx(r,{...e,iconKey:"extension_off"})}function Vp(e){return n.jsx(r,{...e,iconKey:"face"})}function Wp(e){return n.jsx(r,{...e,iconKey:"face_2"})}function Gp(e){return n.jsx(r,{...e,iconKey:"face_3"})}function zp(e){return n.jsx(r,{...e,iconKey:"face_4"})}function Hp(e){return n.jsx(r,{...e,iconKey:"face_5"})}function Up(e){return n.jsx(r,{...e,iconKey:"face_6"})}function Yp(e){return n.jsx(r,{...e,iconKey:"face_retouching_natural"})}function $p(e){return n.jsx(r,{...e,iconKey:"face_retouching_off"})}function jp(e){return n.jsx(r,{...e,iconKey:"fact_check"})}function qp(e){return n.jsx(r,{...e,iconKey:"factory"})}function Jp(e){return n.jsx(r,{...e,iconKey:"family_restroom"})}function Zp(e){return n.jsx(r,{...e,iconKey:"fast_forward"})}function Xp(e){return n.jsx(r,{...e,iconKey:"fast_rewind"})}function xp(e){return n.jsx(r,{...e,iconKey:"fastfood"})}function Rp(e){return n.jsx(r,{...e,iconKey:"favorite"})}function ew(e){return n.jsx(r,{...e,iconKey:"favorite_border"})}function nw(e){return n.jsx(r,{...e,iconKey:"fax"})}function ow(e){return n.jsx(r,{...e,iconKey:"featured_play_list"})}function rw(e){return n.jsx(r,{...e,iconKey:"featured_video"})}function tw(e){return n.jsx(r,{...e,iconKey:"feed"})}function cw(e){return n.jsx(r,{...e,iconKey:"feedback"})}function iw(e){return n.jsx(r,{...e,iconKey:"female"})}function aw(e){return n.jsx(r,{...e,iconKey:"fence"})}function lw(e){return n.jsx(r,{...e,iconKey:"festival"})}function sw(e){return n.jsx(r,{...e,iconKey:"fiber_dvr"})}function dw(e){return n.jsx(r,{...e,iconKey:"fiber_manual_record"})}function uw(e){return n.jsx(r,{...e,iconKey:"fiber_new"})}function fw(e){return n.jsx(r,{...e,iconKey:"fiber_pin"})}function Aw(e){return n.jsx(r,{...e,iconKey:"fiber_smart_record"})}function kc(e){return n.jsx(r,{...e,iconKey:"file_copy"})}function yw(e){return n.jsx(r,{...e,iconKey:"file_download"})}function _w(e){return n.jsx(r,{...e,iconKey:"file_download_done"})}function hw(e){return n.jsx(r,{...e,iconKey:"file_download_off"})}function gw(e){return n.jsx(r,{...e,iconKey:"file_open"})}function Iw(e){return n.jsx(r,{...e,iconKey:"file_present"})}function bw(e){return n.jsx(r,{...e,iconKey:"file_upload"})}function pw(e){return n.jsx(r,{...e,iconKey:"filter"})}function ww(e){return n.jsx(r,{...e,iconKey:"filter_1"})}function kw(e){return n.jsx(r,{...e,iconKey:"filter_2"})}function mw(e){return n.jsx(r,{...e,iconKey:"filter_3"})}function vw(e){return n.jsx(r,{...e,iconKey:"filter_4"})}function Kw(e){return n.jsx(r,{...e,iconKey:"filter_5"})}function Cw(e){return n.jsx(r,{...e,iconKey:"filter_6"})}function Sw(e){return n.jsx(r,{...e,iconKey:"filter_7"})}function Bw(e){return n.jsx(r,{...e,iconKey:"filter_8"})}function Ew(e){return n.jsx(r,{...e,iconKey:"filter_9"})}function Fw(e){return n.jsx(r,{...e,iconKey:"filter_9_plus"})}function Pw(e){return n.jsx(r,{...e,iconKey:"filter_alt"})}function Dw(e){return n.jsx(r,{...e,iconKey:"filter_alt_off"})}function Nw(e){return n.jsx(r,{...e,iconKey:"filter_b_and_w"})}function Tw(e){return n.jsx(r,{...e,iconKey:"filter_center_focus"})}function Mw(e){return n.jsx(r,{...e,iconKey:"filter_drama"})}function Ow(e){return n.jsx(r,{...e,iconKey:"filter_frames"})}function Lw(e){return n.jsx(r,{...e,iconKey:"filter_hdr"})}function mc(e){return n.jsx(r,{...e,iconKey:"filter_list"})}function vc(e){return n.jsx(r,{...e,iconKey:"filter_list_off"})}function Qw(e){return n.jsx(r,{...e,iconKey:"filter_none"})}function Vw(e){return n.jsx(r,{...e,iconKey:"filter_tilt_shift"})}function Ww(e){return n.jsx(r,{...e,iconKey:"filter_vintage"})}function Gw(e){return n.jsx(r,{...e,iconKey:"find_in_page"})}function zw(e){return n.jsx(r,{...e,iconKey:"find_replace"})}function Hw(e){return n.jsx(r,{...e,iconKey:"fingerprint"})}function Uw(e){return n.jsx(r,{...e,iconKey:"fire_extinguisher"})}function Yw(e){return n.jsx(r,{...e,iconKey:"fire_hydrant_alt"})}function $w(e){return n.jsx(r,{...e,iconKey:"fire_truck"})}function jw(e){return n.jsx(r,{...e,iconKey:"fireplace"})}function qw(e){return n.jsx(r,{...e,iconKey:"first_page"})}function Jw(e){return n.jsx(r,{...e,iconKey:"fit_screen"})}function Zw(e){return n.jsx(r,{...e,iconKey:"fitbit"})}function Xw(e){return n.jsx(r,{...e,iconKey:"fitness_center"})}function Kc(e){return n.jsx(r,{...e,iconKey:"flag"})}function xw(e){return n.jsx(r,{...e,iconKey:"flag_circle"})}function Rw(e){return n.jsx(r,{...e,iconKey:"flaky"})}function ek(e){return n.jsx(r,{...e,iconKey:"flare"})}function nk(e){return n.jsx(r,{...e,iconKey:"flash_auto"})}function ok(e){return n.jsx(r,{...e,iconKey:"flash_off"})}function rk(e){return n.jsx(r,{...e,iconKey:"flash_on"})}function tk(e){return n.jsx(r,{...e,iconKey:"flashlight_off"})}function ck(e){return n.jsx(r,{...e,iconKey:"flashlight_on"})}function ik(e){return n.jsx(r,{...e,iconKey:"flatware"})}function ak(e){return n.jsx(r,{...e,iconKey:"flight"})}function lk(e){return n.jsx(r,{...e,iconKey:"flight_class"})}function sk(e){return n.jsx(r,{...e,iconKey:"flight_land"})}function dk(e){return n.jsx(r,{...e,iconKey:"flight_takeoff"})}function uk(e){return n.jsx(r,{...e,iconKey:"flip"})}function fk(e){return n.jsx(r,{...e,iconKey:"flip_camera_android"})}function Ak(e){return n.jsx(r,{...e,iconKey:"flip_camera_ios"})}function yk(e){return n.jsx(r,{...e,iconKey:"flip_to_back"})}function _k(e){return n.jsx(r,{...e,iconKey:"flip_to_front"})}function hk(e){return n.jsx(r,{...e,iconKey:"flood"})}function gk(e){return n.jsx(r,{...e,iconKey:"fluorescent"})}function Ik(e){return n.jsx(r,{...e,iconKey:"flutter_dash"})}function bk(e){return n.jsx(r,{...e,iconKey:"fmd_bad"})}function pk(e){return n.jsx(r,{...e,iconKey:"fmd_good"})}function wk(e){return n.jsx(r,{...e,iconKey:"folder"})}function kk(e){return n.jsx(r,{...e,iconKey:"folder_copy"})}function mk(e){return n.jsx(r,{...e,iconKey:"folder_delete"})}function vk(e){return n.jsx(r,{...e,iconKey:"folder_off"})}function Kk(e){return n.jsx(r,{...e,iconKey:"folder_open"})}function Ck(e){return n.jsx(r,{...e,iconKey:"folder_shared"})}function Sk(e){return n.jsx(r,{...e,iconKey:"folder_special"})}function Bk(e){return n.jsx(r,{...e,iconKey:"folder_zip"})}function Ek(e){return n.jsx(r,{...e,iconKey:"follow_the_signs"})}function Fk(e){return n.jsx(r,{...e,iconKey:"font_download"})}function Pk(e){return n.jsx(r,{...e,iconKey:"font_download_off"})}function Dk(e){return n.jsx(r,{...e,iconKey:"food_bank"})}function Nk(e){return n.jsx(r,{...e,iconKey:"forest"})}function Tk(e){return n.jsx(r,{...e,iconKey:"fork_left"})}function Mk(e){return n.jsx(r,{...e,iconKey:"fork_right"})}function Ok(e){return n.jsx(r,{...e,iconKey:"format_align_center"})}function Lk(e){return n.jsx(r,{...e,iconKey:"format_align_justify"})}function Qk(e){return n.jsx(r,{...e,iconKey:"format_align_left"})}function Vk(e){return n.jsx(r,{...e,iconKey:"format_align_right"})}function Wk(e){return n.jsx(r,{...e,iconKey:"format_bold"})}function Gk(e){return n.jsx(r,{...e,iconKey:"format_clear"})}function zk(e){return n.jsx(r,{...e,iconKey:"format_color_fill"})}function Hk(e){return n.jsx(r,{...e,iconKey:"format_color_reset"})}function Uk(e){return n.jsx(r,{...e,iconKey:"format_color_text"})}function Yk(e){return n.jsx(r,{...e,iconKey:"format_indent_decrease"})}function $k(e){return n.jsx(r,{...e,iconKey:"format_indent_increase"})}function jk(e){return n.jsx(r,{...e,iconKey:"format_italic"})}function qk(e){return n.jsx(r,{...e,iconKey:"format_line_spacing"})}function Jk(e){return n.jsx(r,{...e,iconKey:"format_list_bulleted"})}function Cr(e){return n.jsx(r,{...e,iconKey:"format_list_numbered"})}function Zk(e){return n.jsx(r,{...e,iconKey:"format_list_numbered_rtl"})}function Xk(e){return n.jsx(r,{...e,iconKey:"format_overline"})}function xk(e){return n.jsx(r,{...e,iconKey:"format_paint"})}function Cc(e){return n.jsx(r,{...e,iconKey:"format_quote"})}function Rk(e){return n.jsx(r,{...e,iconKey:"format_shapes"})}function em(e){return n.jsx(r,{...e,iconKey:"format_size"})}function nm(e){return n.jsx(r,{...e,iconKey:"format_strikethrough"})}function om(e){return n.jsx(r,{...e,iconKey:"format_textdirection_l_to_r"})}function rm(e){return n.jsx(r,{...e,iconKey:"format_textdirection_r_to_l"})}function tm(e){return n.jsx(r,{...e,iconKey:"format_underlined"})}function cm(e){return n.jsx(r,{...e,iconKey:"fort"})}function im(e){return n.jsx(r,{...e,iconKey:"forum"})}function am(e){return n.jsx(r,{...e,iconKey:"forward"})}function lm(e){return n.jsx(r,{...e,iconKey:"forward_10"})}function sm(e){return n.jsx(r,{...e,iconKey:"forward_30"})}function dm(e){return n.jsx(r,{...e,iconKey:"forward_5"})}function um(e){return n.jsx(r,{...e,iconKey:"forward_to_inbox"})}function fm(e){return n.jsx(r,{...e,iconKey:"foundation"})}function Am(e){return n.jsx(r,{...e,iconKey:"free_breakfast"})}function ym(e){return n.jsx(r,{...e,iconKey:"free_cancellation"})}function _m(e){return n.jsx(r,{...e,iconKey:"front_hand"})}function hm(e){return n.jsx(r,{...e,iconKey:"fullscreen"})}function gm(e){return n.jsx(r,{...e,iconKey:"fullscreen_exit"})}function Sc(e){return n.jsx(r,{...e,iconKey:"functions"})}function Im(e){return n.jsx(r,{...e,iconKey:"g_mobiledata"})}function bm(e){return n.jsx(r,{...e,iconKey:"g_translate"})}function pm(e){return n.jsx(r,{...e,iconKey:"gamepad"})}function wm(e){return n.jsx(r,{...e,iconKey:"games"})}function km(e){return n.jsx(r,{...e,iconKey:"garage"})}function mm(e){return n.jsx(r,{...e,iconKey:"gas_meter"})}function vm(e){return n.jsx(r,{...e,iconKey:"gavel"})}function Km(e){return n.jsx(r,{...e,iconKey:"generating_tokens"})}function Cm(e){return n.jsx(r,{...e,iconKey:"gesture"})}function Sm(e){return n.jsx(r,{...e,iconKey:"get_app"})}function Bm(e){return n.jsx(r,{...e,iconKey:"gif"})}function Em(e){return n.jsx(r,{...e,iconKey:"gif_box"})}function Fm(e){return n.jsx(r,{...e,iconKey:"girl"})}function Pm(e){return n.jsx(r,{...e,iconKey:"gite"})}function Dm(e){return n.jsx(r,{...e,iconKey:"golf_course"})}function Nm(e){return n.jsx(r,{...e,iconKey:"gpp_bad"})}function Tm(e){return n.jsx(r,{...e,iconKey:"gpp_good"})}function Mm(e){return n.jsx(r,{...e,iconKey:"gpp_maybe"})}function Om(e){return n.jsx(r,{...e,iconKey:"gps_fixed"})}function Lm(e){return n.jsx(r,{...e,iconKey:"gps_not_fixed"})}function Qm(e){return n.jsx(r,{...e,iconKey:"gps_off"})}function Vm(e){return n.jsx(r,{...e,iconKey:"grade"})}function Wm(e){return n.jsx(r,{...e,iconKey:"gradient"})}function Gm(e){return n.jsx(r,{...e,iconKey:"grading"})}function zm(e){return n.jsx(r,{...e,iconKey:"grain"})}function Hm(e){return n.jsx(r,{...e,iconKey:"graphic_eq"})}function Um(e){return n.jsx(r,{...e,iconKey:"grass"})}function Ym(e){return n.jsx(r,{...e,iconKey:"grid_3x3"})}function $m(e){return n.jsx(r,{...e,iconKey:"grid_4x4"})}function jm(e){return n.jsx(r,{...e,iconKey:"grid_goldenratio"})}function qm(e){return n.jsx(r,{...e,iconKey:"grid_off"})}function Jm(e){return n.jsx(r,{...e,iconKey:"grid_on"})}function Zm(e){return n.jsx(r,{...e,iconKey:"grid_view"})}function Xm(e){return n.jsx(r,{...e,iconKey:"group"})}function xm(e){return n.jsx(r,{...e,iconKey:"group_add"})}function Rm(e){return n.jsx(r,{...e,iconKey:"group_off"})}function ev(e){return n.jsx(r,{...e,iconKey:"group_remove"})}function nv(e){return n.jsx(r,{...e,iconKey:"group_work"})}function ov(e){return n.jsx(r,{...e,iconKey:"groups"})}function rv(e){return n.jsx(r,{...e,iconKey:"groups_2"})}function tv(e){return n.jsx(r,{...e,iconKey:"groups_3"})}function cv(e){return n.jsx(r,{...e,iconKey:"h_mobiledata"})}function iv(e){return n.jsx(r,{...e,iconKey:"h_plus_mobiledata"})}function av(e){return n.jsx(r,{...e,iconKey:"hail"})}function lv(e){return n.jsx(r,{...e,iconKey:"handshake"})}function sv(e){return n.jsx(r,{...e,iconKey:"handyman"})}function dv(e){return n.jsx(r,{...e,iconKey:"hardware"})}function uv(e){return n.jsx(r,{...e,iconKey:"hd"})}function fv(e){return n.jsx(r,{...e,iconKey:"hdr_auto"})}function Av(e){return n.jsx(r,{...e,iconKey:"hdr_auto_select"})}function yv(e){return n.jsx(r,{...e,iconKey:"hdr_enhanced_select"})}function _v(e){return n.jsx(r,{...e,iconKey:"hdr_off"})}function hv(e){return n.jsx(r,{...e,iconKey:"hdr_off_select"})}function gv(e){return n.jsx(r,{...e,iconKey:"hdr_on"})}function Iv(e){return n.jsx(r,{...e,iconKey:"hdr_on_select"})}function bv(e){return n.jsx(r,{...e,iconKey:"hdr_plus"})}function pv(e){return n.jsx(r,{...e,iconKey:"hdr_strong"})}function wv(e){return n.jsx(r,{...e,iconKey:"hdr_weak"})}function kv(e){return n.jsx(r,{...e,iconKey:"headphones"})}function mv(e){return n.jsx(r,{...e,iconKey:"headphones_battery"})}function vv(e){return n.jsx(r,{...e,iconKey:"headset"})}function Kv(e){return n.jsx(r,{...e,iconKey:"headset_mic"})}function Cv(e){return n.jsx(r,{...e,iconKey:"headset_off"})}function Sv(e){return n.jsx(r,{...e,iconKey:"healing"})}function Bv(e){return n.jsx(r,{...e,iconKey:"health_and_safety"})}function Ev(e){return n.jsx(r,{...e,iconKey:"hearing"})}function Fv(e){return n.jsx(r,{...e,iconKey:"hearing_disabled"})}function Pv(e){return n.jsx(r,{...e,iconKey:"heart_broken"})}function Dv(e){return n.jsx(r,{...e,iconKey:"heat_pump"})}function Nv(e){return n.jsx(r,{...e,iconKey:"height"})}function Tv(e){return n.jsx(r,{...e,iconKey:"help"})}function Mv(e){return n.jsx(r,{...e,iconKey:"help_center"})}function Ov(e){return n.jsx(r,{...e,iconKey:"help_outline"})}function Lv(e){return n.jsx(r,{...e,iconKey:"hevc"})}function Qv(e){return n.jsx(r,{...e,iconKey:"hexagon"})}function Vv(e){return n.jsx(r,{...e,iconKey:"hide_image"})}function Wv(e){return n.jsx(r,{...e,iconKey:"hide_source"})}function Gv(e){return n.jsx(r,{...e,iconKey:"high_quality"})}function zv(e){return n.jsx(r,{...e,iconKey:"highlight"})}function Hv(e){return n.jsx(r,{...e,iconKey:"highlight_alt"})}function Uv(e){return n.jsx(r,{...e,iconKey:"highlight_off"})}function Yv(e){return n.jsx(r,{...e,iconKey:"hiking"})}function $v(e){return n.jsx(r,{...e,iconKey:"history"})}function jv(e){return n.jsx(r,{...e,iconKey:"history_edu"})}function qv(e){return n.jsx(r,{...e,iconKey:"history_toggle_off"})}function Jv(e){return n.jsx(r,{...e,iconKey:"hive"})}function Zv(e){return n.jsx(r,{...e,iconKey:"hls"})}function Xv(e){return n.jsx(r,{...e,iconKey:"hls_off"})}function xv(e){return n.jsx(r,{...e,iconKey:"holiday_village"})}function Rv(e){return n.jsx(r,{...e,iconKey:"home"})}function e0(e){return n.jsx(r,{...e,iconKey:"home_max"})}function n0(e){return n.jsx(r,{...e,iconKey:"home_mini"})}function o0(e){return n.jsx(r,{...e,iconKey:"home_repair_service"})}function r0(e){return n.jsx(r,{...e,iconKey:"home_work"})}function t0(e){return n.jsx(r,{...e,iconKey:"horizontal_distribute"})}function c0(e){return n.jsx(r,{...e,iconKey:"horizontal_rule"})}function i0(e){return n.jsx(r,{...e,iconKey:"horizontal_split"})}function a0(e){return n.jsx(r,{...e,iconKey:"hot_tub"})}function l0(e){return n.jsx(r,{...e,iconKey:"hotel"})}function s0(e){return n.jsx(r,{...e,iconKey:"hotel_class"})}function d0(e){return n.jsx(r,{...e,iconKey:"hourglass_bottom"})}function u0(e){return n.jsx(r,{...e,iconKey:"hourglass_disabled"})}function f0(e){return n.jsx(r,{...e,iconKey:"hourglass_empty"})}function A0(e){return n.jsx(r,{...e,iconKey:"hourglass_full"})}function y0(e){return n.jsx(r,{...e,iconKey:"hourglass_top"})}function _0(e){return n.jsx(r,{...e,iconKey:"house"})}function h0(e){return n.jsx(r,{...e,iconKey:"house_siding"})}function g0(e){return n.jsx(r,{...e,iconKey:"houseboat"})}function I0(e){return n.jsx(r,{...e,iconKey:"how_to_reg"})}function b0(e){return n.jsx(r,{...e,iconKey:"how_to_vote"})}function p0(e){return n.jsx(r,{...e,iconKey:"html"})}function Bc(e){return n.jsx(r,{...e,iconKey:"http"})}function w0(e){return n.jsx(r,{...e,iconKey:"https"})}function k0(e){return n.jsx(r,{...e,iconKey:"hub"})}function m0(e){return n.jsx(r,{...e,iconKey:"hvac"})}function v0(e){return n.jsx(r,{...e,iconKey:"ice_skating"})}function K0(e){return n.jsx(r,{...e,iconKey:"icecream"})}function C0(e){return n.jsx(r,{...e,iconKey:"image"})}function S0(e){return n.jsx(r,{...e,iconKey:"image_aspect_ratio"})}function B0(e){return n.jsx(r,{...e,iconKey:"image_not_supported"})}function E0(e){return n.jsx(r,{...e,iconKey:"image_search"})}function F0(e){return n.jsx(r,{...e,iconKey:"imagesearch_roller"})}function P0(e){return n.jsx(r,{...e,iconKey:"import_contacts"})}function D0(e){return n.jsx(r,{...e,iconKey:"import_export"})}function N0(e){return n.jsx(r,{...e,iconKey:"important_devices"})}function T0(e){return n.jsx(r,{...e,iconKey:"inbox"})}function M0(e){return n.jsx(r,{...e,iconKey:"incomplete_circle"})}function O0(e){return n.jsx(r,{...e,iconKey:"indeterminate_check_box"})}function Ec(e){return n.jsx(r,{...e,iconKey:"info"})}function L0(e){return n.jsx(r,{...e,iconKey:"input"})}function Q0(e){return n.jsx(r,{...e,iconKey:"insert_chart"})}function V0(e){return n.jsx(r,{...e,iconKey:"insert_chart_outlined"})}function W0(e){return n.jsx(r,{...e,iconKey:"insert_comment"})}function G0(e){return n.jsx(r,{...e,iconKey:"insert_drive_file"})}function z0(e){return n.jsx(r,{...e,iconKey:"insert_emoticon"})}function H0(e){return n.jsx(r,{...e,iconKey:"insert_invitation"})}function U0(e){return n.jsx(r,{...e,iconKey:"insert_link"})}function Y0(e){return n.jsx(r,{...e,iconKey:"insert_page_break"})}function $0(e){return n.jsx(r,{...e,iconKey:"insert_photo"})}function j0(e){return n.jsx(r,{...e,iconKey:"insights"})}function q0(e){return n.jsx(r,{...e,iconKey:"install_desktop"})}function J0(e){return n.jsx(r,{...e,iconKey:"install_mobile"})}function Z0(e){return n.jsx(r,{...e,iconKey:"integration_instructions"})}function X0(e){return n.jsx(r,{...e,iconKey:"interests"})}function x0(e){return n.jsx(r,{...e,iconKey:"interpreter_mode"})}function R0(e){return n.jsx(r,{...e,iconKey:"inventory"})}function eK(e){return n.jsx(r,{...e,iconKey:"inventory_2"})}function nK(e){return n.jsx(r,{...e,iconKey:"invert_colors"})}function oK(e){return n.jsx(r,{...e,iconKey:"invert_colors_off"})}function rK(e){return n.jsx(r,{...e,iconKey:"ios_share"})}function tK(e){return n.jsx(r,{...e,iconKey:"iron"})}function cK(e){return n.jsx(r,{...e,iconKey:"iso"})}function iK(e){return n.jsx(r,{...e,iconKey:"javascript"})}function aK(e){return n.jsx(r,{...e,iconKey:"join_full"})}function lK(e){return n.jsx(r,{...e,iconKey:"join_inner"})}function sK(e){return n.jsx(r,{...e,iconKey:"join_left"})}function dK(e){return n.jsx(r,{...e,iconKey:"join_right"})}function uK(e){return n.jsx(r,{...e,iconKey:"kayaking"})}function fK(e){return n.jsx(r,{...e,iconKey:"kebab_dining"})}function AK(e){return n.jsx(r,{...e,iconKey:"key"})}function yK(e){return n.jsx(r,{...e,iconKey:"key_off"})}function _K(e){return n.jsx(r,{...e,iconKey:"keyboard"})}function hK(e){return n.jsx(r,{...e,iconKey:"keyboard_alt"})}function gK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_down"})}function IK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_left"})}function bK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_right"})}function pK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_up"})}function wK(e){return n.jsx(r,{...e,iconKey:"keyboard_backspace"})}function kK(e){return n.jsx(r,{...e,iconKey:"keyboard_capslock"})}function mK(e){return n.jsx(r,{...e,iconKey:"keyboard_command_key"})}function vK(e){return n.jsx(r,{...e,iconKey:"keyboard_control_key"})}function KK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_down"})}function CK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_left"})}function SK(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 EK(e){return n.jsx(r,{...e,iconKey:"keyboard_hide"})}function FK(e){return n.jsx(r,{...e,iconKey:"keyboard_option_key"})}function PK(e){return n.jsx(r,{...e,iconKey:"keyboard_return"})}function Oo(e){return n.jsx(r,{...e,iconKey:"keyboard_tab"})}function DK(e){return n.jsx(r,{...e,iconKey:"keyboard_voice"})}function NK(e){return n.jsx(r,{...e,iconKey:"king_bed"})}function TK(e){return n.jsx(r,{...e,iconKey:"kitchen"})}function MK(e){return n.jsx(r,{...e,iconKey:"kitesurfing"})}function OK(e){return n.jsx(r,{...e,iconKey:"label"})}function LK(e){return n.jsx(r,{...e,iconKey:"label_important"})}function QK(e){return n.jsx(r,{...e,iconKey:"label_off"})}function VK(e){return n.jsx(r,{...e,iconKey:"lan"})}function WK(e){return n.jsx(r,{...e,iconKey:"landscape"})}function GK(e){return n.jsx(r,{...e,iconKey:"landslide"})}function zK(e){return n.jsx(r,{...e,iconKey:"language"})}function HK(e){return n.jsx(r,{...e,iconKey:"laptop"})}function UK(e){return n.jsx(r,{...e,iconKey:"laptop_chromebook"})}function YK(e){return n.jsx(r,{...e,iconKey:"laptop_mac"})}function $K(e){return n.jsx(r,{...e,iconKey:"laptop_windows"})}function jK(e){return n.jsx(r,{...e,iconKey:"last_page"})}function qK(e){return n.jsx(r,{...e,iconKey:"launch"})}function JK(e){return n.jsx(r,{...e,iconKey:"layers"})}function ZK(e){return n.jsx(r,{...e,iconKey:"layers_clear"})}function XK(e){return n.jsx(r,{...e,iconKey:"leaderboard"})}function xK(e){return n.jsx(r,{...e,iconKey:"leak_add"})}function RK(e){return n.jsx(r,{...e,iconKey:"leak_remove"})}function eC(e){return n.jsx(r,{...e,iconKey:"legend_toggle"})}function nC(e){return n.jsx(r,{...e,iconKey:"lens"})}function oC(e){return n.jsx(r,{...e,iconKey:"lens_blur"})}function rC(e){return n.jsx(r,{...e,iconKey:"library_add"})}function tC(e){return n.jsx(r,{...e,iconKey:"library_add_check"})}function cC(e){return n.jsx(r,{...e,iconKey:"library_books"})}function iC(e){return n.jsx(r,{...e,iconKey:"library_music"})}function aC(e){return n.jsx(r,{...e,iconKey:"light"})}function Fc(e){return n.jsx(r,{...e,iconKey:"light_mode"})}function lC(e){return n.jsx(r,{...e,iconKey:"lightbulb"})}function sC(e){return n.jsx(r,{...e,iconKey:"lightbulb_circle"})}function dC(e){return n.jsx(r,{...e,iconKey:"line_axis"})}function uC(e){return n.jsx(r,{...e,iconKey:"line_style"})}function fC(e){return n.jsx(r,{...e,iconKey:"line_weight"})}function AC(e){return n.jsx(r,{...e,iconKey:"linear_scale"})}function Pc(e){return n.jsx(r,{...e,iconKey:"link"})}function yC(e){return n.jsx(r,{...e,iconKey:"link_off"})}function _C(e){return n.jsx(r,{...e,iconKey:"linked_camera"})}function hC(e){return n.jsx(r,{...e,iconKey:"liquor"})}function Dc(e){return n.jsx(r,{...e,iconKey:"list"})}function Nc(e){return n.jsx(r,{...e,iconKey:"list_alt"})}function gC(e){return n.jsx(r,{...e,iconKey:"live_help"})}function IC(e){return n.jsx(r,{...e,iconKey:"live_tv"})}function bC(e){return n.jsx(r,{...e,iconKey:"living"})}function pC(e){return n.jsx(r,{...e,iconKey:"local_activity"})}function wC(e){return n.jsx(r,{...e,iconKey:"local_airport"})}function kC(e){return n.jsx(r,{...e,iconKey:"local_atm"})}function mC(e){return n.jsx(r,{...e,iconKey:"local_bar"})}function vC(e){return n.jsx(r,{...e,iconKey:"local_cafe"})}function KC(e){return n.jsx(r,{...e,iconKey:"local_car_wash"})}function CC(e){return n.jsx(r,{...e,iconKey:"local_convenience_store"})}function SC(e){return n.jsx(r,{...e,iconKey:"local_dining"})}function BC(e){return n.jsx(r,{...e,iconKey:"local_drink"})}function EC(e){return n.jsx(r,{...e,iconKey:"local_fire_department"})}function FC(e){return n.jsx(r,{...e,iconKey:"local_florist"})}function PC(e){return n.jsx(r,{...e,iconKey:"local_gas_station"})}function DC(e){return n.jsx(r,{...e,iconKey:"local_grocery_store"})}function NC(e){return n.jsx(r,{...e,iconKey:"local_hospital"})}function TC(e){return n.jsx(r,{...e,iconKey:"local_hotel"})}function MC(e){return n.jsx(r,{...e,iconKey:"local_laundry_service"})}function OC(e){return n.jsx(r,{...e,iconKey:"local_library"})}function LC(e){return n.jsx(r,{...e,iconKey:"local_mall"})}function QC(e){return n.jsx(r,{...e,iconKey:"local_movies"})}function VC(e){return n.jsx(r,{...e,iconKey:"local_offer"})}function WC(e){return n.jsx(r,{...e,iconKey:"local_parking"})}function GC(e){return n.jsx(r,{...e,iconKey:"local_pharmacy"})}function zC(e){return n.jsx(r,{...e,iconKey:"local_phone"})}function HC(e){return n.jsx(r,{...e,iconKey:"local_pizza"})}function UC(e){return n.jsx(r,{...e,iconKey:"local_play"})}function YC(e){return n.jsx(r,{...e,iconKey:"local_police"})}function $C(e){return n.jsx(r,{...e,iconKey:"local_post_office"})}function jC(e){return n.jsx(r,{...e,iconKey:"local_printshop"})}function qC(e){return n.jsx(r,{...e,iconKey:"local_see"})}function JC(e){return n.jsx(r,{...e,iconKey:"local_shipping"})}function ZC(e){return n.jsx(r,{...e,iconKey:"local_taxi"})}function XC(e){return n.jsx(r,{...e,iconKey:"location_city"})}function xC(e){return n.jsx(r,{...e,iconKey:"location_disabled"})}function RC(e){return n.jsx(r,{...e,iconKey:"location_off"})}function eS(e){return n.jsx(r,{...e,iconKey:"location_on"})}function nS(e){return n.jsx(r,{...e,iconKey:"location_searching"})}function oS(e){return n.jsx(r,{...e,iconKey:"lock"})}function rS(e){return n.jsx(r,{...e,iconKey:"lock_clock"})}function tS(e){return n.jsx(r,{...e,iconKey:"lock_open"})}function cS(e){return n.jsx(r,{...e,iconKey:"lock_person"})}function iS(e){return n.jsx(r,{...e,iconKey:"lock_reset"})}function aS(e){return n.jsx(r,{...e,iconKey:"login"})}function lS(e){return n.jsx(r,{...e,iconKey:"logo_dev"})}function Tc(e){return n.jsx(r,{...e,iconKey:"logout"})}function sS(e){return n.jsx(r,{...e,iconKey:"looks"})}function dS(e){return n.jsx(r,{...e,iconKey:"looks_3"})}function uS(e){return n.jsx(r,{...e,iconKey:"looks_4"})}function fS(e){return n.jsx(r,{...e,iconKey:"looks_5"})}function AS(e){return n.jsx(r,{...e,iconKey:"looks_6"})}function yS(e){return n.jsx(r,{...e,iconKey:"looks_one"})}function _S(e){return n.jsx(r,{...e,iconKey:"looks_two"})}function hS(e){return n.jsx(r,{...e,iconKey:"loop"})}function gS(e){return n.jsx(r,{...e,iconKey:"loupe"})}function IS(e){return n.jsx(r,{...e,iconKey:"low_priority"})}function bS(e){return n.jsx(r,{...e,iconKey:"loyalty"})}function pS(e){return n.jsx(r,{...e,iconKey:"lte_mobiledata"})}function wS(e){return n.jsx(r,{...e,iconKey:"lte_plus_mobiledata"})}function kS(e){return n.jsx(r,{...e,iconKey:"luggage"})}function mS(e){return n.jsx(r,{...e,iconKey:"lunch_dining"})}function vS(e){return n.jsx(r,{...e,iconKey:"lyrics"})}function KS(e){return n.jsx(r,{...e,iconKey:"macro_off"})}function CS(e){return n.jsx(r,{...e,iconKey:"mail"})}function SS(e){return n.jsx(r,{...e,iconKey:"mail_lock"})}function BS(e){return n.jsx(r,{...e,iconKey:"mail_outline"})}function ES(e){return n.jsx(r,{...e,iconKey:"male"})}function FS(e){return n.jsx(r,{...e,iconKey:"man"})}function PS(e){return n.jsx(r,{...e,iconKey:"man_2"})}function DS(e){return n.jsx(r,{...e,iconKey:"man_3"})}function NS(e){return n.jsx(r,{...e,iconKey:"man_4"})}function TS(e){return n.jsx(r,{...e,iconKey:"manage_accounts"})}function MS(e){return n.jsx(r,{...e,iconKey:"manage_history"})}function OS(e){return n.jsx(r,{...e,iconKey:"manage_search"})}function LS(e){return n.jsx(r,{...e,iconKey:"map"})}function QS(e){return n.jsx(r,{...e,iconKey:"maps_home_work"})}function VS(e){return n.jsx(r,{...e,iconKey:"maps_ugc"})}function WS(e){return n.jsx(r,{...e,iconKey:"margin"})}function GS(e){return n.jsx(r,{...e,iconKey:"mark_as_unread"})}function zS(e){return n.jsx(r,{...e,iconKey:"mark_chat_read"})}function HS(e){return n.jsx(r,{...e,iconKey:"mark_chat_unread"})}function US(e){return n.jsx(r,{...e,iconKey:"mark_email_read"})}function YS(e){return n.jsx(r,{...e,iconKey:"mark_email_unread"})}function $S(e){return n.jsx(r,{...e,iconKey:"mark_unread_chat_alt"})}function jS(e){return n.jsx(r,{...e,iconKey:"markunread"})}function qS(e){return n.jsx(r,{...e,iconKey:"markunread_mailbox"})}function JS(e){return n.jsx(r,{...e,iconKey:"masks"})}function ZS(e){return n.jsx(r,{...e,iconKey:"maximize"})}function XS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_off"})}function xS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_on"})}function RS(e){return n.jsx(r,{...e,iconKey:"mediation"})}function eB(e){return n.jsx(r,{...e,iconKey:"medical_information"})}function nB(e){return n.jsx(r,{...e,iconKey:"medical_services"})}function oB(e){return n.jsx(r,{...e,iconKey:"medication"})}function rB(e){return n.jsx(r,{...e,iconKey:"medication_liquid"})}function tB(e){return n.jsx(r,{...e,iconKey:"meeting_room"})}function cB(e){return n.jsx(r,{...e,iconKey:"memory"})}function Sr(e){return n.jsx(r,{...e,iconKey:"menu"})}function iB(e){return n.jsx(r,{...e,iconKey:"menu_book"})}function aB(e){return n.jsx(r,{...e,iconKey:"menu_open"})}function lB(e){return n.jsx(r,{...e,iconKey:"merge"})}function sB(e){return n.jsx(r,{...e,iconKey:"merge_type"})}function dB(e){return n.jsx(r,{...e,iconKey:"message"})}function uB(e){return n.jsx(r,{...e,iconKey:"mic"})}function fB(e){return n.jsx(r,{...e,iconKey:"mic_external_off"})}function AB(e){return n.jsx(r,{...e,iconKey:"mic_external_on"})}function yB(e){return n.jsx(r,{...e,iconKey:"mic_none"})}function _B(e){return n.jsx(r,{...e,iconKey:"mic_off"})}function hB(e){return n.jsx(r,{...e,iconKey:"microwave"})}function gB(e){return n.jsx(r,{...e,iconKey:"military_tech"})}function IB(e){return n.jsx(r,{...e,iconKey:"minimize"})}function bB(e){return n.jsx(r,{...e,iconKey:"minor_crash"})}function pB(e){return n.jsx(r,{...e,iconKey:"miscellaneous_services"})}function wB(e){return n.jsx(r,{...e,iconKey:"missed_video_call"})}function kB(e){return n.jsx(r,{...e,iconKey:"mms"})}function mB(e){return n.jsx(r,{...e,iconKey:"mobile_friendly"})}function vB(e){return n.jsx(r,{...e,iconKey:"mobile_off"})}function KB(e){return n.jsx(r,{...e,iconKey:"mobile_screen_share"})}function CB(e){return n.jsx(r,{...e,iconKey:"mobiledata_off"})}function SB(e){return n.jsx(r,{...e,iconKey:"mode"})}function BB(e){return n.jsx(r,{...e,iconKey:"mode_comment"})}function EB(e){return n.jsx(r,{...e,iconKey:"mode_edit"})}function FB(e){return n.jsx(r,{...e,iconKey:"mode_edit_outline"})}function PB(e){return n.jsx(r,{...e,iconKey:"mode_fan_off"})}function DB(e){return n.jsx(r,{...e,iconKey:"mode_night"})}function NB(e){return n.jsx(r,{...e,iconKey:"mode_of_travel"})}function TB(e){return n.jsx(r,{...e,iconKey:"mode_standby"})}function MB(e){return n.jsx(r,{...e,iconKey:"model_training"})}function OB(e){return n.jsx(r,{...e,iconKey:"monetization_on"})}function LB(e){return n.jsx(r,{...e,iconKey:"money"})}function QB(e){return n.jsx(r,{...e,iconKey:"money_off"})}function VB(e){return n.jsx(r,{...e,iconKey:"money_off_csred"})}function WB(e){return n.jsx(r,{...e,iconKey:"monitor"})}function GB(e){return n.jsx(r,{...e,iconKey:"monitor_heart"})}function zB(e){return n.jsx(r,{...e,iconKey:"monitor_weight"})}function HB(e){return n.jsx(r,{...e,iconKey:"monochrome_photos"})}function UB(e){return n.jsx(r,{...e,iconKey:"mood"})}function YB(e){return n.jsx(r,{...e,iconKey:"mood_bad"})}function $B(e){return n.jsx(r,{...e,iconKey:"moped"})}function jB(e){return n.jsx(r,{...e,iconKey:"more"})}function qB(e){return n.jsx(r,{...e,iconKey:"more_horiz"})}function JB(e){return n.jsx(r,{...e,iconKey:"more_time"})}function Br(e){return n.jsx(r,{...e,iconKey:"more_vert"})}function ZB(e){return n.jsx(r,{...e,iconKey:"mosque"})}function XB(e){return n.jsx(r,{...e,iconKey:"motion_photos_auto"})}function xB(e){return n.jsx(r,{...e,iconKey:"motion_photos_off"})}function RB(e){return n.jsx(r,{...e,iconKey:"motion_photos_on"})}function eE(e){return n.jsx(r,{...e,iconKey:"motion_photos_pause"})}function nE(e){return n.jsx(r,{...e,iconKey:"motion_photos_paused"})}function oE(e){return n.jsx(r,{...e,iconKey:"mouse"})}function rE(e){return n.jsx(r,{...e,iconKey:"move_down"})}function tE(e){return n.jsx(r,{...e,iconKey:"move_to_inbox"})}function cE(e){return n.jsx(r,{...e,iconKey:"move_up"})}function iE(e){return n.jsx(r,{...e,iconKey:"movie"})}function aE(e){return n.jsx(r,{...e,iconKey:"movie_creation"})}function lE(e){return n.jsx(r,{...e,iconKey:"movie_filter"})}function sE(e){return n.jsx(r,{...e,iconKey:"moving"})}function dE(e){return n.jsx(r,{...e,iconKey:"mp"})}function uE(e){return n.jsx(r,{...e,iconKey:"multiline_chart"})}function fE(e){return n.jsx(r,{...e,iconKey:"multiple_stop"})}function AE(e){return n.jsx(r,{...e,iconKey:"museum"})}function yE(e){return n.jsx(r,{...e,iconKey:"music_note"})}function _E(e){return n.jsx(r,{...e,iconKey:"music_off"})}function hE(e){return n.jsx(r,{...e,iconKey:"music_video"})}function gE(e){return n.jsx(r,{...e,iconKey:"my_location"})}function IE(e){return n.jsx(r,{...e,iconKey:"nat"})}function bE(e){return n.jsx(r,{...e,iconKey:"nature"})}function pE(e){return n.jsx(r,{...e,iconKey:"nature_people"})}function wE(e){return n.jsx(r,{...e,iconKey:"navigate_before"})}function kE(e){return n.jsx(r,{...e,iconKey:"navigate_next"})}function mE(e){return n.jsx(r,{...e,iconKey:"navigation"})}function vE(e){return n.jsx(r,{...e,iconKey:"near_me"})}function KE(e){return n.jsx(r,{...e,iconKey:"near_me_disabled"})}function CE(e){return n.jsx(r,{...e,iconKey:"nearby_error"})}function SE(e){return n.jsx(r,{...e,iconKey:"nearby_off"})}function BE(e){return n.jsx(r,{...e,iconKey:"nest_cam_wired_stand"})}function EE(e){return n.jsx(r,{...e,iconKey:"network_cell"})}function FE(e){return n.jsx(r,{...e,iconKey:"network_check"})}function PE(e){return n.jsx(r,{...e,iconKey:"network_locked"})}function DE(e){return n.jsx(r,{...e,iconKey:"network_ping"})}function NE(e){return n.jsx(r,{...e,iconKey:"network_wifi"})}function TE(e){return n.jsx(r,{...e,iconKey:"network_wifi_1_bar"})}function ME(e){return n.jsx(r,{...e,iconKey:"network_wifi_2_bar"})}function OE(e){return n.jsx(r,{...e,iconKey:"network_wifi_3_bar"})}function LE(e){return n.jsx(r,{...e,iconKey:"new_label"})}function QE(e){return n.jsx(r,{...e,iconKey:"new_releases"})}function VE(e){return n.jsx(r,{...e,iconKey:"newspaper"})}function WE(e){return n.jsx(r,{...e,iconKey:"next_plan"})}function GE(e){return n.jsx(r,{...e,iconKey:"next_week"})}function zE(e){return n.jsx(r,{...e,iconKey:"nfc"})}function HE(e){return n.jsx(r,{...e,iconKey:"night_shelter"})}function UE(e){return n.jsx(r,{...e,iconKey:"nightlife"})}function YE(e){return n.jsx(r,{...e,iconKey:"nightlight"})}function $E(e){return n.jsx(r,{...e,iconKey:"nightlight_round"})}function jE(e){return n.jsx(r,{...e,iconKey:"nights_stay"})}function qE(e){return n.jsx(r,{...e,iconKey:"no_accounts"})}function JE(e){return n.jsx(r,{...e,iconKey:"no_adult_content"})}function ZE(e){return n.jsx(r,{...e,iconKey:"no_backpack"})}function XE(e){return n.jsx(r,{...e,iconKey:"no_cell"})}function xE(e){return n.jsx(r,{...e,iconKey:"no_crash"})}function RE(e){return n.jsx(r,{...e,iconKey:"no_drinks"})}function eF(e){return n.jsx(r,{...e,iconKey:"no_encryption"})}function nF(e){return n.jsx(r,{...e,iconKey:"no_encryption_gmailerrorred"})}function oF(e){return n.jsx(r,{...e,iconKey:"no_flash"})}function rF(e){return n.jsx(r,{...e,iconKey:"no_food"})}function tF(e){return n.jsx(r,{...e,iconKey:"no_luggage"})}function cF(e){return n.jsx(r,{...e,iconKey:"no_meals"})}function iF(e){return n.jsx(r,{...e,iconKey:"no_meeting_room"})}function aF(e){return n.jsx(r,{...e,iconKey:"no_photography"})}function lF(e){return n.jsx(r,{...e,iconKey:"no_sim"})}function sF(e){return n.jsx(r,{...e,iconKey:"no_stroller"})}function dF(e){return n.jsx(r,{...e,iconKey:"no_transfer"})}function uF(e){return n.jsx(r,{...e,iconKey:"noise_aware"})}function fF(e){return n.jsx(r,{...e,iconKey:"noise_control_off"})}function AF(e){return n.jsx(r,{...e,iconKey:"nordic_walking"})}function yF(e){return n.jsx(r,{...e,iconKey:"north"})}function _F(e){return n.jsx(r,{...e,iconKey:"north_east"})}function hF(e){return n.jsx(r,{...e,iconKey:"north_west"})}function gF(e){return n.jsx(r,{...e,iconKey:"not_accessible"})}function IF(e){return n.jsx(r,{...e,iconKey:"not_interested"})}function bF(e){return n.jsx(r,{...e,iconKey:"not_listed_location"})}function pF(e){return n.jsx(r,{...e,iconKey:"not_started"})}function wF(e){return n.jsx(r,{...e,iconKey:"note"})}function kF(e){return n.jsx(r,{...e,iconKey:"note_add"})}function mF(e){return n.jsx(r,{...e,iconKey:"note_alt"})}function vF(e){return n.jsx(r,{...e,iconKey:"notes"})}function KF(e){return n.jsx(r,{...e,iconKey:"notification_add"})}function CF(e){return n.jsx(r,{...e,iconKey:"notification_important"})}function SF(e){return n.jsx(r,{...e,iconKey:"notifications"})}function BF(e){return n.jsx(r,{...e,iconKey:"notifications_active"})}function EF(e){return n.jsx(r,{...e,iconKey:"notifications_none"})}function FF(e){return n.jsx(r,{...e,iconKey:"notifications_off"})}function PF(e){return n.jsx(r,{...e,iconKey:"notifications_paused"})}function Mc(e){return n.jsx(r,{...e,iconKey:"numbers"})}function DF(e){return n.jsx(r,{...e,iconKey:"offline_bolt"})}function NF(e){return n.jsx(r,{...e,iconKey:"offline_pin"})}function TF(e){return n.jsx(r,{...e,iconKey:"offline_share"})}function MF(e){return n.jsx(r,{...e,iconKey:"oil_barrel"})}function OF(e){return n.jsx(r,{...e,iconKey:"on_device_training"})}function LF(e){return n.jsx(r,{...e,iconKey:"ondemand_video"})}function QF(e){return n.jsx(r,{...e,iconKey:"online_prediction"})}function VF(e){return n.jsx(r,{...e,iconKey:"opacity"})}function WF(e){return n.jsx(r,{...e,iconKey:"open_in_browser"})}function GF(e){return n.jsx(r,{...e,iconKey:"open_in_full"})}function to(e){return n.jsx(r,{...e,iconKey:"open_in_new"})}function zF(e){return n.jsx(r,{...e,iconKey:"open_in_new_off"})}function HF(e){return n.jsx(r,{...e,iconKey:"open_with"})}function UF(e){return n.jsx(r,{...e,iconKey:"other_houses"})}function YF(e){return n.jsx(r,{...e,iconKey:"outbound"})}function $F(e){return n.jsx(r,{...e,iconKey:"outbox"})}function jF(e){return n.jsx(r,{...e,iconKey:"outdoor_grill"})}function qF(e){return n.jsx(r,{...e,iconKey:"outlet"})}function JF(e){return n.jsx(r,{...e,iconKey:"outlined_flag"})}function ZF(e){return n.jsx(r,{...e,iconKey:"output"})}function XF(e){return n.jsx(r,{...e,iconKey:"padding"})}function xF(e){return n.jsx(r,{...e,iconKey:"pages"})}function RF(e){return n.jsx(r,{...e,iconKey:"pageview"})}function eP(e){return n.jsx(r,{...e,iconKey:"paid"})}function nP(e){return n.jsx(r,{...e,iconKey:"palette"})}function oP(e){return n.jsx(r,{...e,iconKey:"pan_tool"})}function rP(e){return n.jsx(r,{...e,iconKey:"pan_tool_alt"})}function tP(e){return n.jsx(r,{...e,iconKey:"panorama"})}function cP(e){return n.jsx(r,{...e,iconKey:"panorama_fish_eye"})}function iP(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal"})}function aP(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal_select"})}function lP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere"})}function sP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere_select"})}function dP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical"})}function uP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical_select"})}function fP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle"})}function AP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle_select"})}function yP(e){return n.jsx(r,{...e,iconKey:"paragliding"})}function _P(e){return n.jsx(r,{...e,iconKey:"park"})}function hP(e){return n.jsx(r,{...e,iconKey:"party_mode"})}function gP(e){return n.jsx(r,{...e,iconKey:"password"})}function IP(e){return n.jsx(r,{...e,iconKey:"pattern"})}function bP(e){return n.jsx(r,{...e,iconKey:"pause"})}function pP(e){return n.jsx(r,{...e,iconKey:"pause_circle"})}function wP(e){return n.jsx(r,{...e,iconKey:"pause_circle_filled"})}function kP(e){return n.jsx(r,{...e,iconKey:"pause_circle_outline"})}function mP(e){return n.jsx(r,{...e,iconKey:"pause_presentation"})}function vP(e){return n.jsx(r,{...e,iconKey:"payment"})}function KP(e){return n.jsx(r,{...e,iconKey:"payments"})}function CP(e){return n.jsx(r,{...e,iconKey:"pedal_bike"})}function SP(e){return n.jsx(r,{...e,iconKey:"pending"})}function BP(e){return n.jsx(r,{...e,iconKey:"pending_actions"})}function EP(e){return n.jsx(r,{...e,iconKey:"pentagon"})}function FP(e){return n.jsx(r,{...e,iconKey:"people"})}function PP(e){return n.jsx(r,{...e,iconKey:"people_alt"})}function DP(e){return n.jsx(r,{...e,iconKey:"people_outline"})}function NP(e){return n.jsx(r,{...e,iconKey:"percent"})}function TP(e){return n.jsx(r,{...e,iconKey:"perm_camera_mic"})}function MP(e){return n.jsx(r,{...e,iconKey:"perm_contact_calendar"})}function OP(e){return n.jsx(r,{...e,iconKey:"perm_data_setting"})}function LP(e){return n.jsx(r,{...e,iconKey:"perm_device_information"})}function QP(e){return n.jsx(r,{...e,iconKey:"perm_identity"})}function VP(e){return n.jsx(r,{...e,iconKey:"perm_media"})}function WP(e){return n.jsx(r,{...e,iconKey:"perm_phone_msg"})}function GP(e){return n.jsx(r,{...e,iconKey:"perm_scan_wifi"})}function zP(e){return n.jsx(r,{...e,iconKey:"person"})}function HP(e){return n.jsx(r,{...e,iconKey:"person_2"})}function UP(e){return n.jsx(r,{...e,iconKey:"person_3"})}function YP(e){return n.jsx(r,{...e,iconKey:"person_4"})}function $P(e){return n.jsx(r,{...e,iconKey:"person_add"})}function jP(e){return n.jsx(r,{...e,iconKey:"person_add_alt"})}function qP(e){return n.jsx(r,{...e,iconKey:"person_add_alt_1"})}function JP(e){return n.jsx(r,{...e,iconKey:"person_add_disabled"})}function ZP(e){return n.jsx(r,{...e,iconKey:"person_off"})}function XP(e){return n.jsx(r,{...e,iconKey:"person_outline"})}function xP(e){return n.jsx(r,{...e,iconKey:"person_pin"})}function RP(e){return n.jsx(r,{...e,iconKey:"person_pin_circle"})}function e1(e){return n.jsx(r,{...e,iconKey:"person_remove"})}function n1(e){return n.jsx(r,{...e,iconKey:"person_remove_alt_1"})}function o1(e){return n.jsx(r,{...e,iconKey:"person_search"})}function r1(e){return n.jsx(r,{...e,iconKey:"personal_injury"})}function t1(e){return n.jsx(r,{...e,iconKey:"personal_video"})}function c1(e){return n.jsx(r,{...e,iconKey:"pest_control"})}function i1(e){return n.jsx(r,{...e,iconKey:"pest_control_rodent"})}function a1(e){return n.jsx(r,{...e,iconKey:"pets"})}function l1(e){return n.jsx(r,{...e,iconKey:"phishing"})}function s1(e){return n.jsx(r,{...e,iconKey:"phone"})}function d1(e){return n.jsx(r,{...e,iconKey:"phone_android"})}function u1(e){return n.jsx(r,{...e,iconKey:"phone_bluetooth_speaker"})}function f1(e){return n.jsx(r,{...e,iconKey:"phone_callback"})}function A1(e){return n.jsx(r,{...e,iconKey:"phone_disabled"})}function y1(e){return n.jsx(r,{...e,iconKey:"phone_enabled"})}function _1(e){return n.jsx(r,{...e,iconKey:"phone_forwarded"})}function h1(e){return n.jsx(r,{...e,iconKey:"phone_iphone"})}function g1(e){return n.jsx(r,{...e,iconKey:"phone_locked"})}function I1(e){return n.jsx(r,{...e,iconKey:"phone_missed"})}function b1(e){return n.jsx(r,{...e,iconKey:"phone_paused"})}function p1(e){return n.jsx(r,{...e,iconKey:"phonelink"})}function w1(e){return n.jsx(r,{...e,iconKey:"phonelink_erase"})}function k1(e){return n.jsx(r,{...e,iconKey:"phonelink_lock"})}function m1(e){return n.jsx(r,{...e,iconKey:"phonelink_off"})}function v1(e){return n.jsx(r,{...e,iconKey:"phonelink_ring"})}function K1(e){return n.jsx(r,{...e,iconKey:"phonelink_setup"})}function C1(e){return n.jsx(r,{...e,iconKey:"photo"})}function S1(e){return n.jsx(r,{...e,iconKey:"photo_album"})}function B1(e){return n.jsx(r,{...e,iconKey:"photo_camera"})}function E1(e){return n.jsx(r,{...e,iconKey:"photo_camera_back"})}function F1(e){return n.jsx(r,{...e,iconKey:"photo_camera_front"})}function P1(e){return n.jsx(r,{...e,iconKey:"photo_filter"})}function D1(e){return n.jsx(r,{...e,iconKey:"photo_library"})}function N1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_actual"})}function T1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_large"})}function M1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_small"})}function O1(e){return n.jsx(r,{...e,iconKey:"php"})}function L1(e){return n.jsx(r,{...e,iconKey:"piano"})}function Q1(e){return n.jsx(r,{...e,iconKey:"piano_off"})}function V1(e){return n.jsx(r,{...e,iconKey:"picture_as_pdf"})}function W1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture"})}function G1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture_alt"})}function z1(e){return n.jsx(r,{...e,iconKey:"pie_chart"})}function H1(e){return n.jsx(r,{...e,iconKey:"pie_chart_outline"})}function U1(e){return n.jsx(r,{...e,iconKey:"pin"})}function Y1(e){return n.jsx(r,{...e,iconKey:"pin_drop"})}function $1(e){return n.jsx(r,{...e,iconKey:"pin_end"})}function j1(e){return n.jsx(r,{...e,iconKey:"pin_invoke"})}function q1(e){return n.jsx(r,{...e,iconKey:"pinch"})}function J1(e){return n.jsx(r,{...e,iconKey:"pivot_table_chart"})}function Z1(e){return n.jsx(r,{...e,iconKey:"pix"})}function X1(e){return n.jsx(r,{...e,iconKey:"place"})}function x1(e){return n.jsx(r,{...e,iconKey:"plagiarism"})}function R1(e){return n.jsx(r,{...e,iconKey:"play_arrow"})}function eD(e){return n.jsx(r,{...e,iconKey:"play_circle"})}function nD(e){return n.jsx(r,{...e,iconKey:"play_circle_filled"})}function oD(e){return n.jsx(r,{...e,iconKey:"play_circle_outline"})}function rD(e){return n.jsx(r,{...e,iconKey:"play_disabled"})}function tD(e){return n.jsx(r,{...e,iconKey:"play_for_work"})}function cD(e){return n.jsx(r,{...e,iconKey:"play_lesson"})}function iD(e){return n.jsx(r,{...e,iconKey:"playlist_add"})}function aD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check"})}function lD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check_circle"})}function sD(e){return n.jsx(r,{...e,iconKey:"playlist_add_circle"})}function dD(e){return n.jsx(r,{...e,iconKey:"playlist_play"})}function uD(e){return n.jsx(r,{...e,iconKey:"playlist_remove"})}function fD(e){return n.jsx(r,{...e,iconKey:"plumbing"})}function AD(e){return n.jsx(r,{...e,iconKey:"plus_one"})}function yD(e){return n.jsx(r,{...e,iconKey:"podcasts"})}function _D(e){return n.jsx(r,{...e,iconKey:"point_of_sale"})}function hD(e){return n.jsx(r,{...e,iconKey:"policy"})}function gD(e){return n.jsx(r,{...e,iconKey:"poll"})}function ID(e){return n.jsx(r,{...e,iconKey:"polyline"})}function bD(e){return n.jsx(r,{...e,iconKey:"polymer"})}function pD(e){return n.jsx(r,{...e,iconKey:"pool"})}function wD(e){return n.jsx(r,{...e,iconKey:"portable_wifi_off"})}function kD(e){return n.jsx(r,{...e,iconKey:"portrait"})}function mD(e){return n.jsx(r,{...e,iconKey:"post_add"})}function vD(e){return n.jsx(r,{...e,iconKey:"power"})}function KD(e){return n.jsx(r,{...e,iconKey:"power_input"})}function CD(e){return n.jsx(r,{...e,iconKey:"power_off"})}function SD(e){return n.jsx(r,{...e,iconKey:"power_settings_new"})}function BD(e){return n.jsx(r,{...e,iconKey:"precision_manufacturing"})}function ED(e){return n.jsx(r,{...e,iconKey:"pregnant_woman"})}function FD(e){return n.jsx(r,{...e,iconKey:"present_to_all"})}function PD(e){return n.jsx(r,{...e,iconKey:"preview"})}function DD(e){return n.jsx(r,{...e,iconKey:"price_change"})}function ND(e){return n.jsx(r,{...e,iconKey:"price_check"})}function TD(e){return n.jsx(r,{...e,iconKey:"print"})}function MD(e){return n.jsx(r,{...e,iconKey:"print_disabled"})}function OD(e){return n.jsx(r,{...e,iconKey:"priority_high"})}function LD(e){return n.jsx(r,{...e,iconKey:"privacy_tip"})}function QD(e){return n.jsx(r,{...e,iconKey:"private_connectivity"})}function VD(e){return n.jsx(r,{...e,iconKey:"production_quantity_limits"})}function WD(e){return n.jsx(r,{...e,iconKey:"propane"})}function GD(e){return n.jsx(r,{...e,iconKey:"propane_tank"})}function zD(e){return n.jsx(r,{...e,iconKey:"psychology"})}function HD(e){return n.jsx(r,{...e,iconKey:"psychology_alt"})}function UD(e){return n.jsx(r,{...e,iconKey:"public"})}function YD(e){return n.jsx(r,{...e,iconKey:"public_off"})}function $D(e){return n.jsx(r,{...e,iconKey:"publish"})}function jD(e){return n.jsx(r,{...e,iconKey:"published_with_changes"})}function qD(e){return n.jsx(r,{...e,iconKey:"punch_clock"})}function JD(e){return n.jsx(r,{...e,iconKey:"push_pin"})}function ZD(e){return n.jsx(r,{...e,iconKey:"qr_code"})}function XD(e){return n.jsx(r,{...e,iconKey:"qr_code_2"})}function xD(e){return n.jsx(r,{...e,iconKey:"qr_code_scanner"})}function RD(e){return n.jsx(r,{...e,iconKey:"query_builder"})}function eN(e){return n.jsx(r,{...e,iconKey:"query_stats"})}function nN(e){return n.jsx(r,{...e,iconKey:"question_answer"})}function oN(e){return n.jsx(r,{...e,iconKey:"question_mark"})}function rN(e){return n.jsx(r,{...e,iconKey:"queue"})}function tN(e){return n.jsx(r,{...e,iconKey:"queue_music"})}function cN(e){return n.jsx(r,{...e,iconKey:"queue_play_next"})}function iN(e){return n.jsx(r,{...e,iconKey:"quickreply"})}function aN(e){return n.jsx(r,{...e,iconKey:"quiz"})}function lN(e){return n.jsx(r,{...e,iconKey:"r_mobiledata"})}function sN(e){return n.jsx(r,{...e,iconKey:"radar"})}function dN(e){return n.jsx(r,{...e,iconKey:"radio"})}function uN(e){return n.jsx(r,{...e,iconKey:"radio_button_checked"})}function fN(e){return n.jsx(r,{...e,iconKey:"radio_button_unchecked"})}function AN(e){return n.jsx(r,{...e,iconKey:"railway_alert"})}function yN(e){return n.jsx(r,{...e,iconKey:"ramen_dining"})}function _N(e){return n.jsx(r,{...e,iconKey:"ramp_left"})}function hN(e){return n.jsx(r,{...e,iconKey:"ramp_right"})}function gN(e){return n.jsx(r,{...e,iconKey:"rate_review"})}function IN(e){return n.jsx(r,{...e,iconKey:"raw_off"})}function bN(e){return n.jsx(r,{...e,iconKey:"raw_on"})}function pN(e){return n.jsx(r,{...e,iconKey:"read_more"})}function wN(e){return n.jsx(r,{...e,iconKey:"real_estate_agent"})}function kN(e){return n.jsx(r,{...e,iconKey:"receipt"})}function mN(e){return n.jsx(r,{...e,iconKey:"receipt_long"})}function vN(e){return n.jsx(r,{...e,iconKey:"recent_actors"})}function KN(e){return n.jsx(r,{...e,iconKey:"recommend"})}function CN(e){return n.jsx(r,{...e,iconKey:"record_voice_over"})}function SN(e){return n.jsx(r,{...e,iconKey:"rectangle"})}function BN(e){return n.jsx(r,{...e,iconKey:"recycling"})}function EN(e){return n.jsx(r,{...e,iconKey:"redeem"})}function FN(e){return n.jsx(r,{...e,iconKey:"redo"})}function PN(e){return n.jsx(r,{...e,iconKey:"reduce_capacity"})}function DN(e){return n.jsx(r,{...e,iconKey:"refresh"})}function NN(e){return n.jsx(r,{...e,iconKey:"remember_me"})}function co(e){return n.jsx(r,{...e,iconKey:"remove"})}function Oc(e){return n.jsx(r,{...e,iconKey:"remove_circle"})}function TN(e){return n.jsx(r,{...e,iconKey:"remove_circle_outline"})}function MN(e){return n.jsx(r,{...e,iconKey:"remove_done"})}function ON(e){return n.jsx(r,{...e,iconKey:"remove_from_queue"})}function LN(e){return n.jsx(r,{...e,iconKey:"remove_moderator"})}function QN(e){return n.jsx(r,{...e,iconKey:"remove_red_eye"})}function VN(e){return n.jsx(r,{...e,iconKey:"remove_road"})}function WN(e){return n.jsx(r,{...e,iconKey:"remove_shopping_cart"})}function GN(e){return n.jsx(r,{...e,iconKey:"reorder"})}function zN(e){return n.jsx(r,{...e,iconKey:"repartition"})}function Er(e){return n.jsx(r,{...e,iconKey:"repeat"})}function HN(e){return n.jsx(r,{...e,iconKey:"repeat_on"})}function UN(e){return n.jsx(r,{...e,iconKey:"repeat_one"})}function YN(e){return n.jsx(r,{...e,iconKey:"repeat_one_on"})}function $N(e){return n.jsx(r,{...e,iconKey:"replay"})}function jN(e){return n.jsx(r,{...e,iconKey:"replay_10"})}function qN(e){return n.jsx(r,{...e,iconKey:"replay_30"})}function JN(e){return n.jsx(r,{...e,iconKey:"replay_5"})}function ZN(e){return n.jsx(r,{...e,iconKey:"replay_circle_filled"})}function XN(e){return n.jsx(r,{...e,iconKey:"reply"})}function xN(e){return n.jsx(r,{...e,iconKey:"reply_all"})}function RN(e){return n.jsx(r,{...e,iconKey:"report"})}function eT(e){return n.jsx(r,{...e,iconKey:"report_gmailerrorred"})}function nT(e){return n.jsx(r,{...e,iconKey:"report_off"})}function oT(e){return n.jsx(r,{...e,iconKey:"report_problem"})}function rT(e){return n.jsx(r,{...e,iconKey:"request_page"})}function tT(e){return n.jsx(r,{...e,iconKey:"request_quote"})}function cT(e){return n.jsx(r,{...e,iconKey:"reset_tv"})}function iT(e){return n.jsx(r,{...e,iconKey:"restart_alt"})}function aT(e){return n.jsx(r,{...e,iconKey:"restaurant"})}function lT(e){return n.jsx(r,{...e,iconKey:"restaurant_menu"})}function sT(e){return n.jsx(r,{...e,iconKey:"restore"})}function dT(e){return n.jsx(r,{...e,iconKey:"restore_from_trash"})}function uT(e){return n.jsx(r,{...e,iconKey:"restore_page"})}function fT(e){return n.jsx(r,{...e,iconKey:"reviews"})}function AT(e){return n.jsx(r,{...e,iconKey:"rice_bowl"})}function yT(e){return n.jsx(r,{...e,iconKey:"ring_volume"})}function _T(e){return n.jsx(r,{...e,iconKey:"rocket"})}function hT(e){return n.jsx(r,{...e,iconKey:"rocket_launch"})}function gT(e){return n.jsx(r,{...e,iconKey:"roller_shades"})}function IT(e){return n.jsx(r,{...e,iconKey:"roller_shades_closed"})}function bT(e){return n.jsx(r,{...e,iconKey:"roller_skating"})}function pT(e){return n.jsx(r,{...e,iconKey:"roofing"})}function wT(e){return n.jsx(r,{...e,iconKey:"room"})}function kT(e){return n.jsx(r,{...e,iconKey:"room_preferences"})}function mT(e){return n.jsx(r,{...e,iconKey:"room_service"})}function vT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_ccw"})}function KT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_cw"})}function CT(e){return n.jsx(r,{...e,iconKey:"rotate_left"})}function ST(e){return n.jsx(r,{...e,iconKey:"rotate_right"})}function BT(e){return n.jsx(r,{...e,iconKey:"roundabout_left"})}function ET(e){return n.jsx(r,{...e,iconKey:"roundabout_right"})}function FT(e){return n.jsx(r,{...e,iconKey:"rounded_corner"})}function PT(e){return n.jsx(r,{...e,iconKey:"route"})}function DT(e){return n.jsx(r,{...e,iconKey:"router"})}function NT(e){return n.jsx(r,{...e,iconKey:"rowing"})}function TT(e){return n.jsx(r,{...e,iconKey:"rss_feed"})}function MT(e){return n.jsx(r,{...e,iconKey:"rsvp"})}function OT(e){return n.jsx(r,{...e,iconKey:"rtt"})}function LT(e){return n.jsx(r,{...e,iconKey:"rule"})}function QT(e){return n.jsx(r,{...e,iconKey:"rule_folder"})}function VT(e){return n.jsx(r,{...e,iconKey:"run_circle"})}function WT(e){return n.jsx(r,{...e,iconKey:"running_with_errors"})}function GT(e){return n.jsx(r,{...e,iconKey:"rv_hookup"})}function zT(e){return n.jsx(r,{...e,iconKey:"safety_check"})}function HT(e){return n.jsx(r,{...e,iconKey:"safety_divider"})}function UT(e){return n.jsx(r,{...e,iconKey:"sailing"})}function YT(e){return n.jsx(r,{...e,iconKey:"sanitizer"})}function $T(e){return n.jsx(r,{...e,iconKey:"satellite"})}function jT(e){return n.jsx(r,{...e,iconKey:"satellite_alt"})}function qT(e){return n.jsx(r,{...e,iconKey:"save"})}function JT(e){return n.jsx(r,{...e,iconKey:"save_alt"})}function ZT(e){return n.jsx(r,{...e,iconKey:"save_as"})}function XT(e){return n.jsx(r,{...e,iconKey:"saved_search"})}function xT(e){return n.jsx(r,{...e,iconKey:"savings"})}function RT(e){return n.jsx(r,{...e,iconKey:"scale"})}function eM(e){return n.jsx(r,{...e,iconKey:"scanner"})}function nM(e){return n.jsx(r,{...e,iconKey:"scatter_plot"})}function Lc(e){return n.jsx(r,{...e,iconKey:"schedule"})}function oM(e){return n.jsx(r,{...e,iconKey:"schedule_send"})}function rM(e){return n.jsx(r,{...e,iconKey:"schema"})}function tM(e){return n.jsx(r,{...e,iconKey:"school"})}function cM(e){return n.jsx(r,{...e,iconKey:"science"})}function iM(e){return n.jsx(r,{...e,iconKey:"score"})}function aM(e){return n.jsx(r,{...e,iconKey:"scoreboard"})}function lM(e){return n.jsx(r,{...e,iconKey:"screen_lock_landscape"})}function sM(e){return n.jsx(r,{...e,iconKey:"screen_lock_portrait"})}function dM(e){return n.jsx(r,{...e,iconKey:"screen_lock_rotation"})}function uM(e){return n.jsx(r,{...e,iconKey:"screen_rotation"})}function fM(e){return n.jsx(r,{...e,iconKey:"screen_rotation_alt"})}function AM(e){return n.jsx(r,{...e,iconKey:"screen_search_desktop"})}function yM(e){return n.jsx(r,{...e,iconKey:"screen_share"})}function _M(e){return n.jsx(r,{...e,iconKey:"screenshot"})}function hM(e){return n.jsx(r,{...e,iconKey:"screenshot_monitor"})}function gM(e){return n.jsx(r,{...e,iconKey:"scuba_diving"})}function IM(e){return n.jsx(r,{...e,iconKey:"sd"})}function bM(e){return n.jsx(r,{...e,iconKey:"sd_card"})}function pM(e){return n.jsx(r,{...e,iconKey:"sd_card_alert"})}function wM(e){return n.jsx(r,{...e,iconKey:"sd_storage"})}function kM(e){return n.jsx(r,{...e,iconKey:"search_off"})}function mM(e){return n.jsx(r,{...e,iconKey:"security"})}function vM(e){return n.jsx(r,{...e,iconKey:"security_update"})}function KM(e){return n.jsx(r,{...e,iconKey:"security_update_good"})}function CM(e){return n.jsx(r,{...e,iconKey:"security_update_warning"})}function SM(e){return n.jsx(r,{...e,iconKey:"segment"})}function BM(e){return n.jsx(r,{...e,iconKey:"select_all"})}function EM(e){return n.jsx(r,{...e,iconKey:"self_improvement"})}function FM(e){return n.jsx(r,{...e,iconKey:"sell"})}function PM(e){return n.jsx(r,{...e,iconKey:"send"})}function DM(e){return n.jsx(r,{...e,iconKey:"send_and_archive"})}function NM(e){return n.jsx(r,{...e,iconKey:"send_time_extension"})}function TM(e){return n.jsx(r,{...e,iconKey:"send_to_mobile"})}function MM(e){return n.jsx(r,{...e,iconKey:"sensor_door"})}function OM(e){return n.jsx(r,{...e,iconKey:"sensor_occupied"})}function LM(e){return n.jsx(r,{...e,iconKey:"sensor_window"})}function QM(e){return n.jsx(r,{...e,iconKey:"sensors"})}function VM(e){return n.jsx(r,{...e,iconKey:"sensors_off"})}function WM(e){return n.jsx(r,{...e,iconKey:"sentiment_dissatisfied"})}function GM(e){return n.jsx(r,{...e,iconKey:"sentiment_neutral"})}function zM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied"})}function HM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied_alt"})}function UM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_dissatisfied"})}function YM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_satisfied"})}function $M(e){return n.jsx(r,{...e,iconKey:"set_meal"})}function jM(e){return n.jsx(r,{...e,iconKey:"settings"})}function qM(e){return n.jsx(r,{...e,iconKey:"settings_accessibility"})}function JM(e){return n.jsx(r,{...e,iconKey:"settings_applications"})}function ZM(e){return n.jsx(r,{...e,iconKey:"settings_backup_restore"})}function XM(e){return n.jsx(r,{...e,iconKey:"settings_bluetooth"})}function xM(e){return n.jsx(r,{...e,iconKey:"settings_brightness"})}function RM(e){return n.jsx(r,{...e,iconKey:"settings_cell"})}function e2(e){return n.jsx(r,{...e,iconKey:"settings_ethernet"})}function n2(e){return n.jsx(r,{...e,iconKey:"settings_input_antenna"})}function o2(e){return n.jsx(r,{...e,iconKey:"settings_input_component"})}function r2(e){return n.jsx(r,{...e,iconKey:"settings_input_composite"})}function t2(e){return n.jsx(r,{...e,iconKey:"settings_input_hdmi"})}function c2(e){return n.jsx(r,{...e,iconKey:"settings_input_svideo"})}function i2(e){return n.jsx(r,{...e,iconKey:"settings_overscan"})}function a2(e){return n.jsx(r,{...e,iconKey:"settings_phone"})}function l2(e){return n.jsx(r,{...e,iconKey:"settings_power"})}function s2(e){return n.jsx(r,{...e,iconKey:"settings_remote"})}function d2(e){return n.jsx(r,{...e,iconKey:"settings_suggest"})}function u2(e){return n.jsx(r,{...e,iconKey:"settings_system_daydream"})}function f2(e){return n.jsx(r,{...e,iconKey:"settings_voice"})}function A2(e){return n.jsx(r,{...e,iconKey:"severe_cold"})}function y2(e){return n.jsx(r,{...e,iconKey:"shape_line"})}function _2(e){return n.jsx(r,{...e,iconKey:"share"})}function h2(e){return n.jsx(r,{...e,iconKey:"share_location"})}function g2(e){return n.jsx(r,{...e,iconKey:"shield"})}function I2(e){return n.jsx(r,{...e,iconKey:"shield_moon"})}function b2(e){return n.jsx(r,{...e,iconKey:"shop"})}function p2(e){return n.jsx(r,{...e,iconKey:"shop_2"})}function w2(e){return n.jsx(r,{...e,iconKey:"shop_two"})}function k2(e){return n.jsx(r,{...e,iconKey:"shopping_bag"})}function m2(e){return n.jsx(r,{...e,iconKey:"shopping_basket"})}function v2(e){return n.jsx(r,{...e,iconKey:"shopping_cart"})}function K2(e){return n.jsx(r,{...e,iconKey:"shopping_cart_checkout"})}function Qc(e){return n.jsx(r,{...e,iconKey:"short_text"})}function C2(e){return n.jsx(r,{...e,iconKey:"shortcut"})}function S2(e){return n.jsx(r,{...e,iconKey:"show_chart"})}function B2(e){return n.jsx(r,{...e,iconKey:"shower"})}function E2(e){return n.jsx(r,{...e,iconKey:"shuffle"})}function F2(e){return n.jsx(r,{...e,iconKey:"shuffle_on"})}function P2(e){return n.jsx(r,{...e,iconKey:"shutter_speed"})}function D2(e){return n.jsx(r,{...e,iconKey:"sick"})}function N2(e){return n.jsx(r,{...e,iconKey:"sign_language"})}function T2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_0_bar"})}function M2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_4_bar"})}function O2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt"})}function L2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_1_bar"})}function Q2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_2_bar"})}function V2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_0_bar"})}function W2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_4_bar"})}function G2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_no_sim"})}function z2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_nodata"})}function H2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_null"})}function U2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_off"})}function Y2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_0_bar"})}function $2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar"})}function j2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar_lock"})}function q2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_bad"})}function J2(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 X2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_4_bar"})}function x2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_connected_no_internet_4"})}function R2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_null"})}function eO(e){return n.jsx(r,{...e,iconKey:"signpost"})}function nO(e){return n.jsx(r,{...e,iconKey:"sim_card"})}function oO(e){return n.jsx(r,{...e,iconKey:"sim_card_alert"})}function rO(e){return n.jsx(r,{...e,iconKey:"sim_card_download"})}function tO(e){return n.jsx(r,{...e,iconKey:"single_bed"})}function cO(e){return n.jsx(r,{...e,iconKey:"sip"})}function iO(e){return n.jsx(r,{...e,iconKey:"skateboarding"})}function aO(e){return n.jsx(r,{...e,iconKey:"skip_next"})}function lO(e){return n.jsx(r,{...e,iconKey:"skip_previous"})}function sO(e){return n.jsx(r,{...e,iconKey:"sledding"})}function dO(e){return n.jsx(r,{...e,iconKey:"slideshow"})}function uO(e){return n.jsx(r,{...e,iconKey:"slow_motion_video"})}function fO(e){return n.jsx(r,{...e,iconKey:"smart_button"})}function AO(e){return n.jsx(r,{...e,iconKey:"smart_display"})}function yO(e){return n.jsx(r,{...e,iconKey:"smart_screen"})}function _O(e){return n.jsx(r,{...e,iconKey:"smart_toy"})}function hO(e){return n.jsx(r,{...e,iconKey:"smartphone"})}function gO(e){return n.jsx(r,{...e,iconKey:"smoke_free"})}function IO(e){return n.jsx(r,{...e,iconKey:"smoking_rooms"})}function bO(e){return n.jsx(r,{...e,iconKey:"sms"})}function pO(e){return n.jsx(r,{...e,iconKey:"sms_failed"})}function wO(e){return n.jsx(r,{...e,iconKey:"snippet_folder"})}function kO(e){return n.jsx(r,{...e,iconKey:"snooze"})}function mO(e){return n.jsx(r,{...e,iconKey:"snowboarding"})}function vO(e){return n.jsx(r,{...e,iconKey:"snowmobile"})}function KO(e){return n.jsx(r,{...e,iconKey:"snowshoeing"})}function CO(e){return n.jsx(r,{...e,iconKey:"soap"})}function SO(e){return n.jsx(r,{...e,iconKey:"social_distance"})}function BO(e){return n.jsx(r,{...e,iconKey:"solar_power"})}function EO(e){return n.jsx(r,{...e,iconKey:"sort"})}function FO(e){return n.jsx(r,{...e,iconKey:"sort_by_alpha"})}function PO(e){return n.jsx(r,{...e,iconKey:"sos"})}function DO(e){return n.jsx(r,{...e,iconKey:"soup_kitchen"})}function NO(e){return n.jsx(r,{...e,iconKey:"source"})}function TO(e){return n.jsx(r,{...e,iconKey:"south"})}function MO(e){return n.jsx(r,{...e,iconKey:"south_america"})}function OO(e){return n.jsx(r,{...e,iconKey:"south_east"})}function LO(e){return n.jsx(r,{...e,iconKey:"south_west"})}function QO(e){return n.jsx(r,{...e,iconKey:"spa"})}function VO(e){return n.jsx(r,{...e,iconKey:"space_bar"})}function WO(e){return n.jsx(r,{...e,iconKey:"space_dashboard"})}function GO(e){return n.jsx(r,{...e,iconKey:"spatial_audio"})}function zO(e){return n.jsx(r,{...e,iconKey:"spatial_audio_off"})}function HO(e){return n.jsx(r,{...e,iconKey:"spatial_tracking"})}function UO(e){return n.jsx(r,{...e,iconKey:"speaker"})}function YO(e){return n.jsx(r,{...e,iconKey:"speaker_group"})}function $O(e){return n.jsx(r,{...e,iconKey:"speaker_notes"})}function jO(e){return n.jsx(r,{...e,iconKey:"speaker_notes_off"})}function qO(e){return n.jsx(r,{...e,iconKey:"speaker_phone"})}function JO(e){return n.jsx(r,{...e,iconKey:"speed"})}function ZO(e){return n.jsx(r,{...e,iconKey:"spellcheck"})}function XO(e){return n.jsx(r,{...e,iconKey:"splitscreen"})}function xO(e){return n.jsx(r,{...e,iconKey:"spoke"})}function RO(e){return n.jsx(r,{...e,iconKey:"sports"})}function eL(e){return n.jsx(r,{...e,iconKey:"sports_bar"})}function nL(e){return n.jsx(r,{...e,iconKey:"sports_baseball"})}function oL(e){return n.jsx(r,{...e,iconKey:"sports_basketball"})}function rL(e){return n.jsx(r,{...e,iconKey:"sports_cricket"})}function tL(e){return n.jsx(r,{...e,iconKey:"sports_esports"})}function cL(e){return n.jsx(r,{...e,iconKey:"sports_football"})}function iL(e){return n.jsx(r,{...e,iconKey:"sports_golf"})}function aL(e){return n.jsx(r,{...e,iconKey:"sports_gymnastics"})}function lL(e){return n.jsx(r,{...e,iconKey:"sports_handball"})}function sL(e){return n.jsx(r,{...e,iconKey:"sports_hockey"})}function dL(e){return n.jsx(r,{...e,iconKey:"sports_kabaddi"})}function uL(e){return n.jsx(r,{...e,iconKey:"sports_martial_arts"})}function fL(e){return n.jsx(r,{...e,iconKey:"sports_mma"})}function AL(e){return n.jsx(r,{...e,iconKey:"sports_motorsports"})}function yL(e){return n.jsx(r,{...e,iconKey:"sports_rugby"})}function _L(e){return n.jsx(r,{...e,iconKey:"sports_score"})}function hL(e){return n.jsx(r,{...e,iconKey:"sports_soccer"})}function gL(e){return n.jsx(r,{...e,iconKey:"sports_tennis"})}function IL(e){return n.jsx(r,{...e,iconKey:"sports_volleyball"})}function bL(e){return n.jsx(r,{...e,iconKey:"square"})}function pL(e){return n.jsx(r,{...e,iconKey:"square_foot"})}function wL(e){return n.jsx(r,{...e,iconKey:"ssid_chart"})}function kL(e){return n.jsx(r,{...e,iconKey:"stacked_bar_chart"})}function mL(e){return n.jsx(r,{...e,iconKey:"stacked_line_chart"})}function vL(e){return n.jsx(r,{...e,iconKey:"stadium"})}function KL(e){return n.jsx(r,{...e,iconKey:"stairs"})}function Fr(e){return n.jsx(r,{...e,iconKey:"star"})}function Pr(e){return n.jsx(r,{...e,iconKey:"star_border"})}function CL(e){return n.jsx(r,{...e,iconKey:"star_border_purple500"})}function SL(e){return n.jsx(r,{...e,iconKey:"star_half"})}function BL(e){return n.jsx(r,{...e,iconKey:"star_outline"})}function EL(e){return n.jsx(r,{...e,iconKey:"star_purple500"})}function FL(e){return n.jsx(r,{...e,iconKey:"star_rate"})}function PL(e){return n.jsx(r,{...e,iconKey:"stars"})}function DL(e){return n.jsx(r,{...e,iconKey:"start"})}function NL(e){return n.jsx(r,{...e,iconKey:"stay_current_landscape"})}function TL(e){return n.jsx(r,{...e,iconKey:"stay_current_portrait"})}function ML(e){return n.jsx(r,{...e,iconKey:"stay_primary_landscape"})}function OL(e){return n.jsx(r,{...e,iconKey:"stay_primary_portrait"})}function LL(e){return n.jsx(r,{...e,iconKey:"sticky_note_2"})}function QL(e){return n.jsx(r,{...e,iconKey:"stop"})}function VL(e){return n.jsx(r,{...e,iconKey:"stop_circle"})}function WL(e){return n.jsx(r,{...e,iconKey:"stop_screen_share"})}function GL(e){return n.jsx(r,{...e,iconKey:"storage"})}function zL(e){return n.jsx(r,{...e,iconKey:"store"})}function HL(e){return n.jsx(r,{...e,iconKey:"store_mall_directory"})}function UL(e){return n.jsx(r,{...e,iconKey:"storefront"})}function YL(e){return n.jsx(r,{...e,iconKey:"storm"})}function $L(e){return n.jsx(r,{...e,iconKey:"straight"})}function jL(e){return n.jsx(r,{...e,iconKey:"straighten"})}function qL(e){return n.jsx(r,{...e,iconKey:"stream"})}function JL(e){return n.jsx(r,{...e,iconKey:"streetview"})}function ZL(e){return n.jsx(r,{...e,iconKey:"strikethrough_s"})}function XL(e){return n.jsx(r,{...e,iconKey:"stroller"})}function xL(e){return n.jsx(r,{...e,iconKey:"style"})}function RL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_left"})}function e4(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_right"})}function Vc(e){return n.jsx(r,{...e,iconKey:"subject"})}function n4(e){return n.jsx(r,{...e,iconKey:"subscript"})}function o4(e){return n.jsx(r,{...e,iconKey:"subscriptions"})}function r4(e){return n.jsx(r,{...e,iconKey:"subtitles"})}function t4(e){return n.jsx(r,{...e,iconKey:"subtitles_off"})}function c4(e){return n.jsx(r,{...e,iconKey:"subway"})}function i4(e){return n.jsx(r,{...e,iconKey:"summarize"})}function a4(e){return n.jsx(r,{...e,iconKey:"superscript"})}function l4(e){return n.jsx(r,{...e,iconKey:"supervised_user_circle"})}function s4(e){return n.jsx(r,{...e,iconKey:"supervisor_account"})}function d4(e){return n.jsx(r,{...e,iconKey:"support"})}function u4(e){return n.jsx(r,{...e,iconKey:"support_agent"})}function f4(e){return n.jsx(r,{...e,iconKey:"surfing"})}function A4(e){return n.jsx(r,{...e,iconKey:"surround_sound"})}function y4(e){return n.jsx(r,{...e,iconKey:"swap_calls"})}function _4(e){return n.jsx(r,{...e,iconKey:"swap_horiz"})}function h4(e){return n.jsx(r,{...e,iconKey:"swap_horizontal_circle"})}function g4(e){return n.jsx(r,{...e,iconKey:"swap_vert"})}function I4(e){return n.jsx(r,{...e,iconKey:"swap_vertical_circle"})}function b4(e){return n.jsx(r,{...e,iconKey:"swipe"})}function p4(e){return n.jsx(r,{...e,iconKey:"swipe_down"})}function w4(e){return n.jsx(r,{...e,iconKey:"swipe_down_alt"})}function k4(e){return n.jsx(r,{...e,iconKey:"swipe_left"})}function m4(e){return n.jsx(r,{...e,iconKey:"swipe_left_alt"})}function v4(e){return n.jsx(r,{...e,iconKey:"swipe_right"})}function K4(e){return n.jsx(r,{...e,iconKey:"swipe_right_alt"})}function C4(e){return n.jsx(r,{...e,iconKey:"swipe_up"})}function S4(e){return n.jsx(r,{...e,iconKey:"swipe_up_alt"})}function B4(e){return n.jsx(r,{...e,iconKey:"swipe_vertical"})}function E4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut"})}function F4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut_add"})}function P4(e){return n.jsx(r,{...e,iconKey:"switch_account"})}function D4(e){return n.jsx(r,{...e,iconKey:"switch_camera"})}function N4(e){return n.jsx(r,{...e,iconKey:"switch_left"})}function T4(e){return n.jsx(r,{...e,iconKey:"switch_right"})}function M4(e){return n.jsx(r,{...e,iconKey:"switch_video"})}function O4(e){return n.jsx(r,{...e,iconKey:"synagogue"})}function L4(e){return n.jsx(r,{...e,iconKey:"sync"})}function Q4(e){return n.jsx(r,{...e,iconKey:"sync_alt"})}function V4(e){return n.jsx(r,{...e,iconKey:"sync_disabled"})}function W4(e){return n.jsx(r,{...e,iconKey:"sync_lock"})}function G4(e){return n.jsx(r,{...e,iconKey:"sync_problem"})}function z4(e){return n.jsx(r,{...e,iconKey:"system_security_update"})}function H4(e){return n.jsx(r,{...e,iconKey:"system_security_update_good"})}function U4(e){return n.jsx(r,{...e,iconKey:"system_security_update_warning"})}function Y4(e){return n.jsx(r,{...e,iconKey:"system_update"})}function $4(e){return n.jsx(r,{...e,iconKey:"system_update_alt"})}function j4(e){return n.jsx(r,{...e,iconKey:"tab"})}function q4(e){return n.jsx(r,{...e,iconKey:"tab_unselected"})}function J4(e){return n.jsx(r,{...e,iconKey:"table_bar"})}function Z4(e){return n.jsx(r,{...e,iconKey:"table_chart"})}function X4(e){return n.jsx(r,{...e,iconKey:"table_restaurant"})}function x4(e){return n.jsx(r,{...e,iconKey:"table_rows"})}function R4(e){return n.jsx(r,{...e,iconKey:"table_view"})}function eQ(e){return n.jsx(r,{...e,iconKey:"tablet"})}function nQ(e){return n.jsx(r,{...e,iconKey:"tablet_android"})}function oQ(e){return n.jsx(r,{...e,iconKey:"tablet_mac"})}function rQ(e){return n.jsx(r,{...e,iconKey:"tag"})}function tQ(e){return n.jsx(r,{...e,iconKey:"tag_faces"})}function cQ(e){return n.jsx(r,{...e,iconKey:"takeout_dining"})}function iQ(e){return n.jsx(r,{...e,iconKey:"tap_and_play"})}function aQ(e){return n.jsx(r,{...e,iconKey:"tapas"})}function lQ(e){return n.jsx(r,{...e,iconKey:"task"})}function sQ(e){return n.jsx(r,{...e,iconKey:"task_alt"})}function dQ(e){return n.jsx(r,{...e,iconKey:"taxi_alert"})}function uQ(e){return n.jsx(r,{...e,iconKey:"temple_buddhist"})}function fQ(e){return n.jsx(r,{...e,iconKey:"temple_hindu"})}function AQ(e){return n.jsx(r,{...e,iconKey:"terminal"})}function yQ(e){return n.jsx(r,{...e,iconKey:"terrain"})}function _Q(e){return n.jsx(r,{...e,iconKey:"text_decrease"})}function hQ(e){return n.jsx(r,{...e,iconKey:"text_fields"})}function gQ(e){return n.jsx(r,{...e,iconKey:"text_format"})}function IQ(e){return n.jsx(r,{...e,iconKey:"text_increase"})}function bQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_up"})}function pQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_vertical"})}function wQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angledown"})}function kQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angleup"})}function mQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_down"})}function vQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_none"})}function KQ(e){return n.jsx(r,{...e,iconKey:"text_snippet"})}function CQ(e){return n.jsx(r,{...e,iconKey:"textsms"})}function SQ(e){return n.jsx(r,{...e,iconKey:"texture"})}function BQ(e){return n.jsx(r,{...e,iconKey:"theater_comedy"})}function EQ(e){return n.jsx(r,{...e,iconKey:"theaters"})}function FQ(e){return n.jsx(r,{...e,iconKey:"thermostat"})}function PQ(e){return n.jsx(r,{...e,iconKey:"thermostat_auto"})}function DQ(e){return n.jsx(r,{...e,iconKey:"thumb_down"})}function NQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_alt"})}function TQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_off_alt"})}function MQ(e){return n.jsx(r,{...e,iconKey:"thumb_up"})}function OQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_alt"})}function LQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_off_alt"})}function QQ(e){return n.jsx(r,{...e,iconKey:"thumbs_up_down"})}function VQ(e){return n.jsx(r,{...e,iconKey:"thunderstorm"})}function WQ(e){return n.jsx(r,{...e,iconKey:"time_to_leave"})}function GQ(e){return n.jsx(r,{...e,iconKey:"timelapse"})}function zQ(e){return n.jsx(r,{...e,iconKey:"timeline"})}function HQ(e){return n.jsx(r,{...e,iconKey:"timer"})}function UQ(e){return n.jsx(r,{...e,iconKey:"timer_10"})}function YQ(e){return n.jsx(r,{...e,iconKey:"timer_10_select"})}function $Q(e){return n.jsx(r,{...e,iconKey:"timer_3"})}function jQ(e){return n.jsx(r,{...e,iconKey:"timer_3_select"})}function qQ(e){return n.jsx(r,{...e,iconKey:"timer_off"})}function JQ(e){return n.jsx(r,{...e,iconKey:"tips_and_updates"})}function ZQ(e){return n.jsx(r,{...e,iconKey:"tire_repair"})}function XQ(e){return n.jsx(r,{...e,iconKey:"title"})}function xQ(e){return n.jsx(r,{...e,iconKey:"toc"})}function RQ(e){return n.jsx(r,{...e,iconKey:"today"})}function eV(e){return n.jsx(r,{...e,iconKey:"toggle_off"})}function nV(e){return n.jsx(r,{...e,iconKey:"toggle_on"})}function oV(e){return n.jsx(r,{...e,iconKey:"token"})}function rV(e){return n.jsx(r,{...e,iconKey:"toll"})}function tV(e){return n.jsx(r,{...e,iconKey:"tonality"})}function cV(e){return n.jsx(r,{...e,iconKey:"topic"})}function iV(e){return n.jsx(r,{...e,iconKey:"tornado"})}function aV(e){return n.jsx(r,{...e,iconKey:"touch_app"})}function lV(e){return n.jsx(r,{...e,iconKey:"tour"})}function sV(e){return n.jsx(r,{...e,iconKey:"toys"})}function dV(e){return n.jsx(r,{...e,iconKey:"track_changes"})}function uV(e){return n.jsx(r,{...e,iconKey:"traffic"})}function fV(e){return n.jsx(r,{...e,iconKey:"train"})}function AV(e){return n.jsx(r,{...e,iconKey:"tram"})}function yV(e){return n.jsx(r,{...e,iconKey:"transcribe"})}function _V(e){return n.jsx(r,{...e,iconKey:"transfer_within_a_station"})}function hV(e){return n.jsx(r,{...e,iconKey:"transform"})}function gV(e){return n.jsx(r,{...e,iconKey:"transgender"})}function IV(e){return n.jsx(r,{...e,iconKey:"transit_enterexit"})}function bV(e){return n.jsx(r,{...e,iconKey:"translate"})}function pV(e){return n.jsx(r,{...e,iconKey:"travel_explore"})}function wV(e){return n.jsx(r,{...e,iconKey:"trending_down"})}function kV(e){return n.jsx(r,{...e,iconKey:"trending_flat"})}function mV(e){return n.jsx(r,{...e,iconKey:"trending_up"})}function vV(e){return n.jsx(r,{...e,iconKey:"trip_origin"})}function KV(e){return n.jsx(r,{...e,iconKey:"troubleshoot"})}function CV(e){return n.jsx(r,{...e,iconKey:"try"})}function SV(e){return n.jsx(r,{...e,iconKey:"tsunami"})}function BV(e){return n.jsx(r,{...e,iconKey:"tty"})}function EV(e){return n.jsx(r,{...e,iconKey:"tune"})}function FV(e){return n.jsx(r,{...e,iconKey:"tungsten"})}function PV(e){return n.jsx(r,{...e,iconKey:"turn_left"})}function DV(e){return n.jsx(r,{...e,iconKey:"turn_right"})}function NV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_left"})}function TV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_right"})}function MV(e){return n.jsx(r,{...e,iconKey:"turn_slight_left"})}function OV(e){return n.jsx(r,{...e,iconKey:"turn_slight_right"})}function LV(e){return n.jsx(r,{...e,iconKey:"turned_in"})}function QV(e){return n.jsx(r,{...e,iconKey:"turned_in_not"})}function VV(e){return n.jsx(r,{...e,iconKey:"tv"})}function WV(e){return n.jsx(r,{...e,iconKey:"tv_off"})}function GV(e){return n.jsx(r,{...e,iconKey:"two_wheeler"})}function zV(e){return n.jsx(r,{...e,iconKey:"type_specimen"})}function HV(e){return n.jsx(r,{...e,iconKey:"u_turn_left"})}function UV(e){return n.jsx(r,{...e,iconKey:"u_turn_right"})}function YV(e){return n.jsx(r,{...e,iconKey:"umbrella"})}function $V(e){return n.jsx(r,{...e,iconKey:"unarchive"})}function jV(e){return n.jsx(r,{...e,iconKey:"undo"})}function qV(e){return n.jsx(r,{...e,iconKey:"unfold_less"})}function JV(e){return n.jsx(r,{...e,iconKey:"unfold_less_double"})}function ZV(e){return n.jsx(r,{...e,iconKey:"unfold_more"})}function XV(e){return n.jsx(r,{...e,iconKey:"unfold_more_double"})}function xV(e){return n.jsx(r,{...e,iconKey:"unpublished"})}function RV(e){return n.jsx(r,{...e,iconKey:"unsubscribe"})}function eW(e){return n.jsx(r,{...e,iconKey:"upcoming"})}function nW(e){return n.jsx(r,{...e,iconKey:"update"})}function oW(e){return n.jsx(r,{...e,iconKey:"update_disabled"})}function rW(e){return n.jsx(r,{...e,iconKey:"upgrade"})}function tW(e){return n.jsx(r,{...e,iconKey:"upload"})}function Wc(e){return n.jsx(r,{...e,iconKey:"upload_file"})}function cW(e){return n.jsx(r,{...e,iconKey:"usb"})}function iW(e){return n.jsx(r,{...e,iconKey:"usb_off"})}function aW(e){return n.jsx(r,{...e,iconKey:"vaccines"})}function lW(e){return n.jsx(r,{...e,iconKey:"vape_free"})}function sW(e){return n.jsx(r,{...e,iconKey:"vaping_rooms"})}function dW(e){return n.jsx(r,{...e,iconKey:"verified"})}function uW(e){return n.jsx(r,{...e,iconKey:"verified_user"})}function fW(e){return n.jsx(r,{...e,iconKey:"vertical_align_bottom"})}function AW(e){return n.jsx(r,{...e,iconKey:"vertical_align_center"})}function yW(e){return n.jsx(r,{...e,iconKey:"vertical_align_top"})}function _W(e){return n.jsx(r,{...e,iconKey:"vertical_distribute"})}function hW(e){return n.jsx(r,{...e,iconKey:"vertical_shades"})}function gW(e){return n.jsx(r,{...e,iconKey:"vertical_shades_closed"})}function IW(e){return n.jsx(r,{...e,iconKey:"vertical_split"})}function bW(e){return n.jsx(r,{...e,iconKey:"vibration"})}function pW(e){return n.jsx(r,{...e,iconKey:"video_call"})}function wW(e){return n.jsx(r,{...e,iconKey:"video_camera_back"})}function kW(e){return n.jsx(r,{...e,iconKey:"video_camera_front"})}function mW(e){return n.jsx(r,{...e,iconKey:"video_chat"})}function vW(e){return n.jsx(r,{...e,iconKey:"video_file"})}function KW(e){return n.jsx(r,{...e,iconKey:"video_label"})}function CW(e){return n.jsx(r,{...e,iconKey:"video_library"})}function SW(e){return n.jsx(r,{...e,iconKey:"video_settings"})}function BW(e){return n.jsx(r,{...e,iconKey:"video_stable"})}function EW(e){return n.jsx(r,{...e,iconKey:"videocam"})}function FW(e){return n.jsx(r,{...e,iconKey:"videocam_off"})}function PW(e){return n.jsx(r,{...e,iconKey:"videogame_asset"})}function DW(e){return n.jsx(r,{...e,iconKey:"videogame_asset_off"})}function NW(e){return n.jsx(r,{...e,iconKey:"view_agenda"})}function TW(e){return n.jsx(r,{...e,iconKey:"view_array"})}function MW(e){return n.jsx(r,{...e,iconKey:"view_carousel"})}function OW(e){return n.jsx(r,{...e,iconKey:"view_column"})}function LW(e){return n.jsx(r,{...e,iconKey:"view_comfy"})}function QW(e){return n.jsx(r,{...e,iconKey:"view_comfy_alt"})}function VW(e){return n.jsx(r,{...e,iconKey:"view_compact"})}function WW(e){return n.jsx(r,{...e,iconKey:"view_compact_alt"})}function GW(e){return n.jsx(r,{...e,iconKey:"view_cozy"})}function zW(e){return n.jsx(r,{...e,iconKey:"view_day"})}function HW(e){return n.jsx(r,{...e,iconKey:"view_headline"})}function UW(e){return n.jsx(r,{...e,iconKey:"view_in_ar"})}function YW(e){return n.jsx(r,{...e,iconKey:"view_kanban"})}function $W(e){return n.jsx(r,{...e,iconKey:"view_list"})}function jW(e){return n.jsx(r,{...e,iconKey:"view_module"})}function qW(e){return n.jsx(r,{...e,iconKey:"view_quilt"})}function JW(e){return n.jsx(r,{...e,iconKey:"view_sidebar"})}function Gc(e){return n.jsx(r,{...e,iconKey:"view_stream"})}function ZW(e){return n.jsx(r,{...e,iconKey:"view_timeline"})}function XW(e){return n.jsx(r,{...e,iconKey:"view_week"})}function xW(e){return n.jsx(r,{...e,iconKey:"vignette"})}function RW(e){return n.jsx(r,{...e,iconKey:"villa"})}function e5(e){return n.jsx(r,{...e,iconKey:"visibility"})}function n5(e){return n.jsx(r,{...e,iconKey:"visibility_off"})}function o5(e){return n.jsx(r,{...e,iconKey:"voice_chat"})}function r5(e){return n.jsx(r,{...e,iconKey:"voice_over_off"})}function t5(e){return n.jsx(r,{...e,iconKey:"voicemail"})}function c5(e){return n.jsx(r,{...e,iconKey:"volcano"})}function i5(e){return n.jsx(r,{...e,iconKey:"volume_down"})}function a5(e){return n.jsx(r,{...e,iconKey:"volume_mute"})}function l5(e){return n.jsx(r,{...e,iconKey:"volume_off"})}function s5(e){return n.jsx(r,{...e,iconKey:"volume_up"})}function d5(e){return n.jsx(r,{...e,iconKey:"volunteer_activism"})}function u5(e){return n.jsx(r,{...e,iconKey:"vpn_key"})}function f5(e){return n.jsx(r,{...e,iconKey:"vpn_key_off"})}function A5(e){return n.jsx(r,{...e,iconKey:"vpn_lock"})}function y5(e){return n.jsx(r,{...e,iconKey:"vrpano"})}function _5(e){return n.jsx(r,{...e,iconKey:"wallet"})}function h5(e){return n.jsx(r,{...e,iconKey:"wallpaper"})}function g5(e){return n.jsx(r,{...e,iconKey:"warehouse"})}function I5(e){return n.jsx(r,{...e,iconKey:"warning"})}function b5(e){return n.jsx(r,{...e,iconKey:"warning_amber"})}function p5(e){return n.jsx(r,{...e,iconKey:"wash"})}function w5(e){return n.jsx(r,{...e,iconKey:"watch"})}function k5(e){return n.jsx(r,{...e,iconKey:"watch_later"})}function m5(e){return n.jsx(r,{...e,iconKey:"watch_off"})}function v5(e){return n.jsx(r,{...e,iconKey:"water"})}function K5(e){return n.jsx(r,{...e,iconKey:"water_damage"})}function C5(e){return n.jsx(r,{...e,iconKey:"water_drop"})}function S5(e){return n.jsx(r,{...e,iconKey:"waterfall_chart"})}function B5(e){return n.jsx(r,{...e,iconKey:"waves"})}function E5(e){return n.jsx(r,{...e,iconKey:"waving_hand"})}function F5(e){return n.jsx(r,{...e,iconKey:"wb_auto"})}function P5(e){return n.jsx(r,{...e,iconKey:"wb_cloudy"})}function D5(e){return n.jsx(r,{...e,iconKey:"wb_incandescent"})}function N5(e){return n.jsx(r,{...e,iconKey:"wb_iridescent"})}function T5(e){return n.jsx(r,{...e,iconKey:"wb_shade"})}function M5(e){return n.jsx(r,{...e,iconKey:"wb_sunny"})}function O5(e){return n.jsx(r,{...e,iconKey:"wb_twilight"})}function L5(e){return n.jsx(r,{...e,iconKey:"wc"})}function Q5(e){return n.jsx(r,{...e,iconKey:"web"})}function V5(e){return n.jsx(r,{...e,iconKey:"web_asset"})}function W5(e){return n.jsx(r,{...e,iconKey:"web_asset_off"})}function G5(e){return n.jsx(r,{...e,iconKey:"web_stories"})}function z5(e){return n.jsx(r,{...e,iconKey:"webhook"})}function H5(e){return n.jsx(r,{...e,iconKey:"weekend"})}function U5(e){return n.jsx(r,{...e,iconKey:"west"})}function Y5(e){return n.jsx(r,{...e,iconKey:"whatshot"})}function $5(e){return n.jsx(r,{...e,iconKey:"wheelchair_pickup"})}function j5(e){return n.jsx(r,{...e,iconKey:"where_to_vote"})}function q5(e){return n.jsx(r,{...e,iconKey:"widgets"})}function J5(e){return n.jsx(r,{...e,iconKey:"width_full"})}function Z5(e){return n.jsx(r,{...e,iconKey:"width_normal"})}function X5(e){return n.jsx(r,{...e,iconKey:"width_wide"})}function x5(e){return n.jsx(r,{...e,iconKey:"wifi"})}function R5(e){return n.jsx(r,{...e,iconKey:"wifi_1_bar"})}function eG(e){return n.jsx(r,{...e,iconKey:"wifi_2_bar"})}function nG(e){return n.jsx(r,{...e,iconKey:"wifi_calling"})}function oG(e){return n.jsx(r,{...e,iconKey:"wifi_calling_3"})}function rG(e){return n.jsx(r,{...e,iconKey:"wifi_channel"})}function tG(e){return n.jsx(r,{...e,iconKey:"wifi_find"})}function cG(e){return n.jsx(r,{...e,iconKey:"wifi_lock"})}function iG(e){return n.jsx(r,{...e,iconKey:"wifi_off"})}function aG(e){return n.jsx(r,{...e,iconKey:"wifi_password"})}function lG(e){return n.jsx(r,{...e,iconKey:"wifi_protected_setup"})}function sG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering"})}function dG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_error"})}function uG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_off"})}function fG(e){return n.jsx(r,{...e,iconKey:"wind_power"})}function AG(e){return n.jsx(r,{...e,iconKey:"window"})}function yG(e){return n.jsx(r,{...e,iconKey:"wine_bar"})}function _G(e){return n.jsx(r,{...e,iconKey:"woman"})}function hG(e){return n.jsx(r,{...e,iconKey:"woman_2"})}function gG(e){return n.jsx(r,{...e,iconKey:"work"})}function IG(e){return n.jsx(r,{...e,iconKey:"work_history"})}function bG(e){return n.jsx(r,{...e,iconKey:"work_off"})}function pG(e){return n.jsx(r,{...e,iconKey:"work_outline"})}function wG(e){return n.jsx(r,{...e,iconKey:"workspace_premium"})}function kG(e){return n.jsx(r,{...e,iconKey:"workspaces"})}function mG(e){return n.jsx(r,{...e,iconKey:"wrap_text"})}function vG(e){return n.jsx(r,{...e,iconKey:"wrong_location"})}function KG(e){return n.jsx(r,{...e,iconKey:"wysiwyg"})}function CG(e){return n.jsx(r,{...e,iconKey:"yard"})}function SG(e){return n.jsx(r,{...e,iconKey:"youtube_searched_for"})}function BG(e){return n.jsx(r,{...e,iconKey:"zoom_in"})}function EG(e){return n.jsx(r,{...e,iconKey:"zoom_in_map"})}function FG(e){return n.jsx(r,{...e,iconKey:"zoom_out"})}function PG(e){return n.jsx(r,{...e,iconKey:"zoom_out_map"})}function Ce({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(q,{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(q,{variant:"caption",color:a?"disabled":"secondary",className:"flex-grow",children:s||c.description}),c.longDescription&&n.jsx(Ae,{title:c.longDescription,side:"bottom",children:n.jsx(Z,{size:"small",className:"self-start",children:n.jsx(Ec,{color:"disabled",size:"small"})})})]})}const zc=u.createContext({}),Ge=()=>u.useContext(zc),Hc=u.createContext({}),fe=()=>u.useContext(Hc),Dr=u.createContext({}),fn=()=>u.useContext(Dr),Uc=u.createContext({}),io=()=>u.useContext(Uc),Yc=u.createContext({}),An=()=>u.useContext(Yc),$c=u.createContext({}),Dn=()=>u.useContext($c),yn=()=>{const{enqueueSnackbar:e,closeSnackbar:t}=Zt.useSnackbar(),c=u.useCallback(a=>{const{type:l,message:s,autoHideDuration:d}=a;e({message:s,variant:l,autoHideDuration:d})},[]),i=u.useCallback(()=>{t()},[]);return u.useMemo(()=>({open:c,close:i}),[c,i])},jc=u.createContext(void 0),Nn=()=>u.useContext(jc),qc=u.createContext({}),DG=({children:e})=>{const[t,c]=u.useState([]),i=u.useRef(t),a=d=>{i.current=d,c(d)},l=u.useCallback(()=>{if(t.length===0)return;const d=[...t.slice(0,-1)];a(d)},[t]),s=u.useCallback(d=>{const f=[...t,d];return a(f),{closeDialog:()=>{const A=i.current.filter(_=>_.key!==d.key);a(A)}}},[t]);return n.jsxs(qc.Provider,{value:{open:s,close:l},children:[e,t.map((d,f)=>n.jsx(d.Component,{open:!0},`dialog_${f}`))]})},NG=()=>u.useContext(qc),Nr=u.createContext({}),x=()=>{const e=u.useContext(Nr),t=fn(),c=io(),i=An(),a=fe(),l=Ge(),s=Dn(),d=yn(),f=Nn(),A=NG();return{...e,authController:t,sideDialogsController:c,sideEntityController:i,navigation:a,dataSource:l,storageSource:s,snackbarController:d,userConfigPersistence:f,dialogsController:A}};function Jc({path:e,collection:t,filterValues:c,sortBy:i,itemCount:a,searchString:l}){const s=Ge(),f=fe().resolveAliasesFrom(e),A=i?i[0]:void 0,_=i?i[1]:void 0,h=x(),[g,y]=u.useState([]),[I,b]=u.useState(!1),[p,w]=u.useState(),[k,m]=u.useState(!1);return u.useEffect(()=>{b(!0);const C=async B=>{if(t.callbacks?.onFetch)try{B=await Promise.all(B.map(K=>t.callbacks.onFetch({collection:t,path:f,entity:K,context:h})))}catch(K){console.error(K)}b(!1),w(void 0),y(B.map(K=>({...K}))),m(!a||B.length<a)},v=B=>{console.error("ERROR",B),b(!1),y([]),w(B)};return s.listenCollection?s.listenCollection({path:f,collection:t,onUpdate:C,onError:v,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:_}):(s.fetchCollection({path:f,collection:t,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:_}).then(C).catch(v),()=>{})},[f,a,_,A,c,l]),{data:g,dataLoading:I,dataLoadingError:p,noMoreToLoad:k}}const Tr={};function Mr({path:e,entityId:t,collection:c,useCache:i=!1}){const a=Ge(),s=fe().resolveAliasesFrom(e),d=x(),[f,A]=u.useState(),[_,h]=u.useState(!0),[g,y]=u.useState();return u.useEffect(()=>{h(!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)}Tr[`${s}/${t}`]=p,A(p),h(!1),y(void 0)},b=p=>{console.error("ERROR fetching entity",p),h(!1),A(void 0),y(p)};return t&&i&&Tr[`${s}/${t}`]?(A(Tr[`${s}/${t}`]),h(!1),y(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:f,dataLoading:_,dataLoadingError:g}}async function Or({collection:e,path:t,entityId:c,values:i,previousValues:a,status:l,dataSource:s,context:d,onSaveSuccess:f,onSaveFailure:A,onPreSaveHookError:_,onSaveSuccessHookError:h}){let g;const y=d.navigation.resolveAliasesFrom(t),I=e.callbacks;if(I?.onPreSave)try{const b=Oe({collection:e,path:t,values:a,entityId:c,fields:d.fields});g=await I.onPreSave({collection:b,path:t,resolvedPath:y,entityId:c,values:i,previousValues:a,status:l,context:d})}catch(b){console.error(b),_&&_(b);return}else g=i;return s.saveEntity({collection:e,path:y,entityId:c,values:g,previousValues:a,status:l}).then(b=>{try{if(I?.onSaveSuccess){const p=Oe({collection:e,path:t,values:g,entityId:c,fields:d.fields});I.onSaveSuccess({collection:p,path:t,resolvedPath:y,entityId:b.id,values:g,previousValues:a,status:l,context:d})}}catch(p){h&&h(p)}f&&f(b)}).catch(b=>{if(I?.onSaveFailure){const p=Oe({collection:e,path:t,values:g,entityId:c,fields:d.fields});I.onSaveFailure({collection:p,path:t,resolvedPath:y,entityId:c,values:g,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:f}){console.debug("Deleting entity",t.path,t.id);const A={entity:t,collection:c,entityId:t.id,path:t.path,context:f};if(i?.onPreDelete)try{await i.onPreDelete(A)}catch(_){return console.error(_),s&&s(t,_),!1}return e.deleteEntity({entity:t}).then(()=>{a&&a(t);try{return i?.onDelete&&i.onDelete(A),!0}catch(_){return d&&d(t,_),!1}}).catch(_=>(l&&l(t,_),!1))}function Qe({property:e,value:t,setValue:c}){const i=u.useRef(null);u.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 Xc({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=mt({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(f=>{if(f)return{...s,entity:f}})}else{if(s.type==="custom_view")return Promise.resolve(s);throw Error("Unmapped element in useEntitiesFromPath")}}).filter(s=>!!s);return Promise.all(l)}function TG({path:e}){const t=x(),[c,i]=u.useState(),[a,l]=u.useState(!1),[s,d]=u.useState();return u.useEffect(()=>{t.navigation&&(l(!0),d(void 0),Xc({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 Lr=()=>u.useContext(ur),xc=e=>{const{onSuccess:t,onError:c,disableClipboardAPI:i=!1,copiedDuration:a}=e||{},l=u.useRef(null),[s,d]=u.useState(!1),[f,A]=u.useState("");u.useEffect(()=>{a&&setTimeout(()=>d(!1),a)},[s]);const _=()=>navigator.clipboard!==void 0,h=u.useCallback(k=>{if(c)c(k);else throw new Error(k)},[c]),g=u.useCallback(k=>{t&&t(k),d(!0),A(k)},[t]),y=u.useCallback(k=>{navigator.clipboard.writeText(k).then(()=>g(k)).catch(m=>{h(m),d(!1)})},[h,g]),I=()=>{_()&&navigator.clipboard.writeText("")},b=k=>w("copy",typeof k=="object"?void 0:k),p=()=>w("cut"),w=u.useCallback((k="copy",m)=>{const C=l.current,v=C&&(C.tagName==="INPUT"||C.tagName==="TEXTAREA"),B=l.current;_()&&!i&&(m?y(m):C?v?(y(B.value),k==="cut"&&(B.value="")):y(C.innerText):h("Both the ref & text were undefined"))},[i,y,h]);return{ref:l,isCoppied:s,clipboard:f,clearClipboard:I,isSupported:_,copy:b,cut:p}},Qr=()=>u.useContext(ec),MG={xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536,"3xl":1920},ze=(e="lg")=>{const[t,c]=u.useState(!1);return u.useEffect(()=>{const i=()=>{const a=window.matchMedia(`(min-width: ${MG[e]+1}px)`).matches;c(a)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[]),t};function ao(e){const t=fe(),c=io(),i=u.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(Ia,{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=u.useCallback(()=>{c.close()},[c]);return{open:i,close:a}}const OG=`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 LG(e,t){u.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??OG}},[e,t])}function QG({delegate:e,customFields:t}){return{fetchCollection:u.useCallback(({path:c,collection:i,filter:a,limit:l,startAfter:s,searchString:d,orderBy:f,order:A})=>e.fetchCollection({path:c,filter:a,limit:l,startAfter:s,searchString:d,orderBy:f,order:A}),[e]),listenCollection:e.listenCollection?u.useCallback(({path:c,collection:i,filter:a,limit:l,startAfter:s,searchString:d,orderBy:f,order:A,onUpdate:_,onError:h})=>{const g=!!i.collectionGroup;if(!e.listenCollection)throw Error("useBuildDataSource delegate not initialised");return e.listenCollection({path:c,filter:a,limit:l,startAfter:s,searchString:d,orderBy:f,order:A,onUpdate:_,onError:h,isCollectionGroup:g})},[e]):void 0,fetchEntity:u.useCallback(({path:c,entityId:i})=>e.fetchEntity({path:c,entityId:i}),[e]),listenEntity:e.listenEntity?u.useCallback(({path:c,entityId:i,collection:a,onUpdate:l,onError:s})=>{if(!e.listenEntity)throw Error("useBuildDataSource delegate not initialised");return e.listenEntity({path:c,entityId:i,onUpdate:l,onError:s})},[e.listenEntity]):void 0,saveEntity:u.useCallback(({path:c,entityId:i,values:a,collection:l,status:s})=>{const f=Oe({collection:l,path:c,entityId:i,fields:t}).properties,A=Lo(a,e.buildReference,e.buildGeoPoint,e.buildDate,e.buildDeleteFieldValue),_=tc({inputValues:A,properties:f,status:s,timestampNowValue:e.currentTime(),setDateToMidnight:e.setDateToMidnight});return console.debug("Saving entity",c,i,_),e.saveEntity({path:c,entityId:i,values:_,status:s}).then(h=>({id:h.id,path:h.path,values:e.delegateToCMSModel(_)}))},[e.saveEntity]),deleteEntity:u.useCallback(({entity:c})=>e.deleteEntity({entity:c}),[e.deleteEntity]),checkUniqueField:u.useCallback((c,i,a,l)=>e.checkUniqueField(c,i,a,l),[e.checkUniqueField]),generateEntityId:u.useCallback(c=>e.generateEntityId(c),[e.generateEntityId]),countEntities:u.useCallback(async({path:c,collection:i,filter:a,order:l,orderBy:s})=>e.countEntities({path:c,filter:a,orderBy:s,order:l,isCollectionGroup:!!i.collectionGroup}),[e.countEntities]),isFilterCombinationValid:u.useCallback(({path:c,filterValues:i,sortBy:a})=>e.isFilterCombinationValid?e.isFilterCombinationValid({path:c,filterValues:i,sortBy:a}):!0,[e.isFilterCombinationValid])}}function Lo(e,t,c,i,a){return e===void 0?a():Array.isArray(e)?e.map(l=>Lo(l,t,c,i,a)):e instanceof Ue?t(e):e instanceof Ko?c(e):e instanceof Date?i(e):e&&typeof e=="object"?Object.entries(e).map(([l,s])=>({[l]:Lo(s,t,c,i,a)})).reduce((l,s)=>({...l,...s}),{}):e}function Tn(){return n.jsx("div",{className:"rounded-full bg-gray-200 bg-opacity-30 dark:bg-opacity-20 w-5 h-2 inline-block"})}const VG=40,WG=100,GG=200;function Mn(e){if(e==="tiny")return VG;if(e==="small")return WG;if(e==="medium")return GG;throw Error("Thumbnail size not mapped")}function _n(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 On(e,t){u.useEffect(()=>{if(!document.getElementById(e)){const i=document.createElement("style");i.id=e,i.innerHTML=t,document.head.appendChild(i)}},[e,t])}const Ae=({open:e,side:t="bottom",sideOffset:c,onOpenChange:i,title:a,className:l,style:s,tooltipClassName:d,children:f})=>(On("Tooltip",zG),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:f})}),n.jsx(xn.Portal,{children:n.jsx(xn.Content,{className:F("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:f})),zG=`
3
3
 
4
4
  .TooltipContent {
5
5
  animation-duration: 220ms;
@@ -63,9 +63,9 @@
63
63
  opacity: 1;
64
64
  transform: translateX(0);
65
65
  }
66
- }`;function qc({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(Ae,{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(no,{className:"text-gray-500",size:"small"})})})}),n.jsx(Ae,{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(oo,{className:"text-gray-500",size:"small"})})})]})]},"image_preview_"+t)}function io({url:e,previewType:t,size:c,hint:i}){return t?t==="image"?n.jsx(qc,{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(Ac,{className:"flex-grow"}),i&&n.jsx(Ae,{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(oo,{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=QG(i,t):i.storage?c=Mr(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)=>Tr(a,l))," "]}):i.of.dataType==="map"&&i.of.properties?c=TG(i.of.properties,t,i.of.previewProperties):i.of.dataType==="string"?i.of.enumValues?c=OG():i.of.storage?c=Tr(i.of):c=MG():c=Tr(i.of))}else e.dataType==="map"?c=NG(e,t):e.dataType==="date"?c=en():e.dataType==="reference"?c=LG():(e.dataType,c=en());return c||null}function NG(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 TG(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 MG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>en(t))})}function OG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>n.jsx(n.Fragment,{children:en(t)}))})}function Tr(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 Mr(e){const t=e==="tiny"?40:e==="small"?100:200;return n.jsx(Ve,{width:t,height:t})}function LG(){return n.jsx(Ve,{width:200,height:100})}function QG(e,t="medium"){return typeof e.url=="boolean"?n.jsxs("div",{style:{display:"flex"},children:[Or(),en()]}):VG(t)}function VG(e){return n.jsx("div",{className:`w-${Pn(e)} h-${Pn(e)}`,children:Or()})}function en(e,t=120){return n.jsx(Ve,{width:t},`skeleton_${e}`)}function WG(e){return n.jsx(Ve,{height:20})}function Or(){return n.jsx(Ve,{width:24,height:24})}const Jc=f.memo(Xc,GG);function GG(e,t){return e.size===t.size&&e.storagePathOrDownloadUrl===t.storagePathOrDownloadUrl&&e.storeUrl===t.storeUrl}const Zc={};function Xc({storeUrl:e,storagePathOrDownloadUrl:t,size:c}){const[i,a]=f.useState(void 0),l=Bn(),[s,d]=f.useState(Zc[t]);if(f.useEffect(()=>{if(!t)return;let y=!1;return l.getDownloadURL(t).then(function(g){y||(d(g),Zc[t]=g)}).catch(a),()=>{y=!0}},[t]),!t)return null;const u=s?.metadata?zG(s?.metadata.contentType):void 0,A=u?.startsWith("image")?"image":u?.startsWith("video")?"video":u?.startsWith("audio")?"audio":"file";return s?.fileNotFound?n.jsx(be,{error:"File not found"}):s?.url?n.jsx(io,{previewType:A,url:s.url,size:c,hint:t}):Mr(c)}function zG(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 HG={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"?ol(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":"",HG[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=sn(e),s=t!==void 0?So(l,t):void 0,d=tc(s),u=rc(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 Lr({propertyKey:e,value:t,property:c,size:i}){if(c.enumValues){const a=t,l=gt(c);return n.jsx(Se,{enumKey:a,enumValues:l.enumValues,size:i!=="medium"?"small":"medium"})}else if(c.previewAsTag){const a=oc(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(io,{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 Rc({size:e,url:t}){const[c,i]=u.useState(!1),a=u.useMemo(()=>Mn(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(Ae,{title:"Copy url to clipboard",children:n.jsx("div",{className:"rounded-full absolute bottom-[-4px] right-8",children:n.jsx(Z,{variant:"filled",size:"small",onClick:s=>(s.stopPropagation(),s.preventDefault(),navigator.clipboard.writeText(t)),children:n.jsx(ro,{className:"text-gray-500",size:"small"})})})}),n.jsx(Ae,{title:"Open image in new tab",children:n.jsx(Z,{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(to,{className:"text-gray-500",size:"small"})})})]})]},"image_preview_"+t)}function lo({url:e,previewType:t,size:c,hint:i}){return t?t==="image"?n.jsx(Rc,{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:Mn(c),height:Mn(c)},children:[n.jsx(gc,{className:"flex-grow"}),i&&n.jsx(Ae,{title:i,children:n.jsx(q,{className:"max-w-full truncate rtl text-left",variant:"caption",children:i})})]}):!e||!e.trim()?n.jsx(Tn,{}):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(to,{size:"small"}),e]})}function He({width:e,height:t,className:c}){return n.jsx("span",{className:F("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 Ln({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=qG(i,t):i.storage?c=Wr(t):c=nn()}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)=>Vr(a,l))," "]}):i.of.dataType==="map"&&i.of.properties?c=UG(i.of.properties,t,i.of.previewProperties):i.of.dataType==="string"?i.of.enumValues?c=$G():i.of.storage?c=Vr(i.of):c=YG():c=Vr(i.of))}else e.dataType==="map"?c=HG(e,t):e.dataType==="date"?c=nn():e.dataType==="reference"?c=jG():(e.dataType,c=nn());return c||null}function HG(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(Ln,{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(Ln,{property:e.properties[i],size:"small"})},`table-cell-${i}`)]},`map_preview_table__${a}`))})})}function UG(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(Ln,{property:e[s],size:"small"})},`table-cell-${s}`))},`table_${a}_${l}`))})})}function YG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>nn(t))})}function $G(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>n.jsx(n.Fragment,{children:nn(t)}))})}function Vr(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(Ln,{property:e,size:"small"},`i_${i}`)}))},"array_index_"+t)}function Wr(e){const t=e==="tiny"?40:e==="small"?100:200;return n.jsx(He,{width:t,height:t})}function jG(){return n.jsx(He,{width:200,height:100})}function qG(e,t="medium"){return typeof e.url=="boolean"?n.jsxs("div",{style:{display:"flex"},children:[Gr(),nn()]}):JG(t)}function JG(e){return n.jsx("div",{className:`w-${Mn(e)} h-${Mn(e)}`,children:Gr()})}function nn(e,t=120){return n.jsx(He,{width:t},`skeleton_${e}`)}function ZG(e){return n.jsx(He,{height:20})}function Gr(){return n.jsx(He,{width:24,height:24})}const ei=u.memo(oi,XG);function XG(e,t){return e.size===t.size&&e.storagePathOrDownloadUrl===t.storagePathOrDownloadUrl&&e.storeUrl===t.storeUrl}const ni={};function oi({storeUrl:e,storagePathOrDownloadUrl:t,size:c}){const[i,a]=u.useState(void 0),l=Dn(),[s,d]=u.useState(ni[t]);if(u.useEffect(()=>{if(!t)return;let _=!1;return l.getDownloadURL(t).then(function(h){_||(d(h),ni[t]=h)}).catch(a),()=>{_=!0}},[t]),!t)return null;const f=s?.metadata?xG(s?.metadata.contentType):void 0,A=f?.startsWith("image")?"image":f?.startsWith("video")?"video":f?.startsWith("audio")?"audio":"file";return s?.fileNotFound?n.jsx(we,{error:"File not found"}):s?.url?n.jsx(lo,{previewType:A,url:s.url,size:c,hint:t}):Wr(c)}function xG(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 RG={smaller:"px-2 py-0.5 text-sm",small:"px-3 py-1 text-sm",medium:"px-4 py-1.5 text-sm"};function Qo({children:e,colorScheme:t,error:c,outlined:i,onClick:a,icon:l,size:s="medium",className:d}){const f=typeof t=="string"?sl(t):t;return n.jsxs("div",{className:F("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":"",RG[s],c||!f?"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||!f?void 0:f.color,color:c||!f?void 0:f.text},children:[e,l]})}function Pe({enumValues:e,enumKey:t,size:c,className:i,children:a}){if(!e)return null;const l=dn(e),s=t!==void 0?Po(l,t):void 0,d=lc(s),f=ac(l,t);return n.jsxs(Qo,{className:i,colorScheme:f,error:!d,outlined:!1,size:c,children:[a,!a&&(d!==void 0?d:String(t))]})}function zr({propertyKey:e,value:t,property:c,size:i}){if(c.enumValues){const a=t,l=wt(c);return n.jsx(Pe,{enumKey:a,enumValues:l.enumValues,size:i!=="medium"?"small":"medium"})}else if(c.previewAsTag){const a=ic(e??"");return n.jsx(se,{children:n.jsx(Qo,{colorScheme:a,size:i!=="medium"?"small":"medium",children:t})})}else{if(c.url)return n.jsx(lo,{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 xc({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=An({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 ye="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",Qr="focus:bg-opacity-70 focus:bg-gray-100 focus:dark:bg-gray-800 focus:dark:bg-opacity-60",Vr="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",Wr="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",ue="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",Rc="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",ei="hover:bg-blue-100 dark:hover:bg-blue-900 hover:bg-opacity-20 dark:hover:bg-opacity-20 hover:ring-2 cursor-pointer",UG="bg-blue-100 dark:bg-blue-900 bg-opacity-30 dark:bg-opacity-10 ring-1 ring-primary ring-opacity-75";function Gr({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=An({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(ue,"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 je?n.jsx($G,{...t}):(console.warn("Reference preview received value of type",typeof c),n.jsx(To,{onClick:t.onClick,size:t.size,children:n.jsx(be,{error:"Unexpected value. Click to edit",tooltip:JSON.stringify(c)})}))},YG);function YG(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 $G({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(jG,{reference:t,collection:A,previewProperties:c,size:i,disabled:e,allowEntityNavigation:s,onClick:l,onHover:a})}function jG({reference:e,collection:t,previewProperties:c,size:i,disabled:a,allowEntityNavigation:l,onClick:s,onHover:d}){const u=ee(),A=wn(),{entity:y,dataLoading:g,dataLoadingError:h}=Fr({path:e.path,entityId:e.id,collection:t,useCache:!0});y&&ni.set(e.pathWithId,y);const _=y??ni.get(e.pathWithId),I=f.useMemo(()=>Me({collection:t,path:e.path,values:_?.values,fields:u.fields}),[t]),b=f.useMemo(()=>Wi(I,u.fields,c,i==="small"||i==="medium"?3:1),[c,I,i]);let p;return I?(e?_&&!_.values?p=n.jsx(be,{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(Ve,{})),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:ln(_.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(Ae,{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(be,{error:"Reference not set"}),n.jsx(To,{onClick:a?void 0:s,onHover:a?void 0:d,size:i,children:p})):n.jsx(be,{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 ni=new Map;function oi({propertyKey:e,value:t,property:c,size:i}){const a=ee(),l=An({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 ri({propertyKey:e,entity:t,value:c,property:i,size:a}){const l=ee(),s=An({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 zr({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 Hr({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(zr,{name:e,value:t,enumValues:a.enumValues,size:i}):null}function ti({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=An({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(Lr,{propertyKey:e,property:d,value:u,entity:i,size:a})})},`preview_array_strings_${e}_${A}`))})}function ci({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=An({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??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(ue,"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 ii({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(Ur,{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(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(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(ue,"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 Ur({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(le,{children:c&&c.toString()})})})]}),typeof c=="object"&&n.jsx("div",{className:E(ue,"border-l pl-4"),children:n.jsx(Ur,{value:c})})]},`map_preview_table_${t}}`))})}const ai="MMMM dd, yyyy, HH:mm:ss";function li({date:e}){const t=ee(),c=t?.locale?Zt[t?.locale]:void 0,i=t?.dateTimeFormat??ai,a=e?Oa(e,i,{locale:c}):"";return n.jsx(n.Fragment,{children:a})}const qG={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"},JG={medium:"w-10 h-10",small:"w-8 h-8",large:"w-12 h-12"},Yr=({checked:e,indeterminate:t=!1,disabled:c,size:i="medium",onCheckedChange:a})=>{const l=t?!1:e;return n.jsx("div",{className:E(JG[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",qG[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 si({value:e}){return n.jsx(Yr,{checked:e})}function di({value:e,property:t,size:c}){if(t.enumValues){const i=e,a=sn(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=De({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(io,{size:e.size,url:l}):typeof g.url=="string"&&(c=n.jsx(io,{size:e.size,url:l,previewType:g.url})):g.storage?c=n.jsx(Jc,{storeUrl:y.storage?.storeUrl??!1,size:e.size,storagePathOrDownloadUrl:l}):g.markdown?c=n.jsx(ao,{source:l}):c=n.jsx(Lr,{...e,property:g,value:l}):c=kn(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(Gr,{...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(oi,{...e,value:l,property:y}):g.of.dataType==="string"?g.of.enumValues?c=n.jsx(Hr,{...e,value:l,property:y}):g.of.storage?c=n.jsx(ri,{...e,value:l,property:y}):c=n.jsx(ti,{...e,value:l,property:y}):g.of.dataType==="number"&&g.of.enumValues?c=n.jsx(Hr,{...e,value:l,property:y}):c=n.jsx(Gr,{...e,value:l,property:y}):g.oneOf&&(c=n.jsx(ci,{...e,value:l,property:y}))}else c=kn(a,y.dataType,l);else y.dataType==="map"?typeof l=="object"?c=n.jsx(ii,{...e,property:y}):c=kn(a,y.dataType,l):y.dataType==="date"?l instanceof Date?c=n.jsx(li,{date:l}):c=kn(a,y.dataType,l):y.dataType==="reference"?typeof y.path=="string"?l instanceof je?c=n.jsx(on,{disabled:!y.path,previewProperties:y.previewProperties,size:e.size,onClick:e.onClick,reference:l}):c=kn(a,y.dataType,l):c=n.jsx(Fn,{}):y.dataType==="boolean"?typeof l=="boolean"?c=n.jsx(si,{value:l}):c=kn(a,y.dataType,l):y.dataType==="number"?typeof l=="number"?c=n.jsx(di,{...e,value:l,property:y}):c=kn(a,y.dataType,l):c=JSON.stringify(l);return c??n.jsx(Fn,{})}function kn(e,t,c){return console.warn(`Unexpected value for property ${e}, of type ${t}`,c),n.jsx(be,{title:"Unexpected value",error:`${JSON.stringify(c)}`})}const ZG=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(Ve,{}):n.jsx(ae.Fragment,{children:a})}),XG=new qt({html:!0}),ao=f.memo(function({source:t,className:c}){const i=f.useMemo(()=>XG.render(typeof t=="string"?t:""),[t]);return n.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:i}})},se);function $r({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: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(x,{onClick:g,children:n.jsx(dn,{})}),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(xe,{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 ui({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){fi(a.target)||e.current&&!e.current.contains(a.target)&&t()}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[e,c,t])}function fi(e){return e instanceof HTMLElement?e.getAttribute("role")==="presentation"?!0:fi(e.parentNode):!1}const jr=ae.createContext({});function qr({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(ui,{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",Je,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?ye:"",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(Ye.Root,{open:p,onOpenChange:w,children:n.jsx(Ye.Portal,{children:n.jsx(jr.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(jr);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 Zr({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=sn(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(br,{size:"smallest"})})]},_)},[y,c,t]);return n.jsxs("div",{className:"mt-0.5 ml-0.5 mt-2",children:[n.jsx(qr,{value:g?t.map(_=>_.toString()):[],disabled:l,label:n.jsx(ve,{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(_=>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 Ai({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=co({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:ke(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(be,{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(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(_n,{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,RG=e=>{const t=e.match(xG);return t?t.map(c=>c.toLowerCase()).join("-"):""},ez=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,nz=e=>{const t=e.match(ez);return t?t.map(c=>c.toLowerCase()).join("_"):""};function Tn(e=5){return Math.random().toString(36).slice(2,2+e)}function oz(){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 rz(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=_i(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function tz(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=_i(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function _i(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 yi({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:Xr(),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 rz(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=>tz(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=gi(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=>(_&&xr(D)&&(D=await Ii(D,_)),{id:Xr(),file:D,fileName:await m(D),metadata:g,size:h})))];else{let D=S[0];_&&xr(D)&&(D=await Ii(D,_)),P=[{id:Xr(),file:D,fileName:await m(D),metadata:g,size:h}]}P=gi(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 gi(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 Xr(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const hi={"image/jpeg":"JPEG","image/png":"PNG","image/webp":"WEBP"},xr=e=>hi[e.type]?hi[e.type]:null,cz=100,Ii=(e,t)=>new Promise(c=>{const i=t.quality===void 0?cz:t.quality,a=i>=0&&i<=100?i:100,l=xr(e);if(!l)throw Error("resizeAndCompressImage: Unsupported image format");Qa.imageFileResizer(e,t.maxWidth||Number.MAX_VALUE,t.maxHeight||Number.MAX_VALUE,l,a,0,s=>c(s),"file")});function bi({storagePath:e,entry:t,metadata:c,onFileUploadComplete:i,imageSize:a,simple:l}){const s=Bn(),d=un(),[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(Ve,{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(Ve,{className:"w-full h-full"}),u&&n.jsx(be,{title:"Error uploading file",error:u})]})}function pi({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(Ae,{title:"Remove",children:n.jsx(x,{size:"small",onClick:d=>{d.stopPropagation(),a(c)},children:n.jsx(ro,{size:"small"})})})}),c&&n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,value:c,property:t,entity:i,size:s})})]})}const iz="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",az="border-dotted-gray",lz="hover:bg-field-hover dark:hover:bg-field-hover-dark",sz="pt-0 border-2 border-solid",dz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500",uz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500";function Rr({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=Sn(d)||!!d.disabled||y,{internalValue:_,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=yi({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:ke(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx(Az,{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 fz({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=un(),{getRootProps:k,getInputProps:m,isDragActive:K,isDragAccept:v,isDragReject:C}=or.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(Je,t?nn:Ge,iz,a&&d.length?"":"flex",ye,{[lz]:!K,[sz]:K,[uz]:C,[dz]:v,[az]: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(pi,{name:`storage_preview_${S.storagePathOrDownloadUrl}`,property:u,disabled:t,entity:A,value:S.storagePathOrDownloadUrl,onRemove:y,size:S.size}):S.file&&(D=n.jsx(bi,{entry:S,metadata:g,storagePath:h(S.file),onFileUploadComplete:_,imageSize:I==="medium"?220:118,simple:!1})),n.jsx(Cn.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(ye,"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 Az({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(Cn.DragDropContext,{onDragEnd:p,children:n.jsx(Cn.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(pi,{name:`storage_preview_${S.storagePathOrDownloadUrl}`,property:m,disabled:!0,entity:g,value:S.storagePathOrDownloadUrl,onRemove:w,size:S.size})})},children:(K,v)=>n.jsx(fz,{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(rn,{value:t,onChange:h,autoFocus:s,label:n.jsx(ve,{icon:ke(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(dn,{})}),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(Xo,{className:"mt-1 ml-1",in:!!t,children:n.jsx(Ce,{value:t,property:d,size:"medium"})})]})}const et=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&&Je,!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?Vr:"",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(et,{value:t,ref:h,size:A,className:i&&w?Vr:"",disabled:u,...y}),n.jsx("div",{className:E("flex-grow",c==="end"?"mr-4":"ml-4",A==="small"?"text-sm":"text-base"),children:s})]})},wi=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:ke(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 ki({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:ke(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(pr,{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 nt({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: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(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 mi(e){return typeof e.property.path!="string"?n.jsx(nt,{...e}):n.jsx(_z,{...e})}function _z({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 je,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=co({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:ke(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),!_&&n.jsx(be,{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(te,{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 mn=f.memo(yz,(e,t)=>{if(e.propertyKey!==t.propertyKey)return!1;const c=Pe(e.property)||e.property.fromBuilder,i=Pe(t.property)||t.property.fromBuilder;return!((c===i||se(e.property,t.property))&&e.disabled===t.disabled)||Lo(t.property),!1});function yz({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)?Be.Field:Be.FastField;return n.jsx(h,{name:e,children:_=>{let I;const b=De({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(Sn(b))I=nt;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=De({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(gz,{Component:I,componentProps:p,fieldProps:_})}})}function gz({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=Be.getIn(g.form.errors,t),w=Be.getIn(g.form.touched,t),k=p&&(g.form.submitCount>0||c.validation?.unique)&&(!Array.isArray(p)||!!p.filter(D=>!!D).length),K=hz(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)||Pe(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 hz(e,t,c,i,a,l){return f.useRef((()=>{let d=null;return l&&l.forEach(u=>{const A=_t(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 vi({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=ec(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])=>!Rn(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(mn,{...v})},`map-${e}-${K}`)})})}),w=n.jsx(ve,{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(_n,{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 Ki({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(ot,{value:t,setValue:s,disabled:a,fieldName:l.name??e}),I=n.jsx(ve,{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(_n,{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 ot({value:e,setValue:t,fieldName:c,disabled:i}){const[a,l]=f.useState(Object.keys(e??{}).map(u=>[rt(),{key:u,dataType:tt(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([rt(),{key:_,dataType:tt(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??""]:fr(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(Iz,{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(te,{variant:"text",size:"small",color:"primary",className:"w-full",disabled:i,startIcon:n.jsx(bn,{}),onClick:u=>{u.preventDefault(),t({...e??{},"":null}),l([...a,[rt(),{key:"",dataType:"string"}]])},children:c?`Add to ${c}`:"Add"})]})}function Iz({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(rn,{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(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(Mt,{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(bz,{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(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(ot,{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(rn,{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(gr,{})}),children:[n.jsx(me,{dense:!0,onClick:()=>g("string"),children:"string"}),n.jsx(me,{dense:!0,onClick:()=>g("number"),children:"number"}),n.jsx(me,{dense:!0,onClick:()=>g("boolean"),children:"boolean"}),n.jsx(me,{dense:!0,onClick:()=>g("date"),children:"date"}),n.jsx(me,{dense:!0,onClick:()=>g("map"),children:"map"}),n.jsx(me,{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(ro,{size:"small"})})]},e.toString()),(d==="map"||d==="array")&&y(s,t,d)]})}function bz({id:e,index:t,value:c,setValue:i}){const[a,l]=f.useState(tt(c)??"string");function s(u){l(u)}function d(u,A){return A==="string"||A==="number"?n.jsx(rn,{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(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(ot,{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(gr,{})}),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 rt(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function tt(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 ar)return"geopoint";if(typeof e=="object")return"map"}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.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(mn,{...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: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(_n,{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 Si({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(pz,{name:`${e}.${K}`,index:K,value:t[K],typeField:u.oneOf.typeField??xn,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: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],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??xn]:k,[u.oneOf.valueField??mo]:vo(u.oneOf.properties[k])}});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(_n,{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 pz({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=Be.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(Be.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(xe,{value:String(m.id),children:n.jsx(Se,{enumKey:m.id,enumValues:_,size:"small"})},m.id))})})}),p&&n.jsx(mn,{...p},`form_control_${e}_${A}`)]})}const wz=new qt;try{hn.use(hn.Plugins.AutoResize,{min:100}),hn.unuse(hn.Plugins.FontUnderline),hn.unuse(hn.Plugins.Clear)}catch{}function Bi({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",kz);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:ke(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(Je,l?nn:Ge,"text-base"),readOnly:l,renderHTML:p=>wz.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 kz=`
68
+ `)?n.jsx("div",{className:"overflow-x-scroll",children:a.map((l,s)=>n.jsxs(u.Fragment,{children:[n.jsx("span",{children:l}),s!==a.length-1&&n.jsx("br",{})]},`string_preview_${s}`))}):n.jsx(n.Fragment,{children:t})}}}function ri({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=x(),s=hn({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,f=d.properties;if(!f)throw Error(`You need to specify a 'properties' prop (or specify a custom field) in your map property ${e}`);const A=t,_=d.previewProperties;if(!A)return null;let h=_;return(!h||!h.length)&&(h=Object.keys(f),i&&(h=h.slice(0,3))),n.jsx("div",{className:"table-auto text-xs",children:n.jsx("div",{children:A&&A.map((g,y)=>n.jsx("div",{className:"border-b last:border-b-0",children:h&&h.map(I=>n.jsx("div",{className:"table-cell",children:n.jsx(se,{children:n.jsx(Se,{propertyKey:I,value:g[I],property:f[I],entity:a,size:"small"})})},`table-cell-${I}`))},`table_${g}_${y}`))})})}const he="focus-visible: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",Hr="focus:bg-opacity-70 focus:bg-gray-100 focus:dark:bg-gray-800 focus:dark:bg-opacity-60",Ur="z-30 outline-none ring-2 ring-primary ring-opacity-75 ring-offset-2 ring-offset-transparent ",Xe="bg-opacity-70 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-60 transition duration-150 ease-in-out",Yr="bg-opacity-0 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-0 transition duration-150 ease-in-out",on="bg-opacity-100 dark:bg-opacity-90",Ye="hover:bg-opacity-90 dark:hover:bg-opacity-90",ue="border-gray-100 dark:border-gray-800 dark:border-opacity-80",$e="bg-white rounded-md dark:bg-gray-950 border dark:border-gray-800 dark:border-opacity-90 border-gray-100",ti="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",ci="hover:bg-blue-100 dark:hover:bg-blue-900 hover:bg-opacity-20 dark:hover:bg-opacity-20 hover:ring-2 cursor-pointer",ez="bg-blue-100 dark:bg-blue-900 bg-opacity-30 dark:bg-opacity-10 ring-1 ring-primary ring-opacity-75";function $r({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=x(),s=hn({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 f=a==="medium"?"small":"tiny";return n.jsx("div",{className:"flex flex-col",children:d&&d.map((A,_)=>{const h=s.resolvedProperties[_]??s.resolvedProperties[_]??(Array.isArray(s.of)?s.of[_]:s.of);return h?n.jsx(u.Fragment,{children:n.jsx("div",{className:F(ue,"m-1 border-b last:border-b-0"),children:n.jsx(se,{children:n.jsx(Se,{propertyKey:e,entity:i,value:A,property:h,size:f})})})},"preview_array_"+_):null})})}const rn=le.memo(function(t){const c=t.reference;return c instanceof Ue?n.jsx(oz,{...t}):(console.warn("Reference preview received value of type",typeof c),n.jsx(Vo,{onClick:t.onClick,size:t.size,children:n.jsx(we,{error:"Unexpected value. Click to edit",tooltip:JSON.stringify(c)})}))},nz);function nz(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 oz({disabled:e,reference:t,previewProperties:c,size:i,onHover:a,onClick:l,allowEntityNavigation:s=!0}){const d=x(),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(rz,{reference:t,collection:A,previewProperties:c,size:i,disabled:e,allowEntityNavigation:s,onClick:l,onHover:a})}function rz({reference:e,collection:t,previewProperties:c,size:i,disabled:a,allowEntityNavigation:l,onClick:s,onHover:d}){const f=x(),A=An(),{entity:_,dataLoading:h,dataLoadingError:g}=Mr({path:e.path,entityId:e.id,collection:t,useCache:!0});_&&ii.set(e.pathWithId,_);const y=_??ii.get(e.pathWithId),I=u.useMemo(()=>Oe({collection:t,path:e.path,values:y?.values,fields:f.fields}),[t]),b=u.useMemo(()=>Ui(I,f.fields,c,i==="small"||i==="medium"?3:1),[c,I,i]);let p;return I?(e?y&&!y.values?p=n.jsx(we,{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(q,{variant:"caption",className:"font-mono",children:e.id})}):n.jsx(He,{})),b&&b.map(w=>{const k=I.properties[w];return k?n.jsx("div",{className:b.length>1?"my-0.5":"my-0",children:y?n.jsx(Se,{propertyKey:w,value:sn(y.values,w),property:k,entity:y,size:"tiny"}):n.jsx(Ln,{property:k,size:"tiny"})},"ref_prev_"+w):null})]}),n.jsx("div",{className:`my-${i==="tiny"?2:4}`,children:!a&&y&&l&&n.jsx(Ae,{title:`See details for ${y.id}`,children:n.jsx(Z,{color:"inherit",size:"small",onClick:w=>{w.stopPropagation(),f.onAnalyticsEvent?.("entity_click_from_reference",{path:y.path,entityId:y.id}),A.open({entityId:y.id,path:y.path,collection:I,updateUrl:!0})},children:n.jsx(Oo,{size:"small"})})})})]}):p=n.jsx(we,{error:"Reference not set"}),n.jsx(Vo,{onClick:a?void 0:s,onHover:a?void 0:d,size:i,children:p})):n.jsx(we,{error:"Could not find collection with id "+I})}function Vo({children:e,onHover:t,size:c,onClick:i}){return n.jsx(q,{variant:"label",className:F("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 ii=new Map;function ai({propertyKey:e,value:t,property:c,size:i}){const a=x(),l=hn({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,f)=>{const A=l.of;return n.jsx("div",{className:"mt-1 mb-1 w-full",children:n.jsx(rn,{disabled:!A.path,previewProperties:A.previewProperties,size:s,reference:d})},`preview_array_ref_${e}_${f}`)})})}function li({propertyKey:e,entity:t,value:c,property:i,size:a}){const l=x(),s=hn({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((f,A)=>n.jsx(se,{children:n.jsx(Se,{propertyKey:e,value:f,entity:t,property:s.of,size:d})},`preview_array_storage_${e}_${A}`))})}function jr({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(se,{children:n.jsx(Pe,{enumKey:a,enumValues:c,size:i!=="medium"?"small":"medium"})},`preview_array_ref_${e}_${l}`))})}function qr({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(jr,{name:e,value:t,enumValues:a.enumValues,size:i}):null}function si({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=x(),s=hn({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((f,A)=>n.jsx("div",{children:n.jsx(se,{children:n.jsx(zr,{propertyKey:e,property:d,value:f,entity:i,size:a})})},`preview_array_strings_${e}_${A}`))})}function di({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=x(),s=hn({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 f=i==="medium"?"small":"tiny",A=s.oneOf.typeField??eo,_=s.oneOf.valueField??So,h=s.oneOf.properties;return n.jsx("div",{className:"flex flex-col",children:d&&d.map((g,y)=>n.jsx(u.Fragment,{children:n.jsx("div",{className:F(ue,"m-1 border-b last:border-b-0"),children:n.jsx(se,{children:g&&n.jsx(Se,{propertyKey:e,value:g[_],entity:a,property:s.resolvedProperties[y]??h[g[A]],size:f})})})},"preview_array_"+g+"_"+y))})}function ui({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(Jr,{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,f)=>n.jsx("div",{children:n.jsx(se,{children:n.jsx(Se,{propertyKey:d,value:t[d],property:l.properties[d],entity:i,size:a})},"map_preview_"+l.name+d+f)},`map_${d}`))}):n.jsx("div",{className:"flex flex-col gap-1 w-full",children:s&&s.map((d,f)=>{const A=l.properties[d];return n.jsxs("div",{className:F(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(q,{variant:"caption",className:"font-mono break-words",color:"secondary",children:A.name})}),n.jsx("div",{className:"flex-grow max-w-[75%]",children:n.jsx(se,{children:!(A.dataType==="map"||A==="array")&&n.jsx(Se,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})})]}),(A.dataType==="map"||A==="array")&&n.jsx("div",{className:F(ue,"border-l pl-4 ml-2 my-2"),children:n.jsx(Se,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})]},`map_preview_table_${d}}`)})})}function Jr({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:F(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(q,{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(q,{children:n.jsx(se,{children:c&&c.toString()})})})]}),typeof c=="object"&&n.jsx("div",{className:F(ue,"border-l pl-4"),children:n.jsx(Jr,{value:c})})]},`map_preview_table_${t}}`))})}const fi="MMMM dd, yyyy, HH:mm:ss";function Ai({date:e}){const t=x(),c=t?.locale?Rt[t?.locale]:void 0,i=t?.dateTimeFormat??fi,a=e?Ua(e,i,{locale:c}):"";return n.jsx(n.Fragment,{children:a})}const tz={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"},cz={medium:"w-10 h-10",small:"w-8 h-8",large:"w-12 h-12"},Zr=({checked:e,indeterminate:t=!1,disabled:c,size:i="medium",onCheckedChange:a})=>{const l=t?!1:e;return n.jsx("div",{className:F(cz[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(xt.Root,{asChild:!0,checked:l,disabled:c,onCheckedChange:c?void 0:a,children:n.jsx("div",{className:F("border-2 relative transition-colors ease-in-out duration-150",tz[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(xt.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 yi({value:e}){return n.jsx(Zr,{checked:e})}function _i({value:e,property:t,size:c}){if(t.enumValues){const i=e,a=dn(t.enumValues);return a?n.jsx(Pe,{enumKey:i,enumValues:a,size:c!=="medium"?"small":"medium"}):n.jsx(n.Fragment,{children:e})}else return n.jsx(n.Fragment,{children:e})}function Se(e){const t=x();let c;const{property:i,propertyKey:a,value:l,size:s,height:d,width:f,entity:A}=e,_=Le({propertyKey:a,propertyOrBuilder:i,propertyValue:l,fields:t.fields});if(l===void 0||_===null)c=n.jsx(Tn,{});else if(_.Preview)c=u.createElement(_.Preview,{propertyKey:a,value:l,property:_,size:s,height:d,width:f,entity:A,customProps:_.customProps});else if(l===null)c=n.jsx(Tn,{});else if(_.dataType==="string"){const h=_;typeof l=="string"?h.url?typeof h.url=="boolean"?c=n.jsx(lo,{size:e.size,url:l}):typeof h.url=="string"&&(c=n.jsx(lo,{size:e.size,url:l,previewType:h.url})):h.storage?c=n.jsx(ei,{storeUrl:_.storage?.storeUrl??!1,size:e.size,storagePathOrDownloadUrl:l}):h.markdown?c=n.jsx(so,{source:l}):c=n.jsx(zr,{...e,property:h,value:l}):c=vn(a,_.dataType,l)}else if(_.dataType==="array")if(l instanceof Array){const h=_;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($r,{...e,value:l,property:_}):h.of.dataType==="map"?c=n.jsx(ri,{propertyKey:a,property:_,value:l,entity:A,size:s}):h.of.dataType==="reference"?c=n.jsx(ai,{...e,value:l,property:_}):h.of.dataType==="string"?h.of.enumValues?c=n.jsx(qr,{...e,value:l,property:_}):h.of.storage?c=n.jsx(li,{...e,value:l,property:_}):c=n.jsx(si,{...e,value:l,property:_}):h.of.dataType==="number"&&h.of.enumValues?c=n.jsx(qr,{...e,value:l,property:_}):c=n.jsx($r,{...e,value:l,property:_}):h.oneOf&&(c=n.jsx(di,{...e,value:l,property:_}))}else c=vn(a,_.dataType,l);else _.dataType==="map"?typeof l=="object"?c=n.jsx(ui,{...e,property:_}):c=vn(a,_.dataType,l):_.dataType==="date"?l instanceof Date?c=n.jsx(Ai,{date:l}):c=vn(a,_.dataType,l):_.dataType==="reference"?typeof _.path=="string"?l instanceof Ue?c=n.jsx(rn,{disabled:!_.path,previewProperties:_.previewProperties,size:e.size,onClick:e.onClick,reference:l}):c=vn(a,_.dataType,l):c=n.jsx(Tn,{}):_.dataType==="boolean"?typeof l=="boolean"?c=n.jsx(yi,{value:l}):c=vn(a,_.dataType,l):_.dataType==="number"?typeof l=="number"?c=n.jsx(_i,{...e,value:l,property:_}):c=vn(a,_.dataType,l):c=JSON.stringify(l);return c??n.jsx(Tn,{})}function vn(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 iz=le.memo(function({builder:t}){const[c,i]=u.useState(!0),[a,l]=u.useState(null);return u.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(He,{}):n.jsx(le.Fragment,{children:a})}),az=new Xt({html:!0}),so=u.memo(function({source:t,className:c}){const i=u.useMemo(()=>az.render(typeof t=="string"?t:""),[t]);return n.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:i}})},de);function Xr({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:f,includeDescription:A}){const _=f.enumValues;Qe({property:f,value:t,setValue:c});const h=u.useCallback(g=>{g.stopPropagation(),g.preventDefault(),c(null)},[c]);return n.jsxs(n.Fragment,{children:[n.jsx(xe,{value:t?t.toString():"",disabled:l,position:"item-aligned",inputClassName:F("w-full"),label:n.jsx(Ke,{icon:ve(f,"small"),required:f.validation?.required,title:f.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),endAdornment:f.clearable&&n.jsx(Z,{onClick:h,children:n.jsx(un,{})}),onValueChange:g=>{const y=g?f.dataType==="number"?parseFloat(g):g:null;return c(y)},renderValue:g=>n.jsx(Pe,{enumKey:g,enumValues:_,size:"medium"}),children:_&&_.map(g=>n.jsx(Re,{value:String(g.id),children:n.jsx(Pe,{enumKey:String(g.id),enumValues:_,size:"medium"})},g.id))}),n.jsx(Ce,{includeDescription:A,showError:a,error:i,disabled:l,property:f})]})}function hi({children:e,error:t}){return n.jsx("div",{className:F("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 Wo(e,t,c=!0){u.useEffect(()=>{if(!c)return;function i(a){gi(a.target)||e.current&&!e.current.contains(a.target)&&t()}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[e,c,t])}function gi(e){return e instanceof HTMLElement?e.getAttribute("role")==="presentation"?!0:gi(e.parentNode):!1}const xr=le.createContext({});function Rr({value:e,open:t,onMultiValueChange:c,size:i="medium",label:a,disabled:l,renderValue:s,renderValues:d,includeFocusOutline:f=!0,containerClassName:A,className:_,children:h,error:g}){const y=le.useRef(null),I=le.useRef(null),b=le.useRef(null);Wo(b,()=>w(!1));const[p,w]=le.useState(!1);u.useEffect(()=>{w(t??!1)},[t]);const k=le.useCallback(S=>{Array.isArray(e)&&e.includes(S)?c?.(e.filter(D=>D!==S)):c?.([...e??[],S])},[e,c]),[m,C]=le.useState(""),[v,B]=le.useState(null),K=le.useCallback(S=>{const D=I.current;if(D){if((S.key==="Delete"||S.key==="Backspace")&&D.value===""){const N=[...e??[]];N.pop(),c?.(N)}S.key==="Escape"&&(D.blur(),w(!1),S.stopPropagation())}},[c,e]),P=le.useCallback(()=>{B(y.current?.getBoundingClientRect()??null),w(!0)},[]),E=v??y.current?.getBoundingClientRect(),T=window.innerHeight-(E?.top??0)-(E?.height??0)-16;return n.jsxs(n.Fragment,{children:[typeof a=="string"?n.jsx(hi,{error:g,children:a}):a,n.jsxs(ko.Command,{onKeyDown:K,onClick:()=>{I.current?.focus(),P()},className:F("relative overflow-visible bg-transparent",A),children:[n.jsxs("div",{ref:y,className:F("flex flex-row",i==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",Xe,l?on:Ye,"relative flex items-center","p-4",g?"text-red-500 dark:text-red-600":"focus:text-text-primary dark:focus:text-text-primary-dark",g?"border border-red-500 dark:border-red-600":"",f?he:"",_),children:[n.jsxs("div",{className:F("flex-grow flex gap-1.5 flex-wrap items-center"),children:[s&&(e??[]).map((S,D)=>s(S,D)),d&&d(e??[]),n.jsx(ko.Command.Input,{ref:I,value:m,onValueChange:C,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(Mo,{size:"small",className:F("transition ",p?"rotate-180":"")})})]}),n.jsx(qe.Root,{open:p,onOpenChange:w,children:n.jsx(qe.Portal,{children:n.jsx(xr.Provider,{value:{fieldValue:e,setInputValue:C,onValueChangeInternal:k},children:n.jsx("div",{ref:b,className:"z-50 absolute overflow-auto outline-none",style:{pointerEvents:p?"auto":"none",top:(E?.top??0)+(E?.height??0),left:E?.left,width:E?.width,maxHeight:T},children:n.jsx(ko.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 et({children:e,value:t,className:c}){const i=le.useContext(xr);if(!i)throw new Error("MultiSelectItem must be used inside a MultiSelect");const{fieldValue:a,setInputValue:l,onValueChangeInternal:s}=i;return n.jsx(ko.Command.Item,{onMouseDown:d=>{d.preventDefault(),d.stopPropagation()},onSelect:d=>{l(""),s(t)},className:F((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 nt({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,property:s,includeDescription:d,autoFocus:f}){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 _=dn(A.enumValues);if(!_)throw console.error(s),Error("Field misconfiguration: array field of type string or number needs to have enumValues");Qe({property:s,value:t,setValue:c});const h=!!t&&Array.isArray(t),g=u.useCallback((y,I)=>{const b=y!==void 0?Po(_,y):void 0;return n.jsxs(Pe,{enumKey:y,enumValues:_,size:"medium",children:[b?.label??y,!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!==y))},children:n.jsx(vr,{size:"smallest"})})]},y)},[_,c,t]);return n.jsxs("div",{className:"mt-0.5 ml-0.5 mt-2",children:[n.jsx(Rr,{value:h?t.map(y=>y.toString()):[],disabled:l,label:n.jsx(Ke,{icon:ve(s,"small"),required:s.validation?.required,title:s.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),renderValue:u.useCallback(y=>g(y,!1),[g]),onMultiValueChange:y=>{let I;return A&&A?.dataType==="number"?I=y?y.map(b=>parseFloat(b)):[]:I=y,c(I)},children:_.map(y=>String(y.id)).map(y=>n.jsx(et,{value:y,children:g(y,!0)},y))}),n.jsx(Ce,{includeDescription:d,showError:a,error:i,disabled:l,property:s})]})}function Ii({propertyKey:e,value:t,error:c,showError:i,disabled:a,isSubmitting:l,tableMode:s,property:d,includeDescription:f,setValue:A,setFieldValue:_}){const h=d.of;if(h.dataType!=="reference")throw Error("ArrayOfReferencesField expected a property containing references");const g=d.expanded===void 0?!0:d.expanded,[y,I]=u.useState(!1),b=t&&Array.isArray(t)?t.map(P=>P.id):[];Qe({property:d,value:t,setValue:A});const p=fe(),w=u.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=u.useCallback(P=>{A(P.map(E=>kn(E)))},[A]),m=ao({multiselect:!0,path:h.path,collection:w,onMultipleEntitiesSelected:k,selectedEntityIds:b,forceFilter:h.forceFilter}),C=u.useCallback(P=>{P.preventDefault(),m.open()},[m]),v=u.useCallback((P,E)=>{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(rn,{disabled:!h.path,previewProperties:h.previewProperties,size:"medium",onClick:C,reference:T,onHover:y})}):n.jsx("div",{children:"Internal ERROR"})},[h.path,h.previewProperties,y,t]),B=n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark"}),K=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(Do,{value:t,addLabel:d.name?"Add reference to "+d.name:"Add reference",name:e,buildEntry:v,disabled:l,setFieldValue:_,newDefaultEntry:d.of.defaultValue}),n.jsxs(ce,{className:"my-4 justify-center text-left",variant:"outlined",color:"primary",disabled:l,onClick:C,children:["Edit ",d.name]})]})]});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(gn,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:g,title:B,children:K}),s&&K,n.jsx(Ce,{includeDescription:f,showError:i,error:c,disabled:a,property:d})]})}const lz=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,sz=e=>{const t=e.match(lz);return t?t.map(c=>c.toLowerCase()).join("-"):""},dz=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,uz=e=>{const t=e.match(dz);return t?t.map(c=>c.toLowerCase()).join("_"):""};function Qn(e=5){return Math.random().toString(36).slice(2,2+e)}function fz(){return Math.floor(Math.random()*16777215).toString(16)}function Go(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 Az(e,t,c,i,a,l,s,d){let f;return typeof e=="function"?(f=await e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),f||console.warn("Storage callback returned empty result. Using default name value")):f=bi(s,e,i,d,a),f||(f=Qn()+"_"+s.name),f}function yz(e,t,c,i,a,l,s,d){let f;return typeof e=="function"?(f=e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),f||console.warn("Storage callback returned empty result. Using default name value")):f=bi(s,e,i,d,a),f||(f=Qn()+"_"+s.name),f}function bi(e,t,c,i,a){const l=e.name.split(".").pop();let s=t.replace("{entityId}",c).replace("{propertyKey}",i).replace("{rand}",Qn()).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=Qn()+"_"+e.name),s}function pi({entityId:e,entityValues:t,path:c,value:i,property:a,propertyKey:l,storageSource:s,disabled:d,onChange:f}){const A=a.dataType==="string"?a.storage:a.dataType==="array"&&a.of.dataType==="string"?a.of.storage:void 0,_=a.dataType==="array";if(!A)throw Error("Storage meta must be specified");const h=A?.metadata,g=_?"small":"medium",y=A?.imageCompression,I=(_?i??[]:i?[i]:[]).map(K=>({id:ot(),storagePathOrDownloadUrl:K,metadata:h,size:g})),[b,p]=u.useState(i),[w,k]=u.useState(I);u.useEffect(()=>{de(b,i)||(p(i),k(I))},[I,i,b]);const m=u.useCallback(async K=>{if(A.fileName){const P=await Az(A.fileName,A,t,e,c,a,K,l);if(!P||P.length===0)throw Error("You need to return a valid filename");return P}return Qn()+"_"+K.name},[e,t,c,a,l,A]),C=u.useCallback(K=>yz(A.storagePath,A,t,e,c,a,K,l)??"/",[e,t,c,a,l,A]),v=u.useCallback(async(K,P,E)=>{console.debug("onFileUploadComplete",K,P);let T=K;if(A.storeUrl&&(T=(await s.getDownloadURL(K)).url),A.postProcess&&T&&(T=await A.postProcess(T)),!T){console.warn("uploadPathOrDownloadUrl is null");return}let S;P.storagePathOrDownloadUrl=T,P.metadata=E,S=[...w],S=wi(S),k(S);const D=S.filter(N=>!!N.storagePathOrDownloadUrl).map(N=>N.storagePathOrDownloadUrl);f(_?D:D?D[0]:null)},[w,_,f,A,s]),B=u.useCallback(async K=>{if(!K.length||d)return;let P;if(_)P=[...w,...await Promise.all(K.map(async E=>(y&&rt(E)&&(E=await mi(E,y)),{id:ot(),file:E,fileName:await m(E),metadata:h,size:g})))];else{let E=K[0];y&&rt(E)&&(E=await mi(E,y)),P=[{id:ot(),file:E,fileName:await m(E),metadata:h,size:g}]}P=wi(P),k(P)},[d,m,w,h,_,g]);return{internalValue:w,setInternalValue:k,storage:A,fileNameBuilder:m,storagePathBuilder:C,onFileUploadComplete:v,onFilesAdded:B,multipleFilesSupported:_}}function wi(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 ot(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const ki={"image/jpeg":"JPEG","image/png":"PNG","image/webp":"WEBP"},rt=e=>ki[e.type]?ki[e.type]:null,_z=100,mi=(e,t)=>new Promise(c=>{const i=t.quality===void 0?_z:t.quality,a=i>=0&&i<=100?i:100,l=rt(e);if(!l)throw Error("resizeAndCompressImage: Unsupported image format");$a.imageFileResizer(e,t.maxWidth||Number.MAX_VALUE,t.maxHeight||Number.MAX_VALUE,l,a,0,s=>c(s),"file")});function vi({storagePath:e,entry:t,metadata:c,onFileUploadComplete:i,imageSize:a,simple:l}){const s=Dn(),d=yn(),[f,A]=u.useState(),[_,h]=u.useState(!1),g=u.useRef(!1),y=u.useRef(!1),I=u.useCallback((b,p)=>{y.current||(y.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),g.current&&h(!1)}).catch(w=>{console.warn("Upload error",w),g.current&&(A(w),h(!1),d.open({type:"error",message:"Error uploading file: "+w.message}))}).finally(()=>{y.current=!1}))},[t,c,i,s,e]);return u.useEffect(()=>(g.current=!0,t.file&&I(t.file,t.fileName),()=>{g.current=!1}),[t.file,t.fileName,I]),l?n.jsx("div",{className:`m-4 w-${a} h-${a}`,children:_&&n.jsx(He,{className:`w-${a} h-${a}`})}):n.jsxs("div",{className:F($e,"relative m-4 border-box flex items-center justify-center",`min-w-[${a}px] min-h-[${a}px]`),children:[_&&n.jsx(He,{className:"w-full h-full"}),f&&n.jsx(we,{title:"Error uploading file",error:f})]})}function Ki({name:e,property:t,value:c,entity:i,onRemove:a,disabled:l,size:s}){return n.jsxs("div",{className:F($e,"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(Ae,{title:"Remove",children:n.jsx(Z,{size:"small",onClick:d=>{d.stopPropagation(),a(c)},children:n.jsx(co,{size:"small"})})})}),c&&n.jsx(se,{children:n.jsx(Se,{propertyKey:e,value:c,property:t,entity:i,size:s})})]})}const hz="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",gz="border-dotted-gray",Iz="hover:bg-field-hover dark:hover:bg-field-hover-dark",bz="pt-0 border-2 border-solid",pz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500",wz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500";function tt({propertyKey:e,value:t,setValue:c,error:i,showError:a,autoFocus:l,tableMode:s,property:d,includeDescription:f,context:A,isSubmitting:_}){if(!A.entityId)throw new Error("StorageUploadFieldBinding: Entity id is null");const h=Dn(),g=Pn(d)||!!d.disabled||_,{internalValue:y,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=pi({entityValues:A.values,entityId:A.entityId,path:A.path,property:d,propertyKey:e,value:t,storageSource:h,disabled:g,onChange:c});Qe({property:d,value:t,setValue:c});const C={id:A.entityId,values:A.values,path:A.path};return n.jsxs(n.Fragment,{children:[!s&&n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx(mz,{value:y,name:e,disabled:g,autoFocus:l,property:d,onChange:c,setInternalValue:I,onFilesAdded:b,entity:C,onFileUploadComplete:w,storagePathBuilder:k,storage:p,multipleFilesSupported:m}),n.jsx(Ce,{includeDescription:f,showError:a,error:i,disabled:g,property:d})]})}function kz({storage:e,disabled:t,isDraggingOver:c,onFilesAdded:i,multipleFilesSupported:a,droppableProvided:l,autoFocus:s,internalValue:d,property:f,entity:A,onClear:_,metadata:h,storagePathBuilder:g,onFileUploadComplete:y,size:I,name:b,helpText:p}){const w=yn(),{getRootProps:k,getInputProps:m,isDragActive:C,isDragAccept:v,isDragReject:B}=lr.useDropzone({accept:e.acceptedFiles?e.acceptedFiles.map(K=>({[K]:[]})).reduce((K,P)=>({...K,...P}),{}):void 0,disabled:t||c,noDragEventsBubbling:!0,maxSize:e.maxSize,onDrop:i,onDropRejected:(K,P)=>{for(const E of K)for(const T of E.errors)w.open({type:"error",message:`Error uploading file: File is larger than ${e.maxSize} bytes`})}});return n.jsxs("div",{...k(),className:F(Xe,t?on:Ye,hz,a&&d.length?"":"flex",he,{[Iz]:!C,[bz]:C,[wz]:B,[pz]:v,[gz]:t}),children:[n.jsxs("div",{...l.droppableProps,ref:l.innerRef,className:F("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((K,P)=>{let E;return K.storagePathOrDownloadUrl?E=n.jsx(Ki,{name:`storage_preview_${K.storagePathOrDownloadUrl}`,property:f,disabled:t,entity:A,value:K.storagePathOrDownloadUrl,onRemove:_,size:K.size}):K.file&&(E=n.jsx(vi,{entry:K,metadata:h,storagePath:g(K.file),onFileUploadComplete:y,imageSize:I==="medium"?220:118,simple:!1})),n.jsx(Fn.Draggable,{draggableId:`array_field_${b}_${K.id}`,index:P,children:(T,S)=>n.jsx("div",{tabIndex:-1,ref:T.innerRef,...T.draggableProps,...T.dragHandleProps,className:F(he,"rounded-md"),style:{...T.draggableProps.style},children:E})},`array_field_${b}_${K.id}`)}),l.placeholder]}),n.jsx("div",{className:"flex-grow min-h-[38px] box-border m-2 text-center",children:n.jsx(q,{align:"center",variant:"label",children:p})})]})}function mz({property:e,name:t,value:c,setInternalValue:i,onChange:a,multipleFilesSupported:l,onFileUploadComplete:s,disabled:d,onFilesAdded:f,autoFocus:A,storage:_,entity:h,storagePathBuilder:g}){if(l){const C=e;if(C.of){if(Array.isArray(C.of)||C.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=u.useCallback((C,v)=>{if(!l)return;const B=[...c],K=B[C];B.splice(C,1),B.splice(v,0,K),i(B);const P=B.filter(E=>!!E.storagePathOrDownloadUrl).map(E=>E.storagePathOrDownloadUrl);a(P)},[l,a,i,c]),p=u.useCallback(C=>{C.destination&&b(C.source.index,C.destination.index)},[b]),w=u.useCallback(C=>{if(l){const v=c.filter(B=>B.storagePathOrDownloadUrl!==C);a(v.filter(B=>!!B.storagePathOrDownloadUrl).map(B=>B.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(Fn.DragDropContext,{onDragEnd:p,children:n.jsx(Fn.Droppable,{droppableId:`droppable_${t}`,direction:"horizontal",renderClone:(C,v,B)=>{const K=c[B.source.index];return n.jsx("div",{ref:C.innerRef,...C.draggableProps,...C.dragHandleProps,style:C.draggableProps.style,className:"rounded",children:n.jsx(Ki,{name:`storage_preview_${K.storagePathOrDownloadUrl}`,property:m,disabled:!0,entity:h,value:K.storagePathOrDownloadUrl,onRemove:w,size:K.size})})},children:(C,v)=>n.jsx(kz,{storage:_,disabled:d,isDraggingOver:v.isDraggingOver,droppableProvided:C,onFilesAdded:f,multipleFilesSupported:l,autoFocus:A,internalValue:c,property:m,entity:h,onClear:w,metadata:y,storagePathBuilder:g,onFileUploadComplete:s,size:I,name:t,helpText:k})})})}function Vn({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,property:d,includeDescription:f}){let A,_;d.dataType==="string"&&(A=d.multiline,_=d.url),Qe({property:d,value:t,setValue:c});const h=u.useCallback(b=>{b.stopPropagation(),b.preventDefault(),c(null)},[c]),g=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)},y=!!A,I=d.dataType==="number"?"number":void 0;return n.jsxs(n.Fragment,{children:[n.jsx(tn,{value:t,onChange:g,autoFocus:s,label:n.jsx(Ke,{icon:ve(d,"small"),required:d.validation?.required,title:d.name}),type:I,multiline:y,disabled:l,endAdornment:d.clearable&&n.jsx(Z,{onClick:h,children:n.jsx(un,{})}),error:a?i:void 0,inputClassName:i?"text-red-500 dark:text-red-600":""}),n.jsx(Ce,{includeDescription:f,showError:a,error:i,disabled:l,property:d}),_&&n.jsx(or,{className:"mt-1 ml-1",in:!!t,children:n.jsx(Se,{value:t,property:d,size:"medium"})})]})}const ct=u.forwardRef(function({value:t,allowIndeterminate:c,className:i,onValueChange:a,disabled:l=!1,size:s="medium",...d},f){return n.jsxs("button",{ref:f,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:F(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:F("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:F("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"})})]})}),Wn=function({value:t,position:c="end",invisible:i,onValueChange:a,error:l,label:s,autoFocus:d,disabled:f,size:A,..._}){const h=u.useRef(null),g=u.useRef(null),[y,I]=u.useState(d),b=()=>I(!0),p=()=>I(!1);u.useEffect(()=>{},[]);const w=document.activeElement===g?.current||document.activeElement===h?.current;return n.jsxs("div",{ref:h,onFocus:b,onBlur:p,tabIndex:-1,className:F(!i&&Xe,!i&&(f?on:Ye),f?"cursor-default":"cursor-pointer","rounded-md relative max-w-full justify-between w-full box-border relative inline-flex items-center",!i&&w&&!f?Ur:"",l?"text-red-500 dark:text-red-600":w&&!f?"text-primary":f?"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:f?void 0:k=>{_.allowIndeterminate?t==null?a?.(!0):a?.(t?!1:null):a?.(!t)},children:[n.jsx(ct,{value:t,ref:g,size:A,className:i&&w?Ur:"",disabled:f,..._}),n.jsx("div",{className:F("flex-grow",c==="end"?"mr-4":"ml-4",A==="small"?"text-sm":"text-base"),children:s})]})},Ci=u.forwardRef(function({propertyKey:t,value:c,setValue:i,error:a,showError:l,autoFocus:s,disabled:d,touched:f,property:A,includeDescription:_},h){return Qe({property:A,value:c,setValue:i}),n.jsxs(n.Fragment,{children:[n.jsx(Wn,{value:c,onValueChange:g=>i(g),error:l,label:n.jsx(Ke,{icon:ve(A,"small"),required:A.validation?.required,title:A.name}),disabled:d,autoFocus:s,size:"medium"}),n.jsx(Ce,{includeDescription:_,showError:l,error:a,disabled:d,property:A})]})});function Si({propertyKey:e,value:t,setValue:c,autoFocus:i,error:a,showError:l,disabled:s,touched:d,property:f,includeDescription:A}){const _=t||null;return Qe({property:f,value:t,setValue:c}),n.jsxs(n.Fragment,{children:[n.jsx(Hn,{value:_,onChange:h=>c(h),size:"medium",mode:f.mode,clearable:f.clearable,label:n.jsx(Ke,{icon:ve(f,"small"),required:f.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:f.name})}),n.jsx(Ce,{includeDescription:A,showError:l,error:a,disabled:s,property:f})]})}function it({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 f={id:d.entityId,values:d.values,path:d.path};return n.jsxs(n.Fragment,{children:[!a&&n.jsx(Ke,{icon:ve(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:F($e,"min-h-14 p-4 md:p-6 overflow-x-scroll no-scrollbar"),children:n.jsx(se,{children:n.jsx(Se,{propertyKey:e,value:t,property:l,entity:f,size:"medium"})})}),n.jsx(Ce,{includeDescription:s,showError:i,error:c,property:l})]})}function Bi(e){return typeof e.property.path!="string"?n.jsx(it,{...e}):n.jsx(vz,{...e})}function vz({value:e,setValue:t,error:c,showError:i,isSubmitting:a,disabled:l,touched:s,autoFocus:d,property:f,includeDescription:A,context:_}){if(!f.path)throw new Error("Property path is required for ReferenceFieldBinding");Qe({property:f,value:e,setValue:t});const h=e&&e instanceof Ue,g=fe(),y=u.useMemo(()=>f.path?g.getCollection(f.path):void 0,[f.path]);if(!y)throw Error(`Couldn't find the corresponding collection for the path: ${f.path}`);const I=u.useCallback(w=>{t(kn(w))},[t]),b=ao({multiselect:!1,path:f.path,collection:y,onSingleEntitySelected:I,selectedEntityIds:h?[e.id]:void 0,forceFilter:f.forceFilter}),p=u.useCallback(w=>{w.preventDefault(),b.open()},[b]);return n.jsxs(n.Fragment,{children:[n.jsx(Ke,{icon:ve(f,"small"),required:f.validation?.required,title:f.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),!y&&n.jsx(we,{error:"The specified collection does not exist. Check console"}),y&&n.jsxs(n.Fragment,{children:[e&&n.jsx(rn,{disabled:!f.path,previewProperties:f.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 ",f.name]})})]}),n.jsx(Ce,{includeDescription:A,showError:i,error:c,disabled:l,property:f})]})}const Kn=u.memo(Kz,(e,t)=>{if(e.propertyKey!==t.propertyKey)return!1;const c=Me(e.property)||e.property.fromBuilder,i=Me(t.property)||t.property.fromBuilder;return!((c===i||de(e.property,t.property))&&e.disabled===t.disabled)||zo(t.property),!1});function Kz({propertyKey:e,property:t,context:c,includeDescription:i,underlyingValueHasChanged:a,disabled:l,tableMode:s,partOfArray:d,partOfBlock:f,autoFocus:A}){const _=x(),g=zo(t,_.plugins)?De.Field:De.FastField;return n.jsx(g,{name:e,children:y=>{let I;const b=Le({propertyKey:e,propertyValue:y.field.value,propertyOrBuilder:t,values:y.form.values,path:c.path,entityId:c.entityId,fields:_.fields});if(b===null||no(b))return n.jsx(n.Fragment,{});if(Pn(b))I=it;else if(b.Field)typeof b.Field=="function"&&(I=b.Field);else{const w=qo(b,_.fields);if(!w)throw console.log("INTERNAL: Could not find field config for property",{propertyKey:e,resolvedProperty:b,fields:_.fields,propertyConfig:w}),new Error(`INTERNAL: Could not find field config for property ${e}`);I=Le({propertyOrBuilder:w.property,propertyValue:y.field.value,values:y.form.values,path:c.path,entityId:c.entityId,fields:_.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:f,autoFocus:A};return n.jsx(Cz,{Component:I,componentProps:p,fieldProps:y})}})}function Cz({Component:e,componentProps:{propertyKey:t,property:c,includeDescription:i,underlyingValueHasChanged:a,tableMode:l,partOfArray:s,partOfBlock:d,autoFocus:f,context:A,disabled:_},fieldProps:h}){const{plugins:g}=x(),y=c.customProps,I=h.field.value,b=h.meta.initialValue,p=De.getIn(h.form.errors,t),w=De.getIn(h.form.touched,t),k=p&&(h.form.submitCount>0||c.validation?.unique)&&(!Array.isArray(p)||!!p.filter(E=>!!E).length),C=Sz(A.path,A.collection,t,c,e,g)??e,v=h.form.isSubmitting,B=u.useCallback((E,T)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(t,E,T)},[]),K=u.useCallback((E,T,S)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(E,T,S)},[]),P={propertyKey:t,value:I,initialValue:b,setValue:B,setFieldValue:K,error:p,touched:w,showError:k,isSubmitting:v,includeDescription:i??!0,property:c,disabled:_??!1,underlyingValueHasChanged:a??!1,tableMode:l??!1,partOfArray:s??!1,partOfBlock:d??!1,autoFocus:f??!1,customProps:y,context:A};return n.jsxs(se,{children:[n.jsx(C,{...P}),a&&!v&&n.jsx(q,{variant:"caption",className:"ml-3.5",children:"This value has been updated elsewhere"})]})}const zo=(e,t)=>{if(t?.some(a=>a.form?.fieldBuilder)||Me(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=>zo(a,t)):c.dataType==="array"&&"resolvedProperties"in c?i||c.resolvedProperties?.some(a=>a&&zo(a,t)):i};function Sz(e,t,c,i,a,l){return u.useRef((()=>{let d=null;return l&&l.forEach(f=>{const A=bt(i);if(A&&f.form?.fieldBuilder){const _={fieldConfigId:A,propertyKey:c,property:i,Field:a,plugin:f,path:e,collection:t},h=f.form?.fieldBuilderEnabled?.(_);(h===void 0||h)&&(d=f.form.fieldBuilder(_)||d)}A||console.warn("INTERNAL: Field id not found for property",i)}),d})()).current}function Ei({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,partOfBlock:d,tableMode:f,includeDescription:A,underlyingValueHasChanged:_,autoFocus:h,context:g}){const y=l.pickOnlySomeKeys||!1,I=(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;y?t?b=rc(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])=>!no(m)).map(([k,m],C)=>{const v={propertyKey:`${e}.${k}`,disabled:a,property:m,includeDescription:A,underlyingValueHasChanged:_,context:g,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:h&&C===0};return n.jsx("div",{children:n.jsx(Kn,{...v})},`map-${e}-${C}`)})})}),w=n.jsx(Ke,{icon:ve(l,"small"),required:l.validation?.required,title:l.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!f&&!d&&n.jsx(gn,{initiallyExpanded:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:w,children:p}),(f||d)&&p,n.jsx(Ce,{includeDescription:A,showError:c,error:i,disabled:a,property:l})]})}function Fi({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,tableMode:d,includeDescription:f,underlyingValueHasChanged:A,autoFocus:_,context:h}){const g=(l.expanded===void 0?!0:l.expanded)||_;if(!l.keyValue)throw Error(`Your property ${e} needs to have the 'keyValue' prop in order to use this field binding`);const y=n.jsx(at,{value:t,setValue:s,disabled:a,fieldName:l.name??e}),I=n.jsx(Ke,{icon:ve(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(gn,{initiallyExpanded:g,title:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:y}),d&&y,n.jsx(Ce,{includeDescription:f,showError:c,error:i,disabled:a,property:l})]})}function at({value:e,setValue:t,fieldName:c,disabled:i}){const[a,l]=u.useState(Object.keys(e??{}).map(f=>[lt(),{key:f,dataType:st(e?.[f])??"string"}]));u.useEffect(()=>{const f=a.map(([y,{key:I}])=>I),A=Object.entries(e??{}).filter(([y,I])=>I!==void 0).map(([y])=>y),_=A.filter(y=>!f.includes(y)),h=f.filter(y=>!A.includes(y)),g=[...a];_.forEach(y=>{g.push([lt(),{key:y,dataType:st(e?.[y])??"string"}])}),h.forEach(y=>{const I=g.findIndex(([b,{key:p}])=>p===y);g.splice(I,1)}),l(g)},[e]);const s=u.useRef(e??{}),d=(f,A)=>{if(!f){console.warn("No key selected for data type update");return}l(a.map(_=>_[0]===f?[_[0],{key:_[1].key,dataType:A}]:_)),t({...e??{},[a.find(_=>_[0]===f)?.[1].key??""]:gr(A)})};return n.jsxs("div",{className:"py-1 flex flex-col gap-1",children:[a.map(([f,{key:A,dataType:_}],h)=>{const g=A?e?.[A]:"",y=I=>{if(l(a.map(p=>p[0]===f?[f,{key:I??"",dataType:p[1].dataType}]:p)),typeof e=="object"&&I in e)return;const b={...e??{}};typeof s.current=="object"&&A in s.current?b[A]=void 0:delete b[A],t({...b,[I??""]:g})};return n.jsx(Bz,{rowId:f,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]!==f)),t({...I})},onFieldKeyChange:y,setValue:t,entryValue:g,dataType:_,disabled:i,updateDataType:d},f)}),n.jsx(ce,{variant:"text",size:"small",color:"primary",className:"w-full",disabled:i,startIcon:n.jsx(mn,{}),onClick:f=>{f.preventDefault(),t({...e??{},"":null}),l([...a,[lt(),{key:"",dataType:"string"}]])},children:c?`Add to ${c}`:"Add"})]})}function Bz({rowId:e,fieldKey:t,value:c,onFieldKeyChange:i,onDeleteClick:a,setValue:l,entryValue:s,dataType:d,updateDataType:f,disabled:A}){function _(g,y,I){return I==="string"||I==="number"?n.jsx(tn,{placeholder:"value",value:g,type:I==="number"?"number":"text",size:"small",disabled:A||!y,onChange:b=>{if(I==="number"){const p=b.target.value?parseFloat(b.target.value):void 0;p&&isNaN(p)?l({...c,[y]:null}):p!=null?l({...c,[y]:p}):l({...c,[y]:null})}else l({...c,[y]:b.target.value})}},I):I==="date"?n.jsx(Hn,{value:g,size:"small",disabled:A||!y,onChange:b=>{l({...c,[y]:b})}}):I==="boolean"?n.jsx(Wn,{value:g,size:"small",position:"start",disabled:A||!y,onValueChange:b=>{l({...c,[y]:b})}}):I==="array"?n.jsx("div",{className:F(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(Vt,{value:g,newDefaultEntry:"",droppableId:e.toString(),addLabel:y?`Add to ${y}`:"Add",size:"small",disabled:A||!y,includeAddButton:!0,onValueChange:b=>{l({...c,[y]:b})},buildEntry:(b,p)=>n.jsx(Ez,{index:b,id:p,value:g[b],disabled:A||!y,setValue:w=>{const k=[...g];k[b]=w,l({...c,[y]:k})}})})}):I==="map"?n.jsx("div",{className:F(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(at,{value:g,fieldName:y,setValue:b=>{l({...c,[y]:b})}})}):n.jsx(q,{variant:"caption",children:`Data type ${I} not supported yet`})}function h(g){f(e,g)}return n.jsxs(n.Fragment,{children:[n.jsxs(q,{component:"div",className:"font-mono flex flex-row gap-1",children:[n.jsx("div",{className:"w-[200px] max-w-[25%]",children:n.jsx(tn,{value:t,placeholder:"key",disabled:A||s!=null&&s!=="",size:"small",onChange:g=>{i(g.target.value)}})}),n.jsx("div",{className:"flex-grow",children:d!=="map"&&d!=="array"&&_(s,t,d)}),n.jsxs(Yn,{trigger:n.jsx(Z,{size:"small",className:"h-7 w-7",children:n.jsx(wr,{})}),children:[n.jsx(Be,{dense:!0,onClick:()=>h("string"),children:"string"}),n.jsx(Be,{dense:!0,onClick:()=>h("number"),children:"number"}),n.jsx(Be,{dense:!0,onClick:()=>h("boolean"),children:"boolean"}),n.jsx(Be,{dense:!0,onClick:()=>h("date"),children:"date"}),n.jsx(Be,{dense:!0,onClick:()=>h("map"),children:"map"}),n.jsx(Be,{dense:!0,onClick:()=>h("array"),children:"array"})]}),n.jsx(Z,{"aria-label":"delete",size:"small",onClick:a,className:"h-7 w-7",children:n.jsx(co,{size:"small"})})]},e.toString()),(d==="map"||d==="array")&&_(s,t,d)]})}function Ez({id:e,index:t,value:c,setValue:i}){const[a,l]=u.useState(st(c)??"string");function s(f){l(f)}function d(f,A){return A==="string"||A==="number"?n.jsx(tn,{value:f,type:A==="number"?"number":"text",size:"small",onChange:_=>{if(A==="number"){const h=_.target.value?parseFloat(_.target.value):void 0;h&&isNaN(h)?i(null):h!=null?i(h):i(null)}else i(_.target.value)}}):A==="date"?n.jsx(Hn,{value:f,size:"small",onChange:_=>{i(_)}}):A==="boolean"?n.jsx(Wn,{value:f,size:"small",position:"start",onValueChange:_=>{i(_)}}):A==="array"?n.jsx(q,{variant:"caption",children:"Arrays of arrays are not supported."}):A==="map"?n.jsx("div",{className:F(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(at,{value:f,setValue:_=>{i(_)}})}):n.jsx(q,{variant:"caption",children:`Data type ${A} not supported yet`})}return n.jsxs(n.Fragment,{children:[n.jsxs(q,{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(Yn,{trigger:n.jsx(Z,{size:"small",className:"h-7 w-7",children:n.jsx(wr,{})}),children:[n.jsx(Be,{dense:!0,onClick:()=>s("string"),children:"string"}),n.jsx(Be,{dense:!0,onClick:()=>s("number"),children:"number"}),n.jsx(Be,{dense:!0,onClick:()=>s("boolean"),children:"boolean"}),n.jsx(Be,{dense:!0,onClick:()=>s("map"),children:"map"}),n.jsx(Be,{dense:!0,onClick:()=>s("date"),children:"date"})]})]},e.toString()),a==="map"&&d(c,a)]})}function lt(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function st(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 Ue)return"reference";if(e instanceof Ko)return"geopoint";if(typeof e=="object")return"map"}function Pi({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:f,includeDescription:A,underlyingValueHasChanged:_,context:h,disabled:g}){if(!f.of)throw Error("RepeatFieldBinding misconfiguration. Property `of` not set");if(!f.resolvedProperties||!Array.isArray(f.resolvedProperties))throw Error("RepeatFieldBinding - Internal error: Expected array in 'property.resolvedProperties'");const y=f.expanded===void 0?!0:f.expanded,I=f.of,[b,p]=u.useState();Qe({property:f,value:t,setValue:l});const w=(C,v)=>{const B=f.resolvedProperties[C]??I,K={propertyKey:`${e}.${C}`,disabled:g,property:B,includeDescription:A,underlyingValueHasChanged:_,context:h,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:v===b};return n.jsx(Kn,{...K})},k=n.jsx(Do,{value:t,addLabel:f.name?"Add entry to "+f.name:"Add entry",name:e,setFieldValue:s,buildEntry:w,onInternalIdAdded:p,disabled:a||!!f.disabled,includeAddButton:!f.disabled,newDefaultEntry:f.of.defaultValue}),m=n.jsx(Ke,{icon:ve(f,"small"),required:f.validation?.required,title:f.name,className:"text-text-secondary dark:text-text-secondary-dark"});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(gn,{initiallyExpanded:y,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:m,children:k}),d&&k,n.jsx(Ce,{includeDescription:A,showError:i,error:c,disabled:g,property:f})]})}function Di({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:f,includeDescription:A,underlyingValueHasChanged:_,context:h,disabled:g}){if(!f.oneOf)throw Error("ArrayOneOfField misconfiguration. Property `oneOf` not set");const y=f.expanded===void 0?!0:f.expanded;Qe({property:f,value:t,setValue:l});const[I,b]=u.useState(),p=u.useCallback((C,v)=>n.jsx(Fz,{name:`${e}.${C}`,index:C,value:t[C],typeField:f.oneOf.typeField??eo,valueField:f.oneOf.valueField??So,properties:f.oneOf.properties,autoFocus:v===I,context:h},`array_one_of_${C}`),[h,I,f.oneOf,e,t]),w=n.jsx(Ke,{icon:ve(f,"small"),required:f.validation?.required,title:f.name,className:"text-text-secondary dark:text-text-secondary-dark"}),k=Object.keys(f.oneOf.properties)[0],m=n.jsx(Do,{value:t,name:e,addLabel:f.name?"Add entry to "+f.name:"Add entry",buildEntry:p,onInternalIdAdded:b,disabled:a||!!f.disabled,includeAddButton:!f.disabled,setFieldValue:s,newDefaultEntry:{[f.oneOf.typeField??eo]:k,[f.oneOf.valueField??So]:Bo(f.oneOf.properties[k])}});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(gn,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:y,title:w,children:m}),d&&m,n.jsx(Ce,{includeDescription:A,showError:i,error:c,disabled:g,property:f})]})}function Fz({name:e,index:t,value:c,typeField:i,valueField:a,properties:l,autoFocus:s,context:d}){const f=c&&c[i],[A,_]=u.useState(f??void 0),h=De.useFormikContext();u.useEffect(()=>{f||w(Object.keys(l)[0])},[]),u.useEffect(()=>{f!==A&&_(f)},[f]);const g=A?l[A]:void 0,y=Object.entries(l).map(([k,m])=>({id:k,label:m.name??k})),I=`${e}.${i}`,b=`${e}.${a}`,p=g?{propertyKey:b,property:g,context:d,autoFocus:s,partOfArray:!1,partOfBlock:!0,tableMode:!1}:void 0,w=k=>{const m=k?l[k]:void 0;_(k),h.setFieldTouched(I),h.setFieldValue(I,k),h.setFieldValue(b,m?Bo(m):null)};return n.jsxs("div",{className:F($e,"bg-transparent p-4 my-4 py-8"),children:[n.jsx(De.FastField,{required:!0,name:I,children:k=>n.jsx(n.Fragment,{children:n.jsx(xe,{className:"mb-2",placeholder:n.jsx(q,{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(Pe,{enumKey:m,enumValues:y,size:"small"}),onValueChange:m=>{w(m)},children:y.map(m=>n.jsx(Re,{value:String(m.id),children:n.jsx(Pe,{enumKey:m.id,enumValues:y,size:"small"})},m.id))})})}),p&&n.jsx(Kn,{...p},`form_control_${e}_${A}`)]})}const Pz=new Xt;try{wn.use(wn.Plugins.AutoResize,{min:100}),wn.unuse(wn.Plugins.FontUnderline),wn.unuse(wn.Plugins.Clear)}catch{}function Ni({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:f,tableMode:A,includeDescription:_,context:h}){const[g,y]=u.useState(t),I=u.useRef(t);On("MarkdownFieldBinding",Dz);const b=u.useDeferredValue({internalValue:g,value:t});return u.useEffect(()=>{I.current=t,y(t)},[t]),u.useEffect(()=>{b.internalValue!==I.current&&c(b.internalValue)},[b]),n.jsxs(n.Fragment,{children:[!A&&n.jsx(q,{variant:"caption",className:"flex-grow",children:n.jsx(Ke,{icon:ve(f,"small"),required:f.validation?.required,title:f.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"})}),n.jsx(wn,{value:g??"",className:F(Xe,l?on:Ye,"text-base"),readOnly:l,renderHTML:p=>Pz.render(p),view:{menu:!0,md:!0,html:!1},onChange:({html:p,text:w})=>{y(w??null)}}),n.jsx(Ce,{includeDescription:_,showError:a,error:i,disabled:l,property:f})]})}const Dz=`
69
69
  @font-face {
70
70
  font-family: rmel-iconfont;
71
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=);
@@ -648,10 +648,10 @@
648
648
  .rc-md-editor .header-list .list-item:hover {
649
649
  }
650
650
 
651
- `;function Ei({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:ke(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(mn,{...w})},`custom_shaped_array_${p}`)});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(_n,{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})]})}Fe.addMethod(Fe.array,"uniqueInArray",function(e=c=>c,t){return this.test("uniqueInArray",t,c=>!c||c.length===new Set(c.map(e)).size)});function Fi(e,t,c){const i={};return Object.entries(t).forEach(([a,l])=>{i[a]=lo({property:l,customFieldValidator:c,name:a,entityId:e})}),Fe.object().shape(i)}function lo(e){const t=e.property;if(Pe(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 vz(e);if(t.dataType==="number")return Kz(e);if(t.dataType==="boolean")return Ez(e);if(t.dataType==="map")return mz(e);if(t.dataType==="array")return Pz(e);if(t.dataType==="date")return Sz(e);if(t.dataType==="geopoint")return Cz(e);if(t.dataType==="reference")return Bz(e);throw console.error("Unsupported data type in yup mapping",t),Error("Unsupported data type in yup mapping")}function mz({property:e,entityId:t,customFieldValidator:c,name:i}){const a={};return e.validation,e.properties&&Object.entries(e.properties).forEach(([l,s])=>{a[l]=lo({property:s,parentProperty:e,customFieldValidator:c,name:`${i}[${l}]`,entityId:t})}),Fe.object().shape(a)}function vz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.string();const s=e.validation;if(e.enumValues){s?.required&&(l=l.required(s?.requiredMessage?s.requiredMessage:"Required"));const d=sn(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"?Oi(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 Kz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){const l=e.validation;let s=Fe.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 Cz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.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 Sz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){if(e.autoValue)return Fe.object().nullable();let l=Fe.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 Bz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.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 Ez({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.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 Fz(e){return e.validation?.uniqueInArray?!0:e.dataType==="map"&&e.properties?Object.entries(e.properties).filter(([t,c])=>c.validation?.uniqueInArray):!1}function Pz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.array();if(e.of)if(Array.isArray(e.of)){const d=e.of.map((u,A)=>({[`${i}[${A}]`]:lo({property:u,parentProperty:e,entityId:a})})).reduce((u,A)=>({...u,...A}),{});return Fe.array().of(Fe.mixed().test("Dynamic object validation","Dynamic object validation error",(u,A)=>ln(d,A.path).validate(u)))}else{l=l.of(lo({property:e.of,parentProperty:e,entityId:a}));const d=Fz(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 Dz=({containerRef:e})=>{const{isSubmitting:t,isValidating:c,errors:i}=Be.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=Pi(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},Nz=e=>{const t=e&&e.scrollHeight>e.clientHeight,c=e?window.getComputedStyle(e).overflowY:null,i=c&&c.indexOf("hidden")!==-1;return t&&!i},Pi=e=>!e||e===document.body?document.body:Nz(e)?e:Pi(e.parentNode);function Tz({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 sn(e)},[e]),A=un(),{copy:y}=jc({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(Ae,{title:"Copy",children:n.jsx(x,{onClick:_=>y(l.id),"aria-label":"copy-id",children:n.jsx(no,{size:"small"})})}),g?.entityLinkBuilder&&n.jsx(Ae,{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(oo,{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(xe,{value:String(_.id),children:n.jsx(Se,{enumKey:_.id,enumValues:u,size:"medium"})},_.id))}),!u&&n.jsx(rn,{...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(Be.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}),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(ye,l?"pl-3":"",A,y,g,t),...u,children:[l,e]}):n.jsxs("button",{type:u.type??"button",onClick:u.onClick,className:E(ye,l?"pl-3":"",A,y,g,t),disabled:i,...u,children:[l,e]})}const Di=f.memo(Mz,(e,t)=>e.status===t.status&&e.path===t.path&&se(e.entity?.values,t.entity?.values));function Mz({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=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: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??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]),[v,C]=f.useState(k),[S,P]=f.useState(!1),[D,T]=f.useState(),B=f.useRef(i?.values??K),N=B.current,[M,Y]=f.useState(N),H=Q=>{Y(Q),d&&d(Q),g&&Q&&!se(Q,N)&&$(Q)};f.useEffect(()=>{v&&u&&u(v)},[v,u]);const G=Me({collection:c,path:t,entityId:v,values:M,previousValues:N,fields:_.fields}),oe=G.callbacks?.onIdUpdate;f.useEffect(()=>{if(oe&&M&&(e==="new"||e==="copy"))try{const Q=oe({collection:G,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(G.properties).map(([Q,J])=>{if(Rn(J))return{};const ne=N[Q],U=K[Q];return se(ne,U)?{}:{[Q]:U}}).reduce((Q,J)=>({...Q,...J}),{}):{},[K,G.properties,N,e]),$=Q=>a({collection:G,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(G.customId&&G.customId!=="optional"&&!v)throw Error("Form misconfiguration when saving, entityId should be set")}else throw Error("New FormType added, check EntityForm");$(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?Fi(v,G.properties,O):void 0,[v,G.properties,O]);return n.jsx(Be.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:G,path:t,fields:_.fields}),entityId:v,path:t,save:$};if(f.useEffect(()=>{A&&A(ne)},[A,ne]),b&&G){const U={entityId:v,path:t,status:e,collection:c,context:_,currentEntityId:v,formContext:ne};J.push(...b.map((ce,ie)=>ce.form?.Actions?n.jsx(ce.form.Actions,{...U},`actions_${ce.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 "+G.hideIdFromForm?"mb-2":"mb-0",variant:"h4",children:G.singularName??G.name})}),!y&&n.jsx(Tz,{customId:G.customId,entityId:v,status:e,onChange:C,error:S,entity:i}),v&&n.jsx(Oz,{...Q,initialValues:N,onModified:s,onValuesChanged:H,underlyingChanges:L,entity:i,resolvedCollection:G,formContext:ne,status:e,savingError:D,closeAfterSaveRef:m,autoSave:g})]})]})}})}function Oz(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||Sn(C)||!!C.disabled;if(Rn(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(mn,{...T})})},`field_${A.name}_${v}`)}).filter(Boolean)}),m=y||!w&&g==="existing",K=f.useRef(null);return n.jsxs(Be.Form,{onSubmit:h,noValidate:!0,children:[n.jsxs("div",{className:"mt-12",ref:K,children:[k,n.jsx(Dz,{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:m,type:"reset",children:g==="existing"?"Discard":"Clear"}),n.jsxs(te,{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(te,{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 Ni(e,t){try{const c=Object.keys(e);return(t??c).map(a=>{if(e[a]){const l=e[a];return!Pe(l)&&l?.dataType==="map"&&l.properties?{[a]:{...l,properties:Ni(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 ct(e,t){if(e)return typeof e=="string"?e:e(t)}const Ti="::";function it(e){return Mi(Ze(e))}function Mi(e){return e.length===1?e[0]:e.reduce((t,c)=>`${t}${Ti}${c}`)}function Ze(e){return e.split("/").filter((t,c)=>c%2===0)}function Lz(e){return e?e.toString():""}function Oi(e){if(!e)return;const t=e.match(/\/(.*?)\/([a-z]*)?$/i);return t?new RegExp(t[1],t[2]||""):new RegExp(e,"")}function Qz(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 Vz(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 Li(e,t){const c=De({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 Wz(e){return n.jsx(Ir,{size:e})}function at(e,t){const c=e?.Icon??Ir;return n.jsx(c,{size:t})}function ke(e,t="small",c={}){if(Pe(e))return n.jsx(mc,{size:t});{const i=Ho(e,c);return at(i,t)}}function Gz(e,t){return Pe(e)?"#888":Ho(e,t)?.color??"#666"}function vn(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 vn(i.properties,c.slice(1).join("."))}}}function lt(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 lt(i.properties,c.slice(1).join("."))}}}function zz(e){return e.replace(/\.([^.]*)/g,"[$1]")}function Qi(e,t){if(!t)return e;const c={};return t.forEach(i=>{const a=vn(e,i);typeof a=="object"&&a.dataType==="map"&&a.properties&&(c[i]={...a,properties:Qi(a.properties,a.propertiesOrder??[])}),a&&(c[i]=a)}),c}function Hz(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 so(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 st(e,t,c,i){return so(e,t,c,i).edit??Vo.edit}function Wo(e,t,c,i){return so(e,t,c,i).create??Vo.create}function dt(e,t,c,i){return so(e,t,c,i).delete??Vo.delete}function Vi(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=Vi(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=_r.length;return a||(a=_r[nc(e.path)%l]),n.jsx(r,{iconKey:a,size:"medium",className:t})}const zo=cc.reduce((e,t)=>(e[t]=t,e),{});function Uz(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 Yz(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 Wi(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&&!Pe(d)&&!Li(d,t)}).slice(0,i))}function Gi(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 ut(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,ut(l,`${a}[${s}]`))}):Object.assign(c,ut(e[i],a)):c[a]=e[i],c},{})}function zi(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=zi([a]);Object.entries(l).forEach(([s,d])=>{const u=`${i}.${s}`;t[u]=Math.max(t[u]||0,d)})}}),t),{})}function Hi(e){Object.keys(e).forEach(t=>{const c=e[t];c.editable=!0,c.dataType==="map"&&c.properties&&Hi(c.properties)})}function Ui(e){return Object.entries(e).reduce((t,[c,i])=>{if(!Pe(i)&&i.dataType==="map"&&i.properties){const a={...i,properties:Ui(i.properties)};t[c]=a}return Pe(i)?t[c]=i:t[c]={...i,editable:!1},t},{})}function Yi(e){return Object.keys(ft).includes(e)}const ft={text_field:{key:"text_field",name:"Text field",description:"Simple short text",Icon:Tc,color:"#2d7ff9",property:{dataType:"string",Field:Mn}},multiline:{key:"multiline",name:"Multiline",description:"Text with multiple lines",Icon:Mc,color:"#2d7ff9",property:{dataType:"string",multiline:!0,Field:Mn}},markdown:{key:"markdown",name:"Markdown",description:"Text with advanced markdown syntax",Icon:kc,color:"#2d7ff9",property:{dataType:"string",markdown:!0,Field:Bi}},url:{key:"url",name:"Url",description:"Text with URL validation",Icon:vc,color:"#154fb3",property:{dataType:"string",url:!0,Field:Mn}},email:{key:"email",name:"Email",description:"Text with email validation",Icon:gc,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:Bc,color:"#4223c9",property:{dataType:"string",enumValues:[],Field:$r}},multi_select:{key:"multi_select",name:"Multi select",description:"Select multiple text values from within an enumeration",Icon:Ec,color:"#4223c9",property:{dataType:"array",of:{dataType:"string",enumValues:[]},Field:Zr}},number_input:{key:"number_input",name:"Number input",description:"Simple number field with validation",Icon:Pc,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:wr,color:"#bec920",property:{dataType:"number",enumValues:[],Field:$r}},multi_number_select:{key:"multi_number_select",name:"Multiple number select",description:"Select multiple number values from within an enumeration",Icon:wr,color:"#bec920",property:{dataType:"array",of:{dataType:"number",enumValues:[]},Field:Zr}},file_upload:{key:"file_upload",name:"File upload",description:"Input for uploading single files",Icon:Oc,color:"#f92d9a",property:{dataType:"string",storage:{storagePath:"{path}"},Field:Rr}},multi_file_upload:{key:"multi_file_upload",name:"Multiple file upload",description:"Input for uploading multiple files",Icon:_c,color:"#f92d9a",property:{dataType:"array",of:{dataType:"string",storage:{storagePath:"{path}"}},Field:Rr}},reference:{key:"reference",name:"Reference",description:"The value refers to a different collection",Icon:Sc,color:"#ff0042",property:{dataType:"reference",Field:mi}},multi_references:{key:"multi_references",name:"Multiple references",description:"Multiple values that refer to a different collection",Icon:ic,color:"#ff0042",property:{dataType:"array",of:{dataType:"reference"},Field:Ai}},switch:{key:"switch",name:"Switch",description:"Boolean true or false field (or yes or no, 0 or 1...)",Icon:wc,color:"#20d9d2",property:{dataType:"boolean",Field:wi}},date_time:{key:"date_time",name:"Date/time",description:"A date time select field",Icon:Nc,color:"#8b46ff",property:{dataType:"date",Field:ki}},group:{key:"group",name:"Group",description:"Group of multiple fields",Icon:hr,color:"#ff9408",property:{dataType:"map",properties:{},Field:vi}},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:Ki}},repeat:{key:"repeat",name:"Repeat/list",description:"A field that gets repeated multiple times (e.g. multiple text fields)",Icon:vr,color:"#ff9408",property:{dataType:"array",of:{dataType:"string"},Field:Ci}},custom_array:{key:"custom_array",name:"Custom array",description:"A field that saved its value as an array of custom objects",Icon:vr,color:"#ff9408",property:{dataType:"array",of:[],Field:Ei}},block:{key:"block",name:"Block",description:"A complex field that allows the user to compose different fields together, with a key->value format",Icon:Lc,color:"#ff9408",property:{dataType:"array",oneOf:{properties:{}},Field:Si}}};function Ho(e,t){const c=_t(e),i=At(e);if(!i){console.error("No field id found for property",e);return}const a=ft[i],l=c?t[c]:void 0;return qe(a??{},l??{})}function At(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":Pe(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 _t(e){return e.fieldConfig?e.fieldConfig:At(e)}const Me=({collection:e,path:t,entityId:c,values:i,previousValues:a,userConfigPersistence:l,fields:s})=>{const d=l?.getCollectionConfig(t),u=ln(d,"properties"),A=eo(e.properties),y=i??A,g=a??i??A,h=Object.entries(e.properties).map(([b,p])=>{const w=y?Be.getIn(y,b):void 0;return{[b]:De({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}),{}),_=qe(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 De({propertyOrBuilder:e,propertyValue:t,fromBuilder:c=!1,...i}){if(typeof e=="object"&&"resolved"in e)return e;let a=null;if(e)if(Pe(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=De({...i,propertyValue:t,propertyOrBuilder:s,fromBuilder:!0})}else{const l=e;if(l.dataType==="map"&&l.properties){const s=yt({...i,properties:l.properties,propertyValue:t});a={...l,resolved:!0,fromBuilder:c,properties:s}}else l.dataType==="array"?a=An({property:l,propertyValue:t,fromBuilder:c,...i}):(l.dataType==="string"||l.dataType==="number")&&l.enumValues&&(a=gt(l,c))}else return null;if(a||(a={...e,resolved:!0,fromBuilder:c}),a.fieldConfig&&!Yi(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=De({propertyOrBuilder:s.property,propertyValue:t,...i});d&&(a=qe(d,a))}}return a?{...a,resolved:!0}:null}function An({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)=>De({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)=>De({propertyKey:`${e}.${u}`,propertyOrBuilder:a,propertyValue:d,...i,index:u})).filter(d=>!!d):[],s=De({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:De({propertyKey:`${e}.${u}`,propertyOrBuilder:y,propertyValue:c,...i})}).filter(d=>!!d):[],s=yt({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 yt({properties:e,propertyValue:t,...c}){return Object.entries(e).map(([i,a])=>({[i]:De({propertyKey:i,propertyOrBuilder:a,propertyValue:t&&typeof t=="object"?ln(t,i):void 0,...c})})).filter(i=>i!==null).reduce((i,a)=>({...i,...a}),{})}function gt(e,t){return typeof e.enumValues=="object"?{...e,resolved:!0,enumValues:sn(e.enumValues)?.filter(c=>c&&c.id&&c.label)??[],fromBuilder:t??!1}:e}function $z(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 ht(e,t){return typeof e=="string"?t?.find(c=>c.key===e):e}function It(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=>ht(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(...It({path:p,collections:A.subcollections,currentFullPath:b,contextEntityViews:e.contextEntityViews}))}}break}}return s}function $i(e){return n.jsx(Ae,{...e,tooltipClassName:"!text-red-500 bg-red-50",children:e.children})}const ji={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"},jz={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"},qz={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=ji,style:y,onClick:g,...h}){const _=a||(d?"p":A[u]||ji[u])||"span",I=E(ye,qz[u],t?jz[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 be({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(pr,{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($i,{title:c,children:a}):a}function bt({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(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(x,{children:n.jsx(oo,{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(Ce,{propertyKey:u,value:y,entity:e,property:A,size:"medium"})})]},`reference_previews_${u}`)})]})})}function Jz(e){return e.dataType==="boolean"?"center":e.dataType==="number"?e.enumValues?"left":"right":e.dataType==="date"?"right":"left"}function qi(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:qi(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 pt(e){return`subcollection:${e.alias??e.path}`}function uo(e){return parseInt(e,10)||0}const Zz={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Ji(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const wt=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=Xz(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,Y=w.current;M.style.width=N.width,Y.value=T.value||t.placeholder||"x",Y.value.slice(-1)===`
652
- `&&(Y.value+=" ");const H=N.boxSizing,G=uo(N.paddingBottom)+uo(N.paddingTop),oe=uo(N.borderBottomWidth)+uo(N.borderTopWidth),L=uo(N.minHeight),$=M.scrollHeight;Y.value="x";const X=M.scrollHeight;let O=$;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&&H==="border-box"?G+oe:0),Q=Math.abs(O-$)<=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();Ji(T)||(l&&l(T),K(B=>C(B,T)))},[v,l]),P=()=>{const T=v();Ji(T)||Ha.flushSync(()=>{K(B=>C(B,T))})};ae.useEffect(()=>{const T=Gi(()=>{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:{...Zz.shadow,...u,padding:0}})]})});function Xz(...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 Rz(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(wt,{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 kt(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(zr,{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(qr,{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(xe,{value:String(b.id),children:n.jsx(Se,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))})}function eH(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 nH(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(et,{ref:a,size:"small",value:!!t,onValueChange:c})}function oH(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(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($i,{side:"left",className:"flex items-center justify-center",style:{width:32,height:32},title:e.message,children:n.jsx(hc,{size:"small",color:"error"})})]})})}const rH="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",tH="pt-0 border-2 border-solid",cH="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",iH="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 aH(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}=yi({entityValues:u.values,entityId:u.id,path:A,property:d,propertyKey:t,storageSource:h,onChange:g,value:l,disabled:s});return n.jsx(lH,{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 lH({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=un(),{open:S,getRootProps:P,getInputProps:D,isDragActive:T,isDragAccept:B,isDragReject:N}=or.useDropzone({accept:_.acceptedFiles?_.acceptedFiles.map(L=>({[L]:[]})).reduce((L,$)=>({...L,...$}),{}):void 0,disabled:g,maxSize:_.maxSize,noClick:!0,noKeyboard:!0,onDrop:I,onDropRejected:(L,$)=>{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(),Y=A?"Drag 'n' drop some files here, or click here to edit":"Drag 'n' drop a file here, or click here edit",H=A?e.of:e,G=f.useMemo(()=>Pn(m),[m]),oe=!g&&d;return n.jsxs("div",{...M,onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>k(!1),className:E(rH,"relative w-full h-full flex",`justify-${v?"start":"center"}`,T?tH:"",B?cH:"",N?iH:""),children:[n.jsx("input",{autoFocus:h,...D()}),c.map((L,$)=>{let X;return L.storagePathOrDownloadUrl?X=n.jsx(sH,{property:H,value:L.storagePathOrDownloadUrl,entity:l,size:m},`storage_preview_${$}`):L.file&&(X=n.jsx(bi,{entry:L,metadata:K,storagePath:p(L.file),onFileUploadComplete:b,imageSize:G,simple:!0},`storage_progress_${$}`)),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:Y})}),n.jsx(Zi,{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(yc,{size:"small",className:"text-gray-500"})})})]})}function sH({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 Xi(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(dH,{...e,collection:a})}function dH(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=co({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 je?n.jsx(on,{onClick:A?void 0:K,size:fn(s),reference:c,onHover:h,disabled:!l,previewProperties:d}):n.jsx(To,{onClick:A?void 0:K,size:fn(s),children:n.jsx(be,{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(be,{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(te,{onClick:K,size:"small",variant:"outlined",color:"primary",children:["Edit ",u]})]}):n.jsx(be,{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 uH=({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}),mt=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]=rr(),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 Y=f.useCallback(()=>{if(!_)return;const O=m&&m?.current?.getBoundingClientRect();l?_(void 0):!a&&O&&_(O)},[m,_,a,l]),H=f.useCallback(O=>{Y(),O.stopPropagation()},[Y]);f.useEffect(()=>{if(k){const O=k.height>C;K!==O&&v(O)}},[k,K,C]);const G=!B&&a,oe=!l&&y&&K,L=!l&&!y&&K,$=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":"",!G&&!D&&!B?"border-transparent":"",b?"overflow-hidden":"",G?"bg-gray-50 dark:bg-gray-900":"",G&&!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:H,onMouseEnter:$,onMouseMove:$,onMouseLeave:X,children:[n.jsxs(le,{children:[h&&!L&&t,(!h||L)&&n.jsx(uH,{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(Ae,{title:s,children:n.jsx(Dc,{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 fH(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 AH=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}=OH(),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=Sn(a),Y=typeof a.disabled=="object"?a.disabled.disabledMessage:void 0,H=y||g||!!a.disabled,G=f.useMemo(()=>lo({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=W=>{se(W,v.current)||(D(!1),G.validate(W).then(()=>{S(void 0),v.current=W,_&&_({value:W,propertyKey:t,setError:S,onValueUpdated:T,entity:A,fullPath:u,context:h})}).catch(z=>{S(z)}))};f.useEffect(()=>{G.validate(m).then(()=>S(void 0)).catch(W=>{S(W)})},[m,G]);const L=W=>{let z;W===void 0?z=null:z=W,K(z),oe(z)};Te({property:a,value:m,setValue:L});const $=f.useCallback(W=>{p(W?{width:s,height:d,entity:A,cellRect:W,propertyKey:t}:void 0)},[A,d,t,p,s]),X=W=>{w&&w(W?{width:s,height:d,entity:A,cellRect:W,propertyKey:t}:void 0)};let O,V=!1,Q=!1,J=!0,ne=!1,U=!1,ce=!0;const ie=!H&&C;if(y||M)return n.jsx(mt,{size:I,width:s,saved:P,value:m,align:l??"left",fullHeight:!1,disabledTooltip:Y??(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:fn(I)})},`${t}_${A.path}_${A.id}`);if(!B&&(!N||k)){if(fH(a))O=n.jsx(aH,{error:C,disabled:H,focused:k,selected:k,openPopup:w?X:void 0,property:a,entity:A,path:u,value:m,previewSize:fn(I),updateValue:L,propertyKey:t}),ce=!1,Q=!0,U=!0,ne=!0;else if(k&&a.dataType==="number"){const z=a;z.enumValues?(O=n.jsx(kt,{name:t,multiple:!1,disabled:H,focused:k,valueType:"number",small:fn(I)!=="medium",enumValues:z.enumValues,error:C,internalValue:m,updateValue:L}),U=!0):(O=n.jsx(eH,{align:l,error:C,focused:k,disabled:H,value:m,updateValue:L}),V=!0)}else if(k&&a.dataType==="string"){const z=a;if(z.enumValues)O=n.jsx(kt,{name:t,multiple:!1,focused:k,disabled:H,valueType:"string",small:fn(I)!=="medium",enumValues:z.enumValues,error:C,internalValue:m,updateValue:L}),U=!0;else if(!z.storage){const Ne=!!z.multiline||!!z.markdown;O=n.jsx(Rz,{error:C,disabled:H,multiline:Ne,focused:k,value:m,updateValue:L}),V=!0}}else if(a.dataType==="boolean")O=n.jsx(nH,{error:C,disabled:H,focused:k,internalValue:m,updateValue:L});else if(a.dataType==="date")O=n.jsx(oH,{name:t,error:C,disabled:H,mode:a.mode,focused:k,internalValue:m,updateValue:L}),U=!0,J=!1,V=!1;else if(a.dataType==="reference")typeof a.path=="string"&&(O=n.jsx(Xi,{name:t,internalValue:m,updateValue:L,disabled:H,size:I,path:a.path,multiselect:!1,previewProperties:a.previewProperties,title:a.name,forceFilter:a.forceFilter})),V=!1;else if(a.dataType==="array"){const z=a;if(!z.of&&!z.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${t}`);z.of&&!Array.isArray(z.of)&&(z.of.dataType==="string"||z.of.dataType==="number"?k&&z.of.enumValues&&(O=n.jsx(kt,{name:t,multiple:!0,disabled:H,focused:k,small:fn(I)!=="medium",valueType:z.of.dataType,enumValues:z.of.enumValues,error:C,internalValue:m,updateValue:L}),V=!0,U=!0,J=!1):z.of.dataType==="reference"&&(typeof z.of.key=="string"&&(O=n.jsx(Xi,{name:t,disabled:H,internalValue:m,updateValue:L,size:I,multiselect:!0,path:z.of.key,previewProperties:z.of.previewProperties,title:z.of.name,forceFilter:z.of.forceFilter})),V=!1))}}return O||(V=!1,Q=k&&!O&&!H&&!M,O=n.jsx(Ce,{width:s,height:d,entity:A,propertyKey:t,value:m,property:a,size:fn(I)})),n.jsx(mt,{size:I,width:s,onSelect:$,selected:k,disabled:H||M,disabledTooltip:Y??"Disabled",removePadding:ne,fullHeight:U,saved:P,error:C,align:l,allowScroll:V,showExpandIcon:Q,value:m,hideOverflow:J,actions:ce&&n.jsx(Zi,{showError:ie,disabled:H,showExpandIcon:Q,selected:k,openPopup:H?void 0:X}),children:O},`cell_${t}_${A.path}_${A.id}`)},_H);function _H(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 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})]})})}const yH=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})]})}),n.jsxs(n.Fragment,{children:[g&&n.jsx(g,{onHover:h||I}),u.sortable&&(a||K||I)&&n.jsx(Ut,{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(Ut,{color:"secondary",invisible:!d,children:n.jsx(jo,{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(bc,{size:"small"})}),children:u.filter&&n.jsx(gH,{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 gH({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:"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:!h,variant:"text",color:"primary",type:"reset","aria-label":"filter clear",onClick:g,children:"Clear"}),n.jsx(te,{variant:"outlined",color:"primary",onClick:y,children:"Filter"})]})]}):null}const hH=({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(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((v,C)=>{const S=e[C],P=S&&l&&l[S.key]?l[S.key]:void 0;return n.jsx(le,{children:n.jsx(yH,{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,{})]})},IH=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),bH=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 pH=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(hH,{...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,Y]=rr(),H=f.useCallback(W=>{T(D.map(z=>z.key===W.column.key?W.column:z))},[D]),G=f.useCallback(W=>{T(D.map(z=>z.key===W.column.key?W.column:z)),d&&d(W)},[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)},[]),$=f.useCallback(W=>{const z=S===W&&P==="desc",de=S===W&&P==="asc"?"desc":z?void 0:"asc",Oe=z?void 0:W,Re=oe.current,tn=de&&Oe?[Oe,de]:void 0;Re&&A&&!A(Re,tn)&&y&&y(void 0),c&&c(),I&&I(tn),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)-Y.height,0),V=f.useCallback(W=>{i&&(t?.length??0)>0&&W>N.current+600&&(N.current=W,i())},[t?.length,i]),Q=f.useCallback(({scrollOffset:W,scrollUpdateWasRequested:z})=>{!z&&W>=O-600&&V(W)},[O,V]),J=f.useCallback((W,z)=>{N.current=0;const Ne=oe.current;let de=Ne?{...Ne}:{};z?de[W.key]=z:delete de[W.key],!A||A(de,S&&P?[S,P]:void 0)||(de=z?{[W.key]:z}:{}),y&&y(de),W.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(ao,{className:"px-4 break-all",source:h.message})]}),[h?.message]),U=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(lc,{}),n.jsx(j,{children:_})]}),[_,b]),ce=!b&&(t?.length??0)===0,ie=h?ne():ce?U():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:H,onColumnResizeEnd:G,filter:oe.current,onColumnSort:$,onFilterUpdate:J,sortByProperty:S,hoverRow:w??!1,createFilterField:k,rowClassName:m,endAdornment:v,AddColumnComponent:C},children:n.jsx(wH,{outerRef:B,width:Y.width,height:Y.height,itemCount:(t?.length??0)+(v?1:0),onScroll:Q,includeAddColumn:!!C,itemSize:Ln(a)},a)})})},se);function wH({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(IH,{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(bH,{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(Wa.FixedSizeList,{outerRef:e,innerElementType:pH,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(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(ze,"shadow py-2 z-30"),children:e})})]})}function me({children:e,dense:t,onClick:c}){return n.jsx(Jn.Item,{className:E(ye,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 vt({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(Ae,{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(Ae,{title:`Select ${e.id}`,children:n.jsx(Yr,{size:g?"medium":"small",checked:i,onCheckedChange:b})}),(_||I)&&n.jsxs(Qn,{trigger:n.jsx(x,{size:g?"medium":"small",children:n.jsx(mr,{})}),children:[I&&n.jsxs(me,{onClick:p,children:[n.jsx(Fo,{}),"Delete"]}),_&&n.jsxs(me,{onClick:w,children:[n.jsx(Ic,{}),"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 kH(e){const t=We(),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(pc,{}),"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(zt,{onTextSearch:e.onTextSearch,expandable:!0},"search-bar"),e.actions]})]})}const Ri={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Contains Any"},Kt=["array-contains-any","in","not-in"];function mH({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 je?B.id:null).filter(Boolean):[b.id]:[];function k(B,N){const M=Kt.includes(_),Y=Kt.includes(B);let H=N;M!==Y&&(H=Y?H instanceof je?[H]:[]:void 0),I(B),p(H);const G=H!==null&&Array.isArray(H)?H.length>0:H!==void 0;c(B&&G?[B,H]: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=Kt.includes(_),P=co({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=>Ri[B],children:u.map(B=>n.jsx(xe,{value:B,children:Ri[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(te,{onClick:D,className:"h-full",children:S?"Select references":"Select reference"})]})]})}const ea={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Any"},Ct=["array-contains-any","in","not-in"];function vH({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=Ct.includes(y),K=Ct.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=Ct.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=>ea[p],children:d.map(p=>n.jsx(xe,{value:p,children:ea[p]},p))})}),n.jsxs("div",{className:"flex-grow ml-2",children:[!l&&n.jsx(rn,{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(dn,{})})}),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(dn,{})}),renderValue:p=>n.jsx(Se,{enumKey:p,enumValues:l,size:"small"},`select_value_${e}_${p}`),children:l.map(p=>n.jsx(xe,{value:String(p.id),children:n.jsx(Se,{enumKey:String(p.id),enumValues:l,size:"small"})},`select_value_${e}_${p.id}`))})]})]})}function KH({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 CH="hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75",SH="inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",BH="dark:text-gray-100 text-gray-700 visited:text-gray-700 dark:visited:text-gray-100",EH={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"},FH={circular:"rounded-full",square:"rounded-md"},PH=({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(ye,l?"opacity-50 pointer-events-none":"cursor-pointer",s?"outline outline-2 outline-primary":"",BH,y,SH,CH,FH[a],EH[c],t),children:e})},x=f.forwardRef(PH),St=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",DH);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&&Je,i?nn:Ge,{"min-h-[48px]":d==="small","min-h-[64px]":d==="medium"},u),style:A,children:[t&&n.jsx(St,{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(nr,{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&&ye,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(sc,{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(dn,{})})]}),m&&n.jsx(be,{title:"Invalid date value for this field",error:`The provided value is: ${JSON.stringify(e)}`})]})},DH=`
651
+ `;function Ti({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,tableMode:s,property:d,includeDescription:f,underlyingValueHasChanged:A,context:_,disabled:h}){if(x(),!Array.isArray(d.resolvedProperties))throw Error("ArrayCustomShapedFieldBinding misconfiguration. Property `of` not set");const g=d.expanded===void 0?!0:d.expanded;Qe({property:d,value:t,setValue:l});const y=n.jsx(Ke,{icon:ve(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:h,property:b,includeDescription:f,underlyingValueHasChanged:A,context:_,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(gn,{initiallyExpanded:g,title:y,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:I}),s&&I,n.jsx(Ce,{includeDescription:f,showError:i,error:c,disabled:h,property:d})]})}Te.addMethod(Te.array,"uniqueInArray",function(e=c=>c,t){return this.test("uniqueInArray",t,c=>!c||c.length===new Set(c.map(e)).size)});function Mi(e,t,c){const i={};return Object.entries(t).forEach(([a,l])=>{i[a]=uo({property:l,customFieldValidator:c,name:a,entityId:e})}),Te.object().shape(i)}function uo(e){const t=e.property;if(Me(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 Tz(e);if(t.dataType==="number")return Mz(e);if(t.dataType==="boolean")return Vz(e);if(t.dataType==="map")return Nz(e);if(t.dataType==="array")return Gz(e);if(t.dataType==="date")return Lz(e);if(t.dataType==="geopoint")return Oz(e);if(t.dataType==="reference")return Qz(e);throw console.error("Unsupported data type in yup mapping",t),Error("Unsupported data type in yup mapping")}function Nz({property:e,entityId:t,customFieldValidator:c,name:i}){const a={};return e.validation,e.properties&&Object.entries(e.properties).forEach(([l,s])=>{a[l]=uo({property:s,parentProperty:e,customFieldValidator:c,name:`${i}[${l}]`,entityId:t})}),Te.object().shape(a)}function Tz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Te.string();const s=e.validation;if(e.enumValues){s?.required&&(l=l.required(s?.requiredMessage?s.requiredMessage:"Required"));const d=dn(e.enumValues);l=l.oneOf((s?.required?d:[...d,null]).map(f=>f?.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,f)=>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"?Wi(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 Mz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){const l=e.validation;let s=Te.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 Oz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Te.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 Lz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){if(e.autoValue)return Te.object().nullable();let l=Te.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 Qz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Te.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 Vz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Te.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 Wz(e){return e.validation?.uniqueInArray?!0:e.dataType==="map"&&e.properties?Object.entries(e.properties).filter(([t,c])=>c.validation?.uniqueInArray):!1}function Gz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Te.array();if(e.of)if(Array.isArray(e.of)){const d=e.of.map((f,A)=>({[`${i}[${A}]`]:uo({property:f,parentProperty:e,entityId:a})})).reduce((f,A)=>({...f,...A}),{});return Te.array().of(Te.mixed().test("Dynamic object validation","Dynamic object validation error",(f,A)=>sn(d,A.path).validate(f)))}else{l=l.of(uo({property:e.of,parentProperty:e,entityId:a}));const d=Wz(e.of);d&&(typeof d=="boolean"?l=l.uniqueInArray(f=>f,`${e.name} should have unique values within the array`):Array.isArray(d)&&d.forEach(([f,A])=>{l=l.uniqueInArray(_=>_&&_[f],`${e.name} → ${A.name??f}: 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 zz=({containerRef:e})=>{const{isSubmitting:t,isValidating:c,errors:i}=De.useFormikContext();return u.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=Oi(e.current);if(s){const f=l.getBoundingClientRect().top;s.scrollTo({top:s.scrollTop+f-64,behavior:"smooth"})}const d=l.querySelector("input");d&&d.focus()}}},[t,c,i,e]),null},Hz=e=>{const t=e&&e.scrollHeight>e.clientHeight,c=e?window.getComputedStyle(e).overflowY:null,i=c&&c.indexOf("hidden")!==-1;return t&&!i},Oi=e=>!e||e===document.body?document.body:Hz(e)?e:Oi(e.parentNode);function Uz({customId:e,entityId:t,status:c,onChange:i,error:a,entity:l}){const s=c==="existing"||!e,d=c!=="existing"&&!e,f=u.useMemo(()=>{if(!(!e||typeof e=="boolean"||e==="optional"))return dn(e)},[e]),A=yn(),{copy:_}=xc({onSuccess:y=>A.open({type:"success",message:`Copied ${y}`})}),h=x(),g={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(Ae,{title:"Copy",children:n.jsx(Z,{onClick:y=>_(l.id),"aria-label":"copy-id",children:n.jsx(ro,{size:"small"})})}),h?.entityLinkBuilder&&n.jsx(Ae,{title:"Open in the console",children:n.jsx(Z,{component:"a",href:h.entityLinkBuilder({entity:l}),rel:"noopener noreferrer",target:"_blank",onClick:y=>y.stopPropagation(),"aria-label":"go-to-datasource",children:n.jsx(to,{size:"small"})})})]}):void 0};return n.jsxs(n.Fragment,{children:[f&&n.jsx(xe,{error:a,onValueChange:y=>i(y),...g,renderValue:y=>{const I=f.find(b=>b.id===y);return I?`${I.id} - ${I.label}`:y},children:f.map(y=>n.jsx(Re,{value:String(y.id),children:n.jsx(Pe,{enumKey:y.id,enumValues:f,size:"medium"})},y.id))}),!f&&n.jsx(tn,{...g,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:y=>{let I=y.target.value;return I&&(I=I.trim()),i(I.length?I:void 0)}}),n.jsx(De.ErrorMessage,{name:"id",component:"div",children:y=>"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,...f}){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",_=F({"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=F({"py-1 px-2":a==="small","py-2 px-4":a==="medium","py-2 px-5":a==="large"});return d?n.jsxs(d,{onClick:f.onClick,className:F(he,l?"pl-3":"",A,_,h,t),...f,children:[l,e]}):n.jsxs("button",{type:f.type??"button",onClick:f.onClick,className:F(he,l?"pl-3":"",A,_,h,t),disabled:i,...f,children:[l,e]})}function Li(e,t){try{const c=Object.keys(e);return(t??c).map(a=>{if(e[a]){const l=e[a];return!Me(l)&&l?.dataType==="map"&&l.properties?{[a]:{...l,properties:Li(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 dt(e,t){if(e)return typeof e=="string"?e:e(t)}const Qi="::";function ut(e){return Vi(Ve(e))}function Vi(e){return e.length===1?e[0]:e.reduce((t,c)=>`${t}${Qi}${c}`)}function Ve(e){return e.split("/").filter((t,c)=>c%2===0)}function Yz(e){return e?e.toString():""}function Wi(e){if(!e)return;const t=e.match(/\/(.*?)\/([a-z]*)?$/i);return t?new RegExp(t[1],t[2]||""):new RegExp(e,"")}function $z(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 Ho(e,t,c,i=300){const a=u.useRef(!1),l=()=>{t(),a.current=!1},s=u.useRef(void 0);u.useEffect(()=>(a.current=!0,clearTimeout(s.current),s.current=setTimeout(l,i),()=>{c&&l()}),[c,e])}function jz(e,t=300){const[c,i]=u.useState(e);return u.useEffect(()=>{const a=setTimeout(()=>{i(e)},t);return()=>{clearTimeout(a)}},[e,t]),c}function Gi(e,t){const c=Le({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 qz(e){return n.jsx(mr,{size:e})}function ft(e,t){const c=e?.Icon??mr;return n.jsx(c,{size:t})}function ve(e,t="small",c={}){if(Me(e))return n.jsx(Sc,{size:t});{const i=qo(e,c);return ft(i,t)}}function Jz(e,t){return Me(e)?"#888":qo(e,t)?.color??"#666"}function Cn(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 Cn(i.properties,c.slice(1).join("."))}}}function At(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 At(i.properties,c.slice(1).join("."))}}}function Zz(e){return e.replace(/\.([^.]*)/g,"[$1]")}function zi(e,t){if(!t)return e;const c={};return t.forEach(i=>{const a=Cn(e,i);typeof a=="object"&&a.dataType==="map"&&a.properties&&(c[i]={...a,properties:zi(a.properties,a.propertiesOrder??[])}),a&&(c[i]=a)}),c}function Xz(e){return e.propertiesOrder?e.propertiesOrder:[...Object.keys(e.properties),...(e.additionalFields??[]).map(t=>t.id)]}const Uo={read:!0,edit:!0,create:!0,delete:!0};function fo(e,t,c,i){const a=e.permissions;if(a===void 0)return Uo;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 yt(e,t,c,i){return fo(e,t,c,i).edit??Uo.edit}function Gn(e,t,c,i){return fo(e,t,c,i).create??Uo.create}function Yo(e,t,c,i){return fo(e,t,c,i).delete??Uo.delete}function Hi(e,t){if(e&&(e=Go(e),e in jo))return e in jo?n.jsx(r,{iconKey:e,size:"medium",className:t}):void 0}function $o(e,t){const c=Hi(e.icon,t);if(e?.icon&&c)return c;let i=Go(("singularName"in e?e.singularName:void 0)??e.name),a;i in jo&&(a=i),a||(i=Go(e.path),i in jo&&(a=i));const l=br.length;return a||(a=br[cc(e.path)%l]),n.jsx(r,{iconKey:a,size:"medium",className:t})}const jo=sc.reduce((e,t)=>(e[t]=t,e),{});function xz(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 Rz(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 Ui(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&&!Me(d)&&!Gi(d,t)}).slice(0,i))}function Yi(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 _t(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,_t(l,`${a}[${s}]`))}):Object.assign(c,_t(e[i],a)):c[a]=e[i],c},{})}function $i(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=$i([a]);Object.entries(l).forEach(([s,d])=>{const f=`${i}.${s}`;t[f]=Math.max(t[f]||0,d)})}}),t),{})}function ji(e){Object.keys(e).forEach(t=>{const c=e[t];c.editable=!0,c.dataType==="map"&&c.properties&&ji(c.properties)})}function qi(e){return Object.entries(e).reduce((t,[c,i])=>{if(!Me(i)&&i.dataType==="map"&&i.properties){const a={...i,properties:qi(i.properties)};t[c]=a}return Me(i)?t[c]=i:t[c]={...i,editable:!1},t},{})}function ht({entity:e,collection:t,path:c,className:i}){const a=x(),l=u.useMemo(()=>Oe({collection:t,path:c,entityId:e.id,values:e.values,fields:a.fields}),[t,c,e]),s=x(),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:F(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(Z,{children:n.jsx(to,{size:"small"})})})]})]}),Object.entries(d).map(([f,A])=>{const _=e.values[f];return n.jsxs("div",{className:F(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(Se,{propertyKey:f,value:_,entity:e,property:A,size:"medium"})})]},`reference_previews_${f}`)})]})})}function Ji({entityOrEntitiesToDelete:e,collection:t,onClose:c,open:i,callbacks:a,onEntityDelete:l,onMultipleEntitiesDelete:s,path:d}){const f=Ge(),A=yn(),[_,h]=u.useState(!1),[g,y]=u.useState(),[I,b]=u.useState(),p=x();u.useEffect(()=>{if(e){const S=Array.isArray(e)&&e.length===1?e[0]:e;y(S),b(Array.isArray(S))}},[e]);const w=u.useMemo(()=>Oe({collection:t,path:d,fields:p.fields}),[t,d]),k=u.useCallback(()=>{c()},[c]),m=u.useCallback(S=>{console.debug("Deleted",S)},[]),C=u.useCallback((S,D)=>{A.open({type:"error",message:"Error deleting: "+D?.message}),console.error("Error deleting entity"),console.error(D)},[w.name]),v=u.useCallback((S,D)=>{A.open({type:"error",message:"Error before deleting: "+D?.message}),console.error(D)},[w.name]),B=u.useCallback((S,D)=>{A.open({type:"error",message:"Error after deleting: "+D?.message}),console.error(D)},[w.name]),K=u.useCallback(S=>Zc({dataSource:f,entity:S,collection:w,callbacks:a,onDeleteSuccess:m,onDeleteFailure:C,onPreDeleteHookError:v,onDeleteSuccessHookError:B,context:p}),[f,w,a,m,C,v,B,p]),P=u.useCallback(async()=>{g&&(h(!0),I?Promise.all(g.map(K)).then(S=>{h(!1),s&&g&&s(d,g),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()}):K(g).then(S=>{h(!1),S&&(l&&g&&l(d,g),A.open({type:"success",message:`${w.singularName??w.name} deleted`}),c())}))},[g,I,K,s,d,c,A,w.name,l]);let E;if(g&&I)E=n.jsx(n.Fragment,{children:"Multiple entities"});else{const S=g;E=S?n.jsx(ht,{entity:S,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(rr,{maxWidth:"2xl","aria-labelledby":"delete-dialog",open:i,onOpenChange:S=>S?void 0:c(),children:[n.jsxs(tr,{fullHeight:!0,children:[n.jsx(q,{variant:"subtitle2",className:"p-4",children:T}),!I&&n.jsx("div",{className:"p-4",children:E})]}),n.jsxs(Sn,{children:[_&&n.jsx($n,{size:"small"}),n.jsx(ce,{onClick:k,disabled:_,variant:"text",color:"primary",children:"Cancel"}),n.jsx(ce,{autoFocus:!0,disabled:_,onClick:P,variant:"filled",color:"primary",children:"Ok"})]})]})}const eH={icon:n.jsx(Oo,{}),name:"Edit",collapsed:!1,onClick({entity:e,collection:t,context:c,highlightEntity:i,unhighlightEntity:a}){return i?.(e),c.onAnalyticsEvent?.("entity_click",{path:e.path,entityId:e.id}),c.sideEntityController.open({entityId:e.id,path:e.path,collection:t,updateUrl:!0,onClose:()=>a?.(e)}),Promise.resolve(void 0)}},Zi={icon:n.jsx(kc,{}),name:"Copy",onClick({entity:e,collection:t,context:c,highlightEntity:i,unhighlightEntity:a}){return i?.(e),c.onAnalyticsEvent?.("copy_entity_click",{path:e.path,entityId:e.id}),c.sideEntityController.open({entityId:e.id,path:e.path,copy:!0,collection:t,updateUrl:!0,onClose:()=>a?.(e)}),Promise.resolve(void 0)}},Xi={icon:n.jsx(To,{}),name:"Delete",onClick({entity:e,fullPath:t,collection:c,context:i,selectionController:a,onCollectionChange:l,sideEntityController:s}){const{closeDialog:d}=i.dialogsController.open({key:"delete_entity_dialog_"+e.id,Component:({open:f})=>{if(!c||!t)throw new Error("deleteEntityAction: Collection is undefined");return n.jsx(Ji,{entityOrEntitiesToDelete:e,path:t,collection:c,callbacks:c.callbacks,open:f,onEntityDelete:()=>{i.onAnalyticsEvent?.("single_entity_deleted",{path:t}),a?.setSelectedEntities(a.selectedEntities.filter(A=>A.id!==e.id)),l?.(),s?.close()},onClose:d})}});return Promise.resolve(void 0)}},xi=u.memo(nH,(e,t)=>e.status===t.status&&e.path===t.path&&de(e.entity?.values,t.entity?.values));function nH({status:e,path:t,collection:c,entity:i,onEntitySaveRequested:a,onDiscard:l,onModified:s,onValuesChanged:d,onIdChange:f,onFormContextChange:A,hideId:_,autoSave:h,onIdUpdateError:g}){const y=x(),I=Ge(),b=y.plugins,p=u.useMemo(()=>Oe({collection:c,path:t,values:i?.values,fields:y.fields}),[i?.values,t]),w=(e==="new"||e==="copy")&&!!p.customId&&p.customId!=="optional",k=u.useMemo(()=>e==="new"||e==="copy"?w?void 0:I.generateEntityId(t):i?.id,[]),m=u.useRef(!1),C=u.useMemo(()=>{const G=p.properties;if((e==="existing"||e==="copy")&&i)return i.values??oo(G);if(e==="new")return oo(G);throw console.error({status:e,entity:i}),new Error("Form has not been initialised with the correct parameters")},[e,p,i]),[v,B]=u.useState(k),[K,P]=u.useState(!1),[E,T]=u.useState(),S=u.useRef(i?.values??C),D=S.current,[N,z]=u.useState(D),Y=G=>{z(G),d&&d(G),h&&G&&!de(G,D)&&H(G)};u.useEffect(()=>{v&&f&&f(v)},[v,f]);const $=Oe({collection:c,path:t,entityId:v,values:N,previousValues:D,fields:y.fields}),ie=$.callbacks?.onIdUpdate;u.useEffect(()=>{if(ie&&N&&(e==="new"||e==="copy"))try{const G=ie({collection:$,path:t,entityId:v,values:N,context:y});B(G)}catch(G){g&&g(G),console.error(G)}},[v,N,e]);const W=u.useMemo(()=>D&&e==="existing"?Object.entries($.properties).map(([G,O])=>{if(no(O))return{};const X=D[G],te=C[G];return de(X,te)?{}:{[G]:te}}).reduce((G,O)=>({...G,...O}),{}):{},[C,$.properties,D,e]),H=G=>a({collection:$,path:t,entityId:v,values:G,previousValues:i?.values,closeAfterSave:m.current,autoSave:h??!1}).then(O=>{const X=e==="new"?"new_entity_saved":e==="copy"?"entity_copied":e==="existing"?"entity_edited":"unmapped_event";y.onAnalyticsEvent?.(X,{path:t}),S.current=G}).catch(O=>{console.error(O),T(O)}).finally(()=>{m.current=!1}),ne=(G,O)=>{if(w&&!v){console.error("Missing custom Id"),P(!0),O.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($.customId&&$.customId!=="optional"&&!v)throw Error("Form misconfiguration when saving, entityId should be set")}else throw Error("New FormType added, check EntityForm");H(G)?.then(X=>{O.resetForm({values:G,submitCount:0,touched:{}})}).finally(()=>{O.setSubmitting(!1)})},M=u.useCallback(({name:G,value:O,property:X})=>I.checkUniqueField(t,G,O,v),[I,t,v]),Q=u.useMemo(()=>v?Mi(v,$.properties,M):void 0,[v,$.properties,M]),oe=fn(),ae=u.useCallback(({entity:G,customEntityActions:O})=>{const X=Gn($,oe,Ve(t),null),te=G?Yo($,oe,Ve(t),G):!0,V=[];return X&&V.push(Zi),te&&V.push(Xi),O&&V.push(...O),V},[oe,$,t]);return n.jsx(De.Formik,{initialValues:C,onSubmit:ne,validationSchema:Q,validate:G=>console.debug("Validating",G),onReset:()=>l&&l(),children:G=>{const O=[],X={setFieldValue:G.setFieldValue,values:G.values,collection:Oe({collection:$,path:t,fields:y.fields}),entityId:v,path:t,save:H};if(u.useEffect(()=>{A&&A(X)},[A,X]),b&&$){const te={entityId:v,path:t,status:e,collection:c,context:y,currentEntityId:v,formContext:X};O.push(...b.map((V,j)=>V.form?.Actions?n.jsx(V.form.Actions,{...te},`actions_${V.name}`):null).filter(Boolean))}return n.jsxs("div",{className:"h-full overflow-auto",children:[O.length>0&&n.jsx("div",{className:F("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:O}),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+(O?8:0)} lg:mt-${8+(O?8:0)} mb-8`,children:n.jsx(q,{className:"mt-4 flex-grow "+$.hideIdFromForm?"mb-2":"mb-0",variant:"h4",children:$.singularName??$.name})}),!_&&n.jsx(Uz,{customId:$.customId,entityId:v,status:e,onChange:B,error:K,entity:i}),v&&n.jsx(oH,{...G,initialValues:D,onModified:s,onValuesChanged:Y,underlyingChanges:W,entity:i,resolvedCollection:$,formContext:X,status:e,savingError:E,closeAfterSaveRef:m,autoSave:h,entityActions:ae({entity:i,customEntityActions:$.entityActions})})]})]})}})}function oH(e){const{values:t,onModified:c,onValuesChanged:i,underlyingChanges:a,formContext:l,entity:s,touched:d,setFieldValue:f,resolvedCollection:A,isSubmitting:_,status:h,handleSubmit:g,savingError:y,dirty:I,closeAfterSaveRef:b,autoSave:p,entityActions:w}=e,k=x(),m=w.filter(E=>E.includeInForm===void 0||E.includeInForm),C=An(),v=I;u.useEffect(()=>{c&&c(v),i&&i(t)},[v,t]),u.useEffect(()=>{!p&&a&&s&&Object.entries(a).forEach(([E,T])=>{const S=t[E];!de(T,S)&&!d[E]&&(console.debug("Updated value from the datasource:",E,T),f(E,T!==void 0?T:null))})},[p,a,s,t,d,f]);const B=n.jsx("div",{className:"flex flex-col gap-8",children:(A.propertiesOrder??Object.keys(A.properties)).map(E=>{const T=A.properties[E];if(!T)return console.warn(`Property ${E} not found in collection ${A.name}`),null;const S=!!a&&Object.keys(a).includes(E)&&!!d[E],D=!p&&_||Pn(T)||!!T.disabled;if(no(T))return null;const z={propertyKey:E,disabled:D,property:T,includeDescription:T.description||T.longDescription,underlyingValueHasChanged:S&&!p,context:l,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{id:`form_field_${E}`,children:n.jsx(se,{children:n.jsx(Kn,{...z})})},`field_${A.name}_${E}`)}).filter(Boolean)}),K=_||!v&&h==="existing",P=u.useRef(null);return n.jsxs(De.Form,{onSubmit:g,noValidate:!0,children:[n.jsxs("div",{className:"mt-12",ref:P,children:[B,n.jsx(zz,{containerRef:P})]}),n.jsx("div",{className:"h-14"}),!p&&n.jsxs(Sn,{position:"absolute",children:[y&&n.jsx("div",{className:"text-right",children:n.jsx(q,{color:"error",children:y.message})}),s&&m.length>0&&n.jsx("div",{className:"flex-grow flex overflow-auto no-scrollbar",children:m.map(E=>n.jsx(Z,{color:"primary",onClick:T=>{T.stopPropagation(),s&&E.onClick({entity:s,fullPath:A.path,collection:A,context:k,sideEntityController:C})},children:E.icon},E.name))}),n.jsx(ce,{variant:"text",disabled:K,type:"reset",children:h==="existing"?"Discard":"Clear"}),n.jsxs(ce,{variant:"text",color:"primary",type:"submit",disabled:K,onClick:()=>{b.current=!1},children:[h==="existing"&&"Save",h==="copy"&&"Create copy",h==="new"&&"Create"]}),n.jsxs(ce,{variant:"filled",color:"primary",type:"submit",disabled:K,onClick:()=>{b.current=!0},children:[h==="existing"&&"Save and close",h==="copy"&&"Create copy and close",h==="new"&&"Create and close"]})]})]})}function Ri(e){return Object.keys(gt).includes(e)}const gt={text_field:{key:"text_field",name:"Text field",description:"Simple short text",Icon:Qc,color:"#2d7ff9",property:{dataType:"string",Field:Vn}},multiline:{key:"multiline",name:"Multiline",description:"Text with multiple lines",Icon:Vc,color:"#2d7ff9",property:{dataType:"string",multiline:!0,Field:Vn}},markdown:{key:"markdown",name:"Markdown",description:"Text with advanced markdown syntax",Icon:Cc,color:"#2d7ff9",property:{dataType:"string",markdown:!0,Field:Ni}},url:{key:"url",name:"Url",description:"Text with URL validation",Icon:Bc,color:"#154fb3",property:{dataType:"string",url:!0,Field:Vn}},email:{key:"email",name:"Email",description:"Text with email validation",Icon:pc,color:"#154fb3",property:{dataType:"string",email:!0,Field:Vn}},select:{key:"select",name:"Select/enum",description:"Select one text value from within an enumeration",Icon:Dc,color:"#4223c9",property:{dataType:"string",enumValues:[],Field:Xr}},multi_select:{key:"multi_select",name:"Multi select",description:"Select multiple text values from within an enumeration",Icon:Nc,color:"#4223c9",property:{dataType:"array",of:{dataType:"string",enumValues:[]},Field:nt}},number_input:{key:"number_input",name:"Number input",description:"Simple number field with validation",Icon:Mc,color:"#bec920",property:{dataType:"number",Field:Vn}},number_select:{key:"number_select",name:"Number select",description:"Select a number value from within an enumeration",Icon:Cr,color:"#bec920",property:{dataType:"number",enumValues:[],Field:Xr}},multi_number_select:{key:"multi_number_select",name:"Multiple number select",description:"Select multiple number values from within an enumeration",Icon:Cr,color:"#bec920",property:{dataType:"array",of:{dataType:"number",enumValues:[]},Field:nt}},file_upload:{key:"file_upload",name:"File upload",description:"Input for uploading single files",Icon:Wc,color:"#f92d9a",property:{dataType:"string",storage:{storagePath:"{path}"},Field:tt}},multi_file_upload:{key:"multi_file_upload",name:"Multiple file upload",description:"Input for uploading multiple files",Icon:Ic,color:"#f92d9a",property:{dataType:"array",of:{dataType:"string",storage:{storagePath:"{path}"}},Field:tt}},reference:{key:"reference",name:"Reference",description:"The value refers to a different collection",Icon:Pc,color:"#ff0042",property:{dataType:"reference",Field:Bi}},multi_references:{key:"multi_references",name:"Multiple references",description:"Multiple values that refer to a different collection",Icon:dc,color:"#ff0042",property:{dataType:"array",of:{dataType:"reference"},Field:Ii}},switch:{key:"switch",name:"Switch",description:"Boolean true or false field (or yes or no, 0 or 1...)",Icon:Kc,color:"#20d9d2",property:{dataType:"boolean",Field:Ci}},date_time:{key:"date_time",name:"Date/time",description:"A date time select field",Icon:Lc,color:"#8b46ff",property:{dataType:"date",Field:Si}},group:{key:"group",name:"Group",description:"Group of multiple fields",Icon:kr,color:"#ff9408",property:{dataType:"map",properties:{},Field:Ei}},key_value:{key:"key_value",name:"Key-value",description:"Flexible field that allows the user to add multiple key-value pairs",Icon:kr,color:"#ff9408",property:{dataType:"map",keyValue:!0,Field:Fi}},repeat:{key:"repeat",name:"Repeat/list",description:"A field that gets repeated multiple times (e.g. multiple text fields)",Icon:Er,color:"#ff9408",property:{dataType:"array",of:{dataType:"string"},Field:Pi}},custom_array:{key:"custom_array",name:"Custom array",description:"A field that saved its value as an array of custom objects",Icon:Er,color:"#ff9408",property:{dataType:"array",of:[],Field:Ti}},block:{key:"block",name:"Block",description:"A complex field that allows the user to compose different fields together, with a key->value format",Icon:Gc,color:"#ff9408",property:{dataType:"array",oneOf:{properties:{}},Field:Di}}};function qo(e,t){const c=bt(e),i=It(e);if(!i){console.error("No field id found for property",e);return}const a=gt[i],l=c?t[c]:void 0;return Ze(a??{},l??{})}function It(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":Me(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 bt(e){return e.propertyConfig?e.propertyConfig:It(e)}const Oe=({collection:e,path:t,entityId:c,values:i,previousValues:a,userConfigPersistence:l,fields:s})=>{const d=l?.getCollectionConfig(t),f=sn(d,"properties"),A=oo(e.properties),_=i??A,h=a??i??A,g=Object.entries(e.properties).map(([b,p])=>{const w=_?De.getIn(_,b):void 0;return{[b]:Le({propertyKey:b,propertyOrBuilder:p,values:_,previousValues:h,path:t,propertyValue:w,entityId:c,fields:s})}}).filter(b=>b!==null).reduce((b,p)=>({...b,...p}),{}),y=Ze(g,f),I=Object.entries(y).filter(([b,p])=>!!p?.dataType).map(([b,p])=>({[b]:p})).reduce((b,p)=>({...b,...p}),{});return{...e,properties:I,originalCollection:e}};function Le({propertyOrBuilder:e,propertyValue:t,fromBuilder:c=!1,...i}){if(typeof e=="object"&&"resolved"in e)return e;let a=null;if(e)if(Me(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=Le({...i,propertyValue:t,propertyOrBuilder:s,fromBuilder:!0})}else{const l=e;if(l.dataType==="map"&&l.properties){const s=pt({...i,properties:l.properties,propertyValue:t});a={...l,resolved:!0,fromBuilder:c,properties:s}}else l.dataType==="array"?a=hn({property:l,propertyValue:t,fromBuilder:c,...i}):(l.dataType==="string"||l.dataType==="number")&&l.enumValues&&(a=wt(l,c))}else return null;if(a||(a={...e,resolved:!0,fromBuilder:c}),a.propertyConfig&&!Ri(a.propertyConfig)){const l=i.fields;if(!l)throw Error(`Trying to resolve a property with key ${a.propertyConfig} 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.propertyConfig];if(!s)throw Error(`Trying to resolve a property that inherits from a custom field but no custom field with id ${a.propertyConfig} was found. Check the \`fields\` in your top level component`);if(s.property){const d=s.property;"propertyConfig"in d&&delete d.propertyConfig;const f=Le({propertyOrBuilder:d,propertyValue:t,...i});f&&(a=Ze(f,a))}}return a?{...a,resolved:!0}:null}function hn({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)=>Le({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,f)=>Le({propertyKey:`${e}.${f}`,propertyOrBuilder:a,propertyValue:d,...i,index:f})).filter(d=>!!d):[],s=Le({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??eo,l=Array.isArray(c)?c.map((d,f)=>{const A=d&&d[a],_=t.oneOf?.properties[A];return!A||!_?null:Le({propertyKey:`${e}.${f}`,propertyOrBuilder:_,propertyValue:c,...i})}).filter(d=>!!d):[],s=pt({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 pt({properties:e,propertyValue:t,...c}){return Object.entries(e).map(([i,a])=>({[i]:Le({propertyKey:i,propertyOrBuilder:a,propertyValue:t&&typeof t=="object"?sn(t,i):void 0,...c})})).filter(i=>i!==null).reduce((i,a)=>({...i,...a}),{})}function wt(e,t){return typeof e.enumValues=="object"?{...e,resolved:!0,enumValues:dn(e.enumValues)?.filter(c=>c&&c.id&&c.label)??[],fromBuilder:t??!1}:e}function rH(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 kt(e,t){return typeof e=="string"?t?.find(c=>c.key===e):e}function mt(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=be(t).split("/"),l=vo(a),s=[];for(let d=0;d<l.length;d++){const f=l[d],A=c&&c.find(_=>_.alias===f||_.path===f);if(A){const _=A.alias??A.path,h=i&&i.length>0?i+"/"+_:_;s.push({type:"collection",path:h,collection:A});const g=be(be(t).replace(f,"")),y=g.length>0?g.split("/"):[];if(y.length>0){const I=y[0],b=h+"/"+I;if(s.push({type:"entity",entityId:I,path:h,parentCollection:A}),y.length>1){const p=y.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);const w=A.entityViews,k=w&&w.map(m=>kt(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(...mt({path:p,collections:A.subcollections,currentFullPath:b,contextEntityViews:e.contextEntityViews}))}}break}}return s}function ea(e){return n.jsx(Ae,{...e,tooltipClassName:"!text-red-500 bg-red-50",children:e.children})}const na={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"},tH={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"},cH={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 q({align:e="inherit",color:t="primary",children:c,className:i,component:a,gutterBottom:l=!1,noWrap:s=!1,paragraph:d=!1,variant:f="body1",variantMapping:A=na,style:_,onClick:h,...g}){const y=a||(d?"p":A[f]||na[f])||"span",I=F(he,cH[f],t?tH[t]:"",e!=="inherit"&&`text-${e}`,l&&"mb-[0.35em]",s&&"truncate",d&&"mb-4",i);return n.jsx(y,{className:I,onClick:h,style:_,...g,children:c})}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(Kr,{size:"small",color:"error"}),n.jsxs("div",{className:"pl-2",children:[e&&n.jsx(q,{variant:"body2",className:"font-medium",children:e}),n.jsx(q,{variant:"body2",children:i})]})]});return c?n.jsx(ea,{title:c,children:a}):a}function iH(e){return e.dataType==="boolean"?"center":e.dataType==="number"?e.enumValues?"left":"right":e.dataType==="date"?"right":"left"}function oa(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:oa(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 vt(e){return`subcollection:${e.alias??e.path}`}function Ao(e){return parseInt(e,10)||0}const aH={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function ra(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const Kt=le.forwardRef(function(t,c){const{onChange:i,onScroll:a,onResize:l,maxRows:s,minRows:d=1,style:f,value:A,onFocus:_,onBlur:h,sizeRef:g,ignoreBoxSizing:y,...I}=t,{current:b}=le.useRef(A!=null),p=le.useRef(null),w=lH(c,p),k=le.useRef(null),m=le.useRef(0),[C,v]=le.useState({outerHeightStyle:0}),B=le.useCallback(()=>{const S=p.current;if(typeof window>"u")return{outerHeightStyle:0};const N=window.getComputedStyle(S);if(N.width==="0px")return{outerHeightStyle:0};const z=g?.current??k.current,Y=k.current;z.style.width=N.width,Y.value=S.value||t.placeholder||"x",Y.value.slice(-1)===`
652
+ `&&(Y.value+=" ");const $=N.boxSizing,ie=Ao(N.paddingBottom)+Ao(N.paddingTop),W=Ao(N.borderBottomWidth)+Ao(N.borderTopWidth),H=Ao(N.minHeight),ne=z.scrollHeight;Y.value="x";const M=z.scrollHeight;let Q=ne;d&&(Q=Math.max(Number(d)*M,Q)),s&&(Q=Math.min(Number(s)*M,Q)),Q=Math.max(Q,M,H);const oe=Q+(!y&&$==="border-box"?ie+W:0),ae=Math.abs(Q-ne)<=1;return{outerHeightStyle:oe,overflow:ae}},[s,d,t.placeholder]),K=(S,D)=>{const{outerHeightStyle:N,overflow:z}=D;return m.current<20&&(N>0&&Math.abs((S.outerHeightStyle||0)-N)>1||S.overflow!==z)?(m.current+=1,{overflow:z,outerHeightStyle:N}):(process.env.NODE_ENV!=="production"&&m.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
+ `)),S)},P=le.useCallback(()=>{const S=B();ra(S)||(l&&l(S),v(D=>K(D,S)))},[B,l]),E=()=>{const S=B();ra(S)||Xa.flushSync(()=>{v(D=>K(D,S))})};le.useEffect(()=>{const S=Yi(()=>{m.current=0,p.current&&E()});let D;const N=p.current,z=window;if(!(typeof window>"u"))return z.addEventListener("resize",S),typeof ResizeObserver<"u"&&(D=new ResizeObserver(S),D.observe(N)),()=>{S.clear(),z.removeEventListener("resize",S),D&&D.disconnect()}}),u.useLayoutEffect(()=>{P()}),le.useEffect(()=>{m.current=0},[A]);const T=S=>{m.current=0,b||P(),i&&i(S)};return n.jsxs(le.Fragment,{children:[n.jsx("textarea",{value:A,onChange:T,className:t.className,ref:w,onFocus:_,onBlur:h,rows:d,style:{height:C.outerHeightStyle,overflow:C.overflow?"hidden":void 0,...f},onScroll:a,...I}),n.jsx("textarea",{"aria-hidden":!0,className:F(t.className,t.shadowClassName),readOnly:!0,ref:k,tabIndex:-1,style:{...aH.shadow,...f,padding:0}})]})});function lH(...e){return le.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(c=>{sH(c,t)})},e)}function sH(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function dH(e){const t=u.useRef(null),{disabled:c,value:i,multiline:a,updateValue:l,focused:s}=e,d=u.useRef(i),[f,A]=u.useState(i),_=u.useRef(!1);u.useEffect(()=>{d.current!==i&&i!==f&&A(i),d.current=i},[i]);const h=u.useCallback(()=>{!i&&!f||f!==i&&(d.current=f,l(f))},[f,l,i]);return Ho(f,h,!s,2e3),u.useEffect(()=>{t.current&&s&&!_.current?(_.current=!0,t.current.focus({preventScroll:!0}),t.current.selectionStart=t.current.value.length,t.current.selectionEnd=t.current.value.length):_.current=s},[s,t]),n.jsx(Kt,{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:f??"",onChange:g=>{const y=g.target.value;(a||!y.endsWith(`
654
+ `))&&A(y)},onFocus:()=>{_.current=!0},onBlur:()=>{_.current=!1,h()}})}function Ct(e){const{name:t,enumValues:c,error:i,internalValue:a,disabled:l,small:s,focused:d,updateValue:f,multiple:A,valueType:_}=e,h=Array.isArray(a)&&A||!Array.isArray(a)&&!A,g=u.useRef(null);u.useEffect(()=>{g.current&&d&&g.current?.focus({preventScroll:!0})},[d,g]);const y=u.useCallback(b=>{if(_==="number")if(A){const p=b.map(w=>parseFloat(w));f(p)}else f(parseFloat(b));else if(_==="string")f(b||null);else throw Error("Missing mapping in TableSelect")},[A,f,_]),I=(b,p)=>A&&Array.isArray(b)?n.jsx(jr,{value:b,name:t,enumValues:c,size:s?"small":"medium"},`${b}-${p}`):n.jsx(Pe,{enumKey:b,enumValues:c,size:s?"small":"medium"},`${b}-${p}`);return A?n.jsx(Rr,{inputRef:g,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:y,renderValue:I,children:c?.map(b=>n.jsx(et,{value:String(b.id),children:n.jsx(Pe,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))}):n.jsx(xe,{inputRef:g,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:y,onMultiValueChange:y,renderValue:I,children:c?.map(b=>n.jsx(Re,{value:String(b.id),children:n.jsx(Pe,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))})}function uH(e){const{align:t,value:c,updateValue:i,focused:a}=e,l=c&&typeof c=="number"?c.toString():"",[s,d]=u.useState(l),f=u.useRef(c);u.useEffect(()=>{f.current!==c&&String(c)!==s&&d(c?c.toString():null),f.current=c},[c]);const A=u.useCallback(()=>{if(s!==l)if(s!=null){const g=parseFloat(s);if(isNaN(g))return;g!=null&&i(g)}else i(null)},[s,c]);Ho(s,A,!a,2e3),u.useEffect(()=>{!a&&l!==s&&d(c!=null?c.toString():null)},[c,a]);const _=u.useRef(null);u.useEffect(()=>{_.current&&a&&_.current.focus({preventScroll:!0})},[a,_]);const h=/^-?[0-9]+[,.]?[0-9]*$/;return n.jsx("input",{ref:_,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:g=>{const y=g.target.value.replace(",",".");y.length===0&&d(null),(h.test(y)||y.startsWith("-"))&&d(y)}})}function fH(e){const{internalValue:t,updateValue:c,focused:i}=e,a=u.useRef(null);return u.useEffect(()=>{a.current&&i&&a.current.focus({preventScroll:!0})},[i,a]),n.jsx(ct,{ref:a,size:"small",value:!!t,onValueChange:c})}function AH(e){const{disabled:t,error:c,mode:i,internalValue:a,updateValue:l}=e;return n.jsx(Hn,{value:a??void 0,onChange:s=>l(s),size:"medium",invisible:!0,className:"w-full h-full",inputClassName:"w-full h-full",mode:i})}class se extends u.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(Kr,{color:"error",size:"small"}),n.jsx("div",{className:"ml-4",children:"Error"})]}),n.jsx(q,{variant:"caption",children:this.state.error?.message??"See the error in the console"})]}):this.props.children}}function ta({showError:e,disabled:t,showExpandIcon:c,selected:i,openPopup:a,children:l}){const s=u.useRef(null),d=u.useCallback(()=>{if(a){const A=s&&s?.current?.getBoundingClientRect();a(A)}},[]),f=u.useRef();return u.useEffect(()=>{f.current&&i&&f.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(Z,{ref:f,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(ea,{side:"left",className:"flex items-center justify-center",style:{width:32,height:32},title:e.message,children:n.jsx(wc,{size:"small",color:"error"})})]})})}const yH="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",_H="pt-0 border-2 border-solid",hH="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",gH="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:f,path:A,previewSize:_,updateValue:h}=e,g=Dn(),{internalValue:y,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=pi({entityValues:f.values,entityId:f.id,path:A,property:d,propertyKey:t,storageSource:g,onChange:h,value:l,disabled:s});return n.jsx(bH,{internalValue:y,setInternalValue:I,name:t,disabled:s,autoFocus:!1,openPopup:a,error:c,selected:i,property:d,onChange:h,entity:f,storagePathBuilder:k,storage:p,multipleFilesSupported:m,onFilesAdded:b,onFileUploadComplete:w,previewSize:_})}function bH({property:e,name:t,internalValue:c,setInternalValue:i,openPopup:a,entity:l,selected:s,error:d,onChange:f,multipleFilesSupported:A,previewSize:_,disabled:h,autoFocus:g,storage:y,onFilesAdded:I,onFileUploadComplete:b,storagePathBuilder:p}){const[w,k]=u.useState(!1),m=A&&_==="medium"?"small":_;if(A){const W=e;if(Array.isArray(W.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(W.of){if(W.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 C=y?.metadata,v=!!c,B=yn(),{open:K,getRootProps:P,getInputProps:E,isDragActive:T,isDragAccept:S,isDragReject:D}=lr.useDropzone({accept:y.acceptedFiles?y.acceptedFiles.map(W=>({[W]:[]})).reduce((W,H)=>({...W,...H}),{}):void 0,disabled:h,maxSize:y.maxSize,noClick:!0,noKeyboard:!0,onDrop:I,onDropRejected:(W,H)=>{for(const ne of W)for(const M of ne.errors)B.open({type:"error",message:`Error uploading file: File is larger than ${y.maxSize} bytes`})}}),{...N}=P(),z=A?"Drag 'n' drop some files here, or click here to edit":"Drag 'n' drop a file here, or click here edit",Y=A?e.of:e,$=u.useMemo(()=>Mn(m),[m]),ie=!h&&d;return n.jsxs("div",{...N,onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>k(!1),className:F(yH,"relative w-full h-full flex",`justify-${v?"start":"center"}`,T?_H:"",S?hH:"",D?gH:""),children:[n.jsx("input",{autoFocus:g,...E()}),c.map((W,H)=>{let ne;return W.storagePathOrDownloadUrl?ne=n.jsx(pH,{property:Y,value:W.storagePathOrDownloadUrl,entity:l,size:m},`storage_preview_${H}`):W.file&&(ne=n.jsx(vi,{entry:W,metadata:C,storagePath:p(W.file),onFileUploadComplete:b,imageSize:$,simple:!0},`storage_progress_${H}`)),ne}),!c&&n.jsx("div",{className:"flex-grow m-2 max-w-[200px]",onClick:K,children:n.jsx(q,{className:"text-gray-400 dark:text-gray-600",variant:"body2",align:"center",children:z})}),n.jsx(ta,{showError:ie,disabled:h,showExpandIcon:!0,selected:s,openPopup:h?void 0:a,children:n.jsx(Z,{color:"inherit",size:"small",onClick:K,children:n.jsx(bc,{size:"small",className:"text-gray-500"})})})]})}function pH({property:e,value:t,size:c,entity:i}){return n.jsx("div",{className:"relative m-2",children:t&&n.jsx(se,{children:n.jsx(Se,{propertyKey:"ignore",value:t,property:e,entity:i,size:c})})})}function ca(e){const t=x(),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(wH,{...e,collection:a})}function wH(e){const{name:t,internalValue:c,updateValue:i,multiselect:a,path:l,size:s,previewProperties:d,title:f,disabled:A,forceFilter:_,collection:h}=e,[g,y]=u.useState(!1),I=u.useCallback(()=>y(!0),[]),b=u.useCallback(()=>y(!1),[]),p=u.useCallback(P=>{i(P?kn(P):null)},[i]),w=u.useCallback(P=>{i(P.map(E=>kn(E)))},[i]),k=c?Array.isArray(c)?c.map(P=>P.id):c.id?[c.id]:[]:[],m=ao({multiselect:a,path:l,collection:h,onMultipleEntitiesSelected:w,onSingleEntitySelected:p,selectedEntityIds:k,forceFilter:_}),C=u.useCallback(()=>{A||m.open()},[A,m]),v=!c||Array.isArray(c)&&c.length===0,B=()=>c instanceof Ue?n.jsx(rn,{onClick:A?void 0:C,size:_n(s),reference:c,onHover:g,disabled:!l,previewProperties:d}):n.jsx(Vo,{onClick:A?void 0:C,size:_n(s),children:n.jsx(we,{title:"Value is not a reference.",error:"Click to edit"})}),K=()=>Array.isArray(c)?n.jsx(n.Fragment,{children:c.map((P,E)=>n.jsx("div",{className:"m-1 w-full",children:n.jsx(rn,{onClick:A?void 0:C,size:"tiny",reference:P,onHover:g,disabled:!l,previewProperties:d})},`preview_array_ref_${t}_${E}`))}):n.jsx(we,{error:"Data is not an array of references"});return h?n.jsxs("div",{className:"w-full",onMouseEnter:I,onMouseMove:I,onMouseLeave:b,children:[c&&!a&&B(),c&&a&&K(),v&&n.jsxs(ce,{onClick:C,size:"small",variant:"outlined",color:"primary",children:["Edit ",f]})]}):n.jsx(we,{error:"The specified collection does not exist"})}function zn(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 kH=({justifyContent:e,scrollable:t,faded:c,fullHeight:i,children:a})=>n.jsx("div",{className:F("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}),St=u.memo(function({children:t,actions:c,size:i,selected:a,disabled:l,disabledTooltip:s,saved:d,error:f,align:A,allowScroll:_,removePadding:h,fullHeight:g,onSelect:y,width:I,hideOverflow:b=!0,showExpandIcon:p=!0}){const[w,k]=sr(),m=u.useRef(null);Wo(m,()=>{a&&y&&y(void 0)},!!(a&&y));const[C,v]=u.useState(!1),B=u.useMemo(()=>zn(i),[i]),[K,P]=u.useState(!1),[E,T]=u.useState(d),S=!l&&f;u.useEffect(()=>{d&&T(!0);const M=setTimeout(()=>{T(!1)},800);return()=>{clearTimeout(M)}},[d]);let D=0;if(!h)switch(i){case"l":case"xl":D=4;break;case"m":D=2;break;case"s":default:D=1;break}let N;switch(A){case"right":N="flex-end";break;case"center":N="center";break;case"left":default:N="flex-start"}const z=u.useCallback(()=>{if(!y)return;const M=m&&m?.current?.getBoundingClientRect();l?y(void 0):!a&&M&&y(M)},[m,y,a,l]),Y=u.useCallback(M=>{z(),M.stopPropagation()},[z]);u.useEffect(()=>{if(k){const M=k.height>B;C!==M&&v(M)}},[k,C,B]);const $=!S&&a,ie=!l&&_&&C,W=!l&&!_&&C,H=u.useCallback(()=>P(!0),[]),ne=u.useCallback(()=>P(!1),[]);return n.jsxs("div",{ref:m,className:F("transition-colors duration-100 ease-in-out",`flex relative h-full rounded-md p-${D} border border-4 border-opacity-75`,K&&!l?"bg-gray-50 dark:bg-gray-900":"",d?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",!$&&!E&&!S?"border-transparent":"",b?"overflow-hidden":"",$?"bg-gray-50 dark:bg-gray-900":"",$&&!E?"border-primary":"",E?"border-green-500 ":"",S?"border-red-500":""),style:{justifyContent:N,alignItems:l||!C?"center":void 0,width:I??"100%",textAlign:A},tabIndex:a||l?void 0:0,onFocus:Y,onMouseEnter:H,onMouseMove:H,onMouseLeave:ne,children:[n.jsxs(se,{children:[g&&!W&&t,(!g||W)&&n.jsx(kH,{fullHeight:g??!1,justifyContent:N,scrollable:ie??!1,faded:W,children:!g&&n.jsx("div",{ref:w,style:{display:"flex",width:"100%",justifyContent:N,height:g?"100%":void 0},children:t})})]}),c,l&&K&&s&&n.jsx("div",{className:"absolute top-1 right-1 text-xs",children:n.jsx(Ae,{title:s,children:n.jsx(Oc,{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 mH(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 vH=u.memo(function({propertyKey:t,customFieldValidator:c,value:i,property:a,align:l,width:s,height:d,path:f,entity:A,readonly:_,disabled:h}){const g=x(),{onValueChange:y,size:I,selectedCell:b,select:p,setPopupCell:w}=jH(),k=b?.propertyKey===t&&b?.entity.path===A.path&&b?.entity.id===A.id,[m,C]=u.useState(i),v=u.useRef(i),[B,K]=u.useState(),[P,E]=u.useState(!1),T=u.useCallback(()=>{E(!0),setTimeout(()=>{E(!1)},100)},[]),S=!!a.Field,D=!!a.Preview,N=Pn(a),z=typeof a.disabled=="object"?a.disabled.disabledMessage:void 0,Y=_||h||!!a.disabled,$=u.useMemo(()=>uo({property:a,entityId:A.id,customFieldValidator:c,name:t}),[A.id,a,t]);u.useEffect(()=>{de(i,v.current)||(K(void 0),C(i),v.current=i,T())},[T,i]);const ie=V=>{de(V,v.current)||(E(!1),$.validate(V).then(()=>{K(void 0),v.current=V,y&&y({value:V,propertyKey:t,setError:K,onValueUpdated:T,entity:A,fullPath:f,context:g})}).catch(j=>{K(j)}))};u.useEffect(()=>{$.validate(m).then(()=>K(void 0)).catch(V=>{K(V)})},[m,$]);const W=V=>{let j;V===void 0?j=null:j=V,C(j),ie(j)};Qe({property:a,value:m,setValue:W});const H=u.useCallback(V=>{p(V?{width:s,height:d,entity:A,cellRect:V,propertyKey:t}:void 0)},[A,d,t,p,s]),ne=V=>{w&&w(V?{width:s,height:d,entity:A,cellRect:V,propertyKey:t}:void 0)};let M,Q=!1,oe=!1,ae=!0,G=!1,O=!1,X=!0;const te=!Y&&B;if(_||N)return n.jsx(St,{size:I,width:s,saved:P,value:m,align:l??"left",fullHeight:!1,disabledTooltip:z??(N?"Read only":void 0),disabled:!0,children:n.jsx(Se,{width:s,height:zn(I),propertyKey:t,property:a,entity:A,value:m,size:_n(I)})},`${t}_${A.path}_${A.id}`);if(!S&&(!D||k)){if(mH(a))M=n.jsx(IH,{error:B,disabled:Y,focused:k,selected:k,openPopup:w?ne:void 0,property:a,entity:A,path:f,value:m,previewSize:_n(I),updateValue:W,propertyKey:t}),X=!1,oe=!0,O=!0,G=!0;else if(k&&a.dataType==="number"){const j=a;j.enumValues?(M=n.jsx(Ct,{name:t,multiple:!1,disabled:Y,focused:k,valueType:"number",small:_n(I)!=="medium",enumValues:j.enumValues,error:B,internalValue:m,updateValue:W}),O=!0):(M=n.jsx(uH,{align:l,error:B,focused:k,disabled:Y,value:m,updateValue:W}),Q=!0)}else if(k&&a.dataType==="string"){const j=a;if(j.enumValues)M=n.jsx(Ct,{name:t,multiple:!1,focused:k,disabled:Y,valueType:"string",small:_n(I)!=="medium",enumValues:j.enumValues,error:B,internalValue:m,updateValue:W}),O=!0;else if(!j.storage){const Ee=!!j.multiline||!!j.markdown;M=n.jsx(dH,{error:B,disabled:Y,multiline:Ee,focused:k,value:m,updateValue:W}),Q=!0}}else if(a.dataType==="boolean")M=n.jsx(fH,{error:B,disabled:Y,focused:k,internalValue:m,updateValue:W});else if(a.dataType==="date")M=n.jsx(AH,{name:t,error:B,disabled:Y,mode:a.mode,focused:k,internalValue:m,updateValue:W}),O=!0,ae=!1,Q=!1;else if(a.dataType==="reference")typeof a.path=="string"&&(M=n.jsx(ca,{name:t,internalValue:m,updateValue:W,disabled:Y,size:I,path:a.path,multiselect:!1,previewProperties:a.previewProperties,title:a.name,forceFilter:a.forceFilter})),Q=!1;else if(a.dataType==="array"){const j=a;if(!j.of&&!j.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${t}`);j.of&&!Array.isArray(j.of)&&(j.of.dataType==="string"||j.of.dataType==="number"?k&&j.of.enumValues&&(M=n.jsx(Ct,{name:t,multiple:!0,disabled:Y,focused:k,small:_n(I)!=="medium",valueType:j.of.dataType,enumValues:j.of.enumValues,error:B,internalValue:m,updateValue:W}),Q=!0,O=!0,ae=!1):j.of.dataType==="reference"&&(typeof j.of.path=="string"&&(M=n.jsx(ca,{name:t,disabled:Y,internalValue:m,updateValue:W,size:I,multiselect:!0,path:j.of.path,previewProperties:j.of.previewProperties,title:j.of.name,forceFilter:j.of.forceFilter})),Q=!1))}}return M||(Q=!1,oe=k&&!M&&!Y&&!N,M=n.jsx(Se,{width:s,height:d,entity:A,propertyKey:t,value:m,property:a,size:_n(I)})),n.jsx(St,{size:I,width:s,onSelect:H,selected:k,disabled:Y||N,disabledTooltip:z??"Disabled",removePadding:G,fullHeight:O,saved:P,error:B,align:l,allowScroll:Q,showExpandIcon:oe,value:m,hideOverflow:ae,actions:X&&n.jsx(ta,{showError:te,disabled:Y,showExpandIcon:oe,selected:k,openPopup:Y?void 0:ne}),children:M},`cell_${t}_${A.path}_${A.id}`)},KH);function KH(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 yo({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($n,{...t}),e&&n.jsx(q,{color:"secondary",variant:"caption",className:"text-center",children:e})]})})}const CH=u.memo(function({resizeHandleRef:t,columnIndex:c,isResizingIndex:i,sort:a,onColumnSort:l,onFilterUpdate:s,filter:d,column:f,onClickResizeColumn:A,createFilterField:_,AdditionalHeaderWidget:h}){const[g,y]=u.useState(!1),[I,b]=u.useState(!1),[p,w]=u.useState(!1),k=u.useCallback(K=>{b(!0)},[]),m=u.useCallback((K,P)=>{s(f,K),P!==void 0&&b(P)},[f,s]),C=i===c,B=!(i!==c&&i>0)&&(g||C);return n.jsx(se,{children:n.jsxs("div",{className:F("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",f.frozen?"sticky left-0 z-10":"relative z-0"),style:{left:f.frozen?0:void 0,minWidth:f.width,maxWidth:f.width},onMouseEnter:()=>y(!0),onMouseMove:()=>y(!0),onMouseLeave:()=>y(!1),children:[n.jsx("div",{className:"overflow-hidden flex-grow",children:n.jsxs("div",{className:`flex items-center justify-${f.headerAlign} flex-row`,children:[f.icon&&f.icon(g||I),n.jsx("div",{className:"truncate -webkit-box w-full mx-1 overflow-hidden",style:{WebkitBoxOrient:"vertical",WebkitLineClamp:2,justifyContent:f.align},children:f.title})]})}),n.jsxs(n.Fragment,{children:[h&&n.jsx(h,{onHover:g||I}),f.sortable&&(a||B||I)&&n.jsx(jt,{color:"secondary",invisible:!a,children:n.jsxs(Z,{size:"small",className:g||I?"bg-white dark:bg-gray-950":void 0,onClick:()=>{l(f.key)},children:[!a&&n.jsx(No,{}),a==="asc"&&n.jsx(No,{}),a==="desc"&&n.jsx(No,{className:"rotate-180"})]})})]}),f.filter&&_&&n.jsx("div",{children:n.jsx(jt,{color:"secondary",invisible:!d,children:n.jsx(ir,{open:I,onOpenChange:b,className:p?"hidden":void 0,modal:!0,trigger:n.jsx(Z,{className:g||I?"bg-white dark:bg-gray-950":void 0,size:"small",onClick:k,children:n.jsx(mc,{size:"small"})}),children:n.jsx(SH,{column:f,filter:d,onHover:g,onFilterUpdate:m,createFilterField:_,hidden:p,setHidden:w})})})}),f.resizable&&n.jsx("div",{ref:t,className:F("absolute h-full w-[6px] top-0 right-0 cursor-col-resize",B&&"bg-gray-300 dark:bg-gray-700"),onMouseDown:A?()=>A(c,f):void 0})]})})},de);function SH({column:e,onFilterUpdate:t,filter:c,onHover:i,createFilterField:a,hidden:l,setHidden:s}){const d=e.key,[f,A]=u.useState(c);if(u.useEffect(()=>{A(c)},[c]),!e.filter)return null;const _=()=>{t(f,!1)},h=I=>{t(void 0,!1)},g=!!c,y=a({id:d,filterValue:f,setFilterValue:A,column:e,hidden:l,setHidden:s});return y?n.jsxs("div",{className:"text-gray-900 dark:text-white",children:[n.jsx("div",{className:F(ue,"py-4 px-6 text-xs font-semibold uppercase border-b"),children:e.title??d}),y&&n.jsx("div",{className:"m-4",children:y}),n.jsxs("div",{className:"flex justify-end m-4",children:[n.jsx(ce,{className:"mr-4",disabled:!g,variant:"text",color:"primary",type:"reset","aria-label":"filter clear",onClick:h,children:"Clear"}),n.jsx(ce,{variant:"outlined",color:"primary",onClick:_,children:"Filter"})]})]}):null}const BH=({columns:e,currentSort:t,onColumnSort:c,onFilterUpdate:i,sortByProperty:a,filter:l,onColumnResize:s,onColumnResizeEnd:d,createFilterField:f,AddColumnComponent:A})=>{const _=e.map(()=>u.createRef()),[h,g]=u.useState(-1),y=u.useCallback((v,B,K)=>{const P=e[v],E=100,T=800,S=B>T?T:B<E?E:B,D={width:S,key:P.key,column:{...P,width:S}};K?d(D):s(D)},[e,s,d]),I=u.useCallback(v=>{if(h>=0){const B=_[h].current?.parentElement?.getBoundingClientRect().left;return B?v.clientX-B:void 0}},[_,h]),b=u.useCallback(v=>{document.body.style.cursor=v?"col-resize":"auto"},[]),p=u.useCallback(v=>{v.stopPropagation(),v.preventDefault();const B=I(v);B&&y(h,B,!1)},[y,I,h]),w=u.useCallback(v=>{v.stopPropagation(),v.preventDefault();const B=I(v);B&&y(h,B,!0),g(-1),b(!1)},[y,I,h,b]),k=u.useCallback(()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",w)},[p,w]),m=u.useCallback(()=>{document.addEventListener("mousemove",p),document.addEventListener("mouseup",w)},[p,w]);u.useEffect(()=>(h>=0?m():k(),()=>{k()}),[m,h,k]);const C=u.useCallback(v=>{g(v),b(!0)},[b]);return n.jsxs("div",{className:F(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((v,B)=>{const K=e[B],P=K&&l&&l[K.key]?l[K.key]:void 0;return n.jsx(se,{children:n.jsx(CH,{resizeHandleRef:_[B],columnIndex:B,isResizingIndex:h,onFilterUpdate:i,filter:P,sort:a===K.key?t:void 0,onColumnSort:c,onClickResizeColumn:C,column:K,createFilterField:f,AdditionalHeaderWidget:K.AdditionalHeaderWidget})},"header_"+K.key)}),A&&n.jsx(A,{})]})},EH=u.memo(function({rowData:t,rowIndex:c,children:i,onRowClick:a,size:l,style:s,hoverRow:d,rowClassName:f}){const A=u.useCallback(_=>a?a({rowData:t,rowIndex:c,event:_}):void 0,[a,t,c]);return n.jsx("div",{className:F("flex min-w-full text-sm border-b border-gray-200 dark:border-gray-800 border-opacity-40 dark:border-opacity-40",f?f(t):"",{"hover:bg-opacity-95":d,"cursor-pointer":a}),onClick:A,style:{...s,height:zn(l),width:"fit-content"},children:i})},de),FH=u.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)),Jo=u.createContext({});Jo.displayName="VirtualListContext";const PH=u.forwardRef(({children:e,...t},c)=>n.jsx(Jo.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(BH,{...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})]})}})),ia=u.memo(function({data:t,onResetPagination:c,onEndReached:i,size:a="m",columns:l,onRowClick:s,onColumnResize:d,filter:f,checkFilterCombination:A,onFilterUpdate:_,sortBy:h,error:g,emptyComponent:y,onSortByUpdate:I,loading:b,cellRenderer:p,hoverRow:w,createFilterField:k,rowClassName:m,className:C,endAdornment:v,AddColumnComponent:B}){const K=h?h[0]:void 0,P=h?h[1]:void 0,[E,T]=u.useState(l),S=u.useRef(null),D=u.useRef(0);u.useEffect(()=>{T(l)},[l]);const[N,z]=sr(),Y=u.useCallback(V=>{T(E.map(j=>j.key===V.column.key?V.column:j))},[E]),$=u.useCallback(V=>{T(E.map(j=>j.key===V.column.key?V.column:j)),d&&d(V)},[E,d]),ie=u.useRef();u.useEffect(()=>{ie.current=f},[f]);const W=u.useCallback(()=>{D.current=0,S.current&&S.current.scrollTo(S.current?.scrollLeft,0)},[]),H=u.useCallback(V=>{const j=K===V&&P==="desc",Fe=K===V&&P==="asc"?"desc":j?void 0:"asc",We=j?void 0:V,pe=ie.current,In=Fe&&We?[We,Fe]:void 0;pe&&A&&!A(pe,In)&&_&&_(void 0),c&&c(),I&&I(In),W()},[A,P,_,c,I,W,K]),ne=u.useCallback(()=>{D.current=0,I&&I(void 0)},[I]),M=Math.max((t?.length??0)*zn(a)-z.height,0),Q=u.useCallback(V=>{i&&(t?.length??0)>0&&V>D.current+600&&(D.current=V,i())},[t?.length,i]),oe=u.useCallback(({scrollOffset:V,scrollUpdateWasRequested:j})=>{!j&&V>=M-600&&Q(V)},[M,Q]),ae=u.useCallback((V,j)=>{D.current=0;const Ee=ie.current;let Fe=Ee?{...Ee}:{};j?Fe[V.key]=j:delete Fe[V.key],!A||A(Fe,K&&P?[K,P]:void 0)||(Fe=j?{[V.key]:j}:{}),_&&_(Fe),V.key!==K&&ne()},[A,P,_,ne,K]),G=u.useCallback(()=>n.jsxs("div",{className:"h-full flex flex-col items-center justify-center sticky left-0",children:[n.jsx(q,{variant:"h6",children:"Error fetching data from the data source"}),g?.message&&n.jsx(so,{className:"px-4 break-all",source:g.message})]}),[g?.message]),O=u.useCallback(()=>b?n.jsx(yo,{}):n.jsxs("div",{className:"flex flex-col overflow-auto items-center justify-center p-2 gap-2 h-full",children:[n.jsx(fc,{}),y]}),[y,b]),X=!b&&(t?.length??0)===0,te=g?G():X?O():void 0;return n.jsx("div",{ref:N,className:F("h-full w-full",C),children:n.jsx(Jo.Provider,{value:{data:t,size:a,cellRenderer:p,columns:E,currentSort:P,onRowClick:s,customView:te,onColumnResize:Y,onColumnResizeEnd:$,filter:ie.current,onColumnSort:H,onFilterUpdate:ae,sortByProperty:K,hoverRow:w??!1,createFilterField:k,rowClassName:m,endAdornment:v,AddColumnComponent:B},children:n.jsx(DH,{outerRef:S,width:z.width,height:z.height,itemCount:(t?.length??0)+(v?1:0),onScroll:oe,includeAddColumn:!!B,itemSize:zn(a)},a)})})},de);function DH({outerRef:e,width:t,height:c,itemCount:i,onScroll:a,itemSize:l,includeAddColumn:s}){const d=u.useCallback(({index:f,style:A})=>n.jsx(Jo.Consumer,{children:({onRowClick:_,data:h,columns:g,size:y="m",cellRenderer:I,hoverRow:b,rowClassName:p,endAdornment:w})=>{if(w&&f===(h??[]).length)return n.jsx("div",{style:{...A,height:"auto",position:"sticky",bottom:0,zIndex:1},children:w});const k=h&&h[f];return n.jsxs(EH,{rowData:k,rowIndex:f,onRowClick:_,columns:g,hoverRow:b,rowClassName:p,style:{...A,top:`calc(${A.top}px + 48px)`},size:y,children:[g.map((m,C)=>{const v=k&&k[m.key];return n.jsx(FH,{dataKey:m.key,cellRenderer:I,column:m,columns:g,rowData:k,cellData:v,rowIndex:f,columnIndex:C},`cell_${m.key}`)}),s&&n.jsx("div",{className:"w-20"})]},`row_${f}`)}}),[]);return n.jsx(qa.FixedSizeList,{outerRef:e,innerElementType:PH,width:t,height:c,overscanCount:4,itemCount:i,onScroll:a,itemSize:l,children:d})}const Bt=u.memo(function({entity:t,collection:c,fullPath:i,width:a,frozen:l,isSelected:s,selectionEnabled:d,size:f,highlightEntity:A,onCollectionChange:_,unhighlightEntity:h,actions:g=[],hideId:y,selectionController:I}){const b=ze(),p=x(),w=u.useCallback(K=>{I?.toggleEntitySelection(t)},[t,I?.toggleEntitySelection]),k=u.useCallback(K=>{K.stopPropagation(),I?.toggleEntitySelection(t)},[t,I?.toggleEntitySelection]),m=g.length>0,C=g.some(K=>K.collapsed||K.collapsed===void 0),v=g.filter(K=>K.collapsed||K.collapsed===void 0),B=g.filter(K=>K.collapsed===!1);return n.jsxs("div",{onClick:k,className:F("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",l?"sticky left-0":""),style:{width:a,position:l?"sticky":"initial",left:l?0:"initial",contain:"strict"},children:[(m||d)&&n.jsxs("div",{className:"w-34 flex justify-center",children:[B.map((K,P)=>n.jsx(Ae,{title:K.name,children:n.jsx(Z,{onClick:E=>{E.stopPropagation(),K.onClick({entity:t,fullPath:i,collection:c,context:p,selectionController:I,highlightEntity:A,unhighlightEntity:h,onCollectionChange:_})},size:b?"medium":"small",children:K.icon})},P)),C&&n.jsx(Yn,{trigger:n.jsx(Z,{size:b?"medium":"small",children:n.jsx(Br,{})}),children:v.map((K,P)=>n.jsxs(Be,{onClick:E=>{E.stopPropagation(),K.onClick({entity:t,fullPath:i,collection:c,context:p,selectionController:I,highlightEntity:A,unhighlightEntity:h,onCollectionChange:_})},children:[K.icon,K.name]},P))}),d&&n.jsx(Ae,{title:`Select ${t.id}`,children:n.jsx(Zr,{size:b?"medium":"small",checked:s,onCheckedChange:w})})]}),!y&&f!=="xs"&&n.jsx("div",{className:"w-[138px] text-center overflow-hidden truncate",children:t?n.jsxs(q,{onClick:K=>{K.stopPropagation()},className:"font-mono select-all",variant:"caption",color:"secondary",children:[" ",t.id," "]}):n.jsx(He,{})})]})},de);function NH(e){const t=ze(),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(vc,{}),"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:F(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($n,{size:"small"})}),e.onTextSearch&&n.jsx(Yt,{onTextSearch:e.onTextSearch,expandable:!0},"search-bar"),e.actions]})]})}const aa={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Contains Any"},Et=["array-contains-any","in","not-in"];function TH({name:e,value:t,setValue:c,isArray:i,path:a,title:l,previewProperties:s,setHidden:d}){const f=i?["array-contains"]:["==","!=",">","<",">=","<="],[A,_]=u.useState(!1);i?f.push("array-contains-any"):f.push("in","not-in");const[h,g]=t||[f[0],void 0],[y,I]=u.useState(h),[b,p]=u.useState(g),w=b?Array.isArray(b)?b.map(S=>S instanceof Ue?S.id:null).filter(Boolean):[b.id]:[];function k(S,D){const N=Et.includes(y),z=Et.includes(S);let Y=D;N!==z&&(Y=z?Y instanceof Ue?[Y]:[]:void 0),I(S),p(Y);const $=Y!==null&&Array.isArray(Y)?Y.length>0:Y!==void 0;c(S&&$?[S,Y]:void 0)}const m=fe(),C=u.useMemo(()=>a?m.getCollection(a):void 0,[a]),v=S=>{k(y,kn(S))},B=S=>{k(y,S.map(D=>kn(D)))},K=Et.includes(y),P=ao({multiselect:K,path:a,collection:C,onSingleEntitySelected:v,onMultipleEntitiesSelected:B,selectedEntityIds:w,onClose:()=>{d(!1)}}),E=()=>{d(!0),P.open()},T=S=>n.jsx("div",{className:"mb-0.5",onMouseEnter:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>_(!1),children:n.jsx(rn,{disabled:!a,previewProperties:s,size:"medium",onClick:E,reference:S,onHover:A,allowEntityNavigation:!1})});return console.log("ReferenceFilterField",{internalValue:b}),n.jsxs("div",{className:"flex w-[440px] flex-row",children:[n.jsx("div",{className:"w-[120px]",children:n.jsx(xe,{value:y,onValueChange:S=>{k(S,b)},renderValue:S=>aa[S],children:f.map(S=>n.jsx(Re,{value:S,children:aa[S]},S))})}),n.jsxs("div",{className:"flex-grow ml-2 h-full",children:[b&&Array.isArray(b)&&n.jsx("div",{children:b.map((S,D)=>T(S))}),b&&!Array.isArray(b)&&n.jsx("div",{children:T(b)}),(!b||Array.isArray(b)&&b.length===0)&&n.jsx(ce,{onClick:E,variant:"outlined",className:"h-full w-full",children:K?"Select references":"Select reference"})]})]})}const la={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Any"},Ft=["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[f,A]=t||[d[0],void 0],[_,h]=u.useState(f),[g,y]=u.useState(A);function I(p,w){let k=w;const m=Ft.includes(_),C=Ft.includes(p);m!==C&&(k=C?typeof w=="string"||typeof w=="number"?[w]:[]:""),typeof k=="number"&&isNaN(k)&&(k=void 0),h(p),y(k);const v=k!==null&&Array.isArray(k)?k.length>0:k!==void 0;c(p&&v?[p,k]:void 0)}const b=Ft.includes(_);return n.jsxs("div",{className:"flex w-[440px] items-center",children:[n.jsx("div",{className:"w-[80px]",children:n.jsx(xe,{value:_,position:"item-aligned",onValueChange:p=>{I(p,g)},renderValue:p=>la[p],children:d.map(p=>n.jsx(Re,{value:p,children:la[p]},p))})}),n.jsxs("div",{className:"flex-grow ml-2",children:[!l&&n.jsx(tn,{type:i==="number"?"number":void 0,value:g!==void 0?String(g):"",onChange:p=>{const w=i==="number"?parseFloat(p.target.value):p.target.value;I(_,w)},endAdornment:g&&n.jsx(Z,{className:"absolute right-3 top-2",onClick:p=>I(_,void 0),children:n.jsx(un,{})})}),l&&n.jsx(xe,{position:"item-aligned",value:g!==void 0?Array.isArray(g)?g.map(p=>String(p)):String(g):a?[]:"",onValueChange:p=>{I(_,i==="number"?parseInt(p):p)},multiple:b,endAdornment:g&&n.jsx(Z,{className:"absolute right-3 top-2",onClick:p=>I(_,void 0),children:n.jsx(un,{})}),renderValue:p=>n.jsx(Pe,{enumKey:p,enumValues:l,size:"small"},`select_value_${e}_${p}`),children:l.map(p=>n.jsx(Re,{value:String(p.id),children:n.jsx(Pe,{enumKey:String(p.id),enumValues:l,size:"small"})},`select_value_${e}_${p.id}`))})]})]})}function OH({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(Wn,{value:l,allowIndeterminate:!0,onValueChange:d=>a(d===null?void 0:d),label:s?l?`${t} is true`:`${t} is false`:"No filter"})})}const LH="hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75",QH="inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",VH="dark:text-gray-100 text-gray-700 visited:text-gray-700 dark:visited:text-gray-100",WH={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"},GH={circular:"rounded-full",square:"rounded-md"},zH=({children:e,className:t,size:c="medium",variant:i="ghost",shape:a="circular",disabled:l,toggled:s,component:d,...f},A)=>{const _=i==="ghost"?"bg-transparent":"bg-gray-50 dark:bg-gray-950",h=d||"button";return n.jsx(h,{type:"button",ref:A,...f,className:F(he,l?"opacity-50 pointer-events-none":"cursor-pointer",s?"outline outline-2 outline-primary":"",VH,_,QH,LH,GH[a],WH[c],t),children:e})},Z=u.forwardRef(zH),Pt=le.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=F(s.root,{[s.shrink]:i,[s.expanded]:!i},a);return n.jsx("label",{"data-shrink":i,ref:c,className:d,...l})}),Hn=({value:e,label:t,onChange:c,disabled:i,clearable:a,mode:l="date",error:s,size:d,className:f,style:A,inputClassName:_,preventOpenOnFocus:h,invisible:g})=>{const y=u.useRef(null),{locale:I}=x(),b=u.useRef(null),[p,w]=u.useState(document.activeElement===b.current),k=e!=null,m=e!=null&&!(e instanceof Date);On("DateTimeField",HH);const C=v=>{v.preventDefault(),c(null)};return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:F("rounded-md relative max-w-full",!g&&Xe,i?on:Ye,{"min-h-[48px]":d==="small","min-h-[64px]":d==="medium"},f),style:A,children:[t&&n.jsx(Pt,{className:F("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(ar,{ref:y,locale:I,selected:(m?null:e)??null,onChange:c,disabled:!1,popperClassName:F($e,"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:F("w-full outline-none bg-transparent leading-normal text-base px-3",a?"pr-14":"pr-12","rounded-md",!g&&he,d==="small"?"min-h-[48px]":"min-h-[64px]",t?"pt-[28px] pb-2":"py-2",_,i&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-600 dark:text-gray-500")}),n.jsx(Z,{onClick:()=>y.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(Z,{onClick:C,className:"absolute right-14 top-1/2 transform -translate-y-1/2 text-gray-400 ",children:n.jsx(un,{})})]}),m&&n.jsx(we,{title:"Invalid date value for this field",error:`The provided value is: ${JSON.stringify(e)}`})]})},HH=`
655
655
  .react-datepicker__year-read-view--down-arrow,
656
656
  .react-datepicker__month-read-view--down-arrow,
657
657
  .react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {
@@ -1485,7 +1485,62 @@
1485
1485
  .react-datepicker__day--outside-month{
1486
1486
  color: #666 !important;
1487
1487
  }
1488
- `,na={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=","not-in":"not in",in:"in","array-contains":"Contains","array-contains-any":"Any"},oa=["array-contains-any","in"];function NH({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=oa.includes(A),k=oa.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=>na[I],children:s.map(I=>n.jsx(xe,{value:I,children:na[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 ra="collectionGroupParent";function ta(e,t){return f.useMemo(()=>e.propertiesOrder?ca(e,e.propertiesOrder):TH(e,t),[e,t])}function ca(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?Bt(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=>pt(s)===c)?[{key:c,disabled:!0}]:e.collectionGroup&&c===ra?[{key:c,disabled:!0}]:[null]}).filter(Boolean)}function TH(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=>pt(d));l.push(...s.filter(d=>!l.includes(d)))}return e.collectionGroup&&l.push(ra),ca(e,l)}function Bt(e,t,c){return e.dataType==="map"&&e.spreadChildren&&e.properties?Object.entries(e.properties).flatMap(([i,a])=>Bt(a,`${t}.${i}`,c||!!e.disabled||!!e.readOnly)):[{key:t,disabled:c||!!e.disabled||!!e.readOnly}]}const MH={},ia=f.createContext(MH),OH=()=>f.useContext(ia),Et=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:Y,clearFilter:H,itemCount:G,setItemCount:oe,pageSize:L=50,paginationEnabled:$,checkFilterCombination:X,setPopupCell:O},filterable:V=!0,sortable:Q=!0,endAdornment:J,AddColumnComponent:ne,AdditionalHeaderWidget:U,additionalIDHeaderWidget:ce}){const ie=We(),W=!!t,z=A?.selectedEntities?.length>0?A?.selectedEntities:y,Ne=ee(),[de,Oe]=f.useState(m??"m"),[Re,tn]=f.useState(void 0),Le=z?.map(q=>q.id),_o=!!D&&Object.keys(D).length>0,zn=()=>{!$||C||S||G!==void 0&&oe?.(G+L)},Hn=f.useCallback(()=>{oe?.(L)},[L]),Un=f.useCallback(({rowData:q})=>{if(!p)return g&&g(q)},[g,p]),Yn=f.useCallback(q=>{_&&_(q),Oe(q)},[]),yo=f.useCallback(q=>Y?.(q),[]),yn=f.useMemo(()=>w?w.map(q=>({[q.id]:q})).reduce((q,ge)=>({...q,...ge}),{}):{},[w]);f.useEffect(()=>{const q=ge=>{ge.keyCode===27&&ho()};return document.addEventListener("keydown",q,!1),()=>{document.removeEventListener("keydown",q,!1)}});const go=f.useCallback(q=>{tn(q)},[]),ho=f.useCallback(()=>{tn(void 0)},[]),F=s,R=f.useCallback(({column:q,columnIndex:ge,rowData:we,rowIndex:Ue})=>{const _e=we,an=q.key;let gn=q.custom?.disabled;const Io=_e.values?ln(_e.values,an):void 0,$n=d?.({propertyKey:an,propertyValue:Io,entity:_e})??q.custom.resolvedProperty;return $n?.disabled||(gn=!1),$n?n.jsx(le,{children:_e?n.jsx(AH,{readonly:!p,align:q.align??"left",propertyKey:an,property:$n,value:_e?.values?ln(_e.values,an):void 0,customFieldValidator:F,columnIndex:ge,width:q.width,height:Ln(de),entity:_e,disabled:gn,path:_e.path},`property_table_cell_${_e.id}_${an}`):en()}):null},[F,p,de,Le]),Z=f.useCallback(({column:q,rowData:ge,width:we})=>{const Ue=ge,_e=yn[q.key],an=_e.dependencies?Object.entries(Ue.values).filter(([Io,$n])=>_e.dependencies.includes(Io)).reduce((Io,$n)=>({...Io,...$n}),{}):Ue,gn=_e.Builder;if(!gn)throw new Error("No builder provided for additional field");return n.jsx(mt,{width:we,size:de,value:an,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:Ue,context:Ne})})},`additional_table_cell_${Ue.id}_${q.key}`)},[yn,de,Le]),re=f.useMemo(()=>{const q=Object.entries(K).flatMap(([we,Ue])=>Bt(Ue,we)).map(({key:we,disabled:Ue})=>{const _e=lt(K,we);if(!_e)throw Error("Internal error: no property found in path "+we);const an=aa(_e);return{key:we,align:Jz(_e),icon:gn=>ke(_e,"small"),title:_e.name??we,sortable:Q&&(t?Object.keys(t).includes(we):!0),filter:!W&&an,width:qi(_e),resizable:!0,custom:{resolvedProperty:_e,disabled:Ue},AdditionalHeaderWidget:({onHover:gn})=>U?n.jsx(U,{property:_e,propertyKey:we,onHover:gn}):void 0}}),ge=w?w.map(we=>({key:we.id,align:"left",sortable:!1,title:we.name,width:we.width??200})):[];return[...q,...ge]},[w,W,t,K,Q]),pe=f.useMemo(()=>({key:"id_ewcfedcswdf3",width:ie?160:130,title:"ID",resizable:!1,frozen:ie,headerAlign:"center",align:"center",AdditionalHeaderWidget:()=>ce}),[ie]),He=f.useMemo(()=>[pe,...k.map(q=>re.find(ge=>ge.key===q.key)).filter(Boolean)],[re,k,pe]),cn=f.useCallback(q=>{const ge=q.column,we=q.columns,Ue=ge.key;if(q.columnIndex===0)return l?l({entity:q.rowData,size:de,width:ge.width,frozen:ge.frozen}):n.jsx(vt,{entity:q.rowData,width:ge.width,frozen:ge.frozen,isSelected:!1,size:de});if(yn[Ue])return Z(q);if(q.columnIndex<we.length+1)return R(q);throw Error("Internal: columns not mapped properly")},[yn,l,de,Z,R]),Yt=f.useCallback(q=>{T?.({...q,...t})},[t]);return n.jsx(ia.Provider,{value:{setPopupCell:O,select:go,onValueChange:u,size:de,selectedCell:Re,selectedEntityIds:Le},children:n.jsxs("div",{className:"h-full w-full flex flex-col bg-white dark:bg-gray-950",children:[n.jsx(kH,{forceFilter:W,filterIsSet:_o,onTextSearch:I?yo:void 0,clearFilter:H,size:de,onSizeChanged:Yn,title:a,actionsStart:c,actions:i,loading:C}),n.jsx(xi,{data:v,columns:He,cellRenderer:cn,onRowClick:p?void 0:g?Un:void 0,onEndReached:zn,onResetPagination:Hn,error:P,paginationEnabled:$,onColumnResize:h,size:de,loading:C,filter:D,onFilterUpdate:T?Yt:void 0,sortBy:B,onSortByUpdate:N,hoverRow:b,checkFilterCombination:X,createFilterField:V?LH:void 0,rowClassName:f.useCallback(q=>Le?.includes(q.id)?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",[Le]),className:"flex-grow",endAdornment:J,AddColumnComponent:ne})]})})},se);function LH({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(mH,{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?sn(u.enumValues):void 0;return n.jsx(vH,{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(KH,{value:t,setValue:c,name:e,title:A})}else if(u.dataType==="date"){const A=u.name;return n.jsx(NH,{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 aa(e,t=!1){return t?["string","number","date","reference"].includes(e.dataType):e.dataType==="array"?e.of?aa(e.of,!0):!1:["string","number","boolean","date","reference","array"].includes(e.dataType)}function QH({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 VH(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 WH=50;function Ft({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=Qe(),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:WH,[p,w]=f.useState(),[k,m]=f.useState(I?b:void 0),K=f.useCallback((L,$)=>g.isFilterCombinationValid?g.isFilterCombinationValid({path:h,collection:t,filterValues:L,sortBy:$}):!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:Y,dataLoadingError:H}=Uc({path:e,collection:t,filterValues:C,sortBy:P,searchString:p,itemCount:k}),G=QH({data:N,entitiesDisplayedFirst:c});return{data:VH(G,{filterValues:C,sortBy:P,searchString:p,lastDeleteTimestamp:i}),dataLoading:M,noMoreToLoad:Y,dataLoadingError:H,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 GH(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 zH({open:e,handleOk:t,handleCancel:c,body:i,title:a}){return n.jsxs(xo,{open:e,onOpenChange:l=>l?c():t(),children:[n.jsxs(Ro,{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 la=f.createContext({width:"",blocked:!1,setBlocked:e=>{},setBlockedNavigationMessage:e=>{},close:()=>{}}),Yo=()=>f.useContext(la);function HH(){const t=to().sidePanels,c=[...t];return c.push(void 0),n.jsx(n.Fragment,{children:c.map((i,a)=>n.jsx(UH,{panel:i,offsetPosition:t.length-a-1},`side_dialog_${a}`))})}function UH({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=to(),{navigationWasBlocked:g,handleOk:h,handleCancel:_}=GH(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(la.Provider,{value:{blocked:a,setBlocked:l,setBlockedNavigationMessage:d,width:A,close:p},children:[n.jsxs(Ht,{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(zH,{open:g||c,handleOk:c?I:h,handleCancel:c?b:_,body:s})]})}function YH({entityOrEntitiesToDelete:e,collection:t,onClose:c,open:i,callbacks:a,onEntityDelete:l,onMultipleEntitiesDelete:s,path:d}){const u=Qe(),A=un(),[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=>Yc({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(bt,{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(Ro,{fullHeight:!0,children:[n.jsx(j,{variant:"subtitle2",className:"p-4",children:T}),!I&&n.jsx("div",{className:"p-4",children:D})]}),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 $o(e){return Array.isArray(e)?e:e?[e]:[]}function $H({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,Ze(s),null)&&i&&(_?n.jsxs(te,{id:`add_entity_${s}`,onClick:i,startIcon:n.jsx(bn,{}),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(bn,{})})),p=dt(e,h,Ze(s),null);let w;if(l){const v=_?n.jsxs(te,{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(Ae,{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 jo({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",jH),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 jH=`
1488
+ `,sa={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=","not-in":"not in",in:"in","array-contains":"Contains","array-contains-any":"Any"},da=["array-contains-any","in"];function UH({name:e,isArray:t,mode:c,value:i,setValue:a,title:l}){const s=t?["array-contains"]:["==","!=",">","<",">=","<="],[d,f]=i||[s[0],void 0],[A,_]=u.useState(d),[h,g]=u.useState(f);function y(I,b){let p=b;const w=da.includes(A),k=da.includes(I);w!==k&&(p=k?b?[b]:[]:""),_(I),g(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=>{y(I,h)},renderValue:I=>sa[I],children:s.map(I=>n.jsx(Re,{value:I,children:sa[I]},I))})}),n.jsx("div",{className:"flex-grow ml-2",children:n.jsx(Hn,{mode:c,size:"medium",value:h,onChange:I=>{y(A,I===null?void 0:I)},clearable:!0})})]})}const ua="collectionGroupParent";function fa(e,t){return u.useMemo(()=>e.propertiesOrder?Aa(e,e.propertiesOrder):YH(e,t),[e,t])}function Aa(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?Dt(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=>vt(s)===c)?[{key:c,disabled:!0}]:e.collectionGroup&&c===ua?[{key:c,disabled:!0}]:[null]}).filter(Boolean)}function YH(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=>vt(d));l.push(...s.filter(d=>!l.includes(d)))}return e.collectionGroup&&l.push(ua),Aa(e,l)}function Dt(e,t,c){return e.dataType==="map"&&e.spreadChildren&&e.properties?Object.entries(e.properties).flatMap(([i,a])=>Dt(a,`${t}.${i}`,c||!!e.disabled||!!e.readOnly)):[{key:t,disabled:c||!!e.disabled||!!e.readOnly}]}const $H={},ya=u.createContext($H),jH=()=>u.useContext(ya),Nt=u.memo(function({forceFilter:t,actionsStart:c,actions:i,title:a,tableRowActionsBuilder:l,uniqueFieldValidator:s,getPropertyFor:d,onValueChange:f,selectionController:A,highlightedEntities:_,onEntityClick:h,onColumnResize:g,onSizeChanged:y,textSearchEnabled:I=!1,hoverRow:b=!0,inlineEditing:p=!1,additionalFields:w,displayedColumnIds:k,defaultSize:m,properties:C,tableController:{data:v,dataLoading:B,noMoreToLoad:K,dataLoadingError:P,filterValues:E,setFilterValues:T,sortBy:S,setSortBy:D,searchString:N,setSearchString:z,clearFilter:Y,itemCount:$,setItemCount:ie,pageSize:W=50,paginationEnabled:H,checkFilterCombination:ne,setPopupCell:M},filterable:Q=!0,sortable:oe=!0,endAdornment:ae,AddColumnComponent:G,AdditionalHeaderWidget:O,additionalIDHeaderWidget:X,emptyComponent:te,getIdColumnWidth:V}){const j=ze(),Ee=!!t,Fe=A?.selectedEntities?.length>0?A?.selectedEntities:_,We=x(),[pe,In]=u.useState(m??"m"),[cn,jn]=u.useState(void 0),en=Fe?.map(J=>J.id),ho=!!E&&Object.keys(E).length>0,go=()=>{!H||B||K||$!==void 0&&ie?.($+W)},an=u.useCallback(()=>{ie?.(W)},[W]),Bn=u.useCallback(({rowData:J})=>{if(!p)return h&&h(J)},[h,p]),Io=u.useCallback(J=>{y&&y(J),In(J)},[]),bo=u.useCallback(J=>z?.(J),[]),bn=u.useMemo(()=>w?w.map(J=>({[J.id]:J})).reduce((J,ge)=>({...J,...ge}),{}):{},[w]);u.useEffect(()=>{const J=ge=>{ge.keyCode===27&&ke()};return document.addEventListener("keydown",J,!1),()=>{document.removeEventListener("keydown",J,!1)}});const U=u.useCallback(J=>{jn(J)},[]),ke=u.useCallback(()=>{jn(void 0)},[]),L=s,ee=u.useCallback(({column:J,columnIndex:ge,rowData:me,rowIndex:je})=>{const _e=me,ln=J.key;let pn=J.custom?.disabled;const wo=_e.values?sn(_e.values,ln):void 0,qn=d?.({propertyKey:ln,propertyValue:wo,entity:_e})??J.custom.resolvedProperty;return qn?.disabled||(pn=!1),qn?n.jsx(se,{children:_e?n.jsx(vH,{readonly:!p,align:J.align??"left",propertyKey:ln,property:qn,value:_e?.values?sn(_e.values,ln):void 0,customFieldValidator:L,columnIndex:ge,width:J.width,height:zn(pe),entity:_e,disabled:pn,path:_e.path},`property_table_cell_${_e.id}_${ln}`):nn()}):null},[L,p,pe,en]),re=u.useCallback(({column:J,rowData:ge,width:me})=>{const je=ge,_e=bn[J.key],ln=_e.dependencies?Object.entries(je.values).filter(([wo,qn])=>_e.dependencies.includes(wo)).reduce((wo,qn)=>({...wo,...qn}),{}):je,pn=_e.Builder;if(!pn)throw new Error("No builder provided for additional field");return n.jsx(St,{width:me,size:pe,value:ln,selected:!1,disabled:!0,align:"left",allowScroll:!1,showExpandIcon:!1,disabledTooltip:"This column can't be edited directly",children:n.jsx(se,{children:n.jsx(pn,{entity:je,context:We})})},`additional_table_cell_${je.id}_${J.key}`)},[bn,pe,en]),R=u.useMemo(()=>{const J=Object.entries(C).flatMap(([me,je])=>Dt(je,me)).map(({key:me,disabled:je})=>{const _e=At(C,me);if(!_e)throw Error("Internal error: no property found in path "+me);const ln=_a(_e);return{key:me,align:iH(_e),icon:pn=>ve(_e,"small"),title:_e.name??me,sortable:oe&&(t?Object.keys(t).includes(me):!0),filter:!Ee&&ln,width:oa(_e),resizable:!0,custom:{resolvedProperty:_e,disabled:je},AdditionalHeaderWidget:({onHover:pn})=>O?n.jsx(O,{property:_e,propertyKey:me,onHover:pn}):void 0}}),ge=w?w.map(me=>({key:me.id,align:"left",sortable:!1,title:me.name,width:me.width??200})):[];return[...J,...ge]},[w,Ee,t,C,oe]),ye=u.useMemo(()=>({key:"id_ewcfedcswdf3",width:V?.()??(j?160:130),title:"ID",resizable:!1,frozen:j,headerAlign:"center",align:"center",AdditionalHeaderWidget:()=>X}),[V,j]),En=u.useMemo(()=>[ye,...k.map(J=>R.find(ge=>ge.key===J.key)).filter(Boolean)],[R,k,ye]),po=u.useCallback(J=>{const ge=J.column,me=J.columns,je=ge.key;if(J.columnIndex===0)return l?l({entity:J.rowData,size:pe,width:ge.width,frozen:ge.frozen}):n.jsx(Bt,{entity:J.rowData,width:ge.width,frozen:ge.frozen,isSelected:!1,size:pe});if(bn[je])return re(J);if(J.columnIndex<me.length+1)return ee(J);throw Error("Internal: columns not mapped properly")},[bn,l,pe,re,ee]),qt=u.useCallback(J=>{T?.({...J,...t})},[t]);return n.jsx(ya.Provider,{value:{setPopupCell:M,select:U,onValueChange:f,size:pe,selectedCell:cn,selectedEntityIds:en},children:n.jsxs("div",{className:"h-full w-full flex flex-col bg-white dark:bg-gray-950",children:[n.jsx(NH,{forceFilter:Ee,filterIsSet:ho,onTextSearch:I?bo:void 0,clearFilter:Y,size:pe,onSizeChanged:Io,title:a,actionsStart:c,actions:i,loading:B}),n.jsx(ia,{data:v,columns:En,cellRenderer:po,onRowClick:p?void 0:h?Bn:void 0,onEndReached:go,onResetPagination:an,error:P,paginationEnabled:H,onColumnResize:g,size:pe,loading:B,filter:E,onFilterUpdate:T?qt:void 0,sortBy:S,onSortByUpdate:D,hoverRow:b,emptyComponent:te,checkFilterCombination:ne,createFilterField:Q?qH:void 0,rowClassName:u.useCallback(J=>en?.includes(J.id)?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",[en]),className:"flex-grow",endAdornment:ae,AddColumnComponent:G})]})})},de);function qH({id:e,filterValue:t,setFilterValue:c,column:i,hidden:a,setHidden:l}){if(!i.custom)return null;const{resolvedProperty:s}=i.custom,d=s?.dataType==="array",f=d?s.of:s;if(!f)return null;if(f.dataType==="reference")return n.jsx(TH,{value:t,setValue:c,name:e,isArray:d,path:f.path,title:s?.name,previewProperties:f?.previewProperties,hidden:a,setHidden:l});if(f.dataType==="number"||f.dataType==="string"){const A=f.name,_=f.enumValues?dn(f.enumValues):void 0;return n.jsx(MH,{value:t,setValue:c,name:e,dataType:f.dataType,isArray:d,enumValues:_,title:A})}else if(f.dataType==="boolean"){const A=f.name;return n.jsx(OH,{value:t,setValue:c,name:e,title:A})}else if(f.dataType==="date"){const A=f.name;return n.jsx(UH,{value:t,setValue:c,name:e,mode:f.mode,isArray:d,title:A})}return n.jsx("div",{children:`Currently the filter field ${s.dataType} is not supported`})}function _a(e,t=!1){return t?["string","number","date","reference"].includes(e.dataType):e.dataType==="array"?e.of?_a(e.of,!0):!1:["string","number","boolean","date","reference","array"].includes(e.dataType)}function JH({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 ZH(e,t,c=5e3){const[i,a]=u.useState(e),l=u.useRef(i.length??0),s=u.useRef(!1),d=u.useRef(t),f=!de(d.current,t),A=e.length>=l.current||f;return u.useEffect(()=>{const _=()=>{de(i,e)||(d.current=t,l.current=e.length,a(e)),s.current=!1};s.current=!0;let h;return A?_():h=setTimeout(_,c),()=>{clearTimeout(h),s.current&&A&&_()}},[e,c,t,A]),A?e:i}const XH=50;function Tt({fullPath:e,collection:t,entitiesDisplayedFirst:c,lastDeleteTimestamp:i,forceFilter:a}){const{initialFilter:l,initialSort:s,forceFilter:d}=t,[f,A]=u.useState(void 0),_=fe(),h=Ge(),g=u.useMemo(()=>_.resolveAliasesFrom(e),[e,_.resolveAliasesFrom]),y=a??d,I=t.pagination===void 0||!!t.pagination,b=typeof t.pagination=="number"?t.pagination:XH,[p,w]=u.useState(),[k,m]=u.useState(I?b:void 0),C=u.useCallback((W,H)=>h.isFilterCombinationValid?h.isFilterCombinationValid({path:g,collection:t,filterValues:W,sortBy:H}):!0,[]),v=u.useMemo(()=>{if(s&&y&&!C(y,s)){console.warn("Initial sort is not compatible with the force filter. Ignoring initial sort");return}return s},[s,y]),[B,K]=u.useState(y??l??void 0),[P,E]=u.useState(v),T=u.useCallback(()=>K(y??void 0),[y]),S=u.useCallback(W=>{if(y){console.warn("Filter is not compatible with the force filter. Ignoring filter");return}W&&Object.keys(W).length===0?K(void 0):K(W)},[y]),{data:D,dataLoading:N,noMoreToLoad:z,dataLoadingError:Y}=Jc({path:e,collection:t,filterValues:B,sortBy:P,searchString:p,itemCount:k}),$=JH({data:D,entitiesDisplayedFirst:c});return{data:ZH($,{filterValues:B,sortBy:P,searchString:p,lastDeleteTimestamp:i}),dataLoading:N,noMoreToLoad:z,dataLoadingError:Y,filterValues:B,setFilterValues:S,sortBy:P,setSortBy:E,searchString:p,setSearchString:w,clearFilter:T,itemCount:k,setItemCount:m,paginationEnabled:I,pageSize:b,checkFilterCombination:C,popupCell:f,setPopupCell:A}}function xH(e,t){const[c,i]=u.useState(),{navigator:a}=u.useContext(Ie.UNSAFE_NavigationContext),l=Ie.useNavigate(),s=()=>{i(void 0)},d=()=>{t(),i(void 0),l(-1)},f=u.useCallback(({action:A,location:_,retry:h})=>{switch(A){case"REPLACE":{h();return}case"POP":i(_)}},[]);return u.useEffect(()=>{if(!e||c||!("block"in a))return;const A=a.block(_=>{const h={..._,retry(){A(),_.retry()}};f(h)});return A},[a,f,e,c]),{navigationWasBlocked:!!c,handleCancel:s,handleOk:d}}function RH({open:e,handleOk:t,handleCancel:c,body:i,title:a}){return n.jsxs(rr,{open:e,onOpenChange:l=>l?c():t(),children:[n.jsxs(tr,{children:[n.jsx(q,{variant:"h6",children:a}),i,n.jsx(q,{children:"Are you sure you want to leave this page?"})]}),n.jsxs(Sn,{children:[n.jsx(ce,{variant:"text",onClick:c,autoFocus:!0,children:" Cancel "}),n.jsx(ce,{onClick:t,children:" Ok "})]})]})}const ha=u.createContext({width:"",blocked:!1,setBlocked:e=>{},setBlockedNavigationMessage:e=>{},close:()=>{}}),Zo=()=>u.useContext(ha);function e3(){const t=io().sidePanels,c=[...t];return c.push(void 0),n.jsx(n.Fragment,{children:c.map((i,a)=>n.jsx(n3,{panel:i,offsetPosition:t.length-a-1},`side_dialog_${a}`))})}function n3({offsetPosition:e,panel:t}){const[c,i]=u.useState(!1),[a,l]=u.useState(!1),[s,d]=u.useState(),f=u.useRef(t?.width),A=f.current,_=io(),{navigationWasBlocked:h,handleOk:g,handleCancel:y}=xH(a&&!c,()=>l(!1));u.useEffect(()=>{t&&(f.current=t.width)},[t]);const I=()=>{l(!1),i(!1),_.close(),t?.onClose?.()},b=()=>{i(!1)},p=w=>{a&&!w?i(!0):(_.close(),t?.onClose?.())};return n.jsxs(ha.Provider,{value:{blocked:a,setBlocked:l,setBlockedNavigationMessage:d,width:A,close:p},children:[n.jsxs($t,{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(se,{children:t.component})}),!t&&n.jsx("div",{style:{width:A}})]}),n.jsx(RH,{open:h||c,handleOk:c?I:g,handleCancel:c?b:y,body:s})]})}function Xo(e){return Array.isArray(e)?e:e?[e]:[]}function o3({collection:e,relativePath:t,parentPathSegments:c,onNewClick:i,onMultipleDeleteClick:a,selectionEnabled:l,path:s,selectionController:d,tableController:f,collectionEntitiesCount:A}){const _=x(),h=_.plugins??[],g=fn(),y=ze(),I=d.selectedEntities,b=Gn(e,g,Ve(s),null)&&i&&(y?n.jsxs(ce,{id:`add_entity_${s}`,onClick:i,startIcon:n.jsx(mn,{}),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(mn,{})})),p=Yo(e,g,Ve(s),null);let w;if(l){const v=y?n.jsxs(ce,{variant:"text",disabled:!I?.length||!p,startIcon:n.jsx(To,{}),onClick:a,color:"primary",className:"lg:w-20",children:["(",I?.length,")"]}):n.jsx(Z,{color:"primary",disabled:!I?.length||!p,onClick:a,children:n.jsx(To,{})});w=n.jsx(Ae,{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:_,tableController:f,collectionEntitiesCount:A},m=[];m.push(...Xo(e.Actions)),h&&h.forEach(v=>{v.collections?.CollectionActions&&m.push(...Xo(v.collections?.CollectionActions))});const C=n.jsx(n.Fragment,{children:m.map((v,B)=>n.jsx(v,{...k},`actions_${B}`))});return n.jsxs(n.Fragment,{children:[C,w,b]})}function r3({containerRef:e,innerRef:t,x:c,y:i,onMove:a}){let l=0,s=0;const d=u.useRef(!1),f=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",g),document.addEventListener("mouseup",h),document.addEventListener("selectstart",_),d.current=!0},A=I=>{I.innerClicked=!0},_=I=>{I.preventDefault(),I.stopPropagation()},h=I=>{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",h),document.removeEventListener("selectstart",_),I.stopPropagation(),d.current=!1},g=I=>{I.target.localName==="input"||!d.current||(a({x:I.screenX-l,y:I.screenY-s}),I.stopPropagation())},y=()=>{e.current&&(e.current.style.top=`${i}px`,e.current.style.left=`${c}px`)};u.useEffect(()=>{const I=e.current,b=t.current;if(!(!I||!b))return b&&b.addEventListener("mousedown",A),I&&I.addEventListener("mousedown",f),y(),()=>{I&&I.removeEventListener("mousedown",f),b&&b.removeEventListener("mousedown",A)}})}function t3(){const[e,t]=u.useState({width:0,height:0});return u.useLayoutEffect(()=>{function c(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",c),c(),()=>window.removeEventListener("resize",c)},[]),e}const c3=({onResize:e})=>{const t=u.useRef(0),c=u.useRef(null),i=u.useRef(e);i.current=e;const a=u.useCallback(s=>{t.current&&cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{i.current(s)})},[]),l=u.useCallback(()=>{const s=c.current;s&&s.contentDocument&&s.contentDocument.defaultView&&s.contentDocument.defaultView.addEventListener("resize",a)},[a]);return u.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 i3(e){return e.open?n.jsx(a3,{...e}):null}function a3({tableKey:e,entity:t,customFieldValidator:c,propertyKey:i,collection:a,path:l,cellRect:s,open:d,onClose:f,onCellValueChange:A,container:_}){const h=Ge(),g=x(),[y,I]=u.useState(),[b,p]=u.useState(),w=t?.id,[k,m]=u.useState(t);u.useEffect(()=>w&&a?h.listenEntity?.({path:l,entityId:w,collection:a,onUpdate:H=>{m(H),v(H?.values)}}):()=>{},[h,w,a,l,d]);const[C,v]=u.useState(k?.values),B=a?Oe({collection:a,path:l,values:C,entityId:w,fields:g.fields}):void 0,K=t3(),P=u.useRef(null),E=u.useRef(null),T=u.useRef(!1),S=u.useCallback(()=>{if(!s)throw Error("getInitialLocation error");return{x:s.left<K.width-s.right?s.x+s.width/2:s.x-s.width/2,y:s.top<K.height-s.bottom?s.y+s.height/2:s.y-s.height/2}},[s,K.height,K.width]),D=u.useCallback(({x:H,y:ne})=>{const M=P.current?.getBoundingClientRect();if(!M)throw Error("normalizePosition called before draggableBoundingRect is set");return{x:Math.max(0,Math.min(H,K.width-M.width)),y:Math.max(0,Math.min(ne,K.height-M.height))}},[K]),N=u.useCallback(H=>{const ne=P.current?.getBoundingClientRect();if(!s||!ne)return;const M=H??D(S());(!b||M.x!==b.x||M.y!==b.y)&&p(M)},[s,S,D,b]);r3({containerRef:P,innerRef:E,x:b?.x,y:b?.y,onMove:N}),u.useEffect(()=>{T.current=!1},[i,k]),u.useLayoutEffect(()=>{const H=P.current?.getBoundingClientRect();!s||!H||T.current||(N(),T.current=!0)},[s,N,T.current]),u.useLayoutEffect(()=>{N(b)},[K,s]);const z=u.useMemo(()=>{if(!(!B||!w))return Mi(w,i&&B.properties[i]?{[i]:B.properties[i]}:{},c)},[B,w,i,c]),Y=u.useCallback(()=>N(b),[b,N]),$=async H=>(I(null),a&&k&&A&&i?A({value:H[i],propertyKey:i,entity:k,setError:I,onValueUpdated:()=>{},fullPath:l,context:g}):Promise.resolve());if(!k)return n.jsx(n.Fragment,{});const ie=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(De.Formik,{initialValues:k?.values??{},enableReinitialize:!0,validationSchema:z,validateOnMount:!0,validate:H=>console.debug("Validating",H),onSubmit:(H,ne)=>{$(H).then(()=>f()).finally(()=>ne.setSubmitting(!1))},children:({values:H,setFieldValue:ne,handleSubmit:M,isSubmitting:Q})=>{if(u.useEffect(()=>{de(H,C)||v(H)},[H]),!k)return n.jsx(we,{error:"PopupFormField misconfiguration"});if(!B)return n.jsx(n.Fragment,{});const oe=Q,ae={collection:B,entityId:w,values:H,path:l,setFieldValue:ne,save:$},G=i&&Cn(B.properties,i),O=i&&G?{propertyKey:i,disabled:Q||Pn(G)||!!G.disabled,property:G,includeDescription:!1,underlyingValueHasChanged:!1,context:ae,tableMode:!0,partOfArray:!1,partOfBlock:!1,autoFocus:d}:void 0;let X=n.jsx(n.Fragment,{children:n.jsx("div",{className:"w-[560px] max-w-full max-h-[85vh]",children:n.jsxs(De.Form,{onSubmit:M,noValidate:!0,children:[n.jsx("div",{className:"mb-1 p-4 flex flex-col relative",children:n.jsx("div",{ref:E,className:"cursor-auto",style:{cursor:"auto !important"},children:O&&n.jsx(Kn,{...O})})}),n.jsx(Sn,{children:n.jsx(ce,{variant:"filled",color:"primary",type:"submit",disabled:oe,children:"Save"})})]})},`popup_form_${e}_${w}_${i}`)});const te=g.plugins;return te&&te.forEach(V=>{V.form?.provider&&(X=n.jsx(V.form.provider.Component,{status:"existing",path:l,collection:B,entity:k,context:g,currentEntityId:w,formContext:ae,...V.form.provider.props,children:X}))}),X}}),y&&n.jsx(q,{color:"error",children:y.message})]}),W=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(c3,{onResize:Y}),n.jsxs("div",{className:"overflow-hidden",children:[ie,n.jsx("div",{className:"absolute -top-3.5 -right-3.5 bg-gray-500 rounded-full",style:{width:"32px",height:"32px"},children:n.jsx(Z,{size:"small",onClick:H=>{H.stopPropagation(),f()},children:n.jsx(un,{className:"text-white",size:"small"})})})]})]},`draggable_${i}_${w}_${d}`);return n.jsx(Ra.Root,{asChild:!0,container:_,children:W})}const l3="collectionGroupParent",Mt=u.memo(function({fullPath:t,parentPathSegments:c,isSubCollection:i,className:a,...l}){const s=Ge(),d=fe(),f=An(),A=fn(),_=Nn(),h=x(),g=u.useRef(null),y=u.useMemo(()=>{const L=_?.getCollectionConfig(t);return L?Ze(l,L):l},[l,t,_?.getCollectionConfig]),I=Gn(y,A,Ve(t),null),[b,p]=u.useState(void 0),[w,k]=u.useState(void 0),[m,C]=u.useState(0),[v,B]=u.useState(0),K=u.useCallback(()=>{const L=b;setTimeout(()=>{L===b&&p(void 0)},2400)},[b]),P=u.useCallback(L=>yt(y,A,Ve(t),L??null)?y.inlineEditing===void 0||y.inlineEditing:!1,[y,A,t]),E=y.selectionEnabled===void 0||y.selectionEnabled,T=!P(),[S,D]=u.useState(!1),N=Ot(),z=y.selectionController??N,{selectedEntities:Y,toggleEntitySelection:$,isEntitySelected:ie,setSelectedEntities:W}=z;u.useEffect(()=>{k(void 0)},[Y]);const H=Tt({fullPath:t,collection:y,entitiesDisplayedFirst:[],lastDeleteTimestamp:m}),ne=u.useRef(Math.random().toString(36)),M=H.popupCell,Q=u.useCallback(()=>{H.setPopupCell?.(void 0)},[H.setPopupCell]),oe=u.useCallback(L=>(p(L),h.onAnalyticsEvent?.("edit_entity_clicked",{path:L.path,entityId:L.id}),f.open({entityId:L.id,path:L.path,collection:y,updateUrl:!0,onClose:K})),[t,y,f]),ae=u.useCallback(()=>{h.onAnalyticsEvent?.("new_entity_click",{path:t}),f.open({path:t,collection:y,updateUrl:!0,onClose:K})},[t,y,f]);u.useCallback(L=>{h.onAnalyticsEvent?.("single_delete_dialog_open",{path:t}),k(L)},[h,t]);const G=u.useCallback(()=>{h.onAnalyticsEvent?.("multiple_delete_dialog_open",{path:t}),k(Y)},[h,t,Y]),O=u.useCallback((L,ee)=>{h.onAnalyticsEvent?.("single_entity_deleted",{path:t}),W(re=>re.filter(R=>R.id!==ee.id)),C(Date.now())},[h,t,W]),X=u.useCallback((L,ee)=>{h.onAnalyticsEvent?.("multiple_entities_deleted",{path:t}),W([]),k(void 0),C(Date.now())},[W]);let te;h?.plugins&&(te=h.plugins.find(L=>L.collectionView?.AddColumnComponent)?.collectionView?.AddColumnComponent);const V=u.useCallback((L,ee)=>{if(_){const re=_.getCollectionConfig(L),R=Ze(re,ee);_.onCollectionModified(L,R)}},[_]),j=u.useCallback(({width:L,key:ee})=>{if(!Cn(y.properties,ee))return;const re=ga(ee,L);V(t,re)},[y,V,t]),Ee=u.useCallback(L=>{_&&V(t,{defaultSize:L})},[V,t,_]),Fe=Gn(y,A,Ve(t),null),We=u.useCallback(({name:L,value:ee,property:re,entityId:R})=>s.checkUniqueField(t,L,ee,R),[t]),pe=({fullPath:L,context:ee,value:re,propertyKey:R,onValueUpdated:ye,setError:En,entity:po})=>{const qt=De.setIn({...po.values},R,re),J={path:L,entityId:po.id,values:qt,previousValues:po.values,collection:y,status:"existing"};return Or({...J,callbacks:y.callbacks,dataSource:s,context:ee,onSaveSuccess:()=>ye(),onSaveFailure:ge=>{console.error("Save failure"),console.error(ge),En(ge)}})},In=d.resolveAliasesFrom(t),cn=u.useMemo(()=>Oe({collection:y,path:t,fields:h.fields}),[y,t]),jn=u.useCallback(({propertyKey:L,propertyValue:ee,entity:re})=>{let R=Cn(y.properties,L);return R||(R=Cn(cn.properties,L)),Le({propertyKey:L,propertyOrBuilder:R,path:t,propertyValue:ee,values:re.values,entityId:re.id,fields:h.fields})},[y.properties,h.fields,t,cn.properties]),en=fa(cn,!0),ho=u.useMemo(()=>{const L=y.subcollections?.map(re=>({id:vt(re),name:re.name,width:200,dependencies:[],Builder:({entity:R})=>n.jsx(ce,{color:"primary",variant:"outlined",startIcon:n.jsx(Oo,{size:"small"}),onClick:ye=>{ye.stopPropagation(),f.open({path:t,entityId:R.id,selectedSubPath:re.alias??re.path,collection:y,updateUrl:!0})},children:re.name})}))??[],ee=y.collectionGroup?[{id:l3,name:"Parent entities",width:260,dependencies:[],Builder:({entity:re})=>{const R=d.getParentReferencesFromPath(re.path);return n.jsx(n.Fragment,{children:R.map(ye=>n.jsx(rn,{reference:ye,size:"tiny"},ye.path+"/"+ye.id))})}}]:[];return[...y.additionalFields??[],...L,...ee]},[y,t]),go=u.useCallback(()=>{C(Date.now())},[]),an=ze(),Bn=u.useCallback(({entity:L,customEntityActions:ee})=>{const re=L?Yo(y,A,Ve(t),L):!0,R=[eH];return Fe&&R.push(Zi),re&&R.push(Xi),ee&&R.push(...ee),R},[A,y,Fe,t]),Io=u.useCallback(()=>{const L=Bn({}),ee=L.filter(ye=>ye.collapsed!==!1),R=L.filter(ye=>ye.collapsed===!1).length*(an?40:30);return(an?80+R:70+R)+(ee.length>0?an?40:30:0)},[an,Bn]),bo=u.useCallback(({entity:L,size:ee,width:re,frozen:R})=>{const ye=ie(L),En=Bn({entity:L,customEntityActions:y.entityActions});return n.jsx(Bt,{entity:L,width:re,frozen:R,isSelected:ye,selectionEnabled:E,size:ee,highlightEntity:p,unhighlightEntity:K,collection:y,fullPath:t,actions:En,hideId:y?.hideIdFromCollection,onCollectionChange:go,selectionController:z})},[ie,y,A,t,E,$,Fe]),bn=n.jsx(ir,{open:S,onOpenChange:D,enabled:!!y.description,trigger:n.jsxs("div",{className:"flex flex-col items-start",children:[n.jsx(q,{variant:"subtitle1",className:`leading-none truncate max-w-[160px] lg:max-w-[240px] ${y.description?"cursor-pointer":"cursor-auto"}`,onClick:y.description?L=>{D(!0),L.stopPropagation()}:void 0,children:`${y.name}`}),n.jsx(s3,{fullPath:t,collection:y,filter:H.filterValues,sortBy:H.sortBy,onCountChange:B})]}),children:y.description&&n.jsx("div",{className:"m-4 text-gray-900 dark:text-white",children:n.jsx(so,{source:y.description})})});function U({property:L,propertyKey:ee,onHover:re}){return h.plugins?n.jsx(n.Fragment,{children:h.plugins.filter(R=>R.collectionView?.HeaderAction).map((R,ye)=>{const En=R.collectionView.HeaderAction;return n.jsx(En,{onHover:re,propertyKey:ee,property:L,fullPath:t,collection:y,parentPathSegments:c??[]},`plugin_header_action_${ye}`)})}):null}const ke=te?function(){return typeof te=="function"?n.jsx(te,{fullPath:t,parentPathSegments:c??[],collection:y}):null}:void 0;return n.jsxs("div",{className:F("overflow-hidden h-full w-full",a),ref:g,children:[n.jsx(Nt,{additionalFields:ho,tableController:H,displayedColumnIds:en,onSizeChanged:Ee,onEntityClick:oe,onColumnResize:j,onValueChange:pe,tableRowActionsBuilder:bo,uniqueFieldValidator:We,title:bn,selectionController:z,highlightedEntities:b?[b]:[],defaultSize:y.defaultSize,properties:cn.properties,getPropertyFor:jn,actions:n.jsx(o3,{parentPathSegments:c??[],collection:y,tableController:H,onMultipleDeleteClick:G,onNewClick:ae,path:t,relativePath:y.path,selectionController:z,selectionEnabled:E,collectionEntitiesCount:v}),emptyComponent:I?n.jsxs("div",{className:"flex flex-col items-center justify-center",children:[n.jsx(q,{variant:"subtitle2",children:"So empty..."}),n.jsx(ce,{color:"primary",variant:"outlined",onClick:ae,className:"mt-4",children:"Create your first entity"})]}):void 0,hoverRow:T,inlineEditing:P(),AdditionalHeaderWidget:U,AddColumnComponent:ke,getIdColumnWidth:Io,additionalIDHeaderWidget:n.jsx(d3,{path:t,collection:y})},`collection_table_${t}`),n.jsx(i3,{open:!!M,onClose:Q,cellRect:M?.cellRect,propertyKey:M?.propertyKey,collection:y,entity:M?.entity,tableKey:ne.current,customFieldValidator:We,path:In,onCellValueChange:pe,container:g.current},`popup_form_${M?.propertyKey}_${M?.entity?.id}`),w&&n.jsx(Ji,{entityOrEntitiesToDelete:w,path:t,collection:y,callbacks:y.callbacks,open:!!w,onEntityDelete:O,onMultipleEntitiesDelete:X,onClose:()=>k(void 0)})]})},de);function Ot(){const[e,t]=u.useState([]),c=u.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=u.useCallback(a=>e.map(l=>l.id).includes(a.id),[e]);return{selectedEntities:e,setSelectedEntities:t,isEntitySelected:i,toggleEntitySelection:c}}function s3({fullPath:e,collection:t,filter:c,sortBy:i,onCountChange:a}){const l=Ge(),s=fe(),[d,f]=u.useState(void 0),[A,_]=u.useState(void 0),h=i?i[0]:void 0,g=i?i[1]:void 0,y=u.useMemo(()=>s.resolveAliasesFrom(e),[e,s.resolveAliasesFrom]);return u.useEffect(()=>{l.countEntities({path:y,collection:t,filter:c,orderBy:h,order:g}).then(f).catch(_)},[e,l,y,t,c,h,g]),u.useEffect(()=>{a&&a(d??0)},[a,d]),A?null:n.jsx(q,{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(He,{className:"w-full max-w-[80px] mt-1"})})}function ga(e,t){if(e.includes(".")){const[c,...i]=e.split(".");return{properties:{[c]:ga(i.join("."),t)}}}return{properties:{[e]:{columnWidth:t}}}}function d3({collection:e,path:t}){const[c,i]=u.useState(!1),[a,l]=u.useState(""),s=An();return n.jsx(Ae,{title:c?void 0:"Find by ID",children:n.jsx(ir,{open:c,onOpenChange:i,trigger:n.jsx(Z,{size:"small",children:n.jsx(pr,{size:"small"})}),children:n.jsx("form",{noValidate:!0,onSubmit:d=>{if(d.preventDefault(),!!a)return i(!1),s.open({entityId:a,path:t,collection:e,updateUrl:!0})},className:"text-gray-900 dark:text-white w-96 max-w-full",children:n.jsxs("div",{className:"flex p-4 w-full gap-4",children:[n.jsx(tn,{placeholder:"Find entity by ID",size:"small",onChange:d=>l(d.target.value),value:a,className:"flex-grow"}),n.jsx(ce,{variant:"outlined",disabled:!a,type:"submit",children:"Go"})]})})})})}function Ia({onSingleEntitySelected:e,onMultipleEntitiesSelected:t,multiselect:c,collection:i,path:a,selectedEntityIds:l,description:s,forceFilter:d,maxSelection:f}){const A=Zo(),_=An(),h=fe(),g=x(),y=h.resolveAliasesFrom(a),I=Ge(),[b,p]=u.useState([]),w=Ot();u.useEffect(()=>{let S=!1;const D=l?.map(N=>N?.toString()).filter(Boolean);return D&&i?Promise.all(D.map(N=>I.fetchEntity({path:y,entityId:N,collection:i}))).then(N=>{if(!S){const z=N.filter(Y=>Y!==void 0);w.setSelectedEntities(z),p(z)}}):(w.setSelectedEntities([]),p([])),()=>{S=!0}},[I,y,l,i,w.setSelectedEntities]);const k=u.useCallback(()=>{g.onAnalyticsEvent?.("reference_selection_clear",{path:y}),w.setSelectedEntities([]),!c&&e?e(null):t&&t([])},[c,t,e]),m=u.useCallback(S=>{let D;const N=w.selectedEntities;if(g.onAnalyticsEvent?.("reference_selection_toggle",{path:y,entityId:S.id}),N){if(N.map(z=>z.id).indexOf(S.id)>-1)D=N.filter(z=>z.id!==S.id);else{if(f&&N.length>=f)return;D=[...N,S]}w.setSelectedEntities(D),t&&t(D)}},[t,w.selectedEntities]),C=u.useCallback(S=>{!c&&e?(g.onAnalyticsEvent?.("reference_selected_single",{path:y,entityId:S.id}),e(S),A.close(!1)):m(S)},[A,c,e,m]),v=u.useCallback(()=>{g.onAnalyticsEvent?.("reference_selection_new_entity",{path:y}),_.open({path:y,collection:i,updateUrl:!0,onUpdate:({entity:S})=>{p([S,...b]),C(S)},closeOnSave:!0})},[_,y,i,b,C]),B=u.useCallback(({entity:S,size:D,width:N,frozen:z})=>{const Y=w.selectedEntities,$=Y&&Y.map(ie=>ie.id).indexOf(S.id)>-1;return n.jsx(Bt,{width:N,frozen:z,entity:S,size:D,isSelected:$,selectionEnabled:c,hideId:i?.hideIdFromCollection,fullPath:y,selectionController:w})},[c,w.selectedEntities,m,i?.hideIdFromCollection]),K=u.useCallback(S=>{S.stopPropagation(),A.close(!1)},[A]);if(!i)return n.jsx(we,{error:"Could not find collection with id "+i});const P=u.useMemo(()=>Oe({collection:i,path:y,values:{},fields:g.fields}),[i,g.fields,y]),E=fa(P,!1),T=Tt({fullPath:y,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(Nt,{displayedColumnIds:E,onEntityClick:C,tableController:T,tableRowActionsBuilder:B,title:n.jsx(q,{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(u3,{collection:i,path:y,onNewClick:v,onClear:k})})}),n.jsxs(Sn,{translucent:!1,children:[s&&n.jsx(q,{variant:"body2",className:"flex-grow text-left",children:s}),n.jsx(ce,{onClick:K,color:"primary",variant:"filled",children:"Done"})]})]})}function u3({collection:e,path:t,onClear:c,onNewClick:i}){const a=fn(),l=ze(),s=i?f=>{f.preventDefault(),i()}:void 0,d=Gn(e,a,Ve(t),null)&&s&&(l?n.jsxs(ce,{onClick:s,startIcon:n.jsx(mn,{}),variant:"outlined",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(ce,{onClick:s,size:"medium",variant:"outlined",color:"primary",children:n.jsx(mn,{})}));return n.jsxs(n.Fragment,{children:[n.jsx(ce,{onClick:c,variant:"text",color:"primary",children:"Clear"}),d]})}function gn({title:e,children:t,invisible:c=!1,initiallyExpanded:i=!0,onExpandedChange:a,titleClassName:l,asField:s,className:d}){On("ExpandablePanel",`
1489
+ .CollapsibleContent {
1490
+ overflow: hidden;
1491
+ }
1492
+ .CollapsibleContent[data-state='open'] {
1493
+ animation: slideDown 220ms ease-out
1494
+ }
1495
+ .CollapsibleContent[data-state='closed'] {
1496
+ animation: slideUp 220ms ease-out;
1497
+ }
1498
+
1499
+ @keyframes slideDown {
1500
+ from {
1501
+ height: 0;
1502
+ }
1503
+ to {
1504
+ height: var(--radix-collapsible-content-height);
1505
+ }
1506
+ }
1507
+
1508
+ @keyframes slideUp {
1509
+ from {
1510
+ height: var(--radix-collapsible-content-height);
1511
+ }
1512
+ to {
1513
+ height: 0;
1514
+ }
1515
+ }`);const[f,A]=u.useState(i),[_,h]=u.useState(f);return u.useEffect(()=>{f?setTimeout(()=>{h(!0)},220):h(!1)},[f]),n.jsx(n.Fragment,{children:n.jsxs(Zn.Root,{className:F(!c&&ue+" border","rounded-md"),open:f,onOpenChange:g=>{a?.(g),A(g)},children:[n.jsxs(Zn.Trigger,{className:F(he,"rounded flex items-center justify-between w-full min-h-[52px]",c?"border-b px-2":"p-4",c&&ue,s&&Xe,l),children:[e,n.jsx(Mo,{className:F("transition",f?"rotate-180":"")})]}),n.jsx(Zn.Content,{className:F("CollapsibleContent"),style:{overflow:_?"visible":"hidden"},children:n.jsx("div",{className:d,children:t})})]})})}function Lt({children:e,group:t}){const c=Nn();return n.jsx(gn,{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(q,{color:"secondary",className:"font-medium ml-1",children:t?.toUpperCase()??"Views".toUpperCase()}),children:n.jsx("div",{className:"mb-8",children:e})})}function ba({view:e,path:t,collection:c,url:i,name:a,description:l,onClick:s}){const d=Nn(),f=$o(c??e),A=Ie.useNavigate(),_=x(),h=(d?.favouritePaths??[]).includes(t);let g;if(_.plugins&&c){const y={path:t,collection:c,context:_};g=n.jsx(n.Fragment,{children:_.plugins.map((I,b)=>I.homePage?.CollectionActions?n.jsx(I.homePage.CollectionActions,{...y,extraProps:I.homePage.extraProps},`actions_${b}`):null)})}return n.jsx(Pa,{className:F("h-full p-4 cursor-pointer min-h-[230px]"),onClick:()=>{s?.(),A(i),d&&d.setRecentlyVisitedPaths([t,...(d.recentlyVisitedPaths??[]).filter(y=>y!==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:[f,n.jsxs("div",{className:"flex items-center gap-1",onClick:y=>{y.preventDefault(),y.stopPropagation()},children:[g,d&&n.jsx(Z,{onClick:y=>{y.preventDefault(),y.stopPropagation(),h?d.setFavouritePaths(d.favouritePaths.filter(I=>I!==t)):d.setFavouritePaths([...d.favouritePaths,t])},children:h?n.jsx(Fr,{size:18,className:"text-secondary"}):n.jsx(Pr,{size:18,className:"text-gray-400 dark:text-gray-500"})})]})]}),n.jsx(q,{gutterBottom:!0,variant:"h5",component:"h2",children:a}),l&&n.jsx(q,{variant:"body2",color:"secondary",component:"div",children:n.jsx(so,{source:l})})]}),n.jsx("div",{style:{alignSelf:"flex-end"},children:n.jsx("div",{className:"p-4",children:n.jsx(uc,{className:"text-primary"})})})]})})}function f3({entry:e}){const t=Ie.useNavigate(),c=Nn();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(Qo,{onClick:()=>t(e.url),icon:i?n.jsx(Fr,{onClick:a,size:18,className:"text-secondary"}):n.jsx(Pr,{onClick:a,size:18,className:"text-gray-400 dark:text-gray-500"}),children:e.name},e.path)}function A3({hidden:e}){const t=fe(),c=Nn();if(!c)return null;const i=(c?.favouritePaths??[]).map(a=>t.topLevelNavigation?.navigationEntries.find(l=>l.path===a)).filter(Boolean);return n.jsx(or,{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(f3,{entry:a},a.path))})})}const Qt={};function y3(){const e=Ie.useLocation(),t=u.useRef(null),[c,i]=u.useState(0),[a,l]=u.useState("down"),s=u.useCallback(()=>{!t.current||!e.key||(Qt[e.key]=t.current.scrollTop,i(t.current.scrollTop),l(t.current.scrollTop>c?"down":"up"))},[t,e.key,c]);return u.useEffect(()=>{const d=t.current;if(d)return d.addEventListener("scroll",s,{passive:!0}),()=>{d&&d.removeEventListener("scroll",s)}},[t,s,e]),u.useEffect(()=>{!t.current||!Qt[e.key]||t.current.scrollTo({top:Qt[e.key],behavior:"auto"})},[e]),{containerRef:t,scroll:c,direction:a}}const Un=new xa.Search("url");Un.addIndex("name"),Un.addIndex("description"),Un.addIndex("group"),Un.addIndex("path");function pa({additionalChildrenStart:e,additionalChildrenEnd:t}){const c=x(),i=fe();if(!i.topLevelNavigation)throw Error("Navigation not ready in FireCMSHomePage");const{containerRef:a,scroll:l,direction:s}=y3(),{navigationEntries:d,groups:f}=i.topLevelNavigation,[A,_]=u.useState(null),h=A?d.filter(p=>A.includes(p.url)):d;u.useEffect(()=>{Un.addDocuments(d)},[d]);const g=u.useCallback(p=>{if(!p||p==="")_(null);else{const w=Un.search(p);_(w.map(k=>k.url))}},[]),y=[...f];(h.filter(p=>!p.group).length>0||h.length===0)&&y.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(Lt,{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(Ht,{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(Yt,{onTextSearch:g,placeholder:"Search collections",large:!1,className:"w-full"})}),n.jsx(A3,{hidden:!!A}),e,I,y.map((p,w)=>{const k=[],m={group:p,context:c};c.plugins&&c.plugins.forEach(v=>{v.homePage?.AdditionalCards&&k.push(...Xo(v.homePage?.AdditionalCards))});const C=h.filter(v=>v.group===p||!v.group&&p===void 0);return C.length===0&&k.length===0?null:n.jsx(Lt,{group:p,children:n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[C.map(v=>n.jsx("div",{className:"col-span-1",children:n.jsx(ba,{...v,onClick:()=>{const B=v.type==="collection"?"home_navigate_to_collection":v.type==="view"?"home_navigate_to_view":"unmapped_event";c.onAnalyticsEvent?.(B,{path:v.path})}})},`nav_${v.group}_${v.name}`)),k&&k.map((v,B)=>n.jsx("div",{children:n.jsx(v,{...m})},`nav_${p}_add_${B}`))]})},`plugin_section_${p}`)}),b,t]})})}function _3({propertyConfig: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:ft(e,"medium")})}function h3({children:e,title:t,path:c}){const i=Qr();return u.useEffect(()=>{i.set({breadcrumbs:[{title:t,url:c}]})},[c,t]),n.jsx(n.Fragment,{children:e})}function wa(){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(q,{variant:"h4",align:"center",gutterBottom:!0,children:"Page not found"}),n.jsx(q,{align:"center",gutterBottom:!0,children:"This page does not exist or you may not have access to it"}),n.jsx(ce,{variant:"text",component:Ie.Link,to:"/",children:"Back to home"})]})})}function g3({open:e,onAccept:t,onCancel:c,title:i,loading:a,body:l}){return n.jsxs(rr,{open:e,onOpenChange:s=>s?void 0:c(),children:[n.jsxs(tr,{children:[n.jsx(q,{variant:"h6",className:"mb-2",children:i}),l]}),n.jsxs(Sn,{children:[n.jsx(ce,{variant:"text",onClick:c,autoFocus:!0,children:"Cancel"}),n.jsx(Da,{color:"primary",type:"submit",loading:a,onClick:t,children:"Ok"})]})]})}function ka({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 I3={info:"bg-sky-200 dark:bg-teal-900",warn:"bg-orange-200 dark:bg-yellow-950"};function b3({children:e,mode:t="info"}){return n.jsx("div",{className:F("my-3 py-2 px-4 rounded",I3[t]),children:e})}const ma=function({title:t,endAdornment:c,startAdornment:i,drawerOpen:a,dropDownActions:l,includeDrawer:s,className:d,style:f,user:A}){const _=fe(),h=fn(),{mode:g,toggleMode:y}=Lr(),I=ze(),b=A??h.user;let p;if(b&&b.photoURL)p=n.jsx(zt,{src:b.photoURL});else if(b===void 0||h.initialLoading)p=n.jsx("div",{className:"p-1 flex justify-center",children:n.jsx(He,{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(zt,{children:w})}return n.jsx("div",{style:f,className:F("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,_&&n.jsx("div",{className:"mr-8 hidden lg:block",children:n.jsx(Ie.Link,{className:"visited:text-inherit visited:dark:text-inherit",to:_?.basePath??"/",children:n.jsx(q,{variant:"subtitle1",noWrap:!0,className:"ml-2 !font-medium",children:t})})}),n.jsx("div",{className:"flex-grow"}),c&&n.jsx(se,{children:c}),n.jsx(Z,{color:"inherit","aria-label":"Open drawer",onClick:y,size:"large",children:g==="dark"?n.jsx(hc,{}):n.jsx(Fc,{})}),n.jsxs(Yn,{trigger:p,children:[l,!l&&n.jsxs(Be,{onClick:h.signOut,children:[n.jsx(Tc,{}),"Log Out"]})]})]})})};function Yn({children:e,trigger:t,open:c,defaultOpen:i,onOpenChange:a}){return n.jsxs(Xn.Root,{open:c,defaultOpen:i,onOpenChange:a,children:[n.jsx(Xn.Trigger,{asChild:!0,children:t}),n.jsx(Xn.Portal,{children:n.jsx(Xn.Content,{className:F($e,"shadow py-2 z-30"),children:e})})]})}function Be({children:e,dense:t,onClick:c}){return n.jsx(Xn.Item,{className:F(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})}const p3=e=>e&&Array.isArray(e)&&e.length>0?e.map((t,c)=>t?{[yr(t)+c]:_o()}:{}).reduce((t,c)=>({...t,...c}),{}):{};function Vt({droppableId:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,size:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:f,onValueChange:A}){const _=c&&Array.isArray(c)&&c.length>0,h=u.useRef(p3(c)),[g,y]=u.useState(_?Object.values(h.current):[]);u.useEffect(()=>{if(_&&c&&c.length!==g.length){const k=c.map((m,C)=>{const v=yr(m)+C;if(v in h.current)return h.current[v];{const B=_o();return h.current[v]=B,B}});y(k)}},[_,g.length,c]);const I=k=>{if(k.preventDefault(),i)return;const m=_o(),C=[...g,m];s&&s(m),y(C),A([...c??[],f])},b=k=>{const m=[...g];m.splice(k,1),y(m),A(c.filter((C,v)=>v!==k))},p=k=>{const m=_o(),C=c[k],v=[...g.splice(0,k+1),m,...g.splice(k+1,g.length-k-1)];s&&s(m),y(v),A([...c.slice(0,k+1),C,...c.slice(k+1)])},w=k=>{if(!k.destination)return;const m=k.source.index,C=k.destination.index,v=[...g],B=v[m];v[m]=v[C],v[C]=B,y(v),A(w3(c,m,C))};return n.jsx(Fn.DragDropContext,{onDragEnd:w,children:n.jsx(Fn.Droppable,{droppableId:e,renderClone:(k,m,C)=>{const v=C.source.index,B=g[v];return n.jsx(Wt,{provided:k,internalId:B,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:[_&&g.map((C,v)=>n.jsx(Fn.Draggable,{draggableId:`array_field_${C}`,isDragDisabled:i,index:v,children:(B,K)=>n.jsx(Wt,{provided:B,internalId:C,index:v,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:K.isDragging})},`array_field_${C}`)),k.placeholder,d&&n.jsx("div",{className:"py-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(mn,{}),onClick:I,children:t??"Add"})})]})})})}function Wt({provided:e,index:t,internalId:c,size:i,disabled:a,buildEntry:l,remove:s,copy:d,isDragging:f}){const[A,_]=sr(),h=i!=="small"&&_.height===0,g=i!=="small"&&_.height<100,[y,I]=u.useState(!1),b=u.useCallback(()=>I(!0),[]),p=u.useCallback(()=>I(!1),[]);return n.jsx("div",{onMouseEnter:b,onMouseMove:b,onMouseLeave:p,ref:e.innerRef,...e.draggableProps,style:e.draggableProps.style,className:`${f||y?Ye:""} 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(va,{direction:i==="small"?"row":"column",disabled:a,remove:s,index:t,provided:e,measuring:h,contentOverflow:g,copy:d})]})})}function va({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(Ae,{side:e==="column"?"left":void 0,title:"Move",children:n.jsx(Z,{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(Ae,{title:"Remove",side:e==="column"?"left":void 0,children:n.jsx(Z,{size:"small","aria-label":"remove",disabled:t,onClick:()=>c(i),children:n.jsx(co,{size:"small"})})}),n.jsx(Ae,{side:e==="column"?"left":void 0,title:"Copy in this position",children:n.jsx(Z,{size:"small","aria-label":"copy",disabled:t,onClick:()=>l(i),children:n.jsx(ro,{size:"small"})})})]}),!d&&s&&n.jsx(n.Fragment,{children:n.jsxs(Yn,{trigger:n.jsx(Z,{size:"small",children:n.jsx(Br,{size:"small"})}),children:[n.jsxs(Be,{dense:!0,onClick:()=>c(i),children:[n.jsx(co,{size:"small"}),"Remove"]}),n.jsxs(Be,{dense:!0,onClick:()=>l(i),children:[n.jsx(ro,{size:"small"}),"Copy"]})]})})]})}function w3(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 k3="100vw",m3="55vw",Ka="768px",xo="main_##Q$SC^#S6";function v3({path:e,entityId:t,selectedSubPath:c,copy:i,collection:a,onValuesAreModified:l,formWidth:s,onUpdate:d,onClose:f}){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,_]=u.useState(!1),[h,g]=u.useState(void 0);Ho(h,()=>{h&&V({entityId:M?.id,collection:a,path:e,values:h,closeAfterSave:!1})},!1,2e3);const y=Ge(),I=Zo(),b=An(),p=yn(),w=x(),k=fn(),[m,C]=u.useState(void 0),[v,B]=u.useState(i?"copy":t?"existing":"new"),K=u.useRef(void 0),P=K.current,E=(a.subcollections??[]).filter(U=>!U.hideFromNavigation),T=E?.length??0,S=a.entityViews,D=S?.length??0,N=a.formAutoSave&&!a.customId,z=D>0||T>0,Y=c??dt(a?a.defaultSelectedView:void 0,{status:v,entityId:t}),$=u.useRef(Y??xo),ie=$.current===xo,{entity:W,dataLoading:H,dataLoadingError:ne}=Mr({path:e,entityId:t,collection:a,useCache:!1}),[M,Q]=u.useState(W),[oe,ae]=u.useState(void 0);u.useEffect(()=>{W&&Q(W)},[W]),u.useEffect(()=>{if(v==="new")ae(!1);else{const U=M?yt(a,k,Ve(e),M??null):!1;M&&ae(!U)}},[k,M,v]);const G=u.useCallback(U=>{_(!1),p.open({type:"error",message:"Error before saving: "+U?.message}),console.error(U)},[p]),O=u.useCallback(U=>{_(!1),p.open({type:"error",message:"Error after saving (entity is saved): "+U?.message}),console.error(U)},[p]),X=(U,ke)=>{_(!1),N||p.open({type:"success",message:`${a.singularName??a.name}: Saved correctly`}),Q(U),B("existing"),l(!1),d&&d({entity:U}),ke?(I.setBlocked(!1),I.close(!0),f?.()):v!=="existing"&&b.replace({path:e,entityId:U.id,selectedSubPath:$.current,updateUrl:!0,collection:a})},te=u.useCallback(U=>{_(!1),p.open({type:"error",message:"Error saving: "+U?.message}),console.error("Error saving entity",e,t),console.error(U)},[t,e,p]),V=({values:U,previousValues:ke,closeAfterSave:L,entityId:ee,collection:re,path:R})=>{_(!0),Or({path:R,entityId:ee,values:U,previousValues:ke,collection:re,status:v,dataSource:y,context:w,onSaveSuccess:ye=>X(ye,L),onSaveFailure:te,onPreSaveHookError:G,onSaveSuccessHookError:O}).then()},j=async({collection:U,path:ke,entityId:L,values:ee,previousValues:re,closeAfterSave:R,autoSave:ye})=>{v&&(ye?g(ee):V({collection:U,path:ke,entityId:L,values:ee,previousValues:re,closeAfterSave:R}))},Ee=S?S.map(U=>kt(U,w.entityViews)).filter(Boolean):[],Fe=S&&Ee.map((U,ke)=>{if(!U||$.current!==U.key)return null;const L=U.Builder;return L?n.jsx("div",{className:F(ue,"relative flex-grow w-full h-full overflow-auto "),role:"tabpanel",children:n.jsx(se,{children:m&&n.jsx(L,{collection:a,entity:M,modifiedValues:P??M?.values,formContext:m})})},`custom_view_${U.key}`):(console.error("customView.Builder is not defined"),null)}).filter(Boolean),We=H&&!M||(!M||oe===void 0)&&(v==="existing"||v==="copy"),pe=We||A,In=E&&E.map((U,ke)=>{const L=U.alias??U.path,ee=M?`${e}/${M?.id}/${be(L)}`:void 0;return $.current!==L?null:n.jsxs("div",{className:"relative flex-grow h-full overflow-auto w-full",role:"tabpanel",children:[pe&&n.jsx(yo,{}),!We&&(M&&ee?n.jsx(Mt,{fullPath:ee,parentPathSegments:Ve(e),isSubCollection:!0,...U}):n.jsx("div",{className:"flex items-center justify-center w-full h-full p-3",children:n.jsx(q,{variant:"label",children:"You need to save your entity before adding additional collections"})}))]},`subcol_${L}`)}).filter(Boolean),cn=u.useCallback(()=>{l(!1)},[]),jn=U=>{$.current=U,b.replace({path:e,entityId:t,selectedSubPath:U===xo?void 0:U,updateUrl:!0,collection:a})},en=u.useCallback(U=>{K.current=U},[]),ho=u.useCallback(U=>{p.open({type:"error",message:"Error updating id, check the console"})},[]),go=u.useCallback(U=>{Q(ke=>ke?{...ke,id:U}:void 0)},[]),an=U=>{N||l(U)};function Bn(){const U=w.plugins;let ke=n.jsx(xi,{status:v,path:e,collection:a,onEntitySaveRequested:j,onDiscard:cn,onValuesChanged:en,onModified:an,entity:M,onIdChange:go,onFormContextChange:C,hideId:a.hideIdFromForm,autoSave:N,onIdUpdateError:ho});return U&&U.forEach(L=>{L.form?.provider&&(ke=n.jsx(L.form.provider.Component,{status:v,path:e,collection:a,onDiscard:cn,onValuesChanged:en,onModified:an,entity:M,context:w,formContext:m,...L.form.provider.props,children:ke}))}),n.jsx(se,{children:ke})}const Io=oe===void 0?n.jsx(n.Fragment,{}):oe?n.jsxs(n.Fragment,{children:[n.jsx(q,{className:"mt-16 mb-8 mx-8",variant:"h4",children:a.singularName??a.name}),n.jsx(ht,{className:"px-12",entity:M,path:e,collection:a})]}):Bn(),bo=E&&E.map(U=>n.jsx(cr,{className:"text-sm min-w-[140px]",value:U.path,children:U.name},`entity_detail_collection_tab_${U.name}`)),bn=Ee.map(U=>n.jsx(cr,{className:"text-sm min-w-[140px]",value:U.key,children:U.name},`entity_detail_collection_tab_${U.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:F(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(Z,{onClick:()=>(f?.(),I.close(!1)),size:"large",children:n.jsx(vr,{})})}),n.jsx("div",{className:"flex-grow"}),We&&n.jsx("div",{className:"self-center",children:n.jsx($n,{size:"small"})}),n.jsxs(Na,{value:$.current,onValueChange:U=>{jn(U)},className:"pl-4 pr-4 pt-0",children:[n.jsx(cr,{disabled:!z,value:xo,className:`${z?"":"hidden"} text-sm min-w-[140px]`,children:a.singularName??a.name}),bn,bo]})]}),n.jsxs("div",{className:"flex-grow h-full flex overflow-auto flex-row w-full ",style:{},children:[n.jsx("div",{role:"tabpanel",hidden:!ie,id:`form_${e}`,className:" w-full",children:We?n.jsx(yo,{}):Io}),Fe,In]})]})})}function K3(e){const{blocked:t,setBlocked:c,setBlockedNavigationMessage:i}=Zo(),a=fe(),l=u.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]);u.useEffect(()=>{function d(f){t&&l&&(f.preventDefault(),f.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=u.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(se,{children:n.jsx(v3,{...e,formWidth:e.width,collection:l,onValuesAreModified:s})})})}const Ca="new";function C3(e,t){if(t)return k3;const c=!e.selectedSubPath,i=typeof e.width=="number"?`${e.width}px`:e.width;return c?i??Ka:`calc(${m3} + ${i??Ka})`}const S3=(e,t)=>{const c=Ie.useLocation(),i=u.useRef(!1),a=!ze();u.useEffect(()=>{if(!e.loading&&!i.current){if(e.isUrlCollectionPath(c.pathname)){const f=c.hash===`#${Ca}`,A=e.urlPathToDataPath(c.pathname),_=B3(A,e.collections,f);for(let h=0;h<_.length;h++){const g=_[h];setTimeout(()=>{h===0?t.replace(Ro(g,e,a)):t.open(Ro(g,e,a))},1)}}i.current=!0}},[c,e,t,a]);const l=u.useCallback(()=>{t.close()},[t]),s=u.useCallback(f=>{if(f.copy&&!f.entityId)throw Error("If you want to copy an entity you need to provide an entityId");const A=dt(f.collection?f.collection.defaultSelectedView:void 0,{status:f.copy?"copy":f.entityId?"existing":"new",entityId:f.entityId});t.open(Ro({selectedSubPath:A,...f},e,a))},[t,e,a]),d=u.useCallback(f=>{if(f.copy&&!f.entityId)throw Error("If you want to copy an entity you need to provide an entityId");t.replace(Ro(f,e,a))},[e,t,a]);return{close:l,open:s,replace:d}};function B3(e,t,c){const i=mt({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 f=i[s-1];if(d.type==="entity")a.push({path:d.path,entityId:d.entityId,copy:!1});else if(d.type==="custom_view"){if(f.type==="entity"){const A=a[a.length-1];A&&(A.selectedSubPath=d.view.key)}}else if(d.type==="collection"&&f.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 Ro=(e,t,c)=>{const i=be(e.path),a=e.entityId?t.buildUrlCollectionPath(`${i}/${e.entityId}/${e.selectedSubPath||""}`):t.buildUrlCollectionPath(`${i}#${Ca}`);return{key:`${e.path}/${e.entityId}`,component:n.jsx(K3,{...e}),urlPath:a,parentUrlPath:t.buildUrlCollectionPath(i),width:C3(e,c),onClose:e.onClose}};function Sa(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=be(t).split("/"),l=vo(a),s=[];for(let d=0;d<l.length;d++){const f=l[d],A=c&&c.find(_=>_.alias===f||_.path===f);if(A){const _=A.alias??A.path,h=i&&i.length>0?i+"/"+_:_,g=be(be(t).replace(f,"")),y=g.length>0?g.split("/"):[];if(y.length>0){const I=y[0],b=h+"/"+I;if(s.push(new Ue(I,h)),y.length>1){const p=y.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);A.subcollections&&s.push(...Sa({path:p,collections:A.subcollections,currentFullPath:b}))}}break}}return s}function E3({basePath:e,baseCollectionPath:t,authController:c,collections:i,views:a,userConfigPersistence:l,plugins:s,dataSource:d}){const f=Ie.useLocation(),[A,_]=u.useState(),[h,g]=u.useState(),[y,I]=u.useState(!1),[b,p]=u.useState(void 0),[w,k]=u.useState(!0),[m,C]=u.useState(void 0),v=be(e),B=be(t),K=v?`/${v}`:"/",P=v?`/${v}/${B}`:`/${B}`,E=u.useCallback(Q=>v?`/${v}/${er(Q)}`:`/${er(Q)}`,[v]),T=u.useCallback(Q=>`${be(t)}/${er(Q)}`,[t]),S=u.useCallback((Q,oe)=>{const ae=[...(Q??[]).map(O=>O.hideFromNavigation?void 0:{url:T(O.alias??O.path),type:"collection",name:O.name.trim(),path:O.alias??O.path,collection:O,description:O.description?.trim(),group:O.group?.trim()}).filter(Boolean),...(oe??[]).map(O=>O.hideFromNavigation?void 0:{url:E(Array.isArray(O.path)?O.path[0]:O.path),name:O.name.trim(),type:"view",view:O,description:O.description?.trim(),group:O.group?.trim()}).filter(Boolean)],G=Object.values(ae).map(O=>O.group).filter(Boolean).filter((O,X,te)=>te.indexOf(O)===X);return{navigationEntries:ae,groups:G}},[E,T]),D=u.useCallback(async()=>{if(!c.initialLoading){try{const[Q=[],oe=[]]=await Promise.all([F3(i,c,d,s),P3(a,c,d)]);_(Q),g(oe),p(S(Q??[],oe))}catch(Q){console.error(Q),C(Q)}k(!1),I(!0)}},[i,c.user,c.initialLoading,d,s,a,S]);u.useEffect(()=>{D()},[D]);const N=u.useCallback((Q,oe,ae=!1)=>{if(!A)return;const G=mo(be(Q),A),O=ae?l?.getCollectionConfig(Q):void 0,X=G?Ze(G,O):void 0;let te=X;if(X){const V=X.subcollections,j=X.callbacks,Ee=X.permissions;te={...te,subcollections:te?.subcollections??V,callbacks:te?.callbacks??j,permissions:te?.permissions??Ee}}if(te)return{...X,...te}},[e,t,A]),z=u.useCallback(Q=>{let oe=A;if(!oe)throw Error("Collections have not been initialised yet");for(let ae=0;ae<Q.length;ae++){const G=Q[ae],O=oe.find(X=>X.alias===G||X.path===G);if(!O)return;if(oe=O.subcollections,ae===Q.length-1)return O}},[A]),Y=u.useCallback(Q=>be(Q+"/").startsWith(be(P)+"/"),[P]),$=u.useCallback(Q=>{if(Q.startsWith(P))return Q.replace(P,"");throw Error("Expected path starting with "+P)},[P]),ie=u.useCallback(({path:Q})=>`s/edit/${er(Q)}`,[]),W=u.useCallback(Q=>{if(!A)throw Error("Collections have not been initialised yet");return fr(Q,A)},[A]),H=f.state,ne=H&&H.base_location?H.base_location:f,M=u.useCallback(Q=>Sa({path:Q,collections:A}),[A]);return u.useMemo(()=>({collections:A??[],views:h??[],loading:!y||w,navigationLoadingError:m,homeUrl:K,basePath:e,baseCollectionPath:t,initialised:y,getCollection:N,getCollectionFromPaths:z,isUrlCollectionPath:Y,urlPathToDataPath:$,buildUrlCollectionPath:T,buildUrlEditCollectionPath:ie,buildCMSUrlPath:E,resolveAliasesFrom:W,topLevelNavigation:b,baseLocation:ne,refreshNavigation:D,getParentReferencesFromPath:M}),[t,ne,e,E,T,ie,A,M,N,z,K,y,Y,w,m,D,W,b,$,h])}function er(e){return encodeURIComponent(be(e)).replaceAll("%2F","/").replaceAll("%23","#")}function Ba(e,t){return e.filter(c=>c.permissions?fo(c,t,[c.path],null).read!==!1:!0).map(c=>c.subcollections?{...c,subcollections:Ba(c.subcollections,t)}:c)}async function F3(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 D3(){const e=Ie.useLocation(),t=Ie.useNavigate(),[c,i]=u.useState([]),a=u.useRef(c),l=u.useRef({}),s=u.useRef(0),d=h=>{a.current=h,i(h)};u.useEffect(()=>{const y=(e.state?.panels??[]).map(I=>l.current[I]).filter(I=>!!I);de(a.current.map(I=>I.key),y.map(I=>I.key))||d(y)},[e]);const f=u.useCallback(()=>{if(c.length===0)return;const h=c[c.length-1],g=[...c.slice(0,-1)];if(d(g),s.current>0)h.urlPath&&t(-1),s.current--;else if(h.parentUrlPath){const y=e.state?.base_location??e;t(h.parentUrlPath,{replace:!0,state:{base_location:y,panels:g.map(I=>I.key)}})}},[c,t,e]),A=u.useCallback(h=>{const g=Array.isArray(h)?h:[h];g.forEach(b=>{l.current[b.key]=b}),s.current=s.current+g.length;const y=e.state?.base_location??e,I=[...c,...g];d(I),g.forEach(b=>{b.urlPath&&t(b.urlPath,{state:{base_location:y,panels:I.map(p=>p.key)}})})},[e,t,c]),_=u.useCallback(h=>{const g=Array.isArray(h)?h:[h];g.forEach(b=>{l.current[b.key]=b});const y=e.state?.base_location??e,I=[...c.slice(0,-g.length),...g];d(I),g.forEach(b=>{b.urlPath&&t(b.urlPath,{replace:!0,state:{base_location:y,panels:I.map(p=>p.key)}})})},[e,t,c]);return{sidePanels:c,close:f,open:A,replace:_}}function N3(e){u.useEffect(()=>{if(!e)return;const t=Rt[e];t&&(ar.registerLocale(e,t),ar.setDefaultLocale(e))},[e])}const T3="/",M3="/c";function O3(e){const t=Lr(),{children:c,collections:i,views:a,entityLinkBuilder:l,userConfigPersistence:s,dateTimeFormat:d,locale:f,authController:A,storageSource:_,dataSource:h,basePath:g=T3,baseCollectionPath:y=M3,plugins:I,onAnalyticsEvent:b,fields:p,entityViews:w,components:k}=e;N3(f);const m=E3({basePath:g,baseCollectionPath:y,authController:A,collections:i,views:a,userConfigPersistence:s,dataSource:h,plugins:I}),C=D3(),v=S3(m,C),B=A.initialLoading||m.loading||(I?.some(P=>P.loading)??!1),K=u.useMemo(()=>({entityLinkBuilder:l,dateTimeFormat:d,locale:f,plugins:I,onAnalyticsEvent:b,entityViews:w??[],fields:p??{},components:k}),[d,f,I,w,p,k]);return m.navigationLoadingError?n.jsx(Ut,{maxWidth:"md",fullScreen:!0,children:n.jsx(we,{title:"Error loading navigation",error:m.navigationLoadingError})}):A.authError?n.jsx(Ut,{maxWidth:"md",fullScreen:!0,children:n.jsx(we,{title:"Error loading auth",error:A.authError})}):n.jsx(ur.Provider,{value:t,children:n.jsx(Nr.Provider,{value:K,children:n.jsx(jc.Provider,{value:s,children:n.jsx($c.Provider,{value:_,children:n.jsx(zc.Provider,{value:h,children:n.jsx(Dr.Provider,{value:A,children:n.jsx(Uc.Provider,{value:C,children:n.jsx(Yc.Provider,{value:v,children:n.jsx(Hc.Provider,{value:m,children:n.jsx(nl,{children:n.jsx(DG,{children:n.jsx(L3,{loading:B,children:c})})})})})})})})})})})})}function L3({loading:e,children:t}){const c=x();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 Ea({hovered:e,drawerOpen:t,closeDrawer:c}){const i=x(),a=fe(),l=e&&!t,s=ze();if(!a.topLevelNavigation)throw Error("Navigation not ready in Drawer");const{navigationEntries:d,groups:f}=a.topLevelNavigation,A=Object.values(d).filter(g=>!g.group),_=u.useCallback(g=>t?n.jsx("div",{className:"pt-8 pl-6 pr-8 pb-2 flex flex-row items-center",children:n.jsx(q,{variant:"caption",color:"secondary",className:"font-medium flex-grow",children:g?g.toUpperCase():"Views".toUpperCase()})}):n.jsx("div",{className:"h-4"}),[t]),h=g=>{const y=g.type==="collection"?"drawer_navigate_to_collection":g.type==="view"?"drawer_navigate_to_view":"unmapped_event";i.onAnalyticsEvent?.(y,{url:g.url}),s||c()};return n.jsxs("div",{className:"flex-grow overflow-scroll no-scrollbar",children:[f.map(g=>n.jsxs(u.Fragment,{children:[_(g),Object.values(d).filter(y=>y.group===g).map((y,I)=>n.jsx(Gt,{icon:$o(y.collection??y.view),tooltipsOpen:l,drawerOpen:t,onClick:()=>h(y),url:y.url,name:y.name},`navigation_${I}`))]},`drawer_group_${g}`)),A.length>0&&_(),A.map((g,y)=>n.jsx(Gt,{icon:$o(g.collection??g.view),tooltipsOpen:l,onClick:()=>h(g),drawerOpen:t,url:g.url,name:g.name},`navigation_${y}`))]})}function Gt({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(Ie.NavLink,{onClick:l,className:({isActive:f})=>F("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",f?"bg-gray-100 dark:bg-gray-800":""),to:a,children:[s,n.jsx("div",{className:F(c?"opacity-100":"opacity-0 hidden","ml-4 font-inherit text-inherit"),children:e.toUpperCase()})]});return c?d:n.jsx(Ae,{open:i,side:"right",title:e,children:d})}const Q3=280,V3=u.memo(function(t){const{children:c,name:i,logo:a,includeDrawer:l=!0,autoOpenDrawer:s,Drawer:d=Ea,drawerProps:f,FireCMSAppBarComponent:A=ma,fireCMSAppBarComponentProps:_}=t,h=ze(),g=fe(),[y,I]=u.useState(!1),[b,p]=u.useState(!1),w=u.useCallback(()=>p(!0),[]),k=u.useCallback(()=>p(!1),[]),m=u.useCallback(()=>{I(!1)},[]),C=y||!!(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:C,..._}),n.jsx(G3,{displayed:l,onMouseEnter:w,onMouseMove:w,onMouseLeave:k,open:C,logo:a,hovered:b,setDrawerOpen:I,children:l&&(g.loading?n.jsx(yo,{}):n.jsx(d,{hovered:b,drawerOpen:C,closeDrawer:m,...f}))}),n.jsxs("main",{className:"flex flex-col flex-grow overflow-auto",children:[n.jsx(W3,{}),n.jsx("div",{className:F(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(se,{children:c})})]})]})},de),W3=()=>n.jsx("div",{className:"flex flex-col min-h-[68px]"});function G3(e){const t=fe(),c=e.displayed?e.open?Q3: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(Ae,{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(Z,{color:"inherit","aria-label":"Open menu",className:"sticky top-2 left-3 ",onClick:()=>e.setDrawerOpen(!0),size:"large",children:n.jsx(Sr,{})})}),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:F("cursor-pointer"),children:n.jsx(Ae,{title:"Home",sideOffset:20,side:"right",children:n.jsx(Ie.Link,{to:t.basePath,children:e.logo?n.jsx("img",{src:e.logo,alt:"Logo",className:F("max-w-full max-h-full",e.open??"w-[160px] h-[160px]")}):n.jsx(ka,{})})})}),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(Z,{"aria-label":"Close drawer",onClick:()=>e.setDrawerOpen(!1),children:n.jsx(_c,{})})})]}):e.displayed?n.jsxs(n.Fragment,{children:[n.jsx(Z,{color:"inherit","aria-label":"Open drawer",onClick:()=>e.setDrawerOpen(!0),size:"large",className:"absolute top-2 left-6",children:n.jsx(Sr,{})}),n.jsx($t,{side:"left",transparent:!0,open:e.open,onOpenChange:e.setDrawerOpen,children:i})]}):null}const z3=u.memo(function({HomePage:t=pa,customRoutes:c}){const i=Ie.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(g=>{Array.isArray(g.path)?d.push(...g.path.map(y=>Fa(y,g))):d.push(Fa(g.path,g))});const A=[...a.collections??[]].sort((g,y)=>y.path.length-g.path.length).map(g=>{const y=a.buildUrlCollectionPath(g.alias??g.path);return n.jsx(Ie.Route,{path:y+"/*",element:n.jsx(nr,{path:y,title:g.name,type:"collection",children:n.jsx(Mt,{isSubCollection:!1,parentPathSegments:[],fullPath:g.alias??g.path,...g,Actions:Xo(g.Actions)},`collection_view_${g.alias??g.path}`)})},`navigation_${g.alias??g.path}`)}),_=n.jsx(Ie.Route,{path:"/",element:n.jsx(nr,{path:a.homeUrl,title:"Home",type:"home",children:n.jsx(t,{})},"navigation_home")}),h=n.jsx(Ie.Route,{path:"*",element:n.jsx(wa,{})});return n.jsxs(Ie.Routes,{location:s,children:[A,d,_,h,c]})}),Fa=(e,t)=>n.jsx(Ie.Route,{path:e,element:n.jsx(nr,{path:e,title:t.name,type:"view",children:t.view},`navigation_${e}`)},"navigation_view_"+e),nr=u.memo(function({children:t,title:c,path:i,type:a}){const l=Qr();return u.useEffect(()=>{l.set({breadcrumbs:[{title:c,url:i}]})},[i,c]),n.jsx(n.Fragment,{children:t})},de);function H3(e){return e}function U3(e){return e}function Y3(e){return e}function $3(e){return e}function j3(e){return e}function q3(e){return e}function J3(e){return e}function Z3(e){return e}function X3(e){return e}function x3(){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]=u.useState(c?"dark":"light");u.useEffect(()=>{a(c?"dark":"light"),d(c?"dark":"light")},[c]);const l=u.useCallback(()=>{a("dark"),d("dark")},[e]),s=u.useCallback(()=>{a("light"),d("light")},[]),d=A=>{document.body.style.setProperty("color-scheme",A),document.documentElement.dataset.theme=A},f=u.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:f}}function R3(){const[e,t]=u.useState({}),c=u.useCallback(I=>{const b=localStorage.getItem(I);return b?JSON.parse(b):{}},[]),i=u.useCallback(I=>{const b=`collection_config::${ut(I)}`;return e[b]?e[b]:c(b)},[e,c]),a=u.useCallback((I,b)=>{const p=`collection_config::${ut(I)}`;localStorage.setItem(p,JSON.stringify(b)),t(w=>{const k=w[p],m=Ze(k??c(I),b);return Ze(w,m)})},[c]),[l,s]=u.useState([]),[d,f]=u.useState([]),[A,_]=u.useState([]);u.useEffect(()=>{s(localStorage.getItem("recently_visited_paths")?JSON.parse(localStorage.getItem("recently_visited_paths")):[]),f(localStorage.getItem("favourite_paths")?JSON.parse(localStorage.getItem("favourite_paths")):[]),_(localStorage.getItem("collapsed_groups")?JSON.parse(localStorage.getItem("collapsed_groups")):[])},[]);const h=u.useCallback(I=>{localStorage.setItem("recently_visited_paths",JSON.stringify(I)),s(I)},[]),g=u.useCallback(I=>{localStorage.setItem("favourite_paths",JSON.stringify(I)),f(I)},[]),y=u.useCallback(I=>{localStorage.setItem("collapsed_groups",JSON.stringify(I)),_(I)},[]);return{onCollectionModified:a,getCollectionConfig:i,recentlyVisitedPaths:l,setRecentlyVisitedPaths:h,favouritePaths:d,setFavouritePaths:g,collapsedGroups:A,setCollapsedGroups:y}}const eU=({children:e})=>n.jsx(Zt.SnackbarProvider,{maxSnack:3,autoHideDuration:3500,children:e});function or({children:e,className:t,in:c=!1,duration:i=220}){return On(`Collapse-${i}`,`
1516
+ .CollapseContent-${i} {
1517
+ overflow: hidden;
1518
+ }
1519
+ .CollapseContent-${i}[data-state='open'] {
1520
+ animation: slideDown ${i}ms ease-out;
1521
+ }
1522
+ .CollapseContent-${i}[data-state='closed'] {
1523
+ animation: slideUp ${i}ms ease-in;
1524
+ }
1525
+
1526
+ @keyframes slideDown {
1527
+ from {
1528
+ height: 0;
1529
+ }
1530
+ to {
1531
+ height: var(--radix-collapsible-content-height);
1532
+ }
1533
+ }
1534
+
1535
+ @keyframes slideUp {
1536
+ from {
1537
+ height: var(--radix-collapsible-content-height);
1538
+ }
1539
+ to {
1540
+ height: 0;
1541
+ }
1542
+ }
1543
+ `),n.jsx(Zn.Root,{open:c,className:t,children:n.jsx(Zn.Content,{className:F(`CollapseContent-${i}`),children:e})})}const nU=({ref:e})=>{const[t,c]=u.useState(!1),[i,a]=u.useState(!1);return u.useEffect(()=>{e.current&&(e.current.onfocus=()=>{c(!0),a(!0)},e.current.onblur=()=>{a(!1)})},[e]),{inputFocused:i,autoCompleteOpen:t,setAutoCompleteOpen:c}};function oU({children:e,open:t,setOpen:c}){const i=u.useRef(null);return Wo(i,()=>c(!1)),n.jsx(or,{in:t,duration:50,className:F("absolute top-full left-0 right-0 overflow-visible",t?"shadow":"","my-2","z-20","w-full"),children:n.jsx("div",{ref:i,className:F(t?$e:"","bg-gray-50 dark:bg-gray-900 py-2"),children:e})})}function rU({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 tU=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"}},cU=({children:e,onDismiss:t,color:c="info",action:i,className:a,style:l})=>{const s=tU(c);return n.jsxs("div",{style:l,className:F("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]})},iU=({src:e,alt:t,children:c,className:i,...a},l)=>n.jsx("button",{ref:l,...a,className:F("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})}),zt=u.forwardRef(iU);function Pa({children:e,style:t,onClick:c,className:i}){const a=u.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:F(ti,c&&he,c&&ci,i),style:t,children:e})}const aU={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"},lU=({children:e,className:t,style:c,maxWidth:i="7xl"},a)=>{const l=i?aU[i]:"";return n.jsx("div",{ref:a,className:F("mx-auto px-3 md:px-4 lg-px-6",l,t),style:c,children:e})},Ht=u.forwardRef(lU);function Ut({children:e,maxWidth:t,fullScreen:c=!1,className:i}){return n.jsx("div",{className:"flex flex-col flex-grow h-full",children:n.jsx(Ht,{className:F("m-auto",i),maxWidth:t,children:e})})}function $n({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:F(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 sU={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"},rr=({open:e,onOpenChange:t,children:c,className:i,fullWidth:a=!0,fullHeight:l,fullScreen:s,scrollable:d=!0,maxWidth:f="lg"})=>{const[A,_]=u.useState(!1);return u.useEffect(()=>{if(e)return _(!0),()=>{};{const h=setTimeout(()=>{_(!1)},250);return()=>clearTimeout(h)}},[e]),n.jsx(qe.Root,{open:A||e,onOpenChange:t,children:n.jsx(qe.Portal,{children:n.jsxs("div",{className:"fixed inset-0 z-40",children:[n.jsx(qe.Overlay,{className:F("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(qe.Content,{className:F("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:F($e,"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",f&&!s?sU[f]:void 0,i),children:c})})]})})})};function Sn({children:e,position:t="sticky",translucent:c=!0,className:i}){return n.jsx("div",{className:F(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 tr({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:F("py-6 px-6 h-full flex-grow",t),children:e})}function dU({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:f,preventDropOnDocument:A=!0,size:_}){const{getRootProps:h,getInputProps:g,isDragActive:y,isDragAccept:I,isDragReject:b}=lr.useDropzone({accept:e,noDragEventsBubbling:!0,maxSize:i,onDrop:t,onDropRejected:c,disabled:a,maxFiles:l,preventDropOnDocument:A});return n.jsxs("div",{...h(),className:F(Xe,Ye,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":_==="medium","h-28":_==="small","cursor-pointer":!a,"hover:bg-field-hover dark:hover:bg-field-hover-dark":!y,"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(q,{variant:"caption",color:"secondary",className:"absolute top-2 left-3.5 cursor-inherit",children:s}),n.jsx("input",{...g()}),f,n.jsx("div",{className:"flex-grow h-28 box-border flex flex-col items-center justify-center text-center",children:n.jsx(q,{align:"center",variant:"label",children:d})})]})}function Da({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($n,{size:"small"}),!t&&a,e]})}function uU({children:e,style:t,className:c}){return n.jsx("div",{className:F($e,c),style:t,children:e})}function xe({inputRef:e,open:t,name:c,id:i,onOpenChange:a,value:l,onChange:s,onValueChange:d,onMultiValueChange:f,className:A,inputClassName:_,placeholder:h,renderValue:g,renderValues:y,label:I,size:b="medium",includeFocusOutline:p=!0,error:w,disabled:k,padding:m=!0,position:C="item-aligned",endAdornment:v,multiple:B,invisible:K,children:P,...E}){const[T,S]=u.useState(!1);u.useEffect(()=>{S(t??!1)},[t]);const D=u.useCallback(N=>{B?Array.isArray(l)&&l.includes(N)?f?.(l.filter(z=>z!==N)):f?.([...l??[],N]):d?.(N),!B&&s&&s({target:{name:c,value:N}})},[B,s,l,f,d]);return n.jsxs(Je.Root,{name:c,value:Array.isArray(l)?void 0:l,defaultOpen:t,open:T,disabled:k,onValueChange:D,onOpenChange:N=>{a?.(N),S(N)},...E,children:[typeof I=="string"?n.jsx(hi,{error:w,children:I}):I,n.jsxs("div",{className:F(b==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",K?Yr:Xe,k?on:Ye,"relative flex items-center",A),children:[n.jsxs(Je.Trigger,{ref:e,id:i,className:F("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?he:"",_),children:[n.jsx(Je.Value,{asChild:!0,children:n.jsxs("div",{className:F("flex-grow w-full max-w-full flex flex-row gap-2 items-center","overflow-visible",b==="small"?"h-[42px]":"h-[64px]"),children:[g&&(l&&Array.isArray(l)?l.map((N,z)=>n.jsx("div",{className:"flex items-center gap-1 max-w-full",children:g?g(N,z):N},N)):typeof l=="string"?g?g(l,0):l:h),y&&(!l||Array.isArray(l))?y(l??[]):null,!g&&!y&&l]})}),n.jsx(Je.Icon,{className:F("px-2 h-full flex items-center"),children:n.jsx(Mo,{size:"small",className:F("transition",t?"rotate-180":"")})})]}),v&&n.jsx("div",{className:F("absolute h-full flex items-center",b==="small"?"right-10":"right-14"),onClick:N=>N.stopPropagation(),children:v})]}),n.jsx(Je.Portal,{children:n.jsx(Je.Content,{position:C,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:F("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(Je.ItemText,{children:t}),n.jsx("div",{className:"absolute left-1 data-[state=checked]:block hidden",children:n.jsx(yc,{size:16})})]},e)}function fU({label:e,children:t,className:c}){return n.jsxs(n.Fragment,{children:[n.jsx(Je.Group,{className:F("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 Yt({onTextSearch:e,placeholder:t="Search",expandable:c=!1,large:i=!1,className:a,autoFocus:l}){const[s,d]=u.useState(""),[f,A]=u.useState(!1),_=u.useDeferredValue(s);u.useEffect(()=>{e(_||void 0)},[_]);const h=u.useCallback(()=>{d(""),e(void 0)},[]);return n.jsxs("div",{className:F("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(pr,{className:"text-gray-500"})}),n.jsx("input",{placeholder:t,value:s,onChange:g=>{d(g.target.value)},autoFocus:l,onFocus:()=>A(!0),onBlur:()=>A(!1),className:F("relative flex items-center rounded transition-all bg-transparent outline-none appearance-none border-none","pl-12 h-full text-current ",c?f?"w-[220px]":"w-[180px]":"",he,a)}),s?n.jsx(Z,{className:`${i?"mr-2 top-1":"mr-1 top-0"} absolute right-0 z-10`,onClick:h,children:n.jsx(un,{size:"small"})}):n.jsx("div",{style:{width:26}})]})}const $t=({children:e,side:t="right",open:c,onOpenChange:i,transparent:a,...l})=>{const[s,d]=u.useState(!1);u.useEffect(()=>{if(c)return d(!0),()=>{};{const A=setTimeout(()=>{d(!1)},250);return()=>clearTimeout(A)}},[c]);const f={top:"-translate-y-full",bottom:"translate-y-full",left:"-translate-x-full",right:"translate-x-full"};return n.jsx(qe.Root,{open:s||c,onOpenChange:i,children:n.jsxs(qe.Portal,{children:[n.jsx(qe.Overlay,{className:F("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(qe.Content,{...l,className:F("will-change-transform","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?f[t]:""),children:e})]})})};function AU(){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 tn({value:e,onChange:t,label:c,type:i="text",multiline:a=!1,invisible:l,rows:s,disabled:d,error:f,endAdornment:A,autoFocus:_,placeholder:h,size:g="medium",className:y,style:I,inputClassName:b,inputStyle:p,inputRef:w,...k}){const m=w??u.useRef(null),[C,v]=u.useState(document.activeElement===m.current),B=e!=null&&e!=="",K=u.useCallback(E=>{E.target.blur(),E.stopPropagation(),setTimeout(()=>{E.target.focus()},0)},[]),P=a?n.jsx(Kt,{...k,ref:m,placeholder:C||B||!c?h:void 0,autoFocus:_,rows:s,value:e??"",onChange:t,style:p,className:F(l?Hr: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:m,onWheel:i==="number"?K:void 0,disabled:d,style:p,className:F("w-full outline-none bg-transparent leading-normal px-3","rounded-md",l?Hr:he,d?on:Ye,g==="small"?"min-h-[48px]":"min-h-[64px]",c?g==="medium"?"pt-[28px] pb-2":"pt-4 pb-2":"py-2",C?"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:C||B||!c?h:void 0,autoFocus:_,onFocus:()=>v(!0),onBlur:()=>v(!1),type:i,value:Number.isNaN(e)?"":e??"",onChange:t});return n.jsxs("div",{className:F("rounded-md relative max-w-full",l?Yr:Xe,d?on:Ye,f?"border border-red-500 dark:border-red-600":"",{"min-h-[48px]":!l&&g==="small","min-h-[64px]":!l&&g==="medium"},y),style:I,children:[c&&n.jsx(Pt,{className:F("pointer-events-none absolute",g==="medium"?"top-1":"-top-1",f?"text-red-500 dark:text-red-600":C?"text-primary dark:text-primary":"text-text-secondary dark:text-text-secondary-dark",d?"opacity-50":""),shrink:B||C,children:c}),P,A&&n.jsx("div",{className:"flex absolute right-0 top-3 mr-3 ",children:A})]})}function Na({value:e,onValueChange:t,className:c,children:i}){return n.jsx(dr.Root,{value:e,onValueChange:t,children:n.jsx(dr.List,{className:F("flex text-sm font-medium text-center text-gray-800 dark:text-gray-200",c),children:i})})}function cr({value:e,className:t,children:c,disabled:i}){return n.jsx(dr.Trigger,{value:e,disabled:i,className:F(he,"border-b-2 border-transparent","data-[state=active]:border-secondary",i?"text-gray-400 dark:text-gray-500":F("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:F("uppercase inline-block p-2 px-4 m-2 rounded","hover:bg-gray-100 dark:hover:bg-gray-800"),children:c})})}const yU=({children:e,className:t,style:c})=>n.jsx("table",{className:F("w-full text-left text-gray-800 dark:text-gray-200 rounded-md overflow-x-auto",t),style:c,children:e}),_U=({children:e,className:t})=>n.jsx("tbody",{className:F("bg-white text-sm dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",t),children:e}),hU=({children:e,className:t})=>n.jsx("thead",{children:n.jsx("tr",{className:F(ue,"text-sm font-medium text-gray-700 dark:text-gray-300","bg-gray-50 border-b dark:bg-gray-900",t),children:e})}),gU=({children:e,className:t,onClick:c,style:i})=>n.jsx("tr",{onClick:c,style:i,className:F("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}),IU=({children:e,header:t=!1,scope:c="",align:i,className:a,style:l,colspan:s})=>{const d=u.useRef(null),f=t||bU(d.current)==="TableHeader"?"th":"td";return n.jsx(f,{scope:c,colSpan:s,ref:d,style:l,className:F("px-4 py-3 text-clip ",i==="center"?"text-center":i==="right"?"text-right":"text-left",a),children:e})};function bU(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}}function ir({trigger:e,children:t,open:c,onOpenChange:i,side:a,sideOffset:l=5,align:s,alignOffset:d,arrowPadding:f,sticky:A,hideWhenDetached:_,avoidCollisions:h,enabled:g=!0,modal:y=!1,className:I}){return On("Popover",pU),g?n.jsxs(Rn.Root,{open:c,onOpenChange:i,modal:y,children:[n.jsx(Rn.Trigger,{asChild:!0,children:e}),n.jsx(Rn.Portal,{children:n.jsxs(Rn.Content,{className:F($e,"PopoverContent shadow z-40",I),side:a,sideOffset:l,align:s,alignOffset:d,arrowPadding:f,sticky:A,hideWhenDetached:_,avoidCollisions:h,children:[t,n.jsx(Rn.Arrow,{className:"fill-white dark:fill-gray-950"})]})})]}):n.jsx(n.Fragment,{children:e})}const pU=`
1489
1544
 
1490
1545
  .PopoverContent {
1491
1546
  animation-duration: 400ms;
@@ -1549,63 +1604,8 @@
1549
1604
  transform: translateX(0);
1550
1605
  }
1551
1606
  }
1552
- `;function qH({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 JH(){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 ZH=({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 XH(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=Qe(),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=JH(),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:X})=>{const O=P.current?.getBoundingClientRect();if(!O)throw Error("normalizePosition called before draggableBoundingRect is set");return{x:Math.max(0,Math.min($,S.width-O.width)),y:Math.max(0,Math.min(X,S.height-O.height))}},[S]),M=f.useCallback($=>{const X=P.current?.getBoundingClientRect();if(!s||!X)return;const O=$??N(B());(!b||O.x!==b.x||O.y!==b.y)&&p(O)},[s,B,N,b]);qH({containerRef:P,innerRef:D,x:b?.x,y:b?.y,onMove:M}),f.useEffect(()=>{T.current=!1},[i,k]),f.useLayoutEffect(()=>{const $=P.current?.getBoundingClientRect();!s||!$||T.current||(M(),T.current=!0)},[s,M,T.current]),f.useLayoutEffect(()=>{M(b)},[S,s]);const Y=f.useMemo(()=>{if(!(!C||!w))return Fi(w,i&&C.properties[i]?{[i]:C.properties[i]}:{},c)},[C,w,i,c]),H=f.useCallback(()=>M(b),[b,M]),G=async $=>(I(null),a&&k&&A&&i?A({value:$[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(Be.Formik,{initialValues:k?.values??{},validationSchema:Y,validateOnMount:!0,validate:$=>console.debug("Validating",$),onSubmit:($,X)=>{G($).then(()=>u()).finally(()=>X.setSubmitting(!1))},children:({values:$,setFieldValue:X,handleSubmit:O,isSubmitting:V})=>{if(f.useEffect(()=>{se($,K)||v($)},[$]),!k)return n.jsx(be,{error:"PopupFormField misconfiguration"});if(!C)return n.jsx(n.Fragment,{});const Q=V,J={collection:C,entityId:w,values:$,path:l,setFieldValue:X,save:G},ne=i&&vn(C.properties,i),U=i&&ne?{propertyKey:i,disabled:V||Sn(ne)||!!ne.disabled,property:ne,includeDescription:!1,underlyingValueHasChanged:!1,context:J,tableMode:!0,partOfArray:!1,partOfBlock:!1,autoFocus:d}:void 0;let ce=n.jsx(n.Fragment,{children:n.jsx("div",{className:"w-[560px] max-w-full max-h-[85vh]",children:n.jsxs(Be.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:U&&n.jsx(mn,{...U})})}),n.jsx(Kn,{children:n.jsx(te,{variant:"filled",color:"primary",type:"submit",disabled:Q,children:"Save"})})]})},`popup_form_${e}_${w}_${i}`)});const ie=h.plugins;return ie&&ie.forEach(W=>{W.form?.provider&&(ce=n.jsx(W.form.provider.Component,{status:"existing",path:l,collection:C,entity:k,context:h,currentEntityId:w,formContext:J,...W.form.provider.props,children:ce}))}),ce}}),_&&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(ZH,{onResize:H}),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:$=>{$.stopPropagation(),u()},children:n.jsx(dn,{className:"text-white",size:"small"})})})]})]},`draggable_${i}_${w}_${d}`);return n.jsx(Ya.Root,{asChild:!0,container:y,children:L})}const RH="collectionGroupParent",Pt=f.memo(function({fullPath:t,parentPathSegments:c,isSubCollection:i,className:a,...l}){const s=Qe(),d=fe(),u=wn(),A=pn(),y=En(),g=ee(),h=f.useRef(null),_=f.useMemo(()=>{const F=y?.getCollectionConfig(t);return F?qe(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=>st(_,A,Ze(t),F??null)?_.inlineEditing===void 0||_.inlineEditing:!1,[_,A,t]),P=_.selectionEnabled===void 0||_.selectionEnabled,D=!S(),[T,B]=f.useState(!1),N=Dt(),M=_.selectionController??N,{selectedEntities:Y,toggleEntitySelection:H,isEntitySelected:G,setSelectedEntities:oe}=M;f.useEffect(()=>{w(void 0)},[Y]);const L=Ft({fullPath:t,collection:_,entitiesDisplayedFirst:[],lastDeleteTimestamp:k}),$=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(Y)},[g,t,Y]),U=f.useCallback((F,R)=>{g.onAnalyticsEvent?.("single_entity_deleted",{path:t}),oe(Z=>Z.filter(re=>re.id!==R.id)),m(Date.now())},[g,t,oe]),ce=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 W=f.useCallback((F,R)=>{if(y){const Z=y.getCollectionConfig(F),re=qe(Z,R);y.onCollectionModified(F,re)}},[y]),z=f.useCallback(({width:F,key:R})=>{if(!vn(_.properties,R))return;const Z=sa(R,F);W(t,Z)},[_,W,t]),Ne=f.useCallback(F=>{y&&W(t,{defaultSize:F})},[W,t,y]),de=Wo(_,A,Ze(t),null),Oe=f.useCallback(({name:F,value:R,property:Z,entityId:re})=>s.checkUniqueField(t,F,R,Z,re),[t]),Re=({fullPath:F,context:R,value:Z,propertyKey:re,onValueUpdated:pe,setError:He,entity:cn})=>{const Yt=Be.setIn({...cn.values},re,Z),q={path:F,entityId:cn.id,values:Yt,previousValues:cn.values,collection:_,status:"existing"};return Pr({...q,callbacks:_.callbacks,dataSource:s,context:R,onSaveSuccess:()=>pe(),onSaveFailure:ge=>{console.error("Save failure"),console.error(ge),He(ge)}})},tn=d.resolveAliasesFrom(t),Le=f.useMemo(()=>Me({collection:_,path:t,fields:g.fields}),[_,t]),_o=f.useCallback(({propertyKey:F,propertyValue:R,entity:Z})=>{let re=vn(_.properties,F);return re||(re=vn(Le.properties,F)),De({propertyKey:F,propertyOrBuilder:re,path:t,propertyValue:R,values:Z.values,entityId:Z.id,fields:g.fields})},[_.properties,g.fields,t,Le.properties]),zn=ta(Le,!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:pt(Z),name:Z.name,width:200,dependencies:[],Builder:({entity:re})=>n.jsx(te,{color:"primary",variant:"outlined",startIcon:n.jsx(Do,{size:"small"}),onClick:pe=>{pe.stopPropagation(),u.open({path:t,entityId:re.id,selectedSubPath:Z.alias??Z.path,collection:_,updateUrl:!0})},children:Z.name})}))??[],R=_.collectionGroup?[{id:RH,name:"Parent entities",width:260,dependencies:[],Builder:({entity:Z})=>{const re=d.getParentReferencesFromPath(Z.path);return n.jsx(n.Fragment,{children:re.map(pe=>n.jsx(on,{reference:pe,size:"tiny"},pe.path+"/"+pe.id))})}}]:[];return[..._.additionalFields??[],...F,...R]},[_,t]),yo=f.useCallback(({entity:F,size:R,width:Z,frozen:re})=>{const pe=G(F),He=dt(_,A,Ze(t),F);return n.jsx(vt,{entity:F,width:Z,frozen:re,isSelected:pe,selectionEnabled:P,size:R,toggleEntitySelection:H,onEditClicked:Un,onCopyClicked:de?Hn:void 0,onDeleteClicked:He?J:void 0,hideId:_?.hideIdFromCollection})},[G,_,A,t,P,H,Un,de,Hn]),yn=n.jsx(jo,{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(e3,{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(ao,{source:_.description})})});function go({property:F,propertyKey:R,onHover:Z}){return g.plugins?n.jsx(n.Fragment,{children:g.plugins.filter(re=>re.collectionView?.HeaderAction).map((re,pe)=>{const He=re.collectionView.HeaderAction;return n.jsx(He,{onHover:Z,propertyKey:R,property:F,fullPath:t,parentPathSegments:c??[]},`plugin_header_action_${pe}`)})}):null}const ho=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(Et,{additionalFields:Yn,tableController:L,displayedColumnIds:zn,onSizeChanged:Ne,onEntityClick:V,onColumnResize:z,onValueChange:Re,tableRowActionsBuilder:yo,uniqueFieldValidator:Oe,title:yn,selectionController:M,highlightedEntities:I?[I]:[],defaultSize:_.defaultSize,properties:Le.properties,getPropertyFor:_o,actions:n.jsx($H,{parentPathSegments:c??[],collection:_,tableController:L,onMultipleDeleteClick:ne,onNewClick:Q,path:t,relativePath:_.path,selectionController:M,selectionEnabled:P,collectionEntitiesCount:K}),hoverRow:D,inlineEditing:S(),AdditionalHeaderWidget:go,AddColumnComponent:ho,additionalIDHeaderWidget:n.jsx(n3,{path:t,collection:_})},`collection_table_${t}`),n.jsx(XH,{open:!!X,onClose:O,cellRect:X?.cellRect,propertyKey:X?.propertyKey,collection:_,entity:X?.entity,tableKey:$.current,customFieldValidator:Oe,path:tn,onCellValueChange:Re,container:h.current},`popup_form_${X?.propertyKey}_${X?.entity?.id}`),p&&n.jsx(YH,{entityOrEntitiesToDelete:p,path:t,collection:_,callbacks:_.callbacks,open:!!p,onEntityDelete:U,onMultipleEntitiesDelete:ce,onClose:()=>w(void 0)})]})},se);function Dt(){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 e3({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),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(Ve,{className:"w-full max-w-[80px] mt-1"})})}function sa(e,t){if(e.includes(".")){const[c,...i]=e.split(".");return{properties:{[c]:sa(i.join("."),t)}}}return{properties:{[e]:{columnWidth:t}}}}function n3({collection:e,path:t}){const[c,i]=f.useState(!1),[a,l]=f.useState(""),s=wn();return n.jsx(Ae,{title:c?void 0:"Find by ID",children:n.jsx(jo,{open:c,onOpenChange:i,trigger:n.jsx(x,{size:"small",children:n.jsx(yr,{size:"small"})}),children:n.jsx("form",{noValidate:!0,onSubmit:d=>{if(d.preventDefault(),!!a)return i(!1),s.open({entityId:a,path:t,collection:e,updateUrl:!0})},className:"text-gray-900 dark:text-white w-96 max-w-full",children:n.jsxs("div",{className:"flex p-4 w-full gap-4",children:[n.jsx(rn,{placeholder:"Find entity by ID",size:"small",onChange:d=>l(d.target.value),value:a,className:"flex-grow"}),n.jsx(te,{variant:"outlined",disabled:!a,type:"submit",children:"Go"})]})})})})}function da({onSingleEntitySelected:e,onMultipleEntitiesSelected:t,multiselect:c,collection:i,path:a,selectedEntityIds:l,description:s,forceFilter:d,maxSelection:u}){const A=Yo(),y=wn(),g=fe(),h=ee(),_=g.resolveAliasesFrom(a),I=Qe(),[b,p]=f.useState([]),w=Dt();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 Y=M.filter(H=>H!==void 0);w.setSelectedEntities(Y),p(Y)}}):(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(Y=>Y.id).indexOf(B.id)>-1)N=M.filter(Y=>Y.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:Y})=>{const H=w.selectedEntities,G=H&&H.map(oe=>oe.id).indexOf(B.id)>-1;return n.jsx(vt,{width:M,frozen:Y,entity:B,size:N,isSelected:G,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(be,{error:"Could not find collection with id "+i});const P=f.useMemo(()=>Me({collection:i,path:_,values:{},fields:h.fields}),[i,h.fields,_]),D=ta(P,!1),T=Ft({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(Et,{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(o3,{collection:i,path:_,onNewClick:v,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:S,color:"primary",variant:"filled",children:"Done"})]})]})}function o3({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,Ze(t),null)&&s&&(l?n.jsxs(te,{onClick:s,startIcon:n.jsx(bn,{}),variant:"outlined",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(te,{onClick:s,size:"medium",variant:"outlined",color:"primary",children:n.jsx(bn,{})}));return n.jsxs(n.Fragment,{children:[n.jsx(te,{onClick:c,variant:"text",color:"primary",children:"Clear"}),d]})}function _n({title:e,children:t,invisible:c=!1,initiallyExpanded:i=!0,onExpandedChange:a,titleClassName:l,asField:s,className:d}){Dn("ExpandablePanel",`
1553
- .CollapsibleContent {
1554
- overflow: hidden;
1555
- }
1556
- .CollapsibleContent[data-state='open'] {
1557
- animation: slideDown 220ms ease-out
1558
- }
1559
- .CollapsibleContent[data-state='closed'] {
1560
- animation: slideUp 220ms ease-out;
1561
- }
1562
-
1563
- @keyframes slideDown {
1564
- from {
1565
- height: 0;
1566
- }
1567
- to {
1568
- height: var(--radix-collapsible-content-height);
1569
- }
1570
- }
1571
-
1572
- @keyframes slideUp {
1573
- from {
1574
- height: var(--radix-collapsible-content-height);
1575
- }
1576
- to {
1577
- height: 0;
1578
- }
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(qn.Root,{className:E(!c&&ue+" border","rounded-md"),open:u,onOpenChange:h=>{a?.(h),A(h)},children:[n.jsxs(qn.Trigger,{className:E(ye,"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(Po,{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 Nt({children:e,group:t}){const c=En();return n.jsx(_n,{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 ua({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(ma,{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(Kr,{size:18,className:"text-secondary"}):n.jsx(Cr,{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(ao,{source:l})})]}),n.jsx("div",{style:{alignSelf:"flex-end"},children:n.jsx("div",{className:"p-4",children:n.jsx(ac,{className:"text-primary"})})})]})})}function r3({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(Kr,{onClick:a,size:18,className:"text-secondary"}):n.jsx(Cr,{onClick:a,size:18,className:"text-gray-400 dark:text-gray-500"}),children:e.name},e.path)}function t3({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(Xo,{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(r3,{entry:a},a.path))})})}const Tt={};function c3(){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||(Tt[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||!Tt[e.key]||t.current.scrollTo({top:Tt[e.key],behavior:"auto"})},[e]),{containerRef:t,scroll:c,direction:a}}const Wn=new Ua.Search("url");Wn.addIndex("name"),Wn.addIndex("description"),Wn.addIndex("group"),Wn.addIndex("path");function fa({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}=c3(),{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(Nt,{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(Wt,{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(zt,{onTextSearch:h,placeholder:"Search collections",large:!1,className:"w-full"})}),n.jsx(t3,{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(Nt,{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(ua,{...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 i3({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:at(e,"medium")})}function a3({children:e,title:t,path:c}){const i=Nr();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:he.Link,to:"/",children:"Back to home"})]})})}function l3({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(Ro,{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(va,{color:"primary",type:"submit",loading:a,onClick:t,children:"Ok"})]})]})}function _a({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 s3={info:"bg-sky-200 dark:bg-teal-900",warn:"bg-orange-200 dark:bg-yellow-950"};function d3({children:e,mode:t="info"}){return n.jsx("div",{className:E("my-3 py-2 px-4 rounded",s3[t]),children:e})}const ya=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:_}=Dr(),I=We(),b=A??g.user;let p;if(b&&b.photoURL)p=n.jsx(Vt,{src:b.photoURL});else if(b===void 0||g.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(Vt,{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(fc,{}):n.jsx(Cc,{})}),n.jsxs(Qn,{trigger:p,children:[l,!l&&n.jsxs(me,{onClick:g.signOut,children:[n.jsx(Fc,{}),"Log Out"]})]})]})})},u3=e=>e&&Array.isArray(e)&&e.length>0?e.map((t,c)=>t?{[sr(t)+c]:Ao()}:{}).reduce((t,c)=>({...t,...c}),{}):{};function Mt({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(u3(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=sr(m)+K;if(v in g.current)return g.current[v];{const C=Ao();return g.current[v]=C,C}});_(k)}},[y,h.length,c]);const I=k=>{if(k.preventDefault(),i)return;const m=Ao(),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=Ao(),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(f3(c,m,K))};return n.jsx(Cn.DragDropContext,{onDragEnd:w,children:n.jsx(Cn.Droppable,{droppableId:e,renderClone:(k,m,K)=>{const v=K.source.index,C=h[v];return n.jsx(Ot,{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(Cn.Draggable,{draggableId:`array_field_${K}`,isDragDisabled:i,index:v,children:(C,S)=>n.jsx(Ot,{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(te,{variant:l==="small"?"text":"outlined",size:l==="small"?"small":"medium",color:"primary",disabled:i,startIcon:n.jsx(bn,{}),onClick:I,children:t??"Add"})})]})})})}function Ot({provided:e,index:t,internalId:c,size:i,disabled:a,buildEntry:l,remove:s,copy:d,isDragging:u}){const[A,y]=rr(),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(ga,{direction:i==="small"?"row":"column",disabled:a,remove:s,index:t,provided:e,measuring:g,contentOverflow:h,copy:d})]})})}function ga({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(Ae,{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(Ae,{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(ro,{size:"small"})})}),n.jsx(Ae,{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(no,{size:"small"})})})]}),!d&&s&&n.jsx(n.Fragment,{children:n.jsxs(Qn,{trigger:n.jsx(x,{size:"small",children:n.jsx(mr,{size:"small"})}),children:[n.jsxs(me,{dense:!0,onClick:()=>c(i),children:[n.jsx(ro,{size:"small"}),"Remove"]}),n.jsxs(me,{dense:!0,onClick:()=>l(i),children:[n.jsx(no,{size:"small"}),"Copy"]})]})})]})}function f3(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 A3="100vw",_3="55vw",ha="768px",qo="main_##Q$SC^#S6";function y3({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&&W({entityId:O?.id,collection:a,path:e,values:g,closeAfterSave:!1})},!1,2e3);const _=Qe(),I=Yo(),b=wn(),p=un(),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,Y=N>0||T>0,H=c??ct(a?a.defaultSelectedView:void 0,{status:v,entityId:t}),G=f.useRef(H??qo),oe=G.current===qo,{entity:L,dataLoading:$,dataLoadingError:X}=Fr({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?st(a,k,Ze(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]),U=f.useCallback(F=>{y(!1),p.open({type:"error",message:"Error after saving (entity is saved): "+F?.message}),console.error(F)},[p]),ce=(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:G.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]),W=({values:F,previousValues:R,closeAfterSave:Z,entityId:re,collection:pe,path:He})=>{y(!0),Pr({path:He,entityId:re,values:F,previousValues:R,collection:pe,status:v,dataSource:_,context:w,onSaveSuccess:cn=>ce(cn,Z),onSaveFailure:ie,onPreSaveHookError:ne,onSaveSuccessHookError:U}).then()},z=async({collection:F,path:R,entityId:Z,values:re,previousValues:pe,closeAfterSave:He,autoSave:cn})=>{v&&(cn?h(re):W({collection:F,path:R,entityId:Z,values:re,previousValues:pe,closeAfterSave:He}))},Ne=B?B.map(F=>ht(F,w.entityViews)).filter(Boolean):[],de=B&&Ne.map((F,R)=>{if(!F||G.current!==F.key)return null;const Z=F.Builder;return Z?n.jsx("div",{className:E(ue,"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=$&&!O||(!O||Q===void 0)&&(v==="existing"||v==="copy"),Re=Oe||A,tn=D&&D.map((F,R)=>{const Z=F.alias??F.path,re=O?`${e}/${O?.id}/${Ie(Z)}`:void 0;return G.current!==Z?null:n.jsxs("div",{className:"relative flex-grow h-full overflow-auto w-full",role:"tabpanel",children:[Re&&n.jsx(fo,{}),!Oe&&(O&&re?n.jsx(Pt,{fullPath:re,parentPathSegments:Ze(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),Le=f.useCallback(()=>{l(!1)},[]),_o=F=>{G.current=F,b.replace({path:e,entityId:t,selectedSubPath:F===qo?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 yo(){const F=w.plugins;let R=n.jsx(Di,{status:v,path:e,collection:a,onEntitySaveRequested:z,onDiscard:Le,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:Le,onValuesChanged:zn,onModified:Yn,entity:O,context:w,formContext:m,...Z.form.provider.props,children:R}))}),n.jsx(le,{children:R})}const yn=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(bt,{className:"px-12",entity:O,path:e,collection:a})]}):yo(),go=D&&D.map(F=>n.jsx(er,{className:"text-sm min-w-[140px]",value:F.path,children:F.name},`entity_detail_collection_tab_${F.name}`)),ho=Ne.map(F=>n.jsx(er,{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(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(x,{onClick:()=>(u?.(),I.close(!1)),size:"large",children:n.jsx(br,{})})}),n.jsx("div",{className:"flex-grow"}),Oe&&n.jsx("div",{className:"self-center",children:n.jsx(Gn,{size:"small"})}),n.jsxs(Ka,{value:G.current,onValueChange:F=>{_o(F)},className:"pl-4 pr-4 pt-0",children:[n.jsx(er,{disabled:!Y,value:qo,className:`${Y?"":"hidden"} text-sm min-w-[140px]`,children:a.singularName??a.name}),ho,go]})]}),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(fo,{}):yn}),de,tn]})]})})}function g3(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(y3,{...e,formWidth:e.width,collection:l,onValuesAreModified:s})})})}const Ia="new";function h3(e,t){if(t)return A3;const c=!e.selectedSubPath,i=typeof e.width=="number"?`${e.width}px`:e.width;return c?i??ha:`calc(${_3} + ${i??ha})`}const I3=(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===`#${Ia}`,A=e.urlPathToDataPath(c.pathname),y=b3(A,e.collections,u);t.replace(y.map(g=>Lt(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=ct(u.collection?u.collection.defaultSelectedView:void 0,{status:u.copy?"copy":u.entityId?"existing":"new",entityId:u.entityId});t.open(Lt({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(Lt(u,e,a))},[e,t,a]);return{close:l,open:s,replace:d}};function b3(e,t,c){const i=It({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 Lt=(e,t,c)=>{const i=Ie(e.path),a=e.entityId?t.buildUrlCollectionPath(`${i}/${e.entityId}/${e.selectedSubPath||""}`):t.buildUrlCollectionPath(`${i}#${Ia}`);return{key:`${e.path}/${e.entityId}`,component:n.jsx(g3,{...e}),urlPath:a,parentUrlPath:t.buildUrlCollectionPath(i),width:h3(e,c),onClose:e.onClose}};function ba(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 je(I,g)),_.length>1){const p=_.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);A.subcollections&&s.push(...ba({path:p,collections:A.subcollections,currentFullPath:b}))}}break}}return s}function p3({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}/${Jo(V)}`:`/${Jo(V)}`,[v]),T=f.useCallback(V=>`${Ie(t)}/${Jo(V)}`,[t]),B=f.useCallback((V,Q)=>{const J=[...(V??[]).map(U=>U.hideFromNavigation?void 0:{url:T(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:D(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)],ne=Object.values(J).map(U=>U.group).filter(Boolean).filter((U,ce,ie)=>ie.indexOf(U)===ce);return{navigationEntries:J,groups:ne}},[D,T]),N=f.useCallback(async()=>{if(!c.initialLoading){try{const[V=[],Q=[]]=await Promise.all([w3(i,c,d,s),k3(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),U=J?l?.getCollectionConfig(V):void 0,ce=ne?qe(ne,U):void 0;let ie=ce;if(ce){const W=ce.subcollections,z=ce.callbacks,Ne=ce.permissions;ie={...ie,subcollections:ie?.subcollections??W,callbacks:ie?.callbacks??z,permissions:ie?.permissions??Ne}}if(ie)return{...ce,...ie}},[e,t,A]),Y=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],U=Q.find(ce=>ce.alias===ne||ce.path===ne);if(!U)return;if(Q=U.subcollections,J===V.length-1)return U}},[A]),H=f.useCallback(V=>Ie(V+"/").startsWith(Ie(P)+"/"),[P]),G=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/${Jo(V)}`,[]),L=f.useCallback(V=>{if(!A)throw Error("Collections have not been initialised yet");return ir(V,A)},[A]),$=u.state,X=$&&$.base_location?$.base_location:u,O=f.useCallback(V=>ba({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:Y,isUrlCollectionPath:H,urlPathToDataPath:G,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,Y,S,_,H,w,m,N,L,b,G,g])}function Jo(e){return encodeURIComponent(Ie(e)).replaceAll("%2F","/").replaceAll("%23","#")}function pa(e,t){return e.filter(c=>c.permissions?so(c,t,[c.path],null).read!==!1:!0).map(c=>c.subcollections?{...c,subcollections:pa(c.subcollections,t)}:c)}async function w3(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=pa(a,t),i&&i.forEach(l=>{l.collections?.injectCollections&&(a=l.collections?.injectCollections(a??[]))}),a}async function k3(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 m3(){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 v3(e){f.useEffect(()=>{if(!e)return;const t=Zt[e];t&&(nr.registerLocale(e,t),nr.setDefaultLocale(e))},[e])}const K3="/",C3="/c";function S3(e){const t=Dr(),{children:c,collections:i,views:a,entityLinkBuilder:l,userConfigPersistence:s,dateTimeFormat:d,locale:u,authController:A,storageSource:y,dataSource:g,basePath:h=K3,baseCollectionPath:_=C3,plugins:I,onAnalyticsEvent:b,fields:p,entityViews:w,components:k}=e;v3(u);const m=p3({basePath:h,baseCollectionPath:_,authController:A,collections:i,views:a,userConfigPersistence:s,dataSource:g,plugins:I}),K=m3(),v=I3(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(Gt,{maxWidth:"md",fullScreen:!0,children:n.jsx(be,{title:"Error loading navigation",error:m.navigationLoadingError})}):A.authError?n.jsx(Gt,{maxWidth:"md",fullScreen:!0,children:n.jsx(be,{title:"Error loading auth",error:A.authError})}):n.jsx(cr.Provider,{value:t,children:n.jsx(Br.Provider,{value:S,children:n.jsx(Hc.Provider,{value:s,children:n.jsx(zc.Provider,{value:y,children:n.jsx(Qc.Provider,{value:g,children:n.jsx(Sr.Provider,{value:A,children:n.jsx(Wc.Provider,{value:K,children:n.jsx(Gc.Provider,{value:v,children:n.jsx(Vc.Provider,{value:m,children:n.jsx(ja,{children:n.jsx(B3,{loading:C,children:c})})})})})})})})})})})}function B3({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 wa({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(Qt,{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(Qt,{icon:Go(h.collection??h.view),tooltipsOpen:l,onClick:()=>g(h),drawerOpen:t,url:h.url,name:h.name},`navigation_${_}`))]})}function Qt({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(Ae,{open:i,side:"right",title:e,children:d})}const E3=280,F3=f.memo(function(t){const{children:c,name:i,logo:a,includeDrawer:l=!0,autoOpenDrawer:s,Drawer:d=wa,drawerProps:u,FireCMSAppBarComponent:A=ya,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(D3,{displayed:l,onMouseEnter:w,onMouseMove:w,onMouseLeave:k,open:K,logo:a,hovered:b,setDrawerOpen:I,children:l&&(h.loading?n.jsx(fo,{}):n.jsx(d,{hovered:b,drawerOpen:K,closeDrawer:m,...u}))}),n.jsxs("main",{className:"flex flex-col flex-grow overflow-auto",children:[n.jsx(P3,{}),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(le,{children:c})})]})]})},se),P3=()=>n.jsx("div",{className:"flex flex-col min-h-[68px]"});function D3(e){const t=fe(),c=e.displayed?e.open?E3: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(Ae,{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(kr,{})})}),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(Ae,{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(_a,{})})})}),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(uc,{})})})]}):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(kr,{})}),n.jsx(Ht,{side:"left",transparent:!0,open:e.open,onOpenChange:e.setDrawerOpen,children:i})]}):null}const N3=f.memo(function({HomePage:t=fa,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(_=>ka(_,h))):d.push(ka(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(Zo,{path:_,title:h.name,type:"collection",children:n.jsx(Pt,{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(Zo,{path:a.homeUrl,title:"Home",type:"home",children:n.jsx(t,{})},"navigation_home")}),g=n.jsx(he.Route,{path:"*",element:n.jsx(Aa,{})});return n.jsxs(he.Routes,{location:s,children:[A,d,y,g,c]})}),ka=(e,t)=>n.jsx(he.Route,{path:e,element:n.jsx(Zo,{path:e,title:t.name,type:"view",children:t.view},`navigation_${e}`)},"navigation_view_"+e),Zo=f.memo(function({children:t,title:c,path:i,type:a}){const l=Nr();return f.useEffect(()=>{l.set({breadcrumbs:[{title:c,url:i}]})},[i,c]),n.jsx(n.Fragment,{children:t})},se);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(e){return e}function z3(e){return e}function H3(){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 U3(){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::${it(I)}`;return e[b]?e[b]:c(b)},[e,c]),a=f.useCallback((I,b)=>{const p=`collection_config::${it(I)}`;localStorage.setItem(p,JSON.stringify(b)),t(w=>{const k=w[p],m=qe(k??c(I),b);return qe(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 Y3=({children:e})=>n.jsx(jt.SnackbarProvider,{maxSnack:3,autoHideDuration:3500,children:e});function Xo({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(qn.Root,{open:c,className:t,children:n.jsx(qn.Content,{className:E(`CollapseContent-${i}`),children:e})})}const $3=({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 j3({children:e,open:t,setOpen:c}){const i=f.useRef(null);return Mo(i,()=>c(!1)),n.jsx(Xo,{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 q3({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"}},Z3=({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]})},X3=({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",ye,"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})}),Vt=f.forwardRef(X3);function ma({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(Rc,c&&ye,c&&ei,i),style:t,children:e})}const x3={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"},R3=({children:e,className:t,style:c,maxWidth:i="7xl"},a)=>{const l=i?x3[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})},Wt=f.forwardRef(R3);function Gt({children:e,maxWidth:t,fullScreen:c=!1,className:i}){return n.jsx("div",{className:"flex flex-col flex-grow h-full",children:n.jsx(Wt,{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 eU={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(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(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?eU[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 Ro({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 nU({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}=or.useDropzone({accept:e,noDragEventsBubbling:!0,maxSize:i,onDrop:t,onDropRejected:c,disabled:a,maxFiles:l,preventDropOnDocument:A});return n.jsxs("div",{...g(),className:E(Je,Ge,ye,"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 va({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 oU({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(Y=>Y!==M)):u?.([...l??[],M]):d?.(M),!C&&s&&s({target:{name:c,value:M}})},[C,s,l,u,d]);return n.jsxs($e.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(ui,{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?Wr:Je,k?nn:Ge,"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]",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?ye:"",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:[h&&(l&&Array.isArray(l)?l.map((M,Y)=>n.jsx("div",{className:"flex items-center gap-1 max-w-full",children:h?h(M,Y):M},M)):typeof l=="string"?h?h(l,0):l:g),_&&(!l||Array.isArray(l))?_(l??[]):null,!h&&!_&&l]})}),n.jsx($e.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($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",ye,"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(dc,{size:16})})]},e)}function rU({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 zt({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",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(yr,{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]":"",ye,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(dn,{size:"small"})}):n.jsx("div",{style:{width:26}})]})}const Ht=({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 tU(){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 rn({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(wt,{...k,ref:m,placeholder:K||C||!c?g:void 0,autoFocus:y,rows:s,value:e??"",onChange:t,style:p,className:E(l?Qr:ye,"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?Qr:ye,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||!c?g:void 0,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?Wr:Je,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(St,{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 Ka({value:e,onValueChange:t,className:c,children:i}){return n.jsx(tr.Root,{value:e,onValueChange:t,children:n.jsx(tr.List,{className:E("flex text-sm font-medium text-center text-gray-800 dark:text-gray-200",c),children:i})})}function er({value:e,className:t,children:c,disabled:i}){return n.jsx(tr.Trigger,{value:e,disabled:i,className:E(ye,"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 cU=({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}),iU=({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}),aU=({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})}),lU=({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}),sU=({children:e,header:t=!1,scope:c="",align:i,className:a,style:l,colspan:s})=>{const d=f.useRef(null),u=t||dU(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 dU(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 uU=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"}},Ut=({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
- ${uU(e)}
1607
+ `,wU=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"}},jt=({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
+ ${wU(e)}
1609
1609
  transition-all duration-200 ease-out
1610
- ${t?"w-0 h-0":"w-2 h-2"}`})]});o.AbcIcon=us,o.AcUnitIcon=fs,o.AccessAlarmIcon=As,o.AccessAlarmsIcon=_s,o.AccessTimeFilledIcon=gs,o.AccessTimeIcon=ys,o.AccessibilityIcon=hs,o.AccessibilityNewIcon=Is,o.AccessibleForwardIcon=ps,o.AccessibleIcon=bs,o.AccountBalanceIcon=ws,o.AccountBalanceWalletIcon=ks,o.AccountBoxIcon=ms,o.AccountCircleIcon=vs,o.AccountTreeIcon=Ks,o.AdUnitsIcon=Cs,o.AdbIcon=Ss,o.AddAPhotoIcon=Bs,o.AddAlarmIcon=Es,o.AddAlertIcon=Fs,o.AddBoxIcon=Ps,o.AddBusinessIcon=Ds,o.AddCardIcon=Ns,o.AddChartIcon=Ts,o.AddCircleIcon=Ms,o.AddCircleOutlineIcon=Os,o.AddCommentIcon=Ls,o.AddHomeIcon=Qs,o.AddHomeWorkIcon=Vs,o.AddIcCallIcon=Ws,o.AddIcon=bn,o.AddLinkIcon=ic,o.AddLocationAltIcon=zs,o.AddLocationIcon=Gs,o.AddModeratorIcon=Hs,o.AddPhotoAlternateIcon=Us,o.AddReactionIcon=Ys,o.AddRoadIcon=$s,o.AddShoppingCartIcon=js,o.AddTaskIcon=qs,o.AddToDriveIcon=Js,o.AddToHomeScreenIcon=Zs,o.AddToPhotosIcon=Xs,o.AddToQueueIcon=xs,o.AdfScannerIcon=Rs,o.AdjustIcon=ed,o.AdminPanelSettingsIcon=nd,o.AdsClickIcon=od,o.AgricultureIcon=rd,o.AirIcon=td,o.AirlineSeatFlatAngledIcon=id,o.AirlineSeatFlatIcon=cd,o.AirlineSeatIndividualSuiteIcon=ad,o.AirlineSeatLegroomExtraIcon=ld,o.AirlineSeatLegroomNormalIcon=sd,o.AirlineSeatLegroomReducedIcon=dd,o.AirlineSeatReclineExtraIcon=ud,o.AirlineSeatReclineNormalIcon=fd,o.AirlineStopsIcon=Ad,o.AirlinesIcon=_d,o.AirplaneTicketIcon=yd,o.AirplanemodeActiveIcon=gd,o.AirplanemodeInactiveIcon=hd,o.AirplayIcon=Id,o.AirportShuttleIcon=bd,o.AlarmAddIcon=wd,o.AlarmIcon=pd,o.AlarmOffIcon=kd,o.AlarmOnIcon=md,o.AlbumIcon=vd,o.Alert=Z3,o.AlignHorizontalCenterIcon=Kd,o.AlignHorizontalLeftIcon=Cd,o.AlignHorizontalRightIcon=Sd,o.AlignVerticalBottomIcon=Bd,o.AlignVerticalCenterIcon=Ed,o.AlignVerticalTopIcon=Fd,o.AllInboxIcon=Pd,o.AllInclusiveIcon=Dd,o.AllOutIcon=Nd,o.AltRouteIcon=Td,o.AlternateEmailIcon=Md,o.AnalyticsIcon=Od,o.AnchorIcon=Ld,o.AndroidIcon=Qd,o.AnimationIcon=Vd,o.AnnouncementIcon=Wd,o.AodIcon=Gd,o.ApartmentIcon=zd,o.ApiIcon=Hd,o.AppBlockingIcon=Ud,o.AppRegistrationIcon=Yd,o.AppSettingsAltIcon=$d,o.AppShortcutIcon=jd,o.ApprovalIcon=qd,o.AppsIcon=Jd,o.AppsOutageIcon=Zd,o.ArchitectureIcon=Xd,o.ArchiveIcon=xd,o.AreaChartIcon=Rd,o.ArrayContainer=Mt,o.ArrayContainerItem=Ot,o.ArrayCustomShapedFieldBinding=Ei,o.ArrayEnumPreview=zr,o.ArrayItemOptions=ga,o.ArrayOfMapsPreview=xc,o.ArrayOfReferencesFieldBinding=Ai,o.ArrayOfReferencesPreview=oi,o.ArrayOfStorageComponentsPreview=ri,o.ArrayOfStringsPreview=ti,o.ArrayOneOfPreview=ci,o.ArrayPropertyEnumPreview=Hr,o.ArrayPropertyPreview=Gr,o.ArrowBackIcon=eu,o.ArrowBackIosIcon=nu,o.ArrowBackIosNewIcon=ou,o.ArrowCircleDownIcon=ru,o.ArrowCircleLeftIcon=tu,o.ArrowCircleRightIcon=cu,o.ArrowCircleUpIcon=iu,o.ArrowDownwardIcon=au,o.ArrowDropDownCircleIcon=lu,o.ArrowDropDownIcon=gr,o.ArrowDropUpIcon=su,o.ArrowForwardIcon=ac,o.ArrowForwardIosIcon=du,o.ArrowLeftIcon=uu,o.ArrowOutwardIcon=fu,o.ArrowRightAltIcon=_u,o.ArrowRightIcon=Au,o.ArrowUpwardIcon=Eo,o.ArtTrackIcon=yu,o.ArticleIcon=gu,o.AspectRatioIcon=hu,o.AssessmentIcon=Iu,o.AssignmentIcon=lc,o.AssignmentIndIcon=bu,o.AssignmentLateIcon=pu,o.AssignmentReturnIcon=wu,o.AssignmentReturnedIcon=ku,o.AssignmentTurnedInIcon=mu,o.AssistWalkerIcon=vu,o.AssistantDirectionIcon=Cu,o.AssistantIcon=Ku,o.AssistantPhotoIcon=Su,o.AssuredWorkloadIcon=Bu,o.AsyncPreviewComponent=ZG,o.AtmIcon=Eu,o.AttachEmailIcon=Fu,o.AttachFileIcon=Pu,o.AttachMoneyIcon=Du,o.AttachmentIcon=Nu,o.AttractionsIcon=Tu,o.AttributionIcon=Mu,o.AudioFileIcon=Ou,o.AudiotrackIcon=Lu,o.AuthControllerContext=Sr,o.AutoAwesomeIcon=Qu,o.AutoAwesomeMosaicIcon=Vu,o.AutoAwesomeMotionIcon=Wu,o.AutoDeleteIcon=Gu,o.AutoFixHighIcon=zu,o.AutoFixNormalIcon=Hu,o.AutoFixOffIcon=Uu,o.AutoGraphIcon=Yu,o.AutoModeIcon=$u,o.AutoStoriesIcon=ju,o.Autocomplete=j3,o.AutocompleteItem=q3,o.AutofpsSelectIcon=qu,o.AutorenewIcon=Ju,o.AvTimerIcon=Zu,o.Avatar=Vt,o.BabyChangingStationIcon=Xu,o.BackHandIcon=xu,o.BackpackIcon=Ru,o.BackspaceIcon=ef,o.BackupIcon=nf,o.BackupTableIcon=of,o.Badge=Ut,o.BadgeIcon=rf,o.BakeryDiningIcon=tf,o.BalanceIcon=cf,o.BalconyIcon=af,o.BallotIcon=hr,o.BarChartIcon=lf,o.BatchPredictionIcon=sf,o.BathroomIcon=df,o.BathtubIcon=uf,o.Battery0BarIcon=ff,o.Battery1BarIcon=Af,o.Battery2BarIcon=_f,o.Battery3BarIcon=yf,o.Battery4BarIcon=gf,o.Battery5BarIcon=hf,o.Battery6BarIcon=If,o.BatteryAlertIcon=bf,o.BatteryChargingFullIcon=pf,o.BatteryFullIcon=wf,o.BatterySaverIcon=kf,o.BatteryStdIcon=mf,o.BatteryUnknownIcon=vf,o.BeachAccessIcon=Kf,o.BedIcon=Cf,o.BedroomBabyIcon=Sf,o.BedroomChildIcon=Bf,o.BedroomParentIcon=Ef,o.BedtimeIcon=Ff,o.BedtimeOffIcon=Pf,o.BeenhereIcon=Df,o.BentoIcon=Nf,o.BikeScooterIcon=Tf,o.BiotechIcon=Mf,o.BlenderIcon=Of,o.BlindIcon=Lf,o.BlindsClosedIcon=Vf,o.BlindsIcon=Qf,o.BlockFieldBinding=Si,o.BlockIcon=Wf,o.BloodtypeIcon=Gf,o.BluetoothAudioIcon=Hf,o.BluetoothConnectedIcon=Uf,o.BluetoothDisabledIcon=Yf,o.BluetoothDriveIcon=$f,o.BluetoothIcon=zf,o.BluetoothSearchingIcon=jf,o.BlurCircularIcon=qf,o.BlurLinearIcon=Jf,o.BlurOffIcon=Zf,o.BlurOnIcon=Xf,o.BoltIcon=xf,o.BookIcon=Rf,o.BookOnlineIcon=eA,o.BookmarkAddIcon=oA,o.BookmarkAddedIcon=rA,o.BookmarkBorderIcon=tA,o.BookmarkIcon=nA,o.BookmarkRemoveIcon=cA,o.BookmarksIcon=iA,o.BooleanPreview=si,o.BooleanSwitch=et,o.BooleanSwitchWithLabel=On,o.BorderAllIcon=aA,o.BorderBottomIcon=lA,o.BorderClearIcon=sA,o.BorderColorIcon=dA,o.BorderHorizontalIcon=uA,o.BorderInnerIcon=fA,o.BorderLeftIcon=AA,o.BorderOuterIcon=_A,o.BorderRightIcon=yA,o.BorderStyleIcon=gA,o.BorderTopIcon=hA,o.BorderVerticalIcon=IA,o.BoyIcon=bA,o.BrandingWatermarkIcon=pA,o.BreadcrumbUpdater=a3,o.BreakfastDiningIcon=wA,o.Brightness1Icon=kA,o.Brightness2Icon=mA,o.Brightness3Icon=vA,o.Brightness4Icon=KA,o.Brightness5Icon=CA,o.Brightness6Icon=SA,o.Brightness7Icon=BA,o.BrightnessAutoIcon=EA,o.BrightnessHighIcon=FA,o.BrightnessLowIcon=PA,o.BrightnessMediumIcon=DA,o.BroadcastOnHomeIcon=NA,o.BroadcastOnPersonalIcon=TA,o.BrokenImageIcon=MA,o.BrowseGalleryIcon=OA,o.BrowserNotSupportedIcon=LA,o.BrowserUpdatedIcon=QA,o.BrunchDiningIcon=VA,o.BrushIcon=WA,o.BubbleChartIcon=GA,o.BugReportIcon=zA,o.BuildCircleIcon=UA,o.BuildIcon=HA,o.BungalowIcon=YA,o.BurstModeIcon=$A,o.BusAlertIcon=jA,o.BusinessCenterIcon=JA,o.BusinessIcon=qA,o.Button=te,o.COLLECTION_PATH_SEPARATOR=Ti,o.CabinIcon=ZA,o.CableIcon=XA,o.CachedIcon=xA,o.CakeIcon=RA,o.CalculateIcon=e_,o.CalendarMonthIcon=sc,o.CalendarTodayIcon=n_,o.CalendarViewDayIcon=o_,o.CalendarViewMonthIcon=r_,o.CalendarViewWeekIcon=t_,o.CallEndIcon=i_,o.CallIcon=c_,o.CallMadeIcon=a_,o.CallMergeIcon=l_,o.CallMissedIcon=s_,o.CallMissedOutgoingIcon=d_,o.CallReceivedIcon=u_,o.CallSplitIcon=f_,o.CallToActionIcon=A_,o.CameraAltIcon=y_,o.CameraEnhanceIcon=g_,o.CameraFrontIcon=h_,o.CameraIcon=__,o.CameraIndoorIcon=I_,o.CameraOutdoorIcon=b_,o.CameraRearIcon=p_,o.CameraRollIcon=w_,o.CameraswitchIcon=k_,o.CampaignIcon=m_,o.CancelIcon=v_,o.CancelPresentationIcon=K_,o.CancelScheduleSendIcon=C_,o.CandlestickChartIcon=S_,o.CarCrashIcon=B_,o.CarRentalIcon=E_,o.CarRepairIcon=F_,o.Card=ma,o.CardGiftcardIcon=P_,o.CardMembershipIcon=D_,o.CardTravelIcon=N_,o.CarpenterIcon=T_,o.CasesIcon=M_,o.CasinoIcon=O_,o.CastConnectedIcon=Q_,o.CastForEducationIcon=V_,o.CastIcon=L_,o.CastleIcon=W_,o.CatchingPokemonIcon=G_,o.CategoryIcon=z_,o.CelebrationIcon=H_,o.CellTowerIcon=U_,o.CellWifiIcon=Y_,o.CenterFocusStrongIcon=$_,o.CenterFocusWeakIcon=j_,o.CenteredView=Gt,o.ChairAltIcon=J_,o.ChairIcon=q_,o.ChaletIcon=Z_,o.ChangeCircleIcon=X_,o.ChangeHistoryIcon=x_,o.ChargingStationIcon=R_,o.ChatBubbleIcon=ny,o.ChatBubbleOutlineIcon=oy,o.ChatIcon=ey,o.CheckBoxIcon=ry,o.CheckBoxOutlineBlankIcon=ty,o.CheckCircleIcon=cy,o.CheckCircleOutlineIcon=iy,o.CheckIcon=dc,o.Checkbox=Yr,o.ChecklistIcon=ay,o.ChecklistRtlIcon=ly,o.CheckroomIcon=sy,o.ChevronLeftIcon=uc,o.ChevronRightIcon=dy,o.ChildCareIcon=uy,o.ChildFriendlyIcon=fy,o.Chip=No,o.ChromeReaderModeIcon=Ay,o.ChurchIcon=_y,o.CircleIcon=Ir,o.CircleNotificationsIcon=yy,o.CircularProgress=Gn,o.CircularProgressCenter=fo,o.ClassIcon=gy,o.CleanHandsIcon=hy,o.CleaningServicesIcon=Iy,o.ClearAllIcon=by,o.ClearIcon=dn,o.CloseFullscreenIcon=py,o.CloseIcon=br,o.ClosedCaptionDisabledIcon=ky,o.ClosedCaptionIcon=wy,o.ClosedCaptionOffIcon=my,o.CloudCircleIcon=Ky,o.CloudDoneIcon=Cy,o.CloudDownloadIcon=Sy,o.CloudIcon=vy,o.CloudOffIcon=By,o.CloudQueueIcon=Ey,o.CloudSyncIcon=Fy,o.CloudUploadIcon=Py,o.Co2Icon=Dy,o.CoPresentIcon=Ny,o.CodeIcon=Ty,o.CodeOffIcon=My,o.CoffeeIcon=Oy,o.CoffeeMakerIcon=Ly,o.Collapse=Xo,o.CollectionsBookmarkIcon=Vy,o.CollectionsIcon=Qy,o.ColorLensIcon=Wy,o.ColorizeIcon=Gy,o.CommentBankIcon=Hy,o.CommentIcon=zy,o.CommentsDisabledIcon=Uy,o.CommitIcon=Yy,o.CommuteIcon=$y,o.CompareArrowsIcon=qy,o.CompareIcon=jy,o.CompassCalibrationIcon=Jy,o.CompostIcon=Zy,o.CompressIcon=Xy,o.ComputerIcon=xy,o.ConfirmationNumberIcon=Ry,o.ConnectWithoutContactIcon=eg,o.ConnectedTvIcon=ng,o.ConnectingAirportsIcon=og,o.ConstructionIcon=rg,o.ContactEmergencyIcon=tg,o.ContactMailIcon=cg,o.ContactPageIcon=ig,o.ContactPhoneIcon=ag,o.ContactSupportIcon=lg,o.ContactlessIcon=sg,o.ContactsIcon=dg,o.Container=Wt,o.ContentCopyIcon=no,o.ContentCutIcon=ug,o.ContentPasteGoIcon=Ag,o.ContentPasteIcon=fg,o.ContentPasteOffIcon=_g,o.ContentPasteSearchIcon=yg,o.ContrastIcon=gg,o.ControlCameraIcon=hg,o.ControlPointDuplicateIcon=bg,o.ControlPointIcon=Ig,o.CookieIcon=pg,o.CopyAllIcon=wg,o.CopyrightIcon=kg,o.CoronavirusIcon=mg,o.CorporateFareIcon=vg,o.CottageIcon=Kg,o.CountertopsIcon=Cg,o.CreateIcon=Sg,o.CreateNewFolderIcon=Bg,o.CreditCardIcon=Eg,o.CreditCardOffIcon=Fg,o.CreditScoreIcon=Pg,o.CribIcon=Dg,o.CrisisAlertIcon=Ng,o.Crop169Icon=Mg,o.Crop32Icon=Og,o.Crop54Icon=Lg,o.Crop75Icon=Qg,o.CropDinIcon=Vg,o.CropFreeIcon=Wg,o.CropIcon=Tg,o.CropLandscapeIcon=Gg,o.CropOriginalIcon=zg,o.CropPortraitIcon=Hg,o.CropRotateIcon=Ug,o.CropSquareIcon=Yg,o.CrueltyFreeIcon=$g,o.CssIcon=jg,o.CurrencyBitcoinIcon=qg,o.CurrencyExchangeIcon=Jg,o.CurrencyFrancIcon=Zg,o.CurrencyLiraIcon=Xg,o.CurrencyPoundIcon=xg,o.CurrencyRubleIcon=Rg,o.CurrencyRupeeIcon=eh,o.CurrencyYenIcon=nh,o.CurrencyYuanIcon=oh,o.CurtainsClosedIcon=th,o.CurtainsIcon=rh,o.CycloneIcon=ch,o.DEFAULT_FIELD_CONFIGS=ft,o.DangerousIcon=ih,o.DarkModeIcon=fc,o.DashboardCustomizeIcon=lh,o.DashboardIcon=ah,o.DataArrayIcon=sh,o.DataExplorationIcon=dh,o.DataObjectIcon=uh,o.DataSaverOffIcon=fh,o.DataSaverOnIcon=Ah,o.DataThresholdingIcon=_h,o.DataUsageIcon=yh,o.DatasetIcon=gh,o.DatasetLinkedIcon=hh,o.DatePreview=li,o.DateRangeIcon=Ih,o.DateTimeField=Vn,o.DateTimeFieldBinding=ki,o.DeblurIcon=bh,o.DebouncedTextField=tl,o.DeckIcon=ph,o.DefaultHomePage=fa,o.DehazeIcon=wh,o.DeleteConfirmationDialog=l3,o.DeleteForeverIcon=kh,o.DeleteIcon=Fo,o.DeleteOutlineIcon=mh,o.DeleteSweepIcon=vh,o.DeliveryDiningIcon=Kh,o.DensityLargeIcon=Ch,o.DensityMediumIcon=Sh,o.DensitySmallIcon=Bh,o.DepartureBoardIcon=Eh,o.DescriptionIcon=Ac,o.DeselectIcon=Fh,o.DesignServicesIcon=Ph,o.DeskIcon=Dh,o.DesktopAccessDisabledIcon=Nh,o.DesktopMacIcon=Th,o.DesktopWindowsIcon=Mh,o.DetailsIcon=Oh,o.DeveloperBoardIcon=Lh,o.DeveloperBoardOffIcon=Qh,o.DeveloperModeIcon=Vh,o.DeviceHubIcon=Wh,o.DeviceThermostatIcon=Gh,o.DeviceUnknownIcon=zh,o.DevicesFoldIcon=Uh,o.DevicesIcon=Hh,o.DevicesOtherIcon=Yh,o.DialerSipIcon=$h,o.Dialog=xo,o.DialogActions=Kn,o.DialogContent=Ro,o.DialpadIcon=jh,o.DiamondIcon=qh,o.DifferenceIcon=Jh,o.DiningIcon=Zh,o.DinnerDiningIcon=Xh,o.DirectionsBikeIcon=Rh,o.DirectionsBoatFilledIcon=nI,o.DirectionsBoatIcon=eI,o.DirectionsBusFilledIcon=rI,o.DirectionsBusIcon=oI,o.DirectionsCarFilledIcon=cI,o.DirectionsCarIcon=tI,o.DirectionsIcon=xh,o.DirectionsOffIcon=iI,o.DirectionsRailwayFilledIcon=lI,o.DirectionsRailwayIcon=aI,o.DirectionsRunIcon=sI,o.DirectionsSubwayFilledIcon=uI,o.DirectionsSubwayIcon=dI,o.DirectionsTransitFilledIcon=AI,o.DirectionsTransitIcon=fI,o.DirectionsWalkIcon=_I,o.DirtyLensIcon=yI,o.DisabledByDefaultIcon=gI,o.DisabledVisibleIcon=hI,o.DiscFullIcon=II,o.DiscountIcon=bI,o.DisplaySettingsIcon=pI,o.Diversity1Icon=wI,o.Diversity2Icon=kI,o.Diversity3Icon=mI,o.DnsIcon=vI,o.DoDisturbAltIcon=CI,o.DoDisturbIcon=KI,o.DoDisturbOffIcon=SI,o.DoDisturbOnIcon=BI,o.DoNotDisturbAltIcon=FI,o.DoNotDisturbIcon=EI,o.DoNotDisturbOffIcon=PI,o.DoNotDisturbOnIcon=DI,o.DoNotDisturbOnTotalSilenceIcon=NI,o.DoNotStepIcon=TI,o.DoNotTouchIcon=MI,o.DockIcon=OI,o.DocumentScannerIcon=LI,o.DomainAddIcon=VI,o.DomainDisabledIcon=WI,o.DomainIcon=QI,o.DomainVerificationIcon=GI,o.DoneAllIcon=HI,o.DoneIcon=zI,o.DoneOutlineIcon=UI,o.DonutLargeIcon=YI,o.DonutSmallIcon=$I,o.DoorBackIcon=jI,o.DoorFrontIcon=qI,o.DoorSlidingIcon=JI,o.DoorbellIcon=ZI,o.DoubleArrowIcon=XI,o.DownhillSkiingIcon=xI,o.DownloadDoneIcon=eb,o.DownloadForOfflineIcon=nb,o.DownloadIcon=RI,o.DownloadingIcon=ob,o.DraftsIcon=rb,o.DragHandleIcon=tb,o.DragIndicatorIcon=cb,o.DrawIcon=ib,o.Drawer=wa,o.DrawerNavigationItem=Qt,o.DriveEtaIcon=ab,o.DriveFileMoveIcon=lb,o.DriveFileMoveRtlIcon=sb,o.DriveFileRenameOutlineIcon=db,o.DriveFolderUploadIcon=_c,o.DryCleaningIcon=fb,o.DryIcon=ub,o.DuoIcon=Ab,o.DvrIcon=_b,o.DynamicFeedIcon=yb,o.DynamicFormIcon=gb,o.EMobiledataIcon=hb,o.EarbudsBatteryIcon=bb,o.EarbudsIcon=Ib,o.EastIcon=pb,o.EdgesensorHighIcon=wb,o.EdgesensorLowIcon=kb,o.EditAttributesIcon=mb,o.EditCalendarIcon=vb,o.EditIcon=yc,o.EditLocationAltIcon=Cb,o.EditLocationIcon=Kb,o.EditNoteIcon=Sb,o.EditNotificationsIcon=Bb,o.EditOffIcon=Eb,o.EditRoadIcon=Fb,o.EggAltIcon=Db,o.EggIcon=Pb,o.EjectIcon=Nb,o.ElderlyIcon=Tb,o.ElderlyWomanIcon=Mb,o.ElectricBikeIcon=Ob,o.ElectricBoltIcon=Lb,o.ElectricCarIcon=Qb,o.ElectricMeterIcon=Vb,o.ElectricMopedIcon=Wb,o.ElectricRickshawIcon=Gb,o.ElectricScooterIcon=zb,o.ElectricalServicesIcon=Hb,o.ElevatorIcon=Ub,o.EmailIcon=gc,o.EmergencyIcon=Yb,o.EmergencyRecordingIcon=$b,o.EmergencyShareIcon=jb,o.EmojiEmotionsIcon=qb,o.EmojiEventsIcon=Jb,o.EmojiFoodBeverageIcon=Zb,o.EmojiNatureIcon=Xb,o.EmojiObjectsIcon=xb,o.EmojiPeopleIcon=Rb,o.EmojiSymbolsIcon=ep,o.EmojiTransportationIcon=np,o.EmptyValue=Fn,o.EnergySavingsLeafIcon=op,o.EngineeringIcon=rp,o.EnhancedEncryptionIcon=tp,o.EntityCollectionTable=Et,o.EntityCollectionView=Pt,o.EntityForm=Di,o.EntityPreview=bt,o.EntityReference=je,o.EnumValuesChip=Se,o.EqualizerIcon=cp,o.ErrorBoundary=le,o.ErrorIcon=pr,o.ErrorOutlineIcon=hc,o.ErrorView=be,o.EscalatorIcon=ip,o.EscalatorWarningIcon=ap,o.EuroIcon=lp,o.EuroSymbolIcon=sp,o.EvStationIcon=dp,o.EventAvailableIcon=fp,o.EventBusyIcon=Ap,o.EventIcon=up,o.EventNoteIcon=_p,o.EventRepeatIcon=yp,o.EventSeatIcon=gp,o.ExitToAppIcon=hp,o.ExpandCircleDownIcon=bp,o.ExpandIcon=Ip,o.ExpandLessIcon=pp,o.ExpandMoreIcon=Po,o.ExpandablePanel=_n,o.ExplicitIcon=wp,o.ExploreIcon=kp,o.ExploreOffIcon=mp,o.ExposureIcon=vp,o.ExposureNeg1Icon=Kp,o.ExposureNeg2Icon=Cp,o.ExposurePlus1Icon=Sp,o.ExposurePlus2Icon=Bp,o.ExposureZeroIcon=Ep,o.ExtensionIcon=Fp,o.ExtensionOffIcon=Pp,o.Face2Icon=Np,o.Face3Icon=Tp,o.Face4Icon=Mp,o.Face5Icon=Op,o.Face6Icon=Lp,o.FaceIcon=Dp,o.FaceRetouchingNaturalIcon=Qp,o.FaceRetouchingOffIcon=Vp,o.FactCheckIcon=Wp,o.FactoryIcon=Gp,o.FamilyRestroomIcon=zp,o.FastForwardIcon=Hp,o.FastRewindIcon=Up,o.FastfoodIcon=Yp,o.FavoriteBorderIcon=jp,o.FavoriteIcon=$p,o.FaxIcon=qp,o.FeaturedPlayListIcon=Jp,o.FeaturedVideoIcon=Zp,o.FeedIcon=Xp,o.FeedbackIcon=xp,o.FemaleIcon=Rp,o.FenceIcon=ew,o.FestivalIcon=nw,o.FiberDvrIcon=ow,o.FiberManualRecordIcon=rw,o.FiberNewIcon=tw,o.FiberPinIcon=cw,o.FiberSmartRecordIcon=iw,o.FieldConfigBadge=i3,o.FieldHelperText=Ke,o.FileCopyIcon=Ic,o.FileDownloadDoneIcon=lw,o.FileDownloadIcon=aw,o.FileDownloadOffIcon=sw,o.FileOpenIcon=dw,o.FilePresentIcon=uw,o.FileUpload=nU,o.FileUploadIcon=fw,o.Filter1Icon=_w,o.Filter2Icon=yw,o.Filter3Icon=gw,o.Filter4Icon=hw,o.Filter5Icon=Iw,o.Filter6Icon=bw,o.Filter7Icon=pw,o.Filter8Icon=ww,o.Filter9Icon=kw,o.Filter9PlusIcon=mw,o.FilterAltIcon=vw,o.FilterAltOffIcon=Kw,o.FilterBAndWIcon=Cw,o.FilterCenterFocusIcon=Sw,o.FilterDramaIcon=Bw,o.FilterFramesIcon=Ew,o.FilterHdrIcon=Fw,o.FilterIcon=Aw,o.FilterListIcon=bc,o.FilterListOffIcon=pc,o.FilterNoneIcon=Pw,o.FilterTiltShiftIcon=Dw,o.FilterVintageIcon=Nw,o.FindInPageIcon=Tw,o.FindReplaceIcon=Mw,o.FingerprintIcon=Ow,o.FireCMS=S3,o.FireCMSAppBar=ya,o.FireCMSContextInstance=Br,o.FireCMSLogo=_a,o.FireExtinguisherIcon=Lw,o.FireHydrantAltIcon=Qw,o.FireTruckIcon=Vw,o.FireplaceIcon=Ww,o.FirstPageIcon=Gw,o.FitScreenIcon=zw,o.FitbitIcon=Hw,o.FitnessCenterIcon=Uw,o.FlagCircleIcon=Yw,o.FlagIcon=wc,o.FlakyIcon=$w,o.FlareIcon=jw,o.FlashAutoIcon=qw,o.FlashOffIcon=Jw,o.FlashOnIcon=Zw,o.FlashlightOffIcon=Xw,o.FlashlightOnIcon=xw,o.FlatwareIcon=Rw,o.FlightClassIcon=nk,o.FlightIcon=ek,o.FlightLandIcon=ok,o.FlightTakeoffIcon=rk,o.FlipCameraAndroidIcon=ck,o.FlipCameraIosIcon=ik,o.FlipIcon=tk,o.FlipToBackIcon=ak,o.FlipToFrontIcon=lk,o.FloodIcon=sk,o.FluorescentIcon=dk,o.FlutterDashIcon=uk,o.FmdBadIcon=fk,o.FmdGoodIcon=Ak,o.FolderCopyIcon=yk,o.FolderDeleteIcon=gk,o.FolderIcon=_k,o.FolderOffIcon=hk,o.FolderOpenIcon=Ik,o.FolderSharedIcon=bk,o.FolderSpecialIcon=pk,o.FolderZipIcon=wk,o.FollowTheSignsIcon=kk,o.FontDownloadIcon=mk,o.FontDownloadOffIcon=vk,o.FoodBankIcon=Kk,o.ForestIcon=Ck,o.ForkLeftIcon=Sk,o.ForkRightIcon=Bk,o.FormatAlignCenterIcon=Ek,o.FormatAlignJustifyIcon=Fk,o.FormatAlignLeftIcon=Pk,o.FormatAlignRightIcon=Dk,o.FormatBoldIcon=Nk,o.FormatClearIcon=Tk,o.FormatColorFillIcon=Mk,o.FormatColorResetIcon=Ok,o.FormatColorTextIcon=Lk,o.FormatIndentDecreaseIcon=Qk,o.FormatIndentIncreaseIcon=Vk,o.FormatItalicIcon=Wk,o.FormatLineSpacingIcon=Gk,o.FormatListBulletedIcon=zk,o.FormatListNumberedIcon=wr,o.FormatListNumberedRtlIcon=Hk,o.FormatOverlineIcon=Uk,o.FormatPaintIcon=Yk,o.FormatQuoteIcon=kc,o.FormatShapesIcon=$k,o.FormatSizeIcon=jk,o.FormatStrikethroughIcon=qk,o.FormatTextdirectionLToRIcon=Jk,o.FormatTextdirectionRToLIcon=Zk,o.FormatUnderlinedIcon=Xk,o.FormikArrayContainer=Bo,o.FortIcon=xk,o.ForumIcon=Rk,o.Forward10Icon=nm,o.Forward30Icon=om,o.Forward5Icon=rm,o.ForwardIcon=em,o.ForwardToInboxIcon=tm,o.FoundationIcon=cm,o.FreeBreakfastIcon=im,o.FreeCancellationIcon=am,o.FrontHandIcon=lm,o.FullscreenExitIcon=dm,o.FullscreenIcon=sm,o.FunctionsIcon=mc,o.GMobiledataIcon=um,o.GTranslateIcon=fm,o.GamepadIcon=Am,o.GamesIcon=_m,o.GarageIcon=ym,o.GasMeterIcon=gm,o.GavelIcon=hm,o.GeneratingTokensIcon=Im,o.GeoPoint=ar,o.GestureIcon=bm,o.GetAppIcon=pm,o.GifBoxIcon=km,o.GifIcon=wm,o.GirlIcon=mm,o.GitHubIcon=al,o.GiteIcon=vm,o.GolfCourseIcon=Km,o.GppBadIcon=Cm,o.GppGoodIcon=Sm,o.GppMaybeIcon=Bm,o.GpsFixedIcon=Em,o.GpsNotFixedIcon=Fm,o.GpsOffIcon=Pm,o.GradeIcon=Dm,o.GradientIcon=Nm,o.GradingIcon=Tm,o.GrainIcon=Mm,o.GraphicEqIcon=Om,o.GrassIcon=Lm,o.Grid3x3Icon=Qm,o.Grid4x4Icon=Vm,o.GridGoldenratioIcon=Wm,o.GridOffIcon=Gm,o.GridOnIcon=zm,o.GridViewIcon=Hm,o.GroupAddIcon=Ym,o.GroupIcon=Um,o.GroupOffIcon=$m,o.GroupRemoveIcon=jm,o.GroupWorkIcon=qm,o.Groups2Icon=Zm,o.Groups3Icon=Xm,o.GroupsIcon=Jm,o.HMobiledataIcon=xm,o.HPlusMobiledataIcon=Rm,o.HailIcon=ev,o.HandshakeIcon=nv,o.HandymanIcon=ov,o.HardwareIcon=rv,o.HdIcon=tv,o.HdrAutoIcon=cv,o.HdrAutoSelectIcon=iv,o.HdrEnhancedSelectIcon=av,o.HdrOffIcon=lv,o.HdrOffSelectIcon=sv,o.HdrOnIcon=dv,o.HdrOnSelectIcon=uv,o.HdrPlusIcon=fv,o.HdrStrongIcon=Av,o.HdrWeakIcon=_v,o.HeadphonesBatteryIcon=gv,o.HeadphonesIcon=yv,o.HeadsetIcon=hv,o.HeadsetMicIcon=Iv,o.HeadsetOffIcon=bv,o.HealingIcon=pv,o.HealthAndSafetyIcon=wv,o.HearingDisabledIcon=mv,o.HearingIcon=kv,o.HeartBrokenIcon=vv,o.HeatPumpIcon=Kv,o.HeightIcon=Cv,o.HelpCenterIcon=Bv,o.HelpIcon=Sv,o.HelpOutlineIcon=Ev,o.HevcIcon=Fv,o.HexagonIcon=Pv,o.HideImageIcon=Dv,o.HideSourceIcon=Nv,o.HighQualityIcon=Tv,o.HighlightAltIcon=Ov,o.HighlightIcon=Mv,o.HighlightOffIcon=Lv,o.HikingIcon=Qv,o.HistoryEduIcon=Wv,o.HistoryIcon=Vv,o.HistoryToggleOffIcon=Gv,o.HiveIcon=zv,o.HlsIcon=Hv,o.HlsOffIcon=Uv,o.HolidayVillageIcon=Yv,o.HomeIcon=$v,o.HomeMaxIcon=jv,o.HomeMiniIcon=qv,o.HomeRepairServiceIcon=Jv,o.HomeWorkIcon=Zv,o.HorizontalDistributeIcon=Xv,o.HorizontalRuleIcon=xv,o.HorizontalSplitIcon=Rv,o.HotTubIcon=e0,o.HotelClassIcon=o0,o.HotelIcon=n0,o.HourglassBottomIcon=r0,o.HourglassDisabledIcon=t0,o.HourglassEmptyIcon=c0,o.HourglassFullIcon=i0,o.HourglassTopIcon=a0,o.HouseIcon=l0,o.HouseSidingIcon=s0,o.HouseboatIcon=d0,o.HowToRegIcon=u0,o.HowToVoteIcon=f0,o.HtmlIcon=A0,o.HttpIcon=vc,o.HttpsIcon=_0,o.HubIcon=y0,o.HvacIcon=g0,o.IceSkatingIcon=h0,o.IcecreamIcon=I0,o.Icon=r,o.IconButton=x,o.ImageAspectRatioIcon=p0,o.ImageIcon=b0,o.ImageNotSupportedIcon=w0,o.ImagePreview=qc,o.ImageSearchIcon=k0,o.ImagesearchRollerIcon=m0,o.ImportContactsIcon=v0,o.ImportExportIcon=K0,o.ImportantDevicesIcon=C0,o.InboxIcon=S0,o.IncompleteCircleIcon=B0,o.IndeterminateCheckBoxIcon=E0,o.InfoIcon=Kc,o.InfoLabel=d3,o.InputIcon=F0,o.InputLabel=St,o.InsertChartIcon=P0,o.InsertChartOutlinedIcon=D0,o.InsertCommentIcon=N0,o.InsertDriveFileIcon=T0,o.InsertEmoticonIcon=M0,o.InsertInvitationIcon=O0,o.InsertLinkIcon=L0,o.InsertPageBreakIcon=Q0,o.InsertPhotoIcon=V0,o.InsightsIcon=W0,o.InstallDesktopIcon=G0,o.InstallMobileIcon=z0,o.IntegrationInstructionsIcon=H0,o.InterestsIcon=U0,o.InterpreterModeIcon=Y0,o.Inventory2Icon=j0,o.InventoryIcon=$0,o.InvertColorsIcon=q0,o.InvertColorsOffIcon=J0,o.IosShareIcon=Z0,o.IronIcon=X0,o.IsoIcon=x0,o.JavascriptIcon=R0,o.JoinFullIcon=eK,o.JoinInnerIcon=nK,o.JoinLeftIcon=oK,o.JoinRightIcon=rK,o.KayakingIcon=tK,o.KebabDiningIcon=cK,o.KeyIcon=iK,o.KeyOffIcon=aK,o.KeyValueFieldBinding=Ki,o.KeyValuePreview=Ur,o.KeyboardAltIcon=sK,o.KeyboardArrowDownIcon=dK,o.KeyboardArrowLeftIcon=uK,o.KeyboardArrowRightIcon=fK,o.KeyboardArrowUpIcon=AK,o.KeyboardBackspaceIcon=_K,o.KeyboardCapslockIcon=yK,o.KeyboardCommandKeyIcon=gK,o.KeyboardControlKeyIcon=hK,o.KeyboardDoubleArrowDownIcon=IK,o.KeyboardDoubleArrowLeftIcon=bK,o.KeyboardDoubleArrowRightIcon=pK,o.KeyboardDoubleArrowUpIcon=wK,o.KeyboardHideIcon=kK,o.KeyboardIcon=lK,o.KeyboardOptionKeyIcon=mK,o.KeyboardReturnIcon=vK,o.KeyboardTabIcon=Do,o.KeyboardVoiceIcon=KK,o.KingBedIcon=CK,o.KitchenIcon=SK,o.KitesurfingIcon=BK,o.LabelIcon=EK,o.LabelImportantIcon=FK,o.LabelOffIcon=PK,o.LabelWithIcon=ve,o.LanIcon=DK,o.LandscapeIcon=NK,o.LandslideIcon=TK,o.LanguageIcon=MK,o.LaptopChromebookIcon=LK,o.LaptopIcon=OK,o.LaptopMacIcon=QK,o.LaptopWindowsIcon=VK,o.LastPageIcon=WK,o.LaunchIcon=GK,o.LayersClearIcon=HK,o.LayersIcon=zK,o.LeaderboardIcon=UK,o.LeakAddIcon=YK,o.LeakRemoveIcon=$K,o.LegendToggleIcon=jK,o.LensBlurIcon=JK,o.LensIcon=qK,o.LibraryAddCheckIcon=XK,o.LibraryAddIcon=ZK,o.LibraryBooksIcon=xK,o.LibraryMusicIcon=RK,o.LightIcon=eC,o.LightModeIcon=Cc,o.LightbulbCircleIcon=oC,o.LightbulbIcon=nC,o.LineAxisIcon=rC,o.LineStyleIcon=tC,o.LineWeightIcon=cC,o.LinearScaleIcon=iC,o.LinkIcon=Sc,o.LinkOffIcon=aC,o.LinkedCameraIcon=lC,o.LiquorIcon=sC,o.ListAltIcon=Ec,o.ListIcon=Bc,o.LiveHelpIcon=dC,o.LiveTvIcon=uC,o.LivingIcon=fC,o.LoadingButton=va,o.LocalActivityIcon=AC,o.LocalAirportIcon=_C,o.LocalAtmIcon=yC,o.LocalBarIcon=gC,o.LocalCafeIcon=hC,o.LocalCarWashIcon=IC,o.LocalConvenienceStoreIcon=bC,o.LocalDiningIcon=pC,o.LocalDrinkIcon=wC,o.LocalFireDepartmentIcon=kC,o.LocalFloristIcon=mC,o.LocalGasStationIcon=vC,o.LocalGroceryStoreIcon=KC,o.LocalHospitalIcon=CC,o.LocalHotelIcon=SC,o.LocalLaundryServiceIcon=BC,o.LocalLibraryIcon=EC,o.LocalMallIcon=FC,o.LocalMoviesIcon=PC,o.LocalOfferIcon=DC,o.LocalParkingIcon=NC,o.LocalPharmacyIcon=TC,o.LocalPhoneIcon=MC,o.LocalPizzaIcon=OC,o.LocalPlayIcon=LC,o.LocalPoliceIcon=QC,o.LocalPostOfficeIcon=VC,o.LocalPrintshopIcon=WC,o.LocalSeeIcon=GC,o.LocalShippingIcon=zC,o.LocalTaxiIcon=HC,o.LocationCityIcon=UC,o.LocationDisabledIcon=YC,o.LocationOffIcon=$C,o.LocationOnIcon=jC,o.LocationSearchingIcon=qC,o.LockClockIcon=ZC,o.LockIcon=JC,o.LockOpenIcon=XC,o.LockPersonIcon=xC,o.LockResetIcon=RC,o.LoginIcon=eS,o.LogoDevIcon=nS,o.LogoutIcon=Fc,o.Looks3Icon=rS,o.Looks4Icon=tS,o.Looks5Icon=cS,o.Looks6Icon=iS,o.LooksIcon=oS,o.LooksOneIcon=aS,o.LooksTwoIcon=lS,o.LoopIcon=sS,o.LoupeIcon=dS,o.LowPriorityIcon=uS,o.LoyaltyIcon=fS,o.LteMobiledataIcon=AS,o.LtePlusMobiledataIcon=_S,o.LuggageIcon=yS,o.LunchDiningIcon=gS,o.LyricsIcon=hS,o.MacroOffIcon=IS,o.MailIcon=bS,o.MailLockIcon=pS,o.MailOutlineIcon=wS,o.MaleIcon=kS,o.Man2Icon=vS,o.Man3Icon=KS,o.Man4Icon=CS,o.ManIcon=mS,o.ManageAccountsIcon=SS,o.ManageHistoryIcon=BS,o.ManageSearchIcon=ES,o.MapFieldBinding=vi,o.MapIcon=FS,o.MapPropertyPreview=ii,o.MapsHomeWorkIcon=PS,o.MapsUgcIcon=DS,o.MarginIcon=NS,o.MarkAsUnreadIcon=TS,o.MarkChatReadIcon=MS,o.MarkChatUnreadIcon=OS,o.MarkEmailReadIcon=LS,o.MarkEmailUnreadIcon=QS,o.MarkUnreadChatAltIcon=VS,o.Markdown=ao,o.MarkdownFieldBinding=Bi,o.MarkunreadIcon=WS,o.MarkunreadMailboxIcon=GS,o.MasksIcon=zS,o.MaximizeIcon=HS,o.MediaBluetoothOffIcon=US,o.MediaBluetoothOnIcon=YS,o.MediationIcon=$S,o.MedicalInformationIcon=jS,o.MedicalServicesIcon=qS,o.MedicationIcon=JS,o.MedicationLiquidIcon=ZS,o.MeetingRoomIcon=XS,o.MemoryIcon=xS,o.Menu=Qn,o.MenuBookIcon=RS,o.MenuIcon=kr,o.MenuItem=me,o.MenuOpenIcon=eB,o.MergeIcon=nB,o.MergeTypeIcon=oB,o.MessageIcon=rB,o.MicExternalOffIcon=cB,o.MicExternalOnIcon=iB,o.MicIcon=tB,o.MicNoneIcon=aB,o.MicOffIcon=lB,o.MicrowaveIcon=sB,o.MilitaryTechIcon=dB,o.MinimizeIcon=uB,o.MinorCrashIcon=fB,o.MiscellaneousServicesIcon=AB,o.MissedVideoCallIcon=_B,o.MmsIcon=yB,o.MobileFriendlyIcon=gB,o.MobileOffIcon=hB,o.MobileScreenShareIcon=IB,o.MobiledataOffIcon=bB,o.ModeCommentIcon=wB,o.ModeControllerProvider=Ja,o.ModeEditIcon=kB,o.ModeEditOutlineIcon=mB,o.ModeFanOffIcon=vB,o.ModeIcon=pB,o.ModeNightIcon=KB,o.ModeOfTravelIcon=CB,o.ModeStandbyIcon=SB,o.ModelTrainingIcon=BB,o.MonetizationOnIcon=EB,o.MoneyIcon=FB,o.MoneyOffCsredIcon=DB,o.MoneyOffIcon=PB,o.MonitorHeartIcon=TB,o.MonitorIcon=NB,o.MonitorWeightIcon=MB,o.MonochromePhotosIcon=OB,o.MoodBadIcon=QB,o.MoodIcon=LB,o.MopedIcon=VB,o.MoreHorizIcon=GB,o.MoreIcon=WB,o.MoreTimeIcon=zB,o.MoreVertIcon=mr,o.MosqueIcon=HB,o.MotionPhotosAutoIcon=UB,o.MotionPhotosOffIcon=YB,o.MotionPhotosOnIcon=$B,o.MotionPhotosPauseIcon=jB,o.MotionPhotosPausedIcon=qB,o.MouseIcon=JB,o.MoveDownIcon=ZB,o.MoveToInboxIcon=XB,o.MoveUpIcon=xB,o.MovieCreationIcon=eE,o.MovieFilterIcon=nE,o.MovieIcon=RB,o.MovingIcon=oE,o.MpIcon=rE,o.MultiSelect=qr,o.MultiSelectBinding=Zr,o.MultiSelectContext=jr,o.MultiSelectItem=Jr,o.MultilineChartIcon=tE,o.MultipleStopIcon=cE,o.MuseumIcon=iE,o.MusicNoteIcon=aE,o.MusicOffIcon=lE,o.MusicVideoIcon=sE,o.MyLocationIcon=dE,o.NatIcon=uE,o.NatureIcon=fE,o.NaturePeopleIcon=AE,o.NavigateBeforeIcon=_E,o.NavigateNextIcon=yE,o.NavigationCollectionCard=ua,o.NavigationGroup=Nt,o.NavigationIcon=gE,o.NavigationRoutes=N3,o.NearMeDisabledIcon=IE,o.NearMeIcon=hE,o.NearbyErrorIcon=bE,o.NearbyOffIcon=pE,o.NestCamWiredStandIcon=wE,o.NetworkCellIcon=kE,o.NetworkCheckIcon=mE,o.NetworkLockedIcon=vE,o.NetworkPingIcon=KE,o.NetworkWifi1BarIcon=SE,o.NetworkWifi2BarIcon=BE,o.NetworkWifi3BarIcon=EE,o.NetworkWifiIcon=CE,o.NewLabelIcon=FE,o.NewReleasesIcon=PE,o.NewspaperIcon=DE,o.NextPlanIcon=NE,o.NextWeekIcon=TE,o.NfcIcon=ME,o.NightShelterIcon=OE,o.NightlifeIcon=LE,o.NightlightIcon=QE,o.NightlightRoundIcon=VE,o.NightsStayIcon=WE,o.NoAccountsIcon=GE,o.NoAdultContentIcon=zE,o.NoBackpackIcon=HE,o.NoCellIcon=UE,o.NoCrashIcon=YE,o.NoDrinksIcon=$E,o.NoEncryptionGmailerrorredIcon=qE,o.NoEncryptionIcon=jE,o.NoFlashIcon=JE,o.NoFoodIcon=ZE,o.NoLuggageIcon=XE,o.NoMealsIcon=xE,o.NoMeetingRoomIcon=RE,o.NoPhotographyIcon=eF,o.NoSimIcon=nF,o.NoStrollerIcon=oF,o.NoTransferIcon=rF,o.NoiseAwareIcon=tF,o.NoiseControlOffIcon=cF,o.NordicWalkingIcon=iF,o.NorthEastIcon=lF,o.NorthIcon=aF,o.NorthWestIcon=sF,o.NotAccessibleIcon=dF,o.NotFoundPage=Aa,o.NotInterestedIcon=uF,o.NotListedLocationIcon=fF,o.NotStartedIcon=AF,o.NoteAddIcon=yF,o.NoteAltIcon=gF,o.NoteIcon=_F,o.NotesIcon=hF,o.NotificationAddIcon=IF,o.NotificationImportantIcon=bF,o.NotificationsActiveIcon=wF,o.NotificationsIcon=pF,o.NotificationsNoneIcon=kF,o.NotificationsOffIcon=mF,o.NotificationsPausedIcon=vF,o.NumberPropertyPreview=di,o.NumbersIcon=Pc,o.OfflineBoltIcon=KF,o.OfflinePinIcon=CF,o.OfflineShareIcon=SF,o.OilBarrelIcon=BF,o.OnDeviceTrainingIcon=EF,o.OndemandVideoIcon=FF,o.OnlinePredictionIcon=PF,o.OpacityIcon=DF,o.OpenInBrowserIcon=NF,o.OpenInFullIcon=TF,o.OpenInNewIcon=oo,o.OpenInNewOffIcon=MF,o.OpenWithIcon=OF,o.OtherHousesIcon=LF,o.OutboundIcon=QF,o.OutboxIcon=VF,o.OutdoorGrillIcon=WF,o.OutletIcon=GF,o.OutlinedFlagIcon=zF,o.OutputIcon=HF,o.PaddingIcon=UF,o.PagesIcon=YF,o.PageviewIcon=$F,o.PaidIcon=jF,o.PaletteIcon=qF,o.PanToolAltIcon=ZF,o.PanToolIcon=JF,o.PanoramaFishEyeIcon=xF,o.PanoramaHorizontalIcon=RF,o.PanoramaHorizontalSelectIcon=eP,o.PanoramaIcon=XF,o.PanoramaPhotosphereIcon=nP,o.PanoramaPhotosphereSelectIcon=oP,o.PanoramaVerticalIcon=rP,o.PanoramaVerticalSelectIcon=tP,o.PanoramaWideAngleIcon=cP,o.PanoramaWideAngleSelectIcon=iP,o.Paper=oU,o.ParaglidingIcon=aP,o.ParkIcon=lP,o.PartyModeIcon=sP,o.PasswordIcon=dP,o.PatternIcon=uP,o.PauseCircleFilledIcon=_P,o.PauseCircleIcon=AP,o.PauseCircleOutlineIcon=yP,o.PauseIcon=fP,o.PausePresentationIcon=gP,o.PaymentIcon=hP,o.PaymentsIcon=IP,o.PedalBikeIcon=bP,o.PendingActionsIcon=wP,o.PendingIcon=pP,o.PentagonIcon=kP,o.PeopleAltIcon=vP,o.PeopleIcon=mP,o.PeopleOutlineIcon=KP,o.PercentIcon=CP,o.PermCameraMicIcon=SP,o.PermContactCalendarIcon=BP,o.PermDataSettingIcon=EP,o.PermDeviceInformationIcon=FP,o.PermIdentityIcon=PP,o.PermMediaIcon=DP,o.PermPhoneMsgIcon=NP,o.PermScanWifiIcon=TP,o.Person2Icon=OP,o.Person3Icon=LP,o.Person4Icon=QP,o.PersonAddAlt1Icon=GP,o.PersonAddAltIcon=WP,o.PersonAddDisabledIcon=zP,o.PersonAddIcon=VP,o.PersonIcon=MP,o.PersonOffIcon=HP,o.PersonOutlineIcon=UP,o.PersonPinCircleIcon=$P,o.PersonPinIcon=YP,o.PersonRemoveAlt1Icon=qP,o.PersonRemoveIcon=jP,o.PersonSearchIcon=JP,o.PersonalInjuryIcon=ZP,o.PersonalVideoIcon=XP,o.PestControlIcon=xP,o.PestControlRodentIcon=RP,o.PetsIcon=e1,o.PhishingIcon=n1,o.PhoneAndroidIcon=r1,o.PhoneBluetoothSpeakerIcon=t1,o.PhoneCallbackIcon=c1,o.PhoneDisabledIcon=i1,o.PhoneEnabledIcon=a1,o.PhoneForwardedIcon=l1,o.PhoneIcon=o1,o.PhoneIphoneIcon=s1,o.PhoneLockedIcon=d1,o.PhoneMissedIcon=u1,o.PhonePausedIcon=f1,o.PhonelinkEraseIcon=_1,o.PhonelinkIcon=A1,o.PhonelinkLockIcon=y1,o.PhonelinkOffIcon=g1,o.PhonelinkRingIcon=h1,o.PhonelinkSetupIcon=I1,o.PhotoAlbumIcon=p1,o.PhotoCameraBackIcon=k1,o.PhotoCameraFrontIcon=m1,o.PhotoCameraIcon=w1,o.PhotoFilterIcon=v1,o.PhotoIcon=b1,o.PhotoLibraryIcon=K1,o.PhotoSizeSelectActualIcon=C1,o.PhotoSizeSelectLargeIcon=S1,o.PhotoSizeSelectSmallIcon=B1,o.PhpIcon=E1,o.PianoIcon=F1,o.PianoOffIcon=P1,o.PictureAsPdfIcon=D1,o.PictureInPictureAltIcon=T1,o.PictureInPictureIcon=N1,o.PieChartIcon=M1,o.PieChartOutlineIcon=O1,o.PinDropIcon=Q1,o.PinEndIcon=V1,o.PinIcon=L1,o.PinInvokeIcon=W1,o.PinchIcon=G1,o.PivotTableChartIcon=z1,o.PixIcon=H1,o.PlaceIcon=U1,o.PlagiarismIcon=Y1,o.PlayArrowIcon=$1,o.PlayCircleFilledIcon=q1,o.PlayCircleIcon=j1,o.PlayCircleOutlineIcon=J1,o.PlayDisabledIcon=Z1,o.PlayForWorkIcon=X1,o.PlayLessonIcon=x1,o.PlaylistAddCheckCircleIcon=nD,o.PlaylistAddCheckIcon=eD,o.PlaylistAddCircleIcon=oD,o.PlaylistAddIcon=R1,o.PlaylistPlayIcon=rD,o.PlaylistRemoveIcon=tD,o.PlumbingIcon=cD,o.PlusOneIcon=iD,o.PodcastsIcon=aD,o.PointOfSaleIcon=lD,o.PolicyIcon=sD,o.PollIcon=dD,o.PolylineIcon=uD,o.PolymerIcon=fD,o.PoolIcon=AD,o.Popover=jo,o.PortableWifiOffIcon=_D,o.PortraitIcon=yD,o.PostAddIcon=gD,o.PowerIcon=hD,o.PowerInputIcon=ID,o.PowerOffIcon=bD,o.PowerSettingsNewIcon=pD,o.PrecisionManufacturingIcon=wD,o.PregnantWomanIcon=kD,o.PresentToAllIcon=mD,o.PreviewIcon=vD,o.PriceChangeIcon=KD,o.PriceCheckIcon=CD,o.PrintDisabledIcon=BD,o.PrintIcon=SD,o.PriorityHighIcon=ED,o.PrivacyTipIcon=FD,o.PrivateConnectivityIcon=PD,o.ProductionQuantityLimitsIcon=DD,o.PropaneIcon=ND,o.PropaneTankIcon=TD,o.PropertyFieldBinding=mn,o.PropertyPreview=Ce,o.PsychologyAltIcon=OD,o.PsychologyIcon=MD,o.PublicIcon=LD,o.PublicOffIcon=QD,o.PublishIcon=VD,o.PublishedWithChangesIcon=WD,o.PunchClockIcon=GD,o.PushPinIcon=zD,o.QrCode2Icon=UD,o.QrCodeIcon=HD,o.QrCodeScannerIcon=YD,o.QueryBuilderIcon=$D,o.QueryStatsIcon=jD,o.QuestionAnswerIcon=qD,o.QuestionMarkIcon=JD,o.QueueIcon=ZD,o.QueueMusicIcon=XD,o.QueuePlayNextIcon=xD,o.QuickreplyIcon=RD,o.QuizIcon=eN,o.RMobiledataIcon=nN,o.RadarIcon=oN,o.RadioButtonCheckedIcon=tN,o.RadioButtonUncheckedIcon=cN,o.RadioIcon=rN,o.RailwayAlertIcon=iN,o.RamenDiningIcon=aN,o.RampLeftIcon=lN,o.RampRightIcon=sN,o.RateReviewIcon=dN,o.RawOffIcon=uN,o.RawOnIcon=fN,o.ReadMoreIcon=AN,o.ReadOnlyFieldBinding=nt,o.RealEstateAgentIcon=_N,o.ReceiptIcon=yN,o.ReceiptLongIcon=gN,o.RecentActorsIcon=hN,o.RecommendIcon=IN,o.RecordVoiceOverIcon=bN,o.RectangleIcon=pN,o.RecyclingIcon=wN,o.RedeemIcon=kN,o.RedoIcon=mN,o.ReduceCapacityIcon=vN,o.ReferenceFieldBinding=mi,o.ReferencePreview=on,o.ReferencePreviewContainer=To,o.ReferenceSelectionInner=da,o.RefreshIcon=KN,o.RememberMeIcon=CN,o.RemoveCircleIcon=Dc,o.RemoveCircleOutlineIcon=SN,o.RemoveDoneIcon=BN,o.RemoveFromQueueIcon=EN,o.RemoveIcon=ro,o.RemoveModeratorIcon=FN,o.RemoveRedEyeIcon=PN,o.RemoveRoadIcon=DN,o.RemoveShoppingCartIcon=NN,o.ReorderIcon=TN,o.RepartitionIcon=MN,o.RepeatFieldBinding=Ci,o.RepeatIcon=vr,o.RepeatOnIcon=ON,o.RepeatOneIcon=LN,o.RepeatOneOnIcon=QN,o.Replay10Icon=WN,o.Replay30Icon=GN,o.Replay5Icon=zN,o.ReplayCircleFilledIcon=HN,o.ReplayIcon=VN,o.ReplyAllIcon=YN,o.ReplyIcon=UN,o.ReportGmailerrorredIcon=jN,o.ReportIcon=$N,o.ReportOffIcon=qN,o.ReportProblemIcon=JN,o.RequestPageIcon=ZN,o.RequestQuoteIcon=XN,o.ResetTvIcon=xN,o.RestartAltIcon=RN,o.RestaurantIcon=eT,o.RestaurantMenuIcon=nT,o.RestoreFromTrashIcon=rT,o.RestoreIcon=oT,o.RestorePageIcon=tT,o.ReviewsIcon=cT,o.RiceBowlIcon=iT,o.RingVolumeIcon=aT,o.RocketIcon=lT,o.RocketLaunchIcon=sT,o.RollerShadesClosedIcon=uT,o.RollerShadesIcon=dT,o.RollerSkatingIcon=fT,o.RoofingIcon=AT,o.RoomIcon=_T,o.RoomPreferencesIcon=yT,o.RoomServiceIcon=gT,o.Rotate90DegreesCcwIcon=hT,o.Rotate90DegreesCwIcon=IT,o.RotateLeftIcon=bT,o.RotateRightIcon=pT,o.RoundaboutLeftIcon=wT,o.RoundaboutRightIcon=kT,o.RoundedCornerIcon=mT,o.RouteIcon=vT,o.RouteWrapper=Zo,o.RouterIcon=KT,o.RowingIcon=CT,o.RssFeedIcon=ST,o.RsvpIcon=BT,o.RttIcon=ET,o.RuleFolderIcon=PT,o.RuleIcon=FT,o.RunCircleIcon=DT,o.RunningWithErrorsIcon=NT,o.RvHookupIcon=TT,o.SafetyCheckIcon=MT,o.SafetyDividerIcon=OT,o.SailingIcon=LT,o.SanitizerIcon=QT,o.SatelliteAltIcon=WT,o.SatelliteIcon=VT,o.SaveAltIcon=zT,o.SaveAsIcon=HT,o.SaveIcon=GT,o.SavedSearchIcon=UT,o.SavingsIcon=YT,o.Scaffold=F3,o.ScaleIcon=$T,o.ScannerIcon=jT,o.ScatterPlotIcon=qT,o.ScheduleIcon=Nc,o.ScheduleSendIcon=JT,o.SchemaIcon=ZT,o.SchoolIcon=XT,o.ScienceIcon=xT,o.ScoreIcon=RT,o.ScoreboardIcon=eM,o.ScreenLockLandscapeIcon=nM,o.ScreenLockPortraitIcon=oM,o.ScreenLockRotationIcon=rM,o.ScreenRotationAltIcon=cM,o.ScreenRotationIcon=tM,o.ScreenSearchDesktopIcon=iM,o.ScreenShareIcon=aM,o.ScreenshotIcon=lM,o.ScreenshotMonitorIcon=sM,o.ScubaDivingIcon=dM,o.SdCardAlertIcon=AM,o.SdCardIcon=fM,o.SdIcon=uM,o.SdStorageIcon=_M,o.SearchBar=zt,o.SearchIcon=yr,o.SearchOffIcon=yM,o.SecurityIcon=gM,o.SecurityUpdateGoodIcon=IM,o.SecurityUpdateIcon=hM,o.SecurityUpdateWarningIcon=bM,o.SegmentIcon=pM,o.Select=Xe,o.SelectAllIcon=wM,o.SelectFieldBinding=$r,o.SelectGroup=rU,o.SelectItem=xe,o.SelfImprovementIcon=kM,o.SellIcon=mM,o.SendAndArchiveIcon=KM,o.SendIcon=vM,o.SendTimeExtensionIcon=CM,o.SendToMobileIcon=SM,o.SensorDoorIcon=BM,o.SensorOccupiedIcon=EM,o.SensorWindowIcon=FM,o.SensorsIcon=PM,o.SensorsOffIcon=DM,o.SentimentDissatisfiedIcon=NM,o.SentimentNeutralIcon=TM,o.SentimentSatisfiedAltIcon=OM,o.SentimentSatisfiedIcon=MM,o.SentimentVeryDissatisfiedIcon=LM,o.SentimentVerySatisfiedIcon=QM,o.SetMealIcon=VM,o.SettingsAccessibilityIcon=GM,o.SettingsApplicationsIcon=zM,o.SettingsBackupRestoreIcon=HM,o.SettingsBluetoothIcon=UM,o.SettingsBrightnessIcon=YM,o.SettingsCellIcon=$M,o.SettingsEthernetIcon=jM,o.SettingsIcon=WM,o.SettingsInputAntennaIcon=qM,o.SettingsInputComponentIcon=JM,o.SettingsInputCompositeIcon=ZM,o.SettingsInputHdmiIcon=XM,o.SettingsInputSvideoIcon=xM,o.SettingsOverscanIcon=RM,o.SettingsPhoneIcon=e2,o.SettingsPowerIcon=n2,o.SettingsRemoteIcon=o2,o.SettingsSuggestIcon=r2,o.SettingsSystemDaydreamIcon=t2,o.SettingsVoiceIcon=c2,o.SevereColdIcon=i2,o.ShapeLineIcon=a2,o.ShareIcon=l2,o.ShareLocationIcon=s2,o.Sheet=Ht,o.ShieldIcon=d2,o.ShieldMoonIcon=u2,o.Shop2Icon=A2,o.ShopIcon=f2,o.ShopTwoIcon=_2,o.ShoppingBagIcon=y2,o.ShoppingBasketIcon=g2,o.ShoppingCartCheckoutIcon=I2,o.ShoppingCartIcon=h2,o.ShortTextIcon=Tc,o.ShortcutIcon=b2,o.ShowChartIcon=p2,o.ShowerIcon=w2,o.ShuffleIcon=k2,o.ShuffleOnIcon=m2,o.ShutterSpeedIcon=v2,o.SickIcon=K2,o.SideDialogs=HH,o.SignLanguageIcon=C2,o.SignalCellular0BarIcon=S2,o.SignalCellular4BarIcon=B2,o.SignalCellularAlt1BarIcon=F2,o.SignalCellularAlt2BarIcon=P2,o.SignalCellularAltIcon=E2,o.SignalCellularConnectedNoInternet0BarIcon=D2,o.SignalCellularConnectedNoInternet4BarIcon=N2,o.SignalCellularNoSimIcon=T2,o.SignalCellularNodataIcon=M2,o.SignalCellularNullIcon=O2,o.SignalCellularOffIcon=L2,o.SignalWifi0BarIcon=Q2,o.SignalWifi4BarIcon=V2,o.SignalWifi4BarLockIcon=W2,o.SignalWifiBadIcon=G2,o.SignalWifiConnectedNoInternet4Icon=z2,o.SignalWifiOffIcon=H2,o.SignalWifiStatusbar4BarIcon=U2,o.SignalWifiStatusbarConnectedNoInternet4Icon=Y2,o.SignalWifiStatusbarNullIcon=$2,o.SignpostIcon=j2,o.SimCardAlertIcon=J2,o.SimCardDownloadIcon=Z2,o.SimCardIcon=q2,o.SingleBedIcon=X2,o.SipIcon=x2,o.SkateboardingIcon=R2,o.SkeletonPropertyComponent=Nn,o.SkipNextIcon=eO,o.SkipPreviousIcon=nO,o.SleddingIcon=oO,o.SlideshowIcon=rO,o.SlowMotionVideoIcon=tO,o.SmartButtonIcon=cO,o.SmartDisplayIcon=iO,o.SmartScreenIcon=aO,o.SmartToyIcon=lO,o.SmartphoneIcon=sO,o.SmokeFreeIcon=dO,o.SmokingRoomsIcon=uO,o.SmsFailedIcon=AO,o.SmsIcon=fO,o.SnackbarProvider=Y3,o.SnippetFolderIcon=_O,o.SnoozeIcon=yO,o.SnowboardingIcon=gO,o.SnowmobileIcon=hO,o.SnowshoeingIcon=IO,o.SoapIcon=bO,o.SocialDistanceIcon=pO,o.SolarPowerIcon=wO,o.SortByAlphaIcon=mO,o.SortIcon=kO,o.SosIcon=vO,o.SoupKitchenIcon=KO,o.SourceIcon=CO,o.SouthAmericaIcon=BO,o.SouthEastIcon=EO,o.SouthIcon=SO,o.SouthWestIcon=FO,o.SpaIcon=PO,o.SpaceBarIcon=DO,o.SpaceDashboardIcon=NO,o.SpatialAudioIcon=TO,o.SpatialAudioOffIcon=MO,o.SpatialTrackingIcon=OO,o.SpeakerGroupIcon=QO,o.SpeakerIcon=LO,o.SpeakerNotesIcon=VO,o.SpeakerNotesOffIcon=WO,o.SpeakerPhoneIcon=GO,o.SpeedIcon=zO,o.SpellcheckIcon=HO,o.Spinner=tU,o.SplitscreenIcon=UO,o.SpokeIcon=YO,o.SportsBarIcon=jO,o.SportsBaseballIcon=qO,o.SportsBasketballIcon=JO,o.SportsCricketIcon=ZO,o.SportsEsportsIcon=XO,o.SportsFootballIcon=xO,o.SportsGolfIcon=RO,o.SportsGymnasticsIcon=eL,o.SportsHandballIcon=nL,o.SportsHockeyIcon=oL,o.SportsIcon=$O,o.SportsKabaddiIcon=rL,o.SportsMartialArtsIcon=tL,o.SportsMmaIcon=cL,o.SportsMotorsportsIcon=iL,o.SportsRugbyIcon=aL,o.SportsScoreIcon=lL,o.SportsSoccerIcon=sL,o.SportsTennisIcon=dL,o.SportsVolleyballIcon=uL,o.SquareFootIcon=AL,o.SquareIcon=fL,o.SsidChartIcon=_L,o.StackedBarChartIcon=yL,o.StackedLineChartIcon=gL,o.StadiumIcon=hL,o.StairsIcon=IL,o.StarBorderIcon=Cr,o.StarBorderPurple500Icon=bL,o.StarHalfIcon=pL,o.StarIcon=Kr,o.StarOutlineIcon=wL,o.StarPurple500Icon=kL,o.StarRateIcon=mL,o.StarsIcon=vL,o.StartIcon=KL,o.StayCurrentLandscapeIcon=CL,o.StayCurrentPortraitIcon=SL,o.StayPrimaryLandscapeIcon=BL,o.StayPrimaryPortraitIcon=EL,o.StickyNote2Icon=FL,o.StopCircleIcon=DL,o.StopIcon=PL,o.StopScreenShareIcon=NL,o.StorageIcon=TL,o.StorageThumbnail=Jc,o.StorageThumbnailInternal=Xc,o.StorageUploadFieldBinding=Rr,o.StoreIcon=ML,o.StoreMallDirectoryIcon=OL,o.StorefrontIcon=LL,o.StormIcon=QL,o.StraightIcon=VL,o.StraightenIcon=WL,o.StreamIcon=GL,o.StreetviewIcon=zL,o.StrikethroughSIcon=HL,o.StringPropertyPreview=Lr,o.StrollerIcon=UL,o.StyleIcon=YL,o.SubdirectoryArrowLeftIcon=$L,o.SubdirectoryArrowRightIcon=jL,o.SubjectIcon=Mc,o.SubscriptIcon=qL,o.SubscriptionsIcon=JL,o.SubtitlesIcon=ZL,o.SubtitlesOffIcon=XL,o.SubwayIcon=xL,o.SummarizeIcon=RL,o.SuperscriptIcon=e4,o.SupervisedUserCircleIcon=n4,o.SupervisorAccountIcon=o4,o.SupportAgentIcon=t4,o.SupportIcon=r4,o.SurfingIcon=c4,o.SurroundSoundIcon=i4,o.SwapCallsIcon=a4,o.SwapHorizIcon=l4,o.SwapHorizontalCircleIcon=s4,o.SwapVertIcon=d4,o.SwapVerticalCircleIcon=u4,o.SwipeDownAltIcon=_4,o.SwipeDownIcon=A4,o.SwipeIcon=f4,o.SwipeLeftAltIcon=g4,o.SwipeLeftIcon=y4,o.SwipeRightAltIcon=I4,o.SwipeRightIcon=h4,o.SwipeUpAltIcon=p4,o.SwipeUpIcon=b4,o.SwipeVerticalIcon=w4,o.SwitchAccessShortcutAddIcon=m4,o.SwitchAccessShortcutIcon=k4,o.SwitchAccountIcon=v4,o.SwitchCameraIcon=K4,o.SwitchControl=cl,o.SwitchFieldBinding=wi,o.SwitchLeftIcon=C4,o.SwitchRightIcon=S4,o.SwitchVideoIcon=B4,o.SynagogueIcon=E4,o.SyncAltIcon=P4,o.SyncDisabledIcon=D4,o.SyncIcon=F4,o.SyncLockIcon=N4,o.SyncProblemIcon=T4,o.SystemSecurityUpdateGoodIcon=O4,o.SystemSecurityUpdateIcon=M4,o.SystemSecurityUpdateWarningIcon=L4,o.SystemUpdateAltIcon=V4,o.SystemUpdateIcon=Q4,o.Tab=er,o.TabIcon=W4,o.TabUnselectedIcon=G4,o.Table=cU,o.TableBarIcon=z4,o.TableBody=iU,o.TableCell=sU,o.TableChartIcon=H4,o.TableHeader=aU,o.TableRestaurantIcon=U4,o.TableRow=lU,o.TableRowsIcon=Y4,o.TableViewIcon=$4,o.TabletAndroidIcon=q4,o.TabletIcon=j4,o.TabletMacIcon=J4,o.Tabs=Ka,o.TagFacesIcon=X4,o.TagIcon=Z4,o.TakeoutDiningIcon=x4,o.TapAndPlayIcon=R4,o.TapasIcon=eQ,o.TaskAltIcon=oQ,o.TaskIcon=nQ,o.TaxiAlertIcon=rQ,o.TempleBuddhistIcon=tQ,o.TempleHinduIcon=cQ,o.TerminalIcon=iQ,o.TerrainIcon=aQ,o.TextDecreaseIcon=lQ,o.TextField=rn,o.TextFieldBinding=Mn,o.TextFieldsIcon=sQ,o.TextFormatIcon=dQ,o.TextIncreaseIcon=uQ,o.TextRotateUpIcon=fQ,o.TextRotateVerticalIcon=AQ,o.TextRotationAngledownIcon=_Q,o.TextRotationAngleupIcon=yQ,o.TextRotationDownIcon=gQ,o.TextRotationNoneIcon=hQ,o.TextSnippetIcon=IQ,o.TextareaAutosize=wt,o.TextsmsIcon=bQ,o.TextureIcon=pQ,o.TheaterComedyIcon=wQ,o.TheatersIcon=kQ,o.ThermostatAutoIcon=vQ,o.ThermostatIcon=mQ,o.ThumbDownAltIcon=CQ,o.ThumbDownIcon=KQ,o.ThumbDownOffAltIcon=SQ,o.ThumbUpAltIcon=EQ,o.ThumbUpIcon=BQ,o.ThumbUpOffAltIcon=FQ,o.ThumbsUpDownIcon=PQ,o.ThunderstormIcon=DQ,o.TimeToLeaveIcon=NQ,o.TimelapseIcon=TQ,o.TimelineIcon=MQ,o.Timer10Icon=LQ,o.Timer10SelectIcon=QQ,o.Timer3Icon=VQ,o.Timer3SelectIcon=WQ,o.TimerIcon=OQ,o.TimerOffIcon=GQ,o.TipsAndUpdatesIcon=zQ,o.TireRepairIcon=HQ,o.TitleIcon=UQ,o.TocIcon=YQ,o.TodayIcon=$Q,o.ToggleOffIcon=jQ,o.ToggleOnIcon=qQ,o.TokenIcon=JQ,o.TollIcon=ZQ,o.TonalityIcon=XQ,o.Tooltip=Ae,o.TopicIcon=xQ,o.TornadoIcon=RQ,o.TouchAppIcon=eV,o.TourIcon=nV,o.ToysIcon=oV,o.TrackChangesIcon=rV,o.TrafficIcon=tV,o.TrainIcon=cV,o.TramIcon=iV,o.TranscribeIcon=aV,o.TransferWithinAStationIcon=lV,o.TransformIcon=sV,o.TransgenderIcon=dV,o.TransitEnterexitIcon=uV,o.TranslateIcon=fV,o.TravelExploreIcon=AV,o.TrendingDownIcon=_V,o.TrendingFlatIcon=yV,o.TrendingUpIcon=gV,o.TripOriginIcon=hV,o.TroubleshootIcon=IV,o.TryIcon=bV,o.TsunamiIcon=pV,o.TtyIcon=wV,o.TuneIcon=kV,o.TungstenIcon=mV,o.TurnLeftIcon=vV,o.TurnRightIcon=KV,o.TurnSharpLeftIcon=CV,o.TurnSharpRightIcon=SV,o.TurnSlightLeftIcon=BV,o.TurnSlightRightIcon=EV,o.TurnedInIcon=FV,o.TurnedInNotIcon=PV,o.TvIcon=DV,o.TvOffIcon=NV,o.TwoWheelerIcon=TV,o.TypeSpecimenIcon=MV,o.Typography=j,o.UTurnLeftIcon=OV,o.UTurnRightIcon=LV,o.UmbrellaIcon=QV,o.UnarchiveIcon=VV,o.UndoIcon=WV,o.UnfoldLessDoubleIcon=zV,o.UnfoldLessIcon=GV,o.UnfoldMoreDoubleIcon=UV,o.UnfoldMoreIcon=HV,o.UnpublishedIcon=YV,o.UnsubscribeIcon=$V,o.UpcomingIcon=jV,o.UpdateDisabledIcon=JV,o.UpdateIcon=qV,o.UpgradeIcon=ZV,o.UploadFileIcon=Oc,o.UploadIcon=XV,o.UrlComponentPreview=io,o.UsbIcon=xV,o.UsbOffIcon=RV,o.VaccinesIcon=eW,o.VapeFreeIcon=nW,o.VapingRoomsIcon=oW,o.VerifiedIcon=rW,o.VerifiedUserIcon=tW,o.VerticalAlignBottomIcon=cW,o.VerticalAlignCenterIcon=iW,o.VerticalAlignTopIcon=aW,o.VerticalDistributeIcon=lW,o.VerticalShadesClosedIcon=dW,o.VerticalShadesIcon=sW,o.VerticalSplitIcon=uW,o.VibrationIcon=fW,o.VideoCallIcon=AW,o.VideoCameraBackIcon=_W,o.VideoCameraFrontIcon=yW,o.VideoChatIcon=gW,o.VideoFileIcon=hW,o.VideoLabelIcon=IW,o.VideoLibraryIcon=bW,o.VideoSettingsIcon=pW,o.VideoStableIcon=wW,o.VideocamIcon=kW,o.VideocamOffIcon=mW,o.VideogameAssetIcon=vW,o.VideogameAssetOffIcon=KW,o.ViewAgendaIcon=CW,o.ViewArrayIcon=SW,o.ViewCarouselIcon=BW,o.ViewColumnIcon=EW,o.ViewComfyAltIcon=PW,o.ViewComfyIcon=FW,o.ViewCompactAltIcon=NW,o.ViewCompactIcon=DW,o.ViewCozyIcon=TW,o.ViewDayIcon=MW,o.ViewHeadlineIcon=OW,o.ViewInArIcon=LW,o.ViewKanbanIcon=QW,o.ViewListIcon=VW,o.ViewModuleIcon=WW,o.ViewQuiltIcon=GW,o.ViewSidebarIcon=zW,o.ViewStreamIcon=Lc,o.ViewTimelineIcon=HW,o.ViewWeekIcon=UW,o.VignetteIcon=YW,o.VillaIcon=$W,o.VirtualTable=xi,o.VisibilityIcon=jW,o.VisibilityOffIcon=qW,o.VoiceChatIcon=JW,o.VoiceOverOffIcon=ZW,o.VoicemailIcon=XW,o.VolcanoIcon=xW,o.VolumeDownIcon=RW,o.VolumeMuteIcon=e5,o.VolumeOffIcon=n5,o.VolumeUpIcon=o5,o.VolunteerActivismIcon=r5,o.VpnKeyIcon=t5,o.VpnKeyOffIcon=c5,o.VpnLockIcon=i5,o.VrpanoIcon=a5,o.WalletIcon=l5,o.WallpaperIcon=s5,o.WarehouseIcon=d5,o.WarningAmberIcon=f5,o.WarningIcon=u5,o.WashIcon=A5,o.WatchIcon=_5,o.WatchLaterIcon=y5,o.WatchOffIcon=g5,o.WaterDamageIcon=I5,o.WaterDropIcon=b5,o.WaterIcon=h5,o.WaterfallChartIcon=p5,o.WavesIcon=w5,o.WavingHandIcon=k5,o.WbAutoIcon=m5,o.WbCloudyIcon=v5,o.WbIncandescentIcon=K5,o.WbIridescentIcon=C5,o.WbShadeIcon=S5,o.WbSunnyIcon=B5,o.WbTwilightIcon=E5,o.WcIcon=F5,o.WebAssetIcon=D5,o.WebAssetOffIcon=N5,o.WebIcon=P5,o.WebStoriesIcon=T5,o.WebhookIcon=M5,o.WeekendIcon=O5,o.WestIcon=L5,o.WhatshotIcon=Q5,o.WheelchairPickupIcon=V5,o.WhereToVoteIcon=W5,o.WidgetsIcon=G5,o.WidthFullIcon=z5,o.WidthNormalIcon=H5,o.WidthWideIcon=U5,o.Wifi1BarIcon=$5,o.Wifi2BarIcon=j5,o.WifiCalling3Icon=J5,o.WifiCallingIcon=q5,o.WifiChannelIcon=Z5,o.WifiFindIcon=X5,o.WifiIcon=Y5,o.WifiLockIcon=x5,o.WifiOffIcon=R5,o.WifiPasswordIcon=eG,o.WifiProtectedSetupIcon=nG,o.WifiTetheringErrorIcon=rG,o.WifiTetheringIcon=oG,o.WifiTetheringOffIcon=tG,o.WindPowerIcon=cG,o.WindowIcon=iG,o.WineBarIcon=aG,o.Woman2Icon=sG,o.WomanIcon=lG,o.WorkHistoryIcon=uG,o.WorkIcon=dG,o.WorkOffIcon=fG,o.WorkOutlineIcon=AG,o.WorkspacePremiumIcon=_G,o.WorkspacesIcon=yG,o.WrapTextIcon=gG,o.WrongLocationIcon=hG,o.WysiwygIcon=IG,o.YardIcon=bG,o.YoutubeSearchedForIcon=pG,o.ZoomInIcon=wG,o.ZoomInMapIcon=kG,o.ZoomOutIcon=mG,o.ZoomOutMapIcon=vG,o._10kIcon=dl,o._10mpIcon=ul,o._11mpIcon=fl,o._123Icon=ll,o._12mpIcon=Al,o._13mpIcon=_l,o._14mpIcon=yl,o._15mpIcon=gl,o._16mpIcon=hl,o._17mpIcon=Il,o._18UpRatingIcon=bl,o._18mpIcon=pl,o._19mpIcon=wl,o._1kIcon=kl,o._1kPlusIcon=ml,o._1xMobiledataIcon=vl,o._20mpIcon=Kl,o._21mpIcon=Cl,o._22mpIcon=Sl,o._23mpIcon=Bl,o._24mpIcon=El,o._2kIcon=Fl,o._2kPlusIcon=Pl,o._2mpIcon=Dl,o._30fpsIcon=Nl,o._30fpsSelectIcon=Tl,o._360Icon=sl,o._3dRotationIcon=Ml,o._3gMobiledataIcon=Ol,o._3kIcon=Ll,o._3kPlusIcon=Ql,o._3mpIcon=Vl,o._3pIcon=Wl,o._4gMobiledataIcon=Gl,o._4gPlusMobiledataIcon=zl,o._4kIcon=Hl,o._4kPlusIcon=Ul,o._4mpIcon=Yl,o._5gIcon=$l,o._5kIcon=jl,o._5kPlusIcon=ql,o._5mpIcon=Jl,o._60fpsIcon=Zl,o._60fpsSelectIcon=Xl,o._6FtApartIcon=xl,o._6kIcon=Rl,o._6kPlusIcon=es,o._6mpIcon=ns,o._7kIcon=os,o._7kPlusIcon=rs,o._7mpIcon=ts,o._8kIcon=cs,o._8kPlusIcon=is,o._8mpIcon=as,o._9kIcon=ls,o._9kPlusIcon=ss,o._9mpIcon=ds,o.addInitialSlash=Xa,o.buildAdditionalFieldDelegate=G3,o.buildCollection=T3,o.buildEntityCallbacks=W3,o.buildEnumLabel=tc,o.buildEnumValueConfig=V3,o.buildEnumValues=Q3,o.buildFieldConfig=z3,o.buildProperties=O3,o.buildPropertiesOrBuilder=L3,o.buildProperty=M3,o.canCreateEntity=Wo,o.canDeleteEntity=dt,o.canEditEntity=st,o.cardClickableMixin=ei,o.cardMixin=Rc,o.cardSelectedMixin=UG,o.cn=E,o.coolIconKeys=_r,o.debounce=Gi,o.defaultBorderMixin=ue,o.defaultDateFormat=ai,o.deleteEntityWithCallbacks=Yc,o.enumToObjectEntries=sn,o.fieldBackgroundDisabledMixin=nn,o.fieldBackgroundHoverMixin=Ge,o.fieldBackgroundInvisibleMixin=Wr,o.fieldBackgroundMixin=Je,o.flattenObject=ut,o.focusedClasses=Vr,o.focusedInvisibleMixin=Qr,o.focusedMixin=ye,o.fullPathToCollectionSegments=Ze,o.getArrayValuesCount=zi,o.getBracketNotation=zz,o.getCollectionByPathOrAlias=po,o.getCollectionPathsCombinations=wo,o.getColorForProperty=Gz,o.getColorScheme=rc,o.getDefaultFieldId=At,o.getDefaultPropertiesOrder=Hz,o.getDefaultValueFor=vo,o.getDefaultValueForDataType=fr,o.getDefaultValuesFor=eo,o.getFieldConfig=Ho,o.getFieldId=_t,o.getHashValue=sr,o.getIcon=Vi,o.getIconForProperty=ke,o.getIconForView=Go,o.getIconForWidget=at,o.getIdIcon=Wz,o.getLabelOrConfigFrom=So,o.getLastSegment=xa,o.getPropertiesWithPropertiesOrder=Qi,o.getPropertyInPath=vn,o.getRandomId=Ao,o.getReferenceFrom=In,o.getReferencePreviewKeys=Wi,o.getResolvedPropertyInPath=lt,o.getValueInPath=ln,o.hydrateRegExp=Oi,o.iconKeys=cc,o.isDefaultFieldConfigId=Yi,o.isEmptyObject=ur,o.isEnumValueDisabled=rl,o.isHidden=Rn,o.isObject=ko,o.isPropertyBuilder=Pe,o.isReadOnly=Sn,o.isReferenceProperty=Li,o.isValidRegExp=Qz,o.makePropertiesEditable=Hi,o.makePropertiesNonEditable=Ui,o.mergeDeep=qe,o.paperMixin=ze,o.pick=ec,o.plural=Uz,o.randomColor=oz,o.randomString=Tn,o.removeFunctions=lr,o.removeInPath=Ra,o.removeInitialAndTrailingSlashes=Ie,o.removeInitialSlash=xt,o.removeTrailingSlash=Rt,o.removeUndefined=dr,o.renderSkeletonCaptionText=WG,o.renderSkeletonIcon=Or,o.renderSkeletonImageThumbnail=Mr,o.renderSkeletonText=en,o.resolveArrayProperty=An,o.resolveCollection=Me,o.resolveCollectionPathAliases=ir,o.resolveDefaultSelectedView=ct,o.resolveEntityView=ht,o.resolveEnumValues=$z,o.resolveNavigationFrom=$c,o.resolvePermissions=so,o.resolveProperties=yt,o.resolveProperty=De,o.resolvePropertyEnum=gt,o.sanitizeData=nl,o.saveEntityWithCallbacks=Pr,o.segmentsToStrippedPath=Mi,o.serializeRegExp=Lz,o.singular=Yz,o.slugify=Oo,o.sortProperties=Ni,o.stripCollectionPath=it,o.toKebabCase=RG,o.toSnakeCase=nz,o.traverseValueProperty=Ko,o.traverseValuesProperties=Ar,o.unslugify=Za,o.updateDateAutoValues=el,o.useAuthController=pn,o.useAutoComplete=$3,o.useBreadcrumbsContext=Nr,o.useBrowserTitleAndIcon=BG,o.useBuildLocalConfigurationPersistence=U3,o.useBuildModeController=H3,o.useClearRestoreValue=Te,o.useClipboard=jc,o.useCollectionFetch=Uc,o.useDataSource=Qe,o.useDebounce=Qo,o.useDebounceValue=Vz,o.useEntityCollectionTableController=Ft,o.useEntityFetch=Fr,o.useFireCMSContext=ee,o.useLargeLayout=We,o.useModeController=Dr,o.useNavigationContext=fe,o.useOutsideAlerter=Mo,o.useReferenceDialog=co,o.useResolvedNavigationFrom=KG,o.useSelectionController=Dt,o.useSideDialogContext=Yo,o.useSideDialogsController=to,o.useSideEntityController=wn,o.useSnackbarController=un,o.useStorageSource=Bn,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
1610
+ ${t?"w-0 h-0":"w-2 h-2"}`})]});o.AbcIcon=Is,o.AcUnitIcon=bs,o.AccessAlarmIcon=ps,o.AccessAlarmsIcon=ws,o.AccessTimeFilledIcon=ms,o.AccessTimeIcon=ks,o.AccessibilityIcon=vs,o.AccessibilityNewIcon=Ks,o.AccessibleForwardIcon=Ss,o.AccessibleIcon=Cs,o.AccountBalanceIcon=Bs,o.AccountBalanceWalletIcon=Es,o.AccountBoxIcon=Fs,o.AccountCircleIcon=Ps,o.AccountTreeIcon=Ds,o.AdUnitsIcon=Ns,o.AdbIcon=Ts,o.AddAPhotoIcon=Ms,o.AddAlarmIcon=Os,o.AddAlertIcon=Ls,o.AddBoxIcon=Qs,o.AddBusinessIcon=Vs,o.AddCardIcon=Ws,o.AddChartIcon=Gs,o.AddCircleIcon=zs,o.AddCircleOutlineIcon=Hs,o.AddCommentIcon=Us,o.AddHomeIcon=Ys,o.AddHomeWorkIcon=$s,o.AddIcCallIcon=js,o.AddIcon=mn,o.AddLinkIcon=dc,o.AddLocationAltIcon=Js,o.AddLocationIcon=qs,o.AddModeratorIcon=Zs,o.AddPhotoAlternateIcon=Xs,o.AddReactionIcon=xs,o.AddRoadIcon=Rs,o.AddShoppingCartIcon=ed,o.AddTaskIcon=nd,o.AddToDriveIcon=od,o.AddToHomeScreenIcon=rd,o.AddToPhotosIcon=td,o.AddToQueueIcon=cd,o.AdfScannerIcon=id,o.AdjustIcon=ad,o.AdminPanelSettingsIcon=ld,o.AdsClickIcon=sd,o.AgricultureIcon=dd,o.AirIcon=ud,o.AirlineSeatFlatAngledIcon=Ad,o.AirlineSeatFlatIcon=fd,o.AirlineSeatIndividualSuiteIcon=yd,o.AirlineSeatLegroomExtraIcon=_d,o.AirlineSeatLegroomNormalIcon=hd,o.AirlineSeatLegroomReducedIcon=gd,o.AirlineSeatReclineExtraIcon=Id,o.AirlineSeatReclineNormalIcon=bd,o.AirlineStopsIcon=pd,o.AirlinesIcon=wd,o.AirplaneTicketIcon=kd,o.AirplanemodeActiveIcon=md,o.AirplanemodeInactiveIcon=vd,o.AirplayIcon=Kd,o.AirportShuttleIcon=Cd,o.AlarmAddIcon=Bd,o.AlarmIcon=Sd,o.AlarmOffIcon=Ed,o.AlarmOnIcon=Fd,o.AlbumIcon=Pd,o.Alert=cU,o.AlignHorizontalCenterIcon=Dd,o.AlignHorizontalLeftIcon=Nd,o.AlignHorizontalRightIcon=Td,o.AlignVerticalBottomIcon=Md,o.AlignVerticalCenterIcon=Od,o.AlignVerticalTopIcon=Ld,o.AllInboxIcon=Qd,o.AllInclusiveIcon=Vd,o.AllOutIcon=Wd,o.AltRouteIcon=Gd,o.AlternateEmailIcon=zd,o.AnalyticsIcon=Hd,o.AnchorIcon=Ud,o.AndroidIcon=Yd,o.AnimationIcon=$d,o.AnnouncementIcon=jd,o.AodIcon=qd,o.ApartmentIcon=Jd,o.ApiIcon=Zd,o.AppBlockingIcon=Xd,o.AppRegistrationIcon=xd,o.AppSettingsAltIcon=Rd,o.AppShortcutIcon=eu,o.ApprovalIcon=nu,o.AppsIcon=ou,o.AppsOutageIcon=ru,o.ArchitectureIcon=tu,o.ArchiveIcon=cu,o.AreaChartIcon=iu,o.ArrayContainer=Vt,o.ArrayContainerItem=Wt,o.ArrayCustomShapedFieldBinding=Ti,o.ArrayEnumPreview=jr,o.ArrayItemOptions=va,o.ArrayOfMapsPreview=ri,o.ArrayOfReferencesFieldBinding=Ii,o.ArrayOfReferencesPreview=ai,o.ArrayOfStorageComponentsPreview=li,o.ArrayOfStringsPreview=si,o.ArrayOneOfPreview=di,o.ArrayPropertyEnumPreview=qr,o.ArrayPropertyPreview=$r,o.ArrowBackIcon=au,o.ArrowBackIosIcon=lu,o.ArrowBackIosNewIcon=su,o.ArrowCircleDownIcon=du,o.ArrowCircleLeftIcon=uu,o.ArrowCircleRightIcon=fu,o.ArrowCircleUpIcon=Au,o.ArrowDownwardIcon=yu,o.ArrowDropDownCircleIcon=_u,o.ArrowDropDownIcon=wr,o.ArrowDropUpIcon=hu,o.ArrowForwardIcon=uc,o.ArrowForwardIosIcon=gu,o.ArrowLeftIcon=Iu,o.ArrowOutwardIcon=bu,o.ArrowRightAltIcon=wu,o.ArrowRightIcon=pu,o.ArrowUpwardIcon=No,o.ArtTrackIcon=ku,o.ArticleIcon=mu,o.AspectRatioIcon=vu,o.AssessmentIcon=Ku,o.AssignmentIcon=fc,o.AssignmentIndIcon=Cu,o.AssignmentLateIcon=Su,o.AssignmentReturnIcon=Bu,o.AssignmentReturnedIcon=Eu,o.AssignmentTurnedInIcon=Fu,o.AssistWalkerIcon=Pu,o.AssistantDirectionIcon=Nu,o.AssistantIcon=Du,o.AssistantPhotoIcon=Tu,o.AssuredWorkloadIcon=Mu,o.AsyncPreviewComponent=iz,o.AtmIcon=Ou,o.AttachEmailIcon=Lu,o.AttachFileIcon=Qu,o.AttachMoneyIcon=Vu,o.AttachmentIcon=Wu,o.AttractionsIcon=Gu,o.AttributionIcon=zu,o.AudioFileIcon=Hu,o.AudiotrackIcon=Uu,o.AuthControllerContext=Dr,o.AutoAwesomeIcon=Yu,o.AutoAwesomeMosaicIcon=$u,o.AutoAwesomeMotionIcon=ju,o.AutoDeleteIcon=qu,o.AutoFixHighIcon=Ju,o.AutoFixNormalIcon=Zu,o.AutoFixOffIcon=Xu,o.AutoGraphIcon=xu,o.AutoModeIcon=Ru,o.AutoStoriesIcon=ef,o.Autocomplete=oU,o.AutocompleteItem=rU,o.AutofpsSelectIcon=nf,o.AutorenewIcon=of,o.AvTimerIcon=rf,o.Avatar=zt,o.BabyChangingStationIcon=tf,o.BackHandIcon=cf,o.BackpackIcon=af,o.BackspaceIcon=lf,o.BackupIcon=sf,o.BackupTableIcon=df,o.Badge=jt,o.BadgeIcon=uf,o.BakeryDiningIcon=ff,o.BalanceIcon=Af,o.BalconyIcon=yf,o.BallotIcon=kr,o.BarChartIcon=_f,o.BatchPredictionIcon=hf,o.BathroomIcon=gf,o.BathtubIcon=If,o.Battery0BarIcon=bf,o.Battery1BarIcon=pf,o.Battery2BarIcon=wf,o.Battery3BarIcon=kf,o.Battery4BarIcon=mf,o.Battery5BarIcon=vf,o.Battery6BarIcon=Kf,o.BatteryAlertIcon=Cf,o.BatteryChargingFullIcon=Sf,o.BatteryFullIcon=Bf,o.BatterySaverIcon=Ef,o.BatteryStdIcon=Ff,o.BatteryUnknownIcon=Pf,o.BeachAccessIcon=Df,o.BedIcon=Nf,o.BedroomBabyIcon=Tf,o.BedroomChildIcon=Mf,o.BedroomParentIcon=Of,o.BedtimeIcon=Lf,o.BedtimeOffIcon=Qf,o.BeenhereIcon=Vf,o.BentoIcon=Wf,o.BikeScooterIcon=Gf,o.BiotechIcon=zf,o.BlenderIcon=Hf,o.BlindIcon=Uf,o.BlindsClosedIcon=$f,o.BlindsIcon=Yf,o.BlockFieldBinding=Di,o.BlockIcon=jf,o.BloodtypeIcon=qf,o.BluetoothAudioIcon=Zf,o.BluetoothConnectedIcon=Xf,o.BluetoothDisabledIcon=xf,o.BluetoothDriveIcon=Rf,o.BluetoothIcon=Jf,o.BluetoothSearchingIcon=eA,o.BlurCircularIcon=nA,o.BlurLinearIcon=oA,o.BlurOffIcon=rA,o.BlurOnIcon=tA,o.BoltIcon=cA,o.BookIcon=iA,o.BookOnlineIcon=aA,o.BookmarkAddIcon=sA,o.BookmarkAddedIcon=dA,o.BookmarkBorderIcon=uA,o.BookmarkIcon=lA,o.BookmarkRemoveIcon=fA,o.BookmarksIcon=AA,o.BooleanPreview=yi,o.BooleanSwitch=ct,o.BooleanSwitchWithLabel=Wn,o.BorderAllIcon=yA,o.BorderBottomIcon=_A,o.BorderClearIcon=hA,o.BorderColorIcon=gA,o.BorderHorizontalIcon=IA,o.BorderInnerIcon=bA,o.BorderLeftIcon=pA,o.BorderOuterIcon=wA,o.BorderRightIcon=kA,o.BorderStyleIcon=mA,o.BorderTopIcon=vA,o.BorderVerticalIcon=KA,o.BoyIcon=CA,o.BrandingWatermarkIcon=SA,o.BreadcrumbUpdater=h3,o.BreakfastDiningIcon=BA,o.Brightness1Icon=EA,o.Brightness2Icon=FA,o.Brightness3Icon=PA,o.Brightness4Icon=DA,o.Brightness5Icon=NA,o.Brightness6Icon=TA,o.Brightness7Icon=MA,o.BrightnessAutoIcon=OA,o.BrightnessHighIcon=LA,o.BrightnessLowIcon=QA,o.BrightnessMediumIcon=VA,o.BroadcastOnHomeIcon=WA,o.BroadcastOnPersonalIcon=GA,o.BrokenImageIcon=zA,o.BrowseGalleryIcon=HA,o.BrowserNotSupportedIcon=UA,o.BrowserUpdatedIcon=YA,o.BrunchDiningIcon=$A,o.BrushIcon=jA,o.BubbleChartIcon=qA,o.BugReportIcon=JA,o.BuildCircleIcon=XA,o.BuildIcon=ZA,o.BungalowIcon=xA,o.BurstModeIcon=RA,o.BusAlertIcon=ey,o.BusinessCenterIcon=oy,o.BusinessIcon=ny,o.Button=ce,o.COLLECTION_PATH_SEPARATOR=Qi,o.CabinIcon=ry,o.CableIcon=ty,o.CachedIcon=cy,o.CakeIcon=iy,o.CalculateIcon=ay,o.CalendarMonthIcon=Ac,o.CalendarTodayIcon=ly,o.CalendarViewDayIcon=sy,o.CalendarViewMonthIcon=dy,o.CalendarViewWeekIcon=uy,o.CallEndIcon=Ay,o.CallIcon=fy,o.CallMadeIcon=yy,o.CallMergeIcon=_y,o.CallMissedIcon=hy,o.CallMissedOutgoingIcon=gy,o.CallReceivedIcon=Iy,o.CallSplitIcon=by,o.CallToActionIcon=py,o.CameraAltIcon=ky,o.CameraEnhanceIcon=my,o.CameraFrontIcon=vy,o.CameraIcon=wy,o.CameraIndoorIcon=Ky,o.CameraOutdoorIcon=Cy,o.CameraRearIcon=Sy,o.CameraRollIcon=By,o.CameraswitchIcon=Ey,o.CampaignIcon=Fy,o.CancelIcon=Py,o.CancelPresentationIcon=Dy,o.CancelScheduleSendIcon=Ny,o.CandlestickChartIcon=Ty,o.CarCrashIcon=My,o.CarRentalIcon=Oy,o.CarRepairIcon=Ly,o.Card=Pa,o.CardGiftcardIcon=Qy,o.CardMembershipIcon=Vy,o.CardTravelIcon=Wy,o.CarpenterIcon=Gy,o.CasesIcon=zy,o.CasinoIcon=Hy,o.CastConnectedIcon=Yy,o.CastForEducationIcon=$y,o.CastIcon=Uy,o.CastleIcon=jy,o.CatchingPokemonIcon=qy,o.CategoryIcon=Jy,o.CelebrationIcon=Zy,o.CellTowerIcon=Xy,o.CellWifiIcon=xy,o.CenterFocusStrongIcon=Ry,o.CenterFocusWeakIcon=e_,o.CenteredView=Ut,o.ChairAltIcon=o_,o.ChairIcon=n_,o.ChaletIcon=r_,o.ChangeCircleIcon=t_,o.ChangeHistoryIcon=c_,o.ChargingStationIcon=i_,o.ChatBubbleIcon=l_,o.ChatBubbleOutlineIcon=s_,o.ChatIcon=a_,o.CheckBoxIcon=d_,o.CheckBoxOutlineBlankIcon=u_,o.CheckCircleIcon=f_,o.CheckCircleOutlineIcon=A_,o.CheckIcon=yc,o.Checkbox=Zr,o.ChecklistIcon=y_,o.ChecklistRtlIcon=__,o.CheckroomIcon=h_,o.ChevronLeftIcon=_c,o.ChevronRightIcon=g_,o.ChildCareIcon=I_,o.ChildFriendlyIcon=b_,o.Chip=Qo,o.ChromeReaderModeIcon=p_,o.ChurchIcon=w_,o.CircleIcon=mr,o.CircleNotificationsIcon=k_,o.CircularProgress=$n,o.CircularProgressCenter=yo,o.ClassIcon=m_,o.CleanHandsIcon=v_,o.CleaningServicesIcon=K_,o.ClearAllIcon=C_,o.ClearIcon=un,o.CloseFullscreenIcon=S_,o.CloseIcon=vr,o.ClosedCaptionDisabledIcon=E_,o.ClosedCaptionIcon=B_,o.ClosedCaptionOffIcon=F_,o.CloudCircleIcon=D_,o.CloudDoneIcon=N_,o.CloudDownloadIcon=T_,o.CloudIcon=P_,o.CloudOffIcon=M_,o.CloudQueueIcon=O_,o.CloudSyncIcon=L_,o.CloudUploadIcon=Q_,o.Co2Icon=V_,o.CoPresentIcon=W_,o.CodeIcon=G_,o.CodeOffIcon=z_,o.CoffeeIcon=H_,o.CoffeeMakerIcon=U_,o.Collapse=or,o.CollectionsBookmarkIcon=$_,o.CollectionsIcon=Y_,o.ColorLensIcon=j_,o.ColorizeIcon=q_,o.CommentBankIcon=Z_,o.CommentIcon=J_,o.CommentsDisabledIcon=X_,o.CommitIcon=x_,o.CommuteIcon=R_,o.CompareArrowsIcon=nh,o.CompareIcon=eh,o.CompassCalibrationIcon=oh,o.CompostIcon=rh,o.CompressIcon=th,o.ComputerIcon=ch,o.ConfirmationNumberIcon=ih,o.ConnectWithoutContactIcon=ah,o.ConnectedTvIcon=lh,o.ConnectingAirportsIcon=sh,o.ConstructionIcon=dh,o.ContactEmergencyIcon=uh,o.ContactMailIcon=fh,o.ContactPageIcon=Ah,o.ContactPhoneIcon=yh,o.ContactSupportIcon=_h,o.ContactlessIcon=hh,o.ContactsIcon=gh,o.Container=Ht,o.ContentCopyIcon=ro,o.ContentCutIcon=Ih,o.ContentPasteGoIcon=ph,o.ContentPasteIcon=bh,o.ContentPasteOffIcon=wh,o.ContentPasteSearchIcon=kh,o.ContrastIcon=mh,o.ControlCameraIcon=vh,o.ControlPointDuplicateIcon=Ch,o.ControlPointIcon=Kh,o.CookieIcon=Sh,o.CopyAllIcon=Bh,o.CopyrightIcon=Eh,o.CoronavirusIcon=Fh,o.CorporateFareIcon=Ph,o.CottageIcon=Dh,o.CountertopsIcon=Nh,o.CreateIcon=Th,o.CreateNewFolderIcon=Mh,o.CreditCardIcon=Oh,o.CreditCardOffIcon=Lh,o.CreditScoreIcon=Qh,o.CribIcon=Vh,o.CrisisAlertIcon=Wh,o.Crop169Icon=zh,o.Crop32Icon=Hh,o.Crop54Icon=Uh,o.Crop75Icon=Yh,o.CropDinIcon=$h,o.CropFreeIcon=jh,o.CropIcon=Gh,o.CropLandscapeIcon=qh,o.CropOriginalIcon=Jh,o.CropPortraitIcon=Zh,o.CropRotateIcon=Xh,o.CropSquareIcon=xh,o.CrueltyFreeIcon=Rh,o.CssIcon=eg,o.CurrencyBitcoinIcon=ng,o.CurrencyExchangeIcon=og,o.CurrencyFrancIcon=rg,o.CurrencyLiraIcon=tg,o.CurrencyPoundIcon=cg,o.CurrencyRubleIcon=ig,o.CurrencyRupeeIcon=ag,o.CurrencyYenIcon=lg,o.CurrencyYuanIcon=sg,o.CurtainsClosedIcon=ug,o.CurtainsIcon=dg,o.CycloneIcon=fg,o.DEFAULT_FIELD_CONFIGS=gt,o.DangerousIcon=Ag,o.DarkModeIcon=hc,o.DashboardCustomizeIcon=_g,o.DashboardIcon=yg,o.DataArrayIcon=hg,o.DataExplorationIcon=gg,o.DataObjectIcon=Ig,o.DataSaverOffIcon=bg,o.DataSaverOnIcon=pg,o.DataThresholdingIcon=wg,o.DataUsageIcon=kg,o.DatasetIcon=mg,o.DatasetLinkedIcon=vg,o.DatePreview=Ai,o.DateRangeIcon=Kg,o.DateTimeField=Hn,o.DateTimeFieldBinding=Si,o.DeblurIcon=Cg,o.DebouncedTextField=ul,o.DeckIcon=Sg,o.DefaultHomePage=pa,o.DehazeIcon=Bg,o.DeleteConfirmationDialog=g3,o.DeleteForeverIcon=Eg,o.DeleteIcon=To,o.DeleteOutlineIcon=Fg,o.DeleteSweepIcon=Pg,o.DeliveryDiningIcon=Dg,o.DensityLargeIcon=Ng,o.DensityMediumIcon=Tg,o.DensitySmallIcon=Mg,o.DepartureBoardIcon=Og,o.DescriptionIcon=gc,o.DeselectIcon=Lg,o.DesignServicesIcon=Qg,o.DeskIcon=Vg,o.DesktopAccessDisabledIcon=Wg,o.DesktopMacIcon=Gg,o.DesktopWindowsIcon=zg,o.DetailsIcon=Hg,o.DeveloperBoardIcon=Ug,o.DeveloperBoardOffIcon=Yg,o.DeveloperModeIcon=$g,o.DeviceHubIcon=jg,o.DeviceThermostatIcon=qg,o.DeviceUnknownIcon=Jg,o.DevicesFoldIcon=Xg,o.DevicesIcon=Zg,o.DevicesOtherIcon=xg,o.DialerSipIcon=Rg,o.Dialog=rr,o.DialogActions=Sn,o.DialogContent=tr,o.DialpadIcon=eI,o.DiamondIcon=nI,o.DifferenceIcon=oI,o.DiningIcon=rI,o.DinnerDiningIcon=tI,o.DirectionsBikeIcon=iI,o.DirectionsBoatFilledIcon=lI,o.DirectionsBoatIcon=aI,o.DirectionsBusFilledIcon=dI,o.DirectionsBusIcon=sI,o.DirectionsCarFilledIcon=fI,o.DirectionsCarIcon=uI,o.DirectionsIcon=cI,o.DirectionsOffIcon=AI,o.DirectionsRailwayFilledIcon=_I,o.DirectionsRailwayIcon=yI,o.DirectionsRunIcon=hI,o.DirectionsSubwayFilledIcon=II,o.DirectionsSubwayIcon=gI,o.DirectionsTransitFilledIcon=pI,o.DirectionsTransitIcon=bI,o.DirectionsWalkIcon=wI,o.DirtyLensIcon=kI,o.DisabledByDefaultIcon=mI,o.DisabledVisibleIcon=vI,o.DiscFullIcon=KI,o.DiscountIcon=CI,o.DisplaySettingsIcon=SI,o.Diversity1Icon=BI,o.Diversity2Icon=EI,o.Diversity3Icon=FI,o.DnsIcon=PI,o.DoDisturbAltIcon=NI,o.DoDisturbIcon=DI,o.DoDisturbOffIcon=TI,o.DoDisturbOnIcon=MI,o.DoNotDisturbAltIcon=LI,o.DoNotDisturbIcon=OI,o.DoNotDisturbOffIcon=QI,o.DoNotDisturbOnIcon=VI,o.DoNotDisturbOnTotalSilenceIcon=WI,o.DoNotStepIcon=GI,o.DoNotTouchIcon=zI,o.DockIcon=HI,o.DocumentScannerIcon=UI,o.DomainAddIcon=$I,o.DomainDisabledIcon=jI,o.DomainIcon=YI,o.DomainVerificationIcon=qI,o.DoneAllIcon=ZI,o.DoneIcon=JI,o.DoneOutlineIcon=XI,o.DonutLargeIcon=xI,o.DonutSmallIcon=RI,o.DoorBackIcon=eb,o.DoorFrontIcon=nb,o.DoorSlidingIcon=ob,o.DoorbellIcon=rb,o.DoubleArrowIcon=tb,o.DownhillSkiingIcon=cb,o.DownloadDoneIcon=ab,o.DownloadForOfflineIcon=lb,o.DownloadIcon=ib,o.DownloadingIcon=sb,o.DraftsIcon=db,o.DragHandleIcon=ub,o.DragIndicatorIcon=fb,o.DrawIcon=Ab,o.Drawer=Ea,o.DrawerNavigationItem=Gt,o.DriveEtaIcon=yb,o.DriveFileMoveIcon=_b,o.DriveFileMoveRtlIcon=hb,o.DriveFileRenameOutlineIcon=gb,o.DriveFolderUploadIcon=Ic,o.DryCleaningIcon=bb,o.DryIcon=Ib,o.DuoIcon=pb,o.DvrIcon=wb,o.DynamicFeedIcon=kb,o.DynamicFormIcon=mb,o.EMobiledataIcon=vb,o.EarbudsBatteryIcon=Cb,o.EarbudsIcon=Kb,o.EastIcon=Sb,o.EdgesensorHighIcon=Bb,o.EdgesensorLowIcon=Eb,o.EditAttributesIcon=Fb,o.EditCalendarIcon=Pb,o.EditIcon=bc,o.EditLocationAltIcon=Nb,o.EditLocationIcon=Db,o.EditNoteIcon=Tb,o.EditNotificationsIcon=Mb,o.EditOffIcon=Ob,o.EditRoadIcon=Lb,o.EggAltIcon=Vb,o.EggIcon=Qb,o.EjectIcon=Wb,o.ElderlyIcon=Gb,o.ElderlyWomanIcon=zb,o.ElectricBikeIcon=Hb,o.ElectricBoltIcon=Ub,o.ElectricCarIcon=Yb,o.ElectricMeterIcon=$b,o.ElectricMopedIcon=jb,o.ElectricRickshawIcon=qb,o.ElectricScooterIcon=Jb,o.ElectricalServicesIcon=Zb,o.ElevatorIcon=Xb,o.EmailIcon=pc,o.EmergencyIcon=xb,o.EmergencyRecordingIcon=Rb,o.EmergencyShareIcon=ep,o.EmojiEmotionsIcon=np,o.EmojiEventsIcon=op,o.EmojiFoodBeverageIcon=rp,o.EmojiNatureIcon=tp,o.EmojiObjectsIcon=cp,o.EmojiPeopleIcon=ip,o.EmojiSymbolsIcon=ap,o.EmojiTransportationIcon=lp,o.EmptyValue=Tn,o.EnergySavingsLeafIcon=sp,o.EngineeringIcon=dp,o.EnhancedEncryptionIcon=up,o.EntityCollectionTable=Nt,o.EntityCollectionView=Mt,o.EntityForm=xi,o.EntityPreview=ht,o.EntityReference=Ue,o.EnumValuesChip=Pe,o.EqualizerIcon=fp,o.ErrorBoundary=se,o.ErrorIcon=Kr,o.ErrorOutlineIcon=wc,o.ErrorView=we,o.EscalatorIcon=Ap,o.EscalatorWarningIcon=yp,o.EuroIcon=_p,o.EuroSymbolIcon=hp,o.EvStationIcon=gp,o.EventAvailableIcon=bp,o.EventBusyIcon=pp,o.EventIcon=Ip,o.EventNoteIcon=wp,o.EventRepeatIcon=kp,o.EventSeatIcon=mp,o.ExitToAppIcon=vp,o.ExpandCircleDownIcon=Cp,o.ExpandIcon=Kp,o.ExpandLessIcon=Sp,o.ExpandMoreIcon=Mo,o.ExpandablePanel=gn,o.ExplicitIcon=Bp,o.ExploreIcon=Ep,o.ExploreOffIcon=Fp,o.ExposureIcon=Pp,o.ExposureNeg1Icon=Dp,o.ExposureNeg2Icon=Np,o.ExposurePlus1Icon=Tp,o.ExposurePlus2Icon=Mp,o.ExposureZeroIcon=Op,o.ExtensionIcon=Lp,o.ExtensionOffIcon=Qp,o.Face2Icon=Wp,o.Face3Icon=Gp,o.Face4Icon=zp,o.Face5Icon=Hp,o.Face6Icon=Up,o.FaceIcon=Vp,o.FaceRetouchingNaturalIcon=Yp,o.FaceRetouchingOffIcon=$p,o.FactCheckIcon=jp,o.FactoryIcon=qp,o.FamilyRestroomIcon=Jp,o.FastForwardIcon=Zp,o.FastRewindIcon=Xp,o.FastfoodIcon=xp,o.FavoriteBorderIcon=ew,o.FavoriteIcon=Rp,o.FaxIcon=nw,o.FeaturedPlayListIcon=ow,o.FeaturedVideoIcon=rw,o.FeedIcon=tw,o.FeedbackIcon=cw,o.FemaleIcon=iw,o.FenceIcon=aw,o.FestivalIcon=lw,o.FiberDvrIcon=sw,o.FiberManualRecordIcon=dw,o.FiberNewIcon=uw,o.FiberPinIcon=fw,o.FiberSmartRecordIcon=Aw,o.FieldConfigBadge=_3,o.FieldHelperText=Ce,o.FileCopyIcon=kc,o.FileDownloadDoneIcon=_w,o.FileDownloadIcon=yw,o.FileDownloadOffIcon=hw,o.FileOpenIcon=gw,o.FilePresentIcon=Iw,o.FileUpload=dU,o.FileUploadIcon=bw,o.Filter1Icon=ww,o.Filter2Icon=kw,o.Filter3Icon=mw,o.Filter4Icon=vw,o.Filter5Icon=Kw,o.Filter6Icon=Cw,o.Filter7Icon=Sw,o.Filter8Icon=Bw,o.Filter9Icon=Ew,o.Filter9PlusIcon=Fw,o.FilterAltIcon=Pw,o.FilterAltOffIcon=Dw,o.FilterBAndWIcon=Nw,o.FilterCenterFocusIcon=Tw,o.FilterDramaIcon=Mw,o.FilterFramesIcon=Ow,o.FilterHdrIcon=Lw,o.FilterIcon=pw,o.FilterListIcon=mc,o.FilterListOffIcon=vc,o.FilterNoneIcon=Qw,o.FilterTiltShiftIcon=Vw,o.FilterVintageIcon=Ww,o.FindInPageIcon=Gw,o.FindReplaceIcon=zw,o.FingerprintIcon=Hw,o.FireCMS=O3,o.FireCMSAppBar=ma,o.FireCMSContextInstance=Nr,o.FireCMSLogo=ka,o.FireExtinguisherIcon=Uw,o.FireHydrantAltIcon=Yw,o.FireTruckIcon=$w,o.FireplaceIcon=jw,o.FirstPageIcon=qw,o.FitScreenIcon=Jw,o.FitbitIcon=Zw,o.FitnessCenterIcon=Xw,o.FlagCircleIcon=xw,o.FlagIcon=Kc,o.FlakyIcon=Rw,o.FlareIcon=ek,o.FlashAutoIcon=nk,o.FlashOffIcon=ok,o.FlashOnIcon=rk,o.FlashlightOffIcon=tk,o.FlashlightOnIcon=ck,o.FlatwareIcon=ik,o.FlightClassIcon=lk,o.FlightIcon=ak,o.FlightLandIcon=sk,o.FlightTakeoffIcon=dk,o.FlipCameraAndroidIcon=fk,o.FlipCameraIosIcon=Ak,o.FlipIcon=uk,o.FlipToBackIcon=yk,o.FlipToFrontIcon=_k,o.FloodIcon=hk,o.FluorescentIcon=gk,o.FlutterDashIcon=Ik,o.FmdBadIcon=bk,o.FmdGoodIcon=pk,o.FolderCopyIcon=kk,o.FolderDeleteIcon=mk,o.FolderIcon=wk,o.FolderOffIcon=vk,o.FolderOpenIcon=Kk,o.FolderSharedIcon=Ck,o.FolderSpecialIcon=Sk,o.FolderZipIcon=Bk,o.FollowTheSignsIcon=Ek,o.FontDownloadIcon=Fk,o.FontDownloadOffIcon=Pk,o.FoodBankIcon=Dk,o.ForestIcon=Nk,o.ForkLeftIcon=Tk,o.ForkRightIcon=Mk,o.FormatAlignCenterIcon=Ok,o.FormatAlignJustifyIcon=Lk,o.FormatAlignLeftIcon=Qk,o.FormatAlignRightIcon=Vk,o.FormatBoldIcon=Wk,o.FormatClearIcon=Gk,o.FormatColorFillIcon=zk,o.FormatColorResetIcon=Hk,o.FormatColorTextIcon=Uk,o.FormatIndentDecreaseIcon=Yk,o.FormatIndentIncreaseIcon=$k,o.FormatItalicIcon=jk,o.FormatLineSpacingIcon=qk,o.FormatListBulletedIcon=Jk,o.FormatListNumberedIcon=Cr,o.FormatListNumberedRtlIcon=Zk,o.FormatOverlineIcon=Xk,o.FormatPaintIcon=xk,o.FormatQuoteIcon=Cc,o.FormatShapesIcon=Rk,o.FormatSizeIcon=em,o.FormatStrikethroughIcon=nm,o.FormatTextdirectionLToRIcon=om,o.FormatTextdirectionRToLIcon=rm,o.FormatUnderlinedIcon=tm,o.FormikArrayContainer=Do,o.FortIcon=cm,o.ForumIcon=im,o.Forward10Icon=lm,o.Forward30Icon=sm,o.Forward5Icon=dm,o.ForwardIcon=am,o.ForwardToInboxIcon=um,o.FoundationIcon=fm,o.FreeBreakfastIcon=Am,o.FreeCancellationIcon=ym,o.FrontHandIcon=_m,o.FullscreenExitIcon=gm,o.FullscreenIcon=hm,o.FunctionsIcon=Sc,o.GMobiledataIcon=Im,o.GTranslateIcon=bm,o.GamepadIcon=pm,o.GamesIcon=wm,o.GarageIcon=km,o.GasMeterIcon=mm,o.GavelIcon=vm,o.GeneratingTokensIcon=Km,o.GeoPoint=Ko,o.GestureIcon=Cm,o.GetAppIcon=Sm,o.GifBoxIcon=Em,o.GifIcon=Bm,o.GirlIcon=Fm,o.GitHubIcon=yl,o.GiteIcon=Pm,o.GolfCourseIcon=Dm,o.GppBadIcon=Nm,o.GppGoodIcon=Tm,o.GppMaybeIcon=Mm,o.GpsFixedIcon=Om,o.GpsNotFixedIcon=Lm,o.GpsOffIcon=Qm,o.GradeIcon=Vm,o.GradientIcon=Wm,o.GradingIcon=Gm,o.GrainIcon=zm,o.GraphicEqIcon=Hm,o.GrassIcon=Um,o.Grid3x3Icon=Ym,o.Grid4x4Icon=$m,o.GridGoldenratioIcon=jm,o.GridOffIcon=qm,o.GridOnIcon=Jm,o.GridViewIcon=Zm,o.GroupAddIcon=xm,o.GroupIcon=Xm,o.GroupOffIcon=Rm,o.GroupRemoveIcon=ev,o.GroupWorkIcon=nv,o.Groups2Icon=rv,o.Groups3Icon=tv,o.GroupsIcon=ov,o.HMobiledataIcon=cv,o.HPlusMobiledataIcon=iv,o.HailIcon=av,o.HandshakeIcon=lv,o.HandymanIcon=sv,o.HardwareIcon=dv,o.HdIcon=uv,o.HdrAutoIcon=fv,o.HdrAutoSelectIcon=Av,o.HdrEnhancedSelectIcon=yv,o.HdrOffIcon=_v,o.HdrOffSelectIcon=hv,o.HdrOnIcon=gv,o.HdrOnSelectIcon=Iv,o.HdrPlusIcon=bv,o.HdrStrongIcon=pv,o.HdrWeakIcon=wv,o.HeadphonesBatteryIcon=mv,o.HeadphonesIcon=kv,o.HeadsetIcon=vv,o.HeadsetMicIcon=Kv,o.HeadsetOffIcon=Cv,o.HealingIcon=Sv,o.HealthAndSafetyIcon=Bv,o.HearingDisabledIcon=Fv,o.HearingIcon=Ev,o.HeartBrokenIcon=Pv,o.HeatPumpIcon=Dv,o.HeightIcon=Nv,o.HelpCenterIcon=Mv,o.HelpIcon=Tv,o.HelpOutlineIcon=Ov,o.HevcIcon=Lv,o.HexagonIcon=Qv,o.HideImageIcon=Vv,o.HideSourceIcon=Wv,o.HighQualityIcon=Gv,o.HighlightAltIcon=Hv,o.HighlightIcon=zv,o.HighlightOffIcon=Uv,o.HikingIcon=Yv,o.HistoryEduIcon=jv,o.HistoryIcon=$v,o.HistoryToggleOffIcon=qv,o.HiveIcon=Jv,o.HlsIcon=Zv,o.HlsOffIcon=Xv,o.HolidayVillageIcon=xv,o.HomeIcon=Rv,o.HomeMaxIcon=e0,o.HomeMiniIcon=n0,o.HomeRepairServiceIcon=o0,o.HomeWorkIcon=r0,o.HorizontalDistributeIcon=t0,o.HorizontalRuleIcon=c0,o.HorizontalSplitIcon=i0,o.HotTubIcon=a0,o.HotelClassIcon=s0,o.HotelIcon=l0,o.HourglassBottomIcon=d0,o.HourglassDisabledIcon=u0,o.HourglassEmptyIcon=f0,o.HourglassFullIcon=A0,o.HourglassTopIcon=y0,o.HouseIcon=_0,o.HouseSidingIcon=h0,o.HouseboatIcon=g0,o.HowToRegIcon=I0,o.HowToVoteIcon=b0,o.HtmlIcon=p0,o.HttpIcon=Bc,o.HttpsIcon=w0,o.HubIcon=k0,o.HvacIcon=m0,o.IceSkatingIcon=v0,o.IcecreamIcon=K0,o.Icon=r,o.IconButton=Z,o.ImageAspectRatioIcon=S0,o.ImageIcon=C0,o.ImageNotSupportedIcon=B0,o.ImagePreview=Rc,o.ImageSearchIcon=E0,o.ImagesearchRollerIcon=F0,o.ImportContactsIcon=P0,o.ImportExportIcon=D0,o.ImportantDevicesIcon=N0,o.InboxIcon=T0,o.IncompleteCircleIcon=M0,o.IndeterminateCheckBoxIcon=O0,o.InfoIcon=Ec,o.InfoLabel=b3,o.InputIcon=L0,o.InputLabel=Pt,o.InsertChartIcon=Q0,o.InsertChartOutlinedIcon=V0,o.InsertCommentIcon=W0,o.InsertDriveFileIcon=G0,o.InsertEmoticonIcon=z0,o.InsertInvitationIcon=H0,o.InsertLinkIcon=U0,o.InsertPageBreakIcon=Y0,o.InsertPhotoIcon=$0,o.InsightsIcon=j0,o.InstallDesktopIcon=q0,o.InstallMobileIcon=J0,o.IntegrationInstructionsIcon=Z0,o.InterestsIcon=X0,o.InterpreterModeIcon=x0,o.Inventory2Icon=eK,o.InventoryIcon=R0,o.InvertColorsIcon=nK,o.InvertColorsOffIcon=oK,o.IosShareIcon=rK,o.IronIcon=tK,o.IsoIcon=cK,o.JavascriptIcon=iK,o.JoinFullIcon=aK,o.JoinInnerIcon=lK,o.JoinLeftIcon=sK,o.JoinRightIcon=dK,o.KayakingIcon=uK,o.KebabDiningIcon=fK,o.KeyIcon=AK,o.KeyOffIcon=yK,o.KeyValueFieldBinding=Fi,o.KeyValuePreview=Jr,o.KeyboardAltIcon=hK,o.KeyboardArrowDownIcon=gK,o.KeyboardArrowLeftIcon=IK,o.KeyboardArrowRightIcon=bK,o.KeyboardArrowUpIcon=pK,o.KeyboardBackspaceIcon=wK,o.KeyboardCapslockIcon=kK,o.KeyboardCommandKeyIcon=mK,o.KeyboardControlKeyIcon=vK,o.KeyboardDoubleArrowDownIcon=KK,o.KeyboardDoubleArrowLeftIcon=CK,o.KeyboardDoubleArrowRightIcon=SK,o.KeyboardDoubleArrowUpIcon=BK,o.KeyboardHideIcon=EK,o.KeyboardIcon=_K,o.KeyboardOptionKeyIcon=FK,o.KeyboardReturnIcon=PK,o.KeyboardTabIcon=Oo,o.KeyboardVoiceIcon=DK,o.KingBedIcon=NK,o.KitchenIcon=TK,o.KitesurfingIcon=MK,o.LabelIcon=OK,o.LabelImportantIcon=LK,o.LabelOffIcon=QK,o.LabelWithIcon=Ke,o.LanIcon=VK,o.LandscapeIcon=WK,o.LandslideIcon=GK,o.LanguageIcon=zK,o.LaptopChromebookIcon=UK,o.LaptopIcon=HK,o.LaptopMacIcon=YK,o.LaptopWindowsIcon=$K,o.LastPageIcon=jK,o.LaunchIcon=qK,o.LayersClearIcon=ZK,o.LayersIcon=JK,o.LeaderboardIcon=XK,o.LeakAddIcon=xK,o.LeakRemoveIcon=RK,o.LegendToggleIcon=eC,o.LensBlurIcon=oC,o.LensIcon=nC,o.LibraryAddCheckIcon=tC,o.LibraryAddIcon=rC,o.LibraryBooksIcon=cC,o.LibraryMusicIcon=iC,o.LightIcon=aC,o.LightModeIcon=Fc,o.LightbulbCircleIcon=sC,o.LightbulbIcon=lC,o.LineAxisIcon=dC,o.LineStyleIcon=uC,o.LineWeightIcon=fC,o.LinearScaleIcon=AC,o.LinkIcon=Pc,o.LinkOffIcon=yC,o.LinkedCameraIcon=_C,o.LiquorIcon=hC,o.ListAltIcon=Nc,o.ListIcon=Dc,o.LiveHelpIcon=gC,o.LiveTvIcon=IC,o.LivingIcon=bC,o.LoadingButton=Da,o.LocalActivityIcon=pC,o.LocalAirportIcon=wC,o.LocalAtmIcon=kC,o.LocalBarIcon=mC,o.LocalCafeIcon=vC,o.LocalCarWashIcon=KC,o.LocalConvenienceStoreIcon=CC,o.LocalDiningIcon=SC,o.LocalDrinkIcon=BC,o.LocalFireDepartmentIcon=EC,o.LocalFloristIcon=FC,o.LocalGasStationIcon=PC,o.LocalGroceryStoreIcon=DC,o.LocalHospitalIcon=NC,o.LocalHotelIcon=TC,o.LocalLaundryServiceIcon=MC,o.LocalLibraryIcon=OC,o.LocalMallIcon=LC,o.LocalMoviesIcon=QC,o.LocalOfferIcon=VC,o.LocalParkingIcon=WC,o.LocalPharmacyIcon=GC,o.LocalPhoneIcon=zC,o.LocalPizzaIcon=HC,o.LocalPlayIcon=UC,o.LocalPoliceIcon=YC,o.LocalPostOfficeIcon=$C,o.LocalPrintshopIcon=jC,o.LocalSeeIcon=qC,o.LocalShippingIcon=JC,o.LocalTaxiIcon=ZC,o.LocationCityIcon=XC,o.LocationDisabledIcon=xC,o.LocationOffIcon=RC,o.LocationOnIcon=eS,o.LocationSearchingIcon=nS,o.LockClockIcon=rS,o.LockIcon=oS,o.LockOpenIcon=tS,o.LockPersonIcon=cS,o.LockResetIcon=iS,o.LoginIcon=aS,o.LogoDevIcon=lS,o.LogoutIcon=Tc,o.Looks3Icon=dS,o.Looks4Icon=uS,o.Looks5Icon=fS,o.Looks6Icon=AS,o.LooksIcon=sS,o.LooksOneIcon=yS,o.LooksTwoIcon=_S,o.LoopIcon=hS,o.LoupeIcon=gS,o.LowPriorityIcon=IS,o.LoyaltyIcon=bS,o.LteMobiledataIcon=pS,o.LtePlusMobiledataIcon=wS,o.LuggageIcon=kS,o.LunchDiningIcon=mS,o.LyricsIcon=vS,o.MacroOffIcon=KS,o.MailIcon=CS,o.MailLockIcon=SS,o.MailOutlineIcon=BS,o.MaleIcon=ES,o.Man2Icon=PS,o.Man3Icon=DS,o.Man4Icon=NS,o.ManIcon=FS,o.ManageAccountsIcon=TS,o.ManageHistoryIcon=MS,o.ManageSearchIcon=OS,o.MapFieldBinding=Ei,o.MapIcon=LS,o.MapPropertyPreview=ui,o.MapsHomeWorkIcon=QS,o.MapsUgcIcon=VS,o.MarginIcon=WS,o.MarkAsUnreadIcon=GS,o.MarkChatReadIcon=zS,o.MarkChatUnreadIcon=HS,o.MarkEmailReadIcon=US,o.MarkEmailUnreadIcon=YS,o.MarkUnreadChatAltIcon=$S,o.Markdown=so,o.MarkdownFieldBinding=Ni,o.MarkunreadIcon=jS,o.MarkunreadMailboxIcon=qS,o.MasksIcon=JS,o.MaximizeIcon=ZS,o.MediaBluetoothOffIcon=XS,o.MediaBluetoothOnIcon=xS,o.MediationIcon=RS,o.MedicalInformationIcon=eB,o.MedicalServicesIcon=nB,o.MedicationIcon=oB,o.MedicationLiquidIcon=rB,o.MeetingRoomIcon=tB,o.MemoryIcon=cB,o.Menu=Yn,o.MenuBookIcon=iB,o.MenuIcon=Sr,o.MenuItem=Be,o.MenuOpenIcon=aB,o.MergeIcon=lB,o.MergeTypeIcon=sB,o.MessageIcon=dB,o.MicExternalOffIcon=fB,o.MicExternalOnIcon=AB,o.MicIcon=uB,o.MicNoneIcon=yB,o.MicOffIcon=_B,o.MicrowaveIcon=hB,o.MilitaryTechIcon=gB,o.MinimizeIcon=IB,o.MinorCrashIcon=bB,o.MiscellaneousServicesIcon=pB,o.MissedVideoCallIcon=wB,o.MmsIcon=kB,o.MobileFriendlyIcon=mB,o.MobileOffIcon=vB,o.MobileScreenShareIcon=KB,o.MobiledataOffIcon=CB,o.ModeCommentIcon=BB,o.ModeControllerProvider=rl,o.ModeEditIcon=EB,o.ModeEditOutlineIcon=FB,o.ModeFanOffIcon=PB,o.ModeIcon=SB,o.ModeNightIcon=DB,o.ModeOfTravelIcon=NB,o.ModeStandbyIcon=TB,o.ModelTrainingIcon=MB,o.MonetizationOnIcon=OB,o.MoneyIcon=LB,o.MoneyOffCsredIcon=VB,o.MoneyOffIcon=QB,o.MonitorHeartIcon=GB,o.MonitorIcon=WB,o.MonitorWeightIcon=zB,o.MonochromePhotosIcon=HB,o.MoodBadIcon=YB,o.MoodIcon=UB,o.MopedIcon=$B,o.MoreHorizIcon=qB,o.MoreIcon=jB,o.MoreTimeIcon=JB,o.MoreVertIcon=Br,o.MosqueIcon=ZB,o.MotionPhotosAutoIcon=XB,o.MotionPhotosOffIcon=xB,o.MotionPhotosOnIcon=RB,o.MotionPhotosPauseIcon=eE,o.MotionPhotosPausedIcon=nE,o.MouseIcon=oE,o.MoveDownIcon=rE,o.MoveToInboxIcon=tE,o.MoveUpIcon=cE,o.MovieCreationIcon=aE,o.MovieFilterIcon=lE,o.MovieIcon=iE,o.MovingIcon=sE,o.MpIcon=dE,o.MultiSelect=Rr,o.MultiSelectBinding=nt,o.MultiSelectContext=xr,o.MultiSelectItem=et,o.MultilineChartIcon=uE,o.MultipleStopIcon=fE,o.MuseumIcon=AE,o.MusicNoteIcon=yE,o.MusicOffIcon=_E,o.MusicVideoIcon=hE,o.MyLocationIcon=gE,o.NatIcon=IE,o.NatureIcon=bE,o.NaturePeopleIcon=pE,o.NavigateBeforeIcon=wE,o.NavigateNextIcon=kE,o.NavigationCollectionCard=ba,o.NavigationGroup=Lt,o.NavigationIcon=mE,o.NavigationRoutes=z3,o.NearMeDisabledIcon=KE,o.NearMeIcon=vE,o.NearbyErrorIcon=CE,o.NearbyOffIcon=SE,o.NestCamWiredStandIcon=BE,o.NetworkCellIcon=EE,o.NetworkCheckIcon=FE,o.NetworkLockedIcon=PE,o.NetworkPingIcon=DE,o.NetworkWifi1BarIcon=TE,o.NetworkWifi2BarIcon=ME,o.NetworkWifi3BarIcon=OE,o.NetworkWifiIcon=NE,o.NewLabelIcon=LE,o.NewReleasesIcon=QE,o.NewspaperIcon=VE,o.NextPlanIcon=WE,o.NextWeekIcon=GE,o.NfcIcon=zE,o.NightShelterIcon=HE,o.NightlifeIcon=UE,o.NightlightIcon=YE,o.NightlightRoundIcon=$E,o.NightsStayIcon=jE,o.NoAccountsIcon=qE,o.NoAdultContentIcon=JE,o.NoBackpackIcon=ZE,o.NoCellIcon=XE,o.NoCrashIcon=xE,o.NoDrinksIcon=RE,o.NoEncryptionGmailerrorredIcon=nF,o.NoEncryptionIcon=eF,o.NoFlashIcon=oF,o.NoFoodIcon=rF,o.NoLuggageIcon=tF,o.NoMealsIcon=cF,o.NoMeetingRoomIcon=iF,o.NoPhotographyIcon=aF,o.NoSimIcon=lF,o.NoStrollerIcon=sF,o.NoTransferIcon=dF,o.NoiseAwareIcon=uF,o.NoiseControlOffIcon=fF,o.NordicWalkingIcon=AF,o.NorthEastIcon=_F,o.NorthIcon=yF,o.NorthWestIcon=hF,o.NotAccessibleIcon=gF,o.NotFoundPage=wa,o.NotInterestedIcon=IF,o.NotListedLocationIcon=bF,o.NotStartedIcon=pF,o.NoteAddIcon=kF,o.NoteAltIcon=mF,o.NoteIcon=wF,o.NotesIcon=vF,o.NotificationAddIcon=KF,o.NotificationImportantIcon=CF,o.NotificationsActiveIcon=BF,o.NotificationsIcon=SF,o.NotificationsNoneIcon=EF,o.NotificationsOffIcon=FF,o.NotificationsPausedIcon=PF,o.NumberPropertyPreview=_i,o.NumbersIcon=Mc,o.OfflineBoltIcon=DF,o.OfflinePinIcon=NF,o.OfflineShareIcon=TF,o.OilBarrelIcon=MF,o.OnDeviceTrainingIcon=OF,o.OndemandVideoIcon=LF,o.OnlinePredictionIcon=QF,o.OpacityIcon=VF,o.OpenInBrowserIcon=WF,o.OpenInFullIcon=GF,o.OpenInNewIcon=to,o.OpenInNewOffIcon=zF,o.OpenWithIcon=HF,o.OtherHousesIcon=UF,o.OutboundIcon=YF,o.OutboxIcon=$F,o.OutdoorGrillIcon=jF,o.OutletIcon=qF,o.OutlinedFlagIcon=JF,o.OutputIcon=ZF,o.PaddingIcon=XF,o.PagesIcon=xF,o.PageviewIcon=RF,o.PaidIcon=eP,o.PaletteIcon=nP,o.PanToolAltIcon=rP,o.PanToolIcon=oP,o.PanoramaFishEyeIcon=cP,o.PanoramaHorizontalIcon=iP,o.PanoramaHorizontalSelectIcon=aP,o.PanoramaIcon=tP,o.PanoramaPhotosphereIcon=lP,o.PanoramaPhotosphereSelectIcon=sP,o.PanoramaVerticalIcon=dP,o.PanoramaVerticalSelectIcon=uP,o.PanoramaWideAngleIcon=fP,o.PanoramaWideAngleSelectIcon=AP,o.Paper=uU,o.ParaglidingIcon=yP,o.ParkIcon=_P,o.PartyModeIcon=hP,o.PasswordIcon=gP,o.PatternIcon=IP,o.PauseCircleFilledIcon=wP,o.PauseCircleIcon=pP,o.PauseCircleOutlineIcon=kP,o.PauseIcon=bP,o.PausePresentationIcon=mP,o.PaymentIcon=vP,o.PaymentsIcon=KP,o.PedalBikeIcon=CP,o.PendingActionsIcon=BP,o.PendingIcon=SP,o.PentagonIcon=EP,o.PeopleAltIcon=PP,o.PeopleIcon=FP,o.PeopleOutlineIcon=DP,o.PercentIcon=NP,o.PermCameraMicIcon=TP,o.PermContactCalendarIcon=MP,o.PermDataSettingIcon=OP,o.PermDeviceInformationIcon=LP,o.PermIdentityIcon=QP,o.PermMediaIcon=VP,o.PermPhoneMsgIcon=WP,o.PermScanWifiIcon=GP,o.Person2Icon=HP,o.Person3Icon=UP,o.Person4Icon=YP,o.PersonAddAlt1Icon=qP,o.PersonAddAltIcon=jP,o.PersonAddDisabledIcon=JP,o.PersonAddIcon=$P,o.PersonIcon=zP,o.PersonOffIcon=ZP,o.PersonOutlineIcon=XP,o.PersonPinCircleIcon=RP,o.PersonPinIcon=xP,o.PersonRemoveAlt1Icon=n1,o.PersonRemoveIcon=e1,o.PersonSearchIcon=o1,o.PersonalInjuryIcon=r1,o.PersonalVideoIcon=t1,o.PestControlIcon=c1,o.PestControlRodentIcon=i1,o.PetsIcon=a1,o.PhishingIcon=l1,o.PhoneAndroidIcon=d1,o.PhoneBluetoothSpeakerIcon=u1,o.PhoneCallbackIcon=f1,o.PhoneDisabledIcon=A1,o.PhoneEnabledIcon=y1,o.PhoneForwardedIcon=_1,o.PhoneIcon=s1,o.PhoneIphoneIcon=h1,o.PhoneLockedIcon=g1,o.PhoneMissedIcon=I1,o.PhonePausedIcon=b1,o.PhonelinkEraseIcon=w1,o.PhonelinkIcon=p1,o.PhonelinkLockIcon=k1,o.PhonelinkOffIcon=m1,o.PhonelinkRingIcon=v1,o.PhonelinkSetupIcon=K1,o.PhotoAlbumIcon=S1,o.PhotoCameraBackIcon=E1,o.PhotoCameraFrontIcon=F1,o.PhotoCameraIcon=B1,o.PhotoFilterIcon=P1,o.PhotoIcon=C1,o.PhotoLibraryIcon=D1,o.PhotoSizeSelectActualIcon=N1,o.PhotoSizeSelectLargeIcon=T1,o.PhotoSizeSelectSmallIcon=M1,o.PhpIcon=O1,o.PianoIcon=L1,o.PianoOffIcon=Q1,o.PictureAsPdfIcon=V1,o.PictureInPictureAltIcon=G1,o.PictureInPictureIcon=W1,o.PieChartIcon=z1,o.PieChartOutlineIcon=H1,o.PinDropIcon=Y1,o.PinEndIcon=$1,o.PinIcon=U1,o.PinInvokeIcon=j1,o.PinchIcon=q1,o.PivotTableChartIcon=J1,o.PixIcon=Z1,o.PlaceIcon=X1,o.PlagiarismIcon=x1,o.PlayArrowIcon=R1,o.PlayCircleFilledIcon=nD,o.PlayCircleIcon=eD,o.PlayCircleOutlineIcon=oD,o.PlayDisabledIcon=rD,o.PlayForWorkIcon=tD,o.PlayLessonIcon=cD,o.PlaylistAddCheckCircleIcon=lD,o.PlaylistAddCheckIcon=aD,o.PlaylistAddCircleIcon=sD,o.PlaylistAddIcon=iD,o.PlaylistPlayIcon=dD,o.PlaylistRemoveIcon=uD,o.PlumbingIcon=fD,o.PlusOneIcon=AD,o.PodcastsIcon=yD,o.PointOfSaleIcon=_D,o.PolicyIcon=hD,o.PollIcon=gD,o.PolylineIcon=ID,o.PolymerIcon=bD,o.PoolIcon=pD,o.Popover=ir,o.PortableWifiOffIcon=wD,o.PortraitIcon=kD,o.PostAddIcon=mD,o.PowerIcon=vD,o.PowerInputIcon=KD,o.PowerOffIcon=CD,o.PowerSettingsNewIcon=SD,o.PrecisionManufacturingIcon=BD,o.PregnantWomanIcon=ED,o.PresentToAllIcon=FD,o.PreviewIcon=PD,o.PriceChangeIcon=DD,o.PriceCheckIcon=ND,o.PrintDisabledIcon=MD,o.PrintIcon=TD,o.PriorityHighIcon=OD,o.PrivacyTipIcon=LD,o.PrivateConnectivityIcon=QD,o.ProductionQuantityLimitsIcon=VD,o.PropaneIcon=WD,o.PropaneTankIcon=GD,o.PropertyFieldBinding=Kn,o.PropertyPreview=Se,o.PsychologyAltIcon=HD,o.PsychologyIcon=zD,o.PublicIcon=UD,o.PublicOffIcon=YD,o.PublishIcon=$D,o.PublishedWithChangesIcon=jD,o.PunchClockIcon=qD,o.PushPinIcon=JD,o.QrCode2Icon=XD,o.QrCodeIcon=ZD,o.QrCodeScannerIcon=xD,o.QueryBuilderIcon=RD,o.QueryStatsIcon=eN,o.QuestionAnswerIcon=nN,o.QuestionMarkIcon=oN,o.QueueIcon=rN,o.QueueMusicIcon=tN,o.QueuePlayNextIcon=cN,o.QuickreplyIcon=iN,o.QuizIcon=aN,o.RMobiledataIcon=lN,o.RadarIcon=sN,o.RadioButtonCheckedIcon=uN,o.RadioButtonUncheckedIcon=fN,o.RadioIcon=dN,o.RailwayAlertIcon=AN,o.RamenDiningIcon=yN,o.RampLeftIcon=_N,o.RampRightIcon=hN,o.RateReviewIcon=gN,o.RawOffIcon=IN,o.RawOnIcon=bN,o.ReadMoreIcon=pN,o.ReadOnlyFieldBinding=it,o.RealEstateAgentIcon=wN,o.ReceiptIcon=kN,o.ReceiptLongIcon=mN,o.RecentActorsIcon=vN,o.RecommendIcon=KN,o.RecordVoiceOverIcon=CN,o.RectangleIcon=SN,o.RecyclingIcon=BN,o.RedeemIcon=EN,o.RedoIcon=FN,o.ReduceCapacityIcon=PN,o.ReferenceFieldBinding=Bi,o.ReferencePreview=rn,o.ReferencePreviewContainer=Vo,o.ReferenceSelectionInner=Ia,o.RefreshIcon=DN,o.RememberMeIcon=NN,o.RemoveCircleIcon=Oc,o.RemoveCircleOutlineIcon=TN,o.RemoveDoneIcon=MN,o.RemoveFromQueueIcon=ON,o.RemoveIcon=co,o.RemoveModeratorIcon=LN,o.RemoveRedEyeIcon=QN,o.RemoveRoadIcon=VN,o.RemoveShoppingCartIcon=WN,o.ReorderIcon=GN,o.RepartitionIcon=zN,o.RepeatFieldBinding=Pi,o.RepeatIcon=Er,o.RepeatOnIcon=HN,o.RepeatOneIcon=UN,o.RepeatOneOnIcon=YN,o.Replay10Icon=jN,o.Replay30Icon=qN,o.Replay5Icon=JN,o.ReplayCircleFilledIcon=ZN,o.ReplayIcon=$N,o.ReplyAllIcon=xN,o.ReplyIcon=XN,o.ReportGmailerrorredIcon=eT,o.ReportIcon=RN,o.ReportOffIcon=nT,o.ReportProblemIcon=oT,o.RequestPageIcon=rT,o.RequestQuoteIcon=tT,o.ResetTvIcon=cT,o.RestartAltIcon=iT,o.RestaurantIcon=aT,o.RestaurantMenuIcon=lT,o.RestoreFromTrashIcon=dT,o.RestoreIcon=sT,o.RestorePageIcon=uT,o.ReviewsIcon=fT,o.RiceBowlIcon=AT,o.RingVolumeIcon=yT,o.RocketIcon=_T,o.RocketLaunchIcon=hT,o.RollerShadesClosedIcon=IT,o.RollerShadesIcon=gT,o.RollerSkatingIcon=bT,o.RoofingIcon=pT,o.RoomIcon=wT,o.RoomPreferencesIcon=kT,o.RoomServiceIcon=mT,o.Rotate90DegreesCcwIcon=vT,o.Rotate90DegreesCwIcon=KT,o.RotateLeftIcon=CT,o.RotateRightIcon=ST,o.RoundaboutLeftIcon=BT,o.RoundaboutRightIcon=ET,o.RoundedCornerIcon=FT,o.RouteIcon=PT,o.RouteWrapper=nr,o.RouterIcon=DT,o.RowingIcon=NT,o.RssFeedIcon=TT,o.RsvpIcon=MT,o.RttIcon=OT,o.RuleFolderIcon=QT,o.RuleIcon=LT,o.RunCircleIcon=VT,o.RunningWithErrorsIcon=WT,o.RvHookupIcon=GT,o.SafetyCheckIcon=zT,o.SafetyDividerIcon=HT,o.SailingIcon=UT,o.SanitizerIcon=YT,o.SatelliteAltIcon=jT,o.SatelliteIcon=$T,o.SaveAltIcon=JT,o.SaveAsIcon=ZT,o.SaveIcon=qT,o.SavedSearchIcon=XT,o.SavingsIcon=xT,o.Scaffold=V3,o.ScaleIcon=RT,o.ScannerIcon=eM,o.ScatterPlotIcon=nM,o.ScheduleIcon=Lc,o.ScheduleSendIcon=oM,o.SchemaIcon=rM,o.SchoolIcon=tM,o.ScienceIcon=cM,o.ScoreIcon=iM,o.ScoreboardIcon=aM,o.ScreenLockLandscapeIcon=lM,o.ScreenLockPortraitIcon=sM,o.ScreenLockRotationIcon=dM,o.ScreenRotationAltIcon=fM,o.ScreenRotationIcon=uM,o.ScreenSearchDesktopIcon=AM,o.ScreenShareIcon=yM,o.ScreenshotIcon=_M,o.ScreenshotMonitorIcon=hM,o.ScubaDivingIcon=gM,o.SdCardAlertIcon=pM,o.SdCardIcon=bM,o.SdIcon=IM,o.SdStorageIcon=wM,o.SearchBar=Yt,o.SearchIcon=pr,o.SearchOffIcon=kM,o.SecurityIcon=mM,o.SecurityUpdateGoodIcon=KM,o.SecurityUpdateIcon=vM,o.SecurityUpdateWarningIcon=CM,o.SegmentIcon=SM,o.Select=xe,o.SelectAllIcon=BM,o.SelectFieldBinding=Xr,o.SelectGroup=fU,o.SelectItem=Re,o.SelfImprovementIcon=EM,o.SellIcon=FM,o.SendAndArchiveIcon=DM,o.SendIcon=PM,o.SendTimeExtensionIcon=NM,o.SendToMobileIcon=TM,o.SensorDoorIcon=MM,o.SensorOccupiedIcon=OM,o.SensorWindowIcon=LM,o.SensorsIcon=QM,o.SensorsOffIcon=VM,o.SentimentDissatisfiedIcon=WM,o.SentimentNeutralIcon=GM,o.SentimentSatisfiedAltIcon=HM,o.SentimentSatisfiedIcon=zM,o.SentimentVeryDissatisfiedIcon=UM,o.SentimentVerySatisfiedIcon=YM,o.SetMealIcon=$M,o.SettingsAccessibilityIcon=qM,o.SettingsApplicationsIcon=JM,o.SettingsBackupRestoreIcon=ZM,o.SettingsBluetoothIcon=XM,o.SettingsBrightnessIcon=xM,o.SettingsCellIcon=RM,o.SettingsEthernetIcon=e2,o.SettingsIcon=jM,o.SettingsInputAntennaIcon=n2,o.SettingsInputComponentIcon=o2,o.SettingsInputCompositeIcon=r2,o.SettingsInputHdmiIcon=t2,o.SettingsInputSvideoIcon=c2,o.SettingsOverscanIcon=i2,o.SettingsPhoneIcon=a2,o.SettingsPowerIcon=l2,o.SettingsRemoteIcon=s2,o.SettingsSuggestIcon=d2,o.SettingsSystemDaydreamIcon=u2,o.SettingsVoiceIcon=f2,o.SevereColdIcon=A2,o.ShapeLineIcon=y2,o.ShareIcon=_2,o.ShareLocationIcon=h2,o.Sheet=$t,o.ShieldIcon=g2,o.ShieldMoonIcon=I2,o.Shop2Icon=p2,o.ShopIcon=b2,o.ShopTwoIcon=w2,o.ShoppingBagIcon=k2,o.ShoppingBasketIcon=m2,o.ShoppingCartCheckoutIcon=K2,o.ShoppingCartIcon=v2,o.ShortTextIcon=Qc,o.ShortcutIcon=C2,o.ShowChartIcon=S2,o.ShowerIcon=B2,o.ShuffleIcon=E2,o.ShuffleOnIcon=F2,o.ShutterSpeedIcon=P2,o.SickIcon=D2,o.SideDialogs=e3,o.SignLanguageIcon=N2,o.SignalCellular0BarIcon=T2,o.SignalCellular4BarIcon=M2,o.SignalCellularAlt1BarIcon=L2,o.SignalCellularAlt2BarIcon=Q2,o.SignalCellularAltIcon=O2,o.SignalCellularConnectedNoInternet0BarIcon=V2,o.SignalCellularConnectedNoInternet4BarIcon=W2,o.SignalCellularNoSimIcon=G2,o.SignalCellularNodataIcon=z2,o.SignalCellularNullIcon=H2,o.SignalCellularOffIcon=U2,o.SignalWifi0BarIcon=Y2,o.SignalWifi4BarIcon=$2,o.SignalWifi4BarLockIcon=j2,o.SignalWifiBadIcon=q2,o.SignalWifiConnectedNoInternet4Icon=J2,o.SignalWifiOffIcon=Z2,o.SignalWifiStatusbar4BarIcon=X2,o.SignalWifiStatusbarConnectedNoInternet4Icon=x2,o.SignalWifiStatusbarNullIcon=R2,o.SignpostIcon=eO,o.SimCardAlertIcon=oO,o.SimCardDownloadIcon=rO,o.SimCardIcon=nO,o.SingleBedIcon=tO,o.SipIcon=cO,o.SkateboardingIcon=iO,o.SkeletonPropertyComponent=Ln,o.SkipNextIcon=aO,o.SkipPreviousIcon=lO,o.SleddingIcon=sO,o.SlideshowIcon=dO,o.SlowMotionVideoIcon=uO,o.SmartButtonIcon=fO,o.SmartDisplayIcon=AO,o.SmartScreenIcon=yO,o.SmartToyIcon=_O,o.SmartphoneIcon=hO,o.SmokeFreeIcon=gO,o.SmokingRoomsIcon=IO,o.SmsFailedIcon=pO,o.SmsIcon=bO,o.SnackbarProvider=eU,o.SnippetFolderIcon=wO,o.SnoozeIcon=kO,o.SnowboardingIcon=mO,o.SnowmobileIcon=vO,o.SnowshoeingIcon=KO,o.SoapIcon=CO,o.SocialDistanceIcon=SO,o.SolarPowerIcon=BO,o.SortByAlphaIcon=FO,o.SortIcon=EO,o.SosIcon=PO,o.SoupKitchenIcon=DO,o.SourceIcon=NO,o.SouthAmericaIcon=MO,o.SouthEastIcon=OO,o.SouthIcon=TO,o.SouthWestIcon=LO,o.SpaIcon=QO,o.SpaceBarIcon=VO,o.SpaceDashboardIcon=WO,o.SpatialAudioIcon=GO,o.SpatialAudioOffIcon=zO,o.SpatialTrackingIcon=HO,o.SpeakerGroupIcon=YO,o.SpeakerIcon=UO,o.SpeakerNotesIcon=$O,o.SpeakerNotesOffIcon=jO,o.SpeakerPhoneIcon=qO,o.SpeedIcon=JO,o.SpellcheckIcon=ZO,o.Spinner=AU,o.SplitscreenIcon=XO,o.SpokeIcon=xO,o.SportsBarIcon=eL,o.SportsBaseballIcon=nL,o.SportsBasketballIcon=oL,o.SportsCricketIcon=rL,o.SportsEsportsIcon=tL,o.SportsFootballIcon=cL,o.SportsGolfIcon=iL,o.SportsGymnasticsIcon=aL,o.SportsHandballIcon=lL,o.SportsHockeyIcon=sL,o.SportsIcon=RO,o.SportsKabaddiIcon=dL,o.SportsMartialArtsIcon=uL,o.SportsMmaIcon=fL,o.SportsMotorsportsIcon=AL,o.SportsRugbyIcon=yL,o.SportsScoreIcon=_L,o.SportsSoccerIcon=hL,o.SportsTennisIcon=gL,o.SportsVolleyballIcon=IL,o.SquareFootIcon=pL,o.SquareIcon=bL,o.SsidChartIcon=wL,o.StackedBarChartIcon=kL,o.StackedLineChartIcon=mL,o.StadiumIcon=vL,o.StairsIcon=KL,o.StarBorderIcon=Pr,o.StarBorderPurple500Icon=CL,o.StarHalfIcon=SL,o.StarIcon=Fr,o.StarOutlineIcon=BL,o.StarPurple500Icon=EL,o.StarRateIcon=FL,o.StarsIcon=PL,o.StartIcon=DL,o.StayCurrentLandscapeIcon=NL,o.StayCurrentPortraitIcon=TL,o.StayPrimaryLandscapeIcon=ML,o.StayPrimaryPortraitIcon=OL,o.StickyNote2Icon=LL,o.StopCircleIcon=VL,o.StopIcon=QL,o.StopScreenShareIcon=WL,o.StorageIcon=GL,o.StorageThumbnail=ei,o.StorageThumbnailInternal=oi,o.StorageUploadFieldBinding=tt,o.StoreIcon=zL,o.StoreMallDirectoryIcon=HL,o.StorefrontIcon=UL,o.StormIcon=YL,o.StraightIcon=$L,o.StraightenIcon=jL,o.StreamIcon=qL,o.StreetviewIcon=JL,o.StrikethroughSIcon=ZL,o.StringPropertyPreview=zr,o.StrollerIcon=XL,o.StyleIcon=xL,o.SubdirectoryArrowLeftIcon=RL,o.SubdirectoryArrowRightIcon=e4,o.SubjectIcon=Vc,o.SubscriptIcon=n4,o.SubscriptionsIcon=o4,o.SubtitlesIcon=r4,o.SubtitlesOffIcon=t4,o.SubwayIcon=c4,o.SummarizeIcon=i4,o.SuperscriptIcon=a4,o.SupervisedUserCircleIcon=l4,o.SupervisorAccountIcon=s4,o.SupportAgentIcon=u4,o.SupportIcon=d4,o.SurfingIcon=f4,o.SurroundSoundIcon=A4,o.SwapCallsIcon=y4,o.SwapHorizIcon=_4,o.SwapHorizontalCircleIcon=h4,o.SwapVertIcon=g4,o.SwapVerticalCircleIcon=I4,o.SwipeDownAltIcon=w4,o.SwipeDownIcon=p4,o.SwipeIcon=b4,o.SwipeLeftAltIcon=m4,o.SwipeLeftIcon=k4,o.SwipeRightAltIcon=K4,o.SwipeRightIcon=v4,o.SwipeUpAltIcon=S4,o.SwipeUpIcon=C4,o.SwipeVerticalIcon=B4,o.SwitchAccessShortcutAddIcon=F4,o.SwitchAccessShortcutIcon=E4,o.SwitchAccountIcon=P4,o.SwitchCameraIcon=D4,o.SwitchControl=fl,o.SwitchFieldBinding=Ci,o.SwitchLeftIcon=N4,o.SwitchRightIcon=T4,o.SwitchVideoIcon=M4,o.SynagogueIcon=O4,o.SyncAltIcon=Q4,o.SyncDisabledIcon=V4,o.SyncIcon=L4,o.SyncLockIcon=W4,o.SyncProblemIcon=G4,o.SystemSecurityUpdateGoodIcon=H4,o.SystemSecurityUpdateIcon=z4,o.SystemSecurityUpdateWarningIcon=U4,o.SystemUpdateAltIcon=$4,o.SystemUpdateIcon=Y4,o.Tab=cr,o.TabIcon=j4,o.TabUnselectedIcon=q4,o.Table=yU,o.TableBarIcon=J4,o.TableBody=_U,o.TableCell=IU,o.TableChartIcon=Z4,o.TableHeader=hU,o.TableRestaurantIcon=X4,o.TableRow=gU,o.TableRowsIcon=x4,o.TableViewIcon=R4,o.TabletAndroidIcon=nQ,o.TabletIcon=eQ,o.TabletMacIcon=oQ,o.Tabs=Na,o.TagFacesIcon=tQ,o.TagIcon=rQ,o.TakeoutDiningIcon=cQ,o.TapAndPlayIcon=iQ,o.TapasIcon=aQ,o.TaskAltIcon=sQ,o.TaskIcon=lQ,o.TaxiAlertIcon=dQ,o.TempleBuddhistIcon=uQ,o.TempleHinduIcon=fQ,o.TerminalIcon=AQ,o.TerrainIcon=yQ,o.TextDecreaseIcon=_Q,o.TextField=tn,o.TextFieldBinding=Vn,o.TextFieldsIcon=hQ,o.TextFormatIcon=gQ,o.TextIncreaseIcon=IQ,o.TextRotateUpIcon=bQ,o.TextRotateVerticalIcon=pQ,o.TextRotationAngledownIcon=wQ,o.TextRotationAngleupIcon=kQ,o.TextRotationDownIcon=mQ,o.TextRotationNoneIcon=vQ,o.TextSnippetIcon=KQ,o.TextareaAutosize=Kt,o.TextsmsIcon=CQ,o.TextureIcon=SQ,o.TheaterComedyIcon=BQ,o.TheatersIcon=EQ,o.ThermostatAutoIcon=PQ,o.ThermostatIcon=FQ,o.ThumbDownAltIcon=NQ,o.ThumbDownIcon=DQ,o.ThumbDownOffAltIcon=TQ,o.ThumbUpAltIcon=OQ,o.ThumbUpIcon=MQ,o.ThumbUpOffAltIcon=LQ,o.ThumbsUpDownIcon=QQ,o.ThunderstormIcon=VQ,o.TimeToLeaveIcon=WQ,o.TimelapseIcon=GQ,o.TimelineIcon=zQ,o.Timer10Icon=UQ,o.Timer10SelectIcon=YQ,o.Timer3Icon=$Q,o.Timer3SelectIcon=jQ,o.TimerIcon=HQ,o.TimerOffIcon=qQ,o.TipsAndUpdatesIcon=JQ,o.TireRepairIcon=ZQ,o.TitleIcon=XQ,o.TocIcon=xQ,o.TodayIcon=RQ,o.ToggleOffIcon=eV,o.ToggleOnIcon=nV,o.TokenIcon=oV,o.TollIcon=rV,o.TonalityIcon=tV,o.Tooltip=Ae,o.TopicIcon=cV,o.TornadoIcon=iV,o.TouchAppIcon=aV,o.TourIcon=lV,o.ToysIcon=sV,o.TrackChangesIcon=dV,o.TrafficIcon=uV,o.TrainIcon=fV,o.TramIcon=AV,o.TranscribeIcon=yV,o.TransferWithinAStationIcon=_V,o.TransformIcon=hV,o.TransgenderIcon=gV,o.TransitEnterexitIcon=IV,o.TranslateIcon=bV,o.TravelExploreIcon=pV,o.TrendingDownIcon=wV,o.TrendingFlatIcon=kV,o.TrendingUpIcon=mV,o.TripOriginIcon=vV,o.TroubleshootIcon=KV,o.TryIcon=CV,o.TsunamiIcon=SV,o.TtyIcon=BV,o.TuneIcon=EV,o.TungstenIcon=FV,o.TurnLeftIcon=PV,o.TurnRightIcon=DV,o.TurnSharpLeftIcon=NV,o.TurnSharpRightIcon=TV,o.TurnSlightLeftIcon=MV,o.TurnSlightRightIcon=OV,o.TurnedInIcon=LV,o.TurnedInNotIcon=QV,o.TvIcon=VV,o.TvOffIcon=WV,o.TwoWheelerIcon=GV,o.TypeSpecimenIcon=zV,o.Typography=q,o.UTurnLeftIcon=HV,o.UTurnRightIcon=UV,o.UmbrellaIcon=YV,o.UnarchiveIcon=$V,o.UndoIcon=jV,o.UnfoldLessDoubleIcon=JV,o.UnfoldLessIcon=qV,o.UnfoldMoreDoubleIcon=XV,o.UnfoldMoreIcon=ZV,o.UnpublishedIcon=xV,o.UnsubscribeIcon=RV,o.UpcomingIcon=eW,o.UpdateDisabledIcon=oW,o.UpdateIcon=nW,o.UpgradeIcon=rW,o.UploadFileIcon=Wc,o.UploadIcon=tW,o.UrlComponentPreview=lo,o.UsbIcon=cW,o.UsbOffIcon=iW,o.VaccinesIcon=aW,o.VapeFreeIcon=lW,o.VapingRoomsIcon=sW,o.VerifiedIcon=dW,o.VerifiedUserIcon=uW,o.VerticalAlignBottomIcon=fW,o.VerticalAlignCenterIcon=AW,o.VerticalAlignTopIcon=yW,o.VerticalDistributeIcon=_W,o.VerticalShadesClosedIcon=gW,o.VerticalShadesIcon=hW,o.VerticalSplitIcon=IW,o.VibrationIcon=bW,o.VideoCallIcon=pW,o.VideoCameraBackIcon=wW,o.VideoCameraFrontIcon=kW,o.VideoChatIcon=mW,o.VideoFileIcon=vW,o.VideoLabelIcon=KW,o.VideoLibraryIcon=CW,o.VideoSettingsIcon=SW,o.VideoStableIcon=BW,o.VideocamIcon=EW,o.VideocamOffIcon=FW,o.VideogameAssetIcon=PW,o.VideogameAssetOffIcon=DW,o.ViewAgendaIcon=NW,o.ViewArrayIcon=TW,o.ViewCarouselIcon=MW,o.ViewColumnIcon=OW,o.ViewComfyAltIcon=QW,o.ViewComfyIcon=LW,o.ViewCompactAltIcon=WW,o.ViewCompactIcon=VW,o.ViewCozyIcon=GW,o.ViewDayIcon=zW,o.ViewHeadlineIcon=HW,o.ViewInArIcon=UW,o.ViewKanbanIcon=YW,o.ViewListIcon=$W,o.ViewModuleIcon=jW,o.ViewQuiltIcon=qW,o.ViewSidebarIcon=JW,o.ViewStreamIcon=Gc,o.ViewTimelineIcon=ZW,o.ViewWeekIcon=XW,o.VignetteIcon=xW,o.VillaIcon=RW,o.VirtualTable=ia,o.VisibilityIcon=e5,o.VisibilityOffIcon=n5,o.VoiceChatIcon=o5,o.VoiceOverOffIcon=r5,o.VoicemailIcon=t5,o.VolcanoIcon=c5,o.VolumeDownIcon=i5,o.VolumeMuteIcon=a5,o.VolumeOffIcon=l5,o.VolumeUpIcon=s5,o.VolunteerActivismIcon=d5,o.VpnKeyIcon=u5,o.VpnKeyOffIcon=f5,o.VpnLockIcon=A5,o.VrpanoIcon=y5,o.WalletIcon=_5,o.WallpaperIcon=h5,o.WarehouseIcon=g5,o.WarningAmberIcon=b5,o.WarningIcon=I5,o.WashIcon=p5,o.WatchIcon=w5,o.WatchLaterIcon=k5,o.WatchOffIcon=m5,o.WaterDamageIcon=K5,o.WaterDropIcon=C5,o.WaterIcon=v5,o.WaterfallChartIcon=S5,o.WavesIcon=B5,o.WavingHandIcon=E5,o.WbAutoIcon=F5,o.WbCloudyIcon=P5,o.WbIncandescentIcon=D5,o.WbIridescentIcon=N5,o.WbShadeIcon=T5,o.WbSunnyIcon=M5,o.WbTwilightIcon=O5,o.WcIcon=L5,o.WebAssetIcon=V5,o.WebAssetOffIcon=W5,o.WebIcon=Q5,o.WebStoriesIcon=G5,o.WebhookIcon=z5,o.WeekendIcon=H5,o.WestIcon=U5,o.WhatshotIcon=Y5,o.WheelchairPickupIcon=$5,o.WhereToVoteIcon=j5,o.WidgetsIcon=q5,o.WidthFullIcon=J5,o.WidthNormalIcon=Z5,o.WidthWideIcon=X5,o.Wifi1BarIcon=R5,o.Wifi2BarIcon=eG,o.WifiCalling3Icon=oG,o.WifiCallingIcon=nG,o.WifiChannelIcon=rG,o.WifiFindIcon=tG,o.WifiIcon=x5,o.WifiLockIcon=cG,o.WifiOffIcon=iG,o.WifiPasswordIcon=aG,o.WifiProtectedSetupIcon=lG,o.WifiTetheringErrorIcon=dG,o.WifiTetheringIcon=sG,o.WifiTetheringOffIcon=uG,o.WindPowerIcon=fG,o.WindowIcon=AG,o.WineBarIcon=yG,o.Woman2Icon=hG,o.WomanIcon=_G,o.WorkHistoryIcon=IG,o.WorkIcon=gG,o.WorkOffIcon=bG,o.WorkOutlineIcon=pG,o.WorkspacePremiumIcon=wG,o.WorkspacesIcon=kG,o.WrapTextIcon=mG,o.WrongLocationIcon=vG,o.WysiwygIcon=KG,o.YardIcon=CG,o.YoutubeSearchedForIcon=SG,o.ZoomInIcon=BG,o.ZoomInMapIcon=EG,o.ZoomOutIcon=FG,o.ZoomOutMapIcon=PG,o._10kIcon=gl,o._10mpIcon=Il,o._11mpIcon=bl,o._123Icon=_l,o._12mpIcon=pl,o._13mpIcon=wl,o._14mpIcon=kl,o._15mpIcon=ml,o._16mpIcon=vl,o._17mpIcon=Kl,o._18UpRatingIcon=Cl,o._18mpIcon=Sl,o._19mpIcon=Bl,o._1kIcon=El,o._1kPlusIcon=Fl,o._1xMobiledataIcon=Pl,o._20mpIcon=Dl,o._21mpIcon=Nl,o._22mpIcon=Tl,o._23mpIcon=Ml,o._24mpIcon=Ol,o._2kIcon=Ll,o._2kPlusIcon=Ql,o._2mpIcon=Vl,o._30fpsIcon=Wl,o._30fpsSelectIcon=Gl,o._360Icon=hl,o._3dRotationIcon=zl,o._3gMobiledataIcon=Hl,o._3kIcon=Ul,o._3kPlusIcon=Yl,o._3mpIcon=$l,o._3pIcon=jl,o._4gMobiledataIcon=ql,o._4gPlusMobiledataIcon=Jl,o._4kIcon=Zl,o._4kPlusIcon=Xl,o._4mpIcon=xl,o._5gIcon=Rl,o._5kIcon=es,o._5kPlusIcon=ns,o._5mpIcon=os,o._60fpsIcon=rs,o._60fpsSelectIcon=ts,o._6FtApartIcon=cs,o._6kIcon=is,o._6kPlusIcon=as,o._6mpIcon=ls,o._7kIcon=ss,o._7kPlusIcon=ds,o._7mpIcon=us,o._8kIcon=fs,o._8kPlusIcon=As,o._8mpIcon=ys,o._9kIcon=_s,o._9kPlusIcon=hs,o._9mpIcon=gs,o.addInitialSlash=cl,o.buildAdditionalFieldDelegate=Z3,o.buildCollection=H3,o.buildEntityCallbacks=J3,o.buildEnumLabel=lc,o.buildEnumValueConfig=q3,o.buildEnumValues=j3,o.buildFieldConfig=X3,o.buildProperties=Y3,o.buildPropertiesOrBuilder=$3,o.buildProperty=U3,o.canCreateEntity=Gn,o.canDeleteEntity=Yo,o.canEditEntity=yt,o.cardClickableMixin=ci,o.cardMixin=ti,o.cardSelectedMixin=ez,o.cmsToDelegateModel=Lo,o.cn=F,o.coolIconKeys=br,o.debounce=Yi,o.defaultBorderMixin=ue,o.defaultDateFormat=fi,o.deleteEntityWithCallbacks=Zc,o.enumToObjectEntries=dn,o.fieldBackgroundDisabledMixin=on,o.fieldBackgroundHoverMixin=Ye,o.fieldBackgroundInvisibleMixin=Yr,o.fieldBackgroundMixin=Xe,o.flattenObject=_t,o.focusedClasses=Ur,o.focusedInvisibleMixin=Hr,o.focusedMixin=he,o.fullPathToCollectionSegments=Ve,o.getArrayValuesCount=$i,o.getBracketNotation=Zz,o.getCollectionByPathOrAlias=mo,o.getCollectionPathsCombinations=vo,o.getColorForProperty=Jz,o.getColorScheme=ac,o.getDefaultFieldId=It,o.getDefaultPropertiesOrder=Xz,o.getDefaultValueFor=Bo,o.getDefaultValueForDataType=gr,o.getDefaultValuesFor=oo,o.getFieldConfig=qo,o.getFieldId=bt,o.getHashValue=yr,o.getIcon=Hi,o.getIconForProperty=ve,o.getIconForView=$o,o.getIconForWidget=ft,o.getIdIcon=qz,o.getLabelOrConfigFrom=Po,o.getLastSegment=il,o.getPropertiesWithPropertiesOrder=zi,o.getPropertyInPath=Cn,o.getRandomId=_o,o.getReferenceFrom=kn,o.getReferencePreviewKeys=Ui,o.getResolvedPropertyInPath=At,o.getValueInPath=sn,o.hydrateRegExp=Wi,o.iconKeys=sc,o.isDefaultFieldConfigId=Ri,o.isEmptyObject=hr,o.isEnumValueDisabled=dl,o.isHidden=no,o.isObject=Co,o.isPropertyBuilder=Me,o.isReadOnly=Pn,o.isReferenceProperty=Gi,o.isValidRegExp=$z,o.makePropertiesEditable=ji,o.makePropertiesNonEditable=qi,o.mergeDeep=Ze,o.paperMixin=$e,o.pick=rc,o.plural=xz,o.randomColor=fz,o.randomString=Qn,o.removeFunctions=Ar,o.removeInPath=al,o.removeInitialAndTrailingSlashes=be,o.removeInitialSlash=nc,o.removeTrailingSlash=oc,o.removeUndefined=_r,o.renderSkeletonCaptionText=ZG,o.renderSkeletonIcon=Gr,o.renderSkeletonImageThumbnail=Wr,o.renderSkeletonText=nn,o.resolveArrayProperty=hn,o.resolveCollection=Oe,o.resolveCollectionPathAliases=fr,o.resolveDefaultSelectedView=dt,o.resolveEntityView=kt,o.resolveEnumValues=rH,o.resolveNavigationFrom=Xc,o.resolvePermissions=fo,o.resolveProperties=pt,o.resolveProperty=Le,o.resolvePropertyEnum=wt,o.sanitizeData=ll,o.saveEntityWithCallbacks=Or,o.segmentsToStrippedPath=Vi,o.serializeRegExp=Yz,o.singular=Rz,o.slugify=Go,o.sortProperties=Li,o.stripCollectionPath=ut,o.toKebabCase=sz,o.toSnakeCase=uz,o.traverseValueProperty=Eo,o.traverseValuesProperties=Ir,o.unslugify=tl,o.updateDateAutoValues=tc,o.useAuthController=fn,o.useAutoComplete=nU,o.useBreadcrumbsContext=Qr,o.useBrowserTitleAndIcon=LG,o.useBuildDataSource=QG,o.useBuildLocalConfigurationPersistence=R3,o.useBuildModeController=x3,o.useClearRestoreValue=Qe,o.useClipboard=xc,o.useCollectionFetch=Jc,o.useDataSource=Ge,o.useDebounce=Ho,o.useDebounceValue=jz,o.useEntityCollectionTableController=Tt,o.useEntityFetch=Mr,o.useFireCMSContext=x,o.useLargeLayout=ze,o.useModeController=Lr,o.useNavigationContext=fe,o.useOutsideAlerter=Wo,o.useReferenceDialog=ao,o.useResolvedNavigationFrom=TG,o.useSelectionController=Ot,o.useSideDialogContext=Zo,o.useSideDialogsController=io,o.useSideEntityController=An,o.useSnackbarController=yn,o.useStorageSource=Dn,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
1611
1611
  //# sourceMappingURL=index.umd.js.map