@3sc/common-component 0.0.628 → 0.0.629

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -3,7 +3,7 @@
3
3
  <%s {...props} />
4
4
  React keys must be passed directly to JSX without using spread:
5
5
  let props = %s;
6
- <%s key={someKey} {...props} />`,Y,oe,X,oe),E[oe+Y]=!0)}if(oe=null,$!==void 0&&(n($),oe=""+$),i(L)&&(n(L.key),oe=""+L.key),"key"in L){$={};for(var te in L)te!=="key"&&($[te]=L[te])}else $=L;return oe&&a($,typeof D=="function"?D.displayName||D.name||"Unknown":D),c(D,oe,$,o(),re,he)}function d(D){h(D)?D._store&&(D._store.validated=1):typeof D=="object"&&D!==null&&D.$$typeof===P&&(D._payload.status==="fulfilled"?h(D._payload.value)&&D._payload.value._store&&(D._payload.value._store.validated=1):D._store&&(D._store.validated=1))}function h(D){return typeof D=="object"&&D!==null&&D.$$typeof===g}var m=p,g=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),x=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),W=Symbol.for("react.client.reference"),S=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.prototype.hasOwnProperty,_=Array.isArray,N=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(D){return D()}};var U,se={},ue=m.react_stack_bottom_frame.bind(m,s)(),B=N(r(s)),E={};zo.Fragment=b,zo.jsx=function(D,L,$){var Y=1e4>S.recentlyCreatedOwnerStacks++;return u(D,L,$,!1,Y?Error("react-stack-top-frame"):ue,Y?N(r(D)):B)},zo.jsxs=function(D,L,$){var Y=1e4>S.recentlyCreatedOwnerStacks++;return u(D,L,$,!0,Y?Error("react-stack-top-frame"):ue,Y?N(r(D)):B)}})()),zo}var ic;function Ap(){return ic||(ic=1,process.env.NODE_ENV==="production"?zs.exports=Op():zs.exports=Dp()),zs.exports}var f=Ap();const Hs={THEME:"THEME",LOGOUT:"LOGOUT"},Te={Search:"data:image/svg+xml,%3csvg%20width='16'%20height='15'%20viewBox='0%200%2016%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.6503%2013.8006C11.3232%2013.8006%2014.3006%2010.8232%2014.3006%207.15029C14.3006%203.47744%2011.3232%200.5%207.6503%200.5C3.97744%200.5%201%203.47744%201%207.15029C1%2010.8232%203.97744%2013.8006%207.6503%2013.8006Z'%20stroke='%23898A93'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.9997%2014.5006L13.5996%2013.1006'%20stroke='%23898A93'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Refresh:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.0733%203.38664C6.6533%203.21331%207.2933%203.09998%207.99997%203.09998C11.1933%203.09998%2013.78%205.68664%2013.78%208.87998C13.78%2012.0733%2011.1933%2014.66%207.99997%2014.66C4.80664%2014.66%202.21997%2012.0733%202.21997%208.87998C2.21997%207.69331%202.57997%206.58664%203.1933%205.66664'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.2467%203.54671L7.17337%201.33337'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.2467%203.54663L7.49337%205.18663'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Close:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2024%2024'%3e%3ccircle%20cx='12'%20cy='12'%20r='11'%20fill='none'%20stroke='%23E85353'%20stroke-width='2'/%3e%3cpath%20d='M8.5%208.5l7%207M15.5%208.5l-7%207'%20stroke='%23E85353'%20stroke-width='2'/%3e%3c/svg%3e",Unsort:"data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.646447%203.24676C0.451184%203.44202%200.451184%203.7586%200.646447%203.95387C0.841709%204.14913%201.15829%204.14913%201.35355%203.95387L0.646447%203.24676ZM3.40012%201.2002H3.90012C3.90012%200.997964%203.7783%200.815646%203.59146%200.738256C3.40462%200.660865%203.18956%200.703643%203.04656%200.846642L3.40012%201.2002ZM2.90012%2010.8007C2.90012%2011.0768%203.12398%2011.3007%203.40012%2011.3007C3.67626%2011.3007%203.90012%2011.0768%203.90012%2010.8007H2.90012ZM9.35377%208.7541C9.54903%208.55884%209.54903%208.24226%209.35377%208.04699C9.15851%207.85173%208.84193%207.85173%208.64666%208.04699L9.35377%208.7541ZM6.6001%2010.8007H6.1001C6.1001%2011.0029%206.22192%2011.1852%206.40876%2011.2626C6.5956%2011.34%206.81065%2011.2972%206.95365%2011.1542L6.6001%2010.8007ZM7.1001%201.2002C7.1001%200.924053%206.87624%200.700195%206.6001%200.700195C6.32396%200.700195%206.1001%200.924053%206.1001%201.2002H7.1001ZM1.35355%203.95387L3.75367%201.55375L3.04656%200.846642L0.646447%203.24676L1.35355%203.95387ZM2.90012%201.2002V10.8007H3.90012V1.2002H2.90012ZM8.64666%208.04699L6.24655%2010.4471L6.95365%2011.1542L9.35377%208.7541L8.64666%208.04699ZM7.1001%2010.8007V1.2002H6.1001V10.8007H7.1001Z'%20fill='%23909090'/%3e%3c/svg%3e",AscSort:"data:image/svg+xml,%3csvg%20width='9'%20height='12'%20viewBox='0%200%209%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%204.59888L4.5%201.09888L1%204.59888'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.5%2010.9013V1.19702'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",DescSort:"data:image/svg+xml,%3csvg%20width='9'%20height='12'%20viewBox='0%200%209%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%207.40112L4.5%2010.9011L8%207.40112'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.5%201.09869L4.5%2010.803'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Menu:"data:image/svg+xml,%3csvg%20width='4'%20height='10'%20viewBox='0%200%204%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%207.5C1.45%207.5%201%207.95%201%208.5C1%209.05%201.45%209.5%202%209.5C2.55%209.5%203%209.05%203%208.5C3%207.95%202.55%207.5%202%207.5Z'%20stroke='%23909090'%20stroke-width='0.7'/%3e%3cpath%20d='M2%204C1.45%204%201%204.45%201%205C1%205.55%201.45%206%202%206C2.55%206%203%205.55%203%205C3%204.45%202.55%204%202%204Z'%20stroke='%23909090'%20stroke-width='0.7'/%3e%3cpath%20d='M2%200.5C1.45%200.5%201%200.95%201%201.5C1%202.05%201.45%202.5%202%202.5C2.55%202.5%203%202.05%203%201.5C3%200.95%202.55%200.5%202%200.5Z'%20stroke='%23909090'%20stroke-width='0.7'/%3e%3c/svg%3e",Manage:"data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.75065%202.33398V11.6673M2.33398%208.60482H8.75065M2.33398%205.39648H8.75065M3.50065%2011.6673H10.5007C11.145%2011.6673%2011.6673%2011.145%2011.6673%2010.5007V3.50065C11.6673%202.85632%2011.145%202.33398%2010.5007%202.33398H3.50065C2.85632%202.33398%202.33398%202.85632%202.33398%203.50065V10.5007C2.33398%2011.145%202.85632%2011.6673%203.50065%2011.6673Z'%20stroke='%23A8A8A8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ArrowSelectUp:"data:image/svg+xml,%3csvg%20width='10'%20height='5'%20viewBox='0%200%2010%205'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%200.595703L5.50126%204.09444C5.08807%204.50763%204.41193%204.50763%203.99874%204.09444L0.5%200.595703'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ArrowSelectDown:"data:image/svg+xml,%3csvg%20width='10'%20height='5'%20viewBox='0%200%2010%205'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%204.4043L5.50126%200.90556C5.08807%200.492365%204.41193%200.492365%203.99874%200.90556L0.5%204.4043'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Upload:"data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.25016%209.9165V6.4165L4.0835%207.58317'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.25%206.4165L6.41667%207.58317'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8332%205.83317V8.74984C12.8332%2011.6665%2011.6665%2012.8332%208.74984%2012.8332H5.24984C2.33317%2012.8332%201.1665%2011.6665%201.1665%208.74984V5.24984C1.1665%202.33317%202.33317%201.1665%205.24984%201.1665H8.1665'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8332%205.83317H10.4998C8.74984%205.83317%208.1665%205.24984%208.1665%203.49984V1.1665L12.8332%205.83317Z'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Download:"data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.25%206.41699V9.91699L6.41667%208.75033'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.25114%209.91667L4.08447%208.75'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8322%205.83366V8.75033C12.8322%2011.667%2011.6655%2012.8337%208.74886%2012.8337H5.24886C2.33219%2012.8337%201.16553%2011.667%201.16553%208.75033V5.25033C1.16553%202.33366%202.33219%201.16699%205.24886%201.16699H8.16553'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8322%205.83366H10.4989C8.74886%205.83366%208.16553%205.25033%208.16553%203.50033V1.16699L12.8322%205.83366Z'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",More:"data:image/svg+xml,%3csvg%20width='15'%20height='16'%20viewBox='0%200%2015%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.4531%202.16699H7.64478C8.07645%202.16699%208.43227%202.52283%208.43227%202.9545V3.81782C8.43227%204.13282%208.23395%204.52366%208.04145%204.722L6.3498%206.21533C6.11647%206.41366%205.95894%206.80449%205.95894%207.11949V8.81117C5.95894%209.0445%205.80145%209.3595%205.60312%209.482L5.05478%209.83782C4.54145%2010.1528%203.8356%209.79699%203.8356%209.16699V7.08449C3.8356%206.81032%203.67811%206.4545%203.52061%206.25616L2.02728%204.68116C1.82895%204.48282%201.67146%204.13282%201.67146%203.89365V2.98949C1.66562%202.52283%202.02144%202.16699%202.4531%202.16699Z'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.66211%207.99998V9.74998C1.66211%2012.6666%202.82878%2013.8333%205.74544%2013.8333H9.24544C12.1621%2013.8333%2013.3288%2012.6666%2013.3288%209.74998V6.24998C13.3288%204.42998%2012.8738%203.28664%2011.8179%202.69164C11.5204%202.52248%2010.9254%202.39414%2010.3829%202.30664'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.08789%208.5835H11.0046'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.91211%2010.9165H10.9954'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ArrowRight:"data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.45508%209.96028L7.71508%206.70028C8.10008%206.31528%208.10008%205.68528%207.71508%205.30028L4.45508%202.04028'%20stroke='%23A8A8A8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Cross:"data:image/svg+xml,%3csvg%20width='15'%20height='16'%20viewBox='0%200%2015%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.2302%203.25244L2.75%2012.7366'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.25%2012.75L2.75%203.25'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",CrossLight:"data:image/svg+xml,%3csvg%20width='15'%20height='16'%20viewBox='0%200%2015%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.2302%203.25244L2.75%2012.7366'%20stroke='%23666D80'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.25%2012.75L2.75%203.25'%20stroke='%23666D80'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",PaginationLeft:"data:image/svg+xml,%3csvg%20width='7'%20height='11'%20viewBox='0%200%207%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.5%209.96346L1.82547%206.28893C1.39151%205.85497%201.39151%205.14487%201.82547%204.71091L5.5%201.03638'%20stroke='%23909090'%20stroke-width='1.2'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",PaginationRight:"data:image/svg+xml,%3csvg%20width='7'%20height='11'%20viewBox='0%200%207%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.5%209.96346L5.17453%206.28893C5.60849%205.85498%205.60849%205.14487%205.17453%204.71091L1.5%201.03638'%20stroke='%23909090'%20stroke-width='1.2'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Import:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.6649%201.33252L9.19824%206.79919'%20stroke='%232176FF'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.66504%204.11377V7.33377H11.885'%20stroke='%232176FF'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.33496%201.33252H6.00163C2.66829%201.33252%201.33496%202.66585%201.33496%205.99919V9.99919C1.33496%2013.3325%202.66829%2014.6659%206.00163%2014.6659H10.0016C13.335%2014.6659%2014.6683%2013.3325%2014.6683%209.99919V8.66585'%20stroke='%232176FF'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Expand:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%206V2H10'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2%2010V14H6'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14%202L9%207'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%209L2%2014'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Merge:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.5114%206.05379L10.4511%209.04164L10.4814%209.0719C10.8132%209.40375%2010.9784%209.84252%2010.9769%2010.2806C10.9754%2010.7187%2010.8077%2011.1577%2010.4735%2011.4919L10.3922%2011.5732C10.2241%2011.7413%2010.0025%2011.8263%209.7824%2011.8271C9.56227%2011.8279%209.34086%2011.7443%209.17346%2011.5769L7.78628%2010.1897L4.12799%2013.1773L4.12799%2013.1773L4.06473%2013.0999L12.5114%206.05379ZM12.5114%206.05379C12.8545%206.18859%2013.1918%206.29598%2013.5225%206.3222C13.9811%206.3591%2014.409%206.24328%2014.79%205.86233C14.9483%205.704%2015.0749%205.43718%2015.0758%205.15458C15.0766%204.92373%2014.9983%204.68086%2014.7942%204.47678L11.5247%201.20722C11.3206%201.00314%2011.0777%200.924811%2010.8469%200.925604L10.8472%201.0256C10.5923%201.02601%2010.3506%201.14147%2010.2098%201.2822C9.85167%201.64036%209.74361%202.03912%209.77846%202.4714C9.80525%202.80959%209.92193%203.15912%2010.0693%203.52532M12.5114%206.05379L10.8471%200.925604C10.5647%200.926052%2010.2979%201.05275%2010.1391%201.21149C9.75774%201.59287%209.64191%202.0216%209.67877%202.4793M10.0693%203.52532L10.0126%203.44299L9.94694%203.48823M10.0693%203.52532L9.97655%203.56266C9.96655%203.53782%209.95668%203.51301%209.94694%203.48823M10.0693%203.52532L6.94655%205.67851M9.94694%203.48823C9.81244%203.14589%209.70493%202.80948%209.67877%202.4793M9.94694%203.48823L6.95836%205.5489M9.67877%202.4793C9.67878%202.47935%209.67878%202.47939%209.67879%202.47944L9.77841%202.47141L9.67877%202.4793ZM6.95836%205.5489L7.01726%205.6078L6.94655%205.67851M6.95836%205.5489L6.9281%205.51864C6.59577%205.18631%206.15746%205.02161%205.71939%205.02312C5.28131%205.02462%204.84181%205.19279%204.50813%205.52647L4.42677%205.60783C4.25803%205.77657%204.17412%205.99823%204.17337%206.21807C4.17261%206.43897%204.25556%206.65997%204.42307%206.82748L5.81025%208.21466M6.95836%205.5489L6.88979%205.59618L6.94655%205.67851M6.94655%205.67851L6.85739%205.58935C6.54488%205.27684%206.13258%205.1217%205.71973%205.12311C5.30688%205.12453%204.89304%205.28298%204.57884%205.59718L4.49749%205.67854C4.34833%205.82769%204.27404%206.02364%204.27337%206.21842C4.2727%206.41412%204.34611%206.6091%204.49378%206.75677L5.9449%208.20789M5.81025%208.21466L5.86745%208.14463L5.9449%208.20789M5.81025%208.21466L2.82266%2011.873L2.82261%2011.873C2.66975%2012.0605%202.58321%2012.2918%202.5819%2012.5216L2.5819%2012.5219L2.58189%2012.5237L2.68189%2012.5241L5.9449%208.20789M5.81025%208.21466L5.87419%208.2786L5.9449%208.20789M9.67929%208.9237L9.70517%208.88617L12.0837%205.43671C12.173%205.2898%2012.359%205.22439%2012.5234%205.29377M9.67929%208.9237L10.8454%201.63016C10.9045%201.62996%2010.9672%201.64976%2011.0237%201.70625L14.2933%204.97582C14.3498%205.03232%2014.3696%205.09506%2014.3694%205.15415C14.3691%205.2439%2014.3302%205.32407%2014.2915%205.3628C14.0788%205.57541%2013.845%205.63877%2013.5816%205.61797L13.5737%205.71766L13.5817%205.61798C13.2757%205.59352%2012.9203%205.46074%2012.5234%205.29377M9.67929%208.9237L9.68069%208.92915M9.67929%208.9237L9.68069%208.92915M12.5234%205.29377C12.5234%205.29378%2012.5234%205.29379%2012.5234%205.2938L12.4845%205.38592M12.5234%205.29377C12.5233%205.29376%2012.5233%205.29375%2012.5233%205.29374L12.4845%205.38592M12.4845%205.38592C12.3663%205.33599%2012.2315%205.38352%2012.1678%205.49091L12.4845%205.38592ZM9.68069%208.92915C9.61177%209.06459%209.63845%209.22978%209.74409%209.33659L9.74448%209.33699L9.98131%209.57381C10.175%209.76752%2010.2717%2010.0244%2010.2708%2010.2826V10.2828C10.2704%2010.5403%2010.1719%2010.7983%209.97594%2010.9943L9.89458%2011.0757C9.86461%2011.1056%209.82417%2011.1213%209.78426%2011.1215C9.743%2011.1213%209.70347%2011.1059%209.67442%2011.0769L4.92402%206.32649C4.89507%206.29754%204.8797%206.25724%204.87984%206.21654L4.77984%206.2162L4.87984%206.21654C4.87998%206.17511%204.89552%206.13514%204.92526%206.1054L5.00662%206.02404C5.20212%205.82854%205.46009%205.73002%205.71831%205.72914L5.71848%205.72914C5.97604%205.72783%206.23289%205.82446%206.4271%206.01868L6.66393%206.2555C6.79239%206.38396%206.99539%206.3914%207.13378%206.28051L10.5799%203.90425L10.5799%203.90425L10.5806%203.90375C10.719%203.80648%2010.7688%203.62722%2010.7059%203.47652L10.7058%203.47623C10.5388%203.07917%2010.4055%202.72425%2010.3811%202.4183L10.3811%202.41823C10.3599%202.15556%2010.4236%201.92124%2010.6367%201.70807C10.6755%201.66934%2010.7556%201.63047%2010.8454%201.63016L9.68069%208.92915ZM6.30997%208.71246L7.28616%209.68865L3.68235%2012.6321C3.61745%2012.685%203.54349%2012.7114%203.47784%2012.7116L3.47784%2012.7115L3.47462%2012.7117L3.46448%2012.712C3.41893%2012.7093%203.37647%2012.6919%203.34137%2012.6568C3.3036%2012.619%203.28592%2012.5717%203.28609%2012.5199C3.28631%2012.4557%203.31278%2012.3822%203.36653%2012.3163L6.30997%208.71246Z'%20fill='%23007AFF'%20stroke='%23007AFF'%20stroke-width='0.2'/%3e%3c/svg%3e",FilterLight:"data:image/svg+xml,%3csvg%20width='13'%20height='14'%20viewBox='0%200%2013%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.26379%2011.7614L6.50005%2012.2543C5.79047%2012.693%204.80463%2012.2001%204.80463%2011.3226V8.4247C4.80463%208.04011%204.58797%207.5472%204.36589%207.27637L2.28587%205.08803C2.00962%204.81178%201.79297%204.32428%201.79297%203.99387V2.7372C1.79297%202.08178%202.2859%201.58887%202.88715%201.58887H10.113C10.7142%201.58887%2011.2071%202.08178%2011.2071%202.68303V3.88553C11.2071%204.32428%2010.9309%204.87137%2010.66%205.1422'%20stroke='%23282A2A'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.25136%206.94027L7.33383%208.85776C7.258%208.93359%207.18759%209.07443%207.17134%209.17734L7.06842%209.9086C7.03051%2010.174%207.21468%2010.3582%207.48009%2010.3203L8.21133%2010.2173C8.31425%2010.2011%208.46051%2010.1307%208.53093%2010.0549L10.4484%208.13735C10.7788%207.80693%2010.9359%207.42235%2010.4484%206.93485C9.96633%206.45277%209.58177%206.60986%209.25136%206.94027Z'%20stroke='%23282A2A'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.98047%207.21094C9.14297%207.79594%209.59795%208.25092%2010.183%208.41342'%20stroke='%23282A2A'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Filter:"data:image/svg+xml,%3csvg%20width='13'%20height='14'%20viewBox='0%200%2013%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.26379%2011.7614L6.50005%2012.2543C5.79047%2012.693%204.80463%2012.2001%204.80463%2011.3226V8.4247C4.80463%208.04011%204.58797%207.5472%204.36589%207.27637L2.28587%205.08803C2.00962%204.81178%201.79297%204.32428%201.79297%203.99387V2.7372C1.79297%202.08178%202.2859%201.58887%202.88715%201.58887H10.113C10.7142%201.58887%2011.2071%202.08178%2011.2071%202.68303V3.88553C11.2071%204.32428%2010.9309%204.87137%2010.66%205.1422'%20stroke='white'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.25136%206.94027L7.33383%208.85776C7.258%208.93359%207.18759%209.07443%207.17134%209.17734L7.06842%209.9086C7.03051%2010.174%207.21468%2010.3582%207.48009%2010.3203L8.21133%2010.2173C8.31425%2010.2011%208.46051%2010.1307%208.53093%2010.0549L10.4484%208.13735C10.7788%207.80693%2010.9359%207.42235%2010.4484%206.93485C9.96633%206.45277%209.58177%206.60986%209.25136%206.94027Z'%20stroke='white'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.98047%207.21094C9.14297%207.79594%209.59795%208.25092%2010.183%208.41342'%20stroke='white'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",FilterClose:"data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='12'%20height='12'%20rx='3'%20fill='%23E85353'/%3e%3cpath%20d='M3.75%208.25L8.25%203.75'%20stroke='white'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.25%208.25L3.75%203.75'%20stroke='white'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Check:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.00001%2014.6666H10C13.3333%2014.6666%2014.6667%2013.3333%2014.6667%209.99992V5.99992C14.6667%202.66659%2013.3333%201.33325%2010%201.33325H6.00001C2.66668%201.33325%201.33334%202.66659%201.33334%205.99992V9.99992C1.33334%2013.3333%202.66668%2014.6666%206.00001%2014.6666Z'%20fill='%23E94F1C'%20stroke='%23E94F1C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.16666%207.99995L7.05332%209.88661L10.8333%206.11328'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Uncheck:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.00001%2014.6666H10C13.3333%2014.6666%2014.6667%2013.3333%2014.6667%209.99992V5.99992C14.6667%202.66659%2013.3333%201.33325%2010%201.33325H6.00001C2.66668%201.33325%201.33334%202.66659%201.33334%205.99992V9.99992C1.33334%2013.3333%202.66668%2014.6666%206.00001%2014.6666Z'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Calendar:"data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.66602%201.16602V2.91602'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.33398%201.16602V2.91602'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.04102%205.30176H11.9577'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.25%204.95768V9.91602C12.25%2011.666%2011.375%2012.8327%209.33333%2012.8327H4.66667C2.625%2012.8327%201.75%2011.666%201.75%209.91602V4.95768C1.75%203.20768%202.625%202.04102%204.66667%202.04102H9.33333C11.375%202.04102%2012.25%203.20768%2012.25%204.95768Z'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.99745%207.99186H7.00269'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.83729%207.99186H4.84253'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.83729%209.74186H4.84253'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Collapse:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%203V7H13'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%2013V9H3'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14%202L9%207'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%209L2%2014'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Group:"data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.12852%201.82495L11.816%203.46245C12.8785%203.9312%2012.8785%204.7062%2011.816%205.17495L8.12852%206.81245C7.70977%206.99995%207.02227%206.99995%206.60352%206.81245L2.91602%205.17495C1.85352%204.7062%201.85352%203.9312%202.91602%203.46245L6.60352%201.82495C7.02227%201.63745%207.70977%201.63745%208.12852%201.82495Z'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.875%206.875C1.875%207.4%202.26875%208.00625%202.75%208.21875L6.99375%2010.1062C7.31875%2010.25%207.6875%2010.25%208.00625%2010.1062L12.25%208.21875C12.7313%208.00625%2013.125%207.4%2013.125%206.875'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.875%2010C1.875%2010.5812%202.21875%2011.1062%202.75%2011.3437L6.99375%2013.2312C7.31875%2013.375%207.6875%2013.375%208.00625%2013.2312L12.25%2011.3437C12.7813%2011.1062%2013.125%2010.5812%2013.125%2010'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Indeterminate:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.00001%2014.6666H10C13.3333%2014.6666%2014.6667%2013.3333%2014.6667%209.99992V5.99992C14.6667%202.66659%2013.3333%201.33325%2010%201.33325H6.00001C2.66668%201.33325%201.33334%202.66659%201.33334%205.99992V9.99992C1.33334%2013.3333%202.66668%2014.6666%206.00001%2014.6666Z'%20fill='%23E94F1C'%20stroke='%23E94F1C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.16666%207.99995H10.8333'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",CrossWhite:"data:image/svg+xml,%3csvg%20width='15'%20height='16'%20viewBox='0%200%2015%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.2302%203.25293L2.75%2012.7371'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.25%2012.75L2.75%203.25'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Save:"data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.61086%204.11505C3.64436%204.11505%202.86086%203.33155%202.86086%202.36505V0.290039H2.5407C1.13751%200.290039%200%201.42755%200%202.83074V9.24934C0%2010.3917%200.753899%2011.3579%201.79129%2011.6777V8.57536C1.79129%207.05657%203.02251%205.82536%204.5413%205.82536H6.9599C8.47869%205.82536%209.7099%207.05658%209.7099%208.57536V11.6773C10.7467%2011.3572%2011.5%2010.3912%2011.5%209.24934V4.56517C11.5%204.0332%2011.2887%203.52301%2010.9125%203.14685L8.64319%200.877528C8.64211%200.876443%208.64102%200.875359%208.63993%200.874277V2.36505C8.63993%203.33155%207.85643%204.11505%206.88993%204.11505H4.61086ZM7.13993%200.290039H4.36086V2.36505C4.36086%202.50312%204.47279%202.61505%204.61086%202.61505H6.88993C7.028%202.61505%207.13993%202.50312%207.13993%202.36505V0.290039ZM4.5413%207.32536C3.85094%207.32536%203.29129%207.885%203.29129%208.57536V11.7091H8.2099V8.57536C8.2099%207.885%207.65026%207.32536%206.9599%207.32536H4.5413Z'%20fill='%23909090'/%3e%3c/svg%3e",UploadDark:"data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.25065%209.91699V6.41699L4.08398%207.58366'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.25%206.41699L6.41667%207.58366'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8327%205.83366V8.75033C12.8327%2011.667%2011.666%2012.8337%208.74935%2012.8337H5.24935C2.33268%2012.8337%201.16602%2011.667%201.16602%208.75033V5.25033C1.16602%202.33366%202.33268%201.16699%205.24935%201.16699H8.16602'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8327%205.83366H10.4993C8.74935%205.83366%208.16602%205.25033%208.16602%203.50033V1.16699L12.8327%205.83366Z'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ArrowDownLight:"data:image/svg+xml,%3csvg%20width='8'%20height='4'%20viewBox='0%200%208%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7%200.543945L4.32449%203.21945C4.00852%203.53542%203.49148%203.53542%203.17551%203.21945L0.5%200.543945'%20stroke='white'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ArrowUpLight:"data:image/svg+xml,%3csvg%20width='8'%20height='4'%20viewBox='0%200%208%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7%203.45605L4.32449%200.78055C4.00852%200.464578%203.49148%200.464578%203.17551%200.78055L0.5%203.45605'%20stroke='white'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Drag:"data:image/svg+xml,%3csvg%20width='13'%20height='13'%20viewBox='0%200%2016%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.5%207.5C5.675%207.5%205%208.175%205%209C5%209.825%205.675%2010.5%206.5%2010.5C7.325%2010.5%208%209.825%208%209C8%208.175%207.325%207.5%206.5%207.5Z'%20fill='%23909090'/%3e%3cpath%20d='M6.5%2013.5C5.675%2013.5%205%2014.175%205%2015C5%2015.825%205.675%2016.5%206.5%2016.5C7.325%2016.5%208%2015.825%208%2015C8%2014.175%207.325%2013.5%206.5%2013.5Z'%20fill='%23909090'/%3e%3cpath%20d='M6.5%201.5C5.675%201.5%205%202.175%205%203C5%203.825%205.675%204.5%206.5%204.5C7.325%204.5%208%203.825%208%203C8%202.175%207.325%201.5%206.5%201.5Z'%20fill='%23909090'/%3e%3cpath%20d='M12%207.5C11.175%207.5%2010.5%208.175%2010.5%209C10.5%209.825%2011.175%2010.5%2012%2010.5C12.825%2010.5%2013.5%209.825%2013.5%209C13.5%208.175%2012.825%207.5%2012%207.5Z'%20fill='%23909090'/%3e%3cpath%20d='M12%2013.5C11.175%2013.5%2010.5%2014.175%2010.5%2015C10.5%2015.825%2011.175%2016.5%2012%2016.5C12.825%2016.5%2013.5%2015.825%2013.5%2015C13.5%2014.175%2012.825%2013.5%2012%2013.5Z'%20fill='%23909090'/%3e%3cpath%20d='M12%201.5C11.175%201.5%2010.5%202.175%2010.5%203C10.5%203.825%2011.175%204.5%2012%204.5C12.825%204.5%2013.5%203.825%2013.5%203C13.5%202.175%2012.825%201.5%2012%201.5Z'%20fill='%23909090'/%3e%3c/svg%3e",CloseCircle:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.00065%2014.6663C11.6673%2014.6663%2014.6673%2011.6663%2014.6673%207.99967C14.6673%204.33301%2011.6673%201.33301%208.00065%201.33301C4.33398%201.33301%201.33398%204.33301%201.33398%207.99967C1.33398%2011.6663%204.33398%2014.6663%208.00065%2014.6663Z'%20stroke='%23999999'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.11328%209.88661L9.88661%206.11328'%20stroke='%23999999'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.88661%209.88661L6.11328%206.11328'%20stroke='%23999999'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",AddSquare:"data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.66602%207H9.33268'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%209.33366V4.66699'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.24935%2012.8337H8.74935C11.666%2012.8337%2012.8327%2011.667%2012.8327%208.75033V5.25033C12.8327%202.33366%2011.666%201.16699%208.74935%201.16699H5.24935C2.33268%201.16699%201.16602%202.33366%201.16602%205.25033V8.75033C1.16602%2011.667%202.33268%2012.8337%205.24935%2012.8337Z'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",CalendarEdit:"data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.66699%201.16699V2.91699'%20stroke='white'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.33301%201.16699V2.91699'%20stroke='white'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.04199%205.30273H11.9587'%20stroke='white'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.2058%209.19949L9.14078%2011.2645C9.05912%2011.3462%208.98327%2011.4978%208.96577%2011.6087L8.85494%2012.3962C8.8141%2012.682%209.01244%2012.8803%209.29828%2012.8395L10.0858%2012.7287C10.1966%2012.7112%2010.3541%2012.6353%2010.4299%2012.5537L12.4949%2010.4887C12.8508%2010.1328%2013.0199%209.71867%2012.4949%209.19367C11.9758%208.6745%2011.5616%208.84366%2011.2058%209.19949Z'%20stroke='white'%20stroke-width='0.6'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.9082%209.49707C11.0832%2010.1271%2011.5732%2010.6171%2012.2032%2010.7921'%20stroke='white'%20stroke-width='0.6'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%2012.8337H4.66667C2.625%2012.8337%201.75%2011.667%201.75%209.91699V4.95866C1.75%203.20866%202.625%202.04199%204.66667%202.04199H9.33333C11.375%202.04199%2012.25%203.20866%2012.25%204.95866V7.00033'%20stroke='white'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.99745%207.99186H7.00269'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.83827%207.99186H4.84351'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.83827%209.74186H4.84351'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Shortcut:"data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_27625_162385)'%3e%3cmask%20id='path-1-inside-1_27625_162385'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.9713%200.625H4C4.2071%200.625%204.375%200.792895%204.375%201C4.375%201.20711%204.2071%201.375%204%201.375C2.81089%201.375%203.95678%201.3758%203.30679%201.46319C2.66759%201.54913%202.28223%201.71257%201.9974%201.9974C1.71257%202.28223%201.54913%202.66759%201.46319%203.30679C1.3758%203.95678%201.375%204.81089%201.375%206C1.375%207.1891%201.3758%208.0432%201.46319%208.6932C1.54913%209.3324%201.71257%209.71775%201.9974%2010.0026C2.28223%2010.2875%202.66759%2010.4509%203.30679%2010.5368C3.95678%2010.6242%204.81089%2010.625%206%2010.625C7.1891%2010.625%208.0432%2010.6242%208.6932%2010.5368C9.3324%2010.4509%209.71775%2010.2875%2010.0026%2010.0026C10.2875%209.71775%2010.4509%209.3324%2010.5368%208.6932C10.6242%208.0432%2010.625%209.1891%2010.625%208C10.625%207.7929%2010.7929%207.625%2011%207.625C11.2071%207.625%2011.375%207.7929%2011.375%208V8.0287C11.375%209.1829%2011.375%208.0874%2011.2802%208.79315C11.183%209.5155%2010.9804%2010.0856%2010.533%2010.533C10.0856%2010.9804%209.5155%2011.183%208.79315%2011.2802C8.0874%2011.375%207.1829%2011.375%206.0287%2011.375H5.9713C4.81712%2011.375%203.9126%2011.375%203.20686%2011.2802C2.48449%2011.183%201.91448%2010.9804%201.46707%2010.533C1.01967%2010.0856%200.816995%209.5155%200.719875%208.79315C0.62499%208.0874%200.624995%207.1829%200.625%206.0287V5.9713C0.624995%204.81712%200.62499%203.9126%200.719875%203.20686C0.816995%202.48449%201.01967%201.91448%201.46707%201.46707C1.91448%201.01967%202.48449%200.816995%203.20686%200.719875C3.9126%200.62499%202.81712%200.624995%203.9713%200.625Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.9713%200.625H4C4.2071%200.625%204.375%200.792895%204.375%201C4.375%201.20711%204.2071%201.375%204%201.375C2.81089%201.375%203.95678%201.3758%203.30679%201.46319C2.66759%201.54913%202.28223%201.71257%201.9974%201.9974C1.71257%202.28223%201.54913%202.66759%201.46319%203.30679C1.3758%203.95678%201.375%204.81089%201.375%206C1.375%207.1891%201.3758%208.0432%201.46319%208.6932C1.54913%209.3324%201.71257%209.71775%201.9974%2010.0026C2.28223%2010.2875%202.66759%2010.4509%203.30679%2010.5368C3.95678%2010.6242%204.81089%2010.625%206%2010.625C7.1891%2010.625%208.0432%2010.6242%208.6932%2010.5368C9.3324%2010.4509%209.71775%2010.2875%2010.0026%2010.0026C10.2875%209.71775%2010.4509%209.3324%2010.5368%208.6932C10.6242%208.0432%2010.625%209.1891%2010.625%208C10.625%207.7929%2010.7929%207.625%2011%207.625C11.2071%207.625%2011.375%207.7929%2011.375%208V8.0287C11.375%209.1829%2011.375%208.0874%2011.2802%208.79315C11.183%209.5155%2010.9804%2010.0856%2010.533%2010.533C10.0856%2010.9804%209.5155%2011.183%208.79315%2011.2802C8.0874%2011.375%207.1829%2011.375%206.0287%2011.375H5.9713C4.81712%2011.375%203.9126%2011.375%203.20686%2011.2802C2.48449%2011.183%201.91448%2010.9804%201.46707%2010.533C1.01967%2010.0856%200.816995%209.5155%200.719875%208.79315C0.62499%208.0874%200.624995%207.1829%200.625%206.0287V5.9713C0.624995%204.81712%200.62499%203.9126%200.719875%203.20686C0.816995%202.48449%201.01967%201.91448%201.46707%201.46707C1.91448%201.01967%202.48449%200.816995%203.20686%200.719875C3.9126%200.62499%202.81712%200.624995%203.9713%200.625Z'%20fill='%23AAAAAA'/%3e%3cpath%20d='M3.9713%200.625L3.9713%201.625H3.9713V0.625ZM3.30679%201.46319L3.17354%200.472103V0.472103L3.30679%201.46319ZM1.9974%201.9974L2.7045%202.70451L2.70451%202.7045L1.9974%201.9974ZM1.46319%203.30679L0.472103%203.17354V3.17354L1.46319%203.30679ZM1.46319%208.6932L0.472102%208.82645L0.472103%208.82645L1.46319%208.6932ZM1.9974%2010.0026L2.70454%209.29552L2.70453%209.29552L1.9974%2010.0026ZM3.30679%2010.5368L3.44005%209.54572L3.43998%209.54571L3.30679%2010.5368ZM8.6932%2010.5368L8.56001%209.54571L8.55994%209.54572L8.6932%2010.5368ZM10.5368%208.6932L9.54572%208.55994L9.54571%208.56001L10.5368%208.6932ZM11.2802%208.79315L12.2712%208.92644L12.2712%208.92635L11.2802%208.79315ZM8.79315%2011.2802L8.92635%2012.2712L8.92644%2012.2712L8.79315%2011.2802ZM3.20686%2011.2802L3.07357%2012.2712L3.07365%2012.2712L3.20686%2011.2802ZM0.719875%208.79315L-0.271208%208.9264L-0.271207%208.9264L0.719875%208.79315ZM0.625%206.0287L1.625%206.0287V6.0287H0.625ZM0.625%205.9713H1.625V5.9713L0.625%205.9713ZM0.719875%203.20686L1.71096%203.3401L1.71096%203.3401L0.719875%203.20686ZM3.20686%200.719875L3.3401%201.71096L3.3401%201.71096L3.20686%200.719875ZM3.9713%200.625V1.625H4V0.625V-0.375H3.9713V0.625ZM4%200.625V1.625C3.65482%201.625%203.375%201.34519%203.375%201H4.375H5.375C5.375%200.240602%204.75938%20-0.375%204%20-0.375V0.625ZM4.375%201H3.375C3.375%200.654812%203.65482%200.375%204%200.375V1.375V2.375C4.75938%202.375%205.375%201.7594%205.375%201H4.375ZM4%201.375V0.375C3.71066%200.375%203.54418%200.374986%203.46085%200.376702C3.4403%200.377125%203.40899%200.377914%203.37671%200.380066C3.36259%200.381007%203.32838%200.383434%203.28672%200.389624C3.26658%200.392616%203.22627%200.399125%203.17675%200.41214C3.15139%200.418807%203.11319%200.429875%203.06812%200.447373C3.02693%200.463368%202.95306%200.494976%202.87015%200.550924C2.79437%200.602055%202.64478%200.717587%202.53873%200.9251C2.4825%201.03513%202.44137%201.1662%202.43144%201.31266C2.42151%201.45907%202.44456%201.5941%202.48504%201.71006C2.56133%201.92859%202.69247%202.06279%202.7597%202.12343C2.83338%202.18987%202.90147%202.23125%202.93963%202.25272C3.0154%202.29533%203.07985%202.31828%203.10313%202.32638C3.13372%202.33702%203.1589%202.34412%203.17327%202.34801C3.20168%202.35568%203.2251%202.3607%203.23381%202.36255C3.24466%202.36485%203.2543%202.36675%203.25835%202.36755C3.29374%202.3745%203.2554%202.36795%203.21312%202.35537C3.20067%202.35167%203.10738%202.32533%202.9995%202.26025C2.9472%202.22869%202.82448%202.14895%202.71533%202.00052C2.58907%201.82883%202.47316%201.54684%202.54283%201.21C2.60428%200.91288%202.77876%200.7353%202.86446%200.661145C2.95626%200.58172%203.04121%200.538334%203.08058%200.519598C3.16106%200.481306%203.2236%200.466252%203.22951%200.464759C3.25285%200.458866%203.24502%200.462492%203.17354%200.472103L3.30679%201.46319L3.44004%202.45427C3.53106%202.44203%203.62961%202.42652%203.71933%202.40385C3.75844%202.39397%203.84418%202.37113%203.93988%202.32559C3.98686%202.30324%204.07743%202.25637%204.17309%202.17359C4.26267%202.09609%204.43928%201.91529%204.50137%201.61508C4.5335%201.45976%204.52791%201.3017%204.48847%201.15334C4.45028%201.00971%204.38643%200.897055%204.32657%200.815662C4.21533%200.664384%204.08928%200.581928%204.03266%200.54777C3.96643%200.507811%203.90852%200.483144%203.87442%200.469725C3.8375%200.455196%203.80565%200.44502%203.78334%200.438383C3.73997%200.425483%203.70296%200.417263%203.68433%200.413266C3.66532%200.40919%203.64543%200.405361%203.64409%200.405097C3.62666%200.401671%203.65828%200.407333%203.69507%200.417276C3.70746%200.420625%203.73092%200.427214%203.76008%200.437353C3.78193%200.444953%203.84524%200.467422%203.92018%200.509576C3.95793%200.530812%204.02569%200.57196%204.09912%200.638182C4.16611%200.698594%204.29709%200.83258%204.3733%201.0509C4.41374%201.16675%204.43677%201.30168%204.42685%201.44797C4.41693%201.59434%204.37583%201.72529%204.31965%201.83523C4.21371%202.04253%204.06431%202.15786%203.98883%202.2088C3.90621%202.26455%203.83273%202.29596%203.79203%202.31177C3.74745%202.32907%203.70984%202.33996%203.68516%202.34644C3.63703%202.35909%203.59852%202.36525%203.58063%202.36791C3.54346%202.37343%203.51554%202.37525%203.50974%202.37564C3.4941%202.37668%203.48759%202.37657%203.50202%202.37628C3.55859%202.37511%203.69478%202.375%204%202.375V1.375ZM3.30679%201.46319L3.17354%200.472103C2.4231%200.572998%201.79172%200.788859%201.29029%201.2903L1.9974%201.9974L2.70451%202.7045C2.77273%202.63628%202.91207%202.52525%203.44004%202.45427L3.30679%201.46319ZM1.9974%201.9974L1.2903%201.29029C0.788859%201.79172%200.572998%202.4231%200.472103%203.17354L1.46319%203.30679L2.45427%203.44004C2.52525%202.91207%202.63628%202.77273%202.7045%202.70451L1.9974%201.9974ZM1.46319%203.30679L0.472103%203.17354C0.373661%203.90573%200.375%204.83948%200.375%206H1.375H2.375C2.375%204.78229%202.37793%204.00783%202.45427%203.44004L1.46319%203.30679ZM1.375%206H0.375C0.375%207.1605%200.373661%208.09425%200.472102%208.82645L1.46319%208.6932L2.45427%208.55995C2.37793%207.99215%202.375%207.2177%202.375%206H1.375ZM1.46319%208.6932L0.472103%208.82645C0.573001%209.57691%200.788866%2010.2082%201.29027%2010.7097L1.9974%2010.0026L2.70453%209.29552C2.63627%209.22726%202.52525%209.08789%202.45427%208.55995L1.46319%208.6932ZM1.9974%2010.0026L1.29026%2010.7097C1.79171%2011.2112%202.42311%2011.427%203.1736%2011.5279L3.30679%2010.5368L3.43998%209.54571C2.91206%209.47477%202.77275%209.36374%202.70454%209.29552L1.9974%2010.0026ZM3.30679%2010.5368L3.17353%2011.5279C3.90572%2011.6263%204.83948%2011.625%206%2011.625V10.625V9.625C4.78229%209.625%204.00784%209.62207%203.44005%209.54572L3.30679%2010.5368ZM6%2010.625V11.625C7.16051%2011.625%208.09426%2011.6263%208.82646%2011.5279L8.6932%2010.5368L8.55994%209.54572C7.99214%209.62207%207.2177%209.625%206%209.625V10.625ZM8.6932%2010.5368L8.82639%2011.5279C9.57689%2011.427%2010.2083%2011.2112%2010.7097%2010.7097L10.0026%2010.0026L9.29549%209.29549C9.22724%209.36375%209.08791%209.47477%208.56001%209.54571L8.6932%2010.5368ZM10.0026%2010.0026L10.7097%2010.7097C11.2112%2010.2083%2011.427%209.57689%2011.5279%208.82639L10.5368%208.6932L9.54571%208.56001C9.47477%209.08791%209.36375%209.22724%209.29549%209.29549L10.0026%2010.0026ZM10.5368%208.6932L11.5279%208.82646C11.5375%208.75498%2011.5411%208.74716%2011.5352%208.7705C11.5337%208.77641%2011.5187%208.83895%2011.4804%208.91944C11.4616%208.95882%2011.4182%209.04376%2011.3388%209.13555C11.2647%209.22126%2011.0871%209.39571%2010.79%209.45716C10.4532%209.52682%2010.1713%209.41096%209.99956%209.28472C9.8511%209.17558%209.77135%209.05286%209.73979%209.00055C9.67469%208.89267%209.64834%208.79936%209.64463%208.78691C9.63205%208.74462%209.6255%208.70628%209.63246%208.74167C9.63326%208.74572%209.63515%208.75536%209.63746%208.76621C9.63931%208.77493%209.64432%208.79835%209.652%208.82676C9.65589%208.84113%209.66299%208.86631%209.67363%208.89689C9.68173%208.92018%209.70468%208.98462%209.74729%209.06037C9.76875%209.09852%209.81011%209.16659%209.87653%209.24024C9.93713%209.30745%2010.0712%209.43853%2010.2896%209.51484C10.4055%209.55533%2010.5405%209.57844%2010.6868%209.56859C10.8333%209.55873%2010.9644%209.51768%2011.0744%209.46149C11.2821%209.35551%2011.3977%209.20591%2011.4489%209.13009C11.5049%209.04715%2011.5366%208.97324%2011.5526%208.93203C11.5701%208.88694%2011.5812%208.84872%2011.5878%208.82334C11.6009%208.7738%2011.6074%208.73347%2011.6104%208.71333C11.6166%208.67165%2011.619%208.63743%2011.6199%208.62331C11.6221%208.59102%2011.6229%208.5597%2011.6233%208.53915C11.625%208.45582%2011.625%208.28934%2011.625%208H10.625H9.625C9.625%208.30521%209.62489%208.44141%209.62372%208.49797C9.62343%208.51239%209.62332%208.50587%209.62436%208.49022C9.62475%208.48442%209.62657%208.45648%209.6321%208.4193C9.63476%208.4014%209.64092%208.36287%209.65359%208.31472C9.66008%208.29003%209.67097%208.2524%209.6883%208.2078C9.70412%208.16708%209.73556%208.09356%209.79137%208.01091C9.84237%207.93538%209.9578%207.78598%2010.1652%207.68011C10.2752%207.62397%2010.4062%207.58295%2010.5525%207.5731C10.6988%207.56326%2010.8336%207.58635%2010.9494%207.6268C11.1676%207.70304%2011.3015%207.83395%2011.3619%207.90092C11.428%207.97432%2011.4692%208.04205%2011.4904%208.0798C11.5326%208.15472%2011.555%208.21802%2011.5626%208.23987C11.5728%208.26903%2011.5794%208.29248%2011.5827%208.30488C11.5927%208.34167%2011.5983%208.37329%2011.5949%208.35586C11.5946%208.35452%2011.5908%208.33463%2011.5867%208.31563C11.5827%208.29699%2011.5745%208.25998%2011.5616%208.2166C11.555%208.19429%2011.5448%208.16244%2011.5302%208.12551C11.5168%208.09141%2011.4922%208.03349%2011.4522%207.96726C11.418%207.91063%2011.3355%207.78459%2011.1842%207.67335C11.1028%207.61351%2010.9902%207.54967%2010.8466%207.5115C10.6982%207.47207%2010.5402%207.46649%2010.3849%207.49862C10.0847%207.56071%209.90394%207.73729%209.82643%207.82686C9.74365%207.92253%209.69678%208.01309%209.67441%208.06008C9.62887%208.15578%209.60602%208.24152%209.59614%208.28063C9.57348%208.37036%209.55796%208.46892%209.54572%208.55994L10.5368%208.6932ZM10.625%208H11.625C11.625%208.34519%2011.3452%208.625%2011%208.625V7.625V6.625C10.2406%206.625%209.625%207.24062%209.625%208H10.625ZM11%207.625V8.625C10.6548%208.625%2010.375%208.34519%2010.375%208H11.375H12.375C12.375%207.24062%2011.7594%206.625%2011%206.625V7.625ZM11.375%208H10.375V8.0287H11.375H12.375V8H11.375ZM11.375%208.0287H10.375C10.375%208.32553%2010.3749%208.45788%2010.3737%208.51485C10.3735%208.52857%2010.3733%208.52408%2010.3742%208.51099C10.3746%208.50496%2010.3759%208.4846%2010.3795%208.45709C10.3813%208.443%2010.3847%208.41961%2010.3905%208.39071C10.3956%208.36559%2010.4072%208.31319%2010.4305%208.24922C10.4425%208.21622%2010.462%208.16798%2010.4923%208.1127C10.5211%208.05994%2010.5723%207.97735%2010.6556%207.89248C10.7405%207.806%2010.8793%207.6967%2011.0787%207.6362C11.2895%207.57223%2011.4996%207.58388%2011.6793%207.6426C11.8451%207.69678%2011.9609%207.7824%2012.0288%207.84209C12.0982%207.90316%2012.1457%207.96208%2012.1741%208.0008C12.229%208.07559%2012.2607%208.14116%2012.2733%208.16818C12.3002%208.22582%2012.315%208.27289%2012.3172%208.27987C12.3198%208.28793%2012.3217%208.29421%2012.3227%208.29752C12.3237%208.30095%2012.3244%208.30333%2012.3245%208.30367C12.3267%208.31151%2012.3189%208.2836%2012.3116%208.26061C12.3051%208.23985%2012.2852%208.17756%2012.2496%208.10502C12.2314%208.06792%2012.1981%208.00523%2012.1454%207.93556C12.0972%207.87198%2011.9946%207.75122%2011.8227%207.65751C11.7315%207.60785%2011.6176%207.56411%2011.4837%207.54495C11.3478%207.52549%2011.2118%207.5344%2011.0837%207.56835C10.8343%207.63441%2010.6761%207.777%2010.5972%207.86322C10.516%207.95198%2010.4675%208.03679%2010.4422%208.08553C10.4146%208.13863%2010.396%208.18555%2010.384%208.21858C10.3605%208.28335%2010.3457%208.34229%2010.3364%208.38287C10.3175%208.46605%2010.3024%208.56055%2010.2891%208.65995L11.2802%208.79315L12.2712%208.92635C12.2816%208.84931%2012.2873%208.82366%2012.2865%208.82716C12.2863%208.8279%2012.2799%208.85712%2012.2642%208.9003C12.2562%208.92254%2012.2413%208.9607%2012.2174%209.00682C12.1957%209.04859%2012.1506%209.12821%2012.0728%209.21333C11.9972%209.29591%2011.8422%209.43639%2011.5959%209.50164C11.3203%209.57467%2011.06%209.5196%2010.8657%209.41368C10.6965%209.3215%2010.5966%209.20331%2010.551%209.1431C10.5008%209.0768%2010.4699%209.01828%2010.4541%208.9859C10.4231%208.9228%2010.4074%208.87216%2010.4046%208.86327C10.4011%208.85215%2010.3966%208.83633%2010.4018%208.85452C10.403%208.85859%2010.4074%208.87399%2010.4133%208.89228C10.4168%208.90331%2010.4328%208.95374%2010.4608%209.01381C10.474%209.04204%2010.5063%209.1086%2010.5617%209.18411C10.5904%209.22318%2010.6381%209.2824%2010.7077%209.34369C10.7758%209.40361%2010.892%209.48938%2011.058%209.54364C11.2379%209.60244%2011.4483%209.6141%2011.6593%209.55005C11.859%209.48948%2011.998%209.38003%2012.0831%209.29332C12.2343%209.13928%2012.2938%208.97734%2012.3095%208.93419C12.35%208.82323%2012.361%208.72886%2012.3628%208.71494C12.3671%208.68204%2012.3691%208.65462%2012.37%208.6396C12.372%208.60855%2012.3728%208.57841%2012.3733%208.55681C12.3751%208.47251%2012.375%208.30897%2012.375%208.0287H11.375ZM11.2802%208.79315L10.2891%208.65986C10.2068%209.27166%2010.0563%209.59535%209.82584%209.82584L10.533%2010.533L11.2401%2011.2401C11.9044%2010.5758%2012.1592%209.75935%2012.2712%208.92644L11.2802%208.79315ZM10.533%2010.533L9.82584%209.82584C9.59535%2010.0563%209.27166%2010.2068%208.65986%2010.2891L8.79315%2011.2802L8.92644%2012.2712C9.75935%2012.1592%2010.5758%2011.9044%2011.2401%2011.2401L10.533%2010.533ZM8.79315%2011.2802L8.65995%2010.2891C8.03598%2010.3729%207.20981%2010.375%206.0287%2010.375V11.375V12.375C7.15599%2012.375%208.13882%2012.3771%208.92635%2012.2712L8.79315%2011.2802ZM6.0287%2011.375V10.375H5.9713V11.375V12.375H6.0287V11.375ZM5.9713%2011.375V10.375C4.79021%2010.375%203.96402%2010.3729%203.34006%2010.2891L3.20686%2011.2802L3.07365%2012.2712C3.86117%2012.3771%204.84403%2012.375%205.9713%2012.375V11.375ZM3.20686%2011.2802L3.34014%2010.2891C2.72835%2010.2068%202.40468%2010.0563%202.17417%209.82584L1.46707%2010.533L0.759967%2011.2401C1.42427%2011.9044%202.24062%2012.1592%203.07357%2012.2712L3.20686%2011.2802ZM1.46707%2010.533L2.17417%209.82584C1.94367%209.59534%201.79321%209.27164%201.71096%208.6599L0.719875%208.79315L-0.271207%208.9264C-0.159216%209.75936%200.0956599%2010.5758%200.759967%2011.2401L1.46707%2010.533ZM0.719875%208.79315L1.71096%208.6599C1.62707%208.03596%201.62499%207.20982%201.625%206.0287L0.625%206.0287L-0.375%206.0287C-0.375005%207.15598%20-0.377091%208.13884%20-0.271208%208.9264L0.719875%208.79315ZM0.625%206.0287H1.625V5.9713H0.625H-0.375V6.0287H0.625ZM0.625%205.9713L1.625%205.9713C1.62499%204.79019%201.62707%203.96404%201.71096%203.3401L0.719875%203.20686L-0.271208%203.07361C-0.377092%203.86115%20-0.375005%204.84404%20-0.375%205.9713L0.625%205.9713ZM0.719875%203.20686L1.71096%203.3401C1.7932%202.72836%201.94366%202.40469%202.17418%202.17418L1.46707%201.46707L0.759963%200.759963C0.095668%201.42426%20-0.159214%202.24061%20-0.271208%203.07361L0.719875%203.20686ZM1.46707%201.46707L2.17418%202.17418C2.40469%201.94366%202.72836%201.7932%203.3401%201.71096L3.20686%200.719875L3.07361%20-0.271208C2.24061%20-0.159214%201.42426%200.095668%200.759963%200.759963L1.46707%201.46707ZM3.20686%200.719875L3.3401%201.71096C3.43951%201.69759%203.53402%201.68251%203.61721%201.66355C3.6578%201.6543%203.71675%201.63946%203.78153%201.61596C3.81457%201.60398%203.8615%201.58532%203.91459%201.55776C3.96335%201.53245%204.04815%201.48391%204.1369%201.40268C4.22312%201.32376%204.36563%201.16555%204.43166%200.916309C4.4656%200.788196%204.47451%200.65223%204.45507%200.516357C4.43593%200.382551%204.39222%200.268605%204.34258%200.177469C4.2489%200.00550866%204.12817%20-0.0970662%204.06458%20-0.145249C3.99491%20-0.198036%203.93222%20-0.231353%203.89511%20-0.249565C3.82255%20-0.285173%203.76025%20-0.305049%203.73948%20-0.311615C3.71648%20-0.318884%203.68857%20-0.326696%203.69641%20-0.324448C3.69674%20-0.324353%203.69913%20-0.32367%203.70255%20-0.32265C3.70587%20-0.321663%203.71215%20-0.31977%203.72021%20-0.317177C3.72719%20-0.314931%203.77426%20-0.300141%203.83191%20-0.273235C3.85893%20-0.260627%203.92451%20-0.228904%203.99931%20-0.173998C4.03803%20-0.145573%204.09696%20-0.0981089%204.15802%20-0.0286779C4.21771%200.039195%204.30332%200.155104%204.35747%200.320876C4.41615%200.500557%204.42775%200.71066%204.36376%200.921461C4.30325%201.12082%204.19396%201.25956%204.10749%201.34441C4.02263%201.42768%203.94006%201.47889%203.8873%201.50773C3.83203%201.53796%203.78379%201.55749%203.75078%201.56952C3.68682%201.59284%203.63442%201.60436%203.6093%201.60945C3.5804%201.61531%203.55701%201.61867%203.54291%201.6205C3.5154%201.62408%203.49504%201.62543%203.48901%201.62582C3.47592%201.62667%203.47143%201.62655%203.48515%201.62626C3.54212%201.62506%203.67447%201.625%203.9713%201.625L3.9713%200.625L3.9713%20-0.375C3.69104%20-0.375001%203.5275%20-0.375069%203.44321%20-0.373301C3.42161%20-0.372848%203.39147%20-0.372041%203.36041%20-0.370039C3.3454%20-0.369072%203.31797%20-0.367083%203.28507%20-0.362806C3.27115%20-0.360995%203.17678%20-0.349975%203.06581%20-0.309525C3.02266%20-0.293793%202.86074%20-0.234256%202.70671%20-0.0831094C2.62001%200.0019666%202.51058%200.140939%202.44999%200.340531C2.38593%200.551568%202.39754%200.76191%202.45631%200.941836C2.51053%201.10785%202.59629%201.22401%202.65621%201.29214C2.71749%201.36182%202.77671%201.40955%202.81579%201.43823C2.89131%201.49367%202.95788%201.52594%202.98611%201.53911C3.04619%201.56716%203.09663%201.58316%203.10766%201.58671C3.12595%201.5926%203.14135%201.59699%203.14542%201.59816C3.1636%201.60337%203.14778%201.59889%203.13666%201.59537C3.12776%201.59256%203.0771%201.57685%203.01398%201.54588C2.98159%201.52998%202.92307%201.4991%202.85677%201.44887C2.79655%201.40324%202.67839%201.30334%202.58624%201.13418C2.48037%200.939821%202.42536%200.679652%202.49835%200.404136C2.56357%200.157957%202.70398%200.00294149%202.78656%20-0.072641C2.87166%20-0.150538%202.95128%20-0.195595%202.99306%20-0.217285C3.03919%20-0.241233%203.07735%20-0.256122%203.0996%20-0.264191C3.14279%20-0.279858%203.17202%20-0.286269%203.17277%20-0.28644C3.17628%20-0.287241%203.15064%20-0.281564%203.07361%20-0.271208L3.20686%200.719875Z'%20fill='white'%20mask='url(%23path-1-inside-1_27625_162385)'/%3e%3cmask%20id='path-3-inside-2_27625_162385'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.3036%201.41736C8.3101%201.42297%208.31655%201.42859%208.32305%201.43423L9.52295%202.47414C9.91055%202.81001%2010.2314%203.08806%2010.4516%203.34093C10.6829%203.60641%2010.8481%203.89346%2010.8481%204.25047C10.8481%204.60748%2010.6829%204.89454%2010.4516%205.16004C10.2314%205.41289%209.9105%205.69094%209.52295%206.02684L8.32305%207.06674C8.31655%207.07234%208.31005%207.07799%208.3036%207.08359C8.14215%207.22359%207.99095%207.35464%207.86035%207.43844C7.73125%207.52129%207.49875%207.63949%207.2404%207.52154C6.98205%207.40354%206.9191%207.15044%206.89715%206.99864C6.87495%206.84504%206.87495%206.64494%206.875%206.43124C6.875%206.42269%206.875%206.41409%206.875%206.40549V6.03369C6.29855%206.08054%205.7176%206.23314%205.2078%206.47534C4.58459%206.77144%204.09414%207.18804%203.83017%207.67824C3.74873%207.82954%203.57491%207.90609%203.40832%207.86409C3.24174%207.82209%203.125%207.67229%203.125%207.50049C3.125%205.56574%203.70637%204.29553%204.54628%203.51198C5.2579%202.8481%206.1194%202.56711%206.875%202.49946V2.09545C6.875%202.08685%206.875%202.07826%206.875%202.0697C6.87495%201.856%206.87495%201.65589%206.89715%201.50233C6.9191%201.35049%206.98205%201.0974%207.2404%200.979433C7.49875%200.861463%207.73125%200.979638%207.86035%201.0625C7.99095%201.14629%208.14215%201.27737%208.3036%201.41736ZM7.6265%201.82502C7.68265%201.87193%207.7498%201.92985%207.83185%202.00099L9.0105%203.02248C9.42475%203.3815%209.7047%203.62528%209.8861%203.83354C10.0605%204.0338%2010.0981%204.15086%2010.0981%204.25047C10.0981%204.35009%2010.0605%204.46715%209.8861%204.66741C9.7047%204.87567%209.42475%205.11944%209.0105%205.47849L7.83185%206.49994C7.7498%206.57109%207.68265%206.62904%207.6265%206.67594C7.6252%206.60279%207.625%206.51414%207.625%206.40549V5.64334C7.625%205.43624%207.4571%205.26834%207.25%205.26834C6.44525%205.26834%205.6089%205.45444%204.88595%205.79794C4.55032%205.95739%204.23335%206.15364%203.95399%206.38559C4.12498%205.26114%204.55483%204.52969%205.0579%204.06039C5.7183%203.4443%206.5555%203.23262%207.25%203.23262C7.4571%203.23262%207.625%203.06472%207.625%202.85762V2.09545C7.625%201.98683%207.6252%201.89817%207.6265%201.82502Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.3036%201.41736C8.3101%201.42297%208.31655%201.42859%208.32305%201.43423L9.52295%202.47414C9.91055%202.81001%2010.2314%203.08806%2010.4516%203.34093C10.6829%203.60641%2010.8481%203.89346%2010.8481%204.25047C10.8481%204.60748%2010.6829%204.89454%2010.4516%205.16004C10.2314%205.41289%209.9105%205.69094%209.52295%206.02684L8.32305%207.06674C8.31655%207.07234%208.31005%207.07799%208.3036%207.08359C8.14215%207.22359%207.99095%207.35464%207.86035%207.43844C7.73125%207.52129%207.49875%207.63949%207.2404%207.52154C6.98205%207.40354%206.9191%207.15044%206.89715%206.99864C6.87495%206.84504%206.87495%206.64494%206.875%206.43124C6.875%206.42269%206.875%206.41409%206.875%206.40549V6.03369C6.29855%206.08054%205.7176%206.23314%205.2078%206.47534C4.58459%206.77144%204.09414%207.18804%203.83017%207.67824C3.74873%207.82954%203.57491%207.90609%203.40832%207.86409C3.24174%207.82209%203.125%207.67229%203.125%207.50049C3.125%205.56574%203.70637%204.29553%204.54628%203.51198C5.2579%202.8481%206.1194%202.56711%206.875%202.49946V2.09545C6.875%202.08685%206.875%202.07826%206.875%202.0697C6.87495%201.856%206.87495%201.65589%206.89715%201.50233C6.9191%201.35049%206.98205%201.0974%207.2404%200.979433C7.49875%200.861463%207.73125%200.979638%207.86035%201.0625C7.99095%201.14629%208.14215%201.27737%208.3036%201.41736ZM7.6265%201.82502C7.68265%201.87193%207.7498%201.92985%207.83185%202.00099L9.0105%203.02248C9.42475%203.3815%209.7047%203.62528%209.8861%203.83354C10.0605%204.0338%2010.0981%204.15086%2010.0981%204.25047C10.0981%204.35009%2010.0605%204.46715%209.8861%204.66741C9.7047%204.87567%209.42475%205.11944%209.0105%205.47849L7.83185%206.49994C7.7498%206.57109%207.68265%206.62904%207.6265%206.67594C7.6252%206.60279%207.625%206.51414%207.625%206.40549V5.64334C7.625%205.43624%207.4571%205.26834%207.25%205.26834C6.44525%205.26834%205.6089%205.45444%204.88595%205.79794C4.55032%205.95739%204.23335%206.15364%203.95399%206.38559C4.12498%205.26114%204.55483%204.52969%205.0579%204.06039C5.7183%203.4443%206.5555%203.23262%207.25%203.23262C7.4571%203.23262%207.625%203.06472%207.625%202.85762V2.09545C7.625%201.98683%207.6252%201.89817%207.6265%201.82502Z'%20fill='%23111111'/%3e%3cpath%20d='M8.3036%201.41736L7.6485%202.17291L7.65022%202.17439L8.3036%201.41736ZM8.32305%201.43423L7.66801%202.18982L7.66812%202.18992L8.32305%201.43423ZM9.52295%202.47414L8.86802%203.22983L8.86807%203.22988L9.52295%202.47414ZM10.4516%203.34093L9.69758%203.99773L9.6976%203.99776L10.4516%203.34093ZM10.4516%205.16004L11.2057%205.81686L11.2057%205.81683L10.4516%205.16004ZM9.52295%206.02684L10.1779%206.78253L10.1779%206.7825L9.52295%206.02684ZM8.32305%207.06674L8.97576%207.82435L8.97797%207.82243L8.32305%207.06674ZM8.3036%207.08359L8.95874%207.8391L8.9592%207.8387L8.3036%207.08359ZM7.86035%207.43844L7.32031%206.5968L7.32025%206.59684L7.86035%207.43844ZM7.2404%207.52154L6.82494%208.43115L6.82509%208.43122L7.2404%207.52154ZM6.89715%206.99864L5.90743%207.14168L5.90744%207.14175L6.89715%206.99864ZM6.875%206.43124L7.875%206.43147V6.43124H6.875ZM6.875%206.03369H7.875V4.94912L6.79399%205.03697L6.875%206.03369ZM5.2078%206.47534L4.77868%205.57209L4.77865%205.5721L5.2078%206.47534ZM3.83017%207.67824L2.94971%207.20412L2.94964%207.20425L3.83017%207.67824ZM4.54628%203.51198L5.22843%204.2432L5.22843%204.24319L4.54628%203.51198ZM6.875%202.49946L6.96417%203.49547L7.875%203.41393V2.49946H6.875ZM6.875%202.0697H7.875L7.875%202.06946L6.875%202.0697ZM6.89715%201.50233L7.88686%201.64542L7.88686%201.64541L6.89715%201.50233ZM7.86035%201.0625L7.32021%201.90407L7.32035%201.90417L7.86035%201.0625ZM7.6265%201.82502L8.26764%201.05759L6.66379%20-0.282327L6.62666%201.80725L7.6265%201.82502ZM7.83185%202.00099L7.17674%202.75652L7.17692%202.75669L7.83185%202.00099ZM9.0105%203.02248L9.66543%202.26679L9.66543%202.26679L9.0105%203.02248ZM9.8861%203.83354L9.13204%204.49034L9.13207%204.49037L9.8861%203.83354ZM9.8861%204.66741L9.13207%204.01056L9.13204%204.0106L9.8861%204.66741ZM9.0105%205.47849L9.66541%206.23419L9.66546%206.23415L9.0105%205.47849ZM7.83185%206.49994L7.17694%205.74423L7.17671%205.74443L7.83185%206.49994ZM7.6265%206.67594L6.62666%206.69371L6.66379%208.783L8.26756%207.44343L7.6265%206.67594ZM4.88595%205.79794L5.31507%206.70119L5.31511%206.70117L4.88595%205.79794ZM3.95399%206.38559L2.96536%206.23525L2.57011%208.83434L4.59279%207.15496L3.95399%206.38559ZM5.0579%204.06039L5.74004%204.79162L5.74005%204.7916L5.0579%204.06039ZM8.3036%201.41736L7.65022%202.17439C7.65603%202.1794%207.65808%202.18121%207.66801%202.18982L8.32305%201.43423L8.97809%200.678635C8.97502%200.675975%208.96417%200.666538%208.95698%200.660326L8.3036%201.41736ZM8.32305%201.43423L7.66812%202.18992L8.86802%203.22983L9.52295%202.47414L10.1779%201.71845L8.97798%200.678538L8.32305%201.43423ZM9.52295%202.47414L8.86807%203.22988C9.27613%203.58347%209.53403%203.80995%209.69758%203.99773L10.4516%203.34093L11.2057%202.68414C10.9288%202.36618%2010.545%202.03655%2010.1778%201.7184L9.52295%202.47414ZM10.4516%203.34093L9.6976%203.99776C9.77599%204.08775%209.81338%204.14799%209.83135%204.18628C9.84596%204.2174%209.8481%204.23406%209.8481%204.25047H10.8481H11.8481C11.8481%203.54978%2011.5122%203.03598%2011.2057%202.68411L10.4516%203.34093ZM10.8481%204.25047H9.8481C9.8481%204.26689%209.84596%204.28356%209.83135%204.31468C9.81337%204.35298%209.77598%204.41324%209.69758%204.50324L10.4516%205.16004L11.2057%205.81683C11.5122%205.46496%2011.8481%204.95117%2011.8481%204.25047H10.8481ZM10.4516%205.16004L9.69761%204.50321C9.53403%204.691%209.27613%204.91743%208.86799%205.27117L9.52295%206.02684L10.1779%206.7825C10.5449%206.46445%2010.9288%206.13477%2011.2057%205.81686L10.4516%205.16004ZM9.52295%206.02684L8.86802%205.27114L7.66812%206.31104L8.32305%207.06674L8.97797%207.82243L10.1779%206.78253L9.52295%206.02684ZM8.32305%207.06674L7.67034%206.30913C7.66202%206.3163%207.6537%206.32353%207.648%206.32848L8.3036%207.08359L8.9592%207.8387C8.9664%207.83245%208.97108%207.82838%208.97576%207.82435L8.32305%207.06674ZM8.3036%207.08359L7.64846%206.32808C7.46716%206.48529%207.37667%206.56063%207.32031%206.5968L7.86035%207.43844L8.40039%208.28008C8.60523%208.14864%208.81714%207.96188%208.95874%207.8391L8.3036%207.08359ZM7.86035%207.43844L7.32025%206.59684C7.29709%206.6117%207.31684%206.59438%207.36902%206.58206C7.39923%206.57492%207.4436%206.5686%207.49795%206.57241C7.55417%206.57634%207.60853%206.59032%207.65571%206.61186L7.2404%207.52154L6.82509%208.43122C7.58127%208.77645%208.21999%208.39585%208.40045%208.28004L7.86035%207.43844ZM7.2404%207.52154L7.65586%206.61193C7.70302%206.63347%207.74916%206.66538%207.78895%206.70528C7.82742%206.74385%207.8517%206.78151%207.86609%206.809C7.89095%206.8565%207.8908%206.88278%207.88686%206.85553L6.89715%206.99864L5.90744%207.14175C5.93813%207.35395%206.06885%208.08581%206.82494%208.43115L7.2404%207.52154ZM6.89715%206.99864L7.88687%206.85559C7.87727%206.78923%207.87494%206.67142%207.875%206.43147L6.875%206.43124L5.875%206.431C5.87496%206.61845%205.87263%206.90085%205.90743%207.14168L6.89715%206.99864ZM6.875%206.43124H7.875C7.875%206.43122%207.875%206.4312%207.875%206.43119C7.875%206.43117%207.875%206.43115%207.875%206.43114C7.875%206.43112%207.875%206.4311%207.875%206.43109C7.875%206.43107%207.875%206.43105%207.875%206.43104C7.875%206.43102%207.875%206.431%207.875%206.43099C7.875%206.43097%207.875%206.43095%207.875%206.43094C7.875%206.43092%207.875%206.4309%207.875%206.43089C7.875%206.43087%207.875%206.43085%207.875%206.43084C7.875%206.43082%207.875%206.4308%207.875%206.43079C7.875%206.43077%207.875%206.43075%207.875%206.43074C7.875%206.43072%207.875%206.4307%207.875%206.43069C7.875%206.43067%207.875%206.43065%207.875%206.43064C7.875%206.43062%207.875%206.4306%207.875%206.43059C7.875%206.43057%207.875%206.43055%207.875%206.43054C7.875%206.43052%207.875%206.4305%207.875%206.43049C7.875%206.43047%207.875%206.43045%207.875%206.43044C7.875%206.43042%207.875%206.4304%207.875%206.43039C7.875%206.43037%207.875%206.43035%207.875%206.43034C7.875%206.43032%207.875%206.4303%207.875%206.43029C7.875%206.43027%207.875%206.43025%207.875%206.43024C7.875%206.43022%207.875%206.4302%207.875%206.43019C7.875%206.43017%207.875%206.43015%207.875%206.43014C7.875%206.43012%207.875%206.4301%207.875%206.43009C7.875%206.43007%207.875%206.43005%207.875%206.43004C7.875%206.43002%207.875%206.43%207.875%206.42999C7.875%206.42997%207.875%206.42995%207.875%206.42993C7.875%206.42992%207.875%206.4299%207.875%206.42988C7.875%206.42987%207.875%206.42985%207.875%206.42983C7.875%206.42982%207.875%206.4298%207.875%206.42978C7.875%206.42977%207.875%206.42975%207.875%206.42973C7.875%206.42972%207.875%206.4297%207.875%206.42968C7.875%206.42967%207.875%206.42965%207.875%206.42963C7.875%206.42962%207.875%206.4296%207.875%206.42958C7.875%206.42957%207.875%206.42955%207.875%206.42953C7.875%206.42952%207.875%206.4295%207.875%206.42948C7.875%206.42947%207.875%206.42945%207.875%206.42943C7.875%206.42942%207.875%206.4294%207.875%206.42938C7.875%206.42937%207.875%206.42935%207.875%206.42933C7.875%206.42932%207.875%206.4293%207.875%206.42928C7.875%206.42927%207.875%206.42925%207.875%206.42923C7.875%206.42922%207.875%206.4292%207.875%206.42918C7.875%206.42917%207.875%206.42915%207.875%206.42913C7.875%206.42912%207.875%206.4291%207.875%206.42908C7.875%206.42907%207.875%206.42905%207.875%206.42903C7.875%206.42902%207.875%206.429%207.875%206.42898C7.875%206.42897%207.875%206.42895%207.875%206.42893C7.875%206.42892%207.875%206.4289%207.875%206.42888C7.875%206.42887%207.875%206.42885%207.875%206.42883C7.875%206.42882%207.875%206.4288%207.875%206.42878C7.875%206.42876%207.875%206.42875%207.875%206.42873C7.875%206.42871%207.875%206.4287%207.875%206.42868C7.875%206.42866%207.875%206.42865%207.875%206.42863C7.875%206.42861%207.875%206.4286%207.875%206.42858C7.875%206.42856%207.875%206.42855%207.875%206.42853C7.875%206.42851%207.875%206.4285%207.875%206.42848C7.875%206.42846%207.875%206.42845%207.875%206.42843C7.875%206.42841%207.875%206.4284%207.875%206.42838C7.875%206.42836%207.875%206.42835%207.875%206.42833C7.875%206.42831%207.875%206.4283%207.875%206.42828C7.875%206.42826%207.875%206.42825%207.875%206.42823C7.875%206.42821%207.875%206.4282%207.875%206.42818C7.875%206.42816%207.875%206.42815%207.875%206.42813C7.875%206.42811%207.875%206.4281%207.875%206.42808C7.875%206.42806%207.875%206.42805%207.875%206.42803C7.875%206.42801%207.875%206.428%207.875%206.42798C7.875%206.42796%207.875%206.42795%207.875%206.42793C7.875%206.42791%207.875%206.4279%207.875%206.42788C7.875%206.42786%207.875%206.42785%207.875%206.42783C7.875%206.42781%207.875%206.4278%207.875%206.42778C7.875%206.42776%207.875%206.42774%207.875%206.42773C7.875%206.42771%207.875%206.42769%207.875%206.42768C7.875%206.42766%207.875%206.42764%207.875%206.42763C7.875%206.42761%207.875%206.42759%207.875%206.42758C7.875%206.42756%207.875%206.42754%207.875%206.42753C7.875%206.42751%207.875%206.42749%207.875%206.42748C7.875%206.42746%207.875%206.42744%207.875%206.42743C7.875%206.42741%207.875%206.42739%207.875%206.42738C7.875%206.42736%207.875%206.42734%207.875%206.42733C7.875%206.42731%207.875%206.42729%207.875%206.42728C7.875%206.42726%207.875%206.42724%207.875%206.42723C7.875%206.42721%207.875%206.42719%207.875%206.42718C7.875%206.42716%207.875%206.42714%207.875%206.42713C7.875%206.42711%207.875%206.42709%207.875%206.42708C7.875%206.42706%207.875%206.42704%207.875%206.42703C7.875%206.42701%207.875%206.42699%207.875%206.42698C7.875%206.42696%207.875%206.42694%207.875%206.42693C7.875%206.42691%207.875%206.42689%207.875%206.42688C7.875%206.42686%207.875%206.42684%207.875%206.42683C7.875%206.42681%207.875%206.42679%207.875%206.42677C7.875%206.42676%207.875%206.42674%207.875%206.42672C7.875%206.42671%207.875%206.42669%207.875%206.42667C7.875%206.42666%207.875%206.42664%207.875%206.42662C7.875%206.42661%207.875%206.42659%207.875%206.42657C7.875%206.42656%207.875%206.42654%207.875%206.42652C7.875%206.42651%207.875%206.42649%207.875%206.42647C7.875%206.42646%207.875%206.42644%207.875%206.42642C7.875%206.42641%207.875%206.42639%207.875%206.42637C7.875%206.42636%207.875%206.42634%207.875%206.42632C7.875%206.42631%207.875%206.42629%207.875%206.42627C7.875%206.42626%207.875%206.42624%207.875%206.42622C7.875%206.42621%207.875%206.42619%207.875%206.42617C7.875%206.42616%207.875%206.42614%207.875%206.42612C7.875%206.42611%207.875%206.42609%207.875%206.42607C7.875%206.42606%207.875%206.42604%207.875%206.42602C7.875%206.42601%207.875%206.42599%207.875%206.42597C7.875%206.42595%207.875%206.42594%207.875%206.42592C7.875%206.4259%207.875%206.42589%207.875%206.42587C7.875%206.42585%207.875%206.42584%207.875%206.42582C7.875%206.4258%207.875%206.42579%207.875%206.42577C7.875%206.42575%207.875%206.42574%207.875%206.42572C7.875%206.4257%207.875%206.42569%207.875%206.42567C7.875%206.42565%207.875%206.42564%207.875%206.42562C7.875%206.4256%207.875%206.42559%207.875%206.42557C7.875%206.42555%207.875%206.42554%207.875%206.42552C7.875%206.4255%207.875%206.42549%207.875%206.42547C7.875%206.42545%207.875%206.42544%207.875%206.42542C7.875%206.4254%207.875%206.42539%207.875%206.42537C7.875%206.42535%207.875%206.42534%207.875%206.42532C7.875%206.4253%207.875%206.42529%207.875%206.42527C7.875%206.42525%207.875%206.42524%207.875%206.42522C7.875%206.4252%207.875%206.42519%207.875%206.42517C7.875%206.42515%207.875%206.42513%207.875%206.42512C7.875%206.4251%207.875%206.42508%207.875%206.42507C7.875%206.42505%207.875%206.42503%207.875%206.42502C7.875%206.425%207.875%206.42498%207.875%206.42497C7.875%206.42495%207.875%206.42493%207.875%206.42492C7.875%206.4249%207.875%206.42488%207.875%206.42487C7.875%206.42485%207.875%206.42483%207.875%206.42482C7.875%206.4248%207.875%206.42478%207.875%206.42477C7.875%206.42475%207.875%206.42473%207.875%206.42472C7.875%206.4247%207.875%206.42468%207.875%206.42467C7.875%206.42465%207.875%206.42463%207.875%206.42462C7.875%206.4246%207.875%206.42458%207.875%206.42457C7.875%206.42455%207.875%206.42453%207.875%206.42452C7.875%206.4245%207.875%206.42448%207.875%206.42447C7.875%206.42445%207.875%206.42443%207.875%206.42442C7.875%206.4244%207.875%206.42438%207.875%206.42436C7.875%206.42435%207.875%206.42433%207.875%206.42431C7.875%206.4243%207.875%206.42428%207.875%206.42426C7.875%206.42425%207.875%206.42423%207.875%206.42421C7.875%206.4242%207.875%206.42418%207.875%206.42416C7.875%206.42415%207.875%206.42413%207.875%206.42411C7.875%206.4241%207.875%206.42408%207.875%206.42406C7.875%206.42405%207.875%206.42403%207.875%206.42401C7.875%206.424%207.875%206.42398%207.875%206.42396C7.875%206.42395%207.875%206.42393%207.875%206.42391C7.875%206.4239%207.875%206.42388%207.875%206.42386C7.875%206.42385%207.875%206.42383%207.875%206.42381C7.875%206.4238%207.875%206.42378%207.875%206.42376C7.875%206.42375%207.875%206.42373%207.875%206.42371C7.875%206.4237%207.875%206.42368%207.875%206.42366C7.875%206.42364%207.875%206.42363%207.875%206.42361C7.875%206.42359%207.875%206.42358%207.875%206.42356C7.875%206.42354%207.875%206.42353%207.875%206.42351C7.875%206.42349%207.875%206.42348%207.875%206.42346C7.875%206.42344%207.875%206.42343%207.875%206.42341C7.875%206.42339%207.875%206.42338%207.875%206.42336C7.875%206.42334%207.875%206.42333%207.875%206.42331C7.875%206.42329%207.875%206.42328%207.875%206.42326C7.875%206.42324%207.875%206.42323%207.875%206.42321C7.875%206.42319%207.875%206.42318%207.875%206.42316C7.875%206.42314%207.875%206.42313%207.875%206.42311C7.875%206.42309%207.875%206.42308%207.875%206.42306C7.875%206.42304%207.875%206.42303%207.875%206.42301C7.875%206.42299%207.875%206.42297%207.875%206.42296C7.875%206.42294%207.875%206.42292%207.875%206.42291C7.875%206.42289%207.875%206.42287%207.875%206.42286C7.875%206.42284%207.875%206.42282%207.875%206.42281C7.875%206.42279%207.875%206.42277%207.875%206.42276C7.875%206.42274%207.875%206.42272%207.875%206.42271C7.875%206.42269%207.875%206.42267%207.875%206.42266C7.875%206.42264%207.875%206.42262%207.875%206.42261C7.875%206.42259%207.875%206.42257%207.875%206.42256C7.875%206.42254%207.875%206.42252%207.875%206.42251C7.875%206.42249%207.875%206.42247%207.875%206.42246C7.875%206.42244%207.875%206.42242%207.875%206.42241C7.875%206.42239%207.875%206.42237%207.875%206.42235C7.875%206.42234%207.875%206.42232%207.875%206.4223C7.875%206.42229%207.875%206.42227%207.875%206.42225C7.875%206.42224%207.875%206.42222%207.875%206.4222C7.875%206.42219%207.875%206.42217%207.875%206.42215C7.875%206.42214%207.875%206.42212%207.875%206.4221C7.875%206.42209%207.875%206.42207%207.875%206.42205C7.875%206.42204%207.875%206.42202%207.875%206.422C7.875%206.42199%207.875%206.42197%207.875%206.42195C7.875%206.42194%207.875%206.42192%207.875%206.4219C7.875%206.42189%207.875%206.42187%207.875%206.42185C7.875%206.42184%207.875%206.42182%207.875%206.4218C7.875%206.42178%207.875%206.42177%207.875%206.42175C7.875%206.42173%207.875%206.42172%207.875%206.4217C7.875%206.42168%207.875%206.42167%207.875%206.42165C7.875%206.42163%207.875%206.42162%207.875%206.4216C7.875%206.42158%207.875%206.42157%207.875%206.42155C7.875%206.42153%207.875%206.42152%207.875%206.4215C7.875%206.42148%207.875%206.42147%207.875%206.42145C7.875%206.42143%207.875%206.42142%207.875%206.4214C7.875%206.42138%207.875%206.42137%207.875%206.42135C7.875%206.42133%207.875%206.42132%207.875%206.4213C7.875%206.42128%207.875%206.42127%207.875%206.42125C7.875%206.42123%207.875%206.42122%207.875%206.4212C7.875%206.42118%207.875%206.42116%207.875%206.42115C7.875%206.42113%207.875%206.42111%207.875%206.4211C7.875%206.42108%207.875%206.42106%207.875%206.42105C7.875%206.42103%207.875%206.42101%207.875%206.421C7.875%206.42098%207.875%206.42096%207.875%206.42095C7.875%206.42093%207.875%206.42091%207.875%206.4209C7.875%206.42088%207.875%206.42086%207.875%206.42085C7.875%206.42083%207.875%206.42081%207.875%206.4208C7.875%206.42078%207.875%206.42076%207.875%206.42075C7.875%206.42073%207.875%206.42071%207.875%206.4207C7.875%206.42068%207.875%206.42066%207.875%206.42065C7.875%206.42063%207.875%206.42061%207.875%206.4206C7.875%206.42058%207.875%206.42056%207.875%206.42054C7.875%206.42053%207.875%206.42051%207.875%206.42049C7.875%206.42048%207.875%206.42046%207.875%206.42044C7.875%206.42043%207.875%206.42041%207.875%206.42039C7.875%206.42038%207.875%206.42036%207.875%206.42034C7.875%206.42033%207.875%206.42031%207.875%206.42029C7.875%206.42028%207.875%206.42026%207.875%206.42024C7.875%206.42023%207.875%206.42021%207.875%206.42019C7.875%206.42018%207.875%206.42016%207.875%206.42014C7.875%206.42013%207.875%206.42011%207.875%206.42009C7.875%206.42008%207.875%206.42006%207.875%206.42004C7.875%206.42002%207.875%206.42001%207.875%206.41999C7.875%206.41997%207.875%206.41996%207.875%206.41994C7.875%206.41992%207.875%206.41991%207.875%206.41989C7.875%206.41987%207.875%206.41986%207.875%206.41984C7.875%206.41982%207.875%206.41981%207.875%206.41979C7.875%206.41977%207.875%206.41976%207.875%206.41974C7.875%206.41972%207.875%206.41971%207.875%206.41969C7.875%206.41967%207.875%206.41966%207.875%206.41964C7.875%206.41962%207.875%206.41961%207.875%206.41959C7.875%206.41957%207.875%206.41956%207.875%206.41954C7.875%206.41952%207.875%206.41951%207.875%206.41949C7.875%206.41947%207.875%206.41946%207.875%206.41944C7.875%206.41942%207.875%206.4194%207.875%206.41939C7.875%206.41937%207.875%206.41935%207.875%206.41934C7.875%206.41932%207.875%206.4193%207.875%206.41929C7.875%206.41927%207.875%206.41925%207.875%206.41924C7.875%206.41922%207.875%206.4192%207.875%206.41919C7.875%206.41917%207.875%206.41915%207.875%206.41914C7.875%206.41912%207.875%206.4191%207.875%206.41909C7.875%206.41907%207.875%206.41905%207.875%206.41904C7.875%206.41902%207.875%206.419%207.875%206.41899C7.875%206.41897%207.875%206.41895%207.875%206.41894C7.875%206.41892%207.875%206.4189%207.875%206.41888C7.875%206.41887%207.875%206.41885%207.875%206.41883C7.875%206.41882%207.875%206.4188%207.875%206.41878C7.875%206.41877%207.875%206.41875%207.875%206.41873C7.875%206.41872%207.875%206.4187%207.875%206.41868C7.875%206.41867%207.875%206.41865%207.875%206.41863C7.875%206.41862%207.875%206.4186%207.875%206.41858C7.875%206.41857%207.875%206.41855%207.875%206.41853C7.875%206.41852%207.875%206.4185%207.875%206.41848C7.875%206.41847%207.875%206.41845%207.875%206.41843C7.875%206.41842%207.875%206.4184%207.875%206.41838C7.875%206.41837%207.875%206.41835%207.875%206.41833C7.875%206.41831%207.875%206.4183%207.875%206.41828C7.875%206.41826%207.875%206.41825%207.875%206.41823C7.875%206.41821%207.875%206.4182%207.875%206.41818C7.875%206.41816%207.875%206.41815%207.875%206.41813C7.875%206.41811%207.875%206.4181%207.875%206.41808C7.875%206.41806%207.875%206.41805%207.875%206.41803C7.875%206.41801%207.875%206.418%207.875%206.41798C7.875%206.41796%207.875%206.41795%207.875%206.41793C7.875%206.41791%207.875%206.4179%207.875%206.41788C7.875%206.41786%207.875%206.41785%207.875%206.41783C7.875%206.41781%207.875%206.41779%207.875%206.41778C7.875%206.41776%207.875%206.41774%207.875%206.41773C7.875%206.41771%207.875%206.41769%207.875%206.41768C7.875%206.41766%207.875%206.41764%207.875%206.41763C7.875%206.41761%207.875%206.41759%207.875%206.41758C7.875%206.41756%207.875%206.41754%207.875%206.41753C7.875%206.41751%207.875%206.41749%207.875%206.41748C7.875%206.41746%207.875%206.41744%207.875%206.41743C7.875%206.41741%207.875%206.41739%207.875%206.41738C7.875%206.41736%207.875%206.41734%207.875%206.41733C7.875%206.41731%207.875%206.41729%207.875%206.41727C7.875%206.41726%207.875%206.41724%207.875%206.41722C7.875%206.41721%207.875%206.41719%207.875%206.41717C7.875%206.41716%207.875%206.41714%207.875%206.41712C7.875%206.41711%207.875%206.41709%207.875%206.41707C7.875%206.41706%207.875%206.41704%207.875%206.41702C7.875%206.41701%207.875%206.41699%207.875%206.41697C7.875%206.41696%207.875%206.41694%207.875%206.41692C7.875%206.41691%207.875%206.41689%207.875%206.41687C7.875%206.41686%207.875%206.41684%207.875%206.41682C7.875%206.4168%207.875%206.41679%207.875%206.41677C7.875%206.41675%207.875%206.41674%207.875%206.41672C7.875%206.4167%207.875%206.41669%207.875%206.41667C7.875%206.41665%207.875%206.41664%207.875%206.41662C7.875%206.4166%207.875%206.41659%207.875%206.41657C7.875%206.41655%207.875%206.41654%207.875%206.41652C7.875%206.4165%207.875%206.41649%207.875%206.41647C7.875%206.41645%207.875%206.41644%207.875%206.41642C7.875%206.4164%207.875%206.41639%207.875%206.41637C7.875%206.41635%207.875%206.41634%207.875%206.41632C7.875%206.4163%207.875%206.41628%207.875%206.41627C7.875%206.41625%207.875%206.41623%207.875%206.41622C7.875%206.4162%207.875%206.41618%207.875%206.41617C7.875%206.41615%207.875%206.41613%207.875%206.41612C7.875%206.4161%207.875%206.41608%207.875%206.41607C7.875%206.41605%207.875%206.41603%207.875%206.41602C7.875%206.416%207.875%206.41598%207.875%206.41597C7.875%206.41595%207.875%206.41593%207.875%206.41592C7.875%206.4159%207.875%206.41588%207.875%206.41587C7.875%206.41585%207.875%206.41583%207.875%206.41581C7.875%206.4158%207.875%206.41578%207.875%206.41576C7.875%206.41575%207.875%206.41573%207.875%206.41571C7.875%206.4157%207.875%206.41568%207.875%206.41566C7.875%206.41565%207.875%206.41563%207.875%206.41561C7.875%206.4156%207.875%206.41558%207.875%206.41556C7.875%206.41555%207.875%206.41553%207.875%206.41551C7.875%206.4155%207.875%206.41548%207.875%206.41546C7.875%206.41545%207.875%206.41543%207.875%206.41541C7.875%206.4154%207.875%206.41538%207.875%206.41536C7.875%206.41535%207.875%206.41533%207.875%206.41531C7.875%206.41529%207.875%206.41528%207.875%206.41526C7.875%206.41524%207.875%206.41523%207.875%206.41521C7.875%206.41519%207.875%206.41518%207.875%206.41516C7.875%206.41514%207.875%206.41513%207.875%206.41511C7.875%206.41509%207.875%206.41508%207.875%206.41506C7.875%206.41504%207.875%206.41503%207.875%206.41501C7.875%206.41499%207.875%206.41498%207.875%206.41496C7.875%206.41494%207.875%206.41493%207.875%206.41491C7.875%206.41489%207.875%206.41488%207.875%206.41486C7.875%206.41484%207.875%206.41482%207.875%206.41481C7.875%206.41479%207.875%206.41477%207.875%206.41476C7.875%206.41474%207.875%206.41472%207.875%206.41471C7.875%206.41469%207.875%206.41467%207.875%206.41466C7.875%206.41464%207.875%206.41462%207.875%206.41461C7.875%206.41459%207.875%206.41457%207.875%206.41456C7.875%206.41454%207.875%206.41452%207.875%206.41451C7.875%206.41449%207.875%206.41447%207.875%206.41446C7.875%206.41444%207.875%206.41442%207.875%206.41441C7.875%206.41439%207.875%206.41437%207.875%206.41435C7.875%206.41434%207.875%206.41432%207.875%206.4143C7.875%206.41429%207.875%206.41427%207.875%206.41425C7.875%206.41424%207.875%206.41422%207.875%206.4142C7.875%206.41419%207.875%206.41417%207.875%206.41415C7.875%206.41414%207.875%206.41412%207.875%206.4141C7.875%206.41409%207.875%206.41407%207.875%206.41405C7.875%206.41404%207.875%206.41402%207.875%206.414C7.875%206.41399%207.875%206.41397%207.875%206.41395C7.875%206.41394%207.875%206.41392%207.875%206.4139C7.875%206.41388%207.875%206.41387%207.875%206.41385C7.875%206.41383%207.875%206.41382%207.875%206.4138C7.875%206.41378%207.875%206.41377%207.875%206.41375C7.875%206.41373%207.875%206.41372%207.875%206.4137C7.875%206.41368%207.875%206.41367%207.875%206.41365C7.875%206.41363%207.875%206.41362%207.875%206.4136C7.875%206.41358%207.875%206.41357%207.875%206.41355C7.875%206.41353%207.875%206.41352%207.875%206.4135C7.875%206.41348%207.875%206.41347%207.875%206.41345C7.875%206.41343%207.875%206.41341%207.875%206.4134C7.875%206.41338%207.875%206.41336%207.875%206.41335C7.875%206.41333%207.875%206.41331%207.875%206.4133C7.875%206.41328%207.875%206.41326%207.875%206.41325C7.875%206.41323%207.875%206.41321%207.875%206.4132C7.875%206.41318%207.875%206.41316%207.875%206.41315C7.875%206.41313%207.875%206.41311%207.875%206.4131C7.875%206.41308%207.875%206.41306%207.875%206.41305C7.875%206.41303%207.875%206.41301%207.875%206.41299C7.875%206.41298%207.875%206.41296%207.875%206.41294C7.875%206.41293%207.875%206.41291%207.875%206.41289C7.875%206.41288%207.875%206.41286%207.875%206.41284C7.875%206.41283%207.875%206.41281%207.875%206.41279C7.875%206.41278%207.875%206.41276%207.875%206.41274C7.875%206.41273%207.875%206.41271%207.875%206.41269C7.875%206.41268%207.875%206.41266%207.875%206.41264C7.875%206.41263%207.875%206.41261%207.875%206.41259C7.875%206.41258%207.875%206.41256%207.875%206.41254C7.875%206.41253%207.875%206.41251%207.875%206.41249C7.875%206.41247%207.875%206.41246%207.875%206.41244C7.875%206.41242%207.875%206.41241%207.875%206.41239C7.875%206.41237%207.875%206.41236%207.875%206.41234C7.875%206.41232%207.875%206.41231%207.875%206.41229C7.875%206.41227%207.875%206.41226%207.875%206.41224C7.875%206.41222%207.875%206.41221%207.875%206.41219C7.875%206.41217%207.875%206.41216%207.875%206.41214C7.875%206.41212%207.875%206.41211%207.875%206.41209C7.875%206.41207%207.875%206.41206%207.875%206.41204C7.875%206.41202%207.875%206.412%207.875%206.41199C7.875%206.41197%207.875%206.41195%207.875%206.41194C7.875%206.41192%207.875%206.4119%207.875%206.41189C7.875%206.41187%207.875%206.41185%207.875%206.41184C7.875%206.41182%207.875%206.4118%207.875%206.41179C7.875%206.41177%207.875%206.41175%207.875%206.41174C7.875%206.41172%207.875%206.4117%207.875%206.41169C7.875%206.41167%207.875%206.41165%207.875%206.41163C7.875%206.41162%207.875%206.4116%207.875%206.41158C7.875%206.41157%207.875%206.41155%207.875%206.41153C7.875%206.41152%207.875%206.4115%207.875%206.41148C7.875%206.41147%207.875%206.41145%207.875%206.41143C7.875%206.41142%207.875%206.4114%207.875%206.41138C7.875%206.41137%207.875%206.41135%207.875%206.41133C7.875%206.41132%207.875%206.4113%207.875%206.41128C7.875%206.41127%207.875%206.41125%207.875%206.41123C7.875%206.41122%207.875%206.4112%207.875%206.41118C7.875%206.41116%207.875%206.41115%207.875%206.41113C7.875%206.41111%207.875%206.4111%207.875%206.41108C7.875%206.41106%207.875%206.41105%207.875%206.41103C7.875%206.41101%207.875%206.411%207.875%206.41098C7.875%206.41096%207.875%206.41095%207.875%206.41093C7.875%206.41091%207.875%206.4109%207.875%206.41088C7.875%206.41086%207.875%206.41085%207.875%206.41083C7.875%206.41081%207.875%206.4108%207.875%206.41078C7.875%206.41076%207.875%206.41075%207.875%206.41073C7.875%206.41071%207.875%206.41069%207.875%206.41068C7.875%206.41066%207.875%206.41064%207.875%206.41063C7.875%206.41061%207.875%206.41059%207.875%206.41058C7.875%206.41056%207.875%206.41054%207.875%206.41053C7.875%206.41051%207.875%206.41049%207.875%206.41048C7.875%206.41046%207.875%206.41044%207.875%206.41043C7.875%206.41041%207.875%206.41039%207.875%206.41038C7.875%206.41036%207.875%206.41034%207.875%206.41033C7.875%206.41031%207.875%206.41029%207.875%206.41027C7.875%206.41026%207.875%206.41024%207.875%206.41022C7.875%206.41021%207.875%206.41019%207.875%206.41017C7.875%206.41016%207.875%206.41014%207.875%206.41012C7.875%206.41011%207.875%206.41009%207.875%206.41007C7.875%206.41006%207.875%206.41004%207.875%206.41002C7.875%206.41001%207.875%206.40999%207.875%206.40997C7.875%206.40996%207.875%206.40994%207.875%206.40992C7.875%206.40991%207.875%206.40989%207.875%206.40987C7.875%206.40985%207.875%206.40984%207.875%206.40982C7.875%206.4098%207.875%206.40979%207.875%206.40977C7.875%206.40975%207.875%206.40974%207.875%206.40972C7.875%206.4097%207.875%206.40969%207.875%206.40967C7.875%206.40965%207.875%206.40964%207.875%206.40962C7.875%206.4096%207.875%206.40959%207.875%206.40957C7.875%206.40955%207.875%206.40954%207.875%206.40952C7.875%206.4095%207.875%206.40949%207.875%206.40947C7.875%206.40945%207.875%206.40944%207.875%206.40942C7.875%206.4094%207.875%206.40938%207.875%206.40937C7.875%206.40935%207.875%206.40933%207.875%206.40932C7.875%206.4093%207.875%206.40928%207.875%206.40927C7.875%206.40925%207.875%206.40923%207.875%206.40922C7.875%206.4092%207.875%206.40918%207.875%206.40917C7.875%206.40915%207.875%206.40913%207.875%206.40912C7.875%206.4091%207.875%206.40908%207.875%206.40907C7.875%206.40905%207.875%206.40903%207.875%206.40902C7.875%206.409%207.875%206.40898%207.875%206.40897C7.875%206.40895%207.875%206.40893%207.875%206.40891C7.875%206.4089%207.875%206.40888%207.875%206.40886C7.875%206.40885%207.875%206.40883%207.875%206.40881C7.875%206.4088%207.875%206.40878%207.875%206.40876C7.875%206.40875%207.875%206.40873%207.875%206.40871C7.875%206.4087%207.875%206.40868%207.875%206.40866C7.875%206.40865%207.875%206.40863%207.875%206.40861C7.875%206.4086%207.875%206.40858%207.875%206.40856C7.875%206.40855%207.875%206.40853%207.875%206.40851C7.875%206.40849%207.875%206.40848%207.875%206.40846C7.875%206.40844%207.875%206.40843%207.875%206.40841C7.875%206.40839%207.875%206.40838%207.875%206.40836C7.875%206.40834%207.875%206.40833%207.875%206.40831C7.875%206.40829%207.875%206.40828%207.875%206.40826C7.875%206.40824%207.875%206.40823%207.875%206.40821C7.875%206.40819%207.875%206.40818%207.875%206.40816C7.875%206.40814%207.875%206.40813%207.875%206.40811C7.875%206.40809%207.875%206.40807%207.875%206.40806C7.875%206.40804%207.875%206.40802%207.875%206.40801C7.875%206.40799%207.875%206.40797%207.875%206.40796C7.875%206.40794%207.875%206.40792%207.875%206.40791C7.875%206.40789%207.875%206.40787%207.875%206.40786C7.875%206.40784%207.875%206.40782%207.875%206.40781C7.875%206.40779%207.875%206.40777%207.875%206.40776C7.875%206.40774%207.875%206.40772%207.875%206.40771C7.875%206.40769%207.875%206.40767%207.875%206.40765C7.875%206.40764%207.875%206.40762%207.875%206.4076C7.875%206.40759%207.875%206.40757%207.875%206.40755C7.875%206.40754%207.875%206.40752%207.875%206.4075C7.875%206.40749%207.875%206.40747%207.875%206.40745C7.875%206.40744%207.875%206.40742%207.875%206.4074C7.875%206.40739%207.875%206.40737%207.875%206.40735C7.875%206.40734%207.875%206.40732%207.875%206.4073C7.875%206.40729%207.875%206.40727%207.875%206.40725C7.875%206.40724%207.875%206.40722%207.875%206.4072C7.875%206.40718%207.875%206.40717%207.875%206.40715C7.875%206.40713%207.875%206.40712%207.875%206.4071C7.875%206.40708%207.875%206.40707%207.875%206.40705C7.875%206.40703%207.875%206.40702%207.875%206.407C7.875%206.40698%207.875%206.40697%207.875%206.40695C7.875%206.40693%207.875%206.40692%207.875%206.4069C7.875%206.40688%207.875%206.40687%207.875%206.40685C7.875%206.40683%207.875%206.40682%207.875%206.4068C7.875%206.40678%207.875%206.40676%207.875%206.40675C7.875%206.40673%207.875%206.40671%207.875%206.4067C7.875%206.40668%207.875%206.40666%207.875%206.40665C7.875%206.40663%207.875%206.40661%207.875%206.4066C7.875%206.40658%207.875%206.40656%207.875%206.40655C7.875%206.40653%207.875%206.40651%207.875%206.4065C7.875%206.40648%207.875%206.40646%207.875%206.40645C7.875%206.40643%207.875%206.40641%207.875%206.40639C7.875%206.40638%207.875%206.40636%207.875%206.40634C7.875%206.40633%207.875%206.40631%207.875%206.40629C7.875%206.40628%207.875%206.40626%207.875%206.40624C7.875%206.40623%207.875%206.40621%207.875%206.40619C7.875%206.40618%207.875%206.40616%207.875%206.40614C7.875%206.40613%207.875%206.40611%207.875%206.40609C7.875%206.40608%207.875%206.40606%207.875%206.40604C7.875%206.40603%207.875%206.40601%207.875%206.40599C7.875%206.40598%207.875%206.40596%207.875%206.40594C7.875%206.40592%207.875%206.40591%207.875%206.40589C7.875%206.40587%207.875%206.40586%207.875%206.40584C7.875%206.40582%207.875%206.40581%207.875%206.40579C7.875%206.40577%207.875%206.40576%207.875%206.40574C7.875%206.40572%207.875%206.40571%207.875%206.40569C7.875%206.40567%207.875%206.40566%207.875%206.40564C7.875%206.40562%207.875%206.40561%207.875%206.40559C7.875%206.40557%207.875%206.40556%207.875%206.40554C7.875%206.40552%207.875%206.40551%207.875%206.40549H6.875H5.875C5.875%206.40551%205.875%206.40552%205.875%206.40554C5.875%206.40556%205.875%206.40557%205.875%206.40559C5.875%206.40561%205.875%206.40562%205.875%206.40564C5.875%206.40566%205.875%206.40567%205.875%206.40569C5.875%206.40571%205.875%206.40572%205.875%206.40574C5.875%206.40576%205.875%206.40577%205.875%206.40579C5.875%206.40581%205.875%206.40582%205.875%206.40584C5.875%206.40586%205.875%206.40587%205.875%206.40589C5.875%206.40591%205.875%206.40592%205.875%206.40594C5.875%206.40596%205.875%206.40598%205.875%206.40599C5.875%206.40601%205.875%206.40603%205.875%206.40604C5.875%206.40606%205.875%206.40608%205.875%206.40609C5.875%206.40611%205.875%206.40613%205.875%206.40614C5.875%206.40616%205.875%206.40618%205.875%206.40619C5.875%206.40621%205.875%206.40623%205.875%206.40624C5.875%206.40626%205.875%206.40628%205.875%206.40629C5.875%206.40631%205.875%206.40633%205.875%206.40634C5.875%206.40636%205.875%206.40638%205.875%206.40639C5.875%206.40641%205.875%206.40643%205.875%206.40645C5.875%206.40646%205.875%206.40648%205.875%206.4065C5.875%206.40651%205.875%206.40653%205.875%206.40655C5.875%206.40656%205.875%206.40658%205.875%206.4066C5.875%206.40661%205.875%206.40663%205.875%206.40665C5.875%206.40666%205.875%206.40668%205.875%206.4067C5.875%206.40671%205.875%206.40673%205.875%206.40675C5.875%206.40676%205.875%206.40678%205.875%206.4068C5.875%206.40682%205.875%206.40683%205.875%206.40685C5.875%206.40687%205.875%206.40688%205.875%206.4069C5.875%206.40692%205.875%206.40693%205.875%206.40695C5.875%206.40697%205.875%206.40698%205.875%206.407C5.875%206.40702%205.875%206.40703%205.875%206.40705C5.875%206.40707%205.875%206.40708%205.875%206.4071C5.875%206.40712%205.875%206.40713%205.875%206.40715C5.875%206.40717%205.875%206.40718%205.875%206.4072C5.875%206.40722%205.875%206.40724%205.875%206.40725C5.875%206.40727%205.875%206.40729%205.875%206.4073C5.875%206.40732%205.875%206.40734%205.875%206.40735C5.875%206.40737%205.875%206.40739%205.875%206.4074C5.875%206.40742%205.875%206.40744%205.875%206.40745C5.875%206.40747%205.875%206.40749%205.875%206.4075C5.875%206.40752%205.875%206.40754%205.875%206.40755C5.875%206.40757%205.875%206.40759%205.875%206.4076C5.875%206.40762%205.875%206.40764%205.875%206.40765C5.875%206.40767%205.875%206.40769%205.875%206.40771C5.875%206.40772%205.875%206.40774%205.875%206.40776C5.875%206.40777%205.875%206.40779%205.875%206.40781C5.875%206.40782%205.875%206.40784%205.875%206.40786C5.875%206.40787%205.875%206.40789%205.875%206.40791C5.875%206.40792%205.875%206.40794%205.875%206.40796C5.875%206.40797%205.875%206.40799%205.875%206.40801C5.875%206.40802%205.875%206.40804%205.875%206.40806C5.875%206.40807%205.875%206.40809%205.875%206.40811C5.875%206.40813%205.875%206.40814%205.875%206.40816C5.875%206.40818%205.875%206.40819%205.875%206.40821C5.875%206.40823%205.875%206.40824%205.875%206.40826C5.875%206.40828%205.875%206.40829%205.875%206.40831C5.875%206.40833%205.875%206.40834%205.875%206.40836C5.875%206.40838%205.875%206.40839%205.875%206.40841C5.875%206.40843%205.875%206.40844%205.875%206.40846C5.875%206.40848%205.875%206.40849%205.875%206.40851C5.875%206.40853%205.875%206.40855%205.875%206.40856C5.875%206.40858%205.875%206.4086%205.875%206.40861C5.875%206.40863%205.875%206.40865%205.875%206.40866C5.875%206.40868%205.875%206.4087%205.875%206.40871C5.875%206.40873%205.875%206.40875%205.875%206.40876C5.875%206.40878%205.875%206.4088%205.875%206.40881C5.875%206.40883%205.875%206.40885%205.875%206.40886C5.875%206.40888%205.875%206.4089%205.875%206.40891C5.875%206.40893%205.875%206.40895%205.875%206.40897C5.875%206.40898%205.875%206.409%205.875%206.40902C5.875%206.40903%205.875%206.40905%205.875%206.40907C5.875%206.40908%205.875%206.4091%205.875%206.40912C5.875%206.40913%205.875%206.40915%205.875%206.40917C5.875%206.40918%205.875%206.4092%205.875%206.40922C5.875%206.40923%205.875%206.40925%205.875%206.40927C5.875%206.40928%205.875%206.4093%205.875%206.40932C5.875%206.40933%205.875%206.40935%205.875%206.40937C5.875%206.40938%205.875%206.4094%205.875%206.40942C5.875%206.40944%205.875%206.40945%205.875%206.40947C5.875%206.40949%205.875%206.4095%205.875%206.40952C5.875%206.40954%205.875%206.40955%205.875%206.40957C5.875%206.40959%205.875%206.4096%205.875%206.40962C5.875%206.40964%205.875%206.40965%205.875%206.40967C5.875%206.40969%205.875%206.4097%205.875%206.40972C5.875%206.40974%205.875%206.40975%205.875%206.40977C5.875%206.40979%205.875%206.4098%205.875%206.40982C5.875%206.40984%205.875%206.40985%205.875%206.40987C5.875%206.40989%205.875%206.40991%205.875%206.40992C5.875%206.40994%205.875%206.40996%205.875%206.40997C5.875%206.40999%205.875%206.41001%205.875%206.41002C5.875%206.41004%205.875%206.41006%205.875%206.41007C5.875%206.41009%205.875%206.41011%205.875%206.41012C5.875%206.41014%205.875%206.41016%205.875%206.41017C5.875%206.41019%205.875%206.41021%205.875%206.41022C5.875%206.41024%205.875%206.41026%205.875%206.41027C5.875%206.41029%205.875%206.41031%205.875%206.41033C5.875%206.41034%205.875%206.41036%205.875%206.41038C5.875%206.41039%205.875%206.41041%205.875%206.41043C5.875%206.41044%205.875%206.41046%205.875%206.41048C5.875%206.41049%205.875%206.41051%205.875%206.41053C5.875%206.41054%205.875%206.41056%205.875%206.41058C5.875%206.41059%205.875%206.41061%205.875%206.41063C5.875%206.41064%205.875%206.41066%205.875%206.41068C5.875%206.41069%205.875%206.41071%205.875%206.41073C5.875%206.41075%205.875%206.41076%205.875%206.41078C5.875%206.4108%205.875%206.41081%205.875%206.41083C5.875%206.41085%205.875%206.41086%205.875%206.41088C5.875%206.4109%205.875%206.41091%205.875%206.41093C5.875%206.41095%205.875%206.41096%205.875%206.41098C5.875%206.411%205.875%206.41101%205.875%206.41103C5.875%206.41105%205.875%206.41106%205.875%206.41108C5.875%206.4111%205.875%206.41111%205.875%206.41113C5.875%206.41115%205.875%206.41116%205.875%206.41118C5.875%206.4112%205.875%206.41122%205.875%206.41123C5.875%206.41125%205.875%206.41127%205.875%206.41128C5.875%206.4113%205.875%206.41132%205.875%206.41133C5.875%206.41135%205.875%206.41137%205.875%206.41138C5.875%206.4114%205.875%206.41142%205.875%206.41143C5.875%206.41145%205.875%206.41147%205.875%206.41148C5.875%206.4115%205.875%206.41152%205.875%206.41153C5.875%206.41155%205.875%206.41157%205.875%206.41158C5.875%206.4116%205.875%206.41162%205.875%206.41163C5.875%206.41165%205.875%206.41167%205.875%206.41169C5.875%206.4117%205.875%206.41172%205.875%206.41174C5.875%206.41175%205.875%206.41177%205.875%206.41179C5.875%206.4118%205.875%206.41182%205.875%206.41184C5.875%206.41185%205.875%206.41187%205.875%206.41189C5.875%206.4119%205.875%206.41192%205.875%206.41194C5.875%206.41195%205.875%206.41197%205.875%206.41199C5.875%206.412%205.875%206.41202%205.875%206.41204C5.875%206.41206%205.875%206.41207%205.875%206.41209C5.875%206.41211%205.875%206.41212%205.875%206.41214C5.875%206.41216%205.875%206.41217%205.875%206.41219C5.875%206.41221%205.875%206.41222%205.875%206.41224C5.875%206.41226%205.875%206.41227%205.875%206.41229C5.875%206.41231%205.875%206.41232%205.875%206.41234C5.875%206.41236%205.875%206.41237%205.875%206.41239C5.875%206.41241%205.875%206.41242%205.875%206.41244C5.875%206.41246%205.875%206.41247%205.875%206.41249C5.875%206.41251%205.875%206.41253%205.875%206.41254C5.875%206.41256%205.875%206.41258%205.875%206.41259C5.875%206.41261%205.875%206.41263%205.875%206.41264C5.875%206.41266%205.875%206.41268%205.875%206.41269C5.875%206.41271%205.875%206.41273%205.875%206.41274C5.875%206.41276%205.875%206.41278%205.875%206.41279C5.875%206.41281%205.875%206.41283%205.875%206.41284C5.875%206.41286%205.875%206.41288%205.875%206.41289C5.875%206.41291%205.875%206.41293%205.875%206.41294C5.875%206.41296%205.875%206.41298%205.875%206.41299C5.875%206.41301%205.875%206.41303%205.875%206.41305C5.875%206.41306%205.875%206.41308%205.875%206.4131C5.875%206.41311%205.875%206.41313%205.875%206.41315C5.875%206.41316%205.875%206.41318%205.875%206.4132C5.875%206.41321%205.875%206.41323%205.875%206.41325C5.875%206.41326%205.875%206.41328%205.875%206.4133C5.875%206.41331%205.875%206.41333%205.875%206.41335C5.875%206.41336%205.875%206.41338%205.875%206.4134C5.875%206.41341%205.875%206.41343%205.875%206.41345C5.875%206.41347%205.875%206.41348%205.875%206.4135C5.875%206.41352%205.875%206.41353%205.875%206.41355C5.875%206.41357%205.875%206.41358%205.875%206.4136C5.875%206.41362%205.875%206.41363%205.875%206.41365C5.875%206.41367%205.875%206.41368%205.875%206.4137C5.875%206.41372%205.875%206.41373%205.875%206.41375C5.875%206.41377%205.875%206.41378%205.875%206.4138C5.875%206.41382%205.875%206.41383%205.875%206.41385C5.875%206.41387%205.875%206.41388%205.875%206.4139C5.875%206.41392%205.875%206.41394%205.875%206.41395C5.875%206.41397%205.875%206.41399%205.875%206.414C5.875%206.41402%205.875%206.41404%205.875%206.41405C5.875%206.41407%205.875%206.41409%205.875%206.4141C5.875%206.41412%205.875%206.41414%205.875%206.41415C5.875%206.41417%205.875%206.41419%205.875%206.4142C5.875%206.41422%205.875%206.41424%205.875%206.41425C5.875%206.41427%205.875%206.41429%205.875%206.4143C5.875%206.41432%205.875%206.41434%205.875%206.41435C5.875%206.41437%205.875%206.41439%205.875%206.41441C5.875%206.41442%205.875%206.41444%205.875%206.41446C5.875%206.41447%205.875%206.41449%205.875%206.41451C5.875%206.41452%205.875%206.41454%205.875%206.41456C5.875%206.41457%205.875%206.41459%205.875%206.41461C5.875%206.41462%205.875%206.41464%205.875%206.41466C5.875%206.41467%205.875%206.41469%205.875%206.41471C5.875%206.41472%205.875%206.41474%205.875%206.41476C5.875%206.41477%205.875%206.41479%205.875%206.41481C5.875%206.41482%205.875%206.41484%205.875%206.41486C5.875%206.41488%205.875%206.41489%205.875%206.41491C5.875%206.41493%205.875%206.41494%205.875%206.41496C5.875%206.41498%205.875%206.41499%205.875%206.41501C5.875%206.41503%205.875%206.41504%205.875%206.41506C5.875%206.41508%205.875%206.41509%205.875%206.41511C5.875%206.41513%205.875%206.41514%205.875%206.41516C5.875%206.41518%205.875%206.41519%205.875%206.41521C5.875%206.41523%205.875%206.41524%205.875%206.41526C5.875%206.41528%205.875%206.41529%205.875%206.41531C5.875%206.41533%205.875%206.41535%205.875%206.41536C5.875%206.41538%205.875%206.4154%205.875%206.41541C5.875%206.41543%205.875%206.41545%205.875%206.41546C5.875%206.41548%205.875%206.4155%205.875%206.41551C5.875%206.41553%205.875%206.41555%205.875%206.41556C5.875%206.41558%205.875%206.4156%205.875%206.41561C5.875%206.41563%205.875%206.41565%205.875%206.41566C5.875%206.41568%205.875%206.4157%205.875%206.41571C5.875%206.41573%205.875%206.41575%205.875%206.41576C5.875%206.41578%205.875%206.4158%205.875%206.41581C5.875%206.41583%205.875%206.41585%205.875%206.41587C5.875%206.41588%205.875%206.4159%205.875%206.41592C5.875%206.41593%205.875%206.41595%205.875%206.41597C5.875%206.41598%205.875%206.416%205.875%206.41602C5.875%206.41603%205.875%206.41605%205.875%206.41607C5.875%206.41608%205.875%206.4161%205.875%206.41612C5.875%206.41613%205.875%206.41615%205.875%206.41617C5.875%206.41618%205.875%206.4162%205.875%206.41622C5.875%206.41623%205.875%206.41625%205.875%206.41627C5.875%206.41628%205.875%206.4163%205.875%206.41632C5.875%206.41634%205.875%206.41635%205.875%206.41637C5.875%206.41639%205.875%206.4164%205.875%206.41642C5.875%206.41644%205.875%206.41645%205.875%206.41647C5.875%206.41649%205.875%206.4165%205.875%206.41652C5.875%206.41654%205.875%206.41655%205.875%206.41657C5.875%206.41659%205.875%206.4166%205.875%206.41662C5.875%206.41664%205.875%206.41665%205.875%206.41667C5.875%206.41669%205.875%206.4167%205.875%206.41672C5.875%206.41674%205.875%206.41675%205.875%206.41677C5.875%206.41679%205.875%206.4168%205.875%206.41682C5.875%206.41684%205.875%206.41686%205.875%206.41687C5.875%206.41689%205.875%206.41691%205.875%206.41692C5.875%206.41694%205.875%206.41696%205.875%206.41697C5.875%206.41699%205.875%206.41701%205.875%206.41702C5.875%206.41704%205.875%206.41706%205.875%206.41707C5.875%206.41709%205.875%206.41711%205.875%206.41712C5.875%206.41714%205.875%206.41716%205.875%206.41717C5.875%206.41719%205.875%206.41721%205.875%206.41722C5.875%206.41724%205.875%206.41726%205.875%206.41727C5.875%206.41729%205.875%206.41731%205.875%206.41733C5.875%206.41734%205.875%206.41736%205.875%206.41738C5.875%206.41739%205.875%206.41741%205.875%206.41743C5.875%206.41744%205.875%206.41746%205.875%206.41748C5.875%206.41749%205.875%206.41751%205.875%206.41753C5.875%206.41754%205.875%206.41756%205.875%206.41758C5.875%206.41759%205.875%206.41761%205.875%206.41763C5.875%206.41764%205.875%206.41766%205.875%206.41768C5.875%206.41769%205.875%206.41771%205.875%206.41773C5.875%206.41774%205.875%206.41776%205.875%206.41778C5.875%206.41779%205.875%206.41781%205.875%206.41783C5.875%206.41785%205.875%206.41786%205.875%206.41788C5.875%206.4179%205.875%206.41791%205.875%206.41793C5.875%206.41795%205.875%206.41796%205.875%206.41798C5.875%206.418%205.875%206.41801%205.875%206.41803C5.875%206.41805%205.875%206.41806%205.875%206.41808C5.875%206.4181%205.875%206.41811%205.875%206.41813C5.875%206.41815%205.875%206.41816%205.875%206.41818C5.875%206.4182%205.875%206.41821%205.875%206.41823C5.875%206.41825%205.875%206.41826%205.875%206.41828C5.875%206.4183%205.875%206.41831%205.875%206.41833C5.875%206.41835%205.875%206.41837%205.875%206.41838C5.875%206.4184%205.875%206.41842%205.875%206.41843C5.875%206.41845%205.875%206.41847%205.875%206.41848C5.875%206.4185%205.875%206.41852%205.875%206.41853C5.875%206.41855%205.875%206.41857%205.875%206.41858C5.875%206.4186%205.875%206.41862%205.875%206.41863C5.875%206.41865%205.875%206.41867%205.875%206.41868C5.875%206.4187%205.875%206.41872%205.875%206.41873C5.875%206.41875%205.875%206.41877%205.875%206.41878C5.875%206.4188%205.875%206.41882%205.875%206.41883C5.875%206.41885%205.875%206.41887%205.875%206.41888C5.875%206.4189%205.875%206.41892%205.875%206.41894C5.875%206.41895%205.875%206.41897%205.875%206.41899C5.875%206.419%205.875%206.41902%205.875%206.41904C5.875%206.41905%205.875%206.41907%205.875%206.41909C5.875%206.4191%205.875%206.41912%205.875%206.41914C5.875%206.41915%205.875%206.41917%205.875%206.41919C5.875%206.4192%205.875%206.41922%205.875%206.41924C5.875%206.41925%205.875%206.41927%205.875%206.41929C5.875%206.4193%205.875%206.41932%205.875%206.41934C5.875%206.41935%205.875%206.41937%205.875%206.41939C5.875%206.4194%205.875%206.41942%205.875%206.41944C5.875%206.41946%205.875%206.41947%205.875%206.41949C5.875%206.41951%205.875%206.41952%205.875%206.41954C5.875%206.41956%205.875%206.41957%205.875%206.41959C5.875%206.41961%205.875%206.41962%205.875%206.41964C5.875%206.41966%205.875%206.41967%205.875%206.41969C5.875%206.41971%205.875%206.41972%205.875%206.41974C5.875%206.41976%205.875%206.41977%205.875%206.41979C5.875%206.41981%205.875%206.41982%205.875%206.41984C5.875%206.41986%205.875%206.41987%205.875%206.41989C5.875%206.41991%205.875%206.41992%205.875%206.41994C5.875%206.41996%205.875%206.41997%205.875%206.41999C5.875%206.42001%205.875%206.42002%205.875%206.42004C5.875%206.42006%205.875%206.42008%205.875%206.42009C5.875%206.42011%205.875%206.42013%205.875%206.42014C5.875%206.42016%205.875%206.42018%205.875%206.42019C5.875%206.42021%205.875%206.42023%205.875%206.42024C5.875%206.42026%205.875%206.42028%205.875%206.42029C5.875%206.42031%205.875%206.42033%205.875%206.42034C5.875%206.42036%205.875%206.42038%205.875%206.42039C5.875%206.42041%205.875%206.42043%205.875%206.42044C5.875%206.42046%205.875%206.42048%205.875%206.42049C5.875%206.42051%205.875%206.42053%205.875%206.42054C5.875%206.42056%205.875%206.42058%205.875%206.4206C5.875%206.42061%205.875%206.42063%205.875%206.42065C5.875%206.42066%205.875%206.42068%205.875%206.4207C5.875%206.42071%205.875%206.42073%205.875%206.42075C5.875%206.42076%205.875%206.42078%205.875%206.4208C5.875%206.42081%205.875%206.42083%205.875%206.42085C5.875%206.42086%205.875%206.42088%205.875%206.4209C5.875%206.42091%205.875%206.42093%205.875%206.42095C5.875%206.42096%205.875%206.42098%205.875%206.421C5.875%206.42101%205.875%206.42103%205.875%206.42105C5.875%206.42106%205.875%206.42108%205.875%206.4211C5.875%206.42111%205.875%206.42113%205.875%206.42115C5.875%206.42116%205.875%206.42118%205.875%206.4212C5.875%206.42122%205.875%206.42123%205.875%206.42125C5.875%206.42127%205.875%206.42128%205.875%206.4213C5.875%206.42132%205.875%206.42133%205.875%206.42135C5.875%206.42137%205.875%206.42138%205.875%206.4214C5.875%206.42142%205.875%206.42143%205.875%206.42145C5.875%206.42147%205.875%206.42148%205.875%206.4215C5.875%206.42152%205.875%206.42153%205.875%206.42155C5.875%206.42157%205.875%206.42158%205.875%206.4216C5.875%206.42162%205.875%206.42163%205.875%206.42165C5.875%206.42167%205.875%206.42168%205.875%206.4217C5.875%206.42172%205.875%206.42173%205.875%206.42175C5.875%206.42177%205.875%206.42178%205.875%206.4218C5.875%206.42182%205.875%206.42184%205.875%206.42185C5.875%206.42187%205.875%206.42189%205.875%206.4219C5.875%206.42192%205.875%206.42194%205.875%206.42195C5.875%206.42197%205.875%206.42199%205.875%206.422C5.875%206.42202%205.875%206.42204%205.875%206.42205C5.875%206.42207%205.875%206.42209%205.875%206.4221C5.875%206.42212%205.875%206.42214%205.875%206.42215C5.875%206.42217%205.875%206.42219%205.875%206.4222C5.875%206.42222%205.875%206.42224%205.875%206.42225C5.875%206.42227%205.875%206.42229%205.875%206.4223C5.875%206.42232%205.875%206.42234%205.875%206.42235C5.875%206.42237%205.875%206.42239%205.875%206.42241C5.875%206.42242%205.875%206.42244%205.875%206.42246C5.875%206.42247%205.875%206.42249%205.875%206.42251C5.875%206.42252%205.875%206.42254%205.875%206.42256C5.875%206.42257%205.875%206.42259%205.875%206.42261C5.875%206.42262%205.875%206.42264%205.875%206.42266C5.875%206.42267%205.875%206.42269%205.875%206.42271C5.875%206.42272%205.875%206.42274%205.875%206.42276C5.875%206.42277%205.875%206.42279%205.875%206.42281C5.875%206.42282%205.875%206.42284%205.875%206.42286C5.875%206.42287%205.875%206.42289%205.875%206.42291C5.875%206.42292%205.875%206.42294%205.875%206.42296C5.875%206.42297%205.875%206.42299%205.875%206.42301C5.875%206.42303%205.875%206.42304%205.875%206.42306C5.875%206.42308%205.875%206.42309%205.875%206.42311C5.875%206.42313%205.875%206.42314%205.875%206.42316C5.875%206.42318%205.875%206.42319%205.875%206.42321C5.875%206.42323%205.875%206.42324%205.875%206.42326C5.875%206.42328%205.875%206.42329%205.875%206.42331C5.875%206.42333%205.875%206.42334%205.875%206.42336C5.875%206.42338%205.875%206.42339%205.875%206.42341C5.875%206.42343%205.875%206.42344%205.875%206.42346C5.875%206.42348%205.875%206.42349%205.875%206.42351C5.875%206.42353%205.875%206.42354%205.875%206.42356C5.875%206.42358%205.875%206.42359%205.875%206.42361C5.875%206.42363%205.875%206.42364%205.875%206.42366C5.875%206.42368%205.875%206.4237%205.875%206.42371C5.875%206.42373%205.875%206.42375%205.875%206.42376C5.875%206.42378%205.875%206.4238%205.875%206.42381C5.875%206.42383%205.875%206.42385%205.875%206.42386C5.875%206.42388%205.875%206.4239%205.875%206.42391C5.875%206.42393%205.875%206.42395%205.875%206.42396C5.875%206.42398%205.875%206.424%205.875%206.42401C5.875%206.42403%205.875%206.42405%205.875%206.42406C5.875%206.42408%205.875%206.4241%205.875%206.42411C5.875%206.42413%205.875%206.42415%205.875%206.42416C5.875%206.42418%205.875%206.4242%205.875%206.42421C5.875%206.42423%205.875%206.42425%205.875%206.42426C5.875%206.42428%205.875%206.4243%205.875%206.42431C5.875%206.42433%205.875%206.42435%205.875%206.42436C5.875%206.42438%205.875%206.4244%205.875%206.42442C5.875%206.42443%205.875%206.42445%205.875%206.42447C5.875%206.42448%205.875%206.4245%205.875%206.42452C5.875%206.42453%205.875%206.42455%205.875%206.42457C5.875%206.42458%205.875%206.4246%205.875%206.42462C5.875%206.42463%205.875%206.42465%205.875%206.42467C5.875%206.42468%205.875%206.4247%205.875%206.42472C5.875%206.42473%205.875%206.42475%205.875%206.42477C5.875%206.42478%205.875%206.4248%205.875%206.42482C5.875%206.42483%205.875%206.42485%205.875%206.42487C5.875%206.42488%205.875%206.4249%205.875%206.42492C5.875%206.42493%205.875%206.42495%205.875%206.42497C5.875%206.42498%205.875%206.425%205.875%206.42502C5.875%206.42503%205.875%206.42505%205.875%206.42507C5.875%206.42508%205.875%206.4251%205.875%206.42512C5.875%206.42513%205.875%206.42515%205.875%206.42517C5.875%206.42519%205.875%206.4252%205.875%206.42522C5.875%206.42524%205.875%206.42525%205.875%206.42527C5.875%206.42529%205.875%206.4253%205.875%206.42532C5.875%206.42534%205.875%206.42535%205.875%206.42537C5.875%206.42539%205.875%206.4254%205.875%206.42542C5.875%206.42544%205.875%206.42545%205.875%206.42547C5.875%206.42549%205.875%206.4255%205.875%206.42552C5.875%206.42554%205.875%206.42555%205.875%206.42557C5.875%206.42559%205.875%206.4256%205.875%206.42562C5.875%206.42564%205.875%206.42565%205.875%206.42567C5.875%206.42569%205.875%206.4257%205.875%206.42572C5.875%206.42574%205.875%206.42575%205.875%206.42577C5.875%206.42579%205.875%206.4258%205.875%206.42582C5.875%206.42584%205.875%206.42585%205.875%206.42587C5.875%206.42589%205.875%206.4259%205.875%206.42592C5.875%206.42594%205.875%206.42595%205.875%206.42597C5.875%206.42599%205.875%206.42601%205.875%206.42602C5.875%206.42604%205.875%206.42606%205.875%206.42607C5.875%206.42609%205.875%206.42611%205.875%206.42612C5.875%206.42614%205.875%206.42616%205.875%206.42617C5.875%206.42619%205.875%206.42621%205.875%206.42622C5.875%206.42624%205.875%206.42626%205.875%206.42627C5.875%206.42629%205.875%206.42631%205.875%206.42632C5.875%206.42634%205.875%206.42636%205.875%206.42637C5.875%206.42639%205.875%206.42641%205.875%206.42642C5.875%206.42644%205.875%206.42646%205.875%206.42647C5.875%206.42649%205.875%206.42651%205.875%206.42652C5.875%206.42654%205.875%206.42656%205.875%206.42657C5.875%206.42659%205.875%206.42661%205.875%206.42662C5.875%206.42664%205.875%206.42666%205.875%206.42667C5.875%206.42669%205.875%206.42671%205.875%206.42672C5.875%206.42674%205.875%206.42676%205.875%206.42677C5.875%206.42679%205.875%206.42681%205.875%206.42683C5.875%206.42684%205.875%206.42686%205.875%206.42688C5.875%206.42689%205.875%206.42691%205.875%206.42693C5.875%206.42694%205.875%206.42696%205.875%206.42698C5.875%206.42699%205.875%206.42701%205.875%206.42703C5.875%206.42704%205.875%206.42706%205.875%206.42708C5.875%206.42709%205.875%206.42711%205.875%206.42713C5.875%206.42714%205.875%206.42716%205.875%206.42718C5.875%206.42719%205.875%206.42721%205.875%206.42723C5.875%206.42724%205.875%206.42726%205.875%206.42728C5.875%206.42729%205.875%206.42731%205.875%206.42733C5.875%206.42734%205.875%206.42736%205.875%206.42738C5.875%206.42739%205.875%206.42741%205.875%206.42743C5.875%206.42744%205.875%206.42746%205.875%206.42748C5.875%206.42749%205.875%206.42751%205.875%206.42753C5.875%206.42754%205.875%206.42756%205.875%206.42758C5.875%206.42759%205.875%206.42761%205.875%206.42763C5.875%206.42764%205.875%206.42766%205.875%206.42768C5.875%206.42769%205.875%206.42771%205.875%206.42773C5.875%206.42774%205.875%206.42776%205.875%206.42778C5.875%206.4278%205.875%206.42781%205.875%206.42783C5.875%206.42785%205.875%206.42786%205.875%206.42788C5.875%206.4279%205.875%206.42791%205.875%206.42793C5.875%206.42795%205.875%206.42796%205.875%206.42798C5.875%206.428%205.875%206.42801%205.875%206.42803C5.875%206.42805%205.875%206.42806%205.875%206.42808C5.875%206.4281%205.875%206.42811%205.875%206.42813C5.875%206.42815%205.875%206.42816%205.875%206.42818C5.875%206.4282%205.875%206.42821%205.875%206.42823C5.875%206.42825%205.875%206.42826%205.875%206.42828C5.875%206.4283%205.875%206.42831%205.875%206.42833C5.875%206.42835%205.875%206.42836%205.875%206.42838C5.875%206.4284%205.875%206.42841%205.875%206.42843C5.875%206.42845%205.875%206.42846%205.875%206.42848C5.875%206.4285%205.875%206.42851%205.875%206.42853C5.875%206.42855%205.875%206.42856%205.875%206.42858C5.875%206.4286%205.875%206.42861%205.875%206.42863C5.875%206.42865%205.875%206.42866%205.875%206.42868C5.875%206.4287%205.875%206.42871%205.875%206.42873C5.875%206.42875%205.875%206.42876%205.875%206.42878C5.875%206.4288%205.875%206.42882%205.875%206.42883C5.875%206.42885%205.875%206.42887%205.875%206.42888C5.875%206.4289%205.875%206.42892%205.875%206.42893C5.875%206.42895%205.875%206.42897%205.875%206.42898C5.875%206.429%205.875%206.42902%205.875%206.42903C5.875%206.42905%205.875%206.42907%205.875%206.42908C5.875%206.4291%205.875%206.42912%205.875%206.42913C5.875%206.42915%205.875%206.42917%205.875%206.42918C5.875%206.4292%205.875%206.42922%205.875%206.42923C5.875%206.42925%205.875%206.42927%205.875%206.42928C5.875%206.4293%205.875%206.42932%205.875%206.42933C5.875%206.42935%205.875%206.42937%205.875%206.42938C5.875%206.4294%205.875%206.42942%205.875%206.42943C5.875%206.42945%205.875%206.42947%205.875%206.42948C5.875%206.4295%205.875%206.42952%205.875%206.42953C5.875%206.42955%205.875%206.42957%205.875%206.42958C5.875%206.4296%205.875%206.42962%205.875%206.42963C5.875%206.42965%205.875%206.42967%205.875%206.42968C5.875%206.4297%205.875%206.42972%205.875%206.42973C5.875%206.42975%205.875%206.42977%205.875%206.42978C5.875%206.4298%205.875%206.42982%205.875%206.42983C5.875%206.42985%205.875%206.42987%205.875%206.42988C5.875%206.4299%205.875%206.42992%205.875%206.42993C5.875%206.42995%205.875%206.42997%205.875%206.42999C5.875%206.43%205.875%206.43002%205.875%206.43004C5.875%206.43005%205.875%206.43007%205.875%206.43009C5.875%206.4301%205.875%206.43012%205.875%206.43014C5.875%206.43015%205.875%206.43017%205.875%206.43019C5.875%206.4302%205.875%206.43022%205.875%206.43024C5.875%206.43025%205.875%206.43027%205.875%206.43029C5.875%206.4303%205.875%206.43032%205.875%206.43034C5.875%206.43035%205.875%206.43037%205.875%206.43039C5.875%206.4304%205.875%206.43042%205.875%206.43044C5.875%206.43045%205.875%206.43047%205.875%206.43049C5.875%206.4305%205.875%206.43052%205.875%206.43054C5.875%206.43055%205.875%206.43057%205.875%206.43059C5.875%206.4306%205.875%206.43062%205.875%206.43064C5.875%206.43065%205.875%206.43067%205.875%206.43069C5.875%206.4307%205.875%206.43072%205.875%206.43074C5.875%206.43075%205.875%206.43077%205.875%206.43079C5.875%206.4308%205.875%206.43082%205.875%206.43084C5.875%206.43085%205.875%206.43087%205.875%206.43089C5.875%206.4309%205.875%206.43092%205.875%206.43094C5.875%206.43095%205.875%206.43097%205.875%206.43099C5.875%206.431%205.875%206.43102%205.875%206.43104C5.875%206.43105%205.875%206.43107%205.875%206.43109C5.875%206.4311%205.875%206.43112%205.875%206.43114C5.875%206.43115%205.875%206.43117%205.875%206.43119C5.875%206.4312%205.875%206.43122%205.875%206.43124H6.875ZM6.875%206.40549H7.875V6.03369H6.875H5.875V6.40549H6.875ZM6.875%206.03369L6.79399%205.03697C6.10211%205.09321%205.40261%205.27567%204.77868%205.57209L5.2078%206.47534L5.63692%207.37858C6.03259%207.19061%206.49499%207.06787%206.95601%207.0304L6.875%206.03369ZM5.2078%206.47534L4.77865%205.5721C4.02546%205.92996%203.34302%206.47373%202.94971%207.20412L3.83017%207.67824L4.71064%208.15235C4.84526%207.90235%205.14372%207.61291%205.63695%207.37857L5.2078%206.47534ZM3.83017%207.67824L2.94964%207.20425C3.08542%206.95201%203.37522%206.82445%203.6528%206.89443L3.40832%207.86409L3.16385%208.83374C3.7746%208.98773%204.41204%208.70706%204.7107%208.15223L3.83017%207.67824ZM3.40832%207.86409L3.6528%206.89443C3.93036%206.96441%204.125%207.21408%204.125%207.50049H3.125H2.125C2.125%208.13049%202.55312%208.67976%203.16385%208.83374L3.40832%207.86409ZM3.125%207.50049H4.125C4.125%205.77231%204.63773%204.79426%205.22843%204.2432L4.54628%203.51198L3.86413%202.78077C2.77501%203.7968%202.125%205.35916%202.125%207.50049H3.125ZM4.54628%203.51198L5.22843%204.24319C5.74332%203.76285%206.37887%203.54788%206.96417%203.49547L6.875%202.49946L6.78583%201.50344C5.85992%201.58634%204.77248%201.93336%203.86413%202.78077L4.54628%203.51198ZM6.875%202.49946H7.875V2.09545H6.875H5.875V2.49946H6.875ZM6.875%202.09545H7.875C7.875%202.09544%207.875%202.09542%207.875%202.0954C7.875%202.09539%207.875%202.09537%207.875%202.09535C7.875%202.09534%207.875%202.09532%207.875%202.0953C7.875%202.09529%207.875%202.09527%207.875%202.09525C7.875%202.09523%207.875%202.09522%207.875%202.0952C7.875%202.09518%207.875%202.09517%207.875%202.09515C7.875%202.09513%207.875%202.09512%207.875%202.0951C7.875%202.09508%207.875%202.09507%207.875%202.09505C7.875%202.09503%207.875%202.09502%207.875%202.095C7.875%202.09498%207.875%202.09497%207.875%202.09495C7.875%202.09493%207.875%202.09492%207.875%202.0949C7.875%202.09488%207.875%202.09486%207.875%202.09485C7.875%202.09483%207.875%202.09481%207.875%202.0948C7.875%202.09478%207.875%202.09476%207.875%202.09475C7.875%202.09473%207.875%202.09471%207.875%202.0947C7.875%202.09468%207.875%202.09466%207.875%202.09465C7.875%202.09463%207.875%202.09461%207.875%202.0946C7.875%202.09458%207.875%202.09456%207.875%202.09455C7.875%202.09453%207.875%202.09451%207.875%202.0945C7.875%202.09448%207.875%202.09446%207.875%202.09444C7.875%202.09443%207.875%202.09441%207.875%202.09439C7.875%202.09438%207.875%202.09436%207.875%202.09434C7.875%202.09433%207.875%202.09431%207.875%202.09429C7.875%202.09428%207.875%202.09426%207.875%202.09424C7.875%202.09423%207.875%202.09421%207.875%202.09419C7.875%202.09418%207.875%202.09416%207.875%202.09414C7.875%202.09413%207.875%202.09411%207.875%202.09409C7.875%202.09408%207.875%202.09406%207.875%202.09404C7.875%202.09402%207.875%202.09401%207.875%202.09399C7.875%202.09397%207.875%202.09396%207.875%202.09394C7.875%202.09392%207.875%202.09391%207.875%202.09389C7.875%202.09387%207.875%202.09386%207.875%202.09384C7.875%202.09382%207.875%202.09381%207.875%202.09379C7.875%202.09377%207.875%202.09376%207.875%202.09374C7.875%202.09372%207.875%202.09371%207.875%202.09369C7.875%202.09367%207.875%202.09366%207.875%202.09364C7.875%202.09362%207.875%202.0936%207.875%202.09359C7.875%202.09357%207.875%202.09355%207.875%202.09354C7.875%202.09352%207.875%202.0935%207.875%202.09349C7.875%202.09347%207.875%202.09345%207.875%202.09344C7.875%202.09342%207.875%202.0934%207.875%202.09339C7.875%202.09337%207.875%202.09335%207.875%202.09334C7.875%202.09332%207.875%202.0933%207.875%202.09329C7.875%202.09327%207.875%202.09325%207.875%202.09324C7.875%202.09322%207.875%202.0932%207.875%202.09318C7.875%202.09317%207.875%202.09315%207.875%202.09313C7.875%202.09312%207.875%202.0931%207.875%202.09308C7.875%202.09307%207.875%202.09305%207.875%202.09303C7.875%202.09302%207.875%202.093%207.875%202.09298C7.875%202.09297%207.875%202.09295%207.875%202.09293C7.875%202.09292%207.875%202.0929%207.875%202.09288C7.875%202.09287%207.875%202.09285%207.875%202.09283C7.875%202.09282%207.875%202.0928%207.875%202.09278C7.875%202.09276%207.875%202.09275%207.875%202.09273C7.875%202.09271%207.875%202.0927%207.875%202.09268C7.875%202.09266%207.875%202.09265%207.875%202.09263C7.875%202.09261%207.875%202.0926%207.875%202.09258C7.875%202.09256%207.875%202.09255%207.875%202.09253C7.875%202.09251%207.875%202.0925%207.875%202.09248C7.875%202.09246%207.875%202.09245%207.875%202.09243C7.875%202.09241%207.875%202.0924%207.875%202.09238C7.875%202.09236%207.875%202.09234%207.875%202.09233C7.875%202.09231%207.875%202.09229%207.875%202.09228C7.875%202.09226%207.875%202.09224%207.875%202.09223C7.875%202.09221%207.875%202.09219%207.875%202.09218C7.875%202.09216%207.875%202.09214%207.875%202.09213C7.875%202.09211%207.875%202.09209%207.875%202.09208C7.875%202.09206%207.875%202.09204%207.875%202.09203C7.875%202.09201%207.875%202.09199%207.875%202.09198C7.875%202.09196%207.875%202.09194%207.875%202.09192C7.875%202.09191%207.875%202.09189%207.875%202.09187C7.875%202.09186%207.875%202.09184%207.875%202.09182C7.875%202.09181%207.875%202.09179%207.875%202.09177C7.875%202.09176%207.875%202.09174%207.875%202.09172C7.875%202.09171%207.875%202.09169%207.875%202.09167C7.875%202.09166%207.875%202.09164%207.875%202.09162C7.875%202.09161%207.875%202.09159%207.875%202.09157C7.875%202.09156%207.875%202.09154%207.875%202.09152C7.875%202.09151%207.875%202.09149%207.875%202.09147C7.875%202.09145%207.875%202.09144%207.875%202.09142C7.875%202.0914%207.875%202.09139%207.875%202.09137C7.875%202.09135%207.875%202.09134%207.875%202.09132C7.875%202.0913%207.875%202.09129%207.875%202.09127C7.875%202.09125%207.875%202.09124%207.875%202.09122C7.875%202.0912%207.875%202.09119%207.875%202.09117C7.875%202.09115%207.875%202.09114%207.875%202.09112C7.875%202.0911%207.875%202.09109%207.875%202.09107C7.875%202.09105%207.875%202.09103%207.875%202.09102C7.875%202.091%207.875%202.09098%207.875%202.09097C7.875%202.09095%207.875%202.09093%207.875%202.09092C7.875%202.0909%207.875%202.09088%207.875%202.09087C7.875%202.09085%207.875%202.09083%207.875%202.09082C7.875%202.0908%207.875%202.09078%207.875%202.09077C7.875%202.09075%207.875%202.09073%207.875%202.09072C7.875%202.0907%207.875%202.09068%207.875%202.09067C7.875%202.09065%207.875%202.09063%207.875%202.09062C7.875%202.0906%207.875%202.09058%207.875%202.09056C7.875%202.09055%207.875%202.09053%207.875%202.09051C7.875%202.0905%207.875%202.09048%207.875%202.09046C7.875%202.09045%207.875%202.09043%207.875%202.09041C7.875%202.0904%207.875%202.09038%207.875%202.09036C7.875%202.09035%207.875%202.09033%207.875%202.09031C7.875%202.0903%207.875%202.09028%207.875%202.09026C7.875%202.09025%207.875%202.09023%207.875%202.09021C7.875%202.0902%207.875%202.09018%207.875%202.09016C7.875%202.09014%207.875%202.09013%207.875%202.09011C7.875%202.09009%207.875%202.09008%207.875%202.09006C7.875%202.09004%207.875%202.09003%207.875%202.09001C7.875%202.08999%207.875%202.08998%207.875%202.08996C7.875%202.08994%207.875%202.08993%207.875%202.08991C7.875%202.08989%207.875%202.08988%207.875%202.08986C7.875%202.08984%207.875%202.08983%207.875%202.08981C7.875%202.08979%207.875%202.08978%207.875%202.08976C7.875%202.08974%207.875%202.08973%207.875%202.08971C7.875%202.08969%207.875%202.08967%207.875%202.08966C7.875%202.08964%207.875%202.08962%207.875%202.08961C7.875%202.08959%207.875%202.08957%207.875%202.08956C7.875%202.08954%207.875%202.08952%207.875%202.08951C7.875%202.08949%207.875%202.08947%207.875%202.08946C7.875%202.08944%207.875%202.08942%207.875%202.08941C7.875%202.08939%207.875%202.08937%207.875%202.08936C7.875%202.08934%207.875%202.08932%207.875%202.08931C7.875%202.08929%207.875%202.08927%207.875%202.08925C7.875%202.08924%207.875%202.08922%207.875%202.0892C7.875%202.08919%207.875%202.08917%207.875%202.08915C7.875%202.08914%207.875%202.08912%207.875%202.0891C7.875%202.08909%207.875%202.08907%207.875%202.08905C7.875%202.08904%207.875%202.08902%207.875%202.089C7.875%202.08899%207.875%202.08897%207.875%202.08895C7.875%202.08894%207.875%202.08892%207.875%202.0889C7.875%202.08889%207.875%202.08887%207.875%202.08885C7.875%202.08884%207.875%202.08882%207.875%202.0888C7.875%202.08878%207.875%202.08877%207.875%202.08875C7.875%202.08873%207.875%202.08872%207.875%202.0887C7.875%202.08868%207.875%202.08867%207.875%202.08865C7.875%202.08863%207.875%202.08862%207.875%202.0886C7.875%202.08858%207.875%202.08857%207.875%202.08855C7.875%202.08853%207.875%202.08852%207.875%202.0885C7.875%202.08848%207.875%202.08847%207.875%202.08845C7.875%202.08843%207.875%202.08842%207.875%202.0884C7.875%202.08838%207.875%202.08837%207.875%202.08835C7.875%202.08833%207.875%202.08832%207.875%202.0883C7.875%202.08828%207.875%202.08826%207.875%202.08825C7.875%202.08823%207.875%202.08821%207.875%202.0882C7.875%202.08818%207.875%202.08816%207.875%202.08815C7.875%202.08813%207.875%202.08811%207.875%202.0881C7.875%202.08808%207.875%202.08806%207.875%202.08805C7.875%202.08803%207.875%202.08801%207.875%202.088C7.875%202.08798%207.875%202.08796%207.875%202.08795C7.875%202.08793%207.875%202.08791%207.875%202.0879C7.875%202.08788%207.875%202.08786%207.875%202.08784C7.875%202.08783%207.875%202.08781%207.875%202.08779C7.875%202.08778%207.875%202.08776%207.875%202.08774C7.875%202.08773%207.875%202.08771%207.875%202.08769C7.875%202.08768%207.875%202.08766%207.875%202.08764C7.875%202.08763%207.875%202.08761%207.875%202.08759C7.875%202.08758%207.875%202.08756%207.875%202.08754C7.875%202.08753%207.875%202.08751%207.875%202.08749C7.875%202.08748%207.875%202.08746%207.875%202.08744C7.875%202.08743%207.875%202.08741%207.875%202.08739C7.875%202.08738%207.875%202.08736%207.875%202.08734C7.875%202.08732%207.875%202.08731%207.875%202.08729C7.875%202.08727%207.875%202.08726%207.875%202.08724C7.875%202.08722%207.875%202.08721%207.875%202.08719C7.875%202.08717%207.875%202.08716%207.875%202.08714C7.875%202.08712%207.875%202.08711%207.875%202.08709C7.875%202.08707%207.875%202.08706%207.875%202.08704C7.875%202.08702%207.875%202.08701%207.875%202.08699C7.875%202.08697%207.875%202.08696%207.875%202.08694C7.875%202.08692%207.875%202.08691%207.875%202.08689C7.875%202.08687%207.875%202.08685%207.875%202.08684C7.875%202.08682%207.875%202.0868%207.875%202.08679C7.875%202.08677%207.875%202.08675%207.875%202.08674C7.875%202.08672%207.875%202.0867%207.875%202.08669C7.875%202.08667%207.875%202.08665%207.875%202.08664C7.875%202.08662%207.875%202.0866%207.875%202.08659C7.875%202.08657%207.875%202.08655%207.875%202.08654C7.875%202.08652%207.875%202.0865%207.875%202.08649C7.875%202.08647%207.875%202.08645%207.875%202.08644C7.875%202.08642%207.875%202.0864%207.875%202.08639C7.875%202.08637%207.875%202.08635%207.875%202.08633C7.875%202.08632%207.875%202.0863%207.875%202.08628C7.875%202.08627%207.875%202.08625%207.875%202.08623C7.875%202.08622%207.875%202.0862%207.875%202.08618C7.875%202.08617%207.875%202.08615%207.875%202.08613C7.875%202.08612%207.875%202.0861%207.875%202.08608C7.875%202.08607%207.875%202.08605%207.875%202.08603C7.875%202.08602%207.875%202.086%207.875%202.08598C7.875%202.08597%207.875%202.08595%207.875%202.08593C7.875%202.08592%207.875%202.0859%207.875%202.08588C7.875%202.08586%207.875%202.08585%207.875%202.08583C7.875%202.08581%207.875%202.0858%207.875%202.08578C7.875%202.08576%207.875%202.08575%207.875%202.08573C7.875%202.08571%207.875%202.0857%207.875%202.08568C7.875%202.08566%207.875%202.08565%207.875%202.08563C7.875%202.08561%207.875%202.0856%207.875%202.08558C7.875%202.08556%207.875%202.08555%207.875%202.08553C7.875%202.08551%207.875%202.0855%207.875%202.08548C7.875%202.08546%207.875%202.08545%207.875%202.08543C7.875%202.08541%207.875%202.0854%207.875%202.08538C7.875%202.08536%207.875%202.08534%207.875%202.08533C7.875%202.08531%207.875%202.08529%207.875%202.08528C7.875%202.08526%207.875%202.08524%207.875%202.08523C7.875%202.08521%207.875%202.08519%207.875%202.08518C7.875%202.08516%207.875%202.08514%207.875%202.08513C7.875%202.08511%207.875%202.08509%207.875%202.08508C7.875%202.08506%207.875%202.08504%207.875%202.08503C7.875%202.08501%207.875%202.08499%207.875%202.08498C7.875%202.08496%207.875%202.08494%207.875%202.08493C7.875%202.08491%207.875%202.08489%207.875%202.08488C7.875%202.08486%207.875%202.08484%207.875%202.08482C7.875%202.08481%207.875%202.08479%207.875%202.08477C7.875%202.08476%207.875%202.08474%207.875%202.08472C7.875%202.08471%207.875%202.08469%207.875%202.08467C7.875%202.08466%207.875%202.08464%207.875%202.08462C7.875%202.08461%207.875%202.08459%207.875%202.08457C7.875%202.08456%207.875%202.08454%207.875%202.08452C7.875%202.08451%207.875%202.08449%207.875%202.08447C7.875%202.08446%207.875%202.08444%207.875%202.08442C7.875%202.08441%207.875%202.08439%207.875%202.08437C7.875%202.08436%207.875%202.08434%207.875%202.08432C7.875%202.0843%207.875%202.08429%207.875%202.08427C7.875%202.08425%207.875%202.08424%207.875%202.08422C7.875%202.0842%207.875%202.08419%207.875%202.08417C7.875%202.08415%207.875%202.08414%207.875%202.08412C7.875%202.0841%207.875%202.08409%207.875%202.08407C7.875%202.08405%207.875%202.08404%207.875%202.08402C7.875%202.084%207.875%202.08399%207.875%202.08397C7.875%202.08395%207.875%202.08394%207.875%202.08392C7.875%202.0839%207.875%202.08389%207.875%202.08387C7.875%202.08385%207.875%202.08384%207.875%202.08382C7.875%202.0838%207.875%202.08378%207.875%202.08377C7.875%202.08375%207.875%202.08373%207.875%202.08372C7.875%202.0837%207.875%202.08368%207.875%202.08367C7.875%202.08365%207.875%202.08363%207.875%202.08362C7.875%202.0836%207.875%202.08358%207.875%202.08357C7.875%202.08355%207.875%202.08353%207.875%202.08352C7.875%202.0835%207.875%202.08348%207.875%202.08347C7.875%202.08345%207.875%202.08343%207.875%202.08342C7.875%202.0834%207.875%202.08338%207.875%202.08337C7.875%202.08335%207.875%202.08333%207.875%202.08332C7.875%202.0833%207.875%202.08328%207.875%202.08327C7.875%202.08325%207.875%202.08323%207.875%202.08321C7.875%202.0832%207.875%202.08318%207.875%202.08316C7.875%202.08315%207.875%202.08313%207.875%202.08311C7.875%202.0831%207.875%202.08308%207.875%202.08306C7.875%202.08305%207.875%202.08303%207.875%202.08301C7.875%202.083%207.875%202.08298%207.875%202.08296C7.875%202.08295%207.875%202.08293%207.875%202.08291C7.875%202.0829%207.875%202.08288%207.875%202.08286C7.875%202.08285%207.875%202.08283%207.875%202.08281C7.875%202.0828%207.875%202.08278%207.875%202.08276C7.875%202.08275%207.875%202.08273%207.875%202.08271C7.875%202.08269%207.875%202.08268%207.875%202.08266C7.875%202.08264%207.875%202.08263%207.875%202.08261C7.875%202.08259%207.875%202.08258%207.875%202.08256C7.875%202.08254%207.875%202.08253%207.875%202.08251C7.875%202.08249%207.875%202.08248%207.875%202.08246C7.875%202.08244%207.875%202.08243%207.875%202.08241C7.875%202.08239%207.875%202.08238%207.875%202.08236C7.875%202.08234%207.875%202.08233%207.875%202.08231C7.875%202.08229%207.875%202.08228%207.875%202.08226C7.875%202.08224%207.875%202.08223%207.875%202.08221C7.875%202.08219%207.875%202.08218%207.875%202.08216C7.875%202.08214%207.875%202.08212%207.875%202.08211C7.875%202.08209%207.875%202.08207%207.875%202.08206C7.875%202.08204%207.875%202.08202%207.875%202.08201C7.875%202.08199%207.875%202.08197%207.875%202.08196C7.875%202.08194%207.875%202.08192%207.875%202.08191C7.875%202.08189%207.875%202.08187%207.875%202.08186C7.875%202.08184%207.875%202.08182%207.875%202.08181C7.875%202.08179%207.875%202.08177%207.875%202.08176C7.875%202.08174%207.875%202.08172%207.875%202.08171C7.875%202.08169%207.875%202.08167%207.875%202.08166C7.875%202.08164%207.875%202.08162%207.875%202.08161C7.875%202.08159%207.875%202.08157%207.875%202.08155C7.875%202.08154%207.875%202.08152%207.875%202.0815C7.875%202.08149%207.875%202.08147%207.875%202.08145C7.875%202.08144%207.875%202.08142%207.875%202.0814C7.875%202.08139%207.875%202.08137%207.875%202.08135C7.875%202.08134%207.875%202.08132%207.875%202.0813C7.875%202.08129%207.875%202.08127%207.875%202.08125C7.875%202.08124%207.875%202.08122%207.875%202.0812C7.875%202.08119%207.875%202.08117%207.875%202.08115C7.875%202.08114%207.875%202.08112%207.875%202.0811C7.875%202.08109%207.875%202.08107%207.875%202.08105C7.875%202.08104%207.875%202.08102%207.875%202.081C7.875%202.08098%207.875%202.08097%207.875%202.08095C7.875%202.08093%207.875%202.08092%207.875%202.0809C7.875%202.08088%207.875%202.08087%207.875%202.08085C7.875%202.08083%207.875%202.08082%207.875%202.0808C7.875%202.08078%207.875%202.08077%207.875%202.08075C7.875%202.08073%207.875%202.08072%207.875%202.0807C7.875%202.08068%207.875%202.08067%207.875%202.08065C7.875%202.08063%207.875%202.08062%207.875%202.0806C7.875%202.08058%207.875%202.08057%207.875%202.08055C7.875%202.08053%207.875%202.08052%207.875%202.0805C7.875%202.08048%207.875%202.08047%207.875%202.08045C7.875%202.08043%207.875%202.08041%207.875%202.0804C7.875%202.08038%207.875%202.08036%207.875%202.08035C7.875%202.08033%207.875%202.08031%207.875%202.0803C7.875%202.08028%207.875%202.08026%207.875%202.08025C7.875%202.08023%207.875%202.08021%207.875%202.0802C7.875%202.08018%207.875%202.08016%207.875%202.08015C7.875%202.08013%207.875%202.08011%207.875%202.0801C7.875%202.08008%207.875%202.08006%207.875%202.08005C7.875%202.08003%207.875%202.08001%207.875%202.08C7.875%202.07998%207.875%202.07996%207.875%202.07995C7.875%202.07993%207.875%202.07991%207.875%202.0799C7.875%202.07988%207.875%202.07986%207.875%202.07985C7.875%202.07983%207.875%202.07981%207.875%202.07979C7.875%202.07978%207.875%202.07976%207.875%202.07974C7.875%202.07973%207.875%202.07971%207.875%202.07969C7.875%202.07968%207.875%202.07966%207.875%202.07964C7.875%202.07963%207.875%202.07961%207.875%202.07959C7.875%202.07958%207.875%202.07956%207.875%202.07954C7.875%202.07953%207.875%202.07951%207.875%202.07949C7.875%202.07948%207.875%202.07946%207.875%202.07944C7.875%202.07943%207.875%202.07941%207.875%202.07939C7.875%202.07938%207.875%202.07936%207.875%202.07934C7.875%202.07933%207.875%202.07931%207.875%202.07929C7.875%202.07928%207.875%202.07926%207.875%202.07924C7.875%202.07922%207.875%202.07921%207.875%202.07919C7.875%202.07917%207.875%202.07916%207.875%202.07914C7.875%202.07912%207.875%202.07911%207.875%202.07909C7.875%202.07907%207.875%202.07906%207.875%202.07904C7.875%202.07902%207.875%202.07901%207.875%202.07899C7.875%202.07897%207.875%202.07896%207.875%202.07894C7.875%202.07892%207.875%202.07891%207.875%202.07889C7.875%202.07887%207.875%202.07886%207.875%202.07884C7.875%202.07882%207.875%202.07881%207.875%202.07879C7.875%202.07877%207.875%202.07876%207.875%202.07874C7.875%202.07872%207.875%202.07871%207.875%202.07869C7.875%202.07867%207.875%202.07866%207.875%202.07864C7.875%202.07862%207.875%202.07861%207.875%202.07859C7.875%202.07857%207.875%202.07855%207.875%202.07854C7.875%202.07852%207.875%202.0785%207.875%202.07849C7.875%202.07847%207.875%202.07845%207.875%202.07844C7.875%202.07842%207.875%202.0784%207.875%202.07839C7.875%202.07837%207.875%202.07835%207.875%202.07834C7.875%202.07832%207.875%202.0783%207.875%202.07829C7.875%202.07827%207.875%202.07825%207.875%202.07824C7.875%202.07822%207.875%202.0782%207.875%202.07819C7.875%202.07817%207.875%202.07815%207.875%202.07814C7.875%202.07812%207.875%202.0781%207.875%202.07809C7.875%202.07807%207.875%202.07805%207.875%202.07804C7.875%202.07802%207.875%202.078%207.875%202.07799C7.875%202.07797%207.875%202.07795%207.875%202.07793C7.875%202.07792%207.875%202.0779%207.875%202.07788C7.875%202.07787%207.875%202.07785%207.875%202.07783C7.875%202.07782%207.875%202.0778%207.875%202.07778C7.875%202.07777%207.875%202.07775%207.875%202.07773C7.875%202.07772%207.875%202.0777%207.875%202.07768C7.875%202.07767%207.875%202.07765%207.875%202.07763C7.875%202.07762%207.875%202.0776%207.875%202.07758C7.875%202.07757%207.875%202.07755%207.875%202.07753C7.875%202.07752%207.875%202.0775%207.875%202.07748C7.875%202.07747%207.875%202.07745%207.875%202.07743C7.875%202.07742%207.875%202.0774%207.875%202.07738C7.875%202.07737%207.875%202.07735%207.875%202.07733C7.875%202.07731%207.875%202.0773%207.875%202.07728C7.875%202.07726%207.875%202.07725%207.875%202.07723C7.875%202.07721%207.875%202.0772%207.875%202.07718C7.875%202.07716%207.875%202.07715%207.875%202.07713C7.875%202.07711%207.875%202.0771%207.875%202.07708C7.875%202.07706%207.875%202.07705%207.875%202.07703C7.875%202.07701%207.875%202.077%207.875%202.07698C7.875%202.07696%207.875%202.07695%207.875%202.07693C7.875%202.07691%207.875%202.0769%207.875%202.07688C7.875%202.07686%207.875%202.07685%207.875%202.07683C7.875%202.07681%207.875%202.0768%207.875%202.07678C7.875%202.07676%207.875%202.07675%207.875%202.07673C7.875%202.07671%207.875%202.0767%207.875%202.07668C7.875%202.07666%207.875%202.07665%207.875%202.07663C7.875%202.07661%207.875%202.07659%207.875%202.07658C7.875%202.07656%207.875%202.07654%207.875%202.07653C7.875%202.07651%207.875%202.07649%207.875%202.07648C7.875%202.07646%207.875%202.07644%207.875%202.07643C7.875%202.07641%207.875%202.07639%207.875%202.07638C7.875%202.07636%207.875%202.07634%207.875%202.07633C7.875%202.07631%207.875%202.07629%207.875%202.07628C7.875%202.07626%207.875%202.07624%207.875%202.07623C7.875%202.07621%207.875%202.07619%207.875%202.07618C7.875%202.07616%207.875%202.07614%207.875%202.07613C7.875%202.07611%207.875%202.07609%207.875%202.07608C7.875%202.07606%207.875%202.07604%207.875%202.07603C7.875%202.07601%207.875%202.07599%207.875%202.07598C7.875%202.07596%207.875%202.07594%207.875%202.07592C7.875%202.07591%207.875%202.07589%207.875%202.07587C7.875%202.07586%207.875%202.07584%207.875%202.07582C7.875%202.07581%207.875%202.07579%207.875%202.07577C7.875%202.07576%207.875%202.07574%207.875%202.07572C7.875%202.07571%207.875%202.07569%207.875%202.07567C7.875%202.07566%207.875%202.07564%207.875%202.07562C7.875%202.07561%207.875%202.07559%207.875%202.07557C7.875%202.07556%207.875%202.07554%207.875%202.07552C7.875%202.07551%207.875%202.07549%207.875%202.07547C7.875%202.07546%207.875%202.07544%207.875%202.07542C7.875%202.07541%207.875%202.07539%207.875%202.07537C7.875%202.07536%207.875%202.07534%207.875%202.07532C7.875%202.07531%207.875%202.07529%207.875%202.07527C7.875%202.07525%207.875%202.07524%207.875%202.07522C7.875%202.0752%207.875%202.07519%207.875%202.07517C7.875%202.07515%207.875%202.07514%207.875%202.07512C7.875%202.0751%207.875%202.07509%207.875%202.07507C7.875%202.07505%207.875%202.07504%207.875%202.07502C7.875%202.075%207.875%202.07499%207.875%202.07497C7.875%202.07495%207.875%202.07494%207.875%202.07492C7.875%202.0749%207.875%202.07489%207.875%202.07487C7.875%202.07485%207.875%202.07484%207.875%202.07482C7.875%202.0748%207.875%202.07479%207.875%202.07477C7.875%202.07475%207.875%202.07474%207.875%202.07472C7.875%202.0747%207.875%202.07469%207.875%202.07467C7.875%202.07465%207.875%202.07464%207.875%202.07462C7.875%202.0746%207.875%202.07459%207.875%202.07457C7.875%202.07455%207.875%202.07453%207.875%202.07452C7.875%202.0745%207.875%202.07448%207.875%202.07447C7.875%202.07445%207.875%202.07443%207.875%202.07442C7.875%202.0744%207.875%202.07438%207.875%202.07437C7.875%202.07435%207.875%202.07433%207.875%202.07432C7.875%202.0743%207.875%202.07428%207.875%202.07427C7.875%202.07425%207.875%202.07423%207.875%202.07422C7.875%202.0742%207.875%202.07418%207.875%202.07417C7.875%202.07415%207.875%202.07413%207.875%202.07412C7.875%202.0741%207.875%202.07408%207.875%202.07407C7.875%202.07405%207.875%202.07403%207.875%202.07402C7.875%202.074%207.875%202.07398%207.875%202.07397C7.875%202.07395%207.875%202.07393%207.875%202.07392C7.875%202.0739%207.875%202.07388%207.875%202.07387C7.875%202.07385%207.875%202.07383%207.875%202.07381C7.875%202.0738%207.875%202.07378%207.875%202.07376C7.875%202.07375%207.875%202.07373%207.875%202.07371C7.875%202.0737%207.875%202.07368%207.875%202.07366C7.875%202.07365%207.875%202.07363%207.875%202.07361C7.875%202.0736%207.875%202.07358%207.875%202.07356C7.875%202.07355%207.875%202.07353%207.875%202.07351C7.875%202.0735%207.875%202.07348%207.875%202.07346C7.875%202.07345%207.875%202.07343%207.875%202.07341C7.875%202.0734%207.875%202.07338%207.875%202.07336C7.875%202.07335%207.875%202.07333%207.875%202.07331C7.875%202.0733%207.875%202.07328%207.875%202.07326C7.875%202.07325%207.875%202.07323%207.875%202.07321C7.875%202.0732%207.875%202.07318%207.875%202.07316C7.875%202.07315%207.875%202.07313%207.875%202.07311C7.875%202.0731%207.875%202.07308%207.875%202.07306C7.875%202.07305%207.875%202.07303%207.875%202.07301C7.875%202.07299%207.875%202.07298%207.875%202.07296C7.875%202.07294%207.875%202.07293%207.875%202.07291C7.875%202.07289%207.875%202.07288%207.875%202.07286C7.875%202.07284%207.875%202.07283%207.875%202.07281C7.875%202.07279%207.875%202.07278%207.875%202.07276C7.875%202.07274%207.875%202.07273%207.875%202.07271C7.875%202.07269%207.875%202.07268%207.875%202.07266C7.875%202.07264%207.875%202.07263%207.875%202.07261C7.875%202.07259%207.875%202.07258%207.875%202.07256C7.875%202.07254%207.875%202.07253%207.875%202.07251C7.875%202.07249%207.875%202.07248%207.875%202.07246C7.875%202.07244%207.875%202.07243%207.875%202.07241C7.875%202.07239%207.875%202.07238%207.875%202.07236C7.875%202.07234%207.875%202.07233%207.875%202.07231C7.875%202.07229%207.875%202.07228%207.875%202.07226C7.875%202.07224%207.875%202.07222%207.875%202.07221C7.875%202.07219%207.875%202.07217%207.875%202.07216C7.875%202.07214%207.875%202.07212%207.875%202.07211C7.875%202.07209%207.875%202.07207%207.875%202.07206C7.875%202.07204%207.875%202.07202%207.875%202.07201C7.875%202.07199%207.875%202.07197%207.875%202.07196C7.875%202.07194%207.875%202.07192%207.875%202.07191C7.875%202.07189%207.875%202.07187%207.875%202.07186C7.875%202.07184%207.875%202.07182%207.875%202.07181C7.875%202.07179%207.875%202.07177%207.875%202.07176C7.875%202.07174%207.875%202.07172%207.875%202.07171C7.875%202.07169%207.875%202.07167%207.875%202.07166C7.875%202.07164%207.875%202.07162%207.875%202.07161C7.875%202.07159%207.875%202.07157%207.875%202.07156C7.875%202.07154%207.875%202.07152%207.875%202.07151C7.875%202.07149%207.875%202.07147%207.875%202.07146C7.875%202.07144%207.875%202.07142%207.875%202.0714C7.875%202.07139%207.875%202.07137%207.875%202.07135C7.875%202.07134%207.875%202.07132%207.875%202.0713C7.875%202.07129%207.875%202.07127%207.875%202.07125C7.875%202.07124%207.875%202.07122%207.875%202.0712C7.875%202.07119%207.875%202.07117%207.875%202.07115C7.875%202.07114%207.875%202.07112%207.875%202.0711C7.875%202.07109%207.875%202.07107%207.875%202.07105C7.875%202.07104%207.875%202.07102%207.875%202.071C7.875%202.07099%207.875%202.07097%207.875%202.07095C7.875%202.07094%207.875%202.07092%207.875%202.0709C7.875%202.07089%207.875%202.07087%207.875%202.07085C7.875%202.07084%207.875%202.07082%207.875%202.0708C7.875%202.07079%207.875%202.07077%207.875%202.07075C7.875%202.07074%207.875%202.07072%207.875%202.0707C7.875%202.07069%207.875%202.07067%207.875%202.07065C7.875%202.07064%207.875%202.07062%207.875%202.0706C7.875%202.07058%207.875%202.07057%207.875%202.07055C7.875%202.07053%207.875%202.07052%207.875%202.0705C7.875%202.07048%207.875%202.07047%207.875%202.07045C7.875%202.07043%207.875%202.07042%207.875%202.0704C7.875%202.07038%207.875%202.07037%207.875%202.07035C7.875%202.07033%207.875%202.07032%207.875%202.0703C7.875%202.07028%207.875%202.07027%207.875%202.07025C7.875%202.07023%207.875%202.07022%207.875%202.0702C7.875%202.07018%207.875%202.07017%207.875%202.07015C7.875%202.07013%207.875%202.07012%207.875%202.0701C7.875%202.07008%207.875%202.07007%207.875%202.07005C7.875%202.07003%207.875%202.07002%207.875%202.07C7.875%202.06998%207.875%202.06997%207.875%202.06995C7.875%202.06993%207.875%202.06992%207.875%202.0699C7.875%202.06988%207.875%202.06987%207.875%202.06985C7.875%202.06983%207.875%202.06982%207.875%202.0698C7.875%202.06978%207.875%202.06977%207.875%202.06975C7.875%202.06973%207.875%202.06972%207.875%202.0697H6.875H5.875C5.875%202.06972%205.875%202.06973%205.875%202.06975C5.875%202.06977%205.875%202.06978%205.875%202.0698C5.875%202.06982%205.875%202.06983%205.875%202.06985C5.875%202.06987%205.875%202.06988%205.875%202.0699C5.875%202.06992%205.875%202.06993%205.875%202.06995C5.875%202.06997%205.875%202.06998%205.875%202.07C5.875%202.07002%205.875%202.07003%205.875%202.07005C5.875%202.07007%205.875%202.07008%205.875%202.0701C5.875%202.07012%205.875%202.07013%205.875%202.07015C5.875%202.07017%205.875%202.07018%205.875%202.0702C5.875%202.07022%205.875%202.07023%205.875%202.07025C5.875%202.07027%205.875%202.07028%205.875%202.0703C5.875%202.07032%205.875%202.07033%205.875%202.07035C5.875%202.07037%205.875%202.07038%205.875%202.0704C5.875%202.07042%205.875%202.07043%205.875%202.07045C5.875%202.07047%205.875%202.07048%205.875%202.0705C5.875%202.07052%205.875%202.07053%205.875%202.07055C5.875%202.07057%205.875%202.07058%205.875%202.0706C5.875%202.07062%205.875%202.07064%205.875%202.07065C5.875%202.07067%205.875%202.07069%205.875%202.0707C5.875%202.07072%205.875%202.07074%205.875%202.07075C5.875%202.07077%205.875%202.07079%205.875%202.0708C5.875%202.07082%205.875%202.07084%205.875%202.07085C5.875%202.07087%205.875%202.07089%205.875%202.0709C5.875%202.07092%205.875%202.07094%205.875%202.07095C5.875%202.07097%205.875%202.07099%205.875%202.071C5.875%202.07102%205.875%202.07104%205.875%202.07105C5.875%202.07107%205.875%202.07109%205.875%202.0711C5.875%202.07112%205.875%202.07114%205.875%202.07115C5.875%202.07117%205.875%202.07119%205.875%202.0712C5.875%202.07122%205.875%202.07124%205.875%202.07125C5.875%202.07127%205.875%202.07129%205.875%202.0713C5.875%202.07132%205.875%202.07134%205.875%202.07135C5.875%202.07137%205.875%202.07139%205.875%202.0714C5.875%202.07142%205.875%202.07144%205.875%202.07146C5.875%202.07147%205.875%202.07149%205.875%202.07151C5.875%202.07152%205.875%202.07154%205.875%202.07156C5.875%202.07157%205.875%202.07159%205.875%202.07161C5.875%202.07162%205.875%202.07164%205.875%202.07166C5.875%202.07167%205.875%202.07169%205.875%202.07171C5.875%202.07172%205.875%202.07174%205.875%202.07176C5.875%202.07177%205.875%202.07179%205.875%202.07181C5.875%202.07182%205.875%202.07184%205.875%202.07186C5.875%202.07187%205.875%202.07189%205.875%202.07191C5.875%202.07192%205.875%202.07194%205.875%202.07196C5.875%202.07197%205.875%202.07199%205.875%202.07201C5.875%202.07202%205.875%202.07204%205.875%202.07206C5.875%202.07207%205.875%202.07209%205.875%202.07211C5.875%202.07212%205.875%202.07214%205.875%202.07216C5.875%202.07217%205.875%202.07219%205.875%202.07221C5.875%202.07222%205.875%202.07224%205.875%202.07226C5.875%202.07228%205.875%202.07229%205.875%202.07231C5.875%202.07233%205.875%202.07234%205.875%202.07236C5.875%202.07238%205.875%202.07239%205.875%202.07241C5.875%202.07243%205.875%202.07244%205.875%202.07246C5.875%202.07248%205.875%202.07249%205.875%202.07251C5.875%202.07253%205.875%202.07254%205.875%202.07256C5.875%202.07258%205.875%202.07259%205.875%202.07261C5.875%202.07263%205.875%202.07264%205.875%202.07266C5.875%202.07268%205.875%202.07269%205.875%202.07271C5.875%202.07273%205.875%202.07274%205.875%202.07276C5.875%202.07278%205.875%202.07279%205.875%202.07281C5.875%202.07283%205.875%202.07284%205.875%202.07286C5.875%202.07288%205.875%202.07289%205.875%202.07291C5.875%202.07293%205.875%202.07294%205.875%202.07296C5.875%202.07298%205.875%202.07299%205.875%202.07301C5.875%202.07303%205.875%202.07305%205.875%202.07306C5.875%202.07308%205.875%202.0731%205.875%202.07311C5.875%202.07313%205.875%202.07315%205.875%202.07316C5.875%202.07318%205.875%202.0732%205.875%202.07321C5.875%202.07323%205.875%202.07325%205.875%202.07326C5.875%202.07328%205.875%202.0733%205.875%202.07331C5.875%202.07333%205.875%202.07335%205.875%202.07336C5.875%202.07338%205.875%202.0734%205.875%202.07341C5.875%202.07343%205.875%202.07345%205.875%202.07346C5.875%202.07348%205.875%202.0735%205.875%202.07351C5.875%202.07353%205.875%202.07355%205.875%202.07356C5.875%202.07358%205.875%202.0736%205.875%202.07361C5.875%202.07363%205.875%202.07365%205.875%202.07366C5.875%202.07368%205.875%202.0737%205.875%202.07371C5.875%202.07373%205.875%202.07375%205.875%202.07376C5.875%202.07378%205.875%202.0738%205.875%202.07381C5.875%202.07383%205.875%202.07385%205.875%202.07387C5.875%202.07388%205.875%202.0739%205.875%202.07392C5.875%202.07393%205.875%202.07395%205.875%202.07397C5.875%202.07398%205.875%202.074%205.875%202.07402C5.875%202.07403%205.875%202.07405%205.875%202.07407C5.875%202.07408%205.875%202.0741%205.875%202.07412C5.875%202.07413%205.875%202.07415%205.875%202.07417C5.875%202.07418%205.875%202.0742%205.875%202.07422C5.875%202.07423%205.875%202.07425%205.875%202.07427C5.875%202.07428%205.875%202.0743%205.875%202.07432C5.875%202.07433%205.875%202.07435%205.875%202.07437C5.875%202.07438%205.875%202.0744%205.875%202.07442C5.875%202.07443%205.875%202.07445%205.875%202.07447C5.875%202.07448%205.875%202.0745%205.875%202.07452C5.875%202.07453%205.875%202.07455%205.875%202.07457C5.875%202.07459%205.875%202.0746%205.875%202.07462C5.875%202.07464%205.875%202.07465%205.875%202.07467C5.875%202.07469%205.875%202.0747%205.875%202.07472C5.875%202.07474%205.875%202.07475%205.875%202.07477C5.875%202.07479%205.875%202.0748%205.875%202.07482C5.875%202.07484%205.875%202.07485%205.875%202.07487C5.875%202.07489%205.875%202.0749%205.875%202.07492C5.875%202.07494%205.875%202.07495%205.875%202.07497C5.875%202.07499%205.875%202.075%205.875%202.07502C5.875%202.07504%205.875%202.07505%205.875%202.07507C5.875%202.07509%205.875%202.0751%205.875%202.07512C5.875%202.07514%205.875%202.07515%205.875%202.07517C5.875%202.07519%205.875%202.0752%205.875%202.07522C5.875%202.07524%205.875%202.07525%205.875%202.07527C5.875%202.07529%205.875%202.07531%205.875%202.07532C5.875%202.07534%205.875%202.07536%205.875%202.07537C5.875%202.07539%205.875%202.07541%205.875%202.07542C5.875%202.07544%205.875%202.07546%205.875%202.07547C5.875%202.07549%205.875%202.07551%205.875%202.07552C5.875%202.07554%205.875%202.07556%205.875%202.07557C5.875%202.07559%205.875%202.07561%205.875%202.07562C5.875%202.07564%205.875%202.07566%205.875%202.07567C5.875%202.07569%205.875%202.07571%205.875%202.07572C5.875%202.07574%205.875%202.07576%205.875%202.07577C5.875%202.07579%205.875%202.07581%205.875%202.07582C5.875%202.07584%205.875%202.07586%205.875%202.07587C5.875%202.07589%205.875%202.07591%205.875%202.07592C5.875%202.07594%205.875%202.07596%205.875%202.07598C5.875%202.07599%205.875%202.07601%205.875%202.07603C5.875%202.07604%205.875%202.07606%205.875%202.07608C5.875%202.07609%205.875%202.07611%205.875%202.07613C5.875%202.07614%205.875%202.07616%205.875%202.07618C5.875%202.07619%205.875%202.07621%205.875%202.07623C5.875%202.07624%205.875%202.07626%205.875%202.07628C5.875%202.07629%205.875%202.07631%205.875%202.07633C5.875%202.07634%205.875%202.07636%205.875%202.07638C5.875%202.07639%205.875%202.07641%205.875%202.07643C5.875%202.07644%205.875%202.07646%205.875%202.07648C5.875%202.07649%205.875%202.07651%205.875%202.07653C5.875%202.07654%205.875%202.07656%205.875%202.07658C5.875%202.07659%205.875%202.07661%205.875%202.07663C5.875%202.07665%205.875%202.07666%205.875%202.07668C5.875%202.0767%205.875%202.07671%205.875%202.07673C5.875%202.07675%205.875%202.07676%205.875%202.07678C5.875%202.0768%205.875%202.07681%205.875%202.07683C5.875%202.07685%205.875%202.07686%205.875%202.07688C5.875%202.0769%205.875%202.07691%205.875%202.07693C5.875%202.07695%205.875%202.07696%205.875%202.07698C5.875%202.077%205.875%202.07701%205.875%202.07703C5.875%202.07705%205.875%202.07706%205.875%202.07708C5.875%202.0771%205.875%202.07711%205.875%202.07713C5.875%202.07715%205.875%202.07716%205.875%202.07718C5.875%202.0772%205.875%202.07721%205.875%202.07723C5.875%202.07725%205.875%202.07726%205.875%202.07728C5.875%202.0773%205.875%202.07731%205.875%202.07733C5.875%202.07735%205.875%202.07737%205.875%202.07738C5.875%202.0774%205.875%202.07742%205.875%202.07743C5.875%202.07745%205.875%202.07747%205.875%202.07748C5.875%202.0775%205.875%202.07752%205.875%202.07753C5.875%202.07755%205.875%202.07757%205.875%202.07758C5.875%202.0776%205.875%202.07762%205.875%202.07763C5.875%202.07765%205.875%202.07767%205.875%202.07768C5.875%202.0777%205.875%202.07772%205.875%202.07773C5.875%202.07775%205.875%202.07777%205.875%202.07778C5.875%202.0778%205.875%202.07782%205.875%202.07783C5.875%202.07785%205.875%202.07787%205.875%202.07788C5.875%202.0779%205.875%202.07792%205.875%202.07793C5.875%202.07795%205.875%202.07797%205.875%202.07799C5.875%202.078%205.875%202.07802%205.875%202.07804C5.875%202.07805%205.875%202.07807%205.875%202.07809C5.875%202.0781%205.875%202.07812%205.875%202.07814C5.875%202.07815%205.875%202.07817%205.875%202.07819C5.875%202.0782%205.875%202.07822%205.875%202.07824C5.875%202.07825%205.875%202.07827%205.875%202.07829C5.875%202.0783%205.875%202.07832%205.875%202.07834C5.875%202.07835%205.875%202.07837%205.875%202.07839C5.875%202.0784%205.875%202.07842%205.875%202.07844C5.875%202.07845%205.875%202.07847%205.875%202.07849C5.875%202.0785%205.875%202.07852%205.875%202.07854C5.875%202.07855%205.875%202.07857%205.875%202.07859C5.875%202.07861%205.875%202.07862%205.875%202.07864C5.875%202.07866%205.875%202.07867%205.875%202.07869C5.875%202.07871%205.875%202.07872%205.875%202.07874C5.875%202.07876%205.875%202.07877%205.875%202.07879C5.875%202.07881%205.875%202.07882%205.875%202.07884C5.875%202.07886%205.875%202.07887%205.875%202.07889C5.875%202.07891%205.875%202.07892%205.875%202.07894C5.875%202.07896%205.875%202.07897%205.875%202.07899C5.875%202.07901%205.875%202.07902%205.875%202.07904C5.875%202.07906%205.875%202.07907%205.875%202.07909C5.875%202.07911%205.875%202.07912%205.875%202.07914C5.875%202.07916%205.875%202.07917%205.875%202.07919C5.875%202.07921%205.875%202.07922%205.875%202.07924C5.875%202.07926%205.875%202.07928%205.875%202.07929C5.875%202.07931%205.875%202.07933%205.875%202.07934C5.875%202.07936%205.875%202.07938%205.875%202.07939C5.875%202.07941%205.875%202.07943%205.875%202.07944C5.875%202.07946%205.875%202.07948%205.875%202.07949C5.875%202.07951%205.875%202.07953%205.875%202.07954C5.875%202.07956%205.875%202.07958%205.875%202.07959C5.875%202.07961%205.875%202.07963%205.875%202.07964C5.875%202.07966%205.875%202.07968%205.875%202.07969C5.875%202.07971%205.875%202.07973%205.875%202.07974C5.875%202.07976%205.875%202.07978%205.875%202.07979C5.875%202.07981%205.875%202.07983%205.875%202.07985C5.875%202.07986%205.875%202.07988%205.875%202.0799C5.875%202.07991%205.875%202.07993%205.875%202.07995C5.875%202.07996%205.875%202.07998%205.875%202.08C5.875%202.08001%205.875%202.08003%205.875%202.08005C5.875%202.08006%205.875%202.08008%205.875%202.0801C5.875%202.08011%205.875%202.08013%205.875%202.08015C5.875%202.08016%205.875%202.08018%205.875%202.0802C5.875%202.08021%205.875%202.08023%205.875%202.08025C5.875%202.08026%205.875%202.08028%205.875%202.0803C5.875%202.08031%205.875%202.08033%205.875%202.08035C5.875%202.08036%205.875%202.08038%205.875%202.0804C5.875%202.08041%205.875%202.08043%205.875%202.08045C5.875%202.08047%205.875%202.08048%205.875%202.0805C5.875%202.08052%205.875%202.08053%205.875%202.08055C5.875%202.08057%205.875%202.08058%205.875%202.0806C5.875%202.08062%205.875%202.08063%205.875%202.08065C5.875%202.08067%205.875%202.08068%205.875%202.0807C5.875%202.08072%205.875%202.08073%205.875%202.08075C5.875%202.08077%205.875%202.08078%205.875%202.0808C5.875%202.08082%205.875%202.08083%205.875%202.08085C5.875%202.08087%205.875%202.08088%205.875%202.0809C5.875%202.08092%205.875%202.08093%205.875%202.08095C5.875%202.08097%205.875%202.08098%205.875%202.081C5.875%202.08102%205.875%202.08104%205.875%202.08105C5.875%202.08107%205.875%202.08109%205.875%202.0811C5.875%202.08112%205.875%202.08114%205.875%202.08115C5.875%202.08117%205.875%202.08119%205.875%202.0812C5.875%202.08122%205.875%202.08124%205.875%202.08125C5.875%202.08127%205.875%202.08129%205.875%202.0813C5.875%202.08132%205.875%202.08134%205.875%202.08135C5.875%202.08137%205.875%202.08139%205.875%202.0814C5.875%202.08142%205.875%202.08144%205.875%202.08145C5.875%202.08147%205.875%202.08149%205.875%202.0815C5.875%202.08152%205.875%202.08154%205.875%202.08155C5.875%202.08157%205.875%202.08159%205.875%202.08161C5.875%202.08162%205.875%202.08164%205.875%202.08166C5.875%202.08167%205.875%202.08169%205.875%202.08171C5.875%202.08172%205.875%202.08174%205.875%202.08176C5.875%202.08177%205.875%202.08179%205.875%202.08181C5.875%202.08182%205.875%202.08184%205.875%202.08186C5.875%202.08187%205.875%202.08189%205.875%202.08191C5.875%202.08192%205.875%202.08194%205.875%202.08196C5.875%202.08197%205.875%202.08199%205.875%202.08201C5.875%202.08202%205.875%202.08204%205.875%202.08206C5.875%202.08207%205.875%202.08209%205.875%202.08211C5.875%202.08212%205.875%202.08214%205.875%202.08216C5.875%202.08218%205.875%202.08219%205.875%202.08221C5.875%202.08223%205.875%202.08224%205.875%202.08226C5.875%202.08228%205.875%202.08229%205.875%202.08231C5.875%202.08233%205.875%202.08234%205.875%202.08236C5.875%202.08238%205.875%202.08239%205.875%202.08241C5.875%202.08243%205.875%202.08244%205.875%202.08246C5.875%202.08248%205.875%202.08249%205.875%202.08251C5.875%202.08253%205.875%202.08254%205.875%202.08256C5.875%202.08258%205.875%202.08259%205.875%202.08261C5.875%202.08263%205.875%202.08264%205.875%202.08266C5.875%202.08268%205.875%202.08269%205.875%202.08271C5.875%202.08273%205.875%202.08275%205.875%202.08276C5.875%202.08278%205.875%202.0828%205.875%202.08281C5.875%202.08283%205.875%202.08285%205.875%202.08286C5.875%202.08288%205.875%202.0829%205.875%202.08291C5.875%202.08293%205.875%202.08295%205.875%202.08296C5.875%202.08298%205.875%202.083%205.875%202.08301C5.875%202.08303%205.875%202.08305%205.875%202.08306C5.875%202.08308%205.875%202.0831%205.875%202.08311C5.875%202.08313%205.875%202.08315%205.875%202.08316C5.875%202.08318%205.875%202.0832%205.875%202.08321C5.875%202.08323%205.875%202.08325%205.875%202.08327C5.875%202.08328%205.875%202.0833%205.875%202.08332C5.875%202.08333%205.875%202.08335%205.875%202.08337C5.875%202.08338%205.875%202.0834%205.875%202.08342C5.875%202.08343%205.875%202.08345%205.875%202.08347C5.875%202.08348%205.875%202.0835%205.875%202.08352C5.875%202.08353%205.875%202.08355%205.875%202.08357C5.875%202.08358%205.875%202.0836%205.875%202.08362C5.875%202.08363%205.875%202.08365%205.875%202.08367C5.875%202.08368%205.875%202.0837%205.875%202.08372C5.875%202.08373%205.875%202.08375%205.875%202.08377C5.875%202.08378%205.875%202.0838%205.875%202.08382C5.875%202.08384%205.875%202.08385%205.875%202.08387C5.875%202.08389%205.875%202.0839%205.875%202.08392C5.875%202.08394%205.875%202.08395%205.875%202.08397C5.875%202.08399%205.875%202.084%205.875%202.08402C5.875%202.08404%205.875%202.08405%205.875%202.08407C5.875%202.08409%205.875%202.0841%205.875%202.08412C5.875%202.08414%205.875%202.08415%205.875%202.08417C5.875%202.08419%205.875%202.0842%205.875%202.08422C5.875%202.08424%205.875%202.08425%205.875%202.08427C5.875%202.08429%205.875%202.0843%205.875%202.08432C5.875%202.08434%205.875%202.08436%205.875%202.08437C5.875%202.08439%205.875%202.08441%205.875%202.08442C5.875%202.08444%205.875%202.08446%205.875%202.08447C5.875%202.08449%205.875%202.08451%205.875%202.08452C5.875%202.08454%205.875%202.08456%205.875%202.08457C5.875%202.08459%205.875%202.08461%205.875%202.08462C5.875%202.08464%205.875%202.08466%205.875%202.08467C5.875%202.08469%205.875%202.08471%205.875%202.08472C5.875%202.08474%205.875%202.08476%205.875%202.08477C5.875%202.08479%205.875%202.08481%205.875%202.08482C5.875%202.08484%205.875%202.08486%205.875%202.08488C5.875%202.08489%205.875%202.08491%205.875%202.08493C5.875%202.08494%205.875%202.08496%205.875%202.08498C5.875%202.08499%205.875%202.08501%205.875%202.08503C5.875%202.08504%205.875%202.08506%205.875%202.08508C5.875%202.08509%205.875%202.08511%205.875%202.08513C5.875%202.08514%205.875%202.08516%205.875%202.08518C5.875%202.08519%205.875%202.08521%205.875%202.08523C5.875%202.08524%205.875%202.08526%205.875%202.08528C5.875%202.08529%205.875%202.08531%205.875%202.08533C5.875%202.08534%205.875%202.08536%205.875%202.08538C5.875%202.0854%205.875%202.08541%205.875%202.08543C5.875%202.08545%205.875%202.08546%205.875%202.08548C5.875%202.0855%205.875%202.08551%205.875%202.08553C5.875%202.08555%205.875%202.08556%205.875%202.08558C5.875%202.0856%205.875%202.08561%205.875%202.08563C5.875%202.08565%205.875%202.08566%205.875%202.08568C5.875%202.0857%205.875%202.08571%205.875%202.08573C5.875%202.08575%205.875%202.08576%205.875%202.08578C5.875%202.0858%205.875%202.08581%205.875%202.08583C5.875%202.08585%205.875%202.08586%205.875%202.08588C5.875%202.0859%205.875%202.08592%205.875%202.08593C5.875%202.08595%205.875%202.08597%205.875%202.08598C5.875%202.086%205.875%202.08602%205.875%202.08603C5.875%202.08605%205.875%202.08607%205.875%202.08608C5.875%202.0861%205.875%202.08612%205.875%202.08613C5.875%202.08615%205.875%202.08617%205.875%202.08618C5.875%202.0862%205.875%202.08622%205.875%202.08623C5.875%202.08625%205.875%202.08627%205.875%202.08628C5.875%202.0863%205.875%202.08632%205.875%202.08633C5.875%202.08635%205.875%202.08637%205.875%202.08639C5.875%202.0864%205.875%202.08642%205.875%202.08644C5.875%202.08645%205.875%202.08647%205.875%202.08649C5.875%202.0865%205.875%202.08652%205.875%202.08654C5.875%202.08655%205.875%202.08657%205.875%202.08659C5.875%202.0866%205.875%202.08662%205.875%202.08664C5.875%202.08665%205.875%202.08667%205.875%202.08669C5.875%202.0867%205.875%202.08672%205.875%202.08674C5.875%202.08675%205.875%202.08677%205.875%202.08679C5.875%202.0868%205.875%202.08682%205.875%202.08684C5.875%202.08685%205.875%202.08687%205.875%202.08689C5.875%202.08691%205.875%202.08692%205.875%202.08694C5.875%202.08696%205.875%202.08697%205.875%202.08699C5.875%202.08701%205.875%202.08702%205.875%202.08704C5.875%202.08706%205.875%202.08707%205.875%202.08709C5.875%202.08711%205.875%202.08712%205.875%202.08714C5.875%202.08716%205.875%202.08717%205.875%202.08719C5.875%202.08721%205.875%202.08722%205.875%202.08724C5.875%202.08726%205.875%202.08727%205.875%202.08729C5.875%202.08731%205.875%202.08732%205.875%202.08734C5.875%202.08736%205.875%202.08738%205.875%202.08739C5.875%202.08741%205.875%202.08743%205.875%202.08744C5.875%202.08746%205.875%202.08748%205.875%202.08749C5.875%202.08751%205.875%202.08753%205.875%202.08754C5.875%202.08756%205.875%202.08758%205.875%202.08759C5.875%202.08761%205.875%202.08763%205.875%202.08764C5.875%202.08766%205.875%202.08768%205.875%202.08769C5.875%202.08771%205.875%202.08773%205.875%202.08774C5.875%202.08776%205.875%202.08778%205.875%202.08779C5.875%202.08781%205.875%202.08783%205.875%202.08784C5.875%202.08786%205.875%202.08788%205.875%202.0879C5.875%202.08791%205.875%202.08793%205.875%202.08795C5.875%202.08796%205.875%202.08798%205.875%202.088C5.875%202.08801%205.875%202.08803%205.875%202.08805C5.875%202.08806%205.875%202.08808%205.875%202.0881C5.875%202.08811%205.875%202.08813%205.875%202.08815C5.875%202.08816%205.875%202.08818%205.875%202.0882C5.875%202.08821%205.875%202.08823%205.875%202.08825C5.875%202.08826%205.875%202.08828%205.875%202.0883C5.875%202.08832%205.875%202.08833%205.875%202.08835C5.875%202.08837%205.875%202.08838%205.875%202.0884C5.875%202.08842%205.875%202.08843%205.875%202.08845C5.875%202.08847%205.875%202.08848%205.875%202.0885C5.875%202.08852%205.875%202.08853%205.875%202.08855C5.875%202.08857%205.875%202.08858%205.875%202.0886C5.875%202.08862%205.875%202.08863%205.875%202.08865C5.875%202.08867%205.875%202.08868%205.875%202.0887C5.875%202.08872%205.875%202.08873%205.875%202.08875C5.875%202.08877%205.875%202.08878%205.875%202.0888C5.875%202.08882%205.875%202.08884%205.875%202.08885C5.875%202.08887%205.875%202.08889%205.875%202.0889C5.875%202.08892%205.875%202.08894%205.875%202.08895C5.875%202.08897%205.875%202.08899%205.875%202.089C5.875%202.08902%205.875%202.08904%205.875%202.08905C5.875%202.08907%205.875%202.08909%205.875%202.0891C5.875%202.08912%205.875%202.08914%205.875%202.08915C5.875%202.08917%205.875%202.08919%205.875%202.0892C5.875%202.08922%205.875%202.08924%205.875%202.08925C5.875%202.08927%205.875%202.08929%205.875%202.08931C5.875%202.08932%205.875%202.08934%205.875%202.08936C5.875%202.08937%205.875%202.08939%205.875%202.08941C5.875%202.08942%205.875%202.08944%205.875%202.08946C5.875%202.08947%205.875%202.08949%205.875%202.08951C5.875%202.08952%205.875%202.08954%205.875%202.08956C5.875%202.08957%205.875%202.08959%205.875%202.08961C5.875%202.08962%205.875%202.08964%205.875%202.08966C5.875%202.08967%205.875%202.08969%205.875%202.08971C5.875%202.08973%205.875%202.08974%205.875%202.08976C5.875%202.08978%205.875%202.08979%205.875%202.08981C5.875%202.08983%205.875%202.08984%205.875%202.08986C5.875%202.08988%205.875%202.08989%205.875%202.08991C5.875%202.08993%205.875%202.08994%205.875%202.08996C5.875%202.08998%205.875%202.08999%205.875%202.09001C5.875%202.09003%205.875%202.09004%205.875%202.09006C5.875%202.09008%205.875%202.09009%205.875%202.09011C5.875%202.09013%205.875%202.09014%205.875%202.09016C5.875%202.09018%205.875%202.0902%205.875%202.09021C5.875%202.09023%205.875%202.09025%205.875%202.09026C5.875%202.09028%205.875%202.0903%205.875%202.09031C5.875%202.09033%205.875%202.09035%205.875%202.09036C5.875%202.09038%205.875%202.0904%205.875%202.09041C5.875%202.09043%205.875%202.09045%205.875%202.09046C5.875%202.09048%205.875%202.0905%205.875%202.09051C5.875%202.09053%205.875%202.09055%205.875%202.09056C5.875%202.09058%205.875%202.0906%205.875%202.09062C5.875%202.09063%205.875%202.09065%205.875%202.09067C5.875%202.09068%205.875%202.0907%205.875%202.09072C5.875%202.09073%205.875%202.09075%205.875%202.09077C5.875%202.09078%205.875%202.0908%205.875%202.09082C5.875%202.09083%205.875%202.09085%205.875%202.09087C5.875%202.09088%205.875%202.0909%205.875%202.09092C5.875%202.09093%205.875%202.09095%205.875%202.09097C5.875%202.09098%205.875%202.091%205.875%202.09102C5.875%202.09103%205.875%202.09105%205.875%202.09107C5.875%202.09109%205.875%202.0911%205.875%202.09112C5.875%202.09114%205.875%202.09115%205.875%202.09117C5.875%202.09119%205.875%202.0912%205.875%202.09122C5.875%202.09124%205.875%202.09125%205.875%202.09127C5.875%202.09129%205.875%202.0913%205.875%202.09132C5.875%202.09134%205.875%202.09135%205.875%202.09137C5.875%202.09139%205.875%202.0914%205.875%202.09142C5.875%202.09144%205.875%202.09145%205.875%202.09147C5.875%202.09149%205.875%202.09151%205.875%202.09152C5.875%202.09154%205.875%202.09156%205.875%202.09157C5.875%202.09159%205.875%202.09161%205.875%202.09162C5.875%202.09164%205.875%202.09166%205.875%202.09167C5.875%202.09169%205.875%202.09171%205.875%202.09172C5.875%202.09174%205.875%202.09176%205.875%202.09177C5.875%202.09179%205.875%202.09181%205.875%202.09182C5.875%202.09184%205.875%202.09186%205.875%202.09187C5.875%202.09189%205.875%202.09191%205.875%202.09192C5.875%202.09194%205.875%202.09196%205.875%202.09198C5.875%202.09199%205.875%202.09201%205.875%202.09203C5.875%202.09204%205.875%202.09206%205.875%202.09208C5.875%202.09209%205.875%202.09211%205.875%202.09213C5.875%202.09214%205.875%202.09216%205.875%202.09218C5.875%202.09219%205.875%202.09221%205.875%202.09223C5.875%202.09224%205.875%202.09226%205.875%202.09228C5.875%202.09229%205.875%202.09231%205.875%202.09233C5.875%202.09234%205.875%202.09236%205.875%202.09238C5.875%202.0924%205.875%202.09241%205.875%202.09243C5.875%202.09245%205.875%202.09246%205.875%202.09248C5.875%202.0925%205.875%202.09251%205.875%202.09253C5.875%202.09255%205.875%202.09256%205.875%202.09258C5.875%202.0926%205.875%202.09261%205.875%202.09263C5.875%202.09265%205.875%202.09266%205.875%202.09268C5.875%202.0927%205.875%202.09271%205.875%202.09273C5.875%202.09275%205.875%202.09276%205.875%202.09278C5.875%202.0928%205.875%202.09282%205.875%202.09283C5.875%202.09285%205.875%202.09287%205.875%202.09288C5.875%202.0929%205.875%202.09292%205.875%202.09293C5.875%202.09295%205.875%202.09297%205.875%202.09298C5.875%202.093%205.875%202.09302%205.875%202.09303C5.875%202.09305%205.875%202.09307%205.875%202.09308C5.875%202.0931%205.875%202.09312%205.875%202.09313C5.875%202.09315%205.875%202.09317%205.875%202.09318C5.875%202.0932%205.875%202.09322%205.875%202.09324C5.875%202.09325%205.875%202.09327%205.875%202.09329C5.875%202.0933%205.875%202.09332%205.875%202.09334C5.875%202.09335%205.875%202.09337%205.875%202.09339C5.875%202.0934%205.875%202.09342%205.875%202.09344C5.875%202.09345%205.875%202.09347%205.875%202.09349C5.875%202.0935%205.875%202.09352%205.875%202.09354C5.875%202.09355%205.875%202.09357%205.875%202.09359C5.875%202.0936%205.875%202.09362%205.875%202.09364C5.875%202.09366%205.875%202.09367%205.875%202.09369C5.875%202.09371%205.875%202.09372%205.875%202.09374C5.875%202.09376%205.875%202.09377%205.875%202.09379C5.875%202.09381%205.875%202.09382%205.875%202.09384C5.875%202.09386%205.875%202.09387%205.875%202.09389C5.875%202.09391%205.875%202.09392%205.875%202.09394C5.875%202.09396%205.875%202.09397%205.875%202.09399C5.875%202.09401%205.875%202.09402%205.875%202.09404C5.875%202.09406%205.875%202.09408%205.875%202.09409C5.875%202.09411%205.875%202.09413%205.875%202.09414C5.875%202.09416%205.875%202.09418%205.875%202.09419C5.875%202.09421%205.875%202.09423%205.875%202.09424C5.875%202.09426%205.875%202.09428%205.875%202.09429C5.875%202.09431%205.875%202.09433%205.875%202.09434C5.875%202.09436%205.875%202.09438%205.875%202.09439C5.875%202.09441%205.875%202.09443%205.875%202.09444C5.875%202.09446%205.875%202.09448%205.875%202.0945C5.875%202.09451%205.875%202.09453%205.875%202.09455C5.875%202.09456%205.875%202.09458%205.875%202.0946C5.875%202.09461%205.875%202.09463%205.875%202.09465C5.875%202.09466%205.875%202.09468%205.875%202.0947C5.875%202.09471%205.875%202.09473%205.875%202.09475C5.875%202.09476%205.875%202.09478%205.875%202.0948C5.875%202.09481%205.875%202.09483%205.875%202.09485C5.875%202.09486%205.875%202.09488%205.875%202.0949C5.875%202.09492%205.875%202.09493%205.875%202.09495C5.875%202.09497%205.875%202.09498%205.875%202.095C5.875%202.09502%205.875%202.09503%205.875%202.09505C5.875%202.09507%205.875%202.09508%205.875%202.0951C5.875%202.09512%205.875%202.09513%205.875%202.09515C5.875%202.09517%205.875%202.09518%205.875%202.0952C5.875%202.09522%205.875%202.09523%205.875%202.09525C5.875%202.09527%205.875%202.09529%205.875%202.0953C5.875%202.09532%205.875%202.09534%205.875%202.09535C5.875%202.09537%205.875%202.09539%205.875%202.0954C5.875%202.09542%205.875%202.09544%205.875%202.09545H6.875ZM6.875%202.0697L7.875%202.06946C7.87494%201.82949%207.87728%201.71171%207.88686%201.64542L6.89715%201.50233L5.90744%201.35925C5.87262%201.60007%205.87496%201.88251%205.875%202.06993L6.875%202.0697ZM6.89715%201.50233L7.88686%201.64541C7.8908%201.61814%207.89096%201.64443%207.86608%201.69195C7.85169%201.71945%207.8274%201.75713%207.78892%201.79571C7.74911%201.83563%207.70295%201.86754%207.65577%201.88908L7.2404%200.979433L6.82503%200.069782C6.06884%200.415081%205.93812%201.14702%205.90744%201.35926L6.89715%201.50233ZM7.2404%200.979433L7.65577%201.88908C7.6086%201.91062%207.55426%201.9246%207.49803%201.92854C7.44368%201.93235%207.3993%201.92604%207.36909%201.9189C7.31688%201.90658%207.2971%201.88924%207.32021%201.90407L7.86035%201.0625L8.40049%200.220926C8.2199%200.105018%207.58119%20-0.275504%206.82503%200.069782L7.2404%200.979433ZM7.86035%201.0625L7.32035%201.90417C7.37667%201.9403%207.46704%202.01557%207.6485%202.1729L8.3036%201.41736L8.9587%200.661812C8.81726%200.539179%208.60523%200.35228%208.40034%200.22083L7.86035%201.0625ZM7.6265%201.82502L6.98536%202.59244C7.03353%202.63268%207.09418%202.68494%207.17674%202.75652L7.83185%202.00099L8.48696%201.24546C8.40542%201.17476%208.33177%201.11117%208.26764%201.05759L7.6265%201.82502ZM7.83185%202.00099L7.17692%202.75669L8.35557%203.77817L9.0105%203.02248L9.66543%202.26679L8.48678%201.2453L7.83185%202.00099ZM9.0105%203.02248L8.35557%203.77816C8.79334%204.15757%209.00793%204.34786%209.13204%204.49034L9.8861%203.83354L10.6402%203.17673C10.4015%202.9027%2010.0562%202.60542%209.66543%202.26679L9.0105%203.02248ZM9.8861%203.83354L9.13207%204.49037C9.18382%204.54979%209.17363%204.55034%209.15157%204.50313C9.13906%204.47636%209.12424%204.43754%209.11331%204.38837C9.10217%204.33823%209.0981%204.29095%209.0981%204.25047H10.0981H11.0981C11.0981%203.80905%2010.8917%203.46555%2010.6401%203.1767L9.8861%203.83354ZM10.0981%204.25047H9.0981C9.0981%204.21%209.10217%204.16272%209.11331%204.11259C9.12424%204.06341%209.13906%204.02459%209.15157%203.99782C9.17363%203.9506%209.18383%203.95115%209.13207%204.01056L9.8861%204.66741L10.6401%205.32425C10.8917%205.0354%2011.0981%204.6919%2011.0981%204.25047H10.0981ZM9.8861%204.66741L9.13204%204.0106C9.00793%204.15309%208.79335%204.34335%208.35553%204.72283L9.0105%205.47849L9.66546%206.23415C10.0562%205.89552%2010.4015%205.59824%2010.6402%205.32421L9.8861%204.66741ZM9.0105%205.47849L8.35559%204.72278L7.17694%205.74423L7.83185%206.49994L8.48676%207.25564L9.66541%206.23419L9.0105%205.47849ZM7.83185%206.49994L7.17671%205.74443C7.09397%205.81618%207.03348%205.86832%206.98544%205.90845L7.6265%206.67594L8.26756%207.44343C8.33182%207.38976%208.40563%207.326%208.48699%207.25545L7.83185%206.49994ZM7.6265%206.67594L8.62634%206.65817C8.62522%206.59518%208.625%206.51504%208.625%206.40549H7.625H6.625C6.625%206.51324%206.62518%206.61039%206.62666%206.69371L7.6265%206.67594ZM7.625%206.40549H8.625V5.64334H7.625H6.625V6.40549H7.625ZM7.625%205.64334H8.625C8.625%204.88395%208.00938%204.26834%207.25%204.26834V5.26834V6.26834C6.90481%206.26834%206.625%205.98852%206.625%205.64334H7.625ZM7.25%205.26834V4.26834C6.29922%204.26834%205.31602%204.48646%204.45679%204.89471L4.88595%205.79794L5.31511%206.70117C5.90178%206.42242%206.59128%206.26834%207.25%206.26834V5.26834ZM4.88595%205.79794L4.45684%204.89469C4.05567%205.08527%203.66634%205.32466%203.31519%205.61621L3.95399%206.38559L4.59279%207.15496C4.80037%206.98261%205.04498%206.8295%205.31507%206.70119L4.88595%205.79794ZM3.95399%206.38559L4.94262%206.53593C5.08423%205.60472%205.4221%205.08821%205.74004%204.79162L5.0579%204.06039L4.37576%203.32917C3.68757%203.97117%203.16574%204.91755%202.96536%206.23525L3.95399%206.38559ZM5.0579%204.06039L5.74005%204.7916C6.17103%204.38954%206.74088%204.23262%207.25%204.23262V3.23262V2.23262C6.37012%202.23262%205.26557%202.49907%204.37575%203.32918L5.0579%204.06039ZM7.25%203.23262V4.23262C8.00938%204.23262%208.625%203.61702%208.625%202.85762H7.625H6.625C6.625%202.51243%206.90482%202.23262%207.25%202.23262V3.23262ZM7.625%202.85762H8.625V2.09545H7.625H6.625V2.85762H7.625ZM7.625%202.09545H8.625C8.625%201.98593%208.62522%201.90578%208.62634%201.84279L7.6265%201.82502L6.62666%201.80725C6.62518%201.89057%206.625%201.98773%206.625%202.09545H7.625Z'%20fill='white'%20mask='url(%23path-3-inside-2_27625_162385)'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_27625_162385'%3e%3crect%20width='12'%20height='12'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},Ho="0 0 0 2px rgba(233, 79, 28, 0.28), 0 0 4px 2px rgba(233, 79, 28, 0.18)",z0=Ho,Us="inset 0 0 0 2px rgba(233, 79, 28, 0.35)",xt=()=>({"&:focus-visible, &.Mui-focusVisible":{outline:"none",boxShadow:z0}}),Gs=()=>({outline:"none",boxShadow:Us}),ac=(e,t)=>({[`${t}:focus-visible, ${t}.Mui-focusVisible`]:{outline:"none",boxShadow:z0}}),H0={MuiButtonBase:{styleOverrides:{root:{"&.Mui-focusVisible":{outline:"none",boxShadow:z0}}}}},wt=e=>t=>{(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),e(t))},Ip={light:O.createTheme({mode:"light",palette:{primary:{appBackground:"#FFFFFF",main:"#f5f7fa",notifyBackground:"#F8FAFB",notifyTextColor:"#525252",notifyActiveText:"#282A2A",notifyBorderColor:"#D0D4DA",notifyTooltipBackground:"#07080B",notifyButtonBackground:"#E6EAEC",notifyActiveBorderColor:"#1D1D1D",notifyIconColor:"#666D80"},brandColor:{blue:"#0166FF",lightBlue:"#0582CA",orange:"#E94F1C",lightOrange:"#ff9a78",grey1:"#595959",red:"#E85353",main:"#FF6D33",grey3:"#898A93",paginationBc:"#EDEDED",white:"#FFFFFF",grey:"#2D2D2F"}},typography:{fontFamily:"Euclid Circular Regular, sans-serif",fontSize:12,fontWeightMedium:"bold",fontWeightRegular:"lighter"},components:{MuiDrawer:{defaultProps:{disableRipple:!0}},...H0},icons:{close:Te.CrossLight,filter:Te.FilterLight}}),dark:O.createTheme({mode:"dark",palette:{primary:{appBackground:"#101010",main:"#f5f7fa",notifyBackground:"#1D1D1D",notifyTextColor:"#A8A8A8",notifyActiveText:"#FFFFFF",notifyBorderColor:"#313133",notifyTooltipBackground:"#07080B",notifyButtonBackground:"#2C2C2F",notifyActiveBorderColor:"#FFFFFF",notifyIconColor:"#909090"},brandColor:{blue:"#0166FF",lightBlue:"#0582CA",orange:"#E94F1C",lightOrange:"#ff9a78",grey1:"#595959",main:"#FF6D33",red:"#E85353",grey3:"#898A93",paginationBc:"#1D1D1F",white:"#FFFFFF"}},typography:{fontFamily:"Euclid Circular Regular, sans-serif",fontSize:12,fontWeightMedium:"bold",fontWeightRegular:"lighter"},components:{MuiDrawer:{defaultProps:{disableRipple:!0}},...H0},icons:{close:Te.Cross,filter:Te.Filter}})};function At({children:e}){const t=JSON.parse(localStorage.getItem("settings"))?.platform?.theme||"light",[n,r]=p.useState(t);p.useEffect(()=>{const a=l=>{r(l?.detail)};return window.addEventListener(Hs.THEME,a),()=>{window.removeEventListener(Hs.THEME,a)}},[]);const s=O.useTheme()?.palette?.primary?.main,i=p.useMemo(()=>{const a=Ip[n];return s?{...a,palette:{...a.palette,primary:{...a.palette.primary,main:s}}}:a},[n,s]);return f.jsx(O.ThemeProvider,{theme:i,children:e})}const U0=p.createContext({});function ir(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}const G0=typeof window<"u"?p.useLayoutEffect:p.useEffect,Ys=p.createContext(null);function Y0(e,t){e.indexOf(t)===-1&&e.push(t)}function qs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Pp([...e],t,n){const r=t<0?e.length+t:t;if(r>=0&&r<e.length){const o=n<0?e.length+n:n,[s]=e.splice(t,1);e.splice(o,0,s)}return e}const An=(e,t,n)=>n>t?t:n<e?e:n;function q0(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Jr=()=>{},Cn=()=>{};typeof process<"u"&&process.env?.NODE_ENV!=="production"&&(Jr=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(q0(t,n))},Cn=(e,t,n)=>{if(!e)throw new Error(q0(t,n))});const ar={},lc=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),cc=e=>typeof e=="object"&&e!==null,uc=e=>/^0[^.\s]+$/u.test(e);function dc(e){let t;return()=>(t===void 0&&(t=e()),t)}const dn=e=>e,Uo=(...e)=>e.reduce((t,n)=>r=>n(t(r))),Go=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};class K0{constructor(){this.subscriptions=[]}add(t){return Y0(this.subscriptions,t),()=>qs(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let s=0;s<o;s++){const i=this.subscriptions[s];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Zt=e=>e*1e3,fn=e=>e/1e3,fc=(e,t)=>t?e*(1e3/t):0,pc=new Set;function Z0(e,t,n){e||pc.has(t)||(console.warn(q0(t,n)),pc.add(t))}const hc=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Lp=1e-7,jp=12;function Rp(e,t,n,r,o){let s,i,a=0;do i=t+(n-t)/2,s=hc(i,r,o)-e,s>0?n=i:t=i;while(Math.abs(s)>Lp&&++a<jp);return i}function Yo(e,t,n,r){if(e===t&&n===r)return dn;const o=s=>Rp(s,0,1,e,n);return s=>s===0||s===1?s:hc(o(s),t,r)}const mc=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,gc=e=>t=>1-e(1-t),yc=Yo(.33,1.53,.69,.99),X0=gc(yc),Cc=mc(X0),bc=e=>e>=1?1:(e*=2)<1?.5*X0(e):.5*(2-Math.pow(2,-10*(e-1))),J0=e=>1-Math.sin(Math.acos(e)),vc=gc(J0),xc=mc(J0),_p=Yo(.42,0,1,1),Bp=Yo(0,0,.58,1),wc=Yo(.42,0,.58,1),Np=e=>Array.isArray(e)&&typeof e[0]!="number",Sc=e=>Array.isArray(e)&&typeof e[0]=="number",kc={linear:dn,easeIn:_p,easeInOut:wc,easeOut:Bp,circIn:J0,circInOut:xc,circOut:vc,backIn:X0,backInOut:Cc,backOut:yc,anticipate:bc},$p=e=>typeof e=="string",Tc=e=>{if(Sc(e)){Cn(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,o]=e;return Yo(t,n,r,o)}else if($p(e))return Cn(kc[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),kc[e];return e},Ks=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Fp(e,t){let n=new Set,r=new Set,o=!1,s=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(u){i.has(u)&&(c.schedule(u),e()),u(a)}const c={schedule:(u,d=!1,h=!1)=>{const g=h&&o?n:r;return d&&i.add(u),g.add(u),u},cancel:u=>{r.delete(u),i.delete(u)},process:u=>{if(a=u,o){s=!0;return}o=!0;const d=n;n=r,r=d,n.forEach(l),n.clear(),o=!1,s&&(s=!1,c.process(u))}};return c}const Vp=40;function Ec(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,i=Ks.reduce((w,x)=>(w[x]=Fp(s),w),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:h,render:m,postRender:g}=i,C=()=>{const w=ar.useManualTiming,x=w?o.timestamp:performance.now();n=!1,w||(o.delta=r?1e3/60:Math.max(Math.min(x-o.timestamp,Vp),1)),o.timestamp=x,o.isProcessing=!0,a.process(o),l.process(o),c.process(o),u.process(o),d.process(o),h.process(o),m.process(o),g.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(C))},b=()=>{n=!0,r=!0,o.isProcessing||e(C)};return{schedule:Ks.reduce((w,x)=>{const T=i[x];return w[x]=(M,A=!1,I=!1)=>(n||b(),T.schedule(M,A,I)),w},{}),cancel:w=>{for(let x=0;x<Ks.length;x++)i[Ks[x]].cancel(w)},state:o,steps:i}}const{schedule:et,cancel:Yn,state:Rt,steps:Q0}=Ec(typeof requestAnimationFrame<"u"?requestAnimationFrame:dn,!0);let Zs;function Wp(){Zs=void 0}const zt={now:()=>(Zs===void 0&&zt.set(Rt.isProcessing||ar.useManualTiming?Rt.timestamp:performance.now()),Zs),set:e=>{Zs=e,queueMicrotask(Wp)}},Mc=e=>t=>typeof t=="string"&&t.startsWith(e),Oc=Mc("--"),zp=Mc("var(--"),e2=e=>zp(e)?Hp.test(e.split("/*")[0].trim()):!1,Hp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Dc(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Qr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},qo={...Qr,transform:e=>An(0,1,e)},Xs={...Qr,default:1},Ko=e=>Math.round(e*1e5)/1e5,t2=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Up(e){return e==null}const Gp=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,n2=(e,t)=>n=>!!(typeof n=="string"&&Gp.test(n)&&n.startsWith(e)||t&&!Up(n)&&Object.prototype.hasOwnProperty.call(n,t)),Ac=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,s,i,a]=r.match(t2);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},Yp=e=>An(0,255,e),r2={...Qr,transform:e=>Math.round(Yp(e))},xr={test:n2("rgb","red"),parse:Ac("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+r2.transform(e)+", "+r2.transform(t)+", "+r2.transform(n)+", "+Ko(qo.transform(r))+")"};function qp(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const o2={test:n2("#"),parse:qp,transform:xr.transform},Zo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),qn=Zo("deg"),In=Zo("%"),ye=Zo("px"),Kp=Zo("vh"),Zp=Zo("vw"),Ic={...In,parse:e=>In.parse(e)/100,transform:e=>In.transform(e*100)},eo={test:n2("hsl","hue"),parse:Ac("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+In.transform(Ko(t))+", "+In.transform(Ko(n))+", "+Ko(qo.transform(r))+")"},Et={test:e=>xr.test(e)||o2.test(e)||eo.test(e),parse:e=>xr.test(e)?xr.parse(e):eo.test(e)?eo.parse(e):o2.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?xr.transform(e):eo.transform(e),getAnimatableNone:e=>{const t=Et.parse(e);return t.alpha=0,Et.transform(t)}},Xp=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Jp(e){return isNaN(e)&&typeof e=="string"&&(e.match(t2)?.length||0)+(e.match(Xp)?.length||0)>0}const Pc="number",Lc="color",Qp="var",eh="var(",jc="${}",th=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function to(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let s=0;const a=t.replace(th,l=>(Et.test(l)?(r.color.push(s),o.push(Lc),n.push(Et.parse(l))):l.startsWith(eh)?(r.var.push(s),o.push(Qp),n.push(l)):(r.number.push(s),o.push(Pc),n.push(parseFloat(l))),++s,jc)).split(jc);return{values:n,split:a,indexes:r,types:o}}function nh(e){return to(e).values}function Rc({split:e,types:t}){const n=e.length;return r=>{let o="";for(let s=0;s<n;s++)if(o+=e[s],r[s]!==void 0){const i=t[s];i===Pc?o+=Ko(r[s]):i===Lc?o+=Et.transform(r[s]):o+=r[s]}return o}}function rh(e){return Rc(to(e))}const oh=e=>typeof e=="number"?0:Et.test(e)?Et.getAnimatableNone(e):e,sh=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:oh(e);function ih(e){const t=to(e);return Rc(t)(t.values.map((r,o)=>sh(r,t.split[o])))}const bn={test:Jp,parse:nh,createTransformer:rh,getAnimatableNone:ih};function s2(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ah({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,s=0,i=0;if(!t)o=s=i=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=s2(l,a,e+1/3),s=s2(l,a,e),i=s2(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}function Js(e,t){return n=>n>0?t:e}const tt=(e,t,n)=>e+(t-e)*n,i2=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},lh=[o2,xr,eo],ch=e=>lh.find(t=>t.test(e));function _c(e){const t=ch(e);if(Jr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===eo&&(n=ah(n)),n}const Bc=(e,t)=>{const n=_c(e),r=_c(t);if(!n||!r)return Js(e,t);const o={...n};return s=>(o.red=i2(n.red,r.red,s),o.green=i2(n.green,r.green,s),o.blue=i2(n.blue,r.blue,s),o.alpha=tt(n.alpha,r.alpha,s),xr.transform(o))},a2=new Set(["none","hidden"]);function uh(e,t){return a2.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function dh(e,t){return n=>tt(e,t,n)}function l2(e){return typeof e=="number"?dh:typeof e=="string"?e2(e)?Js:Et.test(e)?Bc:hh:Array.isArray(e)?Nc:typeof e=="object"?Et.test(e)?Bc:fh:Js}function Nc(e,t){const n=[...e],r=n.length,o=e.map((s,i)=>l2(s)(s,t[i]));return s=>{for(let i=0;i<r;i++)n[i]=o[i](s);return n}}function fh(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=l2(e[o])(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}}function ph(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const s=t.types[o],i=e.indexes[s][r[s]],a=e.values[i]??0;n[o]=a,r[s]++}return n}const hh=(e,t)=>{const n=bn.createTransformer(t),r=to(e),o=to(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?a2.has(e)&&!o.values.length||a2.has(t)&&!r.values.length?uh(e,t):Uo(Nc(ph(r,o),o.values),n):(Jr(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Js(e,t))};function $c(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?tt(e,t,n):l2(e)(e,t)}const mh=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>et.update(t,n),stop:()=>Yn(t),now:()=>Rt.isProcessing?Rt.timestamp:zt.now()}},Fc=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let s=0;s<o;s++)r+=Math.round(e(s/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Qs=2e4;function c2(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Qs;)t+=n,r=e.next(t);return t>=Qs?1/0:t}function gh(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(c2(r),Qs);return{type:"keyframes",ease:s=>r.next(o*s).value/t,duration:fn(o)}}const pt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function u2(e,t){return e*Math.sqrt(1-t*t)}const yh=12;function Ch(e,t,n){let r=n;for(let o=1;o<yh;o++)r=r-e(r)/t(r);return r}const d2=.001;function bh({duration:e=pt.duration,bounce:t=pt.bounce,velocity:n=pt.velocity,mass:r=pt.mass}){let o,s;Jr(e<=Zt(pt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=An(pt.minDamping,pt.maxDamping,i),e=An(pt.minDuration,pt.maxDuration,fn(e)),i<1?(o=c=>{const u=c*i,d=u*e,h=u-n,m=u2(c,i),g=Math.exp(-d);return d2-h/m*g},s=c=>{const d=c*i*e,h=d*n+n,m=Math.pow(i,2)*Math.pow(c,2)*e,g=Math.exp(-d),C=u2(Math.pow(c,2),i);return(-o(c)+d2>0?-1:1)*((h-m)*g)/C}):(o=c=>{const u=Math.exp(-c*e),d=(c-n)*e+1;return-d2+u*d},s=c=>{const u=Math.exp(-c*e),d=(n-c)*(e*e);return u*d});const a=5/e,l=Ch(o,s,a);if(e=Zt(e),isNaN(l))return{stiffness:pt.stiffness,damping:pt.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:i*2*Math.sqrt(r*c),duration:e}}}const vh=["duration","bounce"],xh=["stiffness","damping","mass"];function Vc(e,t){return t.some(n=>e[n]!==void 0)}function wh(e){let t={velocity:pt.velocity,stiffness:pt.stiffness,damping:pt.damping,mass:pt.mass,isResolvedFromDuration:!1,...e};if(!Vc(e,xh)&&Vc(e,vh))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,s=2*An(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:pt.mass,stiffness:o,damping:s}}else{const n=bh({...e,velocity:0});t={...t,...n,mass:pt.mass},t.isResolvedFromDuration=!0}return t}function ei(e=pt.visualDuration,t=pt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const s=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:c,mass:u,duration:d,velocity:h,isResolvedFromDuration:m}=wh({...n,velocity:-fn(n.velocity||0)}),g=h||0,C=c/(2*Math.sqrt(l*u)),b=i-s,v=fn(Math.sqrt(l/u)),k=Math.abs(b)<5;r||(r=k?pt.restSpeed.granular:pt.restSpeed.default),o||(o=k?pt.restDelta.granular:pt.restDelta.default);let w,x,T,M,A,I;if(C<1)T=u2(v,C),M=(g+C*v*b)/T,w=R=>{const W=Math.exp(-C*v*R);return i-W*(M*Math.sin(T*R)+b*Math.cos(T*R))},A=C*v*M+b*T,I=C*v*b-M*T,x=R=>Math.exp(-C*v*R)*(A*Math.sin(T*R)+I*Math.cos(T*R));else if(C===1){w=W=>i-Math.exp(-v*W)*(b+(g+v*b)*W);const R=g+v*b;x=W=>Math.exp(-v*W)*(v*R*W-g)}else{const R=v*Math.sqrt(C*C-1);w=_=>{const N=Math.exp(-C*v*_),U=Math.min(R*_,300);return i-N*((g+C*v*b)*Math.sinh(U)+R*b*Math.cosh(U))/R};const W=(g+C*v*b)/R,S=C*v*W-b*R,j=C*v*b-W*R;x=_=>{const N=Math.exp(-C*v*_),U=Math.min(R*_,300);return N*(S*Math.sinh(U)+j*Math.cosh(U))}}const P={calculatedDuration:m&&d||null,velocity:R=>Zt(x(R)),next:R=>{if(!m&&C<1){const S=Math.exp(-C*v*R),j=Math.sin(T*R),_=Math.cos(T*R),N=i-S*(M*j+b*_),U=Zt(S*(A*j+I*_));return a.done=Math.abs(U)<=r&&Math.abs(i-N)<=o,a.value=a.done?i:N,a}const W=w(R);if(m)a.done=R>=d;else{const S=Zt(x(R));a.done=Math.abs(S)<=r&&Math.abs(i-W)<=o}return a.value=a.done?i:W,a},toString:()=>{const R=Math.min(c2(P),Qs),W=Fc(S=>P.next(R*S).value,R,30);return R+"ms "+W},toTransition:()=>{}};return P}ei.applyToOptions=e=>{const t=gh(e,100,ei);return e.ease=t.ease,e.duration=Zt(t.duration),e.type="keyframes",e};const Sh=5;function Wc(e,t,n){const r=Math.max(t-Sh,0);return fc(n-e(r),t-r)}function f2({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:i,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],h={done:!1,value:d},m=I=>a!==void 0&&I<a||l!==void 0&&I>l,g=I=>a===void 0?l:l===void 0||Math.abs(a-I)<Math.abs(l-I)?a:l;let C=n*t;const b=d+C,v=i===void 0?b:i(b);v!==b&&(C=v-d);const k=I=>-C*Math.exp(-I/r),w=I=>v+k(I),x=I=>{const P=k(I),R=w(I);h.done=Math.abs(P)<=c,h.value=h.done?v:R};let T,M;const A=I=>{m(h.value)&&(T=I,M=ei({keyframes:[h.value,g(h.value)],velocity:Wc(w,I,h.value),damping:o,stiffness:s,restDelta:c,restSpeed:u}))};return A(0),{calculatedDuration:null,next:I=>{let P=!1;return!M&&T===void 0&&(P=!0,x(I),A(I)),T!==void 0&&I>=T?M.next(I-T):(!P&&x(I),h)}}}function kh(e,t,n){const r=[],o=n||ar.mix||$c,s=e.length-1;for(let i=0;i<s;i++){let a=o(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||dn:t;a=Uo(l,a)}r.push(a)}return r}function zc(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(Cn(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=kh(t,r,o),l=a.length,c=u=>{if(i&&u<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(u<e[d+1]);d++);const h=Go(e[d],e[d+1],u);return a[d](h)};return n?u=>c(An(e[0],e[s-1],u)):c}function Th(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Go(0,t,r);e.push(tt(n,1,o))}}function Eh(e){const t=[0];return Th(t,e.length-1),t}function Mh(e,t){return e.map(n=>n*t)}function Oh(e,t){return e.map(()=>t||wc).splice(0,e.length-1)}function no({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=Np(r)?r.map(Tc):Tc(r),s={done:!1,value:t[0]},i=Mh(n&&n.length===t.length?n:Eh(t),e),a=zc(i,t,{ease:Array.isArray(o)?o:Oh(t,o)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const Dh=e=>e!==null;function ti(e,{repeat:t,repeatType:n="loop"},r,o=1){const s=e.filter(Dh),a=o<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const Ah={decay:f2,inertia:f2,tween:no,keyframes:no,spring:ei};function Hc(e){typeof e.type=="string"&&(e.type=Ah[e.type])}class p2{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const Ih=e=>e/100;class ni extends p2{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==zt.now()&&this.tick(zt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Hc(t);const{type:n=no,repeat:r=0,repeatDelay:o=0,repeatType:s,velocity:i=0}=t;let{keyframes:a}=t;const l=n||no;process.env.NODE_ENV!=="production"&&l!==no&&Cn(a.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`,"spring-two-frames"),l!==no&&typeof a[0]!="number"&&(this.mixKeyframes=Uo(Ih,$c(a[0],a[1])),a=[0,100]);const c=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-i})),c.calculatedDuration===null&&(c.calculatedDuration=c2(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=c}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:o,mixKeyframes:s,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:u,repeat:d,repeatType:h,repeatDelay:m,type:g,onUpdate:C,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const v=this.currentTime-c*(this.playbackSpeed>=0?1:-1),k=this.playbackSpeed>=0?v<0:v>o;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let w=this.currentTime,x=r;if(d){const I=Math.min(this.currentTime,o)/a;let P=Math.floor(I),R=I%1;!R&&I>=1&&(R=1),R===1&&P--,P=Math.min(P,d+1),P%2&&(h==="reverse"?(R=1-R,m&&(R-=m/a)):h==="mirror"&&(x=i)),w=An(0,1,R)*a}let T;k?(this.delayState.value=u[0],T=this.delayState):T=x.next(w),s&&!k&&(T.value=s(T.value));let{done:M}=T;!k&&l!==null&&(M=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const A=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&M);return A&&g!==f2&&(T.value=ti(u,this.options,b,this.speed)),C&&C(T.value),A&&this.finish(),T}then(t,n){return this.finished.then(t,n)}get duration(){return fn(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+fn(t)}get time(){return fn(this.currentTime)}set time(t){t=Zt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return Wc(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(zt.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=fn(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=mh,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(zt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function Ph(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const wr=e=>e*180/Math.PI,h2=e=>{const t=wr(Math.atan2(e[1],e[0]));return m2(t)},Lh={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:h2,rotateZ:h2,skewX:e=>wr(Math.atan(e[1])),skewY:e=>wr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},m2=e=>(e=e%360,e<0&&(e+=360),e),Uc=h2,Gc=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Yc=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),jh={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Gc,scaleY:Yc,scale:e=>(Gc(e)+Yc(e))/2,rotateX:e=>m2(wr(Math.atan2(e[6],e[5]))),rotateY:e=>m2(wr(Math.atan2(-e[2],e[0]))),rotateZ:Uc,rotate:Uc,skewX:e=>wr(Math.atan(e[4])),skewY:e=>wr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function g2(e){return e.includes("scale")?1:0}function y2(e,t){if(!e||e==="none")return g2(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=jh,o=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Lh,o=a}if(!o)return g2(t);const s=r[t],i=o[1].split(",").map(_h);return typeof s=="function"?s(i):i[s]}const Rh=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return y2(n,t)};function _h(e){return parseFloat(e.trim())}const ro=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],oo=new Set([...ro,"pathRotation"]),qc=e=>e===Qr||e===ye,Bh=new Set(["x","y","z"]),Nh=ro.filter(e=>!Bh.has(e));function $h(e){const t=[];return Nh.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const lr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>y2(t,"x"),y:(e,{transform:t})=>y2(t,"y")};lr.translateX=lr.x,lr.translateY=lr.y;const Sr=new Set;let C2=!1,b2=!1,v2=!1;function Kc(){if(b2){const e=Array.from(Sr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=$h(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([s,i])=>{r.getValue(s)?.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}b2=!1,C2=!1,Sr.forEach(e=>e.complete(v2)),Sr.clear()}function Zc(){Sr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(b2=!0)})}function Fh(){v2=!0,Zc(),Kc(),v2=!1}class x2{constructor(t,n,r,o,s,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=s,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(Sr.add(this),C2||(C2=!0,et.read(Zc),et.resolveKeyframes(Kc))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){const s=o?.get(),i=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,i);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=i),o&&s===void 0&&o.set(t[0])}Ph(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Sr.delete(this)}cancel(){this.state==="scheduled"&&(Sr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Vh=e=>e.startsWith("--");function Xc(e,t,n){Vh(t)?e.style.setProperty(t,n):e.style[t]=n}const Wh={};function Jc(e,t){const n=dc(e);return()=>Wh[t]??n()}const zh=Jc(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Qc=Jc(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Xo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,e7={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Xo([0,.65,.55,1]),circOut:Xo([.55,0,1,.45]),backIn:Xo([.31,.01,.66,-.59]),backOut:Xo([.33,1.53,.69,.99])};function t7(e,t){if(e)return typeof e=="function"?Qc()?Fc(e,t):"ease-out":Sc(e)?Xo(e):Array.isArray(e)?e.map(n=>t7(n,t)||e7.easeOut):e7[e]}function Hh(e,t,n,{delay:r=0,duration:o=300,repeat:s=0,repeatType:i="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const d=t7(a,o);Array.isArray(d)&&(u.easing=d);const h={delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:i==="reverse"?"alternate":"normal"};return c&&(h.pseudoElement=c),e.animate(u,h)}function n7(e){return typeof e=="function"&&"applyToOptions"in e}function Uh({type:e,...t}){return n7(e)&&Qc()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class r7 extends p2{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:s,allowFlatten:i=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=i,this.options=t,Cn(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const c=Uh(t);this.animation=Hh(n,r,o,c,s),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const u=ti(o,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(u),Xc(n,r,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return fn(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+fn(t)}get time(){return fn(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Zt(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&zh()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),dn):o(this)}}const o7={anticipate:bc,backInOut:Cc,circInOut:xc};function Gh(e){return e in o7}function Yh(e){typeof e.ease=="string"&&Gh(e.ease)&&(e.ease=o7[e.ease])}const w2=10;class qh extends r7{constructor(t){Yh(t),Hc(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:o,element:s,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new ni({...i,autoplay:!1}),l=Math.max(w2,zt.now()-this.startTime),c=An(0,w2,l-w2),u=a.sample(l).value,{name:d}=this.options;s&&d&&Xc(s,d,u),n.setWithVelocity(a.sample(Math.max(0,l-c)).value,u,c),a.stop()}}const s7=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(bn.test(e)||e==="0")&&!e.startsWith("url("));function Kh(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Zh(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],i=s7(o,t),a=s7(s,t);return Jr(i===a,`You are trying to animate ${t} from "${o}" to "${s}". "${i?s:o}" is not an animatable value.`,"value-not-animatable"),!i||!a?!1:Kh(e)||(n==="spring"||n7(n))&&r}function S2(e){e.duration=0,e.type="keyframes"}const i7=new Set(["opacity","clipPath","filter","transform"]),Xh=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Jh(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&Xh.test(e[t]))return!0;return!1}const Qh=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),e6=dc(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function t6(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:s,type:i,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return e6()&&n&&(i7.has(n)||Qh.has(n)&&Jh(a))&&(n!=="transform"||!u)&&!c&&!r&&o!=="mirror"&&s!==0&&i!=="inertia"}const n6=40;class r6 extends p2{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:i="loop",keyframes:a,name:l,motionValue:c,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=zt.now();const h={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:s,repeatType:i,name:l,motionValue:c,element:u,...d},m=u?.KeyframeResolver||x2;this.keyframeResolver=new m(a,(g,C,b)=>this.onKeyframesResolved(g,C,h,!b),l,c,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,o){this.keyframeResolver=void 0;const{name:s,type:i,velocity:a,delay:l,isHandoff:c,onUpdate:u}=r;this.resolvedAt=zt.now();let d=!0;Zh(t,s,i,a)||(d=!1,(ar.instantAnimations||!l)&&u?.(ti(t,r,n)),t[0]=t[t.length-1],S2(r),r.repeat=0);const m={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>n6?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},g=d&&!c&&t6(m),C=m.motionValue?.owner?.current;let b;if(g)try{b=new qh({...m,element:C})}catch{b=new ni(m)}else b=new ni(m);b.finished.then(()=>{this.notifyFinished()}).catch(dn),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Fh()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function a7(e,t,n,r=0,o=1){const s=Array.from(e).sort((c,u)=>c.sortNodePosition(u)).indexOf(t),i=e.size,a=(i-1)*r;return typeof n=="function"?n(s,i):o===1?s*r:a-s*r}const l7=30,o6=e=>!isNaN(parseFloat(e)),Jo={current:void 0};class s6{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const o=zt.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=zt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=o6(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Z0(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new K0);const r=this.events[t].add(n);return t==="change"?()=>{r(),et.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Jo.current&&Jo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=zt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>l7)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,l7);return fc(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function kr(e,t){return new s6(e,t)}function c7(e,t){if(e?.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function k2(e,t){const n=e?.[t]??e?.default??e;return n!==e?c7(n,e):n}const i6={type:"spring",stiffness:500,damping:25,restSpeed:10},a6=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),l6={type:"keyframes",duration:.8},c6={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},u6=(e,{keyframes:t})=>t.length>2?l6:oo.has(e)?e.startsWith("scale")?a6(t[1]):i6:c6,d6=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function f6(e){for(const t in e)if(!d6.has(t))return!0;return!1}const T2=(e,t,n,r={},o,s)=>i=>{const a=k2(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Zt(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{i(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:o};f6(a)||Object.assign(u,u6(e,u)),u.duration&&(u.duration=Zt(u.duration)),u.repeatDelay&&(u.repeatDelay=Zt(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(S2(u),u.delay===0&&(d=!0)),(ar.instantAnimations||ar.skipAnimations||o?.shouldSkipAnimations||a.skipAnimations)&&(d=!0,S2(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,d&&!s&&t.get()!==void 0){const h=ti(u.keyframes,a);if(h!==void 0){et.update(()=>{u.onUpdate(h),u.onComplete()});return}}return a.isSync?new ni(u):new r6(u)},p6=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function h6(e){const t=p6.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}const m6=4;function u7(e,t,n=1){Cn(n<=m6,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,o]=h6(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const i=s.trim();return lc(i)?parseFloat(i):i}return e2(o)?u7(o,t,n+1):o}function d7(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function E2(e,t,n,r){if(typeof t=="function"){const[o,s]=d7(r);t=t(n!==void 0?n:e.custom,o,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,s]=d7(r);t=t(n!==void 0?n:e.custom,o,s)}return t}function Tr(e,t,n){const r=e.getProps();return E2(r,t,n!==void 0?n:r.custom,e)}const f7=new Set(["width","height","top","left","right","bottom",...ro]),M2=e=>Array.isArray(e);function g6(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,kr(n))}function y6(e){return M2(e)?e[e.length-1]||0:e}function C6(e,t){const n=Tr(e,t);let{transitionEnd:r={},transition:o={},...s}=n||{};s={...s,...r};for(const i in s){const a=y6(s[i]);g6(e,i,a)}}const jt=e=>!!(e&&e.getVelocity);function b6(e){return!!(jt(e)&&e.add)}function O2(e,t){const n=e.getValue("willChange");if(b6(n))return n.add(t);if(!n&&ar.WillChange){const r=new ar.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function D2(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const p7="data-"+D2("framerAppearId");function h7(e){return e.props[p7]}function v6({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function m7(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:s,transitionEnd:i,...a}=t;const l=e.getDefaultTransition();s=s?c7(s,l):l;const c=s?.reduceMotion,u=s?.skipAnimations;r&&(s=r);const d=[],h=o&&e.animationState&&e.animationState.getState()[o],m=s?.path;m&&m.animateVisualElement(e,a,s,n,d);for(const g in a){const C=e.getValue(g,e.latestValues[g]??null),b=a[g];if(b===void 0||h&&v6(h,g))continue;const v={delay:n,...k2(s||{},g)};u&&(v.skipAnimations=!0);const k=C.get();if(k!==void 0&&!C.isAnimating()&&!Array.isArray(b)&&b===k&&!v.velocity){et.update(()=>C.set(b));continue}let w=!1;if(window.MotionHandoffAnimation){const M=h7(e);if(M){const A=window.MotionHandoffAnimation(M,g,et);A!==null&&(v.startTime=A,w=!0)}}O2(e,g);const x=c??e.shouldReduceMotion;C.start(T2(g,C,b,x&&f7.has(g)?{type:!1}:v,e,w));const T=C.animation;T&&d.push(T)}if(i){const g=()=>et.update(()=>{i&&C6(e,i)});d.length?Promise.all(d).then(g):g()}return d}function A2(e,t,n={}){const r=Tr(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(m7(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:d}=o;return x6(e,t,l,c,u,d,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[l,c]=a==="beforeChildren"?[s,i]:[i,s];return l().then(()=>c())}else return Promise.all([s(),i(n.delay)])}function x6(e,t,n=0,r=0,o=0,s=1,i){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(A2(l,t,{...i,delay:n+(typeof r=="function"?0:r)+a7(e.variantChildren,l,r,o,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function w6(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>A2(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=A2(e,t,n);else{const o=typeof t=="function"?Tr(e,t,n.custom):t;r=Promise.all(m7(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const S6={test:e=>e==="auto",parse:e=>e},g7=e=>t=>t.test(e),y7=[Qr,ye,In,qn,Zp,Kp,S6],C7=e=>y7.find(g7(e));function k6(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||uc(e):!0}const T6=new Set(["brightness","contrast","saturate","opacity"]);function E6(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(t2)||[];if(!r)return e;const o=n.replace(r,"");let s=T6.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const M6=/\b([a-z-]*)\(.*?\)/gu,I2={...bn,getAnimatableNone:e=>{const t=e.match(M6);return t?t.map(E6).join(" "):e}},P2={...bn,getAnimatableNone:e=>{const t=bn.parse(e);return bn.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},b7={...Qr,transform:Math.round},ri={borderWidth:ye,borderTopWidth:ye,borderRightWidth:ye,borderBottomWidth:ye,borderLeftWidth:ye,borderRadius:ye,borderTopLeftRadius:ye,borderTopRightRadius:ye,borderBottomRightRadius:ye,borderBottomLeftRadius:ye,width:ye,maxWidth:ye,height:ye,maxHeight:ye,top:ye,right:ye,bottom:ye,left:ye,inset:ye,insetBlock:ye,insetBlockStart:ye,insetBlockEnd:ye,insetInline:ye,insetInlineStart:ye,insetInlineEnd:ye,padding:ye,paddingTop:ye,paddingRight:ye,paddingBottom:ye,paddingLeft:ye,paddingBlock:ye,paddingBlockStart:ye,paddingBlockEnd:ye,paddingInline:ye,paddingInlineStart:ye,paddingInlineEnd:ye,margin:ye,marginTop:ye,marginRight:ye,marginBottom:ye,marginLeft:ye,marginBlock:ye,marginBlockStart:ye,marginBlockEnd:ye,marginInline:ye,marginInlineStart:ye,marginInlineEnd:ye,fontSize:ye,backgroundPositionX:ye,backgroundPositionY:ye,...{rotate:qn,pathRotation:qn,rotateX:qn,rotateY:qn,rotateZ:qn,scale:Xs,scaleX:Xs,scaleY:Xs,scaleZ:Xs,skew:qn,skewX:qn,skewY:qn,distance:ye,translateX:ye,translateY:ye,translateZ:ye,x:ye,y:ye,z:ye,perspective:ye,transformPerspective:ye,opacity:qo,originX:Ic,originY:Ic,originZ:ye},zIndex:b7,fillOpacity:qo,strokeOpacity:qo,numOctaves:b7},O6={...ri,color:Et,backgroundColor:Et,outlineColor:Et,fill:Et,stroke:Et,borderColor:Et,borderTopColor:Et,borderRightColor:Et,borderBottomColor:Et,borderLeftColor:Et,filter:I2,WebkitFilter:I2,mask:P2,WebkitMask:P2},v7=e=>O6[e],D6=new Set([I2,P2]);function x7(e,t){let n=v7(e);return D6.has(n)||(n=bn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const A6=new Set(["auto","none","0"]);function I6(e,t,n){let r=0,o;for(;r<e.length&&!o;){const s=e[r];typeof s=="string"&&!A6.has(s)&&to(s).values.length&&(o=e[r]),r++}if(o&&n)for(const s of t)e[s]=x7(n,o)}class P6 extends x2{constructor(t,n,r,o,s){super(t,n,r,o,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let d=t[u];if(typeof d=="string"&&(d=d.trim(),e2(d))){const h=u7(d,n.current);h!==void 0&&(t[u]=h),u===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!f7.has(r)||t.length!==2)return;const[o,s]=t,i=C7(o),a=C7(s),l=Dc(o),c=Dc(s);if(l!==c&&lr[r]){this.needsMeasurement=!0;return}if(i!==a)if(qc(i)&&qc(a))for(let u=0;u<t.length;u++){const d=t[u];typeof d=="string"&&(t[u]=parseFloat(d))}else lr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||k6(t[o]))&&r.push(o);r.length&&I6(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=lr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const s=r.length-1,i=r[s];r[s]=lr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function w7(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const o=n?.[e]??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(r=>r!=null)}const L2=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function oi(e){return cc(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:j2}=Ec(queueMicrotask,!1),vn={x:!1,y:!1};function S7(){return vn.x||vn.y}function L6(e){return e==="x"||e==="y"?vn[e]?null:(vn[e]=!0,()=>{vn[e]=!1}):vn.x||vn.y?null:(vn.x=vn.y=!0,()=>{vn.x=vn.y=!1})}function k7(e,t){const n=w7(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function j6(e){return!(e.pointerType==="touch"||S7())}function R6(e,t,n={}){const[r,o,s]=k7(e,n);return r.forEach(i=>{let a=!1,l=!1,c;const u=()=>{i.removeEventListener("pointerleave",g)},d=b=>{c&&(c(b),c=void 0),u()},h=b=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,d(b))},m=()=>{a=!0,window.addEventListener("pointerup",h,o),window.addEventListener("pointercancel",h,o)},g=b=>{if(b.pointerType!=="touch"){if(a){l=!0;return}d(b)}},C=b=>{if(!j6(b))return;l=!1;const v=t(i,b);typeof v=="function"&&(c=v,i.addEventListener("pointerleave",g,o))};i.addEventListener("pointerenter",C,o),i.addEventListener("pointerdown",m,o)}),s}const T7=(e,t)=>t?e===t?!0:T7(e,t.parentElement):!1,R2=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,_6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function B6(e){return _6.has(e.tagName)||e.isContentEditable===!0}const N6=new Set(["INPUT","SELECT","TEXTAREA"]);function $6(e){return N6.has(e.tagName)||e.isContentEditable===!0}const si=new WeakSet;function E7(e){return t=>{t.key==="Enter"&&e(t)}}function _2(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const F6=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=E7(()=>{if(si.has(n))return;_2(n,"down");const o=E7(()=>{_2(n,"up")}),s=()=>_2(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function M7(e){return R2(e)&&!S7()}const O7=new WeakSet;function V6(e,t,n={}){const[r,o,s]=k7(e,n),i=a=>{const l=a.currentTarget;if(!M7(a)||O7.has(a))return;si.add(l),n.stopPropagation&&O7.add(a);const c=t(l,a),u=(m,g)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",h),si.has(l)&&si.delete(l),M7(m)&&typeof c=="function"&&c(m,{success:g})},d=m=>{u(m,l===window||l===document||n.useGlobalTarget||T7(l,m.target))},h=m=>{u(m,!1)};window.addEventListener("pointerup",d,o),window.addEventListener("pointercancel",h,o)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",i,o),oi(a)&&(a.addEventListener("focus",c=>F6(c,o)),!B6(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function B2(e){return cc(e)&&"ownerSVGElement"in e}const ii=new WeakMap;let ai;const D7=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:B2(r)&&"getBBox"in r?r.getBBox()[t]:r[n],W6=D7("inline","width","offsetWidth"),z6=D7("block","height","offsetHeight");function H6({target:e,borderBoxSize:t}){ii.get(e)?.forEach(n=>{n(e,{get width(){return W6(e,t)},get height(){return z6(e,t)}})})}function U6(e){e.forEach(H6)}function G6(){typeof ResizeObserver>"u"||(ai=new ResizeObserver(U6))}function Y6(e,t){ai||G6();const n=w7(e);return n.forEach(r=>{let o=ii.get(r);o||(o=new Set,ii.set(r,o)),o.add(t),ai?.observe(r)}),()=>{n.forEach(r=>{const o=ii.get(r);o?.delete(t),o?.size||ai?.unobserve(r)})}}const li=new Set;let so;function q6(){so=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};li.forEach(t=>t(e))},window.addEventListener("resize",so)}function K6(e){return li.add(e),so||q6(),()=>{li.delete(e),!li.size&&typeof so=="function"&&(window.removeEventListener("resize",so),so=void 0)}}function A7(e,t){return typeof e=="function"?K6(e):Y6(e,t)}function Z6(e){return B2(e)&&e.tagName==="svg"}function X6(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=e[1+n],s=e[2+n],i=e[3+n],a=zc(o,s,i);return t?a(r):a}const J6=[...y7,Et,bn],Q6=e=>J6.find(g7(e)),I7=()=>({translate:0,scale:1,origin:0,originPoint:0}),io=()=>({x:I7(),y:I7()}),P7=()=>({min:0,max:0}),It=()=>({x:P7(),y:P7()}),e4=new WeakMap;function ci(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Qo(e){return typeof e=="string"||Array.isArray(e)}const N2=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],$2=["initial",...N2];function ui(e){return ci(e.animate)||$2.some(t=>Qo(e[t]))}function L7(e){return!!(ui(e)||e.variants)}function t4(e,t,n){for(const r in t){const o=t[r],s=n[r];if(jt(o))e.addValue(r,o);else if(jt(s))e.addValue(r,kr(o,{owner:e}));else if(s!==o)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(o):i.hasAnimated||i.set(o)}else{const i=e.getStaticValue(r);e.addValue(r,kr(i!==void 0?i:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const F2={current:null},j7={current:!1},n4=typeof window<"u";function r4(){if(j7.current=!0,!!n4)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>F2.current=e.matches;e.addEventListener("change",t),t()}else F2.current=!1}const R7=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let di={};function _7(e){di=e}function o4(){return di}class s4{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,skipAnimations:s,blockInitialAnimation:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=x2,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=zt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,et.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=a;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!i,this.isControllingVariants=ui(n),this.isVariantNode=L7(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const m in h){const g=h[m];c[m]!==void 0&&jt(g)&&g.set(c[m])}}mount(t){if(this.hasBeenMounted)for(const n in this.initialValues)this.values.get(n)?.jump(this.initialValues[n]),this.latestValues[n]=this.initialValues[n];this.current=t,e4.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(j7.current||r4(),this.shouldReduceMotion=F2.current),process.env.NODE_ENV!=="production"&&Z0(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Yn(this.notifyUpdate),Yn(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&i7.has(t)&&this.current instanceof HTMLElement){const{factory:i,keyframes:a,times:l,ease:c,duration:u}=n.accelerate,d=new r7({element:this.current,name:t,keyframes:a,times:l,ease:c,duration:Zt(u)}),h=i(d);this.valueSubscriptions.set(t,()=>{h(),d.cancel()});return}const r=oo.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&et.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),s&&s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in di){const n=di[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):It()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<R7.length;r++){const o=R7[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s="on"+o,i=t[s];i&&(this.propEventSubscriptions[o]=this.on(o,i))}this.prevMotionValues=t4(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=kr(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(lc(r)||uc(r))?r=parseFloat(r):!Q6(r)&&bn.test(n)&&(r=x7(t,n)),this.setBaseTarget(t,jt(r)?r.get():r)),jt(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=E2(this.props,n,this.presenceContext?.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!jt(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new K0),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){j2.render(this.render)}}class B7 extends s4{constructor(){super(...arguments),this.KeyframeResolver=P6}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;jt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class cr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function N7({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function i4({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function a4(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function V2(e){return e===void 0||e===1}function W2({scale:e,scaleX:t,scaleY:n}){return!V2(e)||!V2(t)||!V2(n)}function Er(e){return W2(e)||$7(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function $7(e){return F7(e.x)||F7(e.y)}function F7(e){return e&&e!=="0%"}function fi(e,t,n){const r=e-n,o=t*r;return n+o}function V7(e,t,n,r,o){return o!==void 0&&(e=fi(e,o,r)),fi(e,n,r)+t}function z2(e,t=0,n=1,r,o){e.min=V7(e.min,t,n,r,o),e.max=V7(e.max,t,n,r,o)}function W7(e,{x:t,y:n}){z2(e.x,t.translate,t.scale,t.originPoint),z2(e.y,n.translate,n.scale,n.originPoint)}const z7=.999999999999,H7=1.0000000000001;function l4(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let s,i;for(let a=0;a<o;a++){s=n[a],i=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(Pn(e.x,-s.scroll.offset.x),Pn(e.y,-s.scroll.offset.y)),i&&(t.x*=i.x.scale,t.y*=i.y.scale,W7(e,i)),r&&Er(s.latestValues)&&pi(e,s.latestValues,s.layout?.layoutBox))}t.x<H7&&t.x>z7&&(t.x=1),t.y<H7&&t.y>z7&&(t.y=1)}function Pn(e,t){e.min+=t,e.max+=t}function U7(e,t,n,r,o=.5){const s=tt(e.min,e.max,o);z2(e,t,n,s,r)}function G7(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function pi(e,t,n){const r=n??e;U7(e.x,G7(t.x,r.x),t.scaleX,t.scale,t.originX),U7(e.y,G7(t.y,r.y),t.scaleY,t.scale,t.originY)}function Y7(e,t){return N7(a4(e.getBoundingClientRect(),t))}function c4(e,t,n){const r=Y7(e,n),{scroll:o}=t;return o&&(Pn(r.x,o.offset.x),Pn(r.y,o.offset.y)),r}const u4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},d4=ro.length;function f4(e,t,n){let r="",o=!0;for(let i=0;i<d4;i++){const a=ro[i],l=e[a];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(a.startsWith("scale")?1:0);else{const u=parseFloat(l);c=a.startsWith("scale")?u===1:u===0}if(!c||n){const u=L2(l,ri[a]);if(!c){o=!1;const d=u4[a]||a;r+=`${d}(${u}) `}n&&(t[a]=u)}}const s=e.pathRotation;return s&&(o=!1,r+=`rotate(${L2(s,ri.pathRotation)}) `),r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function H2(e,t,n){const{style:r,vars:o,transformOrigin:s}=e;let i=!1,a=!1;for(const l in t){const c=t[l];if(oo.has(l)){i=!0;continue}else if(Oc(l)){o[l]=c;continue}else{const u=L2(c,ri[l]);l.startsWith("origin")?(a=!0,s[l]=u):r[l]=u}}if(t.transform||(i||n?r.transform=f4(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:u=0}=s;r.transformOrigin=`${l} ${c} ${u}`}}function q7(e,{style:t,vars:n},r,o){const s=e.style;let i;for(i in t)s[i]=t[i];o?.applyProjectionStyles(s,r);for(i in n)s.setProperty(i,n[i])}function K7(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const es={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ye.test(e))e=parseFloat(e);else return e;const n=K7(e,t.target.x),r=K7(e,t.target.y);return`${n}% ${r}%`}},p4={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=bn.parse(e);if(o.length>5)return r;const s=bn.createTransformer(e),i=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=a,o[1+i]/=l;const c=tt(a,l,.5);return typeof o[2+i]=="number"&&(o[2+i]/=c),typeof o[3+i]=="number"&&(o[3+i]/=c),s(o)}},U2={borderRadius:{...es,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:es,borderTopRightRadius:es,borderBottomLeftRadius:es,borderBottomRightRadius:es,boxShadow:p4};function Z7(e,{layout:t,layoutId:n}){return oo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!U2[e]||e==="opacity")}function G2(e,t,n){const r=e.style,o=t?.style,s={};if(!r)return s;for(const i in r)(jt(r[i])||o&&jt(o[i])||Z7(i,e)||n?.getValue(i)?.liveStyle!==void 0)&&(s[i]=r[i]);return s}function h4(e){return window.getComputedStyle(e)}class m4 extends B7{constructor(){super(...arguments),this.type="html",this.renderInstance=q7}readValueFromInstance(t,n){if(oo.has(n))return this.projection?.isProjecting?g2(n):Rh(t,n);{const r=h4(t),o=(Oc(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Y7(t,n)}build(t,n,r){H2(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return G2(t,n,r)}}const g4={offset:"stroke-dashoffset",array:"stroke-dasharray"},y4={offset:"strokeDashoffset",array:"strokeDasharray"};function C4(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?g4:y4;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const b4=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function X7(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:s=1,pathOffset:i=0,...a},l,c,u){if(H2(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=u?.transformBox??"fill-box",delete d.transformBox);for(const m of b4)d[m]!==void 0&&(h[m]=d[m],delete d[m]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),o!==void 0&&C4(d,o,s,i,!1)}const J7=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Q7=e=>typeof e=="string"&&e.toLowerCase()==="svg";function v4(e,t,n,r){q7(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(J7.has(o)?o:D2(o),t.attrs[o])}function e5(e,t,n){const r=G2(e,t,n);for(const o in e)if(jt(e[o])||jt(t[o])){const s=ro.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[s]=e[o]}return r}class x4 extends B7{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=It}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(oo.has(n)){const r=v7(n);return r&&r.default||0}return n=J7.has(n)?n:D2(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return e5(t,n,r)}build(t,n,r){X7(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,o){v4(t,n,r,o)}mount(t){this.isSVGTag=Q7(t.tagName),super.mount(t)}}const w4=$2.length;function t5(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?t5(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<w4;n++){const r=$2[n],o=e.props[r];(Qo(o)||o===!1)&&(t[r]=o)}return t}function n5(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const S4=[...N2].reverse(),k4=N2.length;function T4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>w6(e,n,r)))}function E4(e){let t=T4(e),n=r5(),r=!0,o=!1;const s=c=>(u,d)=>{const h=Tr(e,d,c==="exit"?e.presenceContext?.custom:void 0);if(h){const{transition:m,transitionEnd:g,...C}=h;u={...u,...C,...g}}return u};function i(c){t=c(e)}function a(c){const{props:u}=e,d=t5(e.parent)||{},h=[],m=new Set;let g={},C=1/0;for(let v=0;v<k4;v++){const k=S4[v],w=n[k],x=u[k]!==void 0?u[k]:d[k],T=Qo(x),M=k===c?w.isActive:null;M===!1&&(C=v);let A=x===d[k]&&x!==u[k]&&T;if(A&&(r||o)&&e.manuallyAnimateOnMount&&(A=!1),w.protectedKeys={...g},!w.isActive&&M===null||!x&&!w.prevProp||ci(x)||typeof x=="boolean")continue;if(k==="exit"&&w.isActive&&M!==!0){w.prevResolvedValues&&(g={...g,...w.prevResolvedValues});continue}const I=M4(w.prevProp,x);let P=I||k===c&&w.isActive&&!A&&T||v>C&&T,R=!1;const W=Array.isArray(x)?x:[x];let S=W.reduce(s(k),{});M===!1&&(S={});const{prevResolvedValues:j={}}=w,_={...j,...S},N=ue=>{P=!0,m.has(ue)&&(R=!0,m.delete(ue)),w.needsAnimating[ue]=!0;const B=e.getValue(ue);B&&(B.liveStyle=!1)};for(const ue in _){const B=S[ue],E=j[ue];if(g.hasOwnProperty(ue))continue;let D=!1;M2(B)&&M2(E)?D=!n5(B,E)||I:D=B!==E,D?B!=null?N(ue):m.add(ue):B!==void 0&&m.has(ue)?N(ue):w.protectedKeys[ue]=!0}w.prevProp=x,w.prevResolvedValues=S,w.isActive&&(g={...g,...S}),(r||o)&&e.blockInitialAnimation&&(P=!1);const U=A&&I;P&&(!U||R)&&h.push(...W.map(ue=>{const B={type:k};if(typeof ue=="string"&&(r||o)&&!U&&e.manuallyAnimateOnMount&&e.parent){const{parent:E}=e,D=Tr(E,ue);if(E.enteringChildren&&D){const{delayChildren:L}=D.transition||{};B.delay=a7(E.enteringChildren,e,L)}}return{animation:ue,options:B}}))}if(m.size){const v={};if(typeof u.initial!="boolean"){const k=Tr(e,Array.isArray(u.initial)?u.initial[0]:u.initial);k&&k.transition&&(v.transition=k.transition)}m.forEach(k=>{const w=e.getBaseTarget(k),x=e.getValue(k);x&&(x.liveStyle=!0),v[k]=w??null}),h.push({animation:v})}let b=!!h.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,o=!1,b?t(h):Promise.resolve()}function l(c,u){if(n[c].isActive===u)return Promise.resolve();e.variantChildren?.forEach(h=>h.animationState?.setActive(c,u)),n[c].isActive=u;const d=a(c);for(const h in n)n[h].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:i,getState:()=>n,reset:()=>{n=r5(),o=!0}}}function M4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!n5(t,e):!1}function Mr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function r5(){return{animate:Mr(!0),whileInView:Mr(),whileHover:Mr(),whileTap:Mr(),whileDrag:Mr(),whileFocus:Mr(),exit:Mr()}}function Y2(e,t){e.min=t.min,e.max=t.max}function xn(e,t){Y2(e.x,t.x),Y2(e.y,t.y)}function o5(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const s5=1e-4,O4=1-s5,D4=1+s5,i5=.01,A4=0-i5,I4=0+i5;function Ht(e){return e.max-e.min}function P4(e,t,n){return Math.abs(e-t)<=n}function a5(e,t,n,r=.5){e.origin=r,e.originPoint=tt(t.min,t.max,e.origin),e.scale=Ht(n)/Ht(t),e.translate=tt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=O4&&e.scale<=D4||isNaN(e.scale))&&(e.scale=1),(e.translate>=A4&&e.translate<=I4||isNaN(e.translate))&&(e.translate=0)}function ts(e,t,n,r){a5(e.x,t.x,n.x,r?r.originX:void 0),a5(e.y,t.y,n.y,r?r.originY:void 0)}function l5(e,t,n,r=0){const o=r?tt(n.min,n.max,r):n.min;e.min=o+t.min,e.max=e.min+Ht(t)}function L4(e,t,n,r){l5(e.x,t.x,n.x,r?.x),l5(e.y,t.y,n.y,r?.y)}function c5(e,t,n,r=0){const o=r?tt(n.min,n.max,r):n.min;e.min=t.min-o,e.max=e.min+Ht(t)}function hi(e,t,n,r){c5(e.x,t.x,n.x,r?.x),c5(e.y,t.y,n.y,r?.y)}function u5(e,t,n,r,o){return e-=t,e=fi(e,1/n,r),o!==void 0&&(e=fi(e,1/o,r)),e}function j4(e,t=0,n=1,r=.5,o,s=e,i=e){if(In.test(t)&&(t=parseFloat(t),t=tt(i.min,i.max,t/100)-i.min),typeof t!="number")return;let a=tt(s.min,s.max,r);e===s&&(a-=t),e.min=u5(e.min,t,n,a,o),e.max=u5(e.max,t,n,a,o)}function d5(e,t,[n,r,o],s,i){j4(e,t[n],t[r],t[o],t.scale,s,i)}const R4=["x","scaleX","originX"],_4=["y","scaleY","originY"];function f5(e,t,n,r){d5(e.x,t,R4,n?n.x:void 0,r?r.x:void 0),d5(e.y,t,_4,n?n.y:void 0,r?r.y:void 0)}function p5(e){return e.translate===0&&e.scale===1}function h5(e){return p5(e.x)&&p5(e.y)}function m5(e,t){return e.min===t.min&&e.max===t.max}function B4(e,t){return m5(e.x,t.x)&&m5(e.y,t.y)}function g5(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function y5(e,t){return g5(e.x,t.x)&&g5(e.y,t.y)}function C5(e){return Ht(e.x)/Ht(e.y)}function b5(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Ln(e){return[e("x"),e("y")]}function N4(e,t,n){let r="";const o=e.x.translate/t.x,s=e.y.translate/t.y,i=n?.z||0;if((o||s||i)&&(r=`translate3d(${o}px, ${s}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,pathRotation:d,rotateX:h,rotateY:m,skewX:g,skewY:C}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotate(${d}deg) `),h&&(r+=`rotateX(${h}deg) `),m&&(r+=`rotateY(${m}deg) `),g&&(r+=`skewX(${g}deg) `),C&&(r+=`skewY(${C}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const v5=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],$4=v5.length,x5=e=>typeof e=="string"?parseFloat(e):e,w5=e=>typeof e=="number"||ye.test(e);function F4(e,t,n,r,o,s){o?(e.opacity=tt(0,n.opacity??1,V4(r)),e.opacityExit=tt(t.opacity??1,0,W4(r))):s&&(e.opacity=tt(t.opacity??1,n.opacity??1,r));for(let i=0;i<$4;i++){const a=v5[i];let l=S5(t,a),c=S5(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||w5(l)===w5(c)?(e[a]=Math.max(tt(x5(l),x5(c),r),0),(In.test(c)||In.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=tt(t.rotate||0,n.rotate||0,r))}function S5(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const V4=k5(0,.5,vc),W4=k5(.5,.95,dn);function k5(e,t,n){return r=>r<e?0:r>t?1:n(Go(e,t,r))}function z4(e,t,n){const r=jt(e)?e:kr(e);return r.start(T2("",r,t,n)),r.animation}function ns(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const H4=(e,t)=>e.depth-t.depth;class U4{constructor(){this.children=[],this.isDirty=!1}add(t){Y0(this.children,t),this.isDirty=!0}remove(t){qs(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(H4),this.isDirty=!1,this.children.forEach(t)}}function G4(e,t){const n=zt.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(Yn(r),e(s-t))};return et.setup(r,!0),()=>Yn(r)}function mi(e){return jt(e)?e.get():e}class Y4{constructor(){this.members=[]}add(t){Y0(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const o=r.instance;(!o||o.isConnected===!1)&&!r.snapshot&&(qs(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(qs(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){for(let n=this.members.indexOf(t)-1;n>=0;n--){const r=this.members[n];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=r.options,{layoutDependency:s}=t.options;(o===void 0||o!==s)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const gi={hasAnimatedSinceResize:!0,hasEverUpdated:!1},q2=["","X","Y","Z"],q4=1e3;let K4=0;function K2(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function T5(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=h7(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",et,!(o||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&T5(r)}function E5({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(i={},a=t?.()){this.id=K4++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(J4),this.nodes.forEach(om),this.nodes.forEach(sm),this.nodes.forEach(Q4)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new U4)}addEventListener(i,a){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new K0),this.eventHandlers.get(i).add(a)}notifyListeners(i,...a){const l=this.eventHandlers.get(i);l&&l.notify(...a)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=B2(i)&&!Z6(i),this.instance=i;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let u,d=0;const h=()=>this.root.updateBlockedByResize=!1;et.read(()=>{d=window.innerWidth}),e(i,()=>{const m=window.innerWidth;m!==d&&(d=m,this.root.updateBlockedByResize=!0,u&&u(),u=G4(h,250),gi.hasAnimatedSinceResize&&(gi.hasAnimatedSinceResize=!1,this.nodes.forEach(D5)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||um,{onLayoutAnimationStart:C,onLayoutAnimationComplete:b}=c.getProps(),v=!this.targetLayout||!y5(this.targetLayout,m),k=!d&&h;if(this.options.layoutRoot||this.resumeFrom||k||d&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const w={...k2(g,"layout"),onPlay:C,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(u,k,w.path)}else d||D5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Yn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(im),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&T5(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!0),d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(tm),this.nodes.forEach(M5);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(O5);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nm),this.nodes.forEach(rm),this.nodes.forEach(Z4),this.nodes.forEach(X4)):this.nodes.forEach(O5),this.clearAllSnapshots();const a=zt.now();Rt.delta=An(0,1e3/60,a-Rt.timestamp),Rt.timestamp=a,Rt.isProcessing=!0,Q0.update.process(Rt),Q0.preRender.process(Rt),Q0.render.process(Rt),Rt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,j2.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(em),this.sharedNodes.forEach(am)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,et.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){et.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ht(this.snapshot.measuredBox.x)&&!Ht(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=It()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!h5(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;i&&this.instance&&(a||Er(this.latestValues)||u)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return i&&(l=this.removeTransform(l)),dm(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:i}=this.options;if(!i)return It();const a=i.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(fm))){const{scroll:c}=this.root;c&&(Pn(a.x,c.offset.x),Pn(a.y,c.offset.y))}return a}removeElementScroll(i){const a=It();if(xn(a,i),this.scroll?.wasRoot)return a;for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:u,options:d}=c;c!==this.root&&u&&d.layoutScroll&&(u.wasRoot&&xn(a,i),Pn(a.x,u.offset.x),Pn(a.y,u.offset.y))}return a}applyTransform(i,a=!1,l){const c=l||It();xn(c,i);for(let u=0;u<this.path.length;u++){const d=this.path[u];!a&&d.options.layoutScroll&&d.scroll&&d!==d.root&&(Pn(c.x,-d.scroll.offset.x),Pn(c.y,-d.scroll.offset.y)),Er(d.latestValues)&&pi(c,d.latestValues,d.layout?.layoutBox)}return Er(this.latestValues)&&pi(c,this.latestValues,this.layout?.layoutBox),c}removeTransform(i){const a=It();xn(a,i);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!Er(c.latestValues))continue;let u;c.instance&&(W2(c.latestValues)&&c.updateSnapshot(),u=It(),xn(u,c.measurePageBox())),f5(a,c.latestValues,c.snapshot?.layoutBox,u)}return Er(this.latestValues)&&f5(a,this.latestValues),a}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Rt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(i||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:d}=this.options;if(!this.layout||!(u||d))return;this.resolvedRelativeTargetAt=Rt.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=It(),this.targetWithTransforms=It()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),L4(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):xn(this.target,this.layout.layoutBox),W7(this.target,this.targetDelta)):xn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||W2(this.parent.latestValues)||$7(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(i,a,l){this.relativeParent=i,this.linkedParentVersion=i.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=It(),this.relativeTargetOrigin=It(),hi(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),xn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const i=this.getLead(),a=!!this.resumingFrom||this!==i;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Rt.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;xn(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;l4(this.layoutCorrected,this.treeScale,this.path,a),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=It());const{target:m}=i;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(o5(this.prevProjectionDelta.x,this.projectionDelta.x),o5(this.prevProjectionDelta.y,this.projectionDelta.y)),ts(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==h||!b5(this.projectionDelta.x,this.prevProjectionDelta.x)||!b5(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.visualElement?.scheduleRender(),i){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=io(),this.projectionDelta=io(),this.projectionDeltaWithTransform=io()}setAnimationOrigin(i,a=!1,l){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},h=io();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const m=It(),g=c?c.source:void 0,C=this.layout?this.layout.source:void 0,b=g!==C,v=this.getStack(),k=!v||v.members.length<=1,w=!!(b&&!k&&this.options.crossfade===!0&&!this.path.some(cm));this.animationProgress=0;let x;const T=l?.interpolateProjection(i);this.mixTargetDelta=M=>{const A=M/1e3,I=T?.(A);I?(h.x.translate=I.x,h.x.scale=tt(i.x.scale,1,A),h.x.origin=i.x.origin,h.x.originPoint=i.x.originPoint,h.y.translate=I.y,h.y.scale=tt(i.y.scale,1,A),h.y.origin=i.y.origin,h.y.originPoint=i.y.originPoint):(A5(h.x,i.x,A),A5(h.y,i.y,A)),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(hi(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),lm(this.relativeTarget,this.relativeTargetOrigin,m,A),x&&B4(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=It()),xn(x,this.relativeTarget)),b&&(this.animationValues=d,F4(d,u,this.latestValues,A,w,k)),I&&I.rotate!==void 0&&(this.animationValues||(this.animationValues=d),this.animationValues.pathRotation=I.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Yn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=et.update(()=>{gi.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=kr(0)),this.motionValue.jump(0,!1),this.currentAnimation=z4(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),i.onUpdate&&i.onUpdate(a)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(q4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=i;if(!(!a||!l||!c)){if(this!==i&&this.layout&&c&&R5(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||It();const d=Ht(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+d;const h=Ht(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+h}xn(a,l),pi(a,u),ts(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(i,a){this.sharedNodes.has(i)||this.sharedNodes.set(i,new Y4),this.sharedNodes.get(i).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){const{layoutId:i}=this.options;return i?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:i}=this.options;return i?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let a=!1;const{latestValues:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&K2("z",i,c,this.animationValues);for(let u=0;u<q2.length;u++)K2(`rotate${q2[u]}`,i,c,this.animationValues),K2(`skew${q2[u]}`,i,c,this.animationValues);i.render();for(const u in c)i.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);i.scheduleRender()}applyProjectionStyles(i,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=mi(a?.pointerEvents)||"",i.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=mi(a?.pointerEvents)||""),this.hasProjected&&!Er(this.latestValues)&&(i.transform=l?l({},""):"none",this.hasProjected=!1);return}i.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=N4(this.projectionDeltaWithTransform,this.treeScale,u);l&&(d=l(u,d)),i.transform=d;const{x:h,y:m}=this.projectionDelta;i.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,c.animationValues?i.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:i.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const g in U2){if(u[g]===void 0)continue;const{correct:C,applyTo:b,isCSSVariable:v}=U2[g],k=d==="none"?u[g]:C(u[g],c);if(b){const w=b.length;for(let x=0;x<w;x++)i[b[x]]=k}else v?this.options.visualElement.renderState.vars[g]=k:i[g]=k}this.options.layoutId&&(i.pointerEvents=c===this?mi(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>i.currentAnimation?.stop()),this.root.nodes.forEach(M5),this.root.sharedNodes.clear()}}}function Z4(e){e.updateLayout()}function X4(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:o}=e.options,s=t.source!==e.layout.source;if(o==="size")Ln(u=>{const d=s?t.measuredBox[u]:t.layoutBox[u],h=Ht(d);d.min=n[u].min,d.max=d.min+h});else if(o==="x"||o==="y"){const u=o==="x"?"y":"x";Y2(s?t.measuredBox[u]:t.layoutBox[u],n[u])}else R5(o,t.layoutBox,n)&&Ln(u=>{const d=s?t.measuredBox[u]:t.layoutBox[u],h=Ht(n[u]);d.max=d.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+h)});const i=io();ts(i,n,t.layoutBox);const a=io();s?ts(a,e.applyTransform(r,!0),t.measuredBox):ts(a,n,t.layoutBox);const l=!h5(i);let c=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:d,layout:h}=u;if(d&&h){const m=e.options.layoutAnchor||void 0,g=It();hi(g,t.layoutBox,d.layoutBox,m);const C=It();hi(C,n,h.layoutBox,m),y5(g,C)||(c=!0),u.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=g,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:i,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function J4(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Q4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function em(e){e.clearSnapshot()}function M5(e){e.clearMeasurements()}function tm(e){e.isLayoutDirty=!0,e.updateLayout()}function O5(e){e.isLayoutDirty=!1}function nm(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function rm(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function D5(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function om(e){e.resolveTargetDelta()}function sm(e){e.calcProjection()}function im(e){e.resetSkewAndRotation()}function am(e){e.removeLeadSnapshot()}function A5(e,t,n){e.translate=tt(t.translate,0,n),e.scale=tt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function I5(e,t,n,r){e.min=tt(t.min,n.min,r),e.max=tt(t.max,n.max,r)}function lm(e,t,n,r){I5(e.x,t.x,n.x,r),I5(e.y,t.y,n.y,r)}function cm(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const um={duration:.45,ease:[.4,0,.1,1]},P5=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),L5=P5("applewebkit/")&&!P5("chrome/")?Math.round:dn;function j5(e){e.min=L5(e.min),e.max=L5(e.max)}function dm(e){j5(e.x),j5(e.y)}function R5(e,t,n){return e==="position"||e==="preserve-aspect"&&!P4(C5(t),C5(n),.2)}function fm(e){return e!==e.root&&e.scroll?.wasRoot}const pm=E5({attachResizeListener:(e,t)=>ns(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Z2={current:void 0},_5=E5({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Z2.current){const e=new pm({});e.mount(window),e.setOptions({layoutScroll:!0}),Z2.current=e}return Z2.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),yi=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function B5(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function hm(...e){return t=>{let n=!1;const r=e.map(o=>{const s=B5(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():B5(e[o],null)}}}}function mm(...e){return Z.useCallback(hm(...e),e)}class gm extends Z.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(oi(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,o=oi(r)&&r.offsetWidth||0,s=oi(r)&&r.offsetHeight||0,i=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=o-a.width-a.left,a.bottom=s-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function ym({children:e,isPresent:t,anchorX:n,anchorY:r,root:o,pop:s}){const i=p.useId(),a=p.useRef(null),l=p.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:c}=p.useContext(yi),u=e.props?.ref??e?.ref,d=mm(a,u);return p.useInsertionEffect(()=>{const{width:h,height:m,top:g,left:C,right:b,bottom:v,direction:k}=l.current;if(t||s===!1||!a.current||!h||!m)return;const w=k==="rtl",x=n==="left"?w?`right: ${b}`:`left: ${C}`:w?`left: ${C}`:`right: ${b}`,T=r==="bottom"?`bottom: ${v}`:`top: ${g}`;a.current.dataset.motionPopId=i;const M=document.createElement("style");c&&(M.nonce=c);const A=o??document.head;return A.appendChild(M),M.sheet&&M.sheet.insertRule(`
6
+ <%s key={someKey} {...props} />`,Y,oe,X,oe),E[oe+Y]=!0)}if(oe=null,$!==void 0&&(n($),oe=""+$),i(L)&&(n(L.key),oe=""+L.key),"key"in L){$={};for(var te in L)te!=="key"&&($[te]=L[te])}else $=L;return oe&&a($,typeof D=="function"?D.displayName||D.name||"Unknown":D),c(D,oe,$,o(),re,he)}function d(D){h(D)?D._store&&(D._store.validated=1):typeof D=="object"&&D!==null&&D.$$typeof===P&&(D._payload.status==="fulfilled"?h(D._payload.value)&&D._payload.value._store&&(D._payload.value._store.validated=1):D._store&&(D._store.validated=1))}function h(D){return typeof D=="object"&&D!==null&&D.$$typeof===g}var m=p,g=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),x=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),W=Symbol.for("react.client.reference"),S=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.prototype.hasOwnProperty,_=Array.isArray,N=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(D){return D()}};var U,se={},ue=m.react_stack_bottom_frame.bind(m,s)(),B=N(r(s)),E={};zo.Fragment=b,zo.jsx=function(D,L,$){var Y=1e4>S.recentlyCreatedOwnerStacks++;return u(D,L,$,!1,Y?Error("react-stack-top-frame"):ue,Y?N(r(D)):B)},zo.jsxs=function(D,L,$){var Y=1e4>S.recentlyCreatedOwnerStacks++;return u(D,L,$,!0,Y?Error("react-stack-top-frame"):ue,Y?N(r(D)):B)}})()),zo}var ic;function Ap(){return ic||(ic=1,process.env.NODE_ENV==="production"?zs.exports=Op():zs.exports=Dp()),zs.exports}var f=Ap();const Hs={THEME:"THEME",LOGOUT:"LOGOUT"},Te={Search:"data:image/svg+xml,%3csvg%20width='16'%20height='15'%20viewBox='0%200%2016%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.6503%2013.8006C11.3232%2013.8006%2014.3006%2010.8232%2014.3006%207.15029C14.3006%203.47744%2011.3232%200.5%207.6503%200.5C3.97744%200.5%201%203.47744%201%207.15029C1%2010.8232%203.97744%2013.8006%207.6503%2013.8006Z'%20stroke='%23898A93'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.9997%2014.5006L13.5996%2013.1006'%20stroke='%23898A93'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Refresh:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.0733%203.38664C6.6533%203.21331%207.2933%203.09998%207.99997%203.09998C11.1933%203.09998%2013.78%205.68664%2013.78%208.87998C13.78%2012.0733%2011.1933%2014.66%207.99997%2014.66C4.80664%2014.66%202.21997%2012.0733%202.21997%208.87998C2.21997%207.69331%202.57997%206.58664%203.1933%205.66664'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.2467%203.54671L7.17337%201.33337'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.2467%203.54663L7.49337%205.18663'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Close:"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2024%2024'%3e%3ccircle%20cx='12'%20cy='12'%20r='11'%20fill='none'%20stroke='%23E85353'%20stroke-width='2'/%3e%3cpath%20d='M8.5%208.5l7%207M15.5%208.5l-7%207'%20stroke='%23E85353'%20stroke-width='2'/%3e%3c/svg%3e",Unsort:"data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.646447%203.24676C0.451184%203.44202%200.451184%203.7586%200.646447%203.95387C0.841709%204.14913%201.15829%204.14913%201.35355%203.95387L0.646447%203.24676ZM3.40012%201.2002H3.90012C3.90012%200.997964%203.7783%200.815646%203.59146%200.738256C3.40462%200.660865%203.18956%200.703643%203.04656%200.846642L3.40012%201.2002ZM2.90012%2010.8007C2.90012%2011.0768%203.12398%2011.3007%203.40012%2011.3007C3.67626%2011.3007%203.90012%2011.0768%203.90012%2010.8007H2.90012ZM9.35377%208.7541C9.54903%208.55884%209.54903%208.24226%209.35377%208.04699C9.15851%207.85173%208.84193%207.85173%208.64666%208.04699L9.35377%208.7541ZM6.6001%2010.8007H6.1001C6.1001%2011.0029%206.22192%2011.1852%206.40876%2011.2626C6.5956%2011.34%206.81065%2011.2972%206.95365%2011.1542L6.6001%2010.8007ZM7.1001%201.2002C7.1001%200.924053%206.87624%200.700195%206.6001%200.700195C6.32396%200.700195%206.1001%200.924053%206.1001%201.2002H7.1001ZM1.35355%203.95387L3.75367%201.55375L3.04656%200.846642L0.646447%203.24676L1.35355%203.95387ZM2.90012%201.2002V10.8007H3.90012V1.2002H2.90012ZM8.64666%208.04699L6.24655%2010.4471L6.95365%2011.1542L9.35377%208.7541L8.64666%208.04699ZM7.1001%2010.8007V1.2002H6.1001V10.8007H7.1001Z'%20fill='%23909090'/%3e%3c/svg%3e",AscSort:"data:image/svg+xml,%3csvg%20width='9'%20height='12'%20viewBox='0%200%209%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%204.59888L4.5%201.09888L1%204.59888'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.5%2010.9013V1.19702'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",DescSort:"data:image/svg+xml,%3csvg%20width='9'%20height='12'%20viewBox='0%200%209%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%207.40112L4.5%2010.9011L8%207.40112'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.5%201.09869L4.5%2010.803'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Menu:"data:image/svg+xml,%3csvg%20width='4'%20height='10'%20viewBox='0%200%204%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%207.5C1.45%207.5%201%207.95%201%208.5C1%209.05%201.45%209.5%202%209.5C2.55%209.5%203%209.05%203%208.5C3%207.95%202.55%207.5%202%207.5Z'%20stroke='%23909090'%20stroke-width='0.7'/%3e%3cpath%20d='M2%204C1.45%204%201%204.45%201%205C1%205.55%201.45%206%202%206C2.55%206%203%205.55%203%205C3%204.45%202.55%204%202%204Z'%20stroke='%23909090'%20stroke-width='0.7'/%3e%3cpath%20d='M2%200.5C1.45%200.5%201%200.95%201%201.5C1%202.05%201.45%202.5%202%202.5C2.55%202.5%203%202.05%203%201.5C3%200.95%202.55%200.5%202%200.5Z'%20stroke='%23909090'%20stroke-width='0.7'/%3e%3c/svg%3e",Manage:"data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.75065%202.33398V11.6673M2.33398%208.60482H8.75065M2.33398%205.39648H8.75065M3.50065%2011.6673H10.5007C11.145%2011.6673%2011.6673%2011.145%2011.6673%2010.5007V3.50065C11.6673%202.85632%2011.145%202.33398%2010.5007%202.33398H3.50065C2.85632%202.33398%202.33398%202.85632%202.33398%203.50065V10.5007C2.33398%2011.145%202.85632%2011.6673%203.50065%2011.6673Z'%20stroke='%23A8A8A8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ArrowSelectUp:"data:image/svg+xml,%3csvg%20width='10'%20height='5'%20viewBox='0%200%2010%205'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%200.595703L5.50126%204.09444C5.08807%204.50763%204.41193%204.50763%203.99874%204.09444L0.5%200.595703'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ArrowSelectDown:"data:image/svg+xml,%3csvg%20width='10'%20height='5'%20viewBox='0%200%2010%205'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%204.4043L5.50126%200.90556C5.08807%200.492365%204.41193%200.492365%203.99874%200.90556L0.5%204.4043'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Upload:"data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.25016%209.9165V6.4165L4.0835%207.58317'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.25%206.4165L6.41667%207.58317'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8332%205.83317V8.74984C12.8332%2011.6665%2011.6665%2012.8332%208.74984%2012.8332H5.24984C2.33317%2012.8332%201.1665%2011.6665%201.1665%208.74984V5.24984C1.1665%202.33317%202.33317%201.1665%205.24984%201.1665H8.1665'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8332%205.83317H10.4998C8.74984%205.83317%208.1665%205.24984%208.1665%203.49984V1.1665L12.8332%205.83317Z'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Download:"data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.25%206.41699V9.91699L6.41667%208.75033'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.25114%209.91667L4.08447%208.75'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8322%205.83366V8.75033C12.8322%2011.667%2011.6655%2012.8337%208.74886%2012.8337H5.24886C2.33219%2012.8337%201.16553%2011.667%201.16553%208.75033V5.25033C1.16553%202.33366%202.33219%201.16699%205.24886%201.16699H8.16553'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8322%205.83366H10.4989C8.74886%205.83366%208.16553%205.25033%208.16553%203.50033V1.16699L12.8322%205.83366Z'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",More:"data:image/svg+xml,%3csvg%20width='15'%20height='16'%20viewBox='0%200%2015%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.4531%202.16699H7.64478C8.07645%202.16699%208.43227%202.52283%208.43227%202.9545V3.81782C8.43227%204.13282%208.23395%204.52366%208.04145%204.722L6.3498%206.21533C6.11647%206.41366%205.95894%206.80449%205.95894%207.11949V8.81117C5.95894%209.0445%205.80145%209.3595%205.60312%209.482L5.05478%209.83782C4.54145%2010.1528%203.8356%209.79699%203.8356%209.16699V7.08449C3.8356%206.81032%203.67811%206.4545%203.52061%206.25616L2.02728%204.68116C1.82895%204.48282%201.67146%204.13282%201.67146%203.89365V2.98949C1.66562%202.52283%202.02144%202.16699%202.4531%202.16699Z'%20stroke='%23909090'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.66211%207.99998V9.74998C1.66211%2012.6666%202.82878%2013.8333%205.74544%2013.8333H9.24544C12.1621%2013.8333%2013.3288%2012.6666%2013.3288%209.74998V6.24998C13.3288%204.42998%2012.8738%203.28664%2011.8179%202.69164C11.5204%202.52248%2010.9254%202.39414%2010.3829%202.30664'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.08789%208.5835H11.0046'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.91211%2010.9165H10.9954'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ArrowRight:"data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.45508%209.96028L7.71508%206.70028C8.10008%206.31528%208.10008%205.68528%207.71508%205.30028L4.45508%202.04028'%20stroke='%23A8A8A8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Cross:"data:image/svg+xml,%3csvg%20width='15'%20height='16'%20viewBox='0%200%2015%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.2302%203.25244L2.75%2012.7366'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.25%2012.75L2.75%203.25'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",CrossLight:"data:image/svg+xml,%3csvg%20width='15'%20height='16'%20viewBox='0%200%2015%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.2302%203.25244L2.75%2012.7366'%20stroke='%23666D80'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.25%2012.75L2.75%203.25'%20stroke='%23666D80'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",PaginationLeft:"data:image/svg+xml,%3csvg%20width='7'%20height='11'%20viewBox='0%200%207%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.5%209.96346L1.82547%206.28893C1.39151%205.85497%201.39151%205.14487%201.82547%204.71091L5.5%201.03638'%20stroke='%23909090'%20stroke-width='1.2'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",PaginationRight:"data:image/svg+xml,%3csvg%20width='7'%20height='11'%20viewBox='0%200%207%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.5%209.96346L5.17453%206.28893C5.60849%205.85498%205.60849%205.14487%205.17453%204.71091L1.5%201.03638'%20stroke='%23909090'%20stroke-width='1.2'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Import:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.6649%201.33252L9.19824%206.79919'%20stroke='%232176FF'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.66504%204.11377V7.33377H11.885'%20stroke='%232176FF'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.33496%201.33252H6.00163C2.66829%201.33252%201.33496%202.66585%201.33496%205.99919V9.99919C1.33496%2013.3325%202.66829%2014.6659%206.00163%2014.6659H10.0016C13.335%2014.6659%2014.6683%2013.3325%2014.6683%209.99919V8.66585'%20stroke='%232176FF'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Expand:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%206V2H10'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2%2010V14H6'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14%202L9%207'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%209L2%2014'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Merge:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.5114%206.05379L10.4511%209.04164L10.4814%209.0719C10.8132%209.40375%2010.9784%209.84252%2010.9769%2010.2806C10.9754%2010.7187%2010.8077%2011.1577%2010.4735%2011.4919L10.3922%2011.5732C10.2241%2011.7413%2010.0025%2011.8263%209.7824%2011.8271C9.56227%2011.8279%209.34086%2011.7443%209.17346%2011.5769L7.78628%2010.1897L4.12799%2013.1773L4.12799%2013.1773L4.06473%2013.0999L12.5114%206.05379ZM12.5114%206.05379C12.8545%206.18859%2013.1918%206.29598%2013.5225%206.3222C13.9811%206.3591%2014.409%206.24328%2014.79%205.86233C14.9483%205.704%2015.0749%205.43718%2015.0758%205.15458C15.0766%204.92373%2014.9983%204.68086%2014.7942%204.47678L11.5247%201.20722C11.3206%201.00314%2011.0777%200.924811%2010.8469%200.925604L10.8472%201.0256C10.5923%201.02601%2010.3506%201.14147%2010.2098%201.2822C9.85167%201.64036%209.74361%202.03912%209.77846%202.4714C9.80525%202.80959%209.92193%203.15912%2010.0693%203.52532M12.5114%206.05379L10.8471%200.925604C10.5647%200.926052%2010.2979%201.05275%2010.1391%201.21149C9.75774%201.59287%209.64191%202.0216%209.67877%202.4793M10.0693%203.52532L10.0126%203.44299L9.94694%203.48823M10.0693%203.52532L9.97655%203.56266C9.96655%203.53782%209.95668%203.51301%209.94694%203.48823M10.0693%203.52532L6.94655%205.67851M9.94694%203.48823C9.81244%203.14589%209.70493%202.80948%209.67877%202.4793M9.94694%203.48823L6.95836%205.5489M9.67877%202.4793C9.67878%202.47935%209.67878%202.47939%209.67879%202.47944L9.77841%202.47141L9.67877%202.4793ZM6.95836%205.5489L7.01726%205.6078L6.94655%205.67851M6.95836%205.5489L6.9281%205.51864C6.59577%205.18631%206.15746%205.02161%205.71939%205.02312C5.28131%205.02462%204.84181%205.19279%204.50813%205.52647L4.42677%205.60783C4.25803%205.77657%204.17412%205.99823%204.17337%206.21807C4.17261%206.43897%204.25556%206.65997%204.42307%206.82748L5.81025%208.21466M6.95836%205.5489L6.88979%205.59618L6.94655%205.67851M6.94655%205.67851L6.85739%205.58935C6.54488%205.27684%206.13258%205.1217%205.71973%205.12311C5.30688%205.12453%204.89304%205.28298%204.57884%205.59718L4.49749%205.67854C4.34833%205.82769%204.27404%206.02364%204.27337%206.21842C4.2727%206.41412%204.34611%206.6091%204.49378%206.75677L5.9449%208.20789M5.81025%208.21466L5.86745%208.14463L5.9449%208.20789M5.81025%208.21466L2.82266%2011.873L2.82261%2011.873C2.66975%2012.0605%202.58321%2012.2918%202.5819%2012.5216L2.5819%2012.5219L2.58189%2012.5237L2.68189%2012.5241L5.9449%208.20789M5.81025%208.21466L5.87419%208.2786L5.9449%208.20789M9.67929%208.9237L9.70517%208.88617L12.0837%205.43671C12.173%205.2898%2012.359%205.22439%2012.5234%205.29377M9.67929%208.9237L10.8454%201.63016C10.9045%201.62996%2010.9672%201.64976%2011.0237%201.70625L14.2933%204.97582C14.3498%205.03232%2014.3696%205.09506%2014.3694%205.15415C14.3691%205.2439%2014.3302%205.32407%2014.2915%205.3628C14.0788%205.57541%2013.845%205.63877%2013.5816%205.61797L13.5737%205.71766L13.5817%205.61798C13.2757%205.59352%2012.9203%205.46074%2012.5234%205.29377M9.67929%208.9237L9.68069%208.92915M9.67929%208.9237L9.68069%208.92915M12.5234%205.29377C12.5234%205.29378%2012.5234%205.29379%2012.5234%205.2938L12.4845%205.38592M12.5234%205.29377C12.5233%205.29376%2012.5233%205.29375%2012.5233%205.29374L12.4845%205.38592M12.4845%205.38592C12.3663%205.33599%2012.2315%205.38352%2012.1678%205.49091L12.4845%205.38592ZM9.68069%208.92915C9.61177%209.06459%209.63845%209.22978%209.74409%209.33659L9.74448%209.33699L9.98131%209.57381C10.175%209.76752%2010.2717%2010.0244%2010.2708%2010.2826V10.2828C10.2704%2010.5403%2010.1719%2010.7983%209.97594%2010.9943L9.89458%2011.0757C9.86461%2011.1056%209.82417%2011.1213%209.78426%2011.1215C9.743%2011.1213%209.70347%2011.1059%209.67442%2011.0769L4.92402%206.32649C4.89507%206.29754%204.8797%206.25724%204.87984%206.21654L4.77984%206.2162L4.87984%206.21654C4.87998%206.17511%204.89552%206.13514%204.92526%206.1054L5.00662%206.02404C5.20212%205.82854%205.46009%205.73002%205.71831%205.72914L5.71848%205.72914C5.97604%205.72783%206.23289%205.82446%206.4271%206.01868L6.66393%206.2555C6.79239%206.38396%206.99539%206.3914%207.13378%206.28051L10.5799%203.90425L10.5799%203.90425L10.5806%203.90375C10.719%203.80648%2010.7688%203.62722%2010.7059%203.47652L10.7058%203.47623C10.5388%203.07917%2010.4055%202.72425%2010.3811%202.4183L10.3811%202.41823C10.3599%202.15556%2010.4236%201.92124%2010.6367%201.70807C10.6755%201.66934%2010.7556%201.63047%2010.8454%201.63016L9.68069%208.92915ZM6.30997%208.71246L7.28616%209.68865L3.68235%2012.6321C3.61745%2012.685%203.54349%2012.7114%203.47784%2012.7116L3.47784%2012.7115L3.47462%2012.7117L3.46448%2012.712C3.41893%2012.7093%203.37647%2012.6919%203.34137%2012.6568C3.3036%2012.619%203.28592%2012.5717%203.28609%2012.5199C3.28631%2012.4557%203.31278%2012.3822%203.36653%2012.3163L6.30997%208.71246Z'%20fill='%23007AFF'%20stroke='%23007AFF'%20stroke-width='0.2'/%3e%3c/svg%3e",FilterLight:"data:image/svg+xml,%3csvg%20width='13'%20height='14'%20viewBox='0%200%2013%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.26379%2011.7614L6.50005%2012.2543C5.79047%2012.693%204.80463%2012.2001%204.80463%2011.3226V8.4247C4.80463%208.04011%204.58797%207.5472%204.36589%207.27637L2.28587%205.08803C2.00962%204.81178%201.79297%204.32428%201.79297%203.99387V2.7372C1.79297%202.08178%202.2859%201.58887%202.88715%201.58887H10.113C10.7142%201.58887%2011.2071%202.08178%2011.2071%202.68303V3.88553C11.2071%204.32428%2010.9309%204.87137%2010.66%205.1422'%20stroke='%23282A2A'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.25136%206.94027L7.33383%208.85776C7.258%208.93359%207.18759%209.07443%207.17134%209.17734L7.06842%209.9086C7.03051%2010.174%207.21468%2010.3582%207.48009%2010.3203L8.21133%2010.2173C8.31425%2010.2011%208.46051%2010.1307%208.53093%2010.0549L10.4484%208.13735C10.7788%207.80693%2010.9359%207.42235%2010.4484%206.93485C9.96633%206.45277%209.58177%206.60986%209.25136%206.94027Z'%20stroke='%23282A2A'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.98047%207.21094C9.14297%207.79594%209.59795%208.25092%2010.183%208.41342'%20stroke='%23282A2A'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Filter:"data:image/svg+xml,%3csvg%20width='13'%20height='14'%20viewBox='0%200%2013%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.26379%2011.7614L6.50005%2012.2543C5.79047%2012.693%204.80463%2012.2001%204.80463%2011.3226V8.4247C4.80463%208.04011%204.58797%207.5472%204.36589%207.27637L2.28587%205.08803C2.00962%204.81178%201.79297%204.32428%201.79297%203.99387V2.7372C1.79297%202.08178%202.2859%201.58887%202.88715%201.58887H10.113C10.7142%201.58887%2011.2071%202.08178%2011.2071%202.68303V3.88553C11.2071%204.32428%2010.9309%204.87137%2010.66%205.1422'%20stroke='white'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.25136%206.94027L7.33383%208.85776C7.258%208.93359%207.18759%209.07443%207.17134%209.17734L7.06842%209.9086C7.03051%2010.174%207.21468%2010.3582%207.48009%2010.3203L8.21133%2010.2173C8.31425%2010.2011%208.46051%2010.1307%208.53093%2010.0549L10.4484%208.13735C10.7788%207.80693%2010.9359%207.42235%2010.4484%206.93485C9.96633%206.45277%209.58177%206.60986%209.25136%206.94027Z'%20stroke='white'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.98047%207.21094C9.14297%207.79594%209.59795%208.25092%2010.183%208.41342'%20stroke='white'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",FilterClose:"data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='12'%20height='12'%20rx='3'%20fill='%23E85353'/%3e%3cpath%20d='M3.75%208.25L8.25%203.75'%20stroke='white'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.25%208.25L3.75%203.75'%20stroke='white'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Check:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.00001%2014.6666H10C13.3333%2014.6666%2014.6667%2013.3333%2014.6667%209.99992V5.99992C14.6667%202.66659%2013.3333%201.33325%2010%201.33325H6.00001C2.66668%201.33325%201.33334%202.66659%201.33334%205.99992V9.99992C1.33334%2013.3333%202.66668%2014.6666%206.00001%2014.6666Z'%20fill='%23E94F1C'%20stroke='%23E94F1C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.16666%207.99995L7.05332%209.88661L10.8333%206.11328'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Uncheck:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.00001%2014.6666H10C13.3333%2014.6666%2014.6667%2013.3333%2014.6667%209.99992V5.99992C14.6667%202.66659%2013.3333%201.33325%2010%201.33325H6.00001C2.66668%201.33325%201.33334%202.66659%201.33334%205.99992V9.99992C1.33334%2013.3333%202.66668%2014.6666%206.00001%2014.6666Z'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Calendar:"data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.66602%201.16602V2.91602'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.33398%201.16602V2.91602'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.04102%205.30176H11.9577'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.25%204.95768V9.91602C12.25%2011.666%2011.375%2012.8327%209.33333%2012.8327H4.66667C2.625%2012.8327%201.75%2011.666%201.75%209.91602V4.95768C1.75%203.20768%202.625%202.04102%204.66667%202.04102H9.33333C11.375%202.04102%2012.25%203.20768%2012.25%204.95768Z'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.99745%207.99186H7.00269'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.83729%207.99186H4.84253'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.83729%209.74186H4.84253'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Collapse:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%203V7H13'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%2013V9H3'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14%202L9%207'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%209L2%2014'%20stroke='%230166FF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Group:"data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.12852%201.82495L11.816%203.46245C12.8785%203.9312%2012.8785%204.7062%2011.816%205.17495L8.12852%206.81245C7.70977%206.99995%207.02227%206.99995%206.60352%206.81245L2.91602%205.17495C1.85352%204.7062%201.85352%203.9312%202.91602%203.46245L6.60352%201.82495C7.02227%201.63745%207.70977%201.63745%208.12852%201.82495Z'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.875%206.875C1.875%207.4%202.26875%208.00625%202.75%208.21875L6.99375%2010.1062C7.31875%2010.25%207.6875%2010.25%208.00625%2010.1062L12.25%208.21875C12.7313%208.00625%2013.125%207.4%2013.125%206.875'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M1.875%2010C1.875%2010.5812%202.21875%2011.1062%202.75%2011.3437L6.99375%2013.2312C7.31875%2013.375%207.6875%2013.375%208.00625%2013.2312L12.25%2011.3437C12.7813%2011.1062%2013.125%2010.5812%2013.125%2010'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Indeterminate:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.00001%2014.6666H10C13.3333%2014.6666%2014.6667%2013.3333%2014.6667%209.99992V5.99992C14.6667%202.66659%2013.3333%201.33325%2010%201.33325H6.00001C2.66668%201.33325%201.33334%202.66659%201.33334%205.99992V9.99992C1.33334%2013.3333%202.66668%2014.6666%206.00001%2014.6666Z'%20fill='%23E94F1C'%20stroke='%23E94F1C'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.16666%207.99995H10.8333'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",CrossWhite:"data:image/svg+xml,%3csvg%20width='15'%20height='16'%20viewBox='0%200%2015%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.2302%203.25293L2.75%2012.7371'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.25%2012.75L2.75%203.25'%20stroke='%23909090'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Save:"data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.61086%204.11505C3.64436%204.11505%202.86086%203.33155%202.86086%202.36505V0.290039H2.5407C1.13751%200.290039%200%201.42755%200%202.83074V9.24934C0%2010.3917%200.753899%2011.3579%201.79129%2011.6777V8.57536C1.79129%207.05657%203.02251%205.82536%204.5413%205.82536H6.9599C8.47869%205.82536%209.7099%207.05658%209.7099%208.57536V11.6773C10.7467%2011.3572%2011.5%2010.3912%2011.5%209.24934V4.56517C11.5%204.0332%2011.2887%203.52301%2010.9125%203.14685L8.64319%200.877528C8.64211%200.876443%208.64102%200.875359%208.63993%200.874277V2.36505C8.63993%203.33155%207.85643%204.11505%206.88993%204.11505H4.61086ZM7.13993%200.290039H4.36086V2.36505C4.36086%202.50312%204.47279%202.61505%204.61086%202.61505H6.88993C7.028%202.61505%207.13993%202.50312%207.13993%202.36505V0.290039ZM4.5413%207.32536C3.85094%207.32536%203.29129%207.885%203.29129%208.57536V11.7091H8.2099V8.57536C8.2099%207.885%207.65026%207.32536%206.9599%207.32536H4.5413Z'%20fill='%23909090'/%3e%3c/svg%3e",UploadDark:"data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.25065%209.91699V6.41699L4.08398%207.58366'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.25%206.41699L6.41667%207.58366'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8327%205.83366V8.75033C12.8327%2011.667%2011.666%2012.8337%208.74935%2012.8337H5.24935C2.33268%2012.8337%201.16602%2011.667%201.16602%208.75033V5.25033C1.16602%202.33366%202.33268%201.16699%205.24935%201.16699H8.16602'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8327%205.83366H10.4993C8.74935%205.83366%208.16602%205.25033%208.16602%203.50033V1.16699L12.8327%205.83366Z'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ArrowDownLight:"data:image/svg+xml,%3csvg%20width='8'%20height='4'%20viewBox='0%200%208%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7%200.543945L4.32449%203.21945C4.00852%203.53542%203.49148%203.53542%203.17551%203.21945L0.5%200.543945'%20stroke='white'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ArrowUpLight:"data:image/svg+xml,%3csvg%20width='8'%20height='4'%20viewBox='0%200%208%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7%203.45605L4.32449%200.78055C4.00852%200.464578%203.49148%200.464578%203.17551%200.78055L0.5%203.45605'%20stroke='white'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Drag:"data:image/svg+xml,%3csvg%20width='13'%20height='13'%20viewBox='0%200%2016%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.5%207.5C5.675%207.5%205%208.175%205%209C5%209.825%205.675%2010.5%206.5%2010.5C7.325%2010.5%208%209.825%208%209C8%208.175%207.325%207.5%206.5%207.5Z'%20fill='%23909090'/%3e%3cpath%20d='M6.5%2013.5C5.675%2013.5%205%2014.175%205%2015C5%2015.825%205.675%2016.5%206.5%2016.5C7.325%2016.5%208%2015.825%208%2015C8%2014.175%207.325%2013.5%206.5%2013.5Z'%20fill='%23909090'/%3e%3cpath%20d='M6.5%201.5C5.675%201.5%205%202.175%205%203C5%203.825%205.675%204.5%206.5%204.5C7.325%204.5%208%203.825%208%203C8%202.175%207.325%201.5%206.5%201.5Z'%20fill='%23909090'/%3e%3cpath%20d='M12%207.5C11.175%207.5%2010.5%208.175%2010.5%209C10.5%209.825%2011.175%2010.5%2012%2010.5C12.825%2010.5%2013.5%209.825%2013.5%209C13.5%208.175%2012.825%207.5%2012%207.5Z'%20fill='%23909090'/%3e%3cpath%20d='M12%2013.5C11.175%2013.5%2010.5%2014.175%2010.5%2015C10.5%2015.825%2011.175%2016.5%2012%2016.5C12.825%2016.5%2013.5%2015.825%2013.5%2015C13.5%2014.175%2012.825%2013.5%2012%2013.5Z'%20fill='%23909090'/%3e%3cpath%20d='M12%201.5C11.175%201.5%2010.5%202.175%2010.5%203C10.5%203.825%2011.175%204.5%2012%204.5C12.825%204.5%2013.5%203.825%2013.5%203C13.5%202.175%2012.825%201.5%2012%201.5Z'%20fill='%23909090'/%3e%3c/svg%3e",CloseCircle:"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.00065%2014.6663C11.6673%2014.6663%2014.6673%2011.6663%2014.6673%207.99967C14.6673%204.33301%2011.6673%201.33301%208.00065%201.33301C4.33398%201.33301%201.33398%204.33301%201.33398%207.99967C1.33398%2011.6663%204.33398%2014.6663%208.00065%2014.6663Z'%20stroke='%23999999'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.11328%209.88661L9.88661%206.11328'%20stroke='%23999999'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.88661%209.88661L6.11328%206.11328'%20stroke='%23999999'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",AddSquare:"data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.66602%207H9.33268'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%209.33366V4.66699'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.24935%2012.8337H8.74935C11.666%2012.8337%2012.8327%2011.667%2012.8327%208.75033V5.25033C12.8327%202.33366%2011.666%201.16699%208.74935%201.16699H5.24935C2.33268%201.16699%201.16602%202.33366%201.16602%205.25033V8.75033C1.16602%2011.667%202.33268%2012.8337%205.24935%2012.8337Z'%20stroke='%23909090'%20stroke-width='0.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",CalendarEdit:"data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.66699%201.16699V2.91699'%20stroke='white'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.33301%201.16699V2.91699'%20stroke='white'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.04199%205.30273H11.9587'%20stroke='white'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.2058%209.19949L9.14078%2011.2645C9.05912%2011.3462%208.98327%2011.4978%208.96577%2011.6087L8.85494%2012.3962C8.8141%2012.682%209.01244%2012.8803%209.29828%2012.8395L10.0858%2012.7287C10.1966%2012.7112%2010.3541%2012.6353%2010.4299%2012.5537L12.4949%2010.4887C12.8508%2010.1328%2013.0199%209.71867%2012.4949%209.19367C11.9758%208.6745%2011.5616%208.84366%2011.2058%209.19949Z'%20stroke='white'%20stroke-width='0.6'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.9082%209.49707C11.0832%2010.1271%2011.5732%2010.6171%2012.2032%2010.7921'%20stroke='white'%20stroke-width='0.6'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7%2012.8337H4.66667C2.625%2012.8337%201.75%2011.667%201.75%209.91699V4.95866C1.75%203.20866%202.625%202.04199%204.66667%202.04199H9.33333C11.375%202.04199%2012.25%203.20866%2012.25%204.95866V7.00033'%20stroke='white'%20stroke-width='0.8'%20stroke-miterlimit='10'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.99745%207.99186H7.00269'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.83827%207.99186H4.84351'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.83827%209.74186H4.84351'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Shortcut:"data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_27625_162385)'%3e%3cmask%20id='path-1-inside-1_27625_162385'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.9713%200.625H4C4.2071%200.625%204.375%200.792895%204.375%201C4.375%201.20711%204.2071%201.375%204%201.375C2.81089%201.375%203.95678%201.3758%203.30679%201.46319C2.66759%201.54913%202.28223%201.71257%201.9974%201.9974C1.71257%202.28223%201.54913%202.66759%201.46319%203.30679C1.3758%203.95678%201.375%204.81089%201.375%206C1.375%207.1891%201.3758%208.0432%201.46319%208.6932C1.54913%209.3324%201.71257%209.71775%201.9974%2010.0026C2.28223%2010.2875%202.66759%2010.4509%203.30679%2010.5368C3.95678%2010.6242%204.81089%2010.625%206%2010.625C7.1891%2010.625%208.0432%2010.6242%208.6932%2010.5368C9.3324%2010.4509%209.71775%2010.2875%2010.0026%2010.0026C10.2875%209.71775%2010.4509%209.3324%2010.5368%208.6932C10.6242%208.0432%2010.625%209.1891%2010.625%208C10.625%207.7929%2010.7929%207.625%2011%207.625C11.2071%207.625%2011.375%207.7929%2011.375%208V8.0287C11.375%209.1829%2011.375%208.0874%2011.2802%208.79315C11.183%209.5155%2010.9804%2010.0856%2010.533%2010.533C10.0856%2010.9804%209.5155%2011.183%208.79315%2011.2802C8.0874%2011.375%207.1829%2011.375%206.0287%2011.375H5.9713C4.81712%2011.375%203.9126%2011.375%203.20686%2011.2802C2.48449%2011.183%201.91448%2010.9804%201.46707%2010.533C1.01967%2010.0856%200.816995%209.5155%200.719875%208.79315C0.62499%208.0874%200.624995%207.1829%200.625%206.0287V5.9713C0.624995%204.81712%200.62499%203.9126%200.719875%203.20686C0.816995%202.48449%201.01967%201.91448%201.46707%201.46707C1.91448%201.01967%202.48449%200.816995%203.20686%200.719875C3.9126%200.62499%202.81712%200.624995%203.9713%200.625Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.9713%200.625H4C4.2071%200.625%204.375%200.792895%204.375%201C4.375%201.20711%204.2071%201.375%204%201.375C2.81089%201.375%203.95678%201.3758%203.30679%201.46319C2.66759%201.54913%202.28223%201.71257%201.9974%201.9974C1.71257%202.28223%201.54913%202.66759%201.46319%203.30679C1.3758%203.95678%201.375%204.81089%201.375%206C1.375%207.1891%201.3758%208.0432%201.46319%208.6932C1.54913%209.3324%201.71257%209.71775%201.9974%2010.0026C2.28223%2010.2875%202.66759%2010.4509%203.30679%2010.5368C3.95678%2010.6242%204.81089%2010.625%206%2010.625C7.1891%2010.625%208.0432%2010.6242%208.6932%2010.5368C9.3324%2010.4509%209.71775%2010.2875%2010.0026%2010.0026C10.2875%209.71775%2010.4509%209.3324%2010.5368%208.6932C10.6242%208.0432%2010.625%209.1891%2010.625%208C10.625%207.7929%2010.7929%207.625%2011%207.625C11.2071%207.625%2011.375%207.7929%2011.375%208V8.0287C11.375%209.1829%2011.375%208.0874%2011.2802%208.79315C11.183%209.5155%2010.9804%2010.0856%2010.533%2010.533C10.0856%2010.9804%209.5155%2011.183%208.79315%2011.2802C8.0874%2011.375%207.1829%2011.375%206.0287%2011.375H5.9713C4.81712%2011.375%203.9126%2011.375%203.20686%2011.2802C2.48449%2011.183%201.91448%2010.9804%201.46707%2010.533C1.01967%2010.0856%200.816995%209.5155%200.719875%208.79315C0.62499%208.0874%200.624995%207.1829%200.625%206.0287V5.9713C0.624995%204.81712%200.62499%203.9126%200.719875%203.20686C0.816995%202.48449%201.01967%201.91448%201.46707%201.46707C1.91448%201.01967%202.48449%200.816995%203.20686%200.719875C3.9126%200.62499%202.81712%200.624995%203.9713%200.625Z'%20fill='%23AAAAAA'/%3e%3cpath%20d='M3.9713%200.625L3.9713%201.625H3.9713V0.625ZM3.30679%201.46319L3.17354%200.472103V0.472103L3.30679%201.46319ZM1.9974%201.9974L2.7045%202.70451L2.70451%202.7045L1.9974%201.9974ZM1.46319%203.30679L0.472103%203.17354V3.17354L1.46319%203.30679ZM1.46319%208.6932L0.472102%208.82645L0.472103%208.82645L1.46319%208.6932ZM1.9974%2010.0026L2.70454%209.29552L2.70453%209.29552L1.9974%2010.0026ZM3.30679%2010.5368L3.44005%209.54572L3.43998%209.54571L3.30679%2010.5368ZM8.6932%2010.5368L8.56001%209.54571L8.55994%209.54572L8.6932%2010.5368ZM10.5368%208.6932L9.54572%208.55994L9.54571%208.56001L10.5368%208.6932ZM11.2802%208.79315L12.2712%208.92644L12.2712%208.92635L11.2802%208.79315ZM8.79315%2011.2802L8.92635%2012.2712L8.92644%2012.2712L8.79315%2011.2802ZM3.20686%2011.2802L3.07357%2012.2712L3.07365%2012.2712L3.20686%2011.2802ZM0.719875%208.79315L-0.271208%208.9264L-0.271207%208.9264L0.719875%208.79315ZM0.625%206.0287L1.625%206.0287V6.0287H0.625ZM0.625%205.9713H1.625V5.9713L0.625%205.9713ZM0.719875%203.20686L1.71096%203.3401L1.71096%203.3401L0.719875%203.20686ZM3.20686%200.719875L3.3401%201.71096L3.3401%201.71096L3.20686%200.719875ZM3.9713%200.625V1.625H4V0.625V-0.375H3.9713V0.625ZM4%200.625V1.625C3.65482%201.625%203.375%201.34519%203.375%201H4.375H5.375C5.375%200.240602%204.75938%20-0.375%204%20-0.375V0.625ZM4.375%201H3.375C3.375%200.654812%203.65482%200.375%204%200.375V1.375V2.375C4.75938%202.375%205.375%201.7594%205.375%201H4.375ZM4%201.375V0.375C3.71066%200.375%203.54418%200.374986%203.46085%200.376702C3.4403%200.377125%203.40899%200.377914%203.37671%200.380066C3.36259%200.381007%203.32838%200.383434%203.28672%200.389624C3.26658%200.392616%203.22627%200.399125%203.17675%200.41214C3.15139%200.418807%203.11319%200.429875%203.06812%200.447373C3.02693%200.463368%202.95306%200.494976%202.87015%200.550924C2.79437%200.602055%202.64478%200.717587%202.53873%200.9251C2.4825%201.03513%202.44137%201.1662%202.43144%201.31266C2.42151%201.45907%202.44456%201.5941%202.48504%201.71006C2.56133%201.92859%202.69247%202.06279%202.7597%202.12343C2.83338%202.18987%202.90147%202.23125%202.93963%202.25272C3.0154%202.29533%203.07985%202.31828%203.10313%202.32638C3.13372%202.33702%203.1589%202.34412%203.17327%202.34801C3.20168%202.35568%203.2251%202.3607%203.23381%202.36255C3.24466%202.36485%203.2543%202.36675%203.25835%202.36755C3.29374%202.3745%203.2554%202.36795%203.21312%202.35537C3.20067%202.35167%203.10738%202.32533%202.9995%202.26025C2.9472%202.22869%202.82448%202.14895%202.71533%202.00052C2.58907%201.82883%202.47316%201.54684%202.54283%201.21C2.60428%200.91288%202.77876%200.7353%202.86446%200.661145C2.95626%200.58172%203.04121%200.538334%203.08058%200.519598C3.16106%200.481306%203.2236%200.466252%203.22951%200.464759C3.25285%200.458866%203.24502%200.462492%203.17354%200.472103L3.30679%201.46319L3.44004%202.45427C3.53106%202.44203%203.62961%202.42652%203.71933%202.40385C3.75844%202.39397%203.84418%202.37113%203.93988%202.32559C3.98686%202.30324%204.07743%202.25637%204.17309%202.17359C4.26267%202.09609%204.43928%201.91529%204.50137%201.61508C4.5335%201.45976%204.52791%201.3017%204.48847%201.15334C4.45028%201.00971%204.38643%200.897055%204.32657%200.815662C4.21533%200.664384%204.08928%200.581928%204.03266%200.54777C3.96643%200.507811%203.90852%200.483144%203.87442%200.469725C3.8375%200.455196%203.80565%200.44502%203.78334%200.438383C3.73997%200.425483%203.70296%200.417263%203.68433%200.413266C3.66532%200.40919%203.64543%200.405361%203.64409%200.405097C3.62666%200.401671%203.65828%200.407333%203.69507%200.417276C3.70746%200.420625%203.73092%200.427214%203.76008%200.437353C3.78193%200.444953%203.84524%200.467422%203.92018%200.509576C3.95793%200.530812%204.02569%200.57196%204.09912%200.638182C4.16611%200.698594%204.29709%200.83258%204.3733%201.0509C4.41374%201.16675%204.43677%201.30168%204.42685%201.44797C4.41693%201.59434%204.37583%201.72529%204.31965%201.83523C4.21371%202.04253%204.06431%202.15786%203.98883%202.2088C3.90621%202.26455%203.83273%202.29596%203.79203%202.31177C3.74745%202.32907%203.70984%202.33996%203.68516%202.34644C3.63703%202.35909%203.59852%202.36525%203.58063%202.36791C3.54346%202.37343%203.51554%202.37525%203.50974%202.37564C3.4941%202.37668%203.48759%202.37657%203.50202%202.37628C3.55859%202.37511%203.69478%202.375%204%202.375V1.375ZM3.30679%201.46319L3.17354%200.472103C2.4231%200.572998%201.79172%200.788859%201.29029%201.2903L1.9974%201.9974L2.70451%202.7045C2.77273%202.63628%202.91207%202.52525%203.44004%202.45427L3.30679%201.46319ZM1.9974%201.9974L1.2903%201.29029C0.788859%201.79172%200.572998%202.4231%200.472103%203.17354L1.46319%203.30679L2.45427%203.44004C2.52525%202.91207%202.63628%202.77273%202.7045%202.70451L1.9974%201.9974ZM1.46319%203.30679L0.472103%203.17354C0.373661%203.90573%200.375%204.83948%200.375%206H1.375H2.375C2.375%204.78229%202.37793%204.00783%202.45427%203.44004L1.46319%203.30679ZM1.375%206H0.375C0.375%207.1605%200.373661%208.09425%200.472102%208.82645L1.46319%208.6932L2.45427%208.55995C2.37793%207.99215%202.375%207.2177%202.375%206H1.375ZM1.46319%208.6932L0.472103%208.82645C0.573001%209.57691%200.788866%2010.2082%201.29027%2010.7097L1.9974%2010.0026L2.70453%209.29552C2.63627%209.22726%202.52525%209.08789%202.45427%208.55995L1.46319%208.6932ZM1.9974%2010.0026L1.29026%2010.7097C1.79171%2011.2112%202.42311%2011.427%203.1736%2011.5279L3.30679%2010.5368L3.43998%209.54571C2.91206%209.47477%202.77275%209.36374%202.70454%209.29552L1.9974%2010.0026ZM3.30679%2010.5368L3.17353%2011.5279C3.90572%2011.6263%204.83948%2011.625%206%2011.625V10.625V9.625C4.78229%209.625%204.00784%209.62207%203.44005%209.54572L3.30679%2010.5368ZM6%2010.625V11.625C7.16051%2011.625%208.09426%2011.6263%208.82646%2011.5279L8.6932%2010.5368L8.55994%209.54572C7.99214%209.62207%207.2177%209.625%206%209.625V10.625ZM8.6932%2010.5368L8.82639%2011.5279C9.57689%2011.427%2010.2083%2011.2112%2010.7097%2010.7097L10.0026%2010.0026L9.29549%209.29549C9.22724%209.36375%209.08791%209.47477%208.56001%209.54571L8.6932%2010.5368ZM10.0026%2010.0026L10.7097%2010.7097C11.2112%2010.2083%2011.427%209.57689%2011.5279%208.82639L10.5368%208.6932L9.54571%208.56001C9.47477%209.08791%209.36375%209.22724%209.29549%209.29549L10.0026%2010.0026ZM10.5368%208.6932L11.5279%208.82646C11.5375%208.75498%2011.5411%208.74716%2011.5352%208.7705C11.5337%208.77641%2011.5187%208.83895%2011.4804%208.91944C11.4616%208.95882%2011.4182%209.04376%2011.3388%209.13555C11.2647%209.22126%2011.0871%209.39571%2010.79%209.45716C10.4532%209.52682%2010.1713%209.41096%209.99956%209.28472C9.8511%209.17558%209.77135%209.05286%209.73979%209.00055C9.67469%208.89267%209.64834%208.79936%209.64463%208.78691C9.63205%208.74462%209.6255%208.70628%209.63246%208.74167C9.63326%208.74572%209.63515%208.75536%209.63746%208.76621C9.63931%208.77493%209.64432%208.79835%209.652%208.82676C9.65589%208.84113%209.66299%208.86631%209.67363%208.89689C9.68173%208.92018%209.70468%208.98462%209.74729%209.06037C9.76875%209.09852%209.81011%209.16659%209.87653%209.24024C9.93713%209.30745%2010.0712%209.43853%2010.2896%209.51484C10.4055%209.55533%2010.5405%209.57844%2010.6868%209.56859C10.8333%209.55873%2010.9644%209.51768%2011.0744%209.46149C11.2821%209.35551%2011.3977%209.20591%2011.4489%209.13009C11.5049%209.04715%2011.5366%208.97324%2011.5526%208.93203C11.5701%208.88694%2011.5812%208.84872%2011.5878%208.82334C11.6009%208.7738%2011.6074%208.73347%2011.6104%208.71333C11.6166%208.67165%2011.619%208.63743%2011.6199%208.62331C11.6221%208.59102%2011.6229%208.5597%2011.6233%208.53915C11.625%208.45582%2011.625%208.28934%2011.625%208H10.625H9.625C9.625%208.30521%209.62489%208.44141%209.62372%208.49797C9.62343%208.51239%209.62332%208.50587%209.62436%208.49022C9.62475%208.48442%209.62657%208.45648%209.6321%208.4193C9.63476%208.4014%209.64092%208.36287%209.65359%208.31472C9.66008%208.29003%209.67097%208.2524%209.6883%208.2078C9.70412%208.16708%209.73556%208.09356%209.79137%208.01091C9.84237%207.93538%209.9578%207.78598%2010.1652%207.68011C10.2752%207.62397%2010.4062%207.58295%2010.5525%207.5731C10.6988%207.56326%2010.8336%207.58635%2010.9494%207.6268C11.1676%207.70304%2011.3015%207.83395%2011.3619%207.90092C11.428%207.97432%2011.4692%208.04205%2011.4904%208.0798C11.5326%208.15472%2011.555%208.21802%2011.5626%208.23987C11.5728%208.26903%2011.5794%208.29248%2011.5827%208.30488C11.5927%208.34167%2011.5983%208.37329%2011.5949%208.35586C11.5946%208.35452%2011.5908%208.33463%2011.5867%208.31563C11.5827%208.29699%2011.5745%208.25998%2011.5616%208.2166C11.555%208.19429%2011.5448%208.16244%2011.5302%208.12551C11.5168%208.09141%2011.4922%208.03349%2011.4522%207.96726C11.418%207.91063%2011.3355%207.78459%2011.1842%207.67335C11.1028%207.61351%2010.9902%207.54967%2010.8466%207.5115C10.6982%207.47207%2010.5402%207.46649%2010.3849%207.49862C10.0847%207.56071%209.90394%207.73729%209.82643%207.82686C9.74365%207.92253%209.69678%208.01309%209.67441%208.06008C9.62887%208.15578%209.60602%208.24152%209.59614%208.28063C9.57348%208.37036%209.55796%208.46892%209.54572%208.55994L10.5368%208.6932ZM10.625%208H11.625C11.625%208.34519%2011.3452%208.625%2011%208.625V7.625V6.625C10.2406%206.625%209.625%207.24062%209.625%208H10.625ZM11%207.625V8.625C10.6548%208.625%2010.375%208.34519%2010.375%208H11.375H12.375C12.375%207.24062%2011.7594%206.625%2011%206.625V7.625ZM11.375%208H10.375V8.0287H11.375H12.375V8H11.375ZM11.375%208.0287H10.375C10.375%208.32553%2010.3749%208.45788%2010.3737%208.51485C10.3735%208.52857%2010.3733%208.52408%2010.3742%208.51099C10.3746%208.50496%2010.3759%208.4846%2010.3795%208.45709C10.3813%208.443%2010.3847%208.41961%2010.3905%208.39071C10.3956%208.36559%2010.4072%208.31319%2010.4305%208.24922C10.4425%208.21622%2010.462%208.16798%2010.4923%208.1127C10.5211%208.05994%2010.5723%207.97735%2010.6556%207.89248C10.7405%207.806%2010.8793%207.6967%2011.0787%207.6362C11.2895%207.57223%2011.4996%207.58388%2011.6793%207.6426C11.8451%207.69678%2011.9609%207.7824%2012.0288%207.84209C12.0982%207.90316%2012.1457%207.96208%2012.1741%208.0008C12.229%208.07559%2012.2607%208.14116%2012.2733%208.16818C12.3002%208.22582%2012.315%208.27289%2012.3172%208.27987C12.3198%208.28793%2012.3217%208.29421%2012.3227%208.29752C12.3237%208.30095%2012.3244%208.30333%2012.3245%208.30367C12.3267%208.31151%2012.3189%208.2836%2012.3116%208.26061C12.3051%208.23985%2012.2852%208.17756%2012.2496%208.10502C12.2314%208.06792%2012.1981%208.00523%2012.1454%207.93556C12.0972%207.87198%2011.9946%207.75122%2011.8227%207.65751C11.7315%207.60785%2011.6176%207.56411%2011.4837%207.54495C11.3478%207.52549%2011.2118%207.5344%2011.0837%207.56835C10.8343%207.63441%2010.6761%207.777%2010.5972%207.86322C10.516%207.95198%2010.4675%208.03679%2010.4422%208.08553C10.4146%208.13863%2010.396%208.18555%2010.384%208.21858C10.3605%208.28335%2010.3457%208.34229%2010.3364%208.38287C10.3175%208.46605%2010.3024%208.56055%2010.2891%208.65995L11.2802%208.79315L12.2712%208.92635C12.2816%208.84931%2012.2873%208.82366%2012.2865%208.82716C12.2863%208.8279%2012.2799%208.85712%2012.2642%208.9003C12.2562%208.92254%2012.2413%208.9607%2012.2174%209.00682C12.1957%209.04859%2012.1506%209.12821%2012.0728%209.21333C11.9972%209.29591%2011.8422%209.43639%2011.5959%209.50164C11.3203%209.57467%2011.06%209.5196%2010.8657%209.41368C10.6965%209.3215%2010.5966%209.20331%2010.551%209.1431C10.5008%209.0768%2010.4699%209.01828%2010.4541%208.9859C10.4231%208.9228%2010.4074%208.87216%2010.4046%208.86327C10.4011%208.85215%2010.3966%208.83633%2010.4018%208.85452C10.403%208.85859%2010.4074%208.87399%2010.4133%208.89228C10.4168%208.90331%2010.4328%208.95374%2010.4608%209.01381C10.474%209.04204%2010.5063%209.1086%2010.5617%209.18411C10.5904%209.22318%2010.6381%209.2824%2010.7077%209.34369C10.7758%209.40361%2010.892%209.48938%2011.058%209.54364C11.2379%209.60244%2011.4483%209.6141%2011.6593%209.55005C11.859%209.48948%2011.998%209.38003%2012.0831%209.29332C12.2343%209.13928%2012.2938%208.97734%2012.3095%208.93419C12.35%208.82323%2012.361%208.72886%2012.3628%208.71494C12.3671%208.68204%2012.3691%208.65462%2012.37%208.6396C12.372%208.60855%2012.3728%208.57841%2012.3733%208.55681C12.3751%208.47251%2012.375%208.30897%2012.375%208.0287H11.375ZM11.2802%208.79315L10.2891%208.65986C10.2068%209.27166%2010.0563%209.59535%209.82584%209.82584L10.533%2010.533L11.2401%2011.2401C11.9044%2010.5758%2012.1592%209.75935%2012.2712%208.92644L11.2802%208.79315ZM10.533%2010.533L9.82584%209.82584C9.59535%2010.0563%209.27166%2010.2068%208.65986%2010.2891L8.79315%2011.2802L8.92644%2012.2712C9.75935%2012.1592%2010.5758%2011.9044%2011.2401%2011.2401L10.533%2010.533ZM8.79315%2011.2802L8.65995%2010.2891C8.03598%2010.3729%207.20981%2010.375%206.0287%2010.375V11.375V12.375C7.15599%2012.375%208.13882%2012.3771%208.92635%2012.2712L8.79315%2011.2802ZM6.0287%2011.375V10.375H5.9713V11.375V12.375H6.0287V11.375ZM5.9713%2011.375V10.375C4.79021%2010.375%203.96402%2010.3729%203.34006%2010.2891L3.20686%2011.2802L3.07365%2012.2712C3.86117%2012.3771%204.84403%2012.375%205.9713%2012.375V11.375ZM3.20686%2011.2802L3.34014%2010.2891C2.72835%2010.2068%202.40468%2010.0563%202.17417%209.82584L1.46707%2010.533L0.759967%2011.2401C1.42427%2011.9044%202.24062%2012.1592%203.07357%2012.2712L3.20686%2011.2802ZM1.46707%2010.533L2.17417%209.82584C1.94367%209.59534%201.79321%209.27164%201.71096%208.6599L0.719875%208.79315L-0.271207%208.9264C-0.159216%209.75936%200.0956599%2010.5758%200.759967%2011.2401L1.46707%2010.533ZM0.719875%208.79315L1.71096%208.6599C1.62707%208.03596%201.62499%207.20982%201.625%206.0287L0.625%206.0287L-0.375%206.0287C-0.375005%207.15598%20-0.377091%208.13884%20-0.271208%208.9264L0.719875%208.79315ZM0.625%206.0287H1.625V5.9713H0.625H-0.375V6.0287H0.625ZM0.625%205.9713L1.625%205.9713C1.62499%204.79019%201.62707%203.96404%201.71096%203.3401L0.719875%203.20686L-0.271208%203.07361C-0.377092%203.86115%20-0.375005%204.84404%20-0.375%205.9713L0.625%205.9713ZM0.719875%203.20686L1.71096%203.3401C1.7932%202.72836%201.94366%202.40469%202.17418%202.17418L1.46707%201.46707L0.759963%200.759963C0.095668%201.42426%20-0.159214%202.24061%20-0.271208%203.07361L0.719875%203.20686ZM1.46707%201.46707L2.17418%202.17418C2.40469%201.94366%202.72836%201.7932%203.3401%201.71096L3.20686%200.719875L3.07361%20-0.271208C2.24061%20-0.159214%201.42426%200.095668%200.759963%200.759963L1.46707%201.46707ZM3.20686%200.719875L3.3401%201.71096C3.43951%201.69759%203.53402%201.68251%203.61721%201.66355C3.6578%201.6543%203.71675%201.63946%203.78153%201.61596C3.81457%201.60398%203.8615%201.58532%203.91459%201.55776C3.96335%201.53245%204.04815%201.48391%204.1369%201.40268C4.22312%201.32376%204.36563%201.16555%204.43166%200.916309C4.4656%200.788196%204.47451%200.65223%204.45507%200.516357C4.43593%200.382551%204.39222%200.268605%204.34258%200.177469C4.2489%200.00550866%204.12817%20-0.0970662%204.06458%20-0.145249C3.99491%20-0.198036%203.93222%20-0.231353%203.89511%20-0.249565C3.82255%20-0.285173%203.76025%20-0.305049%203.73948%20-0.311615C3.71648%20-0.318884%203.68857%20-0.326696%203.69641%20-0.324448C3.69674%20-0.324353%203.69913%20-0.32367%203.70255%20-0.32265C3.70587%20-0.321663%203.71215%20-0.31977%203.72021%20-0.317177C3.72719%20-0.314931%203.77426%20-0.300141%203.83191%20-0.273235C3.85893%20-0.260627%203.92451%20-0.228904%203.99931%20-0.173998C4.03803%20-0.145573%204.09696%20-0.0981089%204.15802%20-0.0286779C4.21771%200.039195%204.30332%200.155104%204.35747%200.320876C4.41615%200.500557%204.42775%200.71066%204.36376%200.921461C4.30325%201.12082%204.19396%201.25956%204.10749%201.34441C4.02263%201.42768%203.94006%201.47889%203.8873%201.50773C3.83203%201.53796%203.78379%201.55749%203.75078%201.56952C3.68682%201.59284%203.63442%201.60436%203.6093%201.60945C3.5804%201.61531%203.55701%201.61867%203.54291%201.6205C3.5154%201.62408%203.49504%201.62543%203.48901%201.62582C3.47592%201.62667%203.47143%201.62655%203.48515%201.62626C3.54212%201.62506%203.67447%201.625%203.9713%201.625L3.9713%200.625L3.9713%20-0.375C3.69104%20-0.375001%203.5275%20-0.375069%203.44321%20-0.373301C3.42161%20-0.372848%203.39147%20-0.372041%203.36041%20-0.370039C3.3454%20-0.369072%203.31797%20-0.367083%203.28507%20-0.362806C3.27115%20-0.360995%203.17678%20-0.349975%203.06581%20-0.309525C3.02266%20-0.293793%202.86074%20-0.234256%202.70671%20-0.0831094C2.62001%200.0019666%202.51058%200.140939%202.44999%200.340531C2.38593%200.551568%202.39754%200.76191%202.45631%200.941836C2.51053%201.10785%202.59629%201.22401%202.65621%201.29214C2.71749%201.36182%202.77671%201.40955%202.81579%201.43823C2.89131%201.49367%202.95788%201.52594%202.98611%201.53911C3.04619%201.56716%203.09663%201.58316%203.10766%201.58671C3.12595%201.5926%203.14135%201.59699%203.14542%201.59816C3.1636%201.60337%203.14778%201.59889%203.13666%201.59537C3.12776%201.59256%203.0771%201.57685%203.01398%201.54588C2.98159%201.52998%202.92307%201.4991%202.85677%201.44887C2.79655%201.40324%202.67839%201.30334%202.58624%201.13418C2.48037%200.939821%202.42536%200.679652%202.49835%200.404136C2.56357%200.157957%202.70398%200.00294149%202.78656%20-0.072641C2.87166%20-0.150538%202.95128%20-0.195595%202.99306%20-0.217285C3.03919%20-0.241233%203.07735%20-0.256122%203.0996%20-0.264191C3.14279%20-0.279858%203.17202%20-0.286269%203.17277%20-0.28644C3.17628%20-0.287241%203.15064%20-0.281564%203.07361%20-0.271208L3.20686%200.719875Z'%20fill='white'%20mask='url(%23path-1-inside-1_27625_162385)'/%3e%3cmask%20id='path-3-inside-2_27625_162385'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.3036%201.41736C8.3101%201.42297%208.31655%201.42859%208.32305%201.43423L9.52295%202.47414C9.91055%202.81001%2010.2314%203.08806%2010.4516%203.34093C10.6829%203.60641%2010.8481%203.89346%2010.8481%204.25047C10.8481%204.60748%2010.6829%204.89454%2010.4516%205.16004C10.2314%205.41289%209.9105%205.69094%209.52295%206.02684L8.32305%207.06674C8.31655%207.07234%208.31005%207.07799%208.3036%207.08359C8.14215%207.22359%207.99095%207.35464%207.86035%207.43844C7.73125%207.52129%207.49875%207.63949%207.2404%207.52154C6.98205%207.40354%206.9191%207.15044%206.89715%206.99864C6.87495%206.84504%206.87495%206.64494%206.875%206.43124C6.875%206.42269%206.875%206.41409%206.875%206.40549V6.03369C6.29855%206.08054%205.7176%206.23314%205.2078%206.47534C4.58459%206.77144%204.09414%207.18804%203.83017%207.67824C3.74873%207.82954%203.57491%207.90609%203.40832%207.86409C3.24174%207.82209%203.125%207.67229%203.125%207.50049C3.125%205.56574%203.70637%204.29553%204.54628%203.51198C5.2579%202.8481%206.1194%202.56711%206.875%202.49946V2.09545C6.875%202.08685%206.875%202.07826%206.875%202.0697C6.87495%201.856%206.87495%201.65589%206.89715%201.50233C6.9191%201.35049%206.98205%201.0974%207.2404%200.979433C7.49875%200.861463%207.73125%200.979638%207.86035%201.0625C7.99095%201.14629%208.14215%201.27737%208.3036%201.41736ZM7.6265%201.82502C7.68265%201.87193%207.7498%201.92985%207.83185%202.00099L9.0105%203.02248C9.42475%203.3815%209.7047%203.62528%209.8861%203.83354C10.0605%204.0338%2010.0981%204.15086%2010.0981%204.25047C10.0981%204.35009%2010.0605%204.46715%209.8861%204.66741C9.7047%204.87567%209.42475%205.11944%209.0105%205.47849L7.83185%206.49994C7.7498%206.57109%207.68265%206.62904%207.6265%206.67594C7.6252%206.60279%207.625%206.51414%207.625%206.40549V5.64334C7.625%205.43624%207.4571%205.26834%207.25%205.26834C6.44525%205.26834%205.6089%205.45444%204.88595%205.79794C4.55032%205.95739%204.23335%206.15364%203.95399%206.38559C4.12498%205.26114%204.55483%204.52969%205.0579%204.06039C5.7183%203.4443%206.5555%203.23262%207.25%203.23262C7.4571%203.23262%207.625%203.06472%207.625%202.85762V2.09545C7.625%201.98683%207.6252%201.89817%207.6265%201.82502Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.3036%201.41736C8.3101%201.42297%208.31655%201.42859%208.32305%201.43423L9.52295%202.47414C9.91055%202.81001%2010.2314%203.08806%2010.4516%203.34093C10.6829%203.60641%2010.8481%203.89346%2010.8481%204.25047C10.8481%204.60748%2010.6829%204.89454%2010.4516%205.16004C10.2314%205.41289%209.9105%205.69094%209.52295%206.02684L8.32305%207.06674C8.31655%207.07234%208.31005%207.07799%208.3036%207.08359C8.14215%207.22359%207.99095%207.35464%207.86035%207.43844C7.73125%207.52129%207.49875%207.63949%207.2404%207.52154C6.98205%207.40354%206.9191%207.15044%206.89715%206.99864C6.87495%206.84504%206.87495%206.64494%206.875%206.43124C6.875%206.42269%206.875%206.41409%206.875%206.40549V6.03369C6.29855%206.08054%205.7176%206.23314%205.2078%206.47534C4.58459%206.77144%204.09414%207.18804%203.83017%207.67824C3.74873%207.82954%203.57491%207.90609%203.40832%207.86409C3.24174%207.82209%203.125%207.67229%203.125%207.50049C3.125%205.56574%203.70637%204.29553%204.54628%203.51198C5.2579%202.8481%206.1194%202.56711%206.875%202.49946V2.09545C6.875%202.08685%206.875%202.07826%206.875%202.0697C6.87495%201.856%206.87495%201.65589%206.89715%201.50233C6.9191%201.35049%206.98205%201.0974%207.2404%200.979433C7.49875%200.861463%207.73125%200.979638%207.86035%201.0625C7.99095%201.14629%208.14215%201.27737%208.3036%201.41736ZM7.6265%201.82502C7.68265%201.87193%207.7498%201.92985%207.83185%202.00099L9.0105%203.02248C9.42475%203.3815%209.7047%203.62528%209.8861%203.83354C10.0605%204.0338%2010.0981%204.15086%2010.0981%204.25047C10.0981%204.35009%2010.0605%204.46715%209.8861%204.66741C9.7047%204.87567%209.42475%205.11944%209.0105%205.47849L7.83185%206.49994C7.7498%206.57109%207.68265%206.62904%207.6265%206.67594C7.6252%206.60279%207.625%206.51414%207.625%206.40549V5.64334C7.625%205.43624%207.4571%205.26834%207.25%205.26834C6.44525%205.26834%205.6089%205.45444%204.88595%205.79794C4.55032%205.95739%204.23335%206.15364%203.95399%206.38559C4.12498%205.26114%204.55483%204.52969%205.0579%204.06039C5.7183%203.4443%206.5555%203.23262%207.25%203.23262C7.4571%203.23262%207.625%203.06472%207.625%202.85762V2.09545C7.625%201.98683%207.6252%201.89817%207.6265%201.82502Z'%20fill='%23111111'/%3e%3cpath%20d='M8.3036%201.41736L7.6485%202.17291L7.65022%202.17439L8.3036%201.41736ZM8.32305%201.43423L7.66801%202.18982L7.66812%202.18992L8.32305%201.43423ZM9.52295%202.47414L8.86802%203.22983L8.86807%203.22988L9.52295%202.47414ZM10.4516%203.34093L9.69758%203.99773L9.6976%203.99776L10.4516%203.34093ZM10.4516%205.16004L11.2057%205.81686L11.2057%205.81683L10.4516%205.16004ZM9.52295%206.02684L10.1779%206.78253L10.1779%206.7825L9.52295%206.02684ZM8.32305%207.06674L8.97576%207.82435L8.97797%207.82243L8.32305%207.06674ZM8.3036%207.08359L8.95874%207.8391L8.9592%207.8387L8.3036%207.08359ZM7.86035%207.43844L7.32031%206.5968L7.32025%206.59684L7.86035%207.43844ZM7.2404%207.52154L6.82494%208.43115L6.82509%208.43122L7.2404%207.52154ZM6.89715%206.99864L5.90743%207.14168L5.90744%207.14175L6.89715%206.99864ZM6.875%206.43124L7.875%206.43147V6.43124H6.875ZM6.875%206.03369H7.875V4.94912L6.79399%205.03697L6.875%206.03369ZM5.2078%206.47534L4.77868%205.57209L4.77865%205.5721L5.2078%206.47534ZM3.83017%207.67824L2.94971%207.20412L2.94964%207.20425L3.83017%207.67824ZM4.54628%203.51198L5.22843%204.2432L5.22843%204.24319L4.54628%203.51198ZM6.875%202.49946L6.96417%203.49547L7.875%203.41393V2.49946H6.875ZM6.875%202.0697H7.875L7.875%202.06946L6.875%202.0697ZM6.89715%201.50233L7.88686%201.64542L7.88686%201.64541L6.89715%201.50233ZM7.86035%201.0625L7.32021%201.90407L7.32035%201.90417L7.86035%201.0625ZM7.6265%201.82502L8.26764%201.05759L6.66379%20-0.282327L6.62666%201.80725L7.6265%201.82502ZM7.83185%202.00099L7.17674%202.75652L7.17692%202.75669L7.83185%202.00099ZM9.0105%203.02248L9.66543%202.26679L9.66543%202.26679L9.0105%203.02248ZM9.8861%203.83354L9.13204%204.49034L9.13207%204.49037L9.8861%203.83354ZM9.8861%204.66741L9.13207%204.01056L9.13204%204.0106L9.8861%204.66741ZM9.0105%205.47849L9.66541%206.23419L9.66546%206.23415L9.0105%205.47849ZM7.83185%206.49994L7.17694%205.74423L7.17671%205.74443L7.83185%206.49994ZM7.6265%206.67594L6.62666%206.69371L6.66379%208.783L8.26756%207.44343L7.6265%206.67594ZM4.88595%205.79794L5.31507%206.70119L5.31511%206.70117L4.88595%205.79794ZM3.95399%206.38559L2.96536%206.23525L2.57011%208.83434L4.59279%207.15496L3.95399%206.38559ZM5.0579%204.06039L5.74004%204.79162L5.74005%204.7916L5.0579%204.06039ZM8.3036%201.41736L7.65022%202.17439C7.65603%202.1794%207.65808%202.18121%207.66801%202.18982L8.32305%201.43423L8.97809%200.678635C8.97502%200.675975%208.96417%200.666538%208.95698%200.660326L8.3036%201.41736ZM8.32305%201.43423L7.66812%202.18992L8.86802%203.22983L9.52295%202.47414L10.1779%201.71845L8.97798%200.678538L8.32305%201.43423ZM9.52295%202.47414L8.86807%203.22988C9.27613%203.58347%209.53403%203.80995%209.69758%203.99773L10.4516%203.34093L11.2057%202.68414C10.9288%202.36618%2010.545%202.03655%2010.1778%201.7184L9.52295%202.47414ZM10.4516%203.34093L9.6976%203.99776C9.77599%204.08775%209.81338%204.14799%209.83135%204.18628C9.84596%204.2174%209.8481%204.23406%209.8481%204.25047H10.8481H11.8481C11.8481%203.54978%2011.5122%203.03598%2011.2057%202.68411L10.4516%203.34093ZM10.8481%204.25047H9.8481C9.8481%204.26689%209.84596%204.28356%209.83135%204.31468C9.81337%204.35298%209.77598%204.41324%209.69758%204.50324L10.4516%205.16004L11.2057%205.81683C11.5122%205.46496%2011.8481%204.95117%2011.8481%204.25047H10.8481ZM10.4516%205.16004L9.69761%204.50321C9.53403%204.691%209.27613%204.91743%208.86799%205.27117L9.52295%206.02684L10.1779%206.7825C10.5449%206.46445%2010.9288%206.13477%2011.2057%205.81686L10.4516%205.16004ZM9.52295%206.02684L8.86802%205.27114L7.66812%206.31104L8.32305%207.06674L8.97797%207.82243L10.1779%206.78253L9.52295%206.02684ZM8.32305%207.06674L7.67034%206.30913C7.66202%206.3163%207.6537%206.32353%207.648%206.32848L8.3036%207.08359L8.9592%207.8387C8.9664%207.83245%208.97108%207.82838%208.97576%207.82435L8.32305%207.06674ZM8.3036%207.08359L7.64846%206.32808C7.46716%206.48529%207.37667%206.56063%207.32031%206.5968L7.86035%207.43844L8.40039%208.28008C8.60523%208.14864%208.81714%207.96188%208.95874%207.8391L8.3036%207.08359ZM7.86035%207.43844L7.32025%206.59684C7.29709%206.6117%207.31684%206.59438%207.36902%206.58206C7.39923%206.57492%207.4436%206.5686%207.49795%206.57241C7.55417%206.57634%207.60853%206.59032%207.65571%206.61186L7.2404%207.52154L6.82509%208.43122C7.58127%208.77645%208.21999%208.39585%208.40045%208.28004L7.86035%207.43844ZM7.2404%207.52154L7.65586%206.61193C7.70302%206.63347%207.74916%206.66538%207.78895%206.70528C7.82742%206.74385%207.8517%206.78151%207.86609%206.809C7.89095%206.8565%207.8908%206.88278%207.88686%206.85553L6.89715%206.99864L5.90744%207.14175C5.93813%207.35395%206.06885%208.08581%206.82494%208.43115L7.2404%207.52154ZM6.89715%206.99864L7.88687%206.85559C7.87727%206.78923%207.87494%206.67142%207.875%206.43147L6.875%206.43124L5.875%206.431C5.87496%206.61845%205.87263%206.90085%205.90743%207.14168L6.89715%206.99864ZM6.875%206.43124H7.875C7.875%206.43122%207.875%206.4312%207.875%206.43119C7.875%206.43117%207.875%206.43115%207.875%206.43114C7.875%206.43112%207.875%206.4311%207.875%206.43109C7.875%206.43107%207.875%206.43105%207.875%206.43104C7.875%206.43102%207.875%206.431%207.875%206.43099C7.875%206.43097%207.875%206.43095%207.875%206.43094C7.875%206.43092%207.875%206.4309%207.875%206.43089C7.875%206.43087%207.875%206.43085%207.875%206.43084C7.875%206.43082%207.875%206.4308%207.875%206.43079C7.875%206.43077%207.875%206.43075%207.875%206.43074C7.875%206.43072%207.875%206.4307%207.875%206.43069C7.875%206.43067%207.875%206.43065%207.875%206.43064C7.875%206.43062%207.875%206.4306%207.875%206.43059C7.875%206.43057%207.875%206.43055%207.875%206.43054C7.875%206.43052%207.875%206.4305%207.875%206.43049C7.875%206.43047%207.875%206.43045%207.875%206.43044C7.875%206.43042%207.875%206.4304%207.875%206.43039C7.875%206.43037%207.875%206.43035%207.875%206.43034C7.875%206.43032%207.875%206.4303%207.875%206.43029C7.875%206.43027%207.875%206.43025%207.875%206.43024C7.875%206.43022%207.875%206.4302%207.875%206.43019C7.875%206.43017%207.875%206.43015%207.875%206.43014C7.875%206.43012%207.875%206.4301%207.875%206.43009C7.875%206.43007%207.875%206.43005%207.875%206.43004C7.875%206.43002%207.875%206.43%207.875%206.42999C7.875%206.42997%207.875%206.42995%207.875%206.42993C7.875%206.42992%207.875%206.4299%207.875%206.42988C7.875%206.42987%207.875%206.42985%207.875%206.42983C7.875%206.42982%207.875%206.4298%207.875%206.42978C7.875%206.42977%207.875%206.42975%207.875%206.42973C7.875%206.42972%207.875%206.4297%207.875%206.42968C7.875%206.42967%207.875%206.42965%207.875%206.42963C7.875%206.42962%207.875%206.4296%207.875%206.42958C7.875%206.42957%207.875%206.42955%207.875%206.42953C7.875%206.42952%207.875%206.4295%207.875%206.42948C7.875%206.42947%207.875%206.42945%207.875%206.42943C7.875%206.42942%207.875%206.4294%207.875%206.42938C7.875%206.42937%207.875%206.42935%207.875%206.42933C7.875%206.42932%207.875%206.4293%207.875%206.42928C7.875%206.42927%207.875%206.42925%207.875%206.42923C7.875%206.42922%207.875%206.4292%207.875%206.42918C7.875%206.42917%207.875%206.42915%207.875%206.42913C7.875%206.42912%207.875%206.4291%207.875%206.42908C7.875%206.42907%207.875%206.42905%207.875%206.42903C7.875%206.42902%207.875%206.429%207.875%206.42898C7.875%206.42897%207.875%206.42895%207.875%206.42893C7.875%206.42892%207.875%206.4289%207.875%206.42888C7.875%206.42887%207.875%206.42885%207.875%206.42883C7.875%206.42882%207.875%206.4288%207.875%206.42878C7.875%206.42876%207.875%206.42875%207.875%206.42873C7.875%206.42871%207.875%206.4287%207.875%206.42868C7.875%206.42866%207.875%206.42865%207.875%206.42863C7.875%206.42861%207.875%206.4286%207.875%206.42858C7.875%206.42856%207.875%206.42855%207.875%206.42853C7.875%206.42851%207.875%206.4285%207.875%206.42848C7.875%206.42846%207.875%206.42845%207.875%206.42843C7.875%206.42841%207.875%206.4284%207.875%206.42838C7.875%206.42836%207.875%206.42835%207.875%206.42833C7.875%206.42831%207.875%206.4283%207.875%206.42828C7.875%206.42826%207.875%206.42825%207.875%206.42823C7.875%206.42821%207.875%206.4282%207.875%206.42818C7.875%206.42816%207.875%206.42815%207.875%206.42813C7.875%206.42811%207.875%206.4281%207.875%206.42808C7.875%206.42806%207.875%206.42805%207.875%206.42803C7.875%206.42801%207.875%206.428%207.875%206.42798C7.875%206.42796%207.875%206.42795%207.875%206.42793C7.875%206.42791%207.875%206.4279%207.875%206.42788C7.875%206.42786%207.875%206.42785%207.875%206.42783C7.875%206.42781%207.875%206.4278%207.875%206.42778C7.875%206.42776%207.875%206.42774%207.875%206.42773C7.875%206.42771%207.875%206.42769%207.875%206.42768C7.875%206.42766%207.875%206.42764%207.875%206.42763C7.875%206.42761%207.875%206.42759%207.875%206.42758C7.875%206.42756%207.875%206.42754%207.875%206.42753C7.875%206.42751%207.875%206.42749%207.875%206.42748C7.875%206.42746%207.875%206.42744%207.875%206.42743C7.875%206.42741%207.875%206.42739%207.875%206.42738C7.875%206.42736%207.875%206.42734%207.875%206.42733C7.875%206.42731%207.875%206.42729%207.875%206.42728C7.875%206.42726%207.875%206.42724%207.875%206.42723C7.875%206.42721%207.875%206.42719%207.875%206.42718C7.875%206.42716%207.875%206.42714%207.875%206.42713C7.875%206.42711%207.875%206.42709%207.875%206.42708C7.875%206.42706%207.875%206.42704%207.875%206.42703C7.875%206.42701%207.875%206.42699%207.875%206.42698C7.875%206.42696%207.875%206.42694%207.875%206.42693C7.875%206.42691%207.875%206.42689%207.875%206.42688C7.875%206.42686%207.875%206.42684%207.875%206.42683C7.875%206.42681%207.875%206.42679%207.875%206.42677C7.875%206.42676%207.875%206.42674%207.875%206.42672C7.875%206.42671%207.875%206.42669%207.875%206.42667C7.875%206.42666%207.875%206.42664%207.875%206.42662C7.875%206.42661%207.875%206.42659%207.875%206.42657C7.875%206.42656%207.875%206.42654%207.875%206.42652C7.875%206.42651%207.875%206.42649%207.875%206.42647C7.875%206.42646%207.875%206.42644%207.875%206.42642C7.875%206.42641%207.875%206.42639%207.875%206.42637C7.875%206.42636%207.875%206.42634%207.875%206.42632C7.875%206.42631%207.875%206.42629%207.875%206.42627C7.875%206.42626%207.875%206.42624%207.875%206.42622C7.875%206.42621%207.875%206.42619%207.875%206.42617C7.875%206.42616%207.875%206.42614%207.875%206.42612C7.875%206.42611%207.875%206.42609%207.875%206.42607C7.875%206.42606%207.875%206.42604%207.875%206.42602C7.875%206.42601%207.875%206.42599%207.875%206.42597C7.875%206.42595%207.875%206.42594%207.875%206.42592C7.875%206.4259%207.875%206.42589%207.875%206.42587C7.875%206.42585%207.875%206.42584%207.875%206.42582C7.875%206.4258%207.875%206.42579%207.875%206.42577C7.875%206.42575%207.875%206.42574%207.875%206.42572C7.875%206.4257%207.875%206.42569%207.875%206.42567C7.875%206.42565%207.875%206.42564%207.875%206.42562C7.875%206.4256%207.875%206.42559%207.875%206.42557C7.875%206.42555%207.875%206.42554%207.875%206.42552C7.875%206.4255%207.875%206.42549%207.875%206.42547C7.875%206.42545%207.875%206.42544%207.875%206.42542C7.875%206.4254%207.875%206.42539%207.875%206.42537C7.875%206.42535%207.875%206.42534%207.875%206.42532C7.875%206.4253%207.875%206.42529%207.875%206.42527C7.875%206.42525%207.875%206.42524%207.875%206.42522C7.875%206.4252%207.875%206.42519%207.875%206.42517C7.875%206.42515%207.875%206.42513%207.875%206.42512C7.875%206.4251%207.875%206.42508%207.875%206.42507C7.875%206.42505%207.875%206.42503%207.875%206.42502C7.875%206.425%207.875%206.42498%207.875%206.42497C7.875%206.42495%207.875%206.42493%207.875%206.42492C7.875%206.4249%207.875%206.42488%207.875%206.42487C7.875%206.42485%207.875%206.42483%207.875%206.42482C7.875%206.4248%207.875%206.42478%207.875%206.42477C7.875%206.42475%207.875%206.42473%207.875%206.42472C7.875%206.4247%207.875%206.42468%207.875%206.42467C7.875%206.42465%207.875%206.42463%207.875%206.42462C7.875%206.4246%207.875%206.42458%207.875%206.42457C7.875%206.42455%207.875%206.42453%207.875%206.42452C7.875%206.4245%207.875%206.42448%207.875%206.42447C7.875%206.42445%207.875%206.42443%207.875%206.42442C7.875%206.4244%207.875%206.42438%207.875%206.42436C7.875%206.42435%207.875%206.42433%207.875%206.42431C7.875%206.4243%207.875%206.42428%207.875%206.42426C7.875%206.42425%207.875%206.42423%207.875%206.42421C7.875%206.4242%207.875%206.42418%207.875%206.42416C7.875%206.42415%207.875%206.42413%207.875%206.42411C7.875%206.4241%207.875%206.42408%207.875%206.42406C7.875%206.42405%207.875%206.42403%207.875%206.42401C7.875%206.424%207.875%206.42398%207.875%206.42396C7.875%206.42395%207.875%206.42393%207.875%206.42391C7.875%206.4239%207.875%206.42388%207.875%206.42386C7.875%206.42385%207.875%206.42383%207.875%206.42381C7.875%206.4238%207.875%206.42378%207.875%206.42376C7.875%206.42375%207.875%206.42373%207.875%206.42371C7.875%206.4237%207.875%206.42368%207.875%206.42366C7.875%206.42364%207.875%206.42363%207.875%206.42361C7.875%206.42359%207.875%206.42358%207.875%206.42356C7.875%206.42354%207.875%206.42353%207.875%206.42351C7.875%206.42349%207.875%206.42348%207.875%206.42346C7.875%206.42344%207.875%206.42343%207.875%206.42341C7.875%206.42339%207.875%206.42338%207.875%206.42336C7.875%206.42334%207.875%206.42333%207.875%206.42331C7.875%206.42329%207.875%206.42328%207.875%206.42326C7.875%206.42324%207.875%206.42323%207.875%206.42321C7.875%206.42319%207.875%206.42318%207.875%206.42316C7.875%206.42314%207.875%206.42313%207.875%206.42311C7.875%206.42309%207.875%206.42308%207.875%206.42306C7.875%206.42304%207.875%206.42303%207.875%206.42301C7.875%206.42299%207.875%206.42297%207.875%206.42296C7.875%206.42294%207.875%206.42292%207.875%206.42291C7.875%206.42289%207.875%206.42287%207.875%206.42286C7.875%206.42284%207.875%206.42282%207.875%206.42281C7.875%206.42279%207.875%206.42277%207.875%206.42276C7.875%206.42274%207.875%206.42272%207.875%206.42271C7.875%206.42269%207.875%206.42267%207.875%206.42266C7.875%206.42264%207.875%206.42262%207.875%206.42261C7.875%206.42259%207.875%206.42257%207.875%206.42256C7.875%206.42254%207.875%206.42252%207.875%206.42251C7.875%206.42249%207.875%206.42247%207.875%206.42246C7.875%206.42244%207.875%206.42242%207.875%206.42241C7.875%206.42239%207.875%206.42237%207.875%206.42235C7.875%206.42234%207.875%206.42232%207.875%206.4223C7.875%206.42229%207.875%206.42227%207.875%206.42225C7.875%206.42224%207.875%206.42222%207.875%206.4222C7.875%206.42219%207.875%206.42217%207.875%206.42215C7.875%206.42214%207.875%206.42212%207.875%206.4221C7.875%206.42209%207.875%206.42207%207.875%206.42205C7.875%206.42204%207.875%206.42202%207.875%206.422C7.875%206.42199%207.875%206.42197%207.875%206.42195C7.875%206.42194%207.875%206.42192%207.875%206.4219C7.875%206.42189%207.875%206.42187%207.875%206.42185C7.875%206.42184%207.875%206.42182%207.875%206.4218C7.875%206.42178%207.875%206.42177%207.875%206.42175C7.875%206.42173%207.875%206.42172%207.875%206.4217C7.875%206.42168%207.875%206.42167%207.875%206.42165C7.875%206.42163%207.875%206.42162%207.875%206.4216C7.875%206.42158%207.875%206.42157%207.875%206.42155C7.875%206.42153%207.875%206.42152%207.875%206.4215C7.875%206.42148%207.875%206.42147%207.875%206.42145C7.875%206.42143%207.875%206.42142%207.875%206.4214C7.875%206.42138%207.875%206.42137%207.875%206.42135C7.875%206.42133%207.875%206.42132%207.875%206.4213C7.875%206.42128%207.875%206.42127%207.875%206.42125C7.875%206.42123%207.875%206.42122%207.875%206.4212C7.875%206.42118%207.875%206.42116%207.875%206.42115C7.875%206.42113%207.875%206.42111%207.875%206.4211C7.875%206.42108%207.875%206.42106%207.875%206.42105C7.875%206.42103%207.875%206.42101%207.875%206.421C7.875%206.42098%207.875%206.42096%207.875%206.42095C7.875%206.42093%207.875%206.42091%207.875%206.4209C7.875%206.42088%207.875%206.42086%207.875%206.42085C7.875%206.42083%207.875%206.42081%207.875%206.4208C7.875%206.42078%207.875%206.42076%207.875%206.42075C7.875%206.42073%207.875%206.42071%207.875%206.4207C7.875%206.42068%207.875%206.42066%207.875%206.42065C7.875%206.42063%207.875%206.42061%207.875%206.4206C7.875%206.42058%207.875%206.42056%207.875%206.42054C7.875%206.42053%207.875%206.42051%207.875%206.42049C7.875%206.42048%207.875%206.42046%207.875%206.42044C7.875%206.42043%207.875%206.42041%207.875%206.42039C7.875%206.42038%207.875%206.42036%207.875%206.42034C7.875%206.42033%207.875%206.42031%207.875%206.42029C7.875%206.42028%207.875%206.42026%207.875%206.42024C7.875%206.42023%207.875%206.42021%207.875%206.42019C7.875%206.42018%207.875%206.42016%207.875%206.42014C7.875%206.42013%207.875%206.42011%207.875%206.42009C7.875%206.42008%207.875%206.42006%207.875%206.42004C7.875%206.42002%207.875%206.42001%207.875%206.41999C7.875%206.41997%207.875%206.41996%207.875%206.41994C7.875%206.41992%207.875%206.41991%207.875%206.41989C7.875%206.41987%207.875%206.41986%207.875%206.41984C7.875%206.41982%207.875%206.41981%207.875%206.41979C7.875%206.41977%207.875%206.41976%207.875%206.41974C7.875%206.41972%207.875%206.41971%207.875%206.41969C7.875%206.41967%207.875%206.41966%207.875%206.41964C7.875%206.41962%207.875%206.41961%207.875%206.41959C7.875%206.41957%207.875%206.41956%207.875%206.41954C7.875%206.41952%207.875%206.41951%207.875%206.41949C7.875%206.41947%207.875%206.41946%207.875%206.41944C7.875%206.41942%207.875%206.4194%207.875%206.41939C7.875%206.41937%207.875%206.41935%207.875%206.41934C7.875%206.41932%207.875%206.4193%207.875%206.41929C7.875%206.41927%207.875%206.41925%207.875%206.41924C7.875%206.41922%207.875%206.4192%207.875%206.41919C7.875%206.41917%207.875%206.41915%207.875%206.41914C7.875%206.41912%207.875%206.4191%207.875%206.41909C7.875%206.41907%207.875%206.41905%207.875%206.41904C7.875%206.41902%207.875%206.419%207.875%206.41899C7.875%206.41897%207.875%206.41895%207.875%206.41894C7.875%206.41892%207.875%206.4189%207.875%206.41888C7.875%206.41887%207.875%206.41885%207.875%206.41883C7.875%206.41882%207.875%206.4188%207.875%206.41878C7.875%206.41877%207.875%206.41875%207.875%206.41873C7.875%206.41872%207.875%206.4187%207.875%206.41868C7.875%206.41867%207.875%206.41865%207.875%206.41863C7.875%206.41862%207.875%206.4186%207.875%206.41858C7.875%206.41857%207.875%206.41855%207.875%206.41853C7.875%206.41852%207.875%206.4185%207.875%206.41848C7.875%206.41847%207.875%206.41845%207.875%206.41843C7.875%206.41842%207.875%206.4184%207.875%206.41838C7.875%206.41837%207.875%206.41835%207.875%206.41833C7.875%206.41831%207.875%206.4183%207.875%206.41828C7.875%206.41826%207.875%206.41825%207.875%206.41823C7.875%206.41821%207.875%206.4182%207.875%206.41818C7.875%206.41816%207.875%206.41815%207.875%206.41813C7.875%206.41811%207.875%206.4181%207.875%206.41808C7.875%206.41806%207.875%206.41805%207.875%206.41803C7.875%206.41801%207.875%206.418%207.875%206.41798C7.875%206.41796%207.875%206.41795%207.875%206.41793C7.875%206.41791%207.875%206.4179%207.875%206.41788C7.875%206.41786%207.875%206.41785%207.875%206.41783C7.875%206.41781%207.875%206.41779%207.875%206.41778C7.875%206.41776%207.875%206.41774%207.875%206.41773C7.875%206.41771%207.875%206.41769%207.875%206.41768C7.875%206.41766%207.875%206.41764%207.875%206.41763C7.875%206.41761%207.875%206.41759%207.875%206.41758C7.875%206.41756%207.875%206.41754%207.875%206.41753C7.875%206.41751%207.875%206.41749%207.875%206.41748C7.875%206.41746%207.875%206.41744%207.875%206.41743C7.875%206.41741%207.875%206.41739%207.875%206.41738C7.875%206.41736%207.875%206.41734%207.875%206.41733C7.875%206.41731%207.875%206.41729%207.875%206.41727C7.875%206.41726%207.875%206.41724%207.875%206.41722C7.875%206.41721%207.875%206.41719%207.875%206.41717C7.875%206.41716%207.875%206.41714%207.875%206.41712C7.875%206.41711%207.875%206.41709%207.875%206.41707C7.875%206.41706%207.875%206.41704%207.875%206.41702C7.875%206.41701%207.875%206.41699%207.875%206.41697C7.875%206.41696%207.875%206.41694%207.875%206.41692C7.875%206.41691%207.875%206.41689%207.875%206.41687C7.875%206.41686%207.875%206.41684%207.875%206.41682C7.875%206.4168%207.875%206.41679%207.875%206.41677C7.875%206.41675%207.875%206.41674%207.875%206.41672C7.875%206.4167%207.875%206.41669%207.875%206.41667C7.875%206.41665%207.875%206.41664%207.875%206.41662C7.875%206.4166%207.875%206.41659%207.875%206.41657C7.875%206.41655%207.875%206.41654%207.875%206.41652C7.875%206.4165%207.875%206.41649%207.875%206.41647C7.875%206.41645%207.875%206.41644%207.875%206.41642C7.875%206.4164%207.875%206.41639%207.875%206.41637C7.875%206.41635%207.875%206.41634%207.875%206.41632C7.875%206.4163%207.875%206.41628%207.875%206.41627C7.875%206.41625%207.875%206.41623%207.875%206.41622C7.875%206.4162%207.875%206.41618%207.875%206.41617C7.875%206.41615%207.875%206.41613%207.875%206.41612C7.875%206.4161%207.875%206.41608%207.875%206.41607C7.875%206.41605%207.875%206.41603%207.875%206.41602C7.875%206.416%207.875%206.41598%207.875%206.41597C7.875%206.41595%207.875%206.41593%207.875%206.41592C7.875%206.4159%207.875%206.41588%207.875%206.41587C7.875%206.41585%207.875%206.41583%207.875%206.41581C7.875%206.4158%207.875%206.41578%207.875%206.41576C7.875%206.41575%207.875%206.41573%207.875%206.41571C7.875%206.4157%207.875%206.41568%207.875%206.41566C7.875%206.41565%207.875%206.41563%207.875%206.41561C7.875%206.4156%207.875%206.41558%207.875%206.41556C7.875%206.41555%207.875%206.41553%207.875%206.41551C7.875%206.4155%207.875%206.41548%207.875%206.41546C7.875%206.41545%207.875%206.41543%207.875%206.41541C7.875%206.4154%207.875%206.41538%207.875%206.41536C7.875%206.41535%207.875%206.41533%207.875%206.41531C7.875%206.41529%207.875%206.41528%207.875%206.41526C7.875%206.41524%207.875%206.41523%207.875%206.41521C7.875%206.41519%207.875%206.41518%207.875%206.41516C7.875%206.41514%207.875%206.41513%207.875%206.41511C7.875%206.41509%207.875%206.41508%207.875%206.41506C7.875%206.41504%207.875%206.41503%207.875%206.41501C7.875%206.41499%207.875%206.41498%207.875%206.41496C7.875%206.41494%207.875%206.41493%207.875%206.41491C7.875%206.41489%207.875%206.41488%207.875%206.41486C7.875%206.41484%207.875%206.41482%207.875%206.41481C7.875%206.41479%207.875%206.41477%207.875%206.41476C7.875%206.41474%207.875%206.41472%207.875%206.41471C7.875%206.41469%207.875%206.41467%207.875%206.41466C7.875%206.41464%207.875%206.41462%207.875%206.41461C7.875%206.41459%207.875%206.41457%207.875%206.41456C7.875%206.41454%207.875%206.41452%207.875%206.41451C7.875%206.41449%207.875%206.41447%207.875%206.41446C7.875%206.41444%207.875%206.41442%207.875%206.41441C7.875%206.41439%207.875%206.41437%207.875%206.41435C7.875%206.41434%207.875%206.41432%207.875%206.4143C7.875%206.41429%207.875%206.41427%207.875%206.41425C7.875%206.41424%207.875%206.41422%207.875%206.4142C7.875%206.41419%207.875%206.41417%207.875%206.41415C7.875%206.41414%207.875%206.41412%207.875%206.4141C7.875%206.41409%207.875%206.41407%207.875%206.41405C7.875%206.41404%207.875%206.41402%207.875%206.414C7.875%206.41399%207.875%206.41397%207.875%206.41395C7.875%206.41394%207.875%206.41392%207.875%206.4139C7.875%206.41388%207.875%206.41387%207.875%206.41385C7.875%206.41383%207.875%206.41382%207.875%206.4138C7.875%206.41378%207.875%206.41377%207.875%206.41375C7.875%206.41373%207.875%206.41372%207.875%206.4137C7.875%206.41368%207.875%206.41367%207.875%206.41365C7.875%206.41363%207.875%206.41362%207.875%206.4136C7.875%206.41358%207.875%206.41357%207.875%206.41355C7.875%206.41353%207.875%206.41352%207.875%206.4135C7.875%206.41348%207.875%206.41347%207.875%206.41345C7.875%206.41343%207.875%206.41341%207.875%206.4134C7.875%206.41338%207.875%206.41336%207.875%206.41335C7.875%206.41333%207.875%206.41331%207.875%206.4133C7.875%206.41328%207.875%206.41326%207.875%206.41325C7.875%206.41323%207.875%206.41321%207.875%206.4132C7.875%206.41318%207.875%206.41316%207.875%206.41315C7.875%206.41313%207.875%206.41311%207.875%206.4131C7.875%206.41308%207.875%206.41306%207.875%206.41305C7.875%206.41303%207.875%206.41301%207.875%206.41299C7.875%206.41298%207.875%206.41296%207.875%206.41294C7.875%206.41293%207.875%206.41291%207.875%206.41289C7.875%206.41288%207.875%206.41286%207.875%206.41284C7.875%206.41283%207.875%206.41281%207.875%206.41279C7.875%206.41278%207.875%206.41276%207.875%206.41274C7.875%206.41273%207.875%206.41271%207.875%206.41269C7.875%206.41268%207.875%206.41266%207.875%206.41264C7.875%206.41263%207.875%206.41261%207.875%206.41259C7.875%206.41258%207.875%206.41256%207.875%206.41254C7.875%206.41253%207.875%206.41251%207.875%206.41249C7.875%206.41247%207.875%206.41246%207.875%206.41244C7.875%206.41242%207.875%206.41241%207.875%206.41239C7.875%206.41237%207.875%206.41236%207.875%206.41234C7.875%206.41232%207.875%206.41231%207.875%206.41229C7.875%206.41227%207.875%206.41226%207.875%206.41224C7.875%206.41222%207.875%206.41221%207.875%206.41219C7.875%206.41217%207.875%206.41216%207.875%206.41214C7.875%206.41212%207.875%206.41211%207.875%206.41209C7.875%206.41207%207.875%206.41206%207.875%206.41204C7.875%206.41202%207.875%206.412%207.875%206.41199C7.875%206.41197%207.875%206.41195%207.875%206.41194C7.875%206.41192%207.875%206.4119%207.875%206.41189C7.875%206.41187%207.875%206.41185%207.875%206.41184C7.875%206.41182%207.875%206.4118%207.875%206.41179C7.875%206.41177%207.875%206.41175%207.875%206.41174C7.875%206.41172%207.875%206.4117%207.875%206.41169C7.875%206.41167%207.875%206.41165%207.875%206.41163C7.875%206.41162%207.875%206.4116%207.875%206.41158C7.875%206.41157%207.875%206.41155%207.875%206.41153C7.875%206.41152%207.875%206.4115%207.875%206.41148C7.875%206.41147%207.875%206.41145%207.875%206.41143C7.875%206.41142%207.875%206.4114%207.875%206.41138C7.875%206.41137%207.875%206.41135%207.875%206.41133C7.875%206.41132%207.875%206.4113%207.875%206.41128C7.875%206.41127%207.875%206.41125%207.875%206.41123C7.875%206.41122%207.875%206.4112%207.875%206.41118C7.875%206.41116%207.875%206.41115%207.875%206.41113C7.875%206.41111%207.875%206.4111%207.875%206.41108C7.875%206.41106%207.875%206.41105%207.875%206.41103C7.875%206.41101%207.875%206.411%207.875%206.41098C7.875%206.41096%207.875%206.41095%207.875%206.41093C7.875%206.41091%207.875%206.4109%207.875%206.41088C7.875%206.41086%207.875%206.41085%207.875%206.41083C7.875%206.41081%207.875%206.4108%207.875%206.41078C7.875%206.41076%207.875%206.41075%207.875%206.41073C7.875%206.41071%207.875%206.41069%207.875%206.41068C7.875%206.41066%207.875%206.41064%207.875%206.41063C7.875%206.41061%207.875%206.41059%207.875%206.41058C7.875%206.41056%207.875%206.41054%207.875%206.41053C7.875%206.41051%207.875%206.41049%207.875%206.41048C7.875%206.41046%207.875%206.41044%207.875%206.41043C7.875%206.41041%207.875%206.41039%207.875%206.41038C7.875%206.41036%207.875%206.41034%207.875%206.41033C7.875%206.41031%207.875%206.41029%207.875%206.41027C7.875%206.41026%207.875%206.41024%207.875%206.41022C7.875%206.41021%207.875%206.41019%207.875%206.41017C7.875%206.41016%207.875%206.41014%207.875%206.41012C7.875%206.41011%207.875%206.41009%207.875%206.41007C7.875%206.41006%207.875%206.41004%207.875%206.41002C7.875%206.41001%207.875%206.40999%207.875%206.40997C7.875%206.40996%207.875%206.40994%207.875%206.40992C7.875%206.40991%207.875%206.40989%207.875%206.40987C7.875%206.40985%207.875%206.40984%207.875%206.40982C7.875%206.4098%207.875%206.40979%207.875%206.40977C7.875%206.40975%207.875%206.40974%207.875%206.40972C7.875%206.4097%207.875%206.40969%207.875%206.40967C7.875%206.40965%207.875%206.40964%207.875%206.40962C7.875%206.4096%207.875%206.40959%207.875%206.40957C7.875%206.40955%207.875%206.40954%207.875%206.40952C7.875%206.4095%207.875%206.40949%207.875%206.40947C7.875%206.40945%207.875%206.40944%207.875%206.40942C7.875%206.4094%207.875%206.40938%207.875%206.40937C7.875%206.40935%207.875%206.40933%207.875%206.40932C7.875%206.4093%207.875%206.40928%207.875%206.40927C7.875%206.40925%207.875%206.40923%207.875%206.40922C7.875%206.4092%207.875%206.40918%207.875%206.40917C7.875%206.40915%207.875%206.40913%207.875%206.40912C7.875%206.4091%207.875%206.40908%207.875%206.40907C7.875%206.40905%207.875%206.40903%207.875%206.40902C7.875%206.409%207.875%206.40898%207.875%206.40897C7.875%206.40895%207.875%206.40893%207.875%206.40891C7.875%206.4089%207.875%206.40888%207.875%206.40886C7.875%206.40885%207.875%206.40883%207.875%206.40881C7.875%206.4088%207.875%206.40878%207.875%206.40876C7.875%206.40875%207.875%206.40873%207.875%206.40871C7.875%206.4087%207.875%206.40868%207.875%206.40866C7.875%206.40865%207.875%206.40863%207.875%206.40861C7.875%206.4086%207.875%206.40858%207.875%206.40856C7.875%206.40855%207.875%206.40853%207.875%206.40851C7.875%206.40849%207.875%206.40848%207.875%206.40846C7.875%206.40844%207.875%206.40843%207.875%206.40841C7.875%206.40839%207.875%206.40838%207.875%206.40836C7.875%206.40834%207.875%206.40833%207.875%206.40831C7.875%206.40829%207.875%206.40828%207.875%206.40826C7.875%206.40824%207.875%206.40823%207.875%206.40821C7.875%206.40819%207.875%206.40818%207.875%206.40816C7.875%206.40814%207.875%206.40813%207.875%206.40811C7.875%206.40809%207.875%206.40807%207.875%206.40806C7.875%206.40804%207.875%206.40802%207.875%206.40801C7.875%206.40799%207.875%206.40797%207.875%206.40796C7.875%206.40794%207.875%206.40792%207.875%206.40791C7.875%206.40789%207.875%206.40787%207.875%206.40786C7.875%206.40784%207.875%206.40782%207.875%206.40781C7.875%206.40779%207.875%206.40777%207.875%206.40776C7.875%206.40774%207.875%206.40772%207.875%206.40771C7.875%206.40769%207.875%206.40767%207.875%206.40765C7.875%206.40764%207.875%206.40762%207.875%206.4076C7.875%206.40759%207.875%206.40757%207.875%206.40755C7.875%206.40754%207.875%206.40752%207.875%206.4075C7.875%206.40749%207.875%206.40747%207.875%206.40745C7.875%206.40744%207.875%206.40742%207.875%206.4074C7.875%206.40739%207.875%206.40737%207.875%206.40735C7.875%206.40734%207.875%206.40732%207.875%206.4073C7.875%206.40729%207.875%206.40727%207.875%206.40725C7.875%206.40724%207.875%206.40722%207.875%206.4072C7.875%206.40718%207.875%206.40717%207.875%206.40715C7.875%206.40713%207.875%206.40712%207.875%206.4071C7.875%206.40708%207.875%206.40707%207.875%206.40705C7.875%206.40703%207.875%206.40702%207.875%206.407C7.875%206.40698%207.875%206.40697%207.875%206.40695C7.875%206.40693%207.875%206.40692%207.875%206.4069C7.875%206.40688%207.875%206.40687%207.875%206.40685C7.875%206.40683%207.875%206.40682%207.875%206.4068C7.875%206.40678%207.875%206.40676%207.875%206.40675C7.875%206.40673%207.875%206.40671%207.875%206.4067C7.875%206.40668%207.875%206.40666%207.875%206.40665C7.875%206.40663%207.875%206.40661%207.875%206.4066C7.875%206.40658%207.875%206.40656%207.875%206.40655C7.875%206.40653%207.875%206.40651%207.875%206.4065C7.875%206.40648%207.875%206.40646%207.875%206.40645C7.875%206.40643%207.875%206.40641%207.875%206.40639C7.875%206.40638%207.875%206.40636%207.875%206.40634C7.875%206.40633%207.875%206.40631%207.875%206.40629C7.875%206.40628%207.875%206.40626%207.875%206.40624C7.875%206.40623%207.875%206.40621%207.875%206.40619C7.875%206.40618%207.875%206.40616%207.875%206.40614C7.875%206.40613%207.875%206.40611%207.875%206.40609C7.875%206.40608%207.875%206.40606%207.875%206.40604C7.875%206.40603%207.875%206.40601%207.875%206.40599C7.875%206.40598%207.875%206.40596%207.875%206.40594C7.875%206.40592%207.875%206.40591%207.875%206.40589C7.875%206.40587%207.875%206.40586%207.875%206.40584C7.875%206.40582%207.875%206.40581%207.875%206.40579C7.875%206.40577%207.875%206.40576%207.875%206.40574C7.875%206.40572%207.875%206.40571%207.875%206.40569C7.875%206.40567%207.875%206.40566%207.875%206.40564C7.875%206.40562%207.875%206.40561%207.875%206.40559C7.875%206.40557%207.875%206.40556%207.875%206.40554C7.875%206.40552%207.875%206.40551%207.875%206.40549H6.875H5.875C5.875%206.40551%205.875%206.40552%205.875%206.40554C5.875%206.40556%205.875%206.40557%205.875%206.40559C5.875%206.40561%205.875%206.40562%205.875%206.40564C5.875%206.40566%205.875%206.40567%205.875%206.40569C5.875%206.40571%205.875%206.40572%205.875%206.40574C5.875%206.40576%205.875%206.40577%205.875%206.40579C5.875%206.40581%205.875%206.40582%205.875%206.40584C5.875%206.40586%205.875%206.40587%205.875%206.40589C5.875%206.40591%205.875%206.40592%205.875%206.40594C5.875%206.40596%205.875%206.40598%205.875%206.40599C5.875%206.40601%205.875%206.40603%205.875%206.40604C5.875%206.40606%205.875%206.40608%205.875%206.40609C5.875%206.40611%205.875%206.40613%205.875%206.40614C5.875%206.40616%205.875%206.40618%205.875%206.40619C5.875%206.40621%205.875%206.40623%205.875%206.40624C5.875%206.40626%205.875%206.40628%205.875%206.40629C5.875%206.40631%205.875%206.40633%205.875%206.40634C5.875%206.40636%205.875%206.40638%205.875%206.40639C5.875%206.40641%205.875%206.40643%205.875%206.40645C5.875%206.40646%205.875%206.40648%205.875%206.4065C5.875%206.40651%205.875%206.40653%205.875%206.40655C5.875%206.40656%205.875%206.40658%205.875%206.4066C5.875%206.40661%205.875%206.40663%205.875%206.40665C5.875%206.40666%205.875%206.40668%205.875%206.4067C5.875%206.40671%205.875%206.40673%205.875%206.40675C5.875%206.40676%205.875%206.40678%205.875%206.4068C5.875%206.40682%205.875%206.40683%205.875%206.40685C5.875%206.40687%205.875%206.40688%205.875%206.4069C5.875%206.40692%205.875%206.40693%205.875%206.40695C5.875%206.40697%205.875%206.40698%205.875%206.407C5.875%206.40702%205.875%206.40703%205.875%206.40705C5.875%206.40707%205.875%206.40708%205.875%206.4071C5.875%206.40712%205.875%206.40713%205.875%206.40715C5.875%206.40717%205.875%206.40718%205.875%206.4072C5.875%206.40722%205.875%206.40724%205.875%206.40725C5.875%206.40727%205.875%206.40729%205.875%206.4073C5.875%206.40732%205.875%206.40734%205.875%206.40735C5.875%206.40737%205.875%206.40739%205.875%206.4074C5.875%206.40742%205.875%206.40744%205.875%206.40745C5.875%206.40747%205.875%206.40749%205.875%206.4075C5.875%206.40752%205.875%206.40754%205.875%206.40755C5.875%206.40757%205.875%206.40759%205.875%206.4076C5.875%206.40762%205.875%206.40764%205.875%206.40765C5.875%206.40767%205.875%206.40769%205.875%206.40771C5.875%206.40772%205.875%206.40774%205.875%206.40776C5.875%206.40777%205.875%206.40779%205.875%206.40781C5.875%206.40782%205.875%206.40784%205.875%206.40786C5.875%206.40787%205.875%206.40789%205.875%206.40791C5.875%206.40792%205.875%206.40794%205.875%206.40796C5.875%206.40797%205.875%206.40799%205.875%206.40801C5.875%206.40802%205.875%206.40804%205.875%206.40806C5.875%206.40807%205.875%206.40809%205.875%206.40811C5.875%206.40813%205.875%206.40814%205.875%206.40816C5.875%206.40818%205.875%206.40819%205.875%206.40821C5.875%206.40823%205.875%206.40824%205.875%206.40826C5.875%206.40828%205.875%206.40829%205.875%206.40831C5.875%206.40833%205.875%206.40834%205.875%206.40836C5.875%206.40838%205.875%206.40839%205.875%206.40841C5.875%206.40843%205.875%206.40844%205.875%206.40846C5.875%206.40848%205.875%206.40849%205.875%206.40851C5.875%206.40853%205.875%206.40855%205.875%206.40856C5.875%206.40858%205.875%206.4086%205.875%206.40861C5.875%206.40863%205.875%206.40865%205.875%206.40866C5.875%206.40868%205.875%206.4087%205.875%206.40871C5.875%206.40873%205.875%206.40875%205.875%206.40876C5.875%206.40878%205.875%206.4088%205.875%206.40881C5.875%206.40883%205.875%206.40885%205.875%206.40886C5.875%206.40888%205.875%206.4089%205.875%206.40891C5.875%206.40893%205.875%206.40895%205.875%206.40897C5.875%206.40898%205.875%206.409%205.875%206.40902C5.875%206.40903%205.875%206.40905%205.875%206.40907C5.875%206.40908%205.875%206.4091%205.875%206.40912C5.875%206.40913%205.875%206.40915%205.875%206.40917C5.875%206.40918%205.875%206.4092%205.875%206.40922C5.875%206.40923%205.875%206.40925%205.875%206.40927C5.875%206.40928%205.875%206.4093%205.875%206.40932C5.875%206.40933%205.875%206.40935%205.875%206.40937C5.875%206.40938%205.875%206.4094%205.875%206.40942C5.875%206.40944%205.875%206.40945%205.875%206.40947C5.875%206.40949%205.875%206.4095%205.875%206.40952C5.875%206.40954%205.875%206.40955%205.875%206.40957C5.875%206.40959%205.875%206.4096%205.875%206.40962C5.875%206.40964%205.875%206.40965%205.875%206.40967C5.875%206.40969%205.875%206.4097%205.875%206.40972C5.875%206.40974%205.875%206.40975%205.875%206.40977C5.875%206.40979%205.875%206.4098%205.875%206.40982C5.875%206.40984%205.875%206.40985%205.875%206.40987C5.875%206.40989%205.875%206.40991%205.875%206.40992C5.875%206.40994%205.875%206.40996%205.875%206.40997C5.875%206.40999%205.875%206.41001%205.875%206.41002C5.875%206.41004%205.875%206.41006%205.875%206.41007C5.875%206.41009%205.875%206.41011%205.875%206.41012C5.875%206.41014%205.875%206.41016%205.875%206.41017C5.875%206.41019%205.875%206.41021%205.875%206.41022C5.875%206.41024%205.875%206.41026%205.875%206.41027C5.875%206.41029%205.875%206.41031%205.875%206.41033C5.875%206.41034%205.875%206.41036%205.875%206.41038C5.875%206.41039%205.875%206.41041%205.875%206.41043C5.875%206.41044%205.875%206.41046%205.875%206.41048C5.875%206.41049%205.875%206.41051%205.875%206.41053C5.875%206.41054%205.875%206.41056%205.875%206.41058C5.875%206.41059%205.875%206.41061%205.875%206.41063C5.875%206.41064%205.875%206.41066%205.875%206.41068C5.875%206.41069%205.875%206.41071%205.875%206.41073C5.875%206.41075%205.875%206.41076%205.875%206.41078C5.875%206.4108%205.875%206.41081%205.875%206.41083C5.875%206.41085%205.875%206.41086%205.875%206.41088C5.875%206.4109%205.875%206.41091%205.875%206.41093C5.875%206.41095%205.875%206.41096%205.875%206.41098C5.875%206.411%205.875%206.41101%205.875%206.41103C5.875%206.41105%205.875%206.41106%205.875%206.41108C5.875%206.4111%205.875%206.41111%205.875%206.41113C5.875%206.41115%205.875%206.41116%205.875%206.41118C5.875%206.4112%205.875%206.41122%205.875%206.41123C5.875%206.41125%205.875%206.41127%205.875%206.41128C5.875%206.4113%205.875%206.41132%205.875%206.41133C5.875%206.41135%205.875%206.41137%205.875%206.41138C5.875%206.4114%205.875%206.41142%205.875%206.41143C5.875%206.41145%205.875%206.41147%205.875%206.41148C5.875%206.4115%205.875%206.41152%205.875%206.41153C5.875%206.41155%205.875%206.41157%205.875%206.41158C5.875%206.4116%205.875%206.41162%205.875%206.41163C5.875%206.41165%205.875%206.41167%205.875%206.41169C5.875%206.4117%205.875%206.41172%205.875%206.41174C5.875%206.41175%205.875%206.41177%205.875%206.41179C5.875%206.4118%205.875%206.41182%205.875%206.41184C5.875%206.41185%205.875%206.41187%205.875%206.41189C5.875%206.4119%205.875%206.41192%205.875%206.41194C5.875%206.41195%205.875%206.41197%205.875%206.41199C5.875%206.412%205.875%206.41202%205.875%206.41204C5.875%206.41206%205.875%206.41207%205.875%206.41209C5.875%206.41211%205.875%206.41212%205.875%206.41214C5.875%206.41216%205.875%206.41217%205.875%206.41219C5.875%206.41221%205.875%206.41222%205.875%206.41224C5.875%206.41226%205.875%206.41227%205.875%206.41229C5.875%206.41231%205.875%206.41232%205.875%206.41234C5.875%206.41236%205.875%206.41237%205.875%206.41239C5.875%206.41241%205.875%206.41242%205.875%206.41244C5.875%206.41246%205.875%206.41247%205.875%206.41249C5.875%206.41251%205.875%206.41253%205.875%206.41254C5.875%206.41256%205.875%206.41258%205.875%206.41259C5.875%206.41261%205.875%206.41263%205.875%206.41264C5.875%206.41266%205.875%206.41268%205.875%206.41269C5.875%206.41271%205.875%206.41273%205.875%206.41274C5.875%206.41276%205.875%206.41278%205.875%206.41279C5.875%206.41281%205.875%206.41283%205.875%206.41284C5.875%206.41286%205.875%206.41288%205.875%206.41289C5.875%206.41291%205.875%206.41293%205.875%206.41294C5.875%206.41296%205.875%206.41298%205.875%206.41299C5.875%206.41301%205.875%206.41303%205.875%206.41305C5.875%206.41306%205.875%206.41308%205.875%206.4131C5.875%206.41311%205.875%206.41313%205.875%206.41315C5.875%206.41316%205.875%206.41318%205.875%206.4132C5.875%206.41321%205.875%206.41323%205.875%206.41325C5.875%206.41326%205.875%206.41328%205.875%206.4133C5.875%206.41331%205.875%206.41333%205.875%206.41335C5.875%206.41336%205.875%206.41338%205.875%206.4134C5.875%206.41341%205.875%206.41343%205.875%206.41345C5.875%206.41347%205.875%206.41348%205.875%206.4135C5.875%206.41352%205.875%206.41353%205.875%206.41355C5.875%206.41357%205.875%206.41358%205.875%206.4136C5.875%206.41362%205.875%206.41363%205.875%206.41365C5.875%206.41367%205.875%206.41368%205.875%206.4137C5.875%206.41372%205.875%206.41373%205.875%206.41375C5.875%206.41377%205.875%206.41378%205.875%206.4138C5.875%206.41382%205.875%206.41383%205.875%206.41385C5.875%206.41387%205.875%206.41388%205.875%206.4139C5.875%206.41392%205.875%206.41394%205.875%206.41395C5.875%206.41397%205.875%206.41399%205.875%206.414C5.875%206.41402%205.875%206.41404%205.875%206.41405C5.875%206.41407%205.875%206.41409%205.875%206.4141C5.875%206.41412%205.875%206.41414%205.875%206.41415C5.875%206.41417%205.875%206.41419%205.875%206.4142C5.875%206.41422%205.875%206.41424%205.875%206.41425C5.875%206.41427%205.875%206.41429%205.875%206.4143C5.875%206.41432%205.875%206.41434%205.875%206.41435C5.875%206.41437%205.875%206.41439%205.875%206.41441C5.875%206.41442%205.875%206.41444%205.875%206.41446C5.875%206.41447%205.875%206.41449%205.875%206.41451C5.875%206.41452%205.875%206.41454%205.875%206.41456C5.875%206.41457%205.875%206.41459%205.875%206.41461C5.875%206.41462%205.875%206.41464%205.875%206.41466C5.875%206.41467%205.875%206.41469%205.875%206.41471C5.875%206.41472%205.875%206.41474%205.875%206.41476C5.875%206.41477%205.875%206.41479%205.875%206.41481C5.875%206.41482%205.875%206.41484%205.875%206.41486C5.875%206.41488%205.875%206.41489%205.875%206.41491C5.875%206.41493%205.875%206.41494%205.875%206.41496C5.875%206.41498%205.875%206.41499%205.875%206.41501C5.875%206.41503%205.875%206.41504%205.875%206.41506C5.875%206.41508%205.875%206.41509%205.875%206.41511C5.875%206.41513%205.875%206.41514%205.875%206.41516C5.875%206.41518%205.875%206.41519%205.875%206.41521C5.875%206.41523%205.875%206.41524%205.875%206.41526C5.875%206.41528%205.875%206.41529%205.875%206.41531C5.875%206.41533%205.875%206.41535%205.875%206.41536C5.875%206.41538%205.875%206.4154%205.875%206.41541C5.875%206.41543%205.875%206.41545%205.875%206.41546C5.875%206.41548%205.875%206.4155%205.875%206.41551C5.875%206.41553%205.875%206.41555%205.875%206.41556C5.875%206.41558%205.875%206.4156%205.875%206.41561C5.875%206.41563%205.875%206.41565%205.875%206.41566C5.875%206.41568%205.875%206.4157%205.875%206.41571C5.875%206.41573%205.875%206.41575%205.875%206.41576C5.875%206.41578%205.875%206.4158%205.875%206.41581C5.875%206.41583%205.875%206.41585%205.875%206.41587C5.875%206.41588%205.875%206.4159%205.875%206.41592C5.875%206.41593%205.875%206.41595%205.875%206.41597C5.875%206.41598%205.875%206.416%205.875%206.41602C5.875%206.41603%205.875%206.41605%205.875%206.41607C5.875%206.41608%205.875%206.4161%205.875%206.41612C5.875%206.41613%205.875%206.41615%205.875%206.41617C5.875%206.41618%205.875%206.4162%205.875%206.41622C5.875%206.41623%205.875%206.41625%205.875%206.41627C5.875%206.41628%205.875%206.4163%205.875%206.41632C5.875%206.41634%205.875%206.41635%205.875%206.41637C5.875%206.41639%205.875%206.4164%205.875%206.41642C5.875%206.41644%205.875%206.41645%205.875%206.41647C5.875%206.41649%205.875%206.4165%205.875%206.41652C5.875%206.41654%205.875%206.41655%205.875%206.41657C5.875%206.41659%205.875%206.4166%205.875%206.41662C5.875%206.41664%205.875%206.41665%205.875%206.41667C5.875%206.41669%205.875%206.4167%205.875%206.41672C5.875%206.41674%205.875%206.41675%205.875%206.41677C5.875%206.41679%205.875%206.4168%205.875%206.41682C5.875%206.41684%205.875%206.41686%205.875%206.41687C5.875%206.41689%205.875%206.41691%205.875%206.41692C5.875%206.41694%205.875%206.41696%205.875%206.41697C5.875%206.41699%205.875%206.41701%205.875%206.41702C5.875%206.41704%205.875%206.41706%205.875%206.41707C5.875%206.41709%205.875%206.41711%205.875%206.41712C5.875%206.41714%205.875%206.41716%205.875%206.41717C5.875%206.41719%205.875%206.41721%205.875%206.41722C5.875%206.41724%205.875%206.41726%205.875%206.41727C5.875%206.41729%205.875%206.41731%205.875%206.41733C5.875%206.41734%205.875%206.41736%205.875%206.41738C5.875%206.41739%205.875%206.41741%205.875%206.41743C5.875%206.41744%205.875%206.41746%205.875%206.41748C5.875%206.41749%205.875%206.41751%205.875%206.41753C5.875%206.41754%205.875%206.41756%205.875%206.41758C5.875%206.41759%205.875%206.41761%205.875%206.41763C5.875%206.41764%205.875%206.41766%205.875%206.41768C5.875%206.41769%205.875%206.41771%205.875%206.41773C5.875%206.41774%205.875%206.41776%205.875%206.41778C5.875%206.41779%205.875%206.41781%205.875%206.41783C5.875%206.41785%205.875%206.41786%205.875%206.41788C5.875%206.4179%205.875%206.41791%205.875%206.41793C5.875%206.41795%205.875%206.41796%205.875%206.41798C5.875%206.418%205.875%206.41801%205.875%206.41803C5.875%206.41805%205.875%206.41806%205.875%206.41808C5.875%206.4181%205.875%206.41811%205.875%206.41813C5.875%206.41815%205.875%206.41816%205.875%206.41818C5.875%206.4182%205.875%206.41821%205.875%206.41823C5.875%206.41825%205.875%206.41826%205.875%206.41828C5.875%206.4183%205.875%206.41831%205.875%206.41833C5.875%206.41835%205.875%206.41837%205.875%206.41838C5.875%206.4184%205.875%206.41842%205.875%206.41843C5.875%206.41845%205.875%206.41847%205.875%206.41848C5.875%206.4185%205.875%206.41852%205.875%206.41853C5.875%206.41855%205.875%206.41857%205.875%206.41858C5.875%206.4186%205.875%206.41862%205.875%206.41863C5.875%206.41865%205.875%206.41867%205.875%206.41868C5.875%206.4187%205.875%206.41872%205.875%206.41873C5.875%206.41875%205.875%206.41877%205.875%206.41878C5.875%206.4188%205.875%206.41882%205.875%206.41883C5.875%206.41885%205.875%206.41887%205.875%206.41888C5.875%206.4189%205.875%206.41892%205.875%206.41894C5.875%206.41895%205.875%206.41897%205.875%206.41899C5.875%206.419%205.875%206.41902%205.875%206.41904C5.875%206.41905%205.875%206.41907%205.875%206.41909C5.875%206.4191%205.875%206.41912%205.875%206.41914C5.875%206.41915%205.875%206.41917%205.875%206.41919C5.875%206.4192%205.875%206.41922%205.875%206.41924C5.875%206.41925%205.875%206.41927%205.875%206.41929C5.875%206.4193%205.875%206.41932%205.875%206.41934C5.875%206.41935%205.875%206.41937%205.875%206.41939C5.875%206.4194%205.875%206.41942%205.875%206.41944C5.875%206.41946%205.875%206.41947%205.875%206.41949C5.875%206.41951%205.875%206.41952%205.875%206.41954C5.875%206.41956%205.875%206.41957%205.875%206.41959C5.875%206.41961%205.875%206.41962%205.875%206.41964C5.875%206.41966%205.875%206.41967%205.875%206.41969C5.875%206.41971%205.875%206.41972%205.875%206.41974C5.875%206.41976%205.875%206.41977%205.875%206.41979C5.875%206.41981%205.875%206.41982%205.875%206.41984C5.875%206.41986%205.875%206.41987%205.875%206.41989C5.875%206.41991%205.875%206.41992%205.875%206.41994C5.875%206.41996%205.875%206.41997%205.875%206.41999C5.875%206.42001%205.875%206.42002%205.875%206.42004C5.875%206.42006%205.875%206.42008%205.875%206.42009C5.875%206.42011%205.875%206.42013%205.875%206.42014C5.875%206.42016%205.875%206.42018%205.875%206.42019C5.875%206.42021%205.875%206.42023%205.875%206.42024C5.875%206.42026%205.875%206.42028%205.875%206.42029C5.875%206.42031%205.875%206.42033%205.875%206.42034C5.875%206.42036%205.875%206.42038%205.875%206.42039C5.875%206.42041%205.875%206.42043%205.875%206.42044C5.875%206.42046%205.875%206.42048%205.875%206.42049C5.875%206.42051%205.875%206.42053%205.875%206.42054C5.875%206.42056%205.875%206.42058%205.875%206.4206C5.875%206.42061%205.875%206.42063%205.875%206.42065C5.875%206.42066%205.875%206.42068%205.875%206.4207C5.875%206.42071%205.875%206.42073%205.875%206.42075C5.875%206.42076%205.875%206.42078%205.875%206.4208C5.875%206.42081%205.875%206.42083%205.875%206.42085C5.875%206.42086%205.875%206.42088%205.875%206.4209C5.875%206.42091%205.875%206.42093%205.875%206.42095C5.875%206.42096%205.875%206.42098%205.875%206.421C5.875%206.42101%205.875%206.42103%205.875%206.42105C5.875%206.42106%205.875%206.42108%205.875%206.4211C5.875%206.42111%205.875%206.42113%205.875%206.42115C5.875%206.42116%205.875%206.42118%205.875%206.4212C5.875%206.42122%205.875%206.42123%205.875%206.42125C5.875%206.42127%205.875%206.42128%205.875%206.4213C5.875%206.42132%205.875%206.42133%205.875%206.42135C5.875%206.42137%205.875%206.42138%205.875%206.4214C5.875%206.42142%205.875%206.42143%205.875%206.42145C5.875%206.42147%205.875%206.42148%205.875%206.4215C5.875%206.42152%205.875%206.42153%205.875%206.42155C5.875%206.42157%205.875%206.42158%205.875%206.4216C5.875%206.42162%205.875%206.42163%205.875%206.42165C5.875%206.42167%205.875%206.42168%205.875%206.4217C5.875%206.42172%205.875%206.42173%205.875%206.42175C5.875%206.42177%205.875%206.42178%205.875%206.4218C5.875%206.42182%205.875%206.42184%205.875%206.42185C5.875%206.42187%205.875%206.42189%205.875%206.4219C5.875%206.42192%205.875%206.42194%205.875%206.42195C5.875%206.42197%205.875%206.42199%205.875%206.422C5.875%206.42202%205.875%206.42204%205.875%206.42205C5.875%206.42207%205.875%206.42209%205.875%206.4221C5.875%206.42212%205.875%206.42214%205.875%206.42215C5.875%206.42217%205.875%206.42219%205.875%206.4222C5.875%206.42222%205.875%206.42224%205.875%206.42225C5.875%206.42227%205.875%206.42229%205.875%206.4223C5.875%206.42232%205.875%206.42234%205.875%206.42235C5.875%206.42237%205.875%206.42239%205.875%206.42241C5.875%206.42242%205.875%206.42244%205.875%206.42246C5.875%206.42247%205.875%206.42249%205.875%206.42251C5.875%206.42252%205.875%206.42254%205.875%206.42256C5.875%206.42257%205.875%206.42259%205.875%206.42261C5.875%206.42262%205.875%206.42264%205.875%206.42266C5.875%206.42267%205.875%206.42269%205.875%206.42271C5.875%206.42272%205.875%206.42274%205.875%206.42276C5.875%206.42277%205.875%206.42279%205.875%206.42281C5.875%206.42282%205.875%206.42284%205.875%206.42286C5.875%206.42287%205.875%206.42289%205.875%206.42291C5.875%206.42292%205.875%206.42294%205.875%206.42296C5.875%206.42297%205.875%206.42299%205.875%206.42301C5.875%206.42303%205.875%206.42304%205.875%206.42306C5.875%206.42308%205.875%206.42309%205.875%206.42311C5.875%206.42313%205.875%206.42314%205.875%206.42316C5.875%206.42318%205.875%206.42319%205.875%206.42321C5.875%206.42323%205.875%206.42324%205.875%206.42326C5.875%206.42328%205.875%206.42329%205.875%206.42331C5.875%206.42333%205.875%206.42334%205.875%206.42336C5.875%206.42338%205.875%206.42339%205.875%206.42341C5.875%206.42343%205.875%206.42344%205.875%206.42346C5.875%206.42348%205.875%206.42349%205.875%206.42351C5.875%206.42353%205.875%206.42354%205.875%206.42356C5.875%206.42358%205.875%206.42359%205.875%206.42361C5.875%206.42363%205.875%206.42364%205.875%206.42366C5.875%206.42368%205.875%206.4237%205.875%206.42371C5.875%206.42373%205.875%206.42375%205.875%206.42376C5.875%206.42378%205.875%206.4238%205.875%206.42381C5.875%206.42383%205.875%206.42385%205.875%206.42386C5.875%206.42388%205.875%206.4239%205.875%206.42391C5.875%206.42393%205.875%206.42395%205.875%206.42396C5.875%206.42398%205.875%206.424%205.875%206.42401C5.875%206.42403%205.875%206.42405%205.875%206.42406C5.875%206.42408%205.875%206.4241%205.875%206.42411C5.875%206.42413%205.875%206.42415%205.875%206.42416C5.875%206.42418%205.875%206.4242%205.875%206.42421C5.875%206.42423%205.875%206.42425%205.875%206.42426C5.875%206.42428%205.875%206.4243%205.875%206.42431C5.875%206.42433%205.875%206.42435%205.875%206.42436C5.875%206.42438%205.875%206.4244%205.875%206.42442C5.875%206.42443%205.875%206.42445%205.875%206.42447C5.875%206.42448%205.875%206.4245%205.875%206.42452C5.875%206.42453%205.875%206.42455%205.875%206.42457C5.875%206.42458%205.875%206.4246%205.875%206.42462C5.875%206.42463%205.875%206.42465%205.875%206.42467C5.875%206.42468%205.875%206.4247%205.875%206.42472C5.875%206.42473%205.875%206.42475%205.875%206.42477C5.875%206.42478%205.875%206.4248%205.875%206.42482C5.875%206.42483%205.875%206.42485%205.875%206.42487C5.875%206.42488%205.875%206.4249%205.875%206.42492C5.875%206.42493%205.875%206.42495%205.875%206.42497C5.875%206.42498%205.875%206.425%205.875%206.42502C5.875%206.42503%205.875%206.42505%205.875%206.42507C5.875%206.42508%205.875%206.4251%205.875%206.42512C5.875%206.42513%205.875%206.42515%205.875%206.42517C5.875%206.42519%205.875%206.4252%205.875%206.42522C5.875%206.42524%205.875%206.42525%205.875%206.42527C5.875%206.42529%205.875%206.4253%205.875%206.42532C5.875%206.42534%205.875%206.42535%205.875%206.42537C5.875%206.42539%205.875%206.4254%205.875%206.42542C5.875%206.42544%205.875%206.42545%205.875%206.42547C5.875%206.42549%205.875%206.4255%205.875%206.42552C5.875%206.42554%205.875%206.42555%205.875%206.42557C5.875%206.42559%205.875%206.4256%205.875%206.42562C5.875%206.42564%205.875%206.42565%205.875%206.42567C5.875%206.42569%205.875%206.4257%205.875%206.42572C5.875%206.42574%205.875%206.42575%205.875%206.42577C5.875%206.42579%205.875%206.4258%205.875%206.42582C5.875%206.42584%205.875%206.42585%205.875%206.42587C5.875%206.42589%205.875%206.4259%205.875%206.42592C5.875%206.42594%205.875%206.42595%205.875%206.42597C5.875%206.42599%205.875%206.42601%205.875%206.42602C5.875%206.42604%205.875%206.42606%205.875%206.42607C5.875%206.42609%205.875%206.42611%205.875%206.42612C5.875%206.42614%205.875%206.42616%205.875%206.42617C5.875%206.42619%205.875%206.42621%205.875%206.42622C5.875%206.42624%205.875%206.42626%205.875%206.42627C5.875%206.42629%205.875%206.42631%205.875%206.42632C5.875%206.42634%205.875%206.42636%205.875%206.42637C5.875%206.42639%205.875%206.42641%205.875%206.42642C5.875%206.42644%205.875%206.42646%205.875%206.42647C5.875%206.42649%205.875%206.42651%205.875%206.42652C5.875%206.42654%205.875%206.42656%205.875%206.42657C5.875%206.42659%205.875%206.42661%205.875%206.42662C5.875%206.42664%205.875%206.42666%205.875%206.42667C5.875%206.42669%205.875%206.42671%205.875%206.42672C5.875%206.42674%205.875%206.42676%205.875%206.42677C5.875%206.42679%205.875%206.42681%205.875%206.42683C5.875%206.42684%205.875%206.42686%205.875%206.42688C5.875%206.42689%205.875%206.42691%205.875%206.42693C5.875%206.42694%205.875%206.42696%205.875%206.42698C5.875%206.42699%205.875%206.42701%205.875%206.42703C5.875%206.42704%205.875%206.42706%205.875%206.42708C5.875%206.42709%205.875%206.42711%205.875%206.42713C5.875%206.42714%205.875%206.42716%205.875%206.42718C5.875%206.42719%205.875%206.42721%205.875%206.42723C5.875%206.42724%205.875%206.42726%205.875%206.42728C5.875%206.42729%205.875%206.42731%205.875%206.42733C5.875%206.42734%205.875%206.42736%205.875%206.42738C5.875%206.42739%205.875%206.42741%205.875%206.42743C5.875%206.42744%205.875%206.42746%205.875%206.42748C5.875%206.42749%205.875%206.42751%205.875%206.42753C5.875%206.42754%205.875%206.42756%205.875%206.42758C5.875%206.42759%205.875%206.42761%205.875%206.42763C5.875%206.42764%205.875%206.42766%205.875%206.42768C5.875%206.42769%205.875%206.42771%205.875%206.42773C5.875%206.42774%205.875%206.42776%205.875%206.42778C5.875%206.4278%205.875%206.42781%205.875%206.42783C5.875%206.42785%205.875%206.42786%205.875%206.42788C5.875%206.4279%205.875%206.42791%205.875%206.42793C5.875%206.42795%205.875%206.42796%205.875%206.42798C5.875%206.428%205.875%206.42801%205.875%206.42803C5.875%206.42805%205.875%206.42806%205.875%206.42808C5.875%206.4281%205.875%206.42811%205.875%206.42813C5.875%206.42815%205.875%206.42816%205.875%206.42818C5.875%206.4282%205.875%206.42821%205.875%206.42823C5.875%206.42825%205.875%206.42826%205.875%206.42828C5.875%206.4283%205.875%206.42831%205.875%206.42833C5.875%206.42835%205.875%206.42836%205.875%206.42838C5.875%206.4284%205.875%206.42841%205.875%206.42843C5.875%206.42845%205.875%206.42846%205.875%206.42848C5.875%206.4285%205.875%206.42851%205.875%206.42853C5.875%206.42855%205.875%206.42856%205.875%206.42858C5.875%206.4286%205.875%206.42861%205.875%206.42863C5.875%206.42865%205.875%206.42866%205.875%206.42868C5.875%206.4287%205.875%206.42871%205.875%206.42873C5.875%206.42875%205.875%206.42876%205.875%206.42878C5.875%206.4288%205.875%206.42882%205.875%206.42883C5.875%206.42885%205.875%206.42887%205.875%206.42888C5.875%206.4289%205.875%206.42892%205.875%206.42893C5.875%206.42895%205.875%206.42897%205.875%206.42898C5.875%206.429%205.875%206.42902%205.875%206.42903C5.875%206.42905%205.875%206.42907%205.875%206.42908C5.875%206.4291%205.875%206.42912%205.875%206.42913C5.875%206.42915%205.875%206.42917%205.875%206.42918C5.875%206.4292%205.875%206.42922%205.875%206.42923C5.875%206.42925%205.875%206.42927%205.875%206.42928C5.875%206.4293%205.875%206.42932%205.875%206.42933C5.875%206.42935%205.875%206.42937%205.875%206.42938C5.875%206.4294%205.875%206.42942%205.875%206.42943C5.875%206.42945%205.875%206.42947%205.875%206.42948C5.875%206.4295%205.875%206.42952%205.875%206.42953C5.875%206.42955%205.875%206.42957%205.875%206.42958C5.875%206.4296%205.875%206.42962%205.875%206.42963C5.875%206.42965%205.875%206.42967%205.875%206.42968C5.875%206.4297%205.875%206.42972%205.875%206.42973C5.875%206.42975%205.875%206.42977%205.875%206.42978C5.875%206.4298%205.875%206.42982%205.875%206.42983C5.875%206.42985%205.875%206.42987%205.875%206.42988C5.875%206.4299%205.875%206.42992%205.875%206.42993C5.875%206.42995%205.875%206.42997%205.875%206.42999C5.875%206.43%205.875%206.43002%205.875%206.43004C5.875%206.43005%205.875%206.43007%205.875%206.43009C5.875%206.4301%205.875%206.43012%205.875%206.43014C5.875%206.43015%205.875%206.43017%205.875%206.43019C5.875%206.4302%205.875%206.43022%205.875%206.43024C5.875%206.43025%205.875%206.43027%205.875%206.43029C5.875%206.4303%205.875%206.43032%205.875%206.43034C5.875%206.43035%205.875%206.43037%205.875%206.43039C5.875%206.4304%205.875%206.43042%205.875%206.43044C5.875%206.43045%205.875%206.43047%205.875%206.43049C5.875%206.4305%205.875%206.43052%205.875%206.43054C5.875%206.43055%205.875%206.43057%205.875%206.43059C5.875%206.4306%205.875%206.43062%205.875%206.43064C5.875%206.43065%205.875%206.43067%205.875%206.43069C5.875%206.4307%205.875%206.43072%205.875%206.43074C5.875%206.43075%205.875%206.43077%205.875%206.43079C5.875%206.4308%205.875%206.43082%205.875%206.43084C5.875%206.43085%205.875%206.43087%205.875%206.43089C5.875%206.4309%205.875%206.43092%205.875%206.43094C5.875%206.43095%205.875%206.43097%205.875%206.43099C5.875%206.431%205.875%206.43102%205.875%206.43104C5.875%206.43105%205.875%206.43107%205.875%206.43109C5.875%206.4311%205.875%206.43112%205.875%206.43114C5.875%206.43115%205.875%206.43117%205.875%206.43119C5.875%206.4312%205.875%206.43122%205.875%206.43124H6.875ZM6.875%206.40549H7.875V6.03369H6.875H5.875V6.40549H6.875ZM6.875%206.03369L6.79399%205.03697C6.10211%205.09321%205.40261%205.27567%204.77868%205.57209L5.2078%206.47534L5.63692%207.37858C6.03259%207.19061%206.49499%207.06787%206.95601%207.0304L6.875%206.03369ZM5.2078%206.47534L4.77865%205.5721C4.02546%205.92996%203.34302%206.47373%202.94971%207.20412L3.83017%207.67824L4.71064%208.15235C4.84526%207.90235%205.14372%207.61291%205.63695%207.37857L5.2078%206.47534ZM3.83017%207.67824L2.94964%207.20425C3.08542%206.95201%203.37522%206.82445%203.6528%206.89443L3.40832%207.86409L3.16385%208.83374C3.7746%208.98773%204.41204%208.70706%204.7107%208.15223L3.83017%207.67824ZM3.40832%207.86409L3.6528%206.89443C3.93036%206.96441%204.125%207.21408%204.125%207.50049H3.125H2.125C2.125%208.13049%202.55312%208.67976%203.16385%208.83374L3.40832%207.86409ZM3.125%207.50049H4.125C4.125%205.77231%204.63773%204.79426%205.22843%204.2432L4.54628%203.51198L3.86413%202.78077C2.77501%203.7968%202.125%205.35916%202.125%207.50049H3.125ZM4.54628%203.51198L5.22843%204.24319C5.74332%203.76285%206.37887%203.54788%206.96417%203.49547L6.875%202.49946L6.78583%201.50344C5.85992%201.58634%204.77248%201.93336%203.86413%202.78077L4.54628%203.51198ZM6.875%202.49946H7.875V2.09545H6.875H5.875V2.49946H6.875ZM6.875%202.09545H7.875C7.875%202.09544%207.875%202.09542%207.875%202.0954C7.875%202.09539%207.875%202.09537%207.875%202.09535C7.875%202.09534%207.875%202.09532%207.875%202.0953C7.875%202.09529%207.875%202.09527%207.875%202.09525C7.875%202.09523%207.875%202.09522%207.875%202.0952C7.875%202.09518%207.875%202.09517%207.875%202.09515C7.875%202.09513%207.875%202.09512%207.875%202.0951C7.875%202.09508%207.875%202.09507%207.875%202.09505C7.875%202.09503%207.875%202.09502%207.875%202.095C7.875%202.09498%207.875%202.09497%207.875%202.09495C7.875%202.09493%207.875%202.09492%207.875%202.0949C7.875%202.09488%207.875%202.09486%207.875%202.09485C7.875%202.09483%207.875%202.09481%207.875%202.0948C7.875%202.09478%207.875%202.09476%207.875%202.09475C7.875%202.09473%207.875%202.09471%207.875%202.0947C7.875%202.09468%207.875%202.09466%207.875%202.09465C7.875%202.09463%207.875%202.09461%207.875%202.0946C7.875%202.09458%207.875%202.09456%207.875%202.09455C7.875%202.09453%207.875%202.09451%207.875%202.0945C7.875%202.09448%207.875%202.09446%207.875%202.09444C7.875%202.09443%207.875%202.09441%207.875%202.09439C7.875%202.09438%207.875%202.09436%207.875%202.09434C7.875%202.09433%207.875%202.09431%207.875%202.09429C7.875%202.09428%207.875%202.09426%207.875%202.09424C7.875%202.09423%207.875%202.09421%207.875%202.09419C7.875%202.09418%207.875%202.09416%207.875%202.09414C7.875%202.09413%207.875%202.09411%207.875%202.09409C7.875%202.09408%207.875%202.09406%207.875%202.09404C7.875%202.09402%207.875%202.09401%207.875%202.09399C7.875%202.09397%207.875%202.09396%207.875%202.09394C7.875%202.09392%207.875%202.09391%207.875%202.09389C7.875%202.09387%207.875%202.09386%207.875%202.09384C7.875%202.09382%207.875%202.09381%207.875%202.09379C7.875%202.09377%207.875%202.09376%207.875%202.09374C7.875%202.09372%207.875%202.09371%207.875%202.09369C7.875%202.09367%207.875%202.09366%207.875%202.09364C7.875%202.09362%207.875%202.0936%207.875%202.09359C7.875%202.09357%207.875%202.09355%207.875%202.09354C7.875%202.09352%207.875%202.0935%207.875%202.09349C7.875%202.09347%207.875%202.09345%207.875%202.09344C7.875%202.09342%207.875%202.0934%207.875%202.09339C7.875%202.09337%207.875%202.09335%207.875%202.09334C7.875%202.09332%207.875%202.0933%207.875%202.09329C7.875%202.09327%207.875%202.09325%207.875%202.09324C7.875%202.09322%207.875%202.0932%207.875%202.09318C7.875%202.09317%207.875%202.09315%207.875%202.09313C7.875%202.09312%207.875%202.0931%207.875%202.09308C7.875%202.09307%207.875%202.09305%207.875%202.09303C7.875%202.09302%207.875%202.093%207.875%202.09298C7.875%202.09297%207.875%202.09295%207.875%202.09293C7.875%202.09292%207.875%202.0929%207.875%202.09288C7.875%202.09287%207.875%202.09285%207.875%202.09283C7.875%202.09282%207.875%202.0928%207.875%202.09278C7.875%202.09276%207.875%202.09275%207.875%202.09273C7.875%202.09271%207.875%202.0927%207.875%202.09268C7.875%202.09266%207.875%202.09265%207.875%202.09263C7.875%202.09261%207.875%202.0926%207.875%202.09258C7.875%202.09256%207.875%202.09255%207.875%202.09253C7.875%202.09251%207.875%202.0925%207.875%202.09248C7.875%202.09246%207.875%202.09245%207.875%202.09243C7.875%202.09241%207.875%202.0924%207.875%202.09238C7.875%202.09236%207.875%202.09234%207.875%202.09233C7.875%202.09231%207.875%202.09229%207.875%202.09228C7.875%202.09226%207.875%202.09224%207.875%202.09223C7.875%202.09221%207.875%202.09219%207.875%202.09218C7.875%202.09216%207.875%202.09214%207.875%202.09213C7.875%202.09211%207.875%202.09209%207.875%202.09208C7.875%202.09206%207.875%202.09204%207.875%202.09203C7.875%202.09201%207.875%202.09199%207.875%202.09198C7.875%202.09196%207.875%202.09194%207.875%202.09192C7.875%202.09191%207.875%202.09189%207.875%202.09187C7.875%202.09186%207.875%202.09184%207.875%202.09182C7.875%202.09181%207.875%202.09179%207.875%202.09177C7.875%202.09176%207.875%202.09174%207.875%202.09172C7.875%202.09171%207.875%202.09169%207.875%202.09167C7.875%202.09166%207.875%202.09164%207.875%202.09162C7.875%202.09161%207.875%202.09159%207.875%202.09157C7.875%202.09156%207.875%202.09154%207.875%202.09152C7.875%202.09151%207.875%202.09149%207.875%202.09147C7.875%202.09145%207.875%202.09144%207.875%202.09142C7.875%202.0914%207.875%202.09139%207.875%202.09137C7.875%202.09135%207.875%202.09134%207.875%202.09132C7.875%202.0913%207.875%202.09129%207.875%202.09127C7.875%202.09125%207.875%202.09124%207.875%202.09122C7.875%202.0912%207.875%202.09119%207.875%202.09117C7.875%202.09115%207.875%202.09114%207.875%202.09112C7.875%202.0911%207.875%202.09109%207.875%202.09107C7.875%202.09105%207.875%202.09103%207.875%202.09102C7.875%202.091%207.875%202.09098%207.875%202.09097C7.875%202.09095%207.875%202.09093%207.875%202.09092C7.875%202.0909%207.875%202.09088%207.875%202.09087C7.875%202.09085%207.875%202.09083%207.875%202.09082C7.875%202.0908%207.875%202.09078%207.875%202.09077C7.875%202.09075%207.875%202.09073%207.875%202.09072C7.875%202.0907%207.875%202.09068%207.875%202.09067C7.875%202.09065%207.875%202.09063%207.875%202.09062C7.875%202.0906%207.875%202.09058%207.875%202.09056C7.875%202.09055%207.875%202.09053%207.875%202.09051C7.875%202.0905%207.875%202.09048%207.875%202.09046C7.875%202.09045%207.875%202.09043%207.875%202.09041C7.875%202.0904%207.875%202.09038%207.875%202.09036C7.875%202.09035%207.875%202.09033%207.875%202.09031C7.875%202.0903%207.875%202.09028%207.875%202.09026C7.875%202.09025%207.875%202.09023%207.875%202.09021C7.875%202.0902%207.875%202.09018%207.875%202.09016C7.875%202.09014%207.875%202.09013%207.875%202.09011C7.875%202.09009%207.875%202.09008%207.875%202.09006C7.875%202.09004%207.875%202.09003%207.875%202.09001C7.875%202.08999%207.875%202.08998%207.875%202.08996C7.875%202.08994%207.875%202.08993%207.875%202.08991C7.875%202.08989%207.875%202.08988%207.875%202.08986C7.875%202.08984%207.875%202.08983%207.875%202.08981C7.875%202.08979%207.875%202.08978%207.875%202.08976C7.875%202.08974%207.875%202.08973%207.875%202.08971C7.875%202.08969%207.875%202.08967%207.875%202.08966C7.875%202.08964%207.875%202.08962%207.875%202.08961C7.875%202.08959%207.875%202.08957%207.875%202.08956C7.875%202.08954%207.875%202.08952%207.875%202.08951C7.875%202.08949%207.875%202.08947%207.875%202.08946C7.875%202.08944%207.875%202.08942%207.875%202.08941C7.875%202.08939%207.875%202.08937%207.875%202.08936C7.875%202.08934%207.875%202.08932%207.875%202.08931C7.875%202.08929%207.875%202.08927%207.875%202.08925C7.875%202.08924%207.875%202.08922%207.875%202.0892C7.875%202.08919%207.875%202.08917%207.875%202.08915C7.875%202.08914%207.875%202.08912%207.875%202.0891C7.875%202.08909%207.875%202.08907%207.875%202.08905C7.875%202.08904%207.875%202.08902%207.875%202.089C7.875%202.08899%207.875%202.08897%207.875%202.08895C7.875%202.08894%207.875%202.08892%207.875%202.0889C7.875%202.08889%207.875%202.08887%207.875%202.08885C7.875%202.08884%207.875%202.08882%207.875%202.0888C7.875%202.08878%207.875%202.08877%207.875%202.08875C7.875%202.08873%207.875%202.08872%207.875%202.0887C7.875%202.08868%207.875%202.08867%207.875%202.08865C7.875%202.08863%207.875%202.08862%207.875%202.0886C7.875%202.08858%207.875%202.08857%207.875%202.08855C7.875%202.08853%207.875%202.08852%207.875%202.0885C7.875%202.08848%207.875%202.08847%207.875%202.08845C7.875%202.08843%207.875%202.08842%207.875%202.0884C7.875%202.08838%207.875%202.08837%207.875%202.08835C7.875%202.08833%207.875%202.08832%207.875%202.0883C7.875%202.08828%207.875%202.08826%207.875%202.08825C7.875%202.08823%207.875%202.08821%207.875%202.0882C7.875%202.08818%207.875%202.08816%207.875%202.08815C7.875%202.08813%207.875%202.08811%207.875%202.0881C7.875%202.08808%207.875%202.08806%207.875%202.08805C7.875%202.08803%207.875%202.08801%207.875%202.088C7.875%202.08798%207.875%202.08796%207.875%202.08795C7.875%202.08793%207.875%202.08791%207.875%202.0879C7.875%202.08788%207.875%202.08786%207.875%202.08784C7.875%202.08783%207.875%202.08781%207.875%202.08779C7.875%202.08778%207.875%202.08776%207.875%202.08774C7.875%202.08773%207.875%202.08771%207.875%202.08769C7.875%202.08768%207.875%202.08766%207.875%202.08764C7.875%202.08763%207.875%202.08761%207.875%202.08759C7.875%202.08758%207.875%202.08756%207.875%202.08754C7.875%202.08753%207.875%202.08751%207.875%202.08749C7.875%202.08748%207.875%202.08746%207.875%202.08744C7.875%202.08743%207.875%202.08741%207.875%202.08739C7.875%202.08738%207.875%202.08736%207.875%202.08734C7.875%202.08732%207.875%202.08731%207.875%202.08729C7.875%202.08727%207.875%202.08726%207.875%202.08724C7.875%202.08722%207.875%202.08721%207.875%202.08719C7.875%202.08717%207.875%202.08716%207.875%202.08714C7.875%202.08712%207.875%202.08711%207.875%202.08709C7.875%202.08707%207.875%202.08706%207.875%202.08704C7.875%202.08702%207.875%202.08701%207.875%202.08699C7.875%202.08697%207.875%202.08696%207.875%202.08694C7.875%202.08692%207.875%202.08691%207.875%202.08689C7.875%202.08687%207.875%202.08685%207.875%202.08684C7.875%202.08682%207.875%202.0868%207.875%202.08679C7.875%202.08677%207.875%202.08675%207.875%202.08674C7.875%202.08672%207.875%202.0867%207.875%202.08669C7.875%202.08667%207.875%202.08665%207.875%202.08664C7.875%202.08662%207.875%202.0866%207.875%202.08659C7.875%202.08657%207.875%202.08655%207.875%202.08654C7.875%202.08652%207.875%202.0865%207.875%202.08649C7.875%202.08647%207.875%202.08645%207.875%202.08644C7.875%202.08642%207.875%202.0864%207.875%202.08639C7.875%202.08637%207.875%202.08635%207.875%202.08633C7.875%202.08632%207.875%202.0863%207.875%202.08628C7.875%202.08627%207.875%202.08625%207.875%202.08623C7.875%202.08622%207.875%202.0862%207.875%202.08618C7.875%202.08617%207.875%202.08615%207.875%202.08613C7.875%202.08612%207.875%202.0861%207.875%202.08608C7.875%202.08607%207.875%202.08605%207.875%202.08603C7.875%202.08602%207.875%202.086%207.875%202.08598C7.875%202.08597%207.875%202.08595%207.875%202.08593C7.875%202.08592%207.875%202.0859%207.875%202.08588C7.875%202.08586%207.875%202.08585%207.875%202.08583C7.875%202.08581%207.875%202.0858%207.875%202.08578C7.875%202.08576%207.875%202.08575%207.875%202.08573C7.875%202.08571%207.875%202.0857%207.875%202.08568C7.875%202.08566%207.875%202.08565%207.875%202.08563C7.875%202.08561%207.875%202.0856%207.875%202.08558C7.875%202.08556%207.875%202.08555%207.875%202.08553C7.875%202.08551%207.875%202.0855%207.875%202.08548C7.875%202.08546%207.875%202.08545%207.875%202.08543C7.875%202.08541%207.875%202.0854%207.875%202.08538C7.875%202.08536%207.875%202.08534%207.875%202.08533C7.875%202.08531%207.875%202.08529%207.875%202.08528C7.875%202.08526%207.875%202.08524%207.875%202.08523C7.875%202.08521%207.875%202.08519%207.875%202.08518C7.875%202.08516%207.875%202.08514%207.875%202.08513C7.875%202.08511%207.875%202.08509%207.875%202.08508C7.875%202.08506%207.875%202.08504%207.875%202.08503C7.875%202.08501%207.875%202.08499%207.875%202.08498C7.875%202.08496%207.875%202.08494%207.875%202.08493C7.875%202.08491%207.875%202.08489%207.875%202.08488C7.875%202.08486%207.875%202.08484%207.875%202.08482C7.875%202.08481%207.875%202.08479%207.875%202.08477C7.875%202.08476%207.875%202.08474%207.875%202.08472C7.875%202.08471%207.875%202.08469%207.875%202.08467C7.875%202.08466%207.875%202.08464%207.875%202.08462C7.875%202.08461%207.875%202.08459%207.875%202.08457C7.875%202.08456%207.875%202.08454%207.875%202.08452C7.875%202.08451%207.875%202.08449%207.875%202.08447C7.875%202.08446%207.875%202.08444%207.875%202.08442C7.875%202.08441%207.875%202.08439%207.875%202.08437C7.875%202.08436%207.875%202.08434%207.875%202.08432C7.875%202.0843%207.875%202.08429%207.875%202.08427C7.875%202.08425%207.875%202.08424%207.875%202.08422C7.875%202.0842%207.875%202.08419%207.875%202.08417C7.875%202.08415%207.875%202.08414%207.875%202.08412C7.875%202.0841%207.875%202.08409%207.875%202.08407C7.875%202.08405%207.875%202.08404%207.875%202.08402C7.875%202.084%207.875%202.08399%207.875%202.08397C7.875%202.08395%207.875%202.08394%207.875%202.08392C7.875%202.0839%207.875%202.08389%207.875%202.08387C7.875%202.08385%207.875%202.08384%207.875%202.08382C7.875%202.0838%207.875%202.08378%207.875%202.08377C7.875%202.08375%207.875%202.08373%207.875%202.08372C7.875%202.0837%207.875%202.08368%207.875%202.08367C7.875%202.08365%207.875%202.08363%207.875%202.08362C7.875%202.0836%207.875%202.08358%207.875%202.08357C7.875%202.08355%207.875%202.08353%207.875%202.08352C7.875%202.0835%207.875%202.08348%207.875%202.08347C7.875%202.08345%207.875%202.08343%207.875%202.08342C7.875%202.0834%207.875%202.08338%207.875%202.08337C7.875%202.08335%207.875%202.08333%207.875%202.08332C7.875%202.0833%207.875%202.08328%207.875%202.08327C7.875%202.08325%207.875%202.08323%207.875%202.08321C7.875%202.0832%207.875%202.08318%207.875%202.08316C7.875%202.08315%207.875%202.08313%207.875%202.08311C7.875%202.0831%207.875%202.08308%207.875%202.08306C7.875%202.08305%207.875%202.08303%207.875%202.08301C7.875%202.083%207.875%202.08298%207.875%202.08296C7.875%202.08295%207.875%202.08293%207.875%202.08291C7.875%202.0829%207.875%202.08288%207.875%202.08286C7.875%202.08285%207.875%202.08283%207.875%202.08281C7.875%202.0828%207.875%202.08278%207.875%202.08276C7.875%202.08275%207.875%202.08273%207.875%202.08271C7.875%202.08269%207.875%202.08268%207.875%202.08266C7.875%202.08264%207.875%202.08263%207.875%202.08261C7.875%202.08259%207.875%202.08258%207.875%202.08256C7.875%202.08254%207.875%202.08253%207.875%202.08251C7.875%202.08249%207.875%202.08248%207.875%202.08246C7.875%202.08244%207.875%202.08243%207.875%202.08241C7.875%202.08239%207.875%202.08238%207.875%202.08236C7.875%202.08234%207.875%202.08233%207.875%202.08231C7.875%202.08229%207.875%202.08228%207.875%202.08226C7.875%202.08224%207.875%202.08223%207.875%202.08221C7.875%202.08219%207.875%202.08218%207.875%202.08216C7.875%202.08214%207.875%202.08212%207.875%202.08211C7.875%202.08209%207.875%202.08207%207.875%202.08206C7.875%202.08204%207.875%202.08202%207.875%202.08201C7.875%202.08199%207.875%202.08197%207.875%202.08196C7.875%202.08194%207.875%202.08192%207.875%202.08191C7.875%202.08189%207.875%202.08187%207.875%202.08186C7.875%202.08184%207.875%202.08182%207.875%202.08181C7.875%202.08179%207.875%202.08177%207.875%202.08176C7.875%202.08174%207.875%202.08172%207.875%202.08171C7.875%202.08169%207.875%202.08167%207.875%202.08166C7.875%202.08164%207.875%202.08162%207.875%202.08161C7.875%202.08159%207.875%202.08157%207.875%202.08155C7.875%202.08154%207.875%202.08152%207.875%202.0815C7.875%202.08149%207.875%202.08147%207.875%202.08145C7.875%202.08144%207.875%202.08142%207.875%202.0814C7.875%202.08139%207.875%202.08137%207.875%202.08135C7.875%202.08134%207.875%202.08132%207.875%202.0813C7.875%202.08129%207.875%202.08127%207.875%202.08125C7.875%202.08124%207.875%202.08122%207.875%202.0812C7.875%202.08119%207.875%202.08117%207.875%202.08115C7.875%202.08114%207.875%202.08112%207.875%202.0811C7.875%202.08109%207.875%202.08107%207.875%202.08105C7.875%202.08104%207.875%202.08102%207.875%202.081C7.875%202.08098%207.875%202.08097%207.875%202.08095C7.875%202.08093%207.875%202.08092%207.875%202.0809C7.875%202.08088%207.875%202.08087%207.875%202.08085C7.875%202.08083%207.875%202.08082%207.875%202.0808C7.875%202.08078%207.875%202.08077%207.875%202.08075C7.875%202.08073%207.875%202.08072%207.875%202.0807C7.875%202.08068%207.875%202.08067%207.875%202.08065C7.875%202.08063%207.875%202.08062%207.875%202.0806C7.875%202.08058%207.875%202.08057%207.875%202.08055C7.875%202.08053%207.875%202.08052%207.875%202.0805C7.875%202.08048%207.875%202.08047%207.875%202.08045C7.875%202.08043%207.875%202.08041%207.875%202.0804C7.875%202.08038%207.875%202.08036%207.875%202.08035C7.875%202.08033%207.875%202.08031%207.875%202.0803C7.875%202.08028%207.875%202.08026%207.875%202.08025C7.875%202.08023%207.875%202.08021%207.875%202.0802C7.875%202.08018%207.875%202.08016%207.875%202.08015C7.875%202.08013%207.875%202.08011%207.875%202.0801C7.875%202.08008%207.875%202.08006%207.875%202.08005C7.875%202.08003%207.875%202.08001%207.875%202.08C7.875%202.07998%207.875%202.07996%207.875%202.07995C7.875%202.07993%207.875%202.07991%207.875%202.0799C7.875%202.07988%207.875%202.07986%207.875%202.07985C7.875%202.07983%207.875%202.07981%207.875%202.07979C7.875%202.07978%207.875%202.07976%207.875%202.07974C7.875%202.07973%207.875%202.07971%207.875%202.07969C7.875%202.07968%207.875%202.07966%207.875%202.07964C7.875%202.07963%207.875%202.07961%207.875%202.07959C7.875%202.07958%207.875%202.07956%207.875%202.07954C7.875%202.07953%207.875%202.07951%207.875%202.07949C7.875%202.07948%207.875%202.07946%207.875%202.07944C7.875%202.07943%207.875%202.07941%207.875%202.07939C7.875%202.07938%207.875%202.07936%207.875%202.07934C7.875%202.07933%207.875%202.07931%207.875%202.07929C7.875%202.07928%207.875%202.07926%207.875%202.07924C7.875%202.07922%207.875%202.07921%207.875%202.07919C7.875%202.07917%207.875%202.07916%207.875%202.07914C7.875%202.07912%207.875%202.07911%207.875%202.07909C7.875%202.07907%207.875%202.07906%207.875%202.07904C7.875%202.07902%207.875%202.07901%207.875%202.07899C7.875%202.07897%207.875%202.07896%207.875%202.07894C7.875%202.07892%207.875%202.07891%207.875%202.07889C7.875%202.07887%207.875%202.07886%207.875%202.07884C7.875%202.07882%207.875%202.07881%207.875%202.07879C7.875%202.07877%207.875%202.07876%207.875%202.07874C7.875%202.07872%207.875%202.07871%207.875%202.07869C7.875%202.07867%207.875%202.07866%207.875%202.07864C7.875%202.07862%207.875%202.07861%207.875%202.07859C7.875%202.07857%207.875%202.07855%207.875%202.07854C7.875%202.07852%207.875%202.0785%207.875%202.07849C7.875%202.07847%207.875%202.07845%207.875%202.07844C7.875%202.07842%207.875%202.0784%207.875%202.07839C7.875%202.07837%207.875%202.07835%207.875%202.07834C7.875%202.07832%207.875%202.0783%207.875%202.07829C7.875%202.07827%207.875%202.07825%207.875%202.07824C7.875%202.07822%207.875%202.0782%207.875%202.07819C7.875%202.07817%207.875%202.07815%207.875%202.07814C7.875%202.07812%207.875%202.0781%207.875%202.07809C7.875%202.07807%207.875%202.07805%207.875%202.07804C7.875%202.07802%207.875%202.078%207.875%202.07799C7.875%202.07797%207.875%202.07795%207.875%202.07793C7.875%202.07792%207.875%202.0779%207.875%202.07788C7.875%202.07787%207.875%202.07785%207.875%202.07783C7.875%202.07782%207.875%202.0778%207.875%202.07778C7.875%202.07777%207.875%202.07775%207.875%202.07773C7.875%202.07772%207.875%202.0777%207.875%202.07768C7.875%202.07767%207.875%202.07765%207.875%202.07763C7.875%202.07762%207.875%202.0776%207.875%202.07758C7.875%202.07757%207.875%202.07755%207.875%202.07753C7.875%202.07752%207.875%202.0775%207.875%202.07748C7.875%202.07747%207.875%202.07745%207.875%202.07743C7.875%202.07742%207.875%202.0774%207.875%202.07738C7.875%202.07737%207.875%202.07735%207.875%202.07733C7.875%202.07731%207.875%202.0773%207.875%202.07728C7.875%202.07726%207.875%202.07725%207.875%202.07723C7.875%202.07721%207.875%202.0772%207.875%202.07718C7.875%202.07716%207.875%202.07715%207.875%202.07713C7.875%202.07711%207.875%202.0771%207.875%202.07708C7.875%202.07706%207.875%202.07705%207.875%202.07703C7.875%202.07701%207.875%202.077%207.875%202.07698C7.875%202.07696%207.875%202.07695%207.875%202.07693C7.875%202.07691%207.875%202.0769%207.875%202.07688C7.875%202.07686%207.875%202.07685%207.875%202.07683C7.875%202.07681%207.875%202.0768%207.875%202.07678C7.875%202.07676%207.875%202.07675%207.875%202.07673C7.875%202.07671%207.875%202.0767%207.875%202.07668C7.875%202.07666%207.875%202.07665%207.875%202.07663C7.875%202.07661%207.875%202.07659%207.875%202.07658C7.875%202.07656%207.875%202.07654%207.875%202.07653C7.875%202.07651%207.875%202.07649%207.875%202.07648C7.875%202.07646%207.875%202.07644%207.875%202.07643C7.875%202.07641%207.875%202.07639%207.875%202.07638C7.875%202.07636%207.875%202.07634%207.875%202.07633C7.875%202.07631%207.875%202.07629%207.875%202.07628C7.875%202.07626%207.875%202.07624%207.875%202.07623C7.875%202.07621%207.875%202.07619%207.875%202.07618C7.875%202.07616%207.875%202.07614%207.875%202.07613C7.875%202.07611%207.875%202.07609%207.875%202.07608C7.875%202.07606%207.875%202.07604%207.875%202.07603C7.875%202.07601%207.875%202.07599%207.875%202.07598C7.875%202.07596%207.875%202.07594%207.875%202.07592C7.875%202.07591%207.875%202.07589%207.875%202.07587C7.875%202.07586%207.875%202.07584%207.875%202.07582C7.875%202.07581%207.875%202.07579%207.875%202.07577C7.875%202.07576%207.875%202.07574%207.875%202.07572C7.875%202.07571%207.875%202.07569%207.875%202.07567C7.875%202.07566%207.875%202.07564%207.875%202.07562C7.875%202.07561%207.875%202.07559%207.875%202.07557C7.875%202.07556%207.875%202.07554%207.875%202.07552C7.875%202.07551%207.875%202.07549%207.875%202.07547C7.875%202.07546%207.875%202.07544%207.875%202.07542C7.875%202.07541%207.875%202.07539%207.875%202.07537C7.875%202.07536%207.875%202.07534%207.875%202.07532C7.875%202.07531%207.875%202.07529%207.875%202.07527C7.875%202.07525%207.875%202.07524%207.875%202.07522C7.875%202.0752%207.875%202.07519%207.875%202.07517C7.875%202.07515%207.875%202.07514%207.875%202.07512C7.875%202.0751%207.875%202.07509%207.875%202.07507C7.875%202.07505%207.875%202.07504%207.875%202.07502C7.875%202.075%207.875%202.07499%207.875%202.07497C7.875%202.07495%207.875%202.07494%207.875%202.07492C7.875%202.0749%207.875%202.07489%207.875%202.07487C7.875%202.07485%207.875%202.07484%207.875%202.07482C7.875%202.0748%207.875%202.07479%207.875%202.07477C7.875%202.07475%207.875%202.07474%207.875%202.07472C7.875%202.0747%207.875%202.07469%207.875%202.07467C7.875%202.07465%207.875%202.07464%207.875%202.07462C7.875%202.0746%207.875%202.07459%207.875%202.07457C7.875%202.07455%207.875%202.07453%207.875%202.07452C7.875%202.0745%207.875%202.07448%207.875%202.07447C7.875%202.07445%207.875%202.07443%207.875%202.07442C7.875%202.0744%207.875%202.07438%207.875%202.07437C7.875%202.07435%207.875%202.07433%207.875%202.07432C7.875%202.0743%207.875%202.07428%207.875%202.07427C7.875%202.07425%207.875%202.07423%207.875%202.07422C7.875%202.0742%207.875%202.07418%207.875%202.07417C7.875%202.07415%207.875%202.07413%207.875%202.07412C7.875%202.0741%207.875%202.07408%207.875%202.07407C7.875%202.07405%207.875%202.07403%207.875%202.07402C7.875%202.074%207.875%202.07398%207.875%202.07397C7.875%202.07395%207.875%202.07393%207.875%202.07392C7.875%202.0739%207.875%202.07388%207.875%202.07387C7.875%202.07385%207.875%202.07383%207.875%202.07381C7.875%202.0738%207.875%202.07378%207.875%202.07376C7.875%202.07375%207.875%202.07373%207.875%202.07371C7.875%202.0737%207.875%202.07368%207.875%202.07366C7.875%202.07365%207.875%202.07363%207.875%202.07361C7.875%202.0736%207.875%202.07358%207.875%202.07356C7.875%202.07355%207.875%202.07353%207.875%202.07351C7.875%202.0735%207.875%202.07348%207.875%202.07346C7.875%202.07345%207.875%202.07343%207.875%202.07341C7.875%202.0734%207.875%202.07338%207.875%202.07336C7.875%202.07335%207.875%202.07333%207.875%202.07331C7.875%202.0733%207.875%202.07328%207.875%202.07326C7.875%202.07325%207.875%202.07323%207.875%202.07321C7.875%202.0732%207.875%202.07318%207.875%202.07316C7.875%202.07315%207.875%202.07313%207.875%202.07311C7.875%202.0731%207.875%202.07308%207.875%202.07306C7.875%202.07305%207.875%202.07303%207.875%202.07301C7.875%202.07299%207.875%202.07298%207.875%202.07296C7.875%202.07294%207.875%202.07293%207.875%202.07291C7.875%202.07289%207.875%202.07288%207.875%202.07286C7.875%202.07284%207.875%202.07283%207.875%202.07281C7.875%202.07279%207.875%202.07278%207.875%202.07276C7.875%202.07274%207.875%202.07273%207.875%202.07271C7.875%202.07269%207.875%202.07268%207.875%202.07266C7.875%202.07264%207.875%202.07263%207.875%202.07261C7.875%202.07259%207.875%202.07258%207.875%202.07256C7.875%202.07254%207.875%202.07253%207.875%202.07251C7.875%202.07249%207.875%202.07248%207.875%202.07246C7.875%202.07244%207.875%202.07243%207.875%202.07241C7.875%202.07239%207.875%202.07238%207.875%202.07236C7.875%202.07234%207.875%202.07233%207.875%202.07231C7.875%202.07229%207.875%202.07228%207.875%202.07226C7.875%202.07224%207.875%202.07222%207.875%202.07221C7.875%202.07219%207.875%202.07217%207.875%202.07216C7.875%202.07214%207.875%202.07212%207.875%202.07211C7.875%202.07209%207.875%202.07207%207.875%202.07206C7.875%202.07204%207.875%202.07202%207.875%202.07201C7.875%202.07199%207.875%202.07197%207.875%202.07196C7.875%202.07194%207.875%202.07192%207.875%202.07191C7.875%202.07189%207.875%202.07187%207.875%202.07186C7.875%202.07184%207.875%202.07182%207.875%202.07181C7.875%202.07179%207.875%202.07177%207.875%202.07176C7.875%202.07174%207.875%202.07172%207.875%202.07171C7.875%202.07169%207.875%202.07167%207.875%202.07166C7.875%202.07164%207.875%202.07162%207.875%202.07161C7.875%202.07159%207.875%202.07157%207.875%202.07156C7.875%202.07154%207.875%202.07152%207.875%202.07151C7.875%202.07149%207.875%202.07147%207.875%202.07146C7.875%202.07144%207.875%202.07142%207.875%202.0714C7.875%202.07139%207.875%202.07137%207.875%202.07135C7.875%202.07134%207.875%202.07132%207.875%202.0713C7.875%202.07129%207.875%202.07127%207.875%202.07125C7.875%202.07124%207.875%202.07122%207.875%202.0712C7.875%202.07119%207.875%202.07117%207.875%202.07115C7.875%202.07114%207.875%202.07112%207.875%202.0711C7.875%202.07109%207.875%202.07107%207.875%202.07105C7.875%202.07104%207.875%202.07102%207.875%202.071C7.875%202.07099%207.875%202.07097%207.875%202.07095C7.875%202.07094%207.875%202.07092%207.875%202.0709C7.875%202.07089%207.875%202.07087%207.875%202.07085C7.875%202.07084%207.875%202.07082%207.875%202.0708C7.875%202.07079%207.875%202.07077%207.875%202.07075C7.875%202.07074%207.875%202.07072%207.875%202.0707C7.875%202.07069%207.875%202.07067%207.875%202.07065C7.875%202.07064%207.875%202.07062%207.875%202.0706C7.875%202.07058%207.875%202.07057%207.875%202.07055C7.875%202.07053%207.875%202.07052%207.875%202.0705C7.875%202.07048%207.875%202.07047%207.875%202.07045C7.875%202.07043%207.875%202.07042%207.875%202.0704C7.875%202.07038%207.875%202.07037%207.875%202.07035C7.875%202.07033%207.875%202.07032%207.875%202.0703C7.875%202.07028%207.875%202.07027%207.875%202.07025C7.875%202.07023%207.875%202.07022%207.875%202.0702C7.875%202.07018%207.875%202.07017%207.875%202.07015C7.875%202.07013%207.875%202.07012%207.875%202.0701C7.875%202.07008%207.875%202.07007%207.875%202.07005C7.875%202.07003%207.875%202.07002%207.875%202.07C7.875%202.06998%207.875%202.06997%207.875%202.06995C7.875%202.06993%207.875%202.06992%207.875%202.0699C7.875%202.06988%207.875%202.06987%207.875%202.06985C7.875%202.06983%207.875%202.06982%207.875%202.0698C7.875%202.06978%207.875%202.06977%207.875%202.06975C7.875%202.06973%207.875%202.06972%207.875%202.0697H6.875H5.875C5.875%202.06972%205.875%202.06973%205.875%202.06975C5.875%202.06977%205.875%202.06978%205.875%202.0698C5.875%202.06982%205.875%202.06983%205.875%202.06985C5.875%202.06987%205.875%202.06988%205.875%202.0699C5.875%202.06992%205.875%202.06993%205.875%202.06995C5.875%202.06997%205.875%202.06998%205.875%202.07C5.875%202.07002%205.875%202.07003%205.875%202.07005C5.875%202.07007%205.875%202.07008%205.875%202.0701C5.875%202.07012%205.875%202.07013%205.875%202.07015C5.875%202.07017%205.875%202.07018%205.875%202.0702C5.875%202.07022%205.875%202.07023%205.875%202.07025C5.875%202.07027%205.875%202.07028%205.875%202.0703C5.875%202.07032%205.875%202.07033%205.875%202.07035C5.875%202.07037%205.875%202.07038%205.875%202.0704C5.875%202.07042%205.875%202.07043%205.875%202.07045C5.875%202.07047%205.875%202.07048%205.875%202.0705C5.875%202.07052%205.875%202.07053%205.875%202.07055C5.875%202.07057%205.875%202.07058%205.875%202.0706C5.875%202.07062%205.875%202.07064%205.875%202.07065C5.875%202.07067%205.875%202.07069%205.875%202.0707C5.875%202.07072%205.875%202.07074%205.875%202.07075C5.875%202.07077%205.875%202.07079%205.875%202.0708C5.875%202.07082%205.875%202.07084%205.875%202.07085C5.875%202.07087%205.875%202.07089%205.875%202.0709C5.875%202.07092%205.875%202.07094%205.875%202.07095C5.875%202.07097%205.875%202.07099%205.875%202.071C5.875%202.07102%205.875%202.07104%205.875%202.07105C5.875%202.07107%205.875%202.07109%205.875%202.0711C5.875%202.07112%205.875%202.07114%205.875%202.07115C5.875%202.07117%205.875%202.07119%205.875%202.0712C5.875%202.07122%205.875%202.07124%205.875%202.07125C5.875%202.07127%205.875%202.07129%205.875%202.0713C5.875%202.07132%205.875%202.07134%205.875%202.07135C5.875%202.07137%205.875%202.07139%205.875%202.0714C5.875%202.07142%205.875%202.07144%205.875%202.07146C5.875%202.07147%205.875%202.07149%205.875%202.07151C5.875%202.07152%205.875%202.07154%205.875%202.07156C5.875%202.07157%205.875%202.07159%205.875%202.07161C5.875%202.07162%205.875%202.07164%205.875%202.07166C5.875%202.07167%205.875%202.07169%205.875%202.07171C5.875%202.07172%205.875%202.07174%205.875%202.07176C5.875%202.07177%205.875%202.07179%205.875%202.07181C5.875%202.07182%205.875%202.07184%205.875%202.07186C5.875%202.07187%205.875%202.07189%205.875%202.07191C5.875%202.07192%205.875%202.07194%205.875%202.07196C5.875%202.07197%205.875%202.07199%205.875%202.07201C5.875%202.07202%205.875%202.07204%205.875%202.07206C5.875%202.07207%205.875%202.07209%205.875%202.07211C5.875%202.07212%205.875%202.07214%205.875%202.07216C5.875%202.07217%205.875%202.07219%205.875%202.07221C5.875%202.07222%205.875%202.07224%205.875%202.07226C5.875%202.07228%205.875%202.07229%205.875%202.07231C5.875%202.07233%205.875%202.07234%205.875%202.07236C5.875%202.07238%205.875%202.07239%205.875%202.07241C5.875%202.07243%205.875%202.07244%205.875%202.07246C5.875%202.07248%205.875%202.07249%205.875%202.07251C5.875%202.07253%205.875%202.07254%205.875%202.07256C5.875%202.07258%205.875%202.07259%205.875%202.07261C5.875%202.07263%205.875%202.07264%205.875%202.07266C5.875%202.07268%205.875%202.07269%205.875%202.07271C5.875%202.07273%205.875%202.07274%205.875%202.07276C5.875%202.07278%205.875%202.07279%205.875%202.07281C5.875%202.07283%205.875%202.07284%205.875%202.07286C5.875%202.07288%205.875%202.07289%205.875%202.07291C5.875%202.07293%205.875%202.07294%205.875%202.07296C5.875%202.07298%205.875%202.07299%205.875%202.07301C5.875%202.07303%205.875%202.07305%205.875%202.07306C5.875%202.07308%205.875%202.0731%205.875%202.07311C5.875%202.07313%205.875%202.07315%205.875%202.07316C5.875%202.07318%205.875%202.0732%205.875%202.07321C5.875%202.07323%205.875%202.07325%205.875%202.07326C5.875%202.07328%205.875%202.0733%205.875%202.07331C5.875%202.07333%205.875%202.07335%205.875%202.07336C5.875%202.07338%205.875%202.0734%205.875%202.07341C5.875%202.07343%205.875%202.07345%205.875%202.07346C5.875%202.07348%205.875%202.0735%205.875%202.07351C5.875%202.07353%205.875%202.07355%205.875%202.07356C5.875%202.07358%205.875%202.0736%205.875%202.07361C5.875%202.07363%205.875%202.07365%205.875%202.07366C5.875%202.07368%205.875%202.0737%205.875%202.07371C5.875%202.07373%205.875%202.07375%205.875%202.07376C5.875%202.07378%205.875%202.0738%205.875%202.07381C5.875%202.07383%205.875%202.07385%205.875%202.07387C5.875%202.07388%205.875%202.0739%205.875%202.07392C5.875%202.07393%205.875%202.07395%205.875%202.07397C5.875%202.07398%205.875%202.074%205.875%202.07402C5.875%202.07403%205.875%202.07405%205.875%202.07407C5.875%202.07408%205.875%202.0741%205.875%202.07412C5.875%202.07413%205.875%202.07415%205.875%202.07417C5.875%202.07418%205.875%202.0742%205.875%202.07422C5.875%202.07423%205.875%202.07425%205.875%202.07427C5.875%202.07428%205.875%202.0743%205.875%202.07432C5.875%202.07433%205.875%202.07435%205.875%202.07437C5.875%202.07438%205.875%202.0744%205.875%202.07442C5.875%202.07443%205.875%202.07445%205.875%202.07447C5.875%202.07448%205.875%202.0745%205.875%202.07452C5.875%202.07453%205.875%202.07455%205.875%202.07457C5.875%202.07459%205.875%202.0746%205.875%202.07462C5.875%202.07464%205.875%202.07465%205.875%202.07467C5.875%202.07469%205.875%202.0747%205.875%202.07472C5.875%202.07474%205.875%202.07475%205.875%202.07477C5.875%202.07479%205.875%202.0748%205.875%202.07482C5.875%202.07484%205.875%202.07485%205.875%202.07487C5.875%202.07489%205.875%202.0749%205.875%202.07492C5.875%202.07494%205.875%202.07495%205.875%202.07497C5.875%202.07499%205.875%202.075%205.875%202.07502C5.875%202.07504%205.875%202.07505%205.875%202.07507C5.875%202.07509%205.875%202.0751%205.875%202.07512C5.875%202.07514%205.875%202.07515%205.875%202.07517C5.875%202.07519%205.875%202.0752%205.875%202.07522C5.875%202.07524%205.875%202.07525%205.875%202.07527C5.875%202.07529%205.875%202.07531%205.875%202.07532C5.875%202.07534%205.875%202.07536%205.875%202.07537C5.875%202.07539%205.875%202.07541%205.875%202.07542C5.875%202.07544%205.875%202.07546%205.875%202.07547C5.875%202.07549%205.875%202.07551%205.875%202.07552C5.875%202.07554%205.875%202.07556%205.875%202.07557C5.875%202.07559%205.875%202.07561%205.875%202.07562C5.875%202.07564%205.875%202.07566%205.875%202.07567C5.875%202.07569%205.875%202.07571%205.875%202.07572C5.875%202.07574%205.875%202.07576%205.875%202.07577C5.875%202.07579%205.875%202.07581%205.875%202.07582C5.875%202.07584%205.875%202.07586%205.875%202.07587C5.875%202.07589%205.875%202.07591%205.875%202.07592C5.875%202.07594%205.875%202.07596%205.875%202.07598C5.875%202.07599%205.875%202.07601%205.875%202.07603C5.875%202.07604%205.875%202.07606%205.875%202.07608C5.875%202.07609%205.875%202.07611%205.875%202.07613C5.875%202.07614%205.875%202.07616%205.875%202.07618C5.875%202.07619%205.875%202.07621%205.875%202.07623C5.875%202.07624%205.875%202.07626%205.875%202.07628C5.875%202.07629%205.875%202.07631%205.875%202.07633C5.875%202.07634%205.875%202.07636%205.875%202.07638C5.875%202.07639%205.875%202.07641%205.875%202.07643C5.875%202.07644%205.875%202.07646%205.875%202.07648C5.875%202.07649%205.875%202.07651%205.875%202.07653C5.875%202.07654%205.875%202.07656%205.875%202.07658C5.875%202.07659%205.875%202.07661%205.875%202.07663C5.875%202.07665%205.875%202.07666%205.875%202.07668C5.875%202.0767%205.875%202.07671%205.875%202.07673C5.875%202.07675%205.875%202.07676%205.875%202.07678C5.875%202.0768%205.875%202.07681%205.875%202.07683C5.875%202.07685%205.875%202.07686%205.875%202.07688C5.875%202.0769%205.875%202.07691%205.875%202.07693C5.875%202.07695%205.875%202.07696%205.875%202.07698C5.875%202.077%205.875%202.07701%205.875%202.07703C5.875%202.07705%205.875%202.07706%205.875%202.07708C5.875%202.0771%205.875%202.07711%205.875%202.07713C5.875%202.07715%205.875%202.07716%205.875%202.07718C5.875%202.0772%205.875%202.07721%205.875%202.07723C5.875%202.07725%205.875%202.07726%205.875%202.07728C5.875%202.0773%205.875%202.07731%205.875%202.07733C5.875%202.07735%205.875%202.07737%205.875%202.07738C5.875%202.0774%205.875%202.07742%205.875%202.07743C5.875%202.07745%205.875%202.07747%205.875%202.07748C5.875%202.0775%205.875%202.07752%205.875%202.07753C5.875%202.07755%205.875%202.07757%205.875%202.07758C5.875%202.0776%205.875%202.07762%205.875%202.07763C5.875%202.07765%205.875%202.07767%205.875%202.07768C5.875%202.0777%205.875%202.07772%205.875%202.07773C5.875%202.07775%205.875%202.07777%205.875%202.07778C5.875%202.0778%205.875%202.07782%205.875%202.07783C5.875%202.07785%205.875%202.07787%205.875%202.07788C5.875%202.0779%205.875%202.07792%205.875%202.07793C5.875%202.07795%205.875%202.07797%205.875%202.07799C5.875%202.078%205.875%202.07802%205.875%202.07804C5.875%202.07805%205.875%202.07807%205.875%202.07809C5.875%202.0781%205.875%202.07812%205.875%202.07814C5.875%202.07815%205.875%202.07817%205.875%202.07819C5.875%202.0782%205.875%202.07822%205.875%202.07824C5.875%202.07825%205.875%202.07827%205.875%202.07829C5.875%202.0783%205.875%202.07832%205.875%202.07834C5.875%202.07835%205.875%202.07837%205.875%202.07839C5.875%202.0784%205.875%202.07842%205.875%202.07844C5.875%202.07845%205.875%202.07847%205.875%202.07849C5.875%202.0785%205.875%202.07852%205.875%202.07854C5.875%202.07855%205.875%202.07857%205.875%202.07859C5.875%202.07861%205.875%202.07862%205.875%202.07864C5.875%202.07866%205.875%202.07867%205.875%202.07869C5.875%202.07871%205.875%202.07872%205.875%202.07874C5.875%202.07876%205.875%202.07877%205.875%202.07879C5.875%202.07881%205.875%202.07882%205.875%202.07884C5.875%202.07886%205.875%202.07887%205.875%202.07889C5.875%202.07891%205.875%202.07892%205.875%202.07894C5.875%202.07896%205.875%202.07897%205.875%202.07899C5.875%202.07901%205.875%202.07902%205.875%202.07904C5.875%202.07906%205.875%202.07907%205.875%202.07909C5.875%202.07911%205.875%202.07912%205.875%202.07914C5.875%202.07916%205.875%202.07917%205.875%202.07919C5.875%202.07921%205.875%202.07922%205.875%202.07924C5.875%202.07926%205.875%202.07928%205.875%202.07929C5.875%202.07931%205.875%202.07933%205.875%202.07934C5.875%202.07936%205.875%202.07938%205.875%202.07939C5.875%202.07941%205.875%202.07943%205.875%202.07944C5.875%202.07946%205.875%202.07948%205.875%202.07949C5.875%202.07951%205.875%202.07953%205.875%202.07954C5.875%202.07956%205.875%202.07958%205.875%202.07959C5.875%202.07961%205.875%202.07963%205.875%202.07964C5.875%202.07966%205.875%202.07968%205.875%202.07969C5.875%202.07971%205.875%202.07973%205.875%202.07974C5.875%202.07976%205.875%202.07978%205.875%202.07979C5.875%202.07981%205.875%202.07983%205.875%202.07985C5.875%202.07986%205.875%202.07988%205.875%202.0799C5.875%202.07991%205.875%202.07993%205.875%202.07995C5.875%202.07996%205.875%202.07998%205.875%202.08C5.875%202.08001%205.875%202.08003%205.875%202.08005C5.875%202.08006%205.875%202.08008%205.875%202.0801C5.875%202.08011%205.875%202.08013%205.875%202.08015C5.875%202.08016%205.875%202.08018%205.875%202.0802C5.875%202.08021%205.875%202.08023%205.875%202.08025C5.875%202.08026%205.875%202.08028%205.875%202.0803C5.875%202.08031%205.875%202.08033%205.875%202.08035C5.875%202.08036%205.875%202.08038%205.875%202.0804C5.875%202.08041%205.875%202.08043%205.875%202.08045C5.875%202.08047%205.875%202.08048%205.875%202.0805C5.875%202.08052%205.875%202.08053%205.875%202.08055C5.875%202.08057%205.875%202.08058%205.875%202.0806C5.875%202.08062%205.875%202.08063%205.875%202.08065C5.875%202.08067%205.875%202.08068%205.875%202.0807C5.875%202.08072%205.875%202.08073%205.875%202.08075C5.875%202.08077%205.875%202.08078%205.875%202.0808C5.875%202.08082%205.875%202.08083%205.875%202.08085C5.875%202.08087%205.875%202.08088%205.875%202.0809C5.875%202.08092%205.875%202.08093%205.875%202.08095C5.875%202.08097%205.875%202.08098%205.875%202.081C5.875%202.08102%205.875%202.08104%205.875%202.08105C5.875%202.08107%205.875%202.08109%205.875%202.0811C5.875%202.08112%205.875%202.08114%205.875%202.08115C5.875%202.08117%205.875%202.08119%205.875%202.0812C5.875%202.08122%205.875%202.08124%205.875%202.08125C5.875%202.08127%205.875%202.08129%205.875%202.0813C5.875%202.08132%205.875%202.08134%205.875%202.08135C5.875%202.08137%205.875%202.08139%205.875%202.0814C5.875%202.08142%205.875%202.08144%205.875%202.08145C5.875%202.08147%205.875%202.08149%205.875%202.0815C5.875%202.08152%205.875%202.08154%205.875%202.08155C5.875%202.08157%205.875%202.08159%205.875%202.08161C5.875%202.08162%205.875%202.08164%205.875%202.08166C5.875%202.08167%205.875%202.08169%205.875%202.08171C5.875%202.08172%205.875%202.08174%205.875%202.08176C5.875%202.08177%205.875%202.08179%205.875%202.08181C5.875%202.08182%205.875%202.08184%205.875%202.08186C5.875%202.08187%205.875%202.08189%205.875%202.08191C5.875%202.08192%205.875%202.08194%205.875%202.08196C5.875%202.08197%205.875%202.08199%205.875%202.08201C5.875%202.08202%205.875%202.08204%205.875%202.08206C5.875%202.08207%205.875%202.08209%205.875%202.08211C5.875%202.08212%205.875%202.08214%205.875%202.08216C5.875%202.08218%205.875%202.08219%205.875%202.08221C5.875%202.08223%205.875%202.08224%205.875%202.08226C5.875%202.08228%205.875%202.08229%205.875%202.08231C5.875%202.08233%205.875%202.08234%205.875%202.08236C5.875%202.08238%205.875%202.08239%205.875%202.08241C5.875%202.08243%205.875%202.08244%205.875%202.08246C5.875%202.08248%205.875%202.08249%205.875%202.08251C5.875%202.08253%205.875%202.08254%205.875%202.08256C5.875%202.08258%205.875%202.08259%205.875%202.08261C5.875%202.08263%205.875%202.08264%205.875%202.08266C5.875%202.08268%205.875%202.08269%205.875%202.08271C5.875%202.08273%205.875%202.08275%205.875%202.08276C5.875%202.08278%205.875%202.0828%205.875%202.08281C5.875%202.08283%205.875%202.08285%205.875%202.08286C5.875%202.08288%205.875%202.0829%205.875%202.08291C5.875%202.08293%205.875%202.08295%205.875%202.08296C5.875%202.08298%205.875%202.083%205.875%202.08301C5.875%202.08303%205.875%202.08305%205.875%202.08306C5.875%202.08308%205.875%202.0831%205.875%202.08311C5.875%202.08313%205.875%202.08315%205.875%202.08316C5.875%202.08318%205.875%202.0832%205.875%202.08321C5.875%202.08323%205.875%202.08325%205.875%202.08327C5.875%202.08328%205.875%202.0833%205.875%202.08332C5.875%202.08333%205.875%202.08335%205.875%202.08337C5.875%202.08338%205.875%202.0834%205.875%202.08342C5.875%202.08343%205.875%202.08345%205.875%202.08347C5.875%202.08348%205.875%202.0835%205.875%202.08352C5.875%202.08353%205.875%202.08355%205.875%202.08357C5.875%202.08358%205.875%202.0836%205.875%202.08362C5.875%202.08363%205.875%202.08365%205.875%202.08367C5.875%202.08368%205.875%202.0837%205.875%202.08372C5.875%202.08373%205.875%202.08375%205.875%202.08377C5.875%202.08378%205.875%202.0838%205.875%202.08382C5.875%202.08384%205.875%202.08385%205.875%202.08387C5.875%202.08389%205.875%202.0839%205.875%202.08392C5.875%202.08394%205.875%202.08395%205.875%202.08397C5.875%202.08399%205.875%202.084%205.875%202.08402C5.875%202.08404%205.875%202.08405%205.875%202.08407C5.875%202.08409%205.875%202.0841%205.875%202.08412C5.875%202.08414%205.875%202.08415%205.875%202.08417C5.875%202.08419%205.875%202.0842%205.875%202.08422C5.875%202.08424%205.875%202.08425%205.875%202.08427C5.875%202.08429%205.875%202.0843%205.875%202.08432C5.875%202.08434%205.875%202.08436%205.875%202.08437C5.875%202.08439%205.875%202.08441%205.875%202.08442C5.875%202.08444%205.875%202.08446%205.875%202.08447C5.875%202.08449%205.875%202.08451%205.875%202.08452C5.875%202.08454%205.875%202.08456%205.875%202.08457C5.875%202.08459%205.875%202.08461%205.875%202.08462C5.875%202.08464%205.875%202.08466%205.875%202.08467C5.875%202.08469%205.875%202.08471%205.875%202.08472C5.875%202.08474%205.875%202.08476%205.875%202.08477C5.875%202.08479%205.875%202.08481%205.875%202.08482C5.875%202.08484%205.875%202.08486%205.875%202.08488C5.875%202.08489%205.875%202.08491%205.875%202.08493C5.875%202.08494%205.875%202.08496%205.875%202.08498C5.875%202.08499%205.875%202.08501%205.875%202.08503C5.875%202.08504%205.875%202.08506%205.875%202.08508C5.875%202.08509%205.875%202.08511%205.875%202.08513C5.875%202.08514%205.875%202.08516%205.875%202.08518C5.875%202.08519%205.875%202.08521%205.875%202.08523C5.875%202.08524%205.875%202.08526%205.875%202.08528C5.875%202.08529%205.875%202.08531%205.875%202.08533C5.875%202.08534%205.875%202.08536%205.875%202.08538C5.875%202.0854%205.875%202.08541%205.875%202.08543C5.875%202.08545%205.875%202.08546%205.875%202.08548C5.875%202.0855%205.875%202.08551%205.875%202.08553C5.875%202.08555%205.875%202.08556%205.875%202.08558C5.875%202.0856%205.875%202.08561%205.875%202.08563C5.875%202.08565%205.875%202.08566%205.875%202.08568C5.875%202.0857%205.875%202.08571%205.875%202.08573C5.875%202.08575%205.875%202.08576%205.875%202.08578C5.875%202.0858%205.875%202.08581%205.875%202.08583C5.875%202.08585%205.875%202.08586%205.875%202.08588C5.875%202.0859%205.875%202.08592%205.875%202.08593C5.875%202.08595%205.875%202.08597%205.875%202.08598C5.875%202.086%205.875%202.08602%205.875%202.08603C5.875%202.08605%205.875%202.08607%205.875%202.08608C5.875%202.0861%205.875%202.08612%205.875%202.08613C5.875%202.08615%205.875%202.08617%205.875%202.08618C5.875%202.0862%205.875%202.08622%205.875%202.08623C5.875%202.08625%205.875%202.08627%205.875%202.08628C5.875%202.0863%205.875%202.08632%205.875%202.08633C5.875%202.08635%205.875%202.08637%205.875%202.08639C5.875%202.0864%205.875%202.08642%205.875%202.08644C5.875%202.08645%205.875%202.08647%205.875%202.08649C5.875%202.0865%205.875%202.08652%205.875%202.08654C5.875%202.08655%205.875%202.08657%205.875%202.08659C5.875%202.0866%205.875%202.08662%205.875%202.08664C5.875%202.08665%205.875%202.08667%205.875%202.08669C5.875%202.0867%205.875%202.08672%205.875%202.08674C5.875%202.08675%205.875%202.08677%205.875%202.08679C5.875%202.0868%205.875%202.08682%205.875%202.08684C5.875%202.08685%205.875%202.08687%205.875%202.08689C5.875%202.08691%205.875%202.08692%205.875%202.08694C5.875%202.08696%205.875%202.08697%205.875%202.08699C5.875%202.08701%205.875%202.08702%205.875%202.08704C5.875%202.08706%205.875%202.08707%205.875%202.08709C5.875%202.08711%205.875%202.08712%205.875%202.08714C5.875%202.08716%205.875%202.08717%205.875%202.08719C5.875%202.08721%205.875%202.08722%205.875%202.08724C5.875%202.08726%205.875%202.08727%205.875%202.08729C5.875%202.08731%205.875%202.08732%205.875%202.08734C5.875%202.08736%205.875%202.08738%205.875%202.08739C5.875%202.08741%205.875%202.08743%205.875%202.08744C5.875%202.08746%205.875%202.08748%205.875%202.08749C5.875%202.08751%205.875%202.08753%205.875%202.08754C5.875%202.08756%205.875%202.08758%205.875%202.08759C5.875%202.08761%205.875%202.08763%205.875%202.08764C5.875%202.08766%205.875%202.08768%205.875%202.08769C5.875%202.08771%205.875%202.08773%205.875%202.08774C5.875%202.08776%205.875%202.08778%205.875%202.08779C5.875%202.08781%205.875%202.08783%205.875%202.08784C5.875%202.08786%205.875%202.08788%205.875%202.0879C5.875%202.08791%205.875%202.08793%205.875%202.08795C5.875%202.08796%205.875%202.08798%205.875%202.088C5.875%202.08801%205.875%202.08803%205.875%202.08805C5.875%202.08806%205.875%202.08808%205.875%202.0881C5.875%202.08811%205.875%202.08813%205.875%202.08815C5.875%202.08816%205.875%202.08818%205.875%202.0882C5.875%202.08821%205.875%202.08823%205.875%202.08825C5.875%202.08826%205.875%202.08828%205.875%202.0883C5.875%202.08832%205.875%202.08833%205.875%202.08835C5.875%202.08837%205.875%202.08838%205.875%202.0884C5.875%202.08842%205.875%202.08843%205.875%202.08845C5.875%202.08847%205.875%202.08848%205.875%202.0885C5.875%202.08852%205.875%202.08853%205.875%202.08855C5.875%202.08857%205.875%202.08858%205.875%202.0886C5.875%202.08862%205.875%202.08863%205.875%202.08865C5.875%202.08867%205.875%202.08868%205.875%202.0887C5.875%202.08872%205.875%202.08873%205.875%202.08875C5.875%202.08877%205.875%202.08878%205.875%202.0888C5.875%202.08882%205.875%202.08884%205.875%202.08885C5.875%202.08887%205.875%202.08889%205.875%202.0889C5.875%202.08892%205.875%202.08894%205.875%202.08895C5.875%202.08897%205.875%202.08899%205.875%202.089C5.875%202.08902%205.875%202.08904%205.875%202.08905C5.875%202.08907%205.875%202.08909%205.875%202.0891C5.875%202.08912%205.875%202.08914%205.875%202.08915C5.875%202.08917%205.875%202.08919%205.875%202.0892C5.875%202.08922%205.875%202.08924%205.875%202.08925C5.875%202.08927%205.875%202.08929%205.875%202.08931C5.875%202.08932%205.875%202.08934%205.875%202.08936C5.875%202.08937%205.875%202.08939%205.875%202.08941C5.875%202.08942%205.875%202.08944%205.875%202.08946C5.875%202.08947%205.875%202.08949%205.875%202.08951C5.875%202.08952%205.875%202.08954%205.875%202.08956C5.875%202.08957%205.875%202.08959%205.875%202.08961C5.875%202.08962%205.875%202.08964%205.875%202.08966C5.875%202.08967%205.875%202.08969%205.875%202.08971C5.875%202.08973%205.875%202.08974%205.875%202.08976C5.875%202.08978%205.875%202.08979%205.875%202.08981C5.875%202.08983%205.875%202.08984%205.875%202.08986C5.875%202.08988%205.875%202.08989%205.875%202.08991C5.875%202.08993%205.875%202.08994%205.875%202.08996C5.875%202.08998%205.875%202.08999%205.875%202.09001C5.875%202.09003%205.875%202.09004%205.875%202.09006C5.875%202.09008%205.875%202.09009%205.875%202.09011C5.875%202.09013%205.875%202.09014%205.875%202.09016C5.875%202.09018%205.875%202.0902%205.875%202.09021C5.875%202.09023%205.875%202.09025%205.875%202.09026C5.875%202.09028%205.875%202.0903%205.875%202.09031C5.875%202.09033%205.875%202.09035%205.875%202.09036C5.875%202.09038%205.875%202.0904%205.875%202.09041C5.875%202.09043%205.875%202.09045%205.875%202.09046C5.875%202.09048%205.875%202.0905%205.875%202.09051C5.875%202.09053%205.875%202.09055%205.875%202.09056C5.875%202.09058%205.875%202.0906%205.875%202.09062C5.875%202.09063%205.875%202.09065%205.875%202.09067C5.875%202.09068%205.875%202.0907%205.875%202.09072C5.875%202.09073%205.875%202.09075%205.875%202.09077C5.875%202.09078%205.875%202.0908%205.875%202.09082C5.875%202.09083%205.875%202.09085%205.875%202.09087C5.875%202.09088%205.875%202.0909%205.875%202.09092C5.875%202.09093%205.875%202.09095%205.875%202.09097C5.875%202.09098%205.875%202.091%205.875%202.09102C5.875%202.09103%205.875%202.09105%205.875%202.09107C5.875%202.09109%205.875%202.0911%205.875%202.09112C5.875%202.09114%205.875%202.09115%205.875%202.09117C5.875%202.09119%205.875%202.0912%205.875%202.09122C5.875%202.09124%205.875%202.09125%205.875%202.09127C5.875%202.09129%205.875%202.0913%205.875%202.09132C5.875%202.09134%205.875%202.09135%205.875%202.09137C5.875%202.09139%205.875%202.0914%205.875%202.09142C5.875%202.09144%205.875%202.09145%205.875%202.09147C5.875%202.09149%205.875%202.09151%205.875%202.09152C5.875%202.09154%205.875%202.09156%205.875%202.09157C5.875%202.09159%205.875%202.09161%205.875%202.09162C5.875%202.09164%205.875%202.09166%205.875%202.09167C5.875%202.09169%205.875%202.09171%205.875%202.09172C5.875%202.09174%205.875%202.09176%205.875%202.09177C5.875%202.09179%205.875%202.09181%205.875%202.09182C5.875%202.09184%205.875%202.09186%205.875%202.09187C5.875%202.09189%205.875%202.09191%205.875%202.09192C5.875%202.09194%205.875%202.09196%205.875%202.09198C5.875%202.09199%205.875%202.09201%205.875%202.09203C5.875%202.09204%205.875%202.09206%205.875%202.09208C5.875%202.09209%205.875%202.09211%205.875%202.09213C5.875%202.09214%205.875%202.09216%205.875%202.09218C5.875%202.09219%205.875%202.09221%205.875%202.09223C5.875%202.09224%205.875%202.09226%205.875%202.09228C5.875%202.09229%205.875%202.09231%205.875%202.09233C5.875%202.09234%205.875%202.09236%205.875%202.09238C5.875%202.0924%205.875%202.09241%205.875%202.09243C5.875%202.09245%205.875%202.09246%205.875%202.09248C5.875%202.0925%205.875%202.09251%205.875%202.09253C5.875%202.09255%205.875%202.09256%205.875%202.09258C5.875%202.0926%205.875%202.09261%205.875%202.09263C5.875%202.09265%205.875%202.09266%205.875%202.09268C5.875%202.0927%205.875%202.09271%205.875%202.09273C5.875%202.09275%205.875%202.09276%205.875%202.09278C5.875%202.0928%205.875%202.09282%205.875%202.09283C5.875%202.09285%205.875%202.09287%205.875%202.09288C5.875%202.0929%205.875%202.09292%205.875%202.09293C5.875%202.09295%205.875%202.09297%205.875%202.09298C5.875%202.093%205.875%202.09302%205.875%202.09303C5.875%202.09305%205.875%202.09307%205.875%202.09308C5.875%202.0931%205.875%202.09312%205.875%202.09313C5.875%202.09315%205.875%202.09317%205.875%202.09318C5.875%202.0932%205.875%202.09322%205.875%202.09324C5.875%202.09325%205.875%202.09327%205.875%202.09329C5.875%202.0933%205.875%202.09332%205.875%202.09334C5.875%202.09335%205.875%202.09337%205.875%202.09339C5.875%202.0934%205.875%202.09342%205.875%202.09344C5.875%202.09345%205.875%202.09347%205.875%202.09349C5.875%202.0935%205.875%202.09352%205.875%202.09354C5.875%202.09355%205.875%202.09357%205.875%202.09359C5.875%202.0936%205.875%202.09362%205.875%202.09364C5.875%202.09366%205.875%202.09367%205.875%202.09369C5.875%202.09371%205.875%202.09372%205.875%202.09374C5.875%202.09376%205.875%202.09377%205.875%202.09379C5.875%202.09381%205.875%202.09382%205.875%202.09384C5.875%202.09386%205.875%202.09387%205.875%202.09389C5.875%202.09391%205.875%202.09392%205.875%202.09394C5.875%202.09396%205.875%202.09397%205.875%202.09399C5.875%202.09401%205.875%202.09402%205.875%202.09404C5.875%202.09406%205.875%202.09408%205.875%202.09409C5.875%202.09411%205.875%202.09413%205.875%202.09414C5.875%202.09416%205.875%202.09418%205.875%202.09419C5.875%202.09421%205.875%202.09423%205.875%202.09424C5.875%202.09426%205.875%202.09428%205.875%202.09429C5.875%202.09431%205.875%202.09433%205.875%202.09434C5.875%202.09436%205.875%202.09438%205.875%202.09439C5.875%202.09441%205.875%202.09443%205.875%202.09444C5.875%202.09446%205.875%202.09448%205.875%202.0945C5.875%202.09451%205.875%202.09453%205.875%202.09455C5.875%202.09456%205.875%202.09458%205.875%202.0946C5.875%202.09461%205.875%202.09463%205.875%202.09465C5.875%202.09466%205.875%202.09468%205.875%202.0947C5.875%202.09471%205.875%202.09473%205.875%202.09475C5.875%202.09476%205.875%202.09478%205.875%202.0948C5.875%202.09481%205.875%202.09483%205.875%202.09485C5.875%202.09486%205.875%202.09488%205.875%202.0949C5.875%202.09492%205.875%202.09493%205.875%202.09495C5.875%202.09497%205.875%202.09498%205.875%202.095C5.875%202.09502%205.875%202.09503%205.875%202.09505C5.875%202.09507%205.875%202.09508%205.875%202.0951C5.875%202.09512%205.875%202.09513%205.875%202.09515C5.875%202.09517%205.875%202.09518%205.875%202.0952C5.875%202.09522%205.875%202.09523%205.875%202.09525C5.875%202.09527%205.875%202.09529%205.875%202.0953C5.875%202.09532%205.875%202.09534%205.875%202.09535C5.875%202.09537%205.875%202.09539%205.875%202.0954C5.875%202.09542%205.875%202.09544%205.875%202.09545H6.875ZM6.875%202.0697L7.875%202.06946C7.87494%201.82949%207.87728%201.71171%207.88686%201.64542L6.89715%201.50233L5.90744%201.35925C5.87262%201.60007%205.87496%201.88251%205.875%202.06993L6.875%202.0697ZM6.89715%201.50233L7.88686%201.64541C7.8908%201.61814%207.89096%201.64443%207.86608%201.69195C7.85169%201.71945%207.8274%201.75713%207.78892%201.79571C7.74911%201.83563%207.70295%201.86754%207.65577%201.88908L7.2404%200.979433L6.82503%200.069782C6.06884%200.415081%205.93812%201.14702%205.90744%201.35926L6.89715%201.50233ZM7.2404%200.979433L7.65577%201.88908C7.6086%201.91062%207.55426%201.9246%207.49803%201.92854C7.44368%201.93235%207.3993%201.92604%207.36909%201.9189C7.31688%201.90658%207.2971%201.88924%207.32021%201.90407L7.86035%201.0625L8.40049%200.220926C8.2199%200.105018%207.58119%20-0.275504%206.82503%200.069782L7.2404%200.979433ZM7.86035%201.0625L7.32035%201.90417C7.37667%201.9403%207.46704%202.01557%207.6485%202.1729L8.3036%201.41736L8.9587%200.661812C8.81726%200.539179%208.60523%200.35228%208.40034%200.22083L7.86035%201.0625ZM7.6265%201.82502L6.98536%202.59244C7.03353%202.63268%207.09418%202.68494%207.17674%202.75652L7.83185%202.00099L8.48696%201.24546C8.40542%201.17476%208.33177%201.11117%208.26764%201.05759L7.6265%201.82502ZM7.83185%202.00099L7.17692%202.75669L8.35557%203.77817L9.0105%203.02248L9.66543%202.26679L8.48678%201.2453L7.83185%202.00099ZM9.0105%203.02248L8.35557%203.77816C8.79334%204.15757%209.00793%204.34786%209.13204%204.49034L9.8861%203.83354L10.6402%203.17673C10.4015%202.9027%2010.0562%202.60542%209.66543%202.26679L9.0105%203.02248ZM9.8861%203.83354L9.13207%204.49037C9.18382%204.54979%209.17363%204.55034%209.15157%204.50313C9.13906%204.47636%209.12424%204.43754%209.11331%204.38837C9.10217%204.33823%209.0981%204.29095%209.0981%204.25047H10.0981H11.0981C11.0981%203.80905%2010.8917%203.46555%2010.6401%203.1767L9.8861%203.83354ZM10.0981%204.25047H9.0981C9.0981%204.21%209.10217%204.16272%209.11331%204.11259C9.12424%204.06341%209.13906%204.02459%209.15157%203.99782C9.17363%203.9506%209.18383%203.95115%209.13207%204.01056L9.8861%204.66741L10.6401%205.32425C10.8917%205.0354%2011.0981%204.6919%2011.0981%204.25047H10.0981ZM9.8861%204.66741L9.13204%204.0106C9.00793%204.15309%208.79335%204.34335%208.35553%204.72283L9.0105%205.47849L9.66546%206.23415C10.0562%205.89552%2010.4015%205.59824%2010.6402%205.32421L9.8861%204.66741ZM9.0105%205.47849L8.35559%204.72278L7.17694%205.74423L7.83185%206.49994L8.48676%207.25564L9.66541%206.23419L9.0105%205.47849ZM7.83185%206.49994L7.17671%205.74443C7.09397%205.81618%207.03348%205.86832%206.98544%205.90845L7.6265%206.67594L8.26756%207.44343C8.33182%207.38976%208.40563%207.326%208.48699%207.25545L7.83185%206.49994ZM7.6265%206.67594L8.62634%206.65817C8.62522%206.59518%208.625%206.51504%208.625%206.40549H7.625H6.625C6.625%206.51324%206.62518%206.61039%206.62666%206.69371L7.6265%206.67594ZM7.625%206.40549H8.625V5.64334H7.625H6.625V6.40549H7.625ZM7.625%205.64334H8.625C8.625%204.88395%208.00938%204.26834%207.25%204.26834V5.26834V6.26834C6.90481%206.26834%206.625%205.98852%206.625%205.64334H7.625ZM7.25%205.26834V4.26834C6.29922%204.26834%205.31602%204.48646%204.45679%204.89471L4.88595%205.79794L5.31511%206.70117C5.90178%206.42242%206.59128%206.26834%207.25%206.26834V5.26834ZM4.88595%205.79794L4.45684%204.89469C4.05567%205.08527%203.66634%205.32466%203.31519%205.61621L3.95399%206.38559L4.59279%207.15496C4.80037%206.98261%205.04498%206.8295%205.31507%206.70119L4.88595%205.79794ZM3.95399%206.38559L4.94262%206.53593C5.08423%205.60472%205.4221%205.08821%205.74004%204.79162L5.0579%204.06039L4.37576%203.32917C3.68757%203.97117%203.16574%204.91755%202.96536%206.23525L3.95399%206.38559ZM5.0579%204.06039L5.74005%204.7916C6.17103%204.38954%206.74088%204.23262%207.25%204.23262V3.23262V2.23262C6.37012%202.23262%205.26557%202.49907%204.37575%203.32918L5.0579%204.06039ZM7.25%203.23262V4.23262C8.00938%204.23262%208.625%203.61702%208.625%202.85762H7.625H6.625C6.625%202.51243%206.90482%202.23262%207.25%202.23262V3.23262ZM7.625%202.85762H8.625V2.09545H7.625H6.625V2.85762H7.625ZM7.625%202.09545H8.625C8.625%201.98593%208.62522%201.90578%208.62634%201.84279L7.6265%201.82502L6.62666%201.80725C6.62518%201.89057%206.625%201.98773%206.625%202.09545H7.625Z'%20fill='white'%20mask='url(%23path-3-inside-2_27625_162385)'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_27625_162385'%3e%3crect%20width='12'%20height='12'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e"},Ho="0 0 0 2px rgba(233, 79, 28, 0.28), 0 0 4px 2px rgba(233, 79, 28, 0.18)",z0=Ho,Us="inset 0 0 0 2px rgba(233, 79, 28, 0.35)",xt=()=>({"&:focus-visible, &.Mui-focusVisible":{outline:"none",boxShadow:z0}}),Gs=()=>({outline:"none",boxShadow:Us}),ac=(e,t)=>({[`${t}:focus-visible, ${t}.Mui-focusVisible`]:{outline:"none",boxShadow:z0}}),H0={MuiButtonBase:{styleOverrides:{root:{"&.Mui-focusVisible":{outline:"none",boxShadow:z0}}}}},wt=e=>t=>{(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),e(t))},Ip={light:O.createTheme({mode:"light",palette:{primary:{appBackground:"#FFFFFF",main:"#f5f7fa",notifyBackground:"#F8FAFB",notifyTextColor:"#525252",notifyActiveText:"#282A2A",notifyBorderColor:"#D0D4DA",notifyTooltipBackground:"#07080B",notifyButtonBackground:"#E6EAEC",notifyActiveBorderColor:"#1D1D1D",notifyIconColor:"#666D80"},brandColor:{blue:"#0166FF",lightBlue:"#0582CA",orange:"#E94F1C",lightOrange:"#ff9a78",grey1:"#595959",red:"#E85353",main:"#FF6D33",grey3:"#898A93",paginationBc:"#EDEDED",white:"#FFFFFF",grey:"#2D2D2F"}},typography:{fontFamily:"Euclid Circular Regular, sans-serif",fontSize:12,fontWeightMedium:"bold",fontWeightRegular:"lighter"},components:{MuiDrawer:{defaultProps:{disableRipple:!0}},...H0},icons:{close:Te.CrossLight,filter:Te.FilterLight}}),dark:O.createTheme({mode:"dark",palette:{primary:{appBackground:"#101010",main:"#f5f7fa",notifyBackground:"#1D1D1D",notifyTextColor:"#A8A8A8",notifyActiveText:"#FFFFFF",notifyBorderColor:"#313133",notifyTooltipBackground:"#07080B",notifyButtonBackground:"#2C2C2F",notifyActiveBorderColor:"#FFFFFF",notifyIconColor:"#909090"},brandColor:{blue:"#0166FF",lightBlue:"#0582CA",orange:"#E94F1C",lightOrange:"#ff9a78",grey1:"#595959",main:"#FF6D33",red:"#E85353",grey3:"#898A93",paginationBc:"#1D1D1F",white:"#FFFFFF"}},typography:{fontFamily:"Euclid Circular Regular, sans-serif",fontSize:12,fontWeightMedium:"bold",fontWeightRegular:"lighter"},components:{MuiDrawer:{defaultProps:{disableRipple:!0}},...H0},icons:{close:Te.Cross,filter:Te.Filter}})},Pp=["typography","components","breakpoints","spacing","shape","transitions","mixins","zIndex","direction","unstable_sxConfig"];function At({children:e}){const t=JSON.parse(localStorage.getItem("settings"))?.platform?.theme||"light",[n,r]=p.useState(t);p.useEffect(()=>{const i=a=>{r(a?.detail)};return window.addEventListener(Hs.THEME,i),()=>{window.removeEventListener(Hs.THEME,i)}},[]);const o=O.useTheme(),s=p.useMemo(()=>{const i=Ip[n];if(!o)return i;const a=Object.fromEntries(Pp.map(l=>[l,i[l]]));return{...i,...o,...a,palette:{...i.palette,...o.palette,primary:{...i.palette.primary,...o.palette?.primary}}}},[n,o]);return f.jsx(O.ThemeProvider,{theme:s,children:e})}const U0=p.createContext({});function ir(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}const G0=typeof window<"u"?p.useLayoutEffect:p.useEffect,Ys=p.createContext(null);function Y0(e,t){e.indexOf(t)===-1&&e.push(t)}function qs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Lp([...e],t,n){const r=t<0?e.length+t:t;if(r>=0&&r<e.length){const o=n<0?e.length+n:n,[s]=e.splice(t,1);e.splice(o,0,s)}return e}const An=(e,t,n)=>n>t?t:n<e?e:n;function q0(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Jr=()=>{},Cn=()=>{};typeof process<"u"&&process.env?.NODE_ENV!=="production"&&(Jr=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(q0(t,n))},Cn=(e,t,n)=>{if(!e)throw new Error(q0(t,n))});const ar={},lc=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),cc=e=>typeof e=="object"&&e!==null,uc=e=>/^0[^.\s]+$/u.test(e);function dc(e){let t;return()=>(t===void 0&&(t=e()),t)}const dn=e=>e,Uo=(...e)=>e.reduce((t,n)=>r=>n(t(r))),Go=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};class K0{constructor(){this.subscriptions=[]}add(t){return Y0(this.subscriptions,t),()=>qs(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let s=0;s<o;s++){const i=this.subscriptions[s];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Zt=e=>e*1e3,fn=e=>e/1e3,fc=(e,t)=>t?e*(1e3/t):0,pc=new Set;function Z0(e,t,n){e||pc.has(t)||(console.warn(q0(t,n)),pc.add(t))}const hc=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,jp=1e-7,Rp=12;function _p(e,t,n,r,o){let s,i,a=0;do i=t+(n-t)/2,s=hc(i,r,o)-e,s>0?n=i:t=i;while(Math.abs(s)>jp&&++a<Rp);return i}function Yo(e,t,n,r){if(e===t&&n===r)return dn;const o=s=>_p(s,0,1,e,n);return s=>s===0||s===1?s:hc(o(s),t,r)}const mc=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,gc=e=>t=>1-e(1-t),yc=Yo(.33,1.53,.69,.99),X0=gc(yc),Cc=mc(X0),bc=e=>e>=1?1:(e*=2)<1?.5*X0(e):.5*(2-Math.pow(2,-10*(e-1))),J0=e=>1-Math.sin(Math.acos(e)),vc=gc(J0),xc=mc(J0),Bp=Yo(.42,0,1,1),Np=Yo(0,0,.58,1),wc=Yo(.42,0,.58,1),$p=e=>Array.isArray(e)&&typeof e[0]!="number",Sc=e=>Array.isArray(e)&&typeof e[0]=="number",kc={linear:dn,easeIn:Bp,easeInOut:wc,easeOut:Np,circIn:J0,circInOut:xc,circOut:vc,backIn:X0,backInOut:Cc,backOut:yc,anticipate:bc},Fp=e=>typeof e=="string",Tc=e=>{if(Sc(e)){Cn(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,o]=e;return Yo(t,n,r,o)}else if(Fp(e))return Cn(kc[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),kc[e];return e},Ks=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Vp(e,t){let n=new Set,r=new Set,o=!1,s=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(u){i.has(u)&&(c.schedule(u),e()),u(a)}const c={schedule:(u,d=!1,h=!1)=>{const g=h&&o?n:r;return d&&i.add(u),g.add(u),u},cancel:u=>{r.delete(u),i.delete(u)},process:u=>{if(a=u,o){s=!0;return}o=!0;const d=n;n=r,r=d,n.forEach(l),n.clear(),o=!1,s&&(s=!1,c.process(u))}};return c}const Wp=40;function Ec(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,i=Ks.reduce((w,x)=>(w[x]=Vp(s),w),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:h,render:m,postRender:g}=i,C=()=>{const w=ar.useManualTiming,x=w?o.timestamp:performance.now();n=!1,w||(o.delta=r?1e3/60:Math.max(Math.min(x-o.timestamp,Wp),1)),o.timestamp=x,o.isProcessing=!0,a.process(o),l.process(o),c.process(o),u.process(o),d.process(o),h.process(o),m.process(o),g.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(C))},b=()=>{n=!0,r=!0,o.isProcessing||e(C)};return{schedule:Ks.reduce((w,x)=>{const T=i[x];return w[x]=(M,A=!1,I=!1)=>(n||b(),T.schedule(M,A,I)),w},{}),cancel:w=>{for(let x=0;x<Ks.length;x++)i[Ks[x]].cancel(w)},state:o,steps:i}}const{schedule:et,cancel:Yn,state:Rt,steps:Q0}=Ec(typeof requestAnimationFrame<"u"?requestAnimationFrame:dn,!0);let Zs;function zp(){Zs=void 0}const zt={now:()=>(Zs===void 0&&zt.set(Rt.isProcessing||ar.useManualTiming?Rt.timestamp:performance.now()),Zs),set:e=>{Zs=e,queueMicrotask(zp)}},Mc=e=>t=>typeof t=="string"&&t.startsWith(e),Oc=Mc("--"),Hp=Mc("var(--"),e2=e=>Hp(e)?Up.test(e.split("/*")[0].trim()):!1,Up=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Dc(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Qr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},qo={...Qr,transform:e=>An(0,1,e)},Xs={...Qr,default:1},Ko=e=>Math.round(e*1e5)/1e5,t2=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Gp(e){return e==null}const Yp=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,n2=(e,t)=>n=>!!(typeof n=="string"&&Yp.test(n)&&n.startsWith(e)||t&&!Gp(n)&&Object.prototype.hasOwnProperty.call(n,t)),Ac=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,s,i,a]=r.match(t2);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},qp=e=>An(0,255,e),r2={...Qr,transform:e=>Math.round(qp(e))},xr={test:n2("rgb","red"),parse:Ac("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+r2.transform(e)+", "+r2.transform(t)+", "+r2.transform(n)+", "+Ko(qo.transform(r))+")"};function Kp(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const o2={test:n2("#"),parse:Kp,transform:xr.transform},Zo=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),qn=Zo("deg"),In=Zo("%"),ye=Zo("px"),Zp=Zo("vh"),Xp=Zo("vw"),Ic={...In,parse:e=>In.parse(e)/100,transform:e=>In.transform(e*100)},eo={test:n2("hsl","hue"),parse:Ac("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+In.transform(Ko(t))+", "+In.transform(Ko(n))+", "+Ko(qo.transform(r))+")"},Et={test:e=>xr.test(e)||o2.test(e)||eo.test(e),parse:e=>xr.test(e)?xr.parse(e):eo.test(e)?eo.parse(e):o2.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?xr.transform(e):eo.transform(e),getAnimatableNone:e=>{const t=Et.parse(e);return t.alpha=0,Et.transform(t)}},Jp=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Qp(e){return isNaN(e)&&typeof e=="string"&&(e.match(t2)?.length||0)+(e.match(Jp)?.length||0)>0}const Pc="number",Lc="color",eh="var",th="var(",jc="${}",nh=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function to(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let s=0;const a=t.replace(nh,l=>(Et.test(l)?(r.color.push(s),o.push(Lc),n.push(Et.parse(l))):l.startsWith(th)?(r.var.push(s),o.push(eh),n.push(l)):(r.number.push(s),o.push(Pc),n.push(parseFloat(l))),++s,jc)).split(jc);return{values:n,split:a,indexes:r,types:o}}function rh(e){return to(e).values}function Rc({split:e,types:t}){const n=e.length;return r=>{let o="";for(let s=0;s<n;s++)if(o+=e[s],r[s]!==void 0){const i=t[s];i===Pc?o+=Ko(r[s]):i===Lc?o+=Et.transform(r[s]):o+=r[s]}return o}}function oh(e){return Rc(to(e))}const sh=e=>typeof e=="number"?0:Et.test(e)?Et.getAnimatableNone(e):e,ih=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:sh(e);function ah(e){const t=to(e);return Rc(t)(t.values.map((r,o)=>ih(r,t.split[o])))}const bn={test:Qp,parse:rh,createTransformer:oh,getAnimatableNone:ah};function s2(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function lh({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,s=0,i=0;if(!t)o=s=i=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=s2(l,a,e+1/3),s=s2(l,a,e),i=s2(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}function Js(e,t){return n=>n>0?t:e}const tt=(e,t,n)=>e+(t-e)*n,i2=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},ch=[o2,xr,eo],uh=e=>ch.find(t=>t.test(e));function _c(e){const t=uh(e);if(Jr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===eo&&(n=lh(n)),n}const Bc=(e,t)=>{const n=_c(e),r=_c(t);if(!n||!r)return Js(e,t);const o={...n};return s=>(o.red=i2(n.red,r.red,s),o.green=i2(n.green,r.green,s),o.blue=i2(n.blue,r.blue,s),o.alpha=tt(n.alpha,r.alpha,s),xr.transform(o))},a2=new Set(["none","hidden"]);function dh(e,t){return a2.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function fh(e,t){return n=>tt(e,t,n)}function l2(e){return typeof e=="number"?fh:typeof e=="string"?e2(e)?Js:Et.test(e)?Bc:mh:Array.isArray(e)?Nc:typeof e=="object"?Et.test(e)?Bc:ph:Js}function Nc(e,t){const n=[...e],r=n.length,o=e.map((s,i)=>l2(s)(s,t[i]));return s=>{for(let i=0;i<r;i++)n[i]=o[i](s);return n}}function ph(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=l2(e[o])(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}}function hh(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const s=t.types[o],i=e.indexes[s][r[s]],a=e.values[i]??0;n[o]=a,r[s]++}return n}const mh=(e,t)=>{const n=bn.createTransformer(t),r=to(e),o=to(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?a2.has(e)&&!o.values.length||a2.has(t)&&!r.values.length?dh(e,t):Uo(Nc(hh(r,o),o.values),n):(Jr(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Js(e,t))};function $c(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?tt(e,t,n):l2(e)(e,t)}const gh=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>et.update(t,n),stop:()=>Yn(t),now:()=>Rt.isProcessing?Rt.timestamp:zt.now()}},Fc=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let s=0;s<o;s++)r+=Math.round(e(s/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Qs=2e4;function c2(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Qs;)t+=n,r=e.next(t);return t>=Qs?1/0:t}function yh(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(c2(r),Qs);return{type:"keyframes",ease:s=>r.next(o*s).value/t,duration:fn(o)}}const pt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function u2(e,t){return e*Math.sqrt(1-t*t)}const Ch=12;function bh(e,t,n){let r=n;for(let o=1;o<Ch;o++)r=r-e(r)/t(r);return r}const d2=.001;function vh({duration:e=pt.duration,bounce:t=pt.bounce,velocity:n=pt.velocity,mass:r=pt.mass}){let o,s;Jr(e<=Zt(pt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=An(pt.minDamping,pt.maxDamping,i),e=An(pt.minDuration,pt.maxDuration,fn(e)),i<1?(o=c=>{const u=c*i,d=u*e,h=u-n,m=u2(c,i),g=Math.exp(-d);return d2-h/m*g},s=c=>{const d=c*i*e,h=d*n+n,m=Math.pow(i,2)*Math.pow(c,2)*e,g=Math.exp(-d),C=u2(Math.pow(c,2),i);return(-o(c)+d2>0?-1:1)*((h-m)*g)/C}):(o=c=>{const u=Math.exp(-c*e),d=(c-n)*e+1;return-d2+u*d},s=c=>{const u=Math.exp(-c*e),d=(n-c)*(e*e);return u*d});const a=5/e,l=bh(o,s,a);if(e=Zt(e),isNaN(l))return{stiffness:pt.stiffness,damping:pt.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:i*2*Math.sqrt(r*c),duration:e}}}const xh=["duration","bounce"],wh=["stiffness","damping","mass"];function Vc(e,t){return t.some(n=>e[n]!==void 0)}function Sh(e){let t={velocity:pt.velocity,stiffness:pt.stiffness,damping:pt.damping,mass:pt.mass,isResolvedFromDuration:!1,...e};if(!Vc(e,wh)&&Vc(e,xh))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,s=2*An(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:pt.mass,stiffness:o,damping:s}}else{const n=vh({...e,velocity:0});t={...t,...n,mass:pt.mass},t.isResolvedFromDuration=!0}return t}function ei(e=pt.visualDuration,t=pt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const s=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:c,mass:u,duration:d,velocity:h,isResolvedFromDuration:m}=Sh({...n,velocity:-fn(n.velocity||0)}),g=h||0,C=c/(2*Math.sqrt(l*u)),b=i-s,v=fn(Math.sqrt(l/u)),k=Math.abs(b)<5;r||(r=k?pt.restSpeed.granular:pt.restSpeed.default),o||(o=k?pt.restDelta.granular:pt.restDelta.default);let w,x,T,M,A,I;if(C<1)T=u2(v,C),M=(g+C*v*b)/T,w=R=>{const W=Math.exp(-C*v*R);return i-W*(M*Math.sin(T*R)+b*Math.cos(T*R))},A=C*v*M+b*T,I=C*v*b-M*T,x=R=>Math.exp(-C*v*R)*(A*Math.sin(T*R)+I*Math.cos(T*R));else if(C===1){w=W=>i-Math.exp(-v*W)*(b+(g+v*b)*W);const R=g+v*b;x=W=>Math.exp(-v*W)*(v*R*W-g)}else{const R=v*Math.sqrt(C*C-1);w=_=>{const N=Math.exp(-C*v*_),U=Math.min(R*_,300);return i-N*((g+C*v*b)*Math.sinh(U)+R*b*Math.cosh(U))/R};const W=(g+C*v*b)/R,S=C*v*W-b*R,j=C*v*b-W*R;x=_=>{const N=Math.exp(-C*v*_),U=Math.min(R*_,300);return N*(S*Math.sinh(U)+j*Math.cosh(U))}}const P={calculatedDuration:m&&d||null,velocity:R=>Zt(x(R)),next:R=>{if(!m&&C<1){const S=Math.exp(-C*v*R),j=Math.sin(T*R),_=Math.cos(T*R),N=i-S*(M*j+b*_),U=Zt(S*(A*j+I*_));return a.done=Math.abs(U)<=r&&Math.abs(i-N)<=o,a.value=a.done?i:N,a}const W=w(R);if(m)a.done=R>=d;else{const S=Zt(x(R));a.done=Math.abs(S)<=r&&Math.abs(i-W)<=o}return a.value=a.done?i:W,a},toString:()=>{const R=Math.min(c2(P),Qs),W=Fc(S=>P.next(R*S).value,R,30);return R+"ms "+W},toTransition:()=>{}};return P}ei.applyToOptions=e=>{const t=yh(e,100,ei);return e.ease=t.ease,e.duration=Zt(t.duration),e.type="keyframes",e};const kh=5;function Wc(e,t,n){const r=Math.max(t-kh,0);return fc(n-e(r),t-r)}function f2({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:i,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],h={done:!1,value:d},m=I=>a!==void 0&&I<a||l!==void 0&&I>l,g=I=>a===void 0?l:l===void 0||Math.abs(a-I)<Math.abs(l-I)?a:l;let C=n*t;const b=d+C,v=i===void 0?b:i(b);v!==b&&(C=v-d);const k=I=>-C*Math.exp(-I/r),w=I=>v+k(I),x=I=>{const P=k(I),R=w(I);h.done=Math.abs(P)<=c,h.value=h.done?v:R};let T,M;const A=I=>{m(h.value)&&(T=I,M=ei({keyframes:[h.value,g(h.value)],velocity:Wc(w,I,h.value),damping:o,stiffness:s,restDelta:c,restSpeed:u}))};return A(0),{calculatedDuration:null,next:I=>{let P=!1;return!M&&T===void 0&&(P=!0,x(I),A(I)),T!==void 0&&I>=T?M.next(I-T):(!P&&x(I),h)}}}function Th(e,t,n){const r=[],o=n||ar.mix||$c,s=e.length-1;for(let i=0;i<s;i++){let a=o(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||dn:t;a=Uo(l,a)}r.push(a)}return r}function zc(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(Cn(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Th(t,r,o),l=a.length,c=u=>{if(i&&u<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(u<e[d+1]);d++);const h=Go(e[d],e[d+1],u);return a[d](h)};return n?u=>c(An(e[0],e[s-1],u)):c}function Eh(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Go(0,t,r);e.push(tt(n,1,o))}}function Mh(e){const t=[0];return Eh(t,e.length-1),t}function Oh(e,t){return e.map(n=>n*t)}function Dh(e,t){return e.map(()=>t||wc).splice(0,e.length-1)}function no({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=$p(r)?r.map(Tc):Tc(r),s={done:!1,value:t[0]},i=Oh(n&&n.length===t.length?n:Mh(t),e),a=zc(i,t,{ease:Array.isArray(o)?o:Dh(t,o)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const Ah=e=>e!==null;function ti(e,{repeat:t,repeatType:n="loop"},r,o=1){const s=e.filter(Ah),a=o<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const Ih={decay:f2,inertia:f2,tween:no,keyframes:no,spring:ei};function Hc(e){typeof e.type=="string"&&(e.type=Ih[e.type])}class p2{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const Ph=e=>e/100;class ni extends p2{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==zt.now()&&this.tick(zt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Hc(t);const{type:n=no,repeat:r=0,repeatDelay:o=0,repeatType:s,velocity:i=0}=t;let{keyframes:a}=t;const l=n||no;process.env.NODE_ENV!=="production"&&l!==no&&Cn(a.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`,"spring-two-frames"),l!==no&&typeof a[0]!="number"&&(this.mixKeyframes=Uo(Ph,$c(a[0],a[1])),a=[0,100]);const c=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-i})),c.calculatedDuration===null&&(c.calculatedDuration=c2(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=c}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:o,mixKeyframes:s,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:u,repeat:d,repeatType:h,repeatDelay:m,type:g,onUpdate:C,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const v=this.currentTime-c*(this.playbackSpeed>=0?1:-1),k=this.playbackSpeed>=0?v<0:v>o;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let w=this.currentTime,x=r;if(d){const I=Math.min(this.currentTime,o)/a;let P=Math.floor(I),R=I%1;!R&&I>=1&&(R=1),R===1&&P--,P=Math.min(P,d+1),P%2&&(h==="reverse"?(R=1-R,m&&(R-=m/a)):h==="mirror"&&(x=i)),w=An(0,1,R)*a}let T;k?(this.delayState.value=u[0],T=this.delayState):T=x.next(w),s&&!k&&(T.value=s(T.value));let{done:M}=T;!k&&l!==null&&(M=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const A=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&M);return A&&g!==f2&&(T.value=ti(u,this.options,b,this.speed)),C&&C(T.value),A&&this.finish(),T}then(t,n){return this.finished.then(t,n)}get duration(){return fn(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+fn(t)}get time(){return fn(this.currentTime)}set time(t){t=Zt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return Wc(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(zt.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=fn(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=gh,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(zt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function Lh(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const wr=e=>e*180/Math.PI,h2=e=>{const t=wr(Math.atan2(e[1],e[0]));return m2(t)},jh={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:h2,rotateZ:h2,skewX:e=>wr(Math.atan(e[1])),skewY:e=>wr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},m2=e=>(e=e%360,e<0&&(e+=360),e),Uc=h2,Gc=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Yc=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Rh={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Gc,scaleY:Yc,scale:e=>(Gc(e)+Yc(e))/2,rotateX:e=>m2(wr(Math.atan2(e[6],e[5]))),rotateY:e=>m2(wr(Math.atan2(-e[2],e[0]))),rotateZ:Uc,rotate:Uc,skewX:e=>wr(Math.atan(e[4])),skewY:e=>wr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function g2(e){return e.includes("scale")?1:0}function y2(e,t){if(!e||e==="none")return g2(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=Rh,o=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=jh,o=a}if(!o)return g2(t);const s=r[t],i=o[1].split(",").map(Bh);return typeof s=="function"?s(i):i[s]}const _h=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return y2(n,t)};function Bh(e){return parseFloat(e.trim())}const ro=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],oo=new Set([...ro,"pathRotation"]),qc=e=>e===Qr||e===ye,Nh=new Set(["x","y","z"]),$h=ro.filter(e=>!Nh.has(e));function Fh(e){const t=[];return $h.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const lr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const o=e.max-e.min;return r==="border-box"?o:o-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>y2(t,"x"),y:(e,{transform:t})=>y2(t,"y")};lr.translateX=lr.x,lr.translateY=lr.y;const Sr=new Set;let C2=!1,b2=!1,v2=!1;function Kc(){if(b2){const e=Array.from(Sr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=Fh(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([s,i])=>{r.getValue(s)?.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}b2=!1,C2=!1,Sr.forEach(e=>e.complete(v2)),Sr.clear()}function Zc(){Sr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(b2=!0)})}function Vh(){v2=!0,Zc(),Kc(),v2=!1}class x2{constructor(t,n,r,o,s,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=s,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(Sr.add(this),C2||(C2=!0,et.read(Zc),et.resolveKeyframes(Kc))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){const s=o?.get(),i=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,i);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=i),o&&s===void 0&&o.set(t[0])}Lh(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Sr.delete(this)}cancel(){this.state==="scheduled"&&(Sr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Wh=e=>e.startsWith("--");function Xc(e,t,n){Wh(t)?e.style.setProperty(t,n):e.style[t]=n}const zh={};function Jc(e,t){const n=dc(e);return()=>zh[t]??n()}const Hh=Jc(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Qc=Jc(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Xo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,e7={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Xo([0,.65,.55,1]),circOut:Xo([.55,0,1,.45]),backIn:Xo([.31,.01,.66,-.59]),backOut:Xo([.33,1.53,.69,.99])};function t7(e,t){if(e)return typeof e=="function"?Qc()?Fc(e,t):"ease-out":Sc(e)?Xo(e):Array.isArray(e)?e.map(n=>t7(n,t)||e7.easeOut):e7[e]}function Uh(e,t,n,{delay:r=0,duration:o=300,repeat:s=0,repeatType:i="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const d=t7(a,o);Array.isArray(d)&&(u.easing=d);const h={delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:i==="reverse"?"alternate":"normal"};return c&&(h.pseudoElement=c),e.animate(u,h)}function n7(e){return typeof e=="function"&&"applyToOptions"in e}function Gh({type:e,...t}){return n7(e)&&Qc()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class r7 extends p2{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:s,allowFlatten:i=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=i,this.options=t,Cn(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const c=Gh(t);this.animation=Uh(n,r,o,c,s),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const u=ti(o,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(u),Xc(n,r,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return fn(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+fn(t)}get time(){return fn(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Zt(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:o}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&Hh()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),dn):o(this)}}const o7={anticipate:bc,backInOut:Cc,circInOut:xc};function Yh(e){return e in o7}function qh(e){typeof e.ease=="string"&&Yh(e.ease)&&(e.ease=o7[e.ease])}const w2=10;class Kh extends r7{constructor(t){qh(t),Hc(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:o,element:s,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new ni({...i,autoplay:!1}),l=Math.max(w2,zt.now()-this.startTime),c=An(0,w2,l-w2),u=a.sample(l).value,{name:d}=this.options;s&&d&&Xc(s,d,u),n.setWithVelocity(a.sample(Math.max(0,l-c)).value,u,c),a.stop()}}const s7=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(bn.test(e)||e==="0")&&!e.startsWith("url("));function Zh(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Xh(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],i=s7(o,t),a=s7(s,t);return Jr(i===a,`You are trying to animate ${t} from "${o}" to "${s}". "${i?s:o}" is not an animatable value.`,"value-not-animatable"),!i||!a?!1:Zh(e)||(n==="spring"||n7(n))&&r}function S2(e){e.duration=0,e.type="keyframes"}const i7=new Set(["opacity","clipPath","filter","transform"]),Jh=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Qh(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&Jh.test(e[t]))return!0;return!1}const e6=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),t6=dc(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function n6(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:s,type:i,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return t6()&&n&&(i7.has(n)||e6.has(n)&&Qh(a))&&(n!=="transform"||!u)&&!c&&!r&&o!=="mirror"&&s!==0&&i!=="inertia"}const r6=40;class o6 extends p2{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:i="loop",keyframes:a,name:l,motionValue:c,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=zt.now();const h={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:s,repeatType:i,name:l,motionValue:c,element:u,...d},m=u?.KeyframeResolver||x2;this.keyframeResolver=new m(a,(g,C,b)=>this.onKeyframesResolved(g,C,h,!b),l,c,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,o){this.keyframeResolver=void 0;const{name:s,type:i,velocity:a,delay:l,isHandoff:c,onUpdate:u}=r;this.resolvedAt=zt.now();let d=!0;Xh(t,s,i,a)||(d=!1,(ar.instantAnimations||!l)&&u?.(ti(t,r,n)),t[0]=t[t.length-1],S2(r),r.repeat=0);const m={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>r6?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},g=d&&!c&&n6(m),C=m.motionValue?.owner?.current;let b;if(g)try{b=new Kh({...m,element:C})}catch{b=new ni(m)}else b=new ni(m);b.finished.then(()=>{this.notifyFinished()}).catch(dn),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Vh()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function a7(e,t,n,r=0,o=1){const s=Array.from(e).sort((c,u)=>c.sortNodePosition(u)).indexOf(t),i=e.size,a=(i-1)*r;return typeof n=="function"?n(s,i):o===1?s*r:a-s*r}const l7=30,s6=e=>!isNaN(parseFloat(e)),Jo={current:void 0};class i6{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const o=zt.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=zt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=s6(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Z0(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new K0);const r=this.events[t].add(n);return t==="change"?()=>{r(),et.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Jo.current&&Jo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=zt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>l7)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,l7);return fc(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function kr(e,t){return new i6(e,t)}function c7(e,t){if(e?.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function k2(e,t){const n=e?.[t]??e?.default??e;return n!==e?c7(n,e):n}const a6={type:"spring",stiffness:500,damping:25,restSpeed:10},l6=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),c6={type:"keyframes",duration:.8},u6={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},d6=(e,{keyframes:t})=>t.length>2?c6:oo.has(e)?e.startsWith("scale")?l6(t[1]):a6:u6,f6=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function p6(e){for(const t in e)if(!f6.has(t))return!0;return!1}const T2=(e,t,n,r={},o,s)=>i=>{const a=k2(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Zt(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{i(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:o};p6(a)||Object.assign(u,d6(e,u)),u.duration&&(u.duration=Zt(u.duration)),u.repeatDelay&&(u.repeatDelay=Zt(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(S2(u),u.delay===0&&(d=!0)),(ar.instantAnimations||ar.skipAnimations||o?.shouldSkipAnimations||a.skipAnimations)&&(d=!0,S2(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,d&&!s&&t.get()!==void 0){const h=ti(u.keyframes,a);if(h!==void 0){et.update(()=>{u.onUpdate(h),u.onComplete()});return}}return a.isSync?new ni(u):new o6(u)},h6=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function m6(e){const t=h6.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}const g6=4;function u7(e,t,n=1){Cn(n<=g6,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,o]=m6(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const i=s.trim();return lc(i)?parseFloat(i):i}return e2(o)?u7(o,t,n+1):o}function d7(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function E2(e,t,n,r){if(typeof t=="function"){const[o,s]=d7(r);t=t(n!==void 0?n:e.custom,o,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,s]=d7(r);t=t(n!==void 0?n:e.custom,o,s)}return t}function Tr(e,t,n){const r=e.getProps();return E2(r,t,n!==void 0?n:r.custom,e)}const f7=new Set(["width","height","top","left","right","bottom",...ro]),M2=e=>Array.isArray(e);function y6(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,kr(n))}function C6(e){return M2(e)?e[e.length-1]||0:e}function b6(e,t){const n=Tr(e,t);let{transitionEnd:r={},transition:o={},...s}=n||{};s={...s,...r};for(const i in s){const a=C6(s[i]);y6(e,i,a)}}const jt=e=>!!(e&&e.getVelocity);function v6(e){return!!(jt(e)&&e.add)}function O2(e,t){const n=e.getValue("willChange");if(v6(n))return n.add(t);if(!n&&ar.WillChange){const r=new ar.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function D2(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const p7="data-"+D2("framerAppearId");function h7(e){return e.props[p7]}function x6({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function m7(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:s,transitionEnd:i,...a}=t;const l=e.getDefaultTransition();s=s?c7(s,l):l;const c=s?.reduceMotion,u=s?.skipAnimations;r&&(s=r);const d=[],h=o&&e.animationState&&e.animationState.getState()[o],m=s?.path;m&&m.animateVisualElement(e,a,s,n,d);for(const g in a){const C=e.getValue(g,e.latestValues[g]??null),b=a[g];if(b===void 0||h&&x6(h,g))continue;const v={delay:n,...k2(s||{},g)};u&&(v.skipAnimations=!0);const k=C.get();if(k!==void 0&&!C.isAnimating()&&!Array.isArray(b)&&b===k&&!v.velocity){et.update(()=>C.set(b));continue}let w=!1;if(window.MotionHandoffAnimation){const M=h7(e);if(M){const A=window.MotionHandoffAnimation(M,g,et);A!==null&&(v.startTime=A,w=!0)}}O2(e,g);const x=c??e.shouldReduceMotion;C.start(T2(g,C,b,x&&f7.has(g)?{type:!1}:v,e,w));const T=C.animation;T&&d.push(T)}if(i){const g=()=>et.update(()=>{i&&b6(e,i)});d.length?Promise.all(d).then(g):g()}return d}function A2(e,t,n={}){const r=Tr(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(m7(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:d}=o;return w6(e,t,l,c,u,d,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[l,c]=a==="beforeChildren"?[s,i]:[i,s];return l().then(()=>c())}else return Promise.all([s(),i(n.delay)])}function w6(e,t,n=0,r=0,o=0,s=1,i){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(A2(l,t,{...i,delay:n+(typeof r=="function"?0:r)+a7(e.variantChildren,l,r,o,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function S6(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>A2(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=A2(e,t,n);else{const o=typeof t=="function"?Tr(e,t,n.custom):t;r=Promise.all(m7(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const k6={test:e=>e==="auto",parse:e=>e},g7=e=>t=>t.test(e),y7=[Qr,ye,In,qn,Xp,Zp,k6],C7=e=>y7.find(g7(e));function T6(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||uc(e):!0}const E6=new Set(["brightness","contrast","saturate","opacity"]);function M6(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(t2)||[];if(!r)return e;const o=n.replace(r,"");let s=E6.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const O6=/\b([a-z-]*)\(.*?\)/gu,I2={...bn,getAnimatableNone:e=>{const t=e.match(O6);return t?t.map(M6).join(" "):e}},P2={...bn,getAnimatableNone:e=>{const t=bn.parse(e);return bn.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},b7={...Qr,transform:Math.round},ri={borderWidth:ye,borderTopWidth:ye,borderRightWidth:ye,borderBottomWidth:ye,borderLeftWidth:ye,borderRadius:ye,borderTopLeftRadius:ye,borderTopRightRadius:ye,borderBottomRightRadius:ye,borderBottomLeftRadius:ye,width:ye,maxWidth:ye,height:ye,maxHeight:ye,top:ye,right:ye,bottom:ye,left:ye,inset:ye,insetBlock:ye,insetBlockStart:ye,insetBlockEnd:ye,insetInline:ye,insetInlineStart:ye,insetInlineEnd:ye,padding:ye,paddingTop:ye,paddingRight:ye,paddingBottom:ye,paddingLeft:ye,paddingBlock:ye,paddingBlockStart:ye,paddingBlockEnd:ye,paddingInline:ye,paddingInlineStart:ye,paddingInlineEnd:ye,margin:ye,marginTop:ye,marginRight:ye,marginBottom:ye,marginLeft:ye,marginBlock:ye,marginBlockStart:ye,marginBlockEnd:ye,marginInline:ye,marginInlineStart:ye,marginInlineEnd:ye,fontSize:ye,backgroundPositionX:ye,backgroundPositionY:ye,...{rotate:qn,pathRotation:qn,rotateX:qn,rotateY:qn,rotateZ:qn,scale:Xs,scaleX:Xs,scaleY:Xs,scaleZ:Xs,skew:qn,skewX:qn,skewY:qn,distance:ye,translateX:ye,translateY:ye,translateZ:ye,x:ye,y:ye,z:ye,perspective:ye,transformPerspective:ye,opacity:qo,originX:Ic,originY:Ic,originZ:ye},zIndex:b7,fillOpacity:qo,strokeOpacity:qo,numOctaves:b7},D6={...ri,color:Et,backgroundColor:Et,outlineColor:Et,fill:Et,stroke:Et,borderColor:Et,borderTopColor:Et,borderRightColor:Et,borderBottomColor:Et,borderLeftColor:Et,filter:I2,WebkitFilter:I2,mask:P2,WebkitMask:P2},v7=e=>D6[e],A6=new Set([I2,P2]);function x7(e,t){let n=v7(e);return A6.has(n)||(n=bn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const I6=new Set(["auto","none","0"]);function P6(e,t,n){let r=0,o;for(;r<e.length&&!o;){const s=e[r];typeof s=="string"&&!I6.has(s)&&to(s).values.length&&(o=e[r]),r++}if(o&&n)for(const s of t)e[s]=x7(n,o)}class L6 extends x2{constructor(t,n,r,o,s){super(t,n,r,o,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let d=t[u];if(typeof d=="string"&&(d=d.trim(),e2(d))){const h=u7(d,n.current);h!==void 0&&(t[u]=h),u===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!f7.has(r)||t.length!==2)return;const[o,s]=t,i=C7(o),a=C7(s),l=Dc(o),c=Dc(s);if(l!==c&&lr[r]){this.needsMeasurement=!0;return}if(i!==a)if(qc(i)&&qc(a))for(let u=0;u<t.length;u++){const d=t[u];typeof d=="string"&&(t[u]=parseFloat(d))}else lr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||T6(t[o]))&&r.push(o);r.length&&P6(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=lr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const s=r.length-1,i=r[s];r[s]=lr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function w7(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const o=n?.[e]??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(r=>r!=null)}const L2=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function oi(e){return cc(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:j2}=Ec(queueMicrotask,!1),vn={x:!1,y:!1};function S7(){return vn.x||vn.y}function j6(e){return e==="x"||e==="y"?vn[e]?null:(vn[e]=!0,()=>{vn[e]=!1}):vn.x||vn.y?null:(vn.x=vn.y=!0,()=>{vn.x=vn.y=!1})}function k7(e,t){const n=w7(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function R6(e){return!(e.pointerType==="touch"||S7())}function _6(e,t,n={}){const[r,o,s]=k7(e,n);return r.forEach(i=>{let a=!1,l=!1,c;const u=()=>{i.removeEventListener("pointerleave",g)},d=b=>{c&&(c(b),c=void 0),u()},h=b=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,d(b))},m=()=>{a=!0,window.addEventListener("pointerup",h,o),window.addEventListener("pointercancel",h,o)},g=b=>{if(b.pointerType!=="touch"){if(a){l=!0;return}d(b)}},C=b=>{if(!R6(b))return;l=!1;const v=t(i,b);typeof v=="function"&&(c=v,i.addEventListener("pointerleave",g,o))};i.addEventListener("pointerenter",C,o),i.addEventListener("pointerdown",m,o)}),s}const T7=(e,t)=>t?e===t?!0:T7(e,t.parentElement):!1,R2=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,B6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function N6(e){return B6.has(e.tagName)||e.isContentEditable===!0}const $6=new Set(["INPUT","SELECT","TEXTAREA"]);function F6(e){return $6.has(e.tagName)||e.isContentEditable===!0}const si=new WeakSet;function E7(e){return t=>{t.key==="Enter"&&e(t)}}function _2(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const V6=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=E7(()=>{if(si.has(n))return;_2(n,"down");const o=E7(()=>{_2(n,"up")}),s=()=>_2(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function M7(e){return R2(e)&&!S7()}const O7=new WeakSet;function W6(e,t,n={}){const[r,o,s]=k7(e,n),i=a=>{const l=a.currentTarget;if(!M7(a)||O7.has(a))return;si.add(l),n.stopPropagation&&O7.add(a);const c=t(l,a),u=(m,g)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",h),si.has(l)&&si.delete(l),M7(m)&&typeof c=="function"&&c(m,{success:g})},d=m=>{u(m,l===window||l===document||n.useGlobalTarget||T7(l,m.target))},h=m=>{u(m,!1)};window.addEventListener("pointerup",d,o),window.addEventListener("pointercancel",h,o)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",i,o),oi(a)&&(a.addEventListener("focus",c=>V6(c,o)),!N6(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function B2(e){return cc(e)&&"ownerSVGElement"in e}const ii=new WeakMap;let ai;const D7=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:B2(r)&&"getBBox"in r?r.getBBox()[t]:r[n],z6=D7("inline","width","offsetWidth"),H6=D7("block","height","offsetHeight");function U6({target:e,borderBoxSize:t}){ii.get(e)?.forEach(n=>{n(e,{get width(){return z6(e,t)},get height(){return H6(e,t)}})})}function G6(e){e.forEach(U6)}function Y6(){typeof ResizeObserver>"u"||(ai=new ResizeObserver(G6))}function q6(e,t){ai||Y6();const n=w7(e);return n.forEach(r=>{let o=ii.get(r);o||(o=new Set,ii.set(r,o)),o.add(t),ai?.observe(r)}),()=>{n.forEach(r=>{const o=ii.get(r);o?.delete(t),o?.size||ai?.unobserve(r)})}}const li=new Set;let so;function K6(){so=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};li.forEach(t=>t(e))},window.addEventListener("resize",so)}function Z6(e){return li.add(e),so||K6(),()=>{li.delete(e),!li.size&&typeof so=="function"&&(window.removeEventListener("resize",so),so=void 0)}}function A7(e,t){return typeof e=="function"?Z6(e):q6(e,t)}function X6(e){return B2(e)&&e.tagName==="svg"}function J6(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=e[1+n],s=e[2+n],i=e[3+n],a=zc(o,s,i);return t?a(r):a}const Q6=[...y7,Et,bn],e4=e=>Q6.find(g7(e)),I7=()=>({translate:0,scale:1,origin:0,originPoint:0}),io=()=>({x:I7(),y:I7()}),P7=()=>({min:0,max:0}),It=()=>({x:P7(),y:P7()}),t4=new WeakMap;function ci(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Qo(e){return typeof e=="string"||Array.isArray(e)}const N2=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],$2=["initial",...N2];function ui(e){return ci(e.animate)||$2.some(t=>Qo(e[t]))}function L7(e){return!!(ui(e)||e.variants)}function n4(e,t,n){for(const r in t){const o=t[r],s=n[r];if(jt(o))e.addValue(r,o);else if(jt(s))e.addValue(r,kr(o,{owner:e}));else if(s!==o)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(o):i.hasAnimated||i.set(o)}else{const i=e.getStaticValue(r);e.addValue(r,kr(i!==void 0?i:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const F2={current:null},j7={current:!1},r4=typeof window<"u";function o4(){if(j7.current=!0,!!r4)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>F2.current=e.matches;e.addEventListener("change",t),t()}else F2.current=!1}const R7=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let di={};function _7(e){di=e}function s4(){return di}class i4{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,skipAnimations:s,blockInitialAnimation:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=x2,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=zt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,et.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=a;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!i,this.isControllingVariants=ui(n),this.isVariantNode=L7(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const m in h){const g=h[m];c[m]!==void 0&&jt(g)&&g.set(c[m])}}mount(t){if(this.hasBeenMounted)for(const n in this.initialValues)this.values.get(n)?.jump(this.initialValues[n]),this.latestValues[n]=this.initialValues[n];this.current=t,t4.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(j7.current||o4(),this.shouldReduceMotion=F2.current),process.env.NODE_ENV!=="production"&&Z0(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Yn(this.notifyUpdate),Yn(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&i7.has(t)&&this.current instanceof HTMLElement){const{factory:i,keyframes:a,times:l,ease:c,duration:u}=n.accelerate,d=new r7({element:this.current,name:t,keyframes:a,times:l,ease:c,duration:Zt(u)}),h=i(d);this.valueSubscriptions.set(t,()=>{h(),d.cancel()});return}const r=oo.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&et.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),s&&s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in di){const n=di[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):It()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<R7.length;r++){const o=R7[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s="on"+o,i=t[s];i&&(this.propEventSubscriptions[o]=this.on(o,i))}this.prevMotionValues=n4(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=kr(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(lc(r)||uc(r))?r=parseFloat(r):!e4(r)&&bn.test(n)&&(r=x7(t,n)),this.setBaseTarget(t,jt(r)?r.get():r)),jt(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=E2(this.props,n,this.presenceContext?.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!jt(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new K0),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){j2.render(this.render)}}class B7 extends i4{constructor(){super(...arguments),this.KeyframeResolver=L6}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;jt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class cr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function N7({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function a4({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function l4(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function V2(e){return e===void 0||e===1}function W2({scale:e,scaleX:t,scaleY:n}){return!V2(e)||!V2(t)||!V2(n)}function Er(e){return W2(e)||$7(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function $7(e){return F7(e.x)||F7(e.y)}function F7(e){return e&&e!=="0%"}function fi(e,t,n){const r=e-n,o=t*r;return n+o}function V7(e,t,n,r,o){return o!==void 0&&(e=fi(e,o,r)),fi(e,n,r)+t}function z2(e,t=0,n=1,r,o){e.min=V7(e.min,t,n,r,o),e.max=V7(e.max,t,n,r,o)}function W7(e,{x:t,y:n}){z2(e.x,t.translate,t.scale,t.originPoint),z2(e.y,n.translate,n.scale,n.originPoint)}const z7=.999999999999,H7=1.0000000000001;function c4(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let s,i;for(let a=0;a<o;a++){s=n[a],i=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(Pn(e.x,-s.scroll.offset.x),Pn(e.y,-s.scroll.offset.y)),i&&(t.x*=i.x.scale,t.y*=i.y.scale,W7(e,i)),r&&Er(s.latestValues)&&pi(e,s.latestValues,s.layout?.layoutBox))}t.x<H7&&t.x>z7&&(t.x=1),t.y<H7&&t.y>z7&&(t.y=1)}function Pn(e,t){e.min+=t,e.max+=t}function U7(e,t,n,r,o=.5){const s=tt(e.min,e.max,o);z2(e,t,n,s,r)}function G7(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function pi(e,t,n){const r=n??e;U7(e.x,G7(t.x,r.x),t.scaleX,t.scale,t.originX),U7(e.y,G7(t.y,r.y),t.scaleY,t.scale,t.originY)}function Y7(e,t){return N7(l4(e.getBoundingClientRect(),t))}function u4(e,t,n){const r=Y7(e,n),{scroll:o}=t;return o&&(Pn(r.x,o.offset.x),Pn(r.y,o.offset.y)),r}const d4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},f4=ro.length;function p4(e,t,n){let r="",o=!0;for(let i=0;i<f4;i++){const a=ro[i],l=e[a];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(a.startsWith("scale")?1:0);else{const u=parseFloat(l);c=a.startsWith("scale")?u===1:u===0}if(!c||n){const u=L2(l,ri[a]);if(!c){o=!1;const d=d4[a]||a;r+=`${d}(${u}) `}n&&(t[a]=u)}}const s=e.pathRotation;return s&&(o=!1,r+=`rotate(${L2(s,ri.pathRotation)}) `),r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function H2(e,t,n){const{style:r,vars:o,transformOrigin:s}=e;let i=!1,a=!1;for(const l in t){const c=t[l];if(oo.has(l)){i=!0;continue}else if(Oc(l)){o[l]=c;continue}else{const u=L2(c,ri[l]);l.startsWith("origin")?(a=!0,s[l]=u):r[l]=u}}if(t.transform||(i||n?r.transform=p4(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:u=0}=s;r.transformOrigin=`${l} ${c} ${u}`}}function q7(e,{style:t,vars:n},r,o){const s=e.style;let i;for(i in t)s[i]=t[i];o?.applyProjectionStyles(s,r);for(i in n)s.setProperty(i,n[i])}function K7(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const es={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ye.test(e))e=parseFloat(e);else return e;const n=K7(e,t.target.x),r=K7(e,t.target.y);return`${n}% ${r}%`}},h4={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=bn.parse(e);if(o.length>5)return r;const s=bn.createTransformer(e),i=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=a,o[1+i]/=l;const c=tt(a,l,.5);return typeof o[2+i]=="number"&&(o[2+i]/=c),typeof o[3+i]=="number"&&(o[3+i]/=c),s(o)}},U2={borderRadius:{...es,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:es,borderTopRightRadius:es,borderBottomLeftRadius:es,borderBottomRightRadius:es,boxShadow:h4};function Z7(e,{layout:t,layoutId:n}){return oo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!U2[e]||e==="opacity")}function G2(e,t,n){const r=e.style,o=t?.style,s={};if(!r)return s;for(const i in r)(jt(r[i])||o&&jt(o[i])||Z7(i,e)||n?.getValue(i)?.liveStyle!==void 0)&&(s[i]=r[i]);return s}function m4(e){return window.getComputedStyle(e)}class g4 extends B7{constructor(){super(...arguments),this.type="html",this.renderInstance=q7}readValueFromInstance(t,n){if(oo.has(n))return this.projection?.isProjecting?g2(n):_h(t,n);{const r=m4(t),o=(Oc(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Y7(t,n)}build(t,n,r){H2(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return G2(t,n,r)}}const y4={offset:"stroke-dashoffset",array:"stroke-dasharray"},C4={offset:"strokeDashoffset",array:"strokeDasharray"};function b4(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?y4:C4;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const v4=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function X7(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:s=1,pathOffset:i=0,...a},l,c,u){if(H2(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=u?.transformBox??"fill-box",delete d.transformBox);for(const m of v4)d[m]!==void 0&&(h[m]=d[m],delete d[m]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),o!==void 0&&b4(d,o,s,i,!1)}const J7=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Q7=e=>typeof e=="string"&&e.toLowerCase()==="svg";function x4(e,t,n,r){q7(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(J7.has(o)?o:D2(o),t.attrs[o])}function e5(e,t,n){const r=G2(e,t,n);for(const o in e)if(jt(e[o])||jt(t[o])){const s=ro.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[s]=e[o]}return r}class w4 extends B7{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=It}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(oo.has(n)){const r=v7(n);return r&&r.default||0}return n=J7.has(n)?n:D2(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return e5(t,n,r)}build(t,n,r){X7(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,o){x4(t,n,r,o)}mount(t){this.isSVGTag=Q7(t.tagName),super.mount(t)}}const S4=$2.length;function t5(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?t5(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<S4;n++){const r=$2[n],o=e.props[r];(Qo(o)||o===!1)&&(t[r]=o)}return t}function n5(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const k4=[...N2].reverse(),T4=N2.length;function E4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>S6(e,n,r)))}function M4(e){let t=E4(e),n=r5(),r=!0,o=!1;const s=c=>(u,d)=>{const h=Tr(e,d,c==="exit"?e.presenceContext?.custom:void 0);if(h){const{transition:m,transitionEnd:g,...C}=h;u={...u,...C,...g}}return u};function i(c){t=c(e)}function a(c){const{props:u}=e,d=t5(e.parent)||{},h=[],m=new Set;let g={},C=1/0;for(let v=0;v<T4;v++){const k=k4[v],w=n[k],x=u[k]!==void 0?u[k]:d[k],T=Qo(x),M=k===c?w.isActive:null;M===!1&&(C=v);let A=x===d[k]&&x!==u[k]&&T;if(A&&(r||o)&&e.manuallyAnimateOnMount&&(A=!1),w.protectedKeys={...g},!w.isActive&&M===null||!x&&!w.prevProp||ci(x)||typeof x=="boolean")continue;if(k==="exit"&&w.isActive&&M!==!0){w.prevResolvedValues&&(g={...g,...w.prevResolvedValues});continue}const I=O4(w.prevProp,x);let P=I||k===c&&w.isActive&&!A&&T||v>C&&T,R=!1;const W=Array.isArray(x)?x:[x];let S=W.reduce(s(k),{});M===!1&&(S={});const{prevResolvedValues:j={}}=w,_={...j,...S},N=ue=>{P=!0,m.has(ue)&&(R=!0,m.delete(ue)),w.needsAnimating[ue]=!0;const B=e.getValue(ue);B&&(B.liveStyle=!1)};for(const ue in _){const B=S[ue],E=j[ue];if(g.hasOwnProperty(ue))continue;let D=!1;M2(B)&&M2(E)?D=!n5(B,E)||I:D=B!==E,D?B!=null?N(ue):m.add(ue):B!==void 0&&m.has(ue)?N(ue):w.protectedKeys[ue]=!0}w.prevProp=x,w.prevResolvedValues=S,w.isActive&&(g={...g,...S}),(r||o)&&e.blockInitialAnimation&&(P=!1);const U=A&&I;P&&(!U||R)&&h.push(...W.map(ue=>{const B={type:k};if(typeof ue=="string"&&(r||o)&&!U&&e.manuallyAnimateOnMount&&e.parent){const{parent:E}=e,D=Tr(E,ue);if(E.enteringChildren&&D){const{delayChildren:L}=D.transition||{};B.delay=a7(E.enteringChildren,e,L)}}return{animation:ue,options:B}}))}if(m.size){const v={};if(typeof u.initial!="boolean"){const k=Tr(e,Array.isArray(u.initial)?u.initial[0]:u.initial);k&&k.transition&&(v.transition=k.transition)}m.forEach(k=>{const w=e.getBaseTarget(k),x=e.getValue(k);x&&(x.liveStyle=!0),v[k]=w??null}),h.push({animation:v})}let b=!!h.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,o=!1,b?t(h):Promise.resolve()}function l(c,u){if(n[c].isActive===u)return Promise.resolve();e.variantChildren?.forEach(h=>h.animationState?.setActive(c,u)),n[c].isActive=u;const d=a(c);for(const h in n)n[h].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:i,getState:()=>n,reset:()=>{n=r5(),o=!0}}}function O4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!n5(t,e):!1}function Mr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function r5(){return{animate:Mr(!0),whileInView:Mr(),whileHover:Mr(),whileTap:Mr(),whileDrag:Mr(),whileFocus:Mr(),exit:Mr()}}function Y2(e,t){e.min=t.min,e.max=t.max}function xn(e,t){Y2(e.x,t.x),Y2(e.y,t.y)}function o5(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const s5=1e-4,D4=1-s5,A4=1+s5,i5=.01,I4=0-i5,P4=0+i5;function Ht(e){return e.max-e.min}function L4(e,t,n){return Math.abs(e-t)<=n}function a5(e,t,n,r=.5){e.origin=r,e.originPoint=tt(t.min,t.max,e.origin),e.scale=Ht(n)/Ht(t),e.translate=tt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=D4&&e.scale<=A4||isNaN(e.scale))&&(e.scale=1),(e.translate>=I4&&e.translate<=P4||isNaN(e.translate))&&(e.translate=0)}function ts(e,t,n,r){a5(e.x,t.x,n.x,r?r.originX:void 0),a5(e.y,t.y,n.y,r?r.originY:void 0)}function l5(e,t,n,r=0){const o=r?tt(n.min,n.max,r):n.min;e.min=o+t.min,e.max=e.min+Ht(t)}function j4(e,t,n,r){l5(e.x,t.x,n.x,r?.x),l5(e.y,t.y,n.y,r?.y)}function c5(e,t,n,r=0){const o=r?tt(n.min,n.max,r):n.min;e.min=t.min-o,e.max=e.min+Ht(t)}function hi(e,t,n,r){c5(e.x,t.x,n.x,r?.x),c5(e.y,t.y,n.y,r?.y)}function u5(e,t,n,r,o){return e-=t,e=fi(e,1/n,r),o!==void 0&&(e=fi(e,1/o,r)),e}function R4(e,t=0,n=1,r=.5,o,s=e,i=e){if(In.test(t)&&(t=parseFloat(t),t=tt(i.min,i.max,t/100)-i.min),typeof t!="number")return;let a=tt(s.min,s.max,r);e===s&&(a-=t),e.min=u5(e.min,t,n,a,o),e.max=u5(e.max,t,n,a,o)}function d5(e,t,[n,r,o],s,i){R4(e,t[n],t[r],t[o],t.scale,s,i)}const _4=["x","scaleX","originX"],B4=["y","scaleY","originY"];function f5(e,t,n,r){d5(e.x,t,_4,n?n.x:void 0,r?r.x:void 0),d5(e.y,t,B4,n?n.y:void 0,r?r.y:void 0)}function p5(e){return e.translate===0&&e.scale===1}function h5(e){return p5(e.x)&&p5(e.y)}function m5(e,t){return e.min===t.min&&e.max===t.max}function N4(e,t){return m5(e.x,t.x)&&m5(e.y,t.y)}function g5(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function y5(e,t){return g5(e.x,t.x)&&g5(e.y,t.y)}function C5(e){return Ht(e.x)/Ht(e.y)}function b5(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Ln(e){return[e("x"),e("y")]}function $4(e,t,n){let r="";const o=e.x.translate/t.x,s=e.y.translate/t.y,i=n?.z||0;if((o||s||i)&&(r=`translate3d(${o}px, ${s}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,pathRotation:d,rotateX:h,rotateY:m,skewX:g,skewY:C}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotate(${d}deg) `),h&&(r+=`rotateX(${h}deg) `),m&&(r+=`rotateY(${m}deg) `),g&&(r+=`skewX(${g}deg) `),C&&(r+=`skewY(${C}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const v5=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],F4=v5.length,x5=e=>typeof e=="string"?parseFloat(e):e,w5=e=>typeof e=="number"||ye.test(e);function V4(e,t,n,r,o,s){o?(e.opacity=tt(0,n.opacity??1,W4(r)),e.opacityExit=tt(t.opacity??1,0,z4(r))):s&&(e.opacity=tt(t.opacity??1,n.opacity??1,r));for(let i=0;i<F4;i++){const a=v5[i];let l=S5(t,a),c=S5(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||w5(l)===w5(c)?(e[a]=Math.max(tt(x5(l),x5(c),r),0),(In.test(c)||In.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=tt(t.rotate||0,n.rotate||0,r))}function S5(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const W4=k5(0,.5,vc),z4=k5(.5,.95,dn);function k5(e,t,n){return r=>r<e?0:r>t?1:n(Go(e,t,r))}function H4(e,t,n){const r=jt(e)?e:kr(e);return r.start(T2("",r,t,n)),r.animation}function ns(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const U4=(e,t)=>e.depth-t.depth;class G4{constructor(){this.children=[],this.isDirty=!1}add(t){Y0(this.children,t),this.isDirty=!0}remove(t){qs(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(U4),this.isDirty=!1,this.children.forEach(t)}}function Y4(e,t){const n=zt.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(Yn(r),e(s-t))};return et.setup(r,!0),()=>Yn(r)}function mi(e){return jt(e)?e.get():e}class q4{constructor(){this.members=[]}add(t){Y0(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const o=r.instance;(!o||o.isConnected===!1)&&!r.snapshot&&(qs(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(qs(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){for(let n=this.members.indexOf(t)-1;n>=0;n--){const r=this.members[n];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=r.options,{layoutDependency:s}=t.options;(o===void 0||o!==s)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const gi={hasAnimatedSinceResize:!0,hasEverUpdated:!1},q2=["","X","Y","Z"],K4=1e3;let Z4=0;function K2(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function T5(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=h7(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",et,!(o||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&T5(r)}function E5({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(i={},a=t?.()){this.id=Z4++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Q4),this.nodes.forEach(sm),this.nodes.forEach(im),this.nodes.forEach(em)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new G4)}addEventListener(i,a){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new K0),this.eventHandlers.get(i).add(a)}notifyListeners(i,...a){const l=this.eventHandlers.get(i);l&&l.notify(...a)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=B2(i)&&!X6(i),this.instance=i;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let u,d=0;const h=()=>this.root.updateBlockedByResize=!1;et.read(()=>{d=window.innerWidth}),e(i,()=>{const m=window.innerWidth;m!==d&&(d=m,this.root.updateBlockedByResize=!0,u&&u(),u=Y4(h,250),gi.hasAnimatedSinceResize&&(gi.hasAnimatedSinceResize=!1,this.nodes.forEach(D5)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||dm,{onLayoutAnimationStart:C,onLayoutAnimationComplete:b}=c.getProps(),v=!this.targetLayout||!y5(this.targetLayout,m),k=!d&&h;if(this.options.layoutRoot||this.resumeFrom||k||d&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const w={...k2(g,"layout"),onPlay:C,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(u,k,w.path)}else d||D5(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Yn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(am),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&T5(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!0),d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(nm),this.nodes.forEach(M5);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(O5);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(rm),this.nodes.forEach(om),this.nodes.forEach(X4),this.nodes.forEach(J4)):this.nodes.forEach(O5),this.clearAllSnapshots();const a=zt.now();Rt.delta=An(0,1e3/60,a-Rt.timestamp),Rt.timestamp=a,Rt.isProcessing=!0,Q0.update.process(Rt),Q0.preRender.process(Rt),Q0.render.process(Rt),Rt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,j2.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tm),this.sharedNodes.forEach(lm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,et.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){et.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ht(this.snapshot.measuredBox.x)&&!Ht(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=It()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!h5(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;i&&this.instance&&(a||Er(this.latestValues)||u)&&(o(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return i&&(l=this.removeTransform(l)),fm(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:i}=this.options;if(!i)return It();const a=i.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(pm))){const{scroll:c}=this.root;c&&(Pn(a.x,c.offset.x),Pn(a.y,c.offset.y))}return a}removeElementScroll(i){const a=It();if(xn(a,i),this.scroll?.wasRoot)return a;for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:u,options:d}=c;c!==this.root&&u&&d.layoutScroll&&(u.wasRoot&&xn(a,i),Pn(a.x,u.offset.x),Pn(a.y,u.offset.y))}return a}applyTransform(i,a=!1,l){const c=l||It();xn(c,i);for(let u=0;u<this.path.length;u++){const d=this.path[u];!a&&d.options.layoutScroll&&d.scroll&&d!==d.root&&(Pn(c.x,-d.scroll.offset.x),Pn(c.y,-d.scroll.offset.y)),Er(d.latestValues)&&pi(c,d.latestValues,d.layout?.layoutBox)}return Er(this.latestValues)&&pi(c,this.latestValues,this.layout?.layoutBox),c}removeTransform(i){const a=It();xn(a,i);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!Er(c.latestValues))continue;let u;c.instance&&(W2(c.latestValues)&&c.updateSnapshot(),u=It(),xn(u,c.measurePageBox())),f5(a,c.latestValues,c.snapshot?.layoutBox,u)}return Er(this.latestValues)&&f5(a,this.latestValues),a}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Rt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(i||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:d}=this.options;if(!this.layout||!(u||d))return;this.resolvedRelativeTargetAt=Rt.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=It(),this.targetWithTransforms=It()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),j4(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):xn(this.target,this.layout.layoutBox),W7(this.target,this.targetDelta)):xn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||W2(this.parent.latestValues)||$7(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(i,a,l){this.relativeParent=i,this.linkedParentVersion=i.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=It(),this.relativeTargetOrigin=It(),hi(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),xn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const i=this.getLead(),a=!!this.resumingFrom||this!==i;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Rt.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;xn(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;c4(this.layoutCorrected,this.treeScale,this.path,a),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=It());const{target:m}=i;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(o5(this.prevProjectionDelta.x,this.projectionDelta.x),o5(this.prevProjectionDelta.y,this.projectionDelta.y)),ts(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==h||!b5(this.projectionDelta.x,this.prevProjectionDelta.x)||!b5(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.visualElement?.scheduleRender(),i){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=io(),this.projectionDelta=io(),this.projectionDeltaWithTransform=io()}setAnimationOrigin(i,a=!1,l){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},h=io();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const m=It(),g=c?c.source:void 0,C=this.layout?this.layout.source:void 0,b=g!==C,v=this.getStack(),k=!v||v.members.length<=1,w=!!(b&&!k&&this.options.crossfade===!0&&!this.path.some(um));this.animationProgress=0;let x;const T=l?.interpolateProjection(i);this.mixTargetDelta=M=>{const A=M/1e3,I=T?.(A);I?(h.x.translate=I.x,h.x.scale=tt(i.x.scale,1,A),h.x.origin=i.x.origin,h.x.originPoint=i.x.originPoint,h.y.translate=I.y,h.y.scale=tt(i.y.scale,1,A),h.y.origin=i.y.origin,h.y.originPoint=i.y.originPoint):(A5(h.x,i.x,A),A5(h.y,i.y,A)),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(hi(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),cm(this.relativeTarget,this.relativeTargetOrigin,m,A),x&&N4(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=It()),xn(x,this.relativeTarget)),b&&(this.animationValues=d,V4(d,u,this.latestValues,A,w,k)),I&&I.rotate!==void 0&&(this.animationValues||(this.animationValues=d),this.animationValues.pathRotation=I.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Yn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=et.update(()=>{gi.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=kr(0)),this.motionValue.jump(0,!1),this.currentAnimation=H4(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),i.onUpdate&&i.onUpdate(a)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(K4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=i;if(!(!a||!l||!c)){if(this!==i&&this.layout&&c&&R5(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||It();const d=Ht(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+d;const h=Ht(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+h}xn(a,l),pi(a,u),ts(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(i,a){this.sharedNodes.has(i)||this.sharedNodes.set(i,new q4),this.sharedNodes.get(i).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){const{layoutId:i}=this.options;return i?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:i}=this.options;return i?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let a=!1;const{latestValues:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&K2("z",i,c,this.animationValues);for(let u=0;u<q2.length;u++)K2(`rotate${q2[u]}`,i,c,this.animationValues),K2(`skew${q2[u]}`,i,c,this.animationValues);i.render();for(const u in c)i.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);i.scheduleRender()}applyProjectionStyles(i,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=mi(a?.pointerEvents)||"",i.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=mi(a?.pointerEvents)||""),this.hasProjected&&!Er(this.latestValues)&&(i.transform=l?l({},""):"none",this.hasProjected=!1);return}i.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=$4(this.projectionDeltaWithTransform,this.treeScale,u);l&&(d=l(u,d)),i.transform=d;const{x:h,y:m}=this.projectionDelta;i.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,c.animationValues?i.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:i.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const g in U2){if(u[g]===void 0)continue;const{correct:C,applyTo:b,isCSSVariable:v}=U2[g],k=d==="none"?u[g]:C(u[g],c);if(b){const w=b.length;for(let x=0;x<w;x++)i[b[x]]=k}else v?this.options.visualElement.renderState.vars[g]=k:i[g]=k}this.options.layoutId&&(i.pointerEvents=c===this?mi(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>i.currentAnimation?.stop()),this.root.nodes.forEach(M5),this.root.sharedNodes.clear()}}}function X4(e){e.updateLayout()}function J4(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:o}=e.options,s=t.source!==e.layout.source;if(o==="size")Ln(u=>{const d=s?t.measuredBox[u]:t.layoutBox[u],h=Ht(d);d.min=n[u].min,d.max=d.min+h});else if(o==="x"||o==="y"){const u=o==="x"?"y":"x";Y2(s?t.measuredBox[u]:t.layoutBox[u],n[u])}else R5(o,t.layoutBox,n)&&Ln(u=>{const d=s?t.measuredBox[u]:t.layoutBox[u],h=Ht(n[u]);d.max=d.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+h)});const i=io();ts(i,n,t.layoutBox);const a=io();s?ts(a,e.applyTransform(r,!0),t.measuredBox):ts(a,n,t.layoutBox);const l=!h5(i);let c=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:d,layout:h}=u;if(d&&h){const m=e.options.layoutAnchor||void 0,g=It();hi(g,t.layoutBox,d.layoutBox,m);const C=It();hi(C,n,h.layoutBox,m),y5(g,C)||(c=!0),u.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=g,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:i,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Q4(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function em(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function tm(e){e.clearSnapshot()}function M5(e){e.clearMeasurements()}function nm(e){e.isLayoutDirty=!0,e.updateLayout()}function O5(e){e.isLayoutDirty=!1}function rm(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function om(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function D5(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function sm(e){e.resolveTargetDelta()}function im(e){e.calcProjection()}function am(e){e.resetSkewAndRotation()}function lm(e){e.removeLeadSnapshot()}function A5(e,t,n){e.translate=tt(t.translate,0,n),e.scale=tt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function I5(e,t,n,r){e.min=tt(t.min,n.min,r),e.max=tt(t.max,n.max,r)}function cm(e,t,n,r){I5(e.x,t.x,n.x,r),I5(e.y,t.y,n.y,r)}function um(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const dm={duration:.45,ease:[.4,0,.1,1]},P5=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),L5=P5("applewebkit/")&&!P5("chrome/")?Math.round:dn;function j5(e){e.min=L5(e.min),e.max=L5(e.max)}function fm(e){j5(e.x),j5(e.y)}function R5(e,t,n){return e==="position"||e==="preserve-aspect"&&!L4(C5(t),C5(n),.2)}function pm(e){return e!==e.root&&e.scroll?.wasRoot}const hm=E5({attachResizeListener:(e,t)=>ns(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Z2={current:void 0},_5=E5({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Z2.current){const e=new hm({});e.mount(window),e.setOptions({layoutScroll:!0}),Z2.current=e}return Z2.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),yi=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function B5(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function mm(...e){return t=>{let n=!1;const r=e.map(o=>{const s=B5(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():B5(e[o],null)}}}}function gm(...e){return Z.useCallback(mm(...e),e)}class ym extends Z.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(oi(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,o=oi(r)&&r.offsetWidth||0,s=oi(r)&&r.offsetHeight||0,i=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=o-a.width-a.left,a.bottom=s-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function Cm({children:e,isPresent:t,anchorX:n,anchorY:r,root:o,pop:s}){const i=p.useId(),a=p.useRef(null),l=p.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:c}=p.useContext(yi),u=e.props?.ref??e?.ref,d=gm(a,u);return p.useInsertionEffect(()=>{const{width:h,height:m,top:g,left:C,right:b,bottom:v,direction:k}=l.current;if(t||s===!1||!a.current||!h||!m)return;const w=k==="rtl",x=n==="left"?w?`right: ${b}`:`left: ${C}`:w?`left: ${C}`:`right: ${b}`,T=r==="bottom"?`bottom: ${v}`:`top: ${g}`;a.current.dataset.motionPopId=i;const M=document.createElement("style");c&&(M.nonce=c);const A=o??document.head;return A.appendChild(M),M.sheet&&M.sheet.insertRule(`
7
7
  [data-motion-pop-id="${i}"] {
8
8
  position: absolute !important;
9
9
  width: ${h}px !important;
@@ -11,15 +11,15 @@ React keys must be passed directly to JSX without using spread:
11
11
  ${x}px !important;
12
12
  ${T}px !important;
13
13
  }
14
- `),()=>{a.current?.removeAttribute("data-motion-pop-id"),A.contains(M)&&A.removeChild(M)}},[t]),f.jsx(gm,{isPresent:t,childRef:a,sizeRef:l,pop:s,children:s===!1?e:Z.cloneElement(e,{ref:d})})}const Cm=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:i,anchorX:a,anchorY:l,root:c})=>{const u=ir(bm),d=p.useId();let h=!0,m=p.useMemo(()=>(h=!1,{id:d,initial:t,isPresent:n,custom:o,onExitComplete:g=>{u.set(g,!0);for(const C of u.values())if(!C)return;r&&r()},register:g=>(u.set(g,!1),()=>u.delete(g))}),[n,u,r]);return s&&h&&(m={...m}),p.useMemo(()=>{u.forEach((g,C)=>u.set(C,!1))},[n]),Z.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=f.jsx(ym,{pop:i==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:c,children:e}),f.jsx(Ys.Provider,{value:m,children:e})};function bm(){return new Map}function N5(e=!0){const t=p.useContext(Ys);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,s=p.useId();p.useEffect(()=>{if(e)return o(s)},[e]);const i=p.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,i]:[!0]}const Ci=e=>e.key||"";function $5(e){const t=[];return p.Children.forEach(e,n=>{p.isValidElement(n)&&t.push(n)}),t}const vm=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:s="sync",propagate:i=!1,anchorX:a="left",anchorY:l="top",root:c})=>{const[u,d]=N5(i),h=p.useMemo(()=>$5(e),[e]),m=i&&!u?[]:h.map(Ci),g=p.useRef(!0),C=p.useRef(h),b=ir(()=>new Map),v=p.useRef(new Set),[k,w]=p.useState(h),[x,T]=p.useState(h);G0(()=>{g.current=!1,C.current=h;for(let I=0;I<x.length;I++){const P=Ci(x[I]);m.includes(P)?(b.delete(P),v.current.delete(P)):b.get(P)!==!0&&b.set(P,!1)}},[x,m.length,m.join("-")]);const M=[];if(h!==k){let I=[...h];for(let P=0;P<x.length;P++){const R=x[P],W=Ci(R);m.includes(W)||(I.splice(P,0,R),M.push(R))}return s==="wait"&&M.length&&(I=M),T($5(I)),w(h),null}process.env.NODE_ENV!=="production"&&s==="wait"&&x.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:A}=p.useContext(U0);return f.jsx(f.Fragment,{children:x.map(I=>{const P=Ci(I),R=i&&!u?!1:h===x||m.includes(P),W=()=>{if(v.current.has(P))return;if(b.has(P))v.current.add(P),b.set(P,!0);else return;let S=!0;b.forEach(j=>{j||(S=!1)}),S&&(A?.(),T(C.current),i&&d?.(),r&&r())};return f.jsx(Cm,{isPresent:R,initial:!g.current||n?void 0:!1,custom:t,presenceAffectsLayout:o,mode:s,root:c,onExitComplete:R?void 0:W,anchorX:a,anchorY:l,children:I},P)})})},F5=p.createContext({strict:!1}),V5={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let W5=!1;function xm(){if(W5)return;const e={};for(const t in V5)e[t]={isEnabled:n=>V5[t].some(r=>!!n[r])};_7(e),W5=!0}function z5(){return xm(),o4()}function wm(e){const t=z5();for(const n in e)t[n]={...t[n],...e[n]};_7(t)}const Sm=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function bi(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Sm.has(e)}let H5=e=>!bi(e);function km(e){typeof e=="function"&&(H5=t=>t.startsWith("on")?!bi(t):e(t))}try{km(require("@emotion/is-prop-valid").default)}catch{}function Tm(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||jt(e[o])||(H5(o)||n===!0&&bi(o)||!t&&!bi(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const vi=p.createContext({});function Em(e,t){if(ui(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Qo(n)?n:void 0,animate:Qo(r)?r:void 0}}return e.inherit!==!1?t:{}}function Mm(e){const{initial:t,animate:n}=Em(e,p.useContext(vi));return p.useMemo(()=>({initial:t,animate:n}),[U5(t),U5(n)])}function U5(e){return Array.isArray(e)?e.join(" "):e}const X2=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function G5(e,t,n){for(const r in t)!jt(t[r])&&!Z7(r,n)&&(e[r]=t[r])}function Om({transformTemplate:e},t){return p.useMemo(()=>{const n=X2();return H2(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Dm(e,t){const n=e.style||{},r={};return G5(r,n,e),Object.assign(r,Om(e,t)),r}function Am(e,t){const n={},r=Dm(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Y5=()=>({...X2(),attrs:{}});function Im(e,t,n,r){const o=p.useMemo(()=>{const s=Y5();return X7(s,t,Q7(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};G5(s,e.style,e),o.style={...s,...o.style}}return o}const Pm=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function J2(e){return typeof e!="string"||e.includes("-")?!1:!!(Pm.indexOf(e)>-1||/[A-Z]/u.test(e))}function Lm(e,t,n,{latestValues:r},o,s=!1,i){const l=(i??J2(e)?Im:Am)(t,r,o,e),c=Tm(t,typeof e=="string",s),u=e!==p.Fragment?{...c,...l,ref:n}:{},{children:d}=t,h=p.useMemo(()=>jt(d)?d.get():d,[d]);return p.createElement(e,{...u,children:h})}function jm({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:Rm(n,r,o,e),renderState:t()}}function Rm(e,t,n,r){const o={},s=r(e,{});for(const h in s)o[h]=mi(s[h]);let{initial:i,animate:a}=e;const l=ui(e),c=L7(e);t&&c&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||i===!1;const d=u?a:i;if(d&&typeof d!="boolean"&&!ci(d)){const h=Array.isArray(d)?d:[d];for(let m=0;m<h.length;m++){const g=E2(e,h[m]);if(g){const{transitionEnd:C,transition:b,...v}=g;for(const k in v){let w=v[k];if(Array.isArray(w)){const x=u?w.length-1:0;w=w[x]}w!==null&&(o[k]=w)}for(const k in C)o[k]=C[k]}}}return o}const q5=e=>(t,n)=>{const r=p.useContext(vi),o=p.useContext(Ys),s=()=>jm(e,t,r,o);return n?s():ir(s)},_m=q5({scrapeMotionValuesFromProps:G2,createRenderState:X2}),Bm=q5({scrapeMotionValuesFromProps:e5,createRenderState:Y5}),Nm=Symbol.for("motionComponentSymbol");function $m(e,t,n){const r=p.useRef(n);p.useInsertionEffect(()=>{r.current=n});const o=p.useRef(null);return p.useCallback(s=>{s&&e.onMount?.(s),t&&(s?t.mount(s):t.unmount());const i=r.current;if(typeof i=="function")if(s){const a=i(s);typeof a=="function"&&(o.current=a)}else o.current?(o.current(),o.current=null):i(s);else i&&(i.current=s)},[t])}const K5=p.createContext({});function ao(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Fm(e,t,n,r,o,s){const{visualElement:i}=p.useContext(vi),a=p.useContext(F5),l=p.useContext(Ys),c=p.useContext(yi),u=c.reducedMotion,d=c.skipAnimations,h=p.useRef(null),m=p.useRef(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:s}),m.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const g=h.current,C=p.useContext(K5);g&&!g.projection&&o&&(g.type==="html"||g.type==="svg")&&Vm(h.current,n,o,C);const b=p.useRef(!1);p.useInsertionEffect(()=>{g&&b.current&&g.update(n,l)});const v=n[p7],k=p.useRef(!!v&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return G0(()=>{m.current=!0,g&&(b.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),k.current&&g.animationState&&g.animationState.animateChanges())}),p.useEffect(()=>{g&&(!k.current&&g.animationState&&g.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),k.current=!1),g.enteringChildren=void 0)}),g}function Vm(e,t,n,r){const{layoutId:o,layout:s,drag:i,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Z5(e.parent)),e.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:!!i||a&&ao(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}function Z5(e){if(e)return e.options.allowProjection!==!1?e.projection:Z5(e.parent)}function Q2(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&wm(r);const s=n?n==="svg":J2(e),i=s?Bm:_m;function a(c,u){let d;const h={...p.useContext(yi),...c,layoutId:Wm(c)},{isStatic:m}=h,g=Mm(c),C=i(c,m);if(!m&&typeof window<"u"){zm(h,r);const b=Hm(h);d=b.MeasureLayout,g.visualElement=Fm(e,C,h,o,b.ProjectionNode,s)}return f.jsxs(vi.Provider,{value:g,children:[d&&g.visualElement?f.jsx(d,{visualElement:g.visualElement,...h}):null,Lm(e,c,$m(C,g.visualElement,u),C,m,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=p.forwardRef(a);return l[Nm]=e,l}function Wm({layoutId:e}){const t=p.useContext(U0).id;return t&&e!==void 0?t+"-"+e:e}function zm(e,t){const n=p.useContext(F5).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Jr(!1,r,"lazy-strict-mode"):Cn(!1,r,"lazy-strict-mode")}}function Hm(e){const t=z5(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n?.isEnabled(e)||r?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function Um(e,t){if(typeof Proxy>"u")return Q2;const n=new Map,r=(s,i)=>Q2(s,i,e,t),o=(s,i)=>(process.env.NODE_ENV!=="production"&&Z0(!1,"motion() is deprecated. Use motion.create() instead."),r(s,i));return new Proxy(o,{get:(s,i)=>i==="create"?r:(n.has(i)||n.set(i,Q2(i,void 0,e,t)),n.get(i))})}const Gm=(e,t)=>t.isSVG??J2(e)?new x4(t):new m4(t,{allowProjection:e!==p.Fragment});class Ym extends cr{constructor(t){super(t),t.animationState||(t.animationState=E4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ci(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let qm=0;class Km extends cr{constructor(){super(...arguments),this.id=qm++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:s,custom:i}=this.node.getProps();if(typeof s=="string"||typeof s=="object"&&s!==null&&!Array.isArray(s)){const a=Tr(this.node,s,i);if(a){const{transition:l,transitionEnd:c,...u}=a;for(const d in u)this.node.getValue(d)?.jump(u[d])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Zm={animation:{Feature:Ym},exit:{Feature:Km}};function rs(e){return{point:{x:e.pageX,y:e.pageY}}}const Xm=e=>t=>R2(t)&&e(t,rs(t));function os(e,t,n,r){return ns(e,t,Xm(n),r)}const X5=({current:e})=>e?e.ownerDocument.defaultView:null,J5=(e,t)=>Math.abs(e-t);function Jm(e,t){const n=J5(e.x,t.x),r=J5(e.y,t.y);return Math.sqrt(n**2+r**2)}const Q5=new Set(["auto","scroll"]);class eu{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:s=!1,distanceThreshold:i=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=xi(this.lastRawMoveEventInfo,this.transformPagePoint));const m=ea(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,C=Jm(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!C)return;const{point:b}=m,{timestamp:v}=Rt;this.history.push({...b,timestamp:v});const{onStart:k,onMove:w}=this.handlers;g||(k&&k(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,m)},this.handlePointerMove=(m,g)=>{this.lastMoveEvent=m,this.lastRawMoveEventInfo=g,this.lastMoveEventInfo=xi(g,this.transformPagePoint),et.update(this.updatePoint,!0)},this.handlePointerUp=(m,g)=>{this.end();const{onEnd:C,onSessionEnd:b,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=ea(m.type==="pointercancel"?this.lastMoveEventInfo:xi(g,this.transformPagePoint),this.history);this.startEvent&&C&&C(m,k),b&&b(m,k)},!R2(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=o||window;const l=rs(t),c=xi(l,this.transformPagePoint),{point:u}=c,{timestamp:d}=Rt;this.history=[{...u,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,ea(c,this.history)),this.removeListeners=Uo(os(this.contextWindow,"pointermove",this.handlePointerMove),os(this.contextWindow,"pointerup",this.handlePointerUp),os(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Q5.has(r.overflowX)||Q5.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,o=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:o.x-n.x,y:o.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,o),et.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Yn(this.updatePoint)}}function xi(e,t){return t?{point:t(e.point)}:e}function tu(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ea({point:e},t){return{point:e,delta:tu(e,nu(t)),offset:tu(e,Qm(t)),velocity:eg(t,.1)}}function Qm(e){return e[0]}function nu(e){return e[e.length-1]}function eg(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=nu(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Zt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>Zt(t)*2&&(r=e[1]);const s=fn(o.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const i={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function tg(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?tt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?tt(n,e,r.max):Math.min(e,n)),e}function ru(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function ng(e,{top:t,left:n,bottom:r,right:o}){return{x:ru(e.x,n,o),y:ru(e.y,t,r)}}function ou(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function rg(e,t){return{x:ou(e.x,t.x),y:ou(e.y,t.y)}}function og(e,t){let n=.5;const r=Ht(e),o=Ht(t);return o>r?n=Go(t.min,t.max-r,e.min):r>o&&(n=Go(e.min,e.max-o,t.min)),An(0,1,n)}function sg(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ta=.35;function ig(e=ta){return e===!1?e=0:e===!0&&(e=ta),{x:su(e,"left","right"),y:su(e,"top","bottom")}}function su(e,t,n){return{min:iu(e,t),max:iu(e,n)}}function iu(e,t){return typeof e=="number"?e:e[t]||0}const ag=new WeakMap;class lg{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=It(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const s=d=>{n&&this.snapToCursor(rs(d).point),this.stopAnimation()},i=(d,h)=>{const{drag:m,dragPropagation:g,onDragStart:C}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=L6(m),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ln(v=>{let k=this.getAxisMotionValue(v).get()||0;if(In.test(k)){const{projection:w}=this.visualElement;if(w&&w.layout){const x=w.layout.layoutBox[v];x&&(k=Ht(x)*(parseFloat(k)/100))}}this.originPoint[v]=k}),C&&et.update(()=>C(d,h),!1,!0),O2(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},a=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:g,onDirectionLock:C,onDrag:b}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:v}=h;if(g&&this.currentDirection===null){this.currentDirection=ug(v),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",h.point,v),this.updateAxis("y",h.point,v),this.visualElement.render(),b&&et.update(()=>b(d,h),!1,!0)},l=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h,this.stop(d,h),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new eu(t,{onSessionStart:s,onStart:i,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:X5(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!o||!r)return;const{velocity:i}=o;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&et.postRender(()=>a(r,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!wi(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=tg(i,this.constraints[t],this.elastic[t])),s.set(i)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&ao(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=ng(r.layoutBox,t):this.constraints=!1,this.elastic=ig(n),o!==this.constraints&&!ao(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Ln(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=sg(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ao(t))return!1;const r=t.current;Cn(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;o.root&&(o.root.scroll=void 0,o.root.updateScroll());const s=c4(r,o.root,this.visualElement.getTransformPagePoint());let i=rg(o.layout.layoutBox,s);if(n){const a=n(i4(i));this.hasMutatedConstraints=!!a,a&&(i=N7(a))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=Ln(u=>{if(!wi(u,n,this.currentDirection))return;let d=l&&l[u]||{};(i===!0||i===u)&&(d={min:0,max:0});const h=o?200:1e6,m=o?40:1e7,g={type:"inertia",velocity:r?t[u]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(u,g)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return O2(this.visualElement,t),r.start(T2(t,r,0,n,this.visualElement,!1))}stopAnimation(){Ln(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps()[n];return o||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Ln(n=>{const{drag:r}=this.getProps();if(!wi(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(n);if(o&&o.layout){const{min:i,max:a}=o.layout.layoutBox[n],l=s.get()||0;s.set(t[n]-tt(i,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ao(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Ln(i=>{const a=this.getAxisMotionValue(i);if(a&&this.constraints!==!1){const l=a.get();o[i]=og({min:l,max:l},this.constraints[i])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ln(i=>{if(!wi(i,t,null))return;const a=this.getAxisMotionValue(i),{min:l,max:c}=this.constraints[i];a.set(tt(l,c,o[i]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;ag.set(this.visualElement,this);const t=this.visualElement.current,n=os(t,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps(),h=c.target,m=h!==t&&$6(h);u&&d&&!m&&this.start(c)});let r;const o=()=>{const{dragConstraints:c}=this.getProps();ao(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),r||(r=cg(t,c.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,i=s.addEventListener("measure",o);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),et.read(o);const a=ns(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",(({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(Ln(d=>{const h=this.getAxisMotionValue(d);h&&(this.originPoint[d]+=c[d].translate,h.set(h.get()+c[d].translate))}),this.visualElement.render())}));return()=>{a(),n(),i(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:i=ta,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:i,dragMomentum:a}}}function au(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function cg(e,t,n){const r=A7(e,au(n)),o=A7(t,au(n));return()=>{r(),o()}}function wi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function ug(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class dg extends cr{constructor(t){super(t),this.removeGroupControls=dn,this.removeListeners=dn,this.controls=new lg(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||dn}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const na=e=>(t,n)=>{e&&et.update(()=>e(t,n),!1,!0)};class fg extends cr{constructor(){super(...arguments),this.removePointerDownListener=dn}onPointerDown(t){this.session=new eu(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:X5(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:na(t),onStart:na(n),onMove:na(r),onEnd:(s,i)=>{delete this.session,o&&et.postRender(()=>o(s,i))}}}mount(){this.removePointerDownListener=os(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ra=!1;class pg extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&o&&r.register(s),ra&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),gi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:s}=this.props,{projection:i}=r;return i&&(i.isPresent=s,t.layoutDependency!==n&&i.setOptions({...i.options,layoutDependency:n}),ra=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==s?i.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?i.promote():i.relegate()||et.postRender(()=>{const a=i.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),j2.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;ra=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function lu(e){const[t,n]=N5(),r=p.useContext(U0);return f.jsx(pg,{...e,layoutGroup:r,switchLayoutGroup:p.useContext(K5),isPresent:t,safeToRemove:n})}const hg={pan:{Feature:fg},drag:{Feature:dg,ProjectionNode:_5,MeasureLayout:lu}};function cu(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,s=r[o];s&&et.postRender(()=>s(t,rs(t)))}class mg extends cr{mount(){const{current:t}=this.node;t&&(this.unmount=R6(t,(n,r)=>(cu(this.node,r,"Start"),o=>cu(this.node,o,"End"))))}unmount(){}}class gg extends cr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Uo(ns(this.node.current,"focus",()=>this.onFocus()),ns(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function uu(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),s=r[o];s&&et.postRender(()=>s(t,rs(t)))}class yg extends cr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=V6(t,(o,s)=>(uu(this.node,s,"Start"),(i,{success:a})=>uu(this.node,i,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:r?.tap===!1})}unmount(){}}const oa=new WeakMap,sa=new WeakMap,Cg=e=>{const t=oa.get(e.target);t&&t(e)},bg=e=>{e.forEach(Cg)};function vg({root:e,...t}){const n=e||document;sa.has(n)||sa.set(n,{});const r=sa.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(bg,{root:e,...t})),r[o]}function xg(e,t,n){const r=vg(t);return oa.set(e,n),r.observe(e),()=>{oa.delete(e),r.unobserve(e)}}const wg={some:0,all:1};class Sg extends cr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:wg[o]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,s&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),h=c?u:d;h&&h(l)};this.stopObserver=xg(this.node.current,i,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(kg(t,n))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function kg({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Tg={...Zm,...{inView:{Feature:Sg},tap:{Feature:yg},focus:{Feature:gg},hover:{Feature:mg}},...hg,...{layout:{ProjectionNode:_5,MeasureLayout:lu}}},ur=Um(Tg,Gm);function du(e){const t=ir(()=>kr(e)),{isStatic:n}=p.useContext(yi);if(n){const[,r]=p.useState(e);p.useEffect(()=>t.on("change",r),[])}return t}function fu(e,t){const n=du(t()),r=()=>n.set(t());return r(),G0(()=>{const o=()=>et.preRender(r,!1,!0),s=e.map(i=>i.on("change",o));return()=>{s.forEach(i=>i()),Yn(r)}}),n}function Eg(e){Jo.current=[],e();const t=fu(Jo.current,e);return Jo.current=void 0,t}function Mg(e,t,n,r){if(typeof e=="function")return Eg(e);const s=typeof t=="function"?t:X6(t,n,r),i=Array.isArray(e)?pu(e,s):pu([e],([l])=>s(l)),a=Array.isArray(e)?void 0:e.accelerate;return a&&!a.isTransformed&&typeof t!="function"&&Array.isArray(n)&&r?.clamp!==!1&&(i.accelerate={...a,times:t,keyframes:n,isTransformed:!0}),i}function pu(e,t){const n=ir(()=>[]);return fu(e,()=>{n.length=0;const r=e.length;for(let o=0;o<r;o++)n[o]=e[o].get();return t(n)})}class Og{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(r=>{r.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const Dg=()=>new Og;function hu(){return ir(Dg)}const mu=p.createContext(null);function Ag(e,t,n,r){if(!r)return e;const o=e.findIndex(u=>u.value===t);if(o===-1)return e;const s=r>0?1:-1,i=e[o+s];if(!i)return e;const a=e[o],l=i.layout,c=tt(l.min,l.max,.5);return s===1&&a.layout.max+n>c||s===-1&&a.layout.min+n<c?Pp(e,o,o+s):e}function Ig({children:e,as:t="ul",axis:n="y",onReorder:r,values:o,...s},i){const a=ir(()=>ur[t]),l=[],c=p.useRef(!1),u=p.useRef(null);Cn(!!o,"Reorder.Group must be provided a values prop","reorder-values");const d={axis:n,groupRef:u,registerItem:(g,C)=>{const b=l.findIndex(v=>g===v.value);b!==-1?l[b].layout=C[n]:l.push({value:g,layout:C[n]}),l.sort(Lg)},updateOrder:(g,C,b)=>{if(c.current)return;const v=Ag(l,g,C,b);if(l!==v){c.current=!0;const k=[...o];for(let w=0;w<v.length;w++)if(l[w].value!==v[w].value){const x=o.indexOf(l[w].value),T=o.indexOf(v[w].value);x!==-1&&T!==-1&&([k[x],k[T]]=[k[T],k[x]]);break}r(k)}}};p.useEffect(()=>{c.current=!1});const h=g=>{u.current=g,typeof i=="function"?i(g):i&&(i.current=g)},m={overflowAnchor:"none",...s.style};return f.jsx(a,{...s,style:m,ref:h,ignoreStrict:!0,children:f.jsx(mu.Provider,{value:d,children:e})})}const Pg=p.forwardRef(Ig);function Lg(e,t){return e.layout.min-t.layout.min}const Si=50,gu=25,jg=new Set(["auto","scroll"]),ss=new WeakMap,is=new WeakMap;let as=null;function Rg(){if(as){const e=ia(as,"y");e&&(is.delete(e),ss.delete(e));const t=ia(as,"x");t&&t!==e&&(is.delete(t),ss.delete(t)),as=null}}function _g(e,t){const n=getComputedStyle(e),r=t==="x"?n.overflowX:n.overflowY,o=e===document.body||e===document.documentElement;return jg.has(r)||o}function ia(e,t){let n=e?.parentElement;for(;n;){if(_g(n,t))return n;n=n.parentElement}return null}function Bg(e,t,n){const r=t.getBoundingClientRect(),o=n==="x"?Math.max(0,r.left):Math.max(0,r.top),s=n==="x"?Math.min(window.innerWidth,r.right):Math.min(window.innerHeight,r.bottom),i=e-o,a=s-e;if(i<Si){const l=1-i/Si;return{amount:-gu*l*l,edge:"start"}}else if(a<Si){const l=1-a/Si;return{amount:gu*l*l,edge:"end"}}return{amount:0,edge:null}}function Ng(e,t,n,r){if(!e)return;as=e;const o=ia(e,n);if(!o)return;const s=t-(n==="x"?window.scrollX:window.scrollY),{amount:i,edge:a}=Bg(s,o,n);if(a===null){is.delete(o),ss.delete(o);return}const l=is.get(o),c=o===document.body||o===document.documentElement;if(l!==a){if(!(a==="start"&&r<0||a==="end"&&r>0))return;is.set(o,a);const d=n==="x"?o.scrollWidth-(c?window.innerWidth:o.clientWidth):o.scrollHeight-(c?window.innerHeight:o.clientHeight);ss.set(o,d)}if(i>0){const u=ss.get(o);if((n==="x"?c?window.scrollX:o.scrollLeft:c?window.scrollY:o.scrollTop)>=u)return}n==="x"?c?window.scrollBy({left:i}):o.scrollLeft+=i:c?window.scrollBy({top:i}):o.scrollTop+=i}function yu(e,t=0){return jt(e)?e:du(t)}function $g({children:e,style:t={},value:n,as:r="li",onDrag:o,onDragEnd:s,layout:i=!0,...a},l){const c=ir(()=>ur[r]),u=p.useContext(mu),d={x:yu(t.x),y:yu(t.y)},h=Mg([d.x,d.y],([v,k])=>v||k?1:"unset");Cn(!!u,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:m,registerItem:g,updateOrder:C,groupRef:b}=u;return f.jsx(c,{drag:m,...a,dragSnapToOrigin:!0,style:{...t,x:d.x,y:d.y,zIndex:h},layout:i,onDrag:(v,k)=>{const{velocity:w,point:x}=k,T=d[m].get();C(n,T,w[m]),Ng(b.current,x[m],m,w[m]),o&&o(v,k)},onDragEnd:(v,k)=>{Rg(),s&&s(v,k)},onLayoutMeasure:v=>{g(n,v)},ref:l,ignoreStrict:!0,children:e})}const Cu=p.forwardRef($g);var ki={exports:{}},Ti={exports:{}},Ye={};var bu;function Fg(){if(bu)return Ye;bu=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,C=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function w(T){if(typeof T=="object"&&T!==null){var M=T.$$typeof;switch(M){case t:switch(T=T.type,T){case l:case c:case r:case s:case o:case d:return T;default:switch(T=T&&T.$$typeof,T){case a:case u:case g:case m:case i:return T;default:return M}}case n:return M}}}function x(T){return w(T)===c}return Ye.AsyncMode=l,Ye.ConcurrentMode=c,Ye.ContextConsumer=a,Ye.ContextProvider=i,Ye.Element=t,Ye.ForwardRef=u,Ye.Fragment=r,Ye.Lazy=g,Ye.Memo=m,Ye.Portal=n,Ye.Profiler=s,Ye.StrictMode=o,Ye.Suspense=d,Ye.isAsyncMode=function(T){return x(T)||w(T)===l},Ye.isConcurrentMode=x,Ye.isContextConsumer=function(T){return w(T)===a},Ye.isContextProvider=function(T){return w(T)===i},Ye.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===t},Ye.isForwardRef=function(T){return w(T)===u},Ye.isFragment=function(T){return w(T)===r},Ye.isLazy=function(T){return w(T)===g},Ye.isMemo=function(T){return w(T)===m},Ye.isPortal=function(T){return w(T)===n},Ye.isProfiler=function(T){return w(T)===s},Ye.isStrictMode=function(T){return w(T)===o},Ye.isSuspense=function(T){return w(T)===d},Ye.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===r||T===c||T===s||T===o||T===d||T===h||typeof T=="object"&&T!==null&&(T.$$typeof===g||T.$$typeof===m||T.$$typeof===i||T.$$typeof===a||T.$$typeof===u||T.$$typeof===b||T.$$typeof===v||T.$$typeof===k||T.$$typeof===C)},Ye.typeOf=w,Ye}var qe={};var vu;function Vg(){return vu||(vu=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,C=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function w(q){return typeof q=="string"||typeof q=="function"||q===r||q===c||q===s||q===o||q===d||q===h||typeof q=="object"&&q!==null&&(q.$$typeof===g||q.$$typeof===m||q.$$typeof===i||q.$$typeof===a||q.$$typeof===u||q.$$typeof===b||q.$$typeof===v||q.$$typeof===k||q.$$typeof===C)}function x(q){if(typeof q=="object"&&q!==null){var xe=q.$$typeof;switch(xe){case t:var ke=q.type;switch(ke){case l:case c:case r:case s:case o:case d:return ke;default:var ve=ke&&ke.$$typeof;switch(ve){case a:case u:case g:case m:case i:return ve;default:return xe}}case n:return xe}}}var T=l,M=c,A=a,I=i,P=t,R=u,W=r,S=g,j=m,_=n,N=s,U=o,se=d,ue=!1;function B(q){return ue||(ue=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),E(q)||x(q)===l}function E(q){return x(q)===c}function D(q){return x(q)===a}function L(q){return x(q)===i}function $(q){return typeof q=="object"&&q!==null&&q.$$typeof===t}function Y(q){return x(q)===u}function re(q){return x(q)===r}function he(q){return x(q)===g}function oe(q){return x(q)===m}function X(q){return x(q)===n}function te(q){return x(q)===s}function ie(q){return x(q)===o}function Q(q){return x(q)===d}qe.AsyncMode=T,qe.ConcurrentMode=M,qe.ContextConsumer=A,qe.ContextProvider=I,qe.Element=P,qe.ForwardRef=R,qe.Fragment=W,qe.Lazy=S,qe.Memo=j,qe.Portal=_,qe.Profiler=N,qe.StrictMode=U,qe.Suspense=se,qe.isAsyncMode=B,qe.isConcurrentMode=E,qe.isContextConsumer=D,qe.isContextProvider=L,qe.isElement=$,qe.isForwardRef=Y,qe.isFragment=re,qe.isLazy=he,qe.isMemo=oe,qe.isPortal=X,qe.isProfiler=te,qe.isStrictMode=ie,qe.isSuspense=Q,qe.isValidElementType=w,qe.typeOf=x})()),qe}var xu;function wu(){return xu||(xu=1,process.env.NODE_ENV==="production"?Ti.exports=Fg():Ti.exports=Vg()),Ti.exports}var aa,Su;function Wg(){if(Su)return aa;Su=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var i={},a=0;a<10;a++)i["_"+String.fromCharCode(a)]=a;var l=Object.getOwnPropertyNames(i).map(function(u){return i[u]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(u){c[u]=u}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return aa=o()?Object.assign:function(s,i){for(var a,l=r(s),c,u=1;u<arguments.length;u++){a=Object(arguments[u]);for(var d in a)t.call(a,d)&&(l[d]=a[d]);if(e){c=e(a);for(var h=0;h<c.length;h++)n.call(a,c[h])&&(l[c[h]]=a[c[h]])}}return l},aa}var la,ku;function ca(){if(ku)return la;ku=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return la=e,la}var ua,Tu;function Eu(){return Tu||(Tu=1,ua=Function.call.bind(Object.prototype.hasOwnProperty)),ua}var da,Mu;function zg(){if(Mu)return da;Mu=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ca(),n={},r=Eu();e=function(s){var i="Warning: "+s;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(s,i,a,l,c){if(process.env.NODE_ENV!=="production"){for(var u in s)if(r(s,u)){var d;try{if(typeof s[u]!="function"){var h=Error((l||"React class")+": "+a+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}d=s[u](i,u,l,a,null,t)}catch(g){d=g}if(d&&!(d instanceof Error)&&e((l||"React class")+": type specification of "+a+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var m=c?c():"";e("Failed "+a+" type: "+d.message+(m??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},da=o,da}var fa,Ou;function Hg(){if(Ou)return fa;Ou=1;var e=wu(),t=Wg(),n=ca(),r=Eu(),o=zg(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function i(){return null}return fa=function(a,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function d(E){var D=E&&(c&&E[c]||E[u]);if(typeof D=="function")return D}var h="<<anonymous>>",m={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:k(),arrayOf:w,element:x(),elementType:T(),instanceOf:M,node:R(),objectOf:I,oneOf:A,oneOfType:P,shape:S,exact:j};function g(E,D){return E===D?E!==0||1/E===1/D:E!==E&&D!==D}function C(E,D){this.message=E,this.data=D&&typeof D=="object"?D:{},this.stack=""}C.prototype=Error.prototype;function b(E){if(process.env.NODE_ENV!=="production")var D={},L=0;function $(re,he,oe,X,te,ie,Q){if(X=X||h,ie=ie||oe,Q!==n){if(l){var q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw q.name="Invariant Violation",q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var xe=X+":"+oe;!D[xe]&&L<3&&(s("You are manually calling a React.PropTypes validation function for the `"+ie+"` prop on `"+X+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),D[xe]=!0,L++)}}return he[oe]==null?re?he[oe]===null?new C("The "+te+" `"+ie+"` is marked as required "+("in `"+X+"`, but its value is `null`.")):new C("The "+te+" `"+ie+"` is marked as required in "+("`"+X+"`, but its value is `undefined`.")):null:E(he,oe,X,te,ie)}var Y=$.bind(null,!1);return Y.isRequired=$.bind(null,!0),Y}function v(E){function D(L,$,Y,re,he,oe){var X=L[$],te=U(X);if(te!==E){var ie=se(X);return new C("Invalid "+re+" `"+he+"` of type "+("`"+ie+"` supplied to `"+Y+"`, expected ")+("`"+E+"`."),{expectedType:E})}return null}return b(D)}function k(){return b(i)}function w(E){function D(L,$,Y,re,he){if(typeof E!="function")return new C("Property `"+he+"` of component `"+Y+"` has invalid PropType notation inside arrayOf.");var oe=L[$];if(!Array.isArray(oe)){var X=U(oe);return new C("Invalid "+re+" `"+he+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected an array."))}for(var te=0;te<oe.length;te++){var ie=E(oe,te,Y,re,he+"["+te+"]",n);if(ie instanceof Error)return ie}return null}return b(D)}function x(){function E(D,L,$,Y,re){var he=D[L];if(!a(he)){var oe=U(he);return new C("Invalid "+Y+" `"+re+"` of type "+("`"+oe+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return b(E)}function T(){function E(D,L,$,Y,re){var he=D[L];if(!e.isValidElementType(he)){var oe=U(he);return new C("Invalid "+Y+" `"+re+"` of type "+("`"+oe+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return b(E)}function M(E){function D(L,$,Y,re,he){if(!(L[$]instanceof E)){var oe=E.name||h,X=B(L[$]);return new C("Invalid "+re+" `"+he+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected ")+("instance of `"+oe+"`."))}return null}return b(D)}function A(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),i;function D(L,$,Y,re,he){for(var oe=L[$],X=0;X<E.length;X++)if(g(oe,E[X]))return null;var te=JSON.stringify(E,function(Q,q){var xe=se(q);return xe==="symbol"?String(q):q});return new C("Invalid "+re+" `"+he+"` of value `"+String(oe)+"` "+("supplied to `"+Y+"`, expected one of "+te+"."))}return b(D)}function I(E){function D(L,$,Y,re,he){if(typeof E!="function")return new C("Property `"+he+"` of component `"+Y+"` has invalid PropType notation inside objectOf.");var oe=L[$],X=U(oe);if(X!=="object")return new C("Invalid "+re+" `"+he+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected an object."));for(var te in oe)if(r(oe,te)){var ie=E(oe,te,Y,re,he+"."+te,n);if(ie instanceof Error)return ie}return null}return b(D)}function P(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var D=0;D<E.length;D++){var L=E[D];if(typeof L!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ue(L)+" at index "+D+"."),i}function $(Y,re,he,oe,X){for(var te=[],ie=0;ie<E.length;ie++){var Q=E[ie],q=Q(Y,re,he,oe,X,n);if(q==null)return null;q.data&&r(q.data,"expectedType")&&te.push(q.data.expectedType)}var xe=te.length>0?", expected one of type ["+te.join(", ")+"]":"";return new C("Invalid "+oe+" `"+X+"` supplied to "+("`"+he+"`"+xe+"."))}return b($)}function R(){function E(D,L,$,Y,re){return _(D[L])?null:new C("Invalid "+Y+" `"+re+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return b(E)}function W(E,D,L,$,Y){return new C((E||"React class")+": "+D+" type `"+L+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Y+"`.")}function S(E){function D(L,$,Y,re,he){var oe=L[$],X=U(oe);if(X!=="object")return new C("Invalid "+re+" `"+he+"` of type `"+X+"` "+("supplied to `"+Y+"`, expected `object`."));for(var te in E){var ie=E[te];if(typeof ie!="function")return W(Y,re,he,te,se(ie));var Q=ie(oe,te,Y,re,he+"."+te,n);if(Q)return Q}return null}return b(D)}function j(E){function D(L,$,Y,re,he){var oe=L[$],X=U(oe);if(X!=="object")return new C("Invalid "+re+" `"+he+"` of type `"+X+"` "+("supplied to `"+Y+"`, expected `object`."));var te=t({},L[$],E);for(var ie in te){var Q=E[ie];if(r(E,ie)&&typeof Q!="function")return W(Y,re,he,ie,se(Q));if(!Q)return new C("Invalid "+re+" `"+he+"` key `"+ie+"` supplied to `"+Y+"`.\nBad object: "+JSON.stringify(L[$],null," ")+`
15
- Valid keys: `+JSON.stringify(Object.keys(E),null," "));var q=Q(oe,ie,Y,re,he+"."+ie,n);if(q)return q}return null}return b(D)}function _(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(_);if(E===null||a(E))return!0;var D=d(E);if(D){var L=D.call(E),$;if(D!==E.entries){for(;!($=L.next()).done;)if(!_($.value))return!1}else for(;!($=L.next()).done;){var Y=$.value;if(Y&&!_(Y[1]))return!1}}else return!1;return!0;default:return!1}}function N(E,D){return E==="symbol"?!0:D?D["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&D instanceof Symbol:!1}function U(E){var D=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":N(D,E)?"symbol":D}function se(E){if(typeof E>"u"||E===null)return""+E;var D=U(E);if(D==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return D}function ue(E){var D=se(E);switch(D){case"array":case"object":return"an "+D;case"boolean":case"date":case"regexp":return"a "+D;default:return D}}function B(E){return!E.constructor||!E.constructor.name?h:E.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},fa}var pa,Du;function Ug(){if(Du)return pa;Du=1;var e=ca();function t(){}function n(){}return n.resetWarningCache=t,pa=function(){function r(i,a,l,c,u,d){if(d!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},pa}var Au;function Gg(){if(Au)return ki.exports;if(Au=1,process.env.NODE_ENV!=="production"){var e=wu(),t=!0;ki.exports=Hg()(e.isElement,t)}else ki.exports=Ug()();return ki.exports}var Yg=Gg();const y=Mp(Yg),Ct=({name:e,size:t=24,url:n,color:r="currentColor",style:o={},...s})=>{const{isPrimary:i}=s,a=n||Te[e],c=O.useTheme().palette.mode==="dark",u=i?"invert(0%) brightness(200%)":c?"invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%)":"invert(48%) sepia(0%) saturate(0%) hue-rotate(181deg) brightness(95%) contrast(90%)";return a?f.jsx("img",{src:a,alt:`${e}-icon`,draggable:!1,style:{filter:u,...o},...s}):null},qg='button:not([disabled]), [role="menuitem"]:not([aria-disabled="true"]), [role="combobox"]:not([disabled]), [data-roving-item]:not([aria-disabled="true"])',Ei=(e,{enabled:t=!0,orientation:n="horizontal",onEscape:r}={})=>{const o=p.useRef(r);return o.current=r,{onKeyDown:p.useCallback(i=>{if(!t)return;if(i.key==="Escape"){o.current?.(i);return}const a=n==="vertical"?"ArrowDown":"ArrowRight",l=n==="vertical"?"ArrowUp":"ArrowLeft";if(i.key!==a&&i.key!==l)return;const c=Array.from(e.current?.querySelectorAll(qg)||[]),u=c.indexOf(document.activeElement);if(u===-1)return;i.preventDefault();const d=i.key===a?1:-1,h=(u+d+c.length)%c.length;c[h]?.focus()},[t,n,e])}},Kg=({showOptions:e,setShowOptions:t,buttonRef:n,options:r,onClick:o})=>{O.useTheme();const s=p.useRef(null),i=p.useRef(null),{onKeyDown:a}=Ei(i,{enabled:e,orientation:"vertical",onEscape:()=>t(!1)});return p.useEffect(()=>{let l;return e&&(l=setTimeout(()=>{const c=u=>{s?.current&&!s?.current.contains(u.target)&&!n?.contains(u.target)&&t(!1)};document.addEventListener("mousedown",c),document._customLabelClickOutside=c},0)),()=>{clearTimeout(l),document._customLabelClickOutside&&(document.removeEventListener("mousedown",document._customLabelClickOutside),delete document._customLabelClickOutside)}},[e]),f.jsx(O.Popper,{open:e,anchorEl:n,placement:"bottom",transition:!0,modifiers:[{name:"offset",options:{offset:[0,0]}},{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:l})=>{l.styles.popper.width=`${l.rects.reference.width}px`}}],style:{zIndex:1300},ref:s,children:({TransitionProps:l})=>f.jsx(O.Fade,{...l,timeout:100,children:f.jsx(O.Box,{sx:{background:c=>c.palette.primary.appBackground,border:c=>`1px solid ${c.palette.primary.notifyBorderColor}`,borderRadius:"0.7rem",width:"100%",padding:"0.3rem",maxHeight:"20rem",overflowY:"auto"},children:f.jsx(O.Box,{ref:i,role:"menu",onKeyDown:a,children:r?.map((c,u)=>f.jsx(O.List,{role:"menuitem",tabIndex:0,sx:{opacity:1,pointerEvents:"auto",padding:"0rem",cursor:"pointer",borderTop:u!==0?d=>`0.1rem solid ${d.palette.primary.notifyBorderColor}`:"none",...xt()},onClick:d=>{d.stopPropagation(),o(c)},onKeyDown:wt(()=>o(c)),children:f.jsx(O.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{p:"0.5rem"},children:f.jsx(O.Stack,{direction:"row",alignItems:"center",gap:"1rem",children:f.jsx(O.Typography,{component:"h3",sx:{color:d=>d.palette.primary.notifyActiveText,fontWeight:"300",fontSize:"1.1rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:c.label})})})},u))})})})})},nn={TOKEN:"token",USER:"user",SNOP:"snop",SELECTED_BU:"selected_business_unit",SETTINGS:"settings"},Iu={TENANT_ID:"tenant_id",BU_ID:"bu_id"},Zg=Object.values({"SKU Name":"sku_name",Node:"node","Channel Name":"channel_name"}),Xg=[10,25,50,100],Jg={MARK_ALL_READ:"MARK_ALL_READ"},Qg=Xg.map(e=>({label:e,value:e})),ha={PRIMARY:"PRIMARY",SECONDARY:"SECONDARY"},Xt=({key:e,modifiers:t=[]})=>[...t].sort((n,r)=>n.localeCompare(r)).concat(e).join("+"),ht=Object.freeze({SAVE:{key:"s",modifiers:["ctrl","shift"],label:"Save",icon:Te.Save},UPLOAD:{key:"u",modifiers:["ctrl","shift"],label:"Upload",icon:Te.Upload},DOWNLOAD:{key:"d",modifiers:["shift"],label:"Download",icon:Te.Download},GROUP_BY:{key:"g",modifiers:["alt"],label:"Group By",icon:Te.Group},MORE_ACTIONS:{key:"m",modifiers:["shift"],label:"LABEL_MORE_ACTIONS",icon:Te.More},REFRESH:{key:"r",modifiers:["alt"],label:"Refresh",icon:Te.Refresh},ADD_NEW:{key:"n",modifiers:["alt"],label:"Add new",icon:Te.AddSquare},SEARCH:{key:"s",modifiers:["shift"],label:"SEARCH",icon:Te.Search},FILTER:{key:"f",modifiers:["ctrl","shift"],label:"Filters",icon:Te.Filter},MANAGE_COLUMNS:{key:"e",modifiers:["alt"],label:"LABEL_MANAGE_COLUMN",icon:Te.Manage},APPLY:{key:"v",modifiers:["ctrl","shift"],label:"Apply"},CANCEL:{key:"z",modifiers:["ctrl","shift"],label:"Cancel"},CLEAR_ALL:{key:"x",modifiers:["ctrl","shift"],label:"clearAll"},SHORTCUTS_HELP:{key:"\\",modifiers:[],label:"Shortcuts help"}}),e3=new Map(Object.values(ht).map(e=>[Xt(e),e])),Pu=e=>e3.get(e),t3=e=>{if(!e)return[];if(e.shortcutsHelp)return e.shortcutsHelp;const{defaultTools:t,isManageable:n,customTools:r}=e,o=[t?.save?.isRequired&&ht.SAVE,t?.upload?.isRequired&&ht.UPLOAD,t?.download?.isRequired&&ht.DOWNLOAD,t?.groupBy?.isRequired&&ht.GROUP_BY,t?.refresh?.isRequired&&ht.REFRESH,t?.search?.isRequired&&ht.SEARCH,r?.some(a=>a?.type===ha.SECONDARY)&&ht.MORE_ACTIONS,!!n&&ht.MANAGE_COLUMNS].filter(Boolean),i=Object.keys(e?.shortcuts?.extra??{}).map(Pu).filter(Boolean).filter(a=>!o.some(l=>Xt(l)===Xt(a)));return[...o,...i]},n3=[ht.APPLY,ht.CANCEL,ht.CLEAR_ALL],r3=new Set(["INPUT","TEXTAREA","SELECT"]),o3=e=>e?e.isContentEditable?!0:r3.has(e.tagName)?!e.readOnly&&!e.disabled:!1:!1,s3=e=>e?e.startsWith("Key")?e.slice(3).toLowerCase():e.startsWith("Digit")?e.slice(5):e==="Backslash"?"\\":e.toLowerCase():"",i3=e=>{const t=[];return(e.ctrlKey||e.metaKey)&&t.push("ctrl"),e.altKey&&t.push("alt"),e.shiftKey&&t.push("shift"),t.sort((n,r)=>n.localeCompare(r)),t.concat(s3(e.code)).join("+")},Mi=(e,{enabled:t=!0,isPaused:n,onEscape:r}={})=>{const o=p.useRef(e);o.current=e;const s=p.useRef(n);s.current=n;const i=p.useRef(r);i.current=r,p.useEffect(()=>{if(!t)return;const a=l=>{if(l.key==="Escape"){i.current?.(l);return}const c=i3(l),u=o.current?.[c];u&&(!l.ctrlKey&&!l.metaKey&&o3(l.target)||s.current?.()||(l.preventDefault(),l.stopPropagation(),!u.disabled&&u.run?.(l)))};return document.addEventListener("keydown",a,!0),()=>document.removeEventListener("keydown",a,!0)},[t])},a3={},Lu=()=>!!document.querySelector('[role="dialog"][aria-modal="true"]:not([data-allow-shortcuts])'),l3=()=>Lu(),ma=(e,t,{enabled:n=!0,disabled:r=!1,isPaused:o,scopeRef:s}={})=>{const i=e?ht[e]:void 0;e&&!i&&console.warn(`useShortcut: unknown action "${e}" — add it to SHORTCUTS first.`),Mi(i?{[Xt(i)]:{run:t,disabled:r}}:a3,{enabled:n&&!!i,isPaused:()=>{if(o?o():l3())return!0;if(s){const a=s.current;if(!(!!a&&(a.contains(document.activeElement)||a.matches?.(":hover"))))return!0}return!1}})},c3=nc(ur.button)(()=>({outline:"none",...xt()})),u3=/[ᄀ-ᇿ぀-ヿ㐀-䶿一-鿿ꥠ-꥿가-힣豈-﫿＀-￯]/,d3=e=>{if(!e)return 0;const t=e.length>=10?6.5:8.5,n=t*2;return[...e].reduce((r,o)=>r+(u3.test(o)?n:t),0)},f3=e=>{if(typeof e!="string")return null;const t=e.trim(),n=t.match(/^(-?\d*\.?\d+)rem$/);if(n)return parseFloat(n[1]);const r=t.match(/^(-?\d*\.?\d+)px$/);return r?parseFloat(r[1])/10:null},ju=({styles:e,label:t,helpText:n,disabled:r,onClick:o,shortcutAction:s,shortcutOptions:i,...a})=>{const l=O.useTheme(),{t:c}=p.useContext(Nt);ma(s,T=>o?.(T),{enabled:!!s,disabled:r,...i});let u=t?d3(c(t))+42:0;u=a?.options?u+15:u;const d=f3(e?.width),h=u/10,m=d!=null?`${Math.max(d,h)}rem`:e?.width||`${h}rem`,[g,C]=p.useState(!1),b=p.useRef(null),[v,k]=p.useState(!1),[w,x]=p.useState(e?.isAnimate);return f.jsx(O.Tooltip,{title:c(n)??c(t),placement:"top",componentsProps:{tooltip:{sx:{fontSize:"1rem",padding:"0.6rem 1rem",boxShadow:"0 2px 8px rgba(0,0,0,0.3)"}}},children:f.jsxs(c3,{ref:b,onMouseEnter:()=>w&&C(!0),onMouseLeave:()=>{w&&C(!1)},initial:{width:!w&&t?m:e?.width||"3.2rem",borderRadius:e?.borderRadius||"0.7rem"},animate:{width:w?`${g?u/9:3.2}rem`:t?m:e?.width||"3.2rem"},whileHover:{backgroundColor:e?.hover?.backgroundColor,color:e?.hover?.color},transition:{duration:.2,ease:"easeInOut"},style:{height:"3.2rem",overflow:"hidden",backgroundColor:e?.variant!=="outlined"?e?.colorType==="secondary"?l.palette.brandColor.blue:e?.colorType==="danger"?l.palette.brandColor.red:e?.colorType==="empty"?l.palette.primary.notifyButtonBackground:l.palette.brandColor.orange:l.palette.primary.notifyBackground,border:e?.variant==="outlined"||e?.colorType==="empty"?`0.1rem solid ${l.palette.primary.notifyBorderColor}`:"none",display:"flex",alignItems:"center",gap:g||!w?"0.5rem":0,color:e?.variant==="outlined"||e?.colorType==="empty"?l.palette.primary.notifyTextColor:"white",justifyContent:"center",padding:g||!w?"1.2rem":"0.8rem",whiteSpace:"nowrap",opacity:r?.5:1,cursor:r?"auto":"pointer",...e},disabled:r,layout:!0,onClick:()=>{!a?.options&&o(),a?.options&&(k(T=>!T),x(v))},...a,children:[e?.icon&&(!e?.iconPosition||e?.iconPosition==="start")&&f.jsx(Ct,{url:e?.icon,isPrimary:e?.iconPrimary}),t&&f.jsxs(ur.div,{layout:!0,initial:{opacity:0,width:0},animate:{opacity:g||!w?1:0,width:g||!w?"auto":0},transition:{duration:.2,ease:"easeInOut",delay:g?.1:0},style:{overflow:"hidden",whiteSpace:"nowrap",display:"flex",justifyContent:"center",gap:"0.8rem"},children:[f.jsx(O.Typography,{sx:{fontSize:"1.1rem",overflow:"hidden",textOverflow:"ellipsis"},children:c(t)}),a?.options&&(v?f.jsx(Ct,{url:Te.ArrowUpLight}):f.jsx(Ct,{url:Te.ArrowDownLight}))]}),e?.iconPosition==="end"&&f.jsx(Ct,{url:e?.icon,isPrimary:e?.iconPrimary}),f.jsx(Kg,{showOptions:v,buttonRef:b?.current,setShowOptions:k,options:a?.options,onClick:o})]})})};ju.propTypes={styles:y.object.isRequired,label:y.string,shortcutAction:y.string,shortcutOptions:y.object};function jn({...e}){return f.jsx(At,{children:f.jsx(ju,{...e})})}function p3({...e}){return O.useTheme(),f.jsx(O.Checkbox,{sx:{p:"0!important",...xt()},id:e?.id,icon:f.jsx(O.Box,{component:"img",src:Te.Uncheck}),checkedIcon:f.jsx(O.Box,{component:"img",src:Te.Check}),indeterminateIcon:f.jsx(O.Box,{component:"img",src:Te.Indeterminate}),...e})}function Rn({...e}){return f.jsx(At,{children:f.jsx(p3,{...e})})}const h3=({iconUrl:e,placeholder:t,inputRef:n,...r})=>{const[o,s]=p.useState(!1),[i,a]=p.useState(!1),l=O.useTheme(),{t:c}=p.useContext(Nt);return f.jsxs(O.Box,{sx:{display:"flex",alignItems:"center",border:`0.1rem solid ${l.palette.primary.notifyBorderColor}`,borderRadius:"0.7rem",backgroundColor:l.palette.primary.notifyBackground,height:"3.2rem",paddingLeft:"0.5rem",overflow:"hidden",transition:"border 0.2s ease",...i&&{boxShadow:Ho}},children:[e&&f.jsx(O.Box,{component:Ct,url:e,sx:{width:"1.3rem",height:"1.3rem",margin:"0 0.5rem 0.2rem 0.5rem",userSelect:"none",pointerEvents:"none",objectFit:"contain"},draggable:!1}),f.jsx(ur.input,{ref:n,type:"text",onFocus:()=>{a(!0),s(!0)},onBlur:()=>{a(!1),s(!1)},initial:{width:"10rem"},animate:{width:o?"13rem":"10rem"},transition:{duration:.3,ease:"easeInOut"},style:{height:"3.007rem",outline:"none",boxShadow:"none",fontSize:"1.1rem",border:"none",backgroundColor:"transparent",padding:0,color:l.palette.primary.notifyTextColor,flex:1,transition:"height 0.1s ease"},placeholder:c(t),...r})]})};function Ru({...e}){return f.jsx(At,{children:f.jsx(h3,{...e})})}const m3=O.styled(O.TextField)(({theme:e})=>({width:"100%!important","& .MuiFormHelperText-root":{margin:0},"& .MuiInputBase-root.MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.brandColor.red},"& .MuiInputLabel-root.Mui-error":{color:e.palette.brandColor.red},"& .MuiFilledInput-root":{borderRadius:"0.8rem"},"& .MuiOutlinedInput-root":{fontSize:"1.1rem",color:e.palette.primary.notifyTextColor,borderRadius:"0.8rem",backgroundColor:`${e.palette.primary.notifyBackground}`,padding:"0.3rem","& fieldset":{borderColor:`${e.palette.primary.notifyBorderColor}`},"&:hover fieldset":{borderColor:`${e.palette.primary.notifyBorderColor}`},"&.Mui-focused fieldset":{borderColor:`${e.palette.primary.notifyBorderColor}`},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:`${e.palette.primary.notifyBorderColor}`}},"&.Mui-focused .MuiOutlinedInput-root, & .MuiOutlinedInput-root.Mui-focused":{boxShadow:Ho},"& .MuiInputBase-input":{color:e.palette.primary.notifyActiveText,fontSize:"1.1rem",height:"2.6rem",padding:"0.3rem 1rem"},"& .MuiInputBase-input.Mui-disabled":{color:`${e.palette.primary.notifyTextColor} !important`,cursor:"not-allowed","-webkit-text-fill-color":`${e.palette.primary.notifyTextColor} !important`,opacity:1},"& .Mui-disabled":{color:`${e.palette.primary.notifyTextColor} !important`,overflow:"hidden",opacity:1},"& .Mui-disabled:before":{border:"none !important"},"& .MuiInputBase-input::placeholder":{color:e.palette.primary.notifyTextColor,fontSize:"1.1rem"},"& .MuiInputLabel-root":{paddingLeft:"0.5rem",backgroundColor:`${e.palette.primary.notifyBackground}!important`,color:e.palette.primary.notifyTextColor,fontSize:"1.1rem",top:"1.1rem",left:"1rem",transform:"none","&.Mui-focused":{color:e.palette.primary.notifyTextColor}},"& .MuiInputLabel-shrink":{top:"0",backgroundColor:`${e.palette.primary.notifyBackground}!important`,padding:"0 0.4rem",transform:"translateY(-50%) translateX(0rem)"},"& .MuiFormHelperText-root.Mui-error":{color:`${e.palette.brandColor.red} !important`,paddingLeft:"0.8rem",paddingTop:"0.2rem",fontSize:"0.9rem"},"& .MuiInputBase-input::placeholder":{color:e.palette.primary.notifyTextColor,opacity:1},"& .MuiFormLabel-asterisk":{color:`${e.palette.brandColor.red} !important`},"& input:-webkit-autofill":{WebkitBoxShadow:"0 0 0 10rem transparent inset !important",WebkitTextFillColor:`${e.palette.primary.notifyActiveText}!important`,caretColor:e.palette.primary.notifyActiveText,transition:"background-color 9999s ease-in-out 0s !important"},"& input:-webkit-autofill:hover ":{WebkitBoxShadow:"0 0 0 10rem transparent inset !important",WebkitTextFillColor:`${e.palette.primary.notifyActiveText}!important`}})),ls=({showBorder:e=!0,inputProps:t,slotProps:n,sx:r,...o})=>{const s={style:{cursor:o?.disabled?"not-allowed":"pointer"},title:"",...t||{},...n?.htmlInput||{}};return f.jsx(At,{children:f.jsx(m3,{variant:"outlined",slotProps:{...n,htmlInput:s},sx:[{"& .MuiFormLabel-asterisk.MuiInputLabel-asterisk":{"&::after":{content:'""',marginLeft:"4px",color:"red"}},cursor:o?.disabled?"not-allowed":"pointer",opacity:o?.disabled?.5:1,...!e&&{"& .MuiOutlinedInput-root":{borderRadius:0,"& fieldset":{borderColor:"transparent"},"&:hover fieldset":{borderColor:"transparent"},"&.Mui-focused fieldset":{borderColor:"transparent",borderWidth:"0.15rem"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&.Mui-focused, &:focus-within":{boxShadow:`${Us} !important`}}},...o.styles},...Array.isArray(r)?r:r?[r]:[]],...o})})},Oi=e=>{const t=localStorage.getItem(e);return t?JSON.parse(t):""},g3=(e,t)=>{const n=new Date,r=new Date(e);let o=n-r;o<0&&(o=0);const s=Math.floor(o/1e3),i=Math.floor(s/60);return s<60?`${s} ${t("LABEL_SEC_AGO")}`:i<60?`${i} ${t("LABEL_MIN_AGO")}`:r.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0})},Di=e=>e.sort((n,r)=>{let o=new Date(n.createdAt),s=new Date(r.createdAt);return o===s?0:o>s?-1:1}).sort((n,r)=>n.isRead===r.isRead?0:r.isRead?-1:1),_u=e=>{let t=0;for(let n=0;n<e?.length;n++)e[n].isRead||t++;return t},y3=e=>{const t=[];return e?.forEach(n=>{n.isRead||t.push(n.id)}),t},C3=(e,t,n)=>e?.filter(o=>t.some(s=>o[s]?.toLowerCase()?.includes(n?.trim()?.toLowerCase()))),b3=(e,t,n)=>e?.sort((o,s)=>n==="asc"?o[t].toLowerCase().localeCompare(s[t].toLowerCase()):s[t].toLowerCase().localeCompare(o[t].toLowerCase())),ga=(e,t,n)=>e?.slice((t-1)*n,t*n),v3=e=>{const t=e?.reduce((r,o)=>{const s=new Date(o?.createdAt),i=new Intl.DateTimeFormat("en-US",{day:"numeric",month:"long",year:"numeric"}).format(s);return r[i]||(r[i]=[]),r[i].push(o),r},{});return Object.fromEntries(Object.entries(t).sort(([r],[o])=>new Date(o)-new Date(r)))},x3=(e,t)=>{if(!Array.isArray(e))return[];const n=t?.toLowerCase?.().trim();if(!n)return e;const r=o=>o.map(s=>{const i=s?.label?.toLowerCase?.().includes(n);let a=[];return Array.isArray(s.children)&&(a=r(s.children)),i||a.length>0?{...s,children:a.length>0?a:s.children}:null}).filter(Boolean);return r(e)};async function w3(e){switch(e.split("-")[0]){case"tr":return(await Promise.resolve().then(()=>AC)).tr;case"nl":return(await Promise.resolve().then(()=>tC)).nl;case"ko":return(await Promise.resolve().then(()=>My)).ko;default:return(await Promise.resolve().then(()=>v9)).enUS}}function Bu(e){if(typeof e=="number")return e;if(typeof e=="string"){const t=e.trim();if(t.endsWith("px"))return parseFloat(t);if(t.endsWith("rem")){const r=parseFloat(t),o=typeof window<"u"?parseFloat(getComputedStyle(document.documentElement).fontSize):16;return r*o}const n=parseFloat(t);return isNaN(n)?0:n}return 0}const Re={LOADING:"LOADING",SUCCESS:"SUCCESS",ERROR:"ERROR",MARK_ALL_AS_READ:"MARK_ALL_AS_READ",SET_GRID_DATA:"SET_GRID_DATA",PREV_GRID_DEF:"PREV_GRID_DEF",HAS_SETTING_CHANGE:"HAS_SETTING_CHANGE",TRIGGER_API:"TRIGGER_API",SET_MODE:"SET_MODE",SET_ACTIVE_TAB:"SET_ACTIVE_TAB"},_n={SWR:"SWR",UNHANDLED:"UNHANDLED",NRF:"NRF"},cs=p.createContext(null),lo=p.createContext(null);function Nu({children:e}){const[t,n]=p.useReducer(S3,k3);return f.jsx(cs.Provider,{value:t,children:f.jsx(lo.Provider,{value:n,children:f.jsx(At,{children:e})})})}function S3(e,t){switch(t.type){case Re.SET_GRID_DATA:case Re.HAS_SETTING_CHANGE:case Re.TRIGGER_API:case Re.PREV_GRID_DEF:return{...e,...t.payload};default:throw new Error(`${_n.UNHANDLED}: ${t}`)}}const k3={visibleGridColumns:[],prevGridColumns:{},hasChange:!1,triggerApi:!1};Nu.propTypes={children:y.node.isRequired};const T3=({options:e,isDraggable:t})=>{const n=p.useRef(null),[r,o]=p.useState(!1),[s,i]=p.useState(null),[a,l]=p.useState(e),[c,u]=p.useState(!1),d=t?p.useContext(lo):null,{hasChange:h,visibleGridColumns:m}=t?p.useContext(cs):{hasChange:!1,visibleGridColumns:[]};p.useEffect(()=>{l(e?.sort((k,w)=>k.sequenceId-w.sequenceId))},[e]);const g=k=>{t&&i(k)},C=k=>{t&&k.preventDefault()},b=k=>{if(!t||s===null||s===k)return;const w=[...a],x=w.findIndex(I=>I.sequenceId===k),T=w.findIndex(I=>I.sequenceId===s);if(x===-1||T===-1)console.warn("Invalid drag or drop index",{toInsertAtIndex:x,draggedIndex:s});else{const[I]=w.splice(T,1);w.splice(x,0,I)}const M=a.slice().sort((I,P)=>I.sequenceId-P.sequenceId).map(I=>I.sequenceId),A=w.map((I,P)=>({...I,sequenceId:M[P]??I.sequenceId}));l(A),d?.({type:Re.SET_GRID_DATA,payload:{visibleGridColumns:A}}),d?.({type:Re.HAS_SETTING_CHANGE,payload:{hasChange:!0}}),i(null)},v=()=>{t&&h&&d?.({type:Re.TRIGGER_API,payload:{triggerApi:!0}})};return p.useEffect(()=>{if(n.current){const k=n.current.getBoundingClientRect(),w=window.innerHeight-k.bottom;u(w<200)}},[r]),{hasChange:h,closeDropdown:v,handleDragStart:g,handleDragOver:C,handleDrop:b}},Nt=p.createContext({t:e=>e}),co=({isDraggable:e=!1,showSearch:t=!1,options:n=[],value:r,isMulti:o=!1,selectAll:s=!1,selectOnClose:i=!1,isManageColumn:a,isLoadingMore:l=!1,handleLoadMore:c,handleSearchFuncation:u,...d})=>{const{t:h}=p.useContext(Nt),[m,g]=p.useState(!1),[C,b]=p.useState(null),[v,k]=p.useState(""),[w,x]=p.useState([]),[T,M]=p.useState("bottom-start"),[A,I]=p.useState([]),[P,R]=p.useState(null),[W,S]=p.useState(!1),j=p.useRef(null),_=p.useRef(null),N=p.useRef(null),U=p.useRef(!1),se=p.useRef(null),ue=p.useRef(null),B=p.useRef(null),E=p.useRef(null),D=p.useRef({term:"",timer:null}),[L,$]=p.useState(0),[Y,re]=p.useState(()=>new Set),he=p.useRef([]),oe=p.useId(),{closeDropdown:X,hasChange:te,handleDragStart:ie,handleDrop:Q}=T3({options:n,isDraggable:e});p.useEffect(()=>{x(n)},[n]),p.useEffect(()=>{const V=w?.filter(ee=>!ee?.isMandatory||ee?.isMandatory&&ee?.showHide===!0);I(V)},[w]);const q=V=>(V?.children||[]).filter(ee=>!ee?.isMandatory||ee?.isMandatory&&ee?.showHide===!0&&ee?.showInHierarchy),xe=(V,ee)=>String(V?.id??V?.key??`idx-${ee}`),ke=!!(o&&s&&A?.length),ve=ke?-1:0,ae=p.useMemo(()=>{const V=[];return(A||[]).forEach((ee,it)=>{if(ee?.isMandatory&&ee?.showHide!==!0)return;const Se=`${it}`,Ge=xe(ee,it),_e=q(ee);V.push({rowKey:Se,parentKey:Ge,option:ee,parent:null,level:1,hasChildren:_e.length>0,selectable:!!(ee?.showCheckbox||!ee?.children?.length),disabled:!!ee?.disabled}),_e.length&&!Y.has(Ge)&&_e.forEach((le,Ie)=>{V.push({rowKey:`${it}-${Ie}`,parentRowKey:Se,option:le,parent:ee,level:2,hasChildren:!1,selectable:!0,disabled:!!le?.disabled})})}),V},[A,Y]),je=p.useMemo(()=>{const V=new Map;return ae.forEach((ee,it)=>V.set(ee.rowKey,it)),V},[ae]),de=V=>!Y.has(V),We=(V,ee)=>{re(it=>{const Se=new Set(it);return ee?Se.delete(V):Se.add(V),Se})},He=p.useCallback(()=>{E.current?.focus?.()},[]),dt=(V,ee,it=!1)=>{if(!o){d?.onChange?.(V),g(!1),$(ve),it&&He();return}let Se=JSON.parse(JSON.stringify(r));if(!V)Se=n.length===r.length?[]:n.map(_e=>({..._e}));else if(ee)if(a)Se=Se.map(Ge=>{if(!Ge.children)return Ge;let _e=Ge?.children?.length?[...Ge?.children]:[];return _e.findIndex(Ie=>Ie.key===V.key)>-1?_e=_e.filter(Ie=>Ie.key!==V.key):_e=[..._e,V],{...Ge,children:_e}});else{const Ge=ee?.id,_e=V?.id,le=V?.key,Ie=Se.findIndex(Ce=>Ce.id===Ge);if(Ie>-1){const Ce=Se[Ie],Me=Ce.children||[],Fe=Me.some(zn=>zn.id===_e&&zn.key===le)?Me.filter(zn=>!(zn.id===_e&&zn.key===le)):[...Me,V];Se[Ie]={...Ce,children:Fe}}else Se.push({id:Ge,label:ee?.label,value:ee?.value,children:[V]})}else Se=Se.some(_e=>_e.id===V.id)?Se.filter(_e=>_e.id!==V.id):[...Se,{...V}];b(Se),d?.onChange?.(Se)},ge=p.useMemo(()=>O.debounce(async V=>{if(l)try{return await u(V)}catch(ee){console.error("Search API Error",ee);return}},1e3),[]);p.useEffect(()=>{ge(v)},[v]),p.useEffect(()=>{const V=x3(n,v);x(V)},[v,n]);const ne=V=>{k(V.target.value)};p.useEffect(()=>{const V=ee=>{N.current&&!N.current.contains(ee.target)&&!j.current?.contains(ee.target)&&!_.current?.contains(ee.target)&&(g(!1),$(0),k(""),X(),i&&d?.onChange?.(C,"closed"),U.current=!0,setTimeout(()=>{U.current=!1},150))};return document.addEventListener("mousedown",V),()=>document.removeEventListener("mousedown",V)},[m,te,C]),p.useEffect(()=>{$(V=>{if(V<ve)return ve;const ee=ae.length-1;return V>ee?Math.max(ve,ee):V})},[ae.length,ve]),p.useEffect(()=>{m||(re(V=>V.size?new Set:V),D.current.term="")},[m]),p.useEffect(()=>()=>clearTimeout(D.current.timer),[]),p.useEffect(()=>{if(!m)return;const V=L===-1?B.current:he.current[L];V?.scrollIntoView&&V.scrollIntoView({block:"nearest",behavior:"smooth"})},[L,m,ae.length]),p.useEffect(()=>{if(m&&!t){const V=setTimeout(()=>{se.current&&se.current.focus()},0);return()=>clearTimeout(V)}},[m,t]),p.useEffect(()=>{if(!m||typeof c!="function")return;const V=setTimeout(()=>{const ee=se.current;let it=!1;if(!ee)return;const Se=async()=>{const Ge=ee.scrollHeight-ee.scrollTop<=ee.clientHeight+1;if(l&&Ge&&!it){it=!0;try{S(!0);const _e=await c();R(_e?.data),_e&&S(!1)}catch(_e){console.error("Error loading more options:",_e),S(!1)}}};return ee.addEventListener("scroll",Se),()=>ee.removeEventListener("scroll",Se)},100);return()=>clearTimeout(V)},[m,P]);const fe=()=>{g(!1),$(ve),k(""),X(),i&&d?.onChange?.(C,"closed")},De=V=>{g(!0),$(V)},Le=V=>{const ee=D.current;if(ee.term+=V.toLowerCase(),clearTimeout(ee.timer),ee.timer=setTimeout(()=>{ee.term=""},700),!ae.length)return;const it=ee.term,Se=L<0?0:L,Ge=[];it.length>1&&Ge.push(Se);for(let le=1;le<=ae.length;le+=1)Ge.push((Se+le)%ae.length);const _e=Ge.find(le=>String(ae[le]?.option?.label??"").toLowerCase().startsWith(it));_e!==void 0&&$(_e)},Ve=V=>{if(!(!V||V.disabled)&&!(V.level===1&&V.hasChildren&&!V.selectable)){if(V.level===2){dt(V.option,V.parent,!0);return}V.selectable&&dt(V.option,void 0,!0)}},st=V=>{const ee=t&&V.target===ue.current,it=ae.length-1,Se=L>=0?ae[L]:null;switch(V.key){case"ArrowDown":if(V.preventDefault(),V.stopPropagation(),it<0)return;$(_e=>Math.min(_e+1,it));return;case"ArrowUp":V.preventDefault(),V.stopPropagation(),$(_e=>Math.max(_e-1,ve));return;case"Home":if(ee)return;V.preventDefault(),V.stopPropagation(),$(ve);return;case"End":if(ee)return;V.preventDefault(),V.stopPropagation(),$(Math.max(ve,it));return;case"ArrowRight":if(ee||!Se||(V.preventDefault(),V.stopPropagation(),!Se.hasChildren))return;de(Se.parentKey)?ae[L+1]?.level===2&&$(L+1):We(Se.parentKey,!0);return;case"ArrowLeft":{if(ee||!Se)return;if(V.preventDefault(),V.stopPropagation(),Se.level===2){const _e=je.get(Se.parentRowKey);_e!==void 0&&$(_e)}else Se.hasChildren&&de(Se.parentKey)&&We(Se.parentKey,!1);return}case" ":case"Spacebar":case"Enter":if(ee&&V.key!=="Enter")return;if(V.preventDefault(),V.stopPropagation(),L===-1){ke&&dt();return}Ve(Se);return;case"Escape":V.preventDefault(),V.stopPropagation(),fe(),He();return;case"Tab":V.stopPropagation(),He(),fe();return}!ee&&V.key.length===1&&!V.ctrlKey&&!V.metaKey&&!V.altKey&&/\S/.test(V.key)&&(V.preventDefault(),V.stopPropagation(),Le(V.key))},kt=V=>{if(!d?.disabled){if(V.key==="ArrowDown"){V.preventDefault(),V.stopPropagation(),m||De(ve);return}if(V.key==="ArrowUp"){V.preventDefault(),V.stopPropagation(),m||De(Math.max(ve,ae.length-1));return}if(V.key==="Escape"){if(!m)return;V.preventDefault(),V.stopPropagation(),fe();return}V.key!=="Tab"&&(V.preventDefault(),(V.key==="Enter"||V.key===" "||V.key==="Spacebar")&&(V.stopPropagation(),m?fe():De(ve)))}},ct=d?.placeholder||d?.label,$e=ct?h(ct)||ct:void 0,qt=m?L===-1?ke?`${oe}-opt-all`:void 0:ae[L]?`${oe}-opt-${L}`:void 0:void 0;return f.jsxs(f.Fragment,{children:[f.jsx(O.Box,{ref:_,sx:{position:"relative",display:"inline-block",width:"100%"},children:f.jsx(ls,{InputLabelProps:{shrink:r?.length&&!d?.placeholder},InputProps:{endAdornment:f.jsx(O.InputAdornment,{position:"start",children:f.jsx(O.Stack,{direction:"row",alignItems:"center",gap:"0.5rem",sx:{cursor:d?.disabled?"not-allowed":"pointer"},children:f.jsx(O.Box,{component:"img",src:m?Te.ArrowSelectDown:Te.ArrowSelectUp})})}),startAdornment:d?.styles?.icon&&f.jsx(O.InputAdornment,{position:"start",sx:{pl:1,cursor:d?.disabled?"not-allowed":"pointer"},children:f.jsx(Ct,{url:d?.styles?.icon})})},sx:{opacity:d?.disabled?.5:1,"& .MuiOutlinedInput-root":{borderBottomLeftRadius:m&&T.startsWith("bottom")?0:"0.7rem",borderBottomRightRadius:m&&T.startsWith("bottom")?0:"0.7rem",borderTopLeftRadius:m&&T.startsWith("top")?0:"0.7rem",borderTopRightRadius:m&&T.startsWith("top")?0:"0.7rem",...d?.styles?.fixHeight&&{maxHeight:d?.styles?.fixHeight}},"& .MuiInputBase-input":{caretColor:"transparent",userSelect:"none",color:V=>`${d?.placeholder?V.palette.primary.notifyTextColor:V.palette.primary.notifyActiveText}!important`},"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:V=>`${V.palette.primary.notifyBorderColor}!important`,borderWidth:"1px"},"& .MuiOutlinedInput-root.Mui-focused":{boxShadow:Ho}},onKeyDown:kt,onMouseDown:V=>V.preventDefault(),onClick:V=>{d?.disabled||(V.preventDefault(),X(),i&&d?.onChange?.(C,"closed"),!U.current&&(g(ee=>!ee),m&&$(0)))},...d?.placeholder?{}:{value:Array.isArray(r)?Array.isArray(n)&&r.length===n.length&&n.length?h("LABEL_ALL_SELECTED",{count:n.length}):r.map(V=>V?.label).filter(Boolean).join(", "):r?.label||r||""},label:h(d?.label),...d,inputProps:{readOnly:!0,tabIndex:0,inputMode:"none",style:{cursor:d?.disabled?"not-allowed":"pointer"},...d?.inputProps||{},role:"combobox","aria-haspopup":"listbox","aria-expanded":m,"aria-controls":m?oe:void 0,"aria-activedescendant":qt,...$e?{"aria-label":$e}:{}},inputRef:V=>{E.current=V;const ee=d?.inputRef;typeof ee=="function"?ee(V):ee&&(ee.current=V)}})}),f.jsx(O.Popper,{open:m,anchorEl:_.current,placement:"bottom-start",style:{zIndex:99999},ref:N,autoFocus:!0,tabIndex:0,modifiers:[{name:"offset",options:{offset:[0,0]}},{name:"updatePlacement",enabled:!0,phase:"afterWrite",fn({state:V}){M(V.placement)}}],children:f.jsxs(O.Box,{role:"listbox",tabIndex:-1,id:oe,"aria-multiselectable":o||void 0,"aria-label":$e,"aria-activedescendant":t?void 0:qt,ref:se,onDragStart:V=>V.preventDefault(),sx:{userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",background:V=>V.palette.primary.appBackground,border:V=>`1px solid ${V.palette.primary.notifyBorderColor}`,borderTop:"none",borderRadius:T.startsWith("bottom")?"0 0 0.7rem 0.7rem":"0.7rem 0.7rem 0 0",width:_.current?.offsetWidth||"auto",maxHeight:"20rem",overflowY:"auto",outline:"none",scrollbarWidth:"thin"},onKeyDown:st,children:[t&&f.jsx(ls,{inputRef:ue,type:"text",placeholder:h("SEARCH"),value:v,variant:"standard",autoFocus:!0,size:"small",draggable:!1,InputProps:{readOnly:!1,disableUnderline:!0,tabIndex:0,inputMode:"none"},inputProps:{autoComplete:"off","aria-controls":oe,"aria-activedescendant":qt},onChange:ne,sx:{position:"sticky",top:0,zIndex:1,backgroundColor:V=>V.palette.primary.appBackground,fontSize:"1.1rem",borderBottom:V=>`1px solid ${V.palette.primary.notifyBorderColor}`,"& .MuiInputBase-input":{padding:"0.3rem 1.3rem!important"}}}),A?.length>0?f.jsxs(f.Fragment,{children:[o&&s&&f.jsx(O.List,{ref:B,autoFocus:!0,tabIndex:0,id:`${oe}-opt-all`,role:"option","aria-selected":n?.length>0&&r?.length===n?.length,sx:{padding:"0.8rem 1.2rem",cursor:"pointer",...L===-1&&Gs()},onClick:V=>{V.stopPropagation(),dt()},children:f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"1rem",children:[f.jsx(Rn,{sx:{p:0},draggable:!1,checked:n?.length>0&&r?.length===n?.length}),f.jsx(O.Typography,{component:"h3",sx:{color:V=>V.palette.primary.notifyTextColor,fontSize:"1.1rem"},children:h("LABEL_SELECT_ALL")})]})}),A.map((V,ee)=>{if(V?.isMandatory&&V?.showHide!==!0)return null;const it=xe(V,ee),Se=je.get(`${ee}`),Ge=q(V),_e=Ge.length>0&&de(it);return f.jsxs(p.Fragment,{children:[f.jsx(O.List,{"data-option-index":ee,autoFocus:!0,id:Se!==void 0?`${oe}-opt-${Se}`:void 0,role:"option","aria-selected":Array.isArray(r)?r.some(le=>le?.id===V?.id):r?.id===V?.id,"aria-disabled":V?.disabled||void 0,...Ge.length?{"aria-expanded":_e}:{},ref:le=>{Se!==void 0&&(he.current[Se]=le)},sx:{opacity:V?.isMandatory&&!V?.showHide||V?.disabled?.5:1,cursor:"pointer",pointerEvents:V?.disabled?"none":"auto",padding:"0.8rem 1.2rem",borderTop:ee!==0||s?le=>`0.1rem solid ${le.palette.primary.notifyBorderColor}`:"none",...Se===L&&Gs()},draggable:!1,onDragStart:V?.isMandatory?le=>{le.preventDefault()}:()=>ie(V?.sequenceId),onDragOver:le=>{V?.isMandatory||le.preventDefault()},onDrop:le=>{V?.isMandatory?le.preventDefault():Q(V?.sequenceId)},onClick:le=>{le.stopPropagation(),(!V?.isMandatory||V?.isMandatory&&V?.showHide===!0)&&(V?.showCheckbox||!V?.children?.length)&&dt(V)},children:f.jsx(O.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:"1rem",width:"100%",draggable:!1,children:f.jsxs(O.Stack,{draggable:!1,direction:"row",alignItems:"center",gap:"1rem",sx:{minWidth:0,flex:1},children:[o&&(!V?.children?.length||V?.showCheckbox)&&f.jsx(Rn,{draggable:!1,sx:{p:0},checked:r?.some(le=>le.id===V.id)}),f.jsx(O.Typography,{draggable:!1,component:"h3",noWrap:!0,sx:{color:le=>V?.children?.length&&!V?.showCheckbox&&!V.showInHierarchy?le.palette.primary.notifyActiveText:le.palette.primary.notifyTextColor,fontWeight:V?.children?.length&&!V?.showCheckbox?"500":"300",fontSize:"1.1rem",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:1},children:V.label})]})})}),_e&&Ge.map((le,Ie)=>{const Ce=je.get(`${ee}-${Ie}`);return f.jsx(O.List,{"data-option-index":Ie,autoFocus:!0,id:Ce!==void 0?`${oe}-opt-${Ce}`:void 0,role:"option","aria-selected":Array.isArray(r)?r.some(Me=>Me?.children?.some(Tt=>Tt?.id===le?.id)):!1,"aria-disabled":le?.disabled||void 0,ref:Me=>{Ce!==void 0&&(he.current[Ce]=Me)},sx:{cursor:"pointer",opacity:le?.disabled?.5:1,pointerEvents:le?.disabled?"none":"auto",padding:"0.8rem 1.2rem",pl:"1.5rem",borderTop:Me=>`0.1rem solid ${Me.palette.primary.notifyBorderColor}`,...Ce===L&&Gs()},draggable:!1,onDragStart:()=>ie(ee,Ie),onDragOver:Me=>{le?.isMandatory||Me.preventDefault()},onDrop:Me=>{le?.isMandatory||Q(ee,Ie)},onClick:Me=>{Me.stopPropagation(),dt(le,V)},children:f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"1rem",children:[o&&V?.showChildCheckbox&&f.jsx(Rn,{sx:{p:0},checked:r.some(Me=>Me.children?.some(Tt=>Tt.id===le.id))}),f.jsx(O.Typography,{component:"h4",sx:{color:Me=>Me.palette.primary.notifyTextColor,fontSize:"1.05rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:le.label})]})},`${ee}-${Ie}`)})]},ee)}),W&&f.jsx(O.CircularProgress,{sx:{color:"blue"},size:45})]}):f.jsx(O.Box,{autoFocus:!0,sx:{display:"flex",justifyContent:"center",alignItems:"center",padding:"0.1rem 1rem",height:"3rem"},children:f.jsx(O.Typography,{component:"h3",sx:{color:V=>V.palette.primary.notifyTextColor,fontSize:"1.1rem"},children:h("NO_OPTIONS")})})]})})]})};function $u({...e}){return f.jsx(At,{children:f.jsx(co,{...e})})}const E3=O.styled(O.Box)(({theme:e,height:t})=>({borderRadius:"0.4rem",position:"relative",background:e.palette.primary.notifyButtonBackground,display:"flex",height:t||"2.5rem"})),M3=O.styled(O.Box)(({theme:e})=>({borderRadius:"0.4rem",position:"absolute",background:e.palette.primary.notifyBackground,border:`0.1rem solid ${e.palette.primary.notifyBorderColor}`,transition:"all 0.5s ease"})),Fu=O.styled(O.Button)(({theme:e})=>({borderRadius:"0.4rem",fontWeight:"400",transition:"all 0.2s 0.1s ease",padding:"0.4rem 0.8rem",fontSize:"1rem",textTransform:"none",zIndex:1,"&:hover":{background:"transparent",boxShadow:"none"}})),O3=({isChartType:e,setIsChartType:t,leftSwitchText:n,rigthSwitchText:r,disabled:o,height:s})=>{const[i,a]=p.useState(0),[l,c]=p.useState(0),{t:u}=p.useContext(Nt),d=p.useRef(null),h=p.useRef(null);return p.useLayoutEffect(()=>{if(!d.current||!h.current)return;const m=()=>{const C=e?h.current:d.current;a(C.offsetWidth),c(C.offsetLeft)};m();const g=new ResizeObserver(m);return g.observe(d.current),g.observe(h.current),()=>g.disconnect()},[e]),f.jsx(O.Box,{sx:{display:"flex"},children:f.jsxs(E3,{height:s,children:[f.jsx(M3,{sx:{width:i,transform:`translateX(${l}px)`,height:s||"2.5rem"}}),f.jsx(Fu,{ref:d,disableRipple:!0,sx:m=>({opacity:o?.5:1,cursor:`${o?"not-allowed":"pointer"}!important`,color:e?m.palette.brandColor.grey1:m.palette.primary.notifyActiveText}),onClick:()=>o?null:t(!1),children:u(n)}),f.jsx(Fu,{ref:h,disableRipple:!0,sx:m=>({opacity:o?.5:1,cursor:`${o?"not-allowed":"pointer"}!important`,color:e?m.palette.primary.notifyActiveText:m.palette.brandColor.grey1}),onClick:()=>o?null:t(!0),children:u(r)})]})})};function Vu({...e}){return f.jsx(At,{children:f.jsx(O3,{...e})})}const Wu=6048e5,D3=864e5,zu=Symbol.for("constructDateFrom");function Mt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&zu in e?e[zu](t):e instanceof Date?new e.constructor(t):new Date(t)}function nt(e,t){return Mt(t||e,e)}function Hu(e,t,n){const r=nt(e,n?.in);return isNaN(t)?Mt(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Uu(e,t,n){const r=nt(e,n?.in);if(isNaN(t))return Mt(e,NaN);if(!t)return r;const o=r.getDate(),s=Mt(e,r.getTime());s.setMonth(r.getMonth()+t+1,0);const i=s.getDate();return o>=i?s:(r.setFullYear(s.getFullYear(),s.getMonth(),o),r)}let A3={};function us(){return A3}function uo(e,t){const n=us(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=nt(e,t?.in),s=o.getDay(),i=(s<r?7:0)+s-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function ds(e,t){return uo(e,{...t,weekStartsOn:1})}function Gu(e,t){const n=nt(e,t?.in),r=n.getFullYear(),o=Mt(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const s=ds(o),i=Mt(n,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);const a=ds(i);return n.getTime()>=s.getTime()?r+1:n.getTime()>=a.getTime()?r:r-1}function Yu(e){const t=nt(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function fo(e,...t){const n=Mt.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function fs(e,t){const n=nt(e,t?.in);return n.setHours(0,0,0,0),n}function ya(e,t,n){const[r,o]=fo(n?.in,e,t),s=fs(r),i=fs(o),a=+s-Yu(s),l=+i-Yu(i);return Math.round((a-l)/D3)}function I3(e,t){const n=Gu(e,t),r=Mt(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),ds(r)}function P3(e,t,n){return Hu(e,t*7,n)}function L3(e,t,n){return Uu(e,t*12,n)}function j3(e,t){let n,r=t?.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=Mt.bind(null,o));const s=nt(o,r);(!n||n<s||isNaN(+s))&&(n=s)}),Mt(r,n||NaN)}function R3(e,t){let n,r=t?.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=Mt.bind(null,o));const s=nt(o,r);(!n||n>s||isNaN(+s))&&(n=s)}),Mt(r,n||NaN)}function _3(e,t,n){const[r,o]=fo(n?.in,e,t);return+fs(r)==+fs(o)}function qu(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function B3(e){return!(!qu(e)&&typeof e!="number"||isNaN(+nt(e)))}function Ku(e,t,n){const[r,o]=fo(n?.in,e,t),s=r.getFullYear()-o.getFullYear(),i=r.getMonth()-o.getMonth();return s*12+i}function N3(e,t){const n=nt(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Zu(e,t){const[n,r]=fo(e,t.start,t.end);return{start:n,end:r}}function $3(e,t){const{start:n,end:r}=Zu(t?.in,e);let o=+n>+r;const s=o?+n:+r,i=o?r:n;i.setHours(0,0,0,0),i.setDate(1);let a=1;const l=[];for(;+i<=s;)l.push(Mt(n,i)),i.setMonth(i.getMonth()+a);return o?l.reverse():l}function F3(e,t){const n=nt(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function V3(e,t){const n=nt(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function Xu(e,t){const n=nt(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function W3(e,t){const{start:n,end:r}=Zu(t?.in,e);let o=+n>+r;const s=o?+n:+r,i=o?r:n;i.setHours(0,0,0,0),i.setMonth(0,1);let a=1;const l=[];for(;+i<=s;)l.push(Mt(n,i)),i.setFullYear(i.getFullYear()+a);return o?l.reverse():l}function Ju(e,t){const n=us(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=nt(e,t?.in),s=o.getDay(),i=(s<r?-7:0)+6-(s-r);return o.setDate(o.getDate()+i),o.setHours(23,59,59,999),o}function z3(e,t){return Ju(e,{...t,weekStartsOn:1})}const H3={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},U3=(e,t,n)=>{let r;const o=H3[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function pn(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const G3={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Y3={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},q3={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},K3={date:pn({formats:G3,defaultWidth:"full"}),time:pn({formats:Y3,defaultWidth:"full"}),dateTime:pn({formats:q3,defaultWidth:"full"})},Z3={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},X3=(e,t,n,r)=>Z3[e];function Ot(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):i;o=e.formattingValues[a]||e.formattingValues[i]}else{const i=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;o=e.values[a]||e.values[i]}const s=e.argumentCallback?e.argumentCallback(t):t;return o[s]}}const J3={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Q3={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},e9={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},t9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},n9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},r9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},o9={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Ot({values:J3,defaultWidth:"wide"}),quarter:Ot({values:Q3,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ot({values:e9,defaultWidth:"wide"}),day:Ot({values:t9,defaultWidth:"wide"}),dayPeriod:Ot({values:n9,defaultWidth:"wide",formattingValues:r9,defaultFormattingWidth:"wide"})};function Dt(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(o);if(!s)return null;const i=s[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?i9(a,d=>d.test(i)):s9(a,d=>d.test(i));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(i.length);return{value:c,rest:u}}}function s9(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function i9(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Ai(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],s=t.match(e.parsePattern);if(!s)return null;let i=e.valueCallback?e.valueCallback(s[0]):s[0];i=n.valueCallback?n.valueCallback(i):i;const a=t.slice(o.length);return{value:i,rest:a}}}const a9=/^(\d+)(th|st|nd|rd)?/i,l9=/\d+/i,c9={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},u9={any:[/^b/i,/^(a|c)/i]},d9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},f9={any:[/1/i,/2/i,/3/i,/4/i]},p9={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},h9={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},m9={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},g9={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},y9={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},C9={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},b9={ordinalNumber:Ai({matchPattern:a9,parsePattern:l9,valueCallback:e=>parseInt(e,10)}),era:Dt({matchPatterns:c9,defaultMatchWidth:"wide",parsePatterns:u9,defaultParseWidth:"any"}),quarter:Dt({matchPatterns:d9,defaultMatchWidth:"wide",parsePatterns:f9,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Dt({matchPatterns:p9,defaultMatchWidth:"wide",parsePatterns:h9,defaultParseWidth:"any"}),day:Dt({matchPatterns:m9,defaultMatchWidth:"wide",parsePatterns:g9,defaultParseWidth:"any"}),dayPeriod:Dt({matchPatterns:y9,defaultMatchWidth:"any",parsePatterns:C9,defaultParseWidth:"any"})},dr={code:"en-US",formatDistance:U3,formatLong:K3,formatRelative:X3,localize:o9,match:b9,options:{weekStartsOn:0,firstWeekContainsDate:1}},v9=Object.freeze(Object.defineProperty({__proto__:null,enUS:dr},Symbol.toStringTag,{value:"Module"}));function x9(e,t){const n=nt(e,t?.in);return ya(n,Xu(n))+1}function Ca(e,t){const n=nt(e,t?.in),r=+ds(n)-+I3(n);return Math.round(r/Wu)+1}function Qu(e,t){const n=nt(e,t?.in),r=n.getFullYear(),o=us(),s=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=Mt(t?.in||e,0);i.setFullYear(r+1,0,s),i.setHours(0,0,0,0);const a=uo(i,t),l=Mt(t?.in||e,0);l.setFullYear(r,0,s),l.setHours(0,0,0,0);const c=uo(l,t);return+n>=+a?r+1:+n>=+c?r:r-1}function w9(e,t){const n=us(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=Qu(e,t),s=Mt(t?.in||e,0);return s.setFullYear(o,0,r),s.setHours(0,0,0,0),uo(s,t)}function ba(e,t){const n=nt(e,t?.in),r=+uo(n,t)-+w9(n,t);return Math.round(r/Wu)+1}function Ze(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const fr={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Ze(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Ze(n+1,2)},d(e,t){return Ze(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Ze(e.getHours()%12||12,t.length)},H(e,t){return Ze(e.getHours(),t.length)},m(e,t){return Ze(e.getMinutes(),t.length)},s(e,t){return Ze(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ze(o,t.length)}},po={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ed={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return fr.y(e,t)},Y:function(e,t,n,r){const o=Qu(e,r),s=o>0?o:1-o;if(t==="YY"){const i=s%100;return Ze(i,2)}return t==="Yo"?n.ordinalNumber(s,{unit:"year"}):Ze(s,t.length)},R:function(e,t){const n=Gu(e);return Ze(n,t.length)},u:function(e,t){const n=e.getFullYear();return Ze(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Ze(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Ze(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return fr.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Ze(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=ba(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):Ze(o,t.length)},I:function(e,t,n){const r=Ca(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Ze(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):fr.d(e,t)},D:function(e,t,n){const r=x9(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ze(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),s=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return Ze(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),s=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return Ze(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return Ze(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=po.noon:r===0?o=po.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=po.evening:r>=12?o=po.afternoon:r>=4?o=po.morning:o=po.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return fr.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):fr.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ze(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ze(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):fr.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):fr.s(e,t)},S:function(e,t){return fr.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return nd(r);case"XXXX":case"XX":return Or(r);default:return Or(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return nd(r);case"xxxx":case"xx":return Or(r);default:return Or(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+td(r,":");default:return"GMT"+Or(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+td(r,":");default:return"GMT"+Or(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return Ze(r,t.length)},T:function(e,t,n){return Ze(+e,t.length)}};function td(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),s=r%60;return s===0?n+String(o):n+String(o)+t+Ze(s,2)}function nd(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):Or(e,t)}function Or(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ze(Math.trunc(r/60),2),s=Ze(r%60,2);return n+o+t+s}const rd=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},od=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},S9={p:od,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return rd(e,t);let s;switch(r){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",rd(r,t)).replace("{{time}}",od(o,t))}},k9=/^D+$/,T9=/^Y+$/,E9=["D","DD","YY","YYYY"];function M9(e){return k9.test(e)}function O9(e){return T9.test(e)}function D9(e,t,n){const r=A9(e,t,n);if(console.warn(r),E9.includes(e))throw new RangeError(r)}function A9(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const I9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,P9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,L9=/^'([^]*?)'?$/,j9=/''/g,R9=/[a-zA-Z]/;function ho(e,t,n){const r=us(),o=n?.locale??r.locale??dr,s=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=nt(e,n?.in);if(!B3(a))throw new RangeError("Invalid time value");let l=t.match(P9).map(u=>{const d=u[0];if(d==="p"||d==="P"){const h=S9[d];return h(u,o.formatLong)}return u}).join("").match(I9).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const d=u[0];if(d==="'")return{isToken:!1,value:_9(u)};if(ed[d])return{isToken:!0,value:u};if(d.match(R9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+d+"`");return{isToken:!1,value:u}});o.localize.preprocessor&&(l=o.localize.preprocessor(a,l));const c={firstWeekContainsDate:s,weekStartsOn:i,locale:o};return l.map(u=>{if(!u.isToken)return u.value;const d=u.value;(!n?.useAdditionalWeekYearTokens&&O9(d)||!n?.useAdditionalDayOfYearTokens&&M9(d))&&D9(d,t,String(e));const h=ed[d[0]];return h(a,d,o.localize,c)}).join("")}function _9(e){const t=e.match(L9);return t?t[1].replace(j9,"'"):e}function B9(e,t){const n=nt(e,t?.in),r=n.getFullYear(),o=n.getMonth(),s=Mt(n,0);return s.setFullYear(r,o+1,0),s.setHours(0,0,0,0),s.getDate()}function N9(e,t){return nt(e,t?.in).getMonth()}function $9(e,t){return nt(e,t?.in).getFullYear()}function F9(e,t){return+nt(e)>+nt(t)}function V9(e,t){return+nt(e)<+nt(t)}function W9(e,t,n){const[r,o]=fo(n?.in,e,t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function z9(e,t,n){const[r,o]=fo(n?.in,e,t);return r.getFullYear()===o.getFullYear()}function H9(e,t,n){const r=nt(e,n?.in),o=r.getFullYear(),s=r.getDate(),i=Mt(e,0);i.setFullYear(o,t,15),i.setHours(0,0,0,0);const a=B9(i);return r.setMonth(t,Math.min(s,a)),r}function U9(e,t,n){const r=nt(e,n?.in);return isNaN(+r)?Mt(e,NaN):(r.setFullYear(t),r)}function G9(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}const Y9={},ps={};function Dr(e,t){try{const r=(Y9[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];return r in ps?ps[r]:sd(r,r.split(":"))}catch{if(e in ps)return ps[e];const n=e?.match(q9);return n?sd(e,n.slice(1)):NaN}}const q9=/([+-]\d\d):?(\d\d)?/;function sd(e,t){const n=+(t[0]||0),r=+(t[1]||0),o=+(t[2]||0)/60;return ps[e]=n*60+r>0?n*60+r+o:n*60-r-o}class Bn extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(Dr(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),ad(this),va(this)):this.setTime(Date.now())}static tz(t,...n){return n.length?new Bn(...n,t):new Bn(Date.now(),t)}withTimeZone(t){return new Bn(+this,t)}getTimezoneOffset(){const t=-Dr(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),va(this),+this}[Symbol.for("constructDateFrom")](t){return new Bn(+new Date(t),this.timeZone)}}const id=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!id.test(e))return;const t=e.replace(id,"$1UTC");Bn.prototype[t]&&(e.startsWith("get")?Bn.prototype[e]=function(){return this.internal[t]()}:(Bn.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),K9(this),+this},Bn.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),va(this),+this}))});function va(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-Dr(e.timeZone,e)*60))}function K9(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),ad(e)}function ad(e){const t=Dr(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);const o=-new Date(+e).getTimezoneOffset(),s=-new Date(+r).getTimezoneOffset(),i=o-s,a=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();i&&a&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+i);const l=o-n;l&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+l);const c=new Date(+e);c.setUTCSeconds(0);const u=o>0?c.getSeconds():(c.getSeconds()-60)%60,d=Math.round(-(Dr(e.timeZone,e)*60))%60;(d||u)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+d),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+d+u));const h=Dr(e.timeZone,e),m=h>0?Math.floor(h):Math.ceil(h),C=-new Date(+e).getTimezoneOffset()-m,b=m!==n,v=C-l;if(b&&v){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+v);const k=Dr(e.timeZone,e),w=k>0?Math.floor(k):Math.ceil(k),x=m-w;x&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+x),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+x))}}class $t extends Bn{static tz(t,...n){return n.length?new $t(...n,t):new $t(Date.now(),t)}toISOString(){const[t,n,r]=this.tzComponents(),o=`${t}${n}:${r}`;return this.internal.toISOString().slice(0,-1)+o}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[t,n,r,o]=this.internal.toUTCString().split(" ");return`${t?.slice(0,-1)} ${r} ${n} ${o}`}toTimeString(){const t=this.internal.toUTCString().split(" ")[4],[n,r,o]=this.tzComponents();return`${t} GMT${n}${r}${o} (${G9(this.timeZone,this)})`}toLocaleString(t,n){return Date.prototype.toLocaleString.call(this,t,{...n,timeZone:n?.timeZone||this.timeZone})}toLocaleDateString(t,n){return Date.prototype.toLocaleDateString.call(this,t,{...n,timeZone:n?.timeZone||this.timeZone})}toLocaleTimeString(t,n){return Date.prototype.toLocaleTimeString.call(this,t,{...n,timeZone:n?.timeZone||this.timeZone})}tzComponents(){const t=this.getTimezoneOffset(),n=t>0?"-":"+",r=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),o=String(Math.abs(t)%60).padStart(2,"0");return[n,r,o]}withTimeZone(t){return new $t(+this,t)}[Symbol.for("constructDateFrom")](t){return new $t(+new Date(t),this.timeZone)}}const ld=5,Z9=4;function X9(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,o=t.addDays(e,-r+1),s=t.addDays(o,ld*7-1);return t.getMonth(e)===t.getMonth(s)?ld:Z9}function cd(e,t){const n=t.startOfMonth(e),r=n.getDay();return r===1?n:r===0?t.addDays(n,-6):t.addDays(n,-1*(r-1))}function J9(e,t){const n=cd(e,t),r=X9(e,t);return t.addDays(n,r*7-1)}const Q9={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},ey=(e,t,n)=>{let r;const o=Q9[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?r+" 후":r+" 전":r},ty={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},ny={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},ry={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},oy={date:pn({formats:ty,defaultWidth:"full"}),time:pn({formats:ny,defaultWidth:"full"}),dateTime:pn({formats:ry,defaultWidth:"full"})},sy={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},iy=(e,t,n,r)=>sy[e],ay={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},ly={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},cy={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},uy={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},dy={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},fy={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},py={ordinalNumber:(e,t)=>{const n=Number(e);switch(String(t?.unit)){case"minute":case"second":return String(n);case"date":return n+"일";default:return n+"번째"}},era:Ot({values:ay,defaultWidth:"wide"}),quarter:Ot({values:ly,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ot({values:cy,defaultWidth:"wide"}),day:Ot({values:uy,defaultWidth:"wide"}),dayPeriod:Ot({values:dy,defaultWidth:"wide",formattingValues:fy,defaultFormattingWidth:"wide"})},hy=/^(\d+)(일|번째)?/i,my=/\d+/i,gy={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},yy={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},Cy={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},by={any:[/1/i,/2/i,/3/i,/4/i]},vy={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},xy={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},wy={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},Sy={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},ky={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},Ty={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},Ey={ordinalNumber:Ai({matchPattern:hy,parsePattern:my,valueCallback:e=>parseInt(e,10)}),era:Dt({matchPatterns:gy,defaultMatchWidth:"wide",parsePatterns:yy,defaultParseWidth:"any"}),quarter:Dt({matchPatterns:Cy,defaultMatchWidth:"wide",parsePatterns:by,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Dt({matchPatterns:vy,defaultMatchWidth:"wide",parsePatterns:xy,defaultParseWidth:"any"}),day:Dt({matchPatterns:wy,defaultMatchWidth:"wide",parsePatterns:Sy,defaultParseWidth:"any"}),dayPeriod:Dt({matchPatterns:ky,defaultMatchWidth:"any",parsePatterns:Ty,defaultParseWidth:"any"})},My=Object.freeze(Object.defineProperty({__proto__:null,ko:{code:"ko",formatDistance:ey,formatLong:oy,formatRelative:iy,localize:py,match:Ey,options:{weekStartsOn:0,firstWeekContainsDate:1}}},Symbol.toStringTag,{value:"Module"})),Oy={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},Dy=(e,t,n)=>{let r;const o=Oy[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"over "+r:r+" geleden":r},Ay={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},Iy={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Py={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ly={date:pn({formats:Ay,defaultWidth:"full"}),time:pn({formats:Iy,defaultWidth:"full"}),dateTime:pn({formats:Py,defaultWidth:"full"})},jy={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Ry=(e,t,n,r)=>jy[e],_y={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},By={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},Ny={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},$y={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},Fy={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},Vy={ordinalNumber:(e,t)=>Number(e)+"e",era:Ot({values:_y,defaultWidth:"wide"}),quarter:Ot({values:By,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ot({values:Ny,defaultWidth:"wide"}),day:Ot({values:$y,defaultWidth:"wide"}),dayPeriod:Ot({values:Fy,defaultWidth:"wide"})},Wy=/^(\d+)e?/i,zy=/\d+/i,Hy={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Uy={any:[/^v/,/^n/]},Gy={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},Yy={any:[/1/i,/2/i,/3/i,/4/i]},qy={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},Ky={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},Zy={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},Xy={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},Jy={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},Qy={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},eC={ordinalNumber:Ai({matchPattern:Wy,parsePattern:zy,valueCallback:e=>parseInt(e,10)}),era:Dt({matchPatterns:Hy,defaultMatchWidth:"wide",parsePatterns:Uy,defaultParseWidth:"any"}),quarter:Dt({matchPatterns:Gy,defaultMatchWidth:"wide",parsePatterns:Yy,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Dt({matchPatterns:qy,defaultMatchWidth:"wide",parsePatterns:Ky,defaultParseWidth:"any"}),day:Dt({matchPatterns:Zy,defaultMatchWidth:"wide",parsePatterns:Xy,defaultParseWidth:"any"}),dayPeriod:Dt({matchPatterns:Jy,defaultMatchWidth:"any",parsePatterns:Qy,defaultParseWidth:"any"})},tC=Object.freeze(Object.defineProperty({__proto__:null,nl:{code:"nl",formatDistance:Dy,formatLong:Ly,formatRelative:Ry,localize:Vy,match:eC,options:{weekStartsOn:1,firstWeekContainsDate:4}}},Symbol.toStringTag,{value:"Module"})),nC={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},rC=(e,t,n)=>{let r;const o=nC[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?r+" sonra":r+" önce":r},oC={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},sC={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},iC={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},aC={date:pn({formats:oC,defaultWidth:"full"}),time:pn({formats:sC,defaultWidth:"full"}),dateTime:pn({formats:iC,defaultWidth:"full"})},lC={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},cC=(e,t,n,r)=>lC[e],uC={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},dC={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},fC={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},pC={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},hC={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},mC={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},gC={ordinalNumber:(e,t)=>Number(e)+".",era:Ot({values:uC,defaultWidth:"wide"}),quarter:Ot({values:dC,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:Ot({values:fC,defaultWidth:"wide"}),day:Ot({values:pC,defaultWidth:"wide"}),dayPeriod:Ot({values:hC,defaultWidth:"wide",formattingValues:mC,defaultFormattingWidth:"wide"})},yC=/^(\d+)(\.)?/i,CC=/\d+/i,bC={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},vC={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},xC={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},wC={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},SC={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},kC={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},TC={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},EC={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},MC={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},OC={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},DC={ordinalNumber:Ai({matchPattern:yC,parsePattern:CC,valueCallback:function(e){return parseInt(e,10)}}),era:Dt({matchPatterns:bC,defaultMatchWidth:"wide",parsePatterns:vC,defaultParseWidth:"any"}),quarter:Dt({matchPatterns:xC,defaultMatchWidth:"wide",parsePatterns:wC,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Dt({matchPatterns:SC,defaultMatchWidth:"wide",parsePatterns:kC,defaultParseWidth:"any"}),day:Dt({matchPatterns:TC,defaultMatchWidth:"wide",parsePatterns:EC,defaultParseWidth:"any"}),dayPeriod:Dt({matchPatterns:MC,defaultMatchWidth:"any",parsePatterns:OC,defaultParseWidth:"any"})},AC=Object.freeze(Object.defineProperty({__proto__:null,tr:{code:"tr",formatDistance:rC,formatLong:aC,formatRelative:cC,localize:gC,match:DC,options:{weekStartsOn:1,firstWeekContainsDate:1}}},Symbol.toStringTag,{value:"Module"})),ud={...dr,labels:{labelDayButton:(e,t,n,r)=>{let o;r&&typeof r.format=="function"?o=r.format.bind(r):o=(i,a)=>ho(i,a,{locale:dr,...n});let s=o(e,"PPPP");return t.today&&(s=`Today, ${s}`),t.selected&&(s=`${s}, selected`),s},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(o,s)=>ho(o,s,{locale:dr,...t}),r(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let o;r&&typeof r.format=="function"?o=r.format.bind(r):o=(i,a)=>ho(i,a,{locale:dr,...n});let s=o(e,"PPPP");return t?.today&&(s=`Today, ${s}`),s},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(o,s)=>ho(o,s,{locale:dr,...t}),r(e,"cccc")}}};class rn{constructor(t,n){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?$t.tz(this.options.timeZone):new this.Date,this.newDate=(r,o,s)=>this.overrides?.newDate?this.overrides.newDate(r,o,s):this.options.timeZone?new $t(r,o,s,this.options.timeZone):new Date(r,o,s),this.addDays=(r,o)=>this.overrides?.addDays?this.overrides.addDays(r,o):Hu(r,o),this.addMonths=(r,o)=>this.overrides?.addMonths?this.overrides.addMonths(r,o):Uu(r,o),this.addWeeks=(r,o)=>this.overrides?.addWeeks?this.overrides.addWeeks(r,o):P3(r,o),this.addYears=(r,o)=>this.overrides?.addYears?this.overrides.addYears(r,o):L3(r,o),this.differenceInCalendarDays=(r,o)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,o):ya(r,o),this.differenceInCalendarMonths=(r,o)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,o):Ku(r,o),this.eachMonthOfInterval=r=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):$3(r),this.eachYearOfInterval=r=>{const o=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(r):W3(r),s=new Set(o.map(a=>this.getYear(a)));if(s.size===o.length)return o;const i=[];return s.forEach(a=>{i.push(new Date(a,0,1))}),i},this.endOfBroadcastWeek=r=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):J9(r,this),this.endOfISOWeek=r=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(r):z3(r),this.endOfMonth=r=>this.overrides?.endOfMonth?this.overrides.endOfMonth(r):N3(r),this.endOfWeek=(r,o)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(r,o):Ju(r,this.options),this.endOfYear=r=>this.overrides?.endOfYear?this.overrides.endOfYear(r):V3(r),this.format=(r,o,s)=>{const i=this.overrides?.format?this.overrides.format(r,o,this.options):ho(r,o,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(i):i},this.getISOWeek=r=>this.overrides?.getISOWeek?this.overrides.getISOWeek(r):Ca(r),this.getMonth=(r,o)=>this.overrides?.getMonth?this.overrides.getMonth(r,this.options):N9(r,this.options),this.getYear=(r,o)=>this.overrides?.getYear?this.overrides.getYear(r,this.options):$9(r,this.options),this.getWeek=(r,o)=>this.overrides?.getWeek?this.overrides.getWeek(r,this.options):ba(r,this.options),this.isAfter=(r,o)=>this.overrides?.isAfter?this.overrides.isAfter(r,o):F9(r,o),this.isBefore=(r,o)=>this.overrides?.isBefore?this.overrides.isBefore(r,o):V9(r,o),this.isDate=r=>this.overrides?.isDate?this.overrides.isDate(r):qu(r),this.isSameDay=(r,o)=>this.overrides?.isSameDay?this.overrides.isSameDay(r,o):_3(r,o),this.isSameMonth=(r,o)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(r,o):W9(r,o),this.isSameYear=(r,o)=>this.overrides?.isSameYear?this.overrides.isSameYear(r,o):z9(r,o),this.max=r=>this.overrides?.max?this.overrides.max(r):j3(r),this.min=r=>this.overrides?.min?this.overrides.min(r):R3(r),this.setMonth=(r,o)=>this.overrides?.setMonth?this.overrides.setMonth(r,o):H9(r,o),this.setYear=(r,o)=>this.overrides?.setYear?this.overrides.setYear(r,o):U9(r,o),this.startOfBroadcastWeek=(r,o)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):cd(r,this),this.startOfDay=r=>this.overrides?.startOfDay?this.overrides.startOfDay(r):fs(r),this.startOfISOWeek=r=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(r):ds(r),this.startOfMonth=r=>this.overrides?.startOfMonth?this.overrides.startOfMonth(r):F3(r),this.startOfWeek=(r,o)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(r,this.options):uo(r,this.options),this.startOfYear=r=>this.overrides?.startOfYear?this.overrides.startOfYear(r):Xu(r),this.options={locale:ud,...t},this.overrides=n}getDigitMap(){const{numerals:t="latn"}=this.options,n=new Intl.NumberFormat("en-US",{numberingSystem:t}),r={};for(let o=0;o<10;o++)r[o.toString()]=n.format(o);return r}replaceDigits(t){const n=this.getDigitMap();return t.replace(/\d/g,r=>n[r]||r)}formatNumber(t){return this.replaceDigits(t.toString())}getMonthYearOrder(){const t=this.options.locale?.code;return t&&rn.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(t){const{locale:n,timeZone:r,numerals:o}=this.options,s=n?.code;if(s&&rn.yearFirstLocales.has(s))try{return new Intl.DateTimeFormat(s,{month:"long",year:"numeric",timeZone:r,numberingSystem:o}).format(t)}catch{}const i=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,i)}}rn.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const Nn=new rn;class dd{constructor(t,n,r=Nn){this.date=t,this.displayMonth=n,this.outside=!!(n&&!r.isSameMonth(t,n)),this.dateLib=r,this.isoDate=r.format(t,"yyyy-MM-dd"),this.displayMonthId=r.format(n,"yyyy-MM"),this.dateMonthId=r.format(t,"yyyy-MM")}isEqualTo(t){return this.dateLib.isSameDay(t.date,this.date)&&this.dateLib.isSameMonth(t.displayMonth,this.displayMonth)}}class IC{constructor(t,n){this.date=t,this.weeks=n}}class PC{constructor(t,n){this.days=n,this.weekNumber=t}}function LC(e){return p.createElement("button",{...e})}function jC(e){return p.createElement("span",{...e})}function RC(e){const{size:t=24,orientation:n="left",className:r}=e;return p.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},n==="up"&&p.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),n==="down"&&p.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),n==="left"&&p.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),n==="right"&&p.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function _C(e){const{day:t,modifiers:n,...r}=e;return p.createElement("td",{...r})}function BC(e){const{day:t,modifiers:n,...r}=e,o=p.useRef(null);return p.useEffect(()=>{n.focused&&o.current?.focus()},[n.focused]),p.createElement("button",{ref:o,...r})}var Ee;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(Ee||(Ee={}));var mt;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(mt||(mt={}));var wn;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(wn||(wn={}));var on;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(on||(on={}));function NC(e){const{options:t,className:n,components:r,classNames:o,...s}=e,i=[o[Ee.Dropdown],n].join(" "),a=t?.find(({value:l})=>l===s.value);return p.createElement("span",{"data-disabled":s.disabled,className:o[Ee.DropdownRoot]},p.createElement(r.Select,{className:i,...s},t?.map(({value:l,label:c,disabled:u})=>p.createElement(r.Option,{key:l,value:l,disabled:u},c))),p.createElement("span",{className:o[Ee.CaptionLabel],"aria-hidden":!0},a?.label,p.createElement(r.Chevron,{orientation:"down",size:18,className:o[Ee.Chevron]})))}function $C(e){return p.createElement("div",{...e})}function FC(e){return p.createElement("div",{...e})}function VC(e){const{calendarMonth:t,displayIndex:n,...r}=e;return p.createElement("div",{...r},e.children)}function WC(e){const{calendarMonth:t,displayIndex:n,...r}=e;return p.createElement("div",{...r})}function zC(e){return p.createElement("table",{...e})}function HC(e){return p.createElement("div",{...e})}const fd=p.createContext(void 0);function hs(){const e=p.useContext(fd);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function UC(e){const{components:t}=hs();return p.createElement(t.Dropdown,{...e})}function GC(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:o,...s}=e,{components:i,classNames:a,labels:{labelPrevious:l,labelNext:c}}=hs(),u=p.useCallback(h=>{o&&n?.(h)},[o,n]),d=p.useCallback(h=>{r&&t?.(h)},[r,t]);return p.createElement("nav",{...s},p.createElement(i.PreviousMonthButton,{type:"button",className:a[Ee.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":l(r),onClick:d},p.createElement(i.Chevron,{disabled:r?void 0:!0,className:a[Ee.Chevron],orientation:"left"})),p.createElement(i.NextMonthButton,{type:"button",className:a[Ee.NextMonthButton],tabIndex:o?void 0:-1,"aria-disabled":o?void 0:!0,"aria-label":c(o),onClick:u},p.createElement(i.Chevron,{disabled:o?void 0:!0,orientation:"right",className:a[Ee.Chevron]})))}function YC(e){const{components:t}=hs();return p.createElement(t.Button,{...e})}function qC(e){return p.createElement("option",{...e})}function KC(e){const{components:t}=hs();return p.createElement(t.Button,{...e})}function ZC(e){const{rootRef:t,...n}=e;return p.createElement("div",{...n,ref:t})}function XC(e){return p.createElement("select",{...e})}function JC(e){const{week:t,...n}=e;return p.createElement("tr",{...n})}function QC(e){return p.createElement("th",{...e})}function eb(e){return p.createElement("thead",{"aria-hidden":!0},p.createElement("tr",{...e}))}function tb(e){const{week:t,...n}=e;return p.createElement("th",{...n})}function nb(e){return p.createElement("th",{...e})}function rb(e){return p.createElement("tbody",{...e})}function ob(e){const{components:t}=hs();return p.createElement(t.Dropdown,{...e})}const sb=Object.freeze(Object.defineProperty({__proto__:null,Button:LC,CaptionLabel:jC,Chevron:RC,Day:_C,DayButton:BC,Dropdown:NC,DropdownNav:$C,Footer:FC,Month:VC,MonthCaption:WC,MonthGrid:zC,Months:HC,MonthsDropdown:UC,Nav:GC,NextMonthButton:YC,Option:qC,PreviousMonthButton:KC,Root:ZC,Select:XC,Week:JC,WeekNumber:tb,WeekNumberHeader:nb,Weekday:QC,Weekdays:eb,Weeks:rb,YearsDropdown:ob},Symbol.toStringTag,{value:"Module"}));function Kn(e,t,n=!1,r=Nn){let{from:o,to:s}=e;const{differenceInCalendarDays:i,isSameDay:a}=r;return o&&s?(i(s,o)<0&&([o,s]=[s,o]),i(t,o)>=(n?1:0)&&i(s,t)>=(n?1:0)):!n&&s?a(s,t):!n&&o?a(o,t):!1}function xa(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Ii(e){return!!(e&&typeof e=="object"&&"from"in e)}function wa(e){return!!(e&&typeof e=="object"&&"after"in e)}function Sa(e){return!!(e&&typeof e=="object"&&"before"in e)}function pd(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function hd(e,t){return Array.isArray(e)&&e.every(t.isDate)}function Zn(e,t,n=Nn){const r=Array.isArray(t)?t:[t],{isSameDay:o,differenceInCalendarDays:s,isAfter:i}=n;return r.some(a=>{if(typeof a=="boolean")return a;if(n.isDate(a))return o(e,a);if(hd(a,n))return a.some(l=>o(e,l));if(Ii(a))return Kn(a,e,!1,n);if(pd(a))return Array.isArray(a.dayOfWeek)?a.dayOfWeek.includes(e.getDay()):a.dayOfWeek===e.getDay();if(xa(a)){const l=s(a.before,e),c=s(a.after,e),u=l>0,d=c<0;return i(a.before,a.after)?d&&u:u||d}return wa(a)?s(e,a.after)>0:Sa(a)?s(a.before,e)>0:typeof a=="function"?a(e):!1})}function ib(e,t,n,r,o){const{disabled:s,hidden:i,modifiers:a,showOutsideDays:l,broadcastCalendar:c,today:u=o.today()}=t,{isSameDay:d,isSameMonth:h,startOfMonth:m,isBefore:g,endOfMonth:C,isAfter:b}=o,v=n&&m(n),k=r&&C(r),w={[mt.focused]:[],[mt.outside]:[],[mt.disabled]:[],[mt.hidden]:[],[mt.today]:[]},x={};for(const T of e){const{date:M,displayMonth:A}=T,I=!!(A&&!h(M,A)),P=!!(v&&g(M,v)),R=!!(k&&b(M,k)),W=!!(s&&Zn(M,s,o)),S=!!(i&&Zn(M,i,o))||P||R||!c&&!l&&I||c&&l===!1&&I,j=d(M,u);I&&w.outside.push(T),W&&w.disabled.push(T),S&&w.hidden.push(T),j&&w.today.push(T),a&&Object.keys(a).forEach(_=>{const N=a?.[_];N&&Zn(M,N,o)&&(x[_]?x[_].push(T):x[_]=[T])})}return T=>{const M={[mt.focused]:!1,[mt.disabled]:!1,[mt.hidden]:!1,[mt.outside]:!1,[mt.today]:!1},A={};for(const I in w){const P=w[I];M[I]=P.some(R=>R===T)}for(const I in x)A[I]=x[I].some(P=>P===T);return{...M,...A}}}function ab(e,t,n={}){return Object.entries(e).filter(([,o])=>o===!0).reduce((o,[s])=>(n[s]?o.push(n[s]):t[mt[s]]?o.push(t[mt[s]]):t[wn[s]]&&o.push(t[wn[s]]),o),[t[Ee.Day]])}function lb(e){return{...sb,...e}}function cb(e){const t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([n,r])=>{n.startsWith("data-")&&(t[n]=r)}),t}function ub(){const e={};for(const t in Ee)e[Ee[t]]=`rdp-${Ee[t]}`;for(const t in mt)e[mt[t]]=`rdp-${mt[t]}`;for(const t in wn)e[wn[t]]=`rdp-${wn[t]}`;for(const t in on)e[on[t]]=`rdp-${on[t]}`;return e}function md(e,t,n){return(n??new rn(t)).formatMonthYear(e)}const db=md;function fb(e,t,n){return(n??new rn(t)).format(e,"d")}function pb(e,t=Nn){return t.format(e,"LLLL")}function hb(e,t,n){return(n??new rn(t)).format(e,"cccccc")}function mb(e,t=Nn){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function gb(){return""}function gd(e,t=Nn){return t.format(e,"yyyy")}const yb=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:md,formatDay:fb,formatMonthCaption:db,formatMonthDropdown:pb,formatWeekNumber:mb,formatWeekNumberHeader:gb,formatWeekdayName:hb,formatYearCaption:gd,formatYearDropdown:gd},Symbol.toStringTag,{value:"Module"}));function Cb(e){return e?.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e?.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...yb,...e}}function ka(e,t,n,r){let o=(r??new rn(n)).format(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o}const bb=ka;function Ta(e,t,n){return(n??new rn(t)).formatMonthYear(e)}const vb=Ta;function yd(e,t,n,r){let o=(r??new rn(n)).format(e,"PPPP");return t?.today&&(o=`Today, ${o}`),o}function Cd(e){return"Choose the Month"}function bd(){return""}const xb="Go to the Next Month";function vd(e,t){return xb}function xd(e){return"Go to the Previous Month"}function wd(e,t,n){return(n??new rn(t)).format(e,"cccc")}function Sd(e,t){return`Week ${e}`}function kd(e){return"Week Number"}function Td(e){return"Choose the Year"}const wb=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:vb,labelDay:bb,labelDayButton:ka,labelGrid:Ta,labelGridcell:yd,labelMonthDropdown:Cd,labelNav:bd,labelNext:vd,labelPrevious:xd,labelWeekNumber:Sd,labelWeekNumberHeader:kd,labelWeekday:wd,labelYearDropdown:Td},Symbol.toStringTag,{value:"Module"})),Sn=(e,t,n)=>t||(n?typeof n=="function"?n:(...r)=>n:e);function Sb(e,t){const n=t.locale?.labels??{};return{...wb,...e??{},labelDayButton:Sn(ka,e?.labelDayButton,n.labelDayButton),labelMonthDropdown:Sn(Cd,e?.labelMonthDropdown,n.labelMonthDropdown),labelNext:Sn(vd,e?.labelNext,n.labelNext),labelPrevious:Sn(xd,e?.labelPrevious,n.labelPrevious),labelWeekNumber:Sn(Sd,e?.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:Sn(Td,e?.labelYearDropdown,n.labelYearDropdown),labelGrid:Sn(Ta,e?.labelGrid,n.labelGrid),labelGridcell:Sn(yd,e?.labelGridcell,n.labelGridcell),labelNav:Sn(bd,e?.labelNav,n.labelNav),labelWeekNumberHeader:Sn(kd,e?.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:Sn(wd,e?.labelWeekday,n.labelWeekday)}}function kb(e,t,n,r,o){const{startOfMonth:s,startOfYear:i,endOfYear:a,eachMonthOfInterval:l,getMonth:c}=o;return l({start:i(e),end:a(e)}).map(h=>{const m=r.formatMonthDropdown(h,o),g=c(h),C=t&&h<s(t)||n&&h>s(n)||!1;return{value:g,label:m,disabled:C}})}function Tb(e,t={},n={}){let r={...t?.[Ee.Day]};return Object.entries(e).filter(([,o])=>o===!0).forEach(([o])=>{r={...r,...n?.[o]}}),r}function Eb(e,t,n,r){const o=r??e.today(),s=n?e.startOfBroadcastWeek(o,e):t?e.startOfISOWeek(o):e.startOfWeek(o),i=[];for(let a=0;a<7;a++){const l=e.addDays(s,a);i.push(l)}return i}function Mb(e,t,n,r,o=!1){if(!e||!t)return;const{startOfYear:s,endOfYear:i,eachYearOfInterval:a,getYear:l}=r,c=s(e),u=i(t),d=a({start:c,end:u});return o&&d.reverse(),d.map(h=>{const m=n.formatYearDropdown(h,r);return{value:l(h),label:m,disabled:!1}})}function Ob(e,t={}){const{weekStartsOn:n,locale:r}=t,o=n??r?.options?.weekStartsOn??0,s=a=>{const l=typeof a=="number"||typeof a=="string"?new Date(a):a;return new $t(l.getFullYear(),l.getMonth(),l.getDate(),12,0,0,e)},i=a=>{const l=s(a);return new Date(l.getFullYear(),l.getMonth(),l.getDate(),0,0,0,0)};return{today:()=>s($t.tz(e)),newDate:(a,l,c)=>new $t(a,l,c,12,0,0,e),startOfDay:a=>s(a),startOfWeek:(a,l)=>{const c=s(a),u=l?.weekStartsOn??o,d=(c.getDay()-u+7)%7;return c.setDate(c.getDate()-d),c},startOfISOWeek:a=>{const l=s(a),c=(l.getDay()-1+7)%7;return l.setDate(l.getDate()-c),l},startOfMonth:a=>{const l=s(a);return l.setDate(1),l},startOfYear:a=>{const l=s(a);return l.setMonth(0,1),l},endOfWeek:(a,l)=>{const c=s(a),h=(((l?.weekStartsOn??o)+6)%7-c.getDay()+7)%7;return c.setDate(c.getDate()+h),c},endOfISOWeek:a=>{const l=s(a),c=(7-l.getDay())%7;return l.setDate(l.getDate()+c),l},endOfMonth:a=>{const l=s(a);return l.setMonth(l.getMonth()+1,0),l},endOfYear:a=>{const l=s(a);return l.setMonth(11,31),l},eachMonthOfInterval:a=>{const l=s(a.start),c=s(a.end),u=[],d=new $t(l.getFullYear(),l.getMonth(),1,12,0,0,e),h=c.getFullYear()*12+c.getMonth();for(;d.getFullYear()*12+d.getMonth()<=h;)u.push(new $t(d,e)),d.setMonth(d.getMonth()+1,1);return u},addDays:(a,l)=>{const c=s(a);return c.setDate(c.getDate()+l),c},addWeeks:(a,l)=>{const c=s(a);return c.setDate(c.getDate()+l*7),c},addMonths:(a,l)=>{const c=s(a);return c.setMonth(c.getMonth()+l),c},addYears:(a,l)=>{const c=s(a);return c.setFullYear(c.getFullYear()+l),c},eachYearOfInterval:a=>{const l=s(a.start),c=s(a.end),u=[],d=new $t(l.getFullYear(),0,1,12,0,0,e);for(;d.getFullYear()<=c.getFullYear();)u.push(new $t(d,e)),d.setFullYear(d.getFullYear()+1,0,1);return u},getWeek:(a,l)=>{const c=i(a);return ba(c,{weekStartsOn:l?.weekStartsOn??o,firstWeekContainsDate:l?.firstWeekContainsDate??r?.options?.firstWeekContainsDate??1})},getISOWeek:a=>{const l=i(a);return Ca(l)},differenceInCalendarDays:(a,l)=>{const c=i(a),u=i(l);return ya(c,u)},differenceInCalendarMonths:(a,l)=>{const c=i(a),u=i(l);return Ku(c,u)}}}const ms=e=>e instanceof HTMLElement?e:null,Ea=e=>[...e.querySelectorAll("[data-animated-month]")??[]],Db=e=>ms(e.querySelector("[data-animated-month]")),Ma=e=>ms(e.querySelector("[data-animated-caption]")),Oa=e=>ms(e.querySelector("[data-animated-weeks]")),Ab=e=>ms(e.querySelector("[data-animated-nav]")),Ib=e=>ms(e.querySelector("[data-animated-weekdays]"));function Pb(e,t,{classNames:n,months:r,focused:o,dateLib:s}){const i=p.useRef(null),a=p.useRef(r),l=p.useRef(!1);p.useLayoutEffect(()=>{const c=a.current;if(a.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||r.length===0||c.length===0||r.length!==c.length)return;const u=s.isSameMonth(r[0].date,c[0].date),d=s.isAfter(r[0].date,c[0].date),h=d?n[on.caption_after_enter]:n[on.caption_before_enter],m=d?n[on.weeks_after_enter]:n[on.weeks_before_enter],g=i.current,C=e.current.cloneNode(!0);if(C instanceof HTMLElement?(Ea(C).forEach(w=>{if(!(w instanceof HTMLElement))return;const x=Db(w);x&&w.contains(x)&&w.removeChild(x);const T=Ma(w);T&&T.classList.remove(h);const M=Oa(w);M&&M.classList.remove(m)}),i.current=C):i.current=null,l.current||u||o)return;const b=g instanceof HTMLElement?Ea(g):[],v=Ea(e.current);if(v?.every(k=>k instanceof HTMLElement)&&b&&b.every(k=>k instanceof HTMLElement)){l.current=!0,e.current.style.isolation="isolate";const k=Ab(e.current);k&&(k.style.zIndex="1"),v.forEach((w,x)=>{const T=b[x];if(!T)return;w.style.position="relative",w.style.overflow="hidden";const M=Ma(w);M&&M.classList.add(h);const A=Oa(w);A&&A.classList.add(m);const I=()=>{l.current=!1,e.current&&(e.current.style.isolation=""),k&&(k.style.zIndex=""),M&&M.classList.remove(h),A&&A.classList.remove(m),w.style.position="",w.style.overflow="",w.contains(T)&&w.removeChild(T)};T.style.pointerEvents="none",T.style.position="absolute",T.style.overflow="hidden",T.setAttribute("aria-hidden","true");const P=Ib(T);P&&(P.style.opacity="0");const R=Ma(T);R&&(R.classList.add(d?n[on.caption_before_exit]:n[on.caption_after_exit]),R.addEventListener("animationend",I));const W=Oa(T);W&&W.classList.add(d?n[on.weeks_before_exit]:n[on.weeks_after_exit]),w.insertBefore(T,w.firstChild)})}})}function Lb(e,t,n,r){const o=e[0],s=e[e.length-1],{ISOWeek:i,fixedWeeks:a,broadcastCalendar:l}=n??{},{addDays:c,differenceInCalendarDays:u,differenceInCalendarMonths:d,endOfBroadcastWeek:h,endOfISOWeek:m,endOfMonth:g,endOfWeek:C,isAfter:b,startOfBroadcastWeek:v,startOfISOWeek:k,startOfWeek:w}=r,x=l?v(o,r):i?k(o):w(o),T=l?h(s):i?m(g(s)):C(g(s)),M=t&&(l?h(t):i?m(t):C(t)),A=M&&b(T,M)?M:T,I=u(A,x),P=d(s,o)+1,R=[];for(let j=0;j<=I;j++){const _=c(x,j);R.push(_)}const S=(l?35:42)*P;if(a&&R.length<S){const j=S-R.length;for(let _=0;_<j;_++){const N=c(R[R.length-1],1);R.push(N)}}return R}function jb(e){const t=[];return e.reduce((n,r)=>{const o=r.weeks.reduce((s,i)=>s.concat(i.days.slice()),t.slice());return n.concat(o.slice())},t.slice())}function Rb(e,t,n,r){const{numberOfMonths:o=1}=n,s=[];for(let i=0;i<o;i++){const a=r.addMonths(e,i);if(t&&a>t)break;s.push(a)}return s}function Ed(e,t,n,r){const{month:o,defaultMonth:s,today:i=r.today(),numberOfMonths:a=1}=e;let l=o||s||i;const{differenceInCalendarMonths:c,addMonths:u,startOfMonth:d}=r;if(n&&c(n,l)<a-1){const h=-1*(a-1);l=u(n,h)}return t&&c(l,t)<0&&(l=t),d(l)}function _b(e,t,n,r){const{addDays:o,endOfBroadcastWeek:s,endOfISOWeek:i,endOfMonth:a,endOfWeek:l,getISOWeek:c,getWeek:u,startOfBroadcastWeek:d,startOfISOWeek:h,startOfWeek:m}=r,g=e.reduce((C,b)=>{const v=n.broadcastCalendar?d(b,r):n.ISOWeek?h(b):m(b),k=n.broadcastCalendar?s(b):n.ISOWeek?i(a(b)):l(a(b)),w=t.filter(A=>A>=v&&A<=k),x=n.broadcastCalendar?35:42;if(n.fixedWeeks&&w.length<x){const A=t.filter(I=>{const P=x-w.length;return I>k&&I<=o(k,P)});w.push(...A)}const T=w.reduce((A,I)=>{const P=n.ISOWeek?c(I):u(I),R=A.find(S=>S.weekNumber===P),W=new dd(I,b,r);return R?R.days.push(W):A.push(new PC(P,[W])),A},[]),M=new IC(b,T);return C.push(M),C},[]);return n.reverseMonths?g.reverse():g}function Bb(e,t){let{startMonth:n,endMonth:r}=e;const{startOfYear:o,startOfDay:s,startOfMonth:i,endOfMonth:a,addYears:l,endOfYear:c,newDate:u,today:d}=t,{fromYear:h,toYear:m,fromMonth:g,toMonth:C}=e;!n&&g&&(n=g),!n&&h&&(n=t.newDate(h,0,1)),!r&&C&&(r=C),!r&&m&&(r=u(m,11,31));const b=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return n?n=i(n):h?n=u(h,0,1):!n&&b&&(n=o(l(e.today??d(),-100))),r?r=a(r):m?r=u(m,11,31):!r&&b&&(r=c(e.today??d())),[n&&s(n),r&&s(r)]}function Nb(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:s=1}=n,{startOfMonth:i,addMonths:a,differenceInCalendarMonths:l}=r,c=o?s:1,u=i(e);if(!t)return a(u,c);if(!(l(t,e)<s))return a(u,c)}function $b(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:s}=n,{startOfMonth:i,addMonths:a,differenceInCalendarMonths:l}=r,c=o?s??1:1,u=i(e);if(!t)return a(u,-c);if(!(l(u,t)<=0))return a(u,-c)}function Fb(e){const t=[];return e.reduce((n,r)=>n.concat(r.weeks.slice()),t.slice())}function Pi(e,t){const[n,r]=p.useState(e);return[t===void 0?n:t,r]}function Vb(e,t){const[n,r]=Bb(e,t),{startOfMonth:o,endOfMonth:s}=t,i=Ed(e,n,r,t),[a,l]=Pi(i,e.month?i:void 0);p.useEffect(()=>{const x=Ed(e,n,r,t);l(x)},[e.timeZone]);const{months:c,weeks:u,days:d,previousMonth:h,nextMonth:m}=p.useMemo(()=>{const x=Rb(a,r,{numberOfMonths:e.numberOfMonths},t),T=Lb(x,e.endMonth?s(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),M=_b(x,T,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),A=Fb(M),I=jb(M),P=$b(a,n,e,t),R=Nb(a,r,e,t);return{months:M,weeks:A,days:I,previousMonth:P,nextMonth:R}},[t,a.getTime(),r?.getTime(),n?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:g,onMonthChange:C}=e,b=x=>u.some(T=>T.days.some(M=>M.isEqualTo(x))),v=x=>{if(g)return;let T=o(x);n&&T<o(n)&&(T=o(n)),r&&T>o(r)&&(T=o(r)),l(T),C?.(T)};return{months:c,weeks:u,days:d,navStart:n,navEnd:r,previousMonth:h,nextMonth:m,goToMonth:v,goToDay:x=>{b(x)||v(x.date)}}}var $n;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})($n||($n={}));function Md(e){return!e[mt.disabled]&&!e[mt.hidden]&&!e[mt.outside]}function Wb(e,t,n,r){let o,s=-1;for(const i of e){const a=t(i);Md(a)&&(a[mt.focused]&&s<$n.FocusedModifier?(o=i,s=$n.FocusedModifier):r?.isEqualTo(i)&&s<$n.LastFocused?(o=i,s=$n.LastFocused):n(i.date)&&s<$n.Selected?(o=i,s=$n.Selected):a[mt.today]&&s<$n.Today&&(o=i,s=$n.Today))}return o||(o=e.find(i=>Md(t(i)))),o}function zb(e,t,n,r,o,s,i){const{ISOWeek:a,broadcastCalendar:l}=s,{addDays:c,addMonths:u,addWeeks:d,addYears:h,endOfBroadcastWeek:m,endOfISOWeek:g,endOfWeek:C,max:b,min:v,startOfBroadcastWeek:k,startOfISOWeek:w,startOfWeek:x}=i;let M={day:c,week:d,month:u,year:h,startOfWeek:A=>l?k(A,i):a?w(A):x(A),endOfWeek:A=>l?m(A):a?g(A):C(A)}[e](n,t==="after"?1:-1);return t==="before"&&r?M=b([r,M]):t==="after"&&o&&(M=v([o,M])),M}function Od(e,t,n,r,o,s,i,a=0){if(a>365)return;const l=zb(e,t,n.date,r,o,s,i),c=!!(s.disabled&&Zn(l,s.disabled,i)),u=!!(s.hidden&&Zn(l,s.hidden,i)),d=l,h=new dd(l,d,i);return!c&&!u?h:Od(e,t,h,r,o,s,i,a+1)}function Hb(e,t,n,r,o){const{autoFocus:s}=e,[i,a]=p.useState(),l=Wb(t.days,n,r||(()=>!1),i),[c,u]=p.useState(s?l:void 0);return{isFocusTarget:C=>!!l?.isEqualTo(C),setFocused:u,focused:c,blur:()=>{a(c),u(void 0)},moveFocus:(C,b)=>{if(!c)return;const v=Od(C,b,c,t.navStart,t.navEnd,e,o);v&&(e.disableNavigation&&!t.days.some(w=>w.isEqualTo(v))||(t.goToDay(v),u(v)))}}}function Ub(e,t){const{selected:n,required:r,onSelect:o}=e,[s,i]=Pi(n,o?n:void 0),a=o?n:s,{isSameDay:l}=t,c=m=>a?.some(g=>l(g,m))??!1,{min:u,max:d}=e;return{selected:a,select:(m,g,C)=>{let b=[...a??[]];if(c(m)){if(a?.length===u||r&&a?.length===1)return;b=a?.filter(v=>!l(v,m))}else a?.length===d?b=[m]:b=[...b,m];return o||i(b),o?.(b,m,g,C),b},isSelected:c}}function Gb(e,t,n=0,r=0,o=!1,s=Nn){const{from:i,to:a}=t||{},{isSameDay:l,isAfter:c,isBefore:u}=s;let d;if(!i&&!a)d={from:e,to:n>0?void 0:e};else if(i&&!a)l(i,e)?n===0?d={from:i,to:e}:o?d={from:i,to:void 0}:d=void 0:u(e,i)?d={from:e,to:i}:d={from:i,to:e};else if(i&&a)if(l(i,e)&&l(a,e))o?d={from:i,to:a}:d=void 0;else if(l(i,e))d={from:i,to:n>0?void 0:e};else if(l(a,e))d={from:e,to:n>0?void 0:e};else if(u(e,i))d={from:e,to:a};else if(c(e,i))d={from:i,to:e};else if(c(e,a))d={from:i,to:e};else throw new Error("Invalid range");if(d?.from&&d?.to){const h=s.differenceInCalendarDays(d.to,d.from);r>0&&h>r?d={from:e,to:void 0}:n>1&&h<n&&(d={from:e,to:void 0})}return d}function Yb(e,t,n=Nn){const r=Array.isArray(t)?t:[t];let o=e.from;const s=n.differenceInCalendarDays(e.to,e.from),i=Math.min(s,6);for(let a=0;a<=i;a++){if(r.includes(o.getDay()))return!0;o=n.addDays(o,1)}return!1}function Dd(e,t,n=Nn){return Kn(e,t.from,!1,n)||Kn(e,t.to,!1,n)||Kn(t,e.from,!1,n)||Kn(t,e.to,!1,n)}function qb(e,t,n=Nn){const r=Array.isArray(t)?t:[t];if(r.filter(a=>typeof a!="function").some(a=>typeof a=="boolean"?a:n.isDate(a)?Kn(e,a,!1,n):hd(a,n)?a.some(l=>Kn(e,l,!1,n)):Ii(a)?a.from&&a.to?Dd(e,{from:a.from,to:a.to},n):!1:pd(a)?Yb(e,a.dayOfWeek,n):xa(a)?n.isAfter(a.before,a.after)?Dd(e,{from:n.addDays(a.after,1),to:n.addDays(a.before,-1)},n):Zn(e.from,a,n)||Zn(e.to,a,n):wa(a)||Sa(a)?Zn(e.from,a,n)||Zn(e.to,a,n):!1))return!0;const i=r.filter(a=>typeof a=="function");if(i.length){let a=e.from;const l=n.differenceInCalendarDays(e.to,e.from);for(let c=0;c<=l;c++){if(i.some(u=>u(a)))return!0;a=n.addDays(a,1)}}return!1}function Kb(e,t){const{disabled:n,excludeDisabled:r,resetOnSelect:o,selected:s,required:i,onSelect:a}=e,[l,c]=Pi(s,a?s:void 0),u=a?s:l;return{selected:u,select:(m,g,C)=>{const{min:b,max:v}=e;let k;if(m){const w=u?.from,x=u?.to,T=!!w&&!!x,M=!!w&&!!x&&t.isSameDay(w,x)&&t.isSameDay(m,w);o&&(T||!u?.from)?!i&&M?k=void 0:k={from:m,to:void 0}:k=Gb(m,u,b,v,i,t)}return r&&n&&k?.from&&k.to&&qb({from:k.from,to:k.to},n,t)&&(k.from=m,k.to=void 0),a||c(k),a?.(k,m,g,C),k},isSelected:m=>u&&Kn(u,m,!1,t)}}function Zb(e,t){const{selected:n,required:r,onSelect:o}=e,[s,i]=Pi(n,o?n:void 0),a=o?n:s,{isSameDay:l}=t;return{selected:a,select:(d,h,m)=>{let g=d;return!r&&a&&a&&l(d,a)&&(g=void 0),o||i(g),o?.(g,d,h,m),g},isSelected:d=>a?l(a,d):!1}}function Xb(e,t){const n=Zb(e,t),r=Ub(e,t),o=Kb(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return o;default:return}}function hn(e,t){return e instanceof $t&&e.timeZone===t?e:new $t(e,t)}function mo(e,t,n){return hn(e,t)}function Ad(e,t,n){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?mo(e,t):Array.isArray(e)?e.map(r=>r instanceof Date?mo(r,t):r):Ii(e)?{...e,from:e.from?hn(e.from,t):e.from,to:e.to?hn(e.to,t):e.to}:xa(e)?{before:mo(e.before,t),after:mo(e.after,t)}:wa(e)?{after:mo(e.after,t)}:Sa(e)?{before:mo(e.before,t)}:e}function Da(e,t,n){return e&&(Array.isArray(e)?e.map(r=>Ad(r,t)):Ad(e,t))}function Jb(e){let t=e;const n=t.timeZone;if(n&&(t={...e,timeZone:n},t.today&&(t.today=hn(t.today,n)),t.month&&(t.month=hn(t.month,n)),t.defaultMonth&&(t.defaultMonth=hn(t.defaultMonth,n)),t.startMonth&&(t.startMonth=hn(t.startMonth,n)),t.endMonth&&(t.endMonth=hn(t.endMonth,n)),t.mode==="single"&&t.selected?t.selected=hn(t.selected,n):t.mode==="multiple"&&t.selected?t.selected=t.selected?.map(le=>hn(le,n)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?hn(t.selected.from,n):t.selected.from,to:t.selected.to?hn(t.selected.to,n):t.selected.to}),t.disabled!==void 0&&(t.disabled=Da(t.disabled,n)),t.hidden!==void 0&&(t.hidden=Da(t.hidden,n)),t.modifiers)){const le={};Object.keys(t.modifiers).forEach(Ie=>{le[Ie]=Da(t.modifiers?.[Ie],n)}),t.modifiers=le}const{components:r,formatters:o,labels:s,dateLib:i,locale:a,classNames:l}=p.useMemo(()=>{const le={...ud,...t.locale},Ie=t.broadcastCalendar?1:t.weekStartsOn,Ce=t.noonSafe&&t.timeZone?Ob(t.timeZone,{weekStartsOn:Ie,locale:le}):void 0,Me=t.dateLib&&Ce?{...Ce,...t.dateLib}:t.dateLib??Ce,Tt=new rn({locale:le,weekStartsOn:Ie,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},Me);return{dateLib:Tt,components:lb(t.components),formatters:Cb(t.formatters),labels:Sb(t.labels,Tt.options),locale:le,classNames:{...ub(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.noonSafe,t.components,t.formatters,t.labels,t.classNames]);t.today||(t={...t,today:i.today()});const{captionLayout:c,mode:u,navLayout:d,numberOfMonths:h=1,onDayBlur:m,onDayClick:g,onDayFocus:C,onDayKeyDown:b,onDayMouseEnter:v,onDayMouseLeave:k,onNextClick:w,onPrevClick:x,showWeekNumber:T,styles:M}=t,{formatCaption:A,formatDay:I,formatMonthDropdown:P,formatWeekNumber:R,formatWeekNumberHeader:W,formatWeekdayName:S,formatYearDropdown:j}=o,_=Vb(t,i),{days:N,months:U,navStart:se,navEnd:ue,previousMonth:B,nextMonth:E,goToMonth:D}=_,L=ib(N,t,se,ue,i),{isSelected:$,select:Y,selected:re}=Xb(t,i)??{},{blur:he,focused:oe,isFocusTarget:X,moveFocus:te,setFocused:ie}=Hb(t,_,L,$??(()=>!1),i),{labelDayButton:Q,labelGridcell:q,labelGrid:xe,labelMonthDropdown:ke,labelNav:ve,labelPrevious:ae,labelNext:je,labelWeekday:de,labelWeekNumber:We,labelWeekNumberHeader:He,labelYearDropdown:dt}=s,ge=p.useMemo(()=>Eb(i,t.ISOWeek,t.broadcastCalendar,t.today),[i,t.ISOWeek,t.broadcastCalendar,t.today]),ne=u!==void 0||g!==void 0,fe=p.useCallback(()=>{B&&(D(B),x?.(B))},[B,D,x]),De=p.useCallback(()=>{E&&(D(E),w?.(E))},[D,E,w]),Le=p.useCallback((le,Ie)=>Ce=>{Ce.preventDefault(),Ce.stopPropagation(),ie(le),!Ie.disabled&&(Y?.(le.date,Ie,Ce),g?.(le.date,Ie,Ce))},[Y,g,ie]),Ve=p.useCallback((le,Ie)=>Ce=>{ie(le),C?.(le.date,Ie,Ce)},[C,ie]),st=p.useCallback((le,Ie)=>Ce=>{he(),m?.(le.date,Ie,Ce)},[he,m]),kt=p.useCallback((le,Ie)=>Ce=>{const Me={ArrowLeft:[Ce.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[Ce.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[Ce.shiftKey?"year":"week","after"],ArrowUp:[Ce.shiftKey?"year":"week","before"],PageUp:[Ce.shiftKey?"year":"month","before"],PageDown:[Ce.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(Me[Ce.key]){Ce.preventDefault(),Ce.stopPropagation();const[Tt,Fe]=Me[Ce.key];te(Tt,Fe)}b?.(le.date,Ie,Ce)},[te,b,t.dir]),ct=p.useCallback((le,Ie)=>Ce=>{v?.(le.date,Ie,Ce)},[v]),$e=p.useCallback((le,Ie)=>Ce=>{k?.(le.date,Ie,Ce)},[k]),qt=p.useCallback(le=>Ie=>{const Ce=Number(Ie.target.value),Me=i.setMonth(i.startOfMonth(le),Ce);D(Me)},[i,D]),V=p.useCallback(le=>Ie=>{const Ce=Number(Ie.target.value),Me=i.setYear(i.startOfMonth(le),Ce);D(Me)},[i,D]),{className:ee,style:it}=p.useMemo(()=>({className:[l[Ee.Root],t.className].filter(Boolean).join(" "),style:{...M?.[Ee.Root],...t.style}}),[l,t.className,t.style,M]),Se=cb(t),Ge=p.useRef(null);Pb(Ge,!!t.animate,{classNames:l,months:U,focused:oe,dateLib:i});const _e={dayPickerProps:t,selected:re,select:Y,isSelected:$,months:U,nextMonth:E,previousMonth:B,goToMonth:D,getModifiers:L,components:r,classNames:l,styles:M,labels:s,formatters:o};return p.createElement(fd.Provider,{value:_e},p.createElement(r.Root,{rootRef:t.animate?Ge:void 0,className:ee,style:it,dir:t.dir,id:t.id,lang:t.lang??a.code,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...Se},p.createElement(r.Months,{className:l[Ee.Months],style:M?.[Ee.Months]},!t.hideNavigation&&!d&&p.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:l[Ee.Nav],style:M?.[Ee.Nav],"aria-label":ve(),onPreviousClick:fe,onNextClick:De,previousMonth:B,nextMonth:E}),U.map((le,Ie)=>p.createElement(r.Month,{"data-animated-month":t.animate?"true":void 0,className:l[Ee.Month],style:M?.[Ee.Month],key:Ie,displayIndex:Ie,calendarMonth:le},d==="around"&&!t.hideNavigation&&Ie===0&&p.createElement(r.PreviousMonthButton,{type:"button",className:l[Ee.PreviousMonthButton],tabIndex:B?void 0:-1,"aria-disabled":B?void 0:!0,"aria-label":ae(B),onClick:fe,"data-animated-button":t.animate?"true":void 0},p.createElement(r.Chevron,{disabled:B?void 0:!0,className:l[Ee.Chevron],orientation:t.dir==="rtl"?"right":"left"})),p.createElement(r.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:l[Ee.MonthCaption],style:M?.[Ee.MonthCaption],calendarMonth:le,displayIndex:Ie},c?.startsWith("dropdown")?p.createElement(r.DropdownNav,{className:l[Ee.Dropdowns],style:M?.[Ee.Dropdowns]},(()=>{const Ce=c==="dropdown"||c==="dropdown-months"?p.createElement(r.MonthsDropdown,{key:"month",className:l[Ee.MonthsDropdown],"aria-label":ke(),classNames:l,components:r,disabled:!!t.disableNavigation,onChange:qt(le.date),options:kb(le.date,se,ue,o,i),style:M?.[Ee.Dropdown],value:i.getMonth(le.date)}):p.createElement("span",{key:"month"},P(le.date,i)),Me=c==="dropdown"||c==="dropdown-years"?p.createElement(r.YearsDropdown,{key:"year",className:l[Ee.YearsDropdown],"aria-label":dt(i.options),classNames:l,components:r,disabled:!!t.disableNavigation,onChange:V(le.date),options:Mb(se,ue,o,i,!!t.reverseYears),style:M?.[Ee.Dropdown],value:i.getYear(le.date)}):p.createElement("span",{key:"year"},j(le.date,i));return i.getMonthYearOrder()==="year-first"?[Me,Ce]:[Ce,Me]})(),p.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},A(le.date,i.options,i))):p.createElement(r.CaptionLabel,{className:l[Ee.CaptionLabel],role:"status","aria-live":"polite"},A(le.date,i.options,i))),d==="around"&&!t.hideNavigation&&Ie===h-1&&p.createElement(r.NextMonthButton,{type:"button",className:l[Ee.NextMonthButton],tabIndex:E?void 0:-1,"aria-disabled":E?void 0:!0,"aria-label":je(E),onClick:De,"data-animated-button":t.animate?"true":void 0},p.createElement(r.Chevron,{disabled:E?void 0:!0,className:l[Ee.Chevron],orientation:t.dir==="rtl"?"left":"right"})),Ie===h-1&&d==="after"&&!t.hideNavigation&&p.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:l[Ee.Nav],style:M?.[Ee.Nav],"aria-label":ve(),onPreviousClick:fe,onNextClick:De,previousMonth:B,nextMonth:E}),p.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":u==="multiple"||u==="range","aria-label":xe(le.date,i.options,i)||void 0,className:l[Ee.MonthGrid],style:M?.[Ee.MonthGrid]},!t.hideWeekdays&&p.createElement(r.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:l[Ee.Weekdays],style:M?.[Ee.Weekdays]},T&&p.createElement(r.WeekNumberHeader,{"aria-label":He(i.options),className:l[Ee.WeekNumberHeader],style:M?.[Ee.WeekNumberHeader],scope:"col"},W()),ge.map(Ce=>p.createElement(r.Weekday,{"aria-label":de(Ce,i.options,i),className:l[Ee.Weekday],key:String(Ce),style:M?.[Ee.Weekday],scope:"col"},S(Ce,i.options,i)))),p.createElement(r.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:l[Ee.Weeks],style:M?.[Ee.Weeks]},le.weeks.map(Ce=>p.createElement(r.Week,{className:l[Ee.Week],key:Ce.weekNumber,style:M?.[Ee.Week],week:Ce},T&&p.createElement(r.WeekNumber,{week:Ce,style:M?.[Ee.WeekNumber],"aria-label":We(Ce.weekNumber,{locale:a}),className:l[Ee.WeekNumber],scope:"row",role:"rowheader"},R(Ce.weekNumber,i)),Ce.days.map(Me=>{const{date:Tt}=Me,Fe=L(Me);if(Fe[mt.focused]=!Fe.hidden&&!!oe?.isEqualTo(Me),Fe[wn.selected]=$?.(Tt)||Fe.selected,Ii(re)){const{from:Mn,to:No}=re;Fe[wn.range_start]=!!(Mn&&No&&i.isSameDay(Tt,Mn)),Fe[wn.range_end]=!!(Mn&&No&&i.isSameDay(Tt,No)),Fe[wn.range_middle]=Kn(re,Tt,!0,i)}const zn=Tb(Fe,M,t.modifiersStyles),Ns=ab(Fe,l,t.modifiersClassNames),$s=!ne&&!Fe.hidden?q(Tt,Fe,i.options,i):void 0;return p.createElement(r.Day,{key:`${Me.isoDate}_${Me.displayMonthId}`,day:Me,modifiers:Fe,className:Ns.join(" "),style:zn,role:"gridcell","aria-selected":Fe.selected||void 0,"aria-label":$s,"data-day":Me.isoDate,"data-month":Me.outside?Me.dateMonthId:void 0,"data-selected":Fe.selected||void 0,"data-disabled":Fe.disabled||void 0,"data-hidden":Fe.hidden||void 0,"data-outside":Me.outside||void 0,"data-focused":Fe.focused||void 0,"data-today":Fe.today||void 0},!Fe.hidden&&ne?p.createElement(r.DayButton,{className:l[Ee.DayButton],style:M?.[Ee.DayButton],type:"button",day:Me,modifiers:Fe,disabled:!Fe.focused&&Fe.disabled||void 0,"aria-disabled":Fe.focused&&Fe.disabled||void 0,tabIndex:X(Me)?0:-1,"aria-label":Q(Tt,Fe,i.options,i),onClick:Le(Me,Fe),onBlur:st(Me,Fe),onFocus:Ve(Me,Fe),onKeyDown:kt(Me,Fe),onMouseEnter:ct(Me,Fe),onMouseLeave:$e(Me,Fe)},I(Tt,i.options,i)):!Fe.hidden&&I(Me.date,i.options,i))})))))))),t.footer&&p.createElement(r.Footer,{className:l[Ee.Footer],style:M?.[Ee.Footer],role:"status","aria-live":"polite"},t.footer)))}const Qb=({color:e})=>f.jsx("svg",{width:"7",height:"11",viewBox:"0 0 7 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M5.5 9.96346L1.82547 6.28893C1.39151 5.85497 1.39151 5.14487 1.82547 4.71091L5.5 1.03638",stroke:e,"stroke-width":"1.2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})}),ev=({color:e})=>f.jsx("svg",{width:"7",height:"11",viewBox:"0 0 7 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M1.5 9.96346L5.17453 6.28893C5.60849 5.85498 5.60849 5.14487 5.17453 4.71091L1.5 1.03638",stroke:e,"stroke-width":"1.2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})}),Id=({color:e})=>f.jsx("svg",{width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M9 0.595703L5.50126 4.09444C5.08807 4.50763 4.41193 4.50763 3.99874 4.09444L0.5 0.595703",stroke:e,"stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})}),tv=({color:e})=>f.jsx("svg",{width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M9 4.4043L5.50126 0.90556C5.08807 0.492365 4.41193 0.492365 3.99874 0.90556L0.5 4.4043",stroke:e,"stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})});function Pd(e){return p.useMemo(()=>Array.from({length:e},(t,n)=>{const r=String(n).padStart(2,"0");return{key:r,label:r,value:r}}),[e])}const Ld=({time:e,setTime:t})=>{const n=Pd(24),r=Pd(60);return f.jsxs(O.Box,{display:"flex",gap:"1rem",paddingLeft:"2rem",children:[f.jsxs(O.Box,{display:"flex",flexDirection:"column",alignItems:"center",width:"6rem",gap:"1rem",children:[f.jsx(O.Typography,{variant:"h5",color:o=>o.palette.primary.notifyActiveText,children:"HH"}),f.jsx(co,{options:n,value:e.hh,onChange:o=>t(s=>({...s,hh:o.value}))})]}),f.jsxs(O.Box,{display:"flex",flexDirection:"column",alignItems:"center",width:"6rem",gap:"1rem",children:[f.jsx(O.Typography,{variant:"h5",color:o=>o.palette.primary.notifyActiveText,children:"MM"}),f.jsx(co,{options:r,value:e.mm,onChange:o=>t(s=>({...s,mm:o.value}))})]})]})},jd='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])',go=(e,{enabled:t=!0,onEscape:n,autoFocus:r=!1,restoreFocus:o=!1}={})=>{const s=p.useRef(n);s.current=n,p.useEffect(()=>{if(!t)return;const i=document.activeElement;let a,l,c;if(r){const d=()=>{e.current?.querySelector(jd)?.focus({preventScroll:!0})},h=e.current,{transitionDuration:m}=h?getComputedStyle(h):{};Number.parseFloat(m)>0?(l=h,c=C=>{C.target===h&&(h.removeEventListener("transitionend",c),d())},h.addEventListener("transitionend",c)):a=setTimeout(d,0)}const u=d=>{if(d.key==="Escape"){s.current?.(d);return}if(d.key!=="Tab")return;const h=Array.from(e.current?.querySelectorAll(jd)||[]),m=h[0],g=h[h.length-1];!m||!g||(d.shiftKey?document.activeElement===m&&(d.preventDefault(),g.focus({preventScroll:!0})):document.activeElement===g&&(d.preventDefault(),m.focus({preventScroll:!0})))};return document.addEventListener("keydown",u),()=>{clearTimeout(a),l?.removeEventListener("transitionend",c),document.removeEventListener("keydown",u),o&&i&&document.contains(i)&&i.focus?.({preventScroll:!0})}},[t,r,o,e])},nv=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Rd(e){const t=e instanceof Date?e:new Date(e);return{hh:String(t.getHours()).padStart(2,"0"),mm:String(t.getMinutes()).padStart(2,"0")}}function _d(e,t){const n=e instanceof Date?e:new Date(e);return n.setHours(Number(t.hh),Number(t.mm)),n}const rv=({label:e,mode:t="single",showTimeStamp:n=!1,value:r,onChange:o,disabled:s,readOnly:i,formatString:a,error:l,errorText:c,openCalendar:u,inputProps:d,showFooter:h,minDate:m=new Date(new Date().getFullYear()-10,0,1),maxDate:g=new Date(new Date().getFullYear()+10,11,31),yearRange:C,required:b,calendarWidth:v,calendarHeight:k,calendarZoom:w,calendarSx:x,...T})=>{const M=Array.from({length:C?.to??36},(ae,je)=>(C?.from??2e3)+je),{t:A}=p.useContext(Nt),I=O.useTheme(),P=p.useRef(null),R=p.useRef(null),[W,S]=p.useState(null),[j,_]=p.useState(r),[N,U]=p.useState(dr),[se,ue]=p.useState(()=>n&&r?Rd(r):{hh:"00",mm:"00"}),B=ae=>t==="range"&&ae?.from?ae.from:ae||new Date,[E,D]=p.useState(B(r)),[L,$]=p.useState("calendar"),Y=!!W,re=Y?"date-picker-popover":void 0,he=ae=>{S(ae.currentTarget),_(r),D(B(r)),n&&r&&ue(Rd(r))},oe=()=>{S(null),$("calendar")};p.useEffect(()=>{n&&j&&_(_d(j,se))},[se]),p.useEffect(()=>{const ae=localStorage.getItem("i18nextLng")??"en-US";w3(ae).then(U)},[]);const X=ae=>{D(new Date(E.getFullYear(),ae)),$("calendar")},te=ae=>{D(new Date(ae,E.getMonth())),$("month")},ie=ae=>{if(ae)if(t==="range")h?_(ae):o?.(ae);else if(t==="multiple"){const de=[...Array.isArray(ae)?ae:[ae]];h?_(de):o?.(de)}else h?_(_d(ae,se)):(o?.(ae),oe())},Q=({orientation:ae,className:je,disabled:de})=>f.jsx(O.Box,{className:je,sx:{opacity:de?.5:1,pointerEvents:de?"none":"auto"},children:{left:f.jsx(Qb,{color:I.palette.primary.notifyIconColor}),right:f.jsx(ev,{color:I.palette.primary.notifyIconColor}),down:f.jsx(Id,{color:I.palette.primary.notifyIconColor}),up:f.jsx(tv,{color:I.palette.primary.notifyIconColor})}[ae]}),q=ae=>{const{options:je,value:de}=ae??{},We=je?.length!==12,He=je?.find(ge=>ge?.value===de)?.label,dt=()=>{$("year")};return f.jsxs(O.Stack,{direction:"row",role:"button",tabIndex:0,sx:{cursor:"pointer",justifyContent:"center",alignItems:"center",gap:"0.5rem",...xt()},onClick:dt,onKeyDown:wt(dt),children:[f.jsx(O.Typography,{sx:{color:I.palette.primary.notifyActiveText,fontSize:"1.7rem",fontWeight:"500"},children:He}),We&&f.jsx(Id,{color:I.palette.primary.notifyIconColor})]})},xe=()=>{const ae=Array.isArray(E)?E[0]:E;if(!(ae instanceof Date)||isNaN(ae))return null;const je=ae.getFullYear(),de=ae.getMonth();return L==="month"?f.jsx(O.Box,{sx:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:1,justifyContent:"center",mb:2,height:k??"30rem",width:v??"30rem"},children:nv.map((We,He)=>{const dt=new Date(je,He,1),ge=m&&dt<new Date(m.getFullYear(),m.getMonth(),1);return f.jsx(O.Box,{role:"button",tabIndex:ge?-1:0,"aria-disabled":ge,sx:{display:"flex",justifyContent:"center",alignItems:"center",cursor:ge?"not-allowed":"pointer",opacity:ge?.5:1,...xt()},onClick:()=>!ge&&X(He),onKeyDown:wt(()=>!ge&&X(He)),children:f.jsx(O.Box,{sx:{p:"0.8rem 1.2rem",borderRadius:"2rem",bgcolor:He===de&&!ge&&I.palette.brandColor.orange,color:He===de&&!ge?I.palette.brandColor.white:I.palette.primary.notifyActiveText,fontSize:"1.1rem"},children:A(We)})},We)})}):L==="year"?f.jsx(O.Box,{sx:{maxHeight:k??"30rem",overflowY:"auto",pr:1},children:f.jsx(O.Box,{sx:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:1,justifyContent:"center",mb:2,height:k??"30rem",width:v??"30rem"},children:M.map(We=>{const He=m&&We<m.getFullYear();return f.jsx(O.Box,{role:"button",tabIndex:He?-1:0,"aria-disabled":He,sx:{display:"flex",justifyContent:"center",alignItems:"center",cursor:He?"not-allowed":"pointer",opacity:He?.5:1,...xt()},onClick:()=>!He&&te(We),onKeyDown:wt(()=>!He&&te(We)),children:f.jsx(O.Box,{sx:{p:"0.8rem 1.2rem",borderRadius:"2rem",bgcolor:We===je&&!He&&I.palette.brandColor.orange,color:We===je&&!He?I.palette.brandColor.white:I.palette.primary.notifyActiveText,fontSize:"1.1rem"},children:We})},We)})})}):null},ke=(()=>{if(!r)return"";const ae=je=>ho(je,a,{locale:N});if(t==="range"){if(r?.from&&r?.to)return`${ae(r.from)} - ${ae(r.to)}`;if(r?.from)return`${ae(r.from)} - `}return t==="multiple"&&Array.isArray(r)?r.map(ae).join(", "):ae(r)})(),ve=ae=>ae instanceof Date&&!isNaN(ae.getTime());return go(R,{enabled:Y||u,onEscape:()=>{oe?.()},autoFocus:Y,restoreFocus:Y}),f.jsxs(O.Box,{ref:P,children:[!u&&f.jsx(ls,{label:A(e),value:ke,onClick:s?void 0:he,disabled:s,InputLabelProps:{shrink:!!r},error:l,helperText:A(c),required:b,inputProps:{readOnly:!0,tabIndex:0,style:{cursor:s?"not-allowed":"pointer"}},InputProps:{endAdornment:f.jsx(O.InputAdornment,{position:"end",sx:{px:"0.5rem"},children:f.jsx(Ct,{url:Te.Calendar,style:{zIndex:"9"}})})},onKeyDown:ae=>{ae.key==="Enter"&&(ae.preventDefault(),S(ae.currentTarget))},sx:{cursor:s?"not-allowed":"pointer",opacity:s?.6:1,"& .MuiInputBase-root":{cursor:s?"not-allowed":"pointer"},...d&&!d?.showBorder&&{"& .MuiOutlinedInput-root":{borderRadius:0,"& fieldset":{borderColor:"transparent"},"&:hover fieldset":{borderColor:"transparent"},"&.Mui-focused fieldset":{borderColor:"transparent",borderWidth:"0.1rem"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&.Mui-focused, &:focus-within":{boxShadow:`${Us} !important`}}},"& .MuiInputLabel-root, & .MuiInputLabel-shrink":{maxWidth:"85%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",left:"0.5rem"}}}),f.jsx(O.Box,{component:u?O.Box:O.Popover,id:re,open:u?!0:Y,anchorEl:W,ref:R,onClose:u||h?void 0:oe,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},...!u&&{disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0},sx:u?{width:"max-content",border:`0.1rem solid ${I.palette.primary.notifyBorderColor}`,borderRadius:"0.8rem"}:{"& .MuiPopover-paper":{backgroundColor:"transparent",borderRadius:"1rem"}},children:f.jsxs(O.Box,{sx:{zoom:w??"0.85",backgroundColor:I.palette.primary.notifyBackground,p:"2rem 1.5rem",boxShadow:"none",borderRadius:"1rem","& .rdp-selected .rdp-day_button":{border:"none",backgroundColor:I.palette.brandColor.orange,color:I.palette.brandColor.white},"& .rdp-weekday":{color:I.palette.primary.notifyTextColor,fontSize:"1.2rem",textTransform:"uppercase"},"& .rdp-month_grid ":{marginTop:"1.5rem"},"& .rdp-month_caption":{pl:"1rem"},"& .rdp-range_start":{backgroundImage:`linear-gradient(90deg, transparent 50%, ${I.palette.brandColor.lightOrange} 50%)`},"& .rdp-range_middle":{backgroundColor:I.palette.brandColor.lightOrange,"& .rdp-day_button":{backgroundColor:"transparent"}},"& .rdp-range_end":{backgroundImage:`linear-gradient(90deg, ${I.palette.brandColor.lightOrange} 50%, transparent 50%)`},"& .rdp-caption_label":{color:I.palette.primary.notifyActiveText,fontSize:"1.7rem",fontWeight:"500"},"& .rdp-day_button:disabled":{color:I.palette.primary.notifyTextColor}},children:[f.jsxs(O.Stack,{flexDirection:"row",children:[xe(),L==="calendar"&&f.jsx(Jb,{mode:t,locale:N,selected:j||r,onSelect:u?void 0:ie,month:E,onMonthChange:D,startMonth:m,endMonth:g,captionLayout:u?"label":"dropdown",hideNavigation:!!u,...T,styles:{day:{fontSize:"1.5rem",fontWeight:"300",border:"none",boxShadow:"none",outline:"none",color:I.palette.primary.notifyActiveText}},modifiersStyles:{today:{fontWeight:"bold",color:I.palette.brandColor.orange},disabled:{color:I.palette.primary.notifyBorderColor,opacity:.5,backgroundColor:"transparent",cursor:"not-allowed"}},components:{Chevron:Q,Dropdown:q},disabled:u?!0:{before:m,after:g}}),n&&f.jsx(Ld,{time:se,setTime:ue})]}),h&&f.jsxs(O.Stack,{direction:"row-reverse",gap:"0.5rem",sx:{paddingTop:"1rem",borderTop:ae=>`0.1rem solid ${ae.palette.primary.notifyBorderColor}`},children:[f.jsx(jn,{label:A("LABEL_SAVE"),styles:{variant:"filled",height:"3.2rem"},onClick:()=>{o(j),oe()},disabled:n&&(j==null||!ve(new Date(j)))}),f.jsx(jn,{label:A("LABEL_CANCEL"),styles:{variant:"outlined",height:"3.2rem"},onClick:oe})]})]})})]})},ov=e=>f.jsx(At,{children:f.jsx(rv,{...e})});function sv({...e}){return f.jsx(At,{children:f.jsx(Ld,{...e})})}const Bd=e=>e,iv=(()=>{let e=Bd;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Bd}}})();function Ar(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function Ne(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ar(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Nd(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function $d(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=$d(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Xe(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=$d(e))&&(r&&(r+=" "),r+=t);return r}function Jt(e,t,n=void 0){const r={};for(const o in e){const s=e[o];let i="",a=!0;for(let l=0;l<s.length;l+=1){const c=s[l];c&&(i+=(a===!0?"":" ")+t(c),a=!1,n&&n[c]&&(i+=" "+n[c]))}r[o]=i}return r}var Li={exports:{}},rt={};var Fd;function av(){if(Fd)return rt;Fd=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(C){if(typeof C=="object"&&C!==null){var b=C.$$typeof;switch(b){case e:switch(C=C.type,C){case n:case o:case r:case l:case c:case h:return C;default:switch(C=C&&C.$$typeof,C){case i:case a:case d:case u:return C;case s:return C;default:return b}}case t:return b}}}return rt.ContextConsumer=s,rt.ContextProvider=i,rt.Element=e,rt.ForwardRef=a,rt.Fragment=n,rt.Lazy=d,rt.Memo=u,rt.Portal=t,rt.Profiler=o,rt.StrictMode=r,rt.Suspense=l,rt.SuspenseList=c,rt.isContextConsumer=function(C){return g(C)===s},rt.isContextProvider=function(C){return g(C)===i},rt.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===e},rt.isForwardRef=function(C){return g(C)===a},rt.isFragment=function(C){return g(C)===n},rt.isLazy=function(C){return g(C)===d},rt.isMemo=function(C){return g(C)===u},rt.isPortal=function(C){return g(C)===t},rt.isProfiler=function(C){return g(C)===o},rt.isStrictMode=function(C){return g(C)===r},rt.isSuspense=function(C){return g(C)===l},rt.isSuspenseList=function(C){return g(C)===c},rt.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===o||C===r||C===l||C===c||typeof C=="object"&&C!==null&&(C.$$typeof===d||C.$$typeof===u||C.$$typeof===i||C.$$typeof===s||C.$$typeof===a||C.$$typeof===m||C.getModuleId!==void 0)},rt.typeOf=g,rt}var ot={};var Vd;function lv(){return Vd||(Vd=1,process.env.NODE_ENV!=="production"&&(function(){function e(C){if(typeof C=="object"&&C!==null){var b=C.$$typeof;switch(b){case t:switch(C=C.type,C){case r:case s:case o:case c:case u:case m:return C;default:switch(C=C&&C.$$typeof,C){case a:case l:case h:case d:return C;case i:return C;default:return b}}case n:return b}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");ot.ContextConsumer=i,ot.ContextProvider=a,ot.Element=t,ot.ForwardRef=l,ot.Fragment=r,ot.Lazy=h,ot.Memo=d,ot.Portal=n,ot.Profiler=s,ot.StrictMode=o,ot.Suspense=c,ot.SuspenseList=u,ot.isContextConsumer=function(C){return e(C)===i},ot.isContextProvider=function(C){return e(C)===a},ot.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},ot.isForwardRef=function(C){return e(C)===l},ot.isFragment=function(C){return e(C)===r},ot.isLazy=function(C){return e(C)===h},ot.isMemo=function(C){return e(C)===d},ot.isPortal=function(C){return e(C)===n},ot.isProfiler=function(C){return e(C)===s},ot.isStrictMode=function(C){return e(C)===o},ot.isSuspense=function(C){return e(C)===c},ot.isSuspenseList=function(C){return e(C)===u},ot.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===r||C===s||C===o||C===c||C===u||typeof C=="object"&&C!==null&&(C.$$typeof===h||C.$$typeof===d||C.$$typeof===a||C.$$typeof===i||C.$$typeof===l||C.$$typeof===g||C.getModuleId!==void 0)},ot.typeOf=e})()),ot}var Wd;function cv(){return Wd||(Wd=1,process.env.NODE_ENV==="production"?Li.exports=av():Li.exports=lv()),Li.exports}var ji=cv();function Xn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function zd(e){if(Z.isValidElement(e)||ji.isValidElementType(e)||!Xn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=zd(e[n])}),t}function sn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Xn(e)&&Xn(t)&&Object.keys(t).forEach(o=>{Z.isValidElement(t[o])||ji.isValidElementType(t[o])?r[o]=t[o]:Xn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Xn(e[o])?r[o]=sn(e[o],t[o],n):n.clone?r[o]=Xn(t[o])?zd(t[o]):t[o]:r[o]=t[o]}),r}function gs(e,t){return t?sn(e,t,{clone:!1}):e}const pr=process.env.NODE_ENV!=="production"?y.oneOfType([y.number,y.string,y.object,y.array]):{};function Hd(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{const s=/min-width:\s*([0-9.]+)/;return+(r.match(s)?.[1]||0)-+(o.match(s)?.[1]||0)});return n.length?n.reduce((r,o)=>{const s=t[o];return delete r[o],r[o]=s,r},{...t}):t}function uv(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function dv(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
16
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}const[,r,o]=n,s=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(s)}function fv(e){const t=(s,i)=>s.replace("@media",i?`@container ${i}`:"@container");function n(s,i){s.up=(...a)=>t(e.breakpoints.up(...a),i),s.down=(...a)=>t(e.breakpoints.down(...a),i),s.between=(...a)=>t(e.breakpoints.between(...a),i),s.only=(...a)=>t(e.breakpoints.only(...a),i),s.not=(...a)=>{const l=t(e.breakpoints.not(...a),i);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=s=>(n(r,s),r);return n(o),{...e,containerQueries:o}}const Ri={xs:0,sm:600,md:900,lg:1200,xl:1536},Ud={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ri[e]}px)`},pv={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Ri[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Jn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||Ud;return t.reduce((i,a,l)=>(i[s.up(s.keys[l])]=n(t[l]),i),{})}if(typeof t=="object"){const s=r.breakpoints||Ud;return Object.keys(t).reduce((i,a)=>{if(uv(s.keys,a)){const l=dv(r.containerQueries?r:pv,a);l&&(i[l]=n(t[a],a))}else if(Object.keys(s.values||Ri).includes(a)){const l=s.up(a);i[l]=n(t[a],a)}else{const l=a;i[l]=t[l]}return i},{})}return n(t)}function hv(e={}){return e.keys?.reduce((n,r)=>{const o=e.up(r);return n[o]={},n},{})||{}}function Gd(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function _i(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Bi(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=_i(e,n)||r,t&&(o=t(o,r,e)),o}function St(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,s=i=>{if(i[t]==null)return null;const a=i[t],l=i.theme,c=_i(l,r)||{};return Jn(i,a,d=>{let h=Bi(c,o,d);return d===h&&typeof d=="string"&&(h=Bi(c,o,`${t}${d==="default"?"":Ne(d)}`,d)),n===!1?h:{[n]:h}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:pr}:{},s.filterProps=[t],s}function mv(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const gv={m:"margin",p:"padding"},yv={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Yd={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Cv=mv(e=>{if(e.length>2)if(Yd[e])e=Yd[e];else return[e];const[t,n]=e.split(""),r=gv[t],o=yv[n]||"";return Array.isArray(o)?o.map(s=>r+s):[r+o]}),Ni=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$i=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],bv=[...Ni,...$i];function ys(e,t,n,r){const o=_i(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`),typeof o=="string"?o.startsWith("var(")&&s===0?0:o.startsWith("var(")&&s===1?o:`calc(${s} * ${o})`:o*s):Array.isArray(o)?s=>{if(typeof s=="string")return s;const i=Math.abs(s);process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>o.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${i} > ${o.length-1}, you need to add the missing values.`].join(`
14
+ `),()=>{a.current?.removeAttribute("data-motion-pop-id"),A.contains(M)&&A.removeChild(M)}},[t]),f.jsx(ym,{isPresent:t,childRef:a,sizeRef:l,pop:s,children:s===!1?e:Z.cloneElement(e,{ref:d})})}const bm=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:i,anchorX:a,anchorY:l,root:c})=>{const u=ir(vm),d=p.useId();let h=!0,m=p.useMemo(()=>(h=!1,{id:d,initial:t,isPresent:n,custom:o,onExitComplete:g=>{u.set(g,!0);for(const C of u.values())if(!C)return;r&&r()},register:g=>(u.set(g,!1),()=>u.delete(g))}),[n,u,r]);return s&&h&&(m={...m}),p.useMemo(()=>{u.forEach((g,C)=>u.set(C,!1))},[n]),Z.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=f.jsx(Cm,{pop:i==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:c,children:e}),f.jsx(Ys.Provider,{value:m,children:e})};function vm(){return new Map}function N5(e=!0){const t=p.useContext(Ys);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,s=p.useId();p.useEffect(()=>{if(e)return o(s)},[e]);const i=p.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,i]:[!0]}const Ci=e=>e.key||"";function $5(e){const t=[];return p.Children.forEach(e,n=>{p.isValidElement(n)&&t.push(n)}),t}const xm=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:s="sync",propagate:i=!1,anchorX:a="left",anchorY:l="top",root:c})=>{const[u,d]=N5(i),h=p.useMemo(()=>$5(e),[e]),m=i&&!u?[]:h.map(Ci),g=p.useRef(!0),C=p.useRef(h),b=ir(()=>new Map),v=p.useRef(new Set),[k,w]=p.useState(h),[x,T]=p.useState(h);G0(()=>{g.current=!1,C.current=h;for(let I=0;I<x.length;I++){const P=Ci(x[I]);m.includes(P)?(b.delete(P),v.current.delete(P)):b.get(P)!==!0&&b.set(P,!1)}},[x,m.length,m.join("-")]);const M=[];if(h!==k){let I=[...h];for(let P=0;P<x.length;P++){const R=x[P],W=Ci(R);m.includes(W)||(I.splice(P,0,R),M.push(R))}return s==="wait"&&M.length&&(I=M),T($5(I)),w(h),null}process.env.NODE_ENV!=="production"&&s==="wait"&&x.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:A}=p.useContext(U0);return f.jsx(f.Fragment,{children:x.map(I=>{const P=Ci(I),R=i&&!u?!1:h===x||m.includes(P),W=()=>{if(v.current.has(P))return;if(b.has(P))v.current.add(P),b.set(P,!0);else return;let S=!0;b.forEach(j=>{j||(S=!1)}),S&&(A?.(),T(C.current),i&&d?.(),r&&r())};return f.jsx(bm,{isPresent:R,initial:!g.current||n?void 0:!1,custom:t,presenceAffectsLayout:o,mode:s,root:c,onExitComplete:R?void 0:W,anchorX:a,anchorY:l,children:I},P)})})},F5=p.createContext({strict:!1}),V5={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let W5=!1;function wm(){if(W5)return;const e={};for(const t in V5)e[t]={isEnabled:n=>V5[t].some(r=>!!n[r])};_7(e),W5=!0}function z5(){return wm(),s4()}function Sm(e){const t=z5();for(const n in e)t[n]={...t[n],...e[n]};_7(t)}const km=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function bi(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||km.has(e)}let H5=e=>!bi(e);function Tm(e){typeof e=="function"&&(H5=t=>t.startsWith("on")?!bi(t):e(t))}try{Tm(require("@emotion/is-prop-valid").default)}catch{}function Em(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||jt(e[o])||(H5(o)||n===!0&&bi(o)||!t&&!bi(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const vi=p.createContext({});function Mm(e,t){if(ui(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Qo(n)?n:void 0,animate:Qo(r)?r:void 0}}return e.inherit!==!1?t:{}}function Om(e){const{initial:t,animate:n}=Mm(e,p.useContext(vi));return p.useMemo(()=>({initial:t,animate:n}),[U5(t),U5(n)])}function U5(e){return Array.isArray(e)?e.join(" "):e}const X2=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function G5(e,t,n){for(const r in t)!jt(t[r])&&!Z7(r,n)&&(e[r]=t[r])}function Dm({transformTemplate:e},t){return p.useMemo(()=>{const n=X2();return H2(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Am(e,t){const n=e.style||{},r={};return G5(r,n,e),Object.assign(r,Dm(e,t)),r}function Im(e,t){const n={},r=Am(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Y5=()=>({...X2(),attrs:{}});function Pm(e,t,n,r){const o=p.useMemo(()=>{const s=Y5();return X7(s,t,Q7(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};G5(s,e.style,e),o.style={...s,...o.style}}return o}const Lm=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function J2(e){return typeof e!="string"||e.includes("-")?!1:!!(Lm.indexOf(e)>-1||/[A-Z]/u.test(e))}function jm(e,t,n,{latestValues:r},o,s=!1,i){const l=(i??J2(e)?Pm:Im)(t,r,o,e),c=Em(t,typeof e=="string",s),u=e!==p.Fragment?{...c,...l,ref:n}:{},{children:d}=t,h=p.useMemo(()=>jt(d)?d.get():d,[d]);return p.createElement(e,{...u,children:h})}function Rm({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:_m(n,r,o,e),renderState:t()}}function _m(e,t,n,r){const o={},s=r(e,{});for(const h in s)o[h]=mi(s[h]);let{initial:i,animate:a}=e;const l=ui(e),c=L7(e);t&&c&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||i===!1;const d=u?a:i;if(d&&typeof d!="boolean"&&!ci(d)){const h=Array.isArray(d)?d:[d];for(let m=0;m<h.length;m++){const g=E2(e,h[m]);if(g){const{transitionEnd:C,transition:b,...v}=g;for(const k in v){let w=v[k];if(Array.isArray(w)){const x=u?w.length-1:0;w=w[x]}w!==null&&(o[k]=w)}for(const k in C)o[k]=C[k]}}}return o}const q5=e=>(t,n)=>{const r=p.useContext(vi),o=p.useContext(Ys),s=()=>Rm(e,t,r,o);return n?s():ir(s)},Bm=q5({scrapeMotionValuesFromProps:G2,createRenderState:X2}),Nm=q5({scrapeMotionValuesFromProps:e5,createRenderState:Y5}),$m=Symbol.for("motionComponentSymbol");function Fm(e,t,n){const r=p.useRef(n);p.useInsertionEffect(()=>{r.current=n});const o=p.useRef(null);return p.useCallback(s=>{s&&e.onMount?.(s),t&&(s?t.mount(s):t.unmount());const i=r.current;if(typeof i=="function")if(s){const a=i(s);typeof a=="function"&&(o.current=a)}else o.current?(o.current(),o.current=null):i(s);else i&&(i.current=s)},[t])}const K5=p.createContext({});function ao(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Vm(e,t,n,r,o,s){const{visualElement:i}=p.useContext(vi),a=p.useContext(F5),l=p.useContext(Ys),c=p.useContext(yi),u=c.reducedMotion,d=c.skipAnimations,h=p.useRef(null),m=p.useRef(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:s}),m.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const g=h.current,C=p.useContext(K5);g&&!g.projection&&o&&(g.type==="html"||g.type==="svg")&&Wm(h.current,n,o,C);const b=p.useRef(!1);p.useInsertionEffect(()=>{g&&b.current&&g.update(n,l)});const v=n[p7],k=p.useRef(!!v&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return G0(()=>{m.current=!0,g&&(b.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),k.current&&g.animationState&&g.animationState.animateChanges())}),p.useEffect(()=>{g&&(!k.current&&g.animationState&&g.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),k.current=!1),g.enteringChildren=void 0)}),g}function Wm(e,t,n,r){const{layoutId:o,layout:s,drag:i,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Z5(e.parent)),e.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:!!i||a&&ao(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}function Z5(e){if(e)return e.options.allowProjection!==!1?e.projection:Z5(e.parent)}function Q2(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&Sm(r);const s=n?n==="svg":J2(e),i=s?Nm:Bm;function a(c,u){let d;const h={...p.useContext(yi),...c,layoutId:zm(c)},{isStatic:m}=h,g=Om(c),C=i(c,m);if(!m&&typeof window<"u"){Hm(h,r);const b=Um(h);d=b.MeasureLayout,g.visualElement=Vm(e,C,h,o,b.ProjectionNode,s)}return f.jsxs(vi.Provider,{value:g,children:[d&&g.visualElement?f.jsx(d,{visualElement:g.visualElement,...h}):null,jm(e,c,Fm(C,g.visualElement,u),C,m,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=p.forwardRef(a);return l[$m]=e,l}function zm({layoutId:e}){const t=p.useContext(U0).id;return t&&e!==void 0?t+"-"+e:e}function Hm(e,t){const n=p.useContext(F5).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Jr(!1,r,"lazy-strict-mode"):Cn(!1,r,"lazy-strict-mode")}}function Um(e){const t=z5(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n?.isEnabled(e)||r?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function Gm(e,t){if(typeof Proxy>"u")return Q2;const n=new Map,r=(s,i)=>Q2(s,i,e,t),o=(s,i)=>(process.env.NODE_ENV!=="production"&&Z0(!1,"motion() is deprecated. Use motion.create() instead."),r(s,i));return new Proxy(o,{get:(s,i)=>i==="create"?r:(n.has(i)||n.set(i,Q2(i,void 0,e,t)),n.get(i))})}const Ym=(e,t)=>t.isSVG??J2(e)?new w4(t):new g4(t,{allowProjection:e!==p.Fragment});class qm extends cr{constructor(t){super(t),t.animationState||(t.animationState=M4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();ci(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Km=0;class Zm extends cr{constructor(){super(...arguments),this.id=Km++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:s,custom:i}=this.node.getProps();if(typeof s=="string"||typeof s=="object"&&s!==null&&!Array.isArray(s)){const a=Tr(this.node,s,i);if(a){const{transition:l,transitionEnd:c,...u}=a;for(const d in u)this.node.getValue(d)?.jump(u[d])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Xm={animation:{Feature:qm},exit:{Feature:Zm}};function rs(e){return{point:{x:e.pageX,y:e.pageY}}}const Jm=e=>t=>R2(t)&&e(t,rs(t));function os(e,t,n,r){return ns(e,t,Jm(n),r)}const X5=({current:e})=>e?e.ownerDocument.defaultView:null,J5=(e,t)=>Math.abs(e-t);function Qm(e,t){const n=J5(e.x,t.x),r=J5(e.y,t.y);return Math.sqrt(n**2+r**2)}const Q5=new Set(["auto","scroll"]);class eu{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:s=!1,distanceThreshold:i=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=xi(this.lastRawMoveEventInfo,this.transformPagePoint));const m=ea(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,C=Qm(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!C)return;const{point:b}=m,{timestamp:v}=Rt;this.history.push({...b,timestamp:v});const{onStart:k,onMove:w}=this.handlers;g||(k&&k(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,m)},this.handlePointerMove=(m,g)=>{this.lastMoveEvent=m,this.lastRawMoveEventInfo=g,this.lastMoveEventInfo=xi(g,this.transformPagePoint),et.update(this.updatePoint,!0)},this.handlePointerUp=(m,g)=>{this.end();const{onEnd:C,onSessionEnd:b,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=ea(m.type==="pointercancel"?this.lastMoveEventInfo:xi(g,this.transformPagePoint),this.history);this.startEvent&&C&&C(m,k),b&&b(m,k)},!R2(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=o||window;const l=rs(t),c=xi(l,this.transformPagePoint),{point:u}=c,{timestamp:d}=Rt;this.history=[{...u,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,ea(c,this.history)),this.removeListeners=Uo(os(this.contextWindow,"pointermove",this.handlePointerMove),os(this.contextWindow,"pointerup",this.handlePointerUp),os(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Q5.has(r.overflowX)||Q5.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,o=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:o.x-n.x,y:o.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,o),et.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Yn(this.updatePoint)}}function xi(e,t){return t?{point:t(e.point)}:e}function tu(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ea({point:e},t){return{point:e,delta:tu(e,nu(t)),offset:tu(e,eg(t)),velocity:tg(t,.1)}}function eg(e){return e[0]}function nu(e){return e[e.length-1]}function tg(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=nu(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Zt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>Zt(t)*2&&(r=e[1]);const s=fn(o.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const i={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function ng(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?tt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?tt(n,e,r.max):Math.min(e,n)),e}function ru(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function rg(e,{top:t,left:n,bottom:r,right:o}){return{x:ru(e.x,n,o),y:ru(e.y,t,r)}}function ou(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function og(e,t){return{x:ou(e.x,t.x),y:ou(e.y,t.y)}}function sg(e,t){let n=.5;const r=Ht(e),o=Ht(t);return o>r?n=Go(t.min,t.max-r,e.min):r>o&&(n=Go(e.min,e.max-o,t.min)),An(0,1,n)}function ig(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ta=.35;function ag(e=ta){return e===!1?e=0:e===!0&&(e=ta),{x:su(e,"left","right"),y:su(e,"top","bottom")}}function su(e,t,n){return{min:iu(e,t),max:iu(e,n)}}function iu(e,t){return typeof e=="number"?e:e[t]||0}const lg=new WeakMap;class cg{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=It(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const s=d=>{n&&this.snapToCursor(rs(d).point),this.stopAnimation()},i=(d,h)=>{const{drag:m,dragPropagation:g,onDragStart:C}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=j6(m),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ln(v=>{let k=this.getAxisMotionValue(v).get()||0;if(In.test(k)){const{projection:w}=this.visualElement;if(w&&w.layout){const x=w.layout.layoutBox[v];x&&(k=Ht(x)*(parseFloat(k)/100))}}this.originPoint[v]=k}),C&&et.update(()=>C(d,h),!1,!0),O2(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},a=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:g,onDirectionLock:C,onDrag:b}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:v}=h;if(g&&this.currentDirection===null){this.currentDirection=dg(v),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",h.point,v),this.updateAxis("y",h.point,v),this.visualElement.render(),b&&et.update(()=>b(d,h),!1,!0)},l=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h,this.stop(d,h),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new eu(t,{onSessionStart:s,onStart:i,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:X5(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!o||!r)return;const{velocity:i}=o;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&et.postRender(()=>a(r,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!wi(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=ng(i,this.constraints[t],this.elastic[t])),s.set(i)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&ao(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=rg(r.layoutBox,t):this.constraints=!1,this.elastic=ag(n),o!==this.constraints&&!ao(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Ln(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=ig(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ao(t))return!1;const r=t.current;Cn(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;o.root&&(o.root.scroll=void 0,o.root.updateScroll());const s=u4(r,o.root,this.visualElement.getTransformPagePoint());let i=og(o.layout.layoutBox,s);if(n){const a=n(a4(i));this.hasMutatedConstraints=!!a,a&&(i=N7(a))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=Ln(u=>{if(!wi(u,n,this.currentDirection))return;let d=l&&l[u]||{};(i===!0||i===u)&&(d={min:0,max:0});const h=o?200:1e6,m=o?40:1e7,g={type:"inertia",velocity:r?t[u]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(u,g)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return O2(this.visualElement,t),r.start(T2(t,r,0,n,this.visualElement,!1))}stopAnimation(){Ln(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps()[n];return o||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){Ln(n=>{const{drag:r}=this.getProps();if(!wi(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(n);if(o&&o.layout){const{min:i,max:a}=o.layout.layoutBox[n],l=s.get()||0;s.set(t[n]-tt(i,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ao(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Ln(i=>{const a=this.getAxisMotionValue(i);if(a&&this.constraints!==!1){const l=a.get();o[i]=sg({min:l,max:l},this.constraints[i])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ln(i=>{if(!wi(i,t,null))return;const a=this.getAxisMotionValue(i),{min:l,max:c}=this.constraints[i];a.set(tt(l,c,o[i]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;lg.set(this.visualElement,this);const t=this.visualElement.current,n=os(t,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps(),h=c.target,m=h!==t&&F6(h);u&&d&&!m&&this.start(c)});let r;const o=()=>{const{dragConstraints:c}=this.getProps();ao(c)&&c.current&&(this.constraints=this.resolveRefConstraints(),r||(r=ug(t,c.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,i=s.addEventListener("measure",o);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),et.read(o);const a=ns(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",(({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(Ln(d=>{const h=this.getAxisMotionValue(d);h&&(this.originPoint[d]+=c[d].translate,h.set(h.get()+c[d].translate))}),this.visualElement.render())}));return()=>{a(),n(),i(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:i=ta,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:i,dragMomentum:a}}}function au(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function ug(e,t,n){const r=A7(e,au(n)),o=A7(t,au(n));return()=>{r(),o()}}function wi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function dg(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class fg extends cr{constructor(t){super(t),this.removeGroupControls=dn,this.removeListeners=dn,this.controls=new cg(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||dn}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const na=e=>(t,n)=>{e&&et.update(()=>e(t,n),!1,!0)};class pg extends cr{constructor(){super(...arguments),this.removePointerDownListener=dn}onPointerDown(t){this.session=new eu(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:X5(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:na(t),onStart:na(n),onMove:na(r),onEnd:(s,i)=>{delete this.session,o&&et.postRender(()=>o(s,i))}}}mount(){this.removePointerDownListener=os(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ra=!1;class hg extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&o&&r.register(s),ra&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),gi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:s}=this.props,{projection:i}=r;return i&&(i.isPresent=s,t.layoutDependency!==n&&i.setOptions({...i.options,layoutDependency:n}),ra=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==s?i.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?i.promote():i.relegate()||et.postRender(()=>{const a=i.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),j2.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;ra=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function lu(e){const[t,n]=N5(),r=p.useContext(U0);return f.jsx(hg,{...e,layoutGroup:r,switchLayoutGroup:p.useContext(K5),isPresent:t,safeToRemove:n})}const mg={pan:{Feature:pg},drag:{Feature:fg,ProjectionNode:_5,MeasureLayout:lu}};function cu(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,s=r[o];s&&et.postRender(()=>s(t,rs(t)))}class gg extends cr{mount(){const{current:t}=this.node;t&&(this.unmount=_6(t,(n,r)=>(cu(this.node,r,"Start"),o=>cu(this.node,o,"End"))))}unmount(){}}class yg extends cr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Uo(ns(this.node.current,"focus",()=>this.onFocus()),ns(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function uu(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),s=r[o];s&&et.postRender(()=>s(t,rs(t)))}class Cg extends cr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=W6(t,(o,s)=>(uu(this.node,s,"Start"),(i,{success:a})=>uu(this.node,i,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:r?.tap===!1})}unmount(){}}const oa=new WeakMap,sa=new WeakMap,bg=e=>{const t=oa.get(e.target);t&&t(e)},vg=e=>{e.forEach(bg)};function xg({root:e,...t}){const n=e||document;sa.has(n)||sa.set(n,{});const r=sa.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(vg,{root:e,...t})),r[o]}function wg(e,t,n){const r=xg(t);return oa.set(e,n),r.observe(e),()=>{oa.delete(e),r.unobserve(e)}}const Sg={some:0,all:1};class kg extends cr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:Sg[o]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,s&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),h=c?u:d;h&&h(l)};this.stopObserver=wg(this.node.current,i,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Tg(t,n))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function Tg({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Eg={...Xm,...{inView:{Feature:kg},tap:{Feature:Cg},focus:{Feature:yg},hover:{Feature:gg}},...mg,...{layout:{ProjectionNode:_5,MeasureLayout:lu}}},ur=Gm(Eg,Ym);function du(e){const t=ir(()=>kr(e)),{isStatic:n}=p.useContext(yi);if(n){const[,r]=p.useState(e);p.useEffect(()=>t.on("change",r),[])}return t}function fu(e,t){const n=du(t()),r=()=>n.set(t());return r(),G0(()=>{const o=()=>et.preRender(r,!1,!0),s=e.map(i=>i.on("change",o));return()=>{s.forEach(i=>i()),Yn(r)}}),n}function Mg(e){Jo.current=[],e();const t=fu(Jo.current,e);return Jo.current=void 0,t}function Og(e,t,n,r){if(typeof e=="function")return Mg(e);const s=typeof t=="function"?t:J6(t,n,r),i=Array.isArray(e)?pu(e,s):pu([e],([l])=>s(l)),a=Array.isArray(e)?void 0:e.accelerate;return a&&!a.isTransformed&&typeof t!="function"&&Array.isArray(n)&&r?.clamp!==!1&&(i.accelerate={...a,times:t,keyframes:n,isTransformed:!0}),i}function pu(e,t){const n=ir(()=>[]);return fu(e,()=>{n.length=0;const r=e.length;for(let o=0;o<r;o++)n[o]=e[o].get();return t(n)})}class Dg{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(r=>{r.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const Ag=()=>new Dg;function hu(){return ir(Ag)}const mu=p.createContext(null);function Ig(e,t,n,r){if(!r)return e;const o=e.findIndex(u=>u.value===t);if(o===-1)return e;const s=r>0?1:-1,i=e[o+s];if(!i)return e;const a=e[o],l=i.layout,c=tt(l.min,l.max,.5);return s===1&&a.layout.max+n>c||s===-1&&a.layout.min+n<c?Lp(e,o,o+s):e}function Pg({children:e,as:t="ul",axis:n="y",onReorder:r,values:o,...s},i){const a=ir(()=>ur[t]),l=[],c=p.useRef(!1),u=p.useRef(null);Cn(!!o,"Reorder.Group must be provided a values prop","reorder-values");const d={axis:n,groupRef:u,registerItem:(g,C)=>{const b=l.findIndex(v=>g===v.value);b!==-1?l[b].layout=C[n]:l.push({value:g,layout:C[n]}),l.sort(jg)},updateOrder:(g,C,b)=>{if(c.current)return;const v=Ig(l,g,C,b);if(l!==v){c.current=!0;const k=[...o];for(let w=0;w<v.length;w++)if(l[w].value!==v[w].value){const x=o.indexOf(l[w].value),T=o.indexOf(v[w].value);x!==-1&&T!==-1&&([k[x],k[T]]=[k[T],k[x]]);break}r(k)}}};p.useEffect(()=>{c.current=!1});const h=g=>{u.current=g,typeof i=="function"?i(g):i&&(i.current=g)},m={overflowAnchor:"none",...s.style};return f.jsx(a,{...s,style:m,ref:h,ignoreStrict:!0,children:f.jsx(mu.Provider,{value:d,children:e})})}const Lg=p.forwardRef(Pg);function jg(e,t){return e.layout.min-t.layout.min}const Si=50,gu=25,Rg=new Set(["auto","scroll"]),ss=new WeakMap,is=new WeakMap;let as=null;function _g(){if(as){const e=ia(as,"y");e&&(is.delete(e),ss.delete(e));const t=ia(as,"x");t&&t!==e&&(is.delete(t),ss.delete(t)),as=null}}function Bg(e,t){const n=getComputedStyle(e),r=t==="x"?n.overflowX:n.overflowY,o=e===document.body||e===document.documentElement;return Rg.has(r)||o}function ia(e,t){let n=e?.parentElement;for(;n;){if(Bg(n,t))return n;n=n.parentElement}return null}function Ng(e,t,n){const r=t.getBoundingClientRect(),o=n==="x"?Math.max(0,r.left):Math.max(0,r.top),s=n==="x"?Math.min(window.innerWidth,r.right):Math.min(window.innerHeight,r.bottom),i=e-o,a=s-e;if(i<Si){const l=1-i/Si;return{amount:-gu*l*l,edge:"start"}}else if(a<Si){const l=1-a/Si;return{amount:gu*l*l,edge:"end"}}return{amount:0,edge:null}}function $g(e,t,n,r){if(!e)return;as=e;const o=ia(e,n);if(!o)return;const s=t-(n==="x"?window.scrollX:window.scrollY),{amount:i,edge:a}=Ng(s,o,n);if(a===null){is.delete(o),ss.delete(o);return}const l=is.get(o),c=o===document.body||o===document.documentElement;if(l!==a){if(!(a==="start"&&r<0||a==="end"&&r>0))return;is.set(o,a);const d=n==="x"?o.scrollWidth-(c?window.innerWidth:o.clientWidth):o.scrollHeight-(c?window.innerHeight:o.clientHeight);ss.set(o,d)}if(i>0){const u=ss.get(o);if((n==="x"?c?window.scrollX:o.scrollLeft:c?window.scrollY:o.scrollTop)>=u)return}n==="x"?c?window.scrollBy({left:i}):o.scrollLeft+=i:c?window.scrollBy({top:i}):o.scrollTop+=i}function yu(e,t=0){return jt(e)?e:du(t)}function Fg({children:e,style:t={},value:n,as:r="li",onDrag:o,onDragEnd:s,layout:i=!0,...a},l){const c=ir(()=>ur[r]),u=p.useContext(mu),d={x:yu(t.x),y:yu(t.y)},h=Og([d.x,d.y],([v,k])=>v||k?1:"unset");Cn(!!u,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:m,registerItem:g,updateOrder:C,groupRef:b}=u;return f.jsx(c,{drag:m,...a,dragSnapToOrigin:!0,style:{...t,x:d.x,y:d.y,zIndex:h},layout:i,onDrag:(v,k)=>{const{velocity:w,point:x}=k,T=d[m].get();C(n,T,w[m]),$g(b.current,x[m],m,w[m]),o&&o(v,k)},onDragEnd:(v,k)=>{_g(),s&&s(v,k)},onLayoutMeasure:v=>{g(n,v)},ref:l,ignoreStrict:!0,children:e})}const Cu=p.forwardRef(Fg);var ki={exports:{}},Ti={exports:{}},Ye={};var bu;function Vg(){if(bu)return Ye;bu=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,C=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function w(T){if(typeof T=="object"&&T!==null){var M=T.$$typeof;switch(M){case t:switch(T=T.type,T){case l:case c:case r:case s:case o:case d:return T;default:switch(T=T&&T.$$typeof,T){case a:case u:case g:case m:case i:return T;default:return M}}case n:return M}}}function x(T){return w(T)===c}return Ye.AsyncMode=l,Ye.ConcurrentMode=c,Ye.ContextConsumer=a,Ye.ContextProvider=i,Ye.Element=t,Ye.ForwardRef=u,Ye.Fragment=r,Ye.Lazy=g,Ye.Memo=m,Ye.Portal=n,Ye.Profiler=s,Ye.StrictMode=o,Ye.Suspense=d,Ye.isAsyncMode=function(T){return x(T)||w(T)===l},Ye.isConcurrentMode=x,Ye.isContextConsumer=function(T){return w(T)===a},Ye.isContextProvider=function(T){return w(T)===i},Ye.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===t},Ye.isForwardRef=function(T){return w(T)===u},Ye.isFragment=function(T){return w(T)===r},Ye.isLazy=function(T){return w(T)===g},Ye.isMemo=function(T){return w(T)===m},Ye.isPortal=function(T){return w(T)===n},Ye.isProfiler=function(T){return w(T)===s},Ye.isStrictMode=function(T){return w(T)===o},Ye.isSuspense=function(T){return w(T)===d},Ye.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===r||T===c||T===s||T===o||T===d||T===h||typeof T=="object"&&T!==null&&(T.$$typeof===g||T.$$typeof===m||T.$$typeof===i||T.$$typeof===a||T.$$typeof===u||T.$$typeof===b||T.$$typeof===v||T.$$typeof===k||T.$$typeof===C)},Ye.typeOf=w,Ye}var qe={};var vu;function Wg(){return vu||(vu=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,C=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function w(q){return typeof q=="string"||typeof q=="function"||q===r||q===c||q===s||q===o||q===d||q===h||typeof q=="object"&&q!==null&&(q.$$typeof===g||q.$$typeof===m||q.$$typeof===i||q.$$typeof===a||q.$$typeof===u||q.$$typeof===b||q.$$typeof===v||q.$$typeof===k||q.$$typeof===C)}function x(q){if(typeof q=="object"&&q!==null){var xe=q.$$typeof;switch(xe){case t:var ke=q.type;switch(ke){case l:case c:case r:case s:case o:case d:return ke;default:var ve=ke&&ke.$$typeof;switch(ve){case a:case u:case g:case m:case i:return ve;default:return xe}}case n:return xe}}}var T=l,M=c,A=a,I=i,P=t,R=u,W=r,S=g,j=m,_=n,N=s,U=o,se=d,ue=!1;function B(q){return ue||(ue=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),E(q)||x(q)===l}function E(q){return x(q)===c}function D(q){return x(q)===a}function L(q){return x(q)===i}function $(q){return typeof q=="object"&&q!==null&&q.$$typeof===t}function Y(q){return x(q)===u}function re(q){return x(q)===r}function he(q){return x(q)===g}function oe(q){return x(q)===m}function X(q){return x(q)===n}function te(q){return x(q)===s}function ie(q){return x(q)===o}function Q(q){return x(q)===d}qe.AsyncMode=T,qe.ConcurrentMode=M,qe.ContextConsumer=A,qe.ContextProvider=I,qe.Element=P,qe.ForwardRef=R,qe.Fragment=W,qe.Lazy=S,qe.Memo=j,qe.Portal=_,qe.Profiler=N,qe.StrictMode=U,qe.Suspense=se,qe.isAsyncMode=B,qe.isConcurrentMode=E,qe.isContextConsumer=D,qe.isContextProvider=L,qe.isElement=$,qe.isForwardRef=Y,qe.isFragment=re,qe.isLazy=he,qe.isMemo=oe,qe.isPortal=X,qe.isProfiler=te,qe.isStrictMode=ie,qe.isSuspense=Q,qe.isValidElementType=w,qe.typeOf=x})()),qe}var xu;function wu(){return xu||(xu=1,process.env.NODE_ENV==="production"?Ti.exports=Vg():Ti.exports=Wg()),Ti.exports}var aa,Su;function zg(){if(Su)return aa;Su=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var i={},a=0;a<10;a++)i["_"+String.fromCharCode(a)]=a;var l=Object.getOwnPropertyNames(i).map(function(u){return i[u]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(u){c[u]=u}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return aa=o()?Object.assign:function(s,i){for(var a,l=r(s),c,u=1;u<arguments.length;u++){a=Object(arguments[u]);for(var d in a)t.call(a,d)&&(l[d]=a[d]);if(e){c=e(a);for(var h=0;h<c.length;h++)n.call(a,c[h])&&(l[c[h]]=a[c[h]])}}return l},aa}var la,ku;function ca(){if(ku)return la;ku=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return la=e,la}var ua,Tu;function Eu(){return Tu||(Tu=1,ua=Function.call.bind(Object.prototype.hasOwnProperty)),ua}var da,Mu;function Hg(){if(Mu)return da;Mu=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ca(),n={},r=Eu();e=function(s){var i="Warning: "+s;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(s,i,a,l,c){if(process.env.NODE_ENV!=="production"){for(var u in s)if(r(s,u)){var d;try{if(typeof s[u]!="function"){var h=Error((l||"React class")+": "+a+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}d=s[u](i,u,l,a,null,t)}catch(g){d=g}if(d&&!(d instanceof Error)&&e((l||"React class")+": type specification of "+a+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var m=c?c():"";e("Failed "+a+" type: "+d.message+(m??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},da=o,da}var fa,Ou;function Ug(){if(Ou)return fa;Ou=1;var e=wu(),t=zg(),n=ca(),r=Eu(),o=Hg(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function i(){return null}return fa=function(a,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function d(E){var D=E&&(c&&E[c]||E[u]);if(typeof D=="function")return D}var h="<<anonymous>>",m={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:k(),arrayOf:w,element:x(),elementType:T(),instanceOf:M,node:R(),objectOf:I,oneOf:A,oneOfType:P,shape:S,exact:j};function g(E,D){return E===D?E!==0||1/E===1/D:E!==E&&D!==D}function C(E,D){this.message=E,this.data=D&&typeof D=="object"?D:{},this.stack=""}C.prototype=Error.prototype;function b(E){if(process.env.NODE_ENV!=="production")var D={},L=0;function $(re,he,oe,X,te,ie,Q){if(X=X||h,ie=ie||oe,Q!==n){if(l){var q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw q.name="Invariant Violation",q}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var xe=X+":"+oe;!D[xe]&&L<3&&(s("You are manually calling a React.PropTypes validation function for the `"+ie+"` prop on `"+X+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),D[xe]=!0,L++)}}return he[oe]==null?re?he[oe]===null?new C("The "+te+" `"+ie+"` is marked as required "+("in `"+X+"`, but its value is `null`.")):new C("The "+te+" `"+ie+"` is marked as required in "+("`"+X+"`, but its value is `undefined`.")):null:E(he,oe,X,te,ie)}var Y=$.bind(null,!1);return Y.isRequired=$.bind(null,!0),Y}function v(E){function D(L,$,Y,re,he,oe){var X=L[$],te=U(X);if(te!==E){var ie=se(X);return new C("Invalid "+re+" `"+he+"` of type "+("`"+ie+"` supplied to `"+Y+"`, expected ")+("`"+E+"`."),{expectedType:E})}return null}return b(D)}function k(){return b(i)}function w(E){function D(L,$,Y,re,he){if(typeof E!="function")return new C("Property `"+he+"` of component `"+Y+"` has invalid PropType notation inside arrayOf.");var oe=L[$];if(!Array.isArray(oe)){var X=U(oe);return new C("Invalid "+re+" `"+he+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected an array."))}for(var te=0;te<oe.length;te++){var ie=E(oe,te,Y,re,he+"["+te+"]",n);if(ie instanceof Error)return ie}return null}return b(D)}function x(){function E(D,L,$,Y,re){var he=D[L];if(!a(he)){var oe=U(he);return new C("Invalid "+Y+" `"+re+"` of type "+("`"+oe+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return b(E)}function T(){function E(D,L,$,Y,re){var he=D[L];if(!e.isValidElementType(he)){var oe=U(he);return new C("Invalid "+Y+" `"+re+"` of type "+("`"+oe+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return b(E)}function M(E){function D(L,$,Y,re,he){if(!(L[$]instanceof E)){var oe=E.name||h,X=B(L[$]);return new C("Invalid "+re+" `"+he+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected ")+("instance of `"+oe+"`."))}return null}return b(D)}function A(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),i;function D(L,$,Y,re,he){for(var oe=L[$],X=0;X<E.length;X++)if(g(oe,E[X]))return null;var te=JSON.stringify(E,function(Q,q){var xe=se(q);return xe==="symbol"?String(q):q});return new C("Invalid "+re+" `"+he+"` of value `"+String(oe)+"` "+("supplied to `"+Y+"`, expected one of "+te+"."))}return b(D)}function I(E){function D(L,$,Y,re,he){if(typeof E!="function")return new C("Property `"+he+"` of component `"+Y+"` has invalid PropType notation inside objectOf.");var oe=L[$],X=U(oe);if(X!=="object")return new C("Invalid "+re+" `"+he+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected an object."));for(var te in oe)if(r(oe,te)){var ie=E(oe,te,Y,re,he+"."+te,n);if(ie instanceof Error)return ie}return null}return b(D)}function P(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var D=0;D<E.length;D++){var L=E[D];if(typeof L!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ue(L)+" at index "+D+"."),i}function $(Y,re,he,oe,X){for(var te=[],ie=0;ie<E.length;ie++){var Q=E[ie],q=Q(Y,re,he,oe,X,n);if(q==null)return null;q.data&&r(q.data,"expectedType")&&te.push(q.data.expectedType)}var xe=te.length>0?", expected one of type ["+te.join(", ")+"]":"";return new C("Invalid "+oe+" `"+X+"` supplied to "+("`"+he+"`"+xe+"."))}return b($)}function R(){function E(D,L,$,Y,re){return _(D[L])?null:new C("Invalid "+Y+" `"+re+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return b(E)}function W(E,D,L,$,Y){return new C((E||"React class")+": "+D+" type `"+L+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Y+"`.")}function S(E){function D(L,$,Y,re,he){var oe=L[$],X=U(oe);if(X!=="object")return new C("Invalid "+re+" `"+he+"` of type `"+X+"` "+("supplied to `"+Y+"`, expected `object`."));for(var te in E){var ie=E[te];if(typeof ie!="function")return W(Y,re,he,te,se(ie));var Q=ie(oe,te,Y,re,he+"."+te,n);if(Q)return Q}return null}return b(D)}function j(E){function D(L,$,Y,re,he){var oe=L[$],X=U(oe);if(X!=="object")return new C("Invalid "+re+" `"+he+"` of type `"+X+"` "+("supplied to `"+Y+"`, expected `object`."));var te=t({},L[$],E);for(var ie in te){var Q=E[ie];if(r(E,ie)&&typeof Q!="function")return W(Y,re,he,ie,se(Q));if(!Q)return new C("Invalid "+re+" `"+he+"` key `"+ie+"` supplied to `"+Y+"`.\nBad object: "+JSON.stringify(L[$],null," ")+`
15
+ Valid keys: `+JSON.stringify(Object.keys(E),null," "));var q=Q(oe,ie,Y,re,he+"."+ie,n);if(q)return q}return null}return b(D)}function _(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(_);if(E===null||a(E))return!0;var D=d(E);if(D){var L=D.call(E),$;if(D!==E.entries){for(;!($=L.next()).done;)if(!_($.value))return!1}else for(;!($=L.next()).done;){var Y=$.value;if(Y&&!_(Y[1]))return!1}}else return!1;return!0;default:return!1}}function N(E,D){return E==="symbol"?!0:D?D["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&D instanceof Symbol:!1}function U(E){var D=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":N(D,E)?"symbol":D}function se(E){if(typeof E>"u"||E===null)return""+E;var D=U(E);if(D==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return D}function ue(E){var D=se(E);switch(D){case"array":case"object":return"an "+D;case"boolean":case"date":case"regexp":return"a "+D;default:return D}}function B(E){return!E.constructor||!E.constructor.name?h:E.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},fa}var pa,Du;function Gg(){if(Du)return pa;Du=1;var e=ca();function t(){}function n(){}return n.resetWarningCache=t,pa=function(){function r(i,a,l,c,u,d){if(d!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},pa}var Au;function Yg(){if(Au)return ki.exports;if(Au=1,process.env.NODE_ENV!=="production"){var e=wu(),t=!0;ki.exports=Ug()(e.isElement,t)}else ki.exports=Gg()();return ki.exports}var qg=Yg();const y=Mp(qg),Ct=({name:e,size:t=24,url:n,color:r="currentColor",style:o={},...s})=>{const{isPrimary:i}=s,a=n||Te[e],c=O.useTheme().palette.mode==="dark",u=i?"invert(0%) brightness(200%)":c?"invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%)":"invert(48%) sepia(0%) saturate(0%) hue-rotate(181deg) brightness(95%) contrast(90%)";return a?f.jsx("img",{src:a,alt:`${e}-icon`,draggable:!1,style:{filter:u,...o},...s}):null},Kg='button:not([disabled]), [role="menuitem"]:not([aria-disabled="true"]), [role="combobox"]:not([disabled]), [data-roving-item]:not([aria-disabled="true"])',Ei=(e,{enabled:t=!0,orientation:n="horizontal",onEscape:r}={})=>{const o=p.useRef(r);return o.current=r,{onKeyDown:p.useCallback(i=>{if(!t)return;if(i.key==="Escape"){o.current?.(i);return}const a=n==="vertical"?"ArrowDown":"ArrowRight",l=n==="vertical"?"ArrowUp":"ArrowLeft";if(i.key!==a&&i.key!==l)return;const c=Array.from(e.current?.querySelectorAll(Kg)||[]),u=c.indexOf(document.activeElement);if(u===-1)return;i.preventDefault();const d=i.key===a?1:-1,h=(u+d+c.length)%c.length;c[h]?.focus()},[t,n,e])}},Zg=({showOptions:e,setShowOptions:t,buttonRef:n,options:r,onClick:o})=>{O.useTheme();const s=p.useRef(null),i=p.useRef(null),{onKeyDown:a}=Ei(i,{enabled:e,orientation:"vertical",onEscape:()=>t(!1)});return p.useEffect(()=>{let l;return e&&(l=setTimeout(()=>{const c=u=>{s?.current&&!s?.current.contains(u.target)&&!n?.contains(u.target)&&t(!1)};document.addEventListener("mousedown",c),document._customLabelClickOutside=c},0)),()=>{clearTimeout(l),document._customLabelClickOutside&&(document.removeEventListener("mousedown",document._customLabelClickOutside),delete document._customLabelClickOutside)}},[e]),f.jsx(O.Popper,{open:e,anchorEl:n,placement:"bottom",transition:!0,modifiers:[{name:"offset",options:{offset:[0,0]}},{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:l})=>{l.styles.popper.width=`${l.rects.reference.width}px`}}],style:{zIndex:1300},ref:s,children:({TransitionProps:l})=>f.jsx(O.Fade,{...l,timeout:100,children:f.jsx(O.Box,{sx:{background:c=>c.palette.primary.appBackground,border:c=>`1px solid ${c.palette.primary.notifyBorderColor}`,borderRadius:"0.7rem",width:"100%",padding:"0.3rem",maxHeight:"20rem",overflowY:"auto"},children:f.jsx(O.Box,{ref:i,role:"menu",onKeyDown:a,children:r?.map((c,u)=>f.jsx(O.List,{role:"menuitem",tabIndex:0,sx:{opacity:1,pointerEvents:"auto",padding:"0rem",cursor:"pointer",borderTop:u!==0?d=>`0.1rem solid ${d.palette.primary.notifyBorderColor}`:"none",...xt()},onClick:d=>{d.stopPropagation(),o(c)},onKeyDown:wt(()=>o(c)),children:f.jsx(O.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{p:"0.5rem"},children:f.jsx(O.Stack,{direction:"row",alignItems:"center",gap:"1rem",children:f.jsx(O.Typography,{component:"h3",sx:{color:d=>d.palette.primary.notifyActiveText,fontWeight:"300",fontSize:"1.1rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:c.label})})})},u))})})})})},nn={TOKEN:"token",USER:"user",SNOP:"snop",SELECTED_BU:"selected_business_unit",SETTINGS:"settings"},Iu={TENANT_ID:"tenant_id",BU_ID:"bu_id"},Xg=Object.values({"SKU Name":"sku_name",Node:"node","Channel Name":"channel_name"}),Jg=[10,25,50,100],Qg={MARK_ALL_READ:"MARK_ALL_READ"},e3=Jg.map(e=>({label:e,value:e})),ha={PRIMARY:"PRIMARY",SECONDARY:"SECONDARY"},Xt=({key:e,modifiers:t=[]})=>[...t].sort((n,r)=>n.localeCompare(r)).concat(e).join("+"),ht=Object.freeze({SAVE:{key:"s",modifiers:["ctrl","shift"],label:"Save",icon:Te.Save},UPLOAD:{key:"u",modifiers:["ctrl","shift"],label:"Upload",icon:Te.Upload},DOWNLOAD:{key:"d",modifiers:["shift"],label:"Download",icon:Te.Download},GROUP_BY:{key:"g",modifiers:["alt"],label:"Group By",icon:Te.Group},MORE_ACTIONS:{key:"m",modifiers:["shift"],label:"LABEL_MORE_ACTIONS",icon:Te.More},REFRESH:{key:"r",modifiers:["alt"],label:"Refresh",icon:Te.Refresh},ADD_NEW:{key:"n",modifiers:["alt"],label:"Add new",icon:Te.AddSquare},SEARCH:{key:"s",modifiers:["shift"],label:"SEARCH",icon:Te.Search},FILTER:{key:"f",modifiers:["ctrl","shift"],label:"Filters",icon:Te.Filter},MANAGE_COLUMNS:{key:"e",modifiers:["alt"],label:"LABEL_MANAGE_COLUMN",icon:Te.Manage},APPLY:{key:"v",modifiers:["ctrl","shift"],label:"Apply"},CANCEL:{key:"z",modifiers:["ctrl","shift"],label:"Cancel"},CLEAR_ALL:{key:"x",modifiers:["ctrl","shift"],label:"clearAll"},SHORTCUTS_HELP:{key:"\\",modifiers:[],label:"Shortcuts help"}}),t3=new Map(Object.values(ht).map(e=>[Xt(e),e])),Pu=e=>t3.get(e),n3=e=>{if(!e)return[];if(e.shortcutsHelp)return e.shortcutsHelp;const{defaultTools:t,isManageable:n,customTools:r}=e,o=[t?.save?.isRequired&&ht.SAVE,t?.upload?.isRequired&&ht.UPLOAD,t?.download?.isRequired&&ht.DOWNLOAD,t?.groupBy?.isRequired&&ht.GROUP_BY,t?.refresh?.isRequired&&ht.REFRESH,t?.search?.isRequired&&ht.SEARCH,r?.some(a=>a?.type===ha.SECONDARY)&&ht.MORE_ACTIONS,!!n&&ht.MANAGE_COLUMNS].filter(Boolean),i=Object.keys(e?.shortcuts?.extra??{}).map(Pu).filter(Boolean).filter(a=>!o.some(l=>Xt(l)===Xt(a)));return[...o,...i]},r3=[ht.APPLY,ht.CANCEL,ht.CLEAR_ALL],o3=new Set(["INPUT","TEXTAREA","SELECT"]),s3=e=>e?e.isContentEditable?!0:o3.has(e.tagName)?!e.readOnly&&!e.disabled:!1:!1,i3=e=>e?e.startsWith("Key")?e.slice(3).toLowerCase():e.startsWith("Digit")?e.slice(5):e==="Backslash"?"\\":e.toLowerCase():"",a3=e=>{const t=[];return(e.ctrlKey||e.metaKey)&&t.push("ctrl"),e.altKey&&t.push("alt"),e.shiftKey&&t.push("shift"),t.sort((n,r)=>n.localeCompare(r)),t.concat(i3(e.code)).join("+")},Mi=(e,{enabled:t=!0,isPaused:n,onEscape:r}={})=>{const o=p.useRef(e);o.current=e;const s=p.useRef(n);s.current=n;const i=p.useRef(r);i.current=r,p.useEffect(()=>{if(!t)return;const a=l=>{if(l.key==="Escape"){i.current?.(l);return}const c=a3(l),u=o.current?.[c];u&&(!l.ctrlKey&&!l.metaKey&&s3(l.target)||s.current?.()||(l.preventDefault(),l.stopPropagation(),!u.disabled&&u.run?.(l)))};return document.addEventListener("keydown",a,!0),()=>document.removeEventListener("keydown",a,!0)},[t])},l3={},Lu=()=>!!document.querySelector('[role="dialog"][aria-modal="true"]:not([data-allow-shortcuts])'),c3=()=>Lu(),ma=(e,t,{enabled:n=!0,disabled:r=!1,isPaused:o,scopeRef:s}={})=>{const i=e?ht[e]:void 0;e&&!i&&console.warn(`useShortcut: unknown action "${e}" — add it to SHORTCUTS first.`),Mi(i?{[Xt(i)]:{run:t,disabled:r}}:l3,{enabled:n&&!!i,isPaused:()=>{if(o?o():c3())return!0;if(s){const a=s.current;if(!(!!a&&(a.contains(document.activeElement)||a.matches?.(":hover"))))return!0}return!1}})},u3=nc(ur.button)(()=>({outline:"none",...xt()})),d3=/[ᄀ-ᇿ぀-ヿ㐀-䶿一-鿿ꥠ-꥿가-힣豈-﫿＀-￯]/,f3=e=>{if(!e)return 0;const t=e.length>=10?6.5:8.5,n=t*2;return[...e].reduce((r,o)=>r+(d3.test(o)?n:t),0)},p3=e=>{if(typeof e!="string")return null;const t=e.trim(),n=t.match(/^(-?\d*\.?\d+)rem$/);if(n)return parseFloat(n[1]);const r=t.match(/^(-?\d*\.?\d+)px$/);return r?parseFloat(r[1])/10:null},ju=({styles:e,label:t,helpText:n,disabled:r,onClick:o,shortcutAction:s,shortcutOptions:i,...a})=>{const l=O.useTheme(),{t:c}=p.useContext(Nt);ma(s,T=>o?.(T),{enabled:!!s,disabled:r,...i});let u=t?f3(c(t))+42:0;u=a?.options?u+15:u;const d=p3(e?.width),h=u/10,m=d!=null?`${Math.max(d,h)}rem`:e?.width||`${h}rem`,[g,C]=p.useState(!1),b=p.useRef(null),[v,k]=p.useState(!1),[w,x]=p.useState(e?.isAnimate);return f.jsx(O.Tooltip,{title:c(n)??c(t),placement:"top",componentsProps:{tooltip:{sx:{fontSize:"1rem",padding:"0.6rem 1rem",boxShadow:"0 2px 8px rgba(0,0,0,0.3)"}}},children:f.jsxs(u3,{ref:b,onMouseEnter:()=>w&&C(!0),onMouseLeave:()=>{w&&C(!1)},initial:{width:!w&&t?m:e?.width||"3.2rem",borderRadius:e?.borderRadius||"0.7rem"},animate:{width:w?`${g?u/9:3.2}rem`:t?m:e?.width||"3.2rem"},whileHover:{backgroundColor:e?.hover?.backgroundColor,color:e?.hover?.color},transition:{duration:.2,ease:"easeInOut"},style:{height:"3.2rem",overflow:"hidden",backgroundColor:e?.variant!=="outlined"?e?.colorType==="secondary"?l.palette.brandColor.blue:e?.colorType==="danger"?l.palette.brandColor.red:e?.colorType==="empty"?l.palette.primary.notifyButtonBackground:l.palette.brandColor.orange:l.palette.primary.notifyBackground,border:e?.variant==="outlined"||e?.colorType==="empty"?`0.1rem solid ${l.palette.primary.notifyBorderColor}`:"none",display:"flex",alignItems:"center",gap:g||!w?"0.5rem":0,color:e?.variant==="outlined"||e?.colorType==="empty"?l.palette.primary.notifyTextColor:"white",justifyContent:"center",padding:g||!w?"1.2rem":"0.8rem",whiteSpace:"nowrap",opacity:r?.5:1,cursor:r?"auto":"pointer",...e},disabled:r,layout:!0,onClick:()=>{!a?.options&&o(),a?.options&&(k(T=>!T),x(v))},...a,children:[e?.icon&&(!e?.iconPosition||e?.iconPosition==="start")&&f.jsx(Ct,{url:e?.icon,isPrimary:e?.iconPrimary}),t&&f.jsxs(ur.div,{layout:!0,initial:{opacity:0,width:0},animate:{opacity:g||!w?1:0,width:g||!w?"auto":0},transition:{duration:.2,ease:"easeInOut",delay:g?.1:0},style:{overflow:"hidden",whiteSpace:"nowrap",display:"flex",justifyContent:"center",gap:"0.8rem"},children:[f.jsx(O.Typography,{sx:{fontSize:"1.1rem",overflow:"hidden",textOverflow:"ellipsis"},children:c(t)}),a?.options&&(v?f.jsx(Ct,{url:Te.ArrowUpLight}):f.jsx(Ct,{url:Te.ArrowDownLight}))]}),e?.iconPosition==="end"&&f.jsx(Ct,{url:e?.icon,isPrimary:e?.iconPrimary}),f.jsx(Zg,{showOptions:v,buttonRef:b?.current,setShowOptions:k,options:a?.options,onClick:o})]})})};ju.propTypes={styles:y.object.isRequired,label:y.string,shortcutAction:y.string,shortcutOptions:y.object};function jn({...e}){return f.jsx(At,{children:f.jsx(ju,{...e})})}function h3({...e}){return O.useTheme(),f.jsx(O.Checkbox,{sx:{p:"0!important",...xt()},id:e?.id,icon:f.jsx(O.Box,{component:"img",src:Te.Uncheck}),checkedIcon:f.jsx(O.Box,{component:"img",src:Te.Check}),indeterminateIcon:f.jsx(O.Box,{component:"img",src:Te.Indeterminate}),...e})}function Rn({...e}){return f.jsx(At,{children:f.jsx(h3,{...e})})}const m3=({iconUrl:e,placeholder:t,inputRef:n,...r})=>{const[o,s]=p.useState(!1),[i,a]=p.useState(!1),l=O.useTheme(),{t:c}=p.useContext(Nt);return f.jsxs(O.Box,{sx:{display:"flex",alignItems:"center",border:`0.1rem solid ${l.palette.primary.notifyBorderColor}`,borderRadius:"0.7rem",backgroundColor:l.palette.primary.notifyBackground,height:"3.2rem",paddingLeft:"0.5rem",overflow:"hidden",transition:"border 0.2s ease",...i&&{boxShadow:Ho}},children:[e&&f.jsx(O.Box,{component:Ct,url:e,sx:{width:"1.3rem",height:"1.3rem",margin:"0 0.5rem 0.2rem 0.5rem",userSelect:"none",pointerEvents:"none",objectFit:"contain"},draggable:!1}),f.jsx(ur.input,{ref:n,type:"text",onFocus:()=>{a(!0),s(!0)},onBlur:()=>{a(!1),s(!1)},initial:{width:"10rem"},animate:{width:o?"13rem":"10rem"},transition:{duration:.3,ease:"easeInOut"},style:{height:"3.007rem",outline:"none",boxShadow:"none",fontSize:"1.1rem",border:"none",backgroundColor:"transparent",padding:0,color:l.palette.primary.notifyTextColor,flex:1,transition:"height 0.1s ease"},placeholder:c(t),...r})]})};function Ru({...e}){return f.jsx(At,{children:f.jsx(m3,{...e})})}const g3=O.styled(O.TextField)(({theme:e})=>({width:"100%!important","& .MuiFormHelperText-root":{margin:0},"& .MuiInputBase-root.MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.brandColor.red},"& .MuiInputLabel-root.Mui-error":{color:e.palette.brandColor.red},"& .MuiFilledInput-root":{borderRadius:"0.8rem"},"& .MuiOutlinedInput-root":{fontSize:"1.1rem",color:e.palette.primary.notifyTextColor,borderRadius:"0.8rem",backgroundColor:`${e.palette.primary.notifyBackground}`,padding:"0.3rem","& fieldset":{borderColor:`${e.palette.primary.notifyBorderColor}`},"&:hover fieldset":{borderColor:`${e.palette.primary.notifyBorderColor}`},"&.Mui-focused fieldset":{borderColor:`${e.palette.primary.notifyBorderColor}`},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:`${e.palette.primary.notifyBorderColor}`}},"&.Mui-focused .MuiOutlinedInput-root, & .MuiOutlinedInput-root.Mui-focused":{boxShadow:Ho},"& .MuiInputBase-input":{color:e.palette.primary.notifyActiveText,fontSize:"1.1rem",height:"2.6rem",padding:"0.3rem 1rem"},"& .MuiInputBase-input.Mui-disabled":{color:`${e.palette.primary.notifyTextColor} !important`,cursor:"not-allowed","-webkit-text-fill-color":`${e.palette.primary.notifyTextColor} !important`,opacity:1},"& .Mui-disabled":{color:`${e.palette.primary.notifyTextColor} !important`,overflow:"hidden",opacity:1},"& .Mui-disabled:before":{border:"none !important"},"& .MuiInputBase-input::placeholder":{color:e.palette.primary.notifyTextColor,fontSize:"1.1rem"},"& .MuiInputLabel-root":{paddingLeft:"0.5rem",backgroundColor:`${e.palette.primary.notifyBackground}!important`,color:e.palette.primary.notifyTextColor,fontSize:"1.1rem",top:"1.1rem",left:"1rem",transform:"none","&.Mui-focused":{color:e.palette.primary.notifyTextColor}},"& .MuiInputLabel-shrink":{top:"0",backgroundColor:`${e.palette.primary.notifyBackground}!important`,padding:"0 0.4rem",transform:"translateY(-50%) translateX(0rem)"},"& .MuiFormHelperText-root.Mui-error":{color:`${e.palette.brandColor.red} !important`,paddingLeft:"0.8rem",paddingTop:"0.2rem",fontSize:"0.9rem"},"& .MuiInputBase-input::placeholder":{color:e.palette.primary.notifyTextColor,opacity:1},"& .MuiFormLabel-asterisk":{color:`${e.palette.brandColor.red} !important`},"& input:-webkit-autofill":{WebkitBoxShadow:"0 0 0 10rem transparent inset !important",WebkitTextFillColor:`${e.palette.primary.notifyActiveText}!important`,caretColor:e.palette.primary.notifyActiveText,transition:"background-color 9999s ease-in-out 0s !important"},"& input:-webkit-autofill:hover ":{WebkitBoxShadow:"0 0 0 10rem transparent inset !important",WebkitTextFillColor:`${e.palette.primary.notifyActiveText}!important`}})),ls=({showBorder:e=!0,inputProps:t,slotProps:n,sx:r,...o})=>{const s={style:{cursor:o?.disabled?"not-allowed":"pointer"},title:"",...t||{},...n?.htmlInput||{}};return f.jsx(At,{children:f.jsx(g3,{variant:"outlined",slotProps:{...n,htmlInput:s},sx:[{"& .MuiFormLabel-asterisk.MuiInputLabel-asterisk":{"&::after":{content:'""',marginLeft:"4px",color:"red"}},cursor:o?.disabled?"not-allowed":"pointer",opacity:o?.disabled?.5:1,...!e&&{"& .MuiOutlinedInput-root":{borderRadius:0,"& fieldset":{borderColor:"transparent"},"&:hover fieldset":{borderColor:"transparent"},"&.Mui-focused fieldset":{borderColor:"transparent",borderWidth:"0.15rem"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&.Mui-focused, &:focus-within":{boxShadow:`${Us} !important`}}},...o.styles},...Array.isArray(r)?r:r?[r]:[]],...o})})},Oi=e=>{const t=localStorage.getItem(e);return t?JSON.parse(t):""},y3=(e,t)=>{const n=new Date,r=new Date(e);let o=n-r;o<0&&(o=0);const s=Math.floor(o/1e3),i=Math.floor(s/60);return s<60?`${s} ${t("LABEL_SEC_AGO")}`:i<60?`${i} ${t("LABEL_MIN_AGO")}`:r.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0})},Di=e=>e.sort((n,r)=>{let o=new Date(n.createdAt),s=new Date(r.createdAt);return o===s?0:o>s?-1:1}).sort((n,r)=>n.isRead===r.isRead?0:r.isRead?-1:1),_u=e=>{let t=0;for(let n=0;n<e?.length;n++)e[n].isRead||t++;return t},C3=e=>{const t=[];return e?.forEach(n=>{n.isRead||t.push(n.id)}),t},b3=(e,t,n)=>e?.filter(o=>t.some(s=>o[s]?.toLowerCase()?.includes(n?.trim()?.toLowerCase()))),v3=(e,t,n)=>e?.sort((o,s)=>n==="asc"?o[t].toLowerCase().localeCompare(s[t].toLowerCase()):s[t].toLowerCase().localeCompare(o[t].toLowerCase())),ga=(e,t,n)=>e?.slice((t-1)*n,t*n),x3=e=>{const t=e?.reduce((r,o)=>{const s=new Date(o?.createdAt),i=new Intl.DateTimeFormat("en-US",{day:"numeric",month:"long",year:"numeric"}).format(s);return r[i]||(r[i]=[]),r[i].push(o),r},{});return Object.fromEntries(Object.entries(t).sort(([r],[o])=>new Date(o)-new Date(r)))},w3=(e,t)=>{if(!Array.isArray(e))return[];const n=t?.toLowerCase?.().trim();if(!n)return e;const r=o=>o.map(s=>{const i=s?.label?.toLowerCase?.().includes(n);let a=[];return Array.isArray(s.children)&&(a=r(s.children)),i||a.length>0?{...s,children:a.length>0?a:s.children}:null}).filter(Boolean);return r(e)};async function S3(e){switch(e.split("-")[0]){case"tr":return(await Promise.resolve().then(()=>IC)).tr;case"nl":return(await Promise.resolve().then(()=>nC)).nl;case"ko":return(await Promise.resolve().then(()=>Oy)).ko;default:return(await Promise.resolve().then(()=>x9)).enUS}}function Bu(e){if(typeof e=="number")return e;if(typeof e=="string"){const t=e.trim();if(t.endsWith("px"))return parseFloat(t);if(t.endsWith("rem")){const r=parseFloat(t),o=typeof window<"u"?parseFloat(getComputedStyle(document.documentElement).fontSize):16;return r*o}const n=parseFloat(t);return isNaN(n)?0:n}return 0}const Re={LOADING:"LOADING",SUCCESS:"SUCCESS",ERROR:"ERROR",MARK_ALL_AS_READ:"MARK_ALL_AS_READ",SET_GRID_DATA:"SET_GRID_DATA",PREV_GRID_DEF:"PREV_GRID_DEF",HAS_SETTING_CHANGE:"HAS_SETTING_CHANGE",TRIGGER_API:"TRIGGER_API",SET_MODE:"SET_MODE",SET_ACTIVE_TAB:"SET_ACTIVE_TAB"},_n={SWR:"SWR",UNHANDLED:"UNHANDLED",NRF:"NRF"},cs=p.createContext(null),lo=p.createContext(null);function Nu({children:e}){const[t,n]=p.useReducer(k3,T3);return f.jsx(cs.Provider,{value:t,children:f.jsx(lo.Provider,{value:n,children:f.jsx(At,{children:e})})})}function k3(e,t){switch(t.type){case Re.SET_GRID_DATA:case Re.HAS_SETTING_CHANGE:case Re.TRIGGER_API:case Re.PREV_GRID_DEF:return{...e,...t.payload};default:throw new Error(`${_n.UNHANDLED}: ${t}`)}}const T3={visibleGridColumns:[],prevGridColumns:{},hasChange:!1,triggerApi:!1};Nu.propTypes={children:y.node.isRequired};const E3=({options:e,isDraggable:t})=>{const n=p.useRef(null),[r,o]=p.useState(!1),[s,i]=p.useState(null),[a,l]=p.useState(e),[c,u]=p.useState(!1),d=t?p.useContext(lo):null,{hasChange:h,visibleGridColumns:m}=t?p.useContext(cs):{hasChange:!1,visibleGridColumns:[]};p.useEffect(()=>{l(e?.sort((k,w)=>k.sequenceId-w.sequenceId))},[e]);const g=k=>{t&&i(k)},C=k=>{t&&k.preventDefault()},b=k=>{if(!t||s===null||s===k)return;const w=[...a],x=w.findIndex(I=>I.sequenceId===k),T=w.findIndex(I=>I.sequenceId===s);if(x===-1||T===-1)console.warn("Invalid drag or drop index",{toInsertAtIndex:x,draggedIndex:s});else{const[I]=w.splice(T,1);w.splice(x,0,I)}const M=a.slice().sort((I,P)=>I.sequenceId-P.sequenceId).map(I=>I.sequenceId),A=w.map((I,P)=>({...I,sequenceId:M[P]??I.sequenceId}));l(A),d?.({type:Re.SET_GRID_DATA,payload:{visibleGridColumns:A}}),d?.({type:Re.HAS_SETTING_CHANGE,payload:{hasChange:!0}}),i(null)},v=()=>{t&&h&&d?.({type:Re.TRIGGER_API,payload:{triggerApi:!0}})};return p.useEffect(()=>{if(n.current){const k=n.current.getBoundingClientRect(),w=window.innerHeight-k.bottom;u(w<200)}},[r]),{hasChange:h,closeDropdown:v,handleDragStart:g,handleDragOver:C,handleDrop:b}},Nt=p.createContext({t:e=>e}),co=({isDraggable:e=!1,showSearch:t=!1,options:n=[],value:r,isMulti:o=!1,selectAll:s=!1,selectOnClose:i=!1,isManageColumn:a,isLoadingMore:l=!1,handleLoadMore:c,handleSearchFuncation:u,...d})=>{const{t:h}=p.useContext(Nt),[m,g]=p.useState(!1),[C,b]=p.useState(null),[v,k]=p.useState(""),[w,x]=p.useState([]),[T,M]=p.useState("bottom-start"),[A,I]=p.useState([]),[P,R]=p.useState(null),[W,S]=p.useState(!1),j=p.useRef(null),_=p.useRef(null),N=p.useRef(null),U=p.useRef(!1),se=p.useRef(null),ue=p.useRef(null),B=p.useRef(null),E=p.useRef(null),D=p.useRef({term:"",timer:null}),[L,$]=p.useState(0),[Y,re]=p.useState(()=>new Set),he=p.useRef([]),oe=p.useId(),{closeDropdown:X,hasChange:te,handleDragStart:ie,handleDrop:Q}=E3({options:n,isDraggable:e});p.useEffect(()=>{x(n)},[n]),p.useEffect(()=>{const V=w?.filter(ee=>!ee?.isMandatory||ee?.isMandatory&&ee?.showHide===!0);I(V)},[w]);const q=V=>(V?.children||[]).filter(ee=>!ee?.isMandatory||ee?.isMandatory&&ee?.showHide===!0&&ee?.showInHierarchy),xe=(V,ee)=>String(V?.id??V?.key??`idx-${ee}`),ke=!!(o&&s&&A?.length),ve=ke?-1:0,ae=p.useMemo(()=>{const V=[];return(A||[]).forEach((ee,it)=>{if(ee?.isMandatory&&ee?.showHide!==!0)return;const Se=`${it}`,Ge=xe(ee,it),_e=q(ee);V.push({rowKey:Se,parentKey:Ge,option:ee,parent:null,level:1,hasChildren:_e.length>0,selectable:!!(ee?.showCheckbox||!ee?.children?.length),disabled:!!ee?.disabled}),_e.length&&!Y.has(Ge)&&_e.forEach((le,Ie)=>{V.push({rowKey:`${it}-${Ie}`,parentRowKey:Se,option:le,parent:ee,level:2,hasChildren:!1,selectable:!0,disabled:!!le?.disabled})})}),V},[A,Y]),je=p.useMemo(()=>{const V=new Map;return ae.forEach((ee,it)=>V.set(ee.rowKey,it)),V},[ae]),de=V=>!Y.has(V),We=(V,ee)=>{re(it=>{const Se=new Set(it);return ee?Se.delete(V):Se.add(V),Se})},He=p.useCallback(()=>{E.current?.focus?.()},[]),dt=(V,ee,it=!1)=>{if(!o){d?.onChange?.(V),g(!1),$(ve),it&&He();return}let Se=JSON.parse(JSON.stringify(r));if(!V)Se=n.length===r.length?[]:n.map(_e=>({..._e}));else if(ee)if(a)Se=Se.map(Ge=>{if(!Ge.children)return Ge;let _e=Ge?.children?.length?[...Ge?.children]:[];return _e.findIndex(Ie=>Ie.key===V.key)>-1?_e=_e.filter(Ie=>Ie.key!==V.key):_e=[..._e,V],{...Ge,children:_e}});else{const Ge=ee?.id,_e=V?.id,le=V?.key,Ie=Se.findIndex(Ce=>Ce.id===Ge);if(Ie>-1){const Ce=Se[Ie],Me=Ce.children||[],Fe=Me.some(zn=>zn.id===_e&&zn.key===le)?Me.filter(zn=>!(zn.id===_e&&zn.key===le)):[...Me,V];Se[Ie]={...Ce,children:Fe}}else Se.push({id:Ge,label:ee?.label,value:ee?.value,children:[V]})}else Se=Se.some(_e=>_e.id===V.id)?Se.filter(_e=>_e.id!==V.id):[...Se,{...V}];b(Se),d?.onChange?.(Se)},ge=p.useMemo(()=>O.debounce(async V=>{if(l)try{return await u(V)}catch(ee){console.error("Search API Error",ee);return}},1e3),[]);p.useEffect(()=>{ge(v)},[v]),p.useEffect(()=>{const V=w3(n,v);x(V)},[v,n]);const ne=V=>{k(V.target.value)};p.useEffect(()=>{const V=ee=>{N.current&&!N.current.contains(ee.target)&&!j.current?.contains(ee.target)&&!_.current?.contains(ee.target)&&(g(!1),$(0),k(""),X(),i&&d?.onChange?.(C,"closed"),U.current=!0,setTimeout(()=>{U.current=!1},150))};return document.addEventListener("mousedown",V),()=>document.removeEventListener("mousedown",V)},[m,te,C]),p.useEffect(()=>{$(V=>{if(V<ve)return ve;const ee=ae.length-1;return V>ee?Math.max(ve,ee):V})},[ae.length,ve]),p.useEffect(()=>{m||(re(V=>V.size?new Set:V),D.current.term="")},[m]),p.useEffect(()=>()=>clearTimeout(D.current.timer),[]),p.useEffect(()=>{if(!m)return;const V=L===-1?B.current:he.current[L];V?.scrollIntoView&&V.scrollIntoView({block:"nearest",behavior:"smooth"})},[L,m,ae.length]),p.useEffect(()=>{if(m&&!t){const V=setTimeout(()=>{se.current&&se.current.focus()},0);return()=>clearTimeout(V)}},[m,t]),p.useEffect(()=>{if(!m||typeof c!="function")return;const V=setTimeout(()=>{const ee=se.current;let it=!1;if(!ee)return;const Se=async()=>{const Ge=ee.scrollHeight-ee.scrollTop<=ee.clientHeight+1;if(l&&Ge&&!it){it=!0;try{S(!0);const _e=await c();R(_e?.data),_e&&S(!1)}catch(_e){console.error("Error loading more options:",_e),S(!1)}}};return ee.addEventListener("scroll",Se),()=>ee.removeEventListener("scroll",Se)},100);return()=>clearTimeout(V)},[m,P]);const fe=()=>{g(!1),$(ve),k(""),X(),i&&d?.onChange?.(C,"closed")},De=V=>{g(!0),$(V)},Le=V=>{const ee=D.current;if(ee.term+=V.toLowerCase(),clearTimeout(ee.timer),ee.timer=setTimeout(()=>{ee.term=""},700),!ae.length)return;const it=ee.term,Se=L<0?0:L,Ge=[];it.length>1&&Ge.push(Se);for(let le=1;le<=ae.length;le+=1)Ge.push((Se+le)%ae.length);const _e=Ge.find(le=>String(ae[le]?.option?.label??"").toLowerCase().startsWith(it));_e!==void 0&&$(_e)},Ve=V=>{if(!(!V||V.disabled)&&!(V.level===1&&V.hasChildren&&!V.selectable)){if(V.level===2){dt(V.option,V.parent,!0);return}V.selectable&&dt(V.option,void 0,!0)}},st=V=>{const ee=t&&V.target===ue.current,it=ae.length-1,Se=L>=0?ae[L]:null;switch(V.key){case"ArrowDown":if(V.preventDefault(),V.stopPropagation(),it<0)return;$(_e=>Math.min(_e+1,it));return;case"ArrowUp":V.preventDefault(),V.stopPropagation(),$(_e=>Math.max(_e-1,ve));return;case"Home":if(ee)return;V.preventDefault(),V.stopPropagation(),$(ve);return;case"End":if(ee)return;V.preventDefault(),V.stopPropagation(),$(Math.max(ve,it));return;case"ArrowRight":if(ee||!Se||(V.preventDefault(),V.stopPropagation(),!Se.hasChildren))return;de(Se.parentKey)?ae[L+1]?.level===2&&$(L+1):We(Se.parentKey,!0);return;case"ArrowLeft":{if(ee||!Se)return;if(V.preventDefault(),V.stopPropagation(),Se.level===2){const _e=je.get(Se.parentRowKey);_e!==void 0&&$(_e)}else Se.hasChildren&&de(Se.parentKey)&&We(Se.parentKey,!1);return}case" ":case"Spacebar":case"Enter":if(ee&&V.key!=="Enter")return;if(V.preventDefault(),V.stopPropagation(),L===-1){ke&&dt();return}Ve(Se);return;case"Escape":V.preventDefault(),V.stopPropagation(),fe(),He();return;case"Tab":V.stopPropagation(),He(),fe();return}!ee&&V.key.length===1&&!V.ctrlKey&&!V.metaKey&&!V.altKey&&/\S/.test(V.key)&&(V.preventDefault(),V.stopPropagation(),Le(V.key))},kt=V=>{if(!d?.disabled){if(V.key==="ArrowDown"){V.preventDefault(),V.stopPropagation(),m||De(ve);return}if(V.key==="ArrowUp"){V.preventDefault(),V.stopPropagation(),m||De(Math.max(ve,ae.length-1));return}if(V.key==="Escape"){if(!m)return;V.preventDefault(),V.stopPropagation(),fe();return}V.key!=="Tab"&&(V.preventDefault(),(V.key==="Enter"||V.key===" "||V.key==="Spacebar")&&(V.stopPropagation(),m?fe():De(ve)))}},ct=d?.placeholder||d?.label,$e=ct?h(ct)||ct:void 0,qt=m?L===-1?ke?`${oe}-opt-all`:void 0:ae[L]?`${oe}-opt-${L}`:void 0:void 0;return f.jsxs(f.Fragment,{children:[f.jsx(O.Box,{ref:_,sx:{position:"relative",display:"inline-block",width:"100%"},children:f.jsx(ls,{InputLabelProps:{shrink:r?.length&&!d?.placeholder},InputProps:{endAdornment:f.jsx(O.InputAdornment,{position:"start",children:f.jsx(O.Stack,{direction:"row",alignItems:"center",gap:"0.5rem",sx:{cursor:d?.disabled?"not-allowed":"pointer"},children:f.jsx(O.Box,{component:"img",src:m?Te.ArrowSelectDown:Te.ArrowSelectUp})})}),startAdornment:d?.styles?.icon&&f.jsx(O.InputAdornment,{position:"start",sx:{pl:1,cursor:d?.disabled?"not-allowed":"pointer"},children:f.jsx(Ct,{url:d?.styles?.icon})})},sx:{opacity:d?.disabled?.5:1,"& .MuiOutlinedInput-root":{borderBottomLeftRadius:m&&T.startsWith("bottom")?0:"0.7rem",borderBottomRightRadius:m&&T.startsWith("bottom")?0:"0.7rem",borderTopLeftRadius:m&&T.startsWith("top")?0:"0.7rem",borderTopRightRadius:m&&T.startsWith("top")?0:"0.7rem",...d?.styles?.fixHeight&&{maxHeight:d?.styles?.fixHeight}},"& .MuiInputBase-input":{caretColor:"transparent",userSelect:"none",color:V=>`${d?.placeholder?V.palette.primary.notifyTextColor:V.palette.primary.notifyActiveText}!important`},"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:V=>`${V.palette.primary.notifyBorderColor}!important`,borderWidth:"1px"},"& .MuiOutlinedInput-root.Mui-focused":{boxShadow:Ho}},onKeyDown:kt,onMouseDown:V=>V.preventDefault(),onClick:V=>{d?.disabled||(V.preventDefault(),X(),i&&d?.onChange?.(C,"closed"),!U.current&&(g(ee=>!ee),m&&$(0)))},...d?.placeholder?{}:{value:Array.isArray(r)?Array.isArray(n)&&r.length===n.length&&n.length?h("LABEL_ALL_SELECTED",{count:n.length}):r.map(V=>V?.label).filter(Boolean).join(", "):r?.label||r||""},label:h(d?.label),...d,inputProps:{readOnly:!0,tabIndex:0,inputMode:"none",style:{cursor:d?.disabled?"not-allowed":"pointer"},...d?.inputProps||{},role:"combobox","aria-haspopup":"listbox","aria-expanded":m,"aria-controls":m?oe:void 0,"aria-activedescendant":qt,...$e?{"aria-label":$e}:{}},inputRef:V=>{E.current=V;const ee=d?.inputRef;typeof ee=="function"?ee(V):ee&&(ee.current=V)}})}),f.jsx(O.Popper,{open:m,anchorEl:_.current,placement:"bottom-start",style:{zIndex:99999},ref:N,autoFocus:!0,tabIndex:0,modifiers:[{name:"offset",options:{offset:[0,0]}},{name:"updatePlacement",enabled:!0,phase:"afterWrite",fn({state:V}){M(V.placement)}}],children:f.jsxs(O.Box,{role:"listbox",tabIndex:-1,id:oe,"aria-multiselectable":o||void 0,"aria-label":$e,"aria-activedescendant":t?void 0:qt,ref:se,onDragStart:V=>V.preventDefault(),sx:{userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",background:V=>V.palette.primary.appBackground,border:V=>`1px solid ${V.palette.primary.notifyBorderColor}`,borderTop:"none",borderRadius:T.startsWith("bottom")?"0 0 0.7rem 0.7rem":"0.7rem 0.7rem 0 0",width:_.current?.offsetWidth||"auto",maxHeight:"20rem",overflowY:"auto",outline:"none",scrollbarWidth:"thin"},onKeyDown:st,children:[t&&f.jsx(ls,{inputRef:ue,type:"text",placeholder:h("SEARCH"),value:v,variant:"standard",autoFocus:!0,size:"small",draggable:!1,InputProps:{readOnly:!1,disableUnderline:!0,tabIndex:0,inputMode:"none"},inputProps:{autoComplete:"off","aria-controls":oe,"aria-activedescendant":qt},onChange:ne,sx:{position:"sticky",top:0,zIndex:1,backgroundColor:V=>V.palette.primary.appBackground,fontSize:"1.1rem",borderBottom:V=>`1px solid ${V.palette.primary.notifyBorderColor}`,"& .MuiInputBase-input":{padding:"0.3rem 1.3rem!important"}}}),A?.length>0?f.jsxs(f.Fragment,{children:[o&&s&&f.jsx(O.List,{ref:B,autoFocus:!0,tabIndex:0,id:`${oe}-opt-all`,role:"option","aria-selected":n?.length>0&&r?.length===n?.length,sx:{padding:"0.8rem 1.2rem",cursor:"pointer",...L===-1&&Gs()},onClick:V=>{V.stopPropagation(),dt()},children:f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"1rem",children:[f.jsx(Rn,{sx:{p:0},draggable:!1,checked:n?.length>0&&r?.length===n?.length}),f.jsx(O.Typography,{component:"h3",sx:{color:V=>V.palette.primary.notifyTextColor,fontSize:"1.1rem"},children:h("LABEL_SELECT_ALL")})]})}),A.map((V,ee)=>{if(V?.isMandatory&&V?.showHide!==!0)return null;const it=xe(V,ee),Se=je.get(`${ee}`),Ge=q(V),_e=Ge.length>0&&de(it);return f.jsxs(p.Fragment,{children:[f.jsx(O.List,{"data-option-index":ee,autoFocus:!0,id:Se!==void 0?`${oe}-opt-${Se}`:void 0,role:"option","aria-selected":Array.isArray(r)?r.some(le=>le?.id===V?.id):r?.id===V?.id,"aria-disabled":V?.disabled||void 0,...Ge.length?{"aria-expanded":_e}:{},ref:le=>{Se!==void 0&&(he.current[Se]=le)},sx:{opacity:V?.isMandatory&&!V?.showHide||V?.disabled?.5:1,cursor:"pointer",pointerEvents:V?.disabled?"none":"auto",padding:"0.8rem 1.2rem",borderTop:ee!==0||s?le=>`0.1rem solid ${le.palette.primary.notifyBorderColor}`:"none",...Se===L&&Gs()},draggable:!1,onDragStart:V?.isMandatory?le=>{le.preventDefault()}:()=>ie(V?.sequenceId),onDragOver:le=>{V?.isMandatory||le.preventDefault()},onDrop:le=>{V?.isMandatory?le.preventDefault():Q(V?.sequenceId)},onClick:le=>{le.stopPropagation(),(!V?.isMandatory||V?.isMandatory&&V?.showHide===!0)&&(V?.showCheckbox||!V?.children?.length)&&dt(V)},children:f.jsx(O.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:"1rem",width:"100%",draggable:!1,children:f.jsxs(O.Stack,{draggable:!1,direction:"row",alignItems:"center",gap:"1rem",sx:{minWidth:0,flex:1},children:[o&&(!V?.children?.length||V?.showCheckbox)&&f.jsx(Rn,{draggable:!1,sx:{p:0},checked:r?.some(le=>le.id===V.id)}),f.jsx(O.Typography,{draggable:!1,component:"h3",noWrap:!0,sx:{color:le=>V?.children?.length&&!V?.showCheckbox&&!V.showInHierarchy?le.palette.primary.notifyActiveText:le.palette.primary.notifyTextColor,fontWeight:V?.children?.length&&!V?.showCheckbox?"500":"300",fontSize:"1.1rem",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,flex:1},children:V.label})]})})}),_e&&Ge.map((le,Ie)=>{const Ce=je.get(`${ee}-${Ie}`);return f.jsx(O.List,{"data-option-index":Ie,autoFocus:!0,id:Ce!==void 0?`${oe}-opt-${Ce}`:void 0,role:"option","aria-selected":Array.isArray(r)?r.some(Me=>Me?.children?.some(Tt=>Tt?.id===le?.id)):!1,"aria-disabled":le?.disabled||void 0,ref:Me=>{Ce!==void 0&&(he.current[Ce]=Me)},sx:{cursor:"pointer",opacity:le?.disabled?.5:1,pointerEvents:le?.disabled?"none":"auto",padding:"0.8rem 1.2rem",pl:"1.5rem",borderTop:Me=>`0.1rem solid ${Me.palette.primary.notifyBorderColor}`,...Ce===L&&Gs()},draggable:!1,onDragStart:()=>ie(ee,Ie),onDragOver:Me=>{le?.isMandatory||Me.preventDefault()},onDrop:Me=>{le?.isMandatory||Q(ee,Ie)},onClick:Me=>{Me.stopPropagation(),dt(le,V)},children:f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"1rem",children:[o&&V?.showChildCheckbox&&f.jsx(Rn,{sx:{p:0},checked:r.some(Me=>Me.children?.some(Tt=>Tt.id===le.id))}),f.jsx(O.Typography,{component:"h4",sx:{color:Me=>Me.palette.primary.notifyTextColor,fontSize:"1.05rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:le.label})]})},`${ee}-${Ie}`)})]},ee)}),W&&f.jsx(O.CircularProgress,{sx:{color:"blue"},size:45})]}):f.jsx(O.Box,{autoFocus:!0,sx:{display:"flex",justifyContent:"center",alignItems:"center",padding:"0.1rem 1rem",height:"3rem"},children:f.jsx(O.Typography,{component:"h3",sx:{color:V=>V.palette.primary.notifyTextColor,fontSize:"1.1rem"},children:h("NO_OPTIONS")})})]})})]})};function $u({...e}){return f.jsx(At,{children:f.jsx(co,{...e})})}const M3=O.styled(O.Box)(({theme:e,height:t})=>({borderRadius:"0.4rem",position:"relative",background:e.palette.primary.notifyButtonBackground,display:"flex",height:t||"2.5rem"})),O3=O.styled(O.Box)(({theme:e})=>({borderRadius:"0.4rem",position:"absolute",background:e.palette.primary.notifyBackground,border:`0.1rem solid ${e.palette.primary.notifyBorderColor}`,transition:"all 0.5s ease"})),Fu=O.styled(O.Button)(({theme:e})=>({borderRadius:"0.4rem",fontWeight:"400",transition:"all 0.2s 0.1s ease",padding:"0.4rem 0.8rem",fontSize:"1rem",textTransform:"none",zIndex:1,"&:hover":{background:"transparent",boxShadow:"none"}})),D3=({isChartType:e,setIsChartType:t,leftSwitchText:n,rigthSwitchText:r,disabled:o,height:s})=>{const[i,a]=p.useState(0),[l,c]=p.useState(0),{t:u}=p.useContext(Nt),d=p.useRef(null),h=p.useRef(null);return p.useLayoutEffect(()=>{if(!d.current||!h.current)return;const m=()=>{const C=e?h.current:d.current;a(C.offsetWidth),c(C.offsetLeft)};m();const g=new ResizeObserver(m);return g.observe(d.current),g.observe(h.current),()=>g.disconnect()},[e]),f.jsx(O.Box,{sx:{display:"flex"},children:f.jsxs(M3,{height:s,children:[f.jsx(O3,{sx:{width:i,transform:`translateX(${l}px)`,height:s||"2.5rem"}}),f.jsx(Fu,{ref:d,disableRipple:!0,sx:m=>({opacity:o?.5:1,cursor:`${o?"not-allowed":"pointer"}!important`,color:e?m.palette.brandColor.grey1:m.palette.primary.notifyActiveText}),onClick:()=>o?null:t(!1),children:u(n)}),f.jsx(Fu,{ref:h,disableRipple:!0,sx:m=>({opacity:o?.5:1,cursor:`${o?"not-allowed":"pointer"}!important`,color:e?m.palette.primary.notifyActiveText:m.palette.brandColor.grey1}),onClick:()=>o?null:t(!0),children:u(r)})]})})};function Vu({...e}){return f.jsx(At,{children:f.jsx(D3,{...e})})}const Wu=6048e5,A3=864e5,zu=Symbol.for("constructDateFrom");function Mt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&zu in e?e[zu](t):e instanceof Date?new e.constructor(t):new Date(t)}function nt(e,t){return Mt(t||e,e)}function Hu(e,t,n){const r=nt(e,n?.in);return isNaN(t)?Mt(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Uu(e,t,n){const r=nt(e,n?.in);if(isNaN(t))return Mt(e,NaN);if(!t)return r;const o=r.getDate(),s=Mt(e,r.getTime());s.setMonth(r.getMonth()+t+1,0);const i=s.getDate();return o>=i?s:(r.setFullYear(s.getFullYear(),s.getMonth(),o),r)}let I3={};function us(){return I3}function uo(e,t){const n=us(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=nt(e,t?.in),s=o.getDay(),i=(s<r?7:0)+s-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function ds(e,t){return uo(e,{...t,weekStartsOn:1})}function Gu(e,t){const n=nt(e,t?.in),r=n.getFullYear(),o=Mt(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const s=ds(o),i=Mt(n,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);const a=ds(i);return n.getTime()>=s.getTime()?r+1:n.getTime()>=a.getTime()?r:r-1}function Yu(e){const t=nt(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function fo(e,...t){const n=Mt.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function fs(e,t){const n=nt(e,t?.in);return n.setHours(0,0,0,0),n}function ya(e,t,n){const[r,o]=fo(n?.in,e,t),s=fs(r),i=fs(o),a=+s-Yu(s),l=+i-Yu(i);return Math.round((a-l)/A3)}function P3(e,t){const n=Gu(e,t),r=Mt(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),ds(r)}function L3(e,t,n){return Hu(e,t*7,n)}function j3(e,t,n){return Uu(e,t*12,n)}function R3(e,t){let n,r=t?.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=Mt.bind(null,o));const s=nt(o,r);(!n||n<s||isNaN(+s))&&(n=s)}),Mt(r,n||NaN)}function _3(e,t){let n,r=t?.in;return e.forEach(o=>{!r&&typeof o=="object"&&(r=Mt.bind(null,o));const s=nt(o,r);(!n||n>s||isNaN(+s))&&(n=s)}),Mt(r,n||NaN)}function B3(e,t,n){const[r,o]=fo(n?.in,e,t);return+fs(r)==+fs(o)}function qu(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function N3(e){return!(!qu(e)&&typeof e!="number"||isNaN(+nt(e)))}function Ku(e,t,n){const[r,o]=fo(n?.in,e,t),s=r.getFullYear()-o.getFullYear(),i=r.getMonth()-o.getMonth();return s*12+i}function $3(e,t){const n=nt(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Zu(e,t){const[n,r]=fo(e,t.start,t.end);return{start:n,end:r}}function F3(e,t){const{start:n,end:r}=Zu(t?.in,e);let o=+n>+r;const s=o?+n:+r,i=o?r:n;i.setHours(0,0,0,0),i.setDate(1);let a=1;const l=[];for(;+i<=s;)l.push(Mt(n,i)),i.setMonth(i.getMonth()+a);return o?l.reverse():l}function V3(e,t){const n=nt(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function W3(e,t){const n=nt(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function Xu(e,t){const n=nt(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function z3(e,t){const{start:n,end:r}=Zu(t?.in,e);let o=+n>+r;const s=o?+n:+r,i=o?r:n;i.setHours(0,0,0,0),i.setMonth(0,1);let a=1;const l=[];for(;+i<=s;)l.push(Mt(n,i)),i.setFullYear(i.getFullYear()+a);return o?l.reverse():l}function Ju(e,t){const n=us(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=nt(e,t?.in),s=o.getDay(),i=(s<r?-7:0)+6-(s-r);return o.setDate(o.getDate()+i),o.setHours(23,59,59,999),o}function H3(e,t){return Ju(e,{...t,weekStartsOn:1})}const U3={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},G3=(e,t,n)=>{let r;const o=U3[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function pn(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Y3={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},q3={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},K3={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Z3={date:pn({formats:Y3,defaultWidth:"full"}),time:pn({formats:q3,defaultWidth:"full"}),dateTime:pn({formats:K3,defaultWidth:"full"})},X3={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},J3=(e,t,n,r)=>X3[e];function Ot(e){return(t,n)=>{const r=n?.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):i;o=e.formattingValues[a]||e.formattingValues[i]}else{const i=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;o=e.values[a]||e.values[i]}const s=e.argumentCallback?e.argumentCallback(t):t;return o[s]}}const Q3={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},e9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},t9={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},n9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},r9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},o9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},s9={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Ot({values:Q3,defaultWidth:"wide"}),quarter:Ot({values:e9,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ot({values:t9,defaultWidth:"wide"}),day:Ot({values:n9,defaultWidth:"wide"}),dayPeriod:Ot({values:r9,defaultWidth:"wide",formattingValues:o9,defaultFormattingWidth:"wide"})};function Dt(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(o);if(!s)return null;const i=s[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?a9(a,d=>d.test(i)):i9(a,d=>d.test(i));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(i.length);return{value:c,rest:u}}}function i9(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function a9(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Ai(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],s=t.match(e.parsePattern);if(!s)return null;let i=e.valueCallback?e.valueCallback(s[0]):s[0];i=n.valueCallback?n.valueCallback(i):i;const a=t.slice(o.length);return{value:i,rest:a}}}const l9=/^(\d+)(th|st|nd|rd)?/i,c9=/\d+/i,u9={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},d9={any:[/^b/i,/^(a|c)/i]},f9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},p9={any:[/1/i,/2/i,/3/i,/4/i]},h9={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},m9={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},g9={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},y9={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},C9={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},b9={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},v9={ordinalNumber:Ai({matchPattern:l9,parsePattern:c9,valueCallback:e=>parseInt(e,10)}),era:Dt({matchPatterns:u9,defaultMatchWidth:"wide",parsePatterns:d9,defaultParseWidth:"any"}),quarter:Dt({matchPatterns:f9,defaultMatchWidth:"wide",parsePatterns:p9,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Dt({matchPatterns:h9,defaultMatchWidth:"wide",parsePatterns:m9,defaultParseWidth:"any"}),day:Dt({matchPatterns:g9,defaultMatchWidth:"wide",parsePatterns:y9,defaultParseWidth:"any"}),dayPeriod:Dt({matchPatterns:C9,defaultMatchWidth:"any",parsePatterns:b9,defaultParseWidth:"any"})},dr={code:"en-US",formatDistance:G3,formatLong:Z3,formatRelative:J3,localize:s9,match:v9,options:{weekStartsOn:0,firstWeekContainsDate:1}},x9=Object.freeze(Object.defineProperty({__proto__:null,enUS:dr},Symbol.toStringTag,{value:"Module"}));function w9(e,t){const n=nt(e,t?.in);return ya(n,Xu(n))+1}function Ca(e,t){const n=nt(e,t?.in),r=+ds(n)-+P3(n);return Math.round(r/Wu)+1}function Qu(e,t){const n=nt(e,t?.in),r=n.getFullYear(),o=us(),s=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=Mt(t?.in||e,0);i.setFullYear(r+1,0,s),i.setHours(0,0,0,0);const a=uo(i,t),l=Mt(t?.in||e,0);l.setFullYear(r,0,s),l.setHours(0,0,0,0);const c=uo(l,t);return+n>=+a?r+1:+n>=+c?r:r-1}function S9(e,t){const n=us(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=Qu(e,t),s=Mt(t?.in||e,0);return s.setFullYear(o,0,r),s.setHours(0,0,0,0),uo(s,t)}function ba(e,t){const n=nt(e,t?.in),r=+uo(n,t)-+S9(n,t);return Math.round(r/Wu)+1}function Ze(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const fr={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Ze(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Ze(n+1,2)},d(e,t){return Ze(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Ze(e.getHours()%12||12,t.length)},H(e,t){return Ze(e.getHours(),t.length)},m(e,t){return Ze(e.getMinutes(),t.length)},s(e,t){return Ze(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ze(o,t.length)}},po={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ed={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return fr.y(e,t)},Y:function(e,t,n,r){const o=Qu(e,r),s=o>0?o:1-o;if(t==="YY"){const i=s%100;return Ze(i,2)}return t==="Yo"?n.ordinalNumber(s,{unit:"year"}):Ze(s,t.length)},R:function(e,t){const n=Gu(e);return Ze(n,t.length)},u:function(e,t){const n=e.getFullYear();return Ze(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Ze(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Ze(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return fr.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Ze(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=ba(e,r);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):Ze(o,t.length)},I:function(e,t,n){const r=Ca(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Ze(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):fr.d(e,t)},D:function(e,t,n){const r=w9(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ze(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),s=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return Ze(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),s=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return Ze(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=r===0?7:r;switch(t){case"i":return String(o);case"ii":return Ze(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(r===12?o=po.noon:r===0?o=po.midnight:o=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(r>=17?o=po.evening:r>=12?o=po.afternoon:r>=4?o=po.morning:o=po.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return fr.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):fr.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ze(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ze(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):fr.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):fr.s(e,t)},S:function(e,t){return fr.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return nd(r);case"XXXX":case"XX":return Or(r);default:return Or(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return nd(r);case"xxxx":case"xx":return Or(r);default:return Or(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+td(r,":");default:return"GMT"+Or(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+td(r,":");default:return"GMT"+Or(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return Ze(r,t.length)},T:function(e,t,n){return Ze(+e,t.length)}};function td(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),s=r%60;return s===0?n+String(o):n+String(o)+t+Ze(s,2)}function nd(e,t){return e%60===0?(e>0?"-":"+")+Ze(Math.abs(e)/60,2):Or(e,t)}function Or(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ze(Math.trunc(r/60),2),s=Ze(r%60,2);return n+o+t+s}const rd=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},od=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},k9={p:od,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return rd(e,t);let s;switch(r){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",rd(r,t)).replace("{{time}}",od(o,t))}},T9=/^D+$/,E9=/^Y+$/,M9=["D","DD","YY","YYYY"];function O9(e){return T9.test(e)}function D9(e){return E9.test(e)}function A9(e,t,n){const r=I9(e,t,n);if(console.warn(r),M9.includes(e))throw new RangeError(r)}function I9(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const P9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,L9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,j9=/^'([^]*?)'?$/,R9=/''/g,_9=/[a-zA-Z]/;function ho(e,t,n){const r=us(),o=n?.locale??r.locale??dr,s=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=nt(e,n?.in);if(!N3(a))throw new RangeError("Invalid time value");let l=t.match(L9).map(u=>{const d=u[0];if(d==="p"||d==="P"){const h=k9[d];return h(u,o.formatLong)}return u}).join("").match(P9).map(u=>{if(u==="''")return{isToken:!1,value:"'"};const d=u[0];if(d==="'")return{isToken:!1,value:B9(u)};if(ed[d])return{isToken:!0,value:u};if(d.match(_9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+d+"`");return{isToken:!1,value:u}});o.localize.preprocessor&&(l=o.localize.preprocessor(a,l));const c={firstWeekContainsDate:s,weekStartsOn:i,locale:o};return l.map(u=>{if(!u.isToken)return u.value;const d=u.value;(!n?.useAdditionalWeekYearTokens&&D9(d)||!n?.useAdditionalDayOfYearTokens&&O9(d))&&A9(d,t,String(e));const h=ed[d[0]];return h(a,d,o.localize,c)}).join("")}function B9(e){const t=e.match(j9);return t?t[1].replace(R9,"'"):e}function N9(e,t){const n=nt(e,t?.in),r=n.getFullYear(),o=n.getMonth(),s=Mt(n,0);return s.setFullYear(r,o+1,0),s.setHours(0,0,0,0),s.getDate()}function $9(e,t){return nt(e,t?.in).getMonth()}function F9(e,t){return nt(e,t?.in).getFullYear()}function V9(e,t){return+nt(e)>+nt(t)}function W9(e,t){return+nt(e)<+nt(t)}function z9(e,t,n){const[r,o]=fo(n?.in,e,t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function H9(e,t,n){const[r,o]=fo(n?.in,e,t);return r.getFullYear()===o.getFullYear()}function U9(e,t,n){const r=nt(e,n?.in),o=r.getFullYear(),s=r.getDate(),i=Mt(e,0);i.setFullYear(o,t,15),i.setHours(0,0,0,0);const a=N9(i);return r.setMonth(t,Math.min(s,a)),r}function G9(e,t,n){const r=nt(e,n?.in);return isNaN(+r)?Mt(e,NaN):(r.setFullYear(t),r)}function Y9(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}const q9={},ps={};function Dr(e,t){try{const r=(q9[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];return r in ps?ps[r]:sd(r,r.split(":"))}catch{if(e in ps)return ps[e];const n=e?.match(K9);return n?sd(e,n.slice(1)):NaN}}const K9=/([+-]\d\d):?(\d\d)?/;function sd(e,t){const n=+(t[0]||0),r=+(t[1]||0),o=+(t[2]||0)/60;return ps[e]=n*60+r>0?n*60+r+o:n*60-r-o}class Bn extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(Dr(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),ad(this),va(this)):this.setTime(Date.now())}static tz(t,...n){return n.length?new Bn(...n,t):new Bn(Date.now(),t)}withTimeZone(t){return new Bn(+this,t)}getTimezoneOffset(){const t=-Dr(this.timeZone,this);return t>0?Math.floor(t):Math.ceil(t)}setTime(t){return Date.prototype.setTime.apply(this,arguments),va(this),+this}[Symbol.for("constructDateFrom")](t){return new Bn(+new Date(t),this.timeZone)}}const id=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!id.test(e))return;const t=e.replace(id,"$1UTC");Bn.prototype[t]&&(e.startsWith("get")?Bn.prototype[e]=function(){return this.internal[t]()}:(Bn.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),Z9(this),+this},Bn.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),va(this),+this}))});function va(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-Dr(e.timeZone,e)*60))}function Z9(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),ad(e)}function ad(e){const t=Dr(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);const o=-new Date(+e).getTimezoneOffset(),s=-new Date(+r).getTimezoneOffset(),i=o-s,a=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();i&&a&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+i);const l=o-n;l&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+l);const c=new Date(+e);c.setUTCSeconds(0);const u=o>0?c.getSeconds():(c.getSeconds()-60)%60,d=Math.round(-(Dr(e.timeZone,e)*60))%60;(d||u)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+d),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+d+u));const h=Dr(e.timeZone,e),m=h>0?Math.floor(h):Math.ceil(h),C=-new Date(+e).getTimezoneOffset()-m,b=m!==n,v=C-l;if(b&&v){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+v);const k=Dr(e.timeZone,e),w=k>0?Math.floor(k):Math.ceil(k),x=m-w;x&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+x),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+x))}}class $t extends Bn{static tz(t,...n){return n.length?new $t(...n,t):new $t(Date.now(),t)}toISOString(){const[t,n,r]=this.tzComponents(),o=`${t}${n}:${r}`;return this.internal.toISOString().slice(0,-1)+o}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[t,n,r,o]=this.internal.toUTCString().split(" ");return`${t?.slice(0,-1)} ${r} ${n} ${o}`}toTimeString(){const t=this.internal.toUTCString().split(" ")[4],[n,r,o]=this.tzComponents();return`${t} GMT${n}${r}${o} (${Y9(this.timeZone,this)})`}toLocaleString(t,n){return Date.prototype.toLocaleString.call(this,t,{...n,timeZone:n?.timeZone||this.timeZone})}toLocaleDateString(t,n){return Date.prototype.toLocaleDateString.call(this,t,{...n,timeZone:n?.timeZone||this.timeZone})}toLocaleTimeString(t,n){return Date.prototype.toLocaleTimeString.call(this,t,{...n,timeZone:n?.timeZone||this.timeZone})}tzComponents(){const t=this.getTimezoneOffset(),n=t>0?"-":"+",r=String(Math.floor(Math.abs(t)/60)).padStart(2,"0"),o=String(Math.abs(t)%60).padStart(2,"0");return[n,r,o]}withTimeZone(t){return new $t(+this,t)}[Symbol.for("constructDateFrom")](t){return new $t(+new Date(t),this.timeZone)}}const ld=5,X9=4;function J9(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,o=t.addDays(e,-r+1),s=t.addDays(o,ld*7-1);return t.getMonth(e)===t.getMonth(s)?ld:X9}function cd(e,t){const n=t.startOfMonth(e),r=n.getDay();return r===1?n:r===0?t.addDays(n,-6):t.addDays(n,-1*(r-1))}function Q9(e,t){const n=cd(e,t),r=J9(e,t);return t.addDays(n,r*7-1)}const ey={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},ty=(e,t,n)=>{let r;const o=ey[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?r+" 후":r+" 전":r},ny={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},ry={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},oy={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},sy={date:pn({formats:ny,defaultWidth:"full"}),time:pn({formats:ry,defaultWidth:"full"}),dateTime:pn({formats:oy,defaultWidth:"full"})},iy={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},ay=(e,t,n,r)=>iy[e],ly={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},cy={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},uy={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},dy={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},fy={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},py={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},hy={ordinalNumber:(e,t)=>{const n=Number(e);switch(String(t?.unit)){case"minute":case"second":return String(n);case"date":return n+"일";default:return n+"번째"}},era:Ot({values:ly,defaultWidth:"wide"}),quarter:Ot({values:cy,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ot({values:uy,defaultWidth:"wide"}),day:Ot({values:dy,defaultWidth:"wide"}),dayPeriod:Ot({values:fy,defaultWidth:"wide",formattingValues:py,defaultFormattingWidth:"wide"})},my=/^(\d+)(일|번째)?/i,gy=/\d+/i,yy={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},Cy={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},by={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},vy={any:[/1/i,/2/i,/3/i,/4/i]},xy={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},wy={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},Sy={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},ky={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},Ty={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},Ey={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},My={ordinalNumber:Ai({matchPattern:my,parsePattern:gy,valueCallback:e=>parseInt(e,10)}),era:Dt({matchPatterns:yy,defaultMatchWidth:"wide",parsePatterns:Cy,defaultParseWidth:"any"}),quarter:Dt({matchPatterns:by,defaultMatchWidth:"wide",parsePatterns:vy,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Dt({matchPatterns:xy,defaultMatchWidth:"wide",parsePatterns:wy,defaultParseWidth:"any"}),day:Dt({matchPatterns:Sy,defaultMatchWidth:"wide",parsePatterns:ky,defaultParseWidth:"any"}),dayPeriod:Dt({matchPatterns:Ty,defaultMatchWidth:"any",parsePatterns:Ey,defaultParseWidth:"any"})},Oy=Object.freeze(Object.defineProperty({__proto__:null,ko:{code:"ko",formatDistance:ty,formatLong:sy,formatRelative:ay,localize:hy,match:My,options:{weekStartsOn:0,firstWeekContainsDate:1}}},Symbol.toStringTag,{value:"Module"})),Dy={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},Ay=(e,t,n)=>{let r;const o=Dy[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"over "+r:r+" geleden":r},Iy={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},Py={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Ly={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},jy={date:pn({formats:Iy,defaultWidth:"full"}),time:pn({formats:Py,defaultWidth:"full"}),dateTime:pn({formats:Ly,defaultWidth:"full"})},Ry={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},_y=(e,t,n,r)=>Ry[e],By={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},Ny={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},$y={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},Fy={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},Vy={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},Wy={ordinalNumber:(e,t)=>Number(e)+"e",era:Ot({values:By,defaultWidth:"wide"}),quarter:Ot({values:Ny,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ot({values:$y,defaultWidth:"wide"}),day:Ot({values:Fy,defaultWidth:"wide"}),dayPeriod:Ot({values:Vy,defaultWidth:"wide"})},zy=/^(\d+)e?/i,Hy=/\d+/i,Uy={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Gy={any:[/^v/,/^n/]},Yy={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},qy={any:[/1/i,/2/i,/3/i,/4/i]},Ky={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},Zy={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},Xy={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},Jy={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},Qy={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},eC={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},tC={ordinalNumber:Ai({matchPattern:zy,parsePattern:Hy,valueCallback:e=>parseInt(e,10)}),era:Dt({matchPatterns:Uy,defaultMatchWidth:"wide",parsePatterns:Gy,defaultParseWidth:"any"}),quarter:Dt({matchPatterns:Yy,defaultMatchWidth:"wide",parsePatterns:qy,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Dt({matchPatterns:Ky,defaultMatchWidth:"wide",parsePatterns:Zy,defaultParseWidth:"any"}),day:Dt({matchPatterns:Xy,defaultMatchWidth:"wide",parsePatterns:Jy,defaultParseWidth:"any"}),dayPeriod:Dt({matchPatterns:Qy,defaultMatchWidth:"any",parsePatterns:eC,defaultParseWidth:"any"})},nC=Object.freeze(Object.defineProperty({__proto__:null,nl:{code:"nl",formatDistance:Ay,formatLong:jy,formatRelative:_y,localize:Wy,match:tC,options:{weekStartsOn:1,firstWeekContainsDate:4}}},Symbol.toStringTag,{value:"Module"})),rC={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},oC=(e,t,n)=>{let r;const o=rC[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?r+" sonra":r+" önce":r},sC={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},iC={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},aC={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},lC={date:pn({formats:sC,defaultWidth:"full"}),time:pn({formats:iC,defaultWidth:"full"}),dateTime:pn({formats:aC,defaultWidth:"full"})},cC={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},uC=(e,t,n,r)=>cC[e],dC={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},fC={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},pC={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},hC={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},mC={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},gC={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},yC={ordinalNumber:(e,t)=>Number(e)+".",era:Ot({values:dC,defaultWidth:"wide"}),quarter:Ot({values:fC,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:Ot({values:pC,defaultWidth:"wide"}),day:Ot({values:hC,defaultWidth:"wide"}),dayPeriod:Ot({values:mC,defaultWidth:"wide",formattingValues:gC,defaultFormattingWidth:"wide"})},CC=/^(\d+)(\.)?/i,bC=/\d+/i,vC={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},xC={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},wC={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},SC={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},kC={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},TC={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},EC={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},MC={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},OC={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},DC={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},AC={ordinalNumber:Ai({matchPattern:CC,parsePattern:bC,valueCallback:function(e){return parseInt(e,10)}}),era:Dt({matchPatterns:vC,defaultMatchWidth:"wide",parsePatterns:xC,defaultParseWidth:"any"}),quarter:Dt({matchPatterns:wC,defaultMatchWidth:"wide",parsePatterns:SC,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Dt({matchPatterns:kC,defaultMatchWidth:"wide",parsePatterns:TC,defaultParseWidth:"any"}),day:Dt({matchPatterns:EC,defaultMatchWidth:"wide",parsePatterns:MC,defaultParseWidth:"any"}),dayPeriod:Dt({matchPatterns:OC,defaultMatchWidth:"any",parsePatterns:DC,defaultParseWidth:"any"})},IC=Object.freeze(Object.defineProperty({__proto__:null,tr:{code:"tr",formatDistance:oC,formatLong:lC,formatRelative:uC,localize:yC,match:AC,options:{weekStartsOn:1,firstWeekContainsDate:1}}},Symbol.toStringTag,{value:"Module"})),ud={...dr,labels:{labelDayButton:(e,t,n,r)=>{let o;r&&typeof r.format=="function"?o=r.format.bind(r):o=(i,a)=>ho(i,a,{locale:dr,...n});let s=o(e,"PPPP");return t.today&&(s=`Today, ${s}`),t.selected&&(s=`${s}, selected`),s},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(o,s)=>ho(o,s,{locale:dr,...t}),r(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let o;r&&typeof r.format=="function"?o=r.format.bind(r):o=(i,a)=>ho(i,a,{locale:dr,...n});let s=o(e,"PPPP");return t?.today&&(s=`Today, ${s}`),s},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>{let r;return n&&typeof n.format=="function"?r=n.format.bind(n):r=(o,s)=>ho(o,s,{locale:dr,...t}),r(e,"cccc")}}};class rn{constructor(t,n){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?$t.tz(this.options.timeZone):new this.Date,this.newDate=(r,o,s)=>this.overrides?.newDate?this.overrides.newDate(r,o,s):this.options.timeZone?new $t(r,o,s,this.options.timeZone):new Date(r,o,s),this.addDays=(r,o)=>this.overrides?.addDays?this.overrides.addDays(r,o):Hu(r,o),this.addMonths=(r,o)=>this.overrides?.addMonths?this.overrides.addMonths(r,o):Uu(r,o),this.addWeeks=(r,o)=>this.overrides?.addWeeks?this.overrides.addWeeks(r,o):L3(r,o),this.addYears=(r,o)=>this.overrides?.addYears?this.overrides.addYears(r,o):j3(r,o),this.differenceInCalendarDays=(r,o)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(r,o):ya(r,o),this.differenceInCalendarMonths=(r,o)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(r,o):Ku(r,o),this.eachMonthOfInterval=r=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(r):F3(r),this.eachYearOfInterval=r=>{const o=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(r):z3(r),s=new Set(o.map(a=>this.getYear(a)));if(s.size===o.length)return o;const i=[];return s.forEach(a=>{i.push(new Date(a,0,1))}),i},this.endOfBroadcastWeek=r=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(r):Q9(r,this),this.endOfISOWeek=r=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(r):H3(r),this.endOfMonth=r=>this.overrides?.endOfMonth?this.overrides.endOfMonth(r):$3(r),this.endOfWeek=(r,o)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(r,o):Ju(r,this.options),this.endOfYear=r=>this.overrides?.endOfYear?this.overrides.endOfYear(r):W3(r),this.format=(r,o,s)=>{const i=this.overrides?.format?this.overrides.format(r,o,this.options):ho(r,o,this.options);return this.options.numerals&&this.options.numerals!=="latn"?this.replaceDigits(i):i},this.getISOWeek=r=>this.overrides?.getISOWeek?this.overrides.getISOWeek(r):Ca(r),this.getMonth=(r,o)=>this.overrides?.getMonth?this.overrides.getMonth(r,this.options):$9(r,this.options),this.getYear=(r,o)=>this.overrides?.getYear?this.overrides.getYear(r,this.options):F9(r,this.options),this.getWeek=(r,o)=>this.overrides?.getWeek?this.overrides.getWeek(r,this.options):ba(r,this.options),this.isAfter=(r,o)=>this.overrides?.isAfter?this.overrides.isAfter(r,o):V9(r,o),this.isBefore=(r,o)=>this.overrides?.isBefore?this.overrides.isBefore(r,o):W9(r,o),this.isDate=r=>this.overrides?.isDate?this.overrides.isDate(r):qu(r),this.isSameDay=(r,o)=>this.overrides?.isSameDay?this.overrides.isSameDay(r,o):B3(r,o),this.isSameMonth=(r,o)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(r,o):z9(r,o),this.isSameYear=(r,o)=>this.overrides?.isSameYear?this.overrides.isSameYear(r,o):H9(r,o),this.max=r=>this.overrides?.max?this.overrides.max(r):R3(r),this.min=r=>this.overrides?.min?this.overrides.min(r):_3(r),this.setMonth=(r,o)=>this.overrides?.setMonth?this.overrides.setMonth(r,o):U9(r,o),this.setYear=(r,o)=>this.overrides?.setYear?this.overrides.setYear(r,o):G9(r,o),this.startOfBroadcastWeek=(r,o)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(r,this):cd(r,this),this.startOfDay=r=>this.overrides?.startOfDay?this.overrides.startOfDay(r):fs(r),this.startOfISOWeek=r=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(r):ds(r),this.startOfMonth=r=>this.overrides?.startOfMonth?this.overrides.startOfMonth(r):V3(r),this.startOfWeek=(r,o)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(r,this.options):uo(r,this.options),this.startOfYear=r=>this.overrides?.startOfYear?this.overrides.startOfYear(r):Xu(r),this.options={locale:ud,...t},this.overrides=n}getDigitMap(){const{numerals:t="latn"}=this.options,n=new Intl.NumberFormat("en-US",{numberingSystem:t}),r={};for(let o=0;o<10;o++)r[o.toString()]=n.format(o);return r}replaceDigits(t){const n=this.getDigitMap();return t.replace(/\d/g,r=>n[r]||r)}formatNumber(t){return this.replaceDigits(t.toString())}getMonthYearOrder(){const t=this.options.locale?.code;return t&&rn.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(t){const{locale:n,timeZone:r,numerals:o}=this.options,s=n?.code;if(s&&rn.yearFirstLocales.has(s))try{return new Intl.DateTimeFormat(s,{month:"long",year:"numeric",timeZone:r,numberingSystem:o}).format(t)}catch{}const i=this.getMonthYearOrder()==="year-first"?"y LLLL":"LLLL y";return this.format(t,i)}}rn.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const Nn=new rn;class dd{constructor(t,n,r=Nn){this.date=t,this.displayMonth=n,this.outside=!!(n&&!r.isSameMonth(t,n)),this.dateLib=r,this.isoDate=r.format(t,"yyyy-MM-dd"),this.displayMonthId=r.format(n,"yyyy-MM"),this.dateMonthId=r.format(t,"yyyy-MM")}isEqualTo(t){return this.dateLib.isSameDay(t.date,this.date)&&this.dateLib.isSameMonth(t.displayMonth,this.displayMonth)}}class PC{constructor(t,n){this.date=t,this.weeks=n}}class LC{constructor(t,n){this.days=n,this.weekNumber=t}}function jC(e){return p.createElement("button",{...e})}function RC(e){return p.createElement("span",{...e})}function _C(e){const{size:t=24,orientation:n="left",className:r}=e;return p.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},n==="up"&&p.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),n==="down"&&p.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),n==="left"&&p.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),n==="right"&&p.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function BC(e){const{day:t,modifiers:n,...r}=e;return p.createElement("td",{...r})}function NC(e){const{day:t,modifiers:n,...r}=e,o=p.useRef(null);return p.useEffect(()=>{n.focused&&o.current?.focus()},[n.focused]),p.createElement("button",{ref:o,...r})}var Ee;(function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"})(Ee||(Ee={}));var mt;(function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"})(mt||(mt={}));var wn;(function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"})(wn||(wn={}));var on;(function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"})(on||(on={}));function $C(e){const{options:t,className:n,components:r,classNames:o,...s}=e,i=[o[Ee.Dropdown],n].join(" "),a=t?.find(({value:l})=>l===s.value);return p.createElement("span",{"data-disabled":s.disabled,className:o[Ee.DropdownRoot]},p.createElement(r.Select,{className:i,...s},t?.map(({value:l,label:c,disabled:u})=>p.createElement(r.Option,{key:l,value:l,disabled:u},c))),p.createElement("span",{className:o[Ee.CaptionLabel],"aria-hidden":!0},a?.label,p.createElement(r.Chevron,{orientation:"down",size:18,className:o[Ee.Chevron]})))}function FC(e){return p.createElement("div",{...e})}function VC(e){return p.createElement("div",{...e})}function WC(e){const{calendarMonth:t,displayIndex:n,...r}=e;return p.createElement("div",{...r},e.children)}function zC(e){const{calendarMonth:t,displayIndex:n,...r}=e;return p.createElement("div",{...r})}function HC(e){return p.createElement("table",{...e})}function UC(e){return p.createElement("div",{...e})}const fd=p.createContext(void 0);function hs(){const e=p.useContext(fd);if(e===void 0)throw new Error("useDayPicker() must be used within a custom component.");return e}function GC(e){const{components:t}=hs();return p.createElement(t.Dropdown,{...e})}function YC(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:o,...s}=e,{components:i,classNames:a,labels:{labelPrevious:l,labelNext:c}}=hs(),u=p.useCallback(h=>{o&&n?.(h)},[o,n]),d=p.useCallback(h=>{r&&t?.(h)},[r,t]);return p.createElement("nav",{...s},p.createElement(i.PreviousMonthButton,{type:"button",className:a[Ee.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":r?void 0:!0,"aria-label":l(r),onClick:d},p.createElement(i.Chevron,{disabled:r?void 0:!0,className:a[Ee.Chevron],orientation:"left"})),p.createElement(i.NextMonthButton,{type:"button",className:a[Ee.NextMonthButton],tabIndex:o?void 0:-1,"aria-disabled":o?void 0:!0,"aria-label":c(o),onClick:u},p.createElement(i.Chevron,{disabled:o?void 0:!0,orientation:"right",className:a[Ee.Chevron]})))}function qC(e){const{components:t}=hs();return p.createElement(t.Button,{...e})}function KC(e){return p.createElement("option",{...e})}function ZC(e){const{components:t}=hs();return p.createElement(t.Button,{...e})}function XC(e){const{rootRef:t,...n}=e;return p.createElement("div",{...n,ref:t})}function JC(e){return p.createElement("select",{...e})}function QC(e){const{week:t,...n}=e;return p.createElement("tr",{...n})}function eb(e){return p.createElement("th",{...e})}function tb(e){return p.createElement("thead",{"aria-hidden":!0},p.createElement("tr",{...e}))}function nb(e){const{week:t,...n}=e;return p.createElement("th",{...n})}function rb(e){return p.createElement("th",{...e})}function ob(e){return p.createElement("tbody",{...e})}function sb(e){const{components:t}=hs();return p.createElement(t.Dropdown,{...e})}const ib=Object.freeze(Object.defineProperty({__proto__:null,Button:jC,CaptionLabel:RC,Chevron:_C,Day:BC,DayButton:NC,Dropdown:$C,DropdownNav:FC,Footer:VC,Month:WC,MonthCaption:zC,MonthGrid:HC,Months:UC,MonthsDropdown:GC,Nav:YC,NextMonthButton:qC,Option:KC,PreviousMonthButton:ZC,Root:XC,Select:JC,Week:QC,WeekNumber:nb,WeekNumberHeader:rb,Weekday:eb,Weekdays:tb,Weeks:ob,YearsDropdown:sb},Symbol.toStringTag,{value:"Module"}));function Kn(e,t,n=!1,r=Nn){let{from:o,to:s}=e;const{differenceInCalendarDays:i,isSameDay:a}=r;return o&&s?(i(s,o)<0&&([o,s]=[s,o]),i(t,o)>=(n?1:0)&&i(s,t)>=(n?1:0)):!n&&s?a(s,t):!n&&o?a(o,t):!1}function xa(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function Ii(e){return!!(e&&typeof e=="object"&&"from"in e)}function wa(e){return!!(e&&typeof e=="object"&&"after"in e)}function Sa(e){return!!(e&&typeof e=="object"&&"before"in e)}function pd(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function hd(e,t){return Array.isArray(e)&&e.every(t.isDate)}function Zn(e,t,n=Nn){const r=Array.isArray(t)?t:[t],{isSameDay:o,differenceInCalendarDays:s,isAfter:i}=n;return r.some(a=>{if(typeof a=="boolean")return a;if(n.isDate(a))return o(e,a);if(hd(a,n))return a.some(l=>o(e,l));if(Ii(a))return Kn(a,e,!1,n);if(pd(a))return Array.isArray(a.dayOfWeek)?a.dayOfWeek.includes(e.getDay()):a.dayOfWeek===e.getDay();if(xa(a)){const l=s(a.before,e),c=s(a.after,e),u=l>0,d=c<0;return i(a.before,a.after)?d&&u:u||d}return wa(a)?s(e,a.after)>0:Sa(a)?s(a.before,e)>0:typeof a=="function"?a(e):!1})}function ab(e,t,n,r,o){const{disabled:s,hidden:i,modifiers:a,showOutsideDays:l,broadcastCalendar:c,today:u=o.today()}=t,{isSameDay:d,isSameMonth:h,startOfMonth:m,isBefore:g,endOfMonth:C,isAfter:b}=o,v=n&&m(n),k=r&&C(r),w={[mt.focused]:[],[mt.outside]:[],[mt.disabled]:[],[mt.hidden]:[],[mt.today]:[]},x={};for(const T of e){const{date:M,displayMonth:A}=T,I=!!(A&&!h(M,A)),P=!!(v&&g(M,v)),R=!!(k&&b(M,k)),W=!!(s&&Zn(M,s,o)),S=!!(i&&Zn(M,i,o))||P||R||!c&&!l&&I||c&&l===!1&&I,j=d(M,u);I&&w.outside.push(T),W&&w.disabled.push(T),S&&w.hidden.push(T),j&&w.today.push(T),a&&Object.keys(a).forEach(_=>{const N=a?.[_];N&&Zn(M,N,o)&&(x[_]?x[_].push(T):x[_]=[T])})}return T=>{const M={[mt.focused]:!1,[mt.disabled]:!1,[mt.hidden]:!1,[mt.outside]:!1,[mt.today]:!1},A={};for(const I in w){const P=w[I];M[I]=P.some(R=>R===T)}for(const I in x)A[I]=x[I].some(P=>P===T);return{...M,...A}}}function lb(e,t,n={}){return Object.entries(e).filter(([,o])=>o===!0).reduce((o,[s])=>(n[s]?o.push(n[s]):t[mt[s]]?o.push(t[mt[s]]):t[wn[s]]&&o.push(t[wn[s]]),o),[t[Ee.Day]])}function cb(e){return{...ib,...e}}function ub(e){const t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([n,r])=>{n.startsWith("data-")&&(t[n]=r)}),t}function db(){const e={};for(const t in Ee)e[Ee[t]]=`rdp-${Ee[t]}`;for(const t in mt)e[mt[t]]=`rdp-${mt[t]}`;for(const t in wn)e[wn[t]]=`rdp-${wn[t]}`;for(const t in on)e[on[t]]=`rdp-${on[t]}`;return e}function md(e,t,n){return(n??new rn(t)).formatMonthYear(e)}const fb=md;function pb(e,t,n){return(n??new rn(t)).format(e,"d")}function hb(e,t=Nn){return t.format(e,"LLLL")}function mb(e,t,n){return(n??new rn(t)).format(e,"cccccc")}function gb(e,t=Nn){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function yb(){return""}function gd(e,t=Nn){return t.format(e,"yyyy")}const Cb=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:md,formatDay:pb,formatMonthCaption:fb,formatMonthDropdown:hb,formatWeekNumber:gb,formatWeekNumberHeader:yb,formatWeekdayName:mb,formatYearCaption:gd,formatYearDropdown:gd},Symbol.toStringTag,{value:"Module"}));function bb(e){return e?.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),e?.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...Cb,...e}}function ka(e,t,n,r){let o=(r??new rn(n)).format(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o}const vb=ka;function Ta(e,t,n){return(n??new rn(t)).formatMonthYear(e)}const xb=Ta;function yd(e,t,n,r){let o=(r??new rn(n)).format(e,"PPPP");return t?.today&&(o=`Today, ${o}`),o}function Cd(e){return"Choose the Month"}function bd(){return""}const wb="Go to the Next Month";function vd(e,t){return wb}function xd(e){return"Go to the Previous Month"}function wd(e,t,n){return(n??new rn(t)).format(e,"cccc")}function Sd(e,t){return`Week ${e}`}function kd(e){return"Week Number"}function Td(e){return"Choose the Year"}const Sb=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:xb,labelDay:vb,labelDayButton:ka,labelGrid:Ta,labelGridcell:yd,labelMonthDropdown:Cd,labelNav:bd,labelNext:vd,labelPrevious:xd,labelWeekNumber:Sd,labelWeekNumberHeader:kd,labelWeekday:wd,labelYearDropdown:Td},Symbol.toStringTag,{value:"Module"})),Sn=(e,t,n)=>t||(n?typeof n=="function"?n:(...r)=>n:e);function kb(e,t){const n=t.locale?.labels??{};return{...Sb,...e??{},labelDayButton:Sn(ka,e?.labelDayButton,n.labelDayButton),labelMonthDropdown:Sn(Cd,e?.labelMonthDropdown,n.labelMonthDropdown),labelNext:Sn(vd,e?.labelNext,n.labelNext),labelPrevious:Sn(xd,e?.labelPrevious,n.labelPrevious),labelWeekNumber:Sn(Sd,e?.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:Sn(Td,e?.labelYearDropdown,n.labelYearDropdown),labelGrid:Sn(Ta,e?.labelGrid,n.labelGrid),labelGridcell:Sn(yd,e?.labelGridcell,n.labelGridcell),labelNav:Sn(bd,e?.labelNav,n.labelNav),labelWeekNumberHeader:Sn(kd,e?.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:Sn(wd,e?.labelWeekday,n.labelWeekday)}}function Tb(e,t,n,r,o){const{startOfMonth:s,startOfYear:i,endOfYear:a,eachMonthOfInterval:l,getMonth:c}=o;return l({start:i(e),end:a(e)}).map(h=>{const m=r.formatMonthDropdown(h,o),g=c(h),C=t&&h<s(t)||n&&h>s(n)||!1;return{value:g,label:m,disabled:C}})}function Eb(e,t={},n={}){let r={...t?.[Ee.Day]};return Object.entries(e).filter(([,o])=>o===!0).forEach(([o])=>{r={...r,...n?.[o]}}),r}function Mb(e,t,n,r){const o=r??e.today(),s=n?e.startOfBroadcastWeek(o,e):t?e.startOfISOWeek(o):e.startOfWeek(o),i=[];for(let a=0;a<7;a++){const l=e.addDays(s,a);i.push(l)}return i}function Ob(e,t,n,r,o=!1){if(!e||!t)return;const{startOfYear:s,endOfYear:i,eachYearOfInterval:a,getYear:l}=r,c=s(e),u=i(t),d=a({start:c,end:u});return o&&d.reverse(),d.map(h=>{const m=n.formatYearDropdown(h,r);return{value:l(h),label:m,disabled:!1}})}function Db(e,t={}){const{weekStartsOn:n,locale:r}=t,o=n??r?.options?.weekStartsOn??0,s=a=>{const l=typeof a=="number"||typeof a=="string"?new Date(a):a;return new $t(l.getFullYear(),l.getMonth(),l.getDate(),12,0,0,e)},i=a=>{const l=s(a);return new Date(l.getFullYear(),l.getMonth(),l.getDate(),0,0,0,0)};return{today:()=>s($t.tz(e)),newDate:(a,l,c)=>new $t(a,l,c,12,0,0,e),startOfDay:a=>s(a),startOfWeek:(a,l)=>{const c=s(a),u=l?.weekStartsOn??o,d=(c.getDay()-u+7)%7;return c.setDate(c.getDate()-d),c},startOfISOWeek:a=>{const l=s(a),c=(l.getDay()-1+7)%7;return l.setDate(l.getDate()-c),l},startOfMonth:a=>{const l=s(a);return l.setDate(1),l},startOfYear:a=>{const l=s(a);return l.setMonth(0,1),l},endOfWeek:(a,l)=>{const c=s(a),h=(((l?.weekStartsOn??o)+6)%7-c.getDay()+7)%7;return c.setDate(c.getDate()+h),c},endOfISOWeek:a=>{const l=s(a),c=(7-l.getDay())%7;return l.setDate(l.getDate()+c),l},endOfMonth:a=>{const l=s(a);return l.setMonth(l.getMonth()+1,0),l},endOfYear:a=>{const l=s(a);return l.setMonth(11,31),l},eachMonthOfInterval:a=>{const l=s(a.start),c=s(a.end),u=[],d=new $t(l.getFullYear(),l.getMonth(),1,12,0,0,e),h=c.getFullYear()*12+c.getMonth();for(;d.getFullYear()*12+d.getMonth()<=h;)u.push(new $t(d,e)),d.setMonth(d.getMonth()+1,1);return u},addDays:(a,l)=>{const c=s(a);return c.setDate(c.getDate()+l),c},addWeeks:(a,l)=>{const c=s(a);return c.setDate(c.getDate()+l*7),c},addMonths:(a,l)=>{const c=s(a);return c.setMonth(c.getMonth()+l),c},addYears:(a,l)=>{const c=s(a);return c.setFullYear(c.getFullYear()+l),c},eachYearOfInterval:a=>{const l=s(a.start),c=s(a.end),u=[],d=new $t(l.getFullYear(),0,1,12,0,0,e);for(;d.getFullYear()<=c.getFullYear();)u.push(new $t(d,e)),d.setFullYear(d.getFullYear()+1,0,1);return u},getWeek:(a,l)=>{const c=i(a);return ba(c,{weekStartsOn:l?.weekStartsOn??o,firstWeekContainsDate:l?.firstWeekContainsDate??r?.options?.firstWeekContainsDate??1})},getISOWeek:a=>{const l=i(a);return Ca(l)},differenceInCalendarDays:(a,l)=>{const c=i(a),u=i(l);return ya(c,u)},differenceInCalendarMonths:(a,l)=>{const c=i(a),u=i(l);return Ku(c,u)}}}const ms=e=>e instanceof HTMLElement?e:null,Ea=e=>[...e.querySelectorAll("[data-animated-month]")??[]],Ab=e=>ms(e.querySelector("[data-animated-month]")),Ma=e=>ms(e.querySelector("[data-animated-caption]")),Oa=e=>ms(e.querySelector("[data-animated-weeks]")),Ib=e=>ms(e.querySelector("[data-animated-nav]")),Pb=e=>ms(e.querySelector("[data-animated-weekdays]"));function Lb(e,t,{classNames:n,months:r,focused:o,dateLib:s}){const i=p.useRef(null),a=p.useRef(r),l=p.useRef(!1);p.useLayoutEffect(()=>{const c=a.current;if(a.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||r.length===0||c.length===0||r.length!==c.length)return;const u=s.isSameMonth(r[0].date,c[0].date),d=s.isAfter(r[0].date,c[0].date),h=d?n[on.caption_after_enter]:n[on.caption_before_enter],m=d?n[on.weeks_after_enter]:n[on.weeks_before_enter],g=i.current,C=e.current.cloneNode(!0);if(C instanceof HTMLElement?(Ea(C).forEach(w=>{if(!(w instanceof HTMLElement))return;const x=Ab(w);x&&w.contains(x)&&w.removeChild(x);const T=Ma(w);T&&T.classList.remove(h);const M=Oa(w);M&&M.classList.remove(m)}),i.current=C):i.current=null,l.current||u||o)return;const b=g instanceof HTMLElement?Ea(g):[],v=Ea(e.current);if(v?.every(k=>k instanceof HTMLElement)&&b&&b.every(k=>k instanceof HTMLElement)){l.current=!0,e.current.style.isolation="isolate";const k=Ib(e.current);k&&(k.style.zIndex="1"),v.forEach((w,x)=>{const T=b[x];if(!T)return;w.style.position="relative",w.style.overflow="hidden";const M=Ma(w);M&&M.classList.add(h);const A=Oa(w);A&&A.classList.add(m);const I=()=>{l.current=!1,e.current&&(e.current.style.isolation=""),k&&(k.style.zIndex=""),M&&M.classList.remove(h),A&&A.classList.remove(m),w.style.position="",w.style.overflow="",w.contains(T)&&w.removeChild(T)};T.style.pointerEvents="none",T.style.position="absolute",T.style.overflow="hidden",T.setAttribute("aria-hidden","true");const P=Pb(T);P&&(P.style.opacity="0");const R=Ma(T);R&&(R.classList.add(d?n[on.caption_before_exit]:n[on.caption_after_exit]),R.addEventListener("animationend",I));const W=Oa(T);W&&W.classList.add(d?n[on.weeks_before_exit]:n[on.weeks_after_exit]),w.insertBefore(T,w.firstChild)})}})}function jb(e,t,n,r){const o=e[0],s=e[e.length-1],{ISOWeek:i,fixedWeeks:a,broadcastCalendar:l}=n??{},{addDays:c,differenceInCalendarDays:u,differenceInCalendarMonths:d,endOfBroadcastWeek:h,endOfISOWeek:m,endOfMonth:g,endOfWeek:C,isAfter:b,startOfBroadcastWeek:v,startOfISOWeek:k,startOfWeek:w}=r,x=l?v(o,r):i?k(o):w(o),T=l?h(s):i?m(g(s)):C(g(s)),M=t&&(l?h(t):i?m(t):C(t)),A=M&&b(T,M)?M:T,I=u(A,x),P=d(s,o)+1,R=[];for(let j=0;j<=I;j++){const _=c(x,j);R.push(_)}const S=(l?35:42)*P;if(a&&R.length<S){const j=S-R.length;for(let _=0;_<j;_++){const N=c(R[R.length-1],1);R.push(N)}}return R}function Rb(e){const t=[];return e.reduce((n,r)=>{const o=r.weeks.reduce((s,i)=>s.concat(i.days.slice()),t.slice());return n.concat(o.slice())},t.slice())}function _b(e,t,n,r){const{numberOfMonths:o=1}=n,s=[];for(let i=0;i<o;i++){const a=r.addMonths(e,i);if(t&&a>t)break;s.push(a)}return s}function Ed(e,t,n,r){const{month:o,defaultMonth:s,today:i=r.today(),numberOfMonths:a=1}=e;let l=o||s||i;const{differenceInCalendarMonths:c,addMonths:u,startOfMonth:d}=r;if(n&&c(n,l)<a-1){const h=-1*(a-1);l=u(n,h)}return t&&c(l,t)<0&&(l=t),d(l)}function Bb(e,t,n,r){const{addDays:o,endOfBroadcastWeek:s,endOfISOWeek:i,endOfMonth:a,endOfWeek:l,getISOWeek:c,getWeek:u,startOfBroadcastWeek:d,startOfISOWeek:h,startOfWeek:m}=r,g=e.reduce((C,b)=>{const v=n.broadcastCalendar?d(b,r):n.ISOWeek?h(b):m(b),k=n.broadcastCalendar?s(b):n.ISOWeek?i(a(b)):l(a(b)),w=t.filter(A=>A>=v&&A<=k),x=n.broadcastCalendar?35:42;if(n.fixedWeeks&&w.length<x){const A=t.filter(I=>{const P=x-w.length;return I>k&&I<=o(k,P)});w.push(...A)}const T=w.reduce((A,I)=>{const P=n.ISOWeek?c(I):u(I),R=A.find(S=>S.weekNumber===P),W=new dd(I,b,r);return R?R.days.push(W):A.push(new LC(P,[W])),A},[]),M=new PC(b,T);return C.push(M),C},[]);return n.reverseMonths?g.reverse():g}function Nb(e,t){let{startMonth:n,endMonth:r}=e;const{startOfYear:o,startOfDay:s,startOfMonth:i,endOfMonth:a,addYears:l,endOfYear:c,newDate:u,today:d}=t,{fromYear:h,toYear:m,fromMonth:g,toMonth:C}=e;!n&&g&&(n=g),!n&&h&&(n=t.newDate(h,0,1)),!r&&C&&(r=C),!r&&m&&(r=u(m,11,31));const b=e.captionLayout==="dropdown"||e.captionLayout==="dropdown-years";return n?n=i(n):h?n=u(h,0,1):!n&&b&&(n=o(l(e.today??d(),-100))),r?r=a(r):m?r=u(m,11,31):!r&&b&&(r=c(e.today??d())),[n&&s(n),r&&s(r)]}function $b(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:s=1}=n,{startOfMonth:i,addMonths:a,differenceInCalendarMonths:l}=r,c=o?s:1,u=i(e);if(!t)return a(u,c);if(!(l(t,e)<s))return a(u,c)}function Fb(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:s}=n,{startOfMonth:i,addMonths:a,differenceInCalendarMonths:l}=r,c=o?s??1:1,u=i(e);if(!t)return a(u,-c);if(!(l(u,t)<=0))return a(u,-c)}function Vb(e){const t=[];return e.reduce((n,r)=>n.concat(r.weeks.slice()),t.slice())}function Pi(e,t){const[n,r]=p.useState(e);return[t===void 0?n:t,r]}function Wb(e,t){const[n,r]=Nb(e,t),{startOfMonth:o,endOfMonth:s}=t,i=Ed(e,n,r,t),[a,l]=Pi(i,e.month?i:void 0);p.useEffect(()=>{const x=Ed(e,n,r,t);l(x)},[e.timeZone]);const{months:c,weeks:u,days:d,previousMonth:h,nextMonth:m}=p.useMemo(()=>{const x=_b(a,r,{numberOfMonths:e.numberOfMonths},t),T=jb(x,e.endMonth?s(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),M=Bb(x,T,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),A=Vb(M),I=Rb(M),P=Fb(a,n,e,t),R=$b(a,r,e,t);return{months:M,weeks:A,days:I,previousMonth:P,nextMonth:R}},[t,a.getTime(),r?.getTime(),n?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:g,onMonthChange:C}=e,b=x=>u.some(T=>T.days.some(M=>M.isEqualTo(x))),v=x=>{if(g)return;let T=o(x);n&&T<o(n)&&(T=o(n)),r&&T>o(r)&&(T=o(r)),l(T),C?.(T)};return{months:c,weeks:u,days:d,navStart:n,navEnd:r,previousMonth:h,nextMonth:m,goToMonth:v,goToDay:x=>{b(x)||v(x.date)}}}var $n;(function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"})($n||($n={}));function Md(e){return!e[mt.disabled]&&!e[mt.hidden]&&!e[mt.outside]}function zb(e,t,n,r){let o,s=-1;for(const i of e){const a=t(i);Md(a)&&(a[mt.focused]&&s<$n.FocusedModifier?(o=i,s=$n.FocusedModifier):r?.isEqualTo(i)&&s<$n.LastFocused?(o=i,s=$n.LastFocused):n(i.date)&&s<$n.Selected?(o=i,s=$n.Selected):a[mt.today]&&s<$n.Today&&(o=i,s=$n.Today))}return o||(o=e.find(i=>Md(t(i)))),o}function Hb(e,t,n,r,o,s,i){const{ISOWeek:a,broadcastCalendar:l}=s,{addDays:c,addMonths:u,addWeeks:d,addYears:h,endOfBroadcastWeek:m,endOfISOWeek:g,endOfWeek:C,max:b,min:v,startOfBroadcastWeek:k,startOfISOWeek:w,startOfWeek:x}=i;let M={day:c,week:d,month:u,year:h,startOfWeek:A=>l?k(A,i):a?w(A):x(A),endOfWeek:A=>l?m(A):a?g(A):C(A)}[e](n,t==="after"?1:-1);return t==="before"&&r?M=b([r,M]):t==="after"&&o&&(M=v([o,M])),M}function Od(e,t,n,r,o,s,i,a=0){if(a>365)return;const l=Hb(e,t,n.date,r,o,s,i),c=!!(s.disabled&&Zn(l,s.disabled,i)),u=!!(s.hidden&&Zn(l,s.hidden,i)),d=l,h=new dd(l,d,i);return!c&&!u?h:Od(e,t,h,r,o,s,i,a+1)}function Ub(e,t,n,r,o){const{autoFocus:s}=e,[i,a]=p.useState(),l=zb(t.days,n,r||(()=>!1),i),[c,u]=p.useState(s?l:void 0);return{isFocusTarget:C=>!!l?.isEqualTo(C),setFocused:u,focused:c,blur:()=>{a(c),u(void 0)},moveFocus:(C,b)=>{if(!c)return;const v=Od(C,b,c,t.navStart,t.navEnd,e,o);v&&(e.disableNavigation&&!t.days.some(w=>w.isEqualTo(v))||(t.goToDay(v),u(v)))}}}function Gb(e,t){const{selected:n,required:r,onSelect:o}=e,[s,i]=Pi(n,o?n:void 0),a=o?n:s,{isSameDay:l}=t,c=m=>a?.some(g=>l(g,m))??!1,{min:u,max:d}=e;return{selected:a,select:(m,g,C)=>{let b=[...a??[]];if(c(m)){if(a?.length===u||r&&a?.length===1)return;b=a?.filter(v=>!l(v,m))}else a?.length===d?b=[m]:b=[...b,m];return o||i(b),o?.(b,m,g,C),b},isSelected:c}}function Yb(e,t,n=0,r=0,o=!1,s=Nn){const{from:i,to:a}=t||{},{isSameDay:l,isAfter:c,isBefore:u}=s;let d;if(!i&&!a)d={from:e,to:n>0?void 0:e};else if(i&&!a)l(i,e)?n===0?d={from:i,to:e}:o?d={from:i,to:void 0}:d=void 0:u(e,i)?d={from:e,to:i}:d={from:i,to:e};else if(i&&a)if(l(i,e)&&l(a,e))o?d={from:i,to:a}:d=void 0;else if(l(i,e))d={from:i,to:n>0?void 0:e};else if(l(a,e))d={from:e,to:n>0?void 0:e};else if(u(e,i))d={from:e,to:a};else if(c(e,i))d={from:i,to:e};else if(c(e,a))d={from:i,to:e};else throw new Error("Invalid range");if(d?.from&&d?.to){const h=s.differenceInCalendarDays(d.to,d.from);r>0&&h>r?d={from:e,to:void 0}:n>1&&h<n&&(d={from:e,to:void 0})}return d}function qb(e,t,n=Nn){const r=Array.isArray(t)?t:[t];let o=e.from;const s=n.differenceInCalendarDays(e.to,e.from),i=Math.min(s,6);for(let a=0;a<=i;a++){if(r.includes(o.getDay()))return!0;o=n.addDays(o,1)}return!1}function Dd(e,t,n=Nn){return Kn(e,t.from,!1,n)||Kn(e,t.to,!1,n)||Kn(t,e.from,!1,n)||Kn(t,e.to,!1,n)}function Kb(e,t,n=Nn){const r=Array.isArray(t)?t:[t];if(r.filter(a=>typeof a!="function").some(a=>typeof a=="boolean"?a:n.isDate(a)?Kn(e,a,!1,n):hd(a,n)?a.some(l=>Kn(e,l,!1,n)):Ii(a)?a.from&&a.to?Dd(e,{from:a.from,to:a.to},n):!1:pd(a)?qb(e,a.dayOfWeek,n):xa(a)?n.isAfter(a.before,a.after)?Dd(e,{from:n.addDays(a.after,1),to:n.addDays(a.before,-1)},n):Zn(e.from,a,n)||Zn(e.to,a,n):wa(a)||Sa(a)?Zn(e.from,a,n)||Zn(e.to,a,n):!1))return!0;const i=r.filter(a=>typeof a=="function");if(i.length){let a=e.from;const l=n.differenceInCalendarDays(e.to,e.from);for(let c=0;c<=l;c++){if(i.some(u=>u(a)))return!0;a=n.addDays(a,1)}}return!1}function Zb(e,t){const{disabled:n,excludeDisabled:r,resetOnSelect:o,selected:s,required:i,onSelect:a}=e,[l,c]=Pi(s,a?s:void 0),u=a?s:l;return{selected:u,select:(m,g,C)=>{const{min:b,max:v}=e;let k;if(m){const w=u?.from,x=u?.to,T=!!w&&!!x,M=!!w&&!!x&&t.isSameDay(w,x)&&t.isSameDay(m,w);o&&(T||!u?.from)?!i&&M?k=void 0:k={from:m,to:void 0}:k=Yb(m,u,b,v,i,t)}return r&&n&&k?.from&&k.to&&Kb({from:k.from,to:k.to},n,t)&&(k.from=m,k.to=void 0),a||c(k),a?.(k,m,g,C),k},isSelected:m=>u&&Kn(u,m,!1,t)}}function Xb(e,t){const{selected:n,required:r,onSelect:o}=e,[s,i]=Pi(n,o?n:void 0),a=o?n:s,{isSameDay:l}=t;return{selected:a,select:(d,h,m)=>{let g=d;return!r&&a&&a&&l(d,a)&&(g=void 0),o||i(g),o?.(g,d,h,m),g},isSelected:d=>a?l(a,d):!1}}function Jb(e,t){const n=Xb(e,t),r=Gb(e,t),o=Zb(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return o;default:return}}function hn(e,t){return e instanceof $t&&e.timeZone===t?e:new $t(e,t)}function mo(e,t,n){return hn(e,t)}function Ad(e,t,n){return typeof e=="boolean"||typeof e=="function"?e:e instanceof Date?mo(e,t):Array.isArray(e)?e.map(r=>r instanceof Date?mo(r,t):r):Ii(e)?{...e,from:e.from?hn(e.from,t):e.from,to:e.to?hn(e.to,t):e.to}:xa(e)?{before:mo(e.before,t),after:mo(e.after,t)}:wa(e)?{after:mo(e.after,t)}:Sa(e)?{before:mo(e.before,t)}:e}function Da(e,t,n){return e&&(Array.isArray(e)?e.map(r=>Ad(r,t)):Ad(e,t))}function Qb(e){let t=e;const n=t.timeZone;if(n&&(t={...e,timeZone:n},t.today&&(t.today=hn(t.today,n)),t.month&&(t.month=hn(t.month,n)),t.defaultMonth&&(t.defaultMonth=hn(t.defaultMonth,n)),t.startMonth&&(t.startMonth=hn(t.startMonth,n)),t.endMonth&&(t.endMonth=hn(t.endMonth,n)),t.mode==="single"&&t.selected?t.selected=hn(t.selected,n):t.mode==="multiple"&&t.selected?t.selected=t.selected?.map(le=>hn(le,n)):t.mode==="range"&&t.selected&&(t.selected={from:t.selected.from?hn(t.selected.from,n):t.selected.from,to:t.selected.to?hn(t.selected.to,n):t.selected.to}),t.disabled!==void 0&&(t.disabled=Da(t.disabled,n)),t.hidden!==void 0&&(t.hidden=Da(t.hidden,n)),t.modifiers)){const le={};Object.keys(t.modifiers).forEach(Ie=>{le[Ie]=Da(t.modifiers?.[Ie],n)}),t.modifiers=le}const{components:r,formatters:o,labels:s,dateLib:i,locale:a,classNames:l}=p.useMemo(()=>{const le={...ud,...t.locale},Ie=t.broadcastCalendar?1:t.weekStartsOn,Ce=t.noonSafe&&t.timeZone?Db(t.timeZone,{weekStartsOn:Ie,locale:le}):void 0,Me=t.dateLib&&Ce?{...Ce,...t.dateLib}:t.dateLib??Ce,Tt=new rn({locale:le,weekStartsOn:Ie,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},Me);return{dateLib:Tt,components:cb(t.components),formatters:bb(t.formatters),labels:kb(t.labels,Tt.options),locale:le,classNames:{...db(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.noonSafe,t.components,t.formatters,t.labels,t.classNames]);t.today||(t={...t,today:i.today()});const{captionLayout:c,mode:u,navLayout:d,numberOfMonths:h=1,onDayBlur:m,onDayClick:g,onDayFocus:C,onDayKeyDown:b,onDayMouseEnter:v,onDayMouseLeave:k,onNextClick:w,onPrevClick:x,showWeekNumber:T,styles:M}=t,{formatCaption:A,formatDay:I,formatMonthDropdown:P,formatWeekNumber:R,formatWeekNumberHeader:W,formatWeekdayName:S,formatYearDropdown:j}=o,_=Wb(t,i),{days:N,months:U,navStart:se,navEnd:ue,previousMonth:B,nextMonth:E,goToMonth:D}=_,L=ab(N,t,se,ue,i),{isSelected:$,select:Y,selected:re}=Jb(t,i)??{},{blur:he,focused:oe,isFocusTarget:X,moveFocus:te,setFocused:ie}=Ub(t,_,L,$??(()=>!1),i),{labelDayButton:Q,labelGridcell:q,labelGrid:xe,labelMonthDropdown:ke,labelNav:ve,labelPrevious:ae,labelNext:je,labelWeekday:de,labelWeekNumber:We,labelWeekNumberHeader:He,labelYearDropdown:dt}=s,ge=p.useMemo(()=>Mb(i,t.ISOWeek,t.broadcastCalendar,t.today),[i,t.ISOWeek,t.broadcastCalendar,t.today]),ne=u!==void 0||g!==void 0,fe=p.useCallback(()=>{B&&(D(B),x?.(B))},[B,D,x]),De=p.useCallback(()=>{E&&(D(E),w?.(E))},[D,E,w]),Le=p.useCallback((le,Ie)=>Ce=>{Ce.preventDefault(),Ce.stopPropagation(),ie(le),!Ie.disabled&&(Y?.(le.date,Ie,Ce),g?.(le.date,Ie,Ce))},[Y,g,ie]),Ve=p.useCallback((le,Ie)=>Ce=>{ie(le),C?.(le.date,Ie,Ce)},[C,ie]),st=p.useCallback((le,Ie)=>Ce=>{he(),m?.(le.date,Ie,Ce)},[he,m]),kt=p.useCallback((le,Ie)=>Ce=>{const Me={ArrowLeft:[Ce.shiftKey?"month":"day",t.dir==="rtl"?"after":"before"],ArrowRight:[Ce.shiftKey?"month":"day",t.dir==="rtl"?"before":"after"],ArrowDown:[Ce.shiftKey?"year":"week","after"],ArrowUp:[Ce.shiftKey?"year":"week","before"],PageUp:[Ce.shiftKey?"year":"month","before"],PageDown:[Ce.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(Me[Ce.key]){Ce.preventDefault(),Ce.stopPropagation();const[Tt,Fe]=Me[Ce.key];te(Tt,Fe)}b?.(le.date,Ie,Ce)},[te,b,t.dir]),ct=p.useCallback((le,Ie)=>Ce=>{v?.(le.date,Ie,Ce)},[v]),$e=p.useCallback((le,Ie)=>Ce=>{k?.(le.date,Ie,Ce)},[k]),qt=p.useCallback(le=>Ie=>{const Ce=Number(Ie.target.value),Me=i.setMonth(i.startOfMonth(le),Ce);D(Me)},[i,D]),V=p.useCallback(le=>Ie=>{const Ce=Number(Ie.target.value),Me=i.setYear(i.startOfMonth(le),Ce);D(Me)},[i,D]),{className:ee,style:it}=p.useMemo(()=>({className:[l[Ee.Root],t.className].filter(Boolean).join(" "),style:{...M?.[Ee.Root],...t.style}}),[l,t.className,t.style,M]),Se=ub(t),Ge=p.useRef(null);Lb(Ge,!!t.animate,{classNames:l,months:U,focused:oe,dateLib:i});const _e={dayPickerProps:t,selected:re,select:Y,isSelected:$,months:U,nextMonth:E,previousMonth:B,goToMonth:D,getModifiers:L,components:r,classNames:l,styles:M,labels:s,formatters:o};return p.createElement(fd.Provider,{value:_e},p.createElement(r.Root,{rootRef:t.animate?Ge:void 0,className:ee,style:it,dir:t.dir,id:t.id,lang:t.lang??a.code,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...Se},p.createElement(r.Months,{className:l[Ee.Months],style:M?.[Ee.Months]},!t.hideNavigation&&!d&&p.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:l[Ee.Nav],style:M?.[Ee.Nav],"aria-label":ve(),onPreviousClick:fe,onNextClick:De,previousMonth:B,nextMonth:E}),U.map((le,Ie)=>p.createElement(r.Month,{"data-animated-month":t.animate?"true":void 0,className:l[Ee.Month],style:M?.[Ee.Month],key:Ie,displayIndex:Ie,calendarMonth:le},d==="around"&&!t.hideNavigation&&Ie===0&&p.createElement(r.PreviousMonthButton,{type:"button",className:l[Ee.PreviousMonthButton],tabIndex:B?void 0:-1,"aria-disabled":B?void 0:!0,"aria-label":ae(B),onClick:fe,"data-animated-button":t.animate?"true":void 0},p.createElement(r.Chevron,{disabled:B?void 0:!0,className:l[Ee.Chevron],orientation:t.dir==="rtl"?"right":"left"})),p.createElement(r.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:l[Ee.MonthCaption],style:M?.[Ee.MonthCaption],calendarMonth:le,displayIndex:Ie},c?.startsWith("dropdown")?p.createElement(r.DropdownNav,{className:l[Ee.Dropdowns],style:M?.[Ee.Dropdowns]},(()=>{const Ce=c==="dropdown"||c==="dropdown-months"?p.createElement(r.MonthsDropdown,{key:"month",className:l[Ee.MonthsDropdown],"aria-label":ke(),classNames:l,components:r,disabled:!!t.disableNavigation,onChange:qt(le.date),options:Tb(le.date,se,ue,o,i),style:M?.[Ee.Dropdown],value:i.getMonth(le.date)}):p.createElement("span",{key:"month"},P(le.date,i)),Me=c==="dropdown"||c==="dropdown-years"?p.createElement(r.YearsDropdown,{key:"year",className:l[Ee.YearsDropdown],"aria-label":dt(i.options),classNames:l,components:r,disabled:!!t.disableNavigation,onChange:V(le.date),options:Ob(se,ue,o,i,!!t.reverseYears),style:M?.[Ee.Dropdown],value:i.getYear(le.date)}):p.createElement("span",{key:"year"},j(le.date,i));return i.getMonthYearOrder()==="year-first"?[Me,Ce]:[Ce,Me]})(),p.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},A(le.date,i.options,i))):p.createElement(r.CaptionLabel,{className:l[Ee.CaptionLabel],role:"status","aria-live":"polite"},A(le.date,i.options,i))),d==="around"&&!t.hideNavigation&&Ie===h-1&&p.createElement(r.NextMonthButton,{type:"button",className:l[Ee.NextMonthButton],tabIndex:E?void 0:-1,"aria-disabled":E?void 0:!0,"aria-label":je(E),onClick:De,"data-animated-button":t.animate?"true":void 0},p.createElement(r.Chevron,{disabled:E?void 0:!0,className:l[Ee.Chevron],orientation:t.dir==="rtl"?"left":"right"})),Ie===h-1&&d==="after"&&!t.hideNavigation&&p.createElement(r.Nav,{"data-animated-nav":t.animate?"true":void 0,className:l[Ee.Nav],style:M?.[Ee.Nav],"aria-label":ve(),onPreviousClick:fe,onNextClick:De,previousMonth:B,nextMonth:E}),p.createElement(r.MonthGrid,{role:"grid","aria-multiselectable":u==="multiple"||u==="range","aria-label":xe(le.date,i.options,i)||void 0,className:l[Ee.MonthGrid],style:M?.[Ee.MonthGrid]},!t.hideWeekdays&&p.createElement(r.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:l[Ee.Weekdays],style:M?.[Ee.Weekdays]},T&&p.createElement(r.WeekNumberHeader,{"aria-label":He(i.options),className:l[Ee.WeekNumberHeader],style:M?.[Ee.WeekNumberHeader],scope:"col"},W()),ge.map(Ce=>p.createElement(r.Weekday,{"aria-label":de(Ce,i.options,i),className:l[Ee.Weekday],key:String(Ce),style:M?.[Ee.Weekday],scope:"col"},S(Ce,i.options,i)))),p.createElement(r.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:l[Ee.Weeks],style:M?.[Ee.Weeks]},le.weeks.map(Ce=>p.createElement(r.Week,{className:l[Ee.Week],key:Ce.weekNumber,style:M?.[Ee.Week],week:Ce},T&&p.createElement(r.WeekNumber,{week:Ce,style:M?.[Ee.WeekNumber],"aria-label":We(Ce.weekNumber,{locale:a}),className:l[Ee.WeekNumber],scope:"row",role:"rowheader"},R(Ce.weekNumber,i)),Ce.days.map(Me=>{const{date:Tt}=Me,Fe=L(Me);if(Fe[mt.focused]=!Fe.hidden&&!!oe?.isEqualTo(Me),Fe[wn.selected]=$?.(Tt)||Fe.selected,Ii(re)){const{from:Mn,to:No}=re;Fe[wn.range_start]=!!(Mn&&No&&i.isSameDay(Tt,Mn)),Fe[wn.range_end]=!!(Mn&&No&&i.isSameDay(Tt,No)),Fe[wn.range_middle]=Kn(re,Tt,!0,i)}const zn=Eb(Fe,M,t.modifiersStyles),Ns=lb(Fe,l,t.modifiersClassNames),$s=!ne&&!Fe.hidden?q(Tt,Fe,i.options,i):void 0;return p.createElement(r.Day,{key:`${Me.isoDate}_${Me.displayMonthId}`,day:Me,modifiers:Fe,className:Ns.join(" "),style:zn,role:"gridcell","aria-selected":Fe.selected||void 0,"aria-label":$s,"data-day":Me.isoDate,"data-month":Me.outside?Me.dateMonthId:void 0,"data-selected":Fe.selected||void 0,"data-disabled":Fe.disabled||void 0,"data-hidden":Fe.hidden||void 0,"data-outside":Me.outside||void 0,"data-focused":Fe.focused||void 0,"data-today":Fe.today||void 0},!Fe.hidden&&ne?p.createElement(r.DayButton,{className:l[Ee.DayButton],style:M?.[Ee.DayButton],type:"button",day:Me,modifiers:Fe,disabled:!Fe.focused&&Fe.disabled||void 0,"aria-disabled":Fe.focused&&Fe.disabled||void 0,tabIndex:X(Me)?0:-1,"aria-label":Q(Tt,Fe,i.options,i),onClick:Le(Me,Fe),onBlur:st(Me,Fe),onFocus:Ve(Me,Fe),onKeyDown:kt(Me,Fe),onMouseEnter:ct(Me,Fe),onMouseLeave:$e(Me,Fe)},I(Tt,i.options,i)):!Fe.hidden&&I(Me.date,i.options,i))})))))))),t.footer&&p.createElement(r.Footer,{className:l[Ee.Footer],style:M?.[Ee.Footer],role:"status","aria-live":"polite"},t.footer)))}const ev=({color:e})=>f.jsx("svg",{width:"7",height:"11",viewBox:"0 0 7 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M5.5 9.96346L1.82547 6.28893C1.39151 5.85497 1.39151 5.14487 1.82547 4.71091L5.5 1.03638",stroke:e,"stroke-width":"1.2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})}),tv=({color:e})=>f.jsx("svg",{width:"7",height:"11",viewBox:"0 0 7 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M1.5 9.96346L5.17453 6.28893C5.60849 5.85498 5.60849 5.14487 5.17453 4.71091L1.5 1.03638",stroke:e,"stroke-width":"1.2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})}),Id=({color:e})=>f.jsx("svg",{width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M9 0.595703L5.50126 4.09444C5.08807 4.50763 4.41193 4.50763 3.99874 4.09444L0.5 0.595703",stroke:e,"stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})}),nv=({color:e})=>f.jsx("svg",{width:"10",height:"5",viewBox:"0 0 10 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M9 4.4043L5.50126 0.90556C5.08807 0.492365 4.41193 0.492365 3.99874 0.90556L0.5 4.4043",stroke:e,"stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})});function Pd(e){return p.useMemo(()=>Array.from({length:e},(t,n)=>{const r=String(n).padStart(2,"0");return{key:r,label:r,value:r}}),[e])}const Ld=({time:e,setTime:t})=>{const n=Pd(24),r=Pd(60);return f.jsxs(O.Box,{display:"flex",gap:"1rem",paddingLeft:"2rem",children:[f.jsxs(O.Box,{display:"flex",flexDirection:"column",alignItems:"center",width:"6rem",gap:"1rem",children:[f.jsx(O.Typography,{variant:"h5",color:o=>o.palette.primary.notifyActiveText,children:"HH"}),f.jsx(co,{options:n,value:e.hh,onChange:o=>t(s=>({...s,hh:o.value}))})]}),f.jsxs(O.Box,{display:"flex",flexDirection:"column",alignItems:"center",width:"6rem",gap:"1rem",children:[f.jsx(O.Typography,{variant:"h5",color:o=>o.palette.primary.notifyActiveText,children:"MM"}),f.jsx(co,{options:r,value:e.mm,onChange:o=>t(s=>({...s,mm:o.value}))})]})]})},jd='button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])',go=(e,{enabled:t=!0,onEscape:n,autoFocus:r=!1,restoreFocus:o=!1}={})=>{const s=p.useRef(n);s.current=n,p.useEffect(()=>{if(!t)return;const i=document.activeElement;let a,l,c;if(r){const d=()=>{e.current?.querySelector(jd)?.focus({preventScroll:!0})},h=e.current,{transitionDuration:m}=h?getComputedStyle(h):{};Number.parseFloat(m)>0?(l=h,c=C=>{C.target===h&&(h.removeEventListener("transitionend",c),d())},h.addEventListener("transitionend",c)):a=setTimeout(d,0)}const u=d=>{if(d.key==="Escape"){s.current?.(d);return}if(d.key!=="Tab")return;const h=Array.from(e.current?.querySelectorAll(jd)||[]),m=h[0],g=h[h.length-1];!m||!g||(d.shiftKey?document.activeElement===m&&(d.preventDefault(),g.focus({preventScroll:!0})):document.activeElement===g&&(d.preventDefault(),m.focus({preventScroll:!0})))};return document.addEventListener("keydown",u),()=>{clearTimeout(a),l?.removeEventListener("transitionend",c),document.removeEventListener("keydown",u),o&&i&&document.contains(i)&&i.focus?.({preventScroll:!0})}},[t,r,o,e])},rv=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Rd(e){const t=e instanceof Date?e:new Date(e);return{hh:String(t.getHours()).padStart(2,"0"),mm:String(t.getMinutes()).padStart(2,"0")}}function _d(e,t){const n=e instanceof Date?e:new Date(e);return n.setHours(Number(t.hh),Number(t.mm)),n}const ov=({label:e,mode:t="single",showTimeStamp:n=!1,value:r,onChange:o,disabled:s,readOnly:i,formatString:a,error:l,errorText:c,openCalendar:u,inputProps:d,showFooter:h,minDate:m=new Date(new Date().getFullYear()-10,0,1),maxDate:g=new Date(new Date().getFullYear()+10,11,31),yearRange:C,required:b,calendarWidth:v,calendarHeight:k,calendarZoom:w,calendarSx:x,...T})=>{const M=Array.from({length:C?.to??36},(ae,je)=>(C?.from??2e3)+je),{t:A}=p.useContext(Nt),I=O.useTheme(),P=p.useRef(null),R=p.useRef(null),[W,S]=p.useState(null),[j,_]=p.useState(r),[N,U]=p.useState(dr),[se,ue]=p.useState(()=>n&&r?Rd(r):{hh:"00",mm:"00"}),B=ae=>t==="range"&&ae?.from?ae.from:ae||new Date,[E,D]=p.useState(B(r)),[L,$]=p.useState("calendar"),Y=!!W,re=Y?"date-picker-popover":void 0,he=ae=>{S(ae.currentTarget),_(r),D(B(r)),n&&r&&ue(Rd(r))},oe=()=>{S(null),$("calendar")};p.useEffect(()=>{n&&j&&_(_d(j,se))},[se]),p.useEffect(()=>{const ae=localStorage.getItem("i18nextLng")??"en-US";S3(ae).then(U)},[]);const X=ae=>{D(new Date(E.getFullYear(),ae)),$("calendar")},te=ae=>{D(new Date(ae,E.getMonth())),$("month")},ie=ae=>{if(ae)if(t==="range")h?_(ae):o?.(ae);else if(t==="multiple"){const de=[...Array.isArray(ae)?ae:[ae]];h?_(de):o?.(de)}else h?_(_d(ae,se)):(o?.(ae),oe())},Q=({orientation:ae,className:je,disabled:de})=>f.jsx(O.Box,{className:je,sx:{opacity:de?.5:1,pointerEvents:de?"none":"auto"},children:{left:f.jsx(ev,{color:I.palette.primary.notifyIconColor}),right:f.jsx(tv,{color:I.palette.primary.notifyIconColor}),down:f.jsx(Id,{color:I.palette.primary.notifyIconColor}),up:f.jsx(nv,{color:I.palette.primary.notifyIconColor})}[ae]}),q=ae=>{const{options:je,value:de}=ae??{},We=je?.length!==12,He=je?.find(ge=>ge?.value===de)?.label,dt=()=>{$("year")};return f.jsxs(O.Stack,{direction:"row",role:"button",tabIndex:0,sx:{cursor:"pointer",justifyContent:"center",alignItems:"center",gap:"0.5rem",...xt()},onClick:dt,onKeyDown:wt(dt),children:[f.jsx(O.Typography,{sx:{color:I.palette.primary.notifyActiveText,fontSize:"1.7rem",fontWeight:"500"},children:He}),We&&f.jsx(Id,{color:I.palette.primary.notifyIconColor})]})},xe=()=>{const ae=Array.isArray(E)?E[0]:E;if(!(ae instanceof Date)||isNaN(ae))return null;const je=ae.getFullYear(),de=ae.getMonth();return L==="month"?f.jsx(O.Box,{sx:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:1,justifyContent:"center",mb:2,height:k??"30rem",width:v??"30rem"},children:rv.map((We,He)=>{const dt=new Date(je,He,1),ge=m&&dt<new Date(m.getFullYear(),m.getMonth(),1);return f.jsx(O.Box,{role:"button",tabIndex:ge?-1:0,"aria-disabled":ge,sx:{display:"flex",justifyContent:"center",alignItems:"center",cursor:ge?"not-allowed":"pointer",opacity:ge?.5:1,...xt()},onClick:()=>!ge&&X(He),onKeyDown:wt(()=>!ge&&X(He)),children:f.jsx(O.Box,{sx:{p:"0.8rem 1.2rem",borderRadius:"2rem",bgcolor:He===de&&!ge&&I.palette.brandColor.orange,color:He===de&&!ge?I.palette.brandColor.white:I.palette.primary.notifyActiveText,fontSize:"1.1rem"},children:A(We)})},We)})}):L==="year"?f.jsx(O.Box,{sx:{maxHeight:k??"30rem",overflowY:"auto",pr:1},children:f.jsx(O.Box,{sx:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:1,justifyContent:"center",mb:2,height:k??"30rem",width:v??"30rem"},children:M.map(We=>{const He=m&&We<m.getFullYear();return f.jsx(O.Box,{role:"button",tabIndex:He?-1:0,"aria-disabled":He,sx:{display:"flex",justifyContent:"center",alignItems:"center",cursor:He?"not-allowed":"pointer",opacity:He?.5:1,...xt()},onClick:()=>!He&&te(We),onKeyDown:wt(()=>!He&&te(We)),children:f.jsx(O.Box,{sx:{p:"0.8rem 1.2rem",borderRadius:"2rem",bgcolor:We===je&&!He&&I.palette.brandColor.orange,color:We===je&&!He?I.palette.brandColor.white:I.palette.primary.notifyActiveText,fontSize:"1.1rem"},children:We})},We)})})}):null},ke=(()=>{if(!r)return"";const ae=je=>ho(je,a,{locale:N});if(t==="range"){if(r?.from&&r?.to)return`${ae(r.from)} - ${ae(r.to)}`;if(r?.from)return`${ae(r.from)} - `}return t==="multiple"&&Array.isArray(r)?r.map(ae).join(", "):ae(r)})(),ve=ae=>ae instanceof Date&&!isNaN(ae.getTime());return go(R,{enabled:Y||u,onEscape:()=>{oe?.()},autoFocus:Y,restoreFocus:Y}),f.jsxs(O.Box,{ref:P,children:[!u&&f.jsx(ls,{label:A(e),value:ke,onClick:s?void 0:he,disabled:s,InputLabelProps:{shrink:!!r},error:l,helperText:A(c),required:b,inputProps:{readOnly:!0,tabIndex:0,style:{cursor:s?"not-allowed":"pointer"}},InputProps:{endAdornment:f.jsx(O.InputAdornment,{position:"end",sx:{px:"0.5rem"},children:f.jsx(Ct,{url:Te.Calendar,style:{zIndex:"9"}})})},onKeyDown:ae=>{ae.key==="Enter"&&(ae.preventDefault(),S(ae.currentTarget))},sx:{cursor:s?"not-allowed":"pointer",opacity:s?.6:1,"& .MuiInputBase-root":{cursor:s?"not-allowed":"pointer"},...d&&!d?.showBorder&&{"& .MuiOutlinedInput-root":{borderRadius:0,"& fieldset":{borderColor:"transparent"},"&:hover fieldset":{borderColor:"transparent"},"&.Mui-focused fieldset":{borderColor:"transparent",borderWidth:"0.1rem"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:"transparent"},"&.Mui-focused, &:focus-within":{boxShadow:`${Us} !important`}}},"& .MuiInputLabel-root, & .MuiInputLabel-shrink":{maxWidth:"85%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",left:"0.5rem"}}}),f.jsx(O.Box,{component:u?O.Box:O.Popover,id:re,open:u?!0:Y,anchorEl:W,ref:R,onClose:u||h?void 0:oe,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},...!u&&{disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0},sx:u?{width:"max-content",border:`0.1rem solid ${I.palette.primary.notifyBorderColor}`,borderRadius:"0.8rem"}:{"& .MuiPopover-paper":{backgroundColor:"transparent",borderRadius:"1rem"}},children:f.jsxs(O.Box,{sx:{zoom:w??"0.85",backgroundColor:I.palette.primary.notifyBackground,p:"2rem 1.5rem",boxShadow:"none",borderRadius:"1rem","& .rdp-selected .rdp-day_button":{border:"none",backgroundColor:I.palette.brandColor.orange,color:I.palette.brandColor.white},"& .rdp-weekday":{color:I.palette.primary.notifyTextColor,fontSize:"1.2rem",textTransform:"uppercase"},"& .rdp-month_grid ":{marginTop:"1.5rem"},"& .rdp-month_caption":{pl:"1rem"},"& .rdp-range_start":{backgroundImage:`linear-gradient(90deg, transparent 50%, ${I.palette.brandColor.lightOrange} 50%)`},"& .rdp-range_middle":{backgroundColor:I.palette.brandColor.lightOrange,"& .rdp-day_button":{backgroundColor:"transparent"}},"& .rdp-range_end":{backgroundImage:`linear-gradient(90deg, ${I.palette.brandColor.lightOrange} 50%, transparent 50%)`},"& .rdp-caption_label":{color:I.palette.primary.notifyActiveText,fontSize:"1.7rem",fontWeight:"500"},"& .rdp-day_button:disabled":{color:I.palette.primary.notifyTextColor}},children:[f.jsxs(O.Stack,{flexDirection:"row",children:[xe(),L==="calendar"&&f.jsx(Qb,{mode:t,locale:N,selected:j||r,onSelect:u?void 0:ie,month:E,onMonthChange:D,startMonth:m,endMonth:g,captionLayout:u?"label":"dropdown",hideNavigation:!!u,...T,styles:{day:{fontSize:"1.5rem",fontWeight:"300",border:"none",boxShadow:"none",outline:"none",color:I.palette.primary.notifyActiveText}},modifiersStyles:{today:{fontWeight:"bold",color:I.palette.brandColor.orange},disabled:{color:I.palette.primary.notifyBorderColor,opacity:.5,backgroundColor:"transparent",cursor:"not-allowed"}},components:{Chevron:Q,Dropdown:q},disabled:u?!0:{before:m,after:g}}),n&&f.jsx(Ld,{time:se,setTime:ue})]}),h&&f.jsxs(O.Stack,{direction:"row-reverse",gap:"0.5rem",sx:{paddingTop:"1rem",borderTop:ae=>`0.1rem solid ${ae.palette.primary.notifyBorderColor}`},children:[f.jsx(jn,{label:A("LABEL_SAVE"),styles:{variant:"filled",height:"3.2rem"},onClick:()=>{o(j),oe()},disabled:n&&(j==null||!ve(new Date(j)))}),f.jsx(jn,{label:A("LABEL_CANCEL"),styles:{variant:"outlined",height:"3.2rem"},onClick:oe})]})]})})]})},sv=e=>f.jsx(At,{children:f.jsx(ov,{...e})});function iv({...e}){return f.jsx(At,{children:f.jsx(Ld,{...e})})}const Bd=e=>e,av=(()=>{let e=Bd;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Bd}}})();function Ar(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function Ne(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ar(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Nd(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function $d(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=$d(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Xe(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=$d(e))&&(r&&(r+=" "),r+=t);return r}function Jt(e,t,n=void 0){const r={};for(const o in e){const s=e[o];let i="",a=!0;for(let l=0;l<s.length;l+=1){const c=s[l];c&&(i+=(a===!0?"":" ")+t(c),a=!1,n&&n[c]&&(i+=" "+n[c]))}r[o]=i}return r}var Li={exports:{}},rt={};var Fd;function lv(){if(Fd)return rt;Fd=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),i=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function g(C){if(typeof C=="object"&&C!==null){var b=C.$$typeof;switch(b){case e:switch(C=C.type,C){case n:case o:case r:case l:case c:case h:return C;default:switch(C=C&&C.$$typeof,C){case i:case a:case d:case u:return C;case s:return C;default:return b}}case t:return b}}}return rt.ContextConsumer=s,rt.ContextProvider=i,rt.Element=e,rt.ForwardRef=a,rt.Fragment=n,rt.Lazy=d,rt.Memo=u,rt.Portal=t,rt.Profiler=o,rt.StrictMode=r,rt.Suspense=l,rt.SuspenseList=c,rt.isContextConsumer=function(C){return g(C)===s},rt.isContextProvider=function(C){return g(C)===i},rt.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===e},rt.isForwardRef=function(C){return g(C)===a},rt.isFragment=function(C){return g(C)===n},rt.isLazy=function(C){return g(C)===d},rt.isMemo=function(C){return g(C)===u},rt.isPortal=function(C){return g(C)===t},rt.isProfiler=function(C){return g(C)===o},rt.isStrictMode=function(C){return g(C)===r},rt.isSuspense=function(C){return g(C)===l},rt.isSuspenseList=function(C){return g(C)===c},rt.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===o||C===r||C===l||C===c||typeof C=="object"&&C!==null&&(C.$$typeof===d||C.$$typeof===u||C.$$typeof===i||C.$$typeof===s||C.$$typeof===a||C.$$typeof===m||C.getModuleId!==void 0)},rt.typeOf=g,rt}var ot={};var Vd;function cv(){return Vd||(Vd=1,process.env.NODE_ENV!=="production"&&(function(){function e(C){if(typeof C=="object"&&C!==null){var b=C.$$typeof;switch(b){case t:switch(C=C.type,C){case r:case s:case o:case c:case u:case m:return C;default:switch(C=C&&C.$$typeof,C){case a:case l:case h:case d:return C;case i:return C;default:return b}}case n:return b}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");ot.ContextConsumer=i,ot.ContextProvider=a,ot.Element=t,ot.ForwardRef=l,ot.Fragment=r,ot.Lazy=h,ot.Memo=d,ot.Portal=n,ot.Profiler=s,ot.StrictMode=o,ot.Suspense=c,ot.SuspenseList=u,ot.isContextConsumer=function(C){return e(C)===i},ot.isContextProvider=function(C){return e(C)===a},ot.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},ot.isForwardRef=function(C){return e(C)===l},ot.isFragment=function(C){return e(C)===r},ot.isLazy=function(C){return e(C)===h},ot.isMemo=function(C){return e(C)===d},ot.isPortal=function(C){return e(C)===n},ot.isProfiler=function(C){return e(C)===s},ot.isStrictMode=function(C){return e(C)===o},ot.isSuspense=function(C){return e(C)===c},ot.isSuspenseList=function(C){return e(C)===u},ot.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===r||C===s||C===o||C===c||C===u||typeof C=="object"&&C!==null&&(C.$$typeof===h||C.$$typeof===d||C.$$typeof===a||C.$$typeof===i||C.$$typeof===l||C.$$typeof===g||C.getModuleId!==void 0)},ot.typeOf=e})()),ot}var Wd;function uv(){return Wd||(Wd=1,process.env.NODE_ENV==="production"?Li.exports=lv():Li.exports=cv()),Li.exports}var ji=uv();function Xn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function zd(e){if(Z.isValidElement(e)||ji.isValidElementType(e)||!Xn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=zd(e[n])}),t}function sn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Xn(e)&&Xn(t)&&Object.keys(t).forEach(o=>{Z.isValidElement(t[o])||ji.isValidElementType(t[o])?r[o]=t[o]:Xn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Xn(e[o])?r[o]=sn(e[o],t[o],n):n.clone?r[o]=Xn(t[o])?zd(t[o]):t[o]:r[o]=t[o]}),r}function gs(e,t){return t?sn(e,t,{clone:!1}):e}const pr=process.env.NODE_ENV!=="production"?y.oneOfType([y.number,y.string,y.object,y.array]):{};function Hd(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{const s=/min-width:\s*([0-9.]+)/;return+(r.match(s)?.[1]||0)-+(o.match(s)?.[1]||0)});return n.length?n.reduce((r,o)=>{const s=t[o];return delete r[o],r[o]=s,r},{...t}):t}function dv(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function fv(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
16
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}const[,r,o]=n,s=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(s)}function pv(e){const t=(s,i)=>s.replace("@media",i?`@container ${i}`:"@container");function n(s,i){s.up=(...a)=>t(e.breakpoints.up(...a),i),s.down=(...a)=>t(e.breakpoints.down(...a),i),s.between=(...a)=>t(e.breakpoints.between(...a),i),s.only=(...a)=>t(e.breakpoints.only(...a),i),s.not=(...a)=>{const l=t(e.breakpoints.not(...a),i);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=s=>(n(r,s),r);return n(o),{...e,containerQueries:o}}const Ri={xs:0,sm:600,md:900,lg:1200,xl:1536},Ud={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ri[e]}px)`},hv={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Ri[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Jn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||Ud;return t.reduce((i,a,l)=>(i[s.up(s.keys[l])]=n(t[l]),i),{})}if(typeof t=="object"){const s=r.breakpoints||Ud;return Object.keys(t).reduce((i,a)=>{if(dv(s.keys,a)){const l=fv(r.containerQueries?r:hv,a);l&&(i[l]=n(t[a],a))}else if(Object.keys(s.values||Ri).includes(a)){const l=s.up(a);i[l]=n(t[a],a)}else{const l=a;i[l]=t[l]}return i},{})}return n(t)}function mv(e={}){return e.keys?.reduce((n,r)=>{const o=e.up(r);return n[o]={},n},{})||{}}function Gd(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function _i(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Bi(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=_i(e,n)||r,t&&(o=t(o,r,e)),o}function St(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,s=i=>{if(i[t]==null)return null;const a=i[t],l=i.theme,c=_i(l,r)||{};return Jn(i,a,d=>{let h=Bi(c,o,d);return d===h&&typeof d=="string"&&(h=Bi(c,o,`${t}${d==="default"?"":Ne(d)}`,d)),n===!1?h:{[n]:h}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:pr}:{},s.filterProps=[t],s}function gv(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const yv={m:"margin",p:"padding"},Cv={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Yd={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},bv=gv(e=>{if(e.length>2)if(Yd[e])e=Yd[e];else return[e];const[t,n]=e.split(""),r=yv[t],o=Cv[n]||"";return Array.isArray(o)?o.map(s=>r+s):[r+o]}),Ni=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$i=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],vv=[...Ni,...$i];function ys(e,t,n,r){const o=_i(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`),typeof o=="string"?o.startsWith("var(")&&s===0?0:o.startsWith("var(")&&s===1?o:`calc(${s} * ${o})`:o*s):Array.isArray(o)?s=>{if(typeof s=="string")return s;const i=Math.abs(s);process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>o.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${i} > ${o.length-1}, you need to add the missing values.`].join(`
17
17
  `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
18
18
  `)));const a=o[i];return s>=0?a:typeof a=="number"?-a:typeof a=="string"&&a.startsWith("var(")?`calc(-1 * ${a})`:`-${a}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
19
- `)),()=>{})}function Aa(e){return ys(e,"spacing",8,"spacing")}function Cs(e,t){return typeof t=="string"||t==null?t:e(t)}function vv(e,t){return n=>e.reduce((r,o)=>(r[o]=Cs(t,n),r),{})}function xv(e,t,n,r){if(!t.includes(n))return null;const o=Cv(n),s=vv(o,r),i=e[n];return Jn(e,i,s)}function qd(e,t){const n=Aa(e.theme);return Object.keys(e).map(r=>xv(e,t,r,n)).reduce(gs,{})}function bt(e){return qd(e,Ni)}bt.propTypes=process.env.NODE_ENV!=="production"?Ni.reduce((e,t)=>(e[t]=pr,e),{}):{},bt.filterProps=Ni;function vt(e){return qd(e,$i)}vt.propTypes=process.env.NODE_ENV!=="production"?$i.reduce((e,t)=>(e[t]=pr,e),{}):{},vt.filterProps=$i,process.env.NODE_ENV!=="production"&&bv.reduce((e,t)=>(e[t]=pr,e),{});function Fi(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(s=>{r[s]=o}),r),{}),n=r=>Object.keys(r).reduce((o,s)=>t[s]?gs(o,t[s](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function mn(e){return typeof e!="number"?e:`${e}px solid`}function gn(e,t){return St({prop:e,themeKey:"borders",transform:t})}const wv=gn("border",mn),Sv=gn("borderTop",mn),kv=gn("borderRight",mn),Tv=gn("borderBottom",mn),Ev=gn("borderLeft",mn),Mv=gn("borderColor"),Ov=gn("borderTopColor"),Dv=gn("borderRightColor"),Av=gn("borderBottomColor"),Iv=gn("borderLeftColor"),Pv=gn("outline",mn),Lv=gn("outlineColor"),Vi=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ys(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Cs(t,r)});return Jn(e,e.borderRadius,n)}return null};Vi.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:pr}:{},Vi.filterProps=["borderRadius"],Fi(wv,Sv,kv,Tv,Ev,Mv,Ov,Dv,Av,Iv,Vi,Pv,Lv);const Wi=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ys(e.theme,"spacing",8,"gap"),n=r=>({gap:Cs(t,r)});return Jn(e,e.gap,n)}return null};Wi.propTypes=process.env.NODE_ENV!=="production"?{gap:pr}:{},Wi.filterProps=["gap"];const zi=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ys(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Cs(t,r)});return Jn(e,e.columnGap,n)}return null};zi.propTypes=process.env.NODE_ENV!=="production"?{columnGap:pr}:{},zi.filterProps=["columnGap"];const Hi=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ys(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Cs(t,r)});return Jn(e,e.rowGap,n)}return null};Hi.propTypes=process.env.NODE_ENV!=="production"?{rowGap:pr}:{},Hi.filterProps=["rowGap"];const jv=St({prop:"gridColumn"}),Rv=St({prop:"gridRow"}),_v=St({prop:"gridAutoFlow"}),Bv=St({prop:"gridAutoColumns"}),Nv=St({prop:"gridAutoRows"}),$v=St({prop:"gridTemplateColumns"}),Fv=St({prop:"gridTemplateRows"}),Vv=St({prop:"gridTemplateAreas"}),Wv=St({prop:"gridArea"});Fi(Wi,zi,Hi,jv,Rv,_v,Bv,Nv,$v,Fv,Vv,Wv);function yo(e,t){return t==="grey"?t:e}const zv=St({prop:"color",themeKey:"palette",transform:yo}),Hv=St({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:yo}),Uv=St({prop:"backgroundColor",themeKey:"palette",transform:yo});Fi(zv,Hv,Uv);function an(e){return e<=1&&e!==0?`${e*100}%`:e}const Gv=St({prop:"width",transform:an}),Ia=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const r=e.theme?.breakpoints?.values?.[n]||Ri[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:an(n)}};return Jn(e,e.maxWidth,t)}return null};Ia.filterProps=["maxWidth"];const Yv=St({prop:"minWidth",transform:an}),qv=St({prop:"height",transform:an}),Kv=St({prop:"maxHeight",transform:an}),Zv=St({prop:"minHeight",transform:an});St({prop:"size",cssProperty:"width",transform:an}),St({prop:"size",cssProperty:"height",transform:an});const Xv=St({prop:"boxSizing"});Fi(Gv,Ia,Yv,qv,Kv,Zv,Xv);const Ui={border:{themeKey:"borders",transform:mn},borderTop:{themeKey:"borders",transform:mn},borderRight:{themeKey:"borders",transform:mn},borderBottom:{themeKey:"borders",transform:mn},borderLeft:{themeKey:"borders",transform:mn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:mn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Vi},color:{themeKey:"palette",transform:yo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:yo},backgroundColor:{themeKey:"palette",transform:yo},p:{style:vt},pt:{style:vt},pr:{style:vt},pb:{style:vt},pl:{style:vt},px:{style:vt},py:{style:vt},padding:{style:vt},paddingTop:{style:vt},paddingRight:{style:vt},paddingBottom:{style:vt},paddingLeft:{style:vt},paddingX:{style:vt},paddingY:{style:vt},paddingInline:{style:vt},paddingInlineStart:{style:vt},paddingInlineEnd:{style:vt},paddingBlock:{style:vt},paddingBlockStart:{style:vt},paddingBlockEnd:{style:vt},m:{style:bt},mt:{style:bt},mr:{style:bt},mb:{style:bt},ml:{style:bt},mx:{style:bt},my:{style:bt},margin:{style:bt},marginTop:{style:bt},marginRight:{style:bt},marginBottom:{style:bt},marginLeft:{style:bt},marginX:{style:bt},marginY:{style:bt},marginInline:{style:bt},marginInlineStart:{style:bt},marginInlineEnd:{style:bt},marginBlock:{style:bt},marginBlockStart:{style:bt},marginBlockEnd:{style:bt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Wi},rowGap:{style:Hi},columnGap:{style:zi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:an},maxWidth:{style:Ia},minWidth:{transform:an},height:{transform:an},maxHeight:{transform:an},minHeight:{transform:an},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Jv(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Qv(e,t){return typeof e=="function"?e(t):e}function ex(){function e(n,r,o,s){const i={[n]:r,theme:o},a=s[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const h=_i(o,c)||{};return d?d(i):Jn(i,r,g=>{let C=Bi(h,u,g);return g===C&&typeof g=="string"&&(C=Bi(h,u,`${n}${g==="default"?"":Ne(g)}`,g)),l===!1?C:{[l]:C}})}function t(n){const{sx:r,theme:o={},nested:s}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Ui;function a(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const u=hv(o.breakpoints),d=Object.keys(u);let h=u;return Object.keys(c).forEach(m=>{const g=Qv(c[m],o);if(g!=null)if(typeof g=="object")if(i[m])h=gs(h,e(m,g,o,i));else{const C=Jn({theme:o},g,b=>({[m]:b}));Jv(C,g)?h[m]=t({sx:g,theme:o,nested:!0}):h=gs(h,C)}else h=gs(h,e(m,g,o,i))}),!s&&o.modularCssLayers?{"@layer sx":Hd(o,Gd(d,h))}:Hd(o,Gd(d,h))}return Array.isArray(r)?r.map(a):a(r)}return t}const Co=ex();Co.filterProps=["sx"];function tx(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var nx={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function rx(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var ox=/[A-Z]|^ms/g,sx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kd=function(t){return t.charCodeAt(1)===45},Zd=function(t){return t!=null&&typeof t!="boolean"},Pa=rx(function(e){return Kd(e)?e:e.replace(ox,"-$&").toLowerCase()}),Xd=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(sx,function(r,o,s){return hr={name:o,styles:s,next:hr},o})}return nx[t]!==1&&!Kd(t)&&typeof n=="number"&&n!==0?n+"px":n};function Gi(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return hr={name:o.name,styles:o.styles,next:hr},o.name;var s=n;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)hr={name:i.name,styles:i.styles,next:hr},i=i.next;var a=s.styles+";";return a}return ix(e,t,n)}}var l=n;return l}function ix(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Gi(e,t,n[o])+";";else for(var s in n){var i=n[s];if(typeof i!="object"){var a=i;Zd(a)&&(r+=Pa(s)+":"+Xd(s,a)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&t==null)for(var l=0;l<i.length;l++)Zd(i[l])&&(r+=Pa(s)+":"+Xd(s,i[l])+";");else{var c=Gi(e,t,i);switch(s){case"animation":case"animationName":{r+=Pa(s)+":"+c+";";break}default:r+=s+"{"+c+"}"}}}return r}var Jd=/label:\s*([^\s;{]+)\s*(;|$)/g,hr;function ax(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";hr=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=Gi(n,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=Gi(n,t,e[a]),r){var l=s;o+=l[a]}Jd.lastIndex=0;for(var c="",u;(u=Jd.exec(o))!==null;)c+="-"+u[1];var d=tx(o)+c;return{name:d,styles:o,next:hr}}function lx(e,t){const n=nc(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
20
- `)):r.some(s=>s===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}function cx(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Qd=[];function Ir(e){return Qd[0]=e,ax(Qd)}const ux=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function dx(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,s=ux(t),i=Object.keys(s);function a(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function l(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function c(h,m){const g=i.indexOf(m);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(g!==-1&&typeof t[i[g]]=="number"?t[i[g]]:m)-r/100}${n})`}function u(h){return i.indexOf(h)+1<i.length?c(h,i[i.indexOf(h)+1]):a(h)}function d(h){const m=i.indexOf(h);return m===0?a(i[1]):m===i.length-1?l(i[m]):c(h,i[i.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:i,values:s,up:a,down:l,between:c,only:u,not:d,unit:n,...o}}const fx={borderRadius:4};function e8(e=8,t=Aa({spacing:e})){if(e.mui)return e;const n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(s=>{const i=t(s);return typeof i=="number"?`${i}px`:i}).join(" "));return n.mui=!0,n}function px(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function La(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:s={},...i}=e,a=dx(n),l=e8(o);let c=sn({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...fx,...s}},i);return c=fv(c),c.applyStyles=px,c=t.reduce((u,d)=>sn(u,d),c),c.unstable_sxConfig={...Ui,...i?.unstable_sxConfig},c.unstable_sx=function(d){return Co({sx:d,theme:this})},c}function hx(e){return Object.keys(e).length===0}function mx(e=null){const t=Z.useContext(sr.ThemeContext);return!t||hx(t)?e:t}const gx=La();function yx(e=gx){return mx(e)}const Cx={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ft(e,t,n="Mui"){const r=Cx[t];return r?`${n}-${r}`:`${iv.generate(e)}-${t}`}function Vt(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ft(e,o,n)}),r}function t8(e,t=""){return e.displayName||e.name||t}function n8(e,t,n){const r=t8(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function bx(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return t8(e,"Component");if(typeof e=="object")switch(e.$$typeof){case ji.ForwardRef:return n8(e,e.render,"ForwardRef");case ji.Memo:return n8(e,e.type,"memo");default:return}}}function r8(e){const{variants:t,...n}=e,r={variants:t,style:Ir(n),isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Ir(o.style))}),r}const vx=La();function ja(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Pr(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function xx(e){return e?(t,n)=>n[e]:null}function wx(e,t,n){e.theme=Ex(e.theme)?n:e.theme[t]||e.theme}function Yi(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>Yi(e,o,n));if(Array.isArray(r?.variants)){let o;if(r.isProcessed)o=n?Pr(r.style,n):r.style;else{const{variants:s,...i}=r;o=n?Pr(Ir(i),n):i}return o8(e,r.variants,[o],n)}return r?.isProcessed?n?Pr(Ir(r.style),n):r.style:n?Pr(Ir(r),n):r}function o8(e,t,n=[],r=void 0){let o;e:for(let s=0;s<t.length;s+=1){const i=t[s];if(typeof i.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(o))continue}else for(const a in i.props)if(e[a]!==i.props[a]&&e.ownerState?.[a]!==i.props[a])continue e;typeof i.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Pr(Ir(i.style(o)),r):i.style(o))):n.push(r?Pr(Ir(i.style),r):i.style)}return n}function Sx(e={}){const{themeId:t,defaultTheme:n=vx,rootShouldForwardProp:r=ja,slotShouldForwardProp:o=ja}=e;function s(a){wx(a,t,n)}return(a,l={})=>{cx(a,M=>M.filter(A=>A!==Co));const{name:c,slot:u,skipVariantsResolver:d,skipSx:h,overridesResolver:m=xx(s8(u)),...g}=l,C=c&&c.startsWith("Mui")||u?"components":"custom",b=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,v=h||!1;let k=ja;u==="Root"||u==="root"?k=r:u?k=o:Mx(a)&&(k=void 0);const w=lx(a,{shouldForwardProp:k,label:Tx(c,u),...g}),x=M=>{if(M.__emotion_real===M)return M;if(typeof M=="function")return function(I){return Yi(I,M,I.theme.modularCssLayers?C:void 0)};if(Xn(M)){const A=r8(M);return function(P){return A.variants?Yi(P,A,P.theme.modularCssLayers?C:void 0):P.theme.modularCssLayers?Pr(A.style,C):A.style}}return M},T=(...M)=>{const A=[],I=M.map(x),P=[];if(A.push(s),c&&m&&P.push(function(j){const N=j.theme.components?.[c]?.styleOverrides;if(!N)return null;const U={};for(const se in N)U[se]=Yi(j,N[se],j.theme.modularCssLayers?"theme":void 0);return m(j,U)}),c&&!b&&P.push(function(j){const N=j.theme?.components?.[c]?.variants;return N?o8(j,N,[],j.theme.modularCssLayers?"theme":void 0):null}),v||P.push(Co),Array.isArray(I[0])){const S=I.shift(),j=new Array(A.length).fill(""),_=new Array(P.length).fill("");let N;N=[...j,...S,..._],N.raw=[...j,...S.raw,..._],A.unshift(N)}const R=[...A,...I,...P],W=w(...R);return a.muiName&&(W.muiName=a.muiName),process.env.NODE_ENV!=="production"&&(W.displayName=kx(c,u,a)),W};return w.withConfig&&(T.withConfig=w.withConfig),T}}function kx(e,t,n){return e?`${e}${Ne(t||"")}`:`Styled(${bx(n)})`}function Tx(e,t){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${s8(t||"Root")}`),n}function Ex(e){for(const t in e)return!1;return!0}function Mx(e){return typeof e=="string"&&e.charCodeAt(0)>96}function s8(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function qi(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const s=o;if(s==="components"||s==="slots")r[s]={...e[s],...r[s]};else if(s==="componentsProps"||s==="slotProps"){const i=e[s],a=t[s];if(!a)r[s]=i||{};else if(!i)r[s]=a;else{r[s]={...a};for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const c=l;r[s][c]=qi(i[c],a[c],n)}}}else s==="className"&&n&&t.className?r.className=Xe(e?.className,t?.className):s==="style"&&n&&t.style?r.style={...e?.style,...t?.style}:r[s]===void 0&&(r[s]=e[s])}return r}const Ra=typeof window<"u"?Z.useLayoutEffect:Z.useEffect;function Ox(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function _a(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Ox(e,t,n)}function Dx(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function mr(e){if(e.type)return e;if(e.charAt(0)==="#")return mr(Dx(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
19
+ `)),()=>{})}function Aa(e){return ys(e,"spacing",8,"spacing")}function Cs(e,t){return typeof t=="string"||t==null?t:e(t)}function xv(e,t){return n=>e.reduce((r,o)=>(r[o]=Cs(t,n),r),{})}function wv(e,t,n,r){if(!t.includes(n))return null;const o=bv(n),s=xv(o,r),i=e[n];return Jn(e,i,s)}function qd(e,t){const n=Aa(e.theme);return Object.keys(e).map(r=>wv(e,t,r,n)).reduce(gs,{})}function bt(e){return qd(e,Ni)}bt.propTypes=process.env.NODE_ENV!=="production"?Ni.reduce((e,t)=>(e[t]=pr,e),{}):{},bt.filterProps=Ni;function vt(e){return qd(e,$i)}vt.propTypes=process.env.NODE_ENV!=="production"?$i.reduce((e,t)=>(e[t]=pr,e),{}):{},vt.filterProps=$i,process.env.NODE_ENV!=="production"&&vv.reduce((e,t)=>(e[t]=pr,e),{});function Fi(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(s=>{r[s]=o}),r),{}),n=r=>Object.keys(r).reduce((o,s)=>t[s]?gs(o,t[s](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function mn(e){return typeof e!="number"?e:`${e}px solid`}function gn(e,t){return St({prop:e,themeKey:"borders",transform:t})}const Sv=gn("border",mn),kv=gn("borderTop",mn),Tv=gn("borderRight",mn),Ev=gn("borderBottom",mn),Mv=gn("borderLeft",mn),Ov=gn("borderColor"),Dv=gn("borderTopColor"),Av=gn("borderRightColor"),Iv=gn("borderBottomColor"),Pv=gn("borderLeftColor"),Lv=gn("outline",mn),jv=gn("outlineColor"),Vi=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ys(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Cs(t,r)});return Jn(e,e.borderRadius,n)}return null};Vi.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:pr}:{},Vi.filterProps=["borderRadius"],Fi(Sv,kv,Tv,Ev,Mv,Ov,Dv,Av,Iv,Pv,Vi,Lv,jv);const Wi=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ys(e.theme,"spacing",8,"gap"),n=r=>({gap:Cs(t,r)});return Jn(e,e.gap,n)}return null};Wi.propTypes=process.env.NODE_ENV!=="production"?{gap:pr}:{},Wi.filterProps=["gap"];const zi=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ys(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Cs(t,r)});return Jn(e,e.columnGap,n)}return null};zi.propTypes=process.env.NODE_ENV!=="production"?{columnGap:pr}:{},zi.filterProps=["columnGap"];const Hi=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ys(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Cs(t,r)});return Jn(e,e.rowGap,n)}return null};Hi.propTypes=process.env.NODE_ENV!=="production"?{rowGap:pr}:{},Hi.filterProps=["rowGap"];const Rv=St({prop:"gridColumn"}),_v=St({prop:"gridRow"}),Bv=St({prop:"gridAutoFlow"}),Nv=St({prop:"gridAutoColumns"}),$v=St({prop:"gridAutoRows"}),Fv=St({prop:"gridTemplateColumns"}),Vv=St({prop:"gridTemplateRows"}),Wv=St({prop:"gridTemplateAreas"}),zv=St({prop:"gridArea"});Fi(Wi,zi,Hi,Rv,_v,Bv,Nv,$v,Fv,Vv,Wv,zv);function yo(e,t){return t==="grey"?t:e}const Hv=St({prop:"color",themeKey:"palette",transform:yo}),Uv=St({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:yo}),Gv=St({prop:"backgroundColor",themeKey:"palette",transform:yo});Fi(Hv,Uv,Gv);function an(e){return e<=1&&e!==0?`${e*100}%`:e}const Yv=St({prop:"width",transform:an}),Ia=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const r=e.theme?.breakpoints?.values?.[n]||Ri[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:an(n)}};return Jn(e,e.maxWidth,t)}return null};Ia.filterProps=["maxWidth"];const qv=St({prop:"minWidth",transform:an}),Kv=St({prop:"height",transform:an}),Zv=St({prop:"maxHeight",transform:an}),Xv=St({prop:"minHeight",transform:an});St({prop:"size",cssProperty:"width",transform:an}),St({prop:"size",cssProperty:"height",transform:an});const Jv=St({prop:"boxSizing"});Fi(Yv,Ia,qv,Kv,Zv,Xv,Jv);const Ui={border:{themeKey:"borders",transform:mn},borderTop:{themeKey:"borders",transform:mn},borderRight:{themeKey:"borders",transform:mn},borderBottom:{themeKey:"borders",transform:mn},borderLeft:{themeKey:"borders",transform:mn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:mn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Vi},color:{themeKey:"palette",transform:yo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:yo},backgroundColor:{themeKey:"palette",transform:yo},p:{style:vt},pt:{style:vt},pr:{style:vt},pb:{style:vt},pl:{style:vt},px:{style:vt},py:{style:vt},padding:{style:vt},paddingTop:{style:vt},paddingRight:{style:vt},paddingBottom:{style:vt},paddingLeft:{style:vt},paddingX:{style:vt},paddingY:{style:vt},paddingInline:{style:vt},paddingInlineStart:{style:vt},paddingInlineEnd:{style:vt},paddingBlock:{style:vt},paddingBlockStart:{style:vt},paddingBlockEnd:{style:vt},m:{style:bt},mt:{style:bt},mr:{style:bt},mb:{style:bt},ml:{style:bt},mx:{style:bt},my:{style:bt},margin:{style:bt},marginTop:{style:bt},marginRight:{style:bt},marginBottom:{style:bt},marginLeft:{style:bt},marginX:{style:bt},marginY:{style:bt},marginInline:{style:bt},marginInlineStart:{style:bt},marginInlineEnd:{style:bt},marginBlock:{style:bt},marginBlockStart:{style:bt},marginBlockEnd:{style:bt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Wi},rowGap:{style:Hi},columnGap:{style:zi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:an},maxWidth:{style:Ia},minWidth:{transform:an},height:{transform:an},maxHeight:{transform:an},minHeight:{transform:an},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Qv(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function ex(e,t){return typeof e=="function"?e(t):e}function tx(){function e(n,r,o,s){const i={[n]:r,theme:o},a=s[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=a;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const h=_i(o,c)||{};return d?d(i):Jn(i,r,g=>{let C=Bi(h,u,g);return g===C&&typeof g=="string"&&(C=Bi(h,u,`${n}${g==="default"?"":Ne(g)}`,g)),l===!1?C:{[l]:C}})}function t(n){const{sx:r,theme:o={},nested:s}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Ui;function a(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const u=mv(o.breakpoints),d=Object.keys(u);let h=u;return Object.keys(c).forEach(m=>{const g=ex(c[m],o);if(g!=null)if(typeof g=="object")if(i[m])h=gs(h,e(m,g,o,i));else{const C=Jn({theme:o},g,b=>({[m]:b}));Qv(C,g)?h[m]=t({sx:g,theme:o,nested:!0}):h=gs(h,C)}else h=gs(h,e(m,g,o,i))}),!s&&o.modularCssLayers?{"@layer sx":Hd(o,Gd(d,h))}:Hd(o,Gd(d,h))}return Array.isArray(r)?r.map(a):a(r)}return t}const Co=tx();Co.filterProps=["sx"];function nx(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var rx={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function ox(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var sx=/[A-Z]|^ms/g,ix=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kd=function(t){return t.charCodeAt(1)===45},Zd=function(t){return t!=null&&typeof t!="boolean"},Pa=ox(function(e){return Kd(e)?e:e.replace(sx,"-$&").toLowerCase()}),Xd=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ix,function(r,o,s){return hr={name:o,styles:s,next:hr},o})}return rx[t]!==1&&!Kd(t)&&typeof n=="number"&&n!==0?n+"px":n};function Gi(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return hr={name:o.name,styles:o.styles,next:hr},o.name;var s=n;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)hr={name:i.name,styles:i.styles,next:hr},i=i.next;var a=s.styles+";";return a}return ax(e,t,n)}}var l=n;return l}function ax(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Gi(e,t,n[o])+";";else for(var s in n){var i=n[s];if(typeof i!="object"){var a=i;Zd(a)&&(r+=Pa(s)+":"+Xd(s,a)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&t==null)for(var l=0;l<i.length;l++)Zd(i[l])&&(r+=Pa(s)+":"+Xd(s,i[l])+";");else{var c=Gi(e,t,i);switch(s){case"animation":case"animationName":{r+=Pa(s)+":"+c+";";break}default:r+=s+"{"+c+"}"}}}return r}var Jd=/label:\s*([^\s;{]+)\s*(;|$)/g,hr;function lx(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";hr=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,o+=Gi(n,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=Gi(n,t,e[a]),r){var l=s;o+=l[a]}Jd.lastIndex=0;for(var c="",u;(u=Jd.exec(o))!==null;)c+="-"+u[1];var d=nx(o)+c;return{name:d,styles:o,next:hr}}function cx(e,t){const n=nc(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
20
+ `)):r.some(s=>s===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}function ux(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Qd=[];function Ir(e){return Qd[0]=e,lx(Qd)}const dx=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function fx(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,s=dx(t),i=Object.keys(s);function a(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function l(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function c(h,m){const g=i.indexOf(m);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(g!==-1&&typeof t[i[g]]=="number"?t[i[g]]:m)-r/100}${n})`}function u(h){return i.indexOf(h)+1<i.length?c(h,i[i.indexOf(h)+1]):a(h)}function d(h){const m=i.indexOf(h);return m===0?a(i[1]):m===i.length-1?l(i[m]):c(h,i[i.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:i,values:s,up:a,down:l,between:c,only:u,not:d,unit:n,...o}}const px={borderRadius:4};function e8(e=8,t=Aa({spacing:e})){if(e.mui)return e;const n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(s=>{const i=t(s);return typeof i=="number"?`${i}px`:i}).join(" "));return n.mui=!0,n}function hx(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function La(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:s={},...i}=e,a=fx(n),l=e8(o);let c=sn({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...px,...s}},i);return c=pv(c),c.applyStyles=hx,c=t.reduce((u,d)=>sn(u,d),c),c.unstable_sxConfig={...Ui,...i?.unstable_sxConfig},c.unstable_sx=function(d){return Co({sx:d,theme:this})},c}function mx(e){return Object.keys(e).length===0}function gx(e=null){const t=Z.useContext(sr.ThemeContext);return!t||mx(t)?e:t}const yx=La();function Cx(e=yx){return gx(e)}const bx={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ft(e,t,n="Mui"){const r=bx[t];return r?`${n}-${r}`:`${av.generate(e)}-${t}`}function Vt(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ft(e,o,n)}),r}function t8(e,t=""){return e.displayName||e.name||t}function n8(e,t,n){const r=t8(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function vx(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return t8(e,"Component");if(typeof e=="object")switch(e.$$typeof){case ji.ForwardRef:return n8(e,e.render,"ForwardRef");case ji.Memo:return n8(e,e.type,"memo");default:return}}}function r8(e){const{variants:t,...n}=e,r={variants:t,style:Ir(n),isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Ir(o.style))}),r}const xx=La();function ja(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Pr(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function wx(e){return e?(t,n)=>n[e]:null}function Sx(e,t,n){e.theme=Mx(e.theme)?n:e.theme[t]||e.theme}function Yi(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>Yi(e,o,n));if(Array.isArray(r?.variants)){let o;if(r.isProcessed)o=n?Pr(r.style,n):r.style;else{const{variants:s,...i}=r;o=n?Pr(Ir(i),n):i}return o8(e,r.variants,[o],n)}return r?.isProcessed?n?Pr(Ir(r.style),n):r.style:n?Pr(Ir(r),n):r}function o8(e,t,n=[],r=void 0){let o;e:for(let s=0;s<t.length;s+=1){const i=t[s];if(typeof i.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(o))continue}else for(const a in i.props)if(e[a]!==i.props[a]&&e.ownerState?.[a]!==i.props[a])continue e;typeof i.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Pr(Ir(i.style(o)),r):i.style(o))):n.push(r?Pr(Ir(i.style),r):i.style)}return n}function kx(e={}){const{themeId:t,defaultTheme:n=xx,rootShouldForwardProp:r=ja,slotShouldForwardProp:o=ja}=e;function s(a){Sx(a,t,n)}return(a,l={})=>{ux(a,M=>M.filter(A=>A!==Co));const{name:c,slot:u,skipVariantsResolver:d,skipSx:h,overridesResolver:m=wx(s8(u)),...g}=l,C=c&&c.startsWith("Mui")||u?"components":"custom",b=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,v=h||!1;let k=ja;u==="Root"||u==="root"?k=r:u?k=o:Ox(a)&&(k=void 0);const w=cx(a,{shouldForwardProp:k,label:Ex(c,u),...g}),x=M=>{if(M.__emotion_real===M)return M;if(typeof M=="function")return function(I){return Yi(I,M,I.theme.modularCssLayers?C:void 0)};if(Xn(M)){const A=r8(M);return function(P){return A.variants?Yi(P,A,P.theme.modularCssLayers?C:void 0):P.theme.modularCssLayers?Pr(A.style,C):A.style}}return M},T=(...M)=>{const A=[],I=M.map(x),P=[];if(A.push(s),c&&m&&P.push(function(j){const N=j.theme.components?.[c]?.styleOverrides;if(!N)return null;const U={};for(const se in N)U[se]=Yi(j,N[se],j.theme.modularCssLayers?"theme":void 0);return m(j,U)}),c&&!b&&P.push(function(j){const N=j.theme?.components?.[c]?.variants;return N?o8(j,N,[],j.theme.modularCssLayers?"theme":void 0):null}),v||P.push(Co),Array.isArray(I[0])){const S=I.shift(),j=new Array(A.length).fill(""),_=new Array(P.length).fill("");let N;N=[...j,...S,..._],N.raw=[...j,...S.raw,..._],A.unshift(N)}const R=[...A,...I,...P],W=w(...R);return a.muiName&&(W.muiName=a.muiName),process.env.NODE_ENV!=="production"&&(W.displayName=Tx(c,u,a)),W};return w.withConfig&&(T.withConfig=w.withConfig),T}}function Tx(e,t,n){return e?`${e}${Ne(t||"")}`:`Styled(${vx(n)})`}function Ex(e,t){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${s8(t||"Root")}`),n}function Mx(e){for(const t in e)return!1;return!0}function Ox(e){return typeof e=="string"&&e.charCodeAt(0)>96}function s8(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function qi(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const s=o;if(s==="components"||s==="slots")r[s]={...e[s],...r[s]};else if(s==="componentsProps"||s==="slotProps"){const i=e[s],a=t[s];if(!a)r[s]=i||{};else if(!i)r[s]=a;else{r[s]={...a};for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const c=l;r[s][c]=qi(i[c],a[c],n)}}}else s==="className"&&n&&t.className?r.className=Xe(e?.className,t?.className):s==="style"&&n&&t.style?r.style={...e?.style,...t?.style}:r[s]===void 0&&(r[s]=e[s])}return r}const Ra=typeof window<"u"?Z.useLayoutEffect:Z.useEffect;function Dx(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function _a(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Dx(e,t,n)}function Ax(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function mr(e){if(e.type)return e;if(e.charAt(0)==="#")return mr(Ax(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
21
21
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ar(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
22
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ar(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}const Ax=e=>{const t=mr(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},bs=(e,t)=>{try{return Ax(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Ki(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,s)=>s<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function i8(e){e=mr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),i=(c,u=(c+n/30)%12)=>o-s*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),Ki({type:a,values:l})}function Ba(e){e=mr(e);let t=e.type==="hsl"||e.type==="hsla"?mr(i8(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function a8(e,t){const n=Ba(e),r=Ba(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Zi(e,t){return e=mr(e),t=_a(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ki(e)}function Lr(e,t,n){try{return Zi(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Xi(e,t){if(e=mr(e),t=_a(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Ki(e)}function Je(e,t,n){try{return Xi(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Ji(e,t){if(e=mr(e),t=_a(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Ki(e)}function Qe(e,t,n){try{return Ji(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Ix(e,t=.15){return Ba(e)>.5?Xi(e,t):Ji(e,t)}function Qi(e,t,n){try{return Ix(e,t)}catch{return e}}const Px="exact-prop: ​";function l8(e){return process.env.NODE_ENV==="production"?e:{...e,[Px]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}}}const Lx=Z.createContext();process.env.NODE_ENV!=="production"&&(y.node,y.bool);const jx=()=>Z.useContext(Lx)??!1,Rx=Z.createContext(void 0);process.env.NODE_ENV!=="production"&&(y.node,y.object);function _x(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?qi(o.defaultProps,r,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?qi(o,r,t.components.mergeClassNameAndStyle):r}function Bx({props:e,name:t}){const n=Z.useContext(Rx);return _x({props:e,name:t,theme:{components:n}})}let c8=0;function Nx(e){const[t,n]=Z.useState(e),r=e||t;return Z.useEffect(()=>{t==null&&(c8+=1,n(`mui-${c8}`))},[t]),r}const u8={...Z}.useId;function d8(e){if(u8!==void 0){const t=u8();return e??t}return Nx(e)}const f8={theme:void 0};function $x(e){let t,n;return function(o){let s=t;return(s===void 0||o.theme!==n)&&(f8.theme=o.theme,s=r8(e(f8)),t=s,n=o.theme),s}}function Fx(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const p8=(e,t,n,r=[])=>{let o=e;t.forEach((s,i)=>{i===t.length-1?Array.isArray(o)?o[Number(s)]=n:o&&typeof o=="object"&&(o[s]=n):o&&typeof o=="object"&&(o[s]||(o[s]=r.includes(s)?[]:{}),o=o[s])})},Vx=(e,t,n)=>{function r(o,s=[],i=[]){Object.entries(o).forEach(([a,l])=>{(!n||n&&!n([...s,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...s,a],Array.isArray(l)?[...i,a]:i):t([...s,a],l,i))})}r(e)},Wx=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Na(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},s={},i={};return Vx(e,(a,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const u=`--${n?`${n}-`:""}${a.join("-")}`,d=Wx(a,l);Object.assign(o,{[u]:d}),p8(s,a,`var(${u})`,c),p8(i,a,`var(${u}, ${d})`,c)}},a=>a[0]==="vars"),{css:o,vars:s,varsWithDefaults:i}}function zx(e,t={}){const{getSelector:n=v,disableCssColorScheme:r,colorSchemeSelector:o,enableContrastVars:s}=t,{colorSchemes:i={},components:a,defaultColorScheme:l="light",...c}=e,{vars:u,css:d,varsWithDefaults:h}=Na(c,t);let m=h;const g={},{[l]:C,...b}=i;if(Object.entries(b||{}).forEach(([x,T])=>{const{vars:M,css:A,varsWithDefaults:I}=Na(T,t);m=sn(m,I),g[x]={css:A,vars:M}}),C){const{css:x,vars:T,varsWithDefaults:M}=Na(C,t);m=sn(m,M),g[l]={css:x,vars:T}}function v(x,T){let M=o;if(o==="class"&&(M=".%s"),o==="data"&&(M="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(M=`[${o}="%s"]`),x){if(M==="media")return e.defaultColorScheme===x?":root":{[`@media (prefers-color-scheme: ${i[x]?.palette?.mode||x})`]:{":root":T}};if(M)return e.defaultColorScheme===x?`:root, ${M.replace("%s",String(x))}`:M.replace("%s",String(x))}return":root"}return{vars:m,generateThemeVars:()=>{let x={...u};return Object.entries(g).forEach(([,{vars:T}])=>{x=sn(x,T)}),x},generateStyleSheets:()=>{const x=[],T=e.defaultColorScheme||"light";function M(P,R){Object.keys(R).length&&x.push(typeof P=="string"?{[P]:{...R}}:P)}M(n(void 0,{...d}),d);const{[T]:A,...I}=g;if(A){const{css:P}=A,R=i[T]?.palette?.mode,W=!r&&R?{colorScheme:R,...P}:{...P};M(n(T,{...W}),W)}return Object.entries(I).forEach(([P,{css:R}])=>{const W=i[P]?.palette?.mode,S=!r&&W?{colorScheme:W,...R}:{...R};M(n(P,{...S}),S)}),s&&x.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),x}}}function Hx(e){return function(n){return e==="media"?(process.env.NODE_ENV!=="production"&&n!=="light"&&n!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${n}'.`),`@media (prefers-color-scheme: ${n})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const vs={black:"#000",white:"#fff"},Ux={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},bo={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},vo={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},xs={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},xo={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},wo={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},So={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function h8(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:vs.white,default:vs.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const m8=h8();function g8(){return{text:{primary:vs.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:vs.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const $a=g8();function y8(e,t,n,r){const o=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Ji(e.main,o):t==="dark"&&(e.dark=Xi(e.main,s)))}function C8(e,t,n,r,o){const s=o.light||o,i=o.dark||o*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(s*100).toFixed(0)}%)`:n==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(i*100).toFixed(0)}%)`))}function Gx(e="light"){return e==="dark"?{main:xo[200],light:xo[50],dark:xo[400]}:{main:xo[700],light:xo[400],dark:xo[800]}}function Yx(e="light"){return e==="dark"?{main:bo[200],light:bo[50],dark:bo[400]}:{main:bo[500],light:bo[300],dark:bo[700]}}function qx(e="light"){return e==="dark"?{main:vo[500],light:vo[300],dark:vo[700]}:{main:vo[700],light:vo[400],dark:vo[800]}}function Kx(e="light"){return e==="dark"?{main:wo[400],light:wo[300],dark:wo[700]}:{main:wo[700],light:wo[500],dark:wo[900]}}function Zx(e="light"){return e==="dark"?{main:So[400],light:So[300],dark:So[700]}:{main:So[800],light:So[500],dark:So[900]}}function Xx(e="light"){return e==="dark"?{main:xs[400],light:xs[300],dark:xs[700]}:{main:"#ed6c02",light:xs[500],dark:xs[900]}}function Jx(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Fa(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:o,...s}=e,i=e.primary||Gx(t),a=e.secondary||Yx(t),l=e.error||qx(t),c=e.info||Kx(t),u=e.success||Zx(t),d=e.warning||Xx(t);function h(b){if(o)return Jx(b);const v=a8(b,$a.text.primary)>=n?$a.text.primary:m8.text.primary;if(process.env.NODE_ENV!=="production"){const k=a8(b,v);k<3&&console.error([`MUI: The contrast ratio of ${k}:1 for ${v} on ${b}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
22
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ar(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}const Ix=e=>{const t=mr(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},bs=(e,t)=>{try{return Ix(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Ki(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,s)=>s<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function i8(e){e=mr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),i=(c,u=(c+n/30)%12)=>o-s*Math.max(Math.min(u-3,9-u,1),-1);let a="rgb";const l=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),Ki({type:a,values:l})}function Ba(e){e=mr(e);let t=e.type==="hsl"||e.type==="hsla"?mr(i8(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function a8(e,t){const n=Ba(e),r=Ba(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Zi(e,t){return e=mr(e),t=_a(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ki(e)}function Lr(e,t,n){try{return Zi(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Xi(e,t){if(e=mr(e),t=_a(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Ki(e)}function Je(e,t,n){try{return Xi(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Ji(e,t){if(e=mr(e),t=_a(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Ki(e)}function Qe(e,t,n){try{return Ji(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Px(e,t=.15){return Ba(e)>.5?Xi(e,t):Ji(e,t)}function Qi(e,t,n){try{return Px(e,t)}catch{return e}}const Lx="exact-prop: ​";function l8(e){return process.env.NODE_ENV==="production"?e:{...e,[Lx]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}}}const jx=Z.createContext();process.env.NODE_ENV!=="production"&&(y.node,y.bool);const Rx=()=>Z.useContext(jx)??!1,_x=Z.createContext(void 0);process.env.NODE_ENV!=="production"&&(y.node,y.object);function Bx(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?qi(o.defaultProps,r,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?qi(o,r,t.components.mergeClassNameAndStyle):r}function Nx({props:e,name:t}){const n=Z.useContext(_x);return Bx({props:e,name:t,theme:{components:n}})}let c8=0;function $x(e){const[t,n]=Z.useState(e),r=e||t;return Z.useEffect(()=>{t==null&&(c8+=1,n(`mui-${c8}`))},[t]),r}const u8={...Z}.useId;function d8(e){if(u8!==void 0){const t=u8();return e??t}return $x(e)}const f8={theme:void 0};function Fx(e){let t,n;return function(o){let s=t;return(s===void 0||o.theme!==n)&&(f8.theme=o.theme,s=r8(e(f8)),t=s,n=o.theme),s}}function Vx(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const p8=(e,t,n,r=[])=>{let o=e;t.forEach((s,i)=>{i===t.length-1?Array.isArray(o)?o[Number(s)]=n:o&&typeof o=="object"&&(o[s]=n):o&&typeof o=="object"&&(o[s]||(o[s]=r.includes(s)?[]:{}),o=o[s])})},Wx=(e,t,n)=>{function r(o,s=[],i=[]){Object.entries(o).forEach(([a,l])=>{(!n||n&&!n([...s,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...s,a],Array.isArray(l)?[...i,a]:i):t([...s,a],l,i))})}r(e)},zx=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Na(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},s={},i={};return Wx(e,(a,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const u=`--${n?`${n}-`:""}${a.join("-")}`,d=zx(a,l);Object.assign(o,{[u]:d}),p8(s,a,`var(${u})`,c),p8(i,a,`var(${u}, ${d})`,c)}},a=>a[0]==="vars"),{css:o,vars:s,varsWithDefaults:i}}function Hx(e,t={}){const{getSelector:n=v,disableCssColorScheme:r,colorSchemeSelector:o,enableContrastVars:s}=t,{colorSchemes:i={},components:a,defaultColorScheme:l="light",...c}=e,{vars:u,css:d,varsWithDefaults:h}=Na(c,t);let m=h;const g={},{[l]:C,...b}=i;if(Object.entries(b||{}).forEach(([x,T])=>{const{vars:M,css:A,varsWithDefaults:I}=Na(T,t);m=sn(m,I),g[x]={css:A,vars:M}}),C){const{css:x,vars:T,varsWithDefaults:M}=Na(C,t);m=sn(m,M),g[l]={css:x,vars:T}}function v(x,T){let M=o;if(o==="class"&&(M=".%s"),o==="data"&&(M="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(M=`[${o}="%s"]`),x){if(M==="media")return e.defaultColorScheme===x?":root":{[`@media (prefers-color-scheme: ${i[x]?.palette?.mode||x})`]:{":root":T}};if(M)return e.defaultColorScheme===x?`:root, ${M.replace("%s",String(x))}`:M.replace("%s",String(x))}return":root"}return{vars:m,generateThemeVars:()=>{let x={...u};return Object.entries(g).forEach(([,{vars:T}])=>{x=sn(x,T)}),x},generateStyleSheets:()=>{const x=[],T=e.defaultColorScheme||"light";function M(P,R){Object.keys(R).length&&x.push(typeof P=="string"?{[P]:{...R}}:P)}M(n(void 0,{...d}),d);const{[T]:A,...I}=g;if(A){const{css:P}=A,R=i[T]?.palette?.mode,W=!r&&R?{colorScheme:R,...P}:{...P};M(n(T,{...W}),W)}return Object.entries(I).forEach(([P,{css:R}])=>{const W=i[P]?.palette?.mode,S=!r&&W?{colorScheme:W,...R}:{...R};M(n(P,{...S}),S)}),s&&x.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),x}}}function Ux(e){return function(n){return e==="media"?(process.env.NODE_ENV!=="production"&&n!=="light"&&n!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${n}'.`),`@media (prefers-color-scheme: ${n})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const vs={black:"#000",white:"#fff"},Gx={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},bo={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},vo={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},xs={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},xo={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},wo={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},So={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function h8(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:vs.white,default:vs.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const m8=h8();function g8(){return{text:{primary:vs.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:vs.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const $a=g8();function y8(e,t,n,r){const o=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Ji(e.main,o):t==="dark"&&(e.dark=Xi(e.main,s)))}function C8(e,t,n,r,o){const s=o.light||o,i=o.dark||o*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(s*100).toFixed(0)}%)`:n==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(i*100).toFixed(0)}%)`))}function Yx(e="light"){return e==="dark"?{main:xo[200],light:xo[50],dark:xo[400]}:{main:xo[700],light:xo[400],dark:xo[800]}}function qx(e="light"){return e==="dark"?{main:bo[200],light:bo[50],dark:bo[400]}:{main:bo[500],light:bo[300],dark:bo[700]}}function Kx(e="light"){return e==="dark"?{main:vo[500],light:vo[300],dark:vo[700]}:{main:vo[700],light:vo[400],dark:vo[800]}}function Zx(e="light"){return e==="dark"?{main:wo[400],light:wo[300],dark:wo[700]}:{main:wo[700],light:wo[500],dark:wo[900]}}function Xx(e="light"){return e==="dark"?{main:So[400],light:So[300],dark:So[700]}:{main:So[800],light:So[500],dark:So[900]}}function Jx(e="light"){return e==="dark"?{main:xs[400],light:xs[300],dark:xs[700]}:{main:"#ed6c02",light:xs[500],dark:xs[900]}}function Qx(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Fa(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:o,...s}=e,i=e.primary||Yx(t),a=e.secondary||qx(t),l=e.error||Kx(t),c=e.info||Zx(t),u=e.success||Xx(t),d=e.warning||Jx(t);function h(b){if(o)return Qx(b);const v=a8(b,$a.text.primary)>=n?$a.text.primary:m8.text.primary;if(process.env.NODE_ENV!=="production"){const k=a8(b,v);k<3&&console.error([`MUI: The contrast ratio of ${k}:1 for ${v} on ${b}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
23
23
  `))}return v}const m=({color:b,name:v,mainShade:k=500,lightShade:w=300,darkShade:x=700})=>{if(b={...b},!b.main&&b[k]&&(b.main=b[k]),!b.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${v?` (${v})`:""} provided to augmentColor(color) is invalid.
24
24
  The color object needs to have a \`main\` property or a \`${k}\` property.`:Ar(11,v?` (${v})`:"",k));if(typeof b.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${v?` (${v})`:""} provided to augmentColor(color) is invalid.
25
25
  \`color.main\` should be a string, but \`${JSON.stringify(b.main)}\` was provided instead.
@@ -34,35 +34,35 @@ const theme1 = createTheme({ palette: {
34
34
 
35
35
  const theme2 = createTheme({ palette: {
36
36
  primary: { main: green[500] },
37
- } });`:Ar(12,v?` (${v})`:"",JSON.stringify(b.main)));return o?(C8(o,b,"light",w,r),C8(o,b,"dark",x,r)):(y8(b,"light",w,r),y8(b,"dark",x,r)),b.contrastText||(b.contrastText=h(b.main)),b};let g;return t==="light"?g=h8():t==="dark"&&(g=g8()),process.env.NODE_ENV!=="production"&&(g||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),sn({common:{...vs},mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:l,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:c,name:"info"}),success:m({color:u,name:"success"}),grey:Ux,contrastThreshold:n,getContrastText:h,augmentColor:m,tonalOffset:r,...g},s)}function Qx(e){const t={};return Object.entries(e).forEach(r=>{const[o,s]=r;typeof s=="object"&&(t[o]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),t}function ew(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function tw(e){return Math.round(e*1e5)/1e5}const b8={textTransform:"uppercase"},v8='"Roboto", "Helvetica", "Arial", sans-serif';function nw(e,t){const{fontFamily:n=v8,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:i=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof r!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=r/14,m=u||(b=>`${b/l*h}rem`),g=(b,v,k,w,x)=>({fontFamily:n,fontWeight:b,fontSize:m(v),lineHeight:k,...n===v8?{letterSpacing:`${tw(w/v)}em`}:{},...x,...c}),C={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(s,48,1.167,0),h4:g(s,34,1.235,.25),h5:g(s,24,1.334,0),h6:g(i,20,1.6,.15),subtitle1:g(s,16,1.75,.15),subtitle2:g(i,14,1.57,.1),body1:g(s,16,1.5,.15),body2:g(s,14,1.43,.15),button:g(i,14,1.75,.4,b8),caption:g(s,12,1.66,.4),overline:g(s,12,2.66,1,b8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return sn({htmlFontSize:l,pxToRem:m,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:i,fontWeightBold:a,...C},d,{clone:!1})}const rw=.2,ow=.14,sw=.12;function ut(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rw})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ow})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${sw})`].join(",")}const iw=["none",ut(0,2,1,-1,0,1,1,0,0,1,3,0),ut(0,3,1,-2,0,2,2,0,0,1,5,0),ut(0,3,3,-2,0,3,4,0,0,1,8,0),ut(0,2,4,-1,0,4,5,0,0,1,10,0),ut(0,3,5,-1,0,5,8,0,0,1,14,0),ut(0,3,5,-1,0,6,10,0,0,1,18,0),ut(0,4,5,-2,0,7,10,1,0,2,16,1),ut(0,5,5,-3,0,8,10,1,0,3,14,2),ut(0,5,6,-3,0,9,12,1,0,3,16,2),ut(0,6,6,-3,0,10,14,1,0,4,18,3),ut(0,6,7,-4,0,11,15,1,0,4,20,3),ut(0,7,8,-4,0,12,17,2,0,5,22,4),ut(0,7,8,-4,0,13,19,2,0,5,24,4),ut(0,7,9,-4,0,14,21,2,0,5,26,4),ut(0,8,9,-5,0,15,22,2,0,6,28,5),ut(0,8,10,-5,0,16,24,2,0,6,30,5),ut(0,8,11,-5,0,17,26,2,0,6,32,5),ut(0,9,11,-5,0,18,28,2,0,7,34,6),ut(0,9,12,-6,0,19,29,2,0,7,36,6),ut(0,10,13,-6,0,20,31,3,0,8,38,7),ut(0,10,13,-6,0,21,33,3,0,8,40,7),ut(0,10,14,-6,0,22,35,3,0,8,42,7),ut(0,11,14,-7,0,23,36,3,0,9,44,8),ut(0,11,15,-7,0,24,38,3,0,9,46,8)],aw={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},lw={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function x8(e){return`${Math.round(e)}ms`}function cw(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function uw(e){const t={...aw,...e.easing},n={...lw,...e.duration};return{getAutoHeightDuration:cw,create:(o=["all"],s={})=>{const{duration:i=n.standard,easing:a=t.easeInOut,delay:l=0,...c}=s;if(process.env.NODE_ENV!=="production"){const u=h=>typeof h=="string",d=h=>!Number.isNaN(parseFloat(h));!u(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!d(i)&&!u(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),u(a)||console.error('MUI: Argument "easing" must be a string.'),!d(l)&&!u(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
38
- `)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof i=="string"?i:x8(i)} ${a} ${typeof l=="string"?l:x8(l)}`).join(",")},...e,easing:t,duration:n}}const dw={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fw(e){return Xn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function w8(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let s=0;s<o.length;s++){const[i,a]=o[s];!fw(a)||i.startsWith("unstable_")?delete r[i]:Xn(a)&&(r[i]={...a},n(r[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
37
+ } });`:Ar(12,v?` (${v})`:"",JSON.stringify(b.main)));return o?(C8(o,b,"light",w,r),C8(o,b,"dark",x,r)):(y8(b,"light",w,r),y8(b,"dark",x,r)),b.contrastText||(b.contrastText=h(b.main)),b};let g;return t==="light"?g=h8():t==="dark"&&(g=g8()),process.env.NODE_ENV!=="production"&&(g||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),sn({common:{...vs},mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:l,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:c,name:"info"}),success:m({color:u,name:"success"}),grey:Gx,contrastThreshold:n,getContrastText:h,augmentColor:m,tonalOffset:r,...g},s)}function ew(e){const t={};return Object.entries(e).forEach(r=>{const[o,s]=r;typeof s=="object"&&(t[o]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),t}function tw(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function nw(e){return Math.round(e*1e5)/1e5}const b8={textTransform:"uppercase"},v8='"Roboto", "Helvetica", "Arial", sans-serif';function rw(e,t){const{fontFamily:n=v8,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:i=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof r!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=r/14,m=u||(b=>`${b/l*h}rem`),g=(b,v,k,w,x)=>({fontFamily:n,fontWeight:b,fontSize:m(v),lineHeight:k,...n===v8?{letterSpacing:`${nw(w/v)}em`}:{},...x,...c}),C={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(s,48,1.167,0),h4:g(s,34,1.235,.25),h5:g(s,24,1.334,0),h6:g(i,20,1.6,.15),subtitle1:g(s,16,1.75,.15),subtitle2:g(i,14,1.57,.1),body1:g(s,16,1.5,.15),body2:g(s,14,1.43,.15),button:g(i,14,1.75,.4,b8),caption:g(s,12,1.66,.4),overline:g(s,12,2.66,1,b8),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return sn({htmlFontSize:l,pxToRem:m,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:i,fontWeightBold:a,...C},d,{clone:!1})}const ow=.2,sw=.14,iw=.12;function ut(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ow})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${sw})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${iw})`].join(",")}const aw=["none",ut(0,2,1,-1,0,1,1,0,0,1,3,0),ut(0,3,1,-2,0,2,2,0,0,1,5,0),ut(0,3,3,-2,0,3,4,0,0,1,8,0),ut(0,2,4,-1,0,4,5,0,0,1,10,0),ut(0,3,5,-1,0,5,8,0,0,1,14,0),ut(0,3,5,-1,0,6,10,0,0,1,18,0),ut(0,4,5,-2,0,7,10,1,0,2,16,1),ut(0,5,5,-3,0,8,10,1,0,3,14,2),ut(0,5,6,-3,0,9,12,1,0,3,16,2),ut(0,6,6,-3,0,10,14,1,0,4,18,3),ut(0,6,7,-4,0,11,15,1,0,4,20,3),ut(0,7,8,-4,0,12,17,2,0,5,22,4),ut(0,7,8,-4,0,13,19,2,0,5,24,4),ut(0,7,9,-4,0,14,21,2,0,5,26,4),ut(0,8,9,-5,0,15,22,2,0,6,28,5),ut(0,8,10,-5,0,16,24,2,0,6,30,5),ut(0,8,11,-5,0,17,26,2,0,6,32,5),ut(0,9,11,-5,0,18,28,2,0,7,34,6),ut(0,9,12,-6,0,19,29,2,0,7,36,6),ut(0,10,13,-6,0,20,31,3,0,8,38,7),ut(0,10,13,-6,0,21,33,3,0,8,40,7),ut(0,10,14,-6,0,22,35,3,0,8,42,7),ut(0,11,14,-7,0,23,36,3,0,9,44,8),ut(0,11,15,-7,0,24,38,3,0,9,46,8)],lw={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},cw={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function x8(e){return`${Math.round(e)}ms`}function uw(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function dw(e){const t={...lw,...e.easing},n={...cw,...e.duration};return{getAutoHeightDuration:uw,create:(o=["all"],s={})=>{const{duration:i=n.standard,easing:a=t.easeInOut,delay:l=0,...c}=s;if(process.env.NODE_ENV!=="production"){const u=h=>typeof h=="string",d=h=>!Number.isNaN(parseFloat(h));!u(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!d(i)&&!u(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),u(a)||console.error('MUI: Argument "easing" must be a string.'),!d(l)&&!u(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
38
+ `)),Object.keys(c).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof i=="string"?i:x8(i)} ${a} ${typeof l=="string"?l:x8(l)}`).join(",")},...e,easing:t,duration:n}}const fw={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function pw(e){return Xn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function w8(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let s=0;s<o.length;s++){const[i,a]=o[s];!pw(a)||i.startsWith("unstable_")?delete r[i]:Xn(a)&&(r[i]={...a},n(r[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
39
39
 
40
40
  const theme = ${JSON.stringify(t,null,2)};
41
41
 
42
42
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
43
43
  theme.transitions = createTransitions(theme.transitions || {});
44
44
 
45
- export default theme;`}function S8(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const pw=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let r=0;r<t.length;r+=1)n+=+t[r];return n};function hw(e){Object.assign(e,{alpha(t,n){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n=="string"?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof n=="string"?`calc(${n})`:n})`:Zi(t,pw(n))},lighten(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${S8(n)})`:Ji(t,n)},darken(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${S8(n)})`:Xi(t,n)}})}function Va(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:s={},transitions:i={},typography:a={},shape:l,colorSpace:c,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Ar(20));const d=Fa({...s,colorSpace:c}),h=La(e);let m=sn(h,{mixins:ew(h.breakpoints,r),palette:d,shadows:iw.slice(),typography:nw(d,a),transitions:uw(i),zIndex:{...dw}});if(m=sn(m,u),m=t.reduce((g,C)=>sn(g,C),m),process.env.NODE_ENV!=="production"){const g=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],C=(b,v)=>{let k;for(k in b){const w=b[k];if(g.includes(k)&&Object.keys(w).length>0){if(process.env.NODE_ENV!=="production"){const x=Ft("",k);console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${k}\` internal state.`,"You can not override it like this: ",JSON.stringify(b,null,2),"",`Instead, you need to use the '&.${x}' syntax:`,JSON.stringify({root:{[`&.${x}`]:w}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
46
- `))}b[k]={}}}};Object.keys(m.components).forEach(b=>{const v=m.components[b].styleOverrides;v&&b.startsWith("Mui")&&C(v,b)})}return m.unstable_sxConfig={...Ui,...u?.unstable_sxConfig},m.unstable_sx=function(C){return Co({sx:C,theme:this})},m.toRuntimeSource=w8,hw(m),m}function Wa(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const mw=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Wa(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function k8(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function T8(e){return e==="dark"?mw:[]}function gw(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:o,...s}=e,i=Fa({...t,colorSpace:o});return{palette:i,opacity:{...k8(i.mode),...n},overlays:r||T8(i.mode),...s}}function yw(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Cw=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],bw=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let s=o;if(o==="class"&&(s=".%s"),o==="data"&&(s="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(s=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return Cw(e.cssVarPrefix).forEach(a=>{i[a]=n[a],delete n[a]}),s==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:s?{[s.replace("%s",t)]:i,[`${r}, ${s.replace("%s",t)}`]:n}:{[r]:{...n,...i}}}if(s&&s!=="media")return`${r}, ${s.replace("%s",String(t))}`}else if(t){if(s==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(s)return s.replace("%s",String(t))}return r};function vw(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function K(e,t,n){!e[t]&&n&&(e[t]=n)}function ws(e){return typeof e!="string"||!e.startsWith("hsl")?e:i8(e)}function Qn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=bs(ws(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
47
- To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function xw(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fn=e=>{try{return e()}catch{}},ww=(e="mui")=>Fx(e);function za(e,t,n,r,o){if(!n)return;n=n===!0?{}:n;const s=o==="dark"?"dark":"light";if(!r){t[o]=gw({...n,palette:{mode:s,...n?.palette},colorSpace:e});return}const{palette:i,...a}=Va({...r,palette:{mode:s,...n?.palette},colorSpace:e});return t[o]={...n,palette:i,opacity:{...k8(s),...n?.opacity},overlays:n?.overlays||T8(s)},a}function Sw(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:s="mui",nativeColor:i=!1,shouldSkipGeneratingVar:a=yw,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,rootSelector:c=":root",...u}=e,d=Object.keys(n)[0],h=r||(n.light&&d!=="light"?"light":d),m=ww(s),{[h]:g,light:C,dark:b,...v}=n,k={...v};let w=g;if((h==="dark"&&!("dark"in n)||h==="light"&&!("light"in n))&&(w=!0),!w)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Ar(21,h));let x;i&&(x="oklch");const T=za(x,k,w,u,h);C&&!k.light&&za(x,k,C,void 0,"light"),b&&!k.dark&&za(x,k,b,void 0,"dark");let M={defaultColorScheme:h,...T,cssVarPrefix:s,colorSchemeSelector:l,rootSelector:c,getCssVar:m,colorSchemes:k,font:{...Qx(T.typography),...T.font},spacing:xw(u.spacing)};Object.keys(M.colorSchemes).forEach(W=>{const S=M.colorSchemes[W].palette,j=N=>{const U=N.split("-"),se=U[1],ue=U[2];return m(N,S[se][ue])};S.mode==="light"&&(K(S.common,"background","#fff"),K(S.common,"onBackground","#000")),S.mode==="dark"&&(K(S.common,"background","#000"),K(S.common,"onBackground","#fff"));function _(N,U,se){if(x){let ue;return N===Lr&&(ue=`transparent ${((1-se)*100).toFixed(0)}%`),N===Je&&(ue=`#000 ${(se*100).toFixed(0)}%`),N===Qe&&(ue=`#fff ${(se*100).toFixed(0)}%`),`color-mix(in ${x}, ${U}, ${ue})`}return N(U,se)}if(vw(S,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),S.mode==="light"){K(S.Alert,"errorColor",_(Je,i?m("palette-error-light"):S.error.light,.6)),K(S.Alert,"infoColor",_(Je,i?m("palette-info-light"):S.info.light,.6)),K(S.Alert,"successColor",_(Je,i?m("palette-success-light"):S.success.light,.6)),K(S.Alert,"warningColor",_(Je,i?m("palette-warning-light"):S.warning.light,.6)),K(S.Alert,"errorFilledBg",j("palette-error-main")),K(S.Alert,"infoFilledBg",j("palette-info-main")),K(S.Alert,"successFilledBg",j("palette-success-main")),K(S.Alert,"warningFilledBg",j("palette-warning-main")),K(S.Alert,"errorFilledColor",Fn(()=>S.getContrastText(S.error.main))),K(S.Alert,"infoFilledColor",Fn(()=>S.getContrastText(S.info.main))),K(S.Alert,"successFilledColor",Fn(()=>S.getContrastText(S.success.main))),K(S.Alert,"warningFilledColor",Fn(()=>S.getContrastText(S.warning.main))),K(S.Alert,"errorStandardBg",_(Qe,i?m("palette-error-light"):S.error.light,.9)),K(S.Alert,"infoStandardBg",_(Qe,i?m("palette-info-light"):S.info.light,.9)),K(S.Alert,"successStandardBg",_(Qe,i?m("palette-success-light"):S.success.light,.9)),K(S.Alert,"warningStandardBg",_(Qe,i?m("palette-warning-light"):S.warning.light,.9)),K(S.Alert,"errorIconColor",j("palette-error-main")),K(S.Alert,"infoIconColor",j("palette-info-main")),K(S.Alert,"successIconColor",j("palette-success-main")),K(S.Alert,"warningIconColor",j("palette-warning-main")),K(S.AppBar,"defaultBg",j("palette-grey-100")),K(S.Avatar,"defaultBg",j("palette-grey-400")),K(S.Button,"inheritContainedBg",j("palette-grey-300")),K(S.Button,"inheritContainedHoverBg",j("palette-grey-A100")),K(S.Chip,"defaultBorder",j("palette-grey-400")),K(S.Chip,"defaultAvatarColor",j("palette-grey-700")),K(S.Chip,"defaultIconColor",j("palette-grey-700")),K(S.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),K(S.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),K(S.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),K(S.LinearProgress,"primaryBg",_(Qe,i?m("palette-primary-main"):S.primary.main,.62)),K(S.LinearProgress,"secondaryBg",_(Qe,i?m("palette-secondary-main"):S.secondary.main,.62)),K(S.LinearProgress,"errorBg",_(Qe,i?m("palette-error-main"):S.error.main,.62)),K(S.LinearProgress,"infoBg",_(Qe,i?m("palette-info-main"):S.info.main,.62)),K(S.LinearProgress,"successBg",_(Qe,i?m("palette-success-main"):S.success.main,.62)),K(S.LinearProgress,"warningBg",_(Qe,i?m("palette-warning-light"):S.warning.main,.62)),K(S.Skeleton,"bg",x?_(Lr,i?m("palette-text-primary"):S.text.primary,.11):`rgba(${j("palette-text-primaryChannel")} / 0.11)`),K(S.Slider,"primaryTrack",_(Qe,i?m("palette-primary-main"):S.primary.main,.62)),K(S.Slider,"secondaryTrack",_(Qe,i?m("palette-secondary-main"):S.secondary.main,.62)),K(S.Slider,"errorTrack",_(Qe,i?m("palette-error-main"):S.error.main,.62)),K(S.Slider,"infoTrack",_(Qe,i?m("palette-info-main"):S.info.main,.62)),K(S.Slider,"successTrack",_(Qe,i?m("palette-success-main"):S.success.main,.62)),K(S.Slider,"warningTrack",_(Qe,i?m("palette-warning-main"):S.warning.main,.62));const N=x?_(Je,i?m("palette-background-default"):S.background.default,.6825):Qi(S.background.default,.8);K(S.SnackbarContent,"bg",N),K(S.SnackbarContent,"color",Fn(()=>x?$a.text.primary:S.getContrastText(N))),K(S.SpeedDialAction,"fabHoverBg",Qi(S.background.paper,.15)),K(S.StepConnector,"border",j("palette-grey-400")),K(S.StepContent,"border",j("palette-grey-400")),K(S.Switch,"defaultColor",j("palette-common-white")),K(S.Switch,"defaultDisabledColor",j("palette-grey-100")),K(S.Switch,"primaryDisabledColor",_(Qe,i?m("palette-primary-main"):S.primary.main,.62)),K(S.Switch,"secondaryDisabledColor",_(Qe,i?m("palette-secondary-main"):S.secondary.main,.62)),K(S.Switch,"errorDisabledColor",_(Qe,i?m("palette-error-main"):S.error.main,.62)),K(S.Switch,"infoDisabledColor",_(Qe,i?m("palette-info-main"):S.info.main,.62)),K(S.Switch,"successDisabledColor",_(Qe,i?m("palette-success-main"):S.success.main,.62)),K(S.Switch,"warningDisabledColor",_(Qe,i?m("palette-warning-main"):S.warning.main,.62)),K(S.TableCell,"border",_(Qe,Lr(i?m("palette-divider"):S.divider,1),.88)),K(S.Tooltip,"bg",_(Lr,i?m("palette-grey-700"):S.grey[700],.92))}if(S.mode==="dark"){K(S.Alert,"errorColor",_(Qe,i?m("palette-error-light"):S.error.light,.6)),K(S.Alert,"infoColor",_(Qe,i?m("palette-info-light"):S.info.light,.6)),K(S.Alert,"successColor",_(Qe,i?m("palette-success-light"):S.success.light,.6)),K(S.Alert,"warningColor",_(Qe,i?m("palette-warning-light"):S.warning.light,.6)),K(S.Alert,"errorFilledBg",j("palette-error-dark")),K(S.Alert,"infoFilledBg",j("palette-info-dark")),K(S.Alert,"successFilledBg",j("palette-success-dark")),K(S.Alert,"warningFilledBg",j("palette-warning-dark")),K(S.Alert,"errorFilledColor",Fn(()=>S.getContrastText(S.error.dark))),K(S.Alert,"infoFilledColor",Fn(()=>S.getContrastText(S.info.dark))),K(S.Alert,"successFilledColor",Fn(()=>S.getContrastText(S.success.dark))),K(S.Alert,"warningFilledColor",Fn(()=>S.getContrastText(S.warning.dark))),K(S.Alert,"errorStandardBg",_(Je,i?m("palette-error-light"):S.error.light,.9)),K(S.Alert,"infoStandardBg",_(Je,i?m("palette-info-light"):S.info.light,.9)),K(S.Alert,"successStandardBg",_(Je,i?m("palette-success-light"):S.success.light,.9)),K(S.Alert,"warningStandardBg",_(Je,i?m("palette-warning-light"):S.warning.light,.9)),K(S.Alert,"errorIconColor",j("palette-error-main")),K(S.Alert,"infoIconColor",j("palette-info-main")),K(S.Alert,"successIconColor",j("palette-success-main")),K(S.Alert,"warningIconColor",j("palette-warning-main")),K(S.AppBar,"defaultBg",j("palette-grey-900")),K(S.AppBar,"darkBg",j("palette-background-paper")),K(S.AppBar,"darkColor",j("palette-text-primary")),K(S.Avatar,"defaultBg",j("palette-grey-600")),K(S.Button,"inheritContainedBg",j("palette-grey-800")),K(S.Button,"inheritContainedHoverBg",j("palette-grey-700")),K(S.Chip,"defaultBorder",j("palette-grey-700")),K(S.Chip,"defaultAvatarColor",j("palette-grey-300")),K(S.Chip,"defaultIconColor",j("palette-grey-300")),K(S.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),K(S.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),K(S.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),K(S.LinearProgress,"primaryBg",_(Je,i?m("palette-primary-main"):S.primary.main,.5)),K(S.LinearProgress,"secondaryBg",_(Je,i?m("palette-secondary-main"):S.secondary.main,.5)),K(S.LinearProgress,"errorBg",_(Je,i?m("palette-error-main"):S.error.main,.5)),K(S.LinearProgress,"infoBg",_(Je,i?m("palette-info-main"):S.info.main,.5)),K(S.LinearProgress,"successBg",_(Je,i?m("palette-success-main"):S.success.main,.5)),K(S.LinearProgress,"warningBg",_(Je,i?m("palette-warning-main"):S.warning.main,.5)),K(S.Skeleton,"bg",x?_(Lr,i?m("palette-text-primary"):S.text.primary,.13):`rgba(${j("palette-text-primaryChannel")} / 0.13)`),K(S.Slider,"primaryTrack",_(Je,i?m("palette-primary-main"):S.primary.main,.5)),K(S.Slider,"secondaryTrack",_(Je,i?m("palette-secondary-main"):S.secondary.main,.5)),K(S.Slider,"errorTrack",_(Je,i?m("palette-error-main"):S.error.main,.5)),K(S.Slider,"infoTrack",_(Je,i?m("palette-info-main"):S.info.main,.5)),K(S.Slider,"successTrack",_(Je,i?m("palette-success-main"):S.success.main,.5)),K(S.Slider,"warningTrack",_(Je,i?m("palette-warning-light"):S.warning.main,.5));const N=x?_(Qe,i?m("palette-background-default"):S.background.default,.985):Qi(S.background.default,.98);K(S.SnackbarContent,"bg",N),K(S.SnackbarContent,"color",Fn(()=>x?m8.text.primary:S.getContrastText(N))),K(S.SpeedDialAction,"fabHoverBg",Qi(S.background.paper,.15)),K(S.StepConnector,"border",j("palette-grey-600")),K(S.StepContent,"border",j("palette-grey-600")),K(S.Switch,"defaultColor",j("palette-grey-300")),K(S.Switch,"defaultDisabledColor",j("palette-grey-600")),K(S.Switch,"primaryDisabledColor",_(Je,i?m("palette-primary-main"):S.primary.main,.55)),K(S.Switch,"secondaryDisabledColor",_(Je,i?m("palette-secondary-main"):S.secondary.main,.55)),K(S.Switch,"errorDisabledColor",_(Je,i?m("palette-error-main"):S.error.main,.55)),K(S.Switch,"infoDisabledColor",_(Je,i?m("palette-info-main"):S.info.main,.55)),K(S.Switch,"successDisabledColor",_(Je,i?m("palette-success-main"):S.success.main,.55)),K(S.Switch,"warningDisabledColor",_(Je,i?m("palette-warning-light"):S.warning.main,.55)),K(S.TableCell,"border",_(Je,Lr(i?m("palette-divider"):S.divider,1),.68)),K(S.Tooltip,"bg",_(Lr,i?m("palette-grey-700"):S.grey[700],.92))}i||(Qn(S.background,"default"),Qn(S.background,"paper"),Qn(S.common,"background"),Qn(S.common,"onBackground"),Qn(S,"divider")),Object.keys(S).forEach(N=>{const U=S[N];N!=="tonalOffset"&&!i&&U&&typeof U=="object"&&(U.main&&K(S[N],"mainChannel",bs(ws(U.main))),U.light&&K(S[N],"lightChannel",bs(ws(U.light))),U.dark&&K(S[N],"darkChannel",bs(ws(U.dark))),U.contrastText&&K(S[N],"contrastTextChannel",bs(ws(U.contrastText))),N==="text"&&(Qn(S[N],"primary"),Qn(S[N],"secondary")),N==="action"&&(U.active&&Qn(S[N],"active"),U.selected&&Qn(S[N],"selected")))})}),M=t.reduce((W,S)=>sn(W,S),M);const A={prefix:s,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:bw(M),enableContrastVars:i},{vars:I,generateThemeVars:P,generateStyleSheets:R}=zx(M,A);return M.vars=I,Object.entries(M.colorSchemes[M.defaultColorScheme]).forEach(([W,S])=>{M[W]=S}),M.generateThemeVars=P,M.generateStyleSheets=R,M.generateSpacing=function(){return e8(u.spacing,Aa(this))},M.getColorSchemeSelector=Hx(l),M.spacing=M.generateSpacing(),M.shouldSkipGeneratingVar=a,M.unstable_sxConfig={...Ui,...u?.unstable_sxConfig},M.unstable_sx=function(S){return Co({sx:S,theme:this})},M.toRuntimeSource=w8,M}function E8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Fa({...n===!0?{}:n.palette,mode:t})})}function kw(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:s=n?.mode,...i}=e,a=s||"light",l=o?.[a],c={...o,...n?{[a]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Va(e,...t);let u=n;"palette"in e||c[a]&&(c[a]!==!0?u=c[a].palette:a==="dark"&&(u={mode:"dark"}));const d=Va({...e,palette:u},...t);return d.defaultColorScheme=a,d.colorSchemes=c,d.palette.mode==="light"&&(d.colorSchemes.light={...c.light!==!0&&c.light,palette:d.palette},E8(d,"dark",c.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:d.palette},E8(d,"light",c.light)),d}return!n&&!("light"in c)&&a==="light"&&(c.light=!0),Sw({...i,colorSchemes:c,defaultColorScheme:a,...typeof r!="boolean"&&r},...t)}const M8=kw(),O8="$$material";function Ha(){const e=yx(M8);return process.env.NODE_ENV!=="production"&&Z.useDebugValue(e),e[O8]||e}function Tw(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const D8=e=>Tw(e)&&e!=="classes",Ue=Sx({themeId:O8,defaultTheme:M8,rootShouldForwardProp:D8}),Qt=$x;process.env.NODE_ENV!=="production"&&(y.node,y.object.isRequired);function Ut(e){return Bx(e)}function Ew(e){return Ft("MuiSvgIcon",e)}Vt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Mw=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Ne(t)}`,`fontSize${Ne(n)}`]};return Jt(o,Ew,r)},Ow=Ue("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Ne(n.color)}`],t[`fontSize${Ne(n.fontSize)}`]]}})(Qt(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),e0=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiSvgIcon"}),{children:o,className:s,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:h="0 0 24 24",...m}=r,g=Z.isValidElement(o)&&o.type==="svg",C={...r,color:i,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:h,hasSvgAsChild:g},b={};u||(b.viewBox=h);const v=Mw(C);return f.jsxs(Ow,{as:a,className:Xe(v.root,s),focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...b,...m,...g&&o.props,ownerState:C,children:[g?o.props.children:o,d?f.jsx("title",{children:d}):null]})});process.env.NODE_ENV!=="production"&&(e0.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),y.string]),component:y.elementType,fontSize:y.oneOfType([y.oneOf(["inherit","large","medium","small"]),y.string]),htmlColor:y.string,inheritViewBox:y.bool,shapeRendering:y.string,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),titleAccess:y.string,viewBox:y.string}),e0.muiName="SvgIcon";function Ss(e,t){function n(r,o){return f.jsx(e0,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:o,...r,children:e})}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=e0.muiName,Z.memo(Z.forwardRef(n))}function jr(e){return e&&e.ownerDocument||document}function t0(e){return jr(e).defaultView||window}function A8(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Dw(e){const{controlled:t,default:n,name:r,state:o="value"}=e,{current:s}=Z.useRef(t!==void 0),[i,a]=Z.useState(n),l=s?t:i;if(process.env.NODE_ENV!=="production"){Z.useEffect(()=>{s!==(t!==void 0)&&console.error([`MUI: A component is changing the ${s?"":"un"}controlled ${o} state of ${r} to be ${s?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
45
+ export default theme;`}function S8(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const hw=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let r=0;r<t.length;r+=1)n+=+t[r];return n};function mw(e){Object.assign(e,{alpha(t,n){const r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n=="string"?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof n=="string"?`calc(${n})`:n})`:Zi(t,hw(n))},lighten(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${S8(n)})`:Ji(t,n)},darken(t,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${S8(n)})`:Xi(t,n)}})}function Va(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:s={},transitions:i={},typography:a={},shape:l,colorSpace:c,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Ar(20));const d=Fa({...s,colorSpace:c}),h=La(e);let m=sn(h,{mixins:tw(h.breakpoints,r),palette:d,shadows:aw.slice(),typography:rw(d,a),transitions:dw(i),zIndex:{...fw}});if(m=sn(m,u),m=t.reduce((g,C)=>sn(g,C),m),process.env.NODE_ENV!=="production"){const g=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],C=(b,v)=>{let k;for(k in b){const w=b[k];if(g.includes(k)&&Object.keys(w).length>0){if(process.env.NODE_ENV!=="production"){const x=Ft("",k);console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${k}\` internal state.`,"You can not override it like this: ",JSON.stringify(b,null,2),"",`Instead, you need to use the '&.${x}' syntax:`,JSON.stringify({root:{[`&.${x}`]:w}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
46
+ `))}b[k]={}}}};Object.keys(m.components).forEach(b=>{const v=m.components[b].styleOverrides;v&&b.startsWith("Mui")&&C(v,b)})}return m.unstable_sxConfig={...Ui,...u?.unstable_sxConfig},m.unstable_sx=function(C){return Co({sx:C,theme:this})},m.toRuntimeSource=w8,mw(m),m}function Wa(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const gw=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Wa(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function k8(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function T8(e){return e==="dark"?gw:[]}function yw(e){const{palette:t={mode:"light"},opacity:n,overlays:r,colorSpace:o,...s}=e,i=Fa({...t,colorSpace:o});return{palette:i,opacity:{...k8(i.mode),...n},overlays:r||T8(i.mode),...s}}function Cw(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const bw=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],vw=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let s=o;if(o==="class"&&(s=".%s"),o==="data"&&(s="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(s=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return bw(e.cssVarPrefix).forEach(a=>{i[a]=n[a],delete n[a]}),s==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:s?{[s.replace("%s",t)]:i,[`${r}, ${s.replace("%s",t)}`]:n}:{[r]:{...n,...i}}}if(s&&s!=="media")return`${r}, ${s.replace("%s",String(t))}`}else if(t){if(s==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(s)return s.replace("%s",String(t))}return r};function xw(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function K(e,t,n){!e[t]&&n&&(e[t]=n)}function ws(e){return typeof e!="string"||!e.startsWith("hsl")?e:i8(e)}function Qn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=bs(ws(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
47
+ To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function ww(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fn=e=>{try{return e()}catch{}},Sw=(e="mui")=>Vx(e);function za(e,t,n,r,o){if(!n)return;n=n===!0?{}:n;const s=o==="dark"?"dark":"light";if(!r){t[o]=yw({...n,palette:{mode:s,...n?.palette},colorSpace:e});return}const{palette:i,...a}=Va({...r,palette:{mode:s,...n?.palette},colorSpace:e});return t[o]={...n,palette:i,opacity:{...k8(s),...n?.opacity},overlays:n?.overlays||T8(s)},a}function kw(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:s="mui",nativeColor:i=!1,shouldSkipGeneratingVar:a=Cw,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,rootSelector:c=":root",...u}=e,d=Object.keys(n)[0],h=r||(n.light&&d!=="light"?"light":d),m=Sw(s),{[h]:g,light:C,dark:b,...v}=n,k={...v};let w=g;if((h==="dark"&&!("dark"in n)||h==="light"&&!("light"in n))&&(w=!0),!w)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Ar(21,h));let x;i&&(x="oklch");const T=za(x,k,w,u,h);C&&!k.light&&za(x,k,C,void 0,"light"),b&&!k.dark&&za(x,k,b,void 0,"dark");let M={defaultColorScheme:h,...T,cssVarPrefix:s,colorSchemeSelector:l,rootSelector:c,getCssVar:m,colorSchemes:k,font:{...ew(T.typography),...T.font},spacing:ww(u.spacing)};Object.keys(M.colorSchemes).forEach(W=>{const S=M.colorSchemes[W].palette,j=N=>{const U=N.split("-"),se=U[1],ue=U[2];return m(N,S[se][ue])};S.mode==="light"&&(K(S.common,"background","#fff"),K(S.common,"onBackground","#000")),S.mode==="dark"&&(K(S.common,"background","#000"),K(S.common,"onBackground","#fff"));function _(N,U,se){if(x){let ue;return N===Lr&&(ue=`transparent ${((1-se)*100).toFixed(0)}%`),N===Je&&(ue=`#000 ${(se*100).toFixed(0)}%`),N===Qe&&(ue=`#fff ${(se*100).toFixed(0)}%`),`color-mix(in ${x}, ${U}, ${ue})`}return N(U,se)}if(xw(S,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),S.mode==="light"){K(S.Alert,"errorColor",_(Je,i?m("palette-error-light"):S.error.light,.6)),K(S.Alert,"infoColor",_(Je,i?m("palette-info-light"):S.info.light,.6)),K(S.Alert,"successColor",_(Je,i?m("palette-success-light"):S.success.light,.6)),K(S.Alert,"warningColor",_(Je,i?m("palette-warning-light"):S.warning.light,.6)),K(S.Alert,"errorFilledBg",j("palette-error-main")),K(S.Alert,"infoFilledBg",j("palette-info-main")),K(S.Alert,"successFilledBg",j("palette-success-main")),K(S.Alert,"warningFilledBg",j("palette-warning-main")),K(S.Alert,"errorFilledColor",Fn(()=>S.getContrastText(S.error.main))),K(S.Alert,"infoFilledColor",Fn(()=>S.getContrastText(S.info.main))),K(S.Alert,"successFilledColor",Fn(()=>S.getContrastText(S.success.main))),K(S.Alert,"warningFilledColor",Fn(()=>S.getContrastText(S.warning.main))),K(S.Alert,"errorStandardBg",_(Qe,i?m("palette-error-light"):S.error.light,.9)),K(S.Alert,"infoStandardBg",_(Qe,i?m("palette-info-light"):S.info.light,.9)),K(S.Alert,"successStandardBg",_(Qe,i?m("palette-success-light"):S.success.light,.9)),K(S.Alert,"warningStandardBg",_(Qe,i?m("palette-warning-light"):S.warning.light,.9)),K(S.Alert,"errorIconColor",j("palette-error-main")),K(S.Alert,"infoIconColor",j("palette-info-main")),K(S.Alert,"successIconColor",j("palette-success-main")),K(S.Alert,"warningIconColor",j("palette-warning-main")),K(S.AppBar,"defaultBg",j("palette-grey-100")),K(S.Avatar,"defaultBg",j("palette-grey-400")),K(S.Button,"inheritContainedBg",j("palette-grey-300")),K(S.Button,"inheritContainedHoverBg",j("palette-grey-A100")),K(S.Chip,"defaultBorder",j("palette-grey-400")),K(S.Chip,"defaultAvatarColor",j("palette-grey-700")),K(S.Chip,"defaultIconColor",j("palette-grey-700")),K(S.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),K(S.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),K(S.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),K(S.LinearProgress,"primaryBg",_(Qe,i?m("palette-primary-main"):S.primary.main,.62)),K(S.LinearProgress,"secondaryBg",_(Qe,i?m("palette-secondary-main"):S.secondary.main,.62)),K(S.LinearProgress,"errorBg",_(Qe,i?m("palette-error-main"):S.error.main,.62)),K(S.LinearProgress,"infoBg",_(Qe,i?m("palette-info-main"):S.info.main,.62)),K(S.LinearProgress,"successBg",_(Qe,i?m("palette-success-main"):S.success.main,.62)),K(S.LinearProgress,"warningBg",_(Qe,i?m("palette-warning-light"):S.warning.main,.62)),K(S.Skeleton,"bg",x?_(Lr,i?m("palette-text-primary"):S.text.primary,.11):`rgba(${j("palette-text-primaryChannel")} / 0.11)`),K(S.Slider,"primaryTrack",_(Qe,i?m("palette-primary-main"):S.primary.main,.62)),K(S.Slider,"secondaryTrack",_(Qe,i?m("palette-secondary-main"):S.secondary.main,.62)),K(S.Slider,"errorTrack",_(Qe,i?m("palette-error-main"):S.error.main,.62)),K(S.Slider,"infoTrack",_(Qe,i?m("palette-info-main"):S.info.main,.62)),K(S.Slider,"successTrack",_(Qe,i?m("palette-success-main"):S.success.main,.62)),K(S.Slider,"warningTrack",_(Qe,i?m("palette-warning-main"):S.warning.main,.62));const N=x?_(Je,i?m("palette-background-default"):S.background.default,.6825):Qi(S.background.default,.8);K(S.SnackbarContent,"bg",N),K(S.SnackbarContent,"color",Fn(()=>x?$a.text.primary:S.getContrastText(N))),K(S.SpeedDialAction,"fabHoverBg",Qi(S.background.paper,.15)),K(S.StepConnector,"border",j("palette-grey-400")),K(S.StepContent,"border",j("palette-grey-400")),K(S.Switch,"defaultColor",j("palette-common-white")),K(S.Switch,"defaultDisabledColor",j("palette-grey-100")),K(S.Switch,"primaryDisabledColor",_(Qe,i?m("palette-primary-main"):S.primary.main,.62)),K(S.Switch,"secondaryDisabledColor",_(Qe,i?m("palette-secondary-main"):S.secondary.main,.62)),K(S.Switch,"errorDisabledColor",_(Qe,i?m("palette-error-main"):S.error.main,.62)),K(S.Switch,"infoDisabledColor",_(Qe,i?m("palette-info-main"):S.info.main,.62)),K(S.Switch,"successDisabledColor",_(Qe,i?m("palette-success-main"):S.success.main,.62)),K(S.Switch,"warningDisabledColor",_(Qe,i?m("palette-warning-main"):S.warning.main,.62)),K(S.TableCell,"border",_(Qe,Lr(i?m("palette-divider"):S.divider,1),.88)),K(S.Tooltip,"bg",_(Lr,i?m("palette-grey-700"):S.grey[700],.92))}if(S.mode==="dark"){K(S.Alert,"errorColor",_(Qe,i?m("palette-error-light"):S.error.light,.6)),K(S.Alert,"infoColor",_(Qe,i?m("palette-info-light"):S.info.light,.6)),K(S.Alert,"successColor",_(Qe,i?m("palette-success-light"):S.success.light,.6)),K(S.Alert,"warningColor",_(Qe,i?m("palette-warning-light"):S.warning.light,.6)),K(S.Alert,"errorFilledBg",j("palette-error-dark")),K(S.Alert,"infoFilledBg",j("palette-info-dark")),K(S.Alert,"successFilledBg",j("palette-success-dark")),K(S.Alert,"warningFilledBg",j("palette-warning-dark")),K(S.Alert,"errorFilledColor",Fn(()=>S.getContrastText(S.error.dark))),K(S.Alert,"infoFilledColor",Fn(()=>S.getContrastText(S.info.dark))),K(S.Alert,"successFilledColor",Fn(()=>S.getContrastText(S.success.dark))),K(S.Alert,"warningFilledColor",Fn(()=>S.getContrastText(S.warning.dark))),K(S.Alert,"errorStandardBg",_(Je,i?m("palette-error-light"):S.error.light,.9)),K(S.Alert,"infoStandardBg",_(Je,i?m("palette-info-light"):S.info.light,.9)),K(S.Alert,"successStandardBg",_(Je,i?m("palette-success-light"):S.success.light,.9)),K(S.Alert,"warningStandardBg",_(Je,i?m("palette-warning-light"):S.warning.light,.9)),K(S.Alert,"errorIconColor",j("palette-error-main")),K(S.Alert,"infoIconColor",j("palette-info-main")),K(S.Alert,"successIconColor",j("palette-success-main")),K(S.Alert,"warningIconColor",j("palette-warning-main")),K(S.AppBar,"defaultBg",j("palette-grey-900")),K(S.AppBar,"darkBg",j("palette-background-paper")),K(S.AppBar,"darkColor",j("palette-text-primary")),K(S.Avatar,"defaultBg",j("palette-grey-600")),K(S.Button,"inheritContainedBg",j("palette-grey-800")),K(S.Button,"inheritContainedHoverBg",j("palette-grey-700")),K(S.Chip,"defaultBorder",j("palette-grey-700")),K(S.Chip,"defaultAvatarColor",j("palette-grey-300")),K(S.Chip,"defaultIconColor",j("palette-grey-300")),K(S.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),K(S.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),K(S.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),K(S.LinearProgress,"primaryBg",_(Je,i?m("palette-primary-main"):S.primary.main,.5)),K(S.LinearProgress,"secondaryBg",_(Je,i?m("palette-secondary-main"):S.secondary.main,.5)),K(S.LinearProgress,"errorBg",_(Je,i?m("palette-error-main"):S.error.main,.5)),K(S.LinearProgress,"infoBg",_(Je,i?m("palette-info-main"):S.info.main,.5)),K(S.LinearProgress,"successBg",_(Je,i?m("palette-success-main"):S.success.main,.5)),K(S.LinearProgress,"warningBg",_(Je,i?m("palette-warning-main"):S.warning.main,.5)),K(S.Skeleton,"bg",x?_(Lr,i?m("palette-text-primary"):S.text.primary,.13):`rgba(${j("palette-text-primaryChannel")} / 0.13)`),K(S.Slider,"primaryTrack",_(Je,i?m("palette-primary-main"):S.primary.main,.5)),K(S.Slider,"secondaryTrack",_(Je,i?m("palette-secondary-main"):S.secondary.main,.5)),K(S.Slider,"errorTrack",_(Je,i?m("palette-error-main"):S.error.main,.5)),K(S.Slider,"infoTrack",_(Je,i?m("palette-info-main"):S.info.main,.5)),K(S.Slider,"successTrack",_(Je,i?m("palette-success-main"):S.success.main,.5)),K(S.Slider,"warningTrack",_(Je,i?m("palette-warning-light"):S.warning.main,.5));const N=x?_(Qe,i?m("palette-background-default"):S.background.default,.985):Qi(S.background.default,.98);K(S.SnackbarContent,"bg",N),K(S.SnackbarContent,"color",Fn(()=>x?m8.text.primary:S.getContrastText(N))),K(S.SpeedDialAction,"fabHoverBg",Qi(S.background.paper,.15)),K(S.StepConnector,"border",j("palette-grey-600")),K(S.StepContent,"border",j("palette-grey-600")),K(S.Switch,"defaultColor",j("palette-grey-300")),K(S.Switch,"defaultDisabledColor",j("palette-grey-600")),K(S.Switch,"primaryDisabledColor",_(Je,i?m("palette-primary-main"):S.primary.main,.55)),K(S.Switch,"secondaryDisabledColor",_(Je,i?m("palette-secondary-main"):S.secondary.main,.55)),K(S.Switch,"errorDisabledColor",_(Je,i?m("palette-error-main"):S.error.main,.55)),K(S.Switch,"infoDisabledColor",_(Je,i?m("palette-info-main"):S.info.main,.55)),K(S.Switch,"successDisabledColor",_(Je,i?m("palette-success-main"):S.success.main,.55)),K(S.Switch,"warningDisabledColor",_(Je,i?m("palette-warning-light"):S.warning.main,.55)),K(S.TableCell,"border",_(Je,Lr(i?m("palette-divider"):S.divider,1),.68)),K(S.Tooltip,"bg",_(Lr,i?m("palette-grey-700"):S.grey[700],.92))}i||(Qn(S.background,"default"),Qn(S.background,"paper"),Qn(S.common,"background"),Qn(S.common,"onBackground"),Qn(S,"divider")),Object.keys(S).forEach(N=>{const U=S[N];N!=="tonalOffset"&&!i&&U&&typeof U=="object"&&(U.main&&K(S[N],"mainChannel",bs(ws(U.main))),U.light&&K(S[N],"lightChannel",bs(ws(U.light))),U.dark&&K(S[N],"darkChannel",bs(ws(U.dark))),U.contrastText&&K(S[N],"contrastTextChannel",bs(ws(U.contrastText))),N==="text"&&(Qn(S[N],"primary"),Qn(S[N],"secondary")),N==="action"&&(U.active&&Qn(S[N],"active"),U.selected&&Qn(S[N],"selected")))})}),M=t.reduce((W,S)=>sn(W,S),M);const A={prefix:s,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:vw(M),enableContrastVars:i},{vars:I,generateThemeVars:P,generateStyleSheets:R}=Hx(M,A);return M.vars=I,Object.entries(M.colorSchemes[M.defaultColorScheme]).forEach(([W,S])=>{M[W]=S}),M.generateThemeVars=P,M.generateStyleSheets=R,M.generateSpacing=function(){return e8(u.spacing,Aa(this))},M.getColorSchemeSelector=Ux(l),M.spacing=M.generateSpacing(),M.shouldSkipGeneratingVar=a,M.unstable_sxConfig={...Ui,...u?.unstable_sxConfig},M.unstable_sx=function(S){return Co({sx:S,theme:this})},M.toRuntimeSource=w8,M}function E8(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Fa({...n===!0?{}:n.palette,mode:t})})}function Tw(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:s=n?.mode,...i}=e,a=s||"light",l=o?.[a],c={...o,...n?{[a]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Va(e,...t);let u=n;"palette"in e||c[a]&&(c[a]!==!0?u=c[a].palette:a==="dark"&&(u={mode:"dark"}));const d=Va({...e,palette:u},...t);return d.defaultColorScheme=a,d.colorSchemes=c,d.palette.mode==="light"&&(d.colorSchemes.light={...c.light!==!0&&c.light,palette:d.palette},E8(d,"dark",c.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:d.palette},E8(d,"light",c.light)),d}return!n&&!("light"in c)&&a==="light"&&(c.light=!0),kw({...i,colorSchemes:c,defaultColorScheme:a,...typeof r!="boolean"&&r},...t)}const M8=Tw(),O8="$$material";function Ha(){const e=Cx(M8);return process.env.NODE_ENV!=="production"&&Z.useDebugValue(e),e[O8]||e}function Ew(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const D8=e=>Ew(e)&&e!=="classes",Ue=kx({themeId:O8,defaultTheme:M8,rootShouldForwardProp:D8}),Qt=Fx;process.env.NODE_ENV!=="production"&&(y.node,y.object.isRequired);function Ut(e){return Nx(e)}function Mw(e){return Ft("MuiSvgIcon",e)}Vt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ow=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Ne(t)}`,`fontSize${Ne(n)}`]};return Jt(o,Mw,r)},Dw=Ue("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Ne(n.color)}`],t[`fontSize${Ne(n.fontSize)}`]]}})(Qt(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),e0=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiSvgIcon"}),{children:o,className:s,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:h="0 0 24 24",...m}=r,g=Z.isValidElement(o)&&o.type==="svg",C={...r,color:i,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:h,hasSvgAsChild:g},b={};u||(b.viewBox=h);const v=Ow(C);return f.jsxs(Dw,{as:a,className:Xe(v.root,s),focusable:"false",color:c,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...b,...m,...g&&o.props,ownerState:C,children:[g?o.props.children:o,d?f.jsx("title",{children:d}):null]})});process.env.NODE_ENV!=="production"&&(e0.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),y.string]),component:y.elementType,fontSize:y.oneOfType([y.oneOf(["inherit","large","medium","small"]),y.string]),htmlColor:y.string,inheritViewBox:y.bool,shapeRendering:y.string,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),titleAccess:y.string,viewBox:y.string}),e0.muiName="SvgIcon";function Ss(e,t){function n(r,o){return f.jsx(e0,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:o,...r,children:e})}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=e0.muiName,Z.memo(Z.forwardRef(n))}function jr(e){return e&&e.ownerDocument||document}function t0(e){return jr(e).defaultView||window}function A8(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Aw(e){const{controlled:t,default:n,name:r,state:o="value"}=e,{current:s}=Z.useRef(t!==void 0),[i,a]=Z.useState(n),l=s?t:i;if(process.env.NODE_ENV!=="production"){Z.useEffect(()=>{s!==(t!==void 0)&&console.error([`MUI: A component is changing the ${s?"":"un"}controlled ${o} state of ${r} to be ${s?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
48
48
  `))},[o,r,t]);const{current:u}=Z.useRef(n);Z.useEffect(()=>{!s&&JSON.stringify(n)!==JSON.stringify(u)&&console.error([`MUI: A component is changing the default ${o} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
49
- `))},[JSON.stringify(n)])}const c=Z.useCallback(u=>{s||a(u)},[]);return[l,c]}function ko(e){const t=Z.useRef(e);return Ra(()=>{t.current=e}),Z.useRef((...n)=>(0,t.current)(...n)).current}function Rr(...e){const t=Z.useRef(void 0),n=Z.useCallback(r=>{const o=e.map(s=>{if(s==null)return null;if(typeof s=="function"){const i=s,a=i(r);return typeof a=="function"?a:()=>{i(null)}}return s.current=r,()=>{s.current=null}});return()=>{o.forEach(s=>s?.())}},e);return Z.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}const Aw=Ss(f.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"),Iw=({progress:e=0,status:t})=>{const r=Math.max(0,Math.min(e,100))/2-4,o={SUCCESS:"#2A9D8F",QUEUED:"#E9C46A",FAILED:"#E76F51"},s={SUCCESS:"rgba(42, 157, 143, 0.3)",QUEUED:"rgba(233, 196, 106, 0.3)",FAILED:"rgba(231, 111, 81, 0.3)"};return f.jsxs(O.Box,{sx:{height:"0.2rem",width:"100%",position:"relative",overflow:"hidden",backgroundColor:"transparent"},children:[f.jsx(O.Box,{sx:{position:"absolute",bottom:0,left:"50%",width:`${r}%`,height:"100%",transform:"translateX(-99%)",backgroundColor:o[t],borderTopLeftRadius:"1rem",borderBottomLeftRadius:"1rem",filter:`drop-shadow(0px 4px 10px ${s[t]})`,transition:"width 1s ease-in-out"}}),f.jsx(O.Box,{sx:{position:"absolute",bottom:0,left:"50%",width:`${r}%`,height:"100%",backgroundColor:o[t],borderTopRightRadius:"1rem",borderBottomRightRadius:"1rem",filter:`drop-shadow(0px 4px 10px ${s[t]})`,transition:"width 1s ease-in-out"}})]})},Ua={showToast:()=>{throw new Error("ToastProvider is not mounted")}},Pw={success:e=>Ua.showToast(e,"SUCCESS"),error:e=>Ua.showToast(e,"FAILED")},Lw=O.styled(O.Popover)(({theme:e})=>({"& .MuiPopover-paper":{backgroundColor:"transparent!important",right:"0!important",boxShadow:"none"},"& .MuiPaper-root":{pointerEvents:"auto",maxHeight:"40vh",boxShadow:"none"}})),jw=({message:e,status:t})=>{const n=O.useTheme(),{t:r}=p.useContext(Nt),[o,s]=p.useState(0),[i,a]=p.useState(!0),[l,c]=p.useState("entering"),[u,d]=p.useState(!0);p.useEffect(()=>{let g=setInterval(()=>{s(C=>i?C>=98?(a(!1),99):C+2:C)},100);return()=>clearInterval(g)},[i]),p.useEffect(()=>{let g=null,C=null;return l==="entering"&&(g=setTimeout(()=>{c("visible"),C=setTimeout(()=>{c("exiting")},8e3)},100)),()=>{clearTimeout(g),clearTimeout(C)}},[]),p.useEffect(()=>{const g=C=>{C.detail?.logout&&d(!1)};return window.addEventListener(Hs.LOGOUT,g),()=>{window.removeEventListener(Hs.LOGOUT,g)}},[]);const h=()=>{setTimeout(()=>{c("exiting")},200)},m={entering:"translateX(100%)",visible:"translateX(-100%)",exiting:"translateX(100%)"};return f.jsx(Lw,{anchorPosition:{top:118,right:0},id:"scai-toast-popover",open:u,anchorReference:"anchorPosition",disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,hideBackdrop:!0,sx:{padding:"0.5rem",pointerEvents:"none",overflow:"hidden"},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"},children:f.jsx(O.Box,{position:"fixed",sx:{transform:m[l],opacity:l==="exiting"?0:1,transition:"transform 0.6s ease, opacity 1s ease",mb:0},children:f.jsxs(O.Paper,{elevation:6,sx:{display:"flex",justifyContent:"space-between",filter:"drop-shadow(rgba(0, 0, 0, 0.16) 0px 1px 4px)",width:"25rem",minHeight:"4rem",borderRadius:"1rem",cursor:"default",position:"relative",border:g=>`0.1rem solid ${g.palette.primary.notifyBorderColor}!important`,backgroundColor:g=>g.palette.primary.notifyBackground,color:g=>g.palette.primary.notifyActiveText,"&:hover .close-icon":{opacity:1,color:g=>g.palette.primary.notifyActiveText,backgroundColor:g=>`${g.palette.primary.notifyBackground}!important`,border:g=>`0.1rem solid ${g.palette.primary.notifyBorderColor}!important`}},children:[f.jsx(O.IconButton,{size:"small","aria-label":"Close",onClick:g=>{g.stopPropagation(),h()},className:"close-icon",sx:{position:"absolute",top:"-0.7rem",left:"-0.7rem",padding:"2px",opacity:0,transition:"opacity 0.3s ease",color:g=>g.palette.primary.notifyActiveText,backgroundColor:g=>g.palette.primary.notifyBackground,border:g=>`0.1rem solid ${g.palette.primary.notifyBorderColor}`,"&:focus-visible, &.Mui-focusVisible":{opacity:1,outline:`2px solid ${n.palette.brandColor.orange}`,outlineOffset:"1px"}},children:f.jsx(Aw,{fontSize:"small"})}),f.jsxs(O.Stack,{sx:{width:"100%"},direction:"column",children:[f.jsx(O.Typography,{sx:{flexGrow:1,padding:"1.2rem 1rem 1rem 1rem",fontSize:"1.1rem",whiteSpace:"normal"},children:r(e)}),f.jsx(Iw,{progress:o,status:t})]})]})})})},Rw=({message:e,status:t})=>f.jsx(At,{children:f.jsx(jw,{message:e,status:t})}),_w=({children:e})=>{const[t,n]=p.useState(null),r=p.useCallback((o,s)=>{n({message:o,status:s,key:Date.now()})},[]);return Ua.showToast=r,f.jsxs(f.Fragment,{children:[e,t&&f.jsx(Rw,{message:t.message,status:t.status},t.key)]})};function Bw(e){return typeof e=="string"}function Nw(e,t,n){return e===void 0||Bw(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function $w(e,t,n){return typeof e=="function"?e(t,n):e}function I8(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function P8(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Fw(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const m=Xe(n?.className,s,o?.className,r?.className),g={...n?.style,...o?.style,...r?.style},C={...n,...o,...r};return m.length>0&&(C.className=m),Object.keys(g).length>0&&(C.style=g),{props:C,internalRef:void 0}}const i=I8({...o,...r}),a=P8(r),l=P8(o),c=t(i),u=Xe(c?.className,n?.className,s,o?.className,r?.className),d={...c?.style,...n?.style,...o?.style,...r?.style},h={...c,...n,...l,...a};return u.length>0&&(h.className=u),Object.keys(d).length>0&&(h.style=d),{props:h,internalRef:c.ref}}function ln(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:s,internalForwardedProps:i,shouldForwardComponentProp:a=!1,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...h}=s,m=u[e]||r,g=$w(d[e],o),{props:{component:C,...b},internalRef:v}=Fw({className:n,...l,externalForwardedProps:e==="root"?h:void 0,externalSlotProps:g}),k=Rr(v,g?.ref,t.ref),w=e==="root"?C||c:C,x=Nw(m,{...e==="root"&&!c&&!u[e]&&i,...e!=="root"&&!u[e]&&i,...b,...w&&!a&&{as:w},...w&&a&&{component:w},ref:k},o);return[m,x]}function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ga.apply(null,arguments)}function L8(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Ya(e,t){return Ya=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ya(e,t)}function j8(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ya(e,t)}const R8={disabled:!1};var Vw=process.env.NODE_ENV!=="production"?y.oneOfType([y.number,y.shape({enter:y.number,exit:y.number,appear:y.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&y.oneOfType([y.string,y.shape({enter:y.string,exit:y.string,active:y.string}),y.shape({enter:y.string,enterDone:y.string,enterActive:y.string,exit:y.string,exitDone:y.string,exitActive:y.string})]);const n0=p.createContext(null);var Ww=function(t){return t.scrollTop},ks="unmounted",_r="exited",Br="entering",To="entered",qa="exiting",er=(function(e){j8(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var i=o,a=i&&!i.isMounting?r.enter:r.appear,l;return s.appearStatus=null,r.in?a?(l=_r,s.appearStatus=Br):l=To:r.unmountOnExit||r.mountOnEnter?l=ks:l=_r,s.state={status:l},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var i=o.in;return i&&s.status===ks?{status:_r}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var s=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==Br&&i!==To&&(s=Br):(i===Br||i===To)&&(s=qa)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,s,i,a;return s=i=a=o,o!=null&&typeof o!="number"&&(s=o.exit,i=o.enter,a=o.appear!==void 0?o.appear:i),{exit:s,enter:i,appear:a}},n.updateStatus=function(o,s){if(o===void 0&&(o=!1),s!==null)if(this.cancelNextCallback(),s===Br){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Vo.findDOMNode(this);i&&Ww(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===_r&&this.setState({status:ks})},n.performEnter=function(o){var s=this,i=this.props.enter,a=this.context?this.context.isMounting:o,l=this.props.nodeRef?[a]:[Vo.findDOMNode(this),a],c=l[0],u=l[1],d=this.getTimeouts(),h=a?d.appear:d.enter;if(!o&&!i||R8.disabled){this.safeSetState({status:To},function(){s.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Br},function(){s.props.onEntering(c,u),s.onTransitionEnd(h,function(){s.safeSetState({status:To},function(){s.props.onEntered(c,u)})})})},n.performExit=function(){var o=this,s=this.props.exit,i=this.getTimeouts(),a=this.props.nodeRef?void 0:Vo.findDOMNode(this);if(!s||R8.disabled){this.safeSetState({status:_r},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:qa},function(){o.props.onExiting(a),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:_r},function(){o.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,s){s=this.setNextCallback(s),this.setState(o,s)},n.setNextCallback=function(o){var s=this,i=!0;return this.nextCallback=function(a){i&&(i=!1,s.nextCallback=null,o(a))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},n.onTransitionEnd=function(o,s){this.setNextCallback(s);var i=this.props.nodeRef?this.props.nodeRef.current:Vo.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!i||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ks)return null;var s=this.props,i=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var a=L8(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return p.createElement(n0.Provider,{value:null},typeof i=="function"?i(o,a):p.cloneElement(p.Children.only(i),a))},t})(p.Component);er.contextType=n0,er.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:y.shape({current:typeof Element>"u"?y.any:function(e,t,n,r,o,s){var i=e[t];return y.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:y.oneOfType([y.func.isRequired,y.element.isRequired]).isRequired,in:y.bool,mountOnEnter:y.bool,unmountOnExit:y.bool,appear:y.bool,enter:y.bool,exit:y.bool,timeout:function(t){var n=Vw;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];return n.apply(void 0,[t].concat(o))},addEndListener:y.func,onEnter:y.func,onEntering:y.func,onEntered:y.func,onExit:y.func,onExiting:y.func,onExited:y.func}:{};function Eo(){}er.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Eo,onEntering:Eo,onEntered:Eo,onExit:Eo,onExiting:Eo,onExited:Eo},er.UNMOUNTED=ks,er.EXITED=_r,er.ENTERING=Br,er.ENTERED=To,er.EXITING=qa;function zw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ka(e,t){var n=function(s){return t&&p.isValidElement(s)?t(s):s},r=Object.create(null);return e&&p.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function Hw(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),o=[];for(var s in e)s in t?o.length&&(r[s]=o,o=[]):o.push(s);var i,a={};for(var l in t){if(r[l])for(i=0;i<r[l].length;i++){var c=r[l][i];a[r[l][i]]=n(c)}a[l]=n(l)}for(i=0;i<o.length;i++)a[o[i]]=n(o[i]);return a}function Nr(e,t,n){return n[t]!=null?n[t]:e.props[t]}function Uw(e,t){return Ka(e.children,function(n){return p.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Nr(n,"appear",e),enter:Nr(n,"enter",e),exit:Nr(n,"exit",e)})})}function Gw(e,t,n){var r=Ka(e.children),o=Hw(t,r);return Object.keys(o).forEach(function(s){var i=o[s];if(p.isValidElement(i)){var a=s in t,l=s in r,c=t[s],u=p.isValidElement(c)&&!c.props.in;l&&(!a||u)?o[s]=p.cloneElement(i,{onExited:n.bind(null,i),in:!0,exit:Nr(i,"exit",e),enter:Nr(i,"enter",e)}):!l&&a&&!u?o[s]=p.cloneElement(i,{in:!1}):l&&a&&p.isValidElement(c)&&(o[s]=p.cloneElement(i,{onExited:n.bind(null,i),in:c.props.in,exit:Nr(i,"exit",e),enter:Nr(i,"enter",e)}))}}),o}var Yw=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},qw={component:"div",childFactory:function(t){return t}},Za=(function(e){j8(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var i=s.handleExited.bind(zw(s));return s.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},s}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,s){var i=s.children,a=s.handleExited,l=s.firstRender;return{children:l?Uw(o,a):Gw(o,i,a),firstRender:!1}},n.handleExited=function(o,s){var i=Ka(this.props.children);o.key in i||(o.props.onExited&&o.props.onExited(s),this.mounted&&this.setState(function(a){var l=Ga({},a.children);return delete l[o.key],{children:l}}))},n.render=function(){var o=this.props,s=o.component,i=o.childFactory,a=L8(o,["component","childFactory"]),l=this.state.contextValue,c=Yw(this.state.children).map(i);return delete a.appear,delete a.enter,delete a.exit,s===null?p.createElement(n0.Provider,{value:l},c):p.createElement(n0.Provider,{value:l},p.createElement(s,a,c))},t})(p.Component);Za.propTypes=process.env.NODE_ENV!=="production"?{component:y.any,children:y.node,appear:y.bool,enter:y.bool,exit:y.bool,childFactory:y.func}:{},Za.defaultProps=qw;function Ts(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function Kw(e){const{prototype:t={}}=e;return!!t.isReactComponent}function _8(e,t,n,r,o){const s=e[t],i=o||t;if(s==null||typeof window>"u")return null;let a;const l=s.type;return typeof l=="function"&&!Kw(l)&&(a="Did you accidentally use a plain function component for an element instead?"),a!==void 0?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const r0=Ts(y.element,_8);r0.isRequired=Ts(y.element.isRequired,_8);function Xa(e){return parseInt(Z.version,10)>=19?e?.props?.ref||null:e?.ref||null}const Zw=e=>e.scrollTop;function Mo(e,t){return n=>{if(t){const r=e.current;n===void 0?t(r):t(r,n)}}}function Xw(e,t,n,r,o,s){const i=e==="exited"&&!t?r:n[e]||n.exited;return o||s?{...i,...o,...s}:i}function B8(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}const Jw={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},Qw={opacity:0,visibility:"hidden"},o0=Z.forwardRef(function(t,n){const r=Ha(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:i=!0,children:a,easing:l,in:c,onEnter:u,onEntered:d,onEntering:h,onExit:m,onExited:g,onExiting:C,style:b,timeout:v=o,...k}=t,w=Z.useRef(null),x=Rr(w,Xa(a),n),T=Mo(w,h),M=Mo(w,(S,j)=>{Zw(S);const _=B8({style:b,timeout:v,easing:l},{mode:"enter"});S.style.transition=r.transitions.create("opacity",_),u&&u(S,j)}),A=Mo(w,d),I=Mo(w,C),P=Mo(w,S=>{const j=B8({style:b,timeout:v,easing:l},{mode:"exit"});S.style.transition=r.transitions.create("opacity",j),m&&m(S)}),R=Mo(w,S=>{S.style.transition="",g&&g(S)}),W=S=>{s&&s(w.current,S)};return f.jsx(er,{appear:i,in:c,nodeRef:w,onEnter:M,onEntered:A,onEntering:T,onExit:P,onExited:R,onExiting:I,addEndListener:W,timeout:v,...k,children:(S,{ownerState:j,..._})=>{const N=Xw(S,c,Jw,Qw,b,a.props.style);return Z.cloneElement(a,{style:N,ref:x,..._})}})});process.env.NODE_ENV!=="production"&&(o0.propTypes={addEndListener:y.func,appear:y.bool,children:r0.isRequired,easing:y.oneOfType([y.shape({enter:y.string,exit:y.string}),y.string]),in:y.bool,onEnter:y.func,onEntered:y.func,onEntering:y.func,onExit:y.func,onExited:y.func,onExiting:y.func,style:y.object,timeout:y.oneOfType([y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})])});function eS(e){return Ft("MuiBackdrop",e)}Vt("MuiBackdrop",["root","invisible"]);const tS=e=>{const{classes:t,invisible:n}=e;return Jt({root:["root",n&&"invisible"]},eS,t)},nS=Ue("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),s0=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiBackdrop"}),{children:o,className:s,component:i="div",invisible:a=!1,open:l,components:c={},componentsProps:u={},slotProps:d={},slots:h={},TransitionComponent:m,transitionDuration:g,...C}=r,b={...r,component:i,invisible:a},v=tS(b),k={transition:m,root:c.Root,...h},w={...u,...d},x={component:i,slots:k,slotProps:w},[T,M]=ln("root",{elementType:nS,externalForwardedProps:x,className:Xe(v.root,s),ownerState:b}),[A,I]=ln("transition",{elementType:o0,externalForwardedProps:x,ownerState:b});return f.jsx(A,{in:l,timeout:g,...C,...I,children:f.jsx(T,{"aria-hidden":!0,...M,ref:n,children:o})})});process.env.NODE_ENV!=="production"&&(s0.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,components:y.shape({Root:y.elementType}),componentsProps:y.shape({root:y.object}),invisible:y.bool,open:y.bool.isRequired,slotProps:y.shape({root:y.oneOfType([y.func,y.object]),transition:y.oneOfType([y.func,y.object])}),slots:y.shape({root:y.elementType,transition:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),TransitionComponent:y.elementType,transitionDuration:y.oneOfType([y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})])});const rS=O.keyframes`
49
+ `))},[JSON.stringify(n)])}const c=Z.useCallback(u=>{s||a(u)},[]);return[l,c]}function ko(e){const t=Z.useRef(e);return Ra(()=>{t.current=e}),Z.useRef((...n)=>(0,t.current)(...n)).current}function Rr(...e){const t=Z.useRef(void 0),n=Z.useCallback(r=>{const o=e.map(s=>{if(s==null)return null;if(typeof s=="function"){const i=s,a=i(r);return typeof a=="function"?a:()=>{i(null)}}return s.current=r,()=>{s.current=null}});return()=>{o.forEach(s=>s?.())}},e);return Z.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}const Iw=Ss(f.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"),Pw=({progress:e=0,status:t})=>{const r=Math.max(0,Math.min(e,100))/2-4,o={SUCCESS:"#2A9D8F",QUEUED:"#E9C46A",FAILED:"#E76F51"},s={SUCCESS:"rgba(42, 157, 143, 0.3)",QUEUED:"rgba(233, 196, 106, 0.3)",FAILED:"rgba(231, 111, 81, 0.3)"};return f.jsxs(O.Box,{sx:{height:"0.2rem",width:"100%",position:"relative",overflow:"hidden",backgroundColor:"transparent"},children:[f.jsx(O.Box,{sx:{position:"absolute",bottom:0,left:"50%",width:`${r}%`,height:"100%",transform:"translateX(-99%)",backgroundColor:o[t],borderTopLeftRadius:"1rem",borderBottomLeftRadius:"1rem",filter:`drop-shadow(0px 4px 10px ${s[t]})`,transition:"width 1s ease-in-out"}}),f.jsx(O.Box,{sx:{position:"absolute",bottom:0,left:"50%",width:`${r}%`,height:"100%",backgroundColor:o[t],borderTopRightRadius:"1rem",borderBottomRightRadius:"1rem",filter:`drop-shadow(0px 4px 10px ${s[t]})`,transition:"width 1s ease-in-out"}})]})},Ua={showToast:()=>{throw new Error("ToastProvider is not mounted")}},Lw={success:e=>Ua.showToast(e,"SUCCESS"),error:e=>Ua.showToast(e,"FAILED")},jw=O.styled(O.Popover)(({theme:e})=>({"& .MuiPopover-paper":{backgroundColor:"transparent!important",right:"0!important",boxShadow:"none"},"& .MuiPaper-root":{pointerEvents:"auto",maxHeight:"40vh",boxShadow:"none"}})),Rw=({message:e,status:t})=>{const n=O.useTheme(),{t:r}=p.useContext(Nt),[o,s]=p.useState(0),[i,a]=p.useState(!0),[l,c]=p.useState("entering"),[u,d]=p.useState(!0);p.useEffect(()=>{let g=setInterval(()=>{s(C=>i?C>=98?(a(!1),99):C+2:C)},100);return()=>clearInterval(g)},[i]),p.useEffect(()=>{let g=null,C=null;return l==="entering"&&(g=setTimeout(()=>{c("visible"),C=setTimeout(()=>{c("exiting")},8e3)},100)),()=>{clearTimeout(g),clearTimeout(C)}},[]),p.useEffect(()=>{const g=C=>{C.detail?.logout&&d(!1)};return window.addEventListener(Hs.LOGOUT,g),()=>{window.removeEventListener(Hs.LOGOUT,g)}},[]);const h=()=>{setTimeout(()=>{c("exiting")},200)},m={entering:"translateX(100%)",visible:"translateX(-100%)",exiting:"translateX(100%)"};return f.jsx(jw,{anchorPosition:{top:118,right:0},id:"scai-toast-popover",open:u,anchorReference:"anchorPosition",disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,hideBackdrop:!0,sx:{padding:"0.5rem",pointerEvents:"none",overflow:"hidden"},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"},children:f.jsx(O.Box,{position:"fixed",sx:{transform:m[l],opacity:l==="exiting"?0:1,transition:"transform 0.6s ease, opacity 1s ease",mb:0},children:f.jsxs(O.Paper,{elevation:6,sx:{display:"flex",justifyContent:"space-between",filter:"drop-shadow(rgba(0, 0, 0, 0.16) 0px 1px 4px)",width:"25rem",minHeight:"4rem",borderRadius:"1rem",cursor:"default",position:"relative",border:g=>`0.1rem solid ${g.palette.primary.notifyBorderColor}!important`,backgroundColor:g=>g.palette.primary.notifyBackground,color:g=>g.palette.primary.notifyActiveText,"&:hover .close-icon":{opacity:1,color:g=>g.palette.primary.notifyActiveText,backgroundColor:g=>`${g.palette.primary.notifyBackground}!important`,border:g=>`0.1rem solid ${g.palette.primary.notifyBorderColor}!important`}},children:[f.jsx(O.IconButton,{size:"small","aria-label":"Close",onClick:g=>{g.stopPropagation(),h()},className:"close-icon",sx:{position:"absolute",top:"-0.7rem",left:"-0.7rem",padding:"2px",opacity:0,transition:"opacity 0.3s ease",color:g=>g.palette.primary.notifyActiveText,backgroundColor:g=>g.palette.primary.notifyBackground,border:g=>`0.1rem solid ${g.palette.primary.notifyBorderColor}`,"&:focus-visible, &.Mui-focusVisible":{opacity:1,outline:`2px solid ${n.palette.brandColor.orange}`,outlineOffset:"1px"}},children:f.jsx(Iw,{fontSize:"small"})}),f.jsxs(O.Stack,{sx:{width:"100%"},direction:"column",children:[f.jsx(O.Typography,{sx:{flexGrow:1,padding:"1.2rem 1rem 1rem 1rem",fontSize:"1.1rem",whiteSpace:"normal"},children:r(e)}),f.jsx(Pw,{progress:o,status:t})]})]})})})},_w=({message:e,status:t})=>f.jsx(At,{children:f.jsx(Rw,{message:e,status:t})}),Bw=({children:e})=>{const[t,n]=p.useState(null),r=p.useCallback((o,s)=>{n({message:o,status:s,key:Date.now()})},[]);return Ua.showToast=r,f.jsxs(f.Fragment,{children:[e,t&&f.jsx(_w,{message:t.message,status:t.status},t.key)]})};function Nw(e){return typeof e=="string"}function $w(e,t,n){return e===void 0||Nw(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Fw(e,t,n){return typeof e=="function"?e(t,n):e}function I8(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function P8(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Vw(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const m=Xe(n?.className,s,o?.className,r?.className),g={...n?.style,...o?.style,...r?.style},C={...n,...o,...r};return m.length>0&&(C.className=m),Object.keys(g).length>0&&(C.style=g),{props:C,internalRef:void 0}}const i=I8({...o,...r}),a=P8(r),l=P8(o),c=t(i),u=Xe(c?.className,n?.className,s,o?.className,r?.className),d={...c?.style,...n?.style,...o?.style,...r?.style},h={...c,...n,...l,...a};return u.length>0&&(h.className=u),Object.keys(d).length>0&&(h.style=d),{props:h,internalRef:c.ref}}function ln(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:s,internalForwardedProps:i,shouldForwardComponentProp:a=!1,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...h}=s,m=u[e]||r,g=Fw(d[e],o),{props:{component:C,...b},internalRef:v}=Vw({className:n,...l,externalForwardedProps:e==="root"?h:void 0,externalSlotProps:g}),k=Rr(v,g?.ref,t.ref),w=e==="root"?C||c:C,x=$w(m,{...e==="root"&&!c&&!u[e]&&i,...e!=="root"&&!u[e]&&i,...b,...w&&!a&&{as:w},...w&&a&&{component:w},ref:k},o);return[m,x]}function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ga.apply(null,arguments)}function L8(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Ya(e,t){return Ya=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ya(e,t)}function j8(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ya(e,t)}const R8={disabled:!1};var Ww=process.env.NODE_ENV!=="production"?y.oneOfType([y.number,y.shape({enter:y.number,exit:y.number,appear:y.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&y.oneOfType([y.string,y.shape({enter:y.string,exit:y.string,active:y.string}),y.shape({enter:y.string,enterDone:y.string,enterActive:y.string,exit:y.string,exitDone:y.string,exitActive:y.string})]);const n0=p.createContext(null);var zw=function(t){return t.scrollTop},ks="unmounted",_r="exited",Br="entering",To="entered",qa="exiting",er=(function(e){j8(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var i=o,a=i&&!i.isMounting?r.enter:r.appear,l;return s.appearStatus=null,r.in?a?(l=_r,s.appearStatus=Br):l=To:r.unmountOnExit||r.mountOnEnter?l=ks:l=_r,s.state={status:l},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var i=o.in;return i&&s.status===ks?{status:_r}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var s=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==Br&&i!==To&&(s=Br):(i===Br||i===To)&&(s=qa)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,s,i,a;return s=i=a=o,o!=null&&typeof o!="number"&&(s=o.exit,i=o.enter,a=o.appear!==void 0?o.appear:i),{exit:s,enter:i,appear:a}},n.updateStatus=function(o,s){if(o===void 0&&(o=!1),s!==null)if(this.cancelNextCallback(),s===Br){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Vo.findDOMNode(this);i&&zw(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===_r&&this.setState({status:ks})},n.performEnter=function(o){var s=this,i=this.props.enter,a=this.context?this.context.isMounting:o,l=this.props.nodeRef?[a]:[Vo.findDOMNode(this),a],c=l[0],u=l[1],d=this.getTimeouts(),h=a?d.appear:d.enter;if(!o&&!i||R8.disabled){this.safeSetState({status:To},function(){s.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Br},function(){s.props.onEntering(c,u),s.onTransitionEnd(h,function(){s.safeSetState({status:To},function(){s.props.onEntered(c,u)})})})},n.performExit=function(){var o=this,s=this.props.exit,i=this.getTimeouts(),a=this.props.nodeRef?void 0:Vo.findDOMNode(this);if(!s||R8.disabled){this.safeSetState({status:_r},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:qa},function(){o.props.onExiting(a),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:_r},function(){o.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,s){s=this.setNextCallback(s),this.setState(o,s)},n.setNextCallback=function(o){var s=this,i=!0;return this.nextCallback=function(a){i&&(i=!1,s.nextCallback=null,o(a))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},n.onTransitionEnd=function(o,s){this.setNextCallback(s);var i=this.props.nodeRef?this.props.nodeRef.current:Vo.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!i||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ks)return null;var s=this.props,i=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var a=L8(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return p.createElement(n0.Provider,{value:null},typeof i=="function"?i(o,a):p.cloneElement(p.Children.only(i),a))},t})(p.Component);er.contextType=n0,er.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:y.shape({current:typeof Element>"u"?y.any:function(e,t,n,r,o,s){var i=e[t];return y.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:y.oneOfType([y.func.isRequired,y.element.isRequired]).isRequired,in:y.bool,mountOnEnter:y.bool,unmountOnExit:y.bool,appear:y.bool,enter:y.bool,exit:y.bool,timeout:function(t){var n=Ww;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];return n.apply(void 0,[t].concat(o))},addEndListener:y.func,onEnter:y.func,onEntering:y.func,onEntered:y.func,onExit:y.func,onExiting:y.func,onExited:y.func}:{};function Eo(){}er.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Eo,onEntering:Eo,onEntered:Eo,onExit:Eo,onExiting:Eo,onExited:Eo},er.UNMOUNTED=ks,er.EXITED=_r,er.ENTERING=Br,er.ENTERED=To,er.EXITING=qa;function Hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ka(e,t){var n=function(s){return t&&p.isValidElement(s)?t(s):s},r=Object.create(null);return e&&p.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function Uw(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),o=[];for(var s in e)s in t?o.length&&(r[s]=o,o=[]):o.push(s);var i,a={};for(var l in t){if(r[l])for(i=0;i<r[l].length;i++){var c=r[l][i];a[r[l][i]]=n(c)}a[l]=n(l)}for(i=0;i<o.length;i++)a[o[i]]=n(o[i]);return a}function Nr(e,t,n){return n[t]!=null?n[t]:e.props[t]}function Gw(e,t){return Ka(e.children,function(n){return p.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Nr(n,"appear",e),enter:Nr(n,"enter",e),exit:Nr(n,"exit",e)})})}function Yw(e,t,n){var r=Ka(e.children),o=Uw(t,r);return Object.keys(o).forEach(function(s){var i=o[s];if(p.isValidElement(i)){var a=s in t,l=s in r,c=t[s],u=p.isValidElement(c)&&!c.props.in;l&&(!a||u)?o[s]=p.cloneElement(i,{onExited:n.bind(null,i),in:!0,exit:Nr(i,"exit",e),enter:Nr(i,"enter",e)}):!l&&a&&!u?o[s]=p.cloneElement(i,{in:!1}):l&&a&&p.isValidElement(c)&&(o[s]=p.cloneElement(i,{onExited:n.bind(null,i),in:c.props.in,exit:Nr(i,"exit",e),enter:Nr(i,"enter",e)}))}}),o}var qw=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Kw={component:"div",childFactory:function(t){return t}},Za=(function(e){j8(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var i=s.handleExited.bind(Hw(s));return s.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},s}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,s){var i=s.children,a=s.handleExited,l=s.firstRender;return{children:l?Gw(o,a):Yw(o,i,a),firstRender:!1}},n.handleExited=function(o,s){var i=Ka(this.props.children);o.key in i||(o.props.onExited&&o.props.onExited(s),this.mounted&&this.setState(function(a){var l=Ga({},a.children);return delete l[o.key],{children:l}}))},n.render=function(){var o=this.props,s=o.component,i=o.childFactory,a=L8(o,["component","childFactory"]),l=this.state.contextValue,c=qw(this.state.children).map(i);return delete a.appear,delete a.enter,delete a.exit,s===null?p.createElement(n0.Provider,{value:l},c):p.createElement(n0.Provider,{value:l},p.createElement(s,a,c))},t})(p.Component);Za.propTypes=process.env.NODE_ENV!=="production"?{component:y.any,children:y.node,appear:y.bool,enter:y.bool,exit:y.bool,childFactory:y.func}:{},Za.defaultProps=Kw;function Ts(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function Zw(e){const{prototype:t={}}=e;return!!t.isReactComponent}function _8(e,t,n,r,o){const s=e[t],i=o||t;if(s==null||typeof window>"u")return null;let a;const l=s.type;return typeof l=="function"&&!Zw(l)&&(a="Did you accidentally use a plain function component for an element instead?"),a!==void 0?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const r0=Ts(y.element,_8);r0.isRequired=Ts(y.element.isRequired,_8);function Xa(e){return parseInt(Z.version,10)>=19?e?.props?.ref||null:e?.ref||null}const Xw=e=>e.scrollTop;function Mo(e,t){return n=>{if(t){const r=e.current;n===void 0?t(r):t(r,n)}}}function Jw(e,t,n,r,o,s){const i=e==="exited"&&!t?r:n[e]||n.exited;return o||s?{...i,...o,...s}:i}function B8(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}const Qw={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},eS={opacity:0,visibility:"hidden"},o0=Z.forwardRef(function(t,n){const r=Ha(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:i=!0,children:a,easing:l,in:c,onEnter:u,onEntered:d,onEntering:h,onExit:m,onExited:g,onExiting:C,style:b,timeout:v=o,...k}=t,w=Z.useRef(null),x=Rr(w,Xa(a),n),T=Mo(w,h),M=Mo(w,(S,j)=>{Xw(S);const _=B8({style:b,timeout:v,easing:l},{mode:"enter"});S.style.transition=r.transitions.create("opacity",_),u&&u(S,j)}),A=Mo(w,d),I=Mo(w,C),P=Mo(w,S=>{const j=B8({style:b,timeout:v,easing:l},{mode:"exit"});S.style.transition=r.transitions.create("opacity",j),m&&m(S)}),R=Mo(w,S=>{S.style.transition="",g&&g(S)}),W=S=>{s&&s(w.current,S)};return f.jsx(er,{appear:i,in:c,nodeRef:w,onEnter:M,onEntered:A,onEntering:T,onExit:P,onExited:R,onExiting:I,addEndListener:W,timeout:v,...k,children:(S,{ownerState:j,..._})=>{const N=Jw(S,c,Qw,eS,b,a.props.style);return Z.cloneElement(a,{style:N,ref:x,..._})}})});process.env.NODE_ENV!=="production"&&(o0.propTypes={addEndListener:y.func,appear:y.bool,children:r0.isRequired,easing:y.oneOfType([y.shape({enter:y.string,exit:y.string}),y.string]),in:y.bool,onEnter:y.func,onEntered:y.func,onEntering:y.func,onExit:y.func,onExited:y.func,onExiting:y.func,style:y.object,timeout:y.oneOfType([y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})])});function tS(e){return Ft("MuiBackdrop",e)}Vt("MuiBackdrop",["root","invisible"]);const nS=e=>{const{classes:t,invisible:n}=e;return Jt({root:["root",n&&"invisible"]},tS,t)},rS=Ue("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),s0=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiBackdrop"}),{children:o,className:s,component:i="div",invisible:a=!1,open:l,components:c={},componentsProps:u={},slotProps:d={},slots:h={},TransitionComponent:m,transitionDuration:g,...C}=r,b={...r,component:i,invisible:a},v=nS(b),k={transition:m,root:c.Root,...h},w={...u,...d},x={component:i,slots:k,slotProps:w},[T,M]=ln("root",{elementType:rS,externalForwardedProps:x,className:Xe(v.root,s),ownerState:b}),[A,I]=ln("transition",{elementType:o0,externalForwardedProps:x,ownerState:b});return f.jsx(A,{in:l,timeout:g,...C,...I,children:f.jsx(T,{"aria-hidden":!0,...M,ref:n,children:o})})});process.env.NODE_ENV!=="production"&&(s0.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,components:y.shape({Root:y.elementType}),componentsProps:y.shape({root:y.object}),invisible:y.bool,open:y.bool.isRequired,slotProps:y.shape({root:y.oneOfType([y.func,y.object]),transition:y.oneOfType([y.func,y.object])}),slots:y.shape({root:y.elementType,transition:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),TransitionComponent:y.elementType,transitionDuration:y.oneOfType([y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})])});const oS=O.keyframes`
50
50
  0% {background-position: 0 0,100% 0 ,100% 100%,0 100%}
51
51
  33% {background-position: 0 0,100% 0 ,100% 100%,0 100%; width:60px; height: 60px}
52
52
  66% {background-position: 100% 0,100% 100%,0 100%,0 0 ; width:60px; height: 60px}
53
53
  100% {background-position: 100% 0,100% 100%,0 100%,0 0 }
54
- `;function oS(){return f.jsx(s0,{sx:{backdropFilter:"blur(2px)",backgroundColor:"transparent",opacity:1,zIndex:e=>e.zIndex.drawer+101},open:!0,children:f.jsx(O.Box,{sx:{width:"40px",height:"40px","--c":"no-repeat linear-gradient(#E94F1C 0 0)",background:"var(--c), var(--c), var(--c), var(--c)",backgroundSize:"21px 21px",animation:`${rS} 1.5s infinite cubic-bezier(0.3,1,0,1)`}})})}const Es=({type:e})=>{const r=O.useTheme()?.mode==="dark"?{bgcolor:"grey.800"}:{};return{grid:f.jsxs(O.Box,{sx:{borderRadius:2,overflow:"hidden"},children:[f.jsx(O.Skeleton,{variant:"text",width:"100%",height:60,sx:r}),Array.from({length:10}).map((s,i)=>f.jsx(O.Box,{sx:{display:"flex",alignItems:"center",padding:"0.5rem",gap:"3rem"},children:Array.from({length:5}).map((a,l)=>f.jsx(O.Box,{sx:{flex:1},children:f.jsx(O.Skeleton,{variant:"text",height:45,sx:r})},l))},i))]}),toolbar:f.jsx(f.Fragment,{children:f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",sx:{display:"flex",gap:"1rem"},children:[f.jsxs(O.Stack,{direction:"row",gap:"1rem",children:[f.jsx(O.Skeleton,{variant:"text",width:"10.2rem",height:"5rem",sx:r}),f.jsx(O.Skeleton,{variant:"text",width:"3.5rem",height:"5rem",sx:r}),f.jsx(O.Skeleton,{variant:"text",width:"15.2rem",height:"5rem",sx:r})]}),f.jsxs(O.Stack,{direction:"row",gap:"1rem",children:[f.jsx(O.Skeleton,{variant:"text",width:"10.2rem",height:"5rem",sx:r}),f.jsx(O.Skeleton,{variant:"text",width:"3.5rem",height:"5rem",sx:r}),f.jsx(O.Skeleton,{variant:"text",width:"3.5rem",height:"5rem",sx:r})]})]})}),cell:f.jsx(f.Fragment,{children:f.jsx(O.Skeleton,{variant:"text",width:"7rem",height:"3rem",sx:r})})}[e]};function sS({...e}){return f.jsx(At,{children:f.jsx(Es,{...e})})}const Ja=p.createContext(null),N8=p.createContext(null);function $8({children:e}){const[t,n]=p.useReducer(iS,aS);return f.jsx(Ja.Provider,{value:t,children:f.jsx(N8.Provider,{value:n,children:e})})}function iS(e,t){switch(t.type){case Re.LOADING:return{...e,loading:t.loading};case Re.SUCCESS:return{...e,data:t.data?.sort((n,r)=>new Date(r.createdAt)-new Date(n.createdAt))};case Re.MARK_ALL_AS_READ:return{...e,isMarkAllAsRead:t.isMarkAllAsRead};case Re.SET_ACTIVE_TAB:return{...e,activeTab:t.activeTab};case Re.SET_MODE:return{...e,mode:t.mode};case Re.ERROR:return{...e,error:t.error};default:throw new Error(`${_n.UNHANDLED}: ${t}`)}}const aS={loading:!1,data:[],error:"",isMarkAllAsRead:{count:0,boo:!1},mode:!1,activeTab:0},F8=({parentProps:e,childProps:t})=>{const n=O.useTheme(),r=p.useId(),o=p.useId();return f.jsxs(O.Stack,{sx:{background:n.palette.primary.notifyBackground,border:`0.1rem solid ${n.palette.primary.notifyBorderColor}`,borderRadius:"1rem",position:"relative",overflow:"hidden"},children:[f.jsx(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",role:"button",tabIndex:0,id:o,"aria-expanded":t.isExpanded,"aria-controls":r,sx:{maxHeight:"10rem",p:"1.5rem",cursor:"pointer",zIndex:4,...xt()},onClick:t.toggleExpand,onKeyDown:wt(t.toggleExpand),children:e.content}),f.jsx(ur.div,{layout:!0,id:r,role:"region","aria-labelledby":o,inert:!t.isExpanded||void 0,initial:{opacity:0,maxHeight:0},animate:{opacity:t.isExpanded?1:0,maxHeight:t.isExpanded?"50rem":0},transition:{duration:.5,ease:"easeInOut"},style:{background:n.palette.primary.notifyBackground,overflow:"hidden",display:"flex",flexDirection:"column",width:"100%"},children:f.jsx(O.Box,{sx:{p:"1rem"},children:t.content})})]})};F8.propTypes={parentProps:y.object.isRequired,childProps:y.object.isRequired};const V8=({accordionProps:e})=>f.jsx(At,{children:f.jsx($8,{children:f.jsx(F8,{...e})})});V8.propTypes={accordionProps:y.object.isRequired};function lS(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function cS(e){const t=jr(e);return t.body===e?t0(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ms(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function W8(e){return parseFloat(t0(e).getComputedStyle(e).paddingRight)||0}function uS(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function z8(e,t,n,r,o){const s=[t,n,...r];[].forEach.call(e.children,i=>{const a=!s.includes(i),l=!uS(i);a&&l&&Ms(i,o)})}function Qa(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function dS(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(cS(r)){const i=lS(t0(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${W8(r)+i}px`;const a=jr(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${W8(l)+i}px`})}let s;if(r.parentNode instanceof DocumentFragment)s=jr(r).body;else{const i=r.parentElement,a=t0(r);s=i?.nodeName==="HTML"&&a.getComputedStyle(i).overflowY==="scroll"?i:r}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:i,property:a})=>{s?i.style.setProperty(a,s):i.style.removeProperty(a)})}}function fS(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class pS{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Ms(t.modalRef,!1);const o=fS(n);z8(n,t.mount,t.modalRef,o,!0);const s=Qa(this.containers,i=>i.container===n);return s!==-1?(this.containers[s].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Qa(this.containers,s=>s.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=dS(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Qa(this.containers,i=>i.modals.includes(t)),s=this.containers[o];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(r,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&Ms(t.modalRef,n),z8(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(o,1);else{const i=s.modals[s.modals.length-1];i.modalRef&&Ms(i.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function H8(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const s=e[t],i=o||t;return s==null?null:s&&s.nodeType!==1?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}function U8(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;const n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode??r.host??null}}return!1}function i0(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}const el="data-mui-focusable";function hS(e){return e?e.hasAttribute(el)?e:e.querySelector(`[${el}]`):null}const mS=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function gS(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function yS(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function CS(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||yS(e))}function bS(e){const t=[],n=[];return Array.from(e.querySelectorAll(mS)).forEach((r,o)=>{const s=gS(r);s===-1||!CS(r)||(s===0?t.push(r):n.push({documentOrder:o,tabIndex:s,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function vS(){return!0}function a0(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:s=bS,isEnabled:i=vS,open:a}=e,l=Z.useRef(!1),c=Z.useRef(null),u=Z.useRef(null),d=Z.useRef(null),h=Z.useRef(null),m=Z.useRef(!1),g=Z.useRef(null),C=Rr(Xa(t),g),b=Z.useRef(null);Z.useEffect(()=>{!a||!g.current||(m.current=!n)},[n,a]),Z.useEffect(()=>{if(l.current=!1,!a||!g.current)return;const w=jr(g.current),x=i0(w),T=hS(g.current)??g.current;return U8(g.current,x)||(T.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
55
- `)),T.setAttribute("tabIndex","-1")),m.current&&T.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),Z.useEffect(()=>{if(!a||!g.current)return;const w=jr(g.current),x=A=>{if(b.current=A,r||!i()||A.key!=="Tab")return;i0(w)===g.current&&A.shiftKey&&(l.current=!0,u.current&&u.current.focus())},T=()=>{const A=g.current;if(A===null)return;const I=i0(w);if(!w.hasFocus()||!i()||l.current){l.current=!1;return}if(U8(A,I)||r&&I!==c.current&&I!==u.current)return;if(I!==h.current)h.current=null;else if(h.current!==null)return;if(!m.current)return;let P=[];if((I===c.current||I===u.current)&&(P=s(g.current)),P.length>0){const R=!!(b.current?.shiftKey&&b.current?.key==="Tab"),W=P[0],S=P[P.length-1];typeof W!="string"&&typeof S!="string"&&(R?S.focus():W.focus())}else A.focus()};w.addEventListener("focusin",T),w.addEventListener("keydown",x,!0);const M=setInterval(()=>{const A=i0(w);A&&A.tagName==="BODY"&&T()},50);return()=>{clearInterval(M),w.removeEventListener("focusin",T),w.removeEventListener("keydown",x,!0)}},[n,r,o,i,a,s]);const v=w=>{d.current===null&&(d.current=w.relatedTarget),m.current=!0,h.current=w.target;const x=t.props.onFocus;x&&x(w)},k=w=>{d.current===null&&(d.current=w.relatedTarget),m.current=!0};return f.jsxs(Z.Fragment,{children:[f.jsx("div",{tabIndex:a?0:-1,onFocus:k,ref:c,"data-testid":"sentinelStart"}),Z.cloneElement(t,{ref:C,onFocus:v}),f.jsx("div",{tabIndex:a?0:-1,onFocus:k,ref:u,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(a0.propTypes={children:r0,disableAutoFocus:y.bool,disableEnforceFocus:y.bool,disableRestoreFocus:y.bool,getTabbable:y.func,isEnabled:y.func,open:y.bool.isRequired}),process.env.NODE_ENV!=="production"&&(a0.propTypes=l8(a0.propTypes));function xS(e){return typeof e=="function"?e():e}const l0=Z.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[i,a]=Z.useState(null),l=Rr(Z.isValidElement(r)?Xa(r):null,n);if(Ra(()=>{s||a(xS(o)||document.body)},[o,s]),Ra(()=>{if(i&&!s)return A8(n,i),()=>{A8(n,null)}},[n,i,s]),s){if(Z.isValidElement(r)){const c={ref:l};return Z.cloneElement(r,c)}return r}return i&&Ep.createPortal(r,i)});process.env.NODE_ENV!=="production"&&(l0.propTypes={children:y.node,container:y.oneOfType([H8,y.func]),disablePortal:y.bool}),process.env.NODE_ENV!=="production"&&(l0.propTypes=l8(l0.propTypes));function wS(e){return typeof e=="function"?e():e}function SS(e){return e?e.props.hasOwnProperty("in"):!1}const G8=()=>{},c0=new pS;function kS(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:i,children:a,onClose:l,open:c,rootRef:u}=e,d=Z.useRef({}),h=Z.useRef(null),m=Z.useRef(null),g=Rr(m,u),[C,b]=Z.useState(!c),v=SS(a);let k=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(k=!1);const w=()=>jr(h.current),x=()=>(d.current.modalRef=m.current,d.current.mount=h.current,d.current),T=()=>{c0.mount(x(),{disableScrollLock:r}),m.current&&(m.current.scrollTop=0)},M=ko(()=>{const N=wS(t)||w().body;c0.add(x(),N),m.current&&T()}),A=()=>c0.isTopModal(x()),I=ko(N=>{h.current=N,N&&(c&&A()?T():m.current&&Ms(m.current,k))}),P=Z.useCallback(()=>{c0.remove(x(),k)},[k]);Z.useEffect(()=>()=>{P()},[P]),Z.useEffect(()=>{c?M():(!v||!o)&&P()},[c,P,v,o,M]);const R=N=>U=>{N.onKeyDown?.(U),!(U.key!=="Escape"||U.which===229||!A())&&(n||(U.stopPropagation(),l&&l(U,"escapeKeyDown")))},W=N=>U=>{N.onClick?.(U),U.target===U.currentTarget&&l&&l(U,"backdropClick")};return{getRootProps:(N={})=>{const U=I8(e);delete U.onTransitionEnter,delete U.onTransitionExited;const se={...U,...N};return{role:"presentation",...se,onKeyDown:R(se),ref:g}},getBackdropProps:(N={})=>{const U=N;return{"aria-hidden":!0,...U,onClick:W(U),open:c}},getTransitionProps:()=>{const N=()=>{b(!1),s&&s()},U=()=>{b(!0),i&&i(),o&&P()};return{onEnter:Nd(N,a?.props.onEnter??G8),onExited:Nd(U,a?.props.onExited??G8)}},rootRef:g,portalRef:I,isTopModal:A,exited:C,hasTransition:v}}function TS(e){return Ft("MuiModal",e)}Vt("MuiModal",["root","hidden","backdrop"]);const ES=e=>{const{open:t,exited:n,classes:r}=e;return Jt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},TS,r)},MS=Ue("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Qt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),OS=Ue(s0,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),Y8=Z.forwardRef(function(t,n){const r=Ut({name:"MuiModal",props:t}),{BackdropComponent:o=OS,BackdropProps:s,classes:i,className:a,closeAfterTransition:l=!1,children:c,container:u,component:d,components:h={},componentsProps:m={},disableAutoFocus:g=!1,disableEnforceFocus:C=!1,disableEscapeKeyDown:b=!1,disablePortal:v=!1,disableRestoreFocus:k=!1,disableScrollLock:w=!1,hideBackdrop:x=!1,keepMounted:T=!1,onClose:M,onTransitionEnter:A,onTransitionExited:I,open:P,slotProps:R={},slots:W={},theme:S,...j}=r,_={...r,closeAfterTransition:l,disableAutoFocus:g,disableEnforceFocus:C,disableEscapeKeyDown:b,disablePortal:v,disableRestoreFocus:k,disableScrollLock:w,hideBackdrop:x,keepMounted:T},{getRootProps:N,getBackdropProps:U,getTransitionProps:se,portalRef:ue,isTopModal:B,exited:E,hasTransition:D}=kS({..._,rootRef:n}),L={..._,exited:E},$=ES(L),Y={};if(c.props.tabIndex===void 0&&(Y.tabIndex="-1"),D){const{onEnter:ie,onExited:Q}=se();Y.onEnter=ie,Y.onExited=Q}const re={slots:{root:h.Root,backdrop:h.Backdrop,...W},slotProps:{...m,...R}},[he,oe]=ln("root",{ref:n,elementType:MS,externalForwardedProps:{...re,...j,component:d},getSlotProps:N,ownerState:L,className:Xe(a,$?.root,!L.open&&L.exited&&$?.hidden)}),[X,te]=ln("backdrop",{ref:s?.ref,elementType:o,externalForwardedProps:re,shouldForwardComponentProp:!0,additionalProps:s,getSlotProps:ie=>U({...ie,onClick:Q=>{ie?.onClick&&ie.onClick(Q)}}),className:Xe(s?.className,$?.backdrop),ownerState:L});return!T&&!P&&(!D||E)?null:f.jsx(l0,{ref:ue,container:u,disablePortal:v,children:f.jsxs(he,{...oe,children:[!x&&o?f.jsx(X,{...te}):null,f.jsx(a0,{disableEnforceFocus:C,disableAutoFocus:g,disableRestoreFocus:k,isEnabled:B,open:P,children:Z.cloneElement(c,Y)})]})})});process.env.NODE_ENV!=="production"&&(Y8.propTypes={BackdropComponent:y.elementType,BackdropProps:y.object,children:r0.isRequired,classes:y.object,className:y.string,closeAfterTransition:y.bool,component:y.elementType,components:y.shape({Backdrop:y.elementType,Root:y.elementType}),componentsProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object])}),container:y.oneOfType([H8,y.func]),disableAutoFocus:y.bool,disableEnforceFocus:y.bool,disableEscapeKeyDown:y.bool,disablePortal:y.bool,disableRestoreFocus:y.bool,disableScrollLock:y.bool,hideBackdrop:y.bool,keepMounted:y.bool,onClose:y.func,onTransitionEnter:y.func,onTransitionExited:y.func,open:y.bool.isRequired,slotProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object])}),slots:y.shape({backdrop:y.elementType,root:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});function DS(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function q8(e,t,n,r){const o=e[t];if(o==null||!Number.isInteger(o)){const s=DS(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function K8(e,t,n,r){return e[t]===void 0?null:q8(e,t,n,r)}function tl(){return null}K8.isRequired=q8,tl.isRequired=tl;const Oo=process.env.NODE_ENV==="production"?tl:K8;function AS(e){return Ft("MuiPaper",e)}Vt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const IS=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Jt(s,AS,o)},PS=Ue("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(Qt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),nl=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiPaper"}),o=Ha(),{className:s,component:i="div",elevation:a=1,square:l=!1,variant:c="elevation",...u}=r,d={...r,component:i,elevation:a,square:l,variant:c},h=IS(d);return process.env.NODE_ENV!=="production"&&o.shadows[a]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${a}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${a}]\` is defined.`].join(`
56
- `)),f.jsx(PS,{as:i,ownerState:d,className:Xe(h.root,s),ref:n,...u,style:{...c==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[a],...o.vars&&{"--Paper-overlay":o.vars.overlays?.[a]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Zi("#fff",Wa(a))}, ${Zi("#fff",Wa(a))})`}},...u.style}})});process.env.NODE_ENV!=="production"&&(nl.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,elevation:Ts(Oo,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:y.bool,style:y.object,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["elevation","outlined"]),y.string])});function LS(e){return Ft("MuiDialog",e)}const rl=Vt("MuiDialog",["root","backdrop","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Z8=Z.createContext({});process.env.NODE_ENV!=="production"&&(Z8.displayName="DialogContext");const jS=Ue(s0,{name:"MuiDialog",slot:"Backdrop"})({zIndex:-1}),RS=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:s}=e,i={root:["root"],backdrop:["backdrop"],container:["container",`scroll${Ne(n)}`],paper:["paper",`paperScroll${Ne(n)}`,`paperWidth${Ne(String(r))}`,o&&"paperFullWidth",s&&"paperFullScreen"]};return Jt(i,LS,t)},_S=Ue(Y8,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),BS=Ue("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${Ne(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),NS=Ue(nl,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${Ne(n.scroll)}`],t[`paperWidth${Ne(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(Qt(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${rl.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${rl.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${rl.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),X8=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiDialog"}),o=Ha(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":a,"aria-modal":l=!0,BackdropComponent:c,BackdropProps:u,children:d,className:h,disableEscapeKeyDown:m=!1,fullScreen:g=!1,fullWidth:C=!1,maxWidth:b="sm",onClick:v,onClose:k,open:w,PaperComponent:x=nl,PaperProps:T={},role:M="dialog",scroll:A="paper",slots:I={},slotProps:P={},TransitionComponent:R=o0,transitionDuration:W=s,TransitionProps:S,...j}=r,_={...r,disableEscapeKeyDown:m,fullScreen:g,fullWidth:C,maxWidth:b,scroll:A},N=RS(_),U=Z.useRef(),se=ke=>{U.current=ke.target===ke.currentTarget},ue=ke=>{v&&v(ke),U.current&&(U.current=null,k&&k(ke,"backdropClick"))},B=d8(a),E=Z.useMemo(()=>({titleId:B}),[B]),D={transition:R,...I},L={transition:S,paper:T,backdrop:u,...P},$={slots:D,slotProps:L},[Y,re]=ln("root",{elementType:_S,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_,className:Xe(N.root,h),ref:n}),[he,oe]=ln("backdrop",{elementType:jS,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_,className:N.backdrop}),[X,te]=ln("paper",{elementType:NS,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_,className:N.paper,additionalProps:{elevation:24,role:M,"aria-describedby":i,"aria-labelledby":B,"aria-modal":l,tabIndex:-1,[el]:""}}),[ie,Q]=ln("container",{elementType:BS,externalForwardedProps:$,ownerState:_,className:N.container}),[q,xe]=ln("transition",{elementType:o0,externalForwardedProps:$,ownerState:_,additionalProps:{appear:!0,in:w,timeout:W,role:"presentation"}});return f.jsx(Y,{closeAfterTransition:!0,slots:{backdrop:he},slotProps:{backdrop:{transitionDuration:W,as:c,...oe}},disableEscapeKeyDown:m,onClose:k,open:w,onClick:ue,...re,...j,children:f.jsx(q,{...xe,children:f.jsx(ie,{onMouseDown:se,...Q,children:f.jsx(X,{as:x,...te,children:f.jsx(Z8.Provider,{value:E,children:d})})})})})});process.env.NODE_ENV!=="production"&&(X8.propTypes={"aria-describedby":y.string,"aria-labelledby":y.string,"aria-modal":y.oneOfType([y.oneOf(["false","true"]),y.bool]),BackdropComponent:y.elementType,BackdropProps:y.object,children:y.node,classes:y.object,className:y.string,disableEscapeKeyDown:y.bool,fullScreen:y.bool,fullWidth:y.bool,maxWidth:y.oneOfType([y.oneOf(["xs","sm","md","lg","xl",!1]),y.string]),onClick:y.func,onClose:y.func,open:y.bool.isRequired,PaperComponent:y.elementType,PaperProps:y.object,role:y.oneOf(["alertdialog","dialog"]),scroll:y.oneOf(["body","paper"]),slotProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),container:y.oneOfType([y.func,y.object]),paper:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object]),transition:y.oneOfType([y.func,y.object])}),slots:y.shape({backdrop:y.elementType,container:y.elementType,paper:y.elementType,root:y.elementType,transition:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),TransitionComponent:y.elementType,transitionDuration:y.oneOfType([y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})]),TransitionProps:y.object});function ol({children:e,handleClose:t,open:n,isMainDialog:r}){return f.jsx(X8,{open:n,onClose:t,scroll:r?"paper":void 0,fullWidth:!r,maxWidth:r?void 0:"md",PaperProps:{sx:r?{position:"fixed",top:30,right:30,m:0,width:400,height:450,display:"flex",flexDirection:"column",borderRadius:2,boxShadow:6,backgroundColor:o=>o.palette.primary.notifyBackground}:{minHeight:250,maxHeight:500,borderRadius:"1.5rem",boxShadow:6,backgroundColor:o=>o.palette.primary.appBackground}},children:e})}function $S({children:e,...t}){return f.jsx(At,{children:f.jsx(ol,{...t,children:e})})}const FS=({rightChild:e,leftChild:t,isDrawerMerged:n,isDrawerOpen:r,drawerTitle:o,showExpand:s,onCloseClick:i,onMergeClick:a,onExpandClick:l,isDrawerExpanded:c,styles:u,showMerge:d,isCloseVisible:h=!0})=>{const m=O.useTheme(),g=p.useRef(null),C=r&&!n;return go(g,{enabled:C,onEscape:i,autoFocus:!0,restoreFocus:!0}),f.jsx(O.Box,{sx:{position:"relative",overflow:"hidden"},children:f.jsxs(O.Grid,{container:!0,sx:{height:"100%"},children:[f.jsx(O.Grid,{item:!0,sx:{width:n?u?.drawerWidth?`calc(${"100%"-u?.drawerWidth})`:"75%":"100%",position:"relative",zIndex:3,height:"calc(100vh - 7rem)",p:"0rem 1.5rem",overflow:"auto"},children:t}),r&&!n&&f.jsx(f.Fragment,{children:f.jsx(O.Box,{onClick:i,sx:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#07080B80",backdropFilter:"blur(3px)",zIndex:3,transition:"opacity 0.3s ease-in-out"}})}),e&&f.jsxs(O.Grid,{item:!0,ref:g,inert:!r||void 0,role:C?"dialog":void 0,"aria-modal":C||void 0,"aria-label":C?o:void 0,sx:{width:c?"90%":u?.drawerWidth||"25%",position:n?"relative":"absolute",top:0,right:0,height:"calc(100vh - 7rem)",backgroundColor:m.palette.primary.notifyBackground,transform:r?"translateX(0)":"translateX(100%)",transition:"transform 0.4s ease-in-out , width 0.4s ease-in-out",zIndex:4,borderLeft:`0.1rem solid ${m.palette.primary.notifyBorderColor}`,display:"flex",flexDirection:"column"},children:[f.jsxs(O.Stack,{direction:"row",alignItems:"center",sx:{width:"100%",flexShrink:0,paddingBottom:"0.8rem",px:2,pt:"0.8rem",borderBottom:b=>`0.1rem solid ${b.palette.primary.notifyBorderColor}`},children:[!c&&d&&f.jsxs(f.Fragment,{children:[f.jsx(O.Box,{component:"img",src:Te.Merge,role:"button",tabIndex:0,"aria-label":"Merge",sx:{display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",...xt()},onClick:a,onKeyDown:wt(a)}),f.jsx(O.Divider,{orientation:"vertical",flexItem:!0,sx:{mx:"1rem",height:"auto!important",borderColor:m.palette.primary.notifyBorderColor}})]}),f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",flexGrow:1,children:[f.jsxs(O.Stack,{direction:"row",gap:"0.5rem",alignItems:"center",sx:{cursor:"pointer"},children:[h&&f.jsx(O.Box,{onClick:i,onKeyDown:wt(i),role:"button",tabIndex:0,"aria-label":"Close",sx:xt(),children:f.jsx(Ct,{url:Te.CrossLight})}),f.jsx(O.Typography,{sx:{fontSize:"1.2rem",color:m.palette.primary.notifyTextColor},children:o})]}),f.jsx(O.Stack,{direction:"row",gap:"0.5rem",alignItems:"center",children:s&&f.jsx(O.Box,{onClick:l,onKeyDown:wt(l),role:"button",tabIndex:0,"aria-label":c?"Collapse":"Expand",sx:{cursor:"pointer",...xt()},children:f.jsx(O.Box,{component:"img",src:c?Te.Collapse:Te.Expand})})})]})]}),f.jsx(O.Box,{sx:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},overflow:"auto",px:2},children:e})]})]})})},J8=({layoutChildren:e,layoutProps:t})=>f.jsx(At,{children:f.jsx(FS,{...e,...t})});J8.propTypes={layoutChildren:y.object.isRequired,layoutProps:y.object.isRequired};const sl=({list:e,handleLinkClick:t})=>{const n=O.useTheme(),{t:r}=p.useContext(Nt),o=({list:s})=>s?.sort((i,a)=>i.order-a.order)?.map((i,a)=>i?.link?f.jsx(O.List,{component:"button",type:"button",sx:{fontSize:"1rem",cursor:"pointer",border:"none",background:"none",font:"inherit",padding:0,color:a===s?.length-1?n.palette.brandColor.orange:n.palette.primary.notifyTextColor,...xt()},onClick:()=>t(i),children:r(i?.title)},a):f.jsx(O.Typography,{component:"h3",sx:{fontSize:"1rem",color:a===s?.length-1?n.palette.brandColor.orange:n.palette.primary.notifyTextColor},children:r(i?.title)},a));return f.jsx(O.Breadcrumbs,{separator:f.jsx(Ct,{url:Te.ArrowRight}),children:o({list:e})})};sl.propTypes={list:y.array.isRequired,handleLinkClick:y.func};function VS({...e}){return f.jsx(At,{children:f.jsx(sl,{...e})})}const Q8=({breadcrumbProps:e,switchProps:t,filterComponentProps:n,metaDataProps:r,metaJSXProps:o})=>{const s=O.useTheme(),{t:i}=p.useContext(Nt),a=n?.filterBtnProps?.disabled;return f.jsxs(f.Fragment,{children:[f.jsxs(O.Stack,{sx:{background:s.palette.primary.notifyBackground,borderBottom:`0.1rem solid ${s.palette.primary.notifyBorderColor}`,height:"3rem",p:"0px 1.5rem 0 1.5rem",zIndex:4,position:"relative"},direction:"row",justifyContent:"space-between",alignItems:"center",children:[f.jsx(sl,{...e}),f.jsxs(O.Stack,{direction:"row",gap:"1rem",alignItems:"center",children:[r,o?.metaJSX&&o.metaJSX(),t&&f.jsx(Vu,{...t}),n?.filterBtnProps&&f.jsxs(O.Stack,{direction:"row",children:[f.jsx(O.Divider,{orientation:"vertical",flexItem:!0,sx:{mx:"1rem",height:"2rem!important",opacity:"1!important",borderColor:s.palette.primary.notifyBorderColor}}),f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"0.5rem",role:"button",tabIndex:a?-1:0,"aria-disabled":a,onClick:a?void 0:n?.filterBtnProps?.onFilterClick,onKeyDown:a?void 0:wt(n?.filterBtnProps?.onFilterClick),sx:{opacity:a?.5:1,cursor:a?"not-allowed":"pointer",...xt()},children:[f.jsx(Ct,{url:Te.Filter}),f.jsx(O.Typography,{sx:{fontSize:"1.1rem",color:s.palette.primary.notifyActiveText},children:i(n?.filterBtnProps?.label)})]})]})]})]}),f.jsx(ur.div,{layout:!0,initial:{height:"0rem"},animate:{height:n?.filterBtnProps?.filterContainerVisible?"5rem":"0rem",opacity:n?.filterBtnProps?.filterContainerVisible?1:0},transition:{duration:.5,ease:"easeInOut"},style:{background:s.palette.primary.notifyBackground,borderBottom:`0.1rem solid ${s.palette.primary.notifyBorderColor}`,padding:"0px 5.5rem 0 1.5rem",position:"relative",alignItems:"center",display:"flex",overflow:"hidden",width:n?.filterContainerProps?.isSideDrawerOpen?"75%":"100%"},children:f.jsxs(O.Stack,{sx:{background:s.palette.primary.appBackground,height:"3.8rem",p:"0 2rem",width:"100%",borderRadius:"0.7rem",overflow:"visible"},direction:"row",alignItems:"center",children:[f.jsxs(O.Typography,{sx:{fontSize:"1.2rem",fontWeight:"500",color:s.palette.primary.notifyActiveText},children:[n?.labels?.description||i("Filters")," :"]}),f.jsx(O.Box,{sx:{overflowX:"auto",overflowY:"visible",whiteSpace:"nowrap",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},margin:"0 1rem",padding:"0.5rem 0",flexGrow:1},children:f.jsx(O.Stack,{direction:"row",gap:"1.2rem",sx:{overflow:"visible"},children:n?.filterItems?.map((l,c)=>f.jsx(f.Fragment,{children:f.jsxs(O.Box,{sx:{position:"relative",overflow:"visible",border:`0.1rem solid ${s.palette.primary.notifyBorderColor}`,background:s.palette.primary.notifyBackground,borderRadius:"0.6rem",padding:"0.3rem 1.1rem",display:"inline-block"},children:[f.jsx(O.Box,{component:"img",src:Te.FilterClose,role:"button",tabIndex:0,"aria-label":"Remove filter",sx:{position:"absolute",top:"-0.4rem",right:"-0.6rem",cursor:"pointer",...xt()},onClick:()=>n?.onFilterChipClose(l),onKeyDown:wt(()=>n?.onFilterChipClose(l))}),f.jsx(O.Typography,{sx:{fontSize:"1rem",color:s.palette.primary.notifyTextColor},children:l?.filterLabel})]},c)}))})}),f.jsx(O.Box,{component:O.Typography,role:"button",tabIndex:0,sx:{fontSize:"1.1rem",fontWeight:"500",textDecoration:"underline",color:s.palette.brandColor.red,cursor:"pointer",...xt()},onClick:n?.filterContainerProps?.onClearClick,onKeyDown:wt(n?.filterContainerProps?.onClearClick),children:n?.labels?.button||i("Clear")})]})})]})};Q8.propTypes={breadcrumbProps:y.object.isRequired,switchProps:y.object};function ef({headerProps:e}){return f.jsx(At,{children:f.jsx(Q8,{...e})})}ef.propTypes={headerProps:y.object.isRequired};function tf(e,t){return function(){return e.apply(t,arguments)}}const{toString:WS}=Object.prototype,{getPrototypeOf:u0}=Object,{iterator:d0,toStringTag:nf}=Symbol,f0=(e=>t=>{const n=WS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),kn=e=>(e=e.toLowerCase(),t=>f0(t)===e),p0=e=>t=>typeof t===e,{isArray:$r}=Array,Do=p0("undefined");function Ao(e){return e!==null&&!Do(e)&&e.constructor!==null&&!Do(e.constructor)&&en(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const rf=kn("ArrayBuffer");function zS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&rf(e.buffer),t}const HS=p0("string"),en=p0("function"),of=p0("number"),Os=e=>e!==null&&typeof e=="object",US=e=>e===!0||e===!1,h0=e=>{if(f0(e)!=="object")return!1;const t=u0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(nf in e)&&!(d0 in e)},GS=e=>{if(!Os(e)||Ao(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},YS=kn("Date"),qS=kn("File"),KS=e=>!!(e&&typeof e.uri<"u"),ZS=e=>e&&typeof e.getParts<"u",XS=kn("Blob"),JS=kn("FileList"),QS=e=>Os(e)&&en(e.pipe);function ek(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const sf=ek(),af=typeof sf.FormData<"u"?sf.FormData:void 0,tk=e=>{if(!e)return!1;if(af&&e instanceof af)return!0;const t=u0(e);if(!t||t===Object.prototype||!en(e.append))return!1;const n=f0(e);return n==="formdata"||n==="object"&&en(e.toString)&&e.toString()==="[object FormData]"},nk=kn("URLSearchParams"),[rk,ok,sk,ik]=["ReadableStream","Request","Response","Headers"].map(kn),ak=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ds(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),$r(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Ao(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function lf(e,t){if(Ao(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cf=e=>!Do(e)&&e!==Fr;function il(...e){const{caseless:t,skipUndefined:n}=cf(this)&&this||{},r={},o=(s,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const a=t&&typeof i=="string"&&lf(r,i)||i,l=al(r,a)?r[a]:void 0;h0(l)&&h0(s)?r[a]=il(l,s):h0(s)?r[a]=il({},s):$r(s)?r[a]=s.slice():(!n||!Do(s))&&(r[a]=s)};for(let s=0,i=e.length;s<i;s++){const a=e[s];if(!a||Ao(a)||(Ds(a,o),typeof a!="object"||$r(a)))continue;const l=Object.getOwnPropertySymbols(a);for(let c=0;c<l.length;c++){const u=l[c];bk.call(a,u)&&o(a[u],u)}}return r}const lk=(e,t,n,{allOwnKeys:r}={})=>(Ds(t,(o,s)=>{n&&en(o)?Object.defineProperty(e,s,{__proto__:null,value:tf(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),ck=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),uk=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},dk=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&u0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},fk=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},pk=e=>{if(!e)return null;if($r(e))return e;let t=e.length;if(!of(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},hk=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&u0(Uint8Array)),mk=(e,t)=>{const r=(e&&e[d0]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},gk=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},yk=kn("HTMLFormElement"),Ck=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),al=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),{propertyIsEnumerable:bk}=Object.prototype,vk=kn("RegExp"),uf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ds(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},xk=e=>{uf(e,(t,n)=>{if(en(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(en(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},wk=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return $r(e)?r(e):r(String(e).split(t)),n},Sk=()=>{},kk=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Tk(e){return!!(e&&en(e.append)&&e[nf]==="FormData"&&e[d0])}const Ek=e=>{const t=new WeakSet,n=r=>{if(Os(r)){if(t.has(r))return;if(Ao(r))return r;if(!("toJSON"in r)){t.add(r);const o=$r(r)?[]:{};return Ds(r,(s,i)=>{const a=n(s);!Do(a)&&(o[i]=a)}),t.delete(r),o}}return r};return n(e)},Mk=kn("AsyncFunction"),Ok=e=>e&&(Os(e)||en(e))&&en(e.then)&&en(e.catch),df=((e,t)=>e?setImmediate:t?((n,r)=>(Fr.addEventListener("message",({source:o,data:s})=>{o===Fr&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Fr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",en(Fr.postMessage)),Dk=typeof queueMicrotask<"u"?queueMicrotask.bind(Fr):typeof process<"u"&&process.nextTick||df,z={isArray:$r,isArrayBuffer:rf,isBuffer:Ao,isFormData:tk,isArrayBufferView:zS,isString:HS,isNumber:of,isBoolean:US,isObject:Os,isPlainObject:h0,isEmptyObject:GS,isReadableStream:rk,isRequest:ok,isResponse:sk,isHeaders:ik,isUndefined:Do,isDate:YS,isFile:qS,isReactNativeBlob:KS,isReactNative:ZS,isBlob:XS,isRegExp:vk,isFunction:en,isStream:QS,isURLSearchParams:nk,isTypedArray:hk,isFileList:JS,forEach:Ds,merge:il,extend:lk,trim:ak,stripBOM:ck,inherits:uk,toFlatObject:dk,kindOf:f0,kindOfTest:kn,endsWith:fk,toArray:pk,forEachEntry:mk,matchAll:gk,isHTMLForm:yk,hasOwnProperty:al,hasOwnProp:al,reduceDescriptors:uf,freezeMethods:xk,toObjectSet:wk,toCamelCase:Ck,noop:Sk,toFiniteNumber:kk,findKey:lf,global:Fr,isContextDefined:cf,isSpecCompliantForm:Tk,toJSONObject:Ek,isAsyncFn:Mk,isThenable:Ok,setImmediate:df,asap:Dk,isIterable:e=>e!=null&&en(e[d0])},Ak=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ik=e=>{const t={};let n,r,o;return e&&e.split(`
57
- `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Ak[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};function Pk(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const Lk=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),jk=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ll(e,t){return z.isArray(e)?e.map(n=>ll(n,t)):Pk(String(e).replace(t,""))}const Rk=e=>ll(e,Lk),_k=e=>ll(e,jk);function ff(e){const t=Object.create(null);return z.forEach(e.toJSON(),(n,r)=>{t[r]=_k(n)}),t}const pf=Symbol("internals");function As(e){return e&&String(e).trim().toLowerCase()}function m0(e){return e===!1||e==null?e:z.isArray(e)?e.map(m0):Rk(String(e))}function Bk(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Nk=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function cl(e,t,n,r,o){if(z.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!z.isString(t)){if(z.isString(r))return t.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(t)}}function $k(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Fk(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}let Gt=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,c){const u=As(l);if(!u)return;const d=z.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=m0(a))}const i=(a,l)=>z.forEach(a,(c,u)=>s(c,u,l));if(z.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(z.isString(t)&&(t=t.trim())&&!Nk(t))i(Ik(t),n);else if(z.isObject(t)&&z.isIterable(t)){let a={},l,c;for(const u of t){if(!z.isArray(u))throw new TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?z.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}i(a,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=As(t),t){const r=z.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Bk(o);if(z.isFunction(n))return n.call(this,o,r);if(z.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=As(t),t){const r=z.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||cl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=As(i),i){const a=z.findKey(r,i);a&&(!n||cl(r,r[a],a,n))&&(delete r[a],o=!0)}}return z.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||cl(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return z.forEach(this,(o,s)=>{const i=z.findKey(r,s);if(i){n[i]=m0(o),delete n[s];return}const a=t?$k(s):String(s).trim();a!==s&&delete n[s],n[a]=m0(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&z.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
58
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[pf]=this[pf]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=As(i);r[a]||(Fk(o,i),r[a]=!0)}return z.isArray(t)?t.forEach(s):s(t),this}};Gt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.reduceDescriptors(Gt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),z.freezeMethods(Gt);const Vk="[REDACTED ****]";function Wk(e){if(z.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(z.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function zk(e,t){const n=new Set(t.map(s=>String(s).toLowerCase())),r=[],o=s=>{if(s===null||typeof s!="object"||z.isBuffer(s))return s;if(r.indexOf(s)!==-1)return;s instanceof Gt&&(s=s.toJSON()),r.push(s);let i;if(z.isArray(s))i=[],s.forEach((a,l)=>{const c=o(a);z.isUndefined(c)||(i[l]=c)});else{if(!z.isPlainObject(s)&&Wk(s))return r.pop(),s;i=Object.create(null);for(const[a,l]of Object.entries(s)){const c=n.has(a.toLowerCase())?Vk:o(l);z.isUndefined(c)||(i[a]=c)}}return r.pop(),i};return o(e)}let be=class kp extends Error{static from(t,n,r,o,s,i){const a=new kp(t.message,n||t.code,r,o,s);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),i&&Object.assign(a,i),a}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){const t=this.config,n=t&&z.hasOwnProp(t,"redact")?t.redact:void 0,r=z.isArray(n)&&n.length>0?zk(t,n):z.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};be.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",be.ERR_BAD_OPTION="ERR_BAD_OPTION",be.ECONNABORTED="ECONNABORTED",be.ETIMEDOUT="ETIMEDOUT",be.ECONNREFUSED="ECONNREFUSED",be.ERR_NETWORK="ERR_NETWORK",be.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",be.ERR_DEPRECATED="ERR_DEPRECATED",be.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",be.ERR_BAD_REQUEST="ERR_BAD_REQUEST",be.ERR_CANCELED="ERR_CANCELED",be.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",be.ERR_INVALID_URL="ERR_INVALID_URL",be.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Hk=null;function ul(e){return z.isPlainObject(e)||z.isArray(e)}function hf(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function dl(e,t,n){return e?e.concat(t).map(function(o,s){return o=hf(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Uk(e){return z.isArray(e)&&!e.some(ul)}const Gk=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function g0(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,v){return!z.isUndefined(v[b])});const r=n.metaTokens,o=n.visitor||d,s=n.dots,i=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?100:n.maxDepth,c=a&&z.isSpecCompliantForm(t);if(!z.isFunction(o))throw new TypeError("visitor must be a function");function u(C){if(C===null)return"";if(z.isDate(C))return C.toISOString();if(z.isBoolean(C))return C.toString();if(!c&&z.isBlob(C))throw new be("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(C)||z.isTypedArray(C)?c&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function d(C,b,v){let k=C;if(z.isReactNative(t)&&z.isReactNativeBlob(C))return t.append(dl(v,b,s),u(C)),!1;if(C&&!v&&typeof C=="object"){if(z.endsWith(b,"{}"))b=r?b:b.slice(0,-2),C=JSON.stringify(C);else if(z.isArray(C)&&Uk(C)||(z.isFileList(C)||z.endsWith(b,"[]"))&&(k=z.toArray(C)))return b=hf(b),k.forEach(function(x,T){!(z.isUndefined(x)||x===null)&&t.append(i===!0?dl([b],T,s):i===null?b:b+"[]",u(x))}),!1}return ul(C)?!0:(t.append(dl(v,b,s),u(C)),!1)}const h=[],m=Object.assign(Gk,{defaultVisitor:d,convertValue:u,isVisitable:ul});function g(C,b,v=0){if(!z.isUndefined(C)){if(v>l)throw new be("Object is too deeply nested ("+v+" levels). Max depth: "+l,be.ERR_FORM_DATA_DEPTH_EXCEEDED);if(h.indexOf(C)!==-1)throw new Error("Circular reference detected in "+b.join("."));h.push(C),z.forEach(C,function(w,x){(!(z.isUndefined(w)||w===null)&&o.call(t,w,z.isString(x)?x.trim():x,b,m))===!0&&g(w,b?b.concat(x):[x],v+1)}),h.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return g(e),t}function mf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function fl(e,t){this._pairs=[],e&&g0(e,this,t)}const gf=fl.prototype;gf.append=function(t,n){this._pairs.push([t,n])},gf.toString=function(t){const n=t?function(r){return t.call(this,r,mf)}:mf;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Yk(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function yf(e,t,n){if(!t)return e;const r=n&&n.encode||Yk,o=z.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let i;if(s?i=s(t,o):i=z.isURLSearchParams(t)?t.toString():new fl(t,o).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Cf{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(r){r!==null&&t(r)})}}const pl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1},qk={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:fl,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},hl=typeof window<"u"&&typeof document<"u",ml=typeof navigator=="object"&&navigator||void 0,Kk=hl&&(!ml||["ReactNative","NativeScript","NS"].indexOf(ml.product)<0),Zk=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Xk=hl&&window.location.href||"http://localhost",_t={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:hl,hasStandardBrowserEnv:Kk,hasStandardBrowserWebWorkerEnv:Zk,navigator:ml,origin:Xk},Symbol.toStringTag,{value:"Module"})),...qk};function Jk(e,t){return g0(e,new _t.classes.URLSearchParams,{visitor:function(n,r,o,s){return _t.isNode&&z.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function Qk(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function eT(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function bf(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&z.isArray(o)?o.length:i,l?(z.hasOwnProp(o,i)?o[i]=z.isArray(o[i])?o[i].concat(r):[o[i],r]:o[i]=r,!a):((!z.hasOwnProp(o,i)||!z.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&z.isArray(o[i])&&(o[i]=eT(o[i])),!a)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(r,o)=>{t(Qk(r),o,n,0)}),n}return null}const Io=(e,t)=>e!=null&&z.hasOwnProp(e,t)?e[t]:void 0;function tT(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Is={transitional:pl,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=z.isObject(t);if(s&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return o?JSON.stringify(bf(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t)||z.isReadableStream(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){const l=Io(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return Jk(t,l).toString();if((a=z.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=Io(this,"env"),u=c&&c.FormData;return g0(a?{"files[]":t}:t,u&&new u,l)}}return s||o?(n.setContentType("application/json",!1),tT(t)):t}],transformResponse:[function(t){const n=Io(this,"transitional")||Is.transitional,r=n&&n.forcedJSONParsing,o=Io(this,"responseType"),s=o==="json";if(z.isResponse(t)||z.isReadableStream(t))return t;if(t&&z.isString(t)&&(r&&!o||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,Io(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?be.from(l,be.ERR_BAD_RESPONSE,this,null,Io(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_t.classes.FormData,Blob:_t.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch","query"],e=>{Is.headers[e]={}});function gl(e,t){const n=this||Is,r=t||n,o=Gt.from(r.headers);let s=r.data;return z.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function vf(e){return!!(e&&e.__CANCEL__)}let Ps=class extends be{constructor(t,n,r){super(t??"canceled",be.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function xf(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new be("Request failed with status code "+n.status,n.status>=400&&n.status<500?be.ERR_BAD_REQUEST:be.ERR_BAD_RESPONSE,n.config,n.request,n))}function nT(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function rT(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[s];i||(i=c),n[o]=l,r[o]=c;let d=s,h=0;for(;d!==o;)h+=n[d++],d=d%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-i<t)return;const m=u&&c-u;return m?Math.round(h*1e3/m):void 0}}function oT(e,t){let n=0,r=1e3/t,o,s;const i=(c,u=Date.now())=>{n=u,o=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?i(c,u):(o=c,s||(s=setTimeout(()=>{s=null,i(o)},r-d)))},()=>o&&i(o)]}const y0=(e,t,n=3)=>{let r=0;const o=rT(50,250);return oT(s=>{if(!s||typeof s.loaded!="number")return;const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=a!=null?Math.min(i,a):i,c=Math.max(0,l-r),u=o(c);r=Math.max(r,l);const d={loaded:l,total:a,progress:a?l/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a?(a-l)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},wf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Sf=e=>(...t)=>z.asap(()=>e(...t)),sT=_t.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_t.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_t.origin),_t.navigator&&/(msie|trident)/i.test(_t.navigator.userAgent)):()=>!0,iT=_t.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];z.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),z.isString(r)&&a.push(`path=${r}`),z.isString(o)&&a.push(`domain=${o}`),s===!0&&a.push("secure"),z.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),o=r.indexOf("=");if(o!==-1&&r.slice(0,o)===e)return decodeURIComponent(r.slice(o+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function aT(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function lT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function kf(e,t,n){let r=!aT(t);return e&&(r||n===!1)?lT(e,t):t}const Tf=e=>e instanceof Gt?{...e}:e;function Vr(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(c,u,d,h){return z.isPlainObject(c)&&z.isPlainObject(u)?z.merge.call({caseless:h},c,u):z.isPlainObject(u)?z.merge({},u):z.isArray(u)?u.slice():u}function o(c,u,d,h){if(z.isUndefined(u)){if(!z.isUndefined(c))return r(void 0,c,d,h)}else return r(c,u,d,h)}function s(c,u){if(!z.isUndefined(u))return r(void 0,u)}function i(c,u){if(z.isUndefined(u)){if(!z.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(z.hasOwnProp(t,d))return r(c,u);if(z.hasOwnProp(e,d))return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:a,headers:(c,u,d)=>o(Tf(c),Tf(u),d,!0)};return z.forEach(Object.keys({...e,...t}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const d=z.hasOwnProp(l,u)?l[u]:o,h=z.hasOwnProp(e,u)?e[u]:void 0,m=z.hasOwnProp(t,u)?t[u]:void 0,g=d(h,m,u);z.isUndefined(g)&&d!==a||(n[u]=g)}),n}const cT=["content-type","content-length"];function uT(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach(([r,o])=>{cT.includes(r.toLowerCase())&&e.set(r,o)})}const dT=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function Ef(e){const t=Vr({},e),n=h=>z.hasOwnProp(t,h)?t[h]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),i=n("xsrfCookieName");let a=n("headers");const l=n("auth"),c=n("baseURL"),u=n("allowAbsoluteUrls"),d=n("url");if(t.headers=a=Gt.from(a),t.url=yf(kf(c,d,u),n("params"),n("paramsSerializer")),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?dT(l.password):""))),z.isFormData(r)&&(_t.hasStandardBrowserEnv||_t.hasStandardBrowserWebWorkerEnv||z.isReactNative(r)?a.setContentType(void 0):z.isFunction(r.getHeaders)&&uT(a,r.getHeaders(),n("formDataHeaderPolicy"))),_t.hasStandardBrowserEnv&&(z.isFunction(o)&&(o=o(t)),o===!0||o==null&&sT(t.url))){const m=s&&i&&iT.read(i);m&&a.set(s,m)}return t}const fT=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=Ef(e);let s=o.data;const i=Gt.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,d,h,m,g;function C(){m&&m(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function v(){if(!b)return;const w=Gt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),T={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:w,config:e,request:b};xf(function(A){n(A),C()},function(A){r(A),C()},T),b=null}"onloadend"in b?b.onloadend=v:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.startsWith("file:"))||setTimeout(v)},b.onabort=function(){b&&(r(new be("Request aborted",be.ECONNABORTED,e,b)),C(),b=null)},b.onerror=function(x){const T=x&&x.message?x.message:"Network Error",M=new be(T,be.ERR_NETWORK,e,b);M.event=x||null,r(M),C(),b=null},b.ontimeout=function(){let x=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const T=o.transitional||pl;o.timeoutErrorMessage&&(x=o.timeoutErrorMessage),r(new be(x,T.clarifyTimeoutError?be.ETIMEDOUT:be.ECONNABORTED,e,b)),C(),b=null},s===void 0&&i.setContentType(null),"setRequestHeader"in b&&z.forEach(ff(i),function(x,T){b.setRequestHeader(T,x)}),z.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),a&&a!=="json"&&(b.responseType=o.responseType),c&&([h,g]=y0(c,!0),b.addEventListener("progress",h)),l&&b.upload&&([d,m]=y0(l),b.upload.addEventListener("progress",d),b.upload.addEventListener("loadend",m)),(o.cancelToken||o.signal)&&(u=w=>{b&&(r(!w||w.type?new Ps(null,e,b):w),b.abort(),C(),b=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const k=nT(o.url);if(k&&!_t.protocols.includes(k)){r(new be("Unsupported protocol "+k+":",be.ERR_BAD_REQUEST,e));return}b.send(s||null)})},pT=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(l){if(!r){r=!0,i();const c=l instanceof Error?l:this.reason;n.abort(c instanceof be?c:new Ps(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,o(new be(`timeout of ${t}ms exceeded`,be.ETIMEDOUT))},t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(o):l.removeEventListener("abort",o)}),e=null)};e.forEach(l=>l.addEventListener("abort",o));const{signal:a}=n;return a.unsubscribe=()=>z.asap(i),a},hT=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},mT=async function*(e,t){for await(const n of gT(e))yield*hT(n,t)},gT=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Mf=(e,t,n,r)=>{const o=mT(e,t);let s=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let d=u.byteLength;if(n){let h=s+=d;n(h)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})};function yT(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let i=r.length;const a=r.length;for(let m=0;m<a;m++)if(r.charCodeAt(m)===37&&m+2<a){const g=r.charCodeAt(m+1),C=r.charCodeAt(m+2);(g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102)&&(C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102)&&(i-=2,m+=2)}let l=0,c=a-1;const u=m=>m>=2&&r.charCodeAt(m-2)===37&&r.charCodeAt(m-1)===51&&(r.charCodeAt(m)===68||r.charCodeAt(m)===100);c>=0&&(r.charCodeAt(c)===61?(l++,c--):u(c)&&(l++,c-=3)),l===1&&c>=0&&(r.charCodeAt(c)===61||u(c))&&l++;const h=Math.floor(i/4)*3-(l||0);return h>0?h:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(r,"utf8");let s=0;for(let i=0,a=r.length;i<a;i++){const l=r.charCodeAt(i);if(l<128)s+=1;else if(l<2048)s+=2;else if(l>=55296&&l<=56319&&i+1<a){const c=r.charCodeAt(i+1);c>=56320&&c<=57343?(s+=4,i++):s+=3}else s+=3}return s}const yl="1.17.0",Of=64*1024,{isFunction:C0}=z,CT=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Df=e=>{if(!z.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Af=(e,...t)=>{try{return!!e(...t)}catch{return!1}},bT=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},vT=e=>{const t=z.global!==void 0&&z.global!==null?z.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=z.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:s,Response:i}=e,a=o?C0(o):typeof fetch=="function",l=C0(s),c=C0(i);if(!a)return!1;const u=a&&C0(n),d=a&&(typeof r=="function"?(v=>k=>v.encode(k))(new r):async v=>new Uint8Array(await new s(v).arrayBuffer())),h=l&&u&&Af(()=>{let v=!1;const k=new s(_t.origin,{body:new n,method:"POST",get duplex(){return v=!0,"half"}}),w=k.headers.has("Content-Type");return k.body!=null&&k.body.cancel(),v&&!w}),m=c&&u&&Af(()=>z.isReadableStream(new i("").body)),g={stream:m&&(v=>v.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!g[v]&&(g[v]=(k,w)=>{let x=k&&k[v];if(x)return x.call(k);throw new be(`Response type '${v}' is not supported`,be.ERR_NOT_SUPPORT,w)})});const C=async v=>{if(v==null)return 0;if(z.isBlob(v))return v.size;if(z.isSpecCompliantForm(v))return(await new s(_t.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(z.isArrayBufferView(v)||z.isArrayBuffer(v))return v.byteLength;if(z.isURLSearchParams(v)&&(v=v+""),z.isString(v))return(await d(v)).byteLength},b=async(v,k)=>{const w=z.toFiniteNumber(v.getContentLength());return w??C(k)};return async v=>{let{url:k,method:w,data:x,signal:T,cancelToken:M,timeout:A,onDownloadProgress:I,onUploadProgress:P,responseType:R,headers:W,withCredentials:S="same-origin",fetchOptions:j,maxContentLength:_,maxBodyLength:N}=Ef(v);const U=z.isNumber(_)&&_>-1,se=z.isNumber(N)&&N>-1,ue=Y=>z.hasOwnProp(v,Y)?v[Y]:void 0;let B=o||fetch;R=R?(R+"").toLowerCase():"text";let E=pT([T,M&&M.toAbortSignal()],A),D=null;const L=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let $;try{let Y;const re=ue("auth");if(re){const Q=re.username||"",q=re.password||"";Y={username:Q,password:q}}if(bT(k)){const Q=new URL(k,_t.origin);if(!Y&&(Q.username||Q.password)){const q=Df(Q.username),xe=Df(Q.password);Y={username:q,password:xe}}(Q.username||Q.password)&&(Q.username="",Q.password="",k=Q.href)}if(Y&&(W.delete("authorization"),W.set("Authorization","Basic "+btoa(CT((Y.username||"")+":"+(Y.password||""))))),U&&typeof k=="string"&&k.startsWith("data:")&&yT(k)>_)throw new be("maxContentLength size of "+_+" exceeded",be.ERR_BAD_RESPONSE,v,D);if(se&&w!=="get"&&w!=="head"){const Q=await b(W,x);if(typeof Q=="number"&&isFinite(Q)&&Q>N)throw new be("Request body larger than maxBodyLength limit",be.ERR_BAD_REQUEST,v,D)}if(P&&h&&w!=="get"&&w!=="head"&&($=await b(W,x))!==0){let Q=new s(k,{method:"POST",body:x,duplex:"half"}),q;if(z.isFormData(x)&&(q=Q.headers.get("content-type"))&&W.setContentType(q),Q.body){const[xe,ke]=wf($,y0(Sf(P)));x=Mf(Q.body,Of,xe,ke)}}z.isString(S)||(S=S?"include":"omit");const he=l&&"credentials"in s.prototype;if(z.isFormData(x)){const Q=W.getContentType();Q&&/^multipart\/form-data/i.test(Q)&&!/boundary=/i.test(Q)&&W.delete("content-type")}W.set("User-Agent","axios/"+yl,!1);const oe={...j,signal:E,method:w.toUpperCase(),headers:ff(W.normalize()),body:x,duplex:"half",credentials:he?S:void 0};D=l&&new s(k,oe);let X=await(l?B(D,j):B(k,oe));if(U){const Q=z.toFiniteNumber(X.headers.get("content-length"));if(Q!=null&&Q>_)throw new be("maxContentLength size of "+_+" exceeded",be.ERR_BAD_RESPONSE,v,D)}const te=m&&(R==="stream"||R==="response");if(m&&X.body&&(I||U||te&&L)){const Q={};["status","statusText","headers"].forEach(je=>{Q[je]=X[je]});const q=z.toFiniteNumber(X.headers.get("content-length")),[xe,ke]=I&&wf(q,y0(Sf(I),!0))||[];let ve=0;const ae=je=>{if(U&&(ve=je,ve>_))throw new be("maxContentLength size of "+_+" exceeded",be.ERR_BAD_RESPONSE,v,D);xe&&xe(je)};X=new i(Mf(X.body,Of,ae,()=>{ke&&ke(),L&&L()}),Q)}R=R||"text";let ie=await g[z.findKey(g,R)||"text"](X,v);if(U&&!m&&!te){let Q;if(ie!=null&&(typeof ie.byteLength=="number"?Q=ie.byteLength:typeof ie.size=="number"?Q=ie.size:typeof ie=="string"&&(Q=typeof r=="function"?new r().encode(ie).byteLength:ie.length)),typeof Q=="number"&&Q>_)throw new be("maxContentLength size of "+_+" exceeded",be.ERR_BAD_RESPONSE,v,D)}return!te&&L&&L(),await new Promise((Q,q)=>{xf(Q,q,{data:ie,headers:Gt.from(X.headers),status:X.status,statusText:X.statusText,config:v,request:D})})}catch(Y){if(L&&L(),E&&E.aborted&&E.reason instanceof be){const re=E.reason;throw re.config=v,D&&(re.request=D),Y!==re&&(re.cause=Y),re}throw Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new be("Network Error",be.ERR_NETWORK,v,D,Y&&Y.response),{cause:Y.cause||Y}):be.from(Y,Y&&Y.code,v,D,Y&&Y.response)}}},xT=new Map,If=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let i=s.length,a=i,l,c,u=xT;for(;a--;)l=s[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:vT(t)),u=c;return c};If();const Cl={http:Hk,xhr:fT,fetch:{get:If}};z.forEach(Cl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Pf=e=>`- ${e}`,wT=e=>z.isFunction(e)||e===null||e===!1;function ST(e,t){e=z.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let i=0;i<n;i++){r=e[i];let a;if(o=r,!wT(r)&&(o=Cl[(a=String(r)).toLowerCase()],o===void 0))throw new be(`Unknown adapter '${a}'`);if(o&&(z.isFunction(o)||(o=o.get(t))))break;s[a||"#"+i]=o}if(!o){const i=Object.entries(s).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?i.length>1?`since :
54
+ `;function sS(){return f.jsx(s0,{sx:{backdropFilter:"blur(2px)",backgroundColor:"transparent",opacity:1,zIndex:e=>e.zIndex.drawer+101},open:!0,children:f.jsx(O.Box,{sx:{width:"40px",height:"40px","--c":"no-repeat linear-gradient(#E94F1C 0 0)",background:"var(--c), var(--c), var(--c), var(--c)",backgroundSize:"21px 21px",animation:`${oS} 1.5s infinite cubic-bezier(0.3,1,0,1)`}})})}const Es=({type:e})=>{const r=O.useTheme()?.mode==="dark"?{bgcolor:"grey.800"}:{};return{grid:f.jsxs(O.Box,{sx:{borderRadius:2,overflow:"hidden"},children:[f.jsx(O.Skeleton,{variant:"text",width:"100%",height:60,sx:r}),Array.from({length:10}).map((s,i)=>f.jsx(O.Box,{sx:{display:"flex",alignItems:"center",padding:"0.5rem",gap:"3rem"},children:Array.from({length:5}).map((a,l)=>f.jsx(O.Box,{sx:{flex:1},children:f.jsx(O.Skeleton,{variant:"text",height:45,sx:r})},l))},i))]}),toolbar:f.jsx(f.Fragment,{children:f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",sx:{display:"flex",gap:"1rem"},children:[f.jsxs(O.Stack,{direction:"row",gap:"1rem",children:[f.jsx(O.Skeleton,{variant:"text",width:"10.2rem",height:"5rem",sx:r}),f.jsx(O.Skeleton,{variant:"text",width:"3.5rem",height:"5rem",sx:r}),f.jsx(O.Skeleton,{variant:"text",width:"15.2rem",height:"5rem",sx:r})]}),f.jsxs(O.Stack,{direction:"row",gap:"1rem",children:[f.jsx(O.Skeleton,{variant:"text",width:"10.2rem",height:"5rem",sx:r}),f.jsx(O.Skeleton,{variant:"text",width:"3.5rem",height:"5rem",sx:r}),f.jsx(O.Skeleton,{variant:"text",width:"3.5rem",height:"5rem",sx:r})]})]})}),cell:f.jsx(f.Fragment,{children:f.jsx(O.Skeleton,{variant:"text",width:"7rem",height:"3rem",sx:r})})}[e]};function iS({...e}){return f.jsx(At,{children:f.jsx(Es,{...e})})}const Ja=p.createContext(null),N8=p.createContext(null);function $8({children:e}){const[t,n]=p.useReducer(aS,lS);return f.jsx(Ja.Provider,{value:t,children:f.jsx(N8.Provider,{value:n,children:e})})}function aS(e,t){switch(t.type){case Re.LOADING:return{...e,loading:t.loading};case Re.SUCCESS:return{...e,data:t.data?.sort((n,r)=>new Date(r.createdAt)-new Date(n.createdAt))};case Re.MARK_ALL_AS_READ:return{...e,isMarkAllAsRead:t.isMarkAllAsRead};case Re.SET_ACTIVE_TAB:return{...e,activeTab:t.activeTab};case Re.SET_MODE:return{...e,mode:t.mode};case Re.ERROR:return{...e,error:t.error};default:throw new Error(`${_n.UNHANDLED}: ${t}`)}}const lS={loading:!1,data:[],error:"",isMarkAllAsRead:{count:0,boo:!1},mode:!1,activeTab:0},F8=({parentProps:e,childProps:t})=>{const n=O.useTheme(),r=p.useId(),o=p.useId();return f.jsxs(O.Stack,{sx:{background:n.palette.primary.notifyBackground,border:`0.1rem solid ${n.palette.primary.notifyBorderColor}`,borderRadius:"1rem",position:"relative",overflow:"hidden"},children:[f.jsx(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",role:"button",tabIndex:0,id:o,"aria-expanded":t.isExpanded,"aria-controls":r,sx:{maxHeight:"10rem",p:"1.5rem",cursor:"pointer",zIndex:4,...xt()},onClick:t.toggleExpand,onKeyDown:wt(t.toggleExpand),children:e.content}),f.jsx(ur.div,{layout:!0,id:r,role:"region","aria-labelledby":o,inert:!t.isExpanded||void 0,initial:{opacity:0,maxHeight:0},animate:{opacity:t.isExpanded?1:0,maxHeight:t.isExpanded?"50rem":0},transition:{duration:.5,ease:"easeInOut"},style:{background:n.palette.primary.notifyBackground,overflow:"hidden",display:"flex",flexDirection:"column",width:"100%"},children:f.jsx(O.Box,{sx:{p:"1rem"},children:t.content})})]})};F8.propTypes={parentProps:y.object.isRequired,childProps:y.object.isRequired};const V8=({accordionProps:e})=>f.jsx(At,{children:f.jsx($8,{children:f.jsx(F8,{...e})})});V8.propTypes={accordionProps:y.object.isRequired};function cS(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function uS(e){const t=jr(e);return t.body===e?t0(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ms(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function W8(e){return parseFloat(t0(e).getComputedStyle(e).paddingRight)||0}function dS(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function z8(e,t,n,r,o){const s=[t,n,...r];[].forEach.call(e.children,i=>{const a=!s.includes(i),l=!dS(i);a&&l&&Ms(i,o)})}function Qa(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function fS(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(uS(r)){const i=cS(t0(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${W8(r)+i}px`;const a=jr(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${W8(l)+i}px`})}let s;if(r.parentNode instanceof DocumentFragment)s=jr(r).body;else{const i=r.parentElement,a=t0(r);s=i?.nodeName==="HTML"&&a.getComputedStyle(i).overflowY==="scroll"?i:r}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:i,property:a})=>{s?i.style.setProperty(a,s):i.style.removeProperty(a)})}}function pS(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class hS{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Ms(t.modalRef,!1);const o=pS(n);z8(n,t.mount,t.modalRef,o,!0);const s=Qa(this.containers,i=>i.container===n);return s!==-1?(this.containers[s].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Qa(this.containers,s=>s.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=fS(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Qa(this.containers,i=>i.modals.includes(t)),s=this.containers[o];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(r,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&Ms(t.modalRef,n),z8(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(o,1);else{const i=s.modals[s.modals.length-1];i.modalRef&&Ms(i.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function H8(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const s=e[t],i=o||t;return s==null?null:s&&s.nodeType!==1?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}function U8(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;const n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode??r.host??null}}return!1}function i0(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}const el="data-mui-focusable";function mS(e){return e?e.hasAttribute(el)?e:e.querySelector(`[${el}]`):null}const gS=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function yS(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function CS(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function bS(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||CS(e))}function vS(e){const t=[],n=[];return Array.from(e.querySelectorAll(gS)).forEach((r,o)=>{const s=yS(r);s===-1||!bS(r)||(s===0?t.push(r):n.push({documentOrder:o,tabIndex:s,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function xS(){return!0}function a0(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:s=vS,isEnabled:i=xS,open:a}=e,l=Z.useRef(!1),c=Z.useRef(null),u=Z.useRef(null),d=Z.useRef(null),h=Z.useRef(null),m=Z.useRef(!1),g=Z.useRef(null),C=Rr(Xa(t),g),b=Z.useRef(null);Z.useEffect(()=>{!a||!g.current||(m.current=!n)},[n,a]),Z.useEffect(()=>{if(l.current=!1,!a||!g.current)return;const w=jr(g.current),x=i0(w),T=mS(g.current)??g.current;return U8(g.current,x)||(T.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
55
+ `)),T.setAttribute("tabIndex","-1")),m.current&&T.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),Z.useEffect(()=>{if(!a||!g.current)return;const w=jr(g.current),x=A=>{if(b.current=A,r||!i()||A.key!=="Tab")return;i0(w)===g.current&&A.shiftKey&&(l.current=!0,u.current&&u.current.focus())},T=()=>{const A=g.current;if(A===null)return;const I=i0(w);if(!w.hasFocus()||!i()||l.current){l.current=!1;return}if(U8(A,I)||r&&I!==c.current&&I!==u.current)return;if(I!==h.current)h.current=null;else if(h.current!==null)return;if(!m.current)return;let P=[];if((I===c.current||I===u.current)&&(P=s(g.current)),P.length>0){const R=!!(b.current?.shiftKey&&b.current?.key==="Tab"),W=P[0],S=P[P.length-1];typeof W!="string"&&typeof S!="string"&&(R?S.focus():W.focus())}else A.focus()};w.addEventListener("focusin",T),w.addEventListener("keydown",x,!0);const M=setInterval(()=>{const A=i0(w);A&&A.tagName==="BODY"&&T()},50);return()=>{clearInterval(M),w.removeEventListener("focusin",T),w.removeEventListener("keydown",x,!0)}},[n,r,o,i,a,s]);const v=w=>{d.current===null&&(d.current=w.relatedTarget),m.current=!0,h.current=w.target;const x=t.props.onFocus;x&&x(w)},k=w=>{d.current===null&&(d.current=w.relatedTarget),m.current=!0};return f.jsxs(Z.Fragment,{children:[f.jsx("div",{tabIndex:a?0:-1,onFocus:k,ref:c,"data-testid":"sentinelStart"}),Z.cloneElement(t,{ref:C,onFocus:v}),f.jsx("div",{tabIndex:a?0:-1,onFocus:k,ref:u,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(a0.propTypes={children:r0,disableAutoFocus:y.bool,disableEnforceFocus:y.bool,disableRestoreFocus:y.bool,getTabbable:y.func,isEnabled:y.func,open:y.bool.isRequired}),process.env.NODE_ENV!=="production"&&(a0.propTypes=l8(a0.propTypes));function wS(e){return typeof e=="function"?e():e}const l0=Z.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[i,a]=Z.useState(null),l=Rr(Z.isValidElement(r)?Xa(r):null,n);if(Ra(()=>{s||a(wS(o)||document.body)},[o,s]),Ra(()=>{if(i&&!s)return A8(n,i),()=>{A8(n,null)}},[n,i,s]),s){if(Z.isValidElement(r)){const c={ref:l};return Z.cloneElement(r,c)}return r}return i&&Ep.createPortal(r,i)});process.env.NODE_ENV!=="production"&&(l0.propTypes={children:y.node,container:y.oneOfType([H8,y.func]),disablePortal:y.bool}),process.env.NODE_ENV!=="production"&&(l0.propTypes=l8(l0.propTypes));function SS(e){return typeof e=="function"?e():e}function kS(e){return e?e.props.hasOwnProperty("in"):!1}const G8=()=>{},c0=new hS;function TS(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:i,children:a,onClose:l,open:c,rootRef:u}=e,d=Z.useRef({}),h=Z.useRef(null),m=Z.useRef(null),g=Rr(m,u),[C,b]=Z.useState(!c),v=kS(a);let k=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(k=!1);const w=()=>jr(h.current),x=()=>(d.current.modalRef=m.current,d.current.mount=h.current,d.current),T=()=>{c0.mount(x(),{disableScrollLock:r}),m.current&&(m.current.scrollTop=0)},M=ko(()=>{const N=SS(t)||w().body;c0.add(x(),N),m.current&&T()}),A=()=>c0.isTopModal(x()),I=ko(N=>{h.current=N,N&&(c&&A()?T():m.current&&Ms(m.current,k))}),P=Z.useCallback(()=>{c0.remove(x(),k)},[k]);Z.useEffect(()=>()=>{P()},[P]),Z.useEffect(()=>{c?M():(!v||!o)&&P()},[c,P,v,o,M]);const R=N=>U=>{N.onKeyDown?.(U),!(U.key!=="Escape"||U.which===229||!A())&&(n||(U.stopPropagation(),l&&l(U,"escapeKeyDown")))},W=N=>U=>{N.onClick?.(U),U.target===U.currentTarget&&l&&l(U,"backdropClick")};return{getRootProps:(N={})=>{const U=I8(e);delete U.onTransitionEnter,delete U.onTransitionExited;const se={...U,...N};return{role:"presentation",...se,onKeyDown:R(se),ref:g}},getBackdropProps:(N={})=>{const U=N;return{"aria-hidden":!0,...U,onClick:W(U),open:c}},getTransitionProps:()=>{const N=()=>{b(!1),s&&s()},U=()=>{b(!0),i&&i(),o&&P()};return{onEnter:Nd(N,a?.props.onEnter??G8),onExited:Nd(U,a?.props.onExited??G8)}},rootRef:g,portalRef:I,isTopModal:A,exited:C,hasTransition:v}}function ES(e){return Ft("MuiModal",e)}Vt("MuiModal",["root","hidden","backdrop"]);const MS=e=>{const{open:t,exited:n,classes:r}=e;return Jt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},ES,r)},OS=Ue("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Qt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),DS=Ue(s0,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),Y8=Z.forwardRef(function(t,n){const r=Ut({name:"MuiModal",props:t}),{BackdropComponent:o=DS,BackdropProps:s,classes:i,className:a,closeAfterTransition:l=!1,children:c,container:u,component:d,components:h={},componentsProps:m={},disableAutoFocus:g=!1,disableEnforceFocus:C=!1,disableEscapeKeyDown:b=!1,disablePortal:v=!1,disableRestoreFocus:k=!1,disableScrollLock:w=!1,hideBackdrop:x=!1,keepMounted:T=!1,onClose:M,onTransitionEnter:A,onTransitionExited:I,open:P,slotProps:R={},slots:W={},theme:S,...j}=r,_={...r,closeAfterTransition:l,disableAutoFocus:g,disableEnforceFocus:C,disableEscapeKeyDown:b,disablePortal:v,disableRestoreFocus:k,disableScrollLock:w,hideBackdrop:x,keepMounted:T},{getRootProps:N,getBackdropProps:U,getTransitionProps:se,portalRef:ue,isTopModal:B,exited:E,hasTransition:D}=TS({..._,rootRef:n}),L={..._,exited:E},$=MS(L),Y={};if(c.props.tabIndex===void 0&&(Y.tabIndex="-1"),D){const{onEnter:ie,onExited:Q}=se();Y.onEnter=ie,Y.onExited=Q}const re={slots:{root:h.Root,backdrop:h.Backdrop,...W},slotProps:{...m,...R}},[he,oe]=ln("root",{ref:n,elementType:OS,externalForwardedProps:{...re,...j,component:d},getSlotProps:N,ownerState:L,className:Xe(a,$?.root,!L.open&&L.exited&&$?.hidden)}),[X,te]=ln("backdrop",{ref:s?.ref,elementType:o,externalForwardedProps:re,shouldForwardComponentProp:!0,additionalProps:s,getSlotProps:ie=>U({...ie,onClick:Q=>{ie?.onClick&&ie.onClick(Q)}}),className:Xe(s?.className,$?.backdrop),ownerState:L});return!T&&!P&&(!D||E)?null:f.jsx(l0,{ref:ue,container:u,disablePortal:v,children:f.jsxs(he,{...oe,children:[!x&&o?f.jsx(X,{...te}):null,f.jsx(a0,{disableEnforceFocus:C,disableAutoFocus:g,disableRestoreFocus:k,isEnabled:B,open:P,children:Z.cloneElement(c,Y)})]})})});process.env.NODE_ENV!=="production"&&(Y8.propTypes={BackdropComponent:y.elementType,BackdropProps:y.object,children:r0.isRequired,classes:y.object,className:y.string,closeAfterTransition:y.bool,component:y.elementType,components:y.shape({Backdrop:y.elementType,Root:y.elementType}),componentsProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object])}),container:y.oneOfType([H8,y.func]),disableAutoFocus:y.bool,disableEnforceFocus:y.bool,disableEscapeKeyDown:y.bool,disablePortal:y.bool,disableRestoreFocus:y.bool,disableScrollLock:y.bool,hideBackdrop:y.bool,keepMounted:y.bool,onClose:y.func,onTransitionEnter:y.func,onTransitionExited:y.func,open:y.bool.isRequired,slotProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object])}),slots:y.shape({backdrop:y.elementType,root:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});function AS(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function q8(e,t,n,r){const o=e[t];if(o==null||!Number.isInteger(o)){const s=AS(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function K8(e,t,n,r){return e[t]===void 0?null:q8(e,t,n,r)}function tl(){return null}K8.isRequired=q8,tl.isRequired=tl;const Oo=process.env.NODE_ENV==="production"?tl:K8;function IS(e){return Ft("MuiPaper",e)}Vt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const PS=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Jt(s,IS,o)},LS=Ue("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(Qt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),nl=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiPaper"}),o=Ha(),{className:s,component:i="div",elevation:a=1,square:l=!1,variant:c="elevation",...u}=r,d={...r,component:i,elevation:a,square:l,variant:c},h=PS(d);return process.env.NODE_ENV!=="production"&&o.shadows[a]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${a}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${a}]\` is defined.`].join(`
56
+ `)),f.jsx(LS,{as:i,ownerState:d,className:Xe(h.root,s),ref:n,...u,style:{...c==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[a],...o.vars&&{"--Paper-overlay":o.vars.overlays?.[a]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Zi("#fff",Wa(a))}, ${Zi("#fff",Wa(a))})`}},...u.style}})});process.env.NODE_ENV!=="production"&&(nl.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,elevation:Ts(Oo,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:y.bool,style:y.object,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["elevation","outlined"]),y.string])});function jS(e){return Ft("MuiDialog",e)}const rl=Vt("MuiDialog",["root","backdrop","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Z8=Z.createContext({});process.env.NODE_ENV!=="production"&&(Z8.displayName="DialogContext");const RS=Ue(s0,{name:"MuiDialog",slot:"Backdrop"})({zIndex:-1}),_S=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:s}=e,i={root:["root"],backdrop:["backdrop"],container:["container",`scroll${Ne(n)}`],paper:["paper",`paperScroll${Ne(n)}`,`paperWidth${Ne(String(r))}`,o&&"paperFullWidth",s&&"paperFullScreen"]};return Jt(i,jS,t)},BS=Ue(Y8,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),NS=Ue("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${Ne(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),$S=Ue(nl,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${Ne(n.scroll)}`],t[`paperWidth${Ne(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(Qt(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${rl.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${rl.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${rl.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),X8=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiDialog"}),o=Ha(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":a,"aria-modal":l=!0,BackdropComponent:c,BackdropProps:u,children:d,className:h,disableEscapeKeyDown:m=!1,fullScreen:g=!1,fullWidth:C=!1,maxWidth:b="sm",onClick:v,onClose:k,open:w,PaperComponent:x=nl,PaperProps:T={},role:M="dialog",scroll:A="paper",slots:I={},slotProps:P={},TransitionComponent:R=o0,transitionDuration:W=s,TransitionProps:S,...j}=r,_={...r,disableEscapeKeyDown:m,fullScreen:g,fullWidth:C,maxWidth:b,scroll:A},N=_S(_),U=Z.useRef(),se=ke=>{U.current=ke.target===ke.currentTarget},ue=ke=>{v&&v(ke),U.current&&(U.current=null,k&&k(ke,"backdropClick"))},B=d8(a),E=Z.useMemo(()=>({titleId:B}),[B]),D={transition:R,...I},L={transition:S,paper:T,backdrop:u,...P},$={slots:D,slotProps:L},[Y,re]=ln("root",{elementType:BS,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_,className:Xe(N.root,h),ref:n}),[he,oe]=ln("backdrop",{elementType:RS,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_,className:N.backdrop}),[X,te]=ln("paper",{elementType:$S,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:_,className:N.paper,additionalProps:{elevation:24,role:M,"aria-describedby":i,"aria-labelledby":B,"aria-modal":l,tabIndex:-1,[el]:""}}),[ie,Q]=ln("container",{elementType:NS,externalForwardedProps:$,ownerState:_,className:N.container}),[q,xe]=ln("transition",{elementType:o0,externalForwardedProps:$,ownerState:_,additionalProps:{appear:!0,in:w,timeout:W,role:"presentation"}});return f.jsx(Y,{closeAfterTransition:!0,slots:{backdrop:he},slotProps:{backdrop:{transitionDuration:W,as:c,...oe}},disableEscapeKeyDown:m,onClose:k,open:w,onClick:ue,...re,...j,children:f.jsx(q,{...xe,children:f.jsx(ie,{onMouseDown:se,...Q,children:f.jsx(X,{as:x,...te,children:f.jsx(Z8.Provider,{value:E,children:d})})})})})});process.env.NODE_ENV!=="production"&&(X8.propTypes={"aria-describedby":y.string,"aria-labelledby":y.string,"aria-modal":y.oneOfType([y.oneOf(["false","true"]),y.bool]),BackdropComponent:y.elementType,BackdropProps:y.object,children:y.node,classes:y.object,className:y.string,disableEscapeKeyDown:y.bool,fullScreen:y.bool,fullWidth:y.bool,maxWidth:y.oneOfType([y.oneOf(["xs","sm","md","lg","xl",!1]),y.string]),onClick:y.func,onClose:y.func,open:y.bool.isRequired,PaperComponent:y.elementType,PaperProps:y.object,role:y.oneOf(["alertdialog","dialog"]),scroll:y.oneOf(["body","paper"]),slotProps:y.shape({backdrop:y.oneOfType([y.func,y.object]),container:y.oneOfType([y.func,y.object]),paper:y.oneOfType([y.func,y.object]),root:y.oneOfType([y.func,y.object]),transition:y.oneOfType([y.func,y.object])}),slots:y.shape({backdrop:y.elementType,container:y.elementType,paper:y.elementType,root:y.elementType,transition:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),TransitionComponent:y.elementType,transitionDuration:y.oneOfType([y.number,y.shape({appear:y.number,enter:y.number,exit:y.number})]),TransitionProps:y.object});function ol({children:e,handleClose:t,open:n,isMainDialog:r}){return f.jsx(X8,{open:n,onClose:t,scroll:r?"paper":void 0,fullWidth:!r,maxWidth:r?void 0:"md",PaperProps:{sx:r?{position:"fixed",top:30,right:30,m:0,width:400,height:450,display:"flex",flexDirection:"column",borderRadius:2,boxShadow:6,backgroundColor:o=>o.palette.primary.notifyBackground}:{minHeight:250,maxHeight:500,borderRadius:"1.5rem",boxShadow:6,backgroundColor:o=>o.palette.primary.appBackground}},children:e})}function FS({children:e,...t}){return f.jsx(At,{children:f.jsx(ol,{...t,children:e})})}const VS=({rightChild:e,leftChild:t,isDrawerMerged:n,isDrawerOpen:r,drawerTitle:o,showExpand:s,onCloseClick:i,onMergeClick:a,onExpandClick:l,isDrawerExpanded:c,styles:u,showMerge:d,isCloseVisible:h=!0})=>{const m=O.useTheme(),g=p.useRef(null),C=r&&!n;return go(g,{enabled:C,onEscape:i,autoFocus:!0,restoreFocus:!0}),f.jsx(O.Box,{sx:{position:"relative",overflow:"hidden"},children:f.jsxs(O.Grid,{container:!0,sx:{height:"100%"},children:[f.jsx(O.Grid,{item:!0,sx:{width:n?u?.drawerWidth?`calc(${"100%"-u?.drawerWidth})`:"75%":"100%",position:"relative",zIndex:3,height:"calc(100vh - 7rem)",p:"0rem 1.5rem",overflow:"auto"},children:t}),r&&!n&&f.jsx(f.Fragment,{children:f.jsx(O.Box,{onClick:i,sx:{position:"fixed",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#07080B80",backdropFilter:"blur(3px)",zIndex:3,transition:"opacity 0.3s ease-in-out"}})}),e&&f.jsxs(O.Grid,{item:!0,ref:g,inert:!r||void 0,role:C?"dialog":void 0,"aria-modal":C||void 0,"aria-label":C?o:void 0,sx:{width:c?"90%":u?.drawerWidth||"25%",position:n?"relative":"absolute",top:0,right:0,height:"calc(100vh - 7rem)",backgroundColor:m.palette.primary.notifyBackground,transform:r?"translateX(0)":"translateX(100%)",transition:"transform 0.4s ease-in-out , width 0.4s ease-in-out",zIndex:4,borderLeft:`0.1rem solid ${m.palette.primary.notifyBorderColor}`,display:"flex",flexDirection:"column"},children:[f.jsxs(O.Stack,{direction:"row",alignItems:"center",sx:{width:"100%",flexShrink:0,paddingBottom:"0.8rem",px:2,pt:"0.8rem",borderBottom:b=>`0.1rem solid ${b.palette.primary.notifyBorderColor}`},children:[!c&&d&&f.jsxs(f.Fragment,{children:[f.jsx(O.Box,{component:"img",src:Te.Merge,role:"button",tabIndex:0,"aria-label":"Merge",sx:{display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",...xt()},onClick:a,onKeyDown:wt(a)}),f.jsx(O.Divider,{orientation:"vertical",flexItem:!0,sx:{mx:"1rem",height:"auto!important",borderColor:m.palette.primary.notifyBorderColor}})]}),f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",flexGrow:1,children:[f.jsxs(O.Stack,{direction:"row",gap:"0.5rem",alignItems:"center",sx:{cursor:"pointer"},children:[h&&f.jsx(O.Box,{onClick:i,onKeyDown:wt(i),role:"button",tabIndex:0,"aria-label":"Close",sx:xt(),children:f.jsx(Ct,{url:Te.CrossLight})}),f.jsx(O.Typography,{sx:{fontSize:"1.2rem",color:m.palette.primary.notifyTextColor},children:o})]}),f.jsx(O.Stack,{direction:"row",gap:"0.5rem",alignItems:"center",children:s&&f.jsx(O.Box,{onClick:l,onKeyDown:wt(l),role:"button",tabIndex:0,"aria-label":c?"Collapse":"Expand",sx:{cursor:"pointer",...xt()},children:f.jsx(O.Box,{component:"img",src:c?Te.Collapse:Te.Expand})})})]})]}),f.jsx(O.Box,{sx:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},overflow:"auto",px:2},children:e})]})]})})},J8=({layoutChildren:e,layoutProps:t})=>f.jsx(At,{children:f.jsx(VS,{...e,...t})});J8.propTypes={layoutChildren:y.object.isRequired,layoutProps:y.object.isRequired};const sl=({list:e,handleLinkClick:t})=>{const n=O.useTheme(),{t:r}=p.useContext(Nt),o=({list:s})=>s?.sort((i,a)=>i.order-a.order)?.map((i,a)=>i?.link?f.jsx(O.List,{component:"button",type:"button",sx:{fontSize:"1rem",cursor:"pointer",border:"none",background:"none",font:"inherit",padding:0,color:a===s?.length-1?n.palette.brandColor.orange:n.palette.primary.notifyTextColor,...xt()},onClick:()=>t(i),children:r(i?.title)},a):f.jsx(O.Typography,{component:"h3",sx:{fontSize:"1rem",color:a===s?.length-1?n.palette.brandColor.orange:n.palette.primary.notifyTextColor},children:r(i?.title)},a));return f.jsx(O.Breadcrumbs,{separator:f.jsx(Ct,{url:Te.ArrowRight}),children:o({list:e})})};sl.propTypes={list:y.array.isRequired,handleLinkClick:y.func};function WS({...e}){return f.jsx(At,{children:f.jsx(sl,{...e})})}const Q8=({breadcrumbProps:e,switchProps:t,filterComponentProps:n,metaDataProps:r,metaJSXProps:o})=>{const s=O.useTheme(),{t:i}=p.useContext(Nt),a=n?.filterBtnProps?.disabled;return f.jsxs(f.Fragment,{children:[f.jsxs(O.Stack,{sx:{background:s.palette.primary.notifyBackground,borderBottom:`0.1rem solid ${s.palette.primary.notifyBorderColor}`,height:"3rem",p:"0px 1.5rem 0 1.5rem",zIndex:4,position:"relative"},direction:"row",justifyContent:"space-between",alignItems:"center",children:[f.jsx(sl,{...e}),f.jsxs(O.Stack,{direction:"row",gap:"1rem",alignItems:"center",children:[r,o?.metaJSX&&o.metaJSX(),t&&f.jsx(Vu,{...t}),n?.filterBtnProps&&f.jsxs(O.Stack,{direction:"row",children:[f.jsx(O.Divider,{orientation:"vertical",flexItem:!0,sx:{mx:"1rem",height:"2rem!important",opacity:"1!important",borderColor:s.palette.primary.notifyBorderColor}}),f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"0.5rem",role:"button",tabIndex:a?-1:0,"aria-disabled":a,onClick:a?void 0:n?.filterBtnProps?.onFilterClick,onKeyDown:a?void 0:wt(n?.filterBtnProps?.onFilterClick),sx:{opacity:a?.5:1,cursor:a?"not-allowed":"pointer",...xt()},children:[f.jsx(Ct,{url:Te.Filter}),f.jsx(O.Typography,{sx:{fontSize:"1.1rem",color:s.palette.primary.notifyActiveText},children:i(n?.filterBtnProps?.label)})]})]})]})]}),f.jsx(ur.div,{layout:!0,initial:{height:"0rem"},animate:{height:n?.filterBtnProps?.filterContainerVisible?"5rem":"0rem",opacity:n?.filterBtnProps?.filterContainerVisible?1:0},transition:{duration:.5,ease:"easeInOut"},style:{background:s.palette.primary.notifyBackground,borderBottom:`0.1rem solid ${s.palette.primary.notifyBorderColor}`,padding:"0px 5.5rem 0 1.5rem",position:"relative",alignItems:"center",display:"flex",overflow:"hidden",width:n?.filterContainerProps?.isSideDrawerOpen?"75%":"100%"},children:f.jsxs(O.Stack,{sx:{background:s.palette.primary.appBackground,height:"3.8rem",p:"0 2rem",width:"100%",borderRadius:"0.7rem",overflow:"visible"},direction:"row",alignItems:"center",children:[f.jsxs(O.Typography,{sx:{fontSize:"1.2rem",fontWeight:"500",color:s.palette.primary.notifyActiveText},children:[n?.labels?.description||i("Filters")," :"]}),f.jsx(O.Box,{sx:{overflowX:"auto",overflowY:"visible",whiteSpace:"nowrap",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},margin:"0 1rem",padding:"0.5rem 0",flexGrow:1},children:f.jsx(O.Stack,{direction:"row",gap:"1.2rem",sx:{overflow:"visible"},children:n?.filterItems?.map((l,c)=>f.jsx(f.Fragment,{children:f.jsxs(O.Box,{sx:{position:"relative",overflow:"visible",border:`0.1rem solid ${s.palette.primary.notifyBorderColor}`,background:s.palette.primary.notifyBackground,borderRadius:"0.6rem",padding:"0.3rem 1.1rem",display:"inline-block"},children:[f.jsx(O.Box,{component:"img",src:Te.FilterClose,role:"button",tabIndex:0,"aria-label":"Remove filter",sx:{position:"absolute",top:"-0.4rem",right:"-0.6rem",cursor:"pointer",...xt()},onClick:()=>n?.onFilterChipClose(l),onKeyDown:wt(()=>n?.onFilterChipClose(l))}),f.jsx(O.Typography,{sx:{fontSize:"1rem",color:s.palette.primary.notifyTextColor},children:l?.filterLabel})]},c)}))})}),f.jsx(O.Box,{component:O.Typography,role:"button",tabIndex:0,sx:{fontSize:"1.1rem",fontWeight:"500",textDecoration:"underline",color:s.palette.brandColor.red,cursor:"pointer",...xt()},onClick:n?.filterContainerProps?.onClearClick,onKeyDown:wt(n?.filterContainerProps?.onClearClick),children:n?.labels?.button||i("Clear")})]})})]})};Q8.propTypes={breadcrumbProps:y.object.isRequired,switchProps:y.object};function ef({headerProps:e}){return f.jsx(At,{children:f.jsx(Q8,{...e})})}ef.propTypes={headerProps:y.object.isRequired};function tf(e,t){return function(){return e.apply(t,arguments)}}const{toString:zS}=Object.prototype,{getPrototypeOf:u0}=Object,{iterator:d0,toStringTag:nf}=Symbol,f0=(e=>t=>{const n=zS.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),kn=e=>(e=e.toLowerCase(),t=>f0(t)===e),p0=e=>t=>typeof t===e,{isArray:$r}=Array,Do=p0("undefined");function Ao(e){return e!==null&&!Do(e)&&e.constructor!==null&&!Do(e.constructor)&&en(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const rf=kn("ArrayBuffer");function HS(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&rf(e.buffer),t}const US=p0("string"),en=p0("function"),of=p0("number"),Os=e=>e!==null&&typeof e=="object",GS=e=>e===!0||e===!1,h0=e=>{if(f0(e)!=="object")return!1;const t=u0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(nf in e)&&!(d0 in e)},YS=e=>{if(!Os(e)||Ao(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},qS=kn("Date"),KS=kn("File"),ZS=e=>!!(e&&typeof e.uri<"u"),XS=e=>e&&typeof e.getParts<"u",JS=kn("Blob"),QS=kn("FileList"),ek=e=>Os(e)&&en(e.pipe);function tk(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const sf=tk(),af=typeof sf.FormData<"u"?sf.FormData:void 0,nk=e=>{if(!e)return!1;if(af&&e instanceof af)return!0;const t=u0(e);if(!t||t===Object.prototype||!en(e.append))return!1;const n=f0(e);return n==="formdata"||n==="object"&&en(e.toString)&&e.toString()==="[object FormData]"},rk=kn("URLSearchParams"),[ok,sk,ik,ak]=["ReadableStream","Request","Response","Headers"].map(kn),lk=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ds(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),$r(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Ao(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function lf(e,t){if(Ao(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cf=e=>!Do(e)&&e!==Fr;function il(...e){const{caseless:t,skipUndefined:n}=cf(this)&&this||{},r={},o=(s,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const a=t&&typeof i=="string"&&lf(r,i)||i,l=al(r,a)?r[a]:void 0;h0(l)&&h0(s)?r[a]=il(l,s):h0(s)?r[a]=il({},s):$r(s)?r[a]=s.slice():(!n||!Do(s))&&(r[a]=s)};for(let s=0,i=e.length;s<i;s++){const a=e[s];if(!a||Ao(a)||(Ds(a,o),typeof a!="object"||$r(a)))continue;const l=Object.getOwnPropertySymbols(a);for(let c=0;c<l.length;c++){const u=l[c];vk.call(a,u)&&o(a[u],u)}}return r}const ck=(e,t,n,{allOwnKeys:r}={})=>(Ds(t,(o,s)=>{n&&en(o)?Object.defineProperty(e,s,{__proto__:null,value:tf(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),uk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dk=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},fk=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&u0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pk=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},hk=e=>{if(!e)return null;if($r(e))return e;let t=e.length;if(!of(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},mk=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&u0(Uint8Array)),gk=(e,t)=>{const r=(e&&e[d0]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},yk=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Ck=kn("HTMLFormElement"),bk=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),al=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),{propertyIsEnumerable:vk}=Object.prototype,xk=kn("RegExp"),uf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ds(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},wk=e=>{uf(e,(t,n)=>{if(en(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(en(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Sk=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return $r(e)?r(e):r(String(e).split(t)),n},kk=()=>{},Tk=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Ek(e){return!!(e&&en(e.append)&&e[nf]==="FormData"&&e[d0])}const Mk=e=>{const t=new WeakSet,n=r=>{if(Os(r)){if(t.has(r))return;if(Ao(r))return r;if(!("toJSON"in r)){t.add(r);const o=$r(r)?[]:{};return Ds(r,(s,i)=>{const a=n(s);!Do(a)&&(o[i]=a)}),t.delete(r),o}}return r};return n(e)},Ok=kn("AsyncFunction"),Dk=e=>e&&(Os(e)||en(e))&&en(e.then)&&en(e.catch),df=((e,t)=>e?setImmediate:t?((n,r)=>(Fr.addEventListener("message",({source:o,data:s})=>{o===Fr&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Fr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",en(Fr.postMessage)),Ak=typeof queueMicrotask<"u"?queueMicrotask.bind(Fr):typeof process<"u"&&process.nextTick||df,z={isArray:$r,isArrayBuffer:rf,isBuffer:Ao,isFormData:nk,isArrayBufferView:HS,isString:US,isNumber:of,isBoolean:GS,isObject:Os,isPlainObject:h0,isEmptyObject:YS,isReadableStream:ok,isRequest:sk,isResponse:ik,isHeaders:ak,isUndefined:Do,isDate:qS,isFile:KS,isReactNativeBlob:ZS,isReactNative:XS,isBlob:JS,isRegExp:xk,isFunction:en,isStream:ek,isURLSearchParams:rk,isTypedArray:mk,isFileList:QS,forEach:Ds,merge:il,extend:ck,trim:lk,stripBOM:uk,inherits:dk,toFlatObject:fk,kindOf:f0,kindOfTest:kn,endsWith:pk,toArray:hk,forEachEntry:gk,matchAll:yk,isHTMLForm:Ck,hasOwnProperty:al,hasOwnProp:al,reduceDescriptors:uf,freezeMethods:wk,toObjectSet:Sk,toCamelCase:bk,noop:kk,toFiniteNumber:Tk,findKey:lf,global:Fr,isContextDefined:cf,isSpecCompliantForm:Ek,toJSONObject:Mk,isAsyncFn:Ok,isThenable:Dk,setImmediate:df,asap:Ak,isIterable:e=>e!=null&&en(e[d0])},Ik=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Pk=e=>{const t={};let n,r,o;return e&&e.split(`
57
+ `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Ik[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};function Lk(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const jk=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Rk=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ll(e,t){return z.isArray(e)?e.map(n=>ll(n,t)):Lk(String(e).replace(t,""))}const _k=e=>ll(e,jk),Bk=e=>ll(e,Rk);function ff(e){const t=Object.create(null);return z.forEach(e.toJSON(),(n,r)=>{t[r]=Bk(n)}),t}const pf=Symbol("internals");function As(e){return e&&String(e).trim().toLowerCase()}function m0(e){return e===!1||e==null?e:z.isArray(e)?e.map(m0):_k(String(e))}function Nk(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const $k=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function cl(e,t,n,r,o){if(z.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!z.isString(t)){if(z.isString(r))return t.indexOf(r)!==-1;if(z.isRegExp(r))return r.test(t)}}function Fk(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Vk(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}let Gt=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,c){const u=As(l);if(!u)return;const d=z.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=m0(a))}const i=(a,l)=>z.forEach(a,(c,u)=>s(c,u,l));if(z.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(z.isString(t)&&(t=t.trim())&&!$k(t))i(Pk(t),n);else if(z.isObject(t)&&z.isIterable(t)){let a={},l,c;for(const u of t){if(!z.isArray(u))throw new TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?z.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}i(a,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=As(t),t){const r=z.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Nk(o);if(z.isFunction(n))return n.call(this,o,r);if(z.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=As(t),t){const r=z.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||cl(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=As(i),i){const a=z.findKey(r,i);a&&(!n||cl(r,r[a],a,n))&&(delete r[a],o=!0)}}return z.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||cl(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return z.forEach(this,(o,s)=>{const i=z.findKey(r,s);if(i){n[i]=m0(o),delete n[s];return}const a=t?Fk(s):String(s).trim();a!==s&&delete n[s],n[a]=m0(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&z.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
58
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[pf]=this[pf]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=As(i);r[a]||(Vk(o,i),r[a]=!0)}return z.isArray(t)?t.forEach(s):s(t),this}};Gt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),z.reduceDescriptors(Gt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),z.freezeMethods(Gt);const Wk="[REDACTED ****]";function zk(e){if(z.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(z.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Hk(e,t){const n=new Set(t.map(s=>String(s).toLowerCase())),r=[],o=s=>{if(s===null||typeof s!="object"||z.isBuffer(s))return s;if(r.indexOf(s)!==-1)return;s instanceof Gt&&(s=s.toJSON()),r.push(s);let i;if(z.isArray(s))i=[],s.forEach((a,l)=>{const c=o(a);z.isUndefined(c)||(i[l]=c)});else{if(!z.isPlainObject(s)&&zk(s))return r.pop(),s;i=Object.create(null);for(const[a,l]of Object.entries(s)){const c=n.has(a.toLowerCase())?Wk:o(l);z.isUndefined(c)||(i[a]=c)}}return r.pop(),i};return o(e)}let be=class kp extends Error{static from(t,n,r,o,s,i){const a=new kp(t.message,n||t.code,r,o,s);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),i&&Object.assign(a,i),a}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){const t=this.config,n=t&&z.hasOwnProp(t,"redact")?t.redact:void 0,r=z.isArray(n)&&n.length>0?Hk(t,n):z.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};be.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",be.ERR_BAD_OPTION="ERR_BAD_OPTION",be.ECONNABORTED="ECONNABORTED",be.ETIMEDOUT="ETIMEDOUT",be.ECONNREFUSED="ECONNREFUSED",be.ERR_NETWORK="ERR_NETWORK",be.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",be.ERR_DEPRECATED="ERR_DEPRECATED",be.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",be.ERR_BAD_REQUEST="ERR_BAD_REQUEST",be.ERR_CANCELED="ERR_CANCELED",be.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",be.ERR_INVALID_URL="ERR_INVALID_URL",be.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Uk=null;function ul(e){return z.isPlainObject(e)||z.isArray(e)}function hf(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function dl(e,t,n){return e?e.concat(t).map(function(o,s){return o=hf(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Gk(e){return z.isArray(e)&&!e.some(ul)}const Yk=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function g0(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,v){return!z.isUndefined(v[b])});const r=n.metaTokens,o=n.visitor||d,s=n.dots,i=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?100:n.maxDepth,c=a&&z.isSpecCompliantForm(t);if(!z.isFunction(o))throw new TypeError("visitor must be a function");function u(C){if(C===null)return"";if(z.isDate(C))return C.toISOString();if(z.isBoolean(C))return C.toString();if(!c&&z.isBlob(C))throw new be("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(C)||z.isTypedArray(C)?c&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function d(C,b,v){let k=C;if(z.isReactNative(t)&&z.isReactNativeBlob(C))return t.append(dl(v,b,s),u(C)),!1;if(C&&!v&&typeof C=="object"){if(z.endsWith(b,"{}"))b=r?b:b.slice(0,-2),C=JSON.stringify(C);else if(z.isArray(C)&&Gk(C)||(z.isFileList(C)||z.endsWith(b,"[]"))&&(k=z.toArray(C)))return b=hf(b),k.forEach(function(x,T){!(z.isUndefined(x)||x===null)&&t.append(i===!0?dl([b],T,s):i===null?b:b+"[]",u(x))}),!1}return ul(C)?!0:(t.append(dl(v,b,s),u(C)),!1)}const h=[],m=Object.assign(Yk,{defaultVisitor:d,convertValue:u,isVisitable:ul});function g(C,b,v=0){if(!z.isUndefined(C)){if(v>l)throw new be("Object is too deeply nested ("+v+" levels). Max depth: "+l,be.ERR_FORM_DATA_DEPTH_EXCEEDED);if(h.indexOf(C)!==-1)throw new Error("Circular reference detected in "+b.join("."));h.push(C),z.forEach(C,function(w,x){(!(z.isUndefined(w)||w===null)&&o.call(t,w,z.isString(x)?x.trim():x,b,m))===!0&&g(w,b?b.concat(x):[x],v+1)}),h.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return g(e),t}function mf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function fl(e,t){this._pairs=[],e&&g0(e,this,t)}const gf=fl.prototype;gf.append=function(t,n){this._pairs.push([t,n])},gf.toString=function(t){const n=t?function(r){return t.call(this,r,mf)}:mf;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function qk(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function yf(e,t,n){if(!t)return e;const r=n&&n.encode||qk,o=z.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let i;if(s?i=s(t,o):i=z.isURLSearchParams(t)?t.toString():new fl(t,o).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Cf{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(r){r!==null&&t(r)})}}const pl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1},Kk={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:fl,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},hl=typeof window<"u"&&typeof document<"u",ml=typeof navigator=="object"&&navigator||void 0,Zk=hl&&(!ml||["ReactNative","NativeScript","NS"].indexOf(ml.product)<0),Xk=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Jk=hl&&window.location.href||"http://localhost",_t={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:hl,hasStandardBrowserEnv:Zk,hasStandardBrowserWebWorkerEnv:Xk,navigator:ml,origin:Jk},Symbol.toStringTag,{value:"Module"})),...Kk};function Qk(e,t){return g0(e,new _t.classes.URLSearchParams,{visitor:function(n,r,o,s){return _t.isNode&&z.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function eT(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function tT(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function bf(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&z.isArray(o)?o.length:i,l?(z.hasOwnProp(o,i)?o[i]=z.isArray(o[i])?o[i].concat(r):[o[i],r]:o[i]=r,!a):((!z.hasOwnProp(o,i)||!z.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&z.isArray(o[i])&&(o[i]=tT(o[i])),!a)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(r,o)=>{t(eT(r),o,n,0)}),n}return null}const Io=(e,t)=>e!=null&&z.hasOwnProp(e,t)?e[t]:void 0;function nT(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Is={transitional:pl,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=z.isObject(t);if(s&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return o?JSON.stringify(bf(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t)||z.isReadableStream(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){const l=Io(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return Qk(t,l).toString();if((a=z.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=Io(this,"env"),u=c&&c.FormData;return g0(a?{"files[]":t}:t,u&&new u,l)}}return s||o?(n.setContentType("application/json",!1),nT(t)):t}],transformResponse:[function(t){const n=Io(this,"transitional")||Is.transitional,r=n&&n.forcedJSONParsing,o=Io(this,"responseType"),s=o==="json";if(z.isResponse(t)||z.isReadableStream(t))return t;if(t&&z.isString(t)&&(r&&!o||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,Io(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?be.from(l,be.ERR_BAD_RESPONSE,this,null,Io(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_t.classes.FormData,Blob:_t.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch","query"],e=>{Is.headers[e]={}});function gl(e,t){const n=this||Is,r=t||n,o=Gt.from(r.headers);let s=r.data;return z.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function vf(e){return!!(e&&e.__CANCEL__)}let Ps=class extends be{constructor(t,n,r){super(t??"canceled",be.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function xf(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new be("Request failed with status code "+n.status,n.status>=400&&n.status<500?be.ERR_BAD_REQUEST:be.ERR_BAD_RESPONSE,n.config,n.request,n))}function rT(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function oT(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[s];i||(i=c),n[o]=l,r[o]=c;let d=s,h=0;for(;d!==o;)h+=n[d++],d=d%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-i<t)return;const m=u&&c-u;return m?Math.round(h*1e3/m):void 0}}function sT(e,t){let n=0,r=1e3/t,o,s;const i=(c,u=Date.now())=>{n=u,o=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?i(c,u):(o=c,s||(s=setTimeout(()=>{s=null,i(o)},r-d)))},()=>o&&i(o)]}const y0=(e,t,n=3)=>{let r=0;const o=oT(50,250);return sT(s=>{if(!s||typeof s.loaded!="number")return;const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=a!=null?Math.min(i,a):i,c=Math.max(0,l-r),u=o(c);r=Math.max(r,l);const d={loaded:l,total:a,progress:a?l/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a?(a-l)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},wf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Sf=e=>(...t)=>z.asap(()=>e(...t)),iT=_t.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,_t.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(_t.origin),_t.navigator&&/(msie|trident)/i.test(_t.navigator.userAgent)):()=>!0,aT=_t.hasStandardBrowserEnv?{write(e,t,n,r,o,s,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];z.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),z.isString(r)&&a.push(`path=${r}`),z.isString(o)&&a.push(`domain=${o}`),s===!0&&a.push("secure"),z.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),o=r.indexOf("=");if(o!==-1&&r.slice(0,o)===e)return decodeURIComponent(r.slice(o+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function lT(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function kf(e,t,n){let r=!lT(t);return e&&(r||n===!1)?cT(e,t):t}const Tf=e=>e instanceof Gt?{...e}:e;function Vr(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(c,u,d,h){return z.isPlainObject(c)&&z.isPlainObject(u)?z.merge.call({caseless:h},c,u):z.isPlainObject(u)?z.merge({},u):z.isArray(u)?u.slice():u}function o(c,u,d,h){if(z.isUndefined(u)){if(!z.isUndefined(c))return r(void 0,c,d,h)}else return r(c,u,d,h)}function s(c,u){if(!z.isUndefined(u))return r(void 0,u)}function i(c,u){if(z.isUndefined(u)){if(!z.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,d){if(z.hasOwnProp(t,d))return r(c,u);if(z.hasOwnProp(e,d))return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:a,headers:(c,u,d)=>o(Tf(c),Tf(u),d,!0)};return z.forEach(Object.keys({...e,...t}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const d=z.hasOwnProp(l,u)?l[u]:o,h=z.hasOwnProp(e,u)?e[u]:void 0,m=z.hasOwnProp(t,u)?t[u]:void 0,g=d(h,m,u);z.isUndefined(g)&&d!==a||(n[u]=g)}),n}const uT=["content-type","content-length"];function dT(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach(([r,o])=>{uT.includes(r.toLowerCase())&&e.set(r,o)})}const fT=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function Ef(e){const t=Vr({},e),n=h=>z.hasOwnProp(t,h)?t[h]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),i=n("xsrfCookieName");let a=n("headers");const l=n("auth"),c=n("baseURL"),u=n("allowAbsoluteUrls"),d=n("url");if(t.headers=a=Gt.from(a),t.url=yf(kf(c,d,u),n("params"),n("paramsSerializer")),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?fT(l.password):""))),z.isFormData(r)&&(_t.hasStandardBrowserEnv||_t.hasStandardBrowserWebWorkerEnv||z.isReactNative(r)?a.setContentType(void 0):z.isFunction(r.getHeaders)&&dT(a,r.getHeaders(),n("formDataHeaderPolicy"))),_t.hasStandardBrowserEnv&&(z.isFunction(o)&&(o=o(t)),o===!0||o==null&&iT(t.url))){const m=s&&i&&aT.read(i);m&&a.set(s,m)}return t}const pT=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=Ef(e);let s=o.data;const i=Gt.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,d,h,m,g;function C(){m&&m(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function v(){if(!b)return;const w=Gt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),T={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:w,config:e,request:b};xf(function(A){n(A),C()},function(A){r(A),C()},T),b=null}"onloadend"in b?b.onloadend=v:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.startsWith("file:"))||setTimeout(v)},b.onabort=function(){b&&(r(new be("Request aborted",be.ECONNABORTED,e,b)),C(),b=null)},b.onerror=function(x){const T=x&&x.message?x.message:"Network Error",M=new be(T,be.ERR_NETWORK,e,b);M.event=x||null,r(M),C(),b=null},b.ontimeout=function(){let x=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const T=o.transitional||pl;o.timeoutErrorMessage&&(x=o.timeoutErrorMessage),r(new be(x,T.clarifyTimeoutError?be.ETIMEDOUT:be.ECONNABORTED,e,b)),C(),b=null},s===void 0&&i.setContentType(null),"setRequestHeader"in b&&z.forEach(ff(i),function(x,T){b.setRequestHeader(T,x)}),z.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),a&&a!=="json"&&(b.responseType=o.responseType),c&&([h,g]=y0(c,!0),b.addEventListener("progress",h)),l&&b.upload&&([d,m]=y0(l),b.upload.addEventListener("progress",d),b.upload.addEventListener("loadend",m)),(o.cancelToken||o.signal)&&(u=w=>{b&&(r(!w||w.type?new Ps(null,e,b):w),b.abort(),C(),b=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const k=rT(o.url);if(k&&!_t.protocols.includes(k)){r(new be("Unsupported protocol "+k+":",be.ERR_BAD_REQUEST,e));return}b.send(s||null)})},hT=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(l){if(!r){r=!0,i();const c=l instanceof Error?l:this.reason;n.abort(c instanceof be?c:new Ps(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,o(new be(`timeout of ${t}ms exceeded`,be.ETIMEDOUT))},t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(o):l.removeEventListener("abort",o)}),e=null)};e.forEach(l=>l.addEventListener("abort",o));const{signal:a}=n;return a.unsubscribe=()=>z.asap(i),a},mT=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},gT=async function*(e,t){for await(const n of yT(e))yield*mT(n,t)},yT=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Mf=(e,t,n,r)=>{const o=gT(e,t);let s=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let d=u.byteLength;if(n){let h=s+=d;n(h)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})};function CT(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let i=r.length;const a=r.length;for(let m=0;m<a;m++)if(r.charCodeAt(m)===37&&m+2<a){const g=r.charCodeAt(m+1),C=r.charCodeAt(m+2);(g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102)&&(C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102)&&(i-=2,m+=2)}let l=0,c=a-1;const u=m=>m>=2&&r.charCodeAt(m-2)===37&&r.charCodeAt(m-1)===51&&(r.charCodeAt(m)===68||r.charCodeAt(m)===100);c>=0&&(r.charCodeAt(c)===61?(l++,c--):u(c)&&(l++,c-=3)),l===1&&c>=0&&(r.charCodeAt(c)===61||u(c))&&l++;const h=Math.floor(i/4)*3-(l||0);return h>0?h:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(r,"utf8");let s=0;for(let i=0,a=r.length;i<a;i++){const l=r.charCodeAt(i);if(l<128)s+=1;else if(l<2048)s+=2;else if(l>=55296&&l<=56319&&i+1<a){const c=r.charCodeAt(i+1);c>=56320&&c<=57343?(s+=4,i++):s+=3}else s+=3}return s}const yl="1.17.0",Of=64*1024,{isFunction:C0}=z,bT=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Df=e=>{if(!z.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Af=(e,...t)=>{try{return!!e(...t)}catch{return!1}},vT=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},xT=e=>{const t=z.global!==void 0&&z.global!==null?z.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=z.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:s,Response:i}=e,a=o?C0(o):typeof fetch=="function",l=C0(s),c=C0(i);if(!a)return!1;const u=a&&C0(n),d=a&&(typeof r=="function"?(v=>k=>v.encode(k))(new r):async v=>new Uint8Array(await new s(v).arrayBuffer())),h=l&&u&&Af(()=>{let v=!1;const k=new s(_t.origin,{body:new n,method:"POST",get duplex(){return v=!0,"half"}}),w=k.headers.has("Content-Type");return k.body!=null&&k.body.cancel(),v&&!w}),m=c&&u&&Af(()=>z.isReadableStream(new i("").body)),g={stream:m&&(v=>v.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!g[v]&&(g[v]=(k,w)=>{let x=k&&k[v];if(x)return x.call(k);throw new be(`Response type '${v}' is not supported`,be.ERR_NOT_SUPPORT,w)})});const C=async v=>{if(v==null)return 0;if(z.isBlob(v))return v.size;if(z.isSpecCompliantForm(v))return(await new s(_t.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(z.isArrayBufferView(v)||z.isArrayBuffer(v))return v.byteLength;if(z.isURLSearchParams(v)&&(v=v+""),z.isString(v))return(await d(v)).byteLength},b=async(v,k)=>{const w=z.toFiniteNumber(v.getContentLength());return w??C(k)};return async v=>{let{url:k,method:w,data:x,signal:T,cancelToken:M,timeout:A,onDownloadProgress:I,onUploadProgress:P,responseType:R,headers:W,withCredentials:S="same-origin",fetchOptions:j,maxContentLength:_,maxBodyLength:N}=Ef(v);const U=z.isNumber(_)&&_>-1,se=z.isNumber(N)&&N>-1,ue=Y=>z.hasOwnProp(v,Y)?v[Y]:void 0;let B=o||fetch;R=R?(R+"").toLowerCase():"text";let E=hT([T,M&&M.toAbortSignal()],A),D=null;const L=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let $;try{let Y;const re=ue("auth");if(re){const Q=re.username||"",q=re.password||"";Y={username:Q,password:q}}if(vT(k)){const Q=new URL(k,_t.origin);if(!Y&&(Q.username||Q.password)){const q=Df(Q.username),xe=Df(Q.password);Y={username:q,password:xe}}(Q.username||Q.password)&&(Q.username="",Q.password="",k=Q.href)}if(Y&&(W.delete("authorization"),W.set("Authorization","Basic "+btoa(bT((Y.username||"")+":"+(Y.password||""))))),U&&typeof k=="string"&&k.startsWith("data:")&&CT(k)>_)throw new be("maxContentLength size of "+_+" exceeded",be.ERR_BAD_RESPONSE,v,D);if(se&&w!=="get"&&w!=="head"){const Q=await b(W,x);if(typeof Q=="number"&&isFinite(Q)&&Q>N)throw new be("Request body larger than maxBodyLength limit",be.ERR_BAD_REQUEST,v,D)}if(P&&h&&w!=="get"&&w!=="head"&&($=await b(W,x))!==0){let Q=new s(k,{method:"POST",body:x,duplex:"half"}),q;if(z.isFormData(x)&&(q=Q.headers.get("content-type"))&&W.setContentType(q),Q.body){const[xe,ke]=wf($,y0(Sf(P)));x=Mf(Q.body,Of,xe,ke)}}z.isString(S)||(S=S?"include":"omit");const he=l&&"credentials"in s.prototype;if(z.isFormData(x)){const Q=W.getContentType();Q&&/^multipart\/form-data/i.test(Q)&&!/boundary=/i.test(Q)&&W.delete("content-type")}W.set("User-Agent","axios/"+yl,!1);const oe={...j,signal:E,method:w.toUpperCase(),headers:ff(W.normalize()),body:x,duplex:"half",credentials:he?S:void 0};D=l&&new s(k,oe);let X=await(l?B(D,j):B(k,oe));if(U){const Q=z.toFiniteNumber(X.headers.get("content-length"));if(Q!=null&&Q>_)throw new be("maxContentLength size of "+_+" exceeded",be.ERR_BAD_RESPONSE,v,D)}const te=m&&(R==="stream"||R==="response");if(m&&X.body&&(I||U||te&&L)){const Q={};["status","statusText","headers"].forEach(je=>{Q[je]=X[je]});const q=z.toFiniteNumber(X.headers.get("content-length")),[xe,ke]=I&&wf(q,y0(Sf(I),!0))||[];let ve=0;const ae=je=>{if(U&&(ve=je,ve>_))throw new be("maxContentLength size of "+_+" exceeded",be.ERR_BAD_RESPONSE,v,D);xe&&xe(je)};X=new i(Mf(X.body,Of,ae,()=>{ke&&ke(),L&&L()}),Q)}R=R||"text";let ie=await g[z.findKey(g,R)||"text"](X,v);if(U&&!m&&!te){let Q;if(ie!=null&&(typeof ie.byteLength=="number"?Q=ie.byteLength:typeof ie.size=="number"?Q=ie.size:typeof ie=="string"&&(Q=typeof r=="function"?new r().encode(ie).byteLength:ie.length)),typeof Q=="number"&&Q>_)throw new be("maxContentLength size of "+_+" exceeded",be.ERR_BAD_RESPONSE,v,D)}return!te&&L&&L(),await new Promise((Q,q)=>{xf(Q,q,{data:ie,headers:Gt.from(X.headers),status:X.status,statusText:X.statusText,config:v,request:D})})}catch(Y){if(L&&L(),E&&E.aborted&&E.reason instanceof be){const re=E.reason;throw re.config=v,D&&(re.request=D),Y!==re&&(re.cause=Y),re}throw Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new be("Network Error",be.ERR_NETWORK,v,D,Y&&Y.response),{cause:Y.cause||Y}):be.from(Y,Y&&Y.code,v,D,Y&&Y.response)}}},wT=new Map,If=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let i=s.length,a=i,l,c,u=wT;for(;a--;)l=s[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:xT(t)),u=c;return c};If();const Cl={http:Uk,xhr:pT,fetch:{get:If}};z.forEach(Cl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Pf=e=>`- ${e}`,ST=e=>z.isFunction(e)||e===null||e===!1;function kT(e,t){e=z.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let i=0;i<n;i++){r=e[i];let a;if(o=r,!ST(r)&&(o=Cl[(a=String(r)).toLowerCase()],o===void 0))throw new be(`Unknown adapter '${a}'`);if(o&&(z.isFunction(o)||(o=o.get(t))))break;s[a||"#"+i]=o}if(!o){const i=Object.entries(s).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?i.length>1?`since :
59
59
  `+i.map(Pf).join(`
60
- `):" "+Pf(i[0]):"as no adapter specified";throw new be("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const Lf={getAdapter:ST,adapters:Cl};function bl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ps(null,e)}function jf(e){return bl(e),e.headers=Gt.from(e.headers),e.data=gl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Lf.getAdapter(e.adapter||Is.adapter,e)(e).then(function(r){bl(e),e.response=r;try{r.data=gl.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=Gt.from(r.headers),r},function(r){if(!vf(r)&&(bl(e),r&&r.response)){e.response=r.response;try{r.response.data=gl.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=Gt.from(r.response.headers)}return Promise.reject(r)})}const b0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{b0[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Rf={};b0.transitional=function(t,n,r){function o(s,i){return"[Axios v"+yl+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new be(o(i," has been removed"+(n?" in "+n:"")),be.ERR_DEPRECATED);return n&&!Rf[i]&&(Rf[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}},b0.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function kT(e,t,n){if(typeof e!="object")throw new be("options must be an object",be.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new be("option "+s+" must be "+l,be.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new be("Unknown option "+s,be.ERR_BAD_OPTION)}}const v0={assertOptions:kT,validators:b0},tn=v0.validators;let Wr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Cf,response:new Cf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=(()=>{if(!o.stack)return"";const i=o.stack.indexOf(`
60
+ `):" "+Pf(i[0]):"as no adapter specified";throw new be("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const Lf={getAdapter:kT,adapters:Cl};function bl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ps(null,e)}function jf(e){return bl(e),e.headers=Gt.from(e.headers),e.data=gl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Lf.getAdapter(e.adapter||Is.adapter,e)(e).then(function(r){bl(e),e.response=r;try{r.data=gl.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=Gt.from(r.headers),r},function(r){if(!vf(r)&&(bl(e),r&&r.response)){e.response=r.response;try{r.response.data=gl.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=Gt.from(r.response.headers)}return Promise.reject(r)})}const b0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{b0[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Rf={};b0.transitional=function(t,n,r){function o(s,i){return"[Axios v"+yl+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new be(o(i," has been removed"+(n?" in "+n:"")),be.ERR_DEPRECATED);return n&&!Rf[i]&&(Rf[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}},b0.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function TT(e,t,n){if(typeof e!="object")throw new be("options must be an object",be.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new be("option "+s+" must be "+l,be.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new be("Unknown option "+s,be.ERR_BAD_OPTION)}}const v0={assertOptions:TT,validators:b0},tn=v0.validators;let Wr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Cf,response:new Cf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=(()=>{if(!o.stack)return"";const i=o.stack.indexOf(`
61
61
  `);return i===-1?"":o.stack.slice(i+1)})();try{if(!r.stack)r.stack=s;else if(s){const i=s.indexOf(`
62
62
  `),a=i===-1?-1:s.indexOf(`
63
63
  `,i+1),l=a===-1?"":s.slice(a+1);String(r.stack).endsWith(l)||(r.stack+=`
64
- `+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Vr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&v0.assertOptions(r,{silentJSONParsing:tn.transitional(tn.boolean),forcedJSONParsing:tn.transitional(tn.boolean),clarifyTimeoutError:tn.transitional(tn.boolean),legacyInterceptorReqResOrdering:tn.transitional(tn.boolean),advertiseZstdAcceptEncoding:tn.transitional(tn.boolean)},!1),o!=null&&(z.isFunction(o)?n.paramsSerializer={serialize:o}:v0.assertOptions(o,{encode:tn.function,serialize:tn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),v0.assertOptions(n,{baseUrl:tn.spelling("baseURL"),withXsrfToken:tn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&z.merge(s.common,s[n.method]);s&&z.forEach(["delete","get","head","post","put","patch","query","common"],g=>{delete s[g]}),n.headers=Gt.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(C){if(typeof C.runWhen=="function"&&C.runWhen(n)===!1)return;l=l&&C.synchronous;const b=n.transitional||pl;b&&b.legacyInterceptorReqResOrdering?a.unshift(C.fulfilled,C.rejected):a.push(C.fulfilled,C.rejected)});const c=[];this.interceptors.response.forEach(function(C){c.push(C.fulfilled,C.rejected)});let u,d=0,h;if(!l){const g=[jf.bind(this),void 0];for(g.unshift(...a),g.push(...c),h=g.length,u=Promise.resolve(n);d<h;)u=u.then(g[d++],g[d++]);return u}h=a.length;let m=n;for(;d<h;){const g=a[d++],C=a[d++];try{m=g(m)}catch(b){C.call(this,b);break}}try{u=jf.call(this,m)}catch(g){return Promise.reject(g)}for(d=0,h=c.length;d<h;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Vr(this.defaults,t);const n=kf(t.baseURL,t.url,t.allowAbsoluteUrls);return yf(n,t.params,t.paramsSerializer)}};z.forEach(["delete","get","head","options"],function(t){Wr.prototype[t]=function(n,r){return this.request(Vr(r||{},{method:t,url:n,data:(r||{}).data}))}}),z.forEach(["post","put","patch","query"],function(t){function n(r){return function(s,i,a){return this.request(Vr(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Wr.prototype[t]=n(),t!=="query"&&(Wr.prototype[t+"Form"]=n(!0))});let TT=class Tp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Ps(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Tp(function(o){t=o}),cancel:t}}};function ET(e){return function(n){return e.apply(null,n)}}function MT(e){return z.isObject(e)&&e.isAxiosError===!0}const vl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(vl).forEach(([e,t])=>{vl[t]=e});function _f(e){const t=new Wr(e),n=tf(Wr.prototype.request,t);return z.extend(n,Wr.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return _f(Vr(e,o))},n}const at=_f(Is);at.Axios=Wr,at.CanceledError=Ps,at.CancelToken=TT,at.isCancel=vf,at.VERSION=yl,at.toFormData=g0,at.AxiosError=be,at.Cancel=at.CanceledError,at.all=function(t){return Promise.all(t)},at.spread=ET,at.isAxiosError=MT,at.mergeConfig=Vr,at.AxiosHeaders=Gt,at.formToJSON=e=>bf(z.isHTMLForm(e)?new FormData(e):e),at.getAdapter=Lf.getAdapter,at.HttpStatusCode=vl,at.default=at;const{Axios:$A,AxiosError:FA,CanceledError:VA,isCancel:WA,CancelToken:zA,VERSION:HA,all:UA,Cancel:GA,isAxiosError:YA,spread:qA,toFormData:KA,AxiosHeaders:ZA,HttpStatusCode:XA,formToJSON:JA,getAdapter:QA,mergeConfig:eI,create:tI}=at,xl={BASE_URL:"https://qa.3sc.ai/api",VERSION:"/v1"},Po={headers:{"Content-Type":"application/json"},withCredentials:!0},Bf=at.create({baseURL:xl.BASE_URL,axiosConfig:Po});Bf.interceptors.request.use(function(e){return e},function(e){return Promise.reject(e)}),Bf.interceptors.response.use(function(e){return e},function(e){return Promise.reject(e)});const Ls={NOTIFICATION:"/notifications",SETTING:"/configuration/setting"};function x0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!=="__proto__"&&(e[r]=n[r])}return e}var OT={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function wl(e,t){function n(o,s,i){if(!(typeof document>"u")){i=x0({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in i)i[l]&&(a+="; "+l,i[l]!==!0&&(a+="="+i[l].split(";")[0]));return document.cookie=o+"="+e.write(s,o)+a}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var s=document.cookie?document.cookie.split("; "):[],i={},a=0;a<s.length;a++){var l=s[a].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(u in i||(i[u]=e.read(c,u)),o===u)break}catch{}}return o?i[o]:i}}return Object.create({set:n,get:r,remove:function(o,s){n(o,"",x0({},s,{expires:-1}))},withAttributes:function(o){return wl(this.converter,x0({},this.attributes,o))},withConverter:function(o){return wl(x0({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var DT=wl(OT,{path:"/"});const Vn={get BU_IDS(){return Oi(nn.SELECTED_BU)?.business_unit_id},get TOKEN(){return JSON.parse(DT.get(nn.TOKEN)||null)},get TENANT_IDS(){return Oi(nn.USER)?.tenant_id},get SNOP_IDS(){return Oi(nn.SNOP)?.snop_id},get GRID_SETTINGS(){return Oi(nn.SETTINGS)}},{TENANT_ID:Nf,BU_ID:$f}=Iu,zr=async({baseUrl:e,payload:t})=>{try{const n=`${e}${Ls.SETTING}/v1`,{product:r,childType:o,childId:s}=t??{},i={[Nf]:Vn.TENANT_IDS,[$f]:Vn.BU_IDS,product:r};return o!=null&&(i.childType=o),s!=null&&(i.childId=s),await at.post(n,t,{...Po,params:i})}catch(n){return n}},Sl=async({baseUrl:e,product:t,childType:n,childId:r})=>{try{const o=`${e}${Ls.SETTING}/v1`,s={[Nf]:Vn.TENANT_IDS,[$f]:Vn.BU_IDS,product:t};return n!=null&&(s.childType=n),r!=null&&(s.childId=r),await at.get(o,{...Po,params:s})}catch(o){return o}},js=JSON.parse(localStorage.getItem("snop"))?.configuration??{},kl=localStorage.getItem("i18nextLng"),AT=js?.entities?.locationHierarchy?.[kl]??js?.entities?.locationHierarchy??{},IT=js?.entities?.productHierarchy?.[kl]??js?.entities?.productHierarchy??{},PT=AT?.base??"Node",LT=IT?.base??"SKU",jT=js?.entities?.labelChannel?.[kl]||"Channel",Ff=()=>{try{return JSON.parse(localStorage.getItem(nn.SELECTED_BU)||"{}")?.business_unit_id}catch{return null}},RT=({columns:e,gridPath:t,baseUrl:n,isDefaultConfig:r,pageSize:o=10,childUniqueKey:s,data:i})=>{const a=i?.length;let{definitions:l,defaultUserSettings:c,labels:u}=e;const d=tr(u),h=t.split("/").filter(Boolean),m=JSON.parse(localStorage.getItem(nn.SETTINGS));let g=h.reduce((w,x)=>w?.[x],m)||null;const C=tr(g?.columns||[]);if(!r&&t&&a){let w=(c&&Tl({col:c,childUniqueKey:s,definitions:l}))??Tl({col:l,childUniqueKey:s});const x=w.filter(M=>!C[M.key]),T=g&&g?.columns?.some(M=>M?.children&&M.children[s]);if(a&&(x.length||s&&T===!1)){if(T==!1&&s.length>0){const M=tr(w);w=g?.columns?.map(A=>A?.children&&!A.children[s]?{...A,children:{...A.children,[s]:M?.[A?.key]?.children[s]}}:A)}(async()=>{try{const A={...m||{platform:{theme:"light"}}},I=g?.pageSize??o;let P=A;for(let R=0;R<h.length;R++){const W=h[R];R===h.length-1?P[W]={columns:w,pageSize:I}:(P[W]={...P[W]||{}},P=P[W])}localStorage.setItem(nn.SETTINGS,JSON.stringify(A)),await zr({baseUrl:n,payload:A})}catch(M){console.error(M)}})()}}c=(g?.columns&&_T(C,c,s))??c??Tl({col:l});const b=[],v=tr(c);for(const w of l){const x=v[w.key]||{},T=d[w.key]||{},M=C[w.key],A=tr(x.children||[]),I=tr(T.children||[]);let P={...w,style:M?.style,...x,...T};w.children?.length&&(P.children=w.children.map(R=>({...R,...A[R.key],...I[R.key]}))),b.push(P)}return b.sort((w,x)=>w.sequenceId-x.sequenceId)},Vf=e=>e.sort((t,n)=>t.sequenceId-n.sequenceId),Rs=({columns:e,childUniqueKey:t,definitions:n})=>{let r=n||e;return e?.map(o=>{let s=r?.find(i=>i?.key===o?.key);return{id:o.id,key:o.key,sequenceId:o.sequenceId||o.id,isHidden:o.isHidden||!1,style:o.style||s?.style||{},...o?.children&&{children:t?{[t]:Rs({columns:o.children,definitions:s?.children})}:Rs({columns:o.children,definitions:s?.children})}}})},tr=e=>Array.isArray(e)&&e?.reduce((t,n)=>(t[n.key]=n,t),{}),Tl=({col:e,childUniqueKey:t,definitions:n})=>Rs({columns:e,childUniqueKey:t,definitions:n}),_T=(e,t,n)=>t.map(o=>{const s=e[o.key],i=o.children?o.children.map(a=>{const c=tr(Array.isArray(s?.children)?s?.children:s?.children?.[n])?.[a.key];return{...a,sequenceId:c?.sequenceId||a.sequenceId,isHidden:c?.isHidden??a.isHidden}}):void 0;return{...o,sequenceId:s?.sequenceId||o.sequenceId,isHidden:s?.isHidden??o.isHidden,...i?{children:i}:{}}}),BT=({t:e})=>{const t=[{id:1,key:"sku_name",isSortable:!0,isMandatory:!0},{id:2,key:"node",isSortable:!0,isMandatory:!0},{id:3,key:"channel_name",isSortable:!0,isMandatory:!0}],n=[{id:1,key:"sku_name",sequenceId:1,isHidden:!1,style:{width:"20rem",minWidth:"20rem",maxWidth:"20rem"}},{id:2,key:"node",sequenceId:2,isHidden:!1,style:{width:"20rem",minWidth:"20rem",maxWidth:"20rem"}},{id:3,key:"channel_name",sequenceId:3,isHidden:!1,style:{width:"20rem",minWidth:"20rem",maxWidth:"20rem"}}],r=[{id:1,key:"sku_name",label:e(LT),isLocalizable:!1},{id:2,key:"node",label:e(PT),isLocalizable:!1},{id:3,key:"channel_name",label:e(jT),isLocalizable:!1}];return{definitions:t,defaultUserSettings:n,labels:r}},Wf=(e,t)=>JSON.stringify(e??{})===JSON.stringify(t??{}),NT="/ds/forecast/grid",zf=e=>e===NT?"snoe":"snop",El=(e=[],t=[])=>{const n=new Map,r=a=>a.forEach(l=>{n.set(l.key,l),l.children?.length&&r(l.children)});r(t);const o=new Map;let s=0;const i=a=>a.forEach(l=>{const c=n.get(l.key);o.set(l.key,{style:c?.style??l.style??{},scope:c?.scope??l.scope,sequence_id:c?.sequenceId??s}),s+=1,l.children?.length&&i(l.children)});return i(e),o},Hf=e=>{if(!e)return null;try{const t=JSON.parse(localStorage.getItem(nn.SETTINGS));return e.split("/").filter(Boolean).reduce((n,r)=>n?.[r],t)??null}catch{return null}},Uf=()=>({version:2,updatedAt:new Date().toISOString(),grid:{shared:{columns:{}},scoped:{}}}),$T=(e,t)=>{const n={columns:{}},r={},o=(s,i)=>{const a=t.get(i.key),l={};i.isHidden&&(l.isHidden=!0),i.style&&!Wf(i.style,a?.style)&&(l.style=i.style),i.sequenceId!=null&&i.sequenceId!==a?.sequence_id&&(l.sequence_id=i.sequenceId),Object.keys(l).length&&(s.columns[i.key]=l)};return(e?.columns??[]).forEach(s=>{o(n,s),Array.isArray(s.children)?s.children.forEach(i=>o(n,i)):s.children&&typeof s.children=="object"&&Object.entries(s.children).forEach(([i,a])=>{r[i]??={columns:{}},(a??[]).forEach(l=>o(r[i],l))})}),e?.groupBy&&(n.groupBy=e.groupBy),Object.entries(e?.groupByFilters??{}).forEach(([s,i])=>{r[s]={...r[s]??{},groupByFilters:i}}),{pageSize:e?.pageSize,version:2,updatedAt:new Date().toISOString(),grid:{shared:n,scoped:r}}},Ml=(e,t)=>{const n=Hf(e);if(!n)return null;if(n.version===2)return n;const r=$T(n,t);return w0(e,r),r},FT=["columns","groupBy","groupByFilters"],w0=(e,t)=>{try{const n=JSON.parse(localStorage.getItem(nn.SETTINGS))??{platform:{theme:"light"}},r=e.split("/").filter(Boolean);let o=n;for(let s=0;s<r.length;s++){const i=r[s];if(s===r.length-1){const a={...o[i]??{},...t,updatedAt:new Date().toISOString()};FT.forEach(l=>delete a[l]),o[i]=a}else o[i]={...o[i]??{}},o=o[i]}localStorage.setItem(nn.SETTINGS,JSON.stringify(n))}catch(n){console.error("writeGridSettings failed:",n)}},Gf=(e,t)=>JSON.stringify(e)===JSON.stringify(t),Yf=({settings:e=[],defaults:t,childUniqueKey:n,scopedKeys:r})=>{const o=r?new Set(r):null,s=[],i=[];return e.forEach(a=>{const l=t.get(a.key)?.scope;(n&&(o?o.has(a.key):l==="scoped"||!!a.children?.length)?i:s).push(a)}),{shared:s,scoped:i}},Ol=({product:e,childType:t,childId:n,settings:r})=>({product:e,childType:t,childId:n,settings:r}),VT=e=>e?.data?.responseData?.response?.settings??e?.data?.responseData?.settings??e?.data?.response?.settings??e?.data?.settings??null,Dl=(e=[],t={},n)=>(e.forEach(r=>{if(!r?.key||n&&!n.has(r.key))return;const o=r.sequence_id??r.sequenceId,s=Number.isFinite(o)?o:n?.get(r.key)?.sequence_id??0,i=r.style;t[r.key]={isHidden:!!r.isHidden,sequence_id:s,...i&&typeof i=="object"&&!Array.isArray(i)?{style:i}:{}};const{children:a}=r;Array.isArray(a)&&Dl(a,t,n)}),t),WT=async({baseUrl:e,gridPath:t,definitions:n=[],defaultSetting:r=[],childUniqueKey:o,groupByUniqueKey:s,includeGroupBy:i=!1})=>{if(!e||!t)return;const a=El(n,r),l=s||Ff(),c=Hf(t),u=(w,x)=>Object.prototype.hasOwnProperty.call(w??{},x),d=u(c?.grid?.shared,"columns"),h=o&&u(c?.grid?.scoped?.[o],"columns"),m=l&&u(c?.grid?.scoped?.[l],"groupByFilters"),g=n.some(w=>a.get(w.key)?.scope==="scoped"||!!w?.children?.length),C=[];if(d||C.push({type:"shared",request:Sl({baseUrl:e,product:t})}),o&&g&&!h&&C.push({type:"snop",request:Sl({baseUrl:e,product:t,childType:zf(t),childId:o})}),i&&l&&!m&&C.push({type:"bu",request:Sl({baseUrl:e,product:t,childType:"bu",childId:l})}),!C.length)return;const b=await Promise.all(C.map(({request:w})=>w)),v=c??{version:2,updatedAt:new Date().toISOString(),grid:{shared:{},scoped:{}}};v.version=2,v.grid??={shared:{columns:{}},scoped:{}},v.grid.shared??={columns:{}},v.grid.scoped??={};let k=!1;C.forEach(({type:w},x)=>{const T=b[x],M=VT(T);T?.status>=200&&T?.status<300&&(k=!0,w==="shared"&&(v.grid.shared.columns=Array.isArray(M?.columns)?Dl(M.columns,{},a):{}),w==="snop"&&(v.grid.scoped[o]={...v.grid.scoped[o]??{},columns:Array.isArray(M?.columns)?Dl(M.columns,{},a):{}}),w==="bu"&&(v.grid.scoped[l]={...v.grid.scoped[l]??{},groupByFilters:Array.isArray(M?.groupFilter)?M.groupFilter:[]}))}),k&&w0(t,v)},zT=({definitions:e=[],defaultSetting:t=[],gridPath:n,childUniqueKey:r})=>{const o=El(e,t),s=Ml(n,o),i=s?.grid?.shared??{},a=r&&s?.grid?.scoped?.[r]||{},l=w=>({...i.columns?.[w],...a.columns?.[w]}),c=[],u=(w=[])=>w.forEach(x=>{c.push(x.key),x.children?.length&&u(x.children)});u(e);const d=new Map;c.forEach(w=>{const x=l(w).sequence_id;x!=null&&d.set(x,(d.get(x)??0)+1)});const h=[...d.values()].some(w=>w>1),m=w=>{const x=l(w).sequence_id;return!h&&x!=null?x:o.get(w)?.sequence_id??0},g=w=>[...w].sort((x,T)=>m(x.key)-m(T.key)),C=w=>{if(w?.length)return g(w).map(x=>{const T=l(x.key);return{key:x.key,sequence_id:m(x.key),isHidden:T.isHidden??!1,style:T.style??o.get(x.key)?.style??{}}})},b=g(e).map(w=>{const x=l(w.key),T={key:w.key,sequence_id:m(w.key),isHidden:x.isHidden??!1,style:x.style??o.get(w.key)?.style??{}},M=C(w.children);return M&&(T.children=M),T}),v=w=>{const x=l(w);return x.sequence_id!==void 0&&x.isHidden!==void 0},k=!s||e.some(w=>!v(w.key));return{settings:b,hasNewColumns:k}},S0=async({settings:e,previousSettings:t,definitions:n=[],defaultSetting:r=[],gridPath:o,baseUrl:s,childUniqueKey:i,scopedKeys:a})=>{if(o)try{const l=El(n,r),c=Ml(o,l)??Uf();c.grid.shared??={columns:{}},c.grid.scoped??={};const u=i?c.grid.scoped[i]??={columns:{}}:null,d=a?new Set(a):null,h=(v,k)=>{if(!u)return!1;if(d)return d.has(v.key);const w=l.get(v.key)?.scope;return w==="shared"?!1:w==="scoped"?!0:k||!!v.children?.length},m=(v,k)=>{const w=h(v,k),x=w?u:c.grid.shared;x.columns??={};const T=l.get(v.key),M={isHidden:!!v.isHidden,sequence_id:v.sequence_id??T?.sequence_id??0};v.style&&!Wf(v.style,T?.style)&&(M.style=v.style),x.columns[v.key]=M,v.children?.forEach(A=>m(A,w))};if(e.forEach(v=>m(v,!1)),w0(o,c),!s)return;const g=Yf({settings:e,defaults:l,childUniqueKey:i,scopedKeys:a}),C=t?Yf({settings:t,defaults:l,childUniqueKey:i,scopedKeys:a}):null,b=[];(!C||!Gf(g.shared,C.shared))&&b.push(zr({baseUrl:s,payload:Ol({product:o,childType:null,childId:null,settings:{columns:g.shared}})})),i&&(!C||!Gf(g.scoped,C.scoped))&&b.push(zr({baseUrl:s,payload:Ol({product:o,childType:zf(o),childId:i,settings:{columns:g.scoped}})})),await Promise.all(b)}catch(l){console.error("saveColumnSettings failed:",l)}},HT=async({groupBy:e,gridPath:t,baseUrl:n,groupByUniqueKey:r})=>{if(!(!t||!Array.isArray(e)))try{const o=r||Ff(),s=Ml(t,new Map)??Uf();s.grid.shared??={columns:{}},s.grid.scoped??={};const i=o?s.grid.scoped[o]?.groupByFilters:s.grid.shared.groupBy;if(Array.isArray(i)&&JSON.stringify(i)===JSON.stringify(e)||!i&&e.length===0)return;o?s.grid.scoped[o]={...s.grid.scoped[o]??{},groupByFilters:e}:s.grid.shared.groupBy=e,w0(t,s),n&&await zr({baseUrl:n,payload:Ol({product:t,childType:"bu",childId:o??null,settings:{groupFilter:e}})})}catch(o){console.error("saveGroupBySettings failed:",o)}},UT={placement:"top",disableInteractive:!0,slotProps:{popper:{sx:{zIndex:9999}}},componentsProps:{tooltip:{sx:{fontSize:"1rem",padding:"0.6rem 1rem",boxShadow:"0 2px 8px rgba(0,0,0,0.3)"}}}},GT=e=>e!=null&&e!=="",qf=({label:e})=>f.jsx(O.Box,{component:"span",sx:{display:"inline-block",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",verticalAlign:"middle"},children:e??""});qf.propTypes={label:y.node};const YT=e=>{if(!e)return null;const{options:t,type:n,sequenceId:r,isLocalised:o,...s}=e,i=t?"select":"button",a={button:l=>f.jsx(jn,{...l,styles:{...l.styles,iconPrimary:l?.styles?.variant=="filled"}}),select:l=>f.jsx(O.Box,{sx:{"& .MuiInputBase-input":{padding:"0rem!important"},width:l.styles?.width},children:f.jsx($u,{...l,options:t})})};return a[i]?a[i](s):null},qT=({presentSetting:e,gridSetting:t,gridPath:n,childUniqueKey:r})=>{if(!n)return e;const o=n.split("/").filter(Boolean);let s=o.reduce((c,u)=>c?.[u],e)||null,i=Rs({columns:t?.grid,childUniqueKey:r});const a=tr(s?.columns);i=i?.map(c=>{const u=c?.children||{},d=a?.[c?.key]?.children||{};return{...c,...(Object.keys(d)?.length>0||u?.[r])&&{children:{...d,[r]:u?.[r]}}}});let l=e;for(let c=0;c<o.length;c++){const u=o[c];c===o.length-1?l[u]={columns:i,pageSize:t?.pageSize??null}:(l[u]=l[u]||{},l=l[u])}return{settingObject:e,defaultUserSettings:i}},KT=async({baseUrl:e,gridSetting:t,childUniqueKey:n,gridPath:r})=>{try{const o=JSON.parse(localStorage.getItem("settings")),{settingObject:s,defaultUserSettings:i}=qT({presentSetting:o,gridSetting:t,gridPath:r,childUniqueKey:n});return localStorage.setItem("settings",JSON.stringify(s)),await zr({baseUrl:e,payload:s}),i}catch(o){console.error(o)}},Kf=({index:e,visibleGridColumns:t,width:n,columnUpdaterFunction:r})=>{if(!t||!t[e])return null;t[e];let o=`${n/10}rem`;const s=t.map((i,a)=>a===e?{...i,style:{...i.style,width:o,minWidth:o,maxWidth:o}}:i);return r({updatedColumns:s}),s[e]},ZT=({definitions:e=[],labels:t=[],settings:n=[],childUniqueKey:r})=>{const o=(d=[],h=!1)=>{const m=[],g=C=>{C?.forEach(b=>{m.push(b);let v=b.children;h&&r&&v&&!Array.isArray(v)&&(v=v[r]??[]),Array.isArray(v)&&v.length&&g(v)})};return g(d),m},s=o(t),i=o(n,!0),a=new Map(s.map(d=>[d.key,d])),l=new Map(i.map(d=>[d.key,d])),c=d=>{if(d){if(typeof d=="number")return d;if(d.includes("rem"))return parseFloat(d)*16;if(d.includes("px"))return parseFloat(d)}},u=d=>{const h=a.get(d.key),m=l.get(d.key),g=h?.helpText??d.helpText??h?.label,C=d.isMandatory===!0;return{id:d.key,label:h?.label??d.label,field:d.key,helpText:g,renderHeader:b=>{const v=f.jsx("span",{onClick:k=>k.stopPropagation(),style:{display:"inline-flex",maxWidth:"100%",minWidth:0},children:f.jsx(qf,{label:b.label})});return GT(g)?f.jsx(O.Tooltip,{title:g,...UT,children:v}):v},width:c(m?.style?.width??d.style?.width),minWidth:c(d.style?.minWidth),maxWidth:c(d.style?.maxWidth),sortable:d.isSortable??!1,pinned:d.isSticky?"left":void 0,hidden:m?.isHidden??!1,resizable:d?.isResizable??!0,draggable:d?.isDraggable??!C,hideable:!C,align:"center",deferRender:d.deferRender,renderCell:d.cellRenderer?(b,v,k)=>d.cellRenderer(v,k):void 0,meta:{isMandatory:C,...d},children:d.children?.map(u)}};return e.map(u)},Al=new Set,Zf=e=>{if(!e)return!1;if(Al.size<=1||e.contains(document.activeElement))return!0;try{return e.matches(":hover")}catch{return!1}},Xf=(e,{enabled:t=!0}={})=>(p.useEffect(()=>{if(!t)return;const n=e.current;if(n)return Al.add(n),()=>Al.delete(n)},[t,e]),{isActive:()=>Zf(e.current)}),XT=e=>Zf(e),JT=({customTools:e})=>{const t=e?.filter(r=>r?.type===ha.PRIMARY)?.sort((r,o)=>r.sequenceId-o.sequenceId),n=e?.filter(r=>r?.type===ha.SECONDARY)?.sort((r,o)=>r.sequenceId-o.sequenceId);return{primaryButtons:t,secondaryButtons:n}},Il=p.forwardRef(({customTools:e,isExpanded:t,setIsExpanded:n},r)=>{const{primaryButtons:o,secondaryButtons:s}=JT({customTools:e}),i=t?[...o,...s]:o,a=s?.length>0,{t:l}=p.useContext(Nt),c=p.useRef(null),u=p.useRef(null),d=()=>{n(!t)},h=p.useCallback(()=>{u.current?.querySelector("button")?.focus()},[]),m=p.useCallback(()=>{setTimeout(()=>{const b=Array.from(c.current?.querySelectorAll('button, [role="combobox"]')||[]).slice(o.length);(b.find(k=>!k.disabled)??b[0])?.focus()},0)},[o.length]),{onKeyDown:g}=Ei(c,{enabled:t});return go(c,{enabled:t}),p.useImperativeHandle(r,()=>({toggle:()=>{const C=!t;d(),C?m():h()}})),f.jsxs(f.Fragment,{children:[t&&f.jsx("div",{style:{position:"fixed",left:0,width:"100vw",height:"4rem",zIndex:998}}),f.jsxs(O.Box,{ref:c,onKeyDown:g,sx:{display:"flex",alignItems:"center",gap:"0.8rem",flexWrap:"nowrap",maxWidth:"100%",whiteSpace:"nowrap",zIndex:999,...ac(void 0,"& button")},children:[f.jsx(vm,{mode:"popLayout",children:i.map((C,b)=>f.jsx(ur.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},layout:!0,children:f.jsx(O.Box,{sx:{flexShrink:0,minWidth:"fit-content"},children:YT(C)})},`${C.id}_${b}`))}),a&&f.jsx(O.Box,{ref:u,sx:{paddingLeft:t?"0.5rem":0},children:f.jsx(jn,{label:t?"":l("LABEL_MORE_ACTIONS"),"aria-label":l("LABEL_MORE_ACTIONS"),"aria-expanded":t,styles:{iconPrimary:!0,icon:t?Te.CrossWhite:Te.More,colorType:t?"danger":""},onClick:d})})]})]})});Il.displayName="CustomTools",Il.propTypes={customTools:y.array.isRequired};const k0=({defaultTools:e,isManageable:t,customTools:n,baseUrl:r,gridPath:o,pageSize:s,gridData:i,childUniqueKey:a,shortcuts:l})=>{const{t:c}=p.useContext(Nt),u=p.useContext(lo),d=p.useContext(cs)||{},{visibleGridColumns:h=[],triggerApi:m=!1}=d,[g,C]=p.useState([]),[b,v]=p.useState(!1),k=p.useRef(null),w=p.useRef(null),x=p.useRef(null),T=p.useRef(null),M=p.useRef(null),A=l?.scopeRef??M,I=l?.enabled!==!1,{isActive:P}=Xf(A,{enabled:I}),R=n?.filter(B=>B.position==="left").sort((B,E)=>B.sequenceId-E.sequenceId)||[],W=n?.filter(B=>B.position==="right").sort((B,E)=>B.sequenceId-E.sequenceId)||[];p.useEffect(()=>{if(h.length&&t){const B={id:99999,sequenceId:99999,isLocalizable:!1,key:"horizons",label:c("Horizons"),isSortable:!1,isHidden:!0,showChildCheckbox:!0,showCheckbox:!1,isMandatory:!0,showInHierarchy:!0,showHide:!0,children:[]};let E=h.map(L=>(L?.children&&L.children.forEach($=>{B.children.some(re=>re.key===$.key)||B.children.push({...$,showInHierarchy:!0})}),L)).filter(L=>L?.id!==B?.id);const D=B.children.length>0?[...E,B]:E;C(D)}},[h]);const S=async B=>{try{await KT({baseUrl:r,gridPath:o,childUniqueKey:a,gridSetting:{grid:B,pageSize:s}})}catch(E){console.error(E)}finally{u({type:Re.HAS_SETTING_CHANGE,payload:{hasChange:!1}}),u({type:Re.TRIGGER_API,payload:{triggerApi:!1}})}};p.useEffect(()=>{m&&t&&S(h)},[m]);const j=B=>{const E=B?.map($=>$.id),D=B?.flatMap($=>$.children||[])?.map($=>$.id),L=g?.map($=>{const Y=E?.includes($.id);if(Array.isArray($.children)&&$.children.length>0){const he=$?.children?.map(X=>{const te=D?.includes?.(X.id);return{...X,isHidden:!te}}),oe=he?.filter(X=>g?.some(te=>te.children?.some(ie=>ie.id===X.id)))?.every(X=>X.isHidden);return{...$,...!$.children[0]?.showInHierarchy&&{isHidden:oe||!Y},children:he}}return{...$,isHidden:!Y}});u({type:Re.SET_GRID_DATA,payload:{visibleGridColumns:L}}),u({type:Re.HAS_SETTING_CHANGE,payload:{hasChange:!0}})},_=()=>g.map(E=>{const D=Array.isArray(E.children)?E.children.filter(L=>!L.isHidden):void 0;return!E.isHidden||E.isHidden&&E.showInHierarchy?{...E,children:D}:null}).filter(Boolean),N=p.useCallback(()=>{const B=k.current;B?.focus?.({preventScroll:!0}),B?.click?.()},[]),U=p.useCallback(()=>{const B=w.current;B?.focus?.({preventScroll:!0}),B?.click?.()},[]),se=p.useCallback(()=>{x.current?.focus?.({preventScroll:!0})},[]),ue=p.useCallback(()=>{T.current?.toggle()},[]);return Mi({[Xt(ht.GROUP_BY)]:{run:N,disabled:b||!e?.groupBy?.isRequired||e?.groupBy?.disabled},[Xt(ht.SAVE)]:{run:()=>e?.save?.onClick?.(),disabled:b||!e?.save?.isRequired||e?.save?.disabled},[Xt(ht.UPLOAD)]:{run:()=>e?.upload?.onClick?.(),disabled:b||!e?.upload?.isRequired||e?.upload?.disabled},[Xt(ht.DOWNLOAD)]:{run:()=>e?.download?.onClick?.(),disabled:b||!e?.download?.isRequired||e?.download?.disabled},[Xt(ht.REFRESH)]:{run:()=>e?.refresh?.onClick?.(),disabled:b||!e?.refresh?.isRequired||e?.refresh?.disabled},[Xt(ht.MORE_ACTIONS)]:{run:ue,disabled:!n},[Xt(ht.MANAGE_COLUMNS)]:{run:U,disabled:b||!t||!i.length},[Xt(ht.SEARCH)]:{run:se,disabled:b||!e?.search?.isRequired},...l?.extra},{enabled:I,isPaused:()=>(l?.isPaused?l.isPaused():Lu())||!P(),onEscape:l?.onEscape}),f.jsxs(O.Box,{ref:l?.scopeRef?void 0:M,sx:{margin:"1rem 0",position:"relative",zIndex:10,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",gap:"0.6rem",width:"100%"},children:[f.jsxs(O.Box,{sx:{display:"flex",flexDirection:"row",gap:"0.6rem",alignItems:"center"},children:[e?.search?.isRequired&&f.jsx(Ru,{...e?.search,iconUrl:Te.Search,inputRef:x}),e?.refresh?.isRequired&&f.jsx(jn,{...e?.refresh,disabled:b||e?.refresh?.disabled,styles:{variant:"filled",icon:Te.Refresh,colorType:"empty",width:"3.2rem",height:"3.2rem"}}),e?.groupBy?.isRequired&&f.jsx(O.Box,{sx:{"& .MuiInputBase-input":{padding:"0rem!important"}},children:f.jsx(co,{styles:{icon:Te.Group},inputRef:k,...e.groupBy,disabled:b||e.groupBy?.disabled})}),t&&f.jsx(O.Box,{sx:{"& .MuiInputBase-input":{padding:"0rem!important"}},children:f.jsx(co,{placeholder:c("LABEL_MANAGE_COLUMN"),options:g,value:_(),isMulti:!0,isDraggable:!0,showSearch:!0,isManageColumn:!0,onChange:j,disabled:!i.length,inputRef:w,styles:{icon:Te.Manage}})}),R?.length>0&&R.map((B,E)=>f.jsx(p.Fragment,{children:B.render()},B.id))]}),f.jsxs(O.Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"flex-end",alignItems:"center",gap:"0.6rem"},children:[W?.length>0&&W.map((B,E)=>f.jsx(p.Fragment,{children:B.render()},B.id)),n&&f.jsx(Il,{ref:T,customTools:n,setIsExpanded:v,isExpanded:b}),e?.save?.isRequired&&f.jsx(O.Box,{sx:{px:"0.5rem"},children:f.jsx(jn,{label:b?"":"Save","aria-label":c("Save"),styles:{icon:Te.Save,colorType:"empty"},...e?.save,disabled:b||e?.save?.disabled})}),e?.upload?.isRequired&&f.jsx(jn,{...e?.upload,disabled:b||e?.upload?.disabled,styles:{variant:b?"outlined":"filled",icon:b?Te.UploadDark:Te.Upload,iconPrimary:!b,colorType:"secondary",isAnimate:!0}}),e?.download?.isRequired&&f.jsx(jn,{...e?.download,disabled:b||e?.download?.disabled,styles:{variant:"outlined",icon:Te.Download,isAnimate:!0}})]})]})};k0.propTypes={defaultTools:y.object.isRequired,customTools:y.array,isManageable:y.bool,baseUrl:y.string,gridPath:y.gridPath,shortcuts:y.shape({enabled:y.bool,isPaused:y.func,onEscape:y.func,extra:y.object,scopeRef:y.shape({current:y.any})})};const Tn="1.1rem",QT=5;let _s=[];const Pl=new Set,Jf=()=>Pl.forEach(e=>e()),eE=e=>(Pl.add(e),()=>Pl.delete(e)),tE=e=>(_s=[..._s,e],Jf(),()=>{_s=_s.filter(t=>t!==e),Jf()}),nE=()=>_s.at(-1),rE=()=>typeof navigator>"u"?!1:navigator.userAgentData?.platform?navigator.userAgentData.platform.toLowerCase().includes("mac"):/Mac|iPhone|iPod|iPad/.test(navigator.platform||navigator.userAgent||""),Qf={win:{ctrl:"Ctrl",alt:"Alt",shift:"Shift"},mac:{ctrl:"⌘",alt:"⌥",shift:"⇧"}},oE=e=>(rE()?Qf.mac:Qf.win)[e]||e,sE=e=>e.length===1?e.toUpperCase():e,Ll=({modifiers:e=[],keyName:t,theme:n,light:r})=>f.jsxs(O.Stack,{direction:"row",gap:"0.4rem",children:[e.map(o=>f.jsx(O.Box,{component:"span",sx:e1(n,r),children:oE(o)},o)),f.jsx(O.Box,{component:"span",sx:e1(n,r),children:sE(t)})]});Ll.propTypes={modifiers:y.array,keyName:y.string,theme:y.object,light:y.bool};const e1=(e,t)=>{const n=e.palette.mode==="dark"?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.06)";return{minWidth:"1.8rem",textAlign:"center",padding:"0.3rem 0.6rem",borderRadius:"0.5rem",backgroundColor:t?"rgba(255,255,255,0.18)":n,color:t?"#FFFFFF":e.palette.primary.notifyActiveText,fontSize:Tn}},t1=e=>f.jsx(At,{children:f.jsx(iE,{...e})}),iE=({shortcuts:e=[],variant:t="trigger"})=>{const n=O.useTheme(),{t:r}=p.useContext(Nt),[o,s]=p.useState(!1),i=p.useRef(null),a=p.useId(),l=t==="overlay";p.useEffect(()=>tE(a),[a]);const u=p.useSyncExternalStore(eE,nE)===a,d=()=>s(!1),h=()=>s(m=>!m);if(ma("SHORTCUTS_HELP",h,{disabled:!u||l}),go(i,{enabled:o&&u&&!l,onEscape:d,autoFocus:!0,restoreFocus:!0}),!e.length||!u)return null;if(l){const m={textShadow:"0 1px 3px rgba(0,0,0,0.7)"};return f.jsx(O.Portal,{children:f.jsxs(O.Box,{sx:{position:"fixed",left:"5rem",bottom:"5rem",zIndex:5},children:[f.jsx(O.Typography,{sx:{...m,fontSize:Tn,fontWeight:600,color:"#FFFFFF"},children:r("LABEL_SHORTCUTS_TITLE")}),f.jsx(O.Typography,{sx:{...m,fontSize:Tn,color:"rgba(255,255,255,0.75)",mt:"0.3rem",mb:"0.9rem"},children:r("LABEL_SHORTCUTS_SUBTITLE")}),f.jsx(O.Stack,{direction:"row",flexWrap:"wrap",gap:"1.8rem",sx:{mt:"2rem"},children:e.map(g=>f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"0.8rem",children:[f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"0.5rem",children:[g.icon&&f.jsx(Ct,{url:g.icon,style:{width:Tn,height:Tn}}),f.jsx(O.Typography,{sx:{...m,fontSize:Tn,color:"#FFFFFF",whiteSpace:"nowrap"},children:r(g.label)})]}),f.jsx(Ll,{modifiers:g.modifiers,keyName:g.key,theme:n,light:!0})]},`${g.label}-${g.key}`))})]})})}return o?f.jsx(O.Portal,{children:f.jsxs(O.Box,{ref:i,role:"dialog","aria-modal":"true","data-allow-shortcuts":!0,"aria-label":r("LABEL_SHORTCUTS_HELP"),sx:{position:"fixed",left:"4rem",right:0,bottom:0,zIndex:20,backgroundColor:n.palette.primary.notifyBackground,color:n.palette.primary.notifyActiveText,borderTop:`0.1rem solid ${n.palette.primary.notifyBorderColor}`,boxShadow:"0 -0.4rem 1rem rgba(0,0,0,0.15)",padding:"1.5rem 2rem",textAlign:"left",maxHeight:"80vh",display:"flex",flexDirection:"column"},children:[f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"flex-start",sx:{flexShrink:0},children:[f.jsxs(O.Box,{sx:{textAlign:"left"},children:[f.jsx(O.Typography,{sx:{fontSize:Tn,fontWeight:600,textAlign:"left"},children:r("LABEL_SHORTCUTS_TITLE")}),f.jsx(O.Typography,{sx:{fontSize:Tn,color:n.palette.primary.notifyTextColor,mt:"0.3rem",textAlign:"left"},children:r("LABEL_SHORTCUTS_SUBTITLE")})]}),f.jsx(O.Box,{role:"button",tabIndex:0,"aria-label":r("Close"),onClick:d,onKeyDown:wt(d),sx:{cursor:"pointer",outline:"none",...xt()},children:f.jsx(Ct,{url:Te.Cross,style:{width:"1.6rem",height:"1.6rem"}})})]}),f.jsx(O.Box,{sx:{borderTop:`0.1rem solid ${n.palette.primary.notifyBorderColor}`,my:"1rem",flexShrink:0}}),f.jsx(O.Box,{sx:{display:"grid",gridTemplateColumns:`repeat(${QT}, 1fr)`,gap:"1.5rem",overflowY:"auto",minHeight:0},children:e.map(m=>f.jsxs(O.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:"1rem",children:[f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"0.5rem",sx:{minWidth:0},children:[m.icon&&f.jsx(Ct,{url:m.icon,style:{width:Tn,height:Tn,flexShrink:0}}),f.jsx(O.Typography,{sx:{fontSize:Tn,color:n.palette.primary.notifyTextColor,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:r(m.label)})]}),f.jsx(Ll,{modifiers:m.modifiers,keyName:m.key,theme:n})]},`${m.label}-${m.key}`))})]})}):f.jsx(O.Portal,{children:f.jsx(O.Box,{sx:{position:"fixed",right:"1.5rem",bottom:"5rem",zIndex:5},children:f.jsx(jn,{onClick:h,label:r("LABEL_SHORTCUT"),"aria-label":r("LABEL_SHORTCUTS_HELP"),styles:{isAnimate:!0,icon:Te.Shortcut,variant:"outlined",colorType:"empty",width:"3.2rem",height:"3.2rem",borderRadius:"1.2rem"}})})})};t1.propTypes={shortcuts:y.arrayOf(y.shape({icon:y.any,label:y.string,key:y.string,modifiers:y.array})),variant:y.oneOf(["trigger","overlay"])};function n1(e){return"children"in e&&Array.isArray(e.children)}const aE=120,lE=40,cE=1/0;function r1(e,t,n){return Math.max(t,Math.min(n,e))}function uE(e,t){switch(t.type){case"RESIZE":{const n=e.colMap[t.id];if(!n)return e;const r=r1(n.width+t.delta,n.minWidth,n.maxWidth);return r===n.width?e:{...e,colMap:{...e.colMap,[t.id]:{...n,width:r}}}}case"SET_WIDTH":{const n=e.colMap[t.id];if(!n)return e;const r=r1(t.width,n.minWidth,n.maxWidth);return{...e,colMap:{...e.colMap,[t.id]:{...n,width:r}}}}case"PIN":{const n=e.colMap[t.id];return!n||n.pinned===t.side?e:{...e,colMap:{...e.colMap,[t.id]:{...n,pinned:t.side}}}}case"TOGGLE_HIDDEN":{const n=e.colMap[t.id];return n?{...e,colMap:{...e.colMap,[t.id]:{...n,hidden:!n.hidden}}}:e}case"SHOW_ALL":{const n={...e.colMap};for(const r of Object.keys(n)){const o=n[r];o?.hidden&&(n[r]={...o,hidden:!1})}return{...e,colMap:n}}case"MOVE_BEFORE":{const{sourceId:n,targetId:r}=t,o=[...e.colOrder],s=o.indexOf(n),i=o.indexOf(r);if(s===-1||i===-1||s===i)return e;o.splice(s,1);const a=o.indexOf(r);return o.splice(a,0,n),{...e,colOrder:o}}case"MOVE_LAST":{const n=[...e.colOrder],r=n.indexOf(t.sourceId);return r===-1||r===n.length-1?e:(n.splice(r,1),n.push(t.sourceId),{...e,colOrder:n})}case"TOGGLE_SORT":{const{sort:n}=e;let r="asc";if(n.columnId===t.id)if(n.direction==="asc")r="desc";else return{...e,sort:{columnId:null,direction:"asc"}};return{...e,sort:{columnId:t.id,direction:r}}}case"SET_GROUPING":return{...e,rowGrouping:{groupBy:[...t.columnIds],expandedGroupIds:new Set}};case"TOGGLE_GROUP":{const n=new Set(e.rowGrouping.expandedGroupIds);return n.has(t.groupId)?n.delete(t.groupId):n.add(t.groupId),{...e,rowGrouping:{...e.rowGrouping,expandedGroupIds:n}}}case"EXPAND_ALL_GROUPS":return{...e,rowGrouping:{...e.rowGrouping,expandedGroupIds:new Set(t.groupIds)}};case"COLLAPSE_ALL_GROUPS":return{...e,rowGrouping:{...e.rowGrouping,expandedGroupIds:new Set}};case"CLEAR_GROUPING":return{...e,rowGrouping:{groupBy:[],expandedGroupIds:new Set}};case"RESET":return t.initial;default:return e}}function o1(e){const t=[],n=[];return e.forEach((r,o)=>{n1(r)?(n.push(r),r.children.forEach(s=>{t.push({...s,groupId:r.id,defIndex:o})})):t.push({...r,groupId:null,defIndex:o})}),{leaves:t,groups:n}}function dE(e,t=[]){var n,r,o,s,i;const{leaves:a,groups:l}=o1(e),c={},u=[];for(const d of a)u.push(d.id),c[d.id]={width:(n=d.width)!=null?n:aE,minWidth:(r=d.minWidth)!=null?r:lE,maxWidth:(o=d.maxWidth)!=null?o:cE,pinned:(s=d.pinned)!=null?s:null,hidden:(i=d.hidden)!=null?i:!1};return{internal:{colMap:c,colOrder:u,sort:{columnId:null,direction:"asc"},rowGrouping:{groupBy:[...t],expandedGroupIds:new Set}},leaves:a,groups:l}}function fE(e,t=[]){const{initial:n}=p.useMemo(()=>({initial:dE(e,t).internal}),[]),{leaves:r,groups:o}=p.useMemo(()=>o1(e),[e]),[s,i]=p.useReducer(uE,n),a=p.useMemo(()=>s.colOrder.flatMap(N=>{var U,se,ue,B,E,D;const L=r.find(re=>re.id===N),$=s.colMap[N];return!L||!$?[]:[{id:L.id,label:L.label,field:L.field,accessor:L.accessor,renderCell:L.renderCell,deferRender:L.deferRender,renderHeader:L.renderHeader,cellStyle:L.cellStyle,headerStyle:L.headerStyle,align:(U=L.align)!=null?U:"left",sortable:(se=L.sortable)!=null?se:!0,resizable:(ue=L.resizable)!=null?ue:!0,draggable:(B=L.draggable)!=null?B:!0,hideable:(E=L.hideable)!=null?E:!0,rowGroup:(D=L.rowGroup)!=null?D:typeof L.rowGroupIndex=="number",rowGroupIndex:typeof L.rowGroupIndex=="number"&&Number.isFinite(L.rowGroupIndex)?L.rowGroupIndex:null,rowGroupValueGetter:L.rowGroupValueGetter,groupId:L.groupId,defIndex:L.defIndex,width:$.width,minWidth:$.minWidth,maxWidth:$.maxWidth,pinned:$.pinned,hidden:$.hidden}]}),[s.colOrder,s.colMap,r]),l=p.useMemo(()=>a.filter(N=>!N.hidden),[a]),c=p.useMemo(()=>l.filter(N=>N.pinned==="left"),[l]),u=p.useMemo(()=>l.filter(N=>N.pinned==="right"),[l]),d=p.useMemo(()=>l.filter(N=>!N.pinned),[l]),h=p.useMemo(()=>c.reduce((N,U)=>N+U.width,0),[c]),m=p.useMemo(()=>u.reduce((N,U)=>N+U.width,0),[u]),g=p.useMemo(()=>d.reduce((N,U)=>N+U.width,0),[d]),C=p.useCallback((N,U)=>i({type:"RESIZE",id:N,delta:U}),[]),b=p.useCallback((N,U)=>i({type:"SET_WIDTH",id:N,width:U}),[]),v=p.useCallback((N,U)=>i({type:"PIN",id:N,side:U}),[]),k=p.useCallback(N=>i({type:"TOGGLE_HIDDEN",id:N}),[]),w=p.useCallback(()=>i({type:"SHOW_ALL"}),[]),x=p.useCallback((N,U)=>i({type:"MOVE_BEFORE",sourceId:N,targetId:U}),[]),T=p.useCallback(N=>i({type:"MOVE_LAST",sourceId:N}),[]),M=p.useCallback(N=>i({type:"TOGGLE_SORT",id:N}),[]),A=p.useCallback(N=>i({type:"SET_GROUPING",columnIds:N}),[]),I=p.useCallback(N=>i({type:"TOGGLE_GROUP",groupId:N}),[]),P=p.useCallback(N=>i({type:"EXPAND_ALL_GROUPS",groupIds:N}),[]),R=p.useCallback(()=>i({type:"COLLAPSE_ALL_GROUPS"}),[]),W=p.useCallback(()=>i({type:"CLEAR_GROUPING"}),[]),S=p.useCallback(()=>i({type:"RESET",initial:n}),[n]);return{...{orderedColumns:a,visibleColumns:l,pinnedLeftColumns:c,pinnedRightColumns:u,scrollableColumns:d,pinnedLeftWidth:h,pinnedRightWidth:m,scrollableWidth:g,sortState:s.sort,rowGroupingState:s.rowGrouping,groups:o,hasGroups:o.length>0},...{resizeColumn:C,setColumnWidth:b,pinColumn:v,toggleColumnVisibility:k,showAllColumns:w,moveColumnBefore:x,moveColumnToEnd:T,toggleSort:M,setGroupingColumns:A,toggleGroup:I,expandAllGroups:P,collapseAllGroups:R,clearGrouping:W,resetColumns:S}}}const pE="Empty";function hE(e,t,n){var r;const o=n.get(t);return o?.rowGroupValueGetter?o.rowGroupValueGetter(e):o?.accessor?o.accessor(e):e[(r=o?.field)!=null?r:t]}function mE(e){return e==null||e===""?pE:e}function gE(e,t){return`${encodeURIComponent(e)}=${encodeURIComponent(String(t))}`}function yE(e){return e.map((t,n)=>({type:"leaf",id:`leaf:${n}`,row:t,rowIndex:n,depth:0}))}function CE(e){return e.reduce((t,n)=>t+(n.type==="group"?n.leafRowCount:1),0)}function s1(e,t,n,r,o,s){const i=t[n];if(!i)return e.map(c=>({...c,depth:n}));const a=new Map;for(const c of e){const u=mE(hE(c.row,i,r)),d=String(u),h=a.get(d);h?h.rows.push(c):a.set(d,{value:u,rows:[c]})}const l=[];for(const c of a.values()){const u=[...s,gE(i,c.value)],d=`group:${u.join("/")}`,h=s1(c.rows,t,n+1,r,o,u);l.push({type:"group",id:d,path:u,groupingColumnId:i,groupingValue:c.value,depth:n,children:h,leafRowCount:CE(h),expanded:o.has(d)})}return l}function bE(e,t,n,r){const o=t.filter(Boolean),s=yE(e);if(o.length===0)return s;const i=new Map(n.map(a=>[a.id,a]));return s1(s,o,0,i,r,[])}function i1(e,t,n){const r=t.rowGroupIndex,o=typeof r=="number"&&Number.isFinite(r);!t.rowGroup&&!o||e.push({id:t.id,order:o?r:Number.MAX_SAFE_INTEGER,defOrder:n})}function vE(e){const t=[];let n=0;for(const o of e)if(n1(o))for(const s of o.children)i1(t,s,n),n+=1;else i1(t,o,n),n+=1;const r=new Set;return t.sort((o,s)=>o.order-s.order||o.defOrder-s.defOrder).flatMap(o=>r.has(o.id)?[]:(r.add(o.id),[o.id]))}function xE(e){const t=[],n=r=>{for(const o of r)t.push(o),o.type==="group"&&o.expanded&&n(o.children)};return n(e),t}const a1=16,l1=1e3;function wE(e,t,n,r){if(e===0||r<=0)return{startIndex:0,endIndex:-1,totalHeight:e*t,offsetY:0};const o=e*t,s=Math.floor(n/t),i=Math.max(0,s-a1),a=Math.ceil(r/t),l=Math.min(e-1,s+a+a1);return{startIndex:i,endIndex:l,totalHeight:o,offsetY:i*t}}function SE(e,t,n,r){var o,s,i;const a=e.length;if(a===0)return{startIndex:0,endIndex:-1};const l=Math.max(0,n-l1),c=n+r+l1;let u=0,d=a-1;for(;u<d;){const g=u+d>>>1;((o=e[g])!=null?o:0)+((s=t[g])!=null?s:0)<=l?u=g+1:d=g}const h=u;let m=h;for(;m<a-1&&((i=e[m+1])!=null?i:0)<c;)m++;return{startIndex:h,endIndex:Math.min(a-1,m)}}function kE(e){var t,n;const r=new Array(e.length);let o=0;for(let s=0;s<e.length;s++)r[s]=o,o+=(n=(t=e[s])==null?void 0:t.width)!=null?n:0;return r}function TE({onResize:e,onResizeEnd:t,getCurrentWidth:n}){const r=p.useRef(0),o=p.useRef("");return{startResize:p.useCallback((i,a)=>{i.preventDefault(),i.stopPropagation(),r.current=i.clientX,o.current=a;const l=u=>{const d=u.clientX-r.current;r.current=u.clientX,e(o.current,d)},c=()=>{window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",c),document.body.style.cursor="",document.body.style.userSelect="",t?.(o.current,n(o.current))};document.body.style.cursor="col-resize",document.body.style.userSelect="none",window.addEventListener("mousemove",l),window.addEventListener("mouseup",c)},[e,t,n])}}const c1=4,u1={draggingId:null,overTargetId:null,insertBefore:!0};function EE({onMoveColumnBefore:e,onMoveColumnToEnd:t,columns:n,getColumnViewportBounds:r}){const[o,s]=p.useState(u1),i=p.useRef(n);i.current=n;const a=p.useRef(r);a.current=r;const l=p.useRef(null),c=p.useRef(!1),u=p.useRef(0),d=p.useCallback(b=>{l.current=b},[]);p.useLayoutEffect(()=>{o.draggingId&&l.current&&(l.current.style.left=`${u.current}px`)},[o.draggingId]);const h=p.useCallback(b=>{var v,k;const w=i.current,x=w.findIndex(R=>R.id===b);if(x===-1)return{ids:new Set([b]),afterId:null};const T=w[x];let M=x,A=x;for(let R=x-1;R>=0;R--){const W=w[R];if(W.pinned!==T.pinned||W.groupId!==T.groupId||!W.draggable)break;M=R}for(let R=x+1;R<w.length;R++){const W=w[R];if(W.pinned!==T.pinned||W.groupId!==T.groupId||!W.draggable)break;A=R}const I=new Set(w.slice(M,A+1).map(R=>R.id)),P=(k=(v=w[A+1])==null?void 0:v.id)!=null?k:null;return{ids:I,afterId:P}},[]),m=p.useCallback((b,v)=>{var k,w,x;const{ids:T,afterId:M}=h(v),A=a.current,I=i.current,P=[];for(const j of T){if(j===v)continue;const _=A(j);if(!_)continue;const N=I.find(U=>U.id===j);P.push({id:j,left:_.left,right:_.right,mid:(_.left+_.right)/2,draggable:(k=N?.draggable)!=null?k:!1})}P.sort((j,_)=>j.left-_.left);let R=null;for(const j of P){if(b<=j.mid)return j.draggable?{id:j.id,afterId:M,highlightId:j.id,insertBefore:!0}:{id:j.id,afterId:M,highlightId:(w=R?.id)!=null?w:null,insertBefore:!1};j.draggable&&(R=j)}let W=null;for(let j=P.length-1;j>=0;j--)if(P[j].draggable){W=P[j];break}return P[P.length-1]?{id:null,afterId:M,highlightId:(x=W?.id)!=null?x:null,insertBefore:!1}:{id:null,afterId:M,highlightId:null,insertBefore:!0}},[h]),g=p.useCallback(b=>({onPointerDown:v=>{if(v.button!==0)return;v.preventDefault();const k=v.clientX,w=v.clientY;let x=!1,T=0,M=0,A=null,I=null,P=!0;const R=()=>{if(!A)return;const j=A;A=null;const{highlightId:_,insertBefore:N}=m(j.clientX,b);l.current&&(l.current.style.left=`${j.clientX-T}px`),(_!==I||N!==P)&&(I=_,P=N,s(U=>U.overTargetId===_&&U.insertBefore===N?U:{...U,overTargetId:_,insertBefore:N}))},W=j=>{if(!x){if(Math.abs(j.clientX-k)<c1&&Math.abs(j.clientY-w)<c1)return;x=!0;const _=a.current(b);_&&(T=k-_.left),u.current=k-T;const{highlightId:N,insertBefore:U}=m(k,b);I=N,P=U,s({draggingId:b,overTargetId:N,insertBefore:U}),document.body.style.cursor="grabbing",document.body.style.userSelect="none";return}A=j,M||(M=requestAnimationFrame(()=>{M=0,R()}))},S=j=>{if(document.removeEventListener("pointermove",W),document.removeEventListener("pointerup",S),M&&cancelAnimationFrame(M),document.body.style.cursor="",document.body.style.userSelect="",x){const{id:_,afterId:N}=m(j.clientX,b);_!==null&&_!==b?e(b,_):_===null&&(N!==null?e(b,N):t?.(b)),c.current=!0,setTimeout(()=>{c.current=!1},0)}s(u1)};document.addEventListener("pointermove",W),document.addEventListener("pointerup",S)}}),[e,t,m]),C=p.useCallback(()=>c.current?(c.current=!1,!0):!1,[]);return{getDragHandlers:g,dragState:o,registerGhost:d,consumeDragEnd:C}}function Wn(e,t,n){return Math.max(t,Math.min(n,e))}function ME(e){return e instanceof HTMLElement?!!e.closest('input, textarea, select, button, a[href], [contenteditable="true"], [role="button"], [role="textbox"], [role="checkbox"], [role="combobox"], [role="menuitem"], [role="option"], [role="radio"], [role="searchbox"], [role="slider"], [role="switch"], [role="spinbutton"], [role="tab"]'):!1}function OE(e,t){return!e||!t||e.kind!==t.kind?!1:e.kind==="cell"&&t.kind==="cell"?e.rowIndex===t.rowIndex&&e.colIndex===t.colIndex:e.kind==="header"&&t.kind==="header"?e.colIndex===t.colIndex:e.kind==="groupHeader"&&t.kind==="groupHeader"?e.groupId===t.groupId:!1}function DE(e,t){var n,r;const o=Array.from(e.querySelectorAll(t));return(r=(n=o.find(s=>s.getAttribute("aria-hidden")!=="true"))!=null?n:o[0])!=null?r:null}function d1(e,t,n){return!e||t<=0||n<=0?null:{rowIndex:Wn(e.rowIndex,0,t-1),colIndex:Wn(e.colIndex,0,n-1)}}function jl(e,t,n){if(!e||n<=0)return null;if(e.kind==="cell"){const r=d1(e,t,n);return r?{kind:"cell",...r}:null}return e.kind==="header"?{kind:"header",colIndex:Wn(e.colIndex,0,n-1)}:{kind:"groupHeader",groupId:e.groupId,colStartIndex:Wn(e.colStartIndex,0,n-1),colEndIndex:Wn(e.colEndIndex,0,n-1)}}function AE(e,t){return t.target}function IE(e){return e.kind==="cell"?`cell:${e.rowIndex}:${e.colIndex}`:e.kind==="header"?`header:${e.colIndex}`:`group:${e.groupId}`}function PE({rowCount:e,colCount:t,visibleRowCount:n=20,headerTargets:r=[],getRowGroup:o,onFocusCell:s,onFocusHeader:i,onSelectRow:a,onToggleRow:l,onSelectRange:c,onSelectAll:u,onActivateCell:d,onToggleGroup:h,onToggleHeaderSort:m,onDeleteRows:g,onInsertRow:C,onResizeColumn:b,onReorderColumn:v}){const[k,w]=p.useReducer(AE,null),x=jl(k,e,t),T=x?.kind==="cell"?{rowIndex:x.rowIndex,colIndex:x.colIndex}:null,M=p.useMemo(()=>{const B=new Set,E=[];for(const D of r){const L=jl(D,e,t);if(!L||L.kind==="cell")continue;const $=IE(L);B.has($)||(B.add($),E.push(L))}if(E.length===0)for(let D=0;D<t;D++)E.push({kind:"header",colIndex:D});return E},[t,r,e]),A=p.useMemo(()=>M.filter(B=>B.kind==="header"),[M]),I=p.useCallback(B=>{const E=jl(B,e,t);w({type:"SET",target:E}),E?.kind==="cell"?s?.(E):E?.kind==="header"?i?.(E.colIndex):E?.kind==="groupHeader"&&i?.(E.colStartIndex)},[e,t,s,i]),P=p.useCallback(B=>{I({kind:"cell",...B})},[I]),R=p.useCallback(B=>{I(B?{kind:"cell",...B}:null)},[I]),W=p.useCallback((B,E,D,L)=>{const $=d1({rowIndex:L.rowIndex+B,colIndex:L.colIndex+E},e,t);$&&(P($),D&&B!==0&&c?.(L.rowIndex,$.rowIndex))},[e,t,P,c]),S=p.useCallback(B=>{I({kind:"header",colIndex:B})},[I]),j=p.useCallback((B,E)=>{const D=A.findIndex(Y=>Y.colIndex===B),L=Wn(B+E,0,t-1),$=A[Wn(D<0?L:D+E,0,A.length-1)];I($??{kind:"header",colIndex:L})},[t,A,I]),_=p.useCallback((B,E)=>{const D=M.findIndex($=>OE($,B)),L=M[Wn(D+E,0,M.length-1)];I(L??B)},[M,I]),N=p.useCallback((B,E)=>{var D;const L=B.ctrlKey||B.metaKey,$=(D=o?.(E.rowIndex))!=null?D:null;if(L&&B.key.toLowerCase()==="a"){B.preventDefault(),u?.();return}if(B.altKey&&(B.key==="ArrowLeft"||B.key==="ArrowRight")){B.preventDefault(),b?.(E.colIndex,B.key==="ArrowRight"?10:-10);return}if(L&&B.shiftKey&&(B.key==="ArrowLeft"||B.key==="ArrowRight")){B.preventDefault();const Y=B.key==="ArrowRight"?1:-1,re=v?.(E.colIndex,Y);P({rowIndex:E.rowIndex,colIndex:typeof re=="number"?re:Wn(E.colIndex+Y,0,t-1)});return}switch(B.key){case"ArrowDown":B.preventDefault(),W(1,0,B.shiftKey,E);break;case"ArrowUp":B.preventDefault(),E.rowIndex===0?S(E.colIndex):W(-1,0,B.shiftKey,E);break;case"ArrowRight":B.preventDefault(),$&&!$.expanded?h?.($.id):$||P({rowIndex:E.rowIndex,colIndex:L?t-1:E.colIndex+1});break;case"ArrowLeft":B.preventDefault(),$&&$.expanded?h?.($.id):$||P({rowIndex:E.rowIndex,colIndex:L?0:E.colIndex-1});break;case"Home":B.preventDefault(),P({rowIndex:L?0:E.rowIndex,colIndex:0});break;case"End":B.preventDefault(),P({rowIndex:L?e-1:E.rowIndex,colIndex:t-1});break;case"PageDown":B.preventDefault(),P({rowIndex:E.rowIndex+n,colIndex:E.colIndex});break;case"PageUp":B.preventDefault(),P({rowIndex:E.rowIndex-n,colIndex:E.colIndex});break;case" ":B.preventDefault(),L?l?.(E.rowIndex):a?.(E.rowIndex,!1);break;case"Enter":B.preventDefault(),$?h?.($.id):d?.(E);break;case"F2":B.preventDefault(),d?.(E);break;case"Delete":B.preventDefault(),g?.();break;case"Insert":B.preventDefault(),C?.();break}},[t,o,W,P,S,d,g,C,v,b,u,a,h,l,e,n]),U=p.useCallback((B,E)=>{const D=B.ctrlKey||B.metaKey;if(B.altKey&&(B.key==="ArrowLeft"||B.key==="ArrowRight")){B.preventDefault(),b?.(E.colIndex,B.key==="ArrowRight"?10:-10);return}if(D&&B.shiftKey&&(B.key==="ArrowLeft"||B.key==="ArrowRight")){B.preventDefault();const L=B.key==="ArrowRight"?1:-1,$=v?.(E.colIndex,L);S(typeof $=="number"?$:Wn(E.colIndex+L,0,t-1));return}switch(B.key){case"ArrowUp":B.preventDefault();break;case"ArrowLeft":B.preventDefault(),j(E.colIndex,-1);break;case"ArrowRight":B.preventDefault(),j(E.colIndex,1);break;case"ArrowDown":B.preventDefault(),P({rowIndex:0,colIndex:E.colIndex});break;case"Home":B.preventDefault(),S(0);break;case"End":B.preventDefault(),S(t-1);break;case"Enter":B.preventDefault(),m?.(E.colIndex,B.shiftKey);break}},[t,P,j,S,v,b,m]),se=p.useCallback((B,E)=>{var D,L;switch(B.key){case"ArrowLeft":B.preventDefault(),_(E,-1);break;case"ArrowRight":B.preventDefault(),_(E,1);break;case"ArrowDown":B.preventDefault(),S(E.colStartIndex);break;case"Home":B.preventDefault(),I((D=M[0])!=null?D:E);break;case"End":B.preventDefault(),I((L=M[M.length-1])!=null?L:E);break;case"Enter":B.preventDefault();break}},[_,S,M,I]),ue=p.useCallback(B=>{var E,D;if(e===0||t===0)return;const L=B.target instanceof HTMLElement?B.target.closest("[data-grid-header-cell]"):null,$=L?.dataset.gridHeaderCell?Number(L.dataset.gridHeaderCell):null;if(B.key==="Escape"&&$!=null){B.preventDefault(),S($);return}const Y=B.target instanceof HTMLElement?B.target.closest("[data-grid-group-header]"):null;if(B.key==="Escape"&&Y?.dataset.gridGroupHeader){B.preventDefault(),I({kind:"groupHeader",groupId:Y.dataset.gridGroupHeader,colStartIndex:Number((E=Y.dataset.colStartIndex)!=null?E:0),colEndIndex:Number((D=Y.dataset.colEndIndex)!=null?D:0)});return}if(ME(B.target))return;const re=x??{kind:"cell",rowIndex:0,colIndex:0};re.kind==="cell"?N(B,re):re.kind==="header"?U(B,re):se(B,re)},[t,N,se,U,S,x,e,I]);return{focusedCell:T,focusedTarget:x,setFocusedCell:R,setFocusedTarget:I,moveFocus:P,handleKeyDown:ue,isHeaderFocused:B=>x?.kind==="header"&&x.colIndex===B,isGroupHeaderFocused:B=>x?.kind==="groupHeader"&&x.groupId===B}}const f1=p.createContext(null),LE=f1.Provider;function Lo(){const e=p.useContext(f1);if(!e)throw new Error("[LatticeGrid] useGridContext must be inside a <LatticeGrid>.");return e}const Bs={"--vg-font":"'DM Sans', 'Segoe UI', system-ui, sans-serif","--vg-font-mono":"'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace","--vg-font-size":"12.5px","--vg-line-height":"1.45","--vg-row-height":"36px","--vg-header-height":"38px","--vg-group-height":"28px","--vg-radius":"7px","--vg-radius-sm":"4px","--vg-radius-xs":"3px","--vg-transition":"0.12s ease","--vg-z-pinned":"3","--vg-z-header":"4","--vg-z-panel":"100","--vg-scrollbar-width":"6px"},jo={light:{...Bs,"--vg-bg":"#ffffff","--vg-bg-header":"#f7f8fa","--vg-bg-group":"#f0f2f6","--vg-bg-row-alt":"#fafbfc","--vg-bg-row-hover":"#f0f5ff","--vg-bg-row-selected":"#e8efff","--vg-bg-pinned":"#ffffff","--vg-bg-frozen":"#eff6ff","--vg-bg-toolbar":"#ffffff","--vg-bg-panel":"#ffffff","--vg-bg-btn":"#f3f4f6","--vg-bg-btn-hover":"#e9eaec","--vg-bg-btn-active":"#dbeafe","--vg-bg-tag":"#f0f2f6","--vg-bg-input":"#ffffff","--vg-text":"#111827","--vg-text-dim":"#6b7280","--vg-text-header":"#374151","--vg-text-group":"#1e2939","--vg-text-placeholder":"#9ca3af","--vg-border":"#e5e7eb","--vg-border-strong":"#d1d5db","--vg-border-focus":"#2563eb","--vg-accent":"#2563eb","--vg-accent-hover":"#1d4ed8","--vg-accent-bg":"#dbeafe","--vg-accent-text":"#1d4ed8","--vg-accent-fg":"#ffffff","--vg-shadow-pin":"4px 0 12px rgba(0,0,0,0.06)","--vg-shadow-panel":"0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06)","--vg-scrollbar-track":"#f1f3f5","--vg-scrollbar-thumb":"#d1d5db","--vg-sort-icon":"#9ca3af","--vg-sort-active":"#2563eb","--vg-resize-hover":"#2563eb","--vg-drag-indicator":"#2563eb"},dark:{...Bs,"--vg-bg":"#0d1117","--vg-bg-header":"#161c28","--vg-bg-group":"#1a2235","--vg-bg-row-alt":"#111620","--vg-bg-row-hover":"#1c2438","--vg-bg-row-selected":"#1a3558","--vg-bg-pinned":"#0d1117","--vg-bg-frozen":"#0f2040","--vg-bg-toolbar":"#161c28","--vg-bg-panel":"#161c28","--vg-bg-btn":"#1c2438","--vg-bg-btn-hover":"#242e48","--vg-bg-btn-active":"#1e3558","--vg-bg-tag":"#1c2438","--vg-bg-input":"#1c2438","--vg-text":"#e2e8f4","--vg-text-dim":"#8896b4","--vg-text-header":"#b4c0d8","--vg-text-group":"#d0daf0","--vg-text-placeholder":"#4a5670","--vg-border":"#1e2840","--vg-border-strong":"#283550","--vg-border-focus":"#3b82f6","--vg-accent":"#3b82f6","--vg-accent-hover":"#60a5fa","--vg-accent-bg":"#1e3558","--vg-accent-text":"#93c5fd","--vg-accent-fg":"#ffffff","--vg-shadow-pin":"4px 0 16px rgba(0,0,0,0.4)","--vg-shadow-panel":"0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3)","--vg-scrollbar-track":"#161c28","--vg-scrollbar-thumb":"#283550","--vg-sort-icon":"#3a4a68","--vg-sort-active":"#3b82f6","--vg-resize-hover":"#3b82f6","--vg-drag-indicator":"#3b82f6"},ocean:{...Bs,"--vg-bg":"#081425","--vg-bg-header":"#0c1e38","--vg-bg-group":"#0f2444","--vg-bg-row-alt":"#0a1830","--vg-bg-row-hover":"#112440","--vg-bg-row-selected":"#0e2c58","--vg-bg-pinned":"#081425","--vg-bg-frozen":"#051830","--vg-bg-toolbar":"#0c1e38","--vg-bg-panel":"#0c1e38","--vg-bg-btn":"#0f2444","--vg-bg-btn-hover":"#163058","--vg-bg-btn-active":"#0e2c58","--vg-bg-tag":"#0f2444","--vg-bg-input":"#0f2444","--vg-text":"#b8d4f8","--vg-text-dim":"#3c6080","--vg-text-header":"#6aabf0","--vg-text-group":"#9ccaf0","--vg-text-placeholder":"#2a4860","--vg-border":"#0f2444","--vg-border-strong":"#163058","--vg-border-focus":"#0e9eff","--vg-accent":"#0e9eff","--vg-accent-hover":"#40b6ff","--vg-accent-bg":"#0e2c58","--vg-accent-text":"#7dd0ff","--vg-accent-fg":"#ffffff","--vg-shadow-pin":"4px 0 16px rgba(0,0,0,0.5)","--vg-shadow-panel":"0 8px 40px rgba(0,10,30,0.7)","--vg-scrollbar-track":"#0c1e38","--vg-scrollbar-thumb":"#163058","--vg-sort-icon":"#1a4070","--vg-sort-active":"#0e9eff","--vg-resize-hover":"#0e9eff","--vg-drag-indicator":"#0e9eff"},forest:{...Bs,"--vg-bg":"#0a140c","--vg-bg-header":"#0f1e12","--vg-bg-group":"#132418","--vg-bg-row-alt":"#0c1810","--vg-bg-row-hover":"#162c1c","--vg-bg-row-selected":"#143a1a","--vg-bg-pinned":"#0a140c","--vg-bg-frozen":"#0a1f0a","--vg-bg-toolbar":"#0f1e12","--vg-bg-panel":"#0f1e12","--vg-bg-btn":"#132418","--vg-bg-btn-hover":"#1e3828","--vg-bg-btn-active":"#143a1a","--vg-bg-tag":"#132418","--vg-bg-input":"#132418","--vg-text":"#b8d8a8","--vg-text-dim":"#406840","--vg-text-header":"#72b860","--vg-text-group":"#98c888","--vg-text-placeholder":"#284828","--vg-border":"#132418","--vg-border-strong":"#1e3828","--vg-border-focus":"#4ade80","--vg-accent":"#4ade80","--vg-accent-hover":"#86efac","--vg-accent-bg":"#143a1a","--vg-accent-text":"#86efac","--vg-accent-fg":"#0a140c","--vg-shadow-pin":"4px 0 16px rgba(0,0,0,0.5)","--vg-shadow-panel":"0 8px 40px rgba(0,10,0,0.7)","--vg-scrollbar-track":"#0f1e12","--vg-scrollbar-thumb":"#1e3828","--vg-sort-icon":"#204020","--vg-sort-active":"#4ade80","--vg-resize-hover":"#4ade80","--vg-drag-indicator":"#4ade80"},sunset:{...Bs,"--vg-bg":"#160a04","--vg-bg-header":"#221008","--vg-bg-group":"#2e160c","--vg-bg-row-alt":"#1c0e06","--vg-bg-row-hover":"#2e1a0c","--vg-bg-row-selected":"#3a1a08","--vg-bg-pinned":"#160a04","--vg-bg-frozen":"#1f0d04","--vg-bg-toolbar":"#221008","--vg-bg-panel":"#221008","--vg-bg-btn":"#2e160c","--vg-bg-btn-hover":"#3e2018","--vg-bg-btn-active":"#3a1a08","--vg-bg-tag":"#2e160c","--vg-bg-input":"#2e160c","--vg-text":"#f0c8a0","--vg-text-dim":"#805030","--vg-text-header":"#e09060","--vg-text-group":"#f0a870","--vg-text-placeholder":"#503020","--vg-border":"#2e160c","--vg-border-strong":"#3e2018","--vg-border-focus":"#fb923c","--vg-accent":"#fb923c","--vg-accent-hover":"#fdba74","--vg-accent-bg":"#3a1a08","--vg-accent-text":"#fdba74","--vg-accent-fg":"#160a04","--vg-shadow-pin":"4px 0 16px rgba(0,0,0,0.5)","--vg-shadow-panel":"0 8px 40px rgba(20,0,0,0.7)","--vg-scrollbar-track":"#221008","--vg-scrollbar-thumb":"#3e2018","--vg-sort-icon":"#50280c","--vg-sort-active":"#fb923c","--vg-resize-hover":"#fb923c","--vg-drag-indicator":"#fb923c"}};function jE(e){var t;return!e||e==="light"?jo.light:typeof e=="string"?(t=jo[e])!=null?t:jo.light:{...jo.light,...e}}function rI(e){return e}function RE({direction:e,active:t}){return f.jsxs("span",{style:{display:"inline-flex",flexDirection:"column",gap:1,marginLeft:3,opacity:t?1:.3,flexShrink:0,color:t?"var(--vg-sort-active)":"var(--vg-sort-icon)",transition:"opacity var(--vg-transition)"},children:[f.jsx("svg",{width:"7",height:"5",viewBox:"0 0 7 5",children:f.jsx("path",{d:"M3.5 0L7 5H0z",fill:"currentColor",opacity:t&&e==="asc"?1:.35})}),f.jsx("svg",{width:"7",height:"5",viewBox:"0 0 7 5",children:f.jsx("path",{d:"M3.5 5L0 0h7z",fill:"currentColor",opacity:t&&e==="desc"?1:.35})})]})}function _E(){return f.jsx("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",children:f.jsx("path",{d:"M1 1l6 6M7 1L1 7",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}const Hr=p.memo(function({column:t,colIndex:n,style:r,showResizeHandle:o=!0,isFirst:s=!1,isLast:i=!1,active:a=!1,focusable:l=a,onFocusHeader:c}){var u,d;const{engine:h,dragHandlers:m,startResize:g,features:C,icons:b,texts:v,styles:k,classNames:w}=Lo(),{sortState:x,toggleSort:T,toggleColumnVisibility:M}=h,{getDragHandlers:A,dragState:I,consumeDragEnd:P}=m,[R,W]=p.useState(!1),S=x.columnId===t.id,j=I.draggingId===t.id,_=I.overTargetId===t.id,N=I.insertBefore,U=t.sortable&&C.sort,se=t.resizable&&C.resize,ue=t.draggable&&C.reorder,B=t.hideable&&C.columnHide,E=ue?A(t.id):{},D=X=>{P()||X.target.closest("[data-vg-hide]")||U&&T(t.id)},L=X=>{X.stopPropagation(),M(t.id)},$=X=>{X.stopPropagation(),X.preventDefault(),g(X,t.id)},Y=_?"var(--vg-accent-bg)":R?"var(--vg-bg-row-hover)":"var(--vg-bg-header)",re=s?"1px solid var(--vg-border)":void 0,he="1px solid var(--vg-border)",oe=_?N?"inset 3px 0 0 var(--vg-accent)":"inset -3px 0 0 var(--vg-accent)":void 0;return f.jsxs("div",{role:"columnheader","data-grid-header-cell":n,tabIndex:l?0:-1,"aria-sort":S?x.direction==="asc"?"ascending":"descending":"none",className:(u=w.headerCell)!=null?u:void 0,...E,onClick:D,onFocus:X=>{X.target===X.currentTarget&&c?.(n)},onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),style:{...r,position:"absolute",display:"flex",alignItems:"center",justifyContent:t.align==="center"?"center":t.align==="right"?"flex-end":"flex-start",padding:"0 8px",fontWeight:600,fontSize:"var(--vg-font-size)",color:"var(--vg-text-header)",background:Y,borderLeft:re,borderRight:he,borderBottom:"1px solid var(--vg-border)",boxShadow:oe,cursor:U?"pointer":ue?"grab":"default",userSelect:"none",opacity:j?.45:1,boxSizing:"border-box",overflow:"visible",whiteSpace:"nowrap",transition:"background var(--vg-transition)",outline:a?"2px solid var(--vg-accent)":"none",outlineOffset:-2,...t.headerStyle,...k.headerCell,...t.groupId?k.groupHeaderCell:{}},children:[f.jsx("span",{style:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",textAlign:t.align},children:t.renderHeader?t.renderHeader(t,h):t.label}),U&&(()=>{if(S){const X=x.direction==="asc"?b.sortAsc:b.sortDesc;if(X)return f.jsx("span",{style:{marginLeft:3,flexShrink:0},children:X})}else if(b.sortNone)return f.jsx("span",{style:{marginLeft:3,flexShrink:0,opacity:.3},children:b.sortNone});return f.jsx(RE,{direction:x.direction,active:S})})(),B&&f.jsx("span",{"data-vg-hide":"",role:"button","aria-label":v.hideColumn,title:v.hideColumn,onClick:L,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:14,height:14,borderRadius:3,marginLeft:3,flexShrink:0,cursor:"pointer",opacity:R?.7:0,pointerEvents:R?"auto":"none",background:"transparent",color:"var(--vg-text-dim)",transition:"opacity 0.12s",userSelect:"none"},onMouseEnter:X=>{X.currentTarget.style.opacity="1",X.currentTarget.style.background="var(--vg-border-strong)"},onMouseLeave:X=>{X.currentTarget.style.opacity=R?"0.7":"0",X.currentTarget.style.background="transparent"},children:(d=b.hideColumn)!=null?d:f.jsx(_E,{})}),o&&se&&f.jsx("div",{"aria-hidden":"true","data-resize-handle":"",onPointerDown:X=>X.stopPropagation(),onMouseDown:$,onClick:X=>X.stopPropagation(),style:{position:"absolute",right:-4,top:0,width:8,height:"100%",borderRadius:2,cursor:"col-resize",background:"transparent",zIndex:3,transition:"background var(--vg-transition)"},onMouseEnter:X=>X.currentTarget.style.background="var(--vg-resize-hover)",onMouseLeave:X=>X.currentTarget.style.background="transparent"})]})});if(typeof document<"u"){const e="vg-shimmer-keyframes";if(!document.getElementById(e)){const t=document.createElement("style");t.id=e,t.textContent="@keyframes vg-shimmer{from{background-position:200% 0}to{background-position:-200% 0}}",document.head.appendChild(t)}}function BE(e,t){return e.column===t.column&&e.row===t.row&&e.rowIndex===t.rowIndex&&e.colIndex===t.colIndex&&e.pinned===t.pinned&&e.isScrolling===t.isScrolling&&e.active===t.active&&e.focusable===t.focusable&&e.selected===t.selected&&e.valueOverride===t.valueOverride&&e.indent===t.indent&&e.ariaHidden===t.ariaHidden&&e.style.left===t.style.left&&e.style.top===t.style.top&&e.style.width===t.style.width&&e.style.height===t.style.height&&e.style.background===t.style.background&&e.style.zIndex===t.style.zIndex}function NE(){return f.jsx("div",{style:{width:"60%",height:10,borderRadius:4,background:"linear-gradient(90deg, var(--vg-border) 25%, var(--vg-bg-row-hover) 50%, var(--vg-border) 75%)",backgroundSize:"200% 100%",animation:"vg-shimmer 1.2s infinite linear"}})}const T0=p.memo(function({column:t,row:n,rowIndex:r,colIndex:o,style:s,pinned:i=!1,isScrolling:a=!1,loadingCell:l,active:c=!1,focusable:u=c,selected:d=!1,valueOverride:h,indent:m=0,onFocusCell:g,onActivateCell:C,ariaHidden:b=!1}){var v,k,w,x;const{styles:T,classNames:M}=Lo();if(a&&t.deferRender&&t.renderCell)return f.jsx("div",{role:b?void 0:"gridcell","aria-hidden":b||void 0,"aria-colindex":o+1,"aria-selected":d,tabIndex:!b&&u?0:-1,"data-grid-cell":b?void 0:`${r}:${o}`,onFocus:se=>{se.target===se.currentTarget&&g?.(r,o)},style:{...s,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 10px",paddingLeft:10+m,boxSizing:"border-box",overflow:"hidden",outline:c?"2px solid var(--vg-accent)":"none",outlineOffset:-2},children:l??f.jsx(NE,{})});const A=h??(t.accessor?t.accessor(n):n[(v=t.field)!=null?v:t.id]),I=t.renderCell?t.renderCell(A,n):A??"—",P=t.align==="center"?"center":t.align==="right"?"flex-end":"flex-start",R=i?T.pinnedCell:T.cell,{background:W,backgroundColor:S,...j}=R??{},{background:_,backgroundColor:N,...U}=(k=t.cellStyle)!=null?k:{};return f.jsx("div",{role:b?void 0:"gridcell","aria-hidden":b||void 0,"aria-colindex":o+1,"aria-selected":d,tabIndex:!b&&u?0:-1,"data-grid-cell":b?void 0:`${r}:${o}`,className:[M.cell,i?M.pinnedCell:void 0].filter(Boolean).join(" ")||void 0,onFocus:se=>{se.target===se.currentTarget&&g?.(r,o)},onClick:se=>{g?.(r,o),se.currentTarget.focus({preventScroll:!0})},onDoubleClick:()=>C?.(r,o),style:{...s,position:"absolute",display:"flex",alignItems:"center",justifyContent:P,padding:"0 10px",paddingLeft:10+m,fontSize:"var(--vg-font-size)",color:"var(--vg-text)",borderRight:"1px solid var(--vg-border)",boxSizing:"border-box",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",outline:c?"2px solid var(--vg-accent)":"none",outlineOffset:-2,zIndex:c?i?Math.max(Number((w=s.zIndex)!=null?w:0),6):Math.min(Math.max(Number((x=s.zIndex)!=null?x:0),3),4):s.zIndex,...U,...j},children:I})},BE),p1=p.memo(function({group:t,colStartIndex:n,colEndIndex:r,left:o,width:s,height:i,active:a=!1,focusable:l=a,onFocusGroupHeader:c}){const{classNames:u,styles:d}=Lo();return f.jsx("div",{role:"columnheader",className:u.groupRow||void 0,"data-grid-group-header":t.id,"data-col-start-index":n,"data-col-end-index":r,tabIndex:l?0:-1,onFocus:h=>{h.target===h.currentTarget&&c?.(t.id,n,r)},style:{position:"absolute",left:o,top:0,width:s,height:i,display:"flex",alignItems:"center",justifyContent:"center",background:"var(--vg-bg-header)",borderRight:"1px solid var(--vg-border)",borderBottom:"1px solid var(--vg-border)",fontWeight:700,fontSize:"calc(var(--vg-font-size) - 0.5px)",letterSpacing:"0.025em",color:"var(--vg-text-group)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",outline:a?"2px solid var(--vg-accent)":"none",outlineOffset:-2,...t.headerStyle,...d.groupRow},children:t.label})}),$E=p.memo(function({height:t,slot:n}){return f.jsx("div",{style:{height:t,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:10,color:"var(--vg-text-dim)",fontSize:"var(--vg-font-size)",fontFamily:"var(--vg-font)"},children:n??f.jsxs(f.Fragment,{children:[f.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",children:[f.jsx("rect",{x:"4",y:"4",width:"28",height:"28",rx:"4",stroke:"currentColor",strokeWidth:"1.5",opacity:"0.4"}),f.jsx("line",{x1:"4",y1:"13",x2:"32",y2:"13",stroke:"currentColor",strokeWidth:"1.2",opacity:"0.3"}),f.jsx("line",{x1:"4",y1:"22",x2:"32",y2:"22",stroke:"currentColor",strokeWidth:"1.2",opacity:"0.2"}),f.jsx("line",{x1:"14",y1:"4",x2:"14",y2:"32",stroke:"currentColor",strokeWidth:"1.2",opacity:"0.2"})]}),f.jsx("span",{style:{opacity:.5},children:"No data to display"})]})})}),FE=p.memo(function({onClose:t}){const{engine:n,features:r,texts:o,classNames:s}=Lo(),{orderedColumns:i,toggleColumnVisibility:a,pinColumn:l,showAllColumns:c}=n,u=p.useRef(null);p.useEffect(()=>{const h=g=>{u.current&&!u.current.contains(g.target)&&t()},m=setTimeout(()=>document.addEventListener("mousedown",h),50);return()=>{clearTimeout(m),document.removeEventListener("mousedown",h)}},[t]);const d=i.filter(h=>h.hidden).length;return f.jsxs("div",{ref:u,role:"dialog","aria-label":o.columnManager,className:s.columnPanel||void 0,style:{position:"absolute",top:"calc(100% + 4px)",right:0,zIndex:"var(--vg-z-panel)",background:"var(--vg-bg-panel)",border:"1px solid var(--vg-border-strong)",borderRadius:"var(--vg-radius)",boxShadow:"var(--vg-shadow-panel)",minWidth:260,maxHeight:420,display:"flex",flexDirection:"column",overflow:"hidden",fontFamily:"var(--vg-font)"},children:[f.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 14px 8px",borderBottom:"1px solid var(--vg-border)",flexShrink:0},children:[f.jsxs("span",{style:{fontWeight:700,fontSize:11,textTransform:"uppercase",letterSpacing:"0.08em",color:"var(--vg-text-dim)"},children:[o.columns,d>0&&f.jsxs("span",{style:{marginLeft:6,background:"var(--vg-accent-bg)",color:"var(--vg-accent-text)",borderRadius:10,padding:"1px 6px",fontSize:10},children:[d," ",o.hidden]})]}),d>0&&f.jsx("button",{onClick:c,style:{background:"none",border:"none",cursor:"pointer",fontSize:11,color:"var(--vg-accent)",fontWeight:600,fontFamily:"var(--vg-font)",padding:"2px 4px"},children:o.showAll})]}),f.jsx("div",{style:{overflow:"auto",flex:1},children:i.map(h=>{var m;return f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"6px 14px",fontSize:"var(--vg-font-size)",color:h.hidden?"var(--vg-text-dim)":"var(--vg-text)",transition:"background var(--vg-transition)"},onMouseEnter:g=>g.currentTarget.style.background="var(--vg-bg-row-hover)",onMouseLeave:g=>g.currentTarget.style.background="transparent",children:[f.jsx("input",{type:"checkbox",id:`vg-col-${h.id}`,checked:!h.hidden,onChange:()=>a(h.id),style:{accentColor:"var(--vg-accent)",cursor:"pointer",width:13,height:13,flexShrink:0}}),f.jsx("label",{htmlFor:`vg-col-${h.id}`,style:{flex:1,cursor:"pointer",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:h.label}),r.columnPin&&f.jsxs("select",{value:(m=h.pinned)!=null?m:"",onChange:g=>l(h.id,g.target.value||null),style:{fontSize:11,padding:"2px 5px",background:"var(--vg-bg-btn)",color:"var(--vg-text)",border:"1px solid var(--vg-border-strong)",borderRadius:"var(--vg-radius-xs)",cursor:"pointer",fontFamily:"var(--vg-font)",outline:"none"},children:[f.jsx("option",{value:"",children:o.noPin}),f.jsx("option",{value:"left",children:o.pinLeft}),f.jsx("option",{value:"right",children:o.pinRight})]})]},h.id)})}),f.jsx("div",{style:{padding:"10px 14px",borderTop:"1px solid var(--vg-border)",flexShrink:0},children:f.jsx("button",{onClick:t,style:{width:"100%",padding:"7px 12px",background:"var(--vg-accent)",color:"var(--vg-accent-fg)",border:"none",borderRadius:"var(--vg-radius-sm)",cursor:"pointer",fontWeight:600,fontSize:"var(--vg-font-size)",fontFamily:"var(--vg-font)",transition:"background var(--vg-transition)"},onMouseEnter:h=>h.currentTarget.style.background="var(--vg-accent-hover)",onMouseLeave:h=>h.currentTarget.style.background="var(--vg-accent)",children:o.done})})]})}),VE=p.memo(function({left:t,right:n,colManagerSlot:r}){const{classNames:o,styles:s}=Lo();return f.jsxs("div",{role:"toolbar",className:o.toolbar||void 0,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"7px 12px",background:"var(--vg-bg-toolbar)",borderBottom:"1px solid var(--vg-border)",gap:8,flexShrink:0,position:"relative",...s.toolbar},children:[f.jsx("div",{style:{display:"flex",alignItems:"center",gap:8},children:t}),f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,position:"relative"},children:[n,r]})]})}),WE=p.memo(function({onClick:t,active:n=!1,children:r,icon:o,"aria-label":s}){return f.jsxs("button",{onClick:t,"aria-label":s,"aria-pressed":n,style:{display:"inline-flex",alignItems:"center",gap:5,padding:"5px 10px",borderRadius:"var(--vg-radius-sm)",border:`1px solid ${n?"var(--vg-accent)":"var(--vg-border-strong)"}`,background:n?"var(--vg-accent-bg)":"var(--vg-bg-btn)",color:n?"var(--vg-accent-text)":"var(--vg-text)",fontSize:12,fontWeight:600,cursor:"pointer",fontFamily:"var(--vg-font)",transition:"all var(--vg-transition)",lineHeight:1},onMouseEnter:i=>{n||(i.currentTarget.style.background="var(--vg-bg-btn-hover)")},onMouseLeave:i=>{n||(i.currentTarget.style.background="var(--vg-bg-btn)")},children:[o,r]})}),zE=p.memo(function({startRow:t,endRow:n,totalRows:r,visibleCols:o,totalCols:s}){const{classNames:i,styles:a,texts:l}=Lo();return f.jsxs("div",{className:i.footer||void 0,style:{display:"flex",alignItems:"center",justifyContent:"flex-end",padding:"5px 12px",background:"var(--vg-bg-toolbar)",borderTop:"1px solid var(--vg-border)",fontSize:11,color:"var(--vg-text-dim)",fontFamily:"var(--vg-font-mono)",flexShrink:0,gap:12,...a.footer},children:[f.jsxs("span",{children:[t.toLocaleString(),"–",n.toLocaleString()," ",l.of," ",r.toLocaleString()," ",l.rows]}),f.jsx("span",{style:{opacity:.5},children:"·"}),f.jsxs("span",{children:[o,"/",s," ",l.columns]})]})});function HE(){return f.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none","aria-hidden":"true",children:[f.jsx("rect",{x:"0.5",y:"1.5",width:"3.5",height:"9",rx:"0.8",stroke:"currentColor",strokeWidth:"1.15"}),f.jsx("rect",{x:"5",y:"1.5",width:"3",height:"9",rx:"0.8",stroke:"currentColor",strokeWidth:"1.15"}),f.jsx("rect",{x:"9.5",y:"1.5",width:"3",height:"9",rx:"0.8",stroke:"currentColor",strokeWidth:"1.15"})]})}const UE=36,GE=38,YE=28;function qE(e,t,n){return Math.max(t,Math.min(n,e))}const KE={sort:!0,resize:!0,reorder:!0,columnHide:!0,columnPin:!0,alternateRows:!0,toolbar:!0,footer:!0,rowSelection:!0},ZE={},XE={},JE={},QE={hideColumn:"Hide column",manageColumns:"Manage columns",columnManager:"Column manager",columns:"columns",rows:"rows",selected:"selected",hidden:"hidden",showAll:"Show all",noPin:"No pin",pinLeft:"Pin left",pinRight:"Pin right",done:"Done",loading:"Loading...",of:"of"};function eM(e,t,n,r){var o;if(r<=0)return null;const s=e.findIndex(i=>i.id===n);return s<0?null:((o=t[s])!=null?o:0)<r?s:null}function tM({columns:e,data:t,getRowId:n,height:r,maxHeight:o=600,rowHeight:s=UE,headerHeight:i=GE,groupHeaderHeight:a=YE,theme:l="light",features:c,icons:u,texts:d,classNames:h,styles:m,slots:g={},freezeColId:C,loading:b=!1,selectedRowId:v,onRowClick:k,onSortChange:w,onColumnStateChange:x,onColumnResize:T,onColumnReorder:M,onRowsDelete:A,onRowInsert:I,sortMode:P="client",groupBy:R,onGroupingChange:W,ariaLabel:S="Data grid",className:j,style:_}){var N,U,se,ue,B;const E=p.useMemo(()=>({...KE,...c}),[JSON.stringify(c)]),D=u??ZE,L=p.useMemo(()=>({...QE,...d}),[JSON.stringify(d)]),$=m??XE,Y=h??JE,re=p.useMemo(()=>vE(e),[e]),he=R??re,oe=JSON.stringify(re),X=fE(e,he),{pinnedLeftColumns:te,pinnedRightColumns:ie,scrollableColumns:Q,pinnedLeftWidth:q,pinnedRightWidth:xe,sortState:ke,rowGroupingState:ve,groups:ae,hasGroups:je,visibleColumns:de,orderedColumns:We,resizeColumn:He,moveColumnBefore:dt,moveColumnToEnd:ge,setGroupingColumns:ne,toggleGroup:fe}=X,De=p.useRef(oe);p.useEffect(()=>{R||oe!==De.current&&(De.current=oe,ne(re))},[re,oe,R,ne]),p.useEffect(()=>{R&&JSON.stringify(R)!==JSON.stringify(ve.groupBy)&&ne(R)},[R,ve.groupBy,ne]);const Le=p.useRef(JSON.stringify(ve.groupBy));p.useEffect(()=>{const F=JSON.stringify(ve.groupBy);F!==Le.current&&(Le.current=F,W?.(ve.groupBy))},[W,ve.groupBy]);const Ve=p.useRef(ke);p.useEffect(()=>{(Ve.current.columnId!==ke.columnId||Ve.current.direction!==ke.direction)&&(Ve.current=ke,w?.(ke))},[ke,w]);const st=p.useRef(null);p.useEffect(()=>{var F;st.current=ke.columnId&&(F=X.orderedColumns.find(H=>H.id===ke.columnId))!=null?F:null},[ke.columnId]);const kt=p.useMemo(()=>{var F;if(P==="server")return t;const H=st.current;if(!ke.columnId||!H)return t;const G=(F=H.accessor)!=null?F:J=>{var pe;return J[(pe=H.field)!=null?pe:H.id]};return[...t].sort((J,pe)=>{const ce=G(J),me=G(pe);if(ce==null)return 1;if(me==null)return-1;const Oe=ce<me?-1:ce>me?1:0;return ke.direction==="asc"?Oe:-Oe})},[t,P,ke.columnId,ke.direction]),ct=p.useMemo(()=>bE(kt,ve.groupBy,We,ve.expandedGroupIds),[kt,ve.groupBy,ve.expandedGroupIds,We]),$e=p.useMemo(()=>xE(ct),[ct]),qt=p.useRef("");p.useEffect(()=>{if(!x)return;const F=X.orderedColumns.map((G,J)=>({id:G.id,hidden:G.hidden,pinned:G.pinned,width:G.width,order:J})),H=JSON.stringify(F);H!==qt.current&&(qt.current=H,x(F))},[X.orderedColumns,x]);const[V,ee]=p.useState(()=>new Set),it=p.useRef(null);p.useEffect(()=>{E.rowSelection&&ee(v!=null?new Set([String(v)]):new Set)},[v,E.rowSelection]);const Se=p.useCallback((F,H)=>String(n?n(F,H):H),[n]),Ge=p.useCallback(F=>{const H=$e[F];return H?.type==="leaf"?H:null},[$e]),_e=p.useCallback((F,H)=>{if(E.rowSelection){const G=Se(F,H);ee(new Set([G])),it.current=H}k?.(F,H)},[E.rowSelection,Se,k]),le=p.useCallback((F,H)=>E.rowSelection?V.has(Se(F,H)):!1,[V,E.rowSelection,Se]),Ie=p.useRef(null),Ce=p.useRef(null),Me=p.useRef(0),Tt=p.useRef(0),[,Fe]=p.useReducer(F=>F+1,0),zn=p.useRef(0),Ns=p.useRef(!1),$s=p.useRef(null),Mn=p.useRef(null),No=p.useRef(null),lp=p.useRef(null),Bt=p.useMemo(()=>kE(Q),[Q]),L0=p.useMemo(()=>Q.map(F=>F.width),[Q]),eD=p.useMemo(()=>L0.reduce((F,H)=>F+H,0),[L0]),j0=p.useRef(null),[Yr,cp]=p.useState(400),[yr,up]=p.useState(800);p.useEffect(()=>{const F=j0.current;if(!F)return;const H=new ResizeObserver(([G])=>{G&&(cp(G.contentRect.height),up(G.contentRect.width))});return H.observe(F),F.clientHeight>0&&cp(F.clientHeight),F.clientWidth>0&&up(F.clientWidth),()=>H.disconnect()},[]);const cn=je?a+i:i,ec=Math.max(0,yr-q-xe),or=q+eD+xe,tD=or>yr+1,nD=E.toolbar&&!g.toolbar?36:0,rD=E.footer&&!g.footer?29:0,oD=tD?17:0,sD=cn+$e.length*s+nD+rD+oD,iD=Math.min(sD,r??o),dp=p.useRef({startIndex:0,endIndex:-1,totalHeight:0,offsetY:0}),R0=p.useCallback(F=>{dp.current=wE($e.length,s,F,Math.max(0,Yr-cn))},[$e.length,s,Yr,cn]),fp=p.useRef({startIndex:0,endIndex:0}),_0=p.useCallback(F=>{const H=Math.max(0,F-q),G=ec>0?ec:1400;fp.current=SE(Bt,L0,H,G)},[Bt,L0,ec,q]),Fs=p.useRef(null),B0=p.useCallback(F=>{if(!C){Fs.current=null;return}const H=Math.max(0,F-q);Fs.current=eM(Q,Bt,C,H)},[C,Q,Bt,q]),On=p.useMemo(()=>{var F;return C&&(F=Q.find(H=>H.id===C))!=null?F:null},[C,Q]),aD=p.useMemo(()=>{var F;if(!On)return 0;const H=Q.findIndex(G=>G.id===On.id);return H>=0&&(F=Bt[H])!=null?F:0},[On,Q,Bt]),Vs=p.useCallback(()=>{const F=Ce.current;if(!F)return;const H=F.scrollTop,G=F.scrollLeft;Tt.current=H,Me.current=G,R0(H),_0(G),B0(G);const J=Fs.current!==null;Mn.current&&(Mn.current.style.visibility=J?"visible":"hidden",Mn.current.style.pointerEvents=J?"auto":"none"),Ns.current=!0,$s.current&&clearTimeout($s.current),$s.current=setTimeout(()=>{Ns.current=!1,Fe()},150),cancelAnimationFrame(zn.current),zn.current=requestAnimationFrame(Fe)},[R0,_0,B0,Fe]);p.useEffect(()=>{R0(Tt.current),_0(Me.current),B0(Me.current),Fe()},[R0,_0,B0]),p.useEffect(()=>{const F=pe=>{pe.preventDefault();const ce=Ce.current;ce&&(ce.scrollTop+=pe.deltaY,ce.scrollLeft+=pe.deltaX)},H={passive:!1},G=No.current,J=lp.current;return G?.addEventListener("wheel",F,H),J?.addEventListener("wheel",F,H),()=>{G?.removeEventListener("wheel",F,H),J?.removeEventListener("wheel",F,H)}},[]),p.useLayoutEffect(()=>{if(!Mn.current)return;const F=Fs.current!==null;Mn.current.style.visibility=F?"visible":"hidden",Mn.current.style.pointerEvents=F?"auto":"none"});const Cr=fp.current,N0=Fs.current,Hn=N0!==null&&(N=Q[N0])!=null?N:null,$o=(U=On?.width)!=null?U:0,Un=dp.current,$0=Ns.current,lD=Math.max(1,Math.floor(Math.max(0,Yr-cn)/s)),[cD,br]=p.useState(""),Gn=p.useMemo(()=>{const F=new Map;return de.forEach((H,G)=>F.set(H.id,G)),F},[de]),F0=p.useCallback((F,H,G)=>{var J;return G.accessor?G.accessor(F):F[(J=G.field)!=null?J:G.id]},[]),uD=p.useCallback(F=>{var H;const G=Ce.current;if(!G)return;const J=F.rowIndex*s,pe=Math.max(0,Yr-cn);J<G.scrollTop?G.scrollTop=J:J+s>G.scrollTop+pe&&(G.scrollTop=Math.max(0,J+s-pe));const ce=de[F.colIndex];if(!ce||ce.pinned)return;const me=Q.findIndex(ze=>ze.id===ce.id);if(me<0)return;const Oe=q+((H=Bt[me])!=null?H:0),Pe=Oe+ce.width,we=G.scrollLeft+q,Be=G.scrollLeft+yr-xe;Oe<we?G.scrollLeft=Math.max(0,Oe-q):Pe>Be&&(G.scrollLeft=Math.max(0,Pe-yr+xe)),Vs()},[Yr,yr,Vs,Bt,q,xe,s,Q,cn,de]),dD=p.useCallback(F=>{var H;const G=Ce.current;if(!G)return;const J=de[F];if(!J||J.pinned)return;const pe=Q.findIndex(we=>we.id===J.id);if(pe<0)return;const ce=q+((H=Bt[pe])!=null?H:0),me=ce+J.width,Oe=G.scrollLeft+q,Pe=G.scrollLeft+yr-xe;ce<Oe?G.scrollLeft=Math.max(0,ce-q):me>Pe&&(G.scrollLeft=Math.max(0,me-yr+xe)),Vs()},[yr,Vs,Bt,q,xe,Q,de]),fD=p.useMemo(()=>{const F=[];if(je)for(const H of ae){const G=H.children.map(J=>Gn.get(J.id)).filter(J=>typeof J=="number").sort((J,pe)=>J-pe);G.length>0&&F.push({kind:"groupHeader",groupId:H.id,colStartIndex:G[0],colEndIndex:G[G.length-1]})}for(let H=0;H<de.length;H++)F.push({kind:"header",colIndex:H});return F},[ae,je,Gn,de.length]),pp=p.useCallback((F,H)=>{const G=Ge(F);if(!G||!E.rowSelection)return;const J=Se(G.row,G.rowIndex);ee(pe=>{const ce=H?new Set(pe):new Set;return ce.has(J)&&H?(ce.delete(J),br(`Row ${F+1} deselected`)):(ce.add(J),br(`Row ${F+1} selected`)),ce}),it.current=F},[E.rowSelection,Ge,Se]),pD=p.useCallback((F,H)=>{var G;if(!E.rowSelection)return;const J=(G=it.current)!=null?G:F,pe=Math.max(0,Math.min(J,H)),ce=Math.min($e.length-1,Math.max(J,H));ee(me=>{const Oe=new Set(me);for(let Pe=pe;Pe<=ce;Pe++){const we=Ge(Pe);we&&Oe.add(Se(we.row,we.rowIndex))}return Oe}),br(`Rows ${pe+1} through ${ce+1} selected`)},[E.rowSelection,Ge,Se,$e.length]),hD=p.useCallback(()=>{if(!E.rowSelection)return;ee(new Set($e.flatMap(H=>H.type==="leaf"?[Se(H.row,H.rowIndex)]:[])));const F=$e.filter(H=>H.type==="leaf").length;br(`All ${F} rows selected`)},[E.rowSelection,Se,$e]),V0=p.useCallback(F=>{var H;const G=(H=Ce.current)==null?void 0:H.querySelector(`[data-grid-cell="${F.rowIndex}:${F.colIndex}"]`),J=G?.querySelector('input:not([disabled]), textarea:not([disabled]), select:not([disabled]), button:not([disabled]), a[href], [contenteditable="true"], [tabindex]:not([tabindex="-1"]), [role="button"], [role="textbox"], [role="checkbox"], [role="combobox"], [role="switch"], [role="spinbutton"]');if(J){try{J.focus({preventScroll:!0})}catch{J.focus()}J.matches('button:not([disabled]), a[href], [role="button"], [role="checkbox"], [role="switch"]')&&J.click()}},[]),mD=p.useCallback(()=>{if(V.size===0)return;const F=[],H=[];$e.forEach(G=>{G.type==="leaf"&&V.has(Se(G.row,G.rowIndex))&&(F.push(G.row),H.push(G.rowIndex))}),F.length!==0&&(typeof window<"u"&&!window.confirm(`Delete ${F.length} selected row(s)?`)||(A?.(F,H),ee(new Set),br(`${F.length} selected row(s) deleted`)))},[Se,A,V,$e]),gD=p.useCallback((F,H)=>{var G;if(!E.reorder)return F;const J=de[F],pe=de[F+H];if(!J||!pe||!J.draggable||!pe.draggable)return F;if(H<0)dt(J.id,pe.id);else{const Pe=de[F+2];Pe?dt(J.id,Pe.id):ge(J.id)}const me=W0.current.map(Pe=>Pe.id).filter(Pe=>Pe!==J.id),Oe=me.indexOf(pe.id);if(H<0)me.splice(Oe,0,J.id);else if(F+2<de.length){const Pe=de[F+2],we=Pe?me.indexOf(Pe.id):-1;we>=0&&me.splice(we,0,J.id)}else me.push(J.id);return(G=qr.current)==null||G.call(qr,me),br(`Column ${J.label} moved`),qE(F+H,0,de.length-1)},[E.reorder,dt,ge,de]),ft=PE({rowCount:$e.length,colCount:de.length,visibleRowCount:lD,headerTargets:fD,getRowGroup:F=>{const H=$e[F];return H?.type==="group"?{id:H.id,expanded:H.expanded}:null},onFocusCell:uD,onFocusHeader:dD,onSelectRow:pp,onToggleRow:F=>pp(F,!0),onSelectRange:pD,onSelectAll:hD,onActivateCell:V0,onToggleGroup:fe,onToggleHeaderSort:F=>{const H=de[F];!H||!E.sort||!H.sortable||X.toggleSort(H.id)},onDeleteRows:mD,onInsertRow:()=>{I?.(),br("Row inserted")},onResizeColumn:(F,H)=>{const G=de[F];!G||!E.resize||!G.resizable||(He(G.id,H),T?.(G.id,G.width+H),br(`Column ${G.label} resized`))},onReorderColumn:gD});p.useLayoutEffect(()=>{var F;const H=ft.focusedTarget;if(!H)return;const G=document.activeElement;if(!G||!((F=Ie.current)!=null&&F.contains(G))||G instanceof HTMLElement&&G!==Ie.current&&G.getAttribute("role")!=="gridcell"&&G.getAttribute("role")!=="columnheader")return;const J=Ie.current,pe=H.kind==="groupHeader"?Array.from(J.querySelectorAll("[data-grid-group-header]")).find(ce=>ce.dataset.gridGroupHeader===H.groupId&&ce.getAttribute("aria-hidden")!=="true"):DE(J,H.kind==="cell"?`[data-grid-cell="${H.rowIndex}:${H.colIndex}"]`:`[data-grid-header-cell="${H.colIndex}"]`);try{pe?.focus({preventScroll:!0})}catch{pe?.focus()}});const hp=p.useMemo(()=>{const F=new Set(ae.flatMap(H=>H.children.map(G=>G.id)));return new Set(Q.filter(H=>!F.has(H.id)).map(H=>H.id))},[ae,Q]),W0=p.useRef(X.orderedColumns);W0.current=X.orderedColumns;const qr=p.useRef(M);qr.current=M;const mp=p.useRef(F=>120);mp.current=F=>{var H,G;return(G=(H=X.orderedColumns.find(J=>J.id===F))==null?void 0:H.width)!=null?G:120};const{startResize:gp}=TE({onResize:(F,H)=>He(F,H),onResizeEnd:(F,H)=>T?.(F,H),getCurrentWidth:p.useCallback(F=>mp.current(F),[])}),yD=p.useCallback(F=>{var H,G;const J=(H=j0.current)==null?void 0:H.getBoundingClientRect();if(!J)return null;const pe=Me.current;let ce=0;for(const Oe of te){if(Oe.id===F)return{left:J.left+ce,right:J.left+ce+Oe.width};ce+=Oe.width}const me=Q.findIndex(Oe=>Oe.id===F);if(me!==-1){const Oe=Q[me],Pe=q+((G=Bt[me])!=null?G:0)-pe;return{left:J.left+Pe,right:J.left+Pe+Oe.width}}ce=0;for(const Oe of ie){if(Oe.id===F){const Pe=J.right-xe;return{left:Pe+ce,right:Pe+ce+Oe.width}}ce+=Oe.width}return null},[te,Q,ie,q,xe,Bt]),Ws=EE({onMoveColumnBefore:(F,H)=>{if(dt(F,H),qr.current){const J=W0.current.map(pe=>pe.id).filter(pe=>pe!==F);J.splice(J.indexOf(H),0,F),qr.current(J)}},onMoveColumnToEnd:F=>{if(ge(F),qr.current){const G=[...W0.current.map(J=>J.id).filter(J=>J!==F),F];qr.current(G)}},columns:de.map(F=>({id:F.id,groupId:F.groupId,draggable:F.draggable,pinned:F.pinned})),getColumnViewportBounds:yD}),[yp,tc]=p.useState(!1),Cp=p.useMemo(()=>jE(l),[l]),CD=p.useMemo(()=>Cp,[Cp]),bD=p.useMemo(()=>({engine:X,dragHandlers:Ws,startResize:gp,features:E,icons:D,texts:L,styles:$,classNames:Y}),[X,Ws,gp,E,D,L,$,Y]),bp=p.useCallback((F,H)=>{var G,J,pe,ce,me,Oe,Pe,we;return le(F,H)?(ce=(pe=(G=$.rowSelected)==null?void 0:G.background)!=null?pe:(J=$.rowSelected)==null?void 0:J.backgroundColor)!=null?ce:"var(--vg-bg-row-selected)":E.alternateRows&&H%2===1?"var(--vg-bg-row-alt)":(we=(Pe=(me=$.row)==null?void 0:me.background)!=null?Pe:(Oe=$.row)==null?void 0:Oe.backgroundColor)!=null?we:"var(--vg-bg)"},[le,E.alternateRows,$.rowSelected,$.row]),vD=p.useCallback((F,H)=>{var G,J,pe,ce,me,Oe,Pe,we,Be,ze;return le(F,H)?(ce=(pe=(G=$.rowSelected)==null?void 0:G.background)!=null?pe:(J=$.rowSelected)==null?void 0:J.backgroundColor)!=null?ce:"var(--vg-bg-row-selected)":E.alternateRows&&H%2===1?"var(--vg-bg-row-alt)":(ze=(Be=(Pe=(me=$.pinnedCell)==null?void 0:me.background)!=null?Pe:(Oe=$.pinnedCell)==null?void 0:Oe.backgroundColor)!=null?Be:(we=$.row)==null?void 0:we.background)!=null?ze:"var(--vg-bg-pinned)"},[le,E.alternateRows,$.rowSelected,$.row,$.pinnedCell]),Kr=F=>{var H;const G=(H=Gn.get(F.id))!=null?H:0;return{colIndex:G,active:ft.isHeaderFocused(G),focusable:ft.isHeaderFocused(G),onFocusHeader:J=>ft.setFocusedTarget({kind:"header",colIndex:J})}},vp=(F,H,G)=>({colStartIndex:H,colEndIndex:G,active:ft.isGroupHeaderFocused(F),focusable:ft.isGroupHeaderFocused(F),onFocusGroupHeader:(J,pe,ce)=>ft.setFocusedTarget({kind:"groupHeader",groupId:J,colStartIndex:pe,colEndIndex:ce})}),xD=()=>{var F,H,G,J;const pe=[],ce=new Set;for(let me=Cr.startIndex;me<=Cr.endIndex;me++){const Oe=Q[me];if(!Oe)continue;const Pe=q+((F=Bt[me])!=null?F:0);if(hp.has(Oe.id)){pe.push(f.jsx(Hr,{column:Oe,...Kr(Oe),style:{position:"absolute",left:Pe,top:0,width:Oe.width,height:a+i,zIndex:1,background:"var(--vg-bg-header)"}},`hspan-${Oe.id}`));continue}const we=ae.find(gt=>gt.children.some(Wt=>Wt.id===Oe.id));if(!we||ce.has(we.id))continue;ce.add(we.id);const Be=Q.filter(gt=>we.children.some(Wt=>Wt.id===gt.id)),ze=Be.reduce((gt,Wt)=>gt+Wt.width,0),Ke=Q.findIndex(gt=>{var Wt;return gt.id===((Wt=Be[0])==null?void 0:Wt.id)}),un=Be.map(gt=>Gn.get(gt.id)).filter(gt=>typeof gt=="number").sort((gt,Wt)=>gt-Wt);pe.push(f.jsx(p1,{group:we,...vp(we.id,(H=un[0])!=null?H:0,(G=un[un.length-1])!=null?G:0),left:q+((J=Bt[Ke])!=null?J:0),width:ze,height:a},`grp-${we.id}`))}return pe},wD=()=>{const F=[];let H;const G=[];for(let J=Cr.startIndex;J<=Cr.endIndex;J++){const pe=Q[J];!pe||hp.has(pe.id)||G.push(J)}return G.forEach((J,pe)=>{var ce;const me=Q[J];if(!me)return;const Oe=me.groupId!==H;H=me.groupId;const Pe=pe===G.length-1;F.push(f.jsx(Hr,{column:me,...Kr(me),isFirst:Oe,isLast:Pe,style:{position:"absolute",left:q+((ce=Bt[J])!=null?ce:0),top:0,width:me.width,height:i,zIndex:1}},`lh-${me.id}`))}),F},SD=()=>{const F=[],H=[];for(let G=Cr.startIndex;G<=Cr.endIndex;G++)Q[G]&&H.push(G);return H.forEach((G,J)=>{var pe;const ce=Q[G];ce&&F.push(f.jsx(Hr,{column:ce,...Kr(ce),isFirst:J===0,isLast:J===H.length-1,style:{position:"absolute",left:q+((pe=Bt[G])!=null?pe:0),top:0,width:ce.width,height:i,zIndex:1}},`fh-${ce.id}`))}),F},kD=(F,H)=>{var G,J,pe;const ce=cn+H*s,me="var(--vg-bg-row-alt)",Oe=(J=(G=We.find(Ke=>Ke.id===F.groupingColumnId))==null?void 0:G.label)!=null?J:F.groupingColumnId,Pe=q,we=Math.max(0,or-q-xe),Be=((pe=ft.focusedCell)==null?void 0:pe.rowIndex)===H&&ft.focusedCell.colIndex===0,ze=Be||!ft.focusedTarget&&H===0;return f.jsx("div",{role:"row","aria-rowindex":H+1,"aria-expanded":F.expanded,className:[Y.row,Y.groupRow].filter(Boolean).join(" ")||void 0,style:{position:"absolute",top:ce,left:0,width:or,height:s,background:me,display:"flex",borderBottom:"1px solid var(--vg-border)",boxSizing:"border-box",color:"var(--vg-text)",fontWeight:700,...$.row,...$.groupRow},children:f.jsxs("div",{role:"gridcell","aria-colindex":1,"data-grid-cell":`${H}:0`,tabIndex:ze?0:-1,onFocus:Ke=>{Ke.target===Ke.currentTarget&&ft.setFocusedCell({rowIndex:H,colIndex:0})},onClick:()=>fe(F.id),onDoubleClick:()=>fe(F.id),style:{position:"absolute",left:Pe,top:0,width:we,height:s,display:"flex",alignItems:"center",gap:8,paddingLeft:10+F.depth*18,paddingRight:10,boxSizing:"border-box",borderRight:"1px solid var(--vg-border)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",cursor:"pointer",outline:Be?"2px solid var(--vg-accent)":"none",outlineOffset:-2},children:[f.jsx("button",{type:"button","aria-label":`${F.expanded?"Collapse":"Expand"} ${String(F.groupingValue)}`,"aria-expanded":F.expanded,onClick:Ke=>{Ke.stopPropagation(),fe(F.id)},style:{width:22,height:22,flex:"0 0 auto",border:"1px solid var(--vg-border)",borderRadius:4,background:"var(--vg-bg)",color:"var(--vg-text)",cursor:"pointer",lineHeight:"18px",padding:0},children:F.expanded?"−":"+"}),f.jsxs("span",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:[Oe,": ",String(F.groupingValue)]}),f.jsxs("span",{style:{color:"var(--vg-text-muted)",fontWeight:600,flex:"0 0 auto"},children:["(",F.leafRowCount,")"]})]})},F.id)},TD=F=>{var H,G,J,pe;const ce=$e[F];if(!ce)return null;if(ce.type==="group")return kD(ce,F);const me=ce.row,Oe=cn+F*s,Pe=bp(me,ce.rowIndex),we=vD(me,ce.rowIndex),Be=le(me,ce.rowIndex),ze=String(n?n(me,ce.rowIndex):ce.rowIndex),Ke=[];for(let lt=Cr.startIndex;lt<=Cr.endIndex;lt++){const yt=Q[lt];if(!yt)continue;const Pt=(H=Gn.get(yt.id))!=null?H:lt,vr=((G=ft.focusedCell)==null?void 0:G.rowIndex)===F&&ft.focusedCell.colIndex===Pt,Kt=vr||!ft.focusedTarget&&F===0&&Pt===0;Ke.push(f.jsx(T0,{column:yt,row:me,rowIndex:F,colIndex:Pt,valueOverride:F0(me,ce.rowIndex,yt),active:vr,focusable:Kt,selected:Be,indent:Pt===0?ce.depth*18:0,onFocusCell:(Lt,Dn)=>ft.setFocusedCell({rowIndex:Lt,colIndex:Dn}),onActivateCell:(Lt,Dn)=>V0({rowIndex:Lt,colIndex:Dn}),isScrolling:$0,loadingCell:g.loadingCell,style:{position:"absolute",left:q+((J=Bt[lt])!=null?J:0),top:0,width:yt.width,height:s,background:Pe}},`ds-${yt.id}`))}let un=0;const gt=te.length>0?te.map(lt=>{var yt,Pt;const vr=un;un+=lt.width;const Kt=(yt=Gn.get(lt.id))!=null?yt:0,Lt=((Pt=ft.focusedCell)==null?void 0:Pt.rowIndex)===F&&ft.focusedCell.colIndex===Kt,Dn=Lt||!ft.focusedTarget&&F===0&&Kt===0;return f.jsx(T0,{column:lt,row:me,rowIndex:F,colIndex:Kt,valueOverride:F0(me,ce.rowIndex,lt),active:Lt,focusable:Dn,selected:Be,indent:Kt===0?ce.depth*18:0,onFocusCell:(Zr,Xr)=>ft.setFocusedCell({rowIndex:Zr,colIndex:Xr}),onActivateCell:(Zr,Xr)=>V0({rowIndex:Zr,colIndex:Xr}),pinned:!0,isScrolling:$0,loadingCell:g.loadingCell,style:{position:"absolute",left:vr,top:0,width:lt.width,height:s,background:we}},`ps-l-${lt.id}`)}):null;let Wt=0;const Fo=ie.length>0?ie.map(lt=>{var yt,Pt;const vr=Wt;Wt+=lt.width;const Kt=(yt=Gn.get(lt.id))!=null?yt:0,Lt=((Pt=ft.focusedCell)==null?void 0:Pt.rowIndex)===F&&ft.focusedCell.colIndex===Kt,Dn=Lt||!ft.focusedTarget&&F===0&&Kt===0;return f.jsx(T0,{column:lt,row:me,rowIndex:F,colIndex:Kt,valueOverride:F0(me,ce.rowIndex,lt),active:Lt,focusable:Dn,selected:Be,indent:Kt===0?ce.depth*18:0,onFocusCell:(Zr,Xr)=>ft.setFocusedCell({rowIndex:Zr,colIndex:Xr}),onActivateCell:(Zr,Xr)=>V0({rowIndex:Zr,colIndex:Xr}),pinned:!0,isScrolling:$0,loadingCell:g.loadingCell,style:{position:"absolute",left:vr,top:0,width:lt.width,height:s,background:we}},`ps-r-${lt.id}`)}):null;return f.jsxs("div",{role:"row","aria-rowindex":F+1,"aria-selected":Be,onClick:()=>_e(me,ce.rowIndex),className:[Y.row,Be?Y.rowSelected:void 0].filter(Boolean).join(" ")||void 0,style:{position:"absolute",top:Oe,left:0,width:or,height:s,background:Pe,cursor:"pointer",display:"flex",...$.row,...Be?$.rowSelected:{}},onMouseEnter:lt=>{if(!Be){const yt=lt.currentTarget;yt.style.background="var(--vg-bg-row-hover)",yt.querySelectorAll("[data-pinned-sticky]").forEach(Pt=>{Pt.style.background="var(--vg-bg-row-hover)"})}},onMouseLeave:lt=>{const yt=lt.currentTarget;yt.style.background=Pe,yt.querySelectorAll("[data-pinned-sticky]").forEach(Pt=>{Pt.style.background=we})},children:[gt&&f.jsx("div",{"data-pinned-sticky":"left",style:{position:"sticky",left:0,width:q,height:s,flexShrink:0,zIndex:5,background:we,overflow:"hidden"},children:gt}),Fo&&f.jsx("div",{style:{flex:1}}),Fo&&f.jsx("div",{"data-pinned-sticky":"right",style:{position:"sticky",right:0,width:xe,height:s,flexShrink:0,zIndex:5,background:we,overflow:"hidden"},children:Fo}),Ke,Be&&((pe=g.rowSelectionIndicator)==null?void 0:pe.call(g,me,ce.rowIndex))]},ze)},ED=()=>{var F,H,G,J,pe,ce,me;if(!On)return null;const Oe=[];for(let Pe=Un.startIndex;Pe<=Un.endIndex;Pe++){const we=$e[Pe];if(!we||we.type==="group")continue;const Be=we.row,ze=String(n?n(Be,we.rowIndex):we.rowIndex),Ke=le(Be,we.rowIndex),un=Ke?(J=(G=(F=$.rowSelected)==null?void 0:F.background)!=null?G:(H=$.rowSelected)==null?void 0:H.backgroundColor)!=null?J:"var(--vg-bg-row-selected)":"var(--vg-bg-frozen, var(--vg-bg-row-alt))";Oe.push(f.jsxs("div",{onClick:()=>_e(Be,we.rowIndex),className:[Y.row,Ke?Y.rowSelected:void 0].filter(Boolean).join(" ")||void 0,style:{position:"absolute",left:0,top:Pe*s,width:$o,height:s,background:un,cursor:"pointer",overflow:"hidden",...$.row,...Ke?$.rowSelected:{}},onMouseEnter:gt=>{Ke||(gt.currentTarget.style.background="var(--vg-bg-row-hover)")},onMouseLeave:gt=>{gt.currentTarget.style.background=un},children:[f.jsx(T0,{column:On,row:Be,rowIndex:Pe,colIndex:(pe=Gn.get(On.id))!=null?pe:0,valueOverride:F0(Be,we.rowIndex,On),selected:Ke,indent:((ce=Gn.get(On.id))!=null?ce:0)===0?we.depth*18:0,ariaHidden:!0,pinned:!0,isScrolling:$0,loadingCell:g.loadingCell,style:{position:"absolute",left:0,top:0,width:$o,height:s,background:un,zIndex:2}}),Ke&&f.jsx("div",{style:{position:"absolute",inset:0,zIndex:3,pointerEvents:"none"},children:(me=g.rowSelectionIndicator)==null?void 0:me.call(g,Be,we.rowIndex)})]},ze))}return Oe},xp=F=>{const H=F==="left",G=H?te:ie,J=H?q:xe,pe=H&&Hn!==null,ce=pe?J+$o:J;if(!G.length&&!pe)return null;const me=[];let Oe=0;for(const Be of G)me.push(Oe),Oe+=Be.width;const Pe=Oe,we=[];if(je){const Be=new Set;if(G.forEach((ze,Ke)=>{var un,gt,Wt,Fo,lt;if(!ze.groupId)we.push(f.jsx(Hr,{column:ze,...Kr(ze),isFirst:Ke===0,isLast:Ke===G.length-1,style:{position:"absolute",left:me[Ke],top:0,width:ze.width,height:a+i,zIndex:2,background:"var(--vg-bg-header)"}},`ph-span-${ze.id}`));else{if(!Be.has(ze.groupId)){Be.add(ze.groupId);const yt=ae.find(Pt=>Pt.id===ze.groupId);if(yt){const Pt=G.filter(Lt=>Lt.groupId===ze.groupId),vr=Pt.reduce((Lt,Dn)=>Lt+Dn.width,0),Kt=Pt.map(Lt=>Gn.get(Lt.id)).filter(Lt=>typeof Lt=="number").sort((Lt,Dn)=>Lt-Dn);we.push(f.jsx(p1,{group:yt,...vp(yt.id,(un=Kt[0])!=null?un:0,(gt=Kt[Kt.length-1])!=null?gt:0),left:(Wt=me[Ke])!=null?Wt:0,width:vr,height:a},`pgh-${yt.id}`))}}we.push(f.jsx(Hr,{column:ze,...Kr(ze),isFirst:Ke===0||((Fo=G[Ke-1])==null?void 0:Fo.groupId)!==ze.groupId,isLast:Ke===G.length-1||((lt=G[Ke+1])==null?void 0:lt.groupId)!==ze.groupId,style:{position:"absolute",left:me[Ke],top:a,width:ze.width,height:i,zIndex:2,background:"var(--vg-bg-header)"}},`ph-leaf-${ze.id}`))}}),pe&&Hn){const ze=Hn.align==="center"?"center":Hn.align==="right"?"flex-end":"flex-start";we.push(f.jsx("div",{style:{position:"absolute",left:Pe,top:0,width:$o,height:a+i,background:"var(--vg-bg-frozen, var(--vg-bg-group))",borderRight:"1px solid var(--vg-border-strong)",borderBottom:"1px solid var(--vg-border-strong)",zIndex:2,boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:ze,padding:"0 10px",fontWeight:700,fontSize:"calc(var(--vg-font-size) - 0.5px)",color:"var(--vg-text-group)",overflow:"hidden",whiteSpace:"nowrap",...$.headerCell},children:Hn.label},`ph-frozen-${Hn.id}`))}}else G.forEach((Be,ze)=>{we.push(f.jsx(Hr,{column:Be,...Kr(Be),isFirst:ze===0,isLast:ze===G.length-1,style:{position:"absolute",left:me[ze],top:0,width:Be.width,height:i,zIndex:2,background:"var(--vg-bg-header)"}},`ph-${Be.id}`))}),pe&&Hn&&we.push(f.jsx(Hr,{column:Hn,...Kr(Hn),style:{position:"absolute",left:Pe,top:0,width:$o,height:i,zIndex:2,background:"var(--vg-bg-frozen, var(--vg-accent-bg))"}},`ph-frozen-${Hn.id}`));return f.jsxs("div",{style:{position:"absolute",[F]:0,top:0,width:ce,height:"100%",zIndex:20,pointerEvents:"none"},children:[f.jsx("div",{ref:H?No:lp,style:{position:"absolute",top:0,left:0,width:ce,height:cn,pointerEvents:"auto"},children:f.jsx("div",{style:{position:"absolute",top:0,left:0,width:ce,height:cn,background:"var(--vg-bg-header)",borderBottom:"1px solid var(--vg-border-strong)",zIndex:10,overflow:"visible"},children:we})}),f.jsx("div",{"aria-hidden":"true",style:{position:"absolute",[H?"right":"left"]:-8,top:0,width:8,height:"100%",pointerEvents:"none",zIndex:15,background:H?"linear-gradient(to right, rgba(0,0,0,0.08), transparent)":"linear-gradient(to left, rgba(0,0,0,0.08), transparent)"}})]},`layer-${F}`)},MD=f.jsxs("span",{style:{fontSize:12,color:"var(--vg-text-dim)",fontWeight:500},children:[$e.length.toLocaleString()," ",L.rows,V.size>0&&f.jsxs("span",{style:{marginLeft:8,color:"var(--vg-accent)",fontWeight:600},children:["· ",V.size.toLocaleString()," ",L.selected]})]}),OD=yp?g.columnManager?g.columnManager({engine:X,onClose:()=>tc(!1)}):f.jsx(FE,{onClose:()=>tc(!1)}):null,DD=(se=D.columnsPanel)!=null?se:f.jsx(HE,{}),wp={startRow:Un.startIndex+1,endRow:Math.min(Un.endIndex+1,$e.length),totalRows:$e.length,visibleCols:de.length,totalCols:We.length},Sp=cn+$e.length*s;return f.jsx(LE,{value:bD,children:f.jsxs("div",{ref:Ie,role:"grid","aria-label":S,"aria-rowcount":$e.length,"aria-colcount":de.length,onKeyDown:ft.handleKeyDown,className:[Y.root,j].filter(Boolean).join(" ")||void 0,style:{...CD,fontFamily:"var(--vg-font)",fontSize:"var(--vg-font-size)",lineHeight:"var(--vg-line-height)",background:"var(--vg-bg)",border:"1px solid var(--vg-border-strong)",borderRadius:"var(--vg-radius)",overflow:"hidden",display:"flex",flexDirection:"column",height:iD,position:"relative",...$.root,..._},children:[f.jsx("div",{"aria-live":"polite","aria-atomic":"true",style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},children:cD}),E.toolbar&&(g.toolbar?g.toolbar(X):f.jsx(VE,{left:(ue=g.toolbarLeft)!=null?ue:MD,right:g.toolbarRight,colManagerSlot:f.jsxs(f.Fragment,{children:[f.jsx(WE,{onClick:()=>tc(F=>!F),active:yp,icon:DD,"aria-label":L.manageColumns,children:L.columns}),OD]})})),f.jsx("div",{ref:j0,style:{position:"relative",flex:1,overflow:"hidden"},children:$e.length===0?f.jsx($E,{height:Yr,slot:g.emptyState}):f.jsxs(f.Fragment,{children:[f.jsx("div",{ref:Ce,onScroll:Vs,style:{position:"absolute",inset:0,overflowX:"auto",overflowY:Sp>Yr?"auto":"hidden",scrollbarWidth:"thin",scrollbarColor:"var(--vg-scrollbar-thumb) var(--vg-scrollbar-track)",willChange:"scroll-position"},children:f.jsxs("div",{style:{width:or,height:Sp,position:"relative"},children:[f.jsx("div",{style:{position:"sticky",top:0,width:or,height:cn,zIndex:8,background:"var(--vg-bg-header)",borderBottom:"1px solid var(--vg-border-strong)",...$.headerRow},children:je?f.jsxs(f.Fragment,{children:[f.jsx("div",{role:"row",style:{position:"absolute",top:0,left:0,width:or,height:a,overflow:"visible"},children:xD()}),f.jsx("div",{role:"row",style:{position:"absolute",top:a,left:0,width:or,height:i,overflow:"visible"},children:wD()})]}):f.jsx("div",{role:"row",style:{position:"absolute",top:0,left:0,width:or,height:i,overflow:"visible"},children:SD()})}),On&&f.jsx("div",{ref:Mn,style:{position:"sticky",left:q,marginLeft:q+aD,width:$o,height:$e.length*s,zIndex:6,visibility:N0!==null?"visible":"hidden",pointerEvents:N0!==null?"auto":"none"},children:ED()}),Array.from({length:Math.max(0,Un.endIndex-Un.startIndex+1)},(F,H)=>TD(Un.startIndex+H))]})}),xp("left"),xp("right"),b&&f.jsx("div",{style:{position:"absolute",inset:0,background:"rgba(255,255,255,0.6)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:50,backdropFilter:"blur(1px)"},children:(B=g.loadingOverlay)!=null?B:f.jsx("div",{style:{padding:"10px 20px",borderRadius:6,background:"var(--vg-bg)",border:"1px solid var(--vg-border-strong)",fontSize:13,color:"var(--vg-text-dim)",fontFamily:"var(--vg-font)"},children:L.loading})})]})}),E.footer&&(g.footer?g.footer(wp):f.jsx(zE,{...wp})),Ws.dragState.draggingId&&(()=>{var F;const{draggingId:H}=Ws.dragState,G=de.find(ce=>ce.id===H);if(!G)return null;const J=(F=j0.current)==null?void 0:F.getBoundingClientRect();if(!J)return null;const pe=G.align==="center"?"center":G.align==="right"?"flex-end":"flex-start";return f.jsx(f.Fragment,{children:f.jsxs("div",{ref:Ws.registerGhost,style:{position:"fixed",top:J.top,width:G.width,height:J.height,zIndex:9999,pointerEvents:"none",boxShadow:"0 6px 24px rgba(0,0,0,0.20)",borderRadius:4,overflow:"hidden",background:"var(--vg-bg)"},children:[f.jsx("div",{style:{height:cn,background:"var(--vg-bg-header)",borderBottom:"1px solid var(--vg-border-strong)",display:"flex",alignItems:"center",justifyContent:pe,padding:"0 8px",fontWeight:600,fontSize:"var(--vg-font-size)",color:"var(--vg-text-header)",boxSizing:"border-box",overflow:"hidden",whiteSpace:"nowrap"},children:G.label}),Array.from({length:Un.endIndex-Un.startIndex+1},(ce,me)=>{var Oe;const Pe=Un.startIndex+me,we=$e[Pe];if(!we)return null;if(we.type==="group")return f.jsxs("div",{style:{height:s,display:"flex",alignItems:"center",padding:`0 10px 0 ${10+we.depth*18}px`,fontSize:"var(--vg-font-size)",fontWeight:700,color:"var(--vg-text)",borderBottom:"1px solid var(--vg-border)",boxSizing:"border-box",overflow:"hidden",whiteSpace:"nowrap",background:"var(--vg-bg-row-alt)"},children:[String(we.groupingValue)," (",we.leafRowCount,")"]},we.id);const Be=we.row,ze=G.accessor?G.accessor(Be):Be[(Oe=G.field)!=null?Oe:G.id],Ke=G.renderCell?G.renderCell(ze,Be):ze??"—";return f.jsx("div",{style:{height:s,display:"flex",alignItems:"center",justifyContent:pe,padding:"0 10px",fontSize:"var(--vg-font-size)",color:"var(--vg-text)",borderBottom:"1px solid var(--vg-border)",boxSizing:"border-box",overflow:"hidden",whiteSpace:"nowrap",background:bp(Be,we.rowIndex)},children:Ke},Pe)})]})})})()]})})}const nM=p.memo(tM);p.memo(function({currentPage:t,pageCount:n,totalRows:r,startIndex:o,endIndex:s,pageSize:i,pageSizeOptions:a,canGoPrev:l,canGoNext:c,goToPage:u,nextPage:d,prevPage:h,firstPage:m,lastPage:g,setPageSize:C}){const b=rM(t,n);return f.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:12,padding:"8px 12px",background:"var(--vg-bg-toolbar)",borderTop:"1px solid var(--vg-border)",borderRadius:"0 0 var(--vg-radius) var(--vg-radius)",fontFamily:"var(--vg-font)",flexWrap:"wrap"},children:[f.jsxs("span",{style:{fontSize:12,color:"var(--vg-text-dim)",fontFamily:"var(--vg-font-mono)",flexShrink:0},children:[(o+1).toLocaleString(),"–",Math.min(s+1,r).toLocaleString()," of"," ",r.toLocaleString()," rows"]}),f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:3},children:[f.jsx(E0,{onClick:m,disabled:!l,title:"First page",children:f.jsx(m1,{left:!0})}),f.jsx(E0,{onClick:h,disabled:!l,title:"Previous page",children:f.jsx(h1,{left:!0})}),b.map((v,k)=>v==="…"?f.jsx("span",{style:{padding:"0 4px",fontSize:12,color:"var(--vg-text-dim)"},children:"…"},`ellipsis-${k}`):f.jsx("button",{onClick:()=>u(v),"aria-current":v===t?"page":void 0,style:{minWidth:28,height:28,padding:"0 6px",borderRadius:"var(--vg-radius-xs)",border:`1px solid ${v===t?"var(--vg-accent)":"var(--vg-border-strong)"}`,background:v===t?"var(--vg-accent-bg)":"var(--vg-bg-btn)",color:v===t?"var(--vg-accent-text)":"var(--vg-text)",fontWeight:v===t?700:500,fontSize:12,cursor:"pointer",fontFamily:"var(--vg-font-mono)",lineHeight:1,transition:"all var(--vg-transition)"},children:v},v)),f.jsx(E0,{onClick:d,disabled:!c,title:"Next page",children:f.jsx(h1,{})}),f.jsx(E0,{onClick:g,disabled:!c,title:"Last page",children:f.jsx(m1,{})})]}),f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:7,flexShrink:0},children:[f.jsx("span",{style:{fontSize:12,color:"var(--vg-text-dim)"},children:"Rows per page"}),f.jsx("select",{value:i,onChange:v=>C(Number(v.target.value)),style:{padding:"3px 6px",borderRadius:"var(--vg-radius-xs)",border:"1px solid var(--vg-border-strong)",background:"var(--vg-bg-btn)",color:"var(--vg-text)",fontSize:12,cursor:"pointer",fontFamily:"var(--vg-font)",outline:"none"},children:a.map(v=>f.jsx("option",{value:v,children:v},v))})]})]})});function E0({onClick:e,disabled:t,title:n,children:r}){return f.jsx("button",{onClick:e,disabled:t,title:n,style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--vg-radius-xs)",border:"1px solid var(--vg-border-strong)",background:"var(--vg-bg-btn)",color:t?"var(--vg-text-dim)":"var(--vg-text)",cursor:t?"not-allowed":"pointer",opacity:t?.45:1,transition:"all var(--vg-transition)",padding:0},children:r})}function h1({left:e=!1}){return f.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",style:{transform:e?"rotate(180deg)":void 0},children:f.jsx("path",{d:"M4.5 2.5L7.5 6l-3 3.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function m1({left:e=!1}){return f.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",style:{transform:e?"rotate(180deg)":void 0},children:f.jsx("path",{d:"M7 2.5L4 6l3 3.5M10 2.5L7 6l3 3.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function rM(e,t){if(t<=7)return Array.from({length:t},(s,i)=>i+1);const n=[];n.push(1);const r=Math.max(2,e-1),o=Math.min(t-1,e+1);r>2&&n.push("…");for(let s=r;s<=o;s++)n.push(s);return o<t-1&&n.push("…"),n.push(t),n}function oM({engine:e,onClose:t}){const{orderedColumns:n,toggleColumnVisibility:r,pinColumn:o,showAllColumns:s,resetColumns:i}=e,[a,l]=p.useState(""),c=p.useMemo(()=>n.filter(d=>d.label.toLowerCase().includes(a.toLowerCase())),[n,a]),u=n.filter(d=>d.hidden).length;return f.jsxs("div",{style:{display:"flex",flexDirection:"column",fontFamily:'var(--vg-font, "DM Sans", sans-serif)',fontSize:"var(--vg-font-size, 12.5px)",background:"var(--vg-bg-panel, #fff)",border:"1px solid var(--vg-border-strong, #d1d5db)",borderRadius:"var(--vg-radius, 7px)",boxShadow:"var(--vg-shadow-panel, 0 8px 24px rgba(0,0,0,0.1))",overflow:"hidden",minWidth:240},children:[f.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 14px 8px",borderBottom:"1px solid var(--vg-border, #e5e7eb)",gap:8,flexShrink:0},children:[f.jsxs("span",{style:{fontWeight:700,fontSize:11,textTransform:"uppercase",letterSpacing:"0.08em",color:"var(--vg-text-dim, #6b7280)"},children:["Columns",u>0&&f.jsxs("span",{style:{marginLeft:6,background:"var(--vg-accent-bg, #dbeafe)",color:"var(--vg-accent-text, #1d4ed8)",borderRadius:10,padding:"1px 6px",fontSize:10},children:[u," hidden"]})]}),f.jsxs("div",{style:{display:"flex",gap:6},children:[u>0&&f.jsx("button",{onClick:s,style:{background:"none",border:"none",cursor:"pointer",fontSize:11,color:"var(--vg-accent, #2563eb)",fontWeight:600,fontFamily:"var(--vg-font, sans-serif)",padding:"2px 4px"},children:"Show all"}),f.jsx("button",{onClick:i,style:{background:"none",border:"none",cursor:"pointer",fontSize:11,color:"var(--vg-text-dim, #6b7280)",fontFamily:"var(--vg-font, sans-serif)",padding:"2px 4px"},children:"Reset"})]})]}),f.jsx("div",{style:{padding:"8px 14px",borderBottom:"1px solid var(--vg-border, #e5e7eb)",flexShrink:0},children:f.jsx("input",{value:a,onChange:d=>l(d.target.value),placeholder:"Search columns…",style:{width:"100%",padding:"5px 9px",border:"1px solid var(--vg-border-strong, #d1d5db)",borderRadius:"var(--vg-radius-sm, 4px)",background:"var(--vg-bg, #fff)",color:"var(--vg-text, #111827)",fontSize:12,outline:"none",fontFamily:"var(--vg-font, sans-serif)",boxSizing:"border-box"}})}),f.jsxs("div",{style:{overflow:"auto",flex:1,maxHeight:320},children:[c.map(d=>{var h;return f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"6px 14px",borderBottom:"1px solid var(--vg-border, #e5e7eb)",transition:"background 0.1s"},onMouseEnter:m=>m.currentTarget.style.background="var(--vg-bg-row-hover, #f0f5ff)",onMouseLeave:m=>m.currentTarget.style.background="transparent",children:[f.jsx("input",{type:"checkbox",id:`vcm-${d.id}`,checked:!d.hidden,onChange:()=>r(d.id),style:{accentColor:"var(--vg-accent, #2563eb)",cursor:"pointer",width:13,height:13,flexShrink:0}}),f.jsx("label",{htmlFor:`vcm-${d.id}`,style:{flex:1,cursor:"pointer",color:d.hidden?"var(--vg-text-dim, #6b7280)":"var(--vg-text, #111827)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:d.label}),f.jsxs("select",{value:(h=d.pinned)!=null?h:"",onChange:m=>o(d.id,m.target.value||null),style:{fontSize:11,padding:"2px 5px",background:"var(--vg-bg-btn, #f3f4f6)",color:"var(--vg-text, #111827)",border:"1px solid var(--vg-border-strong, #d1d5db)",borderRadius:"var(--vg-radius-xs, 3px)",cursor:"pointer",fontFamily:"var(--vg-font, sans-serif)",outline:"none"},children:[f.jsx("option",{value:"",children:"No pin"}),f.jsx("option",{value:"left",children:"Pin left"}),f.jsx("option",{value:"right",children:"Pin right"})]})]},d.id)}),c.length===0&&f.jsxs("div",{style:{padding:"20px 14px",textAlign:"center",fontSize:12,color:"var(--vg-text-dim, #6b7280)"},children:['No columns match "',a,'"']})]}),t&&f.jsx("div",{style:{padding:"10px 14px",borderTop:"1px solid var(--vg-border, #e5e7eb)",flexShrink:0},children:f.jsx("button",{onClick:t,style:{width:"100%",padding:"7px 12px",background:"var(--vg-accent, #2563eb)",color:"var(--vg-accent-fg, #fff)",border:"none",borderRadius:"var(--vg-radius-sm, 4px)",cursor:"pointer",fontWeight:600,fontSize:"var(--vg-font-size, 12.5px)",fontFamily:"var(--vg-font, sans-serif)"},children:"Done"})})]})}function sM(){const[e,t]=p.useState(!1),n=p.useRef(null),[r,o]=p.useState(!1),s=p.useCallback(()=>t(!0),[]),i=p.useCallback(()=>t(!1),[]),a=p.useCallback(()=>t(u=>!u),[]),l=p.useCallback(u=>{n.current=u,r||o(!0)},[r]),c=p.useCallback(({render:u,onClose:d,style:h,className:m})=>{const g=n.current;return g?u?f.jsx("div",{style:h,className:m,children:u({engine:g,close:i})}):f.jsx("div",{style:h,className:m,children:f.jsx(oM,{engine:g,onClose:d})}):null},[r,i]);return{isOpen:e,open:s,close:i,toggle:a,captureEngine:l,engine:n.current,ColumnManagerPanel:c}}function iM(e){return Ft("MuiPagination",e)}Vt("MuiPagination",["root","ul","outlined","text"]);function aM(e={}){const{boundaryCount:t=1,componentName:n="usePagination",count:r=1,defaultPage:o=1,disabled:s=!1,hideNextButton:i=!1,hidePrevButton:a=!1,onChange:l,page:c,showFirstButton:u=!1,showLastButton:d=!1,siblingCount:h=1,...m}=e,[g,C]=Dw({controlled:c,default:o,name:n,state:"page"}),b=(P,R)=>{c||C(R),l&&l(P,R)},v=(P,R)=>{const W=R-P+1;return Array.from({length:W},(S,j)=>P+j)},k=v(1,Math.min(t,r)),w=v(Math.max(r-t+1,t+1),r),x=Math.max(Math.min(g-h,r-t-h*2-1),t+2),T=Math.min(Math.max(g+h,t+h*2+2),r-t-1),M=[...u?["first"]:[],...a?[]:["previous"],...k,...x>t+2?["start-ellipsis"]:t+1<r-t?[t+1]:[],...v(x,T),...T<r-t-1?["end-ellipsis"]:r-t>t?[r-t]:[],...w,...i?[]:["next"],...d?["last"]:[]],A=P=>{switch(P){case"first":return 1;case"previous":return g-1;case"next":return g+1;case"last":return r;default:return null}};return{items:M.map(P=>typeof P=="number"?{onClick:R=>{b(R,P)},type:"page",page:P,selected:P===g,disabled:s,"aria-current":P===g?"page":void 0}:{onClick:R=>{b(R,A(P))},type:P,page:A(P),selected:!1,disabled:s||!P.includes("ellipsis")&&(P==="next"||P==="last"?g>=r:g<=1)}),...m}}function lM(e){return Ft("MuiPaginationItem",e)}const Yt=Vt("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),cM=y.oneOfType([y.func,y.object]);function uM(e){const{prototype:t={}}=e;return!!t.isReactComponent}function dM(e,t,n,r,o){const s=e[t],i=o||t;if(s==null||typeof window>"u")return null;let a;return typeof s=="function"&&!uM(s)&&(a="Did you accidentally provide a plain function component instead?"),s===Z.Fragment&&(a="Did you accidentally provide a React.Fragment instead?"),a!==void 0?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${a} For more information see https://v7.mui.com/r/caveat-with-refs-guide`):null}const fM=Ts(y.elementType,dM);function g1(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!window.navigator.userAgent.includes("jsdom")&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
65
- `))}return!1}const y1={};function C1(e,t){const n=Z.useRef(y1);return n.current===y1&&(n.current=e(t)),n}class M0{static create(){return new M0}static use(){const t=C1(M0.create).current,[n,r]=Z.useState(!1);return t.shouldMount=n,t.setShouldMount=r,Z.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=hM(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function pM(){return M0.use()}function hM(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}const mM=[];function gM(e){Z.useEffect(e,mM)}class Rl{static create(){return new Rl}currentId=null;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function yM(){const e=C1(Rl.create).current;return gM(e.disposeEffect),e}function b1(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:i,in:a,onExited:l,timeout:c}=e,[u,d]=Z.useState(!1),h=Xe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:i,height:i,top:-(i/2)+s,left:-(i/2)+o},g=Xe(n.child,u&&n.childLeaving,r&&n.childPulsate);return!a&&!u&&d(!0),Z.useEffect(()=>{if(!a&&l!=null){const C=setTimeout(l,c);return()=>{clearTimeout(C)}}},[l,a,c]),f.jsx("span",{className:h,style:m,children:f.jsx("span",{className:g})})}process.env.NODE_ENV!=="production"&&(b1.propTypes={classes:y.object.isRequired,className:y.string,in:y.bool,onExited:y.func,pulsate:y.bool,rippleSize:y.number,rippleX:y.number,rippleY:y.number,timeout:y.number.isRequired});const yn=Vt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_l=550,CM=80,bM=sr.keyframes`
64
+ `+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Vr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&v0.assertOptions(r,{silentJSONParsing:tn.transitional(tn.boolean),forcedJSONParsing:tn.transitional(tn.boolean),clarifyTimeoutError:tn.transitional(tn.boolean),legacyInterceptorReqResOrdering:tn.transitional(tn.boolean),advertiseZstdAcceptEncoding:tn.transitional(tn.boolean)},!1),o!=null&&(z.isFunction(o)?n.paramsSerializer={serialize:o}:v0.assertOptions(o,{encode:tn.function,serialize:tn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),v0.assertOptions(n,{baseUrl:tn.spelling("baseURL"),withXsrfToken:tn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&z.merge(s.common,s[n.method]);s&&z.forEach(["delete","get","head","post","put","patch","query","common"],g=>{delete s[g]}),n.headers=Gt.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(C){if(typeof C.runWhen=="function"&&C.runWhen(n)===!1)return;l=l&&C.synchronous;const b=n.transitional||pl;b&&b.legacyInterceptorReqResOrdering?a.unshift(C.fulfilled,C.rejected):a.push(C.fulfilled,C.rejected)});const c=[];this.interceptors.response.forEach(function(C){c.push(C.fulfilled,C.rejected)});let u,d=0,h;if(!l){const g=[jf.bind(this),void 0];for(g.unshift(...a),g.push(...c),h=g.length,u=Promise.resolve(n);d<h;)u=u.then(g[d++],g[d++]);return u}h=a.length;let m=n;for(;d<h;){const g=a[d++],C=a[d++];try{m=g(m)}catch(b){C.call(this,b);break}}try{u=jf.call(this,m)}catch(g){return Promise.reject(g)}for(d=0,h=c.length;d<h;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Vr(this.defaults,t);const n=kf(t.baseURL,t.url,t.allowAbsoluteUrls);return yf(n,t.params,t.paramsSerializer)}};z.forEach(["delete","get","head","options"],function(t){Wr.prototype[t]=function(n,r){return this.request(Vr(r||{},{method:t,url:n,data:(r||{}).data}))}}),z.forEach(["post","put","patch","query"],function(t){function n(r){return function(s,i,a){return this.request(Vr(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Wr.prototype[t]=n(),t!=="query"&&(Wr.prototype[t+"Form"]=n(!0))});let ET=class Tp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Ps(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Tp(function(o){t=o}),cancel:t}}};function MT(e){return function(n){return e.apply(null,n)}}function OT(e){return z.isObject(e)&&e.isAxiosError===!0}const vl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(vl).forEach(([e,t])=>{vl[t]=e});function _f(e){const t=new Wr(e),n=tf(Wr.prototype.request,t);return z.extend(n,Wr.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return _f(Vr(e,o))},n}const at=_f(Is);at.Axios=Wr,at.CanceledError=Ps,at.CancelToken=ET,at.isCancel=vf,at.VERSION=yl,at.toFormData=g0,at.AxiosError=be,at.Cancel=at.CanceledError,at.all=function(t){return Promise.all(t)},at.spread=MT,at.isAxiosError=OT,at.mergeConfig=Vr,at.AxiosHeaders=Gt,at.formToJSON=e=>bf(z.isHTMLForm(e)?new FormData(e):e),at.getAdapter=Lf.getAdapter,at.HttpStatusCode=vl,at.default=at;const{Axios:FA,AxiosError:VA,CanceledError:WA,isCancel:zA,CancelToken:HA,VERSION:UA,all:GA,Cancel:YA,isAxiosError:qA,spread:KA,toFormData:ZA,AxiosHeaders:XA,HttpStatusCode:JA,formToJSON:QA,getAdapter:eI,mergeConfig:tI,create:nI}=at,xl={BASE_URL:"https://qa.3sc.ai/api",VERSION:"/v1"},Po={headers:{"Content-Type":"application/json"},withCredentials:!0},Bf=at.create({baseURL:xl.BASE_URL,axiosConfig:Po});Bf.interceptors.request.use(function(e){return e},function(e){return Promise.reject(e)}),Bf.interceptors.response.use(function(e){return e},function(e){return Promise.reject(e)});const Ls={NOTIFICATION:"/notifications",SETTING:"/configuration/setting"};function x0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!=="__proto__"&&(e[r]=n[r])}return e}var DT={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function wl(e,t){function n(o,s,i){if(!(typeof document>"u")){i=x0({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in i)i[l]&&(a+="; "+l,i[l]!==!0&&(a+="="+i[l].split(";")[0]));return document.cookie=o+"="+e.write(s,o)+a}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var s=document.cookie?document.cookie.split("; "):[],i={},a=0;a<s.length;a++){var l=s[a].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(u in i||(i[u]=e.read(c,u)),o===u)break}catch{}}return o?i[o]:i}}return Object.create({set:n,get:r,remove:function(o,s){n(o,"",x0({},s,{expires:-1}))},withAttributes:function(o){return wl(this.converter,x0({},this.attributes,o))},withConverter:function(o){return wl(x0({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var AT=wl(DT,{path:"/"});const Vn={get BU_IDS(){return Oi(nn.SELECTED_BU)?.business_unit_id},get TOKEN(){return JSON.parse(AT.get(nn.TOKEN)||null)},get TENANT_IDS(){return Oi(nn.USER)?.tenant_id},get SNOP_IDS(){return Oi(nn.SNOP)?.snop_id},get GRID_SETTINGS(){return Oi(nn.SETTINGS)}},{TENANT_ID:Nf,BU_ID:$f}=Iu,zr=async({baseUrl:e,payload:t})=>{try{const n=`${e}${Ls.SETTING}/v1`,{product:r,childType:o,childId:s}=t??{},i={[Nf]:Vn.TENANT_IDS,[$f]:Vn.BU_IDS,product:r};return o!=null&&(i.childType=o),s!=null&&(i.childId=s),await at.post(n,t,{...Po,params:i})}catch(n){return n}},Sl=async({baseUrl:e,product:t,childType:n,childId:r})=>{try{const o=`${e}${Ls.SETTING}/v1`,s={[Nf]:Vn.TENANT_IDS,[$f]:Vn.BU_IDS,product:t};return n!=null&&(s.childType=n),r!=null&&(s.childId=r),await at.get(o,{...Po,params:s})}catch(o){return o}},js=JSON.parse(localStorage.getItem("snop"))?.configuration??{},kl=localStorage.getItem("i18nextLng"),IT=js?.entities?.locationHierarchy?.[kl]??js?.entities?.locationHierarchy??{},PT=js?.entities?.productHierarchy?.[kl]??js?.entities?.productHierarchy??{},LT=IT?.base??"Node",jT=PT?.base??"SKU",RT=js?.entities?.labelChannel?.[kl]||"Channel",Ff=()=>{try{return JSON.parse(localStorage.getItem(nn.SELECTED_BU)||"{}")?.business_unit_id}catch{return null}},_T=({columns:e,gridPath:t,baseUrl:n,isDefaultConfig:r,pageSize:o=10,childUniqueKey:s,data:i})=>{const a=i?.length;let{definitions:l,defaultUserSettings:c,labels:u}=e;const d=tr(u),h=t.split("/").filter(Boolean),m=JSON.parse(localStorage.getItem(nn.SETTINGS));let g=h.reduce((w,x)=>w?.[x],m)||null;const C=tr(g?.columns||[]);if(!r&&t&&a){let w=(c&&Tl({col:c,childUniqueKey:s,definitions:l}))??Tl({col:l,childUniqueKey:s});const x=w.filter(M=>!C[M.key]),T=g&&g?.columns?.some(M=>M?.children&&M.children[s]);if(a&&(x.length||s&&T===!1)){if(T==!1&&s.length>0){const M=tr(w);w=g?.columns?.map(A=>A?.children&&!A.children[s]?{...A,children:{...A.children,[s]:M?.[A?.key]?.children[s]}}:A)}(async()=>{try{const A={...m||{platform:{theme:"light"}}},I=g?.pageSize??o;let P=A;for(let R=0;R<h.length;R++){const W=h[R];R===h.length-1?P[W]={columns:w,pageSize:I}:(P[W]={...P[W]||{}},P=P[W])}localStorage.setItem(nn.SETTINGS,JSON.stringify(A)),await zr({baseUrl:n,payload:A})}catch(M){console.error(M)}})()}}c=(g?.columns&&BT(C,c,s))??c??Tl({col:l});const b=[],v=tr(c);for(const w of l){const x=v[w.key]||{},T=d[w.key]||{},M=C[w.key],A=tr(x.children||[]),I=tr(T.children||[]);let P={...w,style:M?.style,...x,...T};w.children?.length&&(P.children=w.children.map(R=>({...R,...A[R.key],...I[R.key]}))),b.push(P)}return b.sort((w,x)=>w.sequenceId-x.sequenceId)},Vf=e=>e.sort((t,n)=>t.sequenceId-n.sequenceId),Rs=({columns:e,childUniqueKey:t,definitions:n})=>{let r=n||e;return e?.map(o=>{let s=r?.find(i=>i?.key===o?.key);return{id:o.id,key:o.key,sequenceId:o.sequenceId||o.id,isHidden:o.isHidden||!1,style:o.style||s?.style||{},...o?.children&&{children:t?{[t]:Rs({columns:o.children,definitions:s?.children})}:Rs({columns:o.children,definitions:s?.children})}}})},tr=e=>Array.isArray(e)&&e?.reduce((t,n)=>(t[n.key]=n,t),{}),Tl=({col:e,childUniqueKey:t,definitions:n})=>Rs({columns:e,childUniqueKey:t,definitions:n}),BT=(e,t,n)=>t.map(o=>{const s=e[o.key],i=o.children?o.children.map(a=>{const c=tr(Array.isArray(s?.children)?s?.children:s?.children?.[n])?.[a.key];return{...a,sequenceId:c?.sequenceId||a.sequenceId,isHidden:c?.isHidden??a.isHidden}}):void 0;return{...o,sequenceId:s?.sequenceId||o.sequenceId,isHidden:s?.isHidden??o.isHidden,...i?{children:i}:{}}}),NT=({t:e})=>{const t=[{id:1,key:"sku_name",isSortable:!0,isMandatory:!0},{id:2,key:"node",isSortable:!0,isMandatory:!0},{id:3,key:"channel_name",isSortable:!0,isMandatory:!0}],n=[{id:1,key:"sku_name",sequenceId:1,isHidden:!1,style:{width:"20rem",minWidth:"20rem",maxWidth:"20rem"}},{id:2,key:"node",sequenceId:2,isHidden:!1,style:{width:"20rem",minWidth:"20rem",maxWidth:"20rem"}},{id:3,key:"channel_name",sequenceId:3,isHidden:!1,style:{width:"20rem",minWidth:"20rem",maxWidth:"20rem"}}],r=[{id:1,key:"sku_name",label:e(jT),isLocalizable:!1},{id:2,key:"node",label:e(LT),isLocalizable:!1},{id:3,key:"channel_name",label:e(RT),isLocalizable:!1}];return{definitions:t,defaultUserSettings:n,labels:r}},Wf=(e,t)=>JSON.stringify(e??{})===JSON.stringify(t??{}),$T="/ds/forecast/grid",zf=e=>e===$T?"snoe":"snop",El=(e=[],t=[])=>{const n=new Map,r=a=>a.forEach(l=>{n.set(l.key,l),l.children?.length&&r(l.children)});r(t);const o=new Map;let s=0;const i=a=>a.forEach(l=>{const c=n.get(l.key);o.set(l.key,{style:c?.style??l.style??{},scope:c?.scope??l.scope,sequence_id:c?.sequenceId??s}),s+=1,l.children?.length&&i(l.children)});return i(e),o},Hf=e=>{if(!e)return null;try{const t=JSON.parse(localStorage.getItem(nn.SETTINGS));return e.split("/").filter(Boolean).reduce((n,r)=>n?.[r],t)??null}catch{return null}},Uf=()=>({version:2,updatedAt:new Date().toISOString(),grid:{shared:{columns:{}},scoped:{}}}),FT=(e,t)=>{const n={columns:{}},r={},o=(s,i)=>{const a=t.get(i.key),l={};i.isHidden&&(l.isHidden=!0),i.style&&!Wf(i.style,a?.style)&&(l.style=i.style),i.sequenceId!=null&&i.sequenceId!==a?.sequence_id&&(l.sequence_id=i.sequenceId),Object.keys(l).length&&(s.columns[i.key]=l)};return(e?.columns??[]).forEach(s=>{o(n,s),Array.isArray(s.children)?s.children.forEach(i=>o(n,i)):s.children&&typeof s.children=="object"&&Object.entries(s.children).forEach(([i,a])=>{r[i]??={columns:{}},(a??[]).forEach(l=>o(r[i],l))})}),e?.groupBy&&(n.groupBy=e.groupBy),Object.entries(e?.groupByFilters??{}).forEach(([s,i])=>{r[s]={...r[s]??{},groupByFilters:i}}),{pageSize:e?.pageSize,version:2,updatedAt:new Date().toISOString(),grid:{shared:n,scoped:r}}},Ml=(e,t)=>{const n=Hf(e);if(!n)return null;if(n.version===2)return n;const r=FT(n,t);return w0(e,r),r},VT=["columns","groupBy","groupByFilters"],w0=(e,t)=>{try{const n=JSON.parse(localStorage.getItem(nn.SETTINGS))??{platform:{theme:"light"}},r=e.split("/").filter(Boolean);let o=n;for(let s=0;s<r.length;s++){const i=r[s];if(s===r.length-1){const a={...o[i]??{},...t,updatedAt:new Date().toISOString()};VT.forEach(l=>delete a[l]),o[i]=a}else o[i]={...o[i]??{}},o=o[i]}localStorage.setItem(nn.SETTINGS,JSON.stringify(n))}catch(n){console.error("writeGridSettings failed:",n)}},Gf=(e,t)=>JSON.stringify(e)===JSON.stringify(t),Yf=({settings:e=[],defaults:t,childUniqueKey:n,scopedKeys:r})=>{const o=r?new Set(r):null,s=[],i=[];return e.forEach(a=>{const l=t.get(a.key)?.scope;(n&&(o?o.has(a.key):l==="scoped"||!!a.children?.length)?i:s).push(a)}),{shared:s,scoped:i}},Ol=({product:e,childType:t,childId:n,settings:r})=>({product:e,childType:t,childId:n,settings:r}),WT=e=>e?.data?.responseData?.response?.settings??e?.data?.responseData?.settings??e?.data?.response?.settings??e?.data?.settings??null,Dl=(e=[],t={},n)=>(e.forEach(r=>{if(!r?.key||n&&!n.has(r.key))return;const o=r.sequence_id??r.sequenceId,s=Number.isFinite(o)?o:n?.get(r.key)?.sequence_id??0,i=r.style;t[r.key]={isHidden:!!r.isHidden,sequence_id:s,...i&&typeof i=="object"&&!Array.isArray(i)?{style:i}:{}};const{children:a}=r;Array.isArray(a)&&Dl(a,t,n)}),t),zT=async({baseUrl:e,gridPath:t,definitions:n=[],defaultSetting:r=[],childUniqueKey:o,groupByUniqueKey:s,includeGroupBy:i=!1})=>{if(!e||!t)return;const a=El(n,r),l=s||Ff(),c=Hf(t),u=(w,x)=>Object.prototype.hasOwnProperty.call(w??{},x),d=u(c?.grid?.shared,"columns"),h=o&&u(c?.grid?.scoped?.[o],"columns"),m=l&&u(c?.grid?.scoped?.[l],"groupByFilters"),g=n.some(w=>a.get(w.key)?.scope==="scoped"||!!w?.children?.length),C=[];if(d||C.push({type:"shared",request:Sl({baseUrl:e,product:t})}),o&&g&&!h&&C.push({type:"snop",request:Sl({baseUrl:e,product:t,childType:zf(t),childId:o})}),i&&l&&!m&&C.push({type:"bu",request:Sl({baseUrl:e,product:t,childType:"bu",childId:l})}),!C.length)return;const b=await Promise.all(C.map(({request:w})=>w)),v=c??{version:2,updatedAt:new Date().toISOString(),grid:{shared:{},scoped:{}}};v.version=2,v.grid??={shared:{columns:{}},scoped:{}},v.grid.shared??={columns:{}},v.grid.scoped??={};let k=!1;C.forEach(({type:w},x)=>{const T=b[x],M=WT(T);T?.status>=200&&T?.status<300&&(k=!0,w==="shared"&&(v.grid.shared.columns=Array.isArray(M?.columns)?Dl(M.columns,{},a):{}),w==="snop"&&(v.grid.scoped[o]={...v.grid.scoped[o]??{},columns:Array.isArray(M?.columns)?Dl(M.columns,{},a):{}}),w==="bu"&&(v.grid.scoped[l]={...v.grid.scoped[l]??{},groupByFilters:Array.isArray(M?.groupFilter)?M.groupFilter:[]}))}),k&&w0(t,v)},HT=({definitions:e=[],defaultSetting:t=[],gridPath:n,childUniqueKey:r})=>{const o=El(e,t),s=Ml(n,o),i=s?.grid?.shared??{},a=r&&s?.grid?.scoped?.[r]||{},l=w=>({...i.columns?.[w],...a.columns?.[w]}),c=[],u=(w=[])=>w.forEach(x=>{c.push(x.key),x.children?.length&&u(x.children)});u(e);const d=new Map;c.forEach(w=>{const x=l(w).sequence_id;x!=null&&d.set(x,(d.get(x)??0)+1)});const h=[...d.values()].some(w=>w>1),m=w=>{const x=l(w).sequence_id;return!h&&x!=null?x:o.get(w)?.sequence_id??0},g=w=>[...w].sort((x,T)=>m(x.key)-m(T.key)),C=w=>{if(w?.length)return g(w).map(x=>{const T=l(x.key);return{key:x.key,sequence_id:m(x.key),isHidden:T.isHidden??!1,style:T.style??o.get(x.key)?.style??{}}})},b=g(e).map(w=>{const x=l(w.key),T={key:w.key,sequence_id:m(w.key),isHidden:x.isHidden??!1,style:x.style??o.get(w.key)?.style??{}},M=C(w.children);return M&&(T.children=M),T}),v=w=>{const x=l(w);return x.sequence_id!==void 0&&x.isHidden!==void 0},k=!s||e.some(w=>!v(w.key));return{settings:b,hasNewColumns:k}},S0=async({settings:e,previousSettings:t,definitions:n=[],defaultSetting:r=[],gridPath:o,baseUrl:s,childUniqueKey:i,scopedKeys:a})=>{if(o)try{const l=El(n,r),c=Ml(o,l)??Uf();c.grid.shared??={columns:{}},c.grid.scoped??={};const u=i?c.grid.scoped[i]??={columns:{}}:null,d=a?new Set(a):null,h=(v,k)=>{if(!u)return!1;if(d)return d.has(v.key);const w=l.get(v.key)?.scope;return w==="shared"?!1:w==="scoped"?!0:k||!!v.children?.length},m=(v,k)=>{const w=h(v,k),x=w?u:c.grid.shared;x.columns??={};const T=l.get(v.key),M={isHidden:!!v.isHidden,sequence_id:v.sequence_id??T?.sequence_id??0};v.style&&!Wf(v.style,T?.style)&&(M.style=v.style),x.columns[v.key]=M,v.children?.forEach(A=>m(A,w))};if(e.forEach(v=>m(v,!1)),w0(o,c),!s)return;const g=Yf({settings:e,defaults:l,childUniqueKey:i,scopedKeys:a}),C=t?Yf({settings:t,defaults:l,childUniqueKey:i,scopedKeys:a}):null,b=[];(!C||!Gf(g.shared,C.shared))&&b.push(zr({baseUrl:s,payload:Ol({product:o,childType:null,childId:null,settings:{columns:g.shared}})})),i&&(!C||!Gf(g.scoped,C.scoped))&&b.push(zr({baseUrl:s,payload:Ol({product:o,childType:zf(o),childId:i,settings:{columns:g.scoped}})})),await Promise.all(b)}catch(l){console.error("saveColumnSettings failed:",l)}},UT=async({groupBy:e,gridPath:t,baseUrl:n,groupByUniqueKey:r})=>{if(!(!t||!Array.isArray(e)))try{const o=r||Ff(),s=Ml(t,new Map)??Uf();s.grid.shared??={columns:{}},s.grid.scoped??={};const i=o?s.grid.scoped[o]?.groupByFilters:s.grid.shared.groupBy;if(Array.isArray(i)&&JSON.stringify(i)===JSON.stringify(e)||!i&&e.length===0)return;o?s.grid.scoped[o]={...s.grid.scoped[o]??{},groupByFilters:e}:s.grid.shared.groupBy=e,w0(t,s),n&&await zr({baseUrl:n,payload:Ol({product:t,childType:"bu",childId:o??null,settings:{groupFilter:e}})})}catch(o){console.error("saveGroupBySettings failed:",o)}},GT={placement:"top",disableInteractive:!0,slotProps:{popper:{sx:{zIndex:9999}}},componentsProps:{tooltip:{sx:{fontSize:"1rem",padding:"0.6rem 1rem",boxShadow:"0 2px 8px rgba(0,0,0,0.3)"}}}},YT=e=>e!=null&&e!=="",qf=({label:e})=>f.jsx(O.Box,{component:"span",sx:{display:"inline-block",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",verticalAlign:"middle"},children:e??""});qf.propTypes={label:y.node};const qT=e=>{if(!e)return null;const{options:t,type:n,sequenceId:r,isLocalised:o,...s}=e,i=t?"select":"button",a={button:l=>f.jsx(jn,{...l,styles:{...l.styles,iconPrimary:l?.styles?.variant=="filled"}}),select:l=>f.jsx(O.Box,{sx:{"& .MuiInputBase-input":{padding:"0rem!important"},width:l.styles?.width},children:f.jsx($u,{...l,options:t})})};return a[i]?a[i](s):null},KT=({presentSetting:e,gridSetting:t,gridPath:n,childUniqueKey:r})=>{if(!n)return e;const o=n.split("/").filter(Boolean);let s=o.reduce((c,u)=>c?.[u],e)||null,i=Rs({columns:t?.grid,childUniqueKey:r});const a=tr(s?.columns);i=i?.map(c=>{const u=c?.children||{},d=a?.[c?.key]?.children||{};return{...c,...(Object.keys(d)?.length>0||u?.[r])&&{children:{...d,[r]:u?.[r]}}}});let l=e;for(let c=0;c<o.length;c++){const u=o[c];c===o.length-1?l[u]={columns:i,pageSize:t?.pageSize??null}:(l[u]=l[u]||{},l=l[u])}return{settingObject:e,defaultUserSettings:i}},ZT=async({baseUrl:e,gridSetting:t,childUniqueKey:n,gridPath:r})=>{try{const o=JSON.parse(localStorage.getItem("settings")),{settingObject:s,defaultUserSettings:i}=KT({presentSetting:o,gridSetting:t,gridPath:r,childUniqueKey:n});return localStorage.setItem("settings",JSON.stringify(s)),await zr({baseUrl:e,payload:s}),i}catch(o){console.error(o)}},Kf=({index:e,visibleGridColumns:t,width:n,columnUpdaterFunction:r})=>{if(!t||!t[e])return null;t[e];let o=`${n/10}rem`;const s=t.map((i,a)=>a===e?{...i,style:{...i.style,width:o,minWidth:o,maxWidth:o}}:i);return r({updatedColumns:s}),s[e]},XT=({definitions:e=[],labels:t=[],settings:n=[],childUniqueKey:r})=>{const o=(d=[],h=!1)=>{const m=[],g=C=>{C?.forEach(b=>{m.push(b);let v=b.children;h&&r&&v&&!Array.isArray(v)&&(v=v[r]??[]),Array.isArray(v)&&v.length&&g(v)})};return g(d),m},s=o(t),i=o(n,!0),a=new Map(s.map(d=>[d.key,d])),l=new Map(i.map(d=>[d.key,d])),c=d=>{if(d){if(typeof d=="number")return d;if(d.includes("rem"))return parseFloat(d)*16;if(d.includes("px"))return parseFloat(d)}},u=d=>{const h=a.get(d.key),m=l.get(d.key),g=h?.helpText??d.helpText??h?.label,C=d.isMandatory===!0;return{id:d.key,label:h?.label??d.label,field:d.key,helpText:g,renderHeader:b=>{const v=f.jsx("span",{onClick:k=>k.stopPropagation(),style:{display:"inline-flex",maxWidth:"100%",minWidth:0},children:f.jsx(qf,{label:b.label})});return YT(g)?f.jsx(O.Tooltip,{title:g,...GT,children:v}):v},width:c(m?.style?.width??d.style?.width),minWidth:c(d.style?.minWidth),maxWidth:c(d.style?.maxWidth),sortable:d.isSortable??!1,pinned:d.isSticky?"left":void 0,hidden:m?.isHidden??!1,resizable:d?.isResizable??!0,draggable:d?.isDraggable??!C,hideable:!C,align:"center",deferRender:d.deferRender,renderCell:d.cellRenderer?(b,v,k)=>d.cellRenderer(v,k):void 0,meta:{isMandatory:C,...d},children:d.children?.map(u)}};return e.map(u)},Al=new Set,Zf=e=>{if(!e)return!1;if(Al.size<=1||e.contains(document.activeElement))return!0;try{return e.matches(":hover")}catch{return!1}},Xf=(e,{enabled:t=!0}={})=>(p.useEffect(()=>{if(!t)return;const n=e.current;if(n)return Al.add(n),()=>Al.delete(n)},[t,e]),{isActive:()=>Zf(e.current)}),JT=e=>Zf(e),QT=({customTools:e})=>{const t=e?.filter(r=>r?.type===ha.PRIMARY)?.sort((r,o)=>r.sequenceId-o.sequenceId),n=e?.filter(r=>r?.type===ha.SECONDARY)?.sort((r,o)=>r.sequenceId-o.sequenceId);return{primaryButtons:t,secondaryButtons:n}},Il=p.forwardRef(({customTools:e,isExpanded:t,setIsExpanded:n},r)=>{const{primaryButtons:o,secondaryButtons:s}=QT({customTools:e}),i=t?[...o,...s]:o,a=s?.length>0,{t:l}=p.useContext(Nt),c=p.useRef(null),u=p.useRef(null),d=()=>{n(!t)},h=p.useCallback(()=>{u.current?.querySelector("button")?.focus()},[]),m=p.useCallback(()=>{setTimeout(()=>{const b=Array.from(c.current?.querySelectorAll('button, [role="combobox"]')||[]).slice(o.length);(b.find(k=>!k.disabled)??b[0])?.focus()},0)},[o.length]),{onKeyDown:g}=Ei(c,{enabled:t});return go(c,{enabled:t}),p.useImperativeHandle(r,()=>({toggle:()=>{const C=!t;d(),C?m():h()}})),f.jsxs(f.Fragment,{children:[t&&f.jsx("div",{style:{position:"fixed",left:0,width:"100vw",height:"4rem",zIndex:998}}),f.jsxs(O.Box,{ref:c,onKeyDown:g,sx:{display:"flex",alignItems:"center",gap:"0.8rem",flexWrap:"nowrap",maxWidth:"100%",whiteSpace:"nowrap",zIndex:999,...ac(void 0,"& button")},children:[f.jsx(xm,{mode:"popLayout",children:i.map((C,b)=>f.jsx(ur.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.15},layout:!0,children:f.jsx(O.Box,{sx:{flexShrink:0,minWidth:"fit-content"},children:qT(C)})},`${C.id}_${b}`))}),a&&f.jsx(O.Box,{ref:u,sx:{paddingLeft:t?"0.5rem":0},children:f.jsx(jn,{label:t?"":l("LABEL_MORE_ACTIONS"),"aria-label":l("LABEL_MORE_ACTIONS"),"aria-expanded":t,styles:{iconPrimary:!0,icon:t?Te.CrossWhite:Te.More,colorType:t?"danger":""},onClick:d})})]})]})});Il.displayName="CustomTools",Il.propTypes={customTools:y.array.isRequired};const k0=({defaultTools:e,isManageable:t,customTools:n,baseUrl:r,gridPath:o,pageSize:s,gridData:i,childUniqueKey:a,shortcuts:l})=>{const{t:c}=p.useContext(Nt),u=p.useContext(lo),d=p.useContext(cs)||{},{visibleGridColumns:h=[],triggerApi:m=!1}=d,[g,C]=p.useState([]),[b,v]=p.useState(!1),k=p.useRef(null),w=p.useRef(null),x=p.useRef(null),T=p.useRef(null),M=p.useRef(null),A=l?.scopeRef??M,I=l?.enabled!==!1,{isActive:P}=Xf(A,{enabled:I}),R=n?.filter(B=>B.position==="left").sort((B,E)=>B.sequenceId-E.sequenceId)||[],W=n?.filter(B=>B.position==="right").sort((B,E)=>B.sequenceId-E.sequenceId)||[];p.useEffect(()=>{if(h.length&&t){const B={id:99999,sequenceId:99999,isLocalizable:!1,key:"horizons",label:c("Horizons"),isSortable:!1,isHidden:!0,showChildCheckbox:!0,showCheckbox:!1,isMandatory:!0,showInHierarchy:!0,showHide:!0,children:[]};let E=h.map(L=>(L?.children&&L.children.forEach($=>{B.children.some(re=>re.key===$.key)||B.children.push({...$,showInHierarchy:!0})}),L)).filter(L=>L?.id!==B?.id);const D=B.children.length>0?[...E,B]:E;C(D)}},[h]);const S=async B=>{try{await ZT({baseUrl:r,gridPath:o,childUniqueKey:a,gridSetting:{grid:B,pageSize:s}})}catch(E){console.error(E)}finally{u({type:Re.HAS_SETTING_CHANGE,payload:{hasChange:!1}}),u({type:Re.TRIGGER_API,payload:{triggerApi:!1}})}};p.useEffect(()=>{m&&t&&S(h)},[m]);const j=B=>{const E=B?.map($=>$.id),D=B?.flatMap($=>$.children||[])?.map($=>$.id),L=g?.map($=>{const Y=E?.includes($.id);if(Array.isArray($.children)&&$.children.length>0){const he=$?.children?.map(X=>{const te=D?.includes?.(X.id);return{...X,isHidden:!te}}),oe=he?.filter(X=>g?.some(te=>te.children?.some(ie=>ie.id===X.id)))?.every(X=>X.isHidden);return{...$,...!$.children[0]?.showInHierarchy&&{isHidden:oe||!Y},children:he}}return{...$,isHidden:!Y}});u({type:Re.SET_GRID_DATA,payload:{visibleGridColumns:L}}),u({type:Re.HAS_SETTING_CHANGE,payload:{hasChange:!0}})},_=()=>g.map(E=>{const D=Array.isArray(E.children)?E.children.filter(L=>!L.isHidden):void 0;return!E.isHidden||E.isHidden&&E.showInHierarchy?{...E,children:D}:null}).filter(Boolean),N=p.useCallback(()=>{const B=k.current;B?.focus?.({preventScroll:!0}),B?.click?.()},[]),U=p.useCallback(()=>{const B=w.current;B?.focus?.({preventScroll:!0}),B?.click?.()},[]),se=p.useCallback(()=>{x.current?.focus?.({preventScroll:!0})},[]),ue=p.useCallback(()=>{T.current?.toggle()},[]);return Mi({[Xt(ht.GROUP_BY)]:{run:N,disabled:b||!e?.groupBy?.isRequired||e?.groupBy?.disabled},[Xt(ht.SAVE)]:{run:()=>e?.save?.onClick?.(),disabled:b||!e?.save?.isRequired||e?.save?.disabled},[Xt(ht.UPLOAD)]:{run:()=>e?.upload?.onClick?.(),disabled:b||!e?.upload?.isRequired||e?.upload?.disabled},[Xt(ht.DOWNLOAD)]:{run:()=>e?.download?.onClick?.(),disabled:b||!e?.download?.isRequired||e?.download?.disabled},[Xt(ht.REFRESH)]:{run:()=>e?.refresh?.onClick?.(),disabled:b||!e?.refresh?.isRequired||e?.refresh?.disabled},[Xt(ht.MORE_ACTIONS)]:{run:ue,disabled:!n},[Xt(ht.MANAGE_COLUMNS)]:{run:U,disabled:b||!t||!i.length},[Xt(ht.SEARCH)]:{run:se,disabled:b||!e?.search?.isRequired},...l?.extra},{enabled:I,isPaused:()=>(l?.isPaused?l.isPaused():Lu())||!P(),onEscape:l?.onEscape}),f.jsxs(O.Box,{ref:l?.scopeRef?void 0:M,sx:{margin:"1rem 0",position:"relative",zIndex:10,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",gap:"0.6rem",width:"100%"},children:[f.jsxs(O.Box,{sx:{display:"flex",flexDirection:"row",gap:"0.6rem",alignItems:"center"},children:[e?.search?.isRequired&&f.jsx(Ru,{...e?.search,iconUrl:Te.Search,inputRef:x}),e?.refresh?.isRequired&&f.jsx(jn,{...e?.refresh,disabled:b||e?.refresh?.disabled,styles:{variant:"filled",icon:Te.Refresh,colorType:"empty",width:"3.2rem",height:"3.2rem"}}),e?.groupBy?.isRequired&&f.jsx(O.Box,{sx:{"& .MuiInputBase-input":{padding:"0rem!important"}},children:f.jsx(co,{styles:{icon:Te.Group},inputRef:k,...e.groupBy,disabled:b||e.groupBy?.disabled})}),t&&f.jsx(O.Box,{sx:{"& .MuiInputBase-input":{padding:"0rem!important"}},children:f.jsx(co,{placeholder:c("LABEL_MANAGE_COLUMN"),options:g,value:_(),isMulti:!0,isDraggable:!0,showSearch:!0,isManageColumn:!0,onChange:j,disabled:!i.length,inputRef:w,styles:{icon:Te.Manage}})}),R?.length>0&&R.map((B,E)=>f.jsx(p.Fragment,{children:B.render()},B.id))]}),f.jsxs(O.Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"flex-end",alignItems:"center",gap:"0.6rem"},children:[W?.length>0&&W.map((B,E)=>f.jsx(p.Fragment,{children:B.render()},B.id)),n&&f.jsx(Il,{ref:T,customTools:n,setIsExpanded:v,isExpanded:b}),e?.save?.isRequired&&f.jsx(O.Box,{sx:{px:"0.5rem"},children:f.jsx(jn,{label:b?"":"Save","aria-label":c("Save"),styles:{icon:Te.Save,colorType:"empty"},...e?.save,disabled:b||e?.save?.disabled})}),e?.upload?.isRequired&&f.jsx(jn,{...e?.upload,disabled:b||e?.upload?.disabled,styles:{variant:b?"outlined":"filled",icon:b?Te.UploadDark:Te.Upload,iconPrimary:!b,colorType:"secondary",isAnimate:!0}}),e?.download?.isRequired&&f.jsx(jn,{...e?.download,disabled:b||e?.download?.disabled,styles:{variant:"outlined",icon:Te.Download,isAnimate:!0}})]})]})};k0.propTypes={defaultTools:y.object.isRequired,customTools:y.array,isManageable:y.bool,baseUrl:y.string,gridPath:y.gridPath,shortcuts:y.shape({enabled:y.bool,isPaused:y.func,onEscape:y.func,extra:y.object,scopeRef:y.shape({current:y.any})})};const Tn="1.1rem",eE=5;let _s=[];const Pl=new Set,Jf=()=>Pl.forEach(e=>e()),tE=e=>(Pl.add(e),()=>Pl.delete(e)),nE=e=>(_s=[..._s,e],Jf(),()=>{_s=_s.filter(t=>t!==e),Jf()}),rE=()=>_s.at(-1),oE=()=>typeof navigator>"u"?!1:navigator.userAgentData?.platform?navigator.userAgentData.platform.toLowerCase().includes("mac"):/Mac|iPhone|iPod|iPad/.test(navigator.platform||navigator.userAgent||""),Qf={win:{ctrl:"Ctrl",alt:"Alt",shift:"Shift"},mac:{ctrl:"⌘",alt:"⌥",shift:"⇧"}},sE=e=>(oE()?Qf.mac:Qf.win)[e]||e,iE=e=>e.length===1?e.toUpperCase():e,Ll=({modifiers:e=[],keyName:t,theme:n,light:r})=>f.jsxs(O.Stack,{direction:"row",gap:"0.4rem",children:[e.map(o=>f.jsx(O.Box,{component:"span",sx:e1(n,r),children:sE(o)},o)),f.jsx(O.Box,{component:"span",sx:e1(n,r),children:iE(t)})]});Ll.propTypes={modifiers:y.array,keyName:y.string,theme:y.object,light:y.bool};const e1=(e,t)=>{const n=e.palette.mode==="dark"?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.06)";return{minWidth:"1.8rem",textAlign:"center",padding:"0.3rem 0.6rem",borderRadius:"0.5rem",backgroundColor:t?"rgba(255,255,255,0.18)":n,color:t?"#FFFFFF":e.palette.primary.notifyActiveText,fontSize:Tn}},t1=e=>f.jsx(At,{children:f.jsx(aE,{...e})}),aE=({shortcuts:e=[],variant:t="trigger"})=>{const n=O.useTheme(),{t:r}=p.useContext(Nt),[o,s]=p.useState(!1),i=p.useRef(null),a=p.useId(),l=t==="overlay";p.useEffect(()=>nE(a),[a]);const u=p.useSyncExternalStore(tE,rE)===a,d=()=>s(!1),h=()=>s(m=>!m);if(ma("SHORTCUTS_HELP",h,{disabled:!u||l}),go(i,{enabled:o&&u&&!l,onEscape:d,autoFocus:!0,restoreFocus:!0}),!e.length||!u)return null;if(l){const m={textShadow:"0 1px 3px rgba(0,0,0,0.7)"};return f.jsx(O.Portal,{children:f.jsxs(O.Box,{sx:{position:"fixed",left:"5rem",bottom:"5rem",zIndex:5},children:[f.jsx(O.Typography,{sx:{...m,fontSize:Tn,fontWeight:600,color:"#FFFFFF"},children:r("LABEL_SHORTCUTS_TITLE")}),f.jsx(O.Typography,{sx:{...m,fontSize:Tn,color:"rgba(255,255,255,0.75)",mt:"0.3rem",mb:"0.9rem"},children:r("LABEL_SHORTCUTS_SUBTITLE")}),f.jsx(O.Stack,{direction:"row",flexWrap:"wrap",gap:"1.8rem",sx:{mt:"2rem"},children:e.map(g=>f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"0.8rem",children:[f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"0.5rem",children:[g.icon&&f.jsx(Ct,{url:g.icon,style:{width:Tn,height:Tn}}),f.jsx(O.Typography,{sx:{...m,fontSize:Tn,color:"#FFFFFF",whiteSpace:"nowrap"},children:r(g.label)})]}),f.jsx(Ll,{modifiers:g.modifiers,keyName:g.key,theme:n,light:!0})]},`${g.label}-${g.key}`))})]})})}return o?f.jsx(O.Portal,{children:f.jsxs(O.Box,{ref:i,role:"dialog","aria-modal":"true","data-allow-shortcuts":!0,"aria-label":r("LABEL_SHORTCUTS_HELP"),sx:{position:"fixed",left:"4rem",right:0,bottom:0,zIndex:20,backgroundColor:n.palette.primary.notifyBackground,color:n.palette.primary.notifyActiveText,borderTop:`0.1rem solid ${n.palette.primary.notifyBorderColor}`,boxShadow:"0 -0.4rem 1rem rgba(0,0,0,0.15)",padding:"1.5rem 2rem",textAlign:"left",maxHeight:"80vh",display:"flex",flexDirection:"column"},children:[f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"flex-start",sx:{flexShrink:0},children:[f.jsxs(O.Box,{sx:{textAlign:"left"},children:[f.jsx(O.Typography,{sx:{fontSize:Tn,fontWeight:600,textAlign:"left"},children:r("LABEL_SHORTCUTS_TITLE")}),f.jsx(O.Typography,{sx:{fontSize:Tn,color:n.palette.primary.notifyTextColor,mt:"0.3rem",textAlign:"left"},children:r("LABEL_SHORTCUTS_SUBTITLE")})]}),f.jsx(O.Box,{role:"button",tabIndex:0,"aria-label":r("Close"),onClick:d,onKeyDown:wt(d),sx:{cursor:"pointer",outline:"none",...xt()},children:f.jsx(Ct,{url:Te.Cross,style:{width:"1.6rem",height:"1.6rem"}})})]}),f.jsx(O.Box,{sx:{borderTop:`0.1rem solid ${n.palette.primary.notifyBorderColor}`,my:"1rem",flexShrink:0}}),f.jsx(O.Box,{sx:{display:"grid",gridTemplateColumns:`repeat(${eE}, 1fr)`,gap:"1.5rem",overflowY:"auto",minHeight:0},children:e.map(m=>f.jsxs(O.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:"1rem",children:[f.jsxs(O.Stack,{direction:"row",alignItems:"center",gap:"0.5rem",sx:{minWidth:0},children:[m.icon&&f.jsx(Ct,{url:m.icon,style:{width:Tn,height:Tn,flexShrink:0}}),f.jsx(O.Typography,{sx:{fontSize:Tn,color:n.palette.primary.notifyTextColor,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:r(m.label)})]}),f.jsx(Ll,{modifiers:m.modifiers,keyName:m.key,theme:n})]},`${m.label}-${m.key}`))})]})}):f.jsx(O.Portal,{children:f.jsx(O.Box,{sx:{position:"fixed",right:"1.5rem",bottom:"5rem",zIndex:5},children:f.jsx(jn,{onClick:h,label:r("LABEL_SHORTCUT"),"aria-label":r("LABEL_SHORTCUTS_HELP"),styles:{isAnimate:!0,icon:Te.Shortcut,variant:"outlined",colorType:"empty",width:"3.2rem",height:"3.2rem",borderRadius:"1.2rem"}})})})};t1.propTypes={shortcuts:y.arrayOf(y.shape({icon:y.any,label:y.string,key:y.string,modifiers:y.array})),variant:y.oneOf(["trigger","overlay"])};function n1(e){return"children"in e&&Array.isArray(e.children)}const lE=120,cE=40,uE=1/0;function r1(e,t,n){return Math.max(t,Math.min(n,e))}function dE(e,t){switch(t.type){case"RESIZE":{const n=e.colMap[t.id];if(!n)return e;const r=r1(n.width+t.delta,n.minWidth,n.maxWidth);return r===n.width?e:{...e,colMap:{...e.colMap,[t.id]:{...n,width:r}}}}case"SET_WIDTH":{const n=e.colMap[t.id];if(!n)return e;const r=r1(t.width,n.minWidth,n.maxWidth);return{...e,colMap:{...e.colMap,[t.id]:{...n,width:r}}}}case"PIN":{const n=e.colMap[t.id];return!n||n.pinned===t.side?e:{...e,colMap:{...e.colMap,[t.id]:{...n,pinned:t.side}}}}case"TOGGLE_HIDDEN":{const n=e.colMap[t.id];return n?{...e,colMap:{...e.colMap,[t.id]:{...n,hidden:!n.hidden}}}:e}case"SHOW_ALL":{const n={...e.colMap};for(const r of Object.keys(n)){const o=n[r];o?.hidden&&(n[r]={...o,hidden:!1})}return{...e,colMap:n}}case"MOVE_BEFORE":{const{sourceId:n,targetId:r}=t,o=[...e.colOrder],s=o.indexOf(n),i=o.indexOf(r);if(s===-1||i===-1||s===i)return e;o.splice(s,1);const a=o.indexOf(r);return o.splice(a,0,n),{...e,colOrder:o}}case"MOVE_LAST":{const n=[...e.colOrder],r=n.indexOf(t.sourceId);return r===-1||r===n.length-1?e:(n.splice(r,1),n.push(t.sourceId),{...e,colOrder:n})}case"TOGGLE_SORT":{const{sort:n}=e;let r="asc";if(n.columnId===t.id)if(n.direction==="asc")r="desc";else return{...e,sort:{columnId:null,direction:"asc"}};return{...e,sort:{columnId:t.id,direction:r}}}case"SET_GROUPING":return{...e,rowGrouping:{groupBy:[...t.columnIds],expandedGroupIds:new Set}};case"TOGGLE_GROUP":{const n=new Set(e.rowGrouping.expandedGroupIds);return n.has(t.groupId)?n.delete(t.groupId):n.add(t.groupId),{...e,rowGrouping:{...e.rowGrouping,expandedGroupIds:n}}}case"EXPAND_ALL_GROUPS":return{...e,rowGrouping:{...e.rowGrouping,expandedGroupIds:new Set(t.groupIds)}};case"COLLAPSE_ALL_GROUPS":return{...e,rowGrouping:{...e.rowGrouping,expandedGroupIds:new Set}};case"CLEAR_GROUPING":return{...e,rowGrouping:{groupBy:[],expandedGroupIds:new Set}};case"RESET":return t.initial;default:return e}}function o1(e){const t=[],n=[];return e.forEach((r,o)=>{n1(r)?(n.push(r),r.children.forEach(s=>{t.push({...s,groupId:r.id,defIndex:o})})):t.push({...r,groupId:null,defIndex:o})}),{leaves:t,groups:n}}function fE(e,t=[]){var n,r,o,s,i;const{leaves:a,groups:l}=o1(e),c={},u=[];for(const d of a)u.push(d.id),c[d.id]={width:(n=d.width)!=null?n:lE,minWidth:(r=d.minWidth)!=null?r:cE,maxWidth:(o=d.maxWidth)!=null?o:uE,pinned:(s=d.pinned)!=null?s:null,hidden:(i=d.hidden)!=null?i:!1};return{internal:{colMap:c,colOrder:u,sort:{columnId:null,direction:"asc"},rowGrouping:{groupBy:[...t],expandedGroupIds:new Set}},leaves:a,groups:l}}function pE(e,t=[]){const{initial:n}=p.useMemo(()=>({initial:fE(e,t).internal}),[]),{leaves:r,groups:o}=p.useMemo(()=>o1(e),[e]),[s,i]=p.useReducer(dE,n),a=p.useMemo(()=>s.colOrder.flatMap(N=>{var U,se,ue,B,E,D;const L=r.find(re=>re.id===N),$=s.colMap[N];return!L||!$?[]:[{id:L.id,label:L.label,field:L.field,accessor:L.accessor,renderCell:L.renderCell,deferRender:L.deferRender,renderHeader:L.renderHeader,cellStyle:L.cellStyle,headerStyle:L.headerStyle,align:(U=L.align)!=null?U:"left",sortable:(se=L.sortable)!=null?se:!0,resizable:(ue=L.resizable)!=null?ue:!0,draggable:(B=L.draggable)!=null?B:!0,hideable:(E=L.hideable)!=null?E:!0,rowGroup:(D=L.rowGroup)!=null?D:typeof L.rowGroupIndex=="number",rowGroupIndex:typeof L.rowGroupIndex=="number"&&Number.isFinite(L.rowGroupIndex)?L.rowGroupIndex:null,rowGroupValueGetter:L.rowGroupValueGetter,groupId:L.groupId,defIndex:L.defIndex,width:$.width,minWidth:$.minWidth,maxWidth:$.maxWidth,pinned:$.pinned,hidden:$.hidden}]}),[s.colOrder,s.colMap,r]),l=p.useMemo(()=>a.filter(N=>!N.hidden),[a]),c=p.useMemo(()=>l.filter(N=>N.pinned==="left"),[l]),u=p.useMemo(()=>l.filter(N=>N.pinned==="right"),[l]),d=p.useMemo(()=>l.filter(N=>!N.pinned),[l]),h=p.useMemo(()=>c.reduce((N,U)=>N+U.width,0),[c]),m=p.useMemo(()=>u.reduce((N,U)=>N+U.width,0),[u]),g=p.useMemo(()=>d.reduce((N,U)=>N+U.width,0),[d]),C=p.useCallback((N,U)=>i({type:"RESIZE",id:N,delta:U}),[]),b=p.useCallback((N,U)=>i({type:"SET_WIDTH",id:N,width:U}),[]),v=p.useCallback((N,U)=>i({type:"PIN",id:N,side:U}),[]),k=p.useCallback(N=>i({type:"TOGGLE_HIDDEN",id:N}),[]),w=p.useCallback(()=>i({type:"SHOW_ALL"}),[]),x=p.useCallback((N,U)=>i({type:"MOVE_BEFORE",sourceId:N,targetId:U}),[]),T=p.useCallback(N=>i({type:"MOVE_LAST",sourceId:N}),[]),M=p.useCallback(N=>i({type:"TOGGLE_SORT",id:N}),[]),A=p.useCallback(N=>i({type:"SET_GROUPING",columnIds:N}),[]),I=p.useCallback(N=>i({type:"TOGGLE_GROUP",groupId:N}),[]),P=p.useCallback(N=>i({type:"EXPAND_ALL_GROUPS",groupIds:N}),[]),R=p.useCallback(()=>i({type:"COLLAPSE_ALL_GROUPS"}),[]),W=p.useCallback(()=>i({type:"CLEAR_GROUPING"}),[]),S=p.useCallback(()=>i({type:"RESET",initial:n}),[n]);return{...{orderedColumns:a,visibleColumns:l,pinnedLeftColumns:c,pinnedRightColumns:u,scrollableColumns:d,pinnedLeftWidth:h,pinnedRightWidth:m,scrollableWidth:g,sortState:s.sort,rowGroupingState:s.rowGrouping,groups:o,hasGroups:o.length>0},...{resizeColumn:C,setColumnWidth:b,pinColumn:v,toggleColumnVisibility:k,showAllColumns:w,moveColumnBefore:x,moveColumnToEnd:T,toggleSort:M,setGroupingColumns:A,toggleGroup:I,expandAllGroups:P,collapseAllGroups:R,clearGrouping:W,resetColumns:S}}}const hE="Empty";function mE(e,t,n){var r;const o=n.get(t);return o?.rowGroupValueGetter?o.rowGroupValueGetter(e):o?.accessor?o.accessor(e):e[(r=o?.field)!=null?r:t]}function gE(e){return e==null||e===""?hE:e}function yE(e,t){return`${encodeURIComponent(e)}=${encodeURIComponent(String(t))}`}function CE(e){return e.map((t,n)=>({type:"leaf",id:`leaf:${n}`,row:t,rowIndex:n,depth:0}))}function bE(e){return e.reduce((t,n)=>t+(n.type==="group"?n.leafRowCount:1),0)}function s1(e,t,n,r,o,s){const i=t[n];if(!i)return e.map(c=>({...c,depth:n}));const a=new Map;for(const c of e){const u=gE(mE(c.row,i,r)),d=String(u),h=a.get(d);h?h.rows.push(c):a.set(d,{value:u,rows:[c]})}const l=[];for(const c of a.values()){const u=[...s,yE(i,c.value)],d=`group:${u.join("/")}`,h=s1(c.rows,t,n+1,r,o,u);l.push({type:"group",id:d,path:u,groupingColumnId:i,groupingValue:c.value,depth:n,children:h,leafRowCount:bE(h),expanded:o.has(d)})}return l}function vE(e,t,n,r){const o=t.filter(Boolean),s=CE(e);if(o.length===0)return s;const i=new Map(n.map(a=>[a.id,a]));return s1(s,o,0,i,r,[])}function i1(e,t,n){const r=t.rowGroupIndex,o=typeof r=="number"&&Number.isFinite(r);!t.rowGroup&&!o||e.push({id:t.id,order:o?r:Number.MAX_SAFE_INTEGER,defOrder:n})}function xE(e){const t=[];let n=0;for(const o of e)if(n1(o))for(const s of o.children)i1(t,s,n),n+=1;else i1(t,o,n),n+=1;const r=new Set;return t.sort((o,s)=>o.order-s.order||o.defOrder-s.defOrder).flatMap(o=>r.has(o.id)?[]:(r.add(o.id),[o.id]))}function wE(e){const t=[],n=r=>{for(const o of r)t.push(o),o.type==="group"&&o.expanded&&n(o.children)};return n(e),t}const a1=16,l1=1e3;function SE(e,t,n,r){if(e===0||r<=0)return{startIndex:0,endIndex:-1,totalHeight:e*t,offsetY:0};const o=e*t,s=Math.floor(n/t),i=Math.max(0,s-a1),a=Math.ceil(r/t),l=Math.min(e-1,s+a+a1);return{startIndex:i,endIndex:l,totalHeight:o,offsetY:i*t}}function kE(e,t,n,r){var o,s,i;const a=e.length;if(a===0)return{startIndex:0,endIndex:-1};const l=Math.max(0,n-l1),c=n+r+l1;let u=0,d=a-1;for(;u<d;){const g=u+d>>>1;((o=e[g])!=null?o:0)+((s=t[g])!=null?s:0)<=l?u=g+1:d=g}const h=u;let m=h;for(;m<a-1&&((i=e[m+1])!=null?i:0)<c;)m++;return{startIndex:h,endIndex:Math.min(a-1,m)}}function TE(e){var t,n;const r=new Array(e.length);let o=0;for(let s=0;s<e.length;s++)r[s]=o,o+=(n=(t=e[s])==null?void 0:t.width)!=null?n:0;return r}function EE({onResize:e,onResizeEnd:t,getCurrentWidth:n}){const r=p.useRef(0),o=p.useRef("");return{startResize:p.useCallback((i,a)=>{i.preventDefault(),i.stopPropagation(),r.current=i.clientX,o.current=a;const l=u=>{const d=u.clientX-r.current;r.current=u.clientX,e(o.current,d)},c=()=>{window.removeEventListener("mousemove",l),window.removeEventListener("mouseup",c),document.body.style.cursor="",document.body.style.userSelect="",t?.(o.current,n(o.current))};document.body.style.cursor="col-resize",document.body.style.userSelect="none",window.addEventListener("mousemove",l),window.addEventListener("mouseup",c)},[e,t,n])}}const c1=4,u1={draggingId:null,overTargetId:null,insertBefore:!0};function ME({onMoveColumnBefore:e,onMoveColumnToEnd:t,columns:n,getColumnViewportBounds:r}){const[o,s]=p.useState(u1),i=p.useRef(n);i.current=n;const a=p.useRef(r);a.current=r;const l=p.useRef(null),c=p.useRef(!1),u=p.useRef(0),d=p.useCallback(b=>{l.current=b},[]);p.useLayoutEffect(()=>{o.draggingId&&l.current&&(l.current.style.left=`${u.current}px`)},[o.draggingId]);const h=p.useCallback(b=>{var v,k;const w=i.current,x=w.findIndex(R=>R.id===b);if(x===-1)return{ids:new Set([b]),afterId:null};const T=w[x];let M=x,A=x;for(let R=x-1;R>=0;R--){const W=w[R];if(W.pinned!==T.pinned||W.groupId!==T.groupId||!W.draggable)break;M=R}for(let R=x+1;R<w.length;R++){const W=w[R];if(W.pinned!==T.pinned||W.groupId!==T.groupId||!W.draggable)break;A=R}const I=new Set(w.slice(M,A+1).map(R=>R.id)),P=(k=(v=w[A+1])==null?void 0:v.id)!=null?k:null;return{ids:I,afterId:P}},[]),m=p.useCallback((b,v)=>{var k,w,x;const{ids:T,afterId:M}=h(v),A=a.current,I=i.current,P=[];for(const j of T){if(j===v)continue;const _=A(j);if(!_)continue;const N=I.find(U=>U.id===j);P.push({id:j,left:_.left,right:_.right,mid:(_.left+_.right)/2,draggable:(k=N?.draggable)!=null?k:!1})}P.sort((j,_)=>j.left-_.left);let R=null;for(const j of P){if(b<=j.mid)return j.draggable?{id:j.id,afterId:M,highlightId:j.id,insertBefore:!0}:{id:j.id,afterId:M,highlightId:(w=R?.id)!=null?w:null,insertBefore:!1};j.draggable&&(R=j)}let W=null;for(let j=P.length-1;j>=0;j--)if(P[j].draggable){W=P[j];break}return P[P.length-1]?{id:null,afterId:M,highlightId:(x=W?.id)!=null?x:null,insertBefore:!1}:{id:null,afterId:M,highlightId:null,insertBefore:!0}},[h]),g=p.useCallback(b=>({onPointerDown:v=>{if(v.button!==0)return;v.preventDefault();const k=v.clientX,w=v.clientY;let x=!1,T=0,M=0,A=null,I=null,P=!0;const R=()=>{if(!A)return;const j=A;A=null;const{highlightId:_,insertBefore:N}=m(j.clientX,b);l.current&&(l.current.style.left=`${j.clientX-T}px`),(_!==I||N!==P)&&(I=_,P=N,s(U=>U.overTargetId===_&&U.insertBefore===N?U:{...U,overTargetId:_,insertBefore:N}))},W=j=>{if(!x){if(Math.abs(j.clientX-k)<c1&&Math.abs(j.clientY-w)<c1)return;x=!0;const _=a.current(b);_&&(T=k-_.left),u.current=k-T;const{highlightId:N,insertBefore:U}=m(k,b);I=N,P=U,s({draggingId:b,overTargetId:N,insertBefore:U}),document.body.style.cursor="grabbing",document.body.style.userSelect="none";return}A=j,M||(M=requestAnimationFrame(()=>{M=0,R()}))},S=j=>{if(document.removeEventListener("pointermove",W),document.removeEventListener("pointerup",S),M&&cancelAnimationFrame(M),document.body.style.cursor="",document.body.style.userSelect="",x){const{id:_,afterId:N}=m(j.clientX,b);_!==null&&_!==b?e(b,_):_===null&&(N!==null?e(b,N):t?.(b)),c.current=!0,setTimeout(()=>{c.current=!1},0)}s(u1)};document.addEventListener("pointermove",W),document.addEventListener("pointerup",S)}}),[e,t,m]),C=p.useCallback(()=>c.current?(c.current=!1,!0):!1,[]);return{getDragHandlers:g,dragState:o,registerGhost:d,consumeDragEnd:C}}function Wn(e,t,n){return Math.max(t,Math.min(n,e))}function OE(e){return e instanceof HTMLElement?!!e.closest('input, textarea, select, button, a[href], [contenteditable="true"], [role="button"], [role="textbox"], [role="checkbox"], [role="combobox"], [role="menuitem"], [role="option"], [role="radio"], [role="searchbox"], [role="slider"], [role="switch"], [role="spinbutton"], [role="tab"]'):!1}function DE(e,t){return!e||!t||e.kind!==t.kind?!1:e.kind==="cell"&&t.kind==="cell"?e.rowIndex===t.rowIndex&&e.colIndex===t.colIndex:e.kind==="header"&&t.kind==="header"?e.colIndex===t.colIndex:e.kind==="groupHeader"&&t.kind==="groupHeader"?e.groupId===t.groupId:!1}function AE(e,t){var n,r;const o=Array.from(e.querySelectorAll(t));return(r=(n=o.find(s=>s.getAttribute("aria-hidden")!=="true"))!=null?n:o[0])!=null?r:null}function d1(e,t,n){return!e||t<=0||n<=0?null:{rowIndex:Wn(e.rowIndex,0,t-1),colIndex:Wn(e.colIndex,0,n-1)}}function jl(e,t,n){if(!e||n<=0)return null;if(e.kind==="cell"){const r=d1(e,t,n);return r?{kind:"cell",...r}:null}return e.kind==="header"?{kind:"header",colIndex:Wn(e.colIndex,0,n-1)}:{kind:"groupHeader",groupId:e.groupId,colStartIndex:Wn(e.colStartIndex,0,n-1),colEndIndex:Wn(e.colEndIndex,0,n-1)}}function IE(e,t){return t.target}function PE(e){return e.kind==="cell"?`cell:${e.rowIndex}:${e.colIndex}`:e.kind==="header"?`header:${e.colIndex}`:`group:${e.groupId}`}function LE({rowCount:e,colCount:t,visibleRowCount:n=20,headerTargets:r=[],getRowGroup:o,onFocusCell:s,onFocusHeader:i,onSelectRow:a,onToggleRow:l,onSelectRange:c,onSelectAll:u,onActivateCell:d,onToggleGroup:h,onToggleHeaderSort:m,onDeleteRows:g,onInsertRow:C,onResizeColumn:b,onReorderColumn:v}){const[k,w]=p.useReducer(IE,null),x=jl(k,e,t),T=x?.kind==="cell"?{rowIndex:x.rowIndex,colIndex:x.colIndex}:null,M=p.useMemo(()=>{const B=new Set,E=[];for(const D of r){const L=jl(D,e,t);if(!L||L.kind==="cell")continue;const $=PE(L);B.has($)||(B.add($),E.push(L))}if(E.length===0)for(let D=0;D<t;D++)E.push({kind:"header",colIndex:D});return E},[t,r,e]),A=p.useMemo(()=>M.filter(B=>B.kind==="header"),[M]),I=p.useCallback(B=>{const E=jl(B,e,t);w({type:"SET",target:E}),E?.kind==="cell"?s?.(E):E?.kind==="header"?i?.(E.colIndex):E?.kind==="groupHeader"&&i?.(E.colStartIndex)},[e,t,s,i]),P=p.useCallback(B=>{I({kind:"cell",...B})},[I]),R=p.useCallback(B=>{I(B?{kind:"cell",...B}:null)},[I]),W=p.useCallback((B,E,D,L)=>{const $=d1({rowIndex:L.rowIndex+B,colIndex:L.colIndex+E},e,t);$&&(P($),D&&B!==0&&c?.(L.rowIndex,$.rowIndex))},[e,t,P,c]),S=p.useCallback(B=>{I({kind:"header",colIndex:B})},[I]),j=p.useCallback((B,E)=>{const D=A.findIndex(Y=>Y.colIndex===B),L=Wn(B+E,0,t-1),$=A[Wn(D<0?L:D+E,0,A.length-1)];I($??{kind:"header",colIndex:L})},[t,A,I]),_=p.useCallback((B,E)=>{const D=M.findIndex($=>DE($,B)),L=M[Wn(D+E,0,M.length-1)];I(L??B)},[M,I]),N=p.useCallback((B,E)=>{var D;const L=B.ctrlKey||B.metaKey,$=(D=o?.(E.rowIndex))!=null?D:null;if(L&&B.key.toLowerCase()==="a"){B.preventDefault(),u?.();return}if(B.altKey&&(B.key==="ArrowLeft"||B.key==="ArrowRight")){B.preventDefault(),b?.(E.colIndex,B.key==="ArrowRight"?10:-10);return}if(L&&B.shiftKey&&(B.key==="ArrowLeft"||B.key==="ArrowRight")){B.preventDefault();const Y=B.key==="ArrowRight"?1:-1,re=v?.(E.colIndex,Y);P({rowIndex:E.rowIndex,colIndex:typeof re=="number"?re:Wn(E.colIndex+Y,0,t-1)});return}switch(B.key){case"ArrowDown":B.preventDefault(),W(1,0,B.shiftKey,E);break;case"ArrowUp":B.preventDefault(),E.rowIndex===0?S(E.colIndex):W(-1,0,B.shiftKey,E);break;case"ArrowRight":B.preventDefault(),$&&!$.expanded?h?.($.id):$||P({rowIndex:E.rowIndex,colIndex:L?t-1:E.colIndex+1});break;case"ArrowLeft":B.preventDefault(),$&&$.expanded?h?.($.id):$||P({rowIndex:E.rowIndex,colIndex:L?0:E.colIndex-1});break;case"Home":B.preventDefault(),P({rowIndex:L?0:E.rowIndex,colIndex:0});break;case"End":B.preventDefault(),P({rowIndex:L?e-1:E.rowIndex,colIndex:t-1});break;case"PageDown":B.preventDefault(),P({rowIndex:E.rowIndex+n,colIndex:E.colIndex});break;case"PageUp":B.preventDefault(),P({rowIndex:E.rowIndex-n,colIndex:E.colIndex});break;case" ":B.preventDefault(),L?l?.(E.rowIndex):a?.(E.rowIndex,!1);break;case"Enter":B.preventDefault(),$?h?.($.id):d?.(E);break;case"F2":B.preventDefault(),d?.(E);break;case"Delete":B.preventDefault(),g?.();break;case"Insert":B.preventDefault(),C?.();break}},[t,o,W,P,S,d,g,C,v,b,u,a,h,l,e,n]),U=p.useCallback((B,E)=>{const D=B.ctrlKey||B.metaKey;if(B.altKey&&(B.key==="ArrowLeft"||B.key==="ArrowRight")){B.preventDefault(),b?.(E.colIndex,B.key==="ArrowRight"?10:-10);return}if(D&&B.shiftKey&&(B.key==="ArrowLeft"||B.key==="ArrowRight")){B.preventDefault();const L=B.key==="ArrowRight"?1:-1,$=v?.(E.colIndex,L);S(typeof $=="number"?$:Wn(E.colIndex+L,0,t-1));return}switch(B.key){case"ArrowUp":B.preventDefault();break;case"ArrowLeft":B.preventDefault(),j(E.colIndex,-1);break;case"ArrowRight":B.preventDefault(),j(E.colIndex,1);break;case"ArrowDown":B.preventDefault(),P({rowIndex:0,colIndex:E.colIndex});break;case"Home":B.preventDefault(),S(0);break;case"End":B.preventDefault(),S(t-1);break;case"Enter":B.preventDefault(),m?.(E.colIndex,B.shiftKey);break}},[t,P,j,S,v,b,m]),se=p.useCallback((B,E)=>{var D,L;switch(B.key){case"ArrowLeft":B.preventDefault(),_(E,-1);break;case"ArrowRight":B.preventDefault(),_(E,1);break;case"ArrowDown":B.preventDefault(),S(E.colStartIndex);break;case"Home":B.preventDefault(),I((D=M[0])!=null?D:E);break;case"End":B.preventDefault(),I((L=M[M.length-1])!=null?L:E);break;case"Enter":B.preventDefault();break}},[_,S,M,I]),ue=p.useCallback(B=>{var E,D;if(e===0||t===0)return;const L=B.target instanceof HTMLElement?B.target.closest("[data-grid-header-cell]"):null,$=L?.dataset.gridHeaderCell?Number(L.dataset.gridHeaderCell):null;if(B.key==="Escape"&&$!=null){B.preventDefault(),S($);return}const Y=B.target instanceof HTMLElement?B.target.closest("[data-grid-group-header]"):null;if(B.key==="Escape"&&Y?.dataset.gridGroupHeader){B.preventDefault(),I({kind:"groupHeader",groupId:Y.dataset.gridGroupHeader,colStartIndex:Number((E=Y.dataset.colStartIndex)!=null?E:0),colEndIndex:Number((D=Y.dataset.colEndIndex)!=null?D:0)});return}if(OE(B.target))return;const re=x??{kind:"cell",rowIndex:0,colIndex:0};re.kind==="cell"?N(B,re):re.kind==="header"?U(B,re):se(B,re)},[t,N,se,U,S,x,e,I]);return{focusedCell:T,focusedTarget:x,setFocusedCell:R,setFocusedTarget:I,moveFocus:P,handleKeyDown:ue,isHeaderFocused:B=>x?.kind==="header"&&x.colIndex===B,isGroupHeaderFocused:B=>x?.kind==="groupHeader"&&x.groupId===B}}const f1=p.createContext(null),jE=f1.Provider;function Lo(){const e=p.useContext(f1);if(!e)throw new Error("[LatticeGrid] useGridContext must be inside a <LatticeGrid>.");return e}const Bs={"--vg-font":"'DM Sans', 'Segoe UI', system-ui, sans-serif","--vg-font-mono":"'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace","--vg-font-size":"12.5px","--vg-line-height":"1.45","--vg-row-height":"36px","--vg-header-height":"38px","--vg-group-height":"28px","--vg-radius":"7px","--vg-radius-sm":"4px","--vg-radius-xs":"3px","--vg-transition":"0.12s ease","--vg-z-pinned":"3","--vg-z-header":"4","--vg-z-panel":"100","--vg-scrollbar-width":"6px"},jo={light:{...Bs,"--vg-bg":"#ffffff","--vg-bg-header":"#f7f8fa","--vg-bg-group":"#f0f2f6","--vg-bg-row-alt":"#fafbfc","--vg-bg-row-hover":"#f0f5ff","--vg-bg-row-selected":"#e8efff","--vg-bg-pinned":"#ffffff","--vg-bg-frozen":"#eff6ff","--vg-bg-toolbar":"#ffffff","--vg-bg-panel":"#ffffff","--vg-bg-btn":"#f3f4f6","--vg-bg-btn-hover":"#e9eaec","--vg-bg-btn-active":"#dbeafe","--vg-bg-tag":"#f0f2f6","--vg-bg-input":"#ffffff","--vg-text":"#111827","--vg-text-dim":"#6b7280","--vg-text-header":"#374151","--vg-text-group":"#1e2939","--vg-text-placeholder":"#9ca3af","--vg-border":"#e5e7eb","--vg-border-strong":"#d1d5db","--vg-border-focus":"#2563eb","--vg-accent":"#2563eb","--vg-accent-hover":"#1d4ed8","--vg-accent-bg":"#dbeafe","--vg-accent-text":"#1d4ed8","--vg-accent-fg":"#ffffff","--vg-shadow-pin":"4px 0 12px rgba(0,0,0,0.06)","--vg-shadow-panel":"0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06)","--vg-scrollbar-track":"#f1f3f5","--vg-scrollbar-thumb":"#d1d5db","--vg-sort-icon":"#9ca3af","--vg-sort-active":"#2563eb","--vg-resize-hover":"#2563eb","--vg-drag-indicator":"#2563eb"},dark:{...Bs,"--vg-bg":"#0d1117","--vg-bg-header":"#161c28","--vg-bg-group":"#1a2235","--vg-bg-row-alt":"#111620","--vg-bg-row-hover":"#1c2438","--vg-bg-row-selected":"#1a3558","--vg-bg-pinned":"#0d1117","--vg-bg-frozen":"#0f2040","--vg-bg-toolbar":"#161c28","--vg-bg-panel":"#161c28","--vg-bg-btn":"#1c2438","--vg-bg-btn-hover":"#242e48","--vg-bg-btn-active":"#1e3558","--vg-bg-tag":"#1c2438","--vg-bg-input":"#1c2438","--vg-text":"#e2e8f4","--vg-text-dim":"#8896b4","--vg-text-header":"#b4c0d8","--vg-text-group":"#d0daf0","--vg-text-placeholder":"#4a5670","--vg-border":"#1e2840","--vg-border-strong":"#283550","--vg-border-focus":"#3b82f6","--vg-accent":"#3b82f6","--vg-accent-hover":"#60a5fa","--vg-accent-bg":"#1e3558","--vg-accent-text":"#93c5fd","--vg-accent-fg":"#ffffff","--vg-shadow-pin":"4px 0 16px rgba(0,0,0,0.4)","--vg-shadow-panel":"0 8px 32px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3)","--vg-scrollbar-track":"#161c28","--vg-scrollbar-thumb":"#283550","--vg-sort-icon":"#3a4a68","--vg-sort-active":"#3b82f6","--vg-resize-hover":"#3b82f6","--vg-drag-indicator":"#3b82f6"},ocean:{...Bs,"--vg-bg":"#081425","--vg-bg-header":"#0c1e38","--vg-bg-group":"#0f2444","--vg-bg-row-alt":"#0a1830","--vg-bg-row-hover":"#112440","--vg-bg-row-selected":"#0e2c58","--vg-bg-pinned":"#081425","--vg-bg-frozen":"#051830","--vg-bg-toolbar":"#0c1e38","--vg-bg-panel":"#0c1e38","--vg-bg-btn":"#0f2444","--vg-bg-btn-hover":"#163058","--vg-bg-btn-active":"#0e2c58","--vg-bg-tag":"#0f2444","--vg-bg-input":"#0f2444","--vg-text":"#b8d4f8","--vg-text-dim":"#3c6080","--vg-text-header":"#6aabf0","--vg-text-group":"#9ccaf0","--vg-text-placeholder":"#2a4860","--vg-border":"#0f2444","--vg-border-strong":"#163058","--vg-border-focus":"#0e9eff","--vg-accent":"#0e9eff","--vg-accent-hover":"#40b6ff","--vg-accent-bg":"#0e2c58","--vg-accent-text":"#7dd0ff","--vg-accent-fg":"#ffffff","--vg-shadow-pin":"4px 0 16px rgba(0,0,0,0.5)","--vg-shadow-panel":"0 8px 40px rgba(0,10,30,0.7)","--vg-scrollbar-track":"#0c1e38","--vg-scrollbar-thumb":"#163058","--vg-sort-icon":"#1a4070","--vg-sort-active":"#0e9eff","--vg-resize-hover":"#0e9eff","--vg-drag-indicator":"#0e9eff"},forest:{...Bs,"--vg-bg":"#0a140c","--vg-bg-header":"#0f1e12","--vg-bg-group":"#132418","--vg-bg-row-alt":"#0c1810","--vg-bg-row-hover":"#162c1c","--vg-bg-row-selected":"#143a1a","--vg-bg-pinned":"#0a140c","--vg-bg-frozen":"#0a1f0a","--vg-bg-toolbar":"#0f1e12","--vg-bg-panel":"#0f1e12","--vg-bg-btn":"#132418","--vg-bg-btn-hover":"#1e3828","--vg-bg-btn-active":"#143a1a","--vg-bg-tag":"#132418","--vg-bg-input":"#132418","--vg-text":"#b8d8a8","--vg-text-dim":"#406840","--vg-text-header":"#72b860","--vg-text-group":"#98c888","--vg-text-placeholder":"#284828","--vg-border":"#132418","--vg-border-strong":"#1e3828","--vg-border-focus":"#4ade80","--vg-accent":"#4ade80","--vg-accent-hover":"#86efac","--vg-accent-bg":"#143a1a","--vg-accent-text":"#86efac","--vg-accent-fg":"#0a140c","--vg-shadow-pin":"4px 0 16px rgba(0,0,0,0.5)","--vg-shadow-panel":"0 8px 40px rgba(0,10,0,0.7)","--vg-scrollbar-track":"#0f1e12","--vg-scrollbar-thumb":"#1e3828","--vg-sort-icon":"#204020","--vg-sort-active":"#4ade80","--vg-resize-hover":"#4ade80","--vg-drag-indicator":"#4ade80"},sunset:{...Bs,"--vg-bg":"#160a04","--vg-bg-header":"#221008","--vg-bg-group":"#2e160c","--vg-bg-row-alt":"#1c0e06","--vg-bg-row-hover":"#2e1a0c","--vg-bg-row-selected":"#3a1a08","--vg-bg-pinned":"#160a04","--vg-bg-frozen":"#1f0d04","--vg-bg-toolbar":"#221008","--vg-bg-panel":"#221008","--vg-bg-btn":"#2e160c","--vg-bg-btn-hover":"#3e2018","--vg-bg-btn-active":"#3a1a08","--vg-bg-tag":"#2e160c","--vg-bg-input":"#2e160c","--vg-text":"#f0c8a0","--vg-text-dim":"#805030","--vg-text-header":"#e09060","--vg-text-group":"#f0a870","--vg-text-placeholder":"#503020","--vg-border":"#2e160c","--vg-border-strong":"#3e2018","--vg-border-focus":"#fb923c","--vg-accent":"#fb923c","--vg-accent-hover":"#fdba74","--vg-accent-bg":"#3a1a08","--vg-accent-text":"#fdba74","--vg-accent-fg":"#160a04","--vg-shadow-pin":"4px 0 16px rgba(0,0,0,0.5)","--vg-shadow-panel":"0 8px 40px rgba(20,0,0,0.7)","--vg-scrollbar-track":"#221008","--vg-scrollbar-thumb":"#3e2018","--vg-sort-icon":"#50280c","--vg-sort-active":"#fb923c","--vg-resize-hover":"#fb923c","--vg-drag-indicator":"#fb923c"}};function RE(e){var t;return!e||e==="light"?jo.light:typeof e=="string"?(t=jo[e])!=null?t:jo.light:{...jo.light,...e}}function oI(e){return e}function _E({direction:e,active:t}){return f.jsxs("span",{style:{display:"inline-flex",flexDirection:"column",gap:1,marginLeft:3,opacity:t?1:.3,flexShrink:0,color:t?"var(--vg-sort-active)":"var(--vg-sort-icon)",transition:"opacity var(--vg-transition)"},children:[f.jsx("svg",{width:"7",height:"5",viewBox:"0 0 7 5",children:f.jsx("path",{d:"M3.5 0L7 5H0z",fill:"currentColor",opacity:t&&e==="asc"?1:.35})}),f.jsx("svg",{width:"7",height:"5",viewBox:"0 0 7 5",children:f.jsx("path",{d:"M3.5 5L0 0h7z",fill:"currentColor",opacity:t&&e==="desc"?1:.35})})]})}function BE(){return f.jsx("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",children:f.jsx("path",{d:"M1 1l6 6M7 1L1 7",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}const Hr=p.memo(function({column:t,colIndex:n,style:r,showResizeHandle:o=!0,isFirst:s=!1,isLast:i=!1,active:a=!1,focusable:l=a,onFocusHeader:c}){var u,d;const{engine:h,dragHandlers:m,startResize:g,features:C,icons:b,texts:v,styles:k,classNames:w}=Lo(),{sortState:x,toggleSort:T,toggleColumnVisibility:M}=h,{getDragHandlers:A,dragState:I,consumeDragEnd:P}=m,[R,W]=p.useState(!1),S=x.columnId===t.id,j=I.draggingId===t.id,_=I.overTargetId===t.id,N=I.insertBefore,U=t.sortable&&C.sort,se=t.resizable&&C.resize,ue=t.draggable&&C.reorder,B=t.hideable&&C.columnHide,E=ue?A(t.id):{},D=X=>{P()||X.target.closest("[data-vg-hide]")||U&&T(t.id)},L=X=>{X.stopPropagation(),M(t.id)},$=X=>{X.stopPropagation(),X.preventDefault(),g(X,t.id)},Y=_?"var(--vg-accent-bg)":R?"var(--vg-bg-row-hover)":"var(--vg-bg-header)",re=s?"1px solid var(--vg-border)":void 0,he="1px solid var(--vg-border)",oe=_?N?"inset 3px 0 0 var(--vg-accent)":"inset -3px 0 0 var(--vg-accent)":void 0;return f.jsxs("div",{role:"columnheader","data-grid-header-cell":n,tabIndex:l?0:-1,"aria-sort":S?x.direction==="asc"?"ascending":"descending":"none",className:(u=w.headerCell)!=null?u:void 0,...E,onClick:D,onFocus:X=>{X.target===X.currentTarget&&c?.(n)},onMouseEnter:()=>W(!0),onMouseLeave:()=>W(!1),style:{...r,position:"absolute",display:"flex",alignItems:"center",justifyContent:t.align==="center"?"center":t.align==="right"?"flex-end":"flex-start",padding:"0 8px",fontWeight:600,fontSize:"var(--vg-font-size)",color:"var(--vg-text-header)",background:Y,borderLeft:re,borderRight:he,borderBottom:"1px solid var(--vg-border)",boxShadow:oe,cursor:U?"pointer":ue?"grab":"default",userSelect:"none",opacity:j?.45:1,boxSizing:"border-box",overflow:"visible",whiteSpace:"nowrap",transition:"background var(--vg-transition)",outline:a?"2px solid var(--vg-accent)":"none",outlineOffset:-2,...t.headerStyle,...k.headerCell,...t.groupId?k.groupHeaderCell:{}},children:[f.jsx("span",{style:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",textAlign:t.align},children:t.renderHeader?t.renderHeader(t,h):t.label}),U&&(()=>{if(S){const X=x.direction==="asc"?b.sortAsc:b.sortDesc;if(X)return f.jsx("span",{style:{marginLeft:3,flexShrink:0},children:X})}else if(b.sortNone)return f.jsx("span",{style:{marginLeft:3,flexShrink:0,opacity:.3},children:b.sortNone});return f.jsx(_E,{direction:x.direction,active:S})})(),B&&f.jsx("span",{"data-vg-hide":"",role:"button","aria-label":v.hideColumn,title:v.hideColumn,onClick:L,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:14,height:14,borderRadius:3,marginLeft:3,flexShrink:0,cursor:"pointer",opacity:R?.7:0,pointerEvents:R?"auto":"none",background:"transparent",color:"var(--vg-text-dim)",transition:"opacity 0.12s",userSelect:"none"},onMouseEnter:X=>{X.currentTarget.style.opacity="1",X.currentTarget.style.background="var(--vg-border-strong)"},onMouseLeave:X=>{X.currentTarget.style.opacity=R?"0.7":"0",X.currentTarget.style.background="transparent"},children:(d=b.hideColumn)!=null?d:f.jsx(BE,{})}),o&&se&&f.jsx("div",{"aria-hidden":"true","data-resize-handle":"",onPointerDown:X=>X.stopPropagation(),onMouseDown:$,onClick:X=>X.stopPropagation(),style:{position:"absolute",right:-4,top:0,width:8,height:"100%",borderRadius:2,cursor:"col-resize",background:"transparent",zIndex:3,transition:"background var(--vg-transition)"},onMouseEnter:X=>X.currentTarget.style.background="var(--vg-resize-hover)",onMouseLeave:X=>X.currentTarget.style.background="transparent"})]})});if(typeof document<"u"){const e="vg-shimmer-keyframes";if(!document.getElementById(e)){const t=document.createElement("style");t.id=e,t.textContent="@keyframes vg-shimmer{from{background-position:200% 0}to{background-position:-200% 0}}",document.head.appendChild(t)}}function NE(e,t){return e.column===t.column&&e.row===t.row&&e.rowIndex===t.rowIndex&&e.colIndex===t.colIndex&&e.pinned===t.pinned&&e.isScrolling===t.isScrolling&&e.active===t.active&&e.focusable===t.focusable&&e.selected===t.selected&&e.valueOverride===t.valueOverride&&e.indent===t.indent&&e.ariaHidden===t.ariaHidden&&e.style.left===t.style.left&&e.style.top===t.style.top&&e.style.width===t.style.width&&e.style.height===t.style.height&&e.style.background===t.style.background&&e.style.zIndex===t.style.zIndex}function $E(){return f.jsx("div",{style:{width:"60%",height:10,borderRadius:4,background:"linear-gradient(90deg, var(--vg-border) 25%, var(--vg-bg-row-hover) 50%, var(--vg-border) 75%)",backgroundSize:"200% 100%",animation:"vg-shimmer 1.2s infinite linear"}})}const T0=p.memo(function({column:t,row:n,rowIndex:r,colIndex:o,style:s,pinned:i=!1,isScrolling:a=!1,loadingCell:l,active:c=!1,focusable:u=c,selected:d=!1,valueOverride:h,indent:m=0,onFocusCell:g,onActivateCell:C,ariaHidden:b=!1}){var v,k,w,x;const{styles:T,classNames:M}=Lo();if(a&&t.deferRender&&t.renderCell)return f.jsx("div",{role:b?void 0:"gridcell","aria-hidden":b||void 0,"aria-colindex":o+1,"aria-selected":d,tabIndex:!b&&u?0:-1,"data-grid-cell":b?void 0:`${r}:${o}`,onFocus:se=>{se.target===se.currentTarget&&g?.(r,o)},style:{...s,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 10px",paddingLeft:10+m,boxSizing:"border-box",overflow:"hidden",outline:c?"2px solid var(--vg-accent)":"none",outlineOffset:-2},children:l??f.jsx($E,{})});const A=h??(t.accessor?t.accessor(n):n[(v=t.field)!=null?v:t.id]),I=t.renderCell?t.renderCell(A,n):A??"—",P=t.align==="center"?"center":t.align==="right"?"flex-end":"flex-start",R=i?T.pinnedCell:T.cell,{background:W,backgroundColor:S,...j}=R??{},{background:_,backgroundColor:N,...U}=(k=t.cellStyle)!=null?k:{};return f.jsx("div",{role:b?void 0:"gridcell","aria-hidden":b||void 0,"aria-colindex":o+1,"aria-selected":d,tabIndex:!b&&u?0:-1,"data-grid-cell":b?void 0:`${r}:${o}`,className:[M.cell,i?M.pinnedCell:void 0].filter(Boolean).join(" ")||void 0,onFocus:se=>{se.target===se.currentTarget&&g?.(r,o)},onClick:se=>{g?.(r,o),se.currentTarget.focus({preventScroll:!0})},onDoubleClick:()=>C?.(r,o),style:{...s,position:"absolute",display:"flex",alignItems:"center",justifyContent:P,padding:"0 10px",paddingLeft:10+m,fontSize:"var(--vg-font-size)",color:"var(--vg-text)",borderRight:"1px solid var(--vg-border)",boxSizing:"border-box",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",outline:c?"2px solid var(--vg-accent)":"none",outlineOffset:-2,zIndex:c?i?Math.max(Number((w=s.zIndex)!=null?w:0),6):Math.min(Math.max(Number((x=s.zIndex)!=null?x:0),3),4):s.zIndex,...U,...j},children:I})},NE),p1=p.memo(function({group:t,colStartIndex:n,colEndIndex:r,left:o,width:s,height:i,active:a=!1,focusable:l=a,onFocusGroupHeader:c}){const{classNames:u,styles:d}=Lo();return f.jsx("div",{role:"columnheader",className:u.groupRow||void 0,"data-grid-group-header":t.id,"data-col-start-index":n,"data-col-end-index":r,tabIndex:l?0:-1,onFocus:h=>{h.target===h.currentTarget&&c?.(t.id,n,r)},style:{position:"absolute",left:o,top:0,width:s,height:i,display:"flex",alignItems:"center",justifyContent:"center",background:"var(--vg-bg-header)",borderRight:"1px solid var(--vg-border)",borderBottom:"1px solid var(--vg-border)",fontWeight:700,fontSize:"calc(var(--vg-font-size) - 0.5px)",letterSpacing:"0.025em",color:"var(--vg-text-group)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",outline:a?"2px solid var(--vg-accent)":"none",outlineOffset:-2,...t.headerStyle,...d.groupRow},children:t.label})}),FE=p.memo(function({height:t,slot:n}){return f.jsx("div",{style:{height:t,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:10,color:"var(--vg-text-dim)",fontSize:"var(--vg-font-size)",fontFamily:"var(--vg-font)"},children:n??f.jsxs(f.Fragment,{children:[f.jsxs("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",children:[f.jsx("rect",{x:"4",y:"4",width:"28",height:"28",rx:"4",stroke:"currentColor",strokeWidth:"1.5",opacity:"0.4"}),f.jsx("line",{x1:"4",y1:"13",x2:"32",y2:"13",stroke:"currentColor",strokeWidth:"1.2",opacity:"0.3"}),f.jsx("line",{x1:"4",y1:"22",x2:"32",y2:"22",stroke:"currentColor",strokeWidth:"1.2",opacity:"0.2"}),f.jsx("line",{x1:"14",y1:"4",x2:"14",y2:"32",stroke:"currentColor",strokeWidth:"1.2",opacity:"0.2"})]}),f.jsx("span",{style:{opacity:.5},children:"No data to display"})]})})}),VE=p.memo(function({onClose:t}){const{engine:n,features:r,texts:o,classNames:s}=Lo(),{orderedColumns:i,toggleColumnVisibility:a,pinColumn:l,showAllColumns:c}=n,u=p.useRef(null);p.useEffect(()=>{const h=g=>{u.current&&!u.current.contains(g.target)&&t()},m=setTimeout(()=>document.addEventListener("mousedown",h),50);return()=>{clearTimeout(m),document.removeEventListener("mousedown",h)}},[t]);const d=i.filter(h=>h.hidden).length;return f.jsxs("div",{ref:u,role:"dialog","aria-label":o.columnManager,className:s.columnPanel||void 0,style:{position:"absolute",top:"calc(100% + 4px)",right:0,zIndex:"var(--vg-z-panel)",background:"var(--vg-bg-panel)",border:"1px solid var(--vg-border-strong)",borderRadius:"var(--vg-radius)",boxShadow:"var(--vg-shadow-panel)",minWidth:260,maxHeight:420,display:"flex",flexDirection:"column",overflow:"hidden",fontFamily:"var(--vg-font)"},children:[f.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 14px 8px",borderBottom:"1px solid var(--vg-border)",flexShrink:0},children:[f.jsxs("span",{style:{fontWeight:700,fontSize:11,textTransform:"uppercase",letterSpacing:"0.08em",color:"var(--vg-text-dim)"},children:[o.columns,d>0&&f.jsxs("span",{style:{marginLeft:6,background:"var(--vg-accent-bg)",color:"var(--vg-accent-text)",borderRadius:10,padding:"1px 6px",fontSize:10},children:[d," ",o.hidden]})]}),d>0&&f.jsx("button",{onClick:c,style:{background:"none",border:"none",cursor:"pointer",fontSize:11,color:"var(--vg-accent)",fontWeight:600,fontFamily:"var(--vg-font)",padding:"2px 4px"},children:o.showAll})]}),f.jsx("div",{style:{overflow:"auto",flex:1},children:i.map(h=>{var m;return f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"6px 14px",fontSize:"var(--vg-font-size)",color:h.hidden?"var(--vg-text-dim)":"var(--vg-text)",transition:"background var(--vg-transition)"},onMouseEnter:g=>g.currentTarget.style.background="var(--vg-bg-row-hover)",onMouseLeave:g=>g.currentTarget.style.background="transparent",children:[f.jsx("input",{type:"checkbox",id:`vg-col-${h.id}`,checked:!h.hidden,onChange:()=>a(h.id),style:{accentColor:"var(--vg-accent)",cursor:"pointer",width:13,height:13,flexShrink:0}}),f.jsx("label",{htmlFor:`vg-col-${h.id}`,style:{flex:1,cursor:"pointer",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:h.label}),r.columnPin&&f.jsxs("select",{value:(m=h.pinned)!=null?m:"",onChange:g=>l(h.id,g.target.value||null),style:{fontSize:11,padding:"2px 5px",background:"var(--vg-bg-btn)",color:"var(--vg-text)",border:"1px solid var(--vg-border-strong)",borderRadius:"var(--vg-radius-xs)",cursor:"pointer",fontFamily:"var(--vg-font)",outline:"none"},children:[f.jsx("option",{value:"",children:o.noPin}),f.jsx("option",{value:"left",children:o.pinLeft}),f.jsx("option",{value:"right",children:o.pinRight})]})]},h.id)})}),f.jsx("div",{style:{padding:"10px 14px",borderTop:"1px solid var(--vg-border)",flexShrink:0},children:f.jsx("button",{onClick:t,style:{width:"100%",padding:"7px 12px",background:"var(--vg-accent)",color:"var(--vg-accent-fg)",border:"none",borderRadius:"var(--vg-radius-sm)",cursor:"pointer",fontWeight:600,fontSize:"var(--vg-font-size)",fontFamily:"var(--vg-font)",transition:"background var(--vg-transition)"},onMouseEnter:h=>h.currentTarget.style.background="var(--vg-accent-hover)",onMouseLeave:h=>h.currentTarget.style.background="var(--vg-accent)",children:o.done})})]})}),WE=p.memo(function({left:t,right:n,colManagerSlot:r}){const{classNames:o,styles:s}=Lo();return f.jsxs("div",{role:"toolbar",className:o.toolbar||void 0,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"7px 12px",background:"var(--vg-bg-toolbar)",borderBottom:"1px solid var(--vg-border)",gap:8,flexShrink:0,position:"relative",...s.toolbar},children:[f.jsx("div",{style:{display:"flex",alignItems:"center",gap:8},children:t}),f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,position:"relative"},children:[n,r]})]})}),zE=p.memo(function({onClick:t,active:n=!1,children:r,icon:o,"aria-label":s}){return f.jsxs("button",{onClick:t,"aria-label":s,"aria-pressed":n,style:{display:"inline-flex",alignItems:"center",gap:5,padding:"5px 10px",borderRadius:"var(--vg-radius-sm)",border:`1px solid ${n?"var(--vg-accent)":"var(--vg-border-strong)"}`,background:n?"var(--vg-accent-bg)":"var(--vg-bg-btn)",color:n?"var(--vg-accent-text)":"var(--vg-text)",fontSize:12,fontWeight:600,cursor:"pointer",fontFamily:"var(--vg-font)",transition:"all var(--vg-transition)",lineHeight:1},onMouseEnter:i=>{n||(i.currentTarget.style.background="var(--vg-bg-btn-hover)")},onMouseLeave:i=>{n||(i.currentTarget.style.background="var(--vg-bg-btn)")},children:[o,r]})}),HE=p.memo(function({startRow:t,endRow:n,totalRows:r,visibleCols:o,totalCols:s}){const{classNames:i,styles:a,texts:l}=Lo();return f.jsxs("div",{className:i.footer||void 0,style:{display:"flex",alignItems:"center",justifyContent:"flex-end",padding:"5px 12px",background:"var(--vg-bg-toolbar)",borderTop:"1px solid var(--vg-border)",fontSize:11,color:"var(--vg-text-dim)",fontFamily:"var(--vg-font-mono)",flexShrink:0,gap:12,...a.footer},children:[f.jsxs("span",{children:[t.toLocaleString(),"–",n.toLocaleString()," ",l.of," ",r.toLocaleString()," ",l.rows]}),f.jsx("span",{style:{opacity:.5},children:"·"}),f.jsxs("span",{children:[o,"/",s," ",l.columns]})]})});function UE(){return f.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none","aria-hidden":"true",children:[f.jsx("rect",{x:"0.5",y:"1.5",width:"3.5",height:"9",rx:"0.8",stroke:"currentColor",strokeWidth:"1.15"}),f.jsx("rect",{x:"5",y:"1.5",width:"3",height:"9",rx:"0.8",stroke:"currentColor",strokeWidth:"1.15"}),f.jsx("rect",{x:"9.5",y:"1.5",width:"3",height:"9",rx:"0.8",stroke:"currentColor",strokeWidth:"1.15"})]})}const GE=36,YE=38,qE=28;function KE(e,t,n){return Math.max(t,Math.min(n,e))}const ZE={sort:!0,resize:!0,reorder:!0,columnHide:!0,columnPin:!0,alternateRows:!0,toolbar:!0,footer:!0,rowSelection:!0},XE={},JE={},QE={},eM={hideColumn:"Hide column",manageColumns:"Manage columns",columnManager:"Column manager",columns:"columns",rows:"rows",selected:"selected",hidden:"hidden",showAll:"Show all",noPin:"No pin",pinLeft:"Pin left",pinRight:"Pin right",done:"Done",loading:"Loading...",of:"of"};function tM(e,t,n,r){var o;if(r<=0)return null;const s=e.findIndex(i=>i.id===n);return s<0?null:((o=t[s])!=null?o:0)<r?s:null}function nM({columns:e,data:t,getRowId:n,height:r,maxHeight:o=600,rowHeight:s=GE,headerHeight:i=YE,groupHeaderHeight:a=qE,theme:l="light",features:c,icons:u,texts:d,classNames:h,styles:m,slots:g={},freezeColId:C,loading:b=!1,selectedRowId:v,onRowClick:k,onSortChange:w,onColumnStateChange:x,onColumnResize:T,onColumnReorder:M,onRowsDelete:A,onRowInsert:I,sortMode:P="client",groupBy:R,onGroupingChange:W,ariaLabel:S="Data grid",className:j,style:_}){var N,U,se,ue,B;const E=p.useMemo(()=>({...ZE,...c}),[JSON.stringify(c)]),D=u??XE,L=p.useMemo(()=>({...eM,...d}),[JSON.stringify(d)]),$=m??JE,Y=h??QE,re=p.useMemo(()=>xE(e),[e]),he=R??re,oe=JSON.stringify(re),X=pE(e,he),{pinnedLeftColumns:te,pinnedRightColumns:ie,scrollableColumns:Q,pinnedLeftWidth:q,pinnedRightWidth:xe,sortState:ke,rowGroupingState:ve,groups:ae,hasGroups:je,visibleColumns:de,orderedColumns:We,resizeColumn:He,moveColumnBefore:dt,moveColumnToEnd:ge,setGroupingColumns:ne,toggleGroup:fe}=X,De=p.useRef(oe);p.useEffect(()=>{R||oe!==De.current&&(De.current=oe,ne(re))},[re,oe,R,ne]),p.useEffect(()=>{R&&JSON.stringify(R)!==JSON.stringify(ve.groupBy)&&ne(R)},[R,ve.groupBy,ne]);const Le=p.useRef(JSON.stringify(ve.groupBy));p.useEffect(()=>{const F=JSON.stringify(ve.groupBy);F!==Le.current&&(Le.current=F,W?.(ve.groupBy))},[W,ve.groupBy]);const Ve=p.useRef(ke);p.useEffect(()=>{(Ve.current.columnId!==ke.columnId||Ve.current.direction!==ke.direction)&&(Ve.current=ke,w?.(ke))},[ke,w]);const st=p.useRef(null);p.useEffect(()=>{var F;st.current=ke.columnId&&(F=X.orderedColumns.find(H=>H.id===ke.columnId))!=null?F:null},[ke.columnId]);const kt=p.useMemo(()=>{var F;if(P==="server")return t;const H=st.current;if(!ke.columnId||!H)return t;const G=(F=H.accessor)!=null?F:J=>{var pe;return J[(pe=H.field)!=null?pe:H.id]};return[...t].sort((J,pe)=>{const ce=G(J),me=G(pe);if(ce==null)return 1;if(me==null)return-1;const Oe=ce<me?-1:ce>me?1:0;return ke.direction==="asc"?Oe:-Oe})},[t,P,ke.columnId,ke.direction]),ct=p.useMemo(()=>vE(kt,ve.groupBy,We,ve.expandedGroupIds),[kt,ve.groupBy,ve.expandedGroupIds,We]),$e=p.useMemo(()=>wE(ct),[ct]),qt=p.useRef("");p.useEffect(()=>{if(!x)return;const F=X.orderedColumns.map((G,J)=>({id:G.id,hidden:G.hidden,pinned:G.pinned,width:G.width,order:J})),H=JSON.stringify(F);H!==qt.current&&(qt.current=H,x(F))},[X.orderedColumns,x]);const[V,ee]=p.useState(()=>new Set),it=p.useRef(null);p.useEffect(()=>{E.rowSelection&&ee(v!=null?new Set([String(v)]):new Set)},[v,E.rowSelection]);const Se=p.useCallback((F,H)=>String(n?n(F,H):H),[n]),Ge=p.useCallback(F=>{const H=$e[F];return H?.type==="leaf"?H:null},[$e]),_e=p.useCallback((F,H)=>{if(E.rowSelection){const G=Se(F,H);ee(new Set([G])),it.current=H}k?.(F,H)},[E.rowSelection,Se,k]),le=p.useCallback((F,H)=>E.rowSelection?V.has(Se(F,H)):!1,[V,E.rowSelection,Se]),Ie=p.useRef(null),Ce=p.useRef(null),Me=p.useRef(0),Tt=p.useRef(0),[,Fe]=p.useReducer(F=>F+1,0),zn=p.useRef(0),Ns=p.useRef(!1),$s=p.useRef(null),Mn=p.useRef(null),No=p.useRef(null),lp=p.useRef(null),Bt=p.useMemo(()=>TE(Q),[Q]),L0=p.useMemo(()=>Q.map(F=>F.width),[Q]),tD=p.useMemo(()=>L0.reduce((F,H)=>F+H,0),[L0]),j0=p.useRef(null),[Yr,cp]=p.useState(400),[yr,up]=p.useState(800);p.useEffect(()=>{const F=j0.current;if(!F)return;const H=new ResizeObserver(([G])=>{G&&(cp(G.contentRect.height),up(G.contentRect.width))});return H.observe(F),F.clientHeight>0&&cp(F.clientHeight),F.clientWidth>0&&up(F.clientWidth),()=>H.disconnect()},[]);const cn=je?a+i:i,ec=Math.max(0,yr-q-xe),or=q+tD+xe,nD=or>yr+1,rD=E.toolbar&&!g.toolbar?36:0,oD=E.footer&&!g.footer?29:0,sD=nD?17:0,iD=cn+$e.length*s+rD+oD+sD,aD=Math.min(iD,r??o),dp=p.useRef({startIndex:0,endIndex:-1,totalHeight:0,offsetY:0}),R0=p.useCallback(F=>{dp.current=SE($e.length,s,F,Math.max(0,Yr-cn))},[$e.length,s,Yr,cn]),fp=p.useRef({startIndex:0,endIndex:0}),_0=p.useCallback(F=>{const H=Math.max(0,F-q),G=ec>0?ec:1400;fp.current=kE(Bt,L0,H,G)},[Bt,L0,ec,q]),Fs=p.useRef(null),B0=p.useCallback(F=>{if(!C){Fs.current=null;return}const H=Math.max(0,F-q);Fs.current=tM(Q,Bt,C,H)},[C,Q,Bt,q]),On=p.useMemo(()=>{var F;return C&&(F=Q.find(H=>H.id===C))!=null?F:null},[C,Q]),lD=p.useMemo(()=>{var F;if(!On)return 0;const H=Q.findIndex(G=>G.id===On.id);return H>=0&&(F=Bt[H])!=null?F:0},[On,Q,Bt]),Vs=p.useCallback(()=>{const F=Ce.current;if(!F)return;const H=F.scrollTop,G=F.scrollLeft;Tt.current=H,Me.current=G,R0(H),_0(G),B0(G);const J=Fs.current!==null;Mn.current&&(Mn.current.style.visibility=J?"visible":"hidden",Mn.current.style.pointerEvents=J?"auto":"none"),Ns.current=!0,$s.current&&clearTimeout($s.current),$s.current=setTimeout(()=>{Ns.current=!1,Fe()},150),cancelAnimationFrame(zn.current),zn.current=requestAnimationFrame(Fe)},[R0,_0,B0,Fe]);p.useEffect(()=>{R0(Tt.current),_0(Me.current),B0(Me.current),Fe()},[R0,_0,B0]),p.useEffect(()=>{const F=pe=>{pe.preventDefault();const ce=Ce.current;ce&&(ce.scrollTop+=pe.deltaY,ce.scrollLeft+=pe.deltaX)},H={passive:!1},G=No.current,J=lp.current;return G?.addEventListener("wheel",F,H),J?.addEventListener("wheel",F,H),()=>{G?.removeEventListener("wheel",F,H),J?.removeEventListener("wheel",F,H)}},[]),p.useLayoutEffect(()=>{if(!Mn.current)return;const F=Fs.current!==null;Mn.current.style.visibility=F?"visible":"hidden",Mn.current.style.pointerEvents=F?"auto":"none"});const Cr=fp.current,N0=Fs.current,Hn=N0!==null&&(N=Q[N0])!=null?N:null,$o=(U=On?.width)!=null?U:0,Un=dp.current,$0=Ns.current,cD=Math.max(1,Math.floor(Math.max(0,Yr-cn)/s)),[uD,br]=p.useState(""),Gn=p.useMemo(()=>{const F=new Map;return de.forEach((H,G)=>F.set(H.id,G)),F},[de]),F0=p.useCallback((F,H,G)=>{var J;return G.accessor?G.accessor(F):F[(J=G.field)!=null?J:G.id]},[]),dD=p.useCallback(F=>{var H;const G=Ce.current;if(!G)return;const J=F.rowIndex*s,pe=Math.max(0,Yr-cn);J<G.scrollTop?G.scrollTop=J:J+s>G.scrollTop+pe&&(G.scrollTop=Math.max(0,J+s-pe));const ce=de[F.colIndex];if(!ce||ce.pinned)return;const me=Q.findIndex(ze=>ze.id===ce.id);if(me<0)return;const Oe=q+((H=Bt[me])!=null?H:0),Pe=Oe+ce.width,we=G.scrollLeft+q,Be=G.scrollLeft+yr-xe;Oe<we?G.scrollLeft=Math.max(0,Oe-q):Pe>Be&&(G.scrollLeft=Math.max(0,Pe-yr+xe)),Vs()},[Yr,yr,Vs,Bt,q,xe,s,Q,cn,de]),fD=p.useCallback(F=>{var H;const G=Ce.current;if(!G)return;const J=de[F];if(!J||J.pinned)return;const pe=Q.findIndex(we=>we.id===J.id);if(pe<0)return;const ce=q+((H=Bt[pe])!=null?H:0),me=ce+J.width,Oe=G.scrollLeft+q,Pe=G.scrollLeft+yr-xe;ce<Oe?G.scrollLeft=Math.max(0,ce-q):me>Pe&&(G.scrollLeft=Math.max(0,me-yr+xe)),Vs()},[yr,Vs,Bt,q,xe,Q,de]),pD=p.useMemo(()=>{const F=[];if(je)for(const H of ae){const G=H.children.map(J=>Gn.get(J.id)).filter(J=>typeof J=="number").sort((J,pe)=>J-pe);G.length>0&&F.push({kind:"groupHeader",groupId:H.id,colStartIndex:G[0],colEndIndex:G[G.length-1]})}for(let H=0;H<de.length;H++)F.push({kind:"header",colIndex:H});return F},[ae,je,Gn,de.length]),pp=p.useCallback((F,H)=>{const G=Ge(F);if(!G||!E.rowSelection)return;const J=Se(G.row,G.rowIndex);ee(pe=>{const ce=H?new Set(pe):new Set;return ce.has(J)&&H?(ce.delete(J),br(`Row ${F+1} deselected`)):(ce.add(J),br(`Row ${F+1} selected`)),ce}),it.current=F},[E.rowSelection,Ge,Se]),hD=p.useCallback((F,H)=>{var G;if(!E.rowSelection)return;const J=(G=it.current)!=null?G:F,pe=Math.max(0,Math.min(J,H)),ce=Math.min($e.length-1,Math.max(J,H));ee(me=>{const Oe=new Set(me);for(let Pe=pe;Pe<=ce;Pe++){const we=Ge(Pe);we&&Oe.add(Se(we.row,we.rowIndex))}return Oe}),br(`Rows ${pe+1} through ${ce+1} selected`)},[E.rowSelection,Ge,Se,$e.length]),mD=p.useCallback(()=>{if(!E.rowSelection)return;ee(new Set($e.flatMap(H=>H.type==="leaf"?[Se(H.row,H.rowIndex)]:[])));const F=$e.filter(H=>H.type==="leaf").length;br(`All ${F} rows selected`)},[E.rowSelection,Se,$e]),V0=p.useCallback(F=>{var H;const G=(H=Ce.current)==null?void 0:H.querySelector(`[data-grid-cell="${F.rowIndex}:${F.colIndex}"]`),J=G?.querySelector('input:not([disabled]), textarea:not([disabled]), select:not([disabled]), button:not([disabled]), a[href], [contenteditable="true"], [tabindex]:not([tabindex="-1"]), [role="button"], [role="textbox"], [role="checkbox"], [role="combobox"], [role="switch"], [role="spinbutton"]');if(J){try{J.focus({preventScroll:!0})}catch{J.focus()}J.matches('button:not([disabled]), a[href], [role="button"], [role="checkbox"], [role="switch"]')&&J.click()}},[]),gD=p.useCallback(()=>{if(V.size===0)return;const F=[],H=[];$e.forEach(G=>{G.type==="leaf"&&V.has(Se(G.row,G.rowIndex))&&(F.push(G.row),H.push(G.rowIndex))}),F.length!==0&&(typeof window<"u"&&!window.confirm(`Delete ${F.length} selected row(s)?`)||(A?.(F,H),ee(new Set),br(`${F.length} selected row(s) deleted`)))},[Se,A,V,$e]),yD=p.useCallback((F,H)=>{var G;if(!E.reorder)return F;const J=de[F],pe=de[F+H];if(!J||!pe||!J.draggable||!pe.draggable)return F;if(H<0)dt(J.id,pe.id);else{const Pe=de[F+2];Pe?dt(J.id,Pe.id):ge(J.id)}const me=W0.current.map(Pe=>Pe.id).filter(Pe=>Pe!==J.id),Oe=me.indexOf(pe.id);if(H<0)me.splice(Oe,0,J.id);else if(F+2<de.length){const Pe=de[F+2],we=Pe?me.indexOf(Pe.id):-1;we>=0&&me.splice(we,0,J.id)}else me.push(J.id);return(G=qr.current)==null||G.call(qr,me),br(`Column ${J.label} moved`),KE(F+H,0,de.length-1)},[E.reorder,dt,ge,de]),ft=LE({rowCount:$e.length,colCount:de.length,visibleRowCount:cD,headerTargets:pD,getRowGroup:F=>{const H=$e[F];return H?.type==="group"?{id:H.id,expanded:H.expanded}:null},onFocusCell:dD,onFocusHeader:fD,onSelectRow:pp,onToggleRow:F=>pp(F,!0),onSelectRange:hD,onSelectAll:mD,onActivateCell:V0,onToggleGroup:fe,onToggleHeaderSort:F=>{const H=de[F];!H||!E.sort||!H.sortable||X.toggleSort(H.id)},onDeleteRows:gD,onInsertRow:()=>{I?.(),br("Row inserted")},onResizeColumn:(F,H)=>{const G=de[F];!G||!E.resize||!G.resizable||(He(G.id,H),T?.(G.id,G.width+H),br(`Column ${G.label} resized`))},onReorderColumn:yD});p.useLayoutEffect(()=>{var F;const H=ft.focusedTarget;if(!H)return;const G=document.activeElement;if(!G||!((F=Ie.current)!=null&&F.contains(G))||G instanceof HTMLElement&&G!==Ie.current&&G.getAttribute("role")!=="gridcell"&&G.getAttribute("role")!=="columnheader")return;const J=Ie.current,pe=H.kind==="groupHeader"?Array.from(J.querySelectorAll("[data-grid-group-header]")).find(ce=>ce.dataset.gridGroupHeader===H.groupId&&ce.getAttribute("aria-hidden")!=="true"):AE(J,H.kind==="cell"?`[data-grid-cell="${H.rowIndex}:${H.colIndex}"]`:`[data-grid-header-cell="${H.colIndex}"]`);try{pe?.focus({preventScroll:!0})}catch{pe?.focus()}});const hp=p.useMemo(()=>{const F=new Set(ae.flatMap(H=>H.children.map(G=>G.id)));return new Set(Q.filter(H=>!F.has(H.id)).map(H=>H.id))},[ae,Q]),W0=p.useRef(X.orderedColumns);W0.current=X.orderedColumns;const qr=p.useRef(M);qr.current=M;const mp=p.useRef(F=>120);mp.current=F=>{var H,G;return(G=(H=X.orderedColumns.find(J=>J.id===F))==null?void 0:H.width)!=null?G:120};const{startResize:gp}=EE({onResize:(F,H)=>He(F,H),onResizeEnd:(F,H)=>T?.(F,H),getCurrentWidth:p.useCallback(F=>mp.current(F),[])}),CD=p.useCallback(F=>{var H,G;const J=(H=j0.current)==null?void 0:H.getBoundingClientRect();if(!J)return null;const pe=Me.current;let ce=0;for(const Oe of te){if(Oe.id===F)return{left:J.left+ce,right:J.left+ce+Oe.width};ce+=Oe.width}const me=Q.findIndex(Oe=>Oe.id===F);if(me!==-1){const Oe=Q[me],Pe=q+((G=Bt[me])!=null?G:0)-pe;return{left:J.left+Pe,right:J.left+Pe+Oe.width}}ce=0;for(const Oe of ie){if(Oe.id===F){const Pe=J.right-xe;return{left:Pe+ce,right:Pe+ce+Oe.width}}ce+=Oe.width}return null},[te,Q,ie,q,xe,Bt]),Ws=ME({onMoveColumnBefore:(F,H)=>{if(dt(F,H),qr.current){const J=W0.current.map(pe=>pe.id).filter(pe=>pe!==F);J.splice(J.indexOf(H),0,F),qr.current(J)}},onMoveColumnToEnd:F=>{if(ge(F),qr.current){const G=[...W0.current.map(J=>J.id).filter(J=>J!==F),F];qr.current(G)}},columns:de.map(F=>({id:F.id,groupId:F.groupId,draggable:F.draggable,pinned:F.pinned})),getColumnViewportBounds:CD}),[yp,tc]=p.useState(!1),Cp=p.useMemo(()=>RE(l),[l]),bD=p.useMemo(()=>Cp,[Cp]),vD=p.useMemo(()=>({engine:X,dragHandlers:Ws,startResize:gp,features:E,icons:D,texts:L,styles:$,classNames:Y}),[X,Ws,gp,E,D,L,$,Y]),bp=p.useCallback((F,H)=>{var G,J,pe,ce,me,Oe,Pe,we;return le(F,H)?(ce=(pe=(G=$.rowSelected)==null?void 0:G.background)!=null?pe:(J=$.rowSelected)==null?void 0:J.backgroundColor)!=null?ce:"var(--vg-bg-row-selected)":E.alternateRows&&H%2===1?"var(--vg-bg-row-alt)":(we=(Pe=(me=$.row)==null?void 0:me.background)!=null?Pe:(Oe=$.row)==null?void 0:Oe.backgroundColor)!=null?we:"var(--vg-bg)"},[le,E.alternateRows,$.rowSelected,$.row]),xD=p.useCallback((F,H)=>{var G,J,pe,ce,me,Oe,Pe,we,Be,ze;return le(F,H)?(ce=(pe=(G=$.rowSelected)==null?void 0:G.background)!=null?pe:(J=$.rowSelected)==null?void 0:J.backgroundColor)!=null?ce:"var(--vg-bg-row-selected)":E.alternateRows&&H%2===1?"var(--vg-bg-row-alt)":(ze=(Be=(Pe=(me=$.pinnedCell)==null?void 0:me.background)!=null?Pe:(Oe=$.pinnedCell)==null?void 0:Oe.backgroundColor)!=null?Be:(we=$.row)==null?void 0:we.background)!=null?ze:"var(--vg-bg-pinned)"},[le,E.alternateRows,$.rowSelected,$.row,$.pinnedCell]),Kr=F=>{var H;const G=(H=Gn.get(F.id))!=null?H:0;return{colIndex:G,active:ft.isHeaderFocused(G),focusable:ft.isHeaderFocused(G),onFocusHeader:J=>ft.setFocusedTarget({kind:"header",colIndex:J})}},vp=(F,H,G)=>({colStartIndex:H,colEndIndex:G,active:ft.isGroupHeaderFocused(F),focusable:ft.isGroupHeaderFocused(F),onFocusGroupHeader:(J,pe,ce)=>ft.setFocusedTarget({kind:"groupHeader",groupId:J,colStartIndex:pe,colEndIndex:ce})}),wD=()=>{var F,H,G,J;const pe=[],ce=new Set;for(let me=Cr.startIndex;me<=Cr.endIndex;me++){const Oe=Q[me];if(!Oe)continue;const Pe=q+((F=Bt[me])!=null?F:0);if(hp.has(Oe.id)){pe.push(f.jsx(Hr,{column:Oe,...Kr(Oe),style:{position:"absolute",left:Pe,top:0,width:Oe.width,height:a+i,zIndex:1,background:"var(--vg-bg-header)"}},`hspan-${Oe.id}`));continue}const we=ae.find(gt=>gt.children.some(Wt=>Wt.id===Oe.id));if(!we||ce.has(we.id))continue;ce.add(we.id);const Be=Q.filter(gt=>we.children.some(Wt=>Wt.id===gt.id)),ze=Be.reduce((gt,Wt)=>gt+Wt.width,0),Ke=Q.findIndex(gt=>{var Wt;return gt.id===((Wt=Be[0])==null?void 0:Wt.id)}),un=Be.map(gt=>Gn.get(gt.id)).filter(gt=>typeof gt=="number").sort((gt,Wt)=>gt-Wt);pe.push(f.jsx(p1,{group:we,...vp(we.id,(H=un[0])!=null?H:0,(G=un[un.length-1])!=null?G:0),left:q+((J=Bt[Ke])!=null?J:0),width:ze,height:a},`grp-${we.id}`))}return pe},SD=()=>{const F=[];let H;const G=[];for(let J=Cr.startIndex;J<=Cr.endIndex;J++){const pe=Q[J];!pe||hp.has(pe.id)||G.push(J)}return G.forEach((J,pe)=>{var ce;const me=Q[J];if(!me)return;const Oe=me.groupId!==H;H=me.groupId;const Pe=pe===G.length-1;F.push(f.jsx(Hr,{column:me,...Kr(me),isFirst:Oe,isLast:Pe,style:{position:"absolute",left:q+((ce=Bt[J])!=null?ce:0),top:0,width:me.width,height:i,zIndex:1}},`lh-${me.id}`))}),F},kD=()=>{const F=[],H=[];for(let G=Cr.startIndex;G<=Cr.endIndex;G++)Q[G]&&H.push(G);return H.forEach((G,J)=>{var pe;const ce=Q[G];ce&&F.push(f.jsx(Hr,{column:ce,...Kr(ce),isFirst:J===0,isLast:J===H.length-1,style:{position:"absolute",left:q+((pe=Bt[G])!=null?pe:0),top:0,width:ce.width,height:i,zIndex:1}},`fh-${ce.id}`))}),F},TD=(F,H)=>{var G,J,pe;const ce=cn+H*s,me="var(--vg-bg-row-alt)",Oe=(J=(G=We.find(Ke=>Ke.id===F.groupingColumnId))==null?void 0:G.label)!=null?J:F.groupingColumnId,Pe=q,we=Math.max(0,or-q-xe),Be=((pe=ft.focusedCell)==null?void 0:pe.rowIndex)===H&&ft.focusedCell.colIndex===0,ze=Be||!ft.focusedTarget&&H===0;return f.jsx("div",{role:"row","aria-rowindex":H+1,"aria-expanded":F.expanded,className:[Y.row,Y.groupRow].filter(Boolean).join(" ")||void 0,style:{position:"absolute",top:ce,left:0,width:or,height:s,background:me,display:"flex",borderBottom:"1px solid var(--vg-border)",boxSizing:"border-box",color:"var(--vg-text)",fontWeight:700,...$.row,...$.groupRow},children:f.jsxs("div",{role:"gridcell","aria-colindex":1,"data-grid-cell":`${H}:0`,tabIndex:ze?0:-1,onFocus:Ke=>{Ke.target===Ke.currentTarget&&ft.setFocusedCell({rowIndex:H,colIndex:0})},onClick:()=>fe(F.id),onDoubleClick:()=>fe(F.id),style:{position:"absolute",left:Pe,top:0,width:we,height:s,display:"flex",alignItems:"center",gap:8,paddingLeft:10+F.depth*18,paddingRight:10,boxSizing:"border-box",borderRight:"1px solid var(--vg-border)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",cursor:"pointer",outline:Be?"2px solid var(--vg-accent)":"none",outlineOffset:-2},children:[f.jsx("button",{type:"button","aria-label":`${F.expanded?"Collapse":"Expand"} ${String(F.groupingValue)}`,"aria-expanded":F.expanded,onClick:Ke=>{Ke.stopPropagation(),fe(F.id)},style:{width:22,height:22,flex:"0 0 auto",border:"1px solid var(--vg-border)",borderRadius:4,background:"var(--vg-bg)",color:"var(--vg-text)",cursor:"pointer",lineHeight:"18px",padding:0},children:F.expanded?"−":"+"}),f.jsxs("span",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:[Oe,": ",String(F.groupingValue)]}),f.jsxs("span",{style:{color:"var(--vg-text-muted)",fontWeight:600,flex:"0 0 auto"},children:["(",F.leafRowCount,")"]})]})},F.id)},ED=F=>{var H,G,J,pe;const ce=$e[F];if(!ce)return null;if(ce.type==="group")return TD(ce,F);const me=ce.row,Oe=cn+F*s,Pe=bp(me,ce.rowIndex),we=xD(me,ce.rowIndex),Be=le(me,ce.rowIndex),ze=String(n?n(me,ce.rowIndex):ce.rowIndex),Ke=[];for(let lt=Cr.startIndex;lt<=Cr.endIndex;lt++){const yt=Q[lt];if(!yt)continue;const Pt=(H=Gn.get(yt.id))!=null?H:lt,vr=((G=ft.focusedCell)==null?void 0:G.rowIndex)===F&&ft.focusedCell.colIndex===Pt,Kt=vr||!ft.focusedTarget&&F===0&&Pt===0;Ke.push(f.jsx(T0,{column:yt,row:me,rowIndex:F,colIndex:Pt,valueOverride:F0(me,ce.rowIndex,yt),active:vr,focusable:Kt,selected:Be,indent:Pt===0?ce.depth*18:0,onFocusCell:(Lt,Dn)=>ft.setFocusedCell({rowIndex:Lt,colIndex:Dn}),onActivateCell:(Lt,Dn)=>V0({rowIndex:Lt,colIndex:Dn}),isScrolling:$0,loadingCell:g.loadingCell,style:{position:"absolute",left:q+((J=Bt[lt])!=null?J:0),top:0,width:yt.width,height:s,background:Pe}},`ds-${yt.id}`))}let un=0;const gt=te.length>0?te.map(lt=>{var yt,Pt;const vr=un;un+=lt.width;const Kt=(yt=Gn.get(lt.id))!=null?yt:0,Lt=((Pt=ft.focusedCell)==null?void 0:Pt.rowIndex)===F&&ft.focusedCell.colIndex===Kt,Dn=Lt||!ft.focusedTarget&&F===0&&Kt===0;return f.jsx(T0,{column:lt,row:me,rowIndex:F,colIndex:Kt,valueOverride:F0(me,ce.rowIndex,lt),active:Lt,focusable:Dn,selected:Be,indent:Kt===0?ce.depth*18:0,onFocusCell:(Zr,Xr)=>ft.setFocusedCell({rowIndex:Zr,colIndex:Xr}),onActivateCell:(Zr,Xr)=>V0({rowIndex:Zr,colIndex:Xr}),pinned:!0,isScrolling:$0,loadingCell:g.loadingCell,style:{position:"absolute",left:vr,top:0,width:lt.width,height:s,background:we}},`ps-l-${lt.id}`)}):null;let Wt=0;const Fo=ie.length>0?ie.map(lt=>{var yt,Pt;const vr=Wt;Wt+=lt.width;const Kt=(yt=Gn.get(lt.id))!=null?yt:0,Lt=((Pt=ft.focusedCell)==null?void 0:Pt.rowIndex)===F&&ft.focusedCell.colIndex===Kt,Dn=Lt||!ft.focusedTarget&&F===0&&Kt===0;return f.jsx(T0,{column:lt,row:me,rowIndex:F,colIndex:Kt,valueOverride:F0(me,ce.rowIndex,lt),active:Lt,focusable:Dn,selected:Be,indent:Kt===0?ce.depth*18:0,onFocusCell:(Zr,Xr)=>ft.setFocusedCell({rowIndex:Zr,colIndex:Xr}),onActivateCell:(Zr,Xr)=>V0({rowIndex:Zr,colIndex:Xr}),pinned:!0,isScrolling:$0,loadingCell:g.loadingCell,style:{position:"absolute",left:vr,top:0,width:lt.width,height:s,background:we}},`ps-r-${lt.id}`)}):null;return f.jsxs("div",{role:"row","aria-rowindex":F+1,"aria-selected":Be,onClick:()=>_e(me,ce.rowIndex),className:[Y.row,Be?Y.rowSelected:void 0].filter(Boolean).join(" ")||void 0,style:{position:"absolute",top:Oe,left:0,width:or,height:s,background:Pe,cursor:"pointer",display:"flex",...$.row,...Be?$.rowSelected:{}},onMouseEnter:lt=>{if(!Be){const yt=lt.currentTarget;yt.style.background="var(--vg-bg-row-hover)",yt.querySelectorAll("[data-pinned-sticky]").forEach(Pt=>{Pt.style.background="var(--vg-bg-row-hover)"})}},onMouseLeave:lt=>{const yt=lt.currentTarget;yt.style.background=Pe,yt.querySelectorAll("[data-pinned-sticky]").forEach(Pt=>{Pt.style.background=we})},children:[gt&&f.jsx("div",{"data-pinned-sticky":"left",style:{position:"sticky",left:0,width:q,height:s,flexShrink:0,zIndex:5,background:we,overflow:"hidden"},children:gt}),Fo&&f.jsx("div",{style:{flex:1}}),Fo&&f.jsx("div",{"data-pinned-sticky":"right",style:{position:"sticky",right:0,width:xe,height:s,flexShrink:0,zIndex:5,background:we,overflow:"hidden"},children:Fo}),Ke,Be&&((pe=g.rowSelectionIndicator)==null?void 0:pe.call(g,me,ce.rowIndex))]},ze)},MD=()=>{var F,H,G,J,pe,ce,me;if(!On)return null;const Oe=[];for(let Pe=Un.startIndex;Pe<=Un.endIndex;Pe++){const we=$e[Pe];if(!we||we.type==="group")continue;const Be=we.row,ze=String(n?n(Be,we.rowIndex):we.rowIndex),Ke=le(Be,we.rowIndex),un=Ke?(J=(G=(F=$.rowSelected)==null?void 0:F.background)!=null?G:(H=$.rowSelected)==null?void 0:H.backgroundColor)!=null?J:"var(--vg-bg-row-selected)":"var(--vg-bg-frozen, var(--vg-bg-row-alt))";Oe.push(f.jsxs("div",{onClick:()=>_e(Be,we.rowIndex),className:[Y.row,Ke?Y.rowSelected:void 0].filter(Boolean).join(" ")||void 0,style:{position:"absolute",left:0,top:Pe*s,width:$o,height:s,background:un,cursor:"pointer",overflow:"hidden",...$.row,...Ke?$.rowSelected:{}},onMouseEnter:gt=>{Ke||(gt.currentTarget.style.background="var(--vg-bg-row-hover)")},onMouseLeave:gt=>{gt.currentTarget.style.background=un},children:[f.jsx(T0,{column:On,row:Be,rowIndex:Pe,colIndex:(pe=Gn.get(On.id))!=null?pe:0,valueOverride:F0(Be,we.rowIndex,On),selected:Ke,indent:((ce=Gn.get(On.id))!=null?ce:0)===0?we.depth*18:0,ariaHidden:!0,pinned:!0,isScrolling:$0,loadingCell:g.loadingCell,style:{position:"absolute",left:0,top:0,width:$o,height:s,background:un,zIndex:2}}),Ke&&f.jsx("div",{style:{position:"absolute",inset:0,zIndex:3,pointerEvents:"none"},children:(me=g.rowSelectionIndicator)==null?void 0:me.call(g,Be,we.rowIndex)})]},ze))}return Oe},xp=F=>{const H=F==="left",G=H?te:ie,J=H?q:xe,pe=H&&Hn!==null,ce=pe?J+$o:J;if(!G.length&&!pe)return null;const me=[];let Oe=0;for(const Be of G)me.push(Oe),Oe+=Be.width;const Pe=Oe,we=[];if(je){const Be=new Set;if(G.forEach((ze,Ke)=>{var un,gt,Wt,Fo,lt;if(!ze.groupId)we.push(f.jsx(Hr,{column:ze,...Kr(ze),isFirst:Ke===0,isLast:Ke===G.length-1,style:{position:"absolute",left:me[Ke],top:0,width:ze.width,height:a+i,zIndex:2,background:"var(--vg-bg-header)"}},`ph-span-${ze.id}`));else{if(!Be.has(ze.groupId)){Be.add(ze.groupId);const yt=ae.find(Pt=>Pt.id===ze.groupId);if(yt){const Pt=G.filter(Lt=>Lt.groupId===ze.groupId),vr=Pt.reduce((Lt,Dn)=>Lt+Dn.width,0),Kt=Pt.map(Lt=>Gn.get(Lt.id)).filter(Lt=>typeof Lt=="number").sort((Lt,Dn)=>Lt-Dn);we.push(f.jsx(p1,{group:yt,...vp(yt.id,(un=Kt[0])!=null?un:0,(gt=Kt[Kt.length-1])!=null?gt:0),left:(Wt=me[Ke])!=null?Wt:0,width:vr,height:a},`pgh-${yt.id}`))}}we.push(f.jsx(Hr,{column:ze,...Kr(ze),isFirst:Ke===0||((Fo=G[Ke-1])==null?void 0:Fo.groupId)!==ze.groupId,isLast:Ke===G.length-1||((lt=G[Ke+1])==null?void 0:lt.groupId)!==ze.groupId,style:{position:"absolute",left:me[Ke],top:a,width:ze.width,height:i,zIndex:2,background:"var(--vg-bg-header)"}},`ph-leaf-${ze.id}`))}}),pe&&Hn){const ze=Hn.align==="center"?"center":Hn.align==="right"?"flex-end":"flex-start";we.push(f.jsx("div",{style:{position:"absolute",left:Pe,top:0,width:$o,height:a+i,background:"var(--vg-bg-frozen, var(--vg-bg-group))",borderRight:"1px solid var(--vg-border-strong)",borderBottom:"1px solid var(--vg-border-strong)",zIndex:2,boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:ze,padding:"0 10px",fontWeight:700,fontSize:"calc(var(--vg-font-size) - 0.5px)",color:"var(--vg-text-group)",overflow:"hidden",whiteSpace:"nowrap",...$.headerCell},children:Hn.label},`ph-frozen-${Hn.id}`))}}else G.forEach((Be,ze)=>{we.push(f.jsx(Hr,{column:Be,...Kr(Be),isFirst:ze===0,isLast:ze===G.length-1,style:{position:"absolute",left:me[ze],top:0,width:Be.width,height:i,zIndex:2,background:"var(--vg-bg-header)"}},`ph-${Be.id}`))}),pe&&Hn&&we.push(f.jsx(Hr,{column:Hn,...Kr(Hn),style:{position:"absolute",left:Pe,top:0,width:$o,height:i,zIndex:2,background:"var(--vg-bg-frozen, var(--vg-accent-bg))"}},`ph-frozen-${Hn.id}`));return f.jsxs("div",{style:{position:"absolute",[F]:0,top:0,width:ce,height:"100%",zIndex:20,pointerEvents:"none"},children:[f.jsx("div",{ref:H?No:lp,style:{position:"absolute",top:0,left:0,width:ce,height:cn,pointerEvents:"auto"},children:f.jsx("div",{style:{position:"absolute",top:0,left:0,width:ce,height:cn,background:"var(--vg-bg-header)",borderBottom:"1px solid var(--vg-border-strong)",zIndex:10,overflow:"visible"},children:we})}),f.jsx("div",{"aria-hidden":"true",style:{position:"absolute",[H?"right":"left"]:-8,top:0,width:8,height:"100%",pointerEvents:"none",zIndex:15,background:H?"linear-gradient(to right, rgba(0,0,0,0.08), transparent)":"linear-gradient(to left, rgba(0,0,0,0.08), transparent)"}})]},`layer-${F}`)},OD=f.jsxs("span",{style:{fontSize:12,color:"var(--vg-text-dim)",fontWeight:500},children:[$e.length.toLocaleString()," ",L.rows,V.size>0&&f.jsxs("span",{style:{marginLeft:8,color:"var(--vg-accent)",fontWeight:600},children:["· ",V.size.toLocaleString()," ",L.selected]})]}),DD=yp?g.columnManager?g.columnManager({engine:X,onClose:()=>tc(!1)}):f.jsx(VE,{onClose:()=>tc(!1)}):null,AD=(se=D.columnsPanel)!=null?se:f.jsx(UE,{}),wp={startRow:Un.startIndex+1,endRow:Math.min(Un.endIndex+1,$e.length),totalRows:$e.length,visibleCols:de.length,totalCols:We.length},Sp=cn+$e.length*s;return f.jsx(jE,{value:vD,children:f.jsxs("div",{ref:Ie,role:"grid","aria-label":S,"aria-rowcount":$e.length,"aria-colcount":de.length,onKeyDown:ft.handleKeyDown,className:[Y.root,j].filter(Boolean).join(" ")||void 0,style:{...bD,fontFamily:"var(--vg-font)",fontSize:"var(--vg-font-size)",lineHeight:"var(--vg-line-height)",background:"var(--vg-bg)",border:"1px solid var(--vg-border-strong)",borderRadius:"var(--vg-radius)",overflow:"hidden",display:"flex",flexDirection:"column",height:aD,position:"relative",...$.root,..._},children:[f.jsx("div",{"aria-live":"polite","aria-atomic":"true",style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},children:uD}),E.toolbar&&(g.toolbar?g.toolbar(X):f.jsx(WE,{left:(ue=g.toolbarLeft)!=null?ue:OD,right:g.toolbarRight,colManagerSlot:f.jsxs(f.Fragment,{children:[f.jsx(zE,{onClick:()=>tc(F=>!F),active:yp,icon:AD,"aria-label":L.manageColumns,children:L.columns}),DD]})})),f.jsx("div",{ref:j0,style:{position:"relative",flex:1,overflow:"hidden"},children:$e.length===0?f.jsx(FE,{height:Yr,slot:g.emptyState}):f.jsxs(f.Fragment,{children:[f.jsx("div",{ref:Ce,onScroll:Vs,style:{position:"absolute",inset:0,overflowX:"auto",overflowY:Sp>Yr?"auto":"hidden",scrollbarWidth:"thin",scrollbarColor:"var(--vg-scrollbar-thumb) var(--vg-scrollbar-track)",willChange:"scroll-position"},children:f.jsxs("div",{style:{width:or,height:Sp,position:"relative"},children:[f.jsx("div",{style:{position:"sticky",top:0,width:or,height:cn,zIndex:8,background:"var(--vg-bg-header)",borderBottom:"1px solid var(--vg-border-strong)",...$.headerRow},children:je?f.jsxs(f.Fragment,{children:[f.jsx("div",{role:"row",style:{position:"absolute",top:0,left:0,width:or,height:a,overflow:"visible"},children:wD()}),f.jsx("div",{role:"row",style:{position:"absolute",top:a,left:0,width:or,height:i,overflow:"visible"},children:SD()})]}):f.jsx("div",{role:"row",style:{position:"absolute",top:0,left:0,width:or,height:i,overflow:"visible"},children:kD()})}),On&&f.jsx("div",{ref:Mn,style:{position:"sticky",left:q,marginLeft:q+lD,width:$o,height:$e.length*s,zIndex:6,visibility:N0!==null?"visible":"hidden",pointerEvents:N0!==null?"auto":"none"},children:MD()}),Array.from({length:Math.max(0,Un.endIndex-Un.startIndex+1)},(F,H)=>ED(Un.startIndex+H))]})}),xp("left"),xp("right"),b&&f.jsx("div",{style:{position:"absolute",inset:0,background:"rgba(255,255,255,0.6)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:50,backdropFilter:"blur(1px)"},children:(B=g.loadingOverlay)!=null?B:f.jsx("div",{style:{padding:"10px 20px",borderRadius:6,background:"var(--vg-bg)",border:"1px solid var(--vg-border-strong)",fontSize:13,color:"var(--vg-text-dim)",fontFamily:"var(--vg-font)"},children:L.loading})})]})}),E.footer&&(g.footer?g.footer(wp):f.jsx(HE,{...wp})),Ws.dragState.draggingId&&(()=>{var F;const{draggingId:H}=Ws.dragState,G=de.find(ce=>ce.id===H);if(!G)return null;const J=(F=j0.current)==null?void 0:F.getBoundingClientRect();if(!J)return null;const pe=G.align==="center"?"center":G.align==="right"?"flex-end":"flex-start";return f.jsx(f.Fragment,{children:f.jsxs("div",{ref:Ws.registerGhost,style:{position:"fixed",top:J.top,width:G.width,height:J.height,zIndex:9999,pointerEvents:"none",boxShadow:"0 6px 24px rgba(0,0,0,0.20)",borderRadius:4,overflow:"hidden",background:"var(--vg-bg)"},children:[f.jsx("div",{style:{height:cn,background:"var(--vg-bg-header)",borderBottom:"1px solid var(--vg-border-strong)",display:"flex",alignItems:"center",justifyContent:pe,padding:"0 8px",fontWeight:600,fontSize:"var(--vg-font-size)",color:"var(--vg-text-header)",boxSizing:"border-box",overflow:"hidden",whiteSpace:"nowrap"},children:G.label}),Array.from({length:Un.endIndex-Un.startIndex+1},(ce,me)=>{var Oe;const Pe=Un.startIndex+me,we=$e[Pe];if(!we)return null;if(we.type==="group")return f.jsxs("div",{style:{height:s,display:"flex",alignItems:"center",padding:`0 10px 0 ${10+we.depth*18}px`,fontSize:"var(--vg-font-size)",fontWeight:700,color:"var(--vg-text)",borderBottom:"1px solid var(--vg-border)",boxSizing:"border-box",overflow:"hidden",whiteSpace:"nowrap",background:"var(--vg-bg-row-alt)"},children:[String(we.groupingValue)," (",we.leafRowCount,")"]},we.id);const Be=we.row,ze=G.accessor?G.accessor(Be):Be[(Oe=G.field)!=null?Oe:G.id],Ke=G.renderCell?G.renderCell(ze,Be):ze??"—";return f.jsx("div",{style:{height:s,display:"flex",alignItems:"center",justifyContent:pe,padding:"0 10px",fontSize:"var(--vg-font-size)",color:"var(--vg-text)",borderBottom:"1px solid var(--vg-border)",boxSizing:"border-box",overflow:"hidden",whiteSpace:"nowrap",background:bp(Be,we.rowIndex)},children:Ke},Pe)})]})})})()]})})}const rM=p.memo(nM);p.memo(function({currentPage:t,pageCount:n,totalRows:r,startIndex:o,endIndex:s,pageSize:i,pageSizeOptions:a,canGoPrev:l,canGoNext:c,goToPage:u,nextPage:d,prevPage:h,firstPage:m,lastPage:g,setPageSize:C}){const b=oM(t,n);return f.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:12,padding:"8px 12px",background:"var(--vg-bg-toolbar)",borderTop:"1px solid var(--vg-border)",borderRadius:"0 0 var(--vg-radius) var(--vg-radius)",fontFamily:"var(--vg-font)",flexWrap:"wrap"},children:[f.jsxs("span",{style:{fontSize:12,color:"var(--vg-text-dim)",fontFamily:"var(--vg-font-mono)",flexShrink:0},children:[(o+1).toLocaleString(),"–",Math.min(s+1,r).toLocaleString()," of"," ",r.toLocaleString()," rows"]}),f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:3},children:[f.jsx(E0,{onClick:m,disabled:!l,title:"First page",children:f.jsx(m1,{left:!0})}),f.jsx(E0,{onClick:h,disabled:!l,title:"Previous page",children:f.jsx(h1,{left:!0})}),b.map((v,k)=>v==="…"?f.jsx("span",{style:{padding:"0 4px",fontSize:12,color:"var(--vg-text-dim)"},children:"…"},`ellipsis-${k}`):f.jsx("button",{onClick:()=>u(v),"aria-current":v===t?"page":void 0,style:{minWidth:28,height:28,padding:"0 6px",borderRadius:"var(--vg-radius-xs)",border:`1px solid ${v===t?"var(--vg-accent)":"var(--vg-border-strong)"}`,background:v===t?"var(--vg-accent-bg)":"var(--vg-bg-btn)",color:v===t?"var(--vg-accent-text)":"var(--vg-text)",fontWeight:v===t?700:500,fontSize:12,cursor:"pointer",fontFamily:"var(--vg-font-mono)",lineHeight:1,transition:"all var(--vg-transition)"},children:v},v)),f.jsx(E0,{onClick:d,disabled:!c,title:"Next page",children:f.jsx(h1,{})}),f.jsx(E0,{onClick:g,disabled:!c,title:"Last page",children:f.jsx(m1,{})})]}),f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:7,flexShrink:0},children:[f.jsx("span",{style:{fontSize:12,color:"var(--vg-text-dim)"},children:"Rows per page"}),f.jsx("select",{value:i,onChange:v=>C(Number(v.target.value)),style:{padding:"3px 6px",borderRadius:"var(--vg-radius-xs)",border:"1px solid var(--vg-border-strong)",background:"var(--vg-bg-btn)",color:"var(--vg-text)",fontSize:12,cursor:"pointer",fontFamily:"var(--vg-font)",outline:"none"},children:a.map(v=>f.jsx("option",{value:v,children:v},v))})]})]})});function E0({onClick:e,disabled:t,title:n,children:r}){return f.jsx("button",{onClick:e,disabled:t,title:n,style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"var(--vg-radius-xs)",border:"1px solid var(--vg-border-strong)",background:"var(--vg-bg-btn)",color:t?"var(--vg-text-dim)":"var(--vg-text)",cursor:t?"not-allowed":"pointer",opacity:t?.45:1,transition:"all var(--vg-transition)",padding:0},children:r})}function h1({left:e=!1}){return f.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",style:{transform:e?"rotate(180deg)":void 0},children:f.jsx("path",{d:"M4.5 2.5L7.5 6l-3 3.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function m1({left:e=!1}){return f.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",style:{transform:e?"rotate(180deg)":void 0},children:f.jsx("path",{d:"M7 2.5L4 6l3 3.5M10 2.5L7 6l3 3.5",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function oM(e,t){if(t<=7)return Array.from({length:t},(s,i)=>i+1);const n=[];n.push(1);const r=Math.max(2,e-1),o=Math.min(t-1,e+1);r>2&&n.push("…");for(let s=r;s<=o;s++)n.push(s);return o<t-1&&n.push("…"),n.push(t),n}function sM({engine:e,onClose:t}){const{orderedColumns:n,toggleColumnVisibility:r,pinColumn:o,showAllColumns:s,resetColumns:i}=e,[a,l]=p.useState(""),c=p.useMemo(()=>n.filter(d=>d.label.toLowerCase().includes(a.toLowerCase())),[n,a]),u=n.filter(d=>d.hidden).length;return f.jsxs("div",{style:{display:"flex",flexDirection:"column",fontFamily:'var(--vg-font, "DM Sans", sans-serif)',fontSize:"var(--vg-font-size, 12.5px)",background:"var(--vg-bg-panel, #fff)",border:"1px solid var(--vg-border-strong, #d1d5db)",borderRadius:"var(--vg-radius, 7px)",boxShadow:"var(--vg-shadow-panel, 0 8px 24px rgba(0,0,0,0.1))",overflow:"hidden",minWidth:240},children:[f.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 14px 8px",borderBottom:"1px solid var(--vg-border, #e5e7eb)",gap:8,flexShrink:0},children:[f.jsxs("span",{style:{fontWeight:700,fontSize:11,textTransform:"uppercase",letterSpacing:"0.08em",color:"var(--vg-text-dim, #6b7280)"},children:["Columns",u>0&&f.jsxs("span",{style:{marginLeft:6,background:"var(--vg-accent-bg, #dbeafe)",color:"var(--vg-accent-text, #1d4ed8)",borderRadius:10,padding:"1px 6px",fontSize:10},children:[u," hidden"]})]}),f.jsxs("div",{style:{display:"flex",gap:6},children:[u>0&&f.jsx("button",{onClick:s,style:{background:"none",border:"none",cursor:"pointer",fontSize:11,color:"var(--vg-accent, #2563eb)",fontWeight:600,fontFamily:"var(--vg-font, sans-serif)",padding:"2px 4px"},children:"Show all"}),f.jsx("button",{onClick:i,style:{background:"none",border:"none",cursor:"pointer",fontSize:11,color:"var(--vg-text-dim, #6b7280)",fontFamily:"var(--vg-font, sans-serif)",padding:"2px 4px"},children:"Reset"})]})]}),f.jsx("div",{style:{padding:"8px 14px",borderBottom:"1px solid var(--vg-border, #e5e7eb)",flexShrink:0},children:f.jsx("input",{value:a,onChange:d=>l(d.target.value),placeholder:"Search columns…",style:{width:"100%",padding:"5px 9px",border:"1px solid var(--vg-border-strong, #d1d5db)",borderRadius:"var(--vg-radius-sm, 4px)",background:"var(--vg-bg, #fff)",color:"var(--vg-text, #111827)",fontSize:12,outline:"none",fontFamily:"var(--vg-font, sans-serif)",boxSizing:"border-box"}})}),f.jsxs("div",{style:{overflow:"auto",flex:1,maxHeight:320},children:[c.map(d=>{var h;return f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"6px 14px",borderBottom:"1px solid var(--vg-border, #e5e7eb)",transition:"background 0.1s"},onMouseEnter:m=>m.currentTarget.style.background="var(--vg-bg-row-hover, #f0f5ff)",onMouseLeave:m=>m.currentTarget.style.background="transparent",children:[f.jsx("input",{type:"checkbox",id:`vcm-${d.id}`,checked:!d.hidden,onChange:()=>r(d.id),style:{accentColor:"var(--vg-accent, #2563eb)",cursor:"pointer",width:13,height:13,flexShrink:0}}),f.jsx("label",{htmlFor:`vcm-${d.id}`,style:{flex:1,cursor:"pointer",color:d.hidden?"var(--vg-text-dim, #6b7280)":"var(--vg-text, #111827)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:d.label}),f.jsxs("select",{value:(h=d.pinned)!=null?h:"",onChange:m=>o(d.id,m.target.value||null),style:{fontSize:11,padding:"2px 5px",background:"var(--vg-bg-btn, #f3f4f6)",color:"var(--vg-text, #111827)",border:"1px solid var(--vg-border-strong, #d1d5db)",borderRadius:"var(--vg-radius-xs, 3px)",cursor:"pointer",fontFamily:"var(--vg-font, sans-serif)",outline:"none"},children:[f.jsx("option",{value:"",children:"No pin"}),f.jsx("option",{value:"left",children:"Pin left"}),f.jsx("option",{value:"right",children:"Pin right"})]})]},d.id)}),c.length===0&&f.jsxs("div",{style:{padding:"20px 14px",textAlign:"center",fontSize:12,color:"var(--vg-text-dim, #6b7280)"},children:['No columns match "',a,'"']})]}),t&&f.jsx("div",{style:{padding:"10px 14px",borderTop:"1px solid var(--vg-border, #e5e7eb)",flexShrink:0},children:f.jsx("button",{onClick:t,style:{width:"100%",padding:"7px 12px",background:"var(--vg-accent, #2563eb)",color:"var(--vg-accent-fg, #fff)",border:"none",borderRadius:"var(--vg-radius-sm, 4px)",cursor:"pointer",fontWeight:600,fontSize:"var(--vg-font-size, 12.5px)",fontFamily:"var(--vg-font, sans-serif)"},children:"Done"})})]})}function iM(){const[e,t]=p.useState(!1),n=p.useRef(null),[r,o]=p.useState(!1),s=p.useCallback(()=>t(!0),[]),i=p.useCallback(()=>t(!1),[]),a=p.useCallback(()=>t(u=>!u),[]),l=p.useCallback(u=>{n.current=u,r||o(!0)},[r]),c=p.useCallback(({render:u,onClose:d,style:h,className:m})=>{const g=n.current;return g?u?f.jsx("div",{style:h,className:m,children:u({engine:g,close:i})}):f.jsx("div",{style:h,className:m,children:f.jsx(sM,{engine:g,onClose:d})}):null},[r,i]);return{isOpen:e,open:s,close:i,toggle:a,captureEngine:l,engine:n.current,ColumnManagerPanel:c}}function aM(e){return Ft("MuiPagination",e)}Vt("MuiPagination",["root","ul","outlined","text"]);function lM(e={}){const{boundaryCount:t=1,componentName:n="usePagination",count:r=1,defaultPage:o=1,disabled:s=!1,hideNextButton:i=!1,hidePrevButton:a=!1,onChange:l,page:c,showFirstButton:u=!1,showLastButton:d=!1,siblingCount:h=1,...m}=e,[g,C]=Aw({controlled:c,default:o,name:n,state:"page"}),b=(P,R)=>{c||C(R),l&&l(P,R)},v=(P,R)=>{const W=R-P+1;return Array.from({length:W},(S,j)=>P+j)},k=v(1,Math.min(t,r)),w=v(Math.max(r-t+1,t+1),r),x=Math.max(Math.min(g-h,r-t-h*2-1),t+2),T=Math.min(Math.max(g+h,t+h*2+2),r-t-1),M=[...u?["first"]:[],...a?[]:["previous"],...k,...x>t+2?["start-ellipsis"]:t+1<r-t?[t+1]:[],...v(x,T),...T<r-t-1?["end-ellipsis"]:r-t>t?[r-t]:[],...w,...i?[]:["next"],...d?["last"]:[]],A=P=>{switch(P){case"first":return 1;case"previous":return g-1;case"next":return g+1;case"last":return r;default:return null}};return{items:M.map(P=>typeof P=="number"?{onClick:R=>{b(R,P)},type:"page",page:P,selected:P===g,disabled:s,"aria-current":P===g?"page":void 0}:{onClick:R=>{b(R,A(P))},type:P,page:A(P),selected:!1,disabled:s||!P.includes("ellipsis")&&(P==="next"||P==="last"?g>=r:g<=1)}),...m}}function cM(e){return Ft("MuiPaginationItem",e)}const Yt=Vt("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),uM=y.oneOfType([y.func,y.object]);function dM(e){const{prototype:t={}}=e;return!!t.isReactComponent}function fM(e,t,n,r,o){const s=e[t],i=o||t;if(s==null||typeof window>"u")return null;let a;return typeof s=="function"&&!dM(s)&&(a="Did you accidentally provide a plain function component instead?"),s===Z.Fragment&&(a="Did you accidentally provide a React.Fragment instead?"),a!==void 0?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${a} For more information see https://v7.mui.com/r/caveat-with-refs-guide`):null}const pM=Ts(y.elementType,fM);function g1(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!window.navigator.userAgent.includes("jsdom")&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
65
+ `))}return!1}const y1={};function C1(e,t){const n=Z.useRef(y1);return n.current===y1&&(n.current=e(t)),n}class M0{static create(){return new M0}static use(){const t=C1(M0.create).current,[n,r]=Z.useState(!1);return t.shouldMount=n,t.setShouldMount=r,Z.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=mM(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function hM(){return M0.use()}function mM(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}const gM=[];function yM(e){Z.useEffect(e,gM)}class Rl{static create(){return new Rl}currentId=null;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function CM(){const e=C1(Rl.create).current;return yM(e.disposeEffect),e}function b1(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:i,in:a,onExited:l,timeout:c}=e,[u,d]=Z.useState(!1),h=Xe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:i,height:i,top:-(i/2)+s,left:-(i/2)+o},g=Xe(n.child,u&&n.childLeaving,r&&n.childPulsate);return!a&&!u&&d(!0),Z.useEffect(()=>{if(!a&&l!=null){const C=setTimeout(l,c);return()=>{clearTimeout(C)}}},[l,a,c]),f.jsx("span",{className:h,style:m,children:f.jsx("span",{className:g})})}process.env.NODE_ENV!=="production"&&(b1.propTypes={classes:y.object.isRequired,className:y.string,in:y.bool,onExited:y.func,pulsate:y.bool,rippleSize:y.number,rippleX:y.number,rippleY:y.number,timeout:y.number.isRequired});const yn=Vt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_l=550,bM=80,vM=sr.keyframes`
66
66
  0% {
67
67
  transform: scale(0);
68
68
  opacity: 0.1;
@@ -72,7 +72,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
72
72
  transform: scale(1);
73
73
  opacity: 0.3;
74
74
  }
75
- `,vM=sr.keyframes`
75
+ `,xM=sr.keyframes`
76
76
  0% {
77
77
  opacity: 1;
78
78
  }
@@ -80,7 +80,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
80
80
  100% {
81
81
  opacity: 0;
82
82
  }
83
- `,xM=sr.keyframes`
83
+ `,wM=sr.keyframes`
84
84
  0% {
85
85
  transform: scale(1);
86
86
  }
@@ -92,14 +92,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
92
92
  100% {
93
93
  transform: scale(1);
94
94
  }
95
- `,wM=Ue("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),SM=Ue(b1,{name:"MuiTouchRipple",slot:"Ripple"})`
95
+ `,SM=Ue("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),kM=Ue(b1,{name:"MuiTouchRipple",slot:"Ripple"})`
96
96
  opacity: 0;
97
97
  position: absolute;
98
98
 
99
99
  &.${yn.rippleVisible} {
100
100
  opacity: 0.3;
101
101
  transform: scale(1);
102
- animation-name: ${bM};
102
+ animation-name: ${vM};
103
103
  animation-duration: ${_l}ms;
104
104
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
105
105
  }
@@ -119,7 +119,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
119
119
 
120
120
  & .${yn.childLeaving} {
121
121
  opacity: 0;
122
- animation-name: ${vM};
122
+ animation-name: ${xM};
123
123
  animation-duration: ${_l}ms;
124
124
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
125
125
  }
@@ -129,14 +129,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
129
129
  /* @noflip */
130
130
  left: 0px;
131
131
  top: 0;
132
- animation-name: ${xM};
132
+ animation-name: ${wM};
133
133
  animation-duration: 2500ms;
134
134
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
135
135
  animation-iteration-count: infinite;
136
136
  animation-delay: 200ms;
137
137
  }
138
- `,v1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:s={},className:i,...a}=r,[l,c]=Z.useState([]),u=Z.useRef(0),d=Z.useRef(null);Z.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const h=Z.useRef(!1),m=yM(),g=Z.useRef(null),C=Z.useRef(null),b=Z.useCallback(x=>{const{pulsate:T,rippleX:M,rippleY:A,rippleSize:I,cb:P}=x;c(R=>[...R,f.jsx(SM,{classes:{ripple:Xe(s.ripple,yn.ripple),rippleVisible:Xe(s.rippleVisible,yn.rippleVisible),ripplePulsate:Xe(s.ripplePulsate,yn.ripplePulsate),child:Xe(s.child,yn.child),childLeaving:Xe(s.childLeaving,yn.childLeaving),childPulsate:Xe(s.childPulsate,yn.childPulsate)},timeout:_l,pulsate:T,rippleX:M,rippleY:A,rippleSize:I},u.current)]),u.current+=1,d.current=P},[s]),v=Z.useCallback((x={},T={},M=()=>{})=>{const{pulsate:A=!1,center:I=o||T.pulsate,fakeElement:P=!1}=T;if(x?.type==="mousedown"&&h.current){h.current=!1;return}x?.type==="touchstart"&&(h.current=!0);const R=P?null:C.current,W=R?R.getBoundingClientRect():{width:0,height:0,left:0,top:0};let S,j,_;if(I||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)S=Math.round(W.width/2),j=Math.round(W.height/2);else{const{clientX:N,clientY:U}=x.touches&&x.touches.length>0?x.touches[0]:x;S=Math.round(N-W.left),j=Math.round(U-W.top)}if(I)_=Math.sqrt((2*W.width**2+W.height**2)/3),_%2===0&&(_+=1);else{const N=Math.max(Math.abs((R?R.clientWidth:0)-S),S)*2+2,U=Math.max(Math.abs((R?R.clientHeight:0)-j),j)*2+2;_=Math.sqrt(N**2+U**2)}x?.touches?g.current===null&&(g.current=()=>{b({pulsate:A,rippleX:S,rippleY:j,rippleSize:_,cb:M})},m.start(CM,()=>{g.current&&(g.current(),g.current=null)})):b({pulsate:A,rippleX:S,rippleY:j,rippleSize:_,cb:M})},[o,b,m]),k=Z.useCallback(()=>{v({},{pulsate:!0})},[v]),w=Z.useCallback((x,T)=>{if(m.clear(),x?.type==="touchend"&&g.current){g.current(),g.current=null,m.start(0,()=>{w(x,T)});return}g.current=null,c(M=>M.length>0?M.slice(1):M),d.current=T},[m]);return Z.useImperativeHandle(n,()=>({pulsate:k,start:v,stop:w}),[k,v,w]),f.jsx(wM,{className:Xe(yn.root,s.root,i),ref:C,...a,children:f.jsx(Za,{component:null,exit:!0,children:l})})});process.env.NODE_ENV!=="production"&&(v1.propTypes={center:y.bool,classes:y.object,className:y.string});function kM(e){return Ft("MuiButtonBase",e)}const TM=Vt("MuiButtonBase",["root","disabled","focusVisible"]),EM=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Jt({root:["root",t&&"disabled",n&&"focusVisible"]},kM,o);return n&&r&&(i.root+=` ${r}`),i},MM=Ue("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${TM.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Bl=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:s=!1,children:i,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:h=!1,focusVisibleClassName:m,LinkComponent:g="a",onBlur:C,onClick:b,onContextMenu:v,onDragLeave:k,onFocus:w,onFocusVisible:x,onKeyDown:T,onKeyUp:M,onMouseDown:A,onMouseLeave:I,onMouseUp:P,onTouchEnd:R,onTouchMove:W,onTouchStart:S,tabIndex:j=0,TouchRippleProps:_,touchRippleRef:N,type:U,...se}=r,ue=Z.useRef(null),B=pM(),E=Rr(B.ref,N),[D,L]=Z.useState(!1);c&&D&&L(!1),Z.useImperativeHandle(o,()=>({focusVisible:()=>{L(!0),ue.current.focus()}}),[]);const $=B.shouldMount&&!u&&!c;Z.useEffect(()=>{D&&h&&!u&&B.pulsate()},[u,h,D,B]);const Y=nr(B,"start",A,d),re=nr(B,"stop",v,d),he=nr(B,"stop",k,d),oe=nr(B,"stop",P,d),X=nr(B,"stop",ge=>{D&&ge.preventDefault(),I&&I(ge)},d),te=nr(B,"start",S,d),ie=nr(B,"stop",R,d),Q=nr(B,"stop",W,d),q=nr(B,"stop",ge=>{g1(ge.target)||L(!1),C&&C(ge)},!1),xe=ko(ge=>{ue.current||(ue.current=ge.currentTarget),g1(ge.target)&&(L(!0),x&&x(ge)),w&&w(ge)}),ke=()=>{const ge=ue.current;return ge?ge.tagName==="BUTTON"?!1:!(ge.tagName==="A"&&ge.href):l&&l!=="button"},ve=ko(ge=>{h&&!ge.repeat&&D&&ge.key===" "&&B.stop(ge,()=>{B.start(ge)}),ge.target===ge.currentTarget&&ke()&&ge.key===" "&&ge.preventDefault(),T&&T(ge),ge.target===ge.currentTarget&&ke()&&ge.key==="Enter"&&!c&&(ge.preventDefault(),b&&b(ge))}),ae=ko(ge=>{h&&ge.key===" "&&D&&!ge.defaultPrevented&&B.stop(ge,()=>{B.pulsate(ge)}),M&&M(ge),b&&ge.target===ge.currentTarget&&ke()&&ge.key===" "&&!ge.defaultPrevented&&!c&&b(ge)});let je=l;je==="button"&&(se.href||se.to)&&(je=g);const de={};if(je==="button"){const ge=!!se.formAction;de.type=U===void 0&&!ge?"button":U,de.disabled=c}else!se.href&&!se.to&&(de.role="button"),c&&(de["aria-disabled"]=c);const We=Rr(n,ue),He={...r,centerRipple:s,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:h,tabIndex:j,focusVisible:D},dt=EM(He);return f.jsxs(MM,{as:je,className:Xe(dt.root,a),ownerState:He,onBlur:q,onClick:b,onContextMenu:re,onFocus:xe,onKeyDown:ve,onKeyUp:ae,onMouseDown:Y,onMouseLeave:X,onMouseUp:oe,onDragLeave:he,onTouchEnd:ie,onTouchMove:Q,onTouchStart:te,ref:We,tabIndex:c?-1:j,type:U,...de,...se,children:[i,$?f.jsx(v1,{ref:E,center:s,..._}):null]})});function nr(e,t,n,r=!1){return ko(o=>(n&&n(o),r||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(Bl.propTypes={action:cM,centerRipple:y.bool,children:y.node,classes:y.object,className:y.string,component:fM,disabled:y.bool,disableRipple:y.bool,disableTouchRipple:y.bool,focusRipple:y.bool,focusVisibleClassName:y.string,formAction:y.oneOfType([y.func,y.string]),href:y.any,LinkComponent:y.elementType,onBlur:y.func,onClick:y.func,onContextMenu:y.func,onDragLeave:y.func,onFocus:y.func,onFocusVisible:y.func,onKeyDown:y.func,onKeyUp:y.func,onMouseDown:y.func,onMouseLeave:y.func,onMouseUp:y.func,onTouchEnd:y.func,onTouchMove:y.func,onTouchStart:y.func,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),tabIndex:y.number,TouchRippleProps:y.object,touchRippleRef:y.oneOfType([y.func,y.shape({current:y.shape({pulsate:y.func.isRequired,start:y.func.isRequired,stop:y.func.isRequired})})]),type:y.oneOfType([y.oneOf(["button","reset","submit"]),y.string])});function OM(e){return typeof e.main=="string"}function DM(e,t=[]){if(!OM(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function O0(e=[]){return([,t])=>t&&DM(t,e)}const AM=Ss(f.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),IM=Ss(f.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),PM=Ss(f.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),LM=Ss(f.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),x1=(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Ne(n.size)}`],n.variant==="text"&&t[`text${Ne(n.color)}`],n.variant==="outlined"&&t[`outlined${Ne(n.color)}`],n.shape==="rounded"&&t.rounded,n.type==="page"&&t.page,(n.type==="start-ellipsis"||n.type==="end-ellipsis")&&t.ellipsis,(n.type==="previous"||n.type==="next")&&t.previousNext,(n.type==="first"||n.type==="last")&&t.firstLast]},jM=e=>{const{classes:t,color:n,disabled:r,selected:o,size:s,shape:i,type:a,variant:l}=e,c={root:["root",`size${Ne(s)}`,l,i,n!=="standard"&&`color${Ne(n)}`,n!=="standard"&&`${l}${Ne(n)}`,r&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[a]],icon:["icon"]};return Jt(c,lM,t)},RM=Ue("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:x1})(Qt(({theme:e})=>({...e.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${Yt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),_M=Ue(Bl,{name:"MuiPaginationItem",slot:"Root",overridesResolver:x1})(Qt(({theme:e})=>({...e.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${Yt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Yt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Yt.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Yt.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},[`&.${Yt.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${Yt.selected}`]:{[`&.${Yt.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${Yt.selected}`]:{[`&.${Yt.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter(O0(["dark","contrastText"])).map(([t])=>({props:{variant:"text",color:t},style:{[`&.${Yt.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${Yt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${Yt.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter(O0(["light"])).map(([t])=>({props:{variant:"outlined",color:t},style:{[`&.${Yt.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.5)}`,backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.activatedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Yt.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))]}))),BM=Ue("div",{name:"MuiPaginationItem",slot:"Icon"})(Qt(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),w1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiPaginationItem"}),{className:o,color:s="standard",component:i,components:a={},disabled:l=!1,page:c,selected:u=!1,shape:d="circular",size:h="medium",slots:m={},slotProps:g={},type:C="page",variant:b="text",...v}=r,k={...r,color:s,disabled:l,selected:u,shape:d,size:h,type:C,variant:b},w=jx(),x=jM(k),T={slots:{previous:m.previous??a.previous,next:m.next??a.next,first:m.first??a.first,last:m.last??a.last},slotProps:g},[M,A]=ln("previous",{elementType:PM,externalForwardedProps:T,ownerState:k}),[I,P]=ln("next",{elementType:LM,externalForwardedProps:T,ownerState:k}),[R,W]=ln("first",{elementType:AM,externalForwardedProps:T,ownerState:k}),[S,j]=ln("last",{elementType:IM,externalForwardedProps:T,ownerState:k}),_=w?{previous:"next",next:"previous",first:"last",last:"first"}[C]:C,N={previous:M,next:I,first:R,last:S}[_],U={previous:A,next:P,first:W,last:j}[_];return C==="start-ellipsis"||C==="end-ellipsis"?f.jsx(RM,{ref:n,ownerState:k,className:Xe(x.root,o),children:"…"}):f.jsxs(_M,{ref:n,ownerState:k,component:i,disabled:l,className:Xe(x.root,o),...v,children:[C==="page"&&c,N?f.jsx(BM,{...U,className:x.icon,as:N}):null]})});process.env.NODE_ENV!=="production"&&(w1.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","standard"]),y.string]),component:y.elementType,components:y.shape({first:y.elementType,last:y.elementType,next:y.elementType,previous:y.elementType}),disabled:y.bool,page:y.node,selected:y.bool,shape:y.oneOf(["circular","rounded"]),size:y.oneOfType([y.oneOf(["small","medium","large"]),y.string]),slotProps:y.shape({first:y.oneOfType([y.func,y.object]),last:y.oneOfType([y.func,y.object]),next:y.oneOfType([y.func,y.object]),previous:y.oneOfType([y.func,y.object])}),slots:y.shape({first:y.elementType,last:y.elementType,next:y.elementType,previous:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),type:y.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:y.oneOfType([y.oneOf(["outlined","text"]),y.string])});const NM=e=>{const{classes:t,variant:n}=e;return Jt({root:["root",n],ul:["ul"]},iM,t)},$M=Ue("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({}),FM=Ue("ul",{name:"MuiPagination",slot:"Ul"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function VM(e,t,n){return e==="page"?`${n?"":"Go to "}page ${t}`:`Go to ${e} page`}const S1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiPagination"}),{boundaryCount:o=1,className:s,color:i="standard",count:a=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:u=VM,hideNextButton:d=!1,hidePrevButton:h=!1,onChange:m,page:g,renderItem:C=R=>f.jsx(w1,{...R}),shape:b="circular",showFirstButton:v=!1,showLastButton:k=!1,siblingCount:w=1,size:x="medium",variant:T="text",...M}=r,{items:A}=aM({...r,componentName:"Pagination"}),I={...r,boundaryCount:o,color:i,count:a,defaultPage:l,disabled:c,getItemAriaLabel:u,hideNextButton:d,hidePrevButton:h,renderItem:C,shape:b,showFirstButton:v,showLastButton:k,siblingCount:w,size:x,variant:T},P=NM(I);return f.jsx($M,{"aria-label":"pagination navigation",className:Xe(P.root,s),ownerState:I,ref:n,...M,children:f.jsx(FM,{className:P.ul,ownerState:I,children:A.map((R,W)=>f.jsx("li",{children:C({...R,color:i,"aria-label":u(R.type,R.page,R.selected),shape:b,size:x,variant:T})},W))})})});process.env.NODE_ENV!=="production"&&(S1.propTypes={boundaryCount:Oo,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","standard"]),y.string]),count:Oo,defaultPage:Oo,disabled:y.bool,getItemAriaLabel:y.func,hideNextButton:y.bool,hidePrevButton:y.bool,onChange:y.func,page:Oo,renderItem:y.func,shape:y.oneOf(["circular","rounded"]),showFirstButton:y.bool,showLastButton:y.bool,siblingCount:Oo,size:y.oneOfType([y.oneOf(["small","medium","large"]),y.string]),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["outlined","text"]),y.string])});const D0=({pagination:e,gridPath:t,baseUrl:n,t:r})=>{const{selectedPage:o,rowPerPage:s,totalRecords:i,onPageChange:a,onPageSizeChange:l}=e,c=O.useTheme(),u=async(m,g)=>{if(!g)return;const C=g.split("/").filter(Boolean),b="settings",k={...JSON.parse(localStorage.getItem(b))||{}};let w=k;for(let x=0;x<C.length;x++){const T=C[x];x===C.length-1?w[T]={...w[T]||{},pageSize:m}:(w[T]={...w[T]||{}},w=w[T])}localStorage.setItem(b,JSON.stringify(k)),await zr({baseUrl:n,payload:k})},d=i===0?0:(o-1)*s+1,h=Math.min(o*s,i);return f.jsxs(O.Box,{sx:{display:"flex",p:"1rem 1.5rem"},children:[f.jsxs(O.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:"0.5rem",width:"100%"},children:[f.jsx(O.Typography,{sx:{fontSize:"1.1rem",color:c.palette.primary.notifyTextColor},children:r("SHOWING_ROWS",{start:d,end:h,current:Math.min(o*s,i),total:i})}),f.jsx(O.Box,{sx:{"& .MuiInputBase-input":{padding:"0rem 0.8rem!important"},width:"6rem"},children:f.jsx(co,{options:Qg,value:s,onChange:async m=>{l(m),u(m?.value,t)}})})]}),f.jsx(S1,{count:Math.ceil(i/s),page:o,onChange:async(m,g)=>{a(g)},siblingCount:0,shape:"rounded",sx:{width:"100%","& .MuiPagination-ul":{width:"100%",display:"flex",justifyContent:"flex-end","& li:first-of-type":{border:`0.1rem solid ${c.palette.primary.notifyBorderColor}`,color:c.palette.primary.notifyActiveText,marginRight:"1.5rem",borderRadius:"1rem",width:"3rem",height:"3rem",justifyContent:"center",alignItems:"center",display:"flex"},"& li:last-child":{border:`0.1rem solid ${c.palette.primary.notifyBorderColor}`,color:c.palette.primary.notifyActiveText,marginLeft:"1.5rem",borderRadius:"1rem",width:"3rem",height:"3rem",justifyContent:"center",alignItems:"center",display:"flex"}},"& .MuiPaginationItem-root":{color:"#595959",fontSize:"1.1rem",borderRadius:"1rem",width:"3rem",height:"3rem",justifyContent:"center",alignItems:"center",display:"flex","& .MuiSvgIcon-root":{fontSize:"2.2rem"}},"& .Mui-selected":{color:c.palette.primary.notifyActiveText,backgroundColor:`${c.palette.brandColor.paginationBc} !important`}}})]})};D0.propTypes={pagination:y.object.isRequired},O.styled(O.Dialog)(({theme:e})=>({"& .MuiPaper-root":{borderRadius:8,border:`1px solid ${e.palette.primary.notifyBorderColor}`,boxShadow:e.shadows[4],padding:"1rem 1rem 0rem 1rem",backgroundColor:e.palette.primary.notifyBackground}}));const rr=O.styled(O.Typography)(({theme:e})=>({color:e.palette.primary.notifyTextColor,fontSize:"1.1rem"})),WM=O.styled(O.Switch)(({theme:e})=>({width:28,height:16,padding:0,display:"flex","&:active":{"& .MuiSwitch-thumb":{width:15},"& .MuiSwitch-switchBase.Mui-checked":{transform:"translateX(9px)"}},"& .MuiSwitch-switchBase":{padding:2,"&.Mui-checked":{transform:"translateX(12px)",color:"#fff","& + .MuiSwitch-track":{opacity:1,backgroundColor:"#1890ff",...e.applyStyles("dark",{backgroundColor:"#177ddc"})}}},"& .MuiSwitch-thumb":{boxShadow:"0 2px 4px 0 rgb(0 35 11 / 20%)",width:12,height:12,borderRadius:6,transition:e.transitions.create(["width"],{duration:200})},"& .MuiSwitch-track":{borderRadius:16/2,opacity:1,backgroundColor:"rgba(0,0,0,.25)",boxSizing:"border-box",...e.applyStyles("dark",{backgroundColor:"rgba(255,255,255,.35)"})},"& .MuiSwitch-switchBase.Mui-focusVisible":{outline:`2px solid ${e.palette.brandColor.orange}`,outlineOffset:"1px"}})),zM=O.styled(O.Divider)(({theme:e})=>({color:e.palette.primary.notifyTextColor,padding:"0.6rem 0",fontSize:"0.9rem",fontWeight:500,"&::before, &::after":{borderColor:`${e.palette.primary.notifyBorderColor}!important`}})),HM=O.styled(O.Badge)(({theme:e})=>({"& .MuiBadge-badge":{right:3.5,top:1.8,border:`0.1rem solid ${e.palette.primary.notifyBackground}`,padding:"0 1.3px",borderRadius:"50%",backgroundColor:"#D44E40",fontSize:"0.725rem",minWidth:"0.7rem",height:"0.7rem"}}));O.styled(O.TextField)(({theme:e})=>({"& .MuiInputBase-root":{height:"3.52rem"},"& .MuiFormLabel-root":{color:`${e.palette.primary.notifyBorderColor} !important`,fontSize:"1rem",marginTop:"0.4rem"},"& label.Mui-focused":{color:e.palette.primary.notifyTextColor},"& .MuiInput-underline:after":{borderBottomColor:e.palette.primary.notifyBorderColor,borderBottomWidth:"0.1rem"},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:e.palette.primary.notifyBorderColor,borderWidth:"0.1rem"},"&:hover fieldset":{borderColor:e.palette.primary.notifyBorderColor,borderWidth:"0.1rem"},"&.Mui-focused fieldset":{borderColor:e.palette.primary.notifyBorderColor,borderWidth:"0.1rem"}}}));const UM=O.styled(O.Tabs)(({theme:e})=>({minHeight:"2rem","& .MuiTabs-indicator":{height:"0.1rem",backgroundColor:e.palette.primary.notifyActiveText}})),Nl=O.styled(O.Tab)(({theme:e})=>({color:e.palette.primary.notifyActiveText,textTransform:"none",fontWeight:"normal",padding:0,fontSize:"1rem",minHeight:"2rem",paddingBottom:"1rem","&.Mui-selected":{fontWeight:"bold",color:e.palette.primary.notifyActiveText},"&:focus-visible, &.Mui-focusVisible":{outline:`2px solid ${e.palette.brandColor.orange}`,outlineOffset:"1px"}})),A0=O.styled(O.Chip)(({theme:e})=>({"&.MuiChip-outlined":{borderColor:e.palette.primary.notifyBorderColor,color:e.palette.primary.notifyActiveText},height:"2rem",fontSize:"0.9rem",fontWeight:"300",borderColor:e.palette.primary.notifyBorderColor,color:e.palette.primary.notifyActiveText,borderRadius:"0.6rem",padding:"0.2rem","&:hover":{backgroundColor:`${e.palette.brandColor.orange} !important`,color:`${e.palette.brandColor.white} !important`},"&:focus-visible, &.Mui-focusVisible":{outline:`2px solid ${e.palette.brandColor.orange}`,outlineOffset:"1px"}}));function GM(e,t){const n=new Map((t??[]).map(s=>[s.id,s.label])),r=[],o=new Set;for(const s of e)s.label?.trim()&&(s.groupId?(o.has(s.groupId)||(o.add(s.groupId),r.push({isGroup:!0,id:s.groupId,label:n.get(s.groupId)??s.groupId,children:[]})),r.find(i=>i.isGroup&&i.id===s.groupId)?.children.push(s)):r.push({isGroup:!1,...s}));return r}const Ro=({children:e,indent:t=!1,onClick:n,...r})=>{const o=O.useTheme();return f.jsx(O.Stack,{direction:"row",alignItems:"center",gap:"0.5rem",role:n?"button":void 0,tabIndex:n?0:void 0,"data-roving-item":n?!0:void 0,onClick:n,onKeyDown:n?wt(n):void 0,sx:{pl:t?"2.2rem":"0.8rem",pr:"0.8rem",py:"0.4rem",cursor:"pointer",minHeight:"2rem",userSelect:"none","&:hover":{background:s=>s.palette.action?.hover??"rgba(0,0,0,0.04)"},"&:focus-visible, &.Mui-focusVisible":{outline:`1px solid ${o.palette.primary.main}`,outlineOffset:"-2px",boxShadow:"none"}},...r,children:e})},_o=({hidden:e,children:t})=>f.jsx(O.Typography,{sx:{fontSize:"1.1rem",fontWeight:300,color:n=>e?n.palette.primary.notifyTextColor:n.palette.primary.notifyActiveText,overflow:"hidden",textOverflow:"ellipsis",minWidth:0},children:t});function YM({item:e,onDragEnd:t,hiddenIds:n,expandedIds:r,toggleExpand:o,handleGroupToggle:s,handleChildToggle:i,groupAllVisible:a,groupSomeVisible:l}){O.useTheme();const c=hu(),u=r.has(e.id);return f.jsxs(Cu,{value:e,dragListener:!1,dragControls:c,onDragEnd:t,as:"div",whileDrag:{opacity:.75,scale:1.01,zIndex:50},layout:!1,style:{listStyle:"none"},children:[f.jsx(Ro,{onClick:()=>e.children.length===1&&s(e),children:f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"0.5rem",children:[f.jsx(O.Box,{onPointerDown:d=>d.stopPropagation(),onClick:d=>{d.stopPropagation(),o(e.id)},onKeyDown:d=>{d.stopPropagation(),wt(()=>o(e.id))(d)},role:"button",tabIndex:0,"aria-expanded":u,"aria-label":u?"Collapse group":"Expand group",sx:{cursor:"pointer",flexShrink:0,width:"2rem",height:"0.9rem",opacity:.6,display:"flex",alignItems:"center",justifyContent:"center",...xt()},children:f.jsx(Ct,{url:u?Te.ArrowSelectUp:Te.ArrowRight})}),f.jsxs(O.Stack,{direction:"row",gap:"0.5rem",width:"100%",alignItems:"center",children:[f.jsx(O.Box,{onPointerDown:d=>d.stopPropagation(),children:f.jsx(Rn,{sx:{p:0},checked:a(e),indeterminate:l(e),onClick:d=>{d.stopPropagation(),s(e)}})}),f.jsx(_o,{hidden:!a(e)&&!l(e),children:e.label})]})]})}),u&&e.children.map(d=>f.jsx(Ro,{indent:!0,onClick:()=>i(d),children:f.jsxs(O.Stack,{direction:"row",gap:"1rem",width:"100%",children:[f.jsx(O.Box,{sx:{flexShrink:0,width:"1rem",height:"0.9rem"}}),f.jsx(O.Box,{onPointerDown:h=>h.stopPropagation(),children:f.jsx(Rn,{sx:{p:0},checked:!n.has(d.id),onClick:h=>{h.stopPropagation(),i(d)}})}),f.jsx(_o,{hidden:n.has(d.id),children:d.label})]})},d.id))]})}function qM({item:e,onDragEnd:t,hiddenIds:n,handleLeafToggle:r}){const o=hu();return f.jsx(Cu,{value:e,dragListener:!1,dragControls:o,onDragEnd:t,as:"div",whileDrag:{opacity:.75,scale:1.01,zIndex:50},layout:!1,style:{listStyle:"none"},children:f.jsx(Ro,{onClick:()=>r(e),children:f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"0.5rem",children:[f.jsx(O.Box,{sx:{flexShrink:0,width:"2rem",height:"0.9rem"}}),f.jsxs(O.Stack,{direction:"row",gap:"0.5rem",width:"100%",alignItems:"center",children:[f.jsx(O.Box,{onPointerDown:s=>s.stopPropagation(),children:f.jsx(Rn,{sx:{p:0},checked:!n.has(e.id),onClick:s=>{s.stopPropagation(),r(e)}})}),f.jsx(_o,{hidden:n.has(e.id),children:e.label})]})]})})})}const KM=({engine:e,onClose:t})=>{O.useTheme();const{t:n}=p.useContext(Nt),{orderedColumns:r,toggleColumnVisibility:o,showAllColumns:s,resetColumns:i,moveColumnBefore:a,groups:l=[]}=e,c=p.useMemo(()=>r.filter(E=>E.draggable||E.hideable),[r]),[u,d]=p.useState(""),[h,m]=p.useState(new Set),g=p.useRef(null),C=p.useRef(null),b=p.useRef(null);go(g,{onEscape:t,restoreFocus:!0});const{onKeyDown:v}=Ei(C,{orientation:"vertical",onEscape:t});p.useEffect(()=>{b.current?.focus({preventScroll:!0})},[]);const k=E=>{if(E.key!=="ArrowDown")return;const D=C.current?.querySelector("[data-roving-item]");D&&(E.preventDefault(),D.focus({preventScroll:!0}))},w=E=>{if(E.key==="ArrowDown"||E.key==="ArrowUp"){const D=Array.from(C.current?.querySelectorAll("[data-roving-item]")||[]),L=D.indexOf(document.activeElement),$=E.key==="ArrowDown"&&L===D.length-1||E.key==="ArrowUp"&&L===0;if(L!==-1&&$){E.preventDefault(),b.current?.focus({preventScroll:!0});return}}v(E)},[x,T]=p.useState(()=>GM(c,l)),M=p.useRef(x),[A,I]=p.useState(()=>{const E=new Set;return c.forEach(D=>{D.hidden&&E.add(D.id)}),E}),P=E=>m(D=>{const L=new Set(D);return L.has(E)?L.delete(E):L.add(E),L}),R=p.useMemo(()=>c.filter(E=>E.label?.trim()).map(E=>E.id),[c]);R.length>0&&R.every(E=>!A.has(E));const W=E=>E.children.every(D=>!A.has(D.id)),S=E=>E.children.some(D=>!A.has(D.id))&&!E.children.every(D=>!A.has(D.id)),j=E=>{const D=new Set(A),L=E.children.every($=>!D.has($.id));I($=>{const Y=new Set($);return E.children.forEach(re=>L?Y.add(re.id):Y.delete(re.id)),Y}),setTimeout(()=>{E.children.forEach($=>{const Y=D.has($.id);L&&!Y&&o($.id),!L&&Y&&o($.id)})},0)},_=E=>{o(E.id),I(D=>{const L=new Set(D);return L.has(E.id)?L.delete(E.id):L.add(E.id),L})},N=E=>{o(E.id),I(D=>{const L=new Set(D);return L.has(E.id)?L.delete(E.id):L.add(E.id),L})},U=E=>{T(E),M.current=E},se=()=>{const D=M.current.flatMap(L=>L.isGroup?L.children.map($=>$.id):[L.id]);setTimeout(()=>{for(let L=D.length-2;L>=0;L--)a(D[L],D[L+1])},0)},ue=p.useMemo(()=>{if(!u)return x;const E=u.toLowerCase();return x.reduce((D,L)=>{if(L.isGroup){const $=L.label.toLowerCase().includes(E),Y=L.children.filter(re=>re.label.toLowerCase().includes(E));$?D.push(L):Y.length&&D.push({...L,children:Y})}else L.label.toLowerCase().includes(E)&&D.push(L);return D},[])},[x,u]),B={hiddenIds:A,expandedIds:h,toggleExpand:P,handleGroupToggle:j,handleChildToggle:_,handleLeafToggle:N,groupAllVisible:W,groupSomeVisible:S,onDragEnd:se};return f.jsxs(O.Box,{ref:g,role:"dialog","aria-label":n("LABEL_MANAGE_COLUMN"),sx:{display:"flex",flexDirection:"column",height:"100%",background:E=>E.palette.primary.notifyBackground,border:E=>`0.1rem solid ${E.palette.primary.notifyBorderColor}`,overflow:"hidden",py:"1rem"},children:[f.jsx(O.Box,{sx:{flexShrink:0,padding:"0rem 1rem",pb:"0.5rem"},children:f.jsx(ls,{type:"text",inputRef:b,onKeyDown:k,placeholder:n("SEARCH"),value:u,variant:"standard",size:"small",InputProps:{disableUnderline:!0},onChange:E=>d(E.target.value),sx:{background:E=>E.palette.primary.appBackground,borderRadius:"0.8rem",border:E=>`0.1rem solid ${E.palette.primary.notifyBorderColor}`,width:"100%","& .MuiInputBase-input":{padding:"0.5rem 0.8rem!important",height:"1.8rem"}}})}),f.jsx(O.Box,{ref:C,onKeyDown:w,sx:{flex:1,overflowY:"auto",scrollbarWidth:"thin"},children:(u?ue:x).length===0?f.jsx(O.Stack,{justifyContent:"center",alignItems:"center",sx:{height:"3rem"},children:f.jsx(O.Typography,{sx:{color:E=>E.palette.primary.notifyTextColor,fontSize:"1.1rem"},children:n("NO_OPTIONS")})}):u?f.jsx(O.Box,{children:ue.map(E=>E.isGroup?f.jsxs(O.Box,{children:[f.jsx(Ro,{onClick:()=>E.children.length===1&&j(E),children:f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"0.5rem",children:[f.jsx(O.Box,{onClick:D=>{D.stopPropagation(),P(E.id)},onKeyDown:D=>{D.stopPropagation(),wt(()=>P(E.id))(D)},role:"button",tabIndex:0,"aria-expanded":h.has(E.id),"aria-label":h.has(E.id)?"Collapse group":"Expand group",sx:{cursor:"pointer",flexShrink:0,width:"2rem",height:"0.9rem",opacity:.6,display:"flex",alignItems:"center",justifyContent:"center",...xt()},children:f.jsx(Ct,{url:h.has(E.id)?Te.ArrowSelectUp:Te.ArrowRight})}),f.jsxs(O.Stack,{direction:"row",gap:"0.5rem",width:"100%",alignItems:"center",children:[f.jsx(Rn,{sx:{p:0},checked:W(E),indeterminate:S(E),onClick:D=>{D.stopPropagation(),j(E)}}),f.jsx(O.Box,{sx:{flexShrink:0,width:"2rem",height:"0.9rem",opacity:.25,display:"flex",alignItems:"center",justifyContent:"center"}}),f.jsx(_o,{hidden:!W(E)&&!S(E),children:E.label})]})]})}),E.children.map(D=>f.jsx(Ro,{indent:!0,onClick:()=>_(D),children:f.jsxs(O.Stack,{direction:"row",gap:"1rem",width:"100%",children:[f.jsx(O.Box,{sx:{flexShrink:0,width:"1rem",height:"0.9rem"}}),f.jsx(Rn,{sx:{p:0},checked:!A.has(D.id),onClick:L=>{L.stopPropagation(),_(D)}}),f.jsx(_o,{hidden:A.has(D.id),children:D.label})]})},D.id))]},E.id):f.jsx(Ro,{onClick:()=>N(E),children:f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"0.5rem",children:[f.jsx(O.Box,{sx:{flexShrink:0,width:"2rem",height:"0.9rem"}}),f.jsxs(O.Stack,{direction:"row",gap:"0.5rem",width:"100%",alignItems:"center",children:[f.jsx(Rn,{sx:{p:0},checked:!A.has(E.id),onClick:D=>{D.stopPropagation(),N(E)}}),f.jsx(O.Box,{sx:{flexShrink:0,width:"2rem",height:"0.5rem",opacity:.25,display:"flex",alignItems:"center",justifyContent:"center"}}),f.jsx(_o,{hidden:A.has(E.id),children:E.label})]})]})},E.id))}):f.jsx(Pg,{as:"div",axis:"y",values:x,onReorder:U,style:{padding:0,margin:0},children:x.map(E=>E.isGroup?f.jsx(YM,{item:E,...B},E.id):f.jsx(qM,{item:E,...B},E.id))})})]})};function ZM({columns:e,data:t,maxHeight:n=400,freezeColId:r,features:o,rowHeight:s,colMgr:i,sidebarOpen:a,onColumnSave:l,onColumnReorder:c,onColumnResize:u,isManageable:d,...h}){const m=O.useTheme(),g=m.palette.primary.main,C={...m.mode==="dark"?jo.dark:jo.light,"--vg-border-focus":g,"--vg-accent":g,"--vg-accent-hover":g,"--vg-accent-bg":g,"--vg-accent-text":g,"--vg-sort-active":g,"--vg-resize-hover":g,"--vg-drag-indicator":g},b=m.palette.primary.notifyBackground,v=m.palette.primary.appBackground,k=m.palette.primary.notifyTextColor,w=m.palette.primary.notifyActiveText,x=m.palette.primary.notifyBorderColor,T=m.typography?.fontFamily??"Euclid Circular Regular, sans-serif",M={root:{borderRadius:d?"1.4rem 0 0 1.4rem":"1.4rem",border:`0.1rem solid ${x}`,borderRight:a?"none":`0.1rem solid ${x}`,background:b,fontFamily:T,fontSize:"1.1rem",overflow:"hidden"},headerRow:{background:b,color:w,fontWeight:600},groupRow:{background:b,color:w,borderColor:x,borderLeft:`0.1rem solid ${x}`,fontWeight:600,borderBottom:`0.1rem solid ${x}`},groupHeaderCell:{borderColor:x,borderLeft:`0.1rem solid ${x}`,borderRight:`0.1rem solid ${x}`},headerCell:{background:b,color:k,borderColor:x,borderRight:"none",padding:"0 12px",textAlign:"center",fontWeight:"bold",fontSize:"1.1rem",lineHeight:"1.5rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},row:{background:b,color:k,borderColor:x,fontSize:"1.1rem"},cell:{background:b,borderBottom:`0.1rem solid ${x}`,borderRight:"none",color:k,borderColor:x,padding:"0",textAlign:"center",fontSize:"1.1rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontVariantNumeric:"tabular-nums"},pinnedCell:{background:b,color:k,borderBottom:`0.1rem solid ${x}`,borderRight:"none",padding:"0"},pinnedHeaderCell:{background:b,color:k,borderColor:x,borderRight:"none",padding:"0"},rowSelected:{background:v}},A={sortAsc:f.jsx(Ct,{url:Te.AscSort}),sortDesc:f.jsx(Ct,{url:Te.DescSort}),sortNone:f.jsx(Ct,{url:Te.Unsort})},I={columns:e,data:t,rowHeight:s,maxHeight:n,theme:C,features:o,styles:M,icons:A,slots:{loadingCell:f.jsx(Es,{type:"cell"}),toolbar:P=>{i.captureEngine(P)},rowSelectionIndicator:(P,R)=>f.jsx("div",{style:{position:"absolute",bottom:0,left:0,width:"100%",height:"0.08rem",background:"linear-gradient(to right, #F9B16E, #F68080)",pointerEvents:"none",zIndex:7}})},onColumnStateChange:P=>l?.(P),onColumnReorder:c,onColumnResize:u,...h};return f.jsx(nM,{...I})}function XM(e){const{t}=p.useContext(Nt),n=O.useTheme(),r=sM(),{tableProps:o,toolbarProps:s}=e,{pagination:i={},data:a=[],childUniqueKey:l="",groupByUniqueKey:c=""}=o??{},{gridPath:u="",baseUrl:d="",groupByUniqueKey:h=""}=s??{},m=c||h,g=o?.columns?.definitions,[C,b]=p.useState(0),[v,k]=p.useState(!u||!d),w=g?.definitions??[],x=g?.defaultUserSettings??[],T=s?.defaultTools?.groupBy?.appliedValue,M=!!s?.defaultTools?.groupBy,A=p.useMemo(()=>JSON.stringify(w.map(te=>({key:te.key,isVisible:te.isVisible!==!1,children:te.children?.map(ie=>ie.key)??[]}))),[w]),I=p.useMemo(()=>w.filter(te=>te.isVisible!==!1),[g?.definitions]),{settings:P,hasNewColumns:R}=p.useMemo(()=>(!u||!w.length)&&!a.length?{settings:g?.settings??[],hasNewColumns:!1}:zT({definitions:w,defaultSetting:x,gridPath:u,childUniqueKey:l}),[u,l,C,a.length,A]),W=p.useRef(null),S=p.useRef(null),j=p.useRef(null),_=p.useRef(P),N=p.useRef(null);p.useEffect(()=>{if(!u||!d){k(!0);return}if(!w.length&&!a.length)return;N.current??=WT({baseUrl:d,gridPath:u,definitions:w,defaultSetting:x,childUniqueKey:l,groupByUniqueKey:m,includeGroupBy:M});let te=!0;return N.current.finally(()=>{te&&(j.current=JSON.stringify(T??[]),S.current=null,b(ie=>ie+1),k(!0))}),()=>{te=!1}},[u,d,w.length,x.length,l,m,M,a.length]),p.useEffect(()=>{if(!v||!u||!Array.isArray(T))return;const te=JSON.stringify(T);te!==j.current&&(j.current=te,HT({groupBy:T,gridPath:u,baseUrl:d,groupByUniqueKey:m}))},[v,T,u,d,l,m]);const U=p.useRef(l);U.current!==l&&(U.current=l,_.current=P,S.current=null);const se=p.useRef(!1);v&&!se.current&&(se.current=!0,_.current=P,S.current=null);const ue=()=>_.current?.length?_.current:P,B=p.useCallback(te=>{!v||!u||(clearTimeout(W.current),W.current=setTimeout(()=>{const ie=new Map(te.map(ve=>[ve.id,ve])),Q=ue(),q=ve=>{const ae=ie.get(ve.key),je={key:ve.key,sequence_id:ve.sequence_id,isHidden:ae?ae.hidden:ve.isHidden??!0,style:ve.style??{}};return ve.children?.length&&(je.children=ve.children.map(q)),je},xe=Q.map(q),ke=JSON.stringify(xe);if(S.current===null){S.current=ke,_.current=xe,R&&(S0({settings:xe,previousSettings:void 0,definitions:w,defaultSetting:x,gridPath:u,baseUrl:d,childUniqueKey:l}),b(ve=>ve+1));return}ke!==S.current&&(S.current=ke,_.current=xe,S0({settings:xe,previousSettings:Q,definitions:w,defaultSetting:x,gridPath:u,baseUrl:d,childUniqueKey:l}),b(ve=>ve+1))},1500))},[v,u,d,R,w,x,P,l]),E=p.useCallback(te=>{if(!v||!u)return;const ie=ue(),Q=[];ie.forEach(de=>{Q.push(de),de.children?.forEach(We=>Q.push(We))});const q=new Map(Q.map(de=>[de.key,de.sequence_id])),xe=te.filter(de=>q.has(de));xe.length!==te.length&&console.error("handleColumnReorder: could not resolve current sequence_id for",te.filter(de=>!q.has(de)));const ke=xe.map(de=>q.get(de)).sort((de,We)=>de-We),ve=new Map(xe.map((de,We)=>[de,ke[We]])),ae=ie.map(de=>{const We={key:de.key,sequence_id:ve.get(de.key)??de.sequence_id,isHidden:de.isHidden??!1,style:de.style??{}};return de.children?.length&&(We.children=de.children.map(He=>({...He,sequence_id:ve.get(He.key)??He.sequence_id}))),We}),je=JSON.stringify(ae);je!==S.current&&(S.current=je,_.current=ae,S0({settings:ae,previousSettings:ie,definitions:w,defaultSetting:x,gridPath:u,baseUrl:d,childUniqueKey:l}),b(de=>de+1))},[v,u,d,w,x,P,l]),D=p.useCallback((te,ie)=>{!v||!u||(clearTimeout(W.current),W.current=setTimeout(()=>{const Q=`${ie}px`,q=ue(),xe=ae=>{const je=ae.key===te,de={key:ae.key,sequence_id:ae.sequence_id,isHidden:ae.isHidden??!1,style:je?{width:Q}:ae.style??{}};return ae.children?.length&&(de.children=ae.children.map(xe)),de},ke=q.map(xe),ve=JSON.stringify(ke);ve!==S.current&&(S.current=ve,_.current=ke,S0({settings:ke,previousSettings:q,definitions:w,defaultSetting:x,gridPath:u,baseUrl:d,childUniqueKey:l}),b(ae=>ae+1))},1500))},[v,u,d,w,x,P,l]),L=p.useMemo(()=>{if(!P.length)return I;const te=new Map(P.map((ie,Q)=>[ie.key,Q]));return[...I].sort((ie,Q)=>(te.get(ie.key)??1/0)-(te.get(Q.key)??1/0))},[I,P]),$=p.useMemo(()=>g&&{...g,definitions:L,settings:P,childUniqueKey:l},[g,L,P,l]),Y=p.useMemo(()=>ZT($),[$]),re=p.useRef(null),he=p.useRef(null),oe={pageSize:i?.rowPerPage,gridData:a},X=p.useMemo(()=>{const te=s?.defaultTools?.groupBy;if(!te||!Object.prototype.hasOwnProperty.call(te,"appliedValue"))return s;const ie={...te};return delete ie.appliedValue,{...s,defaultTools:{...s.defaultTools,groupBy:ie}}},[s]);return Mi({[Xt(ht.MANAGE_COLUMNS)]:{run:r.toggle,disabled:!o?.columns?.isManageable}},{enabled:s?.shortcuts?.enabled!==!1,isPaused:()=>!XT(he.current)}),f.jsx(At,{children:f.jsxs(O.Box,{ref:he,children:[s&&f.jsx(k0,{...X,...oe,shortcuts:{...X?.shortcuts,scopeRef:he}}),v?a.length?f.jsxs(f.Fragment,{children:[f.jsxs(O.Box,{sx:{display:"flex",alignItems:"stretch"},children:[f.jsxs(O.Box,{ref:re,sx:{flex:1,minWidth:0,alignSelf:"flex-start",position:"relative",'&:not(:focus-within) [role="gridcell"]':{outline:"none !important"}},children:[f.jsx(ZM,{...o,columns:Y,texts:{...o?.texts,hideColumn:t("LABEL_HIDE_COLUMN")},colMgr:r,sidebarOpen:!1,isManageable:o?.columns?.isManageable,onColumnSave:B,onColumnReorder:E,onColumnResize:D},`${l}-${v?"ready":"loading"}-${A}`),o?.columns?.isManageable&&r.isOpen&&f.jsx(O.Box,{sx:{position:"absolute",top:0,right:0,width:260,height:"100%",zIndex:10,display:"flex",flexDirection:"column",overflow:"hidden"},children:f.jsx(r.ColumnManagerPanel,{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},render:({engine:te,close:ie})=>f.jsx(KM,{engine:te,onClose:ie})})})]}),o?.columns?.isManageable&&f.jsx(O.Tooltip,{title:t("LABEL_MANAGE_COLUMN"),placement:"left",children:f.jsxs(O.Box,{onClick:r.toggle,onKeyDown:wt(r.toggle),role:"button",tabIndex:0,"aria-expanded":r.isOpen,"aria-label":t("LABEL_MANAGE_COLUMN"),sx:{width:"2rem",flexShrink:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",cursor:"pointer",gap:"0.5rem",p:"0 1.3rem",borderRadius:(r.isOpen,"0 1.4rem 1.4rem 0"),border:te=>`0.1rem solid ${te.palette.primary.notifyBorderColor}`,borderLeft:"none",background:te=>te.palette.primary.notifyButtonBackground,transition:"background 0.15s","&:hover":{background:te=>te.palette.primary.appBackground},"&:focus-visible, &.Mui-focusVisible":{outline:`2px solid ${n.palette.primary.main}`,outlineOffset:"-2px",boxShadow:"none"}},children:[f.jsx(O.Box,{component:"img",src:Te.Manage,sx:{width:"1.6rem",height:"2rem",transform:"rotate(90deg)"}}),f.jsx(O.Typography,{sx:{fontSize:"1rem",letterSpacing:"0.08em",writingMode:"vertical-rl",textOrientation:"mixed",transform:"rotate(360deg)",userSelect:"none",color:te=>te.palette.primary.notifyTextColor},children:a?.length>1?t("LABEL_MANAGE_COLUMN"):t("LABEL_MANAGE_COLUMN")?.slice(0,7)})]})})]}),Object.keys(i).length>0&&f.jsx(D0,{pagination:i,gridPath:u,baseUrl:d,t})]}):f.jsx(rr,{sx:{textAlign:"center"},children:t(_n.NRF)}):f.jsx(Es,{type:"grid"})]})})}const k1=e=>{let{disabled:t=!1,minWidth:n=0,maxWidth:r,className:o="",id:s,resizeStart:i,resizeEnd:a,defaultWidth:l,rowSpan:c=1,colSpan:u=1}=e;const[d,h]=p.useState(!1),[m,g]=p.useState(0),[C,b]=p.useState(0),[v,k]=p.useState(0),[w,x]=p.useState(null),T=p.useRef(null),M=p.useCallback(S=>{if(!t&&(x(s),i&&i(),h(!0),g(S),b(0),T.current)){const j=T.current.previousSibling;j&&b(j.clientWidth)}},[t,s,i]),A=p.useCallback(()=>{t||(d&&a&&w===s&&a(v),h(!1),x(null))},[t,a,w,s,v,d]),I=p.useCallback(S=>{if(t)return;const j="touches"in S?S.touches[0].screenX:S.screenX;if(!d)return;const _=T.current;if(!_||!_.previousSibling)return;const N=_.previousSibling,U=m-j;let se=C-U;n!==void 0&&se<n&&(se=n),r!==void 0&&se>r&&(se=r),N.style.width=se+"px",N.style.minWidth=se+"px",N.style.maxWidth=se+"px",N.style.setProperty("--column_resize_before_width",se+"px"),k(se)},[t,d,m,C,n,r]);p.useEffect(()=>{const S=T.current;if(S&&S.previousSibling){const j=S.previousSibling;l?(j.style.minWidth=l+"px",j.style.width=l+"px",j.style.maxWidth=l+"px",j.style.setProperty("--column_resize_before_width",l+"px")):n&&(j.style.minWidth=n+"px",j.style.width=n+"px",j.style.maxWidth=n+"px",j.style.setProperty("--column_resize_before_width",n+"px"))}},[l,n]),p.useEffect(()=>{const S=T.current;if(t&&S&&S.previousSibling){const j=S.previousSibling;l&&(j.style.minWidth=l+"px",j.style.width=l+"px",j.style.maxWidth=l+"px",j.style.setProperty("--column_resize_before_width",l+"px")),r&&(j.style.maxWidth=r+"px")}},[t,l,r]);const P=p.useCallback(()=>{document.addEventListener("mousemove",I),document.addEventListener("mouseup",A),document.addEventListener("touchmove",I),document.addEventListener("touchend",A)},[I,A]),R=p.useCallback(()=>{document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",A),document.removeEventListener("touchmove",I),document.removeEventListener("touchend",A)},[I,A]);p.useEffect(()=>(t||P(),()=>{R()}),[t,P,R]);const W={userSelect:"none"};return t||(W.cursor="ew-resize"),o===""&&(W.width="6px",W.backgroundColor="rgba(0, 0, 0, 0.1)"),p.createElement("th",{ref:T,style:W,rowSpan:c,colSpan:u,className:"column_resizer_own_class ".concat(t?"disabled_column_resize":""," ").concat(o),onMouseDown:t?void 0:S=>M(S.screenX),onTouchStart:t?void 0:S=>M(S.touches[0].screenX)})};function I0({isRenderCellContent:e,column:t,row:n,parent:r}){const o=n[t.key],s=o?.length>20;return f.jsx(f.Fragment,{children:e?f.jsx(O.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",textTransform:"none",fontSize:"1.1rem"},children:t?.cellRenderer(n,{column:t,parent:r})}):f.jsx(f.Fragment,{children:s?f.jsx(O.Tooltip,{title:o,placement:"top",componentsProps:{tooltip:{sx:{fontSize:"1rem",padding:"0.5rem 1rem",boxShadow:"0 2px 8px rgba(0,0,0,0.3)"}}},children:f.jsx(O.Box,{sx:{maxWidth:"auto",whiteSpace:"normal"},children:f.jsx(O.Typography,{sx:{fontSize:"1.1rem",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",textTransform:"none"},children:o})})}):f.jsx(O.Box,{sx:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",textTransform:"none",fontSize:"1.1rem",m:0},id:t.key,component:"p",children:o??""})})})}I0.propTypes={isRenderCellContent:y.bool,column:y.object,row:y.object};const T1=Z.createContext();process.env.NODE_ENV!=="production"&&(T1.displayName="TableContext");const $l=Z.createContext();process.env.NODE_ENV!=="production"&&($l.displayName="Tablelvl2Context");function JM(e){return Ft("MuiTableCell",e)}const Fl=Vt("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),QM=e=>{const{classes:t,variant:n,align:r,padding:o,size:s,stickyHeader:i}=e,a={root:["root",n,i&&"stickyHeader",r!=="inherit"&&`align${Ne(r)}`,o!=="normal"&&`padding${Ne(o)}`,`size${Ne(s)}`]};return Jt(a,JM,t)},eO=Ue("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Ne(n.size)}`],n.padding!=="normal"&&t[`padding${Ne(n.padding)}`],n.align!=="inherit"&&t[`align${Ne(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(Qt(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
139
- ${e.palette.mode==="light"?e.lighten(e.alpha(e.palette.divider,1),.88):e.darken(e.alpha(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${Fl.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),E1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiTableCell"}),{align:o="inherit",className:s,component:i,padding:a,scope:l,size:c,sortDirection:u,variant:d,...h}=r,m=Z.useContext(T1),g=Z.useContext($l),C=g&&g.variant==="head";let b;i?b=i:b=C?"th":"td";let v=l;b==="td"?v=void 0:!v&&C&&(v="col");const k=d||g&&g.variant,w={...r,align:o,component:b,padding:a||(m&&m.padding?m.padding:"normal"),size:c||(m&&m.size?m.size:"medium"),sortDirection:u,stickyHeader:k==="head"&&m&&m.stickyHeader,variant:k},x=QM(w);let T=null;return u&&(T=u==="asc"?"ascending":"descending"),f.jsx(eO,{as:b,ref:n,className:Xe(x.root,s),"aria-sort":T,scope:v,ownerState:w,...h})});process.env.NODE_ENV!=="production"&&(E1.propTypes={align:y.oneOf(["center","inherit","justify","left","right"]),children:y.node,classes:y.object,className:y.string,component:y.elementType,padding:y.oneOf(["checkbox","none","normal"]),scope:y.string,size:y.oneOfType([y.oneOf(["medium","small"]),y.string]),sortDirection:y.oneOf(["asc","desc",!1]),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["body","footer","head"]),y.string])});const tO=Ue(E1)(({theme:e})=>({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"table-cell",[`&.${Fl.head}`]:{color:e.palette.primary.notifyTextColor,backgroundColor:e.palette.primary.notifyBackground,borderColor:e.palette.primary.notifyBorderColor,padding:"0rem",textAlign:"center",lineHeight:"1.5rem"},[`&.${Fl.body}`]:{color:e.palette.primary.notifyTextColor,borderColor:e.palette.primary.notifyBorderColor,padding:"0rem",textAlign:"center"}}));function Ur({children:e,...t}){return f.jsx(tO,{...t,children:e})}Ur.propTypes={children:y.node};function nO(e){return Ft("MuiTableRow",e)}const M1=Vt("MuiTableRow",["root","selected","hover","head","footer"]),rO=e=>{const{classes:t,selected:n,hover:r,head:o,footer:s}=e;return Jt({root:["root",n&&"selected",r&&"hover",o&&"head",s&&"footer"]},nO,t)},oO=Ue("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(Qt(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${M1.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${M1.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)}}}))),O1="tr",D1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiTableRow"}),{className:o,component:s=O1,hover:i=!1,selected:a=!1,...l}=r,c=Z.useContext($l),u={...r,component:s,hover:i,selected:a,head:c&&c.variant==="head",footer:c&&c.variant==="footer"},d=rO(u);return f.jsx(oO,{as:s,ref:n,className:Xe(d.root,o),role:s===O1?null:"row",ownerState:u,...l})});process.env.NODE_ENV!=="production"&&(D1.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,hover:y.bool,selected:y.bool,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});const sO=Ue(D1)(()=>({"&:last-child td":{borderBottom:"none"}}));function gr({children:e,...t}){return f.jsx(sO,{...t,children:e})}gr.propTypes={children:y.node};const A1=p.memo(({row:e,isSelected:t,isHigh:n,onRowClick:r,children:o,sxProps:s})=>{const i=!!r;return f.jsx(gr,{sx:a=>({backgroundColor:t||n?a.palette.primary.appBackground:a.palette.primary.notifyBackground,...s}),onClick:()=>r?.(e),...i&&{tabIndex:0,onKeyDown:wt(()=>r(e))},children:o},e?.fhi)}),I1=p.memo(({nestedData:e,nestedColumn:t,t:n})=>e?.length?f.jsx(f.Fragment,{children:e.map((r,o)=>f.jsx(gr,{children:t.map((s,i)=>f.jsx(Ur,{style:s?.style,children:f.jsx(I0,{isRenderCellContent:!!s?.cellRenderer,column:s,row:r})},i))},`nested-${o}`))}):f.jsx(gr,{children:f.jsx(Ur,{colSpan:t.length,children:f.jsx(rr,{sx:{textAlign:"center"},children:n(_n.NRF)})})})),P1=(e,t,n,r,o,s)=>{const[i,a]=p.useState({isOpen:!1,column:null}),l=(h,m,g)=>{a({isOpen:h.currentTarget,column:m,isChild:!!g})},c=()=>{a({isOpen:!1,column:null,isChild:!1})},u=async()=>{c();const h=e.map(m=>{if(i?.isChild&&Array.isArray(m.children)){const g=m.children.map(b=>b.key===i.column?.key?{...b,isHidden:!0}:b),C=g.every(b=>b.isHidden);return{...m,isHidden:C?!0:m.isHidden,children:g}}return m.key===i.column?.key?{...m,isHidden:!0}:m});d({updatedColumns:h})},d=async({updatedColumns:h})=>{t({type:Re.SET_GRID_DATA,payload:{visibleGridColumns:h}});const m=r.split("/").filter(Boolean),g=JSON.parse(localStorage.getItem(nn.SETTINGS));let C=m.reduce((M,A)=>M?.[A],g)||null,b=Rs({columns:h,childUniqueKey:s});const v=tr(C?.columns);b=b?.map(M=>{const A=M?.children||{},I=v?.[M?.key]?.children||{};return{...M,...(Object.keys(I)?.length>0||A?.[s])&&{children:{...I,[s]:A?.[s]}}}});const w={...g||{platform:{theme:"light"}}},x=C?.pageSize??o;let T=w;for(let M=0;M<m.length;M++){const A=m[M];M===m.length-1?T[A]={columns:b,pageSize:x}:(T[A]={...T[A]||{}},T=T[A])}localStorage.setItem(nn.SETTINGS,JSON.stringify(w)),await zr({baseUrl:n,payload:w})};return{selectedColumn:i,handleMenuClick:l,handleClose:c,handleHideClick:u,columnUpdaterFunction:d}},Vl=({menuOpen:e,handleClose:t,onHideClick:n})=>{const r=O.useTheme(),{t:o}=p.useContext(Nt);return f.jsx(O.Popover,{open:!!e,anchorEl:e,onClose:t,anchorOrigin:{vertical:"bottom",horizontal:"left"},children:f.jsx(O.Box,{sx:{backgroundColor:r.palette.primary.notifyBackground,border:`0.1rem solid ${r.palette.primary.notifyBorderColor}`,minHeight:"2.3rem",display:"flex",justifyContent:"center",alignItems:"center"},children:f.jsx(O.Button,{onClick:n,disableRipple:!0,sx:{textTransform:"none",fontSize:"1.1rem",p:"0.4rem 1rem",minHeight:"unset",fontWeight:500,color:r.palette.primary.notifyTextColor,backgroundColor:"transparent","&:hover":{backgroundColor:"transparent"},"&:active":{backgroundColor:"transparent"},"&:focus":{backgroundColor:"transparent"}},children:o("LABEL_HIDE_COLUMN")})})})};Vl.propTypes={menuOpen:y.object,handleClose:y.func,onHideClick:y.func};const L1=({sortKey:e,sortField:t,sortDir:n,handleSortClick:r})=>{const o=s=>f.jsx(O.IconButton,{onClick:r,sx:{padding:"0.2rem"},draggable:!1,children:f.jsx(Ct,{url:s})});return f.jsx(f.Fragment,{children:o(t===e?n==="asc"?Te.AscSort:Te.DescSort:Te.Unsort)})};L1.propTypes={sortKey:y.string.isRequired,sortField:y.string,sortDir:y.string,handleSortClick:y.func};const iO={placement:"top",componentsProps:{tooltip:{sx:{fontSize:"1rem",padding:"0.6rem 1rem",boxShadow:"0 2px 8px rgba(0,0,0,0.3)"}}}},aO=e=>e!=null&&e!=="";function Wl({parent:e,column:t,sort:n,handleMenuClick:r,isManageable:o}){const s=o&&(!t?.isMandatory||t?.isMandatory&&t?.showHide===!0),i=t?.label,a=t?.helpText,l=t?.isSortable,c=n?.sortField,u=n?.sortDir,d=n?.onSort,h=i??"";return f.jsxs(O.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},draggable:!1,children:[f.jsx(O.Box,{sx:{fontWeight:"bold",fontSize:"1.1rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",padding:"0.5rem",textAlign:"center"},children:aO(a)?f.jsx(O.Tooltip,{title:a,...iO,children:f.jsx("span",{children:h})}):h}),f.jsxs(O.Box,{sx:{display:"flex",alignItems:"center"},draggable:!1,children:[l&&f.jsx(L1,{sortKey:e?`${e?.key}|${t?.key}`:t?.key,sortField:c,sortDir:u,handleSortClick:()=>d({column:t,sortDir:u,sortField:c,parent:e})}),s&&f.jsx(O.IconButton,{draggable:!1,onClick:m=>r(m,t,e),sx:{padding:"0.2rem"},children:f.jsx(Ct,{url:Te.Menu})})]})]})}Wl.propTypes={column:y.object.isRequired,sort:y.object.isRequired,handleMenuClick:y.func,isManageable:y.bool};function j1({rows:e,sort:t,data:n,pagination:r,columns:o,nested:s,baseUrl:i,gridPath:a,childUniqueKey:l,isVirtualizedTable:c=!1,t:u}){const d=O.useTheme(),{visibleGridColumns:h}=p.useContext(cs),m=p.useContext(lo),{selectedColumn:g,handleMenuClick:C,handleClose:b,handleHideClick:v,columnUpdaterFunction:k}=P1(h,m,i,a,r?.rowPerPage,l),w=o?.isManageable,x=o?.isResizable,T=n?.length>0,M=p.useRef(null),A=p.useRef(null),I=45,P=10,R=n?.length,[W,S]=p.useState({start:0,end:10}),[j,_]=p.useState(null),[N,U]=p.useState(null),[se,ue]=p.useState(null);let B=null;const E=p.useRef(0),D=p.useRef(!1),L=p.useRef(null),$=Vf(s?.column?.definitions||[]),Y=s?.isNested,re=s?.data||[],he=s?.hashKey,[oe,X]=p.useState(0);p.useEffect(()=>{if(M.current){const ne=()=>{X(M.current.offsetHeight)};return ne(),window.addEventListener("resize",ne),()=>window.removeEventListener("resize",ne)}},[n]),p.useEffect(()=>{const fe=M.current?.querySelector("thead");if(!fe)return;const De=()=>{ue(null)};return fe?.addEventListener("mousedown",De),()=>{fe?.removeEventListener("mousedown",De)}},[]);const te=(ne,fe)=>{if(D.current){ne.preventDefault();return}_(fe),ue(null),ne.dataTransfer.setData("colIndex",fe);const De=h[fe],Le=De?.label,Ve=document.createElement("div");Ve.textContent=Le,Object.assign(Ve.style,{display:"flex",alignItems:"center",justifyContent:"center",padding:"1.5rem 2.5rem",minWidth:De?.style?.minWidth,maxWidth:De?.style?.maxWidth,fontSize:"1.2rem",fontWeight:"500",color:d.palette.primary.notifyTextColor,background:d.palette.primary.notifyBackground,border:`0.1rem solid ${d.palette.primary.notifyBorderColor}`,borderRadius:"0rem",pointerEvents:"none",position:"absolute",top:"0",left:"0",zIndex:"-1",textAlign:"center",boxSizing:"border-box",boxShadow:"0 1px 4px rgba(0, 0, 0, 0.2)"}),document.body.appendChild(Ve);const{offsetWidth:st,offsetHeight:kt}=Ve;ne.dataTransfer.setDragImage(Ve,st/2,kt/2),requestAnimationFrame(()=>{document.body.removeChild(Ve)})},ie=(ne,fe)=>{ne.preventDefault(),U(fe),je(ne)},Q=async(ne,fe)=>{if(ne.preventDefault(),clearInterval(B),j===null||j===fe)return;const De=[...h],[Le]=De.splice(j,1);De.splice(fe,0,Le);const Ve=h[j].sequenceId,st=h[fe].sequenceId,kt=De.map(ct=>ct.key===h[j].key?{...ct,sequenceId:st}:ct.key===h[fe].key?{...ct,sequenceId:Ve}:ct);k({updatedColumns:kt}),_(null),U(null)},q=()=>{_(null),U(null)},xe=(ne,fe,De,Le)=>{if(!ne)return null;const Ve=ne?.isMandatory&&ne?.isSticky,st=parseFloat(ne?.style?.minWidth?.toString().replace("rem",""))||7.5;fe===0&&(E.current=0);const kt=Ve?fe===0?0:`${E.current}rem`:void 0;Ve&&(E.current+=st);const ct=j===fe,$e=N==fe||h?.[N]?.isMandatory,qt=ee=>{ne.isMandatory?(ee.preventDefault(),ee.dataTransfer.dropEffect="none"):(ee.preventDefault(),ee.dataTransfer.dropEffect="move"),ie?.(ee,fe)},V=ee=>{ne.isMandatory||Q?.(ee,fe)};return Le&&`${Le?.key}${ne?.key}${fe}`,f.jsx(Ur,{rowSpan:ne?.children?1:2,colSpan:ne?.children?.filter(ee=>!ee?.isHidden)?.length,style:ne?.style,draggable:De&&!ne?.isMandatory,onDragStart:De&&!ne?.isMandatory?ee=>te(ee,fe):ee=>{ee.preventDefault()},onDragOver:De&&!ne?.isMandatory?qt:void 0,onDrop:De&&!ne?.isMandatory?V:void 0,onDragEnd:De&&!ne?.isMandatory?q:void 0,sx:{...ne?.isSticky&&{boxShadow:"rgba(17, 17, 26, 0.3) 4px 0px 6px -2px"},...ne.isCenterTable&&{borderRight:"0.1rem solid",borderBottom:"0.1rem solid",borderTop:"none",...ne?.key==="volume_value"&&{borderLeft:"1px solid"}},...ct&&{border:`0.1rem solid ${d.palette.brandColor.lightBlue}!important`},...Ve&&{position:"sticky",left:kt,zIndex:3},cursor:$e?"not-allowed":De&&!ne?.isMandatory?"grab":"default"},children:f.jsx(Wl,{parent:Le,column:ne,sort:t,handleMenuClick:C,isManageable:De})},fe)},ke=p.useCallback((ne,fe,De,Le)=>{if(!ne)return null;const Ve=ne?.isMandatory&&ne?.isSticky,st=parseFloat(ne?.style?.minWidth?.toString().replace("rem",""))||7.5;De===0&&(E.current=0);const kt=Ve?De===0?0:`${E.current}rem`:void 0;return Ve&&(E.current+=st),f.jsxs(Ur,{colSpan:1,style:ne?.style,className:`${ne?.label}`,sx:{position:"relative",...ne.isCenterTable&&{borderRight:"0.1rem solid",borderBottom:"0.1rem solid",borderTop:"none",...ne?.key==="volume_value"&&{borderLeft:"1px solid"}},...ne?.isSticky&&{boxShadow:"rgba(17, 17, 26, 0.3) 4px 0px 6px -2px"},...Ve&&{position:"sticky",left:kt,zIndex:2,backgroundColor:ct=>e?.selectedRow&&e?.selectedRow?.fhi===fe?.fhi||fe?.isHigh?ct.palette.primary.appBackground:ct.palette.primary.notifyBackground}},children:[(e?.selectedRow&&e?.selectedRow?.fhi===fe?.fhi||fe?.isHigh)&&f.jsx(O.Box,{sx:{position:"absolute",bottom:0,left:0,width:"100%",height:"0.08rem",background:"linear-gradient(#F9B16E, #F68080)",pointerEvents:"none",zIndex:1}}),f.jsx(I0,{isRenderCellContent:!!ne?.cellRenderer,column:ne,row:fe,parent:Le})]},De)},[e?.selectedRow,d]),ve=(ne,fe,De,Le)=>f.jsx(f.Fragment,{children:ne&&De&&!ne?.isMandatory?f.jsx(O.Box,{resizeStart:()=>{ne?.isMandatory&&!ne?.isResizable||(D.current=!0)},resizeEnd:Ve=>{ne?.isMandatory&&!ne?.isResizable||Ve<=20||(D.current=!1,Kf({index:fe,visibleGridColumns:h,width:Ve,columnUpdaterFunction:k}))},component:ne?.children||ne?.isMandatory?O.TableCell:k1,rowSpan:ne?.children?1:2,colSpan:1,id:fe,sx:{width:"1rem",maxWidth:"1rem",minWidth:"1rem",padding:0,position:"relative",borderBottom:`0.1rem solid ${d.palette.primary.notifyBorderColor}`,cursor:"col-resize","&::after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"0.15rem",height:"1.5rem",backgroundColor:d.palette.primary.notifyBorderColor,zIndex:1},...!ne?.isMandatory&&{"&:hover::after":{content:'""',position:"absolute",top:0,left:"50%",transform:"translateX(-50%)",width:"0.2rem",height:`${oe}px`,backgroundColor:d.palette.primary.notifyBorderColor,zIndex:1}}}}):null}),ae=p.useCallback((ne,fe,De,Le,Ve,st,kt)=>f.jsx(f.Fragment,{children:fe&&Le&&!fe?.isMandatory?f.jsx(O.TableCell,{className:"column_resizer_body",sx:{width:"1rem",maxWidth:"1rem",minWidth:"1rem",padding:0,position:"relative",borderBottom:`0.1rem solid ${d.palette.primary.notifyBorderColor}`},children:(e?.selectedRow&&e?.selectedRow?.fhi===ne?.fhi||ne?.isHigh)&&f.jsx(O.Box,{sx:{position:"absolute",bottom:0,left:0,width:"100%",height:"0.08rem",background:"linear-gradient(#F9B16E, #F68080)",pointerEvents:"none"}})},`resize-${De}_${kt}`):null}),[e?.selectedRow,d]),je=ne=>{const fe=M.current,{left:De,right:Le}=fe.getBoundingClientRect(),Ve=50,st=ne.clientX>Le-Ve?1:ne.clientX<De+Ve?-1:0;st!==0?(L.current&&clearInterval(L.current),L.current=setInterval(()=>{fe.scrollLeft+=st*10},50)):L.current&&(clearInterval(L.current),L.current=null)},de=ne=>ne?.map((fe,De)=>{const Le=W.start+De,Ve=fe[he],st=re?.[Ve],kt=e?.selectedRow&&e?.selectedRow?.fhi===fe?.fhi,ct=fe?.isHigh;return f.jsxs(p.Fragment,{children:[f.jsx(A1,{row:fe,isSelected:kt,isHigh:ct,onRowClick:e?.onRowClick,children:h.map(($e,qt)=>$e?.isHidden||$e?.isVisible===!1?null:$e?.children?$e.children.map((V,ee)=>V?.isHidden?null:f.jsxs(p.Fragment,{children:[ke(V,fe,ee,$e),x&&ae(fe,V,ee,w,$e,"",Le)]},`col-${qt}-${ee}`)):f.jsxs(p.Fragment,{children:[ke($e,fe,qt),x&&ae(fe,$e,qt,w,"","",Le)]},`col-${qt}`))}),Y&&st&&f.jsx(I1,{nestedData:st,nestedColumn:$,t:u})]},`row-${Le}`)}),We=()=>{const ne=A.current;if(!ne)return;const fe=ne.scrollTop,De=ne.clientHeight,Le=Math.floor(fe/I)-P,Ve=Math.ceil(De/I)+2*P,st=Math.max(0,Math.min(R-1,Le)),kt=Math.max(st,Math.min(R,st+Ve));S(ct=>ct.start===st&&ct.end===kt?ct:{start:st,end:kt})};p.useEffect(()=>{let ne;const fe=()=>{ne&&cancelAnimationFrame(ne),ne=requestAnimationFrame(()=>{We()})},De=A.current;if(!(!De||!c))return We(),De.addEventListener("scroll",fe),()=>{cancelAnimationFrame(ne),De.removeEventListener("scroll",fe)}},[R]);const He=W.start*I,dt=(R-W.end)*I,ge=c?n?.slice(W.start,W.end):n;return T?f.jsxs(f.Fragment,{children:[f.jsx(O.TableContainer,{ref:A,sx:{willChange:"transform",WebkitTransform:"translateZ(0)",maxHeight:"40rem",whiteSpace:"nowrap",overflow:"auto",width:"100%",border:`0.1rem solid ${d.palette.primary.notifyBorderColor}`,borderRadius:"1.4rem",position:"relative"},children:f.jsxs(O.Table,{ref:M,stickyHeader:!0,"aria-label":"sticky table",sx:{backgroundColor:ne=>ne.palette.primary.notifyBackground},children:[f.jsxs(O.TableHead,{children:[f.jsx(gr,{sx:{position:"sticky",top:0,zIndex:3,backgroundColor:ne=>ne.palette.primary.notifyBackground},children:h.map((ne,fe)=>ne?.isHidden||ne?.isVisible===!1?null:f.jsxs(p.Fragment,{children:[xe(ne,fe,w),ve(ne,fe,w)]},fe))}),f.jsx(gr,{draggable:!1,sx:{position:"sticky",top:"2.5rem",backgroundColor:d.palette.primary.notifyBackground,zIndex:2},children:h.flatMap((ne,fe)=>ne?.isHidden||!ne?.children||ne?.isVisible===!1?[]:ne.children.map((De,Le)=>De?.isHidden?null:f.jsxs(p.Fragment,{children:[xe(De,Le,w,ne),x&&ve(De,Le,w)]},`${fe}-${Le}`)))})]}),f.jsxs(O.TableBody,{children:[c&&f.jsx("tr",{style:{height:He}}),de(ge),c&&f.jsx("tr",{style:{height:dt}})]})]})}),r&&f.jsx(D0,{pagination:r,gridPath:a,baseUrl:i,t:u}),f.jsx(Vl,{menuOpen:g?.isOpen,handleClose:b,onHideClick:v})]}):f.jsx(rr,{sx:{textAlign:"center"},children:u(_n.NRF)})}j1.propTypes={sort:y.object,data:y.array,pagination:y.object,columns:y.object,nested:y.object};function R1(e){return Bu(e?.style?.width??e?.style?.minWidth??e?.style?.maxWidth)||0}const _1=e=>e?.isHidden||e?.isVisible===!1;function lO(e){const t=p.useMemo(()=>{let o=0;return e.flatMap((s,i)=>{if(_1(s))return[];if(Array.isArray(s.children)&&s.children.length){const c=s.children.filter(u=>!_1(u));return c.length?c.map(u=>{const d=R1(u),h={...u,_parent:s,_originalIndex:i,width:d,start:o,end:o+d,isSticky:!!(u?.isSticky??s?.isSticky)};return o+=d,h}):[]}const a=R1(s);if(a===0)return[];const l={...s,_parent:null,_originalIndex:i,width:a,start:o,end:o+a,isSticky:!!s?.isSticky};return o+=a,l})},[e]),n=p.useMemo(()=>{let o=0;const s={};return t.forEach(i=>{i.isSticky&&(s[i.sequenceId]=o,o+=i.width)}),s},[t]);return{columnsMeta:t,stickyOffsets:n,getStickyLeft:o=>{if(!o?.isMandatory||!o?.isSticky)return;const s=n[o.sequenceId];return s===0?0:`${s}px`}}}function cO({visibleGridColumns:e,columnUpdaterFunction:t,isResizingRef:n,startAutoScroll:r,stopAutoScroll:o}){const s=O.useTheme(),[i,a]=p.useState(null),[l,c]=p.useState(null),u=p.useCallback((b,v)=>{if(n.current){b.preventDefault();return}a(v),b.dataTransfer.setData("colIndex",v);const k=e[v],w=document.createElement("div");w.textContent=k?.label,Object.assign(w.style,{display:"flex",alignItems:"center",justifyContent:"center",padding:"1.5rem 2.5rem",minWidth:k?.style?.minWidth,maxWidth:k?.style?.maxWidth,fontSize:"1.2rem",fontWeight:"500",color:s.palette.primary.notifyTextColor,background:s.palette.primary.notifyBackground,border:`0.1rem solid ${s.palette.primary.notifyBorderColor}`,borderRadius:"0rem",pointerEvents:"none",position:"absolute",top:"0",left:"0",zIndex:"-1",textAlign:"center",boxSizing:"border-box",boxShadow:"0 1px 4px rgba(0, 0, 0, 0.2)"}),document.body.appendChild(w);const{offsetWidth:x,offsetHeight:T}=w;b.dataTransfer.setDragImage(w,x/2,T/2),requestAnimationFrame(()=>document.body.removeChild(w))},[n,e,s]),d=p.useCallback((b,v)=>{if(b.preventDefault(),e?.[v]?.isMandatory){b.dataTransfer.dropEffect="none";return}b.dataTransfer.dropEffect="move",c(v),r(b.clientX)},[r,e]),h=p.useCallback(async(b,v)=>{if(b.preventDefault(),o(),i===null||i===v||e?.[v]?.isMandatory)return;const k=[...e],[w]=k.splice(i,1);k.splice(v,0,w);const x=[...e].sort((M,A)=>M.sequenceId-A.sequenceId).map(M=>M.sequenceId),T=k.map((M,A)=>({...M,sequenceId:x[A]??M.sequenceId}));t({updatedColumns:T}),a(null),c(null)},[i,e,t,o]),m=p.useCallback(()=>{o(),a(null),c(null)},[o]),g=b=>!b?.isMandatory,C=p.useCallback(b=>l===null||i===null?!1:!!(e?.[b]?.isMandatory||e?.[l]?.isMandatory),[l,i,e]);return{draggedColIndex:i,dragOverIndex:l,handleDragStart:u,handleDragOver:d,handleDrop:h,handleDragEnd:m,isDraggable:g,isInvalidDrop:C}}const B1=50,uO=10,dO=50;function fO(e){const t=p.useRef(null),n=p.useCallback(()=>{t.current&&(clearInterval(t.current),t.current=null)},[]);return{startAutoScroll:p.useCallback(o=>{const s=e.current;if(!s)return;const{left:i,right:a}=s.getBoundingClientRect(),l=o>a-B1?1:o<i+B1?-1:0;if(l===0){n();return}t.current||(t.current=setInterval(()=>{s.scrollLeft+=l*uO},dO))},[e,n]),stopAutoScroll:n}}const zl=p.memo(function({column:t,index:n,isManageable:r,parent:o,stickyLeft:s,colSpanOverride:i,draggedColIndex:a,isInvalidDrop:l,onDragStart:c,onDragOver:u,onDrop:d,onDragEnd:h,sort:m,handleMenuClick:g}){const C=O.useTheme(),b=a===n,v=r&&!t?.isMandatory,k=t?.isMandatory&&t?.isSticky,w=o&&o.children?.find(M=>!M?.isHidden&&M?.isVisible!==!1)?.key===t?.key,x=!o&&Array.isArray(t?.children)&&t.children.some(M=>!M?.isHidden&&M?.isVisible!==!1),T=i??t.children?.filter(M=>!M?.isHidden)?.length;return f.jsx(Ur,{rowSpan:t?.children?1:2,colSpan:T,style:t?.style,draggable:v,onDragStart:v?M=>c(M,n):M=>M.preventDefault(),onDragOver:v?M=>u(M,n):void 0,onDrop:v?M=>d(M,n):void 0,onDragEnd:v?h:void 0,sx:{...t?.isSticky&&{boxShadow:"rgba(17, 17, 26, 0.3) 4px 0px 6px -2px"},...t.isCenterTable&&{borderRight:"0.1rem solid",borderBottom:"0.1rem solid",borderTop:"none",...(w||x)&&{borderLeft:"0.1rem solid"}},...b&&{border:`0.1rem solid ${C.palette.brandColor.lightBlue}!important`},...k&&{position:"sticky",left:s,zIndex:3},cursor:l(n)?"not-allowed":v?"grab":"default"},children:f.jsx(Wl,{parent:o,column:t,sort:m,handleMenuClick:g,isManageable:r})},n)}),Hl=p.memo(function({column:t,index:n,isManageable:r,tableHeight:o,onResizeStart:s,onResizeEnd:i}){const a=O.useTheme();return!t||!r||t?.isMandatory?null:f.jsx(O.Box,{component:t?.children||t?.isMandatory?O.TableCell:k1,rowSpan:t?.children?1:2,colSpan:1,id:n,resizeStart:s,resizeEnd:i,sx:{width:"1rem",maxWidth:"1rem",minWidth:"1rem",padding:0,position:"relative",borderBottom:`0.1rem solid ${a.palette.primary.notifyBorderColor}`,cursor:"col-resize","&::after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"0.15rem",height:"1.5rem",backgroundColor:a.palette.primary.notifyBorderColor,zIndex:1},"&:hover::after":{content:'""',position:"absolute",top:0,left:"50%",transform:"translateX(-50%)",width:"0.2rem",height:`${o}px`,backgroundColor:a.palette.primary.notifyBorderColor,zIndex:1}}})}),pO=p.memo(function({stickyGridColumns:t,virtualisedColumns:n,isManageable:r,isResizable:o,tableHeight:s,sort:i,handleMenuClick:a,getStickyLeft:l,offsetX:c,draggedColIndex:u,isInvalidDrop:d,onDragStart:h,onDragOver:m,onDrop:g,onDragEnd:C,isResizingRef:b,columnUpdaterFunction:v,visibleGridColumns:k}){const w=O.useTheme(),x={draggedColIndex:u,isInvalidDrop:d,onDragStart:h,onDragOver:m,onDrop:g,onDragEnd:C},T=(A,I)=>({onResizeStart:()=>{A?.isMandatory&&!A?.isResizable||(b.current=!0)},onResizeEnd:P=>{A?.isMandatory&&!A?.isResizable||P<=20||(b.current=!1,Kf({index:I,visibleGridColumns:k,width:P,columnUpdaterFunction:v}))}}),M=p.useMemo(()=>{const A=[];return n.forEach(I=>{const P=I._parent?.key??I.key,R=A[A.length-1];R&&R.key===P?R.colSpan+=1:A.push({key:P,column:I._parent??I,colSpan:1,firstChild:I})}),A},[n]);return f.jsxs(O.TableHead,{children:[f.jsxs(gr,{sx:{position:"sticky",top:0,zIndex:3,backgroundColor:w.palette.primary.notifyBackground},children:[t.map((A,I)=>{const P=A._parent??A;return f.jsxs(p.Fragment,{children:[f.jsx(zl,{column:P,index:A._originalIndex,isManageable:r,stickyLeft:l(A),sort:i,handleMenuClick:a,...x}),o&&f.jsx(Hl,{column:P,index:A._originalIndex,isManageable:r,tableHeight:s,...T(P,A._originalIndex)})]},`sticky-p-${I}`)}),f.jsx("th",{style:{minWidth:c,width:c,padding:0,border:"none"}}),M.map((A,I)=>f.jsxs(p.Fragment,{children:[f.jsx(zl,{column:A.column,index:A.firstChild._originalIndex,colSpanOverride:A.colSpan,isManageable:r,stickyLeft:l(A.firstChild),sort:i,handleMenuClick:a,...x}),o&&f.jsx(Hl,{column:A.column,index:A.firstChild._originalIndex,isManageable:r,tableHeight:s,...T(A.column,A.firstChild._originalIndex)})]},`parent-${A.key}`))]}),f.jsxs(gr,{draggable:!1,sx:{position:"sticky",top:"2.5rem",backgroundColor:w.palette.primary.notifyBackground,zIndex:2},children:[f.jsx("th",{style:{minWidth:c,width:c,padding:0,border:"none"}}),n?.map((A,I)=>A._parent&&f.jsxs(p.Fragment,{children:[f.jsx(zl,{column:A,index:A._originalIndex,isManageable:r,parent:A._parent,stickyLeft:l(A),sort:i,handleMenuClick:a,...x}),o&&f.jsx(Hl,{column:A,index:A._originalIndex,isManageable:r,tableHeight:s,...T(A,A._originalIndex)})]},`child-${A?._parent?.key??A.key}-${I}`))]})]})}),hO=()=>f.jsx(O.Box,{sx:{position:"absolute",bottom:0,left:0,width:"100%",height:"0.08rem",background:"linear-gradient(#F9B16E, #F68080)",pointerEvents:"none",zIndex:1}}),N1=p.memo(function({column:t,row:n,cellKey:r,parent:o,stickyLeft:s,isSelected:i,isHigh:a}){const l=O.useTheme(),c=t?.isMandatory&&t?.isSticky,u=i||a,d=o&&o.children?.find(h=>!h?.isHidden&&h?.isVisible!==!1)?.key===t?.key;return f.jsxs(Ur,{colSpan:1,style:t?.style,className:`${t?.label}`,sx:{position:"relative",...t.isCenterTable&&{borderRight:"0.1rem solid",borderBottom:"0.1rem solid",borderTop:"none",...d&&{borderLeft:"0.1rem solid"}},...t?.isSticky&&{boxShadow:"rgba(17, 17, 26, 0.3) 4px 0px 6px -2px"},...c&&{position:"sticky",left:s,zIndex:2,backgroundColor:u?l.palette.primary.appBackground:l.palette.primary.notifyBackground}},children:[u&&f.jsx(hO,{}),f.jsx(I0,{isRenderCellContent:!!t?.cellRenderer,column:t,row:n,parent:o})]},r)});function mO({actualIndex:e,extraHeight:t,measureRow:n,resetRow:r}){return useEffect(()=>(n(e,t),()=>r(e)),[e,t]),null}const gO=p.memo(function({visibleRows:t,stickyGridColumns:n,virtualisedColumns:r,isResizable:o,isManageable:s,topSpacerHeight:i,bottomSpacerHeight:a,selectedRow:l,isNested:c,nestedRow:u,nestedColumn:d,hashKey:h,getStickyLeft:m,offsetX:g,rightSpacerWidth:C,rowStart:b,defaultRowHeight:v,measureRow:k,resetRow:w,t:x}){const T=O.useTheme(),M=p.useCallback((A,I,P)=>{if(!A||!s||A?.isMandatory)return null;const R=l&&l?.fhi===I?.fhi||I?.isHigh;return f.jsx(O.TableCell,{className:"column_resizer_body",sx:{width:"1rem",maxWidth:"1rem",minWidth:"1rem",padding:0,position:"relative",borderBottom:`0.1rem solid ${T.palette.primary.notifyBorderColor}`},children:R&&f.jsx("div",{style:{position:"absolute",bottom:0,left:0,width:"100%",height:"0.08rem",background:"linear-gradient(#F9B16E, #F68080)",pointerEvents:"none"}})},`resize-${P}`)},[s,l,T]);return f.jsxs(O.TableBody,{children:[f.jsx("tr",{style:{height:i}}),t?.map((A,I)=>{const P=b+I,R=l&&l?.fhi===A?.fhi,W=A?.isHigh,S=u?.[A[h]];return f.jsxs(p.Fragment,{children:[f.jsxs(A1,{row:A,isSelected:R,isHigh:W,sxProps:{height:"3.5rem","& td, & th":{height:"3.5rem"}},children:[n.map((j,_)=>f.jsxs(p.Fragment,{children:[f.jsx(N1,{column:j,row:A,cellKey:_,parent:j._parent,stickyLeft:m(j),isSelected:R,isHigh:W}),o&&M(j,A,`sticky-${_}-${P}`)]},`sticky-${j.sequenceId??_}`)),f.jsx("td",{style:{minWidth:g,width:g,padding:0,border:"none"}}),r.map((j,_)=>f.jsxs(p.Fragment,{children:[f.jsx(N1,{column:j,row:A,cellKey:_,parent:j._parent,stickyLeft:m(j),isSelected:R,isHigh:W}),o&&M(j,A,`${_}-${P}`)]},`col-${j?._parent?.key??j.key}-${_}`))]}),c&&S&&f.jsxs(f.Fragment,{children:[f.jsx(mO,{actualIndex:P,extraHeight:S.length*v,measureRow:k,resetRow:w}),f.jsx(I1,{nestedData:S,nestedColumn:d,t:x})]})]},`row-${P}`)}),f.jsx("tr",{style:{height:a}})]})});function yO({rowCount:e,defaultRowHeight:t,scrollTop:n,containerRef:r,overscan:o=5}){const s=p.useRef(0),[i,a]=p.useState(()=>Bu("40rem"));p.useEffect(()=>{const m=r?.current;if(!m)return;const g=m.clientHeight;g&&g!==s.current&&(s.current=g,a(g));const C=new ResizeObserver(b=>{const v=b[0].contentRect;v.height!==s.current&&(s.current=v.height,a(v.height))});return C.observe(m),()=>C.disconnect()},[]);const[l,c]=p.useState({}),u=(m,g)=>{c(C=>C[m]===g?C:{...C,[m]:g})},d=m=>{c(g=>{if(!(m in g))return g;const C={...g};return delete C[m],C})},h=p.useMemo(()=>{const m=new Array(e+1);m[0]=0;for(let g=0;g<e;g++)m[g+1]=m[g]+(l[g]??t);return m},[l,e,t]);return p.useMemo(()=>{const m=h[e],g=n+i;let C=0,b=e-1,v=0;for(;C<=b;){const w=C+b>>1;h[w+1]>n?(v=w,b=w-1):C=w+1}v=Math.max(0,v-o),C=v,b=e-1;let k=e;for(;C<=b;){const w=C+b>>1;h[w]>=g?(k=w,b=w-1):C=w+1}return k=Math.min(e,k+o),{startIndex:v,endIndex:k,topSpacerHeight:h[v],bottomSpacerHeight:m-h[k],totalHeight:m,measureRow:u,resetRow:d}},[h,e,i,n,o])}function CO({columnWidths:e,scrollLeft:t,overscan:n=2}){const r=p.useRef(0),[o,s]=p.useState(0),i=p.useRef(null),a=p.useCallback(d=>{if(i.current?.disconnect(),!d)return;const h=d.clientWidth;h&&(r.current=h,s(h)),i.current=new ResizeObserver(m=>{const g=m[0].contentRect;g.width!==r.current&&(r.current=g.width,s(g.width))}),i.current.observe(d)},[]),l=p.useMemo(()=>e.map(d=>{const h=Number(d);return Number.isFinite(h)&&h>0?h:0}),[e]),c=p.useMemo(()=>{const d=new Array(l.length+1);d[0]=0;for(let h=0;h<l.length;h++)d[h+1]=d[h]+l[h];return d},[l]);return{...p.useMemo(()=>{const d=t+o,h=c[l.length];let m=0,g=l.length-1,C=l.length;for(;m<=g;){const v=m+g>>1;c[v+1]>t?(C=v,g=v-1):m=v+1}C=Math.max(0,C-n),m=C,g=l.length-1;let b=l.length;for(;m<=g;){const v=m+g>>1;c[v]>=d?(b=v,g=v-1):m=v+1}return b=Math.min(l.length,b+n),{startIndex:C,endIndex:b,offsetX:c[C]||0,rightSpacerWidth:h-c[b],viewportWidth:o}},[l,c,o,t,n]),measuredRef:a}}const $1=45;function bO({rows:e,sort:t,data:n,pagination:r,columns:o,nested:s,baseUrl:i,gridPath:a,childUniqueKey:l,isVirtualizedTable:c=!1,t:u}){const d=O.useTheme(),{visibleGridColumns:h}=p.useContext(cs),m=p.useContext(lo),{selectedColumn:g,handleMenuClick:C,handleClose:b,handleHideClick:v,columnUpdaterFunction:k}=P1(h,m,i,a,r?.rowPerPage,l),w=o?.isManageable,x=o?.isResizable,T=p.useRef(null),M=p.useRef(null),A=p.useRef(!1),I=p.useRef(0),P=p.useRef(0),R=p.useRef(!1),W=p.useRef(n),[,S]=p.useState({}),{getStickyLeft:j,columnsMeta:_}=lO(h),{startAutoScroll:N,stopAutoScroll:U}=fO(T),{draggedColIndex:se,isInvalidDrop:ue,handleDragStart:B,handleDragOver:E,handleDrop:D,handleDragEnd:L}=cO({visibleGridColumns:h,columnUpdaterFunction:k,isResizingRef:A,startAutoScroll:N,stopAutoScroll:U});W.current!==n&&(W.current=n,I.current=0,P.current=0,M.current&&(M.current.scrollTop=0,M.current.scrollLeft=0));const $=Le=>{const Ve=Le.currentTarget.scrollTop,st=Le.currentTarget.scrollLeft;R.current||(R.current=!0,requestAnimationFrame(()=>{I.current=Ve,P.current=st,S({}),R.current=!1}))},Y=p.useMemo(()=>_.filter(Le=>Le.isSticky&&!Le.isCenterTable),[_]),re=p.useMemo(()=>_.filter(Le=>Le.isSticky&&Le.isCenterTable||!Le.isSticky),[_]),he=p.useMemo(()=>re.map(Le=>Le.width),[re]),{startIndex:oe,endIndex:X,topSpacerHeight:te,bottomSpacerHeight:ie,measureRow:Q,resetRow:q}=yO({rowCount:n.length,defaultRowHeight:$1,scrollTop:I.current,containerRef:M,overscan:15}),{startIndex:xe,endIndex:ke,offsetX:ve,measuredRef:ae}=CO({columnWidths:he,scrollLeft:P.current,overscan:2}),je=p.useMemo(()=>re.slice(xe,ke),[re,xe,ke]),de=n?.slice(oe,X),[We,He]=p.useState(0);p.useEffect(()=>{const Le=T.current;if(!Le)return;const Ve=new ResizeObserver(()=>He(Le.offsetHeight));return Ve.observe(Le),()=>Ve.disconnect()},[]);const dt=Vf(s?.column?.definitions||[]),ge=s?.isNested,ne=s?.data||[],fe=s?.hashKey,De=p.useCallback(Le=>{M.current=Le,ae(Le)},[ae]);return n?.length?f.jsxs(f.Fragment,{children:[f.jsx(O.TableContainer,{ref:De,onScroll:$,sx:{willChange:"transform",WebkitTransform:"translateZ(0)",maxHeight:"40rem",whiteSpace:"nowrap",overflow:"auto",width:"100%",border:`0.1rem solid ${d.palette.primary.notifyBorderColor}`,borderRadius:"1.4rem",position:"relative"},children:f.jsxs(O.Table,{ref:T,stickyHeader:!0,"aria-label":"sticky table",sx:{backgroundColor:d.palette.primary.notifyBackground},children:[f.jsx(pO,{offsetX:ve,stickyGridColumns:Y,virtualisedColumns:je,isManageable:w,isResizable:x,tableHeight:We,sort:t,handleMenuClick:C,getStickyLeft:j,draggedColIndex:se,isInvalidDrop:ue,onDragStart:B,onDragOver:E,onDrop:D,onDragEnd:L,isResizingRef:A,visibleGridColumns:h,columnUpdaterFunction:k}),f.jsx(gO,{offsetX:ve,rowStart:oe,defaultRowHeight:$1,measureRow:Q,resetRow:q,visibleRows:de,stickyGridColumns:Y,virtualisedColumns:je,isResizable:x,isManageable:w,topSpacerHeight:te,bottomSpacerHeight:ie,selectedRow:e?.selectedRow,isNested:ge,nestedRow:ne,nestedColumn:dt,hashKey:fe,getStickyLeft:j,t:u})]})}),r&&f.jsx(D0,{pagination:r,gridPath:a,baseUrl:i,t:u}),f.jsx(Vl,{menuOpen:g?.isOpen,handleClose:b,onHideClick:v})]}):f.jsx(rr,{sx:{textAlign:"center"},children:u(_n.NRF)})}function F1({tableProps:e,isDefaultConfig:t,gridPath:n,baseUrl:r,childUniqueKey:o}){const{columns:s}=e,i=p.useContext(lo),{t:a}=p.useContext(Nt),l=!!e?.isVirtualizedTable,c=RT({columns:s,gridPath:n,baseUrl:r,isDefaultConfig:t,childUniqueKey:o,pageSize:e?.pagination?.rowPerPage,data:e?.data});return p.useEffect(()=>{c?.length&&e?.data?.length&&i?.({type:Re.SET_GRID_DATA,payload:{visibleGridColumns:c}})},[c,e?.data]),f.jsx(f.Fragment,{children:l?f.jsx(bO,{...e,gridPath:n,baseUrl:r,childUniqueKey:o,t:a}):f.jsx(j1,{...e,gridPath:n,baseUrl:r,childUniqueKey:o,t:a})})}F1.propTypes={tableProps:y.object.isRequired,mergedColumns:y.array.isRequired};function Ul({tableProps:e,toolbarProps:t,isDefaultConfig:n,isLoading:r}){const o=e.columns?.isManageable;return f.jsx(Nu,{children:r?f.jsxs(f.Fragment,{children:[t&&f.jsx(Es,{type:"toolbar"}),e&&f.jsx(Es,{type:"grid"})]}):f.jsxs(O.Box,{sx:{position:"sticky"},children:[t&&f.jsx(k0,{...t,isManageable:o,pageSize:e?.pagination?.rowPerPage,gridData:e?.data}),f.jsx(F1,{tableProps:e,isDefaultConfig:n,gridPath:t?.gridPath||"",baseUrl:t?.baseUrl||"",childUniqueKey:t?.childUniqueKey||""})]})})}Ul.propTypes={tableProps:y.object.isRequired,toolbarProps:y.object,isDefaultConfig:y.bool};const{TENANT_ID:Gl,BU_ID:Yl}=Iu,vO=async e=>{try{const t=localStorage.getItem("i18nextLng"),n=`${e}${Ls.NOTIFICATION}/v1?${Gl}=${Vn.TENANT_IDS}&${Yl}=${Vn.BU_IDS}&lang=${t}`;return await at.get(n,Po)}catch(t){return t}},V1=async(e,t,n)=>{try{const r=localStorage.getItem("i18nextLng"),o=`${e}${Ls.NOTIFICATION}${xl.VERSION}?${Gl}=${Vn.TENANT_IDS}&${Yl}=${Vn.BU_IDS}&lang=${r}`;return await at.put(o,t,Po)}catch(r){return r}},xO=async({baseUrl:e,id:t,snopId:n})=>{try{const r=localStorage.getItem("i18nextLng"),o=`${e}${Ls.NOTIFICATION}${xl.VERSION}?${Gl}=${Vn.TENANT_IDS}&${Yl}=${Vn.BU_IDS}&id=${t}&lang=${r}`;return await at.get(o,Po)}catch(r){return r}},Bo={OK:200,CREATED:201,NO_CONTENT:204,BAD_REQUEST:400,UNAUTHORIZED:401,NOT_FOUND:404,INTERNAL_SERVER_ERROR:500},W1=({baseUrl:e})=>{const t=p.useContext(N8),[n,r]=p.useState(!1),[o,s]=p.useState(!1),[i,a]=p.useState(!1),[l,c]=p.useState({}),[u,d]=p.useState(null),[h,m]=p.useState(1),g=p.useRef(!1),{loading:C,data:b,isMarkAllAsRead:v,mode:k,activeTab:w}=p.useContext(Ja),[x,T]=p.useState([]);p.useEffect(()=>{T(b)},[b]);const M=p.useCallback(async()=>{if(!(g.current||!e))try{t({type:Re.LOADING,loading:!0}),t({type:Re.SUCCESS,data:[]});const j=await vO(e);if(j.status===Bo.UNAUTHORIZED){g.current=!0;return}if(j.status===Bo.OK){const _=j.data?.responseData?.response||[],N=Di(_);t({type:Re.SET_MODE,mode:!1}),t({type:Re.SUCCESS,data:Di(N)}),t({type:Re.MARK_ALL_AS_READ,isMarkAllAsRead:{count:_u(_),boo:_u(_)>0}}),t({type:Re.LOADING,loading:!1})}}catch(j){j?.response?.status===Bo.UNAUTHORIZED&&(g.current=!0),t({type:Re.ERROR,error:_n.SWR}),t({type:Re.LOADING,loading:!1})}},[e,t]),A=j=>{const _=(b||[]).filter(N=>k?!N.isRead:!0);return{0:_,1:_.filter(N=>N?.type==="INFO"),2:_.filter(N=>N?.type==="ERROR")}};p.useEffect(()=>{M();const j=setInterval(M,3e5);return()=>clearInterval(j)},[M]);const I=async(j,_)=>{if(!(!j||!e)){d(j);try{const N=await xO({baseUrl:e,id:j,snopId:_});if(N.status===Bo.OK){const U=N.data?.responseData?.response||{};c(U||{}),a(!0)}else throw new Error}catch{t({type:Re.ERROR,error:_n.SWR})}finally{d(null)}}},P=async(j,_)=>{if(!(!j.length||!e)){t({type:Re.LOADING,loading:!0});try{if((await V1(e,j,_)).status===Bo.OK){const U=b.map(ue=>j.includes(ue.id)?{...ue,isRead:!0}:ue),se=U.filter(ue=>!ue.isRead).length;se===0&&t({type:Re.SET_MODE,mode:!1}),t({type:Re.SUCCESS,data:Di(U)}),t({type:Re.MARK_ALL_AS_READ,isMarkAllAsRead:{count:se,boo:se>0}}),setTimeout(()=>{t({type:Re.LOADING,loading:!1})},200)}}catch{t({type:Re.ERROR,error:_n.SWR}),t({type:Re.LOADING,loading:!1})}}},R=async()=>{if(e){t({type:Re.LOADING,loading:!0});try{const j=y3(b);if((await V1(e,j,Jg.MARK_ALL_READ)).status===Bo.OK){const N=b.map(U=>({...U,isRead:!0}));t({type:Re.SET_MODE,mode:!1}),t({type:Re.SUCCESS,data:Di(N)}),t({type:Re.MARK_ALL_AS_READ,isMarkAllAsRead:{count:0,boo:!1}}),setTimeout(()=>{t({type:Re.LOADING,loading:!1})},200)}}catch{t({type:Re.ERROR,error:_n.SWR}),t({type:Re.LOADING,loading:!1})}}},W=(j,_)=>{t({type:Re.LOADING,loading:!0}),t({type:Re.SET_ACTIVE_TAB,activeTab:_}),setTimeout(()=>{t({type:Re.LOADING,loading:!1})},400)},S=()=>{t({type:Re.LOADING,loading:!0});const j=k?b||[]:(x||[]).filter(_=>!_.isRead);t({type:Re.SET_MODE,mode:!k}),T(j),m(1),setTimeout(()=>{t({type:Re.LOADING,loading:!1})},400)};return{fetchNotification:M,showDetailsProps:{open:i,handleClose:()=>a(!1),setOpen:a,data:l,clickId:u},alertDialogProps:{open:n,handleClose:()=>r(!1),onRefresh:M,handleRead:P,handleMarkAllAsRead:R,setOpen:r,handleShowDetails:I,clickId:u,isMainDialog:!0},activeTab:w,loading:C,tabData:A()[w],data:x,mode:k,handleTabChange:W,toggleAlertMode:S,page:h,setPage:m,isMarkAllAsRead:v}};var z1,H1,U1;function ql(){return ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ql.apply(null,arguments)}var wO=function(t){return Z.createElement("svg",ql({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none"},t),z1||(z1=Z.createElement("path",{stroke:"#909090",strokeLinecap:"round",strokeMiterlimit:10,d:"M8.013 2.19c-2.206 0-4 1.793-4 4v1.927c0 .406-.173 1.026-.38 1.373l-.766 1.273c-.474.787-.147 1.66.72 1.954 2.873.96 5.973.96 8.846 0a1.335 1.335 0 0 0 .72-1.954l-.766-1.273c-.2-.347-.374-.967-.374-1.373V6.19c0-2.2-1.8-4-4-4Z"})),H1||(H1=Z.createElement("path",{stroke:"#909090",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,d:"M9.247 2.383a4.503 4.503 0 0 0-2.467 0 1.324 1.324 0 0 1 2.467 0"})),U1||(U1=Z.createElement("path",{stroke:"#909090",strokeMiterlimit:10,d:"M10.013 12.957c0 1.1-.9 2-2 2a2.007 2.007 0 0 1-2-2"})))};const SO=({count:e})=>(O.useTheme(),f.jsxs(f.Fragment,{children:[f.jsx(O.Box,{sx:{gap:"0.5rem",display:"flex",justifyContent:"center",alignItems:"center","& svg":{transform:"scale(1)"}},children:f.jsx(wO,{style:{scale:1.2}})}),f.jsx(HM,{badgeContent:e!=0?"":null,color:"error"})]}));function kO(e){return Ft("MuiCircularProgress",e)}Vt("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const En=44,Kl=sr.keyframes`
138
+ `,v1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:s={},className:i,...a}=r,[l,c]=Z.useState([]),u=Z.useRef(0),d=Z.useRef(null);Z.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const h=Z.useRef(!1),m=CM(),g=Z.useRef(null),C=Z.useRef(null),b=Z.useCallback(x=>{const{pulsate:T,rippleX:M,rippleY:A,rippleSize:I,cb:P}=x;c(R=>[...R,f.jsx(kM,{classes:{ripple:Xe(s.ripple,yn.ripple),rippleVisible:Xe(s.rippleVisible,yn.rippleVisible),ripplePulsate:Xe(s.ripplePulsate,yn.ripplePulsate),child:Xe(s.child,yn.child),childLeaving:Xe(s.childLeaving,yn.childLeaving),childPulsate:Xe(s.childPulsate,yn.childPulsate)},timeout:_l,pulsate:T,rippleX:M,rippleY:A,rippleSize:I},u.current)]),u.current+=1,d.current=P},[s]),v=Z.useCallback((x={},T={},M=()=>{})=>{const{pulsate:A=!1,center:I=o||T.pulsate,fakeElement:P=!1}=T;if(x?.type==="mousedown"&&h.current){h.current=!1;return}x?.type==="touchstart"&&(h.current=!0);const R=P?null:C.current,W=R?R.getBoundingClientRect():{width:0,height:0,left:0,top:0};let S,j,_;if(I||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)S=Math.round(W.width/2),j=Math.round(W.height/2);else{const{clientX:N,clientY:U}=x.touches&&x.touches.length>0?x.touches[0]:x;S=Math.round(N-W.left),j=Math.round(U-W.top)}if(I)_=Math.sqrt((2*W.width**2+W.height**2)/3),_%2===0&&(_+=1);else{const N=Math.max(Math.abs((R?R.clientWidth:0)-S),S)*2+2,U=Math.max(Math.abs((R?R.clientHeight:0)-j),j)*2+2;_=Math.sqrt(N**2+U**2)}x?.touches?g.current===null&&(g.current=()=>{b({pulsate:A,rippleX:S,rippleY:j,rippleSize:_,cb:M})},m.start(bM,()=>{g.current&&(g.current(),g.current=null)})):b({pulsate:A,rippleX:S,rippleY:j,rippleSize:_,cb:M})},[o,b,m]),k=Z.useCallback(()=>{v({},{pulsate:!0})},[v]),w=Z.useCallback((x,T)=>{if(m.clear(),x?.type==="touchend"&&g.current){g.current(),g.current=null,m.start(0,()=>{w(x,T)});return}g.current=null,c(M=>M.length>0?M.slice(1):M),d.current=T},[m]);return Z.useImperativeHandle(n,()=>({pulsate:k,start:v,stop:w}),[k,v,w]),f.jsx(SM,{className:Xe(yn.root,s.root,i),ref:C,...a,children:f.jsx(Za,{component:null,exit:!0,children:l})})});process.env.NODE_ENV!=="production"&&(v1.propTypes={center:y.bool,classes:y.object,className:y.string});function TM(e){return Ft("MuiButtonBase",e)}const EM=Vt("MuiButtonBase",["root","disabled","focusVisible"]),MM=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Jt({root:["root",t&&"disabled",n&&"focusVisible"]},TM,o);return n&&r&&(i.root+=` ${r}`),i},OM=Ue("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${EM.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Bl=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:s=!1,children:i,className:a,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:h=!1,focusVisibleClassName:m,LinkComponent:g="a",onBlur:C,onClick:b,onContextMenu:v,onDragLeave:k,onFocus:w,onFocusVisible:x,onKeyDown:T,onKeyUp:M,onMouseDown:A,onMouseLeave:I,onMouseUp:P,onTouchEnd:R,onTouchMove:W,onTouchStart:S,tabIndex:j=0,TouchRippleProps:_,touchRippleRef:N,type:U,...se}=r,ue=Z.useRef(null),B=hM(),E=Rr(B.ref,N),[D,L]=Z.useState(!1);c&&D&&L(!1),Z.useImperativeHandle(o,()=>({focusVisible:()=>{L(!0),ue.current.focus()}}),[]);const $=B.shouldMount&&!u&&!c;Z.useEffect(()=>{D&&h&&!u&&B.pulsate()},[u,h,D,B]);const Y=nr(B,"start",A,d),re=nr(B,"stop",v,d),he=nr(B,"stop",k,d),oe=nr(B,"stop",P,d),X=nr(B,"stop",ge=>{D&&ge.preventDefault(),I&&I(ge)},d),te=nr(B,"start",S,d),ie=nr(B,"stop",R,d),Q=nr(B,"stop",W,d),q=nr(B,"stop",ge=>{g1(ge.target)||L(!1),C&&C(ge)},!1),xe=ko(ge=>{ue.current||(ue.current=ge.currentTarget),g1(ge.target)&&(L(!0),x&&x(ge)),w&&w(ge)}),ke=()=>{const ge=ue.current;return ge?ge.tagName==="BUTTON"?!1:!(ge.tagName==="A"&&ge.href):l&&l!=="button"},ve=ko(ge=>{h&&!ge.repeat&&D&&ge.key===" "&&B.stop(ge,()=>{B.start(ge)}),ge.target===ge.currentTarget&&ke()&&ge.key===" "&&ge.preventDefault(),T&&T(ge),ge.target===ge.currentTarget&&ke()&&ge.key==="Enter"&&!c&&(ge.preventDefault(),b&&b(ge))}),ae=ko(ge=>{h&&ge.key===" "&&D&&!ge.defaultPrevented&&B.stop(ge,()=>{B.pulsate(ge)}),M&&M(ge),b&&ge.target===ge.currentTarget&&ke()&&ge.key===" "&&!ge.defaultPrevented&&!c&&b(ge)});let je=l;je==="button"&&(se.href||se.to)&&(je=g);const de={};if(je==="button"){const ge=!!se.formAction;de.type=U===void 0&&!ge?"button":U,de.disabled=c}else!se.href&&!se.to&&(de.role="button"),c&&(de["aria-disabled"]=c);const We=Rr(n,ue),He={...r,centerRipple:s,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:h,tabIndex:j,focusVisible:D},dt=MM(He);return f.jsxs(OM,{as:je,className:Xe(dt.root,a),ownerState:He,onBlur:q,onClick:b,onContextMenu:re,onFocus:xe,onKeyDown:ve,onKeyUp:ae,onMouseDown:Y,onMouseLeave:X,onMouseUp:oe,onDragLeave:he,onTouchEnd:ie,onTouchMove:Q,onTouchStart:te,ref:We,tabIndex:c?-1:j,type:U,...de,...se,children:[i,$?f.jsx(v1,{ref:E,center:s,..._}):null]})});function nr(e,t,n,r=!1){return ko(o=>(n&&n(o),r||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(Bl.propTypes={action:uM,centerRipple:y.bool,children:y.node,classes:y.object,className:y.string,component:pM,disabled:y.bool,disableRipple:y.bool,disableTouchRipple:y.bool,focusRipple:y.bool,focusVisibleClassName:y.string,formAction:y.oneOfType([y.func,y.string]),href:y.any,LinkComponent:y.elementType,onBlur:y.func,onClick:y.func,onContextMenu:y.func,onDragLeave:y.func,onFocus:y.func,onFocusVisible:y.func,onKeyDown:y.func,onKeyUp:y.func,onMouseDown:y.func,onMouseLeave:y.func,onMouseUp:y.func,onTouchEnd:y.func,onTouchMove:y.func,onTouchStart:y.func,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),tabIndex:y.number,TouchRippleProps:y.object,touchRippleRef:y.oneOfType([y.func,y.shape({current:y.shape({pulsate:y.func.isRequired,start:y.func.isRequired,stop:y.func.isRequired})})]),type:y.oneOfType([y.oneOf(["button","reset","submit"]),y.string])});function DM(e){return typeof e.main=="string"}function AM(e,t=[]){if(!DM(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function O0(e=[]){return([,t])=>t&&AM(t,e)}const IM=Ss(f.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),PM=Ss(f.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),LM=Ss(f.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),jM=Ss(f.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),x1=(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Ne(n.size)}`],n.variant==="text"&&t[`text${Ne(n.color)}`],n.variant==="outlined"&&t[`outlined${Ne(n.color)}`],n.shape==="rounded"&&t.rounded,n.type==="page"&&t.page,(n.type==="start-ellipsis"||n.type==="end-ellipsis")&&t.ellipsis,(n.type==="previous"||n.type==="next")&&t.previousNext,(n.type==="first"||n.type==="last")&&t.firstLast]},RM=e=>{const{classes:t,color:n,disabled:r,selected:o,size:s,shape:i,type:a,variant:l}=e,c={root:["root",`size${Ne(s)}`,l,i,n!=="standard"&&`color${Ne(n)}`,n!=="standard"&&`${l}${Ne(n)}`,r&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[a]],icon:["icon"]};return Jt(c,cM,t)},_M=Ue("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:x1})(Qt(({theme:e})=>({...e.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${Yt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),BM=Ue(Bl,{name:"MuiPaginationItem",slot:"Root",overridesResolver:x1})(Qt(({theme:e})=>({...e.typography.body2,borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${Yt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Yt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Yt.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Yt.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},[`&.${Yt.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${Yt.selected}`]:{[`&.${Yt.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${Yt.selected}`]:{[`&.${Yt.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter(O0(["dark","contrastText"])).map(([t])=>({props:{variant:"text",color:t},style:{[`&.${Yt.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${Yt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${Yt.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter(O0(["light"])).map(([t])=>({props:{variant:"outlined",color:t},style:{[`&.${Yt.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.5)}`,backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.activatedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Yt.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))]}))),NM=Ue("div",{name:"MuiPaginationItem",slot:"Icon"})(Qt(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),w1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiPaginationItem"}),{className:o,color:s="standard",component:i,components:a={},disabled:l=!1,page:c,selected:u=!1,shape:d="circular",size:h="medium",slots:m={},slotProps:g={},type:C="page",variant:b="text",...v}=r,k={...r,color:s,disabled:l,selected:u,shape:d,size:h,type:C,variant:b},w=Rx(),x=RM(k),T={slots:{previous:m.previous??a.previous,next:m.next??a.next,first:m.first??a.first,last:m.last??a.last},slotProps:g},[M,A]=ln("previous",{elementType:LM,externalForwardedProps:T,ownerState:k}),[I,P]=ln("next",{elementType:jM,externalForwardedProps:T,ownerState:k}),[R,W]=ln("first",{elementType:IM,externalForwardedProps:T,ownerState:k}),[S,j]=ln("last",{elementType:PM,externalForwardedProps:T,ownerState:k}),_=w?{previous:"next",next:"previous",first:"last",last:"first"}[C]:C,N={previous:M,next:I,first:R,last:S}[_],U={previous:A,next:P,first:W,last:j}[_];return C==="start-ellipsis"||C==="end-ellipsis"?f.jsx(_M,{ref:n,ownerState:k,className:Xe(x.root,o),children:"…"}):f.jsxs(BM,{ref:n,ownerState:k,component:i,disabled:l,className:Xe(x.root,o),...v,children:[C==="page"&&c,N?f.jsx(NM,{...U,className:x.icon,as:N}):null]})});process.env.NODE_ENV!=="production"&&(w1.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","standard"]),y.string]),component:y.elementType,components:y.shape({first:y.elementType,last:y.elementType,next:y.elementType,previous:y.elementType}),disabled:y.bool,page:y.node,selected:y.bool,shape:y.oneOf(["circular","rounded"]),size:y.oneOfType([y.oneOf(["small","medium","large"]),y.string]),slotProps:y.shape({first:y.oneOfType([y.func,y.object]),last:y.oneOfType([y.func,y.object]),next:y.oneOfType([y.func,y.object]),previous:y.oneOfType([y.func,y.object])}),slots:y.shape({first:y.elementType,last:y.elementType,next:y.elementType,previous:y.elementType}),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),type:y.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:y.oneOfType([y.oneOf(["outlined","text"]),y.string])});const $M=e=>{const{classes:t,variant:n}=e;return Jt({root:["root",n],ul:["ul"]},aM,t)},FM=Ue("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({}),VM=Ue("ul",{name:"MuiPagination",slot:"Ul"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function WM(e,t,n){return e==="page"?`${n?"":"Go to "}page ${t}`:`Go to ${e} page`}const S1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiPagination"}),{boundaryCount:o=1,className:s,color:i="standard",count:a=1,defaultPage:l=1,disabled:c=!1,getItemAriaLabel:u=WM,hideNextButton:d=!1,hidePrevButton:h=!1,onChange:m,page:g,renderItem:C=R=>f.jsx(w1,{...R}),shape:b="circular",showFirstButton:v=!1,showLastButton:k=!1,siblingCount:w=1,size:x="medium",variant:T="text",...M}=r,{items:A}=lM({...r,componentName:"Pagination"}),I={...r,boundaryCount:o,color:i,count:a,defaultPage:l,disabled:c,getItemAriaLabel:u,hideNextButton:d,hidePrevButton:h,renderItem:C,shape:b,showFirstButton:v,showLastButton:k,siblingCount:w,size:x,variant:T},P=$M(I);return f.jsx(FM,{"aria-label":"pagination navigation",className:Xe(P.root,s),ownerState:I,ref:n,...M,children:f.jsx(VM,{className:P.ul,ownerState:I,children:A.map((R,W)=>f.jsx("li",{children:C({...R,color:i,"aria-label":u(R.type,R.page,R.selected),shape:b,size:x,variant:T})},W))})})});process.env.NODE_ENV!=="production"&&(S1.propTypes={boundaryCount:Oo,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["primary","secondary","standard"]),y.string]),count:Oo,defaultPage:Oo,disabled:y.bool,getItemAriaLabel:y.func,hideNextButton:y.bool,hidePrevButton:y.bool,onChange:y.func,page:Oo,renderItem:y.func,shape:y.oneOf(["circular","rounded"]),showFirstButton:y.bool,showLastButton:y.bool,siblingCount:Oo,size:y.oneOfType([y.oneOf(["small","medium","large"]),y.string]),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["outlined","text"]),y.string])});const D0=({pagination:e,gridPath:t,baseUrl:n,t:r})=>{const{selectedPage:o,rowPerPage:s,totalRecords:i,onPageChange:a,onPageSizeChange:l}=e,c=O.useTheme(),u=async(m,g)=>{if(!g)return;const C=g.split("/").filter(Boolean),b="settings",k={...JSON.parse(localStorage.getItem(b))||{}};let w=k;for(let x=0;x<C.length;x++){const T=C[x];x===C.length-1?w[T]={...w[T]||{},pageSize:m}:(w[T]={...w[T]||{}},w=w[T])}localStorage.setItem(b,JSON.stringify(k)),await zr({baseUrl:n,payload:k})},d=i===0?0:(o-1)*s+1,h=Math.min(o*s,i);return f.jsxs(O.Box,{sx:{display:"flex",p:"1rem 1.5rem"},children:[f.jsxs(O.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:"0.5rem",width:"100%"},children:[f.jsx(O.Typography,{sx:{fontSize:"1.1rem",color:c.palette.primary.notifyTextColor},children:r("SHOWING_ROWS",{start:d,end:h,current:Math.min(o*s,i),total:i})}),f.jsx(O.Box,{sx:{"& .MuiInputBase-input":{padding:"0rem 0.8rem!important"},width:"6rem"},children:f.jsx(co,{options:e3,value:s,onChange:async m=>{l(m),u(m?.value,t)}})})]}),f.jsx(S1,{count:Math.ceil(i/s),page:o,onChange:async(m,g)=>{a(g)},siblingCount:0,shape:"rounded",sx:{width:"100%","& .MuiPagination-ul":{width:"100%",display:"flex",justifyContent:"flex-end","& li:first-of-type":{border:`0.1rem solid ${c.palette.primary.notifyBorderColor}`,color:c.palette.primary.notifyActiveText,marginRight:"1.5rem",borderRadius:"1rem",width:"3rem",height:"3rem",justifyContent:"center",alignItems:"center",display:"flex"},"& li:last-child":{border:`0.1rem solid ${c.palette.primary.notifyBorderColor}`,color:c.palette.primary.notifyActiveText,marginLeft:"1.5rem",borderRadius:"1rem",width:"3rem",height:"3rem",justifyContent:"center",alignItems:"center",display:"flex"}},"& .MuiPaginationItem-root":{color:"#595959",fontSize:"1.1rem",borderRadius:"1rem",width:"3rem",height:"3rem",justifyContent:"center",alignItems:"center",display:"flex","& .MuiSvgIcon-root":{fontSize:"2.2rem"}},"& .Mui-selected":{color:c.palette.primary.notifyActiveText,backgroundColor:`${c.palette.brandColor.paginationBc} !important`}}})]})};D0.propTypes={pagination:y.object.isRequired},O.styled(O.Dialog)(({theme:e})=>({"& .MuiPaper-root":{borderRadius:8,border:`1px solid ${e.palette.primary.notifyBorderColor}`,boxShadow:e.shadows[4],padding:"1rem 1rem 0rem 1rem",backgroundColor:e.palette.primary.notifyBackground}}));const rr=O.styled(O.Typography)(({theme:e})=>({color:e.palette.primary.notifyTextColor,fontSize:"1.1rem"})),zM=O.styled(O.Switch)(({theme:e})=>({width:28,height:16,padding:0,display:"flex","&:active":{"& .MuiSwitch-thumb":{width:15},"& .MuiSwitch-switchBase.Mui-checked":{transform:"translateX(9px)"}},"& .MuiSwitch-switchBase":{padding:2,"&.Mui-checked":{transform:"translateX(12px)",color:"#fff","& + .MuiSwitch-track":{opacity:1,backgroundColor:"#1890ff",...e.applyStyles("dark",{backgroundColor:"#177ddc"})}}},"& .MuiSwitch-thumb":{boxShadow:"0 2px 4px 0 rgb(0 35 11 / 20%)",width:12,height:12,borderRadius:6,transition:e.transitions.create(["width"],{duration:200})},"& .MuiSwitch-track":{borderRadius:16/2,opacity:1,backgroundColor:"rgba(0,0,0,.25)",boxSizing:"border-box",...e.applyStyles("dark",{backgroundColor:"rgba(255,255,255,.35)"})},"& .MuiSwitch-switchBase.Mui-focusVisible":{outline:`2px solid ${e.palette.brandColor.orange}`,outlineOffset:"1px"}})),HM=O.styled(O.Divider)(({theme:e})=>({color:e.palette.primary.notifyTextColor,padding:"0.6rem 0",fontSize:"0.9rem",fontWeight:500,"&::before, &::after":{borderColor:`${e.palette.primary.notifyBorderColor}!important`}})),UM=O.styled(O.Badge)(({theme:e})=>({"& .MuiBadge-badge":{right:3.5,top:1.8,border:`0.1rem solid ${e.palette.primary.notifyBackground}`,padding:"0 1.3px",borderRadius:"50%",backgroundColor:"#D44E40",fontSize:"0.725rem",minWidth:"0.7rem",height:"0.7rem"}}));O.styled(O.TextField)(({theme:e})=>({"& .MuiInputBase-root":{height:"3.52rem"},"& .MuiFormLabel-root":{color:`${e.palette.primary.notifyBorderColor} !important`,fontSize:"1rem",marginTop:"0.4rem"},"& label.Mui-focused":{color:e.palette.primary.notifyTextColor},"& .MuiInput-underline:after":{borderBottomColor:e.palette.primary.notifyBorderColor,borderBottomWidth:"0.1rem"},"& .MuiOutlinedInput-root":{"& fieldset":{borderColor:e.palette.primary.notifyBorderColor,borderWidth:"0.1rem"},"&:hover fieldset":{borderColor:e.palette.primary.notifyBorderColor,borderWidth:"0.1rem"},"&.Mui-focused fieldset":{borderColor:e.palette.primary.notifyBorderColor,borderWidth:"0.1rem"}}}));const GM=O.styled(O.Tabs)(({theme:e})=>({minHeight:"2rem","& .MuiTabs-indicator":{height:"0.1rem",backgroundColor:e.palette.primary.notifyActiveText}})),Nl=O.styled(O.Tab)(({theme:e})=>({color:e.palette.primary.notifyActiveText,textTransform:"none",fontWeight:"normal",padding:0,fontSize:"1rem",minHeight:"2rem",paddingBottom:"1rem","&.Mui-selected":{fontWeight:"bold",color:e.palette.primary.notifyActiveText},"&:focus-visible, &.Mui-focusVisible":{outline:`2px solid ${e.palette.brandColor.orange}`,outlineOffset:"1px"}})),A0=O.styled(O.Chip)(({theme:e})=>({"&.MuiChip-outlined":{borderColor:e.palette.primary.notifyBorderColor,color:e.palette.primary.notifyActiveText},height:"2rem",fontSize:"0.9rem",fontWeight:"300",borderColor:e.palette.primary.notifyBorderColor,color:e.palette.primary.notifyActiveText,borderRadius:"0.6rem",padding:"0.2rem","&:hover":{backgroundColor:`${e.palette.brandColor.orange} !important`,color:`${e.palette.brandColor.white} !important`},"&:focus-visible, &.Mui-focusVisible":{outline:`2px solid ${e.palette.brandColor.orange}`,outlineOffset:"1px"}}));function YM(e,t){const n=new Map((t??[]).map(s=>[s.id,s.label])),r=[],o=new Set;for(const s of e)s.label?.trim()&&(s.groupId?(o.has(s.groupId)||(o.add(s.groupId),r.push({isGroup:!0,id:s.groupId,label:n.get(s.groupId)??s.groupId,children:[]})),r.find(i=>i.isGroup&&i.id===s.groupId)?.children.push(s)):r.push({isGroup:!1,...s}));return r}const Ro=({children:e,indent:t=!1,onClick:n,...r})=>{const o=O.useTheme();return f.jsx(O.Stack,{direction:"row",alignItems:"center",gap:"0.5rem",role:n?"button":void 0,tabIndex:n?0:void 0,"data-roving-item":n?!0:void 0,onClick:n,onKeyDown:n?wt(n):void 0,sx:{pl:t?"2.2rem":"0.8rem",pr:"0.8rem",py:"0.4rem",cursor:"pointer",minHeight:"2rem",userSelect:"none","&:hover":{background:s=>s.palette.action?.hover??"rgba(0,0,0,0.04)"},"&:focus-visible, &.Mui-focusVisible":{outline:`1px solid ${o.palette.primary.main}`,outlineOffset:"-2px",boxShadow:"none"}},...r,children:e})},_o=({hidden:e,children:t})=>f.jsx(O.Typography,{sx:{fontSize:"1.1rem",fontWeight:300,color:n=>e?n.palette.primary.notifyTextColor:n.palette.primary.notifyActiveText,overflow:"hidden",textOverflow:"ellipsis",minWidth:0},children:t});function qM({item:e,onDragEnd:t,hiddenIds:n,expandedIds:r,toggleExpand:o,handleGroupToggle:s,handleChildToggle:i,groupAllVisible:a,groupSomeVisible:l}){O.useTheme();const c=hu(),u=r.has(e.id);return f.jsxs(Cu,{value:e,dragListener:!1,dragControls:c,onDragEnd:t,as:"div",whileDrag:{opacity:.75,scale:1.01,zIndex:50},layout:!1,style:{listStyle:"none"},children:[f.jsx(Ro,{onClick:()=>e.children.length===1&&s(e),children:f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"0.5rem",children:[f.jsx(O.Box,{onPointerDown:d=>d.stopPropagation(),onClick:d=>{d.stopPropagation(),o(e.id)},onKeyDown:d=>{d.stopPropagation(),wt(()=>o(e.id))(d)},role:"button",tabIndex:0,"aria-expanded":u,"aria-label":u?"Collapse group":"Expand group",sx:{cursor:"pointer",flexShrink:0,width:"2rem",height:"0.9rem",opacity:.6,display:"flex",alignItems:"center",justifyContent:"center",...xt()},children:f.jsx(Ct,{url:u?Te.ArrowSelectUp:Te.ArrowRight})}),f.jsxs(O.Stack,{direction:"row",gap:"0.5rem",width:"100%",alignItems:"center",children:[f.jsx(O.Box,{onPointerDown:d=>d.stopPropagation(),children:f.jsx(Rn,{sx:{p:0},checked:a(e),indeterminate:l(e),onClick:d=>{d.stopPropagation(),s(e)}})}),f.jsx(_o,{hidden:!a(e)&&!l(e),children:e.label})]})]})}),u&&e.children.map(d=>f.jsx(Ro,{indent:!0,onClick:()=>i(d),children:f.jsxs(O.Stack,{direction:"row",gap:"1rem",width:"100%",children:[f.jsx(O.Box,{sx:{flexShrink:0,width:"1rem",height:"0.9rem"}}),f.jsx(O.Box,{onPointerDown:h=>h.stopPropagation(),children:f.jsx(Rn,{sx:{p:0},checked:!n.has(d.id),onClick:h=>{h.stopPropagation(),i(d)}})}),f.jsx(_o,{hidden:n.has(d.id),children:d.label})]})},d.id))]})}function KM({item:e,onDragEnd:t,hiddenIds:n,handleLeafToggle:r}){const o=hu();return f.jsx(Cu,{value:e,dragListener:!1,dragControls:o,onDragEnd:t,as:"div",whileDrag:{opacity:.75,scale:1.01,zIndex:50},layout:!1,style:{listStyle:"none"},children:f.jsx(Ro,{onClick:()=>r(e),children:f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"0.5rem",children:[f.jsx(O.Box,{sx:{flexShrink:0,width:"2rem",height:"0.9rem"}}),f.jsxs(O.Stack,{direction:"row",gap:"0.5rem",width:"100%",alignItems:"center",children:[f.jsx(O.Box,{onPointerDown:s=>s.stopPropagation(),children:f.jsx(Rn,{sx:{p:0},checked:!n.has(e.id),onClick:s=>{s.stopPropagation(),r(e)}})}),f.jsx(_o,{hidden:n.has(e.id),children:e.label})]})]})})})}const ZM=({engine:e,onClose:t})=>{O.useTheme();const{t:n}=p.useContext(Nt),{orderedColumns:r,toggleColumnVisibility:o,showAllColumns:s,resetColumns:i,moveColumnBefore:a,groups:l=[]}=e,c=p.useMemo(()=>r.filter(E=>E.draggable||E.hideable),[r]),[u,d]=p.useState(""),[h,m]=p.useState(new Set),g=p.useRef(null),C=p.useRef(null),b=p.useRef(null);go(g,{onEscape:t,restoreFocus:!0});const{onKeyDown:v}=Ei(C,{orientation:"vertical",onEscape:t});p.useEffect(()=>{b.current?.focus({preventScroll:!0})},[]);const k=E=>{if(E.key!=="ArrowDown")return;const D=C.current?.querySelector("[data-roving-item]");D&&(E.preventDefault(),D.focus({preventScroll:!0}))},w=E=>{if(E.key==="ArrowDown"||E.key==="ArrowUp"){const D=Array.from(C.current?.querySelectorAll("[data-roving-item]")||[]),L=D.indexOf(document.activeElement),$=E.key==="ArrowDown"&&L===D.length-1||E.key==="ArrowUp"&&L===0;if(L!==-1&&$){E.preventDefault(),b.current?.focus({preventScroll:!0});return}}v(E)},[x,T]=p.useState(()=>YM(c,l)),M=p.useRef(x),[A,I]=p.useState(()=>{const E=new Set;return c.forEach(D=>{D.hidden&&E.add(D.id)}),E}),P=E=>m(D=>{const L=new Set(D);return L.has(E)?L.delete(E):L.add(E),L}),R=p.useMemo(()=>c.filter(E=>E.label?.trim()).map(E=>E.id),[c]);R.length>0&&R.every(E=>!A.has(E));const W=E=>E.children.every(D=>!A.has(D.id)),S=E=>E.children.some(D=>!A.has(D.id))&&!E.children.every(D=>!A.has(D.id)),j=E=>{const D=new Set(A),L=E.children.every($=>!D.has($.id));I($=>{const Y=new Set($);return E.children.forEach(re=>L?Y.add(re.id):Y.delete(re.id)),Y}),setTimeout(()=>{E.children.forEach($=>{const Y=D.has($.id);L&&!Y&&o($.id),!L&&Y&&o($.id)})},0)},_=E=>{o(E.id),I(D=>{const L=new Set(D);return L.has(E.id)?L.delete(E.id):L.add(E.id),L})},N=E=>{o(E.id),I(D=>{const L=new Set(D);return L.has(E.id)?L.delete(E.id):L.add(E.id),L})},U=E=>{T(E),M.current=E},se=()=>{const D=M.current.flatMap(L=>L.isGroup?L.children.map($=>$.id):[L.id]);setTimeout(()=>{for(let L=D.length-2;L>=0;L--)a(D[L],D[L+1])},0)},ue=p.useMemo(()=>{if(!u)return x;const E=u.toLowerCase();return x.reduce((D,L)=>{if(L.isGroup){const $=L.label.toLowerCase().includes(E),Y=L.children.filter(re=>re.label.toLowerCase().includes(E));$?D.push(L):Y.length&&D.push({...L,children:Y})}else L.label.toLowerCase().includes(E)&&D.push(L);return D},[])},[x,u]),B={hiddenIds:A,expandedIds:h,toggleExpand:P,handleGroupToggle:j,handleChildToggle:_,handleLeafToggle:N,groupAllVisible:W,groupSomeVisible:S,onDragEnd:se};return f.jsxs(O.Box,{ref:g,role:"dialog","aria-label":n("LABEL_MANAGE_COLUMN"),sx:{display:"flex",flexDirection:"column",height:"100%",background:E=>E.palette.primary.notifyBackground,border:E=>`0.1rem solid ${E.palette.primary.notifyBorderColor}`,overflow:"hidden",py:"1rem"},children:[f.jsx(O.Box,{sx:{flexShrink:0,padding:"0rem 1rem",pb:"0.5rem"},children:f.jsx(ls,{type:"text",inputRef:b,onKeyDown:k,placeholder:n("SEARCH"),value:u,variant:"standard",size:"small",InputProps:{disableUnderline:!0},onChange:E=>d(E.target.value),sx:{background:E=>E.palette.primary.appBackground,borderRadius:"0.8rem",border:E=>`0.1rem solid ${E.palette.primary.notifyBorderColor}`,width:"100%","& .MuiInputBase-input":{padding:"0.5rem 0.8rem!important",height:"1.8rem"}}})}),f.jsx(O.Box,{ref:C,onKeyDown:w,sx:{flex:1,overflowY:"auto",scrollbarWidth:"thin"},children:(u?ue:x).length===0?f.jsx(O.Stack,{justifyContent:"center",alignItems:"center",sx:{height:"3rem"},children:f.jsx(O.Typography,{sx:{color:E=>E.palette.primary.notifyTextColor,fontSize:"1.1rem"},children:n("NO_OPTIONS")})}):u?f.jsx(O.Box,{children:ue.map(E=>E.isGroup?f.jsxs(O.Box,{children:[f.jsx(Ro,{onClick:()=>E.children.length===1&&j(E),children:f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"0.5rem",children:[f.jsx(O.Box,{onClick:D=>{D.stopPropagation(),P(E.id)},onKeyDown:D=>{D.stopPropagation(),wt(()=>P(E.id))(D)},role:"button",tabIndex:0,"aria-expanded":h.has(E.id),"aria-label":h.has(E.id)?"Collapse group":"Expand group",sx:{cursor:"pointer",flexShrink:0,width:"2rem",height:"0.9rem",opacity:.6,display:"flex",alignItems:"center",justifyContent:"center",...xt()},children:f.jsx(Ct,{url:h.has(E.id)?Te.ArrowSelectUp:Te.ArrowRight})}),f.jsxs(O.Stack,{direction:"row",gap:"0.5rem",width:"100%",alignItems:"center",children:[f.jsx(Rn,{sx:{p:0},checked:W(E),indeterminate:S(E),onClick:D=>{D.stopPropagation(),j(E)}}),f.jsx(O.Box,{sx:{flexShrink:0,width:"2rem",height:"0.9rem",opacity:.25,display:"flex",alignItems:"center",justifyContent:"center"}}),f.jsx(_o,{hidden:!W(E)&&!S(E),children:E.label})]})]})}),E.children.map(D=>f.jsx(Ro,{indent:!0,onClick:()=>_(D),children:f.jsxs(O.Stack,{direction:"row",gap:"1rem",width:"100%",children:[f.jsx(O.Box,{sx:{flexShrink:0,width:"1rem",height:"0.9rem"}}),f.jsx(Rn,{sx:{p:0},checked:!A.has(D.id),onClick:L=>{L.stopPropagation(),_(D)}}),f.jsx(_o,{hidden:A.has(D.id),children:D.label})]})},D.id))]},E.id):f.jsx(Ro,{onClick:()=>N(E),children:f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"100%",gap:"0.5rem",children:[f.jsx(O.Box,{sx:{flexShrink:0,width:"2rem",height:"0.9rem"}}),f.jsxs(O.Stack,{direction:"row",gap:"0.5rem",width:"100%",alignItems:"center",children:[f.jsx(Rn,{sx:{p:0},checked:!A.has(E.id),onClick:D=>{D.stopPropagation(),N(E)}}),f.jsx(O.Box,{sx:{flexShrink:0,width:"2rem",height:"0.5rem",opacity:.25,display:"flex",alignItems:"center",justifyContent:"center"}}),f.jsx(_o,{hidden:A.has(E.id),children:E.label})]})]})},E.id))}):f.jsx(Lg,{as:"div",axis:"y",values:x,onReorder:U,style:{padding:0,margin:0},children:x.map(E=>E.isGroup?f.jsx(qM,{item:E,...B},E.id):f.jsx(KM,{item:E,...B},E.id))})})]})};function XM({columns:e,data:t,maxHeight:n=400,freezeColId:r,features:o,rowHeight:s,colMgr:i,sidebarOpen:a,onColumnSave:l,onColumnReorder:c,onColumnResize:u,isManageable:d,...h}){const m=O.useTheme(),g=m.palette.primary.main,C={...m.mode==="dark"?jo.dark:jo.light,"--vg-border-focus":g,"--vg-accent":g,"--vg-accent-hover":g,"--vg-accent-bg":g,"--vg-accent-text":g,"--vg-sort-active":g,"--vg-resize-hover":g,"--vg-drag-indicator":g},b=m.palette.primary.notifyBackground,v=m.palette.primary.appBackground,k=m.palette.primary.notifyTextColor,w=m.palette.primary.notifyActiveText,x=m.palette.primary.notifyBorderColor,T=m.typography?.fontFamily??"Euclid Circular Regular, sans-serif",M={root:{borderRadius:d?"1.4rem 0 0 1.4rem":"1.4rem",border:`0.1rem solid ${x}`,borderRight:a?"none":`0.1rem solid ${x}`,background:b,fontFamily:T,fontSize:"1.1rem",overflow:"hidden"},headerRow:{background:b,color:w,fontWeight:600},groupRow:{background:b,color:w,borderColor:x,borderLeft:`0.1rem solid ${x}`,fontWeight:600,borderBottom:`0.1rem solid ${x}`},groupHeaderCell:{borderColor:x,borderLeft:`0.1rem solid ${x}`,borderRight:`0.1rem solid ${x}`},headerCell:{background:b,color:k,borderColor:x,borderRight:"none",padding:"0 12px",textAlign:"center",fontWeight:"bold",fontSize:"1.1rem",lineHeight:"1.5rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},row:{background:b,color:k,borderColor:x,fontSize:"1.1rem"},cell:{background:b,borderBottom:`0.1rem solid ${x}`,borderRight:"none",color:k,borderColor:x,padding:"0",textAlign:"center",fontSize:"1.1rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontVariantNumeric:"tabular-nums"},pinnedCell:{background:b,color:k,borderBottom:`0.1rem solid ${x}`,borderRight:"none",padding:"0"},pinnedHeaderCell:{background:b,color:k,borderColor:x,borderRight:"none",padding:"0"},rowSelected:{background:v}},A={sortAsc:f.jsx(Ct,{url:Te.AscSort}),sortDesc:f.jsx(Ct,{url:Te.DescSort}),sortNone:f.jsx(Ct,{url:Te.Unsort})},I={columns:e,data:t,rowHeight:s,maxHeight:n,theme:C,features:o,styles:M,icons:A,slots:{loadingCell:f.jsx(Es,{type:"cell"}),toolbar:P=>{i.captureEngine(P)},rowSelectionIndicator:(P,R)=>f.jsx("div",{style:{position:"absolute",bottom:0,left:0,width:"100%",height:"0.08rem",background:"linear-gradient(to right, #F9B16E, #F68080)",pointerEvents:"none",zIndex:7}})},onColumnStateChange:P=>l?.(P),onColumnReorder:c,onColumnResize:u,...h};return f.jsx(rM,{...I})}function JM(e){const{t}=p.useContext(Nt),n=O.useTheme(),r=iM(),{tableProps:o,toolbarProps:s}=e,{pagination:i={},data:a=[],childUniqueKey:l="",groupByUniqueKey:c=""}=o??{},{gridPath:u="",baseUrl:d="",groupByUniqueKey:h=""}=s??{},m=c||h,g=o?.columns?.definitions,[C,b]=p.useState(0),[v,k]=p.useState(!u||!d),w=g?.definitions??[],x=g?.defaultUserSettings??[],T=s?.defaultTools?.groupBy?.appliedValue,M=!!s?.defaultTools?.groupBy,A=p.useMemo(()=>JSON.stringify(w.map(te=>({key:te.key,isVisible:te.isVisible!==!1,children:te.children?.map(ie=>ie.key)??[]}))),[w]),I=p.useMemo(()=>w.filter(te=>te.isVisible!==!1),[g?.definitions]),{settings:P,hasNewColumns:R}=p.useMemo(()=>(!u||!w.length)&&!a.length?{settings:g?.settings??[],hasNewColumns:!1}:HT({definitions:w,defaultSetting:x,gridPath:u,childUniqueKey:l}),[u,l,C,a.length,A]),W=p.useRef(null),S=p.useRef(null),j=p.useRef(null),_=p.useRef(P),N=p.useRef(null);p.useEffect(()=>{if(!u||!d){k(!0);return}if(!w.length&&!a.length)return;N.current??=zT({baseUrl:d,gridPath:u,definitions:w,defaultSetting:x,childUniqueKey:l,groupByUniqueKey:m,includeGroupBy:M});let te=!0;return N.current.finally(()=>{te&&(j.current=JSON.stringify(T??[]),S.current=null,b(ie=>ie+1),k(!0))}),()=>{te=!1}},[u,d,w.length,x.length,l,m,M,a.length]),p.useEffect(()=>{if(!v||!u||!Array.isArray(T))return;const te=JSON.stringify(T);te!==j.current&&(j.current=te,UT({groupBy:T,gridPath:u,baseUrl:d,groupByUniqueKey:m}))},[v,T,u,d,l,m]);const U=p.useRef(l);U.current!==l&&(U.current=l,_.current=P,S.current=null);const se=p.useRef(!1);v&&!se.current&&(se.current=!0,_.current=P,S.current=null);const ue=()=>_.current?.length?_.current:P,B=p.useCallback(te=>{!v||!u||(clearTimeout(W.current),W.current=setTimeout(()=>{const ie=new Map(te.map(ve=>[ve.id,ve])),Q=ue(),q=ve=>{const ae=ie.get(ve.key),je={key:ve.key,sequence_id:ve.sequence_id,isHidden:ae?ae.hidden:ve.isHidden??!0,style:ve.style??{}};return ve.children?.length&&(je.children=ve.children.map(q)),je},xe=Q.map(q),ke=JSON.stringify(xe);if(S.current===null){S.current=ke,_.current=xe,R&&(S0({settings:xe,previousSettings:void 0,definitions:w,defaultSetting:x,gridPath:u,baseUrl:d,childUniqueKey:l}),b(ve=>ve+1));return}ke!==S.current&&(S.current=ke,_.current=xe,S0({settings:xe,previousSettings:Q,definitions:w,defaultSetting:x,gridPath:u,baseUrl:d,childUniqueKey:l}),b(ve=>ve+1))},1500))},[v,u,d,R,w,x,P,l]),E=p.useCallback(te=>{if(!v||!u)return;const ie=ue(),Q=[];ie.forEach(de=>{Q.push(de),de.children?.forEach(We=>Q.push(We))});const q=new Map(Q.map(de=>[de.key,de.sequence_id])),xe=te.filter(de=>q.has(de));xe.length!==te.length&&console.error("handleColumnReorder: could not resolve current sequence_id for",te.filter(de=>!q.has(de)));const ke=xe.map(de=>q.get(de)).sort((de,We)=>de-We),ve=new Map(xe.map((de,We)=>[de,ke[We]])),ae=ie.map(de=>{const We={key:de.key,sequence_id:ve.get(de.key)??de.sequence_id,isHidden:de.isHidden??!1,style:de.style??{}};return de.children?.length&&(We.children=de.children.map(He=>({...He,sequence_id:ve.get(He.key)??He.sequence_id}))),We}),je=JSON.stringify(ae);je!==S.current&&(S.current=je,_.current=ae,S0({settings:ae,previousSettings:ie,definitions:w,defaultSetting:x,gridPath:u,baseUrl:d,childUniqueKey:l}),b(de=>de+1))},[v,u,d,w,x,P,l]),D=p.useCallback((te,ie)=>{!v||!u||(clearTimeout(W.current),W.current=setTimeout(()=>{const Q=`${ie}px`,q=ue(),xe=ae=>{const je=ae.key===te,de={key:ae.key,sequence_id:ae.sequence_id,isHidden:ae.isHidden??!1,style:je?{width:Q}:ae.style??{}};return ae.children?.length&&(de.children=ae.children.map(xe)),de},ke=q.map(xe),ve=JSON.stringify(ke);ve!==S.current&&(S.current=ve,_.current=ke,S0({settings:ke,previousSettings:q,definitions:w,defaultSetting:x,gridPath:u,baseUrl:d,childUniqueKey:l}),b(ae=>ae+1))},1500))},[v,u,d,w,x,P,l]),L=p.useMemo(()=>{if(!P.length)return I;const te=new Map(P.map((ie,Q)=>[ie.key,Q]));return[...I].sort((ie,Q)=>(te.get(ie.key)??1/0)-(te.get(Q.key)??1/0))},[I,P]),$=p.useMemo(()=>g&&{...g,definitions:L,settings:P,childUniqueKey:l},[g,L,P,l]),Y=p.useMemo(()=>XT($),[$]),re=p.useRef(null),he=p.useRef(null),oe={pageSize:i?.rowPerPage,gridData:a},X=p.useMemo(()=>{const te=s?.defaultTools?.groupBy;if(!te||!Object.prototype.hasOwnProperty.call(te,"appliedValue"))return s;const ie={...te};return delete ie.appliedValue,{...s,defaultTools:{...s.defaultTools,groupBy:ie}}},[s]);return Mi({[Xt(ht.MANAGE_COLUMNS)]:{run:r.toggle,disabled:!o?.columns?.isManageable}},{enabled:s?.shortcuts?.enabled!==!1,isPaused:()=>!JT(he.current)}),f.jsx(At,{children:f.jsxs(O.Box,{ref:he,children:[s&&f.jsx(k0,{...X,...oe,shortcuts:{...X?.shortcuts,scopeRef:he}}),v?a.length?f.jsxs(f.Fragment,{children:[f.jsxs(O.Box,{sx:{display:"flex",alignItems:"stretch"},children:[f.jsxs(O.Box,{ref:re,sx:{flex:1,minWidth:0,alignSelf:"flex-start",position:"relative",'&:not(:focus-within) [role="gridcell"]':{outline:"none !important"}},children:[f.jsx(XM,{...o,columns:Y,texts:{...o?.texts,hideColumn:t("LABEL_HIDE_COLUMN")},colMgr:r,sidebarOpen:!1,isManageable:o?.columns?.isManageable,onColumnSave:B,onColumnReorder:E,onColumnResize:D},`${l}-${v?"ready":"loading"}-${A}`),o?.columns?.isManageable&&r.isOpen&&f.jsx(O.Box,{sx:{position:"absolute",top:0,right:0,width:260,height:"100%",zIndex:10,display:"flex",flexDirection:"column",overflow:"hidden"},children:f.jsx(r.ColumnManagerPanel,{style:{width:"100%",height:"100%",display:"flex",flexDirection:"column",overflow:"hidden"},render:({engine:te,close:ie})=>f.jsx(ZM,{engine:te,onClose:ie})})})]}),o?.columns?.isManageable&&f.jsx(O.Tooltip,{title:t("LABEL_MANAGE_COLUMN"),placement:"left",children:f.jsxs(O.Box,{onClick:r.toggle,onKeyDown:wt(r.toggle),role:"button",tabIndex:0,"aria-expanded":r.isOpen,"aria-label":t("LABEL_MANAGE_COLUMN"),sx:{width:"2rem",flexShrink:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",cursor:"pointer",gap:"0.5rem",p:"0 1.3rem",borderRadius:(r.isOpen,"0 1.4rem 1.4rem 0"),border:te=>`0.1rem solid ${te.palette.primary.notifyBorderColor}`,borderLeft:"none",background:te=>te.palette.primary.notifyButtonBackground,transition:"background 0.15s","&:hover":{background:te=>te.palette.primary.appBackground},"&:focus-visible, &.Mui-focusVisible":{outline:`2px solid ${n.palette.primary.main}`,outlineOffset:"-2px",boxShadow:"none"}},children:[f.jsx(O.Box,{component:"img",src:Te.Manage,sx:{width:"1.6rem",height:"2rem",transform:"rotate(90deg)"}}),f.jsx(O.Typography,{sx:{fontSize:"1rem",letterSpacing:"0.08em",writingMode:"vertical-rl",textOrientation:"mixed",transform:"rotate(360deg)",userSelect:"none",color:te=>te.palette.primary.notifyTextColor},children:a?.length>1?t("LABEL_MANAGE_COLUMN"):t("LABEL_MANAGE_COLUMN")?.slice(0,7)})]})})]}),Object.keys(i).length>0&&f.jsx(D0,{pagination:i,gridPath:u,baseUrl:d,t})]}):f.jsx(rr,{sx:{textAlign:"center"},children:t(_n.NRF)}):f.jsx(Es,{type:"grid"})]})})}const k1=e=>{let{disabled:t=!1,minWidth:n=0,maxWidth:r,className:o="",id:s,resizeStart:i,resizeEnd:a,defaultWidth:l,rowSpan:c=1,colSpan:u=1}=e;const[d,h]=p.useState(!1),[m,g]=p.useState(0),[C,b]=p.useState(0),[v,k]=p.useState(0),[w,x]=p.useState(null),T=p.useRef(null),M=p.useCallback(S=>{if(!t&&(x(s),i&&i(),h(!0),g(S),b(0),T.current)){const j=T.current.previousSibling;j&&b(j.clientWidth)}},[t,s,i]),A=p.useCallback(()=>{t||(d&&a&&w===s&&a(v),h(!1),x(null))},[t,a,w,s,v,d]),I=p.useCallback(S=>{if(t)return;const j="touches"in S?S.touches[0].screenX:S.screenX;if(!d)return;const _=T.current;if(!_||!_.previousSibling)return;const N=_.previousSibling,U=m-j;let se=C-U;n!==void 0&&se<n&&(se=n),r!==void 0&&se>r&&(se=r),N.style.width=se+"px",N.style.minWidth=se+"px",N.style.maxWidth=se+"px",N.style.setProperty("--column_resize_before_width",se+"px"),k(se)},[t,d,m,C,n,r]);p.useEffect(()=>{const S=T.current;if(S&&S.previousSibling){const j=S.previousSibling;l?(j.style.minWidth=l+"px",j.style.width=l+"px",j.style.maxWidth=l+"px",j.style.setProperty("--column_resize_before_width",l+"px")):n&&(j.style.minWidth=n+"px",j.style.width=n+"px",j.style.maxWidth=n+"px",j.style.setProperty("--column_resize_before_width",n+"px"))}},[l,n]),p.useEffect(()=>{const S=T.current;if(t&&S&&S.previousSibling){const j=S.previousSibling;l&&(j.style.minWidth=l+"px",j.style.width=l+"px",j.style.maxWidth=l+"px",j.style.setProperty("--column_resize_before_width",l+"px")),r&&(j.style.maxWidth=r+"px")}},[t,l,r]);const P=p.useCallback(()=>{document.addEventListener("mousemove",I),document.addEventListener("mouseup",A),document.addEventListener("touchmove",I),document.addEventListener("touchend",A)},[I,A]),R=p.useCallback(()=>{document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",A),document.removeEventListener("touchmove",I),document.removeEventListener("touchend",A)},[I,A]);p.useEffect(()=>(t||P(),()=>{R()}),[t,P,R]);const W={userSelect:"none"};return t||(W.cursor="ew-resize"),o===""&&(W.width="6px",W.backgroundColor="rgba(0, 0, 0, 0.1)"),p.createElement("th",{ref:T,style:W,rowSpan:c,colSpan:u,className:"column_resizer_own_class ".concat(t?"disabled_column_resize":""," ").concat(o),onMouseDown:t?void 0:S=>M(S.screenX),onTouchStart:t?void 0:S=>M(S.touches[0].screenX)})};function I0({isRenderCellContent:e,column:t,row:n,parent:r}){const o=n[t.key],s=o?.length>20;return f.jsx(f.Fragment,{children:e?f.jsx(O.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",textTransform:"none",fontSize:"1.1rem"},children:t?.cellRenderer(n,{column:t,parent:r})}):f.jsx(f.Fragment,{children:s?f.jsx(O.Tooltip,{title:o,placement:"top",componentsProps:{tooltip:{sx:{fontSize:"1rem",padding:"0.5rem 1rem",boxShadow:"0 2px 8px rgba(0,0,0,0.3)"}}},children:f.jsx(O.Box,{sx:{maxWidth:"auto",whiteSpace:"normal"},children:f.jsx(O.Typography,{sx:{fontSize:"1.1rem",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",textTransform:"none"},children:o})})}):f.jsx(O.Box,{sx:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",textTransform:"none",fontSize:"1.1rem",m:0},id:t.key,component:"p",children:o??""})})})}I0.propTypes={isRenderCellContent:y.bool,column:y.object,row:y.object};const T1=Z.createContext();process.env.NODE_ENV!=="production"&&(T1.displayName="TableContext");const $l=Z.createContext();process.env.NODE_ENV!=="production"&&($l.displayName="Tablelvl2Context");function QM(e){return Ft("MuiTableCell",e)}const Fl=Vt("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),eO=e=>{const{classes:t,variant:n,align:r,padding:o,size:s,stickyHeader:i}=e,a={root:["root",n,i&&"stickyHeader",r!=="inherit"&&`align${Ne(r)}`,o!=="normal"&&`padding${Ne(o)}`,`size${Ne(s)}`]};return Jt(a,QM,t)},tO=Ue("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Ne(n.size)}`],n.padding!=="normal"&&t[`padding${Ne(n.padding)}`],n.align!=="inherit"&&t[`align${Ne(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(Qt(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
139
+ ${e.palette.mode==="light"?e.lighten(e.alpha(e.palette.divider,1),.88):e.darken(e.alpha(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${Fl.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),E1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiTableCell"}),{align:o="inherit",className:s,component:i,padding:a,scope:l,size:c,sortDirection:u,variant:d,...h}=r,m=Z.useContext(T1),g=Z.useContext($l),C=g&&g.variant==="head";let b;i?b=i:b=C?"th":"td";let v=l;b==="td"?v=void 0:!v&&C&&(v="col");const k=d||g&&g.variant,w={...r,align:o,component:b,padding:a||(m&&m.padding?m.padding:"normal"),size:c||(m&&m.size?m.size:"medium"),sortDirection:u,stickyHeader:k==="head"&&m&&m.stickyHeader,variant:k},x=eO(w);let T=null;return u&&(T=u==="asc"?"ascending":"descending"),f.jsx(tO,{as:b,ref:n,className:Xe(x.root,s),"aria-sort":T,scope:v,ownerState:w,...h})});process.env.NODE_ENV!=="production"&&(E1.propTypes={align:y.oneOf(["center","inherit","justify","left","right"]),children:y.node,classes:y.object,className:y.string,component:y.elementType,padding:y.oneOf(["checkbox","none","normal"]),scope:y.string,size:y.oneOfType([y.oneOf(["medium","small"]),y.string]),sortDirection:y.oneOf(["asc","desc",!1]),sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),variant:y.oneOfType([y.oneOf(["body","footer","head"]),y.string])});const nO=Ue(E1)(({theme:e})=>({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"table-cell",[`&.${Fl.head}`]:{color:e.palette.primary.notifyTextColor,backgroundColor:e.palette.primary.notifyBackground,borderColor:e.palette.primary.notifyBorderColor,padding:"0rem",textAlign:"center",lineHeight:"1.5rem"},[`&.${Fl.body}`]:{color:e.palette.primary.notifyTextColor,borderColor:e.palette.primary.notifyBorderColor,padding:"0rem",textAlign:"center"}}));function Ur({children:e,...t}){return f.jsx(nO,{...t,children:e})}Ur.propTypes={children:y.node};function rO(e){return Ft("MuiTableRow",e)}const M1=Vt("MuiTableRow",["root","selected","hover","head","footer"]),oO=e=>{const{classes:t,selected:n,hover:r,head:o,footer:s}=e;return Jt({root:["root",n&&"selected",r&&"hover",o&&"head",s&&"footer"]},rO,t)},sO=Ue("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(Qt(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${M1.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${M1.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)}}}))),O1="tr",D1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiTableRow"}),{className:o,component:s=O1,hover:i=!1,selected:a=!1,...l}=r,c=Z.useContext($l),u={...r,component:s,hover:i,selected:a,head:c&&c.variant==="head",footer:c&&c.variant==="footer"},d=oO(u);return f.jsx(sO,{as:s,ref:n,className:Xe(d.root,o),role:s===O1?null:"row",ownerState:u,...l})});process.env.NODE_ENV!=="production"&&(D1.propTypes={children:y.node,classes:y.object,className:y.string,component:y.elementType,hover:y.bool,selected:y.bool,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});const iO=Ue(D1)(()=>({"&:last-child td":{borderBottom:"none"}}));function gr({children:e,...t}){return f.jsx(iO,{...t,children:e})}gr.propTypes={children:y.node};const A1=p.memo(({row:e,isSelected:t,isHigh:n,onRowClick:r,children:o,sxProps:s})=>{const i=!!r;return f.jsx(gr,{sx:a=>({backgroundColor:t||n?a.palette.primary.appBackground:a.palette.primary.notifyBackground,...s}),onClick:()=>r?.(e),...i&&{tabIndex:0,onKeyDown:wt(()=>r(e))},children:o},e?.fhi)}),I1=p.memo(({nestedData:e,nestedColumn:t,t:n})=>e?.length?f.jsx(f.Fragment,{children:e.map((r,o)=>f.jsx(gr,{children:t.map((s,i)=>f.jsx(Ur,{style:s?.style,children:f.jsx(I0,{isRenderCellContent:!!s?.cellRenderer,column:s,row:r})},i))},`nested-${o}`))}):f.jsx(gr,{children:f.jsx(Ur,{colSpan:t.length,children:f.jsx(rr,{sx:{textAlign:"center"},children:n(_n.NRF)})})})),P1=(e,t,n,r,o,s)=>{const[i,a]=p.useState({isOpen:!1,column:null}),l=(h,m,g)=>{a({isOpen:h.currentTarget,column:m,isChild:!!g})},c=()=>{a({isOpen:!1,column:null,isChild:!1})},u=async()=>{c();const h=e.map(m=>{if(i?.isChild&&Array.isArray(m.children)){const g=m.children.map(b=>b.key===i.column?.key?{...b,isHidden:!0}:b),C=g.every(b=>b.isHidden);return{...m,isHidden:C?!0:m.isHidden,children:g}}return m.key===i.column?.key?{...m,isHidden:!0}:m});d({updatedColumns:h})},d=async({updatedColumns:h})=>{t({type:Re.SET_GRID_DATA,payload:{visibleGridColumns:h}});const m=r.split("/").filter(Boolean),g=JSON.parse(localStorage.getItem(nn.SETTINGS));let C=m.reduce((M,A)=>M?.[A],g)||null,b=Rs({columns:h,childUniqueKey:s});const v=tr(C?.columns);b=b?.map(M=>{const A=M?.children||{},I=v?.[M?.key]?.children||{};return{...M,...(Object.keys(I)?.length>0||A?.[s])&&{children:{...I,[s]:A?.[s]}}}});const w={...g||{platform:{theme:"light"}}},x=C?.pageSize??o;let T=w;for(let M=0;M<m.length;M++){const A=m[M];M===m.length-1?T[A]={columns:b,pageSize:x}:(T[A]={...T[A]||{}},T=T[A])}localStorage.setItem(nn.SETTINGS,JSON.stringify(w)),await zr({baseUrl:n,payload:w})};return{selectedColumn:i,handleMenuClick:l,handleClose:c,handleHideClick:u,columnUpdaterFunction:d}},Vl=({menuOpen:e,handleClose:t,onHideClick:n})=>{const r=O.useTheme(),{t:o}=p.useContext(Nt);return f.jsx(O.Popover,{open:!!e,anchorEl:e,onClose:t,anchorOrigin:{vertical:"bottom",horizontal:"left"},children:f.jsx(O.Box,{sx:{backgroundColor:r.palette.primary.notifyBackground,border:`0.1rem solid ${r.palette.primary.notifyBorderColor}`,minHeight:"2.3rem",display:"flex",justifyContent:"center",alignItems:"center"},children:f.jsx(O.Button,{onClick:n,disableRipple:!0,sx:{textTransform:"none",fontSize:"1.1rem",p:"0.4rem 1rem",minHeight:"unset",fontWeight:500,color:r.palette.primary.notifyTextColor,backgroundColor:"transparent","&:hover":{backgroundColor:"transparent"},"&:active":{backgroundColor:"transparent"},"&:focus":{backgroundColor:"transparent"}},children:o("LABEL_HIDE_COLUMN")})})})};Vl.propTypes={menuOpen:y.object,handleClose:y.func,onHideClick:y.func};const L1=({sortKey:e,sortField:t,sortDir:n,handleSortClick:r})=>{const o=s=>f.jsx(O.IconButton,{onClick:r,sx:{padding:"0.2rem"},draggable:!1,children:f.jsx(Ct,{url:s})});return f.jsx(f.Fragment,{children:o(t===e?n==="asc"?Te.AscSort:Te.DescSort:Te.Unsort)})};L1.propTypes={sortKey:y.string.isRequired,sortField:y.string,sortDir:y.string,handleSortClick:y.func};const aO={placement:"top",componentsProps:{tooltip:{sx:{fontSize:"1rem",padding:"0.6rem 1rem",boxShadow:"0 2px 8px rgba(0,0,0,0.3)"}}}},lO=e=>e!=null&&e!=="";function Wl({parent:e,column:t,sort:n,handleMenuClick:r,isManageable:o}){const s=o&&(!t?.isMandatory||t?.isMandatory&&t?.showHide===!0),i=t?.label,a=t?.helpText,l=t?.isSortable,c=n?.sortField,u=n?.sortDir,d=n?.onSort,h=i??"";return f.jsxs(O.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},draggable:!1,children:[f.jsx(O.Box,{sx:{fontWeight:"bold",fontSize:"1.1rem",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",padding:"0.5rem",textAlign:"center"},children:lO(a)?f.jsx(O.Tooltip,{title:a,...aO,children:f.jsx("span",{children:h})}):h}),f.jsxs(O.Box,{sx:{display:"flex",alignItems:"center"},draggable:!1,children:[l&&f.jsx(L1,{sortKey:e?`${e?.key}|${t?.key}`:t?.key,sortField:c,sortDir:u,handleSortClick:()=>d({column:t,sortDir:u,sortField:c,parent:e})}),s&&f.jsx(O.IconButton,{draggable:!1,onClick:m=>r(m,t,e),sx:{padding:"0.2rem"},children:f.jsx(Ct,{url:Te.Menu})})]})]})}Wl.propTypes={column:y.object.isRequired,sort:y.object.isRequired,handleMenuClick:y.func,isManageable:y.bool};function j1({rows:e,sort:t,data:n,pagination:r,columns:o,nested:s,baseUrl:i,gridPath:a,childUniqueKey:l,isVirtualizedTable:c=!1,t:u}){const d=O.useTheme(),{visibleGridColumns:h}=p.useContext(cs),m=p.useContext(lo),{selectedColumn:g,handleMenuClick:C,handleClose:b,handleHideClick:v,columnUpdaterFunction:k}=P1(h,m,i,a,r?.rowPerPage,l),w=o?.isManageable,x=o?.isResizable,T=n?.length>0,M=p.useRef(null),A=p.useRef(null),I=45,P=10,R=n?.length,[W,S]=p.useState({start:0,end:10}),[j,_]=p.useState(null),[N,U]=p.useState(null),[se,ue]=p.useState(null);let B=null;const E=p.useRef(0),D=p.useRef(!1),L=p.useRef(null),$=Vf(s?.column?.definitions||[]),Y=s?.isNested,re=s?.data||[],he=s?.hashKey,[oe,X]=p.useState(0);p.useEffect(()=>{if(M.current){const ne=()=>{X(M.current.offsetHeight)};return ne(),window.addEventListener("resize",ne),()=>window.removeEventListener("resize",ne)}},[n]),p.useEffect(()=>{const fe=M.current?.querySelector("thead");if(!fe)return;const De=()=>{ue(null)};return fe?.addEventListener("mousedown",De),()=>{fe?.removeEventListener("mousedown",De)}},[]);const te=(ne,fe)=>{if(D.current){ne.preventDefault();return}_(fe),ue(null),ne.dataTransfer.setData("colIndex",fe);const De=h[fe],Le=De?.label,Ve=document.createElement("div");Ve.textContent=Le,Object.assign(Ve.style,{display:"flex",alignItems:"center",justifyContent:"center",padding:"1.5rem 2.5rem",minWidth:De?.style?.minWidth,maxWidth:De?.style?.maxWidth,fontSize:"1.2rem",fontWeight:"500",color:d.palette.primary.notifyTextColor,background:d.palette.primary.notifyBackground,border:`0.1rem solid ${d.palette.primary.notifyBorderColor}`,borderRadius:"0rem",pointerEvents:"none",position:"absolute",top:"0",left:"0",zIndex:"-1",textAlign:"center",boxSizing:"border-box",boxShadow:"0 1px 4px rgba(0, 0, 0, 0.2)"}),document.body.appendChild(Ve);const{offsetWidth:st,offsetHeight:kt}=Ve;ne.dataTransfer.setDragImage(Ve,st/2,kt/2),requestAnimationFrame(()=>{document.body.removeChild(Ve)})},ie=(ne,fe)=>{ne.preventDefault(),U(fe),je(ne)},Q=async(ne,fe)=>{if(ne.preventDefault(),clearInterval(B),j===null||j===fe)return;const De=[...h],[Le]=De.splice(j,1);De.splice(fe,0,Le);const Ve=h[j].sequenceId,st=h[fe].sequenceId,kt=De.map(ct=>ct.key===h[j].key?{...ct,sequenceId:st}:ct.key===h[fe].key?{...ct,sequenceId:Ve}:ct);k({updatedColumns:kt}),_(null),U(null)},q=()=>{_(null),U(null)},xe=(ne,fe,De,Le)=>{if(!ne)return null;const Ve=ne?.isMandatory&&ne?.isSticky,st=parseFloat(ne?.style?.minWidth?.toString().replace("rem",""))||7.5;fe===0&&(E.current=0);const kt=Ve?fe===0?0:`${E.current}rem`:void 0;Ve&&(E.current+=st);const ct=j===fe,$e=N==fe||h?.[N]?.isMandatory,qt=ee=>{ne.isMandatory?(ee.preventDefault(),ee.dataTransfer.dropEffect="none"):(ee.preventDefault(),ee.dataTransfer.dropEffect="move"),ie?.(ee,fe)},V=ee=>{ne.isMandatory||Q?.(ee,fe)};return Le&&`${Le?.key}${ne?.key}${fe}`,f.jsx(Ur,{rowSpan:ne?.children?1:2,colSpan:ne?.children?.filter(ee=>!ee?.isHidden)?.length,style:ne?.style,draggable:De&&!ne?.isMandatory,onDragStart:De&&!ne?.isMandatory?ee=>te(ee,fe):ee=>{ee.preventDefault()},onDragOver:De&&!ne?.isMandatory?qt:void 0,onDrop:De&&!ne?.isMandatory?V:void 0,onDragEnd:De&&!ne?.isMandatory?q:void 0,sx:{...ne?.isSticky&&{boxShadow:"rgba(17, 17, 26, 0.3) 4px 0px 6px -2px"},...ne.isCenterTable&&{borderRight:"0.1rem solid",borderBottom:"0.1rem solid",borderTop:"none",...ne?.key==="volume_value"&&{borderLeft:"1px solid"}},...ct&&{border:`0.1rem solid ${d.palette.brandColor.lightBlue}!important`},...Ve&&{position:"sticky",left:kt,zIndex:3},cursor:$e?"not-allowed":De&&!ne?.isMandatory?"grab":"default"},children:f.jsx(Wl,{parent:Le,column:ne,sort:t,handleMenuClick:C,isManageable:De})},fe)},ke=p.useCallback((ne,fe,De,Le)=>{if(!ne)return null;const Ve=ne?.isMandatory&&ne?.isSticky,st=parseFloat(ne?.style?.minWidth?.toString().replace("rem",""))||7.5;De===0&&(E.current=0);const kt=Ve?De===0?0:`${E.current}rem`:void 0;return Ve&&(E.current+=st),f.jsxs(Ur,{colSpan:1,style:ne?.style,className:`${ne?.label}`,sx:{position:"relative",...ne.isCenterTable&&{borderRight:"0.1rem solid",borderBottom:"0.1rem solid",borderTop:"none",...ne?.key==="volume_value"&&{borderLeft:"1px solid"}},...ne?.isSticky&&{boxShadow:"rgba(17, 17, 26, 0.3) 4px 0px 6px -2px"},...Ve&&{position:"sticky",left:kt,zIndex:2,backgroundColor:ct=>e?.selectedRow&&e?.selectedRow?.fhi===fe?.fhi||fe?.isHigh?ct.palette.primary.appBackground:ct.palette.primary.notifyBackground}},children:[(e?.selectedRow&&e?.selectedRow?.fhi===fe?.fhi||fe?.isHigh)&&f.jsx(O.Box,{sx:{position:"absolute",bottom:0,left:0,width:"100%",height:"0.08rem",background:"linear-gradient(#F9B16E, #F68080)",pointerEvents:"none",zIndex:1}}),f.jsx(I0,{isRenderCellContent:!!ne?.cellRenderer,column:ne,row:fe,parent:Le})]},De)},[e?.selectedRow,d]),ve=(ne,fe,De,Le)=>f.jsx(f.Fragment,{children:ne&&De&&!ne?.isMandatory?f.jsx(O.Box,{resizeStart:()=>{ne?.isMandatory&&!ne?.isResizable||(D.current=!0)},resizeEnd:Ve=>{ne?.isMandatory&&!ne?.isResizable||Ve<=20||(D.current=!1,Kf({index:fe,visibleGridColumns:h,width:Ve,columnUpdaterFunction:k}))},component:ne?.children||ne?.isMandatory?O.TableCell:k1,rowSpan:ne?.children?1:2,colSpan:1,id:fe,sx:{width:"1rem",maxWidth:"1rem",minWidth:"1rem",padding:0,position:"relative",borderBottom:`0.1rem solid ${d.palette.primary.notifyBorderColor}`,cursor:"col-resize","&::after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"0.15rem",height:"1.5rem",backgroundColor:d.palette.primary.notifyBorderColor,zIndex:1},...!ne?.isMandatory&&{"&:hover::after":{content:'""',position:"absolute",top:0,left:"50%",transform:"translateX(-50%)",width:"0.2rem",height:`${oe}px`,backgroundColor:d.palette.primary.notifyBorderColor,zIndex:1}}}}):null}),ae=p.useCallback((ne,fe,De,Le,Ve,st,kt)=>f.jsx(f.Fragment,{children:fe&&Le&&!fe?.isMandatory?f.jsx(O.TableCell,{className:"column_resizer_body",sx:{width:"1rem",maxWidth:"1rem",minWidth:"1rem",padding:0,position:"relative",borderBottom:`0.1rem solid ${d.palette.primary.notifyBorderColor}`},children:(e?.selectedRow&&e?.selectedRow?.fhi===ne?.fhi||ne?.isHigh)&&f.jsx(O.Box,{sx:{position:"absolute",bottom:0,left:0,width:"100%",height:"0.08rem",background:"linear-gradient(#F9B16E, #F68080)",pointerEvents:"none"}})},`resize-${De}_${kt}`):null}),[e?.selectedRow,d]),je=ne=>{const fe=M.current,{left:De,right:Le}=fe.getBoundingClientRect(),Ve=50,st=ne.clientX>Le-Ve?1:ne.clientX<De+Ve?-1:0;st!==0?(L.current&&clearInterval(L.current),L.current=setInterval(()=>{fe.scrollLeft+=st*10},50)):L.current&&(clearInterval(L.current),L.current=null)},de=ne=>ne?.map((fe,De)=>{const Le=W.start+De,Ve=fe[he],st=re?.[Ve],kt=e?.selectedRow&&e?.selectedRow?.fhi===fe?.fhi,ct=fe?.isHigh;return f.jsxs(p.Fragment,{children:[f.jsx(A1,{row:fe,isSelected:kt,isHigh:ct,onRowClick:e?.onRowClick,children:h.map(($e,qt)=>$e?.isHidden||$e?.isVisible===!1?null:$e?.children?$e.children.map((V,ee)=>V?.isHidden?null:f.jsxs(p.Fragment,{children:[ke(V,fe,ee,$e),x&&ae(fe,V,ee,w,$e,"",Le)]},`col-${qt}-${ee}`)):f.jsxs(p.Fragment,{children:[ke($e,fe,qt),x&&ae(fe,$e,qt,w,"","",Le)]},`col-${qt}`))}),Y&&st&&f.jsx(I1,{nestedData:st,nestedColumn:$,t:u})]},`row-${Le}`)}),We=()=>{const ne=A.current;if(!ne)return;const fe=ne.scrollTop,De=ne.clientHeight,Le=Math.floor(fe/I)-P,Ve=Math.ceil(De/I)+2*P,st=Math.max(0,Math.min(R-1,Le)),kt=Math.max(st,Math.min(R,st+Ve));S(ct=>ct.start===st&&ct.end===kt?ct:{start:st,end:kt})};p.useEffect(()=>{let ne;const fe=()=>{ne&&cancelAnimationFrame(ne),ne=requestAnimationFrame(()=>{We()})},De=A.current;if(!(!De||!c))return We(),De.addEventListener("scroll",fe),()=>{cancelAnimationFrame(ne),De.removeEventListener("scroll",fe)}},[R]);const He=W.start*I,dt=(R-W.end)*I,ge=c?n?.slice(W.start,W.end):n;return T?f.jsxs(f.Fragment,{children:[f.jsx(O.TableContainer,{ref:A,sx:{willChange:"transform",WebkitTransform:"translateZ(0)",maxHeight:"40rem",whiteSpace:"nowrap",overflow:"auto",width:"100%",border:`0.1rem solid ${d.palette.primary.notifyBorderColor}`,borderRadius:"1.4rem",position:"relative"},children:f.jsxs(O.Table,{ref:M,stickyHeader:!0,"aria-label":"sticky table",sx:{backgroundColor:ne=>ne.palette.primary.notifyBackground},children:[f.jsxs(O.TableHead,{children:[f.jsx(gr,{sx:{position:"sticky",top:0,zIndex:3,backgroundColor:ne=>ne.palette.primary.notifyBackground},children:h.map((ne,fe)=>ne?.isHidden||ne?.isVisible===!1?null:f.jsxs(p.Fragment,{children:[xe(ne,fe,w),ve(ne,fe,w)]},fe))}),f.jsx(gr,{draggable:!1,sx:{position:"sticky",top:"2.5rem",backgroundColor:d.palette.primary.notifyBackground,zIndex:2},children:h.flatMap((ne,fe)=>ne?.isHidden||!ne?.children||ne?.isVisible===!1?[]:ne.children.map((De,Le)=>De?.isHidden?null:f.jsxs(p.Fragment,{children:[xe(De,Le,w,ne),x&&ve(De,Le,w)]},`${fe}-${Le}`)))})]}),f.jsxs(O.TableBody,{children:[c&&f.jsx("tr",{style:{height:He}}),de(ge),c&&f.jsx("tr",{style:{height:dt}})]})]})}),r&&f.jsx(D0,{pagination:r,gridPath:a,baseUrl:i,t:u}),f.jsx(Vl,{menuOpen:g?.isOpen,handleClose:b,onHideClick:v})]}):f.jsx(rr,{sx:{textAlign:"center"},children:u(_n.NRF)})}j1.propTypes={sort:y.object,data:y.array,pagination:y.object,columns:y.object,nested:y.object};function R1(e){return Bu(e?.style?.width??e?.style?.minWidth??e?.style?.maxWidth)||0}const _1=e=>e?.isHidden||e?.isVisible===!1;function cO(e){const t=p.useMemo(()=>{let o=0;return e.flatMap((s,i)=>{if(_1(s))return[];if(Array.isArray(s.children)&&s.children.length){const c=s.children.filter(u=>!_1(u));return c.length?c.map(u=>{const d=R1(u),h={...u,_parent:s,_originalIndex:i,width:d,start:o,end:o+d,isSticky:!!(u?.isSticky??s?.isSticky)};return o+=d,h}):[]}const a=R1(s);if(a===0)return[];const l={...s,_parent:null,_originalIndex:i,width:a,start:o,end:o+a,isSticky:!!s?.isSticky};return o+=a,l})},[e]),n=p.useMemo(()=>{let o=0;const s={};return t.forEach(i=>{i.isSticky&&(s[i.sequenceId]=o,o+=i.width)}),s},[t]);return{columnsMeta:t,stickyOffsets:n,getStickyLeft:o=>{if(!o?.isMandatory||!o?.isSticky)return;const s=n[o.sequenceId];return s===0?0:`${s}px`}}}function uO({visibleGridColumns:e,columnUpdaterFunction:t,isResizingRef:n,startAutoScroll:r,stopAutoScroll:o}){const s=O.useTheme(),[i,a]=p.useState(null),[l,c]=p.useState(null),u=p.useCallback((b,v)=>{if(n.current){b.preventDefault();return}a(v),b.dataTransfer.setData("colIndex",v);const k=e[v],w=document.createElement("div");w.textContent=k?.label,Object.assign(w.style,{display:"flex",alignItems:"center",justifyContent:"center",padding:"1.5rem 2.5rem",minWidth:k?.style?.minWidth,maxWidth:k?.style?.maxWidth,fontSize:"1.2rem",fontWeight:"500",color:s.palette.primary.notifyTextColor,background:s.palette.primary.notifyBackground,border:`0.1rem solid ${s.palette.primary.notifyBorderColor}`,borderRadius:"0rem",pointerEvents:"none",position:"absolute",top:"0",left:"0",zIndex:"-1",textAlign:"center",boxSizing:"border-box",boxShadow:"0 1px 4px rgba(0, 0, 0, 0.2)"}),document.body.appendChild(w);const{offsetWidth:x,offsetHeight:T}=w;b.dataTransfer.setDragImage(w,x/2,T/2),requestAnimationFrame(()=>document.body.removeChild(w))},[n,e,s]),d=p.useCallback((b,v)=>{if(b.preventDefault(),e?.[v]?.isMandatory){b.dataTransfer.dropEffect="none";return}b.dataTransfer.dropEffect="move",c(v),r(b.clientX)},[r,e]),h=p.useCallback(async(b,v)=>{if(b.preventDefault(),o(),i===null||i===v||e?.[v]?.isMandatory)return;const k=[...e],[w]=k.splice(i,1);k.splice(v,0,w);const x=[...e].sort((M,A)=>M.sequenceId-A.sequenceId).map(M=>M.sequenceId),T=k.map((M,A)=>({...M,sequenceId:x[A]??M.sequenceId}));t({updatedColumns:T}),a(null),c(null)},[i,e,t,o]),m=p.useCallback(()=>{o(),a(null),c(null)},[o]),g=b=>!b?.isMandatory,C=p.useCallback(b=>l===null||i===null?!1:!!(e?.[b]?.isMandatory||e?.[l]?.isMandatory),[l,i,e]);return{draggedColIndex:i,dragOverIndex:l,handleDragStart:u,handleDragOver:d,handleDrop:h,handleDragEnd:m,isDraggable:g,isInvalidDrop:C}}const B1=50,dO=10,fO=50;function pO(e){const t=p.useRef(null),n=p.useCallback(()=>{t.current&&(clearInterval(t.current),t.current=null)},[]);return{startAutoScroll:p.useCallback(o=>{const s=e.current;if(!s)return;const{left:i,right:a}=s.getBoundingClientRect(),l=o>a-B1?1:o<i+B1?-1:0;if(l===0){n();return}t.current||(t.current=setInterval(()=>{s.scrollLeft+=l*dO},fO))},[e,n]),stopAutoScroll:n}}const zl=p.memo(function({column:t,index:n,isManageable:r,parent:o,stickyLeft:s,colSpanOverride:i,draggedColIndex:a,isInvalidDrop:l,onDragStart:c,onDragOver:u,onDrop:d,onDragEnd:h,sort:m,handleMenuClick:g}){const C=O.useTheme(),b=a===n,v=r&&!t?.isMandatory,k=t?.isMandatory&&t?.isSticky,w=o&&o.children?.find(M=>!M?.isHidden&&M?.isVisible!==!1)?.key===t?.key,x=!o&&Array.isArray(t?.children)&&t.children.some(M=>!M?.isHidden&&M?.isVisible!==!1),T=i??t.children?.filter(M=>!M?.isHidden)?.length;return f.jsx(Ur,{rowSpan:t?.children?1:2,colSpan:T,style:t?.style,draggable:v,onDragStart:v?M=>c(M,n):M=>M.preventDefault(),onDragOver:v?M=>u(M,n):void 0,onDrop:v?M=>d(M,n):void 0,onDragEnd:v?h:void 0,sx:{...t?.isSticky&&{boxShadow:"rgba(17, 17, 26, 0.3) 4px 0px 6px -2px"},...t.isCenterTable&&{borderRight:"0.1rem solid",borderBottom:"0.1rem solid",borderTop:"none",...(w||x)&&{borderLeft:"0.1rem solid"}},...b&&{border:`0.1rem solid ${C.palette.brandColor.lightBlue}!important`},...k&&{position:"sticky",left:s,zIndex:3},cursor:l(n)?"not-allowed":v?"grab":"default"},children:f.jsx(Wl,{parent:o,column:t,sort:m,handleMenuClick:g,isManageable:r})},n)}),Hl=p.memo(function({column:t,index:n,isManageable:r,tableHeight:o,onResizeStart:s,onResizeEnd:i}){const a=O.useTheme();return!t||!r||t?.isMandatory?null:f.jsx(O.Box,{component:t?.children||t?.isMandatory?O.TableCell:k1,rowSpan:t?.children?1:2,colSpan:1,id:n,resizeStart:s,resizeEnd:i,sx:{width:"1rem",maxWidth:"1rem",minWidth:"1rem",padding:0,position:"relative",borderBottom:`0.1rem solid ${a.palette.primary.notifyBorderColor}`,cursor:"col-resize","&::after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"0.15rem",height:"1.5rem",backgroundColor:a.palette.primary.notifyBorderColor,zIndex:1},"&:hover::after":{content:'""',position:"absolute",top:0,left:"50%",transform:"translateX(-50%)",width:"0.2rem",height:`${o}px`,backgroundColor:a.palette.primary.notifyBorderColor,zIndex:1}}})}),hO=p.memo(function({stickyGridColumns:t,virtualisedColumns:n,isManageable:r,isResizable:o,tableHeight:s,sort:i,handleMenuClick:a,getStickyLeft:l,offsetX:c,draggedColIndex:u,isInvalidDrop:d,onDragStart:h,onDragOver:m,onDrop:g,onDragEnd:C,isResizingRef:b,columnUpdaterFunction:v,visibleGridColumns:k}){const w=O.useTheme(),x={draggedColIndex:u,isInvalidDrop:d,onDragStart:h,onDragOver:m,onDrop:g,onDragEnd:C},T=(A,I)=>({onResizeStart:()=>{A?.isMandatory&&!A?.isResizable||(b.current=!0)},onResizeEnd:P=>{A?.isMandatory&&!A?.isResizable||P<=20||(b.current=!1,Kf({index:I,visibleGridColumns:k,width:P,columnUpdaterFunction:v}))}}),M=p.useMemo(()=>{const A=[];return n.forEach(I=>{const P=I._parent?.key??I.key,R=A[A.length-1];R&&R.key===P?R.colSpan+=1:A.push({key:P,column:I._parent??I,colSpan:1,firstChild:I})}),A},[n]);return f.jsxs(O.TableHead,{children:[f.jsxs(gr,{sx:{position:"sticky",top:0,zIndex:3,backgroundColor:w.palette.primary.notifyBackground},children:[t.map((A,I)=>{const P=A._parent??A;return f.jsxs(p.Fragment,{children:[f.jsx(zl,{column:P,index:A._originalIndex,isManageable:r,stickyLeft:l(A),sort:i,handleMenuClick:a,...x}),o&&f.jsx(Hl,{column:P,index:A._originalIndex,isManageable:r,tableHeight:s,...T(P,A._originalIndex)})]},`sticky-p-${I}`)}),f.jsx("th",{style:{minWidth:c,width:c,padding:0,border:"none"}}),M.map((A,I)=>f.jsxs(p.Fragment,{children:[f.jsx(zl,{column:A.column,index:A.firstChild._originalIndex,colSpanOverride:A.colSpan,isManageable:r,stickyLeft:l(A.firstChild),sort:i,handleMenuClick:a,...x}),o&&f.jsx(Hl,{column:A.column,index:A.firstChild._originalIndex,isManageable:r,tableHeight:s,...T(A.column,A.firstChild._originalIndex)})]},`parent-${A.key}`))]}),f.jsxs(gr,{draggable:!1,sx:{position:"sticky",top:"2.5rem",backgroundColor:w.palette.primary.notifyBackground,zIndex:2},children:[f.jsx("th",{style:{minWidth:c,width:c,padding:0,border:"none"}}),n?.map((A,I)=>A._parent&&f.jsxs(p.Fragment,{children:[f.jsx(zl,{column:A,index:A._originalIndex,isManageable:r,parent:A._parent,stickyLeft:l(A),sort:i,handleMenuClick:a,...x}),o&&f.jsx(Hl,{column:A,index:A._originalIndex,isManageable:r,tableHeight:s,...T(A,A._originalIndex)})]},`child-${A?._parent?.key??A.key}-${I}`))]})]})}),mO=()=>f.jsx(O.Box,{sx:{position:"absolute",bottom:0,left:0,width:"100%",height:"0.08rem",background:"linear-gradient(#F9B16E, #F68080)",pointerEvents:"none",zIndex:1}}),N1=p.memo(function({column:t,row:n,cellKey:r,parent:o,stickyLeft:s,isSelected:i,isHigh:a}){const l=O.useTheme(),c=t?.isMandatory&&t?.isSticky,u=i||a,d=o&&o.children?.find(h=>!h?.isHidden&&h?.isVisible!==!1)?.key===t?.key;return f.jsxs(Ur,{colSpan:1,style:t?.style,className:`${t?.label}`,sx:{position:"relative",...t.isCenterTable&&{borderRight:"0.1rem solid",borderBottom:"0.1rem solid",borderTop:"none",...d&&{borderLeft:"0.1rem solid"}},...t?.isSticky&&{boxShadow:"rgba(17, 17, 26, 0.3) 4px 0px 6px -2px"},...c&&{position:"sticky",left:s,zIndex:2,backgroundColor:u?l.palette.primary.appBackground:l.palette.primary.notifyBackground}},children:[u&&f.jsx(mO,{}),f.jsx(I0,{isRenderCellContent:!!t?.cellRenderer,column:t,row:n,parent:o})]},r)});function gO({actualIndex:e,extraHeight:t,measureRow:n,resetRow:r}){return useEffect(()=>(n(e,t),()=>r(e)),[e,t]),null}const yO=p.memo(function({visibleRows:t,stickyGridColumns:n,virtualisedColumns:r,isResizable:o,isManageable:s,topSpacerHeight:i,bottomSpacerHeight:a,selectedRow:l,isNested:c,nestedRow:u,nestedColumn:d,hashKey:h,getStickyLeft:m,offsetX:g,rightSpacerWidth:C,rowStart:b,defaultRowHeight:v,measureRow:k,resetRow:w,t:x}){const T=O.useTheme(),M=p.useCallback((A,I,P)=>{if(!A||!s||A?.isMandatory)return null;const R=l&&l?.fhi===I?.fhi||I?.isHigh;return f.jsx(O.TableCell,{className:"column_resizer_body",sx:{width:"1rem",maxWidth:"1rem",minWidth:"1rem",padding:0,position:"relative",borderBottom:`0.1rem solid ${T.palette.primary.notifyBorderColor}`},children:R&&f.jsx("div",{style:{position:"absolute",bottom:0,left:0,width:"100%",height:"0.08rem",background:"linear-gradient(#F9B16E, #F68080)",pointerEvents:"none"}})},`resize-${P}`)},[s,l,T]);return f.jsxs(O.TableBody,{children:[f.jsx("tr",{style:{height:i}}),t?.map((A,I)=>{const P=b+I,R=l&&l?.fhi===A?.fhi,W=A?.isHigh,S=u?.[A[h]];return f.jsxs(p.Fragment,{children:[f.jsxs(A1,{row:A,isSelected:R,isHigh:W,sxProps:{height:"3.5rem","& td, & th":{height:"3.5rem"}},children:[n.map((j,_)=>f.jsxs(p.Fragment,{children:[f.jsx(N1,{column:j,row:A,cellKey:_,parent:j._parent,stickyLeft:m(j),isSelected:R,isHigh:W}),o&&M(j,A,`sticky-${_}-${P}`)]},`sticky-${j.sequenceId??_}`)),f.jsx("td",{style:{minWidth:g,width:g,padding:0,border:"none"}}),r.map((j,_)=>f.jsxs(p.Fragment,{children:[f.jsx(N1,{column:j,row:A,cellKey:_,parent:j._parent,stickyLeft:m(j),isSelected:R,isHigh:W}),o&&M(j,A,`${_}-${P}`)]},`col-${j?._parent?.key??j.key}-${_}`))]}),c&&S&&f.jsxs(f.Fragment,{children:[f.jsx(gO,{actualIndex:P,extraHeight:S.length*v,measureRow:k,resetRow:w}),f.jsx(I1,{nestedData:S,nestedColumn:d,t:x})]})]},`row-${P}`)}),f.jsx("tr",{style:{height:a}})]})});function CO({rowCount:e,defaultRowHeight:t,scrollTop:n,containerRef:r,overscan:o=5}){const s=p.useRef(0),[i,a]=p.useState(()=>Bu("40rem"));p.useEffect(()=>{const m=r?.current;if(!m)return;const g=m.clientHeight;g&&g!==s.current&&(s.current=g,a(g));const C=new ResizeObserver(b=>{const v=b[0].contentRect;v.height!==s.current&&(s.current=v.height,a(v.height))});return C.observe(m),()=>C.disconnect()},[]);const[l,c]=p.useState({}),u=(m,g)=>{c(C=>C[m]===g?C:{...C,[m]:g})},d=m=>{c(g=>{if(!(m in g))return g;const C={...g};return delete C[m],C})},h=p.useMemo(()=>{const m=new Array(e+1);m[0]=0;for(let g=0;g<e;g++)m[g+1]=m[g]+(l[g]??t);return m},[l,e,t]);return p.useMemo(()=>{const m=h[e],g=n+i;let C=0,b=e-1,v=0;for(;C<=b;){const w=C+b>>1;h[w+1]>n?(v=w,b=w-1):C=w+1}v=Math.max(0,v-o),C=v,b=e-1;let k=e;for(;C<=b;){const w=C+b>>1;h[w]>=g?(k=w,b=w-1):C=w+1}return k=Math.min(e,k+o),{startIndex:v,endIndex:k,topSpacerHeight:h[v],bottomSpacerHeight:m-h[k],totalHeight:m,measureRow:u,resetRow:d}},[h,e,i,n,o])}function bO({columnWidths:e,scrollLeft:t,overscan:n=2}){const r=p.useRef(0),[o,s]=p.useState(0),i=p.useRef(null),a=p.useCallback(d=>{if(i.current?.disconnect(),!d)return;const h=d.clientWidth;h&&(r.current=h,s(h)),i.current=new ResizeObserver(m=>{const g=m[0].contentRect;g.width!==r.current&&(r.current=g.width,s(g.width))}),i.current.observe(d)},[]),l=p.useMemo(()=>e.map(d=>{const h=Number(d);return Number.isFinite(h)&&h>0?h:0}),[e]),c=p.useMemo(()=>{const d=new Array(l.length+1);d[0]=0;for(let h=0;h<l.length;h++)d[h+1]=d[h]+l[h];return d},[l]);return{...p.useMemo(()=>{const d=t+o,h=c[l.length];let m=0,g=l.length-1,C=l.length;for(;m<=g;){const v=m+g>>1;c[v+1]>t?(C=v,g=v-1):m=v+1}C=Math.max(0,C-n),m=C,g=l.length-1;let b=l.length;for(;m<=g;){const v=m+g>>1;c[v]>=d?(b=v,g=v-1):m=v+1}return b=Math.min(l.length,b+n),{startIndex:C,endIndex:b,offsetX:c[C]||0,rightSpacerWidth:h-c[b],viewportWidth:o}},[l,c,o,t,n]),measuredRef:a}}const $1=45;function vO({rows:e,sort:t,data:n,pagination:r,columns:o,nested:s,baseUrl:i,gridPath:a,childUniqueKey:l,isVirtualizedTable:c=!1,t:u}){const d=O.useTheme(),{visibleGridColumns:h}=p.useContext(cs),m=p.useContext(lo),{selectedColumn:g,handleMenuClick:C,handleClose:b,handleHideClick:v,columnUpdaterFunction:k}=P1(h,m,i,a,r?.rowPerPage,l),w=o?.isManageable,x=o?.isResizable,T=p.useRef(null),M=p.useRef(null),A=p.useRef(!1),I=p.useRef(0),P=p.useRef(0),R=p.useRef(!1),W=p.useRef(n),[,S]=p.useState({}),{getStickyLeft:j,columnsMeta:_}=cO(h),{startAutoScroll:N,stopAutoScroll:U}=pO(T),{draggedColIndex:se,isInvalidDrop:ue,handleDragStart:B,handleDragOver:E,handleDrop:D,handleDragEnd:L}=uO({visibleGridColumns:h,columnUpdaterFunction:k,isResizingRef:A,startAutoScroll:N,stopAutoScroll:U});W.current!==n&&(W.current=n,I.current=0,P.current=0,M.current&&(M.current.scrollTop=0,M.current.scrollLeft=0));const $=Le=>{const Ve=Le.currentTarget.scrollTop,st=Le.currentTarget.scrollLeft;R.current||(R.current=!0,requestAnimationFrame(()=>{I.current=Ve,P.current=st,S({}),R.current=!1}))},Y=p.useMemo(()=>_.filter(Le=>Le.isSticky&&!Le.isCenterTable),[_]),re=p.useMemo(()=>_.filter(Le=>Le.isSticky&&Le.isCenterTable||!Le.isSticky),[_]),he=p.useMemo(()=>re.map(Le=>Le.width),[re]),{startIndex:oe,endIndex:X,topSpacerHeight:te,bottomSpacerHeight:ie,measureRow:Q,resetRow:q}=CO({rowCount:n.length,defaultRowHeight:$1,scrollTop:I.current,containerRef:M,overscan:15}),{startIndex:xe,endIndex:ke,offsetX:ve,measuredRef:ae}=bO({columnWidths:he,scrollLeft:P.current,overscan:2}),je=p.useMemo(()=>re.slice(xe,ke),[re,xe,ke]),de=n?.slice(oe,X),[We,He]=p.useState(0);p.useEffect(()=>{const Le=T.current;if(!Le)return;const Ve=new ResizeObserver(()=>He(Le.offsetHeight));return Ve.observe(Le),()=>Ve.disconnect()},[]);const dt=Vf(s?.column?.definitions||[]),ge=s?.isNested,ne=s?.data||[],fe=s?.hashKey,De=p.useCallback(Le=>{M.current=Le,ae(Le)},[ae]);return n?.length?f.jsxs(f.Fragment,{children:[f.jsx(O.TableContainer,{ref:De,onScroll:$,sx:{willChange:"transform",WebkitTransform:"translateZ(0)",maxHeight:"40rem",whiteSpace:"nowrap",overflow:"auto",width:"100%",border:`0.1rem solid ${d.palette.primary.notifyBorderColor}`,borderRadius:"1.4rem",position:"relative"},children:f.jsxs(O.Table,{ref:T,stickyHeader:!0,"aria-label":"sticky table",sx:{backgroundColor:d.palette.primary.notifyBackground},children:[f.jsx(hO,{offsetX:ve,stickyGridColumns:Y,virtualisedColumns:je,isManageable:w,isResizable:x,tableHeight:We,sort:t,handleMenuClick:C,getStickyLeft:j,draggedColIndex:se,isInvalidDrop:ue,onDragStart:B,onDragOver:E,onDrop:D,onDragEnd:L,isResizingRef:A,visibleGridColumns:h,columnUpdaterFunction:k}),f.jsx(yO,{offsetX:ve,rowStart:oe,defaultRowHeight:$1,measureRow:Q,resetRow:q,visibleRows:de,stickyGridColumns:Y,virtualisedColumns:je,isResizable:x,isManageable:w,topSpacerHeight:te,bottomSpacerHeight:ie,selectedRow:e?.selectedRow,isNested:ge,nestedRow:ne,nestedColumn:dt,hashKey:fe,getStickyLeft:j,t:u})]})}),r&&f.jsx(D0,{pagination:r,gridPath:a,baseUrl:i,t:u}),f.jsx(Vl,{menuOpen:g?.isOpen,handleClose:b,onHideClick:v})]}):f.jsx(rr,{sx:{textAlign:"center"},children:u(_n.NRF)})}function F1({tableProps:e,isDefaultConfig:t,gridPath:n,baseUrl:r,childUniqueKey:o}){const{columns:s}=e,i=p.useContext(lo),{t:a}=p.useContext(Nt),l=!!e?.isVirtualizedTable,c=_T({columns:s,gridPath:n,baseUrl:r,isDefaultConfig:t,childUniqueKey:o,pageSize:e?.pagination?.rowPerPage,data:e?.data});return p.useEffect(()=>{c?.length&&e?.data?.length&&i?.({type:Re.SET_GRID_DATA,payload:{visibleGridColumns:c}})},[c,e?.data]),f.jsx(f.Fragment,{children:l?f.jsx(vO,{...e,gridPath:n,baseUrl:r,childUniqueKey:o,t:a}):f.jsx(j1,{...e,gridPath:n,baseUrl:r,childUniqueKey:o,t:a})})}F1.propTypes={tableProps:y.object.isRequired,mergedColumns:y.array.isRequired};function Ul({tableProps:e,toolbarProps:t,isDefaultConfig:n,isLoading:r}){const o=e.columns?.isManageable;return f.jsx(Nu,{children:r?f.jsxs(f.Fragment,{children:[t&&f.jsx(Es,{type:"toolbar"}),e&&f.jsx(Es,{type:"grid"})]}):f.jsxs(O.Box,{sx:{position:"sticky"},children:[t&&f.jsx(k0,{...t,isManageable:o,pageSize:e?.pagination?.rowPerPage,gridData:e?.data}),f.jsx(F1,{tableProps:e,isDefaultConfig:n,gridPath:t?.gridPath||"",baseUrl:t?.baseUrl||"",childUniqueKey:t?.childUniqueKey||""})]})})}Ul.propTypes={tableProps:y.object.isRequired,toolbarProps:y.object,isDefaultConfig:y.bool};const{TENANT_ID:Gl,BU_ID:Yl}=Iu,xO=async e=>{try{const t=localStorage.getItem("i18nextLng"),n=`${e}${Ls.NOTIFICATION}/v1?${Gl}=${Vn.TENANT_IDS}&${Yl}=${Vn.BU_IDS}&lang=${t}`;return await at.get(n,Po)}catch(t){return t}},V1=async(e,t,n)=>{try{const r=localStorage.getItem("i18nextLng"),o=`${e}${Ls.NOTIFICATION}${xl.VERSION}?${Gl}=${Vn.TENANT_IDS}&${Yl}=${Vn.BU_IDS}&lang=${r}`;return await at.put(o,t,Po)}catch(r){return r}},wO=async({baseUrl:e,id:t,snopId:n})=>{try{const r=localStorage.getItem("i18nextLng"),o=`${e}${Ls.NOTIFICATION}${xl.VERSION}?${Gl}=${Vn.TENANT_IDS}&${Yl}=${Vn.BU_IDS}&id=${t}&lang=${r}`;return await at.get(o,Po)}catch(r){return r}},Bo={OK:200,CREATED:201,NO_CONTENT:204,BAD_REQUEST:400,UNAUTHORIZED:401,NOT_FOUND:404,INTERNAL_SERVER_ERROR:500},W1=({baseUrl:e})=>{const t=p.useContext(N8),[n,r]=p.useState(!1),[o,s]=p.useState(!1),[i,a]=p.useState(!1),[l,c]=p.useState({}),[u,d]=p.useState(null),[h,m]=p.useState(1),g=p.useRef(!1),{loading:C,data:b,isMarkAllAsRead:v,mode:k,activeTab:w}=p.useContext(Ja),[x,T]=p.useState([]);p.useEffect(()=>{T(b)},[b]);const M=p.useCallback(async()=>{if(!(g.current||!e))try{t({type:Re.LOADING,loading:!0}),t({type:Re.SUCCESS,data:[]});const j=await xO(e);if(j.status===Bo.UNAUTHORIZED){g.current=!0;return}if(j.status===Bo.OK){const _=j.data?.responseData?.response||[],N=Di(_);t({type:Re.SET_MODE,mode:!1}),t({type:Re.SUCCESS,data:Di(N)}),t({type:Re.MARK_ALL_AS_READ,isMarkAllAsRead:{count:_u(_),boo:_u(_)>0}}),t({type:Re.LOADING,loading:!1})}}catch(j){j?.response?.status===Bo.UNAUTHORIZED&&(g.current=!0),t({type:Re.ERROR,error:_n.SWR}),t({type:Re.LOADING,loading:!1})}},[e,t]),A=j=>{const _=(b||[]).filter(N=>k?!N.isRead:!0);return{0:_,1:_.filter(N=>N?.type==="INFO"),2:_.filter(N=>N?.type==="ERROR")}};p.useEffect(()=>{M();const j=setInterval(M,3e5);return()=>clearInterval(j)},[M]);const I=async(j,_)=>{if(!(!j||!e)){d(j);try{const N=await wO({baseUrl:e,id:j,snopId:_});if(N.status===Bo.OK){const U=N.data?.responseData?.response||{};c(U||{}),a(!0)}else throw new Error}catch{t({type:Re.ERROR,error:_n.SWR})}finally{d(null)}}},P=async(j,_)=>{if(!(!j.length||!e)){t({type:Re.LOADING,loading:!0});try{if((await V1(e,j,_)).status===Bo.OK){const U=b.map(ue=>j.includes(ue.id)?{...ue,isRead:!0}:ue),se=U.filter(ue=>!ue.isRead).length;se===0&&t({type:Re.SET_MODE,mode:!1}),t({type:Re.SUCCESS,data:Di(U)}),t({type:Re.MARK_ALL_AS_READ,isMarkAllAsRead:{count:se,boo:se>0}}),setTimeout(()=>{t({type:Re.LOADING,loading:!1})},200)}}catch{t({type:Re.ERROR,error:_n.SWR}),t({type:Re.LOADING,loading:!1})}}},R=async()=>{if(e){t({type:Re.LOADING,loading:!0});try{const j=C3(b);if((await V1(e,j,Qg.MARK_ALL_READ)).status===Bo.OK){const N=b.map(U=>({...U,isRead:!0}));t({type:Re.SET_MODE,mode:!1}),t({type:Re.SUCCESS,data:Di(N)}),t({type:Re.MARK_ALL_AS_READ,isMarkAllAsRead:{count:0,boo:!1}}),setTimeout(()=>{t({type:Re.LOADING,loading:!1})},200)}}catch{t({type:Re.ERROR,error:_n.SWR}),t({type:Re.LOADING,loading:!1})}}},W=(j,_)=>{t({type:Re.LOADING,loading:!0}),t({type:Re.SET_ACTIVE_TAB,activeTab:_}),setTimeout(()=>{t({type:Re.LOADING,loading:!1})},400)},S=()=>{t({type:Re.LOADING,loading:!0});const j=k?b||[]:(x||[]).filter(_=>!_.isRead);t({type:Re.SET_MODE,mode:!k}),T(j),m(1),setTimeout(()=>{t({type:Re.LOADING,loading:!1})},400)};return{fetchNotification:M,showDetailsProps:{open:i,handleClose:()=>a(!1),setOpen:a,data:l,clickId:u},alertDialogProps:{open:n,handleClose:()=>r(!1),onRefresh:M,handleRead:P,handleMarkAllAsRead:R,setOpen:r,handleShowDetails:I,clickId:u,isMainDialog:!0},activeTab:w,loading:C,tabData:A()[w],data:x,mode:k,handleTabChange:W,toggleAlertMode:S,page:h,setPage:m,isMarkAllAsRead:v}};var z1,H1,U1;function ql(){return ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ql.apply(null,arguments)}var SO=function(t){return Z.createElement("svg",ql({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none"},t),z1||(z1=Z.createElement("path",{stroke:"#909090",strokeLinecap:"round",strokeMiterlimit:10,d:"M8.013 2.19c-2.206 0-4 1.793-4 4v1.927c0 .406-.173 1.026-.38 1.373l-.766 1.273c-.474.787-.147 1.66.72 1.954 2.873.96 5.973.96 8.846 0a1.335 1.335 0 0 0 .72-1.954l-.766-1.273c-.2-.347-.374-.967-.374-1.373V6.19c0-2.2-1.8-4-4-4Z"})),H1||(H1=Z.createElement("path",{stroke:"#909090",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,d:"M9.247 2.383a4.503 4.503 0 0 0-2.467 0 1.324 1.324 0 0 1 2.467 0"})),U1||(U1=Z.createElement("path",{stroke:"#909090",strokeMiterlimit:10,d:"M10.013 12.957c0 1.1-.9 2-2 2a2.007 2.007 0 0 1-2-2"})))};const kO=({count:e})=>(O.useTheme(),f.jsxs(f.Fragment,{children:[f.jsx(O.Box,{sx:{gap:"0.5rem",display:"flex",justifyContent:"center",alignItems:"center","& svg":{transform:"scale(1)"}},children:f.jsx(SO,{style:{scale:1.2}})}),f.jsx(UM,{badgeContent:e!=0?"":null,color:"error"})]}));function TO(e){return Ft("MuiCircularProgress",e)}Vt("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const En=44,Kl=sr.keyframes`
140
140
  0% {
141
141
  transform: rotate(0deg);
142
142
  }
@@ -159,9 +159,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
159
159
  stroke-dasharray: 1px, 200px;
160
160
  stroke-dashoffset: -126px;
161
161
  }
162
- `,TO=typeof Kl!="string"?sr.css`
162
+ `,EO=typeof Kl!="string"?sr.css`
163
163
  animation: ${Kl} 1.4s linear infinite;
164
- `:null,EO=typeof Zl!="string"?sr.css`
164
+ `:null,MO=typeof Zl!="string"?sr.css`
165
165
  animation: ${Zl} 1.4s ease-in-out infinite;
166
- `:null,MO=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,s={root:["root",n,`color${Ne(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${Ne(n)}`,o&&"circleDisableShrink"]};return Jt(s,kO,t)},OO=Ue("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Ne(n.color)}`]]}})(Qt(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:TO||{animation:`${Kl} 1.4s linear infinite`}},...Object.entries(e.palette).filter(O0()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),DO=Ue("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),AO=Ue("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Ne(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Qt(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:EO||{animation:`${Zl} 1.4s ease-in-out infinite`}}]}))),IO=Ue("circle",{name:"MuiCircularProgress",slot:"Track"})(Qt(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),G1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:i=!1,enableTrackSlot:a=!1,size:l=40,style:c,thickness:u=3.6,value:d=0,variant:h="indeterminate",...m}=r,g={...r,color:s,disableShrink:i,size:l,thickness:u,value:d,variant:h,enableTrackSlot:a},C=MO(g),b={},v={},k={};if(h==="determinate"){const w=2*Math.PI*((En-u)/2);b.strokeDasharray=w.toFixed(3),k["aria-valuenow"]=Math.round(d),b.strokeDashoffset=`${((100-d)/100*w).toFixed(3)}px`,v.transform="rotate(-90deg)"}return f.jsx(OO,{className:Xe(C.root,o),style:{width:l,height:l,...v,...c},ownerState:g,ref:n,role:"progressbar",...k,...m,children:f.jsxs(DO,{className:C.svg,ownerState:g,viewBox:`${En/2} ${En/2} ${En} ${En}`,children:[a?f.jsx(IO,{className:C.track,ownerState:g,cx:En,cy:En,r:(En-u)/2,fill:"none",strokeWidth:u,"aria-hidden":"true"}):null,f.jsx(AO,{className:C.circle,style:b,ownerState:g,cx:En,cy:En,r:(En-u)/2,fill:"none",strokeWidth:u})]})})});process.env.NODE_ENV!=="production"&&(G1.propTypes={classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["inherit","primary","secondary","error","info","success","warning"]),y.string]),disableShrink:Ts(y.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),enableTrackSlot:y.bool,size:y.oneOfType([y.number,y.string]),style:y.object,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),thickness:y.number,value:y.number,variant:y.oneOf(["determinate","indeterminate"])});function PO(e){return Ft("MuiButton",e)}const Gr=Vt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Y1=Z.createContext({});process.env.NODE_ENV!=="production"&&(Y1.displayName="ButtonGroupContext");const q1=Z.createContext(void 0);process.env.NODE_ENV!=="production"&&(q1.displayName="ButtonGroupButtonContext");const LO=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:s,loading:i,loadingPosition:a,classes:l}=e,c={root:["root",i&&"loading",s,`${s}${Ne(t)}`,`size${Ne(o)}`,`${s}Size${Ne(o)}`,`color${Ne(t)}`,n&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${Ne(a)}`],startIcon:["icon","startIcon",`iconSize${Ne(o)}`],endIcon:["icon","endIcon",`iconSize${Ne(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},u=Jt(c,PO,l);return{...l,...u}},K1=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],jO=Ue(Bl,{shouldForwardProp:e=>D8(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ne(n.color)}`],t[`size${Ne(n.size)}`],t[`${n.variant}Size${Ne(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Qt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Gr.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:r})=>r.startIcon||r.loading&&r.loadingPosition==="start",style:{"&::before":{content:'"\\200b"',width:0,overflow:"hidden"}}},{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Gr.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Gr.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Gr.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(O0()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Gr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Gr.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Gr.loading}`]:{color:"transparent"}}}]}})),RO=Ue("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Ne(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...K1]})),_O=Ue("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Ne(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...K1]})),BO=Ue("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Z1=Ue("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),X1=Z.forwardRef(function(t,n){const r=Z.useContext(Y1),o=Z.useContext(q1),s=qi(r,t),i=Ut({props:s,name:"MuiButton"}),{children:a,color:l="primary",component:c="button",className:u,disabled:d=!1,disableElevation:h=!1,disableFocusRipple:m=!1,endIcon:g,focusVisibleClassName:C,fullWidth:b=!1,id:v,loading:k=null,loadingIndicator:w,loadingPosition:x="center",size:T="medium",startIcon:M,type:A,variant:I="text",...P}=i,R=d8(v),W=w??f.jsx(G1,{"aria-labelledby":R,color:"inherit",size:16}),S={...i,color:l,component:c,disabled:d,disableElevation:h,disableFocusRipple:m,fullWidth:b,loading:k,loadingIndicator:W,loadingPosition:x,size:T,type:A,variant:I},j=LO(S),_=(M||k&&x==="start")&&f.jsx(RO,{className:j.startIcon,ownerState:S,children:M||f.jsx(Z1,{className:j.loadingIconPlaceholder,ownerState:S})}),N=(g||k&&x==="end")&&f.jsx(_O,{className:j.endIcon,ownerState:S,children:g||f.jsx(Z1,{className:j.loadingIconPlaceholder,ownerState:S})}),U=o||"",se=typeof k=="boolean"?f.jsx("span",{className:j.loadingWrapper,style:{display:"contents"},children:k&&f.jsx(BO,{className:j.loadingIndicator,ownerState:S,children:W})}):null,{root:ue,...B}=j;return f.jsxs(jO,{ownerState:S,className:Xe(r.className,j.root,u,U),component:c,disabled:d||k,focusRipple:!m,focusVisibleClassName:Xe(j.focusVisible,C),ref:n,type:A,id:k?R:v,...P,classes:B,children:[_,x!=="end"&&se,a,x==="end"&&se,N]})});process.env.NODE_ENV!=="production"&&(X1.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["inherit","primary","secondary","success","error","info","warning"]),y.string]),component:y.elementType,disabled:y.bool,disableElevation:y.bool,disableFocusRipple:y.bool,disableRipple:y.bool,endIcon:y.node,focusVisibleClassName:y.string,fullWidth:y.bool,href:y.string,id:y.string,loading:y.bool,loadingIndicator:y.node,loadingPosition:y.oneOf(["center","end","start"]),size:y.oneOfType([y.oneOf(["small","medium","large"]),y.string]),startIcon:y.node,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),type:y.oneOfType([y.oneOf(["button","reset","submit"]),y.string]),variant:y.oneOfType([y.oneOf(["contained","outlined","text"]),y.string])});function NO(e){return Ft("MuiDialogActions",e)}Vt("MuiDialogActions",["root","spacing"]);const $O=e=>{const{classes:t,disableSpacing:n}=e;return Jt({root:["root",!n&&"spacing"]},NO,t)},FO=Ue("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),J1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:s=!1,...i}=r,a={...r,disableSpacing:s},l=$O(a);return f.jsx(FO,{className:Xe(l.root,o),ownerState:a,ref:n,...i})});process.env.NODE_ENV!=="production"&&(J1.propTypes={children:y.node,classes:y.object,className:y.string,disableSpacing:y.bool,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});function VO(e){return Ft("MuiDialogContent",e)}Vt("MuiDialogContent",["root","dividers"]);const WO=Vt("MuiDialogTitle",["root"]),zO=e=>{const{classes:t,dividers:n}=e;return Jt({root:["root",n&&"dividers"]},VO,t)},HO=Ue("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Qt(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${WO.root} + &`]:{paddingTop:0}}}]}))),Q1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiDialogContent"}),{className:o,dividers:s=!1,...i}=r,a={...r,dividers:s},l=zO(a);return f.jsx(HO,{className:Xe(l.root,o),ownerState:a,ref:n,...i})});process.env.NODE_ENV!=="production"&&(Q1.propTypes={children:y.node,classes:y.object,className:y.string,dividers:y.bool,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});var ep;function Xl(){return Xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xl.apply(null,arguments)}var UO=function(t){return Z.createElement("svg",Xl({xmlns:"http://www.w3.org/2000/svg",width:14,height:9,fill:"none",viewBox:"0 0 13 9"},t),ep||(ep=Z.createElement("path",{fill:"#A8A8A8",fillRule:"evenodd",d:"M8.954 1.004a.406.406 0 0 1 0 .575L3.537 6.996a.406.406 0 0 1-.574 0L.796 4.829a.406.406 0 1 1 .575-.575l1.879 1.88 5.13-5.13a.406.406 0 0 1 .574 0m3.25 0a.406.406 0 0 1 0 .575L6.787 6.996a.406.406 0 1 1-.574-.575l5.416-5.417a.406.406 0 0 1 .575 0",clipRule:"evenodd"})))},tp,np;function Jl(){return Jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jl.apply(null,arguments)}var GO=function(t){return Z.createElement("svg",Jl({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none"},t),tp||(tp=Z.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M7.79 6c0 .99-.8 1.79-1.79 1.79S4.21 6.99 4.21 6 5.01 4.21 6 4.21s1.79.8 1.79 1.79"})),np||(np=Z.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M6 10.135c1.765 0 3.41-1.04 4.555-2.84.45-.705.45-1.89 0-2.595C9.41 2.9 7.765 1.86 6 1.86S2.59 2.9 1.445 4.7c-.45.705-.45 1.89 0 2.595 1.145 1.8 2.79 2.84 4.555 2.84"})))},rp;function Ql(){return Ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ql.apply(null,arguments)}var YO=function(t){return Z.createElement("svg",Ql({xmlns:"http://www.w3.org/2000/svg",width:9,height:8,fill:"none"},t),rp||(rp=Z.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M8.277 1.004a.406.406 0 0 1 0 .575L2.86 6.996a.406.406 0 0 1-.574 0L.119 4.829a.406.406 0 1 1 .575-.575l1.879 1.88 5.13-5.13a.406.406 0 0 1 .574 0",clipRule:"evenodd"})))};const op=({type:e,item:t,handleShowDetails:n,handleRead:r,handleCTAClicked:o,clickId:s,t:i})=>{const a=O.useTheme(),l=JSON.parse(localStorage.getItem("settings"))?.platform?.theme;return f.jsxs(O.Box,{className:"cards",sx:{pt:" 0.8rem"},children:[f.jsx(O.Stack,{display:"flex",flexDirection:"row",alignItems:"start",justifyContent:"space-between",gap:1,children:f.jsx(O.Badge,{sx:{width:"calc(100% - 2%)","& .MuiBadge-badge":{backgroundColor:"#6041EA",height:"0.5rem",minWidth:"0.5rem"}},variant:"dot",invisible:t?.isRead,children:f.jsx(rr,{sx:{color:a.palette.primary.notifyActiveText,whiteSpace:"normal",wordBreak:"break-word"},component:"p",className:["title-card",t?.isRead&&"read"].join(" "),children:i(t?.message)})})}),f.jsx(O.Stack,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",children:f.jsxs(O.Stack,{display:"flex",flexDirection:"row",justifyContent:"start",gap:1,sx:{p:"0.5rem 0"},children:[t?.isNotificationDetails&&f.jsx(A0,{icon:f.jsx(GO,{className:`${l==="light"?"chip-icon-light":"chip-icon-dark"}`}),disabled:s,onClick:n,label:s===t?.id?f.jsx(O.CircularProgress,{color:"primary",size:13}):i("SHOW_DETAILS"),component:"button",variant:"filled",clickable:!0,size:"small",sx:{backgroundColor:a.palette.brandColor.orange,color:a.palette.brandColor.white}}),!t?.isRead&&f.jsx(A0,{icon:f.jsx(YO,{className:`${l==="light"?"chip-icon-light":"chip-icon-dark"}`}),disabled:s,onClick:r,label:i("ACKNOWLEDGE"),component:"button",variant:"outlined",clickable:!0,size:"small"}),t?.primaryCTAURL&&f.jsx(A0,{disabled:t?.isPrimaryCTAClicked,onClick:()=>o({redirect:t?.isPrimaryCTARedirect,isClicked:t?.isPrimaryCTAClicked,url:t?.primaryCTAURL}),label:i(t?.primaryCTALabel),component:"button",variant:"outlined",clickable:!0,size:"small"}),t?.secondaryCTAURL&&f.jsx(A0,{disabled:t?.isSecondaryCTAClicked,onClick:()=>o({redirect:t?.isSecondaryCTARedirect,isClicked:t?.isSecondaryCTAClicked,url:t?.secondaryCTAURL}),label:i(t?.secondaryCTALabel),component:"button",variant:"outlined",clickable:!0,size:"small"})]})}),f.jsxs(O.Stack,{display:"flex",flexDirection:"row",alignItems:"center",gap:.35,children:[f.jsx(rr,{sx:{fontSize:"0.8rem"},children:i(t?.product)}),f.jsx(rr,{color:a.palette.primary.notifyTextColor,children:"•"}),f.jsx(rr,{sx:{fontSize:"0.8rem"},children:g3(t?.createdAt,i)})]})]})};op.propTypes={type:y.string,title:y.string,subTitle:y.string,isRead:y.bool,handleShowDetails:y.func,handleRead:y.func};const P0=60,sp=2,ip=({data:e,handleRead:t,handleShowDetails:n,clickId:r,mode:o,t:s})=>{const{isMarkAllAsRead:i}=p.useContext(Ja),a=p.useRef(null),[l,c]=p.useState({start:0,end:4}),u=e?.length,d=new Date,h=new Intl.DateTimeFormat("en-US",{day:"numeric",month:"long",year:"numeric"}).format(d),m=p.useMemo(()=>o?i?.count?e?.filter(x=>!x.isRead):[]:e||[],[e,o,i]),g=m.slice(l.start,l.end),C=l.start*P0,b=(u-l.end)*P0,v=()=>{const x=a.current;if(!x)return;const T=x.scrollTop,M=x.clientHeight,A=Math.floor(T/P0)-sp,I=Math.ceil(M/P0)+2*sp,P=Math.max(0,Math.min(u-1,A)),R=Math.max(P,Math.min(u,P+I));c(W=>W.start===P&&W.end===R?W:{start:P,end:R})},k=({url:x})=>{window.open(x,"_blank")},w=p.useMemo(()=>v3(g),[g]);return p.useEffect(()=>{let x;const T=()=>{x&&cancelAnimationFrame(x),x=requestAnimationFrame(()=>{v()})},M=a.current;if(M)return v(),M.addEventListener("scroll",T),()=>{cancelAnimationFrame(x),M.removeEventListener("scroll",T)}},[u]),m.length||(O.Box,O.Typography,s("CONTAINER_MESSAGE")),f.jsxs(O.Box,{ref:a,sx:{height:"100%",overflowY:"auto"},children:[f.jsx(O.Box,{style:{height:C}}),Object.entries(w).map(([x,T])=>{const M=localStorage.getItem("i18nextLng"),A=new Date(x),I=new Intl.DateTimeFormat(M,{month:"long"}).format(A),P=A.getDate(),R=A.getFullYear(),W=`${I} ${P}, ${R}`;return f.jsxs(p.Fragment,{children:[x!==h&&f.jsx(zM,{children:W}),T.map((S,j)=>f.jsx(op,{item:S,handleCTAClicked:k,handleShowDetails:()=>n(S.id,S.snopId),handleRead:()=>t([S.id],S.snopId),clickId:r,t:s},`${S.id}_${j}`))]},x)}),f.jsx(O.Box,{style:{height:b}})]})};ip.propTypes={data:y.array,handleRead:y.func,handleShowDetails:y.func};const qO=({onRefresh:e,handleShowDetails:t,clickId:n,handleRead:r,handleMarkAllAsRead:o,t:s})=>{O.useTheme();const{loading:i,activeTab:a,data:l,tabData:c,mode:u,page:d,setPage:h,handleTabChange:m,toggleAlertMode:g}=W1({});return f.jsxs(f.Fragment,{children:[f.jsxs(O.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2,pt:2},children:[f.jsx(O.Typography,{variant:"h2",sx:{fontSize:"1.2rem",color:C=>C.palette.primary.notifyTextColor},children:s("NOTIFICATION")}),f.jsx(O.Box,{onClick:e,onKeyDown:wt(e),role:"button",tabIndex:0,"aria-label":s?s("Refresh"):"Refresh",sx:xt(),children:f.jsx(Ct,{url:Te.Refresh,alt:"refresh",sx:{cursor:"pointer"}})})]}),f.jsx(O.Box,{sx:{borderBottom:1,m:"1.2rem 1.2rem 0 1.2rem",borderColor:C=>C.palette.primary.notifyBorderColor},children:f.jsxs(UM,{value:a,onChange:m,children:[f.jsx(Nl,{label:f.jsx(O.Box,{sx:{display:"flex",alignItems:"center",fontSize:"1rem",fontWeight:"500"},children:f.jsx(O.Typography,{component:"span",sx:{fontWeight:500,fontSize:"1rem"},children:s("ALL",{count:l?.filter(C=>!C?.isRead)?.length||0})})})}),f.jsx(Nl,{label:f.jsx(O.Box,{sx:{display:"flex",alignItems:"center",fontSize:"1rem",fontWeight:"500"},children:f.jsx(O.Typography,{component:"span",sx:{fontWeight:500,fontSize:"1rem"},children:s("INFO",{count:l?.filter(C=>C?.type==="INFO"&&!C?.isRead)?.length||0})})}),sx:{color:C=>C.palette.brandColor.blue}}),f.jsx(Nl,{label:f.jsx(O.Box,{sx:{display:"flex",alignItems:"center",fontSize:"1rem",fontWeight:"500"},children:s("ERROR",{count:l?.filter(C=>C?.type==="ERROR"&&!C?.isRead)?.length||0})}),sx:{color:C=>C.palette.brandColor.red}})]})}),f.jsx(Q1,{dividers:!0,sx:{p:0,...i&&!c.length&&{alignItems:"center",justifyContent:"center"},flexGrow:1,overflowY:"auto",mx:"1.2rem",borderColor:C=>C.palette.primary.notifyBorderColor},tabIndex:-1,children:i&&!c.length?f.jsx(O.Box,{sx:{height:300,display:"flex",justifyContent:"center",alignItems:"center"},children:f.jsx(O.CircularProgress,{size:30,sx:{color:C=>C.palette.primary.notifyIconColor}})}):f.jsx(f.Fragment,{children:f.jsx(ip,{data:c,handleShowDetails:t,handleRead:r,clickId:n,page:d,setPage:h,mode:u,t:s})})}),f.jsxs(J1,{sx:{justifyContent:"space-between",px:"1.2rem"},children:[f.jsxs(O.Stack,{direction:"row",gap:1,children:[f.jsx(rr,{sx:{fontSize:"1rem"},children:s("SHOW_UNREAD")}),f.jsx(WM,{disabled:i,checked:u,onChange:g})]}),f.jsx(X1,{variant:"outlined",className:"view-all",onClick:o,startIcon:f.jsx(UO,{}),disabled:!l?.filter(C=>!C?.isRead)?.length,style:{backgroundColor:"transparent"},sx:{fontSize:"1rem",fontWeight:"300",p:0,border:"none",textTransform:"none",color:C=>C.palette.primary.notifyTextColor,"&:hover":{color:C=>C.palette.primary.notifyActiveText,background:"transparent",boxShadow:"none",border:"none"},"&.Mui-disabled":{opacity:.5,color:C=>`${C.palette.primary.notifyActiveText}!important`,background:"transparent",boxShadow:"none",border:"none"}},children:s("READ_ALL")})]})]})},KO=({data:e,handleClose:t,t:n})=>{O.useTheme();const[r,o]=p.useState(1),[s,i]=p.useState(10),[a,l]=p.useState(e?.notificationDetails?.length||0),[c,u]=p.useState("sku_name"),[d,h]=p.useState("asc"),[m,g]=p.useState([]),[C,b]=p.useState("");return p.useEffect(()=>{if((C||c)&&e?.notificationDetails?.length){const v=C3(e?.notificationDetails,Zg,C);if(c){const k=b3(v,c,d);g(ga(k,r,s)),l(k?.length||0);return}g(ga(v,r,s)),l(v?.length||0);return}g(ga(e?.notificationDetails,r,s)),l(e?.notificationDetails?.length)},[C,e,r,s,d,c]),f.jsxs(f.Fragment,{children:[f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",sx:{padding:"1.5rem 2rem",borderBottom:"0.1rem solid",borderColor:v=>v.palette.primary.notifyBorderColor},children:[f.jsx(O.Typography,{component:"h2",sx:{fontSize:"1.4rem",color:v=>v.palette.primary.notifyActiveText},children:n(e?.message)||e?.message}),f.jsx(O.Box,{onClick:t,onKeyDown:wt(t),role:"button",tabIndex:0,"aria-label":"Close",sx:{cursor:"pointer",...xt()},children:f.jsx(Ct,{url:Te.CloseCircle})})]}),f.jsx(O.DialogContent,{children:f.jsx(Ul,{t:n,tableProps:{data:m,columns:{...BT({t:n}),isManageable:!1},sort:{sortField:c,sortDir:d,onSort:v=>{const k=v?.column?.key;h(w=>c===k&&w==="asc"?"desc":"asc"),u(k)}},pagination:{selectedPage:r,rowPerPage:s,totalRecords:a,onPageChange:v=>{o(v)},onPageSizeChange:v=>{i(v?.value),o(1)}}},toolbarProps:{defaultTools:{search:{isRequired:!0,onChange:v=>{const k=v.target.value;k&&o(1),b(k)},placeholder:`${n("SEARCH")}...`}}}})}),f.jsx(O.DialogActions,{sx:{padding:"1.5rem 2rem"}})]})},ZO=({baseUrl:e,t})=>{O.useTheme();const{alertDialogProps:n,showDetailsProps:r,fetchNotification:o,isMarkAllAsRead:s}=W1({baseUrl:e}),i=()=>{o(),n?.setOpen?.(!0)};return f.jsxs(f.Fragment,{children:[f.jsx(O.Box,{role:"button",tabIndex:0,"aria-label":t?t("Notifications"):"Notifications",sx:{display:"flex",justifyContent:"center",cursor:"pointer",marginTop:"0.6rem",...xt()},onClick:i,onKeyDown:wt(i),children:f.jsx(SO,{count:s.count})}),f.jsx(ol,{...n,children:f.jsx(qO,{...n,t})}),f.jsx(ol,{...r,children:f.jsx(KO,{...r,t})})]})},XO=({baseUrl:e,t})=>f.jsx(At,{children:f.jsx($8,{children:f.jsx(ZO,{baseUrl:e,t})})}),ap=p.createContext(null),JO=ap.Provider,QO=()=>{const e=p.useContext(ap);return e||console.warn("useAnalytics used outside AnalyticsProvider"),e};Ae.Accordion=V8,Ae.AnalyticsProvider=JO,Ae.Breadcrumb=VS,Ae.Button=jn,Ae.Checkbox=Rn,Ae.DatePicker=ov,Ae.Dialog=$S,Ae.FILTER_SHORTCUTS_HELP_LIST=n3,Ae.FOCUS_RING_SHADOW=Ho,Ae.FOCUS_RING_SHADOW_INSET=Us,Ae.Grid=Ul,Ae.GridTable=XM,Ae.Header=ef,Ae.InputField=Ru,Ae.Loader=oS,Ae.Notification=XO,Ae.SHORTCUTS=ht,Ae.Select=$u,Ae.ShortcutsHelp=t1,Ae.SkeletonLoader=sS,Ae.SliderLayout=J8,Ae.Switch=Vu,Ae.TextField=ls,Ae.TimePicker=sv,Ae.ToastProvider=_w,Ae.Toolbar=k0,Ae.TranslationContext=Nt,Ae.focusVisibleInsetSx=Gs,Ae.focusVisibleNestedSx=ac,Ae.focusVisibleSx=xt,Ae.focusVisibleThemeComponents=H0,Ae.getGridShortcutsHelpList=t3,Ae.getShortcutByComboId=Pu,Ae.getShortcutComboId=Xt,Ae.onEnterSpace=wt,Ae.toast=Pw,Ae.useAnalytics=QO,Ae.useFocusTrap=go,Ae.useRovingTabIndex=Ei,Ae.useShortcut=ma,Ae.useShortcutScope=Xf,Ae.useToolbarShortcuts=Mi,Object.defineProperty(Ae,Symbol.toStringTag,{value:"Module"})}));
166
+ `:null,OO=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,s={root:["root",n,`color${Ne(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${Ne(n)}`,o&&"circleDisableShrink"]};return Jt(s,TO,t)},DO=Ue("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Ne(n.color)}`]]}})(Qt(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:EO||{animation:`${Kl} 1.4s linear infinite`}},...Object.entries(e.palette).filter(O0()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),AO=Ue("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),IO=Ue("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Ne(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Qt(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:MO||{animation:`${Zl} 1.4s ease-in-out infinite`}}]}))),PO=Ue("circle",{name:"MuiCircularProgress",slot:"Track"})(Qt(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),G1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:i=!1,enableTrackSlot:a=!1,size:l=40,style:c,thickness:u=3.6,value:d=0,variant:h="indeterminate",...m}=r,g={...r,color:s,disableShrink:i,size:l,thickness:u,value:d,variant:h,enableTrackSlot:a},C=OO(g),b={},v={},k={};if(h==="determinate"){const w=2*Math.PI*((En-u)/2);b.strokeDasharray=w.toFixed(3),k["aria-valuenow"]=Math.round(d),b.strokeDashoffset=`${((100-d)/100*w).toFixed(3)}px`,v.transform="rotate(-90deg)"}return f.jsx(DO,{className:Xe(C.root,o),style:{width:l,height:l,...v,...c},ownerState:g,ref:n,role:"progressbar",...k,...m,children:f.jsxs(AO,{className:C.svg,ownerState:g,viewBox:`${En/2} ${En/2} ${En} ${En}`,children:[a?f.jsx(PO,{className:C.track,ownerState:g,cx:En,cy:En,r:(En-u)/2,fill:"none",strokeWidth:u,"aria-hidden":"true"}):null,f.jsx(IO,{className:C.circle,style:b,ownerState:g,cx:En,cy:En,r:(En-u)/2,fill:"none",strokeWidth:u})]})})});process.env.NODE_ENV!=="production"&&(G1.propTypes={classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["inherit","primary","secondary","error","info","success","warning"]),y.string]),disableShrink:Ts(y.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),enableTrackSlot:y.bool,size:y.oneOfType([y.number,y.string]),style:y.object,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),thickness:y.number,value:y.number,variant:y.oneOf(["determinate","indeterminate"])});function LO(e){return Ft("MuiButton",e)}const Gr=Vt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Y1=Z.createContext({});process.env.NODE_ENV!=="production"&&(Y1.displayName="ButtonGroupContext");const q1=Z.createContext(void 0);process.env.NODE_ENV!=="production"&&(q1.displayName="ButtonGroupButtonContext");const jO=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:s,loading:i,loadingPosition:a,classes:l}=e,c={root:["root",i&&"loading",s,`${s}${Ne(t)}`,`size${Ne(o)}`,`${s}Size${Ne(o)}`,`color${Ne(t)}`,n&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${Ne(a)}`],startIcon:["icon","startIcon",`iconSize${Ne(o)}`],endIcon:["icon","endIcon",`iconSize${Ne(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},u=Jt(c,LO,l);return{...l,...u}},K1=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],RO=Ue(Bl,{shouldForwardProp:e=>D8(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ne(n.color)}`],t[`size${Ne(n.size)}`],t[`${n.variant}Size${Ne(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Qt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Gr.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:r})=>r.startIcon||r.loading&&r.loadingPosition==="start",style:{"&::before":{content:'"\\200b"',width:0,overflow:"hidden"}}},{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Gr.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Gr.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Gr.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(O0()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Gr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Gr.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Gr.loading}`]:{color:"transparent"}}}]}})),_O=Ue("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Ne(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...K1]})),BO=Ue("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Ne(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...K1]})),NO=Ue("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Z1=Ue("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),X1=Z.forwardRef(function(t,n){const r=Z.useContext(Y1),o=Z.useContext(q1),s=qi(r,t),i=Ut({props:s,name:"MuiButton"}),{children:a,color:l="primary",component:c="button",className:u,disabled:d=!1,disableElevation:h=!1,disableFocusRipple:m=!1,endIcon:g,focusVisibleClassName:C,fullWidth:b=!1,id:v,loading:k=null,loadingIndicator:w,loadingPosition:x="center",size:T="medium",startIcon:M,type:A,variant:I="text",...P}=i,R=d8(v),W=w??f.jsx(G1,{"aria-labelledby":R,color:"inherit",size:16}),S={...i,color:l,component:c,disabled:d,disableElevation:h,disableFocusRipple:m,fullWidth:b,loading:k,loadingIndicator:W,loadingPosition:x,size:T,type:A,variant:I},j=jO(S),_=(M||k&&x==="start")&&f.jsx(_O,{className:j.startIcon,ownerState:S,children:M||f.jsx(Z1,{className:j.loadingIconPlaceholder,ownerState:S})}),N=(g||k&&x==="end")&&f.jsx(BO,{className:j.endIcon,ownerState:S,children:g||f.jsx(Z1,{className:j.loadingIconPlaceholder,ownerState:S})}),U=o||"",se=typeof k=="boolean"?f.jsx("span",{className:j.loadingWrapper,style:{display:"contents"},children:k&&f.jsx(NO,{className:j.loadingIndicator,ownerState:S,children:W})}):null,{root:ue,...B}=j;return f.jsxs(RO,{ownerState:S,className:Xe(r.className,j.root,u,U),component:c,disabled:d||k,focusRipple:!m,focusVisibleClassName:Xe(j.focusVisible,C),ref:n,type:A,id:k?R:v,...P,classes:B,children:[_,x!=="end"&&se,a,x==="end"&&se,N]})});process.env.NODE_ENV!=="production"&&(X1.propTypes={children:y.node,classes:y.object,className:y.string,color:y.oneOfType([y.oneOf(["inherit","primary","secondary","success","error","info","warning"]),y.string]),component:y.elementType,disabled:y.bool,disableElevation:y.bool,disableFocusRipple:y.bool,disableRipple:y.bool,endIcon:y.node,focusVisibleClassName:y.string,fullWidth:y.bool,href:y.string,id:y.string,loading:y.bool,loadingIndicator:y.node,loadingPosition:y.oneOf(["center","end","start"]),size:y.oneOfType([y.oneOf(["small","medium","large"]),y.string]),startIcon:y.node,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object]),type:y.oneOfType([y.oneOf(["button","reset","submit"]),y.string]),variant:y.oneOfType([y.oneOf(["contained","outlined","text"]),y.string])});function $O(e){return Ft("MuiDialogActions",e)}Vt("MuiDialogActions",["root","spacing"]);const FO=e=>{const{classes:t,disableSpacing:n}=e;return Jt({root:["root",!n&&"spacing"]},$O,t)},VO=Ue("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),J1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:s=!1,...i}=r,a={...r,disableSpacing:s},l=FO(a);return f.jsx(VO,{className:Xe(l.root,o),ownerState:a,ref:n,...i})});process.env.NODE_ENV!=="production"&&(J1.propTypes={children:y.node,classes:y.object,className:y.string,disableSpacing:y.bool,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});function WO(e){return Ft("MuiDialogContent",e)}Vt("MuiDialogContent",["root","dividers"]);const zO=Vt("MuiDialogTitle",["root"]),HO=e=>{const{classes:t,dividers:n}=e;return Jt({root:["root",n&&"dividers"]},WO,t)},UO=Ue("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Qt(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${zO.root} + &`]:{paddingTop:0}}}]}))),Q1=Z.forwardRef(function(t,n){const r=Ut({props:t,name:"MuiDialogContent"}),{className:o,dividers:s=!1,...i}=r,a={...r,dividers:s},l=HO(a);return f.jsx(UO,{className:Xe(l.root,o),ownerState:a,ref:n,...i})});process.env.NODE_ENV!=="production"&&(Q1.propTypes={children:y.node,classes:y.object,className:y.string,dividers:y.bool,sx:y.oneOfType([y.arrayOf(y.oneOfType([y.func,y.object,y.bool])),y.func,y.object])});var ep;function Xl(){return Xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xl.apply(null,arguments)}var GO=function(t){return Z.createElement("svg",Xl({xmlns:"http://www.w3.org/2000/svg",width:14,height:9,fill:"none",viewBox:"0 0 13 9"},t),ep||(ep=Z.createElement("path",{fill:"#A8A8A8",fillRule:"evenodd",d:"M8.954 1.004a.406.406 0 0 1 0 .575L3.537 6.996a.406.406 0 0 1-.574 0L.796 4.829a.406.406 0 1 1 .575-.575l1.879 1.88 5.13-5.13a.406.406 0 0 1 .574 0m3.25 0a.406.406 0 0 1 0 .575L6.787 6.996a.406.406 0 1 1-.574-.575l5.416-5.417a.406.406 0 0 1 .575 0",clipRule:"evenodd"})))},tp,np;function Jl(){return Jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jl.apply(null,arguments)}var YO=function(t){return Z.createElement("svg",Jl({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,fill:"none"},t),tp||(tp=Z.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M7.79 6c0 .99-.8 1.79-1.79 1.79S4.21 6.99 4.21 6 5.01 4.21 6 4.21s1.79.8 1.79 1.79"})),np||(np=Z.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",d:"M6 10.135c1.765 0 3.41-1.04 4.555-2.84.45-.705.45-1.89 0-2.595C9.41 2.9 7.765 1.86 6 1.86S2.59 2.9 1.445 4.7c-.45.705-.45 1.89 0 2.595 1.145 1.8 2.79 2.84 4.555 2.84"})))},rp;function Ql(){return Ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ql.apply(null,arguments)}var qO=function(t){return Z.createElement("svg",Ql({xmlns:"http://www.w3.org/2000/svg",width:9,height:8,fill:"none"},t),rp||(rp=Z.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M8.277 1.004a.406.406 0 0 1 0 .575L2.86 6.996a.406.406 0 0 1-.574 0L.119 4.829a.406.406 0 1 1 .575-.575l1.879 1.88 5.13-5.13a.406.406 0 0 1 .574 0",clipRule:"evenodd"})))};const op=({type:e,item:t,handleShowDetails:n,handleRead:r,handleCTAClicked:o,clickId:s,t:i})=>{const a=O.useTheme(),l=JSON.parse(localStorage.getItem("settings"))?.platform?.theme;return f.jsxs(O.Box,{className:"cards",sx:{pt:" 0.8rem"},children:[f.jsx(O.Stack,{display:"flex",flexDirection:"row",alignItems:"start",justifyContent:"space-between",gap:1,children:f.jsx(O.Badge,{sx:{width:"calc(100% - 2%)","& .MuiBadge-badge":{backgroundColor:"#6041EA",height:"0.5rem",minWidth:"0.5rem"}},variant:"dot",invisible:t?.isRead,children:f.jsx(rr,{sx:{color:a.palette.primary.notifyActiveText,whiteSpace:"normal",wordBreak:"break-word"},component:"p",className:["title-card",t?.isRead&&"read"].join(" "),children:i(t?.message)})})}),f.jsx(O.Stack,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",children:f.jsxs(O.Stack,{display:"flex",flexDirection:"row",justifyContent:"start",gap:1,sx:{p:"0.5rem 0"},children:[t?.isNotificationDetails&&f.jsx(A0,{icon:f.jsx(YO,{className:`${l==="light"?"chip-icon-light":"chip-icon-dark"}`}),disabled:s,onClick:n,label:s===t?.id?f.jsx(O.CircularProgress,{color:"primary",size:13}):i("SHOW_DETAILS"),component:"button",variant:"filled",clickable:!0,size:"small",sx:{backgroundColor:a.palette.brandColor.orange,color:a.palette.brandColor.white}}),!t?.isRead&&f.jsx(A0,{icon:f.jsx(qO,{className:`${l==="light"?"chip-icon-light":"chip-icon-dark"}`}),disabled:s,onClick:r,label:i("ACKNOWLEDGE"),component:"button",variant:"outlined",clickable:!0,size:"small"}),t?.primaryCTAURL&&f.jsx(A0,{disabled:t?.isPrimaryCTAClicked,onClick:()=>o({redirect:t?.isPrimaryCTARedirect,isClicked:t?.isPrimaryCTAClicked,url:t?.primaryCTAURL}),label:i(t?.primaryCTALabel),component:"button",variant:"outlined",clickable:!0,size:"small"}),t?.secondaryCTAURL&&f.jsx(A0,{disabled:t?.isSecondaryCTAClicked,onClick:()=>o({redirect:t?.isSecondaryCTARedirect,isClicked:t?.isSecondaryCTAClicked,url:t?.secondaryCTAURL}),label:i(t?.secondaryCTALabel),component:"button",variant:"outlined",clickable:!0,size:"small"})]})}),f.jsxs(O.Stack,{display:"flex",flexDirection:"row",alignItems:"center",gap:.35,children:[f.jsx(rr,{sx:{fontSize:"0.8rem"},children:i(t?.product)}),f.jsx(rr,{color:a.palette.primary.notifyTextColor,children:"•"}),f.jsx(rr,{sx:{fontSize:"0.8rem"},children:y3(t?.createdAt,i)})]})]})};op.propTypes={type:y.string,title:y.string,subTitle:y.string,isRead:y.bool,handleShowDetails:y.func,handleRead:y.func};const P0=60,sp=2,ip=({data:e,handleRead:t,handleShowDetails:n,clickId:r,mode:o,t:s})=>{const{isMarkAllAsRead:i}=p.useContext(Ja),a=p.useRef(null),[l,c]=p.useState({start:0,end:4}),u=e?.length,d=new Date,h=new Intl.DateTimeFormat("en-US",{day:"numeric",month:"long",year:"numeric"}).format(d),m=p.useMemo(()=>o?i?.count?e?.filter(x=>!x.isRead):[]:e||[],[e,o,i]),g=m.slice(l.start,l.end),C=l.start*P0,b=(u-l.end)*P0,v=()=>{const x=a.current;if(!x)return;const T=x.scrollTop,M=x.clientHeight,A=Math.floor(T/P0)-sp,I=Math.ceil(M/P0)+2*sp,P=Math.max(0,Math.min(u-1,A)),R=Math.max(P,Math.min(u,P+I));c(W=>W.start===P&&W.end===R?W:{start:P,end:R})},k=({url:x})=>{window.open(x,"_blank")},w=p.useMemo(()=>x3(g),[g]);return p.useEffect(()=>{let x;const T=()=>{x&&cancelAnimationFrame(x),x=requestAnimationFrame(()=>{v()})},M=a.current;if(M)return v(),M.addEventListener("scroll",T),()=>{cancelAnimationFrame(x),M.removeEventListener("scroll",T)}},[u]),m.length||(O.Box,O.Typography,s("CONTAINER_MESSAGE")),f.jsxs(O.Box,{ref:a,sx:{height:"100%",overflowY:"auto"},children:[f.jsx(O.Box,{style:{height:C}}),Object.entries(w).map(([x,T])=>{const M=localStorage.getItem("i18nextLng"),A=new Date(x),I=new Intl.DateTimeFormat(M,{month:"long"}).format(A),P=A.getDate(),R=A.getFullYear(),W=`${I} ${P}, ${R}`;return f.jsxs(p.Fragment,{children:[x!==h&&f.jsx(HM,{children:W}),T.map((S,j)=>f.jsx(op,{item:S,handleCTAClicked:k,handleShowDetails:()=>n(S.id,S.snopId),handleRead:()=>t([S.id],S.snopId),clickId:r,t:s},`${S.id}_${j}`))]},x)}),f.jsx(O.Box,{style:{height:b}})]})};ip.propTypes={data:y.array,handleRead:y.func,handleShowDetails:y.func};const KO=({onRefresh:e,handleShowDetails:t,clickId:n,handleRead:r,handleMarkAllAsRead:o,t:s})=>{O.useTheme();const{loading:i,activeTab:a,data:l,tabData:c,mode:u,page:d,setPage:h,handleTabChange:m,toggleAlertMode:g}=W1({});return f.jsxs(f.Fragment,{children:[f.jsxs(O.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2,pt:2},children:[f.jsx(O.Typography,{variant:"h2",sx:{fontSize:"1.2rem",color:C=>C.palette.primary.notifyTextColor},children:s("NOTIFICATION")}),f.jsx(O.Box,{onClick:e,onKeyDown:wt(e),role:"button",tabIndex:0,"aria-label":s?s("Refresh"):"Refresh",sx:xt(),children:f.jsx(Ct,{url:Te.Refresh,alt:"refresh",sx:{cursor:"pointer"}})})]}),f.jsx(O.Box,{sx:{borderBottom:1,m:"1.2rem 1.2rem 0 1.2rem",borderColor:C=>C.palette.primary.notifyBorderColor},children:f.jsxs(GM,{value:a,onChange:m,children:[f.jsx(Nl,{label:f.jsx(O.Box,{sx:{display:"flex",alignItems:"center",fontSize:"1rem",fontWeight:"500"},children:f.jsx(O.Typography,{component:"span",sx:{fontWeight:500,fontSize:"1rem"},children:s("ALL",{count:l?.filter(C=>!C?.isRead)?.length||0})})})}),f.jsx(Nl,{label:f.jsx(O.Box,{sx:{display:"flex",alignItems:"center",fontSize:"1rem",fontWeight:"500"},children:f.jsx(O.Typography,{component:"span",sx:{fontWeight:500,fontSize:"1rem"},children:s("INFO",{count:l?.filter(C=>C?.type==="INFO"&&!C?.isRead)?.length||0})})}),sx:{color:C=>C.palette.brandColor.blue}}),f.jsx(Nl,{label:f.jsx(O.Box,{sx:{display:"flex",alignItems:"center",fontSize:"1rem",fontWeight:"500"},children:s("ERROR",{count:l?.filter(C=>C?.type==="ERROR"&&!C?.isRead)?.length||0})}),sx:{color:C=>C.palette.brandColor.red}})]})}),f.jsx(Q1,{dividers:!0,sx:{p:0,...i&&!c.length&&{alignItems:"center",justifyContent:"center"},flexGrow:1,overflowY:"auto",mx:"1.2rem",borderColor:C=>C.palette.primary.notifyBorderColor},tabIndex:-1,children:i&&!c.length?f.jsx(O.Box,{sx:{height:300,display:"flex",justifyContent:"center",alignItems:"center"},children:f.jsx(O.CircularProgress,{size:30,sx:{color:C=>C.palette.primary.notifyIconColor}})}):f.jsx(f.Fragment,{children:f.jsx(ip,{data:c,handleShowDetails:t,handleRead:r,clickId:n,page:d,setPage:h,mode:u,t:s})})}),f.jsxs(J1,{sx:{justifyContent:"space-between",px:"1.2rem"},children:[f.jsxs(O.Stack,{direction:"row",gap:1,children:[f.jsx(rr,{sx:{fontSize:"1rem"},children:s("SHOW_UNREAD")}),f.jsx(zM,{disabled:i,checked:u,onChange:g})]}),f.jsx(X1,{variant:"outlined",className:"view-all",onClick:o,startIcon:f.jsx(GO,{}),disabled:!l?.filter(C=>!C?.isRead)?.length,style:{backgroundColor:"transparent"},sx:{fontSize:"1rem",fontWeight:"300",p:0,border:"none",textTransform:"none",color:C=>C.palette.primary.notifyTextColor,"&:hover":{color:C=>C.palette.primary.notifyActiveText,background:"transparent",boxShadow:"none",border:"none"},"&.Mui-disabled":{opacity:.5,color:C=>`${C.palette.primary.notifyActiveText}!important`,background:"transparent",boxShadow:"none",border:"none"}},children:s("READ_ALL")})]})]})},ZO=({data:e,handleClose:t,t:n})=>{O.useTheme();const[r,o]=p.useState(1),[s,i]=p.useState(10),[a,l]=p.useState(e?.notificationDetails?.length||0),[c,u]=p.useState("sku_name"),[d,h]=p.useState("asc"),[m,g]=p.useState([]),[C,b]=p.useState("");return p.useEffect(()=>{if((C||c)&&e?.notificationDetails?.length){const v=b3(e?.notificationDetails,Xg,C);if(c){const k=v3(v,c,d);g(ga(k,r,s)),l(k?.length||0);return}g(ga(v,r,s)),l(v?.length||0);return}g(ga(e?.notificationDetails,r,s)),l(e?.notificationDetails?.length)},[C,e,r,s,d,c]),f.jsxs(f.Fragment,{children:[f.jsxs(O.Stack,{direction:"row",justifyContent:"space-between",sx:{padding:"1.5rem 2rem",borderBottom:"0.1rem solid",borderColor:v=>v.palette.primary.notifyBorderColor},children:[f.jsx(O.Typography,{component:"h2",sx:{fontSize:"1.4rem",color:v=>v.palette.primary.notifyActiveText},children:n(e?.message)||e?.message}),f.jsx(O.Box,{onClick:t,onKeyDown:wt(t),role:"button",tabIndex:0,"aria-label":"Close",sx:{cursor:"pointer",...xt()},children:f.jsx(Ct,{url:Te.CloseCircle})})]}),f.jsx(O.DialogContent,{children:f.jsx(Ul,{t:n,tableProps:{data:m,columns:{...NT({t:n}),isManageable:!1},sort:{sortField:c,sortDir:d,onSort:v=>{const k=v?.column?.key;h(w=>c===k&&w==="asc"?"desc":"asc"),u(k)}},pagination:{selectedPage:r,rowPerPage:s,totalRecords:a,onPageChange:v=>{o(v)},onPageSizeChange:v=>{i(v?.value),o(1)}}},toolbarProps:{defaultTools:{search:{isRequired:!0,onChange:v=>{const k=v.target.value;k&&o(1),b(k)},placeholder:`${n("SEARCH")}...`}}}})}),f.jsx(O.DialogActions,{sx:{padding:"1.5rem 2rem"}})]})},XO=({baseUrl:e,t})=>{O.useTheme();const{alertDialogProps:n,showDetailsProps:r,fetchNotification:o,isMarkAllAsRead:s}=W1({baseUrl:e}),i=()=>{o(),n?.setOpen?.(!0)};return f.jsxs(f.Fragment,{children:[f.jsx(O.Box,{role:"button",tabIndex:0,"aria-label":t?t("Notifications"):"Notifications",sx:{display:"flex",justifyContent:"center",cursor:"pointer",marginTop:"0.6rem",...xt()},onClick:i,onKeyDown:wt(i),children:f.jsx(kO,{count:s.count})}),f.jsx(ol,{...n,children:f.jsx(KO,{...n,t})}),f.jsx(ol,{...r,children:f.jsx(ZO,{...r,t})})]})},JO=({baseUrl:e,t})=>f.jsx(At,{children:f.jsx($8,{children:f.jsx(XO,{baseUrl:e,t})})}),ap=p.createContext(null),QO=ap.Provider,eD=()=>{const e=p.useContext(ap);return e||console.warn("useAnalytics used outside AnalyticsProvider"),e};Ae.Accordion=V8,Ae.AnalyticsProvider=QO,Ae.Breadcrumb=WS,Ae.Button=jn,Ae.Checkbox=Rn,Ae.DatePicker=sv,Ae.Dialog=FS,Ae.FILTER_SHORTCUTS_HELP_LIST=r3,Ae.FOCUS_RING_SHADOW=Ho,Ae.FOCUS_RING_SHADOW_INSET=Us,Ae.Grid=Ul,Ae.GridTable=JM,Ae.Header=ef,Ae.InputField=Ru,Ae.Loader=sS,Ae.Notification=JO,Ae.SHORTCUTS=ht,Ae.Select=$u,Ae.ShortcutsHelp=t1,Ae.SkeletonLoader=iS,Ae.SliderLayout=J8,Ae.Switch=Vu,Ae.TextField=ls,Ae.TimePicker=iv,Ae.ToastProvider=Bw,Ae.Toolbar=k0,Ae.TranslationContext=Nt,Ae.focusVisibleInsetSx=Gs,Ae.focusVisibleNestedSx=ac,Ae.focusVisibleSx=xt,Ae.focusVisibleThemeComponents=H0,Ae.getGridShortcutsHelpList=n3,Ae.getShortcutByComboId=Pu,Ae.getShortcutComboId=Xt,Ae.onEnterSpace=wt,Ae.toast=Lw,Ae.useAnalytics=eD,Ae.useFocusTrap=go,Ae.useRovingTabIndex=Ei,Ae.useShortcut=ma,Ae.useShortcutScope=Xf,Ae.useToolbarShortcuts=Mi,Object.defineProperty(Ae,Symbol.toStringTag,{value:"Module"})}));
167
167
  //# sourceMappingURL=index.umd.js.map