From 164561ade2c896193880a9112c01e34d38207d27 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Wed, 4 Sep 2024 15:06:17 +0000 Subject: [PATCH 01/11] 11.2.4 --- .../humsci/su_humsci_profile/su_humsci_profile.info.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.info.yml b/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.info.yml index 245ece2d4..7f4a83b01 100644 --- a/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.info.yml +++ b/docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.info.yml @@ -1,7 +1,7 @@ name: 'Stanford HumSci' type: profile description: 'Installation profile for HumSci Drupal' -version: 11.2.3 +version: 11.2.4 core_version_requirement: '^9.4 || ^10' themes: - material_admin From 700b87a857c130172c402a9fef1c85944345decf Mon Sep 17 00:00:00 2001 From: Dave Hansen-Lange <1127349+dalin-@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:21:58 -0400 Subject: [PATCH 02/11] SHS-5658: Updates to development documentation (#1593) * SHS-5658: Updates to development documentation. --- .gitignore | 5 +++ README.md | 42 +++++++++++++------ lando/README.md | 109 +++++++++++++++++++++++++++++------------------- 3 files changed, 101 insertions(+), 55 deletions(-) diff --git a/.gitignore b/.gitignore index fe9b6c301..2974c2063 100644 --- a/.gitignore +++ b/.gitignore @@ -169,3 +169,8 @@ drush/sites/.checksums # Deprecation detector rules .rules + +# sed artifacts in Docker Desktop on Mac on Apple Silicon when configured to +# use VirtioFS. +docroot/sites/*/settings/sed* +docroot/sites/*/sed* diff --git a/README.md b/README.md index 6c30001ef..4c28811e5 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,31 @@ -# Stanford Humanities And Sciences +# Stanford School of Humanities And Sciences HSDP -This is an Acquia BLT tool to assist in deploying code for Humanities and Sciences installation profile. +This codebase runs the Humanities and Sciences Drupal (or Digital) Platform a.k.a. HSDP. This platform runs 130+ sites for departments, programs, centers, councils, initiatives, etc. The platform is hosted on Acquia. -## Getting Started +## Overview -This project is based on BLT, an open-source project template and tool that enables building, testing, and deploying Drupal installations following Acquia Professional Services best practices. +This project is based on [Acquia BLT](https://docs.acquia.com/acquia-cms/add-ons/blt) (Bacon Lettuce Tomato, or Build and Launch Tool), an open-source project template and tool that enables building, testing, and deploying Drupal installations following Acquia Professional Services best practices. -To set up your local environment and begin developing for this project, refer to the [BLT onboarding documentation](https://docs.acquia.com/blt/developer/onboarding/). Note the following properties of this project: -* Primary development branch: develop -* Local environment: DrupalVM -* Local drush alias: @my-project.local -* Local site URL: http://local.my-project.com +Note the following properties of this project: +* Stable branch: `develop` +* Release branch naming convention: `[VERSION]-release` e.g. `11.2.3-release` +* Four Kitchens secondary release branch naming convention: `fk-stnfd-sprint-[SPRINT_NUMBER]` +* Development branching convention: branch off the current release branch +* Local environment: Lando or DrupalVM +* Local drush alias: @[SITE_ALIAS].local +* Local site URL: http://[SITE_ALIAS].suhumsci.loc -### Want to run the site with Lando? [Follow these instructions here.](/lando/README.md) +### Prerequisites +Make sure you have added your SSH key in [Acquia Cloud profile](https://accounts.acquia.com/account), and that it's saved in your `~/.ssh` folder. + +### Local setup and installation +You can either run the site on Lando or bare metal. + +#### Setup on Lando +[Follow the Lando instructions](lando/README.md). + +#### Or setup on bare metal 1. Clone the repository and check out the develop branch. 2. Run a `composer install --prefer-source` answer yes to any questions during this step. 3. Run `blt humsci:local:setup` and answer the questions to configure your database settings. @@ -32,7 +44,13 @@ CSS assets are built using the Grunt task runner, but are run using npm scripts ### Codeception Acceptance testing and user testing id done use a testing framework [Codeception](https://codeception.com/). There is -very good documentation on codeception testing steps and how that is structured. To run those tests locally, `blt` will +very good documentation on codeception testing steps and how that is structured. + +#### Codeception on Lando +[Run Codeception on Lando](lando/README.md#setup-for-local-codeception-testing) + +#### Codeception on bare metal +To run those tests locally, `blt` will be the wrapper around the codeception commands. - To run codeception first uninstall the SimpleSaml module `drush pmu simplesamlphp_auth -y` - `blt codeception` will run all acceptance tests. @@ -44,12 +62,10 @@ be the wrapper around the codeception commands. - `npm test` - Run tests for all Sass in the project (including humsci_basic). ## Other documentation -* [Change Log](docs/CHANGELOG.md) * [Code Deployment Process](docs/CodeDeploy.md) * [Configuration Management Information](docs/Config.md) * [Launch Processes](docs/Launch.md) * [SSL Certificate Information](docs/LetsEncrypt.md) -* [SAML Information](docs/SimpleSAML.md) * [New Site](docs/NewSite.md) ## Resources diff --git a/lando/README.md b/lando/README.md index 44aacd884..7d0df14d0 100644 --- a/lando/README.md +++ b/lando/README.md @@ -2,12 +2,7 @@ If you want to use [Lando](https://lando.dev/) for local development, here are some basic steps for getting set up. -_Prerequisite: Make sure you have added your SSH key in Acquia cloud, and that it's saved in your `~/.ssh folder._ - -Using and M1/M2 Mac? See amended instructions below prior to setup. - -1. [Install Lando](https://lando.dev/download/). - * Apple M1/Silicon Users will need to pay special attention to the version of Lando and Docker they install for proper functionality. "If you have a new Apple Silicon based Mac then choose the arm64 DMG from Lando." +1. [Install Lando](https://lando.dev/download/) 2. Copy `lando/default.lando.yml` to `.lando.yml`. 3. Take the `.loc` domains in the `.lando.yml` file and add them to your `/etc/hosts` file, as shown below: @@ -135,25 +130,75 @@ Using and M1/M2 Mac? See amended instructions below prior to setup. ``` 4. Build your containers: `lando rebuild` - * Note: After running `lando rebuild` you should see a list a APPSERVER URLS. A `green` URL signifies the `.loc` domain has been added to your `/ect/hosts` file. If you see a `red` URL, go back to step 3 and add the `.loc` domain to your `/ect/hosts` file. -5. Run `lando blt drupal:sync --site=SITENAME` to pull down a copy of the database and files for the site you wish to work on. -6. Run `lando info`, and browse to the url for your multisite. -7. Run `lando drush @[site_alias].local uli` to log in as user:1 (Example: `lando drush @music.local uli`) + * Note: You should then see a list a APPSERVER URLS. A green URL signifies the step 3 worked correctly, and you'll be able to access the site in your browser (you'll see errors until you complete all the steps). If you see a red URL, go back to step 3. TODO: someone with a working proxy system should confirm this. Can you get green URLs after this step, or will it only work after you have a database? + * Watch for [`sed` errors](#sed-error-when-docker-uses-virtiofs) +5. Run `lando blt drupal:sync --site=SITE_ALIAS` to pull down a copy of the live database and files for the site you wish to work on (alternatively [pull a db from staging or dev](#syncing-from-staging)). The `SITE_ALIAS` is the site alias and can be found in the `multisites` section of `blt/blt.yml`. In most cases, it matches the name in the local domain, with dashes replaced with underscores (`hs-traditional` → `hs_traditional`). +6. Run `lando drush @[SITE_ALIAS].local uli` to log in as user:1 (Example: `lando drush @music.local uli`). It will give you a URL like `http://hs-traditional.suhumsci.loc/user/reset/1/12345/abcd9876/login` This should also run the front-end build. +7. If you have issues, see [Troubleshooting](#troubleshooting). +8. Front-end engineers, return to the main documentation for [front-end build and watch commands](../README.md#builds). + +## Common commands + +* `lando drush @[SITE_ALIAS].local uli` - Get a link for logging in as an admin user +* `docker ps` - Check that your docker containers are running +* `lando info` - Check your lando config, including a list of domains, URLs, ports, etc. +* `lando drush @[SITE_ALIAS].local cr` - clear cache +* `lando drush @[SITE_ALIAS].local config-export` - export your local database settings +* `lando drush @[SITE_ALIAS].local config-import` - import new database settings to your local. + +## Troubleshooting + +### Importing Configuration + +* If you run into issues importing new config files try running the command with the partial flag: `lando drush config-import --partial`. +* If the partial flag doesn't work, you may be missing a dependency. Re-sync your whole database, then run `lando composer install`. +* If you find yourself in a position where starting fresh is your best plan of action, `lando destroy` will completely clear your running lando instances for a clean start. +* If running `lando composer install` results in a timeout while installing a dependency, the default composer timeout for lando can be increased by running `lando composer --global config process-timeout 2000`. + +### `sed` error when Docker uses _VirtioFS_ +When Docker is configured to use _VirtioFS_ for file sharing, you might get multiple errors like this when running `lando rebuild`: + +``` +sed: preserving permissions for '/app/docroot/sites/sts/settings/sed7b9pfU': Permission denied +``` +or +``` +sed: couldn't open temporary file /app/docroot/sites/africanstudies/settings/sed5mM1CH: Permission denied +``` + +This is caused by [a bug](https://forums.docker.com/t/sed-couldnt-open-temporary-file-xyz-permission-denied-when-using-virtiofs/125473) in the `sed` command that causes incompatibilities with _VirtioFS_. It has been fixed, but the images used by Lando don't have the latest version. To work around it, do the following: + +1. Edit `.lando.yml` and comment or remove the following lines: + ```yaml + - find /app/docroot/sites/ -name local.settings.php | xargs -I {} sed -i "s/'username' => 'root'/'username' => 'drupal'/g" {} + - find /app/docroot/sites/ -name local.settings.php | xargs -I {} sed -i "s/'password' => 'password'/'password' => 'drupal'/g" {} + - find /app/docroot/sites/ -name local.settings.php | xargs -I {} sed -i "s/'host' => 'localhost'/'host' => 'database'/g" {} + - cp /app/lando/lando.sites.php /app/docroot/sites/local.sites.php + ``` +2. After running `lando rebuild`, execute the lines manually, changing the paths to match the ones on your local machine. If you're on macOS, you also need to alter the options for the `sed` command a bit: + + ```bash + find docroot/sites/ -name local.settings.php | xargs -I {} sed -i '' "s/'username' => 'root'/'username' => 'drupal'/g" {} + find docroot/sites/ -name local.settings.php | xargs -I {} sed -i '' "s/'password' => 'password'/'password' => 'drupal'/g" {} + find docroot/sites/ -name local.settings.php | xargs -I {} sed -i '' "s/'host' => 'localhost'/'host' => 'database'/g" {} + cp lando/lando.sites.php docroot/sites/local.sites.php + ``` ## Adding a new site to Lando -1. Copy and existing site's folder in `docroot/sites/` and rename the folder to the new site. -2. Edit the `blt.yml` file within your new sites folder with the corresponding site names. -3. All other files within this folder are variable. All you need to do is run `lando rebuild -y` +1. Copy an existing site's folder in `docroot/sites/` and rename it to the new site's name. +2. Edit the `blt.yml` file within your new site's folder with the corresponding site names. All other files within this folder use variables and don't need any modification. +3. Add the site domain to `.lando.yml` and `/etc/hosts`. +4. Run `lando rebuild -y` -## Adjustments for M1/M2 Macs -Lando/docker have had known compatibility issues with the latest ARM-based Macs. The lando setup above should work with only 1 or 2 sites at a time. +## Considerations for Apple Silicon Macs +Lando/docker initial versions had known compatibility issues with the first ARM-based Macs. Most of these issues have been fixed in the latest version, but if you still have problems, try the following: 1. Edit your `.lando.yml` file and remove all but one or two sites from the `proxy` configuration. 2. Perform the same setup tasks as above. 3. If you need to test more than 1-2 sites at a time you will need to repeat step 1 and run through the full setup process again. ## Setup for local Codeception testing -NOTE: This does not work well on ARM-based Mac's. Linux highly recommended. +**NOTE:** This does not work well on ARM-based Mac's. Using Linux is highly recommended. 1. Copy codeception yml for setup. Copy `lando/default.codeception.yml` to `tests/codeception.yml`. @@ -212,45 +257,25 @@ To run codeception tests run `lando blt codeception --group=install`. Or if you In order to sync from a staging or dev site, you will have to do the following: -1. In `suhumsci/docroot/sites/hs_colorful/blt.yml` (or whichever relevant site you are working with), change line 10 for remote to: `remote: hs_colorful.stage` or `remote: hs_colorful.dev`. -2. Sync the database as you normally would: `lando blt drupal:sync --site=[my-multisite]`. +1. In `suhumsci/docroot/sites/SITENAME/blt.yml` (`SITENAME` being the site you are working with), change line 10 for remote to: `remote: hs_colorful.stage` or `remote: hs_colorful.dev`. +2. Sync the database as you normally would: `lando blt drupal:sync --site=SITENAME`. ## Configuration for local SimpleSAML authentication -To configure the SimpleSAML module so you stop seeing the configuration errors in Drupal from that module and also to allow you to login from the /user login page with your Stanford account. (These commands should be run from the root directory.) +To configure the SimpleSAML module so that you stop seeing the configuration errors in Drupal from that module and also to allow you to login from the /user login page with your Stanford account. (These commands should be run from the root directory.) 1. Run `lando blt sws:keys` 2. Run `lando blt sbsc` -3. Go to the the `/simplesamlphp/config` folder and edit the `local.config.php` file. +3. Go to the `/simplesamlphp/config` folder and edit the `local.config.php` file. 4. Make sure lines 10,11,12 match the information from your `lando.yml` file for the site you are working on. * Example: If you are working on `sparkbox_sandbox` you will want to add `sparkbox_sandbox` in for the host and the dbname on line 10 and update the username and password below to drupal. 5. After you’ve gotten that file up to date, you need to `run lando blt sbsc` once more and then clear your site cache with `lando drush @[site_name] cr` and the error should be gone upon reloading. **Notes:** -* There is still some slight bugs to work out with SimplsSAML’s login but it will work for login, but after login may throw errors on the login page, this can be resolved by clearing the browser cookies for that site. - -* The command for `lando drush uli` should still function with or without SimpleSAML configured to login to the local site, if this is redirecting or not functioning correctly you should ensure the module is enabled or resync your configuration on your local site. - -## Common commands - -* `lando drush uli` - Get a link for logging in as an admin user -* `docker ps` - Check that your docker containers are running -* `lando info` - Check your lando config -* `lando drush cr` - clear cache -* `lando drush config-export` - export your local database settings -* `lando drush config-import` - import new database settings to your local. - -Utilizing these commands with specific sites in your multisite setup looks like this: `lando drush @[]my-multisite] cr`. - -## Troubleshooting - -### Importing Configuration +* There are still some slight bugs to work out with SimpleSAML. It will work for log in, but after logging in may throw errors on the login page. This can be resolved by clearing the browser cookies for that site. -* If you run into issues importing new config files try running the command with the partial flag: `lando drush config-import --partial`. -* If the partial flag doesn't work, you may be missing a dependency. Re-sync your whole database, then run `lando composer install`. -* If you find yourself in a position where starting fresh is your best plan of action, `lando destroy` will completely clear your running lando instances for a clean start. -* If running `lando composer install` results in a timeout while installing a dependency, the default composer timeout for lando can be increased by running `lando composer --global config process-timeout 2000`. +* The command for `lando drush @SITENAME.local uli` should still function with or without SimpleSAML configured to log in to the local site, if this is redirecting or not functioning correctly you should ensure the module is enabled or resync the configuration on your local site. ## Other useful links From c968ec9e6796422ed8f85f2528f5cd33c46b0807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariana=20N=C3=BA=C3=B1ez?= <48533432+mariannuar@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:08:03 -0600 Subject: [PATCH 03/11] SHS-5777: Implementation: new approach to multi-select exposed filters (#1603) * SHS-5777: Implementation: new approach to multi-select exposed filters. --- .../islands/select-list-filters.island.js | 51 ++- .../src/select-list-filters.island.tsx | 156 +++++--- .../js/select-lists/src/select-list.tsx | 351 ++++++++++++------ .../js/select-lists/src/use-outside-click.tsx | 8 +- 4 files changed, 408 insertions(+), 158 deletions(-) diff --git a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/dist/islands/select-list-filters.island.js b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/dist/islands/select-list-filters.island.js index 36cec7c07..8c3f6b8c1 100644 --- a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/dist/islands/select-list-filters.island.js +++ b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/dist/islands/select-list-filters.island.js @@ -1,25 +1,64 @@ -!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,(()=>(()=>{var e={833:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),l=Object.keys(t);if(i.length!==l.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),a=0;a{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return(()=>{"use strict";n.r(r);var e={};n.r(e),n.d(e,{Children:()=>Me,Component:()=>C,Fragment:()=>x,PureComponent:()=>Ne,StrictMode:()=>wt,Suspense:()=>je,SuspenseList:()=>Be,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>dt,cloneElement:()=>mt,createContext:()=>G,createElement:()=>b,createFactory:()=>pt,createPortal:()=>qe,createRef:()=>w,default:()=>At,findDOMNode:()=>yt,flushSync:()=>St,forwardRef:()=>De,hydrate:()=>tt,isElement:()=>It,isFragment:()=>ht,isMemo:()=>vt,isValidElement:()=>_t,lazy:()=>Ue,memo:()=>Ae,render:()=>et,startTransition:()=>xt,unmountComponentAtNode:()=>gt,unstable_batchedUpdates:()=>bt,useCallback:()=>he,useContext:()=>ve,useDebugValue:()=>me,useDeferredValue:()=>Ct,useEffect:()=>ce,useErrorBoundary:()=>ge,useId:()=>ye,useImperativeHandle:()=>pe,useInsertionEffect:()=>Et,useLayoutEffect:()=>de,useMemo:()=>_e,useReducer:()=>se,useRef:()=>fe,useState:()=>ae,useSyncExternalStore:()=>Pt,useTransition:()=>kt,version:()=>ft});var t,o,i,l,u,a,s,c,d,f,p,_={},h=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function g(e,t){for(var n in t)e[n]=t[n];return e}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,n,r){var o,i,l,u={};for(l in n)"key"==l?o=n[l]:"ref"==l?i=n[l]:u[l]=n[l];if(arguments.length>2&&(u.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===u[l]&&(u[l]=e.defaultProps[l]);return S(e,u,o,i,null)}function S(e,t,n,r,l){var u={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++i:l,__i:-1,__u:0};return null==l&&null!=o.vnode&&o.vnode(u),u}function w(){return{current:null}}function x(e){return e.children}function C(e,t){this.props=e,this.context=t}function k(e,t){if(null==t)return e.__?k(e.__,e.__i+1):null;for(var n;tt&&l.sort(s));P.__r=0}function N(e,t,n,r,o,i,l,u,a,s,c){var d,f,p,v,m,g=r&&r.__k||h,y=t.length;for(n.__d=a,A(n,t,g),a=n.__d,d=0;d0?S(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,u=D(o,n,l,c),o.__i=u,i=null,-1!==u&&(c--,(i=n[u])&&(i.__u|=131072)),null==i||null===i.__v?(-1==u&&d--,"function"!=typeof o.type&&(o.__u|=65536)):u!==l&&(u===l+1?d++:u>l?c>a-l?d+=u-l:d--:u(null==a||131072&a.__u?0:1))for(;l>=0||u=0){if((a=t[l])&&!(131072&a.__u)&&o==a.key&&i===a.type)return l;l--}if(u2&&(a.children=arguments.length>3?t.call(arguments,2):r),S(e.type,a,o||e.key,i||e.ref,null)}function G(e,t){var n={__c:t="__cC"+p++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,I(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}t=h.slice,o={__e:function(e,t,n,r){for(var o,i,l;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),l=o.__d),l)return o.__E=o}catch(t){e=t}throw e}},i=0,C.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},n),this.props)),e&&g(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),I(this))},C.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),I(this))},C.prototype.render=x,l=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},P.__r=0,c=0,d=T(!1),f=T(!0),p=0;var q,K,Y,Z,J=0,X=[],Q=[],ee=o,te=ee.__b,ne=ee.__r,re=ee.diffed,oe=ee.__c,ie=ee.unmount,le=ee.__;function ue(e,t){ee.__h&&ee.__h(K,e,J||t),J=0;var n=K.__H||(K.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Q}),n.__[e]}function ae(e){return J=1,se(Ee,e)}function se(e,t,n){var r=ue(q++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Ee(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var l=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}})),!(!l&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};K.u=!0;var i=K.shouldComponentUpdate,l=K.componentWillUpdate;K.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}l&&l.call(this,e,t,n)},K.shouldComponentUpdate=o}return r.__N||r.__}function ce(e,t){var n=ue(q++,3);!ee.__s&&ke(n.__H,t)&&(n.__=e,n.i=t,K.__H.__h.push(n))}function de(e,t){var n=ue(q++,4);!ee.__s&&ke(n.__H,t)&&(n.__=e,n.i=t,K.__h.push(n))}function fe(e){return J=5,_e((function(){return{current:e}}),[])}function pe(e,t,n){J=6,de((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function _e(e,t){var n=ue(q++,7);return ke(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function he(e,t){return J=8,_e((function(){return e}),t)}function ve(e){var t=K.context[e.__c],n=ue(q++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(K)),t.props.value):e.__}function me(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function ge(e){var t=ue(q++,10),n=ae();return t.__=e,K.componentDidCatch||(K.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function ye(){var e=ue(q++,11);if(!e.__){for(var t=K.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function be(){for(var e;e=X.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(xe),e.__H.__h.forEach(Ce),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){K=null,te&&te(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),le&&le(e,t)},ee.__r=function(e){ne&&ne(e),q=0;var t=(K=e.__c).__H;t&&(Y===K?(t.__h=[],K.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Q,e.__N=e.i=void 0}))):(t.__h.forEach(xe),t.__h.forEach(Ce),t.__h=[],q=0)),Y=K},ee.diffed=function(e){re&&re(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==X.push(t)&&Z===ee.requestAnimationFrame||((Z=ee.requestAnimationFrame)||we)(be)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Q&&(e.__=e.__V),e.i=void 0,e.__V=Q}))),Y=K=null},ee.__c=function(e,t){t.some((function(e){try{e.__h.forEach(xe),e.__h=e.__h.filter((function(e){return!e.__||Ce(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],ee.__e(n,e.__v)}})),oe&&oe(e,t)},ee.unmount=function(e){ie&&ie(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{xe(e)}catch(e){t=e}})),n.__H=void 0,t&&ee.__e(t,n.__v))};var Se="function"==typeof requestAnimationFrame;function we(e){var t,n=function(){clearTimeout(r),Se&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Se&&(t=requestAnimationFrame(n))}function xe(e){var t=K,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),K=t}function Ce(e){var t=K;e.__c=e.__(),K=t}function ke(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Ee(e,t){return"function"==typeof t?t(e):t}function Ie(e,t){for(var n in t)e[n]=t[n];return e}function Pe(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Ne(e,t){this.props=e,this.context=t}function Ae(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Pe(this.props,e)}function r(t){return this.shouldComponentUpdate=n,b(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ne.prototype=new C).isPureReactComponent=!0,Ne.prototype.shouldComponentUpdate=function(e,t){return Pe(this.props,e)||Pe(this.state,t)};var Re=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Re&&Re(e)};var Oe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function De(e){function t(t){var n=Ie({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Oe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ve=function(e,t){return null==e?null:O(O(e).map(t))},Me={map:Ve,forEach:Ve,count:function(e){return e?O(e).length:0},only:function(e){var t=O(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:O},Te=o.__e;o.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Te(e,t,n,r)};var Le=o.unmount;function $e(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Ie({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return $e(e,t,n)}))),e}function Fe(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Fe(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function je(){this.__u=0,this.t=null,this.__b=null}function He(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ue(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return b(n,o)}return o.displayName="Lazy",o.__f=!0,o}function Be(){this.u=null,this.o=null}o.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Le&&Le(e)},(je.prototype=new C).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=He(r.__v),i=!1,l=function(){i||(i=!0,n.__R=null,o?o(u):u())};n.__R=l;var u=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Fe(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(l,l)},je.prototype.componentWillUnmount=function(){this.t=[]},je.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=$e(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&b(x,null,e.fallback);return o&&(o.__u&=-33),[b(x,null,t.__a?null:e.children),o]};var We=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),B(b(ze,{context:t.context},e.__v),t.l)}function qe(e,t){var n=b(Ge,{__v:e,i:t});return n.containerInfo=t,n}(Be.prototype=new C).__a=function(e){var t=this,n=He(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),We(t,e,r)):o()};n?n(i):i()}},Be.prototype.render=function(e){this.u=null,this.o=new Map;var t=O(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Be.prototype.componentDidUpdate=Be.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){We(e,n,t)}))};var Ke="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ye=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ze=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Je=/[A-Z0-9]/g,Xe="undefined"!=typeof document,Qe=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function et(e,t,n){return null==t.__k&&(t.textContent=""),B(e,t),"function"==typeof n&&n(),e?e.__c:null}function tt(e,t,n){return W(e,t),"function"==typeof n&&n(),e?e.__c:null}C.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(C.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var nt=o.event;function rt(){}function ot(){return this.cancelBubble}function it(){return this.defaultPrevented}o.event=function(e){return nt&&(e=nt(e)),e.persist=rt,e.isPropagationStopped=ot,e.isDefaultPrevented=it,e.nativeEvent=e};var lt,ut={enumerable:!1,configurable:!0,get:function(){return this.class}},at=o.vnode;o.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||Xe&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"translate"===l&&"no"===i?i=!1:"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||Qe(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Ze.test(o)?o=l:-1===n.indexOf("-")&&Ye.test(o)?o=o.replace(Je,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&r[o=l]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=O(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=O(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",ut)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ke,at&&at(e)};var st=o.__r;o.__r=function(e){st&&st(e),lt=e.__c};var ct=o.diffed;o.diffed=function(e){ct&&ct(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),lt=null};var dt={ReactCurrentDispatcher:{current:{readContext:function(e){return lt.__n[e.__c].props.value},useCallback:he,useContext:ve,useDebugValue:me,useDeferredValue:Ct,useEffect:ce,useId:ye,useImperativeHandle:pe,useInsertionEffect:Et,useLayoutEffect:de,useMemo:_e,useReducer:se,useRef:fe,useState:ae,useSyncExternalStore:Pt,useTransition:kt}}},ft="17.0.2";function pt(e){return b.bind(null,e)}function _t(e){return!!e&&e.$$typeof===Ke}function ht(e){return _t(e)&&e.type===x}function vt(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function mt(e){return _t(e)?z.apply(null,arguments):e}function gt(e){return!!e.__k&&(B(null,e),!0)}function yt(e){return e&&(e.base||1===e.nodeType&&e)||null}var bt=function(e,t){return e(t)},St=function(e,t){return e(t)},wt=x;function xt(e){e()}function Ct(e){return e}function kt(){return[!1,xt]}var Et=de,It=_t;function Pt(e,t){var n=t(),r=ae({h:{__:n,v:t}}),o=r[0].h,i=r[1];return de((function(){o.__=n,o.v=t,Nt(o)&&i({h:o})}),[e,n,t]),ce((function(){return Nt(o)&&i({h:o}),e((function(){Nt(o)&&i({h:o})}))}),[e]),n}function Nt(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}var At={useState:ae,useId:ye,useReducer:se,useEffect:ce,useLayoutEffect:de,useInsertionEffect:Et,useTransition:kt,useDeferredValue:Ct,useSyncExternalStore:Pt,startTransition:xt,useRef:fe,useImperativeHandle:pe,useMemo:_e,useCallback:he,useContext:ve,useDebugValue:me,version:"17.0.2",Children:Me,render:et,hydrate:tt,unmountComponentAtNode:gt,createPortal:qe,createElement:b,createContext:G,createFactory:pt,cloneElement:mt,createRef:w,Fragment:x,isValidElement:_t,isElement:It,isFragment:ht,isMemo:vt,findDOMNode:yt,Component:C,PureComponent:Ne,memo:Ae,forwardRef:De,flushSync:St,unstable_batchedUpdates:bt,StrictMode:wt,Suspense:je,SuspenseList:Be,lazy:Ue,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:dt};function Rt(){return Rt=Object.assign||function(e){for(var t=1;te instanceof ShadowRoot,Dt=e=>{const t=e.getRootNode()instanceof ShadowRoot?e.getRootNode().host:e,{dataset:n}=t,r={};for(var o in n){if(!1===n.hasOwnProperty(o))return;const e=`${(i=o.split(/(props?)/).pop()||"").charAt(0).toLowerCase()}${i.slice(1)}`;e&&(r[e]=n[o])}var i;return r},Vt=e=>["text/props","application/json"].includes(e.getAttribute("type")||""),Mt=e=>Ot(e)?[]:Array.from(e.getElementsByTagName("script")).filter(Vt),Tt=e=>Array.from(document.querySelectorAll(e)).filter(Vt),Lt=e=>{let t={};return e.forEach((e=>{try{t=Rt({},t,JSON.parse(e.innerHTML))}catch(e){}})),t},$t=(e,t,n={},r)=>{const o=Dt(t),i=e._executedScript?Dt(e._executedScript):{},l=Lt(Mt(t));return Rt({},n,o,i,r?Lt(Tt(r)):{},l)};function Ft(e,t){var n=(t=[].concat(t))[t.length-1].nextSibling;function r(t,r){e.insertBefore(t,r||n)}return e.__k={nodeType:1,parentNode:e,firstChild:t[0],childNodes:t,insertBefore:r,appendChild:r,removeChild:function(t){e.removeChild(t)}}}const jt=({island:e,widget:t,rootFragment:n,props:r})=>{e.props=r,B(b(t,r),n)},Ht=(e,t)=>{if(null==customElements.get(e)){class t extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}}customElements.define(e,t)}const n=(e=>{const t={_rootsToObservers:new WeakMap,_roots:[],_executedScript:document.currentScript,props:{},render:({selector:n,clean:r=!1,replace:o=!1,inline:i=!1,initialProps:l={},propsSelector:u,elementName:a})=>{let s=!1;const c=()=>{if(!0===s)return;const c=(({selector:e,inline:t,elementName:n})=>{const r=document.currentScript;if(t&&null!=r&&r.parentNode)return[r.parentNode];const o=null==r?void 0:r.dataset.mountIn;return o?Array.from(document.querySelectorAll(o)).map((e=>{if(null!=n){const t=document.createElement(n),r=e.appendChild(t);return null!=r.shadowRoot?r.shadowRoot:r}return e})):e?Array.from(document.querySelectorAll(e)).map((e=>null!=e.shadowRoot?e.shadowRoot:e)):[]})({selector:n,inline:i,elementName:a});if(0===c.length)return;const{rootFragments:d}=(({island:e,widget:t,hostElements:n,clean:r,replace:o,initialProps:i,propsSelector:l})=>{const u=[];return n.forEach((n=>{const a=$t(e,n,i,l);let s;if(r&&n.replaceChildren(),o)s=Ft(n.parentElement||document.body,n);else{const e=document.createElement("div");n.appendChild(e),s=Ft(n,e)}u.push(s),jt({island:e,widget:t,rootFragment:s,props:a});const c=(({island:e,hostElement:t,initialProps:n,onNewProps:r,propsSelector:o})=>{const i=new MutationObserver((function(i){i.forEach((function(){r($t(e,t,n,o))}))})),l={attributes:!0,childList:!0,characterData:!0};return e._executedScript&&i.observe(e._executedScript,l),Mt(t).forEach((e=>{i.observe(e,Rt({},l,{subtree:!0}))})),o&&Tt(o).forEach((e=>{i.observe(e,Rt({},l,{subtree:!0}))})),i.observe(Ot(t)?t.host:t,l),i})({island:e,hostElement:n,initialProps:i,onNewProps:n=>{jt({island:e,widget:t,rootFragment:s,props:n})},propsSelector:l});e._rootsToObservers.set(s,c)})),{rootFragments:u}})({island:t,widget:e,clean:r,hostElements:c,replace:o,initialProps:l,propsSelector:u});t._roots=t._roots.concat(d),s=!0};c(),document.addEventListener("DOMContentLoaded",c),document.addEventListener("load",c)},rerender:n=>{t._roots.forEach((r=>{jt({island:t,widget:e,rootFragment:r,props:Rt({},t.props,n)})}))},destroy:()=>{t._roots.forEach((e=>{var n;null==(n=t._rootsToObservers.get(e))||n.disconnect(),B(null,e)}))}};return t})(t);return Rt({},n,{render:t=>n.render(Rt({elementName:e},t)),injectStyles:e=>{n._roots.forEach((t=>{const n=document.createElement("style");n.innerHTML=e,t.parentNode.prepend(n)}))}})};var Ut=function(){return Ut=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?sn(bn,--gn):0,vn--,10===yn&&(vn=1,hn--),yn}function kn(){return yn=gn2||Nn(yn)>3?"":" "}function Vn(e,t){for(;--t&&kn()&&!(yn<48||yn>102||yn>57&&yn<65||yn>70&&yn<97););return Pn(e,In()+(t<6&&32==En()&&32==kn()))}function Mn(e){for(;kn();)switch(yn){case e:return gn;case 34:case 39:34!==e&&39!==e&&Mn(yn);break;case 40:41===e&&Mn(e);break;case 92:kn()}return gn}function Tn(e,t){for(;kn()&&e+yn!==57&&(e+yn!==84||47!==En()););return"/*"+Pn(t,gn-1)+"*"+nn(47===e?e:kn())}function Ln(e){for(;!Nn(En());)kn();return Pn(e,gn)}function $n(e,t){for(var n="",r=0;r6)switch(sn(e,t+1)){case 109:if(45!==sn(e,t+4))break;case 102:return un(e,/(.+:)(.+)-([^]+)/,"$1"+Kt+"$2-$3$1"+qt+(108==sn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~an(e,"stretch",0)?jn(un(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return un(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,l,u){return Gt+n+":"+r+u+(o?Gt+n+"-span:"+(i?l:+l-+r)+u:"")+e}));case 4949:if(121===sn(e,t+6))return un(e,":",":"+Kt)+e;break;case 6444:switch(sn(e,45===sn(e,14)?18:11)){case 120:return un(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Kt+(45===sn(e,14)?"inline-":"")+"box$3$1"+Kt+"$2$3$1"+Gt+"$2box$3")+e;case 100:return un(e,":",":"+Gt)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return un(e,"scroll-","scroll-snap-")+e}return e}function Hn(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Jt:return void(e.return=jn(e.value,e.length,n));case Qt:return $n([wn(e,{value:un(e.value,"@","@"+Kt)})],r);case Zt:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(ln(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":xn(wn(e,{props:[un(t,/:(read-\w+)/,":"+qt+"$1")]})),xn(wn(e,{props:[t]})),rn(e,{props:_n(n,r)});break;case"::placeholder":xn(wn(e,{props:[un(t,/:(plac\w+)/,":"+Kt+"input-$1")]})),xn(wn(e,{props:[un(t,/:(plac\w+)/,":"+qt+"$1")]})),xn(wn(e,{props:[un(t,/:(plac\w+)/,Gt+"input-$1")]})),xn(wn(e,{props:[t]})),rn(e,{props:_n(n,r)})}return""}))}}function Un(e){return Rn(Bn("",null,null,null,[""],e=An(e),0,[0],e))}function Bn(e,t,n,r,o,i,l,u,a){for(var s=0,c=0,d=l,f=0,p=0,_=0,h=1,v=1,m=1,g=0,y="",b=o,S=i,w=r,x=y;v;)switch(_=g,g=kn()){case 40:if(108!=_&&58==sn(x,d-1)){-1!=an(x+=un(On(g),"&","&\f"),"&\f",tn(s?u[s-1]:0))&&(m=-1);break}case 34:case 39:case 91:x+=On(g);break;case 9:case 10:case 13:case 32:x+=Dn(_);break;case 92:x+=Vn(In()-1,7);continue;case 47:switch(En()){case 42:case 47:pn(zn(Tn(kn(),In()),t,n,a),a);break;default:x+="/"}break;case 123*h:u[s++]=dn(x)*m;case 125*h:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+c:-1==m&&(x=un(x,/\f/g,"")),p>0&&dn(x)-d&&pn(p>32?Gn(x+";",r,n,d-1,a):Gn(un(x," ","")+";",r,n,d-2,a),a);break;case 59:x+=";";default:if(pn(w=Wn(x,t,n,s,c,o,u,y,b=[],S=[],d,i),i),123===g)if(0===c)Bn(x,t,w,w,b,i,d,u,S);else switch(99===f&&110===sn(x,3)?100:f){case 100:case 108:case 109:case 115:Bn(e,w,w,r&&pn(Wn(e,w,w,0,0,o,u,y,o,b=[],d,S),S),o,S,d,u,r?b:S);break;default:Bn(x,w,w,w,[""],S,0,u,S)}}s=c=p=0,h=m=1,y=x="",d=l;break;case 58:d=1+dn(x),p=_;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==Cn())continue;switch(x+=nn(g),g*h){case 38:m=c>0?1:(x+="\f",-1);break;case 44:u[s++]=(dn(x)-1)*m,m=1;break;case 64:45===En()&&(x+=On(kn())),f=En(),c=d=dn(y=x+=Ln(In())),g++;break;case 45:45===_&&2==dn(x)&&(h=0)}}return i}function Wn(e,t,n,r,o,i,l,u,a,s,c,d){for(var f=o-1,p=0===o?i:[""],_=fn(p),h=0,v=0,m=0;h0?p[g]+" "+y:un(y,/&\f/g,p[g])))&&(a[m++]=b);return Sn(e,t,n,0===o?Zt:u,a,s,c,d)}function zn(e,t,n,r){return Sn(e,t,n,Yt,nn(yn),cn(e,2,-2),0,r)}function Gn(e,t,n,r,o){return Sn(e,t,n,Jt,cn(e,0,r),cn(e,r+1,-1),r,o)}var qn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Kn="undefined"!=typeof process&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",Yn="active",Zn="data-styled-version",Jn="6.1.11",Xn="/*!sc*/\n",Qn="undefined"!=typeof window&&"HTMLElement"in window,er=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY?"false"!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&("false"!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY)),tr=(new Set,Object.freeze([])),nr=Object.freeze({});function rr(e,t,n){return void 0===n&&(n=nr),e.theme!==n.theme&&e.theme||t||n.theme}var or=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ir=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,lr=/(^-|-$)/g;function ur(e){return e.replace(ir,"-").replace(lr,"")}var ar=/(a)(d)/gi,sr=52,cr=function(e){return String.fromCharCode(e+(e>25?39:97))};function dr(e){var t,n="";for(t=Math.abs(e);t>sr;t=t/sr|0)n=cr(t%sr)+n;return(cr(t%sr)+n).replace(ar,"$1-$2")}var fr,pr=5381,_r=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},hr=function(e){return _r(pr,e)};function vr(e){return dr(hr(e)>>>0)}function mr(e){return e.displayName||e.name||"Component"}function gr(e){return"string"==typeof e&&!0}var yr="function"==typeof Symbol&&Symbol.for,br=yr?Symbol.for("react.memo"):60115,Sr=yr?Symbol.for("react.forward_ref"):60112,wr={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xr={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Cr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kr=((fr={})[Sr]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fr[br]=Cr,fr);function Er(e){return("type"in(t=e)&&t.type.$$typeof)===br?Cr:"$$typeof"in e?kr[e.$$typeof]:wr;var t}var Ir=Object.defineProperty,Pr=Object.getOwnPropertyNames,Nr=Object.getOwnPropertySymbols,Ar=Object.getOwnPropertyDescriptor,Rr=Object.getPrototypeOf,Or=Object.prototype;function Dr(e,t,n){if("string"!=typeof t){if(Or){var r=Rr(t);r&&r!==Or&&Dr(e,r,n)}var o=Pr(t);Nr&&(o=o.concat(Nr(t)));for(var i=Er(e),l=Er(t),u=0;u0?" Args: ".concat(t.join(", ")):""))}var Ur=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw Hr(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(a+="".concat(e,","))})),r+="".concat(l).concat(u,'{content:"').concat(a,'"}').concat(Xn)},i=0;i0?".".concat(t):e},c=a.slice();c.push((function(e){e.type===Zt&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(lo,n).replace(r,s))})),l.prefix&&c.push(Hn),c.push(Fn);var d=function(e,o,i,u){void 0===o&&(o=""),void 0===i&&(i=""),void 0===u&&(u="&"),t=u,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var a=e.replace(uo,""),s=Un(i||o?"".concat(i," ").concat(o," { ").concat(a," }"):a);l.namespace&&(s=ao(s,l.namespace));var d,f,p,_=[];return $n(s,(d=c.concat((p=function(e){return _.push(e)},function(e){e.root||(e=e.return)&&p(e)})),f=fn(d),function(e,t,n,r){for(var o="",i=0;i="A"&&e<="Z"};function yo(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,i)){var l=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,l)}r=Tr(r,i),this.staticRulesId=i}else{for(var u=_r(this.baseHash,n.hash),a="",s=0;s>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(a,".".concat(f),void 0,this.componentId)),r=Tr(r,f)}}return r},e}(),Eo=At.createContext(void 0);Eo.Consumer;var Io={};new Set;function Po(e,t,n){var r=Mr(e),o=e,i=!gr(e),l=t.attrs,u=void 0===l?tr:l,a=t.componentId,s=void 0===a?function(e,t){var n="string"!=typeof e?"sc":ur(e);Io[n]=(Io[n]||0)+1;var r="".concat(n,"-").concat(vr(Jn+n+Io[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):a,c=t.displayName,d=void 0===c?function(e){return gr(e)?"styled.".concat(e):"Styled(".concat(mr(e),")")}(e):c,f=t.displayName&&t.componentId?"".concat(ur(t.displayName),"-").concat(t.componentId):t.componentId||s,p=r&&o.attrs?o.attrs.concat(u).filter(Boolean):u,_=t.shouldForwardProp;if(r&&o.shouldForwardProp){var h=o.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;_=function(e,t){return h(e,t)&&v(e,t)}}else _=h}var m=new ko(n,f,r?o.componentStyle:void 0);function g(e,t){return function(e,t,n){var r=e.attrs,o=e.componentStyle,i=e.defaultProps,l=e.foldedComponentIds,u=e.styledComponentId,a=e.target,s=At.useContext(Eo),c=ho(),d=e.shouldForwardProp||c.shouldForwardProp,f=rr(t,s,i)||nr,p=function(e,t,n){for(var r,o=Ut(Ut({},t),{className:void 0,theme:n}),i=0;i2&&io.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=Xr(),r=Lr([n&&'nonce="'.concat(n,'"'),"".concat(Kn,'="true"'),"".concat(Zn,'="').concat(Jn,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw Hr(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw Hr(2);var n=((t={})[Kn]="",t[Zn]=Jn,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=Xr();return r&&(n.nonce=r),[At.createElement("style",Ut({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new io({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw Hr(2);return At.createElement(vo,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw Hr(3)}})(),"__sc-".concat(Kn,"__");function Mo(){return Mo=Object.assign?Object.assign.bind():function(e){for(var t=1;te.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}let Lo=0;const $o=e["useId".toString()];function Fo(e){if(void 0!==$o){const t=$o();return null!=e?e:t}return function(e){const[t,n]=ae(e),r=e||t;return ce((()=>{null==t&&(Lo+=1,n(`mui-${Lo}`))}),[t]),r}(e)}const jo="undefined"!=typeof window?de:ce,Ho={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};class Uo{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Uo}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let Bo=!0,Wo=!1;const zo=new Uo,Go={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function qo(e){e.metaKey||e.altKey||e.ctrlKey||(Bo=!0)}function Ko(){Bo=!1}function Yo(){"hidden"===this.visibilityState&&Wo&&(Bo=!0)}function Zo(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Bo||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Go[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Jo(){const e=he((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",qo,!0),t.addEventListener("mousedown",Ko,!0),t.addEventListener("pointerdown",Ko,!0),t.addEventListener("touchstart",Ko,!0),t.addEventListener("visibilitychange",Yo,!0))}),[]),t=fe(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Zo(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Wo=!0,zo.start(100,(()=>{Wo=!1})),t.current=!1,!0)},ref:e}}function Xo(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function Qo(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:r,rootRef:o,tabIndex:i,to:l,type:u,rootElementName:a}=e,s=fe(),[c,d]=ae(!1),{isFocusVisibleRef:f,onFocus:p,onBlur:_,ref:h}=Jo(),[v,m]=ae(!1);t&&!n&&v&&m(!1),ce((()=>{f.current=v}),[v,f]);const[g,y]=function(e){const{rootElementName:t="",componentName:n}=e,[r,o]=ae(t.toUpperCase());return[r,he((e=>{var t;o(null!=(t=null==e?void 0:e.tagName)?t:"")}),[])]}({rootElementName:null!=a?a:r||l?"a":void 0,componentName:"Button"}),b=e=>t=>{var n;v&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},S=e=>t=>{var n,r;(s.current||(s.current=t.currentTarget),p(t),!0===f.current)&&(m(!0),null==(r=e.onFocusVisible)||r.call(e,t));null==(n=e.onFocus)||n.call(e,t)},w=()=>{const e=s.current;return"BUTTON"===g||"INPUT"===g&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===g&&(null==e?void 0:e.href)},x=e=>n=>{var r;t||(null==(r=e.onClick)||r.call(e,n))},C=e=>n=>{var r;t||(d(!0),document.addEventListener("mouseup",(()=>{d(!1)}),{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},k=e=>n=>{var r,o;(null==(r=e.onKeyDown)||r.call(e,n),n.defaultMuiPrevented)||(n.target!==n.currentTarget||w()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||d(!0),n.target!==n.currentTarget||w()||"Enter"!==n.key||t||(null==(o=e.onClick)||o.call(e,n),n.preventDefault()))},E=e=>n=>{var r,o;(n.target===n.currentTarget&&d(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||w()||t||" "!==n.key||n.defaultMuiPrevented)||(null==(o=e.onClick)||o.call(e,n))},I=To(y,o,h,s),P={};void 0!==i&&(P.tabIndex=i),"BUTTON"===g?(P.type=null!=u?u:"button",n?P["aria-disabled"]=t:P.disabled=t):"INPUT"===g?u&&["button","submit","reset"].includes(u)&&(n?P["aria-disabled"]=t:P.disabled=t):""!==g&&(r||l||(P.role="button",P.tabIndex=null!=i?i:0),t&&(P["aria-disabled"]=t,P.tabIndex=n?null!=i?i:0:-1));return{getRootProps:(t={})=>{const n=Mo({},Xo(e),Xo(t)),r=Mo({type:u},n,P,t,{onBlur:(o=n,e=>{var t;_(e),!1===f.current&&m(!1),null==(t=o.onBlur)||t.call(o,e)}),onClick:x(n),onFocus:S(n),onKeyDown:k(n),onKeyUp:E(n),onMouseDown:C(n),onMouseLeave:b(n),ref:I});var o;return delete r.onFocusVisible,r},focusVisible:v,setFocusVisible:m,active:c,rootRef:I}}const ei={buttonClick:"buttonClick",browserAutoFill:"browserAutoFill"},ti={blur:"list:blur",focus:"list:focus",itemClick:"list:itemClick",itemHover:"list:itemHover",itemsChange:"list:itemsChange",keyDown:"list:keyDown",resetHighlight:"list:resetHighlight",highlightLast:"list:highlightLast",textNavigation:"list:textNavigation",clearSelection:"list:clearSelection"};function ni(e,t,n){var r;const{items:o,isItemDisabled:i,disableListWrap:l,disabledItemsFocusable:u,itemComparer:a,focusManagement:s}=n,c="DOM"===s?0:-1,d=o.length-1,f=null==e?-1:o.findIndex((t=>a(t,e)));let p,_,h=!l;switch(t){case"reset":if(-1===c)return null;p=0,_="next",h=!1;break;case"start":p=0,_="next",h=!1;break;case"end":p=d,_="previous",h=!1;break;default:{const e=f+t;e<0?!h&&-1!==f||Math.abs(t)>1?(p=0,_="next"):(p=d,_="previous"):e>d?!h||Math.abs(t)>1?(p=d,_="previous"):(p=0,_="next"):(p=e,_=t>=0?"next":"previous")}}const v=function(e,t,n,r,o,i){if(0===n.length||!r&&n.every(((e,t)=>o(e,t))))return-1;let l=e;for(;;){if(!i&&"next"===t&&l===n.length||!i&&"previous"===t&&-1===l)return-1;if(r||!o(n[l],l))return l;l+="next"===t?1:-1,i&&(l=(l+n.length)%n.length)}}(p,_,o,u,i,h);return-1!==v||null===e||i(e,f)?null!=(r=o[v])?r:null:e}function ri(e,t,n){const{itemComparer:r,isItemDisabled:o,selectionMode:i,items:l}=n,{selectedValues:u}=t,a=l.findIndex((t=>r(e,t)));if(o(e,a))return t;const s=function(e,t,n,r){return"none"===n?[]:"single"===n?r(t[0],e)?t:[e]:t.some((t=>r(t,e)))?t.filter((t=>!r(t,e))):[...t,e]}(e,u,i,r);return Mo({},t,{selectedValues:s,highlightedValue:e})}function oi(e,t,n){var r;const o=null==(r=n(e))?void 0:r.trim().toLowerCase();return!(!o||0===o.length)&&0===o.indexOf(t)}function ii(e,t){const{type:n,context:r}=t;switch(n){case ti.keyDown:return function(e,t,n){const r=t.highlightedValue,{orientation:o,pageSize:i}=n;switch(e){case"Home":return Mo({},t,{highlightedValue:ni(r,"start",n)});case"End":return Mo({},t,{highlightedValue:ni(r,"end",n)});case"PageUp":return Mo({},t,{highlightedValue:ni(r,-i,n)});case"PageDown":return Mo({},t,{highlightedValue:ni(r,i,n)});case"ArrowUp":if("vertical"!==o)break;return Mo({},t,{highlightedValue:ni(r,-1,n)});case"ArrowDown":if("vertical"!==o)break;return Mo({},t,{highlightedValue:ni(r,1,n)});case"ArrowLeft":if("vertical"===o)break;return Mo({},t,{highlightedValue:ni(r,"horizontal-ltr"===o?-1:1,n)});case"ArrowRight":if("vertical"===o)break;return Mo({},t,{highlightedValue:ni(r,"horizontal-ltr"===o?1:-1,n)});case"Enter":case" ":return null===t.highlightedValue?t:ri(t.highlightedValue,t,n)}return t}(t.key,e,r);case ti.itemClick:return ri(t.item,e,r);case ti.blur:return function(e,t){return"DOM"===t.focusManagement?e:Mo({},e,{highlightedValue:null})}(e,r);case ti.textNavigation:return function(e,t,n){const{items:r,isItemDisabled:o,disabledItemsFocusable:i,getItemAsString:l}=n,u=t.length>1;let a=u?e.highlightedValue:ni(e.highlightedValue,1,n);for(let s=0;si(e,n.highlightedValue))))?a:null:"DOM"===l&&0===t.length&&(u=ni(null,"reset",r));const s=(null!=(o=n.selectedValues)?o:[]).filter((t=>e.some((e=>i(e,t)))));return Mo({},n,{highlightedValue:u,selectedValues:s})}(t.items,t.previousItems,e,r);case ti.resetHighlight:return function(e,t){return Mo({},e,{highlightedValue:ni(null,"reset",t)})}(e,r);case ti.highlightLast:return function(e,t){return Mo({},e,{highlightedValue:ni(null,"end",t)})}(e,r);case ti.clearSelection:return function(e,t){return Mo({},e,{selectedValues:[],highlightedValue:ni(null,"reset",t)})}(e,r);default:return e}}function li(e,t){return e===t}const ui={},ai=()=>{};function si(e,t){const n=Mo({},e);return Object.keys(t).forEach((e=>{void 0!==t[e]&&(n[e]=t[e])})),n}function ci(e){const t=fe(null),{reducer:n,initialState:r,controlledProps:o=ui,stateComparers:i=ui,onStateChange:l=ai,actionContext:u,componentName:a=""}=e;fe(o);const s=he(((e,r)=>{t.current=r;const i=si(e,o);return n(i,r)}),[o,n]),[c,d]=se(s,r),f=he((e=>{d(Mo({},e,{context:u}))}),[u]);return function(e){const{nextState:t,initialState:n,stateComparers:r,onStateChange:o,controlledProps:i,lastActionRef:l}=e,u=fe(n);ce((()=>{if(null===l.current)return;const e=si(u.current,i);Object.keys(t).forEach((n=>{var i;const u=null!=(i=r[n])?i:li,a=t[n],s=e[n];var c,d;(null==s&&null!=a||null!=s&&null==a||null!=s&&null!=a&&!u(a,s))&&(null==o||o(null!=(c=l.current.event)?c:null,n,a,null!=(d=l.current.type)?d:"",t))})),u.current=t,l.current=null}),[u,t,l,o,r,i])}({nextState:c,initialState:r,stateComparers:null!=i?i:ui,onStateChange:null!=l?l:ai,controlledProps:o,lastActionRef:t}),[si(c,o),f]}function di(e,t,n=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))}const fi=500;const pi={},_i=()=>{},hi=(e,t)=>e===t,vi=()=>!1,mi=e=>"string"==typeof e?e:String(e),gi=()=>({highlightedValue:null,selectedValues:[]});function yi(e){const{controlledProps:t=pi,disabledItemsFocusable:n=!1,disableListWrap:r=!1,focusManagement:o="activeDescendant",getInitialState:i=gi,getItemDomElement:l,getItemId:u,isItemDisabled:a=vi,rootRef:s,onStateChange:c=_i,items:d,itemComparer:f=hi,getItemAsString:p=mi,onChange:_,onHighlightChange:h,onItemsChange:v,orientation:m="vertical",pageSize:g=5,reducerActionContext:y=pi,selectionMode:b="single",stateReducer:S,componentName:w="useList"}=e;const x=fe(null),C=To(s,x),k=he(((e,t,n)=>{var r;(null==h||h(e,t,n),"DOM"!==o||null==t||n!==ti.itemClick&&n!==ti.keyDown&&n!==ti.textNavigation)||(null==l||null==(r=l(t))||r.focus())}),[l,h,o]),E=_e((()=>({highlightedValue:f,selectedValues:(e,t)=>di(e,t,f)})),[f]),I=he(((e,t,n,r,o)=>{switch(null==c||c(e,t,n,r,o),t){case"highlightedValue":k(e,n,r);break;case"selectedValues":null==_||_(e,n,r)}}),[k,_,c]),P=_e((()=>({disabledItemsFocusable:n,disableListWrap:r,focusManagement:o,isItemDisabled:a,itemComparer:f,items:d,getItemAsString:p,onHighlightChange:k,orientation:m,pageSize:g,selectionMode:b,stateComparers:E})),[n,r,o,a,f,d,p,k,m,g,b,E]),N=i(),A=null!=S?S:ii,R=_e((()=>Mo({},y,P)),[y,P]),[O,D]=ci({reducer:A,actionContext:R,initialState:N,controlledProps:t,stateComparers:E,onStateChange:I,componentName:w}),{highlightedValue:V,selectedValues:M}=O,T=function(e){const t=fe({searchString:"",lastTime:null});return he((n=>{if(1===n.key.length&&" "!==n.key){const r=t.current,o=n.key.toLowerCase(),i=performance.now();r.searchString.length>0&&r.lastTime&&i-r.lastTime>fi?r.searchString=o:1===r.searchString.length&&o===r.searchString||(r.searchString+=o),r.lastTime=i,e(r.searchString,n)}}),[e])}(((e,t)=>D({type:ti.textNavigation,event:t,searchString:e}))),L=fe([]);ce((()=>{di(L.current,d,f)||(D({type:ti.itemsChange,event:null,items:d,previousItems:L.current}),L.current=d,null==v||v(d))}),[d,f,D,v]);const $=e=>t=>{var n;if(null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented)return;const r=["Home","End","PageUp","PageDown"];"vertical"===m?r.push("ArrowUp","ArrowDown"):r.push("ArrowLeft","ArrowRight"),"activeDescendant"===o&&r.push(" ","Enter"),r.includes(t.key)&&t.preventDefault(),D({type:ti.keyDown,key:t.key,event:t}),T(t)},F=he((e=>{const t=(null!=M?M:[]).some((t=>null!=t&&f(e,t))),n=null!=V&&f(e,V);return{focusable:"DOM"===o,highlighted:n,selected:t}}),[f,M,V,o]),j=_e((()=>({dispatch:D,getItemState:F})),[D,F]);return me({state:O}),{contextValue:j,dispatch:D,getRootProps:(e={})=>{const t=Xo(e);return Mo({},e,{"aria-activedescendant":"activeDescendant"===o&&null!=V?u(V):void 0,tabIndex:"DOM"===o?-1:0,ref:C},t,{onBlur:(n=t,e=>{var t,r;null==(t=n.onBlur)||t.call(n,e),e.defaultMuiPrevented||null!=(r=x.current)&&r.contains(e.relatedTarget)||D({type:ti.blur,event:e})}),onKeyDown:$(t)});var n},rootRef:C,state:O}}const bi=e=>{const{label:t,value:n}=e;return"string"==typeof t?t:"string"==typeof n?n:String(e)},Si=G(null);function wi(){const[e,t]=ae(new Map),n=fe(new Set),r=he((function(e){n.current.delete(e),t((t=>{const n=new Map(t);return n.delete(e),n}))}),[]),o=he((function(e,o){let i;return i="function"==typeof e?e(n.current):e,n.current.add(i),t((e=>{const t=new Map(e);return t.set(i,o),t})),{id:i,deregister:()=>r(i)}}),[r]),i=_e((()=>function(e){const t=Array.from(e.keys()).map((t=>({key:t,subitem:e.get(t)})));return t.sort(((e,t)=>{const n=e.subitem.ref.current,r=t.subitem.ref.current;return null===n||null===r||n===r?0:n.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING?1:-1})),new Map(t.map((e=>[e.key,e.subitem])))}(e)),[e]),l=he((function(e){return Array.from(i.keys()).indexOf(e)}),[i]);return{contextValue:_e((()=>({getItemIndex:l,registerItem:o,totalSubitemCount:e.size})),[l,o,e.size]),subitems:i}}function xi(e,t){const{open:n}=e,{context:{selectionMode:r}}=t;if(t.type===ei.buttonClick){var o;const r=null!=(o=e.selectedValues[0])?o:ni(null,"start",t.context);return Mo({},e,{open:!n,highlightedValue:n?null:r})}if(t.type===ei.browserAutoFill)return ri(t.item,e,t.context);const i=ii(e,t);switch(t.type){case ti.keyDown:if(e.open){if("Escape"===t.event.key)return Mo({},i,{open:!1})}else{var l,u;if("ArrowDown"===t.event.key)return Mo({},e,{open:!0,highlightedValue:null!=(l=e.selectedValues[0])?l:ni(null,"start",t.context)});if("ArrowUp"===t.event.key)return Mo({},e,{open:!0,highlightedValue:null!=(u=e.selectedValues[0])?u:ni(null,"end",t.context)})}break;case ti.itemClick:if("single"===r)return Mo({},i,{open:!1});break;case ti.blur:return Mo({},i,{open:!1});default:return i}return i}function Ci(e,t){return function(n={}){const r=Mo({},n,e(n));return Mo({},r,t(r))}}function ki(e){return Array.isArray(e)?0===e.length?"":JSON.stringify(e.map((e=>e.value))):null==(null==e?void 0:e.value)?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}function Ei(e){const{areOptionsEqual:t,buttonRef:n,defaultOpen:r=!1,defaultValue:o,disabled:i=!1,listboxId:l,listboxRef:u,multiple:a=!1,name:s,required:c,onChange:d,onHighlightChange:f,onOpenChange:p,open:_,options:h,getOptionAsString:v=bi,getSerializedValue:m=ki,value:g,componentName:y="useSelect"}=e,b=fe(null),S=To(n,b),x=fe(null),C=Fo(l);let k;void 0===g&&void 0===o?k=[]:void 0!==o&&(k=a?o:null==o?[]:[o]);const E=_e((()=>{if(void 0!==g)return a?g:null==g?[]:[g]}),[g,a]),{subitems:I,contextValue:P}=wi(),N=_e((()=>null!=h?new Map(h.map(((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:w(),id:`${C}_${t}`}]))):I),[h,I,C]),A=To(u,x),{getRootProps:R,active:O,focusVisible:D,rootRef:V}=Qo({disabled:i,rootRef:S}),M=_e((()=>Array.from(N.keys())),[N]),T=he((e=>{if(void 0!==t){const n=M.find((n=>t(n,e)));return N.get(n)}return N.get(e)}),[N,t,M]),L=he((e=>{var t;const n=T(e);return null!=(t=null==n?void 0:n.disabled)&&t}),[T]),$=he((e=>{const t=T(e);return t?v(t):""}),[T,v]),F=_e((()=>({selectedValues:E,open:_})),[E,_]),j=he((e=>{var t;return null==(t=N.get(e))?void 0:t.id}),[N]),H=he(((e,t)=>{var n;a?null==d||d(e,t):null==d||d(e,null!=(n=t[0])?n:null)}),[a,d]),U=he(((e,t)=>{null==f||f(e,null!=t?t:null)}),[f]),B=he(((e,t,n)=>{var r;"open"===t&&(null==p||p(n),!1===n&&"blur"!==(null==e?void 0:e.type)&&(null==(r=b.current)||r.focus()))}),[p]),W={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=k)?e:[],open:r}},getItemId:j,controlledProps:F,focusManagement:"DOM",getItemDomElement:he((e=>{var t,n;return null==e?null:null!=(t=null==(n=I.get(e))?void 0:n.ref.current)?t:null}),[I]),itemComparer:t,isItemDisabled:L,rootRef:A,onChange:H,onHighlightChange:U,onStateChange:B,reducerActionContext:_e((()=>({multiple:a})),[a]),items:M,getItemAsString:$,selectionMode:a?"multiple":"single",stateReducer:xi,componentName:y},{dispatch:z,getRootProps:G,contextValue:q,state:{open:K,highlightedValue:Y,selectedValues:Z},rootRef:J}=yi(W),X=fe(K);jo((()=>{if(K&&null!==Y){var e;const t=null==(e=T(Y))?void 0:e.ref;if(!x.current||null==t||!t.current)return;X.current||t.current.focus({preventScroll:!0});const n=x.current.getBoundingClientRect(),r=t.current.getBoundingClientRect();r.topn.bottom&&(x.current.scrollTop+=r.bottom-n.bottom)}}),[K,Y,T]);const Q=he((e=>T(e)),[T]),ee=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),z({type:ti.keyDown,key:t.key,event:t}))},te=(e={})=>Mo({},e,((e={})=>{return{onClick:(t=e,e=>{var n;if(null==t||null==(n=t.onClick)||n.call(t,e),!e.defaultMuiPrevented){const t={type:ei.buttonClick,event:e};z(t)}}),onKeyDown:ee(e)};var t})(e),{role:"combobox","aria-expanded":K,"aria-controls":C}),ne=e=>t=>{var n,r;null==(n=e.onBlur)||n.call(e,t),t.defaultMuiPrevented||(null!=(r=x.current)&&r.contains(t.relatedTarget)||t.relatedTarget===b.current)&&(t.defaultMuiPrevented=!0)},re=(e={})=>({onBlur:ne(e)});me({selectedOptions:Z,highlightedOption:Y,open:K});const oe=_e((()=>Mo({},q,P)),[q,P]);let ie,le;var ue;(ie=e.multiple?Z:Z.length>0?Z[0]:null,a)?le=ie.map((e=>Q(e))).filter((e=>void 0!==e)):le=null!=(ue=Q(ie))?ue:null;const ae=e=>t=>{var n;if(null==e||null==(n=e.onChange)||n.call(e,t),t.defaultMuiPrevented)return;const r=N.get(t.target.value);""===t.target.value?z({type:ti.clearSelection}):void 0!==r&&z({type:ei.browserAutoFill,item:r.value,event:t})};return{buttonActive:O,buttonFocusVisible:D,buttonRef:V,contextValue:oe,disabled:i,dispatch:z,getButtonProps:(e={})=>{const t=Xo(e);return Mo({},e,Ci(te,R)(t))},getHiddenInputProps:(e={})=>{const t=Xo(e);return Mo({name:s,tabIndex:-1,"aria-hidden":!0,required:!!c||void 0,value:m(le),style:Ho},e,{onChange:ae(t)})},getListboxProps:(e={})=>{const t=Xo(e),n=Ci(re,G);return Mo({id:C,role:"listbox","aria-multiselectable":a?"true":void 0},e,n(t))},getOptionMetadata:Q,listboxRef:J,open:K,options:M,value:ie,highlightedOption:Y}}const Ii=G(null);var Pi=0;Array.isArray;function Ni(e,t,n,r,i,l){t||(t={});var u,a,s=t;if("ref"in s)for(a in s={},t)"ref"==a?u=t[a]:s[a]=t[a];var c={type:e,props:s,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Pi,__i:-1,__u:0,__source:i,__self:l};if("function"==typeof e&&(u=e.defaultProps))for(a in u)void 0===s[a]&&(s[a]=u[a]);return o.vnode&&o.vnode(c),c}function Ai(e){const{value:t,children:n}=e,{dispatch:r,getItemIndex:o,getItemState:i,registerItem:l,totalSubitemCount:u}=t,a=_e((()=>({dispatch:r,getItemState:i,getItemIndex:o})),[r,o,i]),s=_e((()=>({getItemIndex:o,registerItem:l,totalSubitemCount:u})),[l,o,u]);return Ni(Si.Provider,{value:s,children:Ni(Ii.Provider,{value:a,children:n})})}function Ri(e){const{value:t,label:n,disabled:r,rootRef:o,id:i}=e,{getRootProps:l,highlighted:u,selected:a}=function(e){const{handlePointerOverEvents:t=!1,item:n}=e,r=ve(Ii);if(!r)throw new Error("useListItem must be used within a ListProvider");const{dispatch:o,getItemState:i}=r,{highlighted:l,selected:u,focusable:a}=i(n),s=he((e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultPrevented||o({type:ti.itemClick,item:n,event:t})}),[o,n]),c=he((e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t),t.defaultPrevented||o({type:ti.itemHover,item:n,event:t})}),[o,n]);let d;return a&&(d=l?0:-1),{getRootProps:(e={})=>{const n=Xo(e);return Mo({},e,{onClick:s(n),onPointerOver:t?c(n):void 0,tabIndex:d})},highlighted:l,selected:u}}({item:t}),{getRootProps:s,rootRef:c}=Qo({disabled:r,focusableWhenDisabled:!0}),d=Fo(i),f=fe(null),p=_e((()=>({disabled:r,label:n,value:t,ref:f,id:d})),[r,n,t,d]),{index:_}=function(e,t){const n=ve(Si);if(null===n)throw new Error("useCompoundItem must be used within a useCompoundParent");const{registerItem:r}=n,[o,i]=ae("function"==typeof e?void 0:e);return jo((()=>{const{id:n,deregister:o}=r(e,t);return i(n),o}),[r,t,e]),{id:o,index:void 0!==o?n.getItemIndex(o):-1,totalItemCount:n.totalSubitemCount}}(t,p),h=To(o,f,c),v=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||[" ","Enter"].includes(t.key)&&(t.defaultMuiPrevented=!0)},m=(e={})=>({onKeyDown:v(e)});return{getRootProps:(e={})=>{const t=Xo(e);return Mo({},e,t,Ci(l,Ci(s,m))(t),{id:d,ref:h,role:"option","aria-selected":a})},highlighted:u,index:_,selected:a,rootRef:h}}const Oi=De((function({title:e,titleId:t,...n},r){return b("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?b("title",{id:t},e):null,b("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))})),Di=e=>{const t=fe(!1),n=fe(!1),r=n=>{!t.current&&e&&e(n),t.current=!1},o=t=>{!n.current&&e&&e(t),n.current=!1};return ce((()=>(document.addEventListener("mousedown",r),document.addEventListener("focusin",o),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("focusin",o),document.removeEventListener("touchstart",r)})),[]),{onMouseDown:()=>t.current=!0,onFocus:()=>n.current=!0,onTouchStart:()=>t.current=!0}},Vi=Vo.span` +!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,(()=>(()=>{var e={833:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),l=Object.keys(t);if(i.length!==l.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),a=0;a{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return(()=>{"use strict";n.r(r);var e={};n.r(e),n.d(e,{Children:()=>Te,Component:()=>C,Fragment:()=>x,PureComponent:()=>Pe,StrictMode:()=>wt,Suspense:()=>je,SuspenseList:()=>Be,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>dt,cloneElement:()=>mt,createContext:()=>G,createElement:()=>b,createFactory:()=>pt,createPortal:()=>qe,createRef:()=>w,default:()=>Nt,findDOMNode:()=>yt,flushSync:()=>St,forwardRef:()=>De,hydrate:()=>tt,isElement:()=>It,isFragment:()=>ht,isMemo:()=>vt,isValidElement:()=>_t,lazy:()=>Ue,memo:()=>Ne,render:()=>et,startTransition:()=>xt,unmountComponentAtNode:()=>gt,unstable_batchedUpdates:()=>bt,useCallback:()=>he,useContext:()=>ve,useDebugValue:()=>me,useDeferredValue:()=>Ct,useEffect:()=>ce,useErrorBoundary:()=>ge,useId:()=>ye,useImperativeHandle:()=>pe,useInsertionEffect:()=>Et,useLayoutEffect:()=>de,useMemo:()=>_e,useReducer:()=>se,useRef:()=>fe,useState:()=>ae,useSyncExternalStore:()=>At,useTransition:()=>kt,version:()=>ft});var t,o,i,l,u,a,s,c,d,f,p,_={},h=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function g(e,t){for(var n in t)e[n]=t[n];return e}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,n,r){var o,i,l,u={};for(l in n)"key"==l?o=n[l]:"ref"==l?i=n[l]:u[l]=n[l];if(arguments.length>2&&(u.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===u[l]&&(u[l]=e.defaultProps[l]);return S(e,u,o,i,null)}function S(e,t,n,r,l){var u={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++i:l,__i:-1,__u:0};return null==l&&null!=o.vnode&&o.vnode(u),u}function w(){return{current:null}}function x(e){return e.children}function C(e,t){this.props=e,this.context=t}function k(e,t){if(null==t)return e.__?k(e.__,e.__i+1):null;for(var n;tt&&l.sort(s));A.__r=0}function P(e,t,n,r,o,i,l,u,a,s,c){var d,f,p,v,m,g=r&&r.__k||h,y=t.length;for(n.__d=a,N(n,t,g),a=n.__d,d=0;d0?S(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,u=D(o,n,l,c),o.__i=u,i=null,-1!==u&&(c--,(i=n[u])&&(i.__u|=131072)),null==i||null===i.__v?(-1==u&&d--,"function"!=typeof o.type&&(o.__u|=65536)):u!==l&&(u===l+1?d++:u>l?c>a-l?d+=u-l:d--:u(null==a||131072&a.__u?0:1))for(;l>=0||u=0){if((a=t[l])&&!(131072&a.__u)&&o==a.key&&i===a.type)return l;l--}if(u2&&(a.children=arguments.length>3?t.call(arguments,2):r),S(e.type,a,o||e.key,i||e.ref,null)}function G(e,t){var n={__c:t="__cC"+p++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,I(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}t=h.slice,o={__e:function(e,t,n,r){for(var o,i,l;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),l=o.__d),l)return o.__E=o}catch(t){e=t}throw e}},i=0,C.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},n),this.props)),e&&g(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),I(this))},C.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),I(this))},C.prototype.render=x,l=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},A.__r=0,c=0,d=M(!1),f=M(!0),p=0;var q,K,Y,Z,J=0,X=[],Q=[],ee=o,te=ee.__b,ne=ee.__r,re=ee.diffed,oe=ee.__c,ie=ee.unmount,le=ee.__;function ue(e,t){ee.__h&&ee.__h(K,e,J||t),J=0;var n=K.__H||(K.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Q}),n.__[e]}function ae(e){return J=1,se(Ee,e)}function se(e,t,n){var r=ue(q++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Ee(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var l=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}})),!(!l&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};K.u=!0;var i=K.shouldComponentUpdate,l=K.componentWillUpdate;K.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}l&&l.call(this,e,t,n)},K.shouldComponentUpdate=o}return r.__N||r.__}function ce(e,t){var n=ue(q++,3);!ee.__s&&ke(n.__H,t)&&(n.__=e,n.i=t,K.__H.__h.push(n))}function de(e,t){var n=ue(q++,4);!ee.__s&&ke(n.__H,t)&&(n.__=e,n.i=t,K.__h.push(n))}function fe(e){return J=5,_e((function(){return{current:e}}),[])}function pe(e,t,n){J=6,de((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function _e(e,t){var n=ue(q++,7);return ke(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function he(e,t){return J=8,_e((function(){return e}),t)}function ve(e){var t=K.context[e.__c],n=ue(q++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(K)),t.props.value):e.__}function me(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function ge(e){var t=ue(q++,10),n=ae();return t.__=e,K.componentDidCatch||(K.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function ye(){var e=ue(q++,11);if(!e.__){for(var t=K.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function be(){for(var e;e=X.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(xe),e.__H.__h.forEach(Ce),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){K=null,te&&te(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),le&&le(e,t)},ee.__r=function(e){ne&&ne(e),q=0;var t=(K=e.__c).__H;t&&(Y===K?(t.__h=[],K.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Q,e.__N=e.i=void 0}))):(t.__h.forEach(xe),t.__h.forEach(Ce),t.__h=[],q=0)),Y=K},ee.diffed=function(e){re&&re(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==X.push(t)&&Z===ee.requestAnimationFrame||((Z=ee.requestAnimationFrame)||we)(be)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Q&&(e.__=e.__V),e.i=void 0,e.__V=Q}))),Y=K=null},ee.__c=function(e,t){t.some((function(e){try{e.__h.forEach(xe),e.__h=e.__h.filter((function(e){return!e.__||Ce(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],ee.__e(n,e.__v)}})),oe&&oe(e,t)},ee.unmount=function(e){ie&&ie(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{xe(e)}catch(e){t=e}})),n.__H=void 0,t&&ee.__e(t,n.__v))};var Se="function"==typeof requestAnimationFrame;function we(e){var t,n=function(){clearTimeout(r),Se&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Se&&(t=requestAnimationFrame(n))}function xe(e){var t=K,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),K=t}function Ce(e){var t=K;e.__c=e.__(),K=t}function ke(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Ee(e,t){return"function"==typeof t?t(e):t}function Ie(e,t){for(var n in t)e[n]=t[n];return e}function Ae(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Pe(e,t){this.props=e,this.context=t}function Ne(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Ae(this.props,e)}function r(t){return this.shouldComponentUpdate=n,b(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Pe.prototype=new C).isPureReactComponent=!0,Pe.prototype.shouldComponentUpdate=function(e,t){return Ae(this.props,e)||Ae(this.state,t)};var Re=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Re&&Re(e)};var Oe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function De(e){function t(t){var n=Ie({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Oe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ve=function(e,t){return null==e?null:O(O(e).map(t))},Te={map:Ve,forEach:Ve,count:function(e){return e?O(e).length:0},only:function(e){var t=O(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:O},Me=o.__e;o.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Me(e,t,n,r)};var Le=o.unmount;function $e(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Ie({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return $e(e,t,n)}))),e}function Fe(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Fe(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function je(){this.__u=0,this.t=null,this.__b=null}function He(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ue(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return b(n,o)}return o.displayName="Lazy",o.__f=!0,o}function Be(){this.u=null,this.o=null}o.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Le&&Le(e)},(je.prototype=new C).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=He(r.__v),i=!1,l=function(){i||(i=!0,n.__R=null,o?o(u):u())};n.__R=l;var u=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Fe(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(l,l)},je.prototype.componentWillUnmount=function(){this.t=[]},je.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=$e(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&b(x,null,e.fallback);return o&&(o.__u&=-33),[b(x,null,t.__a?null:e.children),o]};var We=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),B(b(ze,{context:t.context},e.__v),t.l)}function qe(e,t){var n=b(Ge,{__v:e,i:t});return n.containerInfo=t,n}(Be.prototype=new C).__a=function(e){var t=this,n=He(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),We(t,e,r)):o()};n?n(i):i()}},Be.prototype.render=function(e){this.u=null,this.o=new Map;var t=O(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Be.prototype.componentDidUpdate=Be.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){We(e,n,t)}))};var Ke="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ye=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ze=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Je=/[A-Z0-9]/g,Xe="undefined"!=typeof document,Qe=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function et(e,t,n){return null==t.__k&&(t.textContent=""),B(e,t),"function"==typeof n&&n(),e?e.__c:null}function tt(e,t,n){return W(e,t),"function"==typeof n&&n(),e?e.__c:null}C.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(C.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var nt=o.event;function rt(){}function ot(){return this.cancelBubble}function it(){return this.defaultPrevented}o.event=function(e){return nt&&(e=nt(e)),e.persist=rt,e.isPropagationStopped=ot,e.isDefaultPrevented=it,e.nativeEvent=e};var lt,ut={enumerable:!1,configurable:!0,get:function(){return this.class}},at=o.vnode;o.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||Xe&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"translate"===l&&"no"===i?i=!1:"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||Qe(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Ze.test(o)?o=l:-1===n.indexOf("-")&&Ye.test(o)?o=o.replace(Je,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&r[o=l]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=O(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=O(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",ut)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ke,at&&at(e)};var st=o.__r;o.__r=function(e){st&&st(e),lt=e.__c};var ct=o.diffed;o.diffed=function(e){ct&&ct(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),lt=null};var dt={ReactCurrentDispatcher:{current:{readContext:function(e){return lt.__n[e.__c].props.value},useCallback:he,useContext:ve,useDebugValue:me,useDeferredValue:Ct,useEffect:ce,useId:ye,useImperativeHandle:pe,useInsertionEffect:Et,useLayoutEffect:de,useMemo:_e,useReducer:se,useRef:fe,useState:ae,useSyncExternalStore:At,useTransition:kt}}},ft="17.0.2";function pt(e){return b.bind(null,e)}function _t(e){return!!e&&e.$$typeof===Ke}function ht(e){return _t(e)&&e.type===x}function vt(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function mt(e){return _t(e)?z.apply(null,arguments):e}function gt(e){return!!e.__k&&(B(null,e),!0)}function yt(e){return e&&(e.base||1===e.nodeType&&e)||null}var bt=function(e,t){return e(t)},St=function(e,t){return e(t)},wt=x;function xt(e){e()}function Ct(e){return e}function kt(){return[!1,xt]}var Et=de,It=_t;function At(e,t){var n=t(),r=ae({h:{__:n,v:t}}),o=r[0].h,i=r[1];return de((function(){o.__=n,o.v=t,Pt(o)&&i({h:o})}),[e,n,t]),ce((function(){return Pt(o)&&i({h:o}),e((function(){Pt(o)&&i({h:o})}))}),[e]),n}function Pt(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}var Nt={useState:ae,useId:ye,useReducer:se,useEffect:ce,useLayoutEffect:de,useInsertionEffect:Et,useTransition:kt,useDeferredValue:Ct,useSyncExternalStore:At,startTransition:xt,useRef:fe,useImperativeHandle:pe,useMemo:_e,useCallback:he,useContext:ve,useDebugValue:me,version:"17.0.2",Children:Te,render:et,hydrate:tt,unmountComponentAtNode:gt,createPortal:qe,createElement:b,createContext:G,createFactory:pt,cloneElement:mt,createRef:w,Fragment:x,isValidElement:_t,isElement:It,isFragment:ht,isMemo:vt,findDOMNode:yt,Component:C,PureComponent:Pe,memo:Ne,forwardRef:De,flushSync:St,unstable_batchedUpdates:bt,StrictMode:wt,Suspense:je,SuspenseList:Be,lazy:Ue,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:dt};function Rt(){return Rt=Object.assign||function(e){for(var t=1;te instanceof ShadowRoot,Dt=e=>{const t=e.getRootNode()instanceof ShadowRoot?e.getRootNode().host:e,{dataset:n}=t,r={};for(var o in n){if(!1===n.hasOwnProperty(o))return;const e=`${(i=o.split(/(props?)/).pop()||"").charAt(0).toLowerCase()}${i.slice(1)}`;e&&(r[e]=n[o])}var i;return r},Vt=e=>["text/props","application/json"].includes(e.getAttribute("type")||""),Tt=e=>Ot(e)?[]:Array.from(e.getElementsByTagName("script")).filter(Vt),Mt=e=>Array.from(document.querySelectorAll(e)).filter(Vt),Lt=e=>{let t={};return e.forEach((e=>{try{t=Rt({},t,JSON.parse(e.innerHTML))}catch(e){}})),t},$t=(e,t,n={},r)=>{const o=Dt(t),i=e._executedScript?Dt(e._executedScript):{},l=Lt(Tt(t));return Rt({},n,o,i,r?Lt(Mt(r)):{},l)};function Ft(e,t){var n=(t=[].concat(t))[t.length-1].nextSibling;function r(t,r){e.insertBefore(t,r||n)}return e.__k={nodeType:1,parentNode:e,firstChild:t[0],childNodes:t,insertBefore:r,appendChild:r,removeChild:function(t){e.removeChild(t)}}}const jt=({island:e,widget:t,rootFragment:n,props:r})=>{e.props=r,B(b(t,r),n)},Ht=(e,t)=>{if(null==customElements.get(e)){class t extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}}customElements.define(e,t)}const n=(e=>{const t={_rootsToObservers:new WeakMap,_roots:[],_executedScript:document.currentScript,props:{},render:({selector:n,clean:r=!1,replace:o=!1,inline:i=!1,initialProps:l={},propsSelector:u,elementName:a})=>{let s=!1;const c=()=>{if(!0===s)return;const c=(({selector:e,inline:t,elementName:n})=>{const r=document.currentScript;if(t&&null!=r&&r.parentNode)return[r.parentNode];const o=null==r?void 0:r.dataset.mountIn;return o?Array.from(document.querySelectorAll(o)).map((e=>{if(null!=n){const t=document.createElement(n),r=e.appendChild(t);return null!=r.shadowRoot?r.shadowRoot:r}return e})):e?Array.from(document.querySelectorAll(e)).map((e=>null!=e.shadowRoot?e.shadowRoot:e)):[]})({selector:n,inline:i,elementName:a});if(0===c.length)return;const{rootFragments:d}=(({island:e,widget:t,hostElements:n,clean:r,replace:o,initialProps:i,propsSelector:l})=>{const u=[];return n.forEach((n=>{const a=$t(e,n,i,l);let s;if(r&&n.replaceChildren(),o)s=Ft(n.parentElement||document.body,n);else{const e=document.createElement("div");n.appendChild(e),s=Ft(n,e)}u.push(s),jt({island:e,widget:t,rootFragment:s,props:a});const c=(({island:e,hostElement:t,initialProps:n,onNewProps:r,propsSelector:o})=>{const i=new MutationObserver((function(i){i.forEach((function(){r($t(e,t,n,o))}))})),l={attributes:!0,childList:!0,characterData:!0};return e._executedScript&&i.observe(e._executedScript,l),Tt(t).forEach((e=>{i.observe(e,Rt({},l,{subtree:!0}))})),o&&Mt(o).forEach((e=>{i.observe(e,Rt({},l,{subtree:!0}))})),i.observe(Ot(t)?t.host:t,l),i})({island:e,hostElement:n,initialProps:i,onNewProps:n=>{jt({island:e,widget:t,rootFragment:s,props:n})},propsSelector:l});e._rootsToObservers.set(s,c)})),{rootFragments:u}})({island:t,widget:e,clean:r,hostElements:c,replace:o,initialProps:l,propsSelector:u});t._roots=t._roots.concat(d),s=!0};c(),document.addEventListener("DOMContentLoaded",c),document.addEventListener("load",c)},rerender:n=>{t._roots.forEach((r=>{jt({island:t,widget:e,rootFragment:r,props:Rt({},t.props,n)})}))},destroy:()=>{t._roots.forEach((e=>{var n;null==(n=t._rootsToObservers.get(e))||n.disconnect(),B(null,e)}))}};return t})(t);return Rt({},n,{render:t=>n.render(Rt({elementName:e},t)),injectStyles:e=>{n._roots.forEach((t=>{const n=document.createElement("style");n.innerHTML=e,t.parentNode.prepend(n)}))}})};var Ut=function(){return Ut=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?sn(bn,--gn):0,vn--,10===yn&&(vn=1,hn--),yn}function kn(){return yn=gn2||Pn(yn)>3?"":" "}function Vn(e,t){for(;--t&&kn()&&!(yn<48||yn>102||yn>57&&yn<65||yn>70&&yn<97););return An(e,In()+(t<6&&32==En()&&32==kn()))}function Tn(e){for(;kn();)switch(yn){case e:return gn;case 34:case 39:34!==e&&39!==e&&Tn(yn);break;case 40:41===e&&Tn(e);break;case 92:kn()}return gn}function Mn(e,t){for(;kn()&&e+yn!==57&&(e+yn!==84||47!==En()););return"/*"+An(t,gn-1)+"*"+nn(47===e?e:kn())}function Ln(e){for(;!Pn(En());)kn();return An(e,gn)}function $n(e,t){for(var n="",r=0;r6)switch(sn(e,t+1)){case 109:if(45!==sn(e,t+4))break;case 102:return un(e,/(.+:)(.+)-([^]+)/,"$1"+Kt+"$2-$3$1"+qt+(108==sn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~an(e,"stretch",0)?jn(un(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return un(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,l,u){return Gt+n+":"+r+u+(o?Gt+n+"-span:"+(i?l:+l-+r)+u:"")+e}));case 4949:if(121===sn(e,t+6))return un(e,":",":"+Kt)+e;break;case 6444:switch(sn(e,45===sn(e,14)?18:11)){case 120:return un(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Kt+(45===sn(e,14)?"inline-":"")+"box$3$1"+Kt+"$2$3$1"+Gt+"$2box$3")+e;case 100:return un(e,":",":"+Gt)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return un(e,"scroll-","scroll-snap-")+e}return e}function Hn(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Jt:return void(e.return=jn(e.value,e.length,n));case Qt:return $n([wn(e,{value:un(e.value,"@","@"+Kt)})],r);case Zt:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(ln(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":xn(wn(e,{props:[un(t,/:(read-\w+)/,":"+qt+"$1")]})),xn(wn(e,{props:[t]})),rn(e,{props:_n(n,r)});break;case"::placeholder":xn(wn(e,{props:[un(t,/:(plac\w+)/,":"+Kt+"input-$1")]})),xn(wn(e,{props:[un(t,/:(plac\w+)/,":"+qt+"$1")]})),xn(wn(e,{props:[un(t,/:(plac\w+)/,Gt+"input-$1")]})),xn(wn(e,{props:[t]})),rn(e,{props:_n(n,r)})}return""}))}}function Un(e){return Rn(Bn("",null,null,null,[""],e=Nn(e),0,[0],e))}function Bn(e,t,n,r,o,i,l,u,a){for(var s=0,c=0,d=l,f=0,p=0,_=0,h=1,v=1,m=1,g=0,y="",b=o,S=i,w=r,x=y;v;)switch(_=g,g=kn()){case 40:if(108!=_&&58==sn(x,d-1)){-1!=an(x+=un(On(g),"&","&\f"),"&\f",tn(s?u[s-1]:0))&&(m=-1);break}case 34:case 39:case 91:x+=On(g);break;case 9:case 10:case 13:case 32:x+=Dn(_);break;case 92:x+=Vn(In()-1,7);continue;case 47:switch(En()){case 42:case 47:pn(zn(Mn(kn(),In()),t,n,a),a);break;default:x+="/"}break;case 123*h:u[s++]=dn(x)*m;case 125*h:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+c:-1==m&&(x=un(x,/\f/g,"")),p>0&&dn(x)-d&&pn(p>32?Gn(x+";",r,n,d-1,a):Gn(un(x," ","")+";",r,n,d-2,a),a);break;case 59:x+=";";default:if(pn(w=Wn(x,t,n,s,c,o,u,y,b=[],S=[],d,i),i),123===g)if(0===c)Bn(x,t,w,w,b,i,d,u,S);else switch(99===f&&110===sn(x,3)?100:f){case 100:case 108:case 109:case 115:Bn(e,w,w,r&&pn(Wn(e,w,w,0,0,o,u,y,o,b=[],d,S),S),o,S,d,u,r?b:S);break;default:Bn(x,w,w,w,[""],S,0,u,S)}}s=c=p=0,h=m=1,y=x="",d=l;break;case 58:d=1+dn(x),p=_;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==Cn())continue;switch(x+=nn(g),g*h){case 38:m=c>0?1:(x+="\f",-1);break;case 44:u[s++]=(dn(x)-1)*m,m=1;break;case 64:45===En()&&(x+=On(kn())),f=En(),c=d=dn(y=x+=Ln(In())),g++;break;case 45:45===_&&2==dn(x)&&(h=0)}}return i}function Wn(e,t,n,r,o,i,l,u,a,s,c,d){for(var f=o-1,p=0===o?i:[""],_=fn(p),h=0,v=0,m=0;h0?p[g]+" "+y:un(y,/&\f/g,p[g])))&&(a[m++]=b);return Sn(e,t,n,0===o?Zt:u,a,s,c,d)}function zn(e,t,n,r){return Sn(e,t,n,Yt,nn(yn),cn(e,2,-2),0,r)}function Gn(e,t,n,r,o){return Sn(e,t,n,Jt,cn(e,0,r),cn(e,r+1,-1),r,o)}var qn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Kn="undefined"!=typeof process&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",Yn="active",Zn="data-styled-version",Jn="6.1.11",Xn="/*!sc*/\n",Qn="undefined"!=typeof window&&"HTMLElement"in window,er=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY?"false"!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&("false"!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY)),tr=(new Set,Object.freeze([])),nr=Object.freeze({});function rr(e,t,n){return void 0===n&&(n=nr),e.theme!==n.theme&&e.theme||t||n.theme}var or=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ir=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,lr=/(^-|-$)/g;function ur(e){return e.replace(ir,"-").replace(lr,"")}var ar=/(a)(d)/gi,sr=52,cr=function(e){return String.fromCharCode(e+(e>25?39:97))};function dr(e){var t,n="";for(t=Math.abs(e);t>sr;t=t/sr|0)n=cr(t%sr)+n;return(cr(t%sr)+n).replace(ar,"$1-$2")}var fr,pr=5381,_r=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},hr=function(e){return _r(pr,e)};function vr(e){return dr(hr(e)>>>0)}function mr(e){return e.displayName||e.name||"Component"}function gr(e){return"string"==typeof e&&!0}var yr="function"==typeof Symbol&&Symbol.for,br=yr?Symbol.for("react.memo"):60115,Sr=yr?Symbol.for("react.forward_ref"):60112,wr={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xr={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Cr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kr=((fr={})[Sr]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fr[br]=Cr,fr);function Er(e){return("type"in(t=e)&&t.type.$$typeof)===br?Cr:"$$typeof"in e?kr[e.$$typeof]:wr;var t}var Ir=Object.defineProperty,Ar=Object.getOwnPropertyNames,Pr=Object.getOwnPropertySymbols,Nr=Object.getOwnPropertyDescriptor,Rr=Object.getPrototypeOf,Or=Object.prototype;function Dr(e,t,n){if("string"!=typeof t){if(Or){var r=Rr(t);r&&r!==Or&&Dr(e,r,n)}var o=Ar(t);Pr&&(o=o.concat(Pr(t)));for(var i=Er(e),l=Er(t),u=0;u0?" Args: ".concat(t.join(", ")):""))}var Ur=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw Hr(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(a+="".concat(e,","))})),r+="".concat(l).concat(u,'{content:"').concat(a,'"}').concat(Xn)},i=0;i0?".".concat(t):e},c=a.slice();c.push((function(e){e.type===Zt&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(lo,n).replace(r,s))})),l.prefix&&c.push(Hn),c.push(Fn);var d=function(e,o,i,u){void 0===o&&(o=""),void 0===i&&(i=""),void 0===u&&(u="&"),t=u,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var a=e.replace(uo,""),s=Un(i||o?"".concat(i," ").concat(o," { ").concat(a," }"):a);l.namespace&&(s=ao(s,l.namespace));var d,f,p,_=[];return $n(s,(d=c.concat((p=function(e){return _.push(e)},function(e){e.root||(e=e.return)&&p(e)})),f=fn(d),function(e,t,n,r){for(var o="",i=0;i="A"&&e<="Z"};function yo(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,i)){var l=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,l)}r=Mr(r,i),this.staticRulesId=i}else{for(var u=_r(this.baseHash,n.hash),a="",s=0;s>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(a,".".concat(f),void 0,this.componentId)),r=Mr(r,f)}}return r},e}(),Eo=Nt.createContext(void 0);Eo.Consumer;var Io={};new Set;function Ao(e,t,n){var r=Tr(e),o=e,i=!gr(e),l=t.attrs,u=void 0===l?tr:l,a=t.componentId,s=void 0===a?function(e,t){var n="string"!=typeof e?"sc":ur(e);Io[n]=(Io[n]||0)+1;var r="".concat(n,"-").concat(vr(Jn+n+Io[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):a,c=t.displayName,d=void 0===c?function(e){return gr(e)?"styled.".concat(e):"Styled(".concat(mr(e),")")}(e):c,f=t.displayName&&t.componentId?"".concat(ur(t.displayName),"-").concat(t.componentId):t.componentId||s,p=r&&o.attrs?o.attrs.concat(u).filter(Boolean):u,_=t.shouldForwardProp;if(r&&o.shouldForwardProp){var h=o.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;_=function(e,t){return h(e,t)&&v(e,t)}}else _=h}var m=new ko(n,f,r?o.componentStyle:void 0);function g(e,t){return function(e,t,n){var r=e.attrs,o=e.componentStyle,i=e.defaultProps,l=e.foldedComponentIds,u=e.styledComponentId,a=e.target,s=Nt.useContext(Eo),c=ho(),d=e.shouldForwardProp||c.shouldForwardProp,f=rr(t,s,i)||nr,p=function(e,t,n){for(var r,o=Ut(Ut({},t),{className:void 0,theme:n}),i=0;i2&&io.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=Xr(),r=Lr([n&&'nonce="'.concat(n,'"'),"".concat(Kn,'="true"'),"".concat(Zn,'="').concat(Jn,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw Hr(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw Hr(2);var n=((t={})[Kn]="",t[Zn]=Jn,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=Xr();return r&&(n.nonce=r),[Nt.createElement("style",Ut({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new io({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw Hr(2);return Nt.createElement(vo,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw Hr(3)}})(),"__sc-".concat(Kn,"__");function To(){return To=Object.assign?Object.assign.bind():function(e){for(var t=1;te.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}let Lo=0;const $o=e["useId".toString()];function Fo(e){if(void 0!==$o){const t=$o();return null!=e?e:t}return function(e){const[t,n]=ae(e),r=e||t;return ce((()=>{null==t&&(Lo+=1,n(`mui-${Lo}`))}),[t]),r}(e)}const jo="undefined"!=typeof window?de:ce,Ho={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};class Uo{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Uo}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let Bo=!0,Wo=!1;const zo=new Uo,Go={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function qo(e){e.metaKey||e.altKey||e.ctrlKey||(Bo=!0)}function Ko(){Bo=!1}function Yo(){"hidden"===this.visibilityState&&Wo&&(Bo=!0)}function Zo(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Bo||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Go[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Jo(){const e=he((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",qo,!0),t.addEventListener("mousedown",Ko,!0),t.addEventListener("pointerdown",Ko,!0),t.addEventListener("touchstart",Ko,!0),t.addEventListener("visibilitychange",Yo,!0))}),[]),t=fe(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Zo(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Wo=!0,zo.start(100,(()=>{Wo=!1})),t.current=!1,!0)},ref:e}}function Xo(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function Qo(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:r,rootRef:o,tabIndex:i,to:l,type:u,rootElementName:a}=e,s=fe(),[c,d]=ae(!1),{isFocusVisibleRef:f,onFocus:p,onBlur:_,ref:h}=Jo(),[v,m]=ae(!1);t&&!n&&v&&m(!1),ce((()=>{f.current=v}),[v,f]);const[g,y]=function(e){const{rootElementName:t="",componentName:n}=e,[r,o]=ae(t.toUpperCase());return[r,he((e=>{var t;o(null!=(t=null==e?void 0:e.tagName)?t:"")}),[])]}({rootElementName:null!=a?a:r||l?"a":void 0,componentName:"Button"}),b=e=>t=>{var n;v&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},S=e=>t=>{var n,r;(s.current||(s.current=t.currentTarget),p(t),!0===f.current)&&(m(!0),null==(r=e.onFocusVisible)||r.call(e,t));null==(n=e.onFocus)||n.call(e,t)},w=()=>{const e=s.current;return"BUTTON"===g||"INPUT"===g&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===g&&(null==e?void 0:e.href)},x=e=>n=>{var r;t||(null==(r=e.onClick)||r.call(e,n))},C=e=>n=>{var r;t||(d(!0),document.addEventListener("mouseup",(()=>{d(!1)}),{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},k=e=>n=>{var r,o;(null==(r=e.onKeyDown)||r.call(e,n),n.defaultMuiPrevented)||(n.target!==n.currentTarget||w()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||d(!0),n.target!==n.currentTarget||w()||"Enter"!==n.key||t||(null==(o=e.onClick)||o.call(e,n),n.preventDefault()))},E=e=>n=>{var r,o;(n.target===n.currentTarget&&d(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||w()||t||" "!==n.key||n.defaultMuiPrevented)||(null==(o=e.onClick)||o.call(e,n))},I=Mo(y,o,h,s),A={};void 0!==i&&(A.tabIndex=i),"BUTTON"===g?(A.type=null!=u?u:"button",n?A["aria-disabled"]=t:A.disabled=t):"INPUT"===g?u&&["button","submit","reset"].includes(u)&&(n?A["aria-disabled"]=t:A.disabled=t):""!==g&&(r||l||(A.role="button",A.tabIndex=null!=i?i:0),t&&(A["aria-disabled"]=t,A.tabIndex=n?null!=i?i:0:-1));return{getRootProps:(t={})=>{const n=To({},Xo(e),Xo(t)),r=To({type:u},n,A,t,{onBlur:(o=n,e=>{var t;_(e),!1===f.current&&m(!1),null==(t=o.onBlur)||t.call(o,e)}),onClick:x(n),onFocus:S(n),onKeyDown:k(n),onKeyUp:E(n),onMouseDown:C(n),onMouseLeave:b(n),ref:I});var o;return delete r.onFocusVisible,r},focusVisible:v,setFocusVisible:m,active:c,rootRef:I}}const ei={buttonClick:"buttonClick",browserAutoFill:"browserAutoFill"},ti={blur:"list:blur",focus:"list:focus",itemClick:"list:itemClick",itemHover:"list:itemHover",itemsChange:"list:itemsChange",keyDown:"list:keyDown",resetHighlight:"list:resetHighlight",highlightLast:"list:highlightLast",textNavigation:"list:textNavigation",clearSelection:"list:clearSelection"};function ni(e,t,n){var r;const{items:o,isItemDisabled:i,disableListWrap:l,disabledItemsFocusable:u,itemComparer:a,focusManagement:s}=n,c="DOM"===s?0:-1,d=o.length-1,f=null==e?-1:o.findIndex((t=>a(t,e)));let p,_,h=!l;switch(t){case"reset":if(-1===c)return null;p=0,_="next",h=!1;break;case"start":p=0,_="next",h=!1;break;case"end":p=d,_="previous",h=!1;break;default:{const e=f+t;e<0?!h&&-1!==f||Math.abs(t)>1?(p=0,_="next"):(p=d,_="previous"):e>d?!h||Math.abs(t)>1?(p=d,_="previous"):(p=0,_="next"):(p=e,_=t>=0?"next":"previous")}}const v=function(e,t,n,r,o,i){if(0===n.length||!r&&n.every(((e,t)=>o(e,t))))return-1;let l=e;for(;;){if(!i&&"next"===t&&l===n.length||!i&&"previous"===t&&-1===l)return-1;if(r||!o(n[l],l))return l;l+="next"===t?1:-1,i&&(l=(l+n.length)%n.length)}}(p,_,o,u,i,h);return-1!==v||null===e||i(e,f)?null!=(r=o[v])?r:null:e}function ri(e,t,n){const{itemComparer:r,isItemDisabled:o,selectionMode:i,items:l}=n,{selectedValues:u}=t,a=l.findIndex((t=>r(e,t)));if(o(e,a))return t;const s=function(e,t,n,r){return"none"===n?[]:"single"===n?r(t[0],e)?t:[e]:t.some((t=>r(t,e)))?t.filter((t=>!r(t,e))):[...t,e]}(e,u,i,r);return To({},t,{selectedValues:s,highlightedValue:e})}function oi(e,t,n){var r;const o=null==(r=n(e))?void 0:r.trim().toLowerCase();return!(!o||0===o.length)&&0===o.indexOf(t)}function ii(e,t){const{type:n,context:r}=t;switch(n){case ti.keyDown:return function(e,t,n){const r=t.highlightedValue,{orientation:o,pageSize:i}=n;switch(e){case"Home":return To({},t,{highlightedValue:ni(r,"start",n)});case"End":return To({},t,{highlightedValue:ni(r,"end",n)});case"PageUp":return To({},t,{highlightedValue:ni(r,-i,n)});case"PageDown":return To({},t,{highlightedValue:ni(r,i,n)});case"ArrowUp":if("vertical"!==o)break;return To({},t,{highlightedValue:ni(r,-1,n)});case"ArrowDown":if("vertical"!==o)break;return To({},t,{highlightedValue:ni(r,1,n)});case"ArrowLeft":if("vertical"===o)break;return To({},t,{highlightedValue:ni(r,"horizontal-ltr"===o?-1:1,n)});case"ArrowRight":if("vertical"===o)break;return To({},t,{highlightedValue:ni(r,"horizontal-ltr"===o?1:-1,n)});case"Enter":case" ":return null===t.highlightedValue?t:ri(t.highlightedValue,t,n)}return t}(t.key,e,r);case ti.itemClick:return ri(t.item,e,r);case ti.blur:return function(e,t){return"DOM"===t.focusManagement?e:To({},e,{highlightedValue:null})}(e,r);case ti.textNavigation:return function(e,t,n){const{items:r,isItemDisabled:o,disabledItemsFocusable:i,getItemAsString:l}=n,u=t.length>1;let a=u?e.highlightedValue:ni(e.highlightedValue,1,n);for(let s=0;si(e,n.highlightedValue))))?a:null:"DOM"===l&&0===t.length&&(u=ni(null,"reset",r));const s=(null!=(o=n.selectedValues)?o:[]).filter((t=>e.some((e=>i(e,t)))));return To({},n,{highlightedValue:u,selectedValues:s})}(t.items,t.previousItems,e,r);case ti.resetHighlight:return function(e,t){return To({},e,{highlightedValue:ni(null,"reset",t)})}(e,r);case ti.highlightLast:return function(e,t){return To({},e,{highlightedValue:ni(null,"end",t)})}(e,r);case ti.clearSelection:return function(e,t){return To({},e,{selectedValues:[],highlightedValue:ni(null,"reset",t)})}(e,r);default:return e}}function li(e,t){return e===t}const ui={},ai=()=>{};function si(e,t){const n=To({},e);return Object.keys(t).forEach((e=>{void 0!==t[e]&&(n[e]=t[e])})),n}function ci(e){const t=fe(null),{reducer:n,initialState:r,controlledProps:o=ui,stateComparers:i=ui,onStateChange:l=ai,actionContext:u,componentName:a=""}=e;fe(o);const s=he(((e,r)=>{t.current=r;const i=si(e,o);return n(i,r)}),[o,n]),[c,d]=se(s,r),f=he((e=>{d(To({},e,{context:u}))}),[u]);return function(e){const{nextState:t,initialState:n,stateComparers:r,onStateChange:o,controlledProps:i,lastActionRef:l}=e,u=fe(n);ce((()=>{if(null===l.current)return;const e=si(u.current,i);Object.keys(t).forEach((n=>{var i;const u=null!=(i=r[n])?i:li,a=t[n],s=e[n];var c,d;(null==s&&null!=a||null!=s&&null==a||null!=s&&null!=a&&!u(a,s))&&(null==o||o(null!=(c=l.current.event)?c:null,n,a,null!=(d=l.current.type)?d:"",t))})),u.current=t,l.current=null}),[u,t,l,o,r,i])}({nextState:c,initialState:r,stateComparers:null!=i?i:ui,onStateChange:null!=l?l:ai,controlledProps:o,lastActionRef:t}),[si(c,o),f]}function di(e,t,n=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))}const fi=500;const pi={},_i=()=>{},hi=(e,t)=>e===t,vi=()=>!1,mi=e=>"string"==typeof e?e:String(e),gi=()=>({highlightedValue:null,selectedValues:[]});function yi(e){const{controlledProps:t=pi,disabledItemsFocusable:n=!1,disableListWrap:r=!1,focusManagement:o="activeDescendant",getInitialState:i=gi,getItemDomElement:l,getItemId:u,isItemDisabled:a=vi,rootRef:s,onStateChange:c=_i,items:d,itemComparer:f=hi,getItemAsString:p=mi,onChange:_,onHighlightChange:h,onItemsChange:v,orientation:m="vertical",pageSize:g=5,reducerActionContext:y=pi,selectionMode:b="single",stateReducer:S,componentName:w="useList"}=e;const x=fe(null),C=Mo(s,x),k=he(((e,t,n)=>{var r;(null==h||h(e,t,n),"DOM"!==o||null==t||n!==ti.itemClick&&n!==ti.keyDown&&n!==ti.textNavigation)||(null==l||null==(r=l(t))||r.focus())}),[l,h,o]),E=_e((()=>({highlightedValue:f,selectedValues:(e,t)=>di(e,t,f)})),[f]),I=he(((e,t,n,r,o)=>{switch(null==c||c(e,t,n,r,o),t){case"highlightedValue":k(e,n,r);break;case"selectedValues":null==_||_(e,n,r)}}),[k,_,c]),A=_e((()=>({disabledItemsFocusable:n,disableListWrap:r,focusManagement:o,isItemDisabled:a,itemComparer:f,items:d,getItemAsString:p,onHighlightChange:k,orientation:m,pageSize:g,selectionMode:b,stateComparers:E})),[n,r,o,a,f,d,p,k,m,g,b,E]),P=i(),N=null!=S?S:ii,R=_e((()=>To({},y,A)),[y,A]),[O,D]=ci({reducer:N,actionContext:R,initialState:P,controlledProps:t,stateComparers:E,onStateChange:I,componentName:w}),{highlightedValue:V,selectedValues:T}=O,M=function(e){const t=fe({searchString:"",lastTime:null});return he((n=>{if(1===n.key.length&&" "!==n.key){const r=t.current,o=n.key.toLowerCase(),i=performance.now();r.searchString.length>0&&r.lastTime&&i-r.lastTime>fi?r.searchString=o:1===r.searchString.length&&o===r.searchString||(r.searchString+=o),r.lastTime=i,e(r.searchString,n)}}),[e])}(((e,t)=>D({type:ti.textNavigation,event:t,searchString:e}))),L=fe([]);ce((()=>{di(L.current,d,f)||(D({type:ti.itemsChange,event:null,items:d,previousItems:L.current}),L.current=d,null==v||v(d))}),[d,f,D,v]);const $=e=>t=>{var n;if(null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented)return;const r=["Home","End","PageUp","PageDown"];"vertical"===m?r.push("ArrowUp","ArrowDown"):r.push("ArrowLeft","ArrowRight"),"activeDescendant"===o&&r.push(" ","Enter"),r.includes(t.key)&&t.preventDefault(),D({type:ti.keyDown,key:t.key,event:t}),M(t)},F=he((e=>{const t=(null!=T?T:[]).some((t=>null!=t&&f(e,t))),n=null!=V&&f(e,V);return{focusable:"DOM"===o,highlighted:n,selected:t}}),[f,T,V,o]),j=_e((()=>({dispatch:D,getItemState:F})),[D,F]);return me({state:O}),{contextValue:j,dispatch:D,getRootProps:(e={})=>{const t=Xo(e);return To({},e,{"aria-activedescendant":"activeDescendant"===o&&null!=V?u(V):void 0,tabIndex:"DOM"===o?-1:0,ref:C},t,{onBlur:(n=t,e=>{var t,r;null==(t=n.onBlur)||t.call(n,e),e.defaultMuiPrevented||null!=(r=x.current)&&r.contains(e.relatedTarget)||D({type:ti.blur,event:e})}),onKeyDown:$(t)});var n},rootRef:C,state:O}}const bi=e=>{const{label:t,value:n}=e;return"string"==typeof t?t:"string"==typeof n?n:String(e)},Si=G(null);function wi(){const[e,t]=ae(new Map),n=fe(new Set),r=he((function(e){n.current.delete(e),t((t=>{const n=new Map(t);return n.delete(e),n}))}),[]),o=he((function(e,o){let i;return i="function"==typeof e?e(n.current):e,n.current.add(i),t((e=>{const t=new Map(e);return t.set(i,o),t})),{id:i,deregister:()=>r(i)}}),[r]),i=_e((()=>function(e){const t=Array.from(e.keys()).map((t=>({key:t,subitem:e.get(t)})));return t.sort(((e,t)=>{const n=e.subitem.ref.current,r=t.subitem.ref.current;return null===n||null===r||n===r?0:n.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING?1:-1})),new Map(t.map((e=>[e.key,e.subitem])))}(e)),[e]),l=he((function(e){return Array.from(i.keys()).indexOf(e)}),[i]);return{contextValue:_e((()=>({getItemIndex:l,registerItem:o,totalSubitemCount:e.size})),[l,o,e.size]),subitems:i}}function xi(e,t){const{open:n}=e,{context:{selectionMode:r}}=t;if(t.type===ei.buttonClick){var o;const r=null!=(o=e.selectedValues[0])?o:ni(null,"start",t.context);return To({},e,{open:!n,highlightedValue:n?null:r})}if(t.type===ei.browserAutoFill)return ri(t.item,e,t.context);const i=ii(e,t);switch(t.type){case ti.keyDown:if(e.open){if("Escape"===t.event.key)return To({},i,{open:!1})}else{var l,u;if("ArrowDown"===t.event.key)return To({},e,{open:!0,highlightedValue:null!=(l=e.selectedValues[0])?l:ni(null,"start",t.context)});if("ArrowUp"===t.event.key)return To({},e,{open:!0,highlightedValue:null!=(u=e.selectedValues[0])?u:ni(null,"end",t.context)})}break;case ti.itemClick:if("single"===r)return To({},i,{open:!1});break;case ti.blur:return To({},i,{open:!1});default:return i}return i}function Ci(e,t){return function(n={}){const r=To({},n,e(n));return To({},r,t(r))}}function ki(e){return Array.isArray(e)?0===e.length?"":JSON.stringify(e.map((e=>e.value))):null==(null==e?void 0:e.value)?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}function Ei(e){const{areOptionsEqual:t,buttonRef:n,defaultOpen:r=!1,defaultValue:o,disabled:i=!1,listboxId:l,listboxRef:u,multiple:a=!1,name:s,required:c,onChange:d,onHighlightChange:f,onOpenChange:p,open:_,options:h,getOptionAsString:v=bi,getSerializedValue:m=ki,value:g,componentName:y="useSelect"}=e,b=fe(null),S=Mo(n,b),x=fe(null),C=Fo(l);let k;void 0===g&&void 0===o?k=[]:void 0!==o&&(k=a?o:null==o?[]:[o]);const E=_e((()=>{if(void 0!==g)return a?g:null==g?[]:[g]}),[g,a]),{subitems:I,contextValue:A}=wi(),P=_e((()=>null!=h?new Map(h.map(((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:w(),id:`${C}_${t}`}]))):I),[h,I,C]),N=Mo(u,x),{getRootProps:R,active:O,focusVisible:D,rootRef:V}=Qo({disabled:i,rootRef:S}),T=_e((()=>Array.from(P.keys())),[P]),M=he((e=>{if(void 0!==t){const n=T.find((n=>t(n,e)));return P.get(n)}return P.get(e)}),[P,t,T]),L=he((e=>{var t;const n=M(e);return null!=(t=null==n?void 0:n.disabled)&&t}),[M]),$=he((e=>{const t=M(e);return t?v(t):""}),[M,v]),F=_e((()=>({selectedValues:E,open:_})),[E,_]),j=he((e=>{var t;return null==(t=P.get(e))?void 0:t.id}),[P]),H=he(((e,t)=>{var n;a?null==d||d(e,t):null==d||d(e,null!=(n=t[0])?n:null)}),[a,d]),U=he(((e,t)=>{null==f||f(e,null!=t?t:null)}),[f]),B=he(((e,t,n)=>{var r;"open"===t&&(null==p||p(n),!1===n&&"blur"!==(null==e?void 0:e.type)&&(null==(r=b.current)||r.focus()))}),[p]),W={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=k)?e:[],open:r}},getItemId:j,controlledProps:F,focusManagement:"DOM",getItemDomElement:he((e=>{var t,n;return null==e?null:null!=(t=null==(n=I.get(e))?void 0:n.ref.current)?t:null}),[I]),itemComparer:t,isItemDisabled:L,rootRef:N,onChange:H,onHighlightChange:U,onStateChange:B,reducerActionContext:_e((()=>({multiple:a})),[a]),items:T,getItemAsString:$,selectionMode:a?"multiple":"single",stateReducer:xi,componentName:y},{dispatch:z,getRootProps:G,contextValue:q,state:{open:K,highlightedValue:Y,selectedValues:Z},rootRef:J}=yi(W),X=fe(K);jo((()=>{if(K&&null!==Y){var e;const t=null==(e=M(Y))?void 0:e.ref;if(!x.current||null==t||!t.current)return;X.current||t.current.focus({preventScroll:!0});const n=x.current.getBoundingClientRect(),r=t.current.getBoundingClientRect();r.topn.bottom&&(x.current.scrollTop+=r.bottom-n.bottom)}}),[K,Y,M]);const Q=he((e=>M(e)),[M]),ee=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),z({type:ti.keyDown,key:t.key,event:t}))},te=(e={})=>To({},e,((e={})=>{return{onClick:(t=e,e=>{var n;if(null==t||null==(n=t.onClick)||n.call(t,e),!e.defaultMuiPrevented){const t={type:ei.buttonClick,event:e};z(t)}}),onKeyDown:ee(e)};var t})(e),{role:"combobox","aria-expanded":K,"aria-controls":C}),ne=e=>t=>{var n,r;null==(n=e.onBlur)||n.call(e,t),t.defaultMuiPrevented||(null!=(r=x.current)&&r.contains(t.relatedTarget)||t.relatedTarget===b.current)&&(t.defaultMuiPrevented=!0)},re=(e={})=>({onBlur:ne(e)});me({selectedOptions:Z,highlightedOption:Y,open:K});const oe=_e((()=>To({},q,A)),[q,A]);let ie,le;var ue;(ie=e.multiple?Z:Z.length>0?Z[0]:null,a)?le=ie.map((e=>Q(e))).filter((e=>void 0!==e)):le=null!=(ue=Q(ie))?ue:null;const ae=e=>t=>{var n;if(null==e||null==(n=e.onChange)||n.call(e,t),t.defaultMuiPrevented)return;const r=P.get(t.target.value);""===t.target.value?z({type:ti.clearSelection}):void 0!==r&&z({type:ei.browserAutoFill,item:r.value,event:t})};return{buttonActive:O,buttonFocusVisible:D,buttonRef:V,contextValue:oe,disabled:i,dispatch:z,getButtonProps:(e={})=>{const t=Xo(e);return To({},e,Ci(te,R)(t))},getHiddenInputProps:(e={})=>{const t=Xo(e);return To({name:s,tabIndex:-1,"aria-hidden":!0,required:!!c||void 0,value:m(le),style:Ho},e,{onChange:ae(t)})},getListboxProps:(e={})=>{const t=Xo(e),n=Ci(re,G);return To({id:C,role:"listbox","aria-multiselectable":a?"true":void 0},e,n(t))},getOptionMetadata:Q,listboxRef:J,open:K,options:T,value:ie,highlightedOption:Y}}const Ii=G(null);var Ai=0;Array.isArray;function Pi(e,t,n,r,i,l){t||(t={});var u,a,s=t;if("ref"in s)for(a in s={},t)"ref"==a?u=t[a]:s[a]=t[a];var c={type:e,props:s,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Ai,__i:-1,__u:0,__source:i,__self:l};if("function"==typeof e&&(u=e.defaultProps))for(a in u)void 0===s[a]&&(s[a]=u[a]);return o.vnode&&o.vnode(c),c}function Ni(e){const{value:t,children:n}=e,{dispatch:r,getItemIndex:o,getItemState:i,registerItem:l,totalSubitemCount:u}=t,a=_e((()=>({dispatch:r,getItemState:i,getItemIndex:o})),[r,o,i]),s=_e((()=>({getItemIndex:o,registerItem:l,totalSubitemCount:u})),[l,o,u]);return Pi(Si.Provider,{value:s,children:Pi(Ii.Provider,{value:a,children:n})})}function Ri(e){const{value:t,label:n,disabled:r,rootRef:o,id:i}=e,{getRootProps:l,highlighted:u,selected:a}=function(e){const{handlePointerOverEvents:t=!1,item:n}=e,r=ve(Ii);if(!r)throw new Error("useListItem must be used within a ListProvider");const{dispatch:o,getItemState:i}=r,{highlighted:l,selected:u,focusable:a}=i(n),s=he((e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultPrevented||o({type:ti.itemClick,item:n,event:t})}),[o,n]),c=he((e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t),t.defaultPrevented||o({type:ti.itemHover,item:n,event:t})}),[o,n]);let d;return a&&(d=l?0:-1),{getRootProps:(e={})=>{const n=Xo(e);return To({},e,{onClick:s(n),onPointerOver:t?c(n):void 0,tabIndex:d})},highlighted:l,selected:u}}({item:t}),{getRootProps:s,rootRef:c}=Qo({disabled:r,focusableWhenDisabled:!0}),d=Fo(i),f=fe(null),p=_e((()=>({disabled:r,label:n,value:t,ref:f,id:d})),[r,n,t,d]),{index:_}=function(e,t){const n=ve(Si);if(null===n)throw new Error("useCompoundItem must be used within a useCompoundParent");const{registerItem:r}=n,[o,i]=ae("function"==typeof e?void 0:e);return jo((()=>{const{id:n,deregister:o}=r(e,t);return i(n),o}),[r,t,e]),{id:o,index:void 0!==o?n.getItemIndex(o):-1,totalItemCount:n.totalSubitemCount}}(t,p),h=Mo(o,f,c),v=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||[" ","Enter"].includes(t.key)&&(t.defaultMuiPrevented=!0)},m=(e={})=>({onKeyDown:v(e)});return{getRootProps:(e={})=>{const t=Xo(e);return To({},e,t,Ci(l,Ci(s,m))(t),{id:d,ref:h,role:"option","aria-selected":a})},highlighted:u,index:_,selected:a,rootRef:h}}const Oi=De((function({title:e,titleId:t,...n},r){return b("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?b("title",{id:t},e):null,b("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))})),Di=e=>{const t=fe(!1),n=fe(!1),r=n=>{!t.current&&e&&setTimeout((()=>{e(n)}),10),t.current=!1},o=t=>{!n.current&&e&&setTimeout((()=>{e(t)}),10),n.current=!1};return ce((()=>(document.addEventListener("mousedown",r),document.addEventListener("focusin",o),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("focusin",o),document.removeEventListener("touchstart",r)})),[]),{onMouseDown:()=>t.current=!0,onFocus:()=>n.current=!0,onTouchStart:()=>t.current=!0}},Vi=Vo.span` border: 1px solid #b6b1a9; padding: 4px 8px; margin-right: 5px; border-radius: 4px; white-space: nowrap; -`,Mi=(e,t)=>{if(Array.isArray(e))return e.map((e=>Ni(Vi,{children:Mi(e,t)},e)));const n=t.find((t=>t.value===e));return n?n.label:null},Ti=Vo.li` +`,Ti=(e,t)=>{if(Array.isArray(e))return e.map((e=>Pi(Vi,{children:Ti(e,t)},e)));const n=t.find((t=>t.value===e));return n?n.label:null},Mi=Vo.li` cursor: pointer; overflow: hidden; margin: 0 !important; padding: 5px 10px !important; background: ${e=>e.disabled?"#f1f0ee":e.selected?"#b6b1a9":e.highlighted?"#d9d7d2":""}; color: ${e=>e.disabled?"#b6b1a9":"#000"}; - text-decoration: ${e=>e.highlighted?"underline":"none"};; + text-decoration: ${e=>e.highlighted?"underline":"none"}; &:hover { - background: ${e=>e.disabled?"#f1f0ee":e.selected||e.highlighted?"":"#d9d7d2"}; - color: ${e=>e.disabled?"#b6b1a9":e.selected?"":"#2e2d29"}; + background: ${e=>e.disabled?"#f1f0ee":e.selected||e.highlighted?"":"#dbdcde"}; + color: ${e=>e.disabled?"#b6b1a9":e.selected?"":"#000"}; text-decoration: ${e=>!e.disabled&&"underline"}; } &:before { display: none !important; } -`;function Li(e){const{children:t,value:n,rootRef:r,id:o,disabled:i=!1}=e,{getRootProps:l,highlighted:u,selected:a}=Ri({rootRef:r,value:n,disabled:i,label:t,id:o}),{...s}=l();return ce((()=>{var e;if(u&&o&&null!=r&&null!==(e=r.current)&&void 0!==e&&e.parentElement){const e=document.getElementById(o);if(e){const t=null==e?void 0:e.offsetTop,n=null==e?void 0:e.offsetHeight,o=r.current.parentElement.scrollTop,i=r.current.parentElement.offsetHeight;to+i&&(r.current.parentElement.scrollTop=t-i+n)}}}),[r,o]),Ni(Ti,{...s,id:o,selected:a,highlighted:u,disabled:i,children:t})}const $i=({options:e=[],label:t,multiple:n,ariaLabelledby:r,required:o,defaultValue:i,name:l,emptyValue:u,emptyLabel:a="- None -",...s})=>{const c=l,d=r??c,f=fe(null),p=fe(null),[_,h]=ae(!1),v=Di((()=>h(!1))),{getButtonProps:m,getListboxProps:g,contextValue:y,value:b}=Ei({listboxRef:p,listboxId:`${l}-preact-listbox`,onOpenChange:h,open:_,defaultValue:i,multiple:n,...s});ce((()=>{var e;_&&(null===(e=p.current)||void 0===e||e.focus())}),[_]),de((()=>{var e;const t=null===(e=p.current)||void 0===e||null===(e=e.parentElement)||void 0===e?void 0:e.getBoundingClientRect();var n;t&&(t.bottom>window.innerHeight||t.top<0)&&(null===(n=p.current)||void 0===n||null===(n=n.parentElement)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"}))}),[_,b]);const S=n&&b?b.length>0:!!b;return Ni("div",{...v,style:{position:"relative",width:"100%",minWidth:"250px"},children:[t&&Ni("div",{id:c,style:{marginBottom:"1.2rem",fontSize:"1.8rem",fontWeight:"600"},children:t}),Ni("button",{...m(),"aria-labelledby":d,style:{background:"#fff",color:"#000",width:"100%",border:s.disabled?"1px solid #ABABA9":"1px solid #000",borderRadius:"5px",textAlign:"left",minHeight:"40px"},children:Ni("span",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap"},children:[S&&Ni("span",{style:{overflow:"hidden",maxWidth:"calc(100% - 30px)",padding:"8px 5px 8px 0"},children:Mi(b,e)}),!S&&!n&&Ni("span",{style:{padding:"8px 5px 8px 0",color:"#4c4740"},children:a}),!S&&n&&Ni("span",{style:{padding:"8px 5px 8px 0",color:"#4c4740"},children:"Choose one or more options"}),Ni(Oi,{width:20,style:{flexShrink:"0",marginLeft:"auto",color:s.disabled?"#ABABA9":"#000"}})]})}),Ni("div",{style:{position:"absolute",zIndex:"10",background:"#fff",maxHeight:"300px",overflowY:"scroll",width:"100%",border:"1px solid #D5D5D4",boxShadow:"rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px",display:_?"block":"none"},children:Ni("ul",{...g(),"aria-hidden":!_,"aria-labelledby":d,style:{listStyle:"none",margin:0,padding:0},children:Ni(Ai,{value:y,children:[!o&&!n&&Ni(Li,{value:u??"",rootRef:p,id:`${l}-empty`,children:a}),e.map((e=>Ni(Li,{value:e.value,disabled:e.disabled,rootRef:p,id:`${l}-${e.value.replace(/\W+/g,"-")}`,children:e.label},e.value)))]})})}),l&&Ni("input",{ref:f,name:l,type:"hidden",value:b??""})]})},Fi=({focus:e=!1})=>{var t;const n=fe(),[r,o]=ae(null),[i,l]=ae("");ce((()=>{o(n.current.parentNode.querySelector("select")),l(n.current.parentNode.querySelector("label").textContent);const e=n.current.parentNode.querySelector("select");e.setAttribute("aria-hidden","true"),e.style.visibility="hidden",e.style.height="0",e.style.position="absolute";const t=n.current.parentNode.querySelector("label");t.style.visibility="hidden",t.style.height="0",t.style.position="absolute"}),[]);const u=r&&(e=>{const t=[],n=e.children;for(let e=0;e"All"!==e.value)),label:i,multiple:"multiple"===r.getAttribute("multiple"),onChange:(e,t)=>{if(!r.getAttribute("multiple"))return r.value=t;for(let e of r.children)t.includes(e.getAttribute("value"))?e.setAttribute("selected","selected"):e.removeAttribute("selected")},defaultValue:(()=>{let e=[];for(let t of null==r?void 0:r.children)if(t.getAttribute("selected")){if(!r.getAttribute("multiple"))return t.getAttribute("value");e.push(t.getAttribute("value"))}return e})(),emptyLabel:null===(t=u.find((e=>"All"===e.value)))||void 0===t?void 0:t.label})})};Drupal.behaviors.selectPreact={attach:function(e){let t="";try{t="."+e.getAttribute("class").replace(/ /g,".")}catch(e){}Ht("combobox-select-list",Fi).render({selector:`${t} .select-preact`,initialProps:{focus:t.indexOf("js-view-dom-id")>=0}})}}})(),r})())); \ No newline at end of file + + input[type='checkbox'] { + margin-right: 8px; + width: 16px; + height: 16px; + appearance: none; + background-color: #fff; + border: 1px solid #ccc; + border-radius: 2px; + position: relative; + cursor: pointer; + } + + input[type='checkbox']:checked { + background-color: #413e39; + border-color: #413e39; + } + + input[type='checkbox']:checked::before { + content: ''; + position: absolute; + top: 1px; + left: 4px; + width: 6px; + height: 10px; + border: solid #fff; + border-width: 0 2px 2px 0; + transform: rotate(45deg); + } + + /* Adjusting for disabled state */ + input[type='checkbox']:disabled { + background-color: #f1f0ee; + border-color: #b6b1a9; + } + + input[type='checkbox']:disabled:checked::before { + border-color: #b6b1a9; + } +`;function Li(e){const{children:t,value:n,rootRef:r,id:o,disabled:i=!1,multiple:l}=e,{getRootProps:u,highlighted:a,selected:s}=Ri({rootRef:r,value:n,disabled:i,label:t,id:o}),{...c}=u();return ce((()=>{var e;if(a&&o&&null!=r&&null!==(e=r.current)&&void 0!==e&&e.parentElement){const e=document.getElementById(o);if(e){const t=null==e?void 0:e.offsetTop,n=null==e?void 0:e.offsetHeight,o=r.current.parentElement.scrollTop,i=r.current.parentElement.offsetHeight;to+i&&(r.current.parentElement.scrollTop=t-i+n)}}}),[r,o]),Pi(Mi,{...c,id:o,selected:s,highlighted:a,disabled:i,children:[l&&Pi("input",{type:"checkbox",checked:s,readOnly:!0,disabled:i}),t]})}const $i=({options:e=[],label:t,multiple:n,ariaLabelledby:r,required:o,defaultValue:i,name:l,emptyValue:u,emptyLabel:a="- None -",...s})=>{const c=l,d=r??c,f=fe(null),p=fe(null),[_,h]=ae(!1),v=Di((e=>{setTimeout((()=>h(!1)),50)})),{getButtonProps:m,getListboxProps:g,contextValue:y,value:b}=Ei({listboxRef:p,listboxId:`${l}-preact-listbox`,onOpenChange:h,open:_,defaultValue:i,multiple:n,...s});ce((()=>{var e;!_&&b.length>0&&(_&&(null===(e=p.current)||void 0===e||e.focus()))}),[_,b]),de((()=>{var e;const t=null===(e=p.current)||void 0===e||null===(e=e.parentElement)||void 0===e?void 0:e.getBoundingClientRect();var n;t&&(t.bottom>window.innerHeight||t.top<0)&&(null===(n=p.current)||void 0===n||null===(n=n.parentElement)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"}))}),[_,b]);const S=n&&b?b.length>0:!!b;return Pi("div",{...v,style:{position:"relative",width:"100%",minWidth:"250px"},children:[t&&Pi("div",{id:c,style:{marginBottom:"1.2rem",fontSize:"1.8rem",fontWeight:"600"},children:t}),Pi("button",{...m(),"aria-labelledby":d,style:{background:"#fff",color:"#000",width:"100%",border:s.disabled?"1px solid #ABABA9":"1px solid #000",borderRadius:"5px",textAlign:"left",minHeight:"40px"},children:Pi("span",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap"},children:[S&&Pi("span",{style:{overflow:"hidden",maxWidth:"calc(100% - 30px)",padding:"8px 5px 8px 0"},children:n?(null==b?void 0:b.length)==e.length?"All selected":`${null==b?void 0:b.length} selected`:Ti(b,e)}),!S&&!n&&Pi("span",{style:{padding:"8px 5px 8px 0",color:"#4c4740"},children:a}),!S&&n&&Pi("span",{style:{padding:"8px 5px 8px 0",color:"#4c4740"},children:"Choose one or more options"}),Pi(Oi,{width:20,style:{flexShrink:"0",marginLeft:"auto",color:s.disabled?"#ABABA9":"#000"}})]})}),Pi("div",{style:{position:"absolute",zIndex:"10",background:"#fff",maxHeight:"125px",overflowY:"scroll",width:"100%",border:"1px solid #D5D5D4",boxShadow:"rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px",display:_?"block":"none"},children:Pi("ul",{...g(),"aria-hidden":!_,"aria-labelledby":d,style:{listStyle:"none",margin:0,padding:0},children:Pi(Ni,{value:y,children:[!o&&!n&&Pi(Li,{value:u??"",rootRef:p,id:`${l}-empty`,children:a}),e.map((e=>Pi(Li,{value:e.value,disabled:e.disabled,rootRef:p,id:`${l}-${e.value.replace(/\W+/g,"-")}`,multiple:n,children:e.label},e.value)))]})})}),l&&Pi("input",{ref:f,name:l,type:"hidden",value:b??""})]})},Fi=({})=>{var e;const t=fe(),[n,r]=ae(null),[o,i]=ae(""),[l,u]=ae([]);ce((()=>{r(t.current.parentNode.querySelector("select")),i(t.current.parentNode.querySelector("label").textContent);const e=t.current.parentNode.querySelector("select");e.setAttribute("aria-hidden","true"),e.style.visibility="hidden",e.style.height="0",e.style.position="absolute";const n=t.current.parentNode.querySelector("label");if(n.style.visibility="hidden",n.style.height="0",n.style.position="absolute",null!=e&&e.getAttribute("multiple")){const t=Array.from(e.children).map((e=>e.getAttribute("value"))),n=Array.from(e.children).filter((e=>"selected"===e.getAttribute("selected"))).map((e=>e.getAttribute("value")));n.length===t.length&&n.push("All"),u(n)}}),[]),ce((()=>{n&&Array.from(n.children).forEach((e=>{l.includes(e.getAttribute("value"))?e.setAttribute("selected","selected"):e.removeAttribute("selected")}))}),[l]);const a=n&&(e=>{const t=[];null!=e&&e.getAttribute("multiple")&&t.push({value:"All",label:"All",disabled:!1});const n=e.children;for(let e=0;e"All"!==e.value)),label:o,multiple:"multiple"===n.getAttribute("multiple"),onChange:(e,t)=>{if(!n.getAttribute("multiple"))return void(n.value=t);const r=Array.from(n.children).map((e=>e.getAttribute("value")));if(t.includes("All"))if(l.includes("All")){const e=t.filter((e=>"All"!==e));u(e)}else u([...r,"All"]);else l.includes("All")&&t.length===r.length?u([]):t.length===r.length?u([...r,"All"]):u(t)},defaultValue:(()=>{let e=[];for(let t of null==n?void 0:n.children)if(t.getAttribute("selected")){if(!n.getAttribute("multiple"))return t.getAttribute("value");e.push(t.getAttribute("value"))}return e})(),value:"multiple"===n.getAttribute("multiple")?l:void 0,emptyLabel:null===(e=a.find((e=>"All"===e.value)))||void 0===e?void 0:e.label})})};Drupal.behaviors.selectPreact={attach:function(e){let t="";try{t="."+e.getAttribute("class").replace(/ /g,".")}catch(e){}Ht("combobox-select-list",Fi).render({selector:`${t} .select-preact`,initialProps:{focus:t.indexOf("js-view-dom-id")>=0}})}}})(),r})())); \ No newline at end of file diff --git a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list-filters.island.tsx b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list-filters.island.tsx index edec038cf..569b5994b 100644 --- a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list-filters.island.tsx +++ b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list-filters.island.tsx @@ -1,11 +1,12 @@ -import {createIslandWebComponent} from 'preact-island' -import SelectList from "./select-list"; -import {useEffect, useRef, useState} from "preact/compat"; +import { createIslandWebComponent } from 'preact-island'; +import SelectList from './select-list'; +import { useEffect, useRef, useState } from 'preact/compat'; -const FilterIsland = ({focus = false}) => { +const FilterIsland = ({}) => { const ref = useRef(); const [originalSelect, setOriginalSelect] = useState(null); const [label, setLabel] = useState(''); + const [selectedValues, setSelectedValues] = useState([]); useEffect(() => { setOriginalSelect(ref.current.parentNode.querySelector('select')); @@ -15,94 +16,161 @@ const FilterIsland = ({focus = false}) => { // sometimes after ajax. const origSelect = ref.current.parentNode.querySelector('select'); origSelect.setAttribute('aria-hidden', 'true'); - origSelect.style.visibility = 'hidden' - origSelect.style.height = '0' - origSelect.style.position = 'absolute' + origSelect.style.visibility = 'hidden'; + origSelect.style.height = '0'; + origSelect.style.position = 'absolute'; const origLabel = ref.current.parentNode.querySelector('label'); - origLabel.style.visibility = 'hidden' - origLabel.style.height = '0' - origLabel.style.position = 'absolute' - }, []) + origLabel.style.visibility = 'hidden'; + origLabel.style.height = '0'; + origLabel.style.position = 'absolute'; + + if (origSelect?.getAttribute('multiple')) { + const allValues = Array.from(origSelect.children).map((option) => + option.getAttribute('value'), + ); + const selectedOptions = Array.from(origSelect.children) + .filter((option) => option.getAttribute('selected') === 'selected') + .map((option) => option.getAttribute('value')); + + if (selectedOptions.length === allValues.length) { + selectedOptions.push('All'); + } + + setSelectedValues(selectedOptions); + } + }, []); + + useEffect(() => { + if (originalSelect) { + Array.from(originalSelect.children).forEach((option) => { + if (selectedValues.includes(option.getAttribute('value'))) { + option.setAttribute('selected', 'selected'); + } else { + option.removeAttribute('selected'); + } + }); + } + }, [selectedValues]); const getSelectOptions = (selectElement) => { const options = []; + if (selectElement?.getAttribute('multiple')) { + // Add "All" as the first option + options.push({ value: 'All', label: 'All', disabled: false }); + } + const optionElements = selectElement.children; for (let i = 0; i < optionElements.length; i++) { const option = optionElements[i]; - const value = option.getAttribute('value') + const value = option.getAttribute('value'); const label = option.textContent; - options.push({value, label, disabled: option.getAttribute('disabled') === 'disabled'}); + options.push({ + value, + label, + disabled: option.getAttribute('disabled') === 'disabled', + }); } - return options; - } - - const onSelectChange = (e, value) => { - if (!originalSelect.getAttribute('multiple')) return originalSelect.value = value; - for (let option of originalSelect.children) { - if (value.includes(option.getAttribute('value'))) { - option.setAttribute('selected', 'selected') - } else { - option.removeAttribute('selected'); - } - } - } + return options; + }; const getDefaultValue = () => { let defaultValue = []; for (let option of originalSelect?.children) { if (option.getAttribute('selected')) { - if (!originalSelect.getAttribute('multiple')) return option.getAttribute('value'); + if (!originalSelect.getAttribute('multiple')) + return option.getAttribute('value'); - defaultValue.push(option.getAttribute('value')) + defaultValue.push(option.getAttribute('value')); } } return defaultValue; - } + }; const selectOptions = originalSelect && getSelectOptions(originalSelect); + const onSelectChange = (e, value) => { + if (!originalSelect.getAttribute('multiple')) { + originalSelect.value = value; + return; + } + + const allValues = Array.from(originalSelect.children).map((option) => + option.getAttribute('value'), + ); + + // Handle "All" selection logic + if (value.includes('All')) { + if (selectedValues.includes('All')) { + const valueWithoutAll = value.filter((v) => v !== 'All'); + setSelectedValues(valueWithoutAll); + } else { + setSelectedValues([...allValues, 'All']); + } + } else { + if (selectedValues.includes('All') && value.length === allValues.length) { + setSelectedValues([]); + } else if (value.length === allValues.length) { + setSelectedValues([...allValues, 'All']); + } else { + setSelectedValues(value); + } + } + }; + + return (
- {originalSelect && + {originalSelect && ( item.value !== 'All')} + options={ + originalSelect?.getAttribute('multiple') + ? selectOptions + : selectOptions?.filter((item) => item.value !== 'All') + } label={label} multiple={originalSelect.getAttribute('multiple') === 'multiple'} onChange={onSelectChange} defaultValue={getDefaultValue()} - emptyLabel={selectOptions.find(item => item.value === 'All')?.label} + value={ + originalSelect.getAttribute('multiple') === 'multiple' + ? selectedValues + : undefined + } + emptyLabel={selectOptions.find((item) => item.value === 'All')?.label} /> - } + )}
- ) -} + ); +}; if (process.env.NODE_ENV === 'development') { - const island = createIslandWebComponent('combobox-select-list', FilterIsland) + const island = createIslandWebComponent('combobox-select-list', FilterIsland); island.render({ selector: `.select-preact`, - }) + }); } else { (function () { Drupal.behaviors.selectPreact = { attach: function (context) { - let contextClass = '' + let contextClass = ''; try { contextClass = '.' + context.getAttribute('class').replace(/ /g, '.'); - } catch (e) { - } + } catch (e) {} - const island = createIslandWebComponent('combobox-select-list', FilterIsland) + const island = createIslandWebComponent( + 'combobox-select-list', + FilterIsland, + ); island.render({ selector: `${contextClass} .select-preact`, - initialProps: {focus: contextClass.indexOf('js-view-dom-id') >= 0} - }) - } + initialProps: { focus: contextClass.indexOf('js-view-dom-id') >= 0 }, + }); + }, }; })(); } diff --git a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list.tsx b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list.tsx index e97091070..eac8ffa8e 100644 --- a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list.tsx +++ b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list.tsx @@ -1,15 +1,29 @@ -import styled from "styled-components"; -import {useSelect, SelectOptionDefinition, SelectProvider, SelectValue} from '@mui/base/useSelect'; -import {useOption} from '@mui/base/useOption'; -import {ChevronDownIcon} from "@heroicons/react/20/solid"; -import {useEffect, useState, useId, useRef, useLayoutEffect, RefObject, ReactNode} from "preact/compat"; -import useOutsideClick from "./use-outside-click"; +import styled from 'styled-components'; +import { + useSelect, + SelectOptionDefinition, + SelectProvider, + SelectValue, +} from '@mui/base/useSelect'; +import { useOption } from '@mui/base/useOption'; +import { ChevronDownIcon } from '@heroicons/react/20/solid'; +import { + useEffect, + useState, + useId, + useRef, + useLayoutEffect, + RefObject, + ReactNode, +} from 'preact/compat'; +import useOutsideClick from './use-outside-click'; interface OptionProps { - rootRef: RefObject + rootRef: RefObject; children?: ReactNode; value: string; disabled?: boolean; + multiple?: boolean; } const SelectedItem = styled.span` @@ -18,54 +32,110 @@ const SelectedItem = styled.span` margin-right: 5px; border-radius: 4px; white-space: nowrap; -` - -const renderSelectedValue = (value: SelectValue, options: SelectOptionDefinition[]) => { +`; +const renderSelectedValue = ( + value: SelectValue, + options: SelectOptionDefinition[], +) => { if (Array.isArray(value)) { - return value.map(item => - + return value.map((item) => ( + {renderSelectedValue(item, options)} - ); + )); } const selectedOption = options.find((option) => option.value === value); return selectedOption ? selectedOption.label : null; -} +}; -const StyledOption = styled.li<{ selected: boolean, highlighted: boolean, disabled: boolean }>` +const StyledOption = styled.li<{ + selected: boolean; + highlighted: boolean; + disabled: boolean; +}>` cursor: pointer; overflow: hidden; margin: 0 !important; padding: 5px 10px !important; - background: ${props => props.disabled ? "#f1f0ee": props.selected ? "#b6b1a9" : props.highlighted ? "#d9d7d2" : ""}; - color: ${props => props.disabled? "#b6b1a9":"#000"}; - text-decoration: ${props => props.highlighted ? "underline" : "none"};; + background: ${(props) => + props.disabled + ? '#f1f0ee' + : props.selected + ? '#b6b1a9' + : props.highlighted + ? '#d9d7d2' + : ''}; + color: ${(props) => (props.disabled ? '#b6b1a9' : '#000')}; + text-decoration: ${(props) => (props.highlighted ? 'underline' : 'none')}; &:hover { - background: ${props => props.disabled ? "#f1f0ee" : (props.selected || props.highlighted ? "" : "#d9d7d2")}; - color: ${props => props.disabled ? "#b6b1a9" : props.selected ? "" : "#2e2d29"}; - text-decoration: ${props => !props.disabled && "underline"}; + background: ${(props) => + props.disabled + ? '#f1f0ee' + : props.selected || props.highlighted + ? '' + : '#dbdcde'}; + color: ${(props) => + props.disabled ? '#b6b1a9' : props.selected ? '' : '#000'}; + text-decoration: ${(props) => !props.disabled && 'underline'}; } &:before { display: none !important; } -` + + input[type='checkbox'] { + margin-right: 8px; + width: 16px; + height: 16px; + appearance: none; + background-color: #fff; + border: 1px solid #ccc; + border-radius: 2px; + position: relative; + cursor: pointer; + } + + input[type='checkbox']:checked { + background-color: #413e39; + border-color: #413e39; + } + + input[type='checkbox']:checked::before { + content: ''; + position: absolute; + top: 1px; + left: 4px; + width: 6px; + height: 10px; + border: solid #fff; + border-width: 0 2px 2px 0; + transform: rotate(45deg); + } + + /* Adjusting for disabled state */ + input[type='checkbox']:disabled { + background-color: #f1f0ee; + border-color: #b6b1a9; + } + + input[type='checkbox']:disabled:checked::before { + border-color: #b6b1a9; + } +`; function CustomOption(props: OptionProps) { - const {children, value, rootRef, id, disabled = false} = props; - const {getRootProps, highlighted, selected} = useOption({ + const { children, value, rootRef, id, disabled = false, multiple } = props; + const { getRootProps, highlighted, selected } = useOption({ rootRef: rootRef, value, disabled, label: children, - id + id, }); - const {...otherProps}: { id: string } = getRootProps(); + const { ...otherProps }: { id: string } = getRootProps(); useEffect(() => { if (highlighted && id && rootRef?.current?.parentElement) { @@ -73,19 +143,20 @@ function CustomOption(props: OptionProps) { if (item) { const itemTop = item?.offsetTop; const itemHeight = item?.offsetHeight; - const parentScrollTop = rootRef.current.parentElement.scrollTop + const parentScrollTop = rootRef.current.parentElement.scrollTop; const parentHeight = rootRef.current.parentElement.offsetHeight; if (itemTop < parentScrollTop) { rootRef.current.parentElement.scrollTop = itemTop; } - if ((itemTop + itemHeight) > parentScrollTop + parentHeight) { - rootRef.current.parentElement.scrollTop = itemTop - parentHeight + itemHeight; + if (itemTop + itemHeight > parentScrollTop + parentHeight) { + rootRef.current.parentElement.scrollTop = + itemTop - parentHeight + itemHeight; } } } - }, [rootRef, id]) + }, [rootRef, id]); return ( + {/* Checkbox Element if multiple */} + {multiple && ( + + )} {children} ); @@ -102,122 +182,171 @@ function CustomOption(props: OptionProps) { interface Props { options: SelectOptionDefinition[]; - label?: string - ariaLabelledby?: string - defaultValue?: SelectValue - onChange?: (event: MouseEvent | KeyboardEvent | FocusEvent | null, value: SelectValue) => void; - multiple?: boolean - disabled?: boolean - value?: SelectValue - required?: boolean - emptyValue?: string - emptyLabel?: string - name: string + label?: string; + ariaLabelledby?: string; + defaultValue?: SelectValue; + onChange?: ( + event: MouseEvent | KeyboardEvent | FocusEvent | null, + value: SelectValue, + ) => void; + multiple?: boolean; + disabled?: boolean; + value?: SelectValue; + required?: boolean; + emptyValue?: string; + emptyLabel?: string; + name: string; } -const SelectList = ({options = [], label, multiple, ariaLabelledby, required, defaultValue, name, emptyValue, emptyLabel = "- None -", ...props}: Props) => { +const SelectList = ({ + options = [], + label, + multiple, + ariaLabelledby, + required, + defaultValue, + name, + emptyValue, + emptyLabel = '- None -', + ...props +}: Props) => { const labelId = name; const labeledBy = ariaLabelledby ?? labelId; const inputRef = useRef(null); const listboxRef = useRef(null); const [listboxVisible, setListboxVisible] = useState(false); - const containerProps = useOutsideClick(() => setListboxVisible(false)) + const containerProps = useOutsideClick((event) => { + setTimeout(() => setListboxVisible(false), 50); // Short delay to let state settle + }); - const {getButtonProps, getListboxProps, contextValue, value} = useSelect({ + const { getButtonProps, getListboxProps, contextValue, value } = useSelect< + string, + boolean + >({ listboxRef, listboxId: `${name}-preact-listbox`, onOpenChange: setListboxVisible, open: listboxVisible, defaultValue, multiple, - ...props + ...props, }); useEffect(() => { - listboxVisible && listboxRef.current?.focus(); - }, [listboxVisible]); + if (!listboxVisible && value.length > 0) { + listboxVisible && listboxRef.current?.focus(); + } + }, [listboxVisible, value]); useLayoutEffect(() => { - const parentContainer = listboxRef.current?.parentElement?.getBoundingClientRect(); - if (parentContainer && (parentContainer.bottom > window.innerHeight || parentContainer.top < 0)) { - listboxRef.current?.parentElement?.scrollIntoView({behavior: "smooth", block: "end", inline: "nearest"}); + const parentContainer = + listboxRef.current?.parentElement?.getBoundingClientRect(); + if ( + parentContainer && + (parentContainer.bottom > window.innerHeight || parentContainer.top < 0) + ) { + listboxRef.current?.parentElement?.scrollIntoView({ + behavior: 'smooth', + block: 'end', + inline: 'nearest', + }); } - }, [listboxVisible, value]) + }, [listboxVisible, value]); - const optionChosen = (multiple && value) ? value.length > 0 : !!value; + const optionChosen = multiple && value ? value.length > 0 : !!value; return (
- {label && + {label && (
{label}
- } + )}
    - {(!required && !multiple) && - + {!required && !multiple && ( + {emptyLabel} - } + )} - {options.map(option => { + {options.map((option) => { return ( - + {option.label} ); @@ -247,12 +387,11 @@ const SelectList = ({options = [], label, multiple, ariaLabelledby, required, de
- {name && - - } + {name && ( + + )}
); -} - +}; export default SelectList; diff --git a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/use-outside-click.tsx b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/use-outside-click.tsx index b676aba17..5ddfe7f19 100644 --- a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/use-outside-click.tsx +++ b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/use-outside-click.tsx @@ -7,14 +7,18 @@ const useOutsideClick = (onClickOutside: (e: Event) => void) => { const documentClick = (event: Event) => { if (!clickCaptured.current && onClickOutside) { - onClickOutside(event); + setTimeout(() => { + onClickOutside(event); + }, 10); } clickCaptured.current = false; } const documentFocus = (event: Event) => { if (!focusCaptured.current && onClickOutside) { - onClickOutside(event); + setTimeout(() => { + onClickOutside(event); + }, 10); } focusCaptured.current = false; } From 4f8ce4d4adaba55a1070150ae66edc0bdfd9c680 Mon Sep 17 00:00:00 2001 From: Marc Berger <107938318+codechefmarc@users.noreply.github.com> Date: Wed, 4 Sep 2024 12:09:26 -0700 Subject: [PATCH 04/11] fix(SHS-5792): Auto full name correctly works after person save (#1611) fix(SHS-5792): Auto full name correctly works after person save. --- config/default/auto_entitylabel.settings.node.hs_person.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/default/auto_entitylabel.settings.node.hs_person.yml b/config/default/auto_entitylabel.settings.node.hs_person.yml index 7e04c97df..a6b4efc8c 100644 --- a/config/default/auto_entitylabel.settings.node.hs_person.yml +++ b/config/default/auto_entitylabel.settings.node.hs_person.yml @@ -2,8 +2,12 @@ _core: default_config_hash: b2jiaR58rJ-PS422CdCpuf7ju4fDDk7ALAM1245N7gk status: 2 pattern: '[node:field_hs_person_first_name] [node:field_hs_person_middle_name] [node:field_hs_person_last_name]' +escape: false +preserve_titles: false +save: false +chunk: 50 dependencies: config: - node.type.hs_person -new_content_behavior: 1 +new_content_behavior: 0 php: false From 391e587d3a6807c874d91f8eb645761b150ae153 Mon Sep 17 00:00:00 2001 From: CircleCI Date: Thu, 5 Sep 2024 14:08:52 +0000 Subject: [PATCH 05/11] Updated dependencies --- composer.lock | 376 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 223 insertions(+), 153 deletions(-) diff --git a/composer.lock b/composer.lock index 5bf159e90..d4c6232a8 100644 --- a/composer.lock +++ b/composer.lock @@ -2417,7 +2417,7 @@ ], "authors": [ { - "name": "AjitS", + "name": "ajits", "homepage": "https://www.drupal.org/user/981944" }, { @@ -2460,6 +2460,10 @@ "name": "prabeen.giri", "homepage": "https://www.drupal.org/user/913078" }, + { + "name": "scott_earnest", + "homepage": "https://www.drupal.org/user/416158" + }, { "name": "str8", "homepage": "https://www.drupal.org/user/2865063" @@ -2827,6 +2831,54 @@ "issues": "https://www.drupal.org/project/issues/block_content_permissions" } }, + { + "name": "drupal/book", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/book.git", + "reference": "1.0.0" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/book-1.0.0.zip", + "reference": "1.0.0", + "shasum": "8838e4a314e54dff2bc34a0ae4f0a85ac03b6fb8" + }, + "require": { + "drupal/core": ">=10.0" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "1.0.0", + "datestamp": "1712238320", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "pwolanin", + "homepage": "https://www.drupal.org/user/49851" + }, + { + "name": "smustgrave", + "homepage": "https://www.drupal.org/user/3252890" + } + ], + "description": "Allows users to create and organize related content in an outline.", + "homepage": "https://www.drupal.org/project/book", + "support": { + "source": "https://git.drupalcode.org/project/book" + } + }, { "name": "drupal/cancel_button", "version": "1.4.0", @@ -2885,17 +2937,17 @@ }, { "name": "drupal/chosen", - "version": "4.0.1", + "version": "4.0.3", "source": { "type": "git", "url": "https://git.drupalcode.org/project/chosen.git", - "reference": "4.0.1" + "reference": "4.0.3" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/chosen-4.0.1.zip", - "reference": "4.0.1", - "shasum": "03ec154a6e2994873efc57d974cb535dd3bf9629" + "url": "https://ftp.drupal.org/files/projects/chosen-4.0.3.zip", + "reference": "4.0.3", + "shasum": "72a4090b4b21ff7341d1f2e05866b25feede3188" }, "require": { "drupal/chosen_lib": "*", @@ -2904,8 +2956,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "4.0.1", - "datestamp": "1715856677", + "version": "4.0.3", + "datestamp": "1725307446", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -2930,7 +2982,7 @@ "homepage": "https://www.drupal.org/user/53892" }, { - "name": "Hydra", + "name": "hydra", "homepage": "https://www.drupal.org/user/647364" }, { @@ -2962,7 +3014,7 @@ }, { "name": "drupal/chosen_lib", - "version": "4.0.1", + "version": "4.0.3", "require": { "drupal/chosen": "^4", "drupal/core": "^9.2 || ^10 || ^11" @@ -2970,8 +3022,8 @@ "type": "metapackage", "extra": { "drupal": { - "version": "4.0.1", - "datestamp": "1715856677", + "version": "4.0.3", + "datestamp": "1725307446", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -2996,7 +3048,7 @@ "homepage": "https://www.drupal.org/user/53892" }, { - "name": "Hydra", + "name": "hydra", "homepage": "https://www.drupal.org/user/647364" }, { @@ -4046,16 +4098,16 @@ }, { "name": "drupal/core-composer-scaffold", - "version": "10.3.2", + "version": "10.3.3", "source": { "type": "git", "url": "https://github.com/drupal/core-composer-scaffold.git", - "reference": "a1a186caeb89899143e0c6912ccee9d3d7181dbe" + "reference": "f58ab5c0d02d275c5aa226c4505b457e41b161cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/a1a186caeb89899143e0c6912ccee9d3d7181dbe", - "reference": "a1a186caeb89899143e0c6912ccee9d3d7181dbe", + "url": "https://api.github.com/repos/drupal/core-composer-scaffold/zipball/f58ab5c0d02d275c5aa226c4505b457e41b161cc", + "reference": "f58ab5c0d02d275c5aa226c4505b457e41b161cc", "shasum": "" }, "require": { @@ -4090,9 +4142,9 @@ "drupal" ], "support": { - "source": "https://github.com/drupal/core-composer-scaffold/tree/10.3.2" + "source": "https://github.com/drupal/core-composer-scaffold/tree/10.3.3" }, - "time": "2024-05-11T08:21:39+00:00" + "time": "2024-08-22T14:31:34+00:00" }, { "name": "drupal/core-recommended", @@ -7624,27 +7676,27 @@ }, { "name": "drupal/layout_builder_component_attributes", - "version": "2.1.3", + "version": "2.2.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/layout_builder_component_attributes.git", - "reference": "2.1.3" + "reference": "2.2.0" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/layout_builder_component_attributes-2.1.3.zip", - "reference": "2.1.3", - "shasum": "7c02269105a2bc0485d474ecfefaa4bd1c5cabca" + "url": "https://ftp.drupal.org/files/projects/layout_builder_component_attributes-2.2.0.zip", + "reference": "2.2.0", + "shasum": "a43241bb6a56d927f75ac2fc901d1aebcd4cca01" }, "require": { - "drupal/core": "^9.0|^10.0", + "drupal/core": "^10.0|^11.0", "neilime/php-css-lint": "^2.0|^3.0" }, "type": "drupal-module", "extra": { "drupal": { - "version": "2.1.3", - "datestamp": "1695059373", + "version": "2.2.0", + "datestamp": "1724946488", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -7657,7 +7709,7 @@ ], "authors": [ { - "name": "Chris Burge", + "name": "chris burge", "homepage": "https://www.drupal.org/user/1826152" } ], @@ -9887,6 +9939,12 @@ "url": "https://git.drupalcode.org/project/rat.git", "reference": "28202b02262a39ac8dbbfd43696b67c0c8c46b71" }, + "dist": { + "type": "zip", + "url": "https://git.drupalcode.org/api/v4/projects/project%2Frat/repository/archive.zip?sha=28202b02262a39ac8dbbfd43696b67c0c8c46b71", + "reference": "28202b02262a39ac8dbbfd43696b67c0c8c46b71", + "shasum": "" + }, "require": { "php": "^7.4 || ^8.0" }, @@ -9910,7 +9968,10 @@ "email": "merlin@geeks4change.net" } ], - "time": "2023-07-19T20:22:22+00:00" + "support": { + "source": "https://git.drupalcode.org/project/rat/-/tree/1.0.0" + }, + "time": "2023-07-19T22:22:22+00:00" }, { "name": "drupal/readonly_field_widget", @@ -11731,6 +11792,10 @@ { "name": "grevil", "homepage": "https://www.drupal.org/user/3668491" + }, + { + "name": "joseph.olstad", + "homepage": "https://www.drupal.org/user/1321830" } ], "description": "Allows bulk edition of entity field values.", @@ -15668,22 +15733,26 @@ }, { "name": "su-sws/stanford_fields", - "version": "8.2.7", + "version": "8.3.0", "source": { "type": "git", "url": "https://github.com/SU-SWS/stanford_fields.git", - "reference": "87ba04a73832529572648ff641b1ee5878257956" + "reference": "373f96e4c06063a587c6b8494d10130db50b1da1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SU-SWS/stanford_fields/zipball/87ba04a73832529572648ff641b1ee5878257956", - "reference": "87ba04a73832529572648ff641b1ee5878257956", + "url": "https://api.github.com/repos/SU-SWS/stanford_fields/zipball/373f96e4c06063a587c6b8494d10130db50b1da1", + "reference": "373f96e4c06063a587c6b8494d10130db50b1da1", "shasum": "" }, "require": { - "drupal/core": "^9 || ^10 || ^11", + "drupal/book": "^1.0", + "drupal/core": "^10.2 || ^11", "drupal/ds": "~3.3 || ^5.0@alpha" }, + "require-dev": { + "drupal/cshs": "^4.0" + }, "type": "drupal-custom-module", "notification-url": "https://packagist.org/downloads/", "license": [ @@ -15693,9 +15762,9 @@ "homepage": "https://github.com/SU-SWS/stanford_fields", "support": { "issues": "https://github.com/SU-SWS/stanford_fields/issues", - "source": "https://github.com/SU-SWS/stanford_fields/tree/8.2.7" + "source": "https://github.com/SU-SWS/stanford_fields/tree/8.3.0" }, - "time": "2024-06-26T17:53:08+00:00" + "time": "2024-09-04T17:29:03+00:00" }, { "name": "su-sws/stanford_media", @@ -15920,16 +15989,16 @@ }, { "name": "symfony/console", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "504974cbe43d05f83b201d6498c206f16fc0cdbc" + "reference": "42686880adaacdad1835ee8fc2a9ec5b7bd63998" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/504974cbe43d05f83b201d6498c206f16fc0cdbc", - "reference": "504974cbe43d05f83b201d6498c206f16fc0cdbc", + "url": "https://api.github.com/repos/symfony/console/zipball/42686880adaacdad1835ee8fc2a9ec5b7bd63998", + "reference": "42686880adaacdad1835ee8fc2a9ec5b7bd63998", "shasum": "" }, "require": { @@ -15994,7 +16063,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.10" + "source": "https://github.com/symfony/console/tree/v6.4.11" }, "funding": [ { @@ -16010,20 +16079,20 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:30:32+00:00" + "time": "2024-08-15T22:48:29+00:00" }, { "name": "symfony/dependency-injection", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "5caf9c5f6085f13b27d70a236b776c07e4a1c3eb" + "reference": "e93c8368dc9915c2fe12018ff22fcbbdd32c9a9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/5caf9c5f6085f13b27d70a236b776c07e4a1c3eb", - "reference": "5caf9c5f6085f13b27d70a236b776c07e4a1c3eb", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/e93c8368dc9915c2fe12018ff22fcbbdd32c9a9e", + "reference": "e93c8368dc9915c2fe12018ff22fcbbdd32c9a9e", "shasum": "" }, "require": { @@ -16075,7 +16144,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v6.4.10" + "source": "https://github.com/symfony/dependency-injection/tree/v6.4.11" }, "funding": [ { @@ -16091,7 +16160,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T07:32:07+00:00" + "time": "2024-08-29T08:15:38+00:00" }, { "name": "symfony/deprecation-contracts", @@ -16459,16 +16528,16 @@ }, { "name": "symfony/finder", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "af29198d87112bebdd397bd7735fbd115997824c" + "reference": "d7eb6daf8cd7e9ac4976e9576b32042ef7253453" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/af29198d87112bebdd397bd7735fbd115997824c", - "reference": "af29198d87112bebdd397bd7735fbd115997824c", + "url": "https://api.github.com/repos/symfony/finder/zipball/d7eb6daf8cd7e9ac4976e9576b32042ef7253453", + "reference": "d7eb6daf8cd7e9ac4976e9576b32042ef7253453", "shasum": "" }, "require": { @@ -16503,7 +16572,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.4.10" + "source": "https://github.com/symfony/finder/tree/v6.4.11" }, "funding": [ { @@ -16519,7 +16588,7 @@ "type": "tidelift" } ], - "time": "2024-07-24T07:06:38+00:00" + "time": "2024-08-13T14:27:37+00:00" }, { "name": "symfony/http-foundation", @@ -16600,16 +16669,16 @@ }, { "name": "symfony/http-kernel", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "147e0daf618d7575b5007055340d09aece5cf068" + "reference": "1ba6b89d781cb47448155cc70dd2e0f1b0584c79" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/147e0daf618d7575b5007055340d09aece5cf068", - "reference": "147e0daf618d7575b5007055340d09aece5cf068", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1ba6b89d781cb47448155cc70dd2e0f1b0584c79", + "reference": "1ba6b89d781cb47448155cc70dd2e0f1b0584c79", "shasum": "" }, "require": { @@ -16694,7 +16763,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.4.10" + "source": "https://github.com/symfony/http-kernel/tree/v6.4.11" }, "funding": [ { @@ -16710,7 +16779,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T14:52:04+00:00" + "time": "2024-08-30T16:57:20+00:00" }, { "name": "symfony/mailer", @@ -16794,16 +16863,16 @@ }, { "name": "symfony/mime", - "version": "v6.4.9", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "7d048964877324debdcb4e0549becfa064a20d43" + "reference": "dba5d5f6073baf7a3576b580cc4a208b4ca00553" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/7d048964877324debdcb4e0549becfa064a20d43", - "reference": "7d048964877324debdcb4e0549becfa064a20d43", + "url": "https://api.github.com/repos/symfony/mime/zipball/dba5d5f6073baf7a3576b580cc4a208b4ca00553", + "reference": "dba5d5f6073baf7a3576b580cc4a208b4ca00553", "shasum": "" }, "require": { @@ -16859,7 +16928,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.4.9" + "source": "https://github.com/symfony/mime/tree/v6.4.11" }, "funding": [ { @@ -16875,7 +16944,7 @@ "type": "tidelift" } ], - "time": "2024-06-28T09:49:33+00:00" + "time": "2024-08-13T12:15:02+00:00" }, { "name": "symfony/polyfill-ctype", @@ -17749,16 +17818,16 @@ }, { "name": "symfony/psr-http-message-bridge", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/psr-http-message-bridge.git", - "reference": "89a24648d73e4eee30893b0da16abc454a65c53b" + "reference": "74835ba54eca99a38f374f7a6d932fa510124773" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/89a24648d73e4eee30893b0da16abc454a65c53b", - "reference": "89a24648d73e4eee30893b0da16abc454a65c53b", + "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/74835ba54eca99a38f374f7a6d932fa510124773", + "reference": "74835ba54eca99a38f374f7a6d932fa510124773", "shasum": "" }, "require": { @@ -17812,7 +17881,7 @@ "psr-7" ], "support": { - "source": "https://github.com/symfony/psr-http-message-bridge/tree/v6.4.10" + "source": "https://github.com/symfony/psr-http-message-bridge/tree/v6.4.11" }, "funding": [ { @@ -17828,20 +17897,20 @@ "type": "tidelift" } ], - "time": "2024-07-15T09:36:38+00:00" + "time": "2024-08-14T13:55:58+00:00" }, { "name": "symfony/routing", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "aad19fe10753ba842f0d653a8db819c4b3affa87" + "reference": "8ee0c24c1bf61c263a26f1b9b6d19e83b1121f2a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/aad19fe10753ba842f0d653a8db819c4b3affa87", - "reference": "aad19fe10753ba842f0d653a8db819c4b3affa87", + "url": "https://api.github.com/repos/symfony/routing/zipball/8ee0c24c1bf61c263a26f1b9b6d19e83b1121f2a", + "reference": "8ee0c24c1bf61c263a26f1b9b6d19e83b1121f2a", "shasum": "" }, "require": { @@ -17895,7 +17964,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.4.10" + "source": "https://github.com/symfony/routing/tree/v6.4.11" }, "funding": [ { @@ -17911,20 +17980,20 @@ "type": "tidelift" } ], - "time": "2024-07-15T09:26:24+00:00" + "time": "2024-08-29T08:15:38+00:00" }, { "name": "symfony/serializer", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "9a67fcf320561e96f94d62bbe0e169ac534a5718" + "reference": "a75d03d7720417f8a654e73e8f02acdea8779cd0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/9a67fcf320561e96f94d62bbe0e169ac534a5718", - "reference": "9a67fcf320561e96f94d62bbe0e169ac534a5718", + "url": "https://api.github.com/repos/symfony/serializer/zipball/a75d03d7720417f8a654e73e8f02acdea8779cd0", + "reference": "a75d03d7720417f8a654e73e8f02acdea8779cd0", "shasum": "" }, "require": { @@ -17993,7 +18062,7 @@ "description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/serializer/tree/v6.4.10" + "source": "https://github.com/symfony/serializer/tree/v6.4.11" }, "funding": [ { @@ -18009,7 +18078,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T13:13:26+00:00" + "time": "2024-08-17T07:51:47+00:00" }, { "name": "symfony/service-contracts", @@ -18095,16 +18164,16 @@ }, { "name": "symfony/string", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "ccf9b30251719567bfd46494138327522b9a9446" + "reference": "5bc3eb632cf9c8dbfd6529d89be9950d1518883b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/ccf9b30251719567bfd46494138327522b9a9446", - "reference": "ccf9b30251719567bfd46494138327522b9a9446", + "url": "https://api.github.com/repos/symfony/string/zipball/5bc3eb632cf9c8dbfd6529d89be9950d1518883b", + "reference": "5bc3eb632cf9c8dbfd6529d89be9950d1518883b", "shasum": "" }, "require": { @@ -18161,7 +18230,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.4.10" + "source": "https://github.com/symfony/string/tree/v6.4.11" }, "funding": [ { @@ -18177,7 +18246,7 @@ "type": "tidelift" } ], - "time": "2024-07-22T10:21:14+00:00" + "time": "2024-08-12T09:55:28+00:00" }, { "name": "symfony/translation-contracts", @@ -18259,16 +18328,16 @@ }, { "name": "symfony/twig-bridge", - "version": "v6.4.9", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/twig-bridge.git", - "reference": "9bcb26445b9d4ef1087c389234bf33fb00e10ea6" + "reference": "2cf03a4012631b74d68f9e6c3e03798ac592cbe5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/9bcb26445b9d4ef1087c389234bf33fb00e10ea6", - "reference": "9bcb26445b9d4ef1087c389234bf33fb00e10ea6", + "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/2cf03a4012631b74d68f9e6c3e03798ac592cbe5", + "reference": "2cf03a4012631b74d68f9e6c3e03798ac592cbe5", "shasum": "" }, "require": { @@ -18348,7 +18417,7 @@ "description": "Provides integration for Twig with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/twig-bridge/tree/v6.4.9" + "source": "https://github.com/symfony/twig-bridge/tree/v6.4.11" }, "funding": [ { @@ -18364,20 +18433,20 @@ "type": "tidelift" } ], - "time": "2024-06-21T16:04:15+00:00" + "time": "2024-08-29T08:15:38+00:00" }, { "name": "symfony/validator", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "bcf939a9d1acd7d2912e9474c0c3d7840a03cbcd" + "reference": "4ff41cf10af1de99ad92895411b55c9f309bc2d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/bcf939a9d1acd7d2912e9474c0c3d7840a03cbcd", - "reference": "bcf939a9d1acd7d2912e9474c0c3d7840a03cbcd", + "url": "https://api.github.com/repos/symfony/validator/zipball/4ff41cf10af1de99ad92895411b55c9f309bc2d8", + "reference": "4ff41cf10af1de99ad92895411b55c9f309bc2d8", "shasum": "" }, "require": { @@ -18445,7 +18514,7 @@ "description": "Provides tools to validate values", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/validator/tree/v6.4.10" + "source": "https://github.com/symfony/validator/tree/v6.4.11" }, "funding": [ { @@ -18461,20 +18530,20 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:30:32+00:00" + "time": "2024-08-30T15:57:55+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "a71cc3374f5fb9759da1961d28c452373b343dd4" + "reference": "ee14c8254a480913268b1e3b1cba8045ed122694" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/a71cc3374f5fb9759da1961d28c452373b343dd4", - "reference": "a71cc3374f5fb9759da1961d28c452373b343dd4", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ee14c8254a480913268b1e3b1cba8045ed122694", + "reference": "ee14c8254a480913268b1e3b1cba8045ed122694", "shasum": "" }, "require": { @@ -18530,7 +18599,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.4.10" + "source": "https://github.com/symfony/var-dumper/tree/v6.4.11" }, "funding": [ { @@ -18546,7 +18615,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:30:32+00:00" + "time": "2024-08-30T16:03:21+00:00" }, { "name": "symfony/var-exporter", @@ -18627,16 +18696,16 @@ }, { "name": "symfony/yaml", - "version": "v6.4.8", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "52903de178d542850f6f341ba92995d3d63e60c9" + "reference": "be37e7f13195e05ab84ca5269365591edd240335" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/52903de178d542850f6f341ba92995d3d63e60c9", - "reference": "52903de178d542850f6f341ba92995d3d63e60c9", + "url": "https://api.github.com/repos/symfony/yaml/zipball/be37e7f13195e05ab84ca5269365591edd240335", + "reference": "be37e7f13195e05ab84ca5269365591edd240335", "shasum": "" }, "require": { @@ -18679,7 +18748,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.4.8" + "source": "https://github.com/symfony/yaml/tree/v6.4.11" }, "funding": [ { @@ -18695,7 +18764,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:49:08+00:00" + "time": "2024-08-12T09:55:28+00:00" }, { "name": "twig/twig", @@ -19750,16 +19819,16 @@ }, { "name": "composer/composer", - "version": "2.7.8", + "version": "2.7.9", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "a2edd4e4414c17008ab585e0c62574fdb644ebfc" + "reference": "e30ccdd665828ae66eb1be78f056e39e1d5f55ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/a2edd4e4414c17008ab585e0c62574fdb644ebfc", - "reference": "a2edd4e4414c17008ab585e0c62574fdb644ebfc", + "url": "https://api.github.com/repos/composer/composer/zipball/e30ccdd665828ae66eb1be78f056e39e1d5f55ab", + "reference": "e30ccdd665828ae66eb1be78f056e39e1d5f55ab", "shasum": "" }, "require": { @@ -19844,7 +19913,7 @@ "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/composer/issues", "security": "https://github.com/composer/composer/security/policy", - "source": "https://github.com/composer/composer/tree/2.7.8" + "source": "https://github.com/composer/composer/tree/2.7.9" }, "funding": [ { @@ -19860,7 +19929,7 @@ "type": "tidelift" } ], - "time": "2024-08-22T13:28:36+00:00" + "time": "2024-09-04T12:43:28+00:00" }, { "name": "composer/metadata-minifier", @@ -20667,7 +20736,7 @@ }, { "name": "drupal/core-dev", - "version": "10.3.2", + "version": "10.3.3", "source": { "type": "git", "url": "https://github.com/drupal/core-dev.git", @@ -20717,7 +20786,7 @@ ], "description": "require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.", "support": { - "source": "https://github.com/drupal/core-dev/tree/10.3.2" + "source": "https://github.com/drupal/core-dev/tree/10.3.3" }, "time": "2024-07-04T10:19:29+00:00" }, @@ -21431,23 +21500,24 @@ }, { "name": "mikey179/vfsstream", - "version": "v1.6.11", + "version": "v1.6.12", "source": { "type": "git", "url": "https://github.com/bovigo/vfsStream.git", - "reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f" + "reference": "fe695ec993e0a55c3abdda10a9364eb31c6f1bf0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bovigo/vfsStream/zipball/17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f", - "reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f", + "url": "https://api.github.com/repos/bovigo/vfsStream/zipball/fe695ec993e0a55c3abdda10a9364eb31c6f1bf0", + "reference": "fe695ec993e0a55c3abdda10a9364eb31c6f1bf0", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=7.1.0" }, "require-dev": { - "phpunit/phpunit": "^4.5|^5.0" + "phpunit/phpunit": "^7.5||^8.5||^9.6", + "yoast/phpunit-polyfills": "^2.0" }, "type": "library", "extra": { @@ -21478,7 +21548,7 @@ "source": "https://github.com/bovigo/vfsStream/tree/master", "wiki": "https://github.com/bovigo/vfsStream/wiki" }, - "time": "2022-02-23T02:02:42+00:00" + "time": "2024-08-29T18:43:31+00:00" }, { "name": "myclabs/deep-copy", @@ -22667,22 +22737,22 @@ }, { "name": "phpstan/extension-installer", - "version": "1.4.2", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/phpstan/extension-installer.git", - "reference": "46c8219b3fb0deb3fc08301e8f0797d321d17dcd" + "reference": "85e90b3942d06b2326fba0403ec24fe912372936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/46c8219b3fb0deb3fc08301e8f0797d321d17dcd", - "reference": "46c8219b3fb0deb3fc08301e8f0797d321d17dcd", + "url": "https://api.github.com/repos/phpstan/extension-installer/zipball/85e90b3942d06b2326fba0403ec24fe912372936", + "reference": "85e90b3942d06b2326fba0403ec24fe912372936", "shasum": "" }, "require": { "composer-plugin-api": "^2.0", "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.9.0" + "phpstan/phpstan": "^1.9.0 || ^2.0" }, "require-dev": { "composer/composer": "^2.0", @@ -22709,9 +22779,9 @@ ], "support": { "issues": "https://github.com/phpstan/extension-installer/issues", - "source": "https://github.com/phpstan/extension-installer/tree/1.4.2" + "source": "https://github.com/phpstan/extension-installer/tree/1.4.3" }, - "time": "2024-08-26T07:38:00+00:00" + "time": "2024-09-04T20:21:43+00:00" }, { "name": "phpstan/phpdoc-parser", @@ -22762,16 +22832,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.0", + "version": "1.12.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "384af967d35b2162f69526c7276acadce534d0e1" + "reference": "d8ed7fffa66de1db0d2972267d8ed1d8fa0fe5a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/384af967d35b2162f69526c7276acadce534d0e1", - "reference": "384af967d35b2162f69526c7276acadce534d0e1", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d8ed7fffa66de1db0d2972267d8ed1d8fa0fe5a2", + "reference": "d8ed7fffa66de1db0d2972267d8ed1d8fa0fe5a2", "shasum": "" }, "require": { @@ -22816,7 +22886,7 @@ "type": "github" } ], - "time": "2024-08-27T09:18:05+00:00" + "time": "2024-09-03T19:55:22+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -24692,16 +24762,16 @@ }, { "name": "symfony/cache", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "6702d2d777260e6ff3451fee2d7d78ab5f715cdc" + "reference": "36daef8fce88fe0b9a4f8cf4c342ced5c05616dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/6702d2d777260e6ff3451fee2d7d78ab5f715cdc", - "reference": "6702d2d777260e6ff3451fee2d7d78ab5f715cdc", + "url": "https://api.github.com/repos/symfony/cache/zipball/36daef8fce88fe0b9a4f8cf4c342ced5c05616dc", + "reference": "36daef8fce88fe0b9a4f8cf4c342ced5c05616dc", "shasum": "" }, "require": { @@ -24768,7 +24838,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v6.4.10" + "source": "https://github.com/symfony/cache/tree/v6.4.11" }, "funding": [ { @@ -24784,7 +24854,7 @@ "type": "tidelift" } ], - "time": "2024-07-17T06:05:49+00:00" + "time": "2024-08-05T07:40:31+00:00" }, { "name": "symfony/cache-contracts", @@ -25075,16 +25145,16 @@ }, { "name": "symfony/phpunit-bridge", - "version": "v6.4.10", + "version": "v6.4.11", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "ad510515b11ba5291fdd59b25d70227bfac2d7ab" + "reference": "168f412dcd6caf3813a9cc0f286cd68f6a76f070" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/ad510515b11ba5291fdd59b25d70227bfac2d7ab", - "reference": "ad510515b11ba5291fdd59b25d70227bfac2d7ab", + "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/168f412dcd6caf3813a9cc0f286cd68f6a76f070", + "reference": "168f412dcd6caf3813a9cc0f286cd68f6a76f070", "shasum": "" }, "require": { @@ -25137,7 +25207,7 @@ "description": "Provides utilities for PHPUnit, especially user deprecation notices management", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/phpunit-bridge/tree/v6.4.10" + "source": "https://github.com/symfony/phpunit-bridge/tree/v6.4.11" }, "funding": [ { @@ -25153,7 +25223,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:30:32+00:00" + "time": "2024-08-13T14:27:37+00:00" }, { "name": "symfony/polyfill-php73", From 511df4e26498a514fcdbc69a7625a4862d6e1d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariana=20N=C3=BA=C3=B1ez?= <48533432+mariannuar@users.noreply.github.com> Date: Thu, 5 Sep 2024 10:28:17 -0600 Subject: [PATCH 06/11] SHS-5791: Update Stanford University brand bar link (#1618) * SHS-5791: Update Stanford University brand bar link. --- .../humsci/humsci_basic/templates/components/brandbar.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docroot/themes/humsci/humsci_basic/templates/components/brandbar.html.twig b/docroot/themes/humsci/humsci_basic/templates/components/brandbar.html.twig index 00a9d2796..46107b959 100644 --- a/docroot/themes/humsci/humsci_basic/templates/components/brandbar.html.twig +++ b/docroot/themes/humsci/humsci_basic/templates/components/brandbar.html.twig @@ -1,5 +1,5 @@
From 73991d506baf5dee7106fe50662353f7243c8d03 Mon Sep 17 00:00:00 2001 From: Joe Gilliland-Lloyd <6943710+joegl@users.noreply.github.com> Date: Mon, 9 Sep 2024 14:23:25 -0500 Subject: [PATCH 07/11] HSD8-000: Fix localist_url fieldwidget discovery (#1621) HSD8-000: Fix localist_url fieldwidget discovery. --- composer.lock | 164 ++++++++++++++++---------------------------------- 1 file changed, 52 insertions(+), 112 deletions(-) diff --git a/composer.lock b/composer.lock index d4c6232a8..8e53adb71 100644 --- a/composer.lock +++ b/composer.lock @@ -1480,16 +1480,16 @@ }, { "name": "doctrine/annotations", - "version": "1.14.3", + "version": "1.14.4", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af" + "reference": "253dca476f70808a5aeed3a47cc2cc88c5cab915" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af", - "reference": "fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/253dca476f70808a5aeed3a47cc2cc88c5cab915", + "reference": "253dca476f70808a5aeed3a47cc2cc88c5cab915", "shasum": "" }, "require": { @@ -1500,11 +1500,11 @@ }, "require-dev": { "doctrine/cache": "^1.11 || ^2.0", - "doctrine/coding-standard": "^9 || ^10", - "phpstan/phpstan": "~1.4.10 || ^1.8.0", + "doctrine/coding-standard": "^9 || ^12", + "phpstan/phpstan": "~1.4.10 || ^1.10.28", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "symfony/cache": "^4.4 || ^5.4 || ^6", - "vimeo/psalm": "^4.10" + "symfony/cache": "^4.4 || ^5.4 || ^6.4 || ^7", + "vimeo/psalm": "^4.30 || ^5.14" }, "suggest": { "php": "PHP 8.0 or higher comes with attributes, a native replacement for annotations" @@ -1550,9 +1550,9 @@ ], "support": { "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.14.3" + "source": "https://github.com/doctrine/annotations/tree/1.14.4" }, - "time": "2023-02-01T09:20:38+00:00" + "time": "2024-09-05T10:15:52+00:00" }, { "name": "doctrine/collections", @@ -2831,54 +2831,6 @@ "issues": "https://www.drupal.org/project/issues/block_content_permissions" } }, - { - "name": "drupal/book", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://git.drupalcode.org/project/book.git", - "reference": "1.0.0" - }, - "dist": { - "type": "zip", - "url": "https://ftp.drupal.org/files/projects/book-1.0.0.zip", - "reference": "1.0.0", - "shasum": "8838e4a314e54dff2bc34a0ae4f0a85ac03b6fb8" - }, - "require": { - "drupal/core": ">=10.0" - }, - "type": "drupal-module", - "extra": { - "drupal": { - "version": "1.0.0", - "datestamp": "1712238320", - "security-coverage": { - "status": "covered", - "message": "Covered by Drupal's security advisory policy" - } - } - }, - "notification-url": "https://packages.drupal.org/8/downloads", - "license": [ - "GPL-2.0-or-later" - ], - "authors": [ - { - "name": "pwolanin", - "homepage": "https://www.drupal.org/user/49851" - }, - { - "name": "smustgrave", - "homepage": "https://www.drupal.org/user/3252890" - } - ], - "description": "Allows users to create and organize related content in an outline.", - "homepage": "https://www.drupal.org/project/book", - "support": { - "source": "https://git.drupalcode.org/project/book" - } - }, { "name": "drupal/cancel_button", "version": "1.4.0", @@ -15733,26 +15685,22 @@ }, { "name": "su-sws/stanford_fields", - "version": "8.3.0", + "version": "8.2.7", "source": { "type": "git", "url": "https://github.com/SU-SWS/stanford_fields.git", - "reference": "373f96e4c06063a587c6b8494d10130db50b1da1" + "reference": "87ba04a73832529572648ff641b1ee5878257956" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SU-SWS/stanford_fields/zipball/373f96e4c06063a587c6b8494d10130db50b1da1", - "reference": "373f96e4c06063a587c6b8494d10130db50b1da1", + "url": "https://api.github.com/repos/SU-SWS/stanford_fields/zipball/87ba04a73832529572648ff641b1ee5878257956", + "reference": "87ba04a73832529572648ff641b1ee5878257956", "shasum": "" }, "require": { - "drupal/book": "^1.0", - "drupal/core": "^10.2 || ^11", + "drupal/core": "^9 || ^10 || ^11", "drupal/ds": "~3.3 || ^5.0@alpha" }, - "require-dev": { - "drupal/cshs": "^4.0" - }, "type": "drupal-custom-module", "notification-url": "https://packagist.org/downloads/", "license": [ @@ -15762,9 +15710,9 @@ "homepage": "https://github.com/SU-SWS/stanford_fields", "support": { "issues": "https://github.com/SU-SWS/stanford_fields/issues", - "source": "https://github.com/SU-SWS/stanford_fields/tree/8.3.0" + "source": "https://github.com/SU-SWS/stanford_fields/tree/8.2.7" }, - "time": "2024-09-04T17:29:03+00:00" + "time": "2024-06-26T17:53:08+00:00" }, { "name": "su-sws/stanford_media", @@ -17448,36 +17396,28 @@ }, { "name": "symfony/polyfill-php72", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "10112722600777e02d2745716b70c5db4ca70442" + "reference": "fa2ae56c44f03bed91a39bfc9822e31e7c5c38ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/10112722600777e02d2745716b70c5db4ca70442", - "reference": "10112722600777e02d2745716b70c5db4ca70442", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/fa2ae56c44f03bed91a39bfc9822e31e7c5c38ce", + "reference": "fa2ae56c44f03bed91a39bfc9822e31e7c5c38ce", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, - "type": "library", + "type": "metapackage", "extra": { "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" } }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - } - }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" @@ -17501,7 +17441,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.31.0" }, "funding": [ { @@ -17517,24 +17457,24 @@ "type": "tidelift" } ], - "time": "2024-06-19T12:30:46+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433", - "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { @@ -17581,7 +17521,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" }, "funding": [ { @@ -17597,24 +17537,24 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "3fb075789fb91f9ad9af537c4012d523085bd5af" + "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/3fb075789fb91f9ad9af537c4012d523085bd5af", - "reference": "3fb075789fb91f9ad9af537c4012d523085bd5af", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", + "reference": "4a4cfc2d253c21a5ad0e53071df248ed48c6ce5c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { @@ -17657,7 +17597,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.31.0" }, "funding": [ { @@ -17673,7 +17613,7 @@ "type": "tidelift" } ], - "time": "2024-06-19T12:30:46+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php83", @@ -22785,16 +22725,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.30.0", + "version": "1.30.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f" + "reference": "51b95ec8670af41009e2b2b56873bad96682413e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/5ceb0e384997db59f38774bf79c2a6134252c08f", - "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/51b95ec8670af41009e2b2b56873bad96682413e", + "reference": "51b95ec8670af41009e2b2b56873bad96682413e", "shasum": "" }, "require": { @@ -22826,9 +22766,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.1" }, - "time": "2024-08-29T09:54:52+00:00" + "time": "2024-09-07T20:13:05+00:00" }, { "name": "phpstan/phpstan", @@ -25227,20 +25167,20 @@ }, { "name": "symfony/polyfill-php73", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "ec444d3f3f6505bb28d11afa41e75faadebc10a1" + "reference": "0f68c03565dcaaf25a890667542e8bd75fe7e5bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/ec444d3f3f6505bb28d11afa41e75faadebc10a1", - "reference": "ec444d3f3f6505bb28d11afa41e75faadebc10a1", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/0f68c03565dcaaf25a890667542e8bd75fe7e5bb", + "reference": "0f68c03565dcaaf25a890667542e8bd75fe7e5bb", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { @@ -25283,7 +25223,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.31.0" }, "funding": [ { @@ -25299,7 +25239,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T15:07:36+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php82", From c7daed04cdad103542dda67e404dc14dc470be96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariana=20N=C3=BA=C3=B1ez?= <48533432+mariannuar@users.noreply.github.com> Date: Wed, 11 Sep 2024 15:30:01 -0600 Subject: [PATCH 08/11] SHS-5782: Vertical button card fix text gets truncated / SHS-5793: Implementation: Vertical Button Card button is currently styled as a rectangle (#1613) * SHS-5782: Vertical button card fix text gets truncated (#1613) * SHS-5793: Implementation: Vertical Button Card button is currently styled as a rectangle (#1613) --- .../vertical-button-card.html.twig | 31 +++--- .../components/_vertical-button-card.scss | 102 +++++++++++++----- 2 files changed, 93 insertions(+), 40 deletions(-) diff --git a/docroot/modules/humsci/hs_layouts/patterns/vertical-button-card/vertical-button-card.html.twig b/docroot/modules/humsci/hs_layouts/patterns/vertical-button-card/vertical-button-card.html.twig index 36b9377b9..f3e0d5d3c 100644 --- a/docroot/modules/humsci/hs_layouts/patterns/vertical-button-card/vertical-button-card.html.twig +++ b/docroot/modules/humsci/hs_layouts/patterns/vertical-button-card/vertical-button-card.html.twig @@ -7,21 +7,24 @@ {% endif %} -
- {% if title %} -
- {% if title|render matches '/<\\/h\\d>/' %} - {{ title }} - {% else %} - <{{ heading_tag }}>{{ title }} - {% endif %} -
- {% endif %} - {% if description %} -
{{ description }}
- {% endif %} -
+ {% if title or description %} +
+ {% if title %} +
+ {% if title|render matches '/<\\/h\\d>/' %} + {{ title }} + {% else %} + <{{ heading_tag }}>{{ title }} + {% endif %} +
+ {% endif %} + + {% if description %} +
{{ description }}
+ {% endif %} +
+ {% endif %} {% if button %} {% set link = button.field_hs_postcard_link[0] %} diff --git a/docroot/themes/humsci/humsci_basic/src/scss/components/_vertical-button-card.scss b/docroot/themes/humsci/humsci_basic/src/scss/components/_vertical-button-card.scss index cdd39559f..e28b67f9f 100644 --- a/docroot/themes/humsci/humsci_basic/src/scss/components/_vertical-button-card.scss +++ b/docroot/themes/humsci/humsci_basic/src/scss/components/_vertical-button-card.scss @@ -2,16 +2,29 @@ position: relative; .hb-card__graphics { - margin-bottom: 0; + &, .hb-raised-cards & { + margin-bottom: hb-calculate-rems(32px); + } img { width: 100%; } + + } + + .hb-card__title:only-child { + margin-bottom: 0; + } + + .field-hs-postcard-body { + margin-bottom: 0; } .hs-button { width: 100%; font-size: hb-calculate-rems(18px); + hyphens: auto; + word-break: break-word; &:hover, &:focus, @@ -25,24 +38,32 @@ border: 2px solid var(--palette--secondary); background-color: var(--palette--white); + .hb-card__content-wrapper { + display: flex; + flex-direction: column; + flex-grow: 1; + } + + .hb-card__title { + margin-bottom: hb-calculate-rems(16px); + } + .hb-card__graphics { - padding: hb-spacing-width('xs') hb-spacing-width('sm') 0; + padding: hb-calculate-rems(24px) hb-spacing-width('sm') 0; } .hb-card__content { - padding: hb-spacing-width('sm'); - margin-bottom: hb-spacing-width('sm'); + padding: hb-calculate-rems(32px) hb-spacing-width('sm'); } .hs-button { @include hb-secondary-button; - position: absolute; - bottom: 0; - left: 0; - right: 0; + position: relative; + width: 100%; border-width: 0; border-top-width: 2px; + margin-top: auto; // Warbler color pairing override. .ht-pairing-warbler & { @@ -53,24 +74,47 @@ } } } + + &:has(.hb-card__graphics) { + .hb-card__content { + padding-top: 0; + } + } + + &:has(.hs-button) { + .hb-card__content { + padding-bottom: hb-calculate-rems(16px); + } + } } @include hb-colorful { .hb-card__graphics { - position: absolute; - top: 0; - left: 0; - right: 0; - padding: 0 hb-calculate-rems(36px); + &, .hb-raised-cards & { + margin-top: -40%; + + @include grid-media('md') { + .paragraph--type--hs-collection .item-per-row--2 & { + margin-top: -50%; + } + + .paragraph--type--hs-collection .item-per-row--3 & { + margin-top: -65%; + } + + .paragraph--type--hs-collection .item-per-row--4 & { + margin-top: -75%; + } + } + } } .hb-card__title { - margin-bottom: hb-calculate-rems(18px); color: var(--palette--secondary); } .hb-card__content-wrapper { - padding: hb-spacing-width('sm') hb-calculate-rems(36px); + padding: hb-calculate-rems(32px) hb-calculate-rems(36px); border: 2px solid var(--palette--tertiary-highlight); box-shadow: hb-calculate-rems(1px) hb-calculate-rems(7.5px) hb-calculate-rems(35px) color-mix(in srgb, var(--palette--black) 10%, transparent); @@ -82,7 +126,7 @@ height: 100%; display: flex; flex-direction: column; - justify-content: space-between; + justify-content: flex-start; } .hb-card__content { @@ -98,26 +142,32 @@ .paragraph--type--hs-collection .item-per-row--4 & { padding-top: 30%; } + } + &:has(.hb-card__description) { .hb-card__title { - margin-top: hb-calculate-rems(28px); + &, .hb-raised-cards & { + margin-bottom: hb-calculate-rems(16px); + } } + } - .hb-card__content-wrapper { - padding-top: 25%; - - .paragraph--type--hs-collection .item-per-row--2 & { - padding-top: 30%; + &:has(.hs-button) { + .hb-card__title { + &, + .hb-raised-cards, + &:only-child { + margin-bottom: hb-calculate-rems(24px); } + } - .paragraph--type--hs-collection .item-per-row--4 & { - padding-top: 15%; - } + .hb-card__description { + margin-bottom: hb-calculate-rems(24px); } } .hs-button { - border-radius: 0; + padding: hb-calculate-rems(4px) hb-calculate-rems(24px) hb-calculate-rems(6px); background-color: var(--palette--primary); border-color: var(--palette--primary); } From fa483ad55481472604e7d2f0c121622a6b4292dd Mon Sep 17 00:00:00 2001 From: CircleCI Date: Thu, 12 Sep 2024 14:08:37 +0000 Subject: [PATCH 09/11] Updated dependencies --- composer.lock | 226 +++++++++++++++++++++++++++----------------------- 1 file changed, 122 insertions(+), 104 deletions(-) diff --git a/composer.lock b/composer.lock index 8e53adb71..1b5d77a9d 100644 --- a/composer.lock +++ b/composer.lock @@ -1767,27 +1767,30 @@ }, { "name": "drupal/acquia_connector", - "version": "4.0.8", + "version": "4.0.9", "source": { "type": "git", "url": "https://git.drupalcode.org/project/acquia_connector.git", - "reference": "4.0.8" + "reference": "4.0.9" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/acquia_connector-4.0.8.zip", - "reference": "4.0.8", - "shasum": "34e1089603f9bef451acdd70d5f1d16d9c71db8f" + "url": "https://ftp.drupal.org/files/projects/acquia_connector-4.0.9.zip", + "reference": "4.0.9", + "shasum": "4b215c4f4a5259807d9b0c6e96001e87b13c01a9" }, "require": { - "drupal/core": ">=9.5 <12.0.0-stable", + "drupal/core": "^9.5 || ^10 || ^11", "ext-json": "*" }, + "require-dev": { + "acquia/coding-standards": "^2" + }, "type": "drupal-module", "extra": { "drupal": { - "version": "4.0.8", - "datestamp": "1719245733", + "version": "4.0.9", + "datestamp": "1726071850", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -3211,29 +3214,29 @@ }, { "name": "drupal/components", - "version": "3.0.0-beta3", + "version": "3.1.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/components.git", - "reference": "3.0.0-beta3" + "reference": "3.1.0" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/components-3.0.0-beta3.zip", - "reference": "3.0.0-beta3", - "shasum": "47ced4332f0a655ca38ae1b54e97a8e78d59f0bc" + "url": "https://ftp.drupal.org/files/projects/components-3.1.0.zip", + "reference": "3.1.0", + "shasum": "a9d9f7517f54038d0d6fa68185d80e26d2ad1d8d" }, "require": { - "drupal/core": "^9 || ^10" + "drupal/core": "^10.2 || ^11" }, "type": "drupal-module", "extra": { "drupal": { - "version": "3.0.0-beta3", - "datestamp": "1651759488", + "version": "3.1.0", + "datestamp": "1725921122", "security-coverage": { - "status": "not-covered", - "message": "Beta releases are not covered by Drupal security advisories." + "status": "covered", + "message": "Covered by Drupal's security advisory policy" } } }, @@ -3244,9 +3247,13 @@ "authors": [ { "name": "JohnAlbin", - "homepage": "https://www.drupal.org/user/32095", + "homepage": "https://www.drupal.org/user/1036766", "email": "virtually.johnalbin@gmail.com" }, + { + "name": "johnalbin", + "homepage": "https://www.drupal.org/user/32095" + }, { "name": "robloach", "homepage": "https://www.drupal.org/user/61114" @@ -3875,7 +3882,7 @@ "homepage": "https://www.drupal.org/user/409554" }, { - "name": "Steven Jones", + "name": "steven jones", "homepage": "https://www.drupal.org/user/99644" } ], @@ -3887,16 +3894,16 @@ }, { "name": "drupal/core", - "version": "10.2.7", + "version": "10.2.8", "source": { "type": "git", "url": "https://github.com/drupal/core.git", - "reference": "4416c8a86e5b57b5acc595e4855ce50fdb6a542d" + "reference": "74106472294be770cb76d93bb5a239f7ce741716" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core/zipball/4416c8a86e5b57b5acc595e4855ce50fdb6a542d", - "reference": "4416c8a86e5b57b5acc595e4855ce50fdb6a542d", + "url": "https://api.github.com/repos/drupal/core/zipball/74106472294be770cb76d93bb5a239f7ce741716", + "reference": "74106472294be770cb76d93bb5a239f7ce741716", "shasum": "" }, "require": { @@ -3942,7 +3949,7 @@ "symfony/serializer": "^6.4", "symfony/validator": "^6.4", "symfony/yaml": "^6.4", - "twig/twig": "^3.5.0" + "twig/twig": "^3.14.0" }, "conflict": { "drush/drush": "<12.4.3" @@ -4044,13 +4051,13 @@ ], "description": "Drupal is an open source content management platform powering millions of websites and applications.", "support": { - "source": "https://github.com/drupal/core/tree/10.2.7" + "source": "https://github.com/drupal/core/tree/10.2.8" }, - "time": "2024-06-06T07:25:42+00:00" + "time": "2024-09-11T16:27:41+00:00" }, { "name": "drupal/core-composer-scaffold", - "version": "10.3.3", + "version": "10.3.5", "source": { "type": "git", "url": "https://github.com/drupal/core-composer-scaffold.git", @@ -4094,22 +4101,22 @@ "drupal" ], "support": { - "source": "https://github.com/drupal/core-composer-scaffold/tree/10.3.3" + "source": "https://github.com/drupal/core-composer-scaffold/tree/10.3.5" }, "time": "2024-08-22T14:31:34+00:00" }, { "name": "drupal/core-recommended", - "version": "10.2.7", + "version": "10.2.8", "source": { "type": "git", "url": "https://github.com/drupal/core-recommended.git", - "reference": "afaac96cde3b05179d11152ed646f9f6772e7a0e" + "reference": "9880260a404d28578cb23dcc104fc5d37dc9dc6f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core-recommended/zipball/afaac96cde3b05179d11152ed646f9f6772e7a0e", - "reference": "afaac96cde3b05179d11152ed646f9f6772e7a0e", + "url": "https://api.github.com/repos/drupal/core-recommended/zipball/9880260a404d28578cb23dcc104fc5d37dc9dc6f", + "reference": "9880260a404d28578cb23dcc104fc5d37dc9dc6f", "shasum": "" }, "require": { @@ -4118,7 +4125,7 @@ "doctrine/annotations": "~1.14.3", "doctrine/deprecations": "~1.1.2", "doctrine/lexer": "~2.1.0", - "drupal/core": "10.2.7", + "drupal/core": "10.2.8", "egulias/email-validator": "~4.0.2", "guzzlehttp/guzzle": "~7.8.1", "guzzlehttp/promises": "~2.0.2", @@ -4167,7 +4174,7 @@ "symfony/var-dumper": "~v6.4.0", "symfony/var-exporter": "~v6.4.1", "symfony/yaml": "~v6.4.0", - "twig/twig": "~v3.8.0" + "twig/twig": "~v3.14.0" }, "conflict": { "webflo/drupal-core-strict": "*" @@ -4179,9 +4186,9 @@ ], "description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.", "support": { - "source": "https://github.com/drupal/core-recommended/tree/10.2.7" + "source": "https://github.com/drupal/core-recommended/tree/10.2.8" }, - "time": "2024-06-06T07:25:42+00:00" + "time": "2024-09-11T16:27:41+00:00" }, { "name": "drupal/crop", @@ -6151,11 +6158,15 @@ ], "authors": [ { - "name": "Anybody", + "name": "anybody", "homepage": "https://www.drupal.org/user/291091" }, { - "name": "Hydra", + "name": "grevil", + "homepage": "https://www.drupal.org/user/3668491" + }, + { + "name": "hydra", "homepage": "https://www.drupal.org/user/647364" }, { @@ -7796,26 +7807,26 @@ }, { "name": "drupal/mail_safety", - "version": "2.0.0", + "version": "2.1.0", "source": { "type": "git", "url": "https://git.drupalcode.org/project/mail_safety.git", - "reference": "2.0.0" + "reference": "2.1.0" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/mail_safety-2.0.0.zip", - "reference": "2.0.0", - "shasum": "2fc3b8f4298d6e3bdabac74eba24ddb3446332f3" + "url": "https://ftp.drupal.org/files/projects/mail_safety-2.1.0.zip", + "reference": "2.1.0", + "shasum": "e1c801ba9ad09ed003d2bde9dbf053e94e1c78e4" }, "require": { - "drupal/core": "^9.4 || ^10" + "drupal/core": "^9.4 || ^10 || ^11" }, "type": "drupal-module", "extra": { "drupal": { - "version": "2.0.0", - "datestamp": "1678822536", + "version": "2.1.0", + "datestamp": "1725963100", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -7852,11 +7863,11 @@ "homepage": "https://www.drupal.org/user/3495403" }, { - "name": "Steven Buteneers", + "name": "steven buteneers", "homepage": "https://www.drupal.org/user/3301055" }, { - "name": "ThomasDik", + "name": "thomasdik", "homepage": "https://www.drupal.org/user/1718070" } ], @@ -10328,17 +10339,17 @@ }, { "name": "drupal/seckit", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://git.drupalcode.org/project/seckit.git", - "reference": "2.0.2" + "reference": "2.0.3" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/seckit-2.0.2.zip", - "reference": "2.0.2", - "shasum": "19c421c0c5b966d20903024e6029599c33b4707d" + "url": "https://ftp.drupal.org/files/projects/seckit-2.0.3.zip", + "reference": "2.0.3", + "shasum": "34d38f2daaf99781ef6b7e7fbe2eeabc73a7ca16" }, "require": { "drupal/core": "^9.5 || ^10 || ^11" @@ -10346,8 +10357,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "2.0.2", - "datestamp": "1724766049", + "version": "2.0.3", + "datestamp": "1726075930", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -10679,17 +10690,17 @@ }, { "name": "drupal/smart_date", - "version": "4.1.5", + "version": "4.1.6", "source": { "type": "git", "url": "https://git.drupalcode.org/project/smart_date.git", - "reference": "4.1.5" + "reference": "4.1.6" }, "dist": { "type": "zip", - "url": "https://ftp.drupal.org/files/projects/smart_date-4.1.5.zip", - "reference": "4.1.5", - "shasum": "2d88f1804bd76ea7fa2f32b1b61fbcd7b40b5f66" + "url": "https://ftp.drupal.org/files/projects/smart_date-4.1.6.zip", + "reference": "4.1.6", + "shasum": "930c2dadc2ff9f798bb165125c7f18f63869ad6e" }, "require": { "drupal/core": "^9 || ^10 || ^11", @@ -10705,8 +10716,8 @@ "type": "drupal-module", "extra": { "drupal": { - "version": "4.1.5", - "datestamp": "1723711336", + "version": "4.1.6", + "datestamp": "1725628698", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -12262,7 +12273,7 @@ "role": "Contributor" }, { - "name": "Liam Morland", + "name": "liam morland", "homepage": "https://www.drupal.org/user/493050" }, { @@ -15176,16 +15187,16 @@ }, { "name": "psr/log", - "version": "3.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "79dff0b268932c640297f5208d6298f71855c03e" + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/79dff0b268932c640297f5208d6298f71855c03e", - "reference": "79dff0b268932c640297f5208d6298f71855c03e", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", "shasum": "" }, "require": { @@ -15220,9 +15231,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.1" + "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2024-08-21T13:31:24+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { "name": "psy/psysh", @@ -18708,30 +18719,37 @@ }, { "name": "twig/twig", - "version": "v3.8.0", + "version": "v3.14.0", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "9d15f0ac07f44dc4217883ec6ae02fd555c6f71d" + "reference": "126b2c97818dbff0cdf3fbfc881aedb3d40aae72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/9d15f0ac07f44dc4217883ec6ae02fd555c6f71d", - "reference": "9d15f0ac07f44dc4217883ec6ae02fd555c6f71d", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/126b2c97818dbff0cdf3fbfc881aedb3d40aae72", + "reference": "126b2c97818dbff0cdf3fbfc881aedb3d40aae72", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-mbstring": "^1.3", - "symfony/polyfill-php80": "^1.22" + "symfony/polyfill-php81": "^1.29" }, "require-dev": { "psr/container": "^1.0|^2.0", - "symfony/phpunit-bridge": "^5.4.9|^6.3|^7.0" + "symfony/phpunit-bridge": "^5.4.9|^6.4|^7.0" }, "type": "library", "autoload": { + "files": [ + "src/Resources/core.php", + "src/Resources/debug.php", + "src/Resources/escaper.php", + "src/Resources/string_loader.php" + ], "psr-4": { "Twig\\": "src/" } @@ -18764,7 +18782,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.8.0" + "source": "https://github.com/twigphp/Twig/tree/v3.14.0" }, "funding": [ { @@ -18776,7 +18794,7 @@ "type": "tidelift" } ], - "time": "2023-11-21T18:54:41+00:00" + "time": "2024-09-09T17:55:12+00:00" }, { "name": "webflo/drupal-finder", @@ -20676,7 +20694,7 @@ }, { "name": "drupal/core-dev", - "version": "10.3.3", + "version": "10.3.5", "source": { "type": "git", "url": "https://github.com/drupal/core-dev.git", @@ -20726,7 +20744,7 @@ ], "description": "require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.", "support": { - "source": "https://github.com/drupal/core-dev/tree/10.3.3" + "source": "https://github.com/drupal/core-dev/tree/10.3.5" }, "time": "2024-07-04T10:19:29+00:00" }, @@ -22772,16 +22790,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.12.1", + "version": "1.12.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "d8ed7fffa66de1db0d2972267d8ed1d8fa0fe5a2" + "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d8ed7fffa66de1db0d2972267d8ed1d8fa0fe5a2", - "reference": "d8ed7fffa66de1db0d2972267d8ed1d8fa0fe5a2", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0fcbf194ab63d8159bb70d9aa3e1350051632009", + "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009", "shasum": "" }, "require": { @@ -22826,25 +22844,25 @@ "type": "github" } ], - "time": "2024-09-03T19:55:22+00:00" + "time": "2024-09-09T08:10:35+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", - "reference": "fa8cce7720fa782899a0aa97b6a41225d1bb7b26" + "reference": "f94d246cc143ec5a23da868f8f7e1393b50eaa82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/fa8cce7720fa782899a0aa97b6a41225d1bb7b26", - "reference": "fa8cce7720fa782899a0aa97b6a41225d1bb7b26", + "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/f94d246cc143ec5a23da868f8f7e1393b50eaa82", + "reference": "f94d246cc143ec5a23da868f8f7e1393b50eaa82", "shasum": "" }, "require": { "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.11" + "phpstan/phpstan": "^1.12" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", @@ -22871,9 +22889,9 @@ "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", "support": { "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", - "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.2.0" + "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.2.1" }, - "time": "2024-04-20T06:39:48+00:00" + "time": "2024-09-11T15:52:35+00:00" }, { "name": "phpstan/phpstan-phpunit", @@ -24595,12 +24613,12 @@ "source": { "type": "git", "url": "https://github.com/SU-SWS/stanford-caravan.git", - "reference": "d942917c0e879e154239dcc58ba4b3d1de473f9a" + "reference": "a76c7229dfd688758b6cd08c7fdce1d4929bca33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SU-SWS/stanford-caravan/zipball/d942917c0e879e154239dcc58ba4b3d1de473f9a", - "reference": "d942917c0e879e154239dcc58ba4b3d1de473f9a", + "url": "https://api.github.com/repos/SU-SWS/stanford-caravan/zipball/a76c7229dfd688758b6cd08c7fdce1d4929bca33", + "reference": "a76c7229dfd688758b6cd08c7fdce1d4929bca33", "shasum": "" }, "require": { @@ -24630,7 +24648,7 @@ "issues": "https://github.com/SU-SWS/stanford-caravan/issues", "source": "https://github.com/SU-SWS/stanford-caravan/tree/10.x" }, - "time": "2024-08-08T17:42:44+00:00" + "time": "2024-09-10T20:13:48+00:00" }, { "name": "symfony/browser-kit", @@ -25243,20 +25261,20 @@ }, { "name": "symfony/polyfill-php82", - "version": "v1.30.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php82.git", - "reference": "77ff49780f56906788a88974867ed68bc49fae5b" + "reference": "5d2ed36f7734637dacc025f179698031951b1692" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/77ff49780f56906788a88974867ed68bc49fae5b", - "reference": "77ff49780f56906788a88974867ed68bc49fae5b", + "url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/5d2ed36f7734637dacc025f179698031951b1692", + "reference": "5d2ed36f7734637dacc025f179698031951b1692", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { @@ -25299,7 +25317,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php82/tree/v1.30.0" + "source": "https://github.com/symfony/polyfill-php82/tree/v1.31.0" }, "funding": [ { @@ -25315,7 +25333,7 @@ "type": "tidelift" } ], - "time": "2024-06-19T12:30:46+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "theseer/tokenizer", From fe8bc630b31e9a77ec1ec3d264bb84b39ec930bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20D=C3=ADaz=20Soto?= Date: Mon, 16 Sep 2024 10:10:42 -0600 Subject: [PATCH 10/11] fix(shs-5777): Fix js error in select-lists library (#1623) * fix(shs-5777): Fix js error in select-lists library. --- .../select-lists/dist/islands/select-list-filters.island.js | 6 +++--- .../su_humsci_profile/js/select-lists/src/select-list.tsx | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/dist/islands/select-list-filters.island.js b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/dist/islands/select-list-filters.island.js index 8c3f6b8c1..082805d0f 100644 --- a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/dist/islands/select-list-filters.island.js +++ b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/dist/islands/select-list-filters.island.js @@ -1,10 +1,10 @@ -!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,(()=>(()=>{var e={833:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),l=Object.keys(t);if(i.length!==l.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),a=0;a{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return(()=>{"use strict";n.r(r);var e={};n.r(e),n.d(e,{Children:()=>Te,Component:()=>C,Fragment:()=>x,PureComponent:()=>Pe,StrictMode:()=>wt,Suspense:()=>je,SuspenseList:()=>Be,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>dt,cloneElement:()=>mt,createContext:()=>G,createElement:()=>b,createFactory:()=>pt,createPortal:()=>qe,createRef:()=>w,default:()=>Nt,findDOMNode:()=>yt,flushSync:()=>St,forwardRef:()=>De,hydrate:()=>tt,isElement:()=>It,isFragment:()=>ht,isMemo:()=>vt,isValidElement:()=>_t,lazy:()=>Ue,memo:()=>Ne,render:()=>et,startTransition:()=>xt,unmountComponentAtNode:()=>gt,unstable_batchedUpdates:()=>bt,useCallback:()=>he,useContext:()=>ve,useDebugValue:()=>me,useDeferredValue:()=>Ct,useEffect:()=>ce,useErrorBoundary:()=>ge,useId:()=>ye,useImperativeHandle:()=>pe,useInsertionEffect:()=>Et,useLayoutEffect:()=>de,useMemo:()=>_e,useReducer:()=>se,useRef:()=>fe,useState:()=>ae,useSyncExternalStore:()=>At,useTransition:()=>kt,version:()=>ft});var t,o,i,l,u,a,s,c,d,f,p,_={},h=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function g(e,t){for(var n in t)e[n]=t[n];return e}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,n,r){var o,i,l,u={};for(l in n)"key"==l?o=n[l]:"ref"==l?i=n[l]:u[l]=n[l];if(arguments.length>2&&(u.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===u[l]&&(u[l]=e.defaultProps[l]);return S(e,u,o,i,null)}function S(e,t,n,r,l){var u={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++i:l,__i:-1,__u:0};return null==l&&null!=o.vnode&&o.vnode(u),u}function w(){return{current:null}}function x(e){return e.children}function C(e,t){this.props=e,this.context=t}function k(e,t){if(null==t)return e.__?k(e.__,e.__i+1):null;for(var n;tt&&l.sort(s));A.__r=0}function P(e,t,n,r,o,i,l,u,a,s,c){var d,f,p,v,m,g=r&&r.__k||h,y=t.length;for(n.__d=a,N(n,t,g),a=n.__d,d=0;d0?S(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,u=D(o,n,l,c),o.__i=u,i=null,-1!==u&&(c--,(i=n[u])&&(i.__u|=131072)),null==i||null===i.__v?(-1==u&&d--,"function"!=typeof o.type&&(o.__u|=65536)):u!==l&&(u===l+1?d++:u>l?c>a-l?d+=u-l:d--:u(null==a||131072&a.__u?0:1))for(;l>=0||u=0){if((a=t[l])&&!(131072&a.__u)&&o==a.key&&i===a.type)return l;l--}if(u2&&(a.children=arguments.length>3?t.call(arguments,2):r),S(e.type,a,o||e.key,i||e.ref,null)}function G(e,t){var n={__c:t="__cC"+p++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,I(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}t=h.slice,o={__e:function(e,t,n,r){for(var o,i,l;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),l=o.__d),l)return o.__E=o}catch(t){e=t}throw e}},i=0,C.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},n),this.props)),e&&g(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),I(this))},C.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),I(this))},C.prototype.render=x,l=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},A.__r=0,c=0,d=M(!1),f=M(!0),p=0;var q,K,Y,Z,J=0,X=[],Q=[],ee=o,te=ee.__b,ne=ee.__r,re=ee.diffed,oe=ee.__c,ie=ee.unmount,le=ee.__;function ue(e,t){ee.__h&&ee.__h(K,e,J||t),J=0;var n=K.__H||(K.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Q}),n.__[e]}function ae(e){return J=1,se(Ee,e)}function se(e,t,n){var r=ue(q++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Ee(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var l=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}})),!(!l&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};K.u=!0;var i=K.shouldComponentUpdate,l=K.componentWillUpdate;K.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}l&&l.call(this,e,t,n)},K.shouldComponentUpdate=o}return r.__N||r.__}function ce(e,t){var n=ue(q++,3);!ee.__s&&ke(n.__H,t)&&(n.__=e,n.i=t,K.__H.__h.push(n))}function de(e,t){var n=ue(q++,4);!ee.__s&&ke(n.__H,t)&&(n.__=e,n.i=t,K.__h.push(n))}function fe(e){return J=5,_e((function(){return{current:e}}),[])}function pe(e,t,n){J=6,de((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function _e(e,t){var n=ue(q++,7);return ke(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function he(e,t){return J=8,_e((function(){return e}),t)}function ve(e){var t=K.context[e.__c],n=ue(q++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(K)),t.props.value):e.__}function me(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function ge(e){var t=ue(q++,10),n=ae();return t.__=e,K.componentDidCatch||(K.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function ye(){var e=ue(q++,11);if(!e.__){for(var t=K.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function be(){for(var e;e=X.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(xe),e.__H.__h.forEach(Ce),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){K=null,te&&te(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),le&&le(e,t)},ee.__r=function(e){ne&&ne(e),q=0;var t=(K=e.__c).__H;t&&(Y===K?(t.__h=[],K.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Q,e.__N=e.i=void 0}))):(t.__h.forEach(xe),t.__h.forEach(Ce),t.__h=[],q=0)),Y=K},ee.diffed=function(e){re&&re(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==X.push(t)&&Z===ee.requestAnimationFrame||((Z=ee.requestAnimationFrame)||we)(be)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Q&&(e.__=e.__V),e.i=void 0,e.__V=Q}))),Y=K=null},ee.__c=function(e,t){t.some((function(e){try{e.__h.forEach(xe),e.__h=e.__h.filter((function(e){return!e.__||Ce(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],ee.__e(n,e.__v)}})),oe&&oe(e,t)},ee.unmount=function(e){ie&&ie(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{xe(e)}catch(e){t=e}})),n.__H=void 0,t&&ee.__e(t,n.__v))};var Se="function"==typeof requestAnimationFrame;function we(e){var t,n=function(){clearTimeout(r),Se&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Se&&(t=requestAnimationFrame(n))}function xe(e){var t=K,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),K=t}function Ce(e){var t=K;e.__c=e.__(),K=t}function ke(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Ee(e,t){return"function"==typeof t?t(e):t}function Ie(e,t){for(var n in t)e[n]=t[n];return e}function Ae(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Pe(e,t){this.props=e,this.context=t}function Ne(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Ae(this.props,e)}function r(t){return this.shouldComponentUpdate=n,b(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Pe.prototype=new C).isPureReactComponent=!0,Pe.prototype.shouldComponentUpdate=function(e,t){return Ae(this.props,e)||Ae(this.state,t)};var Re=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Re&&Re(e)};var Oe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function De(e){function t(t){var n=Ie({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Oe,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Ve=function(e,t){return null==e?null:O(O(e).map(t))},Te={map:Ve,forEach:Ve,count:function(e){return e?O(e).length:0},only:function(e){var t=O(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:O},Me=o.__e;o.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Me(e,t,n,r)};var Le=o.unmount;function $e(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Ie({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return $e(e,t,n)}))),e}function Fe(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Fe(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function je(){this.__u=0,this.t=null,this.__b=null}function He(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ue(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return b(n,o)}return o.displayName="Lazy",o.__f=!0,o}function Be(){this.u=null,this.o=null}o.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Le&&Le(e)},(je.prototype=new C).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=He(r.__v),i=!1,l=function(){i||(i=!0,n.__R=null,o?o(u):u())};n.__R=l;var u=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Fe(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(l,l)},je.prototype.componentWillUnmount=function(){this.t=[]},je.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=$e(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&b(x,null,e.fallback);return o&&(o.__u&=-33),[b(x,null,t.__a?null:e.children),o]};var We=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),B(b(ze,{context:t.context},e.__v),t.l)}function qe(e,t){var n=b(Ge,{__v:e,i:t});return n.containerInfo=t,n}(Be.prototype=new C).__a=function(e){var t=this,n=He(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),We(t,e,r)):o()};n?n(i):i()}},Be.prototype.render=function(e){this.u=null,this.o=new Map;var t=O(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Be.prototype.componentDidUpdate=Be.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){We(e,n,t)}))};var Ke="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ye=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ze=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Je=/[A-Z0-9]/g,Xe="undefined"!=typeof document,Qe=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function et(e,t,n){return null==t.__k&&(t.textContent=""),B(e,t),"function"==typeof n&&n(),e?e.__c:null}function tt(e,t,n){return W(e,t),"function"==typeof n&&n(),e?e.__c:null}C.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(C.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var nt=o.event;function rt(){}function ot(){return this.cancelBubble}function it(){return this.defaultPrevented}o.event=function(e){return nt&&(e=nt(e)),e.persist=rt,e.isPropagationStopped=ot,e.isDefaultPrevented=it,e.nativeEvent=e};var lt,ut={enumerable:!1,configurable:!0,get:function(){return this.class}},at=o.vnode;o.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||Xe&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"translate"===l&&"no"===i?i=!1:"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||Qe(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Ze.test(o)?o=l:-1===n.indexOf("-")&&Ye.test(o)?o=o.replace(Je,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&r[o=l]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=O(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=O(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",ut)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Ke,at&&at(e)};var st=o.__r;o.__r=function(e){st&&st(e),lt=e.__c};var ct=o.diffed;o.diffed=function(e){ct&&ct(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),lt=null};var dt={ReactCurrentDispatcher:{current:{readContext:function(e){return lt.__n[e.__c].props.value},useCallback:he,useContext:ve,useDebugValue:me,useDeferredValue:Ct,useEffect:ce,useId:ye,useImperativeHandle:pe,useInsertionEffect:Et,useLayoutEffect:de,useMemo:_e,useReducer:se,useRef:fe,useState:ae,useSyncExternalStore:At,useTransition:kt}}},ft="17.0.2";function pt(e){return b.bind(null,e)}function _t(e){return!!e&&e.$$typeof===Ke}function ht(e){return _t(e)&&e.type===x}function vt(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function mt(e){return _t(e)?z.apply(null,arguments):e}function gt(e){return!!e.__k&&(B(null,e),!0)}function yt(e){return e&&(e.base||1===e.nodeType&&e)||null}var bt=function(e,t){return e(t)},St=function(e,t){return e(t)},wt=x;function xt(e){e()}function Ct(e){return e}function kt(){return[!1,xt]}var Et=de,It=_t;function At(e,t){var n=t(),r=ae({h:{__:n,v:t}}),o=r[0].h,i=r[1];return de((function(){o.__=n,o.v=t,Pt(o)&&i({h:o})}),[e,n,t]),ce((function(){return Pt(o)&&i({h:o}),e((function(){Pt(o)&&i({h:o})}))}),[e]),n}function Pt(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}var Nt={useState:ae,useId:ye,useReducer:se,useEffect:ce,useLayoutEffect:de,useInsertionEffect:Et,useTransition:kt,useDeferredValue:Ct,useSyncExternalStore:At,startTransition:xt,useRef:fe,useImperativeHandle:pe,useMemo:_e,useCallback:he,useContext:ve,useDebugValue:me,version:"17.0.2",Children:Te,render:et,hydrate:tt,unmountComponentAtNode:gt,createPortal:qe,createElement:b,createContext:G,createFactory:pt,cloneElement:mt,createRef:w,Fragment:x,isValidElement:_t,isElement:It,isFragment:ht,isMemo:vt,findDOMNode:yt,Component:C,PureComponent:Pe,memo:Ne,forwardRef:De,flushSync:St,unstable_batchedUpdates:bt,StrictMode:wt,Suspense:je,SuspenseList:Be,lazy:Ue,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:dt};function Rt(){return Rt=Object.assign||function(e){for(var t=1;te instanceof ShadowRoot,Dt=e=>{const t=e.getRootNode()instanceof ShadowRoot?e.getRootNode().host:e,{dataset:n}=t,r={};for(var o in n){if(!1===n.hasOwnProperty(o))return;const e=`${(i=o.split(/(props?)/).pop()||"").charAt(0).toLowerCase()}${i.slice(1)}`;e&&(r[e]=n[o])}var i;return r},Vt=e=>["text/props","application/json"].includes(e.getAttribute("type")||""),Tt=e=>Ot(e)?[]:Array.from(e.getElementsByTagName("script")).filter(Vt),Mt=e=>Array.from(document.querySelectorAll(e)).filter(Vt),Lt=e=>{let t={};return e.forEach((e=>{try{t=Rt({},t,JSON.parse(e.innerHTML))}catch(e){}})),t},$t=(e,t,n={},r)=>{const o=Dt(t),i=e._executedScript?Dt(e._executedScript):{},l=Lt(Tt(t));return Rt({},n,o,i,r?Lt(Mt(r)):{},l)};function Ft(e,t){var n=(t=[].concat(t))[t.length-1].nextSibling;function r(t,r){e.insertBefore(t,r||n)}return e.__k={nodeType:1,parentNode:e,firstChild:t[0],childNodes:t,insertBefore:r,appendChild:r,removeChild:function(t){e.removeChild(t)}}}const jt=({island:e,widget:t,rootFragment:n,props:r})=>{e.props=r,B(b(t,r),n)},Ht=(e,t)=>{if(null==customElements.get(e)){class t extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}}customElements.define(e,t)}const n=(e=>{const t={_rootsToObservers:new WeakMap,_roots:[],_executedScript:document.currentScript,props:{},render:({selector:n,clean:r=!1,replace:o=!1,inline:i=!1,initialProps:l={},propsSelector:u,elementName:a})=>{let s=!1;const c=()=>{if(!0===s)return;const c=(({selector:e,inline:t,elementName:n})=>{const r=document.currentScript;if(t&&null!=r&&r.parentNode)return[r.parentNode];const o=null==r?void 0:r.dataset.mountIn;return o?Array.from(document.querySelectorAll(o)).map((e=>{if(null!=n){const t=document.createElement(n),r=e.appendChild(t);return null!=r.shadowRoot?r.shadowRoot:r}return e})):e?Array.from(document.querySelectorAll(e)).map((e=>null!=e.shadowRoot?e.shadowRoot:e)):[]})({selector:n,inline:i,elementName:a});if(0===c.length)return;const{rootFragments:d}=(({island:e,widget:t,hostElements:n,clean:r,replace:o,initialProps:i,propsSelector:l})=>{const u=[];return n.forEach((n=>{const a=$t(e,n,i,l);let s;if(r&&n.replaceChildren(),o)s=Ft(n.parentElement||document.body,n);else{const e=document.createElement("div");n.appendChild(e),s=Ft(n,e)}u.push(s),jt({island:e,widget:t,rootFragment:s,props:a});const c=(({island:e,hostElement:t,initialProps:n,onNewProps:r,propsSelector:o})=>{const i=new MutationObserver((function(i){i.forEach((function(){r($t(e,t,n,o))}))})),l={attributes:!0,childList:!0,characterData:!0};return e._executedScript&&i.observe(e._executedScript,l),Tt(t).forEach((e=>{i.observe(e,Rt({},l,{subtree:!0}))})),o&&Mt(o).forEach((e=>{i.observe(e,Rt({},l,{subtree:!0}))})),i.observe(Ot(t)?t.host:t,l),i})({island:e,hostElement:n,initialProps:i,onNewProps:n=>{jt({island:e,widget:t,rootFragment:s,props:n})},propsSelector:l});e._rootsToObservers.set(s,c)})),{rootFragments:u}})({island:t,widget:e,clean:r,hostElements:c,replace:o,initialProps:l,propsSelector:u});t._roots=t._roots.concat(d),s=!0};c(),document.addEventListener("DOMContentLoaded",c),document.addEventListener("load",c)},rerender:n=>{t._roots.forEach((r=>{jt({island:t,widget:e,rootFragment:r,props:Rt({},t.props,n)})}))},destroy:()=>{t._roots.forEach((e=>{var n;null==(n=t._rootsToObservers.get(e))||n.disconnect(),B(null,e)}))}};return t})(t);return Rt({},n,{render:t=>n.render(Rt({elementName:e},t)),injectStyles:e=>{n._roots.forEach((t=>{const n=document.createElement("style");n.innerHTML=e,t.parentNode.prepend(n)}))}})};var Ut=function(){return Ut=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?sn(bn,--gn):0,vn--,10===yn&&(vn=1,hn--),yn}function kn(){return yn=gn2||Pn(yn)>3?"":" "}function Vn(e,t){for(;--t&&kn()&&!(yn<48||yn>102||yn>57&&yn<65||yn>70&&yn<97););return An(e,In()+(t<6&&32==En()&&32==kn()))}function Tn(e){for(;kn();)switch(yn){case e:return gn;case 34:case 39:34!==e&&39!==e&&Tn(yn);break;case 40:41===e&&Tn(e);break;case 92:kn()}return gn}function Mn(e,t){for(;kn()&&e+yn!==57&&(e+yn!==84||47!==En()););return"/*"+An(t,gn-1)+"*"+nn(47===e?e:kn())}function Ln(e){for(;!Pn(En());)kn();return An(e,gn)}function $n(e,t){for(var n="",r=0;r6)switch(sn(e,t+1)){case 109:if(45!==sn(e,t+4))break;case 102:return un(e,/(.+:)(.+)-([^]+)/,"$1"+Kt+"$2-$3$1"+qt+(108==sn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~an(e,"stretch",0)?jn(un(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return un(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,l,u){return Gt+n+":"+r+u+(o?Gt+n+"-span:"+(i?l:+l-+r)+u:"")+e}));case 4949:if(121===sn(e,t+6))return un(e,":",":"+Kt)+e;break;case 6444:switch(sn(e,45===sn(e,14)?18:11)){case 120:return un(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Kt+(45===sn(e,14)?"inline-":"")+"box$3$1"+Kt+"$2$3$1"+Gt+"$2box$3")+e;case 100:return un(e,":",":"+Gt)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return un(e,"scroll-","scroll-snap-")+e}return e}function Hn(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Jt:return void(e.return=jn(e.value,e.length,n));case Qt:return $n([wn(e,{value:un(e.value,"@","@"+Kt)})],r);case Zt:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(ln(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":xn(wn(e,{props:[un(t,/:(read-\w+)/,":"+qt+"$1")]})),xn(wn(e,{props:[t]})),rn(e,{props:_n(n,r)});break;case"::placeholder":xn(wn(e,{props:[un(t,/:(plac\w+)/,":"+Kt+"input-$1")]})),xn(wn(e,{props:[un(t,/:(plac\w+)/,":"+qt+"$1")]})),xn(wn(e,{props:[un(t,/:(plac\w+)/,Gt+"input-$1")]})),xn(wn(e,{props:[t]})),rn(e,{props:_n(n,r)})}return""}))}}function Un(e){return Rn(Bn("",null,null,null,[""],e=Nn(e),0,[0],e))}function Bn(e,t,n,r,o,i,l,u,a){for(var s=0,c=0,d=l,f=0,p=0,_=0,h=1,v=1,m=1,g=0,y="",b=o,S=i,w=r,x=y;v;)switch(_=g,g=kn()){case 40:if(108!=_&&58==sn(x,d-1)){-1!=an(x+=un(On(g),"&","&\f"),"&\f",tn(s?u[s-1]:0))&&(m=-1);break}case 34:case 39:case 91:x+=On(g);break;case 9:case 10:case 13:case 32:x+=Dn(_);break;case 92:x+=Vn(In()-1,7);continue;case 47:switch(En()){case 42:case 47:pn(zn(Mn(kn(),In()),t,n,a),a);break;default:x+="/"}break;case 123*h:u[s++]=dn(x)*m;case 125*h:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+c:-1==m&&(x=un(x,/\f/g,"")),p>0&&dn(x)-d&&pn(p>32?Gn(x+";",r,n,d-1,a):Gn(un(x," ","")+";",r,n,d-2,a),a);break;case 59:x+=";";default:if(pn(w=Wn(x,t,n,s,c,o,u,y,b=[],S=[],d,i),i),123===g)if(0===c)Bn(x,t,w,w,b,i,d,u,S);else switch(99===f&&110===sn(x,3)?100:f){case 100:case 108:case 109:case 115:Bn(e,w,w,r&&pn(Wn(e,w,w,0,0,o,u,y,o,b=[],d,S),S),o,S,d,u,r?b:S);break;default:Bn(x,w,w,w,[""],S,0,u,S)}}s=c=p=0,h=m=1,y=x="",d=l;break;case 58:d=1+dn(x),p=_;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==Cn())continue;switch(x+=nn(g),g*h){case 38:m=c>0?1:(x+="\f",-1);break;case 44:u[s++]=(dn(x)-1)*m,m=1;break;case 64:45===En()&&(x+=On(kn())),f=En(),c=d=dn(y=x+=Ln(In())),g++;break;case 45:45===_&&2==dn(x)&&(h=0)}}return i}function Wn(e,t,n,r,o,i,l,u,a,s,c,d){for(var f=o-1,p=0===o?i:[""],_=fn(p),h=0,v=0,m=0;h0?p[g]+" "+y:un(y,/&\f/g,p[g])))&&(a[m++]=b);return Sn(e,t,n,0===o?Zt:u,a,s,c,d)}function zn(e,t,n,r){return Sn(e,t,n,Yt,nn(yn),cn(e,2,-2),0,r)}function Gn(e,t,n,r,o){return Sn(e,t,n,Jt,cn(e,0,r),cn(e,r+1,-1),r,o)}var qn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Kn="undefined"!=typeof process&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",Yn="active",Zn="data-styled-version",Jn="6.1.11",Xn="/*!sc*/\n",Qn="undefined"!=typeof window&&"HTMLElement"in window,er=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY?"false"!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&("false"!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY)),tr=(new Set,Object.freeze([])),nr=Object.freeze({});function rr(e,t,n){return void 0===n&&(n=nr),e.theme!==n.theme&&e.theme||t||n.theme}var or=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ir=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,lr=/(^-|-$)/g;function ur(e){return e.replace(ir,"-").replace(lr,"")}var ar=/(a)(d)/gi,sr=52,cr=function(e){return String.fromCharCode(e+(e>25?39:97))};function dr(e){var t,n="";for(t=Math.abs(e);t>sr;t=t/sr|0)n=cr(t%sr)+n;return(cr(t%sr)+n).replace(ar,"$1-$2")}var fr,pr=5381,_r=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},hr=function(e){return _r(pr,e)};function vr(e){return dr(hr(e)>>>0)}function mr(e){return e.displayName||e.name||"Component"}function gr(e){return"string"==typeof e&&!0}var yr="function"==typeof Symbol&&Symbol.for,br=yr?Symbol.for("react.memo"):60115,Sr=yr?Symbol.for("react.forward_ref"):60112,wr={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xr={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Cr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kr=((fr={})[Sr]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fr[br]=Cr,fr);function Er(e){return("type"in(t=e)&&t.type.$$typeof)===br?Cr:"$$typeof"in e?kr[e.$$typeof]:wr;var t}var Ir=Object.defineProperty,Ar=Object.getOwnPropertyNames,Pr=Object.getOwnPropertySymbols,Nr=Object.getOwnPropertyDescriptor,Rr=Object.getPrototypeOf,Or=Object.prototype;function Dr(e,t,n){if("string"!=typeof t){if(Or){var r=Rr(t);r&&r!==Or&&Dr(e,r,n)}var o=Ar(t);Pr&&(o=o.concat(Pr(t)));for(var i=Er(e),l=Er(t),u=0;u0?" Args: ".concat(t.join(", ")):""))}var Ur=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw Hr(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(a+="".concat(e,","))})),r+="".concat(l).concat(u,'{content:"').concat(a,'"}').concat(Xn)},i=0;i0?".".concat(t):e},c=a.slice();c.push((function(e){e.type===Zt&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(lo,n).replace(r,s))})),l.prefix&&c.push(Hn),c.push(Fn);var d=function(e,o,i,u){void 0===o&&(o=""),void 0===i&&(i=""),void 0===u&&(u="&"),t=u,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var a=e.replace(uo,""),s=Un(i||o?"".concat(i," ").concat(o," { ").concat(a," }"):a);l.namespace&&(s=ao(s,l.namespace));var d,f,p,_=[];return $n(s,(d=c.concat((p=function(e){return _.push(e)},function(e){e.root||(e=e.return)&&p(e)})),f=fn(d),function(e,t,n,r){for(var o="",i=0;i="A"&&e<="Z"};function yo(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,i)){var l=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,l)}r=Mr(r,i),this.staticRulesId=i}else{for(var u=_r(this.baseHash,n.hash),a="",s=0;s>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(a,".".concat(f),void 0,this.componentId)),r=Mr(r,f)}}return r},e}(),Eo=Nt.createContext(void 0);Eo.Consumer;var Io={};new Set;function Ao(e,t,n){var r=Tr(e),o=e,i=!gr(e),l=t.attrs,u=void 0===l?tr:l,a=t.componentId,s=void 0===a?function(e,t){var n="string"!=typeof e?"sc":ur(e);Io[n]=(Io[n]||0)+1;var r="".concat(n,"-").concat(vr(Jn+n+Io[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):a,c=t.displayName,d=void 0===c?function(e){return gr(e)?"styled.".concat(e):"Styled(".concat(mr(e),")")}(e):c,f=t.displayName&&t.componentId?"".concat(ur(t.displayName),"-").concat(t.componentId):t.componentId||s,p=r&&o.attrs?o.attrs.concat(u).filter(Boolean):u,_=t.shouldForwardProp;if(r&&o.shouldForwardProp){var h=o.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;_=function(e,t){return h(e,t)&&v(e,t)}}else _=h}var m=new ko(n,f,r?o.componentStyle:void 0);function g(e,t){return function(e,t,n){var r=e.attrs,o=e.componentStyle,i=e.defaultProps,l=e.foldedComponentIds,u=e.styledComponentId,a=e.target,s=Nt.useContext(Eo),c=ho(),d=e.shouldForwardProp||c.shouldForwardProp,f=rr(t,s,i)||nr,p=function(e,t,n){for(var r,o=Ut(Ut({},t),{className:void 0,theme:n}),i=0;i2&&io.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=Xr(),r=Lr([n&&'nonce="'.concat(n,'"'),"".concat(Kn,'="true"'),"".concat(Zn,'="').concat(Jn,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw Hr(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw Hr(2);var n=((t={})[Kn]="",t[Zn]=Jn,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=Xr();return r&&(n.nonce=r),[Nt.createElement("style",Ut({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new io({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw Hr(2);return Nt.createElement(vo,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw Hr(3)}})(),"__sc-".concat(Kn,"__");function To(){return To=Object.assign?Object.assign.bind():function(e){for(var t=1;te.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}let Lo=0;const $o=e["useId".toString()];function Fo(e){if(void 0!==$o){const t=$o();return null!=e?e:t}return function(e){const[t,n]=ae(e),r=e||t;return ce((()=>{null==t&&(Lo+=1,n(`mui-${Lo}`))}),[t]),r}(e)}const jo="undefined"!=typeof window?de:ce,Ho={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};class Uo{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Uo}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let Bo=!0,Wo=!1;const zo=new Uo,Go={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function qo(e){e.metaKey||e.altKey||e.ctrlKey||(Bo=!0)}function Ko(){Bo=!1}function Yo(){"hidden"===this.visibilityState&&Wo&&(Bo=!0)}function Zo(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Bo||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Go[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Jo(){const e=he((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",qo,!0),t.addEventListener("mousedown",Ko,!0),t.addEventListener("pointerdown",Ko,!0),t.addEventListener("touchstart",Ko,!0),t.addEventListener("visibilitychange",Yo,!0))}),[]),t=fe(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Zo(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Wo=!0,zo.start(100,(()=>{Wo=!1})),t.current=!1,!0)},ref:e}}function Xo(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function Qo(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:r,rootRef:o,tabIndex:i,to:l,type:u,rootElementName:a}=e,s=fe(),[c,d]=ae(!1),{isFocusVisibleRef:f,onFocus:p,onBlur:_,ref:h}=Jo(),[v,m]=ae(!1);t&&!n&&v&&m(!1),ce((()=>{f.current=v}),[v,f]);const[g,y]=function(e){const{rootElementName:t="",componentName:n}=e,[r,o]=ae(t.toUpperCase());return[r,he((e=>{var t;o(null!=(t=null==e?void 0:e.tagName)?t:"")}),[])]}({rootElementName:null!=a?a:r||l?"a":void 0,componentName:"Button"}),b=e=>t=>{var n;v&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},S=e=>t=>{var n,r;(s.current||(s.current=t.currentTarget),p(t),!0===f.current)&&(m(!0),null==(r=e.onFocusVisible)||r.call(e,t));null==(n=e.onFocus)||n.call(e,t)},w=()=>{const e=s.current;return"BUTTON"===g||"INPUT"===g&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===g&&(null==e?void 0:e.href)},x=e=>n=>{var r;t||(null==(r=e.onClick)||r.call(e,n))},C=e=>n=>{var r;t||(d(!0),document.addEventListener("mouseup",(()=>{d(!1)}),{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},k=e=>n=>{var r,o;(null==(r=e.onKeyDown)||r.call(e,n),n.defaultMuiPrevented)||(n.target!==n.currentTarget||w()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||d(!0),n.target!==n.currentTarget||w()||"Enter"!==n.key||t||(null==(o=e.onClick)||o.call(e,n),n.preventDefault()))},E=e=>n=>{var r,o;(n.target===n.currentTarget&&d(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||w()||t||" "!==n.key||n.defaultMuiPrevented)||(null==(o=e.onClick)||o.call(e,n))},I=Mo(y,o,h,s),A={};void 0!==i&&(A.tabIndex=i),"BUTTON"===g?(A.type=null!=u?u:"button",n?A["aria-disabled"]=t:A.disabled=t):"INPUT"===g?u&&["button","submit","reset"].includes(u)&&(n?A["aria-disabled"]=t:A.disabled=t):""!==g&&(r||l||(A.role="button",A.tabIndex=null!=i?i:0),t&&(A["aria-disabled"]=t,A.tabIndex=n?null!=i?i:0:-1));return{getRootProps:(t={})=>{const n=To({},Xo(e),Xo(t)),r=To({type:u},n,A,t,{onBlur:(o=n,e=>{var t;_(e),!1===f.current&&m(!1),null==(t=o.onBlur)||t.call(o,e)}),onClick:x(n),onFocus:S(n),onKeyDown:k(n),onKeyUp:E(n),onMouseDown:C(n),onMouseLeave:b(n),ref:I});var o;return delete r.onFocusVisible,r},focusVisible:v,setFocusVisible:m,active:c,rootRef:I}}const ei={buttonClick:"buttonClick",browserAutoFill:"browserAutoFill"},ti={blur:"list:blur",focus:"list:focus",itemClick:"list:itemClick",itemHover:"list:itemHover",itemsChange:"list:itemsChange",keyDown:"list:keyDown",resetHighlight:"list:resetHighlight",highlightLast:"list:highlightLast",textNavigation:"list:textNavigation",clearSelection:"list:clearSelection"};function ni(e,t,n){var r;const{items:o,isItemDisabled:i,disableListWrap:l,disabledItemsFocusable:u,itemComparer:a,focusManagement:s}=n,c="DOM"===s?0:-1,d=o.length-1,f=null==e?-1:o.findIndex((t=>a(t,e)));let p,_,h=!l;switch(t){case"reset":if(-1===c)return null;p=0,_="next",h=!1;break;case"start":p=0,_="next",h=!1;break;case"end":p=d,_="previous",h=!1;break;default:{const e=f+t;e<0?!h&&-1!==f||Math.abs(t)>1?(p=0,_="next"):(p=d,_="previous"):e>d?!h||Math.abs(t)>1?(p=d,_="previous"):(p=0,_="next"):(p=e,_=t>=0?"next":"previous")}}const v=function(e,t,n,r,o,i){if(0===n.length||!r&&n.every(((e,t)=>o(e,t))))return-1;let l=e;for(;;){if(!i&&"next"===t&&l===n.length||!i&&"previous"===t&&-1===l)return-1;if(r||!o(n[l],l))return l;l+="next"===t?1:-1,i&&(l=(l+n.length)%n.length)}}(p,_,o,u,i,h);return-1!==v||null===e||i(e,f)?null!=(r=o[v])?r:null:e}function ri(e,t,n){const{itemComparer:r,isItemDisabled:o,selectionMode:i,items:l}=n,{selectedValues:u}=t,a=l.findIndex((t=>r(e,t)));if(o(e,a))return t;const s=function(e,t,n,r){return"none"===n?[]:"single"===n?r(t[0],e)?t:[e]:t.some((t=>r(t,e)))?t.filter((t=>!r(t,e))):[...t,e]}(e,u,i,r);return To({},t,{selectedValues:s,highlightedValue:e})}function oi(e,t,n){var r;const o=null==(r=n(e))?void 0:r.trim().toLowerCase();return!(!o||0===o.length)&&0===o.indexOf(t)}function ii(e,t){const{type:n,context:r}=t;switch(n){case ti.keyDown:return function(e,t,n){const r=t.highlightedValue,{orientation:o,pageSize:i}=n;switch(e){case"Home":return To({},t,{highlightedValue:ni(r,"start",n)});case"End":return To({},t,{highlightedValue:ni(r,"end",n)});case"PageUp":return To({},t,{highlightedValue:ni(r,-i,n)});case"PageDown":return To({},t,{highlightedValue:ni(r,i,n)});case"ArrowUp":if("vertical"!==o)break;return To({},t,{highlightedValue:ni(r,-1,n)});case"ArrowDown":if("vertical"!==o)break;return To({},t,{highlightedValue:ni(r,1,n)});case"ArrowLeft":if("vertical"===o)break;return To({},t,{highlightedValue:ni(r,"horizontal-ltr"===o?-1:1,n)});case"ArrowRight":if("vertical"===o)break;return To({},t,{highlightedValue:ni(r,"horizontal-ltr"===o?1:-1,n)});case"Enter":case" ":return null===t.highlightedValue?t:ri(t.highlightedValue,t,n)}return t}(t.key,e,r);case ti.itemClick:return ri(t.item,e,r);case ti.blur:return function(e,t){return"DOM"===t.focusManagement?e:To({},e,{highlightedValue:null})}(e,r);case ti.textNavigation:return function(e,t,n){const{items:r,isItemDisabled:o,disabledItemsFocusable:i,getItemAsString:l}=n,u=t.length>1;let a=u?e.highlightedValue:ni(e.highlightedValue,1,n);for(let s=0;si(e,n.highlightedValue))))?a:null:"DOM"===l&&0===t.length&&(u=ni(null,"reset",r));const s=(null!=(o=n.selectedValues)?o:[]).filter((t=>e.some((e=>i(e,t)))));return To({},n,{highlightedValue:u,selectedValues:s})}(t.items,t.previousItems,e,r);case ti.resetHighlight:return function(e,t){return To({},e,{highlightedValue:ni(null,"reset",t)})}(e,r);case ti.highlightLast:return function(e,t){return To({},e,{highlightedValue:ni(null,"end",t)})}(e,r);case ti.clearSelection:return function(e,t){return To({},e,{selectedValues:[],highlightedValue:ni(null,"reset",t)})}(e,r);default:return e}}function li(e,t){return e===t}const ui={},ai=()=>{};function si(e,t){const n=To({},e);return Object.keys(t).forEach((e=>{void 0!==t[e]&&(n[e]=t[e])})),n}function ci(e){const t=fe(null),{reducer:n,initialState:r,controlledProps:o=ui,stateComparers:i=ui,onStateChange:l=ai,actionContext:u,componentName:a=""}=e;fe(o);const s=he(((e,r)=>{t.current=r;const i=si(e,o);return n(i,r)}),[o,n]),[c,d]=se(s,r),f=he((e=>{d(To({},e,{context:u}))}),[u]);return function(e){const{nextState:t,initialState:n,stateComparers:r,onStateChange:o,controlledProps:i,lastActionRef:l}=e,u=fe(n);ce((()=>{if(null===l.current)return;const e=si(u.current,i);Object.keys(t).forEach((n=>{var i;const u=null!=(i=r[n])?i:li,a=t[n],s=e[n];var c,d;(null==s&&null!=a||null!=s&&null==a||null!=s&&null!=a&&!u(a,s))&&(null==o||o(null!=(c=l.current.event)?c:null,n,a,null!=(d=l.current.type)?d:"",t))})),u.current=t,l.current=null}),[u,t,l,o,r,i])}({nextState:c,initialState:r,stateComparers:null!=i?i:ui,onStateChange:null!=l?l:ai,controlledProps:o,lastActionRef:t}),[si(c,o),f]}function di(e,t,n=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))}const fi=500;const pi={},_i=()=>{},hi=(e,t)=>e===t,vi=()=>!1,mi=e=>"string"==typeof e?e:String(e),gi=()=>({highlightedValue:null,selectedValues:[]});function yi(e){const{controlledProps:t=pi,disabledItemsFocusable:n=!1,disableListWrap:r=!1,focusManagement:o="activeDescendant",getInitialState:i=gi,getItemDomElement:l,getItemId:u,isItemDisabled:a=vi,rootRef:s,onStateChange:c=_i,items:d,itemComparer:f=hi,getItemAsString:p=mi,onChange:_,onHighlightChange:h,onItemsChange:v,orientation:m="vertical",pageSize:g=5,reducerActionContext:y=pi,selectionMode:b="single",stateReducer:S,componentName:w="useList"}=e;const x=fe(null),C=Mo(s,x),k=he(((e,t,n)=>{var r;(null==h||h(e,t,n),"DOM"!==o||null==t||n!==ti.itemClick&&n!==ti.keyDown&&n!==ti.textNavigation)||(null==l||null==(r=l(t))||r.focus())}),[l,h,o]),E=_e((()=>({highlightedValue:f,selectedValues:(e,t)=>di(e,t,f)})),[f]),I=he(((e,t,n,r,o)=>{switch(null==c||c(e,t,n,r,o),t){case"highlightedValue":k(e,n,r);break;case"selectedValues":null==_||_(e,n,r)}}),[k,_,c]),A=_e((()=>({disabledItemsFocusable:n,disableListWrap:r,focusManagement:o,isItemDisabled:a,itemComparer:f,items:d,getItemAsString:p,onHighlightChange:k,orientation:m,pageSize:g,selectionMode:b,stateComparers:E})),[n,r,o,a,f,d,p,k,m,g,b,E]),P=i(),N=null!=S?S:ii,R=_e((()=>To({},y,A)),[y,A]),[O,D]=ci({reducer:N,actionContext:R,initialState:P,controlledProps:t,stateComparers:E,onStateChange:I,componentName:w}),{highlightedValue:V,selectedValues:T}=O,M=function(e){const t=fe({searchString:"",lastTime:null});return he((n=>{if(1===n.key.length&&" "!==n.key){const r=t.current,o=n.key.toLowerCase(),i=performance.now();r.searchString.length>0&&r.lastTime&&i-r.lastTime>fi?r.searchString=o:1===r.searchString.length&&o===r.searchString||(r.searchString+=o),r.lastTime=i,e(r.searchString,n)}}),[e])}(((e,t)=>D({type:ti.textNavigation,event:t,searchString:e}))),L=fe([]);ce((()=>{di(L.current,d,f)||(D({type:ti.itemsChange,event:null,items:d,previousItems:L.current}),L.current=d,null==v||v(d))}),[d,f,D,v]);const $=e=>t=>{var n;if(null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented)return;const r=["Home","End","PageUp","PageDown"];"vertical"===m?r.push("ArrowUp","ArrowDown"):r.push("ArrowLeft","ArrowRight"),"activeDescendant"===o&&r.push(" ","Enter"),r.includes(t.key)&&t.preventDefault(),D({type:ti.keyDown,key:t.key,event:t}),M(t)},F=he((e=>{const t=(null!=T?T:[]).some((t=>null!=t&&f(e,t))),n=null!=V&&f(e,V);return{focusable:"DOM"===o,highlighted:n,selected:t}}),[f,T,V,o]),j=_e((()=>({dispatch:D,getItemState:F})),[D,F]);return me({state:O}),{contextValue:j,dispatch:D,getRootProps:(e={})=>{const t=Xo(e);return To({},e,{"aria-activedescendant":"activeDescendant"===o&&null!=V?u(V):void 0,tabIndex:"DOM"===o?-1:0,ref:C},t,{onBlur:(n=t,e=>{var t,r;null==(t=n.onBlur)||t.call(n,e),e.defaultMuiPrevented||null!=(r=x.current)&&r.contains(e.relatedTarget)||D({type:ti.blur,event:e})}),onKeyDown:$(t)});var n},rootRef:C,state:O}}const bi=e=>{const{label:t,value:n}=e;return"string"==typeof t?t:"string"==typeof n?n:String(e)},Si=G(null);function wi(){const[e,t]=ae(new Map),n=fe(new Set),r=he((function(e){n.current.delete(e),t((t=>{const n=new Map(t);return n.delete(e),n}))}),[]),o=he((function(e,o){let i;return i="function"==typeof e?e(n.current):e,n.current.add(i),t((e=>{const t=new Map(e);return t.set(i,o),t})),{id:i,deregister:()=>r(i)}}),[r]),i=_e((()=>function(e){const t=Array.from(e.keys()).map((t=>({key:t,subitem:e.get(t)})));return t.sort(((e,t)=>{const n=e.subitem.ref.current,r=t.subitem.ref.current;return null===n||null===r||n===r?0:n.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING?1:-1})),new Map(t.map((e=>[e.key,e.subitem])))}(e)),[e]),l=he((function(e){return Array.from(i.keys()).indexOf(e)}),[i]);return{contextValue:_e((()=>({getItemIndex:l,registerItem:o,totalSubitemCount:e.size})),[l,o,e.size]),subitems:i}}function xi(e,t){const{open:n}=e,{context:{selectionMode:r}}=t;if(t.type===ei.buttonClick){var o;const r=null!=(o=e.selectedValues[0])?o:ni(null,"start",t.context);return To({},e,{open:!n,highlightedValue:n?null:r})}if(t.type===ei.browserAutoFill)return ri(t.item,e,t.context);const i=ii(e,t);switch(t.type){case ti.keyDown:if(e.open){if("Escape"===t.event.key)return To({},i,{open:!1})}else{var l,u;if("ArrowDown"===t.event.key)return To({},e,{open:!0,highlightedValue:null!=(l=e.selectedValues[0])?l:ni(null,"start",t.context)});if("ArrowUp"===t.event.key)return To({},e,{open:!0,highlightedValue:null!=(u=e.selectedValues[0])?u:ni(null,"end",t.context)})}break;case ti.itemClick:if("single"===r)return To({},i,{open:!1});break;case ti.blur:return To({},i,{open:!1});default:return i}return i}function Ci(e,t){return function(n={}){const r=To({},n,e(n));return To({},r,t(r))}}function ki(e){return Array.isArray(e)?0===e.length?"":JSON.stringify(e.map((e=>e.value))):null==(null==e?void 0:e.value)?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}function Ei(e){const{areOptionsEqual:t,buttonRef:n,defaultOpen:r=!1,defaultValue:o,disabled:i=!1,listboxId:l,listboxRef:u,multiple:a=!1,name:s,required:c,onChange:d,onHighlightChange:f,onOpenChange:p,open:_,options:h,getOptionAsString:v=bi,getSerializedValue:m=ki,value:g,componentName:y="useSelect"}=e,b=fe(null),S=Mo(n,b),x=fe(null),C=Fo(l);let k;void 0===g&&void 0===o?k=[]:void 0!==o&&(k=a?o:null==o?[]:[o]);const E=_e((()=>{if(void 0!==g)return a?g:null==g?[]:[g]}),[g,a]),{subitems:I,contextValue:A}=wi(),P=_e((()=>null!=h?new Map(h.map(((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:w(),id:`${C}_${t}`}]))):I),[h,I,C]),N=Mo(u,x),{getRootProps:R,active:O,focusVisible:D,rootRef:V}=Qo({disabled:i,rootRef:S}),T=_e((()=>Array.from(P.keys())),[P]),M=he((e=>{if(void 0!==t){const n=T.find((n=>t(n,e)));return P.get(n)}return P.get(e)}),[P,t,T]),L=he((e=>{var t;const n=M(e);return null!=(t=null==n?void 0:n.disabled)&&t}),[M]),$=he((e=>{const t=M(e);return t?v(t):""}),[M,v]),F=_e((()=>({selectedValues:E,open:_})),[E,_]),j=he((e=>{var t;return null==(t=P.get(e))?void 0:t.id}),[P]),H=he(((e,t)=>{var n;a?null==d||d(e,t):null==d||d(e,null!=(n=t[0])?n:null)}),[a,d]),U=he(((e,t)=>{null==f||f(e,null!=t?t:null)}),[f]),B=he(((e,t,n)=>{var r;"open"===t&&(null==p||p(n),!1===n&&"blur"!==(null==e?void 0:e.type)&&(null==(r=b.current)||r.focus()))}),[p]),W={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=k)?e:[],open:r}},getItemId:j,controlledProps:F,focusManagement:"DOM",getItemDomElement:he((e=>{var t,n;return null==e?null:null!=(t=null==(n=I.get(e))?void 0:n.ref.current)?t:null}),[I]),itemComparer:t,isItemDisabled:L,rootRef:N,onChange:H,onHighlightChange:U,onStateChange:B,reducerActionContext:_e((()=>({multiple:a})),[a]),items:T,getItemAsString:$,selectionMode:a?"multiple":"single",stateReducer:xi,componentName:y},{dispatch:z,getRootProps:G,contextValue:q,state:{open:K,highlightedValue:Y,selectedValues:Z},rootRef:J}=yi(W),X=fe(K);jo((()=>{if(K&&null!==Y){var e;const t=null==(e=M(Y))?void 0:e.ref;if(!x.current||null==t||!t.current)return;X.current||t.current.focus({preventScroll:!0});const n=x.current.getBoundingClientRect(),r=t.current.getBoundingClientRect();r.topn.bottom&&(x.current.scrollTop+=r.bottom-n.bottom)}}),[K,Y,M]);const Q=he((e=>M(e)),[M]),ee=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),z({type:ti.keyDown,key:t.key,event:t}))},te=(e={})=>To({},e,((e={})=>{return{onClick:(t=e,e=>{var n;if(null==t||null==(n=t.onClick)||n.call(t,e),!e.defaultMuiPrevented){const t={type:ei.buttonClick,event:e};z(t)}}),onKeyDown:ee(e)};var t})(e),{role:"combobox","aria-expanded":K,"aria-controls":C}),ne=e=>t=>{var n,r;null==(n=e.onBlur)||n.call(e,t),t.defaultMuiPrevented||(null!=(r=x.current)&&r.contains(t.relatedTarget)||t.relatedTarget===b.current)&&(t.defaultMuiPrevented=!0)},re=(e={})=>({onBlur:ne(e)});me({selectedOptions:Z,highlightedOption:Y,open:K});const oe=_e((()=>To({},q,A)),[q,A]);let ie,le;var ue;(ie=e.multiple?Z:Z.length>0?Z[0]:null,a)?le=ie.map((e=>Q(e))).filter((e=>void 0!==e)):le=null!=(ue=Q(ie))?ue:null;const ae=e=>t=>{var n;if(null==e||null==(n=e.onChange)||n.call(e,t),t.defaultMuiPrevented)return;const r=P.get(t.target.value);""===t.target.value?z({type:ti.clearSelection}):void 0!==r&&z({type:ei.browserAutoFill,item:r.value,event:t})};return{buttonActive:O,buttonFocusVisible:D,buttonRef:V,contextValue:oe,disabled:i,dispatch:z,getButtonProps:(e={})=>{const t=Xo(e);return To({},e,Ci(te,R)(t))},getHiddenInputProps:(e={})=>{const t=Xo(e);return To({name:s,tabIndex:-1,"aria-hidden":!0,required:!!c||void 0,value:m(le),style:Ho},e,{onChange:ae(t)})},getListboxProps:(e={})=>{const t=Xo(e),n=Ci(re,G);return To({id:C,role:"listbox","aria-multiselectable":a?"true":void 0},e,n(t))},getOptionMetadata:Q,listboxRef:J,open:K,options:T,value:ie,highlightedOption:Y}}const Ii=G(null);var Ai=0;Array.isArray;function Pi(e,t,n,r,i,l){t||(t={});var u,a,s=t;if("ref"in s)for(a in s={},t)"ref"==a?u=t[a]:s[a]=t[a];var c={type:e,props:s,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Ai,__i:-1,__u:0,__source:i,__self:l};if("function"==typeof e&&(u=e.defaultProps))for(a in u)void 0===s[a]&&(s[a]=u[a]);return o.vnode&&o.vnode(c),c}function Ni(e){const{value:t,children:n}=e,{dispatch:r,getItemIndex:o,getItemState:i,registerItem:l,totalSubitemCount:u}=t,a=_e((()=>({dispatch:r,getItemState:i,getItemIndex:o})),[r,o,i]),s=_e((()=>({getItemIndex:o,registerItem:l,totalSubitemCount:u})),[l,o,u]);return Pi(Si.Provider,{value:s,children:Pi(Ii.Provider,{value:a,children:n})})}function Ri(e){const{value:t,label:n,disabled:r,rootRef:o,id:i}=e,{getRootProps:l,highlighted:u,selected:a}=function(e){const{handlePointerOverEvents:t=!1,item:n}=e,r=ve(Ii);if(!r)throw new Error("useListItem must be used within a ListProvider");const{dispatch:o,getItemState:i}=r,{highlighted:l,selected:u,focusable:a}=i(n),s=he((e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultPrevented||o({type:ti.itemClick,item:n,event:t})}),[o,n]),c=he((e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t),t.defaultPrevented||o({type:ti.itemHover,item:n,event:t})}),[o,n]);let d;return a&&(d=l?0:-1),{getRootProps:(e={})=>{const n=Xo(e);return To({},e,{onClick:s(n),onPointerOver:t?c(n):void 0,tabIndex:d})},highlighted:l,selected:u}}({item:t}),{getRootProps:s,rootRef:c}=Qo({disabled:r,focusableWhenDisabled:!0}),d=Fo(i),f=fe(null),p=_e((()=>({disabled:r,label:n,value:t,ref:f,id:d})),[r,n,t,d]),{index:_}=function(e,t){const n=ve(Si);if(null===n)throw new Error("useCompoundItem must be used within a useCompoundParent");const{registerItem:r}=n,[o,i]=ae("function"==typeof e?void 0:e);return jo((()=>{const{id:n,deregister:o}=r(e,t);return i(n),o}),[r,t,e]),{id:o,index:void 0!==o?n.getItemIndex(o):-1,totalItemCount:n.totalSubitemCount}}(t,p),h=Mo(o,f,c),v=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||[" ","Enter"].includes(t.key)&&(t.defaultMuiPrevented=!0)},m=(e={})=>({onKeyDown:v(e)});return{getRootProps:(e={})=>{const t=Xo(e);return To({},e,t,Ci(l,Ci(s,m))(t),{id:d,ref:h,role:"option","aria-selected":a})},highlighted:u,index:_,selected:a,rootRef:h}}const Oi=De((function({title:e,titleId:t,...n},r){return b("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?b("title",{id:t},e):null,b("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))})),Di=e=>{const t=fe(!1),n=fe(!1),r=n=>{!t.current&&e&&setTimeout((()=>{e(n)}),10),t.current=!1},o=t=>{!n.current&&e&&setTimeout((()=>{e(t)}),10),n.current=!1};return ce((()=>(document.addEventListener("mousedown",r),document.addEventListener("focusin",o),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("focusin",o),document.removeEventListener("touchstart",r)})),[]),{onMouseDown:()=>t.current=!0,onFocus:()=>n.current=!0,onTouchStart:()=>t.current=!0}},Vi=Vo.span` +!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,(()=>(()=>{var e={72:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),l=Object.keys(t);if(i.length!==l.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),a=0;a{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return(()=>{"use strict";n.r(r);var e={};n.r(e),n.d(e,{Children:()=>Ve,Component:()=>S,Fragment:()=>b,PureComponent:()=>Ie,StrictMode:()=>bt,Suspense:()=>Fe,SuspenseList:()=>Be,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>ct,cloneElement:()=>ht,createContext:()=>z,createElement:()=>m,createFactory:()=>ft,createPortal:()=>Ge,createRef:()=>y,default:()=>It,findDOMNode:()=>mt,flushSync:()=>yt,forwardRef:()=>Oe,hydrate:()=>et,isElement:()=>kt,isFragment:()=>_t,isValidElement:()=>pt,lazy:()=>He,memo:()=>Pe,render:()=>Qe,startTransition:()=>St,unmountComponentAtNode:()=>vt,unstable_batchedUpdates:()=>gt,useCallback:()=>_e,useContext:()=>he,useDebugValue:()=>ve,useDeferredValue:()=>wt,useEffect:()=>se,useErrorBoundary:()=>me,useId:()=>ge,useImperativeHandle:()=>fe,useInsertionEffect:()=>Ct,useLayoutEffect:()=>ce,useMemo:()=>pe,useReducer:()=>ae,useRef:()=>de,useState:()=>ue,useSyncExternalStore:()=>Et,useTransition:()=>xt,version:()=>dt});var t,o,i,l,u,a,s,c,d={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,_=Array.isArray;function h(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,n,r){var o,i,l,u={};for(l in n)"key"==l?o=n[l]:"ref"==l?i=n[l]:u[l]=n[l];if(arguments.length>2&&(u.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===u[l]&&(u[l]=e.defaultProps[l]);return g(e,u,o,i,null)}function g(e,t,n,r,l){var u={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++i:l,__i:-1,__u:0};return null==l&&null!=o.vnode&&o.vnode(u),u}function y(){return{current:null}}function b(e){return e.children}function S(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__i+1):null;for(var n;tn?($(r,t,i),i.length=r.length=0,t=void 0,l.sort(s)):t&&o.__c&&o.__c(t,f));t&&$(r,t,i),E.__r=0}function A(e,t,n,r,o,i,l,u,a,s,c){var p,_,h,v,m,g=r&&r.__k||f,y=t.length;for(n.__d=a,I(n,t,g),a=n.__d,p=0;p0?g(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,u=R(o,n,l=r+d,c),o.__i=u,i=null,-1!==u&&(c--,(i=n[u])&&(i.__u|=131072)),null==i||null===i.__v?(-1==u&&d--,"function"!=typeof o.type&&(o.__u|=65536)):u!==l&&(u===l+1?d++:u>l?c>a-l?d+=u-l:d--:d=u(null!=a&&0==(131072&a.__u)?1:0))for(;l>=0||u=0){if((a=t[l])&&0==(131072&a.__u)&&o==a.key&&i===a.type)return l;l--}if(u2&&(a.children=arguments.length>3?t.call(arguments,2):r),g(e.type,a,o||e.key,i||e.ref,null)}function z(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,k(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}t=f.slice,o={__e:function(e,t,n,r){for(var o,i,l;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),l=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),l=o.__d),l)return o.__E=o}catch(t){e=t}throw e}},i=0,S.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),k(this))},S.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),k(this))},S.prototype.render=b,l=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,t){return e.__v.__b-t.__v.__b},E.__r=0,c=0;var G,q,K,Y,Z=0,J=[],X=[],Q=o,ee=Q.__b,te=Q.__r,ne=Q.diffed,re=Q.__c,oe=Q.unmount,ie=Q.__;function le(e,t){Q.__h&&Q.__h(q,e,Z||t),Z=0;var n=q.__H||(q.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:X}),n.__[e]}function ue(e){return Z=1,ae(ke,e)}function ae(e,t,n){var r=le(G++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ke(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=q,!q.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var l=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}})),!(!l&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};q.u=!0;var i=q.shouldComponentUpdate,l=q.componentWillUpdate;q.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}l&&l.call(this,e,t,n)},q.shouldComponentUpdate=o}return r.__N||r.__}function se(e,t){var n=le(G++,3);!Q.__s&&Ce(n.__H,t)&&(n.__=e,n.i=t,q.__H.__h.push(n))}function ce(e,t){var n=le(G++,4);!Q.__s&&Ce(n.__H,t)&&(n.__=e,n.i=t,q.__h.push(n))}function de(e){return Z=5,pe((function(){return{current:e}}),[])}function fe(e,t,n){Z=6,ce((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function pe(e,t){var n=le(G++,7);return Ce(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function _e(e,t){return Z=8,pe((function(){return e}),t)}function he(e){var t=q.context[e.__c],n=le(G++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(q)),t.props.value):e.__}function ve(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function me(e){var t=le(G++,10),n=ue();return t.__=e,q.componentDidCatch||(q.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function ge(){var e=le(G++,11);if(!e.__){for(var t=q.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ye(){for(var e;e=J.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(we),e.__H.__h.forEach(xe),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){q=null,ee&&ee(e)},Q.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ie&&ie(e,t)},Q.__r=function(e){te&&te(e),G=0;var t=(q=e.__c).__H;t&&(K===q?(t.__h=[],q.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=X,e.__N=e.i=void 0}))):(t.__h.forEach(we),t.__h.forEach(xe),t.__h=[],G=0)),K=q},Q.diffed=function(e){ne&&ne(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==J.push(t)&&Y===Q.requestAnimationFrame||((Y=Q.requestAnimationFrame)||Se)(ye)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==X&&(e.__=e.__V),e.i=void 0,e.__V=X}))),K=q=null},Q.__c=function(e,t){t.some((function(e){try{e.__h.forEach(we),e.__h=e.__h.filter((function(e){return!e.__||xe(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Q.__e(n,e.__v)}})),re&&re(e,t)},Q.unmount=function(e){oe&&oe(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{we(e)}catch(e){t=e}})),n.__H=void 0,t&&Q.__e(t,n.__v))};var be="function"==typeof requestAnimationFrame;function Se(e){var t,n=function(){clearTimeout(r),be&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);be&&(t=requestAnimationFrame(n))}function we(e){var t=q,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),q=t}function xe(e){var t=q;e.__c=e.__(),q=t}function Ce(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ke(e,t){return"function"==typeof t?t(e):t}function Ee(e,t){for(var n in t)e[n]=t[n];return e}function Ae(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Ie(e,t){this.props=e,this.context=t}function Pe(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Ae(this.props,e)}function r(t){return this.shouldComponentUpdate=n,m(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Ie.prototype=new S).isPureReactComponent=!0,Ie.prototype.shouldComponentUpdate=function(e,t){return Ae(this.props,e)||Ae(this.state,t)};var Ne=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ne&&Ne(e)};var Re="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Oe(e){function t(t){var n=Ee({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Re,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var De=function(e,t){return null==e?null:N(N(e).map(t))},Ve={map:De,forEach:De,count:function(e){return e?N(e).length:0},only:function(e){var t=N(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:N},Te=o.__e;o.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Te(e,t,n,r)};var Me=o.unmount;function $e(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Ee({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return $e(e,t,n)}))),e}function Le(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Le(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Fe(){this.__u=0,this.t=null,this.__b=null}function je(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function He(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return m(n,o)}return o.displayName="Lazy",o.__f=!0,o}function Be(){this.u=null,this.o=null}o.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Me&&Me(e)},(Fe.prototype=new S).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=je(r.__v),i=!1,l=function(){i||(i=!0,n.__R=null,o?o(u):u())};n.__R=l;var u=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Le(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(l,l)},Fe.prototype.componentWillUnmount=function(){this.t=[]},Fe.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=$e(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&m(b,null,e.fallback);return o&&(o.__u&=-33),[m(b,null,t.__a?null:e.children),o]};var Ue=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),B(m(We,{context:t.context},e.__v),t.l)}function Ge(e,t){var n=m(ze,{__v:e,i:t});return n.containerInfo=t,n}(Be.prototype=new S).__a=function(e){var t=this,n=je(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Ue(t,e,r)):o()};n?n(i):i()}},Be.prototype.render=function(e){this.u=null,this.o=new Map;var t=N(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Be.prototype.componentDidUpdate=Be.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Ue(e,n,t)}))};var qe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ke=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ye=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ze=/[A-Z0-9]/g,Je="undefined"!=typeof document,Xe=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function Qe(e,t,n){return null==t.__k&&(t.textContent=""),B(e,t),"function"==typeof n&&n(),e?e.__c:null}function et(e,t,n){return U(e,t),"function"==typeof n&&n(),e?e.__c:null}S.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(S.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var tt=o.event;function nt(){}function rt(){return this.cancelBubble}function ot(){return this.defaultPrevented}o.event=function(e){return tt&&(e=tt(e)),e.persist=nt,e.isPropagationStopped=rt,e.isDefaultPrevented=ot,e.nativeEvent=e};var it,lt={enumerable:!1,configurable:!0,get:function(){return this.class}},ut=o.vnode;o.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||Je&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||Xe(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Ye.test(o)?o=l:-1===n.indexOf("-")&&Ke.test(o)?o=o.replace(Ze,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&r[o=l]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=N(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=N(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",lt)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=qe,ut&&ut(e)};var at=o.__r;o.__r=function(e){at&&at(e),it=e.__c};var st=o.diffed;o.diffed=function(e){st&&st(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),it=null};var ct={ReactCurrentDispatcher:{current:{readContext:function(e){return it.__n[e.__c].props.value}}}},dt="17.0.2";function ft(e){return m.bind(null,e)}function pt(e){return!!e&&e.$$typeof===qe}function _t(e){return pt(e)&&e.type===b}function ht(e){return pt(e)?W.apply(null,arguments):e}function vt(e){return!!e.__k&&(B(null,e),!0)}function mt(e){return e&&(e.base||1===e.nodeType&&e)||null}var gt=function(e,t){return e(t)},yt=function(e,t){return e(t)},bt=b;function St(e){e()}function wt(e){return e}function xt(){return[!1,St]}var Ct=ce,kt=pt;function Et(e,t){var n=t(),r=ue({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ce((function(){o.__=n,o.v=t,At(o)&&i({h:o})}),[e,n,t]),se((function(){return At(o)&&i({h:o}),e((function(){At(o)&&i({h:o})}))}),[e]),n}function At(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}var It={useState:ue,useId:ge,useReducer:ae,useEffect:se,useLayoutEffect:ce,useInsertionEffect:Ct,useTransition:xt,useDeferredValue:wt,useSyncExternalStore:Et,startTransition:St,useRef:de,useImperativeHandle:fe,useMemo:pe,useCallback:_e,useContext:he,useDebugValue:ve,version:"17.0.2",Children:Ve,render:Qe,hydrate:et,unmountComponentAtNode:vt,createPortal:Ge,createElement:m,createContext:z,createFactory:ft,cloneElement:ht,createRef:y,Fragment:b,isValidElement:pt,isElement:kt,isFragment:_t,findDOMNode:mt,Component:S,PureComponent:Ie,memo:Pe,forwardRef:Oe,flushSync:yt,unstable_batchedUpdates:gt,StrictMode:bt,Suspense:Fe,SuspenseList:Be,lazy:He,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ct};function Pt(){return Pt=Object.assign||function(e){for(var t=1;te instanceof ShadowRoot,Rt=e=>{const t=e.getRootNode()instanceof ShadowRoot?e.getRootNode().host:e,{dataset:n}=t,r={};for(var o in n){if(!1===n.hasOwnProperty(o))return;const e=`${(i=o.split(/(props?)/).pop()||"").charAt(0).toLowerCase()}${i.slice(1)}`;e&&(r[e]=n[o])}var i;return r},Ot=e=>["text/props","application/json"].includes(e.getAttribute("type")||""),Dt=e=>Nt(e)?[]:Array.from(e.getElementsByTagName("script")).filter(Ot),Vt=e=>Array.from(document.querySelectorAll(e)).filter(Ot),Tt=e=>{let t={};return e.forEach((e=>{try{t=Pt({},t,JSON.parse(e.innerHTML))}catch(e){}})),t},Mt=(e,t,n={},r)=>{const o=Rt(t),i=e._executedScript?Rt(e._executedScript):{},l=Tt(Dt(t));return Pt({},n,o,i,r?Tt(Vt(r)):{},l)};function $t(e,t){var n=(t=[].concat(t))[t.length-1].nextSibling;function r(t,r){e.insertBefore(t,r||n)}return e.__k={nodeType:1,parentNode:e,firstChild:t[0],childNodes:t,insertBefore:r,appendChild:r,removeChild:function(t){e.removeChild(t)}}}const Lt=({island:e,widget:t,rootFragment:n,props:r})=>{e.props=r,B(m(t,r),n)},Ft=(e,t)=>{if(null==customElements.get(e)){class t extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}}customElements.define(e,t)}const n=(e=>{const t={_rootsToObservers:new WeakMap,_roots:[],_executedScript:document.currentScript,props:{},render:({selector:n,clean:r=!1,replace:o=!1,inline:i=!1,initialProps:l={},propsSelector:u,elementName:a})=>{let s=!1;const c=()=>{if(!0===s)return;const c=(({selector:e,inline:t,elementName:n})=>{const r=document.currentScript;if(t&&null!=r&&r.parentNode)return[r.parentNode];const o=null==r?void 0:r.dataset.mountIn;return o?Array.from(document.querySelectorAll(o)).map((e=>{if(null!=n){const t=document.createElement(n),r=e.appendChild(t);return null!=r.shadowRoot?r.shadowRoot:r}return e})):e?Array.from(document.querySelectorAll(e)).map((e=>null!=e.shadowRoot?e.shadowRoot:e)):[]})({selector:n,inline:i,elementName:a});if(0===c.length)return;const{rootFragments:d}=(({island:e,widget:t,hostElements:n,clean:r,replace:o,initialProps:i,propsSelector:l})=>{const u=[];return n.forEach((n=>{const a=Mt(e,n,i,l);let s;if(r&&n.replaceChildren(),o)s=$t(n.parentElement||document.body,n);else{const e=document.createElement("div");n.appendChild(e),s=$t(n,e)}u.push(s),Lt({island:e,widget:t,rootFragment:s,props:a});const c=(({island:e,hostElement:t,initialProps:n,onNewProps:r,propsSelector:o})=>{const i=new MutationObserver((function(i){i.forEach((function(){r(Mt(e,t,n,o))}))})),l={attributes:!0,childList:!0,characterData:!0};return e._executedScript&&i.observe(e._executedScript,l),Dt(t).forEach((e=>{i.observe(e,Pt({},l,{subtree:!0}))})),o&&Vt(o).forEach((e=>{i.observe(e,Pt({},l,{subtree:!0}))})),i.observe(Nt(t)?t.host:t,l),i})({island:e,hostElement:n,initialProps:i,onNewProps:n=>{Lt({island:e,widget:t,rootFragment:s,props:n})},propsSelector:l});e._rootsToObservers.set(s,c)})),{rootFragments:u}})({island:t,widget:e,clean:r,hostElements:c,replace:o,initialProps:l,propsSelector:u});t._roots=t._roots.concat(d),s=!0};c(),document.addEventListener("DOMContentLoaded",c),document.addEventListener("load",c)},rerender:n=>{t._roots.forEach((r=>{Lt({island:t,widget:e,rootFragment:r,props:Pt({},t.props,n)})}))},destroy:()=>{t._roots.forEach((e=>{var n;null==(n=t._rootsToObservers.get(e))||n.disconnect(),B(null,e)}))}};return t})(t);return Pt({},n,{render:t=>n.render(Pt({elementName:e},t)),injectStyles:e=>{n._roots.forEach((t=>{const n=document.createElement("style");n.innerHTML=e,t.parentNode.prepend(n)}))}})};var jt=function(){return jt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?un(gn,--vn):0,_n--,10===mn&&(_n=1,pn--),mn}function xn(){return mn=vn2||An(mn)>3?"":" "}function On(e,t){for(;--t&&xn()&&!(mn<48||mn>102||mn>57&&mn<65||mn>70&&mn<97););return En(e,kn()+(t<6&&32==Cn()&&32==xn()))}function Dn(e){for(;xn();)switch(mn){case e:return vn;case 34:case 39:34!==e&&39!==e&&Dn(mn);break;case 40:41===e&&Dn(e);break;case 92:xn()}return vn}function Vn(e,t){for(;xn()&&e+mn!==57&&(e+mn!==84||47!==Cn()););return"/*"+En(t,vn-1)+"*"+en(47===e?e:xn())}function Tn(e){for(;!An(Cn());)xn();return En(e,vn)}function Mn(e,t){for(var n="",r=0;r6)switch(un(e,t+1)){case 109:if(45!==un(e,t+4))break;case 102:return on(e,/(.+:)(.+)-([^]+)/,"$1"+Gt+"$2-$3$1"+zt+(108==un(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ln(e,"stretch",0)?Ln(on(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return on(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,l,u){return Wt+n+":"+r+u+(o?Wt+n+"-span:"+(i?l:+l-+r)+u:"")+e}));case 4949:if(121===un(e,t+6))return on(e,":",":"+Gt)+e;break;case 6444:switch(un(e,45===un(e,14)?18:11)){case 120:return on(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Gt+(45===un(e,14)?"inline-":"")+"box$3$1"+Gt+"$2$3$1"+Wt+"$2box$3")+e;case 100:return on(e,":",":"+Wt)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return on(e,"scroll-","scroll-snap-")+e}return e}function Fn(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Yt:return void(e.return=Ln(e.value,e.length,n));case Jt:return Mn([bn(e,{value:on(e.value,"@","@"+Gt)})],r);case Kt:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(rn(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Sn(bn(e,{props:[on(t,/:(read-\w+)/,":"+zt+"$1")]})),Sn(bn(e,{props:[t]})),tn(e,{props:fn(n,r)});break;case"::placeholder":Sn(bn(e,{props:[on(t,/:(plac\w+)/,":"+Gt+"input-$1")]})),Sn(bn(e,{props:[on(t,/:(plac\w+)/,":"+zt+"$1")]})),Sn(bn(e,{props:[on(t,/:(plac\w+)/,Wt+"input-$1")]})),Sn(bn(e,{props:[t]})),tn(e,{props:fn(n,r)})}return""}))}}function jn(e){return Pn(Hn("",null,null,null,[""],e=In(e),0,[0],e))}function Hn(e,t,n,r,o,i,l,u,a){for(var s=0,c=0,d=l,f=0,p=0,_=0,h=1,v=1,m=1,g=0,y="",b=o,S=i,w=r,x=y;v;)switch(_=g,g=xn()){case 40:if(108!=_&&58==un(x,d-1)){-1!=ln(x+=on(Nn(g),"&","&\f"),"&\f",Qt(s?u[s-1]:0))&&(m=-1);break}case 34:case 39:case 91:x+=Nn(g);break;case 9:case 10:case 13:case 32:x+=Rn(_);break;case 92:x+=On(kn()-1,7);continue;case 47:switch(Cn()){case 42:case 47:dn(Un(Vn(xn(),kn()),t,n,a),a);break;default:x+="/"}break;case 123*h:u[s++]=sn(x)*m;case 125*h:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+c:-1==m&&(x=on(x,/\f/g,"")),p>0&&sn(x)-d&&dn(p>32?Wn(x+";",r,n,d-1,a):Wn(on(x," ","")+";",r,n,d-2,a),a);break;case 59:x+=";";default:if(dn(w=Bn(x,t,n,s,c,o,u,y,b=[],S=[],d,i),i),123===g)if(0===c)Hn(x,t,w,w,b,i,d,u,S);else switch(99===f&&110===un(x,3)?100:f){case 100:case 108:case 109:case 115:Hn(e,w,w,r&&dn(Bn(e,w,w,0,0,o,u,y,o,b=[],d,S),S),o,S,d,u,r?b:S);break;default:Hn(x,w,w,w,[""],S,0,u,S)}}s=c=p=0,h=m=1,y=x="",d=l;break;case 58:d=1+sn(x),p=_;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==wn())continue;switch(x+=en(g),g*h){case 38:m=c>0?1:(x+="\f",-1);break;case 44:u[s++]=(sn(x)-1)*m,m=1;break;case 64:45===Cn()&&(x+=Nn(xn())),f=Cn(),c=d=sn(y=x+=Tn(kn())),g++;break;case 45:45===_&&2==sn(x)&&(h=0)}}return i}function Bn(e,t,n,r,o,i,l,u,a,s,c,d){for(var f=o-1,p=0===o?i:[""],_=cn(p),h=0,v=0,m=0;h0?p[g]+" "+y:on(y,/&\f/g,p[g])))&&(a[m++]=b);return yn(e,t,n,0===o?Kt:u,a,s,c,d)}function Un(e,t,n,r){return yn(e,t,n,qt,en(mn),an(e,2,-2),0,r)}function Wn(e,t,n,r,o){return yn(e,t,n,Yt,an(e,0,r),an(e,r+1,-1),r,o)}const zn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Gn="undefined"!=typeof process&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",qn="active",Kn="data-styled-version",Yn="6.1.8",Zn="/*!sc*/\n",Jn="undefined"!=typeof window&&"HTMLElement"in window,Xn=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY?"false"!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&""!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&("false"!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY)),Qn=(new Set,Object.freeze([])),er=Object.freeze({});function tr(e,t,n){return void 0===n&&(n=er),e.theme!==n.theme&&e.theme||t||n.theme}var nr=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),rr=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,or=/(^-|-$)/g;function ir(e){return e.replace(rr,"-").replace(or,"")}var lr=/(a)(d)/gi,ur=52,ar=function(e){return String.fromCharCode(e+(e>25?39:97))};function sr(e){var t,n="";for(t=Math.abs(e);t>ur;t=t/ur|0)n=ar(t%ur)+n;return(ar(t%ur)+n).replace(lr,"$1-$2")}var cr,dr=5381,fr=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},pr=function(e){return fr(dr,e)};function _r(e){return sr(pr(e)>>>0)}function hr(e){return e.displayName||e.name||"Component"}function vr(e){return"string"==typeof e&&!0}var mr="function"==typeof Symbol&&Symbol.for,gr=mr?Symbol.for("react.memo"):60115,yr=mr?Symbol.for("react.forward_ref"):60112,br={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Sr={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},wr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},xr=((cr={})[yr]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},cr[gr]=wr,cr);function Cr(e){return("type"in(t=e)&&t.type.$$typeof)===gr?wr:"$$typeof"in e?xr[e.$$typeof]:br;var t}var kr=Object.defineProperty,Er=Object.getOwnPropertyNames,Ar=Object.getOwnPropertySymbols,Ir=Object.getOwnPropertyDescriptor,Pr=Object.getPrototypeOf,Nr=Object.prototype;function Rr(e,t,n){if("string"!=typeof t){if(Nr){var r=Pr(t);r&&r!==Nr&&Rr(e,r,n)}var o=Er(t);Ar&&(o=o.concat(Ar(t)));for(var i=Cr(e),l=Cr(t),u=0;u0?" Args: ".concat(t.join(", ")):""))}var jr=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw Fr(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(a+="".concat(e,","))})),r+="".concat(l).concat(u,'{content:"').concat(a,'"}').concat(Zn)},i=0;i0?".".concat(t):e},c=a.slice();c.push((function(e){e.type===Kt&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(oo,n).replace(r,s))})),l.prefix&&c.push(Fn),c.push($n);var d=function(e,o,i,u){void 0===o&&(o=""),void 0===i&&(i=""),void 0===u&&(u="&"),t=u,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var a=e.replace(io,""),s=jn(i||o?"".concat(i," ").concat(o," { ").concat(a," }"):a);l.namespace&&(s=lo(s,l.namespace));var d,f,p,_=[];return Mn(s,(d=c.concat((p=function(e){return _.push(e)},function(e){e.root||(e=e.return)&&p(e)})),f=cn(d),function(e,t,n,r){for(var o="",i=0;i="A"&&e<="Z"};function mo(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,i)){var l=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,l)}r=Vr(r,i),this.staticRulesId=i}else{for(var u=fr(this.baseHash,n.hash),a="",s=0;s>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(a,".".concat(f),void 0,this.componentId)),r=Vr(r,f)}}return r},e}(),Co=It.createContext(void 0);Co.Consumer;var ko={};new Set;function Eo(e,t,n){var r=Dr(e),o=e,i=!vr(e),l=t.attrs,u=void 0===l?Qn:l,a=t.componentId,s=void 0===a?function(e,t){var n="string"!=typeof e?"sc":ir(e);ko[n]=(ko[n]||0)+1;var r="".concat(n,"-").concat(_r(Yn+n+ko[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):a,c=t.displayName,d=void 0===c?function(e){return vr(e)?"styled.".concat(e):"Styled(".concat(hr(e),")")}(e):c,f=t.displayName&&t.componentId?"".concat(ir(t.displayName),"-").concat(t.componentId):t.componentId||s,p=r&&o.attrs?o.attrs.concat(u).filter(Boolean):u,_=t.shouldForwardProp;if(r&&o.shouldForwardProp){var h=o.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;_=function(e,t){return h(e,t)&&v(e,t)}}else _=h}var g=new xo(n,f,r?o.componentStyle:void 0);function y(e,t){return function(e,t,n){var r=e.attrs,o=e.componentStyle,i=e.defaultProps,l=e.foldedComponentIds,u=e.styledComponentId,a=e.target,s=It.useContext(Co),c=po(),d=e.shouldForwardProp||c.shouldForwardProp,f=tr(t,s,i)||er,p=function(e,t,n){for(var r,o=jt(jt({},t),{className:void 0,theme:n}),i=0;i2&&ro.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=Zr(),r=Tr([n&&'nonce="'.concat(n,'"'),"".concat(Gn,'="true"'),"".concat(Kn,'="').concat(Yn,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw Fr(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw Fr(2);var n=((t={})[Gn]="",t[Kn]=Yn,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=Zr();return r&&(n.nonce=r),[It.createElement("style",jt({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ro({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw Fr(2);return It.createElement(_o,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw Fr(3)}})(),"__sc-".concat(Gn,"__");function Do(){return Do=Object.assign?Object.assign.bind():function(e){for(var t=1;te.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}let To=0;const Mo=e["useId".toString()];function $o(e){if(void 0!==Mo){const t=Mo();return null!=e?e:t}return function(e){const[t,n]=ue(e),r=e||t;return se((()=>{null==t&&(To+=1,n(`mui-${To}`))}),[t]),r}(e)}const Lo="undefined"!=typeof window?ce:se,Fo={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};class jo{constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new jo}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=0,t()}),e)}}let Ho=!0,Bo=!1;const Uo=new jo,Wo={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function zo(e){e.metaKey||e.altKey||e.ctrlKey||(Ho=!0)}function Go(){Ho=!1}function qo(){"hidden"===this.visibilityState&&Bo&&(Ho=!0)}function Ko(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Ho||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Wo[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Yo(){const e=_e((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",zo,!0),t.addEventListener("mousedown",Go,!0),t.addEventListener("pointerdown",Go,!0),t.addEventListener("touchstart",Go,!0),t.addEventListener("visibilitychange",qo,!0))}),[]),t=de(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Ko(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Bo=!0,Uo.start(100,(()=>{Bo=!1})),t.current=!1,!0)},ref:e}}function Zo(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function Jo(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:r,rootRef:o,tabIndex:i,to:l,type:u}=e,a=de(),[s,c]=ue(!1),{isFocusVisibleRef:d,onFocus:f,onBlur:p,ref:_}=Yo(),[h,v]=ue(!1);t&&!n&&h&&v(!1),se((()=>{d.current=h}),[h,d]);const[m,g]=ue(""),y=e=>t=>{var n;h&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},b=e=>t=>{var n,r;(a.current||(a.current=t.currentTarget),f(t),!0===d.current)&&(v(!0),null==(r=e.onFocusVisible)||r.call(e,t));null==(n=e.onFocus)||n.call(e,t)},S=()=>{const e=a.current;return"BUTTON"===m||"INPUT"===m&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===m&&(null==e?void 0:e.href)},w=e=>n=>{var r;t||(null==(r=e.onClick)||r.call(e,n))},x=e=>n=>{var r;t||(c(!0),document.addEventListener("mouseup",(()=>{c(!1)}),{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},C=e=>n=>{var r,o;(null==(r=e.onKeyDown)||r.call(e,n),n.defaultMuiPrevented)||(n.target!==n.currentTarget||S()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||c(!0),n.target!==n.currentTarget||S()||"Enter"!==n.key||t||(null==(o=e.onClick)||o.call(e,n),n.preventDefault()))},k=e=>n=>{var r,o;(n.target===n.currentTarget&&c(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||S()||t||" "!==n.key||n.defaultMuiPrevented)||(null==(o=e.onClick)||o.call(e,n))},E=Vo(_e((e=>{var t;g(null!=(t=null==e?void 0:e.tagName)?t:"")}),[]),o,_,a),A={};void 0!==i&&(A.tabIndex=i),"BUTTON"===m?(A.type=null!=u?u:"button",n?A["aria-disabled"]=t:A.disabled=t):""!==m&&(r||l||(A.role="button",A.tabIndex=null!=i?i:0),t&&(A["aria-disabled"]=t,A.tabIndex=n?null!=i?i:0:-1));return{getRootProps:(t={})=>{const n=Do({},Zo(e),Zo(t)),r=Do({type:u},n,A,t,{onBlur:(o=n,e=>{var t;p(e),!1===d.current&&v(!1),null==(t=o.onBlur)||t.call(o,e)}),onClick:w(n),onFocus:b(n),onKeyDown:C(n),onKeyUp:k(n),onMouseDown:x(n),onMouseLeave:y(n),ref:E});var o;return delete r.onFocusVisible,r},focusVisible:h,setFocusVisible:v,active:s,rootRef:E}}const Xo={buttonClick:"buttonClick",browserAutoFill:"browserAutoFill"},Qo={blur:"list:blur",focus:"list:focus",itemClick:"list:itemClick",itemHover:"list:itemHover",itemsChange:"list:itemsChange",keyDown:"list:keyDown",resetHighlight:"list:resetHighlight",highlightLast:"list:highlightLast",textNavigation:"list:textNavigation",clearSelection:"list:clearSelection"};function ei(e,t,n){var r;const{items:o,isItemDisabled:i,disableListWrap:l,disabledItemsFocusable:u,itemComparer:a,focusManagement:s}=n,c="DOM"===s?0:-1,d=o.length-1,f=null==e?-1:o.findIndex((t=>a(t,e)));let p,_,h=!l;switch(t){case"reset":if(-1===c)return null;p=0,_="next",h=!1;break;case"start":p=0,_="next",h=!1;break;case"end":p=d,_="previous",h=!1;break;default:{const e=f+t;e<0?!h&&-1!==f||Math.abs(t)>1?(p=0,_="next"):(p=d,_="previous"):e>d?!h||Math.abs(t)>1?(p=d,_="previous"):(p=0,_="next"):(p=e,_=t>=0?"next":"previous")}}const v=function(e,t,n,r,o,i){if(0===n.length||!r&&n.every(((e,t)=>o(e,t))))return-1;let l=e;for(;;){if(!i&&"next"===t&&l===n.length||!i&&"previous"===t&&-1===l)return-1;if(r||!o(n[l],l))return l;l+="next"===t?1:-1,i&&(l=(l+n.length)%n.length)}}(p,_,o,u,i,h);return-1!==v||null===e||i(e,f)?null!=(r=o[v])?r:null:e}function ti(e,t,n){const{itemComparer:r,isItemDisabled:o,selectionMode:i,items:l}=n,{selectedValues:u}=t,a=l.findIndex((t=>r(e,t)));if(o(e,a))return t;const s=function(e,t,n,r){return"none"===n?[]:"single"===n?r(t[0],e)?t:[e]:t.some((t=>r(t,e)))?t.filter((t=>!r(t,e))):[...t,e]}(e,u,i,r);return Do({},t,{selectedValues:s,highlightedValue:e})}function ni(e,t,n){var r;const o=null==(r=n(e))?void 0:r.trim().toLowerCase();return!(!o||0===o.length)&&0===o.indexOf(t)}function ri(e,t){const{type:n,context:r}=t;switch(n){case Qo.keyDown:return function(e,t,n){const r=t.highlightedValue,{orientation:o,pageSize:i}=n;switch(e){case"Home":return Do({},t,{highlightedValue:ei(r,"start",n)});case"End":return Do({},t,{highlightedValue:ei(r,"end",n)});case"PageUp":return Do({},t,{highlightedValue:ei(r,-i,n)});case"PageDown":return Do({},t,{highlightedValue:ei(r,i,n)});case"ArrowUp":if("vertical"!==o)break;return Do({},t,{highlightedValue:ei(r,-1,n)});case"ArrowDown":if("vertical"!==o)break;return Do({},t,{highlightedValue:ei(r,1,n)});case"ArrowLeft":if("vertical"===o)break;return Do({},t,{highlightedValue:ei(r,"horizontal-ltr"===o?-1:1,n)});case"ArrowRight":if("vertical"===o)break;return Do({},t,{highlightedValue:ei(r,"horizontal-ltr"===o?1:-1,n)});case"Enter":case" ":return null===t.highlightedValue?t:ti(t.highlightedValue,t,n)}return t}(t.key,e,r);case Qo.itemClick:return ti(t.item,e,r);case Qo.blur:return function(e,t){return"DOM"===t.focusManagement?e:Do({},e,{highlightedValue:null})}(e,r);case Qo.textNavigation:return function(e,t,n){const{items:r,isItemDisabled:o,disabledItemsFocusable:i,getItemAsString:l}=n,u=t.length>1;let a=u?e.highlightedValue:ei(e.highlightedValue,1,n);for(let s=0;si(e,n.highlightedValue))))?a:null:"DOM"===l&&0===t.length&&(u=ei(null,"reset",r));const s=(null!=(o=n.selectedValues)?o:[]).filter((t=>e.some((e=>i(e,t)))));return Do({},n,{highlightedValue:u,selectedValues:s})}(t.items,t.previousItems,e,r);case Qo.resetHighlight:return function(e,t){return Do({},e,{highlightedValue:ei(null,"reset",t)})}(e,r);case Qo.highlightLast:return function(e,t){return Do({},e,{highlightedValue:ei(null,"end",t)})}(e,r);case Qo.clearSelection:return function(e,t){return Do({},e,{selectedValues:[],highlightedValue:ei(null,"reset",t)})}(e,r);default:return e}}function oi(e,t){return e===t}const ii={},li=()=>{};function ui(e,t){const n=Do({},e);return Object.keys(t).forEach((e=>{void 0!==t[e]&&(n[e]=t[e])})),n}function ai(e){const t=de(null),{reducer:n,initialState:r,controlledProps:o=ii,stateComparers:i=ii,onStateChange:l=li,actionContext:u,componentName:a=""}=e;de(o);const s=_e(((e,r)=>{t.current=r;const i=ui(e,o);return n(i,r)}),[o,n]),[c,d]=ae(s,r),f=_e((e=>{d(Do({},e,{context:u}))}),[u]);return function(e){const{nextState:t,initialState:n,stateComparers:r,onStateChange:o,controlledProps:i,lastActionRef:l}=e,u=de(n);se((()=>{if(null===l.current)return;const e=ui(u.current,i);Object.keys(t).forEach((n=>{var i;const u=null!=(i=r[n])?i:oi,a=t[n],s=e[n];var c,d;(null==s&&null!=a||null!=s&&null==a||null!=s&&null!=a&&!u(a,s))&&(null==o||o(null!=(c=l.current.event)?c:null,n,a,null!=(d=l.current.type)?d:"",t))})),u.current=t,l.current=null}),[u,t,l,o,r,i])}({nextState:c,initialState:r,stateComparers:null!=i?i:ii,onStateChange:null!=l?l:li,controlledProps:o,lastActionRef:t}),[ui(c,o),f]}function si(e,t,n=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))}const ci=500;const di={},fi=()=>{},pi=(e,t)=>e===t,_i=()=>!1,hi=e=>"string"==typeof e?e:String(e),vi=()=>({highlightedValue:null,selectedValues:[]});function mi(e){const{controlledProps:t=di,disabledItemsFocusable:n=!1,disableListWrap:r=!1,focusManagement:o="activeDescendant",getInitialState:i=vi,getItemDomElement:l,getItemId:u,isItemDisabled:a=_i,rootRef:s,onStateChange:c=fi,items:d,itemComparer:f=pi,getItemAsString:p=hi,onChange:_,onHighlightChange:h,onItemsChange:v,orientation:m="vertical",pageSize:g=5,reducerActionContext:y=di,selectionMode:b="single",stateReducer:S,componentName:w="useList"}=e;const x=de(null),C=Vo(s,x),k=_e(((e,t,n)=>{var r;(null==h||h(e,t,n),"DOM"!==o||null==t||n!==Qo.itemClick&&n!==Qo.keyDown&&n!==Qo.textNavigation)||(null==l||null==(r=l(t))||r.focus())}),[l,h,o]),E=pe((()=>({highlightedValue:f,selectedValues:(e,t)=>si(e,t,f)})),[f]),A=_e(((e,t,n,r,o)=>{switch(null==c||c(e,t,n,r,o),t){case"highlightedValue":k(e,n,r);break;case"selectedValues":null==_||_(e,n,r)}}),[k,_,c]),I=pe((()=>({disabledItemsFocusable:n,disableListWrap:r,focusManagement:o,isItemDisabled:a,itemComparer:f,items:d,getItemAsString:p,onHighlightChange:k,orientation:m,pageSize:g,selectionMode:b,stateComparers:E})),[n,r,o,a,f,d,p,k,m,g,b,E]),P=i(),N=null!=S?S:ri,R=pe((()=>Do({},y,I)),[y,I]),[O,D]=ai({reducer:N,actionContext:R,initialState:P,controlledProps:t,stateComparers:E,onStateChange:A,componentName:w}),{highlightedValue:V,selectedValues:T}=O,M=function(e){const t=de({searchString:"",lastTime:null});return _e((n=>{if(1===n.key.length&&" "!==n.key){const r=t.current,o=n.key.toLowerCase(),i=performance.now();r.searchString.length>0&&r.lastTime&&i-r.lastTime>ci?r.searchString=o:1===r.searchString.length&&o===r.searchString||(r.searchString+=o),r.lastTime=i,e(r.searchString,n)}}),[e])}(((e,t)=>D({type:Qo.textNavigation,event:t,searchString:e}))),$=de([]);se((()=>{si($.current,d,f)||(D({type:Qo.itemsChange,event:null,items:d,previousItems:$.current}),$.current=d,null==v||v(d))}),[d,f,D,v]);const L=e=>t=>{var n;if(null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented)return;const r=["Home","End","PageUp","PageDown"];"vertical"===m?r.push("ArrowUp","ArrowDown"):r.push("ArrowLeft","ArrowRight"),"activeDescendant"===o&&r.push(" ","Enter"),r.includes(t.key)&&t.preventDefault(),D({type:Qo.keyDown,key:t.key,event:t}),M(t)},F=_e((e=>{const t=(null!=T?T:[]).some((t=>null!=t&&f(e,t))),n=null!=V&&f(e,V);return{focusable:"DOM"===o,highlighted:n,selected:t}}),[f,T,V,o]),j=pe((()=>({dispatch:D,getItemState:F})),[D,F]);return ve({state:O}),{contextValue:j,dispatch:D,getRootProps:(e={})=>{const t=Zo(e);return Do({},e,{"aria-activedescendant":"activeDescendant"===o&&null!=V?u(V):void 0,tabIndex:"DOM"===o?-1:0,ref:C},t,{onBlur:(n=t,e=>{var t,r;null==(t=n.onBlur)||t.call(n,e),e.defaultMuiPrevented||null!=(r=x.current)&&r.contains(e.relatedTarget)||D({type:Qo.blur,event:e})}),onKeyDown:L(t)});var n},rootRef:C,state:O}}const gi=e=>{const{label:t,value:n}=e;return"string"==typeof t?t:"string"==typeof n?n:String(e)},yi=z(null);function bi(){const[e,t]=ue(new Map),n=de(new Set),r=_e((function(e){n.current.delete(e),t((t=>{const n=new Map(t);return n.delete(e),n}))}),[]),o=_e((function(e,o){let i;return i="function"==typeof e?e(n.current):e,n.current.add(i),t((e=>{const t=new Map(e);return t.set(i,o),t})),{id:i,deregister:()=>r(i)}}),[r]),i=pe((()=>function(e){const t=Array.from(e.keys()).map((t=>({key:t,subitem:e.get(t)})));return t.sort(((e,t)=>{const n=e.subitem.ref.current,r=t.subitem.ref.current;return null===n||null===r||n===r?0:n.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING?1:-1})),new Map(t.map((e=>[e.key,e.subitem])))}(e)),[e]),l=_e((function(e){return Array.from(i.keys()).indexOf(e)}),[i]);return{contextValue:pe((()=>({getItemIndex:l,registerItem:o,totalSubitemCount:e.size})),[l,o,e.size]),subitems:i}}function Si(e,t){const{open:n}=e,{context:{selectionMode:r}}=t;if(t.type===Xo.buttonClick){var o;const r=null!=(o=e.selectedValues[0])?o:ei(null,"start",t.context);return Do({},e,{open:!n,highlightedValue:n?null:r})}if(t.type===Xo.browserAutoFill)return ti(t.item,e,t.context);const i=ri(e,t);switch(t.type){case Qo.keyDown:if(e.open){if("Escape"===t.event.key)return Do({},i,{open:!1})}else{var l,u;if("ArrowDown"===t.event.key)return Do({},e,{open:!0,highlightedValue:null!=(l=e.selectedValues[0])?l:ei(null,"start",t.context)});if("ArrowUp"===t.event.key)return Do({},e,{open:!0,highlightedValue:null!=(u=e.selectedValues[0])?u:ei(null,"end",t.context)})}break;case Qo.itemClick:if("single"===r)return Do({},i,{open:!1});break;case Qo.blur:return Do({},i,{open:!1});default:return i}return i}function wi(e,t){return function(n={}){const r=Do({},n,e(n));return Do({},r,t(r))}}function xi(e){return Array.isArray(e)?0===e.length?"":JSON.stringify(e.map((e=>e.value))):null==(null==e?void 0:e.value)?"":"string"==typeof e.value||"number"==typeof e.value?e.value:JSON.stringify(e.value)}function Ci(e){const{areOptionsEqual:t,buttonRef:n,defaultOpen:r=!1,defaultValue:o,disabled:i=!1,listboxId:l,listboxRef:u,multiple:a=!1,name:s,required:c,onChange:d,onHighlightChange:f,onOpenChange:p,open:_,options:h,getOptionAsString:v=gi,getSerializedValue:m=xi,value:g,componentName:b="useSelect"}=e,S=de(null),w=Vo(n,S),x=de(null),C=$o(l);let k;void 0===g&&void 0===o?k=[]:void 0!==o&&(k=a?o:null==o?[]:[o]);const E=pe((()=>{if(void 0!==g)return a?g:null==g?[]:[g]}),[g,a]),{subitems:A,contextValue:I}=bi(),P=pe((()=>null!=h?new Map(h.map(((e,t)=>[e.value,{value:e.value,label:e.label,disabled:e.disabled,ref:y(),id:`${C}_${t}`}]))):A),[h,A,C]),N=Vo(u,x),{getRootProps:R,active:O,focusVisible:D,rootRef:V}=Jo({disabled:i,rootRef:w}),T=pe((()=>Array.from(P.keys())),[P]),M=_e((e=>{if(void 0!==t){const n=T.find((n=>t(n,e)));return P.get(n)}return P.get(e)}),[P,t,T]),$=_e((e=>{var t;const n=M(e);return null!=(t=null==n?void 0:n.disabled)&&t}),[M]),L=_e((e=>{const t=M(e);return t?v(t):""}),[M,v]),F=pe((()=>({selectedValues:E,open:_})),[E,_]),j=_e((e=>{var t;return null==(t=P.get(e))?void 0:t.id}),[P]),H=_e(((e,t)=>{var n;a?null==d||d(e,t):null==d||d(e,null!=(n=t[0])?n:null)}),[a,d]),B=_e(((e,t)=>{null==f||f(e,null!=t?t:null)}),[f]),U=_e(((e,t,n)=>{var r;"open"===t&&(null==p||p(n),!1===n&&"blur"!==(null==e?void 0:e.type)&&(null==(r=S.current)||r.focus()))}),[p]),W={getInitialState:()=>{var e;return{highlightedValue:null,selectedValues:null!=(e=k)?e:[],open:r}},getItemId:j,controlledProps:F,focusManagement:"DOM",getItemDomElement:_e((e=>{var t,n;return null==e?null:null!=(t=null==(n=A.get(e))?void 0:n.ref.current)?t:null}),[A]),itemComparer:t,isItemDisabled:$,rootRef:N,onChange:H,onHighlightChange:B,onStateChange:U,reducerActionContext:pe((()=>({multiple:a})),[a]),items:T,getItemAsString:L,selectionMode:a?"multiple":"single",stateReducer:Si,componentName:b},{dispatch:z,getRootProps:G,contextValue:q,state:{open:K,highlightedValue:Y,selectedValues:Z},rootRef:J}=mi(W),X=de(K);Lo((()=>{if(K&&null!==Y){var e;const t=null==(e=M(Y))?void 0:e.ref;if(!x.current||null==t||!t.current)return;X.current||t.current.focus({preventScroll:!0});const n=x.current.getBoundingClientRect(),r=t.current.getBoundingClientRect();r.topn.bottom&&(x.current.scrollTop+=r.bottom-n.bottom)}}),[K,Y,M]);const Q=_e((e=>M(e)),[M]),ee=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),z({type:Qo.keyDown,key:t.key,event:t}))},te=(e={})=>Do({},e,((e={})=>{return{onClick:(t=e,e=>{var n;if(null==t||null==(n=t.onClick)||n.call(t,e),!e.defaultMuiPrevented){const t={type:Xo.buttonClick,event:e};z(t)}}),onKeyDown:ee(e)};var t})(e),{role:"combobox","aria-expanded":K,"aria-controls":C}),ne=e=>t=>{var n,r;null==(n=e.onBlur)||n.call(e,t),t.defaultMuiPrevented||(null!=(r=x.current)&&r.contains(t.relatedTarget)||t.relatedTarget===S.current)&&(t.defaultMuiPrevented=!0)},re=(e={})=>({onBlur:ne(e)});ve({selectedOptions:Z,highlightedOption:Y,open:K});const oe=pe((()=>Do({},q,I)),[q,I]);let ie,le;var ue;(ie=e.multiple?Z:Z.length>0?Z[0]:null,a)?le=ie.map((e=>Q(e))).filter((e=>void 0!==e)):le=null!=(ue=Q(ie))?ue:null;const ae=e=>t=>{var n;if(null==e||null==(n=e.onChange)||n.call(e,t),t.defaultMuiPrevented)return;const r=P.get(t.target.value);""===t.target.value?z({type:Qo.clearSelection}):void 0!==r&&z({type:Xo.browserAutoFill,item:r.value,event:t})};return{buttonActive:O,buttonFocusVisible:D,buttonRef:V,contextValue:oe,disabled:i,dispatch:z,getButtonProps:(e={})=>{const t=Zo(e);return Do({},e,wi(te,R)(t))},getHiddenInputProps:(e={})=>{const t=Zo(e);return Do({name:s,tabIndex:-1,"aria-hidden":!0,required:!!c||void 0,value:m(le),style:Fo},e,{onChange:ae(t)})},getListboxProps:(e={})=>{const t=Zo(e),n=wi(re,G);return Do({id:C,role:"listbox","aria-multiselectable":a?"true":void 0},e,n(t))},getOptionMetadata:Q,listboxRef:J,open:K,options:T,value:ie,highlightedOption:Y}}yi.displayName="CompoundComponentContext";const ki=z(null);var Ei=0;Array.isArray;function Ai(e,t,n,r,i,l){var u,a,s={};for(a in t)"ref"==a?u=t[a]:s[a]=t[a];var c={type:e,props:s,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Ei,__i:-1,__u:0,__source:i,__self:l};if("function"==typeof e&&(u=e.defaultProps))for(a in u)void 0===s[a]&&(s[a]=u[a]);return o.vnode&&o.vnode(c),c}function Ii(e){const{value:t,children:n}=e,{dispatch:r,getItemIndex:o,getItemState:i,registerItem:l,totalSubitemCount:u}=t,a=pe((()=>({dispatch:r,getItemState:i,getItemIndex:o})),[r,o,i]),s=pe((()=>({getItemIndex:o,registerItem:l,totalSubitemCount:u})),[l,o,u]);return Ai(yi.Provider,{value:s,children:Ai(ki.Provider,{value:a,children:n})})}function Pi(e){const{value:t,label:n,disabled:r,rootRef:o,id:i}=e,{getRootProps:l,highlighted:u,selected:a}=function(e){const{handlePointerOverEvents:t=!1,item:n}=e,r=he(ki);if(!r)throw new Error("useListItem must be used within a ListProvider");const{dispatch:o,getItemState:i}=r,{highlighted:l,selected:u,focusable:a}=i(n),s=_e((e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.defaultPrevented||o({type:Qo.itemClick,item:n,event:t})}),[o,n]),c=_e((e=>t=>{var r;null==(r=e.onMouseOver)||r.call(e,t),t.defaultPrevented||o({type:Qo.itemHover,item:n,event:t})}),[o,n]);let d;return a&&(d=l?0:-1),{getRootProps:(e={})=>{const n=Zo(e);return Do({},e,{onClick:s(n),onPointerOver:t?c(n):void 0,tabIndex:d})},highlighted:l,selected:u}}({item:t}),{getRootProps:s,rootRef:c}=Jo({disabled:r,focusableWhenDisabled:!0}),d=$o(i),f=de(null),p=pe((()=>({disabled:r,label:n,value:t,ref:f,id:d})),[r,n,t,d]),{index:_}=function(e,t){const n=he(yi);if(null===n)throw new Error("useCompoundItem must be used within a useCompoundParent");const{registerItem:r}=n,[o,i]=ue("function"==typeof e?void 0:e);return Lo((()=>{const{id:n,deregister:o}=r(e,t);return i(n),o}),[r,t,e]),{id:o,index:void 0!==o?n.getItemIndex(o):-1,totalItemCount:n.totalSubitemCount}}(t,p),h=Vo(o,f,c),v=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||[" ","Enter"].includes(t.key)&&(t.defaultMuiPrevented=!0)},m=(e={})=>({onKeyDown:v(e)});return{getRootProps:(e={})=>{const t=Zo(e);return Do({},e,t,wi(l,wi(s,m))(t),{id:d,ref:h,role:"option","aria-selected":a})},highlighted:u,index:_,selected:a,rootRef:h}}const Ni=Oe((function({title:e,titleId:t,...n},r){return m("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?m("title",{id:t},e):null,m("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))})),Ri=e=>{const t=de(!1),n=de(!1),r=n=>{!t.current&&e&&setTimeout((()=>{e(n)}),10),t.current=!1},o=t=>{!n.current&&e&&setTimeout((()=>{e(t)}),10),n.current=!1};return se((()=>(document.addEventListener("mousedown",r),document.addEventListener("focusin",o),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("focusin",o),document.removeEventListener("touchstart",r)})),[]),{onMouseDown:()=>t.current=!0,onFocus:()=>n.current=!0,onTouchStart:()=>t.current=!0}},Oi=Oo.span` border: 1px solid #b6b1a9; padding: 4px 8px; margin-right: 5px; border-radius: 4px; white-space: nowrap; -`,Ti=(e,t)=>{if(Array.isArray(e))return e.map((e=>Pi(Vi,{children:Ti(e,t)},e)));const n=t.find((t=>t.value===e));return n?n.label:null},Mi=Vo.li` +`,Di=(e,t)=>{if(Array.isArray(e))return e.map((e=>Ai(Oi,{children:Di(e,t)},e)));const n=t.find((t=>t.value===e));return n?n.label:null},Vi=Oo.li` cursor: pointer; overflow: hidden; margin: 0 !important; @@ -61,4 +61,4 @@ input[type='checkbox']:disabled:checked::before { border-color: #b6b1a9; } -`;function Li(e){const{children:t,value:n,rootRef:r,id:o,disabled:i=!1,multiple:l}=e,{getRootProps:u,highlighted:a,selected:s}=Ri({rootRef:r,value:n,disabled:i,label:t,id:o}),{...c}=u();return ce((()=>{var e;if(a&&o&&null!=r&&null!==(e=r.current)&&void 0!==e&&e.parentElement){const e=document.getElementById(o);if(e){const t=null==e?void 0:e.offsetTop,n=null==e?void 0:e.offsetHeight,o=r.current.parentElement.scrollTop,i=r.current.parentElement.offsetHeight;to+i&&(r.current.parentElement.scrollTop=t-i+n)}}}),[r,o]),Pi(Mi,{...c,id:o,selected:s,highlighted:a,disabled:i,children:[l&&Pi("input",{type:"checkbox",checked:s,readOnly:!0,disabled:i}),t]})}const $i=({options:e=[],label:t,multiple:n,ariaLabelledby:r,required:o,defaultValue:i,name:l,emptyValue:u,emptyLabel:a="- None -",...s})=>{const c=l,d=r??c,f=fe(null),p=fe(null),[_,h]=ae(!1),v=Di((e=>{setTimeout((()=>h(!1)),50)})),{getButtonProps:m,getListboxProps:g,contextValue:y,value:b}=Ei({listboxRef:p,listboxId:`${l}-preact-listbox`,onOpenChange:h,open:_,defaultValue:i,multiple:n,...s});ce((()=>{var e;!_&&b.length>0&&(_&&(null===(e=p.current)||void 0===e||e.focus()))}),[_,b]),de((()=>{var e;const t=null===(e=p.current)||void 0===e||null===(e=e.parentElement)||void 0===e?void 0:e.getBoundingClientRect();var n;t&&(t.bottom>window.innerHeight||t.top<0)&&(null===(n=p.current)||void 0===n||null===(n=n.parentElement)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"}))}),[_,b]);const S=n&&b?b.length>0:!!b;return Pi("div",{...v,style:{position:"relative",width:"100%",minWidth:"250px"},children:[t&&Pi("div",{id:c,style:{marginBottom:"1.2rem",fontSize:"1.8rem",fontWeight:"600"},children:t}),Pi("button",{...m(),"aria-labelledby":d,style:{background:"#fff",color:"#000",width:"100%",border:s.disabled?"1px solid #ABABA9":"1px solid #000",borderRadius:"5px",textAlign:"left",minHeight:"40px"},children:Pi("span",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap"},children:[S&&Pi("span",{style:{overflow:"hidden",maxWidth:"calc(100% - 30px)",padding:"8px 5px 8px 0"},children:n?(null==b?void 0:b.length)==e.length?"All selected":`${null==b?void 0:b.length} selected`:Ti(b,e)}),!S&&!n&&Pi("span",{style:{padding:"8px 5px 8px 0",color:"#4c4740"},children:a}),!S&&n&&Pi("span",{style:{padding:"8px 5px 8px 0",color:"#4c4740"},children:"Choose one or more options"}),Pi(Oi,{width:20,style:{flexShrink:"0",marginLeft:"auto",color:s.disabled?"#ABABA9":"#000"}})]})}),Pi("div",{style:{position:"absolute",zIndex:"10",background:"#fff",maxHeight:"125px",overflowY:"scroll",width:"100%",border:"1px solid #D5D5D4",boxShadow:"rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px",display:_?"block":"none"},children:Pi("ul",{...g(),"aria-hidden":!_,"aria-labelledby":d,style:{listStyle:"none",margin:0,padding:0},children:Pi(Ni,{value:y,children:[!o&&!n&&Pi(Li,{value:u??"",rootRef:p,id:`${l}-empty`,children:a}),e.map((e=>Pi(Li,{value:e.value,disabled:e.disabled,rootRef:p,id:`${l}-${e.value.replace(/\W+/g,"-")}`,multiple:n,children:e.label},e.value)))]})})}),l&&Pi("input",{ref:f,name:l,type:"hidden",value:b??""})]})},Fi=({})=>{var e;const t=fe(),[n,r]=ae(null),[o,i]=ae(""),[l,u]=ae([]);ce((()=>{r(t.current.parentNode.querySelector("select")),i(t.current.parentNode.querySelector("label").textContent);const e=t.current.parentNode.querySelector("select");e.setAttribute("aria-hidden","true"),e.style.visibility="hidden",e.style.height="0",e.style.position="absolute";const n=t.current.parentNode.querySelector("label");if(n.style.visibility="hidden",n.style.height="0",n.style.position="absolute",null!=e&&e.getAttribute("multiple")){const t=Array.from(e.children).map((e=>e.getAttribute("value"))),n=Array.from(e.children).filter((e=>"selected"===e.getAttribute("selected"))).map((e=>e.getAttribute("value")));n.length===t.length&&n.push("All"),u(n)}}),[]),ce((()=>{n&&Array.from(n.children).forEach((e=>{l.includes(e.getAttribute("value"))?e.setAttribute("selected","selected"):e.removeAttribute("selected")}))}),[l]);const a=n&&(e=>{const t=[];null!=e&&e.getAttribute("multiple")&&t.push({value:"All",label:"All",disabled:!1});const n=e.children;for(let e=0;e"All"!==e.value)),label:o,multiple:"multiple"===n.getAttribute("multiple"),onChange:(e,t)=>{if(!n.getAttribute("multiple"))return void(n.value=t);const r=Array.from(n.children).map((e=>e.getAttribute("value")));if(t.includes("All"))if(l.includes("All")){const e=t.filter((e=>"All"!==e));u(e)}else u([...r,"All"]);else l.includes("All")&&t.length===r.length?u([]):t.length===r.length?u([...r,"All"]):u(t)},defaultValue:(()=>{let e=[];for(let t of null==n?void 0:n.children)if(t.getAttribute("selected")){if(!n.getAttribute("multiple"))return t.getAttribute("value");e.push(t.getAttribute("value"))}return e})(),value:"multiple"===n.getAttribute("multiple")?l:void 0,emptyLabel:null===(e=a.find((e=>"All"===e.value)))||void 0===e?void 0:e.label})})};Drupal.behaviors.selectPreact={attach:function(e){let t="";try{t="."+e.getAttribute("class").replace(/ /g,".")}catch(e){}Ht("combobox-select-list",Fi).render({selector:`${t} .select-preact`,initialProps:{focus:t.indexOf("js-view-dom-id")>=0}})}}})(),r})())); \ No newline at end of file +`;function Ti(e){const{children:t,value:n,rootRef:r,id:o,disabled:i=!1,multiple:l}=e,{getRootProps:u,highlighted:a,selected:s}=Pi({rootRef:r,value:n,disabled:i,label:t,id:o}),{...c}=u();return se((()=>{var e;if(a&&o&&null!=r&&null!==(e=r.current)&&void 0!==e&&e.parentElement){const e=document.getElementById(o);if(e){const t=null==e?void 0:e.offsetTop,n=null==e?void 0:e.offsetHeight,o=r.current.parentElement.scrollTop,i=r.current.parentElement.offsetHeight;to+i&&(r.current.parentElement.scrollTop=t-i+n)}}}),[r,o]),Ai(Vi,{...c,id:o,selected:s,highlighted:a,disabled:i,children:[l&&Ai("input",{type:"checkbox",checked:s,readOnly:!0,disabled:i}),t]})}const Mi=({options:e=[],label:t,multiple:n,ariaLabelledby:r,required:o,defaultValue:i,name:l,emptyValue:u,emptyLabel:a="- None -",...s})=>{const c=l,d=r??c,f=de(null),p=de(null),[_,h]=ue(!1),v=Ri((e=>{setTimeout((()=>h(!1)),50)})),{getButtonProps:m,getListboxProps:g,contextValue:y,value:b}=Ci({listboxRef:p,listboxId:`${l}-preact-listbox`,onOpenChange:h,open:_,defaultValue:i,multiple:n,...s});se((()=>{var e;!_&&b&&b.length>0&&(_&&(null===(e=p.current)||void 0===e||e.focus()))}),[_,b]),ce((()=>{var e;const t=null===(e=p.current)||void 0===e||null===(e=e.parentElement)||void 0===e?void 0:e.getBoundingClientRect();var n;t&&(t.bottom>window.innerHeight||t.top<0)&&(null===(n=p.current)||void 0===n||null===(n=n.parentElement)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"}))}),[_,b]);const S=n&&b?b.length>0:!!b;return Ai("div",{...v,style:{position:"relative",width:"100%",minWidth:"250px"},children:[t&&Ai("div",{id:c,style:{marginBottom:"1.2rem",fontSize:"1.8rem",fontWeight:"600"},children:t}),Ai("button",{...m(),"aria-labelledby":d,style:{background:"#fff",color:"#000",width:"100%",border:s.disabled?"1px solid #ABABA9":"1px solid #000",borderRadius:"5px",textAlign:"left",minHeight:"40px"},children:Ai("span",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap"},children:[S&&Ai("span",{style:{overflow:"hidden",maxWidth:"calc(100% - 30px)",padding:"8px 5px 8px 0"},children:n?(null==b?void 0:b.length)==e.length?"All selected":`${null==b?void 0:b.length} selected`:Di(b,e)}),!S&&!n&&Ai("span",{style:{padding:"8px 5px 8px 0",color:"#4c4740"},children:a}),!S&&n&&Ai("span",{style:{padding:"8px 5px 8px 0",color:"#4c4740"},children:"Choose one or more options"}),Ai(Ni,{width:20,style:{flexShrink:"0",marginLeft:"auto",color:s.disabled?"#ABABA9":"#000"}})]})}),Ai("div",{style:{position:"absolute",zIndex:"10",background:"#fff",maxHeight:"125px",overflowY:"scroll",width:"100%",border:"1px solid #D5D5D4",boxShadow:"rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px",display:_?"block":"none"},children:Ai("ul",{...g(),"aria-hidden":!_,"aria-labelledby":d,style:{listStyle:"none",margin:0,padding:0},children:Ai(Ii,{value:y,children:[!o&&!n&&Ai(Ti,{value:u??"",rootRef:p,id:`${l}-empty`,children:a}),e.map((e=>Ai(Ti,{value:e.value,disabled:e.disabled,rootRef:p,id:`${l}-${e.value.replace(/\W+/g,"-")}`,multiple:n,children:e.label},e.value)))]})})}),l&&Ai("input",{ref:f,name:l,type:"hidden",value:b??""})]})},$i=({})=>{var e;const t=de(),[n,r]=ue(null),[o,i]=ue(""),[l,u]=ue([]);se((()=>{r(t.current.parentNode.querySelector("select")),i(t.current.parentNode.querySelector("label").textContent);const e=t.current.parentNode.querySelector("select");e.setAttribute("aria-hidden","true"),e.style.visibility="hidden",e.style.height="0",e.style.position="absolute";const n=t.current.parentNode.querySelector("label");if(n.style.visibility="hidden",n.style.height="0",n.style.position="absolute",null!=e&&e.getAttribute("multiple")){const t=Array.from(e.children).map((e=>e.getAttribute("value"))),n=Array.from(e.children).filter((e=>"selected"===e.getAttribute("selected"))).map((e=>e.getAttribute("value")));n.length===t.length&&n.push("All"),u(n)}}),[]),se((()=>{n&&Array.from(n.children).forEach((e=>{l.includes(e.getAttribute("value"))?e.setAttribute("selected","selected"):e.removeAttribute("selected")}))}),[l]);const a=n&&(e=>{const t=[];null!=e&&e.getAttribute("multiple")&&t.push({value:"All",label:"All",disabled:!1});const n=e.children;for(let e=0;e"All"!==e.value)),label:o,multiple:"multiple"===n.getAttribute("multiple"),onChange:(e,t)=>{if(!n.getAttribute("multiple"))return void(n.value=t);const r=Array.from(n.children).map((e=>e.getAttribute("value")));if(t.includes("All"))if(l.includes("All")){const e=t.filter((e=>"All"!==e));u(e)}else u([...r,"All"]);else l.includes("All")&&t.length===r.length?u([]):t.length===r.length?u([...r,"All"]):u(t)},defaultValue:(()=>{let e=[];for(let t of null==n?void 0:n.children)if(t.getAttribute("selected")){if(!n.getAttribute("multiple"))return t.getAttribute("value");e.push(t.getAttribute("value"))}return e})(),value:"multiple"===n.getAttribute("multiple")?l:void 0,emptyLabel:null===(e=a.find((e=>"All"===e.value)))||void 0===e?void 0:e.label})})};Drupal.behaviors.selectPreact={attach:function(e){let t="";try{t="."+e.getAttribute("class").replace(/ /g,".")}catch(e){}Ft("combobox-select-list",$i).render({selector:`${t} .select-preact`,initialProps:{focus:t.indexOf("js-view-dom-id")>=0}})}}})(),r})())); \ No newline at end of file diff --git a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list.tsx b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list.tsx index eac8ffa8e..10e324dc8 100644 --- a/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list.tsx +++ b/docroot/profiles/humsci/su_humsci_profile/js/select-lists/src/select-list.tsx @@ -235,6 +235,7 @@ const SelectList = ({ useEffect(() => { if (!listboxVisible && value.length > 0) { + if (!listboxVisible && value && value.length > 0) { listboxVisible && listboxRef.current?.focus(); } }, [listboxVisible, value]); From 2fb90e7711bee6d36c0c267757d64d409661e696 Mon Sep 17 00:00:00 2001 From: Joe Gilliland-Lloyd <6943710+joegl@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:50:16 -0500 Subject: [PATCH 11/11] Apply patch to load modules when middleware or cache invokes hooks (#1624) * Apply patch to load modules when middleware or cache invokes hooks. --- composer.json | 1 + patches/core-mr-6976.patch | 95 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 patches/core-mr-6976.patch diff --git a/composer.json b/composer.json index 2b1bb2762..da577c7d6 100644 --- a/composer.json +++ b/composer.json @@ -239,6 +239,7 @@ "https://www.drupal.org/project/drupal/issues/2981837": "https://www.drupal.org/files/issues/2019-05-22/findMigrationDependencies-null-process-value-2981837-5.patch", "https://www.drupal.org/project/drupal/issues/1349080": "https://git.drupalcode.org/project/drupal/-/commit/c271adbb22f28a66ff4321b2fb7f86f20fe0c838.patch", "https://www.drupal.org/project/drupal/issues/3306916": "https://www.drupal.org/files/issues/2023-12-19/3306916-18.patch", + "https://www.drupal.org/project/drupal/issues/3207813: ModuleHandler skips all hook implementations when invoked before the module files have been loaded": "patches/core-mr-6976.patch", "views form null fix": "patches/core-views.patch", "CKEditor 5 headings plugin paragraph label change": "patches/ckeditor5-paragraph-rename.patch", "Allow hs group blocks in layout_builder": "patches/layout_builder-allow-hs-blocks.patch", diff --git a/patches/core-mr-6976.patch b/patches/core-mr-6976.patch new file mode 100644 index 000000000..44835eaab --- /dev/null +++ b/patches/core-mr-6976.patch @@ -0,0 +1,95 @@ +From d46e4fd798c45bdebd311592f60a01596d154339 Mon Sep 17 00:00:00 2001 +From: solideogloria <39064-solideogloria@users.noreply.drupalcode.org> +Date: Fri, 8 Mar 2024 09:11:09 -0600 +Subject: [PATCH] Add changes from patch 27. + +--- + .../Drupal/Core/Extension/ModuleHandler.php | 17 +++++++++++++ + .../Core/Extension/ModuleHandlerTest.php | 24 ++++++++++++++++++- + 2 files changed, 40 insertions(+), 1 deletion(-) + +diff --git a/core/lib/Drupal/Core/Extension/ModuleHandler.php b/core/lib/Drupal/Core/Extension/ModuleHandler.php +index 61e2f638fe50..fceca545870c 100644 +--- a/core/lib/Drupal/Core/Extension/ModuleHandler.php ++++ b/core/lib/Drupal/Core/Extension/ModuleHandler.php +@@ -629,6 +629,12 @@ protected function getImplementationInfo($hook) { + protected function buildImplementationInfo($hook) { + $implementations = []; + $hook_info = $this->getHookInfo(); ++ ++ // In case it's an early stage and the hook info was loaded from cache, the ++ // module files are not yet loaded at this point and discovery below ++ // produces an empty list. ++ $this->loadAll(); ++ + foreach ($this->moduleList as $module => $extension) { + $include_file = isset($hook_info[$hook]['group']) && $this->loadInclude($module, 'inc', $module . '.' . $hook_info[$hook]['group']); + // Since $this->implementsHook() may needlessly try to load the include +@@ -678,6 +684,17 @@ protected function buildImplementationInfo($hook) { + * from the cache. + */ + protected function verifyImplementations(&$implementations, $hook) { ++ // Under certain circumstances the module files are not yet loaded. This ++ // happens for example when invoking a hook inside the constructor of a ++ // http_middleware service; these services are constructed very early as ++ // a dependency of http_kernel service. A more concrete example is a ++ // middleware service using the entity_type.manager. Most of the times ++ // the entity type information is retrieved from cache (stored in the ++ // discovery cache bin). When this cache however is missing, hooks ++ // like hook_entity_type_build() and hook_entity_type_alter() need to be ++ // invoked at this early stage. ++ $this->loadAll(); ++ + $all_valid = TRUE; + foreach ($implementations as $module => $group) { + // If this hook implementation is stored in a lazy-loaded file, include +diff --git a/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php b/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php +index 456cd998b08d..65dbfc3863ef 100644 +--- a/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php ++++ b/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php +@@ -396,6 +396,7 @@ function (callable $hook, string $module) use (&$implementors) { + * Tests getImplementations. + * + * @covers ::invokeAllWith ++ * @covers ::verifyImplementations + */ + public function testCachedGetImplementationsMissingMethod() { + $this->cacheBackend->expects($this->exactly(1)) +@@ -422,7 +423,6 @@ public function testCachedGetImplementationsMissingMethod() { + ]) + ->onlyMethods(['buildImplementationInfo']) + ->getMock(); +- $module_handler->load('module_handler_test'); + + $module_handler->expects($this->never())->method('buildImplementationInfo'); + $implementors = []; +@@ -538,4 +538,26 @@ public function testGetModuleDirectories() { + $this->assertEquals(['node' => $this->root . '/core/modules/node'], $module_handler->getModuleDirectories()); + } + ++ /** ++ * Tests that modules are included in case of a partial cache miss. ++ * ++ * @covers ::hasImplementations ++ * @covers ::getImplementationInfo ++ * @covers ::buildImplementationInfo ++ */ ++ public function testMissingHookImplementationCache() { ++ // Simulate missing cache entry for hook implementations, but existing one ++ // for hook info. ++ $this->cacheBackend ++ ->expects($this->exactly(2)) ++ ->method('get') ++ ->willReturnMap([ ++ ['hook_info', FALSE, (object) ['data' => []]], ++ ['module_implements', FALSE, FALSE], ++ ]); ++ ++ $module_handler = $this->getModuleHandler(); ++ $this->assertTrue($module_handler->hasImplementations('hook', 'module_handler_test')); ++ } ++ + } +-- +GitLab +