From 64f7eabd9660dddebb602d6c92205bbffbf15959 Mon Sep 17 00:00:00 2001 From: Dmitry Zakharov Date: Fri, 31 Jan 2025 11:32:05 +0200 Subject: [PATCH] Try removing images.unoptimized: true --- next.config.js | 1 - out/404.html | 12 ----- .../data/9f98RbdlKRUG4vfRw1OQS/index.json | 1 - .../_buildManifest.js | 2 +- .../_ssgManifest.js | 0 ...897bc74bd25.js => 628-6b2b3e2cd1f719c2.js} | 2 +- ...54d0192310.js => main-5b7ecc5cb262700d.js} | 2 +- out/favicon/android-chrome-192x192.png | Bin 2331 -> 0 bytes out/favicon/android-chrome-512x512.png | Bin 4486 -> 0 bytes out/favicon/apple-touch-icon.png | Bin 2240 -> 0 bytes out/favicon/browserconfig.xml | 9 ---- out/favicon/favicon-16x16.png | Bin 505 -> 0 bytes out/favicon/favicon-32x32.png | Bin 801 -> 0 bytes out/favicon/favicon.ico | Bin 15086 -> 0 bytes out/favicon/mstile-144x144.png | Bin 1788 -> 0 bytes out/favicon/mstile-150x150.png | Bin 1916 -> 0 bytes out/favicon/mstile-310x150.png | Bin 2117 -> 0 bytes out/favicon/mstile-310x310.png | Bin 2828 -> 0 bytes out/favicon/mstile-70x70.png | Bin 1426 -> 0 bytes out/favicon/safari-pinned-tab.svg | 28 ----------- out/favicon/site.webmanifest | 19 -------- out/index.html | 46 ------------------ out/robots.txt | 3 -- out/sitemap.xml | 7 --- 24 files changed, 3 insertions(+), 129 deletions(-) delete mode 100644 out/404.html delete mode 100644 out/_next/data/9f98RbdlKRUG4vfRw1OQS/index.json rename out/_next/static/{9f98RbdlKRUG4vfRw1OQS => AcAtc5ALK48Ic_qtJxuXA}/_buildManifest.js (82%) rename out/_next/static/{9f98RbdlKRUG4vfRw1OQS => AcAtc5ALK48Ic_qtJxuXA}/_ssgManifest.js (100%) rename out/_next/static/chunks/{628-e03e8897bc74bd25.js => 628-6b2b3e2cd1f719c2.js} (99%) rename out/_next/static/chunks/{main-835d8954d0192310.js => main-5b7ecc5cb262700d.js} (99%) delete mode 100644 out/favicon/android-chrome-192x192.png delete mode 100644 out/favicon/android-chrome-512x512.png delete mode 100644 out/favicon/apple-touch-icon.png delete mode 100644 out/favicon/browserconfig.xml delete mode 100644 out/favicon/favicon-16x16.png delete mode 100644 out/favicon/favicon-32x32.png delete mode 100644 out/favicon/favicon.ico delete mode 100644 out/favicon/mstile-144x144.png delete mode 100644 out/favicon/mstile-150x150.png delete mode 100644 out/favicon/mstile-310x150.png delete mode 100644 out/favicon/mstile-310x310.png delete mode 100644 out/favicon/mstile-70x70.png delete mode 100644 out/favicon/safari-pinned-tab.svg delete mode 100644 out/favicon/site.webmanifest delete mode 100644 out/index.html delete mode 100644 out/robots.txt delete mode 100644 out/sitemap.xml diff --git a/next.config.js b/next.config.js index 6191238..c51ad56 100644 --- a/next.config.js +++ b/next.config.js @@ -40,7 +40,6 @@ const nextConfiguration = { }, images: { domains: ['cdn.sanity.io'], - unoptimized: true, }, webpack: (config, options) => { config.resolve.alias['@'] = path.join(__dirname, 'src'); diff --git a/out/404.html b/out/404.html deleted file mode 100644 index e358ce6..0000000 --- a/out/404.html +++ /dev/null @@ -1,12 +0,0 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/out/_next/data/9f98RbdlKRUG4vfRw1OQS/index.json b/out/_next/data/9f98RbdlKRUG4vfRw1OQS/index.json deleted file mode 100644 index 1848399..0000000 --- a/out/_next/data/9f98RbdlKRUG4vfRw1OQS/index.json +++ /dev/null @@ -1 +0,0 @@ -{"pageProps":{"pageContent":{"privacyPolicy":{"privacyPolicyContent":"\n## **Политика в отношении обработки персональных данных**\n\n##### 1. Общие положения\n\nНастоящая политика обработки персональных данных составлена в соответствии с требованиями Федерального закона от 27.07.2006. №152-ФЗ «О персональных данных» и определяет порядок обработки персональных данных и меры по обеспечению безопасности персональных данных Хунузиди Янисом Эдуардовичем (далее – Оператор).\n\n1. Оператор ставит своей важнейшей целью и условием осуществления своей деятельности соблюдение прав и свобод человека и гражданина при обработке его персональных данных, в том числе защиты прав на неприкосновенность частной жизни, личную и семейную тайну.\n2. Настоящая политика Оператора в отношении обработки персональных данных (далее – Политика) применяется ко всей информации, которую Оператор может получить о посетителях веб-сайта https://pantheon.fun.\n\n##### 2. Основные понятия, используемые в Политике\n\n1. Автоматизированная обработка персональных данных – обработка персональных данных с помощью средств вычислительной техники;\n2. Блокирование персональных данных – временное прекращение обработки персональных данных (за исключением случаев, если обработка необходима для уточнения персональных данных);\n3. Веб-сайт – совокупность графических и информационных материалов, а также программ для ЭВМ и баз данных, обеспечивающих их доступность в сети интернет по сетевому адресу https://pantheon.fun;\n4. Информационная система персональных данных — совокупность содержащихся в базах данных персональных данных, и обеспечивающих их обработку информационных технологий и технических средств;\n5. Обезличивание персональных данных — действия, в результате которых невозможно определить без использования дополнительной информации принадлежность персональных данных конкретному Пользователю или иному субъекту персональных данных;\n6. Обработка персональных данных – любое действие (операция) или совокупность действий (операций), совершаемых с использованием средств автоматизации или без использования таких средств с персональными данными, включая сбор, запись, систематизацию, накопление, хранение, уточнение (обновление, изменение), извлечение, использование, передачу (распространение, предоставление, доступ), обезличивание, блокирование, удаление, уничтожение персональных данных;\n7. Оператор – государственный орган, муниципальный орган, юридическое или физическое лицо, самостоятельно или совместно с другими лицами организующие и (или) осуществляющие обработку персональных данных, а также определяющие цели обработки персональных данных, состав персональных данных, подлежащих обработке, действия (операции), совершаемые с персональными данными;\n8. Персональные данные – любая информация, относящаяся прямо или косвенно к определенному или определяемому Пользователю веб-сайта https://pantheon.fun;\n9. Пользователь – любой посетитель веб-сайта https://pantheon.fun;\n10. Предоставление персональных данных – действия, направленные на раскрытие персональных данных определенному лицу или определенному кругу лиц;\n11. Распространение персональных данных – любые действия, направленные на раскрытие персональных данных неопределенному кругу лиц (передача персональных данных) или на ознакомление с персональными данными неограниченного круга лиц, в том числе обнародование персональных данных в средствах массовой информации, размещение в информационно-телекоммуникационных сетях или предоставление доступа к персональным данным каким-либо иным способом;\n12. Трансграничная передача персональных данных – передача персональных данных на территорию иностранного государства органу власти иностранного государства, иностранному физическому или иностранному юридическому лицу;\n13. Уничтожение персональных данных – любые действия, в результате которых персональные данные уничтожаются безвозвратно с невозможностью дальнейшего восстановления содержания персональных данных в информационной системе персональных данных и (или) результате которых уничтожаются материальные носители персональных данных.\n\n##### 3. Оператор может обрабатывать следующие персональные данные Пользователя\n\n1. Фамилия, имя, отчество;\n2. Номер телефона;\n3. Также на сайте происходит сбор и обработка обезличенных данных о посетителях (в т.ч. файлов «cookie») с помощью сервисов интернет-статистики (Яндекс Метрика и Гугл Аналитика и других).\n4. Вышеперечисленные данные далее по тексту Политики объединены общим понятием Персональные данные.\n\n##### 4. Цели обработки персональных данных\n\n1. Цель обработки персональных данных Пользователя — обратный звонок клиенту для уточнения подробностей игры\n2. Также Оператор имеет право направлять Пользователю уведомления о новых продуктах и услугах, специальных предложениях и различных событиях. Пользователь всегда может отказаться от получения информационных сообщений, направив Оператору письмо на адрес электронной почты pantheon.corp@gmail.com с пометкой «Отказ от уведомлениях о новых продуктах и услугах и специальных предложениях».\n3. Обезличенные данные Пользователей, собираемые с помощью сервисов интернет-статистики, служат для сбора информации о действиях Пользователей на сайте, улучшения качества сайта и его содержания.\n\n##### 5. Правовые основания обработки персональных данных\n\n1. Оператор обрабатывает персональные данные Пользователя только в случае их заполнения и/или отправки Пользователем самостоятельно через специальные формы, расположенные на сайте https://pantheon.fun. Заполняя соответствующие формы и/или отправляя свои персональные данные Оператору, Пользователь выражает свое согласие с данной Политикой.\n2. Оператор обрабатывает обезличенные данные о Пользователе в случае, если это разрешено в настройках браузера Пользователя (включено сохранение файлов «cookie» и использование технологии JavaScript).\n\n##### 6. Порядок сбора, хранения, передачи и других видов обработки персональных данных\n\nБезопасность персональных данных, которые обрабатываются Оператором, обеспечивается путем реализации правовых, организационных и технических мер, необходимых для выполнения в полном объеме требований действующего законодательства в области защиты персональных данных.\n\n1. Оператор обеспечивает сохранность персональных данных и принимает все возможные меры, исключающие доступ к персональным данным неуполномоченных лиц.\n2. Персональные данные Пользователя никогда, ни при каких условиях не будут переданы третьим лицам, за исключением случаев, связанных с исполнением действующего законодательства.\n3. В случае выявления неточностей в персональных данных, Пользователь может актуализировать их самостоятельно, путем направления Оператору уведомление на адрес электронной почты Оператора pantheon.corp@gmail.com с пометкой «Актуализация персональных данных».\n4. Срок обработки персональных данных является неограниченным. Пользователь может в любой момент отозвать свое согласие на обработку персональных данных, направив Оператору уведомление посредством электронной почты на электронный адрес Оператора pantheon.corp@gmail.com с пометкой «Отзыв согласия на обработку персональных данных».\n\n##### 7. Трансграничная передача персональных данных\n\n1. Оператор до начала осуществления трансграничной передачи персональных данных обязан убедиться в том, что иностранным государством, на территорию которого предполагается осуществлять передачу персональных данных, обеспечивается надежная защита прав субъектов персональных данных.\n2. Трансграничная передача персональных данных на территории иностранных государств, не отвечающих вышеуказанным требованиям, может осуществляться только в случае наличия согласия в письменной форме субъекта персональных данных на трансграничную передачу его персональных данных и/или исполнения договора, стороной которого является субъект персональных данных.\n\n##### 8. Заключительные положения\n\n1. Пользователь может получить любые разъяснения по интересующим вопросам, касающимся обработки его персональных данных, обратившись к Оператору с помощью электронной почты pantheon.corp@gmail.com.\n2. В данном документе будут отражены любые изменения политики обработки персональных данных Оператором. Политика действует бессрочно до замены ее новой версией.\n3. Актуальная версия Политики в свободном доступе расположена в сети Интернет по адресу https://pantheon.fun."},"faqSection":{"heading":"Часто задаваемые вопросы","faq":[{"question":"Что лучше надеть?","answer":"Удобную обувь и одежду, игра активная."},{"question":"Можно ли приносить свою еду?","answer":"Да. Вы можете принести свою еду, а также заранее заказать доставку."},{"question":"Это безопасно?","answer":"Конечно! Игра бесконтактная, а инфракрасное излучение, на котором основан лазертаг, абсолютно безопасно, что позволяет играть даже самым маленьким."},{"question":"Возможно ли присматривать за ребенком во время игры?","answer":"Да, в комнате отдыха есть экран, по которому через камеры видеонаблюдения можно следить за игрой."},{"question":"Расскажите про сценарии","answer":"У нас большое разнообразие сценариев:\n\n- Командная перестрелка\n- Захват точки\n- Освобождение заложника\n- Обезвреживание бомбы\n- Ночной режим\n- Зомби\n- и другие\n\nИнструктор планирует игровой сценарий индивидуально."},{"answer":"Мы проводим игры от 6-ти до 30-ти игроков, но гостей может быть и больше.","question":"Сколько может быть игроков?"}]},"priceListSection":{"priceDetails":["Стоимость указана за одного участника","Максимальное количество игроков - **30**","Минимальная оплата за **6** человек","Игра проводится по предварительной брони с предоплатой"],"specialOffers":[{"offerBody":"- Именинник играет **бесплатно**\n- Фотосъёмка\n- Банкетный зал\n- Специальный раунд против *«Монстра»*\n- Дополнительные **30 минут** на поздравления\n\n_Минимальная оплата за **5** человек_","offerName":"Комплекс «День Рождения»"},{"offerName":"Спеццена для больших групп","offerBody":"Скидка **10%** от **12** игроков\n\nСкидка **20%** от **22** игроков\n\n**\\*** Спеццена **распространяется** на *Комплекс «День Рождения»*"}]},"references":{"address":"Олимпийский проспект 20к1, Мытищи","ymapScript":"https://api-maps.yandex.ru/services/constructor/1.0/js/?um=constructor%3A992f3be32d8510526adae1688dbd1144e734b0fda3d4fe6f4328beda73da6afa&width=100%25&height=500&lang=ru_RU&scroll=true","telNumber":"+7 977 722 09 60","email":"corp.pantheon@yandex.ru","instLink":"https://www.instagram.com/club.pantheon/","vkLink":"https://vk.com/club.pantheon","detailedRouteLink":"https://vk.com/topic-97450505_40313878","ymapLink":"https://yandex.ru/maps/10740/mytischi/?from=api-maps&ll=37.765531%2C55.920939&mode=search&oid=52710844172&ol=biz&utm_source=api-maps&z=18","devLink":"https://github.com/DZakh"},"aboutUsSection":{"text":"PANTHEON — это крытая арена спортивно-тактических игр в Мытищах и отличное место активного отдыха как для детей, так и для взрослых.\n\nПлощадка 400кв.м, в 10 минутах ходьбы от станции Мытищи и ТЦ Красный Кит.","heading":"О нас"},"priceSection":{"heading":"Наши преимущества","pricePluses":[{"plus":"Приватные игры","description":"На игре не будет посторонних участников — только ваша команда"},{"description":"Подберём подходящие режимы и сценарии, сопроводим в течение игры","plus":"Индивидуальный подход"},{"plus":"Комната отдыха","description":"Уютное место, где можно следить за игрой на мониторе, отдохнуть и перекусить"},{"plus":"Арсенал","description":"Передовое и разнообразное оборудование для любого возраста"},{"plus":"Светомузыкальная вариативность","description":"Широкий спектр возможностей для создания уникальной атмосферы"},{"plus":"Онлайн статистика","description":"Следи за своими результатами во время игры на проекторе"}],"backgroundImage":{"img":{"_type":"image","asset":{"_ref":"image-ad4d75c0da55fcfa4a9498446da4ed91d59addf0-2560x1707-jpg","_type":"reference"}},"alt":"Грозный боец выглядывает из тьмы"}},"mainSection":{"siteLogo":{"alt":"Логотип клуба активно-тактических игр «Pantheon»","img":{"_type":"image","asset":{"_type":"reference","_ref":"image-42bad918e924af1450dd66f0288efc91428a5bbc-345x248-png"}}},"carousel":[{"img":{"hotspot":{"x":0.39372822299651566,"y":0.4085365853658534,"height":0.6655052264808359,"_type":"sanity.imageHotspot","width":0.7874564459930313},"_type":"image","asset":{"_ref":"image-a7be048f5240ecbe540934dfb44bc84762511dff-960x1280-jpg","_type":"reference"},"crop":{"_type":"sanity.imageCrop","right":0,"top":0.07578397212543549,"left":0,"bottom":0.2587108013937286}},"alt":"Парень с лазертаг пушкой "},{"img":{"_type":"image","asset":{"_ref":"image-a6d57089ab272db15642063fb3592d99028a263e-7360x4912-jpg","_type":"reference"}},"alt":"мальчик с шариками"},{"img":{"_type":"image","asset":{"_ref":"image-66791075043e21e4688b0aeec64e6f9dbe4e3ecc-3000x2000-jpg","_type":"reference"}},"alt":"Торт день рождения"},{"alt":"маленький ребёнок целится 2","img":{"_type":"image","asset":{"_type":"reference","_ref":"image-454d03271abb4aa54b6477c5874d4b49575e71f3-7360x4912-jpg"}}},{"img":{"_type":"image","asset":{"_ref":"image-88e5c43be4a860c773323621b8cced43988b6416-2560x1707-jpg","_type":"reference"}},"alt":"торт со свечками"}],"siteTitle":"Лазертаг-клуб в Мытищах","mainReservationButton":"Забронировать время","hints":["Дни рождения","Праздники","Корпоративы"]},"gamesSection":{"gameCards":[{"title":"Лазертаг","description":"Безопасный аналог страйкбола и пейнтбола. Все «попадания» фиксируют датчики на голове игрока. На коже не остаётся синяков и ссадин, а значит, играть могут все.","icon":{"alt":"Логотип игры Лазертаг, напоминающий внешне футуристичный прицел","img":{"asset":{"_ref":"image-ea16c554f02497948ec7af5ad2124bfc4bc316bf-278x181-png","_type":"reference"},"_type":"image"}}},{"description":"Активная игра для детей от 6 лет, большой выбор бластеров с мягкими пульками, которые абсолютно безопасны. Каждому обеспечено море безудержного веселья!","icon":{"alt":"Логотип игры Нерф в минималистичных красных и белых цветах","img":{"_type":"image","asset":{"_ref":"image-3b841f67775d3854db5308d87e94dce75ac895c6-755x355-png","_type":"reference"}}},"title":"Нерф"},{"icon":{"img":{"_type":"image","asset":{"_ref":"image-5367f6166cf64c28dbafb936b900444ee1e63728-2426x1816-png","_type":"reference"}},"alt":"Квест в процессе разработки"},"title":"Квест (В Разработке)","description":"Интерактивный лазертаг-квест с участием актёров."}],"heading":"Вы сами выбираете во что играть"},"gallerySection":{"heading":"Стань частью сражения","galleryImages":[{"img":{"_type":"image","asset":{"_ref":"image-7648c70018b2ae73c69dd9805a650cc4a8c8da0a-960x1280-jpg","_type":"reference"}},"alt":"Команда "},{"img":{"asset":{"_ref":"image-cbe5c5b2e3e7259c86c27f97d11d7d00901c56e4-3000x2000-jpg","_type":"reference"},"_type":"image"},"alt":"Пиньята "},{"img":{"_type":"image","asset":{"_type":"reference","_ref":"image-382e83e8ca86ac663b5b6a6da80b6801521af411-1080x1080-jpg"},"crop":{"bottom":0.07310704960835512,"_type":"sanity.imageCrop","right":0,"top":0,"left":0},"hotspot":{"_type":"sanity.imageHotspot","width":1,"x":0.5,"y":0.46344647519582244,"height":0.9268929503916449}},"alt":"Торт"},{"alt":"захват контрольной точки","img":{"_type":"image","asset":{"_ref":"image-2d10877a26324522cda771442eb6c3345b6943bc-7360x4912-jpg","_type":"reference"}}},{"img":{"_type":"image","asset":{"_type":"reference","_ref":"image-44ec5ae394958eb094f62eb8aea6ab66e3bc6723-7360x4912-jpg"}},"alt":"3 товарища"},{"img":{"hotspot":{"y":0.5,"height":1,"_type":"sanity.imageHotspot","width":1,"x":0.5},"_type":"image","asset":{"_ref":"image-97736b8eabe4cb51f6a9ca9c8620d0dec4f18129-3000x2000-jpg","_type":"reference"},"crop":{"bottom":0,"_type":"sanity.imageCrop","right":0,"top":0,"left":0}},"alt":"Комната отдыха #1"},{"alt":"саше 8 лет","img":{"_type":"image","asset":{"_type":"reference","_ref":"image-a1f18ad8daf4773daa3729680fdbf3cea4685922-648x1152-jpg"}}},{"img":{"_type":"image","asset":{"_type":"reference","_ref":"image-139123e35432314502810fc685c57eefc6848e05-4912x7360-jpg"}},"alt":"девочка с пушкой"}],"albumBtn":{"text":"Фото с игр","url":"https://vk.com/albums-97450505"}}}},"__N_SSG":true} \ No newline at end of file diff --git a/out/_next/static/9f98RbdlKRUG4vfRw1OQS/_buildManifest.js b/out/_next/static/AcAtc5ALK48Ic_qtJxuXA/_buildManifest.js similarity index 82% rename from out/_next/static/9f98RbdlKRUG4vfRw1OQS/_buildManifest.js rename to out/_next/static/AcAtc5ALK48Ic_qtJxuXA/_buildManifest.js index 7795d22..22795d7 100644 --- a/out/_next/static/9f98RbdlKRUG4vfRw1OQS/_buildManifest.js +++ b/out/_next/static/AcAtc5ALK48Ic_qtJxuXA/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/628-e03e8897bc74bd25.js","static/css/fbf4b91fc2d9a95e.css","static/chunks/pages/index-52ab550b27f6e728.js"],"/_error":["static/chunks/pages/_error-a4ba2246ff8fb532.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/628-6b2b3e2cd1f719c2.js","static/css/fbf4b91fc2d9a95e.css","static/chunks/pages/index-52ab550b27f6e728.js"],"/_error":["static/chunks/pages/_error-a4ba2246ff8fb532.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/out/_next/static/9f98RbdlKRUG4vfRw1OQS/_ssgManifest.js b/out/_next/static/AcAtc5ALK48Ic_qtJxuXA/_ssgManifest.js similarity index 100% rename from out/_next/static/9f98RbdlKRUG4vfRw1OQS/_ssgManifest.js rename to out/_next/static/AcAtc5ALK48Ic_qtJxuXA/_ssgManifest.js diff --git a/out/_next/static/chunks/628-e03e8897bc74bd25.js b/out/_next/static/chunks/628-6b2b3e2cd1f719c2.js similarity index 99% rename from out/_next/static/chunks/628-e03e8897bc74bd25.js rename to out/_next/static/chunks/628-6b2b3e2cd1f719c2.js index ca24a1f..2ef1dda 100644 --- a/out/_next/static/chunks/628-e03e8897bc74bd25.js +++ b/out/_next/static/chunks/628-6b2b3e2cd1f719c2.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[628],{5258:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);s=!0);}catch(l){a=!0,i=l}finally{try{s||null==n.return||n.return()}finally{if(a)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:{};c.validateAssetType(e);var r=n.extract||void 0;r&&!r.length&&(r=["none"]);var i=c.hasDataset(this.client.clientConfig),o="image"===e?"images":"files",s=p(n,t),u=s.tag,d=s.label,f=s.title,h=s.description,m=s.creditLine,g=s.filename,y=s.source,b={label:d,title:f,description:h,filename:g,meta:r,creditLine:m};y&&(b.sourceId=y.id,b.sourceName=y.name,b.sourceUrl=y.url);var v=this.client._requestObservable({tag:u,method:"POST",timeout:s.timeout||0,uri:"/assets/".concat(o,"/").concat(i),headers:s.contentType?{"Content-Type":s.contentType}:{},query:b,body:t});return this.client.isPromiseAPI()?v.pipe(l((function(e){return"response"===e.type})),a((function(e){return e.body.document}))).toPromise():v},delete:function(e,t){console.warn("client.assets.delete() is deprecated, please use client.delete()");var n=t||"";return/^(image|file)-/.test(n)?e._id&&(n=e._id):n="".concat(e,"-").concat(n),c.hasDataset(this.client.clientConfig),this.client.delete(n)},getImageUrl:function(e,t){var n=e._ref||e;if("string"!==typeof n)throw new Error("getImageUrl() needs either an object with a _ref, or a string with an asset document ID");if(!/^image-[A-Za-z0-9_]+-\d+x\d+-[a-z]{1,5}$/.test(n))throw new Error('Unsupported asset ID "'.concat(n,'". URL generation only works for auto-generated IDs.'));var i=r(n.split("-"),4),o=i[1],s=i[2],a=i[3];c.hasDataset(this.client.clientConfig);var l=this.client.clientConfig,d=l.projectId,p=l.dataset,f=t?u(t):"";return"https://cdn.sanity.io/images/".concat(d,"/").concat(p,"/").concat(o,"-").concat(s,".").concat(a).concat(f)}}),e.exports=d},6586:function(e,t,n){"use strict";function r(e){this.client=e}n(6086)(r.prototype,{getLoginProviders:function(){return this.client.request({uri:"/auth/providers"})},logout:function(){return this.client.request({uri:"/auth/logout",method:"POST"})}}),e.exports=r},9895:function(e,t,n){"use strict";var r=n(6086),i=n(2913),o=n(2947),s=n(1356),a={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,isPromiseAPI:!0},l=["localhost","127.0.0.1","0.0.0.0"];t.defaultConfig=a,t.initConfig=function(e,n){var u=r({},n,e);u.apiVersion||s.printNoApiVersionSpecifiedWarning();var c=r({},a,u),d=c.useProjectHostname;if("undefined"===typeof Promise){var p=i("js-client-promise-polyfill");throw new Error("No native Promise-implementation found, polyfill needed - see ".concat(p))}if(d&&!c.projectId)throw new Error("Configuration must contain `projectId`");var f="undefined"!==typeof window&&window.location&&window.location.hostname,h=f&&function(e){return-1!==l.indexOf(e)}(window.location.hostname);f&&h&&c.token&&!0!==c.ignoreBrowserTokenWarning?s.printBrowserTokenWarning():"undefined"===typeof c.useCdn&&s.printCdnWarning(),d&&o.projectId(c.projectId),c.dataset&&o.dataset(c.dataset),"requestTagPrefix"in c&&(c.requestTagPrefix=c.requestTagPrefix?o.requestTag(c.requestTagPrefix).replace(/\.+$/,""):void 0),c.apiVersion="".concat(c.apiVersion).replace(/^v/,""),c.isDefaultApi=c.apiHost===a.apiHost,c.useCdn=Boolean(c.useCdn)&&!c.withCredentials,t.validateApiVersion(c.apiVersion);var m=c.apiHost.split("://",2),g=m[0],y=m[1],b=c.isDefaultApi?"apicdn.sanity.io":y;return c.useProjectHostname?(c.url="".concat(g,"://").concat(c.projectId,".").concat(y,"/v").concat(c.apiVersion),c.cdnUrl="".concat(g,"://").concat(c.projectId,".").concat(b,"/v").concat(c.apiVersion)):(c.url="".concat(c.apiHost,"/v").concat(c.apiVersion),c.cdnUrl=c.url),c},t.validateApiVersion=function(e){if("1"!==e&&"X"!==e){var t=new Date(e);if(!(/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0))throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}}},1078:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(6086),o=n(5092),s=o.map,a=o.filter,l=n(2947),u=n(7054),c=n(6102),d=n(485),p=n(5770),f=n(4327),h=function(e,t){return!1===e?void 0:"undefined"===typeof e?t:e},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{dryRun:e.dryRun,returnIds:!0,returnDocuments:h(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}},g=function(e){return"response"===e.type},y=function(e){return e.body},b=function(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))},v=function(e){return e.toPromise()};e.exports={listen:f,getDataUrl:function(e,t){var n=this.clientConfig,r=l.hasDataset(n),i="/".concat(e,"/").concat(r),o=t?"".concat(i,"/").concat(t):i;return"/data".concat(o).replace(/\/($|\?)/,"$1")},fetch:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!1===n.filterResponse?function(e){return e}:function(e){return e.result},i=this._dataRequest("query",{query:e,params:t},n).pipe(s(r));return this.isPromiseAPI()?v(i):i},getDocument:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={uri:this.getDataUrl("doc",e),json:!0,tag:t.tag},r=this._requestObservable(n).pipe(a(g),s((function(e){return e.body.documents&&e.body.documents[0]})));return this.isPromiseAPI()?v(r):r},getDocuments:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={uri:this.getDataUrl("doc",e.join(",")),json:!0,tag:t.tag},r=this._requestObservable(n).pipe(a(g),s((function(t){var n=b(t.body.documents||[],(function(e){return e._id}));return e.map((function(e){return n[e]||null}))})));return this.isPromiseAPI()?v(r):r},create:function(e,t){return this._create(e,"create",t)},createIfNotExists:function(e,t){return l.requireDocumentId("createIfNotExists",e),this._create(e,"createIfNotExists",t)},createOrReplace:function(e,t){return l.requireDocumentId("createOrReplace",e),this._create(e,"createOrReplace",t)},patch:function(e,t){return new p(e,t,this)},delete:function(e,t){return this.dataRequest("mutate",{mutations:[{delete:u(e)}]},t)},mutate:function(e,t){var n=e instanceof p||e instanceof d?e.serialize():e,r=Array.isArray(n)?n:[n],i=t&&t.transactionId;return this.dataRequest("mutate",{mutations:r,transactionId:i},t)},transaction:function(e){return new d(e,this)},dataRequest:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._dataRequest(e,t,n);return this.isPromiseAPI()?v(r):r},_dataRequest:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i="mutate"===e,o="query"===e,l=!i&&c(t),u=!i&&l.length<11264,d=u?l:"",p=n.returnFirst,f=n.timeout,h=n.token,b=n.tag,v=n.headers,S=this.getDataUrl(e,d),w={method:u?"GET":"POST",uri:S,json:!0,body:u?void 0:t,query:i&&m(n),timeout:f,headers:v,token:h,tag:b,canUseCdn:o};return this._requestObservable(w).pipe(a(g),s(y),s((function(e){if(!i)return e;var t=e.results||[];if(n.returnDocuments)return p?t[0]&&t[0].document:t.map((function(e){return e.document}));var o=p?"documentId":"documentIds",s=p?t[0]&&t[0].id:t.map((function(e){return e.id}));return r({transactionId:e.transactionId,results:t},o,s)})))},_create:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r({},t,e),s=i({returnFirst:!0,returnDocuments:!0},n);return this.dataRequest("mutate",{mutations:[o]},s)}}},6102:function(e){"use strict";var t=["tag"];function n(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var r=encodeURIComponent;e.exports=function(e){var i=e.query,o=e.params,s=void 0===o?{}:o,a=e.options,l=void 0===a?{}:a,u=l.tag,c=n(l,t),d="query=".concat(r(i)),p=u?"?tag=".concat(r(u),"&").concat(d):"?".concat(d),f=Object.keys(s).reduce((function(e,t){return"".concat(e,"&").concat(r("$".concat(t)),"=").concat(r(JSON.stringify(s[t])))}),p);return Object.keys(c).reduce((function(e,t){return l[t]?"".concat(e,"&").concat(r(t),"=").concat(r(l[t])):e}),f)}},4327:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},r=this.clientConfig,o=r.url,s=r.token,l=r.withCredentials,y=r.requestTagPrefix,b=n.tag&&y?[y,n.tag].join("."):n.tag,v=i(i({},c(n,h)),{},{tag:b}),S=u(v,f),w=d({query:e,params:t,options:S,tag:b}),k="".concat(o).concat(this.getDataUrl("listen",w));if(k.length>14800)return new a((function(e){return e.error(new Error("Query too large for listener"))}));var x=v.events?v.events:["mutation"],O=-1!==x.indexOf("reconnect"),E={};return(s||l)&&(E.withCredentials=!0),s&&(E.headers={Authorization:"Bearer ".concat(s)}),new a((function(e){var t,n=u(),r=!1;function i(){r||(O&&e.next({type:"reconnect"}),r||n.readyState===p.CLOSED&&(l(),clearTimeout(t),t=setTimeout(c,100)))}function o(t){e.error(g(t))}function s(t){var n=m(t);return n instanceof Error?e.error(n):e.next(n)}function a(t){r=!0,l(),e.complete()}function l(){n.removeEventListener("error",i,!1),n.removeEventListener("channelError",o,!1),n.removeEventListener("disconnect",a,!1),x.forEach((function(e){return n.removeEventListener(e,s,!1)})),n.close()}function u(){var e=new p(k,E);return e.addEventListener("error",i,!1),e.addEventListener("channelError",o,!1),e.addEventListener("disconnect",a,!1),x.forEach((function(t){return e.addEventListener(t,s,!1)})),e}function c(){n=u()}return function(){r=!0,l()}}))}},5770:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(6086),o=n(7054),s=n(2947),a=s.validateObject,l=s.validateInsert;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.selection=e,this.operations=i({},t),this.client=n}i(u.prototype,{clone:function(){return new u(this.selection,i({},this.operations),this.client)},set:function(e){return this._assign("set",e)},diffMatchPatch:function(e){return a("diffMatchPatch",e),this._assign("diffMatchPatch",e)},unset:function(e){if(!Array.isArray(e))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=i({},this.operations,{unset:e}),this},setIfMissing:function(e){return this._assign("setIfMissing",e)},replace:function(e){return a("replace",e),this._set("set",{$:e})},inc:function(e){return this._assign("inc",e)},dec:function(e){return this._assign("dec",e)},insert:function(e,t,n){var i;return l(e,t,n),this._assign("insert",(r(i={},e,t),r(i,"items",n),i))},append:function(e,t){return this.insert("after","".concat(e,"[-1]"),t)},prepend:function(e,t){return this.insert("before","".concat(e,"[0]"),t)},splice:function(e,t,n,r){var i=t<0?t-1:t,o="undefined"===typeof n||-1===n?-1:Math.max(0,t+n),s=i<0&&o>=0?"":o,a="".concat(e,"[").concat(i,":").concat(s,"]");return this.insert("replace",a,r||[])},ifRevisionId:function(e){return this.operations.ifRevisionID=e,this},serialize:function(){return i(o(this.selection),this.operations)},toJSON:function(){return this.serialize()},commit:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.client)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");var t="string"===typeof this.selection,n=i({returnFirst:t,returnDocuments:!0},e);return this.client.mutate({patch:this.serialize()},n)},reset:function(){return this.operations={},this},_set:function(e,t){return this._assign(e,t,!1)},_assign:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return a(e,t),this.operations=i({},this.operations,r({},e,i({},n&&this.operations[e]||{},t))),this}}),e.exports=u},485:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(6086),o=n(2947),s=n(5770),a={returnDocuments:!1};function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;this.trxId=n,this.operations=e,this.client=t}i(l.prototype,{clone:function(){return new l(this.operations.slice(0),this.client,this.trxId)},create:function(e){return o.validateObject("create",e),this._add({create:e})},createIfNotExists:function(e){var t="createIfNotExists";return o.validateObject(t,e),o.requireDocumentId(t,e),this._add(r({},t,e))},createOrReplace:function(e){var t="createOrReplace";return o.validateObject(t,e),o.requireDocumentId(t,e),this._add(r({},t,e))},delete:function(e){return o.validateDocumentId("delete",e),this._add({delete:{id:e}})},patch:function(e,t){var n="function"===typeof t;if(e instanceof s)return this._add({patch:e.serialize()});if(n){var r=t(new s(e,{},this.client));if(!(r instanceof s))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:i({id:e},t)})},transactionId:function(e){return e?(this.trxId=e,this):this.trxId},serialize:function(){return this.operations.slice()},toJSON:function(){return this.serialize()},commit:function(e){if(!this.client)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.client.mutate(this.serialize(),i({transactionId:this.trxId},a,e||{}))},reset:function(){return this.operations=[],this},_add:function(e){return this.operations.push(e),this}}),e.exports=l},8288:function(e,t,n){"use strict";var r=n(6086),i=n(2947);function o(e){this.request=e.request.bind(e)}r(o.prototype,{create:function(e,t){return this._modify("PUT",e,t)},edit:function(e,t){return this._modify("PATCH",e,t)},delete:function(e){return this._modify("DELETE",e)},list:function(){return this.request({uri:"/datasets"})},_modify:function(e,t,n){return i.dataset(t),this.request({method:e,uri:"/datasets/".concat(t),body:n})}}),e.exports=o},2913:function(e){"use strict";e.exports=function(e){return"https://docs.sanity.io/help/"+e}},1708:function(e){"use strict";e.exports=[]},2288:function(e,t,n){"use strict";var r=n(1432),i=n(6086);function o(e){var t=a(e);o.super.call(this,t.message),i(this,t)}function s(e){var t=a(e);s.super.call(this,t.message),i(this,t)}function a(e){var t=e.body,n={response:e,statusCode:e.statusCode,responseBody:l(t,e)};return t.error&&t.message?(n.message="".concat(t.error," - ").concat(t.message),n):t.error&&t.error.description?(n.message=t.error.description,n.details=t.error,n):(n.message=t.error||t.message||function(e){var t=e.statusMessage?" ".concat(e.statusMessage):"";return"".concat(e.method,"-request to ").concat(e.url," resulted in HTTP ").concat(e.statusCode).concat(t)}(e),n)}function l(e,t){return-1!==(t.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(e,null,2):e}r(o),r(s),t.ClientError=o,t.ServerError=s},3202:function(e){"use strict";e.exports=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(e[n])));return t.length>0?"?".concat(t.join("&")):""}},6126:function(e,t,n){"use strict";var r=n(6258),i=n(6086),o=n(6890),s=n(2289),a=n(8362),l=n(5018),u=n(5092).Observable,c=n(2288),d=c.ClientError,p=c.ServerError,f={onResponse:function(e){if(e.statusCode>=500)throw new p(e);if(e.statusCode>=400)throw new d(e);return e}},h={onResponse:function(e){var t=e.headers["x-sanity-warning"];return(Array.isArray(t)?t:[t]).filter(Boolean).forEach((function(e){return console.warn(e)})),e}},m=r(n(1708).concat([h,s(),a(),l(),f,o({implementation:u})]));function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;return t(i({maxRedirects:0},e))}g.defaultRequester=m,g.ClientError=d,g.ServerError=p,e.exports=g},3914:function(e,t,n){"use strict";var r=n(6086),i="X-Sanity-Project-ID";e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},o=t.token||e.token;o&&(n.Authorization="Bearer ".concat(o)),t.useGlobalApi||e.useProjectHostname||!e.projectId||(n[i]=e.projectId);var s=Boolean("undefined"===typeof t.withCredentials?e.token||e.withCredentials:t.withCredentials),a="undefined"===typeof t.timeout?e.timeout:t.timeout;return r({},t,{headers:r({},n,t.headers||{}),timeout:"undefined"===typeof a?3e5:a,proxy:t.proxy||e.proxy,json:!0,withCredentials:s})}},7015:function(e,t,n){"use strict";function r(e){this.client=e}n(6086)(r.prototype,{list:function(){return this.client.request({uri:"/projects"})},getById:function(e){return this.client.request({uri:"/projects/".concat(e)})}}),e.exports=r},9729:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(6086),s=n(5092),a=s.Observable,l=s.map,u=s.filter,c=n(5770),d=n(485),p=n(1078),f=n(8288),h=n(7015),m=n(5258),g=n(1102),y=n(6586),b=n(6126),v=n(3914),S=n(9895),w=S.defaultConfig,k=S.initConfig,x=n(2947);function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w;if(!(this instanceof O))return new O(e);if(this.config(e),this.assets=new m(this),this.datasets=new f(this),this.projects=new h(this),this.users=new g(this),this.auth=new y(this),this.clientConfig.isPromiseAPI){var t=o({},this.clientConfig,{isPromiseAPI:!1});this.observable=new O(t)}}o(O.prototype,p),o(O.prototype,{clone:function(){return new O(this.config())},config:function(e){if("undefined"===typeof e)return o({},this.clientConfig);if(this.observable){var t=o({},e,{isPromiseAPI:!1});this.observable.config(t)}return this.clientConfig=k(e,this.clientConfig||{}),this},withConfig:function(e){return this.clone().config(e)},getUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?this.clientConfig.cdnUrl:this.clientConfig.url;return"".concat(n,"/").concat(e.replace(/^\//,""))},isPromiseAPI:function(){return this.clientConfig.isPromiseAPI},_requestObservable:function(e){var t=this,n=e.url||e.uri,s="undefined"===typeof e.canUseCdn?["GET","HEAD"].indexOf(e.method||"GET")>=0&&0===n.indexOf("/data/"):e.canUseCdn,l=this.clientConfig.useCdn&&s,u=e.tag&&this.clientConfig.requestTagPrefix?[this.clientConfig.requestTagPrefix,e.tag].join("."):e.tag||this.clientConfig.requestTagPrefix;u&&(e.query=function(e){for(var t=1;t)","* Array of document IDs","* Object containing `query`"].join("\n");throw new Error("Unknown selection - must be one of:\n\n".concat(t))}},5092:function(e,t,n){"use strict";var r=n(2837).Observable,i=n(7224).filter,o=n(8359).map;e.exports={Observable:r,filter:i,map:o}},7826:function(e){"use strict";e.exports=function(e){var t,n=!1;return function(){return n||(t=e.apply(void 0,arguments),n=!0),t}}},8201:function(e){"use strict";e.exports=function(e,t){return t.reduce((function(t,n){return"undefined"===typeof e[n]||(t[n]=e[n]),t}),{})}},2947:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var r=["image","file"],i=["before","after","replace"];t.dataset=function(e){if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},t.projectId=function(e){if(!/^[-a-z0-9]+$/i.test(e))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},t.validateAssetType=function(e){if(-1===r.indexOf(e))throw new Error("Invalid asset type: ".concat(e,". Must be one of ").concat(r.join(", ")))},t.validateObject=function(e,t){if(null===t||"object"!==n(t)||Array.isArray(t))throw new Error("".concat(e,"() takes an object of properties"))},t.requireDocumentId=function(e,n){if(!n._id)throw new Error("".concat(e,'() requires that the document contains an ID ("_id" property)'));t.validateDocumentId(e,n._id)},t.validateDocumentId=function(e,t){if("string"!==typeof t||!/^[a-z0-9_.-]+$/i.test(t))throw new Error("".concat(e,'(): "').concat(t,'" is not a valid document ID'))},t.validateInsert=function(e,t,n){var r="insert(at, selector, items)";if(-1===i.indexOf(e)){var o=i.map((function(e){return'"'.concat(e,'"')})).join(", ");throw new Error("".concat(r,' takes an "at"-argument which is one of: ').concat(o))}if("string"!==typeof t)throw new Error("".concat(r,' takes a "selector"-argument which must be a string'));if(!Array.isArray(n))throw new Error("".concat(r,' takes an "items"-argument which must be an array'))},t.hasDataset=function(e){if(!e.dataset)throw new Error("`dataset` must be provided to perform queries");return e.dataset||""},t.requestTag=function(e){if("string"!==typeof e||!/^[a-z0-9._-]{1,75}$/i.test(e))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e}},1356:function(e,t,n){"use strict";var r=n(2913),i=n(7826),o=function(e){return i((function(){for(var t,n=arguments.length,r=new Array(n),i=0;ia){var l=Math.round(o.height),u=Math.round(l*a),c=Math.max(0,Math.round(o.top)),d=Math.round((s.right-s.left)/2+s.left),p=Math.max(0,Math.round(d-u/2));po.left+o.width&&(p=o.left+o.width-u),n={left:p,top:c,width:u,height:l}}else{var f=o.width,h=Math.round(f/a),m=Math.max(0,Math.round(o.left)),g=Math.round((s.bottom-s.top)/2+s.top),y=Math.max(0,Math.round(g-h/2));yo.top+o.height&&(y=o.top+o.height-h),n={left:m,top:y,width:f,height:h}}return{width:r,height:i,rect:n}}var f=["clip","crop","fill","fillmax","max","scale","min"],h=["top","bottom","left","right","center","focalpoint","entropy"],m=["format"];function g(e){return!!e&&"object"===typeof e.clientConfig}function y(e){for(var t=0,n=u;t=128>>t&&e<=2048>>t&&e<=57344>>t&&e<=65536>>t&&e<>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",o=this.bitsNeeded,s=this.codePoint,a=0;a191||!t(s<<6|63&l,o-6,n(o,s)))&&(o=0,s=r,i+=String.fromCharCode(s)),0===o?(l>=0&&l<=127?(o=0,s=l):l>=192&&l<=223?(o=6,s=31&l):l>=224&&l<=239?(o=12,s=15&l):l>=240&&l<=247?(o=18,s=7&l):(o=0,s=r),0===o||t(s,o,n(o,s))||(o=0,s=r)):(o-=6,s=s<<6|63&l),0===o&&(s<=65535?i+=String.fromCharCode(s):(i+=String.fromCharCode(55296+(s-65535-1>>10)),i+=String.fromCharCode(56320+(s-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=s,i};void 0!=g&&void 0!=y&&function(){try{return"test"===(new g).decode((new y).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(g=S);var w=function(){};function k(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=w}function x(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function O(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,c=[],d=u.reduce((function(e,t){return e[t]=e[t]||[],e}),{processOptions:[o],validateOptions:[s]});function p(e){var t=l.reduce((function(e,t){return e[t]=r(),e}),{}),o=i(d),s=o("processOptions",e);o("validateOptions",s);var a={options:s,channels:t,applyMiddleware:o},u=null,c=t.request.subscribe((function(e){u=n(e,(function(n,r){return function(e,r,i){var s=e,a=r;if(!s)try{a=o("onResponse",r,i)}catch(n){a=null,s=n}(s=s&&o("onError",s,i))?t.error.publish(s):a&&t.response.publish(a)}(n,r,e)}))}));t.abort.subscribe((function(){c(),u&&u.abort()}));var p=o("onReturn",t,a);return p===t&&t.request.publish(a),p}return p.use=function(e){if(!e)throw new Error("Tried to add middleware that resolved to falsey value");if("function"===typeof e)throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(e.onReturn&&d.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return u.forEach((function(t){e[t]&&d[t].push(e[t])})),c.push(e),p},p.clone=function(){return e(c)},t.forEach(p.use),p}},5734:function(e,t,n){"use strict";var r=n(6086),i=n(4564),o="undefined"!==typeof navigator&&"ReactNative"===navigator.product,s=Object.prototype.hasOwnProperty,a={timeout:o?6e4:12e4};function l(e){var t=[];for(var n in e)s.call(e,n)&&r(n,e[n]);return t.length?t.join("&"):"";function r(e,n){Array.isArray(n)?n.forEach((function(t){return r(e,t)})):t.push([e,n].map(encodeURIComponent).join("="))}}function u(e){if(!1===e||0===e)return!1;if(e.connect||e.socket)return e;var t=Number(e);return isNaN(t)?u(a.timeout):{connect:t,socket:t}}e.exports=function(e){var t="string"===typeof e?r({url:e},a):r({},a,e),n=i(t.url,{},!0);return t.timeout=u(t.timeout),t.query&&(n.query=r({},n.query,function(e){var t={};for(var n in e)void 0!==e[n]&&(t[n]=e[n]);return t}(t.query))),t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t.url=n.toString(l),t}},5139:function(e){"use strict";var t=/^https?:\/\//i;e.exports=function(e){if(!t.test(e.url))throw new Error('"'.concat(e.url,'" is not a valid URL'))}},2289:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i=n(6086),o=n(5299),s=["boolean","string","number"];e.exports=function(){return{processOptions:function(e){var t,n=e.body;return n&&!("function"===typeof n.pipe)&&!((t=n).constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t))&&(-1!==s.indexOf(r(n))||Array.isArray(n)||o(n))?i({},e,{body:JSON.stringify(e.body),headers:i({},e.headers,{"Content-Type":"application/json"})}):e}}}},8362:function(e,t,n){"use strict";var r=n(6086);function i(e){try{return JSON.parse(e)}catch(t){throw t.message="Failed to parsed response body as JSON: ".concat(t.message),t}}e.exports=function(e){return{onResponse:function(t){var n=t.headers["content-type"]||"",o=e&&e.force||-1!==n.indexOf("application/json");return t.body&&n&&o?r({},t,{body:i(t.body)}):t},processOptions:function(e){return r({},e,{headers:r({Accept:"application/json"},e.headers)})}}}},6890:function(e,t,n){"use strict";var r=n(3366),i=n(6086);e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.implementation||r.Observable;if(!t)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:function(e,n){return new t((function(t){return e.error.subscribe((function(e){return t.error(e)})),e.progress.subscribe((function(e){return t.next(i({type:"progress"},e))})),e.response.subscribe((function(e){t.next(i({type:"response"},e)),t.complete()})),e.request.publish(n),function(){return e.abort.publish()}}))}}}},4393:function(e){"use strict";e.exports=function(){return{onRequest:function(e){if("xhr"===e.adapter){var t=e.request,n=e.context;"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=r("upload")),"onprogress"in t&&(t.onprogress=r("download"))}function r(e){return function(t){var r=t.lengthComputable?t.loaded/t.total*100:-1;n.channels.progress.publish({stage:e,percent:r,total:t.total,loaded:t.loaded,lengthComputable:t.lengthComputable})}}}}}},5018:function(e,t,n){"use strict";e.exports=n(4393)},7288:function(e,t,n){"use strict";var r=n(7215),i=n(4947),o=n(6377),s="undefined"===typeof window?void 0:window,a=s?"xhr":"fetch",l="function"===typeof XMLHttpRequest?XMLHttpRequest:function(){},u="withCredentials"in new l,c="undefined"===typeof XDomainRequest?void 0:XDomainRequest,d=u?l:c;s||(l=o,d=o),e.exports=function(e,t){var n=e.options,o=e.applyMiddleware("finalizeOptions",n),u={},c=s&&s.location&&!r(s.location.href,o.url),p=e.applyMiddleware("interceptRequest",void 0,{adapter:a,context:e});if(p){var f=setTimeout(t,0,null,p);return{abort:function(){return clearTimeout(f)}}}var h=c?new d:new l,m=s&&s.XDomainRequest&&h instanceof s.XDomainRequest,g=o.headers,y=o.timeout,b=!1,v=!1,S=!1;if(h.onerror=O,h.ontimeout=O,h.onabort=function(){x(!0),b=!0},h.onprogress=function(){},h[m?"onload":"onreadystatechange"]=function(){!function(){if(!y)return;x(),u.socket=setTimeout((function(){return k("ESOCKETTIMEDOUT")}),y.socket)}(),b||4!==h.readyState&&!m||0!==h.status&&function(){if(b||v||S)return;if(0===h.status)return void O(new Error("Unknown XHR error"));x(),v=!0,t(null,function(){var e=h.status,t=h.statusText;if(m&&void 0===e)e=200;else{if(e>12e3&&e<12156)return O();e=1223===h.status?204:h.status,t=1223===h.status?"No Content":t}return{body:h.response||h.responseText,url:o.url,method:o.method,headers:m?{}:i(h.getAllResponseHeaders()),statusCode:e,statusMessage:t}}())}()},h.open(o.method,o.url,!0),h.withCredentials=!!o.withCredentials,g&&h.setRequestHeader)for(var w in g)g.hasOwnProperty(w)&&h.setRequestHeader(w,g[w]);else if(g&&m)throw new Error("Headers cannot be set on an XDomainRequest object");return o.rawBody&&(h.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:o,adapter:a,request:h,context:e}),h.send(o.body||null),y&&(u.connect=setTimeout((function(){return k("ETIMEDOUT")}),y.connect)),{abort:function(){b=!0,h&&h.abort()}};function k(t){S=!0,h.abort();var n=new Error("ESOCKETTIMEDOUT"===t?"Socket timed out on request to ".concat(o.url):"Connection timed out on request to ".concat(o.url));n.code=t,e.channels.error.publish(n)}function x(e){(e||b||h.readyState>=2&&u.connect)&&clearTimeout(u.connect),u.socket&&clearTimeout(u.socket)}function O(e){if(!v){x(!0),v=!0,h=null;var n=e||new Error("Network error while attempting to reach ".concat(o.url));n.isNetworkError=!0,n.request=o,t(n)}}}},6377:function(e){"use strict";function t(){this.readyState=0}t.prototype.open=function(e,t){this._method=e,this._url=t,this._resHeaders="",this.readyState=1,this.onreadystatechange()},t.prototype.abort=function(){this._controller&&this._controller.abort()},t.prototype.getAllResponseHeaders=function(){return this._resHeaders},t.prototype.setRequestHeader=function(e,t){this._headers=this._headers||{},this._headers[e]=t},t.prototype.send=function(e){var t=this,n=this._controller="function"===typeof AbortController&&new AbortController,r="arraybuffer"!==this.responseType,i={method:this._method,headers:this._headers,signal:n&&n.signal,body:e};"undefined"!==typeof window&&(i.credentials=this.withCredentials?"include":"omit"),fetch(this._url,i).then((function(e){return e.headers.forEach((function(e,n){t._resHeaders+="".concat(n,": ").concat(e,"\r\n")})),t.status=e.status,t.statusText=e.statusText,t.readyState=3,r?e.text():e.arrayBuffer()})).then((function(e){r?t.responseText=e:t.response=e,t.readyState=4,t.onreadystatechange()})).catch((function(e){"AbortError"!==e.name?t.onerror(e):t.onabort()}))},e.exports=t},9825:function(e,t,n){"use strict";e.exports=n(7288)},3366:function(e,t,n){"use strict";"undefined"!==typeof globalThis?e.exports=globalThis:"undefined"!==typeof window?e.exports=window:"undefined"!==typeof n.g?e.exports=n.g:"undefined"!==typeof self?e.exports=self:e.exports={}},6604:function(e){"use strict";e.exports=function(e){return function(t,n){for(var r="onError"===t,i=n,o=arguments.length,s=new Array(o>2?o-2:0),a=2;a-1&&e.splice(n,1)}},publish:function(){for(var t=0;t{const n=e.quality(t.quality||75).fit("clip");return null!==t.width?n.width(t.width):n};t.J=function(e,t,n){const i=n?.imageBuilder||s;return r.useMemo((()=>{if(!t)return null;const n=t?function(e){if("string"===typeof e)return e;const t=e,n=e,r=e;return"string"===typeof e?e:t.asset?t.asset._ref||t.asset._id:n._ref||r._id||""}(t):null;if(!n)return null;const r=function(e){const t=e.split("-")[2],[n,r]=t.split("x").map((e=>parseInt(e,10)));return{width:n,height:r,aspectRatio:n/r}}(n),s=function(e,t){const n=e.crop;if(!n)return t;const{width:r,height:i}=t,o=r*(1-(n.left+n.right)),s=i*(1-(n.top+n.bottom));return{width:o,height:s,aspectRatio:o/s}}(t,r),a=i(o.default(e).image(t).auto("format"),{width:null,originalImageDimensions:r,croppedImageDimensions:s,quality:null}),l=a.options.width||(a.options.maxWidth?Math.min(a.options.maxWidth,s.width):s.width),u=a.options.height||(a.options.maxHeight?Math.min(a.options.maxHeight,s.height):Math.round(l/s.aspectRatio));return{loader:({width:n,quality:a})=>i(o.default(e).image(t).auto("format"),{width:n,originalImageDimensions:r,croppedImageDimensions:s,quality:a||null}).url()||"",src:a.url(),width:l,height:u}}),[i,t,e])}},6086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},8045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9361).Z,i=n(4941).Z,o=n(3929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.src,n=e.sizes,a=e.unoptimized,l=void 0!==a&&a,m=e.priority,g=void 0!==m&&m,S=e.loading,E=e.lazyRoot,_=void 0===E?null:E,T=e.lazyBoundary,P=e.className,A=e.quality,j=e.width,I=e.height,D=e.style,M=e.objectFit,R=e.objectPosition,N=e.onLoadingComplete,L=e.placeholder,F=void 0===L?"empty":L,z=e.blurDataURL,q=u(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),B=c.useContext(h.ImageConfigContext),U=c.useMemo((function(){var e=y||B||p.imageConfigDefault,t=o(e.deviceSizes).concat(o(e.imageSizes)).sort((function(e,t){return e-t})),n=e.deviceSizes.sort((function(e,t){return e-t}));return s({},e,{allSizes:t,deviceSizes:n})}),[B]),H=q,V=n?"responsive":"intrinsic";"layout"in H&&(H.layout&&(V=H.layout),delete H.layout);var W=O;if("loader"in H){if(H.loader){var $=H.loader;W=function(e){e.config;var t=u(e,["config"]);return $(t)}}delete H.loader}var Z="";if(function(e){return"object"===typeof e&&(w(e)||function(e){return void 0!==e.src}(e))}(t)){var Y=w(t)?t.default:t;if(!Y.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(Y)));if(z=z||Y.blurDataURL,Z=Y.src,(!V||"fill"!==V)&&(I=I||Y.height,j=j||Y.width,!Y.height||!Y.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(Y)))}var X=!g&&("lazy"===S||"undefined"===typeof S);((t="string"===typeof t?t:Z).startsWith("data:")||t.startsWith("blob:"))&&(l=!0,X=!1);b.has(t)&&(X=!1);U.unoptimized&&(l=!0);var K,Q=i(c.useState(!1),2),G=Q[0],J=Q[1],ee=i(f.useIntersection({rootRef:_,rootMargin:T||"200px",disabled:!X}),3),te=ee[0],ne=ee[1],re=ee[2],ie=!X||ne,oe={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},se={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ae=!1,le={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:M,objectPosition:R},ue=x(j),ce=x(I),de=x(A);0;var pe=Object.assign({},D,le),fe="blur"!==F||G?{}:{backgroundSize:M||"cover",backgroundPosition:R||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(z,'")')};if("fill"===V)oe.display="block",oe.position="absolute",oe.top=0,oe.left=0,oe.bottom=0,oe.right=0;else if("undefined"!==typeof ue&&"undefined"!==typeof ce){var he=ce/ue,me=isNaN(he)?"100%":"".concat(100*he,"%");"responsive"===V?(oe.display="block",oe.position="relative",ae=!0,se.paddingTop=me):"intrinsic"===V?(oe.display="inline-block",oe.position="relative",oe.maxWidth="100%",ae=!0,se.maxWidth="100%",K="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(ue,"%27%20height=%27").concat(ce,"%27/%3e")):"fixed"===V&&(oe.display="inline-block",oe.position="relative",oe.width=ue,oe.height=ce)}else 0;var ge={src:v,srcSet:void 0,sizes:void 0};ie&&(ge=k({config:U,src:t,unoptimized:l,layout:V,width:ue,quality:de,sizes:n,loader:W}));var ye=t;0;var be,ve="imagesrcset",Se="imagesizes";ve="imageSrcSet",Se="imageSizes";var we=(r(be={},ve,ge.srcSet),r(be,Se,ge.sizes),be),ke=c.default.useLayoutEffect,xe=c.useRef(N),Oe=c.useRef(t);c.useEffect((function(){xe.current=N}),[N]),ke((function(){Oe.current!==t&&(re(),Oe.current=t)}),[re,t]);var Ee=s({isLazy:X,imgAttributes:ge,heightInt:ce,widthInt:ue,qualityInt:de,layout:V,className:P,imgStyle:pe,blurStyle:fe,loading:S,config:U,unoptimized:l,placeholder:F,loader:W,srcString:ye,onLoadingCompleteRef:xe,setBlurComplete:J,setIntersection:te,isVisible:ie,noscriptSizes:n},H);return c.default.createElement(c.default.Fragment,null,c.default.createElement("span",{style:oe},ae?c.default.createElement("span",{style:se},K?c.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:K}):null):null,c.default.createElement(C,Object.assign({},Ee))),g?c.default.createElement(d.default,null,c.default.createElement("link",Object.assign({key:"__nimg-"+ge.src+ge.srcSet+ge.sizes,rel:"preload",as:"image",href:ge.srcSet?void 0:ge.src},we))):null)};var s=n(6495).Z,a=n(2648).Z,l=n(1598).Z,u=n(7273).Z,c=l(n(7294)),d=a(n(5443)),p=n(9309),f=n(7190),h=n(9977),m=(n(3794),n(2392));function g(e){return"/"===e[0]?e.slice(1):e}var y={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0},b=new Set,v=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var S=new Map([["default",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:"".concat(m.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(i||75)}],["imgix",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality,o=new URL("".concat(t.path).concat(g(n))),s=o.searchParams;return s.set("auto",s.getAll("auto").join(",")||"format"),s.set("fit",s.get("fit")||"max"),s.set("w",s.get("w")||r.toString()),i&&s.set("q",i.toString()),o.href}],["cloudinary",function(e){var t=e.config,n=e.src,r=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(t.path).concat(r).concat(g(n))}],["akamai",function(e){var t=e.config,n=e.src,r=e.width;return"".concat(t.path).concat(g(n),"?imwidth=").concat(r)}],["custom",function(e){var t=e.src;throw new Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function w(e){return void 0!==e.default}function k(e){var t=e.config,n=e.src,r=e.unoptimized,i=e.layout,s=e.width,a=e.quality,l=e.sizes,u=e.loader;if(r)return{src:n,srcSet:void 0,sizes:void 0};var c=function(e,t,n,r){var i=e.deviceSizes,s=e.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var a,l=/(^|\s)(1?\d?\d)vw/g,u=[];a=l.exec(r);a)u.push(parseInt(a[2]));if(u.length){var c,d=.01*(c=Math).min.apply(c,o(u));return{widths:s.filter((function(e){return e>=i[0]*d})),kind:"w"}}return{widths:s,kind:"w"}}return"number"!==typeof t||"fill"===n||"responsive"===n?{widths:i,kind:"w"}:{widths:o(new Set([t,2*t].map((function(e){return s.find((function(t){return t>=e}))||s[s.length-1]})))),kind:"x"}}(t,s,i,l),d=c.widths,p=c.kind,f=d.length-1;return{sizes:l||"w"!==p?l:"100vw",srcSet:d.map((function(e,r){return"".concat(u({config:t,src:n,quality:a,width:e})," ").concat("w"===p?e:r+1).concat(p)})).join(", "),src:u({config:t,src:n,quality:a,width:d[f]})}}function x(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function O(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",r=S.get(n);if(r)return r(e);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(p.VALID_LOADERS.join(", "),". Received: ").concat(n))}function E(e,t,n,r,i,o){e&&e.src!==v&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if(e.parentNode&&(b.add(t),"blur"===r&&o(!0),null==i?void 0:i.current)){var n=e.naturalWidth,s=e.naturalHeight;i.current({naturalWidth:n,naturalHeight:s})}})))}var C=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),r=e.qualityInt,i=e.layout,o=e.className,a=e.imgStyle,l=e.blurStyle,d=e.isLazy,p=e.placeholder,f=e.loading,h=e.srcString,m=e.config,g=e.unoptimized,y=e.loader,b=e.onLoadingCompleteRef,v=e.setBlurComplete,S=e.setIntersection,w=e.onLoad,x=e.onError,O=(e.isVisible,e.noscriptSizes),C=u(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return f=d?"lazy":f,c.default.createElement(c.default.Fragment,null,c.default.createElement("img",Object.assign({},C,t,{decoding:"async","data-nimg":i,className:o,style:s({},a,l),ref:c.useCallback((function(e){S(e),(null==e?void 0:e.complete)&&E(e,h,0,p,b,v)}),[S,h,i,p,b,v]),onLoad:function(e){E(e.currentTarget,h,0,p,b,v),w&&w(e)},onError:function(e){"blur"===p&&v(!0),x&&x(e)}})),(d||"blur"===p)&&c.default.createElement("noscript",null,c.default.createElement("img",Object.assign({},C,k({config:m,src:h,unoptimized:g,layout:i,width:n,quality:r,sizes:O,loader:y}),{decoding:"async","data-nimg":i,style:a,className:o,loading:f}))))};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4941).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,u=e.disabled||!s,c=r(i.useState(!1),2),d=c[0],p=c[1],f=r(i.useState(null),2),h=f[0],m=f[1];i.useEffect((function(){if(s){if(u||d)return;if(h&&h.tagName){var e=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=a.get(r)))return t;var i=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:o,elements:i},l.push(n),a.set(n,t),t}(n),i=r.id,o=r.observer,s=r.elements;return s.set(e,t),o.observe(e),function(){if(s.delete(e),o.unobserve(e),0===s.size){o.disconnect(),a.delete(i);var t=l.findIndex((function(e){return e.root===i.root&&e.margin===i.margin}));t>-1&&l.splice(t,1)}}}(h,(function(e){return e&&p(e)}),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!d){var r=o.requestIdleCallback((function(){return p(!0)}));return function(){return o.cancelIdleCallback(r)}}}),[h,u,n,t,d]);var g=i.useCallback((function(){p(!1)}),[]);return[m,d,g]};var i=n(7294),o=n(9311),s="function"===typeof IntersectionObserver,a=new Map,l=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2571:function(e,t,n){"use strict";n.d(t,{R2:function(){return i},UI:function(){return o},VS:function(){return s}});var r=n(4755);function i(e,t,n){return void 0!==e?n(r.xt(e)):t}function o(e,t){if(void 0!==e)return r.G(t(r.xt(e)))}function s(e,t){if(void 0!==e)return t(r.xt(e))}},859:function(e,t,n){"use strict";function r(e){for(var t="",n=0,r=e.length;n256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()})).join("")}catch(e){return t}}))}(d.pathname):d.pathname),"about:"===S.protocol&&"blank"===S.pathname&&(S.protocol="",S.pathname=""),w&&"/"!==e[0]&&(S.pathname=S.pathname.substr(1)),c&&!h.test(c)&&"/"!==e.slice(-1)&&"/"===S.pathname&&(S.pathname=""),S.path=S.pathname+S.search,S.auth=[d.username,d.password].map(decodeURIComponent).filter(Boolean).join(":"),S.port=d.port,v&&!S.host.endsWith(v)&&(S.host+=v,S.port=v.slice(1)),S.href=k?""+S.pathname+S.search+S.hash:s(S);var O=/^(file)/.test(S.href)?["host","hostname"]:[];return Object.keys(S).forEach((function(e){~O.indexOf(e)||(S[e]=S[e]||null)})),S}t.parse=v,t.format=s,t.resolve=p,t.resolveObject=function(e,t){return v(p(e,t))},t.Url=f}(),e.exports=o}()},7334:function(e){!function(){"use strict";var t={815:function(e){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,r,i,o){r=r||"&",i=i||"=";var s={};if("string"!==typeof e||0===e.length)return s;var a=/\+/g;e=e.split(r);var l=1e3;o&&"number"===typeof o.maxKeys&&(l=o.maxKeys);var u=e.length;l>0&&u>l&&(u=l);for(var c=0;c=0?(d=m.substr(0,g),p=m.substr(g+1)):(d=m,p=""),f=decodeURIComponent(d),h=decodeURIComponent(p),t(s,f)?n(s[f])?s[f].push(h):s[f]=[s[f],h]:s[f]=h}return s};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,s,a){return o=o||"&",s=s||"=",null===e&&(e=void 0),"object"===typeof e?r(i(e),(function(i){var a=encodeURIComponent(t(i))+s;return n(e[i])?r(e[i],(function(e){return a+encodeURIComponent(t(e))})).join(o):a+encodeURIComponent(t(e[i]))})).join(o):a?encodeURIComponent(t(a))+s+encodeURIComponent(t(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g(this,n)}}function b(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:function(){return{}},n=function(n){function i(e,n){var r;return s(this,i),(r=a.call(this,e,n)).state=t(o({},n.state)),r.updateStateProps=r.updateStateProps.bind(m(r)),r}d(i,n);var a=y(i);return l(i,[{key:"componentDidMount",value:function(){this.context.subscribe(this.updateStateProps)}},{key:"shouldComponentUpdate",value:function(e,t){return!$(t,this.state)||!$(e,this.props)}},{key:"componentWillUnmount",value:function(){this.context.unsubscribe(this.updateStateProps)}},{key:"updateStateProps",value:function(){this.setState(t(o({},this.context.state)))}},{key:"render",value:function(){var t=this,n=K(this.state,this.props);return r.createElement(e,c({ref:function(e){t.instance=e}},n,{carouselStore:{getStoreState:this.context.getStoreState,masterSpinnerError:this.context.masterSpinnerError,masterSpinnerSuccess:this.context.masterSpinnerSuccess,setStoreState:this.context.setStoreState,subscribeMasterSpinner:this.context.subscribeMasterSpinner,unsubscribeAllMasterSpinner:this.context.unsubscribeAllMasterSpinner,unsubscribeMasterSpinner:this.context.unsubscribeMasterSpinner}}),this.props.children)}}]),i}(r.Component);return u(n,"contextType",Q),u(n,"propTypes",{children:z.children}),u(n,"defaultProps",{children:null}),n}k.resetWarningCache=w;var R=S((function(e){e.exports=function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:k,resetWarningCache:w};return n.PropTypes=n,n}()})),N="loading",L="success",F="error",z={children:R.oneOfType([R.arrayOf(R.node),R.node]),direction:R.oneOf(["forward","backward"]),height:function(e,t){var n=e[t];return"vertical"!==e.orientation||null!==n&&"number"==typeof n?null:new Error("Missing required property '".concat(t,"' when orientation is vertical. You must supply a number representing the height in pixels"))},orientation:R.oneOf(["horizontal","vertical"]),isBgImage:function(e,t){return!0===e[t]&&"img"===e.tag?new Error("HTML img elements should not have a backgroundImage. Please use ".concat(t," for other block-level HTML tags, like div, a, section, etc...")):null}},q=function(e){var t=e.min,n=e.max,r=e.x;return Math.min(n,Math.max(t,r))},B="buttonBack___1mlaL",U=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],H=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).handleOnClick=r.handleOnClick.bind(m(r)),r}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.currentSlide,i=t.onClick,o=t.step,s=t.infinite,a=t.visibleSlides,l=t.totalSlides-a,u=Math.max(r-o,0);s&&(u=0===r?l:u),n.setStoreState({currentSlide:u,isPlaying:!1},null!==i&&i.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),i=(e.currentSlide,e.disabled,e.onClick,e.step,e.totalSlides,e.visibleSlides,e.infinite),o=h(e,U),s=x([B,"carousel__back-button",n]),a=t.setDisabled(this.props.disabled,this.props.currentSlide,i);return r.createElement("button",c({type:"button","aria-label":"previous",className:s,onClick:this.handleOnClick,disabled:a},o),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n){return null!==e?e:0===t&&!n}}]),t}(r.Component);u(H,"propTypes",{carouselStore:R.object.isRequired,children:z.children.isRequired,className:R.string,currentSlide:R.number.isRequired,disabled:R.bool,onClick:R.func,step:R.number.isRequired,totalSlides:R.number.isRequired,visibleSlides:R.number.isRequired,infinite:R.bool}),u(H,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1});var V=S((function(e,t){var n={}.toString,r="undefined"!=typeof window?window.Node:Function;e.exports=t=function(e){var t=typeof e;if("object"!=t)return t;if("object"==(t=i[n.call(e)]))return e instanceof Map?"map":e instanceof Set?"set":"object";if(t)return t;if(e instanceof r)switch(e.nodeType){case 1:return"element";case 3:return"text-node";case 9:return"document";case 11:return"document-fragment";default:return"dom-node"}};var i=t.types={"[object Function]":"function","[object Date]":"date","[object RegExp]":"regexp","[object Arguments]":"arguments","[object Array]":"array","[object Set]":"set","[object String]":"string","[object Null]":"null","[object Undefined]":"undefined","[object Number]":"number","[object Boolean]":"boolean","[object Object]":"object","[object Map]":"map","[object Text]":"text-node","[object Uint8Array]":"bit-array","[object Uint16Array]":"bit-array","[object Uint32Array]":"bit-array","[object Uint8ClampedArray]":"bit-array","[object Error]":"error","[object FormData]":"form-data","[object File]":"file","[object Blob]":"blob"}})),W=(V.types,{number:function(e,t){return e!==e&&t!==t},function:function(e,t,n){return e.toString()===t.toString()&&W.object(e,t,n)&&_(e.prototype,t.prototype)},date:function(e,t){return+e==+t},regexp:function(e,t){return e.toString()===t.toString()},element:function(e,t){return e.outerHTML===t.outerHTML},textnode:function(e,t){return e.textContent===t.textContent}});W.arguments=W["bit-array"]=W.array=T((function(e,t,n){var r=e.length;if(r!==t.length)return!1;for(n.push([e,t]);r--;)if(!_(e[r],t[r],n))return!1;return!0})),W.object=T((function(e,t,n){if("function"==typeof e.equal)return n.push([e,t]),e.equal(t,n);var r=P(e),i=P(t),o=r.length;if(o!==i.length)return!1;for(r.sort(),i.sort();o--;)if(r[o]!==i[o])return!1;for(n.push([e,t]),o=r.length;o--;){var s=r[o];if(!_(e[s],t[s],n))return!1}return!0}));var $=_,Z=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!A(e)},Y="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;D.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return D(e,n,t)}),{})};var X,K=D,Q=r.createContext(),G=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(n){!t.hasOwnProperty(n)||null===t[n]||"object"!=typeof t[n]&&"function"!=typeof t[n]||Object.isFrozen(t[n])||e(t[n])})),t},J={masterSpinnerFinished:!1},ee=function(){function e(t){s(this,e),this.state=G(K(J,t)),this.subscriptions=[],this.masterSpinnerSubscriptions={},this.setStoreState=this.setStoreState.bind(this),this.getStoreState=this.getStoreState.bind(this),this.subscribe=this.subscribe.bind(this),this.unsubscribe=this.unsubscribe.bind(this),this.updateSubscribers=this.updateSubscribers.bind(this),this.subscribeMasterSpinner=this.subscribeMasterSpinner.bind(this),this.unsubscribeMasterSpinner=this.unsubscribeMasterSpinner.bind(this),this.unsubscribeAllMasterSpinner=this.unsubscribeAllMasterSpinner.bind(this),this.masterSpinnerSuccess=this.masterSpinnerSuccess.bind(this),this.masterSpinnerError=this.masterSpinnerError.bind(this)}return l(e,[{key:"setStoreState",value:function(e,t){this.state=G(K(this.state,e)),this.updateSubscribers(t)}},{key:"getStoreState",value:function(){return K({},this.state)}},{key:"subscribe",value:function(e){this.subscriptions.push(e)}},{key:"unsubscribe",value:function(e){var t=this.subscriptions.indexOf(e);-1!==t&&this.subscriptions.splice(t,1)}},{key:"updateSubscribers",value:function(e){this.subscriptions.forEach((function(e){return e()})),"function"==typeof e&&e(this.getStoreState())}},{key:"subscribeMasterSpinner",value:function(e){-1===Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.masterSpinnerSubscriptions[e]={success:!1,error:!1,complete:!1})}},{key:"unsubscribeMasterSpinner",value:function(e){return-1!==Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.setMasterSpinnerFinished(),delete this.masterSpinnerSubscriptions[e])}},{key:"unsubscribeAllMasterSpinner",value:function(){this.masterSpinnerSubscriptions={},this.setMasterSpinnerFinished()}},{key:"masterSpinnerSuccess",value:function(e){this.masterSpinnerSubscriptions[e].success=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"masterSpinnerError",value:function(e){this.masterSpinnerSubscriptions[e].error=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"setMasterSpinnerFinished",value:function(){this.setStoreState({masterSpinnerFinished:this.isMasterSpinnerFinished()})}},{key:"isMasterSpinnerFinished",value:function(){var e=this;return 0===Object.keys(this.masterSpinnerSubscriptions).filter((function(t){return!0!==e.masterSpinnerSubscriptions[t].complete})).length}}]),e}(),te=["children","className","currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPageScrollLocked","isPlaying","lockOnWindowScroll","naturalSlideHeight","naturalSlideWidth","orientation","playDirection","step","dragStep","tag","totalSlides","touchEnabled","dragEnabled","visibleSlides","infinite","isIntrinsicHeight"],ne=(u(X=function(e){function t(e){var r;if(s(this,t),r=n.call(this,e),e.isIntrinsicHeight&&"horizontal"!==e.orientation)throw Error('isIntrinsicHeight can only be used in "horizontal" orientation. See Readme for more information.');var i={currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,disableKeyboard:e.disableKeyboard,hasMasterSpinner:e.hasMasterSpinner,imageErrorCount:0,imageSuccessCount:0,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,masterSpinnerThreshold:0,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,privateUnDisableAnimation:!1,slideSize:O(e.totalSlides,e.visibleSlides),slideTraySize:E(e.totalSlides,e.visibleSlides),step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,dragEnabled:e.dragEnabled,visibleSlides:e.visibleSlides,infinite:e.infinite,isIntrinsicHeight:e.isIntrinsicHeight};return r.carouselStore=new ee(i),r}d(t,e);var n=y(t);return l(t,[{key:"componentDidUpdate",value:function(e){var t=this,n={};["currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPlaying","naturalSlideHeight","naturalSlideWidth","lockOnWindowScroll","orientation","playDirection","step","dragStep","totalSlides","touchEnabled","dragEnabled","visibleSlides"].forEach((function(r){e[r]!==t.props[r]&&(n[r]=t.props[r])})),this.props.currentSlide!==e.currentSlide&&!this.props.disableAnimation&&(n.disableAnimation=!0,n.privateUnDisableAnimation=!0),this.props.totalSlides===e.totalSlides&&this.props.visibleSlides===e.visibleSlides||(n.slideSize=O(this.props.totalSlides,this.props.visibleSlides),n.slideTraySize=E(this.props.totalSlides,this.props.visibleSlides)),this.carouselStore.state.currentSlide>=this.props.totalSlides&&(n.currentSlide=Math.max(this.props.totalSlides-1,0)),Object.keys(n).length>0&&this.carouselStore.setStoreState(n)}},{key:"componentWillUnmount",value:function(){this.carouselStore.unsubscribeAllMasterSpinner()}},{key:"getStore",value:function(){return this.carouselStore}},{key:"render",value:function(){var e=this.props,t=(e.children,e.className,e.currentSlide,e.disableAnimation,e.disableKeyboard,e.hasMasterSpinner,e.interval,e.isPageScrollLocked,e.isPlaying,e.lockOnWindowScroll,e.naturalSlideHeight,e.naturalSlideWidth,e.orientation,e.playDirection,e.step,e.dragStep,e.tag),n=(e.totalSlides,e.touchEnabled,e.dragEnabled,e.visibleSlides,e.infinite,e.isIntrinsicHeight,h(e,te)),i=x(["carousel",this.props.className]);return r.createElement(t,c({className:i},n),r.createElement(Q.Provider,{value:this.carouselStore},this.props.children))}}]),t}(r.Component),"propTypes",{children:z.children.isRequired,className:R.string,currentSlide:R.number,disableAnimation:R.bool,disableKeyboard:R.bool,hasMasterSpinner:R.bool,interval:R.number,isPageScrollLocked:R.bool,isPlaying:R.bool,lockOnWindowScroll:R.bool,naturalSlideHeight:R.number.isRequired,naturalSlideWidth:R.number.isRequired,orientation:z.orientation,playDirection:z.direction,step:R.number,dragStep:R.number,tag:R.string,totalSlides:R.number.isRequired,touchEnabled:R.bool,dragEnabled:R.bool,visibleSlides:R.number,infinite:R.bool,isIntrinsicHeight:R.bool}),u(X,"defaultProps",{className:null,currentSlide:0,disableAnimation:!1,disableKeyboard:!1,hasMasterSpinner:!1,interval:5e3,isPageScrollLocked:!1,isPlaying:!1,lockOnWindowScroll:!1,orientation:"horizontal",playDirection:"forward",step:1,dragStep:1,tag:"div",touchEnabled:!0,dragEnabled:!0,visibleSlides:1,infinite:!1,isIntrinsicHeight:!1}),X);Q.Consumer;var re,ie,oe,se,ae,le,ue=M(H,(function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}})),ce="buttonFirst___2rhFr",de=["carouselStore","className","currentSlide","disabled","onClick","totalSlides"],pe=(re=function(e){function t(){var e;return s(this,t),(e=n.call(this)).handleOnClick=e.handleOnClick.bind(m(e)),e}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick;n.setStoreState({currentSlide:0,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,i=e.disabled,o=(e.onClick,e.totalSlides,h(e,de)),s=x([ce,"carousel__first-button",t]),a=null!==i?i:0===n;return r.createElement("button",c({type:"button","aria-label":"first",className:s,onClick:this.handleOnClick,disabled:a},o),this.props.children)}}]),t}(r.Component),u(re,"propTypes",{carouselStore:R.object.isRequired,children:z.children.isRequired,className:R.string,currentSlide:R.number.isRequired,disabled:R.bool,onClick:R.func,totalSlides:R.number.isRequired}),u(re,"defaultProps",{className:null,disabled:null,onClick:null}),re),fe=(M(pe,(function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides}})),"buttonNext___2mOCa"),he=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],me=(ie=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).handleOnClick=r.handleOnClick.bind(m(r)),r}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.currentSlide,r=t.onClick,i=t.step,o=t.carouselStore,s=t.infinite,a=t.totalSlides-t.visibleSlides,l=i+n,u=Math.min(l,a);s&&(u=a===n?0:u),o.setStoreState({currentSlide:u,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),i=e.currentSlide,o=e.disabled,s=(e.onClick,e.step,e.totalSlides),a=e.visibleSlides,l=e.infinite,u=h(e,he),d=x([fe,"carousel__next-button",n]),p=t.setDisabled(o,i,a,s,l);return r.createElement("button",c({type:"button","aria-label":"next",className:d,onClick:this.handleOnClick,disabled:p},u),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n,r,i){return null!==e?e:t>=r-n&&!i}}]),t}(r.PureComponent),u(ie,"propTypes",{carouselStore:R.object.isRequired,children:z.children.isRequired,className:R.string,currentSlide:R.number.isRequired,disabled:R.bool,onClick:R.func,step:R.number.isRequired,totalSlides:R.number.isRequired,visibleSlides:R.number.isRequired,infinite:R.bool}),u(ie,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1}),ie),ge=M(me,(function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}})),ye="buttonLast___2yuh0",be=["carouselStore","className","currentSlide","disabled","onClick","totalSlides","visibleSlides"],ve=(oe=function(e){function t(){var e;return s(this,t),(e=n.call(this)).handleOnClick=e.handleOnClick.bind(m(e)),e}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.totalSlides,o=t.visibleSlides;n.setStoreState({currentSlide:i-o,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,i=e.disabled,o=(e.onClick,e.totalSlides),s=e.visibleSlides,a=h(e,be),l=x([ye,"carousel__last-button",t]),u=null!==i?i:n>=o-s;return r.createElement("button",c({type:"button","aria-label":"last",className:l,onClick:this.handleOnClick,disabled:u},a),this.props.children)}}]),t}(r.Component),u(oe,"propTypes",{carouselStore:R.object.isRequired,children:z.children.isRequired,className:R.string,currentSlide:R.number.isRequired,disabled:R.bool,onClick:R.func,totalSlides:R.number.isRequired,visibleSlides:R.number.isRequired}),u(oe,"defaultProps",{className:null,disabled:null,onClick:null}),oe),Se=(M(ve,(function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}})),"buttonNext___3Lm3s"),we=["carouselStore","children","childrenPaused","childrenPlaying","className","isPlaying","onClick"],ke=(se=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).handleOnClick=r.handleOnClick.bind(m(r)),r}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props.onClick;this.props.carouselStore.setStoreState({isPlaying:!this.props.isPlaying},null!==t&&t.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.childrenPaused),n=e.childrenPlaying,i=e.className,o=e.isPlaying,s=(e.onClick,h(e,we)),a=x([Se,"carousel__play-button",i]);return r.createElement("button",c({type:"button","aria-label":"play",className:a,onClick:this.handleOnClick},s),o&&n,!o&&t,this.props.children)}}]),t}(r.PureComponent),u(se,"propTypes",{carouselStore:R.object.isRequired,children:R.node,childrenPaused:R.node,childrenPlaying:R.node,className:R.string,isPlaying:R.bool.isRequired,onClick:R.func}),u(se,"defaultProps",{children:null,childrenPaused:null,childrenPlaying:null,className:null,onClick:null}),se),xe=(M(ke,(function(e){return{isPlaying:e.isPlaying}})),{dot:"dot___3c3SI"}),Oe=["carouselStore","children","className","currentSlide","disabled","onClick","selected","slide","totalSlides","visibleSlides"],Ee=(ae=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).handleOnClick=r.handleOnClick.bind(m(r)),r}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.slide,o=t.totalSlides,s=t.visibleSlides,a=i>=o-s?o-s:i;n.setStoreState({currentSlide:a,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className),n=e.currentSlide,i=e.disabled,o=(e.onClick,e.selected),s=e.slide,a=(e.totalSlides,e.visibleSlides),l=h(e,Oe),u=s>=n&&s=t&&c=n-i?n-i:c;u.push(r.createElement(Ce,{key:c,slide:p,selected:d,disabled:!!o&&d},r.createElement("span",{className:x["carousel__dot-group-dot"]},this.props.dotNumbers&&c+1)))}return u}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children),n=e.className,i=(e.currentSlide,e.dotNumbers,e.totalSlides,e.visibleSlides,e.disableActiveDots,e.showAsSelectedForCurrentSlideOnly,e.renderDots,h(e,Pe)),o=x([_e.DotGroup,"carousel__dot-group",n]);return r.createElement("div",c({className:o},i),this.renderDots(),t)}}]),t}(r.Component),u(le,"propTypes",{children:z.children,className:R.string,currentSlide:R.number.isRequired,carouselStore:R.object.isRequired,totalSlides:R.number.isRequired,visibleSlides:R.number.isRequired,dotNumbers:R.bool,disableActiveDots:R.bool,showAsSelectedForCurrentSlideOnly:R.bool,renderDots:R.func}),u(le,"defaultProps",{children:null,className:null,dotNumbers:!1,disableActiveDots:!0,showAsSelectedForCurrentSlideOnly:!1,renderDots:null}),le),je=(M(Ae,(function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}})),{image:"image___xtQGH"}),Ie=["src","alt"],De=["carouselStore","children","className","hasMasterSpinner","isBgImage","onError","onLoad","renderError","renderLoading","style","tag"],Me=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).state={imageStatus:N},r.handleImageLoad=r.handleImageLoad.bind(m(r)),r.handleImageError=r.handleImageError.bind(m(r)),r.image=null,r}d(t,e);var n=y(t);return l(t,[{key:"componentDidMount",value:function(){t.subscribeMasterSpinner(this.props),this.initImage()}},{key:"componentDidUpdate",value:function(e){e.src!==this.props.src&&(t.unsubscribeMasterSpinner(e),t.subscribeMasterSpinner(this.props),this.initImage())}},{key:"componentWillUnmount",value:function(){t.unsubscribeMasterSpinner(this.props),this.image.removeEventListener("load",this.handleImageLoad),this.image.removeEventListener("error",this.handleImageError),this.image=null}},{key:"initImage",value:function(){if(this.setState({imageStatus:N}),this.image=document.createElement("img"),this.image.addEventListener("load",this.handleImageLoad,!1),this.image.addEventListener("error",this.handleImageError,!1),this.image.src=this.props.src,this.image.readyState||this.image.complete){var e=this.image.src;this.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",this.image.src=e}}},{key:"handleImageLoad",value:function(e){this.setState({imageStatus:L}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerSuccess(this.props.src),this.props.onLoad&&this.props.onLoad(e)}},{key:"handleImageError",value:function(e){this.setState({imageStatus:F}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerError(this.props.src),this.props.onError&&this.props.onError(e)}},{key:"tempTag",value:function(){return"img"===this.props.tag?"div":this.props.tag}},{key:"customRender",value:function(e){return"function"==typeof this.props[e]?this.props[e]():this.props.children}},{key:"renderLoading",value:function(e){var t=this.tempTag(),n=x([je.image,je.imageLoading,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--loading",this.props.className]);return r.createElement(t,c({className:n},e),this.customRender("renderLoading"))}},{key:"renderError",value:function(e){var t=this.tempTag(),n=x([je.image,je.imageError,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--error",this.props.className]);return r.createElement(t,c({className:n},e),this.customRender("renderError"))}},{key:"renderSuccess",value:function(e){var t=this.props,n=t.style,i=t.tag,o=x([je.image,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--success",this.props.className]),s=c({},n),a=e;if("img"!==i){var l=e.src;e.alt,a=h(e,Ie),s=c({},n,{backgroundImage:'url("'.concat(l,'")'),backgroundSize:"cover"})}return r.createElement(i,c({className:o,style:s},a),this.props.children)}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className,e.hasMasterSpinner,e.isBgImage,e.onError,e.onLoad,e.renderError,e.renderLoading,e.style,e.tag,h(e,De));switch(this.state.imageStatus){case N:return this.renderLoading(t);case L:return this.renderSuccess(t);case F:return this.renderError(t);default:throw new Error("unknown value for this.state.imageStatus")}}}],[{key:"subscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.subscribeMasterSpinner(e.src)}},{key:"unsubscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.unsubscribeMasterSpinner(e.src)}}]),t}(r.Component);u(Me,"propTypes",{alt:R.string,carouselStore:R.object.isRequired,children:z.children,className:R.string,hasMasterSpinner:R.bool.isRequired,isBgImage:z.isBgImage,onError:R.func,onLoad:R.func,renderError:R.func,renderLoading:R.func,src:R.string.isRequired,style:R.object,tag:R.string}),u(Me,"defaultProps",{alt:"",children:null,className:null,isBgImage:!1,onError:null,onLoad:null,renderError:null,renderLoading:null,style:null,tag:"img"});var Re,Ne,Le,Fe,ze=M(Me,(function(e){return{hasMasterSpinner:e.hasMasterSpinner,orientation:e.orientation}})),qe="spinner___27VUp",Be=["className"],Ue=(Re=function(e){function t(){return s(this,t),n.apply(this,arguments)}d(t,e);var n=y(t);return l(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=h(e,Be),i=x([qe,"carousel__spinner",t]);return r.createElement("div",c({className:i},n))}}]),t}(r.PureComponent),u(Re,"propTypes",{className:R.string}),u(Re,"defaultProps",{className:null}),Re),He={container:"container___2O72F",overlay:"overlay___IV4qY",hover:"hover___MYy31",zoom:"zoom___3kqYk",loading:"loading___1pvNI",imageLoadingSpinnerContainer:"imageLoadingSpinnerContainer___3UIPD"},Ve=["alt","bgImageProps","bgImageTag","carouselStore","className","imageClassName","overlayClassName","isPinchZoomEnabled","spinner","src","srcZoomed","tag"],We=(Ne=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).state={isImageLoading:!0,isHovering:!1,isZooming:!1,x:null,y:null,scale:1},r.tpCache={},r.handleImageComplete=r.handleImageComplete.bind(m(r)),r.handleOnMouseMove=r.handleOnMouseMove.bind(m(r)),r.handleOnMouseOut=r.handleOnMouseOut.bind(m(r)),r.handleOnMouseOver=r.handleOnMouseOver.bind(m(r)),r.handleOnTouchEnd=r.handleOnTouchEnd.bind(m(r)),r.handleOnTouchMove=r.handleOnTouchMove.bind(m(r)),r.handleOnTouchStart=r.handleOnTouchStart.bind(m(r)),r}d(t,e);var n=y(t);return l(t,[{key:"componentDidUpdate",value:function(e,t){!1===t.isZooming&&!0===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!0}),!0===t.isZooming&&!1===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1})}},{key:"handleImageComplete",value:function(){this.setState({isImageLoading:!1})}},{key:"handleOnMouseOver",value:function(){this.state.isZooming||this.setState({isHovering:!0,scale:2})}},{key:"handleOnMouseOut",value:function(){this.state.isZooming||this.setState({isHovering:!1,scale:1})}},{key:"handleOnMouseMove",value:function(e){if(!this.state.isZooming){var t=C(e.nativeEvent.offsetX/e.target.offsetWidth*100),n=C(e.nativeEvent.offsetY/e.target.offsetHeight*100);this.setState({x:t,y:n})}}},{key:"handleOnTouchStart",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(b(e.targetTouches).forEach((function(e){t.tpCache[e.identifier]={clientX:e.clientX,clientY:e.clientY}})),this.setState((function(e){return{isZooming:e.isZooming||Object.keys(t.tpCache).length>1}})))}},{key:"handleOnTouchMove",value:function(e){var n=this;if(this.state.isZooming){e.persist();var r=b(e.targetTouches).filter((function(e){return n.tpCache[e.identifier]})).slice(0,2);if(2===r.length){e.stopPropagation();var i=e.target.getBoundingClientRect(),s=r[0].identifier,a=r[1].identifier,l={x1:this.tpCache[s].clientX,y1:this.tpCache[s].clientY,x2:this.tpCache[a].clientX,y2:this.tpCache[a].clientY};l.distance=t.distanceBetweenTwoTouches(o({},l));var u=t.midpointBetweenTwoTouches(o({},l));l.cx=u.x,l.cy=u.y;var c={x1:r[0].clientX,y1:r[0].clientY,x2:r[1].clientX,y2:r[1].clientY};c.distance=t.distanceBetweenTwoTouches(o({},c));var d=t.midpointBetweenTwoTouches(o({},c));c.cx=d.x,c.cy=d.y;var p=C(q({min:0,max:100,x:(c.cx-i.left)/i.width*100})),f=C(q({min:0,max:100,x:(c.cy-i.top)/i.height*100})),h=function(e){return q({min:1,max:3,x:e.scale+(c.distance-l.distance)/100})};this.setState((function(e){return{isZooming:1!==h(e),scale:h(e),x:p,y:f}}))}}}},{key:"handleOnTouchEnd",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(b(e.changedTouches).forEach((function(e){delete t.tpCache[e.identifier]})),0===Object.keys(this.tpCache).length&&this.setState({isZooming:!1}))}},{key:"renderLoading",value:function(){if(this.state.isImageLoading){var e=this.props.spinner;return r.createElement("div",{className:x([He.imageLoadingSpinnerContainer,"carousel__image-loading-spinner-container"])},e&&e(),!e&&r.createElement(Ue,null))}return null}},{key:"render",value:function(){var e=this.props,t=e.alt,n=e.bgImageProps,i=e.bgImageTag,o=(e.carouselStore,e.className),s=e.imageClassName,a=e.overlayClassName,l=(e.isPinchZoomEnabled,e.spinner,e.src),u=e.srcZoomed,d=e.tag,p=h(e,Ve),f=x([He.container,o]),m=x([He.image,"carousel__zoom-image",s]),g=x([He.overlay,"carousel__zoom-image-overlay",this.state.isHovering&&He.hover,this.state.isZooming&&He.zoom,this.state.isHovering&&"carousel__zoom-image-overlay--hovering",this.state.isZooming&&"carousel__zoom-image-overlay--zooming",a]),y={};return(this.state.isHovering||this.state.isZooming)&&(y.transformOrigin="".concat(this.state.x," ").concat(this.state.y),y.transform="scale(".concat(this.state.scale,")")),r.createElement(d,c({className:f},p),r.createElement(ze,c({alt:t,className:m,tag:i,src:l,onLoad:this.handleImageComplete,onError:this.handleImageComplete},n)),r.createElement(ze,{className:g,tag:"div",src:u||l,style:y,isBgImage:!0,onFocus:this.handleOnMouseOver,onMouseOver:this.handleOnMouseOver,onBlur:this.handleOnMouseOut,onMouseOut:this.handleOnMouseOut,onMouseMove:this.handleOnMouseMove,onTouchStart:this.handleOnTouchStart,onTouchEnd:this.handleOnTouchEnd,onTouchMove:this.handleOnTouchMove}),this.renderLoading())}}],[{key:"midpointBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1;return{x:(t+e.x2)/2,y:(n+e.y2)/2}}},{key:"distanceBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return Math.sqrt(Math.pow(r-t,2)+Math.pow(i-n,2))}}]),t}(r.Component),u(Ne,"propTypes",{alt:R.string,bgImageProps:R.object,bgImageTag:R.string,carouselStore:R.object.isRequired,className:R.string,imageClassName:R.string,overlayClassName:R.string,spinner:R.func,src:R.string.isRequired,srcZoomed:R.string,tag:R.string,isPinchZoomEnabled:R.bool}),u(Ne,"defaultProps",{alt:void 0,bgImageProps:{},bgImageTag:"div",className:null,imageClassName:null,overlayClassName:null,isPinchZoomEnabled:!0,spinner:null,srcZoomed:null,tag:"div"}),Ne),$e=(M(We,(function(){return{}})),{slide:"slide___3-Nqo",slideHorizontal:"slideHorizontal___1NzNV",slideInner:"slideInner___2mfX9",focusRing:"focusRing___1airF"}),Ze=["ariaLabel","carouselStore","children","className","classNameHidden","classNameVisible","currentSlide","index","innerClassName","innerTag","naturalSlideHeight","naturalSlideWidth","onBlur","onFocus","orientation","slideSize","style","tabIndex","tag","totalSlides","visibleSlides","isIntrinsicHeight"],Ye=(Le=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).handleOnFocus=r.handleOnFocus.bind(m(r)),r.handleOnBlur=r.handleOnBlur.bind(m(r)),r.state={focused:!1},r}d(t,e);var n=y(t);return l(t,[{key:"isVisible",value:function(){var e=this.props,t=e.currentSlide,n=e.index,r=e.visibleSlides;return n>=t&&n=n.props.horizontalPixelThreshold}}))}))}},{key:"fakeOnDragEnd",value:function(){window.cancelAnimationFrame.call(window,this.moveTimer),this.computeCurrentSlide(),"vertical"===this.props.orientation&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1}),this.setState({deltaX:0,deltaY:0,isBeingTouchDragged:!1,isBeingMouseDragged:!1}),this.isDocumentScrolling=!this.props.lockOnWindowScroll&&null}},{key:"callCallback",value:function(e,t){var n=this.props.trayProps;n&&"function"==typeof n[e]&&(t.persist(),n[e](t))}},{key:"handleOnMouseDown",value:function(e){this.props.dragEnabled?(e.preventDefault(),this.fakeOnDragStart({screenX:e.screenX,screenY:e.screenY,mouseDrag:!0}),this.callCallback("onMouseDown",e)):this.callCallback("onMouseDown",e)}},{key:"handleOnMouseMove",value:function(e){this.state.isBeingMouseDragged&&(this.setState({cancelNextClick:!0}),e.preventDefault(),this.fakeOnDragMove(e.screenX,e.screenY))}},{key:"handleOnMouseUp",value:function(e){this.state.isBeingMouseDragged&&(e.preventDefault(),this.fakeOnDragEnd())}},{key:"handleOnClickCapture",value:function(e){this.state.cancelNextClick?(e.preventDefault(),this.setState({cancelNextClick:!1}),this.callCallback("onClickCapture",e)):this.callCallback("onClickCapture",e)}},{key:"handleOnTouchStart",value:function(e){if(this.props.touchEnabled){"vertical"===this.props.orientation&&e.preventDefault();var t=e.targetTouches[0];this.fakeOnDragStart({screenX:t.screenX,screenY:t.screenY,touchDrag:!0}),this.callCallback("onTouchStart",e)}else this.callCallback("onTouchStart",e)}},{key:"handleDocumentScroll",value:function(){var e=this;this.props.touchEnabled&&(this.isDocumentScrolling=!0,window.clearTimeout(this.scrollStopTimer),this.scrollStopTimer=window.setTimeout((function(){e.isDocumentScrolling=!1}),66))}},{key:"handleOnTouchMove",value:function(e){if(!this.props.touchEnabled||this.props.lockOnWindowScroll&&this.isDocumentScrolling)this.callCallback("onTouchMove",e);else{window.cancelAnimationFrame.call(window,this.moveTimer);var t=e.targetTouches[0];t&&(this.fakeOnDragMove(t.screenX,t.screenY),this.callCallback("onTouchMove",e))}}},{key:"forward",value:function(){var e=this.props,t=e.currentSlide,n=e.step,r=e.totalSlides,i=e.visibleSlides;return Math.min(t+n,r-i)}},{key:"backward",value:function(){var e=this.props,t=e.currentSlide,n=e.step;return Math.max(t-n,0)}},{key:"handleOnKeyDown",value:function(e){var t=e.keyCode,n=this.props,r=n.carouselStore,i=n.currentSlide,o=n.disableKeyboard,s=n.totalSlides,a=n.visibleSlides,l={};!0===o||s<=a||(37===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.max(0,i-1),l.isPlaying=!1),39===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.min(s-a,i+1),l.isPlaying=!1),r.setStoreState(l))}},{key:"playForward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide;t.setStoreState({currentSlide:this.forward()===n?0:this.forward()})}},{key:"playBackward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide,r=e.totalSlides,i=e.visibleSlides;t.setStoreState({currentSlide:this.backward()===n?r-i:this.backward()})}},{key:"play",value:function(){var e=this.props.playDirection;this.interval=setInterval("forward"===e?this.playForward:this.playBackward,this.props.interval)}},{key:"stop",value:function(){window.clearInterval(this.interval),this.interval=null}},{key:"lockScroll",value:function(){var e=new Ke;this.scrollParent=e.getScrollParent(this.sliderTrayElement),this.scrollParent&&(this.originalOverflow=this.originalOverflow||this.scrollParent.style.overflow,this.scrollParent.style.overflow="hidden")}},{key:"unlockScroll",value:function(){this.scrollParent&&(this.scrollParent.style.overflow=this.originalOverflow,this.originalOverflow=null,this.scrollParent=null)}},{key:"blockWindowScroll",value:function(e){this.state.preventingVerticalScroll&&(e.preventDefault(),e.stopImmediatePropagation())}},{key:"computeCurrentSlide",value:function(){var e=t.slideSizeInPx(this.props.orientation,this.sliderTrayElement.clientWidth,this.sliderTrayElement.clientHeight,this.props.totalSlides),n=t.slidesMoved(this.props.moveThreshold,this.props.orientation,this.state.deltaX,this.state.deltaY,e,this.props.dragStep),r=this.props.totalSlides-Math.min(this.props.totalSlides,this.props.visibleSlides),i=q({min:0,max:r,x:this.props.currentSlide+n});this.props.infinite&&(this.props.currentSlide>=r&&n>0&&(i=0),0===this.props.currentSlide&&n<0&&(i=r)),this.props.carouselStore.setStoreState({currentSlide:i})}},{key:"focus",value:function(){this.sliderElement.focus()}},{key:"handleOnTouchEnd",value:function(e){this.endTouchMove(),this.callCallback("onTouchEnd",e)}},{key:"handleOnTouchCancel",value:function(e){this.endTouchMove(),this.callCallback("onTouchCancel",e)}},{key:"endTouchMove",value:function(){this.props.touchEnabled&&this.fakeOnDragEnd()}},{key:"renderMasterSpinner",value:function(){var e=this.props,t=e.hasMasterSpinner,n=e.masterSpinnerFinished,i=e.spinner;return t&&!n?("function"==typeof this.props.onMasterSpinner&&this.props.onMasterSpinner(),r.createElement("div",{className:x([Qe.masterSpinnerContainer,"carousel__master-spinner-container"])},i&&i(),!i&&r.createElement(Ue,null))):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.ariaLabel,i=(t.carouselStore,t.children),o=t.className,s=t.classNameAnimation,a=t.classNameTray,l=t.classNameTrayWrap,u=t.currentSlide,d=t.disableAnimation,p=(t.disableKeyboard,t.dragEnabled,t.hasMasterSpinner,t.interval,t.isPageScrollLocked,t.isPlaying,t.lockOnWindowScroll,t.masterSpinnerFinished,t.moveThreshold,t.naturalSlideHeight),f=t.naturalSlideWidth,m=(t.onMasterSpinner,t.orientation),g=(t.playDirection,t.privateUnDisableAnimation,t.slideSize),y=t.slideTraySize,b=(t.spinner,t.style),v=t.tabIndex,S=(t.totalSlides,t.touchEnabled,t.trayProps),w=t.trayTag,k=t.visibleSlides,O=t.isIntrinsicHeight,E=h(t,Ge),_=c({},b),T={};"vertical"===m&&(T.height=0,T.paddingBottom=C(100*p*k/f),T.width=C(100));var P={},A=C(g*u*-1);(this.state.isBeingTouchDragged||this.state.isBeingMouseDragged||d)&&(P.transition="none"),O&&(P.display="flex",P.alignItems="stretch"),"vertical"===m?(P.transform="translateY(".concat(A,") translateY(").concat(this.state.deltaY,"px)"),P.width=C(100),P.flexDirection="column"):(P.width=C(y),P.transform="translateX(".concat(A,") translateX(").concat(this.state.deltaX,"px)"),P.flexDirection="row");var j=x(["vertical"===m?Qe.verticalSlider:Qe.horizontalSlider,"carousel__slider","vertical"===m?"carousel__slider--vertical":"carousel__slider--horizontal",o]),I=x([Qe.sliderTrayWrap,"carousel__slider-tray-wrapper","vertical"===m?Qe.verticalSlideTrayWrap:Qe.horizontalTrayWrap,"vertical"===m?"carousel__slider-tray-wrap--vertical":"carousel__slider-tray-wrap--horizontal",l]),D=x([Qe.sliderTray,s||Qe.sliderAnimation,"carousel__slider-tray","vertical"===m?Qe.verticalTray:Qe.horizontalTray,"vertical"===m?"carousel__slider-tray--vertical":"carousel__slider-tray--horizontal",a]),M=null!==v?v:0,R=(E.dragStep,E.step,E.infinite,E.preventVerticalScrollOnTouch,E.preventingVerticalScroll,E.horizontalPixelThreshold,E.verticalPixelThreshold,h(E,Je)),N=(S.className,S.onClickCapture,S.onMouseDown,S.onTouchCancel,S.onTouchEnd,S.onTouchMove,S.onTouchStart,S.ref,S.style,h(S,et));return r.createElement("div",c({ref:function(t){e.sliderElement=t},className:j,"aria-live":"polite","aria-label":n,style:_,tabIndex:M,onKeyDown:this.handleOnKeyDown,role:"listbox"},R),r.createElement("div",{className:I,style:T},r.createElement(w,c({ref:this.getSliderRef,className:D,style:P,onTouchStart:this.handleOnTouchStart,onTouchMove:this.handleOnTouchMove,onTouchEnd:this.handleOnTouchEnd,onTouchCancel:this.handleOnTouchCancel,onMouseDown:this.handleOnMouseDown,onClickCapture:this.handleOnClickCapture},N),i),this.renderMasterSpinner()))}}],[{key:"slideSizeInPx",value:function(e,t,n,r){return("horizontal"===e?t:n)/r}},{key:"slidesMoved",value:function(e,t,n,r,i,o){var s="horizontal"===t?n:r,a=Math.abs(Math.round(s/i)),l=Math.abs(s)>=i*e?o:0,u=Math.max(l,a);if(s<0)return u;var c=-u;return 0===c?0:c}}]),t}(r.Component),u(Fe,"propTypes",{ariaLabel:R.string,carouselStore:R.object.isRequired,children:R.node.isRequired,className:R.string,classNameAnimation:R.string,classNameTray:R.string,classNameTrayWrap:R.string,currentSlide:R.number.isRequired,disableAnimation:R.bool,disableKeyboard:R.bool,dragEnabled:R.bool.isRequired,dragStep:R.number,hasMasterSpinner:R.bool.isRequired,infinite:R.bool,interval:R.number.isRequired,isPageScrollLocked:R.bool.isRequired,isPlaying:R.bool.isRequired,lockOnWindowScroll:R.bool.isRequired,preventVerticalScrollOnTouch:R.bool,horizontalPixelThreshold:R.number,verticalPixelThreshold:R.number,masterSpinnerFinished:R.bool.isRequired,moveThreshold:R.number,naturalSlideHeight:R.number.isRequired,naturalSlideWidth:R.number.isRequired,onMasterSpinner:R.func,orientation:z.orientation.isRequired,playDirection:z.direction.isRequired,privateUnDisableAnimation:R.bool,slideSize:R.number.isRequired,slideTraySize:R.number.isRequired,spinner:R.func,step:R.number.isRequired,style:R.object,tabIndex:R.number,totalSlides:R.number.isRequired,touchEnabled:R.bool.isRequired,trayProps:R.shape({className:R.string,onClickCapture:R.func,onMouseDown:R.func,onTouchCancel:R.func,onTouchEnd:R.func,onTouchMove:R.func,onTouchStart:R.func,ref:R.shape({}),style:R.string}),trayTag:R.string,visibleSlides:R.number,isIntrinsicHeight:R.bool}),u(Fe,"defaultProps",{ariaLabel:"slider",className:null,classNameAnimation:null,classNameTray:null,classNameTrayWrap:null,disableAnimation:!1,disableKeyboard:!1,dragStep:1,infinite:!1,preventVerticalScrollOnTouch:!0,horizontalPixelThreshold:15,verticalPixelThreshold:10,moveThreshold:.1,onMasterSpinner:null,privateUnDisableAnimation:!1,spinner:null,style:{},tabIndex:null,trayProps:{},trayTag:"div",visibleSlides:1,isIntrinsicHeight:!1}),Fe),nt=M(tt,(function(e){return{currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,privateUnDisableAnimation:e.privateUnDisableAnimation,disableKeyboard:e.disableKeyboard,dragEnabled:e.dragEnabled,hasMasterSpinner:e.hasMasterSpinner,infinite:e.infinite,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,preventingVerticalScroll:e.preventingVerticalScroll,masterSpinnerFinished:e.masterSpinnerFinished,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,slideSize:e.slideSize,slideTraySize:e.slideTraySize,step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,visibleSlides:e.visibleSlides,isIntrinsicHeight:e.isIntrinsicHeight}}))},7129:function(e,t){"use strict";var n=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return null}}function i(e){try{return encodeURIComponent(e)}catch(t){return null}}t.stringify=function(e,t){t=t||"";var r,o,s=[];for(o in"string"!==typeof t&&(t="?"),e)if(n.call(e,o)){if((r=e[o])||null!==r&&undefined!==r&&!isNaN(r)||(r=""),o=i(o),r=i(r),null===o||null===r)continue;s.push(o+"="+r)}return s.length?t+s.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,i={};t=n.exec(e);){var o=r(t[1]),s=r(t[2]);null===o||null===s||o in i||(i[o]=s)}return i}},9921:function(e,t){"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case s:case p:case f:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case m:case h:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=p,t.SuspenseList=f,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===u},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return y(e)===d},t.isFragment=function(e){return y(e)===o},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===h},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===a},t.isStrictMode=function(e){return y(e)===s},t.isSuspense=function(e){return y(e)===p},t.isSuspenseList=function(e){return y(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===a||e===s||e===p||e===f||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=y},9864:function(e,t,n){"use strict";e.exports=n(9921)},2291:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const a=(e,t)=>{e.scrollIntoView(t)},l=s=>{const l=s.target.closest("[data-smooth-scroll-to]");if(!l)return;const u=document.getElementById(l.dataset.smoothScrollTo);if(null===u)throw new Error("Destination element not found.");const c={block:l.dataset.smoothScrollBlock||i,inline:l.dataset.smoothScrollInline||o,behavior:"smooth"},d=e||t,p=n||r;if(d||p){const i=[...u.children].find((e=>e.matches(".js-smooth-scroll-anchor"))),o=i||document.createElement("div");if(!i){u.style.position="relative";const i="position:absolute;z-index:-1;"+(d?`height:calc(100% + ${e+t}px);${e?`top:-${e}px;`:""}`:"height:100%;")+(p?`width:calc(100% + ${n+r}px);${n?`left:-${n}px;`:""}`:"width:100%;");o.setAttribute("style",i),o.setAttribute("class","js-smooth-scroll-anchor"),u.insertAdjacentElement("afterbegin",o)}a(o,c)}else a(u,c)};return document.addEventListener("click",l,s),()=>{document.removeEventListener("click",l,s),[...document.querySelectorAll(".js-smooth-scroll-anchor")].forEach((e=>e.parentNode.removeChild(e)))}},Object.defineProperty(e,"__esModule",{value:!0})}(t)},7848:function(e,t,n){var r=n(8139);function i(e,t){var n,i=null;if(!e||"string"!==typeof e)return i;for(var o,s,a=r(e),l="function"===typeof t,u=0,c=a.length;u=2&&(n=n.slice(2)):m(i)?n=r[4]:i?o&&(n=n.slice(2)):l>=2&&m(t.protocol)&&(n=r[4]),{protocol:i,slashes:o||m(i),slashesCount:l,rest:n}}function y(e,t,n){if(e=(e=d(e)).replace(s,""),!(this instanceof y))return new y(e,t,n);var o,a,l,u,f,b,v=p.slice(),S=typeof t,w=this,k=0;for("object"!==S&&"string"!==S&&(n=t,t=null),n&&"function"!==typeof n&&(n=i.parse),o=!(a=g(e||"",t=h(t))).protocol&&!a.slashes,w.slashes=a.slashes||o&&t.slashes,w.protocol=a.protocol||t.protocol||"",e=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||c.test(e))||!a.slashes&&(a.protocol||a.slashesCount<2||!m(w.protocol)))&&(v[3]=[/(.*)/,"pathname"]);ke.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{Z:function(){return r}})},828:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3375);var i=n(1566);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,r.Z)(e,t)||(0,i.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9815:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(943);var i=n(3375);var o=n(1566);function s(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1566:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(943);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},7650:function(e,t,n){"use strict";n.d(t,{YD:function(){return c}});var r=n(7294);const i=new Map,o=new WeakMap;let s,a=0;function l(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(o.has(n)||(a+=1,o.set(n,a.toString())),o.get(n)):"0"):e[t]}`;var n})).toString()}function u(e,t,n={},r=s){if("undefined"===typeof window.IntersectionObserver&&void 0!==r){const i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}const{id:o,observer:a,elements:u}=function(e){let t=l(e),n=i.get(t);if(!n){const r=new Map;let o;const s=new IntersectionObserver((t=>{t.forEach((t=>{var n;const i=t.isIntersecting&&o.some((e=>t.intersectionRatio>=e));e.trackVisibility&&"undefined"===typeof t.isVisible&&(t.isVisible=i),null==(n=r.get(t.target))||n.forEach((e=>{e(i,t)}))}))}),e);o=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:r},i.set(t,n)}return n}(n);let c=u.get(e)||[];return u.has(e)||u.set(e,c),c.push(t),a.observe(e),function(){c.splice(c.indexOf(t),1),0===c.length&&(u.delete(e),a.unobserve(e)),0===u.size&&(a.disconnect(),i.delete(o))}}r.Component;function c({threshold:e,delay:t,trackVisibility:n,rootMargin:i,root:o,triggerOnce:s,skip:a,initialInView:l,fallbackInView:c,onChange:d}={}){var p;const[f,h]=r.useState(null),m=r.useRef(),[g,y]=r.useState({inView:!!l,entry:void 0});m.current=d,r.useEffect((()=>{if(a||!f)return;let r;return r=u(f,((e,t)=>{y({inView:e,entry:t}),m.current&&m.current(e,t),t.isIntersecting&&s&&r&&(r(),r=void 0)}),{root:o,rootMargin:i,threshold:e,trackVisibility:n,delay:t},c),()=>{r&&r()}}),[Array.isArray(e)?e.toString():e,f,o,i,s,a,n,c,t]);const b=null==(p=g.entry)?void 0:p.target,v=r.useRef();f||!b||s||a||v.current===b||(v.current=b,y({inView:!!l,entry:void 0}));const S=[h,g.inView,g.entry];return S.ref=S[0],S.inView=S[1],S.entry=S[2],S}},6010:function(e,t,n){"use strict";n.d(t,{D:function(){return Xn}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return dt},contentInitial:function(){return ot},disable:function(){return pt},document:function(){return it},flow:function(){return at},flowInitial:function(){return st},insideSpan:function(){return ct},string:function(){return lt},text:function(){return ut}});var i={};n.r(i),n.d(i,{boolean:function(){return on},booleanish:function(){return sn},commaOrSpaceSeparated:function(){return dn},commaSeparated:function(){return cn},number:function(){return ln},overloadedBoolean:function(){return an},spaceSeparated:function(){return un}});var o=n(7294),s=n(8738);function a(e){return e&&"object"===typeof e?"position"in e||"type"in e?u(e.position):"start"in e||"end"in e?u(e):"line"in e||"column"in e?l(e):"":""}function l(e){return c(e&&e.line)+":"+c(e&&e.column)}function u(e){return l(e&&e.start)+"-"+l(e&&e.end)}function c(e){return e&&"number"===typeof e?e:1}class d extends Error{constructor(e,t,n){const r=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"===typeof t&&(n=t,t=void 0),"string"===typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=a(t)||"1:1",this.message="object"===typeof e?e.message:e,this.stack="","object"===typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}d.prototype.file="",d.prototype.name="",d.prototype.reason="",d.prototype.message="",d.prototype.stack="",d.prototype.fatal=null,d.prototype.column=null,d.prototype.line=null,d.prototype.source=null,d.prototype.ruleId=null,d.prototype.position=null;const p={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');f(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,a=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else s<0&&(n=!0,s=o+1),a>-1&&(e.charCodeAt(o)===t.charCodeAt(a--)?a<0&&(i=o):(a=-1,i=s));r===i?i=s:i<0&&(i=e.length);return e.slice(r,i)},dirname:function(e){if(f(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){f(e);let t,n=e.length,r=-1,i=0,o=-1,s=0;for(;n--;){const a=e.charCodeAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==s&&(s=1):o>-1&&(s=-1);else if(t){i=n+1;break}}if(o<0||r<0||0===s||1===s&&o===r-1&&o===i+1)return"";return e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),s=l,a=0;continue}}else if(i.length>0){i="",o=0,s=l,a=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(s+1,l):i=e.slice(s+1,l),o=l-s-1;s=l,a=0}else 46===n&&a>-1?a++:a=-1}return i}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function f(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function g(e){if("string"===typeof e)e=new URL(e);else if(!m(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++nt.length;let a;r&&t.push(i);try{a=e.apply(this,t)}catch(o){const t=o;if(r&&n)throw t;return i(t)}r||(a instanceof Promise?a.then(s,i):a instanceof Error?i(a):s(a))}function i(e,...r){n||(n=!0,t(e,...r))}function s(e){i(null,e)}}(a,i)(...s):r(null,...s)}}(null,...t)},use:function(n){if("function"!==typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const C=function e(){const t=E(),n=[];let r,i={},o=-1;return a.data=function(e,t){if("string"===typeof e)return 2===arguments.length?(j("data",r),i[e]=t,a):_.call(i,e)&&i[e]||null;if(e)return j("data",r),i=e,a;return i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++o{if(!e&&t&&n){const i=a.stringify(t,n);void 0===i||null===i||("string"===typeof(r=i)||s(r)?n.value=i:n.result=i),o(e,n)}else o(e);var r}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),P("processSync",a.Parser),A("processSync",a.Compiler);const n=M(e);return a.process(n,r),D("processSync","process",t),n;function r(e){t=!0,k(e)}},a;function a(){const t=e();let r=-1;for(;++ri?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);s0?(L(e,e.length,0,t),e):t}const z={}.hasOwnProperty;function q(e,t){let n;for(n in t){const r=(z.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;for(o in i){z.call(r,o)||(r[o]=[]);const e=i[o];B(r[o],Array.isArray(e)?e:e?[e]:[])}}}function B(e,t){let n=-1;const r=[];for(;++no))return;const n=t.events.length;let i,a,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){a=t.events[l][1].end;break}i=!0}for(y(s),e=n;er;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function b(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},ie={tokenize:function(e,t,n){return te(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const oe={tokenize:function(e,t,n){return te(e,(function(e){return null===e||K(e)?t(e):n(e)}),"linePrefix")},partial:!0};function se(e){const t={};let n,r,i,o,s,a,l,u=-1;for(;++u=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0};const ce={tokenize:function(e){const t=this,n=e.attempt(oe,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,te(e,e.attempt(this.parser.constructs.flow,r,e.attempt(le,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const de={resolveAll:me()},pe=he("string"),fe=he("text");function he(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,s);return o;function o(e){return l(e)?i(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i-1&&(s[0]=s[0].slice(r)),o>0&&s.push(e[i].slice(0,o)));return s}(s,e)}function h(){return Object.assign({},r)}function m(){let e;for(;r._indexu?n(i):(e.consume(i),h):41===i?c--?(e.consume(i),h):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i)):null===i||X(i)?c?n(i):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i)):Y(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function Ee(e,t,n,r,i,o){const s=this;let a,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(d){return null===d||91===d||93===d&&!a||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs||l>999?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):K(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||K(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a=a||!Q(t),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function Ce(e,t,n,r,i,o){let s;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,a};function a(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===s?(e.exit(o),a(s)):null===t?n(t):K(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),te(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===s||null===t||K(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===s||92===t?(e.consume(t),u):u(t)}}function _e(e,t){let n;return function r(i){if(K(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(Q(i))return te(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}function Te(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pe={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),Ee.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return i=Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),_e(e,Oe(e,e.attempt(Ae,te(e,s,"whitespace"),te(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function s(o){return null===o||K(o)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(o)):n(o)}}},Ae={tokenize:function(e,t,n){return function(t){return X(t)?_e(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?Ce(e,te(e,i,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function i(e){return null===e||K(e)?t(e):n(e)}},partial:!0};const je={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),te(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?a(t):K(t)?e.attempt(Ie,o,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||K(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),s)}function a(n){return e.exit("codeIndented"),t(n)}}},Ie={tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):K(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):te(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):K(e)?i(e):n(e)}},partial:!0};const De={name:"headingAtx",tokenize:function(e,t,n){const r=this;let i=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(t)};function o(a){return 35===a&&i++<6?(e.consume(a),o):null===a||X(a)?(e.exit("atxHeadingSequence"),r.interrupt?t(a):s(a)):n(a)}function s(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||K(n)?(e.exit("atxHeading"),t(n)):Q(n)?te(e,s,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),s(t))}function l(t){return null===t||35===t||X(t)?(e.exit("atxHeadingText"),s(t)):(e.consume(t),l)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},L(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Me={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let i,o,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){o="paragraph"===r.events[s][1].type;break}return function(t){if(!r.parser.lazy[r.now().line]&&(r.interrupt||o))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,a(t);return n(t)};function a(t){return t===i?(e.consume(t),a):(e.exit("setextHeadingLineSequence"),te(e,l,"lineSuffix")(t))}function l(r){return null===r||K(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=s;return e.push(["exit",s,t]),e}};const Re=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ne=["pre","script","style","textarea"],Le={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let i,o,s,a,l;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),f):63===a?(e.consume(a),i=3,r.interrupt?t:M):U(a)?(e.consume(a),s=String.fromCharCode(a),o=!0,h):n(a)}function c(o){return 45===o?(e.consume(o),i=2,d):91===o?(e.consume(o),i=5,s="CDATA[",a=0,p):U(o)?(e.consume(o),i=4,r.interrupt?t:M):n(o)}function d(i){return 45===i?(e.consume(i),r.interrupt?t:M):n(i)}function p(i){return i===s.charCodeAt(a++)?(e.consume(i),a===s.length?r.interrupt?t:C:p):n(i)}function f(t){return U(t)?(e.consume(t),s=String.fromCharCode(t),h):n(t)}function h(a){return null===a||47===a||62===a||X(a)?47!==a&&o&&Ne.includes(s.toLowerCase())?(i=1,r.interrupt?t(a):C(a)):Re.includes(s.toLowerCase())?(i=6,47===a?(e.consume(a),m):r.interrupt?t(a):C(a)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):o?y(a):g(a)):45===a||W(a)?(e.consume(a),s+=String.fromCharCode(a),h):n(a)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:C):n(i)}function g(t){return Q(t)?(e.consume(t),g):O(t)}function y(t){return 47===t?(e.consume(t),O):58===t||95===t||U(t)?(e.consume(t),b):Q(t)?(e.consume(t),y):O(t)}function b(t){return 45===t||46===t||58===t||95===t||W(t)?(e.consume(t),b):v(t)}function v(t){return 61===t?(e.consume(t),S):Q(t)?(e.consume(t),v):y(t)}function S(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,w):Q(t)?(e.consume(t),S):(l=null,k(t))}function w(t){return null===t||K(t)?n(t):t===l?(e.consume(t),x):(e.consume(t),w)}function k(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||X(t)?v(t):(e.consume(t),k)}function x(e){return 47===e||62===e||Q(e)?y(e):n(e)}function O(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return Q(t)?(e.consume(t),E):null===t||K(t)?C(t):n(t)}function C(t){return 45===t&&2===i?(e.consume(t),A):60===t&&1===i?(e.consume(t),j):62===t&&4===i?(e.consume(t),R):63===t&&3===i?(e.consume(t),M):93===t&&5===i?(e.consume(t),D):!K(t)||6!==i&&7!==i?null===t||K(t)?_(t):(e.consume(t),C):e.check(Fe,R,_)(t)}function _(t){return e.exit("htmlFlowData"),T(t)}function T(t){return null===t?N(t):K(t)?e.attempt({tokenize:P,partial:!0},T,N)(t):(e.enter("htmlFlowData"),C(t))}function P(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function A(t){return 45===t?(e.consume(t),M):C(t)}function j(t){return 47===t?(e.consume(t),s="",I):C(t)}function I(t){return 62===t&&Ne.includes(s.toLowerCase())?(e.consume(t),R):U(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),I):C(t)}function D(t){return 93===t?(e.consume(t),M):C(t)}function M(t){return 62===t?(e.consume(t),R):45===t&&2===i?(e.consume(t),M):C(t)}function R(t){return null===t||K(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),R)}function N(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Fe={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(oe,t,n)}},partial:!0};const ze={name:"codeFenced",tokenize:function(e,t,n){const r=this,i={tokenize:function(e,t,n){let r=0;return te(e,i,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function i(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),o(t)}function o(t){return t===l?(e.consume(t),r++,o):r1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),p=Object.assign({},e[c][1].start);Ge(d,-a),Ge(p,a),o={type:a>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},i={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},s.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=F(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=F(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=F(l,ye(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=F(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=F(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,L(e,n-1,c-n+3,l),c=n+l.length-u-2;break}c=-1;for(;++c13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}const gt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yt(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return mt(n.slice(t?2:1),t?16:10)}return Be(n)||e}const bt={}.hasOwnProperty,vt=function(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(ie),autolinkProtocol:T,autolinkEmail:T,atxHeading:l(ee),blockQuote:l(X),characterEscape:T,characterReference:T,codeFenced:l(K),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:l(K,u),codeText:l(Q,u),codeTextData:T,data:T,codeFlowValue:T,definition:l(G),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:l(J),hardBreakEscape:l(te),hardBreakTrailing:l(te),htmlFlow:l(ne,u),htmlFlowData:T,htmlText:l(ne,u),htmlTextData:T,image:l(re),label:u,link:l(ie),listItem:l(se),listItemValue:m,listOrdered:l(oe,h),listUnordered:l(oe),paragraph:l(ae),reference:H,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:l(ee),strong:l(le),thematicBreak:l(ce)},exit:{atxHeading:d(),atxHeadingSequence:O,autolink:d(),autolinkEmail:Y,autolinkProtocol:Z,blockQuote:d(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:$,codeFenced:d(v),codeFencedFence:b,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:P,codeIndented:d(S),codeText:d(M),codeTextData:P,data:P,definition:d(),definitionDestinationString:x,definitionLabelString:w,definitionTitleString:k,emphasis:d(),hardBreakEscape:d(j),hardBreakTrailing:d(j),htmlFlow:d(I),htmlFlowData:P,htmlText:d(D),htmlTextData:P,image:d(L),label:z,labelText:F,lineEnding:A,link:d(N),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:V,resourceDestinationString:q,resourceTitleString:B,resource:U,setextHeading:d(_),setextHeadingLineSequence:C,setextHeadingText:E,strong:d(),thematicBreak:d()}};wt(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let n={type:"root",children:[]};const r={stack:[n],tokenStack:[],config:t,enter:c,exit:p,buffer:u,resume:f,setData:o,getData:s},a=[];let l=-1;for(;++l0){const e=r.tokenStack[r.tokenStack.length-1];(e[1]||xt).call(r,void 0,e[0])}for(n.position={start:St(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:St(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},l=-1;++l{const n=this.data("settings");return vt(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})};function Et(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(s=String.fromCharCode(o,t),i=1):s="\ufffd"}else s=String.fromCharCode(o);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}const Ct=function(e){if(void 0===e||null===e)return Tt;if("string"===typeof e)return function(e){return _t(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n":"")+")"})}return c;function c(){let u,c,d,p=[];if((!t||i(s,a,l[l.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(n(s,l)),false===p[0]))return p;if(s.children&&"skip"!==p[0])for(c=(r?s.children.length:-1)+o,d=l.concat(s);c>-1&&c-1?n.offset:null}}}const Mt={}.hasOwnProperty;function Rt(e){return String(e||"").toUpperCase()}function Nt(e,t){const n=String(t.identifier).toUpperCase(),r=Et(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;-1===i?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const s=e.footnoteCounts[n],a={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,a);const l={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,l),e.applyData(t,l)}function Lt(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}function Ft(e){const t=e.spread;return void 0===t||null===t?e.children.length>1:t}function zt(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(qt(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(qt(t.slice(i),i>0,!1)),o.join("")}function qt(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}const Bt={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:Nt,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},Nt(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Lt(e,t);const r={src:Et(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:Et(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Lt(e,t);const r={href:Et(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:Et(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=jt(t.children[1]),s=It(t.children[t.children.length-1]);o.line&&s.line&&(r.position={start:o,end:s}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,s=o?o.length:t.children.length;let a=-1;const l=[];for(;++a{const n=Rt(e.identifier);n&&!Mt.call(t,n)&&(t[n]=e)})),function(e){const n=Rt(e);return n&&Mt.call(t,n)?t[n]:null}}(e),s.footnoteById=i,s.footnoteOrder=[],s.footnoteCounts={},s.patch=Wt,s.applyData=$t,s.one=function(e,t){return Zt(s,e,t)},s.all=function(e){return Yt(s,e)},s.wrap=Xt,s.augment=o,At(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Ht.call(i,t)||(i[t]=e)})),s;function o(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const n="type"in e?e:{position:e};(function(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column})(n)||(t.position={start:jt(n),end:It(n)})}return t}function s(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function Wt(e,t){e.position&&(t.position=function(e){return{start:jt(e),end:It(e)}}(e))}function $t(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"===typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&null!==r&&void 0!==r&&(n.children=r)}return n}function Zt(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Ht.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:Yt(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){const n=t.data||{},r=!("value"in t)||Ht.call(n,"hProperties")||Ht.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:Yt(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function Yt(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i0&&n.push({type:"text",value:"\n"}),n}function Kt(e,t){const n=Vt(e,t),r=n.one(e,null),i=function(e){const t=[];let n=-1;for(;++n1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};a>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const u=i[i.length-1];if(u&&"element"===u.type&&"p"===u.tagName){const e=u.children[u.children.length-1];e&&"text"===e.type?e.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...l)}else i.push(...l);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+s},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}var Qt=function(e,t){return e&&"run"in e?function(e,t){return(n,r,i)=>{e.run(Kt(n,t),r,(e=>{i(e)}))}}(e,t):function(e){return t=>Kt(t,e)}(e||t)};var Gt=n(5697);class Jt{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function en(e,t){const n={},r={};let i=-1;for(;++i"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),vn=yn({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Sn(e,t){return t in e?e[t]:t}function wn(e,t){return Sn(e,t.toLowerCase())}const kn=yn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:wn,properties:{xmlns:null,xmlnsXLink:null}}),xn=yn({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:sn,ariaAutoComplete:null,ariaBusy:sn,ariaChecked:sn,ariaColCount:ln,ariaColIndex:ln,ariaColSpan:ln,ariaControls:un,ariaCurrent:null,ariaDescribedBy:un,ariaDetails:null,ariaDisabled:sn,ariaDropEffect:un,ariaErrorMessage:null,ariaExpanded:sn,ariaFlowTo:un,ariaGrabbed:sn,ariaHasPopup:null,ariaHidden:sn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:un,ariaLevel:ln,ariaLive:null,ariaModal:sn,ariaMultiLine:sn,ariaMultiSelectable:sn,ariaOrientation:null,ariaOwns:un,ariaPlaceholder:null,ariaPosInSet:ln,ariaPressed:sn,ariaReadOnly:sn,ariaRelevant:null,ariaRequired:sn,ariaRoleDescription:un,ariaRowCount:ln,ariaRowIndex:ln,ariaRowSpan:ln,ariaSelected:sn,ariaSetSize:ln,ariaSort:null,ariaValueMax:ln,ariaValueMin:ln,ariaValueNow:ln,ariaValueText:null,role:null}}),On=yn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:wn,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:cn,acceptCharset:un,accessKey:un,action:null,allow:null,allowFullScreen:on,allowPaymentRequest:on,allowUserMedia:on,alt:null,as:null,async:on,autoCapitalize:null,autoComplete:un,autoFocus:on,autoPlay:on,capture:on,charSet:null,checked:on,cite:null,className:un,cols:ln,colSpan:null,content:null,contentEditable:sn,controls:on,controlsList:un,coords:ln|cn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:on,defer:on,dir:null,dirName:null,disabled:on,download:an,draggable:sn,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:on,formTarget:null,headers:un,height:ln,hidden:on,high:ln,href:null,hrefLang:null,htmlFor:un,httpEquiv:un,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:on,itemId:null,itemProp:un,itemRef:un,itemScope:on,itemType:un,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:on,low:ln,manifest:null,max:null,maxLength:ln,media:null,method:null,min:null,minLength:ln,multiple:on,muted:on,name:null,nonce:null,noModule:on,noValidate:on,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:on,optimum:ln,pattern:null,ping:un,placeholder:null,playsInline:on,poster:null,preload:null,readOnly:on,referrerPolicy:null,rel:un,required:on,reversed:on,rows:ln,rowSpan:ln,sandbox:un,scope:null,scoped:on,seamless:on,selected:on,shape:null,size:ln,sizes:null,slot:null,span:ln,spellCheck:sn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ln,step:null,style:null,tabIndex:ln,target:null,title:null,translate:null,type:null,typeMustMatch:on,useMap:null,value:sn,width:ln,wrap:null,align:null,aLink:null,archive:un,axis:null,background:null,bgColor:null,border:ln,borderColor:null,bottomMargin:ln,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:on,declare:on,event:null,face:null,frame:null,frameBorder:null,hSpace:ln,leftMargin:ln,link:null,longDesc:null,lowSrc:null,marginHeight:ln,marginWidth:ln,noResize:on,noHref:on,noShade:on,noWrap:on,object:null,profile:null,prompt:null,rev:null,rightMargin:ln,rules:null,scheme:null,scrolling:sn,standby:null,summary:null,text:null,topMargin:ln,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ln,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:on,disableRemotePlayback:on,prefix:null,property:null,results:ln,security:null,unselectable:null}}),En=yn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Sn,properties:{about:dn,accentHeight:ln,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ln,amplitude:ln,arabicForm:null,ascent:ln,attributeName:null,attributeType:null,azimuth:ln,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ln,by:null,calcMode:null,capHeight:ln,className:un,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ln,diffuseConstant:ln,direction:null,display:null,dur:null,divisor:ln,dominantBaseline:null,download:on,dx:null,dy:null,edgeMode:null,editable:null,elevation:ln,enableBackground:null,end:null,event:null,exponent:ln,externalResourcesRequired:null,fill:null,fillOpacity:ln,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:cn,g2:cn,glyphName:cn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ln,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ln,horizOriginX:ln,horizOriginY:ln,id:null,ideographic:ln,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ln,k:ln,k1:ln,k2:ln,k3:ln,k4:ln,kernelMatrix:dn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ln,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ln,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ln,overlineThickness:ln,paintOrder:null,panose1:null,path:null,pathLength:ln,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:un,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ln,pointsAtY:ln,pointsAtZ:ln,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:dn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:dn,rev:dn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:dn,requiredFeatures:dn,requiredFonts:dn,requiredFormats:dn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ln,specularExponent:ln,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ln,strikethroughThickness:ln,string:null,stroke:null,strokeDashArray:dn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ln,strokeOpacity:ln,strokeWidth:null,style:null,surfaceScale:ln,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:dn,tabIndex:ln,tableValues:null,target:null,targetX:ln,targetY:ln,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:dn,to:null,transform:null,u1:null,u2:null,underlinePosition:ln,underlineThickness:ln,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ln,values:null,vAlphabetic:ln,vMathematical:ln,vectorEffect:null,vHanging:ln,vIdeographic:ln,version:null,vertAdvY:ln,vertOriginX:ln,vertOriginY:ln,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ln,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Cn=en([vn,bn,kn,xn,On],"html"),_n=en([vn,bn,kn,xn,En],"svg");function Tn(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{At(t,"element",((t,n,r)=>{const i=r;let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"===typeof n&&(o=!e.allowElement(t,n,i)),o&&"number"===typeof n)return e.unwrapDisallowed&&t.children?i.children.splice(n,1,...t.children):i.children.splice(n,1),n}))}}var Pn=n(9864);function An(e){const t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const jn=/^data[-\w.:]+$/i,In=/-[a-z]/g,Dn=/[A-Z]/g;function Mn(e){return"-"+e.toLowerCase()}function Rn(e){return e.charAt(1).toUpperCase()}const Nn={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Ln=n(7848);const Fn=["http","https","mailto","tel"];function zn(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++ii?t:(i=t.indexOf("#"),-1!==i&&r>i?t:"javascript:void(0)")}const qn={}.hasOwnProperty,Bn=new Set(["table","thead","tbody","tfoot","tr"]);function Un(e,t){const n=[];let r,i=-1;for(;++i0?o.createElement(h,u,p):o.createElement(h,u)}function Vn(e,t){let n=-1,r=0;for(;++n4&&"data"===n.slice(0,4)&&jn.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(In,Rn);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!In.test(e)){let n=e.replace(Dn,Mn);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=hn}return new i(r,t)}(r.schema,t);let o=n;null!==o&&void 0!==o&&o===o&&(Array.isArray(o)&&(o=i.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(o):o.join(" ").trim()),"style"===i.property&&"string"===typeof o&&(o=function(e){const t={};try{Ln(e,n)}catch{}return t;function n(e,n){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,$n)]=n}}(o)),i.space&&i.property?e[qn.call(Nn,i.property)?Nn[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function $n(e,t){return t.toUpperCase()}const Zn={}.hasOwnProperty,Yn={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Xn(e){for(const o in Yn)if(Zn.call(Yn,o)&&Zn.call(e,o)){const e=Yn[o];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${o}\` (see for more info)`),delete Yn[o]}const t=C().use(Ot).use(e.remarkPlugins||[]).use(Qt,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Tn,e),n=new b;"string"===typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let i=o.createElement(o.Fragment,{},Un({options:e,schema:Cn,listDepth:0},r));return e.className&&(i=o.createElement("div",{className:e.className},i)),i}Xn.propTypes={children:Gt.string,className:Gt.string,allowElement:Gt.func,allowedElements:Gt.arrayOf(Gt.string),disallowedElements:Gt.arrayOf(Gt.string),unwrapDisallowed:Gt.bool,remarkPlugins:Gt.arrayOf(Gt.oneOfType([Gt.object,Gt.func,Gt.arrayOf(Gt.oneOfType([Gt.bool,Gt.string,Gt.object,Gt.func,Gt.arrayOf(Gt.any)]))])),rehypePlugins:Gt.arrayOf(Gt.oneOfType([Gt.object,Gt.func,Gt.arrayOf(Gt.oneOfType([Gt.bool,Gt.string,Gt.object,Gt.func,Gt.arrayOf(Gt.any)]))])),sourcePos:Gt.bool,rawSourcePos:Gt.bool,skipHtml:Gt.bool,includeElementIndex:Gt.bool,transformLinkUri:Gt.oneOfType([Gt.func,Gt.bool]),linkTarget:Gt.oneOfType([Gt.func,Gt.string]),transformImageUri:Gt.func,components:Gt.object}}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[628],{5258:function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);s=!0);}catch(l){a=!0,i=l}finally{try{s||null==n.return||n.return()}finally{if(a)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:{};c.validateAssetType(e);var r=n.extract||void 0;r&&!r.length&&(r=["none"]);var i=c.hasDataset(this.client.clientConfig),o="image"===e?"images":"files",s=p(n,t),u=s.tag,d=s.label,f=s.title,h=s.description,m=s.creditLine,g=s.filename,y=s.source,b={label:d,title:f,description:h,filename:g,meta:r,creditLine:m};y&&(b.sourceId=y.id,b.sourceName=y.name,b.sourceUrl=y.url);var v=this.client._requestObservable({tag:u,method:"POST",timeout:s.timeout||0,uri:"/assets/".concat(o,"/").concat(i),headers:s.contentType?{"Content-Type":s.contentType}:{},query:b,body:t});return this.client.isPromiseAPI()?v.pipe(l((function(e){return"response"===e.type})),a((function(e){return e.body.document}))).toPromise():v},delete:function(e,t){console.warn("client.assets.delete() is deprecated, please use client.delete()");var n=t||"";return/^(image|file)-/.test(n)?e._id&&(n=e._id):n="".concat(e,"-").concat(n),c.hasDataset(this.client.clientConfig),this.client.delete(n)},getImageUrl:function(e,t){var n=e._ref||e;if("string"!==typeof n)throw new Error("getImageUrl() needs either an object with a _ref, or a string with an asset document ID");if(!/^image-[A-Za-z0-9_]+-\d+x\d+-[a-z]{1,5}$/.test(n))throw new Error('Unsupported asset ID "'.concat(n,'". URL generation only works for auto-generated IDs.'));var i=r(n.split("-"),4),o=i[1],s=i[2],a=i[3];c.hasDataset(this.client.clientConfig);var l=this.client.clientConfig,d=l.projectId,p=l.dataset,f=t?u(t):"";return"https://cdn.sanity.io/images/".concat(d,"/").concat(p,"/").concat(o,"-").concat(s,".").concat(a).concat(f)}}),e.exports=d},6586:function(e,t,n){"use strict";function r(e){this.client=e}n(6086)(r.prototype,{getLoginProviders:function(){return this.client.request({uri:"/auth/providers"})},logout:function(){return this.client.request({uri:"/auth/logout",method:"POST"})}}),e.exports=r},9895:function(e,t,n){"use strict";var r=n(6086),i=n(2913),o=n(2947),s=n(1356),a={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,isPromiseAPI:!0},l=["localhost","127.0.0.1","0.0.0.0"];t.defaultConfig=a,t.initConfig=function(e,n){var u=r({},n,e);u.apiVersion||s.printNoApiVersionSpecifiedWarning();var c=r({},a,u),d=c.useProjectHostname;if("undefined"===typeof Promise){var p=i("js-client-promise-polyfill");throw new Error("No native Promise-implementation found, polyfill needed - see ".concat(p))}if(d&&!c.projectId)throw new Error("Configuration must contain `projectId`");var f="undefined"!==typeof window&&window.location&&window.location.hostname,h=f&&function(e){return-1!==l.indexOf(e)}(window.location.hostname);f&&h&&c.token&&!0!==c.ignoreBrowserTokenWarning?s.printBrowserTokenWarning():"undefined"===typeof c.useCdn&&s.printCdnWarning(),d&&o.projectId(c.projectId),c.dataset&&o.dataset(c.dataset),"requestTagPrefix"in c&&(c.requestTagPrefix=c.requestTagPrefix?o.requestTag(c.requestTagPrefix).replace(/\.+$/,""):void 0),c.apiVersion="".concat(c.apiVersion).replace(/^v/,""),c.isDefaultApi=c.apiHost===a.apiHost,c.useCdn=Boolean(c.useCdn)&&!c.withCredentials,t.validateApiVersion(c.apiVersion);var m=c.apiHost.split("://",2),g=m[0],y=m[1],b=c.isDefaultApi?"apicdn.sanity.io":y;return c.useProjectHostname?(c.url="".concat(g,"://").concat(c.projectId,".").concat(y,"/v").concat(c.apiVersion),c.cdnUrl="".concat(g,"://").concat(c.projectId,".").concat(b,"/v").concat(c.apiVersion)):(c.url="".concat(c.apiHost,"/v").concat(c.apiVersion),c.cdnUrl=c.url),c},t.validateApiVersion=function(e){if("1"!==e&&"X"!==e){var t=new Date(e);if(!(/^\d{4}-\d{2}-\d{2}$/.test(e)&&t instanceof Date&&t.getTime()>0))throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}}},1078:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(6086),o=n(5092),s=o.map,a=o.filter,l=n(2947),u=n(7054),c=n(6102),d=n(485),p=n(5770),f=n(4327),h=function(e,t){return!1===e?void 0:"undefined"===typeof e?t:e},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{dryRun:e.dryRun,returnIds:!0,returnDocuments:h(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}},g=function(e){return"response"===e.type},y=function(e){return e.body},b=function(e,t){return e.reduce((function(e,n){return e[t(n)]=n,e}),Object.create(null))},v=function(e){return e.toPromise()};e.exports={listen:f,getDataUrl:function(e,t){var n=this.clientConfig,r=l.hasDataset(n),i="/".concat(e,"/").concat(r),o=t?"".concat(i,"/").concat(t):i;return"/data".concat(o).replace(/\/($|\?)/,"$1")},fetch:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=!1===n.filterResponse?function(e){return e}:function(e){return e.result},i=this._dataRequest("query",{query:e,params:t},n).pipe(s(r));return this.isPromiseAPI()?v(i):i},getDocument:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={uri:this.getDataUrl("doc",e),json:!0,tag:t.tag},r=this._requestObservable(n).pipe(a(g),s((function(e){return e.body.documents&&e.body.documents[0]})));return this.isPromiseAPI()?v(r):r},getDocuments:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={uri:this.getDataUrl("doc",e.join(",")),json:!0,tag:t.tag},r=this._requestObservable(n).pipe(a(g),s((function(t){var n=b(t.body.documents||[],(function(e){return e._id}));return e.map((function(e){return n[e]||null}))})));return this.isPromiseAPI()?v(r):r},create:function(e,t){return this._create(e,"create",t)},createIfNotExists:function(e,t){return l.requireDocumentId("createIfNotExists",e),this._create(e,"createIfNotExists",t)},createOrReplace:function(e,t){return l.requireDocumentId("createOrReplace",e),this._create(e,"createOrReplace",t)},patch:function(e,t){return new p(e,t,this)},delete:function(e,t){return this.dataRequest("mutate",{mutations:[{delete:u(e)}]},t)},mutate:function(e,t){var n=e instanceof p||e instanceof d?e.serialize():e,r=Array.isArray(n)?n:[n],i=t&&t.transactionId;return this.dataRequest("mutate",{mutations:r,transactionId:i},t)},transaction:function(e){return new d(e,this)},dataRequest:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._dataRequest(e,t,n);return this.isPromiseAPI()?v(r):r},_dataRequest:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i="mutate"===e,o="query"===e,l=!i&&c(t),u=!i&&l.length<11264,d=u?l:"",p=n.returnFirst,f=n.timeout,h=n.token,b=n.tag,v=n.headers,S=this.getDataUrl(e,d),w={method:u?"GET":"POST",uri:S,json:!0,body:u?void 0:t,query:i&&m(n),timeout:f,headers:v,token:h,tag:b,canUseCdn:o};return this._requestObservable(w).pipe(a(g),s(y),s((function(e){if(!i)return e;var t=e.results||[];if(n.returnDocuments)return p?t[0]&&t[0].document:t.map((function(e){return e.document}));var o=p?"documentId":"documentIds",s=p?t[0]&&t[0].id:t.map((function(e){return e.id}));return r({transactionId:e.transactionId,results:t},o,s)})))},_create:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r({},t,e),s=i({returnFirst:!0,returnDocuments:!0},n);return this.dataRequest("mutate",{mutations:[o]},s)}}},6102:function(e){"use strict";var t=["tag"];function n(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var r=encodeURIComponent;e.exports=function(e){var i=e.query,o=e.params,s=void 0===o?{}:o,a=e.options,l=void 0===a?{}:a,u=l.tag,c=n(l,t),d="query=".concat(r(i)),p=u?"?tag=".concat(r(u),"&").concat(d):"?".concat(d),f=Object.keys(s).reduce((function(e,t){return"".concat(e,"&").concat(r("$".concat(t)),"=").concat(r(JSON.stringify(s[t])))}),p);return Object.keys(c).reduce((function(e,t){return l[t]?"".concat(e,"&").concat(r(t),"=").concat(r(l[t])):e}),f)}},4327:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},r=this.clientConfig,o=r.url,s=r.token,l=r.withCredentials,y=r.requestTagPrefix,b=n.tag&&y?[y,n.tag].join("."):n.tag,v=i(i({},c(n,h)),{},{tag:b}),S=u(v,f),w=d({query:e,params:t,options:S,tag:b}),k="".concat(o).concat(this.getDataUrl("listen",w));if(k.length>14800)return new a((function(e){return e.error(new Error("Query too large for listener"))}));var x=v.events?v.events:["mutation"],O=-1!==x.indexOf("reconnect"),E={};return(s||l)&&(E.withCredentials=!0),s&&(E.headers={Authorization:"Bearer ".concat(s)}),new a((function(e){var t,n=u(),r=!1;function i(){r||(O&&e.next({type:"reconnect"}),r||n.readyState===p.CLOSED&&(l(),clearTimeout(t),t=setTimeout(c,100)))}function o(t){e.error(g(t))}function s(t){var n=m(t);return n instanceof Error?e.error(n):e.next(n)}function a(t){r=!0,l(),e.complete()}function l(){n.removeEventListener("error",i,!1),n.removeEventListener("channelError",o,!1),n.removeEventListener("disconnect",a,!1),x.forEach((function(e){return n.removeEventListener(e,s,!1)})),n.close()}function u(){var e=new p(k,E);return e.addEventListener("error",i,!1),e.addEventListener("channelError",o,!1),e.addEventListener("disconnect",a,!1),x.forEach((function(t){return e.addEventListener(t,s,!1)})),e}function c(){n=u()}return function(){r=!0,l()}}))}},5770:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(6086),o=n(7054),s=n(2947),a=s.validateObject,l=s.validateInsert;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.selection=e,this.operations=i({},t),this.client=n}i(u.prototype,{clone:function(){return new u(this.selection,i({},this.operations),this.client)},set:function(e){return this._assign("set",e)},diffMatchPatch:function(e){return a("diffMatchPatch",e),this._assign("diffMatchPatch",e)},unset:function(e){if(!Array.isArray(e))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=i({},this.operations,{unset:e}),this},setIfMissing:function(e){return this._assign("setIfMissing",e)},replace:function(e){return a("replace",e),this._set("set",{$:e})},inc:function(e){return this._assign("inc",e)},dec:function(e){return this._assign("dec",e)},insert:function(e,t,n){var i;return l(e,t,n),this._assign("insert",(r(i={},e,t),r(i,"items",n),i))},append:function(e,t){return this.insert("after","".concat(e,"[-1]"),t)},prepend:function(e,t){return this.insert("before","".concat(e,"[0]"),t)},splice:function(e,t,n,r){var i=t<0?t-1:t,o="undefined"===typeof n||-1===n?-1:Math.max(0,t+n),s=i<0&&o>=0?"":o,a="".concat(e,"[").concat(i,":").concat(s,"]");return this.insert("replace",a,r||[])},ifRevisionId:function(e){return this.operations.ifRevisionID=e,this},serialize:function(){return i(o(this.selection),this.operations)},toJSON:function(){return this.serialize()},commit:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.client)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");var t="string"===typeof this.selection,n=i({returnFirst:t,returnDocuments:!0},e);return this.client.mutate({patch:this.serialize()},n)},reset:function(){return this.operations={},this},_set:function(e,t){return this._assign(e,t,!1)},_assign:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return a(e,t),this.operations=i({},this.operations,r({},e,i({},n&&this.operations[e]||{},t))),this}}),e.exports=u},485:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(6086),o=n(2947),s=n(5770),a={returnDocuments:!1};function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;this.trxId=n,this.operations=e,this.client=t}i(l.prototype,{clone:function(){return new l(this.operations.slice(0),this.client,this.trxId)},create:function(e){return o.validateObject("create",e),this._add({create:e})},createIfNotExists:function(e){var t="createIfNotExists";return o.validateObject(t,e),o.requireDocumentId(t,e),this._add(r({},t,e))},createOrReplace:function(e){var t="createOrReplace";return o.validateObject(t,e),o.requireDocumentId(t,e),this._add(r({},t,e))},delete:function(e){return o.validateDocumentId("delete",e),this._add({delete:{id:e}})},patch:function(e,t){var n="function"===typeof t;if(e instanceof s)return this._add({patch:e.serialize()});if(n){var r=t(new s(e,{},this.client));if(!(r instanceof s))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:r.serialize()})}return this._add({patch:i({id:e},t)})},transactionId:function(e){return e?(this.trxId=e,this):this.trxId},serialize:function(){return this.operations.slice()},toJSON:function(){return this.serialize()},commit:function(e){if(!this.client)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.client.mutate(this.serialize(),i({transactionId:this.trxId},a,e||{}))},reset:function(){return this.operations=[],this},_add:function(e){return this.operations.push(e),this}}),e.exports=l},8288:function(e,t,n){"use strict";var r=n(6086),i=n(2947);function o(e){this.request=e.request.bind(e)}r(o.prototype,{create:function(e,t){return this._modify("PUT",e,t)},edit:function(e,t){return this._modify("PATCH",e,t)},delete:function(e){return this._modify("DELETE",e)},list:function(){return this.request({uri:"/datasets"})},_modify:function(e,t,n){return i.dataset(t),this.request({method:e,uri:"/datasets/".concat(t),body:n})}}),e.exports=o},2913:function(e){"use strict";e.exports=function(e){return"https://docs.sanity.io/help/"+e}},1708:function(e){"use strict";e.exports=[]},2288:function(e,t,n){"use strict";var r=n(1432),i=n(6086);function o(e){var t=a(e);o.super.call(this,t.message),i(this,t)}function s(e){var t=a(e);s.super.call(this,t.message),i(this,t)}function a(e){var t=e.body,n={response:e,statusCode:e.statusCode,responseBody:l(t,e)};return t.error&&t.message?(n.message="".concat(t.error," - ").concat(t.message),n):t.error&&t.error.description?(n.message=t.error.description,n.details=t.error,n):(n.message=t.error||t.message||function(e){var t=e.statusMessage?" ".concat(e.statusMessage):"";return"".concat(e.method,"-request to ").concat(e.url," resulted in HTTP ").concat(e.statusCode).concat(t)}(e),n)}function l(e,t){return-1!==(t.headers["content-type"]||"").toLowerCase().indexOf("application/json")?JSON.stringify(e,null,2):e}r(o),r(s),t.ClientError=o,t.ServerError=s},3202:function(e){"use strict";e.exports=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(e[n])));return t.length>0?"?".concat(t.join("&")):""}},6126:function(e,t,n){"use strict";var r=n(6258),i=n(6086),o=n(6890),s=n(2289),a=n(8362),l=n(5018),u=n(5092).Observable,c=n(2288),d=c.ClientError,p=c.ServerError,f={onResponse:function(e){if(e.statusCode>=500)throw new p(e);if(e.statusCode>=400)throw new d(e);return e}},h={onResponse:function(e){var t=e.headers["x-sanity-warning"];return(Array.isArray(t)?t:[t]).filter(Boolean).forEach((function(e){return console.warn(e)})),e}},m=r(n(1708).concat([h,s(),a(),l(),f,o({implementation:u})]));function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;return t(i({maxRedirects:0},e))}g.defaultRequester=m,g.ClientError=d,g.ServerError=p,e.exports=g},3914:function(e,t,n){"use strict";var r=n(6086),i="X-Sanity-Project-ID";e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},o=t.token||e.token;o&&(n.Authorization="Bearer ".concat(o)),t.useGlobalApi||e.useProjectHostname||!e.projectId||(n[i]=e.projectId);var s=Boolean("undefined"===typeof t.withCredentials?e.token||e.withCredentials:t.withCredentials),a="undefined"===typeof t.timeout?e.timeout:t.timeout;return r({},t,{headers:r({},n,t.headers||{}),timeout:"undefined"===typeof a?3e5:a,proxy:t.proxy||e.proxy,json:!0,withCredentials:s})}},7015:function(e,t,n){"use strict";function r(e){this.client=e}n(6086)(r.prototype,{list:function(){return this.client.request({uri:"/projects"})},getById:function(e){return this.client.request({uri:"/projects/".concat(e)})}}),e.exports=r},9729:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(6086),s=n(5092),a=s.Observable,l=s.map,u=s.filter,c=n(5770),d=n(485),p=n(1078),f=n(8288),h=n(7015),m=n(5258),g=n(1102),y=n(6586),b=n(6126),v=n(3914),S=n(9895),w=S.defaultConfig,k=S.initConfig,x=n(2947);function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w;if(!(this instanceof O))return new O(e);if(this.config(e),this.assets=new m(this),this.datasets=new f(this),this.projects=new h(this),this.users=new g(this),this.auth=new y(this),this.clientConfig.isPromiseAPI){var t=o({},this.clientConfig,{isPromiseAPI:!1});this.observable=new O(t)}}o(O.prototype,p),o(O.prototype,{clone:function(){return new O(this.config())},config:function(e){if("undefined"===typeof e)return o({},this.clientConfig);if(this.observable){var t=o({},e,{isPromiseAPI:!1});this.observable.config(t)}return this.clientConfig=k(e,this.clientConfig||{}),this},withConfig:function(e){return this.clone().config(e)},getUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?this.clientConfig.cdnUrl:this.clientConfig.url;return"".concat(n,"/").concat(e.replace(/^\//,""))},isPromiseAPI:function(){return this.clientConfig.isPromiseAPI},_requestObservable:function(e){var t=this,n=e.url||e.uri,s="undefined"===typeof e.canUseCdn?["GET","HEAD"].indexOf(e.method||"GET")>=0&&0===n.indexOf("/data/"):e.canUseCdn,l=this.clientConfig.useCdn&&s,u=e.tag&&this.clientConfig.requestTagPrefix?[this.clientConfig.requestTagPrefix,e.tag].join("."):e.tag||this.clientConfig.requestTagPrefix;u&&(e.query=function(e){for(var t=1;t)","* Array of document IDs","* Object containing `query`"].join("\n");throw new Error("Unknown selection - must be one of:\n\n".concat(t))}},5092:function(e,t,n){"use strict";var r=n(2837).Observable,i=n(7224).filter,o=n(8359).map;e.exports={Observable:r,filter:i,map:o}},7826:function(e){"use strict";e.exports=function(e){var t,n=!1;return function(){return n||(t=e.apply(void 0,arguments),n=!0),t}}},8201:function(e){"use strict";e.exports=function(e,t){return t.reduce((function(t,n){return"undefined"===typeof e[n]||(t[n]=e[n]),t}),{})}},2947:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var r=["image","file"],i=["before","after","replace"];t.dataset=function(e){if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},t.projectId=function(e){if(!/^[-a-z0-9]+$/i.test(e))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},t.validateAssetType=function(e){if(-1===r.indexOf(e))throw new Error("Invalid asset type: ".concat(e,". Must be one of ").concat(r.join(", ")))},t.validateObject=function(e,t){if(null===t||"object"!==n(t)||Array.isArray(t))throw new Error("".concat(e,"() takes an object of properties"))},t.requireDocumentId=function(e,n){if(!n._id)throw new Error("".concat(e,'() requires that the document contains an ID ("_id" property)'));t.validateDocumentId(e,n._id)},t.validateDocumentId=function(e,t){if("string"!==typeof t||!/^[a-z0-9_.-]+$/i.test(t))throw new Error("".concat(e,'(): "').concat(t,'" is not a valid document ID'))},t.validateInsert=function(e,t,n){var r="insert(at, selector, items)";if(-1===i.indexOf(e)){var o=i.map((function(e){return'"'.concat(e,'"')})).join(", ");throw new Error("".concat(r,' takes an "at"-argument which is one of: ').concat(o))}if("string"!==typeof t)throw new Error("".concat(r,' takes a "selector"-argument which must be a string'));if(!Array.isArray(n))throw new Error("".concat(r,' takes an "items"-argument which must be an array'))},t.hasDataset=function(e){if(!e.dataset)throw new Error("`dataset` must be provided to perform queries");return e.dataset||""},t.requestTag=function(e){if("string"!==typeof e||!/^[a-z0-9._-]{1,75}$/i.test(e))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e}},1356:function(e,t,n){"use strict";var r=n(2913),i=n(7826),o=function(e){return i((function(){for(var t,n=arguments.length,r=new Array(n),i=0;ia){var l=Math.round(o.height),u=Math.round(l*a),c=Math.max(0,Math.round(o.top)),d=Math.round((s.right-s.left)/2+s.left),p=Math.max(0,Math.round(d-u/2));po.left+o.width&&(p=o.left+o.width-u),n={left:p,top:c,width:u,height:l}}else{var f=o.width,h=Math.round(f/a),m=Math.max(0,Math.round(o.left)),g=Math.round((s.bottom-s.top)/2+s.top),y=Math.max(0,Math.round(g-h/2));yo.top+o.height&&(y=o.top+o.height-h),n={left:m,top:y,width:f,height:h}}return{width:r,height:i,rect:n}}var f=["clip","crop","fill","fillmax","max","scale","min"],h=["top","bottom","left","right","center","focalpoint","entropy"],m=["format"];function g(e){return!!e&&"object"===typeof e.clientConfig}function y(e){for(var t=0,n=u;t=128>>t&&e<=2048>>t&&e<=57344>>t&&e<=65536>>t&&e<>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",o=this.bitsNeeded,s=this.codePoint,a=0;a191||!t(s<<6|63&l,o-6,n(o,s)))&&(o=0,s=r,i+=String.fromCharCode(s)),0===o?(l>=0&&l<=127?(o=0,s=l):l>=192&&l<=223?(o=6,s=31&l):l>=224&&l<=239?(o=12,s=15&l):l>=240&&l<=247?(o=18,s=7&l):(o=0,s=r),0===o||t(s,o,n(o,s))||(o=0,s=r)):(o-=6,s=s<<6|63&l),0===o&&(s<=65535?i+=String.fromCharCode(s):(i+=String.fromCharCode(55296+(s-65535-1>>10)),i+=String.fromCharCode(56320+(s-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=s,i};void 0!=g&&void 0!=y&&function(){try{return"test"===(new g).decode((new y).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(g=S);var w=function(){};function k(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=w}function x(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function O(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,c=[],d=u.reduce((function(e,t){return e[t]=e[t]||[],e}),{processOptions:[o],validateOptions:[s]});function p(e){var t=l.reduce((function(e,t){return e[t]=r(),e}),{}),o=i(d),s=o("processOptions",e);o("validateOptions",s);var a={options:s,channels:t,applyMiddleware:o},u=null,c=t.request.subscribe((function(e){u=n(e,(function(n,r){return function(e,r,i){var s=e,a=r;if(!s)try{a=o("onResponse",r,i)}catch(n){a=null,s=n}(s=s&&o("onError",s,i))?t.error.publish(s):a&&t.response.publish(a)}(n,r,e)}))}));t.abort.subscribe((function(){c(),u&&u.abort()}));var p=o("onReturn",t,a);return p===t&&t.request.publish(a),p}return p.use=function(e){if(!e)throw new Error("Tried to add middleware that resolved to falsey value");if("function"===typeof e)throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(e.onReturn&&d.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return u.forEach((function(t){e[t]&&d[t].push(e[t])})),c.push(e),p},p.clone=function(){return e(c)},t.forEach(p.use),p}},5734:function(e,t,n){"use strict";var r=n(6086),i=n(4564),o="undefined"!==typeof navigator&&"ReactNative"===navigator.product,s=Object.prototype.hasOwnProperty,a={timeout:o?6e4:12e4};function l(e){var t=[];for(var n in e)s.call(e,n)&&r(n,e[n]);return t.length?t.join("&"):"";function r(e,n){Array.isArray(n)?n.forEach((function(t){return r(e,t)})):t.push([e,n].map(encodeURIComponent).join("="))}}function u(e){if(!1===e||0===e)return!1;if(e.connect||e.socket)return e;var t=Number(e);return isNaN(t)?u(a.timeout):{connect:t,socket:t}}e.exports=function(e){var t="string"===typeof e?r({url:e},a):r({},a,e),n=i(t.url,{},!0);return t.timeout=u(t.timeout),t.query&&(n.query=r({},n.query,function(e){var t={};for(var n in e)void 0!==e[n]&&(t[n]=e[n]);return t}(t.query))),t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t.url=n.toString(l),t}},5139:function(e){"use strict";var t=/^https?:\/\//i;e.exports=function(e){if(!t.test(e.url))throw new Error('"'.concat(e.url,'" is not a valid URL'))}},2289:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var i=n(6086),o=n(5299),s=["boolean","string","number"];e.exports=function(){return{processOptions:function(e){var t,n=e.body;return n&&!("function"===typeof n.pipe)&&!((t=n).constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t))&&(-1!==s.indexOf(r(n))||Array.isArray(n)||o(n))?i({},e,{body:JSON.stringify(e.body),headers:i({},e.headers,{"Content-Type":"application/json"})}):e}}}},8362:function(e,t,n){"use strict";var r=n(6086);function i(e){try{return JSON.parse(e)}catch(t){throw t.message="Failed to parsed response body as JSON: ".concat(t.message),t}}e.exports=function(e){return{onResponse:function(t){var n=t.headers["content-type"]||"",o=e&&e.force||-1!==n.indexOf("application/json");return t.body&&n&&o?r({},t,{body:i(t.body)}):t},processOptions:function(e){return r({},e,{headers:r({Accept:"application/json"},e.headers)})}}}},6890:function(e,t,n){"use strict";var r=n(3366),i=n(6086);e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.implementation||r.Observable;if(!t)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:function(e,n){return new t((function(t){return e.error.subscribe((function(e){return t.error(e)})),e.progress.subscribe((function(e){return t.next(i({type:"progress"},e))})),e.response.subscribe((function(e){t.next(i({type:"response"},e)),t.complete()})),e.request.publish(n),function(){return e.abort.publish()}}))}}}},4393:function(e){"use strict";e.exports=function(){return{onRequest:function(e){if("xhr"===e.adapter){var t=e.request,n=e.context;"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=r("upload")),"onprogress"in t&&(t.onprogress=r("download"))}function r(e){return function(t){var r=t.lengthComputable?t.loaded/t.total*100:-1;n.channels.progress.publish({stage:e,percent:r,total:t.total,loaded:t.loaded,lengthComputable:t.lengthComputable})}}}}}},5018:function(e,t,n){"use strict";e.exports=n(4393)},7288:function(e,t,n){"use strict";var r=n(7215),i=n(4947),o=n(6377),s="undefined"===typeof window?void 0:window,a=s?"xhr":"fetch",l="function"===typeof XMLHttpRequest?XMLHttpRequest:function(){},u="withCredentials"in new l,c="undefined"===typeof XDomainRequest?void 0:XDomainRequest,d=u?l:c;s||(l=o,d=o),e.exports=function(e,t){var n=e.options,o=e.applyMiddleware("finalizeOptions",n),u={},c=s&&s.location&&!r(s.location.href,o.url),p=e.applyMiddleware("interceptRequest",void 0,{adapter:a,context:e});if(p){var f=setTimeout(t,0,null,p);return{abort:function(){return clearTimeout(f)}}}var h=c?new d:new l,m=s&&s.XDomainRequest&&h instanceof s.XDomainRequest,g=o.headers,y=o.timeout,b=!1,v=!1,S=!1;if(h.onerror=O,h.ontimeout=O,h.onabort=function(){x(!0),b=!0},h.onprogress=function(){},h[m?"onload":"onreadystatechange"]=function(){!function(){if(!y)return;x(),u.socket=setTimeout((function(){return k("ESOCKETTIMEDOUT")}),y.socket)}(),b||4!==h.readyState&&!m||0!==h.status&&function(){if(b||v||S)return;if(0===h.status)return void O(new Error("Unknown XHR error"));x(),v=!0,t(null,function(){var e=h.status,t=h.statusText;if(m&&void 0===e)e=200;else{if(e>12e3&&e<12156)return O();e=1223===h.status?204:h.status,t=1223===h.status?"No Content":t}return{body:h.response||h.responseText,url:o.url,method:o.method,headers:m?{}:i(h.getAllResponseHeaders()),statusCode:e,statusMessage:t}}())}()},h.open(o.method,o.url,!0),h.withCredentials=!!o.withCredentials,g&&h.setRequestHeader)for(var w in g)g.hasOwnProperty(w)&&h.setRequestHeader(w,g[w]);else if(g&&m)throw new Error("Headers cannot be set on an XDomainRequest object");return o.rawBody&&(h.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:o,adapter:a,request:h,context:e}),h.send(o.body||null),y&&(u.connect=setTimeout((function(){return k("ETIMEDOUT")}),y.connect)),{abort:function(){b=!0,h&&h.abort()}};function k(t){S=!0,h.abort();var n=new Error("ESOCKETTIMEDOUT"===t?"Socket timed out on request to ".concat(o.url):"Connection timed out on request to ".concat(o.url));n.code=t,e.channels.error.publish(n)}function x(e){(e||b||h.readyState>=2&&u.connect)&&clearTimeout(u.connect),u.socket&&clearTimeout(u.socket)}function O(e){if(!v){x(!0),v=!0,h=null;var n=e||new Error("Network error while attempting to reach ".concat(o.url));n.isNetworkError=!0,n.request=o,t(n)}}}},6377:function(e){"use strict";function t(){this.readyState=0}t.prototype.open=function(e,t){this._method=e,this._url=t,this._resHeaders="",this.readyState=1,this.onreadystatechange()},t.prototype.abort=function(){this._controller&&this._controller.abort()},t.prototype.getAllResponseHeaders=function(){return this._resHeaders},t.prototype.setRequestHeader=function(e,t){this._headers=this._headers||{},this._headers[e]=t},t.prototype.send=function(e){var t=this,n=this._controller="function"===typeof AbortController&&new AbortController,r="arraybuffer"!==this.responseType,i={method:this._method,headers:this._headers,signal:n&&n.signal,body:e};"undefined"!==typeof window&&(i.credentials=this.withCredentials?"include":"omit"),fetch(this._url,i).then((function(e){return e.headers.forEach((function(e,n){t._resHeaders+="".concat(n,": ").concat(e,"\r\n")})),t.status=e.status,t.statusText=e.statusText,t.readyState=3,r?e.text():e.arrayBuffer()})).then((function(e){r?t.responseText=e:t.response=e,t.readyState=4,t.onreadystatechange()})).catch((function(e){"AbortError"!==e.name?t.onerror(e):t.onabort()}))},e.exports=t},9825:function(e,t,n){"use strict";e.exports=n(7288)},3366:function(e,t,n){"use strict";"undefined"!==typeof globalThis?e.exports=globalThis:"undefined"!==typeof window?e.exports=window:"undefined"!==typeof n.g?e.exports=n.g:"undefined"!==typeof self?e.exports=self:e.exports={}},6604:function(e){"use strict";e.exports=function(e){return function(t,n){for(var r="onError"===t,i=n,o=arguments.length,s=new Array(o>2?o-2:0),a=2;a-1&&e.splice(n,1)}},publish:function(){for(var t=0;t{const n=e.quality(t.quality||75).fit("clip");return null!==t.width?n.width(t.width):n};t.J=function(e,t,n){const i=n?.imageBuilder||s;return r.useMemo((()=>{if(!t)return null;const n=t?function(e){if("string"===typeof e)return e;const t=e,n=e,r=e;return"string"===typeof e?e:t.asset?t.asset._ref||t.asset._id:n._ref||r._id||""}(t):null;if(!n)return null;const r=function(e){const t=e.split("-")[2],[n,r]=t.split("x").map((e=>parseInt(e,10)));return{width:n,height:r,aspectRatio:n/r}}(n),s=function(e,t){const n=e.crop;if(!n)return t;const{width:r,height:i}=t,o=r*(1-(n.left+n.right)),s=i*(1-(n.top+n.bottom));return{width:o,height:s,aspectRatio:o/s}}(t,r),a=i(o.default(e).image(t).auto("format"),{width:null,originalImageDimensions:r,croppedImageDimensions:s,quality:null}),l=a.options.width||(a.options.maxWidth?Math.min(a.options.maxWidth,s.width):s.width),u=a.options.height||(a.options.maxHeight?Math.min(a.options.maxHeight,s.height):Math.round(l/s.aspectRatio));return{loader:({width:n,quality:a})=>i(o.default(e).image(t).auto("format"),{width:n,originalImageDimensions:r,croppedImageDimensions:s,quality:a||null}).url()||"",src:a.url(),width:l,height:u}}),[i,t,e])}},6086:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},8045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9361).Z,i=n(4941).Z,o=n(3929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.src,n=e.sizes,a=e.unoptimized,l=void 0!==a&&a,m=e.priority,g=void 0!==m&&m,S=e.loading,E=e.lazyRoot,_=void 0===E?null:E,T=e.lazyBoundary,P=e.className,A=e.quality,j=e.width,I=e.height,D=e.style,M=e.objectFit,R=e.objectPosition,N=e.onLoadingComplete,L=e.placeholder,F=void 0===L?"empty":L,z=e.blurDataURL,q=u(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),B=c.useContext(h.ImageConfigContext),U=c.useMemo((function(){var e=y||B||p.imageConfigDefault,t=o(e.deviceSizes).concat(o(e.imageSizes)).sort((function(e,t){return e-t})),n=e.deviceSizes.sort((function(e,t){return e-t}));return s({},e,{allSizes:t,deviceSizes:n})}),[B]),H=q,V=n?"responsive":"intrinsic";"layout"in H&&(H.layout&&(V=H.layout),delete H.layout);var W=O;if("loader"in H){if(H.loader){var $=H.loader;W=function(e){e.config;var t=u(e,["config"]);return $(t)}}delete H.loader}var Z="";if(function(e){return"object"===typeof e&&(w(e)||function(e){return void 0!==e.src}(e))}(t)){var Y=w(t)?t.default:t;if(!Y.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(Y)));if(z=z||Y.blurDataURL,Z=Y.src,(!V||"fill"!==V)&&(I=I||Y.height,j=j||Y.width,!Y.height||!Y.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(Y)))}var X=!g&&("lazy"===S||"undefined"===typeof S);((t="string"===typeof t?t:Z).startsWith("data:")||t.startsWith("blob:"))&&(l=!0,X=!1);b.has(t)&&(X=!1);U.unoptimized&&(l=!0);var K,Q=i(c.useState(!1),2),G=Q[0],J=Q[1],ee=i(f.useIntersection({rootRef:_,rootMargin:T||"200px",disabled:!X}),3),te=ee[0],ne=ee[1],re=ee[2],ie=!X||ne,oe={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},se={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ae=!1,le={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:M,objectPosition:R},ue=x(j),ce=x(I),de=x(A);0;var pe=Object.assign({},D,le),fe="blur"!==F||G?{}:{backgroundSize:M||"cover",backgroundPosition:R||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(z,'")')};if("fill"===V)oe.display="block",oe.position="absolute",oe.top=0,oe.left=0,oe.bottom=0,oe.right=0;else if("undefined"!==typeof ue&&"undefined"!==typeof ce){var he=ce/ue,me=isNaN(he)?"100%":"".concat(100*he,"%");"responsive"===V?(oe.display="block",oe.position="relative",ae=!0,se.paddingTop=me):"intrinsic"===V?(oe.display="inline-block",oe.position="relative",oe.maxWidth="100%",ae=!0,se.maxWidth="100%",K="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(ue,"%27%20height=%27").concat(ce,"%27/%3e")):"fixed"===V&&(oe.display="inline-block",oe.position="relative",oe.width=ue,oe.height=ce)}else 0;var ge={src:v,srcSet:void 0,sizes:void 0};ie&&(ge=k({config:U,src:t,unoptimized:l,layout:V,width:ue,quality:de,sizes:n,loader:W}));var ye=t;0;var be,ve="imagesrcset",Se="imagesizes";ve="imageSrcSet",Se="imageSizes";var we=(r(be={},ve,ge.srcSet),r(be,Se,ge.sizes),be),ke=c.default.useLayoutEffect,xe=c.useRef(N),Oe=c.useRef(t);c.useEffect((function(){xe.current=N}),[N]),ke((function(){Oe.current!==t&&(re(),Oe.current=t)}),[re,t]);var Ee=s({isLazy:X,imgAttributes:ge,heightInt:ce,widthInt:ue,qualityInt:de,layout:V,className:P,imgStyle:pe,blurStyle:fe,loading:S,config:U,unoptimized:l,placeholder:F,loader:W,srcString:ye,onLoadingCompleteRef:xe,setBlurComplete:J,setIntersection:te,isVisible:ie,noscriptSizes:n},H);return c.default.createElement(c.default.Fragment,null,c.default.createElement("span",{style:oe},ae?c.default.createElement("span",{style:se},K?c.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:K}):null):null,c.default.createElement(C,Object.assign({},Ee))),g?c.default.createElement(d.default,null,c.default.createElement("link",Object.assign({key:"__nimg-"+ge.src+ge.srcSet+ge.sizes,rel:"preload",as:"image",href:ge.srcSet?void 0:ge.src},we))):null)};var s=n(6495).Z,a=n(2648).Z,l=n(1598).Z,u=n(7273).Z,c=l(n(7294)),d=a(n(5443)),p=n(9309),f=n(7190),h=n(9977),m=(n(3794),n(2392));function g(e){return"/"===e[0]?e.slice(1):e}var y={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},b=new Set,v=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var S=new Map([["default",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:"".concat(m.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(i||75)}],["imgix",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality,o=new URL("".concat(t.path).concat(g(n))),s=o.searchParams;return s.set("auto",s.getAll("auto").join(",")||"format"),s.set("fit",s.get("fit")||"max"),s.set("w",s.get("w")||r.toString()),i&&s.set("q",i.toString()),o.href}],["cloudinary",function(e){var t=e.config,n=e.src,r=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(t.path).concat(r).concat(g(n))}],["akamai",function(e){var t=e.config,n=e.src,r=e.width;return"".concat(t.path).concat(g(n),"?imwidth=").concat(r)}],["custom",function(e){var t=e.src;throw new Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function w(e){return void 0!==e.default}function k(e){var t=e.config,n=e.src,r=e.unoptimized,i=e.layout,s=e.width,a=e.quality,l=e.sizes,u=e.loader;if(r)return{src:n,srcSet:void 0,sizes:void 0};var c=function(e,t,n,r){var i=e.deviceSizes,s=e.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var a,l=/(^|\s)(1?\d?\d)vw/g,u=[];a=l.exec(r);a)u.push(parseInt(a[2]));if(u.length){var c,d=.01*(c=Math).min.apply(c,o(u));return{widths:s.filter((function(e){return e>=i[0]*d})),kind:"w"}}return{widths:s,kind:"w"}}return"number"!==typeof t||"fill"===n||"responsive"===n?{widths:i,kind:"w"}:{widths:o(new Set([t,2*t].map((function(e){return s.find((function(t){return t>=e}))||s[s.length-1]})))),kind:"x"}}(t,s,i,l),d=c.widths,p=c.kind,f=d.length-1;return{sizes:l||"w"!==p?l:"100vw",srcSet:d.map((function(e,r){return"".concat(u({config:t,src:n,quality:a,width:e})," ").concat("w"===p?e:r+1).concat(p)})).join(", "),src:u({config:t,src:n,quality:a,width:d[f]})}}function x(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function O(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",r=S.get(n);if(r)return r(e);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(p.VALID_LOADERS.join(", "),". Received: ").concat(n))}function E(e,t,n,r,i,o){e&&e.src!==v&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if(e.parentNode&&(b.add(t),"blur"===r&&o(!0),null==i?void 0:i.current)){var n=e.naturalWidth,s=e.naturalHeight;i.current({naturalWidth:n,naturalHeight:s})}})))}var C=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),r=e.qualityInt,i=e.layout,o=e.className,a=e.imgStyle,l=e.blurStyle,d=e.isLazy,p=e.placeholder,f=e.loading,h=e.srcString,m=e.config,g=e.unoptimized,y=e.loader,b=e.onLoadingCompleteRef,v=e.setBlurComplete,S=e.setIntersection,w=e.onLoad,x=e.onError,O=(e.isVisible,e.noscriptSizes),C=u(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return f=d?"lazy":f,c.default.createElement(c.default.Fragment,null,c.default.createElement("img",Object.assign({},C,t,{decoding:"async","data-nimg":i,className:o,style:s({},a,l),ref:c.useCallback((function(e){S(e),(null==e?void 0:e.complete)&&E(e,h,0,p,b,v)}),[S,h,i,p,b,v]),onLoad:function(e){E(e.currentTarget,h,0,p,b,v),w&&w(e)},onError:function(e){"blur"===p&&v(!0),x&&x(e)}})),(d||"blur"===p)&&c.default.createElement("noscript",null,c.default.createElement("img",Object.assign({},C,k({config:m,src:h,unoptimized:g,layout:i,width:n,quality:r,sizes:O,loader:y}),{decoding:"async","data-nimg":i,style:a,className:o,loading:f}))))};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4941).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,u=e.disabled||!s,c=r(i.useState(!1),2),d=c[0],p=c[1],f=r(i.useState(null),2),h=f[0],m=f[1];i.useEffect((function(){if(s){if(u||d)return;if(h&&h.tagName){var e=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=l.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=a.get(r)))return t;var i=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:o,elements:i},l.push(n),a.set(n,t),t}(n),i=r.id,o=r.observer,s=r.elements;return s.set(e,t),o.observe(e),function(){if(s.delete(e),o.unobserve(e),0===s.size){o.disconnect(),a.delete(i);var t=l.findIndex((function(e){return e.root===i.root&&e.margin===i.margin}));t>-1&&l.splice(t,1)}}}(h,(function(e){return e&&p(e)}),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!d){var r=o.requestIdleCallback((function(){return p(!0)}));return function(){return o.cancelIdleCallback(r)}}}),[h,u,n,t,d]);var g=i.useCallback((function(){p(!1)}),[]);return[m,d,g]};var i=n(7294),o=n(9311),s="function"===typeof IntersectionObserver,a=new Map,l=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2571:function(e,t,n){"use strict";n.d(t,{R2:function(){return i},UI:function(){return o},VS:function(){return s}});var r=n(4755);function i(e,t,n){return void 0!==e?n(r.xt(e)):t}function o(e,t){if(void 0!==e)return r.G(t(r.xt(e)))}function s(e,t){if(void 0!==e)return t(r.xt(e))}},859:function(e,t,n){"use strict";function r(e){for(var t="",n=0,r=e.length;n256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()})).join("")}catch(e){return t}}))}(d.pathname):d.pathname),"about:"===S.protocol&&"blank"===S.pathname&&(S.protocol="",S.pathname=""),w&&"/"!==e[0]&&(S.pathname=S.pathname.substr(1)),c&&!h.test(c)&&"/"!==e.slice(-1)&&"/"===S.pathname&&(S.pathname=""),S.path=S.pathname+S.search,S.auth=[d.username,d.password].map(decodeURIComponent).filter(Boolean).join(":"),S.port=d.port,v&&!S.host.endsWith(v)&&(S.host+=v,S.port=v.slice(1)),S.href=k?""+S.pathname+S.search+S.hash:s(S);var O=/^(file)/.test(S.href)?["host","hostname"]:[];return Object.keys(S).forEach((function(e){~O.indexOf(e)||(S[e]=S[e]||null)})),S}t.parse=v,t.format=s,t.resolve=p,t.resolveObject=function(e,t){return v(p(e,t))},t.Url=f}(),e.exports=o}()},7334:function(e){!function(){"use strict";var t={815:function(e){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,r,i,o){r=r||"&",i=i||"=";var s={};if("string"!==typeof e||0===e.length)return s;var a=/\+/g;e=e.split(r);var l=1e3;o&&"number"===typeof o.maxKeys&&(l=o.maxKeys);var u=e.length;l>0&&u>l&&(u=l);for(var c=0;c=0?(d=m.substr(0,g),p=m.substr(g+1)):(d=m,p=""),f=decodeURIComponent(d),h=decodeURIComponent(p),t(s,f)?n(s[f])?s[f].push(h):s[f]=[s[f],h]:s[f]=h}return s};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,o,s,a){return o=o||"&",s=s||"=",null===e&&(e=void 0),"object"===typeof e?r(i(e),(function(i){var a=encodeURIComponent(t(i))+s;return n(e[i])?r(e[i],(function(e){return a+encodeURIComponent(t(e))})).join(o):a+encodeURIComponent(t(e[i]))})).join(o):a?encodeURIComponent(t(a))+s+encodeURIComponent(t(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var i=p(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return g(this,n)}}function b(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:function(){return{}},n=function(n){function i(e,n){var r;return s(this,i),(r=a.call(this,e,n)).state=t(o({},n.state)),r.updateStateProps=r.updateStateProps.bind(m(r)),r}d(i,n);var a=y(i);return l(i,[{key:"componentDidMount",value:function(){this.context.subscribe(this.updateStateProps)}},{key:"shouldComponentUpdate",value:function(e,t){return!$(t,this.state)||!$(e,this.props)}},{key:"componentWillUnmount",value:function(){this.context.unsubscribe(this.updateStateProps)}},{key:"updateStateProps",value:function(){this.setState(t(o({},this.context.state)))}},{key:"render",value:function(){var t=this,n=K(this.state,this.props);return r.createElement(e,c({ref:function(e){t.instance=e}},n,{carouselStore:{getStoreState:this.context.getStoreState,masterSpinnerError:this.context.masterSpinnerError,masterSpinnerSuccess:this.context.masterSpinnerSuccess,setStoreState:this.context.setStoreState,subscribeMasterSpinner:this.context.subscribeMasterSpinner,unsubscribeAllMasterSpinner:this.context.unsubscribeAllMasterSpinner,unsubscribeMasterSpinner:this.context.unsubscribeMasterSpinner}}),this.props.children)}}]),i}(r.Component);return u(n,"contextType",Q),u(n,"propTypes",{children:z.children}),u(n,"defaultProps",{children:null}),n}k.resetWarningCache=w;var R=S((function(e){e.exports=function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:k,resetWarningCache:w};return n.PropTypes=n,n}()})),N="loading",L="success",F="error",z={children:R.oneOfType([R.arrayOf(R.node),R.node]),direction:R.oneOf(["forward","backward"]),height:function(e,t){var n=e[t];return"vertical"!==e.orientation||null!==n&&"number"==typeof n?null:new Error("Missing required property '".concat(t,"' when orientation is vertical. You must supply a number representing the height in pixels"))},orientation:R.oneOf(["horizontal","vertical"]),isBgImage:function(e,t){return!0===e[t]&&"img"===e.tag?new Error("HTML img elements should not have a backgroundImage. Please use ".concat(t," for other block-level HTML tags, like div, a, section, etc...")):null}},q=function(e){var t=e.min,n=e.max,r=e.x;return Math.min(n,Math.max(t,r))},B="buttonBack___1mlaL",U=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],H=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).handleOnClick=r.handleOnClick.bind(m(r)),r}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.currentSlide,i=t.onClick,o=t.step,s=t.infinite,a=t.visibleSlides,l=t.totalSlides-a,u=Math.max(r-o,0);s&&(u=0===r?l:u),n.setStoreState({currentSlide:u,isPlaying:!1},null!==i&&i.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),i=(e.currentSlide,e.disabled,e.onClick,e.step,e.totalSlides,e.visibleSlides,e.infinite),o=h(e,U),s=x([B,"carousel__back-button",n]),a=t.setDisabled(this.props.disabled,this.props.currentSlide,i);return r.createElement("button",c({type:"button","aria-label":"previous",className:s,onClick:this.handleOnClick,disabled:a},o),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n){return null!==e?e:0===t&&!n}}]),t}(r.Component);u(H,"propTypes",{carouselStore:R.object.isRequired,children:z.children.isRequired,className:R.string,currentSlide:R.number.isRequired,disabled:R.bool,onClick:R.func,step:R.number.isRequired,totalSlides:R.number.isRequired,visibleSlides:R.number.isRequired,infinite:R.bool}),u(H,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1});var V=S((function(e,t){var n={}.toString,r="undefined"!=typeof window?window.Node:Function;e.exports=t=function(e){var t=typeof e;if("object"!=t)return t;if("object"==(t=i[n.call(e)]))return e instanceof Map?"map":e instanceof Set?"set":"object";if(t)return t;if(e instanceof r)switch(e.nodeType){case 1:return"element";case 3:return"text-node";case 9:return"document";case 11:return"document-fragment";default:return"dom-node"}};var i=t.types={"[object Function]":"function","[object Date]":"date","[object RegExp]":"regexp","[object Arguments]":"arguments","[object Array]":"array","[object Set]":"set","[object String]":"string","[object Null]":"null","[object Undefined]":"undefined","[object Number]":"number","[object Boolean]":"boolean","[object Object]":"object","[object Map]":"map","[object Text]":"text-node","[object Uint8Array]":"bit-array","[object Uint16Array]":"bit-array","[object Uint32Array]":"bit-array","[object Uint8ClampedArray]":"bit-array","[object Error]":"error","[object FormData]":"form-data","[object File]":"file","[object Blob]":"blob"}})),W=(V.types,{number:function(e,t){return e!==e&&t!==t},function:function(e,t,n){return e.toString()===t.toString()&&W.object(e,t,n)&&_(e.prototype,t.prototype)},date:function(e,t){return+e==+t},regexp:function(e,t){return e.toString()===t.toString()},element:function(e,t){return e.outerHTML===t.outerHTML},textnode:function(e,t){return e.textContent===t.textContent}});W.arguments=W["bit-array"]=W.array=T((function(e,t,n){var r=e.length;if(r!==t.length)return!1;for(n.push([e,t]);r--;)if(!_(e[r],t[r],n))return!1;return!0})),W.object=T((function(e,t,n){if("function"==typeof e.equal)return n.push([e,t]),e.equal(t,n);var r=P(e),i=P(t),o=r.length;if(o!==i.length)return!1;for(r.sort(),i.sort();o--;)if(r[o]!==i[o])return!1;for(n.push([e,t]),o=r.length;o--;){var s=r[o];if(!_(e[s],t[s],n))return!1}return!0}));var $=_,Z=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!A(e)},Y="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;D.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return D(e,n,t)}),{})};var X,K=D,Q=r.createContext(),G=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(n){!t.hasOwnProperty(n)||null===t[n]||"object"!=typeof t[n]&&"function"!=typeof t[n]||Object.isFrozen(t[n])||e(t[n])})),t},J={masterSpinnerFinished:!1},ee=function(){function e(t){s(this,e),this.state=G(K(J,t)),this.subscriptions=[],this.masterSpinnerSubscriptions={},this.setStoreState=this.setStoreState.bind(this),this.getStoreState=this.getStoreState.bind(this),this.subscribe=this.subscribe.bind(this),this.unsubscribe=this.unsubscribe.bind(this),this.updateSubscribers=this.updateSubscribers.bind(this),this.subscribeMasterSpinner=this.subscribeMasterSpinner.bind(this),this.unsubscribeMasterSpinner=this.unsubscribeMasterSpinner.bind(this),this.unsubscribeAllMasterSpinner=this.unsubscribeAllMasterSpinner.bind(this),this.masterSpinnerSuccess=this.masterSpinnerSuccess.bind(this),this.masterSpinnerError=this.masterSpinnerError.bind(this)}return l(e,[{key:"setStoreState",value:function(e,t){this.state=G(K(this.state,e)),this.updateSubscribers(t)}},{key:"getStoreState",value:function(){return K({},this.state)}},{key:"subscribe",value:function(e){this.subscriptions.push(e)}},{key:"unsubscribe",value:function(e){var t=this.subscriptions.indexOf(e);-1!==t&&this.subscriptions.splice(t,1)}},{key:"updateSubscribers",value:function(e){this.subscriptions.forEach((function(e){return e()})),"function"==typeof e&&e(this.getStoreState())}},{key:"subscribeMasterSpinner",value:function(e){-1===Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.masterSpinnerSubscriptions[e]={success:!1,error:!1,complete:!1})}},{key:"unsubscribeMasterSpinner",value:function(e){return-1!==Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.setMasterSpinnerFinished(),delete this.masterSpinnerSubscriptions[e])}},{key:"unsubscribeAllMasterSpinner",value:function(){this.masterSpinnerSubscriptions={},this.setMasterSpinnerFinished()}},{key:"masterSpinnerSuccess",value:function(e){this.masterSpinnerSubscriptions[e].success=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"masterSpinnerError",value:function(e){this.masterSpinnerSubscriptions[e].error=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"setMasterSpinnerFinished",value:function(){this.setStoreState({masterSpinnerFinished:this.isMasterSpinnerFinished()})}},{key:"isMasterSpinnerFinished",value:function(){var e=this;return 0===Object.keys(this.masterSpinnerSubscriptions).filter((function(t){return!0!==e.masterSpinnerSubscriptions[t].complete})).length}}]),e}(),te=["children","className","currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPageScrollLocked","isPlaying","lockOnWindowScroll","naturalSlideHeight","naturalSlideWidth","orientation","playDirection","step","dragStep","tag","totalSlides","touchEnabled","dragEnabled","visibleSlides","infinite","isIntrinsicHeight"],ne=(u(X=function(e){function t(e){var r;if(s(this,t),r=n.call(this,e),e.isIntrinsicHeight&&"horizontal"!==e.orientation)throw Error('isIntrinsicHeight can only be used in "horizontal" orientation. See Readme for more information.');var i={currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,disableKeyboard:e.disableKeyboard,hasMasterSpinner:e.hasMasterSpinner,imageErrorCount:0,imageSuccessCount:0,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,masterSpinnerThreshold:0,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,privateUnDisableAnimation:!1,slideSize:O(e.totalSlides,e.visibleSlides),slideTraySize:E(e.totalSlides,e.visibleSlides),step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,dragEnabled:e.dragEnabled,visibleSlides:e.visibleSlides,infinite:e.infinite,isIntrinsicHeight:e.isIntrinsicHeight};return r.carouselStore=new ee(i),r}d(t,e);var n=y(t);return l(t,[{key:"componentDidUpdate",value:function(e){var t=this,n={};["currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPlaying","naturalSlideHeight","naturalSlideWidth","lockOnWindowScroll","orientation","playDirection","step","dragStep","totalSlides","touchEnabled","dragEnabled","visibleSlides"].forEach((function(r){e[r]!==t.props[r]&&(n[r]=t.props[r])})),this.props.currentSlide!==e.currentSlide&&!this.props.disableAnimation&&(n.disableAnimation=!0,n.privateUnDisableAnimation=!0),this.props.totalSlides===e.totalSlides&&this.props.visibleSlides===e.visibleSlides||(n.slideSize=O(this.props.totalSlides,this.props.visibleSlides),n.slideTraySize=E(this.props.totalSlides,this.props.visibleSlides)),this.carouselStore.state.currentSlide>=this.props.totalSlides&&(n.currentSlide=Math.max(this.props.totalSlides-1,0)),Object.keys(n).length>0&&this.carouselStore.setStoreState(n)}},{key:"componentWillUnmount",value:function(){this.carouselStore.unsubscribeAllMasterSpinner()}},{key:"getStore",value:function(){return this.carouselStore}},{key:"render",value:function(){var e=this.props,t=(e.children,e.className,e.currentSlide,e.disableAnimation,e.disableKeyboard,e.hasMasterSpinner,e.interval,e.isPageScrollLocked,e.isPlaying,e.lockOnWindowScroll,e.naturalSlideHeight,e.naturalSlideWidth,e.orientation,e.playDirection,e.step,e.dragStep,e.tag),n=(e.totalSlides,e.touchEnabled,e.dragEnabled,e.visibleSlides,e.infinite,e.isIntrinsicHeight,h(e,te)),i=x(["carousel",this.props.className]);return r.createElement(t,c({className:i},n),r.createElement(Q.Provider,{value:this.carouselStore},this.props.children))}}]),t}(r.Component),"propTypes",{children:z.children.isRequired,className:R.string,currentSlide:R.number,disableAnimation:R.bool,disableKeyboard:R.bool,hasMasterSpinner:R.bool,interval:R.number,isPageScrollLocked:R.bool,isPlaying:R.bool,lockOnWindowScroll:R.bool,naturalSlideHeight:R.number.isRequired,naturalSlideWidth:R.number.isRequired,orientation:z.orientation,playDirection:z.direction,step:R.number,dragStep:R.number,tag:R.string,totalSlides:R.number.isRequired,touchEnabled:R.bool,dragEnabled:R.bool,visibleSlides:R.number,infinite:R.bool,isIntrinsicHeight:R.bool}),u(X,"defaultProps",{className:null,currentSlide:0,disableAnimation:!1,disableKeyboard:!1,hasMasterSpinner:!1,interval:5e3,isPageScrollLocked:!1,isPlaying:!1,lockOnWindowScroll:!1,orientation:"horizontal",playDirection:"forward",step:1,dragStep:1,tag:"div",touchEnabled:!0,dragEnabled:!0,visibleSlides:1,infinite:!1,isIntrinsicHeight:!1}),X);Q.Consumer;var re,ie,oe,se,ae,le,ue=M(H,(function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}})),ce="buttonFirst___2rhFr",de=["carouselStore","className","currentSlide","disabled","onClick","totalSlides"],pe=(re=function(e){function t(){var e;return s(this,t),(e=n.call(this)).handleOnClick=e.handleOnClick.bind(m(e)),e}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick;n.setStoreState({currentSlide:0,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,i=e.disabled,o=(e.onClick,e.totalSlides,h(e,de)),s=x([ce,"carousel__first-button",t]),a=null!==i?i:0===n;return r.createElement("button",c({type:"button","aria-label":"first",className:s,onClick:this.handleOnClick,disabled:a},o),this.props.children)}}]),t}(r.Component),u(re,"propTypes",{carouselStore:R.object.isRequired,children:z.children.isRequired,className:R.string,currentSlide:R.number.isRequired,disabled:R.bool,onClick:R.func,totalSlides:R.number.isRequired}),u(re,"defaultProps",{className:null,disabled:null,onClick:null}),re),fe=(M(pe,(function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides}})),"buttonNext___2mOCa"),he=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],me=(ie=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).handleOnClick=r.handleOnClick.bind(m(r)),r}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.currentSlide,r=t.onClick,i=t.step,o=t.carouselStore,s=t.infinite,a=t.totalSlides-t.visibleSlides,l=i+n,u=Math.min(l,a);s&&(u=a===n?0:u),o.setStoreState({currentSlide:u,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),i=e.currentSlide,o=e.disabled,s=(e.onClick,e.step,e.totalSlides),a=e.visibleSlides,l=e.infinite,u=h(e,he),d=x([fe,"carousel__next-button",n]),p=t.setDisabled(o,i,a,s,l);return r.createElement("button",c({type:"button","aria-label":"next",className:d,onClick:this.handleOnClick,disabled:p},u),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n,r,i){return null!==e?e:t>=r-n&&!i}}]),t}(r.PureComponent),u(ie,"propTypes",{carouselStore:R.object.isRequired,children:z.children.isRequired,className:R.string,currentSlide:R.number.isRequired,disabled:R.bool,onClick:R.func,step:R.number.isRequired,totalSlides:R.number.isRequired,visibleSlides:R.number.isRequired,infinite:R.bool}),u(ie,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1}),ie),ge=M(me,(function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}})),ye="buttonLast___2yuh0",be=["carouselStore","className","currentSlide","disabled","onClick","totalSlides","visibleSlides"],ve=(oe=function(e){function t(){var e;return s(this,t),(e=n.call(this)).handleOnClick=e.handleOnClick.bind(m(e)),e}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.totalSlides,o=t.visibleSlides;n.setStoreState({currentSlide:i-o,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,i=e.disabled,o=(e.onClick,e.totalSlides),s=e.visibleSlides,a=h(e,be),l=x([ye,"carousel__last-button",t]),u=null!==i?i:n>=o-s;return r.createElement("button",c({type:"button","aria-label":"last",className:l,onClick:this.handleOnClick,disabled:u},a),this.props.children)}}]),t}(r.Component),u(oe,"propTypes",{carouselStore:R.object.isRequired,children:z.children.isRequired,className:R.string,currentSlide:R.number.isRequired,disabled:R.bool,onClick:R.func,totalSlides:R.number.isRequired,visibleSlides:R.number.isRequired}),u(oe,"defaultProps",{className:null,disabled:null,onClick:null}),oe),Se=(M(ve,(function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}})),"buttonNext___3Lm3s"),we=["carouselStore","children","childrenPaused","childrenPlaying","className","isPlaying","onClick"],ke=(se=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).handleOnClick=r.handleOnClick.bind(m(r)),r}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props.onClick;this.props.carouselStore.setStoreState({isPlaying:!this.props.isPlaying},null!==t&&t.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.childrenPaused),n=e.childrenPlaying,i=e.className,o=e.isPlaying,s=(e.onClick,h(e,we)),a=x([Se,"carousel__play-button",i]);return r.createElement("button",c({type:"button","aria-label":"play",className:a,onClick:this.handleOnClick},s),o&&n,!o&&t,this.props.children)}}]),t}(r.PureComponent),u(se,"propTypes",{carouselStore:R.object.isRequired,children:R.node,childrenPaused:R.node,childrenPlaying:R.node,className:R.string,isPlaying:R.bool.isRequired,onClick:R.func}),u(se,"defaultProps",{children:null,childrenPaused:null,childrenPlaying:null,className:null,onClick:null}),se),xe=(M(ke,(function(e){return{isPlaying:e.isPlaying}})),{dot:"dot___3c3SI"}),Oe=["carouselStore","children","className","currentSlide","disabled","onClick","selected","slide","totalSlides","visibleSlides"],Ee=(ae=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).handleOnClick=r.handleOnClick.bind(m(r)),r}d(t,e);var n=y(t);return l(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.slide,o=t.totalSlides,s=t.visibleSlides,a=i>=o-s?o-s:i;n.setStoreState({currentSlide:a,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className),n=e.currentSlide,i=e.disabled,o=(e.onClick,e.selected),s=e.slide,a=(e.totalSlides,e.visibleSlides),l=h(e,Oe),u=s>=n&&s=t&&c=n-i?n-i:c;u.push(r.createElement(Ce,{key:c,slide:p,selected:d,disabled:!!o&&d},r.createElement("span",{className:x["carousel__dot-group-dot"]},this.props.dotNumbers&&c+1)))}return u}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children),n=e.className,i=(e.currentSlide,e.dotNumbers,e.totalSlides,e.visibleSlides,e.disableActiveDots,e.showAsSelectedForCurrentSlideOnly,e.renderDots,h(e,Pe)),o=x([_e.DotGroup,"carousel__dot-group",n]);return r.createElement("div",c({className:o},i),this.renderDots(),t)}}]),t}(r.Component),u(le,"propTypes",{children:z.children,className:R.string,currentSlide:R.number.isRequired,carouselStore:R.object.isRequired,totalSlides:R.number.isRequired,visibleSlides:R.number.isRequired,dotNumbers:R.bool,disableActiveDots:R.bool,showAsSelectedForCurrentSlideOnly:R.bool,renderDots:R.func}),u(le,"defaultProps",{children:null,className:null,dotNumbers:!1,disableActiveDots:!0,showAsSelectedForCurrentSlideOnly:!1,renderDots:null}),le),je=(M(Ae,(function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}})),{image:"image___xtQGH"}),Ie=["src","alt"],De=["carouselStore","children","className","hasMasterSpinner","isBgImage","onError","onLoad","renderError","renderLoading","style","tag"],Me=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).state={imageStatus:N},r.handleImageLoad=r.handleImageLoad.bind(m(r)),r.handleImageError=r.handleImageError.bind(m(r)),r.image=null,r}d(t,e);var n=y(t);return l(t,[{key:"componentDidMount",value:function(){t.subscribeMasterSpinner(this.props),this.initImage()}},{key:"componentDidUpdate",value:function(e){e.src!==this.props.src&&(t.unsubscribeMasterSpinner(e),t.subscribeMasterSpinner(this.props),this.initImage())}},{key:"componentWillUnmount",value:function(){t.unsubscribeMasterSpinner(this.props),this.image.removeEventListener("load",this.handleImageLoad),this.image.removeEventListener("error",this.handleImageError),this.image=null}},{key:"initImage",value:function(){if(this.setState({imageStatus:N}),this.image=document.createElement("img"),this.image.addEventListener("load",this.handleImageLoad,!1),this.image.addEventListener("error",this.handleImageError,!1),this.image.src=this.props.src,this.image.readyState||this.image.complete){var e=this.image.src;this.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",this.image.src=e}}},{key:"handleImageLoad",value:function(e){this.setState({imageStatus:L}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerSuccess(this.props.src),this.props.onLoad&&this.props.onLoad(e)}},{key:"handleImageError",value:function(e){this.setState({imageStatus:F}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerError(this.props.src),this.props.onError&&this.props.onError(e)}},{key:"tempTag",value:function(){return"img"===this.props.tag?"div":this.props.tag}},{key:"customRender",value:function(e){return"function"==typeof this.props[e]?this.props[e]():this.props.children}},{key:"renderLoading",value:function(e){var t=this.tempTag(),n=x([je.image,je.imageLoading,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--loading",this.props.className]);return r.createElement(t,c({className:n},e),this.customRender("renderLoading"))}},{key:"renderError",value:function(e){var t=this.tempTag(),n=x([je.image,je.imageError,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--error",this.props.className]);return r.createElement(t,c({className:n},e),this.customRender("renderError"))}},{key:"renderSuccess",value:function(e){var t=this.props,n=t.style,i=t.tag,o=x([je.image,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--success",this.props.className]),s=c({},n),a=e;if("img"!==i){var l=e.src;e.alt,a=h(e,Ie),s=c({},n,{backgroundImage:'url("'.concat(l,'")'),backgroundSize:"cover"})}return r.createElement(i,c({className:o,style:s},a),this.props.children)}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className,e.hasMasterSpinner,e.isBgImage,e.onError,e.onLoad,e.renderError,e.renderLoading,e.style,e.tag,h(e,De));switch(this.state.imageStatus){case N:return this.renderLoading(t);case L:return this.renderSuccess(t);case F:return this.renderError(t);default:throw new Error("unknown value for this.state.imageStatus")}}}],[{key:"subscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.subscribeMasterSpinner(e.src)}},{key:"unsubscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.unsubscribeMasterSpinner(e.src)}}]),t}(r.Component);u(Me,"propTypes",{alt:R.string,carouselStore:R.object.isRequired,children:z.children,className:R.string,hasMasterSpinner:R.bool.isRequired,isBgImage:z.isBgImage,onError:R.func,onLoad:R.func,renderError:R.func,renderLoading:R.func,src:R.string.isRequired,style:R.object,tag:R.string}),u(Me,"defaultProps",{alt:"",children:null,className:null,isBgImage:!1,onError:null,onLoad:null,renderError:null,renderLoading:null,style:null,tag:"img"});var Re,Ne,Le,Fe,ze=M(Me,(function(e){return{hasMasterSpinner:e.hasMasterSpinner,orientation:e.orientation}})),qe="spinner___27VUp",Be=["className"],Ue=(Re=function(e){function t(){return s(this,t),n.apply(this,arguments)}d(t,e);var n=y(t);return l(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=h(e,Be),i=x([qe,"carousel__spinner",t]);return r.createElement("div",c({className:i},n))}}]),t}(r.PureComponent),u(Re,"propTypes",{className:R.string}),u(Re,"defaultProps",{className:null}),Re),He={container:"container___2O72F",overlay:"overlay___IV4qY",hover:"hover___MYy31",zoom:"zoom___3kqYk",loading:"loading___1pvNI",imageLoadingSpinnerContainer:"imageLoadingSpinnerContainer___3UIPD"},Ve=["alt","bgImageProps","bgImageTag","carouselStore","className","imageClassName","overlayClassName","isPinchZoomEnabled","spinner","src","srcZoomed","tag"],We=(Ne=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).state={isImageLoading:!0,isHovering:!1,isZooming:!1,x:null,y:null,scale:1},r.tpCache={},r.handleImageComplete=r.handleImageComplete.bind(m(r)),r.handleOnMouseMove=r.handleOnMouseMove.bind(m(r)),r.handleOnMouseOut=r.handleOnMouseOut.bind(m(r)),r.handleOnMouseOver=r.handleOnMouseOver.bind(m(r)),r.handleOnTouchEnd=r.handleOnTouchEnd.bind(m(r)),r.handleOnTouchMove=r.handleOnTouchMove.bind(m(r)),r.handleOnTouchStart=r.handleOnTouchStart.bind(m(r)),r}d(t,e);var n=y(t);return l(t,[{key:"componentDidUpdate",value:function(e,t){!1===t.isZooming&&!0===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!0}),!0===t.isZooming&&!1===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1})}},{key:"handleImageComplete",value:function(){this.setState({isImageLoading:!1})}},{key:"handleOnMouseOver",value:function(){this.state.isZooming||this.setState({isHovering:!0,scale:2})}},{key:"handleOnMouseOut",value:function(){this.state.isZooming||this.setState({isHovering:!1,scale:1})}},{key:"handleOnMouseMove",value:function(e){if(!this.state.isZooming){var t=C(e.nativeEvent.offsetX/e.target.offsetWidth*100),n=C(e.nativeEvent.offsetY/e.target.offsetHeight*100);this.setState({x:t,y:n})}}},{key:"handleOnTouchStart",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(b(e.targetTouches).forEach((function(e){t.tpCache[e.identifier]={clientX:e.clientX,clientY:e.clientY}})),this.setState((function(e){return{isZooming:e.isZooming||Object.keys(t.tpCache).length>1}})))}},{key:"handleOnTouchMove",value:function(e){var n=this;if(this.state.isZooming){e.persist();var r=b(e.targetTouches).filter((function(e){return n.tpCache[e.identifier]})).slice(0,2);if(2===r.length){e.stopPropagation();var i=e.target.getBoundingClientRect(),s=r[0].identifier,a=r[1].identifier,l={x1:this.tpCache[s].clientX,y1:this.tpCache[s].clientY,x2:this.tpCache[a].clientX,y2:this.tpCache[a].clientY};l.distance=t.distanceBetweenTwoTouches(o({},l));var u=t.midpointBetweenTwoTouches(o({},l));l.cx=u.x,l.cy=u.y;var c={x1:r[0].clientX,y1:r[0].clientY,x2:r[1].clientX,y2:r[1].clientY};c.distance=t.distanceBetweenTwoTouches(o({},c));var d=t.midpointBetweenTwoTouches(o({},c));c.cx=d.x,c.cy=d.y;var p=C(q({min:0,max:100,x:(c.cx-i.left)/i.width*100})),f=C(q({min:0,max:100,x:(c.cy-i.top)/i.height*100})),h=function(e){return q({min:1,max:3,x:e.scale+(c.distance-l.distance)/100})};this.setState((function(e){return{isZooming:1!==h(e),scale:h(e),x:p,y:f}}))}}}},{key:"handleOnTouchEnd",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(b(e.changedTouches).forEach((function(e){delete t.tpCache[e.identifier]})),0===Object.keys(this.tpCache).length&&this.setState({isZooming:!1}))}},{key:"renderLoading",value:function(){if(this.state.isImageLoading){var e=this.props.spinner;return r.createElement("div",{className:x([He.imageLoadingSpinnerContainer,"carousel__image-loading-spinner-container"])},e&&e(),!e&&r.createElement(Ue,null))}return null}},{key:"render",value:function(){var e=this.props,t=e.alt,n=e.bgImageProps,i=e.bgImageTag,o=(e.carouselStore,e.className),s=e.imageClassName,a=e.overlayClassName,l=(e.isPinchZoomEnabled,e.spinner,e.src),u=e.srcZoomed,d=e.tag,p=h(e,Ve),f=x([He.container,o]),m=x([He.image,"carousel__zoom-image",s]),g=x([He.overlay,"carousel__zoom-image-overlay",this.state.isHovering&&He.hover,this.state.isZooming&&He.zoom,this.state.isHovering&&"carousel__zoom-image-overlay--hovering",this.state.isZooming&&"carousel__zoom-image-overlay--zooming",a]),y={};return(this.state.isHovering||this.state.isZooming)&&(y.transformOrigin="".concat(this.state.x," ").concat(this.state.y),y.transform="scale(".concat(this.state.scale,")")),r.createElement(d,c({className:f},p),r.createElement(ze,c({alt:t,className:m,tag:i,src:l,onLoad:this.handleImageComplete,onError:this.handleImageComplete},n)),r.createElement(ze,{className:g,tag:"div",src:u||l,style:y,isBgImage:!0,onFocus:this.handleOnMouseOver,onMouseOver:this.handleOnMouseOver,onBlur:this.handleOnMouseOut,onMouseOut:this.handleOnMouseOut,onMouseMove:this.handleOnMouseMove,onTouchStart:this.handleOnTouchStart,onTouchEnd:this.handleOnTouchEnd,onTouchMove:this.handleOnTouchMove}),this.renderLoading())}}],[{key:"midpointBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1;return{x:(t+e.x2)/2,y:(n+e.y2)/2}}},{key:"distanceBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return Math.sqrt(Math.pow(r-t,2)+Math.pow(i-n,2))}}]),t}(r.Component),u(Ne,"propTypes",{alt:R.string,bgImageProps:R.object,bgImageTag:R.string,carouselStore:R.object.isRequired,className:R.string,imageClassName:R.string,overlayClassName:R.string,spinner:R.func,src:R.string.isRequired,srcZoomed:R.string,tag:R.string,isPinchZoomEnabled:R.bool}),u(Ne,"defaultProps",{alt:void 0,bgImageProps:{},bgImageTag:"div",className:null,imageClassName:null,overlayClassName:null,isPinchZoomEnabled:!0,spinner:null,srcZoomed:null,tag:"div"}),Ne),$e=(M(We,(function(){return{}})),{slide:"slide___3-Nqo",slideHorizontal:"slideHorizontal___1NzNV",slideInner:"slideInner___2mfX9",focusRing:"focusRing___1airF"}),Ze=["ariaLabel","carouselStore","children","className","classNameHidden","classNameVisible","currentSlide","index","innerClassName","innerTag","naturalSlideHeight","naturalSlideWidth","onBlur","onFocus","orientation","slideSize","style","tabIndex","tag","totalSlides","visibleSlides","isIntrinsicHeight"],Ye=(Le=function(e){function t(e){var r;return s(this,t),(r=n.call(this,e)).handleOnFocus=r.handleOnFocus.bind(m(r)),r.handleOnBlur=r.handleOnBlur.bind(m(r)),r.state={focused:!1},r}d(t,e);var n=y(t);return l(t,[{key:"isVisible",value:function(){var e=this.props,t=e.currentSlide,n=e.index,r=e.visibleSlides;return n>=t&&n=n.props.horizontalPixelThreshold}}))}))}},{key:"fakeOnDragEnd",value:function(){window.cancelAnimationFrame.call(window,this.moveTimer),this.computeCurrentSlide(),"vertical"===this.props.orientation&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1}),this.setState({deltaX:0,deltaY:0,isBeingTouchDragged:!1,isBeingMouseDragged:!1}),this.isDocumentScrolling=!this.props.lockOnWindowScroll&&null}},{key:"callCallback",value:function(e,t){var n=this.props.trayProps;n&&"function"==typeof n[e]&&(t.persist(),n[e](t))}},{key:"handleOnMouseDown",value:function(e){this.props.dragEnabled?(e.preventDefault(),this.fakeOnDragStart({screenX:e.screenX,screenY:e.screenY,mouseDrag:!0}),this.callCallback("onMouseDown",e)):this.callCallback("onMouseDown",e)}},{key:"handleOnMouseMove",value:function(e){this.state.isBeingMouseDragged&&(this.setState({cancelNextClick:!0}),e.preventDefault(),this.fakeOnDragMove(e.screenX,e.screenY))}},{key:"handleOnMouseUp",value:function(e){this.state.isBeingMouseDragged&&(e.preventDefault(),this.fakeOnDragEnd())}},{key:"handleOnClickCapture",value:function(e){this.state.cancelNextClick?(e.preventDefault(),this.setState({cancelNextClick:!1}),this.callCallback("onClickCapture",e)):this.callCallback("onClickCapture",e)}},{key:"handleOnTouchStart",value:function(e){if(this.props.touchEnabled){"vertical"===this.props.orientation&&e.preventDefault();var t=e.targetTouches[0];this.fakeOnDragStart({screenX:t.screenX,screenY:t.screenY,touchDrag:!0}),this.callCallback("onTouchStart",e)}else this.callCallback("onTouchStart",e)}},{key:"handleDocumentScroll",value:function(){var e=this;this.props.touchEnabled&&(this.isDocumentScrolling=!0,window.clearTimeout(this.scrollStopTimer),this.scrollStopTimer=window.setTimeout((function(){e.isDocumentScrolling=!1}),66))}},{key:"handleOnTouchMove",value:function(e){if(!this.props.touchEnabled||this.props.lockOnWindowScroll&&this.isDocumentScrolling)this.callCallback("onTouchMove",e);else{window.cancelAnimationFrame.call(window,this.moveTimer);var t=e.targetTouches[0];t&&(this.fakeOnDragMove(t.screenX,t.screenY),this.callCallback("onTouchMove",e))}}},{key:"forward",value:function(){var e=this.props,t=e.currentSlide,n=e.step,r=e.totalSlides,i=e.visibleSlides;return Math.min(t+n,r-i)}},{key:"backward",value:function(){var e=this.props,t=e.currentSlide,n=e.step;return Math.max(t-n,0)}},{key:"handleOnKeyDown",value:function(e){var t=e.keyCode,n=this.props,r=n.carouselStore,i=n.currentSlide,o=n.disableKeyboard,s=n.totalSlides,a=n.visibleSlides,l={};!0===o||s<=a||(37===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.max(0,i-1),l.isPlaying=!1),39===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.min(s-a,i+1),l.isPlaying=!1),r.setStoreState(l))}},{key:"playForward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide;t.setStoreState({currentSlide:this.forward()===n?0:this.forward()})}},{key:"playBackward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide,r=e.totalSlides,i=e.visibleSlides;t.setStoreState({currentSlide:this.backward()===n?r-i:this.backward()})}},{key:"play",value:function(){var e=this.props.playDirection;this.interval=setInterval("forward"===e?this.playForward:this.playBackward,this.props.interval)}},{key:"stop",value:function(){window.clearInterval(this.interval),this.interval=null}},{key:"lockScroll",value:function(){var e=new Ke;this.scrollParent=e.getScrollParent(this.sliderTrayElement),this.scrollParent&&(this.originalOverflow=this.originalOverflow||this.scrollParent.style.overflow,this.scrollParent.style.overflow="hidden")}},{key:"unlockScroll",value:function(){this.scrollParent&&(this.scrollParent.style.overflow=this.originalOverflow,this.originalOverflow=null,this.scrollParent=null)}},{key:"blockWindowScroll",value:function(e){this.state.preventingVerticalScroll&&(e.preventDefault(),e.stopImmediatePropagation())}},{key:"computeCurrentSlide",value:function(){var e=t.slideSizeInPx(this.props.orientation,this.sliderTrayElement.clientWidth,this.sliderTrayElement.clientHeight,this.props.totalSlides),n=t.slidesMoved(this.props.moveThreshold,this.props.orientation,this.state.deltaX,this.state.deltaY,e,this.props.dragStep),r=this.props.totalSlides-Math.min(this.props.totalSlides,this.props.visibleSlides),i=q({min:0,max:r,x:this.props.currentSlide+n});this.props.infinite&&(this.props.currentSlide>=r&&n>0&&(i=0),0===this.props.currentSlide&&n<0&&(i=r)),this.props.carouselStore.setStoreState({currentSlide:i})}},{key:"focus",value:function(){this.sliderElement.focus()}},{key:"handleOnTouchEnd",value:function(e){this.endTouchMove(),this.callCallback("onTouchEnd",e)}},{key:"handleOnTouchCancel",value:function(e){this.endTouchMove(),this.callCallback("onTouchCancel",e)}},{key:"endTouchMove",value:function(){this.props.touchEnabled&&this.fakeOnDragEnd()}},{key:"renderMasterSpinner",value:function(){var e=this.props,t=e.hasMasterSpinner,n=e.masterSpinnerFinished,i=e.spinner;return t&&!n?("function"==typeof this.props.onMasterSpinner&&this.props.onMasterSpinner(),r.createElement("div",{className:x([Qe.masterSpinnerContainer,"carousel__master-spinner-container"])},i&&i(),!i&&r.createElement(Ue,null))):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.ariaLabel,i=(t.carouselStore,t.children),o=t.className,s=t.classNameAnimation,a=t.classNameTray,l=t.classNameTrayWrap,u=t.currentSlide,d=t.disableAnimation,p=(t.disableKeyboard,t.dragEnabled,t.hasMasterSpinner,t.interval,t.isPageScrollLocked,t.isPlaying,t.lockOnWindowScroll,t.masterSpinnerFinished,t.moveThreshold,t.naturalSlideHeight),f=t.naturalSlideWidth,m=(t.onMasterSpinner,t.orientation),g=(t.playDirection,t.privateUnDisableAnimation,t.slideSize),y=t.slideTraySize,b=(t.spinner,t.style),v=t.tabIndex,S=(t.totalSlides,t.touchEnabled,t.trayProps),w=t.trayTag,k=t.visibleSlides,O=t.isIntrinsicHeight,E=h(t,Ge),_=c({},b),T={};"vertical"===m&&(T.height=0,T.paddingBottom=C(100*p*k/f),T.width=C(100));var P={},A=C(g*u*-1);(this.state.isBeingTouchDragged||this.state.isBeingMouseDragged||d)&&(P.transition="none"),O&&(P.display="flex",P.alignItems="stretch"),"vertical"===m?(P.transform="translateY(".concat(A,") translateY(").concat(this.state.deltaY,"px)"),P.width=C(100),P.flexDirection="column"):(P.width=C(y),P.transform="translateX(".concat(A,") translateX(").concat(this.state.deltaX,"px)"),P.flexDirection="row");var j=x(["vertical"===m?Qe.verticalSlider:Qe.horizontalSlider,"carousel__slider","vertical"===m?"carousel__slider--vertical":"carousel__slider--horizontal",o]),I=x([Qe.sliderTrayWrap,"carousel__slider-tray-wrapper","vertical"===m?Qe.verticalSlideTrayWrap:Qe.horizontalTrayWrap,"vertical"===m?"carousel__slider-tray-wrap--vertical":"carousel__slider-tray-wrap--horizontal",l]),D=x([Qe.sliderTray,s||Qe.sliderAnimation,"carousel__slider-tray","vertical"===m?Qe.verticalTray:Qe.horizontalTray,"vertical"===m?"carousel__slider-tray--vertical":"carousel__slider-tray--horizontal",a]),M=null!==v?v:0,R=(E.dragStep,E.step,E.infinite,E.preventVerticalScrollOnTouch,E.preventingVerticalScroll,E.horizontalPixelThreshold,E.verticalPixelThreshold,h(E,Je)),N=(S.className,S.onClickCapture,S.onMouseDown,S.onTouchCancel,S.onTouchEnd,S.onTouchMove,S.onTouchStart,S.ref,S.style,h(S,et));return r.createElement("div",c({ref:function(t){e.sliderElement=t},className:j,"aria-live":"polite","aria-label":n,style:_,tabIndex:M,onKeyDown:this.handleOnKeyDown,role:"listbox"},R),r.createElement("div",{className:I,style:T},r.createElement(w,c({ref:this.getSliderRef,className:D,style:P,onTouchStart:this.handleOnTouchStart,onTouchMove:this.handleOnTouchMove,onTouchEnd:this.handleOnTouchEnd,onTouchCancel:this.handleOnTouchCancel,onMouseDown:this.handleOnMouseDown,onClickCapture:this.handleOnClickCapture},N),i),this.renderMasterSpinner()))}}],[{key:"slideSizeInPx",value:function(e,t,n,r){return("horizontal"===e?t:n)/r}},{key:"slidesMoved",value:function(e,t,n,r,i,o){var s="horizontal"===t?n:r,a=Math.abs(Math.round(s/i)),l=Math.abs(s)>=i*e?o:0,u=Math.max(l,a);if(s<0)return u;var c=-u;return 0===c?0:c}}]),t}(r.Component),u(Fe,"propTypes",{ariaLabel:R.string,carouselStore:R.object.isRequired,children:R.node.isRequired,className:R.string,classNameAnimation:R.string,classNameTray:R.string,classNameTrayWrap:R.string,currentSlide:R.number.isRequired,disableAnimation:R.bool,disableKeyboard:R.bool,dragEnabled:R.bool.isRequired,dragStep:R.number,hasMasterSpinner:R.bool.isRequired,infinite:R.bool,interval:R.number.isRequired,isPageScrollLocked:R.bool.isRequired,isPlaying:R.bool.isRequired,lockOnWindowScroll:R.bool.isRequired,preventVerticalScrollOnTouch:R.bool,horizontalPixelThreshold:R.number,verticalPixelThreshold:R.number,masterSpinnerFinished:R.bool.isRequired,moveThreshold:R.number,naturalSlideHeight:R.number.isRequired,naturalSlideWidth:R.number.isRequired,onMasterSpinner:R.func,orientation:z.orientation.isRequired,playDirection:z.direction.isRequired,privateUnDisableAnimation:R.bool,slideSize:R.number.isRequired,slideTraySize:R.number.isRequired,spinner:R.func,step:R.number.isRequired,style:R.object,tabIndex:R.number,totalSlides:R.number.isRequired,touchEnabled:R.bool.isRequired,trayProps:R.shape({className:R.string,onClickCapture:R.func,onMouseDown:R.func,onTouchCancel:R.func,onTouchEnd:R.func,onTouchMove:R.func,onTouchStart:R.func,ref:R.shape({}),style:R.string}),trayTag:R.string,visibleSlides:R.number,isIntrinsicHeight:R.bool}),u(Fe,"defaultProps",{ariaLabel:"slider",className:null,classNameAnimation:null,classNameTray:null,classNameTrayWrap:null,disableAnimation:!1,disableKeyboard:!1,dragStep:1,infinite:!1,preventVerticalScrollOnTouch:!0,horizontalPixelThreshold:15,verticalPixelThreshold:10,moveThreshold:.1,onMasterSpinner:null,privateUnDisableAnimation:!1,spinner:null,style:{},tabIndex:null,trayProps:{},trayTag:"div",visibleSlides:1,isIntrinsicHeight:!1}),Fe),nt=M(tt,(function(e){return{currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,privateUnDisableAnimation:e.privateUnDisableAnimation,disableKeyboard:e.disableKeyboard,dragEnabled:e.dragEnabled,hasMasterSpinner:e.hasMasterSpinner,infinite:e.infinite,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,preventingVerticalScroll:e.preventingVerticalScroll,masterSpinnerFinished:e.masterSpinnerFinished,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,slideSize:e.slideSize,slideTraySize:e.slideTraySize,step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,visibleSlides:e.visibleSlides,isIntrinsicHeight:e.isIntrinsicHeight}}))},7129:function(e,t){"use strict";var n=Object.prototype.hasOwnProperty;function r(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return null}}function i(e){try{return encodeURIComponent(e)}catch(t){return null}}t.stringify=function(e,t){t=t||"";var r,o,s=[];for(o in"string"!==typeof t&&(t="?"),e)if(n.call(e,o)){if((r=e[o])||null!==r&&undefined!==r&&!isNaN(r)||(r=""),o=i(o),r=i(r),null===o||null===r)continue;s.push(o+"="+r)}return s.length?t+s.join("&"):""},t.parse=function(e){for(var t,n=/([^=?#&]+)=?([^&]*)/g,i={};t=n.exec(e);){var o=r(t[1]),s=r(t[2]);null===o||null===s||o in i||(i[o]=s)}return i}},9921:function(e,t){"use strict";var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case s:case p:case f:return e;default:switch(e=e&&e.$$typeof){case c:case u:case d:case m:case h:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=p,t.SuspenseList=f,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===u},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return y(e)===d},t.isFragment=function(e){return y(e)===o},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===h},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===a},t.isStrictMode=function(e){return y(e)===s},t.isSuspense=function(e){return y(e)===p},t.isSuspenseList=function(e){return y(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===a||e===s||e===p||e===f||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=y},9864:function(e,t,n){"use strict";e.exports=n(9921)},2291:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const a=(e,t)=>{e.scrollIntoView(t)},l=s=>{const l=s.target.closest("[data-smooth-scroll-to]");if(!l)return;const u=document.getElementById(l.dataset.smoothScrollTo);if(null===u)throw new Error("Destination element not found.");const c={block:l.dataset.smoothScrollBlock||i,inline:l.dataset.smoothScrollInline||o,behavior:"smooth"},d=e||t,p=n||r;if(d||p){const i=[...u.children].find((e=>e.matches(".js-smooth-scroll-anchor"))),o=i||document.createElement("div");if(!i){u.style.position="relative";const i="position:absolute;z-index:-1;"+(d?`height:calc(100% + ${e+t}px);${e?`top:-${e}px;`:""}`:"height:100%;")+(p?`width:calc(100% + ${n+r}px);${n?`left:-${n}px;`:""}`:"width:100%;");o.setAttribute("style",i),o.setAttribute("class","js-smooth-scroll-anchor"),u.insertAdjacentElement("afterbegin",o)}a(o,c)}else a(u,c)};return document.addEventListener("click",l,s),()=>{document.removeEventListener("click",l,s),[...document.querySelectorAll(".js-smooth-scroll-anchor")].forEach((e=>e.parentNode.removeChild(e)))}},Object.defineProperty(e,"__esModule",{value:!0})}(t)},7848:function(e,t,n){var r=n(8139);function i(e,t){var n,i=null;if(!e||"string"!==typeof e)return i;for(var o,s,a=r(e),l="function"===typeof t,u=0,c=a.length;u=2&&(n=n.slice(2)):m(i)?n=r[4]:i?o&&(n=n.slice(2)):l>=2&&m(t.protocol)&&(n=r[4]),{protocol:i,slashes:o||m(i),slashesCount:l,rest:n}}function y(e,t,n){if(e=(e=d(e)).replace(s,""),!(this instanceof y))return new y(e,t,n);var o,a,l,u,f,b,v=p.slice(),S=typeof t,w=this,k=0;for("object"!==S&&"string"!==S&&(n=t,t=null),n&&"function"!==typeof n&&(n=i.parse),o=!(a=g(e||"",t=h(t))).protocol&&!a.slashes,w.slashes=a.slashes||o&&t.slashes,w.protocol=a.protocol||t.protocol||"",e=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||c.test(e))||!a.slashes&&(a.protocol||a.slashesCount<2||!m(w.protocol)))&&(v[3]=[/(.*)/,"pathname"]);ke.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(t,{Z:function(){return r}})},828:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3375);var i=n(1566);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,r.Z)(e,t)||(0,i.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9815:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(943);var i=n(3375);var o=n(1566);function s(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1566:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(943);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},7650:function(e,t,n){"use strict";n.d(t,{YD:function(){return c}});var r=n(7294);const i=new Map,o=new WeakMap;let s,a=0;function l(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(o.has(n)||(a+=1,o.set(n,a.toString())),o.get(n)):"0"):e[t]}`;var n})).toString()}function u(e,t,n={},r=s){if("undefined"===typeof window.IntersectionObserver&&void 0!==r){const i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}const{id:o,observer:a,elements:u}=function(e){let t=l(e),n=i.get(t);if(!n){const r=new Map;let o;const s=new IntersectionObserver((t=>{t.forEach((t=>{var n;const i=t.isIntersecting&&o.some((e=>t.intersectionRatio>=e));e.trackVisibility&&"undefined"===typeof t.isVisible&&(t.isVisible=i),null==(n=r.get(t.target))||n.forEach((e=>{e(i,t)}))}))}),e);o=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:r},i.set(t,n)}return n}(n);let c=u.get(e)||[];return u.has(e)||u.set(e,c),c.push(t),a.observe(e),function(){c.splice(c.indexOf(t),1),0===c.length&&(u.delete(e),a.unobserve(e)),0===u.size&&(a.disconnect(),i.delete(o))}}r.Component;function c({threshold:e,delay:t,trackVisibility:n,rootMargin:i,root:o,triggerOnce:s,skip:a,initialInView:l,fallbackInView:c,onChange:d}={}){var p;const[f,h]=r.useState(null),m=r.useRef(),[g,y]=r.useState({inView:!!l,entry:void 0});m.current=d,r.useEffect((()=>{if(a||!f)return;let r;return r=u(f,((e,t)=>{y({inView:e,entry:t}),m.current&&m.current(e,t),t.isIntersecting&&s&&r&&(r(),r=void 0)}),{root:o,rootMargin:i,threshold:e,trackVisibility:n,delay:t},c),()=>{r&&r()}}),[Array.isArray(e)?e.toString():e,f,o,i,s,a,n,c,t]);const b=null==(p=g.entry)?void 0:p.target,v=r.useRef();f||!b||s||a||v.current===b||(v.current=b,y({inView:!!l,entry:void 0}));const S=[h,g.inView,g.entry];return S.ref=S[0],S.inView=S[1],S.entry=S[2],S}},6010:function(e,t,n){"use strict";n.d(t,{D:function(){return Xn}});var r={};n.r(r),n.d(r,{attentionMarkers:function(){return dt},contentInitial:function(){return ot},disable:function(){return pt},document:function(){return it},flow:function(){return at},flowInitial:function(){return st},insideSpan:function(){return ct},string:function(){return lt},text:function(){return ut}});var i={};n.r(i),n.d(i,{boolean:function(){return on},booleanish:function(){return sn},commaOrSpaceSeparated:function(){return dn},commaSeparated:function(){return cn},number:function(){return ln},overloadedBoolean:function(){return an},spaceSeparated:function(){return un}});var o=n(7294),s=n(8738);function a(e){return e&&"object"===typeof e?"position"in e||"type"in e?u(e.position):"start"in e||"end"in e?u(e):"line"in e||"column"in e?l(e):"":""}function l(e){return c(e&&e.line)+":"+c(e&&e.column)}function u(e){return l(e&&e.start)+"-"+l(e&&e.end)}function c(e){return e&&"number"===typeof e?e:1}class d extends Error{constructor(e,t,n){const r=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"===typeof t&&(n=t,t=void 0),"string"===typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=a(t)||"1:1",this.message="object"===typeof e?e.message:e,this.stack="","object"===typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}d.prototype.file="",d.prototype.name="",d.prototype.reason="",d.prototype.message="",d.prototype.stack="",d.prototype.fatal=null,d.prototype.column=null,d.prototype.line=null,d.prototype.source=null,d.prototype.ruleId=null,d.prototype.position=null;const p={basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');f(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,a=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else s<0&&(n=!0,s=o+1),a>-1&&(e.charCodeAt(o)===t.charCodeAt(a--)?a<0&&(i=o):(a=-1,i=s));r===i?i=s:i<0&&(i=e.length);return e.slice(r,i)},dirname:function(e){if(f(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){f(e);let t,n=e.length,r=-1,i=0,o=-1,s=0;for(;n--;){const a=e.charCodeAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==s&&(s=1):o>-1&&(s=-1);else if(t){i=n+1;break}}if(o<0||r<0||0===s||1===s&&o===r-1&&o===i+1)return"";return e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),s=l,a=0;continue}}else if(i.length>0){i="",o=0,s=l,a=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(s+1,l):i=e.slice(s+1,l),o=l-s-1;s=l,a=0}else 46===n&&a>-1?a++:a=-1}return i}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function f(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function g(e){if("string"===typeof e)e=new URL(e);else if(!m(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++nt.length;let a;r&&t.push(i);try{a=e.apply(this,t)}catch(o){const t=o;if(r&&n)throw t;return i(t)}r||(a instanceof Promise?a.then(s,i):a instanceof Error?i(a):s(a))}function i(e,...r){n||(n=!0,t(e,...r))}function s(e){i(null,e)}}(a,i)(...s):r(null,...s)}}(null,...t)},use:function(n){if("function"!==typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const C=function e(){const t=E(),n=[];let r,i={},o=-1;return a.data=function(e,t){if("string"===typeof e)return 2===arguments.length?(j("data",r),i[e]=t,a):_.call(i,e)&&i[e]||null;if(e)return j("data",r),i=e,a;return i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++o{if(!e&&t&&n){const i=a.stringify(t,n);void 0===i||null===i||("string"===typeof(r=i)||s(r)?n.value=i:n.result=i),o(e,n)}else o(e);var r}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),P("processSync",a.Parser),A("processSync",a.Compiler);const n=M(e);return a.process(n,r),D("processSync","process",t),n;function r(e){t=!0,k(e)}},a;function a(){const t=e();let r=-1;for(;++ri?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);s0?(L(e,e.length,0,t),e):t}const z={}.hasOwnProperty;function q(e,t){let n;for(n in t){const r=(z.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;for(o in i){z.call(r,o)||(r[o]=[]);const e=i[o];B(r[o],Array.isArray(e)?e:e?[e]:[])}}}function B(e,t){let n=-1;const r=[];for(;++no))return;const n=t.events.length;let i,a,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){a=t.events[l][1].end;break}i=!0}for(y(s),e=n;er;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function b(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},ie={tokenize:function(e,t,n){return te(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const oe={tokenize:function(e,t,n){return te(e,(function(e){return null===e||K(e)?t(e):n(e)}),"linePrefix")},partial:!0};function se(e){const t={};let n,r,i,o,s,a,l,u=-1;for(;++u=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0};const ce={tokenize:function(e){const t=this,n=e.attempt(oe,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,te(e,e.attempt(this.parser.constructs.flow,r,e.attempt(le,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const de={resolveAll:me()},pe=he("string"),fe=he("text");function he(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,s);return o;function o(e){return l(e)?i(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i-1&&(s[0]=s[0].slice(r)),o>0&&s.push(e[i].slice(0,o)));return s}(s,e)}function h(){return Object.assign({},r)}function m(){let e;for(;r._indexu?n(i):(e.consume(i),h):41===i?c--?(e.consume(i),h):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i)):null===i||X(i)?c?n(i):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i)):Y(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function Ee(e,t,n,r,i,o){const s=this;let a,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(d){return null===d||91===d||93===d&&!a||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs||l>999?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):K(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||K(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a=a||!Q(t),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function Ce(e,t,n,r,i,o){let s;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,a};function a(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===s?(e.exit(o),a(s)):null===t?n(t):K(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),te(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===s||null===t||K(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===s||92===t?(e.consume(t),u):u(t)}}function _e(e,t){let n;return function r(i){if(K(i))return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r;if(Q(i))return te(e,r,n?"linePrefix":"lineSuffix")(i);return t(i)}}function Te(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pe={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),Ee.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function o(t){return i=Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),_e(e,Oe(e,e.attempt(Ae,te(e,s,"whitespace"),te(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function s(o){return null===o||K(o)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(o)):n(o)}}},Ae={tokenize:function(e,t,n){return function(t){return X(t)?_e(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?Ce(e,te(e,i,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function i(e){return null===e||K(e)?t(e):n(e)}},partial:!0};const je={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),te(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?a(t):K(t)?e.attempt(Ie,o,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||K(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),s)}function a(n){return e.exit("codeIndented"),t(n)}}},Ie={tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):K(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):te(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):K(e)?i(e):n(e)}},partial:!0};const De={name:"headingAtx",tokenize:function(e,t,n){const r=this;let i=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(t)};function o(a){return 35===a&&i++<6?(e.consume(a),o):null===a||X(a)?(e.exit("atxHeadingSequence"),r.interrupt?t(a):s(a)):n(a)}function s(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||K(n)?(e.exit("atxHeading"),t(n)):Q(n)?te(e,s,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),s(t))}function l(t){return null===t||35===t||X(t)?(e.exit("atxHeadingText"),s(t)):(e.consume(t),l)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;"whitespace"===e[o][1].type&&(o+=2);i-2>o&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4);i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},L(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Me={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let i,o,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){o="paragraph"===r.events[s][1].type;break}return function(t){if(!r.parser.lazy[r.now().line]&&(r.interrupt||o))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,a(t);return n(t)};function a(t){return t===i?(e.consume(t),a):(e.exit("setextHeadingLineSequence"),te(e,l,"lineSuffix")(t))}function l(r){return null===r||K(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=s;return e.push(["exit",s,t]),e}};const Re=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ne=["pre","script","style","textarea"],Le={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let i,o,s,a,l;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),f):63===a?(e.consume(a),i=3,r.interrupt?t:M):U(a)?(e.consume(a),s=String.fromCharCode(a),o=!0,h):n(a)}function c(o){return 45===o?(e.consume(o),i=2,d):91===o?(e.consume(o),i=5,s="CDATA[",a=0,p):U(o)?(e.consume(o),i=4,r.interrupt?t:M):n(o)}function d(i){return 45===i?(e.consume(i),r.interrupt?t:M):n(i)}function p(i){return i===s.charCodeAt(a++)?(e.consume(i),a===s.length?r.interrupt?t:C:p):n(i)}function f(t){return U(t)?(e.consume(t),s=String.fromCharCode(t),h):n(t)}function h(a){return null===a||47===a||62===a||X(a)?47!==a&&o&&Ne.includes(s.toLowerCase())?(i=1,r.interrupt?t(a):C(a)):Re.includes(s.toLowerCase())?(i=6,47===a?(e.consume(a),m):r.interrupt?t(a):C(a)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):o?y(a):g(a)):45===a||W(a)?(e.consume(a),s+=String.fromCharCode(a),h):n(a)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:C):n(i)}function g(t){return Q(t)?(e.consume(t),g):O(t)}function y(t){return 47===t?(e.consume(t),O):58===t||95===t||U(t)?(e.consume(t),b):Q(t)?(e.consume(t),y):O(t)}function b(t){return 45===t||46===t||58===t||95===t||W(t)?(e.consume(t),b):v(t)}function v(t){return 61===t?(e.consume(t),S):Q(t)?(e.consume(t),v):y(t)}function S(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,w):Q(t)?(e.consume(t),S):(l=null,k(t))}function w(t){return null===t||K(t)?n(t):t===l?(e.consume(t),x):(e.consume(t),w)}function k(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||X(t)?v(t):(e.consume(t),k)}function x(e){return 47===e||62===e||Q(e)?y(e):n(e)}function O(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return Q(t)?(e.consume(t),E):null===t||K(t)?C(t):n(t)}function C(t){return 45===t&&2===i?(e.consume(t),A):60===t&&1===i?(e.consume(t),j):62===t&&4===i?(e.consume(t),R):63===t&&3===i?(e.consume(t),M):93===t&&5===i?(e.consume(t),D):!K(t)||6!==i&&7!==i?null===t||K(t)?_(t):(e.consume(t),C):e.check(Fe,R,_)(t)}function _(t){return e.exit("htmlFlowData"),T(t)}function T(t){return null===t?N(t):K(t)?e.attempt({tokenize:P,partial:!0},T,N)(t):(e.enter("htmlFlowData"),C(t))}function P(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function A(t){return 45===t?(e.consume(t),M):C(t)}function j(t){return 47===t?(e.consume(t),s="",I):C(t)}function I(t){return 62===t&&Ne.includes(s.toLowerCase())?(e.consume(t),R):U(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),I):C(t)}function D(t){return 93===t?(e.consume(t),M):C(t)}function M(t){return 62===t?(e.consume(t),R):45===t&&2===i?(e.consume(t),M):C(t)}function R(t){return null===t||K(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),R)}function N(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Fe={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(oe,t,n)}},partial:!0};const ze={name:"codeFenced",tokenize:function(e,t,n){const r=this,i={tokenize:function(e,t,n){let r=0;return te(e,i,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function i(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),o(t)}function o(t){return t===l?(e.consume(t),r++,o):r1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),p=Object.assign({},e[c][1].start);Ge(d,-a),Ge(p,a),o={type:a>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},i={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},o.start),e[c][1].start=Object.assign({},s.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=F(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=F(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=F(l,ye(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=F(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=F(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,L(e,n-1,c-n+3,l),c=n+l.length-u-2;break}c=-1;for(;++c13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}const gt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yt(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return mt(n.slice(t?2:1),t?16:10)}return Be(n)||e}const bt={}.hasOwnProperty,vt=function(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(ie),autolinkProtocol:T,autolinkEmail:T,atxHeading:l(ee),blockQuote:l(X),characterEscape:T,characterReference:T,codeFenced:l(K),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:l(K,u),codeText:l(Q,u),codeTextData:T,data:T,codeFlowValue:T,definition:l(G),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:l(J),hardBreakEscape:l(te),hardBreakTrailing:l(te),htmlFlow:l(ne,u),htmlFlowData:T,htmlText:l(ne,u),htmlTextData:T,image:l(re),label:u,link:l(ie),listItem:l(se),listItemValue:m,listOrdered:l(oe,h),listUnordered:l(oe),paragraph:l(ae),reference:H,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:l(ee),strong:l(le),thematicBreak:l(ce)},exit:{atxHeading:d(),atxHeadingSequence:O,autolink:d(),autolinkEmail:Y,autolinkProtocol:Z,blockQuote:d(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:$,codeFenced:d(v),codeFencedFence:b,codeFencedFenceInfo:g,codeFencedFenceMeta:y,codeFlowValue:P,codeIndented:d(S),codeText:d(M),codeTextData:P,data:P,definition:d(),definitionDestinationString:x,definitionLabelString:w,definitionTitleString:k,emphasis:d(),hardBreakEscape:d(j),hardBreakTrailing:d(j),htmlFlow:d(I),htmlFlowData:P,htmlText:d(D),htmlTextData:P,image:d(L),label:z,labelText:F,lineEnding:A,link:d(N),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:V,resourceDestinationString:q,resourceTitleString:B,resource:U,setextHeading:d(_),setextHeadingLineSequence:C,setextHeadingText:E,strong:d(),thematicBreak:d()}};wt(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let n={type:"root",children:[]};const r={stack:[n],tokenStack:[],config:t,enter:c,exit:p,buffer:u,resume:f,setData:o,getData:s},a=[];let l=-1;for(;++l0){const e=r.tokenStack[r.tokenStack.length-1];(e[1]||xt).call(r,void 0,e[0])}for(n.position={start:St(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:St(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},l=-1;++l{const n=this.data("settings");return vt(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})};function Et(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(s=String.fromCharCode(o,t),i=1):s="\ufffd"}else s=String.fromCharCode(o);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}const Ct=function(e){if(void 0===e||null===e)return Tt;if("string"===typeof e)return function(e){return _t(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n":"")+")"})}return c;function c(){let u,c,d,p=[];if((!t||i(s,a,l[l.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(n(s,l)),false===p[0]))return p;if(s.children&&"skip"!==p[0])for(c=(r?s.children.length:-1)+o,d=l.concat(s);c>-1&&c-1?n.offset:null}}}const Mt={}.hasOwnProperty;function Rt(e){return String(e||"").toUpperCase()}function Nt(e,t){const n=String(t.identifier).toUpperCase(),r=Et(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;-1===i?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const s=e.footnoteCounts[n],a={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,a);const l={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,l),e.applyData(t,l)}function Lt(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}function Ft(e){const t=e.spread;return void 0===t||null===t?e.children.length>1:t}function zt(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(qt(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(qt(t.slice(i),i>0,!1)),o.join("")}function qt(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}const Bt={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:Nt,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},Nt(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Lt(e,t);const r={src:Et(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:Et(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Lt(e,t);const r={href:Et(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:Et(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=jt(t.children[1]),s=It(t.children[t.children.length-1]);o.line&&s.line&&(r.position={start:o,end:s}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,s=o?o.length:t.children.length;let a=-1;const l=[];for(;++a{const n=Rt(e.identifier);n&&!Mt.call(t,n)&&(t[n]=e)})),function(e){const n=Rt(e);return n&&Mt.call(t,n)?t[n]:null}}(e),s.footnoteById=i,s.footnoteOrder=[],s.footnoteCounts={},s.patch=Wt,s.applyData=$t,s.one=function(e,t){return Zt(s,e,t)},s.all=function(e){return Yt(s,e)},s.wrap=Xt,s.augment=o,At(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();Ht.call(i,t)||(i[t]=e)})),s;function o(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const n="type"in e?e:{position:e};(function(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column})(n)||(t.position={start:jt(n),end:It(n)})}return t}function s(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function Wt(e,t){e.position&&(t.position=function(e){return{start:jt(e),end:It(e)}}(e))}function $t(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"===typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&null!==r&&void 0!==r&&(n.children=r)}return n}function Zt(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Ht.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:Yt(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){const n=t.data||{},r=!("value"in t)||Ht.call(n,"hProperties")||Ht.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:Yt(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function Yt(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i0&&n.push({type:"text",value:"\n"}),n}function Kt(e,t){const n=Vt(e,t),r=n.one(e,null),i=function(e){const t=[];let n=-1;for(;++n1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};a>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const u=i[i.length-1];if(u&&"element"===u.type&&"p"===u.tagName){const e=u.children[u.children.length-1];e&&"text"===e.type?e.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...l)}else i.push(...l);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+s},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}var Qt=function(e,t){return e&&"run"in e?function(e,t){return(n,r,i)=>{e.run(Kt(n,t),r,(e=>{i(e)}))}}(e,t):function(e){return t=>Kt(t,e)}(e||t)};var Gt=n(5697);class Jt{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function en(e,t){const n={},r={};let i=-1;for(;++i"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),vn=yn({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Sn(e,t){return t in e?e[t]:t}function wn(e,t){return Sn(e,t.toLowerCase())}const kn=yn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:wn,properties:{xmlns:null,xmlnsXLink:null}}),xn=yn({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:sn,ariaAutoComplete:null,ariaBusy:sn,ariaChecked:sn,ariaColCount:ln,ariaColIndex:ln,ariaColSpan:ln,ariaControls:un,ariaCurrent:null,ariaDescribedBy:un,ariaDetails:null,ariaDisabled:sn,ariaDropEffect:un,ariaErrorMessage:null,ariaExpanded:sn,ariaFlowTo:un,ariaGrabbed:sn,ariaHasPopup:null,ariaHidden:sn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:un,ariaLevel:ln,ariaLive:null,ariaModal:sn,ariaMultiLine:sn,ariaMultiSelectable:sn,ariaOrientation:null,ariaOwns:un,ariaPlaceholder:null,ariaPosInSet:ln,ariaPressed:sn,ariaReadOnly:sn,ariaRelevant:null,ariaRequired:sn,ariaRoleDescription:un,ariaRowCount:ln,ariaRowIndex:ln,ariaRowSpan:ln,ariaSelected:sn,ariaSetSize:ln,ariaSort:null,ariaValueMax:ln,ariaValueMin:ln,ariaValueNow:ln,ariaValueText:null,role:null}}),On=yn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:wn,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:cn,acceptCharset:un,accessKey:un,action:null,allow:null,allowFullScreen:on,allowPaymentRequest:on,allowUserMedia:on,alt:null,as:null,async:on,autoCapitalize:null,autoComplete:un,autoFocus:on,autoPlay:on,capture:on,charSet:null,checked:on,cite:null,className:un,cols:ln,colSpan:null,content:null,contentEditable:sn,controls:on,controlsList:un,coords:ln|cn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:on,defer:on,dir:null,dirName:null,disabled:on,download:an,draggable:sn,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:on,formTarget:null,headers:un,height:ln,hidden:on,high:ln,href:null,hrefLang:null,htmlFor:un,httpEquiv:un,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:on,itemId:null,itemProp:un,itemRef:un,itemScope:on,itemType:un,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:on,low:ln,manifest:null,max:null,maxLength:ln,media:null,method:null,min:null,minLength:ln,multiple:on,muted:on,name:null,nonce:null,noModule:on,noValidate:on,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:on,optimum:ln,pattern:null,ping:un,placeholder:null,playsInline:on,poster:null,preload:null,readOnly:on,referrerPolicy:null,rel:un,required:on,reversed:on,rows:ln,rowSpan:ln,sandbox:un,scope:null,scoped:on,seamless:on,selected:on,shape:null,size:ln,sizes:null,slot:null,span:ln,spellCheck:sn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ln,step:null,style:null,tabIndex:ln,target:null,title:null,translate:null,type:null,typeMustMatch:on,useMap:null,value:sn,width:ln,wrap:null,align:null,aLink:null,archive:un,axis:null,background:null,bgColor:null,border:ln,borderColor:null,bottomMargin:ln,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:on,declare:on,event:null,face:null,frame:null,frameBorder:null,hSpace:ln,leftMargin:ln,link:null,longDesc:null,lowSrc:null,marginHeight:ln,marginWidth:ln,noResize:on,noHref:on,noShade:on,noWrap:on,object:null,profile:null,prompt:null,rev:null,rightMargin:ln,rules:null,scheme:null,scrolling:sn,standby:null,summary:null,text:null,topMargin:ln,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ln,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:on,disableRemotePlayback:on,prefix:null,property:null,results:ln,security:null,unselectable:null}}),En=yn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Sn,properties:{about:dn,accentHeight:ln,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ln,amplitude:ln,arabicForm:null,ascent:ln,attributeName:null,attributeType:null,azimuth:ln,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ln,by:null,calcMode:null,capHeight:ln,className:un,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ln,diffuseConstant:ln,direction:null,display:null,dur:null,divisor:ln,dominantBaseline:null,download:on,dx:null,dy:null,edgeMode:null,editable:null,elevation:ln,enableBackground:null,end:null,event:null,exponent:ln,externalResourcesRequired:null,fill:null,fillOpacity:ln,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:cn,g2:cn,glyphName:cn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ln,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ln,horizOriginX:ln,horizOriginY:ln,id:null,ideographic:ln,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ln,k:ln,k1:ln,k2:ln,k3:ln,k4:ln,kernelMatrix:dn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ln,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ln,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ln,overlineThickness:ln,paintOrder:null,panose1:null,path:null,pathLength:ln,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:un,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ln,pointsAtY:ln,pointsAtZ:ln,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:dn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:dn,rev:dn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:dn,requiredFeatures:dn,requiredFonts:dn,requiredFormats:dn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ln,specularExponent:ln,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ln,strikethroughThickness:ln,string:null,stroke:null,strokeDashArray:dn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ln,strokeOpacity:ln,strokeWidth:null,style:null,surfaceScale:ln,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:dn,tabIndex:ln,tableValues:null,target:null,targetX:ln,targetY:ln,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:dn,to:null,transform:null,u1:null,u2:null,underlinePosition:ln,underlineThickness:ln,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ln,values:null,vAlphabetic:ln,vMathematical:ln,vectorEffect:null,vHanging:ln,vIdeographic:ln,version:null,vertAdvY:ln,vertOriginX:ln,vertOriginY:ln,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ln,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Cn=en([vn,bn,kn,xn,On],"html"),_n=en([vn,bn,kn,xn,En],"svg");function Tn(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{At(t,"element",((t,n,r)=>{const i=r;let o;if(e.allowedElements?o=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(t.tagName)),!o&&e.allowElement&&"number"===typeof n&&(o=!e.allowElement(t,n,i)),o&&"number"===typeof n)return e.unwrapDisallowed&&t.children?i.children.splice(n,1,...t.children):i.children.splice(n,1),n}))}}var Pn=n(9864);function An(e){const t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const jn=/^data[-\w.:]+$/i,In=/-[a-z]/g,Dn=/[A-Z]/g;function Mn(e){return"-"+e.toLowerCase()}function Rn(e){return e.charAt(1).toUpperCase()}const Nn={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Ln=n(7848);const Fn=["http","https","mailto","tel"];function zn(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let i=-1;for(;++ii?t:(i=t.indexOf("#"),-1!==i&&r>i?t:"javascript:void(0)")}const qn={}.hasOwnProperty,Bn=new Set(["table","thead","tbody","tfoot","tr"]);function Un(e,t){const n=[];let r,i=-1;for(;++i0?o.createElement(h,u,p):o.createElement(h,u)}function Vn(e,t){let n=-1,r=0;for(;++n4&&"data"===n.slice(0,4)&&jn.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(In,Rn);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!In.test(e)){let n=e.replace(Dn,Mn);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=hn}return new i(r,t)}(r.schema,t);let o=n;null!==o&&void 0!==o&&o===o&&(Array.isArray(o)&&(o=i.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(o):o.join(" ").trim()),"style"===i.property&&"string"===typeof o&&(o=function(e){const t={};try{Ln(e,n)}catch{}return t;function n(e,n){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,$n)]=n}}(o)),i.space&&i.property?e[qn.call(Nn,i.property)?Nn[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function $n(e,t){return t.toUpperCase()}const Zn={}.hasOwnProperty,Yn={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Xn(e){for(const o in Yn)if(Zn.call(Yn,o)&&Zn.call(e,o)){const e=Yn[o];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${o}\` (see for more info)`),delete Yn[o]}const t=C().use(Ot).use(e.remarkPlugins||[]).use(Qt,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Tn,e),n=new b;"string"===typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let i=o.createElement(o.Fragment,{},Un({options:e,schema:Cn,listDepth:0},r));return e.className&&(i=o.createElement("div",{className:e.className},i)),i}Xn.propTypes={children:Gt.string,className:Gt.string,allowElement:Gt.func,allowedElements:Gt.arrayOf(Gt.string),disallowedElements:Gt.arrayOf(Gt.string),unwrapDisallowed:Gt.bool,remarkPlugins:Gt.arrayOf(Gt.oneOfType([Gt.object,Gt.func,Gt.arrayOf(Gt.oneOfType([Gt.bool,Gt.string,Gt.object,Gt.func,Gt.arrayOf(Gt.any)]))])),rehypePlugins:Gt.arrayOf(Gt.oneOfType([Gt.object,Gt.func,Gt.arrayOf(Gt.oneOfType([Gt.bool,Gt.string,Gt.object,Gt.func,Gt.arrayOf(Gt.any)]))])),sourcePos:Gt.bool,rawSourcePos:Gt.bool,skipHtml:Gt.bool,includeElementIndex:Gt.bool,transformLinkUri:Gt.oneOfType([Gt.func,Gt.bool]),linkTarget:Gt.oneOfType([Gt.func,Gt.string]),transformImageUri:Gt.func,components:Gt.object}}}]); \ No newline at end of file diff --git a/out/_next/static/chunks/main-835d8954d0192310.js b/out/_next/static/chunks/main-5b7ecc5cb262700d.js similarity index 99% rename from out/_next/static/chunks/main-835d8954d0192310.js rename to out/_next/static/chunks/main-5b7ecc5cb262700d.js index cc3d724..063b73c 100644 --- a/out/_next/static/chunks/main-835d8954d0192310.js +++ b/out/_next/static/chunks/main-5b7ecc5cb262700d.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{5300:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}},9241:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t&&("object"===a.default(t)||"function"===typeof t))return t;return r.default(e)};var r=o(n(8646)),a=o(n(5753));function o(e){return e&&e.__esModule?e:{default:e}}},5814:function(e,t){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return n(e,t)}},4941:function(e,t,n){"use strict";t.Z=function(e,t){return r.default(e)||a.default(e,t)||i.default(e,t)||o.default()};var r=u(n(6564)),a=u(n(1301)),o=u(n(6936)),i=u(n(2149));function u(e){return e&&e.__esModule?e:{default:e}}},3929:function(e,t,n){"use strict";t.Z=function(e){return r.default(e)||a.default(e)||i.default(e)||o.default()};var r=u(n(2568)),a=u(n(1301)),o=u(n(4162)),i=u(n(2149));function u(e){return e&&e.__esModule?e:{default:e}}},2401:function(e,t,n){"use strict";Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r.__generator}});var r=n(655)},5753:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&e.constructor===Symbol?"symbol":typeof e}},2149:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)return;if("string"===typeof e)return a.default(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a.default(e,t)};var r,a=(r=n(5300))&&r.__esModule?r:{default:r}},9968:function(e,t,n){"use strict";t.Z=function(e){return c(e)};var r=u(n(5317)),a=u(n(4499)),o=u(n(898)),i=u(n(5814));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){var t="function"===typeof Map?new Map:void 0;return c=function(e){if(null===e||!a.default(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return r.default(e,arguments,o.default(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i.default(n,e)},c(e)}},37:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce((function(e,t){return e[t[0]]=t[1],e}),{})})},8684:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBasePath=function(e,t){0;return a.normalizePathTrailingSlash(r.addPathPrefix(e,""))};var r=n(5391),a=n(2392);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2725:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=void 0;n(2392);t.addLocale=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&void 0!==i[0]?i[0]:e,k=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=k,z=k.defaultLocale,t=k.assetPrefix||"",n.p="".concat(t,"/_next/"),r={},b.setConfig((r.serverRuntimeConfig={},r.publicRuntimeConfig=k.runtimeConfig||{},r)),I=P.getURL(),A.hasBasePath(I)&&(I=R.removeBasePath(I)),k.scriptLoader&&(0,n(699).initScriptLoader)(k.scriptLoader),N=new O.default(k.buildId,t),a=function(e){var t=u(e,2),n=t[0],r=t[1];return N.routeLoader.onEntrypoint(n,r)},window.__NEXT_P&&window.__NEXT_P.map((function(e){return setTimeout((function(){return a(e)}),0)})),window.__NEXT_P=[],window.__NEXT_P.push=a,(Z=S.default()).getIsSsr=function(){return p.isSsr},D=document.getElementById("__next"),[2,((o={}).assetPrefix=t,o)]}))})),K.apply(this,arguments)}function $(e,t){return h.default.createElement(e,Object.assign({},t))}function X(e){var t=e.children;return h.default.createElement(V,{fn:function(e){return J({App:H,err:e}).catch((function(e){return console.error("Error rendering page: ",e)}))}},h.default.createElement(m.RouterContext.Provider,{value:x.makePublicRouterInstance(p)},h.default.createElement(v.HeadManagerContext.Provider,{value:Z},h.default.createElement(C.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}},t))))}var Y=function(e){return function(t){var n=f({},t,{Component:U,err:k.err,router:p});return h.default.createElement(X,null,$(e,n))}};function J(e){var t=e.App,r=e.err;return console.error(r),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),N.loadPage("/_error").then((function(r){var a=r.page,o=r.styleSheets;return(null==q?void 0:q.Component)===a?Promise.resolve().then((function(){return i(n(9185))})).then((function(r){return Promise.resolve().then((function(){return i(n(6029))})).then((function(n){return t=n.default,e.App=t,r}))})).then((function(e){return{ErrorComponent:e.default,styleSheets:[]}})):{ErrorComponent:a,styleSheets:o}})).then((function(n){var a,o=n.ErrorComponent,i=n.styleSheets,u=Y(t),c={Component:o,AppTree:u,router:p,ctx:{err:r,pathname:k.page,query:k.query,asPath:I,AppTree:u}};return Promise.resolve((null==(a=e.props)?void 0:a.err)?e.props:P.loadGetInitialProps(t,c)).then((function(t){return ie(f({},e,{err:r,Component:o,styleSheets:i,props:t}))}))}))}function Q(e){var t=e.callback;return h.default.useLayoutEffect((function(){return t()}),[t]),null}var ee=null,te=!0;function ne(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((function(e){return performance.clearMarks(e)}))}function re(){P.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),F&&performance.getEntriesByName("Next.js-hydration").forEach(F),ne())}function ae(){if(P.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),F&&(performance.getEntriesByName("Next.js-render").forEach(F),performance.getEntriesByName("Next.js-route-change-to-render").forEach(F)),ne(),["Next.js-route-change-to-render","Next.js-render"].forEach((function(e){return performance.clearMeasures(e)})))}}function oe(e){var t=e.callbacks,n=e.children;return h.default.useLayoutEffect((function(){return t.forEach((function(e){return e()}))}),[t]),h.default.useEffect((function(){j.default(F)}),[]),n}function ie(e){var t=function(){l()},n=e.App,r=e.Component,a=e.props,o=e.err,i=e.__N_RSC,u="initial"in e?void 0:e.styleSheets;r=r||q.Component,a=a||q.props;var c=f({},a,{Component:!!i?undefined:r,err:o,router:p});q=c;var l,s=!1,d=new Promise((function(e,t){B&&B(),l=function(){B=null,e()},B=function(){s=!0,B=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));!function(){if(!u)return!1;var e=W(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((function(e){return e.getAttribute("data-n-href")}))),n=document.querySelector("noscript[data-n-css]"),r=null==n?void 0:n.getAttribute("data-n-css");u.forEach((function(e){var n=e.href,a=e.text;if(!t.has(n)){var o=document.createElement("style");o.setAttribute("data-n-href",n),o.setAttribute("media","x"),r&&o.setAttribute("nonce",r),document.head.appendChild(o),o.appendChild(document.createTextNode(a))}}))}();var v=h.default.createElement(h.default.Fragment,null,h.default.createElement(Q,{callback:function(){if(u&&!s){for(var t=new Set(u.map((function(e){return e.href}))),n=W(document.querySelectorAll("style[data-n-href]")),r=n.map((function(e){return e.getAttribute("data-n-href")})),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,n=void 0!==t&&t,r=e.hybrid,a=void 0!==r&&r,o=e.hasQuery,i=void 0!==o&&o;return n||a&&i}},489:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringRegexp=function(e){if(n.test(e))return e.replace(r,"\\$&");return e};var n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g},8404:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;var r=(0,n(2648).Z)(n(7294)).default.createContext({});t.HeadManagerContext=r},5443:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=s,t.default=void 0;var r=n(6495).Z,a=n(2648).Z,o=(0,n(1598).Z)(n(7294)),i=a(n(5188)),u=n(2227),c=n(8404),l=n(7363);n(3794);function s(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}var d=["name","httpEquiv","charSet","itemProp"];function p(e,t){var n=t.inAmpMode;return e.reduce(f,[]).reverse().concat(s(n).reverse()).filter(function(){var e=new Set,t=new Set,n=new Set,r={};return function(a){var o=!0,i=!1;if(a.key&&"number"!==typeof a.key&&a.key.indexOf("$")>0){i=!0;var u=a.key.slice(a.key.indexOf("$")+1);e.has(u)?o=!1:e.add(u)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(var c=0,l=d.length;c>>0,1)},emit:function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o1&&r.status>=500?K(e,t-1,n):r}))}var $={};function X(e){try{return JSON.parse(e)}catch(t){return null}}function Y(e){var t,n=e.dataHref,r=e.inflightCache,a=e.isPrefetch,o=e.hasMiddleware,i=e.isServerRender,u=e.parseJSON,c=e.persistCache,l=e.isBackground,s=e.unstable_skipClientCache,f=new URL(n,window.location.href).href,d=function(e){return K(n,i?3:1,{headers:a?{purpose:"prefetch"}:{},method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then((function(t){return t.ok&&"HEAD"===(null==e?void 0:e.method)?{dataHref:n,response:t,text:"",json:{},cacheKey:f}:t.text().then((function(e){if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:n,response:t,text:e,json:{},cacheKey:f};var r;if(!o&&404===t.status)if(null==(r=X(e))?void 0:r.notFound)return{dataHref:n,json:{notFound:V},response:t,text:e,cacheKey:f};var a=new Error("Failed to load static props");throw i||p.markAssetError(a),a}return{dataHref:n,json:u?X(e):null,response:t,text:e,cacheKey:f}}))})).then((function(e){return c&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[f],e})).catch((function(e){throw delete r[f],e}))};return s&&c?d({}).then((function(e){return r[f]=Promise.resolve(e),e})):void 0!==r[f]?r[f]:r[f]=d(l?{method:"HEAD"}:{})}function J(){return Math.random().toString(36).slice(2,10)}function Q(e){var t=e.url,n=e.router;if(t===A.addBasePath(M.addLocale(n.asPath,n.locale)))throw new Error("Invariant: attempted to hard navigate to the same URL ".concat(t," ").concat(location.href));window.location.href=t}var ee=function(e){var t=e.route,n=e.router,r=!1,a=n.clc=function(){r=!0};return function(){if(r){var e=new Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}a===n.clc&&(n.clc=null)}},te=function(){function e(t,n,a,o){var i=o.initialProps,u=o.pageLoader,c=o.App,l=o.wrapApp,s=o.Component,f=o.err,p=o.subscription,h=o.isFallback,v=o.locale,y=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview),m=o.isRsc,g=this;r(this,e),this.sdc={},this.isFirstPopStateEvent=!0,this._key=J(),this.onPopState=function(e){var t=g.isFirstPopStateEvent;g.isFirstPopStateEvent=!1;var n=e.state;if(n){if(n.__NA)window.location.reload();else if(n.__N&&(!t||g.locale!==n.options.locale||n.as!==g.asPath)){var r=n.url,a=n.as,o=n.options,i=n.key;g._key=i;var u=P.parseRelativeUrl(r).pathname;g.isSsr&&a===A.addBasePath(g.asPath)&&u===A.addBasePath(g.pathname)||g._bps&&!g._bps(n)||g.change("replaceState",r,a,Object.assign({},o,{shallow:o.shallow&&g._shallow,locale:o.locale||g.defaultLocale,_h:0}),undefined)}}else{var c=g.pathname,l=g.query;g.changeState("replaceState",E.formatWithValidation({pathname:A.addBasePath(c),query:l}),_.getURL())}};var w=d.removeTrailingSlash(t);this.components={},"/_error"!==t&&(this.components[w]={Component:s,initial:!0,props:i,err:f,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP,__N_RSC:!!m}),this.components["/_app"]={Component:c,styleSheets:[]},this.events=e.events,this.pageLoader=u;var S=b.isDynamicRoute(t)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=p,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!S&&!self.location.search),this.state={route:w,pathname:t,query:n,asPath:S?t:a,isPreview:!!y,locale:void 0,isFallback:h},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!a.startsWith("//")){var O={locale:v},j=_.getURL();this._initialMatchesMiddlewarePromise=D({router:this,locale:v,asPath:j}).then((function(e){return O._shouldResolveHref=a!==t,g.changeState("replaceState",e?j:E.formatWithValidation({pathname:A.addBasePath(t),query:n}),j,O),e}))}window.addEventListener("popstate",this.onPopState)}return a(e,[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=(n=W(this,e,t)).url,t=n.as,this.change("pushState",e,t,r)}},{key:"replace",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=(n=W(this,e,t)).url,t=n.as,this.change("replaceState",e,t,r)}},{key:"change",value:function(t,n,r,a,l){var s=this;return u((function(){var u,f,y,m,g,w,S,T,k,Z,q,U,G,K,$,X,Y,J,ee,te,ne,re,ae,oe,ie,ue,ce,le,se,fe,de,pe,he,ve,ye,me,ge,_e,be,Pe,we,Se,Oe,je,Ee,xe,Me,Ce,Re,Ae,Le,Te,ke,Ie,Ne,De,Ze,qe,Be,He,Fe,Ue,We,ze,Ge,Ve,Ke,$e,Xe,Ye,Je;return i(this,(function(i){switch(i.label){case 0:if(u={},!H(n))return Q((u.url=n,u.router=s,u)),[2,!1];if(f=a._h,y=f||a._shouldResolveHref||x.parsePath(n).pathname===x.parsePath(r).pathname,m=c({},s.state),g=!0!==s.isReady,s.isReady=!0,w=s.isSsr,f||(s.isSsr=!1),f&&s.clc)return[2,!1];if(S=m.locale,{},{},_.ST&&performance.mark("routeChange"),T=a.shallow,k=void 0!==T&&T,Z=a.scroll,q=void 0===Z||Z,(G={}).shallow=k,U=G,s._inFlightRoute&&s.clc&&(w||e.events.emit("routeChangeError",N(),s._inFlightRoute,U),s.clc(),s.clc=null),r=A.addBasePath(M.addLocale(L.hasBasePath(r)?R.removeBasePath(r):r,a.locale,s.defaultLocale)),K=C.removeLocale(L.hasBasePath(r)?R.removeBasePath(r):r,m.locale),s._inFlightRoute=r,$=S!==m.locale,f||!s.onlyAHashChange(K)||$)return[3,5];m.asPath=K,e.events.emit("hashChangeStart",r,U),X={},Y={},s.changeState(t,n,r,c(X,a,(Y.scroll=!1,Y))),q&&s.scrollToHash(K),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,s.set(m,s.components[m.route],null)];case 2:return i.sent(),[3,4];case 3:throw J=i.sent(),v.default(J)&&J.cancelled&&e.events.emit("routeChangeError",J,K,U),J;case 4:return e.events.emit("hashChangeComplete",r,U),[2,!0];case 5:ee=P.parseRelativeUrl(n),te=ee.pathname,ne=ee.query,i.label=6;case 6:return i.trys.push([6,8,,9]),[4,Promise.all([s.pageLoader.getPageList(),p.getClientBuildManifest(),s.pageLoader.getMiddleware()])];case 7:return ae=o.apply(void 0,[i.sent(),2]),re=ae[0],oe=ae[1],oe.__rewrites,[3,9];case 8:return i.sent(),Q(((ie={}).url=r,ie.router=s,ie)),[2,!1];case 9:return s.urlIsNew(K)||$||(t="replaceState"),ue=r,te=te?d.removeTrailingSlash(R.removeBasePath(te)):te,[4,D(((le={}).asPath=r,le.locale=m.locale,le.router=s,le))];case 10:if(ce=i.sent(),a.shallow&&ce&&(te=s.pathname),{},y&&"/_error"!==te&&(a._shouldResolveHref=!0,ee.pathname=z(te,re),ee.pathname!==te&&(te=ee.pathname,ee.pathname=A.addBasePath(te),ce||(n=E.formatWithValidation(ee)))),se={},!H(r))return Q((se.url=r,se.router=s,se)),[2,!1];if(ue=C.removeLocale(R.removeBasePath(ue),m.locale),fe=d.removeTrailingSlash(te),de=!1,ge={},b.isDynamicRoute(fe))if(pe=P.parseRelativeUrl(ue),he=pe.pathname,ve=j.getRouteRegex(fe),de=O.getRouteMatcher(ve)(he),me=(ye=fe===he)?F(fe,he,ne):ge,!de||ye&&!me.result){if((_e=Object.keys(ve.groups).filter((function(e){return!ne[e]}))).length>0&&!ce)throw new Error((ye?"The provided `href` (".concat(n,") value is missing query values (").concat(_e.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(he,") is incompatible with the `href` value (").concat(fe,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(ye?"href-interpolation-failed":"incompatible-href-as"))}else ye?r=E.formatWithValidation(Object.assign({},pe,{pathname:me.result,query:B(ne,me.params)})):Object.assign(ne,de);f||e.events.emit("routeChangeStart",r,U),i.label=11;case 11:return i.trys.push([11,21,,22]),Se={},[4,s.getRouteInfo((Se.route=fe,Se.pathname=te,Se.query=ne,Se.as=r,Se.resolvedAs=ue,Se.routeProps=U,Se.locale=m.locale,Se.isPreview=m.isPreview,Se.hasMiddleware=ce,Se))];case 12:if("route"in(we=i.sent())&&ce&&(te=we.route||fe,fe=te,U.shallow||(ne=Object.assign({},we.query||{},ne)),de&&te!==ee.pathname&&Object.keys(de).forEach((function(e){de&&ne[e]===de[e]&&delete ne[e]})),b.isDynamicRoute(te)&&(Oe=!U.shallow&&we.resolvedAs?we.resolvedAs:A.addBasePath(M.addLocale(new URL(r,location.href).pathname,m.locale),!0),je=Oe,L.hasBasePath(je)&&(je=R.removeBasePath(je)),Ee=j.getRouteRegex(te),(xe=O.getRouteMatcher(Ee)(je))&&Object.assign(ne,xe))),Me={},"type"in we)return"redirect-internal"===we.type?[2,s.change(t,we.newUrl,we.newAs,a)]:(Q((Me.url=we.destination,Me.router=s,Me)),[2,new Promise((function(){}))]);if(Ce=we.error,Re=we.props,Ae=we.__N_SSG,Le=we.__N_SSP,(Te=we.Component)&&Te.unstable_scriptLoader&&[].concat(Te.unstable_scriptLoader()).forEach((function(e){h.handleClientScriptLoad(e.props)})),!Ae&&!Le||!Re)return[3,18];if(qe={},Re.pageProps&&Re.pageProps.__N_REDIRECT)return a.locale=!1,(ke=Re.pageProps.__N_REDIRECT).startsWith("/")&&!1!==Re.pageProps.__N_REDIRECT_BASE_PATH?((Ie=P.parseRelativeUrl(ke)).pathname=z(Ie.pathname,re),Ne=W(s,ke,ke),De=Ne.url,Ze=Ne.as,[2,s.change(t,De,Ze,a)]):(Q((qe.url=ke,qe.router=s,qe)),[2,new Promise((function(){}))]);if(m.isPreview=!!Re.__N_PREVIEW,Re.notFound!==V)return[3,18];i.label=13;case 13:return i.trys.push([13,15,,16]),[4,s.fetchComponent("/404")];case 14:return i.sent(),Be="/404",[3,16];case 15:return i.sent(),Be="/_error",[3,16];case 16:return He={},[4,s.getRouteInfo((He.route=Be,He.pathname=Be,He.query=ne,He.as=r,He.resolvedAs=ue,He.routeProps={shallow:!1},He.locale=m.locale,He.isPreview=m.isPreview,He))];case 17:if("type"in(we=i.sent()))throw new Error("Unexpected middleware effect on /404");i.label=18;case 18:return e.events.emit("beforeHistoryChange",r,U),s.changeState(t,n,r,a),f&&"/_error"===te&&500===(null==(be=self.__NEXT_DATA__.props)||null==(Pe=be.pageProps)?void 0:Pe.statusCode)&&(null==Re?void 0:Re.pageProps)&&(Re.pageProps.statusCode=500),Ue=a.shallow&&m.route===(null!=(Fe=we.route)?Fe:fe),ze=null!=(We=a.scroll)?We:!a._h&&!Ue,Ve={},Ge=ze?(Ve.x=0,Ve.y=0,Ve):null,Ke=c({},m,(($e={}).route=fe,$e.pathname=te,$e.query=ne,$e.asPath=K,$e.isFallback=!1,$e)),Xe=null!=l?l:Ge,a._h&&!Xe&&!g&&!$&&I.compareRouterStates(Ke,s.state)?[3,20]:[4,s.set(Ke,we,Xe).catch((function(e){if(!e.cancelled)throw e;Ce=Ce||e}))];case 19:if(i.sent(),Ce)throw f||e.events.emit("routeChangeError",Ce,K,U),Ce;0,f||e.events.emit("routeChangeComplete",r,U),Ye=/#.+$/,ze&&Ye.test(r)&&s.scrollToHash(r),i.label=20;case 20:return[2,!0];case 21:if(Je=i.sent(),v.default(Je)&&Je.cancelled)return[2,!1];throw Je;case 22:return[2]}}))}))()}},{key:"changeState",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};"pushState"===e&&_.getURL()===n||(this._shallow=r.shallow,window.history[e]({url:t,as:n,options:r,__N:!0,key:this._key="pushState"!==e?this._key:J()},"",n))}},{key:"handleRouteInfoError",value:function(t,n,r,a,o,c){var l=this;return u((function(){var u,s,f,d,h,y,m,g,_;return i(this,(function(i){switch(i.label){case 0:if(console.error(t),t.cancelled)throw t;if(u={},p.isAssetError(t)||c)throw e.events.emit("routeChangeError",t,a,o),Q((u.url=a,u.router=l,u)),N();i.label=1;case 1:return i.trys.push([1,7,,8]),[4,l.fetchComponent("/_error")];case 2:if(s=i.sent(),f=s.page,d=s.styleSheets,(y={}).props=undefined,y.Component=f,y.styleSheets=d,y.err=t,y.error=t,(h=y).props)return[3,6];i.label=3;case 3:return i.trys.push([3,5,,6]),m={},[4,l.getInitialProps(f,(m.err=t,m.pathname=n,m.query=r,m))];case 4:return h.props=i.sent(),[3,6];case 5:return g=i.sent(),console.error("Error in error page `getInitialProps`: ",g),h.props={},[3,6];case 6:return[2,h];case 7:return _=i.sent(),[2,l.handleRouteInfoError(v.default(_)?_:new Error(_+""),n,r,a,o,!0)];case 8:return[2]}}))}))()}},{key:"getRouteInfo",value:function(e){var t=e.route,n=e.pathname,r=e.query,a=e.as,o=e.resolvedAs,l=e.routeProps,s=e.locale,f=e.hasMiddleware,p=e.isPreview,h=e.unstable_skipClientCache,y=this;return u((function(){var e,g,_,w,S,O,j,x,M,C,A,L,T,k,I,N,D,Z,q,B,H,U,W,z,V,K,X,J;return i(this,(function(te){switch(te.label){case 0:e=t,te.label=1;case 1:return te.trys.push([1,10,,11]),S=ee(((O={}).route=e,O.router=y,O)),j=y.components[e],l.shallow&&j&&y.route===e?[2,j]:(f&&(j=void 0),x=j&&!("initial"in j)?j:void 0,(C={}).dataHref=y.pageLoader.getDataHref({href:E.formatWithValidation({pathname:n,query:r}),skipInterpolation:!0,asPath:o,locale:s}),C.hasMiddleware=!0,C.isServerRender=y.isSsr,C.parseJSON=!0,C.inflightCache=y.sdc,C.persistCache=!p,C.isPrefetch=!1,C.unstable_skipClientCache=h,M=C,[4,G(((L={}).fetchData=function(){return Y(M)},L.asPath=o,L.locale=s,L.router=y,L))]);case 2:return A=te.sent(),S(),"redirect-internal"===(null==A||null==(g=A.effect)?void 0:g.type)||"redirect-external"===(null==A||null==(_=A.effect)?void 0:_.type)?[2,A.effect]:(T={},k={},"rewrite"===(null==A||null==(w=A.effect)?void 0:w.type)&&(e=d.removeTrailingSlash(A.effect.resolvedHref),n=A.effect.resolvedHref,r=c({},r,A.effect.parsedAs.query),o=R.removeBasePath(m.normalizeLocalePath(A.effect.parsedAs.pathname,y.locales).pathname),j=y.components[e],l.shallow&&j&&y.route===e&&!f)?[2,c(T,j,(k.route=e,k))]:(I={},"/api"===e||e.startsWith("/api/")?(Q((I.url=a,I.router=y,I)),[2,new Promise((function(){}))]):(D=x)?[3,4]:[4,y.fetchComponent(e).then((function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP,__N_RSC:!!e.mod.__next_rsc__}}))]));case 3:D=te.sent(),te.label=4;case 4:return Z=(N=D).__N_RSC&&N.__N_SSP,q=N.__N_SSG||N.__N_SSP||N.__N_RSC,[4,y._getData(u((function(){var e,t,u,c,l,f,d,v;return i(this,(function(i){switch(i.label){case 0:return!q||Z?[3,4]:(null==A?void 0:A.json)?(c=A,[3,3]):[3,1];case 1:return[4,Y(((l={}).dataHref=y.pageLoader.getDataHref({href:E.formatWithValidation({pathname:n,query:r}),asPath:o,locale:s}),l.isServerRender=y.isSsr,l.parseJSON=!0,l.inflightCache=y.sdc,l.persistCache=!p,l.isPrefetch=!1,l.unstable_skipClientCache=h,l))];case 2:c=i.sent(),i.label=3;case 3:return t=(e=c).json,u=e.cacheKey,[2,((f={}).cacheKey=u,f.props=t||{},f)];case 4:return d={headers:{},cacheKey:""},v={},[4,y.getInitialProps(N.Component,(v.pathname=n,v.query=r,v.asPath=a,v.locale=s,v.locales=y.locales,v.defaultLocale=y.defaultLocale,v))];case 5:return[2,(d.props=i.sent(),d)]}}))})))];case 5:return B=te.sent(),H=B.props,U=B.cacheKey,N.__N_SSP&&M.dataHref&&delete y.sdc[U],W={},z={},!y.isPreview&&N.__N_SSG&&Y(Object.assign(W,M,(z.isBackground=!0,z.persistCache=!1,z.inflightCache=$,z))).catch((function(){})),N.__N_RSC?(K={},Z?[4,y._getData((function(){return y._getFlightData(E.formatWithValidation({query:c({},r,{__flight__:"1"}),pathname:b.isDynamicRoute(e)?F(n,P.parseRelativeUrl(o).pathname,r).result:n}))}))]:[3,7]):[3,9];case 6:return X=te.sent().data,[3,8];case 7:X=H.__flight__,te.label=8;case 8:K.__flight__=X,V=K,te.label=9;case 9:return H.pageProps=Object.assign({},H.pageProps,V),N.props=H,N.route=e,N.query=r,N.resolvedAs=o,y.components[e]=N,[2,N];case 10:return J=te.sent(),[2,y.handleRouteInfoError(v.getProperError(J),n,r,a,l)];case 11:return[2]}}))}))()}},{key:"set",value:function(e,t,n){return this.state=e,this.sub(t,this.components["/_app"].Component,n)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=o(this.asPath.split("#"),2),n=t[0],r=t[1],a=o(e.split("#"),2),i=a[0],u=a[1];return!(!u||n!==i||r!==u)||n===i&&r!==u}},{key:"scrollToHash",value:function(e){var t=o(e.split("#"),2)[1],n=void 0===t?"":t;if(""!==n&&"top"!==n){var r=decodeURIComponent(n),a=document.getElementById(r);if(a)a.scrollIntoView();else{var i=document.getElementsByName(r)[0];i&&i.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this;return u((function(){var a,o,u,c,l,s,f,p,h,v,y;return i(this,(function(i){switch(i.label){case 0:return a=P.parseRelativeUrl(e),o=a.pathname,u=a.query,[4,r.pageLoader.getPageList()];case 1:return c=i.sent(),l=t,s="undefined"!==typeof n.locale?n.locale||void 0:r.locale,[3,3];case 2:if(p=i.sent(),f=p.__rewrites,(h=S.default(A.addBasePath(M.addLocale(t,r.locale),!0),c,f,a.query,(function(e){return z(e,c)}),r.locales)).externalDest)return[2];l=C.removeLocale(R.removeBasePath(h.asPath),r.locale),h.matchedPage&&h.resolvedHref&&(o=h.resolvedHref,a.pathname=o,e=E.formatWithValidation(a)),i.label=3;case 3:return a.pathname=z(a.pathname,c),v={},b.isDynamicRoute(a.pathname)&&(o=a.pathname,a.pathname=o,Object.assign(u,O.getRouteMatcher(j.getRouteRegex(a.pathname))(x.parsePath(t).pathname)||v),e=E.formatWithValidation(a)),y=d.removeTrailingSlash(o),[4,Promise.all([r.pageLoader._isSsg(y).then((function(t){return!!t&&Y({dataHref:r.pageLoader.getDataHref({href:e,asPath:l,locale:s}),isServerRender:!1,parseJSON:!0,inflightCache:r.sdc,persistCache:!r.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!0}).then((function(){return!1}))})),r.pageLoader[n.priority?"loadPage":"prefetch"](y)])];case 4:return i.sent(),[2]}}))}))()}},{key:"fetchComponent",value:function(e){var t=this;return u((function(){var n,r,a,o;return i(this,(function(i){switch(i.label){case 0:n=ee(((r={}).route=e,r.router=t,r)),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,t.pageLoader.loadPage(e)];case 2:return a=i.sent(),n(),[2,a];case 3:throw o=i.sent(),n(),o;case 4:return[2]}}))}))()}},{key:"_getData",value:function(e){var t=this,n=!1,r=function(){n=!0};return this.clc=r,e().then((function(e){if(r===t.clc&&(t.clc=null),n){var a=new Error("Loading initial props cancelled");throw a.cancelled=!0,a}return e}))}},{key:"_getFlightData",value:function(e){return Y({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then((function(e){return{data:e.text}}))}},{key:"getInitialProps",value:function(e,t){var n=this.components["/_app"].Component,r=this._wrapApp(n);return t.AppTree=r,_.loadGetInitialProps(n,{AppTree:r,Component:e,router:this,ctx:t})}},{key:"route",get:function(){return this.state.route}},{key:"pathname",get:function(){return this.state.pathname}},{key:"query",get:function(){return this.state.query}},{key:"asPath",get:function(){return this.state.asPath}},{key:"locale",get:function(){return this.state.locale}},{key:"isFallback",get:function(){return this.state.isFallback}},{key:"isPreview",get:function(){return this.state.isPreview}}]),e}();te.events=g.default(),t.default=te},7459:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=function(e,t,n,o){if(t&&t!==n&&(o||!a.pathHasPrefix(e.toLowerCase(),"/".concat(t.toLowerCase()))&&!a.pathHasPrefix(e.toLowerCase(),"/api")))return r.addPathPrefix(e,"/".concat(t));return e};var r=n(5391),a=n(1259)},5391:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathPrefix=function(e,t){if(!e.startsWith("/")||!t)return e;var n=r.parsePath(e),a=n.pathname,o=n.query,i=n.hash;return"".concat(t).concat(a).concat(o).concat(i)};var r=n(4943)},4156:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathSuffix=function(e,t){if(!e.startsWith("/")||!t)return e;var n=r.parsePath(e),a=n.pathname,o=n.query,i=n.hash;return"".concat(a).concat(t).concat(o).concat(i)};var r=n(4943)},610:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareRouterStates=function(e,t){var n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(var r=n.length;r--;){var a=n[r];if("query"===a){var o=Object.keys(e.query);if(o.length!==Object.keys(t.query).length)return!1;for(var i=o.length;i--;){var u=o[i];if(!t.query.hasOwnProperty(u)||e.query[u]!==t.query[u])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}},4022:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNextPathnameInfo=function(e){var t=i.addLocale(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);e.buildId&&(t=o.addPathSuffix(a.addPathPrefix(t,"/_next/data/".concat(e.buildId)),"/"===e.pathname?"index.json":".json"));return t=a.addPathPrefix(t,e.basePath),e.trailingSlash?e.buildId||t.endsWith("/")?t:o.addPathSuffix(t,"/"):r.removeTrailingSlash(t)};var r=n(6316),a=n(5391),o=n(4156),i=n(7459)},4611:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=o,t.formatWithValidation=function(e){0;return o(e)},t.urlObjectKeys=void 0;var r=(0,n(1598).Z)(n(466)),a=/https?|ftp|gopher|file/;function o(e){var t=e.auth,n=e.hostname,o=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:n&&(l=t+(~n.indexOf(":")?"[".concat(n,"]"):n),e.port&&(l+=":"+e.port)),c&&"object"===typeof c&&(c=String(r.urlQueryToSearchParams(c)));var s=e.search||c&&"?".concat(c)||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==l?(l="//"+(l||""),i&&"/"!==i[0]&&(i="/"+i)):l||(l=""),u&&"#"!==u[0]&&(u="#"+u),s&&"?"!==s[0]&&(s="?"+s),i=i.replace(/[?#]/g,encodeURIComponent),s=s.replace("#","%23"),"".concat(o).concat(l).concat(i).concat(s).concat(u)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},3891:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e);return n+t}},159:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNextPathnameInfo=function(e,t){var n,i=null!=(n=t.nextConfig)?n:{},u=i.basePath,c=i.i18n,l=i.trailingSlash,s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):l};u&&o.pathHasPrefix(s.pathname,u)&&(s.pathname=a.removePathPrefix(s.pathname,u),s.basePath=u);if(!0===t.parseData&&s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){var f=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),d=f[0];s.pathname="index"!==f[1]?"/".concat(f.slice(1).join("/")):"/",s.buildId=d}if(c){var p=r.normalizeLocalePath(s.pathname,c.locales);s.locale=null==p?void 0:p.detectedLocale,s.pathname=(null==p?void 0:p.pathname)||s.pathname}return s};var r=n(4317),a=n(9244),o=n(1259)},418:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a.isDynamicRoute}});var r=n(3907),a=n(8689)},8689:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return n.test(e)};var n=/\/\[[^/]+?\](?=\/|$)/},4943:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=function(e){var t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n-1)return{pathname:e.substring(0,r?n:t),query:r?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""};return{pathname:e,query:"",hash:""}}},6305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var n=new URL(r.getLocationOrigin()),o=t?new URL(t,n):e.startsWith(".")?new URL(window.location.href):n,i=new URL(e,o),u=i.pathname,c=i.searchParams,l=i.search,s=i.hash,f=i.href;if(i.origin!==n.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:a.searchParamsToUrlQuery(c),search:l,hash:s,href:f.slice(n.origin.length)}};var r=n(3794),a=n(466)},1259:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathHasPrefix=function(e,t){if("string"!==typeof e)return!1;var n=r.parsePath(e).pathname;return n===t||n.startsWith(t+"/")};var r=n(4943)},466:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4941).Z;function a(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){var t={};return e.forEach((function(e,n){"undefined"===typeof t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]})),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach((function(e){var n=r(e,2),o=n[0],i=n[1];Array.isArray(i)?i.forEach((function(e){return t.append(o,a(e))})):t.set(o,a(i))})),t},t.assign=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r122&&(t++,e=97);return n}}(),r={};return{namedParameterizedRoute:t.map((function(e){if(e.startsWith("[")&&e.endsWith("]")){var t=i(e.slice(1,-1)),o=t.key,u=t.optional,c=t.repeat,l=o.replace(/\W/g,""),s=!1;return(0===l.length||l.length>30)&&(s=!0),isNaN(parseInt(l.slice(0,1)))||(s=!0),s&&(l=n()),r[l]=o,c?u?"(?:/(?<".concat(l,">.+?))?"):"/(?<".concat(l,">.+?)"):"/(?<".concat(l,">[^/]+?)")}return"/".concat(a.escapeStringRegexp(e))})).join(""),routeKeys:r}}},3907:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9658).Z,a=n(7222).Z,o=n(3929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedRoutes=function(e){var t=new i;return e.forEach((function(e){return t.insert(e)})),t.smoosh()};var i=function(){function e(){r(this,e),this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}return a(e,[{key:"insert",value:function(e){this._insert(e.split("/").filter(Boolean),[],!1)}},{key:"smoosh",value:function(){return this._smoosh()}},{key:"_smoosh",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=this,n=o(this.children.keys()).sort();null!==this.slugName&&n.splice(n.indexOf("[]"),1),null!==this.restSlugName&&n.splice(n.indexOf("[...]"),1),null!==this.optionalRestSlugName&&n.splice(n.indexOf("[[...]]"),1);var r,a,i,u=n.map((function(n){return t.children.get(n)._smoosh("".concat(e).concat(n,"/"))})).reduce((function(e,t){return o(e).concat(o(t))}),[]);null!==this.slugName&&(r=u).push.apply(r,o(this.children.get("[]")._smoosh("".concat(e,"[").concat(this.slugName,"]/"))));if(!this.placeholder){var c="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(c,'" and "').concat(c,"[[...").concat(this.optionalRestSlugName,']]").'));u.unshift(c)}null!==this.restSlugName&&(a=u).push.apply(a,o(this.children.get("[...]")._smoosh("".concat(e,"[...").concat(this.restSlugName,"]/"))));null!==this.optionalRestSlugName&&(i=u).push.apply(i,o(this.children.get("[[...]]")._smoosh("".concat(e,"[[...").concat(this.optionalRestSlugName,"]]/"))));return u}},{key:"_insert",value:function(t,n,r){if(0!==t.length){if(r)throw new Error("Catch-all must be the last part of the URL.");var a=t[0];if(a.startsWith("[")&&a.endsWith("]")){var o=function(e,t){if(null!==e&&e!==t)throw new Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(t,"')."));n.forEach((function(e){if(e===t)throw new Error('You cannot have the same slug name "'.concat(t,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw new Error('You cannot have the slug names "'.concat(e,'" and "').concat(t,'" differ only by non-word symbols within a single dynamic path'))})),n.push(t)},i=a.slice(1,-1),u=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),u=!0),i.startsWith("...")&&(i=i.substring(3),r=!0),i.startsWith("[")||i.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('".concat(i,"')."));if(i.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('".concat(i,"')."));if(r)if(u){if(null!=this.restSlugName)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(t[0],'" ).'));o(this.optionalRestSlugName,i),this.optionalRestSlugName=i,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(t[0],'").'));o(this.restSlugName,i),this.restSlugName=i,a="[...]"}else{if(u)throw new Error('Optional route parameters are not yet supported ("'.concat(t[0],'").'));o(this.slugName,i),this.slugName=i,a="[]"}}this.children.has(a)||this.children.set(a,new e),this.children.get(a)._insert(t.slice(1),n,r)}else this.placeholder=!1}}]),e}()},8027:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){n=e},t.default=void 0;t.default=function(){return n},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5188:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(){if(n&&n.mountedInstances){var t=r.Children.toArray(Array.from(n.mountedInstances).filter(Boolean));n.updateHead(u(t,e))}},n=e.headManager,u=e.reduceComponentsToState;if(a){var c;null==n||null==(c=n.mountedInstances)||c.add(e.children),t()}return o((function(){var t;return null==n||null==(t=n.mountedInstances)||t.add(e.children),function(){var t;null==n||null==(t=n.mountedInstances)||t.delete(e.children)}})),o((function(){return n&&(n._pendingUpdate=t),function(){n&&(n._pendingUpdate=t)}})),i((function(){return n&&n._pendingUpdate&&(n._pendingUpdate(),n._pendingUpdate=null),function(){n&&n._pendingUpdate&&(n._pendingUpdate(),n._pendingUpdate=null)}})),null};var r=(0,n(1598).Z)(n(7294));var a=!1,o=a?function(){}:r.useLayoutEffect,i=a?function(){}:r.useEffect},3794:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9658).Z,a=n(7788).Z,o=n(3929).Z,i=n(9968).Z,u=n(7735).Z,c=n(2401).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){var t,n=!1;return function(){for(var r=arguments.length,a=new Array(r),i=0;i=0?r="back-forward-cache":n&&(r=document.prerendering||f()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},p=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},h=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},v=function(e,t,n,r){var a,o;return function(i){t.value>=0&&(i||r)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},y=-1,m=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},g=function(){h((function(e){var t=e.timeStamp;y=t}),!0)},_=function(){return y<0&&(y=m(),g(),l((function(){setTimeout((function(){y=m(),g()}),0)}))),{get firstHiddenTime(){return y}}},b=function(e,t){t=t||{};var n,r=[1800,3e3],a=_(),o=d("FCP"),i=function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(c&&c.disconnect(),e.startTime-1&&e(t)},o=d("CLS",0),i=0,u=[],c=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=u[0],n=u[u.length-1];i&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,u.push(e)):(i=e.value,u=[e]),i>o.value&&(o.value=i,o.entries=u,r())}}))},s=p("layout-shift",c);s&&(r=v(a,o,n,t.reportAllChanges),h((function(){c(s.takeRecords()),r(!0)})),l((function(){i=0,w=-1,o=d("CLS",0),r=v(a,o,n,t.reportAllChanges)})))},O={passive:!0,capture:!0},j=new Date,E=function(e,t){r||(r=t,a=e,o=new Date,C(removeEventListener),x())},x=function(){if(a>=0&&a1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){E(e,t),a()},r=function(){a()},a=function(){removeEventListener("pointerup",n,O),removeEventListener("pointercancel",r,O)};addEventListener("pointerup",n,O),addEventListener("pointercancel",r,O)}(t,e):E(t,e)}},C=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,M,O)}))},R=function(e,t){t=t||{};var n,o=[100,300],u=_(),c=d("FID"),s=function(e){e.startTimet.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};q[r.id]=r,Z.push(r)}Z.sort((function(e,t){return t.latency-e.latency})),Z.splice(10).forEach((function(e){delete q[e.id]}))}},H=function(e,t){t=t||{};var n=[200,500];"interactionCount"in performance||u||(u=p("event",k,{type:"event",buffered:!0,durationThreshold:0}));var r,a=d("INP"),o=function(e){e.forEach((function(e){e.interactionId&&B(e),"first-input"===e.entryType&&!Z.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&B(e)}));var t,n=(t=Math.min(Z.length-1,Math.floor(D()/50)),Z[t]);n&&n.latency!==a.value&&(a.value=n.latency,a.entries=n.entries,r())},i=p("event",o,{durationThreshold:t.durationThreshold||40});r=v(e,a,n,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h((function(){o(i.takeRecords()),a.value<0&&D()>0&&(a.value=0,a.entries=[]),r(!0)})),l((function(){Z=[],N=I(),a=d("INP"),r=v(e,a,n,t.reportAllChanges)})))},F={},U=function(e,t){t=t||{};var n,r=[2500,4e3],a=_(),o=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var r=t.startTime-f();rperformance.now())return;r.entries=[o],a(!0),l((function(){r=d("TTFB",0),(a=v(e,r,n,t.reportAllChanges))(!0)}))}}))};e.exports=n}()},676:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.getProperError=function(e){if(a(e))return e;0;return new Error(r.isPlainObject(e)?JSON.stringify(e):e+"")};var r=n(8887);function a(e){return"object"===typeof e&&null!==e&&"name"in e&&"message"in e}},655:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return o},__asyncDelegator:function(){return j},__asyncGenerator:function(){return O},__asyncValues:function(){return E},__await:function(){return S},__awaiter:function(){return h},__classPrivateFieldGet:function(){return A},__classPrivateFieldIn:function(){return T},__classPrivateFieldSet:function(){return L},__createBinding:function(){return y},__decorate:function(){return u},__esDecorate:function(){return l},__exportStar:function(){return m},__extends:function(){return a},__generator:function(){return v},__importDefault:function(){return R},__importStar:function(){return C},__makeTemplateObject:function(){return x},__metadata:function(){return p},__param:function(){return c},__propKey:function(){return f},__read:function(){return _},__rest:function(){return i},__runInitializers:function(){return s},__setFunctionName:function(){return d},__spread:function(){return b},__spreadArray:function(){return w},__spreadArrays:function(){return P},__values:function(){return g}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;u--)(a=e[u])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!==typeof e)throw new TypeError("Function expected");return e}for(var u,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",s=!t&&e?r.static?e:e.prototype:null,f=t||(s?Object.getOwnPropertyDescriptor(s,r.name):{}),d=!1,p=n.length-1;p>=0;p--){var h={};for(var v in r)h[v]="access"===v?{}:r[v];for(var v in r.access)h.access[v]=r.access[v];h.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var y=(0,n[p])("accessor"===c?{get:f.get,set:f.set}:f[l],h);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!==typeof y)throw new TypeError("Object expected");(u=i(y.get))&&(f.get=u),(u=i(y.set))&&(f.set=u),(u=i(y.init))&&a.push(u)}else(u=i(y))&&("field"===c?a.push(u):f[l]=u)}s&&Object.defineProperty(s,r.name,f),d=!0}function s(e,t,n){for(var r=arguments.length>2,a=0;a0&&a[a.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function b(){for(var e=[],t=0;t1||u(e,t)}))})}function u(e,t){try{(n=a[e](t)).value instanceof S?Promise.resolve(n.value.v).then(c,l):s(o[0][2],n)}catch(r){s(o[0][3],r)}var n}function c(e){u("next",e)}function l(e){u("throw",e)}function s(e,t){e(t),o.shift(),o.length&&u(o[0][0],o[0][1])}}function j(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function E(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var M=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&y(t,e,n);return M(t,e),t}function R(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function T(e,t){if(null===t||"object"!==typeof t&&"function"!==typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof e?t===e:e.has(t)}},2431:function(){}},function(e){e.O(0,[774],(function(){return t=2870,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{5300:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}},9241:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t&&("object"===a.default(t)||"function"===typeof t))return t;return r.default(e)};var r=o(n(8646)),a=o(n(5753));function o(e){return e&&e.__esModule?e:{default:e}}},5814:function(e,t){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return n(e,t)}},4941:function(e,t,n){"use strict";t.Z=function(e,t){return r.default(e)||a.default(e,t)||i.default(e,t)||o.default()};var r=u(n(6564)),a=u(n(1301)),o=u(n(6936)),i=u(n(2149));function u(e){return e&&e.__esModule?e:{default:e}}},3929:function(e,t,n){"use strict";t.Z=function(e){return r.default(e)||a.default(e)||i.default(e)||o.default()};var r=u(n(2568)),a=u(n(1301)),o=u(n(4162)),i=u(n(2149));function u(e){return e&&e.__esModule?e:{default:e}}},2401:function(e,t,n){"use strict";Object.defineProperty(t,"Z",{enumerable:!0,get:function(){return r.__generator}});var r=n(655)},5753:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&e.constructor===Symbol?"symbol":typeof e}},2149:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)return;if("string"===typeof e)return a.default(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a.default(e,t)};var r,a=(r=n(5300))&&r.__esModule?r:{default:r}},9968:function(e,t,n){"use strict";t.Z=function(e){return c(e)};var r=u(n(5317)),a=u(n(4499)),o=u(n(898)),i=u(n(5814));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){var t="function"===typeof Map?new Map:void 0;return c=function(e){if(null===e||!a.default(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return r.default(e,arguments,o.default(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i.default(n,e)},c(e)}},37:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce((function(e,t){return e[t[0]]=t[1],e}),{})})},8684:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBasePath=function(e,t){0;return a.normalizePathTrailingSlash(r.addPathPrefix(e,""))};var r=n(5391),a=n(2392);("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2725:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(3929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=void 0;n(2392);t.addLocale=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&void 0!==i[0]?i[0]:e,k=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=k,z=k.defaultLocale,t=k.assetPrefix||"",n.p="".concat(t,"/_next/"),r={},b.setConfig((r.serverRuntimeConfig={},r.publicRuntimeConfig=k.runtimeConfig||{},r)),I=P.getURL(),A.hasBasePath(I)&&(I=R.removeBasePath(I)),k.scriptLoader&&(0,n(699).initScriptLoader)(k.scriptLoader),N=new O.default(k.buildId,t),a=function(e){var t=u(e,2),n=t[0],r=t[1];return N.routeLoader.onEntrypoint(n,r)},window.__NEXT_P&&window.__NEXT_P.map((function(e){return setTimeout((function(){return a(e)}),0)})),window.__NEXT_P=[],window.__NEXT_P.push=a,(Z=S.default()).getIsSsr=function(){return p.isSsr},D=document.getElementById("__next"),[2,((o={}).assetPrefix=t,o)]}))})),K.apply(this,arguments)}function $(e,t){return h.default.createElement(e,Object.assign({},t))}function X(e){var t=e.children;return h.default.createElement(V,{fn:function(e){return J({App:H,err:e}).catch((function(e){return console.error("Error rendering page: ",e)}))}},h.default.createElement(m.RouterContext.Provider,{value:x.makePublicRouterInstance(p)},h.default.createElement(v.HeadManagerContext.Provider,{value:Z},h.default.createElement(C.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}},t))))}var Y=function(e){return function(t){var n=f({},t,{Component:U,err:k.err,router:p});return h.default.createElement(X,null,$(e,n))}};function J(e){var t=e.App,r=e.err;return console.error(r),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),N.loadPage("/_error").then((function(r){var a=r.page,o=r.styleSheets;return(null==q?void 0:q.Component)===a?Promise.resolve().then((function(){return i(n(9185))})).then((function(r){return Promise.resolve().then((function(){return i(n(6029))})).then((function(n){return t=n.default,e.App=t,r}))})).then((function(e){return{ErrorComponent:e.default,styleSheets:[]}})):{ErrorComponent:a,styleSheets:o}})).then((function(n){var a,o=n.ErrorComponent,i=n.styleSheets,u=Y(t),c={Component:o,AppTree:u,router:p,ctx:{err:r,pathname:k.page,query:k.query,asPath:I,AppTree:u}};return Promise.resolve((null==(a=e.props)?void 0:a.err)?e.props:P.loadGetInitialProps(t,c)).then((function(t){return ie(f({},e,{err:r,Component:o,styleSheets:i,props:t}))}))}))}function Q(e){var t=e.callback;return h.default.useLayoutEffect((function(){return t()}),[t]),null}var ee=null,te=!0;function ne(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((function(e){return performance.clearMarks(e)}))}function re(){P.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),F&&performance.getEntriesByName("Next.js-hydration").forEach(F),ne())}function ae(){if(P.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),F&&(performance.getEntriesByName("Next.js-render").forEach(F),performance.getEntriesByName("Next.js-route-change-to-render").forEach(F)),ne(),["Next.js-route-change-to-render","Next.js-render"].forEach((function(e){return performance.clearMeasures(e)})))}}function oe(e){var t=e.callbacks,n=e.children;return h.default.useLayoutEffect((function(){return t.forEach((function(e){return e()}))}),[t]),h.default.useEffect((function(){j.default(F)}),[]),n}function ie(e){var t=function(){l()},n=e.App,r=e.Component,a=e.props,o=e.err,i=e.__N_RSC,u="initial"in e?void 0:e.styleSheets;r=r||q.Component,a=a||q.props;var c=f({},a,{Component:!!i?undefined:r,err:o,router:p});q=c;var l,s=!1,d=new Promise((function(e,t){B&&B(),l=function(){B=null,e()},B=function(){s=!0,B=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));!function(){if(!u)return!1;var e=W(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((function(e){return e.getAttribute("data-n-href")}))),n=document.querySelector("noscript[data-n-css]"),r=null==n?void 0:n.getAttribute("data-n-css");u.forEach((function(e){var n=e.href,a=e.text;if(!t.has(n)){var o=document.createElement("style");o.setAttribute("data-n-href",n),o.setAttribute("media","x"),r&&o.setAttribute("nonce",r),document.head.appendChild(o),o.appendChild(document.createTextNode(a))}}))}();var v=h.default.createElement(h.default.Fragment,null,h.default.createElement(Q,{callback:function(){if(u&&!s){for(var t=new Set(u.map((function(e){return e.href}))),n=W(document.querySelectorAll("style[data-n-href]")),r=n.map((function(e){return e.getAttribute("data-n-href")})),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,n=void 0!==t&&t,r=e.hybrid,a=void 0!==r&&r,o=e.hasQuery,i=void 0!==o&&o;return n||a&&i}},489:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeStringRegexp=function(e){if(n.test(e))return e.replace(r,"\\$&");return e};var n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g},8404:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;var r=(0,n(2648).Z)(n(7294)).default.createContext({});t.HeadManagerContext=r},5443:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=s,t.default=void 0;var r=n(6495).Z,a=n(2648).Z,o=(0,n(1598).Z)(n(7294)),i=a(n(5188)),u=n(2227),c=n(8404),l=n(7363);n(3794);function s(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}var d=["name","httpEquiv","charSet","itemProp"];function p(e,t){var n=t.inAmpMode;return e.reduce(f,[]).reverse().concat(s(n).reverse()).filter(function(){var e=new Set,t=new Set,n=new Set,r={};return function(a){var o=!0,i=!1;if(a.key&&"number"!==typeof a.key&&a.key.indexOf("$")>0){i=!0;var u=a.key.slice(a.key.indexOf("$")+1);e.has(u)?o=!1:e.add(u)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(var c=0,l=d.length;c>>0,1)},emit:function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o1&&r.status>=500?K(e,t-1,n):r}))}var $={};function X(e){try{return JSON.parse(e)}catch(t){return null}}function Y(e){var t,n=e.dataHref,r=e.inflightCache,a=e.isPrefetch,o=e.hasMiddleware,i=e.isServerRender,u=e.parseJSON,c=e.persistCache,l=e.isBackground,s=e.unstable_skipClientCache,f=new URL(n,window.location.href).href,d=function(e){return K(n,i?3:1,{headers:a?{purpose:"prefetch"}:{},method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then((function(t){return t.ok&&"HEAD"===(null==e?void 0:e.method)?{dataHref:n,response:t,text:"",json:{},cacheKey:f}:t.text().then((function(e){if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:n,response:t,text:e,json:{},cacheKey:f};var r;if(!o&&404===t.status)if(null==(r=X(e))?void 0:r.notFound)return{dataHref:n,json:{notFound:V},response:t,text:e,cacheKey:f};var a=new Error("Failed to load static props");throw i||p.markAssetError(a),a}return{dataHref:n,json:u?X(e):null,response:t,text:e,cacheKey:f}}))})).then((function(e){return c&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[f],e})).catch((function(e){throw delete r[f],e}))};return s&&c?d({}).then((function(e){return r[f]=Promise.resolve(e),e})):void 0!==r[f]?r[f]:r[f]=d(l?{method:"HEAD"}:{})}function J(){return Math.random().toString(36).slice(2,10)}function Q(e){var t=e.url,n=e.router;if(t===A.addBasePath(M.addLocale(n.asPath,n.locale)))throw new Error("Invariant: attempted to hard navigate to the same URL ".concat(t," ").concat(location.href));window.location.href=t}var ee=function(e){var t=e.route,n=e.router,r=!1,a=n.clc=function(){r=!0};return function(){if(r){var e=new Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}a===n.clc&&(n.clc=null)}},te=function(){function e(t,n,a,o){var i=o.initialProps,u=o.pageLoader,c=o.App,l=o.wrapApp,s=o.Component,f=o.err,p=o.subscription,h=o.isFallback,v=o.locale,y=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview),m=o.isRsc,g=this;r(this,e),this.sdc={},this.isFirstPopStateEvent=!0,this._key=J(),this.onPopState=function(e){var t=g.isFirstPopStateEvent;g.isFirstPopStateEvent=!1;var n=e.state;if(n){if(n.__NA)window.location.reload();else if(n.__N&&(!t||g.locale!==n.options.locale||n.as!==g.asPath)){var r=n.url,a=n.as,o=n.options,i=n.key;g._key=i;var u=P.parseRelativeUrl(r).pathname;g.isSsr&&a===A.addBasePath(g.asPath)&&u===A.addBasePath(g.pathname)||g._bps&&!g._bps(n)||g.change("replaceState",r,a,Object.assign({},o,{shallow:o.shallow&&g._shallow,locale:o.locale||g.defaultLocale,_h:0}),undefined)}}else{var c=g.pathname,l=g.query;g.changeState("replaceState",E.formatWithValidation({pathname:A.addBasePath(c),query:l}),_.getURL())}};var w=d.removeTrailingSlash(t);this.components={},"/_error"!==t&&(this.components[w]={Component:s,initial:!0,props:i,err:f,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP,__N_RSC:!!m}),this.components["/_app"]={Component:c,styleSheets:[]},this.events=e.events,this.pageLoader=u;var S=b.isDynamicRoute(t)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=p,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!S&&!self.location.search),this.state={route:w,pathname:t,query:n,asPath:S?t:a,isPreview:!!y,locale:void 0,isFallback:h},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!a.startsWith("//")){var O={locale:v},j=_.getURL();this._initialMatchesMiddlewarePromise=D({router:this,locale:v,asPath:j}).then((function(e){return O._shouldResolveHref=a!==t,g.changeState("replaceState",e?j:E.formatWithValidation({pathname:A.addBasePath(t),query:n}),j,O),e}))}window.addEventListener("popstate",this.onPopState)}return a(e,[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=(n=W(this,e,t)).url,t=n.as,this.change("pushState",e,t,r)}},{key:"replace",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=(n=W(this,e,t)).url,t=n.as,this.change("replaceState",e,t,r)}},{key:"change",value:function(t,n,r,a,l){var s=this;return u((function(){var u,f,y,m,g,w,S,T,k,Z,q,U,G,K,$,X,Y,J,ee,te,ne,re,ae,oe,ie,ue,ce,le,se,fe,de,pe,he,ve,ye,me,ge,_e,be,Pe,we,Se,Oe,je,Ee,xe,Me,Ce,Re,Ae,Le,Te,ke,Ie,Ne,De,Ze,qe,Be,He,Fe,Ue,We,ze,Ge,Ve,Ke,$e,Xe,Ye,Je;return i(this,(function(i){switch(i.label){case 0:if(u={},!H(n))return Q((u.url=n,u.router=s,u)),[2,!1];if(f=a._h,y=f||a._shouldResolveHref||x.parsePath(n).pathname===x.parsePath(r).pathname,m=c({},s.state),g=!0!==s.isReady,s.isReady=!0,w=s.isSsr,f||(s.isSsr=!1),f&&s.clc)return[2,!1];if(S=m.locale,{},{},_.ST&&performance.mark("routeChange"),T=a.shallow,k=void 0!==T&&T,Z=a.scroll,q=void 0===Z||Z,(G={}).shallow=k,U=G,s._inFlightRoute&&s.clc&&(w||e.events.emit("routeChangeError",N(),s._inFlightRoute,U),s.clc(),s.clc=null),r=A.addBasePath(M.addLocale(L.hasBasePath(r)?R.removeBasePath(r):r,a.locale,s.defaultLocale)),K=C.removeLocale(L.hasBasePath(r)?R.removeBasePath(r):r,m.locale),s._inFlightRoute=r,$=S!==m.locale,f||!s.onlyAHashChange(K)||$)return[3,5];m.asPath=K,e.events.emit("hashChangeStart",r,U),X={},Y={},s.changeState(t,n,r,c(X,a,(Y.scroll=!1,Y))),q&&s.scrollToHash(K),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,s.set(m,s.components[m.route],null)];case 2:return i.sent(),[3,4];case 3:throw J=i.sent(),v.default(J)&&J.cancelled&&e.events.emit("routeChangeError",J,K,U),J;case 4:return e.events.emit("hashChangeComplete",r,U),[2,!0];case 5:ee=P.parseRelativeUrl(n),te=ee.pathname,ne=ee.query,i.label=6;case 6:return i.trys.push([6,8,,9]),[4,Promise.all([s.pageLoader.getPageList(),p.getClientBuildManifest(),s.pageLoader.getMiddleware()])];case 7:return ae=o.apply(void 0,[i.sent(),2]),re=ae[0],oe=ae[1],oe.__rewrites,[3,9];case 8:return i.sent(),Q(((ie={}).url=r,ie.router=s,ie)),[2,!1];case 9:return s.urlIsNew(K)||$||(t="replaceState"),ue=r,te=te?d.removeTrailingSlash(R.removeBasePath(te)):te,[4,D(((le={}).asPath=r,le.locale=m.locale,le.router=s,le))];case 10:if(ce=i.sent(),a.shallow&&ce&&(te=s.pathname),{},y&&"/_error"!==te&&(a._shouldResolveHref=!0,ee.pathname=z(te,re),ee.pathname!==te&&(te=ee.pathname,ee.pathname=A.addBasePath(te),ce||(n=E.formatWithValidation(ee)))),se={},!H(r))return Q((se.url=r,se.router=s,se)),[2,!1];if(ue=C.removeLocale(R.removeBasePath(ue),m.locale),fe=d.removeTrailingSlash(te),de=!1,ge={},b.isDynamicRoute(fe))if(pe=P.parseRelativeUrl(ue),he=pe.pathname,ve=j.getRouteRegex(fe),de=O.getRouteMatcher(ve)(he),me=(ye=fe===he)?F(fe,he,ne):ge,!de||ye&&!me.result){if((_e=Object.keys(ve.groups).filter((function(e){return!ne[e]}))).length>0&&!ce)throw new Error((ye?"The provided `href` (".concat(n,") value is missing query values (").concat(_e.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(he,") is incompatible with the `href` value (").concat(fe,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(ye?"href-interpolation-failed":"incompatible-href-as"))}else ye?r=E.formatWithValidation(Object.assign({},pe,{pathname:me.result,query:B(ne,me.params)})):Object.assign(ne,de);f||e.events.emit("routeChangeStart",r,U),i.label=11;case 11:return i.trys.push([11,21,,22]),Se={},[4,s.getRouteInfo((Se.route=fe,Se.pathname=te,Se.query=ne,Se.as=r,Se.resolvedAs=ue,Se.routeProps=U,Se.locale=m.locale,Se.isPreview=m.isPreview,Se.hasMiddleware=ce,Se))];case 12:if("route"in(we=i.sent())&&ce&&(te=we.route||fe,fe=te,U.shallow||(ne=Object.assign({},we.query||{},ne)),de&&te!==ee.pathname&&Object.keys(de).forEach((function(e){de&&ne[e]===de[e]&&delete ne[e]})),b.isDynamicRoute(te)&&(Oe=!U.shallow&&we.resolvedAs?we.resolvedAs:A.addBasePath(M.addLocale(new URL(r,location.href).pathname,m.locale),!0),je=Oe,L.hasBasePath(je)&&(je=R.removeBasePath(je)),Ee=j.getRouteRegex(te),(xe=O.getRouteMatcher(Ee)(je))&&Object.assign(ne,xe))),Me={},"type"in we)return"redirect-internal"===we.type?[2,s.change(t,we.newUrl,we.newAs,a)]:(Q((Me.url=we.destination,Me.router=s,Me)),[2,new Promise((function(){}))]);if(Ce=we.error,Re=we.props,Ae=we.__N_SSG,Le=we.__N_SSP,(Te=we.Component)&&Te.unstable_scriptLoader&&[].concat(Te.unstable_scriptLoader()).forEach((function(e){h.handleClientScriptLoad(e.props)})),!Ae&&!Le||!Re)return[3,18];if(qe={},Re.pageProps&&Re.pageProps.__N_REDIRECT)return a.locale=!1,(ke=Re.pageProps.__N_REDIRECT).startsWith("/")&&!1!==Re.pageProps.__N_REDIRECT_BASE_PATH?((Ie=P.parseRelativeUrl(ke)).pathname=z(Ie.pathname,re),Ne=W(s,ke,ke),De=Ne.url,Ze=Ne.as,[2,s.change(t,De,Ze,a)]):(Q((qe.url=ke,qe.router=s,qe)),[2,new Promise((function(){}))]);if(m.isPreview=!!Re.__N_PREVIEW,Re.notFound!==V)return[3,18];i.label=13;case 13:return i.trys.push([13,15,,16]),[4,s.fetchComponent("/404")];case 14:return i.sent(),Be="/404",[3,16];case 15:return i.sent(),Be="/_error",[3,16];case 16:return He={},[4,s.getRouteInfo((He.route=Be,He.pathname=Be,He.query=ne,He.as=r,He.resolvedAs=ue,He.routeProps={shallow:!1},He.locale=m.locale,He.isPreview=m.isPreview,He))];case 17:if("type"in(we=i.sent()))throw new Error("Unexpected middleware effect on /404");i.label=18;case 18:return e.events.emit("beforeHistoryChange",r,U),s.changeState(t,n,r,a),f&&"/_error"===te&&500===(null==(be=self.__NEXT_DATA__.props)||null==(Pe=be.pageProps)?void 0:Pe.statusCode)&&(null==Re?void 0:Re.pageProps)&&(Re.pageProps.statusCode=500),Ue=a.shallow&&m.route===(null!=(Fe=we.route)?Fe:fe),ze=null!=(We=a.scroll)?We:!a._h&&!Ue,Ve={},Ge=ze?(Ve.x=0,Ve.y=0,Ve):null,Ke=c({},m,(($e={}).route=fe,$e.pathname=te,$e.query=ne,$e.asPath=K,$e.isFallback=!1,$e)),Xe=null!=l?l:Ge,a._h&&!Xe&&!g&&!$&&I.compareRouterStates(Ke,s.state)?[3,20]:[4,s.set(Ke,we,Xe).catch((function(e){if(!e.cancelled)throw e;Ce=Ce||e}))];case 19:if(i.sent(),Ce)throw f||e.events.emit("routeChangeError",Ce,K,U),Ce;0,f||e.events.emit("routeChangeComplete",r,U),Ye=/#.+$/,ze&&Ye.test(r)&&s.scrollToHash(r),i.label=20;case 20:return[2,!0];case 21:if(Je=i.sent(),v.default(Je)&&Je.cancelled)return[2,!1];throw Je;case 22:return[2]}}))}))()}},{key:"changeState",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};"pushState"===e&&_.getURL()===n||(this._shallow=r.shallow,window.history[e]({url:t,as:n,options:r,__N:!0,key:this._key="pushState"!==e?this._key:J()},"",n))}},{key:"handleRouteInfoError",value:function(t,n,r,a,o,c){var l=this;return u((function(){var u,s,f,d,h,y,m,g,_;return i(this,(function(i){switch(i.label){case 0:if(console.error(t),t.cancelled)throw t;if(u={},p.isAssetError(t)||c)throw e.events.emit("routeChangeError",t,a,o),Q((u.url=a,u.router=l,u)),N();i.label=1;case 1:return i.trys.push([1,7,,8]),[4,l.fetchComponent("/_error")];case 2:if(s=i.sent(),f=s.page,d=s.styleSheets,(y={}).props=undefined,y.Component=f,y.styleSheets=d,y.err=t,y.error=t,(h=y).props)return[3,6];i.label=3;case 3:return i.trys.push([3,5,,6]),m={},[4,l.getInitialProps(f,(m.err=t,m.pathname=n,m.query=r,m))];case 4:return h.props=i.sent(),[3,6];case 5:return g=i.sent(),console.error("Error in error page `getInitialProps`: ",g),h.props={},[3,6];case 6:return[2,h];case 7:return _=i.sent(),[2,l.handleRouteInfoError(v.default(_)?_:new Error(_+""),n,r,a,o,!0)];case 8:return[2]}}))}))()}},{key:"getRouteInfo",value:function(e){var t=e.route,n=e.pathname,r=e.query,a=e.as,o=e.resolvedAs,l=e.routeProps,s=e.locale,f=e.hasMiddleware,p=e.isPreview,h=e.unstable_skipClientCache,y=this;return u((function(){var e,g,_,w,S,O,j,x,M,C,A,L,T,k,I,N,D,Z,q,B,H,U,W,z,V,K,X,J;return i(this,(function(te){switch(te.label){case 0:e=t,te.label=1;case 1:return te.trys.push([1,10,,11]),S=ee(((O={}).route=e,O.router=y,O)),j=y.components[e],l.shallow&&j&&y.route===e?[2,j]:(f&&(j=void 0),x=j&&!("initial"in j)?j:void 0,(C={}).dataHref=y.pageLoader.getDataHref({href:E.formatWithValidation({pathname:n,query:r}),skipInterpolation:!0,asPath:o,locale:s}),C.hasMiddleware=!0,C.isServerRender=y.isSsr,C.parseJSON=!0,C.inflightCache=y.sdc,C.persistCache=!p,C.isPrefetch=!1,C.unstable_skipClientCache=h,M=C,[4,G(((L={}).fetchData=function(){return Y(M)},L.asPath=o,L.locale=s,L.router=y,L))]);case 2:return A=te.sent(),S(),"redirect-internal"===(null==A||null==(g=A.effect)?void 0:g.type)||"redirect-external"===(null==A||null==(_=A.effect)?void 0:_.type)?[2,A.effect]:(T={},k={},"rewrite"===(null==A||null==(w=A.effect)?void 0:w.type)&&(e=d.removeTrailingSlash(A.effect.resolvedHref),n=A.effect.resolvedHref,r=c({},r,A.effect.parsedAs.query),o=R.removeBasePath(m.normalizeLocalePath(A.effect.parsedAs.pathname,y.locales).pathname),j=y.components[e],l.shallow&&j&&y.route===e&&!f)?[2,c(T,j,(k.route=e,k))]:(I={},"/api"===e||e.startsWith("/api/")?(Q((I.url=a,I.router=y,I)),[2,new Promise((function(){}))]):(D=x)?[3,4]:[4,y.fetchComponent(e).then((function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP,__N_RSC:!!e.mod.__next_rsc__}}))]));case 3:D=te.sent(),te.label=4;case 4:return Z=(N=D).__N_RSC&&N.__N_SSP,q=N.__N_SSG||N.__N_SSP||N.__N_RSC,[4,y._getData(u((function(){var e,t,u,c,l,f,d,v;return i(this,(function(i){switch(i.label){case 0:return!q||Z?[3,4]:(null==A?void 0:A.json)?(c=A,[3,3]):[3,1];case 1:return[4,Y(((l={}).dataHref=y.pageLoader.getDataHref({href:E.formatWithValidation({pathname:n,query:r}),asPath:o,locale:s}),l.isServerRender=y.isSsr,l.parseJSON=!0,l.inflightCache=y.sdc,l.persistCache=!p,l.isPrefetch=!1,l.unstable_skipClientCache=h,l))];case 2:c=i.sent(),i.label=3;case 3:return t=(e=c).json,u=e.cacheKey,[2,((f={}).cacheKey=u,f.props=t||{},f)];case 4:return d={headers:{},cacheKey:""},v={},[4,y.getInitialProps(N.Component,(v.pathname=n,v.query=r,v.asPath=a,v.locale=s,v.locales=y.locales,v.defaultLocale=y.defaultLocale,v))];case 5:return[2,(d.props=i.sent(),d)]}}))})))];case 5:return B=te.sent(),H=B.props,U=B.cacheKey,N.__N_SSP&&M.dataHref&&delete y.sdc[U],W={},z={},!y.isPreview&&N.__N_SSG&&Y(Object.assign(W,M,(z.isBackground=!0,z.persistCache=!1,z.inflightCache=$,z))).catch((function(){})),N.__N_RSC?(K={},Z?[4,y._getData((function(){return y._getFlightData(E.formatWithValidation({query:c({},r,{__flight__:"1"}),pathname:b.isDynamicRoute(e)?F(n,P.parseRelativeUrl(o).pathname,r).result:n}))}))]:[3,7]):[3,9];case 6:return X=te.sent().data,[3,8];case 7:X=H.__flight__,te.label=8;case 8:K.__flight__=X,V=K,te.label=9;case 9:return H.pageProps=Object.assign({},H.pageProps,V),N.props=H,N.route=e,N.query=r,N.resolvedAs=o,y.components[e]=N,[2,N];case 10:return J=te.sent(),[2,y.handleRouteInfoError(v.getProperError(J),n,r,a,l)];case 11:return[2]}}))}))()}},{key:"set",value:function(e,t,n){return this.state=e,this.sub(t,this.components["/_app"].Component,n)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=o(this.asPath.split("#"),2),n=t[0],r=t[1],a=o(e.split("#"),2),i=a[0],u=a[1];return!(!u||n!==i||r!==u)||n===i&&r!==u}},{key:"scrollToHash",value:function(e){var t=o(e.split("#"),2)[1],n=void 0===t?"":t;if(""!==n&&"top"!==n){var r=decodeURIComponent(n),a=document.getElementById(r);if(a)a.scrollIntoView();else{var i=document.getElementsByName(r)[0];i&&i.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this;return u((function(){var a,o,u,c,l,s,f,p,h,v,y;return i(this,(function(i){switch(i.label){case 0:return a=P.parseRelativeUrl(e),o=a.pathname,u=a.query,[4,r.pageLoader.getPageList()];case 1:return c=i.sent(),l=t,s="undefined"!==typeof n.locale?n.locale||void 0:r.locale,[3,3];case 2:if(p=i.sent(),f=p.__rewrites,(h=S.default(A.addBasePath(M.addLocale(t,r.locale),!0),c,f,a.query,(function(e){return z(e,c)}),r.locales)).externalDest)return[2];l=C.removeLocale(R.removeBasePath(h.asPath),r.locale),h.matchedPage&&h.resolvedHref&&(o=h.resolvedHref,a.pathname=o,e=E.formatWithValidation(a)),i.label=3;case 3:return a.pathname=z(a.pathname,c),v={},b.isDynamicRoute(a.pathname)&&(o=a.pathname,a.pathname=o,Object.assign(u,O.getRouteMatcher(j.getRouteRegex(a.pathname))(x.parsePath(t).pathname)||v),e=E.formatWithValidation(a)),y=d.removeTrailingSlash(o),[4,Promise.all([r.pageLoader._isSsg(y).then((function(t){return!!t&&Y({dataHref:r.pageLoader.getDataHref({href:e,asPath:l,locale:s}),isServerRender:!1,parseJSON:!0,inflightCache:r.sdc,persistCache:!r.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!0}).then((function(){return!1}))})),r.pageLoader[n.priority?"loadPage":"prefetch"](y)])];case 4:return i.sent(),[2]}}))}))()}},{key:"fetchComponent",value:function(e){var t=this;return u((function(){var n,r,a,o;return i(this,(function(i){switch(i.label){case 0:n=ee(((r={}).route=e,r.router=t,r)),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,t.pageLoader.loadPage(e)];case 2:return a=i.sent(),n(),[2,a];case 3:throw o=i.sent(),n(),o;case 4:return[2]}}))}))()}},{key:"_getData",value:function(e){var t=this,n=!1,r=function(){n=!0};return this.clc=r,e().then((function(e){if(r===t.clc&&(t.clc=null),n){var a=new Error("Loading initial props cancelled");throw a.cancelled=!0,a}return e}))}},{key:"_getFlightData",value:function(e){return Y({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then((function(e){return{data:e.text}}))}},{key:"getInitialProps",value:function(e,t){var n=this.components["/_app"].Component,r=this._wrapApp(n);return t.AppTree=r,_.loadGetInitialProps(n,{AppTree:r,Component:e,router:this,ctx:t})}},{key:"route",get:function(){return this.state.route}},{key:"pathname",get:function(){return this.state.pathname}},{key:"query",get:function(){return this.state.query}},{key:"asPath",get:function(){return this.state.asPath}},{key:"locale",get:function(){return this.state.locale}},{key:"isFallback",get:function(){return this.state.isFallback}},{key:"isPreview",get:function(){return this.state.isPreview}}]),e}();te.events=g.default(),t.default=te},7459:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addLocale=function(e,t,n,o){if(t&&t!==n&&(o||!a.pathHasPrefix(e.toLowerCase(),"/".concat(t.toLowerCase()))&&!a.pathHasPrefix(e.toLowerCase(),"/api")))return r.addPathPrefix(e,"/".concat(t));return e};var r=n(5391),a=n(1259)},5391:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathPrefix=function(e,t){if(!e.startsWith("/")||!t)return e;var n=r.parsePath(e),a=n.pathname,o=n.query,i=n.hash;return"".concat(t).concat(a).concat(o).concat(i)};var r=n(4943)},4156:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPathSuffix=function(e,t){if(!e.startsWith("/")||!t)return e;var n=r.parsePath(e),a=n.pathname,o=n.query,i=n.hash;return"".concat(a).concat(t).concat(o).concat(i)};var r=n(4943)},610:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compareRouterStates=function(e,t){var n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(var r=n.length;r--;){var a=n[r];if("query"===a){var o=Object.keys(e.query);if(o.length!==Object.keys(t.query).length)return!1;for(var i=o.length;i--;){var u=o[i];if(!t.query.hasOwnProperty(u)||e.query[u]!==t.query[u])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}},4022:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatNextPathnameInfo=function(e){var t=i.addLocale(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);e.buildId&&(t=o.addPathSuffix(a.addPathPrefix(t,"/_next/data/".concat(e.buildId)),"/"===e.pathname?"index.json":".json"));return t=a.addPathPrefix(t,e.basePath),e.trailingSlash?e.buildId||t.endsWith("/")?t:o.addPathSuffix(t,"/"):r.removeTrailingSlash(t)};var r=n(6316),a=n(5391),o=n(4156),i=n(7459)},4611:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=o,t.formatWithValidation=function(e){0;return o(e)},t.urlObjectKeys=void 0;var r=(0,n(1598).Z)(n(466)),a=/https?|ftp|gopher|file/;function o(e){var t=e.auth,n=e.hostname,o=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:n&&(l=t+(~n.indexOf(":")?"[".concat(n,"]"):n),e.port&&(l+=":"+e.port)),c&&"object"===typeof c&&(c=String(r.urlQueryToSearchParams(c)));var s=e.search||c&&"?".concat(c)||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||a.test(o))&&!1!==l?(l="//"+(l||""),i&&"/"!==i[0]&&(i="/"+i)):l||(l=""),u&&"#"!==u[0]&&(u="#"+u),s&&"?"!==s[0]&&(s="?"+s),i=i.replace(/[?#]/g,encodeURIComponent),s=s.replace("#","%23"),"".concat(o).concat(l).concat(i).concat(s).concat(u)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},3891:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e);return n+t}},159:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNextPathnameInfo=function(e,t){var n,i=null!=(n=t.nextConfig)?n:{},u=i.basePath,c=i.i18n,l=i.trailingSlash,s={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):l};u&&o.pathHasPrefix(s.pathname,u)&&(s.pathname=a.removePathPrefix(s.pathname,u),s.basePath=u);if(!0===t.parseData&&s.pathname.startsWith("/_next/data/")&&s.pathname.endsWith(".json")){var f=s.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),d=f[0];s.pathname="index"!==f[1]?"/".concat(f.slice(1).join("/")):"/",s.buildId=d}if(c){var p=r.normalizeLocalePath(s.pathname,c.locales);s.locale=null==p?void 0:p.detectedLocale,s.pathname=(null==p?void 0:p.pathname)||s.pathname}return s};var r=n(4317),a=n(9244),o=n(1259)},418:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a.isDynamicRoute}});var r=n(3907),a=n(8689)},8689:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return n.test(e)};var n=/\/\[[^/]+?\](?=\/|$)/},4943:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePath=function(e){var t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n-1)return{pathname:e.substring(0,r?n:t),query:r?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""};return{pathname:e,query:"",hash:""}}},6305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var n=new URL(r.getLocationOrigin()),o=t?new URL(t,n):e.startsWith(".")?new URL(window.location.href):n,i=new URL(e,o),u=i.pathname,c=i.searchParams,l=i.search,s=i.hash,f=i.href;if(i.origin!==n.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:a.searchParamsToUrlQuery(c),search:l,hash:s,href:f.slice(n.origin.length)}};var r=n(3794),a=n(466)},1259:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathHasPrefix=function(e,t){if("string"!==typeof e)return!1;var n=r.parsePath(e).pathname;return n===t||n.startsWith(t+"/")};var r=n(4943)},466:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4941).Z;function a(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){var t={};return e.forEach((function(e,n){"undefined"===typeof t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]})),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach((function(e){var n=r(e,2),o=n[0],i=n[1];Array.isArray(i)?i.forEach((function(e){return t.append(o,a(e))})):t.set(o,a(i))})),t},t.assign=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r122&&(t++,e=97);return n}}(),r={};return{namedParameterizedRoute:t.map((function(e){if(e.startsWith("[")&&e.endsWith("]")){var t=i(e.slice(1,-1)),o=t.key,u=t.optional,c=t.repeat,l=o.replace(/\W/g,""),s=!1;return(0===l.length||l.length>30)&&(s=!0),isNaN(parseInt(l.slice(0,1)))||(s=!0),s&&(l=n()),r[l]=o,c?u?"(?:/(?<".concat(l,">.+?))?"):"/(?<".concat(l,">.+?)"):"/(?<".concat(l,">[^/]+?)")}return"/".concat(a.escapeStringRegexp(e))})).join(""),routeKeys:r}}},3907:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9658).Z,a=n(7222).Z,o=n(3929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedRoutes=function(e){var t=new i;return e.forEach((function(e){return t.insert(e)})),t.smoosh()};var i=function(){function e(){r(this,e),this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}return a(e,[{key:"insert",value:function(e){this._insert(e.split("/").filter(Boolean),[],!1)}},{key:"smoosh",value:function(){return this._smoosh()}},{key:"_smoosh",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=this,n=o(this.children.keys()).sort();null!==this.slugName&&n.splice(n.indexOf("[]"),1),null!==this.restSlugName&&n.splice(n.indexOf("[...]"),1),null!==this.optionalRestSlugName&&n.splice(n.indexOf("[[...]]"),1);var r,a,i,u=n.map((function(n){return t.children.get(n)._smoosh("".concat(e).concat(n,"/"))})).reduce((function(e,t){return o(e).concat(o(t))}),[]);null!==this.slugName&&(r=u).push.apply(r,o(this.children.get("[]")._smoosh("".concat(e,"[").concat(this.slugName,"]/"))));if(!this.placeholder){var c="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(c,'" and "').concat(c,"[[...").concat(this.optionalRestSlugName,']]").'));u.unshift(c)}null!==this.restSlugName&&(a=u).push.apply(a,o(this.children.get("[...]")._smoosh("".concat(e,"[...").concat(this.restSlugName,"]/"))));null!==this.optionalRestSlugName&&(i=u).push.apply(i,o(this.children.get("[[...]]")._smoosh("".concat(e,"[[...").concat(this.optionalRestSlugName,"]]/"))));return u}},{key:"_insert",value:function(t,n,r){if(0!==t.length){if(r)throw new Error("Catch-all must be the last part of the URL.");var a=t[0];if(a.startsWith("[")&&a.endsWith("]")){var o=function(e,t){if(null!==e&&e!==t)throw new Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(t,"')."));n.forEach((function(e){if(e===t)throw new Error('You cannot have the same slug name "'.concat(t,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw new Error('You cannot have the slug names "'.concat(e,'" and "').concat(t,'" differ only by non-word symbols within a single dynamic path'))})),n.push(t)},i=a.slice(1,-1),u=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),u=!0),i.startsWith("...")&&(i=i.substring(3),r=!0),i.startsWith("[")||i.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('".concat(i,"')."));if(i.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('".concat(i,"')."));if(r)if(u){if(null!=this.restSlugName)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(t[0],'" ).'));o(this.optionalRestSlugName,i),this.optionalRestSlugName=i,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(t[0],'").'));o(this.restSlugName,i),this.restSlugName=i,a="[...]"}else{if(u)throw new Error('Optional route parameters are not yet supported ("'.concat(t[0],'").'));o(this.slugName,i),this.slugName=i,a="[]"}}this.children.has(a)||this.children.set(a,new e),this.children.get(a)._insert(t.slice(1),n,r)}else this.placeholder=!1}}]),e}()},8027:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){n=e},t.default=void 0;t.default=function(){return n},("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5188:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(){if(n&&n.mountedInstances){var t=r.Children.toArray(Array.from(n.mountedInstances).filter(Boolean));n.updateHead(u(t,e))}},n=e.headManager,u=e.reduceComponentsToState;if(a){var c;null==n||null==(c=n.mountedInstances)||c.add(e.children),t()}return o((function(){var t;return null==n||null==(t=n.mountedInstances)||t.add(e.children),function(){var t;null==n||null==(t=n.mountedInstances)||t.delete(e.children)}})),o((function(){return n&&(n._pendingUpdate=t),function(){n&&(n._pendingUpdate=t)}})),i((function(){return n&&n._pendingUpdate&&(n._pendingUpdate(),n._pendingUpdate=null),function(){n&&n._pendingUpdate&&(n._pendingUpdate(),n._pendingUpdate=null)}})),null};var r=(0,n(1598).Z)(n(7294));var a=!1,o=a?function(){}:r.useLayoutEffect,i=a?function(){}:r.useEffect},3794:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9658).Z,a=n(7788).Z,o=n(3929).Z,i=n(9968).Z,u=n(7735).Z,c=n(2401).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){var t,n=!1;return function(){for(var r=arguments.length,a=new Array(r),i=0;i=0?r="back-forward-cache":n&&(r=document.prerendering||f()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},p=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){t(e.getEntries())}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},h=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},v=function(e,t,n,r){var a,o;return function(i){t.value>=0&&(i||r)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},y=-1,m=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},g=function(){h((function(e){var t=e.timeStamp;y=t}),!0)},_=function(){return y<0&&(y=m(),g(),l((function(){setTimeout((function(){y=m(),g()}),0)}))),{get firstHiddenTime(){return y}}},b=function(e,t){t=t||{};var n,r=[1800,3e3],a=_(),o=d("FCP"),i=function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(c&&c.disconnect(),e.startTime-1&&e(t)},o=d("CLS",0),i=0,u=[],c=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=u[0],n=u[u.length-1];i&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,u.push(e)):(i=e.value,u=[e]),i>o.value&&(o.value=i,o.entries=u,r())}}))},s=p("layout-shift",c);s&&(r=v(a,o,n,t.reportAllChanges),h((function(){c(s.takeRecords()),r(!0)})),l((function(){i=0,w=-1,o=d("CLS",0),r=v(a,o,n,t.reportAllChanges)})))},O={passive:!0,capture:!0},j=new Date,E=function(e,t){r||(r=t,a=e,o=new Date,C(removeEventListener),x())},x=function(){if(a>=0&&a1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){E(e,t),a()},r=function(){a()},a=function(){removeEventListener("pointerup",n,O),removeEventListener("pointercancel",r,O)};addEventListener("pointerup",n,O),addEventListener("pointercancel",r,O)}(t,e):E(t,e)}},C=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,M,O)}))},R=function(e,t){t=t||{};var n,o=[100,300],u=_(),c=d("FID"),s=function(e){e.startTimet.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};q[r.id]=r,Z.push(r)}Z.sort((function(e,t){return t.latency-e.latency})),Z.splice(10).forEach((function(e){delete q[e.id]}))}},H=function(e,t){t=t||{};var n=[200,500];"interactionCount"in performance||u||(u=p("event",k,{type:"event",buffered:!0,durationThreshold:0}));var r,a=d("INP"),o=function(e){e.forEach((function(e){e.interactionId&&B(e),"first-input"===e.entryType&&!Z.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&B(e)}));var t,n=(t=Math.min(Z.length-1,Math.floor(D()/50)),Z[t]);n&&n.latency!==a.value&&(a.value=n.latency,a.entries=n.entries,r())},i=p("event",o,{durationThreshold:t.durationThreshold||40});r=v(e,a,n,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h((function(){o(i.takeRecords()),a.value<0&&D()>0&&(a.value=0,a.entries=[]),r(!0)})),l((function(){Z=[],N=I(),a=d("INP"),r=v(e,a,n,t.reportAllChanges)})))},F={},U=function(e,t){t=t||{};var n,r=[2500,4e3],a=_(),o=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var r=t.startTime-f();rperformance.now())return;r.entries=[o],a(!0),l((function(){r=d("TTFB",0),(a=v(e,r,n,t.reportAllChanges))(!0)}))}}))};e.exports=n}()},676:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,t.getProperError=function(e){if(a(e))return e;0;return new Error(r.isPlainObject(e)?JSON.stringify(e):e+"")};var r=n(8887);function a(e){return"object"===typeof e&&null!==e&&"name"in e&&"message"in e}},655:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return o},__asyncDelegator:function(){return j},__asyncGenerator:function(){return O},__asyncValues:function(){return E},__await:function(){return S},__awaiter:function(){return h},__classPrivateFieldGet:function(){return A},__classPrivateFieldIn:function(){return T},__classPrivateFieldSet:function(){return L},__createBinding:function(){return y},__decorate:function(){return u},__esDecorate:function(){return l},__exportStar:function(){return m},__extends:function(){return a},__generator:function(){return v},__importDefault:function(){return R},__importStar:function(){return C},__makeTemplateObject:function(){return x},__metadata:function(){return p},__param:function(){return c},__propKey:function(){return f},__read:function(){return _},__rest:function(){return i},__runInitializers:function(){return s},__setFunctionName:function(){return d},__spread:function(){return b},__spreadArray:function(){return w},__spreadArrays:function(){return P},__values:function(){return g}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;u--)(a=e[u])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function c(e,t){return function(n,r){t(n,r,e)}}function l(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!==typeof e)throw new TypeError("Function expected");return e}for(var u,c=r.kind,l="getter"===c?"get":"setter"===c?"set":"value",s=!t&&e?r.static?e:e.prototype:null,f=t||(s?Object.getOwnPropertyDescriptor(s,r.name):{}),d=!1,p=n.length-1;p>=0;p--){var h={};for(var v in r)h[v]="access"===v?{}:r[v];for(var v in r.access)h.access[v]=r.access[v];h.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var y=(0,n[p])("accessor"===c?{get:f.get,set:f.set}:f[l],h);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!==typeof y)throw new TypeError("Object expected");(u=i(y.get))&&(f.get=u),(u=i(y.set))&&(f.set=u),(u=i(y.init))&&a.push(u)}else(u=i(y))&&("field"===c?a.push(u):f[l]=u)}s&&Object.defineProperty(s,r.name,f),d=!0}function s(e,t,n){for(var r=arguments.length>2,a=0;a0&&a[a.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(u){a={error:u}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function b(){for(var e=[],t=0;t1||u(e,t)}))})}function u(e,t){try{(n=a[e](t)).value instanceof S?Promise.resolve(n.value.v).then(c,l):s(o[0][2],n)}catch(r){s(o[0][3],r)}var n}function c(e){u("next",e)}function l(e){u("throw",e)}function s(e,t){e(t),o.shift(),o.length&&u(o[0][0],o[0][1])}}function j(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function E(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=g(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var M=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&y(t,e,n);return M(t,e),t}function R(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function L(e,t,n,r,a){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function T(e,t){if(null===t||"object"!==typeof t&&"function"!==typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof e?t===e:e.has(t)}},2431:function(){}},function(e){e.O(0,[774],(function(){return t=2870,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/out/favicon/android-chrome-192x192.png b/out/favicon/android-chrome-192x192.png deleted file mode 100644 index 5c3a3c207f2619561610091b345009c3502ac231..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2331 zcmZ8hdpwj`A3x7L8kaF+W-!bcHLl4mchjtDkjqqDJt<&`khu7WlaNqHqRx}@Rp|5&~qMg>(xy<{?~h3-`)5LPn~SMsc$ zL>c8|^0Fuz^9|8>wQot5&wy@JQBgy^XsVU?Wkl^O(yLcnT3Y%9fG3wLdG~GyhoecO z?b*Hia#q&#^z@y=!q=}~-@bLL7XVuVAq0nGqR8im@7rg$X%ioZOGglY9PU7PxUQC# zzOJs}`t>$eRt!x|YfDQr6BATLbnl+Nj?N|f^!1O+ z$x%rp9R}mC;o&b|zHDZ(%r|c22L>8%*r2Da%^(ujYG|mbsBoN}rBdm4OeWLX+QiT> zFd(46zkgz4!pg#8gT8)nP>}Yzb?B|*1cKqAp@oG7BLjn7o}PKRxf<%~=!3kMNOt@A z?c(t!Cnpo)N3#Nds1IdA(1G`%ASgfTt&sP zu`%|REzXXPJT5mfA|f;-M2kr5Xm8gb5}!VK;^F4zjK|m1)XdDxBqb)^7m0?X(l!jH zwY9YYhBp%kQ&Uss1j6qyd`4Dwc6PQO0FH}`1DicEG9rwN``FiKYGmZ=?JbCjp;9RS z^6)TKQu6oprBkU7WMm#ySEr? zudb^4AtU1h1Z{V9t*oqETwJ_x{`}zJpd%iiATQtB+glIAECRudK==qi(4IY_(2nb9 z;ra-9?w(*?X>%yHMIUu>w}^x*D7PmSrc{PW4hYmTM^J>p68 z0?y>Hjn3S3eAvO0y3HL4u0xI`*(DVgQBz}i-502=iSxncL+h-XYBlN4CGd?`qh&z~ z35h)H=g#1TOPbYmMo(Z&%2N6@x-M)Pzwq??0kg(WT@`5;vf!Hw$ccp=aZE3}J!PZs zOwS&xf0z)u^!o_il)8rW=kpXM|8SWXa*l2h?YLl>9gL}Zn~uDqTWLzamT$LTlRqrN zoBdE*5EZ%9PN@JM2Y^6b);$TB(WzWo#nLl-Y+s)UqO+QL{g3ux%8tyv$mbr(K%Qw|IhcWr%b3aE zTFfaDV}bbV3-I)+b;ls$@hDS)ShF}3j>KMMZeg+IlGPpuvOls&8jMR<2e`=6o8LZ% zz?jo!ou`l{AEzoXUPpThQS8XW6gBZ9r+YZFaX--^FkV>#n(JCI?gEM=Kq%Jygc!9! zlV(tM$BWYx5TuVE>-CV19mXNbHD8$jRuMsBuFs?gZYEp!otQu|{Y@F$Rb)wLKQ%CG-J!aqf+= z368n3%Ohd8*Z8Dau&y?ZNCjXpMgH5oQ_VJM1Jd53#{b249K7FH`)!9 zwwi?LN{;LWe&)ZnTJT@sHa5OSHk^W7XXhCwWj6($^S(ffA@mtgCD>4==&%ikWymOqOWj z`8H(9h)in3ei^|7ti%yhbsK77V*&~wV`ofJ8|Xpt1(-R^5LdIrH`vIK5ZT2>l7&b- z8;OiZer6-(LS)BLaCZ>cVxZ!7XharcR{-06%y<^PF+-11SrcmwCjn=nRR%vJm z^N(W#loK_!^EvE|Cxgnpu2xCUaC=JM$Li7P7$QT2)IZhTnreh(oGjxsUtXHT+LGpM}Pb2_-Jn$4VDz>3F6>f^m2X_I>7mo1b8RLNep0`pj*}Q~`5u zl$Ay95g&EaW^6B}Nh)hx8*?%pzT{_WnClYWkVxB?7Ms)d%T(YmNb3Rj>g2S##pFs= zL^V|Md9*#-DKw~}{OB|&+f$h+PCc$F!fr^fERV{0M!RX$_BGe@y8_N=HFqwHViDaP zt(AJ_CF^15xgR?pkAJ;Bwf4BNzrW`DPjBN--#_M8l)rXUTV9rzN5t$4@nrE>Xid)UiY$O}$j2;yS*MMQ-$gh_%hMub4P z7l6boy%UOZ2fYmpnmn3YI3IZc*1?(X#VPA3@3^P}D>JqsR<)t9PKg(z`E`3kT}vIk fPPQ3w&E0Maq-rGLgoE|Zs083Rxo<0W;HUo$+8%<% diff --git a/out/favicon/android-chrome-512x512.png b/out/favicon/android-chrome-512x512.png deleted file mode 100644 index 7c5e652b1664ef79e64617e4abec7cafec22a1b7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4486 zcmcInXH-wlK-aqfH_10VK-dd|`pZ)Dnbx!TCs``|ZgAIeW zga!bN4YpR!00i_%08t_mRX3K`AVKmmw>Jm4b53m5lZtP5dkKSqObZJOp8zH&C;j*ByLsbAR76B$V`IX} zlN;^qdV6~xK6v2k?VUuSl#)pA0UnY_o1L7tZP{XJZtg^<+tcY&Q&SBM4F!}u6bngm6Q}aTids9 z-n6#1-YY7an3y({U8X=%;P&B|uA_{DFcvx63zRayh_Eb{9ARWp?zTC`4Vbo?#-m@6JaYaY1sKo`q`+n z5G#f@Sed(ow+yvU?Qm(56O0m<{gS1j8Ssd_Ey`U&U;EBgJ-?adYmV7n_v75rH^I5; z0i|EK>id>0(chY{ef3Fpwe4ktCGtgKo%1)&mO`y!YE@fz$HZJr?D*)b!!LZ8x;~%X z&-8D)l5F$wd0pD2ok_YM$#$Mz2Wfx$^fuJlr=|Nv+?Ml89t(Co)$v>GeD*y#jh(ag z8eijer?{6)WB1h-A6@r)T4#i75bCD1uq~D!V4Tbhh%Sn1r>tjW$a~g2(z;+6lH^!- zP5XpetoqftA-2-xg>FAH&wHL4YKHGfOKW#eRax_&SZ;8iH}{*9^=sBlO}^JeNPepG ze6>LY&-rp}O>)^7>u0mb(!N16y|guPB|}dmOJ~iZFDS=FacVw2n`SM2L8{t0&7T-| zOcTsL?$q7v!HS93Hj!h<_lA5+dC`-tH+MMx+?>&*%$v#MzsdGjy}NcRPA&Ylpo`$G znw$Pq!g#h|K)!T-8MCs^F%B^4ikQ#K3q#KT@SB%P)LDycqX*_nL zjb&yNmDxS*D7BZ>O~F6MbdQR2lQ%hMzdm4zJCrr!&`wj?L{_M|62J zLSYdPUP-vI-eg2NX>G-A&Axe7+)ZtcM{maj4VTA#TM5P$wA3oAd*kl$y7)V~)s7;Y zQH`X}amB>dDM6oB{?=Z8P34T`uJcC}2>k`at51qOa=9GyC6`}s;bYb(=@b^`NSvBu z*~v%unL_f*7NY{vtM=hRi;udZ`KE7ae4}G8-OyWeQ;&6sj79U?O(lq{PicP|?w7^; z&zK)LR}GS@MarcD>DgsLQ7TSh#CqGftowReBCk9yUwO*bGkn#fO=>Xp^hUkC;p}ds zx4+5b=StXK zNb0yUXy71*am%fx5o!NNJ6XW%_n zrO8NYrLocyaep4hc&Cd=B3dfo|6$>al z#|MW>SdMV>C`-_Cc|QbxsejijYKkc^h_FMp$6i31?eB~zIrm3UpL{r)EMEoObIOAv zV=`f0QUZ!cLi9l*e>gxX6DpWu@H5Mu%-fw2KG-p0g6YLkaF2={2{>gkSK_)I@=Om) zL3@6<&CIjIgl2h7IMPNUP_uHX8e-mqFI5I_RxPB1N0|R;wAWYC$V?$tICHF+N@DS* zj$Ip#AQ;ITL!)#)g;!?$ur*!{Cn}TJh4x%N*sV2fpCAS5oPndiQ%PcikI@FoVBJk( zXWMgap|*_q-2^KWcZS9eR~AmmoNwBH9j;o62?DkkDZ+5>$>5wmYL|OB=Gxju!i(+B zx>8{6W4a*VHd#;}x?KiNTQUR{biDYrnHsFcxMaazHDEvzp(~4nw+rP8HJAZ}Q`Mje z*?IXKTm`L078{%)FN{#AfL6{Q!zH0E9bCZ{3zR}YdJyKs0&N&@M`g~V!Eq>`=g8m_@G`U}OSxd-NF&0CLcFu<3PVYY)bD>5=sY5kC# zr2tDIs)Mv~Aagzlds7PPO_-p`Ua$?~*PSMCsW96{iXs(u&&(*Tzl&YW!MZwC`OXt) zLM)gprcRRiRSz>v;`UUEx{$dK`jwOkg@-olk)iQ60gd~0lPyGjbLeAn-@#UOB0GBK zwG%W?he|>PjCgWJFaafVVP+3e{WXRAKw}bilJRq}6XWfW5`J|O?1qcNYb~I+FUAlx z5`_wCI~VsDQGNUnvOR`%7{an-LG1_t&W4qXK7V&vES?Fd0S1vRJ zQ@DPZ&{V0H@I|B+D_n}=@ZIpckc1=@=qn^DML2-ENZ}i@fCeYAKsgj9NkkL!61sWG zz#wo%1X?oit8m^5Xx>ApD2S*iI)X7LGNQ2-0aeBU56C0qvLJ>kMW|N_>E56P1Hyek z4A{i3Xf@a&+$>^HagF@K!7Y$1tf30Tg`0;Ws>0bvRKYr7Wwn@a`^0V>s}8IVpya+fjYD}tn929%LO0}70=QVdCHV@#cZ@J=Jlh>G;B zYcV50(qRo|B!=W!6eleCpVDE7EX=bO^Ccmf=m3|2N5jh<;4A@2X*I|da%#I8{6<7N z(E$pC_GM~dD8w0R@KngDA`bpl$hCA1{*zEzBCZKJ=b#4hLcahtI4#uIslgXvoAdk|uEefa90X! z%=gJR(FAAqN*K#WN6t0qt^Y?+-ddPmP0N@YW5Vl{?Y{m)?c;{q>6Tt9pRt-Vs~OSO zI$yBW!E*5xV=axH^t}qx5oLyqqG8jKluD zhujwyO2TeFq!Kns;w!_{lcB1Z7?F2U}rEh%)0r9%bQKw^OEr5#4W3t*7?B5dTS}u2_7cUxpHPny(~pv zE^*2F_*Nw*>twDrAx}{Q>SfQ;LX8qKa6-k|60^%udJYjMdQTDXrzu`5CbBp83A~M7q{?Vfdp-FiAZs&tJ&9+ubx+~?jm@e-bT`3_k@YJ?` zK=;S~mQD-W(n##x{DN2Z^{<z!*9y4x zDL7^I)1`CE0s?mQ-S2iEcv~5ycI$d&?YS-9x`U3e@RH*4b~1;1s43H{{$xbV`cyV diff --git a/out/favicon/apple-touch-icon.png b/out/favicon/apple-touch-icon.png deleted file mode 100644 index d308e754ae92f9a26963a29b1b4e81d36b2094f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2240 zcmYjR2Ut^Q7rqcJfg~g$39CVa>Gbt$S%VGv4IFO1Vn^{A$xmZ@eBXP|Io~f5&!@oNOm@^ z;QPkbhC)D;z^s4>>FXe-{po1{WB?p-`ZK$K!WS{|!n?ZrM^&(nur*gTW$^I|-QWAc$K*&_X zyqK7f;An3j9~)azTugCxrpCn7R9Aa@db*Iw=d-gb%F0dz1gxyAgoT6z96M$yDOm*0 zsj6yhXxQ1=Isfk6GyurU$`%zCDxlH6Fjz`*^1{Lb9*y3wr}tBMxWBJ&aZ!6Au4n_wLoz)zmX*+$faWZEcH-iwSi4J`^f4B4RHJML%^4{Qk07tPB==E-Q2^I+~h4(`d*1{YOVe9`*Oj;&AKh>u&+T)X3;gd;8MT(tQXd zG&uP9(W9j$C3_VVmY0|FS**b0$8)l?@Avd*BatsfM9w57S(=+G5eRrWxd(lHYAPyI zQ&XTGyx?#bIGo+ux?f*k5rx8|P@xhM{SO}!5s3A*HIAt0bvAoIR8%Mwni(4l1Of|5 z$?op%Spd-2(dmIe)RdJ~m6d(Hy>H#TX%QU~2uj?A=IZPQK-E-5*4I9KUg^JBa>ri$ zi{Smdfifvn$<$~;SUB{+WOSgw($UO9g~ff%vm1Xnc5nJkFS8?0zbLp*H%Dh`l4H1k zQOdIbPH}Ysws6lo6 zKbl^ir&6x+Cgu9ySPQHVbU*u@awQl94-@pR~>CZ1NoTemwX z|2XZ}HKkjB-&e#ZSxfMSV)!vNKhnANw>f!n!)&~dd|2ar&|%YoBQJZhVoEw><7lK{!N>aAkf}8e zxwU_>Udh`di7&4$vDZ9n_nX6F22A}7Rik=wr*Lab1t&vQ2+8|e9y;d0_cI($^kIrw zlEdfH#U^kTj9GSO1fSDrFml78tv_!wwZYICm;1paMb%E&Vp@c+%e+nf4sZTA>8RO} z3+qqQ>St?4JP%mG*s*YeFzjj<%!_k^EeB^jQ)^eA4Oi?mhl*C0d}^mE=$It$66qLw z6DzJ$s90ATXcHD_L+;70$%cL@GBJCrYkr`Y$KOoh9+{r7rPr>qytwhrIeW&;o<`qD z&@+B~nm?B!p~WcJ2v^h{U6x`D3#uahIHa1oiHi3d#IUk1>2*%8r8Vs1TxnM0>X&?a zG>q}vxp20waj&=V$@G0`%Wk(DD6L%EE+wq+&?tBG`wM#-8r<|7`qPLfDcqv&#^Y{W z;whWj=jh~*RS;T=0=M+*6GZZiuU_<8Gn-!nV{|pcKDE6{aUk*w7!8*{(@P}z|D@PO z*pf}~I@RP`hQg9puI5(cr*b+oQ$Bm@=!;15qtATW$+{UCrW#L?G2p8a%{h6M-}$NW z^7v-jUB1kvQBGV7lW*!FgdXPT9emFh*JNnd=N&@2a=$Y+EC6~`KXz1!qAgcxW`-dh({&-D|(bU62!L7Oi-v=24aopU685dkFOx`DZlE6{H!wA>S9_=Q>H;>-Il98;Db%SaO?E z(J3D!X*AyWL(+R>@QI{g?%E7dVe@-2v^8ezsBmzka|lo8wm|>7jNDP-mqO_C-2ph__9@c>BRNH>H8{cs^nu4R&H_eu07WW40R(lP-5OvYLrD|bN%K|tvKm;T;y{C zOn*wB_+Y}%)(1;W4z*3Py-e=sy=aooON%k_aK8|xRh$_eqY&1z|IZeS$%XmJK{Adr zGA6*T89HZk!r@6d;W-+s^_og8P&wOXbW{nC8#Zoe`7!WEpt+sJ4N?OJy0tdsy) z07}F9;0v8!kAuH2FNV7}%{7otpvIjHjfe^%&=RR3ga|4v2mlhQrkCK*SWk8JLGsWr zX~q?RD8Y1tU>GHgLlG8&A=soE^#((f{%|J@{rT)s-*6wkPi!dFuFhT;cqfCVEm<2E PgA@SC*4d`nIw1Xjoi(H) diff --git a/out/favicon/browserconfig.xml b/out/favicon/browserconfig.xml deleted file mode 100644 index c01be30..0000000 --- a/out/favicon/browserconfig.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - #141111 - - - diff --git a/out/favicon/favicon-16x16.png b/out/favicon/favicon-16x16.png deleted file mode 100644 index ce25401eb887ac85307dfccf3516329f96aa77a2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 505 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<6e(pbstUx|vage(c z!@6@aFM*tC0X`wFB7%bJ*R9Lv;yQKel(?Xvh>#Fa1V{=3NdbZW-rkC`vh(N8xj8$# zI5|aeb3c9h^vszv>H-2S92`pW@>LZTX(=f|Qc__dAzm69%8H6E5)wuR1~nWUlH%eG zb#>bO{DB%87G`F5?%Z*5aLCKa$>8GZY;SjTaF7%e)92^+_VkR6j@H)H+`DH_NKlZY zy?sqpmH*zE+&~v{l?3?(|M~y_zwVj;r*%#Vc}X+?ML7#RB8!3aPY`C5ZDVN!GKxK2 z977~7CnqGPCNwj%mGQBanTZ@Ycc4Lw;kkF`0ha?ymTgGeh}%F2S3-WKILE53dS|C<#g|S12gTPs_|nRVb+}NL9!zC`o2u zsF?Hk6AwpWn1;qF|I=qYp9V27D|725a|bP0l+XkKdsU>w diff --git a/out/favicon/favicon-32x32.png b/out/favicon/favicon-32x32.png deleted file mode 100644 index 474e1ec27eb70ac3df0bd40e6804972e9559de92..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 801 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmSN`?>!lvI6;x#X;^) z4C~Ixyaci}1AIbUMFa&!goK0z1%a|a29OJ60D(_tAxKJ4P*gwwNCFjzg1JBjMEw8% z|FO~0ZqClPZrzfVlA1bY%KUlrVxpoFc3mmoS-NBU$9a}_g(*+=ANBndc#ZRp`7Yx*3-OOljo@achgj3j_g^Q zv5=jqa_xYGWPN}#tL1G-{3L7{(#iG$t(C8IQCuR=h+~2Xj7##%k+DX z*f`oZcsx486E@BFLDLalZYC8WogGRa4>d&#^Xhf!IDo- Src;4dFnGH9xvXld%%Un9Vl!Ut#PI&?yk(^W8Cw9fKF_@D5~Q?I5V9 zFvAhK`!$=*X-1=^(`Yo`19<_$bt1^+N8onMVzF3V@i!VxEjr`u&UVj%XQR3f@V^;k z6vSN~z3GuF)d74a9nyO86>n|z9DNCV>UbF0-KlPtW5ECC@a3<&amLBM9{VHqWnc3| z-jCQU;sX&M2)GY4G`z!KzI+){85sD??|N?D+{i;6E?)fHZ~l3C`MkAtYe=Q6Y`Ne3 z4TgN4kkCScX`Jhdii&xA`*xCr3rk67vrU(};^KLv%geL#?b~;dEL&Dix`KkYAjwQ3FN5GNs_5u}MHC6!5?uXAl;Vm)WR6)U7} z@7@ncS6f>zb$xvUq}#f6o78o79w*(RMN6da>ea7Fhd7M=Nx1RxJyNFy{~bGaNj$;7 zvT~)=>776Ngb0FvRn=;t;(F)5ZQHw&tKg4*D}vtnt9@ATudc2U^mT9lwzhW3Rq(H= zStoURw|`4Zo8&6^uUof4>h#XPsi{SB75q1BsFgas^KWcymRtpY^;oYb{z*xtJT~^q zYx9@-n@I4lt80*T(vp8v)IC0RYPH|NS=(We4M(^z=+vSI*(nrsc@?U%k3o_KEZ7`=ve@e6+yG%*^Jwxid)2 z=9IAGuZ0aFWkk*fg5U$;c=jm913W+aB?vYWcpAs1pMd*`@a1pmG?`2p!2jPctiubu zuYvan6vfmUe*8@>>N^lnhqf?j2lSO@HFuF7^CjpHbSAGSp8_t}S1rf!zJ}n7@jv)u zU~B~Ac*bsF9L-n<#*^?T5+-7S4$KU8yoE8?bp&Iuv#>kf)3Sk-gUEYYaF@$Xh)qs5 ze+>TjE69H!8jt6)JS_V@V0{EU;6@pRSn!{30*L9ZF4vI*`0xG@U=t^_17M@g-Ej=G z9={O++1{S`hZ5Tpw>S2AZS6+h+}x_Uz_mE9Z2IWYh+Ly4zwYiHiI4pfgFp3;j=t@+|D!J^Cf1R!c6D`2 ze7tYs4}L;I8_?ce$zq&8%-1(lw_qG0)FMs7To*G-Ew`^(R_4N&W@#3Xk)jvPK zkoWZT!d`aTgz+;nvZxG`DTT&0Pxi<27K_DkmVoCuq7GWcc=xTV>ok?C9{f*>#D=g=7GBUDh46<4se)QnM18NT(|8cK7IXQ6H&Rp<6?ycwM&IDX-&O%*byaBpU zegh-+Zy~hteOP~e8Y+BT^THZ1PEjo12A_lJ24Kh13K%$ytwXUb0_hK;y+0AyBd}}G z0b2wppbJXq7{eO@Y}}{7Z3!EQ+@}yb1E3SZXfzf=d))#1yz-%~UMY%sP?guOvDs0E zPq@xFzHoNV``Uk;f394)>XqP~PG?(LtySD^uj6=5zI=HFKX~vE&F#3}LtS}!1>JwJ z+iPG>aolZHmoa6^`y6FxXoy!^)4u9hL zcl&^UXdJ%5P{0j_IsE3$@7(eq9v+5owOJ(Ux~tRK*|{9=yg1jtq@u$Wl;-=wg^#hYePVvsC_ES zQ$g*G1#ts?1_Z^jNe~Ex%OW5tTY@xHftC`CsL%^&=XcI`zL_)go%v%FJU_QdSQL>Ki2nZ}0?)RJ;)Yzyu37io7?* z9$?YwOcN6n=LnOzKo*cjqy6JD7z`F_Xc`Eb(&=VqW~})tDwWDcujb29H2Ea85J8nq zLGYj3kHL8nl%qNe5z~2vk1hx@>2&Z@74s9B%S1VYfi{UYvyg0x+Pugdg5d1zESjbR zfXT^8ole)()FglK;N81-?rv^rQt64bw0&`L)6>&h08n8tWjI_52E$>qIdpndL_}j_ zqgJamW3dMM`&B9xo5_?)B<*c&ZLO^x?d@G%T^fz16+wD`owF8|%A8JDDwSyG3GwlR z0|TWGA8G~%dwP2M`}&@DbS$;9YHn_RR#*4dU@$i|?d$EGnwqMqu0BB`Ra8_su3kL^ z0231vt5&YGvb3C;nUTRT($cawI=Z30p2y)RYHPc@yT`}J%O5|!S5$OeCL4YIIyWcB zX2}vKM@PM0|1U1LAU|J@#|u0>Mn*r?I4Ozb zU}tCd*=G=yDxgxw#>SG2jlZPPTxqnI08op?KE-0CDJgEw&IW^FnYHz{ty=>F0)~c$ z!guUAcjMR#bkw}X!9iPqF;DfBbN)O1M#l8b0B>qNbc(!ohUxZRGe{q}KK^jM$C)>` zPM0cP-0&;z_RaI34C)6BeZixF1&vBC+J8zYujS7K*b9bD0D#T%^MXXlJ)^%SZDB$@ z!T=SQAlnCd$^{>z)4l^1VFUgY8u2gjxgK3P3% ziCG4*5wQy_kVh{wV*QnMm1LZC8o7(}<$u_|n-6E4)I_F8H?Of1x=p0vxj*_;V*(+! zZTxUA$%#~#Qy&*!nxiUwI7DF~QTqaEM16tQu+GV|<#NhS@xO7u6y4c_xn1}wOao?} zQI~ThZegnr5o*){fh$rs9(<7uf_2RszQXs)xdfvR7I|TMfpgd&;gI>b$V6;ejtTSs zA@+_GjvJF?@nl~|2)sK3%UMVW9_s%gth6v#@RR=;7Dhj*w=ey^#~NQu={mL*H#thI z`vS3#<-b?xp#+XNujLqJ@l78qlJ>!tHL3Q!ibF7?fqx~bLJ)*Rs#ouWOWGiFvqt0F zF!bY?WMT;C)CMmah7-6QRXmYTs{MV;SL+T?dRDOz$Dh@3(xwn_`auRZYxd9VqkL`d zv1;R+3BG)pyje%kjqZZXfx?TXHYCfP{`ei=9d&Ra?q9sZSN9|_l&j0*cc&hzr!vy+ zv1LU=30s1xqBLP9&?Tr0%56Sko1_;JEa(xl+Hu%tC(Z`aNS);6tS{7B~h zdl}=`<{x$%sU-$g;i=H$M{~)yVOjeNlPv)+l24HRy>Q{ngd-AK;eX7*b zwXOtqjEBDzzsP6izTmR0fZXu2iIHf1R1n+Kmd%KfJu+D1{~Mi>&rx8{F1J&KS!k(v zR&V$lM~joo_rmp!0VdUsUrcWD&NQlW?@u~=JUu(*t@+4@ksJqyx{}SAo(k_654(FM z_jSg!#~LXn^l-4|O7Y0yyftO*zsseBk;N20^0iFa=8>HC*fnj@(I*jU_%oL=oo}|# z1^w_LM?~Ai!I4S)_=NAiiQTt{FFqWgeXg@iG!eQ z9YO0LVoTG~CPbkuA)zNtlFlhxbf=BTAl7*@Gw007neV*iyZ^o4|L!~I{#ov>42&E_ z4gdg*ql2vn07zgDZdnwv;udwN71M+8Q1js;{dnD=G0ieHwB5 zsHZ3O%9YNJj(9n_(>^{HW@a}sGQKi5S4DnDL7`q+`s3#2)zs8PF84u8i!uoQ(9keF zHFYI9IX*6~sj)FCGBWhSh1!}LZ4Hg+OPADCRFsvJy1Tk;==7ANq_)=9%N$OBUteWK z1*ELJySuBVsu~^|dYDA=^7K?Dk@oiXl!(MZ6v`cqeu6?BH8P@t;LOa-`Jf;O1ie@+ z1_on~!O$_7!yq^=DJd3<4fOOxl9C@je8`oNF*h|m2E&KRWJ4Uz$-zMxk5|Iug#!a4 zBGJ_I=kyaN%xScAZ)p)t4_Qi3Y_gg59 zTv@k!I6 zCAC@%Uv&cxt3y%u?)@hW8U;QT0i50-F|7P(>aAXE0y!cMZFx1{In(z+h z^WtF-*21PsH$?MV(76+U_0x^byAI7!W#BcaPVM5t)K zIocAl=M~$3)N;?_d<5UB?$zjo!FF~v+_XQvYX$eGtM#ErCe%ZkxlvfPTCBODaBuD7 zN;eOBQc0B(;7F`WzesF$Kk0?wyr5<9%FO{&CBloL3YNDANliL7nw7A zD1rae8P4o>mhr;FlC>*54pgR*)P?(oZ_Frqc-itE{9Y@N@C9ry6xg_A1z(dg5} zOSuBE@YdYJcy%dw4EmE;2fc=Nt(IW^8P#Pj{HTC~)?;ErmVPU^IucwXmeWcw4m@dVS+dp<67UIY-SDh-F|Q zH#W~^j2ZgUxOWrk9#UIe(p)5mrSLIxc^nt<*?i8uY>}>iXzab+rN7A76tXh}?2=VD zeh{7}SF-s6cH1i4F$~93D%nK>cEKvFH3SbJpjg1}S%vp*aRf%kg)CSYAm+s7b7oDB zGl~S_C^2W}$RhV_5TCK@zwz>KYp)DfmbbNE{nld1UBD!D|B_~9K<1L}{`?Q={jTf# zKNTkro{oZ(n z%c;8NBfL)%>r|Y_xddu-Y}AFYh+t}5VstPyEIN)209=9iJz6%#TSsTuO*G;-?*X9H zlmCr+`O+oCcNUkVQsTlz<>8PJ$?cpa_B}H^cy< zC@iinh@6hdQOgyWKvZN`K+!5LT@@`wP|p3szE|(nR@pW6Pxsef_jFJ9Op@zvN4lb# zA_PHnXD2&12$Dk~Xvxau6o7~xg*bqle4x!P8wk3WN}csv3hX6(H%D8jtXusJUasWf+$67ir4M%4{ViHiLoC zX#XFgtfT}uGB3!Wq@<>%_8;%Rk^_^$U@6H2JO${0#$vHR2q;Dt0>d02|1|*(fC~!? zuOX)U|?!W$|I?CwVGO9Ztji3LU&hJ6(-Z3PETCEyjEU*7md~- z7UyJVr>CVAUcY`hIXOQs?_y$NQetAJg2K7jSWxgN1R-p;8iH&#GmAfeUL+KzT)LE; zlyov8;%a_=;)M$#M~)O+y_$RF%B71Jr>3Uxu&}14rq0gJ>FMdtj*eR;C3zx|kGD6d zwxPa0COW#drsjmAqPLgVW^?m|_;@P|i#4DfHv87HW#7JjJsT5q>g36ad-qgf_|EOy zfAsc7pFVv;ASf#>Jr){zI3VDcq9Q#Vov@=vHCL}z<#6gAJlJ7l6BQX*RaqI%=eIOB zUn?k3S5=*xo6}sgCiw8-RS4qg?yia;^Yil@7E4T_xYB5?6pFEtkp>J83=H@mJg5%C zo*o{Kbh-nbZbPT9f?=tg+|ba_217$qPHtji;*x@bg{kQlOUqR%Dky`o)5%Gd$>cDZ z?QLxmlI(r@)Mop33p29=zP{MLeO{iP==$|wNj!f1(S*UUG&k3R;q5C|nwgmNJb9v{ zscEREr>mpmWN+`VW5;Isp})XRSPR^CyF)FM%2w*@nVQ-5FTTnaSkm7~UAHd$>86HjT|?C`t`v3mEBv&zf1g$6gCmc*zj@u*H{%$v zPmHzoZ#O<2FDY)FPY_0o8;&N#ydEj~VXFZ`WPN$XUFhPqJ&XWO z<84v%X~slR;D#-}DBjof+c!orkMG>m%N^Dde%UhF){mNJaHV^UCXcgrgx z%d0>SAwoX-A08r#DvcZKUn>%(;iySuR&pgbbF9Jz#eZ#SZoO;ab%jLmpizvo)wuC% z^r?6v%4$KLFbzeeWln)e%>8@6V*$Thi$;Z`65iuawLRg)52c%h0?&1NDl--sDlDC~ zj&nn&JPNqEzA?2}E-FmEyK|vyy z2+R=lIo03ZdaNXXZ&_+VM14%h)V2w|3aqMj66%wZJ9yALtl)Iu@xm-}Qy-S{))S3y zrTS)ZDPx}|-p1Q1^9|U8k>2R#Tylh}7$1X+u6B()8yu~el;@XXY9_+<)Lv<^>wPEm zvWR5%Vcoy(MK6%WD{xEgJkmfmm|J^MJs#iET{f}aPG0>C>IlY15L+}5Ln&{!xiAyF z{^!`yY-;uxUX#oO=YCJ$gIV0nVZ2AT@tYgED~mMi!^(1!F`Q3Wgy8iO%J?5-5Mt~ zQu(#jQTfZNv;l5I9sM|}cZE=(N`e&?DZd8Tb8=e6 z#YaX)+?FgcH8y_!{Q2zctd@d8YfDR(q@7uq(JiWl@%4w#KelO zT=ABX`Ss}00tt!oTes8{6cQFMHvXmmXHYC7Hp6v0so=Tv%MZl-6eT|Is-(Pbgf+h- z%rniqr){4fTz`5ySCXOO?vVp$l(+FqaEW2AR^@n*( zm=aapyTdM{kM)p$YZYhIfx}}uQF>b>^6{%uw@M`P=`NJsuEV@Sh%>5Vr=^ND+C#|6 zG6luTS(N@KF`hv4@=kZy?h!sB@t701-|5^2z{`WZv zQ3U#{!uZdG4*KS4WiK*A1oH`{1juLiay*x=zPs84y}-g|-n*Zpp;hrR$E9XX(ceup zEi-h{abr`RH+SK+n_^Y?Eqe2#mtama(R_CkCBp=5kZG=lIXLq}_qHM4S^8YN6-LRy zQ=*4{V~x~{>vA?WF$Ii0QyRmJd7#a6iKd1>*RqZc;mG12&`;eDqjPYf7%EJb@hiwr zSdWkE(G$ZuXwh?h3$z2F7Q+>pUR@Q^JmPJyEVjf2veewT-u)-&=A(%OZB&~}aJ8=n zLY4GJy+pTB5NJ6uIh?>$MUJKU`rEagg}W2iUCU@@{(cUAB{>n^$h^Snt@)%se;;l= zbqZYm-U?K#l{j?dLM8_58>6q5ey_-;p~DM4`8Zx!D&ausYb_)cJl3FT%-4)I5Mlf^ zQhu<83%6#U!G|P*wnK+=aAKVWYN*Fo%Fo6X2m~92{j%{31Om}eYvd$-3hvKYXfoRB z>&zpri<+2{iOhWF|9l!hyFt*}PDc*qNsViemz1nm6`qzZT(41UV+tClU$7*;b@ zd;^x|K8_Wh>VC2x3*-@p6XX1kz_T>8=gaF6cZ8Y*yMDx32Z=ROSdE@4rjm(kV2y>w zXuM!DO&6j50{6cgoS<@njb8yWL7PgQyff&+Ia5s>#Cf6Pc$L44>bm3=I0sDbIiok`SxLIlNGi1gq z4k{9E&Y#J{tA(DdN3gIad#IOXwE`4`$NUjOLU7`zIOxd)K!Orvq`}^-nOOrY!3fo2 zVP72Dy|}3B{q8+xGtX3wO~QYOepuvledVUa%K5r4+(T9Uv%!{GHwA>H(@8iE#osIa zixEIEukXLVZeMLSeF6!Ix9cRW19AV!Du408UyNf9?Yb`5(^eJSSqHy32}NCV=(HNaT^@(o}%|HTDzO>#Hg7tkJuSGa;R`WjH82cbiO_bR~{u*75dU0|OVB6)&BJTAR=P@fOlezmTzVyA` z;+XTI^Y~@bq?HmIIzq|d?QG0Xcc`aibmS$mdiT!7x}>MZ#{@J@vwTXcGWzC;&7r&c zBc?T;QePkIn{_RiXzbTw#rD6neleCh9c6yM?xi)`w8ls5PF;O}S>MI*-EY%U$2-_T z>74>9tsGY3k=W{7s%<5j?GNIeReSxZ}a@kgJGi?vGh@Q`*;7 z$2K-G@q@Za$N^=y`$mzjup zxH|OSa65?M73Z;&%?OCrI)Fq3g@iG+*s%wgS|JD6dr732b3>C$q#`}_^_#Zg%}xY^ zMAnso_R1*hD$}!6$jVxFN#=EdWZiNPE&OR`W?Jxq%9Y=LZr80|j>(P-4 zcmoo=X+2@2DB6a@0s`SwBu2wg7(xgQcZeMQfzG`B-rH~A``+&C?)jiV9|L_eeE@&~ z*O$#hJ+eIXFepy-=FXuG8{@Ux3xMap66Ygv=p0Jn`LMtfiG>1 zDTD!_K7z{LjxgCYFw6rt~0Gq}7AtK^dQPJY!qMxsC zTucnAb2K`-_|~n0n>V9~#7ZnSoJcIkV$DoUvJhl?dfF7-9*s6WJ{}brSyx*-F)`8B z+B!KonJf^rx3!tj={-F?ogE#6gM(vZV=b&UAPGhDlNjz+pK#!a-mbr`^R8Y5 zK&P0?_6kjtsyws=|4xiA(J)=@^O2 zpDp{E;6Id}iI`@bEbi$`FiA^uGvoxL_PxHwKa5TC_pqWmO`a{x*?fKYMd(mbcyH`t z&BJ>;%WJCVaa$dyFBaLjWoG}>$*Z2D>r(mu*p*2z>R|W>LjOr%Rusp9|kwiLHdrVEC4< zw=oZq+8&@(?-Bj06W@rdydlQAoy^UU6%ff)$IT7Y!+U47Q@N3@6~i04KJ1mMf9&8%TZ@^7I1Ob0{HzsftAIGI|#t zwAuq$F7?L7m&wy}bzdu9sF;YZ?nhhFv%k{k8HC~I_drEDiyG7dKADOn1ko`KkZctv zeBK};2(qF6Q(&JEV|E-P{rQAt5Wcbw7*Bz~Ga5YA(36I7RzQV^5${vrnyH8bi*7(> z(;$!3R)QzTAiC~IF-h$WiwdAuGHiU{tox@2^M|&TYSX>;Zf*E+Zhm*%pnc;`8z|hX z%n{p=>Z$Z=%<0%{i)8>v?@}sIxmpK@dR~I}XY1PyVcrEnAsWE6=Tj}oHM08!4rK>j z>6B;tWAAj=Rq5)mT#GoduJ;DECBDz0eNi6V0uR{kXsJG$5*#!)-_u$2xZ;}ja?WfE zoMvHkGkBfLmH6(0w^8~V+T?V*3%BhqXfwYW3~KG+@TA}fBTgWU0wAq$V1lHV6lQ1lZckG)caR4#Rz#;LBF&2CpKpkvG1!Q6Z8XNJ pJe1M&v8$o3xz3^v--P&z{G7muF-17R+I9tP0l1t%_7fIA>pv?hJQ4r^ diff --git a/out/favicon/safari-pinned-tab.svg b/out/favicon/safari-pinned-tab.svg deleted file mode 100644 index 79bf3df..0000000 --- a/out/favicon/safari-pinned-tab.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - -Created by potrace 1.14, written by Peter Selinger 2001-2017 - - - - - diff --git a/out/favicon/site.webmanifest b/out/favicon/site.webmanifest deleted file mode 100644 index 700bac0..0000000 --- a/out/favicon/site.webmanifest +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "Pantheon", - "short_name": "Pantheon", - "icons": [ - { - "src": "/favicon/android-chrome-192x192.png?v=1", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/favicon/android-chrome-512x512.png?v=1", - "sizes": "512x512", - "type": "image/png" - } - ], - "theme_color": "#141111", - "background_color": "#141111", - "display": "standalone" -} diff --git a/out/index.html b/out/index.html deleted file mode 100644 index a77642f..0000000 --- a/out/index.html +++ /dev/null @@ -1,46 +0,0 @@ -Праздник с Лазертаг в Мытищах «Pantheon»
+7 977 722 09 60

О нас

PANTHEON — это крытая арена спортивно-тактических игр в Мытищах и отличное место активного отдыха как для детей, так и для взрослых.

-

Площадка 400кв.м, в 10 минутах ходьбы от станции Мытищи и ТЦ Красный Кит.

  • Стандартные лазертаг режимы

      -
    • Командный бой
    • -
    • Захват контрольных точек
    • -
    • Оборона
    • -
    • Заражение
    • -
    -

    и другие...

  • Специальные лазертаг режимы

      -
    • Командные прятки в темноте
    • -
    • Обезвреживание бомбы
    • -
    • Снайперы
    • -
    • Последний герой
    • -
    -

    и другие...

  • Интерактивная комната отдыха

      -
    • Аэрохоккей
    • -
    • Игровые приставки
    • -
    • Just Dance
    • -
    • Аркадная ретро консоль
    • -
  • Финальный Boss раунд

    (с элементами Экшн-Квеста)

    -

    Заключительное испытание для всей команды с необычным светозвуковым сопровождением и участием аниматора в роли противника.

Часто задаваемые вопросы

  • Что лучше надеть?

    Удобную обувь и одежду, игра активная.

  • Можно ли приносить свою еду?

    Да. Вы можете принести свою еду, а также заранее заказать доставку.

  • Это безопасно?

    Конечно! Игра бесконтактная, а инфракрасное излучение, на котором основан лазертаг, абсолютно безопасно, что позволяет играть даже самым маленьким.

  • Возможно ли присматривать за ребенком во время игры?

    Да, в комнате отдыха есть экран, по которому через камеры видеонаблюдения можно следить за игрой.

  • Расскажите про сценарии

    У нас большое разнообразие сценариев:

    -
      -
    • Командная перестрелка
    • -
    • Захват точки
    • -
    • Освобождение заложника
    • -
    • Обезвреживание бомбы
    • -
    • Ночной режим
    • -
    • Зомби
    • -
    • и другие
    • -
    -

    Инструктор планирует игровой сценарий индивидуально.

  • Сколько может быть игроков?

    Мы проводим игры от 6-ти до 30-ти игроков, но гостей может быть и больше.

Грозный боец выглядывает из тьмы

Наши преимущества

  • Приватные игры

    На игре не будет посторонних участников — только ваша команда

  • Индивидуальный подход

    Подберём подходящие режимы и сценарии, сопроводим в течение игры

  • Комната отдыха

    Уютное место, где можно следить за игрой на мониторе, отдохнуть и перекусить

  • Арсенал

    Передовое и разнообразное оборудование для любого возраста

  • Светомузыкальная вариативность

    Широкий спектр возможностей для создания уникальной атмосферы

  • Онлайн статистика

    Следи за своими результатами во время игры на проекторе

Цены

Важная информация!

Осмотр арены только по записи

-

Игра проводится по предварительной брони с предоплатой

-

Рекомендуем бронировать за 2-3 недели

Скидка

От 10 игроков - 2000р
-От 14 игроков - 4000р
-От 18 игроков - 8000р
-От 22 игроков - 12000р
-От 26 игроков - 16000р
-От 30 игроков - 20000р

Наши тарифы

  • GAME

    • 2 часа игры лазертаг

    • Финальный Boss раунд с элементами экшн-квеста

    1700
    ПН-ЧТ
    1900
    ПТ-ВС -и праздники

    Цена за 1 игрока -Именинник бесплатно -Минимальная группа 6 человек

  • SUPER

    • 1.5 часа игры лазертаг

    • 1 час интерактивной комнаты отдыха для проведения торжества

    • Финальный Boss раунд с элементами экшн-квеста

    1700
    ПН-ЧТ
    1900
    ПТ-ВС -и праздники

    Цена за 1 игрока -Именинник бесплатно -Минимальная группа 6 человек

  • ULTRA

    • 2.5 часа игры лазертаг

    • 1 час интерактивной комнаты отдыха для проведения торжества

    • Финальный Boss раунд с элементами экшн-квеста

    2400
    ПН-ЧТ
    2600
    ПТ-ВС -и праздники

    Цена за 1 игрока -Именинник бесплатно -Минимальная группа 10 человек

Как нас найти?

\ No newline at end of file diff --git a/out/robots.txt b/out/robots.txt deleted file mode 100644 index 026a642..0000000 --- a/out/robots.txt +++ /dev/null @@ -1,3 +0,0 @@ -# Allow all user agents. -User-agent: * -Allow: / \ No newline at end of file diff --git a/out/sitemap.xml b/out/sitemap.xml deleted file mode 100644 index 354e758..0000000 --- a/out/sitemap.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -https://pantheon.fun/ -daily -0.7 - - \ No newline at end of file