PageSourceSearch

https://cms.companion.guide/_next/static/chunks/6804-0b9c424b7f8d02bd.js

js companion.guide collected 2026-10-09 17:35:54 UTC 402,282 bytes, 54 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6804],{93362:function(e,t,n){n.d(t,{D:function(){return d},o:function(){return h}});var r=n(87462),o=n(67294),a=n(92996),i=n(19032),s=n(2097),l=n(59948),c=n(7960);function u(e){return"undefined"!==typeof e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function d(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=i?s.trim():s;n&&(c=c.toLowerCase()),t&&(c=u(c));const d=c?e.filter((e=>{let r=(a||l)(e);return n&&(r=r.toLowerCase()),t&&(r=u(r)),"start"===o?0===r.indexOf(c):r.indexOf(c)>-1})):e;return"number"===typeof r?d.slice(0,r):d}}function p(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const m=d(),f=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function h(e){const{unstable_isActiveElementInListbox:t=f,unstable_classNamePrefix:n="Mui",autoComplete:u=!1,autoHighlight:d=!1,autoSelect:h=!1,blurOnSelect:g=!1,clearOnBlur:v=!e.freeSolo,clearOnEscape:b=!1,componentName:y="useAutocomplete",defaultValue:w=(e.multiple?[]:null),disableClearable:x=!1,disableCloseOnSelect:C=!1,disabled:S,disabledItemsFocusable:P=!1,disableListWrap:Z=!1,filterOptions:k=m,filterSelectedOptions:D=!1,freeSolo:T=!1,getOptionDisabled:M,getOptionKey:I,getOptionLabel:O=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:R,handleHomeEndKeys:V=!e.freeSolo,id:A,includeInputInList:F=!1,inputValue:L,isOptionEqualToValue:N=((e,t)=>e===t),multiple:E=!1,onChange:B,onClose:$,onHighlightChange:j,onInputChange:z,onOpen:H,open:W,openOnFocus:U=!1,options:G,readOnly:q=!1,selectOnFocus:Y=!e.freeSolo,value:K}=e,X=(0,a.Z)(A);let _=O;_=e=>{const t=O(e);return"string"!==typeof t?String(t):t};const Q=o.useRef(!1),J=o.useRef(!0),ee=o.useRef(null),te=o.useRef(null),[ne,re]=o.useState(null),[oe,ae]=o.useState(-1),ie=d?0:-1,se=o.useRef(ie),[le,ce]=(0,i.Z)({controlled:K,default:w,name:y}),[ue,de]=(0,i.Z)({controlled:L,default:"",name:y,state:"inputValue"}),[pe,me]=o.useState(!1),fe=o.useCallback(((e,t)=>{if(!(E?le.length<t.length:null!==t)&&!v)return;let n;if(E)n="";else if(null==t)n="";else{const e=_(t);n="string"===typeof e?e:""}ue!==n&&(de(n),z&&z(e,n,"reset"))}),[_,ue,E,z,de,v,le]),[he,ge]=(0,i.Z)({controlled:W,default:!1,name:y,state:"open"}),[ve,be]=o.useState(!0),ye=!E&&null!=le&&ue===_(le),we=he&&!q,xe=we?k(G.filter((e=>!D||!(E?le:[le]).some((t=>null!==t&&N(e,t))))),{inputValue:ye&&ve?"":ue,getOptionLabel:_}):[],Ce=(0,s.Z)({filteredOptions:xe,value:le,inputValue:ue});o.useEffect((()=>{const e=le!==Ce.value;pe&&!e||T&&!e||fe(null,le)}),[le,fe,pe,Ce.value,T]);const Se=he&&xe.length>0&&!q;const Pe=(0,l.Z)((e=>{-1===e?ee.current.focus():ne.querySelector(`[data-tag-index="${e}"]`).focus()}));o.useEffect((()=>{E&&oe>le.length-1&&(ae(-1),Pe(-1))}),[le,E,oe,Pe]);const Ze=(0,l.Z)((({event:e,index:t,reason:r="auto"})=>{if(se.current=t,-1===t?ee.current.removeAttribute("aria-activedescendant"):ee.current.setAttribute("aria-activedescendant",`${X}-option-${t}`),j&&j(e,-1===t?null:xe[t],r),!te.current)return;const o=te.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let a=te.current;if("listbox"!==te.current.getAttribute("role")&&(a=te.current.parentElement.querySelector('[role="listbox"]')),!a)return;if(-1===t)return void(a.scrollTop=0);const i=te.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${n}-focused`),"keyboard"===r&&i.classList.add(`${n}-focusVisible`),a.scrollHeight>a.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=i,t=a.clientHeight+a.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?a.scrollTop=n-a.clientHeight:e.offsetTop-e.offsetHeight*(R?1.3:0)<a.scrollTop&&(a.scrollTop=e.offsetTop-e.offsetHeight*(R?1.3:0))}})),ke=(0,l.Z)((({event:e,diff:t,direction:n="next",reason:r="auto"})=>{if(!we)return;const o=function(e,t){if(!te.current||e<0||e>=xe.length)return-1;let n=e;for(;;){const r=te.current.querySelector(`[data-option-index="${n}"]`),o=!P&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!o)return n;if(n="next"===t?(n+1)%xe.length:(n-1+xe.length)%xe.length,n===e)return-1}}((()=>{const e=xe.length-1;if("reset"===t)return ie;if("start"===t)return 0;if("end"===t)return e;const n=se.current+t;return n<0?-1===n&&F?-1:Z&&-1!==se.current||Math.abs(t)>1?0:e:n>e?n===e+1&&F?-1:Z||Math.abs(t)>1?e:0:n})(),n);if(Ze({index:o,reason:r,event:e}),u&&"reset"!==t)if(-1===o)ee.current.value=ue;else{const e=_(xe[o]);ee.current.value=e;0===e.toLowerCase().indexOf(ue.toLowerCase())&&ue.length>0&&ee.current.setSelectionRange(ue.length,e.length)}})),De=o.useCallback((()=>
1{if(!we)return;if((()=>{if(-1!==se.current&&Ce.filteredOptions&&Ce.filteredOptions.length!==xe.length&&Ce.inputValue===ue&&(E?le.length===Ce.value.length&&Ce.value.every(((e,t)=>_(le[t])===_(e))):(e=Ce.value,t=le,(e?_(e):"")===(t?_(t):"")))){const e=Ce.filteredOptions[se.current];if(e&&xe.some((t=>_(t)===_(e))))return!0}var e,t;return!1})())return;const e=E?le[0]:le;if(0!==xe.length&&null!=e){if(te.current)if(null==e)se.current>=xe.length-1?Ze({index:xe.length-1}):Ze({index:se.current});else{const t=xe[se.current];if(E&&t&&-1!==p(le,(e=>N(t,e))))return;const n=p(xe,(t=>N(t,e)));-1===n?ke({diff:"reset"}):Ze({index:n})}}else ke({diff:"reset"})}),[xe.length,!E&&le,D,ke,Ze,we,ue,E]),Te=(0,l.Z)((e=>{(0,c.Z)(te,e),e&&De()}));o.useEffect((()=>{De()}),[De]);const Me=e=>{he||(ge(!0),be(!0),H&&H(e))},Ie=(e,t)=>{he&&(ge(!1),$&&$(e,t))},Oe=(e,t,n,r)=>{if(E){if(le.length===t.length&&le.every(((e,n)=>e===t[n])))return}else if(le===t)return;B&&B(e,t,n,r),ce(t)},Re=o.useRef(!1),Ve=(e,t,n="selectOption",r="options")=>{let o=n,a=t;if(E){a=Array.isArray(le)?le.slice():[];const e=p(a,(e=>N(t,e)));-1===e?a.push(t):"freeSolo"!==r&&(a.splice(e,1),o="removeOption")}fe(e,a),Oe(e,a,o,{option:t}),C||e&&(e.ctrlKey||e.metaKey)||Ie(e,o),(!0===g||"touch"===g&&Re.current||"mouse"===g&&!Re.current)&&ee.current.blur()};const Ae=(e,t)=>
vendor: 4,695 bytes, line 1
1{if(!E)return;""===ue&&Ie(e,"toggleInput");let n=oe;-1===oe?""===ue&&"previous"===t&&(n=le.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===le.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===le.length||"previous"===t&&-1===n)return-1;const e=ne.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),ae(n),Pe(n)},Fe=e=>{Q.current=!0,de(""),z&&z(e,"","clear"),Oe(e,E?[]:null,"clear")},Le=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==oe&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(ae(-1),Pe(-1)),229!==t.which))switch(t.key){case"Home":we&&V&&(t.preventDefault(),ke({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":we&&V&&(t.preventDefault(),ke({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ke({diff:-5,direction:"previous",reason:"keyboard",event:t}),Me(t);break;case"PageDown":t.preventDefault(),ke({diff:5,direction:"next",reason:"keyboard",event:t}),Me(t);break;case"ArrowDown":t.preventDefault(),ke({diff:1,direction:"next",reason:"keyboard",event:t}),Me(t);break;case"ArrowUp":t.preventDefault(),ke({diff:-1,direction:"previous",reason:"keyboard",event:t}),Me(t);break;case"ArrowLeft":Ae(t,"previous");break;case"ArrowRight":Ae(t,"next");break;case"Enter":if(-1!==se.current&&we){const e=xe[se.current],n=!!M&&M(e);if(t.preventDefault(),n)return;Ve(t,e,"selectOption"),u&&ee.current.setSelectionRange(ee.current.value.length,ee.current.value.length)}else T&&""!==ue&&!1===ye&&(E&&t.preventDefault(),Ve(t,ue,"createOption","freeSolo"));break;case"Escape":we?(t.preventDefault(),t.stopPropagation(),Ie(t,"escape")):b&&(""!==ue||E&&le.length>0)&&(t.preventDefault(),t.stopPropagation(),Fe(t));break;case"Backspace":if(E&&!q&&""===ue&&le.length>0){const e=-1===oe?le.length-1:oe,n=le.slice();n.splice(e,1),Oe(t,n,"removeOption",{option:le[e]})}break;case"Delete":if(E&&!q&&""===ue&&le.length>0&&-1!==oe){const e=oe,n=le.slice();n.splice(e,1),Oe(t,n,"removeOption",{option:le[e]})}}},Ne=e=>{me(!0),U&&!Q.current&&Me(e)},Ee=e=>{t(te)?ee.current.focus():(me(!1),J.current=!0,Q.current=!1,h&&-1!==se.current&&we?Ve(e,xe[se.current],"blur"):h&&T&&""!==ue?Ve(e,ue,"blur","freeSolo"):v&&fe(e,le),Ie(e,"blur"))},Be=e=>{const t=e.target.value;ue!==t&&(de(t),be(!1),z&&z(e,t,"input")),""===t?x||E||Oe(e,null,"clear"):Me(e)},$e=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));se.current!==t&&Ze({event:e,index:t,reason:"mouse"})},je=e=>{Ze({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Re.current=!0},ze=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Ve(e,xe[t],"selectOption"),Re.current=!1},He=e=>t=>{const n=le.slice();n.splice(e,1),Oe(t,n,"removeOption",{option:le[e]})},We=e=>{he?Ie(e,"toggleInput"):Me(e)},Ue=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==X&&e.preventDefault()},Ge=e=>{e.currentTarget.contains(e.target)&&(ee.current.focus(),Y&&J.current&&ee.current.selectionEnd-ee.current.selectionStart===0&&ee.current.select(),J.current=!1)},qe=e=>{S||""!==ue&&he||We(e)};let Ye=T&&ue.length>0;Ye=Ye||(E?le.length>0:null!==le);let Ke=xe;if(R){new Map;Ke=xe.reduce(((e,t,n)=>{const r=R(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])}return S&&pe&&Ee(),{getRootProps:(e={})=>(0,r.Z)({"aria-owns":Se?`${X}-listbox`:null},e,{onKeyDown:Le(e),onMouseDown:Ue,onClick:Ge}),getInputLabelProps:()=>({id:`${X}-label`,htmlFor:X}),getInputProps:()=>({id:X,value:ue,onBlur:Ee,onFocus:Ne,onChange:Be,onMouseDown:qe,"aria-activedescendant":we?"":null,"aria-autocomplete":u?"both":"list","aria-controls":Se?`${X}-listbox`:void 0,"aria-expanded":Se,autoComplete:"off",ref:ee,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:S}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Fe}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:We}),getTagProps:({index:e})=>(0,r.Z)({key:e,"data-tag-index":e,tabIndex:-1},!q&&{onDelete:He(e)}),getListboxProps:()=>({role:"listbox",id:`${X}-listbox`,"aria-labelledby":`${X}-label`,ref:Te,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const r=(E?le:[le]).some((e=>null!=e&&N(t,e))),o=!!M&&M(t);return{key:null!=(n=null==I?void 0:I(t))?n:_(t),tabIndex:-1,role:"option",id:`${X}-option-${e}`,onMouseMove:$e,onClick:ze,onTouchStart:je,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:X,inputValue:ue,value:le,dirty:Ye,expanded:we&&ne,popupOpen:we,focu
1sed:pe||-1!==oe,anchorEl:ne,setAnchorEl:re,focusedTag:oe,groupedOptions:Ke}}},80896:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4 11h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1z"}),"AddCircleRounded");t.Z=i},73890:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"m20.54 5.23-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM12 17.5 6.5 12H10v-2h4v2h3.5L12 17.5zM5.12 5l.81-1h12l.94 1H5.12z"}),"Archive");t.Z=i},84348:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 11h-3v3.75c0 1.24-1.01 2.25-2.25 2.25S8.5 17.99 8.5 16.75s1.01-2.25 2.25-2.25c.46 0 .89.14 1.25.38V11h4v2zm-3-4V3.5L18.5 9H13z"}),"AudioFile");t.Z=i},50594:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");t.Z=i},54970:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"}),"CloudUpload");t.Z=i},91379:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"}),"Description");t.Z=i},8280:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"}),"DragHandle");t.Z=i},23508:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=i},56693:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}),"Image");t.Z=i},74721:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");t.Z=i},44634:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"}),"InsertDriveFile");t.Z=i},14161:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z"}),"Map");t.Z=i},62665:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"}),"PictureAsPdf");t.Z=i},50336:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"}),"RemoveCircle");t.Z=i},19396:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z"}),"Upload");t.Z=i},61565:function(e,t,n){var r=n(64836);t.Z=void 0;var o=r(n(64938)),a=n(85893),i=(0,o.default)((0,a.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8 12.5v-9l6 4.5-6 4.5z"}),"VideoLibrary");t.Z=i}
1,64938:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(99566)},67358:function(e,t,n){n.d(t,{Z:function(){return x}});var r=n(63366),o=n(87462),a=n(67294),i=(n(76607),n(90512)),s=n(94780),l=n(90948),c=n(71657),u=n(57922),d=n(90629),p=n(64861),m=n(49299),f=n(1588),h=n(34867);function g(e){return(0,h.Z)("MuiAccordion",e)}var v=(0,f.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),b=n(85893);const y=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],w=(0,l.ZP)(d.Z,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${v.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${v.expanded}`]:{"&:before":{opacity:0}
1,"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${v.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e,ownerState:t})=>(0,o.Z)({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{[`&.${v.expanded}`]:{margin:"16px 0"}})));var x=a.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiAccordion"}),{children:l,className:d,defaultExpanded:f=!1,disabled:h=!1,disableGutters:v=!1,expanded:x,onChange:C,square:S=!1,TransitionComponent:P=u.Z,TransitionProps:Z}=n,k=(0,r.Z)(n,y),[D,T]=(0,m.Z)({controlled:x,default:f,name:"Accordion",state:"expanded"}),M=a.useCallback((e=>{T(!D),C&&C(e,!D)}),[D,C,T]),[I,...O]=a.Children.toArray(l),R=a.useMemo((()=>({expanded:D,disabled:h,disableGutters:v,toggle:M})),[D,h,v,M]),V=(0,o.Z)({},n,{square:S,disabled:h,disableGutters:v,expanded:D}),A=(e=>{const{classes:t,square:n,expanded:r,disabled:o,disableGutters:a}=e,i={root:["root",!n&&"rounded",r&&"expanded",o&&"disabled",!a&&"gutters"],region:["region"]};return(0,s.Z)(i,g,t)})(V);return(0,b.jsxs)(w,(0,o.Z)({className:(0,i.Z)(A.root,d),ref:t,ownerState:V,square:S},k,{children:[(0,b.jsx)(p.Z.Provider,{value:R,children:I}),(0,b.jsx)(P,(0,o.Z)({in:D,timeout:"auto"},Z,{children:(0,b.jsx)("div",{"aria-labelledby":I.props.id,id:I.props["aria-controls"],role:"region",className:A.region,children:O})}))]}))}))},64861:function(e,t,n){const r=n(67294).createContext({});t.Z=r},22797:function(e,t,n){n.d(t,{Z:function(){return g}});var r=n(87462),o=n(63366),a=n(67294),i=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(1588),d=n(34867);function p(e){return(0,d.Z)("MuiAccordionDetails",e)}(0,u.Z)("MuiAccordionDetails",["root"]);var m=n(85893);const f=["className"],h=(0,l.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)})));var g=a.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiAccordionDetails"}),{className:a}=n,l=(0,o.Z)(n,f),u=n,d=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"]},p,t)})(u);return(0,m.jsx)(h,(0,r.Z)({className:(0,i.Z)(d.root,a),ref:t,ownerState:u},l))}))},38895:function(e,t,n){n.d(t,{Z:function(){return x}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(49990),d=n(64861),p=n(1588),m=n(34867);function f(e){return(0,m.Z)("MuiAccordionSummary",e)}var h=(0,p.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),g=n(85893);const v=["children","className","expandIcon","focusVisibleClassName","onClick"],b=(0,l.ZP)(u.Z,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{const n={duration:e.transitions.duration.shortest};return(0,o.Z)({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],n),[`&.${h.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${h.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${h.disabled})`]:{cursor:"pointer"}},!t.disableGutters&&{[`&.${h.expanded}`]:{minHeight:64}})})),y=(0,l.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>(0,o.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!t.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${h.expanded}`]:{margin:"20px 0"}}))),w=(0,l.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${h.expanded}`]:{transform:"rotate(180deg)"}})));var x=a.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiAccordionSummary"}),{children:l,className:u,expandIcon:p,focusVisibleClassName:m,onClick:h}=n,x=(0,r.Z)(n,v),{disabled:C=!1,disableGutters:S,expanded:P,toggle:Z}
1=a.useContext(d.Z),k=(0,o.Z)({},n,{expanded:P,disabled:C,disableGutters:S}),D=(e=>{const{classes:t,expanded:n,disabled:r,disableGutters:o}=e,a={root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,s.Z)(a,f,t)})(k);return(0,g.jsxs)(b,(0,o.Z)({focusRipple:!1,disableRipple:!0,disabled:C,component:"div","aria-expanded":P,className:(0,i.Z)(D.root,u),focusVisibleClassName:(0,i.Z)(D.focusVisible,m),onClick:e=>{Z&&Z(e),h&&h(e)},ref:t,ownerState:k},x,{children:[(0,g.jsx)(y,{className:D.content,ownerState:k,children:l}),p&&(0,g.jsx)(w,{className:D.expandIconWrapper,ownerState:k,children:p})]}))}))},76295:function(e,t,n){n.d(t,{Z:function(){return X}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(93362),c=n(41796),u=n(48831),d=n(90948),p=n(71657),m=n(98216),f=n(1588),h=n(34867);function g(e){return(0,h.Z)("MuiListSubheader",e)}(0,f.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var v=n(85893);const b=["className","color","component","disableGutters","disableSticky","inset"],y=(0,d.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,m.Z)(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((({theme:e,ownerState:t})=>(0,o.Z)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),w=a.forwardRef((function(e,t){const n=(0,p.Z)({props:e,name:"MuiListSubheader"}),{className:a,color:l="default",component:c="li",disableGutters:u=!1,disableSticky:d=!1,inset:f=!1}=n,h=(0,r.Z)(n,b),w=(0,o.Z)({},n,{color:l,component:c,disableGutters:u,disableSticky:d,inset:f}),x=(e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:a}=e,i={root:["root","default"!==n&&`color${(0,m.Z)(n)}`,!r&&"gutters",o&&"inset",!a&&"sticky"]};return(0,s.Z)(i,g,t)})(w);return(0,v.jsx)(y,(0,o.Z)({as:c,className:(0,i.Z)(x.root,a),ref:t,ownerState:w},h))}));w.muiSkipListHighlight=!0;var x=w,C=n(90629),S=n(93946),P=n(87918),Z=n(7021),k=n(55827),D=n(54656),T=n(24707),M=n(34484),I=n(60224);function O(e){return(0,h.Z)("MuiAutocomplete",e)}var R,V,A=(0,f.Z)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","
1input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]),F=n(51705);const L=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],N=["ref"],E=["key"],B=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:a,inputFocused:i,size:s}=n;return[{[`& .${A.tag}`]:t.tag},{[`& .${A.tag}`]:t[`tagSize${(0,m.Z)(s)}`]},{[`& .${A.inputRoot}`]:t.inputRoot},{[`& .${A.input}`]:t.input},{[`& .${A.input}`]:i&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,o&&t.hasClearIcon]}})((({ownerState:e})=>(0,o.Z)({[`&.${A.focused} .${A.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${A.clearIndicator}`]:{visibility:"visible"}}},e.fullWidth&&{width:"100%"},{[`& .${A.tag}`]:(0,o.Z)({margin:3,maxWidth:"calc(100% - 6px)"},"small"===e.size&&{margin:2,maxWidth:"calc(100% - 4px)"}),[`& .${A.inputRoot}`]:{flexWrap:"wrap",[`.${A.hasPopupIcon}&, .${A.hasClearIcon}&`]:{paddingRight:30},[`.${A.hasPopupIcon}.${A.hasClearIcon}&`]:{paddingRight:56},[`& .${A.input}`]:{width:0,minWidth:30}},[`& .${Z.Z.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Z.Z.root}.${k.Z.sizeSmall}`]:{[`& .${Z.Z.input}`]:{padding:"2px 4px 3px 0"}},[`& .${D.Z.root}`]:{padding:9,[`.${A.hasPopupIcon}&, .${A.hasClearIcon}&`]:{paddingRight:39},[`.${A.hasPopupIcon}.${A.hasClearIcon}&`]:{paddingRight:65},[`& .${A.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${A.endAdornment}`]:{right:9}},[`& .${D.Z.root}.${k.Z.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${A.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${T.Z.root}`]:{paddingTop:19,paddingLeft:8,[`.${A.hasPopupIcon}&, .${A.hasClearIcon}&`]:{paddingRight:39},[`.${A.hasPopupIcon}.${A.hasClearIcon}&`]:{paddingRight:65},[`& .${T.Z.input}`]:{padding:"7px 4px"},[`& .${A.endAdornment}`]:{right:9}},[`& .${T.Z.root}.${k.Z.sizeSmall}`]:{paddingBottom:1,[`& .${T.Z.input}`]:{padding:"2.5px 4px"}},[`& .${k.Z.hiddenLabel}`]:{paddingTop:8},[`& .${T.Z.root}.${k.Z.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${A.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${T.Z.root}.${k.Z.hiddenLabel}.${k.Z.sizeSmall}`]:{[`& .${A.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${A.input}`]:(0,o.Z)({flexGrow:1,textOverflow:"ellipsis",opacity:0}
1,e.inputFocused&&{opacity:1})}))),$=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"calc(50% - 14px)"}),j=(0,d.ZP)(S.Z,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),z=(0,d.ZP)(S.Z,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>(0,o.Z)({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})((({ownerState:e})=>(0,o.Z)({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"}))),H=(0,d.ZP)(u.Z,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${A.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((({theme:e,ownerState:t})=>(0,o.Z)({zIndex:(e.vars||e).zIndex.modal},t.disablePortal&&{position:"absolute"}))),W=(0,d.ZP)(C.Z,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>(0,o.Z)({},e.typography.body1,{overflow:"auto"}))),U=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),G=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),q=(0,d.ZP)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${A.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${A.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,c.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${A.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,c.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,c.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),Y=(0,d.ZP)(x,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),K=(0,d.ZP)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${A.option}`]:{paddingLeft:24}});var X=a.forwardRef((function(e,t){var n,c,d,f;const h=(0,p.Z)({props:e,name:"MuiAutocomplete"}),{autoComplete:g=!1,autoHighlight:b=!1,autoSelect:y=!1,blurOnSelect:w=!1,ChipProps:x,className:S,clearIcon:Z=R||(R=(0,v.jsx)(M.Z,{fontSize:"small"})),clearOnBlur:k=!h.freeSolo,clearOnEscape:D=!1,clearText:T="Clear",closeText:A="Close",componentsProps:X={},defaultValue:_=(h.multiple?[]:null),disableClearable:Q=!1,disableCloseOnSelect:J=!1,disabled:ee=!1,disabledItemsFocusable:te=!1,disableListWrap:ne=!1,disablePortal:re=!1,filterSelectedOptions:oe=!1,forcePopupIcon:ae="auto",freeSolo:ie=!1,fullWidth:se=!1,getLimitTagsText:le=(e=>`+${e}`),getOptionLabel:ce,groupBy:ue,handleHomeEndKeys:de=!h.freeSolo,includeInputInList:pe=!1,limitTags:me=-1,ListboxComponent:fe="ul",ListboxProps:he,loading:ge=!1,loadingText:ve="Loading\u2026",multiple:be=!1,noOptionsText:ye="No options",openOnFocus:we=!1,openText:xe="Open",Pa
1perComponent:Ce=C.Z,PopperComponent:Se=u.Z,popupIcon:Pe=V||(V=(0,v.jsx)(I.Z,{})),readOnly:Ze=!1,renderGroup:ke,renderInput:De,renderOption:Te,renderTags:Me,selectOnFocus:Ie=!h.freeSolo,size:Oe="medium",slotProps:Re={}}=h,Ve=(0,r.Z)(h,L),{getRootProps:Ae,getInputProps:Fe,getInputLabelProps:Le,getPopupIndicatorProps:Ne,getClearProps:Ee,getTagProps:Be,getListboxProps:$e,getOptionProps:je,value:ze,dirty:He,expanded:We,id:Ue,popupOpen:Ge,focused:qe,focusedTag:Ye,anchorEl:Ke,setAnchorEl:Xe,inputValue:_e,groupedOptions:Qe}=(0,l.o)((0,o.Z)({},h,{componentName:"Autocomplete"})),Je=!Q&&!ee&&He&&!Ze,et=(!ie||!0===ae)&&!1!==ae,{onMouseDown:tt}=Fe(),{ref:nt}=null!=he?he:{},rt=$e(),{ref:ot}=rt,at=(0,r.Z)(rt,N),it=(0,F.Z)(ot,nt),st=ce||(e=>{var t;return null!=(t=e.label)?t:e}),lt=(0,o.Z)({},h,{disablePortal:re,expanded:We,focused:qe,fullWidth:se,getOptionLabel:st,hasClearIcon:Je,hasPopupIcon:et,inputFocused:-1===Ye,popupOpen:Ge,size:Oe}),ct=(e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:a,hasClearIcon:i,hasPopupIcon:l,inputFocused:c,popupOpen:u,size:d}=e,p={root:["root",r&&"expanded",o&&"focused",a&&"fullWidth",i&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",c&&"inputFocused"],tag:["tag",`tagSize${(0,m.Z)(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,s.Z)(p,O,t)})(lt);let ut;if(be&&ze.length>0){const e=e=>(0,o.Z)({className:ct.tag,disabled:ee},Be(e));ut=Me?Me(ze,e,lt):ze.map(((t,n)=>(0,v.jsx)(P.Z,(0,o.Z)({label:st(t),size:Oe},e({index:n}),x))))}if(me>-1&&Array.isArray(ut)){const e=ut.length-me;!qe&&e>0&&(ut=ut.splice(0,me),ut.push((0,v.jsx)("span",{className:ct.tag,children:le(e)},ut.length)))}const dt=ke||(e=>(0,v.jsxs)("li",{children:[(0,v.jsx)(Y,{className:ct.groupLabel,ownerState:lt,component:"div",children:e.group}),(0,v.jsx)(K,{className:ct.groupUl,ownerState:lt,children:e.children})]},e.key)),pt=Te||((e,t)=>{const{key:n}=e,a=(0,r.Z)(e,E);return(0,v.jsx)("li",(0,o.Z)({},a,{children:st(t)}),n)}),mt=(e,t)=>{const n=je({option:e,index:t});return pt((0,o.Z)({},n,{className:ct.option}),e,{selected:n["aria-selected"],index:t,inputValue:_e},lt)},ft=null!=(n=Re.clearIndicator)?n:X.clearIndicator,ht=null!=(c=Re.paper)?c:X.paper,gt=null!=(d=Re.popper)?d:X.popper,vt=null!=(f=Re.popupIndicator)?f:X.popupIndicator;return(0,v.jsxs)(a.Fragment,{children:[(0,v.jsx)(B,(0,o.Z)({ref:t,className:(0,i.Z)(ct.root,S),ownerState:lt},Ae(Ve),{children:De({id:Ue,disabled:ee,fullWidth:!0,size:"small"===Oe?"small":void 0,InputLabelProps:Le(),InputProps:(0,o.Z)({ref:Xe,className:ct.inputRoot,startAdornment:ut,onClick:e=>{e.target===e.currentTarget&&tt(e)}},(Je||et)&&{endAdornment:(0,v.jsxs)($,{className:ct.endAdornment,ownerState:lt,children:[Je?(0,v.jsx)(j,(0,o.Z)({},Ee(),{"aria-label":T,title:T,ownerState:lt},ft,{className:(0,i.Z)(ct.clearIndicator,null==ft?void 0:ft.className),children:Z})):null,et?(0,v.jsx)(z,(0,o.Z)({},Ne(),{disabled:ee,"aria-label":Ge?A:xe,title:Ge?A:xe,ownerState:lt},vt,{className:(0,i.Z)(ct.popupIndicator,null==vt?void 0:vt.className),children:Pe})):null]})}),inputProps:(0,o.Z)({className:ct.input,disabled:ee,readOnly:Ze},Fe())})})),Ke?(0,v.jsx)(H,(0,o.Z)({as:Se,disablePortal:re,style:{width:Ke?Ke.clientWidth:null},ownerState:lt,role:"presentation",anchorEl:Ke,open:Ge},gt,{className:(0,i.Z)(ct.popper,null==gt?void 0:gt.className),children:(0,v.jsxs)(W,(0,o.Z)({ownerState:lt,as:Ce},ht,{className:(0,i.Z)(ct.paper,null==ht?void 0:ht.className),children:[ge&&0===Qe.length?(0,v.jsx)(U,{className:ct.loading,ownerState:lt,children:ve}):null,0!==Qe.length||ie||ge?null:(0,v.jsx)(G,{className:ct.noOptions,ownerState:lt,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:ye}),Qe.length>0?(0,v.jsx)(q,(0,o.Z)({as:fe,className:ct.listbox,ownerState:lt},at,he,{ref:it,children:Qe.map(((e,t)=>ue?dt({key:e.key,group:e.group,children:e.options.map(((t,n)=>mt(t,e.index+n)))}):mt(e,t)))})):null]}))})):null]})}))},69661:function(e,t,n){n.d(t,{Z:function(){return w}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(88169),d=n(85893),p=(0,u.Z)((0,d.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),m=n(1588),f=n(34867);function h(e){return(0,f.Z)("MuiAvatar",e)}
1(0,m.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const g=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],v=(0,l.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((({theme:e,ownerState:t})=>(0,o.Z)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},"square"===t.variant&&{borderRadius:0},t.colorDefault&&(0,o.Z)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]})))),b=(0,l.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),y=(0,l.ZP)(p,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});var w=a.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiAvatar"}),{alt:l,children:u,className:p,component:m="div",imgProps:f,sizes:w,src:x,srcSet:C,variant:S="circular"}=n,P=(0,r.Z)(n,g);let Z=null;const k=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=a.useState(!1);return a.useEffect((()=>{if(!n&&!r)return;i(!1);let o=!0;const a=new Image;return a.onload=()=>{o&&i("loaded")},a.onerror=()=>{o&&i("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{o=!1}}),[e,t,n,r]),o}((0,o.Z)({},f,{src:x,srcSet:C})),D=x||C,T=D&&"error"!==k,M=(0,o.Z)({},n,{colorDefault:!T,component:m,variant:S}),I=(e=>{const{classes:t,variant:n,colorDefault:r}=e,o={root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,s.Z)(o,h,t)})(M);return Z=T?(0,d.jsx)(b,(0,o.Z)({alt:l,srcSet:C,src:x,sizes:w,ownerState:M,className:I.img},f)):null!=u?u:D&&l?l[0]:(0,d.jsx)(y,{ownerState:M,className:I.fallback}),(0,d.jsx)(v,(0,o.Z)({as:m,ownerState:M,className:(0,i.Z)(I.root,p),ref:t},P,{children:Z}))}))},66242:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(87462),o=n(63366),a=n(67294),i=n(90512),s=n(94780),l=n(90948),c=n(71657),u=n(90629),d=n(1588),p=n(34867);function m(e){return(0,p.Z)("MuiCard",e)}(0,d.Z)("MuiCard",["root"]);var f=n(85893);const h=["className","raised"],g=(0,l.ZP)(u.Z,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({overflow:"hidden"})));var v=a.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiCard"}),{className:a,raised:l=!1}=n,u=(0,o.Z)(n,h),d=(0,r.Z)({},n,{raised:l}),p=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"]},m,t)})(d);return(0,f.jsx)(g,(0,r.Z)({className:(0,i.Z)(p.root,a),elevation:l?8:void 0,ref:t,ownerState:d},u))}))},69368:function(e,t,n){n.d(t,{Z:function(){return D}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(41796),c=n(21964),u=n(88169),d=n(85893),p=(0,u.Z)((0,d.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),m=(0,u.Z)((0,d.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),f=(0,u.Z)((0,d.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),h=n(98216),g=n(71657),v=n(90948),b=n(1588),y=n(34867);function w(e){return(0,y.Z)("MuiCheckbox",e)}var x=(0,b.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);const C=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],S=(0,v.ZP)(c.Z,{shouldForwardProp:e=>(0,v.FO)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${(0,h.Z)(n.size)}`],"default"!==n.color&&t[`color${(0,h.Z)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,o.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainCh
1annel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${x.checked}, &.${x.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${x.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),P=(0,d.jsx)(m,{}),Z=(0,d.jsx)(p,{}),k=(0,d.jsx)(f,{});var D=a.forwardRef((function(e,t){var n,l;const c=(0,g.Z)({props:e,name:"MuiCheckbox"}),{checkedIcon:u=P,color:p="primary",icon:m=Z,indeterminate:f=!1,indeterminateIcon:v=k,inputProps:b,size:y="medium",className:x}=c,D=(0,r.Z)(c,C),T=f?v:m,M=f?v:u,I=(0,o.Z)({},c,{color:p,indeterminate:f,size:y}),O=(e=>{const{classes:t,indeterminate:n,color:r,size:a}=e,i={root:["root",n&&"indeterminate",`color${(0,h.Z)(r)}`,`size${(0,h.Z)(a)}`]},l=(0,s.Z)(i,w,t);return(0,o.Z)({},t,l)})(I);return(0,d.jsx)(S,(0,o.Z)({type:"checkbox",inputProps:(0,o.Z)({"data-indeterminate":f},b),icon:a.cloneElement(T,{fontSize:null!=(n=T.props.fontSize)?n:y}),checkedIcon:a.cloneElement(M,{fontSize:null!=(l=M.props.fontSize)?l:y}),ownerState:I,ref:t,className:(0,i.Z)(O.root,x)},D,{classes:O}))}))},87918:function(e,t,n){n.d(t,{Z:function(){return Z}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(41796),c=n(88169),u=n(85893),d=(0,c.Z)((0,u.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),p=n(51705),m=n(98216),f=n(49990),h=n(71657),g=n(90948),v=n(1588),b=n(34867);function y(e){return(0,b.Z)("MuiChip",e)}var w=(0,v.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);const x=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],C=(0,g.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:a,onDelete:i,size:s,variant:l}=n;return[{[`& .${w.avatar}`]:t.avatar},{[`& .${w.avatar}`]:t[`avatar${(0,m.Z)(s)}`]},{[`& .${w.avatar}`]:t[`avatarColor${(0,m.Z)(r)}`]},{[`& .${w.icon}`]:t.icon},{[`& .${w.icon}`]:t[`icon${(0,m.Z)(s)}`]},{[`& .${w.icon}`]:t[`iconColor${(0,m.Z)(o)}`]},{[`& .${w.deleteIcon}`]:t.deleteIcon},{[`& .${w.deleteIcon}`]:t[`deleteIcon${(0,m.Z)(s)}`]},{[`& .${w.deleteIcon}`]:t[`deleteIconColor${(0,m.Z)(r)}`]},{[`& .${w.deleteIcon}`]:t[`deleteIcon${(0,m.Z)(l)}Color${(0,m.Z)(r)}`]},t.root,t[`size${(0,m.Z)(s)}`],t[`color${(0,m.Z)(r)}`],a&&t.clickable,a&&"default"!==r&&t[`clickableColor${(0,m.Z)(r)})`],i&&t.deletable,i&&"default"!==r&&t[`deletableColor${(0,m.Z)(r)}`],t[l],t[`${l}${(0,m.Z)(r)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,o.Z)({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${w.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${w.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${w.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${w.avatarColorSecondary}
1`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${w.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${w.icon}`]:(0,o.Z)({marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&(0,o.Z)({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},"default"!==t.color&&{color:"inherit"})),[`& .${w.deleteIcon}`]:(0,o.Z)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,l.Fq)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,l.Fq)(e.palette.text.primary,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:(0,l.Fq)(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${w.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${w.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})}),(({theme:e,ownerState:t})=>(0,o.Z)({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${w.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${w.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})),(({theme:e,ownerState:t})=>(0,o.Z)({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${w.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${w.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${w.avatar}`]:{marginLeft:4},[`& .${w.avatarSmall}`]:{marginLeft:2},[`& .${w.icon}`]:{marginLeft:4},[`& .${w.iconSmall}`]:{marginLeft:2},[`& .${w.deleteIcon}`]:{marginRight:5},[`& .${w.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,l.Fq)(e.palette[t.color].main,.7)}`,[`&.${w.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${w.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,l.Fq)(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${w.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,l.Fq)(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}}))),S=(0,g.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${(0,m.Z)(r)}`]]}})((({ownerState:e})=>(0,o.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===e.variant&&{paddingLeft:11,paddingRight:11},"small"===e.size&&{paddingLeft:8,paddingRight:8},"small"===e.size&&"outlined"===e.variant&&{paddingLeft:7,paddingRight:7})));function P(e){return"Backspace"===e.key||"Delete"===e.key}var Z=a.forwardRef((function(e,t){const n=(0,h.Z)({props:e,name:"MuiChip"}),{avatar:l,className:c,clickable:g,color:v="default",component:b,deleteIcon:w,disabled:Z=!1,icon:k,label:D,onClick:T,onDelete:M,onKeyDown:I,onKeyUp:O,size:R="medium",variant:V="filled",tabIndex:A,skipFocusWhenDisabled:F=!1}=n,L=(0,r.Z)(n,x),N=a.useRef(null),E=(0,p.Z)(N,t),B=e=>{e.stopPropagation(),M&&M(e)},$=!(!1===g||!T)||g,j=$||M?f.Z:b||"div",z=(0,o.Z)({},n,{component:j,disabled:Z,size:R,color:v,iconColor:a.isValidElement(k)&&k.props.color||v,onDelete:!!M,clickable:$,variant:V}),H=(e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:a,onDelete:i,clickable:l,variant:c}=e,u={root:["root",c,n&&"disabled",`size${(0,m.Z)(r)}
1`,`color${(0,m.Z)(o)}`,l&&"clickable",l&&`clickableColor${(0,m.Z)(o)}`,i&&"deletable",i&&`deletableColor${(0,m.Z)(o)}`,`${c}${(0,m.Z)(o)}`],label:["label",`label${(0,m.Z)(r)}`],avatar:["avatar",`avatar${(0,m.Z)(r)}`,`avatarColor${(0,m.Z)(o)}`],icon:["icon",`icon${(0,m.Z)(r)}`,`iconColor${(0,m.Z)(a)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,m.Z)(r)}`,`deleteIconColor${(0,m.Z)(o)}`,`deleteIcon${(0,m.Z)(c)}Color${(0,m.Z)(o)}`]};return(0,s.Z)(u,y,t)})(z),W=j===f.Z?(0,o.Z)({component:b||"div",focusVisibleClassName:H.focusVisible},M&&{disableRipple:!0}):{};let U=null;M&&(U=w&&a.isValidElement(w)?a.cloneElement(w,{className:(0,i.Z)(w.props.className,H.deleteIcon),onClick:B}):(0,u.jsx)(d,{className:(0,i.Z)(H.deleteIcon),onClick:B}));let G=null;l&&a.isValidElement(l)&&(G=a.cloneElement(l,{className:(0,i.Z)(H.avatar,l.props.className)}));let q=null;return k&&a.isValidElement(k)&&(q=a.cloneElement(k,{className:(0,i.Z)(H.icon,k.props.className)})),(0,u.jsxs)(C,(0,o.Z)({as:j,className:(0,i.Z)(H.root,c),disabled:!(!$||!Z)||void 0,onClick:T,onKeyDown:e=>{e.currentTarget===e.target&&P(e)&&e.preventDefault(),I&&I(e)},onKeyUp:e=>{e.currentTarget===e.target&&(M&&P(e)?M(e):"Escape"===e.key&&N.current&&N.current.blur()),O&&O(e)},ref:E,tabIndex:F&&Z?-1:A,ownerState:z},W,L,{children:[G||q,(0,u.jsx)(S,{className:(0,i.Z)(H.label),ownerState:z,children:D}),U]}))}))},57922:function(e,t,n){n.d(t,{Z:function(){return P}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(98885),l=n(94780),c=n(90948),u=n(71657),d=n(96067),p=n(30577),m=n(2734),f=n(51705),h=n(1588),g=n(34867);function v(e){return(0,g.Z)("MuiCollapse",e)}(0,h.Z)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var b=n(85893);const y=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],w=(0,c.ZP)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>(0,o.Z)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,o.Z)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),x=(0,c.ZP)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>(0,o.Z)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),C=(0,c.ZP)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>(0,o.Z)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),S=a.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiCollapse"}),{addEndListener:c,children:h,className:g,collapsedSize:S="0px",component:P,easing:Z,in:k,onEnter:D,onEntered:T,onEntering:M,onExit:I,onExited:O,onExiting:R,orientation:V="vertical",style:A,timeout:F=d.x9.standard,TransitionComponent:L=s.ZP}=n,N=(0,r.Z)(n,y),E=(0,o.Z)({},n,{orientation:V,collapsedSize:S}),B=(e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,l.Z)(r,v,n)})(E),$=(0,m.Z)(),j=a.useRef(),z=a.useRef(null),H=a.useRef(),W="number"===typeof S?`${S}px`:S,U="horizontal"===V,G=U?"width":"height";a.useEffect((()=>()=>{clearTimeout(j.current)}),[]);const q=a.useRef(null),Y=(0,f.Z)(t,q),K=e=>t=>{if(e){const n=q.current;void 0===t?e(n):e(n,t)}},X=()=>z.current?z.current[U?"clientWidth":"clientHeight"]:0,_=K(((e,t)=>{z.current&&U&&(z.current.style.position="absolute"),e.style[G]=W,D&&D(e,t)})),Q=K(((e,t)=>{const n=X();z.current&&U&&(z.current.style.position="");const{duration:r,easing:o}=(0,p.C)({style:A,timeout:F,easing:Z},{mode:"enter"});if("auto"===F){const t=$.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,H.current=t}else e.style.transitionDuration="string"===typeof r?r:`${r}ms`;e.style[G]=`${n}px`,e.style.transitionTimingFunction=o,M&&M(e,t)})),J=K(((e,t)=>{e.style[G]="auto",T&&T(e,t)})),ee=K((e=>{e.style[G]=`${X()}px`,I&&I(e)})),te=K(O),ne=K((e=>{const t=X(),{duration:n,easing:r}
1=(0,p.C)({style:A,timeout:F,easing:Z},{mode:"exit"});if("auto"===F){const n=$.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,H.current=n}else e.style.transitionDuration="string"===typeof n?n:`${n}ms`;e.style[G]=W,e.style.transitionTimingFunction=r,R&&R(e)}));return(0,b.jsx)(L,(0,o.Z)({in:k,onEnter:_,onEntered:J,onEntering:Q,onExit:ee,onExited:te,onExiting:ne,addEndListener:e=>{"auto"===F&&(j.current=setTimeout(e,H.current||0)),c&&c(q.current,e)},nodeRef:q,timeout:"auto"===F?null:F},N,{children:(e,t)=>(0,b.jsx)(w,(0,o.Z)({as:P,className:(0,i.Z)(B.root,g,{entered:B.entered,exited:!k&&"0px"===W&&B.hidden}[e]),style:(0,o.Z)({[U?"minWidth":"minHeight"]:W},A),ownerState:(0,o.Z)({},E,{state:e}),ref:Y},t,{children:(0,b.jsx)(x,{ownerState:(0,o.Z)({},E,{state:e}),className:B.wrapper,ref:z,children:(0,b.jsx)(C,{ownerState:(0,o.Z)({},E,{state:e}),className:B.wrapperInner,children:h})})}))}))}));S.muiSupportAuto=!0;var P=S},67720:function(e,t,n){var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(41796),c=n(90948),u=n(71657),d=n(35097),p=n(85893);const m=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],f=(0,c.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>(0,o.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,l.Fq)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,o.Z)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>(0,o.Z)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>(0,o.Z)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>(0,o.Z)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),h=(0,c.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>(0,o.Z)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),g=a.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiDivider"}),{absolute:a=!1,children:l,className:c,component:g=(l?"div":"hr"),flexItem:v=!1,light:b=!1,orientation:y="horizontal",role:w=("hr"!==g?"separator":void 0),textAlign:x="center",variant:C="fullWidth"}=n,S=(0,r.Z)(n,m),P=(0,o.Z)({},n,{absolute:a,component:g,flexItem:v,light:b,orientation:y,role:w,textAlign:x,variant:C}),Z=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:a,orientation:i,textAlign:l,variant:c}=e,u={root:["root",t&&"absolute",c,a&&"light","vertical"===i&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===i&&"withChildrenVertical","right"===l&&"vertical"!==i&&"textAlignRight","left"===l&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]};return(0,s.Z)(u,d.V,r)})(P);return(0,p.jsx)(f,(0,o.Z)({as:g,className:(0,i.Z)(Z.root,c),role:w,ref:t,ownerState:P},S,{children:l?(0,p.jsx)(h,{className:Z.wrapper,ownerState:P,children:l}):null}))}));g.muiSkipListHighlight=!0,t.Z=g},35097:function(e,t,n){n.d(t,{V:function(){return a}});var r=n(1588),o=n(34867);function a(e){return(0,o.Z)("MuiDivider",e)}const i=(0,r.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);t.Z=i},50480:function(e,t,n){n.d(t,{Z:function(){return S}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(74423),c=n(51233),u=n(15861),d=n(98216),p=n(90948),m=n(71657),f=n(1588),h=n(34867);
1function g(e){return(0,h.Z)("MuiFormControlLabel",e)}var v=(0,f.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),b=n(15704),y=n(85893);const w=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],x=(0,p.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${v.label}`]:t.label},t.root,t[`labelPlacement${(0,d.Z)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,o.Z)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${v.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${v.label}`]:{[`&.${v.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),C=(0,p.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${v.error}`]:{color:(e.vars||e).palette.error.main}})));var S=a.forwardRef((function(e,t){var n,p;const f=(0,m.Z)({props:e,name:"MuiFormControlLabel"}),{className:h,componentsProps:v={},control:S,disabled:P,disableTypography:Z,label:k,labelPlacement:D="end",required:T,slotProps:M={}}=f,I=(0,r.Z)(f,w),O=(0,l.Z)(),R=null!=(n=null!=P?P:S.props.disabled)?n:null==O?void 0:O.disabled,V=null!=T?T:S.props.required,A={disabled:R,required:V};["checked","name","onChange","value","inputRef"].forEach((e=>{"undefined"===typeof S.props[e]&&"undefined"!==typeof f[e]&&(A[e]=f[e])}));const F=(0,b.Z)({props:f,muiFormControl:O,states:["error"]}),L=(0,o.Z)({},f,{disabled:R,labelPlacement:D,required:V,error:F.error}),N=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:a}=e,i={root:["root",n&&"disabled",`labelPlacement${(0,d.Z)(r)}`,o&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,s.Z)(i,g,t)})(L),E=null!=(p=M.typography)?p:v.typography;let B=k;return null==B||B.type===u.Z||Z||(B=(0,y.jsx)(u.Z,(0,o.Z)({component:"span"},E,{className:(0,i.Z)(N.label,null==E?void 0:E.className),children:B}))),(0,y.jsxs)(x,(0,o.Z)({className:(0,i.Z)(N.root,h),ownerState:L,ref:t},I,{children:[a.cloneElement(S,A),V?(0,y.jsxs)(c.Z,{display:"block",children:[B,(0,y.jsxs)(C,{ownerState:L,"aria-hidden":!0,className:N.asterisk,children:["\u2009","*"]})]}):B]}))}))},86886:function(e,t,n){n.d(t,{ZP:function(){return k}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(95408),l=n(39707),c=n(94780),u=n(90948),d=n(71657),p=n(2734);var m=a.createContext(),f=n(1588),h=n(34867);function g(e){return(0,h.Z)("MuiGrid",e)}const v=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];var b=(0,f.Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...v.map((e=>`grid-xs-${e}`)),...v.map((e=>`grid-sm-${e}`)),...v.map((e=>`grid-md-${e}`)),...v.map((e=>`grid-lg-${e}`)),...v.map((e=>`grid-xl-${e}`))]),y=n(85893);const w=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function x(e){const t=parseFloat(e);return`${t}
1${String(e).replace(String(t),"")||"px"}`}function C({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const S=(0,u.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:a,spacing:i,wrap:s,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=function(e,t,n={}){if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])})),r}(i,c,t));const d=[];return c.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,a&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>(0,o.Z)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){const n=(0,s.P$)({values:t.direction,breakpoints:e.breakpoints.values});return(0,s.k9)({theme:e},n,(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${b.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=(0,s.P$)({values:r,breakpoints:e.breakpoints.values});let n;"object"===typeof t&&(n=C({breakpoints:e.breakpoints.values,values:t})),o=(0,s.k9)({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${x(a)}`,[`& > .${b.item}`]:{paddingTop:x(a)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${b.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=(0,s.P$)({values:r,breakpoints:e.breakpoints.values});let n;"object"===typeof t&&(n=C({breakpoints:e.breakpoints.values,values:t})),o=(0,s.k9)({theme:e},t,((t,r)=>{var o;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${x(a)})`,marginLeft:`-${x(a)}`,[`& > .${b.item}`]:{paddingLeft:x(a)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${b.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,a)=>{let i={};if(t[a]&&(n=t[a]),!n)return r;if(!0===n)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=(0,s.P$)({values:t.columns,breakpoints:e.breakpoints.values}),c="object"===typeof l?l[a]:l;if(void 0===c||null===c)return r;const u=Math.round(n/c*1e8)/1e6+"%";let d={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${u} + ${x(n)})`;d={flexBasis:e,maxWidth:e}}}i=(0,o.Z)({flexBasis:u,flexGrow:0,maxWidth:u},d)}return 0===e.breakpoints.values[a]?Object.assign(r,i):r[e.breakpoints.up(a)]=i,r}),{})}));const P=e=>{const{classes:t,container:n,direction:r,item:o,spacing:a,wrap:i,zeroMinWidth:s,breakpoints:l}=e;let u=[];n&&(u=function(e,t){if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(a,l));const d=[];l.forEach((t=>{const n=e[t];n&&d.push(`grid-${t}-${String(n)}`)}));const p={root:["root",n&&"container",o&&"item",s&&"zeroMinWidth",...u,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==i&&`wrap-xs-${String(i)}`,...d]};return(0,c.Z)(p,g,t)},Z=a.forwardRef((function(e,t){const n=(0,d.Z)({props:e,name:"MuiGrid"}),{breakpoints:s}=(0,p.Z)(),c=(0,l.Z)(n),{className:u,columns:f,columnSpacing:h,component:g="div",container:v=!1,direction:b="row",item:x=!1,rowSpacing:C,spacing:Z=0,wrap:k="wrap",zeroMinWidth:D=!1}=c,T=(0,r.Z)(c,w),M=C||Z,I=h||Z,O=a.useContext(m),R=v?f||12:O,V={},A=(0,o.Z)({},T);s.keys.forEach((e=>{null!=T[e]&&(V[e]=T[e],delete A[e])}));const F=(0,o.Z)({},c,{columns:R,container:v,direction:b,item:x,rowSpacing:M,columnSpacing:I,wrap:k,zeroMinWidth:D,spacing:Z},V,{breakpoints:s.keys}),L=P(F);
1return(0,y.jsx)(m.Provider,{value:R,children:(0,y.jsx)(S,(0,o.Z)({ownerState:F,className:(0,i.Z)(L.root,u),as:g,ref:t},A))})}));var k=Z},87109:function(e,t,n){n.d(t,{Z:function(){return C}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(98216),c=n(15861),u=n(47167),d=n(74423),p=n(90948),m=n(1588),f=n(34867);function h(e){return(0,f.Z)("MuiInputAdornment",e)}var g,v=(0,m.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),b=n(71657),y=n(85893);const w=["children","className","component","disablePointerEvents","disableTypography","position","variant"],x=(0,p.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,l.Z)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,o.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${v.positionStart}&:not(.${v.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})));var C=a.forwardRef((function(e,t){const n=(0,b.Z)({props:e,name:"MuiInputAdornment"}),{children:p,className:m,component:f="div",disablePointerEvents:v=!1,disableTypography:C=!1,position:S,variant:P}=n,Z=(0,r.Z)(n,w),k=(0,d.Z)()||{};let D=P;P&&k.variant,k&&!D&&(D=k.variant);const T=(0,o.Z)({},n,{hiddenLabel:k.hiddenLabel,size:k.size,disablePointerEvents:v,position:S,variant:D}),M=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:a,variant:i}=e,c={root:["root",n&&"disablePointerEvents",o&&`position${(0,l.Z)(o)}`,i,r&&"hiddenLabel",a&&`size${(0,l.Z)(a)}`]};return(0,s.Z)(c,h,t)})(T);return(0,y.jsx)(u.Z.Provider,{value:null,children:(0,y.jsx)(x,(0,o.Z)({as:f,ownerState:T,className:(0,i.Z)(M.root,m),ref:t},Z,{children:"string"!==typeof p||C?(0,y.jsxs)(a.Fragment,{children:["start"===S?g||(g=(0,y.jsx)("span",{className:"notranslate",children:"\u200b"})):null,p]}):(0,y.jsx)(c.Z,{color:"text.secondary",children:p})}))})}))},81458:function(e,t,n){n.d(t,{Z:function(){return A}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(70917),c=n(41796),u=n(98216),d=n(2734),p=n(90948),m=n(71657),f=n(1588),h=n(34867);function g(e){return(0,h.Z)("MuiLinearProgress",e)}(0,f.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var v=n(85893);const b=["className","color","value","valueBuffer","variant"];let y,w,x,C,S,P,Z=e=>e;const k=(0,l.F4)(y||(y=Z`
2  0% {
3    left: -35%;
4    right: 100%;
5  }
6
7  60% {
8    left: 100%;
9    right: -90%;
10  }
11
12  100% {
13    left: 100%;
14    right: -90%;
15  }
16`)),D=(0,l.F4)(w||(w=Z`
17  0% {
18    left: -200%;
19    right: 100%;
20  }
21
22  60% {
23    left: 107%;
24    right: -8%;
25  }
26
27  100% {
28    left: 107%;
29    right: -8%;
30  }
31`)),T=(0,l.F4)(x||(x=Z`
32  0% {
33    opacity: 1;
34    background-position: 0 -23px;
35  }
36
37  60% {
38    opacity: 0;
39    background-position: 0 -23px;
40  }
41
42  100% {
43    opacity: 1;
44    background-position: -200px -23px;
45  }
46`)),M=(e,t)=>"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,c.$n)(e.palette[t].main,.62):(0,c._j)(e.palette[t].main,.5),I=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,u.Z)(n.color)}`],t[n.variant]]}})((({ownerState:e,theme:t})=>(0,o.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:M(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"}))),O=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${(0,u.Z)(n.color)}`]]}})((({ownerState:e,theme:t})=>{const n=M(t,e.color);return(0,o.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,l.iv)(C||(C=Z`
47    animation: ${0} 3s infinite linear;
48  `),T)),R=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,u.Z)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})((({ownerState:e,theme:t})=>(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.iv)(S||(S=Z`
49      width: auto;
50      animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
51    `),k))),V=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,u.Z)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})((({ownerState:e,theme:t})=>(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:M(t,e.color),transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.iv)(P||(P=Z`
52      width: auto;
53      animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
54    `),D)));var A=a.forwardRef((function(e,t){const n=(0,m.Z)({props:e,name:"MuiLinearProgress"}),{className:a,color:l="primary",value:c,valueBuffer:p,variant:f="indeterminate"}=n,h=(0,r.Z)(n,b),y=(0,o.Z)({},n,{color:l,variant:f}),w=(e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${(0,u.Z)(r)}`,n],dashed:["dashed",`dashedColor${(0,u.Z)(r)}`],bar1:["bar",`barColor${(0,u.Z)(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${(0,u.Z)(r)}`,"buffer"===n&&`color${(0,u.Z)(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,s.Z)(o,g,t)})(y),x=(0,d.Z)(),C={},S={bar1:{},bar2:{}};if("determinate"===f||"buffer"===f)if(void 0!==c){C["aria-valuenow"]=Math.round(c),C["aria-valuemin"]=0,C["aria-valuemax"]=100;let e=c-100;"rtl"===x.direction&&(e=-e),S.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===f)if(void 0!==p){let e=(p||0)-100;"rtl"===x.direction&&(e=-e),S.bar2.transform=`translateX(${e}%)`}else 0;return(0,v.jsxs)(I,(0,o.Z)({className:(0,i.Z)(w.root,a),ownerState:y,role:"progressbar"},C,{ref:t},h,{children:["buffer"===f?(0,v.jsx)(O,{className:w.dashed,ownerState:y}):null,(0,v.jsx)(R,{className:w.bar1,ownerState:y,style:S.bar1}),"determinate"===f?null:(0,v.jsx)(V,{className:w.bar2,ownerState:y,style:S.bar2})]}))}))},97212:function(e,t,n){n.d(t,{ZP:function(){return R}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(28442),c=n(41796),u=n(90948),d=n(71657),p=n(49990),m=n(96798),f=n(58974),h=n(51705),g=n(59773),v=n(1588),b=n(34867);function y(e){return(0,b.Z)("MuiListItem",e)}var w=(0,v.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),x=n(68686);function C(e){return(0,b.Z)("MuiListItemSecondaryAction",e)}(0,v.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var S=n(85893);const P=["className"],Z=(0,u.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,o.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),k=a.forwardRef((function(e,t){const n=(0,d.Z)({props:e,name:"MuiListItemSecondaryAction"}),{className:l}=n,c=(0,r.Z)(n,P),u=a.useContext(g.Z),p=(0,o.Z)({},n,{disableGutters:u.disableGutters}),m=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,s.Z)(r,C,n)})(p);return(0,S.jsx)(Z,(0,o.Z)({className:(0,i.Z)(m.root,l),ownerState:p,ref:t},c))}));k.muiName="ListItemSecondaryAction";var D=k;const T=["className"],M=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","
54slots"],I=(0,u.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>(0,o.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,o.Z)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${x.Z.root}`]:{paddingRight:48}},{[`&.${w.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${w.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,c.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${w.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,c.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${w.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${w.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,c.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,c.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),O=(0,u.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"});var R=a.forwardRef((function(e,t){const n=(0,d.Z)({props:e,name:"MuiListItem"}),{alignItems:c="center",autoFocus:u=!1,button:v=!1,children:b,className:x,component:C,components:P={},componentsProps:Z={},ContainerComponent:k="li",ContainerProps:{className:R}={},dense:V=!1,disabled:A=!1,disableGutters:F=!1,disablePadding:L=!1,divider:N=!1,focusVisibleClassName:E,secondaryAction:B,selected:$=!1,slotProps:j={},slots:z={}}=n,H=(0,r.Z)(n.ContainerProps,T),W=(0,r.Z)(n,M),U=a.useContext(g.Z),G=a.useMemo((()=>({dense:V||U.dense||!1,alignItems:c,disableGutters:F})),[c,U.dense,V,F]),q=a.useRef(null);(0,f.Z)((()=>{u&&q.current&&q.current.focus()}),[u]);const Y=a.Children.toArray(b),K=Y.length&&(0,m.Z)(Y[Y.length-1],["ListItemSecondaryAction"]),X=(0,o.Z)({},n,{alignItems:c,autoFocus:u,button:v,dense:G.dense,disabled:A,disableGutters:F,disablePadding:L,divider:N,hasSecondaryAction:K,selected:$}),_=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:a,disableGutters:i,disablePadding:l,divider:c,hasSecondaryAction:u,selected:d}=e,p={root:["root",o&&"dense",!i&&"gutters",!l&&"padding",c&&"divider",a&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",u&&"secondaryAction",d&&"selected"],container:["container"]};return(0,s.Z)(p,y,r)})(X),Q=(0,h.Z)(q,t),J=z.root||P.Root||I,ee=j.root||Z.root||{},te=(0,o.Z)({className:(0,i.Z)(_.root,ee.className,x),disabled:A},W);let ne=C||"li";return v&&(te.component=C||"div",te.focusVisibleClassName=(0,i.Z)(w.focusVisible,E),ne=p.Z),K?(ne=te.component||C?ne:"div","li"===k&&("li"===ne?ne="div":"li"===te.component&&(te.component="div")),(0,S.jsx)(g.Z.Provider,{value:G,children:(0,S.jsxs)(O,(0,o.Z)({as:k,className:(0,i.Z)(_.container,R),ref:Q,ownerState:X},H,{children:[(0,S.jsx)(J,(0,o.Z)({},ee,!(0,l.X)(J)&&{as:ne,ownerState:(0,o.Z)({}
54,X,ee.ownerState)},te,{children:Y})),Y.pop()]}))})):(0,S.jsx)(g.Z.Provider,{value:G,children:(0,S.jsxs)(J,(0,o.Z)({},ee,{as:ne,ref:Q},!(0,l.X)(J)&&{ownerState:(0,o.Z)({},X,ee.ownerState)},te,{children:[Y,B&&(0,S.jsx)(D,{children:B})]}))})}))},68686:function(e,t,n){n.d(t,{t:function(){return a}});var r=n(1588),o=n(34867);function a(e){return(0,o.Z)("MuiListItemButton",e)}const i=(0,r.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);t.Z=i},84592:function(e,t,n){n.d(t,{f:function(){return a}});var r=n(1588),o=n(34867);function a(e){return(0,o.Z)("MuiListItemIcon",e)}const i=(0,r.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);t.Z=i},26336:function(e,t,n){n.d(t,{L:function(){return a}});var r=n(1588),o=n(34867);function a(e){return(0,o.Z)("MuiListItemText",e)}const i=(0,r.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);t.Z=i},18972:function(e,t,n){n.d(t,{Z:function(){return Z}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(41796),c=n(90948),u=n(71657),d=n(59773),p=n(49990),m=n(58974),f=n(51705),h=n(35097),g=n(84592),v=n(26336),b=n(1588),y=n(34867);function w(e){return(0,y.Z)("MuiMenuItem",e)}var x=(0,b.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),C=n(85893);const S=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],P=(0,c.ZP)(p.Z,{shouldForwardProp:e=>(0,c.FO)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,o.Z)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${x.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${x.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${x.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${x.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${h.Z.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${h.Z.inset}`]:{marginLeft:52},[`& .${v.Z.root}`]:{marginTop:0,marginBottom:0},[`& .${v.Z.inset}`]:{paddingLeft:36},[`& .${g.Z.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,o.Z)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${g.Z.root} svg`]:{fontSize:"1.25rem"}}))));var Z=a.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiMenuItem"}),{autoFocus:l=!1,component:c="li",dense:p=!1,divider:h=!1,disableGutters:g=!1,focusVisibleClassName:v,role:b="menuitem",tabIndex:y,className:x}=n,Z=(0,r.Z)(n,S),k=a.useContext(d.Z),D=a.useMemo((()=>({dense:p||k.dense||!1,disableGutters:g})),[k.dense,p,g]),T=a.useRef(null);(0,m.Z)((()=>{l&&T.current&&T.current.focus()}),[l]);const M=(0,o.Z)({},n,{dense:D.dense,divider:h,disableGutters:g}),I=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:a,selected:i,classes:l}=e,c={root:["root",n&&"dense",t&&"disabled",!a&&"gutters",r&&"divi
54der",i&&"selected"]},u=(0,s.Z)(c,w,l);return(0,o.Z)({},l,u)})(n),O=(0,f.Z)(T,t);let R;return n.disabled||(R=void 0!==y?y:-1),(0,C.jsx)(d.Z.Provider,{value:D,children:(0,C.jsx)(P,(0,o.Z)({ref:O,role:b,tabIndex:R,component:c,focusVisibleClassName:(0,i.Z)(I.focusVisible,v),className:(0,i.Z)(I.root,x)},Z,{ownerState:M,classes:I}))})}))},48831:function(e,t,n){n.d(t,{Z:function(){return He}});var r=n(87462),o=n(63366),a=n(67294),i=n(33703),s=n(73546),l=n(82690);function c(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function u(e){return e instanceof c(e).Element||e instanceof Element}function d(e){return e instanceof c(e).HTMLElement||e instanceof HTMLElement}function p(e){return"undefined"!==typeof ShadowRoot&&(e instanceof c(e).ShadowRoot||e instanceof ShadowRoot)}var m=Math.max,f=Math.min,h=Math.round;function g(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function v(){return!/^((?!chrome|android).)*safari/i.test(g())}function b(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&d(e)&&(o=e.offsetWidth>0&&h(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&h(r.height)/e.offsetHeight||1);var i=(u(e)?c(e):window).visualViewport,s=!v()&&n,l=(r.left+(s&&i?i.offsetLeft:0))/o,p=(r.top+(s&&i?i.offsetTop:0))/a,m=r.width/o,f=r.height/a;return{width:m,height:f,top:p,right:l+m,bottom:p+f,left:l,x:l,y:p}}function y(e){var t=c(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function w(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return((u(e)?e.ownerDocument:e.document)||window.document).documentElement}function C(e){return b(x(e)).left+y(e).scrollLeft}function S(e){return c(e).getComputedStyle(e)}function P(e){var t=S(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Z(e,t,n){void 0===n&&(n=!1);var r=d(t),o=d(t)&&function(e){var t=e.getBoundingClientRect(),n=h(t.width)/e.offsetWidth||1,r=h(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=x(t),i=b(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==w(t)||P(a))&&(s=function(e){return e!==c(e)&&d(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:y(e);var t}(t)),d(t)?((l=b(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=C(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function k(e){var t=b(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function D(e){return"html"===w(e)?e:e.assignedSlot||e.parentNode||(p(e)?e.host:null)||x(e)}function T(e){return["html","body","#document"].indexOf(w(e))>=0?e.ownerDocument.body:d(e)&&P(e)?e:T(D(e))}function M(e,t){var n;void 0===t&&(t=[]);var r=T(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=c(r),i=o?[a].concat(a.visualViewport||[],P(r)?r:[]):r,s=t.concat(i);return o?s:s.concat(M(D(i)))}function I(e){return["table","td","th"].indexOf(w(e))>=0}function O(e){return d(e)&&"fixed"!==S(e).position?e.offsetParent:null}function R(e){for(var t=c(e),n=O(e);n&&I(n)&&"static"===S(n).position;)n=O(n);return n&&("html"===w(n)||"body"===w(n)&&"static"===S(n).position)?t:n||function(e){var t=/firefox/i.test(g());if(/Trident/i.test(g())&&d(e)&&"fixed"===S(e).position)return null;var n=D(e);for(p(n)&&(n=n.host);d(n)&&["html","body"].indexOf(w(n))<0;){var r=S(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var V="top",A="bottom",F="right",L="left",N="auto",E=[V,A,F,L],B="start",$="end",j="viewport",z="popper",H=E.reduce((function(e,t){return e.concat([t+"-"+B,t+"-"+$])}),[]),W=[].concat(E,[N]).reduce((function(e,t){return e.concat([t,t+"-"+B,t+"-"+$])}),[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function G(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEac
vendor: 12,500 bytes, line 54
54h((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function q(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Y={placement:"bottom",modifiers:[],strategy:"absolute"};function K(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function X(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Y:o;return function(e,t,n){void 0===n&&(n=a);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Y,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],s=!1,l={state:o,setOptions:function(n){var s="function"===typeof n?n(o.options):n;c(),o.options=Object.assign({},a,o.options,s),o.scrollParents={reference:u(e)?M(e):e.contextElement?M(e.contextElement):[],popper:M(t)};var d=function(e){var t=G(e);return U.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=d.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"===typeof a){var s=a({state:o,name:t,instance:l,options:r}),c=function(){};i.push(s||c)}})),l.update()},forceUpdate:function(){if(!s){var e=o.elements,t=e.reference,n=e.popper;if(K(t,n)){o.rects={reference:Z(t,R(n),"fixed"===o.options.strategy),popper:k(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var a=o.orderedModifiers[r],i=a.fn,c=a.options,u=void 0===c?{}:c,d=a.name;"function"===typeof i&&(o=i({state:o,options:u,name:d,instance:l})||o)}else o.reset=!1,r=-1}}},update:q((function(){return new Promise((function(e){l.forceUpdate(),e(o)}))})),destroy:function(){c(),s=!0}};if(!K(e,t))return l;function c(){i.forEach((function(e){return e()})),i=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var _={passive:!0};function Q(e){return e.split("-")[0]}function J(e){return e.split("-")[1]}function ee(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Q(o):null,i=o?J(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case V:t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case F:t={x:n.x+n.width,y:l};break;case L:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?ee(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case B:t[c]=t[c]-(n[u]/2-r[u]/2);break;case $:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function re(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,p=e.isFixed,m=i.x,f=void 0===m?0:m,g=i.y,v=void 0===g?0:g,b="function"===typeof d?d({x:f,y:v}):{x:f,y:v};f=b.x,v=b.y;var y=i.hasOwnProperty("x"),w=i.hasOwnProperty("y"),C=L,P=V,Z=window;if(u){var k=R(n),D="clientHeight",T="clientWidth";if(k===c(n)&&"static"!==S(k=x(n)).position&&"absolute"===s&&(D="scrollHeight",T="scrollWidth"),o===V||(o===L||o===F)&&a===$)P=A,v-=(p&&k===Z&&Z.visualViewport?Z.visualViewport.height:k[D])-r.height,v*=l?1:-1;if(o===L||(o===V||o===A)&&a===$)C=F,f-=(p&&k===Z&&Z.visualViewport?Z.visualViewport.width:k[T])-r.width,f*=l?1:-1}var M,I=Object.assign({position:s},u&&ne),O=!0===d?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:h(n*o)/o||0,y:h(r*o)/o||0}}({x:f,y:v},c(n)):{x:f,y:v};return f=O.x,v=O.y,l?Object.assign({},I,((M={})[P]=w?"0":"",M[C]=y?"0":"",M.transform=(Z.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",M)):Object.assign({},I,((t={})[P]=w?v+"px":"",t[C]=y?f+"px":"",t.transform="",t))}var oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=W.reduce((function(e,n){return e[n]=function(e,t,n){var r=Q(e),o=[L,V].indexOf(r)>=0?-1:1,a="function"===typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[L,F].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,a),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},ae={left:"right",right:"left",bottom:"top",top:"bottom"};function ie(e){return e.replace(/left|right|bottom|top/g,(function(e){return ae[e]}))}var se={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return se[e]}))}function ce(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&p(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ue(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function de(e,t,n){return t===j?ue(function(e,t){var n=c(e),r=x(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;var u=v();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s+C(e),y:l}}(e,n)):u(t)?function(e,t){var n=b(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ue(function(e){var t,n=x(e),r=y(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=m(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=m(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+C(e),l=-r.scrollTop;return"rtl"===S(o||n).direction&&(s+=m(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(x(e)))}function pe(e,t,n,r){var o="clippingParents"===t?function(e){var t=M(D(e)),n=["absolute","fixed"].indexOf(S(e).position)>=0&&d(e)?R(e):e;return u(n)?t.filter((function(e){return u(e)&&ce(e,n)&&"body"!==w(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],s=a.reduce((function(t,n){var o=de(e,n,r);return t.top=m(o.top,t.top),t.right=f(o.right,t.right),t.bottom=f(o.bottom,t.bottom),t.left=m(o.left,t.left),t}),de(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function me(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function fe(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function he(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,d=void 0===c?j:c,p=n.elementContext,m=void 0===p?z:p,f=n.altBoundary,h=void 0!==f&&f,g=n.padding,v=void 0===g?0:g,y=me("number"!==typeof v?v:fe(v,E)),w=m===z?"reference":z,C=e.rects.popper,S=e.elements[h?w:m],P=pe(u(S)?S:S.contextElement||x(e.elements.popper),l,d,i),Z=b(e.elements.reference),k=te({reference:Z,element:C,strategy:"absolute",placement:o}),D=ue(Object.assign({},C,k)),T=m===z?D:Z,M={top:P.top-T.top+y.top,bottom:T.bottom-P.bottom+y.bottom,left:P.left-T.left+y.left,right:T.right-P.right+y.right},I=e.modifiersData.offset;if(m===z&&I){var O=I[o];Object.keys(M).forEach((function(e){var t=[F,A].indexOf(e)>=0?1:-1,n=[V,A].indexOf(e)>=0?"y":"x";M[e]+=O[n]*t}))}return M}function ge(e,t,n){return m(e,f(t,n))}var ve={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,h=void 0===p||p,g=n.tetherOffset,v=void 0===g?0:g,b=he(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=Q(t.placement),w=J(t.placement),x=!w,C=ee(y),S="x"===C?"y":"x",P=t.modifiersData.popperOffsets,Z=t.rects.reference,D=t.rects.popper,T="function"===typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,M="number"===typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(P){if(a){var N,E="y"===C?V:L,$="y"===C?A:F,j="y"===C?"height":"width",z=P[C],H=z+b[E],W=z-b[$],U=h?-D[j]/2:0,G=w===B?Z[j]:D[j],q=w===B?-D[j]:-Z[j],Y=t.elements.arrow,K=h&&Y?k(Y):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},_=X[E],te=X[$],ne=ge(0,Z[j],K[j]),re=x?Z[j]/2-U-ne-_-M.mainAxis:G-ne-_-M.mainAxis,oe=x?-Z[j]/2+U+ne+te+M.mainAxis:q+ne+te+M.mainAxis,ae=t.elements.arrow&&R(t.elements.arrow),ie=ae?"y"===C?ae.clientTop||0:ae.clientLeft||0:0,se=null!=(N=null==I?void 0:I[C])?N:0,le=z+oe-se,ce=ge(h?f(H,z+re-se-ie):H,z,h?m(W,le):W);P[C]=ce,O[C]=ce-z}if(s){var ue,de="x"===C?V:L,pe="x"===C?A:F,me=P[S],fe="y"===S?"height":"width",ve=me+b[de],be=me-b[pe],ye=-1!==[V,L].indexOf(y),we=null!=(ue=null==I?void 0:I[S])?ue:0,xe=ye?ve:me-Z[fe]-D[fe]-we+M.altAxis,Ce=ye?me+Z[fe]+D[fe]-we-M.altAxis:be,Se=h&&ye?function(e,t,n){var r=ge(e,t,n);return r>n?n:r}(xe,me,Ce):ge(h?xe:ve,me,h?Ce:be);P[S]=Se,O[S]=Se-me}t.modifiersData[r]=O}},requiresIfExists:["offset"]};var be={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=Q(n.placement),l=ee(s),c=[L,F].indexOf(s)>=0?"height":"width";if(a&&i){var u=function(e,t){return me("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:fe(e,E))}(o.padding,n),d=k(a),p="y"===l?V:L,m="y"===l?A:F,f=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],h=i[l]-n.rects.reference[l],g=R(a),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=f/2-h/2,y=u[p],w=v-d[c]-u[m],x=v/2-d[c]/2+b,C=ge(y,x,w),S=l;n.modifiersData[r]=((t={})[S]=C,t.centerOffset=C-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&ce(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ye(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[V,F,A,L].some((function(t){return e[t]>=0}))}var xe=X({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,s=void 0===i||i,l=c(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,_)})),s&&l.addEventListener("resize",n.update,_),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,_)})),s&&l.removeEventListener("resize",n.update,_)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=te({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,c={placement:Q(t.placement),variation:J(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,re(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,re(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
54Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];d(o)&&w(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});d(r)&&w(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},oe,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,m=n.flipVariations,f=void 0===m||m,h=n.allowedAutoPlacements,g=t.options.placement,v=Q(g),b=l||(v===g||!f?[ie(g)]:function(e){if(Q(e)===N)return[];var t=ie(e);return[le(e),t,le(t)]}(g)),y=[g].concat(b).reduce((function(e,n){return e.concat(Q(n)===N?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?W:l,u=J(r),d=u?s?H:H.filter((function(e){return J(e)===u})):E,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var m=p.reduce((function(t,n){return t[n]=he(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Q(n)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:h}):n)}),[]),w=t.rects.reference,x=t.rects.popper,C=new Map,S=!0,P=y[0],Z=0;Z<y.length;Z++){var k=y[Z],D=Q(k),T=J(k)===B,M=[V,A].indexOf(D)>=0,I=M?"width":"height",O=he(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),R=M?T?F:L:T?A:V;w[I]>x[I]&&(R=ie(R));var $=ie(R),j=[];if(a&&j.push(O[D]<=0),s&&j.push(O[R]<=0,O[$]<=0),j.every((function(e){return e}))){P=k,S=!1;break}C.set(k,j)}if(S)for(var z=function(e){var t=y.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},U=f?3:1;U>0;U--){if("break"===z(U))break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},ve,be,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=he(t,{elementContext:"reference"}),s=he(t,{altBoundary:!0}),l=ye(i,r),c=ye(s,o,a),u=we(l),d=we(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Ce=n(94780),Se=n(78385),Pe=n(34867);function Ze(e){return(0,Pe.Z)("MuiPopper",e)}(0,n(1588).Z)("MuiPopper",["root"]);var ke=n(24349),De=n(85893);const Te={disableDefaultClasses:!1},Me=a.createContext(Te);const Ie=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Oe=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Re(e){return"function"===typeof e?e():e}function Ve(e){return void 0!==e.nodeType}const Ae=()=>(0,Ce.Z)({root:["root"]},function(e){const{disableDefaultClasses:t}=a.useContext(Me);return n=>t?"":e(n)}(Ze)),Fe={},Le=a.forwardRef((function(e,t){var n;const{anchorEl:l,children:c,direction:u,disablePortal:d,modifiers:p,open:m,placement:f,popperOptions:h,popperRef:g,slotProps:v={},slots:b={},TransitionProps:y}=e,w=(0,o.Z)(e,Ie),x=a.useRef(null),C=(0,i.Z)(x,t),S=a.useRef(null),P=(0,i.Z)(S,g),Z=a.useRef(P);(0,s.Z)((()=>{Z.current=P}),[P]),a.useImperativeHandle(g,(()=>S.current),[]);const k=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}
54(f,u),[D,T]=a.useState(k),[M,I]=a.useState(Re(l));a.useEffect((()=>{S.current&&S.current.forceUpdate()})),a.useEffect((()=>{l&&I(Re(l))}),[l]),(0,s.Z)((()=>{if(!M||!m)return;let e=[{name:"preventOverflow",options:{altBoundary:d}},{name:"flip",options:{altBoundary:d}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{T(e.placement)}}];null!=p&&(e=e.concat(p)),h&&null!=h.modifiers&&(e=e.concat(h.modifiers));const t=xe(M,x.current,(0,r.Z)({placement:k},h,{modifiers:e}));return Z.current(t),()=>{t.destroy(),Z.current(null)}}),[M,d,p,m,h,k]);const O={placement:D};null!==y&&(O.TransitionProps=y);const R=Ae(),V=null!=(n=b.root)?n:"div",A=(0,ke.y)({elementType:V,externalSlotProps:v.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:C},ownerState:e,className:R.root});return(0,De.jsx)(V,(0,r.Z)({},A,{children:"function"===typeof c?c(O):c}))})),Ne=a.forwardRef((function(e,t){const{anchorEl:n,children:i,container:s,direction:c="ltr",disablePortal:u=!1,keepMounted:d=!1,modifiers:p,open:m,placement:f="bottom",popperOptions:h=Fe,popperRef:g,style:v,transition:b=!1,slotProps:y={},slots:w={}}=e,x=(0,o.Z)(e,Oe),[C,S]=a.useState(!0);if(!d&&!m&&(!b||C))return null;let P;if(s)P=s;else if(n){const e=Re(n);P=e&&Ve(e)?(0,l.Z)(e).body:(0,l.Z)(null).body}const Z=m||!d||b&&!C?void 0:"none",k=b?{in:m,onEnter:()=>{S(!1)},onExited:()=>{S(!0)}}:void 0;return(0,De.jsx)(Se.h,{disablePortal:u,container:P,children:(0,De.jsx)(Le,(0,r.Z)({anchorEl:n,direction:c,disablePortal:u,modifiers:p,ref:t,open:b?!C:m,placement:f,popperOptions:h,popperRef:g,slotProps:y,slots:w},x,{style:(0,r.Z)({position:"fixed",top:0,left:0,display:Z},v),TransitionProps:k,children:i}))})}));var Ee=n(34168),Be=n(90948),$e=n(71657);const je=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],ze=(0,Be.ZP)(Ne,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({});var He=a.forwardRef((function(e,t){var n;const a=(0,Ee.Z)(),i=(0,$e.Z)({props:e,name:"MuiPopper"}),{anchorEl:s,component:l,components:c,componentsProps:u,container:d,disablePortal:p,keepMounted:m,modifiers:f,open:h,placement:g,popperOptions:v,popperRef:b,transition:y,slots:w,slotProps:x}=i,C=(0,o.Z)(i,je),S=null!=(n=null==w?void 0:w.root)?n:null==c?void 0:c.Root,P=(0,r.Z)({anchorEl:s,container:d,disablePortal:p,keepMounted:m,modifiers:f,open:h,placement:g,popperOptions:v,popperRef:b,transition:y},C);return(0,De.jsx)(ze,(0,r.Z)({as:l,direction:null==a?void 0:a.direction,slots:{root:S},slotProps:null!=x?x:u},P,{ref:t}))}))},72852:function(e,t,n){var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(41796),c=n(98216),u=n(21964),d=n(71657),p=n(90948),m=n(29632),f=n(85893);const h=["className","color","edge","size","sx"],g=(0,p.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${(0,c.Z)(n.edge)}`],t[`size${(0,c.Z)(n.size)}`]]}})((({ownerState:e})=>(0,o.Z)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,[`& .${m.Z.thumb}`]:{width:16,height:16},[`& .${m.Z.switchBase}`]:{padding:4,[`&.${m.Z.checked}`]:{transform:"translateX(16px)"}}}))),v=(0,p.ZP)(u.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${m.Z.input}`]:t.input},"default"!==n.color&&t[`color${(0,c.Z)(n.color)}`]]}})((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${m.Z.checked}`]:{transform:"translateX(20px)"},[`&.${m.Z.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${m.Z.checked} + .${m.Z.track}`]:{opacity:.5},[`&.${m.Z.disabled} + .${m.Z.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${m.Z.input}`]:{left:"-100%",width:"300%"}})),(({theme:e,ownerState:t})=>(0,o.Z)({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${m.Z.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainCh
54annel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.Z.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${"light"===e.palette.mode?(0,l.$n)(e.palette[t.color].main,.62):(0,l._j)(e.palette[t.color].main,.55)}`}},[`&.${m.Z.checked} + .${m.Z.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}}))),b=(0,p.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),y=(0,p.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),w=a.forwardRef((function(e,t){const n=(0,d.Z)({props:e,name:"MuiSwitch"}),{className:a,color:l="primary",edge:u=!1,size:p="medium",sx:w}=n,x=(0,r.Z)(n,h),C=(0,o.Z)({},n,{color:l,edge:u,size:p}),S=(e=>{const{classes:t,edge:n,size:r,color:a,checked:i,disabled:l}=e,u={root:["root",n&&`edge${(0,c.Z)(n)}`,`size${(0,c.Z)(r)}`],switchBase:["switchBase",`color${(0,c.Z)(a)}`,i&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=(0,s.Z)(u,m.H,t);return(0,o.Z)({},t,d)})(C),P=(0,f.jsx)(y,{className:S.thumb,ownerState:C});return(0,f.jsxs)(g,{className:(0,i.Z)(S.root,a),sx:w,ownerState:C,children:[(0,f.jsx)(v,(0,o.Z)({type:"checkbox",icon:P,checkedIcon:P,ref:t,ownerState:C},x,{classes:(0,o.Z)({},S,{root:S.switchBase})})),(0,f.jsx)(b,{className:S.track,ownerState:C})]})}));t.Z=w},29632:function(e,t,n){n.d(t,{H:function(){return a}});var r=n(1588),o=n(34867);function a(e){return(0,o.Z)("MuiSwitch",e)}const i=(0,r.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);t.Z=i},40044:function(e,t,n){n.d(t,{Z:function(){return y}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(49990),c=n(98216),u=n(71657),d=n(90948),p=n(1588),m=n(34867);function f(e){return(0,m.Z)("MuiTab",e)}var h=(0,p.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),g=n(85893);const v=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],b=(0,d.ZP)(l.Z,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${(0,c.Z)(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((({theme:e,ownerState:t})=>(0,o.Z)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${h.iconWrapper}`]:(0,o.Z)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${h.selected}`]:{opacity:1},[`&.${h.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${h.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${h.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${h.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${h.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})));var y=a.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiTab"}),{className:l,disabled:d=!1,disableFocusRipple:p=!1,fullWidth:m,icon:h,iconPosition:y="top",indicator:w,label:
54x,onChange:C,onClick:S,onFocus:P,selected:Z,selectionFollowsFocus:k,textColor:D="inherit",value:T,wrapped:M=!1}=n,I=(0,r.Z)(n,v),O=(0,o.Z)({},n,{disabled:d,disableFocusRipple:p,selected:Z,icon:!!h,iconPosition:y,label:!!x,fullWidth:m,textColor:D,wrapped:M}),R=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:a,label:i,selected:l,disabled:u}=e,d={root:["root",a&&i&&"labelIcon",`textColor${(0,c.Z)(n)}`,r&&"fullWidth",o&&"wrapped",l&&"selected",u&&"disabled"],iconWrapper:["iconWrapper"]};return(0,s.Z)(d,f,t)})(O),V=h&&x&&a.isValidElement(h)?a.cloneElement(h,{className:(0,i.Z)(R.iconWrapper,h.props.className)}):h;return(0,g.jsxs)(b,(0,o.Z)({focusRipple:!p,className:(0,i.Z)(R.root,l),ref:t,role:"tab","aria-selected":Z,disabled:d,onClick:e=>{!Z&&C&&C(e,T),S&&S(e)},onFocus:e=>{k&&!Z&&C&&C(e,T),P&&P(e)},ownerState:O,tabIndex:Z?0:-1},I,{children:["top"===y||"start"===y?(0,g.jsxs)(a.Fragment,{children:[V,x]}):(0,g.jsxs)(a.Fragment,{children:[x,V]}),w]}))}))},86517:function(e,t,n){n.d(t,{Z:function(){return H}});var r=n(63366),o=n(87462),a=n(67294),i=(n(76607),n(90512)),s=n(94780),l=n(24349),c=n(90948),u=n(71657),d=n(2734),p=n(57144),m=n(6528);function f(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var h=n(58974),g=n(5340),v=n(85893);const b=["onChange"],y={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var w=n(67070),x=n(56686),C=n(49990),S=n(1588),P=n(34867);function Z(e){return(0,P.Z)("MuiTabScrollButton",e)}var k=(0,S.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);const D=["className","slots","slotProps","direction","orientation","disabled"],T=(0,c.ZP)(C.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>(0,o.Z)({width:40,flexShrink:0,opacity:.8,[`&.${k.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})));var M=a.forwardRef((function(e,t){var n,a;const c=(0,u.Z)({props:e,name:"MuiTabScrollButton"}),{className:p,slots:m={},slotProps:f={},direction:h}=c,g=(0,r.Z)(c,D),b="rtl"===(0,d.Z)().direction,y=(0,o.Z)({isRtl:b},c),C=(e=>{const{classes:t,orientation:n,disabled:r}=e,o={root:["root",n,r&&"disabled"]};return(0,s.Z)(o,Z,t)})(y),S=null!=(n=m.StartScrollButtonIcon)?n:w.Z,P=null!=(a=m.EndScrollButtonIcon)?a:x.Z,k=(0,l.y)({elementType:S,externalSlotProps:f.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y}),M=(0,l.y)({elementType:P,externalSlotProps:f.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y});return(0,v.jsx)(T,(0,o.Z)({component:"div",className:(0,i.Z)(C.root,p),ref:t,role:null,ownerState:y,tabIndex:null},g,{children:"left"===h?(0,v.jsx)(S,(0,o.Z)({},k)):(0,v.jsx)(P,(0,o.Z)({},M))}))})),I=n(2068),O=n(90852),R=n(8038);const V=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],A=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,F=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,L=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=n(e,o)}},N=(0,c.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${O.Z.scrollButtons}`]:t.scrollButtons},{[`& .${O.Z.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>(0,o.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${O.Z.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),E=(0,c.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>(0,o.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"}
54,e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),B=(0,c.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>(0,o.Z)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),$=(0,c.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>(0,o.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),j=(0,c.ZP)((function(e){const{onChange:t}=e,n=(0,r.Z)(e,b),i=a.useRef(),s=a.useRef(null),l=()=>{i.current=s.current.offsetHeight-s.current.clientHeight};return(0,h.Z)((()=>{const e=(0,p.Z)((()=>{const e=i.current;l(),e!==i.current&&t(i.current)})),n=(0,g.Z)(s.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),a.useEffect((()=>{l(),t(i.current)}),[t]),(0,v.jsx)("div",(0,o.Z)({style:y,ref:s},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),z={};var H=a.forwardRef((function(e,t){const n=(0,u.Z)({props:e,name:"MuiTabs"}),c=(0,d.Z)(),h="rtl"===c.direction,{"aria-label":b,"aria-labelledby":y,action:w,centered:x=!1,children:C,className:S,component:P="div",allowScrollButtonsMobile:Z=!1,indicatorColor:k="primary",onChange:D,orientation:T="horizontal",ScrollButtonComponent:H=M,scrollButtons:W="auto",selectionFollowsFocus:U,slots:G={},slotProps:q={},TabIndicatorProps:Y={},TabScrollButtonProps:K={},textColor:X="primary",value:_,variant:Q="standard",visibleScrollbar:J=!1}=n,ee=(0,r.Z)(n,V),te="scrollable"===Q,ne="vertical"===T,re=ne?"scrollTop":"scrollLeft",oe=ne?"top":"left",ae=ne?"bottom":"right",ie=ne?"clientHeight":"clientWidth",se=ne?"height":"width",le=(0,o.Z)({},n,{component:P,allowScrollButtonsMobile:Z,indicatorColor:k,orientation:T,vertical:ne,scrollButtons:W,textColor:X,variant:Q,visibleScrollbar:J,fixed:!te,hideScrollbar:te&&!J,scrollableX:te&&!ne,scrollableY:te&&ne,centered:x&&!te,scrollButtonsHideMobile:!Z}),ce=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:a,centered:i,scrollButtonsHideMobile:l,classes:c}=e,u={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,s.Z)(u,O.m,c)})(le),ue=(0,l.y)({elementType:G.StartScrollButtonIcon,externalSlotProps:q.startScrollButtonIcon,ownerState:le}),de=(0,l.y)({elementType:G.EndScrollButtonIcon,externalSlotProps:q.endScrollButtonIcon,ownerState:le});const[pe,me]=a.useState(!1),[fe,he]=a.useState(z),[ge,ve]=a.useState(!1),[be,ye]=a.useState(!1),[we,xe]=a.useState(!1),[Ce,Se]=a.useState({overflow:"hidden",scrollbarWidth:0}),Pe=new Map,Ze=a.useRef(null),ke=a.useRef(null),De=()=>{const e=Ze.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:(0,m.T)(e,c.direction),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==_){const e=ke.current.children;if(e.length>0){const t=e[Pe.get(_)];0,n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},Te=(0,I.Z)((()=>{const{tabsMeta:e,tabMeta:t}=De();let n,r=0;if(ne)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=h?"right":"left",t&&e){const o=h?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(h?-1:1)*(t[n]-e[n]+o)}const o={[n]:r,[se]:t?t[se]:0};if(isNaN(fe[n])||isNaN(fe[se]))he(o);else{const e=Math.abs(fe[n]-o[n]),t=Math.abs(fe[se]-o[se]);(e>=1||t>=1)&&he(o)}})),Me=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=(()=>{})){const{ease:a=f,duration:i=300}=r;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=r=>{if(c)return void o(new Error("Animation cancelled"));null===s&&(s=r);const u=Math.min(1,(r-s)/i);t[e]=a(u)*(n-l)+l,u>=1?requestAnimationFrame((()=>{o(null)})):requestAnimationFrame(d)};l===n?o(new Error("Element already at target position")):requestAnimationFrame(d)}(re,Ze.current,e,{duration:c.transitions.duration.standard}):Ze.current[re]=e},Ie=e=>{let t=Ze.current[re];ne?t+=e:(t+=e*(h?-1:1),t*=h&&"reverse"===(0,m.E)()?-1:1),Me(t)},Oe=()=>{const e=Ze.current[ie];let t=0;const n=Array.from(ke.current.children);for(let r=0;r<n.length;r+=1){const o=n[r];if(t+o[ie]>e){0===r&&(t=e);break}t+=o[ie]}return t},Re=()=>{Ie(-1*Oe())},Ve=()=>{Ie(Oe())},Ae=a.useCallback((e=>{Se({overflow:null,scrollbarWidth:e})}),[]),Fe=(0,I.Z)((e=>{const{tabsMeta:t,tabMeta:n}=De();if(n&&t)if(n[oe]<t[oe]){const r=t[re]+(n[oe]-t[oe]);Me(r,{animation:e})}else if(n[ae]>t[ae]){const r=t[re]+(n[ae]-t[ae]);Me(r,{animation:e})}})),Le=(0,I.Z)((()=>{te&&!1!==W&&xe(!we)}));a.useEffect((()=>{const e=(0,p.Z)((()=>{Ze.current&&Te()}));let t;const n=n=>
54{n.forEach((e=>{e.removedNodes.forEach((e=>{var n;null==(n=t)||n.unobserve(e)})),e.addedNodes.forEach((e=>{var n;null==(n=t)||n.observe(e)}))})),e(),Le()},r=(0,g.Z)(Ze.current);let o;return r.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(ke.current.children).forEach((e=>{t.observe(e)}))),"undefined"!==typeof MutationObserver&&(o=new MutationObserver(n),o.observe(ke.current,{childList:!0})),()=>{var n,a;e.clear(),r.removeEventListener("resize",e),null==(n=o)||n.disconnect(),null==(a=t)||a.disconnect()}}),[Te,Le]),a.useEffect((()=>{const e=Array.from(ke.current.children),t=e.length;if("undefined"!==typeof IntersectionObserver&&t>0&&te&&!1!==W){const n=e[0],r=e[t-1],o={root:Ze.current,threshold:.99},a=new IntersectionObserver((e=>{ve(!e[0].isIntersecting)}),o);a.observe(n);const i=new IntersectionObserver((e=>{ye(!e[0].isIntersecting)}),o);return i.observe(r),()=>{a.disconnect(),i.disconnect()}}}),[te,W,we,null==C?void 0:C.length]),a.useEffect((()=>{me(!0)}),[]),a.useEffect((()=>{Te()})),a.useEffect((()=>{Fe(z!==fe)}),[Fe,fe]),a.useImperativeHandle(w,(()=>({updateIndicator:Te,updateScrollButtons:Le})),[Te,Le]);const Ne=(0,v.jsx)($,(0,o.Z)({},Y,{className:(0,i.Z)(ce.indicator,Y.className),ownerState:le,style:(0,o.Z)({},fe,Y.style)}));let Ee=0;const Be=a.Children.map(C,(e=>{if(!a.isValidElement(e))return null;const t=void 0===e.props.value?Ee:e.props.value;Pe.set(t,Ee);const n=t===_;return Ee+=1,a.cloneElement(e,(0,o.Z)({fullWidth:"fullWidth"===Q,indicator:n&&!pe&&Ne,selected:n,selectionFollowsFocus:U,onChange:D,textColor:X,value:t},1!==Ee||!1!==_||e.props.tabIndex?{}:{tabIndex:0}))})),$e=(()=>{const e={};e.scrollbarSizeListener=te?(0,v.jsx)(j,{onChange:Ae,className:(0,i.Z)(ce.scrollableX,ce.hideScrollbar)}):null;const t=te&&("auto"===W&&(ge||be)||!0===W);return e.scrollButtonStart=t?(0,v.jsx)(H,(0,o.Z)({slots:{StartScrollButtonIcon:G.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ue},orientation:T,direction:h?"right":"left",onClick:Re,disabled:!ge},K,{className:(0,i.Z)(ce.scrollButtons,K.className)})):null,e.scrollButtonEnd=t?(0,v.jsx)(H,(0,o.Z)({slots:{EndScrollButtonIcon:G.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:de},orientation:T,direction:h?"left":"right",onClick:Ve,disabled:!be},K,{className:(0,i.Z)(ce.scrollButtons,K.className)})):null,e})();return(0,v.jsxs)(N,(0,o.Z)({className:(0,i.Z)(ce.root,S),ownerState:le,ref:t,as:P},ee,{children:[$e.scrollButtonStart,$e.scrollbarSizeListener,(0,v.jsxs)(E,{className:ce.scroller,ownerState:le,style:{overflow:Ce.overflow,[ne?"margin"+(h?"Left":"Right"):"marginBottom"]:J?void 0:-Ce.scrollbarWidth},ref:Ze,children:[(0,v.jsx)(B,{"aria-label":b,"aria-labelledby":y,"aria-orientation":"vertical"===T?"vertical":null,className:ce.flexContainer,ownerState:le,onKeyDown:e=>{const t=ke.current,n=(0,R.Z)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===T?"ArrowLeft":"ArrowUp",o="horizontal"===T?"ArrowRight":"ArrowDown";switch("horizontal"===T&&h&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:e.preventDefault(),L(t,n,F);break;case o:e.preventDefault(),L(t,n,A);break;case"Home":e.preventDefault(),L(t,null,A);break;case"End":e.preventDefault(),L(t,null,F)}},ref:ke,role:"tablist",children:Be}),pe&&Ne]}),$e.scrollButtonEnd]}))}))},90852:function(e,t,n){n.d(t,{m:function(){return a}});var r=n(1588),o=n(34867);function a(e){return(0,o.Z)("MuiTabs",e)}const i=(0,r.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
54indicator"]);t.Z=i},21023:function(e,t,n){var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(10238),c=n(41796),u=n(90948),d=n(2734),p=n(71657),m=n(98216),f=n(96514),h=n(48831),g=n(2068),v=n(51705),b=n(27909),y=n(79674),w=n(49299),x=n(48999),C=n(85893);const S=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const P=(0,u.ZP)(h.Z,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,o.Z)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${x.Z.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${x.Z.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${x.Z.arrow}`]:(0,o.Z)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${x.Z.arrow}`]:(0,o.Z)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),Z=(0,u.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,m.Z)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return(0,o.Z)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,c.Fq)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${x.Z.popper}[data-popper-placement*="left"] &`]:(0,o.Z)({transformOrigin:"right center"},t.isRtl?(0,o.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,o.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${x.Z.popper}[data-popper-placement*="right"] &`]:(0,o.Z)({transformOrigin:"left center"},t.isRtl?(0,o.Z)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,o.Z)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${x.Z.popper}[data-popper-placement*="top"] &`]:(0,o.Z)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${x.Z.popper}[data-popper-placement*="bottom"] &`]:(0,o.Z)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),k=(0,u.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,c.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let D=!1,T=null,M={x:0,y:0};function I(e,t){return n=>{t&&t(n),e(n)}}const O=a.forwardRef((function(e,t){var n,c,u,O,R,V,A,F,L,N,E,B,$,j,z,H,W,U,G;const q=(0,p.Z)({props:e,name:"MuiTooltip"}),{arrow:Y=!1,children:K,components:X={},componentsProps:_={},describeChild:Q=!1,disableFocusListener:J=!1,disableHoverListener:ee=!1,disableInteractive:te=!1,disableTouchListener:ne=!1,enterDelay:re=100,enterNextDelay:oe=0,enterTouchDelay:ae=700,followCursor:ie=!1,id:se,leaveDelay:le=0,leaveTouchDelay:ce=1500,onClose:ue,onOpen:de,open:pe,placement:me="bottom",PopperComponent:fe,PopperProps:he={},slotProps:ge={},slots:ve={},title:be,TransitionComponent:ye=f.Z,TransitionProps:we}=q,xe=(0,r.Z)(q,S),Ce=a.isValidElement(K)?K:(0,C.jsx)("span",{children:K}),Se=(0,d.Z)(),Pe="rtl"===Se.direction,[Ze,ke]=a.useState(),[De,Te]=a.useState(null),Me=a.useRef(!1),Ie=te||ie,Oe=a.useRef(),Re=a.useRef(),Ve=a.useRef(),Ae=a.useRef(),[Fe,Le]=(0,w.Z)({controlled:pe,default:!1,name:"Tooltip",state:"open"});let Ne=Fe;const Ee=(0,b.Z)(se),Be=a.useRef(),$e=a.useCallback((()=>{void 0!==Be.current&&(document.body.style.WebkitUserSelect=Be.current,Be.current=void 0),clearTimeout(Ae.current)}),[]);a.useEffect((()=>()=>{clearTimeout(Oe.current),clearTimeout(Re.current),clearTimeout(Ve.current),$e()}),[$e]);const je=e=>{clearTimeout(T),D=!0,Le(!0),de&&!Ne&&de(e)},ze=(0,g.Z)((e=>{clearTimeout(T),T=setTimeout((()=>{D=!1}),800+le),Le(!1),ue&&Ne&&ue(e),clearTimeout(Oe.current),Oe.current=setTimeout((()=>{Me.current=!1}),Se.transitions.duration.shortest)})),He=e=>{Me.current&&"touchstart"!==e.type||(Ze&&Ze.removeAttribute("title"),clearTimeout(Re.current),clearTimeout(Ve.current),re||D&&oe?Re.current=setTimeout((()=>{je(e)}
54),D?oe:re):je(e))},We=e=>{clearTimeout(Re.current),clearTimeout(Ve.current),Ve.current=setTimeout((()=>{ze(e)}),le)},{isFocusVisibleRef:Ue,onBlur:Ge,onFocus:qe,ref:Ye}=(0,y.Z)(),[,Ke]=a.useState(!1),Xe=e=>{Ge(e),!1===Ue.current&&(Ke(!1),We(e))},_e=e=>{Ze||ke(e.currentTarget),qe(e),!0===Ue.current&&(Ke(!0),He(e))},Qe=e=>{Me.current=!0;const t=Ce.props;t.onTouchStart&&t.onTouchStart(e)},Je=He,et=We,tt=e=>{Qe(e),clearTimeout(Ve.current),clearTimeout(Oe.current),$e(),Be.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Ae.current=setTimeout((()=>{document.body.style.WebkitUserSelect=Be.current,He(e)}),ae)},nt=e=>{Ce.props.onTouchEnd&&Ce.props.onTouchEnd(e),$e(),clearTimeout(Ve.current),Ve.current=setTimeout((()=>{ze(e)}),ce)};a.useEffect((()=>{if(Ne)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||ze(e)}}),[ze,Ne]);const rt=(0,v.Z)(Ce.ref,Ye,ke,t);be||0===be||(Ne=!1);const ot=a.useRef(),at={},it="string"===typeof be;Q?(at.title=Ne||!it||ee?null:be,at["aria-describedby"]=Ne?Ee:null):(at["aria-label"]=it?be:null,at["aria-labelledby"]=Ne&&!it?Ee:null);const st=(0,o.Z)({},at,xe,Ce.props,{className:(0,i.Z)(xe.className,Ce.props.className),onTouchStart:Qe,ref:rt},ie?{onMouseMove:e=>{const t=Ce.props;t.onMouseMove&&t.onMouseMove(e),M={x:e.clientX,y:e.clientY},ot.current&&ot.current.update()}}:{});const lt={};ne||(st.onTouchStart=tt,st.onTouchEnd=nt),ee||(st.onMouseOver=I(Je,st.onMouseOver),st.onMouseLeave=I(et,st.onMouseLeave),Ie||(lt.onMouseOver=Je,lt.onMouseLeave=et)),J||(st.onFocus=I(_e,st.onFocus),st.onBlur=I(Xe,st.onBlur),Ie||(lt.onFocus=_e,lt.onBlur=Xe));const ct=a.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(De),options:{element:De,padding:4}}];return null!=(e=he.popperOptions)&&e.modifiers&&(t=t.concat(he.popperOptions.modifiers)),(0,o.Z)({},he.popperOptions,{modifiers:t})}),[De,he]),ut=(0,o.Z)({},q,{isRtl:Pe,arrow:Y,disableInteractive:Ie,placement:me,PopperComponentProp:fe,touch:Me.current}),dt=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e,i={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,m.Z)(a.split("-")[0])}`],arrow:["arrow"]};return(0,s.Z)(i,x.Q,t)})(ut),pt=null!=(n=null!=(c=ve.popper)?c:X.Popper)?n:P,mt=null!=(u=null!=(O=null!=(R=ve.transition)?R:X.Transition)?O:ye)?u:f.Z,ft=null!=(V=null!=(A=ve.tooltip)?A:X.Tooltip)?V:Z,ht=null!=(F=null!=(L=ve.arrow)?L:X.Arrow)?F:k,gt=(0,l.$)(pt,(0,o.Z)({},he,null!=(N=ge.popper)?N:_.popper,{className:(0,i.Z)(dt.popper,null==he?void 0:he.className,null==(E=null!=(B=ge.popper)?B:_.popper)?void 0:E.className)}),ut),vt=(0,l.$)(mt,(0,o.Z)({},we,null!=($=ge.transition)?$:_.transition),ut),bt=(0,l.$)(ft,(0,o.Z)({},null!=(j=ge.tooltip)?j:_.tooltip,{className:(0,i.Z)(dt.tooltip,null==(z=null!=(H=ge.tooltip)?H:_.tooltip)?void 0:z.className)}),ut),yt=(0,l.$)(ht,(0,o.Z)({},null!=(W=ge.arrow)?W:_.arrow,{className:(0,i.Z)(dt.arrow,null==(U=null!=(G=ge.arrow)?G:_.arrow)?void 0:U.className)}),ut);return(0,C.jsxs)(a.Fragment,{children:[a.cloneElement(Ce,st),(0,C.jsx)(pt,(0,o.Z)({as:null!=fe?fe:h.Z,placement:me,anchorEl:ie?{getBoundingClientRect:()=>({top:M.y,left:M.x,right:M.x,bottom:M.y,width:0,height:0})}:Ze,popperRef:ot,open:!!Ze&&Ne,id:Ee,transition:!0},lt,gt,{popperOptions:ct,children:({TransitionProps:e})=>(0,C.jsx)(mt,(0,o.Z)({timeout:Se.transitions.duration.shorter},e,vt,{children:(0,C.jsxs)(ft,(0,o.Z)({},bt,{children:[be,Y?(0,C.jsx)(ht,(0,o.Z)({},yt,{ref:Te})):null]}))}))}))]})}));t.Z=O},48999:function(e,t,n){n.d(t,{Q:function(){return a}});var r=n(1588),o=n(34867);function a(e){return(0,o.Z)("MuiTooltip",e)}const i=(0,r.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);t.Z=i},21964:function(e,t,n){n.d(t,{Z:function(){return w}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(94780),l=n(98216),c=n(90948),u=n(49299),d=n(74423),p=n(49990),m=n(1588),f=n(34867);function h(e){return(0,f.Z)("PrivateSwitchBase",e)}(0,m.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var g=n(85893);const v=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],b=(0,c.ZP)(p.Z)((({ownerState:e})=>(0,o.Z)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),y=(0,c.ZP)("input",{shouldForwardProp:c.FO})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1});var w=a.forwardRef((function(e,t){const{autoFocus:n,checked:a,checkedIcon:c,
54className:p,defaultChecked:m,disabled:f,disableFocusRipple:w=!1,edge:x=!1,icon:C,id:S,inputProps:P,inputRef:Z,name:k,onBlur:D,onChange:T,onFocus:M,readOnly:I,required:O=!1,tabIndex:R,type:V,value:A}=e,F=(0,r.Z)(e,v),[L,N]=(0,u.Z)({controlled:a,default:Boolean(m),name:"SwitchBase",state:"checked"}),E=(0,d.Z)();let B=f;E&&"undefined"===typeof B&&(B=E.disabled);const $="checkbox"===V||"radio"===V,j=(0,o.Z)({},e,{checked:L,disabled:B,disableFocusRipple:w,edge:x}),z=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,a={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,l.Z)(o)}`],input:["input"]};return(0,s.Z)(a,h,t)})(j);return(0,g.jsxs)(b,(0,o.Z)({component:"span",className:(0,i.Z)(z.root,p),centerRipple:!0,focusRipple:!w,disabled:B,tabIndex:null,role:void 0,onFocus:e=>{M&&M(e),E&&E.onFocus&&E.onFocus(e)},onBlur:e=>{D&&D(e),E&&E.onBlur&&E.onBlur(e)},ownerState:j,ref:t},F,{children:[(0,g.jsx)(y,(0,o.Z)({autoFocus:n,checked:a,defaultChecked:m,className:z.input,disabled:B,id:$?S:void 0,name:k,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;N(t),T&&T(e,t)},readOnly:I,ref:Z,required:O,ownerState:j,tabIndex:R,type:V},"checkbox"===V&&void 0===A?{}:{value:A},P)),L?c:C]}))}))},67070:function(e,t,n){n(67294);var r=n(88169),o=n(85893);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},56686:function(e,t,n){n(67294);var r=n(88169),o=n(85893);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},98396:function(e,t,n){var r;n.d(t,{Z:function(){return d}});var o=n(67294),a=n(34168),i=n(20539),s=n(58974);function l(e,t,n,r,a){const[i,l]=o.useState((()=>a&&n?n(e).matches:r?r(e).matches:t));return(0,s.Z)((()=>{let t=!0;if(!n)return;const r=n(e),o=()=>{t&&l(r.matches)};return o(),r.addListener(o),()=>{t=!1,r.removeListener(o)}}),[e,n]),i}const c=(r||(r=n.t(o,2))).useSyncExternalStore;function u(e,t,n,r,a){const i=o.useCallback((()=>t),[t]),s=o.useMemo((()=>{if(a&&n)return()=>n(e).matches;if(null!==r){const{matches:t}=r(e);return()=>t}return i}),[i,e,r,a,n]),[l,u]=o.useMemo((()=>{if(null===n)return[i,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]}),[i,n,e]);return c(u,l,s)}function d(e,t={}){const n=(0,a.Z)(),r="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,{defaultMatches:o=!1,matchMedia:s=(r?window.matchMedia:null),ssrMatchMedia:d=null,noSsr:p=!1}=(0,i.Z)({name:"MuiUseMediaQuery",props:t,theme:n});let m="function"===typeof e?e(n):e;m=m.replace(/^@media( ?)/m,"");return(void 0!==c?u:l)(m,o,s,d,p)}},35893:function(e,t,n){var r=n(49064);t.Z=r.Z},99566:function(e,t,n){n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return a.Z},createSvgIcon:function(){return i.Z},debounce:function(){return s.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return c.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return p},setRef:function(){return m},unstable_ClassNameGenerator:function(){return x},unstable_useEnhancedEffect:function(){return f.Z},unstable_useId:function(){return h.Z},unsupportedProp:function(){return g},useControlled:function(){return v.Z},useEventCallback:function(){return b.Z},useForkRef:function(){return y.Z},useIsFocusVisible:function(){return w.Z}});var r=n(37078),o=n(98216),a=n(35893),i=n(88169),s=n(57144),l=n(67421).Z,c=n(96798),u=n(8038),d=n(5340),p=n(18986).Z,m=n(7960).Z,f=n(58974),h=n(27909),g=n(40444).Z,v=n(49299),b=n(2068),y=n(51705),w=n(79674);const x={configure:e=>{r.Z.configure(e)}}},27909:function(e,t,n){var r=n(92996);t.Z=r.Z},35363:function(e,t,n){n.d(t,{x:function(){return Vn}});var r=n(87462),o=n(63366),a=n(67294),i=n(98396),s=n(71657),l=n(45697),c=n.n(l),u=n(71276),d=n(89932),p=n(55071),m=n(50135),f=n(24349),h=n(41749),g=n(5535);const v=({props:e,value:t,adapter:n})=>{if(null===t)return null;const{shouldDisableDate:r,shouldDisableMonth:o,shouldDisableYear:a,disablePast:i,disableFuture:s,timezone:l}=e,c=n.utils.dateWithTimezone(void 0,l),u=(0,g.US)(n.utils,e.minDate,n.defaultDates.minDate),d=(0,g.US)(n.utils,e.maxDate,n.defaultDates.maxDate);switch(!0){case!n.utils.isValid(t):return"invalidDate";case Boolean(r&&r(t)):return"shouldDisableDate";case Boolean(o&&o(t)):return"shouldDisableMonth";case Boolean(a&&a(t)):return"shouldDisableYear";case Boolean(s&&n.utils.isAfterDay(t,c)):return"disableFuture";case Boolean(i&&n.utils.isBeforeDay(t,c)):return"disablePast";case Boolean(u&&n.utils.isBeforeDay(t,u)):return"minDate";case Boolean(d&&n.utils.isAfterDay(t,d)):return"maxDate";default:return null}};var b=n(23916);const y=({props:e,value:t,adapter:n})=>{const r=v({adapter:n,value:t,props:e});return null!==r?r:(0,b.C)({adapter:n,value:t,props:e})};var w=n(48865),x=n(25372);const C=({props:e,inputRef:t})=>{const n=(e=>{var t,n,o,a,i,s,l,c;const u=(0,w.nB)(),d=(0,w.PP)(),p=(null!=(t=e.ampm)?t:u.is12HourCycleInCurrentLocale())?u.formats.keyboardDateTime12h:u.formats.keyboardDateTime24h;return(0,r.Z)({},e,{disablePast:null!=(n=e.disablePast)&&n,disableFuture:null!=(o=e.disableFuture)&&o,format:null!=(a=e.format)?a:p,disableIgnoringDatePartForTimeValidation:Boolean(e.minDateTime||e.maxDateTime),minDate:(0,g.US)(u,null!=(i=e.minDateTime)?i:e.minDate,d.minDate),maxDate:(0,g.US)(u,null!=(s=e.maxDateTime)?s:e.maxDate,d.maxDate),minTime:null!=(l=e.minDateTime)?l:e.minTime,maxTime:null!=(c=e.maxDateTime)?c:e.maxTime})})(e),{forwardedProps:o,internalProps:a}=(0,x._)(n,"date-time");return(0,h.U)({inputRef:t,forwardedProps:o,internalProps:a,valueManager:p.h,fieldValueManager:p.a,validator:y,valueType:"date-time"})};var S=n(20283),P=n(85893);const Z=["components","componentsProps","slots","slotProps","InputProps","inputProps"],k=["inputRef"],D=["ref","onPaste","onKeyDown","inputMode","readOnly","clearable","onClear"],T=a.forwardRef((function(e,t){var n,a,i;const l=(0,s.Z)({props:e,name:"MuiDateTimeField"}),{components:c,componentsProps:u,slots:d,slotProps:p,InputProps:h,inputProps:g}=l,v=(0,o.Z)(l,Z),b=l,y=null!=(n=null!=(a=null==d?void 0:d.textField)?a:null==c?void 0:c.TextField)?n:m.Z,w=(0,f.y)({elementType:y,externalSlotProps:null!=(i=null==p?void 0:p.textField)?i:null==u?void 0:u.textField,externalForwardedProps:v,ownerState:b}),{inputRef:x}=w,T=(0,o.Z)(w,k);T.inputProps=(0,r.Z)({},g,T.inputProps),T.InputProps=(0,r.Z)({},h,T.InputProps);const M=C({props:T,inputRef:x}),{ref:I,onPaste:O,onKeyDown:R,inputMode:V,readOnly:A,clearable:F,onClear:L}=M,N=(0,o.Z)(M,D),{InputProps:E,fieldProps:B}=(0,S.T)({onClear:L,clearable:F,fieldProps:N,InputProps:N.InputProps,slots:d,slotProps:p,components:c,componentsProps:u});return(0,P.jsx)(y,(0,r.Z)({ref:t},B,{InputProps:(0,r.Z)({},E,{readOnly:A}),inputProps:(0,r.Z)({},N.inputProps,{inputMode:V,onPaste:O,onKeyDown:R,ref:I})}))}));var M=n(40044),I=n(86517),O=n(90852),R=n(90948),V=n(94780),A=n(83205),F=n(34867),L=n(1588);function N(e){return(0,F.Z)("MuiDateTimePickerTabs",e)}(0,L.Z)("MuiDateTimePickerTabs",["root"]);const E=e=>(0,g.Fb)(e)?"date":"time",B=(0,R.ZP)(I.Z,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({boxShadow:`0 -1px 0 0 inset ${(e.vars||e).palette.divider}`,"&:last-child":{boxShadow:`0 1px 0 0 inset ${(e.vars||e).palette.divider}`,[`& .${O.Z.indicator}`]:{bottom:"auto",top:0}}}))),$=function(e){const t=(0,s.Z)({props:e,name:"MuiDateTimePickerTabs"}),{dateIcon:n=(0,P.jsx)(A.x,{}),onViewChange:r,timeIcon:o=(0,P.jsx)(A.wZ,{}),view:i,hidden:l="undefined"===typeof window||window.innerHeight<667}=t,c=(0,w.og)(),u=(e=>{const{classes:t}=e;return(0,V.Z)({root:["root"]},N,t)})(t);return l?null:(0,P.jsxs)(B,{ownerState:t,variant:"fullWidth",value:E(i),onChange:(e,t)=>
54{r("date"===t?"day":"hours")},className:u.root,children:[(0,P.jsx)(M.Z,{value:"date","aria-label":c.dateTableLabel,icon:(0,P.jsx)(a.Fragment,{children:n})}),(0,P.jsx)(M.Z,{value:"time","aria-label":c.timeTableLabel,icon:(0,P.jsx)(a.Fragment,{children:o})})]})};var j=n(2734),z=n(49502),H=n(31914),W=n(61849);function U(e){return(0,F.Z)("MuiDateTimePickerToolbar",e)}const G=(0,L.Z)("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","timeDigitsContainer","separator","timeLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]);var q=n(73207),Y=n(67542);const K=["ampm","ampmInClock","value","onChange","view","isLandscape","onViewChange","toolbarFormat","toolbarPlaceholder","views","disabled","readOnly","toolbarVariant"],X=(0,R.ZP)(H.e,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>({paddingLeft:"desktop"!==t.toolbarVariant||t.isLandscape?16:24,paddingRight:"desktop"!==t.toolbarVariant||t.isLandscape?16:0,borderBottom:"desktop"===t.toolbarVariant?`1px solid ${(e.vars||e).palette.divider}`:void 0,borderRight:"desktop"===t.toolbarVariant&&t.isLandscape?`1px solid ${(e.vars||e).palette.divider}`:void 0,justifyContent:"space-around",position:"relative"})));X.propTypes={as:c().elementType,classes:c().object,className:c().string,isLandscape:c().bool.isRequired,isMobileKeyboardViewOpen:c().bool,landscapeDirection:c().oneOf(["column","row"]),ownerState:c().object.isRequired,sx:c().oneOfType([c().arrayOf(c().oneOfType([c().func,c().object,c().bool])),c().func,c().object]),toggleMobileKeyboardView:c().func,toolbarTitle:c().node,viewType:c().oneOf(["date","time"])};const _=(0,R.ZP)("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(e,t)=>t.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),Q=(0,R.ZP)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(e,t)=>t.timeContainer})((({theme:e,ownerState:t})=>{const n=t.isLandscape&&"desktop"!==t.toolbarVariant?"column":"row";return(0,r.Z)({display:"flex",flexDirection:n},"desktop"===t.toolbarVariant&&(0,r.Z)({},!t.isLandscape&&{gap:9,marginRight:4,alignSelf:"flex-end"}),"rtl"===e.direction&&{flexDirection:`${n}-reverse`})})),J=(0,R.ZP)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeDigitsContainer",overridesResolver:(e,t)=>t.timeDigitsContainer})((({theme:e,ownerState:t})=>(0,r.Z)({display:"flex"},"desktop"===t.toolbarVariant&&{gap:1.5},"rtl"===e.direction&&{flexDirection:"row-reverse"})));Q.propTypes={as:c().elementType,ownerState:c().object.isRequired,sx:c().oneOfType([c().arrayOf(c().oneOfType([c().func,c().object,c().bool])),c().func,c().object])};const ee=(0,R.ZP)(z.I,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})((({ownerState:e})=>({margin:"desktop"===e.toolbarVariant?0:"0 4px 0 2px",cursor:"default"}))),te=(0,R.ZP)("div",{name:"MuiDateTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${G.ampmLabel}`]:t.ampmLabel},{[`&.${G.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})((({ownerState:e})=>(0,r.Z)({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12},e.isLandscape&&{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",width:"100%"},{[`& .${G.ampmLabel}`]:{fontSize:17}})));function ne(e){const t=(0,s.Z)({props:e,name:"MuiDateTimePickerToolbar"}),{ampm:n,ampmInClock:i,value:l,onChange:c,view:u,isLandscape:d,onViewChange:p,toolbarFormat:m,toolbarPlaceholder:f="\u2013\u2013",views:h,disabled:v,readOnly:b,toolbarVariant:y="mobile"}=t,x=(0,o.Z)(t,K),C=t,S=(0,w.nB)(),{meridiemMode:Z,handleMeridiemChange:k}=(0,q.iC)(l,n,c),D=Boolean(n&&!i),T="desktop"===y,M=(0,w.og)(),I=(0,j.Z)(),O=(e=>{const{classes:t,theme:n,isLandscape:r}=e,o={root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer","rtl"===n.direction&&"timeLabelReverse"],timeDigitsContainer:["timeDigitsContainer","rtl"===n.direction&&"timeLabelReverse"],separator:["separator"],ampmSelection:["ampmSelection",r&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,V.Z)(o,U,t)})((0,r.Z)({},C,{theme:I})),R=a.useMemo((()=>l?m?S.formatByString(l,m):S.format(l,"shortDate"):f),[l,m,f,S]);return(0,P.jsxs)(X,(0,r.Z)({toolbarTitle:M.dateTimePickerToolbarTitle,isLandscape:d,className:O.root},x,{ownerState:C,children:[(0,P.jsxs)(_,{className:O.dateContainer,ownerState:C,children:[h.includes("year")&&(0,P.jsx)(W.c,{tabIndex:-1,variant:"subtitle1",onClick:()=>p("year"),selected:"year"===u,value:l?S.format(l,"year"):"\u2013"}),h.includes("day")&&(0,P.jsx)(W.c,{tabIndex:-1,variant:T?"h5":"h4",onClick:()=>p("day"),selected:"day"===u,value:R})]}),(0,P.jsxs)(Q,{className:O.timeContainer,ownerState:C,children:[(0,P.jsxs)(J,{className:O.timeDigitsContainer,ownerState:C,children:[h.includes("hours")&&(0,P.jsx)(W.c,{variant:T?"h5":"h3",width:T&&!d?Y.kD:void 0,onClick:()=>p("hours"),selected:"hours"===u,value:l?(A=l,n?S.format(A,"hours12h"):S.format(A,"hours24h")):"--"}),h.includes("minutes")&&(0,P.jsxs)(a.Fragment,{children:[(0,P.jsx)(ee,{variant:T?"h5":"h3",value:":",className:O.separator,ownerState:C}),(0,P.jsx)(W.c,{variant:T?"h5":"h3",width:T&&!d?Y.kD:void 0,onClick:()=>p("minutes"),selected:"minutes"===u,value:l?S.format(l,"minutes"):"--"})]}),h.includes("seconds")&&(0,P.jsxs)(a.Fragment,{children:[(0,P.jsx)(ee,{variant:T?"h5":"h3",value:":",className:O.separator,ownerState:C}),(0,P.jsx)(W.c,{variant:T?"h5":"h3",width:T&&!d?Y.kD:void 0,onClick:()=>p("seconds"),selected:"seconds"===u,value:l?S.format(l,"seconds"):"--"})]})]}),D&&!T&&(0,P.jsxs)(te,{className:O.ampmSelection,ownerState:C,children:[(0,P.jsx)(W.c,{variant:"subtitle2",selected:"am"===Z,typographyClassName:O.ampmLabel,value:(0,g.lu)(S,"am"),onClick:b?void 0:()=>k("am"),disabled:v}),(0,P.jsx)(W.c,{variant:"subtitle2",selected:"pm"===Z,typographyClassName:O.ampmLabel,value:(0,g.lu)(S,"pm"),onClick:b?void 0:()=>k("pm"),disabled:v})]}),n&&T&&(0,P.jsx)(W.c,{variant:"h5",onClick:()=>p("meridiem"),selected:"meridiem"===u,value:l&&Z?(0,g.lu)(S,Z):"--",width:Y.kD})]})]}));var A}var re=n(27495),oe=n(9270);function ae(e,t){var n,o,i,l,c,u,d,p,m,f,h;const v=(0,w.nB)(),b=(0,w.PP)(),y=(0,s.Z)({props:e,name:t}
54),x=null!=(n=y.ampm)?n:v.is12HourCycleInCurrentLocale(),C=a.useMemo((()=>{var e;return null==(null==(e=y.localeText)?void 0:e.toolbarTitle)?y.localeText:(0,r.Z)({},y.localeText,{dateTimePickerToolbarTitle:y.localeText.toolbarTitle})}),[y.localeText]),S=null!=(o=y.slots)?o:(0,oe.S)(y.components),P=null!=(i=y.slotProps)?i:y.componentsProps;return(0,r.Z)({},y,(0,re.d)({views:y.views,openTo:y.openTo,defaultViews:["year","day","hours","minutes"],defaultOpenTo:"day"}),{ampm:x,localeText:C,orientation:null!=(l=y.orientation)?l:"portrait",disableIgnoringDatePartForTimeValidation:null!=(c=y.disableIgnoringDatePartForTimeValidation)?c:Boolean(y.minDateTime||y.maxDateTime||y.disablePast||y.disableFuture),disableFuture:null!=(u=y.disableFuture)&&u,disablePast:null!=(d=y.disablePast)&&d,minDate:(0,g.US)(v,null!=(p=y.minDateTime)?p:y.minDate,b.minDate),maxDate:(0,g.US)(v,null!=(m=y.maxDateTime)?m:y.maxDate,b.maxDate),minTime:null!=(f=y.minDateTime)?f:y.minTime,maxTime:null!=(h=y.maxDateTime)?h:y.maxTime,slots:(0,r.Z)({toolbar:ne,tabs:$},S),slotProps:(0,r.Z)({},P,{toolbar:(0,r.Z)({ampm:x},null==P?void 0:P.toolbar)})})}var ie=n(90512),se=n(92996),le=n(59948);const ce=({shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:o,disableFuture:i,disablePast:s,timezone:l})=>{const c=(0,w.Do)();return a.useCallback((a=>null!==v({adapter:c,value:a,props:{shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:o,disableFuture:i,disablePast:s,timezone:l}})),[c,e,t,n,r,o,i,s,l])};var ue=n(69032);const de=e=>{const{value:t,referenceDate:n,defaultCalendarMonth:o,disableFuture:i,disablePast:s,disableSwitchToMonthOnDayFocus:l=!1,maxDate:c,minDate:u,onMonthChange:d,reduceAnimations:m,shouldDisableDate:f,timezone:h}=e,g=(0,w.mX)(h),v=(0,w.nB)(),b=a.useRef(((e,t,n)=>(o,a)=>{switch(a.type){case"changeMonth":return(0,r.Z)({},o,{slideDirection:a.direction,currentMonth:a.newMonth,isMonthSwitchingAnimating:!e});case"finishMonthSwitchingAnimation":return(0,r.Z)({},o,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(null!=o.focusedDay&&null!=a.focusedDay&&n.isSameDay(a.focusedDay,o.focusedDay))return o;const i=null!=a.focusedDay&&!t&&!n.isSameMonth(o.currentMonth,a.focusedDay);return(0,r.Z)({},o,{focusedDay:a.focusedDay,isMonthSwitchingAnimating:i&&!e&&!a.withoutMonthSwitchingAnimation,currentMonth:i?n.startOfMonth(a.focusedDay):o.currentMonth,slideDirection:null!=a.focusedDay&&n.isAfterDay(a.focusedDay,o.currentMonth)?"left":"right"})}default:throw new Error("missing support")}})(Boolean(m),l,v)).current,y=a.useMemo((()=>{let r=null;return n?r=n:o&&(r=v.startOfMonth(o)),p.h.getInitialReferenceValue({value:t,utils:v,timezone:h,props:e,referenceDate:r,granularity:ue.Kn.day})}),[]),[x,C]=a.useReducer(b,{isMonthSwitchingAnimating:!1,focusedDay:v.isValid(t)?t:g,currentMonth:v.startOfMonth(y),slideDirection:"left"}),S=a.useCallback((e=>{C((0,r.Z)({type:"changeMonth"},e)),d&&d(e.newMonth)}),[d]),P=a.useCallback((e=>{const t=e;v.isSameMonth(t,x.currentMonth)||S({newMonth:v.startOfMonth(t),direction:v.isAfterDay(t,x.currentMonth)?"left":"right"})}),[x.currentMonth,S,v]),Z=ce({shouldDisableDate:f,minDate:u,maxDate:c,disableFuture:i,disablePast:s,timezone:h}),k=a.useCallback((()=>{C({type:"finishMonthSwitchingAnimation"})}),[]),D=(0,le.Z)(((e,t)=>{Z(e)||C({type:"changeFocusedDay",focusedDay:e,withoutMonthSwitchingAnimation:t})}));return{referenceDate:y,calendarState:x,changeMonth:P,changeFocusedDay:D,isDateDisabled:Z,onMonthSwitchingAnimationEnd:k,handleChangeMonth:S}};var pe=n(73350),me=n(16628);const fe=e=>(0,F.Z)("MuiPickersFadeTransitionGroup",e),he=((0,L.Z)("MuiPickersFadeTransitionGroup",["root"]),(0,R.ZP)(pe.Z,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"block",position:"relative"}));function ge(e){const t=(0,s.Z)({props:e,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:r,reduceAnimations:o,transKey:a}=t,i=(e=>{const{classes:t}=e;return(0,V.Z)({root:["root"]},fe,t)})(t),l=(0,j.Z)();return o?n:(0,P.jsx)(he,{className:(0,ie.Z)(i.root,r),children:(0,P.jsx)(me.Z,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:l.transitions.duration.enteringScreen,enter:l.transitions.duration.enteringScreen,exit:0},children:n},a)})}var ve=n(15861),be=n(19032),ye=n(49990),we=n(33703),xe=n(73546),Ce=n(41796);function Se(e){return(0,F.Z)("MuiPickersDay",e)}const Pe=(0,L.Z)("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),Ze=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onF
54ocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],ke=({theme:e,ownerState:t})=>(0,r.Z)({},e.typography.caption,{width:Y.p2,height:Y.p2,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:e.transitions.create("background-color",{duration:e.transitions.duration.short}),color:(e.vars||e).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ce.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,Ce.Fq)(e.palette.primary.main,e.palette.action.focusOpacity),[`&.${Pe.selected}`]:{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${Pe.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${Pe.disabled}:not(.${Pe.selected})`]:{color:(e.vars||e).palette.text.disabled},[`&.${Pe.disabled}&.${Pe.selected}`]:{opacity:.6}},!t.disableMargin&&{margin:`0 ${Y.yh}px`},t.outsideCurrentMonth&&t.showDaysOutsideCurrentMonth&&{color:(e.vars||e).palette.text.secondary},!t.disableHighlightToday&&t.today&&{[`&:not(.${Pe.selected})`]:{border:`1px solid ${(e.vars||e).palette.text.secondary}`}}),De=(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},Te=(0,R.ZP)(ye.Z,{name:"MuiPickersDay",slot:"Root",overridesResolver:De})(ke),Me=(0,R.ZP)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:De})((({theme:e,ownerState:t})=>(0,r.Z)({},ke({theme:e,ownerState:t}),{opacity:0,pointerEvents:"none"}))),Ie=()=>{},Oe=a.forwardRef((function(e,t){const n=(0,s.Z)({props:e,name:"MuiPickersDay"}),{autoFocus:i=!1,className:l,day:c,disabled:u=!1,disableHighlightToday:d=!1,disableMargin:p=!1,isAnimating:m,onClick:f,onDaySelect:h,onFocus:g=Ie,onBlur:v=Ie,onKeyDown:b=Ie,onMouseDown:y=Ie,onMouseEnter:x=Ie,outsideCurrentMonth:C,selected:S=!1,showDaysOutsideCurrentMonth:Z=!1,children:k,today:D=!1}=n,T=(0,o.Z)(n,Ze),M=(0,r.Z)({},n,{autoFocus:i,disabled:u,disableHighlightToday:d,disableMargin:p,selected:S,showDaysOutsideCurrentMonth:Z,today:D}),I=(e=>{const{selected:t,disableMargin:n,disableHighlightToday:r,today:o,disabled:a,outsideCurrentMonth:i,showDaysOutsideCurrentMonth:s,classes:l}=e,c=i&&!s,u={root:["root",t&&!c&&"selected",a&&"disabled",!n&&"dayWithMargin",!r&&o&&"today",i&&s&&"dayOutsideMonth",c&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]};return(0,V.Z)(u,Se,l)})(M),O=(0,w.nB)(),R=a.useRef(null),A=(0,we.Z)(R,t);(0,xe.Z)((()=>{!i||u||m||C||R.current.focus()}),[i,u,m,C]);return C&&!Z?(0,P.jsx)(Me,{className:(0,ie.Z)(I.root,I.hiddenDaySpacingFiller,l),ownerState:M,role:T.role}):(0,P.jsx)(Te,(0,r.Z)({className:(0,ie.Z)(I.root,l),ref:A,centerRipple:!0,disabled:u,tabIndex:S?0:-1,onKeyDown:e=>b(e,c),onFocus:e=>g(e,c),onBlur:e=>v(e,c),onMouseEnter:e=>x(e,c),onClick:e=>{u||h(c),C&&e.currentTarget.focus(),f&&f(e)},onMouseDown:e=>{y(e),C&&e.preventDefault()}},T,{ownerState:M,children:k||O.format(c,"dayOfMonth")}))})),Re=a.memo(Oe);var Ve=n(94578);
54function Ae(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var Fe=n(98885),Le=n(59391),Ne=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"===typeof n.className?n.className=Ae(n.className,r):n.setAttribute("class",Ae(n.className&&n.className.baseVal||"",r)));var n,r}))},Ee=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1];t.removeClasses(o,"exit"),t.addClass(o,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.addClass(o,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.removeClasses(o,a),t.addClass(o,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"===typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,Ve.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&(0,Le.Q)(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"===typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,a=n.done;this.appliedClasses[t]={},r&&Ne(e,r),o&&Ne(e,o),a&&Ne(e,a)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.Z)(e,["classNames"]));return a.createElement(Fe.ZP,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(a.Component);Ee.defaultProps={classNames:""},Ee.propTypes={};var Be=Ee;const $e=e=>(0,F.Z)("MuiPickersSlideTransition",e),je=(0,L.Z)("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),ze=["children","className","reduceAnimations","slideDirection","transKey","classes"],He=(0,R.ZP)(pe.Z,{name:"MuiPickersSlideTransition",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`.${je["slideEnter-left"]}`]:t["slideEnter-left"]},{[`.${je["slideEnter-right"]}`]:t["slideEnter-right"]},{[`.${je.slideEnterActive}`]:t.slideEnterActive},{[`.${je.slideExit}`]:t.slideExit},{[`.${je["slideExitActiveLeft-left"]}`]:t["slideExitActiveLeft-left"]},{[`.${je["slideExitActiveLeft-right"]}`]:t["slideExitActiveLeft-right"]}]})((({theme:e})=>{const t=e.transitions.create("transform",{duration:e.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${je["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${je["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${je.slideEnterActive}`]:{transform:"translate(0%)",transition:t},[`& .${je.slideExit}`]:{transform:"translate(0%)"},[`& .${je["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:t,zIndex:0},[`& .${je["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:t,zIndex:0}}}));const We=e=>(0,F.Z)("MuiDayCalendar",e),Ue=((0,L.Z)("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"]),["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"]),Ge=["ownerState"],qe=6*(Y.p2+2*Y.yh),Ye=(0,R.ZP)("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ke=(0,R.ZP)("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(e,t)=>t.header})({display:"flex",justifyContent:"center",alignItems:"center"}),Xe=(0,R.ZP)(ve.Z,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(e,t)=>t.weekDayLabel})((({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(e.vars||e).palette.text.secondary}))),_e=(0,R.ZP)(ve.Z,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(e,t)=>t.weekNumberLabel})((({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.palette.text.disabled}))),Qe=(0,R.ZP)(ve.Z,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(e,t)=>t.weekNumber})((({theme:e})=>(0,r.Z)({},e.typography.caption,{width:Y.p2,height:Y.p2,padding:0,margin:`0 ${Y.yh}px`,color:e.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"}))),Je=(0,R.ZP)("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(e,t)=>t.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:qe}),et=(0,R.ZP)((function(e){const t=(0,s.Z)({props:e,name:"MuiPickersSlideTransition"}),{children:n,className:i,reduceAnimations:l,transKey:c}=t,u=(0,o.Z)(t,ze),d=(e=>{const{classes:t,slideDirection:n}=e,r={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter
54:[`slideEnter-${n}`],exitActive:[`slideExitActiveLeft-${n}`]};return(0,V.Z)(r,$e,t)})(t),p=(0,j.Z)();if(l)return(0,P.jsx)("div",{className:(0,ie.Z)(d.root,i),children:n});const m={exit:d.exit,enterActive:d.enterActive,enter:d.enter,exitActive:d.exitActive};return(0,P.jsx)(He,{className:(0,ie.Z)(d.root,i),childFactory:e=>a.cloneElement(e,{classNames:m}),role:"presentation",children:(0,P.jsx)(Be,(0,r.Z)({mountOnEnter:!0,unmountOnExit:!0,timeout:p.transitions.duration.complex,classNames:m},u,{children:n}),c)})}),{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(e,t)=>t.slideTransition})({minHeight:qe}),tt=(0,R.ZP)("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(e,t)=>t.monthContainer})({overflow:"hidden"}),nt=(0,R.ZP)("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(e,t)=>t.weekContainer})({margin:`${Y.yh}px 0`,display:"flex",justifyContent:"center"});function rt(e){var t,n,i;let{parentProps:s,day:l,focusableDay:c,selectedDays:u,isDateDisabled:d,currentMonthNumber:p,isViewFocused:m}=e,h=(0,o.Z)(e,Ue);const{disabled:g,disableHighlightToday:v,isMonthSwitchingAnimating:b,showDaysOutsideCurrentMonth:y,components:x,componentsProps:C,slots:S,slotProps:Z,timezone:k}=s,D=(0,w.nB)(),T=(0,w.mX)(k),M=null!==c&&D.isSameDay(l,c),I=u.some((e=>D.isSameDay(e,l))),O=D.isSameDay(l,T),R=null!=(t=null!=(n=null==S?void 0:S.day)?n:null==x?void 0:x.Day)?t:Re,V=(0,f.y)({elementType:R,externalSlotProps:null!=(i=null==Z?void 0:Z.day)?i:null==C?void 0:C.day,additionalProps:(0,r.Z)({disableHighlightToday:v,showDaysOutsideCurrentMonth:y,role:"gridcell",isAnimating:b,"data-timestamp":D.toJsDate(l).valueOf()},h),ownerState:(0,r.Z)({},s,{day:l,selected:I})}),A=(0,o.Z)(V,Ge),F=a.useMemo((()=>g||d(l)),[g,d,l]),L=a.useMemo((()=>D.getMonth(l)!==p),[D,l,p]),N=a.useMemo((()=>{const e=D.startOfMonth(D.setMonth(l,p));return y?D.isSameDay(l,D.startOfWeek(e)):D.isSameDay(l,e)}),[p,l,y,D]),E=a.useMemo((()=>{const e=D.endOfMonth(D.setMonth(l,p));return y?D.isSameDay(l,D.endOfWeek(e)):D.isSameDay(l,e)}),[p,l,y,D]);return(0,P.jsx)(R,(0,r.Z)({},A,{day:l,disabled:F,autoFocus:m&&M,today:O,outsideCurrentMonth:L,isFirstVisibleCell:N,isLastVisibleCell:E,selected:I,tabIndex:M?0:-1,"aria-selected":I,"aria-current":O?"date":void 0}))}function ot(e){const t=(0,s.Z)({props:e,name:"MuiDayCalendar"}),{onFocusedDayChange:n,className:o,currentMonth:i,selectedDays:l,focusedDay:c,loading:u,onSelectedDaysChange:d,onMonthSwitchingAnimationEnd:p,readOnly:m,reduceAnimations:f,renderLoading:h=(()=>(0,P.jsx)("span",{children:"..."})),slideDirection:v,TransitionProps:b,disablePast:y,disableFuture:x,minDate:C,maxDate:S,shouldDisableDate:Z,shouldDisableMonth:k,shouldDisableYear:D,dayOfWeekFormatter:T,hasFocus:M,onFocusedViewChange:I,gridLabelId:O,displayWeekNumber:R,fixedWeekNumber:A,autoFocus:F,timezone:L}=t,N=(0,w.mX)(L),E=(0,w.nB)(),B=(e=>{const{classes:t}=e;return(0,V.Z)({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},We,t)})(t),$="rtl"===(0,j.Z)().direction,z=T||((e,t)=>E.format(t,"weekdayShort").charAt(0).toUpperCase()),H=ce({shouldDisableDate:Z,shouldDisableMonth:k,shouldDisableYear:D,minDate:C,maxDate:S,disablePast:y,disableFuture:x,timezone:L}),W=(0,w.og)(),[U,G]=(0,be.Z)({name:"DayCalendar",state:"hasFocus",controlled:M,default:null!=F&&F}),[q,Y]=a.useState((()=>c||N)),K=(0,le.Z)((e=>{m||d(e)})),X=e=>{H(e)||(n(e),Y(e),null==I||I(!0),G(!0))},_=(0,le.Z)(((e,t)=>{switch(e.key){case"ArrowUp":X(E.addDays(t,-7)),e.preventDefault();break;case"ArrowDown":X(E.addDays(t,7)),e.preventDefault();break;case"ArrowLeft":{const n=E.addDays(t,$?1:-1),r=E.addMonths(t,$?1:-1),o=(0,g.xP)({utils:E,date:n,minDate:$?n:E.startOfMonth(r),maxDate:$?E.endOfMonth(r):n,isDateDisabled:H,timezone:L});X(o||n),e.preventDefault();break}case"ArrowRight":{const n=E.addDays(t,$?-1:1),r=E.addMonths(t,$?-1:1),o=(0,g.xP)({utils:E,date:n,minDate:$?E.startOfMonth(r):n,maxDate:$?n:E.endOfMonth(r),isDateDisabled:H,timezone:L});X(o||n),e.preventDefault();break}case"Home":X(E.startOfWeek(t)),e.preventDefault();break;case"End":X(E.endOfWeek(t)),e.preventDefault();break;case"PageUp":X(E.addMonths(t,1)),e.preventDefault();break;case"PageDown":X(E.addMonths(t,-1)),e.preventDefault()}})),Q=(0,le.Z)(((e,t)=>X(t))),J=(0,le.Z)(((e,t)=>{U&&E.isSameDay(q,t)&&(null==I||I(!1))})),ee=E.getMonth(i),te=a.useMemo((()=>l.filter((e=>!!e)).map((e=>E.startOfDay(e)))),[E,l]),ne=ee,re=a.useMemo((()=>a.createRef()),[ne]),oe=E.startOfWeek(N),ae=a.useMemo((()=>{const e=E.startOfMonth(i),t=E.endOfMonth(i);return H(q)||E.isAfterDay(q,t)||E.isBeforeDay(q,e)?(0,g.xP)({utils:E,date:q,minDate:e,maxDate:t,disablePast:y,disableFuture:x,isDateDisabled:H,timezone:L}):q}),[i,x,y,q,H,E,L]),se=a.useMemo((()=>{const e=E.setTimezone(i,L),t=E.getWeekArray(e);let n=E.addMonths(e,1);for(;A&&t.length<A;){const e=E.getWeekArray(n),r=E.isSameDay(t[t.length-1][0],e[0][0]);
54e.slice(r?1:0).forEach((e=>{t.length<A&&t.push(e)})),n=E.addMonths(n,1)}return t}),[i,A,E,L]);return(0,P.jsxs)(Ye,{role:"grid","aria-labelledby":O,className:B.root,children:[(0,P.jsxs)(Ke,{role:"row",className:B.header,children:[R&&(0,P.jsx)(_e,{variant:"caption",role:"columnheader","aria-label":W.calendarWeekNumberHeaderLabel,className:B.weekNumberLabel,children:W.calendarWeekNumberHeaderText}),(0,g.D1)(E,N).map(((e,t)=>{var n;const r=E.format(e,"weekdayShort");return(0,P.jsx)(Xe,{variant:"caption",role:"columnheader","aria-label":E.format(E.addDays(oe,t),"weekday"),className:B.weekDayLabel,children:null!=(n=null==z?void 0:z(r,e))?n:r},r+t.toString())}))]}),u?(0,P.jsx)(Je,{className:B.loadingContainer,children:h()}):(0,P.jsx)(et,(0,r.Z)({transKey:ne,onExited:p,reduceAnimations:f,slideDirection:v,className:(0,ie.Z)(o,B.slideTransition)},b,{nodeRef:re,children:(0,P.jsx)(tt,{ref:re,role:"rowgroup",className:B.monthContainer,children:se.map(((e,n)=>(0,P.jsxs)(nt,{role:"row",className:B.weekContainer,"aria-rowindex":n+1,children:[R&&(0,P.jsx)(Qe,{className:B.weekNumber,role:"rowheader","aria-label":W.calendarWeekNumberAriaLabelText(E.getWeekNumber(e[0])),children:W.calendarWeekNumberText(E.getWeekNumber(e[0]))}),e.map(((e,n)=>(0,P.jsx)(rt,{parentProps:t,day:e,selectedDays:te,focusableDay:ae,onKeyDown:_,onFocus:Q,onBlur:J,onDaySelect:K,isDateDisabled:H,currentMonthNumber:ee,isViewFocused:U,"aria-colindex":n+1},e.toString())))]},`week-${e[0]}`)))})}))]})}var at=n(96682);function it(e){return(0,F.Z)("MuiPickersMonth",e)}const st=(0,L.Z)("MuiPickersMonth",["root","monthButton","disabled","selected"]),lt=["autoFocus","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow"],ct=(0,R.ZP)("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(e,t)=>[t.root]})((({ownerState:e})=>({flexBasis:3===e.monthsPerRow?"33.3%":"25%",display:"flex",alignItems:"center",justifyContent:"center"}))),ut=(0,R.ZP)("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(e,t)=>[t.monthButton,{[`&.${st.disabled}`]:t.disabled},{[`&.${st.selected}`]:t.selected}]})((({theme:e})=>(0,r.Z)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ce.Fq)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ce.Fq)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${st.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${st.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}}))),dt=a.memo((function(e){const t=(0,s.Z)({props:e,name:"MuiPickersMonth"}),{autoFocus:n,children:i,disabled:l,selected:c,value:u,tabIndex:d,onClick:p,onKeyDown:m,onFocus:f,onBlur:h,"aria-current":g,"aria-label":v}=t,b=(0,o.Z)(t,lt),y=a.useRef(null),w=(e=>{const{disabled:t,selected:n,classes:r}=e,o={root:["root"],monthButton:["monthButton",t&&"disabled",n&&"selected"]};return(0,V.Z)(o,it,r)})(t);return(0,xe.Z)((()=>{var e;n&&(null==(e=y.current)||e.focus())}),[n]),(0,P.jsx)(ct,(0,r.Z)({className:w.root,ownerState:t},b,{children:(0,P.jsx)(ut,{ref:y,disabled:l,type:"button",role:"radio",tabIndex:l?-1:d,"aria-current":g,"aria-checked":c,"aria-label":v,onClick:e=>p(e,u),onKeyDown:e=>m(e,u),onFocus:e=>f(e,u),onBlur:e=>h(e,u),className:w.monthButton,ownerState:t,children:i})}))}));function pt(e){return(0,F.Z)("MuiMonthCalendar",e)}(0,L.Z)("MuiMonthCalendar",["root"]);var mt=n(57605);const ft=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId"];const ht=(0,R.ZP)("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:Y.Pl,boxSizing:"border-box"}),gt=a.forwardRef((function(e,t){const n=function(e,t){const n=(0,w.nB)(),o=(0,w.PP)(),a=(0,s.Z)({props:e,name:t});return(0,r.Z)({disableFuture:!1,disablePast:!1},a,{minDate:(0,g.US)(n,a.minDate,o.minDate),maxDate:(0,g.US)(n,a.maxDate,o.maxDate)})}(e,"MuiMonthCalendar"),{className:i,value:l,defaultValue:c,referenceDate:u,disabled:d,disableFuture:m,disablePast:f,maxDate:h,minDate:v,onCh
54ange:b,shouldDisableMonth:y,readOnly:x,disableHighlightToday:C,autoFocus:S=!1,onMonthFocus:Z,hasFocus:k,onFocusedViewChange:D,monthsPerRow:T=3,timezone:M,gridLabelId:I}=n,O=(0,o.Z)(n,ft),{value:R,handleValueChange:A,timezone:F}=(0,mt.m)({name:"MonthCalendar",timezone:M,value:l,defaultValue:c,onChange:b,valueManager:p.h}),L=(0,w.mX)(F),N=(0,at.Z)(),E=(0,w.nB)(),B=a.useMemo((()=>p.h.getInitialReferenceValue({value:R,utils:E,props:n,timezone:F,referenceDate:u,granularity:ue.Kn.month})),[]),$=n,j=(e=>{const{classes:t}=e;return(0,V.Z)({root:["root"]},pt,t)})($),z=a.useMemo((()=>E.getMonth(L)),[E,L]),H=a.useMemo((()=>null!=R?E.getMonth(R):C?null:E.getMonth(B)),[R,E,C,B]),[W,U]=a.useState((()=>H||z)),[G,q]=(0,be.Z)({name:"MonthCalendar",state:"hasFocus",controlled:k,default:null!=S&&S}),Y=(0,le.Z)((e=>{q(e),D&&D(e)})),K=a.useCallback((e=>{const t=E.startOfMonth(f&&E.isAfter(L,v)?L:v),n=E.startOfMonth(m&&E.isBefore(L,h)?L:h),r=E.startOfMonth(e);return!!E.isBefore(r,t)||(!!E.isAfter(r,n)||!!y&&y(r))}),[m,f,h,v,L,y,E]),X=(0,le.Z)(((e,t)=>{if(x)return;const n=E.setMonth(null!=R?R:B,t);A(n)})),_=(0,le.Z)((e=>{K(E.setMonth(null!=R?R:B,e))||(U(e),Y(!0),Z&&Z(e))}));a.useEffect((()=>{U((e=>null!==H&&e!==H?H:e))}),[H]);const Q=(0,le.Z)(((e,t)=>{const n=12;switch(e.key){case"ArrowUp":_((n+t-3)%n),e.preventDefault();break;case"ArrowDown":_((n+t+3)%n),e.preventDefault();break;case"ArrowLeft":_((n+t+("ltr"===N.direction?-1:1))%n),e.preventDefault();break;case"ArrowRight":_((n+t+("ltr"===N.direction?1:-1))%n),e.preventDefault()}})),J=(0,le.Z)(((e,t)=>{_(t)})),ee=(0,le.Z)(((e,t)=>{W===t&&Y(!1)}));return(0,P.jsx)(ht,(0,r.Z)({ref:t,className:(0,ie.Z)(j.root,i),ownerState:$,role:"radiogroup","aria-labelledby":I},O,{children:(0,g.SV)(E,null!=R?R:B).map((e=>{const t=E.getMonth(e),n=E.format(e,"monthShort"),r=E.format(e,"month"),o=t===H,a=d||K(e);return(0,P.jsx)(dt,{selected:o,value:t,onClick:X,onKeyDown:Q,autoFocus:G&&t===W,disabled:a,tabIndex:t===W?0:-1,onFocus:J,onBlur:ee,"aria-current":z===t?"date":void 0,"aria-label":r,monthsPerRow:T,children:n},n)}))}))}));function vt(e){return(0,F.Z)("MuiPickersYear",e)}const bt=(0,L.Z)("MuiPickersYear",["root","yearButton","selected","disabled"]),yt=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow"],wt=(0,R.ZP)("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(e,t)=>[t.root]})((({ownerState:e})=>({flexBasis:3===e.yearsPerRow?"33.3%":"25%",display:"flex",alignItems:"center",justifyContent:"center"}))),xt=(0,R.ZP)("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(e,t)=>[t.yearButton,{[`&.${bt.disabled}`]:t.disabled},{[`&.${bt.selected}`]:t.selected}]})((({theme:e})=>(0,r.Z)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})`:(0,Ce.Fq)(e.palette.action.active,e.palette.action.focusOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ce.Fq)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${bt.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${bt.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}}))),Ct=a.memo((function(e){const t=(0,s.Z)({props:e,name:"MuiPickersYear"}),{autoFocus:n,className:i,children:l,disabled:c,selected:u,value:d,tabIndex:p,onClick:m,onKeyDown:f,onFocus:h,onBlur:g,"aria-current":v}=t,b=(0,o.Z)(t,yt),y=a.useRef(null),w=(e=>{const{disabled:t,selected:n,classes:r}=e,o={root:["root"],yearButton:["yearButton",t&&"disabled",n&&"selected"]};return(0,V.Z)(o,vt,r)})(t);return a.useEffect((()=>{n&&y.current.focus()}),[n]),(0,P.jsx)(wt,(0,r.Z)({className:(0,ie.Z)(w.root,i),ownerState:t},b,{children:(0,P.jsx)(xt,{ref:y,disabled:c,type:"button",role:"radio",tabIndex:c?-1:p,"aria-current":v,"aria-checked":u,onClick:e=>m(e,d),onKeyDown:e=>f(e,d),onFocus:e=>h(e,d),onBlur:e=>g(e,d),className:w.yearButton,ownerState:t,children:l})}))}));function St(e){return(0,F.Z)("MuiYearCalendar",e)}(0,L.Z)("MuiYearCalendar",["root"]);const Pt=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsPerRow","timezone","gridLabelId"];const Zt=(0,R.ZP)("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:Y.Pl,maxHeight:Y.uK,boxSizing:"border-box",position:"relative"}),kt=a.forwardRef((function(e,t){const n=function(e,t){var n;const o=(0,w.nB)(),a=(0,w.PP)(),i=(0,s.Z)({props:e,name:t});return(0,r.Z)({disablePast:!1,disableFuture:!1},i,{yearsPerRow:null!=(n=i.yearsPerRow)?n:3,minDate:(0,g.US)(o,i.minDate,a.minDate),maxDate:(0,g.US)(o,i.maxDate,a.maxDate)})}(e,"MuiYearCalendar"),{autoFocus:i,className:l,value:c,defaultValue:u,referenceDate:d,disabled:m,disableFuture:f,disablePast:h,maxDate:v,minDate:b,onChange:y,readOnly:x,shouldDisableYear:C,disableHighlightToday:S,onYearFocus:Z,hasFocus:k,onFocusedViewChange:D,yearsPerRow:T,timezone:M,gridLabelId:I}=n,O=(0,o.Z)(n,Pt),{value:R,handleValueChange:A,timezone:F}=(0,mt.m)({name:"YearCalendar",timezone:M,value:c,defaultValue:u,onChange:y,valueManager:p.h}),L=(0,w.mX)(F),N=(0,at.Z)(),E=(0,w.nB)(),B=a.useMemo((()=>p.h.getInitialReferenceValue({value:R,utils:E,props:n,timezone:F,referenceDate:d,granularity:ue.Kn.year})),[]),$=n,j=(e=>{const{classes:t}=e;return(0,V.Z)({root:["root"]},St,t)})($),z=a.useMemo((()=>E.getYear(L)),[E,L]),H=a.useMemo((()=>null!=R?E.getYear(R):S?null:E.getYear(B)),[R,E,S,B]),[W,U]=a.useState((()=>H||z)),[G,q]=(0,be.Z)({name:"YearCalendar",state:"hasFocus",controlled:k,default:null!=i&&i}),Y=(0,le.Z)((e=>{q(e),D&&D(e)})),K=a.useCallback((e=>{if(h&&E.isBeforeYear(e,L))return!0;
54if(f&&E.isAfterYear(e,L))return!0;if(b&&E.isBeforeYear(e,b))return!0;if(v&&E.isAfterYear(e,v))return!0;if(!C)return!1;const t=E.startOfYear(e);return C(t)}),[f,h,v,b,L,C,E]),X=(0,le.Z)(((e,t)=>{if(x)return;const n=E.setYear(null!=R?R:B,t);A(n)})),_=(0,le.Z)((e=>{K(E.setYear(null!=R?R:B,e))||(U(e),Y(!0),null==Z||Z(e))}));a.useEffect((()=>{U((e=>null!==H&&e!==H?H:e))}),[H]);const Q=(0,le.Z)(((e,t)=>{switch(e.key){case"ArrowUp":_(t-T),e.preventDefault();break;case"ArrowDown":_(t+T),e.preventDefault();break;case"ArrowLeft":_(t+("ltr"===N.direction?-1:1)),e.preventDefault();break;case"ArrowRight":_(t+("ltr"===N.direction?1:-1)),e.preventDefault()}})),J=(0,le.Z)(((e,t)=>{_(t)})),ee=(0,le.Z)(((e,t)=>{W===t&&Y(!1)})),te=a.useRef(null),ne=(0,we.Z)(t,te);return a.useEffect((()=>{if(i||null===te.current)return;const e=te.current.querySelector('[tabindex="0"]');if(!e)return;const t=e.offsetHeight,n=e.offsetTop,r=te.current.clientHeight,o=te.current.scrollTop,a=n+t;t>r||n<o||(te.current.scrollTop=a-r/2-t/2)}),[i]),(0,P.jsx)(Zt,(0,r.Z)({ref:ne,className:(0,ie.Z)(j.root,l),ownerState:$,role:"radiogroup","aria-labelledby":I},O,{children:E.getYearRange(b,v).map((e=>{const t=E.getYear(e),n=t===H,r=m||K(e);return(0,P.jsx)(Ct,{selected:n,value:t,onClick:X,onKeyDown:Q,autoFocus:G&&t===W,disabled:r,tabIndex:t===W?0:-1,onFocus:J,onBlur:ee,"aria-current":z===t?"date":void 0,yearsPerRow:T,children:E.format(e,"year")},E.format(e,"year"))}))}))}));var Dt=n(29442),Tt=n(93946),Mt=n(16943);const It=e=>(0,F.Z)("MuiPickersCalendarHeader",e),Ot=(0,L.Z)("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]),Rt=["slots","slotProps","components","componentsProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone"],Vt=["ownerState"],At=(0,R.ZP)("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",alignItems:"center",marginTop:16,marginBottom:8,paddingLeft:24,paddingRight:12,maxHeight:30,minHeight:30}),Ft=(0,R.ZP)("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>(0,r.Z)({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},e.typography.body1,{fontWeight:e.typography.fontWeightMedium}))),Lt=(0,R.ZP)("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(e,t)=>t.label})({marginRight:6}),Nt=(0,R.ZP)(Tt.Z,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(e,t)=>t.switchViewButton})((({ownerState:e})=>(0,r.Z)({marginRight:"auto"},"year"===e.view&&{[`.${Ot.switchViewIcon}`]:{transform:"rotate(180deg)"}}))),Et=(0,R.ZP)(A.ch,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(e,t)=>t.switchViewIcon})((({theme:e})=>({willChange:"transform",transition:e.transitions.create("transform"),transform:"rotate(0deg)"}))),Bt=a.forwardRef((function(e,t){var n,a,i,l;const c=(0,w.og)(),u=(0,w.nB)(),d=(0,s.Z)({props:e,name:"MuiPickersCalendarHeader"}),{slots:p,slotProps:m,components:h,currentMonth:g,disabled:v,disableFuture:b,disablePast:y,maxDate:x,minDate:C,onMonthChange:S,onViewChange:Z,view:k,reduceAnimations:D,views:T,labelId:M,className:I,timezone:O}=d,R=(0,o.Z)(d,Rt),A=d,F=(e=>{const{classes:t}=e;return(0,V.Z)({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},It,t)})(d),L=null!=(n=null!=(a=null==p?void 0:p.switchViewButton)?a:null==h?void 0:h.SwitchViewButton)?n:Nt,N=(0,f.y)({elementType:L,externalSlotProps:null==m?void 0:m.switchViewButton,additionalProps:{size:"small","aria-label":c.calendarViewSwitchingButtonAriaLabel(k)},ownerState:A,className:F.switchViewButton}),E=null!=(i=null!=(l=null==p?void 0:p.switchViewIcon)?l:null==h?void 0:h.SwitchViewIcon)?i:Et,B=(0,f.y)({elementType:E,externalSlotProps:null==m?void 0:m.switchViewIcon,ownerState:void 0,className:F.switchViewIcon}),$=(0,o.Z)(B,Vt),j=(0,q.MS)(g,{disableFuture:b,maxDate:x,timezone:O}),z=(0,q.tw)(g,{disablePast:y,minDate:C,timezone:O});return 1===T.length&&"year"===T[0]?null:(0,P.jsxs)(At,(0,r.Z)({},R,{ownerState:A,className:(0,ie.Z)(I,F.root),ref:t,children:[(0,P.jsxs)(Ft,{role:"presentation",onClick:()=>
54{if(1!==T.length&&Z&&!v)if(2===T.length)Z(T.find((e=>e!==k))||T[0]);else{const e=0!==T.indexOf(k)?0:1;Z(T[e])}},ownerState:A,"aria-live":"polite",className:F.labelContainer,children:[(0,P.jsx)(ge,{reduceAnimations:D,transKey:u.format(g,"monthAndYear"),children:(0,P.jsx)(Lt,{id:M,ownerState:A,className:F.label,children:u.format(g,"monthAndYear")})}),T.length>1&&!v&&(0,P.jsx)(L,(0,r.Z)({},N,{children:(0,P.jsx)(E,(0,r.Z)({},$))}))]}),(0,P.jsx)(me.Z,{in:"day"===k,children:(0,P.jsx)(Mt.u,{slots:p,slotProps:m,onGoToPrevious:()=>S(u.addMonths(g,-1),"right"),isPreviousDisabled:z,previousLabel:c.previousMonth,onGoToNext:()=>S(u.addMonths(g,1),"left"),isNextDisabled:j,nextLabel:c.nextMonth})})]}))}));var $t=n(71545);const jt="undefined"!==typeof navigator&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),zt=jt&&jt[1]?parseInt(jt[1],10):null,Ht=jt&&jt[2]?parseInt(jt[2],10):null,Wt=zt&&zt<10||Ht&&Ht<13||!1,Ut=()=>(0,i.Z)("@media (prefers-reduced-motion: reduce)",{defaultMatches:!1})||Wt,Gt=e=>(0,F.Z)("MuiDateCalendar",e),qt=((0,L.Z)("MuiDateCalendar",["root","viewTransitionContainer"]),["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","defaultCalendarMonth","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","components","componentsProps","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsPerRow","monthsPerRow","timezone"]);const Yt=(0,R.ZP)($t.Z,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",height:Y.BR}),Kt=(0,R.ZP)(ge,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(e,t)=>t.viewTransitionContainer})({}),Xt=a.forwardRef((function(e,t){var n,i,l;const c=(0,w.nB)(),u=(0,se.Z)(),d=function(e,t){var n,o,a,i,l,c,u;const d=(0,w.nB)(),p=(0,w.PP)(),m=Ut(),f=(0,s.Z)({props:e,name:t});return(0,r.Z)({},f,{loading:null!=(n=f.loading)&&n,disablePast:null!=(o=f.disablePast)&&o,disableFuture:null!=(a=f.disableFuture)&&a,openTo:null!=(i=f.openTo)?i:"day",views:null!=(l=f.views)?l:["year","day"],reduceAnimations:null!=(c=f.reduceAnimations)?c:m,renderLoading:null!=(u=f.renderLoading)?u:()=>(0,P.jsx)("span",{children:"..."}),minDate:(0,g.US)(d,f.minDate,p.minDate),maxDate:(0,g.US)(d,f.maxDate,p.maxDate)})}(e,"MuiDateCalendar"),{autoFocus:m,onViewChange:h,value:v,defaultValue:b,referenceDate:y,disableFuture:x,disablePast:C,defaultCalendarMonth:S,onChange:Z,onYearChange:k,onMonthChange:D,reduceAnimations:T,shouldDisableDate:M,shouldDisableMonth:I,shouldDisableYear:O,view:R,views:A,openTo:F,className:L,disabled:N,readOnly:E,minDate:B,maxDate:$,disableHighlightToday:j,focusedView:z,onFocusedViewChange:H,showDaysOutsideCurrentMonth:W,fixedWeekNumber:U,dayOfWeekFormatter:G,components:q,componentsProps:Y,slots:K,slotProps:X,loading:_,renderLoading:Q,displayWeekNumber:J,yearsPerRow:ee,monthsPerRow:te,timezone:ne}=d,re=(0,o.Z)(d,qt),{value:oe,handleValueChange:ae,timezone:ce}=(0,mt.m)({name:"DateCalendar",timezone:ne,value:v,defaultValue:b,onChange:Z,valueManager:p.h}),{view:ue,setView:pe,focusedView:me,setFocusedView:fe,goToNextView:he,setValueAndGoToNextView:ge}=(0,Dt.B)({view:R,views:A,openTo:F,onChange:ae,onViewChange:h,autoFocus:m,focusedView:z,onFocusedViewChange:H}),{referenceDate:ve,calendarState:be,changeFocusedDay:ye,changeMonth:we,handleChangeMonth:xe,isDateDisabled:Ce,onMonthSwitchingAnimationEnd:Se}=de({value:oe,defaultCalendarMonth:S,referenceDate:y,reduceAnimations:T,onMonthChange:D,minDate:B,maxDate:$,shouldDisableDate:M,disablePast:C,disableFuture:x,timezone:ce}),Pe=N&&oe||B,Ze=N&&oe||$,ke=`${u}-grid-label`,De=null!==me,Te=null!=(n=null!=(i=null==K?void 0:K.calendarHeader)?i:null==q?void 0:q.CalendarHeader)?n:Bt,Me=(0,f.y)({elementType:Te,externalSlotProps:null!=(l=null==X?void 0:X.calendarHeader)?l:null==Y?void 0:Y.calendarHeader,additionalProps:{views:A,view:ue,currentMonth:be.currentMonth,onViewChange:pe,onMonthChange:(e,t)=>
54xe({newMonth:e,direction:t}),minDate:Pe,maxDate:Ze,disabled:N,disablePast:C,disableFuture:x,reduceAnimations:T,timezone:ce,labelId:ke,slots:K,slotProps:X},ownerState:d}),Ie=(0,le.Z)((e=>{const t=c.startOfMonth(e),n=c.endOfMonth(e),r=Ce(e)?(0,g.xP)({utils:c,date:e,minDate:c.isBefore(B,t)?t:B,maxDate:c.isAfter($,n)?n:$,disablePast:C,disableFuture:x,isDateDisabled:Ce,timezone:ce}):e;r?(ge(r,"finish"),null==D||D(t)):(he(),we(t)),ye(r,!0)})),Oe=(0,le.Z)((e=>{const t=c.startOfYear(e),n=c.endOfYear(e),r=Ce(e)?(0,g.xP)({utils:c,date:e,minDate:c.isBefore(B,t)?t:B,maxDate:c.isAfter($,n)?n:$,disablePast:C,disableFuture:x,isDateDisabled:Ce,timezone:ce}):e;r?(ge(r,"finish"),null==k||k(r)):(he(),we(t)),ye(r,!0)})),Re=(0,le.Z)((e=>ae(e?(0,g.zu)(c,e,null!=oe?oe:ve):e,"finish")));a.useEffect((()=>{null!=oe&&c.isValid(oe)&&we(oe)}),[oe]);const Ve=d,Ae=(e=>{const{classes:t}=e;return(0,V.Z)({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},Gt,t)})(Ve),Fe={disablePast:C,disableFuture:x,maxDate:$,minDate:B},Le={disableHighlightToday:j,readOnly:E,disabled:N,timezone:ce,gridLabelId:ke},Ne=a.useRef(ue);a.useEffect((()=>{Ne.current!==ue&&(me===Ne.current&&fe(ue,!0),Ne.current=ue)}),[me,fe,ue]);const Ee=a.useMemo((()=>[oe]),[oe]);return(0,P.jsxs)(Yt,(0,r.Z)({ref:t,className:(0,ie.Z)(Ae.root,L),ownerState:Ve},re,{children:[(0,P.jsx)(Te,(0,r.Z)({},Me)),(0,P.jsx)(Kt,{reduceAnimations:T,className:Ae.viewTransitionContainer,transKey:ue,ownerState:Ve,children:(0,P.jsxs)("div",{children:["year"===ue&&(0,P.jsx)(kt,(0,r.Z)({},Fe,Le,{value:oe,onChange:Oe,shouldDisableYear:O,hasFocus:De,onFocusedViewChange:e=>fe("year",e),yearsPerRow:ee,referenceDate:ve})),"month"===ue&&(0,P.jsx)(gt,(0,r.Z)({},Fe,Le,{hasFocus:De,className:L,value:oe,onChange:Ie,shouldDisableMonth:I,onFocusedViewChange:e=>fe("month",e),monthsPerRow:te,referenceDate:ve})),"day"===ue&&(0,P.jsx)(ot,(0,r.Z)({},be,Fe,Le,{onMonthSwitchingAnimationEnd:Se,onFocusedDayChange:ye,reduceAnimations:T,selectedDays:Ee,onSelectedDaysChange:Re,shouldDisableDate:M,shouldDisableMonth:I,shouldDisableYear:O,hasFocus:De,onFocusedViewChange:e=>fe("day",e),showDaysOutsideCurrentMonth:W,fixedWeekNumber:U,dayOfWeekFormatter:G,displayWeekNumber:J,components:q,componentsProps:Y,slots:K,slotProps:X,loading:_,renderLoading:Q}))]})})]}))})),_t=({view:e,onViewChange:t,views:n,focusedView:r,onFocusedViewChange:o,value:a,defaultValue:i,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:p,minDate:m,maxDate:f,shouldDisableDate:h,shouldDisableMonth:v,shouldDisableYear:b,reduceAnimations:y,onMonthChange:w,monthsPerRow:x,onYearChange:C,yearsPerRow:S,defaultCalendarMonth:Z,components:k,componentsProps:D,slots:T,slotProps:M,loading:I,renderLoading:O,disableHighlightToday:R,readOnly:V,disabled:A,showDaysOutsideCurrentMonth:F,dayOfWeekFormatter:L,sx:N,autoFocus:E,fixedWeekNumber:B,displayWeekNumber:$,timezone:j})=>(0,P.jsx)(Xt,{view:e,onViewChange:t,views:n.filter(g.Fb),focusedView:r&&(0,g.Fb)(r)?r:null,onFocusedViewChange:o,value:a,defaultValue:i,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:p,minDate:m,maxDate:f,shouldDisableDate:h,shouldDisableMonth:v,shouldDisableYear:b,reduceAnimations:y,onMonthChange:w,monthsPerRow:x,onYearChange:C,yearsPerRow:S,defaultCalendarMonth:Z,components:k,componentsProps:D,slots:T,slotProps:M,loading:I,renderLoading:O,disableHighlightToday:R,readOnly:V,disabled:A,showDaysOutsideCurrentMonth:F,dayOfWeekFormatter:L,sx:N,autoFocus:E,fixedWeekNumber:B,displayWeekNumber:$,timezone:j});var Qt=n(67720),Jt=n(10514);const en=(0,R.ZP)("div")({display:"flex",margin:"0 auto"});var tn=n(74734),nn=n(10135),rn=n(35514);const on=({view:e,onViewChange:t,views:n,focusedView:o,onFocusedViewChange:i,value:s,defaultValue:l,referenceDate:c,onChange:d,className:p,classes:m,disableFuture:f,disablePast:h,minDate:v,minTime:b,maxDate:y,maxTime:w,shouldDisableDate:x,shouldDisableMonth:C,shouldDisableYear:S,shouldDisableTime:Z,shouldDisableClock:k,reduceAnimations:D,minutesStep:T,ampm:M,onMonthChange:I,monthsPerRow:O,onYearChange:R,yearsPerRow:V,defaultCalendarMonth:A,components:F,componentsProps:L,slots:N,slotProps:E,loading:B,renderLoading:$,disableHighlightToday:j,readOnly:z,disabled:H,showDaysOutsideCurrentMonth:W,dayOfWeekFormatter:U,sx:G,autoFocus:q,fixedWeekNumber:K,displayWeekNumber:X,timezone:_,disableIgnoringDatePartForTimeValidation:Q,timeSteps:J,skipDisabled:ee,timeViewsCount:te,shouldRenderTimeInASingleColumn:ne})=>{var re,oe;const ae=!(null==(re=(0,u.x)(null!=(oe=null==E?void 0:E.actionBar)?oe:null==L?void 0:L.actionBar,{}))||null==(re=re.actions)||!re.length),ie={view:(0,tn.SZ)(e)?e:"hours",onViewChange:t,focusedView:o&&(0,tn.SZ)(o)?o:null,onFocusedViewChange:i,views:n.filter(tn.SZ),value:s,defaultValue:l,referenceDate:c,onChange:d,className:p,classes:m,disableFuture:f,disablePast:h,minTime:b,maxTime:w,shouldDisableTime:Z,shouldDisableClock:k,minutesStep:T,ampm:M,c
54omponents:F,componentsProps:L,slots:N,slotProps:E,readOnly:z,disabled:H,autoFocus:q,disableIgnoringDatePartForTimeValidation:Q,timeSteps:J,skipDisabled:ee,timezone:_};return(0,P.jsxs)(a.Fragment,{children:[(0,P.jsxs)(en,{children:[(0,P.jsx)(Xt,{view:(0,g.Fb)(e)?e:"day",onViewChange:t,views:n.filter(g.Fb),focusedView:o&&(0,g.Fb)(o)?o:null,onFocusedViewChange:i,value:s,defaultValue:l,referenceDate:c,onChange:d,className:p,classes:m,disableFuture:f,disablePast:h,minDate:v,maxDate:y,shouldDisableDate:x,shouldDisableMonth:C,shouldDisableYear:S,reduceAnimations:D,onMonthChange:I,monthsPerRow:O,onYearChange:R,yearsPerRow:V,defaultCalendarMonth:A,components:F,componentsProps:L,slots:N,slotProps:E,loading:B,renderLoading:$,disableHighlightToday:j,readOnly:z,disabled:H,showDaysOutsideCurrentMonth:W,dayOfWeekFormatter:U,sx:G,autoFocus:q,fixedWeekNumber:K,displayWeekNumber:X,timezone:_}),te>0&&(0,P.jsxs)(a.Fragment,{children:[(0,P.jsx)(Qt.Z,{orientation:"vertical"}),ne?(0,nn.Yi)((0,r.Z)({},ie,{view:"hours",views:["hours"],focusedView:o&&(0,tn.SZ)(o)?"hours":null,sx:(0,r.Z)({width:"auto",[`&.${rn.t.root}`]:{maxHeight:Y.BR}},Array.isArray(G)?G:[G])})):(0,nn.tz)((0,r.Z)({},ie,{view:(0,tn.SZ)(e)?e:"hours",views:n.filter(tn.SZ),focusedView:o&&(0,tn.SZ)(o)?o:null,sx:(0,r.Z)({borderBottom:0,width:"auto",[`.${Jt.h.root}`]:{maxHeight:"100%"}},Array.isArray(G)?G:[G])}))]})]}),ae&&(0,P.jsx)(Qt.Z,{})]})};var an=n(87109),sn=n(96514),ln=n(90629),cn=n(48831),un=n(93470),dn=n(82690);function pn(e){return(0,F.Z)("MuiPickersPopper",e)}(0,L.Z)("MuiPickersPopper",["root","paper"]);var mn=n(43530);const fn=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],hn=(0,R.ZP)(cn.Z,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({zIndex:e.zIndex.modal}))),gn=(0,R.ZP)(ln.Z,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({ownerState:e})=>(0,r.Z)({outline:0,transformOrigin:"top center"},e.placement.includes("top")&&{transformOrigin:"bottom center"})));const vn=a.forwardRef(((e,t)=>{const{PaperComponent:n,popperPlacement:a,ownerState:i,children:s,paperSlotProps:l,paperClasses:c,onPaperClick:u,onPaperTouchStart:d}=e,p=(0,o.Z)(e,fn),m=(0,r.Z)({},i,{placement:a}),h=(0,f.y)({elementType:n,externalSlotProps:l,additionalProps:{tabIndex:-1,elevation:8,ref:t},className:c,ownerState:m});return(0,P.jsx)(n,(0,r.Z)({},p,h,{onClick:e=>{var t;u(e),null==(t=h.onClick)||t.call(h,e)},onTouchStart:e=>{var t;d(e),null==(t=h.onTouchStart)||t.call(h,e)},ownerState:m,children:s}))}));function bn(e){var t,n,o,i;const l=(0,s.Z)({props:e,name:"MuiPickersPopper"}),{anchorEl:c,children:u,containerRef:d=null,shouldRestoreFocus:p,onBlur:m,onDismiss:h,open:g,role:v,placement:b,slots:y,slotProps:w,reduceAnimations:x}=l;a.useEffect((()=>{function e(e){!g||"Escape"!==e.key&&"Esc"!==e.key||h()}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[h,g]);const C=a.useRef(null);a.useEffect((()=>{"tooltip"===v||p&&!p()||(g?C.current=(0,mn.vY)(document):C.current&&C.current instanceof HTMLElement&&setTimeout((()=>{C.current instanceof HTMLElement&&C.current.focus()})))}),[g,v,p]);const[S,Z,k]=function(e,t){const n=a.useRef(!1),r=a.useRef(!1),o=a.useRef(null),i=a.useRef(!1);a.useEffect((()=>{if(e)return document.addEventListener("mousedown",t,!0),document.addEventListener("touchstart",t,!0),()=>{document.removeEventListener("mousedown",t,!0),document.removeEventListener("touchstart",t,!0),i.current=!1};function t(){i.current=!0}}),[e]);const s=(0,le.Z)((e=>{if(!i.current)return;const a=r.current;r.current=!1;const s=(0,dn.Z)(o.current);if(!o.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,s))return;if(n.current)return void(n.current=!1);let l;l=e.composedPath?e.composedPath().indexOf(o.current)>-1:!s.documentElement.contains(e.target)||o.current.contains(e.target),l||a||t(e)})),l=()=>{r.current=!0};return a.useEffect((()=>{if(e){const e=(0,dn.Z)(o.current),t=()=>{n.current=!0};return e.addEventListener("touchstart",s),e.addEventListener("touchmove",t),()=>{e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",t)}}}),[e,s]),a.useEffect((()=>
54{if(e){const e=(0,dn.Z)(o.current);return e.addEventListener("click",s),()=>{e.removeEventListener("click",s),r.current=!1}}}),[e,s]),[o,l,l]}(g,null!=m?m:h),D=a.useRef(null),T=(0,we.Z)(D,d),M=(0,we.Z)(T,S),I=l,O=(e=>{const{classes:t}=e;return(0,V.Z)({root:["root"],paper:["paper"]},pn,t)})(I),R=Ut(),A=null!=x?x:R,F=(null!=(t=null==y?void 0:y.desktopTransition)?t:A)?me.Z:sn.Z,L=null!=(n=null==y?void 0:y.desktopTrapFocus)?n:un.i,N=null!=(o=null==y?void 0:y.desktopPaper)?o:gn,E=null!=(i=null==y?void 0:y.popper)?i:hn,B=(0,f.y)({elementType:E,externalSlotProps:null==w?void 0:w.popper,additionalProps:{transition:!0,role:v,open:g,anchorEl:c,placement:b,onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),h())}},className:O.root,ownerState:l});return(0,P.jsx)(E,(0,r.Z)({},B,{children:({TransitionProps:e,placement:t})=>(0,P.jsx)(L,(0,r.Z)({open:g,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:"tooltip"===v,isEnabled:()=>!0},null==w?void 0:w.desktopTrapFocus,{children:(0,P.jsx)(F,(0,r.Z)({},e,null==w?void 0:w.desktopTransition,{children:(0,P.jsx)(vn,{PaperComponent:N,ownerState:I,popperPlacement:t,ref:M,onPaperClick:Z,onPaperTouchStart:k,paperClasses:O.paper,paperSlotProps:null==w?void 0:w.desktopPaper,children:u})}))}))}))}var yn=n(11837),wn=n(50720),xn=n(69251);const Cn=["props","getOpenDialogAriaText"],Sn=["ownerState"],Pn=["ownerState"];var Zn=n(35700);const kn=["views","format"],Dn=(e,t)=>{let{views:n,format:a}=t,i=(0,o.Z)(t,kn);if(a)return a;const s=[],l=[];if(n.forEach((e=>{(0,tn.Is)(e)?l.push(e):s.push(e)})),0===l.length)return(0,g.iB)(e,(0,r.Z)({views:s},i),!1);if(0===s.length)return(0,tn.l9)(e,(0,r.Z)({views:l},i));const c=(0,tn.l9)(e,(0,r.Z)({views:l},i));return`${(0,g.iB)(e,(0,r.Z)({views:s},i),!1)} ${c}`},Tn=(e,t,n)=>n?t.filter((e=>!(0,tn.SZ)(e)||"hours"===e)):e?[...t,"meridiem"]:t;const Mn=a.forwardRef((function(e,t){var n,i,s,l,c,d,m;const h=(0,w.og)(),g=(0,w.nB)(),v=ae(e,"MuiDesktopDateTimePicker"),{shouldRenderTimeInASingleColumn:b,thresholdToRenderTimeInASingleColumn:x,views:C,timeSteps:S}=function({thresholdToRenderTimeInASingleColumn:e,ampm:t,timeSteps:n,views:o}){const a=null!=e?e:24,i=(0,r.Z)({hours:1,minutes:5,seconds:5},n),s=((e,t)=>{var n,r;return 1440/((null!=(n=e.hours)?n:1)*(null!=(r=e.minutes)?r:5))<=t})(i,a);return{thresholdToRenderTimeInASingleColumn:a,timeSteps:i,shouldRenderTimeInASingleColumn:s,views:Tn(t,o,s)}}(v),Z=!v.viewRenderers||0===Object.keys(v.viewRenderers).length,k=Z?{day:on,month:on,year:on,hours:on,minutes:on,seconds:on,meridiem:on}:(0,r.Z)({day:_t,month:_t,year:_t,hours:null,minutes:null,seconds:null,meridiem:null},v.viewRenderers),D=null==(n=v.ampmInClock)||n,M=Z?["accept"]:[],I=(0,r.Z)({},v,{viewRenderers:k,format:Dn(g,v),views:C,yearsPerRow:null!=(i=v.yearsPerRow)?i:4,ampmInClock:D,timeSteps:S,thresholdToRenderTimeInASingleColumn:x,shouldRenderTimeInASingleColumn:b,slots:(0,r.Z)({field:T,openPickerIcon:A.Qu},v.slots),slotProps:(0,r.Z)({},v.slotProps,{field:e=>{var n;return(0,r.Z)({},(0,u.x)(null==(n=v.slotProps)?void 0:n.field,e),(0,Zn.f_)(v),{ref:t})},toolbar:(0,r.Z)({hidden:!0,ampmInClock:D,toolbarVariant:Z?"desktop":"mobile"},null==(s=v.slotProps)?void 0:s.toolbar),tabs:(0,r.Z)({hidden:!0},null==(l=v.slotProps)?void 0:l.tabs),actionBar:(0,r.Z)({actions:M},null==(c=v.slotProps)?void 0:c.actionBar)})}),{renderPicker:O}=(e=>{var t,n,i,s,l;let{props:c,getOpenDialogAriaText:u}=e,d=(0,o.Z)(e,Cn);const{slots:p,slotProps:m,className:h,sx:g,format:v,formatDensity:b,timezone:y,name:x,label:C,inputRef:S,readOnly:Z,disabled:k,autoFocus:D,localeText:T,reduceAnimations:M}=c,I=(0,w.nB)(),O=a.useRef(null),R=a.useRef(null),V=(0,se.Z)(),A=null!=(t=null==m||null==(n=m.toolbar)?void 0:n.hidden)&&t,{open:F,actions:L,hasUIView:N,layoutProps:E,renderCurrentView:B,shouldRestoreFocus:$,fieldProps:j}=(0,yn.Q)((0,r.Z)({},d,{props:c,inputRef:O,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),z=null!=(i=p.inputAdornment)?i:an.Z,H=(0,f.y)({elementType:z,externalSlotProps:null==m?void 0:m.inputAdornment,additionalProps:{position:"end"},ownerState:c}),W=(0,o.Z)(H,Sn),U=null!=(s=p.openPickerButton)?s:Tt.Z,G=(0,f.y)({elementType:U,externalSlotProps:null==m?void 0:m.openPickerButton,additionalProps:{disabled:k||Z,onClick:F?L.onClose:L.onOpen,"aria-label":u(j.value,I),edge:W.position},ownerState:c}),q=(0,o.Z)(G,Pn),Y=p.openPickerIcon,K=p.field,X=(0,f.y)({elementType:K,externalSlotProps:null==m?void 0:m.field,additionalProps:(0,r.Z)({},j,A&&{id:V},{readOnly:Z,disabled:k,className:h,sx:g,format:v,formatDensity:b,timezone:y,label:C,name:x,autoFocus:D&&!c.open,focused:!!F||void 0}),ownerState:c});N&&(X.InputProps=(0,r.Z)({},X.InputProps,{ref:R,[`${W.position}Adornment`]:(0,P.jsx)(z,(0,r.Z)({},W,{children:(0,P.jsx)(U,(0,r.Z)({},q,{children:(0,P.jsx)(Y,(0,r.Z)({},null==m?void 0:m.openPickerIcon))}))}))}));const _=(0,r.Z)({textField:p.textField,clearIcon:p.clearIcon,clearButton:p.clearButton},X.slots),Q=null!=(l=p.layout)?l:xn.ce,J=(0,we.Z)(O,X.inputRef,S);let ee=V;A&&(ee=C?`${V}-label`:void 0);const te=(0,r.Z)({},m,{toolbar:(0,r.Z)({},null==m?void 0:m.toolbar,{titleId:V}),popper:(0,r.Z)({"aria-labelledby":ee},null==m?void 0:m.popper)});return{renderPicker:()=>(0,P.jsxs)(wn._,{localeText:T,children:[(0,P.jsx)(K,(0,r.Z)({},X,{slots:_,slotProps:te,inputRef:J})),(0,P.jsx)(bn,(0,r.Z)({role:"dialog",placement:"bottom-start",anchorEl:R.current},L,{open:F,slots:p,slotProps:te,shouldRestoreFocus:$,reduceAnimations:M,children:(0,P.jsx)(Q,(0,r.Z)({},E,null==te?void 0:te.layout,{slots:p,slotProps:te,children:B()}))}))]})}})({props:I,valueManager:p.h,valueType:"date-time",getOpenDialogAriaText:null!=(d=null==(m=I.localeText)?void 0:m.openDatePickerDialogue)?d:h.openDatePickerDialogue,validator:y});return O()}));Mn.propTypes={ampm:c().bool,ampmInClock:c().bool,autoFocus:c().bool,className:c().string,closeOnSelect:c().bool,components:c().object,componentsProps:c().object,dayOfWeekFormatter:c().func,defaultCalendarMonth:c().any,defaultValue:c().any,disabled:c().bool,disableFuture:c().bool,disableHighlightToday:c().bool,disableIgnoringDatePartForTimeValidation:c().bool,disableOpenPicker:c().bool,disablePast:c().bool,displayWeekNumber:c().bool,fixedWeekNumber:c().number,format:c().string,formatDensity:c().oneOf(["dense","spacious"]),inputRef:d.Z,label:c().node,loading:c().bool,localeText:c().object,maxDate:c().any,maxDateTime:c().any,maxTime:c().any,minDate:c().any,minDateTime:c().any,minTime:c().any,minutesStep:c().number,monthsPerRow:c().oneOf([3,4]),name:c().string,onAccept:c().func,onChange:c().func,onClose:c().func,onError:c().func,onMonthChange:c().func,onOpen:c().func,onSelectedSectionsChange:c().func,onViewChange:c().func,onYearChange:c().func,open:c().bool,openTo:c().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:c().oneOf(["landscape","portrait"]),readOnly:c().bool,reduceAnimations:c().bool,referenceDate:c().any,renderLoading:c().func,selectedSections:c().oneOfType([c().oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),c().number,c().shape({endIndex:c().number.isRequired,startIndex:c().number.isRequired})]),shouldDisableClock:c().func,shouldDisableDate:c().func,shouldDisableMonth:c().func,shouldDisableTime:c().func,shouldDisableYear:c().func,showDaysOutsideCurrentMonth:c().bool,ski
54pDisabled:c().bool,slotProps:c().object,slots:c().object,sx:c().oneOfType([c().arrayOf(c().oneOfType([c().func,c().object,c().bool])),c().func,c().object]),thresholdToRenderTimeInASingleColumn:c().number,timeSteps:c().shape({hours:c().number,minutes:c().number,seconds:c().number}),timezone:c().string,value:c().any,view:c().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:c().shape({day:c().func,hours:c().func,meridiem:c().func,minutes:c().func,month:c().func,seconds:c().func,year:c().func}),views:c().arrayOf(c().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:c().oneOf([3,4])};var In=n(43986);const On=a.forwardRef((function(e,t){var n,o,a,i,s;const l=(0,w.og)(),c=(0,w.nB)(),d=ae(e,"MuiMobileDateTimePicker"),m=(0,r.Z)({day:_t,month:_t,year:_t,hours:nn.M6,minutes:nn.M6,seconds:nn.M6},d.viewRenderers),f=null!=(n=d.ampmInClock)&&n,h=(0,r.Z)({},d,{viewRenderers:m,format:Dn(c,d),ampmInClock:f,slots:(0,r.Z)({field:T},d.slots),slotProps:(0,r.Z)({},d.slotProps,{field:e=>{var n;return(0,r.Z)({},(0,u.x)(null==(n=d.slotProps)?void 0:n.field,e),(0,Zn.f_)(d),{ref:t})},toolbar:(0,r.Z)({hidden:!1,ampmInClock:f},null==(o=d.slotProps)?void 0:o.toolbar),tabs:(0,r.Z)({hidden:!1},null==(a=d.slotProps)?void 0:a.tabs)})}),{renderPicker:g}=(0,In.s)({props:h,valueManager:p.h,valueType:"date-time",getOpenDialogAriaText:null!=(i=null==(s=h.localeText)?void 0:s.openDatePickerDialogue)?i:l.openDatePickerDialogue,validator:y});return g()}));On.propTypes={ampm:c().bool,ampmInClock:c().bool,autoFocus:c().bool,className:c().string,closeOnSelect:c().bool,components:c().object,componentsProps:c().object,dayOfWeekFormatter:c().func,defaultCalendarMonth:c().any,defaultValue:c().any,disabled:c().bool,disableFuture:c().bool,disableHighlightToday:c().bool,disableIgnoringDatePartForTimeValidation:c().bool,disableOpenPicker:c().bool,disablePast:c().bool,displayWeekNumber:c().bool,fixedWeekNumber:c().number,format:c().string,formatDensity:c().oneOf(["dense","spacious"]),inputRef:d.Z,label:c().node,loading:c().bool,localeText:c().object,maxDate:c().any,maxDateTime:c().any,maxTime:c().any,minDate:c().any,minDateTime:c().any,minTime:c().any,minutesStep:c().number,monthsPerRow:c().oneOf([3,4]),name:c().string,onAccept:c().func,onChange:c().func,onClose:c().func,onError:c().func,onMonthChange:c().func,onOpen:c().func,onSelectedSectionsChange:c().func,onViewChange:c().func,onYearChange:c().func,open:c().bool,openTo:c().oneOf(["day","hours","minutes","month","seconds","year"]),orientation:c().oneOf(["landscape","portrait"]),readOnly:c().bool,reduceAnimations:c().bool,referenceDate:c().any,renderLoading:c().func,selectedSections:c().oneOfType([c().oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),c().number,c().shape({endIndex:c().number.isRequired,startIndex:c().number.isRequired})]),shouldDisableClock:c().func,shouldDisableDate:c().func,shouldDisableMonth:c().func,shouldDisableTime:c().func,shouldDisableYear:c().func,showDaysOutsideCurrentMonth:c().bool,slotProps:c().object,slots:c().object,sx:c().oneOfType([c().arrayOf(c().oneOfType([c().func,c().object,c().bool])),c().func,c().object]),timezone:c().string,value:c().any,view:c().oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:c().shape({day:c().func,hours:c().func,minutes:c().func,month:c().func,seconds:c().func,year:c().func}),views:c().arrayOf(c().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:c().oneOf([3,4])};const Rn=["desktopModeMediaQuery"],Vn=a.forwardRef((function(e,t){const n=(0,s.Z)({props:e,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:a=mn.Hr}=n,l=(0,o.Z)(n,Rn);return(0,i.Z)(a,{defaultMatches:!0})?(0,P.jsx)(Mn,(0,r.Z)({ref:t},l)):(0,P.jsx)(On,(0,r.Z)({ref:t},l))}))},35514:function(e,t,n){n.d(t,{t:function(){return a},w:function(){return o}});var r=n(34867);function o(e){return(0,r.Z)("MuiDigitalClock",e)}const a=(0,n(1588).Z)("MuiDigitalClock",["root","list","item"])},58833:function(e,t,n){n.d(t,{d:function(){return K}});var r=n(87462),o=n(67294),a=n(45697),i=n.n(a),s=n(71276),l=n(89932),c=n(55071),u=n(63366),d=n(50135),p=n(71657),m=n(24349),f=n(41749),h=n(23916),g=n(48865),v=n(25372);const b=({props:e,inputRef:t})=>{const n=(e=>{var t,n,o,a;const i=(0,g.nB)(),s=(null!=(t=e.ampm)?t:i.is12HourCycleInCurrentLocale())?i.formats.fullTime12h:i.formats.fullTime24h;return(0,r.Z)({},e,{disablePast:null!=(n=e.disablePast)&&n,disableFuture:null!=(o=e.disableFuture)&&o,format:null!=(a=e.format)?a:s})})(e),{forwardedProps:o,internalProps:a}=(0,v._)(n,"time");return(0,f.U)({inputRef:t,forwardedProps:o,internalProps:a,valueManager:c.h,fieldValueManager:c.a,validator:h.C,valueType:"time"})};var y=n(20283),w=n(85893);const x=["slots","slotProps","components","componentsProps","InputProps","inputProps"],C=["inputRef"],S=["ref","onPaste","onKeyDown","inputMode","readOnly","clearable","onClear"],P=o.forwardRef((function(e,t){var n,o,a;const i=(0,p.Z)({props:e,name:"MuiTimeField"}),{slots:s,slotProps:l,components:c,componentsProps:f,InputProps:h,inputProps:g}=i,v=(0,u.Z)(i,x),P=i,Z=null!=(n=null!=(o=null==s?void 0:s.textField)?o:null==c?void 0:c.TextField)?n:d.Z,k=(0,m.y)({elementType:Z,externalSlotProps:null!=(a=null==l?void 0:l.textField)?a:null==f?void 0:f.textField,externalForwardedProps:v,ownerState:P}),{inputRef:D}=k,T=(0,u.Z)(k,C);T.inputProps=(0,r.Z)({},g,T.inputProps),T.InputProps=(0,r.Z)({},h,T.InputProps);const M=b({props:T,inputRef:D}),{ref:I,onPaste:O,onKeyDown:R,inputMode:V,readOnly:A,clearable:F,onClear:L}=M,N=(0,u.Z)(M,S),{InputProps:E,fieldProps:B}=(0,y.T)({onClear:L,clearable:F,fieldProps:N,InputProps:N.InputProps,slots:s,slotProps:l,components:c,componentsProps:f});return(0,w.jsx)(Z,(0,r.Z)({ref:t},B,{InputProps:(0,r.Z)({},E,{readOnly:A}),inputProps:(0,r.Z)({},N.inputProps,{inputMode:V,onPaste:O,onKeyDown:R,ref:I})}))}));var Z=n(90948),k=n(2734),D=n(94780),T=n(49502),M=n(61849),I=n(31914),O=n(43530),R=n(73207),V=n(34867);function A(e){return(0,V.Z)("MuiTimePickerToolbar",e)}const F=(0,n(1588).Z)("MuiTimePickerToolbar",["root","separator","hourMinuteLabel","hourMinuteLabelLandscape","hourMinuteLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]);var L=n(5535);const N=["ampm","ampmInClock","value","isLandscape","onChange","view","onViewChange","views","disabled","readOnly"],E=(0,Z.ZP)(I.e,{name:"MuiTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),B=(0,Z.ZP)(T.I,{name:"MuiTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({outline:0,margin:"0 4px 0 2px",cursor:"default"}),$=(0,Z.ZP)("div",{name:"MuiTimePickerToolbar",slot:"HourMinuteLabel",overridesResolver:(e,t)=>[{[`&.${F.hourMinuteLabelLandscape}`]:t.hourMinuteLabelLandscape,[`&.${F.hourMinuteLabelReverse}`]:t.hourMinuteLabelReverse},t.hourMinuteLabel]})((({theme:e,ownerState:t})=>(0,r.Z)({display:"flex",justifyContent:"flex-end",alignItems:"flex-end"},t.isLandscape&&{marginTop:"auto"},"rtl"===e.direction&&{flexDirection:"row-reverse"})));$.propTypes={as:i().elementType,ownerState:i().object.isRequired,sx:i().oneOfType([i().arrayOf(i().oneOfType([i().func,i().object,i().bool])),i().func,i().object])};const j=(0,Z.ZP)("div",{name:"MuiTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${F.ampmLabel}`]:t.ampmLabel},{[`&.${F.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})((({ownerState:e})=>(0,r.Z)({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12},e.isLandscape&&{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",flexBasis:"100%"},{[`& .${F.ampmLabel}`]:{fontSize:17}})));function z(e){const t=(0,p.Z)({props:e,name:"MuiTimePickerToolbar"}),{ampm:n,ampmInClock:o,value:a,isLandscape:i,onChange:s,view:l,onViewChange:c,views:d,disabled:m,readOnly:f}=t,h=(0,u.Z)(t,N),v=(0,g.nB)(),b=(0,g.og)(),y=(0,k.Z)(),x=Boolean(n&&!o&&d.includes("hours")),{meridiemMode:C,handleMeridiemChange:S}=(0,R.iC)(a,n,s),P=t,Z=(e=>{const{theme:t,isLandscape:n,classes:r}=e,o={root:["root"],separator:["separator"],hourMinuteLabel:["hourMinuteLabel",n&&"hourMinuteLabelLandscape","rtl"===t.direction&&"hourMinuteLabelReverse"],ampmSelection:["ampmSelection",n&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,D.Z)(o,A,r)}
54)((0,r.Z)({},P,{theme:y})),T=(0,w.jsx)(B,{tabIndex:-1,value:":",variant:"h3",selected:!1,className:Z.separator});return(0,w.jsxs)(E,(0,r.Z)({landscapeDirection:"row",toolbarTitle:b.timePickerToolbarTitle,isLandscape:i,ownerState:P,className:Z.root},h,{children:[(0,w.jsxs)($,{className:Z.hourMinuteLabel,ownerState:P,children:[(0,O.kI)(d,"hours")&&(0,w.jsx)(M.c,{tabIndex:-1,variant:"h3",onClick:()=>c("hours"),selected:"hours"===l,value:a?(I=a,n?v.format(I,"hours12h"):v.format(I,"hours24h")):"--"}),(0,O.kI)(d,["hours","minutes"])&&T,(0,O.kI)(d,"minutes")&&(0,w.jsx)(M.c,{tabIndex:-1,variant:"h3",onClick:()=>c("minutes"),selected:"minutes"===l,value:a?v.format(a,"minutes"):"--"}),(0,O.kI)(d,["minutes","seconds"])&&T,(0,O.kI)(d,"seconds")&&(0,w.jsx)(M.c,{variant:"h3",onClick:()=>c("seconds"),selected:"seconds"===l,value:a?v.format(a,"seconds"):"--"})]}),x&&(0,w.jsxs)(j,{className:Z.ampmSelection,ownerState:P,children:[(0,w.jsx)(M.c,{disableRipple:!0,variant:"subtitle2",selected:"am"===C,typographyClassName:Z.ampmLabel,value:(0,L.lu)(v,"am"),onClick:f?void 0:()=>S("am"),disabled:m}),(0,w.jsx)(M.c,{disableRipple:!0,variant:"subtitle2",selected:"pm"===C,typographyClassName:Z.ampmLabel,value:(0,L.lu)(v,"pm"),onClick:f?void 0:()=>S("pm"),disabled:m})]})]}));var I}j.propTypes={as:i().elementType,ownerState:i().object.isRequired,sx:i().oneOfType([i().arrayOf(i().oneOfType([i().func,i().object,i().bool])),i().func,i().object])};var H=n(27495),W=n(9270);var U=n(43986),G=n(35700),q=n(10135),Y=n(74734);const K=o.forwardRef((function(e,t){var n,a,i,l;const u=(0,g.og)(),d=(0,g.nB)(),m=function(e,t){var n,a,i,s,l;const c=(0,g.nB)(),u=(0,p.Z)({props:e,name:t}),d=null!=(n=u.ampm)?n:c.is12HourCycleInCurrentLocale(),m=o.useMemo((()=>{var e;return null==(null==(e=u.localeText)?void 0:e.toolbarTitle)?u.localeText:(0,r.Z)({},u.localeText,{timePickerToolbarTitle:u.localeText.toolbarTitle})}),[u.localeText]),f=null!=(a=u.slots)?a:(0,W.S)(u.components),h=null!=(i=u.slotProps)?i:u.componentsProps;return(0,r.Z)({},u,{ampm:d,localeText:m},(0,H.d)({views:u.views,openTo:u.openTo,defaultViews:["hours","minutes"],defaultOpenTo:"hours"}),{disableFuture:null!=(s=u.disableFuture)&&s,disablePast:null!=(l=u.disablePast)&&l,slots:(0,r.Z)({toolbar:z},f),slotProps:(0,r.Z)({},h,{toolbar:(0,r.Z)({ampm:d,ampmInClock:u.ampmInClock},null==h?void 0:h.toolbar)})})}(e,"MuiMobileTimePicker"),f=(0,r.Z)({hours:q.M6,minutes:q.M6,seconds:q.M6},m.viewRenderers),v=null!=(n=m.ampmInClock)&&n,b=(0,r.Z)({},m,{ampmInClock:v,viewRenderers:f,format:(0,Y.l9)(d,m),slots:(0,r.Z)({field:P},m.slots),slotProps:(0,r.Z)({},m.slotProps,{field:e=>{var n;return(0,r.Z)({},(0,s.x)(null==(n=m.slotProps)?void 0:n.field,e),(0,G.f_)(m),{ref:t})},toolbar:(0,r.Z)({hidden:!1,ampmInClock:v},null==(a=m.slotProps)?void 0:a.toolbar)})}),{renderPicker:y}=(0,U.s)({props:b,valueManager:c.h,valueType:"time",getOpenDialogAriaText:null!=(i=null==(l=b.localeText)?void 0:l.openTimePickerDialogue)?i:u.openTimePickerDialogue,validator:h.C});return y()}));K.propTypes={ampm:i().bool,ampmInClock:i().bool,autoFocus:i().bool,className:i().string,closeOnSelect:i().bool,components:i().object,componentsProps:i().object,defaultValue:i().any,disabled:i().bool,disableFuture:i().bool,disableIgnoringDatePartForTimeValidation:i().bool,disableOpenPicker:i().bool,disablePast:i().bool,format:i().string,formatDensity:i().oneOf(["dense","spacious"]),inputRef:l.Z,label:i().node,localeText:i().object,maxTime:i().any,minTime:i().any,minutesStep:i().number,name:i().string,onAccept:i().func,onChange:i().func,onClose:i().func,onError:i().func,onOpen:i().func,onSelectedSectionsChange:i().func,onViewChange:i().func,open:i().bool,openTo:i().oneOf(["hours","minutes","seconds"]),orientation:i().oneOf(["landscape","portrait"]),readOnly:i().bool,reduceAnimations:i().bool,referenceDate:i().any,selectedSections:i().oneOfType([i().oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),i().number,i().shape({endIndex:i().number.isRequired,startIndex:i().number.isRequired})]),shouldDisableClock:i().func,shouldDisableTime:i().func,slotProps:i().object,slots:i().object,sx:i().oneOfType([i().arrayOf(i().oneOfType([i().func,i().object,i().bool])),i().func,i().object]),timezone:i().string,value:i().any,view:i().oneOf(["hours","minutes","seconds"]),viewRenderers:i().shape({hours:i().func,minutes:i().func,seconds:i().func}),views:i().arrayOf(i().oneOf(["hours","minutes","seconds"]).isRequired)}},10514:function(e,t,n){n.d(t,{h:function(){return a},o:function(){return o}});var r=n(34867);function o(e){return(0,r.Z)("MuiMultiSectionDigitalClockSection",e)}const a=(0,n(1588).Z)("MuiMultiSectionDigitalClockSection",["root","item"])},69251:function(e,t,n){n.d(t,{ce:function(){return V}});var r=n(67294),o=n(45697),a=n.n(o),i=n(90512),s=n(90948),l=n(71657),c=n(94780),u=n(34867);function d(e){return(0,u.Z)("MuiPickersLayout",e)}const p=(0,n(1588).Z)("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","shortcuts"]);var m=n(87462),f=n(24349),h=n(63366),g=n(69417),v=n(31425),b=n(48865),y=n(85893);const w=["onAccept","onClear","onCancel","onSetToday","actions"];function x(e){const{onAccept:t,onClear:n,onCancel:r,onSetToday:o,actions:a}=e,i=(0,h.Z)(e,w),s=(0,b.og)();if(null==a||0===a.length)return null;const l=null==a?void 0:a.map((e=>{switch(e){case"clear":return(0,y.jsx)(g.Z,{onClick:n,children:s.clearButtonLabel},e);case"cancel":return(0,y.jsx)(g.Z,{onClick:r,children:s.cancelButtonLabel},e);case"accept":return(0,y.jsx)(g.Z,{onClick:t,children:s.okButtonLabel},e);case"today":return(0,y.jsx)(g.Z,{onClick:o,children:s.todayButtonLabel},e);default:return null}}));return(0,y.jsx)(v.Z,(0,m.Z)({},i,{children:l}))}var C=n(78462),S=n(97212),P=n(87918),Z=n(67542);const k=["items","changeImportance","isLandscape","onChange","isValid"],D=["getValue"];function T(e){const{items:t,changeImportance:n,onChange:r,isValid:o}=e,a=(0,h.Z)(e,k);if(null==t||0===t.length)return null;const i=t.map((e=>{let{getValue:t}=e,a=(0,h.Z)(e,D);const i=t({isValid:o});return{label:a.label,onClick:()=>{r(i,n,a)},disabled:!o(i)}}));return(0,y.jsx)(C.Z,(0,m.Z)({dense:!0,sx:[{maxHeight:Z.BR,maxWidth:200,overflow:"auto"},...Array.isArray(a.sx)?a.sx:[a.sx]]},a,{children:i.map((e=>(0,y.jsx)(S.ZP,{children:(0,y.jsx)(P.Z,(0,m.Z)({},e))},e.label)))}))}var M=n(9270);var I=e=>{var t,n;const{wrapperVariant:r,onAccept:o,onClear:a,onCancel:i,onSetToday:s,view:l,views:u,onViewChange:p,value:h,onChange:g,onSelectShortcut:v,isValid:b,isLandscape:w,disabled:C,readOnly:S,children:P,components:Z,componentsProps:k,slots:D,slotProps:I}=e,O=null!=D?D:(0,M.S)(Z),R=null!=I?I:k,V=(e=>{const{classes:t,isLandscape:n}=e,r={root:["root",n&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]};return(0,c.Z)(r,d,t)})(e),A=null!=(t=null==O?void 0:O.actionBar)?t:x,F=(0,f.y)({elementType:A,externalSlotProps:null==R?void 0:R.actionBar,additionalProps:{onAccept:o,onClear:a,onCancel:i,onSetToday:s,actions:"desktop"===r?[]:["cancel","accept"],className:V.actionBar},ownerState:(0,m.Z)({},e,{wrapperVariant:r})}),L=(0,y.jsx)(A,(0,m.Z)({},F)),N=null==O?void 0:O.toolbar,E=(0,f.y)({elementType:N,externalSlotProps:null==R?void 0:R.toolbar,additionalProps:{isLandscape:w,onChange:g,value:h,view:l,onViewChange:p,views:u,disabled:C,readOnly:S,className:V.toolbar},ownerState:(0,m.Z)({},e,{wrapperVariant:r})}),B=function(e){return null!==e.view}(E)&&N?(0,y.jsx)(N,(0,m.Z)({},E)):null,$=P,j=null==O?void 0:O.tabs,z=l&&j?(0,y.jsx)(j,(0,m.Z)({view:l,onViewChange:p},null==R?void 0:R.tabs)):null,H=null!=(n=null==O?void 0:O.shortcuts)?n:T,W=(0,f.y)({elementType:H,externalSlotProps:null==R?void 0:R.shortcuts,additionalProps:{isValid:b,isLandscape:w,onChange:v,className:V.shortcuts},ownerState:{isValid:b,isLandscape:w,onChange:v,className:V.shortcuts,wrapperVariant:r}}
54);return{toolbar:B,content:$,tabs:z,actionBar:L,shortcuts:l&&H?(0,y.jsx)(H,(0,m.Z)({},W)):null}};const O=(0,s.ZP)("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>({display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",[`& .${p.toolbar}`]:t.isLandscape?{gridColumn:"rtl"===e.direction?3:1,gridRow:"2 / 3"}:{gridColumn:"2 / 4",gridRow:1},[`.${p.shortcuts}`]:t.isLandscape?{gridColumn:"2 / 4",gridRow:1}:{gridColumn:"rtl"===e.direction?3:1,gridRow:"2 / 3"},[`& .${p.actionBar}`]:{gridColumn:"1 / 4",gridRow:3}})));O.propTypes={as:a().elementType,ownerState:a().shape({isLandscape:a().bool.isRequired}).isRequired,sx:a().oneOfType([a().arrayOf(a().oneOfType([a().func,a().object,a().bool])),a().func,a().object])};const R=(0,s.ZP)("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(e,t)=>t.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),V=function(e){const t=(0,l.Z)({props:e,name:"MuiPickersLayout"}),{toolbar:n,content:o,tabs:a,actionBar:s,shortcuts:u}=I(t),{sx:p,className:m,isLandscape:f,ref:h,wrapperVariant:g}=t,v=t,b=(e=>{const{isLandscape:t,classes:n}=e,r={root:["root",t&&"landscape"],contentWrapper:["contentWrapper"]};return(0,c.Z)(r,d,n)})(v);return(0,y.jsxs)(O,{ref:h,sx:p,className:(0,i.Z)(m,b.root),ownerState:v,children:[f?u:n,f?n:u,(0,y.jsx)(R,{className:b.contentWrapper,children:"desktop"===g?(0,y.jsxs)(r.Fragment,{children:[o,a]}):(0,y.jsxs)(r.Fragment,{children:[a,o]})}),s]})}},20283:function(e,t,n){n.d(t,{T:function(){return m}});var r=n(87462),o=n(63366),a=n(67294),i=n(24349),s=n(93946),l=n(87109),c=n(83205),u=n(48865),d=n(85893);const p=["ownerState"],m=({clearable:e,fieldProps:t,InputProps:n,onClear:m,slots:f,slotProps:h,components:g,componentsProps:v})=>{var b,y,w,x,C,S;const P=(0,u.og)(),Z=null!=(b=null!=(y=null==f?void 0:f.clearButton)?y:null==g?void 0:g.ClearButton)?b:s.Z,k=(0,i.y)({elementType:Z,externalSlotProps:null!=(w=null==h?void 0:h.clearButton)?w:null==v?void 0:v.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:P.fieldClearLabel}}),D=(0,o.Z)(k,p),T=null!=(x=null!=(C=null==f?void 0:f.clearIcon)?C:null==g?void 0:g.ClearIcon)?x:c.Rk,M=(0,i.y)({elementType:T,externalSlotProps:null!=(S=null==h?void 0:h.clearIcon)?S:null==v?void 0:v.clearIcon,ownerState:{}});return{InputProps:(0,r.Z)({},n,{endAdornment:e?(0,d.jsxs)(a.Fragment,{children:[(0,d.jsx)(l.Z,{position:"end",sx:{marginRight:null!=n&&n.endAdornment?-1:-1.5},children:(0,d.jsx)(Z,(0,r.Z)({},D,{onClick:m,children:(0,d.jsx)(T,(0,r.Z)({fontSize:"small"},M))}))}),null==n?void 0:n.endAdornment]}):null==n?void 0:n.endAdornment}),fieldProps:(0,r.Z)({},t,{sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(t.sx)?t.sx:[t.sx]]})}}},83205:function(e,t,n){n.d(t,{LZ:function(){return l},Qu:function(){return c},Rk:function(){return p},Y4:function(){return s},ch:function(){return i},wZ:function(){return d},x:function(){return u}});var r=n(88169),o=n(67294),a=n(85893);const i=(0,r.Z)((0,a.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),s=(0,r.Z)((0,a.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),l=(0,r.Z)((0,a.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),c=(0,r.Z)((0,a.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),u=((0,r.Z)((0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,a.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),(0,r.Z)((0,a.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange")),d=(0,r.Z)((0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,a.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time"),p=(0,r.Z)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},71545:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(90948),o=n(67542);
54const a=(0,r.ZP)("div")({overflow:"hidden",width:o.Pl,maxHeight:o.BR,display:"flex",flexDirection:"column",margin:"0 auto"})},16943:function(e,t,n){n.d(t,{u:function(){return P}});var r=n(63366),o=n(87462),a=n(67294),i=n(90512),s=n(15861),l=n(90948),c=n(2734),u=n(71657),d=n(94780),p=n(24349),m=n(93946),f=n(83205),h=n(34867);function g(e){return(0,h.Z)("MuiPickersArrowSwitcher",e)}(0,n(1588).Z)("MuiPickersArrowSwitcher",["root","spacer","button"]);var v=n(85893);const b=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel"],y=["ownerState"],w=["ownerState"],x=(0,l.ZP)("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex"}),C=(0,l.ZP)("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})((({theme:e})=>({width:e.spacing(3)}))),S=(0,l.ZP)(m.Z,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,t)=>t.button})((({ownerState:e})=>(0,o.Z)({},e.hidden&&{visibility:"hidden"}))),P=a.forwardRef((function(e,t){var n,a,l,m;const h="rtl"===(0,c.Z)().direction,P=(0,u.Z)({props:e,name:"MuiPickersArrowSwitcher"}),{children:Z,className:k,slots:D,slotProps:T,isNextDisabled:M,isNextHidden:I,onGoToNext:O,nextLabel:R,isPreviousDisabled:V,isPreviousHidden:A,onGoToPrevious:F,previousLabel:L}=P,N=(0,r.Z)(P,b),E=P,B=(e=>{const{classes:t}=e;return(0,d.Z)({root:["root"],spacer:["spacer"],button:["button"]},g,t)})(E),$={isDisabled:M,isHidden:I,goTo:O,label:R},j={isDisabled:V,isHidden:A,goTo:F,label:L},z=null!=(n=null==D?void 0:D.previousIconButton)?n:S,H=(0,p.y)({elementType:z,externalSlotProps:null==T?void 0:T.previousIconButton,additionalProps:{size:"medium",title:j.label,"aria-label":j.label,disabled:j.isDisabled,edge:"end",onClick:j.goTo},ownerState:(0,o.Z)({},E,{hidden:j.isHidden}),className:B.button}),W=null!=(a=null==D?void 0:D.nextIconButton)?a:S,U=(0,p.y)({elementType:W,externalSlotProps:null==T?void 0:T.nextIconButton,additionalProps:{size:"medium",title:$.label,"aria-label":$.label,disabled:$.isDisabled,edge:"start",onClick:$.goTo},ownerState:(0,o.Z)({},E,{hidden:$.isHidden}),className:B.button}),G=null!=(l=null==D?void 0:D.leftArrowIcon)?l:f.Y4,q=(0,p.y)({elementType:G,externalSlotProps:null==T?void 0:T.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),Y=(0,r.Z)(q,y),K=null!=(m=null==D?void 0:D.rightArrowIcon)?m:f.LZ,X=(0,p.y)({elementType:K,externalSlotProps:null==T?void 0:T.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),_=(0,r.Z)(X,w);return(0,v.jsxs)(x,(0,o.Z)({ref:t,className:(0,i.Z)(B.root,k),ownerState:E},N,{children:[(0,v.jsx)(z,(0,o.Z)({},H,{children:h?(0,v.jsx)(K,(0,o.Z)({},_)):(0,v.jsx)(G,(0,o.Z)({},Y))})),Z?(0,v.jsx)(s.Z,{variant:"subtitle1",component:"span",children:Z}):(0,v.jsx)(C,{className:B.spacer,ownerState:E}),(0,v.jsx)(W,(0,o.Z)({},U,{children:h?(0,v.jsx)(G,(0,o.Z)({},Y)):(0,v.jsx)(K,(0,o.Z)({},_))}))]}))}))},31914:function(e,t,n){n.d(t,{e:function(){return f}});var r=n(87462),o=n(67294),a=n(90512),i=n(15861),s=n(90948),l=n(71657),c=n(94780),u=n(51549),d=n(85893);const p=(0,s.ZP)("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>(0,r.Z)({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:e.spacing(2,3)},t.isLandscape&&{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"}))),m=(0,s.ZP)("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(e,t)=>t.content})((({ownerState:e})=>{var t;return{display:"flex",flexWrap:"wrap",width:"100%",justifyContent:e.isLandscape?"flex-start":"space-between",flexDirection:e.isLandscape?null!=(t=e.landscapeDirection)?t:"column":"row",flex:1,alignItems:e.isLandscape?"flex-start":"center"}})),f=o.forwardRef((function(e,t){const n=(0,l.Z)({props:e,name:"MuiPickersToolbar"}),{children:r,className:o,toolbarTitle:s,hidden:f,titleId:h}=n,g=n,v=(e=>{const{classes:t,isLandscape:n}
54=e,r={root:["root"],content:["content"],penIconButton:["penIconButton",n&&"penIconButtonLandscape"]};return(0,c.Z)(r,u.T,t)})(g);return f?null:(0,d.jsxs)(p,{ref:t,className:(0,a.Z)(v.root,o),ownerState:g,children:[(0,d.jsx)(i.Z,{color:"text.secondary",variant:"overline",id:h,children:s}),(0,d.jsx)(m,{className:v.content,ownerState:g,children:r})]})}))},61849:function(e,t,n){n.d(t,{c:function(){return g}});var r=n(87462),o=n(63366),a=n(67294),i=n(90512),s=n(69417),l=n(90948),c=n(71657),u=n(94780),d=n(49502),p=n(51549),m=n(85893);const f=["align","className","selected","typographyClassName","value","variant","width"],h=(0,l.ZP)(s.Z,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,minWidth:16,textTransform:"none"}),g=a.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiPickersToolbarButton"}),{align:a,className:s,selected:l,typographyClassName:g,value:v,variant:b,width:y}=n,w=(0,o.Z)(n,f),x=(e=>{const{classes:t}=e;return(0,u.Z)({root:["root"]},p.T,t)})(n);return(0,m.jsx)(h,(0,r.Z)({variant:"text",ref:t,className:(0,i.Z)(s,x.root)},y?{sx:{width:y}}:{},w,{children:(0,m.jsx)(d.I,{align:a,className:g,variant:b,value:v,selected:l})}))}))},49502:function(e,t,n){n.d(t,{I:function(){return v}});var r=n(87462),o=n(63366),a=n(67294),i=n(90512),s=n(15861),l=n(90948),c=n(71657),u=n(94780),d=n(34867);function p(e){return(0,d.Z)("MuiPickersToolbarText",e)}const m=(0,n(1588).Z)("MuiPickersToolbarText",["root","selected"]);var f=n(85893);const h=["className","selected","value"],g=(0,l.ZP)(s.Z,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${m.selected}`]:t.selected}]})((({theme:e})=>({transition:e.transitions.create("color"),color:(e.vars||e).palette.text.secondary,[`&.${m.selected}`]:{color:(e.vars||e).palette.text.primary}}))),v=a.forwardRef((function(e,t){const n=(0,c.Z)({props:e,name:"MuiPickersToolbarText"}),{className:a,value:s}=n,l=(0,o.Z)(n,h),d=(e=>{const{classes:t,selected:n}=e,r={root:["root",n&&"selected"]};return(0,u.Z)(r,p,t)})(n);return(0,f.jsx)(g,(0,r.Z)({ref:t,className:(0,i.Z)(a,d.root),component:"span"},l,{children:s}))}))},51549:function(e,t,n){n.d(t,{T:function(){return o}});var r=n(34867);function o(e){return(0,r.Z)("MuiPickersToolbar",e)}(0,n(1588).Z)("MuiPickersToolbar",["root","content"])},67542:function(e,t,n){n.d(t,{BR:function(){return s},Fn:function(){return l},Pl:function(){return a},kD:function(){return c},p2:function(){return r},uK:function(){return i},yh:function(){return o}});const r=36,o=2,a=320,i=280,s=334,l=232,c=48},73207:function(e,t,n){n.d(t,{MS:function(){return i},iC:function(){return l},tw:function(){return s}});var r=n(67294),o=n(48865),a=n(74734);function i(e,{disableFuture:t,maxDate:n,timezone:a}){const i=(0,o.nB)();return r.useMemo((()=>{const r=i.dateWithTimezone(void 0,a),o=i.startOfMonth(t&&i.isBefore(r,n)?r:n);return!i.isAfter(o,e)}),[t,n,e,i,a])}function s(e,{disablePast:t,minDate:n,timezone:a}){const i=(0,o.nB)();return r.useMemo((()=>{const r=i.dateWithTimezone(void 0,a),o=i.startOfMonth(t&&i.isAfter(r,n)?r:n);return!i.isBefore(o,e)}),[t,n,e,i,a])}function l(e,t,n,i){const s=(0,o.nB)();return{meridiemMode:(0,a.xX)(e,s),handleMeridiemChange:r.useCallback((r=>{const o=null==e?null:(0,a.wp)(e,r,Boolean(t),s);n(o,null!=i?i:"partial")}),[t,e,n,i,s])}}},41749:function(e,t,n){n.d(t,{U:function(){return w}});var r=n(87462),o=n(63366),a=n(67294),i=n(73546),s=n(59948),l=n(33703),c=n(2734),u=n(86866),d=n(48865),p=n(96107),m=n(19032),f=n(57605),h=n(69032);const g=e=>null!=e.saveQuery,v=({sections:e,updateSectionValue:t,sectionsValueBoundaries:n,setTempAndroidValueStr:o,timezone:i})=>{const l=(0,d.nB)(),[c,u]=a.useState(null),m=(0,s.Z)((()=>u(null)));a.useEffect((()=>{var t;null!=c&&(null==(t=e[c.sectionIndex])?void 0:t.type)!==c.sectionType&&m()}),[e,c,m]),a.useEffect((()=>{if(null!=c){const e=setTimeout((()=>m()),5e3);return()=>{window.clearTimeout(e)}}return()=>{}}),[c,m]);const f=({keyPressed:t,sectionIndex:n},r,o)=>{const a=t.toLowerCase(),i=e[n];if(null!=c&&(!o||o(c.value))&&c.sectionIndex===n){const e=`${c.value}${a}`,t=r(e,i);if(!g(t))return u({sectionIndex:n,value:e,sectionType:i.type}),t}const s=r(a,i);return g(s)&&!s.saveQuery?(m(),null):(u({sectionIndex:n,value:a,sectionType:i.type}),g(s)?null:s)};return{applyCharacterEditing:(0,s.Z)((a=>{const s=e[a.sectionIndex],c=!Number.isNaN(Number(a.keyPressed))?(e=>{const t=(e,t)=>{const r=Number(`${e}`),o=n[t.type]({currentDate:null,format:t.format,contentType:t.contentType});if(r>o.maximum)return{saveQuery:!1};if(r<o.minimum)return{saveQuery:!0};const a=Number(`${e}0`)>o.maximum||e.length===o.maximum.toString().length;return{sectionValue:(0,p.P$)(l,i,r,o,t),shouldGoToNextSection:a}};return f(e,((e,n)=>{if("digit"===n.contentType||"digit-with-letter"===n.contentType)return t(e,n);if("month"===n.type){const o=(0,p.Su)(l,i,"digit","month","MM"),a=t(e,{type:n.type,format:"MM",hasLeadingZerosInFormat:o,hasLeadingZerosInInput
54:!0,contentType:"digit",maxLength:2});if(g(a))return a;const s=(0,p.Yo)(l,a.sectionValue,"MM",n.format);return(0,r.Z)({},a,{sectionValue:s})}if("weekDay"===n.type){const o=t(e,n);if(g(o))return o;const a=(0,p.R7)(l,i,n.format)[Number(o.sectionValue)-1];return(0,r.Z)({},o,{sectionValue:a})}return{saveQuery:!1}}),(e=>!Number.isNaN(Number(e))))})(a):(e=>{const t=(e,t,n)=>{const r=t.filter((e=>e.toLowerCase().startsWith(n)));return 0===r.length?{saveQuery:!1}:{sectionValue:r[0],shouldGoToNextSection:1===r.length}},n=(e,n,o,a)=>{const s=e=>(0,p.wk)(l,i,n.type,e);if("letter"===n.contentType)return t(n.format,s(n.format),e);if(o&&null!=a&&"letter"===(0,p.z1)(l,o).contentType){const n=s(o),i=t(0,n,e);return g(i)?{saveQuery:!1}:(0,r.Z)({},i,{sectionValue:a(i.sectionValue,n)})}return{saveQuery:!1}};return f(e,((e,t)=>{switch(t.type){case"month":{const r=e=>(0,p.Yo)(l,e,l.formats.month,t.format);return n(e,t,l.formats.month,r)}case"weekDay":{const r=(e,t)=>t.indexOf(e).toString();return n(e,t,l.formats.weekday,r)}case"meridiem":return n(e,t);default:return{saveQuery:!1}}}))})(a);null==c?o(null):t({activeSection:s,newSectionValue:c.sectionValue,shouldGoToNextSection:c.shouldGoToNextSection})})),resetCharacterQuery:m}};var b=n(43530);const y=["onClick","onKeyDown","onFocus","onBlur","onMouseUp","onPaste","error","clearable","onClear","disabled"],w=e=>{const t=(0,d.nB)(),{state:n,selectedSectionIndexes:g,setSelectedSections:w,clearValue:x,clearActiveSection:C,updateSectionValue:S,updateValueFromValueStr:P,setTempAndroidValueStr:Z,sectionsValueBoundaries:k,placeholder:D,timezone:T}=(e=>{const t=(0,d.nB)(),n=(0,d.og)(),o=(0,d.Do)(),i="rtl"===(0,c.Z)().direction,{valueManager:s,fieldValueManager:l,valueType:u,validator:g,internalProps:v,internalProps:{value:b,defaultValue:y,referenceDate:w,onChange:x,format:C,formatDensity:S="dense",selectedSections:P,onSelectedSectionsChange:Z,shouldRespectLeadingZeros:k=!1,timezone:D}}=e,{timezone:T,value:M,handleValueChange:I}=(0,f.w)({timezone:D,value:b,defaultValue:y,onChange:x,valueManager:s}),O=a.useMemo((()=>(0,p.IE)(t,T)),[t,T]),R=a.useCallback(((e,r=null)=>l.getSectionsFromValue(t,e,r,i,(e=>(0,p.nC)(t,T,n,C,e,S,k,i)))),[l,C,n,i,k,t,S,T]),V=a.useMemo((()=>l.getValueStrFromSections(R(s.emptyValue),i)),[l,R,s.emptyValue,i]),[A,F]=a.useState((()=>{const e=R(M);(0,p.wz)(e,u);const n={sections:e,value:M,referenceValue:s.emptyValue,tempValueStrAndroid:null},o=(0,h.hV)(e),a=s.getInitialReferenceValue({referenceDate:w,value:M,utils:t,props:v,granularity:o,timezone:T});return(0,r.Z)({},n,{referenceValue:a})})),[L,N]=(0,m.Z)({controlled:P,default:null,name:"useField",state:"selectedSectionIndexes"}),E=e=>{N(e),null==Z||Z(e),F((e=>(0,r.Z)({},e,{selectedSectionQuery:null})))},B=a.useMemo((()=>{if(null==L)return null;if("all"===L)return{startIndex:0,endIndex:A.sections.length-1,shouldSelectBoundarySelectors:!0};if("number"===typeof L)return{startIndex:L,endIndex:L};if("string"===typeof L){const e=A.sections.findIndex((e=>e.type===L));return{startIndex:e,endIndex:e}}return L}),[L,A.sections]),$=({value:e,referenceValue:n,sections:a})=>{if(F((t=>(0,r.Z)({},t,{sections:a,value:e,referenceValue:n,tempValueStrAndroid:null}))),s.areValuesEqual(t,A.value,e))return;const i={validationError:g({adapter:o,value:e,props:(0,r.Z)({},v,{value:e,timezone:T})})};I(e,i)},j=(e,t)=>{const n=[...A.sections];return n[e]=(0,r.Z)({},n[e],{value:t,modified:!0}),(0,p.qc)(n,i)};return a.useEffect((()=>{const e=R(A.value);(0,p.wz)(e,u),F((t=>(0,r.Z)({},t,{sections:e})))}),[C,t.locale]),a.useEffect((()=>{let e=!1;e=!s.areValuesEqual(t,A.value,M)||s.getTimezone(t,A.value)!==s.getTimezone(t,M),e&&F((e=>(0,r.Z)({},e,{value:M,referenceValue:l.updateReferenceValue(t,M,e.referenceValue),sections:R(M)})))}),[M]),{state:A,selectedSectionIndexes:B,setSelectedSections:E,clearValue:()=>{$({value:s.emptyValue,referenceValue:A.referenceValue,sections:R(s.emptyValue)})},clearActiveSection:()=>{if(null==B)return;const e=A.sections[B.startIndex],n=l.getActiveDateManager(t,A,e),o=n.getSections(A.sections).filter((e=>""!==e.value)).length===(""===e.value?0:1),a=j(B.startIndex,""),i=o?null:t.date(new Date("")),s=n.getNewValuesFromNewActiveDate(i);(null!=i&&!t.isValid(i))!==(null!=n.date&&!t.isValid(n.date))?$((0,r.Z)({},s,{sections:a})):F((e=>(0,r.Z)({},e,s,{sections:a,tempValueStrAndroid:null})))},updateSectionValue:({activeSection:e,newSectionValue:n,shouldGoToNextSection:o})=>{o&&B&&B.startIndex<A.sections.length-1?E(B.startIndex+1):B&&B.startIndex!==B.endIndex&&E(B.startIndex);const a=l.getActiveDateManager(t,A,e),i=j(B.startIndex,n),s=a.getSections(i),c=(0,p.lt)(t,s);let u,d;if(null!=c&&t.isValid(c)){const e=(0,p.$9)(t,T,c,s,a.referenceDate,!0);u=a.getNewValuesFromNewActiveDate(e),d=!0}else u=a.getNewValuesFromNewActiveDate(c),d=(null!=c&&!t.isValid(c))!==(null!=a.date&&!t.isValid(a.date));return d?$((0,r.Z)({},u,{sections:i})):F((e=>(0,r.Z)({},e,u,{sections:i,tempValueStrAndroid:null})))}
54,updateValueFromValueStr:e=>{const r=l.parseValueStr(e,A.referenceValue,((e,r)=>{const o=t.parse(e,C);if(null==o||!t.isValid(o))return null;const a=(0,p.nC)(t,T,n,C,o,S,k,i);return(0,p.$9)(t,T,o,a,r,!1)})),o=l.updateReferenceValue(t,r,A.referenceValue);$({value:r,referenceValue:o,sections:R(r,A.sections)})},setTempAndroidValueStr:e=>F((t=>(0,r.Z)({},t,{tempValueStrAndroid:e}))),sectionsValueBoundaries:O,placeholder:V,timezone:T}})(e),{inputRef:M,internalProps:I,internalProps:{readOnly:O=!1,unstableFieldRef:R,minutesStep:V},forwardedProps:{onClick:A,onKeyDown:F,onFocus:L,onBlur:N,onMouseUp:E,onPaste:B,error:$,clearable:j,onClear:z,disabled:H},fieldValueManager:W,valueManager:U,validator:G}=e,q=(0,o.Z)(e.forwardedProps,y),{applyCharacterEditing:Y,resetCharacterQuery:K}=v({sections:n.sections,updateSectionValue:S,sectionsValueBoundaries:k,setTempAndroidValueStr:Z,timezone:T}),X=a.useRef(null),_=(0,l.Z)(M,X),Q=a.useRef(void 0),J="rtl"===(0,c.Z)().direction,ee=a.useMemo((()=>(0,p.N2)(n.sections,J)),[n.sections,J]),te=()=>{var e;if(O)return void w(null);const t=null!=(e=X.current.selectionStart)?e:0;let r;r=t<=n.sections[0].startInInput||t>=n.sections[n.sections.length-1].endInInput?1:n.sections.findIndex((e=>e.startInInput-e.startSeparator.length>t));const o=-1===r?n.sections.length-1:r-1;w(o)},ne=(0,s.Z)(((e,...t)=>{e.isDefaultPrevented()||(null==A||A(e,...t),te())})),re=(0,s.Z)((e=>{null==E||E(e),e.preventDefault()})),oe=(0,s.Z)(((...e)=>{null==L||L(...e);const t=X.current;window.clearTimeout(Q.current),Q.current=setTimeout((()=>{t&&t===X.current&&(null!=g||O||(t.value.length&&Number(t.selectionEnd)-Number(t.selectionStart)===t.value.length?w("all"):te()))}))})),ae=(0,s.Z)(((...e)=>{null==N||N(...e),w(null)})),ie=(0,s.Z)((e=>{if(null==B||B(e),O)return void e.preventDefault();const t=e.clipboardData.getData("text");if(g&&g.startIndex===g.endIndex){const r=n.sections[g.startIndex],o=/^[a-zA-Z]+$/.test(t),a=/^[0-9]+$/.test(t),i=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(t);if("letter"===r.contentType&&o||"digit"===r.contentType&&a||"digit-with-letter"===r.contentType&&i)return;if(o||a)return void e.preventDefault()}e.preventDefault(),K(),P(t)})),se=(0,s.Z)((e=>{if(O)return;const t=e.target.value;if(""===t)return K(),void x();const r=e.nativeEvent.data,o=r&&r.length>1,a=o?r:t,i=(0,p.EY)(a);if(null==g||o)return void P(o?r:i);let s;if(0===g.startIndex&&g.endIndex===n.sections.length-1&&1===i.length)s=i;else{const e=(0,p.EY)(W.getValueStrFromSections(n.sections,J));let t=-1,r=-1;for(let n=0;n<e.length;n+=1)-1===t&&e[n]!==i[n]&&(t=n),-1===r&&e[e.length-n-1]!==i[i.length-n-1]&&(r=n);const o=n.sections[g.startIndex];if(t<o.start||e.length-r-1>o.end)return;const a=i.length-e.length+o.end-(0,p.EY)(o.endSeparator||"").length;s=i.slice(o.start+(0,p.EY)(o.startSeparator||"").length,a)}0!==s.length?Y({keyPressed:s,sectionIndex:g.startIndex}):(0,p.Dt)()?Z(a):(K(),C())})),le=(0,s.Z)((e=>{switch(null==F||F(e),!0){case"a"===e.key&&(e.ctrlKey||e.metaKey):e.preventDefault(),w("all");break;case"ArrowRight"===e.key:if(e.preventDefault(),null==g)w(ee.startIndex);else if(g.startIndex!==g.endIndex)w(g.endIndex);else{const e=ee.neighbors[g.startIndex].rightIndex;null!==e&&w(e)}break;case"ArrowLeft"===e.key:if(e.preventDefault(),null==g)w(ee.endIndex);else if(g.startIndex!==g.endIndex)w(g.startIndex);else{const e=ee.neighbors[g.startIndex].leftIndex;null!==e&&w(e)}break;case"Delete"===e.key:if(e.preventDefault(),O)break;null==g||0===g.startIndex&&g.endIndex===n.sections.length-1?x():C(),K();break;case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(e.key):{if(e.preventDefault(),O||null==g)break;const r=n.sections[g.startIndex],o=W.getActiveDateManager(t,n,r),a=(0,p.o$)(t,T,r,e.key,k,o.date,{minutesStep:V});S({activeSection:r,newSectionValue:a,shouldGoToNextSection:!1});break}}}));(0,i.Z)((()=>{if(!X.current)return;if(null==g)return void(X.current.scrollLeft&&(X.current.scrollLeft=0));const e=n.sections[g.startIndex],t=n.sections[g.endIndex];let r=e.startInInput,o=t.endInInput;if(g.shouldSelectBoundarySelectors&&(r-=e.startSeparator.length,o+=t.endSeparator.length),r!==X.current.selectionStart||o!==X.current.selectionEnd){const e=X.current.scrollTop;X.current===(0,b.vY)(document)&&X.current.setSelectionRange(r,o),X.current.scrollTop=e}}));const ce=(0,u.V)((0,r.Z)({},I,{value:n.value,timezone:T}),G,U.isSameError,U.defaultErrorState),ue=a.useMemo((()=>void 0!==$?$:U.hasError(ce)),[U,ce,$]);a.useEffect((()=>{ue||g||K()}),[n.referenceValue,g,ue]),a.useEffect((()=>(X.current&&X.current===document.activeElement&&w("all"),()=>window.clearTimeout(Q.current))),[]),a.useEffect((()=>{null!=n.tempValueStrAndroid&&null!=g&&(K(),C())}),[n.tempValueStrAndroid]);const de=a.useMemo((()=>{var e;return null!=(e=n.tempValueStrAndroid)?e:W.getValueStrFromSections(n.sections,J)}),[n.sections,W,n.tempValueStrAndroid,J]),pe=a.useMemo((()=>null==g||"letter"===n.sections[g.startIndex].contentType?"text":"numeric"),[g,n.sections]),me=X.
54current&&X.current===(0,b.vY)(document),fe=U.areValuesEqual(t,n.value,U.emptyValue),he=!me&&fe;a.useImperativeHandle(R,(()=>({getSections:()=>n.sections,getActiveSectionIndex:()=>{var e,t;const r=null!=(e=X.current.selectionStart)?e:0,o=null!=(t=X.current.selectionEnd)?t:0;if(0===r&&0===o)return null;const a=r<=n.sections[0].startInInput?1:n.sections.findIndex((e=>e.startInInput-e.startSeparator.length>r));return-1===a?n.sections.length-1:a-1},setSelectedSections:e=>w(e)})));const ge=(0,s.Z)(((e,...t)=>{var n;e.preventDefault(),null==z||z(e,...t),x(),null==X||null==(n=X.current)||n.focus(),w(0)}));return(0,r.Z)({placeholder:D,autoComplete:"off",disabled:Boolean(H)},q,{value:he?"":de,inputMode:pe,readOnly:O,onClick:ne,onFocus:oe,onBlur:ae,onPaste:ie,onChange:se,onKeyDown:le,onMouseUp:re,onClear:ge,error:ue,ref:_,clearable:Boolean(j&&!fe&&!O&&!H)})}},96107:function(e,t,n){n.d(t,{$9:function(){return P},Dt:function(){return Z},EY:function(){return p},IE:function(){return x},N2:function(){return k},P$:function(){return c},R7:function(){return i},Su:function(){return v},WE:function(){return w},Yo:function(){return h},lt:function(){return y},nC:function(){return b},o$:function(){return u},qc:function(){return m},wk:function(){return s},wz:function(){return C},z1:function(){return a}});var r=n(87462),o=n(5535);const a=(e,t)=>{const n=e.formatTokenMap[t];if(null==n)throw new Error([`MUI: The token "${t}" is not supported by the Date and Time Pickers.`,"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join("\n"));return"string"===typeof n?{type:n,contentType:"meridiem"===n?"letter":"digit",maxLength:void 0}:{type:n.sectionType,contentType:n.contentType,maxLength:n.maxLength}},i=(e,t,n)=>{const r=[],o=e.dateWithTimezone(void 0,t),a=e.startOfWeek(o),i=e.endOfWeek(o);let s=a;for(;e.isBefore(s,i);)r.push(s),s=e.addDays(s,1);return r.map((t=>e.formatByString(t,n)))},s=(e,t,n,r)=>{switch(n){case"month":return(0,o.SV)(e,e.dateWithTimezone(void 0,t)).map((t=>e.formatByString(t,r)));case"weekDay":return i(e,t,r);case"meridiem":{const n=e.dateWithTimezone(void 0,t);return[e.startOfDay(n),e.endOfDay(n)].map((t=>e.formatByString(t,r)))}default:return[]}},l=(e,t,n)=>{let r=t;for(r=Number(r).toString();r.length<n;)r=`0${r}`;return r},c=(e,t,n,r,o)=>{if("day"===o.type&&"digit-with-letter"===o.contentType){const t=e.setDate(r.longestMonth,n);return e.formatByString(t,o.format)}const a=n.toString();return o.hasLeadingZerosInInput?l(0,a,o.maxLength):a},u=(e,t,n,r,o,a,i)=>{const l=(e=>{switch(e){case"ArrowUp":return 1;case"ArrowDown":return-1;case"PageUp":return 5;case"PageDown":return-5;default:return 0}})(r),u="Home"===r,d="End"===r,p=""===n.value||u||d;return"digit"===n.contentType||"digit-with-letter"===n.contentType?(()=>{const r=o[n.type]({currentDate:a,format:n.format,contentType:n.contentType}),s=o=>c(e,t,o,r,n),m="minutes"===n.type&&null!=i&&i.minutesStep?i.minutesStep:1;let f=parseInt(n.value,10)+l*m;if(p){if("year"===n.type&&!d&&!u)return e.formatByString(e.dateWithTimezone(void 0,t),n.format);f=l>0||u?r.minimum:r.maximum}return f%m!==0&&((l<0||u)&&(f+=m-(m+f)%m),(l>0||d)&&(f-=f%m)),f>r.maximum?s(r.minimum+(f-r.maximum-1)%(r.maximum-r.minimum+1)):f<r.minimum?s(r.maximum-(r.minimum-f-1)%(r.maximum-r.minimum+1)):s(f)})():(()=>{const r=s(e,t,n.type,n.format);if(0===r.length)return n.value;if(p)return l>0||u?r[0]:r[r.length-1];const o=r.indexOf(n.value);return r[(o+r.length+l)%r.length]})()},d=(e,t)=>{let n=e.value||e.placeholder;const r="non-input"===t?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;"non-input"===t&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(n=Number(n).toString());return["input-rtl","input-ltr"].includes(t)&&"digit"===e.contentType&&!r&&1===n.length&&(n=`${n}\u200e`),"input-rtl"===t&&(n=`\u2068${n}\u2069`),n},p=e=>e.replace(/[\u2066\u2067\u2068\u2069]/g,""),m=(e,t)=>{let n=0,o=t?1:0;const a=[];for(let i=0;i<e.length;i+=1){const s=e[i],l=d(s,t?"input-rtl":"input-ltr"),c=`${s.startSeparator}${l}${s.endSeparator}`,u=p(c).length,m=c.length,f=p(l),h=o+l.indexOf(f[0])+s.startSeparator.length,g=h+f.length;a.push((0,r.Z)({},s,{start:n,end:n+u,startInInput:h,endInInput:g})),n+=u,o+=m}return a},f=(e,t,n,r,o)=>{switch(r.type){case"year":return n.fieldYearPlaceholder({digitAmount:e.formatByString(e.dateWithTimezone(void 0,t),o).length,format:o});case"month":return n.fieldMonthPlaceholder({contentType:r.contentType,format:o});case"day":return n.fieldDayPlaceholder({format:o});case"weekDay":return n.fieldWeekDayPlaceholder({contentType:r.contentType,format:o});case"hours":return n.fieldHoursPlaceholder({format:o});case"minutes":return n.fieldMinutesPlaceholder({format:o});case"seconds":return n.fieldSecondsPlaceholder({format:o});case"meridiem":return n.fieldMeridiemPlaceholder({format:o});default:return o}},h=(e,t,n,r)=>e.formatByString(e.parse(t,n),r),g=(e,t,n)=>4===e.formatByString(e.dateWithTimezone(void 0,t),n).length,v=(e,t,n,r,o)=>{if("digit"!==n)return!1;const a=e.dateWithTimezone(void 0,t);switch(r){case"year":if(g(e,t,o)){return"0001"===e.formatByString(e.setYear(a,1),o)}return"01"===e.formatByString(e.setYear(a,2001),o);case"month":return e.formatByString(e.startOfYear(a),o).length>1;case"day":return e.formatByString(e.startOfMonth(a),o).length>1;case"weekDay":return e.formatByString(e.startOfWeek(a),o).length>1;case"hours":return e.formatByString(e.setHours(a,1),o).length>1;case"minutes":return e.formatByString(e.setMinutes(a,1),o).length>1;case"seconds":return e.formatByString(e.setSeconds(a,1),o).length>1;default:throw new Error("Invalid section type")}},b=(e,t,n,o,i,s,c,u)=>{let d="";const p=[],m=e.date(),h=o=>{if(""===o)return null;const s=a(e,o),u=v(e,t,s.contentType,s.type,o),h=c?u:"digit"===s.contentType,g=null!=i&&e.isValid(i);let b=g?e.formatByString(i,o):"",y=null;if(h)if(u)y=""===b?e.formatByString(m,o).length:b.length;else{if(null==s.maxLength)throw new Error(`MUI: The token ${o} should have a 'maxDigitNumber' property on it's adapter`);
54y=s.maxLength,g&&(b=l(0,b,y))}return p.push((0,r.Z)({},s,{format:o,maxLength:y,value:b,placeholder:f(e,t,n,s,o),hasLeadingZeros:u,hasLeadingZerosInFormat:u,hasLeadingZerosInInput:h,startSeparator:0===p.length?d:"",endSeparator:"",modified:!1})),null};let g=10,b=o,y=e.expandFormat(o);for(;y!==b;)if(b=y,y=e.expandFormat(b),g-=1,g<0)throw new Error("MUI: The format expansion seems to be  enter in an infinite loop. Please open an issue with the format passed to the picker component");const w=y,x=((e,t)=>{const n=[],{start:r,end:o}=e.escapedCharacters,a=new RegExp(`(\\${r}[^\\${o}]*\\${o})+`,"g");let i=null;for(;i=a.exec(t);)n.push({start:i.index,end:a.lastIndex-1});return n})(e,w),C=new RegExp(`^(${Object.keys(e.formatTokenMap).sort(((e,t)=>t.length-e.length)).join("|")})`,"g");let S="";for(let r=0;r<w.length;r+=1){const e=x.find((e=>e.start<=r&&e.end>=r)),t=w[r],n=null!=e,o=`${S}${w.slice(r)}`,a=C.test(o);if(!n&&t.match(/([A-Za-z]+)/)&&a)S=o.slice(0,C.lastIndex),r+=C.lastIndex-1;else{n&&(null==e?void 0:e.start)===r||(null==e?void 0:e.end)===r||(h(S),S="",0===p.length?d+=t:p[p.length-1].endSeparator+=t)}}return h(S),p.map((e=>{const t=e=>{let t=e;return u&&null!==t&&t.includes(" ")&&(t=`\u2069${t}\u2066`),"spacious"===s&&["/",".","-"].includes(t)&&(t=` ${t} `),t};return e.startSeparator=t(e.startSeparator),e.endSeparator=t(e.endSeparator),e}))},y=(e,t)=>{const n=t.some((e=>"day"===e.type)),r=[],o=[];for(let s=0;s<t.length;s+=1){const e=t[s];n&&"weekDay"===e.type||(r.push(e.format),o.push(d(e,"non-input")))}const a=r.join(" "),i=o.join(" ");return e.parse(i,a)},w=(e,t)=>{const n=e.map((e=>{const n=d(e,t?"input-rtl":"input-ltr");return`${e.startSeparator}${n}${e.endSeparator}`})).join("");return t?`\u2066${n}\u2069`:n},x=(e,t)=>{const n=e.dateWithTimezone(void 0,t),r=e.endOfYear(n),a=e.endOfDay(n),{maxDaysInMonth:s,longestMonth:l}=(0,o.SV)(e,n).reduce(((t,n)=>{const r=e.getDaysInMonth(n);return r>t.maxDaysInMonth?{maxDaysInMonth:r,longestMonth:n}:t}),{maxDaysInMonth:0,longestMonth:null});return{year:({format:n})=>({minimum:0,maximum:g(e,t,n)?9999:99}),month:()=>({minimum:1,maximum:e.getMonth(r)+1}),day:({currentDate:t})=>({minimum:1,maximum:null!=t&&e.isValid(t)?e.getDaysInMonth(t):s,longestMonth:l}),weekDay:({format:n,contentType:r})=>{if("digit"===r){const r=i(e,t,n).map(Number);return{minimum:Math.min(...r),maximum:Math.max(...r)}}return{minimum:1,maximum:7}},hours:({format:t})=>{const r=e.getHours(a);return e.formatByString(e.endOfDay(n),t)!==r.toString()?{minimum:1,maximum:Number(e.formatByString(e.startOfDay(n),t))}:{minimum:0,maximum:r}},minutes:()=>({minimum:0,maximum:e.getMinutes(a)}),seconds:()=>({minimum:0,maximum:e.getSeconds(a)}),meridiem:()=>({minimum:0,maximum:0})}};const C=(e,t)=>{0},S={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8},P=(e,t,n,r,o,a)=>[...r].sort(((e,t)=>S[e.type]-S[t.type])).reduce(((r,o)=>!a||o.modified?((e,t,n,r,o)=>{switch(n.type){case"year":return e.setYear(o,e.getYear(r));case"month":return e.setMonth(o,e.getMonth(r));case"weekDay":{const o=i(e,t,n.format),a=e.formatByString(r,n.format),s=o.indexOf(a),l=o.indexOf(n.value)-s;return e.addDays(r,l)}case"day":return e.setDate(o,e.getDate(r));case"meridiem":{const t=e.getHours(r)<12,n=e.getHours(o);return t&&n>=12?e.addHours(o,-12):!t&&n<12?e.addHours(o,12):o}case"hours":return e.setHours(o,e.getHours(r));case"minutes":return e.setMinutes(o,e.getMinutes(r));case"seconds":return e.setSeconds(o,e.getSeconds(r));default:return o}})(e,t,o,n,r):r),o),Z=()=>navigator.userAgent.toLowerCase().indexOf("android")>-1,k=(e,t)=>{const n={};if(!t)return e.forEach(((t,r)=>{const o=0===r?null:r-1,a=r===e.length-1?null:r+1;n[r]={leftIndex:o,rightIndex:a}})),{neighbors:n,startIndex:0,endIndex:e.length-1};const r={},o={};let a=0,i=0,s=e.length-1;for(;s>=0;){i=e.findIndex(((e,t)=>{var n;return t>=a&&(null==(n=e.endSeparator)?void 0:n.includes(" "))&&" / "!==e.endSeparator})),-1===i&&(i=e.length-1);for(let e=i;e>=a;e-=1)o[e]=s,r[s]=e,s-=1;a=i+1}return e.forEach(((t,a)=>{const i=o[a],s=0===i?null:r[i-1],l=i===e.length-1?null:r[i+1];n[a]={leftIndex:s,rightIndex:l}})),{neighbors:n,startIndex:r[0],endIndex:r[e.length-1]}}},43986:function(e,t,n){n.d(t,{s:function(){return Z}});
54var r=n(87462),o=n(63366),a=n(67294),i=n(24349),s=n(33703),l=n(92996),c=n(6514),u=n(16628),d=n(64666),p=n(77620),m=n(90948),f=n(67542),h=n(85893);const g=(0,m.ZP)(d.Z)({[`& .${p.Z.container}`]:{outline:0},[`& .${p.Z.paper}`]:{outline:0,minWidth:f.Pl}}),v=(0,m.ZP)(c.Z)({"&:first-of-type":{padding:0}});function b(e){var t,n;const{children:o,onDismiss:a,open:i,slots:s,slotProps:l}=e,c=null!=(t=null==s?void 0:s.dialog)?t:g,d=null!=(n=null==s?void 0:s.mobileTransition)?n:u.Z;return(0,h.jsx)(c,(0,r.Z)({open:i,onClose:a},null==l?void 0:l.dialog,{TransitionComponent:d,TransitionProps:null==l?void 0:l.mobileTransition,PaperComponent:null==s?void 0:s.mobilePaper,PaperProps:null==l?void 0:l.mobilePaper,children:(0,h.jsx)(v,{children:o})}))}var y=n(11837),w=n(43530),x=n(48865),C=n(50720),S=n(69251);const P=["props","getOpenDialogAriaText"],Z=e=>{var t,n,c;let{props:u,getOpenDialogAriaText:d}=e,p=(0,o.Z)(e,P);const{slots:m,slotProps:f,className:g,sx:v,format:Z,formatDensity:k,timezone:D,name:T,label:M,inputRef:I,readOnly:O,disabled:R,localeText:V}=u,A=(0,x.nB)(),F=a.useRef(null),L=(0,l.Z)(),N=null!=(t=null==f||null==(n=f.toolbar)?void 0:n.hidden)&&t,{open:E,actions:B,layoutProps:$,renderCurrentView:j,fieldProps:z}=(0,y.Q)((0,r.Z)({},p,{props:u,inputRef:F,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),H=m.field,W=(0,i.y)({elementType:H,externalSlotProps:null==f?void 0:f.field,additionalProps:(0,r.Z)({},z,N&&{id:L},!(R||O)&&{onClick:B.onOpen,onKeyDown:(0,w.JW)(B.onOpen)},{readOnly:null==O||O,disabled:R,className:g,sx:v,format:Z,formatDensity:k,timezone:D,label:M,name:T}),ownerState:u});W.inputProps=(0,r.Z)({},W.inputProps,{"aria-label":d(z.value,A)});const U=(0,r.Z)({textField:m.textField},W.slots),G=null!=(c=m.layout)?c:S.ce,q=(0,s.Z)(F,W.inputRef,I);let Y=L;N&&(Y=M?`${L}-label`:void 0);const K=(0,r.Z)({},f,{toolbar:(0,r.Z)({},null==f?void 0:f.toolbar,{titleId:L}),mobilePaper:(0,r.Z)({"aria-labelledby":Y},null==f?void 0:f.mobilePaper)});return{renderPicker:()=>(0,h.jsxs)(C._,{localeText:V,children:[(0,h.jsx)(H,(0,r.Z)({},W,{slots:U,slotProps:K,inputRef:q})),(0,h.jsx)(b,(0,r.Z)({},B,{open:E,slots:m,slotProps:K,children:(0,h.jsx)(G,(0,r.Z)({},$,null==K?void 0:K.layout,{slots:m,slotProps:K,children:j()}))}))]})}}},11837:function(e,t,n){n.d(t,{Q:function(){return y}});var r=n(87462),o=n(67294),a=n(19032),i=n(59948);var s=n(48865),l=n(86866),c=n(57605);const u=({props:e,valueManager:t,valueType:n,wrapperVariant:u,validator:d})=>{const{onAccept:p,onChange:m,value:f,defaultValue:h,closeOnSelect:g="desktop"===u,selectedSections:v,onSelectedSectionsChange:b,timezone:y}=e,{current:w}=o.useRef(h),{current:x}=o.useRef(void 0!==f);const C=(0,s.nB)(),S=(0,s.Do)(),[P,Z]=(0,a.Z)({controlled:v,default:null,name:"usePickerValue",state:"selectedSections"}),{isOpen:k,setIsOpen:D}=(({open:e,onOpen:t,onClose:n})=>{const r=o.useRef("boolean"===typeof e).current,[a,i]=o.useState(!1);return o.useEffect((()=>{if(r){if("boolean"!==typeof e)throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");i(e)}}),[r,e]),{isOpen:a,setIsOpen:o.useCallback((e=>{r||i(e),e&&t&&t(),!e&&n&&n()}),[r,t,n])}})(e),[T,M]=o.useState((()=>{let e;return e=void 0!==f?f:void 0!==w?w:t.emptyValue,{draft:e,lastPublishedValue:e,lastCommittedValue:e,lastControlledValue:f,hasBeenModifiedSinceMount:!1}})),{timezone:I,handleValueChange:O}=(0,c.w)({timezone:y,value:f,defaultValue:w,onChange:m,valueManager:t});(0,l.V)((0,r.Z)({},e,{value:T.draft,timezone:I}),d,t.isSameError,t.defaultErrorState);const R=(0,i.Z)((n=>{const o={action:n,dateState:T,hasChanged:e=>!t.areValuesEqual(C,n.value,e),isControlled:x,closeOnSelect:g},a=(e=>{const{action:t,hasChanged:n,dateState:r,isControlled:o}=e,a=!o&&!r.hasBeenModifiedSinceMount;return"setValueFromField"===t.name||("setValueFromAction"===t.name?!(!a||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastPublishedValue):("setValueFromView"===t.name&&"shallow"!==t.selectionState||"setValueFromShortcut"===t.name)&&(!!a||n(r.lastPublishedValue)))})(o),i=(e=>{const{action:t,hasChanged:n,dateState:r,isControlled:o,closeOnSelect:a}=e,i=!o&&!r.hasBeenModifiedSinceMount;return"setValueFromAction"===t.name?!(!i||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastCommittedValue):"setValueFromVie
54w"===t.name&&"finish"===t.selectionState&&a?!!i||n(r.lastCommittedValue):"setValueFromShortcut"===t.name&&"accept"===t.changeImportance&&n(r.lastCommittedValue)})(o),s=(e=>{const{action:t,closeOnSelect:n}=e;return"setValueFromAction"===t.name||("setValueFromView"===t.name?"finish"===t.selectionState&&n:"setValueFromShortcut"===t.name&&"accept"===t.changeImportance)})(o);if(M((e=>(0,r.Z)({},e,{draft:n.value,lastPublishedValue:a?n.value:e.lastPublishedValue,lastCommittedValue:i?n.value:e.lastCommittedValue,hasBeenModifiedSinceMount:!0}))),a){const t={validationError:"setValueFromField"===n.name?n.context.validationError:d({adapter:S,value:n.value,props:(0,r.Z)({},e,{value:n.value,timezone:I})})};"setValueFromShortcut"===n.name&&null!=n.shortcut&&(t.shortcut=n.shortcut),O(n.value,t)}i&&p&&p(n.value),s&&D(!1)}));if(void 0!==f&&(void 0===T.lastControlledValue||!t.areValuesEqual(C,T.lastControlledValue,f))){const e=t.areValuesEqual(C,T.draft,f);M((t=>(0,r.Z)({},t,{lastControlledValue:f},e?{}:{lastCommittedValue:f,lastPublishedValue:f,draft:f,hasBeenModifiedSinceMount:!0})))}const V=(0,i.Z)((()=>{R({value:t.emptyValue,name:"setValueFromAction",pickerAction:"clear"})})),A=(0,i.Z)((()=>{R({value:T.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})})),F=(0,i.Z)((()=>{R({value:T.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})})),L=(0,i.Z)((()=>{R({value:T.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})})),N=(0,i.Z)((()=>{R({value:t.getTodayValue(C,I,n),name:"setValueFromAction",pickerAction:"today"})})),E=(0,i.Z)((()=>D(!0))),B=(0,i.Z)((()=>D(!1))),$=(0,i.Z)(((e,t="partial")=>R({name:"setValueFromView",value:e,selectionState:t}))),j=(0,i.Z)(((e,t,n)=>R({name:"setValueFromShortcut",value:e,changeImportance:null!=t?t:"accept",shortcut:n}))),z=(0,i.Z)(((e,t)=>R({name:"setValueFromField",value:e,context:t}))),H=(0,i.Z)((e=>{Z(e),null==b||b(e)})),W={onClear:V,onAccept:A,onDismiss:F,onCancel:L,onSetToday:N,onOpen:E,onClose:B},U={value:T.draft,onChange:z,selectedSections:P,onSelectedSectionsChange:H},G=o.useMemo((()=>t.cleanValue(C,T.draft)),[C,t,T.draft]);return{open:k,fieldProps:U,viewProps:{value:G,onChange:$,onClose:B,open:k,onSelectedSectionsChange:H},layoutProps:(0,r.Z)({},W,{value:G,onChange:$,onSelectShortcut:j,isValid:n=>{const o=d({adapter:S,value:n,props:(0,r.Z)({},e,{value:n,timezone:I})});return!t.hasError(o)}}),actions:W}};var d=n(63366),p=n(73546),m=n(29442),f=n(74734);const h=["className","sx"];var g=n(43530);function v(){return"undefined"===typeof window?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?90===Math.abs(window.screen.orientation.angle)?"landscape":"portrait":window.orientation&&90===Math.abs(Number(window.orientation))?"landscape":"portrait"}const b=({props:e,propsFromPickerValue:t,propsFromPickerViews:n,wrapperVariant:a})=>{const{orientation:i}=e,s=((e,t)=>{const[n,r]=o.useState(v);return(0,p.Z)((()=>{const e=()=>{r(v())};return window.addEventListener("orientationchange",e),()=>{window.removeEventListener("orientationchange",e)}}),[]),!(0,g.kI)(e,["hours","minutes","seconds"])&&"landscape"===(t||n)})(n.views,i);return{layoutProps:(0,r.Z)({},n,t,{isLandscape:s,wrapperVariant:a,disabled:e.disabled,readOnly:e.readOnly})}},y=(((e,t="warning")=>{let n=!1;const r=Array.isArray(e)?e.join("\n"):e})(["The `renderInput` prop has been removed in version 6.0 of the Date and Time Pickers.","You can replace it with the `textField` component slot in most cases.","For more information, please have a look at the migration guide (https://mui.com/x/migration/migration-pickers-v5/#input-renderer-required-in-v5)."]),({props:e,valueManager:t,valueType:n,wrapperVariant:a,inputRef:s,additionalViewProps:l,validator:c,autoFocusView:g})=>{const v=u({props:e,valueManager:t,valueType:n,wrapperVariant:a,validator:c}
54),y=(({props:e,propsFromPickerValue:t,additionalViewProps:n,inputRef:a,autoFocusView:s})=>{const{onChange:l,open:c,onSelectedSectionsChange:u,onClose:g}=t,{views:v,openTo:b,onViewChange:y,disableOpenPicker:w,viewRenderers:x,timezone:C}=e,S=(0,d.Z)(e,h),{view:P,setView:Z,defaultView:k,focusedView:D,setFocusedView:T,setValueAndGoToNextView:M}=(0,m.B)({view:void 0,views:v,openTo:b,onChange:l,onViewChange:y,autoFocus:s}),{hasUIView:I,viewModeLookup:O}=o.useMemo((()=>v.reduce(((e,t)=>{let n;return n=w?"field":null!=x[t]?"UI":"field",e.viewModeLookup[t]=n,"UI"===n&&(e.hasUIView=!0),e}),{hasUIView:!1,viewModeLookup:{}})),[w,x,v]),R=o.useMemo((()=>v.reduce(((e,t)=>null!=x[t]&&(0,f.Is)(t)?e+1:e),0)),[x,v]),V=O[P],A=(0,i.Z)((()=>"UI"===V)),[F,L]=o.useState("UI"===V?P:null);return F!==P&&"UI"===O[P]&&L(P),(0,p.Z)((()=>{"field"===V&&c&&(g(),setTimeout((()=>{null==a||a.current.focus(),u(P)})))}),[P]),(0,p.Z)((()=>{if(!c)return;let e=P;"field"===V&&null!=F&&(e=F),e!==k&&"UI"===O[e]&&"UI"===O[k]&&(e=k),e!==P&&Z(e),T(e,!0)}),[c]),{hasUIView:I,shouldRestoreFocus:A,layoutProps:{views:v,view:F,onViewChange:Z},renderCurrentView:()=>{if(null==F)return null;const e=x[F];return null==e?null:e((0,r.Z)({},S,n,t,{views:v,timezone:C,onChange:M,view:F,onViewChange:Z,focusedView:D,onFocusedViewChange:T,showViewSwitcher:R>1,timeViewsCount:R}))}}})({props:e,inputRef:s,additionalViewProps:l,autoFocusView:g,propsFromPickerValue:v.viewProps}),w=b({props:e,wrapperVariant:a,propsFromPickerValue:v.layoutProps,propsFromPickerViews:y.layoutProps});return{open:v.open,actions:v.actions,fieldProps:v.fieldProps,renderCurrentView:y.renderCurrentView,hasUIView:y.hasUIView,shouldRestoreFocus:y.shouldRestoreFocus,layoutProps:w.layoutProps}})},48865:function(e,t,n){n.d(t,{PP:function(){return d},og:function(){return p},Do:function(){return c},mX:function(){return m},nB:function(){return u}});var r=n(87462),o=n(67294),a=n(50720);const i={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"open previous view",openNextView:"open next view",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,t,n)=>`Select ${e}. ${null===t?"No time selected":`Selected time is ${n.format(t,"fullTime")}`}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t)=>
54null!==e&&t.isValid(e)?`Choose date, selected date is ${t.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?`Choose time, selected time is ${t.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear value",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},s=i;l=i,(0,r.Z)({},l);var l;const c=()=>{const e=o.useContext(a.y);if(null===e)throw new Error(["MUI: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join("\n"));if(null===e.utils)throw new Error(["MUI: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join("\n"));const t=o.useMemo((()=>(0,r.Z)({},s,e.localeText)),[e.localeText]);return o.useMemo((()=>(0,r.Z)({},e,{localeText:t})),[e,t])},u=()=>c().utils,d=()=>c().defaultDates,p=()=>c().localeText,m=e=>{const t=u(),n=o.useRef();return void 0===n.current&&(n.current=t.dateWithTimezone(void 0,e)),n.current}},86866:function(e,t,n){n.d(t,{V:function(){return a}});var r=n(67294),o=n(48865);function a(e,t,n,a){const{value:i,onError:s}=e,l=(0,o.Do)(),c=r.useRef(a),u=t({adapter:l,value:i,props:e});return r.useEffect((()=>{s&&!n(u,c.current)&&s(u,i),c.current=u}),[n,s,c,u,i]),u}},57605:function(e,t,n){n.d(t,{m:function(){return l},w:function(){return s}});var r=n(67294),o=n(59948),a=n(19032),i=n(48865);const s=({timezone:e,value:t,defaultValue:n,onChange:a,valueManager:s})=>{var l,c;const u=(0,i.nB)(),d=r.useRef(n),p=null!=(l=null!=t?t:d.current)?l:s.emptyValue,m=r.useMemo((()=>s.getTimezone(u,p)),[u,s,p]),f=(0,o.Z)((e=>null==m?e:s.setTimezone(u,m,e))),h=null!=(c=null!=e?e:m)?c:"default";return{value:r.useMemo((()=>s.setTimezone(u,h,p)),[s,u,h,p]),handleValueChange:(0,o.Z)(((e,...t)=>{const n=f(e);null==a||a(n,...t)})),timezone:h}},l=({name:e,timezone:t,value:n,defaultValue:r,onChange:i,valueManager:l})=>{const[c,u]=(0,a.Z)({name:e,state:"value",controlled:n,default:null!=r?r:l.emptyValue}),d=(0,o.Z)(((e,...t)=>{u(e),null==i||i(e,...t)}));return s({timezone:t,value:c,defaultValue:void 0,onChange:d,valueManager:l})}},29442:function(e,t,n){n.d(t,{B:function(){return i}});var r=n(67294),o=n(59948),a=n(19032);function i({onChange:e,onViewChange:t,openTo:n,view:i,views:s,autoFocus:l,focusedView:c,onFocusedViewChange:u}){var d,p;const m=r.useRef(n),f=r.useRef(s),h=r.useRef(s.includes(n)?n:s[0]),[g,v]=(0,a.Z)({name:"useViews",state:"view",controlled:i,default:h.current}),b=r.useRef(l?g:null),[y,w]=(0,a.Z)({name:"useViews",state:"focusedView",controlled:c,default:b.current});r.useEffect((()=>{(m.current&&m.current!==n||f.current&&f.current.some((e=>!s.includes(e))))&&(v(s.includes(n)?n:s[0]),f.current=s,m.current=n)}),[n,v,g,s]);const x=s.indexOf(g),C=null!=(d=s[x-1])?d:null,S=null!=(p=s[x+1])?p:null,P=(0,o.Z)(((e,t)=>{w(t?e:t=>e===t?null:t),null==u||u(e,t)})),Z=(0,o.Z)((e=>{e!==g&&(v(e),P(e,!0),t&&t(e))})),k=(0,o.Z)((()=>{S&&Z(S),P(S,!0)})),D=(0,o.Z)(((t,n,r)=>{const o="finish"===n,a=r?s.indexOf(r)<s.length-1:Boolean(S);e(t,o&&a?"partial":n),o&&k()})),T=(0,o.Z)(((t,n,r)=>{e(t,n?"partial":"finish",r),n&&(Z(n),P(n,!0))}));return{view:g,setView:Z,focusedView:y,setFocusedView:P,nextView:S,previousView:C,defaultView:s.includes(n)?n:s[0],goToNextView:k,setValueAndGoToNextView:D,setValueAndGoToView:T}}},5535:function(e,t,n){n.d(t,{D1:function(){return h},Fb:function(){return m},LZ:function(){return s},SV:function(){return l},US:function(){return i},X$:function(){return u},ai:function(){return a},iB:function(){return f},lu:function(){return d},xP:function(){return o},zu:function(){return c}});var r=n(27495);const o=({date:e,disableFuture:t,disablePast:n,maxDate:r,minDate:o,isDateDisabled:a,utils:i,timezone:s})=>{const l=i.startOfDay(i.dateWithTimezone(void 0,s));n&&i.isBefore(o,l)&&(o=l),t&&i.isAfter(r,l)&&(r=l);let c=e,u=e;for(i.isBefore(e,o)&&(c=o,u=null),i.isAfter(e,r)&&(u&&(u=r),c=null);c||u;){if(c&&i.isAfter(c,r)&&(c=null),u&&i.isBefore(u,o)&&(u=null),c){if(!a(c))return c;c=i.addDays(c,1)}if(u){if(!a(u))return u;u=i.addDays(u,-1)}}return null},a=(e,t)=>null!=t&&e.isValid(t)?t:null,i=(e,t,n)=>null!=t&&e.isValid(t)?t:n,s=(e,t,n)=>!e.isValid(t)&&null!=t&&!e.isValid(n)&&null!=n||e.isEqual(t,n),l=(e,t)=>
54{const n=[e.startOfYear(t)];for(;n.length<12;){const t=n[n.length-1];n.push(e.addMonths(t,1))}return n},c=(e,t,n)=>{let r=t;return r=e.setHours(r,e.getHours(n)),r=e.setMinutes(r,e.getMinutes(n)),r=e.setSeconds(r,e.getSeconds(n)),r},u=(e,t,n)=>"date"===n?e.startOfDay(e.dateWithTimezone(void 0,t)):e.dateWithTimezone(void 0,t),d=(e,t)=>{const n=e.setHours(e.date(),"am"===t?2:14);return e.format(n,"meridiem")},p=["year","month","day"],m=e=>p.includes(e),f=(e,{format:t,views:n},o)=>{if(null!=t)return t;const a=e.formats;return(0,r.h)(n,["year"])?a.year:(0,r.h)(n,["month"])?a.month:(0,r.h)(n,["day"])?a.dayOfMonth:(0,r.h)(n,["month","year"])?`${a.month} ${a.year}`:(0,r.h)(n,["day","month"])?`${a.month} ${a.dayOfMonth}`:o?/en/.test(e.getCurrentLocaleCode())?a.normalDateWithWeekday:a.normalDate:a.keyboardDate},h=(e,t)=>{const n=e.startOfWeek(t);return[0,1,2,3,4,5,6].map((t=>e.addDays(n,t)))}},25372:function(e,t,n){n.d(t,{_:function(){return i}});var r=n(87462),o=n(35700);const a=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","readOnly","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef"],i=(e,t)=>{const n=(0,r.Z)({},e),i={},s=e=>{n.hasOwnProperty(e)&&(i[e]=n[e],delete n[e])};return a.forEach(s),"date"===t?o.I.forEach(s):"time"===t?o.Rk.forEach(s):"date-time"===t&&(o.I.forEach(s),o.Rk.forEach(s),o.Gf.forEach(s)),{forwardedProps:n,internalProps:i}}},69032:function(e,t,n){n.d(t,{Kn:function(){return a},hV:function(){return i},yw:function(){return l}});var r=n(74734),o=n(5535);const a={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},i=e=>Math.max(...e.map((e=>{var t;return null!=(t=a[e.type])?t:1}))),s=(e,t,n)=>{if(t===a.year)return e.startOfYear(n);if(t===a.month)return e.startOfMonth(n);if(t===a.day)return e.startOfDay(n);let r=n;return t<a.minutes&&(r=e.setMinutes(r,0)),t<a.seconds&&(r=e.setSeconds(r,0)),t<a.milliseconds&&(r=e.setMilliseconds(r,0)),r},l=({props:e,utils:t,granularity:n,timezone:a,getTodayDate:i})=>{var l;let c=i?i():s(t,n,(0,o.X$)(t,a));null!=e.minDate&&t.isAfterDay(e.minDate,c)&&(c=s(t,n,e.minDate)),null!=e.maxDate&&t.isBeforeDay(e.maxDate,c)&&(c=s(t,n,e.maxDate));const u=(0,r.X4)(null!=(l=e.disableIgnoringDatePartForTimeValidation)&&l,t);return null!=e.minTime&&u(e.minTime,c)&&(c=s(t,n,e.disableIgnoringDatePartForTimeValidation?e.minTime:(0,o.zu)(t,c,e.minTime))),null!=e.maxTime&&u(c,e.maxTime)&&(c=s(t,n,e.disableIgnoringDatePartForTimeValidation?e.maxTime:(0,o.zu)(t,c,e.maxTime))),c}},9270:function(e,t,n){n.d(t,{S:function(){return o}});var r=n(87462);const o=e=>{if(void 0!==e)return Object.keys(e).reduce(((t,n)=>(0,r.Z)({},t,{[`${n.slice(0,1).toLowerCase()}${n.slice(1)}`]:e[n]})),{})}},74734:function(e,t,n){n.d(t,{Is:function(){return a},SZ:function(){return i},X4:function(){return d},b_:function(){return l},l9:function(){return p},wp:function(){return c},xX:function(){return s}});var r=n(27495);const o=["hours","minutes","seconds"],a=e=>o.includes(e),i=e=>o.includes(e)||"meridiem"===e,s=(e,t)=>e?t.getHours(e)>=12?"pm":"am":null,l=(e,t,n)=>{if(n){if((e>=12?"pm":"am")!==t)return"am"===t?e-12:e+12}return e},c=(e,t,n,r)=>{const o=l(r.getHours(e),t,n);return r.setHours(e,o)},u=(e,t)=>3600*t.getHours(e)+60*t.getMinutes(e)+t.getSeconds(e),d=(e,t)=>(n,r)=>e?t.isAfter(n,r):u(n,t)>u(r,t),p=(e,{format:t,views:n,ampm:o})=>{if(null!=t)return t;const a=e.formats;return(0,r.h)(n,["hours"])?o?`${a.hours12h} ${a.meridiem}`:a.hours24h:(0,r.h)(n,["minutes"])?a.minutes:(0,r.h)(n,["seconds"])?a.seconds:(0,r.h)(n,["minutes","seconds"])?`${a.minutes}:${a.seconds}`:(0,r.h)(n,["hours","minutes","seconds"])?o?`${a.hours12h}:${a.minutes}:${a.seconds} ${a.meridiem}`:`${a.hours24h}:${a.minutes}:${a.seconds}`:o?`${a.hours12h}:${a.minutes} ${a.meridiem}`:`${a.hours24h}:${a.minutes}`}},43530:function(e,t,n){function r(e,t){return Array.isArray(t)?t.every((t=>-1!==e.indexOf(t))):-1!==e.indexOf(t)}n.d(t,{Hr:function(){return i},JW:function(){return o},kI:function(){return r},vY:function(){return a}});const o=(e,t)=>n=>{"Enter"!==n.key&&" "!==n.key||(e(n),n.preventDefault(),n.stopPropagation()),t&&t(n)},a=(e=document)=>{const t=e.activeElement;return t?t.shadowRoot?a(t.shadowRoot):t:null},i="@media (pointer: fine)"},35700:function(e,t,n){n.d(t,{Gf:function(){return a},I:function(){return r},Rk:function(){return o},f_:function(){return s}});const r=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],o=["disablePast","disableFuture","minTime","maxTime","shouldDisableClock","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],a=["minDateTime","maxDateTime"],i=[...r,...o,...a],s=e=>i.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{})},23916:function(e,t,n){n.d(t,{C:function(){return o}});var r=n(74734);const o=({adapter:e,value:t,props:n})=>{if(null===t)return null;const{minTime:o,maxTime:a,minutesStep:i,shouldDisableClock:s,shouldDisableTime:l,disableIgnoringDatePartForTimeValidation:c=!1,disablePast:u,disableFuture:d,timezone:p}=n,m=e.utils.dateWithTimezone(void 0,p),f=(0,r.X4)(c,e.utils);switch(!0){case!e.utils.isValid(t):return"invalidDate";case Boolean(o&&f(o,t)):return"minTime";case Boolean(a&&f(t,a)):return"maxTime";case Boolean(d&&e.utils.isAfter(t,m)):return"disableFuture";case Boolean(u&&e.utils.isBefore(t,m)):return"disablePast";case Boolean(l&&l(t,"hours")):return"shouldDisableTime-hours";case Boolean(l&&l(t,"minutes")):return"shouldDisableTime-minutes";case Boolean(l&&l(t,"seconds")):return"shouldDisableTime-seconds";case Boolean(s&&s(e.utils.getHours(t),"hours")):return"shouldDisableClock-hours";case Boolean(s&&s(e.utils.getMinutes(t),"minutes")):return"shouldDisableClock-minutes";case Boolean(s&&s(e.utils.getSeconds(t),"seconds")):return"shouldDisableClock-seconds";case Boolean(i&&e.utils.getMinutes(t)%i!==0):return"minutesStep";default:return null}}},55071:function(e,t,n){n.d(t,{a:function(){return c},h:function(){return l}});var r=n(63366),o=n(5535),a=n(69032),i=n(96107);const s=["value","referenceDate"],l={emptyValue:null,getTodayValue:o.X$,getInitialReferenceValue:e=>{let{value:t,referenceDate:n}=e,o=(0,r.Z)(e,s);return null!=t&&o.utils.isValid(t)?t:null!=n?n:(0,a.yw)(o)},cleanValue:o.ai,areValuesEqual:o.LZ,isSameError:(e,t)=>
54e===t,hasError:e=>null!=e,defaultErrorState:null,getTimezone:(e,t)=>null!=t&&e.isValid(t)?e.getTimezone(t):null,setTimezone:(e,t,n)=>null==n?null:e.setTimezone(n,t)},c={updateReferenceValue:(e,t,n)=>null!=t&&e.isValid(t)?t:n,getSectionsFromValue:(e,t,n,r,o)=>!e.isValid(t)&&!!n?n:(0,i.qc)(o(t),r),getValueStrFromSections:i.WE,getActiveDateManager:(e,t)=>({date:t.value,referenceDate:t.referenceValue,getSections:e=>e,getNewValuesFromNewActiveDate:n=>({value:n,referenceValue:null!=n&&e.isValid(n)?n:t.referenceValue})}),parseValueStr:(e,t,n)=>n(e.trim(),t)}},27495:function(e,t,n){n.d(t,{d:function(){return o},h:function(){return r}});const r=(e,t)=>e.length===t.length&&t.every((t=>e.includes(t))),o=({openTo:e,defaultOpenTo:t,views:n,defaultViews:r})=>{const o=null!=n?n:r;let a;if(null!=e)a=e;else if(o.includes(t))a=t;else{if(!(o.length>0))throw new Error("MUI: The `views` prop must contain at least one view");a=o[0]}return{views:o,openTo:a}}},10135:function(e,t,n){n.d(t,{Yi:function(){return Ae},tz:function(){return Fe},M6:function(){return Ve}});var r=n(67294),o=n(87462),a=n(63366),i=n(90512),s=n(90948),l=n(71657),c=n(94780),u=n(92996),d=n(48865),p=n(16943),m=n(74734),f=n(29442),h=n(73207),g=n(71545),v=n(34867),b=n(1588);function y(e){return(0,v.Z)("MuiTimeClock",e)}(0,b.Z)("MuiTimeClock",["root","arrowSwitcher"]);var w=n(93946),x=n(15861),C=n(73546);const S=220,P=36,Z={x:110,y:110},k=Z.x-Z.x,D=0-Z.y,T=(e,t,n)=>{const r=t-Z.x,o=n-Z.y,a=Math.atan2(k,D)-Math.atan2(r,o);let i=a*(180/Math.PI);i=Math.round(i/e)*e,i%=360;const s=r**2+o**2;return{value:Math.floor(i/e)||0,distance:Math.sqrt(s)}};function M(e){return(0,v.Z)("MuiClockPointer",e)}(0,b.Z)("MuiClockPointer",["root","thumb"]);var I=n(85893);const O=["className","hasSelected","isInner","type","viewValue"],R=(0,s.ZP)("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>(0,o.Z)({width:2,backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},t.shouldAnimate&&{transition:e.transitions.create(["transform","height"])}))),V=(0,s.ZP)("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e,ownerState:t})=>(0,o.Z)({width:4,height:4,backgroundColor:(e.vars||e).palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - 18px)",border:`16px solid ${(e.vars||e).palette.primary.main}`,boxSizing:"content-box"},t.hasSelected&&{backgroundColor:(e.vars||e).palette.primary.main})));function A(e){const t=(0,l.Z)({props:e,name:"MuiClockPointer"}),{className:n,isInner:s,type:u,viewValue:d}=t,p=(0,a.Z)(t,O),m=r.useRef(u);r.useEffect((()=>{m.current=u}),[u]);const f=(0,o.Z)({},t,{shouldAnimate:m.current!==u}),h=(e=>{const{classes:t}=e;return(0,c.Z)({root:["root"],thumb:["thumb"]},M,t)})(f);return(0,I.jsx)(R,(0,o.Z)({style:(()=>{let e=360/("hours"===u?12:60)*d;return"hours"===u&&d>12&&(e-=360),{height:Math.round((s?.26:.4)*S),transform:`rotateZ(${e}deg)`}})(),className:(0,i.Z)(n,h.root),ownerState:f},p,{children:(0,I.jsx)(V,{ownerState:f,className:h.thumb})}))}function F(e){return(0,v.Z)("MuiClock",e)}(0,b.Z)("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton","meridiemText"]);var L=n(5535);const N=(0,s.ZP)("div",{name:"MuiClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:e.spacing(2)}))),E=(0,s.ZP)("div",{name:"MuiClock",slot:"Clock",overridesResolver:(e,t)=>t.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),B=(0,s.ZP)("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({"&:focus":{outline:"none"}}),$=(0,s.ZP)("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(e,t)=>t.squareMask})((({ownerState:e})=>(0,o.Z)({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none"},e.disabled?{}:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}}))),j=(0,s.ZP)("div",{name:"MuiClock",slot:"Pin",overridesResolver:(e,t)=>t.pin})((({theme:e})=>({width:6,height:6,borderRadius:"50%",backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}))),z=(0,s.ZP)(w.Z,{name:"MuiClock",slot:"AmButton",overridesResolver:(e,t)=>t.amButton})((({theme:e,ownerState:t})=>(0,o.Z)({zIndex:1,position:"absolute",bottom:8,left:8,paddingLeft:4,paddingRight:4,width:P},"am"===t.meridiemMode&&{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}))),H=(0,s.ZP)(w.Z,{name:"MuiClock",slot:"PmButton",overridesResolver:(e,t)=>t.pmButton})((({theme:e,ownerState:t})=>(0,o.Z)({zIndex:1,position:"absolute",bottom:8,right:8,paddingLeft:4,paddingRight:4,width:P},"pm"===t.meridiemMode&&{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}))),W=(0,s.ZP)(x.Z,{name:"MuiClock",slot:"meridiemText",overridesResolver:(e,t)=>t.meridiemText}
54)({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});function U(e){const t=(0,l.Z)({props:e,name:"MuiClock"}),{ampm:n,ampmInClock:o,autoFocus:a,children:s,value:u,handleMeridiemChange:p,isTimeDisabled:m,meridiemMode:f,minutesStep:h=1,onChange:g,selectedId:v,type:b,viewValue:y,disabled:w,readOnly:x,className:S}=t,P=t,Z=(0,d.nB)(),k=(0,d.og)(),D=r.useRef(!1),M=(e=>{const{classes:t}=e;return(0,c.Z)({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton"],pmButton:["pmButton"],meridiemText:["meridiemText"]},F,t)})(P),O=m(y,b),R=!n&&"hours"===b&&(y<1||y>12),V=(e,t)=>{w||x||m(e,b)||g(e,t)},U=(e,t)=>{let{offsetX:r,offsetY:o}=e;if(void 0===r){const t=e.target.getBoundingClientRect();r=e.changedTouches[0].clientX-t.left,o=e.changedTouches[0].clientY-t.top}const a="seconds"===b||"minutes"===b?((e,t,n=1)=>{const r=6*n;let{value:o}=T(r,e,t);return o=o*n%60,o})(r,o,h):((e,t,n)=>{const{value:r,distance:o}=T(30,e,t);let a=r||12;return n?a%=12:o<74&&(a+=12,a%=24),a})(r,o,Boolean(n));V(a,t)},G=r.useMemo((()=>"hours"===b||y%5===0),[b,y]),q="minutes"===b?h:1,Y=r.useRef(null);(0,C.Z)((()=>{a&&Y.current.focus()}),[a]);return(0,I.jsxs)(N,{className:(0,i.Z)(S,M.root),children:[(0,I.jsxs)(E,{className:M.clock,children:[(0,I.jsx)($,{onTouchMove:e=>{D.current=!0,U(e,"shallow")},onTouchEnd:e=>{D.current&&(U(e,"finish"),D.current=!1)},onMouseUp:e=>{D.current&&(D.current=!1),U(e.nativeEvent,"finish")},onMouseMove:e=>{e.buttons>0&&U(e.nativeEvent,"shallow")},ownerState:{disabled:w},className:M.squareMask}),!O&&(0,I.jsxs)(r.Fragment,{children:[(0,I.jsx)(j,{className:M.pin}),null!=u&&(0,I.jsx)(A,{type:b,viewValue:y,isInner:R,hasSelected:G})]}),(0,I.jsx)(B,{"aria-activedescendant":v,"aria-label":k.clockLabelText(b,u,Z),ref:Y,role:"listbox",onKeyDown:e=>{if(!D.current)switch(e.key){case"Home":V(0,"partial"),e.preventDefault();break;case"End":V("minutes"===b?59:23,"partial"),e.preventDefault();break;case"ArrowUp":V(y+q,"partial"),e.preventDefault();break;case"ArrowDown":V(y-q,"partial"),e.preventDefault()}},tabIndex:0,className:M.wrapper,children:s})]}),n&&o&&(0,I.jsxs)(r.Fragment,{children:[(0,I.jsx)(z,{onClick:x?void 0:()=>p("am"),disabled:w||null===f,ownerState:P,className:M.amButton,title:(0,L.lu)(Z,"am"),children:(0,I.jsx)(W,{variant:"caption",className:M.meridiemText,children:(0,L.lu)(Z,"am")})}),(0,I.jsx)(H,{disabled:w||null===f,onClick:x?void 0:()=>p("pm"),ownerState:P,className:M.pmButton,title:(0,L.lu)(Z,"pm"),children:(0,I.jsx)(W,{variant:"caption",className:M.meridiemText,children:(0,L.lu)(Z,"pm")})})]})]})}function G(e){return(0,v.Z)("MuiClockNumber",e)}const q=(0,b.Z)("MuiClockNumber",["root","selected","disabled"]),Y=["className","disabled","index","inner","label","selected"],K=(0,s.ZP)("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${q.disabled}`]:t.disabled},{[`&.${q.selected}`]:t.selected}]})((({theme:e,ownerState:t})=>(0,o.Z)({height:P,width:P,position:"absolute",left:"calc((100% - 36px) / 2)",display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:(e.vars||e).palette.text.primary,fontFamily:e.typography.fontFamily,"&:focused":{backgroundColor:(e.vars||e).palette.background.paper},[`&.${q.selected}`]:{color:(e.vars||e).palette.primary.contrastText},[`&.${q.disabled}`]:{pointerEvents:"none",color:(e.vars||e).palette.text.disabled}},t.inner&&(0,o.Z)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary}))));function X(e){const t=(0,l.Z)({props:e,name:"MuiClockNumber"}),{className:n,disabled:r,index:s,inner:u,label:d,selected:p}=t,m=(0,a.Z)(t,Y),f=t,h=(e=>{const{classes:t,selected:n,disabled:r}=e,o={root:["root",n&&"selected",r&&"disabled"]};return(0,c.Z)(o,G,t)})(f),g=s%12/12*Math.PI*2-Math.PI/2,v=91*(u?.65:1),b=Math.round(Math.cos(g)*v),y=Math.round(Math.sin(g)*v);return(0,I.jsx)(K,(0,o.Z)({className:(0,i.Z)(n,h.root),"aria-disabled":!!r||void 0,"aria-selected":!!p||void 0,role:"option",style:{transform:`translate(${b}px, ${y+92}px`},ownerState:f},m,{children:d}))}const _=({ampm:e,value:t,getClockNumberText:n,isDisabled:r,selectedId:o,utils:a})=>{const i=t?a.getHours(t):null,s=[],l=e?12:23,c=t=>null!==i&&(e?12===t?12===i||0===i:i===t||i-12===t:i===t);for(let u=e?1:0;u<=l;u+=1){let t=u.toString();0===u&&(t="00");const i=!e&&(0===u||u>12);t=a.formatNumber(t);const l=c(u);s.push((0,I.jsx)(X,{id:l?o:void 0,index:u,inner:i,selected:l,disabled:r(u),label:t,"aria-label":n(t)},u))}return s},Q=({utils:e,value:t,isDisabled:n,getClockNumberText:r,selectedId:o})=>{const a=e.formatNumber;return[[5,a("05")],[10,a("10")],[15,a("15")],[20,a("20")],[25,a("25")],[30,a("30")],[35,a("35")],[40,a("40")],[45,a("45")],[50,a("50")],[55,a("55")],[0,a("00")]].map((([e,a],i)=>{const s=e===t;return(0,I.jsx)(X,{label:a,id:s?o:void 0,index:i+1,inner:!1,disabled:n(e),selected:s,"aria-label":r(a)},e)}))};var J=n(57605),ee=n(55071),te=n(9270),ne=n(69032);const re=({value:e,referenceDate:t,utils:n,props:o,timezone:a})=>{const i=r.useMemo((()=>ee.h.getInitialReferenceValue({value:e,utils:n,props:o,referenceDate:t,granularity:ne.Kn.day,timezone:a,getTodayDate:()=>(0,L.X$)(n,a,"date")})),[]);return null!=e?e:i},oe=["ampm","ampmInClock","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","showViewSwitcher","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","timezone"],ae=(0,s.ZP)(g.Z,{name:"MuiTimeClock",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",position:"relative"}),ie=(0,s.ZP)(p.u,{name:"MuiTimeClock",slot:"ArrowSwitcher",overridesResolver:(e,t)=>t.arrowSwitcher})({position:"absolute",right:12,top:15}),se=["hours","minutes"],le=r.forwardRef((function(e,t){const n=(0,d.nB)(),s=(0,l.Z)({props:e,name:"MuiTimeClock"}),{ampm:p=n.is12HourCycleInCurrentLocale(),ampmInClock:g=!1,autoFocus:v,components:b,componentsProps:w,slots:x,slotProps:C,value:S,defaultValue:P,referenceDate:Z,disableIgnoringDatePartForTimeValidation:k=!1,maxTime:D,minTime:T,disableFuture:M,disablePast:O,minutesStep:R=1,shouldDisableClock:V,shouldDisableTime:A,showViewSwitcher:F,onChange:L,view:N,views:E=se,openTo:B,onViewChange:$,focusedView:j,onFocusedViewChange:z,className:H,disabled:W,readOnly:G,timezone:q}=s,Y=(0,a.Z)(s,oe),K=null!=x?x:(0,te.S)(b),X=null!=C?C:w,{value:ne,handleValueChange:le,timezone:ce}=(0,J.m)({name:"TimeClock",timezone:q,value:S,defaultValue:P,onChange:L,valueManager:ee.h}),ue=re({value:ne,referenceDate:Z,utils:n,props:s,timezone:ce}),de=(0,d.og)(),pe=(0,d.mX)(ce),{view:me,setView:fe,previousView:he,nextView:ge,setValueAndGoToNextView:ve}=(0,f.B)({view:N,views:E,openTo:B,onViewChange:$,onChange:le,focusedView:j,onFocusedViewChange:z}),{meridiemMode:be,handleMeridiemChange:ye}=(0,h.iC)(ue,p,ve),we=r.useCallback(((e,t)=>{const r=(0,m.X4)(k,n),o="hours"===t||"minutes"===t&&E.includes("seconds"),a=({start:e,end:t})=>(!T||!r(T,t))&&((!D||!r(e,D))&&((!M||!r(e,pe))&&(!O||!r(pe,o?t:e)))),i=(e,r=1)=>{if(e%r!==0)return!1;if(null!=V&&V(e,t))return!1;if(A)switch(t){case"hours":return!A(n.setHours(ue,e),"hours");case"minutes":return!A(n.setMinutes(ue,e),"minutes");case"seconds":return!A(n.setSeconds(ue,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,m.b_)(e,be,p),r=n.setHours(ue,t);return!a({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!i(t)}case"minutes":{const t=n.setMinutes(ue,e);return!a({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!i(e,R)}case"seconds":{const t=n.setSeconds(ue,e);return!a({start:t,end:t}
54)||!i(e)}default:throw new Error("not supported")}}),[p,ue,k,D,be,T,R,V,A,n,M,O,pe,E]),xe=(0,u.Z)(),Ce=r.useMemo((()=>{switch(me){case"hours":{const e=(e,t)=>{const r=(0,m.b_)(e,be,p);ve(n.setHours(ue,r),t)};return{onChange:e,viewValue:n.getHours(ue),children:_({value:ne,utils:n,ampm:p,onChange:e,getClockNumberText:de.hoursClockNumberText,isDisabled:e=>W||we(e,"hours"),selectedId:xe})}}case"minutes":{const e=n.getMinutes(ue),t=(e,t)=>{ve(n.setMinutes(ue,e),t)};return{viewValue:e,onChange:t,children:Q({utils:n,value:e,onChange:t,getClockNumberText:de.minutesClockNumberText,isDisabled:e=>W||we(e,"minutes"),selectedId:xe})}}case"seconds":{const e=n.getSeconds(ue),t=(e,t)=>{ve(n.setSeconds(ue,e),t)};return{viewValue:e,onChange:t,children:Q({utils:n,value:e,onChange:t,getClockNumberText:de.secondsClockNumberText,isDisabled:e=>W||we(e,"seconds"),selectedId:xe})}}default:throw new Error("You must provide the type for ClockView")}}),[me,n,ne,p,de.hoursClockNumberText,de.minutesClockNumberText,de.secondsClockNumberText,be,ve,ue,we,xe,W]),Se=s,Pe=(e=>{const{classes:t}=e;return(0,c.Z)({root:["root"],arrowSwitcher:["arrowSwitcher"]},y,t)})(Se);return(0,I.jsxs)(ae,(0,o.Z)({ref:t,className:(0,i.Z)(Pe.root,H),ownerState:Se},Y,{children:[(0,I.jsx)(U,(0,o.Z)({autoFocus:null!=v?v:!!j,ampmInClock:g&&E.includes("hours"),value:ne,type:me,ampm:p,minutesStep:R,isTimeDisabled:we,meridiemMode:be,handleMeridiemChange:ye,selectedId:xe,disabled:W,readOnly:G},Ce)),F&&(0,I.jsx)(ie,{className:Pe.arrowSwitcher,slots:K,slotProps:X,onGoToPrevious:()=>fe(he),isPreviousDisabled:!he,previousLabel:de.openPreviousView,onGoToNext:()=>fe(ge),isNextDisabled:!ge,nextLabel:de.openNextView,ownerState:Se})]}))}));var ce=n(24349),ue=n(41796),de=n(59948),pe=n(18972),me=n(84118),fe=n(33703),he=n(35514),ge=n(67542);const ve=["ampm","timeStep","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","onChange","view","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","views","skipDisabled","timezone"],be=(0,s.ZP)(g.Z,{name:"MuiDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>({overflowY:"auto",width:"100%","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:e.alreadyRendered?"smooth":"auto"},maxHeight:ge.Fn}))),ye=(0,s.ZP)(me.Z,{name:"MuiDigitalClock",slot:"List",overridesResolver:(e,t)=>t.list})({padding:0}),we=(0,s.ZP)(pe.Z,{name:"MuiDigitalClock",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:"8px 16px",margin:"2px 4px","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,ue.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,ue.Fq)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),xe=r.forwardRef((function(e,t){var n,s,u;const p=(0,d.nB)(),h=r.useRef(null),g=(0,fe.Z)(t,h),v=(0,l.Z)({props:e,name:"MuiDigitalClock"}),{ampm:b=p.is12HourCycleInCurrentLocale(),timeStep:y=30,autoFocus:w,components:x,componentsProps:C,slots:S,slotProps:P,value:Z,defaultValue:k,referenceDate:D,disableIgnoringDatePartForTimeValidation:T=!1,maxTime:M,minTime:O,disableFuture:R,disablePast:V,minutesStep:A=1,shouldDisableClock:F,shouldDisableTime:L,onChange:N,view:E,openTo:B,onViewChange:$,focusedView:j,onFocusedViewChange:z,className:H,disabled:W,readOnly:U,views:G=["hours"],skipDisabled:q=!1,timezone:Y}=v,K=(0,a.Z)(v,ve),{value:X,handleValueChange:_,timezone:Q}=(0,J.m)({name:"DigitalClock",timezone:Y,value:Z,defaultValue:k,onChange:N,valueManager:ee.h}),te=(0,d.og)(),ne=(0,d.mX)(Q),oe=r.useMemo((()=>(0,o.Z)({},v,{alreadyRendered:!!h.current})),[v]),ae=(e=>{const{classes:t}=e;return(0,c.Z)({root:["root"],list:["list"],item:["item"]},he.w,t)})(oe),ie=null!=(n=null!=(s=null==S?void 0:S.digitalClockItem)?s:null==x?void 0:x.DigitalClockItem)?n:we,se=(0,ce.y)({elementType:ie,externalSlotProps:null!=(u=null==P?void 0:P.digitalClockItem)?u:null==C?void 0:C.digitalClockItem,ownerState:{},className:ae.item}),le=re({value:X,referenceDate:D,utils:p,props:v,timezone:Q}),ue=(0,de.Z)((e=>_(e,"finish","hours"))),{setValueAndGoToNextView:pe}=(0,f.B)({view:E,views:G,openTo:B,onViewChange:$,onChange:ue,focusedView:j,onFocusedViewChange:z}),me=(0,de.Z)((e=>{pe(e,"finish")}));r.useEffect((()=>
54{if(null===h.current)return;const e=h.current.querySelector('[role="listbox"] [role="option"][aria-selected="true"]');if(!e)return;const t=e.offsetTop;h.current.scrollTop=t-4}));const ge=r.useCallback((e=>{const t=(0,m.X4)(T,p);return!((!O||!t(O,e))&&(!M||!t(e,M))&&(!R||!t(e,ne))&&(!V||!t(ne,e)))||!(p.getMinutes(e)%A===0&&(null==F||!F(p.toJsDate(e).getTime(),"hours"))&&(!L||!L(e,"hours")))}),[T,p,O,M,R,ne,V,A,F,L]),xe=r.useMemo((()=>{const e=p.startOfDay(le);return[e,...Array.from({length:Math.ceil(1440/y)-1},((t,n)=>p.addMinutes(e,y*(n+1))))]}),[le,y,p]);return(0,I.jsx)(be,(0,o.Z)({ref:g,className:(0,i.Z)(ae.root,H),ownerState:oe},K,{children:(0,I.jsx)(ye,{autoFocusItem:w||!!j,role:"listbox","aria-label":te.timePickerToolbarTitle,className:ae.list,children:xe.map((e=>{if(q&&ge(e))return null;const t=p.isEqual(e,X);return(0,I.jsx)(ie,(0,o.Z)({onClick:()=>!U&&me(e),selected:t,disabled:W||ge(e),disableRipple:U,role:"option","aria-disabled":U,"aria-selected":t},se,{children:p.format(e,b?"fullTime12h":"fullTime24h")}),p.toISO(e))}))})}))}));function Ce(e){return(0,v.Z)("MuiMultiSectionDigitalClock",e)}(0,b.Z)("MuiMultiSectionDigitalClock",["root"]);var Se=n(10514);const Pe=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],Ze=(0,s.ZP)(me.Z,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>({maxHeight:ge.Fn,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:t.alreadyRendered?"smooth":"auto"},"@media (pointer: fine)":{"&:hover":{overflowY:"auto"}},"@media (pointer: none), (pointer: coarse)":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"&:after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"}}))),ke=(0,s.ZP)(pe.Z,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:8,margin:"2px 4px",width:ge.kD,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,ue.Fq)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,ue.Fq)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),De=r.forwardRef((function(e,t){var n;const s=r.useRef(null),u=(0,fe.Z)(t,s),d=r.useRef(null),p=(0,l.Z)({props:e,name:"MuiMultiSectionDigitalClockSection"}),{autoFocus:m,onChange:f,className:h,disabled:g,readOnly:v,items:b,active:y,slots:w,slotProps:x,skipDisabled:C}=p,S=(0,a.Z)(p,Pe),P=r.useMemo((()=>(0,o.Z)({},p,{alreadyRendered:!!s.current})),[p]),Z=(e=>{const{classes:t}=e;return(0,c.Z)({root:["root"],item:["item"]},Se.o,t)})(P),k=null!=(n=null==w?void 0:w.digitalClockSectionItem)?n:ke;return r.useEffect((()=>{if(null===s.current)return;const e=s.current.querySelector('[role="option"][aria-selected="true"]');if(!e||d.current===e)return void(d.current!==e&&(d.current=e));d.current=e,y&&m&&e.focus();const t=e.offsetTop;s.current.scrollTop=t-4})),(0,I.jsx)(Ze,(0,o.Z)({ref:u,className:(0,i.Z)(Z.root,h),ownerState:P,autoFocusItem:m&&y,role:"listbox"},S,{children:b.map((e=>{var t,n;if(C&&null!=(t=e.isDisabled)&&t.call(e,e.value))return null;const r=e.isSelected(e.value);return(0,I.jsx)(k,(0,o.Z)({onClick:()=>!v&&f(e.value),selected:r,disabled:g||(null==(n=e.isDisabled)?void 0:n.call(e,e.value)),disableRipple:v,role:"option","aria-disabled":v,"aria-label":e.ariaLabel,"aria-selected":r,className:Z.item},null==x?void 0:x.digitalClockSectionItem,{children:e.label}),e.label)}))}))})),Te=({now:e,value:t,utils:n,ampm:r,isDisabled:o,resolveAriaLabel:a,timeStep:i})=>{const s=t?n.getHours(t):null,l=[],c=e=>null!==s&&(r?12===e?12===s||0===s:s===e||s-12===e:s===e),u=r?11:23;
54for(let d=0;d<=u;d+=i){let t=n.format(n.setHours(e,d),r?"hours12h":"hours24h");const i=a(parseInt(t,10).toString());t=n.formatNumber(t),l.push({value:d,label:t,isSelected:c,isDisabled:o,ariaLabel:i})}return l},Me=({value:e,utils:t,isDisabled:n,timeStep:r,resolveLabel:o,resolveAriaLabel:a,hasValue:i=!0})=>{const s=t=>null!==e&&(i&&e===t);return[...Array.from({length:Math.ceil(60/r)},((e,i)=>{const l=r*i;return{value:l,label:t.formatNumber(o(l)),isDisabled:n,isSelected:s,ariaLabel:a(l.toString())}}))]},Ie=["ampm","timeSteps","autoFocus","components","componentsProps","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableClock","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],Oe=(0,s.ZP)(g.Z,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"row",width:"100%",borderBottom:`1px solid ${(e.vars||e).palette.divider}`}))),Re=r.forwardRef((function(e,t){const n=(0,d.nB)(),s=(0,l.Z)({props:e,name:"MuiMultiSectionDigitalClock"}),{ampm:u=n.is12HourCycleInCurrentLocale(),timeSteps:p,autoFocus:g,components:v,componentsProps:b,slots:y,slotProps:w,value:x,defaultValue:C,referenceDate:S,disableIgnoringDatePartForTimeValidation:P=!1,maxTime:Z,minTime:k,disableFuture:D,disablePast:T,minutesStep:M=1,shouldDisableClock:O,shouldDisableTime:R,onChange:V,view:A,views:F=["hours","minutes"],openTo:N,onViewChange:E,focusedView:B,onFocusedViewChange:$,className:j,disabled:z,readOnly:H,skipDisabled:W=!1,timezone:U}=s,G=(0,a.Z)(s,Ie),{value:q,handleValueChange:Y,timezone:K}=(0,J.m)({name:"MultiSectionDigitalClock",timezone:U,value:x,defaultValue:C,onChange:V,valueManager:ee.h}),X=(0,d.og)(),_=(0,d.mX)(K),Q=r.useMemo((()=>(0,o.Z)({hours:1,minutes:5,seconds:5},p)),[p]),te=re({value:q,referenceDate:S,utils:n,props:s,timezone:K}),ne=(0,de.Z)(((e,t,n)=>Y(e,t,n))),oe=r.useMemo((()=>u&&F.includes("hours")?F.includes("meridiem")?F:[...F,"meridiem"]:F),[u,F]),{view:ae,setValueAndGoToView:ie,focusedView:se}=(0,f.B)({view:A,views:oe,openTo:N,onViewChange:E,onChange:ne,focusedView:B,onFocusedViewChange:$}),le=(0,de.Z)((e=>{ie(e,null,"meridiem")})),{meridiemMode:ce,handleMeridiemChange:ue}=(0,h.iC)(te,u,le,"finish"),pe=r.useCallback(((e,t)=>{const r=(0,m.X4)(P,n),o="hours"===t||"minutes"===t&&oe.includes("seconds"),a=({start:e,end:t})=>(!k||!r(k,t))&&((!Z||!r(e,Z))&&((!D||!r(e,_))&&(!T||!r(_,o?t:e)))),i=(e,r=1)=>{if(e%r!==0)return!1;if(null!=O&&O(e,t))return!1;if(R)switch(t){case"hours":return!R(n.setHours(te,e),"hours");case"minutes":return!R(n.setMinutes(te,e),"minutes");case"seconds":return!R(n.setSeconds(te,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=(0,m.b_)(e,ce,u),r=n.setHours(te,t);return!a({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!i(t)}case"minutes":{const t=n.setMinutes(te,e);return!a({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!i(e,M)}case"seconds":{const t=n.setSeconds(te,e);return!a({start:t,end:t})||!i(e)}default:throw new Error("not supported")}}),[u,te,P,Z,ce,k,M,O,R,n,D,T,_,oe]),me=(0,de.Z)(((e,t)=>{const n=oe.indexOf(e),r=oe[n+1];ie(t,r,e)})),fe=r.useCallback((e=>{switch(e){case"hours":return{onChange:e=>{const t=(0,m.b_)(e,ce,u);me("hours",n.setHours(te,t))},items:Te({now:_,value:q,ampm:u,utils:n,isDisabled:e=>z||pe(e,"hours"),timeStep:Q.hours,resolveAriaLabel:X.hoursClockNumberText})};case"minutes":return{onChange:e=>{me("minutes",n.setMinutes(te,e))},items:Me({value:n.getMinutes(te),utils:n,isDisabled:e=>z||pe(e,"minutes"),resolveLabel:e=>n.format(n.setMinutes(_,e),"minutes"),timeStep:Q.minutes,hasValue:!!q,resolveAriaLabel:X.minutesClockNumberText})};case"seconds":return{onChange:e=>{me("seconds",n.setSeconds(te,e))},items:Me({value:n.getSeconds(te),utils:n,isDisabled:e=>z||pe(e,"seconds"),resolveLabel:e=>n.format(n.setSeconds(_,e),"seconds"),timeStep:Q.seconds,hasValue:!!q,resolveAriaLabel:X.secondsClockNumberText})};case"meridiem":{const e=(0,L.lu)(n,"am"),t=(0,L.lu)(n,"pm");return{onChange:ue,items:[{value:"am",label:e,isSelected:()=>!!q&&"am"===ce,ariaLabel:e},{value:"pm",label:t,isSelected:()=>!!q&&"pm"===ce,ariaLabel:t}]}}default:throw new Error(`Unknown view: ${e}
54 found.`)}}),[_,q,u,n,Q.hours,Q.minutes,Q.seconds,X.hoursClockNumberText,X.minutesClockNumberText,X.secondsClockNumberText,ce,me,te,z,pe,ue]),he=r.useMemo((()=>oe.reduce(((e,t)=>(0,o.Z)({},e,{[t]:fe(t)})),{})),[oe,fe]),ge=s,ve=(e=>{const{classes:t}=e;return(0,c.Z)({root:["root"]},Ce,t)})(ge);return(0,I.jsx)(Oe,(0,o.Z)({ref:t,className:(0,i.Z)(ve.root,j),ownerState:ge,role:"group"},G,{children:Object.entries(he).map((([e,t])=>(0,I.jsx)(De,{items:t.items,onChange:t.onChange,active:ae===e,autoFocus:null!=g?g:se===e,disabled:z,readOnly:H,slots:null!=y?y:v,slotProps:null!=w?w:b,skipDisabled:W,"aria-label":X.selectViewText(e)},e)))}))})),Ve=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:a,defaultValue:i,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:p,minTime:f,maxTime:h,shouldDisableTime:g,shouldDisableClock:v,minutesStep:b,ampm:y,ampmInClock:w,components:x,componentsProps:C,slots:S,slotProps:P,readOnly:Z,disabled:k,sx:D,autoFocus:T,showViewSwitcher:M,disableIgnoringDatePartForTimeValidation:O,timezone:R})=>(0,I.jsx)(le,{view:e,onViewChange:t,focusedView:n&&(0,m.Is)(n)?n:null,onFocusedViewChange:r,views:o.filter(m.Is),value:a,defaultValue:i,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:p,minTime:f,maxTime:h,shouldDisableTime:g,shouldDisableClock:v,minutesStep:b,ampm:y,ampmInClock:w,components:x,componentsProps:C,slots:S,slotProps:P,readOnly:Z,disabled:k,sx:D,autoFocus:T,showViewSwitcher:M,disableIgnoringDatePartForTimeValidation:O,timezone:R}),Ae=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:a,defaultValue:i,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:p,minTime:f,maxTime:h,shouldDisableTime:g,shouldDisableClock:v,minutesStep:b,ampm:y,components:w,componentsProps:x,slots:C,slotProps:S,readOnly:P,disabled:Z,sx:k,autoFocus:D,disableIgnoringDatePartForTimeValidation:T,timeSteps:M,skipDisabled:O,t
54imezone:R})=>(0,I.jsx)(xe,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o.filter(m.Is),value:a,defaultValue:i,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:p,minTime:f,maxTime:h,shouldDisableTime:g,shouldDisableClock:v,minutesStep:b,ampm:y,components:w,componentsProps:x,slots:C,slotProps:S,readOnly:P,disabled:Z,sx:k,autoFocus:D,disableIgnoringDatePartForTimeValidation:T,timeStep:null==M?void 0:M.minutes,skipDisabled:O,timezone:R}),Fe=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:a,defaultValue:i,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:p,minTime:f,maxTime:h,shouldDisableTime:g,shouldDisableClock:v,minutesStep:b,ampm:y,components:w,componentsProps:x,slots:C,slotProps:S,readOnly:P,disabled:Z,sx:k,autoFocus:D,disableIgnoringDatePartForTimeValidation:T,timeSteps:M,skipDisabled:O,timezone:R})=>(0,I.jsx)(Re,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o.filter(m.Is),value:a,defaultValue:i,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:p,minTime:f,maxTime:h,shouldDisableTime:g,shouldDisableClock:v,minutesStep:b,ampm:y,components:w,componentsProps:x,slots:C,slotProps:S,readOnly:P,disabled:Z,sx:k,autoFocus:D,disableIgnoringDatePartForTimeValidation:T,timeSteps:M,skipDisabled:O,t
54imezone:R})},78492:function(e,t,n){n.d(t,{Oq:function(){return p},dO:function(){return l},jn:function(){return a},iz:function(){return m},Dz:function(){return o},cv:function(){return u},oc:function(){return d}});var r="Invariant failed";var o=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}},a=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},i=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},s={top:0,right:0,bottom:0,left:0},l=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?s:n,l=e.border,c=void 0===l?s:l,u=e.padding,d=void 0===u?s:u,p=o(a(t,r)),m=o(i(t,c)),f=o(i(m,d));return{marginBox:p,borderBox:o(t),paddingBox:m,contentBox:f,margin:r,border:c,padding:d}},c=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(e,t){if(!e)throw new Error(r)}(!1),n},u=function(e,t){var n,r,o=e.borderBox,a=e.border,i=e.margin,s=e.padding,c=(r=t,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return l({borderBox:c,border:a,margin:i,padding:s})},d=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),u(e,t)},p=function(e,t){var n={top:c(t.marginTop),right:c(t.marginRight),bottom:c(t.marginBottom),left:c(t.marginLeft)},r={top:c(t.paddingTop),right:c(t.paddingRight),bottom:c(t.paddingBottom),left:c(t.paddingLeft)},o={top:c(t.borderTopWidth),right:c(t.borderRightWidth),bottom:c(t.borderBottomWidth),left:c(t.borderLeftWidth)};return l({borderBox:e,margin:n,padding:r,border:o})},m=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return p(t,n)}},30845:function(e,t){var n=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function r(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(o=e[r],a=t[r],!(o===a||n(o)&&n(a)))return!1;var o,a;return!0}t.Z=function(e,t){var n;void 0===t&&(t=r);var o,a=[],i=!1;return function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return i&&n===this&&t(r,a)||(o=e.apply(this,r),i=!0,n=this,a=r),o}}},5729:function(e,t){t.Z=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r}},14416:function(e,t,n){n.d(t,{zt:function(){return u},$j:function(){return H}});var r=n(67294),o=r.createContext(null);var a=function(e){e()},i=function(){return a};var s={notify:function(){},get:function(){return[]}};function l(e,t){var n,r=s;function o(){l.onStateChange&&l.onStateChange()}function a(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=i(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var l={addNestedSub:function(e){return a(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=s)},getListeners:function(){return r}};return l}var c="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;var u=function(e){var t=e.store,n=e.context,a=e.children,i=(0,r.useMemo)((function(){var e=l(t);return{store:t,subscription:e}}),[t]),s=(0,r.useMemo)((function(){return t.getState()}),[t]);c((function(){var e=i.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,s]);var u=n||o;return r.createElement(u.Provider,{value:i},a)},d=n(87462),p=n(63366),m=n(8679),f=n.n(m),h=n(72973),g=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],v=["reactReduxForwardedRef"],b=[],y=[null,null];function w(e,t){var n=e[1];return[t.payload,n+1]}function x(e,t,n){c((function(){return e.apply(void 0,t)}),n)}function C(e,t,n,r,o,a,i){e.current=r,t.current=o,n.current=!1,a.current&&(a.current=null,i())}function S(e,t,n,r,o,a,i,s,l,c){if(e){var u=!1,d=null,p=function(){if(!u){var e,n,p=t.getState();try{e=r(p,o.current)}catch(m){n=m,d=m}n||(d=null),e===a.current?i.current||l():(a.current=e,s.current=e,i.current=!0,
54c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var P=function(){return[null,0]};function Z(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,i=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,s=n.methodName,c=void 0===s?"connectAdvanced":s,u=n.renderCountProp,m=void 0===u?void 0:u,Z=n.shouldHandleStateChanges,k=void 0===Z||Z,D=n.storeKey,T=void 0===D?"store":D,M=(n.withRef,n.forwardRef),I=void 0!==M&&M,O=n.context,R=void 0===O?o:O,V=(0,p.Z)(n,g),A=R;return function(t){var n=t.displayName||t.name||"Component",o=i(n),a=(0,d.Z)({},V,{getDisplayName:i,methodName:c,renderCountProp:m,shouldHandleStateChanges:k,storeKey:T,displayName:o,wrappedComponentName:n,WrappedComponent:t}),s=V.pure;var u=s?r.useMemo:function(e){return e()};function g(n){var o=(0,r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,p.Z)(n,v);return[n.context,e,t]}),[n]),i=o[0],s=o[1],c=o[2],m=(0,r.useMemo)((function(){return i&&i.Consumer&&(0,h.isContextConsumer)(r.createElement(i.Consumer,null))?i:A}),[i,A]),f=(0,r.useContext)(m),g=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(f)&&Boolean(f.store);var Z=g?n.store:f.store,D=(0,r.useMemo)((function(){return function(t){return e(t.dispatch,a)}(Z)}),[Z]),T=(0,r.useMemo)((function(){if(!k)return y;var e=l(Z,g?null:f.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[Z,g,f]),M=T[0],I=T[1],O=(0,r.useMemo)((function(){return g?f:(0,d.Z)({},f,{subscription:M})}),[g,f,M]),R=(0,r.useReducer)(w,b,P),V=R[0][0],F=R[1];if(V&&V.error)throw V.error;var L=(0,r.useRef)(),N=(0,r.useRef)(c),E=(0,r.useRef)(),B=(0,r.useRef)(!1),$=u((function(){return E.current&&c===N.current?E.current:D(Z.getState(),c)}),[Z,V,c]);x(C,[N,L,B,c,$,E,I]),x(S,[k,Z,M,D,N,L,B,E,I,F],[Z,M,D]);var j=(0,r.useMemo)((function(){return r.createElement(t,(0,d.Z)({},$,{ref:s}))}),[s,t,$]);return(0,r.useMemo)((function(){return k?r.createElement(m.Provider,{value:O},j):j}),[m,j,O])}var Z=s?r.memo(g):g;if(Z.WrappedComponent=t,Z.displayName=g.displayName=o,I){var D=r.forwardRef((function(e,t){return r.createElement(Z,(0,d.Z)({},e,{reactReduxForwardedRef:t}))}));return D.displayName=o,D.WrappedComponent=t,f()(D,t)}return f()(Z,t)}}function k(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function D(e,t){if(k(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!k(e[n[o]],t[n[o]]))return!1;return!0}function T(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function M(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function I(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=M(e);var o=r(t,n);return"function"===typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=M(o),o=r(t,n)),o},r}}var O=[function(e){return"function"===typeof e?I(e):void 0},function(e){return e?void 0:T((function(e){return{dispatch:e}}))},function(e){return e&&"object"===typeof e?T((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"===typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}];var R=[function(e){return"function"===typeof e?I(e):void 0},function(e){return e?void 0:T((function(){return{}}))}];function V(e,t,n){return(0,d.Z)({},n,e,t)}var A=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,a=n.areMergedPropsEqual,i=!1;return function(t,n,s){var l=e(t,n,s);return i?o&&a(l,r)||(r=l):(i=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return V}}],F=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function L(e,t,n,r){return function(o,a){return n(e(o,a),t(r,a),a)}}function N(e,t,n,r,o){var a,i,s,l,c,u=o.areStatesEqual,d=o.areOwnPropsEqual,p=o.areStatePropsEqual,m=!1;function f(o,m){var f=!d(m,i),h=!u(o,a,m,i);
54return a=o,i=m,f&&h?(s=e(a,i),t.dependsOnOwnProps&&(l=t(r,i)),c=n(s,l,i)):f?(e.dependsOnOwnProps&&(s=e(a,i)),t.dependsOnOwnProps&&(l=t(r,i)),c=n(s,l,i)):h?function(){var t=e(a,i),r=!p(t,s);return s=t,r&&(c=n(s,l,i)),c}():c}return function(o,u){return m?f(o,u):(s=e(a=o,i=u),l=t(r,i),c=n(s,l,i),m=!0,c)}}function E(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,a=(0,p.Z)(t,F),i=n(e,a),s=r(e,a),l=o(e,a);return(a.pure?N:L)(i,s,l,e,a)}var B=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function $(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function j(e,t){return e===t}function z(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?Z:n,o=t.mapStateToPropsFactories,a=void 0===o?R:o,i=t.mapDispatchToPropsFactories,s=void 0===i?O:i,l=t.mergePropsFactories,c=void 0===l?A:l,u=t.selectorFactory,m=void 0===u?E:u;return function(e,t,n,o){void 0===o&&(o={});var i=o,l=i.pure,u=void 0===l||l,f=i.areStatesEqual,h=void 0===f?j:f,g=i.areOwnPropsEqual,v=void 0===g?D:g,b=i.areStatePropsEqual,y=void 0===b?D:b,w=i.areMergedPropsEqual,x=void 0===w?D:w,C=(0,p.Z)(i,B),S=$(e,a,"mapStateToProps"),P=$(t,s,"mapDispatchToProps"),Z=$(n,c,"mergeProps");return r(m,(0,d.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:S,initMapDispatchToProps:P,initMergeProps:Z,pure:u,areStatesEqual:h,areOwnPropsEqual:v,areStatePropsEqual:y,areMergedPropsEqual:x},C))}}var H=z();var W,U=n(73935);W=U.unstable_batchedUpdates,a=W},88359:function(e,t){var n=60103,r=60106,o=60107,a=60108,i=60114,s=60109,l=60110,c=60112,u=60113,d=60120,p=60115,m=60116,f=60121,h=60122,g=60117,v=60129,b=60131;if("function"===typeof Symbol&&Symbol.for){var y=Symbol.for;n=y("react.element"),r=y("react.portal"),o=y("react.fragment"),a=y("react.strict_mode"),i=y("react.profiler"),s=y("react.provider"),l=y("react.context"),c=y("react.forward_ref"),u=y("react.suspense"),d=y("react.suspense_list"),p=y("react.memo"),m=y("react.lazy"),f=y("react.block"),h=y("react.server.block"),g=y("react.fundamental"),v=y("react.debug_trace_mode"),b=y("react.legacy_hidden")}function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case i:case a:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case m:case p:case s:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return w(e)===l}},72973:function(e,t,n){e.exports=n(88359)},45217:function(e,t,n){n.d(t,{md:function(){return h},DE:function(){return m},qC:function(){return f},MT:function(){return d}});var r=n(4942);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"===typeof Symbol&&Symbol.observable||"@@observable",l=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+l(),REPLACE:"@@redux/REPLACE"+l(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+l()}};function u(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function d(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(i(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(i(1));return n(d)(e,t)}if("function"!==typeof e)throw new Error(i(2));var o=e,a=t,l=[],p=l,m=!1;function f(){p===l&&(p=l.slice())}function h(){if(m)throw new Error(i(3));return a}function g(e){if("function"!==typeof e)throw new Error(i(4));if(m)throw new Error(i(5));var t=!0;return f(),p.push(e),function(){if(t){if(m)throw new Error(i(6));t=!1,f();var n=p.indexOf(e);p.splice(n,1),l=null}}}function v(e){if(!u(e))throw new Error(i(7));if("undefined"===typeof e.type)throw new Error(i(8));if(m)throw new Error(i(9));try{m=!0,a=o(a,e)}finally{m=!1}for(var t=l=p,n=0;n<t.length;n++){(0,t[n])()}return e}function b(e){if("function"!==typeof e)throw new Error(i(10));o=e,v({type:c.REPLACE})}function y(){var e,t=g;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(i(11));function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[s]=function(){return this},e}return v({type:c.INIT}),(r={dispatch:v,subscribe:g,getState:h,replaceReducer:b})[s]=y,r}function p(e,t){return function(){return t(e.apply(this,arguments))}}function m(e,t){if("function"===typeof e)return p(e,t);if("object"!==typeof e||null===e)throw new Error(i(16));var n={};for(var r in e){var o=e[r];"function"===typeof o&&(n[r]=p(o,t))}return n}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(i(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},s=t.map((function(e){return e(o)}
54));return r=f.apply(void 0,s)(n.dispatch),a(a({},n),{},{dispatch:r})}}}},51163:function(e,t,n){n.d(t,{I4:function(){return i},Ye:function(){return a}});var r=n(67294);function o(e,t){var n=(0,r.useState)((function(){return{inputs:t,result:e()}}))[0],o=(0,r.useRef)(!0),a=(0,r.useRef)(n),i=o.current||Boolean(t&&a.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,a.current.inputs))?a.current:{inputs:t,result:e()};return(0,r.useEffect)((function(){o.current=!1,a.current=i}),[i]),i.result}var a=o,i=function(e,t){return o((function(){return e}),t)}},99382:function(e,t,n){var r=n(83454),o=n(48764).lW,a="undefined"!=typeof self?self:global;const i="undefined"!=typeof navigator,s=i&&"undefined"==typeof HTMLImageElement,l=!("undefined"==typeof global||"undefined"==typeof r||!r.versions||!r.versions.node),c=a.Buffer,u=a.BigInt,d=!!c,p=e=>e;function m(e,t=p){if(l)try{return"function"==typeof require?Promise.resolve(t(require(e))):import(e).then(t)}catch(t){console.warn(`Couldn't load ${e}`)}}let f=a.fetch;if(!a.fetch){const e=m("http",(e=>e)),t=m("https",(e=>e)),n=(r,{headers:a}={})=>new Promise((async(i,s)=>{let{port:l,hostname:c,pathname:u,protocol:d,search:p}=new URL(r);const m={method:"GET",hostname:c,path:encodeURI(u)+p,headers:a};""!==l&&(m.port=Number(l));const f=("https:"===d?await t:await e).request(m,(e=>{if(301===e.statusCode||302===e.statusCode){let t=new URL(e.headers.location,r).toString();return n(t,{headers:a}).then(i).catch(s)}i({status:e.statusCode,arrayBuffer:()=>new Promise((t=>{let n=[];e.on("data",(e=>n.push(e))),e.on("end",(()=>t(o.concat(n))))}))})}));f.on("error",s),f.end()}));(e=>{f=e})(n)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=e=>b(e)?void 0:e,v=e=>void 0!==e;function b(e){return void 0===e||(e instanceof Map?0===e.size:0===Object.values(e).filter(v).length)}function y(e){let t=new Error(e);throw delete t.stack,t}function w(e){return""===(e=function(e){for(;e.endsWith("\0");)e=e.slice(0,-1);return e}(e).trim())?void 0:e}function x(e){let t=function(e){let t=0;return e.ifd0.enabled&&(t+=1024),e.exif.enabled&&(t+=2048),e.makerNote&&(t+=2048),e.userComment&&(t+=1024),e.gps.enabled&&(t+=512),e.interop.enabled&&(t+=100),e.ifd1.enabled&&(t+=1024),t+2048}(e);return e.jfif.enabled&&(t+=50),e.xmp.enabled&&(t+=2e4),e.iptc.enabled&&(t+=14e3),e.icc.enabled&&(t+=6e3),t}const C=e=>String.fromCharCode.apply(null,e),S="undefined"!=typeof TextDecoder?new TextDecoder("utf-8"):void 0;function P(e){return S?S.decode(e):d?o.from(e).toString("utf8"):decodeURIComponent(escape(C(e)))}class Z{static from(e,t){return e instanceof this&&e.le===t?e:new Z(e,void 0,void 0,t)}constructor(e,t=0,n,r){if("boolean"==typeof r&&(this.le=r),Array.isArray(e)&&(e=new Uint8Array(e)),0===e)this.byteOffset=0,this.byteLength=0;else if(e instanceof ArrayBuffer){void 0===n&&(n=e.byteLength-t);let r=new DataView(e,t,n);this._swapDataView(r)}else if(e instanceof Uint8Array||e instanceof DataView||e instanceof Z){void 0===n&&(n=e.byteLength-t),(t+=e.byteOffset)+n>e.byteOffset+e.byteLength&&y("Creating view outside of available memory in ArrayBuffer");let r=new DataView(e.buffer,t,n);this._swapDataView(r)}else if("number"==typeof e){let t=new DataView(new ArrayBuffer(e));this._swapDataView(t)}else y("Invalid input argument for BufferView: "+e)}_swapArrayBuffer(e){this._swapDataView(new DataView(e))}_swapBuffer(e){this._swapDataView(new DataView(e.buffer,e.byteOffset,e.byteLength))}_swapDataView(e){this.dataView=e,this.buffer=e.buffer,this.byteOffset=e.byteOffset,this.byteLength=e.byteLength}_lengthToEnd(e){return this.byteLength-e}set(e,t,n=Z){return e instanceof DataView||e instanceof Z?e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e instanceof ArrayBuffer&&(e=new Uint8Array(e)),e instanceof Uint8Array||y("BufferView.set(): Invalid data argument."),this.toUint8().set(e,t),new n(this,t,e.byteLength)}subarray(e,t){return t=t||this._lengthToEnd(e),new Z(this,e,t)}toUint8(){return new Uint8Array(this.buffer,this.byteOffset,this.byteLength)}getUint8Array(e,t){return new Uint8Array(this.buffer,this.byteOffset+e,t)}getString(e=0,t=this.byteLength){return P(this.getUint8Array(e,t))}getLatin1String(e=0,t=this.byteLength){let n=this.getUint8Array(e,t);return C(n)}getUnicodeString(e=0,t=this.byteLength){const n=[];for(let r=0;r<t&&e+r<this.byteLength;r+=2)n.push(this.getUint16(e+r));return C(n)}getInt8(e){return this.dataView.getInt8(e)}getUint8(e){return this.dataView.getUint8(e)}getInt16(e,t=this.le){return this.dataView.getInt16(e,t)}getInt32(e,t=this.le){return this.dataView.getInt32(e,t)}getUint16(e,t=this.le){return this.dataView.getUint16(e,t)}getUint32(e,t=this.le){return this.dataView.getUint32(e,t)}getFloat32(e,t=this.le){return this.dataView.getFloat32(e,t)}getFloat64(e,t=this.le){return this.dataView.getFloat64(e,t)}
vendor: 30,670 bytes, line 54
54getFloat(e,t=this.le){return this.dataView.getFloat32(e,t)}getDouble(e,t=this.le){return this.dataView.getFloat64(e,t)}getUintBytes(e,t,n){switch(t){case 1:return this.getUint8(e,n);case 2:return this.getUint16(e,n);case 4:return this.getUint32(e,n);case 8:return this.getUint64&&this.getUint64(e,n)}}getUint(e,t,n){switch(t){case 8:return this.getUint8(e,n);case 16:return this.getUint16(e,n);case 32:return this.getUint32(e,n);case 64:return this.getUint64&&this.getUint64(e,n)}}toString(e){return this.dataView.toString(e,this.constructor.name)}ensureChunk(){}}function k(e,t){y(`${e} '${t}' was not loaded, try using full build of exifr.`)}class D extends Map{constructor(e){super(),this.kind=e}get(e,t){return this.has(e)||k(this.kind,e),t&&(e in t||function(e,t){y(`Unknown ${e} '${t}'.`)}(this.kind,e),t[e].enabled||k(this.kind,e)),super.get(e)}keyList(){return Array.from(this.keys())}}var T=new D("file parser"),M=new D("segment parser"),I=new D("file reader");function O(e,t){return"string"==typeof e?R(e,t):i&&!s&&e instanceof HTMLImageElement?R(e.src,t):e instanceof Uint8Array||e instanceof ArrayBuffer||e instanceof DataView?new Z(e):i&&e instanceof Blob?V(e,t,"blob",L):void y("Invalid input argument")}function R(e,t){return(n=e).startsWith("data:")||n.length>1e4?A(e,t,"base64"):l&&e.includes("://")?V(e,t,"url",F):l?A(e,t,"fs"):i?V(e,t,"url",F):void y("Invalid input argument");var n}async function V(e,t,n,r){return I.has(n)?A(e,t,n):r?async function(e,t){let n=await t(e);return new Z(n)}(e,r):void y(`Parser ${n} is not loaded`)}async function A(e,t,n){let r=new(I.get(n))(e,t);return await r.read(),r}const F=e=>f(e).then((e=>e.arrayBuffer())),L=e=>new Promise(((t,n)=>{let r=new FileReader;r.onloadend=()=>t(r.result||new ArrayBuffer),r.onerror=n,r.readAsArrayBuffer(e)}));class N extends Map{get tagKeys(){return this.allKeys||(this.allKeys=Array.from(this.keys())),this.allKeys}get tagValues(){return this.allValues||(this.allValues=Array.from(this.values())),this.allValues}}function E(e,t,n){let r=new N;for(let[o,a]of n)r.set(o,a);if(Array.isArray(t))for(let o of t)e.set(o,r);else e.set(t,r);return r}function B(e,t,n){let r,o=e.get(t);for(r of n)o.set(r[0],r[1])}const $=new Map,j=new Map,z=new Map,H=["chunked","firstChunkSize","firstChunkSizeNode","firstChunkSizeBrowser","chunkSize","chunkLimit"],W=["jfif","xmp","icc","iptc","ihdr"],U=["tiff",...W],G=["ifd0","ifd1","exif","gps","interop"],q=[...U,...G],Y=["makerNote","userComment"],K=["translateKeys","translateValues","reviveValues","multiSegment"],X=[...K,"sanitize","mergeOutput","silentErrors"];class _{get translate(){return this.translateKeys||this.translateValues||this.reviveValues}}class Q extends _{get needed(){return this.enabled||this.deps.size>0}constructor(e,t,n,r){if(super(),h(this,"enabled",!1),h(this,"skip",new Set),h(this,"pick",new Set),h(this,"deps",new Set),h(this,"translateKeys",!1),h(this,"translateValues",!1),h(this,"reviveValues",!1),this.key=e,this.enabled=t,this.parse=this.enabled,this.applyInheritables(r),this.canBeFiltered=G.includes(e),this.canBeFiltered&&(this.dict=$.get(e)),void 0!==n)if(Array.isArray(n))this.parse=this.enabled=!0,this.canBeFiltered&&n.length>0&&this.translateTagSet(n,this.pick);else if("object"==typeof n){if(this.enabled=!0,this.parse=!1!==n.parse,this.canBeFiltered){let{pick:e,skip:t}=n;e&&e.length>0&&this.translateTagSet(e,this.pick),t&&t.length>0&&this.translateTagSet(t,this.skip)}this.applyInheritables(n)}else!0===n||!1===n?this.parse=this.enabled=n:y(`Invalid options argument: ${n}`)}applyInheritables(e){let t,n;for(t of K)n=e[t],void 0!==n&&(this[t]=n)}translateTagSet(e,t){if(this.dict){let n,r,{tagKeys:o,tagValues:a}=this.dict;for(n of e)"string"==typeof n?(r=a.indexOf(n),-1===r&&(r=o.indexOf(Number(n))),-1!==r&&t.add(Number(o[r]))):t.add(n)}else for(let n of e)t.add(n)}finalizeFilters(){!this.enabled&&this.deps.size>0?(this.enabled=!0,oe(this.pick,this.deps)):this.enabled&&this.pick.size>0&&oe(this.pick,this.deps)}}var J={jfif:!1,tiff:!0,xmp:!1,icc:!1,iptc:!1,ifd0:!0,ifd1:!1,exif:!0,gps:!0,interop:!1,ihdr:void 0,makerNote:!1,userComment:!1,multiSegment:!1,skip:[],pick:[],translateKeys:!0,translateValues:!0,reviveValues:!0,sanitize:!0,mergeOutput:!0,silentErrors:!0,chunked:!0,firstChunkSize:void 0,firstChunkSizeNode:512,firstChunkSizeBrowser:65536,chunkSize:65536,chunkLimit:5},ee=new Map;class te extends _{static useCached(e){let t=ee.get(e);return void 0!==t||(t=new this(e),ee.set(e,t)),t}constructor(e){super(),!0===e?this.setupFromTrue():void 0===e?this.setupFromUndefined():Array.isArray(e)?this.setupFromArray(e):"object"==typeof e?this.setupFromObject(e):y(`Invalid options argument ${e}`),void 0===this.firstChunkSize&&(this.firstChunkSize=i?this.firstChunkSizeBrowser:this.firstChunkSizeNode),this.mergeOutput&&(this.ifd1.enabled=!1),this.filterNestedSegmentTags(),this.traverseTiffDependencyTree(),this.checkLoadedPlugins()}setupFromUndefined(){let e;for(e of H)this[e]=J[e];for(e of X)this[e]=J[e];for(e of Y)this[e]=J[e];for(e of q)this[e]=new Q(e,J[e],void 0,this)}setupFromTrue(){let e;for(e of H)this[e]=J[e];for(e of X)this[e]=J[e];for(e of Y)this[e]=!0;for(e of q)this[e]=new Q(e,!0,void 0,this)}setupFromArray(e){let t;for(t of H)this[t]=J[t];for(t of X)this[t]=J[t];for(t of Y)this[t]=J[t];for(t of q)this[t]=new Q(t,!1,void 0,this);this.setupGlobalFilters(e,void 0,G)}setupFromObject(e){let t;for(t of(G.ifd0=G.ifd0||G.image,G.ifd1=G.ifd1||G.thumbnail,Object.assign(this,e),H))this[t]=re(e[t],J[t]);for(t of X)this[t]=re(e[t],J[t]);for(t of Y)this[t]=re(e[t],J[t]);for(t of U)this[t]=new Q(t,J[t],e[t],this);for(t of G)this[t]=new Q(t,J[t],e[t],this.tiff);this.setupGlobalFilters(e.pick,e.skip,G,q),!0===e.tiff?this.batchEnableWithBool(G,!0):!1===e.tiff?this.batchEnableWithUserValue(G,e):Array.isArray(e.tiff)?this.setupGlobalFilters(e.tiff,void 0,G):"object"==typeof e.tiff&&this.setupGlobalFilters(e.tiff.pick,e.tiff.skip,G)}batchEnableWithBool(e,t){for(let n of e)this[n].enabled=t}batchEnableWithUserValue(e,t){for(let n of e){let e=t[n];this[n].enabled=!1!==e&&void 0!==e}}setupGlobalFilters(e,t,n,r=n){if(e&&e.length){for(let e of r)this[e].enabled=!1;let t=ne(e,n);for(let[e,n]of t)oe(this[e].pick,n),this[e].enabled=!0}else if(t&&t.length){let e=ne(t,n);for(let[t,n]of e)oe(this[t].skip,n)}}filterNestedSegmentTags(){let{ifd0:e,exif:t,xmp:n,iptc:r,icc:o}=this;this.makerNote?t.deps.add(37500):t.skip.add(37500),this.userComment?t.deps.add(37510):t.skip.add(37510),n.enabled||e.skip.add(700),r.enabled||e.skip.add(33723),o.enabled||e.skip.add(34675)}traverseTiffDependencyTree(){let{ifd0:e,exif:t,gps:n,interop:r}=this;r.needed&&(t.deps.add(40965),e.deps.add(40965)),t.needed&&e.deps.add(34665),n.needed&&e.deps.add(34853),this.tiff.enabled=G.some((e=>!0===this[e].enabled))||this.makerNote||this.userComment;for(let o of G)this[o].finalizeFilters()}get onlyTiff(){return!W.map((e=>this[e].enabled)).some((e=>!0===e))&&this.tiff.enabled}checkLoadedPlugins(){for(let e of U)this[e].enabled&&!M.has(e)&&k("segment parser",e)}}function ne(e,t){let n,r,o,a,i=[];for(o of t){for(a of(n=$.get(o),r=[],n))(e.includes(a[0])||e.includes(a[1]))&&r.push(a[0]);r.length&&i.push([o,r])}return i}function re(e,t){return void 0!==e?e:void 0!==t?t:void 0}function oe(e,t){for(let n of t)e.add(n)}h(te,"default",J);class ae{constructor(e){h(this,"parsers",{}),h(this,"output",{}),h(this,"errors",[]),h(this,"pushToErrors",(e=>this.errors.push(e))),this.options=te.useCached(e)}async read(e){this.file=await O(e,this.options)}setup(){if(this.fileParser)return;let{file:e}=this,t=e.getUint16(0);for(let[n,r]of T)if(r.canHandle(e,t))return this.fileParser=new r(this.options,this.file,this.parsers),e[n]=!0;this.file.close&&this.file.close(),y("Unknown file format")}async parse(){let{output:e,errors:t}=this;return this.setup(),this.options.silentErrors?(await this.executeParsers().catch(this.pushToErrors),t.push(...this.fileParser.errors)):await this.executeParsers(),this.file.close&&this.file.close(),this.options.silentErrors&&t.length>0&&(e.errors=t),g(e)}async executeParsers(){let{output:e}=this;await this.fileParser.parse();let t=Object.values(this.parsers).map((async t=>{let n=await t.parse();t.assignToOutput(e,n)}));this.options.silentErrors&&(t=t.map((e=>e.catch(this.pushToErrors)))),await Promise.all(t)}async extractThumbnail(){this.setup();let{options:e,file:t}=this,n=M.get("tiff",e);var r;if(t.tiff?r={start:0,type:"tiff"}:t.jpeg&&(r=await this.fileParser.getOrFindSegment("tiff")),void 0===r)return;let o=await this.fileParser.ensureSegmentChunk(r),a=this.parsers.tiff=new n(o,e,t),i=await a.extractThumbnail();return t.close&&t.close(),i}}async function ie(e,t){let n=new ae(t);return await n.read(e),n.parse()}var se=Object.freeze({__proto__:null,parse:ie,Exifr:ae,fileParsers:T,segmentParsers:M,fileReaders:I,tagKeys:$,tagValues:j,tagRevivers:z,createDictionary:E,extendDictionary:B,fetchUrlAsArrayBuffer:F,readBlobAsArrayBuffer:L,chunkedProps:H,otherSegments:W,segments:U,tiffBlocks:G,segmentsAndBlocks:q,tiffExtractables:Y,inheritables:K,allFormatters:X,Options:te});class le{constructor(e,t,n){h(this,"errors",[]),h(this,"ensureSegmentChunk",(async e=>{let t=e.start,n=e.size||65536;if(this.file.chunked)if(this.file.available(t,n))e.chunk=this.file.subarray(t,n);else try{e.chunk=await this.file.readChunk(t,n)}catch(t){y(`Couldn't read segment: ${JSON.stringify(e)}. ${t.message}`)}else this.file.byteLength>t+n?e.chunk=this.file.subarray(t,n):void 0===e.size?e.chunk=this.file.subarray(t):y("Segment unreachable: "+JSON.stringify(e));return e.chunk})),this.extendOptions&&this.extendOptions(e),this.options=e,this.file=t,this.parsers=n}injectSegment(e,t){this.options[e].enabled&&this.createParser(e,t)}createParser(e,t){let n=new(M.get(e))(t,this.options,this.file);return this.parsers[e]=n}createParsers(e){for(let t of e){let{type:e,chunk:n}=t,r=this.options[e];if(r&&r.enabled){let t=this.parsers[e];t&&t.append||t||this.createParser(e,n)}}}async readSegments(e){let t=e.map(this.ensureSegmentChunk);await Promise.all(t)}}class ce{static findPosition(e,t){let n=e.getUint16(t+2)+2,r="function"==typeof this.headerLength?this.headerLength(e,t,n):this.headerLength,o=t+r,a=n-r;return{offset:t,length:n,headerLength:r,start:o,size:a,end:o+a}}static parse(e,t={}){return new this(e,new te({[this.type]:t}),e).parse()}normalizeInput(e){return e instanceof Z?e:new Z(e)}constructor(e,t={},n){h(this,"errors",[]),h(this,"raw",new Map),h(this,"handleError",(e=>{if(!this.options.silentErrors)throw e;this.errors.push(e.message)})),this.chunk=this.normalizeInput(e),this.file=n,this.type=this.constructor.type,this.globalOptions=this.options=t,this.localOptions=t[this.type],this.canTranslate=this.localOptions&&this.localOptions.translate}translate(){this.canTranslate&&(this.translated=this.translateBlock(this.raw,this.type))}get output(){return this.translated?this.translated:this.raw?Object.fromEntries(this.raw):void 0}translateBlock(e,t){let n=z.get(t),r=j.get(t),o=$.get(t),a=this.options[t],i=a.reviveValues&&!!n,s=a.translateValues&&!!r,l=a.translateKeys&&!!o,c={};for(let[u,d]of e)i&&n.has(u)?d=n.get(u)(d):s&&r.has(u)&&(d=this.translateValue(d,r.get(u))),l&&o.has(u)&&(u=o.get(u)||u),c[u]=d;return c}translateValue(e,t){return t[e]||t.DEFAULT||e}assignToOutput(e,t){this.assignObjectToOutput(e,this.constructor.type,t)}assignObjectToOutput(e,t,n){if(this.globalOptions.mergeOutput)return Object.assign(e,n);e[t]?Object.assign(e[t],n):e[t]=n}}function ue(e){return 192===e||194===e||196===e||219===e||221===e||218===e||254===e}function de(e){return e>=224&&e<=239}function pe(e,t,n){for(let[r,o]of M)if(o.canHandle(e,t,n))return r}h(ce,"headerLength",4),h(ce,"type",void 0),h(ce,"multiSegment",!1),h(ce,"canHandle",(()=>!1));class me extends le{constructor(...e){super(...e),h(this,"appSegments",[]),h(this,"jpegSegments",[]),h(this,"unknownSegments",[])}static canHandle(e,t){return 65496===t}async parse(){await this.findAppSegments(),await this.readSegments(this.appSegments),this.mergeMultiSegments(),this.createParsers(this.mergedAppSegments||this.appSegments)}setupSegmentFinderArgs(e){!0===e?(this.findAll=!0,this.wanted=new Set(M.keyList())):(e=void 0===e?M.keyList().filter((e=>this.options[e].enabled)):e.filter((e=>this.options[e].enabled&&M.has(e))),this.findAll=!1,this.remaining=new Set(e),this.wanted=new Set(e)),this.unfinishedMultiSegment=!1}async findAppSegments(e=0,t){this.setupSegmentFinderArgs(t);let{file:n,findAll:r,wanted:o,remaining:a}=this;if(!r&&this.file.chunked&&(r=Array.from(o).some((e=>{let t=M.get(e),n=this.options[e];return t.multiSegment&&n.multiSegment})),r&&await this.file.readWhole()),e=this.findAppSegmentsInRange(e,n.byteLength),!this.options.onlyTiff&&n.chunked){let t=!1;for(;a.size>0&&!t&&(n.canReadNextChunk||this.unfinishedMultiSegment);){let{nextChunkOffset:r}=n,o=this.appSegments.some((e=>!this.file.available(e.offset||e.start,e.length||e.size)));if(t=e>r&&!o?!(await n.readNextChunk(e)):!(await n.readNextChunk(r)),void 0===(e=this.findAppSegmentsInRange(e,n.byteLength)))return}}}findAppSegmentsInRange(e,t){t-=2;let n,r,o,a,i,s,{file:l,findAll:c,wanted:u,remaining:d,options:p}=this;for(;e<t;e++)if(255===l.getUint8(e))if(n=l.getUint8(e+1),de(n)){if(r=l.getUint16(e+2),o=pe(l,e,r),o&&u.has(o)&&(a=M.get(o),i=a.findPosition(l,e),s=p[o],i.type=o,this.appSegments.push(i),!c&&(a.multiSegment&&s.multiSegment?(this.unfinishedMultiSegment=i.chunkNumber<i.chunkCount,this.unfinishedMultiSegment||d.delete(o)):d.delete(o),0===d.size)))break;p.recordUnknownSegments&&(i=ce.findPosition(l,e),i.marker=n,this.unknownSegments.push(i)),e+=r+1}else if(ue(n)){if(r=l.getUint16(e+2),218===n&&!1!==p.stopAfterSos)return;p.recordJpegSegments&&this.jpegSegments.push({offset:e,length:r,marker:n}),e+=r+1}return e}mergeMultiSegments(){if(!this.appSegments.some((e=>e.multiSegment)))return;let e=function(e,t){let n,r,o,a=new Map;for(let i=0;i<e.length;i++)n=e[i],r=n.type,a.has(r)?o=a.get(r):a.set(r,o=[]),o.push(n);return Array.from(a)}(this.appSegments);this.mergedAppSegments=e.map((([e,t])=>{let n=M.get(e,this.options);return n.handleMultiSegments?{type:e,chunk:n.handleMultiSegments(t)}:t[0]}))}getSegment(e){return this.appSegments.find((t=>t.type===e))}async getOrFindSegment(e){let t=this.getSegment(e);return void 0===t&&(await this.findAppSegments(0,[e]),t=this.getSegment(e)),t}}h(me,"type","jpeg"),T.set("jpeg",me);const fe=[void 0,1,1,2,4,8,1,1,2,4,8,4,8,4];class he extends ce{parseHeader(){var e=this.chunk.getUint16();18761===e?this.le=!0:19789===e&&(this.le=!1),this.chunk.le=this.le,this.headerParsed=!0}parseTags(e,t,n=new Map){let{pick:r,skip:o}=this.options[t];r=new Set(r);let a=r.size>0,i=0===o.size,s=this.chunk.getUint16(e);e+=2;for(let l=0;l<s;l++){let s=this.chunk.getUint16(e);if(a){if(r.has(s)&&(n.set(s,this.parseTag(e,s,t)),r.delete(s),0===r.size))break}else!i&&o.has(s)||n.set(s,this.parseTag(e,s,t));e+=12}return n}parseTag(e,t,n){let{chunk:r}=this,o=r.getUint16(e+2),a=r.getUint32(e+4),i=fe[o];if(i*a<=4?e+=8:e=r.getUint32(e+8),(o<1||o>13)&&y(`Invalid TIFF value type. block: ${n.toUpperCase()}, tag: ${t.toString(16)}, type: ${o}, offset ${e}`),e>r.byteLength&&y(`Invalid TIFF value offset. block: ${n.toUpperCase()}, tag: ${t.toString(16)}, type: ${o}, offset ${e} is outside of chunk size ${r.byteLength}`),1===o)return r.getUint8Array(e,a);if(2===o)return w(r.getString(e,a));if(7===o)return r.getUint8Array(e,a);if(1===a)return this.parseTagValue(o,e);{let t=new(function(e){switch(e){case 1:return Uint8Array;case 3:return Uint16Array;case 4:return Uint32Array;case 5:case 10:default:return Array;case 6:return Int8Array;case 8:return Int16Array;case 9:return Int32Array;case 11:return Float32Array;case 12:return Float64Array}}(o))(a),n=i;for(let r=0;r<a;r++)t[r]=this.parseTagValue(o,e),e+=n;return t}}parseTagValue(e,t){let{chunk:n}=this;switch(e){case 1:return n.getUint8(t);case 3:return n.getUint16(t);case 4:case 13:return n.getUint32(t);case 5:return n.getUint32(t)/n.getUint32(t+4);case 6:return n.getInt8(t);case 8:return n.getInt16(t);case 9:return n.getInt32(t);case 10:return n.getInt32(t)/n.getInt32(t+4);case 11:return n.getFloat(t);case 12:return n.getDouble(t);default:y(`Invalid tiff type ${e}`)}}}class ge extends he{static canHandle(e,t){return 225===e.getUint8(t+1)&&1165519206===e.getUint32(t+4)&&0===e.getUint16(t+8)}async parse(){this.parseHeader();let{options:e}=this;return e.ifd0.enabled&&await this.parseIfd0Block(),e.exif.enabled&&await this.safeParse("parseExifBlock"),e.gps.enabled&&await this.safeParse("parseGpsBlock"),e.interop.enabled&&await this.safeParse("parseInteropBlock"),e.ifd1.enabled&&await this.safeParse("parseThumbnailBlock"),this.createOutput()}safeParse(e){let t=this[e]();return void 0!==t.catch&&(t=t.catch(this.handleError)),t}findIfd0Offset(){void 0===this.ifd0Offset&&(this.ifd0Offset=this.chunk.getUint32(4))}findIfd1Offset(){if(void 0===this.ifd1Offset){this.findIfd0Offset();let e=this.chunk.getUint16(this.ifd0Offset),t=this.ifd0Offset+2+12*e;this.ifd1Offset=this.chunk.getUint32(t)}}parseBlock(e,t){let n=new Map;return this[t]=n,this.parseTags(e,t,n),n}async parseIfd0Block(){if(this.ifd0)return;let{file:e}=this;this.findIfd0Offset(),this.ifd0Offset<8&&y("Malformed EXIF data"),!e.chunked&&this.ifd0Offset>e.byteLength&&y(`IFD0 offset points to outside of file.\nthis.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${e.byteLength}`),e.tiff&&await e.ensureChunk(this.ifd0Offset,x(this.options));let t=this.parseBlock(this.ifd0Offset,"ifd0");return 0!==t.size?(this.exifOffset=t.get(34665),this.interopOffset=t.get(40965),this.gpsOffset=t.get(34853),this.xmp=t.get(700),this.iptc=t.get(33723),this.icc=t.get(34675),this.options.sanitize&&(t.delete(34665),t.delete(40965),t.delete(34853),t.delete(700),t.delete(33723),t.delete(34675)),t):void 0}async parseExifBlock(){if(this.exif)return;if(this.ifd0||await this.parseIfd0Block(),void 0===this.exifOffset)return;this.file.tiff&&await this.file.ensureChunk(this.exifOffset,x(this.options));let e=this.parseBlock(this.exifOffset,"exif");return this.interopOffset||(this.interopOffset=e.get(40965)),this.makerNote=e.get(37500),this.userComment=e.get(37510),this.options.sanitize&&(e.delete(40965),e.delete(37500),e.delete(37510)),this.unpack(e,41728),this.unpack(e,41729),e}unpack(e,t){let n=e.get(t);n&&1===n.length&&e.set(t,n[0])}async parseGpsBlock(){if(this.gps)return;if(this.ifd0||await this.parseIfd0Block(),void 0===this.gpsOffset)return;let e=this.parseBlock(this.gpsOffset,"gps");return e&&e.has(2)&&e.has(4)&&(e.set("latitude",ve(...e.get(2),e.get(1))),e.set("longitude",ve(...e.get(4),e.get(3)))),e}async parseInteropBlock(){if(!this.interop&&(this.ifd0||await this.parseIfd0Block(),void 0!==this.interopOffset||this.exif||await this.parseExifBlock(),void 0!==this.interopOffset))return this.parseBlock(this.interopOffset,"interop")}async parseThumbnailBlock(e=!1){if(!this.ifd1&&!this.ifd1Parsed&&(!this.options.mergeOutput||e))return this.findIfd1Offset(),this.ifd1Offset>0&&(this.parseBlock(this.ifd1Offset,"ifd1"),this.ifd1Parsed=!0),this.ifd1}async extractThumbnail(){if(this.headerParsed||this.parseHeader(),this.ifd1Parsed||await this.parseThumbnailBlock(!0),void 0===this.ifd1)return;let e=this.ifd1.get(513),t=this.ifd1.get(514);return this.chunk.getUint8Array(e,t)}get image(){return this.ifd0}get thumbnail(){return this.ifd1}createOutput(){let e,t,n,r={};for(t of G)if(e=this[t],!b(e))if(n=this.canTranslate?this.translateBlock(e,t):Object.fromEntries(e),this.options.mergeOutput){if("ifd1"===t)continue;Object.assign(r,n)}else r[t]=n;return this.makerNote&&(r.makerNote=this.makerNote),this.userComment&&(r.userComment=this.userComment),r}assignToOutput(e,t){if(this.globalOptions.mergeOutput)Object.assign(e,t);else for(let[n,r]of Object.entries(t))this.assignObjectToOutput(e,n,r)}}function ve(e,t,n,r){var o=e+t/60+n/3600;return"S"!==r&&"W"!==r||(o*=-1),o}h(ge,"type","tiff"),h(ge,"headerLength",10),M.set("tiff",ge);var be=Object.freeze({__proto__:null,default:se,Exifr:ae,fileParsers:T,segmentParsers:M,fileReaders:I,tagKeys:$,tagValues:j,tagRevivers:z,createDictionary:E,extendDictionary:B,fetchUrlAsArrayBuffer:F,readBlobAsArrayBuffer:L,chunkedProps:H,otherSegments:W,segments:U,tiffBlocks:G,segmentsAndBlocks:q,tiffExtractables:Y,inheritables:K,allFormatters:X,Options:te,parse:ie});const ye={ifd0:!1,ifd1:!1,exif:!1,gps:!1,interop:!1,sanitize:!1,reviveValues:!0,translateKeys:!1,translateValues:!1,mergeOutput:!1},we=Object.assign({},ye,{firstChunkSize:4e4,gps:[1,2,3,4]});async function xe(e){let t=new ae(we);await t.read(e);let n=await t.parse();if(n&&n.gps){let{latitude:e,longitude:t}=n.gps;return{latitude:e,longitude:t}}}const Ce=Object.assign({},ye,{tiff:!1,ifd1:!0,mergeOutput:!1});async function Se(e){let t=new ae(Ce);await t.read(e);let n=await t.extractThumbnail();return n&&d?c.from(n):n}async function Pe(e){let t=await this.thumbnail(e);if(void 0!==t){let e=new Blob([t]);return URL.createObjectURL(e)}}const Ze=Object.assign({},ye,{firstChunkSize:4e4,ifd0:[274]});async function ke(e){let t=new ae(Ze);await t.read(e);let n=await t.parse();if(n&&n.ifd0)return n.ifd0[274]}const De=Object.freeze({1:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:0,rad:0},2:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:0,rad:0},3:{dimensionSwapped:!1,scaleX:1,scaleY:1,deg:180,rad:180*Math.PI/180},4:{dimensionSwapped:!1,scaleX:-1,scaleY:1,deg:180,rad:180*Math.PI/180},5:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:90,rad:90*Math.PI/180},6:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:90,rad:90*Math.PI/180},7:{dimensionSwapped:!0,scaleX:1,scaleY:-1,deg:270,rad:270*Math.PI/180},8:{dimensionSwapped:!0,scaleX:1,scaleY:1,deg:270,rad:270*Math.PI/180}});let Te=!0,Me=!0;if("object"==typeof navigator){let e=navigator.userAgent;if(e.includes("iPad")||e.includes("iPhone")){let t=e.match(/OS (\d+)_(\d+)/);if(t){let[,e,n]=t,r=Number(e)+.1*Number(n);Te=r<13.4,Me=!1}}else if(e.includes("OS X 10")){let[,t]=e.match(/OS X 10[_.](\d+)/);Te=Me=Number(t)<15}if(e.includes("Chrome/")){let[,t]=e.match(/Chrome\/(\d+)/);Te=Me=Number(t)<81}else if(e.includes("Firefox/")){let[,t]=e.match(/Firefox\/(\d+)/);Te=Me=Number(t)<77}}async function Ie(e){let t=await ke(e);return Object.assign({canvas:Te,css:Me},De[t])}class Oe extends Z{constructor(...e){super(...e),h(this,"ranges",new Re),0!==this.byteLength&&this.ranges.add(0,this.byteLength)}_tryExtend(e,t,n){if(0===e&&0===this.byteLength&&n){let e=new DataView(n.buffer||n,n.byteOffset,n.byteLength);this._swapDataView(e)}else{let n=e+t;if(n>this.byteLength){let{dataView:e}=this._extend(n);this._swapDataView(e)}}}_extend(e){let t;t=d?c.allocUnsafe(e):new Uint8Array(e);let n=new DataView(t.buffer,t.byteOffset,t.byteLength);return t.set(new Uint8Array(this.buffer,this.byteOffset,this.byteLength),0),{uintView:t,dataView:n}}subarray(e,t,n=!1){return t=t||this._lengthToEnd(e),n&&this._tryExtend(e,t),this.ranges.add(e,t),super.subarray(e,t)}set(e,t,n=!1){n&&this._tryExtend(t,e.byteLength,e);let r=super.set(e,t);return this.ranges.add(t,r.byteLength),r}async ensureChunk(e,t){this.chunked&&(this.ranges.available(e,t)||await this.readChunk(e,t))}available(e,t){return this.ranges.available(e,t)}}class Re{constructor(){h(this,"list",[])}get length(){return this.list.length}add(e,t,n=0){let r=e+t,o=this.list.filter((t=>Ve(e,t.offset,r)||Ve(e,t.end,r)));if(o.length>0){e=Math.min(e,...o.map((e=>e.offset))),r=Math.max(r,...o.map((e=>e.end))),t=r-e;let n=o.shift();n.offset=e,n.length=t,n.end=r,this.list=this.list.filter((e=>!o.includes(e)))}else this.list.push({offset:e,length:t,end:r})}available(e,t){let n=e+t;return this.list.some((t=>t.offset<=e&&n<=t.end))}}function Ve(e,t,n){return e<=t&&t<=n}class Ae extends Oe{constructor(e,t){super(0),h(this,"chunksRead",0),this.input=e,this.options=t}async readWhole(){this.chunked=!1,await this.readChunk(this.nextChunkOffset)}async readChunked(){this.chunked=!0,await this.readChunk(0,this.options.firstChunkSize)}async readNextChunk(e=this.nextChunkOffset){if(this.fullyRead)return this.chunksRead++,!1;let t=this.options.chunkSize,n=await this.readChunk(e,t);return!!n&&n.byteLength===t}async readChunk(e,t){if(this.chunksRead++,0!==(t=this.safeWrapAddress(e,t)))return this._readChunk(e,t)}safeWrapAddress(e,t){return void 0!==this.size&&e+t>this.size?Math.max(0,this.size-e):t}get nextChunkOffset(){if(0!==this.ranges.list.length)return this.ranges.list[0].length}get canReadNextChunk(){return this.chunksRead<this.options.chunkLimit}get fullyRead(){return void 0!==this.size&&this.nextChunkOffset===this.size}read(){return this.options.chunked?this.readChunked():this.readWhole()}close(){}}I.set("blob",class extends Ae{async readWhole(){this.chunked=!1;let e=await L(this.input);this._swapArrayBuffer(e)}readChunked(){return this.chunked=!0,this.size=this.input.size,super.readChunked()}async _readChunk(e,t){let n=t?e+t:void 0,r=this.input.slice(e,n),o=await L(r);return this.set(o,e,!0)}});var Fe=Object.freeze({__proto__:null,default:be,Exifr:ae,fileParsers:T,segmentParsers:M,fileReaders:I,tagKeys:$,tagValues:j,tagRevivers:z,createDictionary:E,extendDictionary:B,fetchUrlAsArrayBuffer:F,readBlobAsArrayBuffer:L,chunkedProps:H,otherSegments:W,segments:U,tiffBlocks:G,segmentsAndBlocks:q,tiffExtractables:Y,inheritables:K,allFormatters:X,Options:te,parse:ie,gpsOnlyOptions:we,gps:xe,thumbnailOnlyOptions:Ce,thumbnail:Se,thumbnailUrl:Pe,orientationOnlyOptions:Ze,orientation:ke,rotations:De,get rotateCanvas(){return Te},get rotateCss(){return Me},rotation:Ie});I.set("url",class extends Ae{async readWhole(){this.chunked=!1;let e=await F(this.input);e instanceof ArrayBuffer?this._swapArrayBuffer(e):e instanceof Uint8Array&&this._swapBuffer(e)}async _readChunk(e,t){let n=t?e+t-1:void 0,r=this.options.httpHeaders||{};(e||n)&&(r.range=`bytes=${[e,n].join("-")}`);let o=await f(this.input,{headers:r}),a=await o.arrayBuffer(),i=a.byteLength;if(416!==o.status)return i!==t&&(this.size=e+i),this.set(a,e,!0)}}),Z.prototype.getUint64=function(e){let t=this.getUint32(e),n=this.getUint32(e+4);return t<1048575?t<<32|n:void 0!==typeof u?(console.warn("Using BigInt because of type 64uint but JS can only handle 53b numbers."),u(t)<<u(32)|u(n)):void y("Trying to read 64b value but JS can only handle 53b numbers.")};class Le extends le{parseBoxes(e=0){let t=[];for(;e<this.file.byteLength-4;){let n=this.parseBoxHead(e);if(t.push(n),0===n.length)break;e+=n.length}return t}parseSubBoxes(e){e.boxes=this.parseBoxes(e.start)}findBox(e,t){return void 0===e.boxes&&this.parseSubBoxes(e),e.boxes.find((e=>e.kind===t))}parseBoxHead(e){let t=this.file.getUint32(e),n=this.file.getString(e+4,4),r=e+8;return 1===t&&(t=this.file.getUint64(e+8),r+=8),{offset:e,length:t,kind:n,start:r}}parseBoxFullHead(e){if(void 0!==e.version)return;let t=this.file.getUint32(e.start);e.version=t>>24,e.start+=4}}class Ne extends Le{static canHandle(e,t){if(0!==t)return!1;let n=e.getUint16(2);if(n>50)return!1;let r=16,o=[];for(;r<n;)o.push(e.getString(r,4)),r+=4;return o.includes(this.type)}async parse(){let e=this.file.getUint32(0),t=this.parseBoxHead(e);for(;"meta"!==t.kind;)e+=t.length,await this.file.ensureChunk(e,16),t=this.parseBoxHead(e);await this.file.ensureChunk(t.offset,t.length),this.parseBoxFullHead(t),this.parseSubBoxes(t),this.options.icc.enabled&&await this.findIcc(t),this.options.tiff.enabled&&await this.findExif(t)}async registerSegment(e,t,n){await this.file.ensureChunk(t,n);let r=this.file.subarray(t,n);this.createParser(e,r)}async findIcc(e){let t=this.findBox(e,"iprp");if(void 0===t)return;let n=this.findBox(t,"ipco");if(void 0===n)return;let r=this.findBox(n,"colr");void 0!==r&&await this.registerSegment("icc",r.offset+12,r.length)}async findExif(e){let t=this.findBox(e,"iinf");if(void 0===t)return;let n=this.findBox(e,"iloc");if(void 0===n)return;let r=this.findExifLocIdInIinf(t),o=this.findExtentInIloc(n,r);if(void 0===o)return;let[a,i]=o;await this.file.ensureChunk(a,i);let s=4+this.file.getUint32(a);a+=s,i-=s,await this.registerSegment("tiff",a,i)}findExifLocIdInIinf(e){this.parseBoxFullHead(e);let t,n,r,o,a=e.start,i=this.file.getUint16(a);for(a+=2;i--;){if(t=this.parseBoxHead(a),this.parseBoxFullHead(t),n=t.start,t.version>=2&&(r=3===t.version?4:2,o=this.file.getString(n+r+2,4),"Exif"===o))return this.file.getUintBytes(n,r);a+=t.length}}get8bits(e){let t=this.file.getUint8(e);return[t>>4,15&t]}findExtentInIloc(e,t){this.parseBoxFullHead(e);let n=e.start,[r,o]=this.get8bits(n++),[a,i]=this.get8bits(n++),s=2===e.version?4:2,l=1===e.version||2===e.version?2:0,c=i+r+o,u=2===e.version?4:2,d=this.file.getUintBytes(n,u);for(n+=u;d--;){let e=this.file.getUintBytes(n,s);n+=s+l+2+a;let u=this.file.getUint16(n);if(n+=2,e===t)return u>1&&console.warn("ILOC box has more than one extent but we're only processing one\nPlease create an issue at https://github.com/MikeKovarik/exifr with this file"),[this.file.getUintBytes(n+i,r),this.file.getUintBytes(n+i+r,o)];n+=u*c}}}class Ee extends Ne{}h(Ee,"type","heic");class Be extends Ne{}h(Be,"type","avif"),T.set("heic",Ee),T.set("avif",Be),E($,["ifd0","ifd1"],[[256,"ImageWidth"],[257,"ImageHeight"],[258,"BitsPerSample"],[259,"Compression"],[262,"PhotometricInterpretation"],[270,"ImageDescription"],[271,"Make"],[272,"Model"],[273,"StripOffsets"],[274,"Orientation"],[277,"SamplesPerPixel"],[278,"RowsPerStrip"],[279,"StripByteCounts"],[282,"XResolution"],[283,"YResolution"],[284,"PlanarConfiguration"],[296,"ResolutionUnit"],[301,"TransferFunction"],[305,"Software"],[306,"ModifyDate"],[315,"Artist"],[316,"HostComputer"],[317,"Predictor"],[318,"WhitePoint"],[319,"PrimaryChromaticities"],[513,"ThumbnailOffset"],[514,"ThumbnailLength"],[529,"YCbCrCoefficients"],[530,"YCbCrSubSampling"],[531,"YCbCrPositioning"],[532,"ReferenceBlackWhite"],[700,"ApplicationNotes"],[33432,"Copyright"],[33723,"IPTC"],[34665,"ExifIFD"],[34675,"ICC"],[34853,"GpsIFD"],[330,"SubIFD"],[40965,"InteropIFD"],[40091,"XPTitle"],[40092,"XPComment"],[40093,"XPAuthor"],[40094,"XPKeywords"],[40095,"XPSubject"]]),E($,"exif",[[33434,"ExposureTime"],[33437,"FNumber"],[34850,"ExposureProgram"],[34852,"SpectralSensitivity"],[34855,"ISO"],[34858,"TimeZoneOffset"],[34859,"SelfTimerMode"],[34864,"SensitivityType"],[34865,"StandardOutputSensitivity"],[34866,"RecommendedExposureIndex"],[34867,"ISOSpeed"],[34868,"ISOSpeedLatitudeyyy"],[34869,"ISOSpeedLatitudezzz"],[36864,"ExifVersion"],[36867,"DateTimeOriginal"],[36868,"CreateDate"],[36873,"GooglePlusUploadCode"],[36880,"OffsetTime"],[36881,"OffsetTimeOriginal"],[36882,"OffsetTimeDigitized"],[37121,"ComponentsConfiguration"],[37122,"CompressedBitsPerPixel"],[37377,"ShutterSpeedValue"],[37378,"ApertureValue"],[37379,"BrightnessValue"],[3738
540,"ExposureCompensation"],[37381,"MaxApertureValue"],[37382,"SubjectDistance"],[37383,"MeteringMode"],[37384,"LightSource"],[37385,"Flash"],[37386,"FocalLength"],[37393,"ImageNumber"],[37394,"SecurityClassification"],[37395,"ImageHistory"],[37396,"SubjectArea"],[37500,"MakerNote"],[37510,"UserComment"],[37520,"SubSecTime"],[37521,"SubSecTimeOriginal"],[37522,"SubSecTimeDigitized"],[37888,"AmbientTemperature"],[37889,"Humidity"],[37890,"Pressure"],[37891,"WaterDepth"],[37892,"Acceleration"],[37893,"CameraElevationAngle"],[40960,"FlashpixVersion"],[40961,"ColorSpace"],[40962,"ExifImageWidth"],[40963,"ExifImageHeight"],[40964,"RelatedSoundFile"],[41483,"FlashEnergy"],[41486,"FocalPlaneXResolution"],[41487,"FocalPlaneYResolution"],[41488,"FocalPlaneResolutionUnit"],[41492,"SubjectLocation"],[41493,"ExposureIndex"],[41495,"SensingMethod"],[41728,"FileSource"],[41729,"SceneType"],[41730,"CFAPattern"],[41985,"CustomRendered"],[41986,"ExposureMode"],[41987,"WhiteBalance"],[41988,"DigitalZoomRatio"],[41989,"FocalLengthIn35mmFormat"],[41990,"SceneCaptureType"],[41991,"GainControl"],[41992,"Contrast"],[41993,"Saturation"],[41994,"Sharpness"],[41996,"SubjectDistanceRange"],[42016,"ImageUniqueID"],[42032,"OwnerName"],[42033,"SerialNumber"],[42034,"LensInfo"],[42035,"LensMake"],[42036,"LensModel"],[42037,"LensSerialNumber"],[42080,"CompositeImage"],[42081,"CompositeImageCount"],[42082,"CompositeImageExposureTimes"],[42240,"Gamma"],[59932,"Padding"],[59933,"OffsetSchema"],[65e3,"OwnerName"],[65001,"SerialNumber"],[65002,"Lens"],[65100,"RawFile"],[65101,"Converter"],[65102,"WhiteBalance"],[65105,"Exposure"],[65106,"Shadows"],[65107,"Brightness"],[65108,"Contrast"],[65109,"Saturation"],[65110,"Sharpness"],[65111,"Smoothness"],[65112,"MoireFilter"],[40965,"InteropIFD"]]),E($,"gps",[[0,"GPSVersionID"],[1,"GPSLatitudeRef"],[2,"GPSLatitude"],[3,"GPSLongitudeRef"],[4,"GPSLongitude"],[5,"GPSAltitudeRef"],[6,"GPSAltitude"],[7,"GPSTimeStamp"],[8,"GPSSatellites"],[9,"GPSStatus"],[10,"GPSMeasureMode"],[11,"GPSDOP"],[12,"GPSSpeedRef"],[13,"GPSSpeed"],[14,"GPSTrackRef"],[15,"GPSTrack"],[16,"GPSImgDirectionRef"],[17,"GPSImgDirection"],[18,"GPSMapDatum"],[19,"GPSDestLatitudeRef"],[20,"GPSDestLatitude"],[21,"GPSDestLongitudeRef"],[22,"GPSDestLongitude"],[23,"GPSDestBearingRef"],[24,"GPSDestBearing"],[25,"GPSDestDistanceRef"],[26,"GPSDestDistance"],[27,"GPSProcessingMethod"],[28,"GPSAreaInformation"],[29,"GPSDateStamp"],[30,"GPSDifferential"],[31,"GPSHPositioningError"]]),E(j,["ifd0","ifd1"],[[274,{1:"Horizontal (normal)",2:"Mirror horizontal",3:"Rotate 180",4:"Mirror vertical",5:"Mirror horizontal and rotate 270 CW",6:"Rotate 90 CW",7:"Mirror horizontal and rotate 90 CW",8:"Rotate 270 CW"}],[296,{1:"None",2:"inches",3:"cm"}]]);let $e=E(j,"exif",[[34850,{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"}],[37121,{0:"-",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}],[37383,{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"}],[37384,{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"}],[37385,{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flas
54h fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"}],[41495,{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"}],[41728,{1:"Film Scanner",2:"Reflection Print Scanner",3:"Digital Camera"}],[41729,{1:"Directly photographed"}],[41985,{0:"Normal",1:"Custom",2:"HDR (no original saved)",3:"HDR (original saved)",4:"Original (for HDR)",6:"Panorama",7:"Portrait HDR",8:"Portrait"}],[41986,{0:"Auto",1:"Manual",2:"Auto bracket"}],[41987,{0:"Auto",1:"Manual"}],[41990,{0:"Standard",1:"Landscape",2:"Portrait",3:"Night",4:"Other"}],[41991,{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"}],[41996,{0:"Unknown",1:"Macro",2:"Close",3:"Distant"}],[42080,{0:"Unknown",1:"Not a Composite Image",2:"General Composite Image",3:"Composite Image Captured While Shooting"}]]);const je={1:"No absolute unit of measurement",2:"Inch",3:"Centimeter"};$e.set(37392,je),$e.set(41488,je);const ze={0:"Normal",1:"Low",2:"High"};function He(e){return"object"==typeof e&&void 0!==e.length?e[0]:e}function We(e){let t=Array.from(e).slice(1);return t[1]>15&&(t=t.map((e=>String.fromCharCode(e)))),"0"!==t[2]&&0!==t[2]||t.pop(),t.join(".")}function Ue(e){if("string"==typeof e){var[t,n,r,o,a,i]=e.trim().split(/[-: ]/g).map(Number),s=new Date(t,n-1,r);return Number.isNaN(o)||Number.isNaN(a)||Number.isNaN(i)||(s.setHours(o),s.setMinutes(a),s.setSeconds(i)),Number.isNaN(+s)?e:s}}function Ge(e){if("string"==typeof e)return e;let t=[];if(0===e[1]&&0===e[e.length-1])for(let n=0;n<e.length;n+=2)t.push(qe(e[n+1],e[n]));else for(let n=0;n<e.length;n+=2)t.push(qe(e[n],e[n+1]));return w(String.fromCodePoint(...t))}function qe(e,t){return e<<8|t}$e.set(41992,ze),$e.set(41993,ze),$e.set(41994,ze),E(z,["ifd0","ifd1"],[[50827,function(e){return"string"!=typeof e?P(e):e}],[306,Ue],[40091,Ge],[40092,Ge],[40093,Ge],[40094,Ge],[40095,Ge]]),E(z,"exif",[[40960,We],[36864,We],[36867,Ue],[36868,Ue],[40962,He],[40963,He]]),E(z,"gps",[[0,e=>Array.from(e).join(".")],[7,e=>Array.from(e).join(":")]]);class Ye extends ce{static canHandle(e,t){return 225===e.getUint8(t+1)&&1752462448===e.getUint32(t+4)&&"http://ns.adobe.com/"===e.getString(t+4,"http://ns.adobe.com/".length)}static headerLength(e,t){return"http://ns.adobe.com/xmp/extension/"===e.getString(t+4,"http://ns.adobe.com/xmp/extension/".length)?79:4+"http://ns.adobe.com/xap/1.0/".length+1}static findPosition(e,t){let n=super.findPosition(e,t);return n.multiSegment=n.extended=79===n.headerLength,n.multiSegment?(n.chunkCount=e.getUint8(t+72),n.chunkNumber=e.getUint8(t+76),0!==e.getUint8(t+77)&&n.chunkNumber++):(n.chunkCount=1/0,n.chunkNumber=-1),n}static handleMultiSegments(e){return e.map((e=>e.chunk.getString())).join("")}normalizeInput(e){return"string"==typeof e?e:Z.from(e).getString()}parse(e=this.chunk){if(!this.localOptions.parse)return e;e=function(e){let t={},n={};for(let r of rt)t[r]=[],n[r]=0;return e.replace(ot,((e,r,o)=>{if("<"===r){let r=++n[o];return t[o].push(r),`${e}#${r}`}return`${e}#${t[o].pop()}`}))}(e);let t=Xe.findAll(e,"rdf","Description");0===t.length&&t.push(new Xe("rdf","Description",void 0,e));let n,r={};for(let o of t)for(let e of o.properties)n=et(e.ns,r),_e(e,n);return function(e){let t;for(let n in e)t=e[n]=g(e[n]),void 0===t&&delete e[n];return g(e)}(r)}assignToOutput(e,t){if(this.localOptions.parse)for(let[n,r]of Object.entries(t))switch(n){case"tiff":this.assignObjectToOutput(e,"ifd0",r);break;case"exif":this.assignObjectToOutput(e,"exif",r);break;case"xmlns":break;default:this.assignObjectToOutput(e,n,r)}else e.xmp=t}}h(Ye,"type","xmp"),h(Ye,"multiSegment",!0),M.set("xmp",Ye);class Ke{static findAll(e){return tt(e,/([a-zA-Z0-9-]+):([a-zA-Z0-9-]+)=("[^"]*"|'[^']*')/gm).map(Ke.unpackMatch)}static unpackMatch(e){let t=e[1],n=e[2],r=e[3].slice(1,-1);return r=nt(r),new Ke(t,n,r)}constructor(e,t,n){this.ns=e,this.name=t,this.value=n}serialize(){return this.value}}class Xe{static findAll(e,t,n){if(void 0!==t||void 0!==n){t=t||"[\\w\\d-]+",n=n||"[\\w\\d-]+";var r=new RegExp(`<(${t}):(${n})(#\\d+)?((\\s+?[\\w\\d-:]+=("[^"]*"|'[^']*'))*\\s*)(\\/>|>([\\s\\S]*?)<\\/\\1:\\2\\3>)`,"gm")}else r=/<([\w\d-]+):([\w\d-]+)(#\d+)?((\s+?[\w\d-:]+=("[^"]*"|'[^']*'))*\s*)(\/>|>([\s\S]*?)<\/\1:\2\3>)/gm;return tt(e,r).map(Xe.unpackMatch)}static unpackMatch(e){let t=e[1],n=e[2],r=e[4],o=e[8];return new Xe(t,n,r,o)}constructor(e,t,n,r){this.ns=e,this.name=t,this.attrString=n,this.innerXml=r,this.attrs=Ke.findAll(n),this.children=Xe.findAll(r),this.value=0===this.children.length?nt(r):void 0,this.properties=[...this.attrs,...this.children]}get isPrimitive(){return void 0!==this.value&&0===this.attrs.length&&0===this.children.length}get isListContainer(){return 1===this.children.length&&this.children[0].isList}get isList(){let{ns:e,name:t}=this;return"rdf"===e&&("Seq"===t||"Bag"===t||"Alt"===t)}get isListItem(){return"rdf"===this.ns&&"li"===this.name}serialize(){if(0===this.properties.length&&void 0===this.value)return;if(this.isPrimitive)return this.value;if(this.isListContainer)return this.children[0].serialize();if(this.isList)return Je(this.children.map(Qe));if(this.isListItem&&1===this.children.length&&0===this.attrs.length)return this.children[0].serialize();let e={};for(let t of this.properties)_e(t,e);return void 0!==this.value&&(e.value=this.value),g(e)}}function _e(e,t){let n=e.serialize();void 0!==n&&(t[e.name]=n)}var Qe=e=>e.serialize(),Je=e=>1===e.length?e[0]:e,et=(e,t)=>t[e]?t[e]:t[e]={};function tt(e,t){let n,r=[];if(!e)return r;for(;null!==(n=t.exec(e));)r.push(n);return r}function nt(e){if(function(e){return null==e||"null"===e||"undefined"===e||""===e||""===e.trim()}(e))return;let t=Number(e);if(!Number.isNaN(t))return t;let n=e.toLowerCase();return"true"===n||"false"!==n&&e.trim()}const rt=["rdf:li","rdf:Seq","rdf:Bag","rdf:Alt","rdf:Description"],ot=new RegExp(`(<|\\/)(${rt.join("|")})`,"g");var at=Object.freeze({__proto__:null,default:Fe,Exifr:ae,fileParsers:T,segmentParsers:M,fileReaders:I,tagKeys:$,tagValues:j,tagRevivers:z,createDictionary:E,extendDictionary:B,fetchUrlAsArrayBuffer:F,readBlobAsArrayBuffer:L,chunkedProps:H,otherSegments:W,segments:U,tiffBlocks:G,segmentsAndBlocks:q,tiffExtractables:Y,inheritables:K,allFormatters:X,Options:te,parse:ie,gpsOnlyOptions:we,gps:xe,thumbnailOnlyOptions:Ce,thumbnail:Se,thumbnailUrl:Pe,orientationOnlyOptions:Ze,orientation:ke,rotations:De,get rotateCanvas(){return Te},get rotateCss(){return Me},rotation:Ie});let it=m("fs",(e=>e.promises));I.set("fs",class extends Ae{async readWhole(){this.chunked=!1,this.fs=await it;let e=await this.fs.readFile(this.input);this._swapBuffer(e)}async readChunked(){this.chunked=!0,this.fs=await it,await this.open(),await this.readChunk(0,this.options.firstChunkSize)}async open(){void 0===this.fh&&(this.fh=await this.fs.open(this.input,"r"),this.size=(await this.fh.stat(this.input)).size)}
vendor: 5,600 bytes, line 54
54async _readChunk(e,t){void 0===this.fh&&await this.open(),e+t>this.size&&(t=this.size-e);var n=this.subarray(e,t,!0);return await this.fh.read(n.dataView,0,t,e),n}async close(){if(this.fh){let e=this.fh;this.fh=void 0,await e.close()}}}),I.set("base64",class extends Ae{constructor(...e){super(...e),this.input=this.input.replace(/^data:([^;]+);base64,/gim,""),this.size=this.input.length/4*3,this.input.endsWith("==")?this.size-=2:this.input.endsWith("=")&&(this.size-=1)}async _readChunk(e,t){let n,r,o=this.input;void 0===e?(e=0,n=0,r=0):(n=4*Math.floor(e/3),r=e-n/4*3),void 0===t&&(t=this.size);let a=e+t,i=n+4*Math.ceil(a/3);o=o.slice(n,i);let s=Math.min(t,this.size-e);if(d){let t=c.from(o,"base64").slice(r,r+s);return this.set(t,e,!0)}{let t=this.subarray(e,s,!0),n=atob(o),a=t.toUint8();for(let e=0;e<s;e++)a[e]=n.charCodeAt(r+e);return t}}});class st extends le{static canHandle(e,t){return 18761===t||19789===t}extendOptions(e){let{ifd0:t,xmp:n,iptc:r,icc:o}=e;n.enabled&&t.deps.add(700),r.enabled&&t.deps.add(33723),o.enabled&&t.deps.add(34675),t.finalizeFilters()}async parse(){let{tiff:e,xmp:t,iptc:n,icc:r}=this.options;if(e.enabled||t.enabled||n.enabled||r.enabled){let e=Math.max(x(this.options),this.options.chunkSize);await this.file.ensureChunk(0,e),this.createParser("tiff",this.file),this.parsers.tiff.parseHeader(),await this.parsers.tiff.parseIfd0Block(),this.adaptTiffPropAsSegment("xmp"),this.adaptTiffPropAsSegment("iptc"),this.adaptTiffPropAsSegment("icc")}}adaptTiffPropAsSegment(e){if(this.parsers.tiff[e]){let t=this.parsers.tiff[e];this.injectSegment(e,t)}}}h(st,"type","tiff"),T.set("tiff",st);let lt=m("zlib");const ct=["ihdr","iccp","text","itxt","exif"];class ut extends le{constructor(...e){super(...e),h(this,"catchError",(e=>this.errors.push(e))),h(this,"metaChunks",[]),h(this,"unknownChunks",[])}static canHandle(e,t){return 35152===t&&2303741511===e.getUint32(0)&&218765834===e.getUint32(4)}async parse(){let{file:e}=this;await this.findPngChunksInRange("\x89PNG\r\n\x1a\n".length,e.byteLength),await this.readSegments(this.metaChunks),this.findIhdr(),this.parseTextChunks(),await this.findExif().catch(this.catchError),await this.findXmp().catch(this.catchError),await this.findIcc().catch(this.catchError)}async findPngChunksInRange(e,t){let{file:n}=this;for(;e<t;){let t=n.getUint32(e),r=n.getUint32(e+4),o=n.getString(e+4,4).toLowerCase(),a=t+4+4+4,i={type:o,offset:e,length:a,start:e+4+4,size:t,marker:r};ct.includes(o)?this.metaChunks.push(i):this.unknownChunks.push(i),e+=a}}parseTextChunks(){let e=this.metaChunks.filter((e=>"text"===e.type));for(let t of e){let[e,n]=this.file.getString(t.start,t.size).split("\0");this.injectKeyValToIhdr(e,n)}}injectKeyValToIhdr(e,t){let n=this.parsers.ihdr;n&&n.raw.set(e,t)}findIhdr(){let e=this.metaChunks.find((e=>"ihdr"===e.type));e&&!1!==this.options.ihdr.enabled&&this.createParser("ihdr",e.chunk)}async findExif(){let e=this.metaChunks.find((e=>"exif"===e.type));e&&this.injectSegment("tiff",e.chunk)}async findXmp(){let e=this.metaChunks.filter((e=>"itxt"===e.type));for(let t of e)"XML:com.adobe.xmp"===t.chunk.getString(0,"XML:com.adobe.xmp".length)&&this.injectSegment("xmp",t.chunk)}async findIcc(){let e=this.metaChunks.find((e=>"iccp"===e.type));if(!e)return;let{chunk:t}=e,n=t.getUint8Array(0,81),r=0;for(;r<80&&0!==n[r];)r++;let o=r+2,a=t.getString(0,r);if(this.injectKeyValToIhdr("ProfileName",a),l){let e=await lt,n=t.getUint8Array(o);n=e.inflateSync(n),this.injectSegment("icc",n)}}}h(ut,"type","png"),T.set("png",ut),E($,"interop",[[1,"InteropIndex"],[2,"InteropVersion"],[4096,"RelatedImageFileFormat"],[4097,"RelatedImageWidth"],[4098,"RelatedImageHeight"]]),B($,"ifd0",[[11,"ProcessingSoftware"],[254,"SubfileType"],[255,"OldSubfileType"],[263,"Thresholding"],[264,"CellWidth"],[265,"CellLength"],[266,"FillOrder"],[269,"DocumentName"],[280,"MinSampleValue"],[281,"MaxSampleValue"],[285,"PageName"],[286,"XPosition"],[287,"YPosition"],[290,"GrayResponseUnit"],[297,"PageNumber"],[321,"HalftoneHints"],[322,"TileWidth"],[323,"TileLength"],[332,"InkSet"],[337,"TargetPrinter"],[18246,"Rating"],[18249,"RatingPercent"],[33550,"PixelScale"],[34264,"ModelTransform"],[34377,"PhotoshopSettings"],[50706,"DNGVersion"],[50707,"DNGBackwardVersion"],[50708,"UniqueCameraModel"],[50709,"LocalizedCameraModel"],[50736,"DNGLensInfo"],[50739,"ShadowScale"],[50740,"DNGPrivateData"],[33920,"IntergraphMatrix"],[33922,"ModelTiePoint"],[34118,"SEMInfo"],[34735,"GeoTiffDirectory"],[34736,"GeoTiffDoubleParams"],[34737,"GeoTiffAsciiParams"],[50341,"PrintIM"],[50721,"ColorMatrix1"],[50722,"ColorMatrix2"],[50723,"CameraCalibration1"],[50724,"CameraCalibration2"],[50725,"ReductionMatrix1"],[50726,"ReductionMatrix2"],[50727,"AnalogBalance"],[50728,"AsShotNeutral"],[50729,"AsShotWhiteXY"],[50730,"BaselineExposure"],[50731,"BaselineNoise"],[50732,"BaselineSharpness"],[50734,"LinearResponseLimit"],[50735,"CameraSerialNumber"],[50741,"MakerNoteSafety"],[50778,"CalibrationIlluminant1"],[50779,"CalibrationIlluminant2"],[50781,"RawDataUniqueID"],[50827,"OriginalRawFileName"],[50828,"OriginalRawFileData"],[50831,"AsShotICCProfile"],[50832,"AsShotPreProfileMatrix"],[50833,"CurrentICCProfile"],[50834,"CurrentPreProfileMatrix"],[50879,"ColorimetricReference"],[50885,"SRawType"],[50898,"PanasonicTitle"],[50899,"PanasonicTitle2"],[50931,"CameraCalibrationSig"],[50932,"ProfileCalibrationSig"],[50933,"ProfileIFD"],[50934,"AsShotProfileName"],[50936,"ProfileName"],[50937,"ProfileHueSatMapDims"],[50938,"ProfileHueSatMapData1"],[50939,"ProfileHueSatMapData2"],[50940,"ProfileToneCurve"],[50941,"ProfileEmbedPol
54icy"],[50942,"ProfileCopyright"],[50964,"ForwardMatrix1"],[50965,"ForwardMatrix2"],[50966,"PreviewApplicationName"],[50967,"PreviewApplicationVersion"],[50968,"PreviewSettingsName"],[50969,"PreviewSettingsDigest"],[50970,"PreviewColorSpace"],[50971,"PreviewDateTime"],[50972,"RawImageDigest"],[50973,"OriginalRawFileDigest"],[50981,"ProfileLookTableDims"],[50982,"ProfileLookTableData"],[51043,"TimeCodes"],[51044,"FrameRate"],[51058,"TStop"],[51081,"ReelName"],[51089,"OriginalDefaultFinalSize"],[51090,"OriginalBestQualitySize"],[51091,"OriginalDefaultCropSize"],[51105,"CameraLabel"],[51107,"ProfileHueSatMapEncoding"],[51108,"ProfileLookTableEncoding"],[51109,"BaselineExposureOffset"],[51110,"DefaultBlackRender"],[51111,"NewRawImageDigest"],[51112,"RawToPreviewGain"]]);let dt=[[273,"StripOffsets"],[279,"StripByteCounts"],[288,"FreeOffsets"],[289,"FreeByteCounts"],[291,"GrayResponseCurve"],[292,"T4Options"],[293,"T6Options"],[300,"ColorResponseUnit"],[320,"ColorMap"],[324,"TileOffsets"],[325,"TileByteCounts"],[326,"BadFaxLines"],[327,"CleanFaxData"],[328,"ConsecutiveBadFaxLines"],[330,"SubIFD"],[333,"InkNames"],[334,"NumberofInks"],[336,"DotRange"],[338,"ExtraSamples"],[339,"SampleFormat"],[340,"SMinSampleValue"],[341,"SMaxSampleValue"],[342,"TransferRange"],[343,"ClipPath"],[344,"XClipPathUnits"],[345,"YClipPathUnits"],[346,"Indexed"],[347,"JPEGTables"],[351,"OPIProxy"],[400,"GlobalParametersIFD"],[401,"ProfileType"],[402,"FaxProfile"],[403,"CodingMethods"],[404,"VersionYear"],[405,"ModeNumber"],[433,"Decode"],[434,"DefaultImageColor"],[435,"T82Options"],[437,"JPEGTables"],[512,"JPEGProc"],[515,"JPEGRestartInterval"],[517,"JPEGLosslessPredictors"],[518,"JPEGPointTransforms"],[519,"JPEGQTables"],[520,"JPEGDCTables"],[521,"JPEGACTables"],[559,"StripRowCounts"],[999,"USPTOMiscellaneous"],[18247,"XP_DIP_XML"],[18248,"StitchInfo"],[28672,"SonyRawFileType"],[28688,"SonyToneCurve"],[28721,"VignettingCorrection"],[28722,"VignettingCorrParams"],[28724,"ChromaticAberrationCorrection"],[28725,"ChromaticAberrationCorrParams"],[28726,"DistortionCorrection"],[28727,"DistortionCorrParams"],[29895,"SonyCropTopLeft"],[29896,"SonyCropSize"],[32781,"ImageID"],[32931,"WangTag1"],[32932,"WangAnnotation"],[32933,"WangTag3"],[32934,"WangTag4"],[32953,"ImageReferencePoints"],[32954,"RegionXformTackPoint"],[32955,"WarpQuadrilateral"],[32956,"AffineTransformMat"],[32995,"Matteing"],[32996,"DataType"],[32997,"ImageDepth"],[32998,"TileDepth"],[33300,"ImageFullWidth"],[33301,"ImageFullHeight"],[33302,"TextureFormat"],[33303,"WrapModes"],[33304,"FovCot"],[33305,"MatrixWorldToScreen"],[33306,"MatrixWorldToCamera"],[33405,"Model2"],[33421,"CFARepeatPatternDim"],[33422,"CFAPattern2"],[33423,"BatteryLevel"],[33424,"KodakIFD"],[33445,"MDFileTag"],[33446,"MDScalePixel"],[33447,"MDColorTable"],[33448,"MDLabName"],[33449,"MDSampleInfo"],[33450,"MDPrepDate"],[33451,"MDPrepTime"],[33452,"MDFileUnits"],[33589,"AdventScale"],[33590,"AdventRevision"],[33628,"UIC1Tag"],[33629,"UIC2Tag"],[33630,"UIC3Tag"],[33631,"UIC4Tag"],[33918,"IntergraphPacketData"],[33919,"IntergraphFlagRegisters"],[33921,"INGRReserved"],[34016,"Site"],[34017,"ColorSequence"],[34018,"IT8Header"],[34019,"RasterPadding"],[34020,"BitsPerRunLength"],[34021,"BitsPerExtendedRunLength"],[34022,"ColorTable"],[34023,"ImageColorIndicator"],[34024,"BackgroundColorIndicator"],[34025,"ImageColorValue"],[34026,"BackgroundColorValue"],[34027,"PixelIntensityRange"],[34028,"TransparencyIndicator"],[34029,"ColorCharacterization"],[34030,"HCUsage"],[34031,"TrapIndicator"],[34032,"CMYKEquivalent"],[34152,"AFCP_IPTC"],[34232,"PixelMagicJBIGOptions"],[34263,"JPLCartoIFD"],[34306,"WB_GRGBLevels"],[34310,"LeafData"],[34687,"TIFF_FXExtensions"],[34688,"MultiProfiles"],[34689,"SharedData"],[34690,"T88Options"],[34732,"ImageLayer"],[34750,"JBIGOptions"],[34856,"Opto-ElectricConvFactor"],[34857,"Interlace"],[34908,"FaxRecvParams"],[34909,"FaxSubAddress"],[34910,"FaxRecvTime"],[34929,"FedexEDR"],[34954,"LeafSubIFD"],[37387,"FlashEnergy"],[37388,"SpatialFrequencyResponse"],[37389,"Noise"],[37390,"FocalPlaneXResolution"],[37391,"FocalPlaneYResolution"],[37392,"FocalPlaneResolutionUnit"],[37397,"ExposureIndex"],[37398,"TIFF-EPStandardID"],[37399,"SensingMethod"],[37434,"CIP3DataFile"],[37435,"CIP3Sheet"],[37436,"C
54IP3Side"],[37439,"StoNits"],[37679,"MSDocumentText"],[37680,"MSPropertySetStorage"],[37681,"MSDocumentTextPosition"],[37724,"ImageSourceData"],[40965,"InteropIFD"],[40976,"SamsungRawPointersOffset"],[40977,"SamsungRawPointersLength"],[41217,"SamsungRawByteOrder"],[41218,"SamsungRawUnknown"],[41484,"SpatialFrequencyResponse"],[41485,"Noise"],[41489,"ImageNumber"],[41490,"SecurityClassification"],[41491,"ImageHistory"],[41494,"TIFF-EPStandardID"],[41995,"DeviceSettingDescription"],[42112,"GDALMetadata"],[42113,"GDALNoData"],[44992,"ExpandSoftware"],[44993,"ExpandLens"],[44994,"ExpandFilm"],[44995,"ExpandFilterLens"],[44996,"ExpandScanner"],[44997,"ExpandFlashLamp"],[46275,"HasselbladRawImage"],[48129,"PixelFormat"],[48130,"Transformation"],[48131,"Uncompressed"],[48132,"ImageType"],[48256,"ImageWidth"],[48257,"ImageHeight"],[48258,"WidthResolution"],[48259,"HeightResolution"],[48320,"ImageOffset"],[48321,"ImageByteCount"],[48322,"AlphaOffset"],[48323,"AlphaByteCount"],[48324,"ImageDataDiscard"],[48325,"AlphaDataDiscard"],[50215,"OceScanjobDesc"],[50216,"OceApplicationSelector"],[50217,"OceIDNumber"],[50218,"OceImageLogic"],[50255,"Annotations"],[50459,"HasselbladExif"],[50547,"OriginalFileName"],[50560,"USPTOOriginalContentType"],[50656,"CR2CFAPattern"],[50710,"CFAPlaneColor"],[50711,"CFALayout"],[50712,"LinearizationTable"],[50713,"BlackLevelRepeatDim"],[50714,"BlackLevel"],[50715,"BlackLevelDeltaH"],[50716,"BlackLevelDeltaV"],[50717,"WhiteLevel"],[50718,"DefaultScale"],[50719,"DefaultCropOrigin"],[50720,"DefaultCropSize"],[50733,"BayerGreenSplit"],[50737,"ChromaBlurRadius"],[50738,"AntiAliasStrength"],[50752,"RawImageSegmentation"],[50780,"BestQualityScale"],[50784,"AliasLayerMetadata"],[50829,"ActiveArea"],[50830,"MaskedAreas"],[50935,"NoiseReductionApplied"],[50974,"SubTileBlockSize"],[50975,"RowInterleaveFactor"],[51008,"OpcodeList1"],[51009,"OpcodeList2"],[51022,"OpcodeList3"],[51041,"NoiseProfile"],[51114,"CacheVersion"],[51125,"DefaultUserCrop"],[51157,"NikonNEFInfo"],[65024,"KdcIFD"]];B($,"ifd0",dt),B($,"exif",dt),E(j,"gps",[[23,{M:"Magnetic North",T:"True North"}],[25,{K:"Kilometers",M:"Miles",N:"Nautical Miles"}]]);class pt extends ce{static canHandle(e,t){return 224===e.getUint8(t+1)&&1246120262===e.getUint32(t+4)&&0===e.getUint8(t+8)}parse(){return this.parseTags(),this.translate(),this.output}parseTags(){this.raw=new Map([[0,this.chunk.getUint16(0)],[2,this.chunk.getUint8(2)],[3,this.chunk.getUint16(3)],[5,this.chunk.getUint16(5)],[7,this.chunk.getUint8(7)],[8,this.chunk.getUint8(8)]])}}h(pt,"type","jfif"),h(pt,"headerLength",9),M.set("jfif",pt),E($,"jfif",[[0,"JFIFVersion"],[2,"ResolutionUnit"],[3,"XResolution"],[5,"YResolution"],[7,"ThumbnailWidth"],[8,"ThumbnailHeight"]]);class mt extends ce{parse(){return this.parseTags(),this.translate(),this.output}parseTags(){this.raw=new Map([[0,this.chunk.getUint32(0)],[4,this.chunk.getUint32(4)],[8,this.chunk.getUint8(8)],[9,this.chunk.getUint8(9)],[10,this.chunk.getUint8(10)],[11,this.chunk.getUint8(11)],[12,this.chunk.getUint8(12)],...Array.from(this.raw)])}}h(mt,"type","ihdr"),M.set("ihdr",mt),E($,"ihdr",[[0,"ImageWidth"],[4,"ImageHeight"],[8,"BitDepth"],[9,"ColorType"],[10,"Compression"],[11,"Filter"],[12,"Interlace"]]),E(j,"ihdr",[[9,{0:"Grayscale",2:"RGB",3:"Palette",4:"Grayscale with Alpha",6:"RGB with Alpha",DEFAULT:"Unknown"}],[10,{0:"Deflate/Inflate",DEFAULT:"Unknown"}],[11,{0:"Adaptive",DEFAULT:"Unknown"}],[12,{0:"Noninterlaced",1:"Adam7 Interlace",DEFAULT:"Unknown"}]]);class ft extends ce{static canHandle(e,t){return 226===e.getUint8(t+1)&&1229144927===e.getUint32(t+4)}static findPosition(e,t){let n=super.findPosition(e,t);return n.chunkNumber=e.getUint8(t+16),n.chunkCount=e.getUint8(t+17),n.multiSegment=n.chunkCount>1,n}static handleMultiSegments(e){return function(e){let t=function(e){let t=e[0].constructor,n=0;for(let a of e)n+=a.length;let r=new t(n),o=0;for(let a of e)r.set(a,o),o+=a.length;return r}(e.map((e=>e.chunk.toUint8())));return new Z(t)}(e)}parse(){return this.raw=new Map,this.parseHeader(),this.parseTags(),this.translate(),this.output}parseHeader(){let{raw:e}=this;this.chunk.byteLength<84&&y("ICC header is too short");for(let[t,n]of Object.entries(ht)){t=parseInt(t,10);let r=n(this.chunk,t);"\0\0\0\0"!==r&&e.set(t,r)}}parseTags(){let e,t,n,r,o,{raw:a}=this,i=this.chunk.getUint32(128),s=132,l=this.chunk.byteLength;for(;i--;){if(e=this.chunk.getString(s,4),t=this.chunk.getUint32(s+4),n=this.chunk.getUint32(s+8),r=this.chunk.getString(t,4),t+n>l)return void console.warn("reached the end of the first ICC chunk. Enable options.tiff.multiSegment to read all ICC segments.");o=this.parseTag(r,t,n),void 0!==o&&"\0\0\0\0"!==o&&a.set(e,o),s+=12}}
vendor: 3,341 bytes, line 54
54parseTag(e,t,n){switch(e){case"desc":return this.parseDesc(t);case"mluc":return this.parseMluc(t);case"text":return this.parseText(t,n);case"sig ":return this.parseSig(t)}if(!(t+n>this.chunk.byteLength))return this.chunk.getUint8Array(t,n)}parseDesc(e){let t=this.chunk.getUint32(e+8)-1;return w(this.chunk.getString(e+12,t))}parseText(e,t){return w(this.chunk.getString(e+8,t-8))}parseSig(e){return w(this.chunk.getString(e+8,4))}parseMluc(e){let{chunk:t}=this,n=t.getUint32(e+8),r=t.getUint32(e+12),o=e+16,a=[];for(let i=0;i<n;i++){let n=t.getString(o+0,2),i=t.getString(o+2,2),s=t.getUint32(o+4),l=t.getUint32(o+8)+e,c=w(t.getUnicodeString(l,s));a.push({lang:n,country:i,text:c}),o+=r}return 1===n?a[0].text:a}translateValue(e,t){return"string"==typeof e?t[e]||t[e.toLowerCase()]||e:t[e]||e}}h(ft,"type","icc"),h(ft,"multiSegment",!0),h(ft,"headerLength",18);const ht={4:gt,8:function(e,t){return[e.getUint8(t),e.getUint8(t+1)>>4,e.getUint8(t+1)%16].map((e=>e.toString(10))).join(".")},12:gt,16:gt,20:gt,24:function(e,t){const n=e.getUint16(t),r=e.getUint16(t+2)-1,o=e.getUint16(t+4),a=e.getUint16(t+6),i=e.getUint16(t+8),s=e.getUint16(t+10);return new Date(Date.UTC(n,r,o,a,i,s))},36:gt,40:gt,48:gt,52:gt,64:(e,t)=>e.getUint32(t),80:gt};function gt(e,t){return w(e.getString(t,4))}M.set("icc",ft),E($,"icc",[[4,"ProfileCMMType"],[8,"ProfileVersion"],[12,"ProfileClass"],[16,"ColorSpaceData"],[20,"ProfileConnectionSpace"],[24,"ProfileDateTime"],[36,"ProfileFileSignature"],[40,"PrimaryPlatform"],[44,"CMMFlags"],[48,"DeviceManufacturer"],[52,"DeviceModel"],[56,"DeviceAttributes"],[64,"RenderingIntent"],[68,"ConnectionSpaceIlluminant"],[80,"ProfileCreator"],[84,"ProfileID"],["Header","ProfileHeader"],["MS00","WCSProfiles"],["bTRC","BlueTRC"],["bXYZ","BlueMatrixColumn"],["bfd","UCRBG"],["bkpt","MediaBlackPoint"],["calt","CalibrationDateTime"],["chad","ChromaticAdaptation"],["chrm","Chromaticity"],["ciis","ColorimetricIntentImageState"],["clot","ColorantTableOut"],["clro","ColorantOrder"],["clrt","ColorantTable"],["cprt","ProfileCopyright"],["crdi","CRDInfo"],["desc","ProfileDescription"],["devs","DeviceSettings"],["dmdd","DeviceModelDesc"],["dmnd","DeviceMfgDesc"],["dscm","ProfileDescriptionML"],["fpce","FocalPlaneColorimetryEstimates"],["gTRC","GreenTRC"],["gXYZ","GreenMatrixColumn"],["gamt","Gamut"],["kTRC","GrayTRC"],["lumi","Luminance"],["meas","Measurement"],["meta","Metadata"],["mmod","MakeAndModel"],["ncl2","NamedColor2"],["ncol","NamedColor"],["ndin","NativeDisplayInfo"],["pre0","Preview0"],["pre1","Preview1"],["pre2","Preview2"],["ps2i","PS2RenderingIntent"],["ps2s","PostScript2CSA"],["psd0","PostScript2CRD0"],["psd1","PostScript2CRD1"],["psd2","PostScript2CRD2"],["psd3","PostScript2CRD3"],["pseq","ProfileSequenceDesc"],["psid","ProfileSequenceIdentifier"],["psvm","PS2CRDVMSize"],["rTRC","RedTRC"],["rXYZ","RedMatrixColumn"],["resp","OutputResponse"],["rhoc","ReflectionHardcopyOrigColorimetry"],["rig0","PerceptualRenderingIntentGamut"],["rig2","SaturationRenderingIntentGamut"],["rpoc","ReflectionPrintOutputColorimetry"],["sape","SceneAppearanceEstimates"],["scoe","SceneColorimetryEstimates"],["scrd","ScreeningDesc"],["scrn","Screening"],["targ","CharTarget"],["tech","Technology"],["vcgt","VideoCardGamma"],["view","ViewingConditions"],["vued","ViewingCondDesc"],["wtpt","MediaWhitePoint"]]);const v
vendor: 5,572 bytes, line 54
54t={"4d2p":"Erdt Systems",AAMA:"Aamazing Technologies",ACER:"Acer",ACLT:"Acolyte Color Research",ACTI:"Actix Sytems",ADAR:"Adara Technology",ADBE:"Adobe",ADI:"ADI Systems",AGFA:"Agfa Graphics",ALMD:"Alps Electric",ALPS:"Alps Electric",ALWN:"Alwan Color Expertise",AMTI:"Amiable Technologies",AOC:"AOC International",APAG:"Apago",APPL:"Apple Computer",AST:"AST","AT&T":"AT&T",BAEL:"BARBIERI electronic",BRCO:"Barco NV",BRKP:"Breakpoint",BROT:"Brother",BULL:"Bull",BUS:"Bus Computer Systems","C-IT":"C-Itoh",CAMR:"Intel",CANO:"Canon",CARR:"Carroll Touch",CASI:"Casio",CBUS:"Colorbus PL",CEL:"Crossfield",CELx:"Crossfield",CGS:"CGS Publishing Technologies International",CHM:"Rochester Robotics",CIGL:"Colour Imaging Group, London",CITI:"Citizen",CL00:"Candela",CLIQ:"Color IQ",CMCO:"Chromaco",CMiX:"CHROMiX",COLO:"Colorgraphic Communications",COMP:"Compaq",COMp:"Compeq/Focus Technology",CONR:"Conrac Display Products",CORD:"Cordata Technologies",CPQ:"Compaq",CPRO:"ColorPro",CRN:"Cornerstone",CTX:"CTX International",CVIS:"ColorVision",CWC:"Fujitsu Laboratories",DARI:"Darius Technology",DATA:"Dataproducts",DCP:"Dry Creek Photo",DCRC:"Digital Contents Resource Center, Chung-Ang University",DELL:"Dell Computer",DIC:"Dainippon Ink and Chemicals",DICO:"Diconix",DIGI:"Digital","DL&C":"Digital Light & Color",DPLG:"Doppelganger",DS:"Dainippon Screen",DSOL:"DOOSOL",DUPN:"DuPont",EPSO:"Epson",ESKO:"Esko-Graphics",ETRI:"Electronics and Telecommunications Research Institute",EVER:"Everex Systems",EXAC:"ExactCODE",Eizo:"Eizo",FALC:"Falco Data Products",FF:"Fuji Photo Film",FFEI:"FujiFilm Electronic Imaging",FNRD:"Fnord Software",FORA:"Fora",FORE:"Forefront Technology",FP:"Fujitsu",FPA:"WayTech Development",FUJI:"Fujitsu",FX:"Fuji Xerox",GCC:"GCC Technologies",GGSL:"Global Graphics Software",GMB:"Gretagmacbeth",GMG:"GMG",GOLD:"GoldStar Technology",GOOG:"Google",GPRT:"Giantprint",GTMB:"Gretagmacbeth",GVC:"WayTech Development",GW2K:"Sony",HCI:"HCI",HDM:"Heidelberger Druckmaschinen",HERM:"Hermes",HITA:"Hitachi America",HP:"Hewlett-Packard",HTC:"Hitachi",HiTi:"HiTi Digital",IBM:"IBM",IDNT:"Scitex",IEC:"Hewlett-Packard",IIYA:"Iiyama North America",IKEG:"Ikegami Electronics",IMAG:"Image Systems",IMI:"Ingram Micro",INTC:"Intel",INTL:"N/A (INTL)",INTR:"Intra Electronics",IOCO:"Iocomm International Technology",IPS:"InfoPrint Solutions Company",IRIS:"Scitex",ISL:"Ichikawa Soft Laboratory",ITNL:"N/A (ITNL)",IVM:"IVM",IWAT:"Iwatsu Electric",Idnt:"Scitex",Inca:"Inca Digital Printers",Iris:"Scitex",JPEG:"Joint Photographic Experts Group",JSFT:"Jetsoft Development",JVC:"JVC Information Products",KART:"Scitex",KFC:"KFC Computek Components",KLH:"KLH Computers",KMHD:"Konica Minolta",KNCA:"Konica",KODA:"Kodak",KYOC:"Kyocera",Kart:"Scitex",LCAG:"Leica",LCCD:"Leeds Colour",LDAK:"Left Dakota",LEAD:"Leading Technology",LEXM:"Lexmark International",LINK:"Link Computer",LINO:"Linotronic",LITE:"Lite-On",Leaf:"Leaf",Lino:"Linotronic",MAGC:"Mag Computronic",MAGI:"MAG Innovision",MANN:"Mannesmann",MICN:"Micron Technology",MICR:"Microtek",MICV:"Microvitec",MINO:"Minolta",MITS:"Mitsubishi Electronics America",MITs:"Mitsuba",MNLT:"Minolta",MODG:"Modgraph",MONI:"Monitronix",MONS:"Monaco Systems",MORS:"Morse Technology",MOTI:"Motive Systems",MSFT:"Microsoft",MUTO:"MUTOH INDUSTRIES",Mits:"Mitsubishi Electric",NANA:"NANAO",NEC:"NEC",NEXP:"NexPress Solutions",NISS:"Nissei Sangyo America",NKON:"Nikon",NONE:"none",OCE:"Oce Technologies",OCEC:"OceColor",OKI:"Oki",OKID:"Okidata",OKIP:"Okidata",OLIV:"Olivetti",OLYM:"Olympus",ONYX:"Onyx Graphics",OPTI:"Optiquest",PACK:"Packard Bell",PANA:"Matsushita Electric Industrial",PANT:"Pantone",PBN:"Packard Bell",PFU:"PFU",PHIL:"Philips Consumer Electronics",PNTX:"HOYA",POne:"Phase One A/S",PREM:"Premier Computer Innovations",PRIN:"Princeton Graphic Systems",PRIP:"Princeton Publishing Labs",QLUX:"Hong Kong",QMS:"QMS",QPCD:"QPcard AB",QUAD:"QuadLaser",QUME:"Qume",RADI:"Radius",RDDx:"Integrated Color Solutions",RDG:"Roland DG",REDM:"REDMS Group",RELI:"Relisys",RGMS:"Rolf Gierling Multitools",RICO:"Ricoh",RNLD:"Edmund Ronald",ROYA:"Royal",RPC:"Ricoh Printing Systems",RTL:"Royal Information Electronics",SAMP:"Sampo",SAMS:"Samsung",SANT:"Jaime Santana Pomares",SCIT:"Scitex",SCRN:"Dainippon Screen",SDP:"Scitex",SEC:"Samsung",SEIK:"Seiko Instruments",SEIk:"Seikosha",SGUY:"ScanGuy.com",SHAR:"Sharp Laboratories",SICC:"International Color Consortium",SONY:"Sony",SPCL:"SpectraCal",STAR:"Star",STC:"Sampo Technology",Scit:"Scitex",Sdp:"Scitex",Sony:"Sony",TALO:"Talon Technology",TAND:"Tandy",TATU:"Tatung",TAXA:"TAXAN America",TDS:"Tokyo Denshi Sekei",TECO:"TECO Information Systems",TEGR:"Tegra",TEKT:"Tektronix",TI:"Texas Instruments",TMKR:"TypeMaker",TOSB:"Toshiba",TOSH:"Toshiba",TOTK:"TOTOKU ELECTRIC",TRIU:"Triumph",TSBT:"Toshiba",TTX:"TTX Computer Products",TVM:"TVM Professional Monitor",TW:"TW Casper",ULSX:"Ulead Systems",UNIS:"Unisys",UTZF:"Utz Fehlau & Sohn",VARI:"Varityper",VIEW:"Viewsonic",VISL:"Visual communication",VIVO:"Vivo Mobile Communication",WANG:"Wang",WLBR:"Wilbur Imaging",WTG2:"Ware To Go",WYSE:"WYSE Technology",XERX:"Xerox",XRIT:"X-Rite",ZRAN:"Zoran",Zebr:"Zebra Technologies",appl:"Apple Computer",bICC:"basICColor",berg:"bergdesign",ceyd:"Integrated Color Solutions",clsp:"MacDermid ColorSpan",ds:"Dainippon Screen",dupn:"DuPont",ffei:"FujiFilm Electronic Imaging",flux:"FluxData",iris:"Scitex",kart:"Scitex",lcms:"Little CMS",lino:"Linotronic",none:"none",ob4d:"Erdt Systems",obic:"Medigraph",quby:"Qubyx Sarl",scit:"Scitex",scrn:"Dainippon Screen",sdp:"Scitex",siwi:"SIWI GRAFIKA",yxym:"YxyMaster"},
vendor: 4,003 bytes, line 54
54bt={scnr:"Scanner",mntr:"Monitor",prtr:"Printer",link:"Device Link",abst:"Abstract",spac:"Color Space Conversion Profile",nmcl:"Named Color",cenc:"ColorEncodingSpace profile",mid:"MultiplexIdentification profile",mlnk:"MultiplexLink profile",mvis:"MultiplexVisualization profile",nkpf:"Nikon Input Device Profile (NON-STANDARD!)"};E(j,"icc",[[4,vt],[12,bt],[40,Object.assign({},vt,bt)],[48,vt],[80,vt],[64,{0:"Perceptual",1:"Relative Colorimetric",2:"Saturation",3:"Absolute Colorimetric"}],["tech",{amd:"Active Matrix Display",crt:"Cathode Ray Tube Display",kpcd:"Photo CD",pmd:"Passive Matrix Display",dcam:"Digital Camera",dcpj:"Digital Cinema Projector",dmpc:"Digital Motion Picture Camera",dsub:"Dye Sublimation Printer",epho:"Electrophotographic Printer",esta:"Electrostatic Printer",flex:"Flexography",fprn:"Film Writer",fscn:"Film Scanner",grav:"Gravure",ijet:"Ink Jet Printer",imgs:"Photo Image Setter",mpfr:"Motion Picture Film Recorder",mpfs:"Motion Picture Film Scanner",offs:"Offset Lithography",pjtv:"Projection Television",rpho:"Photographic Paper Printer",rscn:"Reflective Scanner",silk:"Silkscreen",twax:"Thermal Wax Printer",vidc:"Video Camera",vidm:"Video Monitor"}]]);class yt extends ce{static canHandle(e,t,n){return 237===e.getUint8(t+1)&&"Photoshop"===e.getString(t+4,9)&&void 0!==this.containsIptc8bim(e,t,n)}static headerLength(e,t,n){let r,o=this.containsIptc8bim(e,t,n);if(void 0!==o)return r=e.getUint8(t+o+7),r%2!=0&&(r+=1),0===r&&(r=4),o+8+r}static containsIptc8bim(e,t,n){for(let r=0;r<n;r++)if(this.isIptcSegmentHead(e,t+r))return r}static isIptcSegmentHead(e,t){return 56===e.getUint8(t)&&943868237===e.getUint32(t)&&1028===e.getUint16(t+4)}parse(){let{raw:e}=this,t=this.chunk.byteLength-1,n=!1;for(let r=0;r<t;r++)if(28===this.chunk.getUint8(r)&&2===this.chunk.getUint8(r+1)){n=!0;let t=this.chunk.getUint16(r+3),o=this.chunk.getUint8(r+2),a=this.chunk.getLatin1String(r+5,t);e.set(o,this.pluralizeValue(e.get(o),a)),r+=4+t}else if(n)break;return this.translate(),this.output}pluralizeValue(e,t){return void 0!==e?e instanceof Array?(e.push(t),e):[e,t]:t}}h(yt,"type","iptc"),h(yt,"translateValues",!1),h(yt,"reviveValues",!1),M.set("iptc",yt),E($,"iptc",[[0,"ApplicationRecordVersion"],[3,"ObjectTypeReference"],[4,"ObjectAttributeReference"],[5,"ObjectName"],[7,"EditStatus"],[8,"EditorialUpdate"],[10,"Urgency"],[12,"SubjectReference"],[15,"Category"],[20,"SupplementalCategories"],[22,"FixtureIdentifier"],[25,"Keywords"],[26,"ContentLocationCode"],[27,"ContentLocationName"],[30,"ReleaseDate"],[35,"ReleaseTime"],[37,"ExpirationDate"],[38,"ExpirationTime"],[40,"SpecialInstructions"],[42,"ActionAdvised"],[45,"ReferenceService"],[47,"ReferenceDate"],[50,"ReferenceNumber"],[55,"DateCreated"],[60,"TimeCreated"],[62,"DigitalCreationDate"],[63,"DigitalCreationTime"],[65,"OriginatingProgram"],[70,"ProgramVersion"],[75,"ObjectCycle"],[80,"Byline"],[85,"BylineTitle"],[90,"City"],[92,"Sublocation"],[95,"State"],[100,"CountryCode"],[101,"Country"],[103,"OriginalTransmissionReference"],[105,"Headline"],[110,"Credit"],[115,"Source"],[116,"CopyrightNotice"],[118,"Contact"],[120,"Caption"],[121,"LocalCaption"],[122,"Writer"],[125,"RasterizedCaption"],[130,"ImageType"],[131,"ImageOrientation"],[135,"LanguageIdentifier"],[150,"AudioType"],[151,"AudioSamplingRate"],[152,"AudioSamplingResolution"],[153,"AudioDuration"],[154,"AudioOutcue"],[184,"JobID"],[185,"MasterDocumentID"],[186,"ShortDocumentID"],[187,"UniqueDocumentID"],[188,"OwnerID"],[200,"ObjectPreviewFileFormat"],[201,"ObjectPreviewFileVersion"],[202,"ObjectPreviewData"],[221,"Prefs"],[225,"ClassifyState"],[228,"SimilarityIndex"],[230,"DocumentNotes"],[231,"DocumentHistory"],[232,"ExifCameraInfo"],[255,"CatalogSets"]]),E(j,"iptc",[[10,{0:"0 (reserved)",1:"1 (most urgent)",2:"2",3:"3",4:"4",5:"5 (normal urgency)",6:"6",7:"7",8:"8 (least urgent)",9:"9 (user-defined priority)"}],[75,{a:"Morning",b:"Both Morning and Evening",p:"Evening"}],[131,{L:"Landscape",P:"Portrait",S:"Square"}]]),t.ZP=at}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.